From 2de5dfd913e5145e99d246518a968b4d31525b9b Mon Sep 17 00:00:00 2001 From: xyy94813 Date: Mon, 9 Oct 2023 16:44:07 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20xyy94813?= =?UTF-8?q?/amap-react-components@d1d6bba3264ef74322051a68c9000797d5b15137?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iframe.html | 2 +- main.9d888e9e5b8a3723b7cb.bundle.js | 2 -- main.9d888e9e5b8a3723b7cb.bundle.js.map | 1 - main.bf05424317bc2585a569.bundle.js | 2 ++ main.bf05424317bc2585a569.bundle.js.map | 1 + runtime~main.9d888e9e5b8a3723b7cb.bundle.js.map | 1 - ...bundle.js => runtime~main.bf05424317bc2585a569.bundle.js | 2 +- runtime~main.bf05424317bc2585a569.bundle.js.map | 1 + vendors~main.9d888e9e5b8a3723b7cb.bundle.js.map | 1 - ...bundle.js => vendors~main.bf05424317bc2585a569.bundle.js | 6 +++--- ... vendors~main.bf05424317bc2585a569.bundle.js.LICENSE.txt | 0 vendors~main.bf05424317bc2585a569.bundle.js.map | 1 + 12 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 main.9d888e9e5b8a3723b7cb.bundle.js delete mode 100644 main.9d888e9e5b8a3723b7cb.bundle.js.map create mode 100644 main.bf05424317bc2585a569.bundle.js create mode 100644 main.bf05424317bc2585a569.bundle.js.map delete mode 100644 runtime~main.9d888e9e5b8a3723b7cb.bundle.js.map rename runtime~main.9d888e9e5b8a3723b7cb.bundle.js => runtime~main.bf05424317bc2585a569.bundle.js (97%) create mode 100644 runtime~main.bf05424317bc2585a569.bundle.js.map delete mode 100644 vendors~main.9d888e9e5b8a3723b7cb.bundle.js.map rename vendors~main.9d888e9e5b8a3723b7cb.bundle.js => vendors~main.bf05424317bc2585a569.bundle.js (97%) rename vendors~main.9d888e9e5b8a3723b7cb.bundle.js.LICENSE.txt => vendors~main.bf05424317bc2585a569.bundle.js.LICENSE.txt (100%) create mode 100644 vendors~main.bf05424317bc2585a569.bundle.js.map diff --git a/iframe.html b/iframe.html index b230b51..e96bf8c 100644 --- a/iframe.html +++ b/iframe.html @@ -130,4 +130,4 @@ - window['FRAMEWORK_OPTIONS'] = {}; \ No newline at end of file + window['FRAMEWORK_OPTIONS'] = {}; \ No newline at end of file diff --git a/main.9d888e9e5b8a3723b7cb.bundle.js b/main.9d888e9e5b8a3723b7cb.bundle.js deleted file mode 100644 index efb0360..0000000 --- a/main.9d888e9e5b8a3723b7cb.bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{100:function(module,__webpack_exports__,__webpack_require__){"use strict";var react=__webpack_require__(0),react_default=__webpack_require__.n(react),AMapAutoFitView=__webpack_require__(558);__webpack_exports__.a=function withAutoFitView(renderStory,context){return react_default.a.createElement(react_default.a.Fragment,null,renderStory({},context),react_default.a.createElement(AMapAutoFitView.a,null))}},12:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"p",(function(){return useAMapAPI.a})),__webpack_require__.d(__webpack_exports__,"o",(function(){return AMapAPIContainer.b})),__webpack_require__.d(__webpack_exports__,"f",(function(){return AMapMap.a})),__webpack_require__.d(__webpack_exports__,"b",(function(){return components_AMapControlBar_AMapControlBar})),__webpack_require__.d(__webpack_exports__,"e",(function(){return components_AMapHawkEye_AMapHawkEye})),__webpack_require__.d(__webpack_exports__,"l",(function(){return components_AMapScale_AMapScale})),__webpack_require__.d(__webpack_exports__,"m",(function(){return components_AMapToolBar_AMapToolBar})),__webpack_require__.d(__webpack_exports__,"g",(function(){return components_AMapMapType_AMapMapType})),__webpack_require__.d(__webpack_exports__,"j",(function(){return AMapOverlayGroup.default})),__webpack_require__.d(__webpack_exports__,"d",(function(){return AMapGeoJSON.default})),__webpack_require__.d(__webpack_exports__,"a",(function(){return AMapCircle.default})),__webpack_require__.d(__webpack_exports__,"c",(function(){return components_AMapEllipse_AMapEllipse})),__webpack_require__.d(__webpack_exports__,"h",(function(){return components_AMapMarker_AMapMarker})),__webpack_require__.d(__webpack_exports__,"k",(function(){return components_AMapPolygonEditor_AMapPolygonEditor})),__webpack_require__.d(__webpack_exports__,"i",(function(){return AMapMouseTool.default})),__webpack_require__.d(__webpack_exports__,"n",(function(){return helpers_coordsOfGeoJSON2AMapPolygonPath}));var useAMapAPI=__webpack_require__(157),useAMap=__webpack_require__(59),react=(__webpack_require__(15),__webpack_require__(0)),useAMapContainerBinder_useAMapContainerBinder=function useAMapContainerBinder(curInstance){var map=Object(useAMap.a)().map;Object(react.useEffect)((function(){var clearEffect;return curInstance&&map?(clearEffect=function clearEffect(){try{map.remove(curInstance)}catch(error){}},map.add(curInstance),clearEffect):clearEffect}),[curInstance,map])};try{useAMapContainerBinder_useAMapContainerBinder.displayName="useAMapContainerBinder",useAMapContainerBinder_useAMapContainerBinder.__docgenInfo={description:"",displayName:"useAMapContainerBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/useAMapContainerBinder.ts#useAMapContainerBinder"]={docgenInfo:useAMapContainerBinder_useAMapContainerBinder.__docgenInfo,name:"useAMapContainerBinder",path:"src/hooks/useAMapContainerBinder.ts#useAMapContainerBinder"})}catch(__react_docgen_typescript_loader_error){}var hooks_useAMapOverlayBinder=__webpack_require__(83),useAMapEventBinder=__webpack_require__(5),useAMapPluginInstance=__webpack_require__(40),AMapAPIContainer=__webpack_require__(254),AMapMap=__webpack_require__(197);__webpack_require__(68),__webpack_require__(9),__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(18),__webpack_require__(19),__webpack_require__(20);function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}var formatPX=function formatPX(val){return encodeURIComponent(val)+"px"},hooks_useControlContainerCSSText=function useControlContainerCSSText(position,offset){return void 0===offset&&(offset=[10,10]),"LT"===position?"left:"+formatPX(offset[0])+";top:"+formatPX(offset[1])+";":"RT"===position?"right:"+formatPX(offset[0])+";top:"+formatPX(offset[1])+";":"LB"===position?"left:"+formatPX(offset[0])+";bottom:"+formatPX(offset[1])+";":"RB"===position?"right:"+formatPX(offset[0])+";bottom:"+formatPX(offset[1])+";":"object"===_typeof(position)?["top","right","bottom","left"].reduce((function(result,key){var value=position[key];return value?""+result+key+":"+formatPX(value)+";":result}),""):""},hooks_useControlContainerUpdater=function useControlContainerUpdater(instance,position,offset){void 0===offset&&(offset=[10,10]);var containerCSSText=hooks_useControlContainerCSSText(position,offset);Object(react.useLayoutEffect)((function(){instance&&containerCSSText&&(instance._container.style.cssText=containerCSSText)}),[instance,containerCSSText]),Object(react.useEffect)((function(){instance&&(instance._config.position=position,instance._config.offset=offset)}),[instance,position,offset])},useAMapControlBinder_useAMapControlBinder=function useAMapControlBinder(controlInstance){var map=Object(useAMap.a)().map;Object(react.useEffect)((function(){var clearEffect;return controlInstance&&map?(clearEffect=function clearEffect(){map.removeControl(controlInstance)},map.addControl(controlInstance),clearEffect):clearEffect}),[map,controlInstance])},hooks_useAMapControlBinder=useAMapControlBinder_useAMapControlBinder;try{useAMapControlBinder_useAMapControlBinder.displayName="useAMapControlBinder",useAMapControlBinder_useAMapControlBinder.__docgenInfo={description:"",displayName:"useAMapControlBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/useAMapControlBinder.ts#useAMapControlBinder"]={docgenInfo:useAMapControlBinder_useAMapControlBinder.__docgenInfo,name:"useAMapControlBinder",path:"src/hooks/useAMapControlBinder.ts#useAMapControlBinder"})}catch(__react_docgen_typescript_loader_error){}var useVisible=__webpack_require__(55),AMapControlBar_useControlButtonUpdater=(__webpack_require__(51),__webpack_require__(52),function useControlButtonUpdater(instance,showControlButton){Object(react.useLayoutEffect)((function(){if(instance){instance._config.showControlButton=showControlButton;var controlButtons=[instance._pitchUp,instance._pitchDown,instance._rotateLeft,instance._rotateRight],compass=instance._compass,luopan=instance._luopan;compass.classList.toggle("amap-compass-black",!showControlButton),showControlButton?(luopan.style.removeProperty("background"),controlButtons.forEach((function($dom){$dom.style.removeProperty("display")}))):(luopan.style.setProperty("background","rgba(0, 0, 0, 0)"),controlButtons.forEach((function($dom){$dom.style.setProperty("display","none")})))}}),[instance,showControlButton])}),AMapControlBar_AMapControlBar=function AMapControlBar(_a){var position=_a.position,propOffset=_a.offset,showControlButton=_a.showControlButton,visible=_a.visible,onHide=_a.onHide,onShow=_a.onShow,initInstance=Object(react.useCallback)((function(AMap){return new AMap.ControlBar}),[]),curInstance=Object(useAMapPluginInstance.a)("ControlBar",initInstance);return hooks_useControlContainerUpdater(curInstance,position,null!=propOffset?propOffset:[10,10]),AMapControlBar_useControlButtonUpdater(curInstance,!!showControlButton),Object(useVisible.a)(curInstance,visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapControlBar_AMapControlBar.defaultProps={position:"LT",showControlButton:!0,visible:!0,onShow:void 0,onHide:void 0};var components_AMapControlBar_AMapControlBar=Object(react.memo)(AMapControlBar_AMapControlBar);try{AMapControlBar_AMapControlBar.displayName="AMapControlBar",AMapControlBar_AMapControlBar.__docgenInfo={description:"",displayName:"AMapControlBar",props:{offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"[number, number]"}},position:{defaultValue:{value:"'LT' as AMapControlBarProps['position']"},description:"",name:"position",required:!1,type:{name:'{ top?: string; left?: string; right?: string; bottom?: string; } | "LT" | "RT" | "LB" | "RB"'}},showControlButton:{defaultValue:{value:!0},description:"",name:"showControlButton",required:!1,type:{name:"boolean"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event: any) => void"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapControlBar/AMapControlBar.tsx#AMapControlBar"]={docgenInfo:AMapControlBar_AMapControlBar.__docgenInfo,name:"AMapControlBar",path:"src/components/AMapControlBar/AMapControlBar.tsx#AMapControlBar"})}catch(__react_docgen_typescript_loader_error){}try{AMapControlBar_AMapControlBar.displayName="AMapControlBar",AMapControlBar_AMapControlBar.__docgenInfo={description:"",displayName:"AMapControlBar",props:{offset:{defaultValue:null,description:"",name:"offset",required:!0,type:{name:"any"}},position:{defaultValue:{value:"'LT' as AMapControlBarProps['position']"},description:"",name:"position",required:!1,type:{name:"any"}},showControlButton:{defaultValue:{value:!0},description:"",name:"showControlButton",required:!1,type:{name:"boolean"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"((event: any) => void)"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"((event: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapControlBar/AMapControlBar.tsx#AMapControlBar"]={docgenInfo:AMapControlBar_AMapControlBar.__docgenInfo,name:"AMapControlBar",path:"src/components/AMapControlBar/AMapControlBar.tsx#AMapControlBar"})}catch(__react_docgen_typescript_loader_error){}var AMapHawkEye_AMapHawkEye=function AMapHawkEye(_a){var autoMove=_a.autoMove,showRectangle=_a.showRectangle,showButton=_a.showButton,isOpen=_a.isOpen,mapStyle=_a.mapStyle,width=_a.width,height=_a.height,offset=_a.offset,borderStyle=_a.borderStyle,borderColor=_a.borderColor,borderRadius=_a.borderRadius,borderWidth=_a.borderWidth,buttonSize=_a.buttonSize,visible=_a.visible,onShow=_a.onShow,onHide=_a.onHide,initConfig=Object(react.useMemo)((function(){var conf={};return void 0!==autoMove&&(conf.autoMove=autoMove),void 0!==showRectangle&&(conf.showRectangle=showRectangle),void 0!==showButton&&(conf.showButton=showButton),void 0!==mapStyle&&(conf.mapStyle=mapStyle),void 0!==width&&(conf.width=width),void 0!==height&&(conf.height=height),void 0!==offset&&(conf.offset=offset),void 0!==borderStyle&&(conf.borderStyle=borderStyle),void 0!==borderColor&&(conf.borderColor=borderColor),void 0!==borderRadius&&(conf.borderRadius=borderRadius),void 0!==borderWidth&&(conf.borderWidth=borderWidth),void 0!==buttonSize&&(conf.buttonSize=buttonSize),conf}),[autoMove,showRectangle,showButton,mapStyle,width,height,offset,borderStyle,borderColor,borderRadius,borderWidth,buttonSize]),initInstance=Object(react.useCallback)((function(AMap){return new AMap.HawkEye(initConfig)}),[initConfig]),curInstance=Object(useAMapPluginInstance.a)("HawkEye",initInstance);return Object(react.useEffect)((function(){var _a,_b;isOpen?null===(_a=null==curInstance?void 0:curInstance.open)||void 0===_a||_a.call(curInstance):null===(_b=null==curInstance?void 0:curInstance.close)||void 0===_b||_b.call(curInstance)}),[curInstance,isOpen]),Object(useVisible.a)(curInstance,!!visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapHawkEye_AMapHawkEye.defaultProps={showButton:!0,isOpen:!0,visible:!0,onShow:void 0,onHide:void 0};var components_AMapHawkEye_AMapHawkEye=Object(react.memo)(AMapHawkEye_AMapHawkEye);try{AMapHawkEye_AMapHawkEye.displayName="AMapHawkEye",AMapHawkEye_AMapHawkEye.__docgenInfo={description:"",displayName:"AMapHawkEye",props:{autoMove:{defaultValue:null,description:"",name:"autoMove",required:!1,type:{name:"boolean"}},showRectangle:{defaultValue:null,description:"",name:"showRectangle",required:!1,type:{name:"boolean"}},showButton:{defaultValue:{value:!0},description:"",name:"showButton",required:!1,type:{name:"boolean"}},isOpen:{defaultValue:{value:!0},description:"",name:"isOpen",required:!1,type:{name:"boolean"}},mapStyle:{defaultValue:null,description:"",name:"mapStyle",required:!1,type:{name:"string"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string"}},offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"[number, number]"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:"string"}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"string"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"string"}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"string"}},buttonSize:{defaultValue:null,description:"",name:"buttonSize",required:!1,type:{name:"string"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapHawkEye/AMapHawkEye.tsx#AMapHawkEye"]={docgenInfo:AMapHawkEye_AMapHawkEye.__docgenInfo,name:"AMapHawkEye",path:"src/components/AMapHawkEye/AMapHawkEye.tsx#AMapHawkEye"})}catch(__react_docgen_typescript_loader_error){}try{AMapHawkEye_AMapHawkEye.displayName="AMapHawkEye",AMapHawkEye_AMapHawkEye.__docgenInfo={description:"",displayName:"AMapHawkEye",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapHawkEye/AMapHawkEye.tsx#AMapHawkEye"]={docgenInfo:AMapHawkEye_AMapHawkEye.__docgenInfo,name:"AMapHawkEye",path:"src/components/AMapHawkEye/AMapHawkEye.tsx#AMapHawkEye"})}catch(__react_docgen_typescript_loader_error){}var AMapScale_initInstance=function initInstance(AMap){return new AMap.Scale},AMapScale_AMapScale=function AMapScale(_a){var position=_a.position,offset=_a.offset,visible=_a.visible,onShow=_a.onShow,onHide=_a.onHide,curInstance=Object(useAMapPluginInstance.a)("Scale",AMapScale_initInstance);return hooks_useControlContainerUpdater(curInstance,position,offset),Object(useVisible.a)(curInstance,visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapScale_AMapScale.defaultProps={position:"LB",visible:!0,onShow:void 0,onHide:void 0};var components_AMapScale_AMapScale=Object(react.memo)(AMapScale_AMapScale);try{AMapScale_AMapScale.displayName="AMapScale",AMapScale_AMapScale.__docgenInfo={description:"",displayName:"AMapScale",props:{offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"[number, number]"}},position:{defaultValue:{value:"'LB' as AMapScaleProps['position']"},description:"",name:"position",required:!1,type:{name:'{ top?: string; left?: string; right?: string; bottom?: string; } | "LT" | "RT" | "LB" | "RB"'}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapScale/AMapScale.tsx#AMapScale"]={docgenInfo:AMapScale_AMapScale.__docgenInfo,name:"AMapScale",path:"src/components/AMapScale/AMapScale.tsx#AMapScale"})}catch(__react_docgen_typescript_loader_error){}try{AMapScale_AMapScale.displayName="AMapScale",AMapScale_AMapScale.__docgenInfo={description:"",displayName:"AMapScale",props:{offset:{defaultValue:null,description:"",name:"offset",required:!0,type:{name:"any"}},position:{defaultValue:{value:"'LB' as AMapScaleProps['position']"},description:"",name:"position",required:!1,type:{name:"any"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"((event?: any) => void)"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"((event?: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapScale/AMapScale.tsx#AMapScale"]={docgenInfo:AMapScale_AMapScale.__docgenInfo,name:"AMapScale",path:"src/components/AMapScale/AMapScale.tsx#AMapScale"})}catch(__react_docgen_typescript_loader_error){}var AMapToolBar_AMapToolBar=function AMapToolBar(_a){var position=_a.position,offset=_a.offset,visible=_a.visible,onShow=_a.onShow,onHide=_a.onHide,initInstance=Object(react.useCallback)((function(AMap){return new AMap.ToolBar}),[]),curInstance=Object(useAMapPluginInstance.a)("ToolBar",initInstance);return hooks_useControlContainerUpdater(curInstance,position,offset),Object(useVisible.a)(curInstance,visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapToolBar_AMapToolBar.defaultProps={position:"LT",visible:!0,onShow:void 0,onHide:void 0};var components_AMapToolBar_AMapToolBar=Object(react.memo)(AMapToolBar_AMapToolBar);try{AMapToolBar_AMapToolBar.displayName="AMapToolBar",AMapToolBar_AMapToolBar.__docgenInfo={description:"",displayName:"AMapToolBar",props:{offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"[number, number]"}},position:{defaultValue:{value:"'LT' as AMapToolBarProps['position']"},description:"",name:"position",required:!1,type:{name:'{ top?: string; left?: string; right?: string; bottom?: string; } | "LT" | "RT" | "LB" | "RB"'}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapToolBar/AMapToolBar.tsx#AMapToolBar"]={docgenInfo:AMapToolBar_AMapToolBar.__docgenInfo,name:"AMapToolBar",path:"src/components/AMapToolBar/AMapToolBar.tsx#AMapToolBar"})}catch(__react_docgen_typescript_loader_error){}try{AMapToolBar_AMapToolBar.displayName="AMapToolBar",AMapToolBar_AMapToolBar.__docgenInfo={description:"",displayName:"AMapToolBar",props:{offset:{defaultValue:null,description:"",name:"offset",required:!0,type:{name:"any"}},position:{defaultValue:{value:"'LT' as AMapToolBarProps['position']"},description:"",name:"position",required:!1,type:{name:"any"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"((event?: any) => void)"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"((event?: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapToolBar/AMapToolBar.tsx#AMapToolBar"]={docgenInfo:AMapToolBar_AMapToolBar.__docgenInfo,name:"AMapToolBar",path:"src/components/AMapToolBar/AMapToolBar.tsx#AMapToolBar"})}catch(__react_docgen_typescript_loader_error){}var AMapMapType_AMapMapType=function AMapMapType(_a){var defaultType=_a.defaultType,showTraffic=_a.showTraffic,showRoad=_a.showRoad,visible=_a.visible,onHide=_a.onHide,onShow=_a.onShow,initInstance=Object(react.useCallback)((function(AMap){return new AMap.MapType({defaultType:defaultType,showTraffic:showTraffic,showRoad:showRoad})}),[defaultType,showRoad,showTraffic]),curInstance=Object(useAMapPluginInstance.a)("MapType",initInstance);return Object(useVisible.a)(curInstance,!!visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapMapType_AMapMapType.defaultProps={defaultType:0,showTraffic:!1,showRoad:!1,visible:!0,onShow:void 0,onHide:void 0};var components_AMapMapType_AMapMapType=AMapMapType_AMapMapType;try{AMapMapType_AMapMapType.displayName="AMapMapType",AMapMapType_AMapMapType.__docgenInfo={description:"",displayName:"AMapMapType",props:{defaultType:{defaultValue:{value:0},description:"",name:"defaultType",required:!1,type:{name:"number"}},showTraffic:{defaultValue:{value:!1},description:"",name:"showTraffic",required:!1,type:{name:"boolean"}},showRoad:{defaultValue:{value:!1},description:"",name:"showRoad",required:!1,type:{name:"boolean"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMapType/AMapMapType.tsx#AMapMapType"]={docgenInfo:AMapMapType_AMapMapType.__docgenInfo,name:"AMapMapType",path:"src/components/AMapMapType/AMapMapType.tsx#AMapMapType"})}catch(__react_docgen_typescript_loader_error){}try{AMapMapType_AMapMapType.displayName="AMapMapType",AMapMapType_AMapMapType.__docgenInfo={description:"",displayName:"AMapMapType",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMapType/AMapMapType.tsx#AMapMapType"]={docgenInfo:AMapMapType_AMapMapType.__docgenInfo,name:"AMapMapType",path:"src/components/AMapMapType/AMapMapType.tsx#AMapMapType"})}catch(__react_docgen_typescript_loader_error){}var AMapOverlayGroup=__webpack_require__(546),AMapGeoJSON=__webpack_require__(549),AMapCircle=__webpack_require__(552),useSetter=(__webpack_require__(56),__webpack_require__(92),__webpack_require__(37)),AMapEllipse_AMapEllipse=function AMapEllipse(_a){var center=_a.center,radius=_a.radius,zIndex=_a.zIndex,draggable=_a.draggable,extData=_a.extData,cursor=_a.cursor,bubble=_a.bubble,fillColor=_a.fillColor,fillOpacity=_a.fillOpacity,strokeColor=_a.strokeColor,strokeOpacity=_a.strokeOpacity,strokeWeight=_a.strokeWeight,strokeStyle=_a.strokeStyle,strokeDasharray=_a.strokeDasharray,visible=_a.visible,onHide=_a.onHide,onShow=_a.onShow,onClick=_a.onClick,onDBLClick=_a.onDBLClick,onRightClick=_a.onRightClick,onMousedown=_a.onMousedown,onMouseup=_a.onMouseup,onMouseover=_a.onMouseover,onMouseout=_a.onMouseout,onTouchstart=_a.onTouchstart,onTouchmove=_a.onTouchmove,onTouchend=_a.onTouchend,initInstance=Object(react.useCallback)((function(AMap){return new AMap.Ellipse}),[]),curInstance=Object(useAMapPluginInstance.a)("Ellipse",initInstance);Object(useSetter.a)(curInstance,"setCenter",center),Object(useSetter.a)(curInstance,"setRadius",radius),Object(useSetter.a)(curInstance,"setExtData",extData);var options=Object(react.useMemo)((function(){return Object.entries({zIndex:zIndex,bubble:bubble,cursor:cursor,fillColor:fillColor,fillOpacity:fillOpacity,strokeColor:strokeColor,strokeStyle:strokeStyle,strokeOpacity:strokeOpacity,strokeWeight:strokeWeight,strokeDasharray:strokeDasharray,draggable:draggable}).filter((function(_a){var val=_a[1];return null!=val})).reduce((function(finallyObj,_a){var key=_a[0],val=_a[1];return finallyObj[key]=val,finallyObj}),{})}),[zIndex,bubble,cursor,fillColor,fillOpacity,strokeColor,strokeStyle,strokeOpacity,strokeWeight,strokeDasharray,draggable]);return Object(useSetter.a)(curInstance,"setOptions",options),Object(useVisible.a)(curInstance,!!visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),Object(useAMapEventBinder.a)(curInstance,"click",onClick),Object(useAMapEventBinder.a)(curInstance,"dblclick",onDBLClick),Object(useAMapEventBinder.a)(curInstance,"rightclick",onRightClick),Object(useAMapEventBinder.a)(curInstance,"mousedown",onMousedown),Object(useAMapEventBinder.a)(curInstance,"mouseup",onMouseup),Object(useAMapEventBinder.a)(curInstance,"mouseover",onMouseover),Object(useAMapEventBinder.a)(curInstance,"mouseout",onMouseout),Object(useAMapEventBinder.a)(curInstance,"touchstart",onTouchstart),Object(useAMapEventBinder.a)(curInstance,"touchmove",onTouchmove),Object(useAMapEventBinder.a)(curInstance,"touchend",onTouchend),Object(hooks_useAMapOverlayBinder.a)(curInstance),null};AMapEllipse_AMapEllipse.defaultProps={visible:!0,onShow:void 0,onHide:void 0};var components_AMapEllipse_AMapEllipse=AMapEllipse_AMapEllipse;try{AMapEllipse_AMapEllipse.displayName="AMapEllipse",AMapEllipse_AMapEllipse.__docgenInfo={description:"",displayName:"AMapEllipse",props:{zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"number"}},bubble:{defaultValue:null,description:"",name:"bubble",required:!1,type:{name:"boolean"}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:"string"}},strokeColor:{defaultValue:null,description:"",name:"strokeColor",required:!1,type:{name:"string | Function"}},strokeWeight:{defaultValue:null,description:"",name:"strokeWeight",required:!1,type:{name:"number"}},strokeOpacity:{defaultValue:null,description:"",name:"strokeOpacity",required:!1,type:{name:"number"}},fillColor:{defaultValue:null,description:"",name:"fillColor",required:!1,type:{name:"string | Function"}},fillOpacity:{defaultValue:null,description:"",name:"fillOpacity",required:!1,type:{name:"number | Function"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"boolean"}},extrusionHeight:{defaultValue:null,description:"",name:"extrusionHeight",required:!1,type:{name:"number"}},roofColor:{defaultValue:null,description:"",name:"roofColor",required:!1,type:{name:"string | Function"}},wallColor:{defaultValue:null,description:"",name:"wallColor",required:!1,type:{name:"string | Function"}},extData:{defaultValue:null,description:"",name:"extData",required:!1,type:{name:"any"}},strokeStyle:{defaultValue:null,description:"",name:"strokeStyle",required:!1,type:{name:'"solid" | "dashed"'}},strokeDasharray:{defaultValue:null,description:"",name:"strokeDasharray",required:!1,type:{name:"[number, number] | [number, number, number, number]"}},zooms:{defaultValue:null,description:"",name:"zooms",required:!1,type:{name:"[number, number]"}},center:{defaultValue:null,description:"",name:"center",required:!1,type:{name:"LngLatLike"}},radius:{defaultValue:null,description:"",name:"radius",required:!1,type:{name:"[number, number]"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:'(event?: Event<"show">) => void'}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:'(event?: Event<"hide">) => void'}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:'(event?: Event<"click">) => void'}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:'(event?: Event<"dblclick">) => void'}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:'(event?: Event<"rightclick">) => void'}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:'(event?: Event<"mousedown">) => void'}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:'(event?: Event<"mouseup">) => void'}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:'(event?: Event<"mouseover">) => void'}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:'(event?: Event<"mouseout">) => void'}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:'(event?: Event<"touchstart">) => void'}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:'(event?: Event<"touchmove">) => void'}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:'(event?: Event<"touchend">) => void'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapEllipse/AMapEllipse.tsx#AMapEllipse"]={docgenInfo:AMapEllipse_AMapEllipse.__docgenInfo,name:"AMapEllipse",path:"src/components/AMapEllipse/AMapEllipse.tsx#AMapEllipse"})}catch(__react_docgen_typescript_loader_error){}try{AMapEllipse_AMapEllipse.displayName="AMapEllipse",AMapEllipse_AMapEllipse.__docgenInfo={description:"",displayName:"AMapEllipse",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapEllipse/AMapEllipse.tsx#AMapEllipse"]={docgenInfo:AMapEllipse_AMapEllipse.__docgenInfo,name:"AMapEllipse",path:"src/components/AMapEllipse/AMapEllipse.tsx#AMapEllipse"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(1210);var AMapMarker_AMapMarker=function AMapMarker(_a){var title=_a.title,icon=_a.icon,zooms=_a.zooms,label=_a.label,clickable=_a.clickable,draggable=_a.draggable,cursor=_a.cursor,extData=_a.extData,position=_a.position,anchor=_a.anchor,offset=_a.offset,angle=_a.angle,size=_a.size,zIndex=_a.zIndex,content=_a.content,visible=_a.visible,onHide=_a.onHide,onShow=_a.onShow,onClick=_a.onClick,onDBLClick=_a.onDBLClick,onRightClick=_a.onRightClick,onMousemove=_a.onMousemove,onMousedown=_a.onMousedown,onMouseup=_a.onMouseup,onMouseover=_a.onMouseover,onMouseout=_a.onMouseout,onTouchstart=_a.onTouchstart,onTouchmove=_a.onTouchmove,onTouchend=_a.onTouchend,onDragstart=_a.onDragstart,onDragging=_a.onDragging,onDragend=_a.onDragend,onMoving=_a.onMoving,onMoveEnd=_a.onMoveEnd,onMoveAlong=_a.onMoveAlong,initInstance=Object(react.useCallback)((function(AMap){return new AMap.Marker({zooms:zooms})}),[zooms]),curInstance=Object(useAMapPluginInstance.a)("Marker",initInstance);return Object(useVisible.a)(curInstance,!!visible),Object(useSetter.a)(curInstance,"setPosition",position),Object(useSetter.a)(curInstance,"setTitle",title),Object(useSetter.a)(curInstance,"setIcon",icon),Object(useSetter.a)(curInstance,"setLabel",label),Object(useSetter.a)(curInstance,"setClickable",clickable),Object(useSetter.a)(curInstance,"setDraggable",draggable),Object(useSetter.a)(curInstance,"setCursor",cursor),Object(useSetter.a)(curInstance,"setExtData",extData),Object(useSetter.a)(curInstance,"setAnchor",anchor),Object(useSetter.a)(curInstance,"setOffset",offset),Object(useSetter.a)(curInstance,"setAngle",angle),Object(useSetter.a)(curInstance,"setSize",size),Object(useSetter.a)(curInstance,"setzIndex",zIndex),Object(useSetter.a)(curInstance,"setContent",content),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),Object(useAMapEventBinder.a)(curInstance,"click",onClick),Object(useAMapEventBinder.a)(curInstance,"dblclick",onDBLClick),Object(useAMapEventBinder.a)(curInstance,"rightclick",onRightClick),Object(useAMapEventBinder.a)(curInstance,"mousemove",onMousemove),Object(useAMapEventBinder.a)(curInstance,"mousedown",onMousedown),Object(useAMapEventBinder.a)(curInstance,"mouseup",onMouseup),Object(useAMapEventBinder.a)(curInstance,"mouseover",onMouseover),Object(useAMapEventBinder.a)(curInstance,"mouseout",onMouseout),Object(useAMapEventBinder.a)(curInstance,"touchstart",onTouchstart),Object(useAMapEventBinder.a)(curInstance,"touchmove",onTouchmove),Object(useAMapEventBinder.a)(curInstance,"touchend",onTouchend),Object(useAMapEventBinder.a)(curInstance,"dragstart",onDragstart),Object(useAMapEventBinder.a)(curInstance,"dragging",onDragging),Object(useAMapEventBinder.a)(curInstance,"dragend",onDragend),Object(useAMapEventBinder.a)(curInstance,"moving",onMoving),Object(useAMapEventBinder.a)(curInstance,"moveend",onMoveEnd),Object(useAMapEventBinder.a)(curInstance,"movealong",onMoveAlong),Object(hooks_useAMapOverlayBinder.a)(curInstance),null};AMapMarker_AMapMarker.defaultProps={anchor:"center",cursor:"pointer",angle:0,zIndex:12,clickable:!0,draggable:!1,visible:!0};var components_AMapMarker_AMapMarker=AMapMarker_AMapMarker;try{AMapMarker_AMapMarker.displayName="AMapMarker",AMapMarker_AMapMarker.__docgenInfo={description:"",displayName:"AMapMarker",props:{icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"string | Icon"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"LabelOptions"}},clickable:{defaultValue:{value:!0},description:"",name:"clickable",required:!1,type:{name:"boolean"}},cursor:{defaultValue:{value:"pointer"},description:"",name:"cursor",required:!1,type:{name:"string"}},draggable:{defaultValue:{value:!1},description:"",name:"draggable",required:!1,type:{name:"boolean"}},topWhenClick:{defaultValue:null,description:"",name:"topWhenClick",required:!1,type:{name:"boolean"}},bubble:{defaultValue:null,description:"",name:"bubble",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},map:{defaultValue:null,description:"",name:"map",required:!1,type:{name:"Map_2"}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:"Vector2 | (LngLat & Vector2)"}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string | HTMLElement"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},zIndex:{defaultValue:{value:12},description:"",name:"zIndex",required:!1,type:{name:"number"}},extData:{defaultValue:null,description:"",name:"extData",required:!1,type:{name:"any"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"Vector2 | Size"}},offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"Vector2 | Pixel"}},anchor:{defaultValue:{value:"'center' as AMapMarkerProps['anchor']"},description:"",name:"anchor",required:!1,type:{name:'"top-left" | "top-center" | "top-right" | "middle-left" | "center" | "middle-right" | "bottom-left" | "bottom-center" | "bottom-right" | (Vector2 & "top-left") | (Vector2 & "top-center") | ... 6 more ... | (Vector2 & "bottom-right")'}},rotate:{defaultValue:null,description:"",name:"rotate",required:!1,type:{name:"number"}},angle:{defaultValue:{value:0},description:"",name:"angle",required:!1,type:{name:"number"}},orientation:{defaultValue:null,description:"",name:"orientation",required:!1,type:{name:"number"}},scale:{defaultValue:null,description:"",name:"scale",required:!1,type:{name:"number"}},zooms:{defaultValue:null,description:"",name:"zooms",required:!1,type:{name:"Vector2"}},noSelect:{defaultValue:null,description:"",name:"noSelect",required:!1,type:{name:"boolean"}},innerOverlay:{defaultValue:null,description:"",name:"innerOverlay",required:!1,type:{name:"boolean"}},isCustom:{defaultValue:null,description:"",name:"isCustom",required:!1,type:{name:"boolean"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}},onShow:{defaultValue:null,description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(event?: any) => void"}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:"(event?: any) => void"}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:"(event?: any) => void"}},onMousemove:{defaultValue:null,description:"",name:"onMousemove",required:!1,type:{name:"(event?: any) => void"}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:"(event?: any) => void"}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:"(event?: any) => void"}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:"(event?: any) => void"}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:"(event?: any) => void"}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:"(event?: any) => void"}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:"(event?: any) => void"}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:"(event?: any) => void"}},onDragstart:{defaultValue:null,description:"",name:"onDragstart",required:!1,type:{name:"(event?: any) => void"}},onDragging:{defaultValue:null,description:"",name:"onDragging",required:!1,type:{name:"(event?: any) => void"}},onDragend:{defaultValue:null,description:"",name:"onDragend",required:!1,type:{name:"(event?: any) => void"}},onMoving:{defaultValue:null,description:"",name:"onMoving",required:!1,type:{name:"(event?: any) => void"}},onMoveEnd:{defaultValue:null,description:"",name:"onMoveEnd",required:!1,type:{name:"(event?: any) => void"}},onMoveAlong:{defaultValue:null,description:"",name:"onMoveAlong",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMarker/AMapMarker.tsx#AMapMarker"]={docgenInfo:AMapMarker_AMapMarker.__docgenInfo,name:"AMapMarker",path:"src/components/AMapMarker/AMapMarker.tsx#AMapMarker"})}catch(__react_docgen_typescript_loader_error){}try{AMapMarker_AMapMarker.displayName="AMapMarker",AMapMarker_AMapMarker.__docgenInfo={description:"",displayName:"AMapMarker",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMarker/AMapMarker.tsx#AMapMarker"]={docgenInfo:AMapMarker_AMapMarker.__docgenInfo,name:"AMapMarker",path:"src/components/AMapMarker/AMapMarker.tsx#AMapMarker"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(21),__webpack_require__(526);var isPolygonFeature=function isPolygonFeature(feature){return"Overlay.Polygon"===feature.className},AMapPolygonEditor_AMapPolygonEditor=function AMapPolygonEditor(_a){var computeTarget=_a.computeTarget,disabled=_a.disabled,computeAdsorbPolygons=_a.computeAdsorbPolygons,onChange=_a.onChange,$lastOnChange=Object(react.useRef)(onChange);$lastOnChange.current=onChange;var initInstance=Object(react.useCallback)((function(AMap,map){return new AMap.PolygonEditor(map)}),[]),curInstance=Object(useAMapPluginInstance.a)("PolygonEditor",initInstance),map=Object(useAMap.a)().map,reSetTarget=Object(react.useCallback)((function(){var _a;if(curInstance){var allPolygons=(null==map?void 0:map.getAllOverlays("polygon"))||[],newTarget=null!==(_a=computeTarget(allPolygons))&&void 0!==_a?_a:null;curInstance.setTarget(newTarget)}}),[map,computeTarget,curInstance]);Object(react.useEffect)((function(){map&&reSetTarget()}),[map,reSetTarget]),Object(react.useEffect)((function(){var clearEffect;if(!map)return clearEffect;var handleOverlayChanged=function handleOverlayChanged(features){(isPolygonFeature(features)||Array.isArray(features)&&features.some(isPolygonFeature))&&reSetTarget()};return clearEffect=function clearEffect(){map.off("overlaysRemoved",handleOverlayChanged),map.off("overlaysAdded",handleOverlayChanged)},map.on("overlaysRemoved",handleOverlayChanged),map.on("overlaysAdded",handleOverlayChanged),clearEffect}),[map,reSetTarget]);var reSetAdsorbPolygons=Object(react.useCallback)((function(){if(curInstance){var allPolygons=(null==map?void 0:map.getAllOverlays("polygon"))||[],adsorbPolygons=(null==computeAdsorbPolygons?void 0:computeAdsorbPolygons(allPolygons))||[];adsorbPolygons?curInstance.setAdsorbPolygons(adsorbPolygons):curInstance.clearAdsorbPolygons()}}),[map,computeAdsorbPolygons,curInstance]);return Object(react.useEffect)((function(){map&&reSetAdsorbPolygons()}),[map,reSetAdsorbPolygons]),Object(react.useEffect)((function(){var clearEffect;if(!map)return clearEffect;var handleOverlayChanged=function handleOverlayChanged(features){(isPolygonFeature(features)||Array.isArray(features)&&features.some(isPolygonFeature))&&reSetAdsorbPolygons()};return clearEffect=function clearEffect(){map.off("overlaysRemoved",handleOverlayChanged),map.off("overlaysAdded",handleOverlayChanged)},map.on("overlaysRemoved",handleOverlayChanged),map.on("overlaysAdded",handleOverlayChanged),clearEffect}),[map,reSetAdsorbPolygons]),Object(react.useEffect)((function(){var clearEffect;if(!curInstance)return clearEffect;var triggerChangeHandler=function triggerChangeHandler(obj){var _a;null===(_a=$lastOnChange.current)||void 0===_a||_a.call($lastOnChange,obj)};return clearEffect=function clearEffect(){null==curInstance||curInstance.off("add",triggerChangeHandler),null==curInstance||curInstance.off("addnode",triggerChangeHandler),null==curInstance||curInstance.off("adjust",triggerChangeHandler),null==curInstance||curInstance.off("removenode",triggerChangeHandler)},curInstance.on("add",triggerChangeHandler),curInstance.on("addnode",triggerChangeHandler),curInstance.on("adjust",triggerChangeHandler),curInstance.on("removenode",triggerChangeHandler),clearEffect}),[curInstance]),Object(react.useEffect)((function(){disabled?null==curInstance||curInstance.close():null==curInstance||curInstance.open()}),[curInstance,disabled]),null};AMapPolygonEditor_AMapPolygonEditor.defaultProps={disabled:!1,computeAdsorbPolygons:function computeAdsorbPolygons(allPolygons){return allPolygons}};var components_AMapPolygonEditor_AMapPolygonEditor=AMapPolygonEditor_AMapPolygonEditor;try{AMapPolygonEditor_AMapPolygonEditor.displayName="AMapPolygonEditor",AMapPolygonEditor_AMapPolygonEditor.__docgenInfo={description:"",displayName:"AMapPolygonEditor",props:{computeTarget:{defaultValue:null,description:"",name:"computeTarget",required:!0,type:{name:"(allPolygons: Polygon[]) => Polygon"}},disabled:{defaultValue:{value:!1},description:"",name:"disabled",required:!1,type:{name:"boolean"}},computeAdsorbPolygons:{defaultValue:{value:"(allPolygons) => allPolygons"},description:"",name:"computeAdsorbPolygons",required:!1,type:{name:"(allPolygons: Polygon[]) => Polygon[]"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(obj: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapPolygonEditor/AMapPolygonEditor.tsx#AMapPolygonEditor"]={docgenInfo:AMapPolygonEditor_AMapPolygonEditor.__docgenInfo,name:"AMapPolygonEditor",path:"src/components/AMapPolygonEditor/AMapPolygonEditor.tsx#AMapPolygonEditor"})}catch(__react_docgen_typescript_loader_error){}try{AMapPolygonEditor_AMapPolygonEditor.displayName="AMapPolygonEditor",AMapPolygonEditor_AMapPolygonEditor.__docgenInfo={description:"",displayName:"AMapPolygonEditor",props:{computeTarget:{defaultValue:null,description:"",name:"computeTarget",required:!0,type:{name:"(allPolygons: any[]) => any"}},disabled:{defaultValue:{value:!1},description:"",name:"disabled",required:!1,type:{name:"boolean"}},computeAdsorbPolygons:{defaultValue:{value:"(allPolygons) => allPolygons"},description:"",name:"computeAdsorbPolygons",required:!1,type:{name:"((allPolygons: any[]) => any[] | null) | undefined"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((obj: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapPolygonEditor/AMapPolygonEditor.tsx#AMapPolygonEditor"]={docgenInfo:AMapPolygonEditor_AMapPolygonEditor.__docgenInfo,name:"AMapPolygonEditor",path:"src/components/AMapPolygonEditor/AMapPolygonEditor.tsx#AMapPolygonEditor"})}catch(__react_docgen_typescript_loader_error){}var AMapMouseTool=__webpack_require__(555),isPosition=(__webpack_require__(14),__webpack_require__(128),function isPosition(pos){return Array.isArray(pos)&&2===pos.length&&"number"==typeof pos[0]&&"number"==typeof pos[1]}),isLineCoords=function isLineCoords(line){return Array.isArray(line)&&line.every(isPosition)};try{isPosition.displayName="isPosition",isPosition.__docgenInfo={description:"",displayName:"isPosition",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/helpers/geoJSONHelper.ts#isPosition"]={docgenInfo:isPosition.__docgenInfo,name:"isPosition",path:"src/helpers/geoJSONHelper.ts#isPosition"})}catch(__react_docgen_typescript_loader_error){}try{isLineCoords.displayName="isLineCoords",isLineCoords.__docgenInfo={description:"",displayName:"isLineCoords",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/helpers/geoJSONHelper.ts#isLineCoords"]={docgenInfo:isLineCoords.__docgenInfo,name:"isLineCoords",path:"src/helpers/geoJSONHelper.ts#isLineCoords"})}catch(__react_docgen_typescript_loader_error){}var coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath=function coordsOfGeoJSON2AMapPolygonPath(coords){return isLineCoords(coords)?function coordsOfGeoJSONRingLine2AMapPolygonPath(coords){var len=coords.length;return coords.slice(0,len-1)}(coords):coords.map(coordsOfGeoJSON2AMapPolygonPath)},helpers_coordsOfGeoJSON2AMapPolygonPath=coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath;try{coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath.displayName="coordsOfGeoJSON2AMapPolygonPath",coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath.__docgenInfo={description:"去掉最后一个 Position 点。\n支持 GeoJSON.Polygon 和 GeoJSON.MultiplePolygon 转换",displayName:"coordsOfGeoJSON2AMapPolygonPath",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/helpers/coordsOfGeoJSON2AMapPolygonPath.ts#coordsOfGeoJSON2AMapPolygonPath"]={docgenInfo:coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath.__docgenInfo,name:"coordsOfGeoJSON2AMapPolygonPath",path:"src/helpers/coordsOfGeoJSON2AMapPolygonPath.ts#coordsOfGeoJSON2AMapPolygonPath"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(116);var isLatLng=function isLatLng(p){return!(!("lat"in p)||!("lng"in p))},amapPolygonPath2GeoJSONCoords_amapPolygonPath2GeoJSONCoords=function amapPolygonPath2GeoJSONCoords(path){if(function isLatLngArr(p){return p.every(isLatLng)}(path)){var coords=path.map((function(item){return item.toArray()}));return coords.push(coords[0].slice(0)),coords}return path.map(amapPolygonPath2GeoJSONCoords)};try{amapPolygonPath2GeoJSONCoords_amapPolygonPath2GeoJSONCoords.displayName="amapPolygonPath2GeoJSONCoords",amapPolygonPath2GeoJSONCoords_amapPolygonPath2GeoJSONCoords.__docgenInfo={description:"补充最后一个 Position。\n支持转换至 GeoJSON.Polygon 和 GeoJSON.MultiplePolygon 的 coords",displayName:"amapPolygonPath2GeoJSONCoords",props:{length:{defaultValue:null,description:"Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.",name:"length",required:!0,type:{name:"number"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"(() => string) | (() => string) | (() => string)"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocalString methods.",name:"toLocaleString",required:!1,type:{name:"(() => string) | (() => string) | (() => string)"}},pop:{defaultValue:null,description:"Removes the last element from an array and returns it.",name:"pop",required:!0,type:{name:"(() => any) | (() => any[]) | (() => any[][])"}},push:{defaultValue:null,description:"Appends new elements to an array, and returns the new length of the array.\n@param items New elements of the Array.",name:"push",required:!0,type:{name:"((...items: any[]) => number) | ((...items: any[][]) => number) | ((...items: any[][][]) => number)"}},concat:{defaultValue:null,description:"Combines two or more arrays.\nCombines two or more arrays.\n@param items Additional items to add to the end of array1.\n@param items Additional items to add to the end of array1.",name:"concat",required:!0,type:{name:"{ (...items: ConcatArray[]): any[]; (...items: any[]): any[]; } | { (...items: ConcatArray[]): any[][]; (...items: (any[] | ConcatArray)[]): any[][]; } | { ...; }"}},join:{defaultValue:null,description:"Adds all the elements of an array separated by the specified separator string.\n@param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.",name:"join",required:!0,type:{name:"((separator?: string) => string) | ((separator?: string) => string) | ((separator?: string) => string)"}},reverse:{defaultValue:null,description:"Reverses the elements in an Array.",name:"reverse",required:!0,type:{name:"(() => any[]) | (() => any[][]) | (() => any[][][])"}},shift:{defaultValue:null,description:"Removes the first element from an array and returns it.",name:"shift",required:!0,type:{name:"(() => any) | (() => any[]) | (() => any[][])"}},slice:{defaultValue:null,description:"Returns a section of an array.\n@param start The beginning of the specified portion of the array.\n@param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.",name:"slice",required:!0,type:{name:"((start?: number, end?: number) => any[]) | ((start?: number, end?: number) => any[][]) | ((start?: number, end?: number) => any[][][])"}},sort:{defaultValue:null,description:"Sorts an array.\n@param compareFn Function used to determine the order of the elements. It is expected to return\ra negative value if first argument is less than second argument, zero if they're equal and a positive\rvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r```ts\r[11,2,22,1].sort((a, b) => a - b)\r```",name:"sort",required:!0,type:{name:"((compareFn?: (a: any, b: any) => number) => any[]) | ((compareFn?: (a: any[], b: any[]) => number) => any[][]) | ((compareFn?: (a: any[][], b: any[][]) => number) => any[][][])"}},splice:{defaultValue:null,description:"Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\nRemoves elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param items Elements to insert into the array in place of the deleted elements.",name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number): any[]; (start: number, deleteCount: number, ...items: any[]): any[]; } | { (start: number, deleteCount?: number): any[][]; (start: number, deleteCount: number, ...items: any[][]): any[][]; } | { ...; }"}},unshift:{defaultValue:null,description:"Inserts new elements at the start of an array.\n@param items Elements to insert at the start of the Array.",name:"unshift",required:!0,type:{name:"((...items: any[]) => number) | ((...items: any[][]) => number) | ((...items: any[][][]) => number)"}},indexOf:{defaultValue:null,description:"Returns the index of the first occurrence of a value in an array.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",name:"indexOf",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => number) | ((searchElement: any[], fromIndex?: number) => number) | ((searchElement: any[][], fromIndex?: number) => number)"}},lastIndexOf:{defaultValue:null,description:"Returns the index of the last occurrence of a specified value in an array.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.",name:"lastIndexOf",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => number) | ((searchElement: any[], fromIndex?: number) => number) | ((searchElement: any[][], fromIndex?: number) => number)"}},every:{defaultValue:null,description:"Determines whether all the members of an array satisfy the specified test.\n@param callbackfn A function that accepts up to three arguments. The every method calls\rthe callbackfn function for each element in the array until the callbackfn returns a value\rwhich is coercible to the Boolean value false, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function.\rIf thisArg is omitted, undefined is used as the this value.",name:"every",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[], index: number, array: any[][]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => unknown, thisArg?: any) => boolean)"}},some:{defaultValue:null,description:"Determines whether the specified callback function returns true for any element of an array.\n@param callbackfn A function that accepts up to three arguments. The some method calls\rthe callbackfn function for each element in the array until the callbackfn returns a value\rwhich is coercible to the Boolean value true, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function.\rIf thisArg is omitted, undefined is used as the this value.",name:"some",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[], index: number, array: any[][]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => unknown, thisArg?: any) => boolean)"}},forEach:{defaultValue:null,description:"Performs the specified action for each element in an array.\n@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"forEach",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => void, thisArg?: any) => void) | ((callbackfn: (value: any[], index: number, array: any[][]) => void, thisArg?: any) => void) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => void, thisArg?: any) => void)"}},map:{defaultValue:null,description:"Calls a defined callback function on each element of an array, and returns an array that contains the results.\n@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"map",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: any[], index: number, array: any[][]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => U, thisArg?: any) => U[])"}},filter:{defaultValue:null,description:"Returns the elements of an array that meet the condition specified in a callback function.\nReturns the elements of an array that meet the condition specified in a callback function.\n@param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n@param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"filter",required:!0,type:{name:"{ (callbackfn: (value: any, index: number, array: any[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any): any[]; } | { (callbackfn: (value: any[], index: number, array: any[][]) => value is S, thisArg?: any): S[]; (..."}},reduce:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\nCalls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; (callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) ..."}},reduceRight:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\nCalls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; (callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) ..."}},find:{defaultValue:null,description:"Returns the value of the first element in the array where predicate is true, and undefined\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\rorder, until it finds one where predicate returns true. If such an element is found, find\rimmediately returns that element value. Otherwise, find returns undefined.\n@param thisArg If provided, it will be used as the this value for each invocation of\rpredicate. If it is not provided, undefined is used instead.",name:"find",required:!0,type:{name:"{ (predicate: (this: void, value: any, index: number, obj: any[]) => value is S, thisArg?: any): S; (predicate: (value: any, index: number, obj: any[]) => unknown, thisArg?: any): any; } | { ...; } | { ...; }"}},findIndex:{defaultValue:null,description:"Returns the index of the first element in the array where predicate is true, and -1\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\rorder, until it finds one where predicate returns true. If such an element is found,\rfindIndex immediately returns that element index. Otherwise, findIndex returns -1.\n@param thisArg If provided, it will be used as the this value for each invocation of\rpredicate. If it is not provided, undefined is used instead.",name:"findIndex",required:!0,type:{name:"((predicate: (value: any, index: number, obj: any[]) => unknown, thisArg?: any) => number) | ((predicate: (value: any[], index: number, obj: any[][]) => unknown, thisArg?: any) => number) | ((predicate: (value: any[][], index: number, obj: any[][][]) => unknown, thisArg?: any) => number)"}},fill:{defaultValue:null,description:"Returns the this object after filling the section identified by start and end with value\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\rlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\rlength+end.",name:"fill",required:!0,type:{name:"((value: any, start?: number, end?: number) => any[]) | ((value: any[], start?: number, end?: number) => any[][]) | ((value: any[][], start?: number, end?: number) => any[][][])"}},copyWithin:{defaultValue:null,description:"Returns the this object after copying a section of the array identified by start and end\nto the same array starting at position target\n@param target If target is negative, it is treated as length+target where length is the\rlength of the array.\n@param start If start is negative, it is treated as length+start. If end is negative, it\ris treated as length+end.\n@param end If not specified, length of the this object is used as its default value.",name:"copyWithin",required:!0,type:{name:"((target: number, start: number, end?: number) => any[]) | ((target: number, start: number, end?: number) => any[][]) | ((target: number, start: number, end?: number) => any[][][])"}},"__@iterator":{defaultValue:null,description:"Iterator",name:"__@iterator",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"(() => IterableIterator<[number, any]>) | (() => IterableIterator<[number, any[]]>) | (() => IterableIterator<[number, any[][]]>)"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},"__@unscopables":{defaultValue:null,description:"Returns an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",name:"__@unscopables",required:!0,type:{name:"(() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { ...; })"}},includes:{defaultValue:null,description:"Determines whether an array includes a certain element, returning true or false as appropriate.\n@param searchElement The element to search for.\n@param fromIndex The position in this array at which to begin searching for searchElement.",name:"includes",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => boolean) | ((searchElement: any[], fromIndex?: number) => boolean) | ((searchElement: any[][], fromIndex?: number) => boolean)"}},flatMap:{defaultValue:null,description:"Calls a defined callback function on each element of an array. Then, flattens the result into\na new array.\nThis is identical to a map followed by flat with depth 1.\n@param callback A function that accepts up to three arguments. The flatMap method calls the\rcallback function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callback function. If\rthisArg is omitted, undefined is used as the this value.",name:"flatMap",required:!0,type:{name:"((callback: (this: This, value: any, index: number, array: any[]) => U | readonly U[], thisArg?: This) => U[]) | ((callback: (this: This, value: any[], index: number, array: any[][]) => U | readonly U[], thisArg?: This) => U[]) | ((callback: (this: This,..."}},flat:{defaultValue:null,description:"Returns a new array with all sub-array elements concatenated into it recursively up to the\nspecified depth.\n@param depth The maximum recursion depth",name:"flat",required:!0,type:{name:"((this: A, depth?: D) => FlatArray[]) | ((this: A, depth?: D) => FlatArray[]) | ((this: A, depth?: D) => FlatArray<...>[])"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"((index: number) => any) | ((index: number) => any[]) | ((index: number) => any[][])"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/helpers/amapPolygonPath2GeoJSONCoords.ts#amapPolygonPath2GeoJSONCoords"]={docgenInfo:amapPolygonPath2GeoJSONCoords_amapPolygonPath2GeoJSONCoords.__docgenInfo,name:"amapPolygonPath2GeoJSONCoords",path:"src/helpers/amapPolygonPath2GeoJSONCoords.ts#amapPolygonPath2GeoJSONCoords"})}catch(__react_docgen_typescript_loader_error){}try{useAMapContainerBinder.displayName="useAMapContainerBinder",useAMapContainerBinder.__docgenInfo={description:"",displayName:"useAMapContainerBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/index.ts#useAMapContainerBinder"]={docgenInfo:useAMapContainerBinder.__docgenInfo,name:"useAMapContainerBinder",path:"src/index.ts#useAMapContainerBinder"})}catch(__react_docgen_typescript_loader_error){}try{useAMapOverlayBinder.displayName="useAMapOverlayBinder",useAMapOverlayBinder.__docgenInfo={description:"将 overlay 绑定至 OverlayGroup 或直接绑定至 Map",displayName:"useAMapOverlayBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/index.ts#useAMapOverlayBinder"]={docgenInfo:useAMapOverlayBinder.__docgenInfo,name:"useAMapOverlayBinder",path:"src/index.ts#useAMapOverlayBinder"})}catch(__react_docgen_typescript_loader_error){}try{coordsOfGeoJSON2AMapPolygonPath.displayName="coordsOfGeoJSON2AMapPolygonPath",coordsOfGeoJSON2AMapPolygonPath.__docgenInfo={description:"去掉最后一个 Position 点。\n支持 GeoJSON.Polygon 和 GeoJSON.MultiplePolygon 转换",displayName:"coordsOfGeoJSON2AMapPolygonPath",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/index.ts#coordsOfGeoJSON2AMapPolygonPath"]={docgenInfo:coordsOfGeoJSON2AMapPolygonPath.__docgenInfo,name:"coordsOfGeoJSON2AMapPolygonPath",path:"src/index.ts#coordsOfGeoJSON2AMapPolygonPath"})}catch(__react_docgen_typescript_loader_error){}try{amapPolygonPath2GeoJSONCoords.displayName="amapPolygonPath2GeoJSONCoords",amapPolygonPath2GeoJSONCoords.__docgenInfo={description:"补充最后一个 Position。\n支持转换至 GeoJSON.Polygon 和 GeoJSON.MultiplePolygon 的 coords",displayName:"amapPolygonPath2GeoJSONCoords",props:{length:{defaultValue:null,description:"Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.",name:"length",required:!0,type:{name:"number"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"(() => string) | (() => string) | (() => string)"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocalString methods.",name:"toLocaleString",required:!1,type:{name:"(() => string) | (() => string) | (() => string)"}},pop:{defaultValue:null,description:"Removes the last element from an array and returns it.",name:"pop",required:!0,type:{name:"(() => any) | (() => any[]) | (() => any[][])"}},push:{defaultValue:null,description:"Appends new elements to an array, and returns the new length of the array.\n@param items New elements of the Array.",name:"push",required:!0,type:{name:"((...items: any[]) => number) | ((...items: any[][]) => number) | ((...items: any[][][]) => number)"}},concat:{defaultValue:null,description:"Combines two or more arrays.\nCombines two or more arrays.\n@param items Additional items to add to the end of array1.\n@param items Additional items to add to the end of array1.",name:"concat",required:!0,type:{name:"{ (...items: ConcatArray[]): any[]; (...items: any[]): any[]; } | { (...items: ConcatArray[]): any[][]; (...items: (any[] | ConcatArray)[]): any[][]; } | { ...; }"}},join:{defaultValue:null,description:"Adds all the elements of an array separated by the specified separator string.\n@param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.",name:"join",required:!0,type:{name:"((separator?: string) => string) | ((separator?: string) => string) | ((separator?: string) => string)"}},reverse:{defaultValue:null,description:"Reverses the elements in an Array.",name:"reverse",required:!0,type:{name:"(() => any[]) | (() => any[][]) | (() => any[][][])"}},shift:{defaultValue:null,description:"Removes the first element from an array and returns it.",name:"shift",required:!0,type:{name:"(() => any) | (() => any[]) | (() => any[][])"}},slice:{defaultValue:null,description:"Returns a section of an array.\n@param start The beginning of the specified portion of the array.\n@param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.",name:"slice",required:!0,type:{name:"((start?: number, end?: number) => any[]) | ((start?: number, end?: number) => any[][]) | ((start?: number, end?: number) => any[][][])"}},sort:{defaultValue:null,description:"Sorts an array.\n@param compareFn Function used to determine the order of the elements. It is expected to return\ra negative value if first argument is less than second argument, zero if they're equal and a positive\rvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r```ts\r[11,2,22,1].sort((a, b) => a - b)\r```",name:"sort",required:!0,type:{name:"((compareFn?: (a: any, b: any) => number) => any[]) | ((compareFn?: (a: any[], b: any[]) => number) => any[][]) | ((compareFn?: (a: any[][], b: any[][]) => number) => any[][][])"}},splice:{defaultValue:null,description:"Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\nRemoves elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param items Elements to insert into the array in place of the deleted elements.",name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number): any[]; (start: number, deleteCount: number, ...items: any[]): any[]; } | { (start: number, deleteCount?: number): any[][]; (start: number, deleteCount: number, ...items: any[][]): any[][]; } | { ...; }"}},unshift:{defaultValue:null,description:"Inserts new elements at the start of an array.\n@param items Elements to insert at the start of the Array.",name:"unshift",required:!0,type:{name:"((...items: any[]) => number) | ((...items: any[][]) => number) | ((...items: any[][][]) => number)"}},indexOf:{defaultValue:null,description:"Returns the index of the first occurrence of a value in an array.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",name:"indexOf",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => number) | ((searchElement: any[], fromIndex?: number) => number) | ((searchElement: any[][], fromIndex?: number) => number)"}},lastIndexOf:{defaultValue:null,description:"Returns the index of the last occurrence of a specified value in an array.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.",name:"lastIndexOf",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => number) | ((searchElement: any[], fromIndex?: number) => number) | ((searchElement: any[][], fromIndex?: number) => number)"}},every:{defaultValue:null,description:"Determines whether all the members of an array satisfy the specified test.\n@param callbackfn A function that accepts up to three arguments. The every method calls\rthe callbackfn function for each element in the array until the callbackfn returns a value\rwhich is coercible to the Boolean value false, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function.\rIf thisArg is omitted, undefined is used as the this value.",name:"every",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[], index: number, array: any[][]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => unknown, thisArg?: any) => boolean)"}},some:{defaultValue:null,description:"Determines whether the specified callback function returns true for any element of an array.\n@param callbackfn A function that accepts up to three arguments. The some method calls\rthe callbackfn function for each element in the array until the callbackfn returns a value\rwhich is coercible to the Boolean value true, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function.\rIf thisArg is omitted, undefined is used as the this value.",name:"some",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[], index: number, array: any[][]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => unknown, thisArg?: any) => boolean)"}},forEach:{defaultValue:null,description:"Performs the specified action for each element in an array.\n@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"forEach",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => void, thisArg?: any) => void) | ((callbackfn: (value: any[], index: number, array: any[][]) => void, thisArg?: any) => void) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => void, thisArg?: any) => void)"}},map:{defaultValue:null,description:"Calls a defined callback function on each element of an array, and returns an array that contains the results.\n@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"map",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: any[], index: number, array: any[][]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => U, thisArg?: any) => U[])"}},filter:{defaultValue:null,description:"Returns the elements of an array that meet the condition specified in a callback function.\nReturns the elements of an array that meet the condition specified in a callback function.\n@param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n@param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"filter",required:!0,type:{name:"{ (callbackfn: (value: any, index: number, array: any[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any): any[]; } | { (callbackfn: (value: any[], index: number, array: any[][]) => value is S, thisArg?: any): S[]; (..."}},reduce:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\nCalls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; (callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) ..."}},reduceRight:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\nCalls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; (callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) ..."}},find:{defaultValue:null,description:"Returns the value of the first element in the array where predicate is true, and undefined\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\rorder, until it finds one where predicate returns true. If such an element is found, find\rimmediately returns that element value. Otherwise, find returns undefined.\n@param thisArg If provided, it will be used as the this value for each invocation of\rpredicate. If it is not provided, undefined is used instead.",name:"find",required:!0,type:{name:"{ (predicate: (this: void, value: any, index: number, obj: any[]) => value is S, thisArg?: any): S; (predicate: (value: any, index: number, obj: any[]) => unknown, thisArg?: any): any; } | { ...; } | { ...; }"}},findIndex:{defaultValue:null,description:"Returns the index of the first element in the array where predicate is true, and -1\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\rorder, until it finds one where predicate returns true. If such an element is found,\rfindIndex immediately returns that element index. Otherwise, findIndex returns -1.\n@param thisArg If provided, it will be used as the this value for each invocation of\rpredicate. If it is not provided, undefined is used instead.",name:"findIndex",required:!0,type:{name:"((predicate: (value: any, index: number, obj: any[]) => unknown, thisArg?: any) => number) | ((predicate: (value: any[], index: number, obj: any[][]) => unknown, thisArg?: any) => number) | ((predicate: (value: any[][], index: number, obj: any[][][]) => unknown, thisArg?: any) => number)"}},fill:{defaultValue:null,description:"Returns the this object after filling the section identified by start and end with value\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\rlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\rlength+end.",name:"fill",required:!0,type:{name:"((value: any, start?: number, end?: number) => any[]) | ((value: any[], start?: number, end?: number) => any[][]) | ((value: any[][], start?: number, end?: number) => any[][][])"}},copyWithin:{defaultValue:null,description:"Returns the this object after copying a section of the array identified by start and end\nto the same array starting at position target\n@param target If target is negative, it is treated as length+target where length is the\rlength of the array.\n@param start If start is negative, it is treated as length+start. If end is negative, it\ris treated as length+end.\n@param end If not specified, length of the this object is used as its default value.",name:"copyWithin",required:!0,type:{name:"((target: number, start: number, end?: number) => any[]) | ((target: number, start: number, end?: number) => any[][]) | ((target: number, start: number, end?: number) => any[][][])"}},"__@iterator":{defaultValue:null,description:"Iterator",name:"__@iterator",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"(() => IterableIterator<[number, any]>) | (() => IterableIterator<[number, any[]]>) | (() => IterableIterator<[number, any[][]]>)"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},"__@unscopables":{defaultValue:null,description:"Returns an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",name:"__@unscopables",required:!0,type:{name:"(() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { ...; })"}},includes:{defaultValue:null,description:"Determines whether an array includes a certain element, returning true or false as appropriate.\n@param searchElement The element to search for.\n@param fromIndex The position in this array at which to begin searching for searchElement.",name:"includes",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => boolean) | ((searchElement: any[], fromIndex?: number) => boolean) | ((searchElement: any[][], fromIndex?: number) => boolean)"}},flatMap:{defaultValue:null,description:"Calls a defined callback function on each element of an array. Then, flattens the result into\na new array.\nThis is identical to a map followed by flat with depth 1.\n@param callback A function that accepts up to three arguments. The flatMap method calls the\rcallback function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callback function. If\rthisArg is omitted, undefined is used as the this value.",name:"flatMap",required:!0,type:{name:"((callback: (this: This, value: any, index: number, array: any[]) => U | readonly U[], thisArg?: This) => U[]) | ((callback: (this: This, value: any[], index: number, array: any[][]) => U | readonly U[], thisArg?: This) => U[]) | ((callback: (this: This,..."}},flat:{defaultValue:null,description:"Returns a new array with all sub-array elements concatenated into it recursively up to the\nspecified depth.\n@param depth The maximum recursion depth",name:"flat",required:!0,type:{name:"((this: A, depth?: D) => FlatArray[]) | ((this: A, depth?: D) => FlatArray[]) | ((this: A, depth?: D) => FlatArray<...>[])"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"((index: number) => any) | ((index: number) => any[]) | ((index: number) => any[][])"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/index.ts#amapPolygonPath2GeoJSONCoords"]={docgenInfo:amapPolygonPath2GeoJSONCoords.__docgenInfo,name:"amapPolygonPath2GeoJSONCoords",path:"src/index.ts#amapPolygonPath2GeoJSONCoords"})}catch(__react_docgen_typescript_loader_error){}},1201:function(module,exports,__webpack_require__){"use strict";__webpack_require__(11),__webpack_require__(4),__webpack_require__(56),__webpack_require__(9),__webpack_require__(1202),__webpack_require__(51),__webpack_require__(52),__webpack_require__(1203),__webpack_require__(46),__webpack_require__(54);var _clientApi=__webpack_require__(72),_clientLogger=__webpack_require__(53),_configFilename=__webpack_require__(1204);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i"}},cursor:{description:"指定鼠标悬停时的鼠标样式",type:{required:!1,summary:"string"}},extData:{description:"设置用户自定义属性",type:{required:!1,summary:"Object"}},draggable:{description:"是否可拖动",type:{required:!1,summary:"type",defaultValue:!1},table:{defaultValue:!1},control:{type:"boolean"}},visible:{description:"显示或隐藏",type:{required:!1,summary:"boolean",defaultValue:!0},table:{defaultValue:!0},control:{type:"boolean"}},bubble:{description:"是否将覆盖物的鼠标或touch等事件冒泡到地图上",type:{required:!1,summary:"boolean",defaultValue:!1},table:{defaultValue:!1},control:{type:"boolean"}},onShow:{description:"显示,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.a,__assign({},args))},CommonUse=Template.bind({});CommonUse.storyName="基本使用",CommonUse.args={};var CustomStyle=Template.bind({});CustomStyle.storyName="自定义样式",CustomStyle.args={fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]};var ClickEvent=Template.bind({});ClickEvent.storyName="点击事件(左单/左双/右单)",ClickEvent.args={onClick:eventHandler.onClick,onDBLClick:eventHandler.onDBLClick,onRightClick:eventHandler.onRightClick};var MouseEvent=Template.bind({});MouseEvent.storyName="鼠标事件(按下/抬起/经过/移出)",MouseEvent.args={onMousedown:eventHandler.onMousedown,onMouseup:eventHandler.onMouseup,onMouseover:eventHandler.onMouseover,onMouseout:eventHandler.onMouseout};var TouchEvent=Template.bind({});TouchEvent.storyName="触摸事件(触摸开始/触摸移动/触摸结束)",TouchEvent.args={onTouchstart:eventHandler.onTouchstart,onTouchmove:eventHandler.onTouchmove,onTouchend:eventHandler.onTouchend},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CommonUse.parameters),CustomStyle.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CustomStyle.parameters),ClickEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},ClickEvent.parameters),MouseEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},MouseEvent.parameters),TouchEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},TouchEvent.parameters)},1212:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ChangeOffset",(function(){return ChangeOffset})),__webpack_require__.d(__webpack_exports__,"ChangePosition",(function(){return ChangePosition})),__webpack_require__.d(__webpack_exports__,"HideControlButton",(function(){return HideControlButton}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},ChangeOffset.parameters),ChangePosition.parameters=__assign({storySource:{source:"(args) => "}},ChangePosition.parameters),HideControlButton.parameters=__assign({storySource:{source:"(args) => "}},HideControlButton.parameters)},1213:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"CustomStyle",(function(){return CustomStyle})),__webpack_require__.d(__webpack_exports__,"ClickEvent",(function(){return ClickEvent})),__webpack_require__.d(__webpack_exports__,"MouseEvent",(function(){return MouseEvent})),__webpack_require__.d(__webpack_exports__,"TouchEvent",(function(){return TouchEvent}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),_AMapAutoFitView_stories_withAutoFitView__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(100),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i"}},cursor:{description:"指定鼠标悬停时的鼠标样式",type:{required:!1,summary:"string"}},extData:{description:"设置用户自定义属性",type:{required:!1,summary:"Object"}},draggable:{description:"是否可拖动",type:{required:!1,summary:"type",defaultValue:!1},table:{defaultValue:!1},control:{type:"boolean"}},visible:{description:"显示或隐藏",type:{required:!1,summary:"boolean",defaultValue:!0},table:{defaultValue:!0},control:{type:"boolean"}},bubble:{description:"是否将覆盖物的鼠标或touch等事件冒泡到地图上",type:{required:!1,summary:"boolean",defaultValue:!1},table:{defaultValue:!1},control:{type:"boolean"}},onShow:{description:"显示,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.c,__assign({},args))},CommonUse=Template.bind({});CommonUse.storyName="基本使用",CommonUse.args={};var CustomStyle=Template.bind({});CustomStyle.storyName="自定义样式",CustomStyle.args={fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]};var ClickEvent=Template.bind({});ClickEvent.storyName="点击事件(左单/左双/右单)",ClickEvent.args={onClick:eventHandler.onClick,onDBLClick:eventHandler.onDBLClick,onRightClick:eventHandler.onRightClick};var MouseEvent=Template.bind({});MouseEvent.storyName="鼠标事件(按下/抬起/经过/移出)",MouseEvent.args={onMousedown:eventHandler.onMousedown,onMouseup:eventHandler.onMouseup,onMouseover:eventHandler.onMouseover,onMouseout:eventHandler.onMouseout};var TouchEvent=Template.bind({});TouchEvent.storyName="触摸事件(触摸开始/触摸移动/触摸结束)",TouchEvent.args={onTouchstart:eventHandler.onTouchstart,onTouchmove:eventHandler.onTouchmove,onTouchend:eventHandler.onTouchend},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CommonUse.parameters),CustomStyle.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CustomStyle.parameters),ClickEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},ClickEvent.parameters),MouseEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},MouseEvent.parameters),TouchEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},TouchEvent.parameters)},1214:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"CustomStyle",(function(){return CustomStyle})),__webpack_require__.d(__webpack_exports__,"CustomOverlay",(function(){return CustomOverlay}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),index__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(36),_AMapAutoFitView_stories_withAutoFitView__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(100),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i AMap.Overlay"}}},getPolyline:{description:"指定点要素的绘制方式,缺省时为 Polyline 的默认样式。",table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}},getPolygon:{description:"指定点要素的绘制方式,缺省时为 Polygon 的默认样式。",table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_3__.d,__assign({},args))},CommonUse=Template.bind({});CommonUse.storyName="基本使用";var CustomStyle=Template.bind({});CustomStyle.storyName="自定义样式",CustomStyle.args={options:{strokeColor:"red",strokeWeight:4}};var CustomOverlay=Template.bind({});CustomOverlay.storyName="自定义覆盖物",CustomOverlay.args={options:{strokeColor:"red",strokeWeight:4},getMarker:function getMarker(_,lnglat,map,AMap){var options={position:lnglat,map:map,label:{offset:[],direction:"Top",content:"MyMarker"}};return new AMap.Marker(options)},getPolyline:function getPolyline(_,lnglat,map,AMap){var options={path:lnglat,map:map};return new AMap.Polyline(options)},getPolygon:function getPolygon(_,lnglat,map,AMap){var polygon=new AMap.Polygon,path=Object(index__WEBPACK_IMPORTED_MODULE_3__.n)(lnglat);return polygon.setPath(path),polygon.setOptions({strokeColor:"yellow"}),polygon.setMap(map),polygon}},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CommonUse.parameters),CustomStyle.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CustomStyle.parameters),CustomOverlay.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CustomOverlay.parameters)},1215:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ChangePosition",(function(){return ChangePosition})),__webpack_require__.d(__webpack_exports__,"ChangeStyle",(function(){return ChangeStyle})),__webpack_require__.d(__webpack_exports__,"ChangeTheme",(function(){return ChangeTheme})),__webpack_require__.d(__webpack_exports__,"NotAutoMove",(function(){return NotAutoMove}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},ChangePosition.parameters),ChangeStyle.parameters=__assign({storySource:{source:"(args) => "}},ChangeStyle.parameters),ChangeTheme.parameters=__assign({storySource:{source:"(args) => "}},ChangeTheme.parameters),NotAutoMove.parameters=__assign({storySource:{source:"(args) => "}},NotAutoMove.parameters)},1216:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"DefaultType",(function(){return DefaultType})),__webpack_require__.d(__webpack_exports__,"DefaultShowTraffic",(function(){return DefaultShowTraffic})),__webpack_require__.d(__webpack_exports__,"DefaultShowRoad",(function(){return DefaultShowRoad}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},CommonUse.parameters),DefaultType.parameters=__assign({storySource:{source:"(args) => "}},DefaultType.parameters),DefaultShowTraffic.parameters=__assign({storySource:{source:"(args) => "}},DefaultShowTraffic.parameters),DefaultShowRoad.parameters=__assign({storySource:{source:"(args) => "}},DefaultShowRoad.parameters)},1217:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"CustomIcon",(function(){return CustomIcon})),__webpack_require__.d(__webpack_exports__,"CustomContent",(function(){return CustomContent})),__webpack_require__.d(__webpack_exports__,"CustomLabel",(function(){return CustomLabel})),__webpack_require__.d(__webpack_exports__,"CustomZooms",(function(){return CustomZooms})),__webpack_require__.d(__webpack_exports__,"Draggable",(function(){return Draggable})),__webpack_require__.d(__webpack_exports__,"CustomAnchor",(function(){return CustomAnchor})),__webpack_require__.d(__webpack_exports__,"CustomOffset",(function(){return CustomOffset})),__webpack_require__.d(__webpack_exports__,"CustomAngle",(function(){return CustomAngle})),__webpack_require__.d(__webpack_exports__,"SameZIndex",(function(){return SameZIndex})),__webpack_require__.d(__webpack_exports__,"ClickEvent",(function(){return ClickEvent})),__webpack_require__.d(__webpack_exports__,"MouseEvent",(function(){return MouseEvent})),__webpack_require__.d(__webpack_exports__,"TouchEvent",(function(){return TouchEvent}));__webpack_require__(3),__webpack_require__(22),__webpack_require__(4),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__),react_dom_server__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(373),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(39),index__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(36),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i void"},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousemove:{description:"鼠标移动",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onDragstart:{description:"开始拖拽点标记时触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onDragging:{description:"鼠标拖拽移动点标记时触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onDragend:{description:"点标记拖拽移动结束触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onMoving:{description:"点标记在执行 `moveTo`,`moveAlong` 动画时触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onMoveEnd:{description:"点标记在执行 `moveTo`,`moveAlong` 动画时触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onMoveAlong:{description:"点标记执行 moveAlong 动画一次后触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.h,__assign({},args))},CommonUse=Template.bind({});CommonUse.storyName="一般使用",CommonUse.args={};var CustomIcon=Template.bind({});CustomIcon.storyName="自定义标记图标",CustomIcon.args={icon:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",size:[38,60]};var CustomContent=Template.bind({});CustomContent.storyName="自定义标记内容",CustomContent.args={content:Object(react_dom_server__WEBPACK_IMPORTED_MODULE_5__.renderToString)(react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("span",{style:{color:"red"}},"点")),icon:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",size:[38,60]};var CustomLabel=Template.bind({});CustomLabel.storyName="自定义标签内容",CustomLabel.args={label:{content:Object(react_dom_server__WEBPACK_IMPORTED_MODULE_5__.renderToString)(react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("span",{style:{color:"red"}},"标签内容")),offset:[0,10],direction:"bottom"}};var CustomZooms=function CustomZooms(args){return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_4___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.m,null),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.h,__assign({},args)))};CustomZooms.storyName="自定义可显示层级",CustomZooms.args={zooms:[10,14]};var Draggable=Template.bind({});Draggable.storyName="可拖拽",Draggable.args={draggable:!0,onDragstart:eventHandler.onDragstart,onDragging:eventHandler.onDragging,onDragend:eventHandler.onDragend};var CustomAnchor=Template.bind({});CustomAnchor.storyName="自定义点标记锚点",CustomAnchor.args={anchor:"bottom-center"};var CustomOffset=Template.bind({});CustomOffset.storyName="自定义偏移量",CustomOffset.args={offset:[300,300]};var CustomAngle=Template.bind({});CustomAngle.storyName="自定义旋转角度",CustomAngle.args={angle:45};var SameZIndex=function SameZIndex(_a){var zIndex=_a.zIndex,args=__rest(_a,["zIndex"]);return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_4___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.h,__assign({},args,{zIndex:zIndex,icon:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",size:[38,60]})),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.h,__assign({},args)))};SameZIndex.storyName="自定义 Marker 层级",SameZIndex.args={zIndex:13};var ClickEvent=Template.bind({});ClickEvent.storyName="点击事件(左单/左双/右单)",ClickEvent.args={onClick:eventHandler.onClick,onDBLClick:eventHandler.onDBLClick,onRightClick:eventHandler.onRightClick};var MouseEvent=Template.bind({});MouseEvent.storyName="鼠标事件(按下/抬起/经过/移出)",MouseEvent.args={onMousedown:eventHandler.onMousedown,onMouseup:eventHandler.onMouseup,onMouseover:eventHandler.onMouseover,onMouseout:eventHandler.onMouseout};var TouchEvent=Template.bind({});TouchEvent.storyName="触摸事件(触摸开始/触摸移动/触摸结束)",TouchEvent.args={onTouchstart:eventHandler.onTouchstart,onTouchmove:eventHandler.onTouchmove,onTouchend:eventHandler.onTouchend},CommonUse.parameters=__assign({storySource:{source:"(args) => "}},CommonUse.parameters),CustomIcon.parameters=__assign({storySource:{source:"(args) => "}},CustomIcon.parameters),CustomContent.parameters=__assign({storySource:{source:"(args) => "}},CustomContent.parameters),CustomLabel.parameters=__assign({storySource:{source:"(args) => "}},CustomLabel.parameters),CustomZooms.parameters=__assign({storySource:{source:"(args) => (\n <>\n \n \n \n)"}},CustomZooms.parameters),Draggable.parameters=__assign({storySource:{source:"(args) => "}},Draggable.parameters),CustomAnchor.parameters=__assign({storySource:{source:"(args) => "}},CustomAnchor.parameters),CustomOffset.parameters=__assign({storySource:{source:"(args) => "}},CustomOffset.parameters),CustomAngle.parameters=__assign({storySource:{source:"(args) => "}},CustomAngle.parameters),SameZIndex.parameters=__assign({storySource:{source:'({\n \n zIndex,\n ...args\n}) => (\n <>\n \n \n \n)'}},SameZIndex.parameters),ClickEvent.parameters=__assign({storySource:{source:"(args) => "}},ClickEvent.parameters),MouseEvent.parameters=__assign({storySource:{source:"(args) => "}},MouseEvent.parameters),TouchEvent.parameters=__assign({storySource:{source:"(args) => "}},TouchEvent.parameters)},1219:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i) => void'}}}};var CommonUse=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.i,__assign({},args))}.bind({});CommonUse.storyName="基本使用",CommonUse.args={type:"polygon",options:{strokeColor:"red",strokeWeight:4},onCompleted:eventHandler.onCompleted},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CommonUse.parameters)},1220:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"CustomStyle",(function(){return CustomStyle})),__webpack_require__.d(__webpack_exports__,"NestedUse",(function(){return NestedUse})),__webpack_require__.d(__webpack_exports__,"ClickEvent",(function(){return ClickEvent})),__webpack_require__.d(__webpack_exports__,"MouseEvent",(function(){return MouseEvent})),__webpack_require__.d(__webpack_exports__,"TouchEvent",(function(){return TouchEvent}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),_AMapAutoFitView_stories_withAutoFitView__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(100),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i void"},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.j,__assign({},args),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.d,{geoJSON:{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:{type:"Polygon",coordinates:[[[116.272781,39.98221],[116.274904,39.903107],[116.481254,39.907666],[116.464271,39.988716],[116.272781,39.98221]]]}}]}}),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.a,{center:[116.39,39.9],radius:1e4}),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.c,{center:[116.39,39.9],radius:[1e4,5e3]}),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.h,{position:[116.39,39.9]}))},CommonUse=Template.bind({});CommonUse.storyName="基本使用",CommonUse.args={};var CustomStyle=Template.bind({});CustomStyle.storyName="自定义样式",CustomStyle.args={options:{fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]}};var NestedUse=function NestedUse(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.j,null,react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.j,__assign({},args),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.a,{center:[116.39,39.9],radius:1e4})),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.c,{center:[116.39,39.9],radius:[1e4,5e3]}),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.h,{position:[116.39,39.9]}))};NestedUse.storyName="嵌套使用",NestedUse.args={options:CustomStyle.args.options};var ClickEvent=Template.bind({});ClickEvent.storyName="点击事件(左单/左双/右单)",ClickEvent.args={onClick:eventHandler.onClick,onDBLClick:eventHandler.onDBLClick,onRightClick:eventHandler.onRightClick};var MouseEvent=Template.bind({});MouseEvent.storyName="鼠标事件(按下/抬起/经过/移出)",MouseEvent.args={onMousedown:eventHandler.onMousedown,onMouseup:eventHandler.onMouseup,onMouseover:eventHandler.onMouseover,onMouseout:eventHandler.onMouseout};var TouchEvent=Template.bind({});TouchEvent.storyName="触摸事件(触摸开始/触摸移动/触摸结束)",TouchEvent.args={onTouchstart:eventHandler.onTouchstart,onTouchmove:eventHandler.onTouchmove,onTouchend:eventHandler.onTouchend},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},CommonUse.parameters),CustomStyle.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},CustomStyle.parameters),NestedUse.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n \n)"}},NestedUse.parameters),ClickEvent.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},ClickEvent.parameters),MouseEvent.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},MouseEvent.parameters),TouchEvent.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},TouchEvent.parameters)},1221:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithGeoJSON",(function(){return WithGeoJSON})),__webpack_require__.d(__webpack_exports__,"SetAdsorbPolygons",(function(){return SetAdsorbPolygons})),__webpack_require__.d(__webpack_exports__,"DisablePolygonEditor",(function(){return DisablePolygonEditor}));__webpack_require__(3),__webpack_require__(66),__webpack_require__(56),__webpack_require__(9);var react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__),index__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(12),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(39),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(36),_AMapAutoFitView_stories_withAutoFitView__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(100),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i allPolygons"}},control:!1},onChange:{description:"Target 变化时的回调",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_4___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_5__.d,{geoJSON:mockData}),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_5__.k,__assign({},args)))},WithGeoJSON=Template.bind({});WithGeoJSON.storyName="与AMapGeoJSON一同使用",WithGeoJSON.args={computeTarget:function computeTarget(polygons){return polygons[1]}};var SetAdsorbPolygons=Template.bind({});SetAdsorbPolygons.storyName="自定义磁吸围栏",SetAdsorbPolygons.args={computeAdsorbPolygons:function computeAdsorbPolygons(polygons){return polygons.filter((function(_,index){return 1===index}))}};var DisablePolygonEditor=Template.bind({});DisablePolygonEditor.storyName="禁用编辑器",DisablePolygonEditor.args={disabled:!0},WithGeoJSON.parameters=__assign({storySource:{source:"(args) => (\n <>\n \n \n \n)"}},WithGeoJSON.parameters),SetAdsorbPolygons.parameters=__assign({storySource:{source:"(args) => (\n <>\n \n \n \n)"}},SetAdsorbPolygons.parameters),DisablePolygonEditor.parameters=__assign({storySource:{source:"(args) => (\n <>\n \n \n \n)"}},DisablePolygonEditor.parameters)},1222:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ChangeOffset",(function(){return ChangeOffset})),__webpack_require__.d(__webpack_exports__,"ChangePosition",(function(){return ChangePosition}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},ChangeOffset.parameters),ChangePosition.parameters=__assign({storySource:{source:"(args) => "}},ChangePosition.parameters)},1223:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ChangeOffset",(function(){return ChangeOffset})),__webpack_require__.d(__webpack_exports__,"ChangePosition",(function(){return ChangePosition}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},ChangeOffset.parameters),ChangePosition.parameters=__assign({storySource:{source:"(args) => "}},ChangePosition.parameters)},157:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),_components_AMapAPIContainer__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(254);__webpack_exports__.a=function useAMapAPI(){return Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_components_AMapAPIContainer__WEBPACK_IMPORTED_MODULE_1__.a)}},158:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),AMapOverlayGroupContext=Object(react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);__webpack_exports__.a=AMapOverlayGroupContext},197:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return AMapMap_AMapMapContext})),__webpack_require__.d(__webpack_exports__,"a",(function(){return AMapMap_AMapMap}));var react=__webpack_require__(0),AMapMap_AMapMapContext=react.createContext(null),useAMapAPI=__webpack_require__(157),CONTAINER_STYLE={width:"100%",height:"100%"},defaultProps={center:void 0,cityName:void 0,zoom:void 0},AMapMap=Object(react.forwardRef)((function(_a,ref){var children=_a.children,center=_a.center,cityName=_a.cityName,zoom=_a.zoom,AMap=Object(useAMapAPI.a)().__AMAP__,$mapContainer=Object(react.useRef)(null),_b=Object(react.useState)(null),curMap=_b[0],setInstance=_b[1];return Object(react.useEffect)((function(){var clearEffect;if(!$mapContainer.current||!AMap)return clearEffect;return function initMap(){var newInstance=new AMap.Map($mapContainer.current),mapProxy=new Proxy(newInstance,{get:function get(target,p){if("add"===p){return function newAddFunc(features){var result=target.add(features);return newInstance.emit("overlaysAdded",features),result}}if("remove"===p){return function newRemoveFunc(features){var result=target.remove(features);return newInstance.emit("overlaysRemoved",features),result}}return target[p]}});clearEffect=function clearEffect(){newInstance.destroy()},setInstance(mapProxy)}(),clearEffect}),[AMap]),Object(react.useImperativeHandle)(ref,(function(){return curMap}),[curMap]),Object(react.useEffect)((function(){cityName&&(null==curMap||curMap.setCity(cityName,(function(){})))}),[cityName,curMap]),Object(react.useEffect)((function(){zoom&&(null==curMap||curMap.setZoom(zoom))}),[zoom,curMap]),Object(react.useEffect)((function(){center&&(null==curMap||curMap.setCenter(center))}),[center,curMap]),react.createElement("div",{style:CONTAINER_STYLE,ref:$mapContainer},react.createElement(AMapMap_AMapMapContext.Provider,{value:curMap},children))}));AMapMap.defaultProps=defaultProps;var AMapMap_AMapMap=Object(react.memo)(AMapMap);try{AMapMap.displayName="AMapMap",AMapMap.__docgenInfo={description:"",displayName:"AMapMap",props:{center:{defaultValue:{value:"undefined"},description:"",name:"center",required:!1,type:{name:"[number, number]"}},cityName:{defaultValue:{value:"undefined"},description:"",name:"cityName",required:!1,type:{name:"string"}},zoom:{defaultValue:{value:"undefined"},description:"",name:"zoom",required:!1,type:{name:"number"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"ReactText"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMap/AMapMap.tsx#AMapMap"]={docgenInfo:AMapMap.__docgenInfo,name:"AMapMap",path:"src/components/AMapMap/AMapMap.tsx#AMapMap"})}catch(__react_docgen_typescript_loader_error){}try{AMapMap.displayName="AMapMap",AMapMap.__docgenInfo={description:"",displayName:"AMapMap",props:{center:{defaultValue:{value:"undefined"},description:"",name:"center",required:!1,type:{name:"[number, number]"}},cityName:{defaultValue:{value:"undefined"},description:"",name:"cityName",required:!1,type:{name:"string"}},zoom:{defaultValue:{value:"undefined"},description:"",name:"zoom",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMap/AMapMap.tsx#AMapMap"]={docgenInfo:AMapMap.__docgenInfo,name:"AMapMap",path:"src/components/AMapMap/AMapMap.tsx#AMapMap"})}catch(__react_docgen_typescript_loader_error){}},254:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return AMapAPIContainer_AMapAPIContext})),__webpack_require__.d(__webpack_exports__,"b",(function(){return createAMapAPIContainer_createAMapAPIContainer}));var react=__webpack_require__(0),react_default=__webpack_require__.n(react),defaultContext={__AMAP__:null,__AMAP_UI__:null},AMapAPIContainer_AMapAPIContext=Object(react.createContext)(defaultContext),dist=(__webpack_require__(3),__webpack_require__(9),__webpack_require__(116),__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(18),__webpack_require__(19),__webpack_require__(20),__webpack_require__(22),__webpack_require__(571)),dist_default=__webpack_require__.n(dist),getGlobalObject=__webpack_require__(261),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i0&&t[t.length-1])||6!==op[0]&&2!==op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]0&&promises.push(new Promise((function(r){AMap.plugin(otherOptions.plugins,r)}))),[4,Promise.all(promises)];case 3:_c.sent(),_c.label=4;case 4:return[2,{default:function AMapAPIContainer(_a){var children=_a.children;return react_default.a.createElement(AMapAPIContainer_AMapAPIContext.Provider,{value:{__AMAP__:AMap,__AMAP_UI__:AMapUI}},children)}}]}}))}))}))};try{createAMapAPIContainer_createAMapAPIContainer.displayName="createAMapAPIContainer",createAMapAPIContainer_createAMapAPIContainer.__docgenInfo={description:"",displayName:"createAMapAPIContainer",props:{version:{defaultValue:null,description:"",name:"version",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAPIContainer/createAMapAPIContainer.tsx#createAMapAPIContainer"]={docgenInfo:createAMapAPIContainer_createAMapAPIContainer.__docgenInfo,name:"createAMapAPIContainer",path:"src/components/AMapAPIContainer/createAMapAPIContainer.tsx#createAMapAPIContainer"})}catch(__react_docgen_typescript_loader_error){}try{createAMapAPIContainer_createAMapAPIContainer.displayName="createAMapAPIContainer",createAMapAPIContainer_createAMapAPIContainer.__docgenInfo={description:"",displayName:"createAMapAPIContainer",props:{key:{defaultValue:null,description:"",name:"key",required:!0,type:{name:"string"}},plugins:{defaultValue:null,description:"",name:"plugins",required:!1,type:{name:"string[]"}},AMapUI:{defaultValue:null,description:"",name:"AMapUI",required:!1,type:{name:"{ version?: string; plugins?: string[] | undefined; } | undefined"}},Loca:{defaultValue:null,description:"",name:"Loca",required:!1,type:{name:"{ version?: string; } | undefined"}},version:{defaultValue:null,description:"",name:"version",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAPIContainer/createAMapAPIContainer.tsx#createAMapAPIContainer"]={docgenInfo:createAMapAPIContainer_createAMapAPIContainer.__docgenInfo,name:"createAMapAPIContainer",path:"src/components/AMapAPIContainer/createAMapAPIContainer.tsx#createAMapAPIContainer"})}catch(__react_docgen_typescript_loader_error){}},259:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"AsyncPluginAPIContainer",(function(){return AsyncPluginAPIContainer})),__webpack_require__.d(__webpack_exports__,"AsyncPlugin",(function(){return AsyncPlugin})),__webpack_require__.d(__webpack_exports__,"SyncPlugin",(function(){return SyncPlugin}));__webpack_require__(3),__webpack_require__(15),__webpack_require__(27),__webpack_require__(9),__webpack_require__(24);var react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__),index__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(12),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {\n const { __AMAP__: AMap } = useAMapAPI();\n const $container = useRef(null);\n const $map = useRef(null);\n useEffect(() => {\n let clearEffect;\n if (!AMap || !$container.current) {\n return clearEffect;\n }\n\n const map = new AMap.Map($container.current);\n $map.current = map;\n\n AMap.plugin(\n ['ControlBar', 'ToolBar', 'Scale', 'MapType', 'HawkEye'].map(\n (pluginName) => `AMap.${pluginName}`,\n ),\n () => initPlugin(AMap, map),\n );\n\n AMapUI.loadUI('overlay/SimpleMarker', (SimpleMarker: typeof AMapUI.SimpleMarker) => {\n initUIPlugin(SimpleMarker, map);\n });\n\n clearEffect = () => {\n map.destroy();\n };\n\n return clearEffect;\n }, [AMap]);\n\n return
;\n};\n";AsyncPlugin.parameters={docs:{source:{code:AsyncPluginCode}}};var SyncPluginContentDrawer=function SyncPluginContentDrawer(){var _a=Object(index__WEBPACK_IMPORTED_MODULE_6__.p)(),AMap=_a.__AMAP__,AMapUI=_a.__AMAP_UI__,$container=Object(react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null),$map=Object(react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);return Object(react__WEBPACK_IMPORTED_MODULE_5__.useEffect)((function(){var clearEffect;if(!AMap||!$container.current)return clearEffect;var map=new AMap.Map($container.current);return $map.current=map,initPlugin(AMap,map),initUIPlugin(AMapUI.SimpleMarker,map),clearEffect=function clearEffect(){map.destroy()}}),[AMap,AMapUI]),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("div",{ref:$container,style:{height:400}})},SyncPlugin=function SyncPlugin(){return react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_5__.Suspense,{fallback:"loading..."},react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(SyncPluginAPIContainer,null,react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(SyncPluginContentDrawer,null)))};SyncPlugin.storyName="同步加载插件";var SyncPluginCode="\nconst SyncPluginAPIContainer = createAMapAPIContainer({\n version: '2.0',\n apiKey: AMAP_API_KEY,\n plugins: ['ControlBar', 'ToolBar', 'Scale', 'MapType', 'HawkEye'].map(\n (pluginName) => `AMap.${pluginName}`,\n ),\n AMapUI: {\n version: '1.1',\n plugins: ['overlay/SimpleMarker'],\n },\n});\n\n"+initPlugin.toString()+"\n\n"+initUIPlugin.toString()+"\n\nconst SyncPluginContentDrawer = () => {\n const { __AMAP__: AMap, __AMAP_UI__: AMapUI } = useAMapAPI();\n const $container = useRef(null);\n const $map = useRef(null);\n useEffect(() => {\n let clearEffect;\n if (!AMap || !$container.current) {\n return clearEffect;\n }\n\n const map = new AMap.Map($container.current);\n $map.current = map;\n\n initPlugin(AMap, map);\n initUIPlugin(AMapUI!.SimpleMarker, map);\n\n clearEffect = () => {\n map.destroy();\n };\n\n return clearEffect;\n }, [AMap, AMapUI]);\n return
;\n};\n\n() => (\n \n \n \n)\n";SyncPlugin.parameters={docs:{source:{code:SyncPluginCode}}},AsyncPluginAPIContainer.parameters=__assign({storySource:{source:"createAMapAPIContainer({\n key: AMAP_API_KEY,\n version: '2.0',\n AMapUI: {\n version: '1.1',\n },\n})"}},AsyncPluginAPIContainer.parameters),AsyncPlugin.parameters=__assign({storySource:{source:'() => (\n \n \n \n \n \n)'}},AsyncPlugin.parameters),SyncPlugin.parameters=__assign({storySource:{source:'() => (\n \n \n \n \n \n)'}},SyncPlugin.parameters);try{AsyncPluginAPIContainer.displayName="AsyncPluginAPIContainer",AsyncPluginAPIContainer.__docgenInfo={description:"",displayName:"AsyncPluginAPIContainer",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAPIContainer/stories/createAMapAPIContainer.stories.tsx#AsyncPluginAPIContainer"]={docgenInfo:AsyncPluginAPIContainer.__docgenInfo,name:"AsyncPluginAPIContainer",path:"src/components/AMapAPIContainer/stories/createAMapAPIContainer.stories.tsx#AsyncPluginAPIContainer"})}catch(__react_docgen_typescript_loader_error){}},261:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){__webpack_require__(1208);__webpack_exports__.a=function getGlobalObject(){var _a;return null!==(_a=null!==globalThis&&void 0!==globalThis?globalThis:global)&&void 0!==_a?_a:window}}).call(this,__webpack_require__(64))},36:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SetCenter",(function(){return SetCenter})),__webpack_require__.d(__webpack_exports__,"SetCityName",(function(){return SetCityName})),__webpack_require__.d(__webpack_exports__,"SetZoom",(function(){return SetZoom})),__webpack_require__.d(__webpack_exports__,"withAMapContainer",(function(){return withAMapContainer}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),index__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(12),_AMapAPIContainer_stories_createAMapAPIContainer_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(259),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},SetCenter.parameters),SetCityName.parameters=__assign({storySource:{source:"(args) => "}},SetCityName.parameters),SetZoom.parameters=__assign({storySource:{source:"(args) => "}},SetZoom.parameters),withAMapContainer.parameters=__assign({storySource:{source:"(renderStory: Story, context: any) => (\n \n
\n {renderStory({}, context)}\n
\n
\n)"}},withAMapContainer.parameters)},37:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),__spreadArrays=function(){for(var s=0,i=0,il=arguments.length;i void"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(event?: any) => void"}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:"(event?: any) => void"}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:"(event?: any) => void"}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:"(event?: any) => void"}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:"(event?: any) => void"}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:"(event?: any) => void"}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:"(event?: any) => void"}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:"(event?: any) => void"}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:"(event?: any) => void"}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:"(event?: any) => void"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"ReactText"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapOverlayGroup/AMapOverlayGroup.tsx#AMapOverlayGroup"]={docgenInfo:AMapOverlayGroup.__docgenInfo,name:"AMapOverlayGroup",path:"src/components/AMapOverlayGroup/AMapOverlayGroup.tsx#AMapOverlayGroup"})}catch(__react_docgen_typescript_loader_error){}try{AMapOverlayGroup.displayName="AMapOverlayGroup",AMapOverlayGroup.__docgenInfo={description:"",displayName:"AMapOverlayGroup",props:{options:{defaultValue:null,description:"",name:"options",required:!1,type:{name:"any"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"Boolean"}},onShow:{defaultValue:null,description:"",name:"onShow",required:!1,type:{name:"((event?: any) => void)"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"((event?: any) => void)"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"((event?: any) => void)"}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:"((event?: any) => void)"}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:"((event?: any) => void)"}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:"((event?: any) => void)"}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:"((event?: any) => void)"}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:"((event?: any) => void)"}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:"((event?: any) => void)"}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:"((event?: any) => void)"}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:"((event?: any) => void)"}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:"((event?: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapOverlayGroup/AMapOverlayGroup.tsx#AMapOverlayGroup"]={docgenInfo:AMapOverlayGroup.__docgenInfo,name:"AMapOverlayGroup",path:"src/components/AMapOverlayGroup/AMapOverlayGroup.tsx#AMapOverlayGroup"})}catch(__react_docgen_typescript_loader_error){}},549:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(550);var _AMapGeoJSON__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(551);__webpack_require__.d(__webpack_exports__,"default",(function(){return _AMapGeoJSON__WEBPACK_IMPORTED_MODULE_1__.a}))},55:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);__webpack_exports__.a=function useVisible(instance,visible){Object(react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){var _a,_b;visible?null===(_a=null==instance?void 0:instance.show)||void 0===_a||_a.call(instance):null===(_b=null==instance?void 0:instance.hide)||void 0===_b||_b.call(instance)}),[instance,visible])}},550:function(module,exports){},551:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(15);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),_hooks_useAMap__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(59),_hooks_useAMapOverlayBinder__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(83),_hooks_useVisible__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(55),_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(40),AMapGeoJSON=function AMapGeoJSON(_a){var geoJSON=_a.geoJSON,getPolyline=_a.getPolyline,getMarker=_a.getMarker,getPolygon=_a.getPolygon,visible=_a.visible,options=_a.options,initInstance=Object(react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((function(AMap){return new AMap.GeoJSON({})}),[]),curInstance=Object(_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_5__.a)("GeoJSON",initInstance),withMap=function useWithAMap(){var _a=Object(_hooks_useAMap__WEBPACK_IMPORTED_MODULE_2__.a)(),AMap=_a.__AMAP__,map=_a.map;return Object(react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((function(fn){return"function"!=typeof fn?fn:function(geojson,lnglat){return fn(geojson,lnglat,map,AMap)}}),[AMap,map])}();return Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){curInstance&&(curInstance._opts.getPolyline=withMap(getPolyline))}),[curInstance,getPolyline,withMap]),Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){curInstance&&(curInstance._opts.getMarker=withMap(getMarker))}),[curInstance,getMarker,withMap]),Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){curInstance&&(curInstance._opts.getPolygon=withMap(getPolygon))}),[curInstance,getPolygon,withMap]),Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var _a;null===(_a=null==curInstance?void 0:curInstance.importData)||void 0===_a||_a.call(curInstance,geoJSON)}),[geoJSON,curInstance]),Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var _a;options&&(null===(_a=null==curInstance?void 0:curInstance.setOptions)||void 0===_a||_a.call(curInstance,options))}),[options,curInstance]),Object(_hooks_useVisible__WEBPACK_IMPORTED_MODULE_4__.a)(curInstance,visible),Object(_hooks_useAMapOverlayBinder__WEBPACK_IMPORTED_MODULE_3__.a)(curInstance),null};AMapGeoJSON.defaultProps={visible:!0},__webpack_exports__.a=AMapGeoJSON;try{AMapGeoJSON.displayName="AMapGeoJSON",AMapGeoJSON.__docgenInfo={description:"",displayName:"AMapGeoJSON",props:{geoJSON:{defaultValue:null,description:"",name:"geoJSON",required:!1,type:{name:"any"}},getMarker:{defaultValue:null,description:"",name:"getMarker",required:!1,type:{name:"GeoJSONGetOverlayCallBack & AMapGeoJSONGetOverlayCallback"}},getPolyline:{defaultValue:null,description:"",name:"getPolyline",required:!1,type:{name:"GeoJSONGetOverlayCallBack & AMapGeoJSONGetOverlayCallback"}},getPolygon:{defaultValue:null,description:"",name:"getPolygon",required:!1,type:{name:"GeoJSONGetOverlayCallBack & AMapGeoJSONGetOverlayCallback"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},options:{defaultValue:null,description:"",name:"options",required:!1,type:{name:"PolygonSharedOptions"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapGeoJSON/AMapGeoJSON.tsx#AMapGeoJSON"]={docgenInfo:AMapGeoJSON.__docgenInfo,name:"AMapGeoJSON",path:"src/components/AMapGeoJSON/AMapGeoJSON.tsx#AMapGeoJSON"})}catch(__react_docgen_typescript_loader_error){}try{AMapGeoJSON.displayName="AMapGeoJSON",AMapGeoJSON.__docgenInfo={description:"",displayName:"AMapGeoJSON",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapGeoJSON/AMapGeoJSON.tsx#AMapGeoJSON"]={docgenInfo:AMapGeoJSON.__docgenInfo,name:"AMapGeoJSON",path:"src/components/AMapGeoJSON/AMapGeoJSON.tsx#AMapGeoJSON"})}catch(__react_docgen_typescript_loader_error){}},552:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(553);var _AMapCircle__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(554);__webpack_require__.d(__webpack_exports__,"default",(function(){return _AMapCircle__WEBPACK_IMPORTED_MODULE_1__.a}))},553:function(module,exports){},554:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(68),__webpack_require__(9),__webpack_require__(56),__webpack_require__(92);var react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(40),_hooks_useAMapOverlayBinder__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(83),_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(5),_hooks_useVisible__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(55),_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(37),init=function init(AMap){return new AMap.Circle},AMapCircle=Object(react__WEBPACK_IMPORTED_MODULE_4__.forwardRef)((function(_a,ref){var center=_a.center,radius=_a.radius,zIndex=_a.zIndex,bubble=_a.bubble,cursor=_a.cursor,fillColor=_a.fillColor,fillOpacity=_a.fillOpacity,strokeColor=_a.strokeColor,strokeStyle=_a.strokeStyle,strokeOpacity=_a.strokeOpacity,strokeWeight=_a.strokeWeight,strokeDasharray=_a.strokeDasharray,extData=_a.extData,draggable=_a.draggable,visible=_a.visible,onShow=_a.onShow,onHide=_a.onHide,onClick=_a.onClick,onDBLClick=_a.onDBLClick,onRightClick=_a.onRightClick,onMousedown=_a.onMousedown,onMouseup=_a.onMouseup,onMouseover=_a.onMouseover,onMouseout=_a.onMouseout,onTouchstart=_a.onTouchstart,onTouchmove=_a.onTouchmove,onTouchend=_a.onTouchend,curInstance=Object(_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_5__.a)("Circle",init);Object(react__WEBPACK_IMPORTED_MODULE_4__.useImperativeHandle)(ref,(function(){return curInstance}),[curInstance]);var options=Object(react__WEBPACK_IMPORTED_MODULE_4__.useMemo)((function(){return Object.entries({zIndex:zIndex,bubble:bubble,cursor:cursor,fillColor:fillColor,fillOpacity:fillOpacity,strokeColor:strokeColor,strokeStyle:strokeStyle,strokeOpacity:strokeOpacity,strokeWeight:strokeWeight,strokeDasharray:strokeDasharray,draggable:draggable}).filter((function(_a){var val=_a[1];return null!=val})).reduce((function(finallyObj,_a){var key=_a[0],val=_a[1];return finallyObj[key]=val,finallyObj}),{})}),[zIndex,bubble,cursor,fillColor,fillOpacity,strokeColor,strokeStyle,strokeOpacity,strokeWeight,strokeDasharray,draggable]);return Object(_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__.a)(curInstance,"setOptions",options),Object(_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__.a)(curInstance,"setCenter",center),Object(_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__.a)(curInstance,"setRadius",radius),Object(_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__.a)(curInstance,"setExtData",extData),Object(_hooks_useVisible__WEBPACK_IMPORTED_MODULE_8__.a)(curInstance,!!visible),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"show",onShow),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"hide",onHide),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"click",onClick),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"dblclick",onDBLClick),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"rightclick",onRightClick),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"mousedown",onMousedown),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"mouseup",onMouseup),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"mouseover",onMouseover),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"mouseout",onMouseout),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"touchstart",onTouchstart),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"touchmove",onTouchmove),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"touchend",onTouchend),Object(_hooks_useAMapOverlayBinder__WEBPACK_IMPORTED_MODULE_6__.a)(curInstance),null}));AMapCircle.defaultProps={visible:!0},__webpack_exports__.a=AMapCircle;try{AMapCircle.displayName="AMapCircle",AMapCircle.__docgenInfo={description:"",displayName:"AMapCircle",props:{zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"number"}},bubble:{defaultValue:null,description:"",name:"bubble",required:!1,type:{name:"boolean"}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:"string"}},strokeColor:{defaultValue:null,description:"",name:"strokeColor",required:!1,type:{name:"string | Function"}},strokeWeight:{defaultValue:null,description:"",name:"strokeWeight",required:!1,type:{name:"number"}},strokeOpacity:{defaultValue:null,description:"",name:"strokeOpacity",required:!1,type:{name:"number"}},fillColor:{defaultValue:null,description:"",name:"fillColor",required:!1,type:{name:"string | Function"}},fillOpacity:{defaultValue:null,description:"",name:"fillOpacity",required:!1,type:{name:"number | Function"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"boolean"}},extrusionHeight:{defaultValue:null,description:"",name:"extrusionHeight",required:!1,type:{name:"number"}},roofColor:{defaultValue:null,description:"",name:"roofColor",required:!1,type:{name:"string | Function"}},wallColor:{defaultValue:null,description:"",name:"wallColor",required:!1,type:{name:"string | Function"}},extData:{defaultValue:null,description:"",name:"extData",required:!1,type:{name:"any"}},strokeStyle:{defaultValue:null,description:"",name:"strokeStyle",required:!1,type:{name:'"solid" | "dashed"'}},strokeDasharray:{defaultValue:null,description:"",name:"strokeDasharray",required:!1,type:{name:"[number, number] | [number, number, number, number]"}},zooms:{defaultValue:null,description:"",name:"zooms",required:!1,type:{name:"[number, number]"}},center:{defaultValue:null,description:"",name:"center",required:!1,type:{name:"LngLatLike"}},radius:{defaultValue:null,description:"",name:"radius",required:!1,type:{name:"number"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"Boolean"}},onShow:{defaultValue:null,description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(event?: any) => void"}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:"(event?: any) => void"}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:"(event?: any) => void"}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:"(event?: any) => void"}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:"(event?: any) => void"}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:"(event?: any) => void"}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:"(event?: any) => void"}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:"(event?: any) => void"}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:"(event?: any) => void"}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:"(event?: any) => void"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"ReactText"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapCircle/AMapCircle.tsx#AMapCircle"]={docgenInfo:AMapCircle.__docgenInfo,name:"AMapCircle",path:"src/components/AMapCircle/AMapCircle.tsx#AMapCircle"})}catch(__react_docgen_typescript_loader_error){}try{AMapCircle.displayName="AMapCircle",AMapCircle.__docgenInfo={description:"",displayName:"AMapCircle",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapCircle/AMapCircle.tsx#AMapCircle"]={docgenInfo:AMapCircle.__docgenInfo,name:"AMapCircle",path:"src/components/AMapCircle/AMapCircle.tsx#AMapCircle"})}catch(__react_docgen_typescript_loader_error){}},555:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(556);var _AMapMouseTool__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(557);__webpack_require__.d(__webpack_exports__,"default",(function(){return _AMapMouseTool__WEBPACK_IMPORTED_MODULE_1__.a}))},556:function(module,exports){},557:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(15);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),_hooks_useAMap__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(59),_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5),AMapMouseTool=Object(react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)((function(_a,ref){var type=_a.type,options=_a.options,onCompleted=_a.onCompleted,_b=Object(_hooks_useAMap__WEBPACK_IMPORTED_MODULE_2__.a)(),AMap=_b.__AMAP__,map=_b.map,_c=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(null),curInstance=_c[0],setInstance=_c[1];return Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){if(AMap&&map){var init=function init(){var instance=new AMap.MouseTool(map);setInstance(instance)};AMap.MouseTool?init():AMap.plugin(["AMap.MouseTool"],init)}}),[AMap,map]),Object(react__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle)(ref,(function(){return curInstance}),[curInstance]),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_3__.a)(curInstance,"draw",onCompleted),Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var clearEffect;return curInstance?(clearEffect=function clearEffect(){return curInstance.close(!1)},curInstance[type](null!=options?options:{}),clearEffect):clearEffect}),[curInstance,options,type]),null}));AMapMouseTool.defaultProps={options:{},onCompleted:void 0},__webpack_exports__.a=AMapMouseTool;try{AMapMouseTool.displayName="AMapMouseTool",AMapMouseTool.__docgenInfo={description:"Origin Docs See:\nhttps://lbs.amap.com/api/javascript-api/reference/plugin#AMap.MouseTool",displayName:"AMapMouseTool",props:{type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:'"marker" | "circle" | "rectangle" | "polyline" | "polygon" | "measureArea" | "rule" | "rectZoomIn" | "rectZoomOut"'}},options:{defaultValue:{value:"{}"},description:"",name:"options",required:!1,type:{name:"MarkerOptions | CircleOptions | PolylineOptions | PolygonOptions | RectangleOptions"}},onCompleted:{defaultValue:{value:"undefined"},description:"",name:"onCompleted",required:!1,type:{name:"(e: any) => void"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"ReactText"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMouseTool/AMapMouseTool.tsx#AMapMouseTool"]={docgenInfo:AMapMouseTool.__docgenInfo,name:"AMapMouseTool",path:"src/components/AMapMouseTool/AMapMouseTool.tsx#AMapMouseTool"})}catch(__react_docgen_typescript_loader_error){}try{AMapMouseTool.displayName="AMapMouseTool",AMapMouseTool.__docgenInfo={description:"Origin Docs See:\nhttps://lbs.amap.com/api/javascript-api/reference/plugin#AMap.MouseTool",displayName:"AMapMouseTool",props:{type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"circle"'},{value:'"marker"'},{value:'"polygon"'},{value:'"polyline"'},{value:'"rectangle"'},{value:'"measureArea"'},{value:'"rule"'},{value:'"rectZoomIn"'},{value:'"rectZoomOut"'}]}},options:{defaultValue:{value:"{}"},description:"",name:"options",required:!1,type:{name:"any"}},onCompleted:{defaultValue:{value:"undefined"},description:"",name:"onCompleted",required:!1,type:{name:"((e: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMouseTool/AMapMouseTool.tsx#AMapMouseTool"]={docgenInfo:AMapMouseTool.__docgenInfo,name:"AMapMouseTool",path:"src/components/AMapMouseTool/AMapMouseTool.tsx#AMapMouseTool"})}catch(__react_docgen_typescript_loader_error){}},558:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){__webpack_require__(15),__webpack_require__(341);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),_hooks_useAMap__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(59),AMapAutoFitView=function AMapAutoFitView(_a){var delay=_a.delay,map=Object(_hooks_useAMap__WEBPACK_IMPORTED_MODULE_3__.a)().map,_b=Object(react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),fitViewed=_b[0],setFitViewed=_b[1];return Object(react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((function(){var clearEffect;if(fitViewed)return clearEffect;var timeoutKey=setTimeout((function(){map&&(map.setFitView(),setFitViewed(!0))}),delay);return clearEffect=function clearEffect(){global.clearTimeout(timeoutKey)}}),[delay,map,fitViewed]),null};AMapAutoFitView.defaultProps={delay:2e3},__webpack_exports__.a=AMapAutoFitView;try{AMapAutoFitView.displayName="AMapAutoFitView",AMapAutoFitView.__docgenInfo={description:"",displayName:"AMapAutoFitView",props:{delay:{defaultValue:{value:2e3},description:"",name:"delay",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAutoFitView/AMapAutoFitView.tsx#AMapAutoFitView"]={docgenInfo:AMapAutoFitView.__docgenInfo,name:"AMapAutoFitView",path:"src/components/AMapAutoFitView/AMapAutoFitView.tsx#AMapAutoFitView"})}catch(__react_docgen_typescript_loader_error){}try{AMapAutoFitView.displayName="AMapAutoFitView",AMapAutoFitView.__docgenInfo={description:"",displayName:"AMapAutoFitView",props:{delay:{defaultValue:{value:2e3},description:"",name:"delay",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAutoFitView/AMapAutoFitView.tsx#AMapAutoFitView"]={docgenInfo:AMapAutoFitView.__docgenInfo,name:"AMapAutoFitView",path:"src/components/AMapAutoFitView/AMapAutoFitView.tsx#AMapAutoFitView"})}catch(__react_docgen_typescript_loader_error){}}).call(this,__webpack_require__(64))},574:function(module,exports,__webpack_require__){__webpack_require__(575),__webpack_require__(745),__webpack_require__(746),__webpack_require__(917),__webpack_require__(1143),__webpack_require__(1180),__webpack_require__(1192),__webpack_require__(1194),__webpack_require__(1199),__webpack_require__(1201),module.exports=__webpack_require__(1206)},59:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),_components_AMapMap__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(197),_useAMapAPI__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(157);__webpack_exports__.a=function useAMap(){var _a=Object(_useAMapAPI__WEBPACK_IMPORTED_MODULE_2__.a)();return{__AMAP__:_a.__AMAP__,__AMAP_UI__:_a.__AMAP_UI__,map:Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_components_AMapMap__WEBPACK_IMPORTED_MODULE_1__.b)}}},627:function(module,exports){},746:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__(439)},83:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(15);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),_components_AMapOverlayGroup_AMapOverlayGroupContext__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(158),_useAMap__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(59),useAMapOverlayBinder=function useAMapOverlayBinder(overlay){var overlayGroup=Object(react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_components_AMapOverlayGroup_AMapOverlayGroupContext__WEBPACK_IMPORTED_MODULE_2__.a),map=Object(_useAMap__WEBPACK_IMPORTED_MODULE_3__.a)().map;Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var clearEffect;return overlay?(overlayGroup?(overlayGroup.addOverlay(overlay),clearEffect=function clearEffect(){try{overlayGroup.removeOverlay(overlay)}catch(error){}}):map&&(map.add(overlay),clearEffect=function clearEffect(){try{map.remove(overlay)}catch(error){}}),clearEffect):clearEffect}),[overlay,map,overlayGroup])};__webpack_exports__.a=useAMapOverlayBinder;try{useAMapOverlayBinder.displayName="useAMapOverlayBinder",useAMapOverlayBinder.__docgenInfo={description:"将 overlay 绑定至 OverlayGroup 或直接绑定至 Map",displayName:"useAMapOverlayBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/useAMapOverlayBinder.ts#useAMapOverlayBinder"]={docgenInfo:useAMapOverlayBinder.__docgenInfo,name:"useAMapOverlayBinder",path:"src/hooks/useAMapOverlayBinder.ts#useAMapOverlayBinder"})}catch(__react_docgen_typescript_loader_error){}}},[[574,1,2]]]); -//# sourceMappingURL=main.9d888e9e5b8a3723b7cb.bundle.js.map \ No newline at end of file diff --git a/main.9d888e9e5b8a3723b7cb.bundle.js.map b/main.9d888e9e5b8a3723b7cb.bundle.js.map deleted file mode 100644 index 54256b2..0000000 --- a/main.9d888e9e5b8a3723b7cb.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.9d888e9e5b8a3723b7cb.bundle.js","sources":["webpack:///main.9d888e9e5b8a3723b7cb.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/main.bf05424317bc2585a569.bundle.js b/main.bf05424317bc2585a569.bundle.js new file mode 100644 index 0000000..3794b44 --- /dev/null +++ b/main.bf05424317bc2585a569.bundle.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{100:function(module,__webpack_exports__,__webpack_require__){"use strict";var react=__webpack_require__(0),react_default=__webpack_require__.n(react),AMapAutoFitView=__webpack_require__(558);__webpack_exports__.a=function withAutoFitView(renderStory,context){return react_default.a.createElement(react_default.a.Fragment,null,renderStory({},context),react_default.a.createElement(AMapAutoFitView.a,null))}},12:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"p",(function(){return useAMapAPI.a})),__webpack_require__.d(__webpack_exports__,"o",(function(){return AMapAPIContainer.b})),__webpack_require__.d(__webpack_exports__,"f",(function(){return AMapMap.a})),__webpack_require__.d(__webpack_exports__,"b",(function(){return components_AMapControlBar_AMapControlBar})),__webpack_require__.d(__webpack_exports__,"e",(function(){return components_AMapHawkEye_AMapHawkEye})),__webpack_require__.d(__webpack_exports__,"l",(function(){return components_AMapScale_AMapScale})),__webpack_require__.d(__webpack_exports__,"m",(function(){return components_AMapToolBar_AMapToolBar})),__webpack_require__.d(__webpack_exports__,"g",(function(){return components_AMapMapType_AMapMapType})),__webpack_require__.d(__webpack_exports__,"j",(function(){return AMapOverlayGroup.default})),__webpack_require__.d(__webpack_exports__,"d",(function(){return AMapGeoJSON.default})),__webpack_require__.d(__webpack_exports__,"a",(function(){return AMapCircle.default})),__webpack_require__.d(__webpack_exports__,"c",(function(){return components_AMapEllipse_AMapEllipse})),__webpack_require__.d(__webpack_exports__,"h",(function(){return components_AMapMarker_AMapMarker})),__webpack_require__.d(__webpack_exports__,"k",(function(){return components_AMapPolygonEditor_AMapPolygonEditor})),__webpack_require__.d(__webpack_exports__,"i",(function(){return AMapMouseTool.default})),__webpack_require__.d(__webpack_exports__,"n",(function(){return helpers_coordsOfGeoJSON2AMapPolygonPath}));var useAMapAPI=__webpack_require__(157),useAMap=__webpack_require__(63),react=(__webpack_require__(15),__webpack_require__(0)),useAMapContainerBinder_useAMapContainerBinder=function useAMapContainerBinder(curInstance){var map=Object(useAMap.a)().map;Object(react.useEffect)((function(){var clearEffect;return curInstance&&map?(clearEffect=function clearEffect(){try{map.remove(curInstance)}catch(error){}},map.add(curInstance),clearEffect):clearEffect}),[curInstance,map])};try{useAMapContainerBinder_useAMapContainerBinder.displayName="useAMapContainerBinder",useAMapContainerBinder_useAMapContainerBinder.__docgenInfo={description:"",displayName:"useAMapContainerBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/useAMapContainerBinder.ts#useAMapContainerBinder"]={docgenInfo:useAMapContainerBinder_useAMapContainerBinder.__docgenInfo,name:"useAMapContainerBinder",path:"src/hooks/useAMapContainerBinder.ts#useAMapContainerBinder"})}catch(__react_docgen_typescript_loader_error){}var hooks_useAMapOverlayBinder=__webpack_require__(83),useAMapEventBinder=__webpack_require__(5),useAMapPluginInstance=__webpack_require__(36),AMapAPIContainer=__webpack_require__(254),AMapMap=__webpack_require__(197);__webpack_require__(68),__webpack_require__(9),__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(18),__webpack_require__(19),__webpack_require__(20);function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}var formatPX=function formatPX(val){return encodeURIComponent(val)+"px"},hooks_useControlContainerCSSText=function useControlContainerCSSText(position,offset){return void 0===offset&&(offset=[10,10]),"LT"===position?"left:"+formatPX(offset[0])+";top:"+formatPX(offset[1])+";":"RT"===position?"right:"+formatPX(offset[0])+";top:"+formatPX(offset[1])+";":"LB"===position?"left:"+formatPX(offset[0])+";bottom:"+formatPX(offset[1])+";":"RB"===position?"right:"+formatPX(offset[0])+";bottom:"+formatPX(offset[1])+";":"object"===_typeof(position)?["top","right","bottom","left"].reduce((function(result,key){var value=position[key];return value?""+result+key+":"+formatPX(value)+";":result}),""):""},hooks_useControlContainerUpdater=function useControlContainerUpdater(instance,position,offset){void 0===offset&&(offset=[10,10]);var containerCSSText=hooks_useControlContainerCSSText(position,offset);Object(react.useLayoutEffect)((function(){instance&&containerCSSText&&(instance._container.style.cssText=containerCSSText)}),[instance,containerCSSText]),Object(react.useEffect)((function(){instance&&(instance._config.position=position,instance._config.offset=offset)}),[instance,position,offset])},useAMapControlBinder_useAMapControlBinder=function useAMapControlBinder(controlInstance){var map=Object(useAMap.a)().map;Object(react.useEffect)((function(){var clearEffect;return controlInstance&&map?(clearEffect=function clearEffect(){map.removeControl(controlInstance)},map.addControl(controlInstance),clearEffect):clearEffect}),[map,controlInstance])},hooks_useAMapControlBinder=useAMapControlBinder_useAMapControlBinder;try{useAMapControlBinder_useAMapControlBinder.displayName="useAMapControlBinder",useAMapControlBinder_useAMapControlBinder.__docgenInfo={description:"",displayName:"useAMapControlBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/useAMapControlBinder.ts#useAMapControlBinder"]={docgenInfo:useAMapControlBinder_useAMapControlBinder.__docgenInfo,name:"useAMapControlBinder",path:"src/hooks/useAMapControlBinder.ts#useAMapControlBinder"})}catch(__react_docgen_typescript_loader_error){}var useVisible=__webpack_require__(55),AMapControlBar_useControlButtonUpdater=(__webpack_require__(51),__webpack_require__(52),function useControlButtonUpdater(instance,showControlButton){Object(react.useLayoutEffect)((function(){if(instance){instance._config.showControlButton=showControlButton;var controlButtons=[instance._pitchUp,instance._pitchDown,instance._rotateLeft,instance._rotateRight],compass=instance._compass,luopan=instance._luopan;compass.classList.toggle("amap-compass-black",!showControlButton),showControlButton?(luopan.style.removeProperty("background"),controlButtons.forEach((function($dom){$dom.style.removeProperty("display")}))):(luopan.style.setProperty("background","rgba(0, 0, 0, 0)"),controlButtons.forEach((function($dom){$dom.style.setProperty("display","none")})))}}),[instance,showControlButton])}),AMapControlBar_AMapControlBar=function AMapControlBar(_a){var position=_a.position,propOffset=_a.offset,showControlButton=_a.showControlButton,visible=_a.visible,onHide=_a.onHide,onShow=_a.onShow,initInstance=Object(react.useCallback)((function(AMap){return new AMap.ControlBar}),[]),curInstance=Object(useAMapPluginInstance.a)("ControlBar",initInstance);return hooks_useControlContainerUpdater(curInstance,position,null!=propOffset?propOffset:[10,10]),AMapControlBar_useControlButtonUpdater(curInstance,!!showControlButton),Object(useVisible.a)(curInstance,visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapControlBar_AMapControlBar.defaultProps={position:"LT",showControlButton:!0,visible:!0,onShow:void 0,onHide:void 0};var components_AMapControlBar_AMapControlBar=Object(react.memo)(AMapControlBar_AMapControlBar);try{AMapControlBar_AMapControlBar.displayName="AMapControlBar",AMapControlBar_AMapControlBar.__docgenInfo={description:"",displayName:"AMapControlBar",props:{offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"[number, number]"}},position:{defaultValue:{value:"'LT' as AMapControlBarProps['position']"},description:"",name:"position",required:!1,type:{name:'{ top?: string; left?: string; right?: string; bottom?: string; } | "LT" | "RT" | "LB" | "RB"'}},showControlButton:{defaultValue:{value:!0},description:"",name:"showControlButton",required:!1,type:{name:"boolean"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event: any) => void"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapControlBar/AMapControlBar.tsx#AMapControlBar"]={docgenInfo:AMapControlBar_AMapControlBar.__docgenInfo,name:"AMapControlBar",path:"src/components/AMapControlBar/AMapControlBar.tsx#AMapControlBar"})}catch(__react_docgen_typescript_loader_error){}try{AMapControlBar_AMapControlBar.displayName="AMapControlBar",AMapControlBar_AMapControlBar.__docgenInfo={description:"",displayName:"AMapControlBar",props:{offset:{defaultValue:null,description:"",name:"offset",required:!0,type:{name:"any"}},position:{defaultValue:{value:"'LT' as AMapControlBarProps['position']"},description:"",name:"position",required:!1,type:{name:"any"}},showControlButton:{defaultValue:{value:!0},description:"",name:"showControlButton",required:!1,type:{name:"boolean"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"((event: any) => void)"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"((event: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapControlBar/AMapControlBar.tsx#AMapControlBar"]={docgenInfo:AMapControlBar_AMapControlBar.__docgenInfo,name:"AMapControlBar",path:"src/components/AMapControlBar/AMapControlBar.tsx#AMapControlBar"})}catch(__react_docgen_typescript_loader_error){}var AMapHawkEye_AMapHawkEye=function AMapHawkEye(_a){var autoMove=_a.autoMove,showRectangle=_a.showRectangle,showButton=_a.showButton,isOpen=_a.isOpen,mapStyle=_a.mapStyle,width=_a.width,height=_a.height,offset=_a.offset,borderStyle=_a.borderStyle,borderColor=_a.borderColor,borderRadius=_a.borderRadius,borderWidth=_a.borderWidth,buttonSize=_a.buttonSize,visible=_a.visible,onShow=_a.onShow,onHide=_a.onHide,initConfig=Object(react.useMemo)((function(){var conf={};return void 0!==autoMove&&(conf.autoMove=autoMove),void 0!==showRectangle&&(conf.showRectangle=showRectangle),void 0!==showButton&&(conf.showButton=showButton),void 0!==mapStyle&&(conf.mapStyle=mapStyle),void 0!==width&&(conf.width=width),void 0!==height&&(conf.height=height),void 0!==offset&&(conf.offset=offset),void 0!==borderStyle&&(conf.borderStyle=borderStyle),void 0!==borderColor&&(conf.borderColor=borderColor),void 0!==borderRadius&&(conf.borderRadius=borderRadius),void 0!==borderWidth&&(conf.borderWidth=borderWidth),void 0!==buttonSize&&(conf.buttonSize=buttonSize),conf}),[autoMove,showRectangle,showButton,mapStyle,width,height,offset,borderStyle,borderColor,borderRadius,borderWidth,buttonSize]),initInstance=Object(react.useCallback)((function(AMap){return new AMap.HawkEye(initConfig)}),[initConfig]),curInstance=Object(useAMapPluginInstance.a)("HawkEye",initInstance);return Object(react.useEffect)((function(){var _a,_b;isOpen?null===(_a=null==curInstance?void 0:curInstance.open)||void 0===_a||_a.call(curInstance):null===(_b=null==curInstance?void 0:curInstance.close)||void 0===_b||_b.call(curInstance)}),[curInstance,isOpen]),Object(useVisible.a)(curInstance,!!visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapHawkEye_AMapHawkEye.defaultProps={showButton:!0,isOpen:!0,visible:!0,onShow:void 0,onHide:void 0};var components_AMapHawkEye_AMapHawkEye=Object(react.memo)(AMapHawkEye_AMapHawkEye);try{AMapHawkEye_AMapHawkEye.displayName="AMapHawkEye",AMapHawkEye_AMapHawkEye.__docgenInfo={description:"",displayName:"AMapHawkEye",props:{autoMove:{defaultValue:null,description:"",name:"autoMove",required:!1,type:{name:"boolean"}},showRectangle:{defaultValue:null,description:"",name:"showRectangle",required:!1,type:{name:"boolean"}},showButton:{defaultValue:{value:!0},description:"",name:"showButton",required:!1,type:{name:"boolean"}},isOpen:{defaultValue:{value:!0},description:"",name:"isOpen",required:!1,type:{name:"boolean"}},mapStyle:{defaultValue:null,description:"",name:"mapStyle",required:!1,type:{name:"string"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string"}},offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"[number, number]"}},borderStyle:{defaultValue:null,description:"",name:"borderStyle",required:!1,type:{name:"string"}},borderColor:{defaultValue:null,description:"",name:"borderColor",required:!1,type:{name:"string"}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:"string"}},borderWidth:{defaultValue:null,description:"",name:"borderWidth",required:!1,type:{name:"string"}},buttonSize:{defaultValue:null,description:"",name:"buttonSize",required:!1,type:{name:"string"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapHawkEye/AMapHawkEye.tsx#AMapHawkEye"]={docgenInfo:AMapHawkEye_AMapHawkEye.__docgenInfo,name:"AMapHawkEye",path:"src/components/AMapHawkEye/AMapHawkEye.tsx#AMapHawkEye"})}catch(__react_docgen_typescript_loader_error){}try{AMapHawkEye_AMapHawkEye.displayName="AMapHawkEye",AMapHawkEye_AMapHawkEye.__docgenInfo={description:"",displayName:"AMapHawkEye",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapHawkEye/AMapHawkEye.tsx#AMapHawkEye"]={docgenInfo:AMapHawkEye_AMapHawkEye.__docgenInfo,name:"AMapHawkEye",path:"src/components/AMapHawkEye/AMapHawkEye.tsx#AMapHawkEye"})}catch(__react_docgen_typescript_loader_error){}var AMapScale_initInstance=function initInstance(AMap){return new AMap.Scale},AMapScale_AMapScale=function AMapScale(_a){var position=_a.position,offset=_a.offset,visible=_a.visible,onShow=_a.onShow,onHide=_a.onHide,curInstance=Object(useAMapPluginInstance.a)("Scale",AMapScale_initInstance);return hooks_useControlContainerUpdater(curInstance,position,offset),Object(useVisible.a)(curInstance,visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapScale_AMapScale.defaultProps={position:"LB",visible:!0,onShow:void 0,onHide:void 0};var components_AMapScale_AMapScale=Object(react.memo)(AMapScale_AMapScale);try{AMapScale_AMapScale.displayName="AMapScale",AMapScale_AMapScale.__docgenInfo={description:"",displayName:"AMapScale",props:{offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"[number, number]"}},position:{defaultValue:{value:"'LB' as AMapScaleProps['position']"},description:"",name:"position",required:!1,type:{name:'{ top?: string; left?: string; right?: string; bottom?: string; } | "LT" | "RT" | "LB" | "RB"'}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapScale/AMapScale.tsx#AMapScale"]={docgenInfo:AMapScale_AMapScale.__docgenInfo,name:"AMapScale",path:"src/components/AMapScale/AMapScale.tsx#AMapScale"})}catch(__react_docgen_typescript_loader_error){}try{AMapScale_AMapScale.displayName="AMapScale",AMapScale_AMapScale.__docgenInfo={description:"",displayName:"AMapScale",props:{offset:{defaultValue:null,description:"",name:"offset",required:!0,type:{name:"any"}},position:{defaultValue:{value:"'LB' as AMapScaleProps['position']"},description:"",name:"position",required:!1,type:{name:"any"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"((event?: any) => void)"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"((event?: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapScale/AMapScale.tsx#AMapScale"]={docgenInfo:AMapScale_AMapScale.__docgenInfo,name:"AMapScale",path:"src/components/AMapScale/AMapScale.tsx#AMapScale"})}catch(__react_docgen_typescript_loader_error){}var AMapToolBar_AMapToolBar=function AMapToolBar(_a){var position=_a.position,offset=_a.offset,visible=_a.visible,onShow=_a.onShow,onHide=_a.onHide,initInstance=Object(react.useCallback)((function(AMap){return new AMap.ToolBar}),[]),curInstance=Object(useAMapPluginInstance.a)("ToolBar",initInstance);return hooks_useControlContainerUpdater(curInstance,position,offset),Object(useVisible.a)(curInstance,visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapToolBar_AMapToolBar.defaultProps={position:"LT",visible:!0,onShow:void 0,onHide:void 0};var components_AMapToolBar_AMapToolBar=Object(react.memo)(AMapToolBar_AMapToolBar);try{AMapToolBar_AMapToolBar.displayName="AMapToolBar",AMapToolBar_AMapToolBar.__docgenInfo={description:"",displayName:"AMapToolBar",props:{offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"[number, number]"}},position:{defaultValue:{value:"'LT' as AMapToolBarProps['position']"},description:"",name:"position",required:!1,type:{name:'{ top?: string; left?: string; right?: string; bottom?: string; } | "LT" | "RT" | "LB" | "RB"'}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapToolBar/AMapToolBar.tsx#AMapToolBar"]={docgenInfo:AMapToolBar_AMapToolBar.__docgenInfo,name:"AMapToolBar",path:"src/components/AMapToolBar/AMapToolBar.tsx#AMapToolBar"})}catch(__react_docgen_typescript_loader_error){}try{AMapToolBar_AMapToolBar.displayName="AMapToolBar",AMapToolBar_AMapToolBar.__docgenInfo={description:"",displayName:"AMapToolBar",props:{offset:{defaultValue:null,description:"",name:"offset",required:!0,type:{name:"any"}},position:{defaultValue:{value:"'LT' as AMapToolBarProps['position']"},description:"",name:"position",required:!1,type:{name:"any"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"((event?: any) => void)"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"((event?: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapToolBar/AMapToolBar.tsx#AMapToolBar"]={docgenInfo:AMapToolBar_AMapToolBar.__docgenInfo,name:"AMapToolBar",path:"src/components/AMapToolBar/AMapToolBar.tsx#AMapToolBar"})}catch(__react_docgen_typescript_loader_error){}var AMapMapType_AMapMapType=function AMapMapType(_a){var defaultType=_a.defaultType,showTraffic=_a.showTraffic,showRoad=_a.showRoad,visible=_a.visible,onHide=_a.onHide,onShow=_a.onShow,initInstance=Object(react.useCallback)((function(AMap){return new AMap.MapType({defaultType:defaultType,showTraffic:showTraffic,showRoad:showRoad})}),[defaultType,showRoad,showTraffic]),curInstance=Object(useAMapPluginInstance.a)("MapType",initInstance);return Object(useVisible.a)(curInstance,!!visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),hooks_useAMapControlBinder(curInstance),null};AMapMapType_AMapMapType.defaultProps={defaultType:0,showTraffic:!1,showRoad:!1,visible:!0,onShow:void 0,onHide:void 0};var components_AMapMapType_AMapMapType=AMapMapType_AMapMapType;try{AMapMapType_AMapMapType.displayName="AMapMapType",AMapMapType_AMapMapType.__docgenInfo={description:"",displayName:"AMapMapType",props:{defaultType:{defaultValue:{value:0},description:"",name:"defaultType",required:!1,type:{name:"number"}},showTraffic:{defaultValue:{value:!1},description:"",name:"showTraffic",required:!1,type:{name:"boolean"}},showRoad:{defaultValue:{value:!1},description:"",name:"showRoad",required:!1,type:{name:"boolean"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMapType/AMapMapType.tsx#AMapMapType"]={docgenInfo:AMapMapType_AMapMapType.__docgenInfo,name:"AMapMapType",path:"src/components/AMapMapType/AMapMapType.tsx#AMapMapType"})}catch(__react_docgen_typescript_loader_error){}try{AMapMapType_AMapMapType.displayName="AMapMapType",AMapMapType_AMapMapType.__docgenInfo={description:"",displayName:"AMapMapType",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMapType/AMapMapType.tsx#AMapMapType"]={docgenInfo:AMapMapType_AMapMapType.__docgenInfo,name:"AMapMapType",path:"src/components/AMapMapType/AMapMapType.tsx#AMapMapType"})}catch(__react_docgen_typescript_loader_error){}var AMapOverlayGroup=__webpack_require__(546),AMapGeoJSON=__webpack_require__(549),AMapCircle=__webpack_require__(552),useSetter=(__webpack_require__(56),__webpack_require__(92),__webpack_require__(38)),AMapEllipse_AMapEllipse=function AMapEllipse(_a){var center=_a.center,radius=_a.radius,zIndex=_a.zIndex,draggable=_a.draggable,extData=_a.extData,cursor=_a.cursor,bubble=_a.bubble,fillColor=_a.fillColor,fillOpacity=_a.fillOpacity,strokeColor=_a.strokeColor,strokeOpacity=_a.strokeOpacity,strokeWeight=_a.strokeWeight,strokeStyle=_a.strokeStyle,strokeDasharray=_a.strokeDasharray,visible=_a.visible,onHide=_a.onHide,onShow=_a.onShow,onClick=_a.onClick,onDBLClick=_a.onDBLClick,onRightClick=_a.onRightClick,onMousedown=_a.onMousedown,onMouseup=_a.onMouseup,onMouseover=_a.onMouseover,onMouseout=_a.onMouseout,onTouchstart=_a.onTouchstart,onTouchmove=_a.onTouchmove,onTouchend=_a.onTouchend,initInstance=Object(react.useCallback)((function(AMap){return new AMap.Ellipse}),[]),curInstance=Object(useAMapPluginInstance.a)("Ellipse",initInstance);Object(useSetter.a)(curInstance,"setCenter",center),Object(useSetter.a)(curInstance,"setRadius",radius),Object(useSetter.a)(curInstance,"setExtData",extData);var options=Object(react.useMemo)((function(){return Object.entries({zIndex:zIndex,bubble:bubble,cursor:cursor,fillColor:fillColor,fillOpacity:fillOpacity,strokeColor:strokeColor,strokeStyle:strokeStyle,strokeOpacity:strokeOpacity,strokeWeight:strokeWeight,strokeDasharray:strokeDasharray,draggable:draggable}).filter((function(_a){var val=_a[1];return null!=val})).reduce((function(finallyObj,_a){var key=_a[0],val=_a[1];return finallyObj[key]=val,finallyObj}),{})}),[zIndex,bubble,cursor,fillColor,fillOpacity,strokeColor,strokeStyle,strokeOpacity,strokeWeight,strokeDasharray,draggable]);return Object(useSetter.a)(curInstance,"setOptions",options),Object(useVisible.a)(curInstance,!!visible),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),Object(useAMapEventBinder.a)(curInstance,"click",onClick),Object(useAMapEventBinder.a)(curInstance,"dblclick",onDBLClick),Object(useAMapEventBinder.a)(curInstance,"rightclick",onRightClick),Object(useAMapEventBinder.a)(curInstance,"mousedown",onMousedown),Object(useAMapEventBinder.a)(curInstance,"mouseup",onMouseup),Object(useAMapEventBinder.a)(curInstance,"mouseover",onMouseover),Object(useAMapEventBinder.a)(curInstance,"mouseout",onMouseout),Object(useAMapEventBinder.a)(curInstance,"touchstart",onTouchstart),Object(useAMapEventBinder.a)(curInstance,"touchmove",onTouchmove),Object(useAMapEventBinder.a)(curInstance,"touchend",onTouchend),Object(hooks_useAMapOverlayBinder.a)(curInstance),null};AMapEllipse_AMapEllipse.defaultProps={visible:!0,onShow:void 0,onHide:void 0};var components_AMapEllipse_AMapEllipse=AMapEllipse_AMapEllipse;try{AMapEllipse_AMapEllipse.displayName="AMapEllipse",AMapEllipse_AMapEllipse.__docgenInfo={description:"",displayName:"AMapEllipse",props:{zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"number"}},bubble:{defaultValue:null,description:"",name:"bubble",required:!1,type:{name:"boolean"}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:"string"}},strokeColor:{defaultValue:null,description:"",name:"strokeColor",required:!1,type:{name:"string | Function"}},strokeWeight:{defaultValue:null,description:"",name:"strokeWeight",required:!1,type:{name:"number"}},strokeOpacity:{defaultValue:null,description:"",name:"strokeOpacity",required:!1,type:{name:"number"}},fillColor:{defaultValue:null,description:"",name:"fillColor",required:!1,type:{name:"string | Function"}},fillOpacity:{defaultValue:null,description:"",name:"fillOpacity",required:!1,type:{name:"number | Function"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"boolean"}},extrusionHeight:{defaultValue:null,description:"",name:"extrusionHeight",required:!1,type:{name:"number"}},roofColor:{defaultValue:null,description:"",name:"roofColor",required:!1,type:{name:"string | Function"}},wallColor:{defaultValue:null,description:"",name:"wallColor",required:!1,type:{name:"string | Function"}},extData:{defaultValue:null,description:"",name:"extData",required:!1,type:{name:"any"}},strokeStyle:{defaultValue:null,description:"",name:"strokeStyle",required:!1,type:{name:'"solid" | "dashed"'}},strokeDasharray:{defaultValue:null,description:"",name:"strokeDasharray",required:!1,type:{name:"[number, number] | [number, number, number, number]"}},zooms:{defaultValue:null,description:"",name:"zooms",required:!1,type:{name:"[number, number]"}},center:{defaultValue:null,description:"",name:"center",required:!1,type:{name:"LngLatLike"}},radius:{defaultValue:null,description:"",name:"radius",required:!1,type:{name:"[number, number]"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},onShow:{defaultValue:{value:"undefined"},description:"",name:"onShow",required:!1,type:{name:'(event?: Event<"show">) => void'}},onHide:{defaultValue:{value:"undefined"},description:"",name:"onHide",required:!1,type:{name:'(event?: Event<"hide">) => void'}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:'(event?: Event<"click">) => void'}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:'(event?: Event<"dblclick">) => void'}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:'(event?: Event<"rightclick">) => void'}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:'(event?: Event<"mousedown">) => void'}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:'(event?: Event<"mouseup">) => void'}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:'(event?: Event<"mouseover">) => void'}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:'(event?: Event<"mouseout">) => void'}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:'(event?: Event<"touchstart">) => void'}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:'(event?: Event<"touchmove">) => void'}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:'(event?: Event<"touchend">) => void'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapEllipse/AMapEllipse.tsx#AMapEllipse"]={docgenInfo:AMapEllipse_AMapEllipse.__docgenInfo,name:"AMapEllipse",path:"src/components/AMapEllipse/AMapEllipse.tsx#AMapEllipse"})}catch(__react_docgen_typescript_loader_error){}try{AMapEllipse_AMapEllipse.displayName="AMapEllipse",AMapEllipse_AMapEllipse.__docgenInfo={description:"",displayName:"AMapEllipse",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapEllipse/AMapEllipse.tsx#AMapEllipse"]={docgenInfo:AMapEllipse_AMapEllipse.__docgenInfo,name:"AMapEllipse",path:"src/components/AMapEllipse/AMapEllipse.tsx#AMapEllipse"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(1210);var AMapMarker_AMapMarker=function AMapMarker(_a){var title=_a.title,icon=_a.icon,zooms=_a.zooms,label=_a.label,clickable=_a.clickable,draggable=_a.draggable,cursor=_a.cursor,extData=_a.extData,position=_a.position,anchor=_a.anchor,offset=_a.offset,angle=_a.angle,size=_a.size,zIndex=_a.zIndex,content=_a.content,visible=_a.visible,onHide=_a.onHide,onShow=_a.onShow,onClick=_a.onClick,onDBLClick=_a.onDBLClick,onRightClick=_a.onRightClick,onMousemove=_a.onMousemove,onMousedown=_a.onMousedown,onMouseup=_a.onMouseup,onMouseover=_a.onMouseover,onMouseout=_a.onMouseout,onTouchstart=_a.onTouchstart,onTouchmove=_a.onTouchmove,onTouchend=_a.onTouchend,onDragstart=_a.onDragstart,onDragging=_a.onDragging,onDragend=_a.onDragend,onMoving=_a.onMoving,onMoveEnd=_a.onMoveEnd,onMoveAlong=_a.onMoveAlong,initInstance=Object(react.useCallback)((function(AMap){return new AMap.Marker({zooms:zooms})}),[zooms]),curInstance=Object(useAMapPluginInstance.a)("Marker",initInstance);return Object(useVisible.a)(curInstance,!!visible),Object(useSetter.a)(curInstance,"setPosition",position),Object(useSetter.a)(curInstance,"setTitle",title),Object(useSetter.a)(curInstance,"setIcon",icon),Object(useSetter.a)(curInstance,"setLabel",label),Object(useSetter.a)(curInstance,"setClickable",clickable),Object(useSetter.a)(curInstance,"setDraggable",draggable),Object(useSetter.a)(curInstance,"setCursor",cursor),Object(useSetter.a)(curInstance,"setExtData",extData),Object(useSetter.a)(curInstance,"setAnchor",anchor),Object(useSetter.a)(curInstance,"setOffset",offset),Object(useSetter.a)(curInstance,"setAngle",angle),Object(useSetter.a)(curInstance,"setSize",size),Object(useSetter.a)(curInstance,"setzIndex",zIndex),Object(useSetter.a)(curInstance,"setContent",content),Object(useAMapEventBinder.a)(curInstance,"show",onShow),Object(useAMapEventBinder.a)(curInstance,"hide",onHide),Object(useAMapEventBinder.a)(curInstance,"click",onClick),Object(useAMapEventBinder.a)(curInstance,"dblclick",onDBLClick),Object(useAMapEventBinder.a)(curInstance,"rightclick",onRightClick),Object(useAMapEventBinder.a)(curInstance,"mousemove",onMousemove),Object(useAMapEventBinder.a)(curInstance,"mousedown",onMousedown),Object(useAMapEventBinder.a)(curInstance,"mouseup",onMouseup),Object(useAMapEventBinder.a)(curInstance,"mouseover",onMouseover),Object(useAMapEventBinder.a)(curInstance,"mouseout",onMouseout),Object(useAMapEventBinder.a)(curInstance,"touchstart",onTouchstart),Object(useAMapEventBinder.a)(curInstance,"touchmove",onTouchmove),Object(useAMapEventBinder.a)(curInstance,"touchend",onTouchend),Object(useAMapEventBinder.a)(curInstance,"dragstart",onDragstart),Object(useAMapEventBinder.a)(curInstance,"dragging",onDragging),Object(useAMapEventBinder.a)(curInstance,"dragend",onDragend),Object(useAMapEventBinder.a)(curInstance,"moving",onMoving),Object(useAMapEventBinder.a)(curInstance,"moveend",onMoveEnd),Object(useAMapEventBinder.a)(curInstance,"movealong",onMoveAlong),Object(hooks_useAMapOverlayBinder.a)(curInstance),null};AMapMarker_AMapMarker.defaultProps={anchor:"center",cursor:"pointer",angle:0,zIndex:12,clickable:!0,draggable:!1,visible:!0};var components_AMapMarker_AMapMarker=AMapMarker_AMapMarker;try{AMapMarker_AMapMarker.displayName="AMapMarker",AMapMarker_AMapMarker.__docgenInfo={description:"",displayName:"AMapMarker",props:{icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"string | Icon"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"LabelOptions"}},clickable:{defaultValue:{value:!0},description:"",name:"clickable",required:!1,type:{name:"boolean"}},cursor:{defaultValue:{value:"pointer"},description:"",name:"cursor",required:!1,type:{name:"string"}},draggable:{defaultValue:{value:!1},description:"",name:"draggable",required:!1,type:{name:"boolean"}},topWhenClick:{defaultValue:null,description:"",name:"topWhenClick",required:!1,type:{name:"boolean"}},bubble:{defaultValue:null,description:"",name:"bubble",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},map:{defaultValue:null,description:"",name:"map",required:!1,type:{name:"Map_2"}},position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:"Vector2 | (LngLat & Vector2)"}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"string | HTMLElement"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},zIndex:{defaultValue:{value:12},description:"",name:"zIndex",required:!1,type:{name:"number"}},extData:{defaultValue:null,description:"",name:"extData",required:!1,type:{name:"any"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"Vector2 | Size"}},offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"Vector2 | Pixel"}},anchor:{defaultValue:{value:"'center' as AMapMarkerProps['anchor']"},description:"",name:"anchor",required:!1,type:{name:'"center" | "top-left" | "top-center" | "top-right" | "middle-left" | "middle-right" | "bottom-left" | "bottom-center" | "bottom-right" | (Vector2 & "center") | (Vector2 & "top-left") | ... 6 more ... | (Vector2 & "bottom-right")'}},rotate:{defaultValue:null,description:"",name:"rotate",required:!1,type:{name:"number"}},angle:{defaultValue:{value:0},description:"",name:"angle",required:!1,type:{name:"number"}},orientation:{defaultValue:null,description:"",name:"orientation",required:!1,type:{name:"number"}},scale:{defaultValue:null,description:"",name:"scale",required:!1,type:{name:"number"}},zooms:{defaultValue:null,description:"",name:"zooms",required:!1,type:{name:"Vector2"}},noSelect:{defaultValue:null,description:"",name:"noSelect",required:!1,type:{name:"boolean"}},innerOverlay:{defaultValue:null,description:"",name:"innerOverlay",required:!1,type:{name:"boolean"}},isCustom:{defaultValue:null,description:"",name:"isCustom",required:!1,type:{name:"boolean"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}},onShow:{defaultValue:null,description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(event?: any) => void"}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:"(event?: any) => void"}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:"(event?: any) => void"}},onMousemove:{defaultValue:null,description:"",name:"onMousemove",required:!1,type:{name:"(event?: any) => void"}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:"(event?: any) => void"}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:"(event?: any) => void"}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:"(event?: any) => void"}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:"(event?: any) => void"}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:"(event?: any) => void"}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:"(event?: any) => void"}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:"(event?: any) => void"}},onDragstart:{defaultValue:null,description:"",name:"onDragstart",required:!1,type:{name:"(event?: any) => void"}},onDragging:{defaultValue:null,description:"",name:"onDragging",required:!1,type:{name:"(event?: any) => void"}},onDragend:{defaultValue:null,description:"",name:"onDragend",required:!1,type:{name:"(event?: any) => void"}},onMoving:{defaultValue:null,description:"",name:"onMoving",required:!1,type:{name:"(event?: any) => void"}},onMoveEnd:{defaultValue:null,description:"",name:"onMoveEnd",required:!1,type:{name:"(event?: any) => void"}},onMoveAlong:{defaultValue:null,description:"",name:"onMoveAlong",required:!1,type:{name:"(event?: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMarker/AMapMarker.tsx#AMapMarker"]={docgenInfo:AMapMarker_AMapMarker.__docgenInfo,name:"AMapMarker",path:"src/components/AMapMarker/AMapMarker.tsx#AMapMarker"})}catch(__react_docgen_typescript_loader_error){}try{AMapMarker_AMapMarker.displayName="AMapMarker",AMapMarker_AMapMarker.__docgenInfo={description:"",displayName:"AMapMarker",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMarker/AMapMarker.tsx#AMapMarker"]={docgenInfo:AMapMarker_AMapMarker.__docgenInfo,name:"AMapMarker",path:"src/components/AMapMarker/AMapMarker.tsx#AMapMarker"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(21),__webpack_require__(526);var isPolygonFeature=function isPolygonFeature(feature){return"Overlay.Polygon"===feature.className},AMapPolygonEditor_AMapPolygonEditor=function AMapPolygonEditor(_a){var computeTarget=_a.computeTarget,disabled=_a.disabled,computeAdsorbPolygons=_a.computeAdsorbPolygons,onChange=_a.onChange,$lastOnChange=Object(react.useRef)(onChange);$lastOnChange.current=onChange;var initInstance=Object(react.useCallback)((function(AMap,map){return new AMap.PolygonEditor(map)}),[]),curInstance=Object(useAMapPluginInstance.a)("PolygonEditor",initInstance),map=Object(useAMap.a)().map,reSetTarget=Object(react.useCallback)((function(){var _a;if(curInstance){var allPolygons=(null==map?void 0:map.getAllOverlays("polygon"))||[],newTarget=null!==(_a=computeTarget(allPolygons))&&void 0!==_a?_a:null;curInstance.setTarget(newTarget)}}),[map,computeTarget,curInstance]);Object(react.useEffect)((function(){map&&reSetTarget()}),[map,reSetTarget]),Object(react.useEffect)((function(){var clearEffect;if(!map)return clearEffect;var handleOverlayChanged=function handleOverlayChanged(features){(isPolygonFeature(features)||Array.isArray(features)&&features.some(isPolygonFeature))&&reSetTarget()};return clearEffect=function clearEffect(){map.off("overlaysRemoved",handleOverlayChanged),map.off("overlaysAdded",handleOverlayChanged)},map.on("overlaysRemoved",handleOverlayChanged),map.on("overlaysAdded",handleOverlayChanged),clearEffect}),[map,reSetTarget]);var reSetAdsorbPolygons=Object(react.useCallback)((function(){if(curInstance){var allPolygons=(null==map?void 0:map.getAllOverlays("polygon"))||[],adsorbPolygons=(null==computeAdsorbPolygons?void 0:computeAdsorbPolygons(allPolygons))||[];adsorbPolygons?curInstance.setAdsorbPolygons(adsorbPolygons):curInstance.clearAdsorbPolygons()}}),[map,computeAdsorbPolygons,curInstance]);return Object(react.useEffect)((function(){map&&reSetAdsorbPolygons()}),[map,reSetAdsorbPolygons]),Object(react.useEffect)((function(){var clearEffect;if(!map)return clearEffect;var handleOverlayChanged=function handleOverlayChanged(features){(isPolygonFeature(features)||Array.isArray(features)&&features.some(isPolygonFeature))&&reSetAdsorbPolygons()};return clearEffect=function clearEffect(){map.off("overlaysRemoved",handleOverlayChanged),map.off("overlaysAdded",handleOverlayChanged)},map.on("overlaysRemoved",handleOverlayChanged),map.on("overlaysAdded",handleOverlayChanged),clearEffect}),[map,reSetAdsorbPolygons]),Object(react.useEffect)((function(){var clearEffect;if(!curInstance)return clearEffect;var triggerChangeHandler=function triggerChangeHandler(obj){var _a;null===(_a=$lastOnChange.current)||void 0===_a||_a.call($lastOnChange,obj)};return clearEffect=function clearEffect(){null==curInstance||curInstance.off("add",triggerChangeHandler),null==curInstance||curInstance.off("addnode",triggerChangeHandler),null==curInstance||curInstance.off("adjust",triggerChangeHandler),null==curInstance||curInstance.off("removenode",triggerChangeHandler)},curInstance.on("add",triggerChangeHandler),curInstance.on("addnode",triggerChangeHandler),curInstance.on("adjust",triggerChangeHandler),curInstance.on("removenode",triggerChangeHandler),clearEffect}),[curInstance]),Object(react.useEffect)((function(){disabled?null==curInstance||curInstance.close():null==curInstance||curInstance.open()}),[curInstance,disabled]),null};AMapPolygonEditor_AMapPolygonEditor.defaultProps={disabled:!1,computeAdsorbPolygons:function computeAdsorbPolygons(allPolygons){return allPolygons}};var components_AMapPolygonEditor_AMapPolygonEditor=AMapPolygonEditor_AMapPolygonEditor;try{AMapPolygonEditor_AMapPolygonEditor.displayName="AMapPolygonEditor",AMapPolygonEditor_AMapPolygonEditor.__docgenInfo={description:"",displayName:"AMapPolygonEditor",props:{computeTarget:{defaultValue:null,description:"",name:"computeTarget",required:!0,type:{name:"(allPolygons: Polygon[]) => Polygon"}},disabled:{defaultValue:{value:!1},description:"",name:"disabled",required:!1,type:{name:"boolean"}},computeAdsorbPolygons:{defaultValue:{value:"(allPolygons) => allPolygons"},description:"",name:"computeAdsorbPolygons",required:!1,type:{name:"(allPolygons: Polygon[]) => Polygon[]"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(obj: any) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapPolygonEditor/AMapPolygonEditor.tsx#AMapPolygonEditor"]={docgenInfo:AMapPolygonEditor_AMapPolygonEditor.__docgenInfo,name:"AMapPolygonEditor",path:"src/components/AMapPolygonEditor/AMapPolygonEditor.tsx#AMapPolygonEditor"})}catch(__react_docgen_typescript_loader_error){}try{AMapPolygonEditor_AMapPolygonEditor.displayName="AMapPolygonEditor",AMapPolygonEditor_AMapPolygonEditor.__docgenInfo={description:"",displayName:"AMapPolygonEditor",props:{computeTarget:{defaultValue:null,description:"",name:"computeTarget",required:!0,type:{name:"(allPolygons: any[]) => any"}},disabled:{defaultValue:{value:!1},description:"",name:"disabled",required:!1,type:{name:"boolean"}},computeAdsorbPolygons:{defaultValue:{value:"(allPolygons) => allPolygons"},description:"",name:"computeAdsorbPolygons",required:!1,type:{name:"((allPolygons: any[]) => any[] | null) | undefined"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((obj: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapPolygonEditor/AMapPolygonEditor.tsx#AMapPolygonEditor"]={docgenInfo:AMapPolygonEditor_AMapPolygonEditor.__docgenInfo,name:"AMapPolygonEditor",path:"src/components/AMapPolygonEditor/AMapPolygonEditor.tsx#AMapPolygonEditor"})}catch(__react_docgen_typescript_loader_error){}var AMapMouseTool=__webpack_require__(555),isPosition=(__webpack_require__(14),__webpack_require__(128),function isPosition(pos){return Array.isArray(pos)&&2===pos.length&&"number"==typeof pos[0]&&"number"==typeof pos[1]}),isLineCoords=function isLineCoords(line){return Array.isArray(line)&&line.every(isPosition)};try{isPosition.displayName="isPosition",isPosition.__docgenInfo={description:"",displayName:"isPosition",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/helpers/geoJSONHelper.ts#isPosition"]={docgenInfo:isPosition.__docgenInfo,name:"isPosition",path:"src/helpers/geoJSONHelper.ts#isPosition"})}catch(__react_docgen_typescript_loader_error){}try{isLineCoords.displayName="isLineCoords",isLineCoords.__docgenInfo={description:"",displayName:"isLineCoords",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/helpers/geoJSONHelper.ts#isLineCoords"]={docgenInfo:isLineCoords.__docgenInfo,name:"isLineCoords",path:"src/helpers/geoJSONHelper.ts#isLineCoords"})}catch(__react_docgen_typescript_loader_error){}var coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath=function coordsOfGeoJSON2AMapPolygonPath(coords){return isLineCoords(coords)?function coordsOfGeoJSONRingLine2AMapPolygonPath(coords){var len=coords.length;return coords.slice(0,len-1)}(coords):coords.map(coordsOfGeoJSON2AMapPolygonPath)},helpers_coordsOfGeoJSON2AMapPolygonPath=coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath;try{coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath.displayName="coordsOfGeoJSON2AMapPolygonPath",coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath.__docgenInfo={description:"去掉最后一个 Position 点。\n支持 GeoJSON.Polygon 和 GeoJSON.MultiplePolygon 转换",displayName:"coordsOfGeoJSON2AMapPolygonPath",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/helpers/coordsOfGeoJSON2AMapPolygonPath.ts#coordsOfGeoJSON2AMapPolygonPath"]={docgenInfo:coordsOfGeoJSON2AMapPolygonPath_coordsOfGeoJSON2AMapPolygonPath.__docgenInfo,name:"coordsOfGeoJSON2AMapPolygonPath",path:"src/helpers/coordsOfGeoJSON2AMapPolygonPath.ts#coordsOfGeoJSON2AMapPolygonPath"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(116);var isLatLng=function isLatLng(p){return!(!("lat"in p)||!("lng"in p))},amapPolygonPath2GeoJSONCoords_amapPolygonPath2GeoJSONCoords=function amapPolygonPath2GeoJSONCoords(path){if(function isLatLngArr(p){return p.every(isLatLng)}(path)){var coords=path.map((function(item){return item.toArray()}));return coords.push(coords[0].slice(0)),coords}return path.map(amapPolygonPath2GeoJSONCoords)};try{amapPolygonPath2GeoJSONCoords_amapPolygonPath2GeoJSONCoords.displayName="amapPolygonPath2GeoJSONCoords",amapPolygonPath2GeoJSONCoords_amapPolygonPath2GeoJSONCoords.__docgenInfo={description:"补充最后一个 Position。\n支持转换至 GeoJSON.Polygon 和 GeoJSON.MultiplePolygon 的 coords",displayName:"amapPolygonPath2GeoJSONCoords",props:{length:{defaultValue:null,description:"Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.",name:"length",required:!0,type:{name:"number"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"(() => string) | (() => string) | (() => string)"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocalString methods.",name:"toLocaleString",required:!1,type:{name:"(() => string) | (() => string) | (() => string)"}},pop:{defaultValue:null,description:"Removes the last element from an array and returns it.",name:"pop",required:!0,type:{name:"(() => any) | (() => any[]) | (() => any[][])"}},push:{defaultValue:null,description:"Appends new elements to an array, and returns the new length of the array.\n@param items New elements of the Array.",name:"push",required:!0,type:{name:"((...items: any[]) => number) | ((...items: any[][]) => number) | ((...items: any[][][]) => number)"}},concat:{defaultValue:null,description:"Combines two or more arrays.\nCombines two or more arrays.\n@param items Additional items to add to the end of array1.\n@param items Additional items to add to the end of array1.",name:"concat",required:!0,type:{name:"{ (...items: ConcatArray[]): any[]; (...items: any[]): any[]; } | { (...items: ConcatArray[]): any[][]; (...items: (any[] | ConcatArray)[]): any[][]; } | { ...; }"}},join:{defaultValue:null,description:"Adds all the elements of an array separated by the specified separator string.\n@param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.",name:"join",required:!0,type:{name:"((separator?: string) => string) | ((separator?: string) => string) | ((separator?: string) => string)"}},reverse:{defaultValue:null,description:"Reverses the elements in an Array.",name:"reverse",required:!0,type:{name:"(() => any[]) | (() => any[][]) | (() => any[][][])"}},shift:{defaultValue:null,description:"Removes the first element from an array and returns it.",name:"shift",required:!0,type:{name:"(() => any) | (() => any[]) | (() => any[][])"}},slice:{defaultValue:null,description:"Returns a section of an array.\n@param start The beginning of the specified portion of the array.\n@param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.",name:"slice",required:!0,type:{name:"((start?: number, end?: number) => any[]) | ((start?: number, end?: number) => any[][]) | ((start?: number, end?: number) => any[][][])"}},sort:{defaultValue:null,description:"Sorts an array.\n@param compareFn Function used to determine the order of the elements. It is expected to return\ra negative value if first argument is less than second argument, zero if they're equal and a positive\rvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r```ts\r[11,2,22,1].sort((a, b) => a - b)\r```",name:"sort",required:!0,type:{name:"((compareFn?: (a: any, b: any) => number) => any[]) | ((compareFn?: (a: any[], b: any[]) => number) => any[][]) | ((compareFn?: (a: any[][], b: any[][]) => number) => any[][][])"}},splice:{defaultValue:null,description:"Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\nRemoves elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param items Elements to insert into the array in place of the deleted elements.",name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number): any[]; (start: number, deleteCount: number, ...items: any[]): any[]; } | { (start: number, deleteCount?: number): any[][]; (start: number, deleteCount: number, ...items: any[][]): any[][]; } | { ...; }"}},unshift:{defaultValue:null,description:"Inserts new elements at the start of an array.\n@param items Elements to insert at the start of the Array.",name:"unshift",required:!0,type:{name:"((...items: any[]) => number) | ((...items: any[][]) => number) | ((...items: any[][][]) => number)"}},indexOf:{defaultValue:null,description:"Returns the index of the first occurrence of a value in an array.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",name:"indexOf",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => number) | ((searchElement: any[], fromIndex?: number) => number) | ((searchElement: any[][], fromIndex?: number) => number)"}},lastIndexOf:{defaultValue:null,description:"Returns the index of the last occurrence of a specified value in an array.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.",name:"lastIndexOf",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => number) | ((searchElement: any[], fromIndex?: number) => number) | ((searchElement: any[][], fromIndex?: number) => number)"}},every:{defaultValue:null,description:"Determines whether all the members of an array satisfy the specified test.\n@param callbackfn A function that accepts up to three arguments. The every method calls\rthe callbackfn function for each element in the array until the callbackfn returns a value\rwhich is coercible to the Boolean value false, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function.\rIf thisArg is omitted, undefined is used as the this value.",name:"every",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[], index: number, array: any[][]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => unknown, thisArg?: any) => boolean)"}},some:{defaultValue:null,description:"Determines whether the specified callback function returns true for any element of an array.\n@param callbackfn A function that accepts up to three arguments. The some method calls\rthe callbackfn function for each element in the array until the callbackfn returns a value\rwhich is coercible to the Boolean value true, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function.\rIf thisArg is omitted, undefined is used as the this value.",name:"some",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[], index: number, array: any[][]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => unknown, thisArg?: any) => boolean)"}},forEach:{defaultValue:null,description:"Performs the specified action for each element in an array.\n@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"forEach",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => void, thisArg?: any) => void) | ((callbackfn: (value: any[], index: number, array: any[][]) => void, thisArg?: any) => void) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => void, thisArg?: any) => void)"}},map:{defaultValue:null,description:"Calls a defined callback function on each element of an array, and returns an array that contains the results.\n@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"map",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: any[], index: number, array: any[][]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => U, thisArg?: any) => U[])"}},filter:{defaultValue:null,description:"Returns the elements of an array that meet the condition specified in a callback function.\nReturns the elements of an array that meet the condition specified in a callback function.\n@param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n@param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"filter",required:!0,type:{name:"{ (callbackfn: (value: any, index: number, array: any[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any): any[]; } | { (callbackfn: (value: any[], index: number, array: any[][]) => value is S, thisArg?: any): S[]; (..."}},reduce:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\nCalls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; (callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) ..."}},reduceRight:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\nCalls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; (callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) ..."}},find:{defaultValue:null,description:"Returns the value of the first element in the array where predicate is true, and undefined\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\rorder, until it finds one where predicate returns true. If such an element is found, find\rimmediately returns that element value. Otherwise, find returns undefined.\n@param thisArg If provided, it will be used as the this value for each invocation of\rpredicate. If it is not provided, undefined is used instead.",name:"find",required:!0,type:{name:"{ (predicate: (this: void, value: any, index: number, obj: any[]) => value is S, thisArg?: any): S; (predicate: (value: any, index: number, obj: any[]) => unknown, thisArg?: any): any; } | { ...; } | { ...; }"}},findIndex:{defaultValue:null,description:"Returns the index of the first element in the array where predicate is true, and -1\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\rorder, until it finds one where predicate returns true. If such an element is found,\rfindIndex immediately returns that element index. Otherwise, findIndex returns -1.\n@param thisArg If provided, it will be used as the this value for each invocation of\rpredicate. If it is not provided, undefined is used instead.",name:"findIndex",required:!0,type:{name:"((predicate: (value: any, index: number, obj: any[]) => unknown, thisArg?: any) => number) | ((predicate: (value: any[], index: number, obj: any[][]) => unknown, thisArg?: any) => number) | ((predicate: (value: any[][], index: number, obj: any[][][]) => unknown, thisArg?: any) => number)"}},fill:{defaultValue:null,description:"Returns the this object after filling the section identified by start and end with value\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\rlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\rlength+end.",name:"fill",required:!0,type:{name:"((value: any, start?: number, end?: number) => any[]) | ((value: any[], start?: number, end?: number) => any[][]) | ((value: any[][], start?: number, end?: number) => any[][][])"}},copyWithin:{defaultValue:null,description:"Returns the this object after copying a section of the array identified by start and end\nto the same array starting at position target\n@param target If target is negative, it is treated as length+target where length is the\rlength of the array.\n@param start If start is negative, it is treated as length+start. If end is negative, it\ris treated as length+end.\n@param end If not specified, length of the this object is used as its default value.",name:"copyWithin",required:!0,type:{name:"((target: number, start: number, end?: number) => any[]) | ((target: number, start: number, end?: number) => any[][]) | ((target: number, start: number, end?: number) => any[][][])"}},"__@iterator":{defaultValue:null,description:"Iterator",name:"__@iterator",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"(() => IterableIterator<[number, any]>) | (() => IterableIterator<[number, any[]]>) | (() => IterableIterator<[number, any[][]]>)"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},"__@unscopables":{defaultValue:null,description:"Returns an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",name:"__@unscopables",required:!0,type:{name:"(() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { ...; })"}},includes:{defaultValue:null,description:"Determines whether an array includes a certain element, returning true or false as appropriate.\n@param searchElement The element to search for.\n@param fromIndex The position in this array at which to begin searching for searchElement.",name:"includes",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => boolean) | ((searchElement: any[], fromIndex?: number) => boolean) | ((searchElement: any[][], fromIndex?: number) => boolean)"}},flatMap:{defaultValue:null,description:"Calls a defined callback function on each element of an array. Then, flattens the result into\na new array.\nThis is identical to a map followed by flat with depth 1.\n@param callback A function that accepts up to three arguments. The flatMap method calls the\rcallback function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callback function. If\rthisArg is omitted, undefined is used as the this value.",name:"flatMap",required:!0,type:{name:"((callback: (this: This, value: any, index: number, array: any[]) => U | readonly U[], thisArg?: This) => U[]) | ((callback: (this: This, value: any[], index: number, array: any[][]) => U | readonly U[], thisArg?: This) => U[]) | ((callback: (this: This,..."}},flat:{defaultValue:null,description:"Returns a new array with all sub-array elements concatenated into it recursively up to the\nspecified depth.\n@param depth The maximum recursion depth",name:"flat",required:!0,type:{name:"((this: A, depth?: D) => FlatArray[]) | ((this: A, depth?: D) => FlatArray[]) | ((this: A, depth?: D) => FlatArray<...>[])"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"((index: number) => any) | ((index: number) => any[]) | ((index: number) => any[][])"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/helpers/amapPolygonPath2GeoJSONCoords.ts#amapPolygonPath2GeoJSONCoords"]={docgenInfo:amapPolygonPath2GeoJSONCoords_amapPolygonPath2GeoJSONCoords.__docgenInfo,name:"amapPolygonPath2GeoJSONCoords",path:"src/helpers/amapPolygonPath2GeoJSONCoords.ts#amapPolygonPath2GeoJSONCoords"})}catch(__react_docgen_typescript_loader_error){}try{useAMapContainerBinder.displayName="useAMapContainerBinder",useAMapContainerBinder.__docgenInfo={description:"",displayName:"useAMapContainerBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/index.ts#useAMapContainerBinder"]={docgenInfo:useAMapContainerBinder.__docgenInfo,name:"useAMapContainerBinder",path:"src/index.ts#useAMapContainerBinder"})}catch(__react_docgen_typescript_loader_error){}try{useAMapOverlayBinder.displayName="useAMapOverlayBinder",useAMapOverlayBinder.__docgenInfo={description:"将 overlay 绑定至 OverlayGroup 或直接绑定至 Map",displayName:"useAMapOverlayBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/index.ts#useAMapOverlayBinder"]={docgenInfo:useAMapOverlayBinder.__docgenInfo,name:"useAMapOverlayBinder",path:"src/index.ts#useAMapOverlayBinder"})}catch(__react_docgen_typescript_loader_error){}try{coordsOfGeoJSON2AMapPolygonPath.displayName="coordsOfGeoJSON2AMapPolygonPath",coordsOfGeoJSON2AMapPolygonPath.__docgenInfo={description:"去掉最后一个 Position 点。\n支持 GeoJSON.Polygon 和 GeoJSON.MultiplePolygon 转换",displayName:"coordsOfGeoJSON2AMapPolygonPath",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/index.ts#coordsOfGeoJSON2AMapPolygonPath"]={docgenInfo:coordsOfGeoJSON2AMapPolygonPath.__docgenInfo,name:"coordsOfGeoJSON2AMapPolygonPath",path:"src/index.ts#coordsOfGeoJSON2AMapPolygonPath"})}catch(__react_docgen_typescript_loader_error){}try{amapPolygonPath2GeoJSONCoords.displayName="amapPolygonPath2GeoJSONCoords",amapPolygonPath2GeoJSONCoords.__docgenInfo={description:"补充最后一个 Position。\n支持转换至 GeoJSON.Polygon 和 GeoJSON.MultiplePolygon 的 coords",displayName:"amapPolygonPath2GeoJSONCoords",props:{length:{defaultValue:null,description:"Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.",name:"length",required:!0,type:{name:"number"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"(() => string) | (() => string) | (() => string)"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocalString methods.",name:"toLocaleString",required:!1,type:{name:"(() => string) | (() => string) | (() => string)"}},pop:{defaultValue:null,description:"Removes the last element from an array and returns it.",name:"pop",required:!0,type:{name:"(() => any) | (() => any[]) | (() => any[][])"}},push:{defaultValue:null,description:"Appends new elements to an array, and returns the new length of the array.\n@param items New elements of the Array.",name:"push",required:!0,type:{name:"((...items: any[]) => number) | ((...items: any[][]) => number) | ((...items: any[][][]) => number)"}},concat:{defaultValue:null,description:"Combines two or more arrays.\nCombines two or more arrays.\n@param items Additional items to add to the end of array1.\n@param items Additional items to add to the end of array1.",name:"concat",required:!0,type:{name:"{ (...items: ConcatArray[]): any[]; (...items: any[]): any[]; } | { (...items: ConcatArray[]): any[][]; (...items: (any[] | ConcatArray)[]): any[][]; } | { ...; }"}},join:{defaultValue:null,description:"Adds all the elements of an array separated by the specified separator string.\n@param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.",name:"join",required:!0,type:{name:"((separator?: string) => string) | ((separator?: string) => string) | ((separator?: string) => string)"}},reverse:{defaultValue:null,description:"Reverses the elements in an Array.",name:"reverse",required:!0,type:{name:"(() => any[]) | (() => any[][]) | (() => any[][][])"}},shift:{defaultValue:null,description:"Removes the first element from an array and returns it.",name:"shift",required:!0,type:{name:"(() => any) | (() => any[]) | (() => any[][])"}},slice:{defaultValue:null,description:"Returns a section of an array.\n@param start The beginning of the specified portion of the array.\n@param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.",name:"slice",required:!0,type:{name:"((start?: number, end?: number) => any[]) | ((start?: number, end?: number) => any[][]) | ((start?: number, end?: number) => any[][][])"}},sort:{defaultValue:null,description:"Sorts an array.\n@param compareFn Function used to determine the order of the elements. It is expected to return\ra negative value if first argument is less than second argument, zero if they're equal and a positive\rvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r```ts\r[11,2,22,1].sort((a, b) => a - b)\r```",name:"sort",required:!0,type:{name:"((compareFn?: (a: any, b: any) => number) => any[]) | ((compareFn?: (a: any[], b: any[]) => number) => any[][]) | ((compareFn?: (a: any[][], b: any[][]) => number) => any[][][])"}},splice:{defaultValue:null,description:"Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\nRemoves elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param items Elements to insert into the array in place of the deleted elements.",name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number): any[]; (start: number, deleteCount: number, ...items: any[]): any[]; } | { (start: number, deleteCount?: number): any[][]; (start: number, deleteCount: number, ...items: any[][]): any[][]; } | { ...; }"}},unshift:{defaultValue:null,description:"Inserts new elements at the start of an array.\n@param items Elements to insert at the start of the Array.",name:"unshift",required:!0,type:{name:"((...items: any[]) => number) | ((...items: any[][]) => number) | ((...items: any[][][]) => number)"}},indexOf:{defaultValue:null,description:"Returns the index of the first occurrence of a value in an array.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",name:"indexOf",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => number) | ((searchElement: any[], fromIndex?: number) => number) | ((searchElement: any[][], fromIndex?: number) => number)"}},lastIndexOf:{defaultValue:null,description:"Returns the index of the last occurrence of a specified value in an array.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.",name:"lastIndexOf",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => number) | ((searchElement: any[], fromIndex?: number) => number) | ((searchElement: any[][], fromIndex?: number) => number)"}},every:{defaultValue:null,description:"Determines whether all the members of an array satisfy the specified test.\n@param callbackfn A function that accepts up to three arguments. The every method calls\rthe callbackfn function for each element in the array until the callbackfn returns a value\rwhich is coercible to the Boolean value false, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function.\rIf thisArg is omitted, undefined is used as the this value.",name:"every",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[], index: number, array: any[][]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => unknown, thisArg?: any) => boolean)"}},some:{defaultValue:null,description:"Determines whether the specified callback function returns true for any element of an array.\n@param callbackfn A function that accepts up to three arguments. The some method calls\rthe callbackfn function for each element in the array until the callbackfn returns a value\rwhich is coercible to the Boolean value true, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function.\rIf thisArg is omitted, undefined is used as the this value.",name:"some",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[], index: number, array: any[][]) => unknown, thisArg?: any) => boolean) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => unknown, thisArg?: any) => boolean)"}},forEach:{defaultValue:null,description:"Performs the specified action for each element in an array.\n@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"forEach",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => void, thisArg?: any) => void) | ((callbackfn: (value: any[], index: number, array: any[][]) => void, thisArg?: any) => void) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => void, thisArg?: any) => void)"}},map:{defaultValue:null,description:"Calls a defined callback function on each element of an array, and returns an array that contains the results.\n@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"map",required:!0,type:{name:"((callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: any[], index: number, array: any[][]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: any[][], index: number, array: any[][][]) => U, thisArg?: any) => U[])"}},filter:{defaultValue:null,description:"Returns the elements of an array that meet the condition specified in a callback function.\nReturns the elements of an array that meet the condition specified in a callback function.\n@param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n@param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"filter",required:!0,type:{name:"{ (callbackfn: (value: any, index: number, array: any[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: any, index: number, array: any[]) => unknown, thisArg?: any): any[]; } | { (callbackfn: (value: any[], index: number, array: any[][]) => value is S, thisArg?: any): S[]; (..."}},reduce:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\nCalls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; (callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) ..."}},reduceRight:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\nCalls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; (callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) ..."}},find:{defaultValue:null,description:"Returns the value of the first element in the array where predicate is true, and undefined\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\rorder, until it finds one where predicate returns true. If such an element is found, find\rimmediately returns that element value. Otherwise, find returns undefined.\n@param thisArg If provided, it will be used as the this value for each invocation of\rpredicate. If it is not provided, undefined is used instead.",name:"find",required:!0,type:{name:"{ (predicate: (this: void, value: any, index: number, obj: any[]) => value is S, thisArg?: any): S; (predicate: (value: any, index: number, obj: any[]) => unknown, thisArg?: any): any; } | { ...; } | { ...; }"}},findIndex:{defaultValue:null,description:"Returns the index of the first element in the array where predicate is true, and -1\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\rorder, until it finds one where predicate returns true. If such an element is found,\rfindIndex immediately returns that element index. Otherwise, findIndex returns -1.\n@param thisArg If provided, it will be used as the this value for each invocation of\rpredicate. If it is not provided, undefined is used instead.",name:"findIndex",required:!0,type:{name:"((predicate: (value: any, index: number, obj: any[]) => unknown, thisArg?: any) => number) | ((predicate: (value: any[], index: number, obj: any[][]) => unknown, thisArg?: any) => number) | ((predicate: (value: any[][], index: number, obj: any[][][]) => unknown, thisArg?: any) => number)"}},fill:{defaultValue:null,description:"Returns the this object after filling the section identified by start and end with value\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\rlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\rlength+end.",name:"fill",required:!0,type:{name:"((value: any, start?: number, end?: number) => any[]) | ((value: any[], start?: number, end?: number) => any[][]) | ((value: any[][], start?: number, end?: number) => any[][][])"}},copyWithin:{defaultValue:null,description:"Returns the this object after copying a section of the array identified by start and end\nto the same array starting at position target\n@param target If target is negative, it is treated as length+target where length is the\rlength of the array.\n@param start If start is negative, it is treated as length+start. If end is negative, it\ris treated as length+end.\n@param end If not specified, length of the this object is used as its default value.",name:"copyWithin",required:!0,type:{name:"((target: number, start: number, end?: number) => any[]) | ((target: number, start: number, end?: number) => any[][]) | ((target: number, start: number, end?: number) => any[][][])"}},"__@iterator":{defaultValue:null,description:"Iterator",name:"__@iterator",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"(() => IterableIterator<[number, any]>) | (() => IterableIterator<[number, any[]]>) | (() => IterableIterator<[number, any[][]]>)"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"(() => IterableIterator) | (() => IterableIterator) | (() => IterableIterator)"}},"__@unscopables":{defaultValue:null,description:"Returns an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",name:"__@unscopables",required:!0,type:{name:"(() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | (() => { ...; })"}},includes:{defaultValue:null,description:"Determines whether an array includes a certain element, returning true or false as appropriate.\n@param searchElement The element to search for.\n@param fromIndex The position in this array at which to begin searching for searchElement.",name:"includes",required:!0,type:{name:"((searchElement: any, fromIndex?: number) => boolean) | ((searchElement: any[], fromIndex?: number) => boolean) | ((searchElement: any[][], fromIndex?: number) => boolean)"}},flatMap:{defaultValue:null,description:"Calls a defined callback function on each element of an array. Then, flattens the result into\na new array.\nThis is identical to a map followed by flat with depth 1.\n@param callback A function that accepts up to three arguments. The flatMap method calls the\rcallback function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callback function. If\rthisArg is omitted, undefined is used as the this value.",name:"flatMap",required:!0,type:{name:"((callback: (this: This, value: any, index: number, array: any[]) => U | readonly U[], thisArg?: This) => U[]) | ((callback: (this: This, value: any[], index: number, array: any[][]) => U | readonly U[], thisArg?: This) => U[]) | ((callback: (this: This,..."}},flat:{defaultValue:null,description:"Returns a new array with all sub-array elements concatenated into it recursively up to the\nspecified depth.\n@param depth The maximum recursion depth",name:"flat",required:!0,type:{name:"((this: A, depth?: D) => FlatArray[]) | ((this: A, depth?: D) => FlatArray[]) | ((this: A, depth?: D) => FlatArray<...>[])"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"((index: number) => any) | ((index: number) => any[]) | ((index: number) => any[][])"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/index.ts#amapPolygonPath2GeoJSONCoords"]={docgenInfo:amapPolygonPath2GeoJSONCoords.__docgenInfo,name:"amapPolygonPath2GeoJSONCoords",path:"src/index.ts#amapPolygonPath2GeoJSONCoords"})}catch(__react_docgen_typescript_loader_error){}},1201:function(module,exports,__webpack_require__){"use strict";__webpack_require__(11),__webpack_require__(4),__webpack_require__(56),__webpack_require__(9),__webpack_require__(1202),__webpack_require__(51),__webpack_require__(52),__webpack_require__(1203),__webpack_require__(46),__webpack_require__(54);var _clientApi=__webpack_require__(72),_clientLogger=__webpack_require__(53),_configFilename=__webpack_require__(1204);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i"}},cursor:{description:"指定鼠标悬停时的鼠标样式",type:{required:!1,summary:"string"}},extData:{description:"设置用户自定义属性",type:{required:!1,summary:"Object"}},draggable:{description:"是否可拖动",type:{required:!1,summary:"type",defaultValue:!1},table:{defaultValue:!1},control:{type:"boolean"}},visible:{description:"显示或隐藏",type:{required:!1,summary:"boolean",defaultValue:!0},table:{defaultValue:!0},control:{type:"boolean"}},bubble:{description:"是否将覆盖物的鼠标或touch等事件冒泡到地图上",type:{required:!1,summary:"boolean",defaultValue:!1},table:{defaultValue:!1},control:{type:"boolean"}},onShow:{description:"显示,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.a,__assign({},args))},CommonUse=Template.bind({});CommonUse.storyName="基本使用",CommonUse.args={};var CustomStyle=Template.bind({});CustomStyle.storyName="自定义样式",CustomStyle.args={fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]};var ClickEvent=Template.bind({});ClickEvent.storyName="点击事件(左单/左双/右单)",ClickEvent.args={onClick:eventHandler.onClick,onDBLClick:eventHandler.onDBLClick,onRightClick:eventHandler.onRightClick};var MouseEvent=Template.bind({});MouseEvent.storyName="鼠标事件(按下/抬起/经过/移出)",MouseEvent.args={onMousedown:eventHandler.onMousedown,onMouseup:eventHandler.onMouseup,onMouseover:eventHandler.onMouseover,onMouseout:eventHandler.onMouseout};var TouchEvent=Template.bind({});TouchEvent.storyName="触摸事件(触摸开始/触摸移动/触摸结束)",TouchEvent.args={onTouchstart:eventHandler.onTouchstart,onTouchmove:eventHandler.onTouchmove,onTouchend:eventHandler.onTouchend},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CommonUse.parameters),CustomStyle.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CustomStyle.parameters),ClickEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},ClickEvent.parameters),MouseEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},MouseEvent.parameters),TouchEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},TouchEvent.parameters)},1212:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ChangeOffset",(function(){return ChangeOffset})),__webpack_require__.d(__webpack_exports__,"ChangePosition",(function(){return ChangePosition})),__webpack_require__.d(__webpack_exports__,"HideControlButton",(function(){return HideControlButton}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(40),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(37),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},ChangeOffset.parameters),ChangePosition.parameters=__assign({storySource:{source:"(args) => "}},ChangePosition.parameters),HideControlButton.parameters=__assign({storySource:{source:"(args) => "}},HideControlButton.parameters)},1213:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"CustomStyle",(function(){return CustomStyle})),__webpack_require__.d(__webpack_exports__,"ClickEvent",(function(){return ClickEvent})),__webpack_require__.d(__webpack_exports__,"MouseEvent",(function(){return MouseEvent})),__webpack_require__.d(__webpack_exports__,"TouchEvent",(function(){return TouchEvent}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(40),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(37),_AMapAutoFitView_stories_withAutoFitView__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(100),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i"}},cursor:{description:"指定鼠标悬停时的鼠标样式",type:{required:!1,summary:"string"}},extData:{description:"设置用户自定义属性",type:{required:!1,summary:"Object"}},draggable:{description:"是否可拖动",type:{required:!1,summary:"type",defaultValue:!1},table:{defaultValue:!1},control:{type:"boolean"}},visible:{description:"显示或隐藏",type:{required:!1,summary:"boolean",defaultValue:!0},table:{defaultValue:!0},control:{type:"boolean"}},bubble:{description:"是否将覆盖物的鼠标或touch等事件冒泡到地图上",type:{required:!1,summary:"boolean",defaultValue:!1},table:{defaultValue:!1},control:{type:"boolean"}},onShow:{description:"显示,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.c,__assign({},args))},CommonUse=Template.bind({});CommonUse.storyName="基本使用",CommonUse.args={};var CustomStyle=Template.bind({});CustomStyle.storyName="自定义样式",CustomStyle.args={fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]};var ClickEvent=Template.bind({});ClickEvent.storyName="点击事件(左单/左双/右单)",ClickEvent.args={onClick:eventHandler.onClick,onDBLClick:eventHandler.onDBLClick,onRightClick:eventHandler.onRightClick};var MouseEvent=Template.bind({});MouseEvent.storyName="鼠标事件(按下/抬起/经过/移出)",MouseEvent.args={onMousedown:eventHandler.onMousedown,onMouseup:eventHandler.onMouseup,onMouseover:eventHandler.onMouseover,onMouseout:eventHandler.onMouseout};var TouchEvent=Template.bind({});TouchEvent.storyName="触摸事件(触摸开始/触摸移动/触摸结束)",TouchEvent.args={onTouchstart:eventHandler.onTouchstart,onTouchmove:eventHandler.onTouchmove,onTouchend:eventHandler.onTouchend},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CommonUse.parameters),CustomStyle.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CustomStyle.parameters),ClickEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},ClickEvent.parameters),MouseEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},MouseEvent.parameters),TouchEvent.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},TouchEvent.parameters)},1214:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"CustomStyle",(function(){return CustomStyle})),__webpack_require__.d(__webpack_exports__,"CustomOverlay",(function(){return CustomOverlay}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),index__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(37),_AMapAutoFitView_stories_withAutoFitView__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(100),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i AMap.Overlay"}}},getPolyline:{description:"指定点要素的绘制方式,缺省时为 Polyline 的默认样式。",table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}},getPolygon:{description:"指定点要素的绘制方式,缺省时为 Polygon 的默认样式。",table:{type:{summary:"(geojson?: GeoJSON.GeoJSON, lnglat?: GeoJSON.Point, map?: AMap.Map | null, AMap?: AMap.AMap) => AMap.Overlay"}}}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_3__.d,__assign({},args))},CommonUse=Template.bind({});CommonUse.storyName="基本使用";var CustomStyle=Template.bind({});CustomStyle.storyName="自定义样式",CustomStyle.args={options:{strokeColor:"red",strokeWeight:4}};var CustomOverlay=Template.bind({});CustomOverlay.storyName="自定义覆盖物",CustomOverlay.args={options:{strokeColor:"red",strokeWeight:4},getMarker:function getMarker(_,lnglat,map,AMap){var options={position:lnglat,map:map,label:{offset:[],direction:"Top",content:"MyMarker"}};return new AMap.Marker(options)},getPolyline:function getPolyline(_,lnglat,map,AMap){var options={path:lnglat,map:map};return new AMap.Polyline(options)},getPolygon:function getPolygon(_,lnglat,map,AMap){var polygon=new AMap.Polygon,path=Object(index__WEBPACK_IMPORTED_MODULE_3__.n)(lnglat);return polygon.setPath(path),polygon.setOptions({strokeColor:"yellow"}),polygon.setMap(map),polygon}},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CommonUse.parameters),CustomStyle.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CustomStyle.parameters),CustomOverlay.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CustomOverlay.parameters)},1215:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ChangePosition",(function(){return ChangePosition})),__webpack_require__.d(__webpack_exports__,"ChangeStyle",(function(){return ChangeStyle})),__webpack_require__.d(__webpack_exports__,"ChangeTheme",(function(){return ChangeTheme})),__webpack_require__.d(__webpack_exports__,"NotAutoMove",(function(){return NotAutoMove}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(40),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(37),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},ChangePosition.parameters),ChangeStyle.parameters=__assign({storySource:{source:"(args) => "}},ChangeStyle.parameters),ChangeTheme.parameters=__assign({storySource:{source:"(args) => "}},ChangeTheme.parameters),NotAutoMove.parameters=__assign({storySource:{source:"(args) => "}},NotAutoMove.parameters)},1216:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"DefaultType",(function(){return DefaultType})),__webpack_require__.d(__webpack_exports__,"DefaultShowTraffic",(function(){return DefaultShowTraffic})),__webpack_require__.d(__webpack_exports__,"DefaultShowRoad",(function(){return DefaultShowRoad}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(40),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(37),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},CommonUse.parameters),DefaultType.parameters=__assign({storySource:{source:"(args) => "}},DefaultType.parameters),DefaultShowTraffic.parameters=__assign({storySource:{source:"(args) => "}},DefaultShowTraffic.parameters),DefaultShowRoad.parameters=__assign({storySource:{source:"(args) => "}},DefaultShowRoad.parameters)},1217:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"CustomIcon",(function(){return CustomIcon})),__webpack_require__.d(__webpack_exports__,"CustomContent",(function(){return CustomContent})),__webpack_require__.d(__webpack_exports__,"CustomLabel",(function(){return CustomLabel})),__webpack_require__.d(__webpack_exports__,"CustomZooms",(function(){return CustomZooms})),__webpack_require__.d(__webpack_exports__,"Draggable",(function(){return Draggable})),__webpack_require__.d(__webpack_exports__,"CustomAnchor",(function(){return CustomAnchor})),__webpack_require__.d(__webpack_exports__,"CustomOffset",(function(){return CustomOffset})),__webpack_require__.d(__webpack_exports__,"CustomAngle",(function(){return CustomAngle})),__webpack_require__.d(__webpack_exports__,"SameZIndex",(function(){return SameZIndex})),__webpack_require__.d(__webpack_exports__,"ClickEvent",(function(){return ClickEvent})),__webpack_require__.d(__webpack_exports__,"MouseEvent",(function(){return MouseEvent})),__webpack_require__.d(__webpack_exports__,"TouchEvent",(function(){return TouchEvent}));__webpack_require__(3),__webpack_require__(22),__webpack_require__(4),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__),react_dom_server__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(373),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(40),index__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(37),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i void"},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousemove:{description:"鼠标移动",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onDragstart:{description:"开始拖拽点标记时触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onDragging:{description:"鼠标拖拽移动点标记时触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onDragend:{description:"点标记拖拽移动结束触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onMoving:{description:"点标记在执行 `moveTo`,`moveAlong` 动画时触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onMoveEnd:{description:"点标记在执行 `moveTo`,`moveAlong` 动画时触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1},onMoveAlong:{description:"点标记执行 moveAlong 动画一次后触发事件",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.h,__assign({},args))},CommonUse=Template.bind({});CommonUse.storyName="一般使用",CommonUse.args={};var CustomIcon=Template.bind({});CustomIcon.storyName="自定义标记图标",CustomIcon.args={icon:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",size:[38,60]};var CustomContent=Template.bind({});CustomContent.storyName="自定义标记内容",CustomContent.args={content:Object(react_dom_server__WEBPACK_IMPORTED_MODULE_5__.renderToString)(react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("span",{style:{color:"red"}},"点")),icon:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",size:[38,60]};var CustomLabel=Template.bind({});CustomLabel.storyName="自定义标签内容",CustomLabel.args={label:{content:Object(react_dom_server__WEBPACK_IMPORTED_MODULE_5__.renderToString)(react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("span",{style:{color:"red"}},"标签内容")),offset:[0,10],direction:"bottom"}};var CustomZooms=function CustomZooms(args){return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_4___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.m,null),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.h,__assign({},args)))};CustomZooms.storyName="自定义可显示层级",CustomZooms.args={zooms:[10,14]};var Draggable=Template.bind({});Draggable.storyName="可拖拽",Draggable.args={draggable:!0,onDragstart:eventHandler.onDragstart,onDragging:eventHandler.onDragging,onDragend:eventHandler.onDragend};var CustomAnchor=Template.bind({});CustomAnchor.storyName="自定义点标记锚点",CustomAnchor.args={anchor:"bottom-center"};var CustomOffset=Template.bind({});CustomOffset.storyName="自定义偏移量",CustomOffset.args={offset:[300,300]};var CustomAngle=Template.bind({});CustomAngle.storyName="自定义旋转角度",CustomAngle.args={angle:45};var SameZIndex=function SameZIndex(_a){var zIndex=_a.zIndex,args=__rest(_a,["zIndex"]);return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_4___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.h,__assign({},args,{zIndex:zIndex,icon:"//webapi.amap.com/theme/v1.3/markers/b/mark_r.png",size:[38,60]})),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_7__.h,__assign({},args)))};SameZIndex.storyName="自定义 Marker 层级",SameZIndex.args={zIndex:13};var ClickEvent=Template.bind({});ClickEvent.storyName="点击事件(左单/左双/右单)",ClickEvent.args={onClick:eventHandler.onClick,onDBLClick:eventHandler.onDBLClick,onRightClick:eventHandler.onRightClick};var MouseEvent=Template.bind({});MouseEvent.storyName="鼠标事件(按下/抬起/经过/移出)",MouseEvent.args={onMousedown:eventHandler.onMousedown,onMouseup:eventHandler.onMouseup,onMouseover:eventHandler.onMouseover,onMouseout:eventHandler.onMouseout};var TouchEvent=Template.bind({});TouchEvent.storyName="触摸事件(触摸开始/触摸移动/触摸结束)",TouchEvent.args={onTouchstart:eventHandler.onTouchstart,onTouchmove:eventHandler.onTouchmove,onTouchend:eventHandler.onTouchend},CommonUse.parameters=__assign({storySource:{source:"(args) => "}},CommonUse.parameters),CustomIcon.parameters=__assign({storySource:{source:"(args) => "}},CustomIcon.parameters),CustomContent.parameters=__assign({storySource:{source:"(args) => "}},CustomContent.parameters),CustomLabel.parameters=__assign({storySource:{source:"(args) => "}},CustomLabel.parameters),CustomZooms.parameters=__assign({storySource:{source:"(args) => (\n <>\n \n \n \n)"}},CustomZooms.parameters),Draggable.parameters=__assign({storySource:{source:"(args) => "}},Draggable.parameters),CustomAnchor.parameters=__assign({storySource:{source:"(args) => "}},CustomAnchor.parameters),CustomOffset.parameters=__assign({storySource:{source:"(args) => "}},CustomOffset.parameters),CustomAngle.parameters=__assign({storySource:{source:"(args) => "}},CustomAngle.parameters),SameZIndex.parameters=__assign({storySource:{source:'({\n \n zIndex,\n ...args\n}) => (\n <>\n \n \n \n)'}},SameZIndex.parameters),ClickEvent.parameters=__assign({storySource:{source:"(args) => "}},ClickEvent.parameters),MouseEvent.parameters=__assign({storySource:{source:"(args) => "}},MouseEvent.parameters),TouchEvent.parameters=__assign({storySource:{source:"(args) => "}},TouchEvent.parameters)},1219:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(40),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(37),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i) => void'}}}};var CommonUse=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.i,__assign({},args))}.bind({});CommonUse.storyName="基本使用",CommonUse.args={type:"polygon",options:{strokeColor:"red",strokeWeight:4},onCompleted:eventHandler.onCompleted},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n)"}},CommonUse.parameters)},1220:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CommonUse",(function(){return CommonUse})),__webpack_require__.d(__webpack_exports__,"CustomStyle",(function(){return CustomStyle})),__webpack_require__.d(__webpack_exports__,"NestedUse",(function(){return NestedUse})),__webpack_require__.d(__webpack_exports__,"ClickEvent",(function(){return ClickEvent})),__webpack_require__.d(__webpack_exports__,"MouseEvent",(function(){return MouseEvent})),__webpack_require__.d(__webpack_exports__,"TouchEvent",(function(){return TouchEvent}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(40),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(37),_AMapAutoFitView_stories_withAutoFitView__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(100),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i void"},control:!1},onHide:{description:"隐藏,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onClick:{description:"左键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onDBLClick:{description:"左键双击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onRightClick:{description:"右键单击,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMousedown:{description:"鼠标按下,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseup:{description:"鼠标抬起,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseover:{description:"鼠标经过,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onMouseout:{description:"鼠标移出,回调函数",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchstart:{description:"触摸开始,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchmove:{description:"触摸移动,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1},onTouchend:{description:"触摸结束,回调函数,仅移动设备有效",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.j,__assign({},args),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.d,{geoJSON:{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:{type:"Polygon",coordinates:[[[116.272781,39.98221],[116.274904,39.903107],[116.481254,39.907666],[116.464271,39.988716],[116.272781,39.98221]]]}}]}}),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.a,{center:[116.39,39.9],radius:1e4}),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.c,{center:[116.39,39.9],radius:[1e4,5e3]}),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.h,{position:[116.39,39.9]}))},CommonUse=Template.bind({});CommonUse.storyName="基本使用",CommonUse.args={};var CustomStyle=Template.bind({});CustomStyle.storyName="自定义样式",CustomStyle.args={options:{fillColor:"yellow",fillOpacity:.5,strokeColor:"red",strokeStyle:"dashed",strokeOpacity:.1,strokeWeight:20,strokeDasharray:[10,40]}};var NestedUse=function NestedUse(args){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.j,null,react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.j,__assign({},args),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.a,{center:[116.39,39.9],radius:1e4})),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.c,{center:[116.39,39.9],radius:[1e4,5e3]}),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_4__.h,{position:[116.39,39.9]}))};NestedUse.storyName="嵌套使用",NestedUse.args={options:CustomStyle.args.options};var ClickEvent=Template.bind({});ClickEvent.storyName="点击事件(左单/左双/右单)",ClickEvent.args={onClick:eventHandler.onClick,onDBLClick:eventHandler.onDBLClick,onRightClick:eventHandler.onRightClick};var MouseEvent=Template.bind({});MouseEvent.storyName="鼠标事件(按下/抬起/经过/移出)",MouseEvent.args={onMousedown:eventHandler.onMousedown,onMouseup:eventHandler.onMouseup,onMouseover:eventHandler.onMouseover,onMouseout:eventHandler.onMouseout};var TouchEvent=Template.bind({});TouchEvent.storyName="触摸事件(触摸开始/触摸移动/触摸结束)",TouchEvent.args={onTouchstart:eventHandler.onTouchstart,onTouchmove:eventHandler.onTouchmove,onTouchend:eventHandler.onTouchend},CommonUse.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},CommonUse.parameters),CustomStyle.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},CustomStyle.parameters),NestedUse.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n \n)"}},NestedUse.parameters),ClickEvent.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},ClickEvent.parameters),MouseEvent.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},MouseEvent.parameters),TouchEvent.parameters=__assign({storySource:{source:"(args) => (\n \n \n \n \n \n \n)"}},TouchEvent.parameters)},1221:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithGeoJSON",(function(){return WithGeoJSON})),__webpack_require__.d(__webpack_exports__,"SetAdsorbPolygons",(function(){return SetAdsorbPolygons})),__webpack_require__.d(__webpack_exports__,"DisablePolygonEditor",(function(){return DisablePolygonEditor}));__webpack_require__(3),__webpack_require__(66),__webpack_require__(56),__webpack_require__(9);var react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__),index__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(12),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(40),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(37),_AMapAutoFitView_stories_withAutoFitView__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(100),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i allPolygons"}},control:!1},onChange:{description:"Target 变化时的回调",type:{required:!1,summary:"(event: any) => void"},control:!1}}};var Template=function Template(args){return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_4___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_5__.d,{geoJSON:mockData}),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(index__WEBPACK_IMPORTED_MODULE_5__.k,__assign({},args)))},WithGeoJSON=Template.bind({});WithGeoJSON.storyName="与AMapGeoJSON一同使用",WithGeoJSON.args={computeTarget:function computeTarget(polygons){return polygons[1]}};var SetAdsorbPolygons=Template.bind({});SetAdsorbPolygons.storyName="自定义磁吸围栏",SetAdsorbPolygons.args={computeAdsorbPolygons:function computeAdsorbPolygons(polygons){return polygons.filter((function(_,index){return 1===index}))}};var DisablePolygonEditor=Template.bind({});DisablePolygonEditor.storyName="禁用编辑器",DisablePolygonEditor.args={disabled:!0},WithGeoJSON.parameters=__assign({storySource:{source:"(args) => (\n <>\n \n \n \n)"}},WithGeoJSON.parameters),SetAdsorbPolygons.parameters=__assign({storySource:{source:"(args) => (\n <>\n \n \n \n)"}},SetAdsorbPolygons.parameters),DisablePolygonEditor.parameters=__assign({storySource:{source:"(args) => (\n <>\n \n \n \n)"}},DisablePolygonEditor.parameters)},1222:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ChangeOffset",(function(){return ChangeOffset})),__webpack_require__.d(__webpack_exports__,"ChangePosition",(function(){return ChangePosition}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(40),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(37),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},ChangeOffset.parameters),ChangePosition.parameters=__assign({storySource:{source:"(args) => "}},ChangePosition.parameters)},1223:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ChangeOffset",(function(){return ChangeOffset})),__webpack_require__.d(__webpack_exports__,"ChangePosition",(function(){return ChangePosition}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(40),index__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(12),_AMapMap_stories_AMapMap_stories__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(37),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},ChangeOffset.parameters),ChangePosition.parameters=__assign({storySource:{source:"(args) => "}},ChangePosition.parameters)},157:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),_components_AMapAPIContainer__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(254);__webpack_exports__.a=function useAMapAPI(){return Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_components_AMapAPIContainer__WEBPACK_IMPORTED_MODULE_1__.a)}},158:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),AMapOverlayGroupContext=Object(react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);__webpack_exports__.a=AMapOverlayGroupContext},197:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return AMapMap_AMapMapContext})),__webpack_require__.d(__webpack_exports__,"a",(function(){return AMapMap_AMapMap}));var react=__webpack_require__(0),AMapMap_AMapMapContext=react.createContext(null),useAMapAPI=__webpack_require__(157),CONTAINER_STYLE={width:"100%",height:"100%"},defaultProps={center:void 0,cityName:void 0,zoom:void 0},AMapMap=Object(react.forwardRef)((function(_a,ref){var children=_a.children,center=_a.center,cityName=_a.cityName,zoom=_a.zoom,AMap=Object(useAMapAPI.a)().__AMAP__,$mapContainer=Object(react.useRef)(null),_b=Object(react.useState)(null),curMap=_b[0],setInstance=_b[1];return Object(react.useEffect)((function(){var clearEffect;if(!$mapContainer.current||!AMap)return clearEffect;return function initMap(){var newInstance=new AMap.Map($mapContainer.current),mapProxy=new Proxy(newInstance,{get:function get(target,p){if("add"===p){return function newAddFunc(features){var result=target.add(features);return newInstance.emit("overlaysAdded",features),result}}if("remove"===p){return function newRemoveFunc(features){var result=target.remove(features);return newInstance.emit("overlaysRemoved",features),result}}return target[p]}});clearEffect=function clearEffect(){newInstance.destroy()},setInstance(mapProxy)}(),clearEffect}),[AMap]),Object(react.useImperativeHandle)(ref,(function(){return curMap}),[curMap]),Object(react.useEffect)((function(){cityName&&(null==curMap||curMap.setCity(cityName,(function(){})))}),[cityName,curMap]),Object(react.useEffect)((function(){zoom&&(null==curMap||curMap.setZoom(zoom))}),[zoom,curMap]),Object(react.useEffect)((function(){center&&(null==curMap||curMap.setCenter(center))}),[center,curMap]),react.createElement("div",{style:CONTAINER_STYLE,ref:$mapContainer},react.createElement(AMapMap_AMapMapContext.Provider,{value:curMap},children))}));AMapMap.defaultProps=defaultProps;var AMapMap_AMapMap=Object(react.memo)(AMapMap);try{AMapMap.displayName="AMapMap",AMapMap.__docgenInfo={description:"",displayName:"AMapMap",props:{center:{defaultValue:{value:"undefined"},description:"",name:"center",required:!1,type:{name:"[number, number]"}},cityName:{defaultValue:{value:"undefined"},description:"",name:"cityName",required:!1,type:{name:"string"}},zoom:{defaultValue:{value:"undefined"},description:"",name:"zoom",required:!1,type:{name:"number"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"ReactText"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMap/AMapMap.tsx#AMapMap"]={docgenInfo:AMapMap.__docgenInfo,name:"AMapMap",path:"src/components/AMapMap/AMapMap.tsx#AMapMap"})}catch(__react_docgen_typescript_loader_error){}try{AMapMap.displayName="AMapMap",AMapMap.__docgenInfo={description:"",displayName:"AMapMap",props:{center:{defaultValue:{value:"undefined"},description:"",name:"center",required:!1,type:{name:"[number, number]"}},cityName:{defaultValue:{value:"undefined"},description:"",name:"cityName",required:!1,type:{name:"string"}},zoom:{defaultValue:{value:"undefined"},description:"",name:"zoom",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMap/AMapMap.tsx#AMapMap"]={docgenInfo:AMapMap.__docgenInfo,name:"AMapMap",path:"src/components/AMapMap/AMapMap.tsx#AMapMap"})}catch(__react_docgen_typescript_loader_error){}},254:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return AMapAPIContainer_AMapAPIContext})),__webpack_require__.d(__webpack_exports__,"b",(function(){return createAMapAPIContainer_createAMapAPIContainer}));var react=__webpack_require__(0),react_default=__webpack_require__.n(react),defaultContext={__AMAP__:null,__AMAP_UI__:null},AMapAPIContainer_AMapAPIContext=Object(react.createContext)(defaultContext),dist=(__webpack_require__(3),__webpack_require__(9),__webpack_require__(116),__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(18),__webpack_require__(19),__webpack_require__(20),__webpack_require__(22),__webpack_require__(571)),dist_default=__webpack_require__.n(dist),getGlobalObject=__webpack_require__(261),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i0&&t[t.length-1])||6!==op[0]&&2!==op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]0&&promises.push(new Promise((function(r){AMap.plugin(otherOptions.plugins,r)}))),[4,Promise.all(promises)];case 3:_c.sent(),_c.label=4;case 4:return[2,{default:function AMapAPIContainer(_a){var children=_a.children;return react_default.a.createElement(AMapAPIContainer_AMapAPIContext.Provider,{value:{__AMAP__:AMap,__AMAP_UI__:AMapUI}},children)}}]}}))}))}))};try{createAMapAPIContainer_createAMapAPIContainer.displayName="createAMapAPIContainer",createAMapAPIContainer_createAMapAPIContainer.__docgenInfo={description:"",displayName:"createAMapAPIContainer",props:{version:{defaultValue:null,description:"",name:"version",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAPIContainer/createAMapAPIContainer.tsx#createAMapAPIContainer"]={docgenInfo:createAMapAPIContainer_createAMapAPIContainer.__docgenInfo,name:"createAMapAPIContainer",path:"src/components/AMapAPIContainer/createAMapAPIContainer.tsx#createAMapAPIContainer"})}catch(__react_docgen_typescript_loader_error){}try{createAMapAPIContainer_createAMapAPIContainer.displayName="createAMapAPIContainer",createAMapAPIContainer_createAMapAPIContainer.__docgenInfo={description:"",displayName:"createAMapAPIContainer",props:{key:{defaultValue:null,description:"",name:"key",required:!0,type:{name:"string"}},plugins:{defaultValue:null,description:"",name:"plugins",required:!1,type:{name:"string[]"}},AMapUI:{defaultValue:null,description:"",name:"AMapUI",required:!1,type:{name:"{ version?: string; plugins?: string[] | undefined; } | undefined"}},Loca:{defaultValue:null,description:"",name:"Loca",required:!1,type:{name:"{ version?: string; } | undefined"}},version:{defaultValue:null,description:"",name:"version",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAPIContainer/createAMapAPIContainer.tsx#createAMapAPIContainer"]={docgenInfo:createAMapAPIContainer_createAMapAPIContainer.__docgenInfo,name:"createAMapAPIContainer",path:"src/components/AMapAPIContainer/createAMapAPIContainer.tsx#createAMapAPIContainer"})}catch(__react_docgen_typescript_loader_error){}},259:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"AsyncPluginAPIContainer",(function(){return AsyncPluginAPIContainer})),__webpack_require__.d(__webpack_exports__,"AsyncPlugin",(function(){return AsyncPlugin})),__webpack_require__.d(__webpack_exports__,"SyncPlugin",(function(){return SyncPlugin}));__webpack_require__(3),__webpack_require__(15),__webpack_require__(27),__webpack_require__(9),__webpack_require__(24);var react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__),index__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(12),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {\n const { __AMAP__: AMap } = useAMapAPI();\n const $container = useRef(null);\n const $map = useRef(null);\n useEffect(() => {\n let clearEffect;\n if (!AMap || !$container.current) {\n return clearEffect;\n }\n\n const map = new AMap.Map($container.current);\n $map.current = map;\n\n AMap.plugin(\n ['ControlBar', 'ToolBar', 'Scale', 'MapType', 'HawkEye'].map(\n (pluginName) => `AMap.${pluginName}`,\n ),\n () => initPlugin(AMap, map),\n );\n\n AMapUI.loadUI('overlay/SimpleMarker', (SimpleMarker: typeof AMapUI.SimpleMarker) => {\n initUIPlugin(SimpleMarker, map);\n });\n\n clearEffect = () => {\n map.destroy();\n };\n\n return clearEffect;\n }, [AMap]);\n\n return
;\n};\n";AsyncPlugin.parameters={docs:{source:{code:AsyncPluginCode}}};var SyncPluginContentDrawer=function SyncPluginContentDrawer(){var _a=Object(index__WEBPACK_IMPORTED_MODULE_6__.p)(),AMap=_a.__AMAP__,AMapUI=_a.__AMAP_UI__,$container=Object(react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null),$map=Object(react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);return Object(react__WEBPACK_IMPORTED_MODULE_5__.useEffect)((function(){var clearEffect;if(!AMap||!$container.current)return clearEffect;var map=new AMap.Map($container.current);return $map.current=map,initPlugin(AMap,map),initUIPlugin(AMapUI.SimpleMarker,map),clearEffect=function clearEffect(){map.destroy()}}),[AMap,AMapUI]),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("div",{ref:$container,style:{height:400}})},SyncPlugin=function SyncPlugin(){return react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_5__.Suspense,{fallback:"loading..."},react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(SyncPluginAPIContainer,null,react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(SyncPluginContentDrawer,null)))};SyncPlugin.storyName="同步加载插件";var SyncPluginCode="\nconst SyncPluginAPIContainer = createAMapAPIContainer({\n version: '2.0',\n apiKey: AMAP_API_KEY,\n plugins: ['ControlBar', 'ToolBar', 'Scale', 'MapType', 'HawkEye'].map(\n (pluginName) => `AMap.${pluginName}`,\n ),\n AMapUI: {\n version: '1.1',\n plugins: ['overlay/SimpleMarker'],\n },\n});\n\n"+initPlugin.toString()+"\n\n"+initUIPlugin.toString()+"\n\nconst SyncPluginContentDrawer = () => {\n const { __AMAP__: AMap, __AMAP_UI__: AMapUI } = useAMapAPI();\n const $container = useRef(null);\n const $map = useRef(null);\n useEffect(() => {\n let clearEffect;\n if (!AMap || !$container.current) {\n return clearEffect;\n }\n\n const map = new AMap.Map($container.current);\n $map.current = map;\n\n initPlugin(AMap, map);\n initUIPlugin(AMapUI!.SimpleMarker, map);\n\n clearEffect = () => {\n map.destroy();\n };\n\n return clearEffect;\n }, [AMap, AMapUI]);\n return
;\n};\n\n() => (\n \n \n \n)\n";SyncPlugin.parameters={docs:{source:{code:SyncPluginCode}}},AsyncPluginAPIContainer.parameters=__assign({storySource:{source:"createAMapAPIContainer({\n key: AMAP_API_KEY,\n version: '2.0',\n AMapUI: {\n version: '1.1',\n },\n})"}},AsyncPluginAPIContainer.parameters),AsyncPlugin.parameters=__assign({storySource:{source:'() => (\n \n \n \n \n \n)'}},AsyncPlugin.parameters),SyncPlugin.parameters=__assign({storySource:{source:'() => (\n \n \n \n \n \n)'}},SyncPlugin.parameters);try{AsyncPluginAPIContainer.displayName="AsyncPluginAPIContainer",AsyncPluginAPIContainer.__docgenInfo={description:"",displayName:"AsyncPluginAPIContainer",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAPIContainer/stories/createAMapAPIContainer.stories.tsx#AsyncPluginAPIContainer"]={docgenInfo:AsyncPluginAPIContainer.__docgenInfo,name:"AsyncPluginAPIContainer",path:"src/components/AMapAPIContainer/stories/createAMapAPIContainer.stories.tsx#AsyncPluginAPIContainer"})}catch(__react_docgen_typescript_loader_error){}},261:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){__webpack_require__(1208);__webpack_exports__.a=function getGlobalObject(){var _a;return null!==(_a=null!==globalThis&&void 0!==globalThis?globalThis:global)&&void 0!==_a?_a:window}}).call(this,__webpack_require__(64))},36:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(15);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),_useAMap__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(63);__webpack_exports__.a=function useAMapPluginInstance(pluginName,initInstance){var _a=Object(_useAMap__WEBPACK_IMPORTED_MODULE_2__.a)(),AMap=_a.__AMAP__,map=_a.map,_b=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(null),curInstance=_b[0],setInstance=_b[1];return Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){if(AMap&&map){var init=function init(){var instance=initInstance(AMap,map);setInstance(instance)};AMap[pluginName]?init():AMap.plugin(["AMap."+pluginName],init)}}),[AMap,map,pluginName,initInstance]),curInstance}},37:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SetCenter",(function(){return SetCenter})),__webpack_require__.d(__webpack_exports__,"SetCityName",(function(){return SetCityName})),__webpack_require__.d(__webpack_exports__,"SetZoom",(function(){return SetZoom})),__webpack_require__.d(__webpack_exports__,"withAMapContainer",(function(){return withAMapContainer}));__webpack_require__(3),__webpack_require__(66);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),index__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(12),_AMapAPIContainer_stories_createAMapAPIContainer_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(259),__assign=function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i "}},SetCenter.parameters),SetCityName.parameters=__assign({storySource:{source:"(args) => "}},SetCityName.parameters),SetZoom.parameters=__assign({storySource:{source:"(args) => "}},SetZoom.parameters),withAMapContainer.parameters=__assign({storySource:{source:"(renderStory: Story, context: any) => (\n \n
\n {renderStory({}, context)}\n
\n
\n)"}},withAMapContainer.parameters)},38:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),__spreadArrays=function(){for(var s=0,i=0,il=arguments.length;i void"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(event?: any) => void"}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:"(event?: any) => void"}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:"(event?: any) => void"}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:"(event?: any) => void"}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:"(event?: any) => void"}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:"(event?: any) => void"}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:"(event?: any) => void"}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:"(event?: any) => void"}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:"(event?: any) => void"}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:"(event?: any) => void"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"ReactText"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapOverlayGroup/AMapOverlayGroup.tsx#AMapOverlayGroup"]={docgenInfo:AMapOverlayGroup.__docgenInfo,name:"AMapOverlayGroup",path:"src/components/AMapOverlayGroup/AMapOverlayGroup.tsx#AMapOverlayGroup"})}catch(__react_docgen_typescript_loader_error){}try{AMapOverlayGroup.displayName="AMapOverlayGroup",AMapOverlayGroup.__docgenInfo={description:"",displayName:"AMapOverlayGroup",props:{options:{defaultValue:null,description:"",name:"options",required:!1,type:{name:"any"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"Boolean"}},onShow:{defaultValue:null,description:"",name:"onShow",required:!1,type:{name:"((event?: any) => void)"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"((event?: any) => void)"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"((event?: any) => void)"}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:"((event?: any) => void)"}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:"((event?: any) => void)"}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:"((event?: any) => void)"}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:"((event?: any) => void)"}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:"((event?: any) => void)"}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:"((event?: any) => void)"}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:"((event?: any) => void)"}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:"((event?: any) => void)"}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:"((event?: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapOverlayGroup/AMapOverlayGroup.tsx#AMapOverlayGroup"]={docgenInfo:AMapOverlayGroup.__docgenInfo,name:"AMapOverlayGroup",path:"src/components/AMapOverlayGroup/AMapOverlayGroup.tsx#AMapOverlayGroup"})}catch(__react_docgen_typescript_loader_error){}},549:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(550);var _AMapGeoJSON__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(551);__webpack_require__.d(__webpack_exports__,"default",(function(){return _AMapGeoJSON__WEBPACK_IMPORTED_MODULE_1__.a}))},55:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);__webpack_exports__.a=function useVisible(instance,visible){Object(react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){var _a,_b;visible?null===(_a=null==instance?void 0:instance.show)||void 0===_a||_a.call(instance):null===(_b=null==instance?void 0:instance.hide)||void 0===_b||_b.call(instance)}),[instance,visible])}},550:function(module,exports){},551:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(15);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),_hooks_useAMap__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(63),_hooks_useAMapOverlayBinder__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(83),_hooks_useVisible__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(55),_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),AMapGeoJSON=function AMapGeoJSON(_a){var geoJSON=_a.geoJSON,getPolyline=_a.getPolyline,getMarker=_a.getMarker,getPolygon=_a.getPolygon,visible=_a.visible,options=_a.options,initInstance=Object(react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((function(AMap){return new AMap.GeoJSON({})}),[]),curInstance=Object(_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_5__.a)("GeoJSON",initInstance),withMap=function useWithAMap(){var _a=Object(_hooks_useAMap__WEBPACK_IMPORTED_MODULE_2__.a)(),AMap=_a.__AMAP__,map=_a.map;return Object(react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((function(fn){return"function"!=typeof fn?fn:function(geojson,lnglat){return fn(geojson,lnglat,map,AMap)}}),[AMap,map])}();return Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){curInstance&&(curInstance._opts.getPolyline=withMap(getPolyline))}),[curInstance,getPolyline,withMap]),Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){curInstance&&(curInstance._opts.getMarker=withMap(getMarker))}),[curInstance,getMarker,withMap]),Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){curInstance&&(curInstance._opts.getPolygon=withMap(getPolygon))}),[curInstance,getPolygon,withMap]),Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var _a;null===(_a=null==curInstance?void 0:curInstance.importData)||void 0===_a||_a.call(curInstance,geoJSON)}),[geoJSON,curInstance]),Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var _a;options&&(null===(_a=null==curInstance?void 0:curInstance.setOptions)||void 0===_a||_a.call(curInstance,options))}),[options,curInstance]),Object(_hooks_useVisible__WEBPACK_IMPORTED_MODULE_4__.a)(curInstance,visible),Object(_hooks_useAMapOverlayBinder__WEBPACK_IMPORTED_MODULE_3__.a)(curInstance),null};AMapGeoJSON.defaultProps={visible:!0},__webpack_exports__.a=AMapGeoJSON;try{AMapGeoJSON.displayName="AMapGeoJSON",AMapGeoJSON.__docgenInfo={description:"",displayName:"AMapGeoJSON",props:{geoJSON:{defaultValue:null,description:"",name:"geoJSON",required:!1,type:{name:"any"}},getMarker:{defaultValue:null,description:"",name:"getMarker",required:!1,type:{name:"GeoJSONGetOverlayCallBack & AMapGeoJSONGetOverlayCallback"}},getPolyline:{defaultValue:null,description:"",name:"getPolyline",required:!1,type:{name:"GeoJSONGetOverlayCallBack & AMapGeoJSONGetOverlayCallback"}},getPolygon:{defaultValue:null,description:"",name:"getPolygon",required:!1,type:{name:"GeoJSONGetOverlayCallBack & AMapGeoJSONGetOverlayCallback"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"boolean"}},options:{defaultValue:null,description:"",name:"options",required:!1,type:{name:"PolygonSharedOptions"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapGeoJSON/AMapGeoJSON.tsx#AMapGeoJSON"]={docgenInfo:AMapGeoJSON.__docgenInfo,name:"AMapGeoJSON",path:"src/components/AMapGeoJSON/AMapGeoJSON.tsx#AMapGeoJSON"})}catch(__react_docgen_typescript_loader_error){}try{AMapGeoJSON.displayName="AMapGeoJSON",AMapGeoJSON.__docgenInfo={description:"",displayName:"AMapGeoJSON",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapGeoJSON/AMapGeoJSON.tsx#AMapGeoJSON"]={docgenInfo:AMapGeoJSON.__docgenInfo,name:"AMapGeoJSON",path:"src/components/AMapGeoJSON/AMapGeoJSON.tsx#AMapGeoJSON"})}catch(__react_docgen_typescript_loader_error){}},552:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(553);var _AMapCircle__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(554);__webpack_require__.d(__webpack_exports__,"default",(function(){return _AMapCircle__WEBPACK_IMPORTED_MODULE_1__.a}))},553:function(module,exports){},554:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(68),__webpack_require__(9),__webpack_require__(56),__webpack_require__(92);var react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(36),_hooks_useAMapOverlayBinder__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(83),_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(5),_hooks_useVisible__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(55),_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(38),init=function init(AMap){return new AMap.Circle},AMapCircle=Object(react__WEBPACK_IMPORTED_MODULE_4__.forwardRef)((function(_a,ref){var center=_a.center,radius=_a.radius,zIndex=_a.zIndex,bubble=_a.bubble,cursor=_a.cursor,fillColor=_a.fillColor,fillOpacity=_a.fillOpacity,strokeColor=_a.strokeColor,strokeStyle=_a.strokeStyle,strokeOpacity=_a.strokeOpacity,strokeWeight=_a.strokeWeight,strokeDasharray=_a.strokeDasharray,extData=_a.extData,draggable=_a.draggable,visible=_a.visible,onShow=_a.onShow,onHide=_a.onHide,onClick=_a.onClick,onDBLClick=_a.onDBLClick,onRightClick=_a.onRightClick,onMousedown=_a.onMousedown,onMouseup=_a.onMouseup,onMouseover=_a.onMouseover,onMouseout=_a.onMouseout,onTouchstart=_a.onTouchstart,onTouchmove=_a.onTouchmove,onTouchend=_a.onTouchend,curInstance=Object(_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_5__.a)("Circle",init);Object(react__WEBPACK_IMPORTED_MODULE_4__.useImperativeHandle)(ref,(function(){return curInstance}),[curInstance]);var options=Object(react__WEBPACK_IMPORTED_MODULE_4__.useMemo)((function(){return Object.entries({zIndex:zIndex,bubble:bubble,cursor:cursor,fillColor:fillColor,fillOpacity:fillOpacity,strokeColor:strokeColor,strokeStyle:strokeStyle,strokeOpacity:strokeOpacity,strokeWeight:strokeWeight,strokeDasharray:strokeDasharray,draggable:draggable}).filter((function(_a){var val=_a[1];return null!=val})).reduce((function(finallyObj,_a){var key=_a[0],val=_a[1];return finallyObj[key]=val,finallyObj}),{})}),[zIndex,bubble,cursor,fillColor,fillOpacity,strokeColor,strokeStyle,strokeOpacity,strokeWeight,strokeDasharray,draggable]);return Object(_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__.a)(curInstance,"setOptions",options),Object(_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__.a)(curInstance,"setCenter",center),Object(_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__.a)(curInstance,"setRadius",radius),Object(_hooks_useSetter__WEBPACK_IMPORTED_MODULE_9__.a)(curInstance,"setExtData",extData),Object(_hooks_useVisible__WEBPACK_IMPORTED_MODULE_8__.a)(curInstance,!!visible),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"show",onShow),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"hide",onHide),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"click",onClick),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"dblclick",onDBLClick),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"rightclick",onRightClick),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"mousedown",onMousedown),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"mouseup",onMouseup),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"mouseover",onMouseover),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"mouseout",onMouseout),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"touchstart",onTouchstart),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"touchmove",onTouchmove),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_7__.a)(curInstance,"touchend",onTouchend),Object(_hooks_useAMapOverlayBinder__WEBPACK_IMPORTED_MODULE_6__.a)(curInstance),null}));AMapCircle.defaultProps={visible:!0},__webpack_exports__.a=AMapCircle;try{AMapCircle.displayName="AMapCircle",AMapCircle.__docgenInfo={description:"",displayName:"AMapCircle",props:{zIndex:{defaultValue:null,description:"",name:"zIndex",required:!1,type:{name:"number"}},bubble:{defaultValue:null,description:"",name:"bubble",required:!1,type:{name:"boolean"}},cursor:{defaultValue:null,description:"",name:"cursor",required:!1,type:{name:"string"}},strokeColor:{defaultValue:null,description:"",name:"strokeColor",required:!1,type:{name:"string | Function"}},strokeWeight:{defaultValue:null,description:"",name:"strokeWeight",required:!1,type:{name:"number"}},strokeOpacity:{defaultValue:null,description:"",name:"strokeOpacity",required:!1,type:{name:"number"}},fillColor:{defaultValue:null,description:"",name:"fillColor",required:!1,type:{name:"string | Function"}},fillOpacity:{defaultValue:null,description:"",name:"fillOpacity",required:!1,type:{name:"number | Function"}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"boolean"}},extrusionHeight:{defaultValue:null,description:"",name:"extrusionHeight",required:!1,type:{name:"number"}},roofColor:{defaultValue:null,description:"",name:"roofColor",required:!1,type:{name:"string | Function"}},wallColor:{defaultValue:null,description:"",name:"wallColor",required:!1,type:{name:"string | Function"}},extData:{defaultValue:null,description:"",name:"extData",required:!1,type:{name:"any"}},strokeStyle:{defaultValue:null,description:"",name:"strokeStyle",required:!1,type:{name:'"solid" | "dashed"'}},strokeDasharray:{defaultValue:null,description:"",name:"strokeDasharray",required:!1,type:{name:"[number, number] | [number, number, number, number]"}},zooms:{defaultValue:null,description:"",name:"zooms",required:!1,type:{name:"[number, number]"}},center:{defaultValue:null,description:"",name:"center",required:!1,type:{name:"LngLatLike"}},radius:{defaultValue:null,description:"",name:"radius",required:!1,type:{name:"number"}},visible:{defaultValue:{value:!0},description:"",name:"visible",required:!1,type:{name:"Boolean"}},onShow:{defaultValue:null,description:"",name:"onShow",required:!1,type:{name:"(event?: any) => void"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"(event?: any) => void"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(event?: any) => void"}},onDBLClick:{defaultValue:null,description:"",name:"onDBLClick",required:!1,type:{name:"(event?: any) => void"}},onRightClick:{defaultValue:null,description:"",name:"onRightClick",required:!1,type:{name:"(event?: any) => void"}},onMousedown:{defaultValue:null,description:"",name:"onMousedown",required:!1,type:{name:"(event?: any) => void"}},onMouseup:{defaultValue:null,description:"",name:"onMouseup",required:!1,type:{name:"(event?: any) => void"}},onMouseover:{defaultValue:null,description:"",name:"onMouseover",required:!1,type:{name:"(event?: any) => void"}},onMouseout:{defaultValue:null,description:"",name:"onMouseout",required:!1,type:{name:"(event?: any) => void"}},onTouchstart:{defaultValue:null,description:"",name:"onTouchstart",required:!1,type:{name:"(event?: any) => void"}},onTouchmove:{defaultValue:null,description:"",name:"onTouchmove",required:!1,type:{name:"(event?: any) => void"}},onTouchend:{defaultValue:null,description:"",name:"onTouchend",required:!1,type:{name:"(event?: any) => void"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"ReactText"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapCircle/AMapCircle.tsx#AMapCircle"]={docgenInfo:AMapCircle.__docgenInfo,name:"AMapCircle",path:"src/components/AMapCircle/AMapCircle.tsx#AMapCircle"})}catch(__react_docgen_typescript_loader_error){}try{AMapCircle.displayName="AMapCircle",AMapCircle.__docgenInfo={description:"",displayName:"AMapCircle",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapCircle/AMapCircle.tsx#AMapCircle"]={docgenInfo:AMapCircle.__docgenInfo,name:"AMapCircle",path:"src/components/AMapCircle/AMapCircle.tsx#AMapCircle"})}catch(__react_docgen_typescript_loader_error){}},555:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(556);var _AMapMouseTool__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(557);__webpack_require__.d(__webpack_exports__,"default",(function(){return _AMapMouseTool__WEBPACK_IMPORTED_MODULE_1__.a}))},556:function(module,exports){},557:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5),_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(36),initInstance=function initInstance(AMap,map){return new AMap.MouseTool(map)},AMapMouseTool=Object(react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((function(_a,ref){var type=_a.type,options=_a.options,onCompleted=_a.onCompleted,curInstance=Object(_hooks_useAMapPluginInstance__WEBPACK_IMPORTED_MODULE_2__.a)("MouseTool",initInstance);return Object(react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle)(ref,(function(){return curInstance}),[curInstance]),Object(_hooks_useAMapEventBinder__WEBPACK_IMPORTED_MODULE_1__.a)(curInstance,"draw",onCompleted),Object(react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){var clearEffect;return curInstance?(clearEffect=function clearEffect(){return curInstance.close(!1)},curInstance[type](null!=options?options:{}),clearEffect):clearEffect}),[curInstance,options,type]),null}));AMapMouseTool.defaultProps={options:{},onCompleted:void 0},__webpack_exports__.a=AMapMouseTool;try{AMapMouseTool.displayName="AMapMouseTool",AMapMouseTool.__docgenInfo={description:"Origin Docs See:\nhttps://lbs.amap.com/api/javascript-api/reference/plugin#AMap.MouseTool",displayName:"AMapMouseTool",props:{type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:'"marker" | "circle" | "rectangle" | "polyline" | "polygon" | "measureArea" | "rule" | "rectZoomIn" | "rectZoomOut"'}},options:{defaultValue:{value:"{}"},description:"",name:"options",required:!1,type:{name:"CircleOptions | MarkerOptions | PolylineOptions | PolygonOptions | RectangleOptions"}},onCompleted:{defaultValue:{value:"undefined"},description:"",name:"onCompleted",required:!1,type:{name:"(e: any) => void"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"ReactText"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMouseTool/AMapMouseTool.tsx#AMapMouseTool"]={docgenInfo:AMapMouseTool.__docgenInfo,name:"AMapMouseTool",path:"src/components/AMapMouseTool/AMapMouseTool.tsx#AMapMouseTool"})}catch(__react_docgen_typescript_loader_error){}try{AMapMouseTool.displayName="AMapMouseTool",AMapMouseTool.__docgenInfo={description:"Origin Docs See:\nhttps://lbs.amap.com/api/javascript-api/reference/plugin#AMap.MouseTool",displayName:"AMapMouseTool",props:{type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"circle"'},{value:'"marker"'},{value:'"polygon"'},{value:'"polyline"'},{value:'"rectangle"'},{value:'"measureArea"'},{value:'"rule"'},{value:'"rectZoomIn"'},{value:'"rectZoomOut"'}]}},options:{defaultValue:{value:"{}"},description:"",name:"options",required:!1,type:{name:"any"}},onCompleted:{defaultValue:{value:"undefined"},description:"",name:"onCompleted",required:!1,type:{name:"((e: any) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapMouseTool/AMapMouseTool.tsx#AMapMouseTool"]={docgenInfo:AMapMouseTool.__docgenInfo,name:"AMapMouseTool",path:"src/components/AMapMouseTool/AMapMouseTool.tsx#AMapMouseTool"})}catch(__react_docgen_typescript_loader_error){}},558:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){__webpack_require__(15),__webpack_require__(341);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),_hooks_useAMap__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(63),AMapAutoFitView=function AMapAutoFitView(_a){var delay=_a.delay,map=Object(_hooks_useAMap__WEBPACK_IMPORTED_MODULE_3__.a)().map,_b=Object(react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),fitViewed=_b[0],setFitViewed=_b[1];return Object(react__WEBPACK_IMPORTED_MODULE_2__.useEffect)((function(){var clearEffect;if(fitViewed)return clearEffect;var timeoutKey=setTimeout((function(){map&&(map.setFitView(),setFitViewed(!0))}),delay);return clearEffect=function clearEffect(){global.clearTimeout(timeoutKey)}}),[delay,map,fitViewed]),null};AMapAutoFitView.defaultProps={delay:2e3},__webpack_exports__.a=AMapAutoFitView;try{AMapAutoFitView.displayName="AMapAutoFitView",AMapAutoFitView.__docgenInfo={description:"",displayName:"AMapAutoFitView",props:{delay:{defaultValue:{value:2e3},description:"",name:"delay",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAutoFitView/AMapAutoFitView.tsx#AMapAutoFitView"]={docgenInfo:AMapAutoFitView.__docgenInfo,name:"AMapAutoFitView",path:"src/components/AMapAutoFitView/AMapAutoFitView.tsx#AMapAutoFitView"})}catch(__react_docgen_typescript_loader_error){}try{AMapAutoFitView.displayName="AMapAutoFitView",AMapAutoFitView.__docgenInfo={description:"",displayName:"AMapAutoFitView",props:{delay:{defaultValue:{value:2e3},description:"",name:"delay",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/AMapAutoFitView/AMapAutoFitView.tsx#AMapAutoFitView"]={docgenInfo:AMapAutoFitView.__docgenInfo,name:"AMapAutoFitView",path:"src/components/AMapAutoFitView/AMapAutoFitView.tsx#AMapAutoFitView"})}catch(__react_docgen_typescript_loader_error){}}).call(this,__webpack_require__(64))},574:function(module,exports,__webpack_require__){__webpack_require__(575),__webpack_require__(745),__webpack_require__(746),__webpack_require__(917),__webpack_require__(1143),__webpack_require__(1180),__webpack_require__(1192),__webpack_require__(1194),__webpack_require__(1199),__webpack_require__(1201),module.exports=__webpack_require__(1206)},627:function(module,exports){},63:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),_components_AMapMap__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(197),_useAMapAPI__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(157);__webpack_exports__.a=function useAMap(){var _a=Object(_useAMapAPI__WEBPACK_IMPORTED_MODULE_2__.a)();return{__AMAP__:_a.__AMAP__,__AMAP_UI__:_a.__AMAP_UI__,map:Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_components_AMapMap__WEBPACK_IMPORTED_MODULE_1__.b)}}},746:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__(439)},83:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(15);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),_components_AMapOverlayGroup_AMapOverlayGroupContext__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(158),_useAMap__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(63),useAMapOverlayBinder=function useAMapOverlayBinder(overlay){var overlayGroup=Object(react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_components_AMapOverlayGroup_AMapOverlayGroupContext__WEBPACK_IMPORTED_MODULE_2__.a),map=Object(_useAMap__WEBPACK_IMPORTED_MODULE_3__.a)().map;Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var clearEffect;return overlay?(overlayGroup?(overlayGroup.addOverlay(overlay),clearEffect=function clearEffect(){try{overlayGroup.removeOverlay(overlay)}catch(error){}}):map&&(map.add(overlay),clearEffect=function clearEffect(){try{map.remove(overlay)}catch(error){}}),clearEffect):clearEffect}),[overlay,map,overlayGroup])};__webpack_exports__.a=useAMapOverlayBinder;try{useAMapOverlayBinder.displayName="useAMapOverlayBinder",useAMapOverlayBinder.__docgenInfo={description:"将 overlay 绑定至 OverlayGroup 或直接绑定至 Map",displayName:"useAMapOverlayBinder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/useAMapOverlayBinder.ts#useAMapOverlayBinder"]={docgenInfo:useAMapOverlayBinder.__docgenInfo,name:"useAMapOverlayBinder",path:"src/hooks/useAMapOverlayBinder.ts#useAMapOverlayBinder"})}catch(__react_docgen_typescript_loader_error){}}},[[574,1,2]]]); +//# sourceMappingURL=main.bf05424317bc2585a569.bundle.js.map \ No newline at end of file diff --git a/main.bf05424317bc2585a569.bundle.js.map b/main.bf05424317bc2585a569.bundle.js.map new file mode 100644 index 0000000..467ae49 --- /dev/null +++ b/main.bf05424317bc2585a569.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"main.bf05424317bc2585a569.bundle.js","sources":["webpack:///main.bf05424317bc2585a569.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/runtime~main.9d888e9e5b8a3723b7cb.bundle.js.map b/runtime~main.9d888e9e5b8a3723b7cb.bundle.js.map deleted file mode 100644 index 34315af..0000000 --- a/runtime~main.9d888e9e5b8a3723b7cb.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"runtime~main.9d888e9e5b8a3723b7cb.bundle.js","sources":["webpack:///runtime~main.9d888e9e5b8a3723b7cb.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/runtime~main.9d888e9e5b8a3723b7cb.bundle.js b/runtime~main.bf05424317bc2585a569.bundle.js similarity index 97% rename from runtime~main.9d888e9e5b8a3723b7cb.bundle.js rename to runtime~main.bf05424317bc2585a569.bundle.js index 628b1e1..c159a72 100644 --- a/runtime~main.9d888e9e5b8a3723b7cb.bundle.js +++ b/runtime~main.bf05424317bc2585a569.bundle.js @@ -1,2 +1,2 @@ !function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];i1?_len-1:0),_key=1;_key<_len;_key++)activations[_key-1]=arguments[_key];var activeNames=(0,_flattenNames2.default)(activations),merged=(0,_mergeClasses2.default)(classes,activeNames);return(0,_autoprefix2.default)(merged)};exports.default=ReactCSS},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),assign=__webpack_require__(441);$({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(709),__webpack_require__(710),__webpack_require__(711),__webpack_require__(712),__webpack_require__(714)},,function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(23),getOwnPropertyDescriptor=__webpack_require__(86).f,createNonEnumerableProperty=__webpack_require__(122),defineBuiltIn=__webpack_require__(61),defineGlobalProperty=__webpack_require__(280),copyConstructorProperties=__webpack_require__(423),isForced=__webpack_require__(173);module.exports=function(options,source){var target,key,targetProperty,sourceProperty,descriptor,TARGET=options.target,GLOBAL=options.global,STATIC=options.stat;if(target=GLOBAL?global:STATIC?global[TARGET]||defineGlobalProperty(TARGET,{}):(global[TARGET]||{}).prototype)for(key in source){if(sourceProperty=source[key],targetProperty=options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key))&&descriptor.value:target[key],!isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced)&&void 0!==targetProperty){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}},function(module,exports,__webpack_require__){"use strict";var $SyntaxError=SyntaxError,$Function=Function,$TypeError=TypeError,getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__(84)(),hasProto=__webpack_require__(262)(),getProto=Object.getPrototypeOf||(hasProto?function(x){return x.__proto__}:null),needsEval={},TypedArray="undefined"!=typeof Uint8Array&&getProto?getProto(Uint8Array):void 0,INTRINSICS={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols&&getProto?getProto((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols&&getProto?getProto((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):void 0,"%Symbol%":hasSymbols?Symbol:void 0,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet};if(getProto)try{null.error}catch(e){var errorProto=getProto(getProto(e));INTRINSICS["%Error.prototype%"]=errorProto}var LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=__webpack_require__(263),hasOwn=__webpack_require__(85),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function stringToPath(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result},getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=function doEval(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn=doEval("%AsyncGeneratorFunction%");fn&&(value=fn.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval("%AsyncGenerator%");gen&&getProto&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value}(intrinsicName)),void 0===value&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias:alias,name:intrinsicName,value:value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=stringToPath(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}},function(module,exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(35),FUNCTION_NAME_EXISTS=__webpack_require__(170).EXISTS,uncurryThis=__webpack_require__(16),defineBuiltInAccessor=__webpack_require__(123),FunctionPrototype=Function.prototype,functionToString=uncurryThis(FunctionPrototype.toString),nameRE=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,regExpExec=uncurryThis(nameRE.exec);DESCRIPTORS&&!FUNCTION_NAME_EXISTS&&defineBuiltInAccessor(FunctionPrototype,"name",{configurable:!0,get:function(){try{return regExpExec(nameRE,functionToString(this))[1]}catch(error){return""}}})},function(module,exports,__webpack_require__){"use strict";var TO_STRING_TAG_SUPPORT=__webpack_require__(285),defineBuiltIn=__webpack_require__(61),toString=__webpack_require__(708);TO_STRING_TAG_SUPPORT||defineBuiltIn(Object.prototype,"toString",toString,{unsafe:!0})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={styled:!0,ignoreSsrWarning:!0,isPropValid:!0,createGlobal:!0,createReset:!0,lighten:!0,darken:!0};Object.defineProperty(exports,"isPropValid",{enumerable:!0,get:function get(){return _isPropValid.default}}),Object.defineProperty(exports,"createGlobal",{enumerable:!0,get:function get(){return _global.createGlobal}}),Object.defineProperty(exports,"createReset",{enumerable:!0,get:function get(){return _global.createReset}}),Object.defineProperty(exports,"lighten",{enumerable:!0,get:function get(){return _utils.lightenColor}}),Object.defineProperty(exports,"darken",{enumerable:!0,get:function get(){return _utils.darkenColor}}),exports.ignoreSsrWarning=exports.styled=void 0;var _styled2=_interopRequireDefault(__webpack_require__(1229)),_base=__webpack_require__(238);Object.keys(_base).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_base[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _base[key]}}))}));var _types=__webpack_require__(923);Object.keys(_types).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_types[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _types[key]}}))}));var _core=__webpack_require__(101);Object.keys(_core).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_core[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _core[key]}}))}));var _emotionTheming=__webpack_require__(924);Object.keys(_emotionTheming).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_emotionTheming[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _emotionTheming[key]}}))}));var _isPropValid=_interopRequireDefault(__webpack_require__(371)),_global=__webpack_require__(927),_create=__webpack_require__(491);Object.keys(_create).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_create[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _create[key]}}))}));var _convert=__webpack_require__(493);Object.keys(_convert).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_convert[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _convert[key]}}))}));var _ensure=__webpack_require__(931);Object.keys(_ensure).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_ensure[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _ensure[key]}}))}));var _utils=__webpack_require__(239);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var styled=_styled2.default;exports.styled=styled;exports.ignoreSsrWarning="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */"},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),toObject=__webpack_require__(71),nativeKeys=__webpack_require__(176);$({target:"Object",stat:!0,forced:__webpack_require__(17)((function(){nativeKeys(1)}))},{keys:function keys(it){return nativeKeys(toObject(it))}})},,function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),DESCRIPTORS=__webpack_require__(35),global=__webpack_require__(23),uncurryThis=__webpack_require__(16),hasOwn=__webpack_require__(43),isCallable=__webpack_require__(34),isPrototypeOf=__webpack_require__(111),toString=__webpack_require__(44),defineBuiltInAccessor=__webpack_require__(123),copyConstructorProperties=__webpack_require__(423),NativeSymbol=global.Symbol,SymbolPrototype=NativeSymbol&&NativeSymbol.prototype;if(DESCRIPTORS&&isCallable(NativeSymbol)&&(!("description"in SymbolPrototype)||void 0!==NativeSymbol().description)){var EmptyStringDescriptionStore={},SymbolWrapper=function Symbol(){var description=arguments.length<1||void 0===arguments[0]?void 0:toString(arguments[0]),result=isPrototypeOf(SymbolPrototype,this)?new NativeSymbol(description):void 0===description?NativeSymbol():NativeSymbol(description);return""===description&&(EmptyStringDescriptionStore[result]=!0),result};copyConstructorProperties(SymbolWrapper,NativeSymbol),SymbolWrapper.prototype=SymbolPrototype,SymbolPrototype.constructor=SymbolWrapper;var NATIVE_SYMBOL="Symbol(description detection)"===String(NativeSymbol("description detection")),thisSymbolValue=uncurryThis(SymbolPrototype.valueOf),symbolDescriptiveString=uncurryThis(SymbolPrototype.toString),regexp=/^Symbol\((.*)\)[^)]+$/,replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice);defineBuiltInAccessor(SymbolPrototype,"description",{configurable:!0,get:function description(){var symbol=thisSymbolValue(this);if(hasOwn(EmptyStringDescriptionStore,symbol))return"";var string=symbolDescriptiveString(symbol),desc=NATIVE_SYMBOL?stringSlice(string,7,-1):replace(string,regexp,"$1");return""===desc?void 0:desc}}),$({global:!0,constructor:!0,forced:!0},{Symbol:SymbolWrapper})}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),isArray=__webpack_require__(146),isConstructor=__webpack_require__(212),isObject=__webpack_require__(42),toAbsoluteIndex=__webpack_require__(210),lengthOfArrayLike=__webpack_require__(97),toIndexedObject=__webpack_require__(78),createProperty=__webpack_require__(147),wellKnownSymbol=__webpack_require__(32),arrayMethodHasSpeciesSupport=__webpack_require__(175),nativeSlice=__webpack_require__(178),HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("slice"),SPECIES=wellKnownSymbol("species"),$Array=Array,max=Math.max;$({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{slice:function slice(start,end){var Constructor,result,n,O=toIndexedObject(this),length=lengthOfArrayLike(O),k=toAbsoluteIndex(start,length),fin=toAbsoluteIndex(void 0===end?length:end,length);if(isArray(O)&&(Constructor=O.constructor,(isConstructor(Constructor)&&(Constructor===$Array||isArray(Constructor.prototype))||isObject(Constructor)&&null===(Constructor=Constructor[SPECIES]))&&(Constructor=void 0),Constructor===$Array||void 0===Constructor))return nativeSlice(O,k,fin);for(result=new(void 0===Constructor?$Array:Constructor)(max(fin-k,0)),n=0;k1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){"use strict";var NATIVE_BIND=__webpack_require__(168),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}},function(module,exports,__webpack_require__){"use strict";module.exports=function(exec){try{return!!exec()}catch(error){return!0}}},function(module,exports,__webpack_require__){"use strict";var toIndexedObject=__webpack_require__(78),addToUnscopables=__webpack_require__(288),Iterators=__webpack_require__(179),InternalStateModule=__webpack_require__(80),defineProperty=__webpack_require__(57).f,defineIterator=__webpack_require__(289),createIterResultObject=__webpack_require__(290),IS_PURE=__webpack_require__(70),DESCRIPTORS=__webpack_require__(35),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Array Iterator");module.exports=defineIterator(Array,"Array",(function(iterated,kind){setInternalState(this,{type:"Array Iterator",target:toIndexedObject(iterated),index:0,kind:kind})}),(function(){var state=getInternalState(this),target=state.target,kind=state.kind,index=state.index++;if(!target||index>=target.length)return state.target=void 0,createIterResultObject(void 0,!0);switch(kind){case"keys":return createIterResultObject(index,!1);case"values":return createIterResultObject(target[index],!1)}return createIterResultObject([index,target[index]],!1)}),"values");var values=Iterators.Arguments=Iterators.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),!IS_PURE&&DESCRIPTORS&&"values"!==values.name)try{defineProperty(values,"name",{value:"values"})}catch(error){}},function(module,exports,__webpack_require__){"use strict";var charAt=__webpack_require__(294).charAt,toString=__webpack_require__(44),InternalStateModule=__webpack_require__(80),defineIterator=__webpack_require__(289),createIterResultObject=__webpack_require__(290),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("String Iterator");defineIterator(String,"String",(function(iterated){setInternalState(this,{type:"String Iterator",string:toString(iterated),index:0})}),(function next(){var point,state=getInternalState(this),string=state.string,index=state.index;return index>=string.length?createIterResultObject(void 0,!0):(point=charAt(string,index),state.index+=point.length,createIterResultObject(point,!1))}))},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(23),DOMIterables=__webpack_require__(432),DOMTokenListPrototype=__webpack_require__(433),ArrayIteratorMethods=__webpack_require__(18),createNonEnumerableProperty=__webpack_require__(122),wellKnownSymbol=__webpack_require__(32),ITERATOR=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(CollectionPrototype,COLLECTION_NAME){if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(CollectionPrototype[TO_STRING_TAG]||createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),DOMIterables[COLLECTION_NAME])for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}};for(var COLLECTION_NAME in DOMIterables)handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList")},function(module,exports,__webpack_require__){"use strict";__webpack_require__(6)({target:"Array",stat:!0},{isArray:__webpack_require__(146)})},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),uncurryThis=__webpack_require__(177),$indexOf=__webpack_require__(282).indexOf,arrayMethodIsStrict=__webpack_require__(124),nativeIndexOf=uncurryThis([].indexOf),NEGATIVE_ZERO=!!nativeIndexOf&&1/nativeIndexOf([1],1,-0)<0;$({target:"Array",proto:!0,forced:NEGATIVE_ZERO||!arrayMethodIsStrict("indexOf")},{indexOf:function indexOf(searchElement){var fromIndex=arguments.length>1?arguments[1]:void 0;return NEGATIVE_ZERO?nativeIndexOf(this,searchElement,fromIndex)||0:$indexOf(this,searchElement,fromIndex)}})},function(module,exports,__webpack_require__){"use strict";(function(global){var check=function(it){return it&&it.Math===Math&&it};module.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||function(){return this}()||this||Function("return this")()}).call(this,__webpack_require__(64))},function(module,exports,__webpack_require__){"use strict";var PROPER_FUNCTION_NAME=__webpack_require__(170).PROPER,defineBuiltIn=__webpack_require__(61),anObject=__webpack_require__(47),$toString=__webpack_require__(44),fails=__webpack_require__(17),getRegExpFlags=__webpack_require__(442),nativeToString=RegExp.prototype.toString,NOT_GENERIC=fails((function(){return"/a/b"!==nativeToString.call({source:"a",flags:"b"})})),INCORRECT_NAME=PROPER_FUNCTION_NAME&&"toString"!==nativeToString.name;(NOT_GENERIC||INCORRECT_NAME)&&defineBuiltIn(RegExp.prototype,"toString",(function toString(){var R=anObject(this);return"/"+$toString(R.source)+"/"+$toString(getRegExpFlags(R))}),{unsafe:!0})},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),fails=__webpack_require__(17),isArray=__webpack_require__(146),isObject=__webpack_require__(42),toObject=__webpack_require__(71),lengthOfArrayLike=__webpack_require__(97),doesNotExceedSafeInteger=__webpack_require__(426),createProperty=__webpack_require__(147),arraySpeciesCreate=__webpack_require__(284),arrayMethodHasSpeciesSupport=__webpack_require__(175),wellKnownSymbol=__webpack_require__(32),V8_VERSION=__webpack_require__(142),IS_CONCAT_SPREADABLE=wellKnownSymbol("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION>=51||!fails((function(){var array=[];return array[IS_CONCAT_SPREADABLE]=!1,array.concat()[0]!==array})),isConcatSpreadable=function(O){if(!isObject(O))return!1;var spreadable=O[IS_CONCAT_SPREADABLE];return void 0!==spreadable?!!spreadable:isArray(O)};$({target:"Array",proto:!0,arity:1,forced:!IS_CONCAT_SPREADABLE_SUPPORT||!arrayMethodHasSpeciesSupport("concat")},{concat:function concat(arg){var i,k,length,len,E,O=toObject(this),A=arraySpeciesCreate(O,0),n=0;for(i=-1,length=arguments.length;i-1?callBind(intrinsic):intrinsic}},function(module,exports,__webpack_require__){"use strict";var $documentAll=__webpack_require__(417),documentAll=$documentAll.all;module.exports=$documentAll.IS_HTMLDDA?function(argument){return"function"==typeof argument||argument===documentAll}:function(argument){return"function"==typeof argument}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17);module.exports=!fails((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},,,function(module,exports,__webpack_require__){"use strict";var NATIVE_BIND=__webpack_require__(168),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}},function(module,exports,__webpack_require__){"use strict";(function(module){Object.defineProperty(exports,"__esModule",{value:!0});var _constants=__webpack_require__(367);Object.keys(_constants).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_constants[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _constants[key]}}))}));var _models=__webpack_require__(1182);Object.keys(_models).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_models[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _models[key]}}))}));var _preview=__webpack_require__(1189);Object.keys(_preview).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_preview[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _preview[key]}}))})),module&&module.hot&&module.hot.decline&&module.hot.decline()}).call(this,__webpack_require__(149)(module))},,function(module,exports,__webpack_require__){"use strict";var keys=__webpack_require__(374),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=__webpack_require__(376),supportsDescriptors=__webpack_require__(200)(),defineProperty=function(object,name,value,predicate){if(name in object)if(!0===predicate){if(object[name]===value)return}else if("function"!=typeof(fn=predicate)||"[object Function]"!==toStr.call(fn)||!predicate())return;var fn;supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i1?_len-1:0),_key=1;_key<_len;_key++)rest[_key-1]=arguments[_key];return currentLogLevelNumber<=levels.trace&&_global.console.trace.apply(_global.console,[message].concat(rest))},debug:function debug(message){for(var _len2=arguments.length,rest=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)rest[_key2-1]=arguments[_key2];return currentLogLevelNumber<=levels.debug&&_global.console.debug.apply(_global.console,[message].concat(rest))},info:function info(message){for(var _len3=arguments.length,rest=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)rest[_key3-1]=arguments[_key3];return currentLogLevelNumber<=levels.info&&_global.console.info.apply(_global.console,[message].concat(rest))},warn:function warn(message){for(var _len4=arguments.length,rest=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)rest[_key4-1]=arguments[_key4];return currentLogLevelNumber<=levels.warn&&_global.console.warn.apply(_global.console,[message].concat(rest))},error:function error(message){for(var _len5=arguments.length,rest=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)rest[_key5-1]=arguments[_key5];return currentLogLevelNumber<=levels.error&&_global.console.error.apply(_global.console,[message].concat(rest))},log:function log(message){for(var _len6=arguments.length,rest=new Array(_len6>1?_len6-1:0),_key6=1;_key6<_len6;_key6++)rest[_key6-1]=arguments[_key6];return currentLogLevelNumber/gi,endTagRe=/<\/span>/gi;for(argArray.push(args[0].replace(startTagRe,"%c").replace(endTagRe,"%c"));reResultArray=startTagRe.exec(args[0]);)argArray.push(reResultArray[2]),argArray.push("");for(var j=1;j1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(35),IE8_DOM_DEFINE=__webpack_require__(419),V8_PROTOTYPE_DEFINE_BUG=__webpack_require__(420),anObject=__webpack_require__(47),toPropertyKey=__webpack_require__(206),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function defineProperty(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),"function"==typeof O&&"prototype"===P&&"value"in Attributes&&"writable"in Attributes&&!Attributes.writable){var current=$getOwnPropertyDescriptor(O,P);current&¤t.writable&&(O[P]=Attributes.value,Attributes={configurable:"configurable"in Attributes?Attributes.configurable:current.configurable,enumerable:"enumerable"in Attributes?Attributes.enumerable:current.enumerable,writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,__webpack_exports__,__webpack_require__){"use strict";function dedent(templ){for(var values=[],_i=1;_i=0)?NaN:a>170?1/0:0===a?1:a*factorial(a-1)},notation:"postfix",precedence:6,rightToLeft:0,argCount:1},symbol:"!",regSymbol:"!"},"^":{infix:{symbol:"^",f:function power(a,b){return Math.pow(a,b)},notation:"infix",precedence:5,rightToLeft:1,argCount:2},symbol:"^",regSymbol:"\\^"},"*":{infix:{symbol:"*",f:function multiplication(a,b){return a*b},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"*",regSymbol:"\\*"},"/":{infix:{symbol:"/",f:function division(a,b){return a/b},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"/",regSymbol:"/"},"+":{infix:{symbol:"+",f:function addition(a,b){return a+b},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"+",f:last,notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"+",regSymbol:"\\+"},"-":{infix:{symbol:"-",f:function subtraction(a,b){return a-b},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"-",f:function negation(a){return-a},notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"-",regSymbol:"-"},",":{infix:{symbol:",",f:function comma(){return Array.of.apply(Array,arguments)},notation:"infix",precedence:1,rightToLeft:0,argCount:2},symbol:",",regSymbol:","},"(":{prefix:{symbol:"(",f:last,notation:"prefix",precedence:0,rightToLeft:0,argCount:1},symbol:"(",regSymbol:"\\("},")":{postfix:{symbol:")",f:void 0,notation:"postfix",precedence:0,rightToLeft:0,argCount:1},symbol:")",regSymbol:"\\)"},min:{func:{symbol:"min",f:function min(){return Math.min.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"min",regSymbol:"min\\b"},max:{func:{symbol:"max",f:function max(){return Math.max.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"max",regSymbol:"max\\b"},sqrt:{func:{symbol:"sqrt",f:function sqrt(a){return Math.sqrt(a)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"sqrt",regSymbol:"sqrt\\b"}}};var polished_esm_PolishedError=function(_Error){function PolishedError(code){return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(_Error.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+code+" for more information.")||this)}return Object(inheritsLoose.a)(PolishedError,_Error),PolishedError}(wrapNativeSuper_wrapNativeSuper(Error)),unitRegExp=/((?!\w)a|na|hc|mc|dg|me[r]?|xe|ni(?![a-zA-Z])|mm|cp|tp|xp|q(?!s)|hv|xamv|nimv|wv|sm|s(?!\D|$)|ged|darg?|nrut)/g;function exec(operators,values){var _ref,op=operators.pop();return values.push(op.f.apply(op,(_ref=[]).concat.apply(_ref,values.splice(-op.argCount)))),op.precedence}function calculate(expression,additionalSymbols){var match,symbolMap=function mergeSymbolMaps(additionalSymbols){var symbolMap={};return symbolMap.symbols=additionalSymbols?Object(esm_extends.a)({},defaultMathSymbols.symbols,additionalSymbols.symbols):Object(esm_extends.a)({},defaultMathSymbols.symbols),symbolMap}(additionalSymbols),operators=[symbolMap.symbols["("].prefix],values=[],pattern=new RegExp("\\d+(?:\\.\\d+)?|"+Object.keys(symbolMap.symbols).map((function(key){return symbolMap.symbols[key]})).sort((function(a,b){return b.symbol.length-a.symbol.length})).map((function(val){return val.regSymbol})).join("|")+"|(\\S)","g");pattern.lastIndex=0;var afterValue=!1;do{var _ref2=(match=pattern.exec(expression))||[")",void 0],token=_ref2[0],bad=_ref2[1],notNumber=symbolMap.symbols[token],notNewValue=notNumber&&!notNumber.prefix&&!notNumber.func,notAfterValue=!notNumber||!notNumber.postfix&&!notNumber.infix;if(bad||(afterValue?notAfterValue:notNewValue))throw new polished_esm_PolishedError(37,match?match.index:expression.length,expression);if(afterValue){var curr=notNumber.postfix||notNumber.infix;do{var prev=operators[operators.length-1];if((curr.precedence-prev.precedence||prev.rightToLeft)>0)break}while(exec(operators,values));afterValue="postfix"===curr.notation,")"!==curr.symbol&&(operators.push(curr),afterValue&&exec(operators,values))}else if(notNumber){if(operators.push(notNumber.prefix||notNumber.func),notNumber.func&&(!(match=pattern.exec(expression))||"("!==match[0]))throw new polished_esm_PolishedError(38,match?match.index:expression.length,expression)}else values.push(+token),afterValue=!0}while(match&&operators.length);if(operators.length)throw new polished_esm_PolishedError(39,match?match.index:expression.length,expression);if(match)throw new polished_esm_PolishedError(40,match?match.index:expression.length,expression);return values.pop()}function reverseString(str){return str.split("").reverse().join("")}function math(formula,additionalSymbols){var reversedFormula=reverseString(formula),formulaMatch=reversedFormula.match(unitRegExp);if(formulaMatch&&!formulaMatch.every((function(unit){return unit===formulaMatch[0]})))throw new polished_esm_PolishedError(41);return""+calculate(reverseString(reversedFormula.replace(unitRegExp,"")),additionalSymbols)+(formulaMatch?reverseString(formulaMatch[0]):"")}var cssVariableRegex=/--[\S]*/g;function cssVar(cssVariable,passThrough){if(!cssVariable||!cssVariable.match(cssVariableRegex)){if(passThrough)return cssVariable;throw new polished_esm_PolishedError(73)}var variableValue;if("undefined"!=typeof document&&null!==document.documentElement&&(variableValue=getComputedStyle(document.documentElement).getPropertyValue(cssVariable)),variableValue)return variableValue.trim();throw new polished_esm_PolishedError(74)}function capitalizeString(string){return string.charAt(0).toUpperCase()+string.slice(1)}var positionMap=["Top","Right","Bottom","Left"];function generateProperty(property,position){if(!property)return position.toLowerCase();var splitProperty=property.split("-");if(splitProperty.length>1)return splitProperty.splice(1,0,position),splitProperty.reduce((function(acc,val){return""+acc+capitalizeString(val)}));var joinedProperty=property.replace(/([a-z])([A-Z])/g,"$1"+position+"$2");return property===joinedProperty?""+property+position:joinedProperty}function generateStyles(property,valuesWithDefaults){for(var styles={},i=0;i1?_len-1:0),_key=1;_key<_len;_key++)values[_key-1]=arguments[_key];var firstValue=values[0],_values$=values[1],secondValue=void 0===_values$?firstValue:_values$,_values$2=values[2],thirdValue=void 0===_values$2?firstValue:_values$2,_values$3=values[3],fourthValue=void 0===_values$3?secondValue:_values$3,valuesWithDefaults=[firstValue,secondValue,thirdValue,fourthValue];return generateStyles(property,valuesWithDefaults)}function endsWith(string,suffix){return string.substr(-suffix.length)===suffix}var cssRegex=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function stripUnit(value,unitReturn){if("string"!=typeof value)return unitReturn?[value,void 0]:value;var matchedValue=value.match(cssRegex);return unitReturn?(console.warn("stripUnit's unitReturn functionality has been marked for deprecation in polished 4.0. It's functionality has been been moved to getValueAndUnit."),matchedValue?[parseFloat(value),matchedValue[2]]:[value,void 0]):matchedValue?parseFloat(value):value}var pxtoFactory=function pxtoFactory(to){return function(pxval,base){void 0===base&&(base="16px");var newPxval=pxval,newBase=base;if("string"==typeof pxval){if(!endsWith(pxval,"px"))throw new polished_esm_PolishedError(69,to,pxval);newPxval=stripUnit(pxval)}if("string"==typeof base){if(!endsWith(base,"px"))throw new polished_esm_PolishedError(70,to,base);newBase=stripUnit(base)}if("string"==typeof newPxval)throw new polished_esm_PolishedError(71,pxval,to);if("string"==typeof newBase)throw new polished_esm_PolishedError(72,base,to);return""+newPxval/newBase+to}},em=pxtoFactory("em"),cssRegex$1=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function getValueAndUnit(value){if("string"!=typeof value)return[value,""];var matchedValue=value.match(cssRegex$1);return matchedValue?[parseFloat(value),matchedValue[2]]:[value,void 0]}var ratioNames={minorSecond:1.067,majorSecond:1.125,minorThird:1.2,majorThird:1.25,perfectFourth:1.333,augFourth:1.414,perfectFifth:1.5,minorSixth:1.6,goldenSection:1.618,majorSixth:1.667,minorSeventh:1.778,majorSeventh:1.875,octave:2,majorTenth:2.5,majorEleventh:2.667,majorTwelfth:3,doubleOctave:4};function modularScale(steps,base,ratio){if(void 0===base&&(base="1em"),void 0===ratio&&(ratio=1.333),"number"!=typeof steps)throw new polished_esm_PolishedError(42);if("string"==typeof ratio&&!ratioNames[ratio])throw new polished_esm_PolishedError(43);var _ref="string"==typeof base?getValueAndUnit(base):[base,""],realBase=_ref[0],unit=_ref[1],realRatio="string"==typeof ratio?function getRatio(ratioName){return ratioNames[ratioName]}(ratio):ratio;if("string"==typeof realBase)throw new polished_esm_PolishedError(44,base);return""+realBase*Math.pow(realRatio,steps)+(unit||"")}var rem=pxtoFactory("rem");function between(fromSize,toSize,minScreen,maxScreen){void 0===minScreen&&(minScreen="320px"),void 0===maxScreen&&(maxScreen="1200px");var _getValueAndUnit=getValueAndUnit(fromSize),unitlessFromSize=_getValueAndUnit[0],fromSizeUnit=_getValueAndUnit[1],_getValueAndUnit2=getValueAndUnit(toSize),unitlessToSize=_getValueAndUnit2[0],toSizeUnit=_getValueAndUnit2[1],_getValueAndUnit3=getValueAndUnit(minScreen),unitlessMinScreen=_getValueAndUnit3[0],minScreenUnit=_getValueAndUnit3[1],_getValueAndUnit4=getValueAndUnit(maxScreen),unitlessMaxScreen=_getValueAndUnit4[0],maxScreenUnit=_getValueAndUnit4[1];if("number"!=typeof unitlessMinScreen||"number"!=typeof unitlessMaxScreen||!minScreenUnit||!maxScreenUnit||minScreenUnit!==maxScreenUnit)throw new polished_esm_PolishedError(47);if("number"!=typeof unitlessFromSize||"number"!=typeof unitlessToSize||fromSizeUnit!==toSizeUnit)throw new polished_esm_PolishedError(48);if(fromSizeUnit!==minScreenUnit||toSizeUnit!==maxScreenUnit)throw new polished_esm_PolishedError(75);var slope=(unitlessFromSize-unitlessToSize)/(unitlessMinScreen-unitlessMaxScreen);return"calc("+(unitlessToSize-slope*unitlessMaxScreen).toFixed(2)+(fromSizeUnit||"")+" + "+(100*slope).toFixed(2)+"vw)"}function clearFix(parent){var _ref;return void 0===parent&&(parent="&"),(_ref={})[parent+"::after"]={clear:"both",content:'""',display:"table"},_ref}function cover(offset){return void 0===offset&&(offset=0),{position:"absolute",top:offset,right:offset,bottom:offset,left:offset}}function ellipsis(width){return void 0===width&&(width="100%"),{display:"inline-block",maxWidth:width,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"}}function _createForOfIteratorHelperLoose(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(it)return(it=it.call(o)).next.bind(it);if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0;return function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1?_len-1:0),_key=1;_key<_len;_key++)substitutions[_key-1]=arguments[_key];for(var i=0;i1?(template=template.slice(0,-1),template+=", "+substitutions[i]):1===definedValues.length&&(template+=""+substitutions[i])}else substitutions[i]&&(template+=substitutions[i]+" ");return template.trim()}function linearGradient(_ref){var colorStops=_ref.colorStops,fallback=_ref.fallback,_ref$toDirection=_ref.toDirection,toDirection=void 0===_ref$toDirection?"":_ref$toDirection;if(!colorStops||colorStops.length<2)throw new polished_esm_PolishedError(56);return{backgroundColor:fallback||colorStops[0].replace(/,\s+/g,",").split(" ")[0].replace(/,(?=\S)/g,", "),backgroundImage:constructGradientValue(_templateObject||(_templateObject=_taggedTemplateLiteralLoose(["linear-gradient(","",")"])),toDirection,colorStops.join(", ").replace(/,(?=\S)/g,", "))}}function normalize(){var _ref;return[(_ref={html:{lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:"0"},main:{display:"block"},h1:{fontSize:"2em",margin:"0.67em 0"},hr:{boxSizing:"content-box",height:"0",overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{backgroundColor:"transparent"},"abbr[title]":{borderBottom:"none",textDecoration:"underline"}},_ref["b,\n strong"]={fontWeight:"bolder"},_ref["code,\n kbd,\n samp"]={fontFamily:"monospace, monospace",fontSize:"1em"},_ref.small={fontSize:"80%"},_ref["sub,\n sup"]={fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},_ref.sub={bottom:"-0.25em"},_ref.sup={top:"-0.5em"},_ref.img={borderStyle:"none"},_ref["button,\n input,\n optgroup,\n select,\n textarea"]={fontFamily:"inherit",fontSize:"100%",lineHeight:"1.15",margin:"0"},_ref["button,\n input"]={overflow:"visible"},_ref["button,\n select"]={textTransform:"none"},_ref['button,\n html [type="button"],\n [type="reset"],\n [type="submit"]']={WebkitAppearance:"button"},_ref['button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner']={borderStyle:"none",padding:"0"},_ref['button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring']={outline:"1px dotted ButtonText"},_ref.fieldset={padding:"0.35em 0.625em 0.75em"},_ref.legend={boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:"0",whiteSpace:"normal"},_ref.progress={verticalAlign:"baseline"},_ref.textarea={overflow:"auto"},_ref['[type="checkbox"],\n [type="radio"]']={boxSizing:"border-box",padding:"0"},_ref['[type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button']={height:"auto"},_ref['[type="search"]']={WebkitAppearance:"textfield",outlineOffset:"-2px"},_ref['[type="search"]::-webkit-search-decoration']={WebkitAppearance:"none"},_ref["::-webkit-file-upload-button"]={WebkitAppearance:"button",font:"inherit"},_ref.details={display:"block"},_ref.summary={display:"list-item"},_ref.template={display:"none"},_ref["[hidden]"]={display:"none"},_ref),{"abbr[title]":{textDecoration:"underline dotted"}}]}function radialGradient(_ref){var colorStops=_ref.colorStops,_ref$extent=_ref.extent,extent=void 0===_ref$extent?"":_ref$extent,fallback=_ref.fallback,_ref$position=_ref.position,position=void 0===_ref$position?"":_ref$position,_ref$shape=_ref.shape,shape=void 0===_ref$shape?"":_ref$shape;if(!colorStops||colorStops.length<2)throw new polished_esm_PolishedError(57);return{backgroundColor:fallback||colorStops[0].split(" ")[0],backgroundImage:constructGradientValue(_templateObject$1||(_templateObject$1=_taggedTemplateLiteralLoose(["radial-gradient(","","","",")"])),position,shape,extent,colorStops.join(", "))}}function retinaImage(filename,backgroundSize,extension,retinaFilename,retinaSuffix){var _ref;if(void 0===extension&&(extension="png"),void 0===retinaSuffix&&(retinaSuffix="_2x"),!filename)throw new polished_esm_PolishedError(58);var ext=extension.replace(/^\./,""),rFilename=retinaFilename?retinaFilename+"."+ext:""+filename+retinaSuffix+"."+ext;return(_ref={backgroundImage:"url("+filename+"."+ext+")"})[hiDPI()]=Object(esm_extends.a)({backgroundImage:"url("+rFilename+")"},backgroundSize?{backgroundSize:backgroundSize}:{}),_ref}var functionsMap={easeInBack:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",easeInCirc:"cubic-bezier(0.600, 0.040, 0.980, 0.335)",easeInCubic:"cubic-bezier(0.550, 0.055, 0.675, 0.190)",easeInExpo:"cubic-bezier(0.950, 0.050, 0.795, 0.035)",easeInQuad:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",easeInQuart:"cubic-bezier(0.895, 0.030, 0.685, 0.220)",easeInQuint:"cubic-bezier(0.755, 0.050, 0.855, 0.060)",easeInSine:"cubic-bezier(0.470, 0.000, 0.745, 0.715)",easeOutBack:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",easeOutCubic:"cubic-bezier(0.215, 0.610, 0.355, 1.000)",easeOutCirc:"cubic-bezier(0.075, 0.820, 0.165, 1.000)",easeOutExpo:"cubic-bezier(0.190, 1.000, 0.220, 1.000)",easeOutQuad:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",easeOutQuart:"cubic-bezier(0.165, 0.840, 0.440, 1.000)",easeOutQuint:"cubic-bezier(0.230, 1.000, 0.320, 1.000)",easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutBack:"cubic-bezier(0.680, -0.550, 0.265, 1.550)",easeInOutCirc:"cubic-bezier(0.785, 0.135, 0.150, 0.860)",easeInOutCubic:"cubic-bezier(0.645, 0.045, 0.355, 1.000)",easeInOutExpo:"cubic-bezier(1.000, 0.000, 0.000, 1.000)",easeInOutQuad:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",easeInOutQuart:"cubic-bezier(0.770, 0.000, 0.175, 1.000)",easeInOutQuint:"cubic-bezier(0.860, 0.000, 0.070, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"};function timingFunctions(timingFunction){return function getTimingFunction(functionName){return functionsMap[functionName]}(timingFunction)}var getBorderWidth=function getBorderWidth(pointingDirection,height,width){var fullWidth=""+width[0]+(width[1]||""),halfWidth=""+width[0]/2+(width[1]||""),fullHeight=""+height[0]+(height[1]||""),halfHeight=""+height[0]/2+(height[1]||"");switch(pointingDirection){case"top":return"0 "+halfWidth+" "+fullHeight+" "+halfWidth;case"topLeft":return fullWidth+" "+fullHeight+" 0 0";case"left":return halfHeight+" "+fullWidth+" "+halfHeight+" 0";case"bottomLeft":return fullWidth+" 0 0 "+fullHeight;case"bottom":return fullHeight+" "+halfWidth+" 0 "+halfWidth;case"bottomRight":return"0 0 "+fullWidth+" "+fullHeight;case"right":return halfHeight+" 0 "+halfHeight+" "+fullWidth;case"topRight":default:return"0 "+fullWidth+" "+fullHeight+" 0"}};function triangle(_ref){var pointingDirection=_ref.pointingDirection,height=_ref.height,width=_ref.width,foregroundColor=_ref.foregroundColor,_ref$backgroundColor=_ref.backgroundColor,backgroundColor=void 0===_ref$backgroundColor?"transparent":_ref$backgroundColor,widthAndUnit=getValueAndUnit(width),heightAndUnit=getValueAndUnit(height);if(isNaN(heightAndUnit[0])||isNaN(widthAndUnit[0]))throw new polished_esm_PolishedError(60);return Object(esm_extends.a)({width:"0",height:"0",borderColor:backgroundColor},function getBorderColor(pointingDirection,foregroundColor){switch(pointingDirection){case"top":case"bottomRight":return{borderBottomColor:foregroundColor};case"right":case"bottomLeft":return{borderLeftColor:foregroundColor};case"bottom":case"topLeft":return{borderTopColor:foregroundColor};case"left":case"topRight":return{borderRightColor:foregroundColor};default:throw new polished_esm_PolishedError(59)}}(pointingDirection,foregroundColor),{borderStyle:"solid",borderWidth:getBorderWidth(pointingDirection,heightAndUnit,widthAndUnit)})}function wordWrap(wrap){return void 0===wrap&&(wrap="break-word"),{overflowWrap:wrap,wordWrap:wrap,wordBreak:"break-word"===wrap?"break-all":wrap}}function colorToInt(color){return Math.round(255*color)}function convertToInt(red,green,blue){return colorToInt(red)+","+colorToInt(green)+","+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(void 0===convert&&(convert=convertToInt),0===saturation)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new polished_esm_PolishedError(3);var normalizedColor=function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha:alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new polished_esm_PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new polished_esm_PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])}}throw new polished_esm_PolishedError(5)}function parseToHsl(color){return function rgbToHsl(color){var hue,red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness:lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness:lightness};var delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new polished_esm_PolishedError(2)}function rgb(value,green,blue){if("number"==typeof value&&"number"==typeof green&&"number"==typeof blue)return reduceHexValue("#"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if("object"==typeof value&&void 0===green&&void 0===blue)return reduceHexValue("#"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new polished_esm_PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if("string"==typeof firstValue&&"number"==typeof secondValue){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}if("number"==typeof firstValue&&"number"==typeof secondValue&&"number"==typeof thirdValue&&"number"==typeof fourthValue)return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new polished_esm_PolishedError(7)}function toColorString(color){if("object"!=typeof color)throw new polished_esm_PolishedError(8);if(function isRgba(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha}(color))return rgba(color);if(function isRgb(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||void 0===color.alpha)}(color))return rgb(color);if(function isHsla(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha}(color))return hsla(color);if(function isHsl(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||void 0===color.alpha)}(color))return hsl(color);throw new polished_esm_PolishedError(8)}function curry(f){return function curried(f,length,acc){return function fn(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}(f,f.length,[])}function adjustHue(degree,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{hue:hslColor.hue+parseFloat(degree)}))}var curriedAdjustHue=curry(adjustHue);function complement(color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{hue:(hslColor.hue+180)%360}))}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken=curry(darken);function desaturate(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{saturation:guard(0,1,hslColor.saturation-parseFloat(amount))}))}var curriedDesaturate=curry(desaturate);function getLuminance(color){if("transparent"===color)return 0;var rgbColor=parseToRgb(color),_Object$keys$map=Object.keys(rgbColor).map((function(key){var channel=rgbColor[key]/255;return channel<=.03928?channel/12.92:Math.pow((channel+.055)/1.055,2.4)})),r=_Object$keys$map[0],g=_Object$keys$map[1],b=_Object$keys$map[2];return parseFloat((.2126*r+.7152*g+.0722*b).toFixed(3))}function getContrast(color1,color2){var luminance1=getLuminance(color1),luminance2=getLuminance(color2);return parseFloat((luminance1>luminance2?(luminance1+.05)/(luminance2+.05):(luminance2+.05)/(luminance1+.05)).toFixed(2))}function grayscale(color){return"transparent"===color?color:toColorString(Object(esm_extends.a)({},parseToHsl(color),{saturation:0}))}function hslToColorString(color){if("object"==typeof color&&"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness)return color.alpha&&"number"==typeof color.alpha?hsla({hue:color.hue,saturation:color.saturation,lightness:color.lightness,alpha:color.alpha}):hsl({hue:color.hue,saturation:color.saturation,lightness:color.lightness});throw new polished_esm_PolishedError(45)}function invert(color){if("transparent"===color)return color;var value=parseToRgb(color);return toColorString(Object(esm_extends.a)({},value,{red:255-value.red,green:255-value.green,blue:255-value.blue}))}function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten=curry(lighten);function meetsContrastGuidelines(color1,color2){var contrastRatio=getContrast(color1,color2);return{AA:contrastRatio>=4.5,AALarge:contrastRatio>=3,AAA:contrastRatio>=7,AAALarge:contrastRatio>=4.5}}function mix(weight,color,otherColor){if("transparent"===color)return otherColor;if("transparent"===otherColor)return color;if(0===weight)return otherColor;var parsedColor1=parseToRgb(color),color1=Object(esm_extends.a)({},parsedColor1,{alpha:"number"==typeof parsedColor1.alpha?parsedColor1.alpha:1}),parsedColor2=parseToRgb(otherColor),color2=Object(esm_extends.a)({},parsedColor2,{alpha:"number"==typeof parsedColor2.alpha?parsedColor2.alpha:1}),alphaDelta=color1.alpha-color2.alpha,x=2*parseFloat(weight)-1,weight1=((x*alphaDelta==-1?x:x+alphaDelta)/(1+x*alphaDelta)+1)/2,weight2=1-weight1;return rgba({red:Math.floor(color1.red*weight1+color2.red*weight2),green:Math.floor(color1.green*weight1+color2.green*weight2),blue:Math.floor(color1.blue*weight1+color2.blue*weight2),alpha:color1.alpha*(parseFloat(weight)/1)+color2.alpha*(1-parseFloat(weight)/1)})}var curriedMix=curry(mix);function opacify(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba(Object(esm_extends.a)({},parsedColor,{alpha:guard(0,1,(100*alpha+100*parseFloat(amount))/100)}))}var curriedOpacify=curry(opacify);function readableColor(color,returnIfLightColor,returnIfDarkColor,strict){void 0===returnIfLightColor&&(returnIfLightColor="#000"),void 0===returnIfDarkColor&&(returnIfDarkColor="#fff"),void 0===strict&&(strict=!0);var isColorLight=getLuminance(color)>.179,preferredReturnColor=isColorLight?returnIfLightColor:returnIfDarkColor;return!strict||getContrast(color,preferredReturnColor)>=4.5?preferredReturnColor:isColorLight?"#000":"#fff"}function rgbToColorString(color){if("object"==typeof color&&"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue)return"number"==typeof color.alpha?rgba({red:color.red,green:color.green,blue:color.blue,alpha:color.alpha}):rgb({red:color.red,green:color.green,blue:color.blue});throw new polished_esm_PolishedError(46)}function saturate(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{saturation:guard(0,1,hslColor.saturation+parseFloat(amount))}))}var curriedSaturate=curry(saturate);function setHue(hue,color){return"transparent"===color?color:toColorString(Object(esm_extends.a)({},parseToHsl(color),{hue:parseFloat(hue)}))}var curriedSetHue=curry(setHue);function setLightness(lightness,color){return"transparent"===color?color:toColorString(Object(esm_extends.a)({},parseToHsl(color),{lightness:parseFloat(lightness)}))}var curriedSetLightness=curry(setLightness);function setSaturation(saturation,color){return"transparent"===color?color:toColorString(Object(esm_extends.a)({},parseToHsl(color),{saturation:parseFloat(saturation)}))}var curriedSetSaturation=curry(setSaturation);function shade(percentage,color){return"transparent"===color?color:curriedMix(parseFloat(percentage),"rgb(0, 0, 0)",color)}var curriedShade=curry(shade);function tint(percentage,color){return"transparent"===color?color:curriedMix(parseFloat(percentage),"rgb(255, 255, 255)",color)}var curriedTint=curry(tint);function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba(Object(esm_extends.a)({},parsedColor,{alpha:guard(0,1,+(100*alpha-100*parseFloat(amount)).toFixed(2)/100)}))}var curriedTransparentize=curry(transparentize);function animation(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var multiMode=Array.isArray(args[0]);if(!multiMode&&args.length>8)throw new polished_esm_PolishedError(64);var code=args.map((function(arg){if(multiMode&&!Array.isArray(arg)||!multiMode&&Array.isArray(arg))throw new polished_esm_PolishedError(65);if(Array.isArray(arg)&&arg.length>8)throw new polished_esm_PolishedError(66);return Array.isArray(arg)?arg.join(" "):arg})).join(", ");return{animation:code}}function backgroundImages(){for(var _len=arguments.length,properties=new Array(_len),_key=0;_key<_len;_key++)properties[_key]=arguments[_key];return{backgroundImage:properties.join(", ")}}function backgrounds(){for(var _len=arguments.length,properties=new Array(_len),_key=0;_key<_len;_key++)properties[_key]=arguments[_key];return{background:properties.join(", ")}}var sideMap=["top","right","bottom","left"];function border(sideKeyword){for(var _len=arguments.length,values=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)values[_key-1]=arguments[_key];var _ref;return"string"==typeof sideKeyword&&sideMap.indexOf(sideKeyword)>=0?((_ref={})["border"+capitalizeString(sideKeyword)+"Width"]=values[0],_ref["border"+capitalizeString(sideKeyword)+"Style"]=values[1],_ref["border"+capitalizeString(sideKeyword)+"Color"]=values[2],_ref):(values.unshift(sideKeyword),{borderWidth:values[0],borderStyle:values[1],borderColor:values[2]})}function borderColor(){for(var _len=arguments.length,values=new Array(_len),_key=0;_key<_len;_key++)values[_key]=arguments[_key];return directionalProperty.apply(void 0,["borderColor"].concat(values))}function borderRadius(side,radius){var _ref,_ref2,uppercaseSide=capitalizeString(side);if(!radius&&0!==radius)throw new polished_esm_PolishedError(62);if("Top"===uppercaseSide||"Bottom"===uppercaseSide)return(_ref={})["border"+uppercaseSide+"RightRadius"]=radius,_ref["border"+uppercaseSide+"LeftRadius"]=radius,_ref;if("Left"===uppercaseSide||"Right"===uppercaseSide)return(_ref2={})["borderTop"+uppercaseSide+"Radius"]=radius,_ref2["borderBottom"+uppercaseSide+"Radius"]=radius,_ref2;throw new polished_esm_PolishedError(63)}function borderStyle(){for(var _len=arguments.length,values=new Array(_len),_key=0;_key<_len;_key++)values[_key]=arguments[_key];return directionalProperty.apply(void 0,["borderStyle"].concat(values))}function borderWidth(){for(var _len=arguments.length,values=new Array(_len),_key=0;_key<_len;_key++)values[_key]=arguments[_key];return directionalProperty.apply(void 0,["borderWidth"].concat(values))}function generateSelectors(template,state){return template(state?":"+state:"")}function statefulSelectors(states,template,stateMap){if(!template)throw new polished_esm_PolishedError(67);if(0===states.length)return generateSelectors(template,null);for(var selectors=[],i=0;i1?_len-1:0),_key=1;_key<_len;_key++)values[_key-1]=arguments[_key];return positionMap$1.indexOf(firstValue)>=0&&firstValue?Object(esm_extends.a)({},directionalProperty.apply(void 0,[""].concat(values)),{position:firstValue}):directionalProperty.apply(void 0,["",firstValue].concat(values))}function size(height,width){return void 0===width&&(width=height),{height:height,width:width}}var stateMap$1=[void 0,null,"active","focus","hover"];function template$1(state){return'input[type="color"]'+state+',\n input[type="date"]'+state+',\n input[type="datetime"]'+state+',\n input[type="datetime-local"]'+state+',\n input[type="email"]'+state+',\n input[type="month"]'+state+',\n input[type="number"]'+state+',\n input[type="password"]'+state+',\n input[type="search"]'+state+',\n input[type="tel"]'+state+',\n input[type="text"]'+state+',\n input[type="time"]'+state+',\n input[type="url"]'+state+',\n input[type="week"]'+state+",\n input:not([type])"+state+",\n textarea"+state}function textInputs(){for(var _len=arguments.length,states=new Array(_len),_key=0;_key<_len;_key++)states[_key]=arguments[_key];return statefulSelectors(states,template$1,stateMap$1)}function transitions(){for(var _len=arguments.length,properties=new Array(_len),_key=0;_key<_len;_key++)properties[_key]=arguments[_key];if(Array.isArray(properties[0])&&2===properties.length){var value=properties[1];if("string"!=typeof value)throw new polished_esm_PolishedError(61);var transitionsString=properties[0].map((function(property){return property+" "+value})).join(", ");return{transition:transitionsString}}return{transition:properties.join(", ")}}},function(module,exports,__webpack_require__){"use strict";var isCallable=__webpack_require__(34),definePropertyModule=__webpack_require__(57),makeBuiltIn=__webpack_require__(421),defineGlobalProperty=__webpack_require__(280);module.exports=function(O,key,value,options){options||(options={});var simple=options.enumerable,name=void 0!==options.name?options.name:key;if(isCallable(value)&&makeBuiltIn(value,name,options),options.global)simple?O[key]=value:defineGlobalProperty(key,value);else{try{options.unsafe?O[key]&&(simple=!0):delete O[key]}catch(error){}simple?O[key]=value:definePropertyModule.f(O,key,{value:value,enumerable:!1,configurable:!options.nonConfigurable,writable:!options.nonWritable})}return O}},function(module,exports,__webpack_require__){"use strict";var apply=__webpack_require__(148),call=__webpack_require__(38),uncurryThis=__webpack_require__(16),fixRegExpWellKnownSymbolLogic=__webpack_require__(217),fails=__webpack_require__(17),anObject=__webpack_require__(47),isCallable=__webpack_require__(34),isNullOrUndefined=__webpack_require__(87),toIntegerOrInfinity=__webpack_require__(172),toLength=__webpack_require__(145),toString=__webpack_require__(44),requireObjectCoercible=__webpack_require__(79),advanceStringIndex=__webpack_require__(293),getMethod=__webpack_require__(120),getSubstitution=__webpack_require__(754),regExpExec=__webpack_require__(218),REPLACE=__webpack_require__(32)("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),REPLACE_KEEPS_$0="$0"==="a".replace(/./,"$0"),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=!!/./[REPLACE]&&""===/./[REPLACE]("a","$0");fixRegExpWellKnownSymbolLogic("replace",(function(_,nativeReplace,maybeCallNative){var UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function replace(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=isNullOrUndefined(searchValue)?void 0:getMethod(searchValue,REPLACE);return replacer?call(replacer,searchValue,O,replaceValue):call(nativeReplace,toString(O),searchValue,replaceValue)},function(string,replaceValue){var rx=anObject(this),S=toString(string);if("string"==typeof replaceValue&&-1===stringIndexOf(replaceValue,UNSAFE_SUBSTITUTE)&&-1===stringIndexOf(replaceValue,"$<")){var res=maybeCallNative(nativeReplace,rx,S,replaceValue);if(res.done)return res.value}var functionalReplace=isCallable(replaceValue);functionalReplace||(replaceValue=toString(replaceValue));var fullUnicode,global=rx.global;global&&(fullUnicode=rx.unicode,rx.lastIndex=0);for(var result,results=[];null!==(result=regExpExec(rx,S))&&(push(results,result),global);){""===toString(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var it,accumulatedResult="",nextSourcePosition=0,i=0;i=nextSourcePosition&&(accumulatedResult+=stringSlice(S,nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+stringSlice(S,nextSourcePosition)}]}),!!fails((function(){var re=/./;return re.exec=function(){var result=[];return result.groups={a:"7"},result},"7"!=="".replace(re,"$")}))||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE)},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),uncurryThis=__webpack_require__(16),IndexedObject=__webpack_require__(169),toIndexedObject=__webpack_require__(78),arrayMethodIsStrict=__webpack_require__(124),nativeJoin=uncurryThis([].join);$({target:"Array",proto:!0,forced:IndexedObject!==Object||!arrayMethodIsStrict("join",",")},{join:function join(separator){return nativeJoin(toIndexedObject(this),void 0===separator?",":separator)}})},function(module,exports){var g;g=function(){return this}();try{g=g||new Function("return this")()}catch(e){"object"==typeof window&&(g=window)}module.exports=g},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),inspect=__webpack_require__(138),IsPropertyKey=__webpack_require__(76),Type=__webpack_require__(28);module.exports=function Get(O,P){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true, got "+inspect(P));return O[P]}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),bind=__webpack_require__(460);$({target:"Function",proto:!0,forced:Function.bind!==bind},{bind:bind})},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(23),isCallable=__webpack_require__(34),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),$reduce=__webpack_require__(801).left,arrayMethodIsStrict=__webpack_require__(124),CHROME_VERSION=__webpack_require__(142);$({target:"Array",proto:!0,forced:!__webpack_require__(182)&&CHROME_VERSION>79&&CHROME_VERSION<83||!arrayMethodIsStrict("reduce")},{reduce:function reduce(callbackfn){var length=arguments.length;return $reduce(this,callbackfn,length,length>1?arguments[1]:void 0)}})},function(module,exports){module.exports=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}},module.exports.__esModule=!0,module.exports.default=module.exports},function(module,exports,__webpack_require__){"use strict";module.exports=!1},function(module,exports,__webpack_require__){"use strict";var requireObjectCoercible=__webpack_require__(79),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={ClientApi:!0,addDecorator:!0,addParameters:!0,addLoader:!0,addArgTypesEnhancer:!0,defaultDecorateStory:!0,combineParameters:!0,StoryStore:!0,ConfigApi:!0,pathToId:!0,simulatePageLoad:!0,simulateDOMContentLoaded:!0,getQueryParams:!0,getQueryParam:!0};Object.defineProperty(exports,"ClientApi",{enumerable:!0,get:function get(){return _client_api.default}}),Object.defineProperty(exports,"addDecorator",{enumerable:!0,get:function get(){return _client_api.addDecorator}}),Object.defineProperty(exports,"addParameters",{enumerable:!0,get:function get(){return _client_api.addParameters}}),Object.defineProperty(exports,"addLoader",{enumerable:!0,get:function get(){return _client_api.addLoader}}),Object.defineProperty(exports,"addArgTypesEnhancer",{enumerable:!0,get:function get(){return _client_api.addArgTypesEnhancer}}),Object.defineProperty(exports,"defaultDecorateStory",{enumerable:!0,get:function get(){return _decorators.defaultDecorateStory}}),Object.defineProperty(exports,"combineParameters",{enumerable:!0,get:function get(){return _parameters.combineParameters}}),Object.defineProperty(exports,"StoryStore",{enumerable:!0,get:function get(){return _story_store.default}}),Object.defineProperty(exports,"ConfigApi",{enumerable:!0,get:function get(){return _config_api.default}}),Object.defineProperty(exports,"pathToId",{enumerable:!0,get:function get(){return _pathToId.default}}),Object.defineProperty(exports,"simulatePageLoad",{enumerable:!0,get:function get(){return _simulatePageload.simulatePageLoad}}),Object.defineProperty(exports,"simulateDOMContentLoaded",{enumerable:!0,get:function get(){return _simulatePageload.simulateDOMContentLoaded}}),Object.defineProperty(exports,"getQueryParams",{enumerable:!0,get:function get(){return _queryparams.getQueryParams}}),Object.defineProperty(exports,"getQueryParam",{enumerable:!0,get:function get(){return _queryparams.getQueryParam}});var _client_api=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(751)),_decorators=__webpack_require__(462),_parameters=__webpack_require__(187);Object.keys(_parameters).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_parameters[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _parameters[key]}}))}));var _story_store=_interopRequireDefault(__webpack_require__(802)),_config_api=_interopRequireDefault(__webpack_require__(882)),_pathToId=_interopRequireDefault(__webpack_require__(883)),_simulatePageload=__webpack_require__(884),_queryparams=__webpack_require__(885),_hooks=__webpack_require__(297);Object.keys(_hooks).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_hooks[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _hooks[key]}}))}));var _types=__webpack_require__(889);Object.keys(_types).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_types[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _types[key]}}))}));var _inferControls=__webpack_require__(483);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}Object.keys(_inferControls).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_inferControls[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _inferControls[key]}}))}))},function(module,exports,__webpack_require__){(function(global){function config(name){try{if(!global.localStorage)return!1}catch(_){return!1}var val=global.localStorage[name];return null!=val&&"true"===String(val).toLowerCase()}module.exports=function deprecate(fn,msg){if(config("noDeprecation"))return fn;var warned=!1;return function deprecated(){if(!warned){if(config("throwDeprecation"))throw new Error(msg);config("traceDeprecation")?console.trace(msg):console.warn(msg),warned=!0}return fn.apply(this,arguments)}}}).call(this,__webpack_require__(64))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocsContext=void 0;var DocsContext=(0,__webpack_require__(0).createContext)({});exports.DocsContext=DocsContext},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(378)},function(module,exports,__webpack_require__){"use strict";module.exports=function IsPropertyKey(argument){return"string"==typeof argument||"symbol"==typeof argument}},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(599)},function(module,exports,__webpack_require__){"use strict";var IndexedObject=__webpack_require__(169),requireObjectCoercible=__webpack_require__(79);module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}},function(module,exports,__webpack_require__){"use strict";var isNullOrUndefined=__webpack_require__(87),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw $TypeError("Can't call method on "+it);return it}},function(module,exports,__webpack_require__){"use strict";var set,get,has,NATIVE_WEAK_MAP=__webpack_require__(422),global=__webpack_require__(23),isObject=__webpack_require__(42),createNonEnumerableProperty=__webpack_require__(122),hasOwn=__webpack_require__(43),shared=__webpack_require__(279),sharedKey=__webpack_require__(209),hiddenKeys=__webpack_require__(171),TypeError=global.TypeError,WeakMap=global.WeakMap;if(NATIVE_WEAK_MAP||shared.state){var store=shared.state||(shared.state=new WeakMap);store.get=store.get,store.has=store.has,store.set=store.set,set=function(it,metadata){if(store.has(it))throw TypeError("Object already initialized");return metadata.facade=it,store.set(it,metadata),metadata},get=function(it){return store.get(it)||{}},has=function(it){return store.has(it)}}else{var STATE=sharedKey("state");hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw TypeError("Object already initialized");return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)}}module.exports={set:set,get:get,has:has,enforce:function(it){return has(it)?get(it):set(it,{})},getterFor:function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required");return state}}}},function(module,exports){var isArray=Array.isArray;module.exports=isArray},function(module,exports,__webpack_require__){"use strict";var apply=__webpack_require__(148),call=__webpack_require__(38),uncurryThis=__webpack_require__(16),fixRegExpWellKnownSymbolLogic=__webpack_require__(217),anObject=__webpack_require__(47),isNullOrUndefined=__webpack_require__(87),isRegExp=__webpack_require__(307),requireObjectCoercible=__webpack_require__(79),speciesConstructor=__webpack_require__(453),advanceStringIndex=__webpack_require__(293),toLength=__webpack_require__(145),toString=__webpack_require__(44),getMethod=__webpack_require__(120),arraySlice=__webpack_require__(213),callRegExpExec=__webpack_require__(218),regexpExec=__webpack_require__(216),stickyHelpers=__webpack_require__(292),fails=__webpack_require__(17),UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,min=Math.min,$push=[].push,exec=uncurryThis(/./.exec),push=uncurryThis($push),stringSlice=uncurryThis("".slice);fixRegExpWellKnownSymbolLogic("split",(function(SPLIT,nativeSplit,maybeCallNative){var internalSplit;return internalSplit="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(separator,limit){var string=toString(requireObjectCoercible(this)),lim=void 0===limit?4294967295:limit>>>0;if(0===lim)return[];if(void 0===separator)return[string];if(!isRegExp(separator))return call(nativeSplit,string,separator,lim);for(var match,lastIndex,lastLength,output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":""),lastLastIndex=0,separatorCopy=new RegExp(separator.source,flags+"g");(match=call(regexpExec,separatorCopy,string))&&!((lastIndex=separatorCopy.lastIndex)>lastLastIndex&&(push(output,stringSlice(string,lastLastIndex,match.index)),match.length>1&&match.index=lim));)separatorCopy.lastIndex===match.index&&separatorCopy.lastIndex++;return lastLastIndex===string.length?!lastLength&&exec(separatorCopy,"")||push(output,""):push(output,stringSlice(string,lastLastIndex)),output.length>lim?arraySlice(output,0,lim):output}:"0".split(void 0,0).length?function(separator,limit){return void 0===separator&&0===limit?[]:call(nativeSplit,this,separator,limit)}:nativeSplit,[function split(separator,limit){var O=requireObjectCoercible(this),splitter=isNullOrUndefined(separator)?void 0:getMethod(separator,SPLIT);return splitter?call(splitter,separator,O,limit):call(internalSplit,toString(O),separator,limit)},function(string,limit){var rx=anObject(this),S=toString(string),res=maybeCallNative(internalSplit,rx,S,limit,internalSplit!==nativeSplit);if(res.done)return res.value;var C=speciesConstructor(rx,RegExp),unicodeMatching=rx.unicode,flags=(rx.ignoreCase?"i":"")+(rx.multiline?"m":"")+(rx.unicode?"u":"")+(UNSUPPORTED_Y?"g":"y"),splitter=new C(UNSUPPORTED_Y?"^(?:"+rx.source+")":rx,flags),lim=void 0===limit?4294967295:limit>>>0;if(0===lim)return[];if(0===S.length)return null===callRegExpExec(splitter,S)?[S]:[];for(var p=0,q=0,A=[];q1?arguments[1]:void 0)}}),addToUnscopables("includes")},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),$entries=__webpack_require__(452).entries;$({target:"Object",stat:!0},{entries:function entries(O){return $entries(O)}})},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),createHTML=__webpack_require__(339);$({target:"String",proto:!0,forced:__webpack_require__(340)("bold")},{bold:function bold(){return createHTML(this,"b","","")}})},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),$String=GetIntrinsic("%String%"),$TypeError=GetIntrinsic("%TypeError%");module.exports=function ToString(argument){if("symbol"==typeof argument)throw new $TypeError("Cannot convert a Symbol value to a string");return $String(argument)}},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),callBound=__webpack_require__(33),$TypeError=GetIntrinsic("%TypeError%"),IsArray=__webpack_require__(166),$apply=GetIntrinsic("%Reflect.apply%",!0)||callBound("Function.prototype.apply");module.exports=function Call(F,V){var argumentsList=arguments.length>2?arguments[2]:[];if(!IsArray(argumentsList))throw new $TypeError("Assertion failed: optional `argumentsList`, if provided, must be a List");return $apply(F,V,argumentsList)}},function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(16),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}},function(module,exports,__webpack_require__){"use strict";var toLength=__webpack_require__(145);module.exports=function(obj){return toLength(obj.length)}},function(module,exports,__webpack_require__){var freeGlobal=__webpack_require__(446),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={Badge:!0,Link:!0,DocumentWrapper:!0,SyntaxHighlighter:!0,SyntaxHighlighterProps:!0,SyntaxHighlighterRendererProps:!0,createSyntaxHighlighterElement:!0,ActionBar:!0,Spaced:!0,Placeholder:!0,ScrollArea:!0,Zoom:!0,Button:!0,Form:!0,WithTooltip:!0,WithTooltipPure:!0,TooltipMessage:!0,TooltipNote:!0,TooltipLinkList:!0,Tabs:!0,TabsState:!0,TabBar:!0,TabWrapper:!0,IconButton:!0,TabButton:!0,Separator:!0,interleaveSeparators:!0,Bar:!0,FlexBar:!0,AddonPanel:!0,Icons:!0,IconsProps:!0,StorybookLogo:!0,StorybookIcon:!0,Loader:!0};Object.defineProperty(exports,"Badge",{enumerable:!0,get:function get(){return _Badge.Badge}}),Object.defineProperty(exports,"Link",{enumerable:!0,get:function get(){return _link.Link}}),Object.defineProperty(exports,"DocumentWrapper",{enumerable:!0,get:function get(){return _DocumentWrapper.DocumentWrapper}}),Object.defineProperty(exports,"SyntaxHighlighter",{enumerable:!0,get:function get(){return _syntaxhighlighter.SyntaxHighlighter}}),Object.defineProperty(exports,"SyntaxHighlighterProps",{enumerable:!0,get:function get(){return _syntaxhighlighter.SyntaxHighlighterProps}}),Object.defineProperty(exports,"SyntaxHighlighterRendererProps",{enumerable:!0,get:function get(){return _syntaxhighlighter.SyntaxHighlighterRendererProps}}),Object.defineProperty(exports,"createSyntaxHighlighterElement",{enumerable:!0,get:function get(){return _syntaxhighlighter.createSyntaxHighlighterElement}}),Object.defineProperty(exports,"ActionBar",{enumerable:!0,get:function get(){return _ActionBar.ActionBar}}),Object.defineProperty(exports,"Spaced",{enumerable:!0,get:function get(){return _Spaced.Spaced}}),Object.defineProperty(exports,"Placeholder",{enumerable:!0,get:function get(){return _placeholder.Placeholder}}),Object.defineProperty(exports,"ScrollArea",{enumerable:!0,get:function get(){return _ScrollArea.ScrollArea}}),Object.defineProperty(exports,"Zoom",{enumerable:!0,get:function get(){return _Zoom.Zoom}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function get(){return _Button.Button}}),Object.defineProperty(exports,"Form",{enumerable:!0,get:function get(){return _index.Form}}),Object.defineProperty(exports,"WithTooltip",{enumerable:!0,get:function get(){return _WithTooltip.WithTooltip}}),Object.defineProperty(exports,"WithTooltipPure",{enumerable:!0,get:function get(){return _WithTooltip.WithTooltipPure}}),Object.defineProperty(exports,"TooltipMessage",{enumerable:!0,get:function get(){return _TooltipMessage.TooltipMessage}}),Object.defineProperty(exports,"TooltipNote",{enumerable:!0,get:function get(){return _TooltipNote.TooltipNote}}),Object.defineProperty(exports,"TooltipLinkList",{enumerable:!0,get:function get(){return _TooltipLinkList.TooltipLinkList}}),Object.defineProperty(exports,"Tabs",{enumerable:!0,get:function get(){return _tabs.Tabs}}),Object.defineProperty(exports,"TabsState",{enumerable:!0,get:function get(){return _tabs.TabsState}}),Object.defineProperty(exports,"TabBar",{enumerable:!0,get:function get(){return _tabs.TabBar}}),Object.defineProperty(exports,"TabWrapper",{enumerable:!0,get:function get(){return _tabs.TabWrapper}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function get(){return _button.IconButton}}),Object.defineProperty(exports,"TabButton",{enumerable:!0,get:function get(){return _button.TabButton}}),Object.defineProperty(exports,"Separator",{enumerable:!0,get:function get(){return _separator.Separator}}),Object.defineProperty(exports,"interleaveSeparators",{enumerable:!0,get:function get(){return _separator.interleaveSeparators}}),Object.defineProperty(exports,"Bar",{enumerable:!0,get:function get(){return _bar.Bar}}),Object.defineProperty(exports,"FlexBar",{enumerable:!0,get:function get(){return _bar.FlexBar}}),Object.defineProperty(exports,"AddonPanel",{enumerable:!0,get:function get(){return _addonPanel.AddonPanel}}),Object.defineProperty(exports,"Icons",{enumerable:!0,get:function get(){return _icon.Icons}}),Object.defineProperty(exports,"IconsProps",{enumerable:!0,get:function get(){return _icon.IconsProps}}),Object.defineProperty(exports,"StorybookLogo",{enumerable:!0,get:function get(){return _StorybookLogo.StorybookLogo}}),Object.defineProperty(exports,"StorybookIcon",{enumerable:!0,get:function get(){return _StorybookIcon.StorybookIcon}}),Object.defineProperty(exports,"Loader",{enumerable:!0,get:function get(){return _Loader.Loader}});var _Badge=__webpack_require__(920),_link=__webpack_require__(240),_DocumentWrapper=__webpack_require__(934),_syntaxhighlighter=__webpack_require__(241),_ActionBar=__webpack_require__(344),_Spaced=__webpack_require__(997),_placeholder=__webpack_require__(507),_ScrollArea=__webpack_require__(345),_Zoom=__webpack_require__(242),_Button=__webpack_require__(508),_index=__webpack_require__(131),_WithTooltip=__webpack_require__(509),_TooltipMessage=__webpack_require__(1004),_TooltipNote=__webpack_require__(1005),_TooltipLinkList=__webpack_require__(1006),_tabs=__webpack_require__(510),_button=__webpack_require__(347),_separator=__webpack_require__(1008),_bar=__webpack_require__(346),_addonPanel=__webpack_require__(1009),_icon=__webpack_require__(118),_StorybookLogo=__webpack_require__(1010),_StorybookIcon=__webpack_require__(1011),_blocks=__webpack_require__(1012);Object.keys(_blocks).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_blocks[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _blocks[key]}}))}));var _controls=__webpack_require__(519);Object.keys(_controls).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_controls[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _controls[key]}}))}));var _Loader=__webpack_require__(1096)},,function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CacheProvider",(function(){return CacheProvider})),__webpack_require__.d(__webpack_exports__,"ThemeContext",(function(){return ThemeContext})),__webpack_require__.d(__webpack_exports__,"withEmotionCache",(function(){return emotion_element_04d85134_browser_esm_withEmotionCache})),__webpack_require__.d(__webpack_exports__,"css",(function(){return css_browser_esm})),__webpack_require__.d(__webpack_exports__,"ClassNames",(function(){return ClassNames})),__webpack_require__.d(__webpack_exports__,"Global",(function(){return Global})),__webpack_require__.d(__webpack_exports__,"createElement",(function(){return core_browser_esm_jsx})),__webpack_require__.d(__webpack_exports__,"jsx",(function(){return core_browser_esm_jsx})),__webpack_require__.d(__webpack_exports__,"keyframes",(function(){return core_browser_esm_keyframes}));var inheritsLoose=__webpack_require__(134),react=__webpack_require__(0);var StyleSheet=function(){function StyleSheet(options){this.isSpeedy=void 0===options.speedy||options.speedy,this.tags=[],this.ctr=0,this.nonce=options.nonce,this.key=options.key,this.container=options.container,this.before=null}var _proto=StyleSheet.prototype;return _proto.insert=function insert(rule){if(this.ctr%(this.isSpeedy?65e3:1)==0){var before,_tag=function createStyleElement(options){var tag=document.createElement("style");return tag.setAttribute("data-emotion",options.key),void 0!==options.nonce&&tag.setAttribute("nonce",options.nonce),tag.appendChild(document.createTextNode("")),tag}(this);before=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(_tag,before),this.tags.push(_tag)}var tag=this.tags[this.tags.length-1];if(this.isSpeedy){var sheet=function sheetForTag(tag){if(tag.sheet)return tag.sheet;for(var i=0;ih&&(h=(c=c.trim()).charCodeAt(0)),h){case 38:return c.replace(F,"$1"+d.trim());case 58:return d.trim()+c.replace(F,"$1"+d.trim());default:if(0<1*e&&0b.charCodeAt(8))break;case 115:a=a.replace(b,"-webkit-"+b)+";"+a;break;case 207:case 102:a=a.replace(b,"-webkit-"+(102e.charCodeAt(0)&&(e=e.trim()),e=[e],0q)&&(t=(f=f.replace(" ",":")).length),0=4;++i,len-=4)k=1540483477*(65535&(k=255&str.charCodeAt(i)|(255&str.charCodeAt(++i))<<8|(255&str.charCodeAt(++i))<<16|(255&str.charCodeAt(++i))<<24))+(59797*(k>>>16)<<16),h=1540483477*(65535&(k^=k>>>24))+(59797*(k>>>16)<<16)^1540483477*(65535&h)+(59797*(h>>>16)<<16);switch(len){case 3:h^=(255&str.charCodeAt(i+2))<<16;case 2:h^=(255&str.charCodeAt(i+1))<<8;case 1:h=1540483477*(65535&(h^=255&str.charCodeAt(i)))+(59797*(h>>>16)<<16)}return(((h=1540483477*(65535&(h^=h>>>13))+(59797*(h>>>16)<<16))^h>>>15)>>>0).toString(36)},unitless_browser_esm={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},memoize_browser_esm=__webpack_require__(255),hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function isCustomProperty(property){return 45===property.charCodeAt(1)},isProcessableValue=function isProcessableValue(value){return null!=value&&"boolean"!=typeof value},processStyleName=Object(memoize_browser_esm.a)((function(styleName){return isCustomProperty(styleName)?styleName:styleName.replace(hyphenateRegex,"-$&").toLowerCase()})),serialize_browser_esm_processStyleValue=function processStyleValue(key,value){switch(key){case"animation":case"animationName":if("string"==typeof value)return value.replace(animationRegex,(function(match,p1,p2){return cursor={name:p1,styles:p2,next:cursor},p1}))}return 1===unitless_browser_esm[key]||isCustomProperty(key)||"number"!=typeof value||0===value?value:value+"px"};function handleInterpolation(mergedProps,registered,interpolation,couldBeSelectorInterpolation){if(null==interpolation)return"";if(void 0!==interpolation.__emotion_styles)return interpolation;switch(typeof interpolation){case"boolean":return"";case"object":if(1===interpolation.anim)return cursor={name:interpolation.name,styles:interpolation.styles,next:cursor},interpolation.name;if(void 0!==interpolation.styles){var next=interpolation.next;if(void 0!==next)for(;void 0!==next;)cursor={name:next.name,styles:next.styles,next:cursor},next=next.next;return interpolation.styles+";"}return function createStringFromObject(mergedProps,registered,obj){var string="";if(Array.isArray(obj))for(var i=0;i"+content+"<\/script>"},NullProtoObjectViaActiveX=function(activeXDocument){activeXDocument.write(scriptTag("")),activeXDocument.close();var temp=activeXDocument.parentWindow.Object;return activeXDocument=null,temp},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(error){}var iframeDocument,iframe;NullProtoObject="undefined"!=typeof document?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):((iframe=documentCreateElement("iframe")).style.display="none",html.appendChild(iframe),iframe.src=String("javascript:"),(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F):NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject.prototype[enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0,module.exports=Object.create||function create(O,Properties){var result;return null!==O?(EmptyConstructor.prototype=anObject(O),result=new EmptyConstructor,EmptyConstructor.prototype=null,result[IE_PROTO]=O):result=NullProtoObject(),void 0===Properties?result:definePropertiesModule.f(result,Properties)}},function(module,exports){module.exports=function isObjectLike(value){return null!=value&&"object"==typeof value}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),uncurryThis=__webpack_require__(16),notARegExp=__webpack_require__(306),requireObjectCoercible=__webpack_require__(79),toString=__webpack_require__(44),correctIsRegExpLogic=__webpack_require__(308),stringIndexOf=uncurryThis("".indexOf);$({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function includes(searchString){return!!~stringIndexOf(toString(requireObjectCoercible(this)),toString(notARegExp(searchString)),arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){var baseAssignValue=__webpack_require__(311),baseForOwn=__webpack_require__(313),baseIteratee=__webpack_require__(321);module.exports=function mapValues(object,iteratee){var result={};return iteratee=baseIteratee(iteratee,3),baseForOwn(object,(function(value,key,object){baseAssignValue(result,key,iteratee(value,key,object))})),result}},function(module,exports,__webpack_require__){module.exports=function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,(function(e){var n=t[o][1][e];return s(n||e)}),l,l.exports,e,t,n,r)}return n[o].exports}for(var i=!1,o=0;o=0?(this.lastItem=this.list[index],this.list[index].val):void 0},Similar.prototype.set=function(key,val){var index;return this.lastItem&&this.isEqual(this.lastItem.key,key)?(this.lastItem.val=val,this):(index=this.indexOf(key))>=0?(this.lastItem=this.list[index],this.list[index].val=val,this):(this.lastItem={key:key,val:val},this.list.push(this.lastItem),this.size++,this)},Similar.prototype.delete=function(key){var index;if(this.lastItem&&this.isEqual(this.lastItem.key,key)&&(this.lastItem=void 0),(index=this.indexOf(key))>=0)return this.size--,this.list.splice(index,1)[0]},Similar.prototype.has=function(key){var index;return!(!this.lastItem||!this.isEqual(this.lastItem.key,key))||(index=this.indexOf(key))>=0&&(this.lastItem=this.list[index],!0)},Similar.prototype.forEach=function(callback,thisArg){var i;for(i=0;i=0&&(!(tmp=(currentLru=removedLru[i]).cacheItem.get(currentLru.arg))||!tmp.size);i--)currentLru.cacheItem.delete(currentLru.arg)}module.exports=function(limit){var cache=new MapOrSimilar(!1),lru=[];return function(fn){var memoizerific=function(){var newMap,fnResult,i,currentCache=cache,argsLengthMinusOne=arguments.length-1,lruPath=Array(argsLengthMinusOne+1),isMemoized=!0;if((memoizerific.numArgs||0===memoizerific.numArgs)&&memoizerific.numArgs!==argsLengthMinusOne+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(i=0;i0&&(lruPath[argsLengthMinusOne]={cacheItem:currentCache,arg:arguments[argsLengthMinusOne]},isMemoized?moveToMostRecentLru(lru,lruPath):lru.push(lruPath),lru.length>limit&&removeCachedResult(lru.shift())),memoizerific.wasMemoized=isMemoized,memoizerific.numArgs=argsLengthMinusOne+1,fnResult};return memoizerific.limit=limit,memoizerific.wasMemoized=!1,memoizerific.cache=cache,memoizerific.lru=lru,memoizerific}}},{"map-or-similar":1}]},{},[3])(3)},function(module,exports,__webpack_require__){"use strict";var MAX_SAFE_INTEGER=__webpack_require__(266),ToIntegerOrInfinity=__webpack_require__(265);module.exports=function ToLength(argument){var len=ToIntegerOrInfinity(argument);return len<=0?0:len>MAX_SAFE_INTEGER?MAX_SAFE_INTEGER:len}},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),$TypeError=GetIntrinsic("%TypeError%"),$SyntaxError=GetIntrinsic("%SyntaxError%"),has=__webpack_require__(85),isInteger=__webpack_require__(203),predicates={"Property Descriptor":function isPropertyDescriptor(Desc){var allowed={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};if(!Desc)return!1;for(var key in Desc)if(has(Desc,key)&&!allowed[key])return!1;var isData=has(Desc,"[[Value]]"),IsAccessor=has(Desc,"[[Get]]")||has(Desc,"[[Set]]");if(isData&&IsAccessor)throw new $TypeError("Property Descriptors may not be both accessor and data descriptors");return!0},"Match Record":__webpack_require__(619),"Iterator Record":function isIteratorRecord(value){return has(value,"[[Iterator]]")&&has(value,"[[NextMethod]]")&&has(value,"[[Done]]")},"PromiseCapability Record":function isPromiseCapabilityRecord(value){return!!value&&has(value,"[[Resolve]]")&&"function"==typeof value["[[Resolve]]"]&&has(value,"[[Reject]]")&&"function"==typeof value["[[Reject]]"]&&has(value,"[[Promise]]")&&value["[[Promise]]"]&&"function"==typeof value["[[Promise]]"].then},"AsyncGeneratorRequest Record":function isAsyncGeneratorRequestRecord(value){return!!value&&has(value,"[[Completion]]")&&has(value,"[[Capability]]")&&predicates["PromiseCapability Record"](value["[[Capability]]"])},"RegExp Record":function isRegExpRecord(value){return value&&has(value,"[[IgnoreCase]]")&&"boolean"==typeof value["[[IgnoreCase]]"]&&has(value,"[[Multiline]]")&&"boolean"==typeof value["[[Multiline]]"]&&has(value,"[[DotAll]]")&&"boolean"==typeof value["[[DotAll]]"]&&has(value,"[[Unicode]]")&&"boolean"==typeof value["[[Unicode]]"]&&has(value,"[[CapturingGroupsCount]]")&&"number"==typeof value["[[CapturingGroupsCount]]"]&&isInteger(value["[[CapturingGroupsCount]]"])&&value["[[CapturingGroupsCount]]"]>=0}};module.exports=function assertRecord(Type,recordType,argumentName,value){var predicate=predicates[recordType];if("function"!=typeof predicate)throw new $SyntaxError("unknown record type: "+recordType);if("Object"!==Type(value)||!predicate(value))throw new $TypeError(argumentName+" must be a "+recordType)}},function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(16);module.exports=uncurryThis({}.isPrototypeOf)},function(module,exports,__webpack_require__){"use strict";module.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(module,exports,__webpack_require__){"use strict";var bind=__webpack_require__(114),uncurryThis=__webpack_require__(16),IndexedObject=__webpack_require__(169),toObject=__webpack_require__(71),lengthOfArrayLike=__webpack_require__(97),arraySpeciesCreate=__webpack_require__(284),push=uncurryThis([].push),createMethod=function(TYPE){var IS_MAP=1===TYPE,IS_FILTER=2===TYPE,IS_SOME=3===TYPE,IS_EVERY=4===TYPE,IS_FIND_INDEX=6===TYPE,IS_FILTER_REJECT=7===TYPE,NO_HOLES=5===TYPE||IS_FIND_INDEX;return function($this,callbackfn,that,specificCreate){for(var value,result,O=toObject($this),self=IndexedObject(O),boundFunction=bind(callbackfn,that),length=lengthOfArrayLike(self),index=0,create=specificCreate||arraySpeciesCreate,target=IS_MAP?create($this,length):IS_FILTER||IS_FILTER_REJECT?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(result=boundFunction(value=self[index],index,O),TYPE))if(IS_MAP)target[index]=result;else if(result)switch(TYPE){case 3:return!0;case 5:return value;case 6:return index;case 2:push(target,value)}else switch(TYPE){case 4:return!1;case 7:push(target,value)}return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:target}};module.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterReject:createMethod(7)}},function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(177),aCallable=__webpack_require__(88),NATIVE_BIND=__webpack_require__(168),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},function(module,exports,__webpack_require__){"use strict";var events;Object.defineProperty(exports,"__esModule",{value:!0}),exports.NAVIGATE_URL=exports.SHARED_STATE_SET=exports.SHARED_STATE_CHANGED=exports.DOCS_RENDERED=exports.STORIES_EXPAND_ALL=exports.STORIES_COLLAPSE_ALL=exports.SELECT_STORY=exports.PREVIEW_KEYDOWN=exports.REGISTER_SUBSCRIPTION=exports.GLOBALS_UPDATED=exports.UPDATE_GLOBALS=exports.RESET_STORY_ARGS=exports.STORY_ARGS_UPDATED=exports.UPDATE_STORY_ARGS=exports.STORY_THREW_EXCEPTION=exports.STORY_ERRORED=exports.STORY_MISSING=exports.STORY_RENDERED=exports.STORY_UNCHANGED=exports.STORY_CHANGED=exports.FORCE_RE_RENDER=exports.CURRENT_STORY_WAS_SET=exports.SET_CURRENT_STORY=exports.SET_STORIES=exports.STORY_SPECIFIED=exports.CHANNEL_CREATED=exports.default=void 0,function(events){events.CHANNEL_CREATED="channelCreated",events.STORY_SPECIFIED="storySpecified",events.SET_STORIES="setStories",events.SET_CURRENT_STORY="setCurrentStory",events.CURRENT_STORY_WAS_SET="currentStoryWasSet",events.FORCE_RE_RENDER="forceReRender",events.STORY_CHANGED="storyChanged",events.STORY_UNCHANGED="storyUnchanged",events.STORY_RENDERED="storyRendered",events.STORY_MISSING="storyMissing",events.STORY_ERRORED="storyErrored",events.STORY_THREW_EXCEPTION="storyThrewException",events.UPDATE_STORY_ARGS="updateStoryArgs",events.STORY_ARGS_UPDATED="storyArgsUpdated",events.RESET_STORY_ARGS="resetStoryArgs",events.UPDATE_GLOBALS="updateGlobals",events.GLOBALS_UPDATED="globalsUpdated",events.REGISTER_SUBSCRIPTION="registerSubscription",events.PREVIEW_KEYDOWN="previewKeydown",events.SELECT_STORY="selectStory",events.STORIES_COLLAPSE_ALL="storiesCollapseAll",events.STORIES_EXPAND_ALL="storiesExpandAll",events.DOCS_RENDERED="docsRendered",events.SHARED_STATE_CHANGED="sharedStateChanged",events.SHARED_STATE_SET="sharedStateSet",events.NAVIGATE_URL="navigateUrl"}(events||(events={}));var _default=events;exports.default=_default;var CHANNEL_CREATED=events.CHANNEL_CREATED,STORY_SPECIFIED=events.STORY_SPECIFIED,SET_STORIES=events.SET_STORIES,SET_CURRENT_STORY=events.SET_CURRENT_STORY,CURRENT_STORY_WAS_SET=events.CURRENT_STORY_WAS_SET,FORCE_RE_RENDER=events.FORCE_RE_RENDER,STORY_CHANGED=events.STORY_CHANGED,STORY_UNCHANGED=events.STORY_UNCHANGED,STORY_RENDERED=events.STORY_RENDERED,STORY_MISSING=events.STORY_MISSING,STORY_ERRORED=events.STORY_ERRORED,STORY_THREW_EXCEPTION=events.STORY_THREW_EXCEPTION,UPDATE_STORY_ARGS=events.UPDATE_STORY_ARGS,STORY_ARGS_UPDATED=events.STORY_ARGS_UPDATED,RESET_STORY_ARGS=events.RESET_STORY_ARGS,UPDATE_GLOBALS=events.UPDATE_GLOBALS,GLOBALS_UPDATED=events.GLOBALS_UPDATED,REGISTER_SUBSCRIPTION=events.REGISTER_SUBSCRIPTION,PREVIEW_KEYDOWN=events.PREVIEW_KEYDOWN,SELECT_STORY=events.SELECT_STORY,STORIES_COLLAPSE_ALL=events.STORIES_COLLAPSE_ALL,STORIES_EXPAND_ALL=events.STORIES_EXPAND_ALL,DOCS_RENDERED=events.DOCS_RENDERED,SHARED_STATE_CHANGED=events.SHARED_STATE_CHANGED,SHARED_STATE_SET=events.SHARED_STATE_SET,NAVIGATE_URL=events.NAVIGATE_URL;exports.NAVIGATE_URL=NAVIGATE_URL,exports.SHARED_STATE_SET=SHARED_STATE_SET,exports.SHARED_STATE_CHANGED=SHARED_STATE_CHANGED,exports.DOCS_RENDERED=DOCS_RENDERED,exports.STORIES_EXPAND_ALL=STORIES_EXPAND_ALL,exports.STORIES_COLLAPSE_ALL=STORIES_COLLAPSE_ALL,exports.SELECT_STORY=SELECT_STORY,exports.PREVIEW_KEYDOWN=PREVIEW_KEYDOWN,exports.REGISTER_SUBSCRIPTION=REGISTER_SUBSCRIPTION,exports.GLOBALS_UPDATED=GLOBALS_UPDATED,exports.UPDATE_GLOBALS=UPDATE_GLOBALS,exports.RESET_STORY_ARGS=RESET_STORY_ARGS,exports.STORY_ARGS_UPDATED=STORY_ARGS_UPDATED,exports.UPDATE_STORY_ARGS=UPDATE_STORY_ARGS,exports.STORY_THREW_EXCEPTION=STORY_THREW_EXCEPTION,exports.STORY_ERRORED=STORY_ERRORED,exports.STORY_MISSING=STORY_MISSING,exports.STORY_RENDERED=STORY_RENDERED,exports.STORY_UNCHANGED=STORY_UNCHANGED,exports.STORY_CHANGED=STORY_CHANGED,exports.FORCE_RE_RENDER=FORCE_RE_RENDER,exports.CURRENT_STORY_WAS_SET=CURRENT_STORY_WAS_SET,exports.SET_CURRENT_STORY=SET_CURRENT_STORY,exports.SET_STORIES=SET_STORIES,exports.STORY_SPECIFIED=STORY_SPECIFIED,exports.CHANNEL_CREATED=CHANNEL_CREATED},function(module,exports,__webpack_require__){"use strict";__webpack_require__(776),__webpack_require__(782),__webpack_require__(783),__webpack_require__(784),__webpack_require__(785),__webpack_require__(786)},function(module,exports,__webpack_require__){"use strict";var call=__webpack_require__(38),fixRegExpWellKnownSymbolLogic=__webpack_require__(217),anObject=__webpack_require__(47),isNullOrUndefined=__webpack_require__(87),toLength=__webpack_require__(145),toString=__webpack_require__(44),requireObjectCoercible=__webpack_require__(79),getMethod=__webpack_require__(120),advanceStringIndex=__webpack_require__(293),regExpExec=__webpack_require__(218);fixRegExpWellKnownSymbolLogic("match",(function(MATCH,nativeMatch,maybeCallNative){return[function match(regexp){var O=requireObjectCoercible(this),matcher=isNullOrUndefined(regexp)?void 0:getMethod(regexp,MATCH);return matcher?call(matcher,regexp,O):new RegExp(regexp)[MATCH](toString(O))},function(string){var rx=anObject(this),S=toString(string),res=maybeCallNative(nativeMatch,rx,S);if(res.done)return res.value;if(!rx.global)return regExpExec(rx,S);var fullUnicode=rx.unicode;rx.lastIndex=0;for(var result,A=[],n=0;null!==(result=regExpExec(rx,S));){var matchStr=toString(result[0]);A[n]=matchStr,""===matchStr&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode)),n++}return 0===n?null:A}]}))},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(22),__webpack_require__(3),__webpack_require__(11),Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icons=void 0;var _react=_interopRequireDefault(__webpack_require__(0)),_theming=__webpack_require__(10),_icons=_interopRequireDefault(__webpack_require__(932)),_svg=_interopRequireDefault(__webpack_require__(933));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Path=_theming.styled.path({fill:"currentColor"}),Icons=function Icons(_ref){var icon=_ref.icon,props=_objectWithoutProperties(_ref,["icon"]);return _react.default.createElement(_svg.default,_extends({viewBox:"0 0 1024 1024"},props),_react.default.createElement(Path,{d:_icons.default[icon]}))};exports.Icons=Icons,Icons.displayName="Icons"},function(module,exports,__webpack_require__){"use strict";var bind=__webpack_require__(263),GetIntrinsic=__webpack_require__(7),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$gOPD=GetIntrinsic("%Object.getOwnPropertyDescriptor%",!0),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),$max=GetIntrinsic("%Math.max%");if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=null}module.exports=function callBind(originalFunction){var func=$reflectApply(bind,$call,arguments);if($gOPD&&$defineProperty){var desc=$gOPD(func,"length");desc.configurable&&$defineProperty(func,"length",{value:1+$max(0,originalFunction.length-(arguments.length-1))})}return func};var applyBind=function applyBind(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind},function(module,exports,__webpack_require__){"use strict";var aCallable=__webpack_require__(88),isNullOrUndefined=__webpack_require__(87);module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}},function(module,exports,__webpack_require__){"use strict";var IS_PURE=__webpack_require__(70),store=__webpack_require__(279);(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:"3.32.2",mode:IS_PURE?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"})},function(module,exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(35),definePropertyModule=__webpack_require__(57),createPropertyDescriptor=__webpack_require__(139);module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports,__webpack_require__){"use strict";var makeBuiltIn=__webpack_require__(421),defineProperty=__webpack_require__(57);module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17);module.exports=function(METHOD_NAME,argument){var method=[][METHOD_NAME];return!!method&&fails((function(){method.call(null,argument||function(){return 1},1)}))}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(151),getRawTag=__webpack_require__(762),objectToString=__webpack_require__(763),symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function baseGetTag(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),$values=__webpack_require__(452).values;$({target:"Object",stat:!0},{values:function values(O){return $values(O)}})},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),$find=__webpack_require__(113).find,addToUnscopables=__webpack_require__(288),SKIPS_HOLES=!0;"find"in[]&&Array(1).find((function(){SKIPS_HOLES=!1})),$({target:"Array",proto:!0,forced:SKIPS_HOLES},{find:function find(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("find")},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),$every=__webpack_require__(113).every;$({target:"Array",proto:!0,forced:!__webpack_require__(124)("every")},{every:function every(callbackfn){return $every(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){var baseIsNative=__webpack_require__(808),getValue=__webpack_require__(811);module.exports=function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},function(module,exports){module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(3),Object.defineProperty(exports,"__esModule",{value:!0}),exports.Form=void 0;var _theming=__webpack_require__(10),_field=__webpack_require__(1001),_input=__webpack_require__(1002),Form=Object.assign(_theming.styled.form({boxSizing:"border-box",width:"100%"}),{Field:_field.Field,Input:_input.Input,Select:_input.Select,Textarea:_input.Textarea,Button:_input.Button});exports.Form=Form},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.withMargin=exports.withReset=exports.codeCommon=exports.headerCommon=void 0;var _polished=__webpack_require__(60);exports.headerCommon=function headerCommon(_ref){return{margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:_ref.theme.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}};exports.codeCommon=function codeCommon(_ref2){var theme=_ref2.theme;return{lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:theme.typography.size.s2-1,border:"light"===theme.base?"1px solid ".concat(theme.color.mediumlight):"1px solid ".concat(theme.color.darker),color:"light"===theme.base?(0,_polished.transparentize)(.1,theme.color.defaultText):(0,_polished.transparentize)(.3,theme.color.defaultText),backgroundColor:"light"===theme.base?theme.color.lighter:theme.color.border}};exports.withReset=function withReset(_ref3){var theme=_ref3.theme;return{fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}};exports.withMargin={margin:"16px 0"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PRIMARY_STORY=exports.CURRENT_SELECTION=void 0;exports.CURRENT_SELECTION=".";exports.PRIMARY_STORY="^"},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return _inheritsLoose}));var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(159);function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,Object(_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__.a)(subClass,superClass)}},function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _root_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(50),_stubFalse_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(566),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?_root_js__WEBPACK_IMPORTED_MODULE_0__.a.Buffer:void 0,isBuffer=(Buffer?Buffer.isBuffer:void 0)||_stubFalse_js__WEBPACK_IMPORTED_MODULE_1__.a;__webpack_exports__.a=isBuffer}).call(this,__webpack_require__(352)(module))},function(module,exports,__webpack_require__){"use strict";module.exports=Number.isNaN||function isNaN(a){return a!=a}},function(module,exports,__webpack_require__){"use strict";var $Object=__webpack_require__(7)("%Object%"),RequireObjectCoercible=__webpack_require__(77);module.exports=function ToObject(value){return RequireObjectCoercible(value),$Object(value)}},function(module,exports,__webpack_require__){var hasMap="function"==typeof Map&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&"function"==typeof mapSizeDescriptor.get?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet="function"==typeof Set&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&"function"==typeof setSizeDescriptor.get?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,weakMapHas="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,weakSetHas="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,weakRefDeref="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf="function"==typeof BigInt?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,hasShammedSymbols="function"==typeof Symbol&&"object"==typeof Symbol.iterator,toStringTag="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||"symbol")?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!=num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof num){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var utilInspect=__webpack_require__(627),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;function wrapQuotes(s,defaultStyle,opts){var quoteChar="double"===(opts.quoteStyle||defaultStyle)?'"':"'";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/"/g,""")}function isArray(obj){return!("[object Array]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}function isRegExp(obj){return!("[object RegExp]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}function isSymbol(obj){if(hasShammedSymbols)return obj&&"object"==typeof obj&&obj instanceof Symbol;if("symbol"==typeof obj)return!0;if(!obj||"object"!=typeof obj||!symToString)return!1;try{return symToString.call(obj),!0}catch(e){}return!1}module.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,"quoteStyle")&&"single"!==opts.quoteStyle&&"double"!==opts.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(opts,"maxStringLength")&&("number"==typeof opts.maxStringLength?opts.maxStringLength<0&&opts.maxStringLength!==1/0:null!==opts.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var customInspect=!has(opts,"customInspect")||opts.customInspect;if("boolean"!=typeof customInspect&&"symbol"!==customInspect)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(opts,"indent")&&null!==opts.indent&&"\t"!==opts.indent&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(opts,"numericSeparator")&&"boolean"!=typeof opts.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(void 0===obj)return"undefined";if(null===obj)return"null";if("boolean"==typeof obj)return obj?"true":"false";if("string"==typeof obj)return function inspectString(str,opts){if(str.length>opts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}return wrapQuotes($replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",opts)}(obj,opts);if("number"==typeof obj){if(0===obj)return 1/0/obj>0?"0":"-0";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if("bigint"==typeof obj){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=void 0===opts.depth?5:opts.depth;if(void 0===depth&&(depth=0),depth>=maxDepth&&maxDepth>0&&"object"==typeof obj)return isArray(obj)?"[Array]":"[Object]";var indent=function getIndent(opts,depth){var baseIndent;if("\t"===opts.indent)baseIndent="\t";else{if(!("number"==typeof opts.indent&&opts.indent>0))return null;baseIndent=$join.call(Array(opts.indent+1)," ")}return{base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}(opts,depth);if(void 0===seen)seen=[];else if(indexOf(seen,obj)>=0)return"[Circular]";function inspect(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen)).push(from),noIndent){var newOpts={depth:opts.depth};return has(opts,"quoteStyle")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if("function"==typeof obj&&!isRegExp(obj)){var name=function nameOf(f){if(f.name)return f.name;var m=$match.call(functionToString.call(f),/^function\s*([\w$]+)/);if(m)return m[1];return null}(obj),keys=arrObjKeys(obj,inspect);return"[Function"+(name?": "+name:" (anonymous)")+"]"+(keys.length>0?" { "+$join.call(keys,", ")+" }":"")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return"object"!=typeof obj||hasShammedSymbols?symString:markBoxed(symString)}if(function isElement(x){if(!x||"object"!=typeof x)return!1;if("undefined"!=typeof HTMLElement&&x instanceof HTMLElement)return!0;return"string"==typeof x.nodeName&&"function"==typeof x.getAttribute}(obj)){for(var s="<"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i"}if(isArray(obj)){if(0===obj.length)return"[]";var xs=arrObjKeys(obj,inspect);return indent&&!function singleLineValues(xs){for(var i=0;i=0)return!1;return!0}(xs)?"["+indentedJoin(xs,indent)+"]":"[ "+$join.call(xs,", ")+" ]"}if(function isError(obj){return!("[object Error]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)){var parts=arrObjKeys(obj,inspect);return"cause"in Error.prototype||!("cause"in obj)||isEnumerable.call(obj,"cause")?0===parts.length?"["+String(obj)+"]":"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }":"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect(obj.cause),parts),", ")+" }"}if("object"==typeof obj&&customInspect){if(inspectSymbol&&"function"==typeof obj[inspectSymbol]&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if("symbol"!==customInspect&&"function"==typeof obj.inspect)return obj.inspect()}if(function isMap(x){if(!mapSize||!x||"object"!=typeof x)return!1;try{mapSize.call(x);try{setSize.call(x)}catch(s){return!0}return x instanceof Map}catch(e){}return!1}(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,(function(value,key){mapParts.push(inspect(key,obj,!0)+" => "+inspect(value,obj))})),collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(function isSet(x){if(!setSize||!x||"object"!=typeof x)return!1;try{setSize.call(x);try{mapSize.call(x)}catch(m){return!0}return x instanceof Set}catch(e){}return!1}(obj)){var setParts=[];return setForEach&&setForEach.call(obj,(function(value){setParts.push(inspect(value,obj))})),collectionOf("Set",setSize.call(obj),setParts,indent)}if(function isWeakMap(x){if(!weakMapHas||!x||"object"!=typeof x)return!1;try{weakMapHas.call(x,weakMapHas);try{weakSetHas.call(x,weakSetHas)}catch(s){return!0}return x instanceof WeakMap}catch(e){}return!1}(obj))return weakCollectionOf("WeakMap");if(function isWeakSet(x){if(!weakSetHas||!x||"object"!=typeof x)return!1;try{weakSetHas.call(x,weakSetHas);try{weakMapHas.call(x,weakMapHas)}catch(s){return!0}return x instanceof WeakSet}catch(e){}return!1}(obj))return weakCollectionOf("WeakSet");if(function isWeakRef(x){if(!weakRefDeref||!x||"object"!=typeof x)return!1;try{return weakRefDeref.call(x),!0}catch(e){}return!1}(obj))return weakCollectionOf("WeakRef");if(function isNumber(obj){return!("[object Number]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect(Number(obj)));if(function isBigInt(obj){if(!obj||"object"!=typeof obj||!bigIntValueOf)return!1;try{return bigIntValueOf.call(obj),!0}catch(e){}return!1}(obj))return markBoxed(inspect(bigIntValueOf.call(obj)));if(function isBoolean(obj){return!("[object Boolean]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(booleanValueOf.call(obj));if(function isString(obj){return!("[object String]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect(String(obj)));if(!function isDate(obj){return!("[object Date]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?"":"null prototype",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr(obj),8,-1):protoTag?"Object":"",tag=(isPlainObject||"function"!=typeof obj.constructor?"":obj.constructor.name?obj.constructor.name+" ":"")+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");return 0===ys.length?tag+"{}":indent?tag+"{"+indentedJoin(ys,indent)+"}":tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr(obj){return objectToString.call(obj)}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;i0&&match[0]<4?1:+(match[0]+match[1])),!version&&userAgent&&(!(match=userAgent.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/))&&(version=+match[1]),module.exports=version},function(module,exports,__webpack_require__){"use strict";var $String=String;module.exports=function(argument){try{return $String(argument)}catch(error){return"Object"}}},function(module,exports,__webpack_require__){"use strict";var internalObjectKeys=__webpack_require__(425),hiddenKeys=__webpack_require__(283).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return internalObjectKeys(O,hiddenKeys)}},function(module,exports,__webpack_require__){"use strict";var toIntegerOrInfinity=__webpack_require__(172),min=Math.min;module.exports=function(argument){return argument>0?min(toIntegerOrInfinity(argument),9007199254740991):0}},function(module,exports,__webpack_require__){"use strict";var classof=__webpack_require__(96);module.exports=Array.isArray||function isArray(argument){return"Array"===classof(argument)}},function(module,exports,__webpack_require__){"use strict";var toPropertyKey=__webpack_require__(206),definePropertyModule=__webpack_require__(57),createPropertyDescriptor=__webpack_require__(139);module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},function(module,exports,__webpack_require__){"use strict";var NATIVE_BIND=__webpack_require__(168),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})},function(module,exports){module.exports=function(module){return module.webpackPolyfill||(module.deprecate=function(){},module.paths=[],module.children||(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1),module}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isExportStory=function isExportStory(key,_ref){var includeStories=_ref.includeStories,excludeStories=_ref.excludeStories;return"__esModule"!==key&&(!includeStories||matches(key,includeStories))&&(!excludeStories||!matches(key,excludeStories))},exports.parseKind=exports.storyNameFromExport=exports.toId=exports.sanitize=void 0;var _startCase=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(755));function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if(!(Symbol.iterator in Object(arr))&&"[object Arguments]"!==Object.prototype.toString.call(arr))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var sanitize=function sanitize(string){return string.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")};exports.sanitize=sanitize;var sanitizeSafe=function sanitizeSafe(string,part){var sanitized=sanitize(string);if(""===sanitized)throw new Error("Invalid ".concat(part," '").concat(string,"', must include alphanumeric characters"));return sanitized};exports.toId=function toId(kind,name){return"".concat(sanitizeSafe(kind,"kind"),"--").concat(sanitizeSafe(name,"name"))};function matches(storyKey,arrayOrRegex){return Array.isArray(arrayOrRegex)?arrayOrRegex.includes(storyKey):storyKey.match(arrayOrRegex)}exports.storyNameFromExport=function storyNameFromExport(key){return(0,_startCase.default)(key)};exports.parseKind=function parseKind(kind,_ref2){var rootSeparator=_ref2.rootSeparator,groupSeparator=_ref2.groupSeparator,_kind$split2=_slicedToArray(kind.split(rootSeparator,2),2),root=_kind$split2[0],remainder=_kind$split2[1];return{root:remainder?root:null,groups:(remainder||kind).split(groupSeparator).filter((function(i){return!!i}))}}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(98).Symbol;module.exports=Symbol},function(module,exports,__webpack_require__){"use strict";var isPrototypeOf=__webpack_require__(111),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw $TypeError("Incorrect invocation")}},function(module,exports,__webpack_require__){module.exports=__webpack_require__(512)},function(module,exports,__webpack_require__){"use strict";__webpack_require__(30),__webpack_require__(62),Object.defineProperty(exports,"__esModule",{value:!0}),exports.isTooLongForTypeSummary=function isTooLongForTypeSummary(value){return value.length>90},exports.isTooLongForDefaultValueSummary=function isTooLongForDefaultValueSummary(value){return value.length>50},exports.createSummaryValue=function createSummaryValue(summary,detail){if(summary===detail)return{summary:summary};return{summary:summary,detail:detail}},exports.normalizeNewlines=exports.MAX_DEFAULT_VALUE_SUMMARY_LENGTH=exports.MAX_TYPE_SUMMARY_LENGTH=void 0;exports.MAX_TYPE_SUMMARY_LENGTH=90;exports.MAX_DEFAULT_VALUE_SUMMARY_LENGTH=50;exports.normalizeNewlines=function normalizeNewlines(string){return string.replace(/\\r\\n/g,"\\n")}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _utils=__webpack_require__(154);Object.keys(_utils).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_utils[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _utils[key]}}))}))},function(module,exports,__webpack_require__){"use strict";!function checkDCE(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(err){console.error(err)}}}(),module.exports=__webpack_require__(904)},,,function(module,__webpack_exports__,__webpack_require__){"use strict";function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(o,p){return o.__proto__=p,o})(o,p)}__webpack_require__.d(__webpack_exports__,"a",(function(){return _setPrototypeOf}))},function(module,exports,__webpack_require__){var runtime=function(exports){"use strict";var Op=Object.prototype,hasOwn=Op.hasOwnProperty,defineProperty=Object.defineProperty||function(obj,key,desc){obj[key]=desc.value},$Symbol="function"==typeof Symbol?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";function define(obj,key,value){return Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}),obj[key]}try{define({},"")}catch(err){define=function(obj,key,value){return obj[key]=value}}function wrap(innerFn,outerFn,self,tryLocsList){var protoGenerator=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator,generator=Object.create(protoGenerator.prototype),context=new Context(tryLocsList||[]);return defineProperty(generator,"_invoke",{value:makeInvokeMethod(innerFn,self,context)}),generator}function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}exports.wrap=wrap;var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var IteratorPrototype={};define(IteratorPrototype,iteratorSymbol,(function(){return this}));var getProto=Object.getPrototypeOf,NativeIteratorPrototype=getProto&&getProto(getProto(values([])));NativeIteratorPrototype&&NativeIteratorPrototype!==Op&&hasOwn.call(NativeIteratorPrototype,iteratorSymbol)&&(IteratorPrototype=NativeIteratorPrototype);var Gp=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(IteratorPrototype);function defineIteratorMethods(prototype){["next","throw","return"].forEach((function(method){define(prototype,method,(function(arg){return this._invoke(method,arg)}))}))}function AsyncIterator(generator,PromiseImpl){var previousPromise;defineProperty(this,"_invoke",{value:function enqueue(method,arg){function callInvokeWithMethodAndArg(){return new PromiseImpl((function(resolve,reject){!function invoke(method,arg,resolve,reject){var record=tryCatch(generator[method],generator,arg);if("throw"!==record.type){var result=record.arg,value=result.value;return value&&"object"==typeof value&&hasOwn.call(value,"__await")?PromiseImpl.resolve(value.__await).then((function(value){invoke("next",value,resolve,reject)}),(function(err){invoke("throw",err,resolve,reject)})):PromiseImpl.resolve(value).then((function(unwrapped){result.value=unwrapped,resolve(result)}),(function(error){return invoke("throw",error,resolve,reject)}))}reject(record.arg)}(method,arg,resolve,reject)}))}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(innerFn,self,context){var state="suspendedStart";return function invoke(method,arg){if("executing"===state)throw new Error("Generator is already running");if("completed"===state){if("throw"===method)throw arg;return doneResult()}for(context.method=method,context.arg=arg;;){var delegate=context.delegate;if(delegate){var delegateResult=maybeInvokeDelegate(delegate,context);if(delegateResult){if(delegateResult===ContinueSentinel)continue;return delegateResult}}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if("suspendedStart"===state)throw state="completed",context.arg;context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state="executing";var record=tryCatch(innerFn,self,context);if("normal"===record.type){if(state=context.done?"completed":"suspendedYield",record.arg===ContinueSentinel)continue;return{value:record.arg,done:context.done}}"throw"===record.type&&(state="completed",context.method="throw",context.arg=record.arg)}}}function maybeInvokeDelegate(delegate,context){var methodName=context.method,method=delegate.iterator[methodName];if(void 0===method)return context.delegate=null,"throw"===methodName&&delegate.iterator.return&&(context.method="return",context.arg=void 0,maybeInvokeDelegate(delegate,context),"throw"===context.method)||"return"!==methodName&&(context.method="throw",context.arg=new TypeError("The iterator does not provide a '"+methodName+"' method")),ContinueSentinel;var record=tryCatch(method,delegate.iterator,context.arg);if("throw"===record.type)return context.method="throw",context.arg=record.arg,context.delegate=null,ContinueSentinel;var info=record.arg;return info?info.done?(context[delegate.resultName]=info.value,context.next=delegate.nextLoc,"return"!==context.method&&(context.method="next",context.arg=void 0),context.delegate=null,ContinueSentinel):info:(context.method="throw",context.arg=new TypeError("iterator result is not an object"),context.delegate=null,ContinueSentinel)}function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]),2 in locs&&(entry.finallyLoc=locs[2],entry.afterLoc=locs[3]),this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal",delete record.arg,entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}],tryLocsList.forEach(pushTryEntry,this),this.reset(!0)}function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"==typeof iterable.next)return iterable;if(!isNaN(iterable.length)){var i=-1,next=function next(){for(;++i=0;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},"next"===this.method&&(this.arg=void 0),ContinueSentinel}},exports}(module.exports);try{regeneratorRuntime=runtime}catch(accidentalStrictMode){"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime = r")(runtime)}},function(module,exports,__webpack_require__){"use strict";module.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if("string"==typeof sym)return!1;if("[object Symbol]"!==Object.prototype.toString.call(sym))return!1;if("[object Symbol]"!==Object.prototype.toString.call(symObj))return!1;for(sym in obj[sym]=42,obj)return!1;if("function"==typeof Object.keys&&0!==Object.keys(obj).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(obj).length)return!1;var syms=Object.getOwnPropertySymbols(obj);if(1!==syms.length||syms[0]!==sym)return!1;if(!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(42!==descriptor.value||!0!==descriptor.enumerable)return!1}return!0}},function(module,exports,__webpack_require__){"use strict";var hasSymbols=__webpack_require__(161);module.exports=function hasToStringTagShams(){return hasSymbols()&&!!Symbol.toStringTag}},function(module,exports,__webpack_require__){"use strict";var strValue=String.prototype.valueOf,toStr=Object.prototype.toString,hasToStringTag=__webpack_require__(162)();module.exports=function isString(value){return"string"==typeof value||"object"==typeof value&&(hasToStringTag?function tryStringObject(value){try{return strValue.call(value),!0}catch(e){return!1}}(value):"[object String]"===toStr.call(value))}},function(module,exports,__webpack_require__){"use strict";var has=__webpack_require__(85),Type=__webpack_require__(28),assertRecord=__webpack_require__(110);module.exports=function IsDataDescriptor(Desc){return void 0!==Desc&&(assertRecord(Type,"Property Descriptor","Desc",Desc),!(!has(Desc,"[[Value]]")&&!has(Desc,"[[Writable]]")))}},function(module,exports,__webpack_require__){"use strict";var $isNaN=__webpack_require__(136);module.exports=function SameValue(x,y){return x===y?0!==x||1/x==1/y:$isNaN(x)&&$isNaN(y)}},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(388)},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),has=__webpack_require__(85),channel=__webpack_require__(407)(),$TypeError=GetIntrinsic("%TypeError%"),SLOT={assert:function(O,slot){if(!O||"object"!=typeof O&&"function"!=typeof O)throw new $TypeError("`O` is not an object");if("string"!=typeof slot)throw new $TypeError("`slot` must be a string");if(channel.assert(O),!SLOT.has(O,slot))throw new $TypeError("`"+slot+"` is not present on `O`")},get:function(O,slot){if(!O||"object"!=typeof O&&"function"!=typeof O)throw new $TypeError("`O` is not an object");if("string"!=typeof slot)throw new $TypeError("`slot` must be a string");var slots=channel.get(O);return slots&&slots["$"+slot]},has:function(O,slot){if(!O||"object"!=typeof O&&"function"!=typeof O)throw new $TypeError("`O` is not an object");if("string"!=typeof slot)throw new $TypeError("`slot` must be a string");var slots=channel.get(O);return!!slots&&has(slots,"$"+slot)},set:function(O,slot,V){if(!O||"object"!=typeof O&&"function"!=typeof O)throw new $TypeError("`O` is not an object");if("string"!=typeof slot)throw new $TypeError("`slot` must be a string");var slots=channel.get(O);slots||(slots={},channel.set(O,slots)),slots["$"+slot]=V}};Object.freeze&&Object.freeze(SLOT),module.exports=SLOT},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17);module.exports=!fails((function(){var test=function(){}.bind();return"function"!=typeof test||test.hasOwnProperty("prototype")}))},function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(16),fails=__webpack_require__(17),classof=__webpack_require__(96),$Object=Object,split=uncurryThis("".split);module.exports=fails((function(){return!$Object("z").propertyIsEnumerable(0)}))?function(it){return"String"===classof(it)?split(it,""):$Object(it)}:$Object},function(module,exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(35),hasOwn=__webpack_require__(43),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&"something"===function something(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE}},function(module,exports,__webpack_require__){"use strict";module.exports={}},function(module,exports,__webpack_require__){"use strict";var trunc=__webpack_require__(706);module.exports=function(argument){var number=+argument;return number!=number||0===number?0:trunc(number)}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17),isCallable=__webpack_require__(34),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value===POLYFILL||value!==NATIVE&&(isCallable(detection)?fails(detection):!!detection)},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced},function(module,exports,__webpack_require__){"use strict";var TO_STRING_TAG_SUPPORT=__webpack_require__(285),isCallable=__webpack_require__(34),classofRaw=__webpack_require__(96),TO_STRING_TAG=__webpack_require__(32)("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17),wellKnownSymbol=__webpack_require__(32),V8_VERSION=__webpack_require__(142),SPECIES=wellKnownSymbol("species");module.exports=function(METHOD_NAME){return V8_VERSION>=51||!fails((function(){var array=[];return(array.constructor={})[SPECIES]=function(){return{foo:1}},1!==array[METHOD_NAME](Boolean).foo}))}},function(module,exports,__webpack_require__){"use strict";var internalObjectKeys=__webpack_require__(425),enumBugKeys=__webpack_require__(283);module.exports=Object.keys||function keys(O){return internalObjectKeys(O,enumBugKeys)}},function(module,exports,__webpack_require__){"use strict";var classofRaw=__webpack_require__(96),uncurryThis=__webpack_require__(16);module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(16);module.exports=uncurryThis([].slice)},function(module,exports,__webpack_require__){"use strict";module.exports={}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),uncurryThis=__webpack_require__(16),hiddenKeys=__webpack_require__(171),isObject=__webpack_require__(42),hasOwn=__webpack_require__(43),defineProperty=__webpack_require__(57).f,getOwnPropertyNamesModule=__webpack_require__(144),getOwnPropertyNamesExternalModule=__webpack_require__(428),isExtensible=__webpack_require__(752),uid=__webpack_require__(207),FREEZING=__webpack_require__(291),REQUIRED=!1,METADATA=uid("meta"),id=0,setMetadata=function(it){defineProperty(it,METADATA,{value:{objectID:"O"+id++,weakData:{}}})},meta=module.exports={enable:function(){meta.enable=function(){},REQUIRED=!0;var getOwnPropertyNames=getOwnPropertyNamesModule.f,splice=uncurryThis([].splice),test={};test[METADATA]=1,getOwnPropertyNames(test).length&&(getOwnPropertyNamesModule.f=function(it){for(var result=getOwnPropertyNames(it),i=0,length=result.length;iindex;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(128),__webpack_require__(56),__webpack_require__(51),__webpack_require__(31),__webpack_require__(21),__webpack_require__(18),__webpack_require__(15),__webpack_require__(68),__webpack_require__(14),__webpack_require__(27),__webpack_require__(8),__webpack_require__(92),__webpack_require__(11),__webpack_require__(9),__webpack_require__(24),__webpack_require__(19),__webpack_require__(52),__webpack_require__(20),Object.defineProperty(exports,"__esModule",{value:!0}),exports.combineParameters=void 0;var _isPlainObject=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(309));function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var H1=_theming.styled.h1(_shared.withReset,_shared.headerCommon,(function(_ref){var theme=_ref.theme;return{fontSize:"".concat(theme.typography.size.l1,"px"),fontWeight:theme.typography.weight.black}}));exports.H1=H1;var H2=_theming.styled.h2(_shared.withReset,_shared.headerCommon,(function(_ref2){var theme=_ref2.theme;return{fontSize:"".concat(theme.typography.size.m2,"px"),paddingBottom:4,borderBottom:"1px solid ".concat(theme.appBorderColor)}}));exports.H2=H2;var H3=_theming.styled.h3(_shared.withReset,_shared.headerCommon,(function(_ref3){var theme=_ref3.theme;return{fontSize:"".concat(theme.typography.size.m1,"px")}}));exports.H3=H3;var H4=_theming.styled.h4(_shared.withReset,_shared.headerCommon,(function(_ref4){var theme=_ref4.theme;return{fontSize:"".concat(theme.typography.size.s3,"px")}}));exports.H4=H4;var H5=_theming.styled.h5(_shared.withReset,_shared.headerCommon,(function(_ref5){var theme=_ref5.theme;return{fontSize:"".concat(theme.typography.size.s2,"px")}}));exports.H5=H5;var H6=_theming.styled.h6(_shared.withReset,_shared.headerCommon,(function(_ref6){var theme=_ref6.theme;return{fontSize:"".concat(theme.typography.size.s2,"px"),color:theme.color.dark}}));exports.H6=H6;var Pre=_theming.styled.pre(_shared.withReset,_shared.withMargin,(function(_ref7){return{fontFamily:_ref7.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}}}));exports.Pre=Pre;var Link=function Link(_ref8){var input=_ref8.href,children=_ref8.children,props=_objectWithoutProperties(_ref8,["href","children"]),isStorybookPath=/^\//.test(input),isAnchorUrl=/^#.*/.test(input),href=isStorybookPath?"?path=".concat(input):input,target=isAnchorUrl?"_self":"_top";return _react.default.createElement("a",_extends({href:href,target:target},props),children)};Link.displayName="Link";var A=(0,_theming.styled)(Link)(_shared.withReset,(function(_ref9){return{fontSize:"inherit",lineHeight:"24px",color:_ref9.theme.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}}}));exports.A=A;var HR=_theming.styled.hr((function(_ref10){var theme=_ref10.theme;return{border:"0 none",borderTop:"1px solid ".concat(theme.appBorderColor),height:4,padding:0}}));exports.HR=HR;var DL=_theming.styled.dl(_shared.withReset,Object.assign({},_shared.withMargin,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}));exports.DL=DL;var Blockquote=_theming.styled.blockquote(_shared.withReset,_shared.withMargin,(function(_ref11){var theme=_ref11.theme;return{borderLeft:"4px solid ".concat(theme.color.medium),padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}}));exports.Blockquote=Blockquote;var Table=_theming.styled.table(_shared.withReset,_shared.withMargin,(function(_ref12){var theme=_ref12.theme;return{fontSize:theme.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:"1px solid ".concat(theme.appBorderColor),backgroundColor:"white",margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:"".concat(theme.color.lighter)},"& tr th":{fontWeight:"bold",border:"1px solid ".concat(theme.appBorderColor),margin:0,padding:"6px 13px"},"& tr td":{border:"1px solid ".concat(theme.appBorderColor),margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}}}));exports.Table=Table;var Img=_theming.styled.img({maxWidth:"100%"});exports.Img=Img;var Div=_theming.styled.div(_shared.withReset);exports.Div=Div;var Span=_theming.styled.span(_shared.withReset,(function(_ref13){var theme=_ref13.theme;return{"&.frame":{display:"block",overflow:"hidden","& > span":{border:"1px solid ".concat(theme.color.medium),display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}}}));exports.Span=Span;var listCommon={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},LI=_theming.styled.li(_shared.withReset,(function(_ref14){var theme=_ref14.theme;return{fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":(0,_shared.codeCommon)({theme:theme})}}));exports.LI=LI;var UL=_theming.styled.ul(_shared.withReset,_shared.withMargin,Object.assign({},listCommon,{listStyle:"disc"}));exports.UL=UL;var OL=_theming.styled.ol(_shared.withReset,_shared.withMargin,Object.assign({},listCommon,{listStyle:"decimal"}));exports.OL=OL;var P=_theming.styled.p(_shared.withReset,_shared.withMargin,(function(_ref15){var theme=_ref15.theme;return{fontSize:theme.typography.size.s2,lineHeight:"24px",color:theme.color.defaultText,"& code":(0,_shared.codeCommon)({theme:theme})}}));exports.P=P;var DefaultCodeBlock=_theming.styled.code((function(_ref16){return{fontFamily:_ref16.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}}),_shared.codeCommon),Code=function Code(_ref17){var className=_ref17.className,props=_objectWithoutProperties(_ref17,["className"]),language=(className||"").match(/lang-(\S+)/);return language?_react.default.createElement(_syntaxhighlighter.SyntaxHighlighter,_extends({bordered:!0,copyable:!0,language:language[1],format:!1},props)):_react.default.createElement(DefaultCodeBlock,_extends({},props,{className:className}))};exports.Code=Code,Code.displayName="Code";var TT=_theming.styled.title(_shared.codeCommon);exports.TT=TT;var ResetWrapper=_theming.styled.div(_shared.withReset);exports.ResetWrapper=ResetWrapper;var nameSpaceClassNames=function nameSpaceClassNames(_ref18,key){var props=Object.assign({},_ref18),classes=[props.class,props.className];return delete props.class,props.className=["sbdocs","sbdocs-".concat(key)].concat(classes).filter(Boolean).join(" "),props},components={h1:function(props){return _react.default.createElement(H1,nameSpaceClassNames(props,"h1"))},h2:function(props){return _react.default.createElement(H2,nameSpaceClassNames(props,"h2"))},h3:function(props){return _react.default.createElement(H3,nameSpaceClassNames(props,"h3"))},h4:function(props){return _react.default.createElement(H4,nameSpaceClassNames(props,"h4"))},h5:function(props){return _react.default.createElement(H5,nameSpaceClassNames(props,"h5"))},h6:function(props){return _react.default.createElement(H6,nameSpaceClassNames(props,"h6"))},pre:function(props){return _react.default.createElement(Pre,nameSpaceClassNames(props,"pre"))},a:function(props){return _react.default.createElement(A,nameSpaceClassNames(props,"a"))},hr:function(props){return _react.default.createElement(HR,nameSpaceClassNames(props,"hr"))},dl:function(props){return _react.default.createElement(DL,nameSpaceClassNames(props,"dl"))},blockquote:function(props){return _react.default.createElement(Blockquote,nameSpaceClassNames(props,"blockquote"))},table:function(props){return _react.default.createElement(Table,nameSpaceClassNames(props,"table"))},img:function(props){return _react.default.createElement(Img,nameSpaceClassNames(props,"img"))},div:function(props){return _react.default.createElement(Div,nameSpaceClassNames(props,"div"))},span:function(props){return _react.default.createElement(Span,nameSpaceClassNames(props,"span"))},li:function(props){return _react.default.createElement(LI,nameSpaceClassNames(props,"li"))},ul:function(props){return _react.default.createElement(UL,nameSpaceClassNames(props,"ul"))},ol:function(props){return _react.default.createElement(OL,nameSpaceClassNames(props,"ol"))},p:function(props){return _react.default.createElement(P,nameSpaceClassNames(props,"p"))},code:function(props){return _react.default.createElement(Code,nameSpaceClassNames(props,"code"))},tt:function(props){return _react.default.createElement(TT,nameSpaceClassNames(props,"tt"))},resetwrapper:function(props){return _react.default.createElement(ResetWrapper,nameSpaceClassNames(props,"resetwrapper"))}};exports.components=components},function(module,exports,__webpack_require__){"use strict";__webpack_require__(56),__webpack_require__(91),__webpack_require__(63),__webpack_require__(15),__webpack_require__(14),__webpack_require__(8),__webpack_require__(30),__webpack_require__(106),__webpack_require__(82),Object.defineProperty(exports,"__esModule",{value:!0}),exports.scrollToElement=function scrollToElement(element){var block=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";element.scrollIntoView({behavior:"smooth",block:block,inline:"nearest"})},exports.getComponentName=exports.getDocsStories=void 0;exports.getDocsStories=function getDocsStories(context){var storyStore=context.storyStore,kind=context.kind;return storyStore?storyStore.getStoriesForKind(kind).filter((function(s){return!(s.parameters&&s.parameters.docs&&s.parameters.docs.disable)})):[]};exports.getComponentName=function getComponentName(component){if(component)return"string"==typeof component?component.includes("-")?function titleCase(str){return str.split("-").map((function(part){return part.charAt(0).toUpperCase()+part.slice(1)})).join("")}(component):component:component.__docgenInfo&&component.__docgenInfo.displayName?component.__docgenInfo.displayName:component.name}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ELEMENT_CAPTION=exports.FUNCTION_CAPTION=exports.CLASS_CAPTION=exports.ARRAY_CAPTION=exports.OBJECT_CAPTION=exports.CUSTOM_CAPTION=void 0;exports.CUSTOM_CAPTION="custom";exports.OBJECT_CAPTION="object";exports.ARRAY_CAPTION="array";exports.CLASS_CAPTION="class";exports.FUNCTION_CAPTION="func";exports.ELEMENT_CAPTION="element"},function(module,exports){exports.getArg=function getArg(aArgs,aName,aDefaultValue){if(aName in aArgs)return aArgs[aName];if(3===arguments.length)return aDefaultValue;throw new Error('"'+aName+'" is a required argument.')};var urlRegexp=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,dataUrlRegexp=/^data:.+\,.+$/;function urlParse(aUrl){var match=aUrl.match(urlRegexp);return match?{scheme:match[1],auth:match[2],host:match[3],port:match[4],path:match[5]}:null}function urlGenerate(aParsedUrl){var url="";return aParsedUrl.scheme&&(url+=aParsedUrl.scheme+":"),url+="//",aParsedUrl.auth&&(url+=aParsedUrl.auth+"@"),aParsedUrl.host&&(url+=aParsedUrl.host),aParsedUrl.port&&(url+=":"+aParsedUrl.port),aParsedUrl.path&&(url+=aParsedUrl.path),url}function normalize(aPath){var path=aPath,url=urlParse(aPath);if(url){if(!url.path)return aPath;path=url.path}for(var part,isAbsolute=exports.isAbsolute(path),parts=path.split(/\/+/),up=0,i=parts.length-1;i>=0;i--)"."===(part=parts[i])?parts.splice(i,1):".."===part?up++:up>0&&(""===part?(parts.splice(i+1,up),up=0):(parts.splice(i,2),up--));return""===(path=parts.join("/"))&&(path=isAbsolute?"/":"."),url?(url.path=path,urlGenerate(url)):path}function join(aRoot,aPath){""===aRoot&&(aRoot="."),""===aPath&&(aPath=".");var aPathUrl=urlParse(aPath),aRootUrl=urlParse(aRoot);if(aRootUrl&&(aRoot=aRootUrl.path||"/"),aPathUrl&&!aPathUrl.scheme)return aRootUrl&&(aPathUrl.scheme=aRootUrl.scheme),urlGenerate(aPathUrl);if(aPathUrl||aPath.match(dataUrlRegexp))return aPath;if(aRootUrl&&!aRootUrl.host&&!aRootUrl.path)return aRootUrl.host=aPath,urlGenerate(aRootUrl);var joined="/"===aPath.charAt(0)?aPath:normalize(aRoot.replace(/\/+$/,"")+"/"+aPath);return aRootUrl?(aRootUrl.path=joined,urlGenerate(aRootUrl)):joined}exports.urlParse=urlParse,exports.urlGenerate=urlGenerate,exports.normalize=normalize,exports.join=join,exports.isAbsolute=function(aPath){return"/"===aPath.charAt(0)||urlRegexp.test(aPath)},exports.relative=function relative(aRoot,aPath){""===aRoot&&(aRoot="."),aRoot=aRoot.replace(/\/$/,"");for(var level=0;0!==aPath.indexOf(aRoot+"/");){var index=aRoot.lastIndexOf("/");if(index<0)return aPath;if((aRoot=aRoot.slice(0,index)).match(/^([^\/]+:\/)?\/*$/))return aPath;++level}return Array(level+1).join("../")+aPath.substr(aRoot.length+1)};var supportsNullProto=!("__proto__"in Object.create(null));function identity(s){return s}function isProtoString(s){if(!s)return!1;var length=s.length;if(length<9)return!1;if(95!==s.charCodeAt(length-1)||95!==s.charCodeAt(length-2)||111!==s.charCodeAt(length-3)||116!==s.charCodeAt(length-4)||111!==s.charCodeAt(length-5)||114!==s.charCodeAt(length-6)||112!==s.charCodeAt(length-7)||95!==s.charCodeAt(length-8)||95!==s.charCodeAt(length-9))return!1;for(var i=length-10;i>=0;i--)if(36!==s.charCodeAt(i))return!1;return!0}function strcmp(aStr1,aStr2){return aStr1===aStr2?0:null===aStr1?1:null===aStr2?-1:aStr1>aStr2?1:-1}exports.toSetString=supportsNullProto?identity:function toSetString(aStr){return isProtoString(aStr)?"$"+aStr:aStr},exports.fromSetString=supportsNullProto?identity:function fromSetString(aStr){return isProtoString(aStr)?aStr.slice(1):aStr},exports.compareByOriginalPositions=function compareByOriginalPositions(mappingA,mappingB,onlyCompareOriginal){var cmp=strcmp(mappingA.source,mappingB.source);return 0!==cmp||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)||onlyCompareOriginal||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||0!==(cmp=mappingA.generatedLine-mappingB.generatedLine)?cmp:strcmp(mappingA.name,mappingB.name)},exports.compareByGeneratedPositionsDeflated=function compareByGeneratedPositionsDeflated(mappingA,mappingB,onlyCompareGenerated){var cmp=mappingA.generatedLine-mappingB.generatedLine;return 0!==cmp||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||onlyCompareGenerated||0!==(cmp=strcmp(mappingA.source,mappingB.source))||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)?cmp:strcmp(mappingA.name,mappingB.name)},exports.compareByGeneratedPositionsInflated=function compareByGeneratedPositionsInflated(mappingA,mappingB){var cmp=mappingA.generatedLine-mappingB.generatedLine;return 0!==cmp||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||0!==(cmp=strcmp(mappingA.source,mappingB.source))||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)?cmp:strcmp(mappingA.name,mappingB.name)},exports.parseSourceMapInput=function parseSourceMapInput(str){return JSON.parse(str.replace(/^\)]}'[^\n]*\n/,""))},exports.computeSourceURL=function computeSourceURL(sourceRoot,sourceURL,sourceMapURL){if(sourceURL=sourceURL||"",sourceRoot&&("/"!==sourceRoot[sourceRoot.length-1]&&"/"!==sourceURL[0]&&(sourceRoot+="/"),sourceURL=sourceRoot+sourceURL),sourceMapURL){var parsed=urlParse(sourceMapURL);if(!parsed)throw new Error("sourceMapURL could not be parsed");if(parsed.path){var index=parsed.path.lastIndexOf("/");index>=0&&(parsed.path=parsed.path.substring(0,index+1))}sourceURL=join(urlGenerate(parsed),sourceURL)}return normalize(sourceURL)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _types=__webpack_require__(363);Object.keys(_types).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_types[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _types[key]}}))}));var _inspectValue=__webpack_require__(1165);Object.keys(_inspectValue).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_inspectValue[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _inspectValue[key]}}))}))},,function(module,exports,__webpack_require__){module.exports=function(){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}var trimLeft=/^\s+/,trimRight=/\s+$/;function tinycolor(color,opts){if(opts=opts||{},(color=color||"")instanceof tinycolor)return color;if(!(this instanceof tinycolor))return new tinycolor(color,opts);var rgb=function inputToRGB(color){var rgb={r:0,g:0,b:0},a=1,s=null,v=null,l=null,ok=!1,format=!1;return"string"==typeof color&&(color=function stringInputToObject(color){color=color.replace(trimLeft,"").replace(trimRight,"").toLowerCase();var match,named=!1;if(names[color])color=names[color],named=!0;else if("transparent"==color)return{r:0,g:0,b:0,a:0,format:"name"};return(match=matchers.rgb.exec(color))?{r:match[1],g:match[2],b:match[3]}:(match=matchers.rgba.exec(color))?{r:match[1],g:match[2],b:match[3],a:match[4]}:(match=matchers.hsl.exec(color))?{h:match[1],s:match[2],l:match[3]}:(match=matchers.hsla.exec(color))?{h:match[1],s:match[2],l:match[3],a:match[4]}:(match=matchers.hsv.exec(color))?{h:match[1],s:match[2],v:match[3]}:(match=matchers.hsva.exec(color))?{h:match[1],s:match[2],v:match[3],a:match[4]}:(match=matchers.hex8.exec(color))?{r:parseIntFromHex(match[1]),g:parseIntFromHex(match[2]),b:parseIntFromHex(match[3]),a:convertHexToDecimal(match[4]),format:named?"name":"hex8"}:(match=matchers.hex6.exec(color))?{r:parseIntFromHex(match[1]),g:parseIntFromHex(match[2]),b:parseIntFromHex(match[3]),format:named?"name":"hex"}:(match=matchers.hex4.exec(color))?{r:parseIntFromHex(match[1]+""+match[1]),g:parseIntFromHex(match[2]+""+match[2]),b:parseIntFromHex(match[3]+""+match[3]),a:convertHexToDecimal(match[4]+""+match[4]),format:named?"name":"hex8"}:!!(match=matchers.hex3.exec(color))&&{r:parseIntFromHex(match[1]+""+match[1]),g:parseIntFromHex(match[2]+""+match[2]),b:parseIntFromHex(match[3]+""+match[3]),format:named?"name":"hex"}}(color)),"object"==_typeof(color)&&(isValidCSSUnit(color.r)&&isValidCSSUnit(color.g)&&isValidCSSUnit(color.b)?(rgb=function rgbToRgb(r,g,b){return{r:255*bound01(r,255),g:255*bound01(g,255),b:255*bound01(b,255)}}(color.r,color.g,color.b),ok=!0,format="%"===String(color.r).substr(-1)?"prgb":"rgb"):isValidCSSUnit(color.h)&&isValidCSSUnit(color.s)&&isValidCSSUnit(color.v)?(s=convertToPercentage(color.s),v=convertToPercentage(color.v),rgb=function hsvToRgb(h,s,v){h=6*bound01(h,360),s=bound01(s,100),v=bound01(v,100);var i=Math.floor(h),f=h-i,p=v*(1-s),q=v*(1-f*s),t=v*(1-(1-f)*s),mod=i%6;return{r:255*[v,q,p,p,t,v][mod],g:255*[t,v,v,q,p,p][mod],b:255*[p,p,t,v,v,q][mod]}}(color.h,s,v),ok=!0,format="hsv"):isValidCSSUnit(color.h)&&isValidCSSUnit(color.s)&&isValidCSSUnit(color.l)&&(s=convertToPercentage(color.s),l=convertToPercentage(color.l),rgb=function hslToRgb(h,s,l){var r,g,b;function hue2rgb(p,q,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?p+6*(q-p)*t:t<.5?q:t<2/3?p+(q-p)*(2/3-t)*6:p}if(h=bound01(h,360),s=bound01(s,100),l=bound01(l,100),0===s)r=g=b=l;else{var q=l<.5?l*(1+s):l+s-l*s,p=2*l-q;r=hue2rgb(p,q,h+1/3),g=hue2rgb(p,q,h),b=hue2rgb(p,q,h-1/3)}return{r:255*r,g:255*g,b:255*b}}(color.h,s,l),ok=!0,format="hsl"),color.hasOwnProperty("a")&&(a=color.a)),a=boundAlpha(a),{ok:ok,format:color.format||format,r:Math.min(255,Math.max(rgb.r,0)),g:Math.min(255,Math.max(rgb.g,0)),b:Math.min(255,Math.max(rgb.b,0)),a:a}}(color);this._originalInput=color,this._r=rgb.r,this._g=rgb.g,this._b=rgb.b,this._a=rgb.a,this._roundA=Math.round(100*this._a)/100,this._format=opts.format||rgb.format,this._gradientType=opts.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=rgb.ok}function rgbToHsl(r,g,b){r=bound01(r,255),g=bound01(g,255),b=bound01(b,255);var h,s,max=Math.max(r,g,b),min=Math.min(r,g,b),l=(max+min)/2;if(max==min)h=s=0;else{var d=max-min;switch(s=l>.5?d/(2-max-min):d/(max+min),max){case r:h=(g-b)/d+(g>1)+720)%360;--results;)hsl.h=(hsl.h+part)%360,ret.push(tinycolor(hsl));return ret}function _monochromatic(color,results){results=results||6;for(var hsv=tinycolor(color).toHsv(),h=hsv.h,s=hsv.s,v=hsv.v,ret=[],modification=1/results;results--;)ret.push(tinycolor({h:h,s:s,v:v})),v=(v+modification)%1;return ret}tinycolor.prototype={isDark:function isDark(){return this.getBrightness()<128},isLight:function isLight(){return!this.isDark()},isValid:function isValid(){return this._ok},getOriginalInput:function getOriginalInput(){return this._originalInput},getFormat:function getFormat(){return this._format},getAlpha:function getAlpha(){return this._a},getBrightness:function getBrightness(){var rgb=this.toRgb();return(299*rgb.r+587*rgb.g+114*rgb.b)/1e3},getLuminance:function getLuminance(){var RsRGB,GsRGB,BsRGB,rgb=this.toRgb();return RsRGB=rgb.r/255,GsRGB=rgb.g/255,BsRGB=rgb.b/255,.2126*(RsRGB<=.03928?RsRGB/12.92:Math.pow((RsRGB+.055)/1.055,2.4))+.7152*(GsRGB<=.03928?GsRGB/12.92:Math.pow((GsRGB+.055)/1.055,2.4))+.0722*(BsRGB<=.03928?BsRGB/12.92:Math.pow((BsRGB+.055)/1.055,2.4))},setAlpha:function setAlpha(value){return this._a=boundAlpha(value),this._roundA=Math.round(100*this._a)/100,this},toHsv:function toHsv(){var hsv=rgbToHsv(this._r,this._g,this._b);return{h:360*hsv.h,s:hsv.s,v:hsv.v,a:this._a}},toHsvString:function toHsvString(){var hsv=rgbToHsv(this._r,this._g,this._b),h=Math.round(360*hsv.h),s=Math.round(100*hsv.s),v=Math.round(100*hsv.v);return 1==this._a?"hsv("+h+", "+s+"%, "+v+"%)":"hsva("+h+", "+s+"%, "+v+"%, "+this._roundA+")"},toHsl:function toHsl(){var hsl=rgbToHsl(this._r,this._g,this._b);return{h:360*hsl.h,s:hsl.s,l:hsl.l,a:this._a}},toHslString:function toHslString(){var hsl=rgbToHsl(this._r,this._g,this._b),h=Math.round(360*hsl.h),s=Math.round(100*hsl.s),l=Math.round(100*hsl.l);return 1==this._a?"hsl("+h+", "+s+"%, "+l+"%)":"hsla("+h+", "+s+"%, "+l+"%, "+this._roundA+")"},toHex:function toHex(allow3Char){return rgbToHex(this._r,this._g,this._b,allow3Char)},toHexString:function toHexString(allow3Char){return"#"+this.toHex(allow3Char)},toHex8:function toHex8(allow4Char){return function rgbaToHex(r,g,b,a,allow4Char){var hex=[pad2(Math.round(r).toString(16)),pad2(Math.round(g).toString(16)),pad2(Math.round(b).toString(16)),pad2(convertDecimalToHex(a))];return allow4Char&&hex[0].charAt(0)==hex[0].charAt(1)&&hex[1].charAt(0)==hex[1].charAt(1)&&hex[2].charAt(0)==hex[2].charAt(1)&&hex[3].charAt(0)==hex[3].charAt(1)?hex[0].charAt(0)+hex[1].charAt(0)+hex[2].charAt(0)+hex[3].charAt(0):hex.join("")}(this._r,this._g,this._b,this._a,allow4Char)},toHex8String:function toHex8String(allow4Char){return"#"+this.toHex8(allow4Char)},toRgb:function toRgb(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function toRgbString(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function toPercentageRgb(){return{r:Math.round(100*bound01(this._r,255))+"%",g:Math.round(100*bound01(this._g,255))+"%",b:Math.round(100*bound01(this._b,255))+"%",a:this._a}},toPercentageRgbString:function toPercentageRgbString(){return 1==this._a?"rgb("+Math.round(100*bound01(this._r,255))+"%, "+Math.round(100*bound01(this._g,255))+"%, "+Math.round(100*bound01(this._b,255))+"%)":"rgba("+Math.round(100*bound01(this._r,255))+"%, "+Math.round(100*bound01(this._g,255))+"%, "+Math.round(100*bound01(this._b,255))+"%, "+this._roundA+")"},toName:function toName(){return 0===this._a?"transparent":!(this._a<1)&&(hexNames[rgbToHex(this._r,this._g,this._b,!0)]||!1)},toFilter:function toFilter(secondColor){var hex8String="#"+rgbaToArgbHex(this._r,this._g,this._b,this._a),secondHex8String=hex8String,gradientType=this._gradientType?"GradientType = 1, ":"";if(secondColor){var s=tinycolor(secondColor);secondHex8String="#"+rgbaToArgbHex(s._r,s._g,s._b,s._a)}return"progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")"},toString:function toString(format){var formatSet=!!format;format=format||this._format;var formattedString=!1,hasAlpha=this._a<1&&this._a>=0;return formatSet||!hasAlpha||"hex"!==format&&"hex6"!==format&&"hex3"!==format&&"hex4"!==format&&"hex8"!==format&&"name"!==format?("rgb"===format&&(formattedString=this.toRgbString()),"prgb"===format&&(formattedString=this.toPercentageRgbString()),"hex"!==format&&"hex6"!==format||(formattedString=this.toHexString()),"hex3"===format&&(formattedString=this.toHexString(!0)),"hex4"===format&&(formattedString=this.toHex8String(!0)),"hex8"===format&&(formattedString=this.toHex8String()),"name"===format&&(formattedString=this.toName()),"hsl"===format&&(formattedString=this.toHslString()),"hsv"===format&&(formattedString=this.toHsvString()),formattedString||this.toHexString()):"name"===format&&0===this._a?this.toName():this.toRgbString()},clone:function clone(){return tinycolor(this.toString())},_applyModification:function _applyModification(fn,args){var color=fn.apply(null,[this].concat([].slice.call(args)));return this._r=color._r,this._g=color._g,this._b=color._b,this.setAlpha(color._a),this},lighten:function lighten(){return this._applyModification(_lighten,arguments)},brighten:function brighten(){return this._applyModification(_brighten,arguments)},darken:function darken(){return this._applyModification(_darken,arguments)},desaturate:function desaturate(){return this._applyModification(_desaturate,arguments)},saturate:function saturate(){return this._applyModification(_saturate,arguments)},greyscale:function greyscale(){return this._applyModification(_greyscale,arguments)},spin:function spin(){return this._applyModification(_spin,arguments)},_applyCombination:function _applyCombination(fn,args){return fn.apply(null,[this].concat([].slice.call(args)))},analogous:function analogous(){return this._applyCombination(_analogous,arguments)},complement:function complement(){return this._applyCombination(_complement,arguments)},monochromatic:function monochromatic(){return this._applyCombination(_monochromatic,arguments)},splitcomplement:function splitcomplement(){return this._applyCombination(_splitcomplement,arguments)},triad:function triad(){return this._applyCombination(polyad,[3])},tetrad:function tetrad(){return this._applyCombination(polyad,[4])}},tinycolor.fromRatio=function(color,opts){if("object"==_typeof(color)){var newColor={};for(var i in color)color.hasOwnProperty(i)&&(newColor[i]="a"===i?color[i]:convertToPercentage(color[i]));color=newColor}return tinycolor(color,opts)},tinycolor.equals=function(color1,color2){return!(!color1||!color2)&&tinycolor(color1).toRgbString()==tinycolor(color2).toRgbString()},tinycolor.random=function(){return tinycolor.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},tinycolor.mix=function(color1,color2,amount){amount=0===amount?0:amount||50;var rgb1=tinycolor(color1).toRgb(),rgb2=tinycolor(color2).toRgb(),p=amount/100;return tinycolor({r:(rgb2.r-rgb1.r)*p+rgb1.r,g:(rgb2.g-rgb1.g)*p+rgb1.g,b:(rgb2.b-rgb1.b)*p+rgb1.b,a:(rgb2.a-rgb1.a)*p+rgb1.a})},tinycolor.readability=function(color1,color2){var c1=tinycolor(color1),c2=tinycolor(color2);return(Math.max(c1.getLuminance(),c2.getLuminance())+.05)/(Math.min(c1.getLuminance(),c2.getLuminance())+.05)},tinycolor.isReadable=function(color1,color2,wcag2){var wcag2Parms,out,readability=tinycolor.readability(color1,color2);switch(out=!1,(wcag2Parms=function validateWCAG2Parms(parms){var level,size;return level=((parms=parms||{level:"AA",size:"small"}).level||"AA").toUpperCase(),size=(parms.size||"small").toLowerCase(),"AA"!==level&&"AAA"!==level&&(level="AA"),"small"!==size&&"large"!==size&&(size="small"),{level:level,size:size}}(wcag2)).level+wcag2Parms.size){case"AAsmall":case"AAAlarge":out=readability>=4.5;break;case"AAlarge":out=readability>=3;break;case"AAAsmall":out=readability>=7}return out},tinycolor.mostReadable=function(baseColor,colorList,args){var readability,includeFallbackColors,level,size,bestColor=null,bestScore=0;includeFallbackColors=(args=args||{}).includeFallbackColors,level=args.level,size=args.size;for(var i=0;ibestScore&&(bestScore=readability,bestColor=tinycolor(colorList[i]));return tinycolor.isReadable(baseColor,bestColor,{level:level,size:size})||!includeFallbackColors?bestColor:(args.includeFallbackColors=!1,tinycolor.mostReadable(baseColor,["#fff","#000"],args))};var names=tinycolor.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},hexNames=tinycolor.hexNames=function flip(o){var flipped={};for(var i in o)o.hasOwnProperty(i)&&(flipped[o[i]]=i);return flipped}(names);function boundAlpha(a){return a=parseFloat(a),(isNaN(a)||a<0||a>1)&&(a=1),a}function bound01(n,max){(function isOnePointZero(n){return"string"==typeof n&&-1!=n.indexOf(".")&&1===parseFloat(n)})(n)&&(n="100%");var processPercent=function isPercentage(n){return"string"==typeof n&&-1!=n.indexOf("%")}(n);return n=Math.min(max,Math.max(0,parseFloat(n))),processPercent&&(n=parseInt(n*max,10)/100),Math.abs(n-max)<1e-6?1:n%max/parseFloat(max)}function clamp01(val){return Math.min(1,Math.max(0,val))}function parseIntFromHex(val){return parseInt(val,16)}function pad2(c){return 1==c.length?"0"+c:""+c}function convertToPercentage(n){return n<=1&&(n=100*n+"%"),n}function convertDecimalToHex(d){return Math.round(255*parseFloat(d)).toString(16)}function convertHexToDecimal(h){return parseIntFromHex(h)/255}var CSS_UNIT,PERMISSIVE_MATCH3,PERMISSIVE_MATCH4,matchers=(PERMISSIVE_MATCH3="[\\s|\\(]+("+(CSS_UNIT="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+CSS_UNIT+")[,|\\s]+("+CSS_UNIT+")\\s*\\)?",PERMISSIVE_MATCH4="[\\s|\\(]+("+CSS_UNIT+")[,|\\s]+("+CSS_UNIT+")[,|\\s]+("+CSS_UNIT+")[,|\\s]+("+CSS_UNIT+")\\s*\\)?",{CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function isValidCSSUnit(color){return!!matchers.CSS_UNIT.exec(color)}return tinycolor}()},function(module,exports){var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex1)for(var i=1;i0&&(!re.multiline||re.multiline&&"\n"!==charAt(str,re.lastIndex-1))&&(source="(?: "+source+")",strCopy=" "+strCopy,charsAdded++),reCopy=new RegExp("^(?:"+source+")",flags)),NPCG_INCLUDED&&(reCopy=new RegExp("^"+source+"$(?!\\s)",flags)),UPDATES_LAST_INDEX_WRONG&&(lastIndex=re.lastIndex),match=call(nativeExec,sticky?reCopy:re,strCopy),sticky?match?(match.input=stringSlice(match.input,charsAdded),match[0]=stringSlice(match[0],charsAdded),match.index=re.lastIndex,re.lastIndex+=match[0].length):re.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&match&&(re.lastIndex=re.global?match.index+match[0].length:lastIndex),NPCG_INCLUDED&&match&&match.length>1&&call(nativeReplace,match[0],reCopy,(function(){for(i=1;i1?arguments[1]:void 0,that.length)),search=toString(searchString);return nativeStartsWith?nativeStartsWith(that,search,index):stringSlice(that,index,index+search.length)===search}})},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(312),isLength=__webpack_require__(317);module.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}},function(module,exports,__webpack_require__){var listCacheClear=__webpack_require__(822),listCacheDelete=__webpack_require__(823),listCacheGet=__webpack_require__(824),listCacheHas=__webpack_require__(825),listCacheSet=__webpack_require__(826);function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var LinkInner=_theming.styled.span((function(_ref){return _ref.withArrow?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{}}),(function(_ref2){return _ref2.containsIcon?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}})),A=_theming.styled.a((function(_ref3){var theme=_ref3.theme;return{display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:theme.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:(0,_polished.darken)(.07,theme.color.secondary),"svg path":{fill:(0,_polished.darken)(.07,theme.color.secondary)}},"&:active":{color:(0,_polished.darken)(.1,theme.color.secondary),"svg path":{fill:(0,_polished.darken)(.1,theme.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:theme.color.secondary}}}}),(function(_ref4){var colors,theme=_ref4.theme,secondary=_ref4.secondary,tertiary=_ref4.tertiary;return secondary&&(colors=[theme.color.mediumdark,theme.color.dark,theme.color.darker]),tertiary&&(colors=[theme.color.dark,theme.color.darkest,theme.color.mediumdark]),colors?{color:colors[0],"svg path":{fill:colors[0]},"&:hover":{color:colors[1],"svg path":{fill:colors[1]}},"&:active":{color:colors[2],"svg path":{fill:colors[2]}}}:{}}),(function(_ref5){return _ref5.nochrome?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{}}),(function(_ref6){var theme=_ref6.theme;return _ref6.inverse?{color:theme.color.lightest,"svg path":{fill:theme.color.lightest},"&:hover":{color:theme.color.lighter,"svg path":{fill:theme.color.lighter}},"&:active":{color:theme.color.light,"svg path":{fill:theme.color.light}}}:{}}),(function(_ref7){return _ref7.isButton?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}})),Link=function Link(_ref8){var cancel=_ref8.cancel,children=_ref8.children,onClick=_ref8.onClick,withArrow=_ref8.withArrow,containsIcon=_ref8.containsIcon,className=_ref8.className,rest=_objectWithoutProperties(_ref8,["cancel","children","onClick","withArrow","containsIcon","className"]);return _react.default.createElement(A,_extends({},rest,{onClick:cancel?function(e){return function cancelled(e,cb){(function isPlainLeftClick(e){return!(0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)})(e)&&(e.preventDefault(),cb(e))}(e,onClick)}:onClick,className:className}),_react.default.createElement(LinkInner,{withArrow:withArrow,containsIcon:containsIcon},children,withArrow&&_react.default.createElement(_icon.Icons,{icon:"arrowright"})))};exports.Link=Link,Link.displayName="Link",Link.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:function onClick(){},withArrow:!1,containsIcon:!1}},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(31),__webpack_require__(22),__webpack_require__(21),__webpack_require__(18),__webpack_require__(68),__webpack_require__(14),__webpack_require__(27),__webpack_require__(8),__webpack_require__(3),__webpack_require__(54),__webpack_require__(92),__webpack_require__(11),__webpack_require__(9),__webpack_require__(116),__webpack_require__(24),__webpack_require__(19),__webpack_require__(190),__webpack_require__(20),__webpack_require__(341),Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"createSyntaxHighlighterElement",{enumerable:!0,get:function get(){return _createElement.default}}),exports.SyntaxHighlighter=void 0,__webpack_require__(160);var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_clientLogger=__webpack_require__(53),_theming=__webpack_require__(10),_global=__webpack_require__(45),_memoizerific=_interopRequireDefault(__webpack_require__(108)),_jsx=_interopRequireDefault(__webpack_require__(938)),_bash=_interopRequireDefault(__webpack_require__(939)),_css=_interopRequireDefault(__webpack_require__(941)),_jsExtras=_interopRequireDefault(__webpack_require__(942)),_json=_interopRequireDefault(__webpack_require__(944)),_graphql=_interopRequireDefault(__webpack_require__(946)),_markup=_interopRequireDefault(__webpack_require__(948)),_markdown=_interopRequireDefault(__webpack_require__(949)),_yaml=_interopRequireDefault(__webpack_require__(951)),_tsx=_interopRequireDefault(__webpack_require__(953)),_typescript=_interopRequireDefault(__webpack_require__(955)),_prismLight=_interopRequireDefault(__webpack_require__(956)),_createElement=_interopRequireDefault(__webpack_require__(500)),_ActionBar=__webpack_require__(344),_ScrollArea=__webpack_require__(345),_formatter=__webpack_require__(996);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}exports.assertIsFn=function assertIsFn(val){if("function"!=typeof val)throw new Error("Expected story function, got: ".concat(val));return val};exports.AddContext=function AddContext(props){var children=props.children,rest=_objectWithoutProperties(props,["children"]),parentContext=_react.default.useContext(_DocsContext.DocsContext);return _react.default.createElement(_DocsContext.DocsContext.Provider,{value:Object.assign({},parentContext,rest)},children)};function navigate(url){_addons.default.getChannel().emit(_coreEvents.NAVIGATE_URL,url)}exports.CodeOrSourceMdx=function CodeOrSourceMdx(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);if("string"!=typeof className&&("string"!=typeof children||!children.match(/[\n\r]/g)))return _react.default.createElement(_html.Code,null,children);var language=className&&className.split("-");return _react.default.createElement(_components.Source,_extends({language:language&&language[1]||"plaintext",format:!1,code:children},rest))};var A=_html.components.a,AnchorInPage=function AnchorInPage(_ref2){var hash=_ref2.hash,children=_ref2.children;return _react.default.createElement(A,{href:hash,target:"_self",onClick:function onClick(event){var id=hash.substring(1);_global.document.getElementById(id)&&navigate(hash)}},children)};exports.AnchorMdx=function AnchorMdx(props){var href=props.href,target=props.target,children=props.children,rest=_objectWithoutProperties(props,["href","target","children"]);if(href){if(href.startsWith("#"))return _react.default.createElement(AnchorInPage,{hash:href},children);if("_blank"!==target)return _react.default.createElement(A,_extends({href:href,onClick:function onClick(event){event.preventDefault(),navigate(href)},target:target},rest),children)}return _react.default.createElement(A,props)};var SUPPORTED_MDX_HEADERS=["h1","h2","h3","h4","h5","h6"],OcticonHeaders=SUPPORTED_MDX_HEADERS.reduce((function(acc,headerType){return Object.assign({},acc,_defineProperty({},headerType,(0,_theming.styled)(_html.components[headerType])({"& svg":{visibility:"hidden"},"&:hover svg":{visibility:"visible"}})))}),{}),OcticonAnchor=_theming.styled.a((function(){return{float:"left",paddingRight:"4px",marginLeft:"-20px"}})),HeaderWithOcticonAnchor=function HeaderWithOcticonAnchor(_ref3){var as=_ref3.as,id=_ref3.id,children=_ref3.children,rest=_objectWithoutProperties(_ref3,["as","id","children"]),OcticonHeader=OcticonHeaders[as],hash="#".concat(id);return _react.default.createElement(OcticonHeader,_extends({id:id},rest),_react.default.createElement(OcticonAnchor,{"aria-hidden":"true",href:hash,tabIndex:-1,target:"_self",onClick:function onClick(event){_global.document.getElementById(id)&&navigate(hash)}},_react.default.createElement("svg",{viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16","aria-hidden":"true"},_react.default.createElement("path",{fillRule:"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}))),children)},HeaderMdx=function HeaderMdx(props){var as=props.as,id=props.id,children=props.children,rest=_objectWithoutProperties(props,["as","id","children"]);if(id)return _react.default.createElement(HeaderWithOcticonAnchor,_extends({as:as,id:id},rest),children);var Header=_html.components[as];return _react.default.createElement(Header,props)};exports.HeaderMdx=HeaderMdx;var HeadersMdx=SUPPORTED_MDX_HEADERS.reduce((function(acc,headerType){return Object.assign({},acc,_defineProperty({},headerType,(function(props){return _react.default.createElement(HeaderMdx,_extends({as:headerType},props))})))}),{});exports.HeadersMdx=HeadersMdx},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _captions=__webpack_require__(194);Object.keys(_captions).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_captions[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _captions[key]}}))}));var _isHtmlTag=__webpack_require__(362);Object.keys(_isHtmlTag).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_isHtmlTag[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _isHtmlTag[key]}}))}));var _generateCode=__webpack_require__(252);Object.keys(_generateCode).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_generateCode[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _generateCode[key]}}))}));var _componentTypes=__webpack_require__(1164);Object.keys(_componentTypes).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_componentTypes[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _componentTypes[key]}}))}))},function(module,exports,__webpack_require__){"use strict";__webpack_require__(14),__webpack_require__(3),__webpack_require__(30),__webpack_require__(1152),__webpack_require__(62),__webpack_require__(225),Object.defineProperty(exports,"__esModule",{value:!0}),exports.generateCode=generateCode,exports.generateObjectCode=function generateObjectCode(ast){var compact=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return compact?generateCompactObjectCode(ast):generateCode(ast)},exports.generateArrayCode=function generateArrayCode(ast){var compact=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return compact?generateCompactArrayCode(ast):generateMultilineArrayCode(ast)};var _escodegen=__webpack_require__(1153),_tsDedent=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(58));var BASIC_OPTIONS={format:{indent:{style:" "},semicolons:!1}},COMPACT_OPTIONS=Object.assign({},BASIC_OPTIONS,{format:{newline:""}}),PRETTY_OPTIONS=Object.assign({},BASIC_OPTIONS);function generateCode(ast){var compact=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,_escodegen.generate)(ast,compact?COMPACT_OPTIONS:PRETTY_OPTIONS)}function generateCompactObjectCode(ast){var result=generateCode(ast,!0);return result.endsWith(" }")||(result="".concat(result.slice(0,-1)," }")),result}function generateMultilineArrayCode(ast){var result=generateCode(ast);return result.endsWith(" }]")&&(result=(0,_tsDedent.default)(result)),result}function generateCompactArrayCode(ast){var result=generateCode(ast,!0);return result.startsWith("[ ")&&(result=result.replace("[ ","[")),result}},function(module,exports,__webpack_require__){"use strict";var has,$exec,isRegexMarker,badStringifier,callBound=__webpack_require__(33),hasToStringTag=__webpack_require__(162)();if(hasToStringTag){has=callBound("Object.prototype.hasOwnProperty"),$exec=callBound("RegExp.prototype.exec"),isRegexMarker={};var throwRegexMarker=function(){throw isRegexMarker};badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker},"symbol"==typeof Symbol.toPrimitive&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker)}var $toString=callBound("Object.prototype.toString"),gOPD=Object.getOwnPropertyDescriptor;module.exports=hasToStringTag?function isRegex(value){if(!value||"object"!=typeof value)return!1;var descriptor=gOPD(value,"lastIndex");if(!(descriptor&&has(descriptor,"value")))return!1;try{$exec(value,badStringifier)}catch(e){return e===isRegexMarker}}:function isRegex(value){return!(!value||"object"!=typeof value&&"function"!=typeof value)&&"[object RegExp]"===$toString(value)}},,function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__.a=function memoize(fn){var cache={};return function(arg){return void 0===cache[arg]&&(cache[arg]=fn(arg)),cache[arg]}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__.a=function weakMemoize(func){var cache=new WeakMap;return function(arg){if(cache.has(arg))return cache.get(arg);var ret=func(arg);return cache.set(arg,ret),ret}}},function(module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}__webpack_require__.d(__webpack_exports__,"a",(function(){return _objectWithoutPropertiesLoose}))},function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;__webpack_exports__.a=freeGlobal}).call(this,__webpack_require__(64))},,function(module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}function _toPropertyKey(arg){var key=function _toPrimitive(input,hint){if("object"!==_typeof(input)||null===input)return input;var prim=input[Symbol.toPrimitive];if(void 0!==prim){var res=prim.call(input,hint||"default");if("object"!==_typeof(res))return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===hint?String:Number)(input)}(arg,"string");return"symbol"===_typeof(key)?key:String(key)}function _defineProperty(obj,key,value){return(key=_toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,"a",(function(){return _defineProperty}))},,function(module,exports,__webpack_require__){"use strict";var test={foo:{}},$Object=Object;module.exports=function hasProto(){return{__proto__:test}.foo===test.foo&&!({__proto__:null}instanceof $Object)}},function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__(584);module.exports=Function.prototype.bind||implementation},function(module,exports,__webpack_require__){"use strict";var functionsHaveNames=function functionsHaveNames(){return"string"==typeof function f(){}.name},gOPD=Object.getOwnPropertyDescriptor;if(gOPD)try{gOPD([],"length")}catch(e){gOPD=null}functionsHaveNames.functionsHaveConfigurableNames=function functionsHaveConfigurableNames(){if(!functionsHaveNames()||!gOPD)return!1;var desc=gOPD((function(){}),"name");return!!desc&&!!desc.configurable};var $bind=Function.prototype.bind;functionsHaveNames.boundFunctionsHaveNames=function boundFunctionsHaveNames(){return functionsHaveNames()&&"function"==typeof $bind&&""!==function f(){}.bind().name},module.exports=functionsHaveNames},function(module,exports,__webpack_require__){"use strict";var ToNumber=__webpack_require__(379),truncate=__webpack_require__(384),$isNaN=__webpack_require__(136),$isFinite=__webpack_require__(201);module.exports=function ToIntegerOrInfinity(value){var number=ToNumber(value);return $isNaN(number)||0===number?0:$isFinite(number)?truncate(number):number}},function(module,exports,__webpack_require__){"use strict";module.exports=Number.MAX_SAFE_INTEGER||9007199254740991},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),has=__webpack_require__(85),$TypeError=GetIntrinsic("%TypeError%");module.exports=function IsPropertyDescriptor(ES,Desc){if("Object"!==ES.Type(Desc))return!1;var allowed={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var key in Desc)if(has(Desc,key)&&!allowed[key])return!1;if(ES.IsDataDescriptor(Desc)&&ES.IsAccessorDescriptor(Desc))throw new $TypeError("Property Descriptors may not be both accessor and data descriptors");return!0}},function(module,exports,__webpack_require__){"use strict";module.exports=function ToBoolean(value){return!!value}},function(module,exports,__webpack_require__){"use strict";var hasPropertyDescriptors=__webpack_require__(200),GetIntrinsic=__webpack_require__(7),$defineProperty=hasPropertyDescriptors()&&GetIntrinsic("%Object.defineProperty%",!0),hasArrayLengthDefineBug=hasPropertyDescriptors.hasArrayLengthDefineBug(),isArray=hasArrayLengthDefineBug&&__webpack_require__(388),$isEnumerable=__webpack_require__(33)("Object.prototype.propertyIsEnumerable");module.exports=function DefineOwnProperty(IsDataDescriptor,SameValue,FromPropertyDescriptor,O,P,desc){if(!$defineProperty){if(!IsDataDescriptor(desc))return!1;if(!desc["[[Configurable]]"]||!desc["[[Writable]]"])return!1;if(P in O&&$isEnumerable(O,P)!==!!desc["[[Enumerable]]"])return!1;var V=desc["[[Value]]"];return O[P]=V,SameValue(O[P],V)}return hasArrayLengthDefineBug&&"length"===P&&"[[Value]]"in desc&&isArray(O)&&O.length!==desc["[[Value]]"]?(O.length=desc["[[Value]]"],O.length===desc["[[Value]]"]):($defineProperty(O,P,FromPropertyDescriptor(desc)),!0)}},function(module,exports,__webpack_require__){"use strict";var assertRecord=__webpack_require__(110),fromPropertyDescriptor=__webpack_require__(623),Type=__webpack_require__(28);module.exports=function FromPropertyDescriptor(Desc){return void 0!==Desc&&assertRecord(Type,"Property Descriptor","Desc",Desc),fromPropertyDescriptor(Desc)}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),IsPropertyKey=__webpack_require__(76),Type=__webpack_require__(28);module.exports=function HasProperty(O,P){if("Object"!==Type(O))throw new $TypeError("Assertion failed: `O` must be an Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: `P` must be a Property Key");return P in O}},function(module,exports,__webpack_require__){"use strict";module.exports=function requirePromise(){if("function"!=typeof Promise)throw new TypeError("`Promise.prototype.finally` requires a global `Promise` be available.")}},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),callBind=__webpack_require__(119),$resolve=GetIntrinsic("%Promise.resolve%",!0),$PromiseResolve=$resolve&&callBind($resolve);module.exports=function PromiseResolve(C,x){if(!$PromiseResolve)throw new SyntaxError("This environment does not support Promises.");return $PromiseResolve(C,x)}},function(module,exports,__webpack_require__){"use strict";var define=__webpack_require__(376),hasDescriptors=__webpack_require__(200)(),functionsHaveConfigurableNames=__webpack_require__(264).functionsHaveConfigurableNames(),$TypeError=TypeError;module.exports=function setFunctionName(fn,name){if("function"!=typeof fn)throw new $TypeError("`fn` is not a function");var loose=arguments.length>2&&!!arguments[2];return loose&&!functionsHaveConfigurableNames||(hasDescriptors?define(fn,"name",name,!0,!0):define(fn,"name",name)),fn}},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),$species=GetIntrinsic("%Symbol.species%",!0),$TypeError=GetIntrinsic("%TypeError%"),ArrayCreate=__webpack_require__(641),Get=__webpack_require__(65),IsArray=__webpack_require__(166),IsConstructor=__webpack_require__(395),Type=__webpack_require__(28),isInteger=__webpack_require__(203);module.exports=function ArraySpeciesCreate(originalArray,length){if(!isInteger(length)||length<0)throw new $TypeError("Assertion failed: length must be an integer >= 0");if(!IsArray(originalArray))return ArrayCreate(length);var C=Get(originalArray,"constructor");if($species&&"Object"===Type(C)&&null===(C=Get(C,$species))&&(C=void 0),void 0===C)return ArrayCreate(length);if(!IsConstructor(C))throw new $TypeError("C must be a constructor");return new C(length)}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),CreateDataProperty=__webpack_require__(386),IsPropertyKey=__webpack_require__(76),Type=__webpack_require__(28);module.exports=function CreateDataPropertyOrThrow(O,P,V){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");if(!CreateDataProperty(O,P,V))throw new $TypeError("unable to create data property")}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),Type=__webpack_require__(28);module.exports=function CreateIterResultObject(value,done){if("Boolean"!==Type(done))throw new $TypeError("Assertion failed: Type(done) is not Boolean");return{value:value,done:done}}},function(module,exports,__webpack_require__){"use strict";module.exports=function requirePromise(){if("function"!=typeof Promise)throw new TypeError("`Promise.allSettled` requires a global `Promise` be available.")}},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(23),defineGlobalProperty=__webpack_require__(280),store=global["__core-js_shared__"]||defineGlobalProperty("__core-js_shared__",{});module.exports=store},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(23),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value:value,configurable:!0,writable:!0})}catch(error){global[key]=value}return value}},function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(16),isCallable=__webpack_require__(34),store=__webpack_require__(279),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)}),module.exports=store.inspectSource},function(module,exports,__webpack_require__){"use strict";var toIndexedObject=__webpack_require__(78),toAbsoluteIndex=__webpack_require__(210),lengthOfArrayLike=__webpack_require__(97),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},function(module,exports,__webpack_require__){"use strict";module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(module,exports,__webpack_require__){"use strict";var arraySpeciesConstructor=__webpack_require__(707);module.exports=function(originalArray,length){return new(arraySpeciesConstructor(originalArray))(0===length?0:length)}},function(module,exports,__webpack_require__){"use strict";var test={};test[__webpack_require__(32)("toStringTag")]="z",module.exports="[object z]"===String(test)},function(module,exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(35),V8_PROTOTYPE_DEFINE_BUG=__webpack_require__(420),definePropertyModule=__webpack_require__(57),anObject=__webpack_require__(47),toIndexedObject=__webpack_require__(78),objectKeys=__webpack_require__(176);exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var key,props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(23);module.exports=global},function(module,exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__(32),create=__webpack_require__(104),defineProperty=__webpack_require__(57).f,UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;void 0===ArrayPrototype[UNSCOPABLES]&&defineProperty(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)}),module.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),call=__webpack_require__(38),IS_PURE=__webpack_require__(70),FunctionName=__webpack_require__(170),isCallable=__webpack_require__(34),createIteratorConstructor=__webpack_require__(434),getPrototypeOf=__webpack_require__(214),setPrototypeOf=__webpack_require__(215),setToStringTag=__webpack_require__(89),createNonEnumerableProperty=__webpack_require__(122),defineBuiltIn=__webpack_require__(61),wellKnownSymbol=__webpack_require__(32),Iterators=__webpack_require__(179),IteratorsCore=__webpack_require__(435),PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR=wellKnownSymbol("iterator"),returnThis=function(){return this};module.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);var CurrentIteratorPrototype,methods,KEY,getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case"keys":return function keys(){return new IteratorConstructor(this,KIND)};case"values":return function values(){return new IteratorConstructor(this,KIND)};case"entries":return function entries(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator="Array"===NAME&&IterablePrototype.entries||nativeIterator;if(anyNativeIterator&&(CurrentIteratorPrototype=getPrototypeOf(anyNativeIterator.call(new Iterable)))!==Object.prototype&&CurrentIteratorPrototype.next&&(IS_PURE||getPrototypeOf(CurrentIteratorPrototype)===IteratorPrototype||(setPrototypeOf?setPrototypeOf(CurrentIteratorPrototype,IteratorPrototype):isCallable(CurrentIteratorPrototype[ITERATOR])||defineBuiltIn(CurrentIteratorPrototype,ITERATOR,returnThis)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis)),PROPER_FUNCTION_NAME&&"values"===DEFAULT&&nativeIterator&&"values"!==nativeIterator.name&&(!IS_PURE&&CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty(IterablePrototype,"name","values"):(INCORRECT_VALUES_NAME=!0,defaultIterator=function values(){return call(nativeIterator,this)})),DEFAULT)if(methods={values:getIterationMethod("values"),keys:IS_SET?defaultIterator:getIterationMethod("keys"),entries:getIterationMethod("entries")},FORCED)for(KEY in methods)(BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME||!(KEY in IterablePrototype))&&defineBuiltIn(IterablePrototype,KEY,methods[KEY]);else $({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods);return IS_PURE&&!FORCED||IterablePrototype[ITERATOR]===defaultIterator||defineBuiltIn(IterablePrototype,ITERATOR,defaultIterator,{name:DEFAULT}),Iterators[NAME]=defaultIterator,methods}},function(module,exports,__webpack_require__){"use strict";module.exports=function(value,done){return{value:value,done:done}}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17);module.exports=!fails((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17),$RegExp=__webpack_require__(23).RegExp,UNSUPPORTED_Y=fails((function(){var re=$RegExp("a","y");return re.lastIndex=2,null!==re.exec("abcd")})),MISSED_STICKY=UNSUPPORTED_Y||fails((function(){return!$RegExp("a","y").sticky})),BROKEN_CARET=UNSUPPORTED_Y||fails((function(){var re=$RegExp("^r","gy");return re.lastIndex=2,null!==re.exec("str")}));module.exports={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y}},function(module,exports,__webpack_require__){"use strict";var charAt=__webpack_require__(294).charAt;module.exports=function(S,index,unicode){return index+(unicode?charAt(S,index).length:1)}},function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(16),toIntegerOrInfinity=__webpack_require__(172),toString=__webpack_require__(44),requireObjectCoercible=__webpack_require__(79),charAt=uncurryThis("".charAt),charCodeAt=uncurryThis("".charCodeAt),stringSlice=uncurryThis("".slice),createMethod=function(CONVERT_TO_STRING){return function($this,pos){var first,second,S=toString(requireObjectCoercible($this)),position=toIntegerOrInfinity(pos),size=S.length;return position<0||position>=size?CONVERT_TO_STRING?"":void 0:(first=charCodeAt(S,position))<55296||first>56319||position+1===size||(second=charCodeAt(S,position+1))<56320||second>57343?CONVERT_TO_STRING?charAt(S,position):first:CONVERT_TO_STRING?stringSlice(S,position,position+2):second-56320+(first-55296<<10)+65536}};module.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}},function(module,exports){module.exports=function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++indexarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:{},transport=_ref.transport,_ref$async=_ref.async,async=void 0!==_ref$async&&_ref$async;_classCallCheck(this,Channel),this.isAsync=void 0,this.sender=generateRandomId(),this.events={},this.data={},this.transport=void 0,this.addPeerListener=(0,_utilDeprecate.default)((function(eventName,listener){_this.addListener(eventName,listener)}),(0,_tsDedent.default)(_templateObject())),this.isAsync=async,transport&&(this.transport=transport,this.transport.setHandler((function(event){return _this.handleEvent(event)})))}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(Channel,[{key:"addListener",value:function addListener(eventName,listener){this.events[eventName]=this.events[eventName]||[],this.events[eventName].push(listener)}},{key:"emit",value:function emit(eventName){for(var _this2=this,_len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var event={type:eventName,args:args,from:this.sender},options={};args.length>=1&&args[0]&&args[0].options&&(options=args[0].options);var handler=function handler(){_this2.transport&&_this2.transport.send(event,options),_this2.handleEvent(event)};this.isAsync?setImmediate(handler):handler()}},{key:"last",value:function last(eventName){return this.data[eventName]}},{key:"eventNames",value:function eventNames(){return Object.keys(this.events)}},{key:"listenerCount",value:function listenerCount(eventName){var listeners=this.listeners(eventName);return listeners?listeners.length:0}},{key:"listeners",value:function listeners(eventName){var listeners=this.events[eventName];return listeners||void 0}},{key:"once",value:function once(eventName,listener){var onceListener=this.onceListener(eventName,listener);this.addListener(eventName,onceListener)}},{key:"removeAllListeners",value:function removeAllListeners(eventName){eventName?this.events[eventName]&&delete this.events[eventName]:this.events={}}},{key:"removeListener",value:function removeListener(eventName,listener){var listeners=this.listeners(eventName);listeners&&(this.events[eventName]=listeners.filter((function(l){return l!==listener})))}},{key:"on",value:function on(eventName,listener){this.addListener(eventName,listener)}},{key:"off",value:function off(eventName,listener){this.removeListener(eventName,listener)}},{key:"handleEvent",value:function handleEvent(event){var listeners=this.listeners(event.type);listeners&&listeners.length&&listeners.forEach((function(fn){fn.apply(event,event.args)})),this.data[event.type]=event.args}},{key:"onceListener",value:function onceListener(eventName,listener){var _this3=this,onceListener=function onceListener(){return _this3.removeListener(eventName,onceListener),listener.apply(void 0,arguments)};return onceListener}},{key:"hasTransport",get:function get(){return!!this.transport}}]),Channel}();exports.Channel=Channel;var _default=Channel;exports.default=_default}).call(this,__webpack_require__(788).setImmediate)},function(module,exports,__webpack_require__){"use strict";var version,global=__webpack_require__(23),apply=__webpack_require__(148),isCallable=__webpack_require__(34),ENGINE_IS_BUN=__webpack_require__(793),USER_AGENT=__webpack_require__(112),arraySlice=__webpack_require__(178),validateArgumentsLength=__webpack_require__(222),Function=global.Function,WRAP=/MSIE .\./.test(USER_AGENT)||ENGINE_IS_BUN&&((version=global.Bun.version.split(".")).length<3||"0"===version[0]&&(version[1]<3||"3"===version[1]&&"0"===version[2]));module.exports=function(scheduler,hasTimeArg){var firstParamIndex=hasTimeArg?2:1;return WRAP?function(handler,timeout){var boundArgs=validateArgumentsLength(arguments.length,1)>firstParamIndex,fn=isCallable(handler)?handler:Function(handler),params=boundArgs?arraySlice(arguments,firstParamIndex):[],callback=boundArgs?function(){apply(fn,this,params)}:fn;return hasTimeArg?scheduler(callback,timeout):scheduler(callback)}:scheduler}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(6),global=__webpack_require__(23),uncurryThis=__webpack_require__(16),isForced=__webpack_require__(173),defineBuiltIn=__webpack_require__(61),InternalMetadataModule=__webpack_require__(180),iterate=__webpack_require__(186),anInstance=__webpack_require__(152),isCallable=__webpack_require__(34),isNullOrUndefined=__webpack_require__(87),isObject=__webpack_require__(42),fails=__webpack_require__(17),checkCorrectnessOfIteration=__webpack_require__(299),setToStringTag=__webpack_require__(89),inheritIfRequired=__webpack_require__(305);module.exports=function(CONSTRUCTOR_NAME,wrapper,common){var IS_MAP=-1!==CONSTRUCTOR_NAME.indexOf("Map"),IS_WEAK=-1!==CONSTRUCTOR_NAME.indexOf("Weak"),ADDER=IS_MAP?"set":"add",NativeConstructor=global[CONSTRUCTOR_NAME],NativePrototype=NativeConstructor&&NativeConstructor.prototype,Constructor=NativeConstructor,exported={},fixMethod=function(KEY){var uncurriedNativeMethod=uncurryThis(NativePrototype[KEY]);defineBuiltIn(NativePrototype,KEY,"add"===KEY?function add(value){return uncurriedNativeMethod(this,0===value?0:value),this}:"delete"===KEY?function(key){return!(IS_WEAK&&!isObject(key))&&uncurriedNativeMethod(this,0===key?0:key)}:"get"===KEY?function get(key){return IS_WEAK&&!isObject(key)?void 0:uncurriedNativeMethod(this,0===key?0:key)}:"has"===KEY?function has(key){return!(IS_WEAK&&!isObject(key))&&uncurriedNativeMethod(this,0===key?0:key)}:function set(key,value){return uncurriedNativeMethod(this,0===key?0:key,value),this})};if(isForced(CONSTRUCTOR_NAME,!isCallable(NativeConstructor)||!(IS_WEAK||NativePrototype.forEach&&!fails((function(){(new NativeConstructor).entries().next()})))))Constructor=common.getConstructor(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER),InternalMetadataModule.enable();else if(isForced(CONSTRUCTOR_NAME,!0)){var instance=new Constructor,HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!==instance,THROWS_ON_PRIMITIVES=fails((function(){instance.has(1)})),ACCEPT_ITERABLES=checkCorrectnessOfIteration((function(iterable){new NativeConstructor(iterable)})),BUGGY_ZERO=!IS_WEAK&&fails((function(){for(var $instance=new NativeConstructor,index=5;index--;)$instance[ADDER](index,index);return!$instance.has(-0)}));ACCEPT_ITERABLES||((Constructor=wrapper((function(dummy,iterable){anInstance(dummy,NativePrototype);var that=inheritIfRequired(new NativeConstructor,dummy,Constructor);return isNullOrUndefined(iterable)||iterate(iterable,that[ADDER],{that:that,AS_ENTRIES:IS_MAP}),that}))).prototype=NativePrototype,NativePrototype.constructor=Constructor),(THROWS_ON_PRIMITIVES||BUGGY_ZERO)&&(fixMethod("delete"),fixMethod("has"),IS_MAP&&fixMethod("get")),(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER),IS_WEAK&&NativePrototype.clear&&delete NativePrototype.clear}return exported[CONSTRUCTOR_NAME]=Constructor,$({global:!0,constructor:!0,forced:Constructor!==NativeConstructor},exported),setToStringTag(Constructor,CONSTRUCTOR_NAME),IS_WEAK||common.setStrong(Constructor,CONSTRUCTOR_NAME,IS_MAP),Constructor}},function(module,exports,__webpack_require__){"use strict";var isCallable=__webpack_require__(34),isObject=__webpack_require__(42),setPrototypeOf=__webpack_require__(215);module.exports=function($this,dummy,Wrapper){var NewTarget,NewTargetPrototype;return setPrototypeOf&&isCallable(NewTarget=dummy.constructor)&&NewTarget!==Wrapper&&isObject(NewTargetPrototype=NewTarget.prototype)&&NewTargetPrototype!==Wrapper.prototype&&setPrototypeOf($this,NewTargetPrototype),$this}},function(module,exports,__webpack_require__){"use strict";var isRegExp=__webpack_require__(307),$TypeError=TypeError;module.exports=function(it){if(isRegExp(it))throw $TypeError("The method doesn't accept regular expressions");return it}},function(module,exports,__webpack_require__){"use strict";var isObject=__webpack_require__(42),classof=__webpack_require__(96),MATCH=__webpack_require__(32)("match");module.exports=function(it){var isRegExp;return isObject(it)&&(void 0!==(isRegExp=it[MATCH])?!!isRegExp:"RegExp"===classof(it))}},function(module,exports,__webpack_require__){"use strict";var MATCH=__webpack_require__(32)("match");module.exports=function(METHOD_NAME){var regexp=/./;try{"/./"[METHOD_NAME](regexp)}catch(error1){try{return regexp[MATCH]=!1,"/./"[METHOD_NAME](regexp)}catch(error2){}}return!1}},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(125),getPrototype=__webpack_require__(310),isObjectLike=__webpack_require__(105),funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object);module.exports=function isPlainObject(value){if(!isObjectLike(value)||"[object Object]"!=baseGetTag(value))return!1;var proto=getPrototype(value);if(null===proto)return!0;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}},function(module,exports,__webpack_require__){var getPrototype=__webpack_require__(463)(Object.getPrototypeOf,Object);module.exports=getPrototype},function(module,exports,__webpack_require__){var defineProperty=__webpack_require__(466);module.exports=function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:!0,enumerable:!0,value:value,writable:!0}):object[key]=value}},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(125),isObject=__webpack_require__(130);module.exports=function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return"[object Function]"==tag||"[object GeneratorFunction]"==tag||"[object AsyncFunction]"==tag||"[object Proxy]"==tag}},function(module,exports,__webpack_require__){var baseFor=__webpack_require__(812),keys=__webpack_require__(188);module.exports=function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}},function(module,exports,__webpack_require__){var baseIsArguments=__webpack_require__(815),isObjectLike=__webpack_require__(105),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,propertyIsEnumerable=objectProto.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},function(module,exports,__webpack_require__){(function(module){var root=__webpack_require__(98),stubFalse=__webpack_require__(816),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,isBuffer=(Buffer?Buffer.isBuffer:void 0)||stubFalse;module.exports=isBuffer}).call(this,__webpack_require__(149)(module))},function(module,exports){var reIsUint=/^(?:0|[1-9]\d*)$/;module.exports=function isIndex(value,length){var type=typeof value;return!!(length=null==length?9007199254740991:length)&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value-1&&value%1==0&&value<=9007199254740991}},function(module,exports){module.exports=function baseUnary(func){return function(value){return func(value)}}},function(module,exports,__webpack_require__){(function(module){var freeGlobal=__webpack_require__(446),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil}).call(this,__webpack_require__(149)(module))},function(module,exports){var objectProto=Object.prototype;module.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}},function(module,exports,__webpack_require__){var baseMatches=__webpack_require__(820),baseMatchesProperty=__webpack_require__(856),identity=__webpack_require__(331),isArray=__webpack_require__(81),property=__webpack_require__(862);module.exports=function baseIteratee(value){return"function"==typeof value?value:null==value?identity:"object"==typeof value?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(227),stackClear=__webpack_require__(827),stackDelete=__webpack_require__(828),stackGet=__webpack_require__(829),stackHas=__webpack_require__(830),stackSet=__webpack_require__(831);function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet,module.exports=Stack},function(module,exports){module.exports=function eq(value,other){return value===other||value!=value&&other!=other}},function(module,exports,__webpack_require__){var Map=__webpack_require__(129)(__webpack_require__(98),"Map");module.exports=Map},function(module,exports,__webpack_require__){var mapCacheClear=__webpack_require__(832),mapCacheDelete=__webpack_require__(839),mapCacheGet=__webpack_require__(841),mapCacheHas=__webpack_require__(842),mapCacheSet=__webpack_require__(843);function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index2)if(it=trim(it),43===(first=charCodeAt(it,0))||45===first){if(88===(third=charCodeAt(it,2))||120===third)return NaN}else if(48===first){switch(charCodeAt(it,1)){case 66:case 98:radix=2,maxCode=49;break;case 79:case 111:radix=8,maxCode=55;break;default:return+it}for(length=(digits=stringSlice(it,2)).length,index=0;indexmaxCode)return NaN;return parseInt(digits,radix)}return+it},FORCED=isForced("Number",!NativeNumber(" 0o1")||!NativeNumber("0b1")||NativeNumber("+0x1")),calledWithNew=function(dummy){return isPrototypeOf(NumberPrototype,dummy)&&fails((function(){thisNumberValue(dummy)}))},NumberWrapper=function Number(value){var n=arguments.length<1?0:NativeNumber(toNumeric(value));return calledWithNew(this)?inheritIfRequired(Object(n),this,NumberWrapper):n};NumberWrapper.prototype=NumberPrototype,FORCED&&!IS_PURE&&(NumberPrototype.constructor=NumberWrapper),$({global:!0,constructor:!0,wrap:!0,forced:FORCED},{Number:NumberWrapper});var copyConstructorProperties=function(target,source){for(var key,keys=DESCRIPTORS?getOwnPropertyNames(source):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),j=0;keys.length>j;j++)hasOwn(source,key=keys[j])&&!hasOwn(target,key)&&defineProperty(target,key,getOwnPropertyDescriptor(source,key))};IS_PURE&&PureNumberNamespace&©ConstructorProperties(path.Number,PureNumberNamespace),(FORCED||IS_PURE)&©ConstructorProperties(path.Number,NativeNumber)},function(module,exports,__webpack_require__){"use strict";__webpack_require__(895)},function(module,exports,__webpack_require__){"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(null==val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}module.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(test2).map((function(n){return test2[n]})).join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}()?Object.assign:function(target,source){for(var from,symbols,to=toObject(target),s=1;s"+S+""}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17);module.exports=function(METHOD_NAME){return fails((function(){var test=""[METHOD_NAME]('"');return test!==test.toLowerCase()||test.split('"').length>3}))}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(936),__webpack_require__(937)},function(module,exports,__webpack_require__){"use strict";module.exports=function normalize(value){return value.toLowerCase()}},function(module,exports,__webpack_require__){"use strict";var powers=0;function increment(){return Math.pow(2,++powers)}exports.boolean=increment(),exports.booleanish=increment(),exports.overloadedBoolean=increment(),exports.number=increment(),exports.spaceSeparated=increment(),exports.commaSeparated=increment(),exports.commaOrSpaceSeparated=increment()},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(22),__webpack_require__(15),__webpack_require__(11),__webpack_require__(93),Object.defineProperty(exports,"__esModule",{value:!0}),exports.ActionBar=exports.ActionButton=void 0;var _react=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(0)),_theming=__webpack_require__(10);function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Container=_theming.styled.div((function(_ref){return{position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:_ref.theme.background.content,zIndex:1}})),ActionButton=_theming.styled.button((function(_ref2){var theme=_ref2.theme;return{border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:theme.color.defaultText,background:theme.background.content,fontSize:12,lineHeight:"16px",fontFamily:theme.typography.fonts.base,fontWeight:theme.typography.weight.bold,borderTop:"1px solid ".concat(theme.appBorderColor),borderLeft:"1px solid ".concat(theme.appBorderColor),marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:"1px solid ".concat(theme.appBorderColor)},"& + *":{borderLeft:"1px solid ".concat(theme.appBorderColor),borderRadius:0},"&:focus":{boxShadow:"".concat(theme.color.secondary," 0 -3px 0 0 inset"),outline:"0 none"}}}),(function(_ref3){return _ref3.disabled&&{cursor:"not-allowed",opacity:.5}}));exports.ActionButton=ActionButton,ActionButton.displayName="ActionButton";var ActionBar=function ActionBar(_ref4){var actionItems=_ref4.actionItems,props=_objectWithoutProperties(_ref4,["actionItems"]);return _react.default.createElement(Container,props,actionItems.map((function(_ref5,index){var title=_ref5.title,onClick=_ref5.onClick,disabled=_ref5.disabled;return _react.default.createElement(ActionButton,{key:index,onClick:onClick,disabled:disabled},title)})))};exports.ActionBar=ActionBar,ActionBar.displayName="ActionBar"},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(4),__webpack_require__(22),__webpack_require__(3),__webpack_require__(11),Object.defineProperty(exports,"__esModule",{value:!0}),exports.ScrollArea=void 0;var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_theming=__webpack_require__(10),_OverlayScrollbarsComponent=__webpack_require__(992),_ScrollAreaStyles=__webpack_require__(995);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Scroll=(0,_theming.styled)((function(_ref){_ref.vertical,_ref.horizontal;var rest=_objectWithoutProperties(_ref,["vertical","horizontal"]);return _react.default.createElement(_OverlayScrollbarsComponent.OverlayScrollbarsComponent,_extends({options:{scrollbars:{autoHide:"leave"}}},rest))}))((function(_ref2){return _ref2.vertical?{overflowY:"auto",height:"100%"}:{overflowY:"hidden"}}),(function(_ref3){return _ref3.horizontal?{overflowX:"auto",width:"100%"}:{overflowX:"hidden"}})),ScrollArea=function ScrollArea(_ref4){var children=_ref4.children,vertical=_ref4.vertical,horizontal=_ref4.horizontal,props=_objectWithoutProperties(_ref4,["children","vertical","horizontal"]);return _react.default.createElement(_react.Fragment,null,_react.default.createElement(_theming.Global,{styles:_ScrollAreaStyles.getScrollAreaStyles}),_react.default.createElement(Scroll,_extends({vertical:vertical,horizontal:horizontal},props),children))};exports.ScrollArea=ScrollArea,ScrollArea.displayName="ScrollArea",ScrollArea.defaultProps={horizontal:!1,vertical:!1}},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(31),__webpack_require__(22),__webpack_require__(21),__webpack_require__(18),__webpack_require__(14),__webpack_require__(27),__webpack_require__(8),__webpack_require__(11),__webpack_require__(9),__webpack_require__(24),__webpack_require__(19),__webpack_require__(20),Object.defineProperty(exports,"__esModule",{value:!0}),exports.FlexBar=exports.Bar=void 0;var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_theming=__webpack_require__(10),_ScrollArea=__webpack_require__(345);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Side=_theming.styled.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",flexShrink:0},(function(_ref){return _ref.left?{"& > *":{marginLeft:15}}:{}}),(function(_ref2){return _ref2.right?{marginLeft:30,"& > *":{marginRight:15}}:{}}));Side.displayName="Side";var Bar=(0,_theming.styled)((function(_ref3){var children=_ref3.children,className=_ref3.className;return _react.default.createElement(_ScrollArea.ScrollArea,{horizontal:!0,vertical:!1,className:className},children)}))((function(_ref4){return{color:_ref4.theme.barTextColor,width:"100%",height:40,flexShrink:0,overflow:"auto",overflowY:"hidden"}}),(function(_ref5){var theme=_ref5.theme;return _ref5.border?{boxShadow:"".concat(theme.appBorderColor," 0 -1px 0 0 inset"),background:theme.barBg}:{}}));exports.Bar=Bar,Bar.displayName="Bar";var BarInner=_theming.styled.div((function(_ref6){return{display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:_ref6.bgColor||""}})),FlexBar=function FlexBar(_ref7){var children=_ref7.children,backgroundColor=_ref7.backgroundColor,rest=_objectWithoutProperties(_ref7,["children","backgroundColor"]),_Children$toArray2=_slicedToArray(_react.Children.toArray(children),2),left=_Children$toArray2[0],right=_Children$toArray2[1];return _react.default.createElement(Bar,rest,_react.default.createElement(BarInner,{bgColor:backgroundColor},_react.default.createElement(Side,{left:!0},left),right?_react.default.createElement(Side,{right:!0},right):null))};exports.FlexBar=FlexBar,FlexBar.displayName="FlexBar",FlexBar.displayName="FlexBar"},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(22),__webpack_require__(3),__webpack_require__(11),Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconButton=exports.TabButton=void 0;var _react=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(0)),_theming=__webpack_require__(10);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var ButtonOrLink=function ButtonOrLink(_ref){var children=_ref.children,restProps=_objectWithoutProperties(_ref,["children"]);return null!=restProps.href?_react.default.createElement("a",restProps,children):_react.default.createElement("button",_extends({type:"button"},restProps),children)},TabButton=(0,_theming.styled)(ButtonOrLink,{shouldForwardProp:_theming.isPropValid})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},(function(_ref2){return{padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:_ref2.theme.color.secondary}}}),(function(_ref3){var active=_ref3.active,textColor=_ref3.textColor,theme=_ref3.theme;return active?{color:textColor||theme.barSelectedColor,borderBottomColor:theme.barSelectedColor}:{color:textColor||"inherit",borderBottomColor:"transparent"}}));exports.TabButton=TabButton,TabButton.displayName="TabButton";var IconButton=(0,_theming.styled)(ButtonOrLink,{shouldForwardProp:_theming.isPropValid})((function(_ref4){return{display:"inline-flex",justifyContent:"center",alignItems:"center",height:40,background:"none",color:"inherit",padding:0,cursor:"pointer",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",transition:"color 0.2s linear, border-bottom-color 0.2s linear","&:hover, &:focus":{outline:"0 none",color:_ref4.theme.color.secondary},"& > svg":{width:15}}}),(function(_ref5){var active=_ref5.active,theme=_ref5.theme;return active?{outline:"0 none",borderBottomColor:theme.color.secondary}:{}}));exports.IconButton=IconButton,IconButton.displayName="IconButton"},function(module,exports,__webpack_require__){"use strict";__webpack_require__(3),Object.defineProperty(exports,"__esModule",{value:!0}),exports.EmptyBlock=void 0;var _react=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(0)),_theming=__webpack_require__(10),_polished=__webpack_require__(60),_shared=__webpack_require__(132);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:{},context=arguments.length>1?arguments[1]:void 0,_ref3=props,of=_ref3.of,_ref4=props,story=_ref4.story,_context$parameters=context.parameters,parameters=void 0===_context$parameters?{}:_context$parameters,component=parameters.component;if(isShortcut(of)||isShortcut(story))return component||null;if(!of)throw new Error(_components.ArgsTableError.NO_COMPONENT);return of};exports.getComponent=getComponent;var addComponentTabs=function addComponentTabs(tabs,components,context,include,exclude){return Object.assign({},tabs,(0,_mapValues.default)(components,(function(comp){return{rows:extractComponentArgTypes(comp,context,include,exclude)}})))},StoryTable=function StoryTable(props){var storyArgTypes,context=(0,_react.useContext)(_DocsContext.DocsContext),currentId=context.id,argTypes=context.parameters.argTypes,storyStore=context.storyStore,story=props.story,component=props.component,subcomponents=props.subcomponents,showComponent=props.showComponent,include=props.include,exclude=props.exclude;try{var storyId;switch(story){case _types.CURRENT_SELECTION:storyId=currentId,storyArgTypes=argTypes;break;case _types.PRIMARY_STORY:var primaryStory=(0,_utils.getDocsStories)(context)[0];storyId=primaryStory.id,storyArgTypes=primaryStory.parameters.argTypes;break;default:storyId=(0,_Story.lookupStoryId)(story,context),storyArgTypes=storyStore.fromId(storyId).parameters.argTypes}storyArgTypes=filterArgTypes(storyArgTypes,include,exclude);var _useArgs=function useArgs(storyId,storyStore){var story=storyStore.fromId(storyId);if(!story)throw new Error("Unknown story: ".concat(storyId));var initialArgs=story.args,_useState2=_slicedToArray((0,_react.useState)(initialArgs),2),args=_useState2[0],setArgs=_useState2[1];return(0,_react.useEffect)((function(){var cb=function cb(changed){changed.storyId===storyId&&setArgs(changed.args)};return storyStore._channel.on(_coreEvents.default.STORY_ARGS_UPDATED,cb),function(){return storyStore._channel.off(_coreEvents.default.STORY_ARGS_UPDATED,cb)}}),[storyId]),[args,(0,_react.useCallback)((function(newArgs){return storyStore.updateStoryArgs(storyId,newArgs)}),[storyId]),(0,_react.useCallback)((function(argNames){return storyStore.resetStoryArgs(storyId,argNames)}),[storyId])]}(storyId,storyStore),_useArgs2=_slicedToArray(_useArgs,3),args=_useArgs2[0],updateArgs=_useArgs2[1],resetArgs=_useArgs2[2],tabs={Story:{rows:storyArgTypes,args:args,updateArgs:updateArgs,resetArgs:resetArgs}},storyHasArgsWithControls=storyArgTypes&&Object.values(storyArgTypes).find((function(v){return!!(null==v?void 0:v.control)}));if(storyHasArgsWithControls||(updateArgs=null,resetArgs=null,tabs={}),component&&(!storyHasArgsWithControls||showComponent)){var mainLabel=(0,_utils.getComponentName)(component);tabs=addComponentTabs(tabs,_defineProperty({},mainLabel,component),context,include,exclude)}if(subcomponents){if(Array.isArray(subcomponents))throw new Error("Unexpected subcomponents array. Expected an object whose keys are tab labels and whose values are components.");tabs=addComponentTabs(tabs,subcomponents,context,include,exclude)}return _react.default.createElement(_components.TabbedArgsTable,{tabs:tabs})}catch(err){return _react.default.createElement(_components.ArgsTable,{error:err.message})}};exports.StoryTable=StoryTable;var ComponentsTable=function ComponentsTable(props){var context=(0,_react.useContext)(_DocsContext.DocsContext),components=props.components,include=props.include,exclude=props.exclude,tabs=addComponentTabs({},components,context,include,exclude);return _react.default.createElement(_components.TabbedArgsTable,{tabs:tabs})};exports.ComponentsTable=ComponentsTable;var ArgsTable=function ArgsTable(props){var context=(0,_react.useContext)(_DocsContext.DocsContext),_context$parameters2=context.parameters,subcomponents=(_context$parameters2=void 0===_context$parameters2?{}:_context$parameters2).subcomponents,_ref5=props,include=_ref5.include,exclude=_ref5.exclude,components=_ref5.components,story=props.story,main=getComponent(props,context);if(story)return _react.default.createElement(StoryTable,_extends({},props,{component:main,subcomponents:subcomponents}));if(!components&&!subcomponents){var mainProps;try{mainProps={rows:extractComponentArgTypes(main,context,include,exclude)}}catch(err){mainProps={error:err.message}}return _react.default.createElement(_components.ArgsTable,mainProps)}if(components)return _react.default.createElement(ComponentsTable,_extends({},props,{components:components}));var mainLabel=(0,_utils.getComponentName)(main);return _react.default.createElement(ComponentsTable,_extends({},props,{components:Object.assign(_defineProperty({},mainLabel,main),subcomponents)}))};exports.ArgsTable=ArgsTable,ArgsTable.defaultProps={of:_types.CURRENT_SELECTION}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"MDXContext",(function(){return MDXContext})),__webpack_require__.d(__webpack_exports__,"MDXProvider",(function(){return MDXProvider})),__webpack_require__.d(__webpack_exports__,"mdx",(function(){return createElement})),__webpack_require__.d(__webpack_exports__,"useMDXComponents",(function(){return useMDXComponents})),__webpack_require__.d(__webpack_exports__,"withMDXComponents",(function(){return withMDXComponents}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var MDXContext=react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext({}),withMDXComponents=function withMDXComponents(Component){return function(props){var allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Component,_extends({},props,{components:allComponents}))}},useMDXComponents=function useMDXComponents(components){var contextComponents=react__WEBPACK_IMPORTED_MODULE_0___default.a.useContext(MDXContext),allComponents=contextComponents;return components&&(allComponents=function isFunction(obj){return"function"==typeof obj}(components)?components(contextComponents):_objectSpread2(_objectSpread2({},contextComponents),components)),allComponents},MDXProvider=function MDXProvider(props){var allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(MDXContext.Provider,{value:allComponents},props.children)},DEFAULTS={inlineCode:"code",wrapper:function wrapper(_ref){var children=_ref.children;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,{},children)}},MDXCreateElement=react__WEBPACK_IMPORTED_MODULE_0___default.a.forwardRef((function(props,ref){var propComponents=props.components,mdxType=props.mdxType,originalType=props.originalType,parentName=props.parentName,etc=_objectWithoutProperties(props,["components","mdxType","originalType","parentName"]),components=useMDXComponents(propComponents),type=mdxType,Component=components["".concat(parentName,".").concat(type)]||components[type]||DEFAULTS[type]||originalType;return propComponents?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Component,_objectSpread2(_objectSpread2({ref:ref},etc),{},{components:propComponents})):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Component,_objectSpread2({ref:ref},etc))}));function createElement(type,props){var args=arguments,mdxType=props&&props.mdxType;if("string"==typeof type||mdxType){var argsLength=args.length,createElementArgArray=new Array(argsLength);createElementArgArray[0]=MDXCreateElement;var newProps={};for(var key in props)hasOwnProperty.call(props,key)&&(newProps[key]=props[key]);newProps.originalType=type,newProps.mdxType="string"==typeof type?type:mdxType,createElementArgArray[1]=newProps;for(var i=2;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}exports.SourceState=SourceState,function(SourceState){SourceState.OPEN="open",SourceState.CLOSED="closed",SourceState.NONE="none"}(SourceState||(exports.SourceState=SourceState={}));exports.Canvas=function Canvas(props){var previewProps=function getPreviewProps(_ref,docsContext,sourceContext){var _ref$withSource=_ref.withSource,withSource=void 0===_ref$withSource?SourceState.CLOSED:_ref$withSource,mdxSource=_ref.mdxSource,children=_ref.children,props=_objectWithoutProperties(_ref,["withSource","mdxSource","children"]);if(withSource===SourceState.NONE)return props;if(mdxSource)return Object.assign({},props,{withSource:(0,_Source.getSourceProps)({code:decodeURI(mdxSource)},docsContext,sourceContext)});var stories=(Array.isArray(children)?children:[children]).filter((function(c){return c.props&&(c.props.id||c.props.name)})),mdxComponentMeta=docsContext.mdxComponentMeta,mdxStoryNameToKey=docsContext.mdxStoryNameToKey,targetIds=stories.map((function(s){return s.props.id||(0,_csf.toId)(mdxComponentMeta.id||mdxComponentMeta.title,(0,_csf.storyNameFromExport)(mdxStoryNameToKey[s.props.name]))})),sourceProps=(0,_Source.getSourceProps)({ids:targetIds},docsContext,sourceContext);return Object.assign({},props,{withSource:sourceProps,isExpanded:withSource===SourceState.OPEN})}(props,(0,_react.useContext)(_DocsContext.DocsContext),(0,_react.useContext)(_SourceContainer.SourceContext)),children=props.children;return _react.default.createElement(_react2.MDXProvider,{components:_html.resetComponents},_react.default.createElement(_components.Preview,previewProps,children))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SourceType=exports.SNIPPET_RENDERED=exports.PARAM_KEY=exports.PANEL_ID=exports.ADDON_ID=void 0;exports.ADDON_ID="storybook/docs";var PANEL_ID="".concat("storybook/docs","/panel");exports.PANEL_ID=PANEL_ID;exports.PARAM_KEY="docs";var SourceType,SNIPPET_RENDERED="".concat("storybook/docs","/snippet-rendered");exports.SNIPPET_RENDERED=SNIPPET_RENDERED,exports.SourceType=SourceType,function(SourceType){SourceType.AUTO="auto",SourceType.CODE="code",SourceType.DYNAMIC="dynamic"}(SourceType||(exports.SourceType=SourceType={}))},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(4),__webpack_require__(13),__webpack_require__(25),__webpack_require__(190),Object.defineProperty(exports,"__esModule",{value:!0}),exports.Description=exports.getDescriptionProps=exports.DescriptionType=void 0;var DescriptionType,_react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_components=__webpack_require__(99),_DocsContext=__webpack_require__(74),_types=__webpack_require__(133),_docgen=__webpack_require__(248);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}exports.DescriptionType=DescriptionType,function(DescriptionType){DescriptionType.INFO="info",DescriptionType.NOTES="notes",DescriptionType.DOCGEN="docgen",DescriptionType.LEGACY_5_2="legacy-5.2",DescriptionType.AUTO="auto"}(DescriptionType||(exports.DescriptionType=DescriptionType={}));var getNotes=function getNotes(notes){return notes&&("string"==typeof notes?notes:(0,_docgen.str)(notes.markdown)||(0,_docgen.str)(notes.text))},getInfo=function getInfo(info){return info&&("string"==typeof info?info:(0,_docgen.str)(info.text))},noDescription=function noDescription(component){return null},getDescriptionProps=function getDescriptionProps(_ref,_ref2){var of=_ref.of,type=_ref.type,markdown=_ref.markdown,children=_ref.children,parameters=_ref2.parameters;if(children||markdown)return{markdown:children||markdown};var component=parameters.component,notes=parameters.notes,info=parameters.info,_ref3=parameters.docs||{},_ref3$extractComponen=_ref3.extractComponentDescription,extractComponentDescription=void 0===_ref3$extractComponen?noDescription:_ref3$extractComponen,description=_ref3.description,target=of===_types.CURRENT_SELECTION?component:of,componentDescriptionParameter=null==description?void 0:description.component;if(componentDescriptionParameter)return{markdown:componentDescriptionParameter};switch(type){case DescriptionType.INFO:return{markdown:getInfo(info)};case DescriptionType.NOTES:return{markdown:getNotes(notes)};case DescriptionType.LEGACY_5_2:return{markdown:"\n".concat(getNotes(notes)||getInfo(info)||"","\n\n").concat(extractComponentDescription(target)||"","\n").trim()};case DescriptionType.DOCGEN:case DescriptionType.AUTO:default:return{markdown:extractComponentDescription(target,parameters)}}};exports.getDescriptionProps=getDescriptionProps;var DescriptionContainer=function DescriptionContainer(props){var context=(0,_react.useContext)(_DocsContext.DocsContext),markdown=getDescriptionProps(props,context).markdown;return markdown?_react.default.createElement(_components.Description,{markdown:markdown}):null};exports.Description=DescriptionContainer,DescriptionContainer.defaultProps={of:"."}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"PropDef",{enumerable:!0,get:function get(){return _PropDef.PropDef}}),exports.TypeSystem=void 0;var TypeSystem,_PropDef=__webpack_require__(1102);exports.TypeSystem=TypeSystem,function(TypeSystem){TypeSystem.JAVASCRIPT="JavaScript",TypeSystem.FLOW="Flow",TypeSystem.TYPESCRIPT="TypeScript",TypeSystem.UNKNOWN="Unknown"}(TypeSystem||(exports.TypeSystem=TypeSystem={}))},function(module,exports,__webpack_require__){!function(){"use strict";exports.ast=__webpack_require__(1107),exports.code=__webpack_require__(528),exports.keyword=__webpack_require__(1108)}()},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(13),__webpack_require__(14),__webpack_require__(8),__webpack_require__(46),__webpack_require__(49),Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocsStory=void 0;var _react=_interopRequireDefault(__webpack_require__(0)),_utilDeprecate=_interopRequireDefault(__webpack_require__(73)),_tsDedent=_interopRequireDefault(__webpack_require__(58)),_Subheading=__webpack_require__(533),_Anchor=__webpack_require__(245),_Description=__webpack_require__(358),_Story=__webpack_require__(246),_Canvas=__webpack_require__(356);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _templateObject(){var data=function _taggedTemplateLiteral(strings,raw){raw||(raw=strings.slice(0));return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Deprecated parameter: docs.storyDescription => docs.description.story\n \n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#docs-description-parameter\n "]);return _templateObject=function _templateObject(){return data},data}var warnStoryDescription=(0,_utilDeprecate.default)((function(){}),(0,_tsDedent.default)(_templateObject()));exports.DocsStory=function DocsStory(_ref){var description,_docs$description,id=_ref.id,name=_ref.name,_ref$expanded=_ref.expanded,expanded=void 0===_ref$expanded||_ref$expanded,_ref$withToolbar=_ref.withToolbar,withToolbar=void 0!==_ref$withToolbar&&_ref$withToolbar,_ref$parameters=_ref.parameters,docs=(void 0===_ref$parameters?{}:_ref$parameters).docs;expanded&&docs&&((description=null===(_docs$description=docs.description)||void 0===_docs$description?void 0:_docs$description.story)||(description=docs.storyDescription)&&warnStoryDescription());var subheading=expanded&&name;return _react.default.createElement(_Anchor.Anchor,{storyId:id},subheading&&_react.default.createElement(_Subheading.Subheading,null,subheading),description&&_react.default.createElement(_Description.Description,{markdown:description}),_react.default.createElement(_Canvas.Canvas,{withToolbar:withToolbar},_react.default.createElement(_Story.Story,{id:id})))}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(91),__webpack_require__(106),Object.defineProperty(exports,"__esModule",{value:!0}),exports.isHtmlTag=function isHtmlTag(tagName){return _htmlTags.default.includes(tagName.toLowerCase())};var _htmlTags=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(1150))},function(module,exports,__webpack_require__){"use strict";var InspectionType;Object.defineProperty(exports,"__esModule",{value:!0}),exports.InspectionType=void 0,exports.InspectionType=InspectionType,function(InspectionType){InspectionType.IDENTIFIER="Identifier",InspectionType.LITERAL="Literal",InspectionType.OBJECT="Object",InspectionType.ARRAY="Array",InspectionType.FUNCTION="Function",InspectionType.CLASS="Class",InspectionType.ELEMENT="Element",InspectionType.UNKNOWN="Unknown"}(InspectionType||(exports.InspectionType=InspectionType={}))},function(__webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Node",(function(){return Node})),__webpack_require__.d(__webpack_exports__,"Parser",(function(){return Parser})),__webpack_require__.d(__webpack_exports__,"Position",(function(){return Position})),__webpack_require__.d(__webpack_exports__,"SourceLocation",(function(){return SourceLocation})),__webpack_require__.d(__webpack_exports__,"TokContext",(function(){return TokContext})),__webpack_require__.d(__webpack_exports__,"Token",(function(){return Token})),__webpack_require__.d(__webpack_exports__,"TokenType",(function(){return TokenType})),__webpack_require__.d(__webpack_exports__,"defaultOptions",(function(){return defaultOptions})),__webpack_require__.d(__webpack_exports__,"getLineInfo",(function(){return getLineInfo})),__webpack_require__.d(__webpack_exports__,"isIdentifierChar",(function(){return isIdentifierChar})),__webpack_require__.d(__webpack_exports__,"isIdentifierStart",(function(){return isIdentifierStart})),__webpack_require__.d(__webpack_exports__,"isNewLine",(function(){return isNewLine})),__webpack_require__.d(__webpack_exports__,"keywordTypes",(function(){return keywords$1})),__webpack_require__.d(__webpack_exports__,"lineBreak",(function(){return lineBreak})),__webpack_require__.d(__webpack_exports__,"lineBreakG",(function(){return lineBreakG})),__webpack_require__.d(__webpack_exports__,"nonASCIIwhitespace",(function(){return nonASCIIwhitespace})),__webpack_require__.d(__webpack_exports__,"parse",(function(){return parse})),__webpack_require__.d(__webpack_exports__,"parseExpressionAt",(function(){return parseExpressionAt})),__webpack_require__.d(__webpack_exports__,"tokContexts",(function(){return types$1})),__webpack_require__.d(__webpack_exports__,"tokTypes",(function(){return types})),__webpack_require__.d(__webpack_exports__,"tokenizer",(function(){return tokenizer})),__webpack_require__.d(__webpack_exports__,"version",(function(){return version}));var reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ecma5AndLessKeywords="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",keywords={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"},keywordRelationalOperator=/^in(stanceof)?$/,nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",nonASCIIidentifierChars="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]"),nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]");nonASCIIidentifierStartChars=nonASCIIidentifierChars=null;var astralIdentifierStartCodes=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],astralIdentifierCodes=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(code,set){for(var pos=65536,i=0;icode)return!1;if((pos+=set[i+1])>=code)return!0}}function isIdentifierStart(code,astral){return code<65?36===code:code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifierStart.test(String.fromCharCode(code)):!1!==astral&&isInAstralSet(code,astralIdentifierStartCodes)))}function isIdentifierChar(code,astral){return code<48?36===code:code<58||!(code<65)&&(code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifier.test(String.fromCharCode(code)):!1!==astral&&(isInAstralSet(code,astralIdentifierStartCodes)||isInAstralSet(code,astralIdentifierCodes)))))}var TokenType=function TokenType(label,conf){void 0===conf&&(conf={}),this.label=label,this.keyword=conf.keyword,this.beforeExpr=!!conf.beforeExpr,this.startsExpr=!!conf.startsExpr,this.isLoop=!!conf.isLoop,this.isAssign=!!conf.isAssign,this.prefix=!!conf.prefix,this.postfix=!!conf.postfix,this.binop=conf.binop||null,this.updateContext=null};function binop(name,prec){return new TokenType(name,{beforeExpr:!0,binop:prec})}var beforeExpr={beforeExpr:!0},startsExpr={startsExpr:!0},keywords$1={};function kw(name,options){return void 0===options&&(options={}),options.keyword=name,keywords$1[name]=new TokenType(name,options)}var types={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:!0,startsExpr:!0}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:!0,startsExpr:!0}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:!0,startsExpr:!0}),eq:new TokenType("=",{beforeExpr:!0,isAssign:!0}),assign:new TokenType("_=",{beforeExpr:!0,isAssign:!0}),incDec:new TokenType("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new TokenType("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},lineBreak=/\r\n?|\n|\u2028|\u2029/,lineBreakG=new RegExp(lineBreak.source,"g");function isNewLine(code,ecma2019String){return 10===code||13===code||!ecma2019String&&(8232===code||8233===code)}var nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ref=Object.prototype,hasOwnProperty=ref.hasOwnProperty,toString=ref.toString;function has(obj,propName){return hasOwnProperty.call(obj,propName)}var isArray=Array.isArray||function(obj){return"[object Array]"===toString.call(obj)};function wordsRegexp(words){return new RegExp("^(?:"+words.replace(/ /g,"|")+")$")}var Position=function Position(line,col){this.line=line,this.column=col};Position.prototype.offset=function offset(n){return new Position(this.line,this.column+n)};var SourceLocation=function SourceLocation(p,start,end){this.start=start,this.end=end,null!==p.sourceFile&&(this.source=p.sourceFile)};function getLineInfo(input,offset){for(var line=1,cur=0;;){lineBreakG.lastIndex=cur;var match=lineBreakG.exec(input);if(!(match&&match.index=2015&&(options.ecmaVersion-=2009),null==options.allowReserved&&(options.allowReserved=options.ecmaVersion<5),isArray(options.onToken)){var tokens=options.onToken;options.onToken=function(token){return tokens.push(token)}}return isArray(options.onComment)&&(options.onComment=function pushComment(options,array){return function(block,text,start,end,startLoc,endLoc){var comment={type:block?"Block":"Line",value:text,start:start,end:end};options.locations&&(comment.loc=new SourceLocation(this,startLoc,endLoc)),options.ranges&&(comment.range=[start,end]),array.push(comment)}}(options,options.onComment)),options}function functionFlags(async,generator){return 2|(async?4:0)|(generator?8:0)}var Parser=function Parser(options,input,startPos){this.options=options=getOptions(options),this.sourceFile=options.sourceFile,this.keywords=wordsRegexp(keywords[options.ecmaVersion>=6?6:"module"===options.sourceType?"5module":5]);var reserved="";if(!0!==options.allowReserved){for(var v=options.ecmaVersion;!(reserved=reservedWords[v]);v--);"module"===options.sourceType&&(reserved+=" await")}this.reservedWords=wordsRegexp(reserved);var reservedStrict=(reserved?reserved+" ":"")+reservedWords.strict;this.reservedWordsStrict=wordsRegexp(reservedStrict),this.reservedWordsStrictBind=wordsRegexp(reservedStrict+" "+reservedWords.strictBind),this.input=String(input),this.containsEsc=!1,startPos?(this.pos=startPos,this.lineStart=this.input.lastIndexOf("\n",startPos-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=types.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===options.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&options.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},prototypeAccessors={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Parser.prototype.parse=function parse(){var node=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(node)},prototypeAccessors.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},prototypeAccessors.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},prototypeAccessors.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},prototypeAccessors.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},prototypeAccessors.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},prototypeAccessors.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Parser.prototype.inNonArrowFunction=function inNonArrowFunction(){return(2&this.currentThisScope().flags)>0},Parser.extend=function extend(){for(var plugins=[],len=arguments.length;len--;)plugins[len]=arguments[len];for(var cls=this,i=0;i=,?^&]/.test(next)||"!"===next&&"="===this.input.charAt(end+1))}start+=match[0].length,skipWhiteSpace.lastIndex=start,start+=skipWhiteSpace.exec(this.input)[0].length,";"===this.input[start]&&start++}},pp.eat=function(type){return this.type===type&&(this.next(),!0)},pp.isContextual=function(name){return this.type===types.name&&this.value===name&&!this.containsEsc},pp.eatContextual=function(name){return!!this.isContextual(name)&&(this.next(),!0)},pp.expectContextual=function(name){this.eatContextual(name)||this.unexpected()},pp.canInsertSemicolon=function(){return this.type===types.eof||this.type===types.braceR||lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},pp.semicolon=function(){this.eat(types.semi)||this.insertSemicolon()||this.unexpected()},pp.afterTrailingComma=function(tokType,notNext){if(this.type===tokType)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),notNext||this.next(),!0},pp.expect=function(type){this.eat(type)||this.unexpected()},pp.unexpected=function(pos){this.raise(null!=pos?pos:this.start,"Unexpected token")},pp.checkPatternErrors=function(refDestructuringErrors,isAssign){if(refDestructuringErrors){refDestructuringErrors.trailingComma>-1&&this.raiseRecoverable(refDestructuringErrors.trailingComma,"Comma is not permitted after the rest element");var parens=isAssign?refDestructuringErrors.parenthesizedAssign:refDestructuringErrors.parenthesizedBind;parens>-1&&this.raiseRecoverable(parens,"Parenthesized pattern")}},pp.checkExpressionErrors=function(refDestructuringErrors,andThrow){if(!refDestructuringErrors)return!1;var shorthandAssign=refDestructuringErrors.shorthandAssign,doubleProto=refDestructuringErrors.doubleProto;if(!andThrow)return shorthandAssign>=0||doubleProto>=0;shorthandAssign>=0&&this.raise(shorthandAssign,"Shorthand property assignments are valid only in destructuring patterns"),doubleProto>=0&&this.raiseRecoverable(doubleProto,"Redefinition of __proto__ property")},pp.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(node,!1,!context);case types._class:return context&&this.unexpected(),this.parseClass(node,!0);case types._if:return this.parseIfStatement(node);case types._return:return this.parseReturnStatement(node);case types._switch:return this.parseSwitchStatement(node);case types._throw:return this.parseThrowStatement(node);case types._try:return this.parseTryStatement(node);case types._const:case types._var:return kind=kind||this.value,context&&"var"!==kind&&this.unexpected(),this.parseVarStatement(node,kind);case types._while:return this.parseWhileStatement(node);case types._with:return this.parseWithStatement(node);case types.braceL:return this.parseBlock(!0,node);case types.semi:return this.parseEmptyStatement(node);case types._export:case types._import:if(this.options.ecmaVersion>10&&starttype===types._import){skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(40===nextCh||46===nextCh)return this.parseExpressionStatement(node,this.parseExpression())}return this.options.allowImportExportEverywhere||(topLevel||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),starttype===types._import?this.parseImport(node):this.parseExport(node,exports);default:if(this.isAsyncFunction())return context&&this.unexpected(),this.next(),this.parseFunctionStatement(node,!0,!context);var maybeName=this.value,expr=this.parseExpression();return starttype===types.name&&"Identifier"===expr.type&&this.eat(types.colon)?this.parseLabeledStatement(node,maybeName,expr,context):this.parseExpressionStatement(node,expr)}},pp$1.parseBreakContinueStatement=function(node,keyword){var isBreak="break"===keyword;this.next(),this.eat(types.semi)||this.insertSemicolon()?node.label=null:this.type!==types.name?this.unexpected():(node.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(types.semi):this.semicolon(),this.finishNode(node,"DoWhileStatement")},pp$1.parseForStatement=function(node){this.next();var awaitAt=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(loopLabel),this.enterScope(0),this.expect(types.parenL),this.type===types.semi)return awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,null);var isLet=this.isLet();if(this.type===types._var||this.type===types._const||isLet){var init$1=this.startNode(),kind=isLet?"let":this.value;return this.next(),this.parseVar(init$1,!0,kind),this.finishNode(init$1,"VariableDeclaration"),(this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===init$1.declarations.length?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.parseForIn(node,init$1)):(awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init$1))}var refDestructuringErrors=new DestructuringErrors,init=this.parseExpression(!0,refDestructuringErrors);return this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.toAssignable(init,!1,refDestructuringErrors),this.checkLVal(init),this.parseForIn(node,init)):(this.checkExpressionErrors(refDestructuringErrors,!0),awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init))},pp$1.parseFunctionStatement=function(node,isAsync,declarationPosition){return this.next(),this.parseFunction(node,FUNC_STATEMENT|(declarationPosition?0:FUNC_HANGING_STATEMENT),!1,isAsync)},pp$1.parseIfStatement=function(node){return this.next(),node.test=this.parseParenExpression(),node.consequent=this.parseStatement("if"),node.alternate=this.eat(types._else)?this.parseStatement("if"):null,this.finishNode(node,"IfStatement")},pp$1.parseReturnStatement=function(node){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(types.semi)||this.insertSemicolon()?node.argument=null:(node.argument=this.parseExpression(),this.semicolon()),this.finishNode(node,"ReturnStatement")},pp$1.parseSwitchStatement=function(node){var cur;this.next(),node.discriminant=this.parseParenExpression(),node.cases=[],this.expect(types.braceL),this.labels.push(switchLabel),this.enterScope(0);for(var sawDefault=!1;this.type!==types.braceR;)if(this.type===types._case||this.type===types._default){var isCase=this.type===types._case;cur&&this.finishNode(cur,"SwitchCase"),node.cases.push(cur=this.startNode()),cur.consequent=[],this.next(),isCase?cur.test=this.parseExpression():(sawDefault&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),sawDefault=!0,cur.test=null),this.expect(types.colon)}else cur||this.unexpected(),cur.consequent.push(this.parseStatement(null));return this.exitScope(),cur&&this.finishNode(cur,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(node,"SwitchStatement")},pp$1.parseThrowStatement=function(node){return this.next(),lineBreak.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),node.argument=this.parseExpression(),this.semicolon(),this.finishNode(node,"ThrowStatement")};var empty=[];pp$1.parseTryStatement=function(node){if(this.next(),node.block=this.parseBlock(),node.handler=null,this.type===types._catch){var clause=this.startNode();if(this.next(),this.eat(types.parenL)){clause.param=this.parseBindingAtom();var simple="Identifier"===clause.param.type;this.enterScope(simple?32:0),this.checkLVal(clause.param,simple?4:2),this.expect(types.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),clause.param=null,this.enterScope(0);clause.body=this.parseBlock(!1),this.exitScope(),node.handler=this.finishNode(clause,"CatchClause")}return node.finalizer=this.eat(types._finally)?this.parseBlock():null,node.handler||node.finalizer||this.raise(node.start,"Missing catch or finally clause"),this.finishNode(node,"TryStatement")},pp$1.parseVarStatement=function(node,kind){return this.next(),this.parseVar(node,!1,kind),this.semicolon(),this.finishNode(node,"VariableDeclaration")},pp$1.parseWhileStatement=function(node){return this.next(),node.test=this.parseParenExpression(),this.labels.push(loopLabel),node.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(node,"WhileStatement")},pp$1.parseWithStatement=function(node){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),node.object=this.parseParenExpression(),node.body=this.parseStatement("with"),this.finishNode(node,"WithStatement")},pp$1.parseEmptyStatement=function(node){return this.next(),this.finishNode(node,"EmptyStatement")},pp$1.parseLabeledStatement=function(node,maybeName,expr,context){for(var i$1=0,list=this.labels;i$1=0;i--){var label$1=this.labels[i];if(label$1.statementStart!==node.start)break;label$1.statementStart=this.start,label$1.kind=kind}return this.labels.push({name:maybeName,kind:kind,statementStart:this.start}),node.body=this.parseStatement(context?-1===context.indexOf("label")?context+"label":context:"label"),this.labels.pop(),node.label=expr,this.finishNode(node,"LabeledStatement")},pp$1.parseExpressionStatement=function(node,expr){return node.expression=expr,this.semicolon(),this.finishNode(node,"ExpressionStatement")},pp$1.parseBlock=function(createNewLexicalScope,node,exitStrict){for(void 0===createNewLexicalScope&&(createNewLexicalScope=!0),void 0===node&&(node=this.startNode()),node.body=[],this.expect(types.braceL),createNewLexicalScope&&this.enterScope(0);this.type!==types.braceR;){var stmt=this.parseStatement(null);node.body.push(stmt)}return exitStrict&&(this.strict=!1),this.next(),createNewLexicalScope&&this.exitScope(),this.finishNode(node,"BlockStatement")},pp$1.parseFor=function(node,init){return node.init=init,this.expect(types.semi),node.test=this.type===types.semi?null:this.parseExpression(),this.expect(types.semi),node.update=this.type===types.parenR?null:this.parseExpression(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,"ForStatement")},pp$1.parseForIn=function(node,init){var isForIn=this.type===types._in;return this.next(),"VariableDeclaration"===init.type&&null!=init.declarations[0].init&&(!isForIn||this.options.ecmaVersion<8||this.strict||"var"!==init.kind||"Identifier"!==init.declarations[0].id.type)?this.raise(init.start,(isForIn?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===init.type&&this.raise(init.start,"Invalid left-hand side in for-loop"),node.left=init,node.right=isForIn?this.parseExpression():this.parseMaybeAssign(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,isForIn?"ForInStatement":"ForOfStatement")},pp$1.parseVar=function(node,isFor,kind){for(node.declarations=[],node.kind=kind;;){var decl=this.startNode();if(this.parseVarId(decl,kind),this.eat(types.eq)?decl.init=this.parseMaybeAssign(isFor):"const"!==kind||this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===decl.id.type||isFor&&(this.type===types._in||this.isContextual("of"))?decl.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),node.declarations.push(this.finishNode(decl,"VariableDeclarator")),!this.eat(types.comma))break}return node},pp$1.parseVarId=function(decl,kind){decl.id=this.parseBindingAtom(),this.checkLVal(decl.id,"var"===kind?1:2,!1)};var FUNC_STATEMENT=1,FUNC_HANGING_STATEMENT=2;pp$1.parseFunction=function(node,statement,allowExpressionBody,isAsync){this.initFunction(node),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!isAsync)&&(this.type===types.star&&statement&FUNC_HANGING_STATEMENT&&this.unexpected(),node.generator=this.eat(types.star)),this.options.ecmaVersion>=8&&(node.async=!!isAsync),statement&FUNC_STATEMENT&&(node.id=4&statement&&this.type!==types.name?null:this.parseIdent(),!node.id||statement&FUNC_HANGING_STATEMENT||this.checkLVal(node.id,this.strict||node.generator||node.async?this.treatFunctionsAsVar?1:2:3));var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(node.async,node.generator)),statement&FUNC_STATEMENT||(node.id=this.type===types.name?this.parseIdent():null),this.parseFunctionParams(node),this.parseFunctionBody(node,allowExpressionBody,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,statement&FUNC_STATEMENT?"FunctionDeclaration":"FunctionExpression")},pp$1.parseFunctionParams=function(node){this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},pp$1.parseClass=function(node,isStatement){this.next();var oldStrict=this.strict;this.strict=!0,this.parseClassId(node,isStatement),this.parseClassSuper(node);var classBody=this.startNode(),hadConstructor=!1;for(classBody.body=[],this.expect(types.braceL);this.type!==types.braceR;){var element=this.parseClassElement(null!==node.superClass);element&&(classBody.body.push(element),"MethodDefinition"===element.type&&"constructor"===element.kind&&(hadConstructor&&this.raise(element.start,"Duplicate constructor in the same class"),hadConstructor=!0))}return this.strict=oldStrict,this.next(),node.body=this.finishNode(classBody,"ClassBody"),this.finishNode(node,isStatement?"ClassDeclaration":"ClassExpression")},pp$1.parseClassElement=function(constructorAllowsSuper){var this$1=this;if(this.eat(types.semi))return null;var method=this.startNode(),tryContextual=function(k,noLineBreak){void 0===noLineBreak&&(noLineBreak=!1);var start=this$1.start,startLoc=this$1.startLoc;return!!this$1.eatContextual(k)&&(!(this$1.type===types.parenL||noLineBreak&&this$1.canInsertSemicolon())||(method.key&&this$1.unexpected(),method.computed=!1,method.key=this$1.startNodeAt(start,startLoc),method.key.name=k,this$1.finishNode(method.key,"Identifier"),!1))};method.kind="method",method.static=tryContextual("static");var isGenerator=this.eat(types.star),isAsync=!1;isGenerator||(this.options.ecmaVersion>=8&&tryContextual("async",!0)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star)):tryContextual("get")?method.kind="get":tryContextual("set")&&(method.kind="set")),method.key||this.parsePropertyName(method);var key=method.key,allowsDirectSuper=!1;return method.computed||method.static||!("Identifier"===key.type&&"constructor"===key.name||"Literal"===key.type&&"constructor"===key.value)?method.static&&"Identifier"===key.type&&"prototype"===key.name&&this.raise(key.start,"Classes may not have a static property named prototype"):("method"!==method.kind&&this.raise(key.start,"Constructor can't have get/set modifier"),isGenerator&&this.raise(key.start,"Constructor can't be a generator"),isAsync&&this.raise(key.start,"Constructor can't be an async method"),method.kind="constructor",allowsDirectSuper=constructorAllowsSuper),this.parseClassMethod(method,isGenerator,isAsync,allowsDirectSuper),"get"===method.kind&&0!==method.value.params.length&&this.raiseRecoverable(method.value.start,"getter should have no params"),"set"===method.kind&&1!==method.value.params.length&&this.raiseRecoverable(method.value.start,"setter should have exactly one param"),"set"===method.kind&&"RestElement"===method.value.params[0].type&&this.raiseRecoverable(method.value.params[0].start,"Setter cannot use rest params"),method},pp$1.parseClassMethod=function(method,isGenerator,isAsync,allowsDirectSuper){return method.value=this.parseMethod(isGenerator,isAsync,allowsDirectSuper),this.finishNode(method,"MethodDefinition")},pp$1.parseClassId=function(node,isStatement){this.type===types.name?(node.id=this.parseIdent(),isStatement&&this.checkLVal(node.id,2,!1)):(!0===isStatement&&this.unexpected(),node.id=null)},pp$1.parseClassSuper=function(node){node.superClass=this.eat(types._extends)?this.parseExprSubscripts():null},pp$1.parseExport=function(node,exports){if(this.next(),this.eat(types.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(node.exported=this.parseIdent(!0),this.checkExport(exports,node.exported.name,this.lastTokStart)):node.exported=null),this.expectContextual("from"),this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom(),this.semicolon(),this.finishNode(node,"ExportAllDeclaration");if(this.eat(types._default)){var isAsync;if(this.checkExport(exports,"default",this.lastTokStart),this.type===types._function||(isAsync=this.isAsyncFunction())){var fNode=this.startNode();this.next(),isAsync&&this.next(),node.declaration=this.parseFunction(fNode,4|FUNC_STATEMENT,!1,isAsync)}else if(this.type===types._class){var cNode=this.startNode();node.declaration=this.parseClass(cNode,"nullableID")}else node.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(node,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())node.declaration=this.parseStatement(null),"VariableDeclaration"===node.declaration.type?this.checkVariableExport(exports,node.declaration.declarations):this.checkExport(exports,node.declaration.id.name,node.declaration.id.start),node.specifiers=[],node.source=null;else{if(node.declaration=null,node.specifiers=this.parseExportSpecifiers(exports),this.eatContextual("from"))this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom();else{for(var i=0,list=node.specifiers;i=6&&node)switch(node.type){case"Identifier":this.inAsync&&"await"===node.name&&this.raise(node.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":node.type="ObjectPattern",refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0);for(var i=0,list=node.properties;i=8&&!containsEsc&&"async"===id.name&&!this.canInsertSemicolon()&&this.eat(types._function))return this.parseFunction(this.startNodeAt(startPos,startLoc),0,!1,!0);if(canBeArrow&&!this.canInsertSemicolon()){if(this.eat(types.arrow))return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!1);if(this.options.ecmaVersion>=8&&"async"===id.name&&this.type===types.name&&!containsEsc)return id=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(types.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!0)}return id;case types.regexp:var value=this.value;return(node=this.parseLiteral(value.value)).regex={pattern:value.pattern,flags:value.flags},node;case types.num:case types.string:return this.parseLiteral(this.value);case types._null:case types._true:case types._false:return(node=this.startNode()).value=this.type===types._null?null:this.type===types._true,node.raw=this.type.keyword,this.next(),this.finishNode(node,"Literal");case types.parenL:var start=this.start,expr=this.parseParenAndDistinguishExpression(canBeArrow);return refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&!this.isSimpleAssignTarget(expr)&&(refDestructuringErrors.parenthesizedAssign=start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=start)),expr;case types.bracketL:return node=this.startNode(),this.next(),node.elements=this.parseExprList(types.bracketR,!0,!0,refDestructuringErrors),this.finishNode(node,"ArrayExpression");case types.braceL:return this.parseObj(!1,refDestructuringErrors);case types._function:return node=this.startNode(),this.next(),this.parseFunction(node,0);case types._class:return this.parseClass(this.startNode(),!1);case types._new:return this.parseNew();case types.backQuote:return this.parseTemplate();case types._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},pp$3.parseExprImport=function(){var node=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var meta=this.parseIdent(!0);switch(this.type){case types.parenL:return this.parseDynamicImport(node);case types.dot:return node.meta=meta,this.parseImportMeta(node);default:this.unexpected()}},pp$3.parseDynamicImport=function(node){if(this.next(),node.source=this.parseMaybeAssign(),!this.eat(types.parenR)){var errorPos=this.start;this.eat(types.comma)&&this.eat(types.parenR)?this.raiseRecoverable(errorPos,"Trailing comma is not allowed in import()"):this.unexpected(errorPos)}return this.finishNode(node,"ImportExpression")},pp$3.parseImportMeta=function(node){this.next();var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"meta"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for import is 'import.meta'"),containsEsc&&this.raiseRecoverable(node.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(node.start,"Cannot use 'import.meta' outside a module"),this.finishNode(node,"MetaProperty")},pp$3.parseLiteral=function(value){var node=this.startNode();return node.value=value,node.raw=this.input.slice(this.start,this.end),110===node.raw.charCodeAt(node.raw.length-1)&&(node.bigint=node.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(node,"Literal")},pp$3.parseParenExpression=function(){this.expect(types.parenL);var val=this.parseExpression();return this.expect(types.parenR),val},pp$3.parseParenAndDistinguishExpression=function(canBeArrow){var val,startPos=this.start,startLoc=this.startLoc,allowTrailingComma=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var spreadStart,innerStartPos=this.start,innerStartLoc=this.startLoc,exprList=[],first=!0,lastIsComma=!1,refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==types.parenR;){if(first?first=!1:this.expect(types.comma),allowTrailingComma&&this.afterTrailingComma(types.parenR,!0)){lastIsComma=!0;break}if(this.type===types.ellipsis){spreadStart=this.start,exprList.push(this.parseParenItem(this.parseRestBinding())),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}exprList.push(this.parseMaybeAssign(!1,refDestructuringErrors,this.parseParenItem))}var innerEndPos=this.start,innerEndLoc=this.startLoc;if(this.expect(types.parenR),canBeArrow&&!this.canInsertSemicolon()&&this.eat(types.arrow))return this.checkPatternErrors(refDestructuringErrors,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.parseParenArrowList(startPos,startLoc,exprList);exprList.length&&!lastIsComma||this.unexpected(this.lastTokStart),spreadStart&&this.unexpected(spreadStart),this.checkExpressionErrors(refDestructuringErrors,!0),this.yieldPos=oldYieldPos||this.yieldPos,this.awaitPos=oldAwaitPos||this.awaitPos,exprList.length>1?((val=this.startNodeAt(innerStartPos,innerStartLoc)).expressions=exprList,this.finishNodeAt(val,"SequenceExpression",innerEndPos,innerEndLoc)):val=exprList[0]}else val=this.parseParenExpression();if(this.options.preserveParens){var par=this.startNodeAt(startPos,startLoc);return par.expression=val,this.finishNode(par,"ParenthesizedExpression")}return val},pp$3.parseParenItem=function(item){return item},pp$3.parseParenArrowList=function(startPos,startLoc,exprList){return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList)};var empty$1=[];pp$3.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var node=this.startNode(),meta=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(types.dot)){node.meta=meta;var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"target"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for new is 'new.target'"),containsEsc&&this.raiseRecoverable(node.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(node.start,"'new.target' can only be used in functions"),this.finishNode(node,"MetaProperty")}var startPos=this.start,startLoc=this.startLoc,isImport=this.type===types._import;return node.callee=this.parseSubscripts(this.parseExprAtom(),startPos,startLoc,!0),isImport&&"ImportExpression"===node.callee.type&&this.raise(startPos,"Cannot use new with import()"),this.eat(types.parenL)?node.arguments=this.parseExprList(types.parenR,this.options.ecmaVersion>=8,!1):node.arguments=empty$1,this.finishNode(node,"NewExpression")},pp$3.parseTemplateElement=function(ref){var isTagged=ref.isTagged,elem=this.startNode();return this.type===types.invalidTemplate?(isTagged||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),elem.value={raw:this.value,cooked:null}):elem.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),elem.tail=this.type===types.backQuote,this.finishNode(elem,"TemplateElement")},pp$3.parseTemplate=function(ref){void 0===ref&&(ref={});var isTagged=ref.isTagged;void 0===isTagged&&(isTagged=!1);var node=this.startNode();this.next(),node.expressions=[];var curElt=this.parseTemplateElement({isTagged:isTagged});for(node.quasis=[curElt];!curElt.tail;)this.type===types.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(types.dollarBraceL),node.expressions.push(this.parseExpression()),this.expect(types.braceR),node.quasis.push(curElt=this.parseTemplateElement({isTagged:isTagged}));return this.next(),this.finishNode(node,"TemplateLiteral")},pp$3.isAsyncProp=function(prop){return!prop.computed&&"Identifier"===prop.key.type&&"async"===prop.key.name&&(this.type===types.name||this.type===types.num||this.type===types.string||this.type===types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===types.star)&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp$3.parseObj=function(isPattern,refDestructuringErrors){var node=this.startNode(),first=!0,propHash={};for(node.properties=[],this.next();!this.eat(types.braceR);){if(first)first=!1;else if(this.expect(types.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(types.braceR))break;var prop=this.parseProperty(isPattern,refDestructuringErrors);isPattern||this.checkPropClash(prop,propHash,refDestructuringErrors),node.properties.push(prop)}return this.finishNode(node,isPattern?"ObjectPattern":"ObjectExpression")},pp$3.parseProperty=function(isPattern,refDestructuringErrors){var isGenerator,isAsync,startPos,startLoc,prop=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(types.ellipsis))return isPattern?(prop.argument=this.parseIdent(!1),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(prop,"RestElement")):(this.type===types.parenL&&refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&(refDestructuringErrors.parenthesizedAssign=this.start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=this.start)),prop.argument=this.parseMaybeAssign(!1,refDestructuringErrors),this.type===types.comma&&refDestructuringErrors&&refDestructuringErrors.trailingComma<0&&(refDestructuringErrors.trailingComma=this.start),this.finishNode(prop,"SpreadElement"));this.options.ecmaVersion>=6&&(prop.method=!1,prop.shorthand=!1,(isPattern||refDestructuringErrors)&&(startPos=this.start,startLoc=this.startLoc),isPattern||(isGenerator=this.eat(types.star)));var containsEsc=this.containsEsc;return this.parsePropertyName(prop),!isPattern&&!containsEsc&&this.options.ecmaVersion>=8&&!isGenerator&&this.isAsyncProp(prop)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star),this.parsePropertyName(prop,refDestructuringErrors)):isAsync=!1,this.parsePropertyValue(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc),this.finishNode(prop,"Property")},pp$3.parsePropertyValue=function(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc){if((isGenerator||isAsync)&&this.type===types.colon&&this.unexpected(),this.eat(types.colon))prop.value=isPattern?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,refDestructuringErrors),prop.kind="init";else if(this.options.ecmaVersion>=6&&this.type===types.parenL)isPattern&&this.unexpected(),prop.kind="init",prop.method=!0,prop.value=this.parseMethod(isGenerator,isAsync);else if(isPattern||containsEsc||!(this.options.ecmaVersion>=5)||prop.computed||"Identifier"!==prop.key.type||"get"!==prop.key.name&&"set"!==prop.key.name||this.type===types.comma||this.type===types.braceR||this.type===types.eq)this.options.ecmaVersion>=6&&!prop.computed&&"Identifier"===prop.key.type?((isGenerator||isAsync)&&this.unexpected(),this.checkUnreserved(prop.key),"await"!==prop.key.name||this.awaitIdentPos||(this.awaitIdentPos=startPos),prop.kind="init",isPattern?prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key):this.type===types.eq&&refDestructuringErrors?(refDestructuringErrors.shorthandAssign<0&&(refDestructuringErrors.shorthandAssign=this.start),prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key)):prop.value=prop.key,prop.shorthand=!0):this.unexpected();else{(isGenerator||isAsync)&&this.unexpected(),prop.kind=prop.key.name,this.parsePropertyName(prop),prop.value=this.parseMethod(!1);var paramCount="get"===prop.kind?0:1;if(prop.value.params.length!==paramCount){var start=prop.value.start;"get"===prop.kind?this.raiseRecoverable(start,"getter should have no params"):this.raiseRecoverable(start,"setter should have exactly one param")}else"set"===prop.kind&&"RestElement"===prop.value.params[0].type&&this.raiseRecoverable(prop.value.params[0].start,"Setter cannot use rest params")}},pp$3.parsePropertyName=function(prop){if(this.options.ecmaVersion>=6){if(this.eat(types.bracketL))return prop.computed=!0,prop.key=this.parseMaybeAssign(),this.expect(types.bracketR),prop.key;prop.computed=!1}return prop.key=this.type===types.num||this.type===types.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},pp$3.initFunction=function(node){node.id=null,this.options.ecmaVersion>=6&&(node.generator=node.expression=!1),this.options.ecmaVersion>=8&&(node.async=!1)},pp$3.parseMethod=function(isGenerator,isAsync,allowDirectSuper){var node=this.startNode(),oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.initFunction(node),this.options.ecmaVersion>=6&&(node.generator=isGenerator),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|functionFlags(isAsync,node.generator)|(allowDirectSuper?128:0)),this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(node,!1,!0),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"FunctionExpression")},pp$3.parseArrowExpression=function(node,params,isAsync){var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.enterScope(16|functionFlags(isAsync,!1)),this.initFunction(node),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,node.params=this.toAssignableList(params,!0),this.parseFunctionBody(node,!0,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"ArrowFunctionExpression")},pp$3.parseFunctionBody=function(node,isArrowFunction,isMethod){var isExpression=isArrowFunction&&this.type!==types.braceL,oldStrict=this.strict,useStrict=!1;if(isExpression)node.body=this.parseMaybeAssign(),node.expression=!0,this.checkParams(node,!1);else{var nonSimple=this.options.ecmaVersion>=7&&!this.isSimpleParamList(node.params);oldStrict&&!nonSimple||(useStrict=this.strictDirective(this.end))&&nonSimple&&this.raiseRecoverable(node.start,"Illegal 'use strict' directive in function with non-simple parameter list");var oldLabels=this.labels;this.labels=[],useStrict&&(this.strict=!0),this.checkParams(node,!oldStrict&&!useStrict&&!isArrowFunction&&!isMethod&&this.isSimpleParamList(node.params)),this.strict&&node.id&&this.checkLVal(node.id,5),node.body=this.parseBlock(!1,void 0,useStrict&&!oldStrict),node.expression=!1,this.adaptDirectivePrologue(node.body.body),this.labels=oldLabels}this.exitScope()},pp$3.isSimpleParamList=function(params){for(var i=0,list=params;i-1||scope.functions.indexOf(name)>-1||scope.var.indexOf(name)>-1,scope.lexical.push(name),this.inModule&&1&scope.flags&&delete this.undefinedExports[name]}else if(4===bindingType){this.currentScope().lexical.push(name)}else if(3===bindingType){var scope$2=this.currentScope();redeclared=this.treatFunctionsAsVar?scope$2.lexical.indexOf(name)>-1:scope$2.lexical.indexOf(name)>-1||scope$2.var.indexOf(name)>-1,scope$2.functions.push(name)}else for(var i=this.scopeStack.length-1;i>=0;--i){var scope$3=this.scopeStack[i];if(scope$3.lexical.indexOf(name)>-1&&!(32&scope$3.flags&&scope$3.lexical[0]===name)||!this.treatFunctionsAsVarInScope(scope$3)&&scope$3.functions.indexOf(name)>-1){redeclared=!0;break}if(scope$3.var.push(name),this.inModule&&1&scope$3.flags&&delete this.undefinedExports[name],3&scope$3.flags)break}redeclared&&this.raiseRecoverable(pos,"Identifier '"+name+"' has already been declared")},pp$5.checkLocalExport=function(id){-1===this.scopeStack[0].lexical.indexOf(id.name)&&-1===this.scopeStack[0].var.indexOf(id.name)&&(this.undefinedExports[id.name]=id)},pp$5.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},pp$5.currentVarScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(3&scope.flags)return scope}},pp$5.currentThisScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(3&scope.flags&&!(16&scope.flags))return scope}};var Node=function Node(parser,pos,loc){this.type="",this.start=pos,this.end=0,parser.options.locations&&(this.loc=new SourceLocation(parser,loc)),parser.options.directSourceFile&&(this.sourceFile=parser.options.directSourceFile),parser.options.ranges&&(this.range=[pos,0])},pp$6=Parser.prototype;function finishNodeAt(node,type,pos,loc){return node.type=type,node.end=pos,this.options.locations&&(node.loc.end=loc),this.options.ranges&&(node.range[1]=pos),node}pp$6.startNode=function(){return new Node(this,this.start,this.startLoc)},pp$6.startNodeAt=function(pos,loc){return new Node(this,pos,loc)},pp$6.finishNode=function(node,type){return finishNodeAt.call(this,node,type,this.lastTokEnd,this.lastTokEndLoc)},pp$6.finishNodeAt=function(node,type,pos,loc){return finishNodeAt.call(this,node,type,pos,loc)};var TokContext=function TokContext(token,isExpr,preserveSpace,override,generator){this.token=token,this.isExpr=!!isExpr,this.preserveSpace=!!preserveSpace,this.override=override,this.generator=!!generator},types$1={b_stat:new TokContext("{",!1),b_expr:new TokContext("{",!0),b_tmpl:new TokContext("${",!1),p_stat:new TokContext("(",!1),p_expr:new TokContext("(",!0),q_tmpl:new TokContext("`",!0,!0,(function(p){return p.tryReadTemplateToken()})),f_stat:new TokContext("function",!1),f_expr:new TokContext("function",!0),f_expr_gen:new TokContext("function",!0,!1,null,!0),f_gen:new TokContext("function",!1,!1,null,!0)},pp$7=Parser.prototype;pp$7.initialContext=function(){return[types$1.b_stat]},pp$7.braceIsBlock=function(prevType){var parent=this.curContext();return parent===types$1.f_expr||parent===types$1.f_stat||(prevType!==types.colon||parent!==types$1.b_stat&&parent!==types$1.b_expr?prevType===types._return||prevType===types.name&&this.exprAllowed?lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):prevType===types._else||prevType===types.semi||prevType===types.eof||prevType===types.parenR||prevType===types.arrow||(prevType===types.braceL?parent===types$1.b_stat:prevType!==types._var&&prevType!==types._const&&prevType!==types.name&&!this.exprAllowed):!parent.isExpr)},pp$7.inGeneratorContext=function(){for(var i=this.context.length-1;i>=1;i--){var context=this.context[i];if("function"===context.token)return context.generator}return!1},pp$7.updateContext=function(prevType){var update,type=this.type;type.keyword&&prevType===types.dot?this.exprAllowed=!1:(update=type.updateContext)?update.call(this,prevType):this.exprAllowed=type.beforeExpr},types.parenR.updateContext=types.braceR.updateContext=function(){if(1!==this.context.length){var out=this.context.pop();out===types$1.b_stat&&"function"===this.curContext().token&&(out=this.context.pop()),this.exprAllowed=!out.isExpr}else this.exprAllowed=!0},types.braceL.updateContext=function(prevType){this.context.push(this.braceIsBlock(prevType)?types$1.b_stat:types$1.b_expr),this.exprAllowed=!0},types.dollarBraceL.updateContext=function(){this.context.push(types$1.b_tmpl),this.exprAllowed=!0},types.parenL.updateContext=function(prevType){var statementParens=prevType===types._if||prevType===types._for||prevType===types._with||prevType===types._while;this.context.push(statementParens?types$1.p_stat:types$1.p_expr),this.exprAllowed=!0},types.incDec.updateContext=function(){},types._function.updateContext=types._class.updateContext=function(prevType){!prevType.beforeExpr||prevType===types.semi||prevType===types._else||prevType===types._return&&lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(prevType===types.colon||prevType===types.braceL)&&this.curContext()===types$1.b_stat?this.context.push(types$1.f_stat):this.context.push(types$1.f_expr),this.exprAllowed=!1},types.backQuote.updateContext=function(){this.curContext()===types$1.q_tmpl?this.context.pop():this.context.push(types$1.q_tmpl),this.exprAllowed=!1},types.star.updateContext=function(prevType){if(prevType===types._function){var index=this.context.length-1;this.context[index]===types$1.f_expr?this.context[index]=types$1.f_expr_gen:this.context[index]=types$1.f_gen}this.exprAllowed=!0},types.name.updateContext=function(prevType){var allowed=!1;this.options.ecmaVersion>=6&&prevType!==types.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(allowed=!0),this.exprAllowed=allowed};var ecma9BinaryProperties="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ecma10BinaryProperties=ecma9BinaryProperties+" Extended_Pictographic",unicodeBinaryProperties={9:ecma9BinaryProperties,10:ecma10BinaryProperties,11:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic"},unicodeGeneralCategoryValues="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ecma9ScriptValues="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ecma10ScriptValues=ecma9ScriptValues+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",unicodeScriptValues={9:ecma9ScriptValues,10:ecma10ScriptValues,11:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},data={};function buildUnicodeData(ecmaVersion){var d=data[ecmaVersion]={binary:wordsRegexp(unicodeBinaryProperties[ecmaVersion]+" "+unicodeGeneralCategoryValues),nonBinary:{General_Category:wordsRegexp(unicodeGeneralCategoryValues),Script:wordsRegexp(unicodeScriptValues[ecmaVersion])}};d.nonBinary.Script_Extensions=d.nonBinary.Script,d.nonBinary.gc=d.nonBinary.General_Category,d.nonBinary.sc=d.nonBinary.Script,d.nonBinary.scx=d.nonBinary.Script_Extensions}buildUnicodeData(9),buildUnicodeData(10),buildUnicodeData(11);var pp$8=Parser.prototype,RegExpValidationState=function RegExpValidationState(parser){this.parser=parser,this.validFlags="gim"+(parser.options.ecmaVersion>=6?"uy":"")+(parser.options.ecmaVersion>=9?"s":""),this.unicodeProperties=data[parser.options.ecmaVersion>=11?11:parser.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString(ch){return ch<=65535?String.fromCharCode(ch):(ch-=65536,String.fromCharCode(55296+(ch>>10),56320+(1023&ch)))}function isSyntaxCharacter(ch){return 36===ch||ch>=40&&ch<=43||46===ch||63===ch||ch>=91&&ch<=94||ch>=123&&ch<=125}function isControlLetter(ch){return ch>=65&&ch<=90||ch>=97&&ch<=122}function isUnicodePropertyNameCharacter(ch){return isControlLetter(ch)||95===ch}function isUnicodePropertyValueCharacter(ch){return isUnicodePropertyNameCharacter(ch)||isDecimalDigit(ch)}function isDecimalDigit(ch){return ch>=48&&ch<=57}function isHexDigit(ch){return ch>=48&&ch<=57||ch>=65&&ch<=70||ch>=97&&ch<=102}function hexToInt(ch){return ch>=65&&ch<=70?ch-65+10:ch>=97&&ch<=102?ch-97+10:ch-48}function isOctalDigit(ch){return ch>=48&&ch<=55}RegExpValidationState.prototype.reset=function reset(start,pattern,flags){var unicode=-1!==flags.indexOf("u");this.start=0|start,this.source=pattern+"",this.flags=flags,this.switchU=unicode&&this.parser.options.ecmaVersion>=6,this.switchN=unicode&&this.parser.options.ecmaVersion>=9},RegExpValidationState.prototype.raise=function raise(message){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+message)},RegExpValidationState.prototype.at=function at(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return-1;var c=s.charCodeAt(i);if(!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l)return c;var next=s.charCodeAt(i+1);return next>=56320&&next<=57343?(c<<10)+next-56613888:c},RegExpValidationState.prototype.nextIndex=function nextIndex(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return l;var next,c=s.charCodeAt(i);return!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l||(next=s.charCodeAt(i+1))<56320||next>57343?i+1:i+2},RegExpValidationState.prototype.current=function current(forceU){return void 0===forceU&&(forceU=!1),this.at(this.pos,forceU)},RegExpValidationState.prototype.lookahead=function lookahead(forceU){return void 0===forceU&&(forceU=!1),this.at(this.nextIndex(this.pos,forceU),forceU)},RegExpValidationState.prototype.advance=function advance(forceU){void 0===forceU&&(forceU=!1),this.pos=this.nextIndex(this.pos,forceU)},RegExpValidationState.prototype.eat=function eat(ch,forceU){return void 0===forceU&&(forceU=!1),this.current(forceU)===ch&&(this.advance(forceU),!0)},pp$8.validateRegExpFlags=function(state){for(var validFlags=state.validFlags,flags=state.flags,i=0;i-1&&this.raise(state.start,"Duplicate regular expression flag")}},pp$8.validateRegExpPattern=function(state){this.regexp_pattern(state),!state.switchN&&this.options.ecmaVersion>=9&&state.groupNames.length>0&&(state.switchN=!0,this.regexp_pattern(state))},pp$8.regexp_pattern=function(state){state.pos=0,state.lastIntValue=0,state.lastStringValue="",state.lastAssertionIsQuantifiable=!1,state.numCapturingParens=0,state.maxBackReference=0,state.groupNames.length=0,state.backReferenceNames.length=0,this.regexp_disjunction(state),state.pos!==state.source.length&&(state.eat(41)&&state.raise("Unmatched ')'"),(state.eat(93)||state.eat(125))&&state.raise("Lone quantifier brackets")),state.maxBackReference>state.numCapturingParens&&state.raise("Invalid escape");for(var i=0,list=state.backReferenceNames;i=9&&(lookbehind=state.eat(60)),state.eat(61)||state.eat(33))return this.regexp_disjunction(state),state.eat(41)||state.raise("Unterminated group"),state.lastAssertionIsQuantifiable=!lookbehind,!0}return state.pos=start,!1},pp$8.regexp_eatQuantifier=function(state,noError){return void 0===noError&&(noError=!1),!!this.regexp_eatQuantifierPrefix(state,noError)&&(state.eat(63),!0)},pp$8.regexp_eatQuantifierPrefix=function(state,noError){return state.eat(42)||state.eat(43)||state.eat(63)||this.regexp_eatBracedQuantifier(state,noError)},pp$8.regexp_eatBracedQuantifier=function(state,noError){var start=state.pos;if(state.eat(123)){var min=0,max=-1;if(this.regexp_eatDecimalDigits(state)&&(min=state.lastIntValue,state.eat(44)&&this.regexp_eatDecimalDigits(state)&&(max=state.lastIntValue),state.eat(125)))return-1!==max&&max=9?this.regexp_groupSpecifier(state):63===state.current()&&state.raise("Invalid group"),this.regexp_disjunction(state),state.eat(41))return state.numCapturingParens+=1,!0;state.raise("Unterminated group")}return!1},pp$8.regexp_eatExtendedAtom=function(state){return state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)||this.regexp_eatInvalidBracedQuantifier(state)||this.regexp_eatExtendedPatternCharacter(state)},pp$8.regexp_eatInvalidBracedQuantifier=function(state){return this.regexp_eatBracedQuantifier(state,!0)&&state.raise("Nothing to repeat"),!1},pp$8.regexp_eatSyntaxCharacter=function(state){var ch=state.current();return!!isSyntaxCharacter(ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatPatternCharacters=function(state){for(var start=state.pos,ch=0;-1!==(ch=state.current())&&!isSyntaxCharacter(ch);)state.advance();return state.pos!==start},pp$8.regexp_eatExtendedPatternCharacter=function(state){var ch=state.current();return!(-1===ch||36===ch||ch>=40&&ch<=43||46===ch||63===ch||91===ch||94===ch||124===ch)&&(state.advance(),!0)},pp$8.regexp_groupSpecifier=function(state){if(state.eat(63)){if(this.regexp_eatGroupName(state))return-1!==state.groupNames.indexOf(state.lastStringValue)&&state.raise("Duplicate capture group name"),void state.groupNames.push(state.lastStringValue);state.raise("Invalid group")}},pp$8.regexp_eatGroupName=function(state){if(state.lastStringValue="",state.eat(60)){if(this.regexp_eatRegExpIdentifierName(state)&&state.eat(62))return!0;state.raise("Invalid capture group name")}return!1},pp$8.regexp_eatRegExpIdentifierName=function(state){if(state.lastStringValue="",this.regexp_eatRegExpIdentifierStart(state)){for(state.lastStringValue+=codePointToString(state.lastIntValue);this.regexp_eatRegExpIdentifierPart(state);)state.lastStringValue+=codePointToString(state.lastIntValue);return!0}return!1},pp$8.regexp_eatRegExpIdentifierStart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),function isRegExpIdentifierStart(ch){return isIdentifierStart(ch,!0)||36===ch||95===ch}(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatRegExpIdentifierPart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),function isRegExpIdentifierPart(ch){return isIdentifierChar(ch,!0)||36===ch||95===ch||8204===ch||8205===ch}(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatAtomEscape=function(state){return!!(this.regexp_eatBackReference(state)||this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)||state.switchN&&this.regexp_eatKGroupName(state))||(state.switchU&&(99===state.current()&&state.raise("Invalid unicode escape"),state.raise("Invalid escape")),!1)},pp$8.regexp_eatBackReference=function(state){var start=state.pos;if(this.regexp_eatDecimalEscape(state)){var n=state.lastIntValue;if(state.switchU)return n>state.maxBackReference&&(state.maxBackReference=n),!0;if(n<=state.numCapturingParens)return!0;state.pos=start}return!1},pp$8.regexp_eatKGroupName=function(state){if(state.eat(107)){if(this.regexp_eatGroupName(state))return state.backReferenceNames.push(state.lastStringValue),!0;state.raise("Invalid named reference")}return!1},pp$8.regexp_eatCharacterEscape=function(state){return this.regexp_eatControlEscape(state)||this.regexp_eatCControlLetter(state)||this.regexp_eatZero(state)||this.regexp_eatHexEscapeSequence(state)||this.regexp_eatRegExpUnicodeEscapeSequence(state,!1)||!state.switchU&&this.regexp_eatLegacyOctalEscapeSequence(state)||this.regexp_eatIdentityEscape(state)},pp$8.regexp_eatCControlLetter=function(state){var start=state.pos;if(state.eat(99)){if(this.regexp_eatControlLetter(state))return!0;state.pos=start}return!1},pp$8.regexp_eatZero=function(state){return 48===state.current()&&!isDecimalDigit(state.lookahead())&&(state.lastIntValue=0,state.advance(),!0)},pp$8.regexp_eatControlEscape=function(state){var ch=state.current();return 116===ch?(state.lastIntValue=9,state.advance(),!0):110===ch?(state.lastIntValue=10,state.advance(),!0):118===ch?(state.lastIntValue=11,state.advance(),!0):102===ch?(state.lastIntValue=12,state.advance(),!0):114===ch&&(state.lastIntValue=13,state.advance(),!0)},pp$8.regexp_eatControlLetter=function(state){var ch=state.current();return!!isControlLetter(ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$8.regexp_eatRegExpUnicodeEscapeSequence=function(state,forceU){void 0===forceU&&(forceU=!1);var start=state.pos,switchU=forceU||state.switchU;if(state.eat(117)){if(this.regexp_eatFixedHexDigits(state,4)){var lead=state.lastIntValue;if(switchU&&lead>=55296&&lead<=56319){var leadSurrogateEnd=state.pos;if(state.eat(92)&&state.eat(117)&&this.regexp_eatFixedHexDigits(state,4)){var trail=state.lastIntValue;if(trail>=56320&&trail<=57343)return state.lastIntValue=1024*(lead-55296)+(trail-56320)+65536,!0}state.pos=leadSurrogateEnd,state.lastIntValue=lead}return!0}if(switchU&&state.eat(123)&&this.regexp_eatHexDigits(state)&&state.eat(125)&&function isValidUnicode(ch){return ch>=0&&ch<=1114111}(state.lastIntValue))return!0;switchU&&state.raise("Invalid unicode escape"),state.pos=start}return!1},pp$8.regexp_eatIdentityEscape=function(state){if(state.switchU)return!!this.regexp_eatSyntaxCharacter(state)||!!state.eat(47)&&(state.lastIntValue=47,!0);var ch=state.current();return!(99===ch||state.switchN&&107===ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatDecimalEscape=function(state){state.lastIntValue=0;var ch=state.current();if(ch>=49&&ch<=57){do{state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance()}while((ch=state.current())>=48&&ch<=57);return!0}return!1},pp$8.regexp_eatCharacterClassEscape=function(state){var ch=state.current();if(function isCharacterClassEscape(ch){return 100===ch||68===ch||115===ch||83===ch||119===ch||87===ch}(ch))return state.lastIntValue=-1,state.advance(),!0;if(state.switchU&&this.options.ecmaVersion>=9&&(80===ch||112===ch)){if(state.lastIntValue=-1,state.advance(),state.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(state)&&state.eat(125))return!0;state.raise("Invalid property name")}return!1},pp$8.regexp_eatUnicodePropertyValueExpression=function(state){var start=state.pos;if(this.regexp_eatUnicodePropertyName(state)&&state.eat(61)){var name=state.lastStringValue;if(this.regexp_eatUnicodePropertyValue(state)){var value=state.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(state,name,value),!0}}if(state.pos=start,this.regexp_eatLoneUnicodePropertyNameOrValue(state)){var nameOrValue=state.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(state,nameOrValue),!0}return!1},pp$8.regexp_validateUnicodePropertyNameAndValue=function(state,name,value){has(state.unicodeProperties.nonBinary,name)||state.raise("Invalid property name"),state.unicodeProperties.nonBinary[name].test(value)||state.raise("Invalid property value")},pp$8.regexp_validateUnicodePropertyNameOrValue=function(state,nameOrValue){state.unicodeProperties.binary.test(nameOrValue)||state.raise("Invalid property name")},pp$8.regexp_eatUnicodePropertyName=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyNameCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatUnicodePropertyValue=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyValueCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatLoneUnicodePropertyNameOrValue=function(state){return this.regexp_eatUnicodePropertyValue(state)},pp$8.regexp_eatCharacterClass=function(state){if(state.eat(91)){if(state.eat(94),this.regexp_classRanges(state),state.eat(93))return!0;state.raise("Unterminated character class")}return!1},pp$8.regexp_classRanges=function(state){for(;this.regexp_eatClassAtom(state);){var left=state.lastIntValue;if(state.eat(45)&&this.regexp_eatClassAtom(state)){var right=state.lastIntValue;!state.switchU||-1!==left&&-1!==right||state.raise("Invalid character class"),-1!==left&&-1!==right&&left>right&&state.raise("Range out of order in character class")}}},pp$8.regexp_eatClassAtom=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatClassEscape(state))return!0;if(state.switchU){var ch$1=state.current();(99===ch$1||isOctalDigit(ch$1))&&state.raise("Invalid class escape"),state.raise("Invalid escape")}state.pos=start}var ch=state.current();return 93!==ch&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatClassEscape=function(state){var start=state.pos;if(state.eat(98))return state.lastIntValue=8,!0;if(state.switchU&&state.eat(45))return state.lastIntValue=45,!0;if(!state.switchU&&state.eat(99)){if(this.regexp_eatClassControlLetter(state))return!0;state.pos=start}return this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)},pp$8.regexp_eatClassControlLetter=function(state){var ch=state.current();return!(!isDecimalDigit(ch)&&95!==ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$8.regexp_eatHexEscapeSequence=function(state){var start=state.pos;if(state.eat(120)){if(this.regexp_eatFixedHexDigits(state,2))return!0;state.switchU&&state.raise("Invalid escape"),state.pos=start}return!1},pp$8.regexp_eatDecimalDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isDecimalDigit(ch=state.current());)state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance();return state.pos!==start},pp$8.regexp_eatHexDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isHexDigit(ch=state.current());)state.lastIntValue=16*state.lastIntValue+hexToInt(ch),state.advance();return state.pos!==start},pp$8.regexp_eatLegacyOctalEscapeSequence=function(state){if(this.regexp_eatOctalDigit(state)){var n1=state.lastIntValue;if(this.regexp_eatOctalDigit(state)){var n2=state.lastIntValue;n1<=3&&this.regexp_eatOctalDigit(state)?state.lastIntValue=64*n1+8*n2+state.lastIntValue:state.lastIntValue=8*n1+n2}else state.lastIntValue=n1;return!0}return!1},pp$8.regexp_eatOctalDigit=function(state){var ch=state.current();return isOctalDigit(ch)?(state.lastIntValue=ch-48,state.advance(),!0):(state.lastIntValue=0,!1)},pp$8.regexp_eatFixedHexDigits=function(state,length){var start=state.pos;state.lastIntValue=0;for(var i=0;i>10),56320+(1023&code)))}pp$9.next=function(ignoreEscapeSequenceInKeyword){!ignoreEscapeSequenceInKeyword&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Token(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},pp$9.getToken=function(){return this.next(),new Token(this)},"undefined"!=typeof Symbol&&(pp$9[Symbol.iterator]=function(){var this$1=this;return{next:function(){var token=this$1.getToken();return{done:token.type===types.eof,value:token}}}}),pp$9.curContext=function(){return this.context[this.context.length-1]},pp$9.nextToken=function(){var curContext=this.curContext();return curContext&&curContext.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(types.eof):curContext.override?curContext.override(this):void this.readToken(this.fullCharCodeAtPos())},pp$9.readToken=function(code){return isIdentifierStart(code,this.options.ecmaVersion>=6)||92===code?this.readWord():this.getTokenFromCode(code)},pp$9.fullCharCodeAtPos=function(){var code=this.input.charCodeAt(this.pos);return code<=55295||code>=57344?code:(code<<10)+this.input.charCodeAt(this.pos+1)-56613888},pp$9.skipBlockComment=function(){var match,startLoc=this.options.onComment&&this.curPosition(),start=this.pos,end=this.input.indexOf("*/",this.pos+=2);if(-1===end&&this.raise(this.pos-2,"Unterminated comment"),this.pos=end+2,this.options.locations)for(lineBreakG.lastIndex=start;(match=lineBreakG.exec(this.input))&&match.index8&&ch<14||ch>=5760&&nonASCIIwhitespace.test(String.fromCharCode(ch))))break loop;++this.pos}}},pp$9.finishToken=function(type,val){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var prevType=this.type;this.type=type,this.value=val,this.updateContext(prevType)},pp$9.readToken_dot=function(){var next=this.input.charCodeAt(this.pos+1);if(next>=48&&next<=57)return this.readNumber(!0);var next2=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===next&&46===next2?(this.pos+=3,this.finishToken(types.ellipsis)):(++this.pos,this.finishToken(types.dot))},pp$9.readToken_slash=function(){var next=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===next?this.finishOp(types.assign,2):this.finishOp(types.slash,1)},pp$9.readToken_mult_modulo_exp=function(code){var next=this.input.charCodeAt(this.pos+1),size=1,tokentype=42===code?types.star:types.modulo;return this.options.ecmaVersion>=7&&42===code&&42===next&&(++size,tokentype=types.starstar,next=this.input.charCodeAt(this.pos+2)),61===next?this.finishOp(types.assign,size+1):this.finishOp(tokentype,size)},pp$9.readToken_pipe_amp=function(code){var next=this.input.charCodeAt(this.pos+1);if(next===code){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(types.assign,3);return this.finishOp(124===code?types.logicalOR:types.logicalAND,2)}return 61===next?this.finishOp(types.assign,2):this.finishOp(124===code?types.bitwiseOR:types.bitwiseAND,1)},pp$9.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(types.assign,2):this.finishOp(types.bitwiseXOR,1)},pp$9.readToken_plus_min=function(code){var next=this.input.charCodeAt(this.pos+1);return next===code?45!==next||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(types.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===next?this.finishOp(types.assign,2):this.finishOp(types.plusMin,1)},pp$9.readToken_lt_gt=function(code){var next=this.input.charCodeAt(this.pos+1),size=1;return next===code?(size=62===code&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+size)?this.finishOp(types.assign,size+1):this.finishOp(types.bitShift,size)):33!==next||60!==code||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===next&&(size=2),this.finishOp(types.relational,size)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},pp$9.readToken_eq_excl=function(code){var next=this.input.charCodeAt(this.pos+1);return 61===next?this.finishOp(types.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===code&&62===next&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(types.arrow)):this.finishOp(61===code?types.eq:types.prefix,1)},pp$9.readToken_question=function(){var ecmaVersion=this.options.ecmaVersion;if(ecmaVersion>=11){var next=this.input.charCodeAt(this.pos+1);if(46===next){var next2=this.input.charCodeAt(this.pos+2);if(next2<48||next2>57)return this.finishOp(types.questionDot,2)}if(63===next){if(ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(types.assign,3);return this.finishOp(types.coalesce,2)}}return this.finishOp(types.question,1)},pp$9.getTokenFromCode=function(code){switch(code){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(types.parenL);case 41:return++this.pos,this.finishToken(types.parenR);case 59:return++this.pos,this.finishToken(types.semi);case 44:return++this.pos,this.finishToken(types.comma);case 91:return++this.pos,this.finishToken(types.bracketL);case 93:return++this.pos,this.finishToken(types.bracketR);case 123:return++this.pos,this.finishToken(types.braceL);case 125:return++this.pos,this.finishToken(types.braceR);case 58:return++this.pos,this.finishToken(types.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(types.backQuote);case 48:var next=this.input.charCodeAt(this.pos+1);if(120===next||88===next)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===next||79===next)return this.readRadixNumber(8);if(98===next||66===next)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(code);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(code);case 124:case 38:return this.readToken_pipe_amp(code);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(code);case 60:case 62:return this.readToken_lt_gt(code);case 61:case 33:return this.readToken_eq_excl(code);case 63:return this.readToken_question();case 126:return this.finishOp(types.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(code)+"'")},pp$9.finishOp=function(type,size){var str=this.input.slice(this.pos,this.pos+size);return this.pos+=size,this.finishToken(type,str)},pp$9.readRegexp=function(){for(var escaped,inClass,start=this.pos;;){this.pos>=this.input.length&&this.raise(start,"Unterminated regular expression");var ch=this.input.charAt(this.pos);if(lineBreak.test(ch)&&this.raise(start,"Unterminated regular expression"),escaped)escaped=!1;else{if("["===ch)inClass=!0;else if("]"===ch&&inClass)inClass=!1;else if("/"===ch&&!inClass)break;escaped="\\"===ch}++this.pos}var pattern=this.input.slice(start,this.pos);++this.pos;var flagsStart=this.pos,flags=this.readWord1();this.containsEsc&&this.unexpected(flagsStart);var state=this.regexpState||(this.regexpState=new RegExpValidationState(this));state.reset(start,pattern,flags),this.validateRegExpFlags(state),this.validateRegExpPattern(state);var value=null;try{value=new RegExp(pattern,flags)}catch(e){}return this.finishToken(types.regexp,{pattern:pattern,flags:flags,value:value})},pp$9.readInt=function(radix,len,maybeLegacyOctalNumericLiteral){for(var allowSeparators=this.options.ecmaVersion>=12&&void 0===len,isLegacyOctalNumericLiteral=maybeLegacyOctalNumericLiteral&&48===this.input.charCodeAt(this.pos),start=this.pos,total=0,lastCode=0,i=0,e=null==len?1/0:len;i=97?code-97+10:code>=65?code-65+10:code>=48&&code<=57?code-48:1/0)>=radix)break;lastCode=code,total=total*radix+val}}return allowSeparators&&95===lastCode&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===start||null!=len&&this.pos-start!==len?null:total},pp$9.readRadixNumber=function(radix){var start=this.pos;this.pos+=2;var val=this.readInt(radix);return null==val&&this.raise(this.start+2,"Expected number in radix "+radix),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(val=stringToBigInt(this.input.slice(start,this.pos)),++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val)},pp$9.readNumber=function(startsWithDot){var start=this.pos;startsWithDot||null!==this.readInt(10,void 0,!0)||this.raise(start,"Invalid number");var octal=this.pos-start>=2&&48===this.input.charCodeAt(start);octal&&this.strict&&this.raise(start,"Invalid number");var next=this.input.charCodeAt(this.pos);if(!octal&&!startsWithDot&&this.options.ecmaVersion>=11&&110===next){var val$1=stringToBigInt(this.input.slice(start,this.pos));return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val$1)}octal&&/[89]/.test(this.input.slice(start,this.pos))&&(octal=!1),46!==next||octal||(++this.pos,this.readInt(10),next=this.input.charCodeAt(this.pos)),69!==next&&101!==next||octal||(43!==(next=this.input.charCodeAt(++this.pos))&&45!==next||++this.pos,null===this.readInt(10)&&this.raise(start,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var val=function stringToNumber(str,isLegacyOctalNumericLiteral){return isLegacyOctalNumericLiteral?parseInt(str,8):parseFloat(str.replace(/_/g,""))}(this.input.slice(start,this.pos),octal);return this.finishToken(types.num,val)},pp$9.readCodePoint=function(){var code;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var codePos=++this.pos;code=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,code>1114111&&this.invalidStringToken(codePos,"Code point out of bounds")}else code=this.readHexChar(4);return code},pp$9.readString=function(quote){for(var out="",chunkStart=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var ch=this.input.charCodeAt(this.pos);if(ch===quote)break;92===ch?(out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!1),chunkStart=this.pos):(isNewLine(ch,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(types.string,out)};var INVALID_TEMPLATE_ESCAPE_ERROR={};pp$9.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(err){if(err!==INVALID_TEMPLATE_ESCAPE_ERROR)throw err;this.readInvalidTemplateToken()}this.inTemplateElement=!1},pp$9.invalidStringToken=function(position,message){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw INVALID_TEMPLATE_ESCAPE_ERROR;this.raise(position,message)},pp$9.readTmplToken=function(){for(var out="",chunkStart=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var ch=this.input.charCodeAt(this.pos);if(96===ch||36===ch&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==types.template&&this.type!==types.invalidTemplate?(out+=this.input.slice(chunkStart,this.pos),this.finishToken(types.template,out)):36===ch?(this.pos+=2,this.finishToken(types.dollarBraceL)):(++this.pos,this.finishToken(types.backQuote));if(92===ch)out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!0),chunkStart=this.pos;else if(isNewLine(ch)){switch(out+=this.input.slice(chunkStart,this.pos),++this.pos,ch){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:out+="\n";break;default:out+=String.fromCharCode(ch)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),chunkStart=this.pos}else++this.pos}},pp$9.readInvalidTemplateToken=function(){for(;this.pos=48&&ch<=55){var octalStr=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],octal=parseInt(octalStr,8);return octal>255&&(octalStr=octalStr.slice(0,-1),octal=parseInt(octalStr,8)),this.pos+=octalStr.length-1,ch=this.input.charCodeAt(this.pos),"0"===octalStr&&56!==ch&&57!==ch||!this.strict&&!inTemplate||this.invalidStringToken(this.pos-1-octalStr.length,inTemplate?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(octal)}return isNewLine(ch)?"":String.fromCharCode(ch)}},pp$9.readHexChar=function(len){var codePos=this.pos,n=this.readInt(16,len);return null===n&&this.invalidStringToken(codePos,"Bad character escape sequence"),n},pp$9.readWord1=function(){this.containsEsc=!1;for(var word="",first=!0,chunkStart=this.pos,astral=this.options.ecmaVersion>=6;this.pos")}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CYCLIC_KEY=exports.EVENT_ID=exports.PANEL_ID=exports.ADDON_ID=exports.PARAM_KEY=void 0;exports.PARAM_KEY="actions";var ADDON_ID="storybook/actions";exports.ADDON_ID=ADDON_ID;var PANEL_ID="".concat(ADDON_ID,"/panel");exports.PANEL_ID=PANEL_ID;var EVENT_ID="".concat(ADDON_ID,"/action-event");exports.EVENT_ID=EVENT_ID;exports.CYCLIC_KEY="$___storybook.isCyclic"},function(module,exports,__webpack_require__){"use strict";__webpack_require__(3),Object.defineProperty(exports,"__esModule",{value:!0}),exports.configureActions=exports.config=void 0;var config={depth:10,clearOnStoryChange:!0,limit:50};exports.config=config;exports.configureActions=function configureActions(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(config,options)}},function(module,exports,__webpack_require__){"use strict";var toStr=Object.prototype.toString;if(__webpack_require__(84)()){var symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/;module.exports=function isSymbol(value){if("symbol"==typeof value)return!0;if("[object Symbol]"!==toStr.call(value))return!1;try{return function isRealSymbolObject(value){return"symbol"==typeof value.valueOf()&&symStringRegex.test(symToStr.call(value))}(value)}catch(e){return!1}}}else module.exports=function isSymbol(value){return!1}},function(module,exports,__webpack_require__){var baseGet=__webpack_require__(329);module.exports=function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(255),reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,index=Object(_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__.a)((function(prop){return reactPropsRegex.test(prop)||111===prop.charCodeAt(0)&&110===prop.charCodeAt(1)&&prop.charCodeAt(2)<91}));__webpack_exports__.default=index},function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){var _freeGlobal_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(258),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&_freeGlobal_js__WEBPACK_IMPORTED_MODULE_0__.a.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();__webpack_exports__.a=nodeUtil}).call(this,__webpack_require__(352)(module))},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(1218)},function(module,exports,__webpack_require__){"use strict";var slice=Array.prototype.slice,isArgs=__webpack_require__(375),origKeys=Object.keys,keysShim=origKeys?function keys(o){return origKeys(o)}:__webpack_require__(583),originalKeys=Object.keys;keysShim.shim=function shimObjectKeys(){Object.keys?function(){var args=Object.keys(arguments);return args&&args.length===arguments.length}(1,2)||(Object.keys=function keys(object){return isArgs(object)?originalKeys(slice.call(object)):originalKeys(object)}):Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim},function(module,exports,__webpack_require__){"use strict";var toStr=Object.prototype.toString;module.exports=function isArguments(value){var str=toStr.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr.call(value.callee)),isArgs}},function(module,exports,__webpack_require__){"use strict";var hasPropertyDescriptors=__webpack_require__(200)(),GetIntrinsic=__webpack_require__(7),$defineProperty=hasPropertyDescriptors&&GetIntrinsic("%Object.defineProperty%",!0),$SyntaxError=GetIntrinsic("%SyntaxError%"),$TypeError=GetIntrinsic("%TypeError%"),gopd=__webpack_require__(377);module.exports=function defineDataProperty(obj,property,value){if(!obj||"object"!=typeof obj&&"function"!=typeof obj)throw new $TypeError("`obj` must be an object or a function`");if("string"!=typeof property&&"symbol"!=typeof property)throw new $TypeError("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new $TypeError("`loose`, if provided, must be a boolean");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6&&arguments[6],desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:null===nonConfigurable&&desc?desc.configurable:!nonConfigurable,enumerable:null===nonEnumerable&&desc?desc.enumerable:!nonEnumerable,value:value,writable:null===nonWritable&&desc?desc.writable:!nonWritable});else{if(!loose&&(nonEnumerable||nonWritable||nonConfigurable))throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");obj[property]=value}}},function(module,exports,__webpack_require__){"use strict";var $gOPD=__webpack_require__(7)("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch(e){$gOPD=null}module.exports=$gOPD},function(module,exports,__webpack_require__){"use strict";var badArrayLike,isCallableMarker,fnToStr=Function.prototype.toString,reflectApply="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof reflectApply&&"function"==typeof Object.defineProperty)try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply((function(){throw 42}),null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function isES6ClassFunction(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch(e){return!1}},tryFunctionObject=function tryFunctionToStr(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function isDocumentDotAll(){return!1};if("object"==typeof document){var all=document.all;toStr.call(all)===toStr.call(document.all)&&(isDDA=function isDocumentDotAll(value){if((isIE68||!value)&&(void 0===value||"object"==typeof value))try{var str=toStr.call(value);return("[object HTMLAllCollection]"===str||"[object HTML document.all class]"===str||"[object HTMLCollection]"===str||"[object Object]"===str)&&null==value("")}catch(e){}return!1})}module.exports=reflectApply?function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return!("[object Function]"!==strClass&&"[object GeneratorFunction]"!==strClass&&!/^\[object HTML/.test(strClass))&&tryFunctionObject(value)}},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),$TypeError=GetIntrinsic("%TypeError%"),$Number=GetIntrinsic("%Number%"),isPrimitive=__webpack_require__(380),ToPrimitive=__webpack_require__(381),StringToNumber=__webpack_require__(596);module.exports=function ToNumber(argument){var value=isPrimitive(argument)?argument:ToPrimitive(argument,$Number);if("symbol"==typeof value)throw new $TypeError("Cannot convert a Symbol value to a number");if("bigint"==typeof value)throw new $TypeError("Conversion from 'BigInt' to 'number' is not allowed.");return"string"==typeof value?StringToNumber(value):$Number(value)}},function(module,exports,__webpack_require__){"use strict";module.exports=function isPrimitive(value){return null===value||"function"!=typeof value&&"object"!=typeof value}},function(module,exports,__webpack_require__){"use strict";var toPrimitive=__webpack_require__(593);module.exports=function ToPrimitive(input){return arguments.length>1?toPrimitive(input,arguments[1]):toPrimitive(input)}},function(module,exports,__webpack_require__){"use strict";var RequireObjectCoercible=__webpack_require__(77),ToString=__webpack_require__(94),$replace=__webpack_require__(33)("String.prototype.replace"),mvsIsWS=/^\s$/.test("᠎"),leftWhitespace=mvsIsWS?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,rightWhitespace=mvsIsWS?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;module.exports=function trim(){var S=ToString(RequireObjectCoercible(this));return $replace($replace(S,leftWhitespace,""),rightWhitespace,"")}},function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__(382);module.exports=function getPolyfill(){return String.prototype.trim&&"​"==="​".trim()&&"᠎"==="᠎".trim()&&"_᠎"==="_᠎".trim()&&"᠎_"==="᠎_".trim()?String.prototype.trim:implementation}},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),floor=__webpack_require__(601),$TypeError=GetIntrinsic("%TypeError%");module.exports=function truncate(x){if("number"!=typeof x&&"bigint"!=typeof x)throw new $TypeError("argument must be a Number or a BigInt");var result=x<0?-floor(-x):floor(x);return 0===result?0:result}},function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__(617);module.exports=function getPolyfill(){return"function"==typeof Object.getOwnPropertyDescriptors?Object.getOwnPropertyDescriptors:implementation}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),IsPropertyKey=__webpack_require__(76),OrdinaryDefineOwnProperty=__webpack_require__(618),Type=__webpack_require__(28);module.exports=function CreateDataProperty(O,P,V){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return OrdinaryDefineOwnProperty(O,P,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":V,"[[Writable]]":!0})}},function(module,exports,__webpack_require__){"use strict";var has=__webpack_require__(85),$TypeError=__webpack_require__(7)("%TypeError%"),Type=__webpack_require__(28),ToBoolean=__webpack_require__(268),IsCallable=__webpack_require__(75);module.exports=function ToPropertyDescriptor(Obj){if("Object"!==Type(Obj))throw new $TypeError("ToPropertyDescriptor requires an object");var desc={};if(has(Obj,"enumerable")&&(desc["[[Enumerable]]"]=ToBoolean(Obj.enumerable)),has(Obj,"configurable")&&(desc["[[Configurable]]"]=ToBoolean(Obj.configurable)),has(Obj,"value")&&(desc["[[Value]]"]=Obj.value),has(Obj,"writable")&&(desc["[[Writable]]"]=ToBoolean(Obj.writable)),has(Obj,"get")){var getter=Obj.get;if(void 0!==getter&&!IsCallable(getter))throw new $TypeError("getter must be a function");desc["[[Get]]"]=getter}if(has(Obj,"set")){var setter=Obj.set;if(void 0!==setter&&!IsCallable(setter))throw new $TypeError("setter must be a function");desc["[[Set]]"]=setter}if((has(desc,"[[Get]]")||has(desc,"[[Set]]"))&&(has(desc,"[[Value]]")||has(desc,"[[Writable]]")))throw new $TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return desc}},function(module,exports,__webpack_require__){"use strict";var $Array=__webpack_require__(7)("%Array%"),toStr=!$Array.isArray&&__webpack_require__(33)("Object.prototype.toString");module.exports=$Array.isArray||function IsArray(argument){return"[object Array]"===toStr(argument)}},function(module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return"[object Array]"==toString.call(arr)}},function(module,exports,__webpack_require__){"use strict";var Call=__webpack_require__(95),Get=__webpack_require__(65),HasProperty=__webpack_require__(271),IsCallable=__webpack_require__(75),LengthOfArrayLike=__webpack_require__(391),ToObject=__webpack_require__(137),ToString=__webpack_require__(94),callBound=__webpack_require__(33),isString=__webpack_require__(163),$TypeError=TypeError,boxedString=Object("a"),splitString="a"!==boxedString[0]||!(0 in boxedString),strSplit=callBound("%String.prototype.split%");module.exports=function reduce(callbackfn){var O=ToObject(this),self=splitString&&isString(O)?strSplit(O,""):O,len=LengthOfArrayLike(self);if(!IsCallable(callbackfn))throw new $TypeError("Array.prototype.reduce callback must be a function");if(0===len&&arguments.length<2)throw new $TypeError("reduce of empty array with no initial value");var accumulator,Pk,kPresent,k=0;if(arguments.length>1)accumulator=arguments[1];else{for(kPresent=!1;!kPresent&&k5&&(mapperFunction=arguments[5]);for(var targetIndex=start,sourceIndex=0;sourceIndex0&&(shouldFlatten=IsArray(element)),shouldFlatten){var elementLen=LengthOfArrayLike(element);targetIndex=FlattenIntoArray(target,element,elementLen,targetIndex,depth-1)}else{if(targetIndex>=MAX_SAFE_INTEGER)throw new $TypeError("index too large");CreateDataPropertyOrThrow(target,ToString(targetIndex),element),targetIndex+=1}}sourceIndex+=1}return targetIndex}},function(module,exports,__webpack_require__){"use strict";var getInferredName;try{getInferredName=Function("s","return { [s]() {} }[s].name;")}catch(e){}module.exports=getInferredName&&"inferred"===function(){}.name?getInferredName:null},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),CodePointAt=__webpack_require__(657),Type=__webpack_require__(28),isInteger=__webpack_require__(203),MAX_SAFE_INTEGER=__webpack_require__(266),$TypeError=GetIntrinsic("%TypeError%");module.exports=function AdvanceStringIndex(S,index,unicode){if("String"!==Type(S))throw new $TypeError("Assertion failed: `S` must be a String");if(!isInteger(index)||index<0||index>MAX_SAFE_INTEGER)throw new $TypeError("Assertion failed: `length` must be an integer >= 0 and <= 2**53");if("Boolean"!==Type(unicode))throw new $TypeError("Assertion failed: `unicode` must be a Boolean");return unicode?index+1>=S.length?index+1:index+CodePointAt(S,index)["[[CodeUnitCount]]"]:index+1}},function(module,exports,__webpack_require__){"use strict";module.exports=function isLeadingSurrogate(charCode){return"number"==typeof charCode&&charCode>=55296&&charCode<=56319}},function(module,exports,__webpack_require__){"use strict";module.exports=function isTrailingSurrogate(charCode){return"number"==typeof charCode&&charCode>=56320&&charCode<=57343}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),Get=__webpack_require__(65),ToBoolean=__webpack_require__(268),Type=__webpack_require__(28);module.exports=function IteratorComplete(iterResult){if("Object"!==Type(iterResult))throw new $TypeError("Assertion failed: Type(iterResult) is not Object");return ToBoolean(Get(iterResult,"done"))}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),Get=__webpack_require__(65),Type=__webpack_require__(28);module.exports=function IteratorValue(iterResult){if("Object"!==Type(iterResult))throw new $TypeError("Assertion failed: Type(iterResult) is not Object");return Get(iterResult,"value")}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),inspect=__webpack_require__(138),IsPropertyKey=__webpack_require__(76);module.exports=function GetV(V,P){if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true, got "+inspect(P));return V[P]}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),Call=__webpack_require__(95),Type=__webpack_require__(28),assertRecord=__webpack_require__(110);module.exports=function IteratorNext(iteratorRecord){var result;if(assertRecord(Type,"Iterator Record","iteratorRecord",iteratorRecord),result=arguments.length<2?Call(iteratorRecord["[[NextMethod]]"],iteratorRecord["[[Iterator]]"]):Call(iteratorRecord["[[NextMethod]]"],iteratorRecord["[[Iterator]]"],[arguments[1]]),"Object"!==Type(result))throw new $TypeError("iterator next must return an object");return result}},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),$ObjectCreate=GetIntrinsic("%Object.create%",!0),$TypeError=GetIntrinsic("%TypeError%"),$SyntaxError=GetIntrinsic("%SyntaxError%"),IsArray=__webpack_require__(166),Type=__webpack_require__(28),forEach=__webpack_require__(661),SLOT=__webpack_require__(167),hasProto=__webpack_require__(262)();module.exports=function OrdinaryObjectCreate(proto){if(null!==proto&&"Object"!==Type(proto))throw new $TypeError("Assertion failed: `proto` must be null or an object");var O,additionalInternalSlotsList=arguments.length<2?[]:arguments[1];if(!IsArray(additionalInternalSlotsList))throw new $TypeError("Assertion failed: `additionalInternalSlotsList` must be an Array");if($ObjectCreate)O=$ObjectCreate(proto);else if(hasProto)O={__proto__:proto};else{if(null===proto)throw new $SyntaxError("native Object.create support is required to create null objects");var T=function T(){};T.prototype=proto,O=new T}return additionalInternalSlotsList.length>0&&forEach(additionalInternalSlotsList,(function(slot){SLOT.set(O,slot,void 0)})),O}},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(7),callBound=__webpack_require__(33),inspect=__webpack_require__(138),$TypeError=GetIntrinsic("%TypeError%"),$WeakMap=GetIntrinsic("%WeakMap%",!0),$Map=GetIntrinsic("%Map%",!0),$weakMapGet=callBound("WeakMap.prototype.get",!0),$weakMapSet=callBound("WeakMap.prototype.set",!0),$weakMapHas=callBound("WeakMap.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSet=callBound("Map.prototype.set",!0),$mapHas=callBound("Map.prototype.has",!0),listGetNode=function(list,key){for(var curr,prev=list;null!==(curr=prev.next);prev=curr)if(curr.key===key)return prev.next=curr.next,curr.next=list.next,list.next=curr,curr};module.exports=function getSideChannel(){var $wm,$m,$o,channel={assert:function(key){if(!channel.has(key))throw new $TypeError("Side channel does not contain "+inspect(key))},get:function(key){if($WeakMap&&key&&("object"==typeof key||"function"==typeof key)){if($wm)return $weakMapGet($wm,key)}else if($Map){if($m)return $mapGet($m,key)}else if($o)return function(objects,key){var node=listGetNode(objects,key);return node&&node.value}($o,key)},has:function(key){if($WeakMap&&key&&("object"==typeof key||"function"==typeof key)){if($wm)return $weakMapHas($wm,key)}else if($Map){if($m)return $mapHas($m,key)}else if($o)return function(objects,key){return!!listGetNode(objects,key)}($o,key);return!1},set:function(key,value){$WeakMap&&key&&("object"==typeof key||"function"==typeof key)?($wm||($wm=new $WeakMap),$weakMapSet($wm,key,value)):$Map?($m||($m=new $Map),$mapSet($m,key,value)):($o||($o={key:{},next:null}),function(objects,key,value){var node=listGetNode(objects,key);node?node.value=value:objects.next={key:key,next:objects.next,value:value}}($o,key,value))}};return channel}},function(module,exports,__webpack_require__){"use strict";var $SyntaxError=__webpack_require__(7)("%SyntaxError%"),SLOT=__webpack_require__(167),CompletionRecord=function CompletionRecord(type,value){if(!(this instanceof CompletionRecord))return new CompletionRecord(type,value);if("normal"!==type&&"break"!==type&&"continue"!==type&&"return"!==type&&"throw"!==type)throw new $SyntaxError('Assertion failed: `type` must be one of "normal", "break", "continue", "return", or "throw"');SLOT.set(this,"[[Type]]",type),SLOT.set(this,"[[Value]]",value)};CompletionRecord.prototype.type=function Type(){return SLOT.get(this,"[[Type]]")},CompletionRecord.prototype.value=function Value(){return SLOT.get(this,"[[Value]]")},CompletionRecord.prototype["?"]=function ReturnIfAbrupt(){var type=SLOT.get(this,"[[Type]]"),value=SLOT.get(this,"[[Value]]");if("normal"===type)return value;if("throw"===type)throw value;throw new $SyntaxError('Completion Record is not of type "normal" or "throw": other types not supported')},CompletionRecord.prototype["!"]=function assert(){if("normal"!==SLOT.get(this,"[[Type]]"))throw new $SyntaxError('Assertion failed: Completion Record is not of type "normal"');return SLOT.get(this,"[[Value]]")},module.exports=CompletionRecord},function(module,exports,__webpack_require__){"use strict";var define=__webpack_require__(41),callBind=__webpack_require__(119),implementation=__webpack_require__(410),getPolyfill=__webpack_require__(411),shim=__webpack_require__(674),flagsBound=callBind(getPolyfill());define(flagsBound,{getPolyfill:getPolyfill,implementation:implementation,shim:shim}),module.exports=flagsBound},function(module,exports,__webpack_require__){"use strict";var setFunctionName=__webpack_require__(274),$Object=Object,$TypeError=TypeError;module.exports=setFunctionName((function flags(){if(null!=this&&this!==$Object(this))throw new $TypeError("RegExp.prototype.flags getter called on non-object");var result="";return this.hasIndices&&(result+="d"),this.global&&(result+="g"),this.ignoreCase&&(result+="i"),this.multiline&&(result+="m"),this.dotAll&&(result+="s"),this.unicode&&(result+="u"),this.unicodeSets&&(result+="v"),this.sticky&&(result+="y"),result}),"get flags",!0)},function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__(410),supportsDescriptors=__webpack_require__(41).supportsDescriptors,$gOPD=Object.getOwnPropertyDescriptor;module.exports=function getPolyfill(){if(supportsDescriptors&&"gim"===/a/gim.flags){var descriptor=$gOPD(RegExp.prototype,"flags");if(descriptor&&"function"==typeof descriptor.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var calls="",o={};if(Object.defineProperty(o,"hasIndices",{get:function(){calls+="d"}}),Object.defineProperty(o,"sticky",{get:function(){calls+="y"}}),"dy"===calls)return descriptor.get}}return implementation}},function(module,exports,__webpack_require__){"use strict";var hasSymbols=__webpack_require__(84)(),regexpMatchAll=__webpack_require__(675);module.exports=function getRegExpMatchAllPolyfill(){return hasSymbols&&"symbol"==typeof Symbol.matchAll&&"function"==typeof RegExp.prototype[Symbol.matchAll]?RegExp.prototype[Symbol.matchAll]:regexpMatchAll}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(7)("%TypeError%"),IsPropertyKey=__webpack_require__(76),SameValue=__webpack_require__(165),Type=__webpack_require__(28),noThrowOnStrictViolation=function(){try{return delete[].length,!0}catch(e){return!1}}();module.exports=function Set(O,P,V,Throw){if("Object"!==Type(O))throw new $TypeError("Assertion failed: `O` must be an Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: `P` must be a Property Key");if("Boolean"!==Type(Throw))throw new $TypeError("Assertion failed: `Throw` must be a Boolean");if(Throw){if(O[P]=V,noThrowOnStrictViolation&&!SameValue(O[P],V))throw new $TypeError("Attempted to assign to readonly property.");return!0}try{return O[P]=V,!noThrowOnStrictViolation||SameValue(O[P],V)}catch(e){return!1}}},function(module,exports,__webpack_require__){"use strict";var ArraySpeciesCreate=__webpack_require__(275),Call=__webpack_require__(95),CreateDataPropertyOrThrow=__webpack_require__(276),Get=__webpack_require__(65),HasProperty=__webpack_require__(271),IsCallable=__webpack_require__(75),ToUint32=__webpack_require__(696),ToObject=__webpack_require__(137),ToString=__webpack_require__(94),callBound=__webpack_require__(33),isString=__webpack_require__(163),boxedString=Object("a"),splitString="a"!==boxedString[0]||!(0 in boxedString),strSplit=callBound("String.prototype.split");module.exports=function map(callbackfn){var T,O=ToObject(this),self=splitString&&isString(O)?strSplit(O,""):O,len=ToUint32(self.length);if(!IsCallable(callbackfn))throw new TypeError("Array.prototype.map callback must be a function");arguments.length>1&&(T=arguments[1]);for(var A=ArraySpeciesCreate(O,len),k=0;ki;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}},function(module,exports,__webpack_require__){"use strict";var $TypeError=TypeError;module.exports=function(it){if(it>9007199254740991)throw $TypeError("Maximum allowed index exceeded");return it}},function(module,exports,__webpack_require__){"use strict";var getBuiltIn=__webpack_require__(67);module.exports=getBuiltIn("document","documentElement")},function(module,exports,__webpack_require__){"use strict";var classof=__webpack_require__(96),toIndexedObject=__webpack_require__(78),$getOwnPropertyNames=__webpack_require__(144).f,arraySlice=__webpack_require__(213),windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];module.exports.f=function getOwnPropertyNames(it){return windowNames&&"Window"===classof(it)?function(it){try{return $getOwnPropertyNames(it)}catch(error){return arraySlice(windowNames)}}(it):$getOwnPropertyNames(toIndexedObject(it))}},function(module,exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__(32);exports.f=wellKnownSymbol},function(module,exports,__webpack_require__){"use strict";var call=__webpack_require__(38),getBuiltIn=__webpack_require__(67),wellKnownSymbol=__webpack_require__(32),defineBuiltIn=__webpack_require__(61);module.exports=function(){var Symbol=getBuiltIn("Symbol"),SymbolPrototype=Symbol&&Symbol.prototype,valueOf=SymbolPrototype&&SymbolPrototype.valueOf,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");SymbolPrototype&&!SymbolPrototype[TO_PRIMITIVE]&&defineBuiltIn(SymbolPrototype,TO_PRIMITIVE,(function(hint){return call(valueOf,this)}),{arity:1})}},function(module,exports,__webpack_require__){"use strict";var NATIVE_SYMBOL=__webpack_require__(141);module.exports=NATIVE_SYMBOL&&!!Symbol.for&&!!Symbol.keyFor},function(module,exports,__webpack_require__){"use strict";module.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(module,exports,__webpack_require__){"use strict";var classList=__webpack_require__(208)("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype;module.exports=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype},function(module,exports,__webpack_require__){"use strict";var IteratorPrototype=__webpack_require__(435).IteratorPrototype,create=__webpack_require__(104),createPropertyDescriptor=__webpack_require__(139),setToStringTag=__webpack_require__(89),Iterators=__webpack_require__(179),returnThis=function(){return this};module.exports=function(IteratorConstructor,NAME,next,ENUMERABLE_NEXT){var TO_STRING_TAG=NAME+" Iterator";return IteratorConstructor.prototype=create(IteratorPrototype,{next:createPropertyDescriptor(+!ENUMERABLE_NEXT,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1,!0),Iterators[TO_STRING_TAG]=returnThis,IteratorConstructor}},function(module,exports,__webpack_require__){"use strict";var IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator,fails=__webpack_require__(17),isCallable=__webpack_require__(34),isObject=__webpack_require__(42),create=__webpack_require__(104),getPrototypeOf=__webpack_require__(214),defineBuiltIn=__webpack_require__(61),wellKnownSymbol=__webpack_require__(32),IS_PURE=__webpack_require__(70),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)))!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS=!0),!isObject(IteratorPrototype)||fails((function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test}))?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype)),isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,(function(){return this})),module.exports={IteratorPrototype:IteratorPrototype,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17);module.exports=!fails((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype}))},function(module,exports,__webpack_require__){"use strict";var getBuiltIn=__webpack_require__(67),uncurryThis=__webpack_require__(16),Symbol=getBuiltIn("Symbol"),keyFor=Symbol.keyFor,thisSymbolValue=uncurryThis(Symbol.prototype.valueOf);module.exports=Symbol.isRegisteredSymbol||function isRegisteredSymbol(value){try{return void 0!==keyFor(thisSymbolValue(value))}catch(error){return!1}}},function(module,exports,__webpack_require__){"use strict";for(var shared=__webpack_require__(121),getBuiltIn=__webpack_require__(67),uncurryThis=__webpack_require__(16),isSymbol=__webpack_require__(140),wellKnownSymbol=__webpack_require__(32),Symbol=getBuiltIn("Symbol"),$isWellKnownSymbol=Symbol.isWellKnownSymbol,getOwnPropertyNames=getBuiltIn("Object","getOwnPropertyNames"),thisSymbolValue=uncurryThis(Symbol.prototype.valueOf),WellKnownSymbolsStore=shared("wks"),i=0,symbolKeys=getOwnPropertyNames(Symbol),symbolKeysLength=symbolKeys.length;i1?arguments[1]:void 0)}},function(module,exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(35),uncurryThis=__webpack_require__(16),call=__webpack_require__(38),fails=__webpack_require__(17),objectKeys=__webpack_require__(176),getOwnPropertySymbolsModule=__webpack_require__(211),propertyIsEnumerableModule=__webpack_require__(205),toObject=__webpack_require__(71),IndexedObject=__webpack_require__(169),$assign=Object.assign,defineProperty=Object.defineProperty,concat=uncurryThis([].concat);module.exports=!$assign||fails((function(){if(DESCRIPTORS&&1!==$assign({b:1},$assign(defineProperty({},"a",{enumerable:!0,get:function(){defineProperty(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var A={},B={},symbol=Symbol("assign detection");return A[symbol]=7,"abcdefghijklmnopqrst".split("").forEach((function(chr){B[chr]=chr})),7!==$assign({},A)[symbol]||"abcdefghijklmnopqrst"!==objectKeys($assign({},B)).join("")}))?function assign(target,source){for(var T=toObject(target),argumentsLength=arguments.length,index=1,getOwnPropertySymbols=getOwnPropertySymbolsModule.f,propertyIsEnumerable=propertyIsEnumerableModule.f;argumentsLength>index;)for(var key,S=IndexedObject(arguments[index++]),keys=getOwnPropertySymbols?concat(objectKeys(S),getOwnPropertySymbols(S)):objectKeys(S),length=keys.length,j=0;length>j;)key=keys[j++],DESCRIPTORS&&!call(propertyIsEnumerable,S,key)||(T[key]=S[key]);return T}:$assign},function(module,exports,__webpack_require__){"use strict";var call=__webpack_require__(38),hasOwn=__webpack_require__(43),isPrototypeOf=__webpack_require__(111),regExpFlags=__webpack_require__(443),RegExpPrototype=RegExp.prototype;module.exports=function(R){var flags=R.flags;return void 0!==flags||"flags"in RegExpPrototype||hasOwn(R,"flags")||!isPrototypeOf(RegExpPrototype,R)?flags:call(regExpFlags,R)}},function(module,exports,__webpack_require__){"use strict";var anObject=__webpack_require__(47);module.exports=function(){var that=anObject(this),result="";return that.hasIndices&&(result+="d"),that.global&&(result+="g"),that.ignoreCase&&(result+="i"),that.multiline&&(result+="m"),that.dotAll&&(result+="s"),that.unicode&&(result+="u"),that.unicodeSets&&(result+="v"),that.sticky&&(result+="y"),result}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17),$RegExp=__webpack_require__(23).RegExp;module.exports=fails((function(){var re=$RegExp(".","s");return!(re.dotAll&&re.exec("\n")&&"s"===re.flags)}))},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(17),$RegExp=__webpack_require__(23).RegExp;module.exports=fails((function(){var re=$RegExp("(?b)","g");return"b"!==re.exec("b").groups.a||"bc"!=="b".replace(re,"$c")}))},function(module,exports,__webpack_require__){(function(global){var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;module.exports=freeGlobal}).call(this,__webpack_require__(64))},function(module,exports){var reHasUnicode=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");module.exports=function hasUnicode(string){return reHasUnicode.test(string)}},function(module,exports,__webpack_require__){"use strict";var bind=__webpack_require__(114),call=__webpack_require__(38),toObject=__webpack_require__(71),callWithSafeIterationClosing=__webpack_require__(775),isArrayIteratorMethod=__webpack_require__(450),isConstructor=__webpack_require__(212),lengthOfArrayLike=__webpack_require__(97),createProperty=__webpack_require__(147),getIterator=__webpack_require__(298),getIteratorMethod=__webpack_require__(220),$Array=Array;module.exports=function from(arrayLike){var O=toObject(arrayLike),IS_CONSTRUCTOR=isConstructor(this),argumentsLength=arguments.length,mapfn=argumentsLength>1?arguments[1]:void 0,mapping=void 0!==mapfn;mapping&&(mapfn=bind(mapfn,argumentsLength>2?arguments[2]:void 0));var length,result,step,iterator,next,value,iteratorMethod=getIteratorMethod(O),index=0;if(!iteratorMethod||this===$Array&&isArrayIteratorMethod(iteratorMethod))for(length=lengthOfArrayLike(O),result=IS_CONSTRUCTOR?new this(length):$Array(length);length>index;index++)value=mapping?mapfn(O[index],index):O[index],createProperty(result,index,value);else for(next=(iterator=getIterator(O,iteratorMethod)).next,result=IS_CONSTRUCTOR?new this:[];!(step=call(next,iterator)).done;index++)value=mapping?callWithSafeIterationClosing(iterator,mapfn,[step.value,index],!0):step.value,createProperty(result,index,value);return result.length=index,result}},function(module,exports,__webpack_require__){"use strict";var call=__webpack_require__(38),anObject=__webpack_require__(47),getMethod=__webpack_require__(120);module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},function(module,exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__(32),Iterators=__webpack_require__(179),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(51),__webpack_require__(3),__webpack_require__(9),__webpack_require__(126),__webpack_require__(116),__webpack_require__(52),Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Channel",{enumerable:!0,get:function get(){return _channels.Channel}}),exports.addons=exports.AddonStore=void 0;var _global=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(45)),_channels=__webpack_require__(302),_clientLogger=__webpack_require__(53),_types=__webpack_require__(459);var AddonStore=function AddonStore(){var _this=this;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,AddonStore),this.loaders={},this.elements={},this.config={},this.channel=void 0,this.promise=void 0,this.resolve=void 0,this.getChannel=function(){if(!_this.channel)throw new Error("Accessing non-existent addons channel, see https://storybook.js.org/basics/faq/#why-is-there-no-addons-channel");return _this.channel},this.ready=function(){return _this.promise},this.hasChannel=function(){return!!_this.channel},this.setChannel=function(channel){_this.channel=channel,_this.resolve()},this.getElements=function(type){return _this.elements[type]||(_this.elements[type]={}),_this.elements[type]},this.addPanel=function(name,options){_this.add(name,Object.assign({type:_types.types.PANEL},options))},this.add=function(name,addon){var type=addon.type;_this.getElements(type)[name]=Object.assign({id:name},addon)},this.setConfig=function(value){Object.assign(_this.config,value)},this.getConfig=function(){return _this.config},this.register=function(name,registerCallback){_this.loaders[name]&&_clientLogger.logger.warn("".concat(name," was loaded twice, this could have bad side-effects")),_this.loaders[name]=registerCallback},this.loadAddons=function(api){Object.values(_this.loaders).forEach((function(value){return value(api)}))},this.promise=new Promise((function(res){_this.resolve=function(){return res(_this.getChannel())}}))};exports.AddonStore=AddonStore;var KEY="__STORYBOOK_ADDONS";var addons=function getAddonsStore(){return _global.default[KEY]||(_global.default[KEY]=new AddonStore),_global.default[KEY]}();exports.addons=addons},function(module,exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(35),fails=__webpack_require__(17),uncurryThis=__webpack_require__(16),objectGetPrototypeOf=__webpack_require__(214),objectKeys=__webpack_require__(176),toIndexedObject=__webpack_require__(78),propertyIsEnumerable=uncurryThis(__webpack_require__(205).f),push=uncurryThis([].push),IE_BUG=DESCRIPTORS&&fails((function(){var O=Object.create(null);return O[2]=2,!propertyIsEnumerable(O,2)})),createMethod=function(TO_ENTRIES){return function(it){for(var key,O=toIndexedObject(it),keys=objectKeys(O),IE_WORKAROUND=IE_BUG&&null===objectGetPrototypeOf(O),length=keys.length,i=0,result=[];length>i;)key=keys[i++],DESCRIPTORS&&!(IE_WORKAROUND?key in O:propertyIsEnumerable(O,key))||push(result,TO_ENTRIES?[key,O[key]]:O[key]);return result}};module.exports={entries:createMethod(!0),values:createMethod(!1)}},function(module,exports,__webpack_require__){"use strict";var anObject=__webpack_require__(47),aConstructor=__webpack_require__(454),isNullOrUndefined=__webpack_require__(87),SPECIES=__webpack_require__(32)("species");module.exports=function(O,defaultConstructor){var S,C=anObject(O).constructor;return void 0===C||isNullOrUndefined(S=anObject(C)[SPECIES])?defaultConstructor:aConstructor(S)}},function(module,exports,__webpack_require__){"use strict";var isConstructor=__webpack_require__(212),tryToString=__webpack_require__(143),$TypeError=TypeError;module.exports=function(argument){if(isConstructor(argument))return argument;throw $TypeError(tryToString(argument)+" is not a constructor")}},function(module,exports,__webpack_require__){"use strict";var userAgent=__webpack_require__(112);module.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent)},function(module,exports,__webpack_require__){"use strict";var Queue=function(){this.head=null,this.tail=null};Queue.prototype={add:function(item){var entry={item:item,next:null},tail=this.tail;tail?tail.next=entry:this.head=entry,this.tail=entry},get:function(){var entry=this.head;if(entry)return null===(this.head=entry.next)&&(this.tail=null),entry.item}},module.exports=Queue},function(module,exports,__webpack_require__){"use strict";module.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},function(module,exports,__webpack_require__){"use strict";var NativePromiseConstructor=__webpack_require__(183),checkCorrectnessOfIteration=__webpack_require__(299),FORCED_PROMISE_CONSTRUCTOR=__webpack_require__(184).CONSTRUCTOR;module.exports=FORCED_PROMISE_CONSTRUCTOR||!checkCorrectnessOfIteration((function(iterable){NativePromiseConstructor.all(iterable).then(void 0,(function(){}))}))},function(module,exports,__webpack_require__){"use strict";var types;__webpack_require__(127),__webpack_require__(126),Object.defineProperty(exports,"__esModule",{value:!0}),exports.isSupportedType=function isSupportedType(type){return!!Object.values(types).find((function(typeVal){return typeVal===type}))},exports.types=void 0,exports.types=types,function(types){types.TAB="tab",types.PANEL="panel",types.TOOL="tool",types.TOOLEXTRA="toolextra",types.PREVIEW="preview",types.NOTES_ELEMENT="notes-element"}(types||(exports.types=types={}))},function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(16),aCallable=__webpack_require__(88),isObject=__webpack_require__(42),hasOwn=__webpack_require__(43),arraySlice=__webpack_require__(178),NATIVE_BIND=__webpack_require__(168),$Function=Function,concat=uncurryThis([].concat),join=uncurryThis([].join),factories={},construct=function(C,argsLength,args){if(!hasOwn(factories,argsLength)){for(var list=[],i=0;i1?arguments[1]:void 0);entry=entry?entry.next:state.first;)for(boundFunction(entry.value,entry.key,this);entry&&entry.removed;)entry=entry.previous},has:function has(key){return!!getEntry(this,key)}}),defineBuiltIns(Prototype,IS_MAP?{get:function get(key){var entry=getEntry(this,key);return entry&&entry.value},set:function set(key,value){return define(this,0===key?0:key,value)}}:{add:function add(value){return define(this,value=0===value?0:value,value)}}),DESCRIPTORS&&defineBuiltInAccessor(Prototype,"size",{configurable:!0,get:function(){return getInternalState(this).size}}),Constructor},setStrong:function(Constructor,CONSTRUCTOR_NAME,IS_MAP){var ITERATOR_NAME=CONSTRUCTOR_NAME+" Iterator",getInternalCollectionState=internalStateGetterFor(CONSTRUCTOR_NAME),getInternalIteratorState=internalStateGetterFor(ITERATOR_NAME);defineIterator(Constructor,CONSTRUCTOR_NAME,(function(iterated,kind){setInternalState(this,{type:ITERATOR_NAME,target:iterated,state:getInternalCollectionState(iterated),kind:kind,last:void 0})}),(function(){for(var state=getInternalIteratorState(this),kind=state.kind,entry=state.last;entry&&entry.removed;)entry=entry.previous;return state.target&&(state.last=entry=entry?entry.next:state.state.first)?createIterResultObject("keys"===kind?entry.key:"values"===kind?entry.value:[entry.key,entry.value],!1):(state.target=void 0,createIterResultObject(void 0,!0))}),IS_MAP?"entries":"values",!IS_MAP,!0),setSpecies(CONSTRUCTOR_NAME)}}},function(module,exports,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__(4),__webpack_require__(22),__webpack_require__(68),__webpack_require__(3),__webpack_require__(11),Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultDecorateStory=exports.decorateStory=void 0;var defaultContext={id:"unspecified",name:"unspecified",kind:"unspecified",parameters:{},args:{},argTypes:{},globals:{}},decorateStory=function decorateStory(storyFn,decorator){return function(){var context=arguments.length>0&&void 0!==arguments[0]?arguments[0]:defaultContext;return decorator((function(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},innerContext=(_ref.parameters,_objectWithoutProperties(_ref,["parameters"]));return storyFn(Object.assign({},context,innerContext))}),context)}};exports.decorateStory=decorateStory;exports.defaultDecorateStory=function defaultDecorateStory(storyFn,decorators){return decorators.reduce(decorateStory,storyFn)}},function(module,exports){module.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}},function(module,exports,__webpack_require__){"use strict";var tryToString=__webpack_require__(143),$TypeError=TypeError;module.exports=function(O,P){if(!delete O[P])throw $TypeError("Cannot delete property "+tryToString(P)+" of "+tryToString(O))}},function(module,exports,__webpack_require__){"use strict";var arraySlice=__webpack_require__(213),floor=Math.floor,mergeSort=function(array,comparefn){var length=array.length,middle=floor(length/2);return length<8?insertionSort(array,comparefn):merge(array,mergeSort(arraySlice(array,0,middle),comparefn),mergeSort(arraySlice(array,middle),comparefn),comparefn)},insertionSort=function(array,comparefn){for(var element,j,length=array.length,i=1;i0;)array[j]=array[--j];j!==i++&&(array[j]=element)}return array},merge=function(array,left,right,comparefn){for(var llength=left.length,rlength=right.length,lindex=0,rindex=0;lindexarrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index1;){var item=queue.pop(),obj=item.obj[item.prop];if(isArray(obj)){for(var compacted=[],j=0;j=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||format===formats.RFC1738&&(40===c||41===c)?out+=string.charAt(i):c<128?out+=hexTable[c]:c<2048?out+=hexTable[192|c>>6]+hexTable[128|63&c]:c<55296||c>=57344?out+=hexTable[224|c>>12]+hexTable[128|c>>6&63]+hexTable[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&string.charCodeAt(i)),out+=hexTable[240|c>>18]+hexTable[128|c>>12&63]+hexTable[128|c>>6&63]+hexTable[128|63&c])}return out},isBuffer:function isBuffer(obj){return!(!obj||"object"!=typeof obj)&&!!(obj.constructor&&obj.constructor.isBuffer&&obj.constructor.isBuffer(obj))},isRegExp:function isRegExp(obj){return"[object RegExp]"===Object.prototype.toString.call(obj)},maybeMap:function maybeMap(val,fn){if(isArray(val)){for(var mapped=[],i=0;i","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},function(module){module.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.escapeUTF8=exports.escape=exports.encodeNonAsciiHTML=exports.encodeHTML=exports.encodeXML=void 0;var inverseXML=getInverseObj(__importDefault(__webpack_require__(489)).default),xmlReplacer=getInverseReplacer(inverseXML);exports.encodeXML=getASCIIEncoder(inverseXML);var inverseHTML=getInverseObj(__importDefault(__webpack_require__(488)).default),htmlReplacer=getInverseReplacer(inverseHTML);function getInverseObj(obj){return Object.keys(obj).sort().reduce((function(inverse,name){return inverse[obj[name]]="&"+name+";",inverse}),{})}function getInverseReplacer(inverse){for(var single=[],multiple=[],_i=0,_a=Object.keys(inverse);_i<_a.length;_i++){var k=_a[_i];1===k.length?single.push("\\"+k):multiple.push(k)}single.sort();for(var start=0;start1?getCodePoint(c):c.charCodeAt(0)).toString(16).toUpperCase()+";"}var reEscapeChars=new RegExp(xmlReplacer.source+"|"+reNonASCII.source,"g");function getASCIIEncoder(obj){return function(data){return data.replace(reEscapeChars,(function(c){return obj[c]||singleCharReplacer(c)}))}}exports.escape=function escape(data){return data.replace(reEscapeChars,singleCharReplacer)},exports.escapeUTF8=function escapeUTF8(data){return data.replace(xmlReplacer,singleCharReplacer)}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(3),Object.defineProperty(exports,"__esModule",{value:!0}),exports.create=exports.themes=void 0;var _light=_interopRequireDefault(__webpack_require__(492)),_dark=_interopRequireDefault(__webpack_require__(928)),_utils=__webpack_require__(239);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var themes={light:_light.default,dark:_dark.default,normal:_light.default};exports.themes=themes;var preferredColorScheme=(0,_utils.getPreferredColorScheme)();exports.create=function create(){var vars=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{base:preferredColorScheme},rest=arguments.length>1?arguments[1]:void 0,inherit=Object.assign({},themes[preferredColorScheme],themes[vars.base]||{},vars,{base:themes[vars.base]?vars.base:preferredColorScheme});return Object.assign({},rest,inherit,{barSelectedColor:vars.barSelectedColor||inherit.colorSecondary})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _base=__webpack_require__(238),_default={base:"light",colorPrimary:"#FF4785",colorSecondary:"#1EA7FD",appBg:_base.background.app,appContentBg:_base.color.lightest,appBorderColor:_base.color.border,appBorderRadius:4,fontBase:_base.typography.fonts.base,fontCode:_base.typography.fonts.mono,textColor:_base.color.darkest,textInverseColor:_base.color.lightest,textMutedColor:_base.color.dark,barTextColor:_base.color.mediumdark,barSelectedColor:_base.color.secondary,barBg:_base.color.lightest,inputBg:_base.color.lightest,inputBorder:_base.color.border,inputTextColor:_base.color.darkest,inputBorderRadius:4};exports.default=_default},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(22),__webpack_require__(3),__webpack_require__(11),Object.defineProperty(exports,"__esModule",{value:!0}),exports.convert=void 0;var _polished=__webpack_require__(60),_base=__webpack_require__(238),_animation=__webpack_require__(929),_syntax=__webpack_require__(930),_utils=__webpack_require__(239),_create=__webpack_require__(491);function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var lightSyntaxColors={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},darkSyntaxColors={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},createColors=function createColors(vars){return{primary:vars.colorPrimary,secondary:vars.colorSecondary,tertiary:_base.color.tertiary,ancillary:_base.color.ancillary,orange:_base.color.orange,gold:_base.color.gold,green:_base.color.green,seafoam:_base.color.seafoam,purple:_base.color.purple,ultraviolet:_base.color.ultraviolet,lightest:_base.color.lightest,lighter:_base.color.lighter,light:_base.color.light,mediumlight:_base.color.mediumlight,medium:_base.color.medium,mediumdark:_base.color.mediumdark,dark:_base.color.dark,darker:_base.color.darker,darkest:_base.color.darkest,border:_base.color.border,positive:_base.color.positive,negative:_base.color.negative,warning:_base.color.warning,critical:_base.color.critical,defaultText:vars.textColor||_base.color.darkest,inverseText:vars.textInverseColor||_base.color.lightest}};exports.convert=function convert(){var inherit=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_create.themes[(0,_utils.getPreferredColorScheme)()],base=inherit.base,colorSecondary=(inherit.colorPrimary,inherit.colorSecondary),appBg=inherit.appBg,appContentBg=inherit.appContentBg,appBorderColor=inherit.appBorderColor,appBorderRadius=inherit.appBorderRadius,fontBase=inherit.fontBase,fontCode=inherit.fontCode,textColor=inherit.textColor,barTextColor=(inherit.textInverseColor,inherit.barTextColor),barSelectedColor=inherit.barSelectedColor,barBg=inherit.barBg,inputBg=inherit.inputBg,inputBorder=inherit.inputBorder,inputTextColor=inherit.inputTextColor,inputBorderRadius=inherit.inputBorderRadius,brandTitle=inherit.brandTitle,brandUrl=inherit.brandUrl,brandImage=inherit.brandImage,gridCellSize=inherit.gridCellSize,rest=_objectWithoutProperties(inherit,["base","colorPrimary","colorSecondary","appBg","appContentBg","appBorderColor","appBorderRadius","fontBase","fontCode","textColor","textInverseColor","barTextColor","barSelectedColor","barBg","inputBg","inputBorder","inputTextColor","inputBorderRadius","brandTitle","brandUrl","brandImage","gridCellSize"]);return Object.assign({},rest||{},{base:base,color:createColors(inherit),background:{app:appBg,bar:barBg,content:appContentBg,gridCellSize:gridCellSize||_base.background.gridCellSize,hoverable:"light"===base?"rgba(0,0,0,.05)":"rgba(250,250,252,.1)",positive:_base.background.positive,negative:_base.background.negative,warning:_base.background.warning,critical:_base.background.critical},typography:{fonts:{base:fontBase,mono:fontCode},weight:_base.typography.weight,size:_base.typography.size},animation:_animation.animation,easing:_animation.easing,input:{border:inputBorder,background:inputBg,color:inputTextColor,borderRadius:inputBorderRadius},layoutMargin:10,appBorderColor:appBorderColor,appBorderRadius:appBorderRadius,barTextColor:barTextColor,barSelectedColor:barSelectedColor||colorSecondary,barBg:barBg,brand:{title:brandTitle,url:brandUrl,image:brandImage||(brandTitle?null:void 0)},code:(0,_syntax.create)({colors:"light"===base?lightSyntaxColors:darkSyntaxColors,mono:fontCode}),addonActionsTheme:Object.assign({},"light"===base?_syntax.chromeLight:_syntax.chromeDark,{BASE_FONT_FAMILY:fontCode,BASE_FONT_SIZE:_base.typography.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:textColor,ARROW_COLOR:(0,_polished.opacify)(.2,appBorderColor),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:fontCode,TREENODE_FONT_SIZE:_base.typography.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12})})}},function(module,exports,__webpack_require__){"use strict";function jsx(Prism){!function(Prism){var javascript=Prism.util.clone(Prism.languages.javascript),space=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,braces=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,spread=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function re(source,flags){return source=source.replace(//g,(function(){return space})).replace(//g,(function(){return braces})).replace(//g,(function(){return spread})),RegExp(source,flags)}spread=re(spread).source,Prism.languages.jsx=Prism.languages.extend("markup",javascript),Prism.languages.jsx.tag.pattern=re(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),Prism.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,Prism.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,Prism.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism.languages.jsx.tag.inside.comment=javascript.comment,Prism.languages.insertBefore("inside","attr-name",{spread:{pattern:re(//.source),inside:Prism.languages.jsx}},Prism.languages.jsx.tag),Prism.languages.insertBefore("inside","special-attr",{script:{pattern:re(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:Prism.languages.jsx}}},Prism.languages.jsx.tag);var stringifyToken=function(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[]},function(module,exports,__webpack_require__){"use strict";function css(Prism){!function(Prism){var string=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+string.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:string,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css;var markup=Prism.languages.markup;markup&&(markup.tag.addInlined("style","css"),markup.tag.addAttribute("style","css"))}(Prism)}module.exports=css,css.displayName="css",css.aliases=[]},function(module,exports,__webpack_require__){"use strict";function markup(Prism){Prism.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside:inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},function(module,exports,__webpack_require__){"use strict";function typescript(Prism){!function(Prism){Prism.languages.typescript=Prism.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),Prism.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete Prism.languages.typescript.parameter,delete Prism.languages.typescript["literal-property"];var typeInside=Prism.languages.extend("typescript",{});delete typeInside["class-name"],Prism.languages.typescript["class-name"].inside=typeInside,Prism.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism.languages.ts=Prism.languages.typescript}(Prism)}module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"]},function(module,exports,__webpack_require__){var defineProperty=__webpack_require__(960);module.exports=function _objectSpread(target){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce((function(styleObject,className){return(0,_objectSpread2.default)({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet:stylesheet,useInlineStyles:useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter((function(className){return!stylesheet[className]})),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?(0,_objectSpread2.default)({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)}):(0,_objectSpread2.default)({},properties,{className:createClassNameString(properties.className)}),children=childrenCreator(node.children);return _react.default.createElement(TagName,(0,_extends2.default)({key:key},props),children)}}},function(module,exports,__webpack_require__){"use strict";module.exports=Schema;var proto=Schema.prototype;function Schema(property,normal,space){this.property=property,this.normal=normal,space&&(this.space=space)}proto.space=null,proto.normal={},proto.property={}},function(module,exports,__webpack_require__){"use strict";var Info=__webpack_require__(503),types=__webpack_require__(343);module.exports=DefinedInfo,DefinedInfo.prototype=new Info,DefinedInfo.prototype.defined=!0;var checks=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],checksLength=checks.length;function DefinedInfo(property,attribute,mask,space){var check,index=-1;for(mark(this,"space",space),Info.call(this,property,attribute);++index=48&&code<=57}},function(module,exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(35),global=__webpack_require__(23),uncurryThis=__webpack_require__(16),isForced=__webpack_require__(173),inheritIfRequired=__webpack_require__(305),createNonEnumerableProperty=__webpack_require__(122),getOwnPropertyNames=__webpack_require__(144).f,isPrototypeOf=__webpack_require__(111),isRegExp=__webpack_require__(307),toString=__webpack_require__(44),getRegExpFlags=__webpack_require__(442),stickyHelpers=__webpack_require__(292),proxyAccessor=__webpack_require__(993),defineBuiltIn=__webpack_require__(61),fails=__webpack_require__(17),hasOwn=__webpack_require__(43),enforceInternalState=__webpack_require__(80).enforce,setSpecies=__webpack_require__(300),wellKnownSymbol=__webpack_require__(32),UNSUPPORTED_DOT_ALL=__webpack_require__(444),UNSUPPORTED_NCG=__webpack_require__(445),MATCH=wellKnownSymbol("match"),NativeRegExp=global.RegExp,RegExpPrototype=NativeRegExp.prototype,SyntaxError=global.SyntaxError,exec=uncurryThis(RegExpPrototype.exec),charAt=uncurryThis("".charAt),replace=uncurryThis("".replace),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),IS_NCG=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,MISSED_STICKY=stickyHelpers.MISSED_STICKY,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,BASE_FORCED=DESCRIPTORS&&(!CORRECT_NEW||MISSED_STICKY||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG||fails((function(){return re2[MATCH]=!1,NativeRegExp(re1)!==re1||NativeRegExp(re2)===re2||"/a/i"!==String(NativeRegExp(re1,"i"))})));if(isForced("RegExp",BASE_FORCED)){for(var RegExpWrapper=function RegExp(pattern,flags){var rawFlags,dotAll,sticky,handled,result,state,thisIsRegExp=isPrototypeOf(RegExpPrototype,this),patternIsRegExp=isRegExp(pattern),flagsAreUndefined=void 0===flags,groups=[],rawPattern=pattern;if(!thisIsRegExp&&patternIsRegExp&&flagsAreUndefined&&pattern.constructor===RegExpWrapper)return pattern;if((patternIsRegExp||isPrototypeOf(RegExpPrototype,pattern))&&(pattern=pattern.source,flagsAreUndefined&&(flags=getRegExpFlags(rawPattern))),pattern=void 0===pattern?"":toString(pattern),flags=void 0===flags?"":toString(flags),rawPattern=pattern,UNSUPPORTED_DOT_ALL&&"dotAll"in re1&&(dotAll=!!flags&&stringIndexOf(flags,"s")>-1)&&(flags=replace(flags,/s/g,"")),rawFlags=flags,MISSED_STICKY&&"sticky"in re1&&(sticky=!!flags&&stringIndexOf(flags,"y")>-1)&&UNSUPPORTED_Y&&(flags=replace(flags,/y/g,"")),UNSUPPORTED_NCG&&(pattern=(handled=function(string){for(var chr,length=string.length,index=0,result="",named=[],names={},brackets=!1,ncg=!1,groupid=0,groupname="";index<=length;index++){if("\\"===(chr=charAt(string,index)))chr+=charAt(string,++index);else if("]"===chr)brackets=!1;else if(!brackets)switch(!0){case"["===chr:brackets=!0;break;case"("===chr:exec(IS_NCG,stringSlice(string,index+1))&&(index+=2,ncg=!0),result+=chr,groupid++;continue;case">"===chr&&ncg:if(""===groupname||hasOwn(names,groupname))throw new SyntaxError("Invalid capture group name");names[groupname]=!0,named[named.length]=[groupname,groupid],ncg=!1,groupname="";continue}ncg?groupname+=chr:result+=chr}return[result,named]}(pattern))[0],groups=handled[1]),result=inheritIfRequired(NativeRegExp(pattern,flags),thisIsRegExp?this:RegExpPrototype,RegExpWrapper),(dotAll||sticky||groups.length)&&(state=enforceInternalState(result),dotAll&&(state.dotAll=!0,state.raw=RegExpWrapper(function(string){for(var chr,length=string.length,index=0,result="",brackets=!1;index<=length;index++)"\\"!==(chr=charAt(string,index))?brackets||"."!==chr?("["===chr?brackets=!0:"]"===chr&&(brackets=!1),result+=chr):result+="[\\s\\S]":result+=chr+charAt(string,++index);return result}(pattern),rawFlags)),sticky&&(state.sticky=!0),groups.length&&(state.groups=groups)),pattern!==rawPattern)try{createNonEnumerableProperty(result,"source",""===rawPattern?"(?:)":rawPattern)}catch(error){}return result},keys=getOwnPropertyNames(NativeRegExp),index=0;keys.length>index;)proxyAccessor(RegExpWrapper,NativeRegExp,keys[index++]);RegExpPrototype.constructor=RegExpWrapper,RegExpWrapper.prototype=RegExpPrototype,defineBuiltIn(global,"RegExp",RegExpWrapper,{constructor:!0})}setSpecies("RegExp")},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(31),__webpack_require__(22),__webpack_require__(21),__webpack_require__(18),__webpack_require__(14),__webpack_require__(27),__webpack_require__(8),__webpack_require__(11),__webpack_require__(9),__webpack_require__(24),__webpack_require__(19),__webpack_require__(93),__webpack_require__(20),Object.defineProperty(exports,"__esModule",{value:!0}),exports.Placeholder=void 0;var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_theming=__webpack_require__(10);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Title=_theming.styled.div((function(_ref){return{fontWeight:_ref.theme.typography.weight.bold}})),Desc=_theming.styled.div(),Message=_theming.styled.div((function(_ref2){var theme=_ref2.theme;return{padding:30,textAlign:"center",color:theme.color.defaultText,fontSize:theme.typography.size.s2-1}})),Placeholder=function Placeholder(_ref3){var children=_ref3.children,props=_objectWithoutProperties(_ref3,["children"]),_Children$toArray2=_slicedToArray(_react.Children.toArray(children),2),title=_Children$toArray2[0],desc=_Children$toArray2[1];return _react.default.createElement(Message,props,_react.default.createElement(Title,null,title),desc&&_react.default.createElement(Desc,null,desc))};exports.Placeholder=Placeholder,Placeholder.displayName="Placeholder"},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(4),__webpack_require__(25),__webpack_require__(22),__webpack_require__(3),__webpack_require__(11),__webpack_require__(93),__webpack_require__(1e3),Object.defineProperty(exports,"__esModule",{value:!0}),exports.Button=void 0;var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_theming=__webpack_require__(10),_polished=__webpack_require__(60);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var ButtonWrapper=_theming.styled.button((function(_ref){var small=_ref.small,theme=_ref.theme;return{border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:small?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transition:"all 150ms ease-out",transform:"translate3d(0,0,0)",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:"".concat(small?theme.typography.size.s1:theme.typography.size.s2-1,"px"),fontWeight:theme.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:small?14:16,width:small?14:16,verticalAlign:"top",marginRight:small?4:6,marginTop:small?-1:-2,marginBottom:small?-1:-2,pointerEvents:"none",path:{fill:"currentColor"}}}}),(function(_ref2){return _ref2.disabled?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{}}),(function(_ref3){var containsIcon=_ref3.containsIcon,small=_ref3.small;return containsIcon?Object.assign({svg:{display:"block",margin:0}},small?{padding:9}:{padding:12}):{}}),(function(_ref4){var color,theme=_ref4.theme,primary=_ref4.primary,secondary=_ref4.secondary,gray=_ref4.gray;return gray?color=theme.color.medium:secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),color?{background:color,color:gray?theme.color.darkest:theme.color.lightest,"&:hover":{background:(0,_polished.darken)(.05,color)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:"".concat((0,_polished.rgba)(color,1)," 0 1px 9px 2px"),outline:"none"},"&:focus:hover":{boxShadow:"".concat((0,_polished.rgba)(color,.2)," 0 8px 18px 0px")}}:{}}),(function(_ref5){var theme=_ref5.theme,tertiary=_ref5.tertiary,inForm=_ref5.inForm,small=_ref5.small;return tertiary?Object.assign({background:"light"===theme.base?(0,_polished.darken)(.02,theme.input.background):(0,_polished.lighten)(.02,theme.input.background),color:theme.input.color,boxShadow:"".concat(theme.input.border," 0 0 0 1px inset"),borderRadius:theme.input.borderRadius},inForm&&small?{padding:"10px 16px"}:{},{"&:hover":Object.assign({background:"light"===theme.base?(0,_polished.darken)(.05,theme.input.background):(0,_polished.lighten)(.05,theme.input.background)},inForm?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}),"&:active":{background:theme.input.background},"&:focus":{boxShadow:"".concat((0,_polished.rgba)(theme.color.secondary,1)," 0 0 0 1px inset"),outline:"none"}}):{}}),(function(_ref6){var theme=_ref6.theme;return _ref6.outline?{boxShadow:"".concat((0,_polished.transparentize)(.8,theme.color.defaultText)," 0 0 0 1px inset"),color:(0,_polished.transparentize)(.3,theme.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:"".concat((0,_polished.transparentize)(.5,theme.color.defaultText)," 0 0 0 1px inset"),outline:"none"},"&:active":{boxShadow:"".concat((0,_polished.transparentize)(.5,theme.color.defaultText)," 0 0 0 2px inset"),color:(0,_polished.transparentize)(0,theme.color.defaultText)}}:{}}),(function(_ref7){var theme=_ref7.theme,outline=_ref7.outline,primary=_ref7.primary,color=theme.color.primary;return outline&&primary?{boxShadow:"".concat(color," 0 0 0 1px inset"),color:color,"svg path":{fill:color},"&:hover":{boxShadow:"".concat(color," 0 0 0 1px inset"),background:"transparent"},"&:active":{background:color,boxShadow:"".concat(color," 0 0 0 1px inset"),color:theme.color.tertiary},"&:focus":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat((0,_polished.rgba)(color,.4)," 0 1px 9px 2px"),outline:"none"},"&:focus:hover":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat((0,_polished.rgba)(color,.2)," 0 8px 18px 0px")}}:{}}),(function(_ref8){var color,theme=_ref8.theme,outline=_ref8.outline,primary=_ref8.primary;return _ref8.secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),outline&&color?{boxShadow:"".concat(color," 0 0 0 1px inset"),color:color,"svg path":{fill:color},"&:hover":{boxShadow:"".concat(color," 0 0 0 1px inset"),background:"transparent"},"&:active":{background:color,boxShadow:"".concat(color," 0 0 0 1px inset"),color:theme.color.tertiary},"&:focus":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat((0,_polished.rgba)(color,.4)," 0 1px 9px 2px"),outline:"none"},"&:focus:hover":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat((0,_polished.rgba)(color,.2)," 0 8px 18px 0px")}}:{}})),ButtonLink=ButtonWrapper.withComponent("a",{target:"ex9hp6v0",label:"ButtonLink"}),Button=Object.assign((0,_react.forwardRef)((function(_ref9,ref){var isLink=_ref9.isLink,children=_ref9.children,props=_objectWithoutProperties(_ref9,["isLink","children"]);return isLink?_react.default.createElement(ButtonLink,_extends({},props,{ref:ref}),children):_react.default.createElement(ButtonWrapper,_extends({},props,{ref:ref}),children)})),{defaultProps:{isLink:!1}});exports.Button=Button},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(51),__webpack_require__(31),__webpack_require__(22),__webpack_require__(21),__webpack_require__(18),__webpack_require__(14),__webpack_require__(27),__webpack_require__(8),__webpack_require__(3),__webpack_require__(46),__webpack_require__(49),__webpack_require__(11),__webpack_require__(9),__webpack_require__(24),__webpack_require__(19),__webpack_require__(52),__webpack_require__(20),Object.defineProperty(exports,"__esModule",{value:!0}),exports.WithTooltip=exports.WithToolTipState=exports.WithTooltipPure=void 0;var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_theming=__webpack_require__(10),_global=__webpack_require__(45),_reactPopperTooltip=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(1225)),_Tooltip=__webpack_require__(1003);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _templateObject2(){var data=_taggedTemplateLiteral(["\n cursor: ",";\n"]);return _templateObject2=function _templateObject2(){return data},data}function _templateObject(){var data=_taggedTemplateLiteral(["\n display: inline-block;\n cursor: ",";\n"]);return _templateObject=function _templateObject(){return data},data}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}var TargetContainer=_theming.styled.div(_templateObject(),(function(props){return"hover"===props.mode?"default":"pointer"})),TargetSvgContainer=_theming.styled.g(_templateObject2(),(function(props){return"hover"===props.mode?"default":"pointer"})),WithTooltipPure=function WithTooltipPure(_ref){var svg=_ref.svg,trigger=_ref.trigger,placement=(_ref.closeOnClick,_ref.placement),modifiers=_ref.modifiers,hasChrome=_ref.hasChrome,_tooltip=_ref.tooltip,children=_ref.children,tooltipShown=_ref.tooltipShown,onVisibilityChange=_ref.onVisibilityChange,props=_objectWithoutProperties(_ref,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),Container=svg?TargetSvgContainer:TargetContainer;return _react.default.createElement(_reactPopperTooltip.default,{placement:placement,trigger:trigger,modifiers:modifiers,tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange,tooltip:function tooltip(_ref2){var getTooltipProps=_ref2.getTooltipProps,getArrowProps=_ref2.getArrowProps,tooltipRef=_ref2.tooltipRef,arrowRef=_ref2.arrowRef,tooltipPlacement=_ref2.placement;return _react.default.createElement(_Tooltip.Tooltip,_extends({hasChrome:hasChrome,placement:tooltipPlacement,tooltipRef:tooltipRef,arrowRef:arrowRef,arrowProps:getArrowProps()},getTooltipProps()),"function"==typeof _tooltip?_tooltip({onHide:function onHide(){return onVisibilityChange(!1)}}):_tooltip)}},(function(_ref3){var getTriggerProps=_ref3.getTriggerProps,triggerRef=_ref3.triggerRef;return _react.default.createElement(Container,_extends({ref:triggerRef},getTriggerProps(),props),children)}))};exports.WithTooltipPure=WithTooltipPure,WithTooltipPure.displayName="WithTooltipPure",WithTooltipPure.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,tooltipShown:!1};var WithToolTipState=function WithToolTipState(_ref4){var startOpen=_ref4.startOpen,rest=_objectWithoutProperties(_ref4,["startOpen"]),_useState2=_slicedToArray((0,_react.useState)(startOpen||!1),2),tooltipShown=_useState2[0],onVisibilityChange=_useState2[1];return(0,_react.useEffect)((function(){var hide=function hide(){return onVisibilityChange(!1)};_global.document.addEventListener("keydown",hide,!1);var iframes=Array.from(_global.document.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((function(iframe){var bind=function bind(){try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide),unbinders.push((function(){try{iframe.contentWindow.document.removeEventListener("click",hide)}catch(e){}})))}catch(e){}};bind(),iframe.addEventListener("load",bind),unbinders.push((function(){iframe.removeEventListener("load",bind)}))})),function(){_global.document.removeEventListener("keydown",hide),unbinders.forEach((function(unbind){unbind()}))}})),_react.default.createElement(WithTooltipPure,_extends({},rest,{tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange}))};exports.WithTooltip=exports.WithToolTipState=WithToolTipState,WithToolTipState.displayName="WithToolTipState"},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(25),__webpack_require__(21),__webpack_require__(18),__webpack_require__(15),__webpack_require__(27),__webpack_require__(235),__webpack_require__(54),__webpack_require__(181),__webpack_require__(236),__webpack_require__(9),__webpack_require__(237),__webpack_require__(24),__webpack_require__(19),__webpack_require__(20),Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabsState=exports.Tabs=exports.panelProps=exports.TabWrapper=exports.TabBar=void 0;var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_theming=__webpack_require__(10),_csf=__webpack_require__(150),_placeholder=__webpack_require__(507),_bar=__webpack_require__(346),_button=__webpack_require__(347);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i *:first-child".concat("/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */"),{position:"absolute",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:0+(bordered?1:0),height:"calc(100% - ".concat(bordered?2:0,"px)"),overflow:"auto"}):{}})),VisuallyHidden=_theming.styled.div((function(_ref7){return _ref7.active?{display:"block"}:{display:"none"}})),TabWrapper=function TabWrapper(_ref8){var active=_ref8.active,render=_ref8.render,children=_ref8.children;return _react.default.createElement(VisuallyHidden,{active:active},render?render():children)};exports.TabWrapper=TabWrapper,TabWrapper.displayName="TabWrapper";exports.panelProps={};var Tabs=(0,_react.memo)((function(_ref11){var children=_ref11.children,selected=_ref11.selected,actions=_ref11.actions,absolute=_ref11.absolute,bordered=_ref11.bordered,tools=_ref11.tools,backgroundColor=_ref11.backgroundColor,htmlId=_ref11.id,list=function childrenToList(children,selected){return _react.Children.toArray(children).map((function(_ref9,index){var _ref9$props=_ref9.props,title=_ref9$props.title,id=_ref9$props.id,color=_ref9$props.color,childrenOfChild=_ref9$props.children,content=Array.isArray(childrenOfChild)?childrenOfChild[0]:childrenOfChild;return{active:selected?id===selected:0===index,title:title,id:id,color:color,render:"function"==typeof content?content:function(_ref10){var active=_ref10.active,key=_ref10.key;return _react.default.createElement(VisuallyHidden,{key:key,active:active,role:"tabpanel"},content)}}}))}(children,selected);return list.length?_react.default.createElement(Wrapper,{absolute:absolute,bordered:bordered,id:htmlId},_react.default.createElement(_bar.FlexBar,{border:!0,backgroundColor:backgroundColor},_react.default.createElement(TabBar,{role:"tablist"},list.map((function(_ref12){var title=_ref12.title,id=_ref12.id,active=_ref12.active,color=_ref12.color,tabTitle="function"==typeof title?title():title;return _react.default.createElement(_button.TabButton,{id:"tabbutton-".concat((0,_csf.sanitize)(tabTitle)),className:"tabbutton ".concat(active?"tabbutton-active":""),type:"button",key:id,active:active,textColor:color,onClick:function onClick(e){e.preventDefault(),actions.onSelect(id)},role:"tab"},tabTitle)}))),tools?_react.default.createElement(_react.Fragment,null,tools):null),_react.default.createElement(Content,{id:"panel-tab-content",bordered:bordered,absolute:absolute},list.map((function(_ref13){var id=_ref13.id,active=_ref13.active;return(0,_ref13.render)({key:id,active:active})})))):_react.default.createElement(_placeholder.Placeholder,null,_react.default.createElement(_react.Fragment,{key:"title"},"Nothing found"))}));exports.Tabs=Tabs,Tabs.displayName="Tabs",Tabs.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1};var TabsState=function(_Component){!function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(TabsState,_Component);var _super=_createSuper(TabsState);function TabsState(props){var _this;return function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,TabsState),(_this=_super.call(this,props)).handlers={onSelect:function onSelect(id){return _this.setState({selected:id})}},_this.state={selected:props.initial},_this}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(TabsState,[{key:"render",value:function render(){var _this$props=this.props,_this$props$bordered=_this$props.bordered,bordered=void 0!==_this$props$bordered&&_this$props$bordered,_this$props$absolute=_this$props.absolute,absolute=void 0!==_this$props$absolute&&_this$props$absolute,children=_this$props.children,backgroundColor=_this$props.backgroundColor,selected=this.state.selected;return _react.default.createElement(Tabs,{bordered:bordered,absolute:absolute,selected:selected,backgroundColor:backgroundColor,actions:this.handlers},children)}}]),TabsState}(_react.Component);exports.TabsState=TabsState,TabsState.displayName="TabsState",TabsState.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:""}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"compiler",(function(){return compiler})),__webpack_require__.d(__webpack_exports__,"default",(function(){return Markdown}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),unquote__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(565),unquote__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(unquote__WEBPACK_IMPORTED_MODULE_1__),_extends=Object.assign||function(a){for(var b,c=1;c",lt:"<",nbsp:" ",quot:"“"},DO_NOT_PROCESS_HTML_ELEMENTS=["style","script"],ATTR_EXTRACTOR_R=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,AUTOLINK_MAILTO_CHECK_R=/mailto:/i,BLOCK_END_R=/\n{2,}$/,BLOCKQUOTE_R=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,BLOCKQUOTE_TRIM_LEFT_MULTILINE_R=/^ *> ?/gm,BREAK_LINE_R=/^ {2,}\n/,BREAK_THEMATIC_R=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,CODE_BLOCK_FENCED_R=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,CODE_BLOCK_R=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,CODE_INLINE_R=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,CONSECUTIVE_NEWLINE_R=/^(?:\n *)*\n/,CR_NEWLINE_R=/\r\n?/g,FOOTNOTE_R=/^\[\^([^\]]+)](:.*)\n/,FOOTNOTE_REFERENCE_R=/^\[\^([^\]]+)]/,FORMFEED_R=/\f/g,GFM_TASK_R=/^\s*?\[(x|\s)\]/,HEADING_R=/^ *(#{1,6}) *([^\n]+)\n{0,2}/,HEADING_SETEXT_R=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,HTML_BLOCK_ELEMENT_R=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,HTML_CHAR_CODE_R=/&([a-z]+);/g,HTML_COMMENT_R=/^/,HTML_CUSTOM_ATTR_R=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,HTML_SELF_CLOSING_ELEMENT_R=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,INTERPOLATION_R=/^\{.*\}$/,LINK_AUTOLINK_BARE_URL_R=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,LINK_AUTOLINK_MAILTO_R=/^<([^ >]+@[^ >]+)>/,LINK_AUTOLINK_R=/^<([^ >]+:\/[^ >]+)>/,LIST_ITEM_END_R=/ *\n+$/,LIST_LOOKBEHIND_R=/(?:^|\n)( *)$/,CAPTURE_LETTER_AFTER_HYPHEN=/-([a-z])?/gi,NP_TABLE_R=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,PARAGRAPH_R=/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/,REFERENCE_IMAGE_OR_LINK=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,REFERENCE_IMAGE_R=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,REFERENCE_LINK_R=/^\[([^\]]*)\] ?\[([^\]]*)\]/,SQUARE_BRACKETS_R=/(\[|\])/g,SHOULD_RENDER_AS_BLOCK_R=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,TAB_R=/\t/g,TABLE_SEPARATOR_R=/^ *\| */,TABLE_TRIM_PIPES=/(^ *\||\| *$)/g,TABLE_CELL_END_TRIM=/ *$/,TABLE_CENTER_ALIGN=/^ *:-+: *$/,TABLE_LEFT_ALIGN=/^ *:-+ *$/,TABLE_RIGHT_ALIGN=/^ *-+: *$/,TEXT_BOLD_R=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,TEXT_EMPHASIZED_R=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1)/,TEXT_STRIKETHROUGHED_R=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,TEXT_ESCAPED_R=/^\\([^0-9A-Za-z\s])/,TEXT_PLAIN_R=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,TRIM_NEWLINES_AND_TRAILING_WHITESPACE_R=/(^\n+|\n+$|\s+$)/g,HTML_LEFT_TRIM_AMOUNT_R=/^([ \t]*)/,UNESCAPE_URL_R=/\\([^0-9A-Z\s])/gi,LIST_ITEM_PREFIX_R=/^( *)((?:[*+-]|\d+\.)) +/,LIST_ITEM_R=/( *)((?:[*+-]|\d+\.)) +[^\n]*(?:\n(?!\1(?:[*+-]|\d+\.) )[^\n]*)*(\n|$)/gm,LIST_R=/^( *)((?:[*+-]|\d+\.)) [\s\S]+?(?:\n{2,}(?! )(?!\1(?:[*+-]|\d+\.) (?!(?:[*+-]|\d+\.) ))\n*|\s*\n*$)/,LINK_R=/^\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,IMAGE_R=/^!\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,BLOCK_SYNTAXES=[BLOCKQUOTE_R,CODE_BLOCK_R,CODE_BLOCK_FENCED_R,HEADING_R,HEADING_SETEXT_R,HTML_BLOCK_ELEMENT_R,HTML_COMMENT_R,HTML_SELF_CLOSING_ELEMENT_R,LIST_ITEM_R,LIST_R,NP_TABLE_R,PARAGRAPH_R];function slugify(a){return a.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function parseTableAlignCapture(a){return TABLE_RIGHT_ALIGN.test(a)?"right":TABLE_CENTER_ALIGN.test(a)?"center":TABLE_LEFT_ALIGN.test(a)?"left":null}function parseTableRow(a,b,c){var d=c.inTable;c.inTable=!0;var e=b(a.trim(),c);c.inTable=d;var f=[[]];return e.forEach((function(a,b){"tableSeparator"===a.type?0!==b&&b!==e.length-1&&f.push([]):("text"===a.type&&(null==e[b+1]||"tableSeparator"===e[b+1].type)&&(a.content=a.content.replace(TABLE_CELL_END_TRIM,"")),f[f.length-1].push(a))})),f}function parseTable(a,b,c){c.inline=!0;var d=parseTableRow(a[1],b,c),e=function parseTableAlign(a){return a.replace(TABLE_TRIM_PIPES,"").split("|").map(parseTableAlignCapture)}(a[2]),f=function parseTableCells(a,b,c){return a.trim().split("\n").map((function(a){return parseTableRow(a,b,c)}))}(a[3],b,c);return c.inline=!1,{align:e,cells:f,header:d,type:"table"}}function getTableStyle(a,b){return null==a.align[b]?{}:{textAlign:a.align[b]}}function parserFor(a){function b(d,e){for(var f=[],g="";d;)for(var l=0;l2?e-2:0),h=2;h1?f=d(c?"span":"div",{key:"outer"},e):1===e.length?"string"==typeof(f=e[0])&&(f=d("span",{key:"outer"},f)):f=d("span",{key:"outer"}),f}function e(a){var b=a.match(ATTR_EXTRACTOR_R);return b?b.reduce((function(a,b,d){var e=b.indexOf("=");if(-1!==e){var f=function normalizeAttributeKey(a){return-1!==a.indexOf("-")&&null===a.match(HTML_CUSTOM_ATTR_R)&&(a=a.replace(CAPTURE_LETTER_AFTER_HYPHEN,(function(a,b){return b.toUpperCase()}))),a}(b.slice(0,e)).trim(),g=unquote__WEBPACK_IMPORTED_MODULE_1___default()(b.slice(e+1).trim()),h=ATTRIBUTE_TO_JSX_PROP_MAP[f]||f,i=a[h]=function attributeValueToJSXPropValue(a,b){return"style"===a?b.split(/;\s?/).reduce((function(a,b){var c=b.slice(0,b.indexOf(":")),d=c.replace(/(-[a-z])/g,(function(a){return a[1].toUpperCase()}));return a[d]=b.slice(c.length+1).trim(),a}),{}):"href"===a?sanitizeUrl(b):(b.match(INTERPOLATION_R)&&(b=b.slice(1,b.length-1)),"true"===b||"false"!==b&&b)}(f,g);(HTML_BLOCK_ELEMENT_R.test(i)||HTML_SELF_CLOSING_ELEMENT_R.test(i))&&(a[h]=react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(c(i.trim()),{key:d}))}else"style"!==b&&(a[ATTRIBUTE_TO_JSX_PROP_MAP[b]||b]=!0);return a}),{}):void 0}(b=b||{}).overrides=b.overrides||{},b.slugify=b.slugify||slugify,b.namedCodesToUnicode=b.namedCodesToUnicode?_extends({},namedCodesToUnicode,b.namedCodesToUnicode):namedCodesToUnicode;var f=b.createElement||react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;var g=[],h={},i={blockQuote:{match:blockRegex(BLOCKQUOTE_R),order:2,parse:function d(a,b,c){return{content:b(a[0].replace(BLOCKQUOTE_TRIM_LEFT_MULTILINE_R,""),c)}},react:function e(a,b,c){return d("blockquote",{key:c.key},b(a.content,c))}},breakLine:{match:anyScopeRegex(BREAK_LINE_R),order:2,parse:captureNothing,react:function e(a,b,c){return d("br",{key:c.key})}},breakThematic:{match:blockRegex(BREAK_THEMATIC_R),order:2,parse:captureNothing,react:function e(a,b,c){return d("hr",{key:c.key})}},codeBlock:{match:blockRegex(CODE_BLOCK_R),order:1,parse:function c(a){return{content:a[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},react:function e(a,b,c){return d("pre",{key:c.key},d("code",{className:a.lang?"lang-"+a.lang:""},a.content))}},codeFenced:{match:blockRegex(CODE_BLOCK_FENCED_R),order:1,parse:function b(a){return{content:a[3],lang:a[2]||void 0,type:"codeBlock"}}},codeInline:{match:simpleInlineRegex(CODE_INLINE_R),order:4,parse:function b(a){return{content:a[2]}},react:function e(a,b,c){return d("code",{key:c.key},a.content)}},footnote:{match:blockRegex(FOOTNOTE_R),order:1,parse:function b(a){return g.push({footnote:a[2],identifier:a[1]}),{}},react:renderNothing},footnoteReference:{match:inlineRegex(FOOTNOTE_REFERENCE_R),order:2,parse:function c(a){return{content:a[1],target:"#"+b.slugify(a[1])}},react:function e(a,b,c){return d("a",{key:c.key,href:sanitizeUrl(a.target)},d("sup",{key:c.key},a.content))}},gfmTask:{match:inlineRegex(GFM_TASK_R),order:2,parse:function b(a){return{completed:"x"===a[1].toLowerCase()}},react:function e(a,b,c){return d("input",{checked:a.completed,key:c.key,readOnly:!0,type:"checkbox"})}},heading:{match:blockRegex(HEADING_R),order:2,parse:function e(a,c,d){return{content:parseInline(c,a[2],d),id:b.slugify(a[2]),level:a[1].length}},react:function f(a,b,c){return d("h"+a.level,{id:a.id,key:c.key},b(a.content,c))}},headingSetext:{match:blockRegex(HEADING_SETEXT_R),order:1,parse:function d(a,b,c){return{content:parseInline(b,a[1],c),level:"="===a[2]?1:2,type:"heading"}}},htmlComment:{match:anyScopeRegex(HTML_COMMENT_R),order:2,parse:function a(){return{}},react:renderNothing},image:{match:simpleInlineRegex(IMAGE_R),order:2,parse:function b(a){return{alt:a[1],target:unescapeUrl(a[2]),title:a[3]}},react:function e(a,b,c){return d("img",{key:c.key,alt:a.alt||void 0,title:a.title||void 0,src:sanitizeUrl(a.target)})}},link:{match:inlineRegex(LINK_R),order:4,parse:function d(a,b,c){return{content:parseSimpleInline(b,a[1],c),target:unescapeUrl(a[2]),title:a[3]}},react:function e(a,b,c){return d("a",{key:c.key,href:sanitizeUrl(a.target),title:a.title},b(a.content,c))}},linkAngleBraceStyleDetector:{match:inlineRegex(LINK_AUTOLINK_R),order:1,parse:function b(a){return{content:[{content:a[1],type:"text"}],target:a[1],type:"link"}}},linkBareUrlDetector:{match:inlineRegex(LINK_AUTOLINK_BARE_URL_R),order:1,parse:function b(a){return{content:[{content:a[1],type:"text"}],target:a[1],title:void 0,type:"link"}}},linkMailtoDetector:{match:inlineRegex(LINK_AUTOLINK_MAILTO_R),order:1,parse:function d(a){var b=a[1],c=a[1];return AUTOLINK_MAILTO_CHECK_R.test(c)||(c="mailto:"+c),{content:[{content:b.replace("mailto:",""),type:"text"}],target:c,type:"link"}}},list:{match:function f(a,b,c){var d=LIST_LOOKBEHIND_R.exec(c),e=b._list||!b.inline;return d&&e?(a=d[1]+a,LIST_R.exec(a)):null},order:2,parse:function j(a,b,c){var d=a[2],e=d.length>1,f=e?+d:void 0,g=a[0].replace(BLOCK_END_R,"\n").match(LIST_ITEM_R),h=!1;return{items:g.map((function(a,d){var e=LIST_ITEM_PREFIX_R.exec(a)[0].length,f=new RegExp("^ {1,"+e+"}","gm"),i=a.replace(f,"").replace(LIST_ITEM_PREFIX_R,""),j=d===g.length-1,l=-1!==i.indexOf("\n\n")||j&&h;h=l;var o,m=c.inline,n=c._list;c._list=!0,l?(c.inline=!1,o=i.replace(LIST_ITEM_END_R,"\n\n")):(c.inline=!0,o=i.replace(LIST_ITEM_END_R,""));var p=b(o,c);return c.inline=m,c._list=n,p})),ordered:e,start:f}},react:function f(a,b,c){return d(a.ordered?"ol":"ul",{key:c.key,start:a.start},a.items.map((function(a,e){return d("li",{key:e},b(a,c))})))}},newlineCoalescer:{match:blockRegex(CONSECUTIVE_NEWLINE_R),order:4,parse:captureNothing,react:function a(){return"\n"}},paragraph:{match:blockRegex(PARAGRAPH_R),order:4,parse:parseCaptureInline,react:function e(a,b,c){return d("p",{key:c.key},b(a.content,c))}},ref:{match:inlineRegex(REFERENCE_IMAGE_OR_LINK),order:1,parse:function b(a){return h[a[1]]={target:a[2],title:a[4]},{}},react:renderNothing},refImage:{match:simpleInlineRegex(REFERENCE_IMAGE_R),order:1,parse:function b(a){return{alt:a[1]||void 0,ref:a[2]}},react:function e(a,b,c){return d("img",{key:c.key,alt:a.alt,src:sanitizeUrl(h[a.ref].target),title:h[a.ref].title})}},refLink:{match:inlineRegex(REFERENCE_LINK_R),order:1,parse:function d(a,b,c){return{content:b(a[1],c),fallbackContent:b(a[0].replace(SQUARE_BRACKETS_R,"\\$1"),c),ref:a[2]}},react:function e(a,b,c){return h[a.ref]?d("a",{key:c.key,href:sanitizeUrl(h[a.ref].target),title:h[a.ref].title},b(a.content,c)):d("span",{key:c.key},b(a.fallbackContent,c))}},table:{match:blockRegex(NP_TABLE_R),order:2,parse:parseTable,react:function f(a,b,e){return d("table",{key:e.key},d("thead",null,d("tr",null,a.header.map((function(c,f){return d("th",{key:f,style:getTableStyle(a,f)},b(c,e))})))),d("tbody",null,a.cells.map((function(c,f){return d("tr",{key:f},c.map((function(f,g){return d("td",{key:g,style:getTableStyle(a,g)},b(f,e))})))}))))}},tableSeparator:{match:function c(a,b){return b.inTable?TABLE_SEPARATOR_R.exec(a):null},order:2,parse:function a(){return{type:"tableSeparator"}},react:function a(){return" | "}},text:{match:anyScopeRegex(TEXT_PLAIN_R),order:5,parse:function c(a){return{content:a[0].replace(HTML_CHAR_CODE_R,(function(a,c){return b.namedCodesToUnicode[c]?b.namedCodesToUnicode[c]:a}))}},react:function b(a){return a.content}},textBolded:{match:simpleInlineRegex(TEXT_BOLD_R),order:3,parse:function d(a,b,c){return{content:b(a[2],c)}},react:function e(a,b,c){return d("strong",{key:c.key},b(a.content,c))}},textEmphasized:{match:simpleInlineRegex(TEXT_EMPHASIZED_R),order:4,parse:function d(a,b,c){return{content:b(a[2],c)}},react:function e(a,b,c){return d("em",{key:c.key},b(a.content,c))}},textEscaped:{match:simpleInlineRegex(TEXT_ESCAPED_R),order:2,parse:function b(a){return{content:a[1],type:"text"}}},textStrikethroughed:{match:simpleInlineRegex(TEXT_STRIKETHROUGHED_R),order:4,parse:parseCaptureInline,react:function e(a,b,c){return d("del",{key:c.key},b(a.content,c))}}};!0!==b.disableParsingRawHTML&&(i.htmlBlock={match:anyScopeRegex(HTML_BLOCK_ELEMENT_R),order:2,parse:function l(a,b,c){var f=a[3].match(HTML_LEFT_TRIM_AMOUNT_R)[1],g=new RegExp("^"+f,"gm"),h=a[3].replace(g,""),i=function containsBlockSyntax(a){return BLOCK_SYNTAXES.some((function(b){return b.test(a)}))}(h)?parseBlock:parseInline,j=a[1].toLowerCase(),k=-1!==DO_NOT_PROCESS_HTML_ELEMENTS.indexOf(j);return{attrs:e(a[2]),content:k?a[3]:i(b,h,c),noInnerParse:k,tag:k?j:a[1]}},react:function e(a,b,c){return d(a.tag,_extends({key:c.key},a.attrs),a.noInnerParse?a.content:b(a.content,c))}},i.htmlSelfClosing={match:anyScopeRegex(HTML_SELF_CLOSING_ELEMENT_R),order:2,parse:function b(a){return{attrs:e(a[2]||""),tag:a[1]}},react:function e(a,b,c){return d(a.tag,_extends({},a.attrs,{key:c.key}))}});var j=parserFor(i),k=function reactFor(a){return function b(c,d){if(d=d||{},Array.isArray(c)){for(var e=d.key,f=[],g=!1,h=0;h)/g,"")}(a));return g.length&&l.props.children.push(d("footer",{key:"footer"},g.map((function(a){return d("div",{id:b.slugify(a.identifier),key:a.identifier},a.identifier,k(j(a.footnote,{inline:!0})))})))),l}function Markdown(a){var b=a.children,c=a.options,d=function _objectWithoutProperties(a,b){var c={};for(var d in a)b.indexOf(d)>=0||Object.prototype.hasOwnProperty.call(a,d)&&(c[d]=a[d]);return c}(a,["children","options"]);return react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(compiler(b,c),d)}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(51),__webpack_require__(11),__webpack_require__(52),Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={resetComponents:!0,components:!0};Object.defineProperty(exports,"components",{enumerable:!0,get:function get(){return _DocumentFormatting.components}}),exports.resetComponents=void 0;var _react=__webpack_require__(0),_DocumentFormatting=__webpack_require__(192);Object.keys(_DocumentFormatting).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_DocumentFormatting[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _DocumentFormatting[key]}}))}));var resetComponents={};exports.resetComponents=resetComponents,Object.keys(_DocumentFormatting.components).forEach((function(key){resetComponents[key]=function(props){return(0,_react.createElement)(key,props)}}))},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(22),__webpack_require__(3),__webpack_require__(11),Object.defineProperty(exports,"__esModule",{value:!0}),exports.Source=exports.SourceError=void 0;var _react=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(0)),_theming=__webpack_require__(10),_EmptyBlock=__webpack_require__(348),_syntaxhighlighter=__webpack_require__(241);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var SourceError,StyledSyntaxHighlighter=(0,_theming.styled)(_syntaxhighlighter.SyntaxHighlighter)((function(_ref){var theme=_ref.theme;return{fontSize:"".concat(theme.typography.size.s2-1,"px"),lineHeight:"19px",margin:"25px 0 40px",borderRadius:theme.appBorderRadius,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}}}));exports.SourceError=SourceError,function(SourceError){SourceError.NO_STORY="There’s no story here.",SourceError.SOURCE_UNAVAILABLE="Oh no! The source is not available."}(SourceError||(exports.SourceError=SourceError={}));var Source=function Source(props){var error=props.error;if(error)return _react.default.createElement(_EmptyBlock.EmptyBlock,null,error);var _ref3=props,language=_ref3.language,code=_ref3.code,dark=_ref3.dark,format=_ref3.format,rest=_objectWithoutProperties(_ref3,["language","code","dark","format"]),syntaxHighlighter=_react.default.createElement(StyledSyntaxHighlighter,_extends({bordered:!0,copyable:!0,format:format,language:language,className:"docblock-source"},rest),code);if(void 0===dark)return syntaxHighlighter;var overrideTheme=dark?_theming.themes.dark:_theming.themes.light;return _react.default.createElement(_theming.ThemeProvider,{theme:(0,_theming.convert)(overrideTheme)},syntaxHighlighter)};exports.Source=Source,Source.displayName="Source",Source.defaultProps={format:!1}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ZoomContext=void 0;var ZoomContext=(0,__webpack_require__(0).createContext)({scale:1});exports.ZoomContext=ZoomContext},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(25),__webpack_require__(51),__webpack_require__(31),__webpack_require__(21),__webpack_require__(18),__webpack_require__(15),__webpack_require__(14),__webpack_require__(27),__webpack_require__(8),__webpack_require__(3),__webpack_require__(54),__webpack_require__(92),__webpack_require__(11),__webpack_require__(9),__webpack_require__(24),__webpack_require__(19),__webpack_require__(52),__webpack_require__(20),Object.defineProperty(exports,"__esModule",{value:!0}),exports.ArgsTable=exports.ArgsTableError=exports.TableWrapper=void 0;var _react=_interopRequireDefault(__webpack_require__(0)),_pickBy=_interopRequireDefault(__webpack_require__(516)),_theming=__webpack_require__(10),_polished=__webpack_require__(60),_icon=__webpack_require__(118),_ArgRow=__webpack_require__(1021),_SectionRow=__webpack_require__(1089),_EmptyBlock=__webpack_require__(348),_link=__webpack_require__(240),_DocumentFormatting=__webpack_require__(192);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0,common={updateArgs:updateArgs,compact:compact,inAddonPanel:inAddonPanel,initialExpandedArgs:initialExpandedArgs};return _react.default.createElement(_DocumentFormatting.ResetWrapper,null,_react.default.createElement(TableWrapper,_extends({compact:compact,inAddonPanel:inAddonPanel},{className:"docblock-argstable"}),_react.default.createElement("thead",{className:"docblock-argstable-head"},_react.default.createElement("tr",null,_react.default.createElement("th",null,"Name"),compact?null:_react.default.createElement("th",null,"Description"),compact?null:_react.default.createElement("th",null,"Default"),updateArgs?_react.default.createElement("th",null,_react.default.createElement(ControlHeadingWrapper,null,"Control"," ",resetArgs&&_react.default.createElement(ResetButton,{onClick:function onClick(){return resetArgs()},title:"Reset controls"},_react.default.createElement(_icon.Icons,{icon:"sync","aria-hidden":!0})))):null)),_react.default.createElement("tbody",{className:"docblock-argstable-body"},groups.ungrouped.map((function(row){return _react.default.createElement(_ArgRow.ArgRow,_extends({key:row.key,row:row,arg:args&&args[row.key]},common))})),Object.entries(groups.ungroupedSubsections).map((function(_ref9){var _ref10=_slicedToArray(_ref9,2),subcategory=_ref10[0],subsection=_ref10[1];return _react.default.createElement(_SectionRow.SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan:colSpan},subsection.map((function(row){return _react.default.createElement(_ArgRow.ArgRow,_extends({key:row.key,row:row,arg:args&&args[row.key],expandable:expandable},common))})))})),Object.entries(groups.sections).map((function(_ref11){var _ref12=_slicedToArray(_ref11,2),category=_ref12[0],section=_ref12[1];return _react.default.createElement(_SectionRow.SectionRow,{key:category,label:category,level:"section",colSpan:colSpan},section.ungrouped.map((function(row){return _react.default.createElement(_ArgRow.ArgRow,_extends({key:row.key,row:row,arg:args&&args[row.key]},common))})),Object.entries(section.subsections).map((function(_ref13){var _ref14=_slicedToArray(_ref13,2),subcategory=_ref14[0],subsection=_ref14[1];return _react.default.createElement(_SectionRow.SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan:colSpan},subsection.map((function(row){return _react.default.createElement(_ArgRow.ArgRow,_extends({key:row.key,row:row,arg:args&&args[row.key],expandable:expandable},common))})))})))})))))};exports.ArgsTable=ArgsTable,ArgsTable.displayName="ArgsTable"},function(module,exports,__webpack_require__){var arrayMap=__webpack_require__(295),baseIteratee=__webpack_require__(321),basePickBy=__webpack_require__(482),getAllKeysIn=__webpack_require__(517);module.exports=function pickBy(object,predicate){if(null==object)return{};var props=arrayMap(getAllKeysIn(object),(function(prop){return[prop]}));return predicate=baseIteratee(predicate),basePickBy(object,props,(function(value,path){return predicate(value,path[0])}))}},function(module,exports,__webpack_require__){var baseGetAllKeys=__webpack_require__(476),getSymbolsIn=__webpack_require__(518),keysIn=__webpack_require__(349);module.exports=function getAllKeysIn(object){return baseGetAllKeys(object,keysIn,getSymbolsIn)}},function(module,exports,__webpack_require__){var arrayPush=__webpack_require__(327),getPrototype=__webpack_require__(310),getSymbols=__webpack_require__(328),stubArray=__webpack_require__(477),getSymbolsIn=Object.getOwnPropertySymbols?function(object){for(var result=[];object;)arrayPush(result,getSymbols(object)),object=getPrototype(object);return result}:stubArray;module.exports=getSymbolsIn},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _types=__webpack_require__(1035);Object.keys(_types).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_types[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _types[key]}}))}));var _Array=__webpack_require__(1036);Object.keys(_Array).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Array[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _Array[key]}}))}));var _Boolean=__webpack_require__(1037);Object.keys(_Boolean).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Boolean[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _Boolean[key]}}))}));var _Color=__webpack_require__(1038);Object.keys(_Color).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Color[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _Color[key]}}))}));var _Date=__webpack_require__(1073);Object.keys(_Date).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Date[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _Date[key]}}))}));var _Number=__webpack_require__(521);Object.keys(_Number).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Number[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _Number[key]}}))}));var _options=__webpack_require__(1079);Object.keys(_options).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_options[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _options[key]}}))}));var _Object=__webpack_require__(1086);Object.keys(_Object).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Object[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _Object[key]}}))}));var _Range=__webpack_require__(1087);Object.keys(_Range).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Range[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _Range[key]}}))}));var _Text=__webpack_require__(1088);Object.keys(_Text).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Text[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _Text[key]}}))}))},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(125),isArray=__webpack_require__(81),isObjectLike=__webpack_require__(105);module.exports=function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&"[object String]"==baseGetTag(value)}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(8),__webpack_require__(336),__webpack_require__(1076),__webpack_require__(3),__webpack_require__(1077),Object.defineProperty(exports,"__esModule",{value:!0}),exports.NumberControl=exports.format=exports.parse=void 0;var _react=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(0)),_theming=__webpack_require__(10),_form=__webpack_require__(131);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.str=void 0;exports.str=function str(obj){if(!obj)return"";if("string"==typeof obj)return obj;throw new Error("Description: expected string, got: ".concat(JSON.stringify(obj)))}},function(module,exports){!function(){"use strict";var ES6Regex,ES5Regex,NON_ASCII_WHITESPACES,IDENTIFIER_START,IDENTIFIER_PART,ch;function fromCodePoint(cp){return cp<=65535?String.fromCharCode(cp):String.fromCharCode(Math.floor((cp-65536)/1024)+55296)+String.fromCharCode((cp-65536)%1024+56320)}for(ES5Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},ES6Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},NON_ASCII_WHITESPACES=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],IDENTIFIER_START=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_START[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||36===ch||95===ch;for(IDENTIFIER_PART=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_PART[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57||36===ch||95===ch;module.exports={isDecimalDigit:function isDecimalDigit(ch){return 48<=ch&&ch<=57},isHexDigit:function isHexDigit(ch){return 48<=ch&&ch<=57||97<=ch&&ch<=102||65<=ch&&ch<=70},isOctalDigit:function isOctalDigit(ch){return ch>=48&&ch<=55},isWhiteSpace:function isWhiteSpace(ch){return 32===ch||9===ch||11===ch||12===ch||160===ch||ch>=5760&&NON_ASCII_WHITESPACES.indexOf(ch)>=0},isLineTerminator:function isLineTerminator(ch){return 10===ch||13===ch||8232===ch||8233===ch},isIdentifierStartES5:function isIdentifierStartES5(ch){return ch<128?IDENTIFIER_START[ch]:ES5Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES5:function isIdentifierPartES5(ch){return ch<128?IDENTIFIER_PART[ch]:ES5Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))},isIdentifierStartES6:function isIdentifierStartES6(ch){return ch<128?IDENTIFIER_START[ch]:ES6Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES6:function isIdentifierPartES6(ch){return ch<128?IDENTIFIER_PART[ch]:ES6Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))}}}()},function(module,exports,__webpack_require__){!function(){"use strict";var VERSION,Middle;function DoctrineError(message){this.name="DoctrineError",this.message=message}VERSION=__webpack_require__(1110).version,exports.VERSION=VERSION,DoctrineError.prototype=((Middle=function(){}).prototype=Error.prototype,new Middle),DoctrineError.prototype.constructor=DoctrineError,exports.DoctrineError=DoctrineError,exports.throwError=function throwError(message){throw new DoctrineError(message)},exports.assert=__webpack_require__(1111)}()},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(30),__webpack_require__(82),Object.defineProperty(exports,"__esModule",{value:!0}),exports.Title=exports.extractTitle=void 0;var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_components=__webpack_require__(99),_DocsContext=__webpack_require__(74);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}var extractTitle=function extractTitle(_ref){var kind=_ref.kind,groups=(_ref.parameters,kind.split("/"));return groups&&groups[groups.length-1]||kind};exports.extractTitle=extractTitle;exports.Title=function Title(_ref2){var children=_ref2.children,context=(0,_react.useContext)(_DocsContext.DocsContext),text=children;return text||(text=extractTitle(context)),text?_react.default.createElement(_components.Title,{className:"sbdocs-title"},text):null}},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Subtitle=void 0;var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_components=__webpack_require__(99),_DocsContext=__webpack_require__(74);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}exports.Subtitle=function Subtitle(_ref){var children=_ref.children,parameters=(0,_react.useContext)(_DocsContext.DocsContext).parameters,text=children;return text||(text=null==parameters?void 0:parameters.componentSubtitle),text?_react.default.createElement(_components.Subtitle,{className:"sbdocs-subtitle"},text):null}},function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}__webpack_require__(127),__webpack_require__(8),__webpack_require__(3),Object.defineProperty(exports,"__esModule",{value:!0}),exports.Primary=void 0;var _react=function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(0)),_DocsContext=__webpack_require__(74),_DocsStory=__webpack_require__(361),_utils=__webpack_require__(193);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i0&&aGenerated.column>=0)||aOriginal||aSource||aName)&&!(aGenerated&&"line"in aGenerated&&"column"in aGenerated&&aOriginal&&"line"in aOriginal&&"column"in aOriginal&&aGenerated.line>0&&aGenerated.column>=0&&aOriginal.line>0&&aOriginal.column>=0&&aSource))throw new Error("Invalid mapping: "+JSON.stringify({generated:aGenerated,source:aSource,original:aOriginal,name:aName}))},SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){for(var next,mapping,nameIdx,sourceIdx,previousGeneratedColumn=0,previousGeneratedLine=1,previousOriginalColumn=0,previousOriginalLine=0,previousName=0,previousSource=0,result="",mappings=this._mappings.toArray(),i=0,len=mappings.length;i0){if(!util.compareByGeneratedPositionsInflated(mapping,mappings[i-1]))continue;next+=","}next+=base64VLQ.encode(mapping.generatedColumn-previousGeneratedColumn),previousGeneratedColumn=mapping.generatedColumn,null!=mapping.source&&(sourceIdx=this._sources.indexOf(mapping.source),next+=base64VLQ.encode(sourceIdx-previousSource),previousSource=sourceIdx,next+=base64VLQ.encode(mapping.originalLine-1-previousOriginalLine),previousOriginalLine=mapping.originalLine-1,next+=base64VLQ.encode(mapping.originalColumn-previousOriginalColumn),previousOriginalColumn=mapping.originalColumn,null!=mapping.name&&(nameIdx=this._names.indexOf(mapping.name),next+=base64VLQ.encode(nameIdx-previousName),previousName=nameIdx)),result+=next}return result},SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(aSources,aSourceRoot){return aSources.map((function(source){if(!this._sourcesContents)return null;null!=aSourceRoot&&(source=util.relative(aSourceRoot,source));var key=util.toSetString(source);return Object.prototype.hasOwnProperty.call(this._sourcesContents,key)?this._sourcesContents[key]:null}),this)},SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var map={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(map.file=this._file),null!=this._sourceRoot&&(map.sourceRoot=this._sourceRoot),this._sourcesContents&&(map.sourcesContent=this._generateSourcesContent(map.sources,map.sourceRoot)),map},SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())},exports.SourceMapGenerator=SourceMapGenerator},function(module,exports,__webpack_require__){var base64=__webpack_require__(1157);exports.encode=function base64VLQ_encode(aValue){var digit,encoded="",vlq=function toVLQSigned(aValue){return aValue<0?1+(-aValue<<1):0+(aValue<<1)}(aValue);do{digit=31&vlq,(vlq>>>=5)>0&&(digit|=32),encoded+=base64.encode(digit)}while(vlq>0);return encoded},exports.decode=function base64VLQ_decode(aStr,aIndex,aOutParam){var continuation,digit,strLen=aStr.length,result=0,shift=0;do{if(aIndex>=strLen)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(digit=base64.decode(aStr.charCodeAt(aIndex++))))throw new Error("Invalid base64 digit: "+aStr.charAt(aIndex-1));continuation=!!(32&digit),result+=(digit&=31)<>1;return 1==(1&aValue)?-shifted:shifted}(result),aOutParam.rest=aIndex}},function(module,exports,__webpack_require__){var util=__webpack_require__(195),has=Object.prototype.hasOwnProperty,hasNativeMap="undefined"!=typeof Map;function ArraySet(){this._array=[],this._set=hasNativeMap?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(aArray,aAllowDuplicates){for(var set=new ArraySet,i=0,len=aArray.length;i=0)return idx}else{var sStr=util.toSetString(aStr);if(has.call(this._set,sStr))return this._set[sStr]}throw new Error('"'+aStr+'" is not in the set.')},ArraySet.prototype.at=function ArraySet_at(aIdx){if(aIdx>=0&&aIdxarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0?previousNodes.length-1:0),previousNode=previousNodes[previousNodes.length-1];return!previousNode||"string"!==currentNode.type&&"number"!==currentNode.type||"string"!==previousNode.type&&"number"!==previousNode.type?(previousNode&&nodes.push(previousNode),nodes.push(currentNode)):nodes.push(createStringTreeNode(String(previousNode.value)+String(currentNode.value))),nodes};var formatOneChildren=function formatOneChildren(inline,lvl,options){return function(element){return function compensateMultilineStringElementIndentation(element,formattedElement,inline,lvl,options){var tabStop=options.tabStop;return"string"===element.type?formattedElement.split("\n").map((function(line,offset){return 0===offset?line:"".concat(spacer(lvl,tabStop)).concat(line)})).join("\n"):formattedElement}(element,formatTreeNode(element,inline,lvl,options),0,lvl,options)}},isInlineAttributeTooLong=function isInlineAttributeTooLong(attributes,inlineAttributeString,lvl,tabStop,maxInlineAttributesLineLength){return maxInlineAttributesLineLength?spacer(lvl,tabStop).length+inlineAttributeString.length>maxInlineAttributesLineLength:attributes.length>1},formatReactElementNode=function(node,inline,lvl,options){var type=node.type,_node$displayName=node.displayName,displayName=void 0===_node$displayName?"":_node$displayName,childrens=node.childrens,_node$props=node.props,props=void 0===_node$props?{}:_node$props,_node$defaultProps=node.defaultProps,defaultProps=void 0===_node$defaultProps?{}:_node$defaultProps;if("ReactElement"!==type)throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(type));var filterProps=options.filterProps,maxInlineAttributesLineLength=options.maxInlineAttributesLineLength,showDefaultProps=options.showDefaultProps,sortProps=options.sortProps,tabStop=options.tabStop,out="<".concat(displayName),outInlineAttr=out,outMultilineAttr=out,containsMultilineAttr=!1,visibleAttributeNames=[],propFilter=function createPropFilter(props,filter){return Array.isArray(filter)?function(key){return-1===filter.indexOf(key)}:function(key){return filter(props[key],key)}}(props,filterProps);Object.keys(props).filter(propFilter).filter(function onlyPropsWithOriginalValue(defaultProps,props){return function(propName){var haveDefaultValue=Object.keys(defaultProps).includes(propName);return!haveDefaultValue||haveDefaultValue&&defaultProps[propName]!==props[propName]}}(defaultProps,props)).forEach((function(propName){return visibleAttributeNames.push(propName)})),Object.keys(defaultProps).filter(propFilter).filter((function(){return showDefaultProps})).filter((function(defaultPropName){return!visibleAttributeNames.includes(defaultPropName)})).forEach((function(defaultPropName){return visibleAttributeNames.push(defaultPropName)}));var shouldSortUserProps,attributes=(shouldSortUserProps=sortProps,function(props){var haveKeyProp=props.includes("key"),haveRefProp=props.includes("ref"),userPropsOnly=props.filter((function(oneProp){return!function isKeyOrRefProps(propName){return["key","ref"].includes(propName)}(oneProp)})),sortedProps=_toConsumableArray(shouldSortUserProps?userPropsOnly.sort():userPropsOnly);return haveRefProp&&sortedProps.unshift("ref"),haveKeyProp&&sortedProps.unshift("key"),sortedProps})(visibleAttributeNames);if(attributes.forEach((function(attributeName){var _formatProp=function(name,hasValue,value,hasDefaultValue,defaultValue,inline,lvl,options){if(!hasValue&&!hasDefaultValue)throw new Error('The prop "'.concat(name,'" has no value and no default: could not be formatted'));var usedValue=hasValue?value:defaultValue,useBooleanShorthandSyntax=options.useBooleanShorthandSyntax,tabStop=options.tabStop,formattedPropValue=formatPropValue(usedValue,inline,lvl,options),attributeFormattedInline=" ",attributeFormattedMultiline="\n".concat(spacer(lvl+1,tabStop)),isMultilineAttribute=formattedPropValue.includes("\n");return useBooleanShorthandSyntax&&"{false}"===formattedPropValue&&!hasDefaultValue?(attributeFormattedInline="",attributeFormattedMultiline=""):useBooleanShorthandSyntax&&"{true}"===formattedPropValue?(attributeFormattedInline+="".concat(name),attributeFormattedMultiline+="".concat(name)):(attributeFormattedInline+="".concat(name,"=").concat(formattedPropValue),attributeFormattedMultiline+="".concat(name,"=").concat(formattedPropValue)),{attributeFormattedInline:attributeFormattedInline,attributeFormattedMultiline:attributeFormattedMultiline,isMultilineAttribute:isMultilineAttribute}}(attributeName,Object.keys(props).includes(attributeName),props[attributeName],Object.keys(defaultProps).includes(attributeName),defaultProps[attributeName],inline,lvl,options),attributeFormattedInline=_formatProp.attributeFormattedInline,attributeFormattedMultiline=_formatProp.attributeFormattedMultiline;_formatProp.isMultilineAttribute&&(containsMultilineAttr=!0),outInlineAttr+=attributeFormattedInline,outMultilineAttr+=attributeFormattedMultiline})),outMultilineAttr+="\n".concat(spacer(lvl,tabStop)),out=function shouldRenderMultilineAttr(attributes,inlineAttributeString,containsMultilineAttr,inline,lvl,tabStop,maxInlineAttributesLineLength){return(isInlineAttributeTooLong(attributes,inlineAttributeString,lvl,tabStop,maxInlineAttributesLineLength)||containsMultilineAttr)&&!inline}(attributes,outInlineAttr,containsMultilineAttr,inline,lvl,tabStop,maxInlineAttributesLineLength)?outMultilineAttr:outInlineAttr,childrens&&childrens.length>0){var newLvl=lvl+1;out+=">",inline||(out+="\n",out+=spacer(newLvl,tabStop)),out+=childrens.reduce(mergeSiblingPlainStringChildrenReducer,[]).map(formatOneChildren(inline,newLvl,options)).join(inline?"":"\n".concat(spacer(newLvl,tabStop))),inline||(out+="\n",out+=spacer(newLvl-1,tabStop)),out+="")}else isInlineAttributeTooLong(attributes,outInlineAttr,lvl,tabStop,maxInlineAttributesLineLength)||(out+=" "),out+="/>";return out},formatReactFragmentNode=function(node,inline,lvl,options){var displayName,type=node.type,key=node.key,childrens=node.childrens;if("ReactFragment"!==type)throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(type));return displayName=options.useFragmentShortSyntax?function hasNoChildren(_ref2){return 0===_ref2.childrens.length}(node)||function isKeyedFragment(_ref){var key=_ref.key;return Boolean(key)}(node)?"React.Fragment":"":"React.Fragment",formatReactElementNode(function toReactElementTreeNode(displayName,key,childrens){var props={};return key&&(props={key:key}),{type:"ReactElement",displayName:displayName,props:props,defaultProps:{},childrens:childrens}}(displayName,key,childrens),inline,lvl,options)},jsxStopChars=["<",">","{","}"],escape=function escape(s){return function shouldBeEscaped(s){return jsxStopChars.some((function(jsxStopChar){return s.includes(jsxStopChar)}))}(s)?"{`".concat(s,"`}"):s},formatTreeNode=function(node,inline,lvl,options){if("number"===node.type)return String(node.value);if("string"===node.type)return node.value?"".concat(function preserveTrailingSpace(s){var result=s;return result.endsWith(" ")&&(result=result.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),result.startsWith(" ")&&(result=result.replace(/^(\s+)(.*)$/,"{'$1'}$2")),result}(escape(String(node.value)))):"";if("ReactElement"===node.type)return formatReactElementNode(node,inline,lvl,options);if("ReactFragment"===node.type)return formatReactFragmentNode(node,inline,lvl,options);throw new TypeError('Unknow format type "'.concat(node.type,'"'))},formatTree=function(node,options){return formatTreeNode(node,!1,0,options)};exports.default=function reactElementToJsxString(element){var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$filterProps=_ref.filterProps,filterProps=void 0===_ref$filterProps?[]:_ref$filterProps,_ref$showDefaultProps=_ref.showDefaultProps,showDefaultProps=void 0===_ref$showDefaultProps||_ref$showDefaultProps,_ref$showFunctions=_ref.showFunctions,showFunctions=void 0!==_ref$showFunctions&&_ref$showFunctions,functionValue=_ref.functionValue,_ref$tabStop=_ref.tabStop,tabStop=void 0===_ref$tabStop?2:_ref$tabStop,_ref$useBooleanShorth=_ref.useBooleanShorthandSyntax,useBooleanShorthandSyntax=void 0===_ref$useBooleanShorth||_ref$useBooleanShorth,_ref$useFragmentShort=_ref.useFragmentShortSyntax,useFragmentShortSyntax=void 0===_ref$useFragmentShort||_ref$useFragmentShort,_ref$sortProps=_ref.sortProps,sortProps=void 0===_ref$sortProps||_ref$sortProps,maxInlineAttributesLineLength=_ref.maxInlineAttributesLineLength,displayName=_ref.displayName;if(!element)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var options={filterProps:filterProps,showDefaultProps:showDefaultProps,showFunctions:showFunctions,functionValue:functionValue,tabStop:tabStop,useBooleanShorthandSyntax:useBooleanShorthandSyntax,useFragmentShortSyntax:useFragmentShortSyntax,sortProps:sortProps,maxInlineAttributesLineLength:maxInlineAttributesLineLength,displayName:displayName};return formatTree(parseReactElement(element,options),options)},exports.inlineFunction=inlineFunction,exports.preserveFunctionLineBreak=function preserveFunctionLineBreak(fn){return fn.toString()}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(3),Object.defineProperty(exports,"__esModule",{value:!0}),exports.action=function action(name){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},actionOptions=Object.assign({},_configureActions.config,options),handler=function actionHandler(){for(var channel=_addons.addons.getChannel(),id=(0,_uuid.v4)(),minDepth=5,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var actionDisplayToEmit={id:id,count:0,data:{name:name,args:args},options:Object.assign({},actionOptions,{depth:minDepth+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1})};channel.emit(_constants.EVENT_ID,actionDisplayToEmit)};return handler};var _uuid=__webpack_require__(1226),_addons=__webpack_require__(90),_constants=__webpack_require__(367),_configureActions=__webpack_require__(368)},function(module,exports,__webpack_require__){"use strict";__webpack_require__(4),__webpack_require__(13),__webpack_require__(26),__webpack_require__(51),__webpack_require__(31),__webpack_require__(21),__webpack_require__(18),__webpack_require__(14),__webpack_require__(27),__webpack_require__(8),__webpack_require__(3),__webpack_require__(11),__webpack_require__(9),__webpack_require__(24),__webpack_require__(19),__webpack_require__(52),__webpack_require__(20),Object.defineProperty(exports,"__esModule",{value:!0}),exports.actions=void 0;var _action=__webpack_require__(542),_configureActions=__webpack_require__(368);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:[],defaultName=arguments.length>2?arguments[2]:void 0;if("transparent"===currentSelectedValue)return"transparent";if(backgrounds.find((function(background){return background.value===currentSelectedValue})))return currentSelectedValue;var defaultBackground=backgrounds.find((function(background){return background.name===defaultName}));if(defaultBackground)return defaultBackground.value;if(defaultName){var availableColors=backgrounds.map((function(background){return background.name})).join(", ");_clientLogger.logger.warn((0,_tsDedent.default)(_templateObject(),defaultName,availableColors))}return"transparent"};exports.clearStyles=function clearStyles(selector){(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)};var clearStyle=function clearStyle(selector){var element=_global.document.getElementById(selector);element&&element.parentElement.removeChild(element)};exports.addGridStyle=function addGridStyle(selector,css){var existingStyle=_global.document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{var style=_global.document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,_global.document.head.appendChild(style)}};exports.addBackgroundStyle=function addBackgroundStyle(selector,css,storyId){var existingStyle=_global.document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{var style=_global.document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css;var gridStyleSelector="addon-backgrounds-grid".concat(storyId?"-docs-".concat(storyId):""),existingGridStyle=_global.document.getElementById(gridStyleSelector);existingGridStyle?existingGridStyle.parentElement.insertBefore(style,existingGridStyle):_global.document.head.appendChild(style)}}},,,,,,,,,,,,,,function(module,exports){module.exports=function isFunction(fn){if(!fn)return!1;var string=toString.call(fn);return"[object Function]"===string||"function"==typeof fn&&"[object RegExp]"!==string||"undefined"!=typeof window&&(fn===window.setTimeout||fn===window.alert||fn===window.confirm||fn===window.prompt)};var toString=Object.prototype.toString},function(module,__webpack_exports__,__webpack_require__){"use strict";function isObject(val){return null!=val&&"object"==typeof val&&!1===Array.isArray(val)}__webpack_require__.d(__webpack_exports__,"a",(function(){return isObject}))},function(module,__webpack_exports__,__webpack_require__){"use strict";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i=0||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}(_ref,["fill","width","height","style"]);return _react2.default.createElement("svg",_extends({viewBox:"0 0 24 24",style:_extends({fill:fill,width:width,height:height},style)},props),_react2.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i=0||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}(_ref,["fill","width","height","style"]);return _react2.default.createElement("svg",_extends({viewBox:"0 0 24 24",style:_extends({fill:fill,width:width,height:height},style)},props),_react2.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(1205)},function(module,exports,__webpack_require__){"use strict";module.exports=function(){function m(a){var b=[];return a.AMapUI&&b.push(p(a.AMapUI)),a.Loca&&b.push(r(a.Loca)),Promise.all(b)}function p(a){return new Promise((function(h,c){var f=[];if(a.plugins)for(var e=0;e0||-1)*floor(abs(n))),n},ToPrimitive:function ToPrimitive(input){var val,valueOf,toStr;if(isPrimitive(input))return input;if(valueOf=input.valueOf,isCallable(valueOf)&&(val=valueOf.call(input),isPrimitive(val)))return val;if(toStr=input.toString,isCallable(toStr)&&(val=toStr.call(input),isPrimitive(val)))return val;throw new TypeError},ToObject:function(o){if(null==o)throw new TypeError("can't convert "+o+" to object");return $Object(o)},ToUint32:function ToUint32(x){return x>>>0}},Empty=function Empty(){};defineProperties(FunctionPrototype,{bind:function bind(that){var target=this;if(!isCallable(target))throw new TypeError("Function.prototype.bind called on incompatible "+target);for(var bound,args=array_slice.call(arguments,1),binder=function(){if(this instanceof bound){var result=apply.call(target,this,array_concat.call(args,array_slice.call(arguments)));return $Object(result)===result?result:this}return apply.call(target,that,array_concat.call(args,array_slice.call(arguments)))},boundLength=max(0,target.length-args.length),boundArgs=[],i=0;i0;)r[i]=arr[i];return origArraySliceApply(r,origArraySlice(arguments,1))},arraySliceApply=function arraySliceApplyIE(arr,args){return origArraySliceApply(arraySlice(arr),args)}}var strSlice=call.bind(StringPrototype.slice),strSplit=call.bind(StringPrototype.split),strIndexOf=call.bind(StringPrototype.indexOf),pushCall=call.bind(array_push),isEnum=call.bind(ObjectPrototype.propertyIsEnumerable),arraySort=call.bind(ArrayPrototype.sort),isArray=$Array.isArray||function isArray(obj){return"[object Array]"===toStr(obj)},hasUnshiftReturnValueBug=1!==[].unshift(0);defineProperties(ArrayPrototype,{unshift:function(){return array_unshift.apply(this,arguments),this.length}},hasUnshiftReturnValueBug),defineProperties($Array,{isArray:isArray});var boxedString=$Object("a"),splitString="a"!==boxedString[0]||!(0 in boxedString),properlyBoxesContext=function properlyBoxed(method){var properlyBoxesNonStrict=!0,properlyBoxesStrict=!0,threwException=!1;if(method)try{method.call("foo",(function(_,__,context){"object"!=typeof context&&(properlyBoxesNonStrict=!1)})),method.call([1],(function(){properlyBoxesStrict="string"==typeof this}),"x")}catch(e){threwException=!0}return!!method&&!threwException&&properlyBoxesNonStrict&&properlyBoxesStrict};defineProperties(ArrayPrototype,{forEach:function forEach(callbackfn){var T,object=ES.ToObject(this),self=splitString&&isString(this)?strSplit(this,""):object,i=-1,length=ES.ToUint32(self.length);if(arguments.length>1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++i1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.map callback must be a function");for(var i=0;i1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.filter callback must be a function");for(var i=0;i1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.every callback must be a function");for(var i=0;i1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.some callback must be a function");for(var i=0;i=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;i=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(--i<0)throw new TypeError("reduceRight of empty array with no initial value")}if(i<0)return result;do{i in self&&(result=callbackfn(result,self[i],i,object))}while(i--);return result}},!reduceRightCoercesToObject);var hasFirefox2IndexOfBug=ArrayPrototype.indexOf&&-1!==[0,1].indexOf(1,2);defineProperties(ArrayPrototype,{indexOf:function indexOf(searchElement){var self=splitString&&isString(this)?strSplit(this,""):ES.ToObject(this),length=ES.ToUint32(self.length);if(0===length)return-1;var i=0;for(arguments.length>1&&(i=ES.ToInteger(arguments[1])),i=i>=0?i:max(0,length+i);i1&&(i=min(i,ES.ToInteger(arguments[1]))),i=i>=0?i:length-abs(i);i>=0;i--)if(i in self&&searchElement===self[i])return i;return-1}},hasFirefox2LastIndexOfBug);var spliceNoopReturnsEmptyArray=(a=[1,2],result=a.splice(),2===a.length&&isArray(result)&&0===result.length);var a,result;defineProperties(ArrayPrototype,{splice:function splice(start,deleteCount){return 0===arguments.length?[]:array_splice.apply(this,arguments)}},!spliceNoopReturnsEmptyArray);var spliceWorksWithEmptyObject=(obj={},ArrayPrototype.splice.call(obj,0,0,1),1===obj.length),hasES6Defaults=3===[0,1,2].splice(0).length;var obj;defineProperties(ArrayPrototype,{splice:function splice(start,deleteCount){if(0===arguments.length)return[];var args=arguments;return this.length=max(ES.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof deleteCount&&((args=arraySlice(arguments)).length<2?pushCall(args,this.length-start):args[1]=ES.ToInteger(deleteCount)),array_splice.apply(this,args)}},!spliceWorksWithEmptyObject||!hasES6Defaults);var spliceWorksWithLargeSparseArrays=(arr=new $Array(1e5),arr[8]="x",arr.splice(1,1),7===arr.indexOf("x")),spliceWorksWithSmallSparseArrays=function(){var arr=[];return arr[256]="a",arr.splice(257,0,"b"),"a"===arr[256]}();var arr;defineProperties(ArrayPrototype,{splice:function splice(start,deleteCount){for(var from,O=ES.ToObject(this),A=[],len=ES.ToUint32(O.length),relativeStart=ES.ToInteger(start),actualStart=relativeStart<0?max(len+relativeStart,0):min(relativeStart,len),actualDeleteCount=0===arguments.length?0:1===arguments.length?len-actualStart:min(max(ES.ToInteger(deleteCount),0),len-actualStart),k=0;kminK;)delete O[k-1],k-=1}else if(itemCount>actualDeleteCount)for(k=len-actualDeleteCount;k>actualStart;)from=$String(k+actualDeleteCount-1),to=$String(k+itemCount-1),owns(O,from)?O[to]=O[from]:delete O[to],k-=1;k=actualStart;for(var i=0;i=0&&!isArray(value)&&isCallable(value.callee)},isArguments=isStandardArguments(arguments)?isStandardArguments:isLegacyArguments;defineProperties($Object,{keys:function keys(object){var isFn=isCallable(object),isArgs=isArguments(object),isObject=null!==object&&"object"==typeof object,isStr=isObject&&isString(object);if(!isObject&&!isFn&&!isArgs)throw new TypeError("Object.keys called on a non-object");var theKeys=[],skipProto=hasProtoEnumBug&&isFn;if(isStr&&hasStringEnumBug||isArgs)for(var i=0;i11?year+1:year},getMonth:function getMonth(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetFullYear(this),month=originalGetMonth(this);return year<0&&month>11?0:month},getDate:function getDate(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetFullYear(this),month=originalGetMonth(this),date=originalGetDate(this);return year<0&&month>11?12===month?date:daysInMonth(0,year+1)-date+1:date},getUTCFullYear:function getUTCFullYear(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetUTCFullYear(this);return year<0&&originalGetUTCMonth(this)>11?year+1:year},getUTCMonth:function getUTCMonth(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetUTCFullYear(this),month=originalGetUTCMonth(this);return year<0&&month>11?0:month},getUTCDate:function getUTCDate(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetUTCFullYear(this),month=originalGetUTCMonth(this),date=originalGetUTCDate(this);return year<0&&month>11?12===month?date:daysInMonth(0,year+1)-date+1:date}},hasNegativeMonthYearBug),defineProperties(Date.prototype,{toUTCString:function toUTCString(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var day=originalGetUTCDay(this),date=originalGetUTCDate(this),month=originalGetUTCMonth(this),year=originalGetUTCFullYear(this),hour=originalGetUTCHours(this),minute=originalGetUTCMinutes(this),second=originalGetUTCSeconds(this);return dayName[day]+", "+(date<10?"0"+date:date)+" "+monthName[month]+" "+year+" "+(hour<10?"0"+hour:hour)+":"+(minute<10?"0"+minute:minute)+":"+(second<10?"0"+second:second)+" GMT"}},hasNegativeMonthYearBug||hasToUTCStringFormatBug),defineProperties(Date.prototype,{toDateString:function toDateString(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var day=this.getDay(),date=this.getDate(),month=this.getMonth(),year=this.getFullYear();return dayName[day]+" "+monthName[month]+" "+(date<10?"0"+date:date)+" "+year}},hasNegativeMonthYearBug||hasToDateStringFormatBug),(hasNegativeMonthYearBug||hasToStringFormatBug)&&(Date.prototype.toString=function toString(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var day=this.getDay(),date=this.getDate(),month=this.getMonth(),year=this.getFullYear(),hour=this.getHours(),minute=this.getMinutes(),second=this.getSeconds(),timezoneOffset=this.getTimezoneOffset(),hoursOffset=floor(abs(timezoneOffset)/60),minutesOffset=floor(abs(timezoneOffset)%60);return dayName[day]+" "+monthName[month]+" "+(date<10?"0"+date:date)+" "+year+" "+(hour<10?"0"+hour:hour)+":"+(minute<10?"0"+minute:minute)+":"+(second<10?"0"+second:second)+" GMT"+(timezoneOffset>0?"-":"+")+(hoursOffset<10?"0"+hoursOffset:hoursOffset)+(minutesOffset<10?"0"+minutesOffset:minutesOffset)},supportsDescriptors&&$Object.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var negativeDate=-621987552e5,negativeYearString="-000001",hasNegativeDateBug=Date.prototype.toISOString&&-1===new Date(negativeDate).toISOString().indexOf(negativeYearString),hasSafari51DateBug=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),getTime=call.bind(Date.prototype.getTime);defineProperties(Date.prototype,{toISOString:function toISOString(){if(!isFinite(this)||!isFinite(getTime(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var year=originalGetUTCFullYear(this),month=originalGetUTCMonth(this);year+=floor(month/12);var result=[(month=(month%12+12)%12)+1,originalGetUTCDate(this),originalGetUTCHours(this),originalGetUTCMinutes(this),originalGetUTCSeconds(this)];year=(year<0?"-":year>9999?"+":"")+strSlice("00000"+abs(year),0<=year&&year<=9999?-4:-6);for(var i=0;i=7&&ms>maxSafeUnsigned32Bit){var msToShift=floor(ms/maxSafeUnsigned32Bit)*maxSafeUnsigned32Bit,sToShift=floor(msToShift/1e3);seconds+=sToShift,millis-=1e3*sToShift}var parsed=DateShim.parse(Y),hasNegTimestampParseBug=isNaN(parsed);date=1!==length||$String(Y)!==Y||hasNegTimestampParseBug?length>=7?new NativeDate(Y,M,D,h,m,seconds,millis):length>=6?new NativeDate(Y,M,D,h,m,seconds):length>=5?new NativeDate(Y,M,D,h,m):length>=4?new NativeDate(Y,M,D,h):length>=3?new NativeDate(Y,M,D):length>=2?new NativeDate(Y,M):length>=1?new NativeDate(Y instanceof NativeDate?+Y:Y):new NativeDate:new NativeDate(parsed)}else date=NativeDate.apply(this,arguments);return isPrimitive(date)||defineProperties(date,{constructor:DateShim},!0),date},isoDateExpression=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),months=[0,31,59,90,120,151,181,212,243,273,304,334,365],dayFromMonth=function dayFromMonth(year,month){var t=month>1?1:0;return months[month]+floor((year-1969+t)/4)-floor((year-1901+t)/100)+floor((year-1601+t)/400)+365*(year-1970)},toUTC=function toUTC(t){var s=0,ms=t;if(hasSafariSignedIntBug&&ms>maxSafeUnsigned32Bit){var msToShift=floor(ms/maxSafeUnsigned32Bit)*maxSafeUnsigned32Bit,sToShift=floor(msToShift/1e3);s+=sToShift,ms-=1e3*sToShift}return $Number(new NativeDate(1970,0,1,0,0,s,ms))};for(var key in NativeDate)owns(NativeDate,key)&&(DateShim[key]=NativeDate[key]);defineProperties(DateShim,{now:NativeDate.now,UTC:NativeDate.UTC},!0),DateShim.prototype=NativeDate.prototype,defineProperties(DateShim.prototype,{constructor:DateShim},!0);return defineProperties(DateShim,{parse:function parse(string){var match=isoDateExpression.exec(string);if(match){var result,year=$Number(match[1]),month=$Number(match[2]||1)-1,day=$Number(match[3]||1)-1,hour=$Number(match[4]||0),minute=$Number(match[5]||0),second=$Number(match[6]||0),millisecond=floor(1e3*$Number(match[7]||0)),isLocalTime=Boolean(match[4]&&!match[8]),signOffset="-"===match[9]?1:-1,hourOffset=$Number(match[10]||0),minuteOffset=$Number(match[11]||0),hasMinutesOrSecondsOrMilliseconds=minute>0||second>0||millisecond>0;return hour<(hasMinutesOrSecondsOrMilliseconds?24:25)&&minute<60&&second<60&&millisecond<1e3&&month>-1&&month<12&&hourOffset<24&&minuteOffset<60&&day>-1&&day=0;)c+=toFixedHelpers.data[i],toFixedHelpers.data[i]=floor(c/n),c=c%n*toFixedHelpers.base},numToString:function numToString(){for(var i=toFixedHelpers.size,s="";--i>=0;)if(""!==s||0===i||0!==toFixedHelpers.data[i]){var t=$String(toFixedHelpers.data[i]);""===s?s=t:s+=strSlice("0000000",0,7-t.length)+t}return s},pow:function pow(x,n,acc){return 0===n?acc:n%2==1?pow(x,n-1,acc*x):pow(x*x,n/2,acc)},log:function log(x){for(var n=0,x2=x;x2>=4096;)n+=12,x2/=4096;for(;x2>=2;)n+=1,x2/=2;return n}},toFixedShim=function toFixed(fractionDigits){var f,x,s,m,e,z,j,k;if(f=$Number(fractionDigits),(f=isActualNaN(f)?0:floor(f))<0||f>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(x=$Number(this),isActualNaN(x))return"NaN";if(x<=-1e21||x>=1e21)return $String(x);if(s="",x<0&&(s="-",x=-x),m="0",x>1e-21)if(z=(e=toFixedHelpers.log(x*toFixedHelpers.pow(2,69,1))-69)<0?x*toFixedHelpers.pow(2,-e,1):x/toFixedHelpers.pow(2,e,1),z*=4503599627370496,(e=52-e)>0){for(toFixedHelpers.multiply(0,z),j=f;j>=7;)toFixedHelpers.multiply(1e7,0),j-=7;for(toFixedHelpers.multiply(toFixedHelpers.pow(10,j,1),0),j=e-1;j>=23;)toFixedHelpers.divide(1<<23),j-=23;toFixedHelpers.divide(1<0?(k=m.length)<=f?s+strSlice("0.0000000000000000000",0,f-k+2)+m:s+strSlice(m,0,k-f)+"."+strSlice(m,k-f):s+m};defineProperties(NumberPrototype,{toFixed:toFixedShim},hasToFixedBugs);var hasToExponentialRoundingBug=function(){try{return"-6.9000e-11"!==(-69e-12).toExponential(4)}catch(e){return!1}}(),toExponentialAllowsInfiniteDigits=function(){try{return 1..toExponential(1/0),1..toExponential(-1/0),!0}catch(e){return!1}}(),originalToExponential=call.bind(NumberPrototype.toExponential),numberToString=call.bind(NumberPrototype.toString),numberValueOf=call.bind(NumberPrototype.valueOf);defineProperties(NumberPrototype,{toExponential:function toExponential(fractionDigits){var x=numberValueOf(this);if(void 0===fractionDigits)return originalToExponential(x);var f=ES.ToInteger(fractionDigits);if(isActualNaN(x))return"NaN";if(f<0||f>20){if(!isFinite(f))throw new RangeError("toExponential() argument must be between 0 and 20");return originalToExponential(x,f)}var s="";if(x<0&&(s="-",x=-x),x===1/0)return s+"Infinity";if(void 0!==fractionDigits&&(f<0||f>20))throw new RangeError("Fraction digits "+fractionDigits+" out of range");var m="",e=0,c="",d="";if(0===x)e=0,f=0,m="0";else{var L=log10(x);e=floor(L);var n=0;if(void 0!==fractionDigits){var w=pow(10,e-f);2*x>=(2*(n=round(x/w))+1)*w&&(n+=1),n>=pow(10,f+1)&&(n/=10,e+=1)}else for(var guess_n=round(pow(10,L-e+(f=16))),target_f=f;f-- >0;)guess_n=round(pow(10,L-e+f)),abs(guess_n*pow(10,e-f)-x)<=abs(n*pow(10,e-target_f)-x)&&(target_f=f,n=guess_n);if(m=numberToString(n,10),void 0===fractionDigits)for(;"0"===strSlice(m,-1);)m=strSlice(m,0,-1),d+=1}return 0!==f&&(m=strSlice(m,0,1)+"."+strSlice(m,1)),0===e?(c="+",d="0"):(c=e>0?"+":"-",d=numberToString(abs(e),10)),s+(m+="e"+c+d)}},hasToExponentialRoundingBug||toExponentialAllowsInfiniteDigits);var hasToPrecisionUndefinedBug=function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}(),originalToPrecision=call.bind(NumberPrototype.toPrecision);defineProperties(NumberPrototype,{toPrecision:function toPrecision(precision){return void 0===precision?originalToPrecision(this):originalToPrecision(this,precision)}},hasToPrecisionUndefinedBug),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?(compliantExecNpcg=void 0===/()??/.exec("")[1],maxSafe32BitInt=pow(2,32)-1,StringPrototype.split=function split(separator,limit){var string=String(this);if(void 0===separator&&0===limit)return[];if(!isRegex(separator))return strSplit(this,separator,limit);var separator2,match,lastIndex,lastLength,output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":""),lastLastIndex=0,separatorCopy=new RegExp(separator.source,flags+"g");compliantExecNpcg||(separator2=new RegExp("^"+separatorCopy.source+"$(?!\\s)",flags));var splitLimit=void 0===limit?maxSafe32BitInt:ES.ToUint32(limit);for(match=separatorCopy.exec(string);match&&!((lastIndex=match.index+match[0].length)>lastLastIndex&&(pushCall(output,strSlice(string,lastLastIndex,match.index)),!compliantExecNpcg&&match.length>1&&match[0].replace(separator2,(function(){for(var i=1;i1&&match.index=splitLimit));)separatorCopy.lastIndex===match.index&&separatorCopy.lastIndex++,match=separatorCopy.exec(string);return lastLastIndex===string.length?!lastLength&&separatorCopy.test("")||pushCall(output,""):pushCall(output,strSlice(string,lastLastIndex)),output.length>splitLimit?arraySlice(output,0,splitLimit):output}):"0".split(void 0,0).length&&(StringPrototype.split=function split(separator,limit){return void 0===separator&&0===limit?[]:strSplit(this,separator,limit)});var compliantExecNpcg,maxSafe32BitInt;var str_replace=StringPrototype.replace,replaceReportsGroupsCorrectly=(groups=[],"x".replace(/x(.)?/g,(function(match,group){pushCall(groups,group)})),1===groups.length&&void 0===groups[0]);var groups;replaceReportsGroupsCorrectly||(StringPrototype.replace=function replace(searchValue,replaceValue){var isFn=isCallable(replaceValue),hasCapturingGroups=isRegex(searchValue)&&/\)[*?]/.test(searchValue.source);if(!isFn||!hasCapturingGroups)return str_replace.call(this,searchValue,replaceValue);return str_replace.call(this,searchValue,(function(match){var length=arguments.length,originalLastIndex=searchValue.lastIndex;searchValue.lastIndex=0;var args=searchValue.exec(match)||[];return searchValue.lastIndex=originalLastIndex,pushCall(args,arguments[length-2],arguments[length-1]),replaceValue.apply(this,args)}))});var hasNegativeSubstrBug="".substr&&"b"!=="0b".substr(-1),string_substr=hasNegativeSubstrBug&&call.bind(StringPrototype.substr);defineProperties(StringPrototype,{substr:function substr(start,length){var normalizedStart=start;return start<0&&(normalizedStart=max(this.length+start,0)),string_substr(this,normalizedStart,length)}},hasNegativeSubstrBug);var mvs="᠎",mvsIsWS=/\s/.test(mvs),ws="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff".replace(/\S/g,""),zeroWidth="​",wsRegexChars="["+ws+"]",trimBeginRegexp=new RegExp("^"+wsRegexChars+wsRegexChars+"*"),trimEndRegexp=new RegExp(wsRegexChars+wsRegexChars+"*$"),hasTrimWhitespaceBug=StringPrototype.trim&&(""!==ws.trim()||""===zeroWidth.trim()||mvs.trim()!==(mvsIsWS?"":mvs));defineProperties(StringPrototype,{trim:function trim(){if(null==this)throw new TypeError("can't convert "+this+" to object");return $String(this).replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}},hasTrimWhitespaceBug);var trim=call.bind(String.prototype.trim),hasLastIndexBug=StringPrototype.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);defineProperties(StringPrototype,{lastIndexOf:function lastIndexOf(searchString){if(null==this)throw new TypeError("can't convert "+this+" to object");for(var S=$String(this),searchStr=$String(searchString),numPos=arguments.length>1?$Number(arguments[1]):NaN,pos=isActualNaN(numPos)?1/0:ES.ToInteger(numPos),start=min(max(pos,0),S.length),searchLen=searchStr.length,k=start+searchLen;k>0;){k=max(0,k-searchLen);var index=strIndexOf(strSlice(S,k,start+searchLen),searchStr);if(-1!==index)return k+index}return-1}},hasLastIndexBug);var originalLastIndexOf=StringPrototype.lastIndexOf;defineProperties(StringPrototype,{lastIndexOf:function lastIndexOf(searchString){return originalLastIndexOf.apply(this,arguments)}},1!==StringPrototype.lastIndexOf.length);var hexRegex=/^[-+]?0[xX]/;8===parseInt(ws+"08")&&22===parseInt(ws+"0x16")&&(mvsIsWS?1===parseInt(mvs+1):isNaN(parseInt(mvs+1)))||(parseInt=(origParseInt=parseInt,function parseInt(str,radix){this instanceof parseInt&&new origParseInt;var string=trim(String(str)),defaultedRadix=$Number(radix)||(hexRegex.test(string)?16:10);return origParseInt(string,defaultedRadix)}));var origParseInt;var parseIntFailsToThrowOnBoxedSymbols=function(){if("function"!=typeof Symbol)return!1;try{return parseInt(Object(Symbol.iterator)),!0}catch(e){}try{return parseInt(Symbol.iterator),!0}catch(e){}return!1}();if(parseIntFailsToThrowOnBoxedSymbols){var symbolValueOf=Symbol.prototype.valueOf;parseInt=function(origParseInt){return function parseInt(str,radix){this instanceof parseInt&&new origParseInt;var isSym="symbol"==typeof str;if(!isSym&&str&&"object"==typeof str)try{symbolValueOf.call(str),isSym=!0}catch(e){}var string=trim(String(str)),defaultedRadix=$Number(radix)||(hexRegex.test(string)?16:10);return origParseInt(string,defaultedRadix)}}(parseInt)}1/parseFloat("-0")!=-1/0&&(parseFloat=(origParseFloat=parseFloat,function parseFloat(string){var inputString=trim(String(string)),result=origParseFloat(inputString);return 0===result&&"-"===strSlice(inputString,0,1)?-0:result}));var origParseFloat;if("RangeError: test"!==String(new RangeError("test"))){var errorToStringShim=function toString(){if(null==this)throw new TypeError("can't convert "+this+" to object");var name=this.name;void 0===name?name="Error":"string"!=typeof name&&(name=$String(name));var msg=this.message;return void 0===msg?msg="":"string"!=typeof msg&&(msg=$String(msg)),name?msg?name+": "+msg:name:msg};Error.prototype.toString=errorToStringShim}if(supportsDescriptors){var ensureNonEnumerable=function(obj,prop){if(isEnum(obj,prop)){var desc=Object.getOwnPropertyDescriptor(obj,prop);desc.configurable&&(desc.enumerable=!1,Object.defineProperty(obj,prop,desc))}};ensureNonEnumerable(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),ensureNonEnumerable(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var regexToString=function toString(){var str="/"+this.source+"/";return this.global&&(str+="g"),this.ignoreCase&&(str+="i"),this.multiline&&(str+="m"),str};RegExp.prototype.toString=regexToString}})?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}()},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;!function(root,factory){"use strict";void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=function(){var defineGetter,defineSetter,lookupGetter,lookupSetter,call=Function.call,prototypeOfObject=Object.prototype,owns=call.bind(prototypeOfObject.hasOwnProperty),isEnumerable=call.bind(prototypeOfObject.propertyIsEnumerable),toStr=call.bind(prototypeOfObject.toString),supportsAccessors=owns(prototypeOfObject,"__defineGetter__");supportsAccessors&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__));var isPrimitive=function isPrimitive(o){return null==o||"object"!=typeof o&&"function"!=typeof o};Object.getPrototypeOf||(Object.getPrototypeOf=function getPrototypeOf(object){var proto=object.__proto__;return proto||null==proto?proto:"[object Function]"===toStr(object.constructor)?object.constructor.prototype:object instanceof Object?prototypeOfObject:null});if(Object.defineProperty){var doesGetOwnPropertyDescriptorWork=function doesGetOwnPropertyDescriptorWork(object){try{return object.sentinel=0,0===Object.getOwnPropertyDescriptor(object,"sentinel").value}catch(exception){return!1}},getOwnPropertyDescriptorWorksOnObject=doesGetOwnPropertyDescriptorWork({});if(!("undefined"==typeof document||doesGetOwnPropertyDescriptorWork(document.createElement("div")))||!getOwnPropertyDescriptorWorksOnObject)var getOwnPropertyDescriptorFallback=Object.getOwnPropertyDescriptor}if(!Object.getOwnPropertyDescriptor||getOwnPropertyDescriptorFallback){Object.getOwnPropertyDescriptor=function getOwnPropertyDescriptor(object,property){if(isPrimitive(object))throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+object);if(getOwnPropertyDescriptorFallback)try{return getOwnPropertyDescriptorFallback.call(Object,object,property)}catch(exception){}var descriptor;if(!owns(object,property))return descriptor;if(descriptor={enumerable:isEnumerable(object,property),configurable:!0},supportsAccessors){var prototype=object.__proto__,notPrototypeOfObject=object!==prototypeOfObject;notPrototypeOfObject&&(object.__proto__=prototypeOfObject);var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(notPrototypeOfObject&&(object.__proto__=prototype),getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor.writable=!0,descriptor}}Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function getOwnPropertyNames(object){return Object.keys(object)});if(!Object.create){var createEmpty;createEmpty=!({__proto__:null}instanceof Object)||"undefined"==typeof document?function(){return{__proto__:null}}:function(){var empty=function shouldUseActiveX(){if(!document.domain)return!1;try{return!!new ActiveXObject("htmlfile")}catch(exception){return!1}}()?function getEmptyViaActiveX(){var empty,xDoc;return(xDoc=new ActiveXObject("htmlfile")).write("