@ctrl/dom 0.1.13 → 0.1.14
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/bridge/internal.js +1 -1
- package/dist/dom/_chunks/{src-BHNEJboS.js → src-BacPsCQO.js} +17 -17
- package/dist/dom/index.js +1 -1
- package/dist/dom/internal.js +1 -1
- package/dist/dom/types/collections/HTMLCollection.d.ts +13 -5
- package/dist/dom/types/html/forms/HTMLInputElement.d.ts +1 -0
- package/dist/dom/types/keys.d.ts +2 -0
- package/dist/dom/types/nodes/Document.d.ts +12 -1
- package/dist/dom/types/nodes/Element.d.ts +2 -1
- package/dist/dom/types/nodes/tree.d.ts +6 -0
- package/package.json +1 -1
package/dist/dom/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Cr as AbstractRange,hs as AnimationEvent,Wa as Attr,Zt as Audio,gs as BeforeUnloadEvent,$a as CDATASection,t as CSS,di as CSSConditionRule,fi as CSSContainerRule,pi as CSSFontFaceRule,mi as CSSGroupingRule,hi as CSSImportRule,gi as CSSKeyframeRule,_i as CSSKeyframesRule,vi as CSSLayerBlockRule,yi as CSSLayerStatementRule,bi as CSSMediaRule,xi as CSSNamespaceRule,Si as CSSNestedDeclarations,Ci as CSSPageRule,wi as CSSPropertyRule,Ti as CSSRule,Ei as CSSRuleList,Di as CSSScopeRule,Oi as CSSStartingStyleRule,Yi as CSSStyleDeclaration,ki as CSSStyleRule,Ai as CSSStyleSheet,ji as CSSSupportsRule,eo as CharacterData,cr as Clipboard,js as ClipboardEvent,lr as ClipboardItem,_s as CloseEvent,Or as CommandEvent,to as Comment,Ms as CompositionEvent,ba as CustomElementRegistry,vs as CustomEvent,Yn as CustomStateSet,hr as DOMImplementation,ja as DOMMatrix,Ma as DOMMatrixReadOnly,pr as DOMParser,Na as DOMPoint,Pa as DOMPointReadOnly,Fa as DOMRect,Ia as DOMRectList,La as DOMRectReadOnly,Ga as DOMStringMap,Ka as DOMTokenList,T as DataTransfer,E as DataTransferItem,D as DataTransferItemList,gr as Document,gr as HTMLDocument,Qa as DocumentFragment,Za as DocumentType,Ns as DragEvent,Ea as Element,Xn as ElementInternals,ys as ErrorEvent,qs as Event,rs as EventTarget,et as FileList,A as FileReader,Ps as FocusEvent,F as FormData,bs as FormDataEvent,rn as HTMLAnchorElement,in as HTMLAreaElement,Qt as HTMLAudioElement,an as HTMLBRElement,on as HTMLBaseElement,sn as HTMLBodyElement,G as HTMLButtonElement,cn as HTMLCanvasElement,io as HTMLCollection,ln as HTMLDListElement,un as HTMLDataElement,R as HTMLDataListElement,Yt as HTMLDetailsElement,Xt as HTMLDialogElement,dn as HTMLDirectoryElement,fn as HTMLDivElement,Zn as HTMLElement,pn as HTMLEmbedElement,H as HTMLFieldSetElement,mn as HTMLFontElement,ta as HTMLFormControlsCollection,L as HTMLFormElement,hn as HTMLFrameElement,gn as HTMLFrameSetElement,_n as HTMLHRElement,vn as HTMLHeadElement,yn as HTMLHeadingElement,bn as HTMLHtmlElement,xn as HTMLIFrameElement,Sn as HTMLImageElement,Q as HTMLInputElement,Cn as HTMLLIElement,W as HTMLLabelElement,U as HTMLLegendElement,Ut as HTMLLinkElement,wn as HTMLMapElement,Tn as HTMLMarqueeElement,$t as HTMLMediaElement,En as HTMLMenuElement,Dn as HTMLMetaElement,z as HTMLMeterElement,On as HTMLModElement,kn as HTMLOListElement,An as HTMLObjectElement,K as HTMLOptGroupElement,q as HTMLOptionElement,na as HTMLOptionsCollection,B as HTMLOutputElement,jn as HTMLParagraphElement,Mn as HTMLParamElement,Nn as HTMLPictureElement,Pn as HTMLPreElement,V as HTMLProgressElement,Fn as HTMLQuoteElement,Wt as HTMLScriptElement,X as HTMLSelectElement,qt as HTMLSlotElement,In as HTMLSourceElement,Ln as HTMLSpanElement,Gt as HTMLStyleElement,Rn as HTMLTableCaptionElement,zn as HTMLTableCellElement,Bn as HTMLTableColElement,Vn as HTMLTableElement,Hn as HTMLTableRowElement,Un as HTMLTableSectionElement,Jt as HTMLTemplateElement,Z as HTMLTextAreaElement,Wn as HTMLTimeElement,Kt as HTMLTitleElement,Gn as HTMLTrackElement,Kn as HTMLUListElement,qn as HTMLUnknownElement,en as HTMLVideoElement,xs as HashChangeEvent,dr as History,Jn as Image,Fs as InputEvent,O as IntersectionObserver,Is as KeyboardEvent,fr as Location,nt as MathMLElement,tn as MediaError,Mi as MediaList,oi as MediaQueryList,li as MediaQueryListEvent,Ss as MessageEvent,Ls as MouseEvent,w as MutationObserver,Io as MutationRecord,Ha as NamedNodeMap,ur as Navigator,do as Node,br as NodeFilter,xr as NodeIterator,Lo as NodeList,J as Option,Cs as PageTransitionEvent,Rs as PointerEvent,ws as PopStateEvent,no as ProcessingInstruction,Ts as ProgressEvent,Es as PromiseRejectionEvent,ra as RadioNodeList,wr as Range,k as ResizeObserver,rt as SVGAElement,it as SVGAnimatedString,at as SVGCircleElement,ot as SVGClipPathElement,st as SVGDefsElement,ct as SVGDescElement,lt as SVGElement,ut as SVGEllipseElement,dt as SVGFilterElement,ft as SVGForeignObjectElement,pt as SVGGElement,mt as SVGGeometryElement,ht as SVGGradientElement,gt as SVGGraphicsElement,_t as SVGImageElement,vt as SVGLineElement,yt as SVGLinearGradientElement,bt as SVGMarkerElement,xt as SVGMaskElement,St as SVGMetadataElement,Ct as SVGPathElement,wt as SVGPatternElement,Tt as SVGPolygonElement,Et as SVGPolylineElement,Dt as SVGRadialGradientElement,Ot as SVGRectElement,kt as SVGSVGElement,At as SVGScriptElement,jt as SVGStopElement,Mt as SVGStyleElement,Nt as SVGSwitchElement,Pt as SVGSymbolElement,Ft as SVGTSpanElement,It as SVGTextContentElement,Lt as SVGTextElement,Rt as SVGTextPathElement,zt as SVGTextPositioningElement,Bt as SVGTitleElement,Vt as SVGUseElement,Ht as SVGViewElement,or as Screen,yr as Selection,qa as ShadowRoot,Tr as StaticRange,ar as Storage,Ds as StorageEvent,Ni as StyleSheet,Pi as StyleSheetList,Os as SubmitEvent,ro as Text,zs as TextEvent,nn as TimeRanges,ks as ToggleEvent,Bs as Touch,Vs as TouchEvent,Hs as TouchList,As as TransitionEvent,Sr as TreeWalker,Us as UIEvent,ea as ValidityState,sr as VisualViewport,Ws as WheelEvent,tr as Window,_r as XMLDocument,j as XMLHttpRequest,M as XMLHttpRequestEventTarget,N as XMLHttpRequestUpload,mr as XMLSerializer,nr as createWindow,ds as currentDocument,fs as currentWindow,ps as currentWindowOrNull,Lr as getComputedStyle,P as installGlobals,ms as setCurrentWindow}from"./_chunks/src-
|
|
1
|
+
export{Cr as AbstractRange,hs as AnimationEvent,Wa as Attr,Zt as Audio,gs as BeforeUnloadEvent,$a as CDATASection,t as CSS,di as CSSConditionRule,fi as CSSContainerRule,pi as CSSFontFaceRule,mi as CSSGroupingRule,hi as CSSImportRule,gi as CSSKeyframeRule,_i as CSSKeyframesRule,vi as CSSLayerBlockRule,yi as CSSLayerStatementRule,bi as CSSMediaRule,xi as CSSNamespaceRule,Si as CSSNestedDeclarations,Ci as CSSPageRule,wi as CSSPropertyRule,Ti as CSSRule,Ei as CSSRuleList,Di as CSSScopeRule,Oi as CSSStartingStyleRule,Yi as CSSStyleDeclaration,ki as CSSStyleRule,Ai as CSSStyleSheet,ji as CSSSupportsRule,eo as CharacterData,cr as Clipboard,js as ClipboardEvent,lr as ClipboardItem,_s as CloseEvent,Or as CommandEvent,to as Comment,Ms as CompositionEvent,ba as CustomElementRegistry,vs as CustomEvent,Yn as CustomStateSet,hr as DOMImplementation,ja as DOMMatrix,Ma as DOMMatrixReadOnly,pr as DOMParser,Na as DOMPoint,Pa as DOMPointReadOnly,Fa as DOMRect,Ia as DOMRectList,La as DOMRectReadOnly,Ga as DOMStringMap,Ka as DOMTokenList,T as DataTransfer,E as DataTransferItem,D as DataTransferItemList,gr as Document,gr as HTMLDocument,Qa as DocumentFragment,Za as DocumentType,Ns as DragEvent,Ea as Element,Xn as ElementInternals,ys as ErrorEvent,qs as Event,rs as EventTarget,et as FileList,A as FileReader,Ps as FocusEvent,F as FormData,bs as FormDataEvent,rn as HTMLAnchorElement,in as HTMLAreaElement,Qt as HTMLAudioElement,an as HTMLBRElement,on as HTMLBaseElement,sn as HTMLBodyElement,G as HTMLButtonElement,cn as HTMLCanvasElement,io as HTMLCollection,ln as HTMLDListElement,un as HTMLDataElement,R as HTMLDataListElement,Yt as HTMLDetailsElement,Xt as HTMLDialogElement,dn as HTMLDirectoryElement,fn as HTMLDivElement,Zn as HTMLElement,pn as HTMLEmbedElement,H as HTMLFieldSetElement,mn as HTMLFontElement,ta as HTMLFormControlsCollection,L as HTMLFormElement,hn as HTMLFrameElement,gn as HTMLFrameSetElement,_n as HTMLHRElement,vn as HTMLHeadElement,yn as HTMLHeadingElement,bn as HTMLHtmlElement,xn as HTMLIFrameElement,Sn as HTMLImageElement,Q as HTMLInputElement,Cn as HTMLLIElement,W as HTMLLabelElement,U as HTMLLegendElement,Ut as HTMLLinkElement,wn as HTMLMapElement,Tn as HTMLMarqueeElement,$t as HTMLMediaElement,En as HTMLMenuElement,Dn as HTMLMetaElement,z as HTMLMeterElement,On as HTMLModElement,kn as HTMLOListElement,An as HTMLObjectElement,K as HTMLOptGroupElement,q as HTMLOptionElement,na as HTMLOptionsCollection,B as HTMLOutputElement,jn as HTMLParagraphElement,Mn as HTMLParamElement,Nn as HTMLPictureElement,Pn as HTMLPreElement,V as HTMLProgressElement,Fn as HTMLQuoteElement,Wt as HTMLScriptElement,X as HTMLSelectElement,qt as HTMLSlotElement,In as HTMLSourceElement,Ln as HTMLSpanElement,Gt as HTMLStyleElement,Rn as HTMLTableCaptionElement,zn as HTMLTableCellElement,Bn as HTMLTableColElement,Vn as HTMLTableElement,Hn as HTMLTableRowElement,Un as HTMLTableSectionElement,Jt as HTMLTemplateElement,Z as HTMLTextAreaElement,Wn as HTMLTimeElement,Kt as HTMLTitleElement,Gn as HTMLTrackElement,Kn as HTMLUListElement,qn as HTMLUnknownElement,en as HTMLVideoElement,xs as HashChangeEvent,dr as History,Jn as Image,Fs as InputEvent,O as IntersectionObserver,Is as KeyboardEvent,fr as Location,nt as MathMLElement,tn as MediaError,Mi as MediaList,oi as MediaQueryList,li as MediaQueryListEvent,Ss as MessageEvent,Ls as MouseEvent,w as MutationObserver,Io as MutationRecord,Ha as NamedNodeMap,ur as Navigator,do as Node,br as NodeFilter,xr as NodeIterator,Lo as NodeList,J as Option,Cs as PageTransitionEvent,Rs as PointerEvent,ws as PopStateEvent,no as ProcessingInstruction,Ts as ProgressEvent,Es as PromiseRejectionEvent,ra as RadioNodeList,wr as Range,k as ResizeObserver,rt as SVGAElement,it as SVGAnimatedString,at as SVGCircleElement,ot as SVGClipPathElement,st as SVGDefsElement,ct as SVGDescElement,lt as SVGElement,ut as SVGEllipseElement,dt as SVGFilterElement,ft as SVGForeignObjectElement,pt as SVGGElement,mt as SVGGeometryElement,ht as SVGGradientElement,gt as SVGGraphicsElement,_t as SVGImageElement,vt as SVGLineElement,yt as SVGLinearGradientElement,bt as SVGMarkerElement,xt as SVGMaskElement,St as SVGMetadataElement,Ct as SVGPathElement,wt as SVGPatternElement,Tt as SVGPolygonElement,Et as SVGPolylineElement,Dt as SVGRadialGradientElement,Ot as SVGRectElement,kt as SVGSVGElement,At as SVGScriptElement,jt as SVGStopElement,Mt as SVGStyleElement,Nt as SVGSwitchElement,Pt as SVGSymbolElement,Ft as SVGTSpanElement,It as SVGTextContentElement,Lt as SVGTextElement,Rt as SVGTextPathElement,zt as SVGTextPositioningElement,Bt as SVGTitleElement,Vt as SVGUseElement,Ht as SVGViewElement,or as Screen,yr as Selection,qa as ShadowRoot,Tr as StaticRange,ar as Storage,Ds as StorageEvent,Ni as StyleSheet,Pi as StyleSheetList,Os as SubmitEvent,ro as Text,zs as TextEvent,nn as TimeRanges,ks as ToggleEvent,Bs as Touch,Vs as TouchEvent,Hs as TouchList,As as TransitionEvent,Sr as TreeWalker,Us as UIEvent,ea as ValidityState,sr as VisualViewport,Ws as WheelEvent,tr as Window,_r as XMLDocument,j as XMLHttpRequest,M as XMLHttpRequestEventTarget,N as XMLHttpRequestUpload,mr as XMLSerializer,nr as createWindow,ds as currentDocument,fs as currentWindow,ps as currentWindowOrNull,Lr as getComputedStyle,P as installGlobals,ms as setCurrentWindow}from"./_chunks/src-BacPsCQO.js";
|
package/dist/dom/internal.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,$c as t,$d as n,$i as r,$l as i,$n as a,$o as o,$r as s,$s as c,$u as ee,Aa as te,Ac as ne,Ad as re,Af as ie,Al as ae,Ao as oe,Ar as se,Au as l,Ba as ce,Bc as le,Bd as ue,Bf as de,Bi as fe,Bl as pe,Bo as me,Br as he,Bu as ge,C as _e,Ca as ve,Cc as ye,Cd as u,Cf as be,Cl as xe,Co as Se,Cu as Ce,Da as we,Dc as Te,Dd as Ee,Df as De,Dl as Oe,Do as ke,Dr as Ae,Du as je,Ec as Me,Ed as Ne,Ef as Pe,El as d,Eo as f,Er as p,Eu as m,Fc as h,Fd as g,Ff as _,Fi as v,Fl as y,Fo as Fe,Fr as Ie,Fu as Le,Gc as Re,Gd as ze,Gf as Be,Gi as Ve,Gl as He,Go as Ue,Gr as We,Gs as Ge,Gu as Ke,Hc as qe,Hd as Je,Hf as Ye,Hi as Xe,Hl as Ze,Ho as Qe,Hr as $e,Hu as et,I as tt,Ic as nt,Id as rt,If as it,Ii as at,Il as ot,Ir as st,Iu as ct,Ja as lt,Jc as ut,Jd as dt,Ji as ft,Jl as pt,Jo as mt,Jr as ht,Js as gt,Ju as b,Kc as _t,Kd as vt,Kf as yt,Ki as bt,Kl as xt,Ko as St,Kr as Ct,Ks as wt,Ku as Tt,Lc as Et,Ld as Dt,Lf as Ot,Li as kt,Ll as At,Lo as jt,Lr as Mt,Lu as Nt,Mc as Pt,Md as x,Mf as Ft,Ml as It,Mo as Lt,Mr as Rt,Mu as zt,Nc as Bt,Nd as S,Nf as Vt,Nl as C,No as Ht,Nr as Ut,Nu as Wt,Oa as Gt,Oc as Kt,Od as qt,Of as Jt,Ol as Yt,Oo as Xt,Ou as Zt,Pc as Qt,Pd as $t,Pf as en,Pl as tn,Po as nn,Pr as rn,Pu as an,Qc as on,Qd as sn,Qi as cn,Ql as ln,Qn as un,Qo as dn,Qr as fn,Qs as pn,Qu as mn,Ra as hn,Rc as gn,Rd as _n,Rf as vn,Ri as yn,Rl as bn,Ro as xn,Rr as Sn,Ru as Cn,S as wn,Sa as Tn,Sc as En,Sd as Dn,Sf as On,Sl as kn,So as An,Su as jn,Ta as Mn,Tc as Nn,Td as Pn,Tf as Fn,Tl as In,To as Ln,Tu as Rn,Ua as zn,Uc as Bn,Ud as Vn,Uf as Hn,Ui as Un,Ul as Wn,Uo as Gn,Ur as Kn,Uu as qn,Va as Jn,Vc as Yn,Vd as Xn,Vf as Zn,Vi as Qn,Vl as $n,Vo as er,Vr as tr,Vu as nr,Wc as rr,Wd as ir,Wf as ar,Wi as or,Wl as sr,Wo as cr,Wr as lr,Wu as ur,Xa as dr,Xc as fr,Xd as w,Xi as pr,Xl as mr,Xo as hr,Xr as gr,Xs as _r,Xu as vr,Y as yr,Ya as br,Yc as T,Yd as E,Yl as xr,Yo as Sr,Yr as Cr,Ys as wr,Yu as D,Zc as Tr,Zd as Er,Zi as Dr,Zl as Or,Zo as kr,Zr as Ar,Zs as jr,Zu as O,_ as Mr,_a as k,_c as Nr,_d as Pr,_f as Fr,_l as Ir,_o as Lr,_u as Rr,a as zr,aa as Br,ac as Vr,ad as Hr,af as Ur,ai as Wr,al as Gr,ao as Kr,as as qr,au as Jr,b as Yr,bc as Xr,bd as Zr,bf as Qr,bl as $r,bo as ei,bu as ti,c as ni,ca as ri,cc as ii,cd as ai,cf as oi,ci as si,cl as A,co as ci,cs as li,cu as ui,d as di,da as fi,dc as pi,dd as j,df as mi,dl as hi,du as gi,ec as _i,ed as vi,ef as yi,ei as bi,el as xi,er as Si,es as Ci,eu as wi,f as Ti,fa as Ei,fc as Di,fd as Oi,ff as ki,fl as Ai,fo as ji,fu as Mi,g as Ni,ga as Pi,gc as Fi,gd as Ii,gf as Li,gl as Ri,go as zi,gu as Bi,h as Vi,ha as Hi,hc as Ui,hd as Wi,hf as Gi,hl as Ki,ho as qi,hu as Ji,i as Yi,ia as Xi,ic as Zi,id as Qi,if as $i,ii as ea,il as ta,io as na,ir as ra,is as ia,iu as aa,jc as oa,jd as sa,jf as ca,jl as la,jo as ua,jr as da,ju as fa,ka as pa,kc as ma,kd as M,kf as ha,kl as ga,ko as _a,kr as va,ku as ya,l as ba,la as xa,lc as Sa,ld as Ca,lf as wa,ll as Ta,lo as Ea,ls as Da,lu as Oa,m as N,ma as P,mc as ka,md as Aa,mf as ja,ml as Ma,mo as Na,mu as Pa,n as Fa,nc as Ia,nd as La,nf as Ra,ni as za,nl as Ba,ns as Va,nu as Ha,o as Ua,oa as Wa,oc as Ga,od as Ka,of as qa,ol as Ja,oo as Ya,os as Xa,ou as Za,p as Qa,pa as $a,pc as eo,pd as to,pf as no,pl as ro,po as io,pu as ao,qc as F,qd as oo,qi as so,ql as co,qo as lo,qr as uo,qu as fo,r as po,rc as I,rd as mo,rf as ho,ri as go,rl as _o,rr as L,ru as vo,s as yo,sa as bo,sc as xo,sd as So,sf as Co,si as wo,sl as To,so as Eo,ss as Do,su as Oo,tc as ko,td as Ao,tf as jo,ti as Mo,tl as No,tr as R,ts as Po,tt as z,tu as Fo,u as Io,ua as Lo,uc as Ro,ud as zo,uf as Bo,ui as Vo,ul as Ho,uo as Uo,us as Wo,uu as Go,v as Ko,va as B,vc as qo,vd as Jo,vf as Yo,vl as Xo,vo as Zo,vr as Qo,vu as $o,wa as es,wc as ts,wd as ns,wf as rs,wl as is,wo as as,wu as os,x as ss,xa as cs,xc as ls,xd as us,xf as ds,xl as fs,xo as V,xu as ps,y as ms,ya as H,yc as hs,yd as gs,yf as _s,yl as vs,yo as ys,yu as bs,za as xs,zc as Ss,zd as Cs,zf as ws,zi as Ts,zl as Es,zo as Ds,zr as Os,zu as ks}from"./_chunks/src-BHNEJboS.js";import{constants as As,createContext as js,runInContext as Ms}from"node:vm";import*as U from"node:diagnostics_channel";let W=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(R.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 G=null;function captureInterfaceBaseline(){if(W===null){W=[],G=/* @__PURE__ */ new WeakSet;for(let e of targets())W.push(snapshot(e)),G.add(e);ownObjectCreateMaps()}}let Ns=null;function ownObjectCreateMaps(){if(W===null)return;let e=Ns??=Ms(`(prototypes) => prototypes.map((p) => Object.create(p))`,js(As.DONT_CONTEXTIFY)),t=[Object.prototype];for(let e=0;e<W.length;e++){let n=W[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=G;if(t===null)return;let n=e.Object,r=e.Reflect,i=n.defineProperty,a=n.defineProperties,o=r.defineProperty,s={defineProperty(e,n,r){return i(e,n,t.has(e)?configurableDescriptor(r):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(W===null)return 0;let e=0;for(let t=0;t<W.length;t++){let n=W[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 K=`ctrl-dom:span`,q=typeof U.tracingChannel==`function`?U.tracingChannel(K):null;function spanChannel(){return q}function tracing(){return q!==null&&q.hasSubscribers}function traceSync(e,t,n){let r={op:e,description:t,data:{},async:!1},i=E();return q.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=E();return q.tracePromise(e=>n(e).finally(()=>recordSkipped(e,i)),r,void 0,r)}function recordSkipped(e,t){let n=E()-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[C]!==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 J=null;function setNodeDescriber(e){J=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(J!==null)try{let t=J(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 Y=`sentry-tests:failure`;let X=null;function setFailureSnapshot(e){X=e}function subscribeTestFailures(e){let t=U.channel(Y),onFailure=t=>{let n=t,r=e();if(r==null||n.document!==r)return;let i=w();if(i!==null&&(n.contexts.clock={skipped_ms:Math.round(i.skippedMs),pending_timers:i.pendingTimers}),X!==null&&r.body!=null)try{n.attachments.push({filename:`accessibility-snapshot.txt`,contentType:`text/plain`,data:X(r.body)})}catch{}};return t.subscribe(onFailure),()=>t.unsubscribe(onFailure)}function implOf(e){return e[C]??e}function isTypingType(e){return k(e)||e===12||e>=7&&e<=11}function isEditable(e){let t=implOf(e);return t.tag===V.input?isTypingType(P(t))&&N(t):t.tag===V.textarea?N(t):rn(t)}function supportsSelection(e){let t=implOf(e);return t.tag===V.textarea||t.tag===V.input&&B(P(t))}function hasUIValue(e){let t=implOf(e);return t.tag===V.textarea||t.tag===V.input&&H(P(t))===0}function getUIValue(e){let t=implOf(e);if(t.tag===V.input){let e=t.node;return e[u]??e.value}return t.tag===V.textarea?t.node.value:``}function setUIValue(t,n){let r=implOf(t);if(r.tag===V.input){let t=r.node,i=P(r);if(H(i)!==0)return;let a=e(i,n,r);r.doc[S]++,t[x]=a,t[T]=!0,t[M]=!0,t[u]=a===n?null:n,t[I]=a===``&&n!==``&&i!==5&&!k(i);let o=n.length;t[O]>o&&(t[O]=o),t[D]>o&&(t[D]=o)}else if(r.tag===V.textarea){let e=r.node;r.doc[S]++,e[l]=n,e[T]=!0,e[M]=!0}}function clearUIValue(e){let t=implOf(e);if(t.tag===V.input){let e=t.node;e[u]=null,e[I]=!1}}function getUISelection(e){let t=implOf(e).node,n=getUIValue(e).length;return{start:Math.min(t[O],n),end:Math.min(t[D],n),direction:t[b]}}function setUISelection(e,t,n=t,r=`none`){let i=implOf(e);if(i.tag!==V.input&&i.tag!==V.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[O]=s,a[D]=c,a[b]=r}function setFilesFromUI(e,t){let n=implOf(e);n.tag===V.input&&P(n)===17&&(n.doc[S]++,n.node[A]=z(t))}function setOptionSelectedFromUI(e,t){let n=implOf(e);if(n.tag!==V.option)return;let r=n.node;r._setSelectedness(t),r[F]=!0;let i=yr(n);if(i!==null){let e=i.node;t&&e._deselectOthers(n),e._updateSelectedContent()}}function setCheckedFromUI(e,t){let n=implOf(e);n.tag===V.input&&n.node._setCheckedness(t,!0)}const Ps=R.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===Ps||typeof n!=`function`||tt.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{_r as $_proto__,jr as $aboutBase,pn as $active,c as $assocGen,_i as $attr,ko as $attributes,Ia as $availableToElementInternals,I as $badInput,Zi as $baseFor,Vr as $baseOverride,Ga as $baseURL,xo as $baseVersion,ii as $block,Sa as $byCtor,Ro as $byName,pi as $cache,Di as $callback,eo as $checked,ka as $checkedSet,Ui as $childNodes,Fi as $childWindows,Nr as $children,qo as $classList,hs as $clipboard,Xr as $clonable,ls as $closed,En as $coll,ye as $compiled,ts as $compiledFor,Nn as $condition,Me as $constructed,Te as $constructingEntryList,Kt as $contentType,ma as $controlsCache,ne as $controlsDoc,oa as $controlsVersion,Pt as $cookieJar,Bt as $cookies,Qt as $css,h as $current,nt as $customElements,Et as $customValidity,gn as $cx,Ss as $data,le as $dataset,Yn as $declarative,qe as $defaultNamespace,Bn as $defaultValueOverride,rr as $delegatesFocus,Re as $derived,_t as $devicePixelRatio,F as $dirtiness,ut as $dirtyChecked,T as $dirtyValue,fr as $disabled,Tr as $disallowModification,on as $doc,t as $dropEffect,xi as $ec,No as $effectAllowed,Ba as $el,_o as $elements,ta as $entries,Gr as $eo,Ja as $error,To as $file,A as $files,Ta as $fill,Ho as $filter,hi as $firingSubmissionEvents,Ai as $focused,ro as $forLabels,Ma as $form,Ki as $forms,Ri as $frameCallbacks,Ir as $frameElement,Xo as $frameId,vs as $frameTask,$r as $frameTime,fs as $generation,kn as $globalObject,xe as $hasTransients,is as $height,In as $history,d as $home,Oe as $host,Yt as $href,ga as $id,ae as $idleCallbacks,la as $idleId,It as $ids,C as $impl,tn as $implementation,y as $indeterminate,ot as $index,At as $indexed,bn as $inflight,Es as $info,pe as $innerHeight,$n as $innerWidth,Ze as $is2D,Wn as $isHTML,sr as $items,He as $keyText,xt as $kind,co as $labels,pt as $layerName,xr as $list,mr as $listeners,Or as $localStorage,ln as $location,i as $lockedForReset,wi as $m,Fo as $matches,Ha as $media,vo as $mediaQueryLists,aa as $mode,Jr as $name,Za as $names,Oo as $namespaces,ui as $navigator,Oa as $nodes,Go as $onchange,gi as $options,Mi as $owner,ao as $ownerNode,Pa as $ownerRule,Ji as $parent,Bi as $parentRule,Rr as $parentWindow,$o as $pastNames,bs as $pointerBeforeReference,ti as $preApplied,ps as $preChecked,jn as $preCheckedRadio,Ce as $preIndeterminate,os as $prefix,Rn as $prelude,m as $presentationStyle,je as $pseudo,Zt as $queries,ya as $ranges,l as $rawValue,fa as $readonly,zt as $readyState,Wt as $rebuildVersion,an as $record,Le as $records,ct as $rects,Nt as $reference,Cn as $result,ks as $root,ge as $rules,nr as $running,et as $runningFrame,qn as $sc,ur as $screen,Ke as $scrollRestoration,Tt as $scrollX,fo as $scrollY,b as $selDir,D as $selEnd,vr as $selSet,O as $selStart,mn as $selectedOptions,ee as $selectedness,vi as $selection,Ao as $selector,La as $serializable,mo as $sessionStorage,Qi as $settled,Hr as $shadowRoot,Ka as $shed,So as $sheet,ai as $sheets,Ca as $slotAssignment,zo as $so,j as $states,Oi as $style,to as $styleVersion,Aa as $supportsText,Wi as $systemId,Ii as $target,Pr as $targets,Jo as $tasks,gs as $timers,Zr as $title,us as $type,Dn as $types,u as $uiValue,ns as $updating,Pn as $updatingSelectedContent,Ne as $uri,Ee as $url,qt as $userActivation,M as $userEdited,re as $userValidity,sa as $validity,x as $value,S as $version,$t as $visualViewport,g as $w,rt as $whatToShow,Dt as $whenDefined,_n as $width,Cs as $window,ue as $writeBuffer,Xn as $x,Je as $xhr,Vn as $y,ir as $z,$i as ATTRIBUTE_NODE,Po as AttrRecord,Ur as CDATA_SECTION_NODE,qa as COMMENT_NODE,Xe as COMPAT,Un as COMPAT_PROFILES,or as DEFAULT_COMPAT,Co as DOCUMENT_FRAGMENT_NODE,oi as DOCUMENT_NODE,wa as DOCUMENT_POSITION_CONTAINED_BY,Bo as DOCUMENT_POSITION_CONTAINS,mi as DOCUMENT_POSITION_DISCONNECTED,ki as DOCUMENT_POSITION_FOLLOWING,no as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,ja as DOCUMENT_POSITION_PRECEDING,Gi as DOCUMENT_TYPE_NODE,pr as DeclBlock,Li as ELEMENT_NODE,Fr as ENTITY_NODE,Yo as ENTITY_REFERENCE_NODE,gt as EventState,Y as FAILURE_CHANNEL,_s as F_ADOPT_HOOK,Qr as F_ARIA_ATTRS,ds as F_ATTR_HOOK,On as F_CE_CUSTOM,be as F_CHILDREN_HOOK,rs as F_CHILD_LIST,Fn as F_CONNECTED,Pe as F_CONNECT_HOOK,De as F_CONTENTEDITABLE_ATTR,Jt as F_CUSTOM,ha as F_DATA_ATTRS,ie as F_FACE,ca as F_HAS_SHADOW,Ft as F_HAS_STYLE_ATTR,Vt as F_HTML,en as F_INERT_ATTR,_ as F_MO_REGISTERED,it as F_SHADOW_ROOT,Ot as F_TABINDEX_ATTR,cs as GLOBAL_EVENT_HANDLER_EVENTS,na as HTMLCollection,vn as HTML_NS,$a as INPUT_TYPE_NAMES,ws as MATHML_NS,de as NOTATION_NODE,kt as NodeCache,Va as NodeImpl,jt as NodeList,Zn as PROCESSING_INSTRUCTION_NODE,K as SPAN_CHANNEL,Ye as SVG_NS,V as T,Hn as TEXT_NODE,ze as VirtualClock,vt as VirtualTimeout,Tn as WINDOW_EVENT_HANDLER_EVENTS,ar as XLINK_NS,Be as XMLNS_NS,yt as XML_NS,fn as adoptedStyleSheetsOf,as as ariaAttr,Ln as asciiLowercase,qi as assignManually,zi as assignedElements,Lr as assignedNodes,Zo as assignedSlot,we as attachShadowRoot,f as attr,un as attrAssociatedElement,a as attrAssociatedElements,zn as attrNode,oo as canSkipZeroDelayWait,captureInterfaceBaseline,Qe as childAt,ke as classTokens,clearUIValue,dt as clockNow,w as clockStats,Eo as closest,p as compareBoundaryPoints,Gn as compareTreeOrder,Ve as compatExposes,Sn as computedDisplay,Os as computedValue,he as computedVisibility,va as constructEntryList,Fa as controlValue,Qo as createEvent,z as createFileList,s as createLinkSheet,tr as currentStyleVersion,se as defaultButton,bt as deferredCompatMembers,me as derivedCache,describeCall,describeNode,ia as dispatch,Ts as dispatchTrusted,Kr as ensureCollectionIndexGetters,xn as ensureIndexGetters,wo as evaluateMediaQueryList,cn as faceState,ys as findFlattenedSlottables,ei as findSlot,fe as fireAnEvent,Qn as fireSyntheticPointerEvent,cr as firstElementChild,Er as foreignImmediatesPending,Br as formOwner,Xt as getAttribute,Mt as getComputedStyle,getComputedStyleOverride,qr as getCurrentEvent,Gt as getElementsByClassName,pa as getElementsByTagName,te as getElementsByTagNameNS,ve as getEventHandler,getUISelection,getUIValue,guardInterfaceDefinitions,_a as hasAttr,$e as hasAuthorStyles,Si as hasExplicitAttrElements,Ge as hasListeners,po as hasReadonlyAttribute,hasUIValue,so as hiddenGlobals,da as implicitSubmission,Ds as indexGetterTable,Ue as indexOf,Yi as inputChecked,zr as inputIndeterminate,P as inputType,Hi as inputTypeFromAttr,ji as inspectNode,sn as installClock,es as installEventHandlers,Wa as isActuallyDisabled,oe as isAsciiWhitespace,Ua as isAutofilled,yo as isChecked,n as isClockTimer,ni as isDefault,ba as isDisabled,Kn as isDisplayNone,lr as isDisplayNoneInclusive,isEditable as isEditableControl,Io as isEnabled,r as isFACE,di as isInRange,St as isInclusiveAncestor,Ti as isIndeterminate,Qa as isInvalid,bo as isLabelable,ri as isListed,N as isMutable,Pi as isNumericType,Vi as isOptional,Ni as isOutOfRange,Mr as isPlaceholderShown,Ko as isReadOnly,ms as isReadWrite,Yr as isRequired,xa as isResettable,Rt as isSubmitButton,Lo as isSubmittable,ss as isTextControl,k as isTextualType,wn as isValid,hn as isValidDoctypeName,xs as isValidElementLocalName,ce as isValidNamespacePrefix,We as isVisibilityHidden,fi as labeledControl,Ei as labelsFor,lo as lastElementChild,Xi as listOfOptions,v as matchMediaText,ci as matches,si as mediaEnvironment,mt as nextElementInTree,Sr as nextElementSibling,hr as nextInTree,kr as nextSkippingChildren,yn as nodeCache,Xa as nodeGetTheParent,Ae as nodeLength,Fe as notifyMutationObservers,_e as optionSelected,Dr as parseDeclBlock,dr as parseFragment,at as parseMediaQueryList,er as peekDerivedCache,Ct as pointerEvents,uo as pointerEventsNone,ua as prefixFlag,dn as previousElementSibling,o as previousInTree,ht as pseudoContent,Ea as querySelector,Uo as querySelectorAll,quote,Mo as registerOwnerSheet,wt as removeAllEventListeners,Lt as removeAttribute,za as removeOwnerSheet,io as replaceData,Da as reportException,ft as resolveCompat,restoreInterfaces,Do as retarget,lt as serializeChildren,br as serializeNode,go as setAdoptedStyleSheets,li as setAssignedSlotLookup,Ht as setAttribute,setCheckedFromUI,Cr as setComputedColorMode,Mn as setEventHandler,setFailureSnapshot,setFilesFromUI,setNodeDescriber,Ut as setNotImplementedHandler,setOptionSelectedFromUI,wr as setTrusted,setUISelection,setUIValue,Wo as setUncaughtExceptionHandler,yi as skipIdleTime,jo as skipZeroDelayWait,spanChannel,nn as splitOnAsciiWhitespace,Na as splitText,Ie as styleElementRemoved,bi as styleElementSheet,st as styleElementUpdated,ea as styleSheetsOf,gr as styledDisplay,subscribeTestFailures,supportsSelection,B as supportsSelectionType,An as tagId,Se as tagName,tracePromise,traceSync,tracing,ra as trackGlobalTimers,Ci as treeRoot,Ar as uaDisplay,Wr as unregisterOwnerSheet,Jn as validateAndExtract,H as valueMode,Ra as virtualDate,ho as virtualPerformance,Vo as windowHooks,L as windowInterfaces,Ya as withNamedProperties};
|
|
1
|
+
import{$ as e,$c as t,$d as n,$i as r,$l as i,$n as a,$o as o,$r as s,$s as c,$u as l,Aa as ee,Ac as te,Ad as ne,Af as re,Al as ie,Ao as ae,Ar as oe,Au as se,Ba as ce,Bc as le,Bd as ue,Bf as de,Bi as fe,Bl as pe,Bo as me,Br as he,Bu as ge,C as _e,Ca as ve,Cc as ye,Cd as be,Cf as xe,Cl as Se,Co as Ce,Cu as we,Da as Te,Dc as Ee,Dd as De,Df as Oe,Dl as ke,Do as Ae,Dr as je,Du as Me,Ec as Ne,Ed as Pe,Ef as Fe,El as u,Eo as d,Er as f,Eu as p,Fc as m,Fd as h,Ff as g,Fi as _,Fl as v,Fo as Ie,Fr as Le,Fu as Re,Gc as ze,Gd as Be,Gf as Ve,Gi as He,Gl as Ue,Go as We,Gr as Ge,Gs as Ke,Gu as qe,Hc as Je,Hd as Ye,Hf as Xe,Hi as Ze,Hl as Qe,Ho as $e,Hr as et,Hu as tt,I as nt,Ic as rt,Id as it,If as at,Ii as ot,Il as st,Ir as ct,Iu as lt,Ja as ut,Jc as dt,Jd as ft,Jf as pt,Ji as mt,Jl as ht,Jo as gt,Jr as _t,Js as vt,Ju as yt,Kc as bt,Kd as xt,Kf as St,Ki as Ct,Kl as wt,Ko as Tt,Kr as Et,Ks as Dt,Ku as Ot,Lc as kt,Ld as At,Lf as jt,Li as Mt,Ll as Nt,Lo as Pt,Lr as Ft,Lu as It,Mc as Lt,Md as Rt,Mf as zt,Ml as Bt,Mo as Vt,Mr as Ht,Mu as Ut,Nc as Wt,Nd as Gt,Nf as Kt,Nl as y,No as qt,Nr as Jt,Nu as Yt,Oa as Xt,Oc as Zt,Od as Qt,Of as $t,Ol as en,Oo as tn,Ou as nn,Pc as rn,Pd as b,Pf as an,Pl as on,Po as sn,Pr as cn,Pu as ln,Qc as un,Qd as x,Qi as dn,Ql as fn,Qn as pn,Qo as mn,Qr as hn,Qs as gn,Qu as S,Ra as _n,Rc as vn,Rd as yn,Rf as bn,Ri as xn,Rl as Sn,Ro as Cn,Rr as wn,Ru as Tn,S as En,Sa as Dn,Sc as On,Sd as kn,Sf as An,Sl as jn,So as Mn,Su as Nn,Ta as Pn,Tc as Fn,Td as C,Tf as In,Tl as Ln,To as Rn,Tu as zn,Ua as Bn,Uc as Vn,Ud as Hn,Uf as Un,Ui as Wn,Ul as Gn,Uo as Kn,Ur as qn,Uu as Jn,Va as Yn,Vc as Xn,Vd as Zn,Vf as Qn,Vi as $n,Vl as er,Vo as tr,Vr as nr,Vu as rr,Wc as ir,Wd as ar,Wf as or,Wi as sr,Wl as cr,Wo as lr,Wr as ur,Wu as dr,Xa as fr,Xc as pr,Xd as mr,Xi as hr,Xl as gr,Xo as _r,Xr as vr,Xs as yr,Xu as w,Y as br,Ya as xr,Yc as T,Yd as Sr,Yl as Cr,Yo as wr,Yr as Tr,Ys as Er,Yu as E,Zc as Dr,Zd as D,Zi as Or,Zl as kr,Zo as Ar,Zr as jr,Zs as Mr,Zu as Nr,_ as Pr,_a as O,_c as Fr,_d as Ir,_f as Lr,_l as Rr,_o as zr,_u as Br,a as Vr,aa as Hr,ac as Ur,ad as Wr,af as Gr,ai as Kr,al as qr,ao as Jr,as as Yr,au as Xr,b as Zr,bc as Qr,bd as $r,bf as ei,bl as ti,bo as ni,bu as ri,c as ii,ca as ai,cc as oi,cd as si,cf as ci,ci as li,cl as k,co as ui,cs as di,cu as fi,d as pi,da as mi,dc as A,dd as hi,df as gi,dl as _i,du as vi,ec as yi,ed as bi,ef as xi,ei as Si,el as Ci,er as wi,es as Ti,eu as Ei,f as Di,fa as Oi,fc as ki,fd as Ai,ff as ji,fl as Mi,fo as Ni,fu as Pi,g as Fi,ga as Ii,gc as Li,gd as Ri,gf as zi,gl as Bi,go as Vi,gu as Hi,h as Ui,ha as Wi,hc as Gi,hd as Ki,hf as qi,hl as Ji,ho as Yi,hu as Xi,i as Zi,ia as Qi,ic as $i,id as ea,if as ta,ii as na,il as ra,io as ia,ir as aa,is as oa,iu as sa,jc as ca,jd as j,jf as la,jl as ua,jo as da,jr as fa,ju as M,ka as pa,kc as ma,kd as ha,kf as ga,kl as _a,ko as va,kr as ya,ku as ba,l as xa,la as Sa,lc as Ca,ld as wa,lf as Ta,ll as Ea,lo as Da,ls as Oa,lu as ka,m as N,ma as P,mc as Aa,md as ja,mf as Ma,ml as Na,mo as Pa,mu as Fa,n as Ia,nc as La,nd as Ra,nf as za,ni as Ba,nl as Va,ns as Ha,nu as Ua,o as Wa,oa as Ga,oc as Ka,od as qa,of as Ja,ol as Ya,oo as Xa,os as Za,ou as Qa,p as $a,pa as eo,pc as to,pd as no,pf as ro,pl as io,po as ao,pu as oo,qc as F,qd as so,qf as co,qi as lo,ql as uo,qo as fo,qr as po,qu as mo,r as ho,rc as I,rd as go,rf as _o,ri as vo,rl as yo,rr as L,ru as bo,s as xo,sa as So,sc as Co,sd as wo,sf as To,si as Eo,sl as Do,so as Oo,ss as ko,su as Ao,tc as jo,td as Mo,tf as No,ti as Po,tl as Fo,tr as R,ts as Io,tt as z,tu as Lo,u as Ro,ua as zo,uc as Bo,ud as Vo,uf as Ho,ui as Uo,ul as Wo,uo as Go,us as Ko,uu as qo,v as Jo,va as B,vc as Yo,vd as Xo,vf as Zo,vl as Qo,vo as $o,vr as es,vu as ts,wa as ns,wc as rs,wd as is,wf as as,wl as os,wo as ss,wu as cs,x as ls,xa as us,xc as ds,xd as fs,xf as ps,xl as ms,xo as V,xu as hs,y as gs,ya as H,yc as _s,yd as vs,yf as ys,yl as bs,yo as xs,yu as Ss,za as Cs,zc as ws,zd as Ts,zf as Es,zi as Ds,zl as Os,zo as ks,zr as As,zu as js}from"./_chunks/src-BacPsCQO.js";import{constants as Ms,createContext as Ns,runInContext as Ps}from"node:vm";import*as U from"node:diagnostics_channel";let W=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(R.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 G=null;function captureInterfaceBaseline(){if(W===null){W=[],G=/* @__PURE__ */ new WeakSet;for(let e of targets())W.push(snapshot(e)),G.add(e);ownObjectCreateMaps()}}let Fs=null;function ownObjectCreateMaps(){if(W===null)return;let e=Fs??=Ps(`(prototypes) => prototypes.map((p) => Object.create(p))`,Ns(Ms.DONT_CONTEXTIFY)),t=[Object.prototype];for(let e=0;e<W.length;e++){let n=W[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=G;if(t===null)return;let n=e.Object,r=e.Reflect,i=n.defineProperty,a=n.defineProperties,o=r.defineProperty,s={defineProperty(e,n,r){return i(e,n,t.has(e)?configurableDescriptor(r):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(W===null)return 0;let e=0;for(let t=0;t<W.length;t++){let n=W[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 K=`ctrl-dom:span`,q=typeof U.tracingChannel==`function`?U.tracingChannel(K):null;function spanChannel(){return q}function tracing(){return q!==null&&q.hasSubscribers}function traceSync(e,t,n){let r={op:e,description:t,data:{},async:!1},i=D();return q.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=D();return q.tracePromise(e=>n(e).finally(()=>recordSkipped(e,i)),r,void 0,r)}function recordSkipped(e,t){let n=D()-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[y]!==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 J=null;function setNodeDescriber(e){J=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(J!==null)try{let t=J(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 Y=`sentry-tests:failure`;let X=null;function setFailureSnapshot(e){X=e}function subscribeTestFailures(e){let t=U.channel(Y),onFailure=t=>{let n=t,r=e();if(r==null||n.document!==r)return;let i=x();if(i!==null&&(n.contexts.clock={skipped_ms:Math.round(i.skippedMs),pending_timers:i.pendingTimers}),X!==null&&r.body!=null)try{n.attachments.push({filename:`accessibility-snapshot.txt`,contentType:`text/plain`,data:X(r.body)})}catch{}};return t.subscribe(onFailure),()=>t.unsubscribe(onFailure)}function implOf(e){return e[y]??e}function isTypingType(e){return O(e)||e===12||e>=7&&e<=11}function isEditable(e){let t=implOf(e);return t.tag===V.input?isTypingType(P(t))&&N(t):t.tag===V.textarea?N(t):cn(t)}function supportsSelection(e){let t=implOf(e);return t.tag===V.textarea||t.tag===V.input&&B(P(t))}function hasUIValue(e){let t=implOf(e);return t.tag===V.textarea||t.tag===V.input&&H(P(t))===0}function getUIValue(e){let t=implOf(e);if(t.tag===V.input){let e=t.node;return e[C]??e.value}return t.tag===V.textarea?t.node.value:``}function setUIValue(t,n){let r=implOf(t);if(r.tag===V.input){let t=r.node,i=P(r);if(H(i)!==0)return;let a=e(i,n,r);r.doc[h]++,t[b]=a,t[T]=!0,t[j]=!0,t[C]=a===n?null:n,t[I]=a===``&&n!==``&&i!==5&&!O(i);let o=n.length;t[S]>o&&(t[S]=o),t[w]>o&&(t[w]=o)}else if(r.tag===V.textarea){let e=r.node;r.doc[h]++,e[M]=n,e[T]=!0,e[j]=!0}}function clearUIValue(e){let t=implOf(e);if(t.tag===V.input){let e=t.node;e[C]=null,e[I]=!1}}function getUISelection(e){let t=implOf(e).node,n=getUIValue(e).length;return{start:Math.min(t[S],n),end:Math.min(t[w],n),direction:t[E]}}function setUISelection(e,t,n=t,r=`none`){let i=implOf(e);if(i.tag!==V.input&&i.tag!==V.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[S]=s,a[w]=c,a[E]=r}function setFilesFromUI(e,t){let n=implOf(e);n.tag===V.input&&P(n)===17&&(n.doc[h]++,n.node[k]=z(t))}function setOptionSelectedFromUI(e,t){let n=implOf(e);if(n.tag!==V.option)return;let r=n.node;r._setSelectedness(t),r[F]=!0;let i=br(n);if(i!==null){let e=i.node;t&&e._deselectOthers(n),e._updateSelectedContent()}}function setCheckedFromUI(e,t){let n=implOf(e);n.tag===V.input&&n.node._setCheckedness(t,!0)}const Is=R.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===Is||typeof n!=`function`||nt.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{yr as $_proto__,Mr as $aboutBase,gn as $active,c as $assocGen,yi as $attr,jo as $attributes,La as $availableToElementInternals,I as $badInput,$i as $baseFor,Ur as $baseOverride,Ka as $baseURL,Co as $baseVersion,oi as $block,Ca as $byCtor,Bo as $byName,A as $cache,ki as $callback,to as $checked,Aa as $checkedSet,Gi as $childNodes,Li as $childWindows,Fr as $children,Yo as $classList,_s as $clipboard,Qr as $clonable,ds as $closed,On as $coll,ye as $compiled,rs as $compiledFor,Fn as $condition,Ne as $constructed,Ee as $constructingEntryList,Zt as $contentType,ma as $controlsCache,te as $controlsDoc,ca as $controlsVersion,Lt as $cookieJar,Wt as $cookies,rn as $css,m as $current,rt as $customElements,kt as $customValidity,vn as $cx,ws as $data,le as $dataset,Xn as $declarative,Je as $defaultNamespace,Vn as $defaultValueOverride,ir as $delegatesFocus,ze as $derived,bt as $devicePixelRatio,F as $dirtiness,dt as $dirtyChecked,T as $dirtyValue,pr as $disabled,Dr as $disallowModification,un as $doc,t as $dropEffect,Ci as $ec,Fo as $effectAllowed,Va as $el,yo as $elements,ra as $entries,qr as $eo,Ya as $error,Do as $file,k as $files,Ea as $fill,Wo as $filter,_i as $firingSubmissionEvents,Mi as $focused,io as $forLabels,Na as $form,Ji as $forms,Bi as $frameCallbacks,Rr as $frameElement,Qo as $frameId,bs as $frameTask,ti as $frameTime,ms as $generation,jn as $globalObject,Se as $hasTransients,os as $height,Ln as $history,u as $home,ke as $host,en as $href,_a as $id,ie as $idleCallbacks,ua as $idleId,Bt as $ids,y as $impl,on as $implementation,v as $indeterminate,st as $index,Nt as $indexed,Sn as $inflight,Os as $info,pe as $innerHeight,er as $innerWidth,Qe as $is2D,Gn as $isHTML,cr as $items,Ue as $keyText,wt as $kind,uo as $labels,ht as $layerName,Cr as $list,gr as $listeners,kr as $localStorage,fn as $location,i as $lockedForReset,Ei as $m,Lo as $matches,Ua as $media,bo as $mediaQueryLists,sa as $mode,Xr as $name,Qa as $names,Ao as $namespaces,fi as $navigator,ka as $nodes,qo as $onchange,vi as $options,Pi as $owner,oo as $ownerNode,Fa as $ownerRule,Xi as $parent,Hi as $parentRule,Br as $parentWindow,ts as $pastNames,Ss as $pointerBeforeReference,ri as $preApplied,hs as $preChecked,Nn as $preCheckedRadio,we as $preIndeterminate,cs as $prefix,zn as $prelude,p as $presentationStyle,Me as $pseudo,nn as $queries,ba as $radios,se as $ranges,M as $rawValue,Ut as $readonly,Yt as $readyState,ln as $rebuildVersion,Re as $record,lt as $records,It as $rects,Tn as $reference,js as $result,ge as $root,rr as $rules,tt as $running,Jn as $runningFrame,dr as $sc,qe as $screen,Ot as $scrollRestoration,mo as $scrollX,yt as $scrollY,E as $selDir,w as $selEnd,Nr as $selSet,S as $selStart,l as $selectedOptions,bi as $selectedness,Mo as $selection,Ra as $selector,go as $serializable,ea as $sessionStorage,Wr as $settled,qa as $shadowRoot,wo as $shed,si as $sheet,wa as $sheets,Vo as $slotAssignment,hi as $so,Ai as $states,no as $style,ja as $styleVersion,Ki as $supportsText,Ri as $systemId,Ir as $target,Xo as $targets,vs as $tasks,$r as $timers,fs as $title,kn as $treeVersion,be as $type,is as $types,C as $uiValue,Pe as $updating,De as $updatingSelectedContent,Qt as $uri,ha as $url,ne as $userActivation,j as $userEdited,Rt as $userValidity,Gt as $validity,b as $value,h as $version,it as $visualViewport,At as $w,yn as $whatToShow,Ts as $whenDefined,ue as $width,Zn as $window,Ye as $writeBuffer,Hn as $x,ar as $xhr,Be as $y,xt as $z,Ja as ATTRIBUTE_NODE,Io as AttrRecord,To as CDATA_SECTION_NODE,ci as COMMENT_NODE,Ze as COMPAT,Wn as COMPAT_PROFILES,sr as DEFAULT_COMPAT,Ta as DOCUMENT_FRAGMENT_NODE,Ho as DOCUMENT_NODE,gi as DOCUMENT_POSITION_CONTAINED_BY,ji as DOCUMENT_POSITION_CONTAINS,ro as DOCUMENT_POSITION_DISCONNECTED,Ma as DOCUMENT_POSITION_FOLLOWING,qi as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,zi as DOCUMENT_POSITION_PRECEDING,Lr as DOCUMENT_TYPE_NODE,hr as DeclBlock,Zo as ELEMENT_NODE,ys as ENTITY_NODE,ei as ENTITY_REFERENCE_NODE,vt as EventState,Y as FAILURE_CHANNEL,ps as F_ADOPT_HOOK,An as F_ARIA_ATTRS,xe as F_ATTR_HOOK,as as F_CE_CUSTOM,In as F_CHILDREN_HOOK,Fe as F_CHILD_LIST,Oe as F_CONNECTED,$t as F_CONNECT_HOOK,ga as F_CONTENTEDITABLE_ATTR,re as F_CUSTOM,la as F_DATA_ATTRS,zt as F_FACE,Kt as F_HAS_SHADOW,an as F_HAS_STYLE_ATTR,g as F_HTML,at as F_INERT_ATTR,jt as F_MO_REGISTERED,bn as F_SHADOW_ROOT,Es as F_TABINDEX_ATTR,us as GLOBAL_EVENT_HANDLER_EVENTS,ia as HTMLCollection,de as HTML_NS,eo as INPUT_TYPE_NAMES,Qn as MATHML_NS,Xe as NOTATION_NODE,Mt as NodeCache,Ha as NodeImpl,Pt as NodeList,Un as PROCESSING_INSTRUCTION_NODE,K as SPAN_CHANNEL,or as SVG_NS,V as T,Ve as TEXT_NODE,so as VirtualClock,ft as VirtualTimeout,Dn as WINDOW_EVENT_HANDLER_EVENTS,St as XLINK_NS,co as XMLNS_NS,pt as XML_NS,hn as adoptedStyleSheetsOf,ss as ariaAttr,Rn as asciiLowercase,Yi as assignManually,Vi as assignedElements,zr as assignedNodes,$o as assignedSlot,Te as attachShadowRoot,d as attr,pn as attrAssociatedElement,a as attrAssociatedElements,Bn as attrNode,Sr as canSkipZeroDelayWait,captureInterfaceBaseline,$e as childAt,Ae as classTokens,clearUIValue,mr as clockNow,x as clockStats,Oo as closest,f as compareBoundaryPoints,Kn as compareTreeOrder,He as compatExposes,wn as computedDisplay,As as computedValue,he as computedVisibility,ya as constructEntryList,Ia as controlValue,es as createEvent,z as createFileList,s as createLinkSheet,nr as currentStyleVersion,oe as defaultButton,Ct as deferredCompatMembers,me as derivedCache,describeCall,describeNode,oa as dispatch,Ds as dispatchTrusted,Jr as ensureCollectionIndexGetters,Cn as ensureIndexGetters,Eo as evaluateMediaQueryList,dn as faceState,xs as findFlattenedSlottables,ni as findSlot,fe as fireAnEvent,$n as fireSyntheticPointerEvent,lr as firstElementChild,n as foreignImmediatesPending,Hr as formOwner,tn as getAttribute,Ft as getComputedStyle,getComputedStyleOverride,Yr as getCurrentEvent,Xt as getElementsByClassName,pa as getElementsByTagName,ee as getElementsByTagNameNS,ve as getEventHandler,getUISelection,getUIValue,guardInterfaceDefinitions,va as hasAttr,et as hasAuthorStyles,wi as hasExplicitAttrElements,Ke as hasListeners,ho as hasReadonlyAttribute,hasUIValue,lo as hiddenGlobals,fa as implicitSubmission,ks as indexGetterTable,We as indexOf,Zi as inputChecked,Vr as inputIndeterminate,P as inputType,Wi as inputTypeFromAttr,Ni as inspectNode,xi as installClock,ns as installEventHandlers,Ga as isActuallyDisabled,ae as isAsciiWhitespace,Wa as isAutofilled,xo as isChecked,No as isClockTimer,ii as isDefault,xa as isDisabled,qn as isDisplayNone,ur as isDisplayNoneInclusive,isEditable as isEditableControl,Ro as isEnabled,r as isFACE,pi as isInRange,Tt as isInclusiveAncestor,Di as isIndeterminate,$a as isInvalid,So as isLabelable,ai as isListed,N as isMutable,Ii as isNumericType,Ui as isOptional,Fi as isOutOfRange,Pr as isPlaceholderShown,Jo as isReadOnly,gs as isReadWrite,Zr as isRequired,Sa as isResettable,Ht as isSubmitButton,zo as isSubmittable,ls as isTextControl,O as isTextualType,En as isValid,_n as isValidDoctypeName,Cs as isValidElementLocalName,ce as isValidNamespacePrefix,Ge as isVisibilityHidden,mi as labeledControl,Oi as labelsFor,fo as lastElementChild,Qi as listOfOptions,_ as matchMediaText,ui as matches,li as mediaEnvironment,gt as nextElementInTree,wr as nextElementSibling,_r as nextInTree,Ar as nextSkippingChildren,xn as nodeCache,Za as nodeGetTheParent,je as nodeLength,Ie as notifyMutationObservers,_e as optionSelected,Or as parseDeclBlock,fr as parseFragment,ot as parseMediaQueryList,tr as peekDerivedCache,Et as pointerEvents,po as pointerEventsNone,da as prefixFlag,mn as previousElementSibling,o as previousInTree,_t as pseudoContent,Da as querySelector,Go as querySelectorAll,quote,Po as registerOwnerSheet,Dt as removeAllEventListeners,Vt as removeAttribute,Ba as removeOwnerSheet,ao as replaceData,Oa as reportException,mt as resolveCompat,restoreInterfaces,ko as retarget,ut as serializeChildren,xr as serializeNode,vo as setAdoptedStyleSheets,di as setAssignedSlotLookup,qt as setAttribute,setCheckedFromUI,Tr as setComputedColorMode,Pn as setEventHandler,setFailureSnapshot,setFilesFromUI,setNodeDescriber,Jt as setNotImplementedHandler,setOptionSelectedFromUI,Er as setTrusted,setUISelection,setUIValue,Ko as setUncaughtExceptionHandler,za as skipIdleTime,_o as skipZeroDelayWait,spanChannel,sn as splitOnAsciiWhitespace,Pa as splitText,Le as styleElementRemoved,Si as styleElementSheet,ct as styleElementUpdated,na as styleSheetsOf,vr as styledDisplay,subscribeTestFailures,supportsSelection,B as supportsSelectionType,Mn as tagId,Ce as tagName,tracePromise,traceSync,tracing,aa as trackGlobalTimers,Ti as treeRoot,jr as uaDisplay,Kr as unregisterOwnerSheet,Yn as validateAndExtract,H as valueMode,ta as virtualDate,Gr as virtualPerformance,Uo as windowHooks,L as windowInterfaces,Xa as withNamedProperties};
|
|
@@ -9,10 +9,12 @@ export declare class CollectionState {
|
|
|
9
9
|
/** true: only element children of root; false: descendants matching `filter`. */
|
|
10
10
|
childrenOnly: boolean;
|
|
11
11
|
filter: ElementFilter | null;
|
|
12
|
+
/** Members depend only on the tree and tag names: stamped with Document[$treeVersion]. */
|
|
13
|
+
structural: boolean;
|
|
12
14
|
items: Element[];
|
|
13
15
|
doc: Document | null;
|
|
14
16
|
version: number;
|
|
15
|
-
constructor(root: NodeImpl, childrenOnly: boolean, filter: ElementFilter | null);
|
|
17
|
+
constructor(root: NodeImpl, childrenOnly: boolean, filter: ElementFilter | null, structural: boolean);
|
|
16
18
|
/** nodes/derived.ts: release the (stale) members once a node was removed from the document. */
|
|
17
19
|
_dropSnapshot(): void;
|
|
18
20
|
}
|
|
@@ -21,8 +23,11 @@ export declare class HTMLCollection {
|
|
|
21
23
|
/** Free for subclasses that override `_snapshot()` (not used by the base class). */
|
|
22
24
|
[$items]: Element[] | null;
|
|
23
25
|
[$version]: number;
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
+
/**
|
|
27
|
+
* @internal Use the static factories or a subclass. `structural`: the members depend only on
|
|
28
|
+
* the tree and tag names (not attributes or state), see the module comment.
|
|
29
|
+
*/
|
|
30
|
+
constructor(root: NodeImpl, childrenOnly?: boolean, filter?: ElementFilter | null, structural?: boolean);
|
|
26
31
|
/**
|
|
27
32
|
* @internal Collection state (prototype accessor, so it is not an own property name).
|
|
28
33
|
* TODO(html): html/collection.ts and html/forms/collections.ts could read `this[$coll]`.
|
|
@@ -32,8 +37,11 @@ export declare class HTMLCollection {
|
|
|
32
37
|
get _rootImpl(): NodeImpl;
|
|
33
38
|
/** @internal Element children of `root` (ParentNode.children). */
|
|
34
39
|
static _childrenOf(root: NodeImpl): HTMLCollection;
|
|
35
|
-
/**
|
|
36
|
-
|
|
40
|
+
/**
|
|
41
|
+
* @internal Descendant elements of `root` matching `filter`, in tree order; `structural` when
|
|
42
|
+
* `filter` reads only tag names and namespaces.
|
|
43
|
+
*/
|
|
44
|
+
static _descendants(root: NodeImpl, filter: ElementFilter | null, structural: boolean): HTMLCollection;
|
|
37
45
|
/**
|
|
38
46
|
* @internal Fill `out` with the members in tree order. Subclasses override this for custom
|
|
39
47
|
* membership; it runs only when the document changed since the last snapshot.
|
|
@@ -160,6 +160,7 @@ export declare class HTMLInputElement extends HTMLElement {
|
|
|
160
160
|
_typeChange(oldType: number, newType: number): void;
|
|
161
161
|
/** Insertion steps (connected case): radio group rule on insertion. */
|
|
162
162
|
_connectedSteps(): void;
|
|
163
|
+
_disconnectedSteps(): void;
|
|
163
164
|
/** https://html.spec.whatwg.org/#the-input-element:concept-node-clone-ext */
|
|
164
165
|
_cloningSteps(copy: Element): void;
|
|
165
166
|
/**
|
package/dist/dom/types/keys.d.ts
CHANGED
|
@@ -142,6 +142,7 @@ export declare const $queries: unique symbol;
|
|
|
142
142
|
export declare const $ranges: unique symbol;
|
|
143
143
|
export declare const $rawValue: unique symbol;
|
|
144
144
|
export declare const $readonly: unique symbol;
|
|
145
|
+
export declare const $radios: unique symbol;
|
|
145
146
|
export declare const $readyState: unique symbol;
|
|
146
147
|
export declare const $rebuildVersion: unique symbol;
|
|
147
148
|
export declare const $record: unique symbol;
|
|
@@ -185,6 +186,7 @@ export declare const $targets: unique symbol;
|
|
|
185
186
|
export declare const $tasks: unique symbol;
|
|
186
187
|
export declare const $timers: unique symbol;
|
|
187
188
|
export declare const $title: unique symbol;
|
|
189
|
+
export declare const $treeVersion: unique symbol;
|
|
188
190
|
export declare const $type: unique symbol;
|
|
189
191
|
export declare const $types: unique symbol;
|
|
190
192
|
export declare const $uiValue: unique symbol;
|
|
@@ -14,12 +14,17 @@ import type { Window } from "../window/Window.js";
|
|
|
14
14
|
import type { NodeList } from "../collections/NodeList.js";
|
|
15
15
|
import type { ElementCreationOptions } from "../webidl.js";
|
|
16
16
|
import type { Event } from "../events/Event.js";
|
|
17
|
-
import { $aboutBase, $baseFor, $baseOverride, $baseURL, $baseVersion, $contentType, $css, $derived, $doc, $focused, $forLabels, $forms, $ids, $implementation, $isHTML, $mode, $ranges, $selection, $styleVersion, $url, $version, $window, $writeBuffer } from "../keys.js";
|
|
17
|
+
import { $aboutBase, $baseFor, $baseOverride, $baseURL, $baseVersion, $contentType, $css, $derived, $doc, $focused, $forLabels, $forms, $ids, $implementation, $isHTML, $mode, $radios, $ranges, $selection, $styleVersion, $treeVersion, $url, $version, $window, $writeBuffer } from "../keys.js";
|
|
18
18
|
export declare class Document extends Node {
|
|
19
19
|
/** Browsing context's window, or null for documents created via DOMImplementation / new Document(). */
|
|
20
20
|
[$window]: Window | null;
|
|
21
21
|
/** Bumped on every tree, attribute and character-data mutation of nodes owned by this document. */
|
|
22
22
|
[$version]: number;
|
|
23
|
+
/**
|
|
24
|
+
* Bumped by tree mutations only (nodes/tree.ts), not attribute, character data or form state
|
|
25
|
+
* changes: stamps live collections whose members depend only on the tree and tag names.
|
|
26
|
+
*/
|
|
27
|
+
[$treeVersion]: number;
|
|
23
28
|
/** Bumped when author style sheets change (src/css). */
|
|
24
29
|
[$styleVersion]: number;
|
|
25
30
|
/** Connected elements by id. A value is an array only when several connected elements share an id. */
|
|
@@ -51,6 +56,12 @@ export declare class Document extends Node {
|
|
|
51
56
|
* an ID without walking the tree.
|
|
52
57
|
*/
|
|
53
58
|
[$forLabels]: Map<string, NodeImpl[]> | null;
|
|
59
|
+
/**
|
|
60
|
+
* Connected radio buttons with a non-empty name, by name, each list in no particular order, or
|
|
61
|
+
* null before the first (html/forms/HTMLInputElement.ts). A radio's group is looked up here
|
|
62
|
+
* instead of walking the tree.
|
|
63
|
+
*/
|
|
64
|
+
[$radios]: Map<string, NodeImpl[]> | null;
|
|
54
65
|
/** document.forms (named-properties proxy), created on first read. */
|
|
55
66
|
[$forms]: HTMLCollection | null;
|
|
56
67
|
/** https://html.spec.whatwg.org/#concept-document-about-base-url (about:blank / about:srcdoc documents of nested browsing contexts). */
|
|
@@ -139,7 +139,8 @@ export interface Element extends ParentNode, ChildNode, NonDocumentTypeChildNode
|
|
|
139
139
|
}
|
|
140
140
|
/** https://dom.spec.whatwg.org/#concept-attach-a-shadow-root */
|
|
141
141
|
export declare function attachShadowRoot(element: Element, mode: "open" | "closed", clonable: boolean, serializable: boolean, delegatesFocus: boolean, slotAssignment: "named" | "manual"): ShadowRoot;
|
|
142
|
-
|
|
142
|
+
/** `structural`: `filter` reads only tag names and namespaces (HTMLCollection's module comment). */
|
|
143
|
+
export declare function cachedCollection(root: NodeImpl, key: string, filter: ((el: NodeImpl) => boolean) | null, structural: boolean): HTMLCollection;
|
|
143
144
|
/** https://dom.spec.whatwg.org/#concept-getelementsbytagname */
|
|
144
145
|
export declare function getElementsByTagName(root: NodeImpl, qualifiedName: string): HTMLCollection;
|
|
145
146
|
/** https://dom.spec.whatwg.org/#concept-getelementsbytagnamens */
|
|
@@ -14,6 +14,12 @@ export declare function preInsert(node: NodeImpl, parent: NodeImpl, child: NodeI
|
|
|
14
14
|
export declare function append(node: NodeImpl, parent: NodeImpl): NodeImpl;
|
|
15
15
|
/** https://dom.spec.whatwg.org/#concept-node-insert */
|
|
16
16
|
export declare function insert(node: NodeImpl, parent: NodeImpl, child: NodeImpl | null, suppressObservers: boolean): void;
|
|
17
|
+
/**
|
|
18
|
+
* For connected steps: the root of the subtree being connected. Its descendants after the current
|
|
19
|
+
* node are already in the tree but not connected yet (https://dom.spec.whatwg.org/#concept-node-insert
|
|
20
|
+
* runs each node's insertion steps with the whole subtree inserted).
|
|
21
|
+
*/
|
|
22
|
+
export declare function connectingRoot(): NodeImpl | null;
|
|
17
23
|
/**
|
|
18
24
|
* Connect the children of a document whose tree was built detached (deep `cloneNode` of a
|
|
19
25
|
* Document: https://dom.spec.whatwg.org/#concept-node-clone step 6 appends the copied children
|
package/package.json
CHANGED