exportconstIS_REACT_VERSION_17_OR_ABOVE=parseInt(React.version.split('.')[0],10)>=17exportconstIS_IOS=typeofnavigator!=='undefined'&&typeofwindow!=='undefined'&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStreamexportconstIS_APPLE=typeofnavigator!=='undefined'&&/Mac OS X/.test(navigator.userAgent)exportconstIS_ANDROID=typeofnavigator!=='undefined'&&/Android/.test(navigator.userAgent)exportconstIS_FIREFOX=typeofnavigator!=='undefined'&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent)exportconstIS_SAFARI=typeofnavigator!=='undefined'&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent)// "modern" Edge was released at 79.x
exportconstIS_EDGE_LEGACY=typeofnavigator!=='undefined'&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent)exportconstIS_CHROME=typeofnavigator!=='undefined'&&/Chrome/i.test(navigator.userAgent)// Native `beforeInput` events don't work well with react on Chrome 75
// and older, Chrome 76+ can use `beforeInput` though.
exportconstIS_CHROME_LEGACY=typeofnavigator!=='undefined'&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent)// Firefox did not support `beforeInput` until `v87`.
exportconstIS_FIREFOX_LEGACY=typeofnavigator!=='undefined'&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent)// qq browser
exportconstIS_QQBROWSER=typeofnavigator!=='undefined'&&/.*QQBrowser/.test(navigator.userAgent)// UC mobile browser
exportconstIS_UC_MOBILE=typeofnavigator!=='undefined'&&/.*UCBrowser/.test(navigator.userAgent)// Wechat browser
exportconstIS_WECHATBROWSER=typeofnavigator!=='undefined'&&/.*Wechat/.test(navigator.userAgent)// Check if DOM is available as React does internally.
// https://github.com/facebook/react/blob/master/packages/shared/ExecutionEnvironment.js
exportconstCAN_USE_DOM=!!(typeofwindow!=='undefined'&&typeofwindow.document!=='undefined'&&typeofwindow.document.createElement!=='undefined')// COMPAT: Firefox/Edge Legacy don't support the `beforeinput` event
// Chrome Legacy doesn't support `beforeinput` correctly
exportconstHAS_BEFORE_INPUT_SUPPORT=!IS_CHROME_LEGACY&&!IS_EDGE_LEGACY&&// globalThis is undefined in older browsers
typeofglobalThis!=='undefined'&&globalThis.InputEvent&&// @ts-ignore The `getTargetRanges` property isn't recognized.
typeofglobalThis.InputEvent.prototype.getTargetRanges==='function'