@swiftcrab/crab 0.0.3 → 0.0.4

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 (380) hide show
  1. package/es/_util/ActionButton.js +1 -1
  2. package/es/_util/ContextIsolator.js +1 -1
  3. package/es/_util/PurePanel.js +1 -1
  4. package/es/_util/hooks/useZIndex.js +1 -1
  5. package/es/_util/motion.js +1 -1
  6. package/es/_util/responsiveObserver.js +1 -1
  7. package/es/_util/wave/WaveEffect.js +1 -1
  8. package/es/_util/wave/index.js +1 -1
  9. package/es/_util/wave/interface.js +1 -1
  10. package/es/_util/wave/style.js +1 -1
  11. package/es/_util/wave/useWave.js +1 -1
  12. package/es/affix/index.js +1 -1
  13. package/es/affix/style/index.js +1 -1
  14. package/es/alert/Alert.js +1 -1
  15. package/es/alert/ErrorBoundary.js +1 -1
  16. package/es/alert/index.js +1 -1
  17. package/es/alert/style/index.js +1 -1
  18. package/es/anchor/Anchor.js +1 -1
  19. package/es/anchor/AnchorLink.js +1 -1
  20. package/es/anchor/index.js +1 -1
  21. package/es/anchor/style/index.js +1 -1
  22. package/es/app/index.js +1 -1
  23. package/es/app/style/index.js +1 -1
  24. package/es/auto-complete/index.js +1 -1
  25. package/es/avatar/avatar.js +1 -1
  26. package/es/avatar/group.js +1 -1
  27. package/es/avatar/index.js +1 -1
  28. package/es/avatar/style/index.js +1 -1
  29. package/es/badge/Ribbon.js +1 -1
  30. package/es/badge/ScrollNumber.js +1 -1
  31. package/es/badge/index.js +1 -1
  32. package/es/badge/style/index.js +1 -1
  33. package/es/badge/style/ribbon.js +1 -1
  34. package/es/breadcrumb/Breadcrumb.js +1 -1
  35. package/es/breadcrumb/BreadcrumbItem.js +1 -1
  36. package/es/breadcrumb/BreadcrumbSeparator.js +1 -1
  37. package/es/breadcrumb/index.js +1 -1
  38. package/es/breadcrumb/style/index.js +1 -1
  39. package/es/button/button-group.js +1 -1
  40. package/es/button/button.js +1 -1
  41. package/es/button/index.js +1 -1
  42. package/es/button/style/compact.js +1 -1
  43. package/es/button/style/index.js +1 -1
  44. package/es/button/style/token.js +1 -1
  45. package/es/calendar/Header.js +1 -1
  46. package/es/calendar/generateCalendar.js +1 -1
  47. package/es/calendar/index.js +1 -1
  48. package/es/calendar/style/index.js +1 -1
  49. package/es/calendar-panel/index.d.ts +7 -0
  50. package/es/calendar-panel/index.js +40 -0
  51. package/es/calendar-panel/style/index.d.ts +4 -0
  52. package/es/calendar-panel/style/index.js +35 -0
  53. package/es/calendar-panel/style/style.d.ts +1 -0
  54. package/es/calendar-panel/style/style.js +639 -0
  55. package/es/calendar-panel/types.d.ts +158 -0
  56. package/es/calendar-panel/types.js +0 -0
  57. package/es/calendar-panel/utils.d.ts +39 -0
  58. package/es/calendar-panel/utils.js +1 -0
  59. package/es/card/Card.js +1 -1
  60. package/es/card/Grid.js +1 -1
  61. package/es/card/Meta.js +1 -1
  62. package/es/card/index.js +1 -1
  63. package/es/card/style/index.js +1 -1
  64. package/es/carousel/index.js +1 -1
  65. package/es/carousel/style/index.js +1 -1
  66. package/es/cascader/Panel.js +1 -1
  67. package/es/cascader/hooks/useBase.js +1 -1
  68. package/es/cascader/index.js +1 -1
  69. package/es/cascader/style/columns.js +1 -1
  70. package/es/cascader/style/index.js +1 -1
  71. package/es/cascader/style/panel.js +1 -1
  72. package/es/checkbox/Checkbox.js +1 -1
  73. package/es/checkbox/Group.js +1 -1
  74. package/es/checkbox/index.js +1 -1
  75. package/es/checkbox/style/index.js +1 -1
  76. package/es/clap-overflow/index.d.ts +19 -0
  77. package/es/clap-overflow/index.js +40 -0
  78. package/es/clap-overflow/style/index.d.ts +16 -0
  79. package/es/clap-overflow/style/index.js +35 -0
  80. package/es/col/index.js +1 -1
  81. package/es/collapse/Collapse.js +1 -1
  82. package/es/collapse/CollapsePanel.js +1 -1
  83. package/es/collapse/index.js +1 -1
  84. package/es/collapse/style/index.js +1 -1
  85. package/es/color-picker/ColorPicker.js +1 -1
  86. package/es/color-picker/ColorPickerPanel.js +1 -1
  87. package/es/color-picker/components/ColorAlphaInput.js +1 -1
  88. package/es/color-picker/components/ColorHexInput.js +1 -1
  89. package/es/color-picker/components/ColorHsbInput.js +1 -1
  90. package/es/color-picker/components/ColorInput.js +1 -1
  91. package/es/color-picker/components/ColorPresets.js +1 -1
  92. package/es/color-picker/components/ColorRgbInput.js +1 -1
  93. package/es/color-picker/components/ColorSlider.js +1 -1
  94. package/es/color-picker/components/ColorSteppers.js +1 -1
  95. package/es/color-picker/components/PanelPicker/GradientColorBar.js +1 -1
  96. package/es/color-picker/components/PanelPicker/index.js +1 -1
  97. package/es/color-picker/components/PanelPresets.js +1 -1
  98. package/es/color-picker/index.js +1 -1
  99. package/es/color-picker/style/index.js +1 -1
  100. package/es/config-provider/MotionWrapper.js +1 -1
  101. package/es/config-provider/defaultRenderEmpty.js +1 -1
  102. package/es/config-provider/hooks/useCSSVarCls.js +1 -1
  103. package/es/config-provider/hooks/useTheme.js +1 -1
  104. package/es/config-provider/index.js +1 -1
  105. package/es/config-provider/style/index.js +1 -1
  106. package/es/date-picker/PickerButton.js +1 -1
  107. package/es/date-picker/generatePicker/generateRangePicker.js +1 -1
  108. package/es/date-picker/generatePicker/generateSinglePicker.js +1 -1
  109. package/es/date-picker/generatePicker/index.js +1 -1
  110. package/es/date-picker/generatePicker/useComponents.js +1 -1
  111. package/es/date-picker/index.js +1 -1
  112. package/es/date-picker/style/index.js +1 -1
  113. package/es/date-picker/style/multiple.js +1 -1
  114. package/es/date-picker/style/token.js +1 -1
  115. package/es/date-picker/style/variants.js +1 -1
  116. package/es/descriptions/hooks/useItems.js +1 -1
  117. package/es/descriptions/index.js +1 -1
  118. package/es/descriptions/style/index.js +1 -1
  119. package/es/divider/index.js +1 -1
  120. package/es/divider/style/index.js +1 -1
  121. package/es/drawer/DrawerPanel.js +1 -1
  122. package/es/drawer/index.js +1 -1
  123. package/es/drawer/style/index.js +1 -1
  124. package/es/dropdown/dropdown-button.js +1 -1
  125. package/es/dropdown/dropdown.js +1 -1
  126. package/es/dropdown/index.js +1 -1
  127. package/es/dropdown/style/index.js +1 -1
  128. package/es/empty/empty.js +1 -1
  129. package/es/empty/index.js +1 -1
  130. package/es/empty/simple.js +1 -1
  131. package/es/empty/style/index.js +1 -1
  132. package/es/flex/index.js +1 -1
  133. package/es/flex/style/index.js +1 -1
  134. package/es/form/ErrorList.js +1 -1
  135. package/es/form/Form.js +1 -1
  136. package/es/form/FormItem/ItemHolder.js +1 -1
  137. package/es/form/FormItem/index.js +1 -1
  138. package/es/form/FormItemInput.js +1 -1
  139. package/es/form/FormItemLabel.js +1 -1
  140. package/es/form/FormList.js +1 -1
  141. package/es/form/hooks/useVariants.js +1 -1
  142. package/es/form/index.js +1 -1
  143. package/es/form/style/fallbackCmp.js +1 -1
  144. package/es/form/style/index.js +1 -1
  145. package/es/form-area/ValidateTooltip.js +102 -102
  146. package/es/form-area/index.js +102 -102
  147. package/es/form-area/renderItemMap.js +102 -102
  148. package/es/gantt/index.d.ts +4 -0
  149. package/es/gantt/index.js +101 -0
  150. package/es/gantt/style/index.d.ts +4 -0
  151. package/es/gantt/style/index.js +35 -0
  152. package/es/gantt/style/style.d.ts +1 -0
  153. package/es/gantt/style/style.js +372 -0
  154. package/es/gantt/type.d.ts +138 -0
  155. package/es/gantt/type.js +0 -0
  156. package/es/gantt/utils.d.ts +36 -0
  157. package/es/gantt/utils.js +1 -0
  158. package/es/grid/col.js +1 -1
  159. package/es/grid/hooks/useBreakpoint.js +1 -1
  160. package/es/grid/index.js +1 -1
  161. package/es/grid/row.js +1 -1
  162. package/es/grid/style/index.js +1 -1
  163. package/es/hooks/index.js +102 -102
  164. package/es/hooks/useForm.d.ts +12 -33
  165. package/es/hooks/useForm.js +102 -102
  166. package/es/hour-panel/index.d.ts +4 -0
  167. package/es/hour-panel/index.js +99 -0
  168. package/es/hour-panel/style/index.d.ts +12 -0
  169. package/es/hour-panel/style/index.js +35 -0
  170. package/es/hour-panel/style/style.d.ts +1 -0
  171. package/es/hour-panel/style/style.js +351 -0
  172. package/es/hour-panel/types.d.ts +145 -0
  173. package/es/hour-panel/types.js +1 -0
  174. package/es/hour-panel/utils.d.ts +31 -0
  175. package/es/hour-panel/utils.js +1 -0
  176. package/es/image/PreviewGroup.js +1 -1
  177. package/es/image/index.js +1 -1
  178. package/es/image/style/index.js +1 -1
  179. package/es/index.d.ts +11 -1
  180. package/es/index.js +89 -89
  181. package/es/input/Group.js +1 -1
  182. package/es/input/Input.js +1 -1
  183. package/es/input/OTP/OTPInput.js +1 -1
  184. package/es/input/OTP/index.js +1 -1
  185. package/es/input/Password.js +1 -1
  186. package/es/input/Search.js +1 -1
  187. package/es/input/TextArea.js +1 -1
  188. package/es/input/index.js +1 -1
  189. package/es/input/style/index.js +1 -1
  190. package/es/input/style/otp.js +1 -1
  191. package/es/input/style/token.js +1 -1
  192. package/es/input/style/variants.js +1 -1
  193. package/es/input-number/index.js +1 -1
  194. package/es/input-number/style/index.js +1 -1
  195. package/es/input-number/style/token.js +1 -1
  196. package/es/layout/Sider.js +1 -1
  197. package/es/layout/hooks/useHasSider.js +1 -1
  198. package/es/layout/index.js +1 -1
  199. package/es/layout/layout.js +1 -1
  200. package/es/layout/style/index.js +1 -1
  201. package/es/layout/style/sider.js +1 -1
  202. package/es/list/Item.js +1 -1
  203. package/es/list/index.js +1 -1
  204. package/es/list/style/index.js +1 -1
  205. package/es/mentions/index.js +1 -1
  206. package/es/mentions/style/index.js +1 -1
  207. package/es/menu/MenuDivider.js +1 -1
  208. package/es/menu/MenuItem.js +1 -1
  209. package/es/menu/OverrideContext.js +1 -1
  210. package/es/menu/SubMenu.js +1 -1
  211. package/es/menu/index.js +1 -1
  212. package/es/menu/menu.js +1 -1
  213. package/es/menu/style/index.js +1 -1
  214. package/es/message/PurePanel.js +1 -1
  215. package/es/message/index.js +1 -1
  216. package/es/message/style/index.js +1 -1
  217. package/es/message/useMessage.js +1 -1
  218. package/es/modal/ConfirmDialog.js +1 -1
  219. package/es/modal/Modal.js +1 -1
  220. package/es/modal/PurePanel.js +1 -1
  221. package/es/modal/components/ConfirmCancelBtn.js +1 -1
  222. package/es/modal/components/ConfirmOkBtn.js +1 -1
  223. package/es/modal/components/NormalCancelBtn.js +1 -1
  224. package/es/modal/components/NormalOkBtn.js +1 -1
  225. package/es/modal/confirm.js +1 -1
  226. package/es/modal/index.js +1 -1
  227. package/es/modal/shared.js +1 -1
  228. package/es/modal/style/confirm.js +1 -1
  229. package/es/modal/style/index.js +1 -1
  230. package/es/modal/useModal/HookModal.js +1 -1
  231. package/es/modal/useModal/index.js +1 -1
  232. package/es/notification/PurePanel.js +1 -1
  233. package/es/notification/index.js +1 -1
  234. package/es/notification/style/index.js +1 -1
  235. package/es/notification/style/pure-panel.js +1 -1
  236. package/es/notification/useNotification.js +1 -1
  237. package/es/pagination/Pagination.js +1 -1
  238. package/es/pagination/index.js +1 -1
  239. package/es/pagination/style/bordered.js +1 -1
  240. package/es/pagination/style/index.js +1 -1
  241. package/es/popconfirm/PurePanel.js +1 -1
  242. package/es/popconfirm/index.js +1 -1
  243. package/es/popconfirm/style/index.js +1 -1
  244. package/es/popover/PurePanel.js +1 -1
  245. package/es/popover/index.js +1 -1
  246. package/es/popover/style/index.js +1 -1
  247. package/es/progress/Circle.js +1 -1
  248. package/es/progress/Line.js +1 -1
  249. package/es/progress/index.js +1 -1
  250. package/es/progress/progress.js +1 -1
  251. package/es/progress/style/index.js +1 -1
  252. package/es/qr-code/QrcodeStatus.js +1 -1
  253. package/es/qr-code/index.js +1 -1
  254. package/es/qr-code/style/index.js +1 -1
  255. package/es/qrcode/index.js +1 -1
  256. package/es/qrcode/style/index.js +1 -1
  257. package/es/radio/group.js +1 -1
  258. package/es/radio/index.js +1 -1
  259. package/es/radio/radio.js +1 -1
  260. package/es/radio/radioButton.js +1 -1
  261. package/es/radio/style/index.js +1 -1
  262. package/es/rate/index.js +1 -1
  263. package/es/rate/style/index.js +1 -1
  264. package/es/result/index.js +1 -1
  265. package/es/result/style/index.js +1 -1
  266. package/es/row/index.js +1 -1
  267. package/es/search-area/index.js +102 -102
  268. package/es/segmented/index.js +1 -1
  269. package/es/segmented/style/index.js +1 -1
  270. package/es/select/index.js +1 -1
  271. package/es/select/style/index.js +1 -1
  272. package/es/select/style/multiple.js +1 -1
  273. package/es/select/style/single.js +1 -1
  274. package/es/skeleton/Avatar.js +1 -1
  275. package/es/skeleton/Button.js +1 -1
  276. package/es/skeleton/Image.js +1 -1
  277. package/es/skeleton/Input.js +1 -1
  278. package/es/skeleton/Node.js +1 -1
  279. package/es/skeleton/Skeleton.js +1 -1
  280. package/es/skeleton/index.js +1 -1
  281. package/es/skeleton/style/index.js +1 -1
  282. package/es/slider/SliderTooltip.js +1 -1
  283. package/es/slider/index.js +1 -1
  284. package/es/slider/style/index.js +1 -1
  285. package/es/space/Compact.js +1 -1
  286. package/es/space/index.js +1 -1
  287. package/es/space/style/index.js +1 -1
  288. package/es/spin/index.js +1 -1
  289. package/es/spin/style/index.js +1 -1
  290. package/es/splitter/Splitter.js +1 -1
  291. package/es/splitter/index.js +1 -1
  292. package/es/splitter/style/index.js +1 -1
  293. package/es/statistic/Countdown.js +1 -1
  294. package/es/statistic/Statistic.js +1 -1
  295. package/es/statistic/index.js +1 -1
  296. package/es/statistic/style/index.js +1 -1
  297. package/es/steps/index.js +1 -1
  298. package/es/steps/style/index.js +1 -1
  299. package/es/switch/index.js +1 -1
  300. package/es/switch/style/index.js +1 -1
  301. package/es/table/InternalTable.js +1 -1
  302. package/es/table/Table.js +1 -1
  303. package/es/table/hooks/useFilter/FilterDropdown.js +1 -1
  304. package/es/table/hooks/useFilter/FilterSearch.js +1 -1
  305. package/es/table/hooks/useFilter/index.js +1 -1
  306. package/es/table/hooks/useSelection.js +1 -1
  307. package/es/table/hooks/useSorter.js +1 -1
  308. package/es/table/index.js +1 -1
  309. package/es/table/style/index.js +1 -1
  310. package/es/tabs/hooks/useAnimateConfig.js +1 -1
  311. package/es/tabs/index.js +1 -1
  312. package/es/tabs/style/index.js +1 -1
  313. package/es/tag/CheckableTag.js +1 -1
  314. package/es/tag/index.js +1 -1
  315. package/es/tag/style/index.js +1 -1
  316. package/es/tag/style/presetCmp.js +1 -1
  317. package/es/tag/style/statusCmp.js +1 -1
  318. package/es/theme/index.js +1 -1
  319. package/es/theme/interface/components.d.ts +11 -2
  320. package/es/theme/internal.js +1 -1
  321. package/es/theme/useToken.js +1 -1
  322. package/es/theme/util/genStyleUtils.js +1 -1
  323. package/es/theme/util/useResetIconStyle.js +1 -1
  324. package/es/time-out/index.d.ts +18 -0
  325. package/es/time-out/index.js +40 -0
  326. package/es/time-out/style/index.d.ts +31 -0
  327. package/es/time-out/style/index.js +35 -0
  328. package/es/time-out/style/style.d.ts +1 -0
  329. package/es/time-out/style/style.js +104 -0
  330. package/es/time-picker/index.js +1 -1
  331. package/es/timeline/Timeline.js +1 -1
  332. package/es/timeline/TimelineItem.js +1 -1
  333. package/es/timeline/TimelineItemList.js +1 -1
  334. package/es/timeline/index.js +1 -1
  335. package/es/timeline/style/index.js +1 -1
  336. package/es/tooltip/PurePanel.js +1 -1
  337. package/es/tooltip/index.js +1 -1
  338. package/es/tooltip/style/index.js +1 -1
  339. package/es/tour/PurePanel.js +1 -1
  340. package/es/tour/index.js +1 -1
  341. package/es/tour/panelRender.js +1 -1
  342. package/es/tour/style/index.js +1 -1
  343. package/es/transfer/ListBody.js +1 -1
  344. package/es/transfer/ListItem.js +1 -1
  345. package/es/transfer/index.js +1 -1
  346. package/es/transfer/list.js +1 -1
  347. package/es/transfer/operation.js +1 -1
  348. package/es/transfer/search.js +1 -1
  349. package/es/transfer/style/index.js +1 -1
  350. package/es/tree/DirectoryTree.js +1 -1
  351. package/es/tree/Tree.js +1 -1
  352. package/es/tree/index.js +1 -1
  353. package/es/tree/style/index.js +1 -1
  354. package/es/tree-select/index.js +1 -1
  355. package/es/tree-select/style/index.js +1 -1
  356. package/es/type/index.js +89 -89
  357. package/es/typography/Base/CopyBtn.js +1 -1
  358. package/es/typography/Base/EllipsisTooltip.js +1 -1
  359. package/es/typography/Base/index.js +1 -1
  360. package/es/typography/Editable.js +1 -1
  361. package/es/typography/Link.js +1 -1
  362. package/es/typography/Paragraph.js +1 -1
  363. package/es/typography/Text.js +1 -1
  364. package/es/typography/Title.js +1 -1
  365. package/es/typography/Typography.js +1 -1
  366. package/es/typography/index.js +1 -1
  367. package/es/typography/style/index.js +1 -1
  368. package/es/upload/Dragger.js +1 -1
  369. package/es/upload/Upload.js +1 -1
  370. package/es/upload/UploadList/ListItem.js +1 -1
  371. package/es/upload/UploadList/index.js +1 -1
  372. package/es/upload/index.js +1 -1
  373. package/es/upload/style/index.js +1 -1
  374. package/es/utils/common.d.ts +41 -0
  375. package/es/utils/common.js +4 -4
  376. package/es/utils/index.js +4 -4
  377. package/es/version/index.js +1 -1
  378. package/es/watermark/index.js +1 -1
  379. package/package.json +1 -1
  380. package/umd/index.min.js +147 -147
