@emailmaker/emailmaker 1.1.27 → 1.1.30

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 (109) hide show
  1. package/{emailmaker-core.06547314.js → emailmaker-core.2378a16e.js} +1 -1
  2. package/emailmaker-esm.js +4 -4
  3. package/emailmaker.d.ts +9 -3
  4. package/emailmaker.js +12 -12
  5. package/iframe/js/amp.BLBsfH3J.js +1 -0
  6. package/iframe/js/iframe-eblock.js +1 -1
  7. package/iframe/js/iframe.js +1 -1
  8. package/iframe/js/rules.CNqvmp_P.js +1 -1
  9. package/package.json +1 -1
  10. package/runtime/@ant-design/cssinjs/index.js +1 -1
  11. package/runtime/@ant-design/icons/index.js +1 -1
  12. package/runtime/THIRD_PARTY_LICENSES.txt +536 -665
  13. package/runtime/antd/index.js +1 -1
  14. package/runtime/dayjs/index.js +1 -1
  15. package/runtime/react-router-dom/index.js +1 -1
  16. package/singlepage_headless_plugin.html +1 -1
  17. package/static/core/1a531120.js +1 -0
  18. package/static/core/1c4f1288.js +1 -0
  19. package/static/core/24359c2b2.js +1 -0
  20. package/static/core/25d26369.js +506 -0
  21. package/static/core/2a386d94.js +1 -0
  22. package/static/core/2c8c1708.js +1 -0
  23. package/static/core/{d5fdc4a4.js → 3509b8fe.js} +1 -1
  24. package/static/core/3c4d8253.js +3 -0
  25. package/static/core/4030e367.js +1 -0
  26. package/static/core/{4da0e58b.js → 4685dd44.js} +2 -2
  27. package/static/core/4a9d6b60.js +20 -0
  28. package/static/core/4d479101.js +1 -0
  29. package/static/core/4d7a8040.js +51 -0
  30. package/static/core/{ca5b168d.js → 50b3488f.js} +4 -4
  31. package/static/core/558afaa1.js +1 -0
  32. package/static/core/5ef557ea.js +895 -0
  33. package/static/core/{8bfabb4b.js → 6301b88d.js} +3 -3
  34. package/static/core/6684fd2f.js +1 -0
  35. package/static/core/69624945.js +1 -0
  36. package/static/core/69be5772.js +4 -0
  37. package/static/core/816e810f.js +1 -0
  38. package/static/core/81b54c02.js +1 -0
  39. package/static/core/872f2250.js +1 -0
  40. package/static/core/8d43cba9.js +1 -0
  41. package/static/core/{3ba2a2df.js → 91634ef3.js} +1 -1
  42. package/static/core/94c870c4.js +1 -0
  43. package/static/core/a7e4541a2.js +1 -0
  44. package/static/core/b15cf28a.js +1 -0
  45. package/static/core/b17207dd.js +1 -0
  46. package/static/core/b7559974.js +1 -0
  47. package/static/core/b8fdbfee.js +1 -0
  48. package/static/core/c229e862.js +1 -0
  49. package/static/core/{b949d092.js → ca58f6cf.js} +2 -2
  50. package/static/core/dd3de504.js +1 -0
  51. package/static/core/{2834aa992.js → e462ce36.js} +1 -1
  52. package/static/core/e4ba0190.js +1 -0
  53. package/static/core/e52ae9f3.js +1 -0
  54. package/static/core/ed6c0f8c.js +78 -0
  55. package/static/core/f7436c59.js +1 -0
  56. package/static/esm/{e2baef14.js → cce60606.js} +1 -1
  57. package/static/esm/{b9d66884.js → fd91741d.js} +1 -1
  58. package/static/runtime/DownloadOutlined-C-5Yi5xA.js +76 -0
  59. package/static/runtime/dayjs.min-7qDGpCH7.js +1 -0
  60. package/static/runtime/defineProperty-DxTQfsxO.js +1 -0
  61. package/static/runtime/dist-C0p5hVla.js +2 -0
  62. package/static/runtime/es-DhckSY88.js +315 -0
  63. package/static/runtime/es-jkBfKdP4.js +2 -0
  64. package/static/runtime/es-rvjSIqny.js +1 -0
  65. package/two_step_headless_plugin.html +1 -1
  66. package/ui-kit/index.js +2041 -1934
  67. package/iframe/js/amp.BbapYQ7c.js +0 -1
  68. package/static/core/17465e1c.js +0 -1
  69. package/static/core/18a6d849.js +0 -1
  70. package/static/core/22b69a93.js +0 -1
  71. package/static/core/265a0618.js +0 -51
  72. package/static/core/3534defe.js +0 -1
  73. package/static/core/3cb2fef0.js +0 -1
  74. package/static/core/3dfe5446.js +0 -1
  75. package/static/core/4cddd021.js +0 -1
  76. package/static/core/59092da8.js +0 -1
  77. package/static/core/5dd75b49.js +0 -1
  78. package/static/core/6722afef.js +0 -3
  79. package/static/core/6c2b8cb5.js +0 -471
  80. package/static/core/74011820.js +0 -1
  81. package/static/core/79109d5b.js +0 -78
  82. package/static/core/7aa95ea1.js +0 -1
  83. package/static/core/7eebfbce.js +0 -1
  84. package/static/core/837725bd.js +0 -1
  85. package/static/core/85496899.js +0 -1
  86. package/static/core/92ad1565.js +0 -596
  87. package/static/core/94e76300.js +0 -1
  88. package/static/core/986fd329.js +0 -1
  89. package/static/core/a3e9b2eb.js +0 -20
  90. package/static/core/b33fb533.js +0 -1
  91. package/static/core/bb856264.js +0 -1
  92. package/static/core/c00287f4.js +0 -1
  93. package/static/core/cab85799.js +0 -1
  94. package/static/core/cb2faa14.js +0 -1
  95. package/static/core/d80716fa.js +0 -1
  96. package/static/core/e46bb831.js +0 -1
  97. package/static/core/e7ac5f93.js +0 -1
  98. package/static/core/eba78550.js +0 -1
  99. package/static/core/ed4a83c82.js +0 -1
  100. package/static/core/f6e0d03e.js +0 -1
  101. package/static/core/f89f369f.js +0 -833
  102. package/static/runtime/DownloadOutlined-Czug__JA.js +0 -1
  103. package/static/runtime/dayjs.min-BktkwxcQ.js +0 -1
  104. package/static/runtime/dist-B1ZrbBVP.js +0 -2
  105. package/static/runtime/es-Dt0MDtMm.js +0 -5
  106. package/static/runtime/es-LbCQ86AJ.js +0 -444
  107. package/static/runtime/es-n8SS20ln.js +0 -55
  108. /package/iframe/{iframe-eblock.06547314.html → iframe-eblock.2378a16e.html} +0 -0
  109. /package/iframe/{iframe.06547314.html → iframe.2378a16e.html} +0 -0
