@antscorp/antsomi-ui 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (962) hide show
  1. package/dist/_virtual/index.js +1 -1
  2. package/dist/_virtual/index2.js +1 -1
  3. package/dist/_virtual/react-is.development.js +1 -1
  4. package/dist/_virtual/react-is.production.min.js +1 -1
  5. package/dist/node_modules/@ant-design/colors/es/generate.js +1 -1
  6. package/dist/node_modules/@ant-design/colors/es/generate.js.map +1 -1
  7. package/dist/node_modules/@ant-design/colors/es/index.js +1 -1
  8. package/dist/node_modules/@ant-design/colors/es/index.js.map +1 -1
  9. package/dist/node_modules/@ant-design/cssinjs/es/Cache.js +1 -1
  10. package/dist/node_modules/@ant-design/cssinjs/es/Cache.js.map +1 -1
  11. package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js +1 -1
  12. package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js.map +1 -1
  13. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +1 -1
  14. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
  15. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +1 -1
  16. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js.map +1 -1
  17. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js +1 -1
  18. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js.map +1 -1
  19. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.js +1 -1
  20. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.js.map +1 -1
  21. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +1 -1
  22. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js.map +1 -1
  23. package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.js +1 -1
  24. package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.js.map +1 -1
  25. package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.js +1 -1
  26. package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.js.map +1 -1
  27. package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.js +1 -1
  28. package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.js.map +1 -1
  29. package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js +1 -1
  30. package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js.map +1 -1
  31. package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js +1 -1
  32. package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js.map +1 -1
  33. package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.js +1 -1
  34. package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.js.map +1 -1
  35. package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.js +1 -1
  36. package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.js.map +1 -1
  37. package/dist/node_modules/@ant-design/cssinjs/es/util.js +1 -1
  38. package/dist/node_modules/@ant-design/cssinjs/es/util.js.map +1 -1
  39. package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.esm.js +1 -1
  40. package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.esm.js.map +1 -1
  41. package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.js +1 -1
  42. package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.js.map +1 -1
  43. package/dist/node_modules/@ant-design/icons/es/components/Context.js +1 -1
  44. package/dist/node_modules/@ant-design/icons/es/components/Context.js.map +1 -1
  45. package/dist/node_modules/@ant-design/icons/es/components/IconBase.js +1 -1
  46. package/dist/node_modules/@ant-design/icons/es/components/IconBase.js.map +1 -1
  47. package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js +1 -1
  48. package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js.map +1 -1
  49. package/dist/node_modules/@ant-design/icons/es/icons/BarsOutlined.js +1 -1
  50. package/dist/node_modules/@ant-design/icons/es/icons/BarsOutlined.js.map +1 -1
  51. package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js +1 -1
  52. package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js.map +1 -1
  53. package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.js +1 -1
  54. package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.js.map +1 -1
  55. package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js +1 -1
  56. package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js.map +1 -1
  57. package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.js +1 -1
  58. package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.js.map +1 -1
  59. package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.js +1 -1
  60. package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.js.map +1 -1
  61. package/dist/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js +1 -1
  62. package/dist/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js.map +1 -1
  63. package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js +1 -1
  64. package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js.map +1 -1
  65. package/dist/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js +1 -1
  66. package/dist/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js.map +1 -1
  67. package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.js +1 -1
  68. package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.js.map +1 -1
  69. package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js +1 -1
  70. package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js.map +1 -1
  71. package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.js +1 -1
  72. package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.js.map +1 -1
  73. package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js +1 -1
  74. package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js.map +1 -1
  75. package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.js +1 -1
  76. package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.js.map +1 -1
  77. package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.js +1 -1
  78. package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.js.map +1 -1
  79. package/dist/node_modules/@ant-design/icons/es/utils.js +1 -1
  80. package/dist/node_modules/@ant-design/icons/es/utils.js.map +1 -1
  81. package/dist/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js +1 -1
  82. package/dist/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js.map +1 -1
  83. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js +1 -1
  84. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js.map +1 -1
  85. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +1 -1
  86. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js.map +1 -1
  87. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +1 -1
  88. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js.map +1 -1
  89. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +1 -1
  90. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js.map +1 -1
  91. package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +1 -1
  92. package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js.map +1 -1
  93. package/dist/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js +1 -1
  94. package/dist/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js.map +1 -1
  95. package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js +1 -1
  96. package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js.map +1 -1
  97. package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +1 -1
  98. package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js.map +1 -1
  99. package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +1 -1
  100. package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js.map +1 -1
  101. package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js +1 -1
  102. package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js.map +1 -1
  103. package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +1 -1
  104. package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js.map +1 -1
  105. package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js +1 -1
  106. package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js.map +1 -1
  107. package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +1 -1
  108. package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js.map +1 -1
  109. package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js +1 -1
  110. package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js.map +1 -1
  111. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
  112. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -1
  113. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
  114. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +1 -1
  115. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +1 -1
  116. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +1 -1
  117. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
  118. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -1
  119. package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +1 -1
  120. package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js.map +1 -1
  121. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
  122. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +1 -1
  123. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
  124. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -1
  125. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
  126. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js.map +1 -1
  127. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
  128. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -1
  129. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
  130. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -1
  131. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
  132. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +1 -1
  133. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
  134. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js.map +1 -1
  135. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
  136. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +1 -1
  137. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +1 -1
  138. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +1 -1
  139. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
  140. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +1 -1
  141. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
  142. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +1 -1
  143. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +1 -1
  144. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +1 -1
  145. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
  146. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +1 -1
  147. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
  148. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +1 -1
  149. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  150. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -1
  151. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
  152. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +1 -1
  153. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +1 -1
  154. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js.map +1 -1
  155. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
  156. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -1
  157. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
  158. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +1 -1
  159. package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js +1 -1
  160. package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js.map +1 -1
  161. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +1 -1
  162. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +1 -1
  163. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
  164. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -1
  165. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
  166. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -1
  167. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
  168. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -1
  169. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
  170. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -1
  171. package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.js +1 -1
  172. package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.js.map +1 -1
  173. package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js +1 -1
  174. package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js.map +1 -1
  175. package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.js +1 -1
  176. package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.js.map +1 -1
  177. package/dist/node_modules/@ctrl/tinycolor/dist/module/index.js +1 -1
  178. package/dist/node_modules/@ctrl/tinycolor/dist/module/index.js.map +1 -1
  179. package/dist/node_modules/@ctrl/tinycolor/dist/module/util.js +1 -1
  180. package/dist/node_modules/@ctrl/tinycolor/dist/module/util.js.map +1 -1
  181. package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js +1 -1
  182. package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -1
  183. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +1 -1
  184. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -1
  185. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +1 -1
  186. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -1
  187. package/dist/node_modules/@emotion/react/dist/emotion-element-3838ba9e.esm.js +1 -1
  188. package/dist/node_modules/@emotion/react/dist/emotion-element-3838ba9e.esm.js.map +1 -1
  189. package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js +1 -1
  190. package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js.map +1 -1
  191. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +1 -1
  192. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +1 -1
  193. package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +1 -1
  194. package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -1
  195. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +1 -1
  196. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -1
  197. package/dist/node_modules/@emotion/unitless/dist/unitless.esm.js +1 -1
  198. package/dist/node_modules/@emotion/unitless/dist/unitless.esm.js.map +1 -1
  199. package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +1 -1
  200. package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +1 -1
  201. package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js +1 -1
  202. package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +1 -1
  203. package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +1 -1
  204. package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -1
  205. package/dist/node_modules/@rc-component/portal/es/Context.js +1 -1
  206. package/dist/node_modules/@rc-component/portal/es/Context.js.map +1 -1
  207. package/dist/node_modules/@rc-component/portal/es/Portal.js +1 -1
  208. package/dist/node_modules/@rc-component/portal/es/Portal.js.map +1 -1
  209. package/dist/node_modules/@rc-component/portal/es/index.js +1 -1
  210. package/dist/node_modules/@rc-component/portal/es/mock.js +1 -1
  211. package/dist/node_modules/@rc-component/portal/es/mock.js.map +1 -1
  212. package/dist/node_modules/@rc-component/portal/es/useDom.js +1 -1
  213. package/dist/node_modules/@rc-component/portal/es/useDom.js.map +1 -1
  214. package/dist/node_modules/@rc-component/portal/es/useScrollLocker.js +1 -1
  215. package/dist/node_modules/@rc-component/portal/es/useScrollLocker.js.map +1 -1
  216. package/dist/node_modules/@rc-component/portal/es/util.js +1 -1
  217. package/dist/node_modules/@rc-component/portal/es/util.js.map +1 -1
  218. package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.js +1 -1
  219. package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.js.map +1 -1
  220. package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.js +1 -1
  221. package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.js.map +1 -1
  222. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +1 -1
  223. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -1
  224. package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.js +1 -1
  225. package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.js.map +1 -1
  226. package/dist/node_modules/@rc-component/trigger/es/context.js +1 -1
  227. package/dist/node_modules/@rc-component/trigger/es/context.js.map +1 -1
  228. package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.js +1 -1
  229. package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.js.map +1 -1
  230. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +1 -1
  231. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -1
  232. package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.js +1 -1
  233. package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.js.map +1 -1
  234. package/dist/node_modules/@rc-component/trigger/es/index.js +1 -1
  235. package/dist/node_modules/@rc-component/trigger/es/index.js.map +1 -1
  236. package/dist/node_modules/@rc-component/trigger/es/util.js +1 -1
  237. package/dist/node_modules/@rc-component/trigger/es/util.js.map +1 -1
  238. package/dist/node_modules/antd/es/_util/ActionButton.js +1 -1
  239. package/dist/node_modules/antd/es/_util/ActionButton.js.map +1 -1
  240. package/dist/node_modules/antd/es/_util/PurePanel.js +1 -1
  241. package/dist/node_modules/antd/es/_util/PurePanel.js.map +1 -1
  242. package/dist/node_modules/antd/es/_util/colors.js +1 -1
  243. package/dist/node_modules/antd/es/_util/colors.js.map +1 -1
  244. package/dist/node_modules/antd/es/_util/getDataOrAriaProps.js +1 -1
  245. package/dist/node_modules/antd/es/_util/getDataOrAriaProps.js.map +1 -1
  246. package/dist/node_modules/antd/es/_util/hooks/useFlexGapSupport.js +1 -1
  247. package/dist/node_modules/antd/es/_util/hooks/useFlexGapSupport.js.map +1 -1
  248. package/dist/node_modules/antd/es/_util/hooks/usePatchElement.js +1 -1
  249. package/dist/node_modules/antd/es/_util/hooks/usePatchElement.js.map +1 -1
  250. package/dist/node_modules/antd/es/_util/isNumeric.js +1 -1
  251. package/dist/node_modules/antd/es/_util/isNumeric.js.map +1 -1
  252. package/dist/node_modules/antd/es/_util/motion.js +1 -1
  253. package/dist/node_modules/antd/es/_util/motion.js.map +1 -1
  254. package/dist/node_modules/antd/es/_util/placements.js +1 -1
  255. package/dist/node_modules/antd/es/_util/placements.js.map +1 -1
  256. package/dist/node_modules/antd/es/_util/reactNode.js +1 -1
  257. package/dist/node_modules/antd/es/_util/reactNode.js.map +1 -1
  258. package/dist/node_modules/antd/es/_util/statusUtils.js +1 -1
  259. package/dist/node_modules/antd/es/_util/statusUtils.js.map +1 -1
  260. package/dist/node_modules/antd/es/_util/styleChecker.js +1 -1
  261. package/dist/node_modules/antd/es/_util/styleChecker.js.map +1 -1
  262. package/dist/node_modules/antd/es/_util/warning.js +1 -1
  263. package/dist/node_modules/antd/es/_util/warning.js.map +1 -1
  264. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +1 -1
  265. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -1
  266. package/dist/node_modules/antd/es/_util/wave/index.js +1 -1
  267. package/dist/node_modules/antd/es/_util/wave/index.js.map +1 -1
  268. package/dist/node_modules/antd/es/_util/wave/style.js +1 -1
  269. package/dist/node_modules/antd/es/_util/wave/style.js.map +1 -1
  270. package/dist/node_modules/antd/es/_util/wave/useWave.js +1 -1
  271. package/dist/node_modules/antd/es/_util/wave/useWave.js.map +1 -1
  272. package/dist/node_modules/antd/es/_util/wave/util.js +1 -1
  273. package/dist/node_modules/antd/es/_util/wave/util.js.map +1 -1
  274. package/dist/node_modules/antd/es/alert/ErrorBoundary.js +1 -1
  275. package/dist/node_modules/antd/es/alert/ErrorBoundary.js.map +1 -1
  276. package/dist/node_modules/antd/es/alert/index.js +1 -1
  277. package/dist/node_modules/antd/es/alert/index.js.map +1 -1
  278. package/dist/node_modules/antd/es/alert/style/index.js +1 -1
  279. package/dist/node_modules/antd/es/alert/style/index.js.map +1 -1
  280. package/dist/node_modules/antd/es/button/LoadingIcon.js +1 -1
  281. package/dist/node_modules/antd/es/button/LoadingIcon.js.map +1 -1
  282. package/dist/node_modules/antd/es/button/button-group.js +1 -1
  283. package/dist/node_modules/antd/es/button/button-group.js.map +1 -1
  284. package/dist/node_modules/antd/es/button/button.js +1 -1
  285. package/dist/node_modules/antd/es/button/button.js.map +1 -1
  286. package/dist/node_modules/antd/es/button/buttonHelpers.js +1 -1
  287. package/dist/node_modules/antd/es/button/buttonHelpers.js.map +1 -1
  288. package/dist/node_modules/antd/es/button/index.js +1 -1
  289. package/dist/node_modules/antd/es/button/style/group.js +1 -1
  290. package/dist/node_modules/antd/es/button/style/group.js.map +1 -1
  291. package/dist/node_modules/antd/es/button/style/index.js +1 -1
  292. package/dist/node_modules/antd/es/button/style/index.js.map +1 -1
  293. package/dist/node_modules/antd/es/calendar/locale/en_US.js +1 -1
  294. package/dist/node_modules/antd/es/cascader/index.js +1 -1
  295. package/dist/node_modules/antd/es/cascader/index.js.map +1 -1
  296. package/dist/node_modules/antd/es/cascader/style/index.js +1 -1
  297. package/dist/node_modules/antd/es/cascader/style/index.js.map +1 -1
  298. package/dist/node_modules/antd/es/checkbox/style/index.js +1 -1
  299. package/dist/node_modules/antd/es/checkbox/style/index.js.map +1 -1
  300. package/dist/node_modules/antd/es/config-provider/DisabledContext.js +1 -1
  301. package/dist/node_modules/antd/es/config-provider/DisabledContext.js.map +1 -1
  302. package/dist/node_modules/antd/es/config-provider/SizeContext.js +1 -1
  303. package/dist/node_modules/antd/es/config-provider/SizeContext.js.map +1 -1
  304. package/dist/node_modules/antd/es/config-provider/context.js +1 -1
  305. package/dist/node_modules/antd/es/config-provider/context.js.map +1 -1
  306. package/dist/node_modules/antd/es/config-provider/cssVariables.js +1 -1
  307. package/dist/node_modules/antd/es/config-provider/cssVariables.js.map +1 -1
  308. package/dist/node_modules/antd/es/config-provider/defaultRenderEmpty.js +1 -1
  309. package/dist/node_modules/antd/es/config-provider/defaultRenderEmpty.js.map +1 -1
  310. package/dist/node_modules/antd/es/config-provider/hooks/useConfig.js +1 -1
  311. package/dist/node_modules/antd/es/config-provider/hooks/useConfig.js.map +1 -1
  312. package/dist/node_modules/antd/es/config-provider/hooks/useTheme.js +1 -1
  313. package/dist/node_modules/antd/es/config-provider/hooks/useTheme.js.map +1 -1
  314. package/dist/node_modules/antd/es/config-provider/index.js +1 -1
  315. package/dist/node_modules/antd/es/config-provider/index.js.map +1 -1
  316. package/dist/node_modules/antd/es/config-provider/style/index.js +1 -1
  317. package/dist/node_modules/antd/es/config-provider/style/index.js.map +1 -1
  318. package/dist/node_modules/antd/es/date-picker/locale/en_US.js +1 -1
  319. package/dist/node_modules/antd/es/date-picker/locale/en_US.js.map +1 -1
  320. package/dist/node_modules/antd/es/divider/index.js +1 -1
  321. package/dist/node_modules/antd/es/divider/index.js.map +1 -1
  322. package/dist/node_modules/antd/es/divider/style/index.js +1 -1
  323. package/dist/node_modules/antd/es/divider/style/index.js.map +1 -1
  324. package/dist/node_modules/antd/es/dropdown/dropdown-button.js +1 -1
  325. package/dist/node_modules/antd/es/dropdown/dropdown-button.js.map +1 -1
  326. package/dist/node_modules/antd/es/dropdown/dropdown.js +1 -1
  327. package/dist/node_modules/antd/es/dropdown/dropdown.js.map +1 -1
  328. package/dist/node_modules/antd/es/dropdown/index.js +1 -1
  329. package/dist/node_modules/antd/es/dropdown/style/button.js +1 -1
  330. package/dist/node_modules/antd/es/dropdown/style/button.js.map +1 -1
  331. package/dist/node_modules/antd/es/dropdown/style/index.js +1 -1
  332. package/dist/node_modules/antd/es/dropdown/style/index.js.map +1 -1
  333. package/dist/node_modules/antd/es/dropdown/style/status.js +1 -1
  334. package/dist/node_modules/antd/es/dropdown/style/status.js.map +1 -1
  335. package/dist/node_modules/antd/es/empty/empty.js +1 -1
  336. package/dist/node_modules/antd/es/empty/empty.js.map +1 -1
  337. package/dist/node_modules/antd/es/empty/index.js +1 -1
  338. package/dist/node_modules/antd/es/empty/index.js.map +1 -1
  339. package/dist/node_modules/antd/es/empty/simple.js +1 -1
  340. package/dist/node_modules/antd/es/empty/simple.js.map +1 -1
  341. package/dist/node_modules/antd/es/empty/style/index.js +1 -1
  342. package/dist/node_modules/antd/es/empty/style/index.js.map +1 -1
  343. package/dist/node_modules/antd/es/form/context.js +1 -1
  344. package/dist/node_modules/antd/es/form/context.js.map +1 -1
  345. package/dist/node_modules/antd/es/input/Group.js +1 -1
  346. package/dist/node_modules/antd/es/input/Group.js.map +1 -1
  347. package/dist/node_modules/antd/es/input/Input.js +1 -1
  348. package/dist/node_modules/antd/es/input/Input.js.map +1 -1
  349. package/dist/node_modules/antd/es/input/Password.js +1 -1
  350. package/dist/node_modules/antd/es/input/Password.js.map +1 -1
  351. package/dist/node_modules/antd/es/input/Search.js +1 -1
  352. package/dist/node_modules/antd/es/input/Search.js.map +1 -1
  353. package/dist/node_modules/antd/es/input/TextArea.js +1 -1
  354. package/dist/node_modules/antd/es/input/TextArea.js.map +1 -1
  355. package/dist/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +1 -1
  356. package/dist/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js.map +1 -1
  357. package/dist/node_modules/antd/es/input/index.js +1 -1
  358. package/dist/node_modules/antd/es/input/index.js.map +1 -1
  359. package/dist/node_modules/antd/es/input/style/index.js +1 -1
  360. package/dist/node_modules/antd/es/input/style/index.js.map +1 -1
  361. package/dist/node_modules/antd/es/input/utils.js +1 -1
  362. package/dist/node_modules/antd/es/input/utils.js.map +1 -1
  363. package/dist/node_modules/antd/es/layout/Sider.js +1 -1
  364. package/dist/node_modules/antd/es/layout/Sider.js.map +1 -1
  365. package/dist/node_modules/antd/es/layout/layout.js +1 -1
  366. package/dist/node_modules/antd/es/layout/layout.js.map +1 -1
  367. package/dist/node_modules/antd/es/layout/style/index.js +1 -1
  368. package/dist/node_modules/antd/es/layout/style/index.js.map +1 -1
  369. package/dist/node_modules/antd/es/layout/style/light.js +1 -1
  370. package/dist/node_modules/antd/es/layout/style/light.js.map +1 -1
  371. package/dist/node_modules/antd/es/locale/context.js +1 -1
  372. package/dist/node_modules/antd/es/locale/context.js.map +1 -1
  373. package/dist/node_modules/antd/es/locale/en_US.js +1 -1
  374. package/dist/node_modules/antd/es/locale/en_US.js.map +1 -1
  375. package/dist/node_modules/antd/es/locale/index.js +1 -1
  376. package/dist/node_modules/antd/es/locale/index.js.map +1 -1
  377. package/dist/node_modules/antd/es/locale/useLocale.js +1 -1
  378. package/dist/node_modules/antd/es/locale/useLocale.js.map +1 -1
  379. package/dist/node_modules/antd/es/menu/MenuContext.js +1 -1
  380. package/dist/node_modules/antd/es/menu/MenuContext.js.map +1 -1
  381. package/dist/node_modules/antd/es/menu/MenuDivider.js +1 -1
  382. package/dist/node_modules/antd/es/menu/MenuDivider.js.map +1 -1
  383. package/dist/node_modules/antd/es/menu/MenuItem.js +1 -1
  384. package/dist/node_modules/antd/es/menu/MenuItem.js.map +1 -1
  385. package/dist/node_modules/antd/es/menu/OverrideContext.js +1 -1
  386. package/dist/node_modules/antd/es/menu/OverrideContext.js.map +1 -1
  387. package/dist/node_modules/antd/es/menu/SubMenu.js +1 -1
  388. package/dist/node_modules/antd/es/menu/SubMenu.js.map +1 -1
  389. package/dist/node_modules/antd/es/menu/hooks/useItems.js +1 -1
  390. package/dist/node_modules/antd/es/menu/hooks/useItems.js.map +1 -1
  391. package/dist/node_modules/antd/es/menu/index.js +1 -1
  392. package/dist/node_modules/antd/es/menu/index.js.map +1 -1
  393. package/dist/node_modules/antd/es/menu/menu.js +1 -1
  394. package/dist/node_modules/antd/es/menu/menu.js.map +1 -1
  395. package/dist/node_modules/antd/es/menu/style/horizontal.js +1 -1
  396. package/dist/node_modules/antd/es/menu/style/horizontal.js.map +1 -1
  397. package/dist/node_modules/antd/es/menu/style/index.js +1 -1
  398. package/dist/node_modules/antd/es/menu/style/index.js.map +1 -1
  399. package/dist/node_modules/antd/es/menu/style/rtl.js +1 -1
  400. package/dist/node_modules/antd/es/menu/style/rtl.js.map +1 -1
  401. package/dist/node_modules/antd/es/menu/style/theme.js +1 -1
  402. package/dist/node_modules/antd/es/menu/style/theme.js.map +1 -1
  403. package/dist/node_modules/antd/es/menu/style/vertical.js +1 -1
  404. package/dist/node_modules/antd/es/menu/style/vertical.js.map +1 -1
  405. package/dist/node_modules/antd/es/modal/ConfirmDialog.js +1 -1
  406. package/dist/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -1
  407. package/dist/node_modules/antd/es/modal/Modal.js +1 -1
  408. package/dist/node_modules/antd/es/modal/Modal.js.map +1 -1
  409. package/dist/node_modules/antd/es/modal/PurePanel.js +1 -1
  410. package/dist/node_modules/antd/es/modal/PurePanel.js.map +1 -1
  411. package/dist/node_modules/antd/es/modal/confirm.js +1 -1
  412. package/dist/node_modules/antd/es/modal/confirm.js.map +1 -1
  413. package/dist/node_modules/antd/es/modal/destroyFns.js +1 -1
  414. package/dist/node_modules/antd/es/modal/destroyFns.js.map +1 -1
  415. package/dist/node_modules/antd/es/modal/index.js +1 -1
  416. package/dist/node_modules/antd/es/modal/index.js.map +1 -1
  417. package/dist/node_modules/antd/es/modal/locale.js +1 -1
  418. package/dist/node_modules/antd/es/modal/locale.js.map +1 -1
  419. package/dist/node_modules/antd/es/modal/style/index.js +1 -1
  420. package/dist/node_modules/antd/es/modal/style/index.js.map +1 -1
  421. package/dist/node_modules/antd/es/modal/useModal/HookModal.js +1 -1
  422. package/dist/node_modules/antd/es/modal/useModal/HookModal.js.map +1 -1
  423. package/dist/node_modules/antd/es/modal/useModal/index.js +1 -1
  424. package/dist/node_modules/antd/es/modal/useModal/index.js.map +1 -1
  425. package/dist/node_modules/antd/es/radio/context.js +1 -1
  426. package/dist/node_modules/antd/es/radio/context.js.map +1 -1
  427. package/dist/node_modules/antd/es/radio/group.js +1 -1
  428. package/dist/node_modules/antd/es/radio/group.js.map +1 -1
  429. package/dist/node_modules/antd/es/radio/index.js +1 -1
  430. package/dist/node_modules/antd/es/radio/index.js.map +1 -1
  431. package/dist/node_modules/antd/es/radio/radio.js +1 -1
  432. package/dist/node_modules/antd/es/radio/radio.js.map +1 -1
  433. package/dist/node_modules/antd/es/radio/radioButton.js +1 -1
  434. package/dist/node_modules/antd/es/radio/radioButton.js.map +1 -1
  435. package/dist/node_modules/antd/es/radio/style/index.js +1 -1
  436. package/dist/node_modules/antd/es/radio/style/index.js.map +1 -1
  437. package/dist/node_modules/antd/es/select/index.js +1 -1
  438. package/dist/node_modules/antd/es/select/index.js.map +1 -1
  439. package/dist/node_modules/antd/es/select/style/dropdown.js +1 -1
  440. package/dist/node_modules/antd/es/select/style/dropdown.js.map +1 -1
  441. package/dist/node_modules/antd/es/select/style/index.js +1 -1
  442. package/dist/node_modules/antd/es/select/style/index.js.map +1 -1
  443. package/dist/node_modules/antd/es/select/style/multiple.js +1 -1
  444. package/dist/node_modules/antd/es/select/style/multiple.js.map +1 -1
  445. package/dist/node_modules/antd/es/select/style/single.js +1 -1
  446. package/dist/node_modules/antd/es/select/style/single.js.map +1 -1
  447. package/dist/node_modules/antd/es/select/useShowArrow.js +1 -1
  448. package/dist/node_modules/antd/es/select/useShowArrow.js.map +1 -1
  449. package/dist/node_modules/antd/es/select/utils/iconUtil.js +1 -1
  450. package/dist/node_modules/antd/es/select/utils/iconUtil.js.map +1 -1
  451. package/dist/node_modules/antd/es/space/Compact.js +1 -1
  452. package/dist/node_modules/antd/es/space/Compact.js.map +1 -1
  453. package/dist/node_modules/antd/es/space/Item.js +1 -1
  454. package/dist/node_modules/antd/es/space/Item.js.map +1 -1
  455. package/dist/node_modules/antd/es/space/index.js +1 -1
  456. package/dist/node_modules/antd/es/space/index.js.map +1 -1
  457. package/dist/node_modules/antd/es/space/style/compact.js +1 -1
  458. package/dist/node_modules/antd/es/space/style/compact.js.map +1 -1
  459. package/dist/node_modules/antd/es/space/style/index.js +1 -1
  460. package/dist/node_modules/antd/es/space/style/index.js.map +1 -1
  461. package/dist/node_modules/antd/es/style/compact-item-vertical.js +1 -1
  462. package/dist/node_modules/antd/es/style/compact-item-vertical.js.map +1 -1
  463. package/dist/node_modules/antd/es/style/compact-item.js +1 -1
  464. package/dist/node_modules/antd/es/style/compact-item.js.map +1 -1
  465. package/dist/node_modules/antd/es/style/index.js +1 -1
  466. package/dist/node_modules/antd/es/style/index.js.map +1 -1
  467. package/dist/node_modules/antd/es/style/motion/collapse.js +1 -1
  468. package/dist/node_modules/antd/es/style/motion/collapse.js.map +1 -1
  469. package/dist/node_modules/antd/es/style/motion/fade.js +1 -1
  470. package/dist/node_modules/antd/es/style/motion/fade.js.map +1 -1
  471. package/dist/node_modules/antd/es/style/motion/motion.js +1 -1
  472. package/dist/node_modules/antd/es/style/motion/motion.js.map +1 -1
  473. package/dist/node_modules/antd/es/style/motion/move.js +1 -1
  474. package/dist/node_modules/antd/es/style/motion/move.js.map +1 -1
  475. package/dist/node_modules/antd/es/style/motion/slide.js +1 -1
  476. package/dist/node_modules/antd/es/style/motion/slide.js.map +1 -1
  477. package/dist/node_modules/antd/es/style/motion/zoom.js +1 -1
  478. package/dist/node_modules/antd/es/style/motion/zoom.js.map +1 -1
  479. package/dist/node_modules/antd/es/style/placementArrow.js +1 -1
  480. package/dist/node_modules/antd/es/style/placementArrow.js.map +1 -1
  481. package/dist/node_modules/antd/es/style/presetColor.js +1 -1
  482. package/dist/node_modules/antd/es/style/presetColor.js.map +1 -1
  483. package/dist/node_modules/antd/es/style/roundedArrow.js +1 -1
  484. package/dist/node_modules/antd/es/style/roundedArrow.js.map +1 -1
  485. package/dist/node_modules/antd/es/theme/index.js +1 -1
  486. package/dist/node_modules/antd/es/theme/index.js.map +1 -1
  487. package/dist/node_modules/antd/es/theme/interface/presetColors.js +1 -1
  488. package/dist/node_modules/antd/es/theme/interface/presetColors.js.map +1 -1
  489. package/dist/node_modules/antd/es/theme/internal.js +1 -1
  490. package/dist/node_modules/antd/es/theme/internal.js.map +1 -1
  491. package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.js +1 -1
  492. package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.js.map +1 -1
  493. package/dist/node_modules/antd/es/theme/themes/compact/index.js +1 -1
  494. package/dist/node_modules/antd/es/theme/themes/compact/index.js.map +1 -1
  495. package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.js +1 -1
  496. package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.js.map +1 -1
  497. package/dist/node_modules/antd/es/theme/themes/dark/colors.js +1 -1
  498. package/dist/node_modules/antd/es/theme/themes/dark/colors.js.map +1 -1
  499. package/dist/node_modules/antd/es/theme/themes/dark/index.js +1 -1
  500. package/dist/node_modules/antd/es/theme/themes/dark/index.js.map +1 -1
  501. package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.js +1 -1
  502. package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.js.map +1 -1
  503. package/dist/node_modules/antd/es/theme/themes/default/colors.js +1 -1
  504. package/dist/node_modules/antd/es/theme/themes/default/colors.js.map +1 -1
  505. package/dist/node_modules/antd/es/theme/themes/default/index.js +1 -1
  506. package/dist/node_modules/antd/es/theme/themes/default/index.js.map +1 -1
  507. package/dist/node_modules/antd/es/theme/themes/seed.js +1 -1
  508. package/dist/node_modules/antd/es/theme/themes/seed.js.map +1 -1
  509. package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js +1 -1
  510. package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js.map +1 -1
  511. package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.js +1 -1
  512. package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.js.map +1 -1
  513. package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.js +1 -1
  514. package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.js.map +1 -1
  515. package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.js +1 -1
  516. package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.js.map +1 -1
  517. package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.js +1 -1
  518. package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.js.map +1 -1
  519. package/dist/node_modules/antd/es/theme/themes/shared/genRadius.js +1 -1
  520. package/dist/node_modules/antd/es/theme/themes/shared/genRadius.js.map +1 -1
  521. package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.js +1 -1
  522. package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.js.map +1 -1
  523. package/dist/node_modules/antd/es/theme/util/alias.js +1 -1
  524. package/dist/node_modules/antd/es/theme/util/alias.js.map +1 -1
  525. package/dist/node_modules/antd/es/theme/util/genComponentStyleHook.js +1 -1
  526. package/dist/node_modules/antd/es/theme/util/genComponentStyleHook.js.map +1 -1
  527. package/dist/node_modules/antd/es/theme/util/getAlphaColor.js +1 -1
  528. package/dist/node_modules/antd/es/theme/util/getAlphaColor.js.map +1 -1
  529. package/dist/node_modules/antd/es/theme/util/statistic.js +1 -1
  530. package/dist/node_modules/antd/es/theme/util/statistic.js.map +1 -1
  531. package/dist/node_modules/antd/es/time-picker/locale/en_US.js +1 -1
  532. package/dist/node_modules/antd/es/time-picker/locale/en_US.js.map +1 -1
  533. package/dist/node_modules/antd/es/tooltip/PurePanel.js +1 -1
  534. package/dist/node_modules/antd/es/tooltip/PurePanel.js.map +1 -1
  535. package/dist/node_modules/antd/es/tooltip/index.js +1 -1
  536. package/dist/node_modules/antd/es/tooltip/index.js.map +1 -1
  537. package/dist/node_modules/antd/es/tooltip/style/index.js +1 -1
  538. package/dist/node_modules/antd/es/tooltip/style/index.js.map +1 -1
  539. package/dist/node_modules/antd/es/tooltip/util.js +1 -1
  540. package/dist/node_modules/antd/es/tooltip/util.js.map +1 -1
  541. package/dist/node_modules/antd/es/version/index.js +1 -1
  542. package/dist/node_modules/antd/es/version/version.js +1 -1
  543. package/dist/node_modules/antd/es/version/version.js.map +1 -1
  544. package/dist/node_modules/async-validator/dist-web/index.js +1 -1
  545. package/dist/node_modules/async-validator/dist-web/index.js.map +1 -1
  546. package/dist/node_modules/classnames/index.js +2 -2
  547. package/dist/node_modules/classnames/index.js.map +1 -1
  548. package/dist/node_modules/dom-align/dist-web/index.js +1 -1
  549. package/dist/node_modules/dom-align/dist-web/index.js.map +1 -1
  550. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
  551. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -1
  552. package/dist/node_modules/rc-align/es/Align.js +1 -1
  553. package/dist/node_modules/rc-align/es/Align.js.map +1 -1
  554. package/dist/node_modules/rc-align/es/hooks/useBuffer.js +1 -1
  555. package/dist/node_modules/rc-align/es/hooks/useBuffer.js.map +1 -1
  556. package/dist/node_modules/rc-align/es/index.js +1 -1
  557. package/dist/node_modules/rc-align/es/util.js +1 -1
  558. package/dist/node_modules/rc-align/es/util.js.map +1 -1
  559. package/dist/node_modules/rc-cascader/es/Cascader.js +1 -1
  560. package/dist/node_modules/rc-cascader/es/Cascader.js.map +1 -1
  561. package/dist/node_modules/rc-cascader/es/OptionList/Checkbox.js +1 -1
  562. package/dist/node_modules/rc-cascader/es/OptionList/Checkbox.js.map +1 -1
  563. package/dist/node_modules/rc-cascader/es/OptionList/Column.js +1 -1
  564. package/dist/node_modules/rc-cascader/es/OptionList/Column.js.map +1 -1
  565. package/dist/node_modules/rc-cascader/es/OptionList/index.js +1 -1
  566. package/dist/node_modules/rc-cascader/es/OptionList/index.js.map +1 -1
  567. package/dist/node_modules/rc-cascader/es/OptionList/useActive.js +1 -1
  568. package/dist/node_modules/rc-cascader/es/OptionList/useActive.js.map +1 -1
  569. package/dist/node_modules/rc-cascader/es/OptionList/useKeyboard.js +1 -1
  570. package/dist/node_modules/rc-cascader/es/OptionList/useKeyboard.js.map +1 -1
  571. package/dist/node_modules/rc-cascader/es/context.js +1 -1
  572. package/dist/node_modules/rc-cascader/es/context.js.map +1 -1
  573. package/dist/node_modules/rc-cascader/es/hooks/useDisplayValues.js +1 -1
  574. package/dist/node_modules/rc-cascader/es/hooks/useDisplayValues.js.map +1 -1
  575. package/dist/node_modules/rc-cascader/es/hooks/useEntities.js +1 -1
  576. package/dist/node_modules/rc-cascader/es/hooks/useEntities.js.map +1 -1
  577. package/dist/node_modules/rc-cascader/es/hooks/useMissingValues.js +1 -1
  578. package/dist/node_modules/rc-cascader/es/hooks/useMissingValues.js.map +1 -1
  579. package/dist/node_modules/rc-cascader/es/hooks/useRefFunc.js +1 -1
  580. package/dist/node_modules/rc-cascader/es/hooks/useRefFunc.js.map +1 -1
  581. package/dist/node_modules/rc-cascader/es/hooks/useSearchConfig.js +1 -1
  582. package/dist/node_modules/rc-cascader/es/hooks/useSearchConfig.js.map +1 -1
  583. package/dist/node_modules/rc-cascader/es/hooks/useSearchOptions.js +1 -1
  584. package/dist/node_modules/rc-cascader/es/hooks/useSearchOptions.js.map +1 -1
  585. package/dist/node_modules/rc-cascader/es/index.js +1 -1
  586. package/dist/node_modules/rc-cascader/es/utils/commonUtil.js +1 -1
  587. package/dist/node_modules/rc-cascader/es/utils/commonUtil.js.map +1 -1
  588. package/dist/node_modules/rc-cascader/es/utils/treeUtil.js +1 -1
  589. package/dist/node_modules/rc-cascader/es/utils/treeUtil.js.map +1 -1
  590. package/dist/node_modules/rc-cascader/es/utils/warningPropsUtil.js +1 -1
  591. package/dist/node_modules/rc-cascader/es/utils/warningPropsUtil.js.map +1 -1
  592. package/dist/node_modules/rc-checkbox/es/index.js +1 -1
  593. package/dist/node_modules/rc-checkbox/es/index.js.map +1 -1
  594. package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.js +1 -1
  595. package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.js.map +1 -1
  596. package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.js +1 -1
  597. package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.js.map +1 -1
  598. package/dist/node_modules/rc-dialog/es/Dialog/Content/index.js +1 -1
  599. package/dist/node_modules/rc-dialog/es/Dialog/Content/index.js.map +1 -1
  600. package/dist/node_modules/rc-dialog/es/Dialog/Mask.js +1 -1
  601. package/dist/node_modules/rc-dialog/es/Dialog/Mask.js.map +1 -1
  602. package/dist/node_modules/rc-dialog/es/Dialog/index.js +1 -1
  603. package/dist/node_modules/rc-dialog/es/Dialog/index.js.map +1 -1
  604. package/dist/node_modules/rc-dialog/es/DialogWrap.js +1 -1
  605. package/dist/node_modules/rc-dialog/es/DialogWrap.js.map +1 -1
  606. package/dist/node_modules/rc-dialog/es/index.js +1 -1
  607. package/dist/node_modules/rc-dialog/es/util.js +1 -1
  608. package/dist/node_modules/rc-dialog/es/util.js.map +1 -1
  609. package/dist/node_modules/rc-dropdown/es/Dropdown.js +1 -1
  610. package/dist/node_modules/rc-dropdown/es/Dropdown.js.map +1 -1
  611. package/dist/node_modules/rc-dropdown/es/hooks/useAccessibility.js +1 -1
  612. package/dist/node_modules/rc-dropdown/es/hooks/useAccessibility.js.map +1 -1
  613. package/dist/node_modules/rc-dropdown/es/index.js +1 -1
  614. package/dist/node_modules/rc-dropdown/es/placements.js +1 -1
  615. package/dist/node_modules/rc-dropdown/es/placements.js.map +1 -1
  616. package/dist/node_modules/rc-field-form/es/Field.js +1 -1
  617. package/dist/node_modules/rc-field-form/es/Field.js.map +1 -1
  618. package/dist/node_modules/rc-field-form/es/FieldContext.js +1 -1
  619. package/dist/node_modules/rc-field-form/es/FieldContext.js.map +1 -1
  620. package/dist/node_modules/rc-field-form/es/Form.js +1 -1
  621. package/dist/node_modules/rc-field-form/es/Form.js.map +1 -1
  622. package/dist/node_modules/rc-field-form/es/FormContext.js +1 -1
  623. package/dist/node_modules/rc-field-form/es/FormContext.js.map +1 -1
  624. package/dist/node_modules/rc-field-form/es/List.js +1 -1
  625. package/dist/node_modules/rc-field-form/es/List.js.map +1 -1
  626. package/dist/node_modules/rc-field-form/es/ListContext.js +1 -1
  627. package/dist/node_modules/rc-field-form/es/ListContext.js.map +1 -1
  628. package/dist/node_modules/rc-field-form/es/index.js +1 -1
  629. package/dist/node_modules/rc-field-form/es/index.js.map +1 -1
  630. package/dist/node_modules/rc-field-form/es/useForm.js +1 -1
  631. package/dist/node_modules/rc-field-form/es/useForm.js.map +1 -1
  632. package/dist/node_modules/rc-field-form/es/useWatch.js +1 -1
  633. package/dist/node_modules/rc-field-form/es/useWatch.js.map +1 -1
  634. package/dist/node_modules/rc-field-form/es/utils/NameMap.js +1 -1
  635. package/dist/node_modules/rc-field-form/es/utils/NameMap.js.map +1 -1
  636. package/dist/node_modules/rc-field-form/es/utils/asyncUtil.js +1 -1
  637. package/dist/node_modules/rc-field-form/es/utils/asyncUtil.js.map +1 -1
  638. package/dist/node_modules/rc-field-form/es/utils/cloneDeep.js +1 -1
  639. package/dist/node_modules/rc-field-form/es/utils/cloneDeep.js.map +1 -1
  640. package/dist/node_modules/rc-field-form/es/utils/messages.js +1 -1
  641. package/dist/node_modules/rc-field-form/es/utils/messages.js.map +1 -1
  642. package/dist/node_modules/rc-field-form/es/utils/typeUtil.js +1 -1
  643. package/dist/node_modules/rc-field-form/es/utils/typeUtil.js.map +1 -1
  644. package/dist/node_modules/rc-field-form/es/utils/validateUtil.js +1 -1
  645. package/dist/node_modules/rc-field-form/es/utils/validateUtil.js.map +1 -1
  646. package/dist/node_modules/rc-field-form/es/utils/valueUtil.js +1 -1
  647. package/dist/node_modules/rc-field-form/es/utils/valueUtil.js.map +1 -1
  648. package/dist/node_modules/rc-input/es/BaseInput.js +1 -1
  649. package/dist/node_modules/rc-input/es/BaseInput.js.map +1 -1
  650. package/dist/node_modules/rc-input/es/Input.js +1 -1
  651. package/dist/node_modules/rc-input/es/Input.js.map +1 -1
  652. package/dist/node_modules/rc-input/es/index.js +1 -1
  653. package/dist/node_modules/rc-input/es/utils/commonUtils.js +1 -1
  654. package/dist/node_modules/rc-input/es/utils/commonUtils.js.map +1 -1
  655. package/dist/node_modules/rc-menu/es/Divider.js +1 -1
  656. package/dist/node_modules/rc-menu/es/Divider.js.map +1 -1
  657. package/dist/node_modules/rc-menu/es/Icon.js +1 -1
  658. package/dist/node_modules/rc-menu/es/Icon.js.map +1 -1
  659. package/dist/node_modules/rc-menu/es/Menu.js +1 -1
  660. package/dist/node_modules/rc-menu/es/Menu.js.map +1 -1
  661. package/dist/node_modules/rc-menu/es/MenuItem.js +1 -1
  662. package/dist/node_modules/rc-menu/es/MenuItem.js.map +1 -1
  663. package/dist/node_modules/rc-menu/es/MenuItemGroup.js +1 -1
  664. package/dist/node_modules/rc-menu/es/MenuItemGroup.js.map +1 -1
  665. package/dist/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.js +1 -1
  666. package/dist/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.js.map +1 -1
  667. package/dist/node_modules/rc-menu/es/SubMenu/PopupTrigger.js +1 -1
  668. package/dist/node_modules/rc-menu/es/SubMenu/PopupTrigger.js.map +1 -1
  669. package/dist/node_modules/rc-menu/es/SubMenu/SubMenuList.js +1 -1
  670. package/dist/node_modules/rc-menu/es/SubMenu/SubMenuList.js.map +1 -1
  671. package/dist/node_modules/rc-menu/es/SubMenu/index.js +1 -1
  672. package/dist/node_modules/rc-menu/es/SubMenu/index.js.map +1 -1
  673. package/dist/node_modules/rc-menu/es/context/IdContext.js +1 -1
  674. package/dist/node_modules/rc-menu/es/context/IdContext.js.map +1 -1
  675. package/dist/node_modules/rc-menu/es/context/MenuContext.js +1 -1
  676. package/dist/node_modules/rc-menu/es/context/MenuContext.js.map +1 -1
  677. package/dist/node_modules/rc-menu/es/context/PathContext.js +1 -1
  678. package/dist/node_modules/rc-menu/es/context/PathContext.js.map +1 -1
  679. package/dist/node_modules/rc-menu/es/context/PrivateContext.js +1 -1
  680. package/dist/node_modules/rc-menu/es/context/PrivateContext.js.map +1 -1
  681. package/dist/node_modules/rc-menu/es/hooks/useAccessibility.js +1 -1
  682. package/dist/node_modules/rc-menu/es/hooks/useAccessibility.js.map +1 -1
  683. package/dist/node_modules/rc-menu/es/hooks/useActive.js +1 -1
  684. package/dist/node_modules/rc-menu/es/hooks/useActive.js.map +1 -1
  685. package/dist/node_modules/rc-menu/es/hooks/useDirectionStyle.js +1 -1
  686. package/dist/node_modules/rc-menu/es/hooks/useDirectionStyle.js.map +1 -1
  687. package/dist/node_modules/rc-menu/es/hooks/useKeyRecords.js +1 -1
  688. package/dist/node_modules/rc-menu/es/hooks/useKeyRecords.js.map +1 -1
  689. package/dist/node_modules/rc-menu/es/hooks/useMemoCallback.js +1 -1
  690. package/dist/node_modules/rc-menu/es/hooks/useMemoCallback.js.map +1 -1
  691. package/dist/node_modules/rc-menu/es/hooks/useUUID.js +1 -1
  692. package/dist/node_modules/rc-menu/es/hooks/useUUID.js.map +1 -1
  693. package/dist/node_modules/rc-menu/es/index.js +1 -1
  694. package/dist/node_modules/rc-menu/es/index.js.map +1 -1
  695. package/dist/node_modules/rc-menu/es/placements.js +1 -1
  696. package/dist/node_modules/rc-menu/es/placements.js.map +1 -1
  697. package/dist/node_modules/rc-menu/es/utils/motionUtil.js +1 -1
  698. package/dist/node_modules/rc-menu/es/utils/motionUtil.js.map +1 -1
  699. package/dist/node_modules/rc-menu/es/utils/nodeUtil.js +1 -1
  700. package/dist/node_modules/rc-menu/es/utils/nodeUtil.js.map +1 -1
  701. package/dist/node_modules/rc-menu/es/utils/timeUtil.js +1 -1
  702. package/dist/node_modules/rc-menu/es/utils/timeUtil.js.map +1 -1
  703. package/dist/node_modules/rc-menu/es/utils/warnUtil.js +1 -1
  704. package/dist/node_modules/rc-menu/es/utils/warnUtil.js.map +1 -1
  705. package/dist/node_modules/rc-motion/es/CSSMotion.js +1 -1
  706. package/dist/node_modules/rc-motion/es/CSSMotion.js.map +1 -1
  707. package/dist/node_modules/rc-motion/es/CSSMotionList.js +1 -1
  708. package/dist/node_modules/rc-motion/es/CSSMotionList.js.map +1 -1
  709. package/dist/node_modules/rc-motion/es/DomWrapper.js +1 -1
  710. package/dist/node_modules/rc-motion/es/DomWrapper.js.map +1 -1
  711. package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js +1 -1
  712. package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js.map +1 -1
  713. package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +1 -1
  714. package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  715. package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js +1 -1
  716. package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js.map +1 -1
  717. package/dist/node_modules/rc-motion/es/hooks/useStatus.js +1 -1
  718. package/dist/node_modules/rc-motion/es/hooks/useStatus.js.map +1 -1
  719. package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js +1 -1
  720. package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js.map +1 -1
  721. package/dist/node_modules/rc-motion/es/index.js +1 -1
  722. package/dist/node_modules/rc-motion/es/interface.js +1 -1
  723. package/dist/node_modules/rc-motion/es/interface.js.map +1 -1
  724. package/dist/node_modules/rc-motion/es/util/diff.js +1 -1
  725. package/dist/node_modules/rc-motion/es/util/diff.js.map +1 -1
  726. package/dist/node_modules/rc-motion/es/util/motion.js +1 -1
  727. package/dist/node_modules/rc-motion/es/util/motion.js.map +1 -1
  728. package/dist/node_modules/rc-overflow/es/Item.js +1 -1
  729. package/dist/node_modules/rc-overflow/es/Item.js.map +1 -1
  730. package/dist/node_modules/rc-overflow/es/Overflow.js +1 -1
  731. package/dist/node_modules/rc-overflow/es/Overflow.js.map +1 -1
  732. package/dist/node_modules/rc-overflow/es/RawItem.js +1 -1
  733. package/dist/node_modules/rc-overflow/es/RawItem.js.map +1 -1
  734. package/dist/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
  735. package/dist/node_modules/rc-overflow/es/hooks/channelUpdate.js.map +1 -1
  736. package/dist/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
  737. package/dist/node_modules/rc-overflow/es/hooks/useEffectState.js.map +1 -1
  738. package/dist/node_modules/rc-overflow/es/index.js +1 -1
  739. package/dist/node_modules/rc-pagination/es/locale/en_US.js +1 -1
  740. package/dist/node_modules/rc-pagination/es/locale/en_US.js.map +1 -1
  741. package/dist/node_modules/rc-picker/es/locale/en_US.js +1 -1
  742. package/dist/node_modules/rc-picker/es/locale/en_US.js.map +1 -1
  743. package/dist/node_modules/rc-resize-observer/es/Collection.js +1 -1
  744. package/dist/node_modules/rc-resize-observer/es/Collection.js.map +1 -1
  745. package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
  746. package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js.map +1 -1
  747. package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
  748. package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.js.map +1 -1
  749. package/dist/node_modules/rc-resize-observer/es/index.js +1 -1
  750. package/dist/node_modules/rc-resize-observer/es/index.js.map +1 -1
  751. package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
  752. package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.js.map +1 -1
  753. package/dist/node_modules/rc-select/es/BaseSelect.js +1 -1
  754. package/dist/node_modules/rc-select/es/BaseSelect.js.map +1 -1
  755. package/dist/node_modules/rc-select/es/OptGroup.js +1 -1
  756. package/dist/node_modules/rc-select/es/OptGroup.js.map +1 -1
  757. package/dist/node_modules/rc-select/es/Option.js +1 -1
  758. package/dist/node_modules/rc-select/es/Option.js.map +1 -1
  759. package/dist/node_modules/rc-select/es/OptionList.js +1 -1
  760. package/dist/node_modules/rc-select/es/OptionList.js.map +1 -1
  761. package/dist/node_modules/rc-select/es/Select.js +1 -1
  762. package/dist/node_modules/rc-select/es/Select.js.map +1 -1
  763. package/dist/node_modules/rc-select/es/SelectContext.js +1 -1
  764. package/dist/node_modules/rc-select/es/SelectContext.js.map +1 -1
  765. package/dist/node_modules/rc-select/es/SelectTrigger.js +1 -1
  766. package/dist/node_modules/rc-select/es/SelectTrigger.js.map +1 -1
  767. package/dist/node_modules/rc-select/es/Selector/Input.js +1 -1
  768. package/dist/node_modules/rc-select/es/Selector/Input.js.map +1 -1
  769. package/dist/node_modules/rc-select/es/Selector/MultipleSelector.js +1 -1
  770. package/dist/node_modules/rc-select/es/Selector/MultipleSelector.js.map +1 -1
  771. package/dist/node_modules/rc-select/es/Selector/SingleSelector.js +1 -1
  772. package/dist/node_modules/rc-select/es/Selector/SingleSelector.js.map +1 -1
  773. package/dist/node_modules/rc-select/es/Selector/index.js +1 -1
  774. package/dist/node_modules/rc-select/es/Selector/index.js.map +1 -1
  775. package/dist/node_modules/rc-select/es/TransBtn.js +1 -1
  776. package/dist/node_modules/rc-select/es/TransBtn.js.map +1 -1
  777. package/dist/node_modules/rc-select/es/hooks/useBaseProps.js +1 -1
  778. package/dist/node_modules/rc-select/es/hooks/useBaseProps.js.map +1 -1
  779. package/dist/node_modules/rc-select/es/hooks/useCache.js +1 -1
  780. package/dist/node_modules/rc-select/es/hooks/useCache.js.map +1 -1
  781. package/dist/node_modules/rc-select/es/hooks/useDelayReset.js +1 -1
  782. package/dist/node_modules/rc-select/es/hooks/useDelayReset.js.map +1 -1
  783. package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js +1 -1
  784. package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js.map +1 -1
  785. package/dist/node_modules/rc-select/es/hooks/useId.js +1 -1
  786. package/dist/node_modules/rc-select/es/hooks/useId.js.map +1 -1
  787. package/dist/node_modules/rc-select/es/hooks/useLayoutEffect.js +1 -1
  788. package/dist/node_modules/rc-select/es/hooks/useLayoutEffect.js.map +1 -1
  789. package/dist/node_modules/rc-select/es/hooks/useLock.js +1 -1
  790. package/dist/node_modules/rc-select/es/hooks/useLock.js.map +1 -1
  791. package/dist/node_modules/rc-select/es/hooks/useOptions.js +1 -1
  792. package/dist/node_modules/rc-select/es/hooks/useOptions.js.map +1 -1
  793. package/dist/node_modules/rc-select/es/hooks/useRefFunc.js +1 -1
  794. package/dist/node_modules/rc-select/es/hooks/useRefFunc.js.map +1 -1
  795. package/dist/node_modules/rc-select/es/hooks/useSelectTriggerControl.js +1 -1
  796. package/dist/node_modules/rc-select/es/hooks/useSelectTriggerControl.js.map +1 -1
  797. package/dist/node_modules/rc-select/es/index.js +1 -1
  798. package/dist/node_modules/rc-select/es/utils/commonUtil.js +1 -1
  799. package/dist/node_modules/rc-select/es/utils/commonUtil.js.map +1 -1
  800. package/dist/node_modules/rc-select/es/utils/keyUtil.js +1 -1
  801. package/dist/node_modules/rc-select/es/utils/keyUtil.js.map +1 -1
  802. package/dist/node_modules/rc-select/es/utils/legacyUtil.js +1 -1
  803. package/dist/node_modules/rc-select/es/utils/legacyUtil.js.map +1 -1
  804. package/dist/node_modules/rc-select/es/utils/platformUtil.js +1 -1
  805. package/dist/node_modules/rc-select/es/utils/platformUtil.js.map +1 -1
  806. package/dist/node_modules/rc-select/es/utils/valueUtil.js +1 -1
  807. package/dist/node_modules/rc-select/es/utils/valueUtil.js.map +1 -1
  808. package/dist/node_modules/rc-select/es/utils/warningPropsUtil.js +1 -1
  809. package/dist/node_modules/rc-select/es/utils/warningPropsUtil.js.map +1 -1
  810. package/dist/node_modules/rc-textarea/es/ResizableTextArea.js +1 -1
  811. package/dist/node_modules/rc-textarea/es/ResizableTextArea.js.map +1 -1
  812. package/dist/node_modules/rc-textarea/es/TextArea.js +1 -1
  813. package/dist/node_modules/rc-textarea/es/TextArea.js.map +1 -1
  814. package/dist/node_modules/rc-textarea/es/calculateNodeHeight.js +1 -1
  815. package/dist/node_modules/rc-textarea/es/calculateNodeHeight.js.map +1 -1
  816. package/dist/node_modules/rc-textarea/es/index.js +1 -1
  817. package/dist/node_modules/rc-tooltip/es/Popup.js +1 -1
  818. package/dist/node_modules/rc-tooltip/es/Popup.js.map +1 -1
  819. package/dist/node_modules/rc-tooltip/es/Tooltip.js +1 -1
  820. package/dist/node_modules/rc-tooltip/es/Tooltip.js.map +1 -1
  821. package/dist/node_modules/rc-tooltip/es/index.js +1 -1
  822. package/dist/node_modules/rc-tooltip/es/placements.js +1 -1
  823. package/dist/node_modules/rc-tooltip/es/placements.js.map +1 -1
  824. package/dist/node_modules/rc-tree/es/util.js +1 -1
  825. package/dist/node_modules/rc-tree/es/util.js.map +1 -1
  826. package/dist/node_modules/rc-tree/es/utils/conductUtil.js +1 -1
  827. package/dist/node_modules/rc-tree/es/utils/conductUtil.js.map +1 -1
  828. package/dist/node_modules/rc-tree/es/utils/treeUtil.js +1 -1
  829. package/dist/node_modules/rc-tree/es/utils/treeUtil.js.map +1 -1
  830. package/dist/node_modules/rc-trigger/es/Popup/Mask.js +1 -1
  831. package/dist/node_modules/rc-trigger/es/Popup/Mask.js.map +1 -1
  832. package/dist/node_modules/rc-trigger/es/Popup/MobilePopupInner.js +1 -1
  833. package/dist/node_modules/rc-trigger/es/Popup/MobilePopupInner.js.map +1 -1
  834. package/dist/node_modules/rc-trigger/es/Popup/PopupInner.js +1 -1
  835. package/dist/node_modules/rc-trigger/es/Popup/PopupInner.js.map +1 -1
  836. package/dist/node_modules/rc-trigger/es/Popup/index.js +1 -1
  837. package/dist/node_modules/rc-trigger/es/Popup/index.js.map +1 -1
  838. package/dist/node_modules/rc-trigger/es/Popup/useStretchStyle.js +1 -1
  839. package/dist/node_modules/rc-trigger/es/Popup/useStretchStyle.js.map +1 -1
  840. package/dist/node_modules/rc-trigger/es/Popup/useVisibleStatus.js +1 -1
  841. package/dist/node_modules/rc-trigger/es/Popup/useVisibleStatus.js.map +1 -1
  842. package/dist/node_modules/rc-trigger/es/context.js +1 -1
  843. package/dist/node_modules/rc-trigger/es/context.js.map +1 -1
  844. package/dist/node_modules/rc-trigger/es/index.js +1 -1
  845. package/dist/node_modules/rc-trigger/es/index.js.map +1 -1
  846. package/dist/node_modules/rc-trigger/es/utils/alignUtil.js +1 -1
  847. package/dist/node_modules/rc-trigger/es/utils/alignUtil.js.map +1 -1
  848. package/dist/node_modules/rc-trigger/es/utils/legacyUtil.js +1 -1
  849. package/dist/node_modules/rc-trigger/es/utils/legacyUtil.js.map +1 -1
  850. package/dist/node_modules/rc-util/es/Children/toArray.js +1 -1
  851. package/dist/node_modules/rc-util/es/Children/toArray.js.map +1 -1
  852. package/dist/node_modules/rc-util/es/Dom/addEventListener.js +1 -1
  853. package/dist/node_modules/rc-util/es/Dom/addEventListener.js.map +1 -1
  854. package/dist/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
  855. package/dist/node_modules/rc-util/es/Dom/canUseDom.js.map +1 -1
  856. package/dist/node_modules/rc-util/es/Dom/contains.js +1 -1
  857. package/dist/node_modules/rc-util/es/Dom/contains.js.map +1 -1
  858. package/dist/node_modules/rc-util/es/Dom/dynamicCSS.js +1 -1
  859. package/dist/node_modules/rc-util/es/Dom/dynamicCSS.js.map +1 -1
  860. package/dist/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
  861. package/dist/node_modules/rc-util/es/Dom/findDOMNode.js.map +1 -1
  862. package/dist/node_modules/rc-util/es/Dom/focus.js +1 -1
  863. package/dist/node_modules/rc-util/es/Dom/focus.js.map +1 -1
  864. package/dist/node_modules/rc-util/es/Dom/isVisible.js +1 -1
  865. package/dist/node_modules/rc-util/es/Dom/isVisible.js.map +1 -1
  866. package/dist/node_modules/rc-util/es/KeyCode.js +1 -1
  867. package/dist/node_modules/rc-util/es/KeyCode.js.map +1 -1
  868. package/dist/node_modules/rc-util/es/Portal.js +1 -1
  869. package/dist/node_modules/rc-util/es/Portal.js.map +1 -1
  870. package/dist/node_modules/rc-util/es/React/render.js +1 -1
  871. package/dist/node_modules/rc-util/es/React/render.js.map +1 -1
  872. package/dist/node_modules/rc-util/es/getScrollBarSize.js +1 -1
  873. package/dist/node_modules/rc-util/es/getScrollBarSize.js.map +1 -1
  874. package/dist/node_modules/rc-util/es/hooks/useEvent.js +1 -1
  875. package/dist/node_modules/rc-util/es/hooks/useEvent.js.map +1 -1
  876. package/dist/node_modules/rc-util/es/hooks/useId.js +1 -1
  877. package/dist/node_modules/rc-util/es/hooks/useId.js.map +1 -1
  878. package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
  879. package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.js.map +1 -1
  880. package/dist/node_modules/rc-util/es/hooks/useMemo.js +1 -1
  881. package/dist/node_modules/rc-util/es/hooks/useMemo.js.map +1 -1
  882. package/dist/node_modules/rc-util/es/hooks/useMergedState.js +1 -1
  883. package/dist/node_modules/rc-util/es/hooks/useMergedState.js.map +1 -1
  884. package/dist/node_modules/rc-util/es/hooks/useState.js +1 -1
  885. package/dist/node_modules/rc-util/es/hooks/useState.js.map +1 -1
  886. package/dist/node_modules/rc-util/es/isEqual.js +1 -1
  887. package/dist/node_modules/rc-util/es/isEqual.js.map +1 -1
  888. package/dist/node_modules/rc-util/es/isMobile.js +1 -1
  889. package/dist/node_modules/rc-util/es/isMobile.js.map +1 -1
  890. package/dist/node_modules/rc-util/es/omit.js +1 -1
  891. package/dist/node_modules/rc-util/es/omit.js.map +1 -1
  892. package/dist/node_modules/rc-util/es/pickAttrs.js +1 -1
  893. package/dist/node_modules/rc-util/es/pickAttrs.js.map +1 -1
  894. package/dist/node_modules/rc-util/es/raf.js +1 -1
  895. package/dist/node_modules/rc-util/es/raf.js.map +1 -1
  896. package/dist/node_modules/rc-util/es/ref.js +1 -1
  897. package/dist/node_modules/rc-util/es/ref.js.map +1 -1
  898. package/dist/node_modules/rc-util/es/utils/get.js +1 -1
  899. package/dist/node_modules/rc-util/es/utils/get.js.map +1 -1
  900. package/dist/node_modules/rc-util/es/utils/set.js +1 -1
  901. package/dist/node_modules/rc-util/es/utils/set.js.map +1 -1
  902. package/dist/node_modules/rc-util/es/warning.js +1 -1
  903. package/dist/node_modules/rc-util/es/warning.js.map +1 -1
  904. package/dist/node_modules/rc-virtual-list/es/Filler.js +1 -1
  905. package/dist/node_modules/rc-virtual-list/es/Filler.js.map +1 -1
  906. package/dist/node_modules/rc-virtual-list/es/Item.js +1 -1
  907. package/dist/node_modules/rc-virtual-list/es/Item.js.map +1 -1
  908. package/dist/node_modules/rc-virtual-list/es/List.js +1 -1
  909. package/dist/node_modules/rc-virtual-list/es/List.js.map +1 -1
  910. package/dist/node_modules/rc-virtual-list/es/ScrollBar.js +1 -1
  911. package/dist/node_modules/rc-virtual-list/es/ScrollBar.js.map +1 -1
  912. package/dist/node_modules/rc-virtual-list/es/hooks/useChildren.js +1 -1
  913. package/dist/node_modules/rc-virtual-list/es/hooks/useChildren.js.map +1 -1
  914. package/dist/node_modules/rc-virtual-list/es/hooks/useDiffItem.js +1 -1
  915. package/dist/node_modules/rc-virtual-list/es/hooks/useDiffItem.js.map +1 -1
  916. package/dist/node_modules/rc-virtual-list/es/hooks/useFrameWheel.js +1 -1
  917. package/dist/node_modules/rc-virtual-list/es/hooks/useFrameWheel.js.map +1 -1
  918. package/dist/node_modules/rc-virtual-list/es/hooks/useHeights.js +1 -1
  919. package/dist/node_modules/rc-virtual-list/es/hooks/useHeights.js.map +1 -1
  920. package/dist/node_modules/rc-virtual-list/es/hooks/useMobileTouchMove.js +1 -1
  921. package/dist/node_modules/rc-virtual-list/es/hooks/useMobileTouchMove.js.map +1 -1
  922. package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js +1 -1
  923. package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js.map +1 -1
  924. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollTo.js +1 -1
  925. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollTo.js.map +1 -1
  926. package/dist/node_modules/rc-virtual-list/es/index.js +1 -1
  927. package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js +1 -1
  928. package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js.map +1 -1
  929. package/dist/node_modules/rc-virtual-list/es/utils/algorithmUtil.js +1 -1
  930. package/dist/node_modules/rc-virtual-list/es/utils/algorithmUtil.js.map +1 -1
  931. package/dist/node_modules/rc-virtual-list/es/utils/isFirefox.js +1 -1
  932. package/dist/node_modules/rc-virtual-list/es/utils/isFirefox.js.map +1 -1
  933. package/dist/node_modules/react-is/cjs/react-is.development.js +2 -2
  934. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  935. package/dist/node_modules/react-is/cjs/react-is.production.min.js +2 -2
  936. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  937. package/dist/node_modules/react-is/index.js +1 -1
  938. package/dist/node_modules/react-is/index.js.map +1 -1
  939. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
  940. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js.map +1 -1
  941. package/dist/node_modules/stylis/src/Enum.js +1 -1
  942. package/dist/node_modules/stylis/src/Enum.js.map +1 -1
  943. package/dist/node_modules/stylis/src/Middleware.js +1 -1
  944. package/dist/node_modules/stylis/src/Middleware.js.map +1 -1
  945. package/dist/node_modules/stylis/src/Parser.js +1 -1
  946. package/dist/node_modules/stylis/src/Parser.js.map +1 -1
  947. package/dist/node_modules/stylis/src/Serializer.js +1 -1
  948. package/dist/node_modules/stylis/src/Serializer.js.map +1 -1
  949. package/dist/node_modules/stylis/src/Tokenizer.js +1 -1
  950. package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -1
  951. package/dist/node_modules/stylis/src/Utility.js +1 -1
  952. package/dist/node_modules/stylis/src/Utility.js.map +1 -1
  953. package/dist/node_modules/tslib/tslib.es6.js +1 -1
  954. package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
  955. package/dist/src/components/ConfigProvider/ConfigProvider.js +1 -1
  956. package/dist/src/components/ConfigProvider/ConfigProvider.js.map +1 -1
  957. package/dist/src/components/ConfigProvider/GlobalStyle.js +28 -28
  958. package/dist/src/components/ConfigProvider/GlobalStyle.js.map +1 -1
  959. package/dist/src/constants.js +1 -1
  960. package/dist/src/constants.js.map +1 -1
  961. package/dist/src/index.js +1 -1
  962. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
