1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ef73b33d-b5ba-5a82-bf92-dbe4b2d73d6f")}catch(e){}}(); 3import{o as e}from"./rolldown-runtime.DAXXjFlN.js";import{i as t}from"./vendor-extra-index.C_kV-Ubb.js";import{D as n}from"./vendor-react.8N2OehSW.js";import{p as r}from"./Icon.FA6H_IW8.js";import{S as i,f as a,m as o,o as s,t as c,w as l,y as u}from"./dom.BkXE4QRw.js";import{t as d}from"./dist.Kll2twSG.js";var f=e(n(),1);function p(e){let t=r()?.tracking?.[e];return(0,f.useCallback)((n,r)=>{t&&t({id:n,type:e,...r})},[e,t])}function m(e,t,n){let r=p(e);return(0,f.useCallback)(()=>{t&&r(t,n)},[r,t,n])}function h(e){let n=(0,f.useRef)({}),r=Object.fromEntries(Object.entries(e).reduce((e,[n,r])=>{if(r==null||n===`data-track-id`||!n.startsWith(`data-track-`))return e;let i=t(n.replace(`data-`,``));return e.push([i,r]),e},[]));return d(n.current,r)||(n.current=r),n.current}var g=new Set([`form`,`formAction`,`formEncType`,`formMethod`,`formNoValidate`,`formTarget`,`name`,`value`]);function _(e){return{elementType:e.elementType}}function v(e){return{...c(e),...s(e),"aria-disabled":e[`aria-disabled`],"aria-expanded":e[`aria-expanded`],"aria-haspopup":e[`aria-haspopup`],"aria-controls":e[`aria-controls`],"aria-pressed":e[`aria-pressed`],"aria-current":e[`aria-current`],type:e.type,preventFocusOnPress:e.preventFocusOnPress,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}}function y(e){return{...u(e),...a(e),isDisabled:e.isDisabled,children:e.children}}function b(e){return{..._(e),href:e.href,target:e.target,rel:e.rel}}function x(e){return{...y(e),...b(e),...v(e)}}function S(e,t){let n=o(e),r=l(e),a=i(e),{children:s,href:c,target:u,rel:d,elementType:f,...p}=x({...e,children:void 0}),m=b(e),h={...p,...n,...t?.isLink?m:{},...r,...a,isPending:e.isPending};if(!t?.isForm)for(let e of g)delete h[e];return h}function C(e,t){return S(e,t)}function w(e,t){return S(e,{...t,isForm:!0})}export{C as a,m as c,w as i,_ as n,p as o,y as r,h as s,v as t}; 4//# sourceMappingURL=filterAriaButtonProps.VHex7Uic.js.map 5//# debugId=ef73b33d-b5ba-5a82-bf92-dbe4b2d73d6f
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.