@bynder/compact-view 5.2.0 → 5.2.2

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 (722) hide show
  1. package/AccessToken.js +5 -0
  2. package/AccessToken2.js +176 -0
  3. package/AccessToken3.js +4 -0
  4. package/ActiveFilter.js +6 -6
  5. package/ActiveFilters.js +24 -25
  6. package/AddMedia.js +21 -22
  7. package/AdditionalInfo.js +18 -0
  8. package/Advanced.js +3 -4
  9. package/App.js +68 -61
  10. package/Arrow.js +14 -0
  11. package/AssetCard.js +68 -57
  12. package/AssetCardMetaproperties.js +14 -14
  13. package/AssetFilter.js +36 -36
  14. package/AssetFilterContext.js +3 -4
  15. package/AssetItem.js +14 -14
  16. package/AssetList.js +46 -46
  17. package/AssetTypeItem.js +13 -13
  18. package/AssetsView.js +0 -1
  19. package/Autocomplete_new.js +70 -82
  20. package/Axios2.js +136 -0
  21. package/AxiosError.js +54 -0
  22. package/AxiosHeaders.js +181 -0
  23. package/AxiosURLSearchParams.js +33 -0
  24. package/Badge.js +44 -0
  25. package/Baloon.js +42 -0
  26. package/BaseStyles.js +10 -0
  27. package/Blob.js +4 -0
  28. package/Box.js +22 -0
  29. package/Button.js +39 -0
  30. package/Button.styles.js +40 -0
  31. package/ButtonAction.js +3 -4
  32. package/ButtonLegacy.js +48 -0
  33. package/ButtonLegacy.styles.js +28 -0
  34. package/CancelToken.js +77 -0
  35. package/CanceledError.js +11 -0
  36. package/Card.js +84 -0
  37. package/CardSkeleton.js +15 -15
  38. package/Checkbox.js +85 -0
  39. package/Checkbox.styles.js +2 -3
  40. package/Checkmark.js +7 -0
  41. package/Chip.js +70 -41
  42. package/Chip2.js +42 -0
  43. package/CollectionCard.js +9 -9
  44. package/CollectionItem.js +15 -15
  45. package/CollectionList.js +2 -3
  46. package/CollectionView.js +2 -3
  47. package/CollectionsView.js +6 -7
  48. package/ColorHexInput.js +31 -0
  49. package/ColorPicker.js +66 -0
  50. package/ColorPickerSolid.js +20 -0
  51. package/ColorPickerWithOpacity.js +37 -0
  52. package/Combobox.js +61 -0
  53. package/ConcealedAction.js +16 -0
  54. package/ConfigContext.js +0 -1
  55. package/ConnectButton.js +1 -2
  56. package/Container.js +14 -14
  57. package/Container2.js +31 -0
  58. package/Content.js +16 -0
  59. package/ContextAction.js +26 -18
  60. package/ContextActionButton.js +29 -0
  61. package/ControlGroup.js +32 -0
  62. package/DOMFunctions.js +27 -0
  63. package/Dat.js +62 -51
  64. package/DatDropdownItem.js +20 -20
  65. package/DesignSystemContext.js +4 -5
  66. package/DesignSystemProvider.js +29 -0
  67. package/DirectionSelect.js +16 -16
  68. package/Divider.js +21 -0
  69. package/DocumentIcon.js +0 -1
  70. package/DomainInput.js +15 -15
  71. package/DragRange.js +25 -0
  72. package/DragSelect.js +68 -63
  73. package/Dropdown.js +12 -12
  74. package/Dropdown2.js +169 -0
  75. package/DropdownContent.js +54 -39
  76. package/DropdownListItem.js +3 -4
  77. package/Enum.js +12 -0
  78. package/ErrorIcon.js +0 -1
  79. package/ErrorMessage.js +20 -20
  80. package/FieldSelect.js +4 -5
  81. package/FilePlaceholder.js +19 -0
  82. package/FileSelector.js +126 -141
  83. package/Flex.js +21 -0
  84. package/FontPicker.js +104 -0
  85. package/Footer.js +16 -0
  86. package/Form.js +23 -0
  87. package/FormData.js +4 -0
  88. package/Frame.js +64 -0
  89. package/Group.js +17 -0
  90. package/Group2.js +26 -0
  91. package/Header.js +0 -1
  92. package/Header2.js +43 -0
  93. package/Header22.js +15 -0
  94. package/HelperText.js +26 -0
  95. package/HorizontalScroll.js +4 -5
  96. package/HttpHandler.js +74 -0
  97. package/HttpResponse.js +85 -0
  98. package/HttpStatusCode.js +71 -0
  99. package/IconPlaceholder.js +18 -0
  100. package/Image.js +19 -0
  101. package/Images.js +30 -0
  102. package/Indicator.js +74 -0
  103. package/InfiniteScroll.js +8 -9
  104. package/InlineBanner.js +51 -0
  105. package/Input.js +109 -0
  106. package/Input.styles.js +71 -0
  107. package/InputContainer.js +9 -0
  108. package/InputField.js +74 -0
  109. package/InputRow.js +18 -0
  110. package/Inspector.js +34 -0
  111. package/InteractiveIcon.js +28 -0
  112. package/InterceptorManager.js +58 -0
  113. package/Item.js +107 -0
  114. package/Item2.js +14 -0
  115. package/Item4.js +190 -0
  116. package/Label.js +33 -0
  117. package/LeftArrow.js +3 -4
  118. package/List.js +25 -0
  119. package/ListItem.js +11 -0
  120. package/ListItem2.js +58 -0
  121. package/ListItem4.js +37 -0
  122. package/LoginComponent.js +0 -1
  123. package/LoginContext.js +0 -1
  124. package/MetapropertyFilterContent.js +2 -3
  125. package/MetapropertyOption.js +2 -4
  126. package/Middleware.js +49 -0
  127. package/Middleware2.js +49 -0
  128. package/Modal.js +2 -3
  129. package/Modal2.js +31 -0
  130. package/ModalBase.js +117 -0
  131. package/ModalBase.styles.js +75 -0
  132. package/ModalConfirmation.js +8 -0
  133. package/NoResults.js +16 -16
  134. package/OffsetContext.js +9 -0
  135. package/Oops.js +1 -2
  136. package/OpacityInput.js +17 -0
  137. package/Option_new.js +19 -19
  138. package/Overlay.js +35 -0
  139. package/Parser.js +131 -0
  140. package/Prefixer.js +187 -0
  141. package/Radio.js +78 -0
  142. package/RadioGroup.js +25 -0
  143. package/RangeInput.js +41 -0
  144. package/RefreshingSpinner.js +3 -4
  145. package/ReportModal.js +16 -15
  146. package/RequestHandler.js +119 -0
  147. package/RightArrow.js +4 -5
  148. package/RootElementContext.js +0 -1
  149. package/Row.js +16 -0
  150. package/SearchInput.js +27 -23
  151. package/SearchInput2.js +46 -0
  152. package/SectionTitle.js +17 -0
  153. package/Select.js +49 -0
  154. package/SelectButtonText.js +16 -0
  155. package/SelectedItemContainer.js +11 -11
  156. package/SelectedItems.js +2 -3
  157. package/SelectionContext.js +0 -1
  158. package/SelectionFooter.js +8 -8
  159. package/Serializer.js +27 -0
  160. package/ShadowRoot.js +0 -1
  161. package/ShadowRootInternal.js +17 -18
  162. package/Shield.js +0 -1
  163. package/Sidebar.js +17 -0
  164. package/Skeleton.js +6 -7
  165. package/Slider.constants.js +6 -0
  166. package/Slider.js +128 -0
  167. package/SmartFilterContent.js +2 -3
  168. package/SmartFilterSelect_new.js +2 -3
  169. package/Smartfilters_new.js +86 -77
  170. package/Spinner.js +2 -3
  171. package/Spinner2.js +15 -0
  172. package/StatefulAssetList.js +15 -16
  173. package/Stats.js +16 -0
  174. package/StatsItem.js +23 -0
  175. package/Status.js +32 -0
  176. package/StoreInitializer.js +29 -0
  177. package/Styles.css.js +0 -1
  178. package/Switch.js +82 -0
  179. package/SwitchNLS.js +26 -24
  180. package/Tabs2.js +10 -0
  181. package/TagItem.js +8 -9
  182. package/Tags.js +9 -10
  183. package/Text2.js +11 -0
  184. package/Text22.js +18 -0
  185. package/Text4.js +18 -0
  186. package/Textarea.js +92 -0
  187. package/Theming.js +4 -5
  188. package/Thumb.js +28 -0
  189. package/Thumbnail.js +91 -0
  190. package/Tokenizer.js +147 -0
  191. package/Toolbar.js +13 -13
  192. package/Tooltip.js +2 -3
  193. package/Tooltip2.js +111 -0
  194. package/TruncatedText.js +34 -0
  195. package/URLSearchParams.js +5 -0
  196. package/Utility.js +56 -0
  197. package/ViewSwitch.js +8 -8
  198. package/_check_private_redeclaration.js +7 -0
  199. package/_class_apply_descriptor_get.js +6 -0
  200. package/_class_apply_descriptor_set.js +11 -0
  201. package/_class_extract_field_descriptor.js +7 -0
  202. package/_class_private_field_get.js +9 -0
  203. package/_class_private_field_init.js +7 -0
  204. package/_class_private_field_set.js +9 -0
  205. package/_commonjsHelpers.js +6 -0
  206. package/adapters.js +53 -0
  207. package/api/types/getFilters_new.d.ts +8 -0
  208. package/api.js +25 -0
  209. package/api2.js +40 -0
  210. package/api3.js +406 -0
  211. package/applyScopeDataToEvent.js +83 -0
  212. package/applyScopeDataToEvent2.js +55 -0
  213. package/asset.type.js +9 -10
  214. package/asyncDebounce.js +0 -1
  215. package/auth.js +0 -1
  216. package/autocomplete.js +2 -3
  217. package/axios.js +46 -0
  218. package/base.js +57 -0
  219. package/base64Converter.js +0 -1
  220. package/baseclient.js +498 -0
  221. package/bind.js +8 -0
  222. package/browser.js +44 -0
  223. package/buildFullPath.js +9 -0
  224. package/buildURL.js +23 -0
  225. package/bundle.esm.js +81 -0
  226. package/calculateContainerMaxHeight.js +12 -0
  227. package/calculateNodeHeight.js +35 -0
  228. package/carrier.js +13 -0
  229. package/chain.js +8 -0
  230. package/checkGlobals.js +13 -0
  231. package/checks.js +178 -0
  232. package/chunk-6HYIRFX2.js +1 -0
  233. package/chunk.js +0 -1
  234. package/class.js +0 -1
  235. package/cleanUrl.js +11 -0
  236. package/client.js +76 -0
  237. package/clientreport.js +15 -0
  238. package/clsx.js +17 -0
  239. package/colorTransforms.js +12 -0
  240. package/combineFilters.js +0 -1
  241. package/combineMetaproperties.js +1 -2
  242. package/combineURLs.js +6 -0
  243. package/composeSignals.js +30 -0
  244. package/constants.js +2 -13
  245. package/constants2.js +82 -0
  246. package/constants3.js +14 -0
  247. package/constants4.js +8 -0
  248. package/constants5.js +4 -0
  249. package/constants6.js +4 -0
  250. package/context.js +12 -0
  251. package/context10.js +12 -0
  252. package/context2.js +9 -0
  253. package/context3.js +12 -0
  254. package/context6.js +5 -0
  255. package/cookieStore.js +116 -0
  256. package/cookies.js +32 -0
  257. package/core.js +42 -0
  258. package/createSelectors.js +0 -1
  259. package/crypto.js +0 -1
  260. package/currentScopes.js +9 -0
  261. package/data.js +4 -0
  262. package/de_DE.json.js +18 -0
  263. package/debug-build.js +4 -0
  264. package/debug-build2.js +4 -0
  265. package/debug-build3.js +4 -0
  266. package/debug-build4.js +4 -0
  267. package/debug-build5.js +4 -0
  268. package/debug-build6.js +4 -0
  269. package/decorators.js +37 -0
  270. package/defaultScopes.js +12 -0
  271. package/devUtils.js +20 -0
  272. package/dispatchRequest.js +31 -0
  273. package/doc.js +26 -0
  274. package/domHelpers.js +15 -0
  275. package/dsn.js +54 -0
  276. package/dynamicSamplingContext.js +34 -0
  277. package/dynamicSamplingContext2.js +34 -0
  278. package/emotion-unitless.esm.js +52 -0
  279. package/en_US.json.js +23 -0
  280. package/englishText-12403056.js +6 -0
  281. package/env.js +6 -0
  282. package/envelope.js +113 -0
  283. package/envelope2.js +23 -0
  284. package/envelope3.js +24 -0
  285. package/error.js +9 -0
  286. package/errors.js +33 -0
  287. package/errors2.js +55 -0
  288. package/es_ES.json.js +18 -0
  289. package/es_MX.json.js +18 -0
  290. package/eventProcessors.js +27 -0
  291. package/eventProcessors2.js +23 -0
  292. package/eventbuilder.js +128 -0
  293. package/exports.js +11 -0
  294. package/exports2.js +16 -0
  295. package/exports3.js +8 -0
  296. package/fetch.js +44 -0
  297. package/fetch2.js +141 -0
  298. package/filter/filters/smartfilters/Metaproperties/Autocomplete_new.d.ts +1 -1
  299. package/filter/filters/smartfilters/Metaproperties/Option_new.d.ts +3 -3
  300. package/filterAssets.js +1 -2
  301. package/fixFontSpaceInUrl.js +8 -0
  302. package/focusWithoutScrolling.js +45 -0
  303. package/forceHiddenStyles.js +19 -0
  304. package/formDataToJSON.js +31 -0
  305. package/fr_FR.json.js +18 -0
  306. package/getAbsoluteUrl.js +13 -0
  307. package/getAsset.js +1 -2
  308. package/getAssetCounts.js +1 -2
  309. package/getAssets.js +2 -3
  310. package/getCallFrame.js +12 -0
  311. package/getCollections.js +1 -2
  312. package/getFilterOptions.js +1 -2
  313. package/getFilters.js +1 -2
  314. package/getFilters_new.js +1 -2
  315. package/getLimitedUseThumbnails.js +0 -1
  316. package/getRequestCookies.js +40 -0
  317. package/getRootSpan.js +6 -0
  318. package/getRootSpan2.js +6 -0
  319. package/getSimilarityAssets.js +1 -2
  320. package/getSizingData.js +45 -0
  321. package/getStatusCodeColor.js +6 -0
  322. package/getThumbPosition.js +6 -0
  323. package/getTimestamp.js +7 -0
  324. package/getUseLayerOptions.js +49 -0
  325. package/handlers.js +92 -7
  326. package/handlers2.js +6 -0
  327. package/helpers.js +3 -5
  328. package/helpers2.js +6 -0
  329. package/hexFromPercentage.js +7 -0
  330. package/http.js +17 -0
  331. package/hub.js +446 -0
  332. package/hub2.js +442 -0
  333. package/immer.js +472 -0
  334. package/import.js +7 -0
  335. package/index-esm.js +10781 -0
  336. package/index-esm2.js +138 -0
  337. package/index-esm3.js +131 -0
  338. package/index.browser.js +11 -0
  339. package/index.js +0 -1
  340. package/index.module.js +57 -0
  341. package/index.module2.js +72 -0
  342. package/index.module3.js +57 -0
  343. package/index10.js +20 -0
  344. package/index102.js +273 -0
  345. package/index11.js +18 -0
  346. package/index112.js +29 -0
  347. package/index12.js +38 -0
  348. package/index13.js +2432 -0
  349. package/index14.js +558 -0
  350. package/index15.js +58 -0
  351. package/index16.js +4 -0
  352. package/index17.js +89 -0
  353. package/index18.js +9 -0
  354. package/index19.js +62 -0
  355. package/index2.js +0 -1
  356. package/index20.js +15 -0
  357. package/index21.js +11 -0
  358. package/index22.js +42 -0
  359. package/index23.js +9 -0
  360. package/index24.js +10 -0
  361. package/index25.js +7 -0
  362. package/index26.js +12 -0
  363. package/index27.js +11 -0
  364. package/index28.js +639 -0
  365. package/index29.js +76 -0
  366. package/index3.js +5 -54
  367. package/index30.js +7 -0
  368. package/index31.js +22 -0
  369. package/index32.js +2 -0
  370. package/index33.js +7 -0
  371. package/index34.js +20 -0
  372. package/index35.js +8 -0
  373. package/index36.js +4 -0
  374. package/index37.js +13 -0
  375. package/index38.js +13 -0
  376. package/index39.js +15 -0
  377. package/index4.js +1684 -18
  378. package/index40.js +13 -0
  379. package/index41.js +21 -0
  380. package/index42.js +66 -0
  381. package/index43.js +8 -0
  382. package/index44.js +57 -0
  383. package/index45.js +69 -0
  384. package/index46.js +33 -0
  385. package/index47.js +13 -0
  386. package/index48.js +123 -0
  387. package/index49.js +88 -0
  388. package/index5.js +27 -0
  389. package/index50.js +10 -0
  390. package/index51.js +13 -0
  391. package/index52.js +16 -0
  392. package/index53.js +16 -0
  393. package/index54.js +9 -0
  394. package/index55.js +9 -0
  395. package/index56.js +17 -0
  396. package/index57.js +31 -0
  397. package/index58.js +18 -0
  398. package/index6.js +315 -0
  399. package/index7.js +4 -0
  400. package/index72.js +228 -0
  401. package/index8.js +5051 -0
  402. package/index82.js +8 -0
  403. package/index9.js +55 -0
  404. package/index92.js +12 -0
  405. package/integration.js +38 -0
  406. package/is.js +77 -0
  407. package/is2.js +14 -0
  408. package/is3.js +14 -0
  409. package/isAbsoluteURL.js +6 -0
  410. package/isAbsoluteUrl2.js +6 -0
  411. package/isAxiosError.js +7 -0
  412. package/isCancel.js +6 -0
  413. package/isIterable.js +6 -0
  414. package/isStringEqual.js +6 -0
  415. package/isURLSameOrigin.js +8 -0
  416. package/isValidHexValue.js +6 -0
  417. package/isVirtualEvent.js +11 -0
  418. package/iso.js +38 -0
  419. package/it_IT.json.js +18 -0
  420. package/itemContext.js +5 -0
  421. package/ja_JP.json.js +18 -0
  422. package/ko_KR.json.js +18 -0
  423. package/localStorageHelper.js +32 -0
  424. package/localStorageHelper2.js +4 -0
  425. package/localization.js +46 -0
  426. package/logger.js +0 -1
  427. package/logger2.js +56 -0
  428. package/logger3.js +56 -0
  429. package/logger4.js +56 -0
  430. package/loginwindow.js +0 -1
  431. package/makeHexWithOpacity.js +12 -0
  432. package/makeInternalTokens.js +22 -0
  433. package/matchRequestUrl.js +23 -0
  434. package/memo.js +25 -0
  435. package/merge.js +13 -0
  436. package/mergeConfig.js +70 -0
  437. package/mergeProps.js +22 -0
  438. package/mergeRefs.js +9 -0
  439. package/middleware.js +177 -0
  440. package/middleware2.js +177 -0
  441. package/misc.js +58 -0
  442. package/misc2.js +28 -0
  443. package/misc3.js +24 -0
  444. package/nl_NL.json.js +18 -0
  445. package/normalize.js +97 -0
  446. package/normalizePath.js +11 -0
  447. package/normalizeResponse.js +1 -2
  448. package/normalizeRows.js +10 -0
  449. package/notify.js +52 -0
  450. package/null.js +4 -0
  451. package/oauth2.js +0 -1
  452. package/object.js +110 -0
  453. package/object2.js +39 -0
  454. package/object3.js +17 -0
  455. package/opacityPercentageFromHex.js +9 -0
  456. package/openLink.js +27 -0
  457. package/package.json +1 -1
  458. package/packageVersion.js +4 -0
  459. package/parse.js +9 -0
  460. package/parse2.js +44 -0
  461. package/parseHeaders.js +30 -0
  462. package/parseProtocol.js +7 -0
  463. package/pl_PL.json.js +18 -0
  464. package/platform.js +42 -0
  465. package/prepareEvent.js +141 -0
  466. package/prepareEvent2.js +5 -0
  467. package/prepareEvent3.js +5 -0
  468. package/progressEventReducer.js +35 -0
  469. package/promisebuffer.js +44 -0
  470. package/propagationContext.js +11 -0
  471. package/pt_BR.json.js +18 -0
  472. package/ratelimit.js +37 -0
  473. package/react.js +19 -0
  474. package/react2.js +19 -0
  475. package/regexes.js +51 -0
  476. package/registries.js +41 -0
  477. package/resolveConfig.js +33 -0
  478. package/result.type.js +0 -1
  479. package/ru_RU.json.js +18 -0
  480. package/runAfterTransition.js +35 -0
  481. package/schemas.js +368 -0
  482. package/schemas2.js +691 -0
  483. package/scope.js +412 -0
  484. package/scope2.js +407 -0
  485. package/scope3.js +348 -0
  486. package/sdk-DhxX43BH.js +4813 -0
  487. package/sdkMetadata.js +15 -0
  488. package/serializeRequest.js +12 -0
  489. package/serializeResponse.js +14 -0
  490. package/session.js +57 -0
  491. package/session2.js +57 -0
  492. package/session3.js +16 -0
  493. package/settle.js +14 -0
  494. package/shadowdom.js +13 -0
  495. package/shadowdom2.js +13 -0
  496. package/spanOnScope.js +12 -0
  497. package/spanUtils.js +31 -0
  498. package/spanUtils2.js +31 -0
  499. package/speedometer.js +19 -0
  500. package/spread.js +8 -0
  501. package/stack-parsers.js +48 -0
  502. package/stackStrategy.js +98 -0
  503. package/stacktrace.js +49 -0
  504. package/state.js +106 -0
  505. package/store/StoreInitializer.d.ts +8 -0
  506. package/store/useDatStore.d.ts +11 -8
  507. package/string.js +6 -0
  508. package/styled-components.browser.esm.js +530 -0
  509. package/styles.js +55 -0
  510. package/styles2.js +17 -0
  511. package/supports.js +6 -0
  512. package/syncpromise.js +121 -0
  513. package/syncpromise2.js +109 -0
  514. package/text.js +0 -1
  515. package/textSelection.js +33 -0
  516. package/textStyles.js +20 -0
  517. package/theme.js +238 -0
  518. package/themeContainers.js +20 -0
  519. package/themes3.js +26 -0
  520. package/throttle.js +15 -0
  521. package/time.js +24 -0
  522. package/time2.js +24 -0
  523. package/time3.js +24 -0
  524. package/toFormData.js +85 -0
  525. package/toPublicUrl.js +9 -0
  526. package/toURLEncodedForm.js +13 -0
  527. package/token.js +236 -0
  528. package/tokenExpirationHelper.js +48 -0
  529. package/tokenExpirationHelper2.js +4 -0
  530. package/tokensAndThemes.js +92 -0
  531. package/tr_TR.json.js +18 -0
  532. package/trackStream.js +63 -0
  533. package/transformData.js +13 -0
  534. package/transitional.js +8 -0
  535. package/trimMetapropertyValue.js +1 -2
  536. package/tslib.es6.js +18 -0
  537. package/typeof.js +11 -0
  538. package/url.js +0 -1
  539. package/urlHelper.js +15 -0
  540. package/urlHelper2.js +4 -0
  541. package/useAccountDomain.js +0 -1
  542. package/useAuthInformation.js +0 -1
  543. package/useAutoHeight.js +25 -0
  544. package/useClickOutside.js +0 -1
  545. package/useDatStore.js +31 -28
  546. package/useDimensions.js +0 -1
  547. package/useEffectEvent.js +18 -0
  548. package/useFocus.js +30 -0
  549. package/useFocusRing.js +34 -0
  550. package/useFocusVisible.js +92 -0
  551. package/useFocusWithin.js +57 -0
  552. package/useFonts.js +118 -0
  553. package/useGlobalListeners.js +34 -0
  554. package/useGroupContext.js +10 -0
  555. package/useHover.js +79 -0
  556. package/useId.js +8 -0
  557. package/useId2.js +17 -0
  558. package/useKeyDown.js +14 -0
  559. package/useLayoutEffect.js +6 -0
  560. package/useOrderingStore.js +6 -7
  561. package/usePress.js +359 -0
  562. package/useRouterStore.js +6 -7
  563. package/useScrollHighlightedIntoView.js +24 -0
  564. package/useSearchStore.js +5 -6
  565. package/useSimilaritySearchStore.js +6 -7
  566. package/useSyncRef.js +12 -0
  567. package/useTranslate.js +13 -0
  568. package/useZIndex.js +9 -0
  569. package/userfeedback.js +28 -0
  570. package/util.js +265 -0
  571. package/utils/fixFontSpaceInUrl.d.ts +1 -0
  572. package/utils.js +26 -45
  573. package/utils2.js +43 -46
  574. package/utils3.js +50 -0
  575. package/utils4.js +12 -0
  576. package/utils5.js +71 -0
  577. package/utils6.js +222 -0
  578. package/utils7.js +9 -0
  579. package/utils8.js +70 -0
  580. package/validator.js +54 -0
  581. package/vanilla.js +14 -0
  582. package/vanilla2.js +14 -0
  583. package/version.js +4 -0
  584. package/version2.js +4 -0
  585. package/version3.js +4 -0
  586. package/versionContext.js +9 -0
  587. package/versions.js +8 -0
  588. package/views/asset/asset-card/AssetCard.d.ts +4 -2
  589. package/views/asset/asset-card/ContextAction.d.ts +3 -1
  590. package/worldwide.js +19 -0
  591. package/worldwide2.js +15 -0
  592. package/worldwide3.js +10 -0
  593. package/xhr.js +71 -0
  594. package/zh_CN.json.js +18 -0
  595. package/zh_TW.json.js +18 -0
  596. package/ActiveFilter.js.map +0 -1
  597. package/ActiveFilters.js.map +0 -1
  598. package/AddMedia.js.map +0 -1
  599. package/Advanced.js.map +0 -1
  600. package/App.js.map +0 -1
  601. package/AssetCard.js.map +0 -1
  602. package/AssetCardMetaproperties.js.map +0 -1
  603. package/AssetFilter.js.map +0 -1
  604. package/AssetFilterContext.js.map +0 -1
  605. package/AssetItem.js.map +0 -1
  606. package/AssetList.js.map +0 -1
  607. package/AssetTypeItem.js.map +0 -1
  608. package/AssetsView.js.map +0 -1
  609. package/Autocomplete_new.js.map +0 -1
  610. package/ButtonAction.js.map +0 -1
  611. package/CardSkeleton.js.map +0 -1
  612. package/Checkbox.styles.js.map +0 -1
  613. package/Chip.js.map +0 -1
  614. package/CollectionCard.js.map +0 -1
  615. package/CollectionItem.js.map +0 -1
  616. package/CollectionList.js.map +0 -1
  617. package/CollectionView.js.map +0 -1
  618. package/CollectionsView.js.map +0 -1
  619. package/ConfigContext.js.map +0 -1
  620. package/ConnectButton.js.map +0 -1
  621. package/Container.js.map +0 -1
  622. package/ContextAction.js.map +0 -1
  623. package/Dat.js.map +0 -1
  624. package/DatDropdownItem.js.map +0 -1
  625. package/DesignSystemContext.js.map +0 -1
  626. package/DirectionSelect.js.map +0 -1
  627. package/DocumentIcon.js.map +0 -1
  628. package/DomainInput.js.map +0 -1
  629. package/DragSelect.js.map +0 -1
  630. package/Dropdown.js.map +0 -1
  631. package/DropdownContent.js.map +0 -1
  632. package/DropdownListItem.js.map +0 -1
  633. package/ErrorIcon.js.map +0 -1
  634. package/ErrorMessage.js.map +0 -1
  635. package/FieldSelect.js.map +0 -1
  636. package/FileSelector.js.map +0 -1
  637. package/Header.js.map +0 -1
  638. package/HorizontalScroll.js.map +0 -1
  639. package/InfiniteScroll.js.map +0 -1
  640. package/LeftArrow.js.map +0 -1
  641. package/LoginComponent.js.map +0 -1
  642. package/LoginContext.js.map +0 -1
  643. package/MetapropertyFilterContent.js.map +0 -1
  644. package/MetapropertyOption.js.map +0 -1
  645. package/Modal.js.map +0 -1
  646. package/NoResults.js.map +0 -1
  647. package/Oops.js.map +0 -1
  648. package/Option_new.js.map +0 -1
  649. package/RefreshingSpinner.js.map +0 -1
  650. package/ReportModal.js.map +0 -1
  651. package/RightArrow.js.map +0 -1
  652. package/RootElementContext.js.map +0 -1
  653. package/SearchInput.js.map +0 -1
  654. package/SelectedItemContainer.js.map +0 -1
  655. package/SelectedItems.js.map +0 -1
  656. package/SelectionContext.js.map +0 -1
  657. package/SelectionFooter.js.map +0 -1
  658. package/ShadowRoot.js.map +0 -1
  659. package/ShadowRootInternal.js.map +0 -1
  660. package/Shield.js.map +0 -1
  661. package/Skeleton.js.map +0 -1
  662. package/SmartFilterContent.js.map +0 -1
  663. package/SmartFilterSelect_new.js.map +0 -1
  664. package/Smartfilters_new.js.map +0 -1
  665. package/Spinner.js.map +0 -1
  666. package/StatefulAssetList.js.map +0 -1
  667. package/Styles.css.js.map +0 -1
  668. package/SwitchNLS.js.map +0 -1
  669. package/TagItem.js.map +0 -1
  670. package/Tags.js.map +0 -1
  671. package/Theming.js.map +0 -1
  672. package/Toolbar.js.map +0 -1
  673. package/Tooltip.js.map +0 -1
  674. package/ViewSwitch.js.map +0 -1
  675. package/asset.type.js.map +0 -1
  676. package/asyncDebounce.js.map +0 -1
  677. package/auth.js.map +0 -1
  678. package/autocomplete.js.map +0 -1
  679. package/base64Converter.js.map +0 -1
  680. package/chunk.js.map +0 -1
  681. package/class.js.map +0 -1
  682. package/combineFilters.js.map +0 -1
  683. package/combineMetaproperties.js.map +0 -1
  684. package/constants.js.map +0 -1
  685. package/createSelectors.js.map +0 -1
  686. package/crypto.js.map +0 -1
  687. package/filterAssets.js.map +0 -1
  688. package/getAsset.js.map +0 -1
  689. package/getAssetCounts.js.map +0 -1
  690. package/getAssets.js.map +0 -1
  691. package/getCollections.js.map +0 -1
  692. package/getFilterOptions.js.map +0 -1
  693. package/getFilters.js.map +0 -1
  694. package/getFilters_new.js.map +0 -1
  695. package/getLimitedUseThumbnails.js.map +0 -1
  696. package/getSimilarityAssets.js.map +0 -1
  697. package/handlers.js.map +0 -1
  698. package/helpers.js.map +0 -1
  699. package/index.js.map +0 -1
  700. package/index2.js.map +0 -1
  701. package/index3.js.map +0 -1
  702. package/index4.js.map +0 -1
  703. package/logger.js.map +0 -1
  704. package/loginwindow.js.map +0 -1
  705. package/normalizeResponse.js.map +0 -1
  706. package/oauth2.js.map +0 -1
  707. package/result.type.js.map +0 -1
  708. package/router/RouterContext.d.ts +0 -19
  709. package/text.js.map +0 -1
  710. package/trimMetapropertyValue.js.map +0 -1
  711. package/url.js.map +0 -1
  712. package/useAccountDomain.js.map +0 -1
  713. package/useAuthInformation.js.map +0 -1
  714. package/useClickOutside.js.map +0 -1
  715. package/useDatStore.js.map +0 -1
  716. package/useDimensions.js.map +0 -1
  717. package/useOrderingStore.js.map +0 -1
  718. package/useRouterStore.js.map +0 -1
  719. package/useSearchStore.js.map +0 -1
  720. package/useSimilaritySearchStore.js.map +0 -1
  721. package/utils.js.map +0 -1
  722. package/utils2.js.map +0 -1
