@ctrl/dom 0.3.12 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aria/_chunks/aria-query.generated-B6BAyxT7.js +4 -0
- package/dist/aria/_chunks/aria-query.generated-DK1XMP7F.cjs +4 -0
- package/dist/aria/index.cjs +1 -1
- package/dist/aria/index.js +1 -1
- package/dist/aria/internal.cjs +1 -1
- package/dist/aria/internal.js +1 -1
- package/dist/aria/types/data/aria-query.generated.d.ts +1 -1
- package/dist/bridge/internal.js +1 -1
- package/dist/dom/_chunks/src-BISULkzm.js +50 -0
- package/dist/dom/index.js +1 -1
- package/dist/dom/internal.js +1 -1
- package/dist/dom/types/collections/iterator.d.ts +9 -0
- package/dist/dom/types/css/cascade.d.ts +2 -0
- package/dist/dom/types/css/data/properties.d.ts +1 -1
- package/dist/dom/types/css/declarations.d.ts +2 -0
- package/dist/dom/types/css/tokenizer.d.ts +8 -1
- package/dist/dom/types/css/values.d.ts +3 -3
- package/dist/dom/types/css/view.d.ts +0 -8
- package/dist/dom/types/events/Event.d.ts +13 -1
- package/dist/dom/types/events/handlers.d.ts +2 -0
- package/dist/dom/types/html/HTMLElement.d.ts +7 -5
- package/dist/dom/types/html/aria-reflection.d.ts +5 -0
- package/dist/dom/types/html/custom-elements.d.ts +0 -1
- package/dist/dom/types/html/elements.d.ts +0 -4
- package/dist/dom/types/html/forms/HTMLButtonElement.d.ts +2 -9
- package/dist/dom/types/html/forms/HTMLFieldSetElement.d.ts +0 -4
- package/dist/dom/types/html/forms/HTMLInputElement.d.ts +11 -30
- package/dist/dom/types/html/forms/HTMLOutputElement.d.ts +4 -13
- package/dist/dom/types/html/forms/HTMLSelectElement.d.ts +2 -3
- package/dist/dom/types/html/forms/HTMLTextAreaElement.d.ts +11 -11
- package/dist/dom/types/html/forms/collections.d.ts +5 -0
- package/dist/dom/types/html/forms/common.d.ts +7 -0
- package/dist/dom/types/html/forms/selection.d.ts +43 -0
- package/dist/dom/types/html/forms/validation.d.ts +7 -2
- package/dist/dom/types/html/shared.d.ts +4 -0
- package/dist/dom/types/html/svg-types.d.ts +1 -1
- package/dist/dom/types/internal.d.ts +2 -1
- package/dist/dom/types/nodes/Document.d.ts +1 -1
- package/dist/dom/types/nodes/Element.d.ts +16 -20
- package/dist/dom/types/nodes/Node.d.ts +1 -1
- package/dist/dom/types/nodes/attributes.d.ts +7 -0
- package/dist/dom/types/nodes/tags.d.ts +2 -0
- package/dist/dom/types/nodes/tree.d.ts +1 -1
- package/dist/dom/types/parser/entities-data.d.ts +3 -3
- package/dist/dom/types/parser/tokenizer.d.ts +1 -0
- package/dist/dom/types/parser/treebuilder.d.ts +7 -2
- package/dist/dom/types/selectors/compile.d.ts +7 -4
- package/dist/dom/types/selectors/parser.d.ts +0 -63
- package/dist/dom/types/serializer/index.d.ts +4 -1
- package/dist/dom/types/traversal/Range.d.ts +3 -0
- package/dist/dom/types/window/Window.d.ts +2 -2
- package/dist/dom/types/window/clock.d.ts +6 -2
- package/dist/dom/types/window/fallbacks.d.ts +0 -8
- package/dist/dom/types/window/hooks.d.ts +1 -2
- package/dist/dom/types/window/interfaces.d.ts +0 -2
- package/dist/dom/types/window/media.d.ts +1 -6
- package/dist/dom/types/window/xhr.d.ts +4 -0
- package/dist/jest-dom/_chunks/{matchers-DGsBvtWC.js → matchers-D7d49HIF.js} +7 -7
- package/dist/jest-dom/_chunks/{matchers-DJmRgUYG.cjs → matchers-lhGtjS66.cjs} +7 -7
- package/dist/jest-dom/index.cjs +1 -1
- package/dist/jest-dom/index.js +1 -1
- package/dist/jest-dom/jest-globals.cjs +1 -1
- package/dist/jest-dom/jest-globals.js +1 -1
- package/dist/jest-dom/matchers.cjs +1 -1
- package/dist/jest-dom/matchers.js +1 -1
- package/dist/jest-dom/vitest.cjs +1 -1
- package/dist/jest-dom/vitest.js +1 -1
- package/dist/testing-library/_chunks/aria-snapshot-diff-DKpjI9CA.cjs +16 -0
- package/dist/testing-library/_chunks/{aria-snapshot-diff-BSXxnyqJ.js → aria-snapshot-diff-DdhypD1z.js} +6 -6
- package/dist/testing-library/agent.cjs +2 -2
- package/dist/testing-library/agent.js +7 -7
- package/dist/testing-library/index.cjs +8 -8
- package/dist/testing-library/index.js +10 -10
- package/dist/user-event/index.cjs +15 -15
- package/dist/user-event/index.js +16 -16
- package/dist/user-event/types/clipboard/copy.d.ts +6 -0
- package/dist/user-event/types/ctrl-dom.d.ts +17 -16
- package/dist/user-event/types/event/eventMap.d.ts +99 -99
- package/dist/user-event/types/setup/dtl.d.ts +0 -6
- package/dist/user-event/types/system/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/aria/_chunks/aria-query.generated-BG-n1PE9.js +0 -4
- package/dist/aria/_chunks/aria-query.generated-BqD80bJk.cjs +0 -4
- package/dist/dom/_chunks/src-B3vkUXY6.js +0 -50
- package/dist/testing-library/_chunks/aria-snapshot-diff-B95LLutl.cjs +0 -16
package/dist/dom/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{Fr as AbstractRange,ds as AnimationEvent,Ba as Attr,sn as Audio,fs as BeforeUnloadEvent,Ya as CDATASection,t as CSS,bi as CSSConditionRule,xi as CSSContainerRule,Si as CSSFontFaceRule,Ci as CSSGroupingRule,wi as CSSImportRule,Ti as CSSKeyframeRule,Ei as CSSKeyframesRule,Di as CSSLayerBlockRule,Oi as CSSLayerStatementRule,ki as CSSMediaRule,Ai as CSSNamespaceRule,ji as CSSNestedDeclarations,Mi as CSSPageRule,Ni as CSSPropertyRule,Pi as CSSRule,Fi as CSSRuleList,Ii as CSSScopeRule,Li as CSSStartingStyleRule,pa as CSSStyleDeclaration,Ri as CSSStyleRule,zi as CSSStyleSheet,Bi as CSSSupportsRule,Xa as CharacterData,xr as Clipboard,Ds as ClipboardEvent,Sr as ClipboardItem,ps as CloseEvent,qr as CommandEvent,Za as Comment,Os as CompositionEvent,Ta as CustomElementRegistry,ms as CustomEvent,ar as CustomStateSet,Dr as DOMImplementation,Br as DOMMatrix,Br as WebKitCSSMatrix,Vr as DOMMatrixReadOnly,gr as DOMParser,Hr as DOMPoint,Ur as DOMPointReadOnly,O as DOMQuad,Wr as DOMRect,Wr as SVGRect,Gr as DOMRectList,Kr as DOMRectReadOnly,Va as DOMStringMap,Ha as DOMTokenList,T as DataTransfer,E as DataTransferItem,D as DataTransferItemList,Or as Document,Or as HTMLDocument,Ja as DocumentFragment,qa as DocumentType,ks as DragEvent,ka as Element,or as ElementInternals,hs as ErrorEvent,cc as Event,$o as EventTarget,ot as FileList,P as FileReader,As as FocusEvent,V as FormData,gs as FormDataEvent,pn as HTMLAnchorElement,mn as HTMLAreaElement,cn as HTMLAudioElement,hn as HTMLBRElement,gn as HTMLBaseElement,_n as HTMLBodyElement,Z as HTMLButtonElement,vn as HTMLCanvasElement,eo as HTMLCollection,yn as HTMLDListElement,bn as HTMLDataElement,W as HTMLDataListElement,an as HTMLDetailsElement,on as HTMLDialogElement,xn as HTMLDirectoryElement,Sn as HTMLDivElement,sr as HTMLElement,Cn as HTMLEmbedElement,J as HTMLFieldSetElement,wn as HTMLFontElement,ba as HTMLFormControlsCollection,U as HTMLFormElement,Tn as HTMLFrameElement,En as HTMLFrameSetElement,Dn as HTMLHRElement,On as HTMLHeadElement,kn as HTMLHeadingElement,An as HTMLHtmlElement,jn as HTMLIFrameElement,Mn as HTMLImageElement,it as HTMLInputElement,Nn as HTMLLIElement,X as HTMLLabelElement,Y as HTMLLegendElement,$t as HTMLLinkElement,Pn as HTMLMapElement,Fn as HTMLMarqueeElement,ln as HTMLMediaElement,In as HTMLMenuElement,Ln as HTMLMetaElement,G as HTMLMeterElement,Rn as HTMLModElement,zn as HTMLOListElement,Bn as HTMLObjectElement,$ as HTMLOptGroupElement,et as HTMLOptionElement,xa as HTMLOptionsCollection,K as HTMLOutputElement,Vn as HTMLParagraphElement,Hn as HTMLParamElement,Un as HTMLPictureElement,Wn as HTMLPreElement,q as HTMLProgressElement,Gn as HTMLQuoteElement,en as HTMLScriptElement,Q as HTMLSelectElement,rn as HTMLSlotElement,Kn as HTMLSourceElement,qn as HTMLSpanElement,tn as HTMLStyleElement,Jn as HTMLTableCaptionElement,Yn as HTMLTableCellElement,Xn as HTMLTableColElement,Zn as HTMLTableElement,Qn as HTMLTableRowElement,$n as HTMLTableSectionElement,in as HTMLTemplateElement,rt as HTMLTextAreaElement,er as HTMLTimeElement,nn as HTMLTitleElement,tr as HTMLTrackElement,nr as HTMLUListElement,rr as HTMLUnknownElement,un as HTMLVideoElement,_s as HashChangeEvent,wr as History,ir as Image,js as InputEvent,j as IntersectionObserver,M as IntersectionObserverEntry,Ms as KeyboardEvent,Tr as Location,ct as MathMLElement,dn as MediaError,Vi as MediaList,_i as MediaQueryList,yi as MediaQueryListEvent,vs as MessageEvent,Ns as MouseEvent,w as MutationObserver,qo as MutationRecord,Ra as NamedNodeMap,Cr as Navigator,uo as Node,Mr as NodeFilter,Nr as NodeIterator,Jo as NodeList,tt as Option,ys as PageTransitionEvent,Ps as PointerEvent,bs as PopStateEvent,Qa as ProcessingInstruction,xs as ProgressEvent,Ss as PromiseRejectionEvent,Sa as RadioNodeList,Ir as Range,N as ResizeObserver,k as ResizeObserverEntry,A as ResizeObserverSize,lt as SVGAElement,Yt as SVGAnimatedPreserveAspectRatio,Xt as SVGAnimatedRect,ut as SVGAnimatedString,dt as SVGCircleElement,ft as SVGClipPathElement,pt as SVGDefsElement,mt as SVGDescElement,ht as SVGElement,gt as SVGEllipseElement,_t as SVGFilterElement,vt as SVGForeignObjectElement,yt as SVGGElement,bt as SVGGeometryElement,xt as SVGGradientElement,St as SVGGraphicsElement,Ct as SVGImageElement,wt as SVGLineElement,Tt as SVGLinearGradientElement,Et as SVGMarkerElement,Dt as SVGMaskElement,Ot as SVGMetadataElement,Zt as SVGNumber,kt as SVGPathElement,At as SVGPatternElement,jt as SVGPolygonElement,Mt as SVGPolylineElement,Qt as SVGPreserveAspectRatio,Nt as SVGRadialGradientElement,Pt as SVGRectElement,Ft as SVGSVGElement,It as SVGScriptElement,Lt as SVGStopElement,Rt as SVGStyleElement,zt as SVGSwitchElement,Bt as SVGSymbolElement,Vt as SVGTSpanElement,Ht as SVGTextContentElement,Ut as SVGTextElement,Wt as SVGTextPathElement,Gt as SVGTextPositioningElement,Kt as SVGTitleElement,qt as SVGUseElement,Jt as SVGViewElement,yr as Screen,jr as Selection,Ua as ShadowRoot,Lr as StaticRange,vr as Storage,Cs as StorageEvent,Hi as StyleSheet,Ui as StyleSheetList,ws as SubmitEvent,$a as Text,Fs as TextEvent,fn as TimeRanges,Ts as ToggleEvent,Is as Touch,Ls as TouchEvent,Rs as TouchList,Es as TransitionEvent,Pr as TreeWalker,zs as UIEvent,ya as ValidityState,br as VisualViewport,Bs as WheelEvent,dr as Window,kr as XMLDocument,F as XMLHttpRequest,I as XMLHttpRequestEventTarget,L as XMLHttpRequestUpload,_r as XMLSerializer,fr as createWindow,ss as currentDocument,cs as currentWindow,ls as currentWindowOrNull,ni as getComputedStyle,R as installGlobals,us as setCurrentWindow}from"./_chunks/src-BISULkzm.js";
|
package/dist/dom/internal.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$a as e,$c as t,$d as n,$f as r,$i as i,$l as a,$o as o,$r as s,$s as c,$u as l,Ac as ee,Ad as te,Af as ne,Al as re,Ao as ie,Au as ae,B as oe,Bc as se,Bd as ce,Bf as le,Bi as ue,Bl as de,Bo as fe,Br as pe,Bu as me,C as he,Ca as ge,Cc as _e,Cd as ve,Cf as ye,Cl as be,Co as xe,Cu as Se,Dc as Ce,Dd as we,Df as Te,Dl as Ee,Do as De,Du as Oe,Ec as ke,Ed as Ae,Ef as je,El as Me,Eo as Ne,Eu as Pe,Fa as Fe,Fc as Ie,Fd as u,Ff as d,Fl as f,Fo as p,Fu as m,Ga as h,Gc as g,Gd as _,Gf as Le,Gi as Re,Gl as ze,Go as Be,Gr as Ve,Gu as He,H as Ue,Hc as We,Hd as Ge,Hf as Ke,Hi as qe,Hl as Je,Ho as v,Hr as Ye,Hu as Xe,Ia as Ze,Ic as Qe,Id as $e,If as et,Il as y,Io as tt,Iu as nt,Jc as b,Jd as rt,Jf as it,Ji as at,Jl as ot,Jo as st,Jr as ct,Ju as lt,Kc as ut,Kd as dt,Kf as ft,Ki as pt,Kl as x,Kr as mt,Ku as ht,Lc as gt,Ld as _t,Lf as vt,Ll as yt,Lo as bt,Lr as xt,Lu as St,Mc as Ct,Md as wt,Mf as Tt,Ml as Et,Mo as Dt,Mu as Ot,Na as kt,Nc as At,Nd as jt,Nf as Mt,Nl as S,No as Nt,Nu as Pt,Oc as Ft,Od as It,Of as Lt,Ol as Rt,Oo as zt,Ou as Bt,Pa as Vt,Pc as Ht,Pd as Ut,Pf as Wt,Pl as Gt,Po as Kt,Pu as qt,Qc as Jt,Qd as Yt,Qf as Xt,Qi as Zt,Ql as Qt,Qo as $t,Qr as en,Qs as C,Qu as tn,Ra as nn,Rc as rn,Rd as an,Rf as on,Ri as sn,Rl as cn,Ro as ln,Rr as un,Ru as dn,S as fn,Sa as pn,Sc as mn,Sd as hn,Sf as gn,Sl as _n,So as vn,Su as yn,Ta as bn,Tc as xn,Td as Sn,Tf as Cn,Tl as wn,To as Tn,Tu as En,Ua as Dn,Uc as w,Ud as On,Uf as kn,Ui as An,Ul as jn,Uo as T,Ur as Mn,Uu as Nn,Vc as Pn,Vd as Fn,Vf as In,Vi as Ln,Vl as Rn,Vo as zn,Vr as Bn,Vu as Vn,Wa as Hn,Wc as Un,Wd as Wn,Wf as Gn,Wi as Kn,Wl as qn,Wo as E,Wr as Jn,Wu as Yn,Xc as Xn,Xd as Zn,Xf as Qn,Xi as $n,Xl as er,Xo as tr,Xr as nr,Xu as rr,Yc as ir,Yd as ar,Yf as or,Yi as sr,Yl as D,Yo as cr,Yr as lr,Yu as ur,Zc as dr,Zd as fr,Zf as pr,Zi as mr,Zl as O,Zo as hr,Zr as gr,Zu as _r,_ as vr,_c as yr,_d as br,_f as xr,_l as Sr,_o as Cr,_s as wr,_u as Tr,a as Er,aa as Dr,ac as Or,ad as kr,af as Ar,ai as jr,al as Mr,ao as Nr,ap as Pr,as as Fr,at as Ir,au as Lr,b as Rr,ba as zr,bc as Br,bd as Vr,bf as Hr,bl as Ur,bo as Wr,bs as k,bu as Gr,c as Kr,ca as qr,cc as Jr,cd as Yr,cf as A,ci as Xr,cl as Zr,co as Qr,cp as $r,cr as ei,cs as ti,cu as ni,d as ri,dc as ii,dd as ai,df as oi,di as si,dl as ci,do as li,dp as ui,dr as j,ds as di,du as fi,ea as pi,ec as mi,ed as hi,ef as gi,ei as _i,el as vi,eo as yi,ep as bi,es as M,eu as xi,f as Si,fc as Ci,fd as wi,ff as Ti,fl as Ei,fo as Di,fp as Oi,fs as ki,fu as Ai,g as ji,ga as Mi,gc as Ni,gd as Pi,gf as Fi,gl as Ii,go as Li,gs as Ri,gu as zi,h as Bi,ha as Vi,hc as Hi,hd as Ui,hf as Wi,hl as Gi,ho as Ki,hr as qi,hs as Ji,hu as Yi,i as Xi,ia as Zi,ic as Qi,id as $i,if as ea,ii as ta,il as na,io as ra,ip as ia,is as aa,iu as oa,jc as sa,jd as ca,jf as la,jl as ua,jo as da,ju as fa,kc as pa,kd as N,kf as ma,kl as ha,ko as ga,kr as _a,ku as va,l as ya,la as ba,lc as xa,ld as Sa,lf as P,ll as F,lp as Ca,lr as wa,ls as Ta,lu as Ea,m as I,mc as Da,md as Oa,mf as ka,ml as Aa,mo as ja,mr as Ma,ms as Na,mu as Pa,n as Fa,na as Ia,nc as La,nd as Ra,nf as za,ni as Ba,nl as Va,no as Ha,np as Ua,ns as Wa,nt as Ga,nu as Ka,o as qa,oc as Ja,od as Ya,of as Xa,oi as Za,ol as Qa,oo as $a,op as eo,os as to,ou as no,p as ro,pc as io,pd as ao,pf as oo,pi as so,pl as co,po as lo,pp as uo,pr as L,ps as fo,pu as po,qc as mo,qd as ho,qf as go,qi as _o,ql as vo,qo as yo,qr as bo,qu as xo,r as So,ra as Co,rc as wo,rd as R,rf as To,ri as Eo,rl as Do,ro as Oo,rp as ko,rs as Ao,ru as jo,s as Mo,sa as No,sd as Po,sf as Fo,si as Io,sl as Lo,so as Ro,sp as zo,ss as Bo,st as z,su as Vo,ta as Ho,tc as Uo,td as Wo,tf as Go,ti as Ko,tl as qo,to as Jo,tp as Yo,ts as Xo,tu as Zo,u as Qo,ua as $o,uc as es,ud as ts,uf as ns,ui as rs,ul as is,uo as as,up as os,ur as ss,uu as cs,v as ls,va as us,vc as ds,vd as fs,vf as ps,vl as B,vo as ms,vu as hs,wa as gs,wc as _s,wd as vs,wf as ys,wl as bs,wo as xs,wu as Ss,x as Cs,xc as ws,xd as Ts,xf as Es,xl as Ds,xo as Os,xu as ks,y as As,ya as js,yc as Ms,yd as Ns,yf as Ps,yl as Fs,yo as Is,yu as Ls,z as Rs,zc as zs,zd as Bs,zf as Vs,zi as Hs,zl as Us,zo as V,zu as Ws}from"./_chunks/src-B3vkUXY6.js";import{constants as Gs,createContext as Ks,runInContext as qs}from"node:vm";import*as H from"node:diagnostics_channel";let U=null;function targets(){let e=/* @__PURE__ */ new Set,t=L();for(let n in t){let r=t[n];if(r===null||typeof r!=`object`&&typeof r!=`function`)continue;e.add(r);let i=r.prototype;typeof r==`function`&&typeof i==`object`&&i&&e.add(i)}return e.add(j.prototype),[...e]}function snapshot(e){let t=Reflect.ownKeys(e),n=Array(t.length);for(let r=0;r<t.length;r++){let i=t[r];n[r]=isArrayIndex(i)?null:Object.getOwnPropertyDescriptor(e,i)}return{target:e,keys:t,descriptors:n,keySet:null}}let W=null;function captureInterfaceBaseline(){if(U===null){U=[],W=/* @__PURE__ */ new WeakSet;for(let e of targets())U.push(snapshot(e)),W.add(e);ownObjectCreateMaps()}}let Js=null;function ownObjectCreateMaps(){if(U===null)return;let e=Js??=qs(`(prototypes) => prototypes.map((p) => Object.create(p))`,Ks(Gs.DONT_CONTEXTIFY)),t=[Object.prototype];for(let e=0;e<U.length;e++){let n=U[e].target;typeof n!=`function`&&t.push(n)}e(t)}function configurableDescriptor(e){return typeof e==`object`&&e&&e.configurable!==!0?{...e,configurable:!0}:e}function guardInterfaceDefinitions(e){let t=W;if(t===null)return;let n=e.Object,r=e.Reflect,i=oe(n),a=n.defineProperties,o=r.defineProperty,s={defineProperty(e,n,r){return i(e,n,t.has(e)?configurableDescriptor(r):Rs(e,n,r))},defineProperties(e,n){if(!t.has(e)||typeof n!=`object`||!n)return a(e,n);let r={};for(let e of Reflect.ownKeys(n))Object.getOwnPropertyDescriptor(n,e)?.enumerable&&(r[e]=configurableDescriptor(n[e]));return a(e,r)},reflectDefineProperty(e,n,r){return o(e,n,t.has(e)?configurableDescriptor(r):r)}};Object.defineProperty(s.reflectDefineProperty,"name",{value:`defineProperty`}),Object.defineProperty(n,"defineProperty",{value:s.defineProperty,writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(n,"defineProperties",{value:s.defineProperties,writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(r,"defineProperty",{value:s.reflectDefineProperty,writable:!0,configurable:!0,enumerable:!1})}function isArrayIndex(e){if(typeof e!=`string`||e===``||e.length>10)return!1;let t=Number(e);return t>>>0===t&&t!==4294967295&&String(t)===e}function sameDescriptor(e,t){return e.value===t.value&&e.get===t.get&&e.set===t.set&&e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable}function restoreInterfaces(){if(U===null)return 0;let e=0;for(let t=0;t<U.length;t++){let n=U[t],r=n.target,i=Reflect.ownKeys(r);for(let t=0;t<i.length;t++){let a=i[t];a===n.keys[t]||(n.keySet??=new Set(n.keys)).has(a)||isArrayIndex(a)||Reflect.deleteProperty(r,a)&&e++}for(let t=0;t<n.keys.length;t++){let i=n.keys[t],a=n.descriptors[t];if(a===null)continue;let o=Object.getOwnPropertyDescriptor(r,i);if(!(o!==void 0&&sameDescriptor(o,a)))try{Object.defineProperty(r,i,a),e++}catch{}}}return ownObjectCreateMaps(),e}const G=`ctrl-dom:span`,K=typeof H.tracingChannel==`function`?H.tracingChannel(G):null;function spanChannel(){return K}function tracing(){return K!==null&&K.hasSubscribers}function traceSync(e,t,n){let r={op:e,description:t,data:{},async:!1},i=A();return K.traceSync(e=>{try{return n(e)}finally{recordSkipped(e,i)}},r,void 0,r)}function tracePromise(e,t,n){let r={op:e,description:t,data:{},async:!0},i=A();return K.tracePromise(e=>n(e).finally(()=>recordSkipped(e,i)),r,void 0,r)}function recordSkipped(e,t){let n=A()-t;n>0&&(e.data[`clock.skipped_ms`]=Math.round(n))}function describeCall(e,t){let n=`${e}(`;for(let e=0;e<t.length&&(t[e]!==void 0||e!==t.length-1);e++)if(n+=(e>0?`, `:``)+describeValue(t[e],0),n.length>160)return`${n.slice(0,159)}…)`;return`${n})`}function describeValue(e,t){if(typeof e==`string`)return JSON.stringify(e.length>40?`${e.slice(0,39)}…`:e);if(typeof e==`function`)return e.name?`${e.name}()`:`fn`;if(e instanceof RegExp||typeof e!=`object`||!e)return String(e);if(e[D]!==void 0)return describeNode(e);if(Array.isArray(e))return t>0?`[…]`:`[${e.slice(0,3).map(e=>describeValue(e,t+1)).join(`, `)}${e.length>3?`, …`:``}]`;if(t>0)return`{…}`;let n=Object.entries(e).slice(0,4);return n.length===0?`{}`:`{ ${n.map(([e,n])=>`${e}: ${describeValue(n,t+1)}`).join(`, `)} }`}let q=null;function setNodeDescriber(e){q=e}function describeNode(e){let t=e;if(t.nodeType===9)return`document`;if(t.nodeType!==1||typeof t.localName!=`string`)return t.nodeType===3?`#text`:`node`;if(q!==null)try{let t=q(e);if(t)return t}catch{}if(t.localName===`body`||t.localName===`html`)return`<${t.localName}>`;let n=t.getAttribute?.(`aria-label`)||t.textContent?.trim().replace(/\s+/g,` `)||t.getAttribute?.(`placeholder`)||t.getAttribute?.(`name`)||``;return n===``?`<${t.localName}>`:`<${t.localName} ${quote(n)}>`}function quote(e){return JSON.stringify(e.length>40?`${e.slice(0,39)}…`:e)}const J=`sentry-tests:failure`;let Y=null;function setFailureSnapshot(e){Y=e}function subscribeTestFailures(e){let t=H.channel(J),onFailure=t=>{let n=t,r=e();if(r==null||n.document!==r)return;let i=P();if(i!==null&&(n.contexts.clock={skipped_ms:Math.round(i.skippedMs),pending_timers:i.pendingTimers}),Y!==null&&r.body!=null)try{n.attachments.push({filename:`accessibility-snapshot.txt`,contentType:`text/plain`,data:Y(r.body)})}catch{}};return t.subscribe(onFailure),()=>t.unsubscribe(onFailure)}var FileState=class{hooks;url;constructor(){this.hooks=/* @__PURE__ */ new Map,this.url=null}};const X=/* @__PURE__ */ new WeakMap;function stateOf(e){let t=X.get(e);return t===void 0&&X.set(e,t=new FileState),t}function registerTestHooks(e,t){let n=k();if(n===null)return;let r=stateOf(n).hooks;r.set(e,{...r.get(e),...t})}function testHooks(){let e=k(),t=e===null?void 0:X.get(e);return t===void 0?[]:[...t.hooks.values()]}function resetWindowBetweenFiles(e){let t=stateOf(e);for(let e of t.hooks.values())try{e.fileEnd?.()}catch{}Xa(),Ma(e);let n=e[N];if(n!==null){for(let e of n)e.clear(e.handle);n.clear()}e[S]=null,e[R]=null,e[y]=null,e[x]=null;let r=e.document;r.getSelection()?.removeAllRanges();let i=r.body;i!==null&&(i.replaceChildren(),removeAttributes(i)),r.documentElement!==null&&removeAttributes(r.documentElement),e.localStorage.clear(),e.sessionStorage.clear(),e[b]=null;let a=t.url??=e.location.href;e.location.href!==a&&e._setURL(new URL(a));let o=e.history;o[B]=[{url:a,state:null}],o[O]=0}function removeAttributes(e){let t=e.getAttributeNames();for(let n=0;n<t.length;n++)e.removeAttribute(t[n])}function implOf(e){return e[D]??e}function isTypingType(e){return v(e)||e===12||e>=7&&e<=11}function isEditable(e){let t=implOf(e);return t.tag===C.input?isTypingType(V(t))&&I(t):t.tag===C.textarea?I(t):Ve(t)}function supportsSelection(e){let t=implOf(e);return t.tag===C.textarea||t.tag===C.input&&T(V(t))}function hasUIValue(e){let t=implOf(e);return t.tag===C.textarea||t.tag===C.input&&E(V(t))===0}function getUIValue(e){let t=implOf(e);if(t.tag===C.input){let e=t.node;return e[w].uiValue??e.value}return t.tag===C.textarea?t.node.value:``}function setUIValue(e,t){let n=implOf(e);if(n.tag===C.input){let e=n.node,r=V(n);if(E(r)!==0)return;let i=Ir(r,t,n);n.doc[_]++,e[w].value=i,e[w].dirtyValue=!0,e[w].userEdited=!0,e[w].uiValue=i===t?null:t,e[w].badInput=i===``&&t!==``&&r!==5&&!v(r);let a=t.length;e[w].selStart>a&&(e[w].selStart=a),e[w].selEnd>a&&(e[w].selEnd=a)}else if(n.tag===C.textarea){let e=n.node;n.doc[_]++,e[w].value=Mi(t),e[w].dirtyValue=!0,e[w].userEdited=!0}}function clearUIValue(e){let t=implOf(e);if(t.tag===C.input){let e=t.node;e[w].uiValue=null,e[w].badInput=!1}}function getUISelection(e){let t=implOf(e).node,n=getUIValue(e).length;return{start:Math.min(t[w].selStart,n),end:Math.min(t[w].selEnd,n),direction:t[w].selDir}}function setUISelection(e,t,n=t,r=`none`){let i=implOf(e);if(i.tag!==C.input&&i.tag!==C.textarea)return;let a=i.node,o=getUIValue(e).length,s=Math.max(0,Math.min(t,n)),c=Math.max(t,n);c>o&&(c=o),s>c&&(s=c),a[w].selStart=s,a[w].selEnd=c,a[w].selDir=r}function setFilesFromUI(e,t){let n=implOf(e);n.tag===C.input&&V(n)===17&&(n.doc[_]++,n.node[w].files=z(t))}function setOptionSelectedFromUI(e,t){let n=implOf(e);if(n.tag!==C.option)return;let r=n.node;r._setSelectedness(t),r[F]=!0;let i=Ga(n);if(i!==null){let e=i.node;t&&e._deselectOthers(n),e._updateSelectedContent()}}function setCheckedFromUI(e,t){let n=implOf(e);n.tag===C.input&&n.node._setCheckedness(t,!0)}const Ys=j.prototype.getComputedStyle;let Z=null,Q=null,$=null;function getComputedStyleOverride(e){let t=e.doc.defaultView;if(t==null)return null;let n=t.getComputedStyle;if(n===Ys||typeof n!=`function`||Ue.has(n))return null;if(Q?.deref()===n&&Z?.deref()===t){let e=$.deref();if(e!==void 0)return e}let r=n.bind(t);return Z=new WeakRef(t),Q=new WeakRef(n),$=new WeakRef(r),r}export{es as $_proto__,ii as $aboutBase,Ci as $active,io as $assocGen,Da as $attr,Hi as $attributes,Ni as $availableToElementInternals,yr as $baseFor,ds as $baseOverride,Ms as $baseURL,Br as $baseVersion,ws as $benign,mn as $block,_e as $blockParsed,_s as $blockText,xn as $byCtor,ke as $byName,Ce as $cache,Ft as $callback,pa as $childNodes,ee as $childWindows,sa as $children,Ct as $classList,At as $clipboard,Ht as $clonable,Ie as $closed,Qe as $coll,gt as $compiled,rn as $compiledFor,zs as $condition,se as $constructed,Pn as $constructingEntryList,We as $contentType,w as $control,Un as $controlNamesVersion,g as $controlsCache,ut as $controlsDoc,mo as $controlsVersion,b as $cookieJar,ir as $cookies,Xn as $css,dr as $current,Jt as $customElements,t as $customValidity,vi as $cx,qo as $data,Va as $dataset,Do as $declarative,na as $defaultNamespace,Mr as $defaultValueOverride,Qa as $delegatesFocus,Lo as $derived,Zr as $devicePixelRatio,F as $dirtiness,is as $disabled,ci as $disallowModification,Ei as $doc,co as $dropEffect,Aa as $ec,Gi as $effectAllowed,Ii as $el,Sr as $elements,B as $entries,Fs as $eo,Ur as $error,Ds as $externalFormNames,_n as $file,be as $files,bs as $fill,wn as $filter,Me as $firingSubmissionEvents,Ee as $focused,Rt as $forLabels,ha as $form,re as $formAttrSeen,ua as $formControlsVersion,Et as $forms,S as $frameCallbacks,Gt as $frameElement,f as $frameId,y as $frameTask,yt as $frameTime,cn as $generation,Us as $globalObject,de as $height,Rn as $history,Je as $home,jn as $host,qn as $href,ze as $id,x as $idleCallbacks,vo as $idleId,ot as $ids,D as $impl,er as $implementation,O as $index,Qt as $indexed,a as $inflight,xi as $info,Zo as $innerHeight,Ka as $innerWidth,jo as $isHTML,oa as $items,Lr as $keyText,no as $kind,Vo as $labels,ni as $labelsVersion,Ea as $layerName,cs as $list,fi as $listenerTypesChanged,Ai as $listeners,po as $localStorage,Pa as $location,Yi as $lockedForReset,zi as $matches,Tr as $media,hs as $mediaQueryLists,Ls as $mode,Gr as $name,ks as $nameBlanked,yn as $nameBlankedValue,Se as $names,Ss as $namespaces,En as $navigator,Pe as $nodes,Oe as $onchange,Bt as $options,va as $optionsCount,ae as $optionsOnly,fa as $optionsTail,Ot as $owner,Pt as $ownerNode,qt as $ownerRule,m as $parent,nt as $parentRule,St as $parentWindow,dn as $pastNames,Ws as $pointerBeforeReference,me as $prefix,Vn as $prelude,Xe as $presentationStyle,Nn as $pseudo,Yn as $queries,He as $radios,ht as $ranges,xo as $readonly,lt as $readyState,ur as $rebuildVersion,rr as $record,_r as $records,tn as $reference,l as $result,hi as $root,Wo as $rules,Ra as $running,R as $runningFrame,$i as $sc,kr as $screen,Ya as $scrollRestoration,Po as $scrollX,Yr as $scrollY,Sa as $selectedOptions,ts as $selectedness,ai as $selection,wi as $selectionEpoch,ao as $selector,Oa as $serializable,Ui as $sessionStorage,Pi as $settled,br as $shadowRoot,fs as $shed,Ns as $sheet,Vr as $sheets,Ts as $slotAssignment,hn as $so,ve as $states,vs as $style,Sn as $styleVersion,Ae as $supportsText,we as $systemId,It as $target,N as $tasks,te as $templateContentsOwner,ca as $timers,wt as $title,jt as $transients,Ut as $treeVersion,u as $type,$e as $types,_t as $updating,an as $updatingSelectedContent,Bs as $uri,ce as $url,Fn as $userActivation,Ge as $userValidity,On as $validity,Wn as $value,_ as $version,dt as $visualViewport,ho as $w,rt as $whatToShow,ar as $whenDefined,Zn as $width,fr as $window,Yt as $writeBuffer,n as $x,gi as $xhr,Go as $y,za as $z,ps as ATTRIBUTE_NODE,ti as AttrRecord,Ps as CDATA_SECTION_NODE,Hr as COMMENT_NODE,i as COMPAT,pi as COMPAT_PROFILES,Ho as DEFAULT_COMPAT,Es as DOCUMENT_FRAGMENT_NODE,gn as DOCUMENT_NODE,ye as DOCUMENT_POSITION_CONTAINED_BY,ys as DOCUMENT_POSITION_CONTAINS,Cn as DOCUMENT_POSITION_DISCONNECTED,je as DOCUMENT_POSITION_FOLLOWING,Te as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,Lt as DOCUMENT_POSITION_PRECEDING,ma as DOCUMENT_TYPE_NODE,No as DeclBlock,ne as ELEMENT_NODE,la as ENTITY_NODE,Tt as ENTITY_REFERENCE_NODE,Jr as EventState,J as FAILURE_CHANNEL,Mt as F_ADOPT_HOOK,Wt as F_ARIA_ATTRS,d as F_ATTR_HOOK,et as F_CE_CUSTOM,vt as F_CHILDREN_HOOK,on as F_CHILD_LIST,Vs as F_CONNECTED,le as F_CONNECT_HOOK,In as F_CONTENTEDITABLE_ATTR,Ke as F_CUSTOM,kn as F_DATA_ATTRS,Gn as F_FACE,Le as F_FORM_ATTR,ft as F_HAS_SHADOW,go as F_HAS_STYLE_ATTR,it as F_HTML,or as F_INERT_ATTR,Qn as F_MO_REGISTERED,pr as F_PARSER_FORM,Xt as F_PAST_NAMES,r as F_RANGE,bi as F_RANGE_BELOW,Yo as F_RANGE_MARKS,Ua as F_ROLE_ATTR,ko as F_SHADOW_ROOT,ia as F_TABINDEX_ATTR,Or as GLOBAL_EVENT_HANDLER_EVENTS,e as HTMLCollection,Pr as HTML_NS,ln as INPUT_TYPE_NAMES,eo as MATHML_NS,zo as NOTATION_NODE,at as NodeCache,Ta as NodeImpl,yo as NodeList,$r as PROCESSING_INSTRUCTION_NODE,G as SPAN_CHANNEL,Ca as SVG_NS,C as T,os as TEXT_NODE,To as VirtualClock,ea as VirtualTimeout,Ja as WINDOW_EVENT_HANDLER_EVENTS,ui as XLINK_NS,Oi as XMLNS_NS,uo as XML_NS,sn as adoptedStyleSheetsOf,Is as ariaAttr,Wr as asciiLowercase,lo as assignManually,ja as assignedElements,Ki as assignedNodes,Li as assignedSlot,pn as attachShadowRoot,Os as attr,ei as attrAssociatedElement,wa as attrAssociatedElements,nn as attrNode,Ar as canSkipZeroDelayWait,captureInterfaceBaseline,tr as childAt,vn as classTokens,clearUIValue,Fo as clockNow,P as clockStats,Ha as closest,xt as compareBoundaryPoints,Ia as compatExposes,lr as computedDisplay,nr as computedValue,gr as computedVisibility,pe as constructEntryList,Fa as controlValue,_a as createEvent,z as createFileList,Hs as createLinkSheet,en as currentStyleVersion,Bn as defaultButton,Co as deferredCompatMembers,Ro as derivedCache,describeCall,describeNode,di as dispatch,$n as dispatchTrusted,yi as ensureCollectionIndexGetters,st as ensureIndexGetters,rs as evaluateMediaQueryList,ba as faceState,Cr as findFlattenedSlottables,ms as findSlot,mr as fireAnEvent,Zt as fireSyntheticPointerEvent,hr as firstElementChild,ns as foreignImmediatesPending,ie as formOwner,xe as getAttribute,ct as getComputedStyle,getComputedStyleOverride,ki as getCurrentEvent,ge as getElementsByClassName,gs as getElementsByTagName,bn as getElementsByTagNameNS,us as getEventHandler,getUISelection,getUIValue,guardInterfaceDefinitions,xs as hasAttr,s as hasAuthorStyles,ss as hasExplicitAttrElements,Uo as hasListeners,So as hasReadonlyAttribute,hasUIValue,Zi as hiddenGlobals,Ye as implicitSubmission,cr as indexGetterTable,$t as indexOf,Oo as indexedDescendantById,Xi as inputChecked,Er as inputIndeterminate,V as inputType,fe as inputTypeFromAttr,as as inspectNode,oi as installClock,js as installEventHandlers,da as isActuallyDisabled,Tn as isAsciiWhitespace,qa as isAutofilled,Mo as isChecked,Ti as isClockTimer,Kr as isDefault,ya as isDisabled,_i as isDisplayNone,Ko as isDisplayNoneInclusive,isEditable as isEditableControl,Qo as isEnabled,$o as isFACE,ri as isInRange,o as isInclusiveAncestor,Si as isIndeterminate,ro as isInvalid,Dt as isLabelable,Nt as isListed,I as isMutable,zn as isNumericType,Bi as isOptional,ji as isOutOfRange,vr as isPlaceholderShown,ls as isReadOnly,As as isReadWrite,Rr as isRequired,Kt as isResettable,Mn as isSubmitButton,p as isSubmittable,Cs as isTextControl,v as isTextualType,fn as isValid,kt as isValidDoctypeName,Vt as isValidElementLocalName,Fe as isValidNamespacePrefix,Ba as isVisibilityHidden,tt as labeledControl,bt as labelsFor,M as lastElementChild,Vi as listOfOptions,La as listenerCount,oo as loopTurn,pt as matchMediaText,ra as matches,si as mediaEnvironment,Xo as nextElementInTree,Wa as nextElementSibling,Ao as nextInTree,aa as nextSkippingChildren,sr as nodeCache,fo as nodeGetTheParent,un as nodeLength,Be as notifyMutationObservers,he as optionSelected,qr as parseDeclBlock,h as parseFragment,_o as parseMediaQueryList,Qr as peekDerivedCache,Eo as pointerEvents,ta as pointerEventsNone,Ne as prefixFlag,Fr as previousElementSibling,to as previousInTree,jr as pseudoContent,Nr as querySelector,$a as querySelectorAll,quote,Ln as registerOwnerSheet,registerTestHooks,wo as removeAllEventListeners,De as removeAttribute,qe as removeOwnerSheet,li as replaceData,Ri as reportException,resetWindowBetweenFiles,Dr as resolveCompat,restoreInterfaces,Na as retarget,Qi as reusableElement,Dn as serializeChildren,Hn as serializeNode,An as setAdoptedStyleSheets,Ji as setAssignedSlotLookup,zt as setAttribute,setCheckedFromUI,Za as setComputedColorMode,zr as setEventHandler,setFailureSnapshot,setFilesFromUI,setNodeDescriber,Jn as setNotImplementedHandler,setOptionSelectedFromUI,xa as setTrusted,setUISelection,setUIValue,wr as setUncaughtExceptionHandler,ka as skipIdleTime,Wi as skipZeroDelayWait,spanChannel,ga as splitOnAsciiWhitespace,Di as splitText,mt as styleElementRemoved,ue as styleElementSheet,bo as styleElementUpdated,Kn as styleSheetsOf,Io as styledDisplay,subscribeTestFailures,supportsSelection,T as supportsSelectionType,c as tagId,mi as tagName,testHooks,tracePromise,traceSync,tracing,qi as trackGlobalTimers,Bo as treeRoot,Xr as uaDisplay,Re as unregisterOwnerSheet,Ze as validateAndExtract,E as valueMode,Fi as virtualDate,xr as virtualPerformance,so as windowHooks,L as windowInterfaces,Jo as withNamedProperties};
|
|
1
|
+
import{$c as e,$d as t,$f as n,$i as r,$l as i,$r as a,$s as o,$u as s,Aa as c,Ac as l,Ad as u,Af as ee,Al as te,Ao as ne,Ar as re,Au as ie,B as ae,Bc as oe,Bd as se,Bf as ce,Bl as le,Bo as d,Bu as ue,C as de,Ca as fe,Cc as pe,Cd as me,Cf as he,Cl as ge,Co as _e,Cu as ve,Da as ye,Dc as be,Dd as xe,Df as Se,Dl as Ce,Do as we,Du as Te,Ea as Ee,Ec as De,Ed as Oe,Ef as ke,El as Ae,Eo as je,Er as Me,Eu as Ne,Fa as Pe,Fc as Fe,Fd as f,Ff as p,Fl as m,Fo as h,Fu as g,Ga as _,Gc as v,Gd as Ie,Gf as Le,Gi as Re,Gl as ze,Go as y,Gs as Be,Gu as Ve,H as He,Hc as Ue,Hd as We,Hf as Ge,Hl as Ke,Ho as qe,Hs as Je,Hu as Ye,Ia as Xe,Ic as Ze,Id as Qe,If as $e,Il as et,Io as tt,Iu as nt,Jc as rt,Jd as it,Jf as at,Ji as ot,Jl as st,Jo as ct,Jr as lt,Js as ut,Ju as dt,Ka as ft,Kc as pt,Kd as b,Kf as mt,Ki as ht,Kl as gt,Ko as _t,Ks as vt,Ku as yt,La as bt,Lc as xt,Ld as St,Lf as Ct,Ll as x,Lo as wt,Lu as Tt,Ma as Et,Mc as Dt,Md as Ot,Mf as kt,Ml as At,Mo as jt,Mu as Mt,Na as Nt,Nc as Pt,Nd as Ft,Nf as It,Nl as Lt,No as Rt,Nu as zt,Oa as Bt,Oc as Vt,Od as Ht,Of as Ut,Ol as Wt,Oo as Gt,Ou as Kt,Pa as qt,Pc as Jt,Pd as Yt,Pf as Xt,Pl as S,Po as Zt,Pu as Qt,Qc as $t,Qd as en,Qf as tn,Qi as nn,Ql as C,Qo as rn,Qr as an,Qs as on,Qu as sn,Rc as cn,Rd as ln,Rf as un,Rl as dn,Ro as fn,Rr as pn,Ru as mn,S as hn,Sc as gn,Sd as _n,Sf as vn,Sl as yn,So as bn,Su as xn,Tc as Sn,Td as Cn,Tf as wn,Tl as Tn,To as En,Tu as Dn,Uc as On,Ud as kn,Uf as An,Ul as jn,Uo as w,Us as Mn,Uu as Nn,Vc as Pn,Vd as Fn,Vf as In,Vl as Ln,Vo as Rn,Vs as zn,Vu as Bn,Wa as Vn,Wc as T,Wd as Hn,Wf as Un,Wi as Wn,Wl as Gn,Wo as E,Ws as Kn,Wu as qn,Xc as Jn,Xd as Yn,Xf as Xn,Xi as Zn,Xl as D,Xo as Qn,Xr as $n,Xs as er,Xu as tr,Yc as O,Yd as nr,Yf as rr,Yi as ir,Yl as ar,Yo as or,Yr as sr,Ys as cr,Yu as lr,Zc as ur,Zd as dr,Zf as fr,Zi as pr,Zl as mr,Zo as hr,Zr as gr,Zs as _r,Zu as vr,_ as yr,_a as br,_c as xr,_d as Sr,_f as Cr,_l as wr,_o as Tr,_u as Er,a as Dr,aa as Or,ac as kr,ad as Ar,af as jr,ai as Mr,al as Nr,ao as Pr,ap as Fr,as as Ir,at as Lr,au as Rr,b as zr,bc as Br,bd as Vr,bf as Hr,bl as Ur,bo as Wr,bu as Gr,c as Kr,ca as qr,cd as Jr,cf as Yr,ci as Xr,cl as Zr,co as Qr,cp as $r,cr as ei,cu as ti,d as ni,da as ri,dc as ii,dd as ai,df as oi,di as si,dl as ci,do as li,dp as ui,dr as k,du as di,ea as fi,ec as pi,ed as mi,ef as hi,ei as gi,el as _i,eo as vi,ep as yi,es as bi,eu as xi,f as Si,fa as A,fc as Ci,fd as wi,ff as Ti,fi as Ei,fl as Di,fo as Oi,fp as ki,fu as Ai,g as ji,ga as Mi,gc as Ni,gd as Pi,gf as Fi,gi as Ii,gl as Li,go as Ri,gu as zi,h as Bi,ha as Vi,hc as Hi,hd as Ui,hf as Wi,hi as Gi,hl as Ki,ho as qi,hp as Ji,hr as Yi,hu as Xi,i as Zi,ia as Qi,ic as $i,id as j,if as ea,ii as ta,il as na,io as ra,ip as ia,is as aa,iu as oa,ja as sa,jc as ca,jd as la,jf as ua,jl as da,jo as fa,ju as pa,kc as ma,kd as ha,kf as ga,kl as _a,ko as va,ku as ya,l as ba,la as xa,lc as Sa,ld as Ca,lf as M,li as wa,ll as Ta,lo as Ea,lp as Da,lr as Oa,ls as N,lu as ka,m as P,ma as Aa,mc as ja,md as Ma,mf as Na,mi as Pa,ml as Fa,mo as Ia,mp as La,mr as Ra,mu as za,n as Ba,na as Va,nc as Ha,nd as Ua,nf as Wa,ni as Ga,nl as Ka,no as qa,np as Ja,ns as Ya,nt as Xa,nu as Za,o as Qa,oa as $a,oc as eo,od as to,of as no,oi as ro,ol as io,oo as ao,op as oo,os as so,ou as co,p as lo,pc as uo,pd as fo,pf as po,pi as mo,pl as ho,po as go,pp as _o,pr as F,pu as vo,qc as yo,qd as bo,qf as xo,qi as So,ql as I,qs as Co,qu as wo,r as To,ra as Eo,rc as Do,rd as Oo,rf as ko,ri as Ao,rl as jo,ro as Mo,rp as No,rs as Po,ru as Fo,s as Io,sa as Lo,sc as Ro,sd as zo,sf as Bo,si as Vo,sl as Ho,so as Uo,sp as Wo,st as L,su as Go,ta as Ko,tc as qo,td as Jo,tf as Yo,ti as Xo,tl as Zo,to as Qo,tp as $o,ts as es,tu as ts,u as ns,ua as rs,uc as is,ud as as,uf as R,ui as os,ul as z,up as ss,ur as cs,uu as ls,v as us,va as ds,vc as fs,vd as ps,vf as ms,vi as hs,vl as gs,vo as _s,vu as vs,wa as ys,wc as bs,wd as xs,wf as Ss,wl as Cs,wo as ws,wu as Ts,x as Es,xc as Ds,xd as Os,xf as ks,xl as As,xo as js,xu as Ms,y as Ns,yc as Ps,yd as Fs,yf as B,yl as V,yo as Is,yu as Ls,z as Rs,za as zs,zc as Bs,zd as Vs,zf as Hs,zl as Us,zo as Ws,zr as Gs,zu as Ks}from"./_chunks/src-BISULkzm.js";import{constants as qs,createContext as Js,runInContext as Ys}from"node:vm";import*as H from"node:diagnostics_channel";let U=null;function targets(){let e=/* @__PURE__ */ new Set,t=F();for(let n in t){let r=t[n];if(r===null||typeof r!=`object`&&typeof r!=`function`)continue;e.add(r);let i=r.prototype;typeof r==`function`&&typeof i==`object`&&i&&e.add(i)}return e.add(k.prototype),[...e]}function snapshot(e){let t=Reflect.ownKeys(e),n=Array(t.length);for(let r=0;r<t.length;r++){let i=t[r];n[r]=isArrayIndex(i)?null:Object.getOwnPropertyDescriptor(e,i)}return{target:e,keys:t,descriptors:n,keySet:null}}let W=null;function captureInterfaceBaseline(){if(U===null){U=[],W=/* @__PURE__ */ new WeakSet;for(let e of targets())U.push(snapshot(e)),W.add(e);ownObjectCreateMaps()}}let Xs=null;function ownObjectCreateMaps(){if(U===null)return;let e=Xs??=Ys(`(prototypes) => prototypes.map((p) => Object.create(p))`,Js(qs.DONT_CONTEXTIFY)),t=[Object.prototype];for(let e=0;e<U.length;e++){let n=U[e].target;typeof n!=`function`&&t.push(n)}e(t)}function configurableDescriptor(e){return typeof e==`object`&&e&&e.configurable!==!0?{...e,configurable:!0}:e}function guardInterfaceDefinitions(e){let t=W;if(t===null)return;let n=e.Object,r=e.Reflect,i=ae(n),a=n.defineProperties,o=r.defineProperty,s={defineProperty(e,n,r){return i(e,n,t.has(e)?configurableDescriptor(r):Rs(e,n,r))},defineProperties(e,n){if(!t.has(e)||typeof n!=`object`||!n)return a(e,n);let r={};for(let e of Reflect.ownKeys(n))Object.getOwnPropertyDescriptor(n,e)?.enumerable&&(r[e]=configurableDescriptor(n[e]));return a(e,r)},reflectDefineProperty(e,n,r){return o(e,n,t.has(e)?configurableDescriptor(r):r)}};Object.defineProperty(s.reflectDefineProperty,"name",{value:`defineProperty`}),B(n,`defineProperty`,s.defineProperty),B(n,`defineProperties`,s.defineProperties),B(r,`defineProperty`,s.reflectDefineProperty)}function isArrayIndex(e){if(typeof e!=`string`||e===``||e.length>10)return!1;let t=Number(e);return t>>>0===t&&t!==4294967295&&String(t)===e}function sameDescriptor(e,t){return e.value===t.value&&e.get===t.get&&e.set===t.set&&e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable}function restoreInterfaces(){if(U===null)return 0;let e=0;for(let t=0;t<U.length;t++){let n=U[t],r=n.target,i=Reflect.ownKeys(r);for(let t=0;t<i.length;t++){let a=i[t];a===n.keys[t]||(n.keySet??=new Set(n.keys)).has(a)||isArrayIndex(a)||Reflect.deleteProperty(r,a)&&e++}for(let t=0;t<n.keys.length;t++){let i=n.keys[t],a=n.descriptors[t];if(a===null)continue;let o=Object.getOwnPropertyDescriptor(r,i);if(!(o!==void 0&&sameDescriptor(o,a)))try{Object.defineProperty(r,i,a),e++}catch{}}}return ownObjectCreateMaps(),e}const G=`ctrl-dom:span`,K=typeof H.tracingChannel==`function`?H.tracingChannel(G):null;function spanChannel(){return K}function tracing(){return K!==null&&K.hasSubscribers}function traceSync(e,t,n){let r={op:e,description:t,data:{},async:!1},i=M();return K.traceSync(e=>{try{return n(e)}finally{recordSkipped(e,i)}},r,void 0,r)}function tracePromise(e,t,n){let r={op:e,description:t,data:{},async:!0},i=M();return K.tracePromise(e=>n(e).finally(()=>recordSkipped(e,i)),r,void 0,r)}function recordSkipped(e,t){let n=M()-t;n>0&&(e.data[`clock.skipped_ms`]=Math.round(n))}function describeCall(e,t){let n=`${e}(`;for(let e=0;e<t.length&&(t[e]!==void 0||e!==t.length-1);e++)if(n+=(e>0?`, `:``)+describeValue(t[e],0),n.length>160)return`${n.slice(0,159)}…)`;return`${n})`}function describeValue(e,t){if(typeof e==`string`)return quote(e);if(typeof e==`function`)return e.name?`${e.name}()`:`fn`;if(e instanceof RegExp||typeof e!=`object`||!e)return String(e);if(e[D]!==void 0)return describeNode(e);if(Array.isArray(e))return t>0?`[…]`:`[${e.slice(0,3).map(e=>describeValue(e,t+1)).join(`, `)}${e.length>3?`, …`:``}]`;if(t>0)return`{…}`;let n=Object.entries(e).slice(0,4);return n.length===0?`{}`:`{ ${n.map(([e,n])=>`${e}: ${describeValue(n,t+1)}`).join(`, `)} }`}let q=null;function setNodeDescriber(e){q=e}function describeNode(e){let t=e;if(t.nodeType===9)return`document`;if(t.nodeType!==1||typeof t.localName!=`string`)return t.nodeType===3?`#text`:`node`;if(q!==null)try{let t=q(e);if(t)return t}catch{}if(t.localName===`body`||t.localName===`html`)return`<${t.localName}>`;let n=t.getAttribute?.(`aria-label`)||t.textContent?.trim().replace(/\s+/g,` `)||t.getAttribute?.(`placeholder`)||t.getAttribute?.(`name`)||``;return n===``?`<${t.localName}>`:`<${t.localName} ${quote(n)}>`}function quote(e){return JSON.stringify(e.length>40?`${e.slice(0,39)}…`:e)}const J=`sentry-tests:failure`;let Y=null;function setFailureSnapshot(e){Y=e}function subscribeTestFailures(e){let t=H.channel(J),onFailure=t=>{let n=t,r=e();if(r==null||n.document!==r)return;let i=R();if(i!==null&&(n.contexts.clock={skipped_ms:Math.round(i.skippedMs),pending_timers:i.pendingTimers}),Y!==null&&r.body!=null)try{n.attachments.push({filename:`accessibility-snapshot.txt`,contentType:`text/plain`,data:Y(r.body)})}catch{}};return t.subscribe(onFailure),()=>t.unsubscribe(onFailure)}var FileState=class{hooks;url;constructor(){this.hooks=/* @__PURE__ */ new Map,this.url=null}};const X=/* @__PURE__ */ new WeakMap;function stateOf(e){let t=X.get(e);return t===void 0&&X.set(e,t=new FileState),t}function registerTestHooks(e,t){let n=N();if(n===null)return;let r=stateOf(n).hooks;r.set(e,{...r.get(e),...t})}function testHooks(){let e=N(),t=e===null?void 0:X.get(e);return t===void 0?[]:[...t.hooks.values()]}function resetWindowBetweenFiles(e){let t=stateOf(e);for(let e of t.hooks.values())try{e.fileEnd?.()}catch{}Bo(),Ra(e);let n=e[u];if(n!==null){for(let e of n)e.clear(e.handle);n.clear()}e[S]=null,e[j]=null,e[x]=null,e[I]=null;let r=e.document;r.getSelection()?.removeAllRanges();let i=r.body;i!==null&&(i.replaceChildren(),removeAttributes(i)),r.documentElement!==null&&removeAttributes(r.documentElement),e.localStorage.clear(),e.sessionStorage.clear(),e[O]=null;let a=t.url??=e.location.href;e.location.href!==a&&e._setURL(new URL(a));let o=e.history;o[V]=[{url:a,state:null}],o[C]=0}function removeAttributes(e){let t=e.getAttributeNames();for(let n=0;n<t.length;n++)e.removeAttribute(t[n])}function implOf(e){return e[D]??e}function isTypingType(e){return w(e)||e===12||e>=7&&e<=11}function isEditable(e){let t=implOf(e);return t.tag===o.input?isTypingType(d(t))&&P(t):t.tag===o.textarea?P(t):a(t)}function supportsSelection(e){let t=implOf(e);return t.tag===o.textarea||t.tag===o.input&&E(d(t))}function hasUIValue(e){let t=implOf(e);return t.tag===o.textarea||t.tag===o.input&&y(d(t))===0}function getUIValue(e){let t=implOf(e);if(t.tag===o.input){let e=t.node;return e[T].uiValue??e.value}return t.tag===o.textarea?t.node.value:``}function setUIValue(e,t){let n=implOf(e);if(n.tag===o.input){let e=n.node,r=d(n);if(y(r)!==0)return;let i=Lr(r,t,n);n.doc[b]++,e[T].value=i,e[T].dirtyValue=!0,e[T].userEdited=!0,e[T].uiValue=i===t?null:t,e[T].badInput=i===``&&t!==``&&r!==5&&!w(r);let a=t.length;e[T].selStart>a&&(e[T].selStart=a),e[T].selEnd>a&&(e[T].selEnd=a)}else if(n.tag===o.textarea){let e=n.node;n.doc[b]++,e[T].value=ys(t),e[T].dirtyValue=!0,e[T].userEdited=!0}}function clearUIValue(e){let t=implOf(e);if(t.tag===o.input){let e=t.node;e[T].uiValue=null,e[T].badInput=!1}}function getUISelection(e){let t=implOf(e).node,n=getUIValue(e).length;return{start:Math.min(t[T].selStart,n),end:Math.min(t[T].selEnd,n),direction:t[T].selDir}}function setUISelection(e,t,n=t,r=`none`){let i=implOf(e);if(i.tag!==o.input&&i.tag!==o.textarea)return;let a=i.node,s=getUIValue(e).length,c=Math.max(0,Math.min(t,n)),l=Math.max(t,n);l>s&&(l=s),c>l&&(c=l),a[T].selStart=c,a[T].selEnd=l,a[T].selDir=r}function setFilesFromUI(e,t){let n=implOf(e);n.tag===o.input&&d(n)===17&&(n.doc[b]++,n.node[T].files=L(t))}function setOptionSelectedFromUI(e,t){let n=implOf(e);if(n.tag!==o.option)return;let r=n.node;r._setSelectedness(t),r[z]=!0;let i=Xa(n);if(i!==null){let e=i.node;t&&e._deselectOthers(n),e._updateSelectedContent()}}function setCheckedFromUI(e,t){let n=implOf(e);n.tag===o.input&&n.node._setCheckedness(t,!0)}const Zs=k.prototype.getComputedStyle;let Z=null,Q=null,$=null;function getComputedStyleOverride(e){let t=e.doc.defaultView;if(t==null)return null;let n=t.getComputedStyle;if(n===Zs||typeof n!=`function`||He.has(n))return null;if(Q?.deref()===n&&Z?.deref()===t){let e=$.deref();if(e!==void 0)return e}let r=n.bind(t);return Z=new WeakRef(t),Q=new WeakRef(n),$=new WeakRef(r),r}export{ii as $_proto__,Ci as $aboutBase,uo as $active,ja as $assocGen,Hi as $attr,Ni as $attributes,xr as $availableToElementInternals,fs as $baseFor,Ps as $baseOverride,Br as $baseURL,Ds as $baseVersion,gn as $benign,pe as $block,bs as $blockParsed,Sn as $blockText,De as $byCtor,be as $byName,Vt as $cache,ma as $callback,l as $childNodes,ca as $childWindows,Dt as $children,Pt as $classList,Jt as $clipboard,Fe as $clonable,Ze as $closed,xt as $coll,cn as $compiled,Bs as $compiledFor,oe as $condition,Pn as $constructed,Ue as $constructingEntryList,On as $contentType,T as $control,v as $controlNamesVersion,pt as $controlsCache,yo as $controlsDoc,rt as $controlsVersion,O as $cookieJar,Jn as $cookies,ur as $css,$t as $current,e as $customElements,_i as $customValidity,Zo as $cx,Ka as $data,jo as $dataset,na as $declarative,Nr as $defaultNamespace,io as $defaultValueOverride,Ho as $delegatesFocus,Zr as $derived,Ta as $devicePixelRatio,z as $dirtiness,ci as $disabled,Di as $disallowModification,ho as $doc,Fa as $dropEffect,Ki as $ec,Li as $effectAllowed,wr as $el,gs as $elements,V as $entries,Ur as $eo,As as $error,yn as $externalFormNames,ge as $file,Cs as $files,Tn as $fill,Ae as $filter,Ce as $firingSubmissionEvents,Wt as $focused,_a as $forLabels,te as $form,da as $formAttrSeen,At as $formControlsVersion,Lt as $forms,S as $frameCallbacks,m as $frameElement,et as $frameId,x as $frameTask,dn as $frameTime,Us as $generation,le as $globalObject,Ln as $height,Ke as $history,jn as $home,Gn as $host,ze as $href,gt as $id,I as $idleCallbacks,st as $idleId,ar as $ids,D as $impl,mr as $implementation,C as $index,i as $indexed,xi as $inflight,ts as $info,Za as $innerHeight,Fo as $innerWidth,oa as $isHTML,Rr as $items,co as $keyText,Go as $kind,ti as $labels,ka as $labelsVersion,ls as $layerName,di as $list,Ai as $listenerTypesChanged,vo as $listeners,za as $localStorage,Xi as $location,zi as $lockedForReset,Er as $matches,vs as $media,Ls as $mediaQueryLists,Gr as $mode,Ms as $name,xn as $nameBlanked,ve as $nameBlankedValue,Ts as $names,Dn as $namespaces,Ne as $navigator,Te as $nodes,Kt as $onchange,ya as $options,ie as $optionsCount,pa as $optionsOnly,Mt as $optionsTail,zt as $owner,Qt as $ownerNode,g as $ownerRule,nt as $parent,Tt as $parentRule,mn as $parentWindow,Ks as $pastNames,ue as $pointerBeforeReference,Bn as $prefix,Ye as $prelude,Nn as $presentationStyle,qn as $pseudo,Ve as $queries,yt as $radios,wo as $ranges,dt as $readonly,lr as $readyState,tr as $rebuildVersion,vr as $record,sn as $records,s as $reference,mi as $result,Jo as $root,Ua as $rules,Oo as $running,j as $runningFrame,Ar as $sc,to as $screen,zo as $scrollRestoration,Jr as $scrollX,Ca as $scrollY,as as $selectedOptions,ai as $selectedness,wi as $selection,fo as $selectionEpoch,Ma as $selector,Ui as $serializable,Pi as $sessionStorage,Sr as $settled,ps as $shadowRoot,Fs as $shed,Vr as $sheet,Os as $sheets,_n as $slotAssignment,me as $so,xs as $states,Cn as $style,Oe as $styleVersion,xe as $supportsText,Ht as $systemId,ha as $target,u as $tasks,la as $templateContentsOwner,Ot as $timers,Ft as $title,Yt as $transients,f as $treeVersion,Qe as $type,St as $types,ln as $updating,Vs as $updatingSelectedContent,se as $uri,Fn as $url,We as $userActivation,kn as $userValidity,Hn as $validity,Ie as $value,b as $version,bo as $visualViewport,it as $w,nr as $whatToShow,Yn as $whenDefined,dr as $width,en as $window,t as $writeBuffer,hi as $x,Yo as $xhr,Wa as $y,ko as $z,Hr as ATTRIBUTE_NODE,hr as AttrRecord,ks as CDATA_SECTION_NODE,vn as COMMENT_NODE,$a as COMPAT,Lo as COMPAT_PROFILES,qr as DEFAULT_COMPAT,he as DOCUMENT_FRAGMENT_NODE,Ss as DOCUMENT_NODE,wn as DOCUMENT_POSITION_CONTAINED_BY,ke as DOCUMENT_POSITION_CONTAINS,Se as DOCUMENT_POSITION_DISCONNECTED,Ut as DOCUMENT_POSITION_FOLLOWING,ga as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,ee as DOCUMENT_POSITION_PRECEDING,ua as DOCUMENT_TYPE_NODE,Aa as DeclBlock,kt as ELEMENT_NODE,It as ENTITY_NODE,Xt as ENTITY_REFERENCE_NODE,Sa as EventState,J as FAILURE_CHANNEL,p as F_ADOPT_HOOK,$e as F_ARIA_ATTRS,Ct as F_ATTR_HOOK,un as F_CE_CUSTOM,Hs as F_CHILDREN_HOOK,ce as F_CHILD_LIST,In as F_CONNECTED,Ge as F_CONNECT_HOOK,An as F_CONTENTEDITABLE_ATTR,Un as F_CUSTOM,Le as F_DATA_ATTRS,mt as F_FACE,xo as F_FORM_ATTR,at as F_HAS_SHADOW,rr as F_HAS_STYLE_ATTR,Xn as F_HTML,fr as F_INERT_ATTR,tn as F_MO_REGISTERED,n as F_PARSER_FORM,yi as F_PAST_NAMES,$o as F_RANGE,Ja as F_RANGE_BELOW,No as F_RANGE_MARKS,ia as F_ROLE_ATTR,Fr as F_SHADOW_ROOT,oo as F_TABINDEX_ATTR,eo as GLOBAL_EVENT_HANDLER_EVENTS,vi as HTMLCollection,Wo as HTML_NS,Ws as INPUT_TYPE_NAMES,$r as MATHML_NS,Da as NOTATION_NODE,Ko as NodeCache,rn as NodeImpl,ct as NodeList,ss as PROCESSING_INSTRUCTION_NODE,G as SPAN_CHANNEL,ui as SVG_NS,o as T,ki as TEXT_NODE,ea as VirtualClock,jr as VirtualTimeout,Ro as WINDOW_EVENT_HANDLER_EVENTS,_o as XLINK_NS,La as XMLNS_NS,Ji as XML_NS,Wn as adoptedStyleSheetsOf,Wr as ariaAttr,js as asciiLowercase,Ia as assignManually,qi as assignedElements,Ri as assignedNodes,Tr as assignedSlot,c as attachShadowRoot,bn as attr,ei as attrAssociatedElement,Oa as attrAssociatedElements,zs as attrNode,no as canSkipZeroDelayWait,captureInterfaceBaseline,zn as childAt,_e as classTokens,clearUIValue,Yr as clockNow,R as clockStats,Mo as closest,pn as compareBoundaryPoints,xa as compatExposes,Ao as computedDisplay,ta as computedValue,Mr as computedVisibility,lt as constructEntryList,Ba as controlValue,re as createEvent,L as createFileList,Re as createLinkSheet,ro as currentStyleVersion,sr as defaultButton,rs as deferredCompatMembers,Qr as derivedCache,describeCall,describeNode,bi as dispatch,Eo as dispatchTrusted,Qo as ensureCollectionIndexGetters,or as ensureIndexGetters,nn as evaluateMediaQueryList,br as faceState,_s as findFlattenedSlottables,Is as findSlot,Qi as fireAnEvent,Or as fireSyntheticPointerEvent,Je as firstElementChild,oi as foreignImmediatesPending,fa as formOwner,ws as getAttribute,Ga as getComputedStyle,getComputedStyleOverride,es as getCurrentEvent,sa as getElementsByClassName,Et as getElementsByTagName,Nt as getElementsByTagNameNS,Ee as getEventHandler,getUISelection,getUIValue,guardInterfaceDefinitions,En as hasAttr,Vo as hasAuthorStyles,cs as hasExplicitAttrElements,Ha as hasListeners,To as hasReadonlyAttribute,hasUIValue,ri as hiddenGlobals,$n as implicitSubmission,Qn as indexGetterTable,Mn as indexOf,ra as indexedDescendantById,Zi as inputChecked,Dr as inputIndeterminate,d as inputType,Rn as inputTypeFromAttr,li as inspectNode,Ti as installClock,ye as installEventHandlers,jt as isActuallyDisabled,je as isAsciiWhitespace,Qa as isAutofilled,Io as isChecked,po as isClockTimer,Kr as isDefault,ba as isDisabled,Xr as isDisplayNone,wa as isDisplayNoneInclusive,isEditable as isEditableControl,ns as isEnabled,ds as isFACE,ni as isInRange,Kn as isInclusiveAncestor,Si as isIndeterminate,lo as isInvalid,Rt as isLabelable,Zt as isListed,P as isMutable,qe as isNumericType,Bi as isOptional,ji as isOutOfRange,yr as isPlaceholderShown,us as isReadOnly,Ns as isReadWrite,zr as isRequired,h as isResettable,gr as isSubmitButton,tt as isSubmittable,Es as isTextControl,w as isTextualType,hn as isValid,qt as isValidDoctypeName,Pe as isValidElementLocalName,Xe as isValidNamespacePrefix,os as isVisibilityHidden,wt as labeledControl,fn as labelsFor,Be as lastElementChild,fe as listOfOptions,Do as listenerCount,Na as loopTurn,r as matchMediaText,Pr as matches,hs as mediaEnvironment,vt as nextElementInTree,Co as nextElementSibling,ut as nextInTree,cr as nextSkippingChildren,Va as nodeCache,Ya as nodeGetTheParent,Gs as nodeLength,_t as notifyMutationObservers,de as optionSelected,Vi as parseDeclBlock,ft as parseFragment,fi as parseMediaQueryList,Ea as peekDerivedCache,si as pointerEvents,Ei as pointerEventsNone,we as prefixFlag,er as previousElementSibling,_r as previousInTree,mo as pseudoContent,ao as querySelector,Uo as querySelectorAll,quote,So as registerOwnerSheet,registerTestHooks,$i as removeAllEventListeners,Gt as removeAttribute,ot as removeOwnerSheet,Oi as replaceData,Ir as reportException,resetWindowBetweenFiles,A as resolveCompat,restoreInterfaces,Po as retarget,kr as reusableElement,Vn as serializeChildren,Mi as serializeIdentifier,_ as serializeNode,ir as setAdoptedStyleSheets,aa as setAssignedSlotLookup,va as setAttribute,setCheckedFromUI,Pa as setComputedColorMode,Bt as setEventHandler,setFailureSnapshot,setFilesFromUI,setNodeDescriber,an as setNotImplementedHandler,setOptionSelectedFromUI,is as setTrusted,setUISelection,setUIValue,so as setUncaughtExceptionHandler,Wi as skipIdleTime,Fi as skipZeroDelayWait,spanChannel,ne as splitOnAsciiWhitespace,go as splitText,gi as styleElementRemoved,ht as styleElementSheet,Xo as styleElementUpdated,Zn as styleSheetsOf,Gi as styledDisplay,subscribeTestFailures,supportsSelection,E as supportsSelectionType,pi as tagId,qo as tagName,testHooks,tracePromise,traceSync,tracing,Yi as trackGlobalTimers,on as treeRoot,Ii as uaDisplay,pr as unregisterOwnerSheet,bt as validateAndExtract,y as valueMode,Cr as virtualDate,ms as virtualPerformance,Me as windowHooks,F as windowInterfaces,qa as withNamedProperties};
|
|
@@ -14,3 +14,12 @@ export declare function iterableTarget(self: unknown): ArrayLike<unknown>;
|
|
|
14
14
|
* the builtin so the TypeError is V8's own.
|
|
15
15
|
*/
|
|
16
16
|
export declare const collectionForEach: (this: unknown, callback: (value: unknown, key: number, list: unknown) => void, thisArg?: unknown) => void;
|
|
17
|
+
/**
|
|
18
|
+
* A collection interface's @@iterator (`values`, https://webidl.spec.whatwg.org/#es-iterator)
|
|
19
|
+
* and @@toStringTag (its class name). With `iterable`, also the forEach/entries/keys/values
|
|
20
|
+
* members of an indexed iterable (https://webidl.spec.whatwg.org/#es-iterable).
|
|
21
|
+
*/
|
|
22
|
+
export declare function defineCollectionIterator(ctor: {
|
|
23
|
+
prototype: object;
|
|
24
|
+
name: string;
|
|
25
|
+
}, values: unknown, iterable: boolean): void;
|
|
@@ -137,6 +137,8 @@ export declare function uaDisplay(el: NodeImpl): string;
|
|
|
137
137
|
* Rules tested against every element must not use volatile pseudo-classes (:dir(),
|
|
138
138
|
* :focus-visible, ...): testing one marks the style record volatile and disables its cache.
|
|
139
139
|
* The bidi rules are applied on read instead (uaDirection).
|
|
140
|
+
* Every selector must be keyed by a type selector: computeRecord tests only the UA index's tag
|
|
141
|
+
* buckets, so an id, class, attribute-only or universal rule here would never apply.
|
|
140
142
|
*/
|
|
141
143
|
export declare const UA_CSS = "\na[href], area[href] { color: rgb(0, 0, 238); text-decoration: underline; cursor: pointer; }\nb, strong, th, h1, h2, h3, h4, h5, h6, optgroup { font-weight: bold; }\ni, em, cite, var, dfn, address { font-style: italic; }\nh1 { font-size: 2em; } h2 { font-size: 1.5em; } h3 { font-size: 1.17em; } h5 { font-size: 0.83em; } h6 { font-size: 0.67em; }\nsmall { font-size: smaller; } big { font-size: larger; }\nsub { vertical-align: sub; font-size: smaller; } sup { vertical-align: super; font-size: smaller; }\ncode, kbd, samp, tt, pre, listing, xmp, plaintext { font-family: monospace; }\npre, listing, xmp, plaintext { white-space: pre; }\ntextarea { white-space: pre-wrap; }\nu, ins { text-decoration: underline; }\ns, strike, del { text-decoration: line-through; }\nmark { background-color: yellow; color: black; }\ncenter, th, caption { text-align: center; }\ntable { box-sizing: border-box; border-spacing: 2px; border-collapse: separate; }\nbutton, select, meter, progress { box-sizing: border-box; }\nol { list-style-type: decimal; } ul, menu, dir { list-style-type: disc; }\nnobr { white-space: nowrap; }\ncolgroup[hidden], col[hidden], thead[hidden], tbody[hidden], tfoot[hidden], tr[hidden] { visibility: collapse; }\n";
|
|
142
144
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROPERTY_TABLE: readonly
|
|
1
|
+
export declare const PROPERTY_TABLE: readonly string[];
|
|
@@ -28,6 +28,8 @@ export declare class DeclBlock {
|
|
|
28
28
|
serializedFamilies: number;
|
|
29
29
|
/** Whether `serialized` has every declaration on its own, in order (no shorthand grouped). */
|
|
30
30
|
serializedPlain: boolean;
|
|
31
|
+
/** Monotonic bitmask of shorthand families ever added since `clear()`. */
|
|
32
|
+
families: number;
|
|
31
33
|
constructor();
|
|
32
34
|
get length(): number;
|
|
33
35
|
indexOf(name: string, from?: number): number;
|
|
@@ -23,7 +23,14 @@ export declare const TK_LPAREN = 21;
|
|
|
23
23
|
export declare const TK_RPAREN = 22;
|
|
24
24
|
export declare const TK_LBRACE = 23;
|
|
25
25
|
export declare const TK_RBRACE = 24;
|
|
26
|
-
|
|
26
|
+
export declare function isWhitespace(c: number): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* https://drafts.csswg.org/css-syntax-3/#ident-start-code-point, with every non-ASCII code point
|
|
29
|
+
* (UTF-16 code unit >= U+0080) as an ident code point, as browsers and jsdom still do: the spec's
|
|
30
|
+
* https://drafts.csswg.org/css-syntax-3/#non-ascii-ident-code-point ranges would make `.a×b` and
|
|
31
|
+
* `font-family: a×b` invalid (docs/deviations.md). U+0000 counts too: input preprocessing turns
|
|
32
|
+
* it into U+FFFD, and consumeName decodes it.
|
|
33
|
+
*/
|
|
27
34
|
export declare function isIdentStart(c: number): boolean;
|
|
28
35
|
/** https://drafts.csswg.org/css-syntax-3/#ident-code-point */
|
|
29
36
|
export declare function isIdentChar(c: number): boolean;
|
|
@@ -24,6 +24,8 @@ export declare function splitComponents(value: string): Comp[] | null;
|
|
|
24
24
|
export declare function significant(comps: Comp[]): Comp[];
|
|
25
25
|
/** https://drafts.csswg.org/cssom/#serialize-a-css-component-value (<number>) */
|
|
26
26
|
export declare function formatNumber(n: number): string;
|
|
27
|
+
/** `num` `unit` in px for an absolute length unit (https://drafts.csswg.org/css-values-4/#absolute-lengths), else NaN. */
|
|
28
|
+
export declare function absoluteLength(num: number, unit: string): number;
|
|
27
29
|
export declare const G_LENGTH = 1;
|
|
28
30
|
export declare const G_PERCENT = 2;
|
|
29
31
|
export declare const G_NUMBER = 4;
|
|
@@ -76,11 +78,9 @@ export declare function normalizeGradient(c: Comp): string | null;
|
|
|
76
78
|
* significant components; null when invalid. https://drafts.csswg.org/css-fonts-4/#font-family-prop
|
|
77
79
|
*/
|
|
78
80
|
export declare function serializeFamilyList(parts: Comp[]): string | null;
|
|
79
|
-
/** https://drafts.csswg.org/cssom/#serialize-a-string */
|
|
80
|
-
export declare function serializeString(s: string): string;
|
|
81
81
|
/** https://drafts.csswg.org/cssom/#serialize-a-url */
|
|
82
82
|
export declare function serializeUrl(s: string): string;
|
|
83
|
-
/** Value contains a var() reference anywhere (pending-substitution value). */
|
|
83
|
+
/** Value contains a var() / env() / attr() reference anywhere (pending-substitution value). */
|
|
84
84
|
export declare function containsVar(value: string): boolean;
|
|
85
85
|
/**
|
|
86
86
|
* Parses and normalizes a longhand value. Returns the specified-value serialization or null
|
|
@@ -9,10 +9,6 @@ export interface CheckVisibilityOptions {
|
|
|
9
9
|
}
|
|
10
10
|
/** https://drafts.csswg.org/cssom-view/#dom-element-checkvisibility */
|
|
11
11
|
export declare function checkVisibility(el: NodeImpl, options?: CheckVisibilityOptions | null): boolean;
|
|
12
|
-
export declare function getScrollTop(el: NodeImpl): number;
|
|
13
|
-
export declare function getScrollLeft(el: NodeImpl): number;
|
|
14
|
-
export declare function setScrollTop(el: NodeImpl, v: unknown): void;
|
|
15
|
-
export declare function setScrollLeft(el: NodeImpl, v: unknown): void;
|
|
16
12
|
/** scroll()/scrollTo() and scrollBy() argument handling (https://drafts.csswg.org/cssom-view/#dom-element-scroll). */
|
|
17
13
|
export declare function scrollElement(el: NodeImpl, by: boolean, x: unknown, y: unknown, argc: number): void;
|
|
18
14
|
/**
|
|
@@ -24,10 +20,6 @@ export declare function offsetParent(el: NodeImpl): NodeImpl | null;
|
|
|
24
20
|
export declare function boundingClientRect(el: NodeImpl): DOMRect;
|
|
25
21
|
/** https://drafts.csswg.org/cssom-view/#dom-element-getclientrects — one rect per box (no line fragments). */
|
|
26
22
|
export declare function clientRects(el: NodeImpl): DOMRectList;
|
|
27
|
-
/** https://drafts.csswg.org/cssom-view/#dom-element-clienttop and the client/scroll sizes after it. */
|
|
28
|
-
export declare function elementMetric(el: NodeImpl, m: number): number;
|
|
29
|
-
/** https://drafts.csswg.org/cssom-view/#dom-htmlelement-offsettop and siblings (layout positions, transforms ignored). */
|
|
30
|
-
export declare function offsetMetric(el: NodeImpl, m: number): number;
|
|
31
23
|
/**
|
|
32
24
|
* https://drafts.csswg.org/cssom-view/#dom-element-scrollintoview — with layout-lite, scrolls each
|
|
33
25
|
* scroll container ancestor (innermost first) so the element's border box is in view. The window
|
|
@@ -123,7 +123,19 @@ export declare function initializeEvent(event: Event, type: string, bubbles: boo
|
|
|
123
123
|
* The flag is what dispatch reads; the own property is what script reads.
|
|
124
124
|
*/
|
|
125
125
|
export declare function setTrusted(event: Event, trusted?: boolean): void;
|
|
126
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* https://webidl.spec.whatwg.org/#es-constants: constants live on the interface object AND its
|
|
128
|
+
* prototype. Copies an interface's constant statics (its upper-case own properties) to the
|
|
129
|
+
* prototype as read-only enumerable properties. Used by the node and range interfaces too.
|
|
130
|
+
*/
|
|
131
|
+
export declare function exposeConstants(ctor: {
|
|
132
|
+
prototype: object;
|
|
133
|
+
}): void;
|
|
134
|
+
/**
|
|
135
|
+
* @@toStringTag on the prototype (https://webidl.spec.whatwg.org/#dfn-class-string): the class
|
|
136
|
+
* name, so `Object.prototype.toString` gives `[object Name]`. Used by interfaces across the
|
|
137
|
+
* DOM, not only events.
|
|
138
|
+
*/
|
|
127
139
|
export declare function setToStringTag(ctor: {
|
|
128
140
|
prototype: object;
|
|
129
141
|
name: string;
|
|
@@ -8,3 +8,5 @@ export declare function setEventHandler(target: EventTarget, type: string, value
|
|
|
8
8
|
export type EventHandlersKind = "element" | "body" | "document" | "window";
|
|
9
9
|
/** Install the `on*` IDL attributes for an interface prototype (see the header comment). */
|
|
10
10
|
export declare function installEventHandlers(proto: object, kind: EventHandlersKind): void;
|
|
11
|
+
/** Install plain `on<type>` attributes (no target resolution), e.g. XMLHttpRequestEventTarget's and FileReader's. */
|
|
12
|
+
export declare function defineEventHandlers(proto: object, types: readonly string[]): void;
|
|
@@ -85,11 +85,13 @@ export declare class HTMLElement extends Element {
|
|
|
85
85
|
}): boolean;
|
|
86
86
|
/** https://html.spec.whatwg.org/#dom-attachinternals */
|
|
87
87
|
attachInternals(): ElementInternals;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
}
|
|
89
|
+
export interface HTMLElement {
|
|
90
|
+
readonly offsetParent: Element | null;
|
|
91
|
+
readonly offsetTop: number;
|
|
92
|
+
readonly offsetLeft: number;
|
|
93
|
+
readonly offsetWidth: number;
|
|
94
|
+
readonly offsetHeight: number;
|
|
93
95
|
}
|
|
94
96
|
/** The custom state set of an element's attached ElementInternals, if any (for `:state()`, selectors/html-predicates.ts). */
|
|
95
97
|
export declare function customStatesOf(el: Element): Set<string> | null;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { NodeImpl } from "../nodes/NodeImpl.js";
|
|
2
2
|
/** ARIAMixin's `DOMString?` attributes (ARIA 1.3 plus the tentative *Text/description ones browsers ship). */
|
|
3
3
|
export declare const ARIA_STRING_ATTRIBUTES: string;
|
|
4
|
+
/**
|
|
5
|
+
* `Element?` (many = false) and `FrozenArray<Element>?` (many = true) attributes → content
|
|
6
|
+
* attribute; ElementInternals has the same IDL attributes (HTMLElement.ts).
|
|
7
|
+
*/
|
|
8
|
+
export declare const ARIA_ELEMENT_REFS: readonly (readonly [idl: string, content: string, many: boolean])[];
|
|
4
9
|
/**
|
|
5
10
|
* https://html.spec.whatwg.org/#attr-associated-element — for `Element?` reflection.
|
|
6
11
|
*/
|
|
@@ -35,7 +35,6 @@ interface Deferred {
|
|
|
35
35
|
export interface ElementDefinitionOptions {
|
|
36
36
|
extends?: string;
|
|
37
37
|
}
|
|
38
|
-
/** https://html.spec.whatwg.org/#customelementregistry */
|
|
39
38
|
export declare class CustomElementRegistry {
|
|
40
39
|
[$byName]: Map<string, CustomElementDefinition>;
|
|
41
40
|
[$byCtor]: Map<Function, CustomElementDefinition>;
|
|
@@ -114,10 +114,6 @@ export declare class HTMLObjectElement extends HTMLElement {
|
|
|
114
114
|
get contentDocument(): null;
|
|
115
115
|
get contentWindow(): null;
|
|
116
116
|
getSVGDocument(): null;
|
|
117
|
-
get form(): Element | null;
|
|
118
|
-
_barredFromValidation(): boolean;
|
|
119
|
-
_validityFlags(): number;
|
|
120
|
-
_validationMessage(_flags: number): string;
|
|
121
117
|
}
|
|
122
118
|
export interface HTMLObjectElement extends ConstraintValidation {
|
|
123
119
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { HTMLElement } from "../HTMLElement.js";
|
|
2
|
-
import type { Document } from "../../nodes/Document.js";
|
|
3
|
-
import type { Element } from "../../nodes/Element.js";
|
|
4
2
|
import type { Event } from "../../events/Event.js";
|
|
5
|
-
import { LabelsNodeList } from "./collections.js";
|
|
3
|
+
import { type LabelsNodeList } from "./collections.js";
|
|
6
4
|
import { type ConstraintValidation, type ValidityState } from "./validation.js";
|
|
7
5
|
import { $customValidity, $labels, $validity } from "../../keys.js";
|
|
8
6
|
export declare class HTMLButtonElement extends HTMLElement {
|
|
@@ -10,13 +8,10 @@ export declare class HTMLButtonElement extends HTMLElement {
|
|
|
10
8
|
[$customValidity]?: string;
|
|
11
9
|
[$validity]?: ValidityState | null;
|
|
12
10
|
[$labels]?: LabelsNodeList | null;
|
|
13
|
-
/** @internal Use Document.createElement. */
|
|
14
|
-
constructor(doc: Document, localName: string, ns: string | null, prefix: string | null);
|
|
15
11
|
/** https://html.spec.whatwg.org/#dom-button-type */
|
|
16
12
|
get type(): string;
|
|
17
13
|
set type(value: string);
|
|
18
|
-
|
|
19
|
-
get labels(): LabelsNodeList;
|
|
14
|
+
readonly labels: LabelsNodeList;
|
|
20
15
|
/** https://html.spec.whatwg.org/#dom-fs-formaction */
|
|
21
16
|
get formAction(): string;
|
|
22
17
|
set formAction(v: string);
|
|
@@ -28,8 +23,6 @@ export declare class HTMLButtonElement extends HTMLElement {
|
|
|
28
23
|
name: string;
|
|
29
24
|
value: string;
|
|
30
25
|
_barredFromValidation(): boolean;
|
|
31
|
-
_validityFlags(): number;
|
|
32
|
-
_validationMessage(_flags: number): string;
|
|
33
26
|
get _hasActivationBehavior(): boolean;
|
|
34
27
|
_activationBehavior(_event: Event | null): void;
|
|
35
28
|
}
|
|
@@ -12,14 +12,10 @@ export declare class HTMLFieldSetElement extends HTMLElement {
|
|
|
12
12
|
/** @internal Use Document.createElement. */
|
|
13
13
|
constructor(doc: Document, localName: string, ns: string | null, prefix: string | null);
|
|
14
14
|
get type(): string;
|
|
15
|
-
get form(): Element | null;
|
|
16
15
|
/** https://html.spec.whatwg.org/#dom-fieldset-elements — listed descendants. */
|
|
17
16
|
get elements(): HTMLCollection;
|
|
18
17
|
disabled: boolean;
|
|
19
18
|
name: string;
|
|
20
|
-
_barredFromValidation(): boolean;
|
|
21
|
-
_validityFlags(): number;
|
|
22
|
-
_validationMessage(_flags: number): string;
|
|
23
19
|
}
|
|
24
20
|
export interface HTMLFieldSetElement extends ConstraintValidation {
|
|
25
21
|
}
|
|
@@ -31,6 +31,8 @@ export declare class HTMLInputElement extends HTMLElement {
|
|
|
31
31
|
set type(value: string);
|
|
32
32
|
/** The element's value (https://html.spec.whatwg.org/#concept-fe-value) for value mode "value". */
|
|
33
33
|
_currentValue(type: number): string;
|
|
34
|
+
/** https://html.spec.whatwg.org/#concept-fe-api-value — for the selection APIs, which apply in value mode only. */
|
|
35
|
+
_apiValue(): string;
|
|
34
36
|
/** https://html.spec.whatwg.org/#dom-input-value */
|
|
35
37
|
get value(): string;
|
|
36
38
|
set value(v: string);
|
|
@@ -61,20 +63,17 @@ export declare class HTMLInputElement extends HTMLElement {
|
|
|
61
63
|
stepDown(n?: number): void;
|
|
62
64
|
_stepUpOrDown(n: number, up: boolean): void;
|
|
63
65
|
_selectionLength(): number;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
set selectionDirection(value: string | null);
|
|
72
|
-
/** https://html.spec.whatwg.org/#dom-textarea/input-setselectionrange */
|
|
73
|
-
setSelectionRange(start: number, end: number, direction?: string): void;
|
|
66
|
+
/** The selection APIs apply (https://html.spec.whatwg.org/#do-not-apply). */
|
|
67
|
+
_selectable(): boolean;
|
|
68
|
+
selectionStart: number | null;
|
|
69
|
+
selectionEnd: number | null;
|
|
70
|
+
selectionDirection: string | null;
|
|
71
|
+
setSelectionRange: (start: number, end: number, direction?: string) => void;
|
|
72
|
+
setRangeText: (replacement: string, start?: number, end?: number, selectionMode?: string) => void;
|
|
74
73
|
/** https://html.spec.whatwg.org/#dom-textarea/input-select */
|
|
75
74
|
select(): void;
|
|
76
|
-
/** https://html.spec.whatwg.org/#dom-textarea/input-setrangetext */
|
|
77
|
-
|
|
75
|
+
/** The value setRangeText() stores (https://html.spec.whatwg.org/#dom-textarea/input-setrangetext). */
|
|
76
|
+
_rangeTextValue(value: string): string;
|
|
78
77
|
accept: string;
|
|
79
78
|
alt: string;
|
|
80
79
|
autocomplete: string;
|
|
@@ -116,8 +115,6 @@ export declare class HTMLInputElement extends HTMLElement {
|
|
|
116
115
|
set formAction(v: string);
|
|
117
116
|
/** https://html.spec.whatwg.org/#dom-input-list */
|
|
118
117
|
get list(): Element | null;
|
|
119
|
-
/** https://html.spec.whatwg.org/#dom-fae-form */
|
|
120
|
-
get form(): Element | null;
|
|
121
118
|
/** https://html.spec.whatwg.org/#dom-lfe-labels */
|
|
122
119
|
get labels(): LabelsNodeList | null;
|
|
123
120
|
/** https://html.spec.whatwg.org/#dom-input-showpicker — no picker UI here. */
|
|
@@ -154,25 +151,9 @@ export declare class HTMLInputElement extends HTMLElement {
|
|
|
154
151
|
}
|
|
155
152
|
export interface HTMLInputElement extends ConstraintValidation {
|
|
156
153
|
}
|
|
157
|
-
interface SelectionHost {
|
|
158
|
-
[$control]: ControlState;
|
|
159
|
-
_selectionLength(): number;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* https://html.spec.whatwg.org/#set-the-selection-range — when the selection changed, queue a
|
|
163
|
-
* task to fire a bubbling `select` event at the element.
|
|
164
|
-
*/
|
|
165
|
-
export declare function setSelection(el: SelectionHost, start: number, end: number, direction: string): void;
|
|
166
|
-
/** The setRangeText() algorithm: https://html.spec.whatwg.org/#dom-textarea/input-setrangetext */
|
|
167
|
-
export declare function rangeText(value: string, selStart: number, selEnd: number, replacement: string, startArg: number | undefined, endArg: number | undefined, modeArg: string | undefined, argc: number): {
|
|
168
|
-
value: string;
|
|
169
|
-
start: number;
|
|
170
|
-
end: number;
|
|
171
|
-
};
|
|
172
154
|
/** https://html.spec.whatwg.org/#radio-button-group */
|
|
173
155
|
export declare function inSameRadioGroup(a: NodeImpl, b: NodeImpl): boolean;
|
|
174
156
|
/** Set checkedness false on every other member of el's radio button group. */
|
|
175
157
|
export declare function uncheckOtherRadios(el: NodeImpl): NodeImpl | null;
|
|
176
158
|
/** Whether `el` (a radio) has no checked member in its group — `:indeterminate` for radios. */
|
|
177
159
|
export declare function radioGroupHasNoChecked(el: NodeImpl): boolean;
|
|
178
|
-
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { HTMLElement } from "../HTMLElement.js";
|
|
2
2
|
import type { Document } from "../../nodes/Document.js";
|
|
3
|
-
import type { Element } from "../../nodes/Element.js";
|
|
4
3
|
import { HTMLCollection } from "../../collections/HTMLCollection.js";
|
|
5
|
-
import { LabelsNodeList } from "./collections.js";
|
|
4
|
+
import { type LabelsNodeList } from "./collections.js";
|
|
6
5
|
import { type ConstraintValidation, type ValidityState } from "./validation.js";
|
|
7
6
|
import { $customValidity, $defaultValueOverride, $labels, $options, $validity } from "../../keys.js";
|
|
8
7
|
export declare class HTMLOutputElement extends HTMLElement {
|
|
@@ -17,8 +16,7 @@ export declare class HTMLOutputElement extends HTMLElement {
|
|
|
17
16
|
get type(): string;
|
|
18
17
|
htmlFor: object;
|
|
19
18
|
name: string;
|
|
20
|
-
|
|
21
|
-
get labels(): LabelsNodeList;
|
|
19
|
+
readonly labels: LabelsNodeList;
|
|
22
20
|
/** https://html.spec.whatwg.org/#dom-output-defaultvalue */
|
|
23
21
|
get defaultValue(): string;
|
|
24
22
|
set defaultValue(value: string);
|
|
@@ -27,16 +25,11 @@ export declare class HTMLOutputElement extends HTMLElement {
|
|
|
27
25
|
set value(value: string);
|
|
28
26
|
/** https://html.spec.whatwg.org/#the-output-element:concept-form-reset-control */
|
|
29
27
|
_reset(): void;
|
|
30
|
-
_barredFromValidation(): boolean;
|
|
31
|
-
_validityFlags(): number;
|
|
32
|
-
_validationMessage(_flags: number): string;
|
|
33
28
|
}
|
|
34
29
|
export interface HTMLOutputElement extends ConstraintValidation {
|
|
35
30
|
}
|
|
36
31
|
export declare class HTMLProgressElement extends HTMLElement {
|
|
37
32
|
[$labels]?: LabelsNodeList | null;
|
|
38
|
-
/** @internal Use Document.createElement. */
|
|
39
|
-
constructor(doc: Document, localName: string, ns: string | null, prefix: string | null);
|
|
40
33
|
/** https://html.spec.whatwg.org/#dom-progress-max */
|
|
41
34
|
get max(): number;
|
|
42
35
|
set max(value: number);
|
|
@@ -45,13 +38,11 @@ export declare class HTMLProgressElement extends HTMLElement {
|
|
|
45
38
|
set value(value: number);
|
|
46
39
|
/** https://html.spec.whatwg.org/#dom-progress-position — -1 when indeterminate. */
|
|
47
40
|
get position(): number;
|
|
48
|
-
|
|
41
|
+
readonly labels: LabelsNodeList;
|
|
49
42
|
}
|
|
50
43
|
/** https://html.spec.whatwg.org/#the-meter-element — the clamped values of the meter algorithm. */
|
|
51
44
|
export declare class HTMLMeterElement extends HTMLElement {
|
|
52
45
|
[$labels]?: LabelsNodeList | null;
|
|
53
|
-
/** @internal Use Document.createElement. */
|
|
54
|
-
constructor(doc: Document, localName: string, ns: string | null, prefix: string | null);
|
|
55
46
|
get min(): number;
|
|
56
47
|
set min(v: number);
|
|
57
48
|
get max(): number;
|
|
@@ -64,7 +55,7 @@ export declare class HTMLMeterElement extends HTMLElement {
|
|
|
64
55
|
set high(v: number);
|
|
65
56
|
get optimum(): number;
|
|
66
57
|
set optimum(v: number);
|
|
67
|
-
|
|
58
|
+
readonly labels: LabelsNodeList;
|
|
68
59
|
}
|
|
69
60
|
export declare class HTMLDataListElement extends HTMLElement {
|
|
70
61
|
[$options]: HTMLCollection | null;
|
|
@@ -3,7 +3,7 @@ import type { Document } from "../../nodes/Document.js";
|
|
|
3
3
|
import type { Element } from "../../nodes/Element.js";
|
|
4
4
|
import type { NodeImpl } from "../../nodes/NodeImpl.js";
|
|
5
5
|
import { HTMLCollection } from "../../collections/HTMLCollection.js";
|
|
6
|
-
import { HTMLOptionsCollection, LabelsNodeList } from "./collections.js";
|
|
6
|
+
import { HTMLOptionsCollection, type LabelsNodeList } from "./collections.js";
|
|
7
7
|
import { type ConstraintValidation, type ValidityState } from "./validation.js";
|
|
8
8
|
import { $customValidity, $labels, $options, $optionsCount, $optionsOnly, $optionsTail, $selectedOptions, $selectionEpoch, $settled, $updatingSelectedContent, $userValidity, $validity } from "../../keys.js";
|
|
9
9
|
export declare class HTMLSelectElement extends HTMLElement {
|
|
@@ -59,8 +59,7 @@ export declare class HTMLSelectElement extends HTMLElement {
|
|
|
59
59
|
/** https://html.spec.whatwg.org/#dom-select-value */
|
|
60
60
|
get value(): string;
|
|
61
61
|
set value(v: string);
|
|
62
|
-
|
|
63
|
-
get labels(): LabelsNodeList;
|
|
62
|
+
readonly labels: LabelsNodeList;
|
|
64
63
|
autocomplete: string;
|
|
65
64
|
disabled: boolean;
|
|
66
65
|
multiple: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLElement } from "../HTMLElement.js";
|
|
2
2
|
import type { Document } from "../../nodes/Document.js";
|
|
3
3
|
import type { Element } from "../../nodes/Element.js";
|
|
4
|
-
import { LabelsNodeList } from "./collections.js";
|
|
4
|
+
import { type LabelsNodeList } from "./collections.js";
|
|
5
5
|
import { type ConstraintValidation, type ValidityState } from "./validation.js";
|
|
6
6
|
import { $control, $customValidity, $labels, $userValidity, $validity } from "../../keys.js";
|
|
7
7
|
import { ControlState } from "./control-state.js";
|
|
@@ -27,8 +27,7 @@ export declare class HTMLTextAreaElement extends HTMLElement {
|
|
|
27
27
|
set value(v: string);
|
|
28
28
|
/** https://html.spec.whatwg.org/#dom-textarea-textlength */
|
|
29
29
|
get textLength(): number;
|
|
30
|
-
|
|
31
|
-
get labels(): LabelsNodeList;
|
|
30
|
+
readonly labels: LabelsNodeList;
|
|
32
31
|
autocomplete: string;
|
|
33
32
|
cols: number;
|
|
34
33
|
dirName: string;
|
|
@@ -42,15 +41,16 @@ export declare class HTMLTextAreaElement extends HTMLElement {
|
|
|
42
41
|
rows: number;
|
|
43
42
|
wrap: string;
|
|
44
43
|
_selectionLength(): number;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
/** The selection APIs always apply to a textarea. */
|
|
45
|
+
_selectable(): boolean;
|
|
46
|
+
selectionStart: number;
|
|
47
|
+
selectionEnd: number;
|
|
48
|
+
selectionDirection: string;
|
|
49
|
+
setSelectionRange: (start: number, end: number, direction?: string) => void;
|
|
50
|
+
setRangeText: (replacement: string, start?: number, end?: number, selectionMode?: string) => void;
|
|
52
51
|
select(): void;
|
|
53
|
-
|
|
52
|
+
/** The value setRangeText() stores (https://html.spec.whatwg.org/#dom-textarea/input-setrangetext). */
|
|
53
|
+
_rangeTextValue(value: string): string;
|
|
54
54
|
_isMutable(): boolean;
|
|
55
55
|
_barredFromValidation(): boolean;
|
|
56
56
|
_validityFlags(): number;
|
|
@@ -25,6 +25,11 @@ export declare class LabelsNodeList extends ComputedNodeList {
|
|
|
25
25
|
_root(): NodeImpl;
|
|
26
26
|
_compute(): Node[];
|
|
27
27
|
}
|
|
28
|
+
/** `labels` of a labelable element's interface (installDefaults), [SameObject]. */
|
|
29
|
+
export declare const labelsMember: {
|
|
30
|
+
/** https://html.spec.whatwg.org/#dom-lfe-labels */
|
|
31
|
+
readonly labels: LabelsNodeList;
|
|
32
|
+
};
|
|
28
33
|
/**
|
|
29
34
|
* The live NodeList returned by `document.getElementsByName(name)`
|
|
30
35
|
* (https://html.spec.whatwg.org/#dom-document-getelementsbyname): every HTML element in the
|
|
@@ -13,6 +13,13 @@ export declare function readPositiveUnsigned(impl: NodeImpl, name: string, def:
|
|
|
13
13
|
export declare function positiveWithFallback(C: {
|
|
14
14
|
prototype: object;
|
|
15
15
|
}, idl: string, content: string, def: number): void;
|
|
16
|
+
/**
|
|
17
|
+
* Copies the members of `members` (an object literal, so getters keep their "get x" names) onto
|
|
18
|
+
* `C.prototype` where `C` does not define its own, non-enumerable like class members.
|
|
19
|
+
*/
|
|
20
|
+
export declare function installDefaults(C: {
|
|
21
|
+
prototype: object;
|
|
22
|
+
}, members: object): void;
|
|
16
23
|
/** WebIDL `unsigned long` conversion. */
|
|
17
24
|
export declare function toUnsignedLong(value: unknown): number;
|
|
18
25
|
/**
|