@@ -1,4 +1,4 @@
1
- import {useRef}from'react';var Sn=Object.create;var ar=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var bn=Object.getOwnPropertyNames;var An=Object.getPrototypeOf,En=Object.prototype.hasOwnProperty;var y=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var On=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of bn(e))!En.call(r,a)&&a!==t&&ar(r,a,{get:()=>e[a],enumerable:!(n=wn(e,a))||n.enumerable});return r};var xn=(r,e,t)=>(t=r!=null?Sn(An(r)):{},On(ar(t,"default",{value:r,enumerable:true}),r));var B=y((ei,or)=>{or.exports=TypeError;});var ir=y(()=>{});var ne=y((ni,Pr)=>{var Ce=typeof Map=="function"&&Map.prototype,Re=Object.getOwnPropertyDescriptor&&Ce?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,se=Ce&&Re&&typeof Re.get=="function"?Re.get:null,fr=Ce&&Map.prototype.forEach,Be=typeof Set=="function"&&Set.prototype,Fe=Object.getOwnPropertyDescriptor&&Be?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,de=Be&&Fe&&typeof Fe.get=="function"?Fe.get:null,lr=Be&&Set.prototype.forEach,Pn=typeof WeakMap=="function"&&WeakMap.prototype,ee=Pn?WeakMap.prototype.has:null,In=typeof WeakSet=="function"&&WeakSet.prototype,re=In?WeakSet.prototype.has:null,Rn=typeof WeakRef=="function"&&WeakRef.prototype,ur=Rn?WeakRef.prototype.deref:null,Fn=Boolean.prototype.valueOf,qn=Object.prototype.toString,Dn=Function.prototype.toString,$n=String.prototype.match,Le=String.prototype.slice,M=String.prototype.replace,Nn=String.prototype.toUpperCase,cr=String.prototype.toLowerCase,Sr=RegExp.prototype.test,pr=Array.prototype.concat,O=Array.prototype.join,Mn=Array.prototype.slice,yr=Math.floor,$e=typeof BigInt=="function"?BigInt.prototype.valueOf:null,qe=Object.getOwnPropertySymbols,Ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,H=typeof Symbol=="function"&&typeof Symbol.iterator=="object",te=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===H||true)?Symbol.toStringTag:null,wr=Object.prototype.propertyIsEnumerable,sr=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function dr(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Sr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-yr(-r):yr(r);if(n!==r){var a=String(n),o=Le.call(e,a.length+1);return M.call(a,t,"$&_")+"."+M.call(M.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return M.call(e,t,"$&_")}var Me=ir(),vr=Me.custom,hr=Er(vr)?vr:null,br={__proto__:null,double:'"',single:"'"},_n={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Pr.exports=function r(e,t,n,a){var o=t||{};if(R(o,"quoteStyle")&&!R(br,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(R(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=R(o,"customInspect")?o.customInspect:true;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(R(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(R(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=o.numericSeparator;if(typeof e>"u")return "undefined";if(e===null)return "null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return xr(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var f=String(e);return u?dr(e,f):f}if(typeof e=="bigint"){var p=String(e)+"n";return u?dr(e,p):p}var c=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof e=="object")return _e(e)?"[Array]":"[Object]";var s=jn(o,n);if(typeof a>"u")a=[];else if(Or(a,e)>=0)return "[Circular]";function l(E,N,I){if(N&&(a=Mn.call(a),a.push(N)),I){var Z={depth:o.depth};return R(o,"quoteStyle")&&(Z.quoteStyle=o.quoteStyle),r(E,Z,n+1,a)}return r(E,o,n+1,a)}if(typeof e=="function"&&!mr(e)){var m=zn(e),h=ye(e,l);return "[Function"+(m?": "+m:" (anonymous)")+"]"+(h.length>0?" { "+O.call(h,", ")+" }":"")}if(Er(e)){var b=H?M.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ne.call(e);return typeof e=="object"&&!H?j(b):b}if(Yn(e)){for(var A="<"+cr.call(String(e.nodeName)),F=e.attributes||[],q=0;q<F.length;q++)A+=" "+F[q].name+"="+Ar(Tn(F[q].value),"double",o);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="</"+cr.call(String(e.nodeName))+">",A}if(_e(e)){if(e.length===0)return "[]";var v=ye(e,l);return s&&!Zn(v)?"["+Te(v,s)+"]":"[ "+O.call(v,", ")+" ]"}if(Bn(e)){var D=ye(e,l);return !("cause"in Error.prototype)&&"cause"in e&&!wr.call(e,"cause")?"{ ["+String(e)+"] "+O.call(pr.call("[cause]: "+l(e.cause),D),", ")+" }":D.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+O.call(D,", ")+" }"}if(typeof e=="object"&&i){if(hr&&typeof e[hr]=="function"&&Me)return Me(e,{depth:c-n});if(i!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Hn(e)){var T=[];return fr&&fr.call(e,function(E,N){T.push(l(N,e,true)+" => "+l(E,e));}),gr("Map",se.call(e),T,s)}if(Qn(e)){var X=[];return lr&&lr.call(e,function(E){X.push(l(E,e));}),gr("Set",de.call(e),X,s)}if(Kn(e))return De("WeakMap");if(Jn(e))return De("WeakSet");if(Vn(e))return De("WeakRef");if(Un(e))return j(l(Number(e)));if(Gn(e))return j(l($e.call(e)));if(Wn(e))return j(Fn.call(e));if(Ln(e))return j(l(String(e)));if(typeof window<"u"&&e===window)return "{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return "{ [object globalThis] }";if(!Cn(e)&&!mr(e)){var k=ye(e,l),ce=sr?sr(e)===Object.prototype:e instanceof Object||e.constructor===Object,C=e instanceof Object?"":"null prototype",$=!ce&&te&&Object(e)===e&&te in e?Le.call(_(e),8,-1):C?"Object":"",pe=ce||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",z=pe+($||C?"["+O.call(pr.call([],$||[],C||[]),": ")+"] ":"");return k.length===0?z+"{}":s?z+"{"+Te(k,s)+"}":z+"{ "+O.call(k,", ")+" }"}return String(e)};function Ar(r,e,t){var n=t.quoteStyle||e,a=br[n];return a+r+a}function Tn(r){return M.call(String(r),/"/g,"&quot;")}function L(r){return !te||!(typeof r=="object"&&(te in r||typeof r[te]<"u"))}function _e(r){return _(r)==="[object Array]"&&L(r)}function Cn(r){return _(r)==="[object Date]"&&L(r)}function mr(r){return _(r)==="[object RegExp]"&&L(r)}function Bn(r){return _(r)==="[object Error]"&&L(r)}function Ln(r){return _(r)==="[object String]"&&L(r)}function Un(r){return _(r)==="[object Number]"&&L(r)}function Wn(r){return _(r)==="[object Boolean]"&&L(r)}function Er(r){if(H)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return true;if(!r||typeof r!="object"||!Ne)return false;try{return Ne.call(r),!0}catch{}return false}function Gn(r){if(!r||typeof r!="object"||!$e)return false;try{return $e.call(r),!0}catch{}return false}var kn=Object.prototype.hasOwnProperty||function(r){return r in this};function R(r,e){return kn.call(r,e)}function _(r){return qn.call(r)}function zn(r){if(r.name)return r.name;var e=$n.call(Dn.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Or(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return -1}function Hn(r){if(!se||!r||typeof r!="object")return false;try{se.call(r);try{de.call(r);}catch{return !0}return r instanceof Map}catch{}return false}function Kn(r){if(!ee||!r||typeof r!="object")return false;try{ee.call(r,ee);try{re.call(r,re);}catch{return !0}return r instanceof WeakMap}catch{}return false}function Vn(r){if(!ur||!r||typeof r!="object")return false;try{return ur.call(r),!0}catch{}return false}function Qn(r){if(!de||!r||typeof r!="object")return false;try{de.call(r);try{se.call(r);}catch{return !0}return r instanceof Set}catch{}return false}function Jn(r){if(!re||!r||typeof r!="object")return false;try{re.call(r,re);try{ee.call(r,ee);}catch{return !0}return r instanceof WeakSet}catch{}return false}function Yn(r){return !r||typeof r!="object"?false:typeof HTMLElement<"u"&&r instanceof HTMLElement?true:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function xr(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return xr(Le.call(r,0,e.maxStringLength),e)+n}var a=_n[e.quoteStyle||"single"];a.lastIndex=0;var o=M.call(M.call(r,a,"\\$1"),/[\x00-\x1f]/g,Xn);return Ar(o,"single",e)}function Xn(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+Nn.call(e.toString(16))}function j(r){return "Object("+r+")"}function De(r){return r+" { ? }"}function gr(r,e,t,n){var a=n?Te(t,n):O.call(t,", ");return r+" ("+e+") {"+a+"}"}function Zn(r){for(var e=0;e<r.length;e++)if(Or(r[e],`
2
- `)>=0)return false;return true}function jn(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=O.call(Array(r.indent+1)," ");else return null;return {base:t,prev:O.call(Array(e+1),t)}}function Te(r,e){if(r.length===0)return "";var t=`
3
- `+e.prev+e.base;return t+O.call(r,","+t)+`
4
- `+e.prev}function ye(r,e){var t=_e(r),n=[];if(t){n.length=r.length;for(var a=0;a<r.length;a++)n[a]=R(r,a)?e(r[a],r):"";}var o=typeof qe=="function"?qe(r):[],i;if(H){i={};for(var u=0;u<o.length;u++)i["$"+o[u]]=o[u];}for(var f in r)R(r,f)&&(t&&String(Number(f))===f&&f<r.length||H&&i["$"+f]instanceof Symbol||(Sr.call(/[^\w$]/,f)?n.push(e(f,r)+": "+e(r[f],r)):n.push(f+": "+e(r[f],r))));if(typeof qe=="function")for(var p=0;p<o.length;p++)wr.call(r,o[p])&&n.push("["+e(o[p])+"]: "+e(r[o[p]],r));return n}});var Rr=y((ai,Ir)=>{var ea=ne(),ra=B(),ve=function(r,e,t){for(var n=r,a;(a=n.next)!=null;n=a)if(a.key===e)return n.next=a.next,t||(a.next=r.next,r.next=a),a},ta=function(r,e){if(r){var t=ve(r,e);return t&&t.value}},na=function(r,e,t){var n=ve(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t};},aa=function(r,e){return r?!!ve(r,e):false},oa=function(r,e){if(r)return ve(r,e,true)};Ir.exports=function(){var e,t={assert:function(n){if(!t.has(n))throw new ra("Side channel does not contain "+ea(n))},delete:function(n){var a=e&&e.next,o=oa(e,n);return o&&a&&a===o&&(e=void 0),!!o},get:function(n){return ta(e,n)},has:function(n){return aa(e,n)},set:function(n,a){e||(e={next:void 0}),na(e,n,a);}};return t};});var Ue=y((oi,Fr)=>{Fr.exports=Object;});var Dr=y((ii,qr)=>{qr.exports=Error;});var Nr=y((fi,$r)=>{$r.exports=EvalError;});var _r=y((li,Mr)=>{Mr.exports=RangeError;});var Cr=y((ui,Tr)=>{Tr.exports=ReferenceError;});var Lr=y((ci,Br)=>{Br.exports=SyntaxError;});var Wr=y((pi,Ur)=>{Ur.exports=URIError;});var kr=y((yi,Gr)=>{Gr.exports=Math.abs;});var Hr=y((si,zr)=>{zr.exports=Math.floor;});var Vr=y((di,Kr)=>{Kr.exports=Math.max;});var Jr=y((vi,Qr)=>{Qr.exports=Math.min;});var Xr=y((hi,Yr)=>{Yr.exports=Math.pow;});var jr=y((mi,Zr)=>{Zr.exports=Math.round;});var rt=y((gi,et)=>{et.exports=Number.isNaN||function(e){return e!==e};});var nt=y((Si,tt)=>{var ia=rt();tt.exports=function(e){return ia(e)||e===0?e:e<0?-1:1};});var ot=y((wi,at)=>{at.exports=Object.getOwnPropertyDescriptor;});var We=y((bi,it)=>{var he=ot();if(he)try{he([],"length");}catch{he=null;}it.exports=he;});var lt=y((Ai,ft)=>{var me=Object.defineProperty||false;if(me)try{me({},"a",{value:1});}catch{me=false;}ft.exports=me;});var ct=y((Ei,ut)=>{ut.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return false;if(typeof Symbol.iterator=="symbol")return true;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return false;var a=42;e[t]=a;for(var o in e)return false;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return false;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return false;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,t);if(u.value!==a||u.enumerable!==true)return false}return true};});var st=y((Oi,yt)=>{var pt=typeof Symbol<"u"&&Symbol,fa=ct();yt.exports=function(){return typeof pt!="function"||typeof Symbol!="function"||typeof pt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?false:fa()};});var Ge=y((xi,dt)=>{dt.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null;});var ke=y((Pi,vt)=>{var la=Ue();vt.exports=la.getPrototypeOf||null;});var gt=y((Ii,mt)=>{var ua="Function.prototype.bind called on incompatible ",ca=Object.prototype.toString,pa=Math.max,ya="[object Function]",ht=function(e,t){for(var n=[],a=0;a<e.length;a+=1)n[a]=e[a];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n},sa=function(e,t){for(var n=[],a=t,o=0;a<e.length;a+=1,o+=1)n[o]=e[a];return n},da=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};mt.exports=function(e){var t=this;if(typeof t!="function"||ca.apply(t)!==ya)throw new TypeError(ua+t);for(var n=sa(arguments,1),a,o=function(){if(this instanceof a){var c=t.apply(this,ht(n,arguments));return Object(c)===c?c:this}return t.apply(e,ht(n,arguments))},i=pa(0,t.length-n.length),u=[],f=0;f<i;f++)u[f]="$"+f;if(a=Function("binder","return function ("+da(u,",")+"){ return binder.apply(this,arguments); }")(o),t.prototype){var p=function(){};p.prototype=t.prototype,a.prototype=new p,p.prototype=null;}return a};});var ae=y((Ri,St)=>{var va=gt();St.exports=Function.prototype.bind||va;});var ge=y((Fi,wt)=>{wt.exports=Function.prototype.call;});var ze=y((qi,bt)=>{bt.exports=Function.prototype.apply;});var Et=y((Di,At)=>{At.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply;});var xt=y(($i,Ot)=>{var ha=ae(),ma=ze(),ga=ge(),Sa=Et();Ot.exports=Sa||ha.call(ga,ma);});var He=y((Ni,Pt)=>{var wa=ae(),ba=B(),Aa=ge(),Ea=xt();Pt.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new ba("a function is required");return Ea(wa,Aa,e)};});var $t=y((Mi,Dt)=>{var Oa=He(),It=We(),Ft;try{Ft=[].__proto__===Array.prototype;}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Ke=!!Ft&&It&&It(Object.prototype,"__proto__"),qt=Object,Rt=qt.getPrototypeOf;Dt.exports=Ke&&typeof Ke.get=="function"?Oa([Ke.get]):typeof Rt=="function"?function(e){return Rt(e==null?e:qt(e))}:false;});var Ct=y((_i,Tt)=>{var Nt=Ge(),Mt=ke(),_t=$t();Tt.exports=Nt?function(e){return Nt(e)}:Mt?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Mt(e)}:_t?function(e){return _t(e)}:null;});var Lt=y((Ti,Bt)=>{var xa=Function.prototype.call,Pa=Object.prototype.hasOwnProperty,Ia=ae();Bt.exports=Ia.call(xa,Pa);});var be=y((Ci,Ht)=>{var d,Ra=Ue(),Fa=Dr(),qa=Nr(),Da=_r(),$a=Cr(),J=Lr(),Q=B(),Na=Wr(),Ma=kr(),_a=Hr(),Ta=Vr(),Ca=Jr(),Ba=Xr(),La=jr(),Ua=nt(),kt=Function,Ve=function(r){try{return kt('"use strict"; return ('+r+").constructor;")()}catch{}},oe=We(),Wa=lt(),Qe=function(){throw new Q},Ga=oe?(function(){try{return arguments.callee,Qe}catch{try{return oe(arguments,"callee").get}catch{return Qe}}})():Qe,K=st()(),w=Ct(),ka=ke(),za=Ge(),zt=ze(),ie=ge(),V={},Ha=typeof Uint8Array>"u"||!w?d:w(Uint8Array),U={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":K&&w?w([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":V,"%AsyncGenerator%":V,"%AsyncGeneratorFunction%":V,"%AsyncIteratorPrototype%":V,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Fa,"%eval%":eval,"%EvalError%":qa,"%Float16Array%":typeof Float16Array>"u"?d:Float16Array,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":kt,"%GeneratorFunction%":V,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":K&&w?w(w([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map>"u"||!K||!w?d:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Ra,"%Object.getOwnPropertyDescriptor%":oe,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":Da,"%ReferenceError%":$a,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set>"u"||!K||!w?d:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":K&&w?w(""[Symbol.iterator]()):d,"%Symbol%":K?Symbol:d,"%SyntaxError%":J,"%ThrowTypeError%":Ga,"%TypedArray%":Ha,"%TypeError%":Q,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":Na,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet,"%Function.prototype.call%":ie,"%Function.prototype.apply%":zt,"%Object.defineProperty%":Wa,"%Object.getPrototypeOf%":ka,"%Math.abs%":Ma,"%Math.floor%":_a,"%Math.max%":Ta,"%Math.min%":Ca,"%Math.pow%":Ba,"%Math.round%":La,"%Math.sign%":Ua,"%Reflect.getPrototypeOf%":za};if(w)try{null.error;}catch(r){Ut=w(w(r)),U["%Error.prototype%"]=Ut;}var Ut,Ka=function r(e){var t;if(e==="%AsyncFunction%")t=Ve("async function () {}");else if(e==="%GeneratorFunction%")t=Ve("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Ve("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype);}else if(e==="%AsyncIteratorPrototype%"){var a=r("%AsyncGenerator%");a&&w&&(t=w(a.prototype));}return U[e]=t,t},Wt={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},fe=ae(),Se=Lt(),Va=fe.call(ie,Array.prototype.concat),Qa=fe.call(zt,Array.prototype.splice),Gt=fe.call(ie,String.prototype.replace),we=fe.call(ie,String.prototype.slice),Ja=fe.call(ie,RegExp.prototype.exec),Ya=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Xa=/\\(\\)?/g,Za=function(e){var t=we(e,0,1),n=we(e,-1);if(t==="%"&&n!=="%")throw new J("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new J("invalid intrinsic syntax, expected opening `%`");var a=[];return Gt(e,Ya,function(o,i,u,f){a[a.length]=u?Gt(f,Xa,"$1"):i||o;}),a},ja=function(e,t){var n=e,a;if(Se(Wt,n)&&(a=Wt[n],n="%"+a[0]+"%"),Se(U,n)){var o=U[n];if(o===V&&(o=Ka(n)),typeof o>"u"&&!t)throw new Q("intrinsic "+e+" exists, but is not available. Please file an issue!");return {alias:a,name:n,value:o}}throw new J("intrinsic "+e+" does not exist!")};Ht.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new Q("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Q('"allowMissing" argument must be a boolean');if(Ja(/^%?[^%]*%?$/,e)===null)throw new J("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Za(e),a=n.length>0?n[0]:"",o=ja("%"+a+"%",t),i=o.name,u=o.value,f=false,p=o.alias;p&&(a=p[0],Qa(n,Va([0,1],p)));for(var c=1,s=true;c<n.length;c+=1){var l=n[c],m=we(l,0,1),h=we(l,-1);if((m==='"'||m==="'"||m==="`"||h==='"'||h==="'"||h==="`")&&m!==h)throw new J("property names with quotes must have matching quotes");if((l==="constructor"||!s)&&(f=true),a+="."+l,i="%"+a+"%",Se(U,i))u=U[i];else if(u!=null){if(!(l in u)){if(!t)throw new Q("base intrinsic for "+e+" exists, but the property is not available.");return}if(oe&&c+1>=n.length){var b=oe(u,l);s=!!b,s&&"get"in b&&!("originalValue"in b.get)?u=b.get:u=u[l];}else s=Se(u,l),u=u[l];s&&!f&&(U[i]=u);}}return u};});var Je=y((Bi,Qt)=>{var Kt=be(),Vt=He(),eo=Vt([Kt("%String.prototype.indexOf%")]);Qt.exports=function(e,t){var n=Kt(e,!!t);return typeof n=="function"&&eo(e,".prototype.")>-1?Vt([n]):n};});var Ye=y((Li,Yt)=>{var ro=be(),le=Je(),to=ne(),no=B(),Jt=ro("%Map%",true),ao=le("Map.prototype.get",true),oo=le("Map.prototype.set",true),io=le("Map.prototype.has",true),fo=le("Map.prototype.delete",true),lo=le("Map.prototype.size",true);Yt.exports=!!Jt&&function(){var e,t={assert:function(n){if(!t.has(n))throw new no("Side channel does not contain "+to(n))},delete:function(n){if(e){var a=fo(e,n);return lo(e)===0&&(e=void 0),a}return false},get:function(n){if(e)return ao(e,n)},has:function(n){return e?io(e,n):false},set:function(n,a){e||(e=new Jt),oo(e,n,a);}};return t};});var Zt=y((Ui,Xt)=>{var uo=be(),Ee=Je(),co=ne(),Ae=Ye(),po=B(),Y=uo("%WeakMap%",true),yo=Ee("WeakMap.prototype.get",true),so=Ee("WeakMap.prototype.set",true),vo=Ee("WeakMap.prototype.has",true),ho=Ee("WeakMap.prototype.delete",true);Xt.exports=Y?function(){var e,t,n={assert:function(a){if(!n.has(a))throw new po("Side channel does not contain "+co(a))},delete:function(a){if(Y&&a&&(typeof a=="object"||typeof a=="function")){if(e)return ho(e,a)}else if(Ae&&t)return t.delete(a);return false},get:function(a){return Y&&a&&(typeof a=="object"||typeof a=="function")&&e?yo(e,a):t&&t.get(a)},has:function(a){return Y&&a&&(typeof a=="object"||typeof a=="function")&&e?vo(e,a):!!t&&t.has(a)},set:function(a,o){Y&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new Y),so(e,a,o)):Ae&&(t||(t=Ae()),t.set(a,o));}};return n}:Ae;});var en=y((Wi,jt)=>{var mo=B(),go=ne(),So=Rr(),wo=Ye(),bo=Zt(),Ao=bo||wo||So;jt.exports=function(){var e,t={assert:function(n){if(!t.has(n))throw new mo("Side channel does not contain "+go(n))},delete:function(n){return !!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return !!e&&e.has(n)},set:function(n,a){e||(e=Ao()),e.set(n,a);}};return t};});var Oe=y((Gi,rn)=>{var Eo=String.prototype.replace,Oo=/%20/g,Xe={RFC1738:"RFC1738",RFC3986:"RFC3986"};rn.exports={default:Xe.RFC3986,formatters:{RFC1738:function(r){return Eo.call(r,Oo,"+")},RFC3986:function(r){return String(r)}},RFC1738:Xe.RFC1738,RFC3986:Xe.RFC3986};});var er=y((ki,nn)=>{var xo=Oe(),Ze=Object.prototype.hasOwnProperty,W=Array.isArray,x=(function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r})(),Po=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(W(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&a.push(n[o]);t.obj[t.prop]=a;}}},tn=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},a=0;a<e.length;++a)typeof e[a]<"u"&&(n[a]=e[a]);return n},Io=function r(e,t,n){if(!t)return e;if(typeof t!="object"&&typeof t!="function"){if(W(e))e.push(t);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ze.call(Object.prototype,t))&&(e[t]=true);else return [e,t];return e}if(!e||typeof e!="object")return [e].concat(t);var a=e;return W(e)&&!W(t)&&(a=tn(e,n)),W(e)&&W(t)?(t.forEach(function(o,i){if(Ze.call(e,i)){var u=e[i];u&&typeof u=="object"&&o&&typeof o=="object"?e[i]=r(u,o,n):e.push(o);}else e[i]=o;}),e):Object.keys(t).reduce(function(o,i){var u=t[i];return Ze.call(o,i)?o[i]=r(o[i],u,n):o[i]=u,o},a)},Ro=function(e,t){return Object.keys(t).reduce(function(n,a){return n[a]=t[a],n},e)},Fo=function(r,e,t){var n=r.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},je=1024,qo=function(e,t,n,a,o){if(e.length===0)return e;var i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(m){return "%26%23"+parseInt(m.slice(2),16)+"%3B"});for(var u="",f=0;f<i.length;f+=je){for(var p=i.length>=je?i.slice(f,f+je):i,c=[],s=0;s<p.length;++s){var l=p.charCodeAt(s);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===xo.RFC1738&&(l===40||l===41)){c[c.length]=p.charAt(s);continue}if(l<128){c[c.length]=x[l];continue}if(l<2048){c[c.length]=x[192|l>>6]+x[128|l&63];continue}if(l<55296||l>=57344){c[c.length]=x[224|l>>12]+x[128|l>>6&63]+x[128|l&63];continue}s+=1,l=65536+((l&1023)<<10|p.charCodeAt(s)&1023),c[c.length]=x[240|l>>18]+x[128|l>>12&63]+x[128|l>>6&63]+x[128|l&63];}u+=c.join("");}return u},Do=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var o=t[a],i=o.obj[o.prop],u=Object.keys(i),f=0;f<u.length;++f){var p=u[f],c=i[p];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(t.push({obj:i,prop:p}),n.push(c));}return Po(t),e},$o=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},No=function(e){return !e||typeof e!="object"?false:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Mo=function(e,t){return [].concat(e,t)},_o=function(e,t){if(W(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)};nn.exports={arrayToObject:tn,assign:Ro,combine:Mo,compact:Do,decode:Fo,encode:qo,isBuffer:No,isRegExp:$o,maybeMap:_o,merge:Io};});var cn=y((zi,un)=>{var on=en(),xe=er(),ue=Oe(),To=Object.prototype.hasOwnProperty,fn={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},P=Array.isArray,Co=Array.prototype.push,ln=function(r,e){Co.apply(r,P(e)?e:[e]);},Bo=Date.prototype.toISOString,an=ue.default,S={addQueryPrefix:false,allowDots:false,allowEmptyArrays:false,arrayFormat:"indices",charset:"utf-8",charsetSentinel:false,commaRoundTrip:false,delimiter:"&",encode:true,encodeDotInKeys:false,encoder:xe.encode,encodeValuesOnly:false,filter:void 0,format:an,formatter:ue.formatters[an],indices:false,serializeDate:function(e){return Bo.call(e)},skipNulls:false,strictNullHandling:false},Lo=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},rr={},Uo=function r(e,t,n,a,o,i,u,f,p,c,s,l,m,h,b,A,F,q){for(var v=e,D=q,T=0,X=false;(D=D.get(rr))!==void 0&&!X;){var k=D.get(e);if(T+=1,typeof k<"u"){if(k===T)throw new RangeError("Cyclic object value");X=true;}typeof D.get(rr)>"u"&&(T=0);}if(typeof c=="function"?v=c(t,v):v instanceof Date?v=m(v):n==="comma"&&P(v)&&(v=xe.maybeMap(v,function(Ie){return Ie instanceof Date?m(Ie):Ie})),v===null){if(i)return p&&!A?p(t,S.encoder,F,"key",h):t;v="";}if(Lo(v)||xe.isBuffer(v)){if(p){var ce=A?t:p(t,S.encoder,F,"key",h);return [b(ce)+"="+b(p(v,S.encoder,F,"value",h))]}return [b(t)+"="+b(String(v))]}var C=[];if(typeof v>"u")return C;var $;if(n==="comma"&&P(v))A&&p&&(v=xe.maybeMap(v,p)),$=[{value:v.length>0?v.join(",")||null:void 0}];else if(P(c))$=c;else {var pe=Object.keys(v);$=s?pe.sort(s):pe;}var z=f?String(t).replace(/\./g,"%2E"):String(t),E=a&&P(v)&&v.length===1?z+"[]":z;if(o&&P(v)&&v.length===0)return E+"[]";for(var N=0;N<$.length;++N){var I=$[N],Z=typeof I=="object"&&I&&typeof I.value<"u"?I.value:v[I];if(!(u&&Z===null)){var Pe=l&&f?String(I).replace(/\./g,"%2E"):String(I),gn=P(v)?typeof n=="function"?n(E,Pe):E:E+(l?"."+Pe:"["+Pe+"]");q.set(e,T);var nr=on();nr.set(rr,q),ln(C,r(Z,gn,n,a,o,i,u,f,n==="comma"&&A&&P(v)?null:p,c,s,l,m,h,b,A,F,nr));}}return C},Wo=function(e){if(!e)return S;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=e.charset||S.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=ue.default;if(typeof e.format<"u"){if(!To.call(ue.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format;}var a=ue.formatters[n],o=S.filter;(typeof e.filter=="function"||P(e.filter))&&(o=e.filter);var i;if(e.arrayFormat in fn?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=S.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=typeof e.allowDots>"u"?e.encodeDotInKeys===true?true:S.allowDots:!!e.allowDots;return {addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:S.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:S.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:S.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?S.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:S.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:S.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:S.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:S.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:S.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:S.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:S.strictNullHandling}};un.exports=function(r,e){var t=r,n=Wo(e),a,o;typeof n.filter=="function"?(o=n.filter,t=o("",t)):P(n.filter)&&(o=n.filter,a=o);var i=[];if(typeof t!="object"||t===null)return "";var u=fn[n.arrayFormat],f=u==="comma"&&n.commaRoundTrip;a||(a=Object.keys(t)),n.sort&&a.sort(n.sort);for(var p=on(),c=0;c<a.length;++c){var s=a[c],l=t[s];n.skipNulls&&l===null||ln(i,Uo(l,s,u,f,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,p));}var m=i.join(n.delimiter),h=n.addQueryPrefix===true?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),m.length>0?h+m:""};});var dn=y((Hi,sn)=>{var G=er(),tr=Object.prototype.hasOwnProperty,pn=Array.isArray,g={allowDots:false,allowEmptyArrays:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decodeDotInKeys:false,decoder:G.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictDepth:false,strictNullHandling:false,throwOnLimitExceeded:false},Go=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},yn=function(r,e,t){if(r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1)return r.split(",");if(e.throwOnLimitExceeded&&t>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return r},ko="utf8=%26%2310003%3B",zo="utf8=%E2%9C%93",Ho=function(e,t){var n={__proto__:null},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=a.split(t.delimiter,t.throwOnLimitExceeded?o+1:o);if(t.throwOnLimitExceeded&&i.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(o===1?"":"s")+" allowed.");var u=-1,f,p=t.charset;if(t.charsetSentinel)for(f=0;f<i.length;++f)i[f].indexOf("utf8=")===0&&(i[f]===zo?p="utf-8":i[f]===ko&&(p="iso-8859-1"),u=f,f=i.length);for(f=0;f<i.length;++f)if(f!==u){var c=i[f],s=c.indexOf("]="),l=s===-1?c.indexOf("="):s+1,m,h;l===-1?(m=t.decoder(c,g.decoder,p,"key"),h=t.strictNullHandling?null:""):(m=t.decoder(c.slice(0,l),g.decoder,p,"key"),h=G.maybeMap(yn(c.slice(l+1),t,pn(n[m])?n[m].length:0),function(A){return t.decoder(A,g.decoder,p,"value")})),h&&t.interpretNumericEntities&&p==="iso-8859-1"&&(h=Go(String(h))),c.indexOf("[]=")>-1&&(h=pn(h)?[h]:h);var b=tr.call(n,m);b&&t.duplicates==="combine"?n[m]=G.combine(n[m],h):(!b||t.duplicates==="last")&&(n[m]=h);}return n},Ko=function(r,e,t,n){var a=0;if(r.length>0&&r[r.length-1]==="[]"){var o=r.slice(0,-1).join("");a=Array.isArray(e)&&e[o]?e[o].length:0;}for(var i=n?e:yn(e,t,a),u=r.length-1;u>=0;--u){var f,p=r[u];if(p==="[]"&&t.parseArrays)f=t.allowEmptyArrays&&(i===""||t.strictNullHandling&&i===null)?[]:G.combine([],i);else {f=t.plainObjects?{__proto__:null}:{};var c=p.charAt(0)==="["&&p.charAt(p.length-1)==="]"?p.slice(1,-1):p,s=t.decodeDotInKeys?c.replace(/%2E/g,"."):c,l=parseInt(s,10);!t.parseArrays&&s===""?f={0:i}:!isNaN(l)&&p!==s&&String(l)===s&&l>=0&&t.parseArrays&&l<=t.arrayLimit?(f=[],f[l]=i):s!=="__proto__"&&(f[s]=i);}i=f;}return i},Vo=function(e,t,n,a){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,f=n.depth>0&&i.exec(o),p=f?o.slice(0,f.index):o,c=[];if(p){if(!n.plainObjects&&tr.call(Object.prototype,p)&&!n.allowPrototypes)return;c.push(p);}for(var s=0;n.depth>0&&(f=u.exec(o))!==null&&s<n.depth;){if(s+=1,!n.plainObjects&&tr.call(Object.prototype,f[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(f[1]);}if(f){if(n.strictDepth===true)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");c.push("["+o.slice(f.index)+"]");}return Ko(c,t,n,a)}},Qo=function(e){if(!e)return g;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=typeof e.charset>"u"?g.charset:e.charset,n=typeof e.duplicates>"u"?g.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var a=typeof e.allowDots>"u"?e.decodeDotInKeys===true?true:g.allowDots:!!e.allowDots;return {allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:g.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:g.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:g.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:g.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:g.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:g.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:g.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:g.decoder,delimiter:typeof e.delimiter=="string"||G.isRegExp(e.delimiter)?e.delimiter:g.delimiter,depth:typeof e.depth=="number"||e.depth===false?+e.depth:g.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===true,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:g.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:g.parameterLimit,parseArrays:e.parseArrays!==false,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:g.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:g.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:g.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:false}};sn.exports=function(r,e){var t=Qo(e);if(r===""||r===null||typeof r>"u")return t.plainObjects?{__proto__:null}:{};for(var n=typeof r=="string"?Ho(r,t):r,a=t.plainObjects?{__proto__:null}:{},o=Object.keys(n),i=0;i<o.length;++i){var u=o[i],f=Vo(u,n[u],t,typeof r=="string");a=G.merge(a,f,t);}return t.allowSparse===true?a:G.compact(a)};});var hn=y((Ki,vn)=>{var Jo=cn(),Yo=dn(),Xo=Oe();vn.exports={formats:Xo,parse:Yo,stringify:Jo};});var mn=xn(hn());var Qi=(r,e)=>{let t=e?`?${mn.default.stringify(e,{arrayFormat:"indices",allowDots:true})}`:"";window.open(`${r}${t}`);},Ji=(r,e={})=>{let t=document.createElement("form");t.action=r,t.method="POST",t.target="_blank",t.style.visibility="hidden",Object.entries(e).forEach(([n,a])=>{if([void 0,null,"",NaN].includes(a)||Array.isArray(a)&&!a.length)return;let o=document.createElement("input");o.type="hidden",o.name=n,o.value=a,t.appendChild(o);}),document.body.appendChild(t),t.submit(),t.remove();};function Yi(r){let e=typeof r=="string"?r:window.location.hash,[,t=""]=e.split("?"),n=new URLSearchParams(t),a={};return n.forEach((o,i)=>{try{let u=decodeURIComponent(o);a[i]=JSON.parse(u);}catch{try{a[i]=decodeURIComponent(o);}catch{a[i]=o;}}}),a}function Xi(r,e){return Object.entries(r).find(([,n])=>n===e)?.[0]}function Zi(r){return Object.keys(r).filter(e=>isNaN(+e)).map(e=>({label:e,value:r[e]}))}function ji(r,e){switch(e.toUpperCase()){case "KB":return r*1024;case "MB":return r*1024*1024;case "GB":return r*1024*1024*1024;default:return null}}function ef(){let r=useRef(true);return r.current?(r.current=false,true):r.current}export{Qi as downloadGet,Ji as downloadPost,Zi as enum2DataSource,ji as formatFileLength,Xi as getEnumLabel,Yi as parseHashParams,ef as useIsFirstRender};
1
+ import {useRef}from'react';var In=Object.create;var pr=Object.defineProperty;var $n=Object.getOwnPropertyDescriptor;var Fn=Object.getOwnPropertyNames;var Dn=Object.getPrototypeOf,Nn=Object.prototype.hasOwnProperty;var d=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var _n=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Fn(e))!Nn.call(r,o)&&o!==n&&pr(r,o,{get:()=>e[o],enumerable:!(t=$n(e,o))||t.enumerable});return r};var qn=(r,e,n)=>(n=r!=null?In(Dn(r)):{},_n(pr(n,"default",{value:r,enumerable:true}),r));var L=d((di,yr)=>{yr.exports=TypeError;});var dr=d(()=>{});var ae=d((gi,qr)=>{var We=typeof Map=="function"&&Map.prototype,Ne=Object.getOwnPropertyDescriptor&&We?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ve=We&&Ne&&typeof Ne.get=="function"?Ne.get:null,vr=We&&Map.prototype.forEach,Ge=typeof Set=="function"&&Set.prototype,_e=Object.getOwnPropertyDescriptor&&Ge?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,he=Ge&&_e&&typeof _e.get=="function"?_e.get:null,hr=Ge&&Set.prototype.forEach,Mn=typeof WeakMap=="function"&&WeakMap.prototype,te=Mn?WeakMap.prototype.has:null,Tn=typeof WeakSet=="function"&&WeakSet.prototype,ne=Tn?WeakSet.prototype.has:null,Cn=typeof WeakRef=="function"&&WeakRef.prototype,gr=Cn?WeakRef.prototype.deref:null,Bn=Boolean.prototype.valueOf,Ln=Object.prototype.toString,Un=Function.prototype.toString,Wn=String.prototype.match,Ke=String.prototype.slice,M=String.prototype.replace,Gn=String.prototype.toUpperCase,mr=String.prototype.toLowerCase,Rr=RegExp.prototype.test,Sr=Array.prototype.concat,P=Array.prototype.join,Kn=Array.prototype.slice,wr=Math.floor,Te=typeof BigInt=="function"?BigInt.prototype.valueOf:null,qe=Object.getOwnPropertySymbols,Ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,H=typeof Symbol=="function"&&typeof Symbol.iterator=="object",oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===H||true)?Symbol.toStringTag:null,Ir=Object.prototype.propertyIsEnumerable,br=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Ar(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Rr.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var t=r<0?-wr(-r):wr(r);if(t!==r){var o=String(t),a=Ke.call(e,o.length+1);return M.call(o,n,"$&_")+"."+M.call(M.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return M.call(e,n,"$&_")}var Be=dr(),Er=Be.custom,Or=Dr(Er)?Er:null,$r={__proto__:null,double:'"',single:"'"},kn={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};qr.exports=function r(e,n,t,o){var a=n||{};if(F(a,"quoteStyle")&&!F($r,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(F(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=F(a,"customInspect")?a.customInspect:true;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(F(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(F(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=a.numericSeparator;if(typeof e>"u")return "undefined";if(e===null)return "null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return _r(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return f?Ar(e,l):l}if(typeof e=="bigint"){var c=String(e)+"n";return f?Ar(e,c):c}var s=typeof a.depth>"u"?5:a.depth;if(typeof t>"u"&&(t=0),t>=s&&s>0&&typeof e=="object")return Le(e)?"[Array]":"[Object]";var p=uo(a,t);if(typeof o>"u")o=[];else if(Nr(o,e)>=0)return "[Circular]";function u(O,q,$){if(q&&(o=Kn.call(o),o.push(q)),$){var ee={depth:a.depth};return F(a,"quoteStyle")&&(ee.quoteStyle=a.quoteStyle),r(O,ee,t+1,o)}return r(O,a,t+1,o)}if(typeof e=="function"&&!Pr(e)){var h=Zn(e),y=de(e,u);return "[Function"+(h?": "+h:" (anonymous)")+"]"+(y.length>0?" { "+P.call(y,", ")+" }":"")}if(Dr(e)){var m=H?M.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ce.call(e);return typeof e=="object"&&!H?re(m):m}if(ao(e)){for(var w="<"+mr.call(String(e.nodeName)),E=e.attributes||[],D=0;D<E.length;D++)w+=" "+E[D].name+"="+Fr(zn(E[D].value),"double",a);return w+=">",e.childNodes&&e.childNodes.length&&(w+="..."),w+="</"+mr.call(String(e.nodeName))+">",w}if(Le(e)){if(e.length===0)return "[]";var g=de(e,u);return p&&!lo(g)?"["+Ue(g,p)+"]":"[ "+P.call(g,", ")+" ]"}if(Hn(e)){var N=de(e,u);return !("cause"in Error.prototype)&&"cause"in e&&!Ir.call(e,"cause")?"{ ["+String(e)+"] "+P.call(Sr.call("[cause]: "+u(e.cause),N),", ")+" }":N.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+P.call(N,", ")+" }"}if(typeof e=="object"&&i){if(Or&&typeof e[Or]=="function"&&Be)return Be(e,{depth:s-t});if(i!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(eo(e)){var C=[];return vr&&vr.call(e,function(O,q){C.push(u(q,e,true)+" => "+u(O,e));}),xr("Map",ve.call(e),C,p)}if(no(e)){var Z=[];return hr&&hr.call(e,function(O){Z.push(u(O,e));}),xr("Set",he.call(e),Z,p)}if(ro(e))return Me("WeakMap");if(oo(e))return Me("WeakSet");if(to(e))return Me("WeakRef");if(Jn(e))return re(u(Number(e)));if(Xn(e))return re(u(Te.call(e)));if(Yn(e))return re(Bn.call(e));if(Qn(e))return re(u(String(e)));if(typeof window<"u"&&e===window)return "{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return "{ [object globalThis] }";if(!Vn(e)&&!Pr(e)){var z=de(e,u),pe=br?br(e)===Object.prototype:e instanceof Object||e.constructor===Object,B=e instanceof Object?"":"null prototype",_=!pe&&oe&&Object(e)===e&&oe in e?Ke.call(T(e),8,-1):B?"Object":"",ye=pe||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",V=ye+(_||B?"["+P.call(Sr.call([],_||[],B||[]),": ")+"] ":"");return z.length===0?V+"{}":p?V+"{"+Ue(z,p)+"}":V+"{ "+P.call(z,", ")+" }"}return String(e)};function Fr(r,e,n){var t=n.quoteStyle||e,o=$r[t];return o+r+o}function zn(r){return M.call(String(r),/"/g,"&quot;")}function U(r){return !oe||!(typeof r=="object"&&(oe in r||typeof r[oe]<"u"))}function Le(r){return T(r)==="[object Array]"&&U(r)}function Vn(r){return T(r)==="[object Date]"&&U(r)}function Pr(r){return T(r)==="[object RegExp]"&&U(r)}function Hn(r){return T(r)==="[object Error]"&&U(r)}function Qn(r){return T(r)==="[object String]"&&U(r)}function Jn(r){return T(r)==="[object Number]"&&U(r)}function Yn(r){return T(r)==="[object Boolean]"&&U(r)}function Dr(r){if(H)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return true;if(!r||typeof r!="object"||!Ce)return false;try{return Ce.call(r),!0}catch{}return false}function Xn(r){if(!r||typeof r!="object"||!Te)return false;try{return Te.call(r),!0}catch{}return false}var jn=Object.prototype.hasOwnProperty||function(r){return r in this};function F(r,e){return jn.call(r,e)}function T(r){return Ln.call(r)}function Zn(r){if(r.name)return r.name;var e=Wn.call(Un.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Nr(r,e){if(r.indexOf)return r.indexOf(e);for(var n=0,t=r.length;n<t;n++)if(r[n]===e)return n;return -1}function eo(r){if(!ve||!r||typeof r!="object")return false;try{ve.call(r);try{he.call(r);}catch{return !0}return r instanceof Map}catch{}return false}function ro(r){if(!te||!r||typeof r!="object")return false;try{te.call(r,te);try{ne.call(r,ne);}catch{return !0}return r instanceof WeakMap}catch{}return false}function to(r){if(!gr||!r||typeof r!="object")return false;try{return gr.call(r),!0}catch{}return false}function no(r){if(!he||!r||typeof r!="object")return false;try{he.call(r);try{ve.call(r);}catch{return !0}return r instanceof Set}catch{}return false}function oo(r){if(!ne||!r||typeof r!="object")return false;try{ne.call(r,ne);try{te.call(r,te);}catch{return !0}return r instanceof WeakSet}catch{}return false}function ao(r){return !r||typeof r!="object"?false:typeof HTMLElement<"u"&&r instanceof HTMLElement?true:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function _r(r,e){if(r.length>e.maxStringLength){var n=r.length-e.maxStringLength,t="... "+n+" more character"+(n>1?"s":"");return _r(Ke.call(r,0,e.maxStringLength),e)+t}var o=kn[e.quoteStyle||"single"];o.lastIndex=0;var a=M.call(M.call(r,o,"\\$1"),/[\x00-\x1f]/g,io);return Fr(a,"single",e)}function io(r){var e=r.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+Gn.call(e.toString(16))}function re(r){return "Object("+r+")"}function Me(r){return r+" { ? }"}function xr(r,e,n,t){var o=t?Ue(n,t):P.call(n,", ");return r+" ("+e+") {"+o+"}"}function lo(r){for(var e=0;e<r.length;e++)if(Nr(r[e],`
2
+ `)>=0)return false;return true}function uo(r,e){var n;if(r.indent===" ")n=" ";else if(typeof r.indent=="number"&&r.indent>0)n=P.call(Array(r.indent+1)," ");else return null;return {base:n,prev:P.call(Array(e+1),n)}}function Ue(r,e){if(r.length===0)return "";var n=`
3
+ `+e.prev+e.base;return n+P.call(r,","+n)+`
4
+ `+e.prev}function de(r,e){var n=Le(r),t=[];if(n){t.length=r.length;for(var o=0;o<r.length;o++)t[o]=F(r,o)?e(r[o],r):"";}var a=typeof qe=="function"?qe(r):[],i;if(H){i={};for(var f=0;f<a.length;f++)i["$"+a[f]]=a[f];}for(var l in r)F(r,l)&&(n&&String(Number(l))===l&&l<r.length||H&&i["$"+l]instanceof Symbol||(Rr.call(/[^\w$]/,l)?t.push(e(l,r)+": "+e(r[l],r)):t.push(l+": "+e(r[l],r))));if(typeof qe=="function")for(var c=0;c<a.length;c++)Ir.call(r,a[c])&&t.push("["+e(a[c])+"]: "+e(r[a[c]],r));return t}});var Tr=d((mi,Mr)=>{var fo=ae(),co=L(),ge=function(r,e,n){for(var t=r,o;(o=t.next)!=null;t=o)if(o.key===e)return t.next=o.next,n||(o.next=r.next,r.next=o),o},so=function(r,e){if(r){var n=ge(r,e);return n&&n.value}},po=function(r,e,n){var t=ge(r,e);t?t.value=n:r.next={key:e,next:r.next,value:n};},yo=function(r,e){return r?!!ge(r,e):false},vo=function(r,e){if(r)return ge(r,e,true)};Mr.exports=function(){var e,n={assert:function(t){if(!n.has(t))throw new co("Side channel does not contain "+fo(t))},delete:function(t){var o=e&&e.next,a=vo(e,t);return a&&o&&o===a&&(e=void 0),!!a},get:function(t){return so(e,t)},has:function(t){return yo(e,t)},set:function(t,o){e||(e={next:void 0}),po(e,t,o);}};return n};});var ke=d((Si,Cr)=>{Cr.exports=Object;});var Lr=d((wi,Br)=>{Br.exports=Error;});var Wr=d((bi,Ur)=>{Ur.exports=EvalError;});var Kr=d((Ai,Gr)=>{Gr.exports=RangeError;});var zr=d((Ei,kr)=>{kr.exports=ReferenceError;});var Hr=d((Oi,Vr)=>{Vr.exports=SyntaxError;});var Jr=d((Pi,Qr)=>{Qr.exports=URIError;});var Xr=d((xi,Yr)=>{Yr.exports=Math.abs;});var Zr=d((Ri,jr)=>{jr.exports=Math.floor;});var rt=d((Ii,et)=>{et.exports=Math.max;});var nt=d(($i,tt)=>{tt.exports=Math.min;});var at=d((Fi,ot)=>{ot.exports=Math.pow;});var lt=d((Di,it)=>{it.exports=Math.round;});var ft=d((Ni,ut)=>{ut.exports=Number.isNaN||function(e){return e!==e};});var st=d((_i,ct)=>{var ho=ft();ct.exports=function(e){return ho(e)||e===0?e:e<0?-1:1};});var yt=d((qi,pt)=>{pt.exports=Object.getOwnPropertyDescriptor;});var ze=d((Mi,dt)=>{var me=yt();if(me)try{me([],"length");}catch{me=null;}dt.exports=me;});var ht=d((Ti,vt)=>{var Se=Object.defineProperty||false;if(Se)try{Se({},"a",{value:1});}catch{Se=false;}vt.exports=Se;});var mt=d((Ci,gt)=>{gt.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return false;if(typeof Symbol.iterator=="symbol")return true;var e={},n=Symbol("test"),t=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(t)!=="[object Symbol]")return false;var o=42;e[n]=o;for(var a in e)return false;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return false;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return false;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,n);if(f.value!==o||f.enumerable!==true)return false}return true};});var bt=d((Bi,wt)=>{var St=typeof Symbol<"u"&&Symbol,go=mt();wt.exports=function(){return typeof St!="function"||typeof Symbol!="function"||typeof St("foo")!="symbol"||typeof Symbol("bar")!="symbol"?false:go()};});var Ve=d((Li,At)=>{At.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null;});var He=d((Ui,Et)=>{var mo=ke();Et.exports=mo.getPrototypeOf||null;});var xt=d((Wi,Pt)=>{var So="Function.prototype.bind called on incompatible ",wo=Object.prototype.toString,bo=Math.max,Ao="[object Function]",Ot=function(e,n){for(var t=[],o=0;o<e.length;o+=1)t[o]=e[o];for(var a=0;a<n.length;a+=1)t[a+e.length]=n[a];return t},Eo=function(e,n){for(var t=[],o=n,a=0;o<e.length;o+=1,a+=1)t[a]=e[o];return t},Oo=function(r,e){for(var n="",t=0;t<r.length;t+=1)n+=r[t],t+1<r.length&&(n+=e);return n};Pt.exports=function(e){var n=this;if(typeof n!="function"||wo.apply(n)!==Ao)throw new TypeError(So+n);for(var t=Eo(arguments,1),o,a=function(){if(this instanceof o){var s=n.apply(this,Ot(t,arguments));return Object(s)===s?s:this}return n.apply(e,Ot(t,arguments))},i=bo(0,n.length-t.length),f=[],l=0;l<i;l++)f[l]="$"+l;if(o=Function("binder","return function ("+Oo(f,",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var c=function(){};c.prototype=n.prototype,o.prototype=new c,c.prototype=null;}return o};});var ie=d((Gi,Rt)=>{var Po=xt();Rt.exports=Function.prototype.bind||Po;});var we=d((Ki,It)=>{It.exports=Function.prototype.call;});var Qe=d((ki,$t)=>{$t.exports=Function.prototype.apply;});var Dt=d((zi,Ft)=>{Ft.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply;});var _t=d((Vi,Nt)=>{var xo=ie(),Ro=Qe(),Io=we(),$o=Dt();Nt.exports=$o||xo.call(Io,Ro);});var Je=d((Hi,qt)=>{var Fo=ie(),Do=L(),No=we(),_o=_t();qt.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Do("a function is required");return _o(Fo,No,e)};});var Ut=d((Qi,Lt)=>{var qo=Je(),Mt=ze(),Ct;try{Ct=[].__proto__===Array.prototype;}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Ye=!!Ct&&Mt&&Mt(Object.prototype,"__proto__"),Bt=Object,Tt=Bt.getPrototypeOf;Lt.exports=Ye&&typeof Ye.get=="function"?qo([Ye.get]):typeof Tt=="function"?function(e){return Tt(e==null?e:Bt(e))}:false;});var zt=d((Ji,kt)=>{var Wt=Ve(),Gt=He(),Kt=Ut();kt.exports=Wt?function(e){return Wt(e)}:Gt?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Gt(e)}:Kt?function(e){return Kt(e)}:null;});var Ht=d((Yi,Vt)=>{var Mo=Function.prototype.call,To=Object.prototype.hasOwnProperty,Co=ie();Vt.exports=Co.call(Mo,To);});var Ee=d((Xi,Zt)=>{var v,Bo=ke(),Lo=Lr(),Uo=Wr(),Wo=Kr(),Go=zr(),X=Hr(),Y=L(),Ko=Jr(),ko=Xr(),zo=Zr(),Vo=rt(),Ho=nt(),Qo=at(),Jo=lt(),Yo=st(),Xt=Function,Xe=function(r){try{return Xt('"use strict"; return ('+r+").constructor;")()}catch{}},le=ze(),Xo=ht(),je=function(){throw new Y},jo=le?(function(){try{return arguments.callee,je}catch{try{return le(arguments,"callee").get}catch{return je}}})():je,Q=bt()(),A=zt(),Zo=He(),ea=Ve(),jt=Qe(),ue=we(),J={},ra=typeof Uint8Array>"u"||!A?v:A(Uint8Array),W={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":Q&&A?A([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":J,"%AsyncGenerator%":J,"%AsyncGeneratorFunction%":J,"%AsyncIteratorPrototype%":J,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Lo,"%eval%":eval,"%EvalError%":Uo,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":Xt,"%GeneratorFunction%":J,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Q&&A?A(A([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Q||!A?v:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Bo,"%Object.getOwnPropertyDescriptor%":le,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":Wo,"%ReferenceError%":Go,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Q||!A?v:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Q&&A?A(""[Symbol.iterator]()):v,"%Symbol%":Q?Symbol:v,"%SyntaxError%":X,"%ThrowTypeError%":jo,"%TypedArray%":ra,"%TypeError%":Y,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":Ko,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":ue,"%Function.prototype.apply%":jt,"%Object.defineProperty%":Xo,"%Object.getPrototypeOf%":Zo,"%Math.abs%":ko,"%Math.floor%":zo,"%Math.max%":Vo,"%Math.min%":Ho,"%Math.pow%":Qo,"%Math.round%":Jo,"%Math.sign%":Yo,"%Reflect.getPrototypeOf%":ea};if(A)try{null.error;}catch(r){Qt=A(A(r)),W["%Error.prototype%"]=Qt;}var Qt,ta=function r(e){var n;if(e==="%AsyncFunction%")n=Xe("async function () {}");else if(e==="%GeneratorFunction%")n=Xe("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=Xe("async function* () {}");else if(e==="%AsyncGenerator%"){var t=r("%AsyncGeneratorFunction%");t&&(n=t.prototype);}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&A&&(n=A(o.prototype));}return W[e]=n,n},Jt={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},fe=ie(),be=Ht(),na=fe.call(ue,Array.prototype.concat),oa=fe.call(jt,Array.prototype.splice),Yt=fe.call(ue,String.prototype.replace),Ae=fe.call(ue,String.prototype.slice),aa=fe.call(ue,RegExp.prototype.exec),ia=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,la=/\\(\\)?/g,ua=function(e){var n=Ae(e,0,1),t=Ae(e,-1);if(n==="%"&&t!=="%")throw new X("invalid intrinsic syntax, expected closing `%`");if(t==="%"&&n!=="%")throw new X("invalid intrinsic syntax, expected opening `%`");var o=[];return Yt(e,ia,function(a,i,f,l){o[o.length]=f?Yt(l,la,"$1"):i||a;}),o},fa=function(e,n){var t=e,o;if(be(Jt,t)&&(o=Jt[t],t="%"+o[0]+"%"),be(W,t)){var a=W[t];if(a===J&&(a=ta(t)),typeof a>"u"&&!n)throw new Y("intrinsic "+e+" exists, but is not available. Please file an issue!");return {alias:o,name:t,value:a}}throw new X("intrinsic "+e+" does not exist!")};Zt.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new Y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Y('"allowMissing" argument must be a boolean');if(aa(/^%?[^%]*%?$/,e)===null)throw new X("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=ua(e),o=t.length>0?t[0]:"",a=fa("%"+o+"%",n),i=a.name,f=a.value,l=false,c=a.alias;c&&(o=c[0],oa(t,na([0,1],c)));for(var s=1,p=true;s<t.length;s+=1){var u=t[s],h=Ae(u,0,1),y=Ae(u,-1);if((h==='"'||h==="'"||h==="`"||y==='"'||y==="'"||y==="`")&&h!==y)throw new X("property names with quotes must have matching quotes");if((u==="constructor"||!p)&&(l=true),o+="."+u,i="%"+o+"%",be(W,i))f=W[i];else if(f!=null){if(!(u in f)){if(!n)throw new Y("base intrinsic for "+e+" exists, but the property is not available.");return}if(le&&s+1>=t.length){var m=le(f,u);p=!!m,p&&"get"in m&&!("originalValue"in m.get)?f=m.get:f=f[u];}else p=be(f,u),f=f[u];p&&!l&&(W[i]=f);}}return f};});var Ze=d((ji,tn)=>{var en=Ee(),rn=Je(),ca=rn([en("%String.prototype.indexOf%")]);tn.exports=function(e,n){var t=en(e,!!n);return typeof t=="function"&&ca(e,".prototype.")>-1?rn([t]):t};});var er=d((Zi,on)=>{var sa=Ee(),ce=Ze(),pa=ae(),ya=L(),nn=sa("%Map%",true),da=ce("Map.prototype.get",true),va=ce("Map.prototype.set",true),ha=ce("Map.prototype.has",true),ga=ce("Map.prototype.delete",true),ma=ce("Map.prototype.size",true);on.exports=!!nn&&function(){var e,n={assert:function(t){if(!n.has(t))throw new ya("Side channel does not contain "+pa(t))},delete:function(t){if(e){var o=ga(e,t);return ma(e)===0&&(e=void 0),o}return false},get:function(t){if(e)return da(e,t)},has:function(t){return e?ha(e,t):false},set:function(t,o){e||(e=new nn),va(e,t,o);}};return n};});var ln=d((el,an)=>{var Sa=Ee(),Pe=Ze(),wa=ae(),Oe=er(),ba=L(),j=Sa("%WeakMap%",true),Aa=Pe("WeakMap.prototype.get",true),Ea=Pe("WeakMap.prototype.set",true),Oa=Pe("WeakMap.prototype.has",true),Pa=Pe("WeakMap.prototype.delete",true);an.exports=j?function(){var e,n,t={assert:function(o){if(!t.has(o))throw new ba("Side channel does not contain "+wa(o))},delete:function(o){if(j&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Pa(e,o)}else if(Oe&&n)return n.delete(o);return false},get:function(o){return j&&o&&(typeof o=="object"||typeof o=="function")&&e?Aa(e,o):n&&n.get(o)},has:function(o){return j&&o&&(typeof o=="object"||typeof o=="function")&&e?Oa(e,o):!!n&&n.has(o)},set:function(o,a){j&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new j),Ea(e,o,a)):Oe&&(n||(n=Oe()),n.set(o,a));}};return t}:Oe;});var fn=d((rl,un)=>{var xa=L(),Ra=ae(),Ia=Tr(),$a=er(),Fa=ln(),Da=Fa||$a||Ia;un.exports=function(){var e,n={assert:function(t){if(!n.has(t))throw new xa("Side channel does not contain "+Ra(t))},delete:function(t){return !!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return !!e&&e.has(t)},set:function(t,o){e||(e=Da()),e.set(t,o);}};return n};});var xe=d((tl,cn)=>{var Na=String.prototype.replace,_a=/%20/g,rr={RFC1738:"RFC1738",RFC3986:"RFC3986"};cn.exports={default:rr.RFC3986,formatters:{RFC1738:function(r){return Na.call(r,_a,"+")},RFC3986:function(r){return String(r)}},RFC1738:rr.RFC1738,RFC3986:rr.RFC3986};});var or=d((nl,pn)=>{var qa=xe(),tr=Object.prototype.hasOwnProperty,G=Array.isArray,x=(function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r})(),Ma=function(e){for(;e.length>1;){var n=e.pop(),t=n.obj[n.prop];if(G(t)){for(var o=[],a=0;a<t.length;++a)typeof t[a]<"u"&&o.push(t[a]);n.obj[n.prop]=o;}}},sn=function(e,n){for(var t=n&&n.plainObjects?{__proto__:null}:{},o=0;o<e.length;++o)typeof e[o]<"u"&&(t[o]=e[o]);return t},Ta=function r(e,n,t){if(!n)return e;if(typeof n!="object"&&typeof n!="function"){if(G(e))e.push(n);else if(e&&typeof e=="object")(t&&(t.plainObjects||t.allowPrototypes)||!tr.call(Object.prototype,n))&&(e[n]=true);else return [e,n];return e}if(!e||typeof e!="object")return [e].concat(n);var o=e;return G(e)&&!G(n)&&(o=sn(e,t)),G(e)&&G(n)?(n.forEach(function(a,i){if(tr.call(e,i)){var f=e[i];f&&typeof f=="object"&&a&&typeof a=="object"?e[i]=r(f,a,t):e.push(a);}else e[i]=a;}),e):Object.keys(n).reduce(function(a,i){var f=n[i];return tr.call(a,i)?a[i]=r(a[i],f,t):a[i]=f,a},o)},Ca=function(e,n){return Object.keys(n).reduce(function(t,o){return t[o]=n[o],t},e)},Ba=function(r,e,n){var t=r.replace(/\+/g," ");if(n==="iso-8859-1")return t.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(t)}catch{return t}},nr=1024,La=function(e,n,t,o,a){if(e.length===0)return e;var i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),t==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(h){return "%26%23"+parseInt(h.slice(2),16)+"%3B"});for(var f="",l=0;l<i.length;l+=nr){for(var c=i.length>=nr?i.slice(l,l+nr):i,s=[],p=0;p<c.length;++p){var u=c.charCodeAt(p);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===qa.RFC1738&&(u===40||u===41)){s[s.length]=c.charAt(p);continue}if(u<128){s[s.length]=x[u];continue}if(u<2048){s[s.length]=x[192|u>>6]+x[128|u&63];continue}if(u<55296||u>=57344){s[s.length]=x[224|u>>12]+x[128|u>>6&63]+x[128|u&63];continue}p+=1,u=65536+((u&1023)<<10|c.charCodeAt(p)&1023),s[s.length]=x[240|u>>18]+x[128|u>>12&63]+x[128|u>>6&63]+x[128|u&63];}f+=s.join("");}return f},Ua=function(e){for(var n=[{obj:{o:e},prop:"o"}],t=[],o=0;o<n.length;++o)for(var a=n[o],i=a.obj[a.prop],f=Object.keys(i),l=0;l<f.length;++l){var c=f[l],s=i[c];typeof s=="object"&&s!==null&&t.indexOf(s)===-1&&(n.push({obj:i,prop:c}),t.push(s));}return Ma(n),e},Wa=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Ga=function(e){return !e||typeof e!="object"?false:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Ka=function(e,n){return [].concat(e,n)},ka=function(e,n){if(G(e)){for(var t=[],o=0;o<e.length;o+=1)t.push(n(e[o]));return t}return n(e)};pn.exports={arrayToObject:sn,assign:Ca,combine:Ka,compact:Ua,decode:Ba,encode:La,isBuffer:Ga,isRegExp:Wa,maybeMap:ka,merge:Ta};});var mn=d((ol,gn)=>{var dn=fn(),Re=or(),se=xe(),za=Object.prototype.hasOwnProperty,vn={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,n){return e+"["+n+"]"},repeat:function(e){return e}},R=Array.isArray,Va=Array.prototype.push,hn=function(r,e){Va.apply(r,R(e)?e:[e]);},Ha=Date.prototype.toISOString,yn=se.default,b={addQueryPrefix:false,allowDots:false,allowEmptyArrays:false,arrayFormat:"indices",charset:"utf-8",charsetSentinel:false,commaRoundTrip:false,delimiter:"&",encode:true,encodeDotInKeys:false,encoder:Re.encode,encodeValuesOnly:false,filter:void 0,format:yn,formatter:se.formatters[yn],indices:false,serializeDate:function(e){return Ha.call(e)},skipNulls:false,strictNullHandling:false},Qa=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},ar={},Ja=function r(e,n,t,o,a,i,f,l,c,s,p,u,h,y,m,w,E,D){for(var g=e,N=D,C=0,Z=false;(N=N.get(ar))!==void 0&&!Z;){var z=N.get(e);if(C+=1,typeof z<"u"){if(z===C)throw new RangeError("Cyclic object value");Z=true;}typeof N.get(ar)>"u"&&(C=0);}if(typeof s=="function"?g=s(n,g):g instanceof Date?g=h(g):t==="comma"&&R(g)&&(g=Re.maybeMap(g,function(De){return De instanceof Date?h(De):De})),g===null){if(i)return c&&!w?c(n,b.encoder,E,"key",y):n;g="";}if(Qa(g)||Re.isBuffer(g)){if(c){var pe=w?n:c(n,b.encoder,E,"key",y);return [m(pe)+"="+m(c(g,b.encoder,E,"value",y))]}return [m(n)+"="+m(String(g))]}var B=[];if(typeof g>"u")return B;var _;if(t==="comma"&&R(g))w&&c&&(g=Re.maybeMap(g,c)),_=[{value:g.length>0?g.join(",")||null:void 0}];else if(R(s))_=s;else {var ye=Object.keys(g);_=p?ye.sort(p):ye;}var V=l?String(n).replace(/\./g,"%2E"):String(n),O=o&&R(g)&&g.length===1?V+"[]":V;if(a&&R(g)&&g.length===0)return O+"[]";for(var q=0;q<_.length;++q){var $=_[q],ee=typeof $=="object"&&$&&typeof $.value<"u"?$.value:g[$];if(!(f&&ee===null)){var Fe=u&&l?String($).replace(/\./g,"%2E"):String($),Rn=R(g)?typeof t=="function"?t(O,Fe):O:O+(u?"."+Fe:"["+Fe+"]");D.set(e,C);var sr=dn();sr.set(ar,D),hn(B,r(ee,Rn,t,o,a,i,f,l,t==="comma"&&w&&R(g)?null:c,s,p,u,h,y,m,w,E,sr));}}return B},Ya=function(e){if(!e)return b;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=e.charset||b.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=se.default;if(typeof e.format<"u"){if(!za.call(se.formatters,e.format))throw new TypeError("Unknown format option provided.");t=e.format;}var o=se.formatters[t],a=b.filter;(typeof e.filter=="function"||R(e.filter))&&(a=e.filter);var i;if(e.arrayFormat in vn?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=b.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=typeof e.allowDots>"u"?e.encodeDotInKeys===true?true:b.allowDots:!!e.allowDots;return {addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:b.addQueryPrefix,allowDots:f,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:b.allowEmptyArrays,arrayFormat:i,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:b.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?b.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:b.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:b.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:b.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:b.encodeValuesOnly,filter:a,format:t,formatter:o,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:b.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:b.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:b.strictNullHandling}};gn.exports=function(r,e){var n=r,t=Ya(e),o,a;typeof t.filter=="function"?(a=t.filter,n=a("",n)):R(t.filter)&&(a=t.filter,o=a);var i=[];if(typeof n!="object"||n===null)return "";var f=vn[t.arrayFormat],l=f==="comma"&&t.commaRoundTrip;o||(o=Object.keys(n)),t.sort&&o.sort(t.sort);for(var c=dn(),s=0;s<o.length;++s){var p=o[s],u=n[p];t.skipNulls&&u===null||hn(i,Ja(u,p,f,l,t.allowEmptyArrays,t.strictNullHandling,t.skipNulls,t.encodeDotInKeys,t.encode?t.encoder:null,t.filter,t.sort,t.allowDots,t.serializeDate,t.format,t.formatter,t.encodeValuesOnly,t.charset,c));}var h=i.join(t.delimiter),y=t.addQueryPrefix===true?"?":"";return t.charsetSentinel&&(t.charset==="iso-8859-1"?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),h.length>0?y+h:""};});var An=d((al,bn)=>{var K=or(),ir=Object.prototype.hasOwnProperty,Sn=Array.isArray,S={allowDots:false,allowEmptyArrays:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decodeDotInKeys:false,decoder:K.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictDepth:false,strictNullHandling:false,throwOnLimitExceeded:false},Xa=function(r){return r.replace(/&#(\d+);/g,function(e,n){return String.fromCharCode(parseInt(n,10))})},wn=function(r,e,n){if(r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1)return r.split(",");if(e.throwOnLimitExceeded&&n>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return r},ja="utf8=%26%2310003%3B",Za="utf8=%E2%9C%93",ei=function(e,n){var t={__proto__:null},o=n.ignoreQueryPrefix?e.replace(/^\?/,""):e;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=n.parameterLimit===1/0?void 0:n.parameterLimit,i=o.split(n.delimiter,n.throwOnLimitExceeded?a+1:a);if(n.throwOnLimitExceeded&&i.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var f=-1,l,c=n.charset;if(n.charsetSentinel)for(l=0;l<i.length;++l)i[l].indexOf("utf8=")===0&&(i[l]===Za?c="utf-8":i[l]===ja&&(c="iso-8859-1"),f=l,l=i.length);for(l=0;l<i.length;++l)if(l!==f){var s=i[l],p=s.indexOf("]="),u=p===-1?s.indexOf("="):p+1,h,y;u===-1?(h=n.decoder(s,S.decoder,c,"key"),y=n.strictNullHandling?null:""):(h=n.decoder(s.slice(0,u),S.decoder,c,"key"),y=K.maybeMap(wn(s.slice(u+1),n,Sn(t[h])?t[h].length:0),function(w){return n.decoder(w,S.decoder,c,"value")})),y&&n.interpretNumericEntities&&c==="iso-8859-1"&&(y=Xa(String(y))),s.indexOf("[]=")>-1&&(y=Sn(y)?[y]:y);var m=ir.call(t,h);m&&n.duplicates==="combine"?t[h]=K.combine(t[h],y):(!m||n.duplicates==="last")&&(t[h]=y);}return t},ri=function(r,e,n,t){var o=0;if(r.length>0&&r[r.length-1]==="[]"){var a=r.slice(0,-1).join("");o=Array.isArray(e)&&e[a]?e[a].length:0;}for(var i=t?e:wn(e,n,o),f=r.length-1;f>=0;--f){var l,c=r[f];if(c==="[]"&&n.parseArrays)l=n.allowEmptyArrays&&(i===""||n.strictNullHandling&&i===null)?[]:K.combine([],i);else {l=n.plainObjects?{__proto__:null}:{};var s=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,p=n.decodeDotInKeys?s.replace(/%2E/g,"."):s,u=parseInt(p,10);!n.parseArrays&&p===""?l={0:i}:!isNaN(u)&&c!==p&&String(u)===p&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(l=[],l[u]=i):p!=="__proto__"&&(l[p]=i);}i=l;}return i},ti=function(e,n,t,o){if(e){var a=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,f=/(\[[^[\]]*])/g,l=t.depth>0&&i.exec(a),c=l?a.slice(0,l.index):a,s=[];if(c){if(!t.plainObjects&&ir.call(Object.prototype,c)&&!t.allowPrototypes)return;s.push(c);}for(var p=0;t.depth>0&&(l=f.exec(a))!==null&&p<t.depth;){if(p+=1,!t.plainObjects&&ir.call(Object.prototype,l[1].slice(1,-1))&&!t.allowPrototypes)return;s.push(l[1]);}if(l){if(t.strictDepth===true)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");s.push("["+a.slice(l.index)+"]");}return ri(s,n,t,o)}},ni=function(e){if(!e)return S;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var n=typeof e.charset>"u"?S.charset:e.charset,t=typeof e.duplicates>"u"?S.duplicates:e.duplicates;if(t!=="combine"&&t!=="first"&&t!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var o=typeof e.allowDots>"u"?e.decodeDotInKeys===true?true:S.allowDots:!!e.allowDots;return {allowDots:o,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:S.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:S.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:S.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:S.arrayLimit,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:S.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:S.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:S.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:S.decoder,delimiter:typeof e.delimiter=="string"||K.isRegExp(e.delimiter)?e.delimiter:S.delimiter,depth:typeof e.depth=="number"||e.depth===false?+e.depth:S.depth,duplicates:t,ignoreQueryPrefix:e.ignoreQueryPrefix===true,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:S.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:S.parameterLimit,parseArrays:e.parseArrays!==false,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:S.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:S.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:S.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:false}};bn.exports=function(r,e){var n=ni(e);if(r===""||r===null||typeof r>"u")return n.plainObjects?{__proto__:null}:{};for(var t=typeof r=="string"?ei(r,n):r,o=n.plainObjects?{__proto__:null}:{},a=Object.keys(t),i=0;i<a.length;++i){var f=a[i],l=ti(f,t[f],n,typeof r=="string");o=K.merge(o,l,n);}return n.allowSparse===true?o:K.compact(o)};});var On=d((il,En)=>{var oi=mn(),ai=An(),ii=xe();En.exports={formats:ii,parse:ai,stringify:oi};});var xn=qn(On());var ul=(r,e)=>{let n=e?`?${xn.default.stringify(e,{arrayFormat:"indices",allowDots:true})}`:"";window.open(`${r}${n}`);},fl=(r,e={})=>{let n=document.createElement("form");n.action=r,n.method="POST",n.target="_blank",n.style.visibility="hidden",Object.entries(e).forEach(([t,o])=>{if([void 0,null,"",NaN].includes(o)||Array.isArray(o)&&!o.length)return;let a=document.createElement("input");a.type="hidden",a.name=t,a.value=o,n.appendChild(a);}),document.body.appendChild(n),n.submit(),n.remove();};function cl(r){let e=typeof r=="string"?r:window.location.hash,[,n=""]=e.split("?"),t=new URLSearchParams(n),o={};return t.forEach((a,i)=>{try{let f=decodeURIComponent(a);o[i]=JSON.parse(f);}catch{try{o[i]=decodeURIComponent(a);}catch{o[i]=a;}}}),o}function sl(r,e){return Object.entries(r).find(([,t])=>t===e)?.[0]}function pl(r){return Object.keys(r).filter(e=>isNaN(+e)).map(e=>({label:e,value:r[e]}))}function yl(r,e){switch(e.toUpperCase()){case "KB":return r*1024;case "MB":return r*1024*1024;case "GB":return r*1024*1024*1024;default:return null}}function dl(){let r=useRef(true);return r.current?(r.current=false,true):r.current}var ui=new Set(["__proto__","prototype","constructor"]),fi=/^[A-Za-z_$][A-Za-z0-9_$]*$/,ci=/^(0|[1-9]\d*)$/,si=4294967294;function I(r){return ui.has(r)}function lr(r){return fi.test(r)}function ur(r){if(!ci.test(r))return false;let e=Number(r);return Number.isSafeInteger(e)&&e>=0&&e<=si}function Ie(r,e){return r!=null&&Object.prototype.hasOwnProperty.call(r,e)}function $e(r){if(Array.isArray(r))return [...r];if(r&&typeof r=="object"){let e=Object.getPrototypeOf(r);return e===Object.prototype||e===null?{...r}:{...r}}return r}function pi(r,e){let n=r[e];if(n!=='"'&&n!=="'")return null;let t=e+1,o="";for(;t<r.length;){let a=r[t];if(a==="\\"){if(t+1>=r.length)return null;o+=r[t+1],t+=2;continue}if(a===n)return {value:o,nextIndex:t+1};o+=a,t++;}return null}function fr(r){if(typeof r!="string"||r.length<2||r[0]!=="$")return null;let e=[],n=r.length,t=1;for(;t<n&&r[t]!=="."&&r[t]!=="[";)t++;let o=r.slice(0,t),a=o.slice(1);if(!a||!lr(a)||I(a))return null;for(e.push(o);t<n;){let i=r[t];if(i==="."){if(t++,t>=n)return null;let f=t;for(;t<n&&r[t]!=="."&&r[t]!=="[";)t++;let l=r.slice(f,t);if(!l||!lr(l)||I(l))return null;e.push(l);continue}if(i==="["){for(t++;t<n&&/\s/.test(r[t]);)t++;if(t>=n)return null;if(r[t]==='"'||r[t]==="'"){let c=pi(r,t);if(!c)return null;let s=c.value;for(t=c.nextIndex;t<n&&/\s/.test(r[t]);)t++;if(t>=n||r[t]!=="]"||(t++,!s||I(s)))return null;e.push(s);continue}let f=t;for(;t<n&&r[t]!=="]";)t++;if(t>=n)return null;let l=r.slice(f,t).trim();if(t++,!l||!ur(l))return null;e.push(l);continue}return null}return e}function cr(r,e){if(typeof r!="string"||r.length<2||r[0]!=="$")return null;let n=r.slice(1);return !n||!lr(n)||I(n)?null:{container:e[n],runtimeKey:n}}function Pn(r){return ur(r)?[]:{}}function k(r){return r!==null&&typeof r=="object"}function vl(r,e){if(typeof e!="string"||!e.startsWith("$"))return e;let n=fr(e);if(!n||n.length===0)return;let t=cr(n[0],r);if(!t)return;let o=t.container;for(let a=1;a<n.length;a++){if(o==null||!k(o))return;let i=n[a];if(I(i)||!Ie(o,i))return;o=o[i];}return o}function hl(r,e,n){if(typeof e!="string"||!e.startsWith("$"))return r;let t=fr(e);if(!t||t.length<2)return r;let o=cr(t[0],r);if(!o)return r;let a=o.runtimeKey,i=r[a],f={...r},l=t[1],c;k(i)?c=$e(i):c=Pn(l),f[a]=c;let s=i,p=c;for(let h=1;h<t.length-1;h++){let y=t[h],m=t[h+1];if(I(y)||I(m))return r;let w=k(s)&&Ie(s,y)?s[y]:void 0,E;k(w)?E=$e(w):E=Pn(m),p[y]=E,s=w,p=E;}let u=t[t.length-1];return I(u)?r:(p[u]=n,f)}function gl(r,e,n={}){let{removeArrayItem:t=true}=n;if(typeof e!="string"||!e.startsWith("$"))return r;let o=fr(e);if(!o||o.length<2)return r;let a=cr(o[0],r);if(!a)return r;let i=a.runtimeKey,f=r[i];if(!k(f))return r;let l=f;for(let y=1;y<o.length;y++){let m=o[y];if(!k(l)||I(m)||!Ie(l,m))return r;l=l[m];}let c={...r},s=$e(f);c[i]=s;let p=f,u=s;for(let y=1;y<o.length-1;y++){let m=o[y],w=p[m];if(!k(w))return r;let E=$e(w);u[m]=E,p=w,u=E;}let h=o[o.length-1];if(I(h))return r;if(Array.isArray(u)&&ur(h)){let y=Number(h);return y<0||y>=u.length?r:(t?u.splice(y,1):delete u[y],c)}return Ie(u,h)?(delete u[h],c):r}export{gl as deleteByPathValue,ul as downloadGet,fl as downloadPost,pl as enum2DataSource,yl as formatFileLength,vl as getByPathValue,sl as getEnumLabel,cl as parseHashParams,hl as setByPathValue,dl as useIsFirstRender};
package/es/utils/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import {useRef}from'react';var bn=Object.create;var ar=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var An=Object.getOwnPropertyNames;var On=Object.getPrototypeOf,En=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var xn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of An(e))!En.call(r,o)&&o!==t&&ar(r,o,{get:()=>e[o],enumerable:!(n=wn(e,o))||n.enumerable});return r};var Pn=(r,e,t)=>(t=r!=null?bn(On(r)):{},xn(ar(t,"default",{value:r,enumerable:true}),r));var B=s((ri,ir)=>{ir.exports=TypeError;});var ur=s(()=>{});var ne=s((oi,Nr)=>{var Ce=typeof Map=="function"&&Map.prototype,Ie=Object.getOwnPropertyDescriptor&&Ce?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ye=Ce&&Ie&&typeof Ie.get=="function"?Ie.get:null,fr=Ce&&Map.prototype.forEach,Be=typeof Set=="function"&&Set.prototype,Re=Object.getOwnPropertyDescriptor&&Be?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,de=Be&&Re&&typeof Re.get=="function"?Re.get:null,lr=Be&&Set.prototype.forEach,Nn=typeof WeakMap=="function"&&WeakMap.prototype,ee=Nn?WeakMap.prototype.has:null,In=typeof WeakSet=="function"&&WeakSet.prototype,re=In?WeakSet.prototype.has:null,Rn=typeof WeakRef=="function"&&WeakRef.prototype,cr=Rn?WeakRef.prototype.deref:null,Fn=Boolean.prototype.valueOf,$n=Object.prototype.toString,qn=Function.prototype.toString,Dn=String.prototype.match,Le=String.prototype.slice,M=String.prototype.replace,Mn=String.prototype.toUpperCase,pr=String.prototype.toLowerCase,br=RegExp.prototype.test,sr=Array.prototype.concat,E=Array.prototype.join,_n=Array.prototype.slice,yr=Math.floor,qe=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Fe=Object.getOwnPropertySymbols,De=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,H=typeof Symbol=="function"&&typeof Symbol.iterator=="object",te=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===H||true)?Symbol.toStringTag:null,wr=Object.prototype.propertyIsEnumerable,dr=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function vr(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||br.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-yr(-r):yr(r);if(n!==r){var o=String(n),a=Le.call(e,o.length+1);return M.call(o,t,"$&_")+"."+M.call(M.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return M.call(e,t,"$&_")}var Me=ur(),mr=Me.custom,hr=Er(mr)?mr:null,Ar={__proto__:null,double:'"',single:"'"},Tn={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Nr.exports=function r(e,t,n,o){var a=t||{};if(I(a,"quoteStyle")&&!I(Ar,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(I(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=I(a,"customInspect")?a.customInspect:true;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(I(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(I(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof e>"u")return "undefined";if(e===null)return "null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Pr(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return l?vr(e,u):u}if(typeof e=="bigint"){var p=String(e)+"n";return l?vr(e,p):p}var c=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof e=="object")return _e(e)?"[Array]":"[Object]";var y=eo(a,n);if(typeof o>"u")o=[];else if(xr(o,e)>=0)return "[Circular]";function f(O,D,N){if(D&&(o=_n.call(o),o.push(D)),N){var X={depth:a.depth};return I(a,"quoteStyle")&&(X.quoteStyle=a.quoteStyle),r(O,X,n+1,o)}return r(O,a,n+1,o)}if(typeof e=="function"&&!gr(e)){var h=Hn(e),m=se(e,f);return "[Function"+(h?": "+h:" (anonymous)")+"]"+(m.length>0?" { "+E.call(m,", ")+" }":"")}if(Er(e)){var w=H?M.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):De.call(e);return typeof e=="object"&&!H?j(w):w}if(Yn(e)){for(var A="<"+pr.call(String(e.nodeName)),R=e.attributes||[],F=0;F<R.length;F++)A+=" "+R[F].name+"="+Or(Cn(R[F].value),"double",a);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="</"+pr.call(String(e.nodeName))+">",A}if(_e(e)){if(e.length===0)return "[]";var v=se(e,f);return y&&!jn(v)?"["+Te(v,y)+"]":"[ "+E.call(v,", ")+" ]"}if(Ln(e)){var $=se(e,f);return !("cause"in Error.prototype)&&"cause"in e&&!wr.call(e,"cause")?"{ ["+String(e)+"] "+E.call(sr.call("[cause]: "+f(e.cause),$),", ")+" }":$.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+E.call($,", ")+" }"}if(typeof e=="object"&&i){if(hr&&typeof e[hr]=="function"&&Me)return Me(e,{depth:c-n});if(i!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Kn(e)){var T=[];return fr&&fr.call(e,function(O,D){T.push(f(D,e,true)+" => "+f(O,e));}),Sr("Map",ye.call(e),T,y)}if(Jn(e)){var Y=[];return lr&&lr.call(e,function(O){Y.push(f(O,e));}),Sr("Set",de.call(e),Y,y)}if(Vn(e))return $e("WeakMap");if(Zn(e))return $e("WeakSet");if(Qn(e))return $e("WeakRef");if(Wn(e))return j(f(Number(e)));if(kn(e))return j(f(qe.call(e)));if(Gn(e))return j(Fn.call(e));if(Un(e))return j(f(String(e)));if(typeof window<"u"&&e===window)return "{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return "{ [object globalThis] }";if(!Bn(e)&&!gr(e)){var k=se(e,f),ce=dr?dr(e)===Object.prototype:e instanceof Object||e.constructor===Object,C=e instanceof Object?"":"null prototype",q=!ce&&te&&Object(e)===e&&te in e?Le.call(_(e),8,-1):C?"Object":"",pe=ce||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",z=pe+(q||C?"["+E.call(sr.call([],q||[],C||[]),": ")+"] ":"");return k.length===0?z+"{}":y?z+"{"+Te(k,y)+"}":z+"{ "+E.call(k,", ")+" }"}return String(e)};function Or(r,e,t){var n=t.quoteStyle||e,o=Ar[n];return o+r+o}function Cn(r){return M.call(String(r),/"/g,"&quot;")}function L(r){return !te||!(typeof r=="object"&&(te in r||typeof r[te]<"u"))}function _e(r){return _(r)==="[object Array]"&&L(r)}function Bn(r){return _(r)==="[object Date]"&&L(r)}function gr(r){return _(r)==="[object RegExp]"&&L(r)}function Ln(r){return _(r)==="[object Error]"&&L(r)}function Un(r){return _(r)==="[object String]"&&L(r)}function Wn(r){return _(r)==="[object Number]"&&L(r)}function Gn(r){return _(r)==="[object Boolean]"&&L(r)}function Er(r){if(H)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return true;if(!r||typeof r!="object"||!De)return false;try{return De.call(r),!0}catch{}return false}function kn(r){if(!r||typeof r!="object"||!qe)return false;try{return qe.call(r),!0}catch{}return false}var zn=Object.prototype.hasOwnProperty||function(r){return r in this};function I(r,e){return zn.call(r,e)}function _(r){return $n.call(r)}function Hn(r){if(r.name)return r.name;var e=Dn.call(qn.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function xr(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return -1}function Kn(r){if(!ye||!r||typeof r!="object")return false;try{ye.call(r);try{de.call(r);}catch{return !0}return r instanceof Map}catch{}return false}function Vn(r){if(!ee||!r||typeof r!="object")return false;try{ee.call(r,ee);try{re.call(r,re);}catch{return !0}return r instanceof WeakMap}catch{}return false}function Qn(r){if(!cr||!r||typeof r!="object")return false;try{return cr.call(r),!0}catch{}return false}function Jn(r){if(!de||!r||typeof r!="object")return false;try{de.call(r);try{ye.call(r);}catch{return !0}return r instanceof Set}catch{}return false}function Zn(r){if(!re||!r||typeof r!="object")return false;try{re.call(r,re);try{ee.call(r,ee);}catch{return !0}return r instanceof WeakSet}catch{}return false}function Yn(r){return !r||typeof r!="object"?false:typeof HTMLElement<"u"&&r instanceof HTMLElement?true:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Pr(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Pr(Le.call(r,0,e.maxStringLength),e)+n}var o=Tn[e.quoteStyle||"single"];o.lastIndex=0;var a=M.call(M.call(r,o,"\\$1"),/[\x00-\x1f]/g,Xn);return Or(a,"single",e)}function Xn(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+Mn.call(e.toString(16))}function j(r){return "Object("+r+")"}function $e(r){return r+" { ? }"}function Sr(r,e,t,n){var o=n?Te(t,n):E.call(t,", ");return r+" ("+e+") {"+o+"}"}function jn(r){for(var e=0;e<r.length;e++)if(xr(r[e],`
2
- `)>=0)return false;return true}function eo(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=E.call(Array(r.indent+1)," ");else return null;return {base:t,prev:E.call(Array(e+1),t)}}function Te(r,e){if(r.length===0)return "";var t=`
3
- `+e.prev+e.base;return t+E.call(r,","+t)+`
4
- `+e.prev}function se(r,e){var t=_e(r),n=[];if(t){n.length=r.length;for(var o=0;o<r.length;o++)n[o]=I(r,o)?e(r[o],r):"";}var a=typeof Fe=="function"?Fe(r):[],i;if(H){i={};for(var l=0;l<a.length;l++)i["$"+a[l]]=a[l];}for(var u in r)I(r,u)&&(t&&String(Number(u))===u&&u<r.length||H&&i["$"+u]instanceof Symbol||(br.call(/[^\w$]/,u)?n.push(e(u,r)+": "+e(r[u],r)):n.push(u+": "+e(r[u],r))));if(typeof Fe=="function")for(var p=0;p<a.length;p++)wr.call(r,a[p])&&n.push("["+e(a[p])+"]: "+e(r[a[p]],r));return n}});var Rr=s((ai,Ir)=>{var ro=ne(),to=B(),ve=function(r,e,t){for(var n=r,o;(o=n.next)!=null;n=o)if(o.key===e)return n.next=o.next,t||(o.next=r.next,r.next=o),o},no=function(r,e){if(r){var t=ve(r,e);return t&&t.value}},oo=function(r,e,t){var n=ve(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t};},ao=function(r,e){return r?!!ve(r,e):false},io=function(r,e){if(r)return ve(r,e,true)};Ir.exports=function(){var e,t={assert:function(n){if(!t.has(n))throw new to("Side channel does not contain "+ro(n))},delete:function(n){var o=e&&e.next,a=io(e,n);return a&&o&&o===a&&(e=void 0),!!a},get:function(n){return no(e,n)},has:function(n){return ao(e,n)},set:function(n,o){e||(e={next:void 0}),oo(e,n,o);}};return t};});var Ue=s((ii,Fr)=>{Fr.exports=Object;});var qr=s((ui,$r)=>{$r.exports=Error;});var Mr=s((fi,Dr)=>{Dr.exports=EvalError;});var Tr=s((li,_r)=>{_r.exports=RangeError;});var Br=s((ci,Cr)=>{Cr.exports=ReferenceError;});var Ur=s((pi,Lr)=>{Lr.exports=SyntaxError;});var Gr=s((si,Wr)=>{Wr.exports=URIError;});var zr=s((yi,kr)=>{kr.exports=Math.abs;});var Kr=s((di,Hr)=>{Hr.exports=Math.floor;});var Qr=s((vi,Vr)=>{Vr.exports=Math.max;});var Zr=s((mi,Jr)=>{Jr.exports=Math.min;});var Xr=s((hi,Yr)=>{Yr.exports=Math.pow;});var et=s((gi,jr)=>{jr.exports=Math.round;});var tt=s((Si,rt)=>{rt.exports=Number.isNaN||function(e){return e!==e};});var ot=s((bi,nt)=>{var uo=tt();nt.exports=function(e){return uo(e)||e===0?e:e<0?-1:1};});var it=s((wi,at)=>{at.exports=Object.getOwnPropertyDescriptor;});var We=s((Ai,ut)=>{var me=it();if(me)try{me([],"length");}catch{me=null;}ut.exports=me;});var lt=s((Oi,ft)=>{var he=Object.defineProperty||false;if(he)try{he({},"a",{value:1});}catch{he=false;}ft.exports=he;});var pt=s((Ei,ct)=>{ct.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return false;if(typeof Symbol.iterator=="symbol")return true;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return false;var o=42;e[t]=o;for(var a in e)return false;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return false;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return false;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,t);if(l.value!==o||l.enumerable!==true)return false}return true};});var dt=s((xi,yt)=>{var st=typeof Symbol<"u"&&Symbol,fo=pt();yt.exports=function(){return typeof st!="function"||typeof Symbol!="function"||typeof st("foo")!="symbol"||typeof Symbol("bar")!="symbol"?false:fo()};});var Ge=s((Pi,vt)=>{vt.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null;});var ke=s((Ni,mt)=>{var lo=Ue();mt.exports=lo.getPrototypeOf||null;});var St=s((Ii,gt)=>{var co="Function.prototype.bind called on incompatible ",po=Object.prototype.toString,so=Math.max,yo="[object Function]",ht=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n},vo=function(e,t){for(var n=[],o=t,a=0;o<e.length;o+=1,a+=1)n[a]=e[o];return n},mo=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};gt.exports=function(e){var t=this;if(typeof t!="function"||po.apply(t)!==yo)throw new TypeError(co+t);for(var n=vo(arguments,1),o,a=function(){if(this instanceof o){var c=t.apply(this,ht(n,arguments));return Object(c)===c?c:this}return t.apply(e,ht(n,arguments))},i=so(0,t.length-n.length),l=[],u=0;u<i;u++)l[u]="$"+u;if(o=Function("binder","return function ("+mo(l,",")+"){ return binder.apply(this,arguments); }")(a),t.prototype){var p=function(){};p.prototype=t.prototype,o.prototype=new p,p.prototype=null;}return o};});var oe=s((Ri,bt)=>{var ho=St();bt.exports=Function.prototype.bind||ho;});var ge=s((Fi,wt)=>{wt.exports=Function.prototype.call;});var ze=s(($i,At)=>{At.exports=Function.prototype.apply;});var Et=s((qi,Ot)=>{Ot.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply;});var Pt=s((Di,xt)=>{var go=oe(),So=ze(),bo=ge(),wo=Et();xt.exports=wo||go.call(bo,So);});var He=s((Mi,Nt)=>{var Ao=oe(),Oo=B(),Eo=ge(),xo=Pt();Nt.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Oo("a function is required");return xo(Ao,Eo,e)};});var Dt=s((_i,qt)=>{var Po=He(),It=We(),Ft;try{Ft=[].__proto__===Array.prototype;}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Ke=!!Ft&&It&&It(Object.prototype,"__proto__"),$t=Object,Rt=$t.getPrototypeOf;qt.exports=Ke&&typeof Ke.get=="function"?Po([Ke.get]):typeof Rt=="function"?function(e){return Rt(e==null?e:$t(e))}:false;});var Bt=s((Ti,Ct)=>{var Mt=Ge(),_t=ke(),Tt=Dt();Ct.exports=Mt?function(e){return Mt(e)}:_t?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return _t(e)}:Tt?function(e){return Tt(e)}:null;});var Ut=s((Ci,Lt)=>{var No=Function.prototype.call,Io=Object.prototype.hasOwnProperty,Ro=oe();Lt.exports=Ro.call(No,Io);});var we=s((Bi,Kt)=>{var d,Fo=Ue(),$o=qr(),qo=Mr(),Do=Tr(),Mo=Br(),J=Ur(),Q=B(),_o=Gr(),To=zr(),Co=Kr(),Bo=Qr(),Lo=Zr(),Uo=Xr(),Wo=et(),Go=ot(),zt=Function,Ve=function(r){try{return zt('"use strict"; return ('+r+").constructor;")()}catch{}},ae=We(),ko=lt(),Qe=function(){throw new Q},zo=ae?(function(){try{return arguments.callee,Qe}catch{try{return ae(arguments,"callee").get}catch{return Qe}}})():Qe,K=dt()(),b=Bt(),Ho=ke(),Ko=Ge(),Ht=ze(),ie=ge(),V={},Vo=typeof Uint8Array>"u"||!b?d:b(Uint8Array),U={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":K&&b?b([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":V,"%AsyncGenerator%":V,"%AsyncGeneratorFunction%":V,"%AsyncIteratorPrototype%":V,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$o,"%eval%":eval,"%EvalError%":qo,"%Float16Array%":typeof Float16Array>"u"?d:Float16Array,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":zt,"%GeneratorFunction%":V,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":K&&b?b(b([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map>"u"||!K||!b?d:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Fo,"%Object.getOwnPropertyDescriptor%":ae,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":Do,"%ReferenceError%":Mo,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set>"u"||!K||!b?d:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":K&&b?b(""[Symbol.iterator]()):d,"%Symbol%":K?Symbol:d,"%SyntaxError%":J,"%ThrowTypeError%":zo,"%TypedArray%":Vo,"%TypeError%":Q,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":_o,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet,"%Function.prototype.call%":ie,"%Function.prototype.apply%":Ht,"%Object.defineProperty%":ko,"%Object.getPrototypeOf%":Ho,"%Math.abs%":To,"%Math.floor%":Co,"%Math.max%":Bo,"%Math.min%":Lo,"%Math.pow%":Uo,"%Math.round%":Wo,"%Math.sign%":Go,"%Reflect.getPrototypeOf%":Ko};if(b)try{null.error;}catch(r){Wt=b(b(r)),U["%Error.prototype%"]=Wt;}var Wt,Qo=function r(e){var t;if(e==="%AsyncFunction%")t=Ve("async function () {}");else if(e==="%GeneratorFunction%")t=Ve("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Ve("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype);}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&b&&(t=b(o.prototype));}return U[e]=t,t},Gt={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ue=oe(),Se=Ut(),Jo=ue.call(ie,Array.prototype.concat),Zo=ue.call(Ht,Array.prototype.splice),kt=ue.call(ie,String.prototype.replace),be=ue.call(ie,String.prototype.slice),Yo=ue.call(ie,RegExp.prototype.exec),Xo=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,jo=/\\(\\)?/g,ea=function(e){var t=be(e,0,1),n=be(e,-1);if(t==="%"&&n!=="%")throw new J("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new J("invalid intrinsic syntax, expected opening `%`");var o=[];return kt(e,Xo,function(a,i,l,u){o[o.length]=l?kt(u,jo,"$1"):i||a;}),o},ra=function(e,t){var n=e,o;if(Se(Gt,n)&&(o=Gt[n],n="%"+o[0]+"%"),Se(U,n)){var a=U[n];if(a===V&&(a=Qo(n)),typeof a>"u"&&!t)throw new Q("intrinsic "+e+" exists, but is not available. Please file an issue!");return {alias:o,name:n,value:a}}throw new J("intrinsic "+e+" does not exist!")};Kt.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new Q("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Q('"allowMissing" argument must be a boolean');if(Yo(/^%?[^%]*%?$/,e)===null)throw new J("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=ea(e),o=n.length>0?n[0]:"",a=ra("%"+o+"%",t),i=a.name,l=a.value,u=false,p=a.alias;p&&(o=p[0],Zo(n,Jo([0,1],p)));for(var c=1,y=true;c<n.length;c+=1){var f=n[c],h=be(f,0,1),m=be(f,-1);if((h==='"'||h==="'"||h==="`"||m==='"'||m==="'"||m==="`")&&h!==m)throw new J("property names with quotes must have matching quotes");if((f==="constructor"||!y)&&(u=true),o+="."+f,i="%"+o+"%",Se(U,i))l=U[i];else if(l!=null){if(!(f in l)){if(!t)throw new Q("base intrinsic for "+e+" exists, but the property is not available.");return}if(ae&&c+1>=n.length){var w=ae(l,f);y=!!w,y&&"get"in w&&!("originalValue"in w.get)?l=w.get:l=l[f];}else y=Se(l,f),l=l[f];y&&!u&&(U[i]=l);}}return l};});var Je=s((Li,Jt)=>{var Vt=we(),Qt=He(),ta=Qt([Vt("%String.prototype.indexOf%")]);Jt.exports=function(e,t){var n=Vt(e,!!t);return typeof n=="function"&&ta(e,".prototype.")>-1?Qt([n]):n};});var Ze=s((Ui,Yt)=>{var na=we(),fe=Je(),oa=ne(),aa=B(),Zt=na("%Map%",true),ia=fe("Map.prototype.get",true),ua=fe("Map.prototype.set",true),fa=fe("Map.prototype.has",true),la=fe("Map.prototype.delete",true),ca=fe("Map.prototype.size",true);Yt.exports=!!Zt&&function(){var e,t={assert:function(n){if(!t.has(n))throw new aa("Side channel does not contain "+oa(n))},delete:function(n){if(e){var o=la(e,n);return ca(e)===0&&(e=void 0),o}return false},get:function(n){if(e)return ia(e,n)},has:function(n){return e?fa(e,n):false},set:function(n,o){e||(e=new Zt),ua(e,n,o);}};return t};});var jt=s((Wi,Xt)=>{var pa=we(),Oe=Je(),sa=ne(),Ae=Ze(),ya=B(),Z=pa("%WeakMap%",true),da=Oe("WeakMap.prototype.get",true),va=Oe("WeakMap.prototype.set",true),ma=Oe("WeakMap.prototype.has",true),ha=Oe("WeakMap.prototype.delete",true);Xt.exports=Z?function(){var e,t,n={assert:function(o){if(!n.has(o))throw new ya("Side channel does not contain "+sa(o))},delete:function(o){if(Z&&o&&(typeof o=="object"||typeof o=="function")){if(e)return ha(e,o)}else if(Ae&&t)return t.delete(o);return false},get:function(o){return Z&&o&&(typeof o=="object"||typeof o=="function")&&e?da(e,o):t&&t.get(o)},has:function(o){return Z&&o&&(typeof o=="object"||typeof o=="function")&&e?ma(e,o):!!t&&t.has(o)},set:function(o,a){Z&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new Z),va(e,o,a)):Ae&&(t||(t=Ae()),t.set(o,a));}};return n}:Ae;});var rn=s((Gi,en)=>{var ga=B(),Sa=ne(),ba=Rr(),wa=Ze(),Aa=jt(),Oa=Aa||wa||ba;en.exports=function(){var e,t={assert:function(n){if(!t.has(n))throw new ga("Side channel does not contain "+Sa(n))},delete:function(n){return !!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return !!e&&e.has(n)},set:function(n,o){e||(e=Oa()),e.set(n,o);}};return t};});var Ee=s((ki,tn)=>{var Ea=String.prototype.replace,xa=/%20/g,Ye={RFC1738:"RFC1738",RFC3986:"RFC3986"};tn.exports={default:Ye.RFC3986,formatters:{RFC1738:function(r){return Ea.call(r,xa,"+")},RFC3986:function(r){return String(r)}},RFC1738:Ye.RFC1738,RFC3986:Ye.RFC3986};});var er=s((zi,on)=>{var Pa=Ee(),Xe=Object.prototype.hasOwnProperty,W=Array.isArray,x=(function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r})(),Na=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(W(n)){for(var o=[],a=0;a<n.length;++a)typeof n[a]<"u"&&o.push(n[a]);t.obj[t.prop]=o;}}},nn=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},o=0;o<e.length;++o)typeof e[o]<"u"&&(n[o]=e[o]);return n},Ia=function r(e,t,n){if(!t)return e;if(typeof t!="object"&&typeof t!="function"){if(W(e))e.push(t);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Xe.call(Object.prototype,t))&&(e[t]=true);else return [e,t];return e}if(!e||typeof e!="object")return [e].concat(t);var o=e;return W(e)&&!W(t)&&(o=nn(e,n)),W(e)&&W(t)?(t.forEach(function(a,i){if(Xe.call(e,i)){var l=e[i];l&&typeof l=="object"&&a&&typeof a=="object"?e[i]=r(l,a,n):e.push(a);}else e[i]=a;}),e):Object.keys(t).reduce(function(a,i){var l=t[i];return Xe.call(a,i)?a[i]=r(a[i],l,n):a[i]=l,a},o)},Ra=function(e,t){return Object.keys(t).reduce(function(n,o){return n[o]=t[o],n},e)},Fa=function(r,e,t){var n=r.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},je=1024,$a=function(e,t,n,o,a){if(e.length===0)return e;var i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(h){return "%26%23"+parseInt(h.slice(2),16)+"%3B"});for(var l="",u=0;u<i.length;u+=je){for(var p=i.length>=je?i.slice(u,u+je):i,c=[],y=0;y<p.length;++y){var f=p.charCodeAt(y);if(f===45||f===46||f===95||f===126||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===Pa.RFC1738&&(f===40||f===41)){c[c.length]=p.charAt(y);continue}if(f<128){c[c.length]=x[f];continue}if(f<2048){c[c.length]=x[192|f>>6]+x[128|f&63];continue}if(f<55296||f>=57344){c[c.length]=x[224|f>>12]+x[128|f>>6&63]+x[128|f&63];continue}y+=1,f=65536+((f&1023)<<10|p.charCodeAt(y)&1023),c[c.length]=x[240|f>>18]+x[128|f>>12&63]+x[128|f>>6&63]+x[128|f&63];}l+=c.join("");}return l},qa=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],o=0;o<t.length;++o)for(var a=t[o],i=a.obj[a.prop],l=Object.keys(i),u=0;u<l.length;++u){var p=l[u],c=i[p];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(t.push({obj:i,prop:p}),n.push(c));}return Na(t),e},Da=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Ma=function(e){return !e||typeof e!="object"?false:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},_a=function(e,t){return [].concat(e,t)},Ta=function(e,t){if(W(e)){for(var n=[],o=0;o<e.length;o+=1)n.push(t(e[o]));return n}return t(e)};on.exports={arrayToObject:nn,assign:Ra,combine:_a,compact:qa,decode:Fa,encode:$a,isBuffer:Ma,isRegExp:Da,maybeMap:Ta,merge:Ia};});var pn=s((Hi,cn)=>{var un=rn(),xe=er(),le=Ee(),Ca=Object.prototype.hasOwnProperty,fn={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},P=Array.isArray,Ba=Array.prototype.push,ln=function(r,e){Ba.apply(r,P(e)?e:[e]);},La=Date.prototype.toISOString,an=le.default,S={addQueryPrefix:false,allowDots:false,allowEmptyArrays:false,arrayFormat:"indices",charset:"utf-8",charsetSentinel:false,commaRoundTrip:false,delimiter:"&",encode:true,encodeDotInKeys:false,encoder:xe.encode,encodeValuesOnly:false,filter:void 0,format:an,formatter:le.formatters[an],indices:false,serializeDate:function(e){return La.call(e)},skipNulls:false,strictNullHandling:false},Ua=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},rr={},Wa=function r(e,t,n,o,a,i,l,u,p,c,y,f,h,m,w,A,R,F){for(var v=e,$=F,T=0,Y=false;($=$.get(rr))!==void 0&&!Y;){var k=$.get(e);if(T+=1,typeof k<"u"){if(k===T)throw new RangeError("Cyclic object value");Y=true;}typeof $.get(rr)>"u"&&(T=0);}if(typeof c=="function"?v=c(t,v):v instanceof Date?v=h(v):n==="comma"&&P(v)&&(v=xe.maybeMap(v,function(Ne){return Ne instanceof Date?h(Ne):Ne})),v===null){if(i)return p&&!A?p(t,S.encoder,R,"key",m):t;v="";}if(Ua(v)||xe.isBuffer(v)){if(p){var ce=A?t:p(t,S.encoder,R,"key",m);return [w(ce)+"="+w(p(v,S.encoder,R,"value",m))]}return [w(t)+"="+w(String(v))]}var C=[];if(typeof v>"u")return C;var q;if(n==="comma"&&P(v))A&&p&&(v=xe.maybeMap(v,p)),q=[{value:v.length>0?v.join(",")||null:void 0}];else if(P(c))q=c;else {var pe=Object.keys(v);q=y?pe.sort(y):pe;}var z=u?String(t).replace(/\./g,"%2E"):String(t),O=o&&P(v)&&v.length===1?z+"[]":z;if(a&&P(v)&&v.length===0)return O+"[]";for(var D=0;D<q.length;++D){var N=q[D],X=typeof N=="object"&&N&&typeof N.value<"u"?N.value:v[N];if(!(l&&X===null)){var Pe=f&&u?String(N).replace(/\./g,"%2E"):String(N),Sn=P(v)?typeof n=="function"?n(O,Pe):O:O+(f?"."+Pe:"["+Pe+"]");F.set(e,T);var or=un();or.set(rr,F),ln(C,r(X,Sn,n,o,a,i,l,u,n==="comma"&&A&&P(v)?null:p,c,y,f,h,m,w,A,R,or));}}return C},Ga=function(e){if(!e)return S;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=e.charset||S.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=le.default;if(typeof e.format<"u"){if(!Ca.call(le.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format;}var o=le.formatters[n],a=S.filter;(typeof e.filter=="function"||P(e.filter))&&(a=e.filter);var i;if(e.arrayFormat in fn?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=S.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=typeof e.allowDots>"u"?e.encodeDotInKeys===true?true:S.allowDots:!!e.allowDots;return {addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:S.addQueryPrefix,allowDots:l,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:S.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:S.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?S.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:S.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:S.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:S.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:S.encodeValuesOnly,filter:a,format:n,formatter:o,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:S.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:S.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:S.strictNullHandling}};cn.exports=function(r,e){var t=r,n=Ga(e),o,a;typeof n.filter=="function"?(a=n.filter,t=a("",t)):P(n.filter)&&(a=n.filter,o=a);var i=[];if(typeof t!="object"||t===null)return "";var l=fn[n.arrayFormat],u=l==="comma"&&n.commaRoundTrip;o||(o=Object.keys(t)),n.sort&&o.sort(n.sort);for(var p=un(),c=0;c<o.length;++c){var y=o[c],f=t[y];n.skipNulls&&f===null||ln(i,Wa(f,y,l,u,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,p));}var h=i.join(n.delimiter),m=n.addQueryPrefix===true?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),h.length>0?m+h:""};});var vn=s((Ki,dn)=>{var G=er(),tr=Object.prototype.hasOwnProperty,sn=Array.isArray,g={allowDots:false,allowEmptyArrays:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decodeDotInKeys:false,decoder:G.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictDepth:false,strictNullHandling:false,throwOnLimitExceeded:false},ka=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},yn=function(r,e,t){if(r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1)return r.split(",");if(e.throwOnLimitExceeded&&t>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return r},za="utf8=%26%2310003%3B",Ha="utf8=%E2%9C%93",Ka=function(e,t){var n={__proto__:null},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=t.parameterLimit===1/0?void 0:t.parameterLimit,i=o.split(t.delimiter,t.throwOnLimitExceeded?a+1:a);if(t.throwOnLimitExceeded&&i.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var l=-1,u,p=t.charset;if(t.charsetSentinel)for(u=0;u<i.length;++u)i[u].indexOf("utf8=")===0&&(i[u]===Ha?p="utf-8":i[u]===za&&(p="iso-8859-1"),l=u,u=i.length);for(u=0;u<i.length;++u)if(u!==l){var c=i[u],y=c.indexOf("]="),f=y===-1?c.indexOf("="):y+1,h,m;f===-1?(h=t.decoder(c,g.decoder,p,"key"),m=t.strictNullHandling?null:""):(h=t.decoder(c.slice(0,f),g.decoder,p,"key"),m=G.maybeMap(yn(c.slice(f+1),t,sn(n[h])?n[h].length:0),function(A){return t.decoder(A,g.decoder,p,"value")})),m&&t.interpretNumericEntities&&p==="iso-8859-1"&&(m=ka(String(m))),c.indexOf("[]=")>-1&&(m=sn(m)?[m]:m);var w=tr.call(n,h);w&&t.duplicates==="combine"?n[h]=G.combine(n[h],m):(!w||t.duplicates==="last")&&(n[h]=m);}return n},Va=function(r,e,t,n){var o=0;if(r.length>0&&r[r.length-1]==="[]"){var a=r.slice(0,-1).join("");o=Array.isArray(e)&&e[a]?e[a].length:0;}for(var i=n?e:yn(e,t,o),l=r.length-1;l>=0;--l){var u,p=r[l];if(p==="[]"&&t.parseArrays)u=t.allowEmptyArrays&&(i===""||t.strictNullHandling&&i===null)?[]:G.combine([],i);else {u=t.plainObjects?{__proto__:null}:{};var c=p.charAt(0)==="["&&p.charAt(p.length-1)==="]"?p.slice(1,-1):p,y=t.decodeDotInKeys?c.replace(/%2E/g,"."):c,f=parseInt(y,10);!t.parseArrays&&y===""?u={0:i}:!isNaN(f)&&p!==y&&String(f)===y&&f>=0&&t.parseArrays&&f<=t.arrayLimit?(u=[],u[f]=i):y!=="__proto__"&&(u[y]=i);}i=u;}return i},Qa=function(e,t,n,o){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,u=n.depth>0&&i.exec(a),p=u?a.slice(0,u.index):a,c=[];if(p){if(!n.plainObjects&&tr.call(Object.prototype,p)&&!n.allowPrototypes)return;c.push(p);}for(var y=0;n.depth>0&&(u=l.exec(a))!==null&&y<n.depth;){if(y+=1,!n.plainObjects&&tr.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(u[1]);}if(u){if(n.strictDepth===true)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");c.push("["+a.slice(u.index)+"]");}return Va(c,t,n,o)}},Ja=function(e){if(!e)return g;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=typeof e.charset>"u"?g.charset:e.charset,n=typeof e.duplicates>"u"?g.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var o=typeof e.allowDots>"u"?e.decodeDotInKeys===true?true:g.allowDots:!!e.allowDots;return {allowDots:o,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:g.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:g.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:g.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:g.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:g.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:g.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:g.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:g.decoder,delimiter:typeof e.delimiter=="string"||G.isRegExp(e.delimiter)?e.delimiter:g.delimiter,depth:typeof e.depth=="number"||e.depth===false?+e.depth:g.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===true,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:g.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:g.parameterLimit,parseArrays:e.parseArrays!==false,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:g.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:g.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:g.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:false}};dn.exports=function(r,e){var t=Ja(e);if(r===""||r===null||typeof r>"u")return t.plainObjects?{__proto__:null}:{};for(var n=typeof r=="string"?Ka(r,t):r,o=t.plainObjects?{__proto__:null}:{},a=Object.keys(n),i=0;i<a.length;++i){var l=a[i],u=Qa(l,n[l],t,typeof r=="string");o=G.merge(o,u,t);}return t.allowSparse===true?o:G.compact(o)};});var hn=s((Vi,mn)=>{var Za=pn(),Ya=vn(),Xa=Ee();mn.exports={formats:Xa,parse:Ya,stringify:Za};});var gn=Pn(hn());var Ji=(r,e)=>{let t=e?`?${gn.default.stringify(e,{arrayFormat:"indices",allowDots:true})}`:"";window.open(`${r}${t}`);},Zi=(r,e={})=>{let t=document.createElement("form");t.action=r,t.method="POST",t.target="_blank",t.style.visibility="hidden",Object.entries(e).forEach(([n,o])=>{if([void 0,null,"",NaN].includes(o)||Array.isArray(o)&&!o.length)return;let a=document.createElement("input");a.type="hidden",a.name=n,a.value=o,t.appendChild(a);}),document.body.appendChild(t),t.submit(),t.remove();};function Yi(r){let e=typeof r=="string"?r:window.location.hash,[,t=""]=e.split("?"),n=new URLSearchParams(t),o={};return n.forEach((a,i)=>{try{let l=decodeURIComponent(a);o[i]=JSON.parse(l);}catch{try{o[i]=decodeURIComponent(a);}catch{o[i]=a;}}}),o}function Xi(r,e){return Object.entries(r).find(([,n])=>n===e)?.[0]}function ji(r){return Object.keys(r).filter(e=>isNaN(+e)).map(e=>({label:e,value:r[e]}))}function eu(r,e){switch(e.toUpperCase()){case "KB":return r*1024;case "MB":return r*1024*1024;case "GB":return r*1024*1024*1024;default:return null}}function ru(){let r=useRef(true);return r.current?(r.current=false,true):r.current}var nr={format2thround(r){r=`${r}`;let e=/(\d{1,3})(?=(?:\d{3})+\.)/g,t=/(\d{1,3})(?=(?:\d{3})+$)/g,n=r.indexOf(".")!==-1?e:t;return r=r.replace(n,"$1,"),r},format2number(r){let e=/,|%|元|¥/g;return Number(`${r}`.replace(e,""))},format(r,e){if(!e)return `${r}`;if(!isNaN(parseFloat(`${r}`))&&isFinite(+`${r}`)){if(r=Number(r),e?.ratio&&(r=r*e?.ratio),e?.decimal){let n=e?.truncable?nr.truncate(r,e?.decimal):r.toFixed(e?.decimal);e?.decimal===2&&n.slice(-3)===".00"&&(n=e?.truncable?nr.truncate(r,0):r.toFixed(0)),r=n;}e?.thousand&&(r=nr.format2thround(r)),e?.unit&&(r=e?.position==="left"?e?.unit+r:r+e?.unit);}else e?.unit&&(r=e?.position==="left"?e?.unit+r:r+e?.unit);return e?.ouputnumber?Number(r):`${r}`},truncate(r,e=2){let t=`${r}`.split("."),n=t[0];return t[1]&&e>0&&(n+=`.${t[1].substr(0,e)}`),n},multiplyOperation(r,e){r=typeof r=="number"?r:NaN,e=typeof e=="number"?e:NaN;let t=(r||NaN)*(e||NaN);return isNaN(t)?void 0:t},dividerOperation(r,e){r=typeof r=="number"?r:NaN,e=typeof e=="number"?e:NaN;let t=(r||NaN)/(e||NaN);return isNaN(t)?void 0:t},formatTrueOrFalse(r){switch(r){case 0:return "\u5426";case 1:return "\u662F";default:return "-"}}};export{nr as Formatter,Ji as downloadGet,Zi as downloadPost,ji as enum2DataSource,eu as formatFileLength,Xi as getEnumLabel,Yi as parseHashParams,ru as useIsFirstRender};
1
+ import {useRef}from'react';var In=Object.create;var yr=Object.defineProperty;var $n=Object.getOwnPropertyDescriptor;var Fn=Object.getOwnPropertyNames;var Dn=Object.getPrototypeOf,_n=Object.prototype.hasOwnProperty;var d=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var qn=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Fn(e))!_n.call(r,o)&&o!==n&&yr(r,o,{get:()=>e[o],enumerable:!(t=$n(e,o))||t.enumerable});return r};var Tn=(r,e,n)=>(n=r!=null?In(Dn(r)):{},qn(yr(n,"default",{value:r,enumerable:true}),r));var L=d((ha,dr)=>{dr.exports=TypeError;});var hr=d(()=>{});var ie=d((ga,Tr)=>{var We=typeof Map=="function"&&Map.prototype,De=Object.getOwnPropertyDescriptor&&We?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,he=We&&De&&typeof De.get=="function"?De.get:null,vr=We&&Map.prototype.forEach,Ge=typeof Set=="function"&&Set.prototype,_e=Object.getOwnPropertyDescriptor&&Ge?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ve=Ge&&_e&&typeof _e.get=="function"?_e.get:null,mr=Ge&&Set.prototype.forEach,Mn=typeof WeakMap=="function"&&WeakMap.prototype,te=Mn?WeakMap.prototype.has:null,Cn=typeof WeakSet=="function"&&WeakSet.prototype,ne=Cn?WeakSet.prototype.has:null,Bn=typeof WeakRef=="function"&&WeakRef.prototype,gr=Bn?WeakRef.prototype.deref:null,Ln=Boolean.prototype.valueOf,Un=Object.prototype.toString,Wn=Function.prototype.toString,Gn=String.prototype.match,Ke=String.prototype.slice,T=String.prototype.replace,Kn=String.prototype.toUpperCase,Sr=String.prototype.toLowerCase,Nr=RegExp.prototype.test,br=Array.prototype.concat,P=Array.prototype.join,kn=Array.prototype.slice,wr=Math.floor,Me=typeof BigInt=="function"?BigInt.prototype.valueOf:null,qe=Object.getOwnPropertySymbols,Ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,H=typeof Symbol=="function"&&typeof Symbol.iterator=="object",oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===H||true)?Symbol.toStringTag:null,Ir=Object.prototype.propertyIsEnumerable,Ar=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Or(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Nr.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var t=r<0?-wr(-r):wr(r);if(t!==r){var o=String(t),i=Ke.call(e,o.length+1);return T.call(o,n,"$&_")+"."+T.call(T.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return T.call(e,n,"$&_")}var Be=hr(),Er=Be.custom,Pr=Dr(Er)?Er:null,$r={__proto__:null,double:'"',single:"'"},zn={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Tr.exports=function r(e,n,t,o){var i=n||{};if($(i,"quoteStyle")&&!$($r,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=$(i,"customInspect")?i.customInspect:true;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=i.numericSeparator;if(typeof e>"u")return "undefined";if(e===null)return "null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return qr(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return f?Or(e,u):u}if(typeof e=="bigint"){var c=String(e)+"n";return f?Or(e,c):c}var s=typeof i.depth>"u"?5:i.depth;if(typeof t>"u"&&(t=0),t>=s&&s>0&&typeof e=="object")return Le(e)?"[Array]":"[Object]";var p=fo(i,t);if(typeof o>"u")o=[];else if(_r(o,e)>=0)return "[Circular]";function l(E,q,I){if(q&&(o=kn.call(o),o.push(q)),I){var ee={depth:i.depth};return $(i,"quoteStyle")&&(ee.quoteStyle=i.quoteStyle),r(E,ee,t+1,o)}return r(E,i,t+1,o)}if(typeof e=="function"&&!xr(e)){var v=eo(e),y=de(e,l);return "[Function"+(v?": "+v:" (anonymous)")+"]"+(y.length>0?" { "+P.call(y,", ")+" }":"")}if(Dr(e)){var g=H?T.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ce.call(e);return typeof e=="object"&&!H?re(g):g}if(ao(e)){for(var b="<"+Sr.call(String(e.nodeName)),O=e.attributes||[],F=0;F<O.length;F++)b+=" "+O[F].name+"="+Fr(Vn(O[F].value),"double",i);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+="</"+Sr.call(String(e.nodeName))+">",b}if(Le(e)){if(e.length===0)return "[]";var m=de(e,l);return p&&!lo(m)?"["+Ue(m,p)+"]":"[ "+P.call(m,", ")+" ]"}if(Qn(e)){var D=de(e,l);return !("cause"in Error.prototype)&&"cause"in e&&!Ir.call(e,"cause")?"{ ["+String(e)+"] "+P.call(br.call("[cause]: "+l(e.cause),D),", ")+" }":D.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+P.call(D,", ")+" }"}if(typeof e=="object"&&a){if(Pr&&typeof e[Pr]=="function"&&Be)return Be(e,{depth:s-t});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ro(e)){var C=[];return vr&&vr.call(e,function(E,q){C.push(l(q,e,true)+" => "+l(E,e));}),Rr("Map",he.call(e),C,p)}if(oo(e)){var j=[];return mr&&mr.call(e,function(E){j.push(l(E,e));}),Rr("Set",ve.call(e),j,p)}if(to(e))return Te("WeakMap");if(io(e))return Te("WeakSet");if(no(e))return Te("WeakRef");if(Yn(e))return re(l(Number(e)));if(Xn(e))return re(l(Me.call(e)));if(Zn(e))return re(Ln.call(e));if(Jn(e))return re(l(String(e)));if(typeof window<"u"&&e===window)return "{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return "{ [object globalThis] }";if(!Hn(e)&&!xr(e)){var z=de(e,l),pe=Ar?Ar(e)===Object.prototype:e instanceof Object||e.constructor===Object,B=e instanceof Object?"":"null prototype",_=!pe&&oe&&Object(e)===e&&oe in e?Ke.call(M(e),8,-1):B?"Object":"",ye=pe||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",V=ye+(_||B?"["+P.call(br.call([],_||[],B||[]),": ")+"] ":"");return z.length===0?V+"{}":p?V+"{"+Ue(z,p)+"}":V+"{ "+P.call(z,", ")+" }"}return String(e)};function Fr(r,e,n){var t=n.quoteStyle||e,o=$r[t];return o+r+o}function Vn(r){return T.call(String(r),/"/g,"&quot;")}function U(r){return !oe||!(typeof r=="object"&&(oe in r||typeof r[oe]<"u"))}function Le(r){return M(r)==="[object Array]"&&U(r)}function Hn(r){return M(r)==="[object Date]"&&U(r)}function xr(r){return M(r)==="[object RegExp]"&&U(r)}function Qn(r){return M(r)==="[object Error]"&&U(r)}function Jn(r){return M(r)==="[object String]"&&U(r)}function Yn(r){return M(r)==="[object Number]"&&U(r)}function Zn(r){return M(r)==="[object Boolean]"&&U(r)}function Dr(r){if(H)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return true;if(!r||typeof r!="object"||!Ce)return false;try{return Ce.call(r),!0}catch{}return false}function Xn(r){if(!r||typeof r!="object"||!Me)return false;try{return Me.call(r),!0}catch{}return false}var jn=Object.prototype.hasOwnProperty||function(r){return r in this};function $(r,e){return jn.call(r,e)}function M(r){return Un.call(r)}function eo(r){if(r.name)return r.name;var e=Gn.call(Wn.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function _r(r,e){if(r.indexOf)return r.indexOf(e);for(var n=0,t=r.length;n<t;n++)if(r[n]===e)return n;return -1}function ro(r){if(!he||!r||typeof r!="object")return false;try{he.call(r);try{ve.call(r);}catch{return !0}return r instanceof Map}catch{}return false}function to(r){if(!te||!r||typeof r!="object")return false;try{te.call(r,te);try{ne.call(r,ne);}catch{return !0}return r instanceof WeakMap}catch{}return false}function no(r){if(!gr||!r||typeof r!="object")return false;try{return gr.call(r),!0}catch{}return false}function oo(r){if(!ve||!r||typeof r!="object")return false;try{ve.call(r);try{he.call(r);}catch{return !0}return r instanceof Set}catch{}return false}function io(r){if(!ne||!r||typeof r!="object")return false;try{ne.call(r,ne);try{te.call(r,te);}catch{return !0}return r instanceof WeakSet}catch{}return false}function ao(r){return !r||typeof r!="object"?false:typeof HTMLElement<"u"&&r instanceof HTMLElement?true:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function qr(r,e){if(r.length>e.maxStringLength){var n=r.length-e.maxStringLength,t="... "+n+" more character"+(n>1?"s":"");return qr(Ke.call(r,0,e.maxStringLength),e)+t}var o=zn[e.quoteStyle||"single"];o.lastIndex=0;var i=T.call(T.call(r,o,"\\$1"),/[\x00-\x1f]/g,uo);return Fr(i,"single",e)}function uo(r){var e=r.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+Kn.call(e.toString(16))}function re(r){return "Object("+r+")"}function Te(r){return r+" { ? }"}function Rr(r,e,n,t){var o=t?Ue(n,t):P.call(n,", ");return r+" ("+e+") {"+o+"}"}function lo(r){for(var e=0;e<r.length;e++)if(_r(r[e],`
2
+ `)>=0)return false;return true}function fo(r,e){var n;if(r.indent===" ")n=" ";else if(typeof r.indent=="number"&&r.indent>0)n=P.call(Array(r.indent+1)," ");else return null;return {base:n,prev:P.call(Array(e+1),n)}}function Ue(r,e){if(r.length===0)return "";var n=`
3
+ `+e.prev+e.base;return n+P.call(r,","+n)+`
4
+ `+e.prev}function de(r,e){var n=Le(r),t=[];if(n){t.length=r.length;for(var o=0;o<r.length;o++)t[o]=$(r,o)?e(r[o],r):"";}var i=typeof qe=="function"?qe(r):[],a;if(H){a={};for(var f=0;f<i.length;f++)a["$"+i[f]]=i[f];}for(var u in r)$(r,u)&&(n&&String(Number(u))===u&&u<r.length||H&&a["$"+u]instanceof Symbol||(Nr.call(/[^\w$]/,u)?t.push(e(u,r)+": "+e(r[u],r)):t.push(u+": "+e(r[u],r))));if(typeof qe=="function")for(var c=0;c<i.length;c++)Ir.call(r,i[c])&&t.push("["+e(i[c])+"]: "+e(r[i[c]],r));return t}});var Cr=d((Sa,Mr)=>{var co=ie(),so=L(),me=function(r,e,n){for(var t=r,o;(o=t.next)!=null;t=o)if(o.key===e)return t.next=o.next,n||(o.next=r.next,r.next=o),o},po=function(r,e){if(r){var n=me(r,e);return n&&n.value}},yo=function(r,e,n){var t=me(r,e);t?t.value=n:r.next={key:e,next:r.next,value:n};},ho=function(r,e){return r?!!me(r,e):false},vo=function(r,e){if(r)return me(r,e,true)};Mr.exports=function(){var e,n={assert:function(t){if(!n.has(t))throw new so("Side channel does not contain "+co(t))},delete:function(t){var o=e&&e.next,i=vo(e,t);return i&&o&&o===i&&(e=void 0),!!i},get:function(t){return po(e,t)},has:function(t){return ho(e,t)},set:function(t,o){e||(e={next:void 0}),yo(e,t,o);}};return n};});var ke=d((ba,Br)=>{Br.exports=Object;});var Ur=d((wa,Lr)=>{Lr.exports=Error;});var Gr=d((Aa,Wr)=>{Wr.exports=EvalError;});var kr=d((Oa,Kr)=>{Kr.exports=RangeError;});var Vr=d((Ea,zr)=>{zr.exports=ReferenceError;});var Qr=d((Pa,Hr)=>{Hr.exports=SyntaxError;});var Yr=d((xa,Jr)=>{Jr.exports=URIError;});var Xr=d((Ra,Zr)=>{Zr.exports=Math.abs;});var et=d((Na,jr)=>{jr.exports=Math.floor;});var tt=d((Ia,rt)=>{rt.exports=Math.max;});var ot=d(($a,nt)=>{nt.exports=Math.min;});var at=d((Fa,it)=>{it.exports=Math.pow;});var lt=d((Da,ut)=>{ut.exports=Math.round;});var ct=d((_a,ft)=>{ft.exports=Number.isNaN||function(e){return e!==e};});var pt=d((qa,st)=>{var mo=ct();st.exports=function(e){return mo(e)||e===0?e:e<0?-1:1};});var dt=d((Ta,yt)=>{yt.exports=Object.getOwnPropertyDescriptor;});var ze=d((Ma,ht)=>{var ge=dt();if(ge)try{ge([],"length");}catch{ge=null;}ht.exports=ge;});var mt=d((Ca,vt)=>{var Se=Object.defineProperty||false;if(Se)try{Se({},"a",{value:1});}catch{Se=false;}vt.exports=Se;});var St=d((Ba,gt)=>{gt.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return false;if(typeof Symbol.iterator=="symbol")return true;var e={},n=Symbol("test"),t=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(t)!=="[object Symbol]")return false;var o=42;e[n]=o;for(var i in e)return false;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return false;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return false;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,n);if(f.value!==o||f.enumerable!==true)return false}return true};});var At=d((La,wt)=>{var bt=typeof Symbol<"u"&&Symbol,go=St();wt.exports=function(){return typeof bt!="function"||typeof Symbol!="function"||typeof bt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?false:go()};});var Ve=d((Ua,Ot)=>{Ot.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null;});var He=d((Wa,Et)=>{var So=ke();Et.exports=So.getPrototypeOf||null;});var Rt=d((Ga,xt)=>{var bo="Function.prototype.bind called on incompatible ",wo=Object.prototype.toString,Ao=Math.max,Oo="[object Function]",Pt=function(e,n){for(var t=[],o=0;o<e.length;o+=1)t[o]=e[o];for(var i=0;i<n.length;i+=1)t[i+e.length]=n[i];return t},Eo=function(e,n){for(var t=[],o=n,i=0;o<e.length;o+=1,i+=1)t[i]=e[o];return t},Po=function(r,e){for(var n="",t=0;t<r.length;t+=1)n+=r[t],t+1<r.length&&(n+=e);return n};xt.exports=function(e){var n=this;if(typeof n!="function"||wo.apply(n)!==Oo)throw new TypeError(bo+n);for(var t=Eo(arguments,1),o,i=function(){if(this instanceof o){var s=n.apply(this,Pt(t,arguments));return Object(s)===s?s:this}return n.apply(e,Pt(t,arguments))},a=Ao(0,n.length-t.length),f=[],u=0;u<a;u++)f[u]="$"+u;if(o=Function("binder","return function ("+Po(f,",")+"){ return binder.apply(this,arguments); }")(i),n.prototype){var c=function(){};c.prototype=n.prototype,o.prototype=new c,c.prototype=null;}return o};});var ae=d((Ka,Nt)=>{var xo=Rt();Nt.exports=Function.prototype.bind||xo;});var be=d((ka,It)=>{It.exports=Function.prototype.call;});var Qe=d((za,$t)=>{$t.exports=Function.prototype.apply;});var Dt=d((Va,Ft)=>{Ft.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply;});var qt=d((Ha,_t)=>{var Ro=ae(),No=Qe(),Io=be(),$o=Dt();_t.exports=$o||Ro.call(Io,No);});var Je=d((Qa,Tt)=>{var Fo=ae(),Do=L(),_o=be(),qo=qt();Tt.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Do("a function is required");return qo(Fo,_o,e)};});var Wt=d((Ja,Ut)=>{var To=Je(),Mt=ze(),Bt;try{Bt=[].__proto__===Array.prototype;}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Ye=!!Bt&&Mt&&Mt(Object.prototype,"__proto__"),Lt=Object,Ct=Lt.getPrototypeOf;Ut.exports=Ye&&typeof Ye.get=="function"?To([Ye.get]):typeof Ct=="function"?function(e){return Ct(e==null?e:Lt(e))}:false;});var Vt=d((Ya,zt)=>{var Gt=Ve(),Kt=He(),kt=Wt();zt.exports=Gt?function(e){return Gt(e)}:Kt?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Kt(e)}:kt?function(e){return kt(e)}:null;});var Qt=d((Za,Ht)=>{var Mo=Function.prototype.call,Co=Object.prototype.hasOwnProperty,Bo=ae();Ht.exports=Bo.call(Mo,Co);});var Oe=d((Xa,en)=>{var h,Lo=ke(),Uo=Ur(),Wo=Gr(),Go=kr(),Ko=Vr(),Z=Qr(),Y=L(),ko=Yr(),zo=Xr(),Vo=et(),Ho=tt(),Qo=ot(),Jo=at(),Yo=lt(),Zo=pt(),Xt=Function,Ze=function(r){try{return Xt('"use strict"; return ('+r+").constructor;")()}catch{}},ue=ze(),Xo=mt(),Xe=function(){throw new Y},jo=ue?(function(){try{return arguments.callee,Xe}catch{try{return ue(arguments,"callee").get}catch{return Xe}}})():Xe,Q=At()(),A=Vt(),ei=He(),ri=Ve(),jt=Qe(),le=be(),J={},ti=typeof Uint8Array>"u"||!A?h:A(Uint8Array),W={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?h:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?h:ArrayBuffer,"%ArrayIteratorPrototype%":Q&&A?A([][Symbol.iterator]()):h,"%AsyncFromSyncIteratorPrototype%":h,"%AsyncFunction%":J,"%AsyncGenerator%":J,"%AsyncGeneratorFunction%":J,"%AsyncIteratorPrototype%":J,"%Atomics%":typeof Atomics>"u"?h:Atomics,"%BigInt%":typeof BigInt>"u"?h:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?h:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?h:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?h:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Uo,"%eval%":eval,"%EvalError%":Wo,"%Float16Array%":typeof Float16Array>"u"?h:Float16Array,"%Float32Array%":typeof Float32Array>"u"?h:Float32Array,"%Float64Array%":typeof Float64Array>"u"?h:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?h:FinalizationRegistry,"%Function%":Xt,"%GeneratorFunction%":J,"%Int8Array%":typeof Int8Array>"u"?h:Int8Array,"%Int16Array%":typeof Int16Array>"u"?h:Int16Array,"%Int32Array%":typeof Int32Array>"u"?h:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Q&&A?A(A([][Symbol.iterator]())):h,"%JSON%":typeof JSON=="object"?JSON:h,"%Map%":typeof Map>"u"?h:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Q||!A?h:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Lo,"%Object.getOwnPropertyDescriptor%":ue,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?h:Promise,"%Proxy%":typeof Proxy>"u"?h:Proxy,"%RangeError%":Go,"%ReferenceError%":Ko,"%Reflect%":typeof Reflect>"u"?h:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?h:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Q||!A?h:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?h:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Q&&A?A(""[Symbol.iterator]()):h,"%Symbol%":Q?Symbol:h,"%SyntaxError%":Z,"%ThrowTypeError%":jo,"%TypedArray%":ti,"%TypeError%":Y,"%Uint8Array%":typeof Uint8Array>"u"?h:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?h:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?h:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?h:Uint32Array,"%URIError%":ko,"%WeakMap%":typeof WeakMap>"u"?h:WeakMap,"%WeakRef%":typeof WeakRef>"u"?h:WeakRef,"%WeakSet%":typeof WeakSet>"u"?h:WeakSet,"%Function.prototype.call%":le,"%Function.prototype.apply%":jt,"%Object.defineProperty%":Xo,"%Object.getPrototypeOf%":ei,"%Math.abs%":zo,"%Math.floor%":Vo,"%Math.max%":Ho,"%Math.min%":Qo,"%Math.pow%":Jo,"%Math.round%":Yo,"%Math.sign%":Zo,"%Reflect.getPrototypeOf%":ri};if(A)try{null.error;}catch(r){Jt=A(A(r)),W["%Error.prototype%"]=Jt;}var Jt,ni=function r(e){var n;if(e==="%AsyncFunction%")n=Ze("async function () {}");else if(e==="%GeneratorFunction%")n=Ze("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=Ze("async function* () {}");else if(e==="%AsyncGenerator%"){var t=r("%AsyncGeneratorFunction%");t&&(n=t.prototype);}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&A&&(n=A(o.prototype));}return W[e]=n,n},Yt={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},fe=ae(),we=Qt(),oi=fe.call(le,Array.prototype.concat),ii=fe.call(jt,Array.prototype.splice),Zt=fe.call(le,String.prototype.replace),Ae=fe.call(le,String.prototype.slice),ai=fe.call(le,RegExp.prototype.exec),ui=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,li=/\\(\\)?/g,fi=function(e){var n=Ae(e,0,1),t=Ae(e,-1);if(n==="%"&&t!=="%")throw new Z("invalid intrinsic syntax, expected closing `%`");if(t==="%"&&n!=="%")throw new Z("invalid intrinsic syntax, expected opening `%`");var o=[];return Zt(e,ui,function(i,a,f,u){o[o.length]=f?Zt(u,li,"$1"):a||i;}),o},ci=function(e,n){var t=e,o;if(we(Yt,t)&&(o=Yt[t],t="%"+o[0]+"%"),we(W,t)){var i=W[t];if(i===J&&(i=ni(t)),typeof i>"u"&&!n)throw new Y("intrinsic "+e+" exists, but is not available. Please file an issue!");return {alias:o,name:t,value:i}}throw new Z("intrinsic "+e+" does not exist!")};en.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new Y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Y('"allowMissing" argument must be a boolean');if(ai(/^%?[^%]*%?$/,e)===null)throw new Z("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=fi(e),o=t.length>0?t[0]:"",i=ci("%"+o+"%",n),a=i.name,f=i.value,u=false,c=i.alias;c&&(o=c[0],ii(t,oi([0,1],c)));for(var s=1,p=true;s<t.length;s+=1){var l=t[s],v=Ae(l,0,1),y=Ae(l,-1);if((v==='"'||v==="'"||v==="`"||y==='"'||y==="'"||y==="`")&&v!==y)throw new Z("property names with quotes must have matching quotes");if((l==="constructor"||!p)&&(u=true),o+="."+l,a="%"+o+"%",we(W,a))f=W[a];else if(f!=null){if(!(l in f)){if(!n)throw new Y("base intrinsic for "+e+" exists, but the property is not available.");return}if(ue&&s+1>=t.length){var g=ue(f,l);p=!!g,p&&"get"in g&&!("originalValue"in g.get)?f=g.get:f=f[l];}else p=we(f,l),f=f[l];p&&!u&&(W[a]=f);}}return f};});var je=d((ja,nn)=>{var rn=Oe(),tn=Je(),si=tn([rn("%String.prototype.indexOf%")]);nn.exports=function(e,n){var t=rn(e,!!n);return typeof t=="function"&&si(e,".prototype.")>-1?tn([t]):t};});var er=d((eu,an)=>{var pi=Oe(),ce=je(),yi=ie(),di=L(),on=pi("%Map%",true),hi=ce("Map.prototype.get",true),vi=ce("Map.prototype.set",true),mi=ce("Map.prototype.has",true),gi=ce("Map.prototype.delete",true),Si=ce("Map.prototype.size",true);an.exports=!!on&&function(){var e,n={assert:function(t){if(!n.has(t))throw new di("Side channel does not contain "+yi(t))},delete:function(t){if(e){var o=gi(e,t);return Si(e)===0&&(e=void 0),o}return false},get:function(t){if(e)return hi(e,t)},has:function(t){return e?mi(e,t):false},set:function(t,o){e||(e=new on),vi(e,t,o);}};return n};});var ln=d((ru,un)=>{var bi=Oe(),Pe=je(),wi=ie(),Ee=er(),Ai=L(),X=bi("%WeakMap%",true),Oi=Pe("WeakMap.prototype.get",true),Ei=Pe("WeakMap.prototype.set",true),Pi=Pe("WeakMap.prototype.has",true),xi=Pe("WeakMap.prototype.delete",true);un.exports=X?function(){var e,n,t={assert:function(o){if(!t.has(o))throw new Ai("Side channel does not contain "+wi(o))},delete:function(o){if(X&&o&&(typeof o=="object"||typeof o=="function")){if(e)return xi(e,o)}else if(Ee&&n)return n.delete(o);return false},get:function(o){return X&&o&&(typeof o=="object"||typeof o=="function")&&e?Oi(e,o):n&&n.get(o)},has:function(o){return X&&o&&(typeof o=="object"||typeof o=="function")&&e?Pi(e,o):!!n&&n.has(o)},set:function(o,i){X&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new X),Ei(e,o,i)):Ee&&(n||(n=Ee()),n.set(o,i));}};return t}:Ee;});var cn=d((tu,fn)=>{var Ri=L(),Ni=ie(),Ii=Cr(),$i=er(),Fi=ln(),Di=Fi||$i||Ii;fn.exports=function(){var e,n={assert:function(t){if(!n.has(t))throw new Ri("Side channel does not contain "+Ni(t))},delete:function(t){return !!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return !!e&&e.has(t)},set:function(t,o){e||(e=Di()),e.set(t,o);}};return n};});var xe=d((nu,sn)=>{var _i=String.prototype.replace,qi=/%20/g,rr={RFC1738:"RFC1738",RFC3986:"RFC3986"};sn.exports={default:rr.RFC3986,formatters:{RFC1738:function(r){return _i.call(r,qi,"+")},RFC3986:function(r){return String(r)}},RFC1738:rr.RFC1738,RFC3986:rr.RFC3986};});var or=d((ou,yn)=>{var Ti=xe(),tr=Object.prototype.hasOwnProperty,G=Array.isArray,x=(function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r})(),Mi=function(e){for(;e.length>1;){var n=e.pop(),t=n.obj[n.prop];if(G(t)){for(var o=[],i=0;i<t.length;++i)typeof t[i]<"u"&&o.push(t[i]);n.obj[n.prop]=o;}}},pn=function(e,n){for(var t=n&&n.plainObjects?{__proto__:null}:{},o=0;o<e.length;++o)typeof e[o]<"u"&&(t[o]=e[o]);return t},Ci=function r(e,n,t){if(!n)return e;if(typeof n!="object"&&typeof n!="function"){if(G(e))e.push(n);else if(e&&typeof e=="object")(t&&(t.plainObjects||t.allowPrototypes)||!tr.call(Object.prototype,n))&&(e[n]=true);else return [e,n];return e}if(!e||typeof e!="object")return [e].concat(n);var o=e;return G(e)&&!G(n)&&(o=pn(e,t)),G(e)&&G(n)?(n.forEach(function(i,a){if(tr.call(e,a)){var f=e[a];f&&typeof f=="object"&&i&&typeof i=="object"?e[a]=r(f,i,t):e.push(i);}else e[a]=i;}),e):Object.keys(n).reduce(function(i,a){var f=n[a];return tr.call(i,a)?i[a]=r(i[a],f,t):i[a]=f,i},o)},Bi=function(e,n){return Object.keys(n).reduce(function(t,o){return t[o]=n[o],t},e)},Li=function(r,e,n){var t=r.replace(/\+/g," ");if(n==="iso-8859-1")return t.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(t)}catch{return t}},nr=1024,Ui=function(e,n,t,o,i){if(e.length===0)return e;var a=e;if(typeof e=="symbol"?a=Symbol.prototype.toString.call(e):typeof e!="string"&&(a=String(e)),t==="iso-8859-1")return escape(a).replace(/%u[0-9a-f]{4}/gi,function(v){return "%26%23"+parseInt(v.slice(2),16)+"%3B"});for(var f="",u=0;u<a.length;u+=nr){for(var c=a.length>=nr?a.slice(u,u+nr):a,s=[],p=0;p<c.length;++p){var l=c.charCodeAt(p);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===Ti.RFC1738&&(l===40||l===41)){s[s.length]=c.charAt(p);continue}if(l<128){s[s.length]=x[l];continue}if(l<2048){s[s.length]=x[192|l>>6]+x[128|l&63];continue}if(l<55296||l>=57344){s[s.length]=x[224|l>>12]+x[128|l>>6&63]+x[128|l&63];continue}p+=1,l=65536+((l&1023)<<10|c.charCodeAt(p)&1023),s[s.length]=x[240|l>>18]+x[128|l>>12&63]+x[128|l>>6&63]+x[128|l&63];}f+=s.join("");}return f},Wi=function(e){for(var n=[{obj:{o:e},prop:"o"}],t=[],o=0;o<n.length;++o)for(var i=n[o],a=i.obj[i.prop],f=Object.keys(a),u=0;u<f.length;++u){var c=f[u],s=a[c];typeof s=="object"&&s!==null&&t.indexOf(s)===-1&&(n.push({obj:a,prop:c}),t.push(s));}return Mi(n),e},Gi=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Ki=function(e){return !e||typeof e!="object"?false:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},ki=function(e,n){return [].concat(e,n)},zi=function(e,n){if(G(e)){for(var t=[],o=0;o<e.length;o+=1)t.push(n(e[o]));return t}return n(e)};yn.exports={arrayToObject:pn,assign:Bi,combine:ki,compact:Wi,decode:Li,encode:Ui,isBuffer:Ki,isRegExp:Gi,maybeMap:zi,merge:Ci};});var Sn=d((iu,gn)=>{var hn=cn(),Re=or(),se=xe(),Vi=Object.prototype.hasOwnProperty,vn={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,n){return e+"["+n+"]"},repeat:function(e){return e}},R=Array.isArray,Hi=Array.prototype.push,mn=function(r,e){Hi.apply(r,R(e)?e:[e]);},Qi=Date.prototype.toISOString,dn=se.default,w={addQueryPrefix:false,allowDots:false,allowEmptyArrays:false,arrayFormat:"indices",charset:"utf-8",charsetSentinel:false,commaRoundTrip:false,delimiter:"&",encode:true,encodeDotInKeys:false,encoder:Re.encode,encodeValuesOnly:false,filter:void 0,format:dn,formatter:se.formatters[dn],indices:false,serializeDate:function(e){return Qi.call(e)},skipNulls:false,strictNullHandling:false},Ji=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},ir={},Yi=function r(e,n,t,o,i,a,f,u,c,s,p,l,v,y,g,b,O,F){for(var m=e,D=F,C=0,j=false;(D=D.get(ir))!==void 0&&!j;){var z=D.get(e);if(C+=1,typeof z<"u"){if(z===C)throw new RangeError("Cyclic object value");j=true;}typeof D.get(ir)>"u"&&(C=0);}if(typeof s=="function"?m=s(n,m):m instanceof Date?m=v(m):t==="comma"&&R(m)&&(m=Re.maybeMap(m,function(Fe){return Fe instanceof Date?v(Fe):Fe})),m===null){if(a)return c&&!b?c(n,w.encoder,O,"key",y):n;m="";}if(Ji(m)||Re.isBuffer(m)){if(c){var pe=b?n:c(n,w.encoder,O,"key",y);return [g(pe)+"="+g(c(m,w.encoder,O,"value",y))]}return [g(n)+"="+g(String(m))]}var B=[];if(typeof m>"u")return B;var _;if(t==="comma"&&R(m))b&&c&&(m=Re.maybeMap(m,c)),_=[{value:m.length>0?m.join(",")||null:void 0}];else if(R(s))_=s;else {var ye=Object.keys(m);_=p?ye.sort(p):ye;}var V=u?String(n).replace(/\./g,"%2E"):String(n),E=o&&R(m)&&m.length===1?V+"[]":V;if(i&&R(m)&&m.length===0)return E+"[]";for(var q=0;q<_.length;++q){var I=_[q],ee=typeof I=="object"&&I&&typeof I.value<"u"?I.value:m[I];if(!(f&&ee===null)){var $e=l&&u?String(I).replace(/\./g,"%2E"):String(I),Nn=R(m)?typeof t=="function"?t(E,$e):E:E+(l?"."+$e:"["+$e+"]");F.set(e,C);var pr=hn();pr.set(ir,F),mn(B,r(ee,Nn,t,o,i,a,f,u,t==="comma"&&b&&R(m)?null:c,s,p,l,v,y,g,b,O,pr));}}return B},Zi=function(e){if(!e)return w;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=e.charset||w.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=se.default;if(typeof e.format<"u"){if(!Vi.call(se.formatters,e.format))throw new TypeError("Unknown format option provided.");t=e.format;}var o=se.formatters[t],i=w.filter;(typeof e.filter=="function"||R(e.filter))&&(i=e.filter);var a;if(e.arrayFormat in vn?a=e.arrayFormat:"indices"in e?a=e.indices?"indices":"repeat":a=w.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=typeof e.allowDots>"u"?e.encodeDotInKeys===true?true:w.allowDots:!!e.allowDots;return {addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:w.addQueryPrefix,allowDots:f,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:w.allowEmptyArrays,arrayFormat:a,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:w.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?w.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:w.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:w.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:w.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:w.encodeValuesOnly,filter:i,format:t,formatter:o,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:w.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:w.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:w.strictNullHandling}};gn.exports=function(r,e){var n=r,t=Zi(e),o,i;typeof t.filter=="function"?(i=t.filter,n=i("",n)):R(t.filter)&&(i=t.filter,o=i);var a=[];if(typeof n!="object"||n===null)return "";var f=vn[t.arrayFormat],u=f==="comma"&&t.commaRoundTrip;o||(o=Object.keys(n)),t.sort&&o.sort(t.sort);for(var c=hn(),s=0;s<o.length;++s){var p=o[s],l=n[p];t.skipNulls&&l===null||mn(a,Yi(l,p,f,u,t.allowEmptyArrays,t.strictNullHandling,t.skipNulls,t.encodeDotInKeys,t.encode?t.encoder:null,t.filter,t.sort,t.allowDots,t.serializeDate,t.format,t.formatter,t.encodeValuesOnly,t.charset,c));}var v=a.join(t.delimiter),y=t.addQueryPrefix===true?"?":"";return t.charsetSentinel&&(t.charset==="iso-8859-1"?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""};});var On=d((au,An)=>{var K=or(),ar=Object.prototype.hasOwnProperty,bn=Array.isArray,S={allowDots:false,allowEmptyArrays:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decodeDotInKeys:false,decoder:K.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictDepth:false,strictNullHandling:false,throwOnLimitExceeded:false},Xi=function(r){return r.replace(/&#(\d+);/g,function(e,n){return String.fromCharCode(parseInt(n,10))})},wn=function(r,e,n){if(r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1)return r.split(",");if(e.throwOnLimitExceeded&&n>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return r},ji="utf8=%26%2310003%3B",ea="utf8=%E2%9C%93",ra=function(e,n){var t={__proto__:null},o=n.ignoreQueryPrefix?e.replace(/^\?/,""):e;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var i=n.parameterLimit===1/0?void 0:n.parameterLimit,a=o.split(n.delimiter,n.throwOnLimitExceeded?i+1:i);if(n.throwOnLimitExceeded&&a.length>i)throw new RangeError("Parameter limit exceeded. Only "+i+" parameter"+(i===1?"":"s")+" allowed.");var f=-1,u,c=n.charset;if(n.charsetSentinel)for(u=0;u<a.length;++u)a[u].indexOf("utf8=")===0&&(a[u]===ea?c="utf-8":a[u]===ji&&(c="iso-8859-1"),f=u,u=a.length);for(u=0;u<a.length;++u)if(u!==f){var s=a[u],p=s.indexOf("]="),l=p===-1?s.indexOf("="):p+1,v,y;l===-1?(v=n.decoder(s,S.decoder,c,"key"),y=n.strictNullHandling?null:""):(v=n.decoder(s.slice(0,l),S.decoder,c,"key"),y=K.maybeMap(wn(s.slice(l+1),n,bn(t[v])?t[v].length:0),function(b){return n.decoder(b,S.decoder,c,"value")})),y&&n.interpretNumericEntities&&c==="iso-8859-1"&&(y=Xi(String(y))),s.indexOf("[]=")>-1&&(y=bn(y)?[y]:y);var g=ar.call(t,v);g&&n.duplicates==="combine"?t[v]=K.combine(t[v],y):(!g||n.duplicates==="last")&&(t[v]=y);}return t},ta=function(r,e,n,t){var o=0;if(r.length>0&&r[r.length-1]==="[]"){var i=r.slice(0,-1).join("");o=Array.isArray(e)&&e[i]?e[i].length:0;}for(var a=t?e:wn(e,n,o),f=r.length-1;f>=0;--f){var u,c=r[f];if(c==="[]"&&n.parseArrays)u=n.allowEmptyArrays&&(a===""||n.strictNullHandling&&a===null)?[]:K.combine([],a);else {u=n.plainObjects?{__proto__:null}:{};var s=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,p=n.decodeDotInKeys?s.replace(/%2E/g,"."):s,l=parseInt(p,10);!n.parseArrays&&p===""?u={0:a}:!isNaN(l)&&c!==p&&String(l)===p&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(u=[],u[l]=a):p!=="__proto__"&&(u[p]=a);}a=u;}return a},na=function(e,n,t,o){if(e){var i=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,f=/(\[[^[\]]*])/g,u=t.depth>0&&a.exec(i),c=u?i.slice(0,u.index):i,s=[];if(c){if(!t.plainObjects&&ar.call(Object.prototype,c)&&!t.allowPrototypes)return;s.push(c);}for(var p=0;t.depth>0&&(u=f.exec(i))!==null&&p<t.depth;){if(p+=1,!t.plainObjects&&ar.call(Object.prototype,u[1].slice(1,-1))&&!t.allowPrototypes)return;s.push(u[1]);}if(u){if(t.strictDepth===true)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");s.push("["+i.slice(u.index)+"]");}return ta(s,n,t,o)}},oa=function(e){if(!e)return S;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var n=typeof e.charset>"u"?S.charset:e.charset,t=typeof e.duplicates>"u"?S.duplicates:e.duplicates;if(t!=="combine"&&t!=="first"&&t!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var o=typeof e.allowDots>"u"?e.decodeDotInKeys===true?true:S.allowDots:!!e.allowDots;return {allowDots:o,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:S.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:S.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:S.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:S.arrayLimit,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:S.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:S.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:S.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:S.decoder,delimiter:typeof e.delimiter=="string"||K.isRegExp(e.delimiter)?e.delimiter:S.delimiter,depth:typeof e.depth=="number"||e.depth===false?+e.depth:S.depth,duplicates:t,ignoreQueryPrefix:e.ignoreQueryPrefix===true,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:S.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:S.parameterLimit,parseArrays:e.parseArrays!==false,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:S.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:S.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:S.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:false}};An.exports=function(r,e){var n=oa(e);if(r===""||r===null||typeof r>"u")return n.plainObjects?{__proto__:null}:{};for(var t=typeof r=="string"?ra(r,n):r,o=n.plainObjects?{__proto__:null}:{},i=Object.keys(t),a=0;a<i.length;++a){var f=i[a],u=na(f,t[f],n,typeof r=="string");o=K.merge(o,u,n);}return n.allowSparse===true?o:K.compact(o)};});var Pn=d((uu,En)=>{var ia=Sn(),aa=On(),ua=xe();En.exports={formats:ua,parse:aa,stringify:ia};});var Rn=Tn(Pn());var fu=(r,e)=>{let n=e?`?${Rn.default.stringify(e,{arrayFormat:"indices",allowDots:true})}`:"";window.open(`${r}${n}`);},cu=(r,e={})=>{let n=document.createElement("form");n.action=r,n.method="POST",n.target="_blank",n.style.visibility="hidden",Object.entries(e).forEach(([t,o])=>{if([void 0,null,"",NaN].includes(o)||Array.isArray(o)&&!o.length)return;let i=document.createElement("input");i.type="hidden",i.name=t,i.value=o,n.appendChild(i);}),document.body.appendChild(n),n.submit(),n.remove();};function su(r){let e=typeof r=="string"?r:window.location.hash,[,n=""]=e.split("?"),t=new URLSearchParams(n),o={};return t.forEach((i,a)=>{try{let f=decodeURIComponent(i);o[a]=JSON.parse(f);}catch{try{o[a]=decodeURIComponent(i);}catch{o[a]=i;}}}),o}function pu(r,e){return Object.entries(r).find(([,t])=>t===e)?.[0]}function yu(r){return Object.keys(r).filter(e=>isNaN(+e)).map(e=>({label:e,value:r[e]}))}function du(r,e){switch(e.toUpperCase()){case "KB":return r*1024;case "MB":return r*1024*1024;case "GB":return r*1024*1024*1024;default:return null}}function hu(){let r=useRef(true);return r.current?(r.current=false,true):r.current}var fa=new Set(["__proto__","prototype","constructor"]),ca=/^[A-Za-z_$][A-Za-z0-9_$]*$/,sa=/^(0|[1-9]\d*)$/,pa=4294967294;function N(r){return fa.has(r)}function ur(r){return ca.test(r)}function lr(r){if(!sa.test(r))return false;let e=Number(r);return Number.isSafeInteger(e)&&e>=0&&e<=pa}function Ne(r,e){return r!=null&&Object.prototype.hasOwnProperty.call(r,e)}function Ie(r){if(Array.isArray(r))return [...r];if(r&&typeof r=="object"){let e=Object.getPrototypeOf(r);return e===Object.prototype||e===null?{...r}:{...r}}return r}function ya(r,e){let n=r[e];if(n!=='"'&&n!=="'")return null;let t=e+1,o="";for(;t<r.length;){let i=r[t];if(i==="\\"){if(t+1>=r.length)return null;o+=r[t+1],t+=2;continue}if(i===n)return {value:o,nextIndex:t+1};o+=i,t++;}return null}function fr(r){if(typeof r!="string"||r.length<2||r[0]!=="$")return null;let e=[],n=r.length,t=1;for(;t<n&&r[t]!=="."&&r[t]!=="[";)t++;let o=r.slice(0,t),i=o.slice(1);if(!i||!ur(i)||N(i))return null;for(e.push(o);t<n;){let a=r[t];if(a==="."){if(t++,t>=n)return null;let f=t;for(;t<n&&r[t]!=="."&&r[t]!=="[";)t++;let u=r.slice(f,t);if(!u||!ur(u)||N(u))return null;e.push(u);continue}if(a==="["){for(t++;t<n&&/\s/.test(r[t]);)t++;if(t>=n)return null;if(r[t]==='"'||r[t]==="'"){let c=ya(r,t);if(!c)return null;let s=c.value;for(t=c.nextIndex;t<n&&/\s/.test(r[t]);)t++;if(t>=n||r[t]!=="]"||(t++,!s||N(s)))return null;e.push(s);continue}let f=t;for(;t<n&&r[t]!=="]";)t++;if(t>=n)return null;let u=r.slice(f,t).trim();if(t++,!u||!lr(u))return null;e.push(u);continue}return null}return e}function cr(r,e){if(typeof r!="string"||r.length<2||r[0]!=="$")return null;let n=r.slice(1);return !n||!ur(n)||N(n)?null:{container:e[n],runtimeKey:n}}function xn(r){return lr(r)?[]:{}}function k(r){return r!==null&&typeof r=="object"}function vu(r,e){if(typeof e!="string"||!e.startsWith("$"))return e;let n=fr(e);if(!n||n.length===0)return;let t=cr(n[0],r);if(!t)return;let o=t.container;for(let i=1;i<n.length;i++){if(o==null||!k(o))return;let a=n[i];if(N(a)||!Ne(o,a))return;o=o[a];}return o}function mu(r,e,n){if(typeof e!="string"||!e.startsWith("$"))return r;let t=fr(e);if(!t||t.length<2)return r;let o=cr(t[0],r);if(!o)return r;let i=o.runtimeKey,a=r[i],f={...r},u=t[1],c;k(a)?c=Ie(a):c=xn(u),f[i]=c;let s=a,p=c;for(let v=1;v<t.length-1;v++){let y=t[v],g=t[v+1];if(N(y)||N(g))return r;let b=k(s)&&Ne(s,y)?s[y]:void 0,O;k(b)?O=Ie(b):O=xn(g),p[y]=O,s=b,p=O;}let l=t[t.length-1];return N(l)?r:(p[l]=n,f)}function gu(r,e,n={}){let{removeArrayItem:t=true}=n;if(typeof e!="string"||!e.startsWith("$"))return r;let o=fr(e);if(!o||o.length<2)return r;let i=cr(o[0],r);if(!i)return r;let a=i.runtimeKey,f=r[a];if(!k(f))return r;let u=f;for(let y=1;y<o.length;y++){let g=o[y];if(!k(u)||N(g)||!Ne(u,g))return r;u=u[g];}let c={...r},s=Ie(f);c[a]=s;let p=f,l=s;for(let y=1;y<o.length-1;y++){let g=o[y],b=p[g];if(!k(b))return r;let O=Ie(b);l[g]=O,p=b,l=O;}let v=o[o.length-1];if(N(v))return r;if(Array.isArray(l)&&lr(v)){let y=Number(v);return y<0||y>=l.length?r:(t?l.splice(y,1):delete l[y],c)}return Ne(l,v)?(delete l[v],c):r}var sr={format2thround(r){r=`${r}`;let e=/(\d{1,3})(?=(?:\d{3})+\.)/g,n=/(\d{1,3})(?=(?:\d{3})+$)/g,t=r.indexOf(".")!==-1?e:n;return r=r.replace(t,"$1,"),r},format2number(r){let e=/,|%|元|¥/g;return Number(`${r}`.replace(e,""))},format(r,e){if(!e)return `${r}`;if(!isNaN(parseFloat(`${r}`))&&isFinite(+`${r}`)){if(r=Number(r),e?.ratio&&(r=r*e?.ratio),e?.decimal){let t=e?.truncable?sr.truncate(r,e?.decimal):r.toFixed(e?.decimal);e?.decimal===2&&t.slice(-3)===".00"&&(t=e?.truncable?sr.truncate(r,0):r.toFixed(0)),r=t;}e?.thousand&&(r=sr.format2thround(r)),e?.unit&&(r=e?.position==="left"?e?.unit+r:r+e?.unit);}else e?.unit&&(r=e?.position==="left"?e?.unit+r:r+e?.unit);return e?.ouputnumber?Number(r):`${r}`},truncate(r,e=2){let n=`${r}`.split("."),t=n[0];return n[1]&&e>0&&(t+=`.${n[1].substr(0,e)}`),t},multiplyOperation(r,e){r=typeof r=="number"?r:NaN,e=typeof e=="number"?e:NaN;let n=(r||NaN)*(e||NaN);return isNaN(n)?void 0:n},dividerOperation(r,e){r=typeof r=="number"?r:NaN,e=typeof e=="number"?e:NaN;let n=(r||NaN)/(e||NaN);return isNaN(n)?void 0:n},formatTrueOrFalse(r){switch(r){case 0:return "\u5426";case 1:return "\u662F";default:return "-"}}};export{sr as Formatter,gu as deleteByPathValue,fu as downloadGet,cu as downloadPost,yu as enum2DataSource,du as formatFileLength,vu as getByPathValue,pu as getEnumLabel,su as parseHashParams,mu as setByPathValue,hu as useIsFirstRender};
@@ -1 +1 @@
1
- var e={version:"0.0.2"};var o=e.version;export{o as default};
1
+ var e={version:"0.0.3"};var o=e.version;export{o as default};