@@ -1 +0,0 @@
1
- import{t as e}from"./chunk-QTnfLwEv.js";var t=e((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.server_context`),l=Symbol.for(`react.forward_ref`),u=Symbol.for(`react.suspense`),d=Symbol.for(`react.suspense_list`),f=Symbol.for(`react.memo`),p=Symbol.for(`react.lazy`);function m(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof,e){case c:case s:case l:case p:case f:case o:return e;default:return m}}case n:return m}}}e.ForwardRef=l,e.isMemo=function(e){return m(e)===f}})),n=e(((e,n)=>{n.exports=t()})),r={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z`}}]},name:`check-circle`,theme:`filled`},i={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z`}}]},name:`close-circle`,theme:`filled`},a={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z`}}]},name:`close`,theme:`outlined`},o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`exclamation-circle`,theme:`filled`},s={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`info-circle`,theme:`filled`},c={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z`}}]},name:`loading`,theme:`outlined`},l={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z`}}]},name:`right`,theme:`outlined`},u={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z`}}]},name:`check`,theme:`outlined`},d={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z`}}]},name:`down`,theme:`outlined`},f={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z`}}]},name:`search`,theme:`outlined`},p={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z`}}]},name:`vertical-align-top`,theme:`outlined`},m={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z`}}]},name:`left`,theme:`outlined`},h={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`bars`,theme:`outlined`},g={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`ellipsis`,theme:`outlined`},_={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z`}},{tag:`path`,attrs:{d:`M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z`}}]},name:`plus`,theme:`outlined`},v={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z`}}]},name:`up`,theme:`outlined`},y={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z`}}]},name:`swap-right`,theme:`outlined`},b={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z`}}]},name:`calendar`,theme:`outlined`},x={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z`}}]},name:`clock-circle`,theme:`outlined`},S={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z`}}]},name:`file-text`,theme:`outlined`},C={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`question-circle`,theme:`outlined`},w={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z`}}]},name:`eye`,theme:`outlined`},T={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z`}},{tag:`path`,attrs:{d:`M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z`}}]},name:`rotate-left`,theme:`outlined`},E={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z`}},{tag:`path`,attrs:{d:`M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z`}}]},name:`rotate-right`,theme:`outlined`},D={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`swap`,theme:`outlined`},O={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-in`,theme:`outlined`},k={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-out`,theme:`outlined`},A={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z`}},{tag:`path`,attrs:{d:`M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z`}}]},name:`eye-invisible`,theme:`outlined`},j={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z`}}]},name:`double-left`,theme:`outlined`},M={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z`}}]},name:`double-right`,theme:`outlined`},N={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z`}}]},name:`reload`,theme:`outlined`},P={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z`}}]},name:`star`,theme:`filled`},F={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`warning`,theme:`filled`},I={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z`}}]},name:`filter`,theme:`filled`},L={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file`,theme:`outlined`},R={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z`}}]},name:`folder-open`,theme:`outlined`},z={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`}}]},name:`folder`,theme:`outlined`},B={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z`}}]},name:`holder`,theme:`outlined`},V={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`filled`},H={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`minus-square`,theme:`outlined`},U={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`plus-square`,theme:`outlined`},W={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`outlined`},G={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z`}}]},name:`caret-up`,theme:`outlined`},K={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z`}}]},name:`delete`,theme:`outlined`},q={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z`}}]},name:`edit`,theme:`outlined`},J={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z`}}]},name:`enter`,theme:`outlined`},Y={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z`}}]},name:`copy`,theme:`outlined`},X={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}}]}},name:`file`,theme:`twotone`},Z={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z`}}]},name:`paper-clip`,theme:`outlined`},Q={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z`,fill:e}},{tag:`path`,attrs:{d:`M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z`,fill:t}},{tag:`path`,attrs:{d:`M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z`,fill:t}},{tag:`path`,attrs:{d:`M276 368a28 28 0 1056 0 28 28 0 10-56 0z`,fill:t}},{tag:`path`,attrs:{d:`M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z`,fill:e}}]}},name:`picture`,theme:`twotone`},$={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`download`,theme:`outlined`};export{w as A,m as B,j as C,D,O as E,y as F,l as G,f as H,v as I,o as J,c as K,_ as L,S as M,x as N,E as O,b as P,n as Q,g as R,M as S,k as T,d as U,p as V,u as W,i as X,a as Y,r as Z,L as _,Y as a,P as b,K as c,U as d,H as f,R as g,z as h,X as i,C as j,T as k,G as l,B as m,Q as n,J as o,V as p,s as q,Z as r,q as s,$ as t,W as u,I as v,A as w,N as x,F as y,h as z};
@@ -1 +0,0 @@
1
- import{t as e}from"./chunk-QTnfLwEv.js";var t=e(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||(e(t,E,w),e.$i=!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))}));export{t};
@@ -1,2 +0,0 @@
1
- import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{t as n}from"./react-BWGRLa9R.js";import{t as r}from"./react-dom-BlsJ1peI.js";var i=t(n()),a=t(r());function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var s;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(s||(s={}));var c=`popstate`;function l(e){e===void 0&&(e={});let{initialEntries:t=[`/`],initialIndex:n,v5Compat:r=!1}=e,i;i=t.map((e,t)=>d(e,typeof e==`string`?null:e.state,t===0?`default`:void 0));let a=l(n??i.length-1),o=s.Pop,c=null;function l(e){return Math.min(Math.max(e,0),i.length-1)}function u(){return i[a]}function d(e,t,n){t===void 0&&(t=null);let r=g(i?u().pathname:`/`,e,t,n);return p(r.pathname.charAt(0)===`/`,`relative pathnames are not supported in memory history: `+JSON.stringify(e)),r}function f(e){return typeof e==`string`?e:_(e)}return{get index(){return a},get action(){return o},get location(){return u()},createHref:f,createURL(e){return new URL(f(e),`http://localhost`)},encodeLocation(e){let t=typeof e==`string`?v(e):e;return{pathname:t.pathname||``,search:t.search||``,hash:t.hash||``}},push(e,t){o=s.Push;let n=d(e,t);a+=1,i.splice(a,i.length,n),r&&c&&c({action:o,location:n,delta:1})},replace(e,t){o=s.Replace;let n=d(e,t);i[a]=n,r&&c&&c({action:o,location:n,delta:0})},go(e){o=s.Pop;let t=l(a+e),n=i[t];a=t,c&&c({action:o,location:n,delta:e})},listen(e){return c=e,()=>{c=null}}}}function u(e){e===void 0&&(e={});function t(e,t){let{pathname:n,search:r,hash:i}=e.location;return g(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){return typeof t==`string`?t:_(t)}return y(t,n,null,e)}function d(e){e===void 0&&(e={});function t(e,t){let{pathname:n=`/`,search:r=``,hash:i=``}=v(e.location.hash.substr(1));return!n.startsWith(`/`)&&!n.startsWith(`.`)&&(n=`/`+n),g(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){let n=e.document.querySelector(`base`),r=``;if(n&&n.getAttribute(`href`)){let t=e.location.href,n=t.indexOf(`#`);r=n===-1?t:t.slice(0,n)}return r+`#`+(typeof t==`string`?t:_(t))}function r(e,t){p(e.pathname.charAt(0)===`/`,`relative pathnames are not supported in hash history.push(`+JSON.stringify(t)+`)`)}return y(t,n,r,e)}function f(e,t){if(e===!1||e==null)throw Error(t)}function p(e,t){if(!e)try{throw Error(t)}catch{}}function m(){return Math.random().toString(36).substr(2,8)}function h(e,t){return{usr:e.state,key:e.key,idx:t}}function g(e,t,n,r){return n===void 0&&(n=null),o({pathname:typeof e==`string`?e:e.pathname,search:``,hash:``},typeof t==`string`?v(t):t,{state:n,key:t&&t.key||r||m()})}function _(e){let{pathname:t=`/`,search:n=``,hash:r=``}=e;return n&&n!==`?`&&(t+=n.charAt(0)===`?`?n:`?`+n),r&&r!==`#`&&(t+=r.charAt(0)===`#`?r:`#`+r),t}function v(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function y(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,l=i.history,u=s.Pop,d=null,p=m();p??(p=0,l.replaceState(o({},l.state,{idx:p}),``));function m(){return(l.state||{idx:null}).idx}function v(){u=s.Pop;let e=m(),t=e==null?null:e-p;p=e,d&&d({action:u,location:S.location,delta:t})}function y(e,t){u=s.Push;let r=g(S.location,e,t);n&&n(r,e),p=m()+1;let o=h(r,p),c=S.createHref(r);try{l.pushState(o,``,c)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(c)}a&&d&&d({action:u,location:S.location,delta:1})}function b(e,t){u=s.Replace;let r=g(S.location,e,t);n&&n(r,e),p=m();let i=h(r,p),o=S.createHref(r);l.replaceState(i,``,o),a&&d&&d({action:u,location:S.location,delta:0})}function x(e){let t=i.location.origin===`null`?i.location.href:i.location.origin,n=typeof e==`string`?e:_(e);return n=n.replace(/ $/,`%20`),f(t,`No window.location.(origin|href) available to create URL for href: `+n),new URL(n,t)}let S={get action(){return u},get location(){return e(i,l)},listen(e){if(d)throw Error(`A history only accepts one active listener`);return i.addEventListener(c,v),d=e,()=>{i.removeEventListener(c,v),d=null}},createHref(e){return t(i,e)},createURL:x,encodeLocation(e){let t=x(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:y,replace:b,go(e){return l.go(e)}};return S}var b;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(b||(b={}));var x=new Set([`lazy`,`caseSensitive`,`path`,`id`,`index`,`children`]);function S(e){return e.index===!0}function C(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((e,i)=>{let a=[...n,String(i)],s=typeof e.id==`string`?e.id:a.join(`-`);if(f(e.index!==!0||!e.children,`Cannot specify children on an index route`),f(!r[s],`Found a route id collision on id "`+s+`". Route id's must be globally unique within Data Router usages`),S(e)){let n=o({},e,t(e),{id:s});return r[s]=n,n}else{let n=o({},e,t(e),{id:s,children:void 0});return r[s]=n,e.children&&(n.children=C(e.children,t,a,r)),n}})}function w(e,t,n){return n===void 0&&(n=`/`),T(e,t,n,!1)}function T(e,t,n,r){let i=F((typeof t==`string`?v(t):t).pathname||`/`,n);if(i==null)return null;let a=ee(e);te(a);let o=null;for(let e=0;o==null&&e<a.length;++e){let t=ce(i);o=ae(a[e],t,r)}return o}function E(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function ee(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=``);let i=(e,i,a)=>{let o={relativePath:a===void 0?e.path||``:a,caseSensitive:e.caseSensitive===!0,childrenIndex:i,route:e};o.relativePath.startsWith(`/`)&&(f(o.relativePath.startsWith(r),`Absolute route path "`+o.relativePath+`" nested under path `+(`"`+r+`" is not valid. An absolute child route path `)+`must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(r.length));let s=z([r,o.relativePath]),c=n.concat(o);e.children&&e.children.length>0&&(f(e.index!==!0,`Index routes must not have child routes. Please remove `+(`all child routes from route path "`+s+`".`)),ee(e.children,t,c,s)),!(e.path==null&&!e.index)&&t.push({path:s,score:N(s,e.index),routesMeta:c})};return e.forEach((e,t)=>{var n;if(e.path===``||!((n=e.path)!=null&&n.includes(`?`)))i(e,t);else for(let n of D(e.path))i(e,t,n)}),t}function D(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=D(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function te(e){e.sort((e,t)=>e.score===t.score?ie(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var ne=/^:[\w-]+$/,O=3,k=2,A=1,j=10,re=-2,M=e=>e===`*`;function N(e,t){let n=e.split(`/`),r=n.length;return n.some(M)&&(r+=re),t&&(r+=k),n.filter(e=>!M(e)).reduce((e,t)=>e+(ne.test(t)?O:t===``?A:j),r)}function ie(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function ae(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=P({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=P({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:z([a,u.pathname]),pathnameBase:me(z([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=z([a,u.pathnameBase]))}return o}function oe(e,t){t===void 0&&(t={});let n=e;n.endsWith(`*`)&&n!==`*`&&!n.endsWith(`/*`)&&(p(!1,`Route path "`+n+`" will be treated as if it were `+(`"`+n.replace(/\*$/,`/*`)+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+(`please change the route path to "`+n.replace(/\*$/,`/*`)+`".`)),n=n.replace(/\*$/,`/*`));let r=n.startsWith(`/`)?`/`:``,i=e=>e==null?``:typeof e==`string`?e:String(e);return r+n.split(/\/+/).map((e,n,r)=>{if(n===r.length-1&&e===`*`)return i(t[`*`]);let a=e.match(/^:([\w-]+)(\??)$/);if(a){let[,e,n]=a,r=t[e];return f(n===`?`||r!=null,`Missing ":`+e+`" param`),i(r)}return e.replace(/\?$/g,``)}).filter(e=>!!e).join(`/`)}function P(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=se(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,t,n)=>{let{paramName:r,isOptional:i}=t;if(r===`*`){let e=s[n]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let c=s[n];return i&&!c?e[r]=void 0:e[r]=(c||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function se(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),p(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "`+e+`" will be treated as if it were `+(`"`+e.replace(/\*$/,`/*`)+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+(`please change the route path to "`+e.replace(/\*$/,`/*`)+`".`));let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:n!=null}),n?`/?([^\\/]+)?`:`/([^\\/]+)`));return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function ce(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return p(!1,`The URL path "`+e+`" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent `+(`encoding (`+t+`).`)),e}}function F(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var I=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,le=e=>I.test(e);function ue(e,t){t===void 0&&(t=`/`);let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?v(e):e,a;if(n)if(le(n))a=n;else{if(n.includes(`//`)){let e=n;n=n.replace(/\/\/+/g,`/`),p(!1,`Pathnames cannot have embedded double slashes - normalizing `+(e+` -> `+n))}a=n.startsWith(`/`)?de(n.substring(1),`/`):de(n,t)}else a=t;return{pathname:a,search:he(r),hash:ge(i)}}function de(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function L(e,t,n,r){return`Cannot include a '`+e+`' character in a manually specified `+("`to."+t+"` field ["+JSON.stringify(r)+`]. Please separate it out to the `)+("`to."+n+"` field. Alternatively you may provide the full path as ")+`a string in <Link to="..."> and the router will parse it for you.`}function fe(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function pe(e,t){let n=fe(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function R(e,t,n,r){r===void 0&&(r=!1);let i;typeof e==`string`?i=v(e):(i=o({},e),f(!i.pathname||!i.pathname.includes(`?`),L(`?`,`pathname`,`search`,i)),f(!i.pathname||!i.pathname.includes(`#`),L(`#`,`pathname`,`hash`,i)),f(!i.search||!i.search.includes(`#`),L(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,s=a?`/`:i.pathname,c;if(s==null)c=n;else{let e=t.length-1;if(!r&&s.startsWith(`..`)){let t=s.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}c=e>=0?t[e]:`/`}let l=ue(i,c),u=s&&s!==`/`&&s.endsWith(`/`),d=(a||s===`.`)&&n.endsWith(`/`);return!l.pathname.endsWith(`/`)&&(u||d)&&(l.pathname+=`/`),l}var z=e=>e.join(`/`).replace(/\/\/+/g,`/`),me=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),he=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,ge=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,_e=function(e,t){t===void 0&&(t={});let n=typeof t==`number`?{status:t}:t,r=new Headers(n.headers);return r.has(`Content-Type`)||r.set(`Content-Type`,`application/json; charset=utf-8`),new Response(JSON.stringify(e),o({},n,{headers:r}))},ve=class extends Error{},B=class{constructor(e,t){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],f(e&&typeof e==`object`&&!Array.isArray(e),`defer() only accepts plain objects`);let n;this.abortPromise=new Promise((e,t)=>n=t),this.controller=new AbortController;let r=()=>n(new ve(`Deferred data aborted`));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener(`abort`,r),this.controller.signal.addEventListener(`abort`,r),this.data=Object.entries(e).reduce((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:this.trackPromise(n,r)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let n=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(n,e,void 0,t),t=>this.onSettle(n,e,t));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(e,t,n,r){if(this.controller.signal.aborted&&n instanceof ve)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),n===void 0&&r===void 0){let n=Error(`Deferred data for key "`+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)}return r===void 0?(Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:()=>r}),this.emit(!1,t),r)}emit(e,t){this.subscribers.forEach(n=>n(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let n=()=>this.cancel();e.addEventListener(`abort`,n),t=await new Promise(t=>{this.subscribe(r=>{e.removeEventListener(`abort`,n),(r||this.done)&&t(r)})})}return t}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return f(this.data!==null&&this.done,`Can only unwrap data on initialized and settled deferreds`),Object.entries(this.data).reduce((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:be(r)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function ye(e){return e instanceof Promise&&e._tracked===!0}function be(e){if(!ye(e))return e;if(e._error)throw e._error;return e._data}var xe=function(e,t){return t===void 0&&(t={}),new B(e,typeof t==`number`?{status:t}:t)},V=function(e,t){t===void 0&&(t=302);let n=t;typeof n==`number`?n={status:n}:n.status===void 0&&(n.status=302);let r=new Headers(n.headers);return r.set(`Location`,e),new Response(null,o({},n,{headers:r}))},Se=(e,t)=>{let n=V(e,t);return n.headers.set(`X-Remix-Reload-Document`,`true`),n},Ce=(e,t)=>{let n=V(e,t);return n.headers.set(`X-Remix-Replace`,`true`),n},we=class{constructor(e,t,n,r){r===void 0&&(r=!1),this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Te(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}var Ee=[`post`,`put`,`patch`,`delete`],De=new Set(Ee),Oe=[`get`,...Ee],ke=new Set(Oe),Ae=new Set([301,302,303,307,308]),je=new Set([307,308]),Me={state:`idle`,location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ne={state:`idle`,data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Pe={state:`unblocked`,proceed:void 0,reset:void 0,location:void 0},Fe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ie=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Le=`remix-router-transitions`;function Re(e){let t=e.window?e.window:typeof window<`u`?window:void 0,n=t!==void 0&&t.document!==void 0&&t.document.createElement!==void 0,r=!n;f(e.routes.length>0,`You must provide a non-empty routes array to createRouter`);let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;i=e=>({hasErrorBoundary:t(e)})}else i=Ie;let a={},c=C(e.routes,i,void 0,a),l,u=e.basename||`/`,d=e.dataStrategy||Ye,m=e.patchRoutesOnNavigation,h=o({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),_=null,v=new Set,y=null,x=null,S=null,ee=e.hydrationData!=null,D=w(c,e.history.location,u),te=!1,ne=null;if(D==null&&!m){let t=W(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=lt(c);D=n,ne={[r.id]:t}}D&&!e.hydrationData&&Ft(D,c,e.history.location.pathname).active&&(D=null);let O;if(!D){if(O=!1,D=[],h.v7_partialHydration){let t=Ft(null,c,e.history.location.pathname);t.active&&t.matches&&(te=!0,D=t.matches)}}else if(D.some(e=>e.route.lazy))O=!1;else if(!D.some(e=>e.route.loader))O=!0;else if(h.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=D.findIndex(e=>n[e.route.id]!==void 0);O=D.slice(0,e+1).every(e=>!Ue(e.route,t,n))}else O=D.every(e=>!Ue(e.route,t,n))}else O=e.hydrationData!=null;let k,A={historyAction:e.history.action,location:e.history.location,matches:D,initialized:O,navigation:Me,restoreScrollPosition:e.hydrationData==null?null:!1,preventScrollReset:!1,revalidation:`idle`,loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||ne,fetchers:new Map,blockers:new Map},j=s.Pop,re=!1,M,N=!1,ie=new Map,ae=null,oe=!1,P=!1,se=[],ce=new Set,I=new Map,le=0,ue=-1,de=new Map,L=new Set,fe=new Map,pe=new Map,R=new Set,z=new Map,me=new Map,he;function ge(){if(_=e.history.listen(t=>{let{action:n,location:r,delta:i}=t;if(he){he(),he=void 0;return}p(me.size===0||i!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let a=_t({currentLocation:A.location,nextLocation:r,historyAction:n});if(a&&i!=null){let t=new Promise(e=>{he=e});e.history.go(i*-1),gt(a,{state:`blocked`,location:r,proceed(){gt(a,{state:`proceeding`,proceed:void 0,reset:void 0,location:r}),t.then(()=>e.history.go(i))},reset(){let e=new Map(A.blockers);e.set(a,Pe),B({blockers:e})}});return}return V(n,r)}),n){jt(t,ie);let e=()=>Mt(t,ie);t.addEventListener(`pagehide`,e),ae=()=>t.removeEventListener(`pagehide`,e)}return A.initialized||V(s.Pop,A.location,{initialHydration:!0}),k}function _e(){_&&_(),ae&&ae(),v.clear(),M&&M.abort(),A.fetchers.forEach((e,t)=>Ge(t)),A.blockers.forEach((e,t)=>dt(t))}function ve(e){return v.add(e),()=>v.delete(e)}function B(e,t){t===void 0&&(t={}),A=o({},A,e);let n=[],r=[];h.v7_fetcherPersist&&A.fetchers.forEach((e,t)=>{e.state===`idle`&&(R.has(t)?r.push(t):n.push(t))}),R.forEach(e=>{!A.fetchers.has(e)&&!I.has(e)&&r.push(e)}),[...v].forEach(e=>e(A,{deletedFetchers:r,viewTransitionOpts:t.viewTransitionOpts,flushSync:t.flushSync===!0})),h.v7_fetcherPersist?(n.forEach(e=>A.fetchers.delete(e)),r.forEach(e=>Ge(e))):r.forEach(e=>R.delete(e))}function ye(t,n,r){let{flushSync:i}=r===void 0?{}:r,a=A.actionData!=null&&A.navigation.formMethod!=null&&K(A.navigation.formMethod)&&A.navigation.state===`loading`&&t.state?._isRedirect!==!0,u;u=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:a?A.actionData:null;let d=n.loaderData?ot(A.loaderData,n.loaderData,n.matches||[],n.errors):A.loaderData,f=A.blockers;f.size>0&&(f=new Map(f),f.forEach((e,t)=>f.set(t,Pe)));let p=re===!0||A.navigation.formMethod!=null&&K(A.navigation.formMethod)&&t.state?._isRedirect!==!0;l&&(c=l,l=void 0),oe||j===s.Pop||(j===s.Push?e.history.push(t,t.state):j===s.Replace&&e.history.replace(t,t.state));let m;if(j===s.Pop){let e=ie.get(A.location.pathname);e&&e.has(t.pathname)?m={currentLocation:A.location,nextLocation:t}:ie.has(t.pathname)&&(m={currentLocation:t,nextLocation:A.location})}else if(N){let e=ie.get(A.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),ie.set(A.location.pathname,e)),m={currentLocation:A.location,nextLocation:t}}B(o({},n,{actionData:u,loaderData:d,historyAction:j,location:t,initialized:!0,navigation:Me,revalidation:`idle`,restoreScrollPosition:Pt(t,n.matches||A.matches),preventScrollReset:p,blockers:f}),{viewTransitionOpts:m,flushSync:i===!0}),j=s.Pop,re=!1,N=!1,oe=!1,P=!1,se=[]}async function be(t,n){if(typeof t==`number`){e.history.go(t);return}let r=Be(A.location,A.matches,u,h.v7_prependBasename,t,h.v7_relativeSplatPath,n?.fromRouteId,n?.relative),{path:i,submission:a,error:c}=Ve(h.v7_normalizeFormMethod,!1,r,n),l=A.location,d=g(A.location,i,n&&n.state);d=o({},d,e.history.encodeLocation(d));let f=n&&n.replace!=null?n.replace:void 0,p=s.Push;f===!0?p=s.Replace:f===!1||a!=null&&K(a.formMethod)&&a.formAction===A.location.pathname+A.location.search&&(p=s.Replace);let m=n&&`preventScrollReset`in n?n.preventScrollReset===!0:void 0,_=(n&&n.flushSync)===!0,v=_t({currentLocation:l,nextLocation:d,historyAction:p});if(v){gt(v,{state:`blocked`,location:d,proceed(){gt(v,{state:`proceeding`,proceed:void 0,reset:void 0,location:d}),be(t,n)},reset(){let e=new Map(A.blockers);e.set(v,Pe),B({blockers:e})}});return}return await V(p,d,{submission:a,pendingError:c,preventScrollReset:m,replace:n&&n.replace,enableViewTransition:n&&n.viewTransition,flushSync:_})}function xe(){if(ze(),B({revalidation:`loading`}),A.navigation.state!==`submitting`){if(A.navigation.state===`idle`){V(A.historyAction,A.location,{startUninterruptedRevalidation:!0});return}V(j||A.historyAction,A.navigation.location,{overrideNavigation:A.navigation,enableViewTransition:N===!0})}}async function V(t,n,r){M&&M.abort(),M=null,j=t,oe=(r&&r.startUninterruptedRevalidation)===!0,Nt(A.location,A.matches),re=(r&&r.preventScrollReset)===!0,N=(r&&r.enableViewTransition)===!0;let i=l||c,a=r&&r.overrideNavigation,s=r!=null&&r.initialHydration&&A.matches&&A.matches.length>0&&!te?A.matches:w(i,n,u),d=(r&&r.flushSync)===!0;if(s&&A.initialized&&!P&&ft(A.location,n)&&!(r&&r.submission&&K(r.submission.formMethod))){ye(n,{matches:s},{flushSync:d});return}let f=Ft(s,i,n.pathname);if(f.active&&f.matches&&(s=f.matches),!s){let{error:e,notFoundMatches:t,route:r}=vt(n.pathname);ye(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:d});return}M=new AbortController;let p=tt(e.history,n,M.signal,r&&r.submission),m;if(r&&r.pendingError)m=[ct(s).route.id,{type:b.error,error:r.pendingError}];else if(r&&r.submission&&K(r.submission.formMethod)){let t=await Se(p,n,r.submission,s,f.active,{replace:r.replace,flushSync:d});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(G(r)&&Te(r.error)&&r.error.status===404){M=null,ye(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}});return}}s=t.matches||s,m=t.pendingActionResult,a=Et(n,r.submission),d=!1,f.active=!1,p=tt(e.history,p.url,p.signal)}let{shortCircuited:h,matches:g,loaderData:_,errors:v}=await Ce(p,n,s,f.active,a,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&r.initialHydration===!0,d,m);h||(M=null,ye(n,o({matches:g||s},st(m),{loaderData:_,errors:v})))}async function Se(t,n,r,i,a,o){if(o===void 0&&(o={}),ze(),B({navigation:Dt(n,r)},{flushSync:o.flushSync===!0}),a){let e=await J(i,n.pathname,t.signal);if(e.type===`aborted`)return{shortCircuited:!0};if(e.type===`error`){let t=ct(e.partialMatches).route.id;return{matches:e.partialMatches,pendingActionResult:[t,{type:b.error,error:e.error}]}}else if(e.matches)i=e.matches;else{let{notFoundMatches:e,error:t,route:r}=vt(n.pathname);return{matches:e,pendingActionResult:[r.id,{type:b.error,error:t}]}}}let c,l=wt(i,n);if(!l.route.action&&!l.route.lazy)c={type:b.error,error:W(405,{method:t.method,pathname:n.pathname,routeId:l.route.id})};else if(c=(await Le(`action`,A,t,[l],i,null))[l.route.id],t.signal.aborted)return{shortCircuited:!0};if(ht(c)){let n;return n=o&&o.replace!=null?o.replace:et(c.response.headers.get(`Location`),new URL(t.url),u,e.history)===A.location.pathname+A.location.search,await Ae(t,c,!0,{submission:r,replace:n}),{shortCircuited:!0}}if(mt(c))throw W(400,{type:`defer-action`});if(G(c)){let e=ct(i,l.route.id);return(o&&o.replace)!==!0&&(j=s.Push),{matches:i,pendingActionResult:[e.route.id,c]}}return{matches:i,pendingActionResult:[l.route.id,c]}}async function Ce(t,n,r,i,a,s,d,f,p,m,g){let _=a||Et(n,s),v=s||d||Tt(_),y=!oe&&(!h.v7_partialHydration||!p);if(i){if(y){let e=we(g);B(o({navigation:_},e===void 0?{}:{actionData:e}),{flushSync:m})}let e=await J(r,n.pathname,t.signal);if(e.type===`aborted`)return{shortCircuited:!0};if(e.type===`error`){let t=ct(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}else if(e.matches)r=e.matches;else{let{error:e,notFoundMatches:t,route:r}=vt(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let b=l||c,[x,S]=He(e.history,A,r,v,n,h.v7_partialHydration&&p===!0,h.v7_skipActionErrorRevalidation,P,se,ce,R,fe,L,b,u,g);if(yt(e=>!(r&&r.some(t=>t.route.id===e))||x&&x.some(t=>t.route.id===e)),ue=++le,x.length===0&&S.length===0){let e=nt();return ye(n,o({matches:r,loaderData:{},errors:g&&G(g[1])?{[g[0]]:g[1].error}:null},st(g),e?{fetchers:new Map(A.fetchers)}:{}),{flushSync:m}),{shortCircuited:!0}}if(y){let e={};if(!i){e.navigation=_;let t=we(g);t!==void 0&&(e.actionData=t)}S.length>0&&(e.fetchers=Ee(S)),B(e,{flushSync:m})}S.forEach(e=>{Je(e.key),e.controller&&I.set(e.key,e.controller)});let C=()=>S.forEach(e=>Je(e.key));M&&M.signal.addEventListener(`abort`,C);let{loaderResults:w,fetcherResults:T}=await Re(A,r,x,S,t);if(t.signal.aborted)return{shortCircuited:!0};M&&M.signal.removeEventListener(`abort`,C),S.forEach(e=>I.delete(e.key));let E=ut(w);if(E)return await Ae(t,E.result,!0,{replace:f}),{shortCircuited:!0};if(E=ut(T),E)return L.add(E.key),await Ae(t,E.result,!0,{replace:f}),{shortCircuited:!0};let{loaderData:ee,errors:D}=at(A,r,w,g,S,T,z);z.forEach((e,t)=>{e.subscribe(n=>{(n||e.done)&&z.delete(t)})}),h.v7_partialHydration&&p&&A.errors&&(D=o({},A.errors,D));let te=nt(),ne=rt(ue),O=te||ne||S.length>0;return o({matches:r,loaderData:ee,errors:D},O?{fetchers:new Map(A.fetchers)}:{})}function we(e){if(e&&!G(e[1]))return{[e[0]]:e[1].data};if(A.actionData)return Object.keys(A.actionData).length===0?null:A.actionData}function Ee(e){return e.forEach(e=>{let t=A.fetchers.get(e.key),n=Ot(void 0,t?t.data:void 0);A.fetchers.set(e.key,n)}),new Map(A.fetchers)}function De(e,t,n,i){if(r)throw Error(`router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.`);Je(e);let a=(i&&i.flushSync)===!0,o=l||c,s=Be(A.location,A.matches,u,h.v7_prependBasename,n,h.v7_relativeSplatPath,t,i?.relative),d=w(o,s,u),f=Ft(d,o,s);if(f.active&&f.matches&&(d=f.matches),!d){U(e,t,W(404,{pathname:s}),{flushSync:a});return}let{path:p,submission:m,error:g}=Ve(h.v7_normalizeFormMethod,!0,s,i);if(g){U(e,t,g,{flushSync:a});return}let _=wt(d,p),v=(i&&i.preventScrollReset)===!0;if(m&&K(m.formMethod)){Oe(e,t,p,_,d,f.active,a,v,m);return}fe.set(e,{routeId:t,path:p}),ke(e,t,p,_,d,f.active,a,v,m)}async function Oe(t,n,r,i,a,o,s,d,p){ze(),fe.delete(t);function m(e){return!e.route.action&&!e.route.lazy?(U(t,n,W(405,{method:p.formMethod,pathname:r,routeId:n}),{flushSync:s}),!0):!1}if(!o&&m(i))return;H(t,kt(p,A.fetchers.get(t)),{flushSync:s});let g=new AbortController,_=tt(e.history,r,g.signal,p);if(o){let e=await J(a,new URL(_.url).pathname,_.signal,t);if(e.type===`aborted`)return;if(e.type===`error`){U(t,n,e.error,{flushSync:s});return}else if(!e.matches){U(t,n,W(404,{pathname:r}),{flushSync:s});return}else if(a=e.matches,i=wt(a,r),m(i))return}I.set(t,g);let v=le,y=(await Le(`action`,A,_,[i],a,t))[i.route.id];if(_.signal.aborted){I.get(t)===g&&I.delete(t);return}if(h.v7_fetcherPersist&&R.has(t)){if(ht(y)||G(y)){H(t,At(void 0));return}}else{if(ht(y))if(I.delete(t),ue>v){H(t,At(void 0));return}else return L.add(t),H(t,Ot(p)),Ae(_,y,!1,{fetcherSubmission:p,preventScrollReset:d});if(G(y)){U(t,n,y.error);return}}if(mt(y))throw W(400,{type:`defer-action`});let b=A.navigation.location||A.location,x=tt(e.history,b,g.signal),S=l||c,C=A.navigation.state===`idle`?A.matches:w(S,A.navigation.location,u);f(C,`Didn't find any matches after fetcher action`);let T=++le;de.set(t,T);let E=Ot(p,y.data);A.fetchers.set(t,E);let[ee,D]=He(e.history,A,C,p,b,!1,h.v7_skipActionErrorRevalidation,P,se,ce,R,fe,L,S,u,[i.route.id,y]);D.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=A.fetchers.get(t),r=Ot(void 0,n?n.data:void 0);A.fetchers.set(t,r),Je(t),e.controller&&I.set(t,e.controller)}),B({fetchers:new Map(A.fetchers)});let te=()=>D.forEach(e=>Je(e.key));g.signal.addEventListener(`abort`,te);let{loaderResults:ne,fetcherResults:O}=await Re(A,C,ee,D,x);if(g.signal.aborted)return;g.signal.removeEventListener(`abort`,te),de.delete(t),I.delete(t),D.forEach(e=>I.delete(e.key));let k=ut(ne);if(k)return Ae(x,k.result,!1,{preventScrollReset:d});if(k=ut(O),k)return L.add(k.key),Ae(x,k.result,!1,{preventScrollReset:d});let{loaderData:re,errors:N}=at(A,C,ne,void 0,D,O,z);if(A.fetchers.has(t)){let e=At(y.data);A.fetchers.set(t,e)}rt(T),A.navigation.state===`loading`&&T>ue?(f(j,`Expected pending action`),M&&M.abort(),ye(A.navigation.location,{matches:C,loaderData:re,errors:N,fetchers:new Map(A.fetchers)})):(B({errors:N,loaderData:ot(A.loaderData,re,C,N),fetchers:new Map(A.fetchers)}),P=!1)}async function ke(t,n,r,i,a,o,s,c,l){let u=A.fetchers.get(t);H(t,Ot(l,u?u.data:void 0),{flushSync:s});let d=new AbortController,p=tt(e.history,r,d.signal);if(o){let e=await J(a,new URL(p.url).pathname,p.signal,t);if(e.type===`aborted`)return;if(e.type===`error`){U(t,n,e.error,{flushSync:s});return}else if(e.matches)a=e.matches,i=wt(a,r);else{U(t,n,W(404,{pathname:r}),{flushSync:s});return}}I.set(t,d);let m=le,h=(await Le(`loader`,A,p,[i],a,t))[i.route.id];if(mt(h)&&(h=await St(h,p.signal,!0)||h),I.get(t)===d&&I.delete(t),!p.signal.aborted){if(R.has(t)){H(t,At(void 0));return}if(ht(h))if(ue>m){H(t,At(void 0));return}else{L.add(t),await Ae(p,h,!1,{preventScrollReset:c});return}if(G(h)){U(t,n,h.error);return}f(!mt(h),`Unhandled fetcher deferred data`),H(t,At(h.data))}}async function Ae(r,i,a,c){let{submission:l,fetcherSubmission:d,preventScrollReset:p,replace:m}=c===void 0?{}:c;i.response.headers.has(`X-Remix-Revalidate`)&&(P=!0);let h=i.response.headers.get(`Location`);f(h,`Expected a Location header on the redirect Response`),h=et(h,new URL(r.url),u,e.history);let _=g(A.location,h,{_isRedirect:!0});if(n){let n=!1;if(i.response.headers.has(`X-Remix-Reload-Document`))n=!0;else if(Fe.test(h)){let r=e.history.createURL(h);n=r.origin!==t.location.origin||F(r.pathname,u)==null}if(n){m?t.location.replace(h):t.location.assign(h);return}}M=null;let v=m===!0||i.response.headers.has(`X-Remix-Replace`)?s.Replace:s.Push,{formMethod:y,formAction:b,formEncType:x}=A.navigation;!l&&!d&&y&&b&&x&&(l=Tt(A.navigation));let S=l||d;je.has(i.response.status)&&S&&K(S.formMethod)?await V(v,_,{submission:o({},S,{formAction:h}),preventScrollReset:p||re,enableViewTransition:a?N:void 0}):await V(v,_,{overrideNavigation:Et(_,l),fetcherSubmission:d,preventScrollReset:p||re,enableViewTransition:a?N:void 0})}async function Le(e,t,n,r,o,s){let c,l={};try{c=await Xe(d,e,t,n,r,o,s,a,i)}catch(e){return r.forEach(t=>{l[t.route.id]={type:b.error,error:e}}),l}for(let[e,t]of Object.entries(c))if(pt(t)){let r=t.result;l[e]={type:b.redirect,response:$e(r,n,e,o,u,h.v7_relativeSplatPath)}}else l[e]=await Qe(t);return l}async function Re(t,n,r,i,a){let o=t.matches,s=Le(`loader`,t,a,r,n,null),c=Promise.all(i.map(async n=>{if(n.matches&&n.match&&n.controller){let r=(await Le(`loader`,t,tt(e.history,n.path,n.controller.signal),[n.match],n.matches,n.key))[n.match.route.id];return{[n.key]:r}}else return Promise.resolve({[n.key]:{type:b.error,error:W(404,{pathname:n.path})}})})),l=await s,u=(await c).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([bt(n,l,a.signal,o,t.loaderData),xt(n,u,i)]),{loaderResults:l,fetcherResults:u}}function ze(){P=!0,se.push(...yt()),fe.forEach((e,t)=>{I.has(t)&&ce.add(t),Je(t)})}function H(e,t,n){n===void 0&&(n={}),A.fetchers.set(e,t),B({fetchers:new Map(A.fetchers)},{flushSync:(n&&n.flushSync)===!0})}function U(e,t,n,r){r===void 0&&(r={});let i=ct(A.matches,t);Ge(e),B({errors:{[i.route.id]:n},fetchers:new Map(A.fetchers)},{flushSync:(r&&r.flushSync)===!0})}function We(e){return pe.set(e,(pe.get(e)||0)+1),R.has(e)&&R.delete(e),A.fetchers.get(e)||Ne}function Ge(e){let t=A.fetchers.get(e);I.has(e)&&!(t&&t.state===`loading`&&de.has(e))&&Je(e),fe.delete(e),de.delete(e),L.delete(e),h.v7_fetcherPersist&&R.delete(e),ce.delete(e),A.fetchers.delete(e)}function qe(e){let t=(pe.get(e)||0)-1;t<=0?(pe.delete(e),R.add(e),h.v7_fetcherPersist||Ge(e)):pe.set(e,t),B({fetchers:new Map(A.fetchers)})}function Je(e){let t=I.get(e);t&&(t.abort(),I.delete(e))}function Ze(e){for(let t of e){let e=At(We(t).data);A.fetchers.set(t,e)}}function nt(){let e=[],t=!1;for(let n of L){let r=A.fetchers.get(n);f(r,`Expected fetcher: `+n),r.state===`loading`&&(L.delete(n),e.push(n),t=!0)}return Ze(e),t}function rt(e){let t=[];for(let[n,r]of de)if(r<e){let e=A.fetchers.get(n);f(e,`Expected fetcher: `+n),e.state===`loading`&&(Je(n),de.delete(n),t.push(n))}return Ze(t),t.length>0}function it(e,t){let n=A.blockers.get(e)||Pe;return me.get(e)!==t&&me.set(e,t),n}function dt(e){A.blockers.delete(e),me.delete(e)}function gt(e,t){let n=A.blockers.get(e)||Pe;f(n.state===`unblocked`&&t.state===`blocked`||n.state===`blocked`&&t.state===`blocked`||n.state===`blocked`&&t.state===`proceeding`||n.state===`blocked`&&t.state===`unblocked`||n.state===`proceeding`&&t.state===`unblocked`,`Invalid blocker state transition: `+n.state+` -> `+t.state);let r=new Map(A.blockers);r.set(e,t),B({blockers:r})}function _t(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(me.size===0)return;me.size>1&&p(!1,`A router only supports one blocker at a time`);let i=Array.from(me.entries()),[a,o]=i[i.length-1],s=A.blockers.get(a);if(!(s&&s.state===`proceeding`)&&o({currentLocation:t,nextLocation:n,historyAction:r}))return a}function vt(e){let t=W(404,{pathname:e}),{matches:n,route:r}=lt(l||c);return yt(),{notFoundMatches:n,route:r,error:t}}function yt(e){let t=[];return z.forEach((n,r)=>{(!e||e(r))&&(n.cancel(),t.push(r),z.delete(r))}),t}function Ct(e,t,n){if(y=e,S=t,x=n||null,!ee&&A.navigation===Me){ee=!0;let e=Pt(A.location,A.matches);e!=null&&B({restoreScrollPosition:e})}return()=>{y=null,S=null,x=null}}function q(e,t){return x&&x(e,t.map(e=>E(e,A.loaderData)))||e.key}function Nt(e,t){if(y&&S){let n=q(e,t);y[n]=S()}}function Pt(e,t){if(y){let n=q(e,t),r=y[n];if(typeof r==`number`)return r}return null}function Ft(e,t,n){if(m){if(!e)return{active:!0,matches:T(t,n,u,!0)||[]};if(Object.keys(e[0].params).length>0)return{active:!0,matches:T(t,n,u,!0)}}return{active:!1,matches:null}}async function J(e,t,n,r){if(!m)return{type:`success`,matches:e};let o=e;for(;;){let e=l==null,s=l||c,d=a;try{await m({signal:n,path:t,matches:o,fetcherKey:r,patch:(e,t)=>{n.aborted||Ke(e,t,s,d,i)}})}catch(e){return{type:`error`,error:e,partialMatches:o}}finally{e&&!n.aborted&&(c=[...c])}if(n.aborted)return{type:`aborted`};let f=w(s,t,u);if(f)return{type:`success`,matches:f};let p=T(s,t,u,!0);if(!p||o.length===p.length&&o.every((e,t)=>e.route.id===p[t].route.id))return{type:`success`,matches:null};o=p}}function It(e){a={},l=C(e,i,void 0,a)}function Y(e,t){let n=l==null;Ke(e,t,l||c,a,i),n&&(c=[...c],B({}))}return k={get basename(){return u},get future(){return h},get state(){return A},get routes(){return c},get window(){return t},initialize:ge,subscribe:ve,enableScrollRestoration:Ct,navigate:be,fetch:De,revalidate:xe,createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:We,deleteFetcher:qe,dispose:_e,getBlocker:it,deleteBlocker:dt,patchRoutes:Y,_internalFetchControllers:I,_internalActiveDeferreds:z,_internalSetRoutes:It},k}function ze(e){return e!=null&&(`formData`in e&&e.formData!=null||`body`in e&&e.body!==void 0)}function Be(e,t,n,r,i,a,o,s){let c,l;if(o){c=[];for(let e of t)if(c.push(e),e.route.id===o){l=e;break}}else c=t,l=t[t.length-1];let u=R(i||`.`,pe(c,a),F(e.pathname,n)||e.pathname,s===`path`);if(i??(u.search=e.search,u.hash=e.hash),(i==null||i===``||i===`.`)&&l){let e=Ct(u.search);if(l.route.index&&!e)u.search=u.search?u.search.replace(/^\?/,`?index&`):`?index`;else if(!l.route.index&&e){let e=new URLSearchParams(u.search),t=e.getAll(`index`);e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();u.search=n?`?`+n:``}}return r&&n!==`/`&&(u.pathname=u.pathname===`/`?n:z([n,u.pathname])),_(u)}function Ve(e,t,n,r){if(!r||!ze(r))return{path:n};if(r.formMethod&&!yt(r.formMethod))return{path:n,error:W(405,{method:r.formMethod})};let i=()=>({path:n,error:W(400,{type:`invalid-body`})}),a=r.formMethod||`get`,o=e?a.toUpperCase():a.toLowerCase(),s=dt(n);if(r.body!==void 0){if(r.formEncType===`text/plain`){if(!K(o))return i();let e=typeof r.body==`string`?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((e,t)=>{let[n,r]=t;return``+e+n+`=`+r+`
2
- `},``):String(r.body);return{path:n,submission:{formMethod:o,formAction:s,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}else if(r.formEncType===`application/json`){if(!K(o))return i();try{let e=typeof r.body==`string`?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:s,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch{return i()}}}f(typeof FormData==`function`,`FormData is not available in this environment`);let c,l;if(r.formData)c=nt(r.formData),l=r.formData;else if(r.body instanceof FormData)c=nt(r.body),l=r.body;else if(r.body instanceof URLSearchParams)c=r.body,l=rt(c);else if(r.body==null)c=new URLSearchParams,l=new FormData;else try{c=new URLSearchParams(r.body),l=rt(c)}catch{return i()}let u={formMethod:o,formAction:s,formEncType:r&&r.formEncType||`application/x-www-form-urlencoded`,formData:l,json:void 0,text:void 0};if(K(u.formMethod))return{path:n,submission:u};let d=v(n);return t&&d.search&&Ct(d.search)&&c.append(`index`,``),d.search=`?`+c,{path:_(d),submission:u}}function H(e,t,n){n===void 0&&(n=!1);let r=e.findIndex(e=>e.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function He(e,t,n,r,i,a,s,c,l,u,d,f,p,m,h,g){let _=g?G(g[1])?g[1].error:g[1].data:void 0,v=e.createURL(t.location),y=e.createURL(i),b=n;a&&t.errors?b=H(n,Object.keys(t.errors)[0],!0):g&&G(g[1])&&(b=H(n,g[0]));let x=g?g[1].statusCode:void 0,S=s&&x&&x>=400,C=b.filter((e,n)=>{let{route:i}=e;if(i.lazy)return!0;if(i.loader==null)return!1;if(a)return Ue(i,t.loaderData,t.errors);if(U(t.loaderData,t.matches[n],e)||l.some(t=>t===e.route.id))return!0;let s=t.matches[n],u=e;return Ge(e,o({currentUrl:v,currentParams:s.params,nextUrl:y,nextParams:u.params},r,{actionResult:_,actionStatus:x,defaultShouldRevalidate:S?!1:c||v.pathname+v.search===y.pathname+y.search||v.search!==y.search||We(s,u)}))}),T=[];return f.forEach((e,i)=>{if(a||!n.some(t=>t.route.id===e.routeId)||d.has(i))return;let s=w(m,e.path,h);if(!s){T.push({key:i,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});return}let l=t.fetchers.get(i),f=wt(s,e.path),g=!1;p.has(i)?g=!1:u.has(i)?(u.delete(i),g=!0):g=l&&l.state!==`idle`&&l.data===void 0?c:Ge(f,o({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:_,actionStatus:x,defaultShouldRevalidate:S?!1:c})),g&&T.push({key:i,routeId:e.routeId,path:e.path,matches:s,match:f,controller:new AbortController})}),[C,T]}function Ue(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=t!=null&&t[e.id]!==void 0,i=n!=null&&n[e.id]!==void 0;return!r&&i?!1:typeof e.loader==`function`&&e.loader.hydrate===!0?!0:!r&&!i}function U(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function We(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith(`*`)&&e.params[`*`]!==t.params[`*`]}function Ge(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n==`boolean`)return n}return t.defaultShouldRevalidate}function Ke(e,t,n,r,i){let a;if(e){let t=r[e];f(t,`No route found to patch children into: routeId = `+e),t.children||(t.children=[]),a=t.children}else a=n;let o=C(t.filter(e=>!a.some(t=>qe(e,t))),i,[e||`_`,`patch`,String(a?.length||`0`)],r);a.push(...o)}function qe(e,t){return`id`in e&&`id`in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((e,n)=>t.children?.some(t=>qe(e,t))):!1}async function Je(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];f(i,`No route found in manifest`);let a={};for(let e in r){let t=i[e]!==void 0&&e!==`hasErrorBoundary`;p(!t,`Route "`+i.id+`" has a static property "`+e+`" defined but its lazy function is also returning a value for this property. `+(`The lazy route property "`+e+`" will be ignored.`)),!t&&!x.has(e)&&(a[e]=r[e])}Object.assign(i,a),Object.assign(i,o({},t(i),{lazy:void 0}))}async function Ye(e){let{matches:t}=e,n=t.filter(e=>e.shouldLoad);return(await Promise.all(n.map(e=>e.resolve()))).reduce((e,t,r)=>Object.assign(e,{[n[r].route.id]:t}),{})}async function Xe(e,t,n,r,i,a,s,c,l,u){let d=a.map(e=>e.route.lazy?Je(e.route,l,c):void 0),f=await e({matches:a.map((e,n)=>{let a=d[n],s=i.some(t=>t.route.id===e.route.id);return o({},e,{shouldLoad:s,resolve:async n=>(n&&r.method===`GET`&&(e.route.lazy||e.route.loader)&&(s=!0),s?Ze(t,r,e,a,n,u):Promise.resolve({type:b.data,result:void 0}))})}),request:r,params:a[0].params,fetcherKey:s,context:u});try{await Promise.all(d)}catch{}return f}async function Ze(e,t,n,r,i,a){let o,s,c=r=>{let o,c=new Promise((e,t)=>o=t);s=()=>o(),t.signal.addEventListener(`abort`,s);let l=i=>typeof r==`function`?r({request:t,params:n.params,context:a},...i===void 0?[]:[i]):Promise.reject(Error(`You cannot call the handler for a route which defines a boolean `+(`"`+e+`" [routeId: `+n.route.id+`]`))),u=(async()=>{try{return{type:`data`,result:await(i?i(e=>l(e)):l())}}catch(e){return{type:`error`,result:e}}})();return Promise.race([u,c])};try{let i=n.route[e];if(r)if(i){let e,[t]=await Promise.all([c(i).catch(t=>{e=t}),r]);if(e!==void 0)throw e;o=t}else if(await r,i=n.route[e],i)o=await c(i);else if(e===`action`){let e=new URL(t.url),r=e.pathname+e.search;throw W(405,{method:t.method,pathname:r,routeId:n.route.id})}else return{type:b.data,result:void 0};else if(i)o=await c(i);else{let e=new URL(t.url);throw W(404,{pathname:e.pathname+e.search})}f(o.result!==void 0,`You defined `+(e===`action`?`an action`:`a loader`)+` for route `+(`"`+n.route.id+`" but didn't return anything from your \``+e+"` ")+"function. Please return a value or `null`.")}catch(e){return{type:b.error,result:e}}finally{s&&t.signal.removeEventListener(`abort`,s)}return o}async function Qe(e){let{result:t,type:n}=e;if(vt(t)){let e;try{let n=t.headers.get(`Content-Type`);e=n&&/\bapplication\/json\b/.test(n)?t.body==null?null:await t.json():await t.text()}catch(e){return{type:b.error,error:e}}return n===b.error?{type:b.error,error:new we(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:b.data,data:e,statusCode:t.status,headers:t.headers}}if(n===b.error){if(gt(t)){var r;if(t.data instanceof Error){var i;return{type:b.error,error:t.data,statusCode:t.init?.status,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}}return{type:b.error,error:new we(t.init?.status||500,void 0,t.data),statusCode:Te(t)?t.status:void 0,headers:(r=t.init)!=null&&r.headers?new Headers(t.init.headers):void 0}}return{type:b.error,error:t,statusCode:Te(t)?t.status:void 0}}if(_t(t))return{type:b.deferred,deferredData:t,statusCode:t.init?.status,headers:t.init?.headers&&new Headers(t.init.headers)};if(gt(t)){var a;return{type:b.data,data:t.data,statusCode:t.init?.status,headers:(a=t.init)!=null&&a.headers?new Headers(t.init.headers):void 0}}return{type:b.data,data:t}}function $e(e,t,n,r,i,a){let o=e.headers.get(`Location`);if(f(o,`Redirects returned/thrown from loaders/actions must have a Location header`),!Fe.test(o)){let s=r.slice(0,r.findIndex(e=>e.route.id===n)+1);o=Be(new URL(t.url),s,i,!0,o,a),e.headers.set(`Location`,o)}return e}function et(e,t,n,r){let i=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];if(Fe.test(e)){let r=e,a=r.startsWith(`//`)?new URL(t.protocol+r):new URL(r);if(i.includes(a.protocol))throw Error(`Invalid redirect location`);let o=F(a.pathname,n)!=null;if(a.origin===t.origin&&o)return a.pathname+a.search+a.hash}try{let t=r.createURL(e);if(i.includes(t.protocol))throw Error(`Invalid redirect location`)}catch{}return e}function tt(e,t,n,r){let i=e.createURL(dt(t)).toString(),a={signal:n};if(r&&K(r.formMethod)){let{formMethod:e,formEncType:t}=r;a.method=e.toUpperCase(),t===`application/json`?(a.headers=new Headers({"Content-Type":t}),a.body=JSON.stringify(r.json)):t===`text/plain`?a.body=r.text:t===`application/x-www-form-urlencoded`&&r.formData?a.body=nt(r.formData):a.body=r.formData}return new Request(i,a)}function nt(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r==`string`?r:r.name);return t}function rt(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function it(e,t,n,r,i){let a={},o=null,s,c=!1,l={},u=n&&G(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let d=n.route.id,p=t[d];if(f(!ht(p),`Cannot handle redirect results in processLoaderData`),G(p)){let t=p.error;if(u!==void 0&&(t=u,u=void 0),o=o||{},i)o[d]=t;else{let n=ct(e,d);o[n.route.id]??(o[n.route.id]=t)}a[d]=void 0,c||(c=!0,s=Te(p.error)?p.error.status:500),p.headers&&(l[d]=p.headers)}else mt(p)?(r.set(d,p.deferredData),a[d]=p.deferredData.data,p.statusCode!=null&&p.statusCode!==200&&!c&&(s=p.statusCode),p.headers&&(l[d]=p.headers)):(a[d]=p.data,p.statusCode&&p.statusCode!==200&&!c&&(s=p.statusCode),p.headers&&(l[d]=p.headers))}),u!==void 0&&n&&(o={[n[0]]:u},a[n[0]]=void 0),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:l}}function at(e,t,n,r,i,a,s){let{loaderData:c,errors:l}=it(t,n,r,s,!1);return i.forEach(t=>{let{key:n,match:r,controller:i}=t,s=a[n];if(f(s,`Did not find corresponding fetcher result`),!(i&&i.signal.aborted))if(G(s)){let t=ct(e.matches,r?.route.id);l&&l[t.route.id]||(l=o({},l,{[t.route.id]:s.error})),e.fetchers.delete(n)}else if(ht(s))f(!1,`Unhandled fetcher revalidation redirect`);else if(mt(s))f(!1,`Unhandled fetcher deferred data`);else{let t=At(s.data);e.fetchers.set(n,t)}}),{loaderData:c,errors:l}}function ot(e,t,n,r){let i=o({},t);for(let a of n){let n=a.route.id;if(t.hasOwnProperty(n)?t[n]!==void 0&&(i[n]=t[n]):e[n]!==void 0&&a.route.loader&&(i[n]=e[n]),r&&r.hasOwnProperty(n))break}return i}function st(e){return e?G(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function ct(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>e.route.hasErrorBoundary===!0)||e[0]}function lt(e){let t=e.length===1?e[0]:e.find(e=>e.index||!e.path||e.path===`/`)||{id:`__shim-error-route__`};return{matches:[{params:{},pathname:``,pathnameBase:``,route:t}],route:t}}function W(e,t){let{pathname:n,routeId:r,method:i,type:a,message:o}=t===void 0?{}:t,s=`Unknown Server Error`,c=`Unknown @remix-run/router error`;return e===400?(s=`Bad Request`,i&&n&&r?c=`You made a `+i+` request to "`+n+`" but `+('did not provide a `loader` for route "'+r+`", `)+`so there is no way to handle the request.`:a===`defer-action`?c=`defer() is not supported in actions`:a===`invalid-body`&&(c=`Unable to encode submission body`)):e===403?(s=`Forbidden`,c=`Route "`+r+`" does not match URL "`+n+`"`):e===404?(s=`Not Found`,c=`No route matches URL "`+n+`"`):e===405&&(s=`Method Not Allowed`,i&&n&&r?c=`You made a `+i.toUpperCase()+` request to "`+n+`" but `+('did not provide an `action` for route "'+r+`", `)+`so there is no way to handle the request.`:i&&(c=`Invalid request method "`+i.toUpperCase()+`"`)),new we(e||500,s,Error(c),!0)}function ut(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(ht(r))return{key:n,result:r}}}function dt(e){let t=typeof e==`string`?v(e):e;return _(o({},t,{hash:``}))}function ft(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===``?t.hash!==``:e.hash===t.hash?!0:t.hash!==``}function pt(e){return vt(e.result)&&Ae.has(e.result.status)}function mt(e){return e.type===b.deferred}function G(e){return e.type===b.error}function ht(e){return(e&&e.type)===b.redirect}function gt(e){return typeof e==`object`&&!!e&&`type`in e&&`data`in e&&`init`in e&&e.type===`DataWithResponseInit`}function _t(e){let t=e;return t&&typeof t==`object`&&typeof t.data==`object`&&typeof t.subscribe==`function`&&typeof t.cancel==`function`&&typeof t.resolveData==`function`}function vt(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.headers==`object`&&e.body!==void 0}function yt(e){return ke.has(e.toLowerCase())}function K(e){return De.has(e.toLowerCase())}async function bt(e,t,n,r,i){let a=Object.entries(t);for(let o=0;o<a.length;o++){let[s,c]=a[o],l=e.find(e=>e?.route.id===s);if(!l)continue;let u=r.find(e=>e.route.id===l.route.id),d=u!=null&&!We(u,l)&&(i&&i[l.route.id])!==void 0;mt(c)&&d&&await St(c,n,!1).then(e=>{e&&(t[s]=e)})}}async function xt(e,t,n){for(let r=0;r<n.length;r++){let{key:i,routeId:a,controller:o}=n[r],s=t[i];e.find(e=>e?.route.id===a)&&mt(s)&&(f(o,`Expected an AbortController for revalidating fetcher deferred result`),await St(s,o.signal,!0).then(e=>{e&&(t[i]=e)}))}}async function St(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:b.data,data:e.deferredData.unwrappedData}}catch(e){return{type:b.error,error:e}}return{type:b.data,data:e.deferredData.data}}}function Ct(e){return new URLSearchParams(e).getAll(`index`).some(e=>e===``)}function wt(e,t){let n=typeof t==`string`?v(t).search:t.search;if(e[e.length-1].route.index&&Ct(n||``))return e[e.length-1];let r=fe(e);return r[r.length-1]}function Tt(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:a,json:o}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function Et(e,t){return t?{state:`loading`,location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:`loading`,location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Dt(e,t){return{state:`submitting`,location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Ot(e,t){return e?{state:`loading`,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:`loading`,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function kt(e,t){return{state:`submitting`,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function At(e){return{state:`idle`,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function jt(e,t){try{let n=e.sessionStorage.getItem(Le);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch{}}function Mt(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(Le,JSON.stringify(n))}catch(e){p(!1,`Failed to save applied view transitions in sessionStorage (`+e+`).`)}}}function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}var Nt=i.createContext(null),Pt=i.createContext(null),Ft=i.createContext(null),J=i.createContext(null),It=i.createContext(null),Y=i.createContext({outlet:null,matches:[],isDataRoute:!1}),Lt=i.createContext(null);function Rt(e,t){let{relative:n}=t===void 0?{}:t;!zt()&&f(!1);let{basename:r,navigator:a}=i.useContext(J),{hash:o,pathname:s,search:c}=Yt(e,{relative:n}),l=s;return r!==`/`&&(l=s===`/`?r:z([r,s])),a.createHref({pathname:l,search:c,hash:o})}function zt(){return i.useContext(It)!=null}function X(){return!zt()&&f(!1),i.useContext(It).location}function Bt(){return i.useContext(It).navigationType}function Vt(e){!zt()&&f(!1);let{pathname:t}=X();return i.useMemo(()=>P(e,ce(t)),[t,e])}function Ht(e){i.useContext(J).static||i.useLayoutEffect(e)}function Ut(){let{isDataRoute:e}=i.useContext(Y);return e?xn():Wt()}function Wt(){!zt()&&f(!1);let e=i.useContext(Nt),{basename:t,future:n,navigator:r}=i.useContext(J),{matches:a}=i.useContext(Y),{pathname:o}=X(),s=JSON.stringify(pe(a,n.v7_relativeSplatPath)),c=i.useRef(!1);return Ht(()=>{c.current=!0}),i.useCallback(function(n,i){if(i===void 0&&(i={}),!c.current)return;if(typeof n==`number`){r.go(n);return}let a=R(n,JSON.parse(s),o,i.relative===`path`);e==null&&t!==`/`&&(a.pathname=a.pathname===`/`?t:z([t,a.pathname])),(i.replace?r.replace:r.push)(a,i.state,i)},[t,r,s,o,e])}var Gt=i.createContext(null);function Kt(){return i.useContext(Gt)}function qt(e){let t=i.useContext(Y).outlet;return t&&i.createElement(Gt.Provider,{value:e},t)}function Jt(){let{matches:e}=i.useContext(Y),t=e[e.length-1];return t?t.params:{}}function Yt(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=i.useContext(J),{matches:a}=i.useContext(Y),{pathname:o}=X(),s=JSON.stringify(pe(a,r.v7_relativeSplatPath));return i.useMemo(()=>R(e,JSON.parse(s),o,n===`path`),[e,s,o,n])}function Xt(e,t){return Zt(e,t)}function Zt(e,t,n,r){!zt()&&f(!1);let{navigator:a}=i.useContext(J),{matches:o}=i.useContext(Y),c=o[o.length-1],l=c?c.params:{};c&&c.pathname;let u=c?c.pathnameBase:`/`;c&&c.route;let d=X(),p;if(t){let e=typeof t==`string`?v(t):t;!(u===`/`||e.pathname?.startsWith(u))&&f(!1),p=e}else p=d;let m=p.pathname||`/`,h=m;if(u!==`/`){let e=u.replace(/^\//,``).split(`/`);h=`/`+m.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let g=w(e,{pathname:h}),_=nn(g&&g.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:z([u,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?u:z([u,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),o,n,r);return t&&_?i.createElement(It.Provider,{value:{location:q({pathname:`/`,search:``,hash:``,state:null,key:`default`},p),navigationType:s.Pop}},_):_}function Qt(){let e=gn(),t=Te(e)?e.status+` `+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return i.createElement(i.Fragment,null,i.createElement(`h2`,null,`Unexpected Application Error!`),i.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?i.createElement(`pre`,{style:{padding:`0.5rem`,backgroundColor:`rgba(200,200,200, 0.5)`}},n):null,null)}var $t=i.createElement(Qt,null),en=class extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){}render(){return this.state.error===void 0?this.props.children:i.createElement(Y.Provider,{value:this.props.routeContext},i.createElement(Lt.Provider,{value:this.state.error,children:this.props.component}))}};function tn(e){let{routeContext:t,match:n,children:r}=e,a=i.useContext(Nt);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),i.createElement(Y.Provider,{value:t},r)}function nn(e,t,n,r){if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=n?.errors;if(s!=null){let e=o.findIndex(e=>e.route.id&&s?.[e.route.id]!==void 0);!(e>=0)&&f(!1),o=o.slice(0,Math.min(o.length,e+1))}let c=!1,l=-1;if(n&&r&&r.v7_partialHydration)for(let e=0;e<o.length;e++){let t=o[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(l=e),t.route.id){let{loaderData:e,errors:r}=n,i=t.route.loader&&e[t.route.id]===void 0&&(!r||r[t.route.id]===void 0);if(t.route.lazy||i){c=!0,o=l>=0?o.slice(0,l+1):[o[0]];break}}}return o.reduceRight((e,r,a)=>{let u,d=!1,f=null,p=null;n&&(u=s&&r.route.id?s[r.route.id]:void 0,f=r.route.errorElement||$t,c&&(l<0&&a===0?(Cn(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):l===a&&(d=!0,p=r.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,a+1)),h=()=>{let t;return t=u?f:d?p:r.route.Component?i.createElement(r.route.Component,null):r.route.element?r.route.element:e,i.createElement(tn,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:n!=null},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||a===0)?i.createElement(en,{location:n.location,revalidation:n.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var rn=function(e){return e.UseBlocker=`useBlocker`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e}(rn||{}),Z=function(e){return e.UseBlocker=`useBlocker`,e.UseLoaderData=`useLoaderData`,e.UseActionData=`useActionData`,e.UseRouteError=`useRouteError`,e.UseNavigation=`useNavigation`,e.UseRouteLoaderData=`useRouteLoaderData`,e.UseMatches=`useMatches`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e.UseRouteId=`useRouteId`,e}(Z||{});function an(e){let t=i.useContext(Nt);return!t&&f(!1),t}function on(e){let t=i.useContext(Pt);return!t&&f(!1),t}function sn(e){let t=i.useContext(Y);return!t&&f(!1),t}function cn(e){let t=sn(e),n=t.matches[t.matches.length-1];return!n.route.id&&f(!1),n.route.id}function ln(){return cn(Z.UseRouteId)}function un(){return on(Z.UseNavigation).navigation}function dn(){let e=an(rn.UseRevalidator),t=on(Z.UseRevalidator);return i.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function fn(){let{matches:e,loaderData:t}=on(Z.UseMatches);return i.useMemo(()=>e.map(e=>E(e,t)),[e,t])}function pn(){let e=on(Z.UseLoaderData),t=cn(Z.UseLoaderData);if(!(e.errors&&e.errors[t]!=null))return e.loaderData[t]}function mn(e){return on(Z.UseRouteLoaderData).loaderData[e]}function hn(){let e=on(Z.UseActionData),t=cn(Z.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function gn(){let e=i.useContext(Lt),t=on(Z.UseRouteError),n=cn(Z.UseRouteError);return e===void 0?t.errors?.[n]:e}function _n(){return i.useContext(Ft)?._data}function vn(){return i.useContext(Ft)?._error}var yn=0;function bn(e){let{router:t,basename:n}=an(rn.UseBlocker),r=on(Z.UseBlocker),[a,o]=i.useState(``),s=i.useCallback(t=>{if(typeof e!=`function`)return!!e;if(n===`/`)return e(t);let{currentLocation:r,nextLocation:i,historyAction:a}=t;return e({currentLocation:q({},r,{pathname:F(r.pathname,n)||r.pathname}),nextLocation:q({},i,{pathname:F(i.pathname,n)||i.pathname}),historyAction:a})},[n,e]);return i.useEffect(()=>{let e=String(++yn);return o(e),()=>t.deleteBlocker(e)},[t]),i.useEffect(()=>{a!==``&&t.getBlocker(a,s)},[t,a,s]),a&&r.blockers.has(a)?r.blockers.get(a):Pe}function xn(){let{router:e}=an(rn.UseNavigateStable),t=cn(Z.UseNavigateStable),n=i.useRef(!1);return Ht(()=>{n.current=!0}),i.useCallback(function(r,i){i===void 0&&(i={}),n.current&&(typeof r==`number`?e.navigate(r):e.navigate(r,q({fromRouteId:t},i)))},[e,t])}var Sn={};function Cn(e,t,n){!t&&!Sn[e]&&(Sn[e]=!0)}var wn=(e,t,n)=>(``+t+("You can use the `"+e+"` future flag to opt-in early. ")+(`For more information, see `+n+`.`),void 0);function Tn(e,t){e?.v7_startTransition===void 0&&wn(`v7_startTransition`,"React Router will begin wrapping state updates in `React.startTransition` in v7",`https://reactrouter.com/v6/upgrading/future#v7_starttransition`),e?.v7_relativeSplatPath===void 0&&(!t||t.v7_relativeSplatPath===void 0)&&wn(`v7_relativeSplatPath`,`Relative route resolution within Splat routes is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath`),t&&(t.v7_fetcherPersist===void 0&&wn(`v7_fetcherPersist`,`The persistence behavior of fetchers is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist`),t.v7_normalizeFormMethod===void 0&&wn(`v7_normalizeFormMethod`,"Casing of `formMethod` fields is being normalized to uppercase in v7",`https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod`),t.v7_partialHydration===void 0&&wn(`v7_partialHydration`,"`RouterProvider` hydration behavior is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_partialhydration`),t.v7_skipActionErrorRevalidation===void 0&&wn(`v7_skipActionErrorRevalidation`,"The revalidation behavior after 4xx/5xx `action` responses is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation`))}var En=i.startTransition;function Dn(e){let{basename:t,children:n,initialEntries:r,initialIndex:a,future:o}=e,s=i.useRef();s.current??(s.current=l({initialEntries:r,initialIndex:a,v5Compat:!0}));let c=s.current,[u,d]=i.useState({action:c.action,location:c.location}),{v7_startTransition:f}=o||{},p=i.useCallback(e=>{f&&En?En(()=>d(e)):d(e)},[d,f]);return i.useLayoutEffect(()=>c.listen(p),[c,p]),i.useEffect(()=>Tn(o),[o]),i.createElement(jn,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:c,future:o})}function On(e){let{to:t,replace:n,state:r,relative:a}=e;!zt()&&f(!1);let{future:o,static:s}=i.useContext(J),{matches:c}=i.useContext(Y),{pathname:l}=X(),u=Ut(),d=R(t,pe(c,o.v7_relativeSplatPath),l,a===`path`),p=JSON.stringify(d);return i.useEffect(()=>u(JSON.parse(p),{replace:n,state:r,relative:a}),[u,p,a,n,r]),null}function kn(e){return qt(e.context)}function An(e){f(!1)}function jn(e){let{basename:t=`/`,children:n=null,location:r,navigationType:a=s.Pop,navigator:o,static:c=!1,future:l}=e;zt()&&f(!1);let u=t.replace(/^\/*/,`/`),d=i.useMemo(()=>({basename:u,navigator:o,static:c,future:q({v7_relativeSplatPath:!1},l)}),[u,l,o,c]);typeof r==`string`&&(r=v(r));let{pathname:p=`/`,search:m=``,hash:h=``,state:g=null,key:_=`default`}=r,y=i.useMemo(()=>{let e=F(p,u);return e==null?null:{location:{pathname:e,search:m,hash:h,state:g,key:_},navigationType:a}},[u,p,m,h,g,_,a]);return y==null?null:i.createElement(J.Provider,{value:d},i.createElement(It.Provider,{children:n,value:y}))}function Mn(e){let{children:t,location:n}=e;return Xt(Ln(t),n)}function Nn(e){let{children:t,errorElement:n,resolve:r}=e;return i.createElement(Fn,{resolve:r,errorElement:n},i.createElement(In,null,t))}var Q=function(e){return e[e.pending=0]=`pending`,e[e.success=1]=`success`,e[e.error=2]=`error`,e}(Q||{}),Pn=new Promise(()=>{}),Fn=class extends i.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){}render(){let{children:e,errorElement:t,resolve:n}=this.props,r=null,a=Q.pending;if(!(n instanceof Promise))a=Q.success,r=Promise.resolve(),Object.defineProperty(r,"_tracked",{get:()=>!0}),Object.defineProperty(r,"_data",{get:()=>n});else if(this.state.error){a=Q.error;let e=this.state.error;r=Promise.reject().catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),Object.defineProperty(r,"_error",{get:()=>e})}else n._tracked?(r=n,a=`_error`in r?Q.error:`_data`in r?Q.success:Q.pending):(a=Q.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),r=n.then(e=>Object.defineProperty(n,"_data",{get:()=>e}),e=>Object.defineProperty(n,"_error",{get:()=>e})));if(a===Q.error&&r._error instanceof ve)throw Pn;if(a===Q.error&&!t)throw r._error;if(a===Q.error)return i.createElement(Ft.Provider,{value:r,children:t});if(a===Q.success)return i.createElement(Ft.Provider,{value:r,children:e});throw r}};function In(e){let{children:t}=e,n=_n(),r=typeof t==`function`?t(n):t;return i.createElement(i.Fragment,null,r)}function Ln(e,t){t===void 0&&(t=[]);let n=[];return i.Children.forEach(e,(e,r)=>{if(!i.isValidElement(e))return;let a=[...t,r];if(e.type===i.Fragment){n.push.apply(n,Ln(e.props.children,a));return}e.type!==An&&f(!1),!(!e.props.index||!e.props.children)&&f(!1);let o={id:e.props.id||a.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=Ln(e.props.children,a)),n.push(o)}),n}function Rn(e){return nn(e)}function zn(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:i.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:i.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:i.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function Bn(e,t){return Re({basename:t?.basename,future:q({},t?.future,{v7_prependBasename:!0}),history:l({initialEntries:t?.initialEntries,initialIndex:t?.initialIndex}),hydrationData:t?.hydrationData,routes:e,mapRouteProperties:zn,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation}).initialize()}var Vn=e({AbortedDeferredError:()=>ve,Await:()=>Nn,BrowserRouter:()=>Cr,Form:()=>Ar,HashRouter:()=>wr,Link:()=>Or,MemoryRouter:()=>Dn,NavLink:()=>kr,Navigate:()=>On,NavigationType:()=>s,Outlet:()=>kn,Route:()=>An,Router:()=>jn,RouterProvider:()=>br,Routes:()=>Mn,ScrollRestoration:()=>jr,UNSAFE_DataRouterContext:()=>Nt,UNSAFE_DataRouterStateContext:()=>Pt,UNSAFE_ErrorResponseImpl:()=>we,UNSAFE_FetchersContext:()=>pr,UNSAFE_LocationContext:()=>It,UNSAFE_NavigationContext:()=>J,UNSAFE_RouteContext:()=>Y,UNSAFE_ViewTransitionContext:()=>fr,UNSAFE_useRouteId:()=>ln,UNSAFE_useScrollRestoration:()=>qr,createBrowserRouter:()=>cr,createHashRouter:()=>lr,createMemoryRouter:()=>Bn,createPath:()=>_,createRoutesFromChildren:()=>Ln,createRoutesFromElements:()=>Ln,createSearchParams:()=>Zn,defer:()=>xe,generatePath:()=>oe,isRouteErrorResponse:()=>Te,json:()=>_e,matchPath:()=>P,matchRoutes:()=>w,parsePath:()=>v,redirect:()=>V,redirectDocument:()=>Se,renderMatches:()=>Rn,replace:()=>Ce,resolvePath:()=>ue,unstable_HistoryRouter:()=>Tr,unstable_usePrompt:()=>Xr,useActionData:()=>hn,useAsyncError:()=>vn,useAsyncValue:()=>_n,useBeforeUnload:()=>Jr,useBlocker:()=>bn,useFetcher:()=>Ur,useFetchers:()=>Wr,useFormAction:()=>Hr,useHref:()=>Rt,useInRouterContext:()=>zt,useLinkClickHandler:()=>Ir,useLoaderData:()=>pn,useLocation:()=>X,useMatch:()=>Vt,useMatches:()=>fn,useNavigate:()=>Ut,useNavigation:()=>un,useNavigationType:()=>Bt,useOutlet:()=>qt,useOutletContext:()=>Kt,useParams:()=>Jt,useResolvedPath:()=>Yt,useRevalidator:()=>dn,useRouteError:()=>gn,useRouteLoaderData:()=>mn,useRoutes:()=>Xt,useSearchParams:()=>Lr,useSubmit:()=>Vr,useViewTransitionState:()=>Zr});function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$.apply(this,arguments)}function Hn(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var Un=`get`,Wn=`application/x-www-form-urlencoded`;function Gn(e){return e!=null&&typeof e.tagName==`string`}function Kn(e){return Gn(e)&&e.tagName.toLowerCase()===`button`}function qn(e){return Gn(e)&&e.tagName.toLowerCase()===`form`}function Jn(e){return Gn(e)&&e.tagName.toLowerCase()===`input`}function Yn(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Xn(e,t){return e.button===0&&(!t||t===`_self`)&&!Yn(e)}function Zn(e){return e===void 0&&(e=``),new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Qn(e,t){let n=Zn(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var $n=null;function er(){if($n===null)try{new FormData(document.createElement(`form`),0),$n=!1}catch{$n=!0}return $n}var tr=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function nr(e){return e!=null&&!tr.has(e)?null:e}function rr(e,t){let n,r,i,a,o;if(qn(e)){let o=e.getAttribute(`action`);r=o?F(o,t):null,n=e.getAttribute(`method`)||Un,i=nr(e.getAttribute(`enctype`))||Wn,a=new FormData(e)}else if(Kn(e)||Jn(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?F(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||Un,i=nr(e.getAttribute(`formenctype`))||nr(o.getAttribute(`enctype`))||Wn,a=new FormData(o,e),!er()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?t+`.`:``;a.append(e+`x`,`0`),a.append(e+`y`,`0`)}else t&&a.append(t,r)}}else if(Gn(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=Un,r=null,i=Wn,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}var ir=[`onClick`,`relative`,`reloadDocument`,`replace`,`state`,`target`,`to`,`preventScrollReset`,`viewTransition`],ar=[`aria-current`,`caseSensitive`,`className`,`end`,`style`,`to`,`viewTransition`,`children`],or=[`fetcherKey`,`navigate`,`reloadDocument`,`replace`,`state`,`method`,`action`,`onSubmit`,`relative`,`preventScrollReset`,`viewTransition`],sr=`6`;try{window.__reactRouterVersion=sr}catch{}function cr(e,t){return Re({basename:t?.basename,future:$({},t?.future,{v7_prependBasename:!0}),history:u({window:t?.window}),hydrationData:t?.hydrationData||ur(),routes:e,mapRouteProperties:zn,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window}).initialize()}function lr(e,t){return Re({basename:t?.basename,future:$({},t?.future,{v7_prependBasename:!0}),history:d({window:t?.window}),hydrationData:t?.hydrationData||ur(),routes:e,mapRouteProperties:zn,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window}).initialize()}function ur(){let e=window?.__staticRouterHydrationData;return e&&e.errors&&(e=$({},e,{errors:dr(e.errors)})),e}function dr(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&r.__type===`RouteErrorResponse`)n[e]=new we(r.status,r.statusText,r.data,r.internal===!0);else if(r&&r.__type===`Error`){if(r.__subType){let t=window[r.__subType];if(typeof t==`function`)try{let i=new t(r.message);i.stack=``,n[e]=i}catch{}}if(n[e]==null){let t=Error(r.message);t.stack=``,n[e]=t}}else n[e]=r;return n}var fr=i.createContext({isTransitioning:!1}),pr=i.createContext(new Map),mr=i.startTransition,hr=a.flushSync,gr=i.useId;function _r(e){mr?mr(e):e()}function vr(e){hr?hr(e):e()}var yr=class{constructor(){this.status=`pending`,this.promise=new Promise((e,t)=>{this.resolve=t=>{this.status===`pending`&&(this.status=`resolved`,e(t))},this.reject=e=>{this.status===`pending`&&(this.status=`rejected`,t(e))}})}};function br(e){let{fallbackElement:t,router:n,future:r}=e,[a,o]=i.useState(n.state),[s,c]=i.useState(),[l,u]=i.useState({isTransitioning:!1}),[d,f]=i.useState(),[p,m]=i.useState(),[h,g]=i.useState(),_=i.useRef(new Map),{v7_startTransition:v}=r||{},y=i.useCallback(e=>{v?_r(e):e()},[v]),b=i.useCallback((e,t)=>{let{deletedFetchers:r,flushSync:i,viewTransitionOpts:a}=t;e.fetchers.forEach((e,t)=>{e.data!==void 0&&_.current.set(t,e.data)}),r.forEach(e=>_.current.delete(e));let s=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!=`function`;if(!a||s){i?vr(()=>o(e)):y(()=>o(e));return}if(i){vr(()=>{p&&(d&&d.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:a.currentLocation,nextLocation:a.nextLocation})});let t=n.window.document.startViewTransition(()=>{vr(()=>o(e))});t.finished.finally(()=>{vr(()=>{f(void 0),m(void 0),c(void 0),u({isTransitioning:!1})})}),vr(()=>m(t));return}p?(d&&d.resolve(),p.skipTransition(),g({state:e,currentLocation:a.currentLocation,nextLocation:a.nextLocation})):(c(e),u({isTransitioning:!0,flushSync:!1,currentLocation:a.currentLocation,nextLocation:a.nextLocation}))},[n.window,p,d,_,y]);i.useLayoutEffect(()=>n.subscribe(b),[n,b]),i.useEffect(()=>{l.isTransitioning&&!l.flushSync&&f(new yr)},[l]),i.useEffect(()=>{if(d&&s&&n.window){let e=s,t=d.promise,r=n.window.document.startViewTransition(async()=>{y(()=>o(e)),await t});r.finished.finally(()=>{f(void 0),m(void 0),c(void 0),u({isTransitioning:!1})}),m(r)}},[y,s,d,n.window]),i.useEffect(()=>{d&&s&&a.location.key===s.location.key&&d.resolve()},[d,p,a.location,s]),i.useEffect(()=>{!l.isTransitioning&&h&&(c(h.state),u({isTransitioning:!0,flushSync:!1,currentLocation:h.currentLocation,nextLocation:h.nextLocation}),g(void 0))},[l.isTransitioning,h]),i.useEffect(()=>{},[]);let x=i.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:r?.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:r?.preventScrollReset})}),[n]),S=n.basename||`/`,C=i.useMemo(()=>({router:n,navigator:x,static:!1,basename:S}),[n,x,S]),w=i.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return i.useEffect(()=>Tn(r,n.future),[r,n.future]),i.createElement(i.Fragment,null,i.createElement(Nt.Provider,{value:C},i.createElement(Pt.Provider,{value:a},i.createElement(pr.Provider,{value:_.current},i.createElement(fr.Provider,{value:l},i.createElement(jn,{basename:S,location:a.location,navigationType:a.historyAction,navigator:x,future:w},a.initialized||n.future.v7_partialHydration?i.createElement(xr,{routes:n.routes,future:n.future,state:a}):t))))),null)}var xr=i.memo(Sr);function Sr(e){let{routes:t,future:n,state:r}=e;return Zt(t,void 0,r,n)}function Cr(e){let{basename:t,children:n,future:r,window:a}=e,o=i.useRef();o.current??(o.current=u({window:a,v5Compat:!0}));let s=o.current,[c,l]=i.useState({action:s.action,location:s.location}),{v7_startTransition:d}=r||{},f=i.useCallback(e=>{d&&mr?mr(()=>l(e)):l(e)},[l,d]);return i.useLayoutEffect(()=>s.listen(f),[s,f]),i.useEffect(()=>Tn(r),[r]),i.createElement(jn,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:s,future:r})}function wr(e){let{basename:t,children:n,future:r,window:a}=e,o=i.useRef();o.current??(o.current=d({window:a,v5Compat:!0}));let s=o.current,[c,l]=i.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},f=i.useCallback(e=>{u&&mr?mr(()=>l(e)):l(e)},[l,u]);return i.useLayoutEffect(()=>s.listen(f),[s,f]),i.useEffect(()=>Tn(r),[r]),i.createElement(jn,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:s,future:r})}function Tr(e){let{basename:t,children:n,future:r,history:a}=e,[o,s]=i.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},l=i.useCallback(e=>{c&&mr?mr(()=>s(e)):s(e)},[s,c]);return i.useLayoutEffect(()=>a.listen(l),[a,l]),i.useEffect(()=>Tn(r),[r]),i.createElement(jn,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:a,future:r})}var Er=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Dr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Or=i.forwardRef(function(e,t){let{onClick:n,relative:r,reloadDocument:a,replace:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d}=e,f=Hn(e,ir),{basename:p}=i.useContext(J),m,h=!1;if(typeof l==`string`&&Dr.test(l)&&(m=l,Er))try{let e=new URL(window.location.href),t=l.startsWith(`//`)?new URL(e.protocol+l):new URL(l),n=F(t.pathname,p);t.origin===e.origin&&n!=null?l=n+t.search+t.hash:h=!0}catch{}let g=Rt(l,{relative:r}),_=Ir(l,{replace:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d});function v(e){n&&n(e),e.defaultPrevented||_(e)}return i.createElement(`a`,$({},f,{href:m||g,onClick:h||a?n:v,ref:t,target:c}))}),kr=i.forwardRef(function(e,t){let{"aria-current":n=`page`,caseSensitive:r=!1,className:a=``,end:o=!1,style:s,to:c,viewTransition:l,children:u}=e,d=Hn(e,ar),f=Yt(c,{relative:d.relative}),p=X(),m=i.useContext(Pt),{navigator:h,basename:g}=i.useContext(J),_=m!=null&&Zr(f)&&l===!0,v=h.encodeLocation?h.encodeLocation(f).pathname:f.pathname,y=p.pathname,b=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;r||(y=y.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&g&&(b=F(b,g)||b);let x=v!==`/`&&v.endsWith(`/`)?v.length-1:v.length,S=y===v||!o&&y.startsWith(v)&&y.charAt(x)===`/`,C=b!=null&&(b===v||!o&&b.startsWith(v)&&b.charAt(v.length)===`/`),w={isActive:S,isPending:C,isTransitioning:_},T=S?n:void 0,E;E=typeof a==`function`?a(w):[a,S?`active`:null,C?`pending`:null,_?`transitioning`:null].filter(Boolean).join(` `);let ee=typeof s==`function`?s(w):s;return i.createElement(Or,$({},d,{"aria-current":T,className:E,ref:t,style:ee,to:c,viewTransition:l}),typeof u==`function`?u(w):u)}),Ar=i.forwardRef((e,t)=>{let{fetcherKey:n,navigate:r,reloadDocument:a,replace:o,state:s,method:c=Un,action:l,onSubmit:u,relative:d,preventScrollReset:f,viewTransition:p}=e,m=Hn(e,or),h=Vr(),g=Hr(l,{relative:d}),_=c.toLowerCase()===`get`?`get`:`post`;return i.createElement(`form`,$({ref:t,method:_,action:g,onSubmit:a?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,i=t?.getAttribute(`formmethod`)||c;h(t||e.currentTarget,{fetcherKey:n,method:i,navigate:r,replace:o,state:s,relative:d,preventScrollReset:f,viewTransition:p})}},m))});function jr(e){let{getKey:t,storageKey:n}=e;return qr({getKey:t,storageKey:n}),null}var Mr;(function(e){e.UseScrollRestoration=`useScrollRestoration`,e.UseSubmit=`useSubmit`,e.UseSubmitFetcher=`useSubmitFetcher`,e.UseFetcher=`useFetcher`,e.useViewTransitionState=`useViewTransitionState`})(Mr||(Mr={}));var Nr;(function(e){e.UseFetcher=`useFetcher`,e.UseFetchers=`useFetchers`,e.UseScrollRestoration=`useScrollRestoration`})(Nr||(Nr={}));function Pr(e){let t=i.useContext(Nt);return!t&&f(!1),t}function Fr(e){let t=i.useContext(Pt);return!t&&f(!1),t}function Ir(e,t){let{target:n,replace:r,state:a,preventScrollReset:o,relative:s,viewTransition:c}=t===void 0?{}:t,l=Ut(),u=X(),d=Yt(e,{relative:s});return i.useCallback(t=>{Xn(t,n)&&(t.preventDefault(),l(e,{replace:r===void 0?_(u)===_(d):r,state:a,preventScrollReset:o,relative:s,viewTransition:c}))},[u,l,d,r,a,n,e,o,s,c])}function Lr(e){let t=i.useRef(Zn(e)),n=i.useRef(!1),r=X(),a=i.useMemo(()=>Qn(r.search,n.current?null:t.current),[r.search]),o=Ut();return[a,i.useCallback((e,t)=>{let r=Zn(typeof e==`function`?e(a):e);n.current=!0,o(`?`+r,t)},[o,a])]}function Rr(){if(typeof document>`u`)throw Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}var zr=0,Br=()=>`__`+String(++zr)+`__`;function Vr(){let{router:e}=Pr(Mr.UseSubmit),{basename:t}=i.useContext(J),n=ln();return i.useCallback(function(r,i){i===void 0&&(i={}),Rr();let{action:a,method:o,encType:s,formData:c,body:l}=rr(r,t);if(i.navigate===!1){let t=i.fetcherKey||Br();e.fetch(t,n,i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:l,formMethod:i.method||o,formEncType:i.encType||s,flushSync:i.flushSync})}else e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:l,formMethod:i.method||o,formEncType:i.encType||s,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function Hr(e,t){let{relative:n}=t===void 0?{}:t,{basename:r}=i.useContext(J),a=i.useContext(Y);!a&&f(!1);let[o]=a.matches.slice(-1),s=$({},Yt(e||`.`,{relative:n})),c=X();if(e==null){s.search=c.search;let e=new URLSearchParams(s.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();s.search=n?`?`+n:``}}return(!e||e===`.`)&&o.route.index&&(s.search=s.search?s.search.replace(/^\?/,`?index&`):`?index`),r!==`/`&&(s.pathname=s.pathname===`/`?r:z([r,s.pathname])),_(s)}function Ur(e){let{key:t}=e===void 0?{}:e,{router:n}=Pr(Mr.UseFetcher),r=Fr(Nr.UseFetcher),a=i.useContext(pr),o=i.useContext(Y),s=o.matches[o.matches.length-1]?.route.id;!a&&f(!1),!o&&f(!1),s??f(!1);let c=gr?gr():``,[l,u]=i.useState(t||c);t&&t!==l?u(t):l||u(Br()),i.useEffect(()=>(n.getFetcher(l),()=>{n.deleteFetcher(l)}),[n,l]);let d=i.useCallback((e,t)=>{!s&&f(!1),n.fetch(l,s,e,t)},[l,s,n]),p=Vr(),m=i.useCallback((e,t)=>{p(e,$({},t,{navigate:!1,fetcherKey:l}))},[l,p]),h=i.useMemo(()=>i.forwardRef((e,t)=>i.createElement(Ar,$({},e,{navigate:!1,fetcherKey:l,ref:t}))),[l]),g=r.fetchers.get(l)||Ne,_=a.get(l);return i.useMemo(()=>$({Form:h,submit:m,load:d},g,{data:_}),[h,m,d,g,_])}function Wr(){let e=Fr(Nr.UseFetchers);return Array.from(e.fetchers.entries()).map(e=>{let[t,n]=e;return $({},n,{key:t})})}var Gr=`react-router-scroll-positions`,Kr={};function qr(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=Pr(Mr.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:o}=Fr(Nr.UseScrollRestoration),{basename:s}=i.useContext(J),c=X(),l=fn(),u=un();i.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),Yr(i.useCallback(()=>{if(u.state===`idle`){let e=(t?t(c,l):null)||c.key;Kr[e]=window.scrollY}try{sessionStorage.setItem(n||Gr,JSON.stringify(Kr))}catch{}window.history.scrollRestoration=`auto`},[n,t,u.state,c,l])),typeof document<`u`&&(i.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(n||Gr);e&&(Kr=JSON.parse(e))}catch{}},[n]),i.useLayoutEffect(()=>{let e=t&&s!==`/`?(e,n)=>t($({},e,{pathname:F(e.pathname,s)||e.pathname}),n):t,n=r?.enableScrollRestoration(Kr,()=>window.scrollY,e);return()=>n&&n()},[r,s,t]),i.useLayoutEffect(()=>{if(a!==!1){if(typeof a==`number`){window.scrollTo(0,a);return}if(c.hash){let e=document.getElementById(decodeURIComponent(c.hash.slice(1)));if(e){e.scrollIntoView();return}}o!==!0&&window.scrollTo(0,0)}},[c,a,o]))}function Jr(e,t){let{capture:n}=t||{};i.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`beforeunload`,e,t),()=>{window.removeEventListener(`beforeunload`,e,t)}},[e,n])}function Yr(e,t){let{capture:n}=t||{};i.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function Xr(e){let{when:t,message:n}=e,r=bn(t);i.useEffect(()=>{r.state===`blocked`&&(window.confirm(n)?setTimeout(r.proceed,0):r.reset())},[r,n]),i.useEffect(()=>{r.state===`blocked`&&!t&&r.reset()},[r,t])}function Zr(e,t){t===void 0&&(t={});let n=i.useContext(fr);n??f(!1);let{basename:r}=Pr(Mr.useViewTransitionState),a=Yt(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=F(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=F(n.nextLocation.pathname,r)||n.nextLocation.pathname;return P(a.pathname,s)!=null||P(a.pathname,o)!=null}export{qt as $,On as A,hn as B,Vr as C,Pt as D,Nt as E,jn as F,zt as G,_n as H,Mn as I,Vt as J,pn as K,Bn as L,kn as M,An as N,It as O,Y as P,Bt as Q,Ln as R,Lr as S,ue as St,Nn as T,bn as U,vn as V,Rt as W,Ut as X,fn as Y,un as Z,Wr as _,w as _t,Tr as a,ln as at,Xr as b,Se as bt,br as c,ve as ct,cr as d,_ as dt,Kt as et,lr as f,xe as ft,Ur as g,P as gt,Jr as h,_e as ht,wr as i,gn as it,J as j,Dn as k,jr as l,s as lt,Vn as m,Te as mt,pr as n,Yt as nt,Or as o,mn as ot,Zn as p,oe as pt,X as q,Ar as r,dn as rt,kr as s,Xt as st,Cr as t,Jt as tt,fr as u,we as ut,Hr as v,v as vt,Zr as w,qr as x,Ce as xt,Ir as y,V as yt,Rn as z};
@@ -1,5 +0,0 @@
1
- import{n as e,r as t}from"./chunk-QTnfLwEv.js";import{t as n}from"./react-BWGRLa9R.js";var r=t(n());function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}function a(e){"@babel/helpers - typeof";return a=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},a(e)}var o={},s=[],c=function(e){s.push(e)};function l(e,t){}function u(e,t){}function d(){o={}}function f(e,t,n){!t&&!o[n]&&(e(!1,n),o[n]=!0)}function p(e,t){f(l,e,t)}function m(e,t){f(u,e,t)}p.preMessage=c,p.resetWarned=d,p.noteOnce=m;function h(e,t){if(a(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(a(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function g(e){var t=h(e,`string`);return a(t)==`symbol`?t:t+``}function _(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?v(Object(n),!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b(e,t,n){var i=r.useRef({});return(!(`value`in i.current)||n(i.current.condition,t))&&(i.current.value=e(),i.current.condition=t),i.current.value}function x(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,g(r.key),r)}}function C(e,t,n){return t&&S(e.prototype,t),n&&S(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function T(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function D(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(D=function(){return!!e})()}function O(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function ee(e,t){if(t&&(a(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return O(e)}function te(e){var t=D();return function(){var n,r=E(e);if(t){var i=E(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ee(this,n)}}function ne(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function re(e){if(Array.isArray(e))return ne(e)}function ie(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function ae(e,t){if(e){if(typeof e==`string`)return ne(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ne(e,t):void 0}}function oe(){throw TypeError(`Invalid attempt to spread non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(e){return re(e)||ie(e)||ae(e)||oe()}function se(e){if(Array.isArray(e))return e}function ce(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function le(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A(e,t){return se(e)||ce(e,t)||ae(e,t)||le()}function j(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function M(){return!!(typeof window<`u`&&window.document&&window.document.createElement)}function ue(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var de=`data-rc-order`,fe=`data-rc-priority`,pe=`rc-util-key`,me=new Map;function he(){var e=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).mark;return e?e.startsWith(`data-`)?e:`data-${e}`:pe}function ge(e){return e.attachTo?e.attachTo:document.querySelector(`head`)||document.body}function _e(e){return e===`queue`?`prependQueue`:e?`prepend`:`append`}function ve(e){return Array.from((me.get(e)||e).children).filter(function(e){return e.tagName===`STYLE`})}function ye(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!M())return null;var n=t.csp,r=t.prepend,i=t.priority,a=i===void 0?0:i,o=_e(r),s=o===`prependQueue`,c=document.createElement(`style`);c.setAttribute(de,o),s&&a&&c.setAttribute(fe,`${a}`),n!=null&&n.nonce&&(c.nonce=n?.nonce),c.innerHTML=e;var l=ge(t),u=l.firstChild;if(r){if(s){var d=(t.styles||ve(l)).filter(function(e){return[`prepend`,`prependQueue`].includes(e.getAttribute(de))?a>=Number(e.getAttribute(fe)||0):!1});if(d.length)return l.insertBefore(c,d[d.length-1].nextSibling),c}l.insertBefore(c,u)}else l.appendChild(c);return c}function be(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=ge(t);return(t.styles||ve(n)).find(function(n){return n.getAttribute(he(t))===e})}function xe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=be(e,t);n&&ge(t).removeChild(n)}function Se(e,t){var n=me.get(e);if(!n||!ue(document,n)){var r=ye(``,t),i=r.parentNode;me.set(e,i),e.removeChild(r)}}function N(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=ge(n),i=ve(r),a=y(y({},n),{},{styles:i});Se(r,a);var o=be(t,a);if(o){var s;return(s=a.csp)!=null&&s.nonce&&o.nonce!==a.csp?.nonce&&(o.nonce=a.csp?.nonce),o.innerHTML!==e&&(o.innerHTML=e),o}var c=ye(e,a);return c.setAttribute(he(a),t),c}function Ce(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function we(e,t){if(e==null)return{};var n,r,i=Ce(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Te(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(e);if(p(!s,`Warning: There may be circular references`),s)return!1;if(e===t)return!0;if(n&&o>1)return!1;r.add(e);var c=o+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var l=0;l<e.length;l++)if(!i(e[l],t[l],c))return!1;return!0}if(e&&t&&a(e)===`object`&&a(t)===`object`){var u=Object.keys(e);return u.length===Object.keys(t).length?u.every(function(n){return i(e[n],t[n],c)}):!1}return!1}return i(e,t)}var Ee=`%`;function De(e){return e.join(Ee)}var Oe=function(){function e(t){x(this,e),_(this,`instanceId`,void 0),_(this,`cache`,new Map),_(this,`extracted`,new Set),this.instanceId=t}return C(e,[{key:`get`,value:function(e){return this.opGet(De(e))}},{key:`opGet`,value:function(e){return this.cache.get(e)||null}},{key:`update`,value:function(e,t){return this.opUpdate(De(e),t)}},{key:`opUpdate`,value:function(e,t){var n=t(this.cache.get(e));n===null?this.cache.delete(e):this.cache.set(e,n)}}]),e}(),ke=[`children`],P=`data-token-hash`,F=`data-css-hash`,Ae=`__cssinjs_instance__`;function je(){var e=Math.random().toString(12).slice(2);if(typeof document<`u`&&document.head&&document.body){var t=document.body.querySelectorAll(`style[data-css-hash]`)||[],n=document.head.firstChild;Array.from(t).forEach(function(t){t[Ae]=t.__cssinjs_instance__||e,t.__cssinjs_instance__===e&&document.head.insertBefore(t,n)});var r={};Array.from(document.querySelectorAll(`style[${F}]`)).forEach(function(t){var n=t.getAttribute(F);if(r[n]){if(t.__cssinjs_instance__===e){var i;(i=t.parentNode)==null||i.removeChild(t)}}else r[n]=!0})}return new Oe(e)}var I=r.createContext({hashPriority:`low`,cache:je(),defaultCache:!0}),Me=function(e){var t=e.children,n=we(e,ke),i=r.useContext(I),a=b(function(){var e=y({},i);Object.keys(n).forEach(function(t){var r=n[t];n[t]!==void 0&&(e[t]=r)});var t=n.cache;return e.cache=e.cache||je(),e.defaultCache=!t&&i.defaultCache,e},[i,n],function(e,t){return!Te(e[0],t[0],!0)||!Te(e[1],t[1],!0)});return r.createElement(I.Provider,{value:a},t)},Ne=C(function e(){x(this,e)}),Pe=`CALC_UNIT`,Fe=new RegExp(Pe,`g`);function Ie(e){return typeof e==`number`?`${e}${Pe}`:e}var Le=function(e){T(n,e);var t=te(n);function n(e,r){var i;x(this,n),i=t.call(this),_(O(i),`result`,``),_(O(i),`unitlessCssVar`,void 0),_(O(i),`lowPriority`,void 0);var o=a(e);return i.unitlessCssVar=r,e instanceof n?i.result=`(${e.result})`:o===`number`?i.result=Ie(e):o===`string`&&(i.result=e),i}return C(n,[{key:`add`,value:function(e){return e instanceof n?this.result=`${this.result} + ${e.getResult()}`:(typeof e==`number`||typeof e==`string`)&&(this.result=`${this.result} + ${Ie(e)}`),this.lowPriority=!0,this}},{key:`sub`,value:function(e){return e instanceof n?this.result=`${this.result} - ${e.getResult()}`:(typeof e==`number`||typeof e==`string`)&&(this.result=`${this.result} - ${Ie(e)}`),this.lowPriority=!0,this}},{key:`mul`,value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof n?this.result=`${this.result} * ${e.getResult(!0)}`:(typeof e==`number`||typeof e==`string`)&&(this.result=`${this.result} * ${e}`),this.lowPriority=!1,this}},{key:`div`,value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof n?this.result=`${this.result} / ${e.getResult(!0)}`:(typeof e==`number`||typeof e==`string`)&&(this.result=`${this.result} / ${e}`),this.lowPriority=!1,this}},{key:`getResult`,value:function(e){return this.lowPriority||e?`(${this.result})`:this.result}},{key:`equal`,value:function(e){var t=this,n=(e||{}).unit,r=!0;return typeof n==`boolean`?r=n:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(Fe,r?`px`:``),this.lowPriority===void 0?this.result:`calc(${this.result})`}}]),n}(Ne),Re=function(e){T(n,e);var t=te(n);function n(e){var r;return x(this,n),r=t.call(this),_(O(r),`result`,0),e instanceof n?r.result=e.result:typeof e==`number`&&(r.result=e),r}return C(n,[{key:`add`,value:function(e){return e instanceof n?this.result+=e.result:typeof e==`number`&&(this.result+=e),this}},{key:`sub`,value:function(e){return e instanceof n?this.result-=e.result:typeof e==`number`&&(this.result-=e),this}},{key:`mul`,value:function(e){return e instanceof n?this.result*=e.result:typeof e==`number`&&(this.result*=e),this}},{key:`div`,value:function(e){return e instanceof n?this.result/=e.result:typeof e==`number`&&(this.result/=e),this}},{key:`equal`,value:function(){return this.result}}]),n}(Ne),ze=function(e,t){var n=e===`css`?Le:Re;return function(e){return new n(e,t)}};function Be(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Ve=function(){function e(){x(this,e),_(this,`cache`,void 0),_(this,`keys`,void 0),_(this,`cacheCallTimes`,void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return C(e,[{key:`size`,value:function(){return this.keys.length}},{key:`internalGet`,value:function(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={map:this.cache};return e.forEach(function(e){if(!r)r=void 0;else{var t;r=(t=r)==null||(t=t.map)==null?void 0:t.get(e)}}),(t=r)!=null&&t.value&&n&&(r.value[1]=this.cacheCallTimes++),r?.value}},{key:`get`,value:function(e){return this.internalGet(e,!0)?.[0]}},{key:`has`,value:function(e){return!!this.internalGet(e)}},{key:`set`,value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=A(this.keys.reduce(function(e,t){var n=A(e,2)[1];return r.internalGet(t)[1]<n?[t,r.internalGet(t)[1]]:e},[this.keys[0],this.cacheCallTimes]),1)[0];this.delete(i)}this.keys.push(t)}var a=this.cache;t.forEach(function(e,i){if(i===t.length-1)a.set(e,{value:[n,r.cacheCallTimes++]});else{var o=a.get(e);o?o.map||(o.map=new Map):a.set(e,{map:new Map}),a=a.get(e).map}})}},{key:`deleteByPath`,value:function(e,t){var n=e.get(t[0]);if(t.length===1)return n.map?e.set(t[0],{map:n.map}):e.delete(t[0]),n.value?.[0];var r=this.deleteByPath(n.map,t.slice(1));return(!n.map||n.map.size===0)&&!n.value&&e.delete(t[0]),r}},{key:`delete`,value:function(e){if(this.has(e))return this.keys=this.keys.filter(function(t){return!Be(t,e)}),this.deleteByPath(this.cache,e)}}]),e}();_(Ve,`MAX_CACHE_SIZE`,20),_(Ve,`MAX_CACHE_OFFSET`,5);var He=0,Ue=function(){function e(t){x(this,e),_(this,`derivatives`,void 0),_(this,`id`,void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=He,t.length===0&&t.length,He+=1}return C(e,[{key:`getDerivativeToken`,value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),We=new Ve;function Ge(e){var t=Array.isArray(e)?e:[e];return We.has(t)||We.set(t,new Ue(t)),We.get(t)}var Ke=new WeakMap,qe={};function Je(e,t){for(var n=Ke,r=0;r<t.length;r+=1){var i=t[r];n.has(i)||n.set(i,new WeakMap),n=n.get(i)}return n.has(qe)||n.set(qe,e()),n.get(qe)}var Ye=new WeakMap;function L(e){var t=Ye.get(e)||``;return t||(Object.keys(e).forEach(function(n){var r=e[n];t+=n,r instanceof Ue?t+=r.id:r&&a(r)===`object`?t+=L(r):t+=r}),t=j(t),Ye.set(e,t)),t}function Xe(e,t){return j(`${t}_${L(e)}`)}var R=`random-${Date.now()}-${Math.random()}`.replace(/\./g,``),Ze=`_bAmBoO_`;function Qe(e,t,n){if(M()){var r;N(e,R);var i=document.createElement(`div`);i.style.position=`fixed`,i.style.left=`0`,i.style.top=`0`,t?.(i),document.body.appendChild(i);var a=n?n(i):getComputedStyle(i).content?.includes(Ze);return(r=i.parentNode)==null||r.removeChild(i),xe(R),a}return!1}var $e=void 0;function et(){return $e===void 0&&($e=Qe(`:where(.${R}) { content: "${Ze}"!important; }`,function(e){e.className=R})),$e}var tt=void 0;function nt(){return tt===void 0&&(tt=Qe(`.${R} { inset-block: 93px !important; }`,function(e){e.className=R},function(e){return getComputedStyle(e).bottom===`93px`})),tt}var rt=M();function it(e){return typeof e==`number`?`${e}px`:e}function z(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(arguments.length>4&&arguments[4]!==void 0&&arguments[4])return e;var i=y(y({},r),{},_(_({},P,t),F,n));return`<style ${Object.keys(i).map(function(e){var t=i[e];return t?`${e}="${t}"`:null}).filter(function(e){return e}).join(` `)}>${e}</style>`}var at=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``;return`--${t?`${t}-`:``}${e}`.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,`$1-$2`).replace(/([a-z])([A-Z0-9])/g,`$1-$2`).toLowerCase()},ot=function(e,t,n){return Object.keys(e).length?`.${t}${n!=null&&n.scope?`.${n.scope}`:``}{${Object.entries(e).map(function(e){var t=A(e,2);return`${t[0]}:${t[1]};`}).join(``)}}`:``},st=function(e,t,n){var r={},i={};return Object.entries(e).forEach(function(e){var t,a,o=A(e,2),s=o[0],c=o[1];if(n!=null&&(t=n.preserve)!=null&&t[s])i[s]=c;else if((typeof c==`string`||typeof c==`number`)&&!(n!=null&&(a=n.ignore)!=null&&a[s])){var l,u=at(s,n?.prefix);r[u]=typeof c==`number`&&!(n!=null&&(l=n.unitless)!=null&&l[s])?`${c}px`:String(c),i[s]=`var(${u})`}}),[i,ot(r,t,{scope:n?.scope})]},ct=M()?r.useLayoutEffect:r.useEffect,lt=function(e,t){var n=r.useRef(!0);ct(function(){return e(n.current)},t),ct(function(){return n.current=!1,function(){n.current=!0}},[])},ut=function(e,t){lt(function(t){if(!t)return e()},t)},dt=y({},r).useInsertionEffect,ft=dt?function(e,t,n){return dt(function(){return e(),t()},n)}:function(e,t,n){r.useMemo(e,n),lt(function(){return t(!0)},n)},pt=y({},r).useInsertionEffect===void 0?function(){return function(e){e()}}:function(e){var t=[],n=!1;function i(e){n||t.push(e)}return r.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(e){return e()})}},e),i};function mt(e,t,n,i,a){var o=r.useContext(I).cache,s=De([e].concat(k(t))),c=pt([s]),l=function(e){o.opUpdate(s,function(t){var r=A(t||[void 0,void 0],2),i=r[0],a=[i===void 0?0:i,r[1]||n()];return e?e(a):a})};r.useMemo(function(){l()},[s]);var u=o.opGet(s)[1];return ft(function(){a?.(u)},function(e){return l(function(t){var n=A(t,2),r=n[0],i=n[1];return e&&r===0&&a?.(u),[r+1,i]}),function(){o.opUpdate(s,function(t){var n=A(t||[],2),r=n[0],a=r===void 0?0:r,l=n[1];return a-1==0?(c(function(){(e||!o.opGet(s))&&i?.(l,!1)}),null):[a-1,l]})}},[s]),u}var ht={},gt=`css`,B=new Map;function _t(e){B.set(e,(B.get(e)||0)+1)}function vt(e,t){typeof document<`u`&&document.querySelectorAll(`style[${P}="${e}"]`).forEach(function(e){if(e.__cssinjs_instance__===t){var n;(n=e.parentNode)==null||n.removeChild(e)}})}var yt=0;function bt(e,t){B.set(e,(B.get(e)||0)-1);var n=new Set;B.forEach(function(e,t){e<=0&&n.add(t)}),B.size-n.size>yt&&n.forEach(function(e){vt(e,t),B.delete(e)})}var xt=function(e,t,n,r){var i=y(y({},n.getDerivativeToken(e)),t);return r&&(i=r(i)),i},St=`token`;function Ct(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=(0,r.useContext)(I),a=i.cache.instanceId,o=i.container,s=n.salt,c=s===void 0?``:s,l=n.override,u=l===void 0?ht:l,d=n.formatToken,f=n.getComputedToken,p=n.cssVar,m=Je(function(){return Object.assign.apply(Object,[{}].concat(k(t)))},t),h=L(m),g=L(u),_=p?L(p):``;return mt(St,[c,e.id,h,g,_],function(){var t=f?f(m,u,e):xt(m,u,e,d),n=y({},t),r=``;if(p){var i=A(st(t,p.key,{prefix:p.prefix,ignore:p.ignore,unitless:p.unitless,preserve:p.preserve}),2);t=i[0],r=i[1]}var a=Xe(t,c);t._tokenKey=a,n._tokenKey=Xe(n,c);var o=p?.key??a;t._themeKey=o,_t(o);var s=`${gt}-${j(a)}`;return t._hashId=s,[t,s,n,r,p?.key||``]},function(e){bt(e[0]._themeKey,a)},function(e){var t=A(e,4),n=t[0],r=t[3];if(p&&r){var i=N(r,j(`css-variables-${n._themeKey}`),{mark:F,prepend:`queue`,attachTo:o,priority:-999});i[Ae]=a,i.setAttribute(P,n._themeKey)}})}var wt=function(e,t,n){var r=A(e,5),i=r[2],a=r[3],o=r[4],s=(n||{}).plain;if(!a)return null;var c=i._tokenKey,l=-999;return[l,c,z(a,o,c,{"data-rc-order":`prependQueue`,"data-rc-priority":`${l}`},s)]},Tt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Et=`comm`,Dt=`rule`,Ot=`decl`,kt=`@import`,At=`@namespace`,jt=`@keyframes`,Mt=`@layer`,Nt=Math.abs,Pt=String.fromCharCode;function Ft(e){return e.trim()}function It(e,t,n){return e.replace(t,n)}function Lt(e,t,n){return e.indexOf(t,n)}function V(e,t){return e.charCodeAt(t)|0}function H(e,t,n){return e.slice(t,n)}function U(e){return e.length}function Rt(e){return e.length}function zt(e,t){return t.push(e),e}var Bt=1,W=1,Vt=0,G=0,K=0,q=``;function Ht(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Bt,column:W,length:o,return:``,siblings:s}}function Ut(){return K}function Wt(){return K=G>0?V(q,--G):0,W--,K===10&&(W=1,Bt--),K}function J(){return K=G<Vt?V(q,G++):0,W++,K===10&&(W=1,Bt++),K}function Y(){return V(q,G)}function Gt(){return G}function Kt(e,t){return H(q,e,t)}function X(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qt(e){return Bt=W=1,Vt=U(q=e),G=0,[]}function Jt(e){return q=``,e}function Yt(e){return Ft(Kt(G-1,Qt(e===91?e+2:e===40?e+1:e)))}function Xt(e){for(;(K=Y())&&K<33;)J();return X(e)>2||X(K)>3?``:` `}function Zt(e,t){for(;--t&&J()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return Kt(e,Gt()+(t<6&&Y()==32&&J()==32))}function Qt(e){for(;J();)switch(K){case e:return G;case 34:case 39:e!==34&&e!==39&&Qt(K);break;case 40:e===41&&Qt(e);break;case 92:J();break}return G}function $t(e,t){for(;J()&&e+K!==57&&!(e+K===84&&Y()===47););return`/*`+Kt(t,G-1)+`*`+Pt(e===47?e:J())}function en(e){for(;!X(Y());)J();return Kt(e,G)}function tn(e){return Jt(nn(``,null,null,null,[``],e=qt(e),0,[0],e))}function nn(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=J()){case 40:if(m!=108&&V(C,d-1)==58){Lt(C+=It(Yt(v),`&`,`&\f`),`&\f`,Nt(l?s[l-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Yt(v);break;case 9:case 10:case 13:case 32:C+=Xt(m);break;case 92:C+=Zt(Gt()-1,7);continue;case 47:switch(Y()){case 42:case 47:zt(an($t(J(),Gt()),t,n,c),c),(X(m||1)==5||X(Y()||1)==5)&&U(C)&&H(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=U(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=It(C,/\f/g,``)),p>0&&(U(C)-d||h===0&&m===47)&&zt(p>32?on(C+`;`,r,n,d-1,c):on(It(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if(zt(S=rn(C,t,n,l,u,i,s,y,b=[],x=[],d,a),a),v===123)if(u===0)nn(C,t,S,S,b,a,d,s,x);else{switch(f){case 99:if(V(C,3)===110)break;case 108:if(V(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?nn(e,S,S,r&&zt(rn(e,S,S,0,0,i,s,y,i,b=[],d,x),x),i,x,d,s,r?b:x):nn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+U(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Wt()==125)continue}switch(C+=Pt(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(U(C)-1)*_,_=1;break;case 64:Y()===45&&(C+=Yt(J())),f=Y(),u=d=U(y=C+=en(Gt())),v++;break;case 45:m===45&&U(C)==2&&(h=0)}}return a}function rn(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=Rt(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=H(e,f+1,f=Nt(g=o[h])),b=e;v<m;++v)(b=Ft(g>0?p[v]+` `+y:It(y,/&\f/g,p[v])))&&(c[_++]=b);return Ht(e,t,n,i===0?Dt:s,c,l,u,d)}function an(e,t,n,r){return Ht(e,t,n,Et,Pt(Ut()),H(e,2,-2),0,r)}function on(e,t,n,r,i){return Ht(e,t,n,Ot,H(e,0,r),H(e,r+1,-1),r,i)}function sn(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function cn(e,t,n,r){switch(e.type){case Mt:if(e.children.length)break;case kt:case At:case Ot:return e.return=e.return||e.value;case Et:return``;case jt:return e.return=e.value+`{`+sn(e.children,r)+`}`;case Dt:if(!U(e.value=e.props.join(`,`)))return``}return U(n=sn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Z(e,t){var n=t.path,r=t.parentSelectors;p(!1,`[Ant Design CSS-in-JS] ${n?`Error in ${n}: `:``}${e}${r.length?` Selector: ${r.join(` | `)}`:``}`)}function ln(e){return(e.match(/:not\(([^)]*)\)/)?.[1]||``).split(/(\[[^[]*])|(?=[.#])/).filter(function(e){return e}).length>1}function un(e){return e.parentSelectors.reduce(function(e,t){return e?t.includes(`&`)?t.replace(/&/g,e):`${e} ${t}`:t},``)}var dn=function(e,t,n){var r=un(n).match(/:not\([^)]*\)/g)||[];r.length>0&&r.some(ln)&&Z(`Concat ':not' selector not support in legacy browsers.`,n)},fn=function(e,t,n){switch(e){case`marginLeft`:case`marginRight`:case`paddingLeft`:case`paddingRight`:case`left`:case`right`:case`borderLeft`:case`borderLeftWidth`:case`borderLeftStyle`:case`borderLeftColor`:case`borderRight`:case`borderRightWidth`:case`borderRightStyle`:case`borderRightColor`:case`borderTopLeftRadius`:case`borderTopRightRadius`:case`borderBottomLeftRadius`:case`borderBottomRightRadius`:Z(`You seem to be using non-logical property '${e}' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case`margin`:case`padding`:case`borderWidth`:case`borderStyle`:if(typeof t==`string`){var r=t.split(` `).map(function(e){return e.trim()});r.length===4&&r[1]!==r[3]&&Z(`You seem to be using '${e}' property with different left ${e} and right ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n)}return;case`clear`:case`textAlign`:(t===`left`||t===`right`)&&Z(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case`borderRadius`:typeof t==`string`&&t.split(`/`).map(function(e){return e.trim()}).reduce(function(e,t){if(e)return e;var n=t.split(` `).map(function(e){return e.trim()});return n.length>=2&&n[0]!==n[1]||n.length===3&&n[1]!==n[2]||n.length===4&&n[2]!==n[3]?!0:e},!1)&&Z(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;default:}},pn=function(e,t,n){(typeof t==`string`&&/NaN/g.test(t)||Number.isNaN(t))&&Z(`Unexpected 'NaN' in property '${e}: ${t}'.`,n)},mn=function(e,t,n){n.parentSelectors.some(function(e){return e.split(`,`).some(function(e){return e.split(`&`).length>2})})&&Z("Should not use more than one `&` in a selector.",n)},hn=`data-ant-cssinjs-cache-path`,gn=`_FILE_STYLE__`;function _n(e){return Object.keys(e).map(function(t){return`${t}:${e[t]}`}).join(`;`)}var Q,vn=!0;function yn(){if(!Q&&(Q={},M())){var e=document.createElement(`div`);e.className=hn,e.style.position=`fixed`,e.style.visibility=`hidden`,e.style.top=`-9999px`,document.body.appendChild(e);var t=getComputedStyle(e).content||``;t=t.replace(/^"/,``).replace(/"$/,``),t.split(`;`).forEach(function(e){var t=A(e.split(`:`),2),n=t[0],r=t[1];Q[n]=r});var n=document.querySelector(`style[${hn}]`);if(n){var r;vn=!1,(r=n.parentNode)==null||r.removeChild(n)}document.body.removeChild(e)}}function bn(e){return yn(),!!Q[e]}function xn(e){var t=Q[e],n=null;if(t&&M())if(vn)n=gn;else{var r=document.querySelector(`style[${F}="${Q[e]}"]`);r?n=r.innerHTML:delete Q[e]}return[n,t]}var Sn=`_skip_check_`,Cn=`_multi_value_`;function wn(e){return sn(tn(e),cn).replace(/\{%%%\:[^;];}/g,`;`)}function Tn(e){return a(e)===`object`&&e&&(Sn in e||Cn in e)}function En(e,t,n){if(!t)return e;var r=`.${t}`,i=n===`low`?`:where(${r})`:r;return e.split(`,`).map(function(e){var t=e.trim().split(/\s+/),n=t[0]||``,r=n.match(/^\w+/)?.[0]||``;return n=`${r}${i}${n.slice(r.length)}`,[n].concat(k(t.slice(1))).join(` `)}).join(`,`)}var Dn=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,o=r.injectHash,s=r.parentSelectors,c=n.hashId,l=n.layer;n.path;var u=n.hashPriority,d=n.transformers,f=d===void 0?[]:d;n.linters;var p=``,m={};function h(t){var r=t.getName(c);if(!m[r]){var i=A(e(t.style,n,{root:!1,parentSelectors:s}),1)[0];m[r]=`@keyframes ${t.getName(c)}${i}`}}function g(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.forEach(function(e){Array.isArray(e)?g(e,t):e&&t.push(e)}),t}return g(Array.isArray(t)?t:[t]).forEach(function(t){var r=typeof t==`string`&&!i?{}:t;if(typeof r==`string`)p+=`${r}
4
- `;else if(r._keyframe)h(r);else{var l=f.reduce(function(e,t){var n;return(t==null||(n=t.visit)==null?void 0:n.call(t,e))||e},r);Object.keys(l).forEach(function(t){var r=l[t];if(a(r)===`object`&&r&&(t!==`animationName`||!r._keyframe)&&!Tn(r)){var d=!1,f=t.trim(),g=!1;(i||o)&&c?f.startsWith(`@`)?d=!0:f=En(f===`&`?``:t,c,u):i&&!c&&(f===`&`||f===``)&&(f=``,g=!0);var _=A(e(r,n,{root:g,injectHash:d,parentSelectors:[].concat(k(s),[f])}),2),v=_[0],b=_[1];m=y(y({},m),b),p+=`${f}${v}`}else{function e(e,t){var n=e.replace(/[A-Z]/g,function(e){return`-${e.toLowerCase()}`}),r=t;!Tt[e]&&typeof r==`number`&&r!==0&&(r=`${r}px`),e===`animationName`&&t!=null&&t._keyframe&&(h(t),r=t.getName(c)),p+=`${n}:${r};`}var x=r?.value??r;a(r)===`object`&&r!=null&&r[Cn]&&Array.isArray(x)?x.forEach(function(n){e(t,n)}):e(t,x)}})}}),i?l&&(p&&(p=`@layer ${l.name} {${p}}`),l.dependencies&&(m[`@layer ${l.name}`]=l.dependencies.map(function(e){return`@layer ${e}, ${l.name};`}).join(`
5
- `))):p=`{${p}}`,[p,m]};function On(e,t){return j(`${e.join(`%`)}${t}`)}function kn(){return null}var An=`style`;function jn(e,t){var n=e.token,a=e.path,o=e.hashId,s=e.layer,c=e.nonce,l=e.clientOnly,u=e.order,d=u===void 0?0:u,f=r.useContext(I),p=f.autoClear;f.mock;var m=f.defaultCache,h=f.hashPriority,g=f.container,v=f.ssrInline,b=f.transformers,x=f.linters,S=f.cache,C=f.layer,w=n._tokenKey,T=[w];C&&T.push(`layer`),T.push.apply(T,k(a));var E=rt,D=A(mt(An,T,function(){var e=T.join(`|`);if(bn(e)){var n=A(xn(e),2),r=n[0],i=n[1];if(r)return[r,w,i,{},l,d]}var c=A(Dn(t(),{hashId:o,hashPriority:h,layer:C?s:void 0,path:a.join(`-`),transformers:b,linters:x}),2),u=c[0],f=c[1],p=wn(u);return[p,w,On(T,p),f,l,d]},function(e,t){var n=A(e,3)[2];(t||p)&&rt&&xe(n,{mark:F,attachTo:g})},function(e){var t=A(e,4),n=t[0];t[1];var r=t[2],i=t[3];if(E&&n!==`_FILE_STYLE__`){var a={mark:F,prepend:C?!1:`queue`,attachTo:g,priority:d},o=typeof c==`function`?c():c;o&&(a.csp={nonce:o});var s=[],l=[];Object.keys(i).forEach(function(e){e.startsWith(`@layer`)?s.push(e):l.push(e)}),s.forEach(function(e){N(wn(i[e]),`_layer-${e}`,y(y({},a),{},{prepend:!0}))});var u=N(n,r,a);u[Ae]=S.instanceId,u.setAttribute(P,w),l.forEach(function(e){N(wn(i[e]),`_effect-${e}`,a)})}}),3),O=D[0],ee=D[1],te=D[2];return function(e){var t=!v||E||!m?r.createElement(kn,null):r.createElement(`style`,i({},_(_({},P,ee),F,te),{dangerouslySetInnerHTML:{__html:O}}));return r.createElement(r.Fragment,null,t,e)}}var Mn=function(e,t,n){var r=A(e,6),i=r[0],a=r[1],o=r[2],s=r[3],c=r[4],l=r[5],u=(n||{}).plain;if(c)return null;var d=i,f={"data-rc-order":`prependQueue`,"data-rc-priority":`${l}`};return d=z(i,a,o,f,u),s&&Object.keys(s).forEach(function(e){if(!t[e]){t[e]=!0;var n=z(wn(s[e]),a,`_effect-${e}`,f,u);e.startsWith(`@layer`)?d=n+d:d+=n}}),[l,o,d]},Nn=`cssVar`,Pn=function(e,t){var n=e.key,i=e.prefix,a=e.unitless,o=e.ignore,s=e.token,c=e.scope,l=c===void 0?``:c,u=(0,r.useContext)(I),d=u.cache.instanceId,f=u.container,p=s._tokenKey,m=[].concat(k(e.path),[n,l,p]);return mt(Nn,m,function(){var e=A(st(t(),n,{prefix:i,unitless:a,ignore:o,scope:l}),2),r=e[0],s=e[1];return[r,s,On(m,s),n]},function(e){var t=A(e,3)[2];rt&&xe(t,{mark:F,attachTo:f})},function(e){var t=A(e,3),r=t[1],i=t[2];if(r){var a=N(r,i,{mark:F,prepend:`queue`,attachTo:f,priority:-999});a[Ae]=d,a.setAttribute(P,n)}})},Fn=_(_(_({},An,Mn),St,wt),Nn,function(e,t,n){var r=A(e,4),i=r[1],a=r[2],o=r[3],s=(n||{}).plain;if(!i)return null;var c=-999;return[c,a,z(i,o,a,{"data-rc-order":`prependQueue`,"data-rc-priority":`${c}`},s)]});function In(e){return e!==null}function Ln(e,t){var n=typeof t==`boolean`?{plain:t}:t||{},r=n.plain,i=r===void 0?!1:r,a=n.types,o=a===void 0?[`style`,`token`,`cssVar`]:a,s=n.once,c=s===void 0?!1:s,l=RegExp(`^(${(typeof o==`string`?[o]:o).join(`|`)})%`),u=Array.from(e.cache.keys()).filter(function(e){return l.test(e)}),d={},f={},p=``;return u.map(function(t){if(c&&e.extracted.has(t))return null;var n=t.replace(l,``).replace(/%/g,`|`),r=Fn[A(t.split(`%`),1)[0]],a=r(e.cache.get(t)[1],d,{plain:i});if(!a)return null;var o=A(a,3),s=o[0],u=o[1],p=o[2];return t.startsWith(`style`)&&(f[n]=u),e.extracted.add(t),[s,p]}).filter(In).sort(function(e,t){return A(e,1)[0]-A(t,1)[0]}).forEach(function(e){var t=A(e,2)[1];p+=t}),p+=z(`.${hn}{content:"${_n(f)}";}`,void 0,void 0,_({},hn,hn),i),p}var Rn=function(){function e(t,n){x(this,e),_(this,`name`,void 0),_(this,`style`,void 0),_(this,`_keyframe`,!0),this.name=t,this.style=n}return C(e,[{key:`getName`,value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``;return e?`${e}-${this.name}`:this.name}}]),e}();function zn(e){if(typeof e==`number`)return[[e],!1];var t=String(e).trim(),n=t.match(/(.*)(!important)/),r=(n?n[1]:t).trim().split(/\s+/),i=[],a=0;return[r.reduce(function(e,t){if(t.includes(`(`)||t.includes(`)`)){var n=t.split(`(`).length-1,r=t.split(`)`).length-1;a+=n-r}return a>=0&&i.push(t),a===0&&(e.push(i.join(` `)),i=[]),e},[]),!!n]}function $(e){return e.notSplit=!0,e}var Bn={inset:[`top`,`right`,`bottom`,`left`],insetBlock:[`top`,`bottom`],insetBlockStart:[`top`],insetBlockEnd:[`bottom`],insetInline:[`left`,`right`],insetInlineStart:[`left`],insetInlineEnd:[`right`],marginBlock:[`marginTop`,`marginBottom`],marginBlockStart:[`marginTop`],marginBlockEnd:[`marginBottom`],marginInline:[`marginLeft`,`marginRight`],marginInlineStart:[`marginLeft`],marginInlineEnd:[`marginRight`],paddingBlock:[`paddingTop`,`paddingBottom`],paddingBlockStart:[`paddingTop`],paddingBlockEnd:[`paddingBottom`],paddingInline:[`paddingLeft`,`paddingRight`],paddingInlineStart:[`paddingLeft`],paddingInlineEnd:[`paddingRight`],borderBlock:$([`borderTop`,`borderBottom`]),borderBlockStart:$([`borderTop`]),borderBlockEnd:$([`borderBottom`]),borderInline:$([`borderLeft`,`borderRight`]),borderInlineStart:$([`borderLeft`]),borderInlineEnd:$([`borderRight`]),borderBlockWidth:[`borderTopWidth`,`borderBottomWidth`],borderBlockStartWidth:[`borderTopWidth`],borderBlockEndWidth:[`borderBottomWidth`],borderInlineWidth:[`borderLeftWidth`,`borderRightWidth`],borderInlineStartWidth:[`borderLeftWidth`],borderInlineEndWidth:[`borderRightWidth`],borderBlockStyle:[`borderTopStyle`,`borderBottomStyle`],borderBlockStartStyle:[`borderTopStyle`],borderBlockEndStyle:[`borderBottomStyle`],borderInlineStyle:[`borderLeftStyle`,`borderRightStyle`],borderInlineStartStyle:[`borderLeftStyle`],borderInlineEndStyle:[`borderRightStyle`],borderBlockColor:[`borderTopColor`,`borderBottomColor`],borderBlockStartColor:[`borderTopColor`],borderBlockEndColor:[`borderBottomColor`],borderInlineColor:[`borderLeftColor`,`borderRightColor`],borderInlineStartColor:[`borderLeftColor`],borderInlineEndColor:[`borderRightColor`],borderStartStartRadius:[`borderTopLeftRadius`],borderStartEndRadius:[`borderTopRightRadius`],borderEndStartRadius:[`borderBottomLeftRadius`],borderEndEndRadius:[`borderBottomRightRadius`]};function Vn(e,t){var n=e;return t&&(n=`${n} !important`),{_skip_check_:!0,value:n}}var Hn={visit:function(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n],i=Bn[n];if(i&&(typeof r==`number`||typeof r==`string`)){var a=A(zn(r),2),o=a[0],s=a[1];i.length&&i.notSplit?i.forEach(function(e){t[e]=Vn(r,s)}):i.length===1?t[i[0]]=Vn(o[0],s):i.length===2?i.forEach(function(e,n){t[e]=Vn(o[n]??o[0],s)}):i.length===4?i.forEach(function(e,n){t[e]=Vn(o[n]??o[n-2]??o[0],s)}):t[n]=r}else t[n]=r}),t}},Un=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Wn(e,t){var n=10**(t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}var Gn=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.rootValue,n=t===void 0?16:t,r=e.precision,i=r===void 0?5:r,a=e.mediaQuery,o=a===void 0?!1:a,s=function(e,t){if(!t)return e;var r=parseFloat(t);return r<=1?e:`${Wn(r/n,i)}rem`};return{visit:function(e){var t=y({},e);return Object.entries(e).forEach(function(e){var n=A(e,2),r=n[0],i=n[1];typeof i==`string`&&i.includes(`px`)&&(t[r]=i.replace(Un,s)),!Tt[r]&&typeof i==`number`&&i!==0&&(t[r]=`${i}px`.replace(Un,s));var a=r.trim();if(a.startsWith(`@`)&&a.includes(`px`)&&o){var c=r.replace(Un,s);t[c]=t[r],delete t[r]}}),t}}},Kn=e({Keyframes:()=>Rn,NaNLinter:()=>pn,StyleContext:()=>I,StyleProvider:()=>Me,Theme:()=>Ue,_experimental:()=>qn,createCache:()=>je,createTheme:()=>Ge,extractStyle:()=>Ln,genCalc:()=>ze,getComputedToken:()=>xt,legacyLogicalPropertiesTransformer:()=>Hn,legacyNotSelectorLinter:()=>dn,logicalPropertiesLinter:()=>fn,parentSelectorLinter:()=>mn,px2remTransformer:()=>Gn,token2CSSVar:()=>at,unit:()=>it,useCSSVarRegister:()=>Pn,useCacheToken:()=>Ct,useStyleRegister:()=>jn}),qn={supportModernCSS:function(){return et()&&nt()}};export{M as A,D as B,Me as C,xe as D,we as E,ae as F,x as G,T as H,ie as I,_ as J,b as K,te as L,le as M,se as N,N as O,k as P,i as Q,ee as R,I as S,Te as T,w as U,E as V,C as W,p as X,l as Y,a as Z,at as _,Rn as a,Ue as b,jn as c,fn as d,dn as f,ut as g,lt as h,Hn as i,A as j,ue as k,mn as l,Ct as m,Kn as n,Ln as o,xt as p,y as q,Gn as r,Pn as s,qn as t,pn as u,it as v,je as w,ze as x,Ge as y,O as z};