@medipass/utils 12.0.0 → 12.0.1

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 (712) hide show
  1. package/dist/_virtual/rolldown_runtime.js +1 -29
  2. package/dist/build-validation-schema.d.ts +17 -18
  3. package/dist/build-validation-schema.js +26 -32
  4. package/dist/build-validation-schema.js.map +1 -1
  5. package/dist/datetime.js +3 -3
  6. package/dist/documents/workflow-state-formatted.d.ts +4 -4
  7. package/dist/documents/workflow-state-formatted.js +5 -7
  8. package/dist/documents/workflow-state-formatted.js.map +1 -1
  9. package/dist/funders.js +2 -4
  10. package/dist/funders.js.map +1 -1
  11. package/dist/get-env.js +5 -9
  12. package/dist/get-env.js.map +1 -1
  13. package/dist/get-select-options.js +7 -9
  14. package/dist/get-select-options.js.map +1 -1
  15. package/dist/google-addresses.js +4 -7
  16. package/dist/google-addresses.js.map +1 -1
  17. package/dist/masked.js +4 -7
  18. package/dist/masked.js.map +1 -1
  19. package/dist/products.js +4 -6
  20. package/dist/products.js.map +1 -1
  21. package/dist/redux-actions.js +2 -4
  22. package/dist/redux-actions.js.map +1 -1
  23. package/dist/redux-reducer.js +4 -7
  24. package/dist/redux-reducer.js.map +1 -1
  25. package/dist/sanitise-url.js +2 -4
  26. package/dist/sanitise-url.js.map +1 -1
  27. package/dist/sentry.js +15 -21
  28. package/dist/sentry.js.map +1 -1
  29. package/dist/service-items.js +18 -22
  30. package/dist/service-items.js.map +1 -1
  31. package/dist/transaction-status-helpers.js +2 -4
  32. package/dist/transaction-status-helpers.js.map +1 -1
  33. package/dist/transaction-status.js +7 -9
  34. package/dist/transaction-status.js.map +1 -1
  35. package/dist/validate-form.js +11 -14
  36. package/dist/validate-form.js.map +1 -1
  37. package/dist/validate.js +9 -14
  38. package/dist/validate.js.map +1 -1
  39. package/dist/workflow-state-formatted.d.ts +3 -3
  40. package/dist/workflow-state-formatted.js +4 -6
  41. package/dist/workflow-state-formatted.js.map +1 -1
  42. package/package.json +10 -7
  43. package/dist/node_modules/@sentry/browser/esm/backend.js +0 -59
  44. package/dist/node_modules/@sentry/browser/esm/backend.js.map +0 -1
  45. package/dist/node_modules/@sentry/browser/esm/client.js +0 -75
  46. package/dist/node_modules/@sentry/browser/esm/client.js.map +0 -1
  47. package/dist/node_modules/@sentry/browser/esm/eventbuilder.js +0 -48
  48. package/dist/node_modules/@sentry/browser/esm/eventbuilder.js.map +0 -1
  49. package/dist/node_modules/@sentry/browser/esm/helpers.js +0 -94
  50. package/dist/node_modules/@sentry/browser/esm/helpers.js.map +0 -1
  51. package/dist/node_modules/@sentry/browser/esm/index.js +0 -59
  52. package/dist/node_modules/@sentry/browser/esm/index.js.map +0 -1
  53. package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js +0 -218
  54. package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js.map +0 -1
  55. package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js +0 -166
  56. package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js.map +0 -1
  57. package/dist/node_modules/@sentry/browser/esm/integrations/index.js +0 -19
  58. package/dist/node_modules/@sentry/browser/esm/integrations/index.js.map +0 -1
  59. package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js +0 -62
  60. package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js.map +0 -1
  61. package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js +0 -172
  62. package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js.map +0 -1
  63. package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js +0 -41
  64. package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js.map +0 -1
  65. package/dist/node_modules/@sentry/browser/esm/parsers.js +0 -65
  66. package/dist/node_modules/@sentry/browser/esm/parsers.js.map +0 -1
  67. package/dist/node_modules/@sentry/browser/esm/sdk.js +0 -157
  68. package/dist/node_modules/@sentry/browser/esm/sdk.js.map +0 -1
  69. package/dist/node_modules/@sentry/browser/esm/tracekit.js +0 -146
  70. package/dist/node_modules/@sentry/browser/esm/tracekit.js.map +0 -1
  71. package/dist/node_modules/@sentry/browser/esm/transports/base.js +0 -31
  72. package/dist/node_modules/@sentry/browser/esm/transports/base.js.map +0 -1
  73. package/dist/node_modules/@sentry/browser/esm/transports/fetch.js +0 -57
  74. package/dist/node_modules/@sentry/browser/esm/transports/fetch.js.map +0 -1
  75. package/dist/node_modules/@sentry/browser/esm/transports/index.js +0 -15
  76. package/dist/node_modules/@sentry/browser/esm/transports/index.js.map +0 -1
  77. package/dist/node_modules/@sentry/browser/esm/transports/xhr.js +0 -54
  78. package/dist/node_modules/@sentry/browser/esm/transports/xhr.js.map +0 -1
  79. package/dist/node_modules/@sentry/browser/esm/version.js +0 -7
  80. package/dist/node_modules/@sentry/browser/esm/version.js.map +0 -1
  81. package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js +0 -65
  82. package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js.map +0 -1
  83. package/dist/node_modules/@sentry/core/esm/api.js +0 -75
  84. package/dist/node_modules/@sentry/core/esm/api.js.map +0 -1
  85. package/dist/node_modules/@sentry/core/esm/basebackend.js +0 -54
  86. package/dist/node_modules/@sentry/core/esm/basebackend.js.map +0 -1
  87. package/dist/node_modules/@sentry/core/esm/baseclient.js +0 -331
  88. package/dist/node_modules/@sentry/core/esm/baseclient.js.map +0 -1
  89. package/dist/node_modules/@sentry/core/esm/integration.js +0 -65
  90. package/dist/node_modules/@sentry/core/esm/integration.js.map +0 -1
  91. package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js +0 -32
  92. package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js.map +0 -1
  93. package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js +0 -143
  94. package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js.map +0 -1
  95. package/dist/node_modules/@sentry/core/esm/integrations/index.js +0 -13
  96. package/dist/node_modules/@sentry/core/esm/integrations/index.js.map +0 -1
  97. package/dist/node_modules/@sentry/core/esm/sdk.js +0 -19
  98. package/dist/node_modules/@sentry/core/esm/sdk.js.map +0 -1
  99. package/dist/node_modules/@sentry/core/esm/transports/noop.js +0 -28
  100. package/dist/node_modules/@sentry/core/esm/transports/noop.js.map +0 -1
  101. package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js +0 -36
  102. package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js.map +0 -1
  103. package/dist/node_modules/@sentry/hub/esm/hub.js +0 -383
  104. package/dist/node_modules/@sentry/hub/esm/hub.js.map +0 -1
  105. package/dist/node_modules/@sentry/hub/esm/scope.js +0 -271
  106. package/dist/node_modules/@sentry/hub/esm/scope.js.map +0 -1
  107. package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js +0 -36
  108. package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js.map +0 -1
  109. package/dist/node_modules/@sentry/minimal/esm/index.js +0 -146
  110. package/dist/node_modules/@sentry/minimal/esm/index.js.map +0 -1
  111. package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js +0 -26
  112. package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js.map +0 -1
  113. package/dist/node_modules/@sentry/types/esm/severity.js +0 -45
  114. package/dist/node_modules/@sentry/types/esm/severity.js.map +0 -1
  115. package/dist/node_modules/@sentry/types/esm/status.js +0 -37
  116. package/dist/node_modules/@sentry/types/esm/status.js.map +0 -1
  117. package/dist/node_modules/@sentry/utils/esm/dsn.js +0 -82
  118. package/dist/node_modules/@sentry/utils/esm/dsn.js.map +0 -1
  119. package/dist/node_modules/@sentry/utils/esm/error.js +0 -21
  120. package/dist/node_modules/@sentry/utils/esm/error.js.map +0 -1
  121. package/dist/node_modules/@sentry/utils/esm/instrument.js +0 -336
  122. package/dist/node_modules/@sentry/utils/esm/instrument.js.map +0 -1
  123. package/dist/node_modules/@sentry/utils/esm/is.js +0 -142
  124. package/dist/node_modules/@sentry/utils/esm/is.js.map +0 -1
  125. package/dist/node_modules/@sentry/utils/esm/logger.js +0 -55
  126. package/dist/node_modules/@sentry/utils/esm/logger.js.map +0 -1
  127. package/dist/node_modules/@sentry/utils/esm/memo.js +0 -40
  128. package/dist/node_modules/@sentry/utils/esm/memo.js.map +0 -1
  129. package/dist/node_modules/@sentry/utils/esm/misc.js +0 -250
  130. package/dist/node_modules/@sentry/utils/esm/misc.js.map +0 -1
  131. package/dist/node_modules/@sentry/utils/esm/object.js +0 -190
  132. package/dist/node_modules/@sentry/utils/esm/object.js.map +0 -1
  133. package/dist/node_modules/@sentry/utils/esm/polyfill.js +0 -20
  134. package/dist/node_modules/@sentry/utils/esm/polyfill.js.map +0 -1
  135. package/dist/node_modules/@sentry/utils/esm/promisebuffer.js +0 -75
  136. package/dist/node_modules/@sentry/utils/esm/promisebuffer.js.map +0 -1
  137. package/dist/node_modules/@sentry/utils/esm/string.js +0 -48
  138. package/dist/node_modules/@sentry/utils/esm/string.js.map +0 -1
  139. package/dist/node_modules/@sentry/utils/esm/supports.js +0 -84
  140. package/dist/node_modules/@sentry/utils/esm/supports.js.map +0 -1
  141. package/dist/node_modules/@sentry/utils/esm/syncpromise.js +0 -171
  142. package/dist/node_modules/@sentry/utils/esm/syncpromise.js.map +0 -1
  143. package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js +0 -73
  144. package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js.map +0 -1
  145. package/dist/node_modules/escape-html/index.js +0 -68
  146. package/dist/node_modules/escape-html/index.js.map +0 -1
  147. package/dist/node_modules/globalthis/implementation.browser.js +0 -14
  148. package/dist/node_modules/globalthis/implementation.browser.js.map +0 -1
  149. package/dist/node_modules/globalthis/polyfill.js +0 -17
  150. package/dist/node_modules/globalthis/polyfill.js.map +0 -1
  151. package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js +0 -84028
  152. package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js.map +0 -1
  153. package/dist/node_modules/lodash/_DataView.js +0 -15
  154. package/dist/node_modules/lodash/_DataView.js.map +0 -1
  155. package/dist/node_modules/lodash/_Hash.js +0 -38
  156. package/dist/node_modules/lodash/_Hash.js.map +0 -1
  157. package/dist/node_modules/lodash/_ListCache.js +0 -38
  158. package/dist/node_modules/lodash/_ListCache.js.map +0 -1
  159. package/dist/node_modules/lodash/_Map.js +0 -15
  160. package/dist/node_modules/lodash/_Map.js.map +0 -1
  161. package/dist/node_modules/lodash/_MapCache.js +0 -38
  162. package/dist/node_modules/lodash/_MapCache.js.map +0 -1
  163. package/dist/node_modules/lodash/_Promise.js +0 -15
  164. package/dist/node_modules/lodash/_Promise.js.map +0 -1
  165. package/dist/node_modules/lodash/_Set.js +0 -15
  166. package/dist/node_modules/lodash/_Set.js.map +0 -1
  167. package/dist/node_modules/lodash/_SetCache.js +0 -31
  168. package/dist/node_modules/lodash/_SetCache.js.map +0 -1
  169. package/dist/node_modules/lodash/_Stack.js +0 -34
  170. package/dist/node_modules/lodash/_Stack.js.map +0 -1
  171. package/dist/node_modules/lodash/_Symbol.js +0 -15
  172. package/dist/node_modules/lodash/_Symbol.js.map +0 -1
  173. package/dist/node_modules/lodash/_Uint8Array.js +0 -15
  174. package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
  175. package/dist/node_modules/lodash/_WeakMap.js +0 -15
  176. package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
  177. package/dist/node_modules/lodash/_apply.js +0 -31
  178. package/dist/node_modules/lodash/_apply.js.map +0 -1
  179. package/dist/node_modules/lodash/_arrayEach.js +0 -26
  180. package/dist/node_modules/lodash/_arrayEach.js.map +0 -1
  181. package/dist/node_modules/lodash/_arrayFilter.js +0 -29
  182. package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
  183. package/dist/node_modules/lodash/_arrayIncludes.js +0 -26
  184. package/dist/node_modules/lodash/_arrayIncludes.js.map +0 -1
  185. package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -26
  186. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
  187. package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -34
  188. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
  189. package/dist/node_modules/lodash/_arrayMap.js +0 -26
  190. package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
  191. package/dist/node_modules/lodash/_arrayPush.js +0 -25
  192. package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
  193. package/dist/node_modules/lodash/_arrayReduce.js +0 -30
  194. package/dist/node_modules/lodash/_arrayReduce.js.map +0 -1
  195. package/dist/node_modules/lodash/_arraySome.js +0 -27
  196. package/dist/node_modules/lodash/_arraySome.js.map +0 -1
  197. package/dist/node_modules/lodash/_asciiToArray.js +0 -22
  198. package/dist/node_modules/lodash/_asciiToArray.js.map +0 -1
  199. package/dist/node_modules/lodash/_asciiWords.js +0 -24
  200. package/dist/node_modules/lodash/_asciiWords.js.map +0 -1
  201. package/dist/node_modules/lodash/_assignValue.js +0 -31
  202. package/dist/node_modules/lodash/_assignValue.js.map +0 -1
  203. package/dist/node_modules/lodash/_assocIndexOf.js +0 -27
  204. package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
  205. package/dist/node_modules/lodash/_baseAssignValue.js +0 -32
  206. package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
  207. package/dist/node_modules/lodash/_baseDifference.js +0 -55
  208. package/dist/node_modules/lodash/_baseDifference.js.map +0 -1
  209. package/dist/node_modules/lodash/_baseEach.js +0 -24
  210. package/dist/node_modules/lodash/_baseEach.js.map +0 -1
  211. package/dist/node_modules/lodash/_baseFindIndex.js +0 -28
  212. package/dist/node_modules/lodash/_baseFindIndex.js.map +0 -1
  213. package/dist/node_modules/lodash/_baseFlatten.js +0 -38
  214. package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
  215. package/dist/node_modules/lodash/_baseFor.js +0 -25
  216. package/dist/node_modules/lodash/_baseFor.js.map +0 -1
  217. package/dist/node_modules/lodash/_baseForOwn.js +0 -26
  218. package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
  219. package/dist/node_modules/lodash/_baseGet.js +0 -29
  220. package/dist/node_modules/lodash/_baseGet.js.map +0 -1
  221. package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -30
  222. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
  223. package/dist/node_modules/lodash/_baseGetTag.js +0 -31
  224. package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
  225. package/dist/node_modules/lodash/_baseHas.js +0 -25
  226. package/dist/node_modules/lodash/_baseHas.js.map +0 -1
  227. package/dist/node_modules/lodash/_baseHasIn.js +0 -23
  228. package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
  229. package/dist/node_modules/lodash/_baseIndexOf.js +0 -28
  230. package/dist/node_modules/lodash/_baseIndexOf.js.map +0 -1
  231. package/dist/node_modules/lodash/_baseIsArguments.js +0 -27
  232. package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
  233. package/dist/node_modules/lodash/_baseIsEqual.js +0 -34
  234. package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
  235. package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -67
  236. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
  237. package/dist/node_modules/lodash/_baseIsMatch.js +0 -48
  238. package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
  239. package/dist/node_modules/lodash/_baseIsNaN.js +0 -22
  240. package/dist/node_modules/lodash/_baseIsNaN.js.map +0 -1
  241. package/dist/node_modules/lodash/_baseIsNative.js +0 -44
  242. package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
  243. package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -33
  244. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
  245. package/dist/node_modules/lodash/_baseIteratee.js +0 -31
  246. package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
  247. package/dist/node_modules/lodash/_baseKeys.js +0 -30
  248. package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
  249. package/dist/node_modules/lodash/_baseKeysIn.js +0 -31
  250. package/dist/node_modules/lodash/_baseKeysIn.js.map +0 -1
  251. package/dist/node_modules/lodash/_baseMatches.js +0 -30
  252. package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
  253. package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -37
  254. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
  255. package/dist/node_modules/lodash/_basePick.js +0 -29
  256. package/dist/node_modules/lodash/_basePick.js.map +0 -1
  257. package/dist/node_modules/lodash/_basePickBy.js +0 -33
  258. package/dist/node_modules/lodash/_basePickBy.js.map +0 -1
  259. package/dist/node_modules/lodash/_baseProperty.js +0 -24
  260. package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
  261. package/dist/node_modules/lodash/_basePropertyDeep.js +0 -26
  262. package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
  263. package/dist/node_modules/lodash/_basePropertyOf.js +0 -24
  264. package/dist/node_modules/lodash/_basePropertyOf.js.map +0 -1
  265. package/dist/node_modules/lodash/_baseRepeat.js +0 -33
  266. package/dist/node_modules/lodash/_baseRepeat.js.map +0 -1
  267. package/dist/node_modules/lodash/_baseRest.js +0 -27
  268. package/dist/node_modules/lodash/_baseRest.js.map +0 -1
  269. package/dist/node_modules/lodash/_baseSet.js +0 -45
  270. package/dist/node_modules/lodash/_baseSet.js.map +0 -1
  271. package/dist/node_modules/lodash/_baseSetToString.js +0 -32
  272. package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
  273. package/dist/node_modules/lodash/_baseSlice.js +0 -32
  274. package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
  275. package/dist/node_modules/lodash/_baseTimes.js +0 -26
  276. package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
  277. package/dist/node_modules/lodash/_baseToString.js +0 -36
  278. package/dist/node_modules/lodash/_baseToString.js.map +0 -1
  279. package/dist/node_modules/lodash/_baseTrim.js +0 -26
  280. package/dist/node_modules/lodash/_baseTrim.js.map +0 -1
  281. package/dist/node_modules/lodash/_baseUnary.js +0 -24
  282. package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
  283. package/dist/node_modules/lodash/_cacheHas.js +0 -23
  284. package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
  285. package/dist/node_modules/lodash/_castFunction.js +0 -24
  286. package/dist/node_modules/lodash/_castFunction.js.map +0 -1
  287. package/dist/node_modules/lodash/_castPath.js +0 -29
  288. package/dist/node_modules/lodash/_castPath.js.map +0 -1
  289. package/dist/node_modules/lodash/_castSlice.js +0 -28
  290. package/dist/node_modules/lodash/_castSlice.js.map +0 -1
  291. package/dist/node_modules/lodash/_coreJsData.js +0 -15
  292. package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
  293. package/dist/node_modules/lodash/_createBaseEach.js +0 -31
  294. package/dist/node_modules/lodash/_createBaseEach.js.map +0 -1
  295. package/dist/node_modules/lodash/_createBaseFor.js +0 -29
  296. package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
  297. package/dist/node_modules/lodash/_createCaseFirst.js +0 -33
  298. package/dist/node_modules/lodash/_createCaseFirst.js.map +0 -1
  299. package/dist/node_modules/lodash/_createCompounder.js +0 -30
  300. package/dist/node_modules/lodash/_createCompounder.js.map +0 -1
  301. package/dist/node_modules/lodash/_deburrLetter.js +0 -213
  302. package/dist/node_modules/lodash/_deburrLetter.js.map +0 -1
  303. package/dist/node_modules/lodash/_defineProperty.js +0 -21
  304. package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
  305. package/dist/node_modules/lodash/_equalArrays.js +0 -64
  306. package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
  307. package/dist/node_modules/lodash/_equalByTag.js +0 -74
  308. package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
  309. package/dist/node_modules/lodash/_equalObjects.js +0 -64
  310. package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
  311. package/dist/node_modules/lodash/_flatRest.js +0 -26
  312. package/dist/node_modules/lodash/_flatRest.js.map +0 -1
  313. package/dist/node_modules/lodash/_freeGlobal.js +0 -14
  314. package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
  315. package/dist/node_modules/lodash/_getAllKeys.js +0 -26
  316. package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
  317. package/dist/node_modules/lodash/_getAllKeysIn.js +0 -27
  318. package/dist/node_modules/lodash/_getAllKeysIn.js.map +0 -1
  319. package/dist/node_modules/lodash/_getMapData.js +0 -26
  320. package/dist/node_modules/lodash/_getMapData.js.map +0 -1
  321. package/dist/node_modules/lodash/_getMatchData.js +0 -34
  322. package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
  323. package/dist/node_modules/lodash/_getNative.js +0 -27
  324. package/dist/node_modules/lodash/_getNative.js.map +0 -1
  325. package/dist/node_modules/lodash/_getPrototype.js +0 -15
  326. package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
  327. package/dist/node_modules/lodash/_getRawTag.js +0 -44
  328. package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
  329. package/dist/node_modules/lodash/_getSymbols.js +0 -32
  330. package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
  331. package/dist/node_modules/lodash/_getSymbolsIn.js +0 -32
  332. package/dist/node_modules/lodash/_getSymbolsIn.js.map +0 -1
  333. package/dist/node_modules/lodash/_getTag.js +0 -44
  334. package/dist/node_modules/lodash/_getTag.js.map +0 -1
  335. package/dist/node_modules/lodash/_getValue.js +0 -23
  336. package/dist/node_modules/lodash/_getValue.js.map +0 -1
  337. package/dist/node_modules/lodash/_hasPath.js +0 -40
  338. package/dist/node_modules/lodash/_hasPath.js.map +0 -1
  339. package/dist/node_modules/lodash/_hasUnicode.js +0 -24
  340. package/dist/node_modules/lodash/_hasUnicode.js.map +0 -1
  341. package/dist/node_modules/lodash/_hasUnicodeWord.js +0 -24
  342. package/dist/node_modules/lodash/_hasUnicodeWord.js.map +0 -1
  343. package/dist/node_modules/lodash/_hashClear.js +0 -25
  344. package/dist/node_modules/lodash/_hashClear.js.map +0 -1
  345. package/dist/node_modules/lodash/_hashDelete.js +0 -27
  346. package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
  347. package/dist/node_modules/lodash/_hashGet.js +0 -35
  348. package/dist/node_modules/lodash/_hashGet.js.map +0 -1
  349. package/dist/node_modules/lodash/_hashHas.js +0 -29
  350. package/dist/node_modules/lodash/_hashHas.js.map +0 -1
  351. package/dist/node_modules/lodash/_hashSet.js +0 -32
  352. package/dist/node_modules/lodash/_hashSet.js.map +0 -1
  353. package/dist/node_modules/lodash/_isFlattenable.js +0 -28
  354. package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
  355. package/dist/node_modules/lodash/_isIndex.js +0 -29
  356. package/dist/node_modules/lodash/_isIndex.js.map +0 -1
  357. package/dist/node_modules/lodash/_isIterateeCall.js +0 -33
  358. package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
  359. package/dist/node_modules/lodash/_isKey.js +0 -31
  360. package/dist/node_modules/lodash/_isKey.js.map +0 -1
  361. package/dist/node_modules/lodash/_isKeyable.js +0 -23
  362. package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
  363. package/dist/node_modules/lodash/_isMasked.js +0 -29
  364. package/dist/node_modules/lodash/_isMasked.js.map +0 -1
  365. package/dist/node_modules/lodash/_isPrototype.js +0 -25
  366. package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
  367. package/dist/node_modules/lodash/_isStrictComparable.js +0 -25
  368. package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
  369. package/dist/node_modules/lodash/_listCacheClear.js +0 -23
  370. package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
  371. package/dist/node_modules/lodash/_listCacheDelete.js +0 -33
  372. package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
  373. package/dist/node_modules/lodash/_listCacheGet.js +0 -27
  374. package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
  375. package/dist/node_modules/lodash/_listCacheHas.js +0 -26
  376. package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
  377. package/dist/node_modules/lodash/_listCacheSet.js +0 -32
  378. package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
  379. package/dist/node_modules/lodash/_mapCacheClear.js +0 -31
  380. package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
  381. package/dist/node_modules/lodash/_mapCacheDelete.js +0 -28
  382. package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
  383. package/dist/node_modules/lodash/_mapCacheGet.js +0 -26
  384. package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
  385. package/dist/node_modules/lodash/_mapCacheHas.js +0 -26
  386. package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
  387. package/dist/node_modules/lodash/_mapCacheSet.js +0 -30
  388. package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
  389. package/dist/node_modules/lodash/_mapToArray.js +0 -26
  390. package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
  391. package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -27
  392. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
  393. package/dist/node_modules/lodash/_memoizeCapped.js +0 -32
  394. package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
  395. package/dist/node_modules/lodash/_nativeCreate.js +0 -14
  396. package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
  397. package/dist/node_modules/lodash/_nativeKeys.js +0 -14
  398. package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
  399. package/dist/node_modules/lodash/_nativeKeysIn.js +0 -26
  400. package/dist/node_modules/lodash/_nativeKeysIn.js.map +0 -1
  401. package/dist/node_modules/lodash/_nodeUtil.js +0 -28
  402. package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
  403. package/dist/node_modules/lodash/_objectToString.js +0 -28
  404. package/dist/node_modules/lodash/_objectToString.js.map +0 -1
  405. package/dist/node_modules/lodash/_overArg.js +0 -25
  406. package/dist/node_modules/lodash/_overArg.js.map +0 -1
  407. package/dist/node_modules/lodash/_overRest.js +0 -36
  408. package/dist/node_modules/lodash/_overRest.js.map +0 -1
  409. package/dist/node_modules/lodash/_root.js +0 -18
  410. package/dist/node_modules/lodash/_root.js.map +0 -1
  411. package/dist/node_modules/lodash/_setCacheAdd.js +0 -28
  412. package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
  413. package/dist/node_modules/lodash/_setCacheHas.js +0 -24
  414. package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
  415. package/dist/node_modules/lodash/_setToArray.js +0 -26
  416. package/dist/node_modules/lodash/_setToArray.js.map +0 -1
  417. package/dist/node_modules/lodash/_setToString.js +0 -24
  418. package/dist/node_modules/lodash/_setToString.js.map +0 -1
  419. package/dist/node_modules/lodash/_shortOut.js +0 -35
  420. package/dist/node_modules/lodash/_shortOut.js.map +0 -1
  421. package/dist/node_modules/lodash/_stackClear.js +0 -25
  422. package/dist/node_modules/lodash/_stackClear.js.map +0 -1
  423. package/dist/node_modules/lodash/_stackDelete.js +0 -26
  424. package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
  425. package/dist/node_modules/lodash/_stackGet.js +0 -24
  426. package/dist/node_modules/lodash/_stackGet.js.map +0 -1
  427. package/dist/node_modules/lodash/_stackHas.js +0 -24
  428. package/dist/node_modules/lodash/_stackHas.js.map +0 -1
  429. package/dist/node_modules/lodash/_stackSet.js +0 -43
  430. package/dist/node_modules/lodash/_stackSet.js.map +0 -1
  431. package/dist/node_modules/lodash/_strictIndexOf.js +0 -27
  432. package/dist/node_modules/lodash/_strictIndexOf.js.map +0 -1
  433. package/dist/node_modules/lodash/_stringToArray.js +0 -26
  434. package/dist/node_modules/lodash/_stringToArray.js.map +0 -1
  435. package/dist/node_modules/lodash/_stringToPath.js +0 -33
  436. package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
  437. package/dist/node_modules/lodash/_toKey.js +0 -28
  438. package/dist/node_modules/lodash/_toKey.js.map +0 -1
  439. package/dist/node_modules/lodash/_toSource.js +0 -32
  440. package/dist/node_modules/lodash/_toSource.js.map +0 -1
  441. package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -27
  442. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
  443. package/dist/node_modules/lodash/_unicodeToArray.js +0 -40
  444. package/dist/node_modules/lodash/_unicodeToArray.js.map +0 -1
  445. package/dist/node_modules/lodash/_unicodeWords.js +0 -55
  446. package/dist/node_modules/lodash/_unicodeWords.js.map +0 -1
  447. package/dist/node_modules/lodash/camelCase.js +0 -39
  448. package/dist/node_modules/lodash/camelCase.js.map +0 -1
  449. package/dist/node_modules/lodash/capitalize.js +0 -33
  450. package/dist/node_modules/lodash/capitalize.js.map +0 -1
  451. package/dist/node_modules/lodash/constant.js +0 -36
  452. package/dist/node_modules/lodash/constant.js.map +0 -1
  453. package/dist/node_modules/lodash/deburr.js +0 -44
  454. package/dist/node_modules/lodash/deburr.js.map +0 -1
  455. package/dist/node_modules/lodash/difference.js +0 -41
  456. package/dist/node_modules/lodash/difference.js.map +0 -1
  457. package/dist/node_modules/lodash/eq.js +0 -47
  458. package/dist/node_modules/lodash/eq.js.map +0 -1
  459. package/dist/node_modules/lodash/flatten.js +0 -31
  460. package/dist/node_modules/lodash/flatten.js.map +0 -1
  461. package/dist/node_modules/lodash/forEach.js +0 -50
  462. package/dist/node_modules/lodash/forEach.js.map +0 -1
  463. package/dist/node_modules/lodash/forOwn.js +0 -46
  464. package/dist/node_modules/lodash/forOwn.js.map +0 -1
  465. package/dist/node_modules/lodash/get.js +0 -43
  466. package/dist/node_modules/lodash/get.js.map +0 -1
  467. package/dist/node_modules/lodash/has.js +0 -45
  468. package/dist/node_modules/lodash/has.js.map +0 -1
  469. package/dist/node_modules/lodash/hasIn.js +0 -44
  470. package/dist/node_modules/lodash/hasIn.js.map +0 -1
  471. package/dist/node_modules/lodash/identity.js +0 -31
  472. package/dist/node_modules/lodash/identity.js.map +0 -1
  473. package/dist/node_modules/lodash/isArguments.js +0 -44
  474. package/dist/node_modules/lodash/isArguments.js.map +0 -1
  475. package/dist/node_modules/lodash/isArray.js +0 -36
  476. package/dist/node_modules/lodash/isArray.js.map +0 -1
  477. package/dist/node_modules/lodash/isArrayLike.js +0 -43
  478. package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
  479. package/dist/node_modules/lodash/isArrayLikeObject.js +0 -43
  480. package/dist/node_modules/lodash/isArrayLikeObject.js.map +0 -1
  481. package/dist/node_modules/lodash/isBuffer.js +0 -39
  482. package/dist/node_modules/lodash/isBuffer.js.map +0 -1
  483. package/dist/node_modules/lodash/isEmpty.js +0 -67
  484. package/dist/node_modules/lodash/isEmpty.js.map +0 -1
  485. package/dist/node_modules/lodash/isFunction.js +0 -39
  486. package/dist/node_modules/lodash/isFunction.js.map +0 -1
  487. package/dist/node_modules/lodash/isLength.js +0 -43
  488. package/dist/node_modules/lodash/isLength.js.map +0 -1
  489. package/dist/node_modules/lodash/isObject.js +0 -41
  490. package/dist/node_modules/lodash/isObject.js.map +0 -1
  491. package/dist/node_modules/lodash/isObjectLike.js +0 -39
  492. package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
  493. package/dist/node_modules/lodash/isSymbol.js +0 -37
  494. package/dist/node_modules/lodash/isSymbol.js.map +0 -1
  495. package/dist/node_modules/lodash/isTypedArray.js +0 -35
  496. package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
  497. package/dist/node_modules/lodash/keys.js +0 -47
  498. package/dist/node_modules/lodash/keys.js.map +0 -1
  499. package/dist/node_modules/lodash/keysIn.js +0 -42
  500. package/dist/node_modules/lodash/keysIn.js.map +0 -1
  501. package/dist/node_modules/lodash/mapKeys.js +0 -45
  502. package/dist/node_modules/lodash/mapKeys.js.map +0 -1
  503. package/dist/node_modules/lodash/mapValues.js +0 -52
  504. package/dist/node_modules/lodash/mapValues.js.map +0 -1
  505. package/dist/node_modules/lodash/memoize.js +0 -73
  506. package/dist/node_modules/lodash/memoize.js.map +0 -1
  507. package/dist/node_modules/lodash/negate.js +0 -47
  508. package/dist/node_modules/lodash/negate.js.map +0 -1
  509. package/dist/node_modules/lodash/omitBy.js +0 -39
  510. package/dist/node_modules/lodash/omitBy.js.map +0 -1
  511. package/dist/node_modules/lodash/pick.js +0 -35
  512. package/dist/node_modules/lodash/pick.js.map +0 -1
  513. package/dist/node_modules/lodash/pickBy.js +0 -45
  514. package/dist/node_modules/lodash/pickBy.js.map +0 -1
  515. package/dist/node_modules/lodash/property.js +0 -42
  516. package/dist/node_modules/lodash/property.js.map +0 -1
  517. package/dist/node_modules/lodash/repeat.js +0 -44
  518. package/dist/node_modules/lodash/repeat.js.map +0 -1
  519. package/dist/node_modules/lodash/set.js +0 -45
  520. package/dist/node_modules/lodash/set.js.map +0 -1
  521. package/dist/node_modules/lodash/snakeCase.js +0 -37
  522. package/dist/node_modules/lodash/snakeCase.js.map +0 -1
  523. package/dist/node_modules/lodash/stubArray.js +0 -33
  524. package/dist/node_modules/lodash/stubArray.js.map +0 -1
  525. package/dist/node_modules/lodash/stubFalse.js +0 -28
  526. package/dist/node_modules/lodash/stubFalse.js.map +0 -1
  527. package/dist/node_modules/lodash/toFinite.js +0 -45
  528. package/dist/node_modules/lodash/toFinite.js.map +0 -1
  529. package/dist/node_modules/lodash/toInteger.js +0 -44
  530. package/dist/node_modules/lodash/toInteger.js.map +0 -1
  531. package/dist/node_modules/lodash/toNumber.js +0 -61
  532. package/dist/node_modules/lodash/toNumber.js.map +0 -1
  533. package/dist/node_modules/lodash/toString.js +0 -38
  534. package/dist/node_modules/lodash/toString.js.map +0 -1
  535. package/dist/node_modules/lodash/upperFirst.js +0 -31
  536. package/dist/node_modules/lodash/upperFirst.js.map +0 -1
  537. package/dist/node_modules/lodash/words.js +0 -42
  538. package/dist/node_modules/lodash/words.js.map +0 -1
  539. package/dist/node_modules/nanoclone/src/index.js +0 -38
  540. package/dist/node_modules/nanoclone/src/index.js.map +0 -1
  541. package/dist/node_modules/payment/lib/index.js +0 -565
  542. package/dist/node_modules/payment/lib/index.js.map +0 -1
  543. package/dist/node_modules/property-expr/index.js +0 -100
  544. package/dist/node_modules/property-expr/index.js.map +0 -1
  545. package/dist/node_modules/qj/lib/index.js +0 -175
  546. package/dist/node_modules/qj/lib/index.js.map +0 -1
  547. package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js +0 -86
  548. package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js.map +0 -1
  549. package/dist/node_modules/toposort/index.js +0 -78
  550. package/dist/node_modules/toposort/index.js.map +0 -1
  551. package/dist/node_modules/yup/es/Condition.d.ts +0 -23
  552. package/dist/node_modules/yup/es/Condition.js +0 -40
  553. package/dist/node_modules/yup/es/Condition.js.map +0 -1
  554. package/dist/node_modules/yup/es/Lazy.d.ts +0 -29
  555. package/dist/node_modules/yup/es/Lazy.js +0 -49
  556. package/dist/node_modules/yup/es/Lazy.js.map +0 -1
  557. package/dist/node_modules/yup/es/Reference.d.ts +0 -36
  558. package/dist/node_modules/yup/es/Reference.js +0 -61
  559. package/dist/node_modules/yup/es/Reference.js.map +0 -1
  560. package/dist/node_modules/yup/es/ValidationError.d.ts +0 -16
  561. package/dist/node_modules/yup/es/ValidationError.js +0 -48
  562. package/dist/node_modules/yup/es/ValidationError.js.map +0 -1
  563. package/dist/node_modules/yup/es/array.js +0 -181
  564. package/dist/node_modules/yup/es/array.js.map +0 -1
  565. package/dist/node_modules/yup/es/boolean.js +0 -53
  566. package/dist/node_modules/yup/es/boolean.js.map +0 -1
  567. package/dist/node_modules/yup/es/date.js +0 -67
  568. package/dist/node_modules/yup/es/date.js.map +0 -1
  569. package/dist/node_modules/yup/es/index.js +0 -52
  570. package/dist/node_modules/yup/es/index.js.map +0 -1
  571. package/dist/node_modules/yup/es/locale.js +0 -61
  572. package/dist/node_modules/yup/es/locale.js.map +0 -1
  573. package/dist/node_modules/yup/es/mixed.js +0 -13
  574. package/dist/node_modules/yup/es/mixed.js.map +0 -1
  575. package/dist/node_modules/yup/es/number.js +0 -108
  576. package/dist/node_modules/yup/es/number.js.map +0 -1
  577. package/dist/node_modules/yup/es/object.d.ts +0 -48
  578. package/dist/node_modules/yup/es/object.js +0 -266
  579. package/dist/node_modules/yup/es/object.js.map +0 -1
  580. package/dist/node_modules/yup/es/schema.d.ts +0 -148
  581. package/dist/node_modules/yup/es/schema.js +0 -407
  582. package/dist/node_modules/yup/es/schema.js.map +0 -1
  583. package/dist/node_modules/yup/es/setLocale.js +0 -14
  584. package/dist/node_modules/yup/es/setLocale.js.map +0 -1
  585. package/dist/node_modules/yup/es/string.js +0 -132
  586. package/dist/node_modules/yup/es/string.js.map +0 -1
  587. package/dist/node_modules/yup/es/types.d.ts +0 -56
  588. package/dist/node_modules/yup/es/util/ReferenceSet.d.ts +0 -19
  589. package/dist/node_modules/yup/es/util/ReferenceSet.js +0 -51
  590. package/dist/node_modules/yup/es/util/ReferenceSet.js.map +0 -1
  591. package/dist/node_modules/yup/es/util/createValidation.d.ts +0 -43
  592. package/dist/node_modules/yup/es/util/createValidation.js +0 -96
  593. package/dist/node_modules/yup/es/util/createValidation.js.map +0 -1
  594. package/dist/node_modules/yup/es/util/isAbsent.js +0 -6
  595. package/dist/node_modules/yup/es/util/isAbsent.js.map +0 -1
  596. package/dist/node_modules/yup/es/util/isSchema.js +0 -6
  597. package/dist/node_modules/yup/es/util/isSchema.js.map +0 -1
  598. package/dist/node_modules/yup/es/util/isodate.js +0 -39
  599. package/dist/node_modules/yup/es/util/isodate.js.map +0 -1
  600. package/dist/node_modules/yup/es/util/printValue.js +0 -36
  601. package/dist/node_modules/yup/es/util/printValue.js.map +0 -1
  602. package/dist/node_modules/yup/es/util/reach.js +0 -47
  603. package/dist/node_modules/yup/es/util/reach.js.map +0 -1
  604. package/dist/node_modules/yup/es/util/runTests.js +0 -48
  605. package/dist/node_modules/yup/es/util/runTests.js.map +0 -1
  606. package/dist/node_modules/yup/es/util/sortByKeyOrder.js +0 -21
  607. package/dist/node_modules/yup/es/util/sortByKeyOrder.js.map +0 -1
  608. package/dist/node_modules/yup/es/util/sortFields.js +0 -31
  609. package/dist/node_modules/yup/es/util/sortFields.js.map +0 -1
  610. package/dist/node_modules/yup/es/util/toArray.js +0 -8
  611. package/dist/node_modules/yup/es/util/toArray.js.map +0 -1
  612. package/dist/node_modules/yup/es/util/types.d.ts +0 -11
  613. package/dist/node_modules/yup/lib/Condition.d.ts +0 -23
  614. package/dist/node_modules/yup/lib/Lazy.d.ts +0 -29
  615. package/dist/node_modules/yup/lib/Reference.d.ts +0 -36
  616. package/dist/node_modules/yup/lib/ValidationError.d.ts +0 -16
  617. package/dist/node_modules/yup/lib/locale.d.ts +0 -18
  618. package/dist/node_modules/yup/lib/object.d.ts +0 -13
  619. package/dist/node_modules/yup/lib/schema.d.ts +0 -141
  620. package/dist/node_modules/yup/lib/string.d.ts +0 -74
  621. package/dist/node_modules/yup/lib/types.d.ts +0 -54
  622. package/dist/node_modules/yup/lib/util/ReferenceSet.d.ts +0 -19
  623. package/dist/node_modules/yup/lib/util/createValidation.d.ts +0 -43
  624. package/dist/node_modules/yup/lib/util/types.d.ts +0 -12
  625. package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +0 -11
  626. package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js.map +0 -1
  627. package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js +0 -11
  628. package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js.map +0 -1
  629. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js +0 -437
  630. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js.map +0 -1
  631. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +0 -50
  632. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js.map +0 -1
  633. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +0 -51
  634. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js.map +0 -1
  635. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +0 -27
  636. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js.map +0 -1
  637. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +0 -18
  638. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js.map +0 -1
  639. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +0 -17
  640. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js.map +0 -1
  641. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +0 -25
  642. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js.map +0 -1
  643. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +0 -17
  644. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js.map +0 -1
  645. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +0 -32
  646. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js.map +0 -1
  647. package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js +0 -19
  648. package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js.map +0 -1
  649. package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js +0 -8
  650. package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js.map +0 -1
  651. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js +0 -24
  652. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js.map +0 -1
  653. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +0 -20
  654. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js.map +0 -1
  655. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +0 -18
  656. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js.map +0 -1
  657. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +0 -18
  658. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js.map +0 -1
  659. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +0 -18
  660. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js.map +0 -1
  661. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +0 -17
  662. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js.map +0 -1
  663. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +0 -24
  664. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js.map +0 -1
  665. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +0 -23
  666. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js.map +0 -1
  667. package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js +0 -11
  668. package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js.map +0 -1
  669. package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js +0 -37
  670. package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js.map +0 -1
  671. package/dist/packages/utils/node_modules/date-fns/esm/format/index.js +0 -378
  672. package/dist/packages/utils/node_modules/date-fns/esm/format/index.js.map +0 -1
  673. package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js +0 -33
  674. package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js.map +0 -1
  675. package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js +0 -36
  676. package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js.map +0 -1
  677. package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js +0 -37
  678. package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js.map +0 -1
  679. package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js +0 -70
  680. package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js.map +0 -1
  681. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +0 -12
  682. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js.map +0 -1
  683. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +0 -23
  684. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js.map +0 -1
  685. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +0 -36
  686. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js.map +0 -1
  687. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +0 -22
  688. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js.map +0 -1
  689. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +0 -78
  690. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js.map +0 -1
  691. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +0 -37
  692. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js.map +0 -1
  693. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +0 -16
  694. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js.map +0 -1
  695. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +0 -217
  696. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js.map +0 -1
  697. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +0 -133
  698. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js.map +0 -1
  699. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js +0 -33
  700. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js.map +0 -1
  701. package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js +0 -1346
  702. package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js.map +0 -1
  703. package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js +0 -461
  704. package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js.map +0 -1
  705. package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js +0 -38
  706. package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js.map +0 -1
  707. package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js +0 -36
  708. package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js.map +0 -1
  709. package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js +0 -35
  710. package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js.map +0 -1
  711. package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js +0 -50
  712. package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js.map +0 -1
