-
Notifications
You must be signed in to change notification settings - Fork 31
/
48755.f3942c10.iframe.bundle.js
9 lines (9 loc) · 24.9 KB
/
48755.f3942c10.iframe.bundle.js
1
2
3
4
5
6
7
8
9
"use strict";(globalThis.webpackChunkmetamask_crx=globalThis.webpackChunkmetamask_crx||[]).push([[48755],{"./node_modules/@material-ui/core/esm/Slider/Slider.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>Slider_Slider});var toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),clsx_m=__webpack_require__("./node_modules/clsx/dist/clsx.m.js"),withStyles=__webpack_require__("./node_modules/@material-ui/core/esm/styles/withStyles.js"),useTheme=__webpack_require__("./node_modules/@material-ui/core/esm/styles/useTheme.js"),colorManipulator=__webpack_require__("./node_modules/@material-ui/core/esm/styles/colorManipulator.js"),useIsFocusVisible=__webpack_require__("./node_modules/@material-ui/core/esm/utils/useIsFocusVisible.js"),ownerDocument=__webpack_require__("./node_modules/@material-ui/core/esm/utils/ownerDocument.js"),useEventCallback=__webpack_require__("./node_modules/@material-ui/core/esm/utils/useEventCallback.js"),useForkRef=__webpack_require__("./node_modules/@material-ui/core/esm/utils/useForkRef.js"),capitalize=__webpack_require__("./node_modules/@material-ui/core/esm/utils/capitalize.js"),useControlled=__webpack_require__("./node_modules/@material-ui/core/esm/utils/useControlled.js");function ValueLabel(props){var children=props.children,classes=props.classes,className=props.className,open=props.open,value=props.value,valueLabelDisplay=props.valueLabelDisplay;return"off"===valueLabelDisplay?children:react.cloneElement(children,{className:(0,clsx_m.A)(children.props.className,(open||"on"===valueLabelDisplay)&&classes.open,classes.thumb)},react.createElement("span",{className:(0,clsx_m.A)(classes.offset,className)},react.createElement("span",{className:classes.circle},react.createElement("span",{className:classes.label},value))))}let Slider_ValueLabel=(0,withStyles.A)(function styles(theme){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:(0,esm_extends.A)({zIndex:1},theme.typography.body2,{fontSize:theme.typography.pxToRem(12),lineHeight:1.2,transition:theme.transitions.create(["transform"],{duration:theme.transitions.duration.shortest}),top:-34,transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:theme.palette.primary.contrastText,transform:"rotate(45deg)"}}},{name:"PrivateValueLabel"})(ValueLabel);function asc(a,b){return a-b}function clamp(value,min,max){return Math.min(Math.max(min,value),max)}function findClosest(values,currentValue){return values.reduce(function(acc,value,index){var distance=Math.abs(currentValue-value);return null===acc||distance<acc.distance||distance===acc.distance?{distance:distance,index:index}:acc},null).index}function trackFinger(event,touchId){if(void 0!==touchId.current&&event.changedTouches){for(var i=0;i<event.changedTouches.length;i+=1){var touch=event.changedTouches[i];if(touch.identifier===touchId.current)return{x:touch.clientX,y:touch.clientY}}return!1}return{x:event.clientX,y:event.clientY}}function percentToValue(percent,min,max){return(max-min)*percent+min}function getDecimalPrecision(num){if(1>Math.abs(num)){var parts=num.toExponential().split("e-"),matissaDecimalPart=parts[0].split(".")[1];return(matissaDecimalPart?matissaDecimalPart.length:0)+parseInt(parts[1],10)}var decimalPart=num.toString().split(".")[1];return decimalPart?decimalPart.length:0}function roundValueToStep(value,step,min){return Number((Math.round((value-min)/step)*step+min).toFixed(getDecimalPrecision(step)))}function setValueIndex(_ref){var values=_ref.values,source=_ref.source,newValue=_ref.newValue,index=_ref.index;if(values[index]===newValue)return source;var output=values.slice();return output[index]=newValue,output}function focusThumb(_ref2){var sliderRef=_ref2.sliderRef,activeIndex=_ref2.activeIndex,setActive=_ref2.setActive;sliderRef.current.contains(document.activeElement)&&Number(document.activeElement.getAttribute("data-index"))===activeIndex||sliderRef.current.querySelector('[role="slider"][data-index="'.concat(activeIndex,'"]')).focus(),setActive&&setActive(activeIndex)}var axisProps={horizontal:{offset:function offset(percent){return{left:"".concat(percent,"%")}},leap:function leap(percent){return{width:"".concat(percent,"%")}}},"horizontal-reverse":{offset:function offset(percent){return{right:"".concat(percent,"%")}},leap:function leap(percent){return{width:"".concat(percent,"%")}}},vertical:{offset:function offset(percent){return{bottom:"".concat(percent,"%")}},leap:function leap(percent){return{height:"".concat(percent,"%")}}}},Identity=function Identity(x){return x},Slider=react.forwardRef(function Slider(props,ref){var ariaLabel=props["aria-label"],ariaLabelledby=props["aria-labelledby"],ariaValuetext=props["aria-valuetext"],classes=props.classes,className=props.className,_props$color=props.color,color=void 0===_props$color?"primary":_props$color,_props$component=props.component,defaultValue=props.defaultValue,_props$disabled=props.disabled,disabled=void 0!==_props$disabled&&_props$disabled,getAriaLabel=props.getAriaLabel,getAriaValueText=props.getAriaValueText,_props$marks=props.marks,marksProp=void 0!==_props$marks&&_props$marks,_props$max=props.max,max=void 0===_props$max?100:_props$max,_props$min=props.min,min=void 0===_props$min?0:_props$min,name=props.name,onChange=props.onChange,onChangeCommitted=props.onChangeCommitted,onMouseDown=props.onMouseDown,_props$orientation=props.orientation,orientation=void 0===_props$orientation?"horizontal":_props$orientation,_props$scale=props.scale,scale=void 0===_props$scale?Identity:_props$scale,_props$step=props.step,step=void 0===_props$step?1:_props$step,_props$ThumbComponent=props.ThumbComponent,ThumbComponent=void 0===_props$ThumbComponent?"span":_props$ThumbComponent,_props$track=props.track,track=void 0===_props$track?"normal":_props$track,valueProp=props.value,_props$ValueLabelComp=props.ValueLabelComponent,ValueLabelComponent=void 0===_props$ValueLabelComp?Slider_ValueLabel:_props$ValueLabelComp,_props$valueLabelDisp=props.valueLabelDisplay,valueLabelDisplay=void 0===_props$valueLabelDisp?"off":_props$valueLabelDisp,_props$valueLabelForm=props.valueLabelFormat,valueLabelFormat=void 0===_props$valueLabelForm?Identity:_props$valueLabelForm,other=(0,objectWithoutProperties.A)(props,["aria-label","aria-labelledby","aria-valuetext","classes","className","color","component","defaultValue","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","ThumbComponent","track","value","ValueLabelComponent","valueLabelDisplay","valueLabelFormat"]),theme=(0,useTheme.A)(),touchId=react.useRef(),_React$useState=react.useState(-1),active=_React$useState[0],setActive=_React$useState[1],_React$useState2=react.useState(-1),open=_React$useState2[0],setOpen=_React$useState2[1],_useControlled=(0,useControlled.A)({controlled:valueProp,default:defaultValue,name:"Slider"}),_useControlled2=(0,slicedToArray.A)(_useControlled,2),valueDerived=_useControlled2[0],setValueState=_useControlled2[1],range=Array.isArray(valueDerived),values=range?valueDerived.slice().sort(asc):[valueDerived];values=values.map(function(value){return clamp(value,min,max)});var marks=!0===marksProp&&null!==step?(0,toConsumableArray.A)(Array(Math.floor((max-min)/step)+1)).map(function(_,index){return{value:min+step*index}}):marksProp||[],_useIsFocusVisible=(0,useIsFocusVisible.A)(),isFocusVisible=_useIsFocusVisible.isFocusVisible,onBlurVisible=_useIsFocusVisible.onBlurVisible,focusVisibleRef=_useIsFocusVisible.ref,_React$useState3=react.useState(-1),focusVisible=_React$useState3[0],setFocusVisible=_React$useState3[1],sliderRef=react.useRef(),handleFocusRef=(0,useForkRef.A)(focusVisibleRef,sliderRef),handleRef=(0,useForkRef.A)(ref,handleFocusRef),handleFocus=(0,useEventCallback.A)(function(event){var index=Number(event.currentTarget.getAttribute("data-index"));isFocusVisible(event)&&setFocusVisible(index),setOpen(index)}),handleBlur=(0,useEventCallback.A)(function(){-1!==focusVisible&&(setFocusVisible(-1),onBlurVisible()),setOpen(-1)}),handleMouseOver=(0,useEventCallback.A)(function(event){setOpen(Number(event.currentTarget.getAttribute("data-index")))}),handleMouseLeave=(0,useEventCallback.A)(function(){setOpen(-1)}),isRtl="rtl"===theme.direction,handleKeyDown=(0,useEventCallback.A)(function(event){var newValue,index=Number(event.currentTarget.getAttribute("data-index")),value=values[index],tenPercents=(max-min)/10,marksValues=marks.map(function(mark){return mark.value}),marksIndex=marksValues.indexOf(value);switch(event.key){case"Home":newValue=min;break;case"End":newValue=max;break;case"PageUp":step&&(newValue=value+tenPercents);break;case"PageDown":step&&(newValue=value-tenPercents);break;case isRtl?"ArrowLeft":"ArrowRight":case"ArrowUp":newValue=step?value+step:marksValues[marksIndex+1]||marksValues[marksValues.length-1];break;case isRtl?"ArrowRight":"ArrowLeft":case"ArrowDown":newValue=step?value-step:marksValues[marksIndex-1]||marksValues[0];break;default:return}if(event.preventDefault(),step&&(newValue=roundValueToStep(newValue,step,min)),newValue=clamp(newValue,min,max),range){var previousValue=newValue;focusThumb({sliderRef:sliderRef,activeIndex:(newValue=setValueIndex({values:values,source:valueDerived,newValue:newValue,index:index}).sort(asc)).indexOf(previousValue)})}setValueState(newValue),setFocusVisible(index),onChange&&onChange(event,newValue),onChangeCommitted&&onChangeCommitted(event,newValue)}),previousIndex=react.useRef(),axis=orientation;isRtl&&"vertical"!==orientation&&(axis+="-reverse");var getFingerNewValue=function getFingerNewValue(_ref3){var percent,newValue,finger=_ref3.finger,_ref3$move=_ref3.move,values2=_ref3.values,source=_ref3.source,_slider$getBoundingCl=sliderRef.current.getBoundingClientRect(),width=_slider$getBoundingCl.width,height=_slider$getBoundingCl.height,bottom=_slider$getBoundingCl.bottom,left=_slider$getBoundingCl.left;if(percent=0===axis.indexOf("vertical")?(bottom-finger.y)/height:(finger.x-left)/width,-1!==axis.indexOf("-reverse")&&(percent=1-percent),newValue=percentToValue(percent,min,max),step)newValue=roundValueToStep(newValue,step,min);else{var marksValues=marks.map(function(mark){return mark.value}),closestIndex=findClosest(marksValues,newValue);newValue=marksValues[closestIndex]}newValue=clamp(newValue,min,max);var activeIndex=0;if(range){activeIndex=void 0!==_ref3$move&&_ref3$move?previousIndex.current:findClosest(values2,newValue);var previousValue=newValue;activeIndex=(newValue=setValueIndex({values:values2,source:source,newValue:newValue,index:activeIndex}).sort(asc)).indexOf(previousValue),previousIndex.current=activeIndex}return{newValue:newValue,activeIndex:activeIndex}},handleTouchMove=(0,useEventCallback.A)(function(event){var finger=trackFinger(event,touchId);if(finger){var _getFingerNewValue=getFingerNewValue({finger:finger,move:!0,values:values,source:valueDerived}),newValue=_getFingerNewValue.newValue;focusThumb({sliderRef:sliderRef,activeIndex:_getFingerNewValue.activeIndex,setActive:setActive}),setValueState(newValue),onChange&&onChange(event,newValue)}}),handleTouchEnd=(0,useEventCallback.A)(function(event){var finger=trackFinger(event,touchId);if(finger){var newValue=getFingerNewValue({finger:finger,values:values,source:valueDerived}).newValue;setActive(-1),"touchend"===event.type&&setOpen(-1),onChangeCommitted&&onChangeCommitted(event,newValue),touchId.current=void 0;var doc=(0,ownerDocument.A)(sliderRef.current);doc.removeEventListener("mousemove",handleTouchMove),doc.removeEventListener("mouseup",handleTouchEnd),doc.removeEventListener("touchmove",handleTouchMove),doc.removeEventListener("touchend",handleTouchEnd)}}),handleTouchStart=(0,useEventCallback.A)(function(event){event.preventDefault();var touch=event.changedTouches[0];null!=touch&&(touchId.current=touch.identifier);var _getFingerNewValue3=getFingerNewValue({finger:trackFinger(event,touchId),values:values,source:valueDerived}),newValue=_getFingerNewValue3.newValue;focusThumb({sliderRef:sliderRef,activeIndex:_getFingerNewValue3.activeIndex,setActive:setActive}),setValueState(newValue),onChange&&onChange(event,newValue);var doc=(0,ownerDocument.A)(sliderRef.current);doc.addEventListener("touchmove",handleTouchMove),doc.addEventListener("touchend",handleTouchEnd)});react.useEffect(function(){var slider=sliderRef.current;slider.addEventListener("touchstart",handleTouchStart);var doc=(0,ownerDocument.A)(slider);return function(){slider.removeEventListener("touchstart",handleTouchStart),doc.removeEventListener("mousemove",handleTouchMove),doc.removeEventListener("mouseup",handleTouchEnd),doc.removeEventListener("touchmove",handleTouchMove),doc.removeEventListener("touchend",handleTouchEnd)}},[handleTouchEnd,handleTouchMove,handleTouchStart]);var handleMouseDown=(0,useEventCallback.A)(function(event){onMouseDown&&onMouseDown(event),event.preventDefault();var _getFingerNewValue4=getFingerNewValue({finger:trackFinger(event,touchId),values:values,source:valueDerived}),newValue=_getFingerNewValue4.newValue;focusThumb({sliderRef:sliderRef,activeIndex:_getFingerNewValue4.activeIndex,setActive:setActive}),setValueState(newValue),onChange&&onChange(event,newValue);var doc=(0,ownerDocument.A)(sliderRef.current);doc.addEventListener("mousemove",handleTouchMove),doc.addEventListener("mouseup",handleTouchEnd)}),trackOffset=((range?values[0]:min)-min)*100/(max-min),trackLeap=(values[values.length-1]-min)*100/(max-min)-trackOffset,trackStyle=(0,esm_extends.A)({},axisProps[axis].offset(trackOffset),axisProps[axis].leap(trackLeap));return react.createElement(void 0===_props$component?"span":_props$component,(0,esm_extends.A)({ref:handleRef,className:(0,clsx_m.A)(classes.root,classes["color".concat((0,capitalize.A)(color))],className,disabled&&classes.disabled,marks.length>0&&marks.some(function(mark){return mark.label})&&classes.marked,!1===track&&classes.trackFalse,"vertical"===orientation&&classes.vertical,"inverted"===track&&classes.trackInverted),onMouseDown:handleMouseDown},other),react.createElement("span",{className:classes.rail}),react.createElement("span",{className:classes.track,style:trackStyle}),react.createElement("input",{value:values.join(","),name:name,type:"hidden"}),marks.map(function(mark,index){var markActive,percent=(mark.value-min)*100/(max-min),style=axisProps[axis].offset(percent);return markActive=!1===track?-1!==values.indexOf(mark.value):"normal"===track&&(range?mark.value>=values[0]&&mark.value<=values[values.length-1]:mark.value<=values[0])||"inverted"===track&&(range?mark.value<=values[0]||mark.value>=values[values.length-1]:mark.value>=values[0]),react.createElement(react.Fragment,{key:mark.value},react.createElement("span",{style:style,"data-index":index,className:(0,clsx_m.A)(classes.mark,markActive&&classes.markActive)}),null!=mark.label?react.createElement("span",{"aria-hidden":!0,"data-index":index,style:style,className:(0,clsx_m.A)(classes.markLabel,markActive&&classes.markLabelActive)},mark.label):null)}),values.map(function(value,index){var percent=(value-min)*100/(max-min),style=axisProps[axis].offset(percent);return react.createElement(ValueLabelComponent,{key:index,valueLabelFormat:valueLabelFormat,valueLabelDisplay:valueLabelDisplay,className:classes.valueLabel,value:"function"==typeof valueLabelFormat?valueLabelFormat(scale(value),index):valueLabelFormat,index:index,open:open===index||active===index||"on"===valueLabelDisplay,disabled:disabled},react.createElement(ThumbComponent,{className:(0,clsx_m.A)(classes.thumb,classes["thumbColor".concat((0,capitalize.A)(color))],active===index&&classes.active,disabled&&classes.disabled,focusVisible===index&&classes.focusVisible),tabIndex:disabled?null:0,role:"slider",style:style,"data-index":index,"aria-label":getAriaLabel?getAriaLabel(index):ariaLabel,"aria-labelledby":ariaLabelledby,"aria-orientation":orientation,"aria-valuemax":scale(max),"aria-valuemin":scale(min),"aria-valuenow":scale(value),"aria-valuetext":getAriaValueText?getAriaValueText(scale(value),index):ariaValuetext,onKeyDown:handleKeyDown,onFocus:handleFocus,onBlur:handleBlur,onMouseOver:handleMouseOver,onMouseLeave:handleMouseLeave}))}))});let Slider_Slider=(0,withStyles.A)(function styles(theme){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"13px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:theme.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:theme.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 13px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}},"@media print":{colorAdjust:"exact"}},colorPrimary:{},colorSecondary:{color:theme.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===theme.palette.type?(0,colorManipulator.a)(theme.palette.primary.main,.62):(0,colorManipulator.e$)(theme.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:theme.transitions.create(["box-shadow"],{duration:theme.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",left:-15,top:-15,right:-15,bottom:-15},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat((0,colorManipulator.Rv)(theme.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat((0,colorManipulator.Rv)(theme.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat((0,colorManipulator.Rv)(theme.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat((0,colorManipulator.Rv)(theme.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{left:"calc(-50% - 4px)"},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:theme.palette.background.paper,opacity:.8},markLabel:(0,esm_extends.A)({},theme.typography.body2,{color:theme.palette.text.secondary,position:"absolute",top:26,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:26,transform:"translateY(50%)"},"@media (pointer: coarse)":{top:40,"$vertical &":{left:31}}}),markLabelActive:{color:theme.palette.text.primary}}},{name:"MuiSlider"})(Slider)},"./node_modules/@material-ui/core/esm/utils/ownerDocument.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>ownerDocument});function ownerDocument(node){return node&&node.ownerDocument||document}},"./node_modules/@material-ui/core/esm/utils/useEventCallback.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>useEventCallback});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),useEnhancedEffect="undefined"!=typeof window?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect;function useEventCallback(fn){var ref=react__WEBPACK_IMPORTED_MODULE_0__.useRef(fn);return useEnhancedEffect(function(){ref.current=fn}),react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function(){return(0,ref.current).apply(void 0,arguments)},[])}},"./node_modules/@material-ui/core/esm/utils/useIsFocusVisible.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>useIsFocusVisible});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),react_dom__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-dom/index.js"),hadKeyboardEvent=!0,hadFocusVisibleRecently=!1,hadFocusVisibleRecentlyTimeout=null,inputTypesWhitelist={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function focusTriggersKeyboardModality(node){var type=node.type,tagName=node.tagName;return"INPUT"===tagName&&!!inputTypesWhitelist[type]&&!node.readOnly||"TEXTAREA"===tagName&&!node.readOnly||!!node.isContentEditable}function handleKeyDown(event){event.metaKey||event.altKey||event.ctrlKey||(hadKeyboardEvent=!0)}function handlePointerDown(){hadKeyboardEvent=!1}function handleVisibilityChange(){"hidden"===this.visibilityState&&hadFocusVisibleRecently&&(hadKeyboardEvent=!0)}function prepare(doc){doc.addEventListener("keydown",handleKeyDown,!0),doc.addEventListener("mousedown",handlePointerDown,!0),doc.addEventListener("pointerdown",handlePointerDown,!0),doc.addEventListener("touchstart",handlePointerDown,!0),doc.addEventListener("visibilitychange",handleVisibilityChange,!0)}function isFocusVisible(event){var target=event.target;try{return target.matches(":focus-visible")}catch(error){}return hadKeyboardEvent||focusTriggersKeyboardModality(target)}function handleBlurVisible(){hadFocusVisibleRecently=!0,window.clearTimeout(hadFocusVisibleRecentlyTimeout),hadFocusVisibleRecentlyTimeout=window.setTimeout(function(){hadFocusVisibleRecently=!1},100)}function useIsFocusVisible(){return{isFocusVisible:isFocusVisible,onBlurVisible:handleBlurVisible,ref:react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function(instance){var node=react_dom__WEBPACK_IMPORTED_MODULE_1__.findDOMNode(instance);null!=node&&prepare(node.ownerDocument)},[])}}},"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{BN:()=>MDXContext,RP:()=>useMDXComponents,gz:()=>withMDXComponents,xA:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");let MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({});function withMDXComponents(Component){return boundMDXComponent;function boundMDXComponent(props){let allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component,{...props,allComponents})}}function useMDXComponents(components){let contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(()=>"function"==typeof components?components(contextComponents):{...contextComponents,...components},[contextComponents,components])}let emptyObject={};function MDXProvider({components,children,disableParentContext}){let allComponents;return allComponents=disableParentContext?"function"==typeof components?components({}):components||emptyObject:useMDXComponents(components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},children)}},"./node_modules/react/cjs/react-jsx-runtime.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{/** @license React v16.14.0
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var f=__webpack_require__("./node_modules/react/index.js"),g=60103;if(exports.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element"),exports.Fragment=h("react.fragment")}var m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};function q(c,a,k){var b,d={},e=null,l=null;for(b in void 0!==k&&(e=""+k),void 0!==a.key&&(e=""+a.key),void 0!==a.ref&&(l=a.ref),a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q,exports.jsxs=q},"./node_modules/react/jsx-runtime.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__("./node_modules/react/cjs/react-jsx-runtime.production.min.js")}}]);
//# sourceMappingURL=48755.f3942c10.iframe.bundle.js.map