package/index14.js ADDED
@@ -0,0 +1,558 @@
1
+ import { g as Se } from "./sdk-DhxX43BH.js";
2
+ import "react/jsx-runtime";
3
+ import H, { createContext as me } from "react";
4
+ var re = { exports: {} }, k = {}, ne = { exports: {} }, V = {};
5
+ /**
6
+ * @license React
7
+ * use-sync-external-store-shim.production.js
8
+ *
9
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */
14
+ var oe;
15
+ function Pe() {
16
+ if (oe) return V;
17
+ oe = 1;
18
+ var e = H;
19
+ function t(s, c) {
20
+ return s === c && (s !== 0 || 1 / s === 1 / c) || s !== s && c !== c;
21
+ }
22
+ var r = typeof Object.is == "function" ? Object.is : t, n = e.useState, o = e.useEffect, u = e.useLayoutEffect, i = e.useDebugValue;
23
+ function a(s, c) {
24
+ var l = c(), b = n({ inst: { value: l, getSnapshot: c } }), f = b[0].inst, P = b[1];
25
+ return u(
26
+ function() {
27
+ f.value = l, f.getSnapshot = c, d(f) && P({ inst: f });
28
+ },
29
+ [s, l, c]
30
+ ), o(
31
+ function() {
32
+ return d(f) && P({ inst: f }), s(function() {
33
+ d(f) && P({ inst: f });
34
+ });
35
+ },
36
+ [s]
37
+ ), i(l), l;
38
+ }
39
+ function d(s) {
40
+ var c = s.getSnapshot;
41
+ s = s.value;
42
+ try {
43
+ var l = c();
44
+ return !r(s, l);
45
+ } catch {
46
+ return !0;
47
+ }
48
+ }
49
+ function y(s, c) {
50
+ return c();
51
+ }
52
+ var v = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? y : a;
53
+ return V.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : v, V;
54
+ }
55
+ var ue;
56
+ function ge() {
57
+ return ue || (ue = 1, ne.exports = Pe()), ne.exports;
58
+ }
59
+ /**
60
+ * @license React
61
+ * use-sync-external-store-shim/with-selector.production.js
62
+ *
63
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ */
68
+ var ie;
69
+ function we() {
70
+ if (ie) return k;
71
+ ie = 1;
72
+ var e = H, t = ge();
73
+ function r(y, v) {
74
+ return y === v && (y !== 0 || 1 / y === 1 / v) || y !== y && v !== v;
75
+ }
76
+ var n = typeof Object.is == "function" ? Object.is : r, o = t.useSyncExternalStore, u = e.useRef, i = e.useEffect, a = e.useMemo, d = e.useDebugValue;
77
+ return k.useSyncExternalStoreWithSelector = function(y, v, s, c, l) {
78
+ var b = u(null);
79
+ if (b.current === null) {
80
+ var f = { hasValue: !1, value: null };
81
+ b.current = f;
82
+ } else f = b.current;
83
+ b = a(
84
+ function() {
85
+ function Z(S) {
86
+ if (!$) {
87
+ if ($ = !0, F = S, S = c(S), l !== void 0 && f.hasValue) {
88
+ var E = f.value;
89
+ if (l(E, S))
90
+ return x = E;
91
+ }
92
+ return x = S;
93
+ }
94
+ if (E = x, n(F, S)) return E;
95
+ var te = c(S);
96
+ return l !== void 0 && l(E, te) ? (F = S, E) : (F = S, x = te);
97
+ }
98
+ var $ = !1, F, x, ee = s === void 0 ? null : s;
99
+ return [
100
+ function() {
101
+ return Z(v());
102
+ },
103
+ ee === null ? void 0 : function() {
104
+ return Z(ee());
105
+ }
106
+ ];
107
+ },
108
+ [v, s, c, l]
109
+ );
110
+ var P = o(y, b[0], b[1]);
111
+ return i(
112
+ function() {
113
+ f.hasValue = !0, f.value = P;
114
+ },
115
+ [P]
116
+ ), d(P), P;
117
+ }, k;
118
+ }
119
+ var ae;
120
+ function Oe() {
121
+ return ae || (ae = 1, re.exports = we()), re.exports;
122
+ }
123
+ var Ee = Oe();
124
+ const ze = /* @__PURE__ */ Se(Ee), { useDebugValue: We } = H, { useSyncExternalStoreWithSelector: Ke } = ze;
125
+ var _e = Symbol.for("immer-nothing"), se = Symbol.for("immer-draftable"), p = Symbol.for("immer-state");
126
+ function h(e, ...t) {
127
+ throw new Error(
128
+ `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`
129
+ );
130
+ }
131
+ var z = Object.getPrototypeOf;
132
+ function D(e) {
133
+ return !!e && !!e[p];
134
+ }
135
+ function w(e) {
136
+ var t;
137
+ return e ? de(e) || Array.isArray(e) || !!e[se] || !!((t = e.constructor) != null && t[se]) || M(e) || R(e) : !1;
138
+ }
139
+ var De = Object.prototype.constructor.toString();
140
+ function de(e) {
141
+ if (!e || typeof e != "object")
142
+ return !1;
143
+ const t = z(e);
144
+ if (t === null)
145
+ return !0;
146
+ const r = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
147
+ return r === Object ? !0 : typeof r == "function" && Function.toString.call(r) === De;
148
+ }
149
+ function C(e, t) {
150
+ L(e) === 0 ? Reflect.ownKeys(e).forEach((r) => {
151
+ t(r, e[r], e);
152
+ }) : e.forEach((r, n) => t(n, r, e));
153
+ }
154
+ function L(e) {
155
+ const t = e[p];
156
+ return t ? t.type_ : Array.isArray(e) ? 1 : M(e) ? 2 : R(e) ? 3 : 0;
157
+ }
158
+ function G(e, t) {
159
+ return L(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
160
+ }
161
+ function ye(e, t, r) {
162
+ const n = L(e);
163
+ n === 2 ? e.set(t, r) : n === 3 ? e.add(r) : e[t] = r;
164
+ }
165
+ function Ae(e, t) {
166
+ return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
167
+ }
168
+ function M(e) {
169
+ return e instanceof Map;
170
+ }
171
+ function R(e) {
172
+ return e instanceof Set;
173
+ }
174
+ function g(e) {
175
+ return e.copy_ || e.base_;
176
+ }
177
+ function Q(e, t) {
178
+ if (M(e))
179
+ return new Map(e);
180
+ if (R(e))
181
+ return new Set(e);
182
+ if (Array.isArray(e))
183
+ return Array.prototype.slice.call(e);
184
+ const r = de(e);
185
+ if (t === !0 || t === "class_only" && !r) {
186
+ const n = Object.getOwnPropertyDescriptors(e);
187
+ delete n[p];
188
+ let o = Reflect.ownKeys(n);
189
+ for (let u = 0; u < o.length; u++) {
190
+ const i = o[u], a = n[i];
191
+ a.writable === !1 && (a.writable = !0, a.configurable = !0), (a.get || a.set) && (n[i] = {
192
+ configurable: !0,
193
+ writable: !0,
194
+ // could live with !!desc.set as well here...
195
+ enumerable: a.enumerable,
196
+ value: e[i]
197
+ });
198
+ }
199
+ return Object.create(z(e), n);
200
+ } else {
201
+ const n = z(e);
202
+ if (n !== null && r)
203
+ return { ...e };
204
+ const o = Object.create(n);
205
+ return Object.assign(o, e);
206
+ }
207
+ }
208
+ function J(e, t = !1) {
209
+ return I(e) || D(e) || !w(e) || (L(e) > 1 && (e.set = e.add = e.clear = e.delete = je), Object.freeze(e), t && Object.entries(e).forEach(([r, n]) => J(n, !0))), e;
210
+ }
211
+ function je() {
212
+ h(2);
213
+ }
214
+ function I(e) {
215
+ return Object.isFrozen(e);
216
+ }
217
+ var Fe = {};
218
+ function O(e) {
219
+ const t = Fe[e];
220
+ return t || h(0, e), t;
221
+ }
222
+ var A;
223
+ function he() {
224
+ return A;
225
+ }
226
+ function xe(e, t) {
227
+ return {
228
+ drafts_: [],
229
+ parent_: e,
230
+ immer_: t,
231
+ // Whenever the modified draft contains a draft from another scope, we
232
+ // need to prevent auto-freezing so the unowned draft can be finalized.
233
+ canAutoFreeze_: !0,
234
+ unfinalizedDrafts_: 0
235
+ };
236
+ }
237
+ function ce(e, t) {
238
+ t && (O("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
239
+ }
240
+ function T(e) {
241
+ X(e), e.drafts_.forEach(Ce), e.drafts_ = null;
242
+ }
243
+ function X(e) {
244
+ e === A && (A = e.parent_);
245
+ }
246
+ function fe(e) {
247
+ return A = xe(A, e);
248
+ }
249
+ function Ce(e) {
250
+ const t = e[p];
251
+ t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
252
+ }
253
+ function le(e, t) {
254
+ t.unfinalizedDrafts_ = t.drafts_.length;
255
+ const r = t.drafts_[0];
256
+ return e !== void 0 && e !== r ? (r[p].modified_ && (T(t), h(4)), w(e) && (e = U(t, e), t.parent_ || N(t, e)), t.patches_ && O("Patches").generateReplacementPatches_(
257
+ r[p].base_,
258
+ e,
259
+ t.patches_,
260
+ t.inversePatches_
261
+ )) : e = U(t, r, []), T(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== _e ? e : void 0;
262
+ }
263
+ function U(e, t, r) {
264
+ if (I(t))
265
+ return t;
266
+ const n = t[p];
267
+ if (!n)
268
+ return C(
269
+ t,
270
+ (o, u) => pe(e, n, t, o, u, r)
271
+ ), t;
272
+ if (n.scope_ !== e)
273
+ return t;
274
+ if (!n.modified_)
275
+ return N(e, n.base_, !0), n.base_;
276
+ if (!n.finalized_) {
277
+ n.finalized_ = !0, n.scope_.unfinalizedDrafts_--;
278
+ const o = n.copy_;
279
+ let u = o, i = !1;
280
+ n.type_ === 3 && (u = new Set(o), o.clear(), i = !0), C(
281
+ u,
282
+ (a, d) => pe(e, n, o, a, d, r, i)
283
+ ), N(e, o, !1), r && e.patches_ && O("Patches").generatePatches_(
284
+ n,
285
+ r,
286
+ e.patches_,
287
+ e.inversePatches_
288
+ );
289
+ }
290
+ return n.copy_;
291
+ }
292
+ function pe(e, t, r, n, o, u, i) {
293
+ if (D(o)) {
294
+ const a = u && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
295
+ !G(t.assigned_, n) ? u.concat(n) : void 0, d = U(e, o, a);
296
+ if (ye(r, n, d), D(d))
297
+ e.canAutoFreeze_ = !1;
298
+ else
299
+ return;
300
+ } else i && r.add(o);
301
+ if (w(o) && !I(o)) {
302
+ if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
303
+ return;
304
+ U(e, o), (!t || !t.scope_.parent_) && typeof n != "symbol" && Object.prototype.propertyIsEnumerable.call(r, n) && N(e, o);
305
+ }
306
+ }
307
+ function N(e, t, r = !1) {
308
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && J(t, r);
309
+ }
310
+ function Ue(e, t) {
311
+ const r = Array.isArray(e), n = {
312
+ type_: r ? 1 : 0,
313
+ // Track which produce call this is associated with.
314
+ scope_: t ? t.scope_ : he(),
315
+ // True for both shallow and deep changes.
316
+ modified_: !1,
317
+ // Used during finalization.
318
+ finalized_: !1,
319
+ // Track which properties have been assigned (true) or deleted (false).
320
+ assigned_: {},
321
+ // The parent draft state.
322
+ parent_: t,
323
+ // The base state.
324
+ base_: e,
325
+ // The base proxy.
326
+ draft_: null,
327
+ // set below
328
+ // The base copy with any updated values.
329
+ copy_: null,
330
+ // Called by the `produce` function.
331
+ revoke_: null,
332
+ isManual_: !1
333
+ };
334
+ let o = n, u = Y;
335
+ r && (o = [n], u = j);
336
+ const { revoke: i, proxy: a } = Proxy.revocable(o, u);
337
+ return n.draft_ = a, n.revoke_ = i, a;
338
+ }
339
+ var Y = {
340
+ get(e, t) {
341
+ if (t === p)
342
+ return e;
343
+ const r = g(e);
344
+ if (!G(r, t))
345
+ return Ne(e, r, t);
346
+ const n = r[t];
347
+ return e.finalized_ || !w(n) ? n : n === W(e.base_, t) ? (K(e), e.copy_[t] = B(n, e)) : n;
348
+ },
349
+ has(e, t) {
350
+ return t in g(e);
351
+ },
352
+ ownKeys(e) {
353
+ return Reflect.ownKeys(g(e));
354
+ },
355
+ set(e, t, r) {
356
+ const n = ve(g(e), t);
357
+ if (n != null && n.set)
358
+ return n.set.call(e.draft_, r), !0;
359
+ if (!e.modified_) {
360
+ const o = W(g(e), t), u = o?.[p];
361
+ if (u && u.base_ === r)
362
+ return e.copy_[t] = r, e.assigned_[t] = !1, !0;
363
+ if (Ae(r, o) && (r !== void 0 || G(e.base_, t)))
364
+ return !0;
365
+ K(e), q(e);
366
+ }
367
+ return e.copy_[t] === r && // special case: handle new props with value 'undefined'
368
+ (r !== void 0 || t in e.copy_) || // special case: NaN
369
+ Number.isNaN(r) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = r, e.assigned_[t] = !0), !0;
370
+ },
371
+ deleteProperty(e, t) {
372
+ return W(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, K(e), q(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
373
+ },
374
+ // Note: We never coerce `desc.value` into an Immer draft, because we can't make
375
+ // the same guarantee in ES5 mode.
376
+ getOwnPropertyDescriptor(e, t) {
377
+ const r = g(e), n = Reflect.getOwnPropertyDescriptor(r, t);
378
+ return n && {
379
+ writable: !0,
380
+ configurable: e.type_ !== 1 || t !== "length",
381
+ enumerable: n.enumerable,
382
+ value: r[t]
383
+ };
384
+ },
385
+ defineProperty() {
386
+ h(11);
387
+ },
388
+ getPrototypeOf(e) {
389
+ return z(e.base_);
390
+ },
391
+ setPrototypeOf() {
392
+ h(12);
393
+ }
394
+ }, j = {};
395
+ C(Y, (e, t) => {
396
+ j[e] = function() {
397
+ return arguments[0] = arguments[0][0], t.apply(this, arguments);
398
+ };
399
+ });
400
+ j.deleteProperty = function(e, t) {
401
+ return j.set.call(this, e, t, void 0);
402
+ };
403
+ j.set = function(e, t, r) {
404
+ return Y.set.call(this, e[0], t, r, e[0]);
405
+ };
406
+ function W(e, t) {
407
+ const r = e[p];
408
+ return (r ? g(r) : e)[t];
409
+ }
410
+ function Ne(e, t, r) {
411
+ var n;
412
+ const o = ve(t, r);
413
+ return o ? "value" in o ? o.value : (
414
+ // This is a very special case, if the prop is a getter defined by the
415
+ // prototype, we should invoke it with the draft as context!
416
+ (n = o.get) == null ? void 0 : n.call(e.draft_)
417
+ ) : void 0;
418
+ }
419
+ function ve(e, t) {
420
+ if (!(t in e))
421
+ return;
422
+ let r = z(e);
423
+ for (; r; ) {
424
+ const n = Object.getOwnPropertyDescriptor(r, t);
425
+ if (n)
426
+ return n;
427
+ r = z(r);
428
+ }
429
+ }
430
+ function q(e) {
431
+ e.modified_ || (e.modified_ = !0, e.parent_ && q(e.parent_));
432
+ }
433
+ function K(e) {
434
+ e.copy_ || (e.copy_ = Q(
435
+ e.base_,
436
+ e.scope_.immer_.useStrictShallowCopy_
437
+ ));
438
+ }
439
+ var Le = class {
440
+ constructor(e) {
441
+ this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (t, r, n) => {
442
+ if (typeof t == "function" && typeof r != "function") {
443
+ const u = r;
444
+ r = t;
445
+ const i = this;
446
+ return function(a = u, ...d) {
447
+ return i.produce(a, (y) => r.call(this, y, ...d));
448
+ };
449
+ }
450
+ typeof r != "function" && h(6), n !== void 0 && typeof n != "function" && h(7);
451
+ let o;
452
+ if (w(t)) {
453
+ const u = fe(this), i = B(t, void 0);
454
+ let a = !0;
455
+ try {
456
+ o = r(i), a = !1;
457
+ } finally {
458
+ a ? T(u) : X(u);
459
+ }
460
+ return ce(u, n), le(o, u);
461
+ } else if (!t || typeof t != "object") {
462
+ if (o = r(t), o === void 0 && (o = t), o === _e && (o = void 0), this.autoFreeze_ && J(o, !0), n) {
463
+ const u = [], i = [];
464
+ O("Patches").generateReplacementPatches_(t, o, u, i), n(u, i);
465
+ }
466
+ return o;
467
+ } else
468
+ h(1, t);
469
+ }, this.produceWithPatches = (t, r) => {
470
+ if (typeof t == "function")
471
+ return (u, ...i) => this.produceWithPatches(u, (a) => t(a, ...i));
472
+ let n, o;
473
+ return [this.produce(t, r, (u, i) => {
474
+ n = u, o = i;
475
+ }), n, o];
476
+ }, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
477
+ }
478
+ createDraft(e) {
479
+ w(e) || h(8), D(e) && (e = Me(e));
480
+ const t = fe(this), r = B(e, void 0);
481
+ return r[p].isManual_ = !0, X(t), r;
482
+ }
483
+ finishDraft(e, t) {
484
+ const r = e && e[p];
485
+ (!r || !r.isManual_) && h(9);
486
+ const { scope_: n } = r;
487
+ return ce(n, t), le(void 0, n);
488
+ }
489
+ /**
490
+ * Pass true to automatically freeze all copies created by Immer.
491
+ *
492
+ * By default, auto-freezing is enabled.
493
+ */
494
+ setAutoFreeze(e) {
495
+ this.autoFreeze_ = e;
496
+ }
497
+ /**
498
+ * Pass true to enable strict shallow copy.
499
+ *
500
+ * By default, immer does not copy the object descriptors such as getter, setter and non-enumrable properties.
501
+ */
502
+ setUseStrictShallowCopy(e) {
503
+ this.useStrictShallowCopy_ = e;
504
+ }
505
+ applyPatches(e, t) {
506
+ let r;
507
+ for (r = t.length - 1; r >= 0; r--) {
508
+ const o = t[r];
509
+ if (o.path.length === 0 && o.op === "replace") {
510
+ e = o.value;
511
+ break;
512
+ }
513
+ }
514
+ r > -1 && (t = t.slice(r + 1));
515
+ const n = O("Patches").applyPatches_;
516
+ return D(e) ? n(e, t) : this.produce(
517
+ e,
518
+ (o) => n(o, t)
519
+ );
520
+ }
521
+ };
522
+ function B(e, t) {
523
+ const r = M(e) ? O("MapSet").proxyMap_(e, t) : R(e) ? O("MapSet").proxySet_(e, t) : Ue(e, t);
524
+ return (t ? t.scope_ : he()).drafts_.push(r), r;
525
+ }
526
+ function Me(e) {
527
+ return D(e) || h(10, e), be(e);
528
+ }
529
+ function be(e) {
530
+ if (!w(e) || I(e))
531
+ return e;
532
+ const t = e[p];
533
+ let r;
534
+ if (t) {
535
+ if (!t.modified_)
536
+ return t.base_;
537
+ t.finalized_ = !0, r = Q(e, t.scope_.immer_.useStrictShallowCopy_);
538
+ } else
539
+ r = Q(e, !0);
540
+ return C(r, (n, o) => {
541
+ ye(r, n, be(o));
542
+ }), t && (t.finalized_ = !1), r;
543
+ }
544
+ var _ = new Le();
545
+ _.produce;
546
+ _.produceWithPatches.bind(
547
+ _
548
+ );
549
+ _.setAutoFreeze.bind(_);
550
+ _.setUseStrictShallowCopy.bind(_);
551
+ _.applyPatches.bind(_);
552
+ _.createDraft.bind(_);
553
+ _.finishDraft.bind(_);
554
+ var m = /* @__PURE__ */ ((e) => (e.Idle = "IDLE", e.Pending = "PENDING", e.Queued = "QUEUED", e.Uploading = "UPLOADING", e.Uploaded = "UPLOADED", e.Cancelled = "CANCELLED", e.Failed = "FAILED", e.Paused = "PAUSED", e))(m || {});
555
+ m.Pending, m.Uploading;
556
+ m.Idle, m.Paused;
557
+ m.Paused, m.Uploading, m.Queued, m.Pending;
558
+ const Re = me(null), { Provider: Ge } = Re;
package/index15.js ADDED
@@ -0,0 +1,58 @@
1
+ import { __exports as n } from "./index16.js";
2
+ var c;
3
+ function f() {
4
+ if (c) return n;
5
+ c = 1, Object.defineProperty(n, "__esModule", { value: !0 }), n.jwtDecode = n.InvalidTokenError = void 0;
6
+ class a extends Error {
7
+ }
8
+ n.InvalidTokenError = a, a.prototype.name = "InvalidTokenError";
9
+ function d(r) {
10
+ return decodeURIComponent(atob(r).replace(/(.)/g, (e, t) => {
11
+ let o = t.charCodeAt(0).toString(16).toUpperCase();
12
+ return o.length < 2 && (o = "0" + o), "%" + o;
13
+ }));
14
+ }
15
+ function l(r) {
16
+ let e = r.replace(/-/g, "+").replace(/_/g, "/");
17
+ switch (e.length % 4) {
18
+ case 0:
19
+ break;
20
+ case 2:
21
+ e += "==";
22
+ break;
23
+ case 3:
24
+ e += "=";
25
+ break;
26
+ default:
27
+ throw new Error("base64 string is not of the correct length");
28
+ }
29
+ try {
30
+ return d(e);
31
+ } catch {
32
+ return atob(e);
33
+ }
34
+ }
35
+ function p(r, e) {
36
+ if (typeof r != "string")
37
+ throw new a("Invalid token specified: must be a string");
38
+ e || (e = {});
39
+ const t = e.header === !0 ? 0 : 1, o = r.split(".")[t];
40
+ if (typeof o != "string")
41
+ throw new a(`Invalid token specified: missing part #${t + 1}`);
42
+ let s;
43
+ try {
44
+ s = l(o);
45
+ } catch (i) {
46
+ throw new a(`Invalid token specified: invalid base64 for part #${t + 1} (${i.message})`);
47
+ }
48
+ try {
49
+ return JSON.parse(s);
50
+ } catch (i) {
51
+ throw new a(`Invalid token specified: invalid json for part #${t + 1} (${i.message})`);
52
+ }
53
+ }
54
+ return n.jwtDecode = p, n;
55
+ }
56
+ export {
57
+ f as __require
58
+ };
package/index16.js ADDED
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
package/index17.js ADDED
@@ -0,0 +1,89 @@
1
+ import t from "./utils6.js";
2
+ import p from "./AxiosError.js";
3
+ import u from "./transitional.js";
4
+ import S from "./toFormData.js";
5
+ import h from "./toURLEncodedForm.js";
6
+ import l from "./index18.js";
7
+ import O from "./formDataToJSON.js";
8
+ function y(i, r, e) {
9
+ if (t.isString(i))
10
+ try {
11
+ return (r || JSON.parse)(i), t.trim(i);
12
+ } catch (n) {
13
+ if (n.name !== "SyntaxError")
14
+ throw n;
15
+ }
16
+ return (e || JSON.stringify)(i);
17
+ }
18
+ const a = {
19
+ transitional: u,
20
+ adapter: ["xhr", "http", "fetch"],
21
+ transformRequest: [function(r, e) {
22
+ const n = e.getContentType() || "", s = n.indexOf("application/json") > -1, f = t.isObject(r);
23
+ if (f && t.isHTMLForm(r) && (r = new FormData(r)), t.isFormData(r))
24
+ return s ? JSON.stringify(O(r)) : r;
25
+ if (t.isArrayBuffer(r) || t.isBuffer(r) || t.isStream(r) || t.isFile(r) || t.isBlob(r) || t.isReadableStream(r))
26
+ return r;
27
+ if (t.isArrayBufferView(r))
28
+ return r.buffer;
29
+ if (t.isURLSearchParams(r))
30
+ return e.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), r.toString();
31
+ let o;
32
+ if (f) {
33
+ if (n.indexOf("application/x-www-form-urlencoded") > -1)
34
+ return h(r, this.formSerializer).toString();
35
+ if ((o = t.isFileList(r)) || n.indexOf("multipart/form-data") > -1) {
36
+ const c = this.env && this.env.FormData;
37
+ return S(
38
+ o ? { "files[]": r } : r,
39
+ c && new c(),
40
+ this.formSerializer
41
+ );
42
+ }
43
+ }
44
+ return f || s ? (e.setContentType("application/json", !1), y(r)) : r;
45
+ }],
46
+ transformResponse: [function(r) {
47
+ const e = this.transitional || a.transitional, n = e && e.forcedJSONParsing, s = this.responseType === "json";
48
+ if (t.isResponse(r) || t.isReadableStream(r))
49
+ return r;
50
+ if (r && t.isString(r) && (n && !this.responseType || s)) {
51
+ const m = !(e && e.silentJSONParsing) && s;
52
+ try {
53
+ return JSON.parse(r);
54
+ } catch (o) {
55
+ if (m)
56
+ throw o.name === "SyntaxError" ? p.from(o, p.ERR_BAD_RESPONSE, this, null, this.response) : o;
57
+ }
58
+ }
59
+ return r;
60
+ }],
61
+ /**
62
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
63
+ * timeout is not created.
64
+ */
65
+ timeout: 0,
66
+ xsrfCookieName: "XSRF-TOKEN",
67
+ xsrfHeaderName: "X-XSRF-TOKEN",
68
+ maxContentLength: -1,
69
+ maxBodyLength: -1,
70
+ env: {
71
+ FormData: l.classes.FormData,
72
+ Blob: l.classes.Blob
73
+ },
74
+ validateStatus: function(r) {
75
+ return r >= 200 && r < 300;
76
+ },
77
+ headers: {
78
+ common: {
79
+ Accept: "application/json, text/plain, */*",
80
+ "Content-Type": void 0
81
+ }
82
+ }
83
+ };
84
+ t.forEach(["delete", "get", "head", "post", "put", "patch"], (i) => {
85
+ a.headers[i] = {};
86
+ });
87
+ export {
88
+ a as default
89
+ };