@@ -1,378 +0,0 @@
1
- import requiredArgs from "../_lib/requiredArgs/index.js";
2
- import toDate from "../toDate/index.js";
3
- import toInteger from "../_lib/toInteger/index.js";
4
- import isValid from "../isValid/index.js";
5
- import en_US_default from "../locale/en-US/index.js";
6
- import subMilliseconds from "../subMilliseconds/index.js";
7
- import formatters_default from "../_lib/format/formatters/index.js";
8
- import longFormatters_default from "../_lib/format/longFormatters/index.js";
9
- import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js";
10
- import { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from "../_lib/protectedTokens/index.js";
11
-
12
- //#region node_modules/date-fns/esm/format/index.js
13
- var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
14
- var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
15
- var escapedStringRegExp = /^'([^]*?)'?$/;
16
- var doubleQuoteRegExp = /''/g;
17
- var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
18
- /**
19
- * @name format
20
- * @category Common Helpers
21
- * @summary Format the date.
22
- *
23
- * @description
24
- * Return the formatted date string in the given format. The result may vary by locale.
25
- *
26
- * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
27
- * > See: https://git.io/fxCyr
28
- *
29
- * The characters wrapped between two single quotes characters (') are escaped.
30
- * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
31
- * (see the last example)
32
- *
33
- * Format of the string is based on Unicode Technical Standard #35:
34
- * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
35
- * with a few additions (see note 7 below the table).
36
- *
37
- * Accepted patterns:
38
- * | Unit | Pattern | Result examples | Notes |
39
- * |---------------------------------|---------|-----------------------------------|-------|
40
- * | Era | G..GGG | AD, BC | |
41
- * | | GGGG | Anno Domini, Before Christ | 2 |
42
- * | | GGGGG | A, B | |
43
- * | Calendar year | y | 44, 1, 1900, 2017 | 5 |
44
- * | | yo | 44th, 1st, 0th, 17th | 5,7 |
45
- * | | yy | 44, 01, 00, 17 | 5 |
46
- * | | yyy | 044, 001, 1900, 2017 | 5 |
47
- * | | yyyy | 0044, 0001, 1900, 2017 | 5 |
48
- * | | yyyyy | ... | 3,5 |
49
- * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |
50
- * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |
51
- * | | YY | 44, 01, 00, 17 | 5,8 |
52
- * | | YYY | 044, 001, 1900, 2017 | 5 |
53
- * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |
54
- * | | YYYYY | ... | 3,5 |
55
- * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |
56
- * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |
57
- * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |
58
- * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |
59
- * | | RRRRR | ... | 3,5,7 |
60
- * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |
61
- * | | uu | -43, 01, 1900, 2017 | 5 |
62
- * | | uuu | -043, 001, 1900, 2017 | 5 |
63
- * | | uuuu | -0043, 0001, 1900, 2017 | 5 |
64
- * | | uuuuu | ... | 3,5 |
65
- * | Quarter (formatting) | Q | 1, 2, 3, 4 | |
66
- * | | Qo | 1st, 2nd, 3rd, 4th | 7 |
67
- * | | QQ | 01, 02, 03, 04 | |
68
- * | | QQQ | Q1, Q2, Q3, Q4 | |
69
- * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
70
- * | | QQQQQ | 1, 2, 3, 4 | 4 |
71
- * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |
72
- * | | qo | 1st, 2nd, 3rd, 4th | 7 |
73
- * | | qq | 01, 02, 03, 04 | |
74
- * | | qqq | Q1, Q2, Q3, Q4 | |
75
- * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
76
- * | | qqqqq | 1, 2, 3, 4 | 4 |
77
- * | Month (formatting) | M | 1, 2, ..., 12 | |
78
- * | | Mo | 1st, 2nd, ..., 12th | 7 |
79
- * | | MM | 01, 02, ..., 12 | |
80
- * | | MMM | Jan, Feb, ..., Dec | |
81
- * | | MMMM | January, February, ..., December | 2 |
82
- * | | MMMMM | J, F, ..., D | |
83
- * | Month (stand-alone) | L | 1, 2, ..., 12 | |
84
- * | | Lo | 1st, 2nd, ..., 12th | 7 |
85
- * | | LL | 01, 02, ..., 12 | |
86
- * | | LLL | Jan, Feb, ..., Dec | |
87
- * | | LLLL | January, February, ..., December | 2 |
88
- * | | LLLLL | J, F, ..., D | |
89
- * | Local week of year | w | 1, 2, ..., 53 | |
90
- * | | wo | 1st, 2nd, ..., 53th | 7 |
91
- * | | ww | 01, 02, ..., 53 | |
92
- * | ISO week of year | I | 1, 2, ..., 53 | 7 |
93
- * | | Io | 1st, 2nd, ..., 53th | 7 |
94
- * | | II | 01, 02, ..., 53 | 7 |
95
- * | Day of month | d | 1, 2, ..., 31 | |
96
- * | | do | 1st, 2nd, ..., 31st | 7 |
97
- * | | dd | 01, 02, ..., 31 | |
98
- * | Day of year | D | 1, 2, ..., 365, 366 | 9 |
99
- * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |
100
- * | | DD | 01, 02, ..., 365, 366 | 9 |
101
- * | | DDD | 001, 002, ..., 365, 366 | |
102
- * | | DDDD | ... | 3 |
103
- * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |
104
- * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
105
- * | | EEEEE | M, T, W, T, F, S, S | |
106
- * | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | |
107
- * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |
108
- * | | io | 1st, 2nd, ..., 7th | 7 |
109
- * | | ii | 01, 02, ..., 07 | 7 |
110
- * | | iii | Mon, Tue, Wed, ..., Sun | 7 |
111
- * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |
112
- * | | iiiii | M, T, W, T, F, S, S | 7 |
113
- * | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 7 |
114
- * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |
115
- * | | eo | 2nd, 3rd, ..., 1st | 7 |
116
- * | | ee | 02, 03, ..., 01 | |
117
- * | | eee | Mon, Tue, Wed, ..., Sun | |
118
- * | | eeee | Monday, Tuesday, ..., Sunday | 2 |
119
- * | | eeeee | M, T, W, T, F, S, S | |
120
- * | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | |
121
- * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |
122
- * | | co | 2nd, 3rd, ..., 1st | 7 |
123
- * | | cc | 02, 03, ..., 01 | |
124
- * | | ccc | Mon, Tue, Wed, ..., Sun | |
125
- * | | cccc | Monday, Tuesday, ..., Sunday | 2 |
126
- * | | ccccc | M, T, W, T, F, S, S | |
127
- * | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | |
128
- * | AM, PM | a..aaa | AM, PM | |
129
- * | | aaaa | a.m., p.m. | 2 |
130
- * | | aaaaa | a, p | |
131
- * | AM, PM, noon, midnight | b..bbb | AM, PM, noon, midnight | |
132
- * | | bbbb | a.m., p.m., noon, midnight | 2 |
133
- * | | bbbbb | a, p, n, mi | |
134
- * | Flexible day period | B..BBB | at night, in the morning, ... | |
135
- * | | BBBB | at night, in the morning, ... | 2 |
136
- * | | BBBBB | at night, in the morning, ... | |
137
- * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |
138
- * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |
139
- * | | hh | 01, 02, ..., 11, 12 | |
140
- * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |
141
- * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |
142
- * | | HH | 00, 01, 02, ..., 23 | |
143
- * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |
144
- * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |
145
- * | | KK | 01, 02, ..., 11, 00 | |
146
- * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |
147
- * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |
148
- * | | kk | 24, 01, 02, ..., 23 | |
149
- * | Minute | m | 0, 1, ..., 59 | |
150
- * | | mo | 0th, 1st, ..., 59th | 7 |
151
- * | | mm | 00, 01, ..., 59 | |
152
- * | Second | s | 0, 1, ..., 59 | |
153
- * | | so | 0th, 1st, ..., 59th | 7 |
154
- * | | ss | 00, 01, ..., 59 | |
155
- * | Fraction of second | S | 0, 1, ..., 9 | |
156
- * | | SS | 00, 01, ..., 99 | |
157
- * | | SSS | 000, 0001, ..., 999 | |
158
- * | | SSSS | ... | 3 |
159
- * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |
160
- * | | XX | -0800, +0530, Z | |
161
- * | | XXX | -08:00, +05:30, Z | |
162
- * | | XXXX | -0800, +0530, Z, +123456 | 2 |
163
- * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
164
- * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |
165
- * | | xx | -0800, +0530, +0000 | |
166
- * | | xxx | -08:00, +05:30, +00:00 | 2 |
167
- * | | xxxx | -0800, +0530, +0000, +123456 | |
168
- * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
169
- * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |
170
- * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |
171
- * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |
172
- * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |
173
- * | Seconds timestamp | t | 512969520 | 7 |
174
- * | | tt | ... | 3,7 |
175
- * | Milliseconds timestamp | T | 512969520900 | 7 |
176
- * | | TT | ... | 3,7 |
177
- * | Long localized date | P | 05/29/1453 | 7 |
178
- * | | PP | May 29, 1453 | 7 |
179
- * | | PPP | May 29th, 1453 | 7 |
180
- * | | PPPP | Sunday, May 29th, 1453 | 2,7 |
181
- * | Long localized time | p | 12:00 AM | 7 |
182
- * | | pp | 12:00:00 AM | 7 |
183
- * | | ppp | 12:00:00 AM GMT+2 | 7 |
184
- * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |
185
- * | Combination of date and time | Pp | 05/29/1453, 12:00 AM | 7 |
186
- * | | PPpp | May 29, 1453, 12:00:00 AM | 7 |
187
- * | | PPPppp | May 29th, 1453 at ... | 7 |
188
- * | | PPPPpppp| Sunday, May 29th, 1453 at ... | 2,7 |
189
- * Notes:
190
- * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
191
- * are the same as "stand-alone" units, but are different in some languages.
192
- * "Formatting" units are declined according to the rules of the language
193
- * in the context of a date. "Stand-alone" units are always nominative singular:
194
- *
195
- * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
196
- *
197
- * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
198
- *
199
- * 2. Any sequence of the identical letters is a pattern, unless it is escaped by
200
- * the single quote characters (see below).
201
- * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)
202
- * the output will be the same as default pattern for this unit, usually
203
- * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units
204
- * are marked with "2" in the last column of the table.
205
- *
206
- * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`
207
- *
208
- * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`
209
- *
210
- * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`
211
- *
212
- * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`
213
- *
214
- * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`
215
- *
216
- * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).
217
- * The output will be padded with zeros to match the length of the pattern.
218
- *
219
- * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`
220
- *
221
- * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
222
- * These tokens represent the shortest form of the quarter.
223
- *
224
- * 5. The main difference between `y` and `u` patterns are B.C. years:
225
- *
226
- * | Year | `y` | `u` |
227
- * |------|-----|-----|
228
- * | AC 1 | 1 | 1 |
229
- * | BC 1 | 1 | 0 |
230
- * | BC 2 | 2 | -1 |
231
- *
232
- * Also `yy` always returns the last two digits of a year,
233
- * while `uu` pads single digit years to 2 characters and returns other years unchanged:
234
- *
235
- * | Year | `yy` | `uu` |
236
- * |------|------|------|
237
- * | 1 | 01 | 01 |
238
- * | 14 | 14 | 14 |
239
- * | 376 | 76 | 376 |
240
- * | 1453 | 53 | 1453 |
241
- *
242
- * The same difference is true for local and ISO week-numbering years (`Y` and `R`),
243
- * except local week-numbering years are dependent on `options.weekStartsOn`
244
- * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}
245
- * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).
246
- *
247
- * 6. Specific non-location timezones are currently unavailable in `date-fns`,
248
- * so right now these tokens fall back to GMT timezones.
249
- *
250
- * 7. These patterns are not in the Unicode Technical Standard #35:
251
- * - `i`: ISO day of week
252
- * - `I`: ISO week of year
253
- * - `R`: ISO week-numbering year
254
- * - `t`: seconds timestamp
255
- * - `T`: milliseconds timestamp
256
- * - `o`: ordinal number modifier
257
- * - `P`: long localized date
258
- * - `p`: long localized time
259
- *
260
- * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
261
- * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
262
- *
263
- * 9. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.
264
- * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
265
- *
266
- * ### v2.0.0 breaking changes:
267
- *
268
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
269
- *
270
- * - The second argument is now required for the sake of explicitness.
271
- *
272
- * ```javascript
273
- * // Before v2.0.0
274
- * format(new Date(2016, 0, 1))
275
- *
276
- * // v2.0.0 onward
277
- * format(new Date(2016, 0, 1), "yyyy-MM-dd'T'HH:mm:ss.SSSxxx")
278
- * ```
279
- *
280
- * - New format string API for `format` function
281
- * which is based on [Unicode Technical Standard #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).
282
- * See [this post](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg) for more details.
283
- *
284
- * - Characters are now escaped using single quote symbols (`'`) instead of square brackets.
285
- *
286
- * @param {Date|Number} date - the original date
287
- * @param {String} format - the string of tokens
288
- * @param {Object} [options] - an object with options.
289
- * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
290
- * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
291
- * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is
292
- * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;
293
- * see: https://git.io/fxCyr
294
- * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;
295
- * see: https://git.io/fxCyr
296
- * @returns {String} the formatted date string
297
- * @throws {TypeError} 2 arguments required
298
- * @throws {RangeError} `date` must not be Invalid Date
299
- * @throws {RangeError} `options.locale` must contain `localize` property
300
- * @throws {RangeError} `options.locale` must contain `formatLong` property
301
- * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
302
- * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7
303
- * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
304
- * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
305
- * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr
306
- * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr
307
- * @throws {RangeError} format string contains an unescaped latin alphabet character
308
- *
309
- * @example
310
- * // Represent 11 February 2014 in middle-endian format:
311
- * var result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')
312
- * //=> '02/11/2014'
313
- *
314
- * @example
315
- * // Represent 2 July 2014 in Esperanto:
316
- * import { eoLocale } from 'date-fns/locale/eo'
317
- * var result = format(new Date(2014, 6, 2), "do 'de' MMMM yyyy", {
318
- * locale: eoLocale
319
- * })
320
- * //=> '2-a de julio 2014'
321
- *
322
- * @example
323
- * // Escape string by single quote characters:
324
- * var result = format(new Date(2014, 6, 2, 15), "h 'o''clock'")
325
- * //=> "3 o'clock"
326
- */
327
- function format(dirtyDate, dirtyFormatStr, dirtyOptions) {
328
- requiredArgs(2, arguments);
329
- var formatStr = String(dirtyFormatStr);
330
- var options = dirtyOptions || {};
331
- var locale = options.locale || en_US_default;
332
- var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;
333
- var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);
334
- var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate);
335
- if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
336
- var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;
337
- var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);
338
- var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn);
339
- if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
340
- if (!locale.localize) throw new RangeError("locale must contain localize property");
341
- if (!locale.formatLong) throw new RangeError("locale must contain formatLong property");
342
- var originalDate = toDate(dirtyDate);
343
- if (!isValid(originalDate)) throw new RangeError("Invalid time value");
344
- var utcDate = subMilliseconds(originalDate, getTimezoneOffsetInMilliseconds(originalDate));
345
- var formatterOptions = {
346
- firstWeekContainsDate,
347
- weekStartsOn,
348
- locale,
349
- _originalDate: originalDate
350
- };
351
- return formatStr.match(longFormattingTokensRegExp).map(function(substring) {
352
- var firstCharacter = substring[0];
353
- if (firstCharacter === "p" || firstCharacter === "P") {
354
- var longFormatter = longFormatters_default[firstCharacter];
355
- return longFormatter(substring, locale.formatLong, formatterOptions);
356
- }
357
- return substring;
358
- }).join("").match(formattingTokensRegExp).map(function(substring) {
359
- if (substring === "''") return "'";
360
- var firstCharacter = substring[0];
361
- if (firstCharacter === "'") return cleanEscapedString(substring);
362
- var formatter = formatters_default[firstCharacter];
363
- if (formatter) {
364
- if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(substring)) throwProtectedError(substring, dirtyFormatStr, dirtyDate);
365
- if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(substring)) throwProtectedError(substring, dirtyFormatStr, dirtyDate);
366
- return formatter(utcDate, substring, locale.localize, formatterOptions);
367
- }
368
- if (firstCharacter.match(unescapedLatinCharacterRegExp)) throw new RangeError("Format string contains an unescaped latin alphabet character `" + firstCharacter + "`");
369
- return substring;
370
- }).join("");
371
- }
372
- function cleanEscapedString(input) {
373
- return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
374
- }
375
-
376
- //#endregion
377
- export { format as default };
378
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["defaultLocale","longFormatters","formatters"],"sources":["../../../../../../../node_modules/date-fns/esm/format/index.js"],"sourcesContent":["import isValid from '../isValid/index.js';\nimport defaultLocale from '../locale/en-US/index.js';\nimport subMilliseconds from '../subMilliseconds/index.js';\nimport toDate from '../toDate/index.js';\nimport formatters from '../_lib/format/formatters/index.js';\nimport longFormatters from '../_lib/format/longFormatters/index.js';\nimport getTimezoneOffsetInMilliseconds from '../_lib/getTimezoneOffsetInMilliseconds/index.js';\nimport { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from '../_lib/protectedTokens/index.js';\nimport toInteger from '../_lib/toInteger/index.js';\nimport requiredArgs from '../_lib/requiredArgs/index.js'; // This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n// (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n// except a single quote symbol, which ends the sequence.\n// Two quote characters do not end the sequence.\n// If there is no matching single quote\n// then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\n\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\n\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n/**\n * @name format\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. The result may vary by locale.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://git.io/fxCyr\n *\n * The characters wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n * (see the last example)\n *\n * Format of the string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 7 below the table).\n *\n * Accepted patterns:\n * | Unit | Pattern | Result examples | Notes |\n * |---------------------------------|---------|-----------------------------------|-------|\n * | Era | G..GGG | AD, BC | |\n * | | GGGG | Anno Domini, Before Christ | 2 |\n * | | GGGGG | A, B | |\n * | Calendar year | y | 44, 1, 1900, 2017 | 5 |\n * | | yo | 44th, 1st, 0th, 17th | 5,7 |\n * | | yy | 44, 01, 00, 17 | 5 |\n * | | yyy | 044, 001, 1900, 2017 | 5 |\n * | | yyyy | 0044, 0001, 1900, 2017 | 5 |\n * | | yyyyy | ... | 3,5 |\n * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |\n * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |\n * | | YY | 44, 01, 00, 17 | 5,8 |\n * | | YYY | 044, 001, 1900, 2017 | 5 |\n * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |\n * | | YYYYY | ... | 3,5 |\n * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |\n * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |\n * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |\n * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |\n * | | RRRRR | ... | 3,5,7 |\n * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |\n * | | uu | -43, 01, 1900, 2017 | 5 |\n * | | uuu | -043, 001, 1900, 2017 | 5 |\n * | | uuuu | -0043, 0001, 1900, 2017 | 5 |\n * | | uuuuu | ... | 3,5 |\n * | Quarter (formatting) | Q | 1, 2, 3, 4 | |\n * | | Qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | QQ | 01, 02, 03, 04 | |\n * | | QQQ | Q1, Q2, Q3, Q4 | |\n * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |\n * | | QQQQQ | 1, 2, 3, 4 | 4 |\n * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |\n * | | qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | qq | 01, 02, 03, 04 | |\n * | | qqq | Q1, Q2, Q3, Q4 | |\n * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |\n * | | qqqqq | 1, 2, 3, 4 | 4 |\n * | Month (formatting) | M | 1, 2, ..., 12 | |\n * | | Mo | 1st, 2nd, ..., 12th | 7 |\n * | | MM | 01, 02, ..., 12 | |\n * | | MMM | Jan, Feb, ..., Dec | |\n * | | MMMM | January, February, ..., December | 2 |\n * | | MMMMM | J, F, ..., D | |\n * | Month (stand-alone) | L | 1, 2, ..., 12 | |\n * | | Lo | 1st, 2nd, ..., 12th | 7 |\n * | | LL | 01, 02, ..., 12 | |\n * | | LLL | Jan, Feb, ..., Dec | |\n * | | LLLL | January, February, ..., December | 2 |\n * | | LLLLL | J, F, ..., D | |\n * | Local week of year | w | 1, 2, ..., 53 | |\n * | | wo | 1st, 2nd, ..., 53th | 7 |\n * | | ww | 01, 02, ..., 53 | |\n * | ISO week of year | I | 1, 2, ..., 53 | 7 |\n * | | Io | 1st, 2nd, ..., 53th | 7 |\n * | | II | 01, 02, ..., 53 | 7 |\n * | Day of month | d | 1, 2, ..., 31 | |\n * | | do | 1st, 2nd, ..., 31st | 7 |\n * | | dd | 01, 02, ..., 31 | |\n * | Day of year | D | 1, 2, ..., 365, 366 | 9 |\n * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |\n * | | DD | 01, 02, ..., 365, 366 | 9 |\n * | | DDD | 001, 002, ..., 365, 366 | |\n * | | DDDD | ... | 3 |\n * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |\n * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |\n * | | EEEEE | M, T, W, T, F, S, S | |\n * | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |\n * | | io | 1st, 2nd, ..., 7th | 7 |\n * | | ii | 01, 02, ..., 07 | 7 |\n * | | iii | Mon, Tue, Wed, ..., Sun | 7 |\n * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |\n * | | iiiii | M, T, W, T, F, S, S | 7 |\n * | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 7 |\n * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |\n * | | eo | 2nd, 3rd, ..., 1st | 7 |\n * | | ee | 02, 03, ..., 01 | |\n * | | eee | Mon, Tue, Wed, ..., Sun | |\n * | | eeee | Monday, Tuesday, ..., Sunday | 2 |\n * | | eeeee | M, T, W, T, F, S, S | |\n * | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |\n * | | co | 2nd, 3rd, ..., 1st | 7 |\n * | | cc | 02, 03, ..., 01 | |\n * | | ccc | Mon, Tue, Wed, ..., Sun | |\n * | | cccc | Monday, Tuesday, ..., Sunday | 2 |\n * | | ccccc | M, T, W, T, F, S, S | |\n * | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | AM, PM | a..aaa | AM, PM | |\n * | | aaaa | a.m., p.m. | 2 |\n * | | aaaaa | a, p | |\n * | AM, PM, noon, midnight | b..bbb | AM, PM, noon, midnight | |\n * | | bbbb | a.m., p.m., noon, midnight | 2 |\n * | | bbbbb | a, p, n, mi | |\n * | Flexible day period | B..BBB | at night, in the morning, ... | |\n * | | BBBB | at night, in the morning, ... | 2 |\n * | | BBBBB | at night, in the morning, ... | |\n * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |\n * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |\n * | | hh | 01, 02, ..., 11, 12 | |\n * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |\n * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |\n * | | HH | 00, 01, 02, ..., 23 | |\n * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |\n * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |\n * | | KK | 01, 02, ..., 11, 00 | |\n * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |\n * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |\n * | | kk | 24, 01, 02, ..., 23 | |\n * | Minute | m | 0, 1, ..., 59 | |\n * | | mo | 0th, 1st, ..., 59th | 7 |\n * | | mm | 00, 01, ..., 59 | |\n * | Second | s | 0, 1, ..., 59 | |\n * | | so | 0th, 1st, ..., 59th | 7 |\n * | | ss | 00, 01, ..., 59 | |\n * | Fraction of second | S | 0, 1, ..., 9 | |\n * | | SS | 00, 01, ..., 99 | |\n * | | SSS | 000, 0001, ..., 999 | |\n * | | SSSS | ... | 3 |\n * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |\n * | | XX | -0800, +0530, Z | |\n * | | XXX | -08:00, +05:30, Z | |\n * | | XXXX | -0800, +0530, Z, +123456 | 2 |\n * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |\n * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |\n * | | xx | -0800, +0530, +0000 | |\n * | | xxx | -08:00, +05:30, +00:00 | 2 |\n * | | xxxx | -0800, +0530, +0000, +123456 | |\n * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |\n * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |\n * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |\n * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |\n * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |\n * | Seconds timestamp | t | 512969520 | 7 |\n * | | tt | ... | 3,7 |\n * | Milliseconds timestamp | T | 512969520900 | 7 |\n * | | TT | ... | 3,7 |\n * | Long localized date | P | 05/29/1453 | 7 |\n * | | PP | May 29, 1453 | 7 |\n * | | PPP | May 29th, 1453 | 7 |\n * | | PPPP | Sunday, May 29th, 1453 | 2,7 |\n * | Long localized time | p | 12:00 AM | 7 |\n * | | pp | 12:00:00 AM | 7 |\n * | | ppp | 12:00:00 AM GMT+2 | 7 |\n * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |\n * | Combination of date and time | Pp | 05/29/1453, 12:00 AM | 7 |\n * | | PPpp | May 29, 1453, 12:00:00 AM | 7 |\n * | | PPPppp | May 29th, 1453 at ... | 7 |\n * | | PPPPpppp| Sunday, May 29th, 1453 at ... | 2,7 |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n * are the same as \"stand-alone\" units, but are different in some languages.\n * \"Formatting\" units are declined according to the rules of the language\n * in the context of a date. \"Stand-alone\" units are always nominative singular:\n *\n * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n * the single quote characters (see below).\n * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)\n * the output will be the same as default pattern for this unit, usually\n * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units\n * are marked with \"2\" in the last column of the table.\n *\n * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`\n *\n * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`\n *\n * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).\n * The output will be padded with zeros to match the length of the pattern.\n *\n * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`\n *\n * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n * These tokens represent the shortest form of the quarter.\n *\n * 5. The main difference between `y` and `u` patterns are B.C. years:\n *\n * | Year | `y` | `u` |\n * |------|-----|-----|\n * | AC 1 | 1 | 1 |\n * | BC 1 | 1 | 0 |\n * | BC 2 | 2 | -1 |\n *\n * Also `yy` always returns the last two digits of a year,\n * while `uu` pads single digit years to 2 characters and returns other years unchanged:\n *\n * | Year | `yy` | `uu` |\n * |------|------|------|\n * | 1 | 01 | 01 |\n * | 14 | 14 | 14 |\n * | 376 | 76 | 376 |\n * | 1453 | 53 | 1453 |\n *\n * The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n * except local week-numbering years are dependent on `options.weekStartsOn`\n * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}\n * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).\n *\n * 6. Specific non-location timezones are currently unavailable in `date-fns`,\n * so right now these tokens fall back to GMT timezones.\n *\n * 7. These patterns are not in the Unicode Technical Standard #35:\n * - `i`: ISO day of week\n * - `I`: ISO week of year\n * - `R`: ISO week-numbering year\n * - `t`: seconds timestamp\n * - `T`: milliseconds timestamp\n * - `o`: ordinal number modifier\n * - `P`: long localized date\n * - `p`: long localized time\n *\n * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr\n *\n * 9. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - The second argument is now required for the sake of explicitness.\n *\n * ```javascript\n * // Before v2.0.0\n * format(new Date(2016, 0, 1))\n *\n * // v2.0.0 onward\n * format(new Date(2016, 0, 1), \"yyyy-MM-dd'T'HH:mm:ss.SSSxxx\")\n * ```\n *\n * - New format string API for `format` function\n * which is based on [Unicode Technical Standard #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n * See [this post](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg) for more details.\n *\n * - Characters are now escaped using single quote symbols (`'`) instead of square brackets.\n *\n * @param {Date|Number} date - the original date\n * @param {String} format - the string of tokens\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is\n * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;\n * see: https://git.io/fxCyr\n * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;\n * see: https://git.io/fxCyr\n * @returns {String} the formatted date string\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} format string contains an unescaped latin alphabet character\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * var result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')\n * //=> '02/11/2014'\n *\n * @example\n * // Represent 2 July 2014 in Esperanto:\n * import { eoLocale } from 'date-fns/locale/eo'\n * var result = format(new Date(2014, 6, 2), \"do 'de' MMMM yyyy\", {\n * locale: eoLocale\n * })\n * //=> '2-a de julio 2014'\n *\n * @example\n * // Escape string by single quote characters:\n * var result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\n\nexport default function format(dirtyDate, dirtyFormatStr, dirtyOptions) {\n requiredArgs(2, arguments);\n var formatStr = String(dirtyFormatStr);\n var options = dirtyOptions || {};\n var locale = options.locale || defaultLocale;\n var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n\n var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n\n var originalDate = toDate(dirtyDate);\n\n if (!isValid(originalDate)) {\n throw new RangeError('Invalid time value');\n } // Convert the date in system timezone to the same date in UTC+00:00 timezone.\n // This ensures that when UTC functions will be implemented, locales will be compatible with them.\n // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376\n\n\n var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);\n var utcDate = subMilliseconds(originalDate, timezoneOffset);\n var formatterOptions = {\n firstWeekContainsDate: firstWeekContainsDate,\n weekStartsOn: weekStartsOn,\n locale: locale,\n _originalDate: originalDate\n };\n var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {\n var firstCharacter = substring[0];\n\n if (firstCharacter === 'p' || firstCharacter === 'P') {\n var longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong, formatterOptions);\n }\n\n return substring;\n }).join('').match(formattingTokensRegExp).map(function (substring) {\n // Replace two single quote characters with one single quote character\n if (substring === \"''\") {\n return \"'\";\n }\n\n var firstCharacter = substring[0];\n\n if (firstCharacter === \"'\") {\n return cleanEscapedString(substring);\n }\n\n var formatter = formatters[firstCharacter];\n\n if (formatter) {\n if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, dirtyDate);\n }\n\n if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, dirtyDate);\n }\n\n return formatter(utcDate, substring, locale.localize, formatterOptions);\n }\n\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');\n }\n\n return substring;\n }).join('');\n return result;\n}\n\nfunction cleanEscapedString(input) {\n return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, \"'\");\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAqBA,IAAI,yBAAyB;AAG7B,IAAI,6BAA6B;AACjC,IAAI,sBAAsB;AAC1B,IAAI,oBAAoB;AACxB,IAAI,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuTpC,SAAwB,OAAO,WAAW,gBAAgB,cAAc;AACtE,cAAa,GAAG,UAAU;CAC1B,IAAI,YAAY,OAAO,eAAe;CACtC,IAAI,UAAU,gBAAgB,EAAE;CAChC,IAAI,SAAS,QAAQ,UAAUA;CAC/B,IAAI,8BAA8B,OAAO,WAAW,OAAO,QAAQ;CACnE,IAAI,+BAA+B,+BAA+B,OAAO,IAAI,UAAU,4BAA4B;CACnH,IAAI,wBAAwB,QAAQ,yBAAyB,OAAO,+BAA+B,UAAU,QAAQ,sBAAsB;AAE3I,KAAI,EAAE,yBAAyB,KAAK,yBAAyB,GAC3D,OAAM,IAAI,WAAW,4DAA4D;CAGnF,IAAI,qBAAqB,OAAO,WAAW,OAAO,QAAQ;CAC1D,IAAI,sBAAsB,sBAAsB,OAAO,IAAI,UAAU,mBAAmB;CACxF,IAAI,eAAe,QAAQ,gBAAgB,OAAO,sBAAsB,UAAU,QAAQ,aAAa;AAEvG,KAAI,EAAE,gBAAgB,KAAK,gBAAgB,GACzC,OAAM,IAAI,WAAW,mDAAmD;AAG1E,KAAI,CAAC,OAAO,SACV,OAAM,IAAI,WAAW,wCAAwC;AAG/D,KAAI,CAAC,OAAO,WACV,OAAM,IAAI,WAAW,0CAA0C;CAGjE,IAAI,eAAe,OAAO,UAAU;AAEpC,KAAI,CAAC,QAAQ,aAAa,CACxB,OAAM,IAAI,WAAW,qBAAqB;CAO5C,IAAI,UAAU,gBAAgB,cADT,gCAAgC,aAAa,CACP;CAC3D,IAAI,mBAAmB;EACE;EACT;EACN;EACR,eAAe;EAChB;AA0CD,QAzCa,UAAU,MAAM,2BAA2B,CAAC,IAAI,SAAU,WAAW;EAChF,IAAI,iBAAiB,UAAU;AAE/B,MAAI,mBAAmB,OAAO,mBAAmB,KAAK;GACpD,IAAI,gBAAgBC,uBAAe;AACnC,UAAO,cAAc,WAAW,OAAO,YAAY,iBAAiB;;AAGtE,SAAO;GACP,CAAC,KAAK,GAAG,CAAC,MAAM,uBAAuB,CAAC,IAAI,SAAU,WAAW;AAEjE,MAAI,cAAc,KAChB,QAAO;EAGT,IAAI,iBAAiB,UAAU;AAE/B,MAAI,mBAAmB,IACrB,QAAO,mBAAmB,UAAU;EAGtC,IAAI,YAAYC,mBAAW;AAE3B,MAAI,WAAW;AACb,OAAI,CAAC,QAAQ,+BAA+B,yBAAyB,UAAU,CAC7E,qBAAoB,WAAW,gBAAgB,UAAU;AAG3D,OAAI,CAAC,QAAQ,gCAAgC,0BAA0B,UAAU,CAC/E,qBAAoB,WAAW,gBAAgB,UAAU;AAG3D,UAAO,UAAU,SAAS,WAAW,OAAO,UAAU,iBAAiB;;AAGzE,MAAI,eAAe,MAAM,8BAA8B,CACrD,OAAM,IAAI,WAAW,mEAAmE,iBAAiB,IAAI;AAG/G,SAAO;GACP,CAAC,KAAK,GAAG;;AAIb,SAAS,mBAAmB,OAAO;AACjC,QAAO,MAAM,MAAM,oBAAoB,CAAC,GAAG,QAAQ,mBAAmB,IAAI"}
@@ -1,33 +0,0 @@
1
- import requiredArgs from "../_lib/requiredArgs/index.js";
2
- import toDate from "../toDate/index.js";
3
-
4
- //#region node_modules/date-fns/esm/getMinutes/index.js
5
- /**
6
- * @name getMinutes
7
- * @category Minute Helpers
8
- * @summary Get the minutes of the given date.
9
- *
10
- * @description
11
- * Get the minutes of the given date.
12
- *
13
- * ### v2.0.0 breaking changes:
14
- *
15
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
16
- *
17
- * @param {Date|Number} date - the given date
18
- * @returns {Number} the minutes
19
- * @throws {TypeError} 1 argument required
20
- *
21
- * @example
22
- * // Get the minutes of 29 February 2012 11:45:05:
23
- * var result = getMinutes(new Date(2012, 1, 29, 11, 45, 5))
24
- * //=> 45
25
- */
26
- function getMinutes(dirtyDate) {
27
- requiredArgs(1, arguments);
28
- return toDate(dirtyDate).getMinutes();
29
- }
30
-
31
- //#endregion
32
- export { getMinutes as default };
33
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../node_modules/date-fns/esm/getMinutes/index.js"],"sourcesContent":["import toDate from '../toDate/index.js';\nimport requiredArgs from '../_lib/requiredArgs/index.js';\n/**\n * @name getMinutes\n * @category Minute Helpers\n * @summary Get the minutes of the given date.\n *\n * @description\n * Get the minutes of the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the minutes\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Get the minutes of 29 February 2012 11:45:05:\n * var result = getMinutes(new Date(2012, 1, 29, 11, 45, 5))\n * //=> 45\n */\n\nexport default function getMinutes(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var minutes = date.getMinutes();\n return minutes;\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,SAAwB,WAAW,WAAW;AAC5C,cAAa,GAAG,UAAU;AAG1B,QAFW,OAAO,UAAU,CACT,YAAY"}
@@ -1,36 +0,0 @@
1
- import requiredArgs from "../_lib/requiredArgs/index.js";
2
- import toDate from "../toDate/index.js";
3
-
4
- //#region node_modules/date-fns/esm/isBefore/index.js
5
- /**
6
- * @name isBefore
7
- * @category Common Helpers
8
- * @summary Is the first date before the second one?
9
- *
10
- * @description
11
- * Is the first date before the second one?
12
- *
13
- * ### v2.0.0 breaking changes:
14
- *
15
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
16
- *
17
- * @param {Date|Number} date - the date that should be before the other one to return true
18
- * @param {Date|Number} dateToCompare - the date to compare with
19
- * @returns {Boolean} the first date is before the second date
20
- * @throws {TypeError} 2 arguments required
21
- *
22
- * @example
23
- * // Is 10 July 1989 before 11 February 1987?
24
- * var result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
25
- * //=> false
26
- */
27
- function isBefore(dirtyDate, dirtyDateToCompare) {
28
- requiredArgs(2, arguments);
29
- var date = toDate(dirtyDate);
30
- var dateToCompare = toDate(dirtyDateToCompare);
31
- return date.getTime() < dateToCompare.getTime();
32
- }
33
-
34
- //#endregion
35
- export { isBefore as default };
36
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../node_modules/date-fns/esm/isBefore/index.js"],"sourcesContent":["import toDate from '../toDate/index.js';\nimport requiredArgs from '../_lib/requiredArgs/index.js';\n/**\n * @name isBefore\n * @category Common Helpers\n * @summary Is the first date before the second one?\n *\n * @description\n * Is the first date before the second one?\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date that should be before the other one to return true\n * @param {Date|Number} dateToCompare - the date to compare with\n * @returns {Boolean} the first date is before the second date\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Is 10 July 1989 before 11 February 1987?\n * var result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))\n * //=> false\n */\n\nexport default function isBefore(dirtyDate, dirtyDateToCompare) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var dateToCompare = toDate(dirtyDateToCompare);\n return date.getTime() < dateToCompare.getTime();\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,SAAwB,SAAS,WAAW,oBAAoB;AAC9D,cAAa,GAAG,UAAU;CAC1B,IAAI,OAAO,OAAO,UAAU;CAC5B,IAAI,gBAAgB,OAAO,mBAAmB;AAC9C,QAAO,KAAK,SAAS,GAAG,cAAc,SAAS"}
@@ -1,37 +0,0 @@
1
- import requiredArgs from "../_lib/requiredArgs/index.js";
2
- import toDate from "../toDate/index.js";
3
-
4
- //#region node_modules/date-fns/esm/isFuture/index.js
5
- /**
6
- * @name isFuture
7
- * @category Common Helpers
8
- * @summary Is the given date in the future?
9
- * @pure false
10
- *
11
- * @description
12
- * Is the given date in the future?
13
- *
14
- * > ⚠️ Please note that this function is not present in the FP submodule as
15
- * > it uses `Date.now()` internally hence impure and can't be safely curried.
16
- *
17
- * ### v2.0.0 breaking changes:
18
- *
19
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
20
- *
21
- * @param {Date|Number} date - the date to check
22
- * @returns {Boolean} the date is in the future
23
- * @throws {TypeError} 1 argument required
24
- *
25
- * @example
26
- * // If today is 6 October 2014, is 31 December 2014 in the future?
27
- * var result = isFuture(new Date(2014, 11, 31))
28
- * //=> true
29
- */
30
- function isFuture(dirtyDate) {
31
- requiredArgs(1, arguments);
32
- return toDate(dirtyDate).getTime() > Date.now();
33
- }
34
-
35
- //#endregion
36
- export { isFuture as default };
37
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../node_modules/date-fns/esm/isFuture/index.js"],"sourcesContent":["import toDate from '../toDate/index.js';\nimport requiredArgs from '../_lib/requiredArgs/index.js';\n/**\n * @name isFuture\n * @category Common Helpers\n * @summary Is the given date in the future?\n * @pure false\n *\n * @description\n * Is the given date in the future?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is in the future\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 31 December 2014 in the future?\n * var result = isFuture(new Date(2014, 11, 31))\n * //=> true\n */\n\nexport default function isFuture(dirtyDate) {\n requiredArgs(1, arguments);\n return toDate(dirtyDate).getTime() > Date.now();\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,SAAwB,SAAS,WAAW;AAC1C,cAAa,GAAG,UAAU;AAC1B,QAAO,OAAO,UAAU,CAAC,SAAS,GAAG,KAAK,KAAK"}