Build 542549stable
Module 564004
728 characters · in no known chunkDependencies
Source Raw
function(e,t,n){"use strict";n.d(t,{U7:()=>a,jZ:()=>s});var i=n(64700);if("u">typeof HTMLTemplateElement){let e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}let r=(0,i.createContext)(!1);function s(e){if((0,i.useContext)(r))return i.createElement(i.Fragment,null,e.children);let t=i.createElement(r.Provider,{value:!0},e.children);return i.createElement("template",{"data-react-aria-hidden":!0},t)}function a(e){let t=(t,n)=>(0,i.useContext)(r)?null:e(t,n);return t.displayName=e.displayName||e.name,(0,i.forwardRef)(t)}}