- "use strict";function t(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function e(e){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?t(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var r;Object.defineProperty(exports,"__esModule",{value:!0});var i={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function a(){if(void 0!==r)return r;r="";var t=document.createElement("p").style;for(var e in i)e+"Transform"in t&&(r=e);return r}function f(){return a()?"".concat(a(),"TransitionProperty"):"transitionProperty"}function l(){return a()?"".concat(a(),"Transform"):"transform"}function u(t,e){var o=f();o&&(t.style[o]=e,"transitionProperty"!==o&&(t.style.transitionProperty=e))}function c(t,e){var o=l();o&&(t.style[o]=e,"transform"!==o&&(t.style.transform=e))}var s,p=/matrix\((.*)\)/,d=/matrix3d\((.*)\)/;function h(t){var e=t.style.display;t.style.display="none",t.offsetHeight,t.style.display=e}function g(t,e,n){var r=n;if("object"!==o(e))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(t.style[e]=r)):s(t,e);for(var i in e)e.hasOwnProperty(i)&&g(t,i,e[i])}function v(t,e){var o=t["page".concat(e?"Y":"X","Offset")],n="scroll".concat(e?"Top":"Left");if("number"!=typeof o){var r=t.document;"number"!=typeof(o=r.documentElement[n])&&(o=r.body[n])}return o}function m(t){return v(t)}function y(t){return v(t,!0)}function w(t){var e=function(t){var e,o,n,r=t.ownerDocument,i=r.body,a=r&&r.documentElement;return e=t.getBoundingClientRect(),o=Math.floor(e.left),n=Math.floor(e.top),{left:o-=a.clientLeft||i.clientLeft||0,top:n-=a.clientTop||i.clientTop||0}}(t),o=t.ownerDocument,n=o.defaultView||o.parentWindow;return e.left+=m(n),e.top+=y(n),e}function b(t){return null!=t&&t==t.window}function x(t){return b(t)?t.document:9===t.nodeType?t:t.ownerDocument}var W=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),O=/^(top|right|bottom|left)$/,P="currentStyle",j="runtimeStyle",S="left";function T(t,e){return"left"===t?e.useCssRight?"right":t:e.useCssBottom?"bottom":t}function M(t){return"left"===t?"right":"right"===t?"left":"top"===t?"bottom":"bottom"===t?"top":void 0}function C(t,e,o){"static"===g(t,"position")&&(t.style.position="relative");var n=-999,r=-999,i=T("left",o),a=T("top",o),l=M(i),c=M(a);"left"!==i&&(n=999),"top"!==a&&(r=999);var s,p="",d=w(t);("left"in e||"top"in e)&&(p=(s=t).style.transitionProperty||s.style[f()]||"",u(t,"none")),"left"in e&&(t.style[l]="",t.style[i]="".concat(n,"px")),"top"in e&&(t.style[c]="",t.style[a]="".concat(r,"px")),h(t);var v=w(t),m={};for(var y in e)if(e.hasOwnProperty(y)){var b=T(y,o),x="left"===y?n:r,W=d[y]-v[y];m[b]=b===y?x+W:x-W}g(t,m),h(t),("left"in e||"top"in e)&&u(t,p);var O={};for(var P in e)if(e.hasOwnProperty(P)){var j=T(P,o),S=e[P]-d[P];O[j]=P===j?m[j]+S:m[j]-S}g(t,O)}function D(t,e){var o=w(t),n=function(t){var e=window.getComputedStyle(t,null),o=e.getPropertyValue("transform")||e.getPropertyValue(l());if(o&&"none"!==o){var n=o.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(n[12]||n[4],0),y:parseFloat(n[13]||n[5],0)}}return{x:0,y:0}}(t),r={x:n.x,y:n.y};"left"in e&&(r.x=n.x+e.left-o.left),"top"in e&&(r.y=n.y+e.top-o.top),function(t,e){var o=window.getComputedStyle(t,null),n=o.getPropertyValue("transform")||o.getPropertyValue(l());if(n&&"none"!==n){var r,i=n.match(p);i?((r=(i=i[1]).split(",").map((function(t){return parseFloat(t,10)})))[4]=e.x,r[5]=e.y,c(t,"matrix(".concat(r.join(","),")"))):((r=n.match(d)[1].split(",").map((function(t){return parseFloat(t,10)})))[12]=e.x,r[13]=e.y,c(t,"matrix3d(".concat(r.join(","),")")))}else c(t,"translateX(".concat(e.x,"px) translateY(").concat(e.y,"px) translateZ(0)"))}(t,r)}function E(t,e){for(var o=0;o<t.length;o++)e(t[o])}function H(t){return"border-box"===s(t,"boxSizing")}"undefined"!=typeof window&&(s=window.getComputedStyle?function(t,e,o){var n=o,r="",i=x(t);return(n=n||i.defaultView.getComputedStyle(t,null))&&(r=n.getPropertyValue(e)||n[e]),r}:function(t,e){var o=t[P]&&t[P][e];if(W.test(o)&&!O.test(e)){var n=t.style,r=n[S],i=t[j][S];t[j][S]=t[P][S],n[S]="fontSize"===e?"1em":o||0,o=n.pixelLeft+"px",n[S]=r,t[j][S]=i}return""===o?"auto":o});var V=["margin","border","padding"],X=-1,Y=2,L=1;function B(t,e,o){var n,r,i,a=0;for(r=0;r<e.length;r++)if(n=e[r])for(i=0;i<o.length;i++){var f=void 0;f="border"===n?"".concat(n).concat(o[i],"Width"):n+o[i],a+=parseFloat(s(t,f))||0}return a}var F={getParent:function(t){var e=t;do{e=11===e.nodeType&&e.host?e.host:e.parentNode}while(e&&1!==e.nodeType&&9!==e.nodeType);return e}};function R(t,e,o){var n=o;if(b(t))return"width"===e?F.viewportWidth(t):F.viewportHeight(t);if(9===t.nodeType)return"width"===e?F.docWidth(t):F.docHeight(t);var r="width"===e?["Left","Right"]:["Top","Bottom"],i="width"===e?Math.floor(t.getBoundingClientRect().width):Math.floor(t.getBoundingClientRect().height),a=H(t),f=0;(null==i||i<=0)&&(i=void 0,(null==(f=s(t,e))||Number(f)<0)&&(f=t.style[e]||0),f=Math.floor(parseFloat(f))||0),void 0===n&&(n=a?L:X);var l=void 0!==i||a,u=i||f;return n===X?l?u-B(t,["border","padding"],r):f:l?n===L?u:u+(n===Y?-B(t,["border"],r):B(t,["margin"],r)):f+B(t,V.slice(n),r)}E(["Width","Height"],(function(t){F["doc".concat(t)]=function(e){var o=e.document;return Math.max(o.documentElement["scroll".concat(t)],o.body["scroll".concat(t)],F["viewport".concat(t)](o))},F["viewport".concat(t)]=function(e){var o="client".concat(t),n=e.document,r=n.body,i=n.documentElement[o];return"CSS1Compat"===n.compatMode&&i||r&&r[o]||i}}));var k={position:"absolute",visibility:"hidden",display:"block"};function z(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];var n,r=e[0];return 0!==r.offsetWidth?n=R.apply(void 0,e):function(t,e,o){var n,r={},i=t.style;for(n in e)e.hasOwnProperty(n)&&(r[n]=i[n],i[n]=e[n]);for(n in o.call(t),e)e.hasOwnProperty(n)&&(i[n]=r[n])}(r,k,(function(){n=R.apply(void 0,e)})),n}function _(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);return t}E(["width","height"],(function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);F["outer".concat(e)]=function(e,o){return e&&z(e,t,o?0:L)};var o="width"===t?["Left","Right"]:["Top","Bottom"];F[t]=function(e,n){var r=n;return void 0!==r?e?(H(e)&&(r+=B(e,["padding","border"],o)),g(e,t,r)):void 0:e&&z(e,t,X)}}));var A={getWindow:function(t){if(t&&t.document&&t.setTimeout)return t;var e=t.ownerDocument||t;return e.defaultView||e.parentWindow},getDocument:x,offset:function(t,e,o){if(void 0===e)return w(t);!function(t,e,o){if(o.ignoreShake){var n=w(t),r=n.left.toFixed(0),i=n.top.toFixed(0),a=e.left.toFixed(0),f=e.top.toFixed(0);if(r===a&&i===f)return}o.useCssRight||o.useCssBottom?C(t,e,o):o.useCssTransform&&l()in document.body.style?D(t,e):C(t,e,o)}(t,e,o||{})},isWindow:b,each:E,css:g,clone:function(t){var e,o={};for(e in t)t.hasOwnProperty(e)&&(o[e]=t[e]);if(t.overflow)for(e in t)t.hasOwnProperty(e)&&(o.overflow[e]=t.overflow[e]);return o},mix:_,getWindowScrollLeft:function(t){return m(t)},getWindowScrollTop:function(t){return y(t)},merge:function(){for(var t={},e=0;e<arguments.length;e++)A.mix(t,e<0||arguments.length<=e?void 0:arguments[e]);return t},viewportWidth:0,viewportHeight:0};_(A,F);var I=A.getParent;function N(t){if(A.isWindow(t)||9===t.nodeType)return null;var e,o=A.getDocument(t).body,n=A.css(t,"position");if(!("fixed"===n||"absolute"===n))return"html"===t.nodeName.toLowerCase()?null:I(t);for(e=I(t);e&&e!==o&&9!==e.nodeType;e=I(e))if("static"!==(n=A.css(e,"position")))return e;return null}var $=A.getParent;function U(t,e){for(var o={left:0,right:1/0,top:0,bottom:1/0},n=N(t),r=A.getDocument(t),i=r.defaultView||r.parentWindow,a=r.body,f=r.documentElement;n;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===n.clientWidth||n===a||n===f||"visible"===A.css(n,"overflow")){if(n===a||n===f)break}else{var l=A.offset(n);l.left+=n.clientLeft,l.top+=n.clientTop,o.top=Math.max(o.top,l.top),o.right=Math.min(o.right,l.left+n.clientWidth),o.bottom=Math.min(o.bottom,l.top+n.clientHeight),o.left=Math.max(o.left,l.left)}n=N(n)}var u=null;A.isWindow(t)||9===t.nodeType||(u=t.style.position,"absolute"===A.css(t,"position")&&(t.style.position="fixed"));var c=A.getWindowScrollLeft(i),s=A.getWindowScrollTop(i),p=A.viewportWidth(i),d=A.viewportHeight(i),h=f.scrollWidth,g=f.scrollHeight,v=window.getComputedStyle(a);if("hidden"===v.overflowX&&(h=i.innerWidth),"hidden"===v.overflowY&&(g=i.innerHeight),t.style&&(t.style.position=u),e||function(t){if(A.isWindow(t)||9===t.nodeType)return!1;var e=A.getDocument(t),o=e.body,n=null;for(n=$(t);n&&n!==o&&n!==e;n=$(n))if("fixed"===A.css(n,"position"))return!0;return!1}(t))o.left=Math.max(o.left,c),o.top=Math.max(o.top,s),o.right=Math.min(o.right,c+p),o.bottom=Math.min(o.bottom,s+d);else{var m=Math.max(h,c+p);o.right=Math.min(o.right,m);var y=Math.max(g,s+d);o.bottom=Math.min(o.bottom,y)}return o.top>=0&&o.left>=0&&o.bottom>o.top&&o.right>o.left?o:null}function Z(t){var e,o,n;if(A.isWindow(t)||9===t.nodeType){var r=A.getWindow(t);e={left:A.getWindowScrollLeft(r),top:A.getWindowScrollTop(r)},o=A.viewportWidth(r),n=A.viewportHeight(r)}else e=A.offset(t),o=A.outerWidth(t),n=A.outerHeight(t);return e.width=o,e.height=n,e}function q(t,e){var o=e.charAt(0),n=e.charAt(1),r=t.width,i=t.height,a=t.left,f=t.top;return"c"===o?f+=i/2:"b"===o&&(f+=i),"c"===n?a+=r/2:"r"===n&&(a+=r),{left:a,top:f}}function G(t,e,o,n,r){var i=q(e,o[1]),a=q(t,o[0]),f=[a.left-i.left,a.top-i.top];return{left:Math.round(t.left-f[0]+n[0]-r[0]),top:Math.round(t.top-f[1]+n[1]-r[1])}}function J(t,e,o){return t.left<o.left||t.left+e.width>o.right}function K(t,e,o){return t.top<o.top||t.top+e.height>o.bottom}function Q(t,e,o){var n=[];return A.each(t,(function(t){n.push(t.replace(e,(function(t){return o[t]})))})),n}function tt(t,e){return t[e]=-t[e],t}function et(t,e){return(/%$/.test(t)?parseInt(t.substring(0,t.length-1),10)/100*e:parseInt(t,10))||0}function ot(t,e){t[0]=et(t[0],e.width),t[1]=et(t[1],e.height)}function nt(t,e,o,n){var r=o.points,i=o.offset||[0,0],a=o.targetOffset||[0,0],f=o.overflow,l=o.source||t;i=[].concat(i),a=[].concat(a);var u={},c=0,s=U(l,!(!(f=f||{})||!f.alwaysByViewport)),p=Z(l);ot(i,p),ot(a,e);var d=G(p,e,r,i,a),h=A.merge(p,d);if(s&&(f.adjustX||f.adjustY)&&n){if(f.adjustX&&J(d,p,s)){var g=Q(r,/[lr]/gi,{l:"r",r:"l"}),v=tt(i,0),m=tt(a,0);(function(t,e,o){return t.left>o.right||t.left+e.width<o.left})(G(p,e,g,v,m),p,s)||(c=1,r=g,i=v,a=m)}if(f.adjustY&&K(d,p,s)){var y=Q(r,/[tb]/gi,{t:"b",b:"t"}),w=tt(i,1),b=tt(a,1);(function(t,e,o){return t.top>o.bottom||t.top+e.height<o.top})(G(p,e,y,w,b),p,s)||(c=1,r=y,i=w,a=b)}c&&(d=G(p,e,r,i,a),A.mix(h,d));var x=J(d,p,s),W=K(d,p,s);if(x||W){var O=r;x&&(O=Q(r,/[lr]/gi,{l:"r",r:"l"})),W&&(O=Q(r,/[tb]/gi,{t:"b",b:"t"})),r=O,i=o.offset||[0,0],a=o.targetOffset||[0,0]}u.adjustX=f.adjustX&&x,u.adjustY=f.adjustY&&W,(u.adjustX||u.adjustY)&&(h=function(t,e,o,n){var r=A.clone(t),i={width:e.width,height:e.height};return n.adjustX&&r.left<o.left&&(r.left=o.left),n.resizeWidth&&r.left>=o.left&&r.left+i.width>o.right&&(i.width-=r.left+i.width-o.right),n.adjustX&&r.left+i.width>o.right&&(r.left=Math.max(o.right-i.width,o.left)),n.adjustY&&r.top<o.top&&(r.top=o.top),n.resizeHeight&&r.top>=o.top&&r.top+i.height>o.bottom&&(i.height-=r.top+i.height-o.bottom),n.adjustY&&r.top+i.height>o.bottom&&(r.top=Math.max(o.bottom-i.height,o.top)),A.mix(r,i)}(d,p,s,u))}return h.width!==p.width&&A.css(l,"width",A.width(l)+h.width-p.width),h.height!==p.height&&A.css(l,"height",A.height(l)+h.height-p.height),A.offset(l,{left:h.left,top:h.top},{useCssRight:o.useCssRight,useCssBottom:o.useCssBottom,useCssTransform:o.useCssTransform,ignoreShake:o.ignoreShake}),{points:r,offset:i,targetOffset:a,overflow:u}}function rt(t,e,o){var n=o.target||e,r=Z(n),i=!function(t,e){var o=U(t,e),n=Z(t);return!o||n.left+n.width<=o.left||n.top+n.height<=o.top||n.left>=o.right||n.top>=o.bottom}(n,o.overflow&&o.overflow.alwaysByViewport);return nt(t,r,o,i)}rt.__getOffsetParent=N,rt.__getVisibleRectForElement=U,exports.alignElement=rt,exports.alignPoint=function(t,o,n){var r,i,a=A.getDocument(t),f=a.defaultView||a.parentWindow,l=A.getWindowScrollLeft(f),u=A.getWindowScrollTop(f),c=A.viewportWidth(f),s=A.viewportHeight(f),p={left:r="pageX"in o?o.pageX:l+o.clientX,top:i="pageY"in o?o.pageY:u+o.clientY,width:0,height:0},d=r>=0&&r<=l+c&&i>=0&&i<=u+s,h=[n.points[0],"cc"];return nt(t,p,e(e({},n),{},{points:h}),d)},exports.default=rt;
1
+ function t(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function e(e){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?t(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var r,i={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function a(){if(void 0!==r)return r;r="";var t=document.createElement("p").style;for(var e in i)e+"Transform"in t&&(r=e);return r}function f(){return a()?"".concat(a(),"TransitionProperty"):"transitionProperty"}function l(){return a()?"".concat(a(),"Transform"):"transform"}function u(t,e){var o=f();o&&(t.style[o]=e,"transitionProperty"!==o&&(t.style.transitionProperty=e))}function c(t,e){var o=l();o&&(t.style[o]=e,"transform"!==o&&(t.style.transform=e))}var s,p=/matrix\((.*)\)/,d=/matrix3d\((.*)\)/;function h(t){var e=t.style.display;t.style.display="none",t.offsetHeight,t.style.display=e}function g(t,e,n){var r=n;if("object"!==o(e))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(t.style[e]=r)):s(t,e);for(var i in e)e.hasOwnProperty(i)&&g(t,i,e[i])}function v(t,e){var o=t["page".concat(e?"Y":"X","Offset")],n="scroll".concat(e?"Top":"Left");if("number"!=typeof o){var r=t.document;"number"!=typeof(o=r.documentElement[n])&&(o=r.body[n])}return o}function m(t){return v(t)}function y(t){return v(t,!0)}function w(t){var e=function(t){var e,o,n,r=t.ownerDocument,i=r.body,a=r&&r.documentElement;return e=t.getBoundingClientRect(),o=Math.floor(e.left),n=Math.floor(e.top),{left:o-=a.clientLeft||i.clientLeft||0,top:n-=a.clientTop||i.clientTop||0}}(t),o=t.ownerDocument,n=o.defaultView||o.parentWindow;return e.left+=m(n),e.top+=y(n),e}function b(t){return null!=t&&t==t.window}function x(t){return b(t)?t.document:9===t.nodeType?t:t.ownerDocument}var W=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),O=/^(top|right|bottom|left)$/,P="currentStyle",S="runtimeStyle",j="left";function T(t,e){return"left"===t?e.useCssRight?"right":t:e.useCssBottom?"bottom":t}function M(t){return"left"===t?"right":"right"===t?"left":"top"===t?"bottom":"bottom"===t?"top":void 0}function C(t,e,o){"static"===g(t,"position")&&(t.style.position="relative");var n=-999,r=-999,i=T("left",o),a=T("top",o),l=M(i),c=M(a);"left"!==i&&(n=999),"top"!==a&&(r=999);var s,p="",d=w(t);("left"in e||"top"in e)&&(p=(s=t).style.transitionProperty||s.style[f()]||"",u(t,"none")),"left"in e&&(t.style[l]="",t.style[i]="".concat(n,"px")),"top"in e&&(t.style[c]="",t.style[a]="".concat(r,"px")),h(t);var v=w(t),m={};for(var y in e)if(e.hasOwnProperty(y)){var b=T(y,o),x="left"===y?n:r,W=d[y]-v[y];m[b]=b===y?x+W:x-W}g(t,m),h(t),("left"in e||"top"in e)&&u(t,p);var O={};for(var P in e)if(e.hasOwnProperty(P)){var S=T(P,o),j=e[P]-d[P];O[S]=P===S?m[S]+j:m[S]-j}g(t,O)}function D(t,e){var o=w(t),n=function(t){var e=window.getComputedStyle(t,null),o=e.getPropertyValue("transform")||e.getPropertyValue(l());if(o&&"none"!==o){var n=o.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(n[12]||n[4],0),y:parseFloat(n[13]||n[5],0)}}return{x:0,y:0}}(t),r={x:n.x,y:n.y};"left"in e&&(r.x=n.x+e.left-o.left),"top"in e&&(r.y=n.y+e.top-o.top),function(t,e){var o=window.getComputedStyle(t,null),n=o.getPropertyValue("transform")||o.getPropertyValue(l());if(n&&"none"!==n){var r,i=n.match(p);i?((r=(i=i[1]).split(",").map((function(t){return parseFloat(t,10)})))[4]=e.x,r[5]=e.y,c(t,"matrix(".concat(r.join(","),")"))):((r=n.match(d)[1].split(",").map((function(t){return parseFloat(t,10)})))[12]=e.x,r[13]=e.y,c(t,"matrix3d(".concat(r.join(","),")")))}else c(t,"translateX(".concat(e.x,"px) translateY(").concat(e.y,"px) translateZ(0)"))}(t,r)}function H(t,e){for(var o=0;o<t.length;o++)e(t[o])}function V(t){return"border-box"===s(t,"boxSizing")}"undefined"!=typeof window&&(s=window.getComputedStyle?function(t,e,o){var n=o,r="",i=x(t);return(n=n||i.defaultView.getComputedStyle(t,null))&&(r=n.getPropertyValue(e)||n[e]),r}:function(t,e){var o=t[P]&&t[P][e];if(W.test(o)&&!O.test(e)){var n=t.style,r=n[j],i=t[S][j];t[S][j]=t[P][j],n[j]="fontSize"===e?"1em":o||0,o=n.pixelLeft+"px",n[j]=r,t[S][j]=i}return""===o?"auto":o});var X=["margin","border","padding"],Y=-1,E=2,L=1;function B(t,e,o){var n,r,i,a=0;for(r=0;r<e.length;r++)if(n=e[r])for(i=0;i<o.length;i++){var f=void 0;f="border"===n?"".concat(n).concat(o[i],"Width"):n+o[i],a+=parseFloat(s(t,f))||0}return a}var F={getParent:function(t){var e=t;do{e=11===e.nodeType&&e.host?e.host:e.parentNode}while(e&&1!==e.nodeType&&9!==e.nodeType);return e}};function R(t,e,o){var n=o;if(b(t))return"width"===e?F.viewportWidth(t):F.viewportHeight(t);if(9===t.nodeType)return"width"===e?F.docWidth(t):F.docHeight(t);var r="width"===e?["Left","Right"]:["Top","Bottom"],i="width"===e?Math.floor(t.getBoundingClientRect().width):Math.floor(t.getBoundingClientRect().height),a=V(t),f=0;(null==i||i<=0)&&(i=void 0,(null==(f=s(t,e))||Number(f)<0)&&(f=t.style[e]||0),f=Math.floor(parseFloat(f))||0),void 0===n&&(n=a?L:Y);var l=void 0!==i||a,u=i||f;return n===Y?l?u-B(t,["border","padding"],r):f:l?n===L?u:u+(n===E?-B(t,["border"],r):B(t,["margin"],r)):f+B(t,X.slice(n),r)}H(["Width","Height"],(function(t){F["doc".concat(t)]=function(e){var o=e.document;return Math.max(o.documentElement["scroll".concat(t)],o.body["scroll".concat(t)],F["viewport".concat(t)](o))},F["viewport".concat(t)]=function(e){var o="client".concat(t),n=e.document,r=n.body,i=n.documentElement[o];return"CSS1Compat"===n.compatMode&&i||r&&r[o]||i}}));var k={position:"absolute",visibility:"hidden",display:"block"};function z(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];var n,r=e[0];return 0!==r.offsetWidth?n=R.apply(void 0,e):function(t,e,o){var n,r={},i=t.style;for(n in e)e.hasOwnProperty(n)&&(r[n]=i[n],i[n]=e[n]);for(n in o.call(t),e)e.hasOwnProperty(n)&&(i[n]=r[n])}(r,k,(function(){n=R.apply(void 0,e)})),n}function A(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);return t}H(["width","height"],(function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);F["outer".concat(e)]=function(e,o){return e&&z(e,t,o?0:L)};var o="width"===t?["Left","Right"]:["Top","Bottom"];F[t]=function(e,n){var r=n;return void 0!==r?e?(V(e)&&(r+=B(e,["padding","border"],o)),g(e,t,r)):void 0:e&&z(e,t,Y)}}));var _={getWindow:function(t){if(t&&t.document&&t.setTimeout)return t;var e=t.ownerDocument||t;return e.defaultView||e.parentWindow},getDocument:x,offset:function(t,e,o){if(void 0===e)return w(t);!function(t,e,o){if(o.ignoreShake){var n=w(t),r=n.left.toFixed(0),i=n.top.toFixed(0),a=e.left.toFixed(0),f=e.top.toFixed(0);if(r===a&&i===f)return}o.useCssRight||o.useCssBottom?C(t,e,o):o.useCssTransform&&l()in document.body.style?D(t,e):C(t,e,o)}(t,e,o||{})},isWindow:b,each:H,css:g,clone:function(t){var e,o={};for(e in t)t.hasOwnProperty(e)&&(o[e]=t[e]);if(t.overflow)for(e in t)t.hasOwnProperty(e)&&(o.overflow[e]=t.overflow[e]);return o},mix:A,getWindowScrollLeft:function(t){return m(t)},getWindowScrollTop:function(t){return y(t)},merge:function(){for(var t={},e=0;e<arguments.length;e++)_.mix(t,e<0||arguments.length<=e?void 0:arguments[e]);return t},viewportWidth:0,viewportHeight:0};A(_,F);var I=_.getParent;function N(t){if(_.isWindow(t)||9===t.nodeType)return null;var e,o=_.getDocument(t).body,n=_.css(t,"position");if(!("fixed"===n||"absolute"===n))return"html"===t.nodeName.toLowerCase()?null:I(t);for(e=I(t);e&&e!==o&&9!==e.nodeType;e=I(e))if("static"!==(n=_.css(e,"position")))return e;return null}var $=_.getParent;function U(t,e){for(var o={left:0,right:1/0,top:0,bottom:1/0},n=N(t),r=_.getDocument(t),i=r.defaultView||r.parentWindow,a=r.body,f=r.documentElement;n;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===n.clientWidth||n===a||n===f||"visible"===_.css(n,"overflow")){if(n===a||n===f)break}else{var l=_.offset(n);l.left+=n.clientLeft,l.top+=n.clientTop,o.top=Math.max(o.top,l.top),o.right=Math.min(o.right,l.left+n.clientWidth),o.bottom=Math.min(o.bottom,l.top+n.clientHeight),o.left=Math.max(o.left,l.left)}n=N(n)}var u=null;_.isWindow(t)||9===t.nodeType||(u=t.style.position,"absolute"===_.css(t,"position")&&(t.style.position="fixed"));var c=_.getWindowScrollLeft(i),s=_.getWindowScrollTop(i),p=_.viewportWidth(i),d=_.viewportHeight(i),h=f.scrollWidth,g=f.scrollHeight,v=window.getComputedStyle(a);if("hidden"===v.overflowX&&(h=i.innerWidth),"hidden"===v.overflowY&&(g=i.innerHeight),t.style&&(t.style.position=u),e||function(t){if(_.isWindow(t)||9===t.nodeType)return!1;var e=_.getDocument(t),o=e.body,n=null;for(n=$(t);n&&n!==o&&n!==e;n=$(n))if("fixed"===_.css(n,"position"))return!0;return!1}(t))o.left=Math.max(o.left,c),o.top=Math.max(o.top,s),o.right=Math.min(o.right,c+p),o.bottom=Math.min(o.bottom,s+d);else{var m=Math.max(h,c+p);o.right=Math.min(o.right,m);var y=Math.max(g,s+d);o.bottom=Math.min(o.bottom,y)}return o.top>=0&&o.left>=0&&o.bottom>o.top&&o.right>o.left?o:null}function Z(t){var e,o,n;if(_.isWindow(t)||9===t.nodeType){var r=_.getWindow(t);e={left:_.getWindowScrollLeft(r),top:_.getWindowScrollTop(r)},o=_.viewportWidth(r),n=_.viewportHeight(r)}else e=_.offset(t),o=_.outerWidth(t),n=_.outerHeight(t);return e.width=o,e.height=n,e}function q(t,e){var o=e.charAt(0),n=e.charAt(1),r=t.width,i=t.height,a=t.left,f=t.top;return"c"===o?f+=i/2:"b"===o&&(f+=i),"c"===n?a+=r/2:"r"===n&&(a+=r),{left:a,top:f}}function G(t,e,o,n,r){var i=q(e,o[1]),a=q(t,o[0]),f=[a.left-i.left,a.top-i.top];return{left:Math.round(t.left-f[0]+n[0]-r[0]),top:Math.round(t.top-f[1]+n[1]-r[1])}}function J(t,e,o){return t.left<o.left||t.left+e.width>o.right}function K(t,e,o){return t.top<o.top||t.top+e.height>o.bottom}function Q(t,e,o){var n=[];return _.each(t,(function(t){n.push(t.replace(e,(function(t){return o[t]})))})),n}function tt(t,e){return t[e]=-t[e],t}function et(t,e){return(/%$/.test(t)?parseInt(t.substring(0,t.length-1),10)/100*e:parseInt(t,10))||0}function ot(t,e){t[0]=et(t[0],e.width),t[1]=et(t[1],e.height)}function nt(t,e,o,n){var r=o.points,i=o.offset||[0,0],a=o.targetOffset||[0,0],f=o.overflow,l=o.source||t;i=[].concat(i),a=[].concat(a);var u={},c=0,s=U(l,!(!(f=f||{})||!f.alwaysByViewport)),p=Z(l);ot(i,p),ot(a,e);var d=G(p,e,r,i,a),h=_.merge(p,d);if(s&&(f.adjustX||f.adjustY)&&n){if(f.adjustX&&J(d,p,s)){var g=Q(r,/[lr]/gi,{l:"r",r:"l"}),v=tt(i,0),m=tt(a,0);(function(t,e,o){return t.left>o.right||t.left+e.width<o.left})(G(p,e,g,v,m),p,s)||(c=1,r=g,i=v,a=m)}if(f.adjustY&&K(d,p,s)){var y=Q(r,/[tb]/gi,{t:"b",b:"t"}),w=tt(i,1),b=tt(a,1);(function(t,e,o){return t.top>o.bottom||t.top+e.height<o.top})(G(p,e,y,w,b),p,s)||(c=1,r=y,i=w,a=b)}c&&(d=G(p,e,r,i,a),_.mix(h,d));var x=J(d,p,s),W=K(d,p,s);if(x||W){var O=r;x&&(O=Q(r,/[lr]/gi,{l:"r",r:"l"})),W&&(O=Q(r,/[tb]/gi,{t:"b",b:"t"})),r=O,i=o.offset||[0,0],a=o.targetOffset||[0,0]}u.adjustX=f.adjustX&&x,u.adjustY=f.adjustY&&W,(u.adjustX||u.adjustY)&&(h=function(t,e,o,n){var r=_.clone(t),i={width:e.width,height:e.height};return n.adjustX&&r.left<o.left&&(r.left=o.left),n.resizeWidth&&r.left>=o.left&&r.left+i.width>o.right&&(i.width-=r.left+i.width-o.right),n.adjustX&&r.left+i.width>o.right&&(r.left=Math.max(o.right-i.width,o.left)),n.adjustY&&r.top<o.top&&(r.top=o.top),n.resizeHeight&&r.top>=o.top&&r.top+i.height>o.bottom&&(i.height-=r.top+i.height-o.bottom),n.adjustY&&r.top+i.height>o.bottom&&(r.top=Math.max(o.bottom-i.height,o.top)),_.mix(r,i)}(d,p,s,u))}return h.width!==p.width&&_.css(l,"width",_.width(l)+h.width-p.width),h.height!==p.height&&_.css(l,"height",_.height(l)+h.height-p.height),_.offset(l,{left:h.left,top:h.top},{useCssRight:o.useCssRight,useCssBottom:o.useCssBottom,useCssTransform:o.useCssTransform,ignoreShake:o.ignoreShake}),{points:r,offset:i,targetOffset:a,overflow:u}}function rt(t,e,o){var n=o.target||e,r=Z(n),i=!function(t,e){var o=U(t,e),n=Z(t);return!o||n.left+n.width<=o.left||n.top+n.height<=o.top||n.left>=o.right||n.top>=o.bottom}(n,o.overflow&&o.overflow.alwaysByViewport);return nt(t,r,o,i)}function it(t,o,n){var r,i,a=_.getDocument(t),f=a.defaultView||a.parentWindow,l=_.getWindowScrollLeft(f),u=_.getWindowScrollTop(f),c=_.viewportWidth(f),s=_.viewportHeight(f),p={left:r="pageX"in o?o.pageX:l+o.clientX,top:i="pageY"in o?o.pageY:u+o.clientY,width:0,height:0},d=r>=0&&r<=l+c&&i>=0&&i<=u+s,h=[n.points[0],"cc"];return nt(t,p,e(e({},n),{},{points:h}),d)}rt.__getOffsetParent=N,rt.__getVisibleRectForElement=U;export{rt as alignElement,it as alignPoint,rt as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../node_modules/dom-align/dist-web/index.js"],"sourcesContent":["function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nvar vendorPrefix;\nvar jsCssMap = {\n Webkit: '-webkit-',\n Moz: '-moz-',\n // IE did it wrong again ...\n ms: '-ms-',\n O: '-o-'\n};\nfunction getVendorPrefix() {\n if (vendorPrefix !== undefined) {\n return vendorPrefix;\n }\n vendorPrefix = '';\n var style = document.createElement('p').style;\n var testProp = 'Transform';\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n vendorPrefix = key;\n }\n }\n return vendorPrefix;\n}\nfunction getTransitionName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"TransitionProperty\") : 'transitionProperty';\n}\nfunction getTransformName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"Transform\") : 'transform';\n}\nfunction setTransitionProperty(node, value) {\n var name = getTransitionName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transitionProperty') {\n node.style.transitionProperty = value;\n }\n }\n}\nfunction setTransform(node, value) {\n var name = getTransformName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transform') {\n node.style.transform = value;\n }\n }\n}\nfunction getTransitionProperty(node) {\n return node.style.transitionProperty || node.style[getTransitionName()];\n}\nfunction getTransformXY(node) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var matrix = transform.replace(/[^0-9\\-.,]/g, '').split(',');\n return {\n x: parseFloat(matrix[12] || matrix[4], 0),\n y: parseFloat(matrix[13] || matrix[5], 0)\n };\n }\n return {\n x: 0,\n y: 0\n };\n}\nvar matrix2d = /matrix\\((.*)\\)/;\nvar matrix3d = /matrix3d\\((.*)\\)/;\nfunction setTransformXY(node, xy) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var arr;\n var match2d = transform.match(matrix2d);\n if (match2d) {\n match2d = match2d[1];\n arr = match2d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[4] = xy.x;\n arr[5] = xy.y;\n setTransform(node, \"matrix(\".concat(arr.join(','), \")\"));\n } else {\n var match3d = transform.match(matrix3d)[1];\n arr = match3d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[12] = xy.x;\n arr[13] = xy.y;\n setTransform(node, \"matrix3d(\".concat(arr.join(','), \")\"));\n }\n } else {\n setTransform(node, \"translateX(\".concat(xy.x, \"px) translateY(\").concat(xy.y, \"px) translateZ(0)\"));\n }\n}\n\nvar RE_NUM = /[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;\nvar getComputedStyleX;\n\n// https://stackoverflow.com/a/3485654/3040605\nfunction forceRelayout(elem) {\n var originalStyle = elem.style.display;\n elem.style.display = 'none';\n elem.offsetHeight; // eslint-disable-line\n elem.style.display = originalStyle;\n}\nfunction css(el, name, v) {\n var value = v;\n if (_typeof(name) === 'object') {\n for (var i in name) {\n if (name.hasOwnProperty(i)) {\n css(el, i, name[i]);\n }\n }\n return undefined;\n }\n if (typeof value !== 'undefined') {\n if (typeof value === 'number') {\n value = \"\".concat(value, \"px\");\n }\n el.style[name] = value;\n return undefined;\n }\n return getComputedStyleX(el, name);\n}\nfunction getClientPosition(elem) {\n var box;\n var x;\n var y;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement;\n // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式\n box = elem.getBoundingClientRect();\n\n // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop\n // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确\n // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin\n\n x = Math.floor(box.left);\n y = Math.floor(box.top);\n\n // In IE, most of the time, 2 extra pixels are added to the top and left\n // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and\n // IE6 standards mode, this border can be overridden by setting the\n // document element's border to zero -- thus, we cannot rely on the\n // offset always being 2 pixels.\n\n // In quirks mode, the offset can be determined by querying the body's\n // clientLeft/clientTop, but in standards mode, it is found by querying\n // the document element's clientLeft/clientTop. Since we already called\n // getClientBoundingRect we have already forced a reflow, so it is not\n // too expensive just to query them all.\n\n // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的\n // 窗口边框标准是设 documentElement ,quirks 时设置 body\n // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去\n // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置\n // 标准 ie 下 docElem.clientTop 就是 border-top\n // ie7 html 即窗口边框改变不了。永远为 2\n // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0\n\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n return {\n left: x,\n top: y\n };\n}\nfunction getScroll(w, top) {\n var ret = w[\"page\".concat(top ? 'Y' : 'X', \"Offset\")];\n var method = \"scroll\".concat(top ? 'Top' : 'Left');\n if (typeof ret !== 'number') {\n var d = w.document;\n // ie6,7,8 standard mode\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n // quirks mode\n ret = d.body[method];\n }\n }\n return ret;\n}\nfunction getScrollLeft(w) {\n return getScroll(w);\n}\nfunction getScrollTop(w) {\n return getScroll(w, true);\n}\nfunction getOffset(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScrollLeft(w);\n pos.top += getScrollTop(w);\n return pos;\n}\n\n/**\n * A crude way of determining if an object is a window\n * @member util\n */\nfunction isWindow(obj) {\n // must use == for ie8\n /* eslint eqeqeq:0 */\n return obj !== null && obj !== undefined && obj == obj.window;\n}\nfunction getDocument(node) {\n if (isWindow(node)) {\n return node.document;\n }\n if (node.nodeType === 9) {\n return node;\n }\n return node.ownerDocument;\n}\nfunction _getComputedStyle(elem, name, cs) {\n var computedStyle = cs;\n var val = '';\n var d = getDocument(elem);\n computedStyle = computedStyle || d.defaultView.getComputedStyle(elem, null);\n\n // https://github.com/kissyteam/kissy/issues/61\n if (computedStyle) {\n val = computedStyle.getPropertyValue(name) || computedStyle[name];\n }\n return val;\n}\nvar _RE_NUM_NO_PX = new RegExp(\"^(\".concat(RE_NUM, \")(?!px)[a-z%]+$\"), 'i');\nvar RE_POS = /^(top|right|bottom|left)$/;\nvar CURRENT_STYLE = 'currentStyle';\nvar RUNTIME_STYLE = 'runtimeStyle';\nvar LEFT = 'left';\nvar PX = 'px';\nfunction _getComputedStyleIE(elem, name) {\n // currentStyle maybe null\n // http://msdn.microsoft.com/en-us/library/ms535231.aspx\n var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];\n\n // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值\n // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19\n // 在 ie 下不对,需要直接用 offset 方式\n // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了\n\n // From the awesome hack by Dean Edwards\n // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n // If we're not dealing with a regular pixel number\n // but a number that has a weird ending, we need to convert it to pixels\n // exclude left right for relativity\n if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {\n // Remember the original values\n var style = elem.style;\n var left = style[LEFT];\n var rsLeft = elem[RUNTIME_STYLE][LEFT];\n\n // prevent flashing of content\n elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];\n\n // Put in the new values to get a computed value out\n style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;\n ret = style.pixelLeft + PX;\n\n // Revert the changed values\n style[LEFT] = left;\n elem[RUNTIME_STYLE][LEFT] = rsLeft;\n }\n return ret === '' ? 'auto' : ret;\n}\nif (typeof window !== 'undefined') {\n getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;\n}\nfunction getOffsetDirection(dir, option) {\n if (dir === 'left') {\n return option.useCssRight ? 'right' : dir;\n }\n return option.useCssBottom ? 'bottom' : dir;\n}\nfunction oppositeOffsetDirection(dir) {\n if (dir === 'left') {\n return 'right';\n } else if (dir === 'right') {\n return 'left';\n } else if (dir === 'top') {\n return 'bottom';\n } else if (dir === 'bottom') {\n return 'top';\n }\n}\n\n// 设置 elem 相对 elem.ownerDocument 的坐标\nfunction setLeftTop(elem, offset, option) {\n // set position first, in-case top/left are set even on static elem\n if (css(elem, 'position') === 'static') {\n elem.style.position = 'relative';\n }\n var presetH = -999;\n var presetV = -999;\n var horizontalProperty = getOffsetDirection('left', option);\n var verticalProperty = getOffsetDirection('top', option);\n var oppositeHorizontalProperty = oppositeOffsetDirection(horizontalProperty);\n var oppositeVerticalProperty = oppositeOffsetDirection(verticalProperty);\n if (horizontalProperty !== 'left') {\n presetH = 999;\n }\n if (verticalProperty !== 'top') {\n presetV = 999;\n }\n var originalTransition = '';\n var originalOffset = getOffset(elem);\n if ('left' in offset || 'top' in offset) {\n originalTransition = getTransitionProperty(elem) || '';\n setTransitionProperty(elem, 'none');\n }\n if ('left' in offset) {\n elem.style[oppositeHorizontalProperty] = '';\n elem.style[horizontalProperty] = \"\".concat(presetH, \"px\");\n }\n if ('top' in offset) {\n elem.style[oppositeVerticalProperty] = '';\n elem.style[verticalProperty] = \"\".concat(presetV, \"px\");\n }\n // force relayout\n forceRelayout(elem);\n var old = getOffset(elem);\n var originalStyle = {};\n for (var key in offset) {\n if (offset.hasOwnProperty(key)) {\n var dir = getOffsetDirection(key, option);\n var preset = key === 'left' ? presetH : presetV;\n var off = originalOffset[key] - old[key];\n if (dir === key) {\n originalStyle[dir] = preset + off;\n } else {\n originalStyle[dir] = preset - off;\n }\n }\n }\n css(elem, originalStyle);\n // force relayout\n forceRelayout(elem);\n if ('left' in offset || 'top' in offset) {\n setTransitionProperty(elem, originalTransition);\n }\n var ret = {};\n for (var _key in offset) {\n if (offset.hasOwnProperty(_key)) {\n var _dir = getOffsetDirection(_key, option);\n var _off = offset[_key] - originalOffset[_key];\n if (_key === _dir) {\n ret[_dir] = originalStyle[_dir] + _off;\n } else {\n ret[_dir] = originalStyle[_dir] - _off;\n }\n }\n }\n css(elem, ret);\n}\nfunction setTransform$1(elem, offset) {\n var originalOffset = getOffset(elem);\n var originalXY = getTransformXY(elem);\n var resultXY = {\n x: originalXY.x,\n y: originalXY.y\n };\n if ('left' in offset) {\n resultXY.x = originalXY.x + offset.left - originalOffset.left;\n }\n if ('top' in offset) {\n resultXY.y = originalXY.y + offset.top - originalOffset.top;\n }\n setTransformXY(elem, resultXY);\n}\nfunction setOffset(elem, offset, option) {\n if (option.ignoreShake) {\n var oriOffset = getOffset(elem);\n var oLeft = oriOffset.left.toFixed(0);\n var oTop = oriOffset.top.toFixed(0);\n var tLeft = offset.left.toFixed(0);\n var tTop = offset.top.toFixed(0);\n if (oLeft === tLeft && oTop === tTop) {\n return;\n }\n }\n if (option.useCssRight || option.useCssBottom) {\n setLeftTop(elem, offset, option);\n } else if (option.useCssTransform && getTransformName() in document.body.style) {\n setTransform$1(elem, offset);\n } else {\n setLeftTop(elem, offset, option);\n }\n}\nfunction each(arr, fn) {\n for (var i = 0; i < arr.length; i++) {\n fn(arr[i]);\n }\n}\nfunction isBorderBoxFn(elem) {\n return getComputedStyleX(elem, 'boxSizing') === 'border-box';\n}\nvar BOX_MODELS = ['margin', 'border', 'padding'];\nvar CONTENT_INDEX = -1;\nvar PADDING_INDEX = 2;\nvar BORDER_INDEX = 1;\nvar MARGIN_INDEX = 0;\nfunction swap(elem, options, callback) {\n var old = {};\n var style = elem.style;\n var name;\n\n // Remember the old values, and insert the new ones\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n old[name] = style[name];\n style[name] = options[name];\n }\n }\n callback.call(elem);\n\n // Revert the old values\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n style[name] = old[name];\n }\n }\n}\nfunction getPBMWidth(elem, props, which) {\n var value = 0;\n var prop;\n var j;\n var i;\n for (j = 0; j < props.length; j++) {\n prop = props[j];\n if (prop) {\n for (i = 0; i < which.length; i++) {\n var cssProp = void 0;\n if (prop === 'border') {\n cssProp = \"\".concat(prop).concat(which[i], \"Width\");\n } else {\n cssProp = prop + which[i];\n }\n value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;\n }\n }\n }\n return value;\n}\nvar domUtils = {\n getParent: function getParent(element) {\n var parent = element;\n do {\n if (parent.nodeType === 11 && parent.host) {\n parent = parent.host;\n } else {\n parent = parent.parentNode;\n }\n } while (parent && parent.nodeType !== 1 && parent.nodeType !== 9);\n return parent;\n }\n};\neach(['Width', 'Height'], function (name) {\n domUtils[\"doc\".concat(name)] = function (refWin) {\n var d = refWin.document;\n return Math.max(\n // firefox chrome documentElement.scrollHeight< body.scrollHeight\n // ie standard mode : documentElement.scrollHeight> body.scrollHeight\n d.documentElement[\"scroll\".concat(name)],\n // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?\n d.body[\"scroll\".concat(name)], domUtils[\"viewport\".concat(name)](d));\n };\n domUtils[\"viewport\".concat(name)] = function (win) {\n // pc browser includes scrollbar in window.innerWidth\n var prop = \"client\".concat(name);\n var doc = win.document;\n var body = doc.body;\n var documentElement = doc.documentElement;\n var documentElementProp = documentElement[prop];\n // 标准模式取 documentElement\n // backcompat 取 body\n return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;\n };\n});\n\n/*\n 得到元素的大小信息\n @param elem\n @param name\n @param {String} [extra] 'padding' : (css width) + padding\n 'border' : (css width) + padding + border\n 'margin' : (css width) + padding + border + margin\n */\nfunction getWH(elem, name, ex) {\n var extra = ex;\n if (isWindow(elem)) {\n return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);\n } else if (elem.nodeType === 9) {\n return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);\n }\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n var borderBoxValue = name === 'width' ? Math.floor(elem.getBoundingClientRect().width) : Math.floor(elem.getBoundingClientRect().height);\n var isBorderBox = isBorderBoxFn(elem);\n var cssBoxValue = 0;\n if (borderBoxValue === null || borderBoxValue === undefined || borderBoxValue <= 0) {\n borderBoxValue = undefined;\n // Fall back to computed then un computed css if necessary\n cssBoxValue = getComputedStyleX(elem, name);\n if (cssBoxValue === null || cssBoxValue === undefined || Number(cssBoxValue) < 0) {\n cssBoxValue = elem.style[name] || 0;\n }\n // Normalize '', auto, and prepare for extra\n cssBoxValue = Math.floor(parseFloat(cssBoxValue)) || 0;\n }\n if (extra === undefined) {\n extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;\n }\n var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;\n var val = borderBoxValue || cssBoxValue;\n if (extra === CONTENT_INDEX) {\n if (borderBoxValueOrIsBorderBox) {\n return val - getPBMWidth(elem, ['border', 'padding'], which);\n }\n return cssBoxValue;\n } else if (borderBoxValueOrIsBorderBox) {\n if (extra === BORDER_INDEX) {\n return val;\n }\n return val + (extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which) : getPBMWidth(elem, ['margin'], which));\n }\n return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which);\n}\nvar cssShow = {\n position: 'absolute',\n visibility: 'hidden',\n display: 'block'\n};\n\n// fix #119 : https://github.com/kissyteam/kissy/issues/119\nfunction getWHIgnoreDisplay() {\n for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n var val;\n var elem = args[0];\n // in case elem is window\n // elem.offsetWidth === undefined\n if (elem.offsetWidth !== 0) {\n val = getWH.apply(undefined, args);\n } else {\n swap(elem, cssShow, function () {\n val = getWH.apply(undefined, args);\n });\n }\n return val;\n}\neach(['width', 'height'], function (name) {\n var first = name.charAt(0).toUpperCase() + name.slice(1);\n domUtils[\"outer\".concat(first)] = function (el, includeMargin) {\n return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);\n };\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n domUtils[name] = function (elem, v) {\n var val = v;\n if (val !== undefined) {\n if (elem) {\n var isBorderBox = isBorderBoxFn(elem);\n if (isBorderBox) {\n val += getPBMWidth(elem, ['padding', 'border'], which);\n }\n return css(elem, name, val);\n }\n return undefined;\n }\n return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);\n };\n});\nfunction mix(to, from) {\n for (var i in from) {\n if (from.hasOwnProperty(i)) {\n to[i] = from[i];\n }\n }\n return to;\n}\nvar utils = {\n getWindow: function getWindow(node) {\n if (node && node.document && node.setTimeout) {\n return node;\n }\n var doc = node.ownerDocument || node;\n return doc.defaultView || doc.parentWindow;\n },\n getDocument: getDocument,\n offset: function offset(el, value, option) {\n if (typeof value !== 'undefined') {\n setOffset(el, value, option || {});\n } else {\n return getOffset(el);\n }\n },\n isWindow: isWindow,\n each: each,\n css: css,\n clone: function clone(obj) {\n var i;\n var ret = {};\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret[i] = obj[i];\n }\n }\n var overflow = obj.overflow;\n if (overflow) {\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret.overflow[i] = obj.overflow[i];\n }\n }\n }\n return ret;\n },\n mix: mix,\n getWindowScrollLeft: function getWindowScrollLeft(w) {\n return getScrollLeft(w);\n },\n getWindowScrollTop: function getWindowScrollTop(w) {\n return getScrollTop(w);\n },\n merge: function merge() {\n var ret = {};\n for (var i = 0; i < arguments.length; i++) {\n utils.mix(ret, i < 0 || arguments.length <= i ? undefined : arguments[i]);\n }\n return ret;\n },\n viewportWidth: 0,\n viewportHeight: 0\n};\nmix(utils, domUtils);\n\n/**\n * 得到会导致元素显示不全的祖先元素\n */\nvar getParent = utils.getParent;\nfunction getOffsetParent(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return null;\n }\n // ie 这个也不是完全可行\n /*\n <div style=\"width: 50px;height: 100px;overflow: hidden\">\n <div style=\"width: 50px;height: 100px;position: relative;\" id=\"d6\">\n 元素 6 高 100px 宽 50px<br/>\n </div>\n </div>\n */\n // element.offsetParent does the right thing in ie7 and below. Return parent with layout!\n // In other browsers it only includes elements with position absolute, relative or\n // fixed, not elements with overflow set to auto or scroll.\n // if (UA.ie && ieMode < 8) {\n // return element.offsetParent;\n // }\n // 统一的 offsetParent 方法\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent;\n var positionStyle = utils.css(element, 'position');\n var skipStatic = positionStyle === 'fixed' || positionStyle === 'absolute';\n if (!skipStatic) {\n return element.nodeName.toLowerCase() === 'html' ? null : getParent(element);\n }\n for (parent = getParent(element); parent && parent !== body && parent.nodeType !== 9; parent = getParent(parent)) {\n positionStyle = utils.css(parent, 'position');\n if (positionStyle !== 'static') {\n return parent;\n }\n }\n return null;\n}\n\nvar getParent$1 = utils.getParent;\nfunction isAncestorFixed(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return false;\n }\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent = null;\n for (parent = getParent$1(element);\n // 修复元素位于 document.documentElement 下导致崩溃问题\n parent && parent !== body && parent !== doc; parent = getParent$1(parent)) {\n var positionStyle = utils.css(parent, 'position');\n if (positionStyle === 'fixed') {\n return true;\n }\n }\n return false;\n}\n\n/**\n * 获得元素的显示部分的区域\n */\nfunction getVisibleRectForElement(element, alwaysByViewport) {\n var visibleRect = {\n left: 0,\n right: Infinity,\n top: 0,\n bottom: Infinity\n };\n var el = getOffsetParent(element);\n var doc = utils.getDocument(element);\n var win = doc.defaultView || doc.parentWindow;\n var body = doc.body;\n var documentElement = doc.documentElement;\n\n // Determine the size of the visible rect by climbing the dom accounting for\n // all scrollable containers.\n while (el) {\n // clientWidth is zero for inline block elements in ie.\n if ((navigator.userAgent.indexOf('MSIE') === -1 || el.clientWidth !== 0) &&\n // body may have overflow set on it, yet we still get the entire\n // viewport. In some browsers, el.offsetParent may be\n // document.documentElement, so check for that too.\n el !== body && el !== documentElement && utils.css(el, 'overflow') !== 'visible') {\n var pos = utils.offset(el);\n // add border\n pos.left += el.clientLeft;\n pos.top += el.clientTop;\n visibleRect.top = Math.max(visibleRect.top, pos.top);\n visibleRect.right = Math.min(visibleRect.right,\n // consider area without scrollBar\n pos.left + el.clientWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, pos.top + el.clientHeight);\n visibleRect.left = Math.max(visibleRect.left, pos.left);\n } else if (el === body || el === documentElement) {\n break;\n }\n el = getOffsetParent(el);\n }\n\n // Set element position to fixed\n // make sure absolute element itself don't affect it's visible area\n // https://github.com/ant-design/ant-design/issues/7601\n var originalPosition = null;\n if (!utils.isWindow(element) && element.nodeType !== 9) {\n originalPosition = element.style.position;\n var position = utils.css(element, 'position');\n if (position === 'absolute') {\n element.style.position = 'fixed';\n }\n }\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n var documentWidth = documentElement.scrollWidth;\n var documentHeight = documentElement.scrollHeight;\n\n // scrollXXX on html is sync with body which means overflow: hidden on body gets wrong scrollXXX.\n // We should cut this ourself.\n var bodyStyle = window.getComputedStyle(body);\n if (bodyStyle.overflowX === 'hidden') {\n documentWidth = win.innerWidth;\n }\n if (bodyStyle.overflowY === 'hidden') {\n documentHeight = win.innerHeight;\n }\n\n // Reset element position after calculate the visible area\n if (element.style) {\n element.style.position = originalPosition;\n }\n if (alwaysByViewport || isAncestorFixed(element)) {\n // Clip by viewport's size.\n visibleRect.left = Math.max(visibleRect.left, scrollX);\n visibleRect.top = Math.max(visibleRect.top, scrollY);\n visibleRect.right = Math.min(visibleRect.right, scrollX + viewportWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, scrollY + viewportHeight);\n } else {\n // Clip by document's size.\n var maxVisibleWidth = Math.max(documentWidth, scrollX + viewportWidth);\n visibleRect.right = Math.min(visibleRect.right, maxVisibleWidth);\n var maxVisibleHeight = Math.max(documentHeight, scrollY + viewportHeight);\n visibleRect.bottom = Math.min(visibleRect.bottom, maxVisibleHeight);\n }\n return visibleRect.top >= 0 && visibleRect.left >= 0 && visibleRect.bottom > visibleRect.top && visibleRect.right > visibleRect.left ? visibleRect : null;\n}\n\nfunction adjustForViewport(elFuturePos, elRegion, visibleRect, overflow) {\n var pos = utils.clone(elFuturePos);\n var size = {\n width: elRegion.width,\n height: elRegion.height\n };\n if (overflow.adjustX && pos.left < visibleRect.left) {\n pos.left = visibleRect.left;\n }\n\n // Left edge inside and right edge outside viewport, try to resize it.\n if (overflow.resizeWidth && pos.left >= visibleRect.left && pos.left + size.width > visibleRect.right) {\n size.width -= pos.left + size.width - visibleRect.right;\n }\n\n // Right edge outside viewport, try to move it.\n if (overflow.adjustX && pos.left + size.width > visibleRect.right) {\n // 保证左边界和可视区域左边界对齐\n pos.left = Math.max(visibleRect.right - size.width, visibleRect.left);\n }\n\n // Top edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top < visibleRect.top) {\n pos.top = visibleRect.top;\n }\n\n // Top edge inside and bottom edge outside viewport, try to resize it.\n if (overflow.resizeHeight && pos.top >= visibleRect.top && pos.top + size.height > visibleRect.bottom) {\n size.height -= pos.top + size.height - visibleRect.bottom;\n }\n\n // Bottom edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top + size.height > visibleRect.bottom) {\n // 保证上边界和可视区域上边界对齐\n pos.top = Math.max(visibleRect.bottom - size.height, visibleRect.top);\n }\n return utils.mix(pos, size);\n}\n\nfunction getRegion(node) {\n var offset;\n var w;\n var h;\n if (!utils.isWindow(node) && node.nodeType !== 9) {\n offset = utils.offset(node);\n w = utils.outerWidth(node);\n h = utils.outerHeight(node);\n } else {\n var win = utils.getWindow(node);\n offset = {\n left: utils.getWindowScrollLeft(win),\n top: utils.getWindowScrollTop(win)\n };\n w = utils.viewportWidth(win);\n h = utils.viewportHeight(win);\n }\n offset.width = w;\n offset.height = h;\n return offset;\n}\n\n/**\n * 获取 node 上的 align 对齐点 相对于页面的坐标\n */\n\nfunction getAlignOffset(region, align) {\n var V = align.charAt(0);\n var H = align.charAt(1);\n var w = region.width;\n var h = region.height;\n var x = region.left;\n var y = region.top;\n if (V === 'c') {\n y += h / 2;\n } else if (V === 'b') {\n y += h;\n }\n if (H === 'c') {\n x += w / 2;\n } else if (H === 'r') {\n x += w;\n }\n return {\n left: x,\n top: y\n };\n}\n\nfunction getElFuturePos(elRegion, refNodeRegion, points, offset, targetOffset) {\n var p1 = getAlignOffset(refNodeRegion, points[1]);\n var p2 = getAlignOffset(elRegion, points[0]);\n var diff = [p2.left - p1.left, p2.top - p1.top];\n return {\n left: Math.round(elRegion.left - diff[0] + offset[0] - targetOffset[0]),\n top: Math.round(elRegion.top - diff[1] + offset[1] - targetOffset[1])\n };\n}\n\n/**\n * align dom node flexibly\n * @author yiminghe@gmail.com\n */\n\n// http://yiminghe.iteye.com/blog/1124720\n\nfunction isFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left < visibleRect.left || elFuturePos.left + elRegion.width > visibleRect.right;\n}\nfunction isFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top < visibleRect.top || elFuturePos.top + elRegion.height > visibleRect.bottom;\n}\nfunction isCompleteFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left > visibleRect.right || elFuturePos.left + elRegion.width < visibleRect.left;\n}\nfunction isCompleteFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top > visibleRect.bottom || elFuturePos.top + elRegion.height < visibleRect.top;\n}\nfunction flip(points, reg, map) {\n var ret = [];\n utils.each(points, function (p) {\n ret.push(p.replace(reg, function (m) {\n return map[m];\n }));\n });\n return ret;\n}\nfunction flipOffset(offset, index) {\n offset[index] = -offset[index];\n return offset;\n}\nfunction convertOffset(str, offsetLen) {\n var n;\n if (/%$/.test(str)) {\n n = parseInt(str.substring(0, str.length - 1), 10) / 100 * offsetLen;\n } else {\n n = parseInt(str, 10);\n }\n return n || 0;\n}\nfunction normalizeOffset(offset, el) {\n offset[0] = convertOffset(offset[0], el.width);\n offset[1] = convertOffset(offset[1], el.height);\n}\n\n/**\n * @param el\n * @param tgtRegion 参照节点所占的区域: { left, top, width, height }\n * @param align\n */\nfunction doAlign(el, tgtRegion, align, isTgtRegionVisible) {\n var points = align.points;\n var offset = align.offset || [0, 0];\n var targetOffset = align.targetOffset || [0, 0];\n var overflow = align.overflow;\n var source = align.source || el;\n offset = [].concat(offset);\n targetOffset = [].concat(targetOffset);\n overflow = overflow || {};\n var newOverflowCfg = {};\n var fail = 0;\n var alwaysByViewport = !!(overflow && overflow.alwaysByViewport);\n // 当前节点可以被放置的显示区域\n var visibleRect = getVisibleRectForElement(source, alwaysByViewport);\n // 当前节点所占的区域, left/top/width/height\n var elRegion = getRegion(source);\n // 将 offset 转换成数值,支持百分比\n normalizeOffset(offset, elRegion);\n normalizeOffset(targetOffset, tgtRegion);\n // 当前节点将要被放置的位置\n var elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);\n // 当前节点将要所处的区域\n var newElRegion = utils.merge(elRegion, elFuturePos);\n\n // 如果可视区域不能完全放置当前节点时允许调整\n if (visibleRect && (overflow.adjustX || overflow.adjustY) && isTgtRegionVisible) {\n if (overflow.adjustX) {\n // 如果横向不能放下\n if (isFailX(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var newPoints = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n });\n // 偏移量也反下\n var newOffset = flipOffset(offset, 0);\n var newTargetOffset = flipOffset(targetOffset, 0);\n var newElFuturePos = getElFuturePos(elRegion, tgtRegion, newPoints, newOffset, newTargetOffset);\n if (!isCompleteFailX(newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = newPoints;\n offset = newOffset;\n targetOffset = newTargetOffset;\n }\n }\n }\n if (overflow.adjustY) {\n // 如果纵向不能放下\n if (isFailY(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var _newPoints = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n });\n // 偏移量也反下\n var _newOffset = flipOffset(offset, 1);\n var _newTargetOffset = flipOffset(targetOffset, 1);\n var _newElFuturePos = getElFuturePos(elRegion, tgtRegion, _newPoints, _newOffset, _newTargetOffset);\n if (!isCompleteFailY(_newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = _newPoints;\n offset = _newOffset;\n targetOffset = _newTargetOffset;\n }\n }\n }\n\n // 如果失败,重新计算当前节点将要被放置的位置\n if (fail) {\n elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);\n utils.mix(newElRegion, elFuturePos);\n }\n var isStillFailX = isFailX(elFuturePos, elRegion, visibleRect);\n var isStillFailY = isFailY(elFuturePos, elRegion, visibleRect);\n // 检查反下后的位置是否可以放下了,如果仍然放不下:\n // 1. 复原修改过的定位参数\n if (isStillFailX || isStillFailY) {\n var _newPoints2 = points;\n\n // 重置对应部分的翻转逻辑\n if (isStillFailX) {\n _newPoints2 = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n });\n }\n if (isStillFailY) {\n _newPoints2 = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n });\n }\n points = _newPoints2;\n offset = align.offset || [0, 0];\n targetOffset = align.targetOffset || [0, 0];\n }\n // 2. 只有指定了可以调整当前方向才调整\n newOverflowCfg.adjustX = overflow.adjustX && isStillFailX;\n newOverflowCfg.adjustY = overflow.adjustY && isStillFailY;\n\n // 确实要调整,甚至可能会调整高度宽度\n if (newOverflowCfg.adjustX || newOverflowCfg.adjustY) {\n newElRegion = adjustForViewport(elFuturePos, elRegion, visibleRect, newOverflowCfg);\n }\n }\n\n // need judge to in case set fixed with in css on height auto element\n if (newElRegion.width !== elRegion.width) {\n utils.css(source, 'width', utils.width(source) + newElRegion.width - elRegion.width);\n }\n if (newElRegion.height !== elRegion.height) {\n utils.css(source, 'height', utils.height(source) + newElRegion.height - elRegion.height);\n }\n\n // https://github.com/kissyteam/kissy/issues/190\n // 相对于屏幕位置没变,而 left/top 变了\n // 例如 <div 'relative'><el absolute></div>\n utils.offset(source, {\n left: newElRegion.left,\n top: newElRegion.top\n }, {\n useCssRight: align.useCssRight,\n useCssBottom: align.useCssBottom,\n useCssTransform: align.useCssTransform,\n ignoreShake: align.ignoreShake\n });\n return {\n points: points,\n offset: offset,\n targetOffset: targetOffset,\n overflow: newOverflowCfg\n };\n}\n/**\n * 2012-04-26 yiminghe@gmail.com\n * - 优化智能对齐算法\n * - 慎用 resizeXX\n *\n * 2011-07-13 yiminghe@gmail.com note:\n * - 增加智能对齐,以及大小调整选项\n **/\n\nfunction isOutOfVisibleRect(target, alwaysByViewport) {\n var visibleRect = getVisibleRectForElement(target, alwaysByViewport);\n var targetRegion = getRegion(target);\n return !visibleRect || targetRegion.left + targetRegion.width <= visibleRect.left || targetRegion.top + targetRegion.height <= visibleRect.top || targetRegion.left >= visibleRect.right || targetRegion.top >= visibleRect.bottom;\n}\nfunction alignElement(el, refNode, align) {\n var target = align.target || refNode;\n var refNodeRegion = getRegion(target);\n var isTargetNotOutOfVisible = !isOutOfVisibleRect(target, align.overflow && align.overflow.alwaysByViewport);\n return doAlign(el, refNodeRegion, align, isTargetNotOutOfVisible);\n}\nalignElement.__getOffsetParent = getOffsetParent;\nalignElement.__getVisibleRectForElement = getVisibleRectForElement;\n\n/**\n * `tgtPoint`: { pageX, pageY } or { clientX, clientY }.\n * If client position provided, will internal convert to page position.\n */\n\nfunction alignPoint(el, tgtPoint, align) {\n var pageX;\n var pageY;\n var doc = utils.getDocument(el);\n var win = doc.defaultView || doc.parentWindow;\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n if ('pageX' in tgtPoint) {\n pageX = tgtPoint.pageX;\n } else {\n pageX = scrollX + tgtPoint.clientX;\n }\n if ('pageY' in tgtPoint) {\n pageY = tgtPoint.pageY;\n } else {\n pageY = scrollY + tgtPoint.clientY;\n }\n var tgtRegion = {\n left: pageX,\n top: pageY,\n width: 0,\n height: 0\n };\n var pointInView = pageX >= 0 && pageX <= scrollX + viewportWidth && pageY >= 0 && pageY <= scrollY + viewportHeight;\n\n // Provide default target point\n var points = [align.points[0], 'cc'];\n return doAlign(el, tgtRegion, _objectSpread2(_objectSpread2({}, align), {}, {\n points: points\n }), pointInView);\n}\n\nexport default alignElement;\nexport { alignElement, alignPoint };\n//# sourceMappingURL=index.js.map\n"],"names":["ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread2","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_typeof","obj","Symbol","iterator","constructor","prototype","value","configurable","writable","vendorPrefix","jsCssMap","Webkit","Moz","ms","O","getVendorPrefix","undefined","style","document","createElement","getTransitionName","concat","getTransformName","setTransitionProperty","node","name","transitionProperty","setTransform","transform","getComputedStyleX","matrix2d","matrix3d","forceRelayout","elem","originalStyle","display","offsetHeight","css","el","v","hasOwnProperty","getScroll","w","top","ret","method","d","documentElement","body","getScrollLeft","getScrollTop","getOffset","pos","box","x","y","doc","ownerDocument","docElem","getBoundingClientRect","Math","floor","left","clientLeft","clientTop","getClientPosition","defaultView","parentWindow","isWindow","window","getDocument","nodeType","_RE_NUM_NO_PX","RegExp","RE_POS","CURRENT_STYLE","RUNTIME_STYLE","LEFT","getOffsetDirection","dir","option","useCssRight","useCssBottom","oppositeOffsetDirection","setLeftTop","offset","position","presetH","presetV","horizontalProperty","verticalProperty","oppositeHorizontalProperty","oppositeVerticalProperty","originalTransition","originalOffset","old","preset","off","_key","_dir","_off","setTransform$1","originalXY","getComputedStyle","getPropertyValue","matrix","replace","split","parseFloat","getTransformXY","resultXY","xy","arr","match2d","match","map","item","join","setTransformXY","each","fn","isBorderBoxFn","cs","computedStyle","val","test","rsLeft","pixelLeft","BOX_MODELS","CONTENT_INDEX","PADDING_INDEX","BORDER_INDEX","getPBMWidth","props","which","prop","j","cssProp","domUtils","getParent","element","parent","host","parentNode","getWH","ex","extra","viewportWidth","viewportHeight","docWidth","docHeight","borderBoxValue","width","height","isBorderBox","cssBoxValue","Number","borderBoxValueOrIsBorderBox","slice","refWin","max","win","documentElementProp","compatMode","cssShow","visibility","getWHIgnoreDisplay","_len","args","Array","_key2","offsetWidth","options","callback","call","swap","mix","to","from","first","charAt","toUpperCase","includeMargin","utils","getWindow","setTimeout","ignoreShake","oriOffset","oLeft","toFixed","oTop","tLeft","tTop","useCssTransform","setOffset","clone","overflow","getWindowScrollLeft","getWindowScrollTop","merge","getOffsetParent","positionStyle","nodeName","toLowerCase","getParent$1","getVisibleRectForElement","alwaysByViewport","visibleRect","right","Infinity","bottom","navigator","userAgent","indexOf","clientWidth","min","clientHeight","originalPosition","scrollX","scrollY","documentWidth","scrollWidth","documentHeight","scrollHeight","bodyStyle","overflowX","innerWidth","overflowY","innerHeight","isAncestorFixed","maxVisibleWidth","maxVisibleHeight","getRegion","h","outerWidth","outerHeight","getAlignOffset","region","align","V","H","getElFuturePos","elRegion","refNodeRegion","points","targetOffset","p1","p2","diff","round","isFailX","elFuturePos","isFailY","flip","reg","p","m","flipOffset","index","convertOffset","str","offsetLen","parseInt","substring","normalizeOffset","doAlign","tgtRegion","isTgtRegionVisible","newOverflowCfg","fail","newElRegion","adjustX","adjustY","newPoints","l","r","newOffset","newTargetOffset","isCompleteFailX","_newPoints","t","b","_newOffset","_newTargetOffset","isCompleteFailY","isStillFailX","isStillFailY","_newPoints2","size","resizeWidth","resizeHeight","adjustForViewport","alignElement","refNode","isTargetNotOutOfVisible","targetRegion","isOutOfVisibleRect","__getOffsetParent","__getVisibleRectForElement","tgtPoint","pageX","page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GACnCd,EAAgBoC,EAAMpC,cAAcc,GACpCb,EAAiBmC,EAAMnC,eAAea,GAWtCyG,EAAY,CACd5M,KAVA8O,EADE,UAAWD,EACLA,EAASC,MAETlF,EAAUiF,EAASG,QAS3BnQ,IANAkQ,EADE,UAAWF,EACLA,EAASE,MAETlF,EAAUgF,EAASI,QAK3BvJ,MAAO,EACPC,OAAQ,GAENuJ,EAAcJ,GAAS,GAAKA,GAASlF,EAAUvE,GAAiB0J,GAAS,GAAKA,GAASlF,EAAUvE,EAGjGgG,EAAS,CAACN,EAAMM,OAAO,GAAI,MAC/B,OAAOqB,GAAQnO,EAAIoO,EAAWtR,EAAeA,EAAe,CAAE,EAAE0P,GAAQ,GAAI,CAC1EM,OAAQA,IACN4D,EACN","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/dom-align/dist-web/index.js"],"sourcesContent":["function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nvar vendorPrefix;\nvar jsCssMap = {\n Webkit: '-webkit-',\n Moz: '-moz-',\n // IE did it wrong again ...\n ms: '-ms-',\n O: '-o-'\n};\nfunction getVendorPrefix() {\n if (vendorPrefix !== undefined) {\n return vendorPrefix;\n }\n vendorPrefix = '';\n var style = document.createElement('p').style;\n var testProp = 'Transform';\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n vendorPrefix = key;\n }\n }\n return vendorPrefix;\n}\nfunction getTransitionName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"TransitionProperty\") : 'transitionProperty';\n}\nfunction getTransformName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"Transform\") : 'transform';\n}\nfunction setTransitionProperty(node, value) {\n var name = getTransitionName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transitionProperty') {\n node.style.transitionProperty = value;\n }\n }\n}\nfunction setTransform(node, value) {\n var name = getTransformName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transform') {\n node.style.transform = value;\n }\n }\n}\nfunction getTransitionProperty(node) {\n return node.style.transitionProperty || node.style[getTransitionName()];\n}\nfunction getTransformXY(node) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var matrix = transform.replace(/[^0-9\\-.,]/g, '').split(',');\n return {\n x: parseFloat(matrix[12] || matrix[4], 0),\n y: parseFloat(matrix[13] || matrix[5], 0)\n };\n }\n return {\n x: 0,\n y: 0\n };\n}\nvar matrix2d = /matrix\\((.*)\\)/;\nvar matrix3d = /matrix3d\\((.*)\\)/;\nfunction setTransformXY(node, xy) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var arr;\n var match2d = transform.match(matrix2d);\n if (match2d) {\n match2d = match2d[1];\n arr = match2d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[4] = xy.x;\n arr[5] = xy.y;\n setTransform(node, \"matrix(\".concat(arr.join(','), \")\"));\n } else {\n var match3d = transform.match(matrix3d)[1];\n arr = match3d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[12] = xy.x;\n arr[13] = xy.y;\n setTransform(node, \"matrix3d(\".concat(arr.join(','), \")\"));\n }\n } else {\n setTransform(node, \"translateX(\".concat(xy.x, \"px) translateY(\").concat(xy.y, \"px) translateZ(0)\"));\n }\n}\n\nvar RE_NUM = /[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;\nvar getComputedStyleX;\n\n// https://stackoverflow.com/a/3485654/3040605\nfunction forceRelayout(elem) {\n var originalStyle = elem.style.display;\n elem.style.display = 'none';\n elem.offsetHeight; // eslint-disable-line\n elem.style.display = originalStyle;\n}\nfunction css(el, name, v) {\n var value = v;\n if (_typeof(name) === 'object') {\n for (var i in name) {\n if (name.hasOwnProperty(i)) {\n css(el, i, name[i]);\n }\n }\n return undefined;\n }\n if (typeof value !== 'undefined') {\n if (typeof value === 'number') {\n value = \"\".concat(value, \"px\");\n }\n el.style[name] = value;\n return undefined;\n }\n return getComputedStyleX(el, name);\n}\nfunction getClientPosition(elem) {\n var box;\n var x;\n var y;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement;\n // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式\n box = elem.getBoundingClientRect();\n\n // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop\n // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确\n // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin\n\n x = Math.floor(box.left);\n y = Math.floor(box.top);\n\n // In IE, most of the time, 2 extra pixels are added to the top and left\n // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and\n // IE6 standards mode, this border can be overridden by setting the\n // document element's border to zero -- thus, we cannot rely on the\n // offset always being 2 pixels.\n\n // In quirks mode, the offset can be determined by querying the body's\n // clientLeft/clientTop, but in standards mode, it is found by querying\n // the document element's clientLeft/clientTop. Since we already called\n // getClientBoundingRect we have already forced a reflow, so it is not\n // too expensive just to query them all.\n\n // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的\n // 窗口边框标准是设 documentElement ,quirks 时设置 body\n // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去\n // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置\n // 标准 ie 下 docElem.clientTop 就是 border-top\n // ie7 html 即窗口边框改变不了。永远为 2\n // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0\n\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n return {\n left: x,\n top: y\n };\n}\nfunction getScroll(w, top) {\n var ret = w[\"page\".concat(top ? 'Y' : 'X', \"Offset\")];\n var method = \"scroll\".concat(top ? 'Top' : 'Left');\n if (typeof ret !== 'number') {\n var d = w.document;\n // ie6,7,8 standard mode\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n // quirks mode\n ret = d.body[method];\n }\n }\n return ret;\n}\nfunction getScrollLeft(w) {\n return getScroll(w);\n}\nfunction getScrollTop(w) {\n return getScroll(w, true);\n}\nfunction getOffset(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScrollLeft(w);\n pos.top += getScrollTop(w);\n return pos;\n}\n\n/**\n * A crude way of determining if an object is a window\n * @member util\n */\nfunction isWindow(obj) {\n // must use == for ie8\n /* eslint eqeqeq:0 */\n return obj !== null && obj !== undefined && obj == obj.window;\n}\nfunction getDocument(node) {\n if (isWindow(node)) {\n return node.document;\n }\n if (node.nodeType === 9) {\n return node;\n }\n return node.ownerDocument;\n}\nfunction _getComputedStyle(elem, name, cs) {\n var computedStyle = cs;\n var val = '';\n var d = getDocument(elem);\n computedStyle = computedStyle || d.defaultView.getComputedStyle(elem, null);\n\n // https://github.com/kissyteam/kissy/issues/61\n if (computedStyle) {\n val = computedStyle.getPropertyValue(name) || computedStyle[name];\n }\n return val;\n}\nvar _RE_NUM_NO_PX = new RegExp(\"^(\".concat(RE_NUM, \")(?!px)[a-z%]+$\"), 'i');\nvar RE_POS = /^(top|right|bottom|left)$/;\nvar CURRENT_STYLE = 'currentStyle';\nvar RUNTIME_STYLE = 'runtimeStyle';\nvar LEFT = 'left';\nvar PX = 'px';\nfunction _getComputedStyleIE(elem, name) {\n // currentStyle maybe null\n // http://msdn.microsoft.com/en-us/library/ms535231.aspx\n var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];\n\n // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值\n // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19\n // 在 ie 下不对,需要直接用 offset 方式\n // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了\n\n // From the awesome hack by Dean Edwards\n // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n // If we're not dealing with a regular pixel number\n // but a number that has a weird ending, we need to convert it to pixels\n // exclude left right for relativity\n if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {\n // Remember the original values\n var style = elem.style;\n var left = style[LEFT];\n var rsLeft = elem[RUNTIME_STYLE][LEFT];\n\n // prevent flashing of content\n elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];\n\n // Put in the new values to get a computed value out\n style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;\n ret = style.pixelLeft + PX;\n\n // Revert the changed values\n style[LEFT] = left;\n elem[RUNTIME_STYLE][LEFT] = rsLeft;\n }\n return ret === '' ? 'auto' : ret;\n}\nif (typeof window !== 'undefined') {\n getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;\n}\nfunction getOffsetDirection(dir, option) {\n if (dir === 'left') {\n return option.useCssRight ? 'right' : dir;\n }\n return option.useCssBottom ? 'bottom' : dir;\n}\nfunction oppositeOffsetDirection(dir) {\n if (dir === 'left') {\n return 'right';\n } else if (dir === 'right') {\n return 'left';\n } else if (dir === 'top') {\n return 'bottom';\n } else if (dir === 'bottom') {\n return 'top';\n }\n}\n\n// 设置 elem 相对 elem.ownerDocument 的坐标\nfunction setLeftTop(elem, offset, option) {\n // set position first, in-case top/left are set even on static elem\n if (css(elem, 'position') === 'static') {\n elem.style.position = 'relative';\n }\n var presetH = -999;\n var presetV = -999;\n var horizontalProperty = getOffsetDirection('left', option);\n var verticalProperty = getOffsetDirection('top', option);\n var oppositeHorizontalProperty = oppositeOffsetDirection(horizontalProperty);\n var oppositeVerticalProperty = oppositeOffsetDirection(verticalProperty);\n if (horizontalProperty !== 'left') {\n presetH = 999;\n }\n if (verticalProperty !== 'top') {\n presetV = 999;\n }\n var originalTransition = '';\n var originalOffset = getOffset(elem);\n if ('left' in offset || 'top' in offset) {\n originalTransition = getTransitionProperty(elem) || '';\n setTransitionProperty(elem, 'none');\n }\n if ('left' in offset) {\n elem.style[oppositeHorizontalProperty] = '';\n elem.style[horizontalProperty] = \"\".concat(presetH, \"px\");\n }\n if ('top' in offset) {\n elem.style[oppositeVerticalProperty] = '';\n elem.style[verticalProperty] = \"\".concat(presetV, \"px\");\n }\n // force relayout\n forceRelayout(elem);\n var old = getOffset(elem);\n var originalStyle = {};\n for (var key in offset) {\n if (offset.hasOwnProperty(key)) {\n var dir = getOffsetDirection(key, option);\n var preset = key === 'left' ? presetH : presetV;\n var off = originalOffset[key] - old[key];\n if (dir === key) {\n originalStyle[dir] = preset + off;\n } else {\n originalStyle[dir] = preset - off;\n }\n }\n }\n css(elem, originalStyle);\n // force relayout\n forceRelayout(elem);\n if ('left' in offset || 'top' in offset) {\n setTransitionProperty(elem, originalTransition);\n }\n var ret = {};\n for (var _key in offset) {\n if (offset.hasOwnProperty(_key)) {\n var _dir = getOffsetDirection(_key, option);\n var _off = offset[_key] - originalOffset[_key];\n if (_key === _dir) {\n ret[_dir] = originalStyle[_dir] + _off;\n } else {\n ret[_dir] = originalStyle[_dir] - _off;\n }\n }\n }\n css(elem, ret);\n}\nfunction setTransform$1(elem, offset) {\n var originalOffset = getOffset(elem);\n var originalXY = getTransformXY(elem);\n var resultXY = {\n x: originalXY.x,\n y: originalXY.y\n };\n if ('left' in offset) {\n resultXY.x = originalXY.x + offset.left - originalOffset.left;\n }\n if ('top' in offset) {\n resultXY.y = originalXY.y + offset.top - originalOffset.top;\n }\n setTransformXY(elem, resultXY);\n}\nfunction setOffset(elem, offset, option) {\n if (option.ignoreShake) {\n var oriOffset = getOffset(elem);\n var oLeft = oriOffset.left.toFixed(0);\n var oTop = oriOffset.top.toFixed(0);\n var tLeft = offset.left.toFixed(0);\n var tTop = offset.top.toFixed(0);\n if (oLeft === tLeft && oTop === tTop) {\n return;\n }\n }\n if (option.useCssRight || option.useCssBottom) {\n setLeftTop(elem, offset, option);\n } else if (option.useCssTransform && getTransformName() in document.body.style) {\n setTransform$1(elem, offset);\n } else {\n setLeftTop(elem, offset, option);\n }\n}\nfunction each(arr, fn) {\n for (var i = 0; i < arr.length; i++) {\n fn(arr[i]);\n }\n}\nfunction isBorderBoxFn(elem) {\n return getComputedStyleX(elem, 'boxSizing') === 'border-box';\n}\nvar BOX_MODELS = ['margin', 'border', 'padding'];\nvar CONTENT_INDEX = -1;\nvar PADDING_INDEX = 2;\nvar BORDER_INDEX = 1;\nvar MARGIN_INDEX = 0;\nfunction swap(elem, options, callback) {\n var old = {};\n var style = elem.style;\n var name;\n\n // Remember the old values, and insert the new ones\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n old[name] = style[name];\n style[name] = options[name];\n }\n }\n callback.call(elem);\n\n // Revert the old values\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n style[name] = old[name];\n }\n }\n}\nfunction getPBMWidth(elem, props, which) {\n var value = 0;\n var prop;\n var j;\n var i;\n for (j = 0; j < props.length; j++) {\n prop = props[j];\n if (prop) {\n for (i = 0; i < which.length; i++) {\n var cssProp = void 0;\n if (prop === 'border') {\n cssProp = \"\".concat(prop).concat(which[i], \"Width\");\n } else {\n cssProp = prop + which[i];\n }\n value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;\n }\n }\n }\n return value;\n}\nvar domUtils = {\n getParent: function getParent(element) {\n var parent = element;\n do {\n if (parent.nodeType === 11 && parent.host) {\n parent = parent.host;\n } else {\n parent = parent.parentNode;\n }\n } while (parent && parent.nodeType !== 1 && parent.nodeType !== 9);\n return parent;\n }\n};\neach(['Width', 'Height'], function (name) {\n domUtils[\"doc\".concat(name)] = function (refWin) {\n var d = refWin.document;\n return Math.max(\n // firefox chrome documentElement.scrollHeight< body.scrollHeight\n // ie standard mode : documentElement.scrollHeight> body.scrollHeight\n d.documentElement[\"scroll\".concat(name)],\n // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?\n d.body[\"scroll\".concat(name)], domUtils[\"viewport\".concat(name)](d));\n };\n domUtils[\"viewport\".concat(name)] = function (win) {\n // pc browser includes scrollbar in window.innerWidth\n var prop = \"client\".concat(name);\n var doc = win.document;\n var body = doc.body;\n var documentElement = doc.documentElement;\n var documentElementProp = documentElement[prop];\n // 标准模式取 documentElement\n // backcompat 取 body\n return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;\n };\n});\n\n/*\n 得到元素的大小信息\n @param elem\n @param name\n @param {String} [extra] 'padding' : (css width) + padding\n 'border' : (css width) + padding + border\n 'margin' : (css width) + padding + border + margin\n */\nfunction getWH(elem, name, ex) {\n var extra = ex;\n if (isWindow(elem)) {\n return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);\n } else if (elem.nodeType === 9) {\n return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);\n }\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n var borderBoxValue = name === 'width' ? Math.floor(elem.getBoundingClientRect().width) : Math.floor(elem.getBoundingClientRect().height);\n var isBorderBox = isBorderBoxFn(elem);\n var cssBoxValue = 0;\n if (borderBoxValue === null || borderBoxValue === undefined || borderBoxValue <= 0) {\n borderBoxValue = undefined;\n // Fall back to computed then un computed css if necessary\n cssBoxValue = getComputedStyleX(elem, name);\n if (cssBoxValue === null || cssBoxValue === undefined || Number(cssBoxValue) < 0) {\n cssBoxValue = elem.style[name] || 0;\n }\n // Normalize '', auto, and prepare for extra\n cssBoxValue = Math.floor(parseFloat(cssBoxValue)) || 0;\n }\n if (extra === undefined) {\n extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;\n }\n var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;\n var val = borderBoxValue || cssBoxValue;\n if (extra === CONTENT_INDEX) {\n if (borderBoxValueOrIsBorderBox) {\n return val - getPBMWidth(elem, ['border', 'padding'], which);\n }\n return cssBoxValue;\n } else if (borderBoxValueOrIsBorderBox) {\n if (extra === BORDER_INDEX) {\n return val;\n }\n return val + (extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which) : getPBMWidth(elem, ['margin'], which));\n }\n return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which);\n}\nvar cssShow = {\n position: 'absolute',\n visibility: 'hidden',\n display: 'block'\n};\n\n// fix #119 : https://github.com/kissyteam/kissy/issues/119\nfunction getWHIgnoreDisplay() {\n for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n var val;\n var elem = args[0];\n // in case elem is window\n // elem.offsetWidth === undefined\n if (elem.offsetWidth !== 0) {\n val = getWH.apply(undefined, args);\n } else {\n swap(elem, cssShow, function () {\n val = getWH.apply(undefined, args);\n });\n }\n return val;\n}\neach(['width', 'height'], function (name) {\n var first = name.charAt(0).toUpperCase() + name.slice(1);\n domUtils[\"outer\".concat(first)] = function (el, includeMargin) {\n return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);\n };\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n domUtils[name] = function (elem, v) {\n var val = v;\n if (val !== undefined) {\n if (elem) {\n var isBorderBox = isBorderBoxFn(elem);\n if (isBorderBox) {\n val += getPBMWidth(elem, ['padding', 'border'], which);\n }\n return css(elem, name, val);\n }\n return undefined;\n }\n return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);\n };\n});\nfunction mix(to, from) {\n for (var i in from) {\n if (from.hasOwnProperty(i)) {\n to[i] = from[i];\n }\n }\n return to;\n}\nvar utils = {\n getWindow: function getWindow(node) {\n if (node && node.document && node.setTimeout) {\n return node;\n }\n var doc = node.ownerDocument || node;\n return doc.defaultView || doc.parentWindow;\n },\n getDocument: getDocument,\n offset: function offset(el, value, option) {\n if (typeof value !== 'undefined') {\n setOffset(el, value, option || {});\n } else {\n return getOffset(el);\n }\n },\n isWindow: isWindow,\n each: each,\n css: css,\n clone: function clone(obj) {\n var i;\n var ret = {};\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret[i] = obj[i];\n }\n }\n var overflow = obj.overflow;\n if (overflow) {\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret.overflow[i] = obj.overflow[i];\n }\n }\n }\n return ret;\n },\n mix: mix,\n getWindowScrollLeft: function getWindowScrollLeft(w) {\n return getScrollLeft(w);\n },\n getWindowScrollTop: function getWindowScrollTop(w) {\n return getScrollTop(w);\n },\n merge: function merge() {\n var ret = {};\n for (var i = 0; i < arguments.length; i++) {\n utils.mix(ret, i < 0 || arguments.length <= i ? undefined : arguments[i]);\n }\n return ret;\n },\n viewportWidth: 0,\n viewportHeight: 0\n};\nmix(utils, domUtils);\n\n/**\n * 得到会导致元素显示不全的祖先元素\n */\nvar getParent = utils.getParent;\nfunction getOffsetParent(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return null;\n }\n // ie 这个也不是完全可行\n /*\n <div style=\"width: 50px;height: 100px;overflow: hidden\">\n <div style=\"width: 50px;height: 100px;position: relative;\" id=\"d6\">\n 元素 6 高 100px 宽 50px<br/>\n </div>\n </div>\n */\n // element.offsetParent does the right thing in ie7 and below. Return parent with layout!\n // In other browsers it only includes elements with position absolute, relative or\n // fixed, not elements with overflow set to auto or scroll.\n // if (UA.ie && ieMode < 8) {\n // return element.offsetParent;\n // }\n // 统一的 offsetParent 方法\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent;\n var positionStyle = utils.css(element, 'position');\n var skipStatic = positionStyle === 'fixed' || positionStyle === 'absolute';\n if (!skipStatic) {\n return element.nodeName.toLowerCase() === 'html' ? null : getParent(element);\n }\n for (parent = getParent(element); parent && parent !== body && parent.nodeType !== 9; parent = getParent(parent)) {\n positionStyle = utils.css(parent, 'position');\n if (positionStyle !== 'static') {\n return parent;\n }\n }\n return null;\n}\n\nvar getParent$1 = utils.getParent;\nfunction isAncestorFixed(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return false;\n }\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent = null;\n for (parent = getParent$1(element);\n // 修复元素位于 document.documentElement 下导致崩溃问题\n parent && parent !== body && parent !== doc; parent = getParent$1(parent)) {\n var positionStyle = utils.css(parent, 'position');\n if (positionStyle === 'fixed') {\n return true;\n }\n }\n return false;\n}\n\n/**\n * 获得元素的显示部分的区域\n */\nfunction getVisibleRectForElement(element, alwaysByViewport) {\n var visibleRect = {\n left: 0,\n right: Infinity,\n top: 0,\n bottom: Infinity\n };\n var el = getOffsetParent(element);\n var doc = utils.getDocument(element);\n var win = doc.defaultView || doc.parentWindow;\n var body = doc.body;\n var documentElement = doc.documentElement;\n\n // Determine the size of the visible rect by climbing the dom accounting for\n // all scrollable containers.\n while (el) {\n // clientWidth is zero for inline block elements in ie.\n if ((navigator.userAgent.indexOf('MSIE') === -1 || el.clientWidth !== 0) &&\n // body may have overflow set on it, yet we still get the entire\n // viewport. In some browsers, el.offsetParent may be\n // document.documentElement, so check for that too.\n el !== body && el !== documentElement && utils.css(el, 'overflow') !== 'visible') {\n var pos = utils.offset(el);\n // add border\n pos.left += el.clientLeft;\n pos.top += el.clientTop;\n visibleRect.top = Math.max(visibleRect.top, pos.top);\n visibleRect.right = Math.min(visibleRect.right,\n // consider area without scrollBar\n pos.left + el.clientWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, pos.top + el.clientHeight);\n visibleRect.left = Math.max(visibleRect.left, pos.left);\n } else if (el === body || el === documentElement) {\n break;\n }\n el = getOffsetParent(el);\n }\n\n // Set element position to fixed\n // make sure absolute element itself don't affect it's visible area\n // https://github.com/ant-design/ant-design/issues/7601\n var originalPosition = null;\n if (!utils.isWindow(element) && element.nodeType !== 9) {\n originalPosition = element.style.position;\n var position = utils.css(element, 'position');\n if (position === 'absolute') {\n element.style.position = 'fixed';\n }\n }\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n var documentWidth = documentElement.scrollWidth;\n var documentHeight = documentElement.scrollHeight;\n\n // scrollXXX on html is sync with body which means overflow: hidden on body gets wrong scrollXXX.\n // We should cut this ourself.\n var bodyStyle = window.getComputedStyle(body);\n if (bodyStyle.overflowX === 'hidden') {\n documentWidth = win.innerWidth;\n }\n if (bodyStyle.overflowY === 'hidden') {\n documentHeight = win.innerHeight;\n }\n\n // Reset element position after calculate the visible area\n if (element.style) {\n element.style.position = originalPosition;\n }\n if (alwaysByViewport || isAncestorFixed(element)) {\n // Clip by viewport's size.\n visibleRect.left = Math.max(visibleRect.left, scrollX);\n visibleRect.top = Math.max(visibleRect.top, scrollY);\n visibleRect.right = Math.min(visibleRect.right, scrollX + viewportWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, scrollY + viewportHeight);\n } else {\n // Clip by document's size.\n var maxVisibleWidth = Math.max(documentWidth, scrollX + viewportWidth);\n visibleRect.right = Math.min(visibleRect.right, maxVisibleWidth);\n var maxVisibleHeight = Math.max(documentHeight, scrollY + viewportHeight);\n visibleRect.bottom = Math.min(visibleRect.bottom, maxVisibleHeight);\n }\n return visibleRect.top >= 0 && visibleRect.left >= 0 && visibleRect.bottom > visibleRect.top && visibleRect.right > visibleRect.left ? visibleRect : null;\n}\n\nfunction adjustForViewport(elFuturePos, elRegion, visibleRect, overflow) {\n var pos = utils.clone(elFuturePos);\n var size = {\n width: elRegion.width,\n height: elRegion.height\n };\n if (overflow.adjustX && pos.left < visibleRect.left) {\n pos.left = visibleRect.left;\n }\n\n // Left edge inside and right edge outside viewport, try to resize it.\n if (overflow.resizeWidth && pos.left >= visibleRect.left && pos.left + size.width > visibleRect.right) {\n size.width -= pos.left + size.width - visibleRect.right;\n }\n\n // Right edge outside viewport, try to move it.\n if (overflow.adjustX && pos.left + size.width > visibleRect.right) {\n // 保证左边界和可视区域左边界对齐\n pos.left = Math.max(visibleRect.right - size.width, visibleRect.left);\n }\n\n // Top edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top < visibleRect.top) {\n pos.top = visibleRect.top;\n }\n\n // Top edge inside and bottom edge outside viewport, try to resize it.\n if (overflow.resizeHeight && pos.top >= visibleRect.top && pos.top + size.height > visibleRect.bottom) {\n size.height -= pos.top + size.height - visibleRect.bottom;\n }\n\n // Bottom edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top + size.height > visibleRect.bottom) {\n // 保证上边界和可视区域上边界对齐\n pos.top = Math.max(visibleRect.bottom - size.height, visibleRect.top);\n }\n return utils.mix(pos, size);\n}\n\nfunction getRegion(node) {\n var offset;\n var w;\n var h;\n if (!utils.isWindow(node) && node.nodeType !== 9) {\n offset = utils.offset(node);\n w = utils.outerWidth(node);\n h = utils.outerHeight(node);\n } else {\n var win = utils.getWindow(node);\n offset = {\n left: utils.getWindowScrollLeft(win),\n top: utils.getWindowScrollTop(win)\n };\n w = utils.viewportWidth(win);\n h = utils.viewportHeight(win);\n }\n offset.width = w;\n offset.height = h;\n return offset;\n}\n\n/**\n * 获取 node 上的 align 对齐点 相对于页面的坐标\n */\n\nfunction getAlignOffset(region, align) {\n var V = align.charAt(0);\n var H = align.charAt(1);\n var w = region.width;\n var h = region.height;\n var x = region.left;\n var y = region.top;\n if (V === 'c') {\n y += h / 2;\n } else if (V === 'b') {\n y += h;\n }\n if (H === 'c') {\n x += w / 2;\n } else if (H === 'r') {\n x += w;\n }\n return {\n left: x,\n top: y\n };\n}\n\nfunction getElFuturePos(elRegion, refNodeRegion, points, offset, targetOffset) {\n var p1 = getAlignOffset(refNodeRegion, points[1]);\n var p2 = getAlignOffset(elRegion, points[0]);\n var diff = [p2.left - p1.left, p2.top - p1.top];\n return {\n left: Math.round(elRegion.left - diff[0] + offset[0] - targetOffset[0]),\n top: Math.round(elRegion.top - diff[1] + offset[1] - targetOffset[1])\n };\n}\n\n/**\n * align dom node flexibly\n * @author yiminghe@gmail.com\n */\n\n// http://yiminghe.iteye.com/blog/1124720\n\nfunction isFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left < visibleRect.left || elFuturePos.left + elRegion.width > visibleRect.right;\n}\nfunction isFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top < visibleRect.top || elFuturePos.top + elRegion.height > visibleRect.bottom;\n}\nfunction isCompleteFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left > visibleRect.right || elFuturePos.left + elRegion.width < visibleRect.left;\n}\nfunction isCompleteFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top > visibleRect.bottom || elFuturePos.top + elRegion.height < visibleRect.top;\n}\nfunction flip(points, reg, map) {\n var ret = [];\n utils.each(points, function (p) {\n ret.push(p.replace(reg, function (m) {\n return map[m];\n }));\n });\n return ret;\n}\nfunction flipOffset(offset, index) {\n offset[index] = -offset[index];\n return offset;\n}\nfunction convertOffset(str, offsetLen) {\n var n;\n if (/%$/.test(str)) {\n n = parseInt(str.substring(0, str.length - 1), 10) / 100 * offsetLen;\n } else {\n n = parseInt(str, 10);\n }\n return n || 0;\n}\nfunction normalizeOffset(offset, el) {\n offset[0] = convertOffset(offset[0], el.width);\n offset[1] = convertOffset(offset[1], el.height);\n}\n\n/**\n * @param el\n * @param tgtRegion 参照节点所占的区域: { left, top, width, height }\n * @param align\n */\nfunction doAlign(el, tgtRegion, align, isTgtRegionVisible) {\n var points = align.points;\n var offset = align.offset || [0, 0];\n var targetOffset = align.targetOffset || [0, 0];\n var overflow = align.overflow;\n var source = align.source || el;\n offset = [].concat(offset);\n targetOffset = [].concat(targetOffset);\n overflow = overflow || {};\n var newOverflowCfg = {};\n var fail = 0;\n var alwaysByViewport = !!(overflow && overflow.alwaysByViewport);\n // 当前节点可以被放置的显示区域\n var visibleRect = getVisibleRectForElement(source, alwaysByViewport);\n // 当前节点所占的区域, left/top/width/height\n var elRegion = getRegion(source);\n // 将 offset 转换成数值,支持百分比\n normalizeOffset(offset, elRegion);\n normalizeOffset(targetOffset, tgtRegion);\n // 当前节点将要被放置的位置\n var elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);\n // 当前节点将要所处的区域\n var newElRegion = utils.merge(elRegion, elFuturePos);\n\n // 如果可视区域不能完全放置当前节点时允许调整\n if (visibleRect && (overflow.adjustX || overflow.adjustY) && isTgtRegionVisible) {\n if (overflow.adjustX) {\n // 如果横向不能放下\n if (isFailX(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var newPoints = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n });\n // 偏移量也反下\n var newOffset = flipOffset(offset, 0);\n var newTargetOffset = flipOffset(targetOffset, 0);\n var newElFuturePos = getElFuturePos(elRegion, tgtRegion, newPoints, newOffset, newTargetOffset);\n if (!isCompleteFailX(newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = newPoints;\n offset = newOffset;\n targetOffset = newTargetOffset;\n }\n }\n }\n if (overflow.adjustY) {\n // 如果纵向不能放下\n if (isFailY(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var _newPoints = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n });\n // 偏移量也反下\n var _newOffset = flipOffset(offset, 1);\n var _newTargetOffset = flipOffset(targetOffset, 1);\n var _newElFuturePos = getElFuturePos(elRegion, tgtRegion, _newPoints, _newOffset, _newTargetOffset);\n if (!isCompleteFailY(_newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = _newPoints;\n offset = _newOffset;\n targetOffset = _newTargetOffset;\n }\n }\n }\n\n // 如果失败,重新计算当前节点将要被放置的位置\n if (fail) {\n elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);\n utils.mix(newElRegion, elFuturePos);\n }\n var isStillFailX = isFailX(elFuturePos, elRegion, visibleRect);\n var isStillFailY = isFailY(elFuturePos, elRegion, visibleRect);\n // 检查反下后的位置是否可以放下了,如果仍然放不下:\n // 1. 复原修改过的定位参数\n if (isStillFailX || isStillFailY) {\n var _newPoints2 = points;\n\n // 重置对应部分的翻转逻辑\n if (isStillFailX) {\n _newPoints2 = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n });\n }\n if (isStillFailY) {\n _newPoints2 = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n });\n }\n points = _newPoints2;\n offset = align.offset || [0, 0];\n targetOffset = align.targetOffset || [0, 0];\n }\n // 2. 只有指定了可以调整当前方向才调整\n newOverflowCfg.adjustX = overflow.adjustX && isStillFailX;\n newOverflowCfg.adjustY = overflow.adjustY && isStillFailY;\n\n // 确实要调整,甚至可能会调整高度宽度\n if (newOverflowCfg.adjustX || newOverflowCfg.adjustY) {\n newElRegion = adjustForViewport(elFuturePos, elRegion, visibleRect, newOverflowCfg);\n }\n }\n\n // need judge to in case set fixed with in css on height auto element\n if (newElRegion.width !== elRegion.width) {\n utils.css(source, 'width', utils.width(source) + newElRegion.width - elRegion.width);\n }\n if (newElRegion.height !== elRegion.height) {\n utils.css(source, 'height', utils.height(source) + newElRegion.height - elRegion.height);\n }\n\n // https://github.com/kissyteam/kissy/issues/190\n // 相对于屏幕位置没变,而 left/top 变了\n // 例如 <div 'relative'><el absolute></div>\n utils.offset(source, {\n left: newElRegion.left,\n top: newElRegion.top\n }, {\n useCssRight: align.useCssRight,\n useCssBottom: align.useCssBottom,\n useCssTransform: align.useCssTransform,\n ignoreShake: align.ignoreShake\n });\n return {\n points: points,\n offset: offset,\n targetOffset: targetOffset,\n overflow: newOverflowCfg\n };\n}\n/**\n * 2012-04-26 yiminghe@gmail.com\n * - 优化智能对齐算法\n * - 慎用 resizeXX\n *\n * 2011-07-13 yiminghe@gmail.com note:\n * - 增加智能对齐,以及大小调整选项\n **/\n\nfunction isOutOfVisibleRect(target, alwaysByViewport) {\n var visibleRect = getVisibleRectForElement(target, alwaysByViewport);\n var targetRegion = getRegion(target);\n return !visibleRect || targetRegion.left + targetRegion.width <= visibleRect.left || targetRegion.top + targetRegion.height <= visibleRect.top || targetRegion.left >= visibleRect.right || targetRegion.top >= visibleRect.bottom;\n}\nfunction alignElement(el, refNode, align) {\n var target = align.target || refNode;\n var refNodeRegion = getRegion(target);\n var isTargetNotOutOfVisible = !isOutOfVisibleRect(target, align.overflow && align.overflow.alwaysByViewport);\n return doAlign(el, refNodeRegion, align, isTargetNotOutOfVisible);\n}\nalignElement.__getOffsetParent = getOffsetParent;\nalignElement.__getVisibleRectForElement = getVisibleRectForElement;\n\n/**\n * `tgtPoint`: { pageX, pageY } or { clientX, clientY }.\n * If client position provided, will internal convert to page position.\n */\n\nfunction alignPoint(el, tgtPoint, align) {\n var pageX;\n var pageY;\n var doc = utils.getDocument(el);\n var win = doc.defaultView || doc.parentWindow;\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n if ('pageX' in tgtPoint) {\n pageX = tgtPoint.pageX;\n } else {\n pageX = scrollX + tgtPoint.clientX;\n }\n if ('pageY' in tgtPoint) {\n pageY = tgtPoint.pageY;\n } else {\n pageY = scrollY + tgtPoint.clientY;\n }\n var tgtRegion = {\n left: pageX,\n top: pageY,\n width: 0,\n height: 0\n };\n var pointInView = pageX >= 0 && pageX <= scrollX + viewportWidth && pageY >= 0 && pageY <= scrollY + viewportHeight;\n\n // Provide default target point\n var points = [align.points[0], 'cc'];\n return doAlign(el, tgtRegion, _objectSpread2(_objectSpread2({}, align), {}, {\n points: points\n }), pointInView);\n}\n\nexport default alignElement;\nexport { alignElement, alignPoint };\n//# sourceMappingURL=index.js.map\n"],"names":["ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread2","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_typeof","obj","Symbol","iterator","constructor","prototype","value","configurable","writable","vendorPrefix","jsCssMap","Webkit","Moz","ms","O","getVendorPrefix","undefined","style","document","createElement","getTransitionName","concat","getTransformName","setTransitionProperty","node","name","transitionProperty","setTransform","transform","getComputedStyleX","matrix2d","matrix3d","forceRelayout","elem","originalStyle","display","offsetHeight","css","el","v","hasOwnProperty","getScroll","w","top","ret","method","d","documentElement","body","getScrollLeft","getScrollTop","getOffset","pos","box","x","y","doc","ownerDocument","docElem","getBoundingClientRect","Math","floor","left","clientLeft","clientTop","getClientPosition","defaultView","parentWindow","isWindow","window","getDocument","nodeType","_RE_NUM_NO_PX","RegExp","RE_POS","CURRENT_STYLE","RUNTIME_STYLE","LEFT","getOffsetDirection","dir","option","useCssRight","useCssBottom","oppositeOffsetDirection","setLeftTop","offset","position","presetH","presetV","horizontalProperty","verticalProperty","oppositeHorizontalProperty","oppositeVerticalProperty","originalTransition","originalOffset","old","preset","off","_key","_dir","_off","setTransform$1","originalXY","getComputedStyle","getPropertyValue","matrix","replace","split","parseFloat","getTransformXY","resultXY","xy","arr","match2d","match","map","item","join","setTransformXY","each","fn","isBorderBoxFn","cs","computedStyle","val","test","rsLeft","pixelLeft","BOX_MODELS","CONTENT_INDEX","PADDING_INDEX","BORDER_INDEX","getPBMWidth","props","which","prop","j","cssProp","domUtils","getParent","element","parent","host","parentNode","getWH","ex","extra","viewportWidth","viewportHeight","docWidth","docHeight","borderBoxValue","width","height","isBorderBox","cssBoxValue","Number","borderBoxValueOrIsBorderBox","slice","refWin","max","win","documentElementProp","compatMode","cssShow","visibility","getWHIgnoreDisplay","_len","args","Array","_key2","offsetWidth","options","callback","call","swap","mix","to","from","first","charAt","toUpperCase","includeMargin","utils","getWindow","setTimeout","ignoreShake","oriOffset","oLeft","toFixed","oTop","tLeft","tTop","useCssTransform","setOffset","clone","overflow","getWindowScrollLeft","getWindowScrollTop","merge","getOffsetParent","positionStyle","nodeName","toLowerCase","getParent$1","getVisibleRectForElement","alwaysByViewport","visibleRect","right","Infinity","bottom","navigator","userAgent","indexOf","clientWidth","min","clientHeight","originalPosition","scrollX","scrollY","documentWidth","scrollWidth","documentHeight","scrollHeight","bodyStyle","overflowX","innerWidth","overflowY","innerHeight","isAncestorFixed","maxVisibleWidth","maxVisibleHeight","getRegion","h","outerWidth","outerHeight","getAlignOffset","region","align","V","H","getElFuturePos","elRegion","refNodeRegion","points","targetOffset","p1","p2","diff","round","isFailX","elFuturePos","isFailY","flip","reg","p","m","flipOffset","index","convertOffset","str","offsetLen","parseInt","substring","normalizeOffset","doAlign","tgtRegion","isTgtRegionVisible","newOverflowCfg","fail","newElRegion","adjustX","adjustY","newPoints","l","r","newOffset","newTargetOffset","isCompleteFailX","_newPoints","t","b","_newOffset","_newTargetOffset","isCompleteFailY","isStillFailX","isStillFailY","_newPoints2","size","resizeWidth","resizeHeight","adjustForViewport","alignElement","refNode","isTargetNotOutOfVisible","targetRegion","isOutOfVisibleRect","alignPoint","tgtPoint","pageX","pageY","clientX","clientY","pointInView","__getOffsetParent","__getVisibleRectForElement"],"mappings":"AAAA,SAASA,EAAQC,EAAQC,GACvB,IAAIC,EAAOC,OAAOD,KAAKF,GACvB,GAAIG,OAAOC,sBAAuB,CAChC,IAAIC,EAAUF,OAAOC,sBAAsBJ,GAC3CC,IAAmBI,EAAUA,EAAQC,QAAO,SAAUC,GACpD,OAAOJ,OAAOK,yBAAyBR,EAAQO,GAAKE,UAC1D,KAASP,EAAKQ,KAAKC,MAAMT,EAAMG,EAC5B,CACD,OAAOH,CACT,CACA,SAASU,EAAeC,GACtB,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAAS,MAAQF,UAAUD,GAAKC,UAAUD,GAAK,GACnDA,EAAI,EAAIf,EAAQI,OAAOc,IAAS,GAAIC,SAAQ,SAAUC,GACpDC,EAAgBP,EAAQM,EAAKF,EAAOE,GAC1C,IAAShB,OAAOkB,0BAA4BlB,OAAOmB,iBAAiBT,EAAQV,OAAOkB,0BAA0BJ,IAAWlB,EAAQI,OAAOc,IAASC,SAAQ,SAAUC,GAC5JhB,OAAOoB,eAAeV,EAAQM,EAAKhB,OAAOK,yBAAyBS,EAAQE,GACjF,GACG,CACD,OAAON,CACT,CACA,SAASW,EAAQC,GAGf,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAC7F,cAAcA,CACf,EAAG,SAAUA,GACZ,OAAOA,GAAO,mBAAqBC,QAAUD,EAAIG,cAAgBF,QAAUD,IAAQC,OAAOG,UAAY,gBAAkBJ,CAC5H,EAAKD,EAAQC,EACb,CACA,SAASL,EAAgBK,EAAKN,EAAKW,GAWjC,OAVIX,KAAOM,EACTtB,OAAOoB,eAAeE,EAAKN,EAAK,CAC9BW,MAAOA,EACPrB,YAAY,EACZsB,cAAc,EACdC,UAAU,IAGZP,EAAIN,GAAOW,EAENL,CACT,CAEA,IAA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nCd,EAAgBoC,EAAMpC,cAAcc,GACpCb,EAAiBmC,EAAMnC,eAAea,GAWtCyG,EAAY,CACd5M,KAVA6O,EADE,UAAWD,EACLA,EAASC,MAETjF,EAAUgF,EAASG,QAS3BlQ,IANAiQ,EADE,UAAWF,EACLA,EAASE,MAETjF,EAAU+E,EAASI,QAK3BtJ,MAAO,EACPC,OAAQ,GAENsJ,EAAcJ,GAAS,GAAKA,GAASjF,EAAUvE,GAAiByJ,GAAS,GAAKA,GAASjF,EAAUvE,EAGjGgG,EAAS,CAACN,EAAMM,OAAO,GAAI,MAC/B,OAAOqB,GAAQnO,EAAIoO,EAAWtR,EAAeA,EAAe,CAAE,EAAE0P,GAAQ,GAAI,CAC1EM,OAAQA,IACN2D,EACN,CAxCAX,GAAaY,kBAAoBxG,EACjC4F,GAAaa,2BAA6BpG","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";require("../../react-is/index.js");var e=require("../../../_virtual/index.js").exports,r={};r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};
1
+ import"../../react-is/index.js";import{exports as e}from"../../../_virtual/index.js";var p=e,r={};r[p.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[p.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};
2
2
  //# sourceMappingURL=hoist-non-react-statics.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hoist-non-react-statics.cjs.js","sources":["../../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"],"sourcesContent":["'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n"],"names":["reactIs","require$$0","TYPE_STATICS","ForwardRef","$$typeof","render","defaultProps","displayName","propTypes","Memo","compare","type"],"mappings":"oDAEIA,wCAAUC,QA2CVC,EAAe,CAAA,EACnBA,EAAaF,EAAQG,YAhBK,CACxBC,UAAY,EACZC,QAAQ,EACRC,cAAc,EACdC,aAAa,EACbC,WAAW,GAYbN,EAAaF,EAAQS,MAVF,CACjBL,UAAY,EACZM,SAAS,EACTJ,cAAc,EACdC,aAAa,EACbC,WAAW,EACXG,MAAM","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"hoist-non-react-statics.cjs.js","sources":["../../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"],"sourcesContent":["'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n"],"names":["reactIs","require$$0","TYPE_STATICS","ForwardRef","$$typeof","render","defaultProps","displayName","propTypes","Memo","compare","type"],"mappings":"qFAEA,IAAIA,EAAUC,EA2CVC,EAAe,CAAA,EACnBA,EAAaF,EAAQG,YAhBK,CACxBC,UAAY,EACZC,QAAQ,EACRC,cAAc,EACdC,aAAa,EACbC,WAAW,GAYbN,EAAaF,EAAQS,MAVF,CACjBL,UAAY,EACZM,SAAS,EACTJ,cAAc,EACdC,aAAa,EACbC,WAAW,EACXG,MAAM","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("../../@babel/runtime/helpers/esm/slicedToArray.js"),r=require("../../@babel/runtime/helpers/esm/typeof.js"),n=require("../../dom-align/dist-web/index.js"),t=require("../../rc-util/es/isEqual.js"),u=require("../../rc-util/es/Dom/addEventListener.js"),i=require("../../rc-util/es/Dom/isVisible.js"),o=require("../../rc-util/es/hooks/useLayoutEffect.js"),s=require("../../rc-util/es/ref.js"),c=require("react"),f=require("./hooks/useBuffer.js"),l=require("./util.js");function a(e){return"function"!=typeof e?null:e()}function d(e){return"object"===r(e)&&e?e:null}var m=function(r,m){var g=r.children,q=r.disabled,v=r.target,E=r.align,j=r.onAlign,b=r.monitorWindowResize,p=r.monitorBufferTime,R=void 0===p?0:p,h=c.useRef({}),y=c.useRef(),A=c.Children.only(g),w=c.useRef({});w.current.disabled=q,w.current.target=v,w.current.align=E,w.current.onAlign=j;var z=f((function(){var e=w.current,r=e.disabled,t=e.target,u=e.align,o=e.onAlign,s=y.current;if(!r&&t&&s){var c,f=a(t),m=d(t);h.current.element=f,h.current.point=m,h.current.align=u;var g=document.activeElement;return f&&i(f)?c=n.default(s,f,u):m&&(c=n.alignPoint(s,m,u)),l.restoreFocus(g,s),o&&c&&o(s,c),!0}return!1}),R),S=e(z,2),k=S[0],x=S[1],B=c.useState(),D=e(B,2),L=D[0],P=D[1],T=c.useState(),V=e(T,2),C=V[0],F=V[1];return o.default((function(){P(a(v)),F(d(v))})),c.useEffect((function(){h.current.element===L&&l.isSamePoint(h.current.point,C)&&t(h.current.align,E)||k()})),c.useEffect((function(){return l.monitorResize(y.current,k)}),[y.current]),c.useEffect((function(){return l.monitorResize(L,k)}),[L]),c.useEffect((function(){q?x():k()}),[q]),c.useEffect((function(){if(b)return u(window,"resize",k).remove}),[b]),c.useEffect((function(){return function(){x()}}),[]),c.useImperativeHandle(m,(function(){return{forceAlign:function(){return k(!0)}}})),c.isValidElement(A)&&(A=c.cloneElement(A,{ref:s.composeRef(A.ref,y)})),A},g=c.forwardRef(m);g.displayName="Align",module.exports=g;
1
+ import e from"../../@babel/runtime/helpers/esm/slicedToArray.js";import r from"../../@babel/runtime/helpers/esm/typeof.js";import t,{alignPoint as n}from"../../dom-align/dist-web/index.js";import i from"../../rc-util/es/isEqual.js";import u from"../../rc-util/es/Dom/addEventListener.js";import o from"../../rc-util/es/Dom/isVisible.js";import f from"../../rc-util/es/hooks/useLayoutEffect.js";import{composeRef as c}from"../../rc-util/es/ref.js";import s from"react";import l from"./hooks/useBuffer.js";import{isSamePoint as m,monitorResize as a,restoreFocus as d}from"./util.js";function p(e){return"function"!=typeof e?null:e()}function g(e){return"object"===r(e)&&e?e:null}var E=function(r,E){var j=r.children,v=r.disabled,b=r.target,h=r.align,y=r.onAlign,A=r.monitorWindowResize,w=r.monitorBufferTime,R=void 0===w?0:w,k=s.useRef({}),x=s.useRef(),z=s.Children.only(j),B=s.useRef({});B.current.disabled=v,B.current.target=b,B.current.align=h,B.current.onAlign=y;var D=l((function(){var e=B.current,r=e.disabled,i=e.target,u=e.align,f=e.onAlign,c=x.current;if(!r&&i&&c){var s,l=p(i),m=g(i);k.current.element=l,k.current.point=m,k.current.align=u;var a=document.activeElement;return l&&o(l)?s=t(c,l,u):m&&(s=n(c,m,u)),d(a,c),f&&s&&f(c,s),!0}return!1}),R),L=e(D,2),S=L[0],T=L[1],V=s.useState(),q=e(V,2),C=q[0],H=q[1],I=s.useState(),N=e(I,2),W=N[0],F=N[1];return f((function(){H(p(b)),F(g(b))})),s.useEffect((function(){k.current.element===C&&m(k.current.point,W)&&i(k.current.align,h)||S()})),s.useEffect((function(){return a(x.current,S)}),[x.current]),s.useEffect((function(){return a(C,S)}),[C]),s.useEffect((function(){v?T():S()}),[v]),s.useEffect((function(){if(A)return u(window,"resize",S).remove}),[A]),s.useEffect((function(){return function(){T()}}),[]),s.useImperativeHandle(E,(function(){return{forceAlign:function(){return S(!0)}}})),s.isValidElement(z)&&(z=s.cloneElement(z,{ref:c(z.ref,x)})),z},j=s.forwardRef(E);j.displayName="Align";export{j as default};
2
2
  //# sourceMappingURL=Align.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Align.js","sources":["../../../../node_modules/rc-align/es/Align.js"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/**\n * Removed props:\n * - childrenProps\n */\nimport { alignElement, alignPoint } from 'dom-align';\nimport isEqual from \"rc-util/es/isEqual\";\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport isVisible from \"rc-util/es/Dom/isVisible\";\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport React from 'react';\nimport useBuffer from \"./hooks/useBuffer\";\nimport { isSamePoint, monitorResize, restoreFocus } from \"./util\";\n\nfunction getElement(func) {\n if (typeof func !== 'function') return null;\n return func();\n}\n\nfunction getPoint(point) {\n if (_typeof(point) !== 'object' || !point) return null;\n return point;\n}\n\nvar Align = function Align(_ref, ref) {\n var children = _ref.children,\n disabled = _ref.disabled,\n target = _ref.target,\n align = _ref.align,\n onAlign = _ref.onAlign,\n monitorWindowResize = _ref.monitorWindowResize,\n _ref$monitorBufferTim = _ref.monitorBufferTime,\n monitorBufferTime = _ref$monitorBufferTim === void 0 ? 0 : _ref$monitorBufferTim;\n var cacheRef = React.useRef({});\n /** Popup node ref */\n\n var nodeRef = React.useRef();\n var childNode = React.Children.only(children); // ===================== Align ======================\n // We save the props here to avoid closure makes props ood\n\n var forceAlignPropsRef = React.useRef({});\n forceAlignPropsRef.current.disabled = disabled;\n forceAlignPropsRef.current.target = target;\n forceAlignPropsRef.current.align = align;\n forceAlignPropsRef.current.onAlign = onAlign;\n\n var _useBuffer = useBuffer(function () {\n var _forceAlignPropsRef$c = forceAlignPropsRef.current,\n latestDisabled = _forceAlignPropsRef$c.disabled,\n latestTarget = _forceAlignPropsRef$c.target,\n latestAlign = _forceAlignPropsRef$c.align,\n latestOnAlign = _forceAlignPropsRef$c.onAlign;\n var source = nodeRef.current;\n\n if (!latestDisabled && latestTarget && source) {\n var _result;\n\n var _element = getElement(latestTarget);\n\n var _point = getPoint(latestTarget);\n\n cacheRef.current.element = _element;\n cacheRef.current.point = _point;\n cacheRef.current.align = latestAlign; // IE lose focus after element realign\n // We should record activeElement and restore later\n\n var _document = document,\n activeElement = _document.activeElement; // We only align when element is visible\n\n if (_element && isVisible(_element)) {\n _result = alignElement(source, _element, latestAlign);\n } else if (_point) {\n _result = alignPoint(source, _point, latestAlign);\n }\n\n restoreFocus(activeElement, source);\n\n if (latestOnAlign && _result) {\n latestOnAlign(source, _result);\n }\n\n return true;\n }\n\n return false;\n }, monitorBufferTime),\n _useBuffer2 = _slicedToArray(_useBuffer, 2),\n _forceAlign = _useBuffer2[0],\n cancelForceAlign = _useBuffer2[1]; // ===================== Effect =====================\n // Handle props change\n\n\n var _React$useState = React.useState(),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n element = _React$useState2[0],\n setElement = _React$useState2[1];\n\n var _React$useState3 = React.useState(),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n point = _React$useState4[0],\n setPoint = _React$useState4[1];\n\n useLayoutEffect(function () {\n setElement(getElement(target));\n setPoint(getPoint(target));\n });\n React.useEffect(function () {\n if (cacheRef.current.element !== element || !isSamePoint(cacheRef.current.point, point) || !isEqual(cacheRef.current.align, align)) {\n _forceAlign();\n }\n }); // Watch popup element resize\n\n React.useEffect(function () {\n var cancelFn = monitorResize(nodeRef.current, _forceAlign);\n return cancelFn;\n }, [nodeRef.current]); // Watch target element resize\n\n React.useEffect(function () {\n var cancelFn = monitorResize(element, _forceAlign);\n return cancelFn;\n }, [element]); // Listen for disabled change\n\n React.useEffect(function () {\n if (!disabled) {\n _forceAlign();\n } else {\n cancelForceAlign();\n }\n }, [disabled]); // Listen for window resize\n\n React.useEffect(function () {\n if (monitorWindowResize) {\n var cancelFn = addEventListener(window, 'resize', _forceAlign);\n return cancelFn.remove;\n }\n }, [monitorWindowResize]); // Clear all if unmount\n\n React.useEffect(function () {\n return function () {\n cancelForceAlign();\n };\n }, []); // ====================== Ref =======================\n\n React.useImperativeHandle(ref, function () {\n return {\n forceAlign: function forceAlign() {\n return _forceAlign(true);\n }\n };\n }); // ===================== Render =====================\n\n if ( /*#__PURE__*/React.isValidElement(childNode)) {\n childNode = /*#__PURE__*/React.cloneElement(childNode, {\n ref: composeRef(childNode.ref, nodeRef)\n });\n }\n\n return childNode;\n};\n\nvar RcAlign = /*#__PURE__*/React.forwardRef(Align);\nRcAlign.displayName = 'Align';\nexport default RcAlign;"],"names":["getElement","func","getPoint","point","_typeof","Align","_ref","ref","children","disabled","target","align","onAlign","monitorWindowResize","_ref$monitorBufferTim","monitorBufferTime","cacheRef","React","useRef","nodeRef","childNode","Children","only","forceAlignPropsRef","current","_useBuffer","useBuffer","_forceAlignPropsRef$c","latestDisabled","latestTarget","latestAlign","latestOnAlign","source","_result","_element","_point","element","activeElement","document","isVisible","alignElement","alignPoint","restoreFocus","_useBuffer2","_slicedToArray","_forceAlign","cancelForceAlign","_React$useState","useState","_React$useState2","setElement","_React$useState3","_React$useState4","setPoint","useLayoutEffect","useEffect","isSamePoint","isEqual","monitorResize","addEventListener","window","remove","useImperativeHandle","forceAlign","isValidElement","cloneElement","composeRef","RcAlign","forwardRef","displayName"],"mappings":"6eAiBA,SAASA,EAAWC,GAClB,MAAoB,mBAATA,EAA4B,KAChCA,GACT,CAEA,SAASC,EAASC,GAChB,MAAuB,WAAnBC,EAAQD,IAAwBA,EAC7BA,EAD2C,IAEpD,CAEA,IAAIE,EAAQ,SAAeC,EAAMC,GAC/B,IAAIC,EAAWF,EAAKE,SAChBC,EAAWH,EAAKG,SAChBC,EAASJ,EAAKI,OACdC,EAAQL,EAAKK,MACbC,EAAUN,EAAKM,QACfC,EAAsBP,E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E,EAAAA,SAAgB,WACdJ,EAAWlD,EAAWU,IACtB2C,EAASnD,EAASQ,GACtB,IACEO,EAAMsC,WAAU,WACVvC,EAASQ,QAAQY,UAAYA,GAAYoB,EAAAA,YAAYxC,EAASQ,QAAQrB,MAAOA,IAAWsD,EAAQzC,EAASQ,QAAQb,MAAOA,IAC1HkC,GAEN,IAEE5B,EAAMsC,WAAU,WAEd,OADeG,EAAaA,cAACvC,EAAQK,QAASqB,EAElD,GAAK,CAAC1B,EAAQK,UAEZP,EAAMsC,WAAU,WAEd,OADeG,EAAAA,cAActB,EAASS,EAE1C,GAAK,CAACT,IAEJnB,EAAMsC,WAAU,WACT9C,EAGHqC,IAFAD,GAIN,GAAK,CAACpC,IAEJQ,EAAMsC,WAAU,WACd,GAAI1C,EAEF,OADe8C,EAAiBC,OAAQ,SAAUf,GAClCgB,MAEtB,GAAK,CAAChD,IAEJI,EAAMsC,WAAU,WACd,OAAO,WACLT,GACN,CACG,GAAE,IAEH7B,EAAM6C,oBAAoBvD,GAAK,WAC7B,MAAO,CACLwD,WAAY,WACV,OAAOlB,GAAY,EACpB,EAEP,IAEoB5B,EAAM+C,eAAe5C,KACrCA,EAAyBH,EAAMgD,aAAa7C,EAAW,CACrDb,IAAK2D,EAAUA,WAAC9C,EAAUb,IAAKY,MAI5BC,CACT,EAEI+C,EAAuBlD,EAAMmD,WAAW/D,GAC5C8D,EAAQE,YAAc","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Align.js","sources":["../../../../node_modules/rc-align/es/Align.js"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/**\n * Removed props:\n * - childrenProps\n */\nimport { alignElement, alignPoint } from 'dom-align';\nimport isEqual from \"rc-util/es/isEqual\";\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport isVisible from \"rc-util/es/Dom/isVisible\";\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport React from 'react';\nimport useBuffer from \"./hooks/useBuffer\";\nimport { isSamePoint, monitorResize, restoreFocus } from \"./util\";\n\nfunction getElement(func) {\n if (typeof func !== 'function') return null;\n return func();\n}\n\nfunction getPoint(point) {\n if (_typeof(point) !== 'object' || !point) return null;\n return point;\n}\n\nvar Align = function Align(_ref, ref) {\n var children = _ref.children,\n disabled = _ref.disabled,\n target = _ref.target,\n align = _ref.align,\n onAlign = _ref.onAlign,\n monitorWindowResize = _ref.monitorWindowResize,\n _ref$monitorBufferTim = _ref.monitorBufferTime,\n monitorBufferTime = _ref$monitorBufferTim === void 0 ? 0 : _ref$monitorBufferTim;\n var cacheRef = React.useRef({});\n /** Popup node ref */\n\n var nodeRef = React.useRef();\n var childNode = React.Children.only(children); // ===================== Align ======================\n // We save the props here to avoid closure makes props ood\n\n var forceAlignPropsRef = React.useRef({});\n forceAlignPropsRef.current.disabled = disabled;\n forceAlignPropsRef.current.target = target;\n forceAlignPropsRef.current.align = align;\n forceAlignPropsRef.current.onAlign = onAlign;\n\n var _useBuffer = useBuffer(function () {\n var _forceAlignPropsRef$c = forceAlignPropsRef.current,\n latestDisabled = _forceAlignPropsRef$c.disabled,\n latestTarget = _forceAlignPropsRef$c.target,\n latestAlign = _forceAlignPropsRef$c.align,\n latestOnAlign = _forceAlignPropsRef$c.onAlign;\n var source = nodeRef.current;\n\n if (!latestDisabled && latestTarget && source) {\n var _result;\n\n var _element = getElement(latestTarget);\n\n var _point = getPoint(latestTarget);\n\n cacheRef.current.element = _element;\n cacheRef.current.point = _point;\n cacheRef.current.align = latestAlign; // IE lose focus after element realign\n // We should record activeElement and restore later\n\n var _document = document,\n activeElement = _document.activeElement; // We only align when element is visible\n\n if (_element && isVisible(_element)) {\n _result = alignElement(source, _element, latestAlign);\n } else if (_point) {\n _result = alignPoint(source, _point, latestAlign);\n }\n\n restoreFocus(activeElement, source);\n\n if (latestOnAlign && _result) {\n latestOnAlign(source, _result);\n }\n\n return true;\n }\n\n return false;\n }, monitorBufferTime),\n _useBuffer2 = _slicedToArray(_useBuffer, 2),\n _forceAlign = _useBuffer2[0],\n cancelForceAlign = _useBuffer2[1]; // ===================== Effect =====================\n // Handle props change\n\n\n var _React$useState = React.useState(),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n element = _React$useState2[0],\n setElement = _React$useState2[1];\n\n var _React$useState3 = React.useState(),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n point = _React$useState4[0],\n setPoint = _React$useState4[1];\n\n useLayoutEffect(function () {\n setElement(getElement(target));\n setPoint(getPoint(target));\n });\n React.useEffect(function () {\n if (cacheRef.current.element !== element || !isSamePoint(cacheRef.current.point, point) || !isEqual(cacheRef.current.align, align)) {\n _forceAlign();\n }\n }); // Watch popup element resize\n\n React.useEffect(function () {\n var cancelFn = monitorResize(nodeRef.current, _forceAlign);\n return cancelFn;\n }, [nodeRef.current]); // Watch target element resize\n\n React.useEffect(function () {\n var cancelFn = monitorResize(element, _forceAlign);\n return cancelFn;\n }, [element]); // Listen for disabled change\n\n React.useEffect(function () {\n if (!disabled) {\n _forceAlign();\n } else {\n cancelForceAlign();\n }\n }, [disabled]); // Listen for window resize\n\n React.useEffect(function () {\n if (monitorWindowResize) {\n var cancelFn = addEventListener(window, 'resize', _forceAlign);\n return cancelFn.remove;\n }\n }, [monitorWindowResize]); // Clear all if unmount\n\n React.useEffect(function () {\n return function () {\n cancelForceAlign();\n };\n }, []); // ====================== Ref =======================\n\n React.useImperativeHandle(ref, function () {\n return {\n forceAlign: function forceAlign() {\n return _forceAlign(true);\n }\n };\n }); // ===================== Render =====================\n\n if ( /*#__PURE__*/React.isValidElement(childNode)) {\n childNode = /*#__PURE__*/React.cloneElement(childNode, {\n ref: composeRef(childNode.ref, nodeRef)\n });\n }\n\n return childNode;\n};\n\nvar RcAlign = /*#__PURE__*/React.forwardRef(Align);\nRcAlign.displayName = 'Align';\nexport default RcAlign;"],"names":["getElement","func","getPoint","point","_typeof","Align","_ref","ref","children","disabled","target","align","onAlign","monitorWindowResize","_ref$monitorBufferTim","monitorBufferTime","cacheRef","React","useRef","nodeRef","childNode","Children","only","forceAlignPropsRef","current","_useBuffer","useBuffer","_forceAlignPropsRef$c","latestDisabled","latestTarget","latestAlign","latestOnAlign","source","_result","_element","_point","element","activeElement","document","isVisible","alignElement","alignPoint","restoreFocus","_useBuffer2","_slicedToArray","_forceAlign","cancelForceAlign","_React$useState","useState","_React$useState2","setElement","_React$useState3","_React$useState4","setPoint","useLayoutEffect","useEffect","isSamePoint","isEqual","monitorResize","addEventListener","window","remove","useImperativeHandle","forceAlign","isValidElement","cloneElement","composeRef","RcAlign","forwardRef","displayName"],"mappings":"qkBAiBA,SAASA,EAAWC,GAClB,MAAoB,mBAATA,EAA4B,KAChCA,GACT,CAEA,SAASC,EAASC,GAChB,MAAuB,WAAnBC,EAAQD,IAAwBA,EAC7BA,EAD2C,IAEpD,CAEA,IAAIE,EAAQ,SAAeC,EAAMC,GAC/B,IAAIC,EAAWF,EAAKE,SAChBC,EAAWH,EAAKG,SAChBC,EAASJ,EAAKI,OACdC,EAAQL,EAAKK,MACbC,EAAUN,EAAKM,QACfC,EAAsBP,EAAKO,oBAC3BC,EAAwBR,EAAKS,kBAC7BA,OAA8C,IAA1BD,EAAmC,EAAIA,EAC3DE,EAAWC,EAAMC,OAAO,CAAE,GAG1BC,EAAUF,EAAMC,SAChBE,EAAYH,EAAMI,SAASC,KAAKd,GAGhCe,EAAqBN,EAAMC,OAAO,CAAE,GACxCK,EAAmBC,QAAQf,SAAWA,EACtCc,EAAmBC,QAAQd,OAASA,EACpCa,EAAmBC,QAAQb,MAAQA,EACnCY,EAAmBC,QAAQZ,QAAUA,EAErC,IAAIa,EAAaC,GAAU,WACzB,IAAIC,EAAwBJ,EAAmBC,QAC3CI,EAAiBD,EAAsBlB,SACvCoB,EAAeF,EAAsBjB,OACrCoB,EAAcH,EAAsBhB,MACpCoB,EAAgBJ,EAAsBf,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CgB,MAEtB,GAAK,CAAChD,IAEJI,EAAMsC,WAAU,WACd,OAAO,WACLT,GACN,CACG,GAAE,IAEH7B,EAAM6C,oBAAoBvD,GAAK,WAC7B,MAAO,CACLwD,WAAY,WACV,OAAOlB,GAAY,EACpB,EAEP,IAEoB5B,EAAM+C,eAAe5C,KACrCA,EAAyBH,EAAMgD,aAAa7C,EAAW,CACrDb,IAAK2D,EAAW9C,EAAUb,IAAKY,MAI5BC,CACT,EAEI+C,EAAuBlD,EAAMmD,WAAW/D,GAC5C8D,EAAQE,YAAc","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react");module.exports=function(r,n){var t=e.useRef(!1),u=e.useRef(null);function c(){window.clearTimeout(u.current)}return[function e(i){if(c(),t.current&&!0!==i)u.current=window.setTimeout((function(){t.current=!1,e()}),n);else{if(!1===r(i))return;t.current=!0,u.current=window.setTimeout((function(){t.current=!1}),n)}},function(){t.current=!1,c()}]};
1
+ import r from"react";var n=function(n,e){var t=r.useRef(!1),u=r.useRef(null);function c(){window.clearTimeout(u.current)}return[function r(i){if(c(),t.current&&!0!==i)u.current=window.setTimeout((function(){t.current=!1,r()}),e);else{if(!1===n(i))return;t.current=!0,u.current=window.setTimeout((function(){t.current=!1}),e)}},function(){t.current=!1,c()}]};export{n as default};
2
2
  //# sourceMappingURL=useBuffer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useBuffer.js","sources":["../../../../../node_modules/rc-align/es/hooks/useBuffer.js"],"sourcesContent":["import React from 'react';\nexport default (function (callback, buffer) {\n var calledRef = React.useRef(false);\n var timeoutRef = React.useRef(null);\n\n function cancelTrigger() {\n window.clearTimeout(timeoutRef.current);\n }\n\n function trigger(force) {\n cancelTrigger();\n\n if (!calledRef.current || force === true) {\n if (callback(force) === false) {\n // Not delay since callback cancelled self\n return;\n }\n\n calledRef.current = true;\n timeoutRef.current = window.setTimeout(function () {\n calledRef.current = false;\n }, buffer);\n } else {\n timeoutRef.current = window.setTimeout(function () {\n calledRef.current = false;\n trigger();\n }, buffer);\n }\n }\n\n return [trigger, function () {\n calledRef.current = false;\n cancelTrigger();\n }];\n});"],"names":["callback","buffer","calledRef","React","useRef","timeoutRef","cancelTrigger","window","clearTimeout","current","trigger","force","setTimeout"],"mappings":"mDACe,SAAWA,EAAUC,GAClC,IAAIC,EAAYC,EAAMC,QAAO,GACzBC,EAAaF,EAAMC,OAAO,MAE9B,SAASE,IACPC,OAAOC,aAAaH,EAAWI,QAChC,CAuBD,MAAO,CArBP,SAASC,EAAQC,GAGf,GAFAL,IAEKJ,EAAUO,UAAqB,IAAVE,EAWxBN,EAAWI,QAAUF,OAAOK,YAAW,WACrCV,EAAUO,SAAU,EACpBC,GACD,GAAET,OAdqC,CACxC,IAAwB,IAApBD,EAASW,GAEX,OAGFT,EAAUO,SAAU,EACpBJ,EAAWI,QAAUF,OAAOK,YAAW,WACrCV,EAAUO,SAAU,CACrB,GAAER,EACT,CAMG,EAEgB,WACfC,EAAUO,SAAU,EACpBH,GACJ,EACC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"useBuffer.js","sources":["../../../../../node_modules/rc-align/es/hooks/useBuffer.js"],"sourcesContent":["import React from 'react';\nexport default (function (callback, buffer) {\n var calledRef = React.useRef(false);\n var timeoutRef = React.useRef(null);\n\n function cancelTrigger() {\n window.clearTimeout(timeoutRef.current);\n }\n\n function trigger(force) {\n cancelTrigger();\n\n if (!calledRef.current || force === true) {\n if (callback(force) === false) {\n // Not delay since callback cancelled self\n return;\n }\n\n calledRef.current = true;\n timeoutRef.current = window.setTimeout(function () {\n calledRef.current = false;\n }, buffer);\n } else {\n timeoutRef.current = window.setTimeout(function () {\n calledRef.current = false;\n trigger();\n }, buffer);\n }\n }\n\n return [trigger, function () {\n calledRef.current = false;\n cancelTrigger();\n }];\n});"],"names":["useBuffer","callback","buffer","calledRef","React","useRef","timeoutRef","cancelTrigger","window","clearTimeout","current","trigger","force","setTimeout"],"mappings":"qBACA,IAAAA,EAAe,SAAWC,EAAUC,GAClC,IAAIC,EAAYC,EAAMC,QAAO,GACzBC,EAAaF,EAAMC,OAAO,MAE9B,SAASE,IACPC,OAAOC,aAAaH,EAAWI,QAChC,CAuBD,MAAO,CArBP,SAASC,EAAQC,GAGf,GAFAL,IAEKJ,EAAUO,UAAqB,IAAVE,EAWxBN,EAAWI,QAAUF,OAAOK,YAAW,WACrCV,EAAUO,SAAU,EACpBC,GACD,GAAET,OAdqC,CACxC,IAAwB,IAApBD,EAASW,GAEX,OAGFT,EAAUO,SAAU,EACpBJ,EAAWI,QAAUF,OAAOK,YAAW,WACrCV,EAAUO,SAAU,CACrB,GAAER,EACT,CAMG,EAEgB,WACfC,EAAUO,SAAU,EACpBH,GACJ,EACC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("./Align.js");module.exports=e;
1
+ import o from"./Align.js";export{o as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("../../@babel/runtime/helpers/esm/slicedToArray.js"),t=require("../../resize-observer-polyfill/dist/ResizeObserver.es.js"),n=require("../../rc-util/es/Dom/contains.js");exports.isSamePoint=function(e,t){return e===t||!(!e||!t)&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&(e.clientX===t.clientX&&e.clientY===t.clientY))},exports.monitorResize=function(n,i){var r=null,o=null,s=new t((function(t){var n=e(t,1)[0].target;if(document.documentElement.contains(n)){var s=n.getBoundingClientRect(),c=s.width,u=s.height,l=Math.floor(c),a=Math.floor(u);r===l&&o===a||Promise.resolve().then((function(){i({width:l,height:a})})),r=l,o=a}}));return n&&s.observe(n),function(){s.disconnect()}},exports.restoreFocus=function(e,t){e!==document.activeElement&&n(t,e)&&"function"==typeof e.focus&&e.focus()};
1
+ import e from"../../@babel/runtime/helpers/esm/slicedToArray.js";import n from"../../resize-observer-polyfill/dist/ResizeObserver.es.js";import t from"../../rc-util/es/Dom/contains.js";function i(e,n){return e===n||!(!e||!n)&&("pageX"in n&&"pageY"in n?e.pageX===n.pageX&&e.pageY===n.pageY:"clientX"in n&&"clientY"in n&&(e.clientX===n.clientX&&e.clientY===n.clientY))}function o(e,n){e!==document.activeElement&&t(n,e)&&"function"==typeof e.focus&&e.focus()}function r(t,i){var o=null,r=null;var c=new n((function(n){var t=e(n,1)[0].target;if(document.documentElement.contains(t)){var c=t.getBoundingClientRect(),l=c.width,s=c.height,u=Math.floor(l),a=Math.floor(s);o===u&&r===a||Promise.resolve().then((function(){i({width:u,height:a})})),o=u,r=a}}));return t&&c.observe(t),function(){c.disconnect()}}export{i as isSamePoint,r as monitorResize,o as restoreFocus};
2
2
  //# sourceMappingURL=util.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sources":["../../../../node_modules/rc-align/es/util.js"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport ResizeObserver from 'resize-observer-polyfill';\nimport contains from \"rc-util/es/Dom/contains\";\nexport function isSamePoint(prev, next) {\n if (prev === next) return true;\n if (!prev || !next) return false;\n\n if ('pageX' in next && 'pageY' in next) {\n return prev.pageX === next.pageX && prev.pageY === next.pageY;\n }\n\n if ('clientX' in next && 'clientY' in next) {\n return prev.clientX === next.clientX && prev.clientY === next.clientY;\n }\n\n return false;\n}\nexport function restoreFocus(activeElement, container) {\n // Focus back if is in the container\n if (activeElement !== document.activeElement && contains(container, activeElement) && typeof activeElement.focus === 'function') {\n activeElement.focus();\n }\n}\nexport function monitorResize(element, callback) {\n var prevWidth = null;\n var prevHeight = null;\n\n function onResize(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n target = _ref2[0].target;\n\n if (!document.documentElement.contains(target)) return;\n\n var _target$getBoundingCl = target.getBoundingClientRect(),\n width = _target$getBoundingCl.width,\n height = _target$getBoundingCl.height;\n\n var fixedWidth = Math.floor(width);\n var fixedHeight = Math.floor(height);\n\n if (prevWidth !== fixedWidth || prevHeight !== fixedHeight) {\n // https://webkit.org/blog/9997/resizeobserver-in-webkit/\n Promise.resolve().then(function () {\n callback({\n width: fixedWidth,\n height: fixedHeight\n });\n });\n }\n\n prevWidth = fixedWidth;\n prevHeight = fixedHeight;\n }\n\n var resizeObserver = new ResizeObserver(onResize);\n\n if (element) {\n resizeObserver.observe(element);\n }\n\n return function () {\n resizeObserver.disconnect();\n };\n}"],"names":["prev","next","pageX","pageY","clientX","clientY","element","callback","prevWidth","prevHeight","resizeObserver","ResizeObserver","_ref","target","_slicedToArray","document","documentElement","contains","_target$getBoundingCl","getBoundingClientRect","width","height","fixedWidth","Math","floor","fixedHeight","Promise","resolve","then","observe","disconnect","activeElement","container","focus"],"mappings":"wNAGO,SAAqBA,EAAMC,GAChC,OAAID,IAASC,MACRD,IAASC,KAEV,UAAWA,GAAQ,UAAWA,EACzBD,EAAKE,QAAUD,EAAKC,OAASF,EAAKG,QAAUF,EAAKE,MAGtD,YAAaF,GAAQ,YAAaA,IAC7BD,EAAKI,UAAYH,EAAKG,SAAWJ,EAAKK,UAAYJ,EAAKI,SAIlE,wBAOO,SAAuBC,EAASC,GACrC,IAAIC,EAAY,KACZC,EAAa,KA6BbC,EAAiB,IAAIC,GA3BzB,SAAkBC,GAChB,IACIC,EADQC,EAAeF,EAAM,GACd,GAAGC,OAEtB,GAAKE,SAASC,gBAAgBC,SAASJ,GAAvC,CAEA,IAAIK,EAAwBL,EAAOM,wBAC/BC,EAAQF,EAAsBE,MAC9BC,EAASH,EAAsBG,OAE/BC,EAAaC,KAAKC,MAAMJ,GACxBK,EAAcF,KAAKC,MAAMH,GAEzBb,IAAcc,GAAcb,IAAegB,GAE7CC,QAAQC,UAAUC,MAAK,WACrBrB,EAAS,CACPa,MAAOE,EACPD,OAAQI,GAElB,IAGIjB,EAAYc,EACZb,EAAagB,CApB0C,CAqBxD,IAQD,OAJInB,GACFI,EAAemB,QAAQvB,GAGlB,WACLI,EAAeoB,YACnB,CACA,uBA9CO,SAAsBC,EAAeC,GAEtCD,IAAkBhB,SAASgB,eAAiBd,EAASe,EAAWD,IAAiD,mBAAxBA,EAAcE,OACzGF,EAAcE,OAElB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"util.js","sources":["../../../../node_modules/rc-align/es/util.js"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport ResizeObserver from 'resize-observer-polyfill';\nimport contains from \"rc-util/es/Dom/contains\";\nexport function isSamePoint(prev, next) {\n if (prev === next) return true;\n if (!prev || !next) return false;\n\n if ('pageX' in next && 'pageY' in next) {\n return prev.pageX === next.pageX && prev.pageY === next.pageY;\n }\n\n if ('clientX' in next && 'clientY' in next) {\n return prev.clientX === next.clientX && prev.clientY === next.clientY;\n }\n\n return false;\n}\nexport function restoreFocus(activeElement, container) {\n // Focus back if is in the container\n if (activeElement !== document.activeElement && contains(container, activeElement) && typeof activeElement.focus === 'function') {\n activeElement.focus();\n }\n}\nexport function monitorResize(element, callback) {\n var prevWidth = null;\n var prevHeight = null;\n\n function onResize(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n target = _ref2[0].target;\n\n if (!document.documentElement.contains(target)) return;\n\n var _target$getBoundingCl = target.getBoundingClientRect(),\n width = _target$getBoundingCl.width,\n height = _target$getBoundingCl.height;\n\n var fixedWidth = Math.floor(width);\n var fixedHeight = Math.floor(height);\n\n if (prevWidth !== fixedWidth || prevHeight !== fixedHeight) {\n // https://webkit.org/blog/9997/resizeobserver-in-webkit/\n Promise.resolve().then(function () {\n callback({\n width: fixedWidth,\n height: fixedHeight\n });\n });\n }\n\n prevWidth = fixedWidth;\n prevHeight = fixedHeight;\n }\n\n var resizeObserver = new ResizeObserver(onResize);\n\n if (element) {\n resizeObserver.observe(element);\n }\n\n return function () {\n resizeObserver.disconnect();\n };\n}"],"names":["isSamePoint","prev","next","pageX","pageY","clientX","clientY","restoreFocus","activeElement","container","document","contains","focus","monitorResize","element","callback","prevWidth","prevHeight","resizeObserver","ResizeObserver","_ref","target","_slicedToArray","documentElement","_target$getBoundingCl","getBoundingClientRect","width","height","fixedWidth","Math","floor","fixedHeight","Promise","resolve","then","observe","disconnect"],"mappings":"yLAGO,SAASA,EAAYC,EAAMC,GAChC,OAAID,IAASC,MACRD,IAASC,KAEV,UAAWA,GAAQ,UAAWA,EACzBD,EAAKE,QAAUD,EAAKC,OAASF,EAAKG,QAAUF,EAAKE,MAGtD,YAAaF,GAAQ,YAAaA,IAC7BD,EAAKI,UAAYH,EAAKG,SAAWJ,EAAKK,UAAYJ,EAAKI,SAIlE,CACO,SAASC,EAAaC,EAAeC,GAEtCD,IAAkBE,SAASF,eAAiBG,EAASF,EAAWD,IAAiD,mBAAxBA,EAAcI,OACzGJ,EAAcI,OAElB,CACO,SAASC,EAAcC,EAASC,GACrC,IAAIC,EAAY,KACZC,EAAa,KA6BjB,IAAIC,EAAiB,IAAIC,GA3BzB,SAAkBC,GAChB,IACIC,EADQC,EAAeF,EAAM,GACd,GAAGC,OAEtB,GAAKX,SAASa,gBAAgBZ,SAASU,GAAvC,CAEA,IAAIG,EAAwBH,EAAOI,wBAC/BC,EAAQF,EAAsBE,MAC9BC,EAASH,EAAsBG,OAE/BC,EAAaC,KAAKC,MAAMJ,GACxBK,EAAcF,KAAKC,MAAMH,GAEzBX,IAAcY,GAAcX,IAAec,GAE7CC,QAAQC,UAAUC,MAAK,WACrBnB,EAAS,CACPW,MAAOE,EACPD,OAAQI,GAElB,IAGIf,EAAYY,EACZX,EAAac,CApB0C,CAqBxD,IAQD,OAJIjB,GACFI,EAAeiB,QAAQrB,GAGlB,WACLI,EAAekB,YACnB,CACA","x_google_ignoreList":[0]}