@next-bricks/advanced 0.28.1 → 0.29.0

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 (228) hide show
  1. package/dist/bricks.json +7 -2
  2. package/dist/chunks/1045.6ac72d59.js +2 -0
  3. package/dist/chunks/1045.6ac72d59.js.map +1 -0
  4. package/dist/chunks/{1832.4c152234.js → 1122.443bf544.js} +2 -2
  5. package/dist/chunks/{1832.4c152234.js.map → 1122.443bf544.js.map} +1 -1
  6. package/dist/chunks/114.939f84b3.js +2 -0
  7. package/dist/chunks/114.939f84b3.js.map +1 -0
  8. package/dist/chunks/1370.f5711ebb.js +2 -0
  9. package/dist/chunks/1370.f5711ebb.js.map +1 -0
  10. package/dist/chunks/1436.791333be.js +3 -0
  11. package/dist/chunks/1436.791333be.js.map +1 -0
  12. package/dist/chunks/1549.f8b952df.js +2 -0
  13. package/dist/chunks/1549.f8b952df.js.map +1 -0
  14. package/dist/chunks/{1360.5c685109.js → 1576.218de96f.js} +3 -3
  15. package/dist/chunks/{1360.5c685109.js.map → 1576.218de96f.js.map} +1 -1
  16. package/dist/chunks/{6595.117bb366.js → 1651.d494a333.js} +3 -3
  17. package/dist/chunks/{6595.117bb366.js.map → 1651.d494a333.js.map} +1 -1
  18. package/dist/chunks/1889.d343ec6f.js +2 -0
  19. package/dist/chunks/1889.d343ec6f.js.map +1 -0
  20. package/dist/chunks/{1024.c739aadf.js → 1940.19b9ad66.js} +2 -2
  21. package/dist/chunks/{1024.c739aadf.js.map → 1940.19b9ad66.js.map} +1 -1
  22. package/dist/chunks/1972.e3599a92.js +2 -0
  23. package/dist/chunks/1972.e3599a92.js.map +1 -0
  24. package/dist/chunks/2025.e18ab4fb.js +2 -0
  25. package/dist/chunks/{4944.6aec0241.js.map → 2025.e18ab4fb.js.map} +1 -1
  26. package/dist/chunks/2052.cf331b1b.js +2 -0
  27. package/dist/chunks/2052.cf331b1b.js.map +1 -0
  28. package/dist/chunks/2073.711d96d8.js +2 -0
  29. package/dist/chunks/2073.711d96d8.js.map +1 -0
  30. package/dist/chunks/{3680.57f71880.js → 2277.ad4dcf98.js} +2 -2
  31. package/dist/chunks/{6064.b9dbeae3.js.map → 2277.ad4dcf98.js.map} +1 -1
  32. package/dist/chunks/{2356.ab7169ce.js → 3144.3fd68397.js} +3 -3
  33. package/dist/chunks/{2356.ab7169ce.js.map → 3144.3fd68397.js.map} +1 -1
  34. package/dist/chunks/3171.37596a9b.js +2 -0
  35. package/dist/chunks/{6056.df51c578.js.map → 3171.37596a9b.js.map} +1 -1
  36. package/dist/chunks/3426.7791cceb.js +2 -0
  37. package/dist/chunks/3426.7791cceb.js.map +1 -0
  38. package/dist/chunks/3761.162481f3.js +3 -0
  39. package/dist/chunks/3761.162481f3.js.map +1 -0
  40. package/dist/chunks/{5356.b79132fd.js → 3933.2e9cbbad.js} +2 -2
  41. package/dist/chunks/{5356.b79132fd.js.map → 3933.2e9cbbad.js.map} +1 -1
  42. package/dist/chunks/{5668.6faa0344.js → 4041.290c1b24.js} +3 -3
  43. package/dist/chunks/{5668.6faa0344.js.map → 4041.290c1b24.js.map} +1 -1
  44. package/dist/chunks/{6064.b9dbeae3.js → 4658.9ee4f95f.js} +2 -2
  45. package/dist/chunks/{3680.57f71880.js.map → 4658.9ee4f95f.js.map} +1 -1
  46. package/dist/chunks/{8648.2c33865e.js → 4741.a99aeaca.js} +2 -2
  47. package/dist/chunks/{8648.2c33865e.js.map → 4741.a99aeaca.js.map} +1 -1
  48. package/dist/chunks/{872.b8565f40.js → 478.157addab.js} +2 -2
  49. package/dist/chunks/{872.b8565f40.js.map → 478.157addab.js.map} +1 -1
  50. package/dist/chunks/{4424.4d0a67fd.js → 5053.97cae8bc.js} +2 -2
  51. package/dist/chunks/{4424.4d0a67fd.js.map → 5053.97cae8bc.js.map} +1 -1
  52. package/dist/chunks/5114.705d8697.js +2 -0
  53. package/dist/chunks/5114.705d8697.js.map +1 -0
  54. package/dist/chunks/{7928.a530d2f0.js → 5250.fe9e143a.js} +3 -3
  55. package/dist/chunks/{7928.a530d2f0.js.map → 5250.fe9e143a.js.map} +1 -1
  56. package/dist/chunks/5368.2f25a6b3.js +2 -0
  57. package/dist/chunks/5368.2f25a6b3.js.map +1 -0
  58. package/dist/chunks/{1776.ffdc95be.js → 5384.7ed9db85.js} +2 -2
  59. package/dist/chunks/{1776.ffdc95be.js.map → 5384.7ed9db85.js.map} +1 -1
  60. package/dist/chunks/5399.c90375cf.js +2 -0
  61. package/dist/chunks/{3752.086e6189.js.map → 5399.c90375cf.js.map} +1 -1
  62. package/dist/chunks/5479.e1fa2ef3.js +2 -0
  63. package/dist/chunks/5479.e1fa2ef3.js.map +1 -0
  64. package/dist/chunks/5541.103446ea.js +2 -0
  65. package/dist/chunks/{6912.93b9c9ca.js.map → 5541.103446ea.js.map} +1 -1
  66. package/dist/chunks/5552.5c5fbce0.js +2 -0
  67. package/dist/chunks/{8440.0be611c4.js.map → 5552.5c5fbce0.js.map} +1 -1
  68. package/dist/chunks/{2976.e390ae87.js → 6314.d70af290.js} +2 -2
  69. package/dist/chunks/{2976.e390ae87.js.map → 6314.d70af290.js.map} +1 -1
  70. package/dist/chunks/{8944.11c3b93b.js → 6330.691966e7.js} +2 -2
  71. package/dist/chunks/{8944.11c3b93b.js.map → 6330.691966e7.js.map} +1 -1
  72. package/dist/chunks/6519.52d0f86c.js +2 -0
  73. package/dist/chunks/{4524.0b411cf3.js.map → 6519.52d0f86c.js.map} +1 -1
  74. package/dist/chunks/6773.e28dbeba.js +2 -0
  75. package/dist/chunks/6773.e28dbeba.js.map +1 -0
  76. package/dist/chunks/6800.2beb77f5.js +2 -0
  77. package/dist/chunks/6800.2beb77f5.js.map +1 -0
  78. package/dist/chunks/7039.055fdf7a.js +2 -0
  79. package/dist/chunks/{9087.011a9874.js.map → 7039.055fdf7a.js.map} +1 -1
  80. package/dist/chunks/726.3da9c6a8.js +2 -0
  81. package/dist/chunks/726.3da9c6a8.js.map +1 -0
  82. package/dist/chunks/7304.093f0d25.js +2 -0
  83. package/dist/chunks/{2632.a7734d2d.js.map → 7304.093f0d25.js.map} +1 -1
  84. package/dist/chunks/{6804.6adb98c9.js → 7434.184ead21.js} +2 -2
  85. package/dist/chunks/{6804.6adb98c9.js.map → 7434.184ead21.js.map} +1 -1
  86. package/dist/chunks/{6408.d9f4aefe.js → 7452.6d02c7eb.js} +2 -2
  87. package/dist/chunks/{6408.d9f4aefe.js.map → 7452.6d02c7eb.js.map} +1 -1
  88. package/dist/chunks/7721.f5275653.js +3 -0
  89. package/dist/chunks/{6736.1c6f8b87.js.map → 7721.f5275653.js.map} +1 -1
  90. package/dist/chunks/7733.5f8c2d29.js +2 -0
  91. package/dist/chunks/7733.5f8c2d29.js.map +1 -0
  92. package/dist/chunks/7780.1f94864f.js +2 -0
  93. package/dist/chunks/{1372.010182e4.js.map → 7780.1f94864f.js.map} +1 -1
  94. package/dist/chunks/790.73f2dd1d.js +2 -0
  95. package/dist/chunks/{820.af44abd8.js.map → 790.73f2dd1d.js.map} +1 -1
  96. package/dist/chunks/{8492.8dcdccf5.js → 8097.39d9b97d.js} +2 -2
  97. package/dist/chunks/{8492.8dcdccf5.js.map → 8097.39d9b97d.js.map} +1 -1
  98. package/dist/chunks/{5440.c879c5e3.js → 8317.42860852.js} +3 -3
  99. package/dist/chunks/{5440.c879c5e3.js.map → 8317.42860852.js.map} +1 -1
  100. package/dist/chunks/8841.f0587441.js +2 -0
  101. package/dist/chunks/8841.f0587441.js.map +1 -0
  102. package/dist/chunks/8989.c957be2a.js +2 -0
  103. package/dist/chunks/8989.c957be2a.js.map +1 -0
  104. package/dist/chunks/9061.cdfc9d92.js +2 -0
  105. package/dist/chunks/9061.cdfc9d92.js.map +1 -0
  106. package/dist/chunks/9484.624da25b.js +2 -0
  107. package/dist/chunks/9484.624da25b.js.map +1 -0
  108. package/dist/chunks/9515.4d0b35e9.js +2 -0
  109. package/dist/chunks/{1772.c11be1f7.js.map → 9515.4d0b35e9.js.map} +1 -1
  110. package/dist/chunks/{8644.8e34e2b5.js → 9559.56808b78.js} +2 -2
  111. package/dist/chunks/{8644.8e34e2b5.js.map → 9559.56808b78.js.map} +1 -1
  112. package/dist/chunks/9591.4760ece5.js +2 -0
  113. package/dist/chunks/9591.4760ece5.js.map +1 -0
  114. package/dist/chunks/9655.79761c08.js +3 -0
  115. package/dist/chunks/9655.79761c08.js.map +1 -0
  116. package/dist/chunks/9844.7edfae2f.js +2 -0
  117. package/dist/chunks/9844.7edfae2f.js.map +1 -0
  118. package/dist/chunks/capture-snapshot.2e390b6f.js +2 -0
  119. package/dist/chunks/{capture-snapshot.abd87bdf.js.map → capture-snapshot.2e390b6f.js.map} +1 -1
  120. package/dist/chunks/eo-cascader.c9e382e0.js +2 -0
  121. package/dist/chunks/eo-cascader.c9e382e0.js.map +1 -0
  122. package/dist/chunks/eo-next-table.174e4889.js +2 -0
  123. package/dist/chunks/eo-next-table.174e4889.js.map +1 -0
  124. package/dist/chunks/eo-table.6307ca7c.js +2 -0
  125. package/dist/chunks/eo-table.6307ca7c.js.map +1 -0
  126. package/dist/chunks/eo-tree-select.8ab9b57c.js +2 -0
  127. package/dist/chunks/eo-tree-select.8ab9b57c.js.map +1 -0
  128. package/dist/chunks/eo-tree.5dacf9ac.js +2 -0
  129. package/dist/chunks/eo-tree.5dacf9ac.js.map +1 -0
  130. package/dist/chunks/eo-workbench-layout.e1375ab4.js +2 -0
  131. package/dist/chunks/eo-workbench-layout.e1375ab4.js.map +1 -0
  132. package/dist/chunks/main.3e4af4a6.js +2 -0
  133. package/dist/chunks/main.3e4af4a6.js.map +1 -0
  134. package/dist/examples.json +3 -0
  135. package/dist/index.9812a6b4.js +2 -0
  136. package/dist/index.9812a6b4.js.map +1 -0
  137. package/dist/manifest.json +134 -0
  138. package/dist/types.json +340 -0
  139. package/dist-types/bootstrap.d.ts +1 -0
  140. package/dist-types/tree-select/index.d.ts +45 -0
  141. package/dist-types/tree-select/index.spec.d.ts +1 -0
  142. package/docs/eo-tree-select.md +86 -0
  143. package/package.json +4 -4
  144. package/dist/chunks/1036.ef9d8acc.js +0 -3
  145. package/dist/chunks/1036.ef9d8acc.js.map +0 -1
  146. package/dist/chunks/1372.010182e4.js +0 -2
  147. package/dist/chunks/1564.5b85171f.js +0 -2
  148. package/dist/chunks/1564.5b85171f.js.map +0 -1
  149. package/dist/chunks/1772.c11be1f7.js +0 -2
  150. package/dist/chunks/242.54b81304.js +0 -2
  151. package/dist/chunks/242.54b81304.js.map +0 -1
  152. package/dist/chunks/2632.a7734d2d.js +0 -2
  153. package/dist/chunks/272.2b9690e3.js +0 -2
  154. package/dist/chunks/272.2b9690e3.js.map +0 -1
  155. package/dist/chunks/3092.1bb58ec9.js +0 -2
  156. package/dist/chunks/3092.1bb58ec9.js.map +0 -1
  157. package/dist/chunks/3472.800bfa03.js +0 -3
  158. package/dist/chunks/3472.800bfa03.js.map +0 -1
  159. package/dist/chunks/3648.bf6ac98e.js +0 -2
  160. package/dist/chunks/3648.bf6ac98e.js.map +0 -1
  161. package/dist/chunks/3752.086e6189.js +0 -2
  162. package/dist/chunks/3811.654e48c5.js +0 -2
  163. package/dist/chunks/3811.654e48c5.js.map +0 -1
  164. package/dist/chunks/4024.5949aac1.js +0 -3
  165. package/dist/chunks/4024.5949aac1.js.map +0 -1
  166. package/dist/chunks/4524.0b411cf3.js +0 -2
  167. package/dist/chunks/4847.9eccad5c.js +0 -2
  168. package/dist/chunks/4847.9eccad5c.js.map +0 -1
  169. package/dist/chunks/4944.6aec0241.js +0 -2
  170. package/dist/chunks/5672.af60f802.js +0 -2
  171. package/dist/chunks/5672.af60f802.js.map +0 -1
  172. package/dist/chunks/6056.df51c578.js +0 -2
  173. package/dist/chunks/6192.d860e30b.js +0 -2
  174. package/dist/chunks/6192.d860e30b.js.map +0 -1
  175. package/dist/chunks/6228.4c3745ef.js +0 -2
  176. package/dist/chunks/6228.4c3745ef.js.map +0 -1
  177. package/dist/chunks/6352.b1e06264.js +0 -2
  178. package/dist/chunks/6352.b1e06264.js.map +0 -1
  179. package/dist/chunks/6472.4bed6243.js +0 -2
  180. package/dist/chunks/6472.4bed6243.js.map +0 -1
  181. package/dist/chunks/6736.1c6f8b87.js +0 -3
  182. package/dist/chunks/6912.93b9c9ca.js +0 -2
  183. package/dist/chunks/7072.2771a6a3.js +0 -2
  184. package/dist/chunks/7072.2771a6a3.js.map +0 -1
  185. package/dist/chunks/7228.522cadac.js +0 -2
  186. package/dist/chunks/7228.522cadac.js.map +0 -1
  187. package/dist/chunks/7476.23910b38.js +0 -2
  188. package/dist/chunks/7476.23910b38.js.map +0 -1
  189. package/dist/chunks/7861.ca7ca0db.js +0 -2
  190. package/dist/chunks/7861.ca7ca0db.js.map +0 -1
  191. package/dist/chunks/8060.03d46aaa.js +0 -2
  192. package/dist/chunks/8060.03d46aaa.js.map +0 -1
  193. package/dist/chunks/8064.cf8c5e0d.js +0 -2
  194. package/dist/chunks/8064.cf8c5e0d.js.map +0 -1
  195. package/dist/chunks/820.af44abd8.js +0 -2
  196. package/dist/chunks/8440.0be611c4.js +0 -2
  197. package/dist/chunks/856.aa62493a.js +0 -2
  198. package/dist/chunks/856.aa62493a.js.map +0 -1
  199. package/dist/chunks/8732.e26dabad.js +0 -2
  200. package/dist/chunks/8732.e26dabad.js.map +0 -1
  201. package/dist/chunks/9087.011a9874.js +0 -2
  202. package/dist/chunks/9648.9e02a7ae.js +0 -2
  203. package/dist/chunks/9648.9e02a7ae.js.map +0 -1
  204. package/dist/chunks/capture-snapshot.abd87bdf.js +0 -2
  205. package/dist/chunks/eo-cascader.0a27c259.js +0 -2
  206. package/dist/chunks/eo-cascader.0a27c259.js.map +0 -1
  207. package/dist/chunks/eo-next-table.3c2dcc32.js +0 -2
  208. package/dist/chunks/eo-next-table.3c2dcc32.js.map +0 -1
  209. package/dist/chunks/eo-table.8549b40e.js +0 -2
  210. package/dist/chunks/eo-table.8549b40e.js.map +0 -1
  211. package/dist/chunks/eo-tree.7aad12ee.js +0 -2
  212. package/dist/chunks/eo-tree.7aad12ee.js.map +0 -1
  213. package/dist/chunks/eo-workbench-layout.9a9da33c.js +0 -2
  214. package/dist/chunks/eo-workbench-layout.9a9da33c.js.map +0 -1
  215. package/dist/chunks/main.bd304d50.js +0 -2
  216. package/dist/chunks/main.bd304d50.js.map +0 -1
  217. package/dist/index.9a174ece.js +0 -2
  218. package/dist/index.9a174ece.js.map +0 -1
  219. /package/dist/chunks/{3472.800bfa03.js.LICENSE.txt → 1436.791333be.js.LICENSE.txt} +0 -0
  220. /package/dist/chunks/{1360.5c685109.js.LICENSE.txt → 1576.218de96f.js.LICENSE.txt} +0 -0
  221. /package/dist/chunks/{6595.117bb366.js.LICENSE.txt → 1651.d494a333.js.LICENSE.txt} +0 -0
  222. /package/dist/chunks/{2356.ab7169ce.js.LICENSE.txt → 3144.3fd68397.js.LICENSE.txt} +0 -0
  223. /package/dist/chunks/{4024.5949aac1.js.LICENSE.txt → 3761.162481f3.js.LICENSE.txt} +0 -0
  224. /package/dist/chunks/{5668.6faa0344.js.LICENSE.txt → 4041.290c1b24.js.LICENSE.txt} +0 -0
  225. /package/dist/chunks/{7928.a530d2f0.js.LICENSE.txt → 5250.fe9e143a.js.LICENSE.txt} +0 -0
  226. /package/dist/chunks/{6736.1c6f8b87.js.LICENSE.txt → 7721.f5275653.js.LICENSE.txt} +0 -0
  227. /package/dist/chunks/{5440.c879c5e3.js.LICENSE.txt → 8317.42860852.js.LICENSE.txt} +0 -0
  228. /package/dist/chunks/{1036.ef9d8acc.js.LICENSE.txt → 9655.79761c08.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[8644,1024],{77392:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(18404);function o(e,t,r){return(t=(0,n.c)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},64412:(e,t,r)=>{r.d(t,{c:()=>a});var n=r(77392);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,n.c)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},18404:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(15804);function o(e){var t=function(e,t){if("object"!=(0,n.c)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=(0,n.c)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.c)(t)?t:String(t)}},15804:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{c:()=>n})},48644:(e,t,r)=>{r.r(t),r.d(t,{supply:()=>c});var n=r(64412),o=r(49604),a=r(47292),i=r(64068);function c(e,t,r){var o=(0,n.c)({},t);for(var a of(o[void 0]=void 0,e))if(!Object.prototype.hasOwnProperty.call(o,a)){var i=p(a,r);void 0!==i&&(o[a]=i)}return o}var u=new Set(["fill","pull","pullAll","pullAllBy","pullAllWith","pullAt","remove","reverse","assign","assignIn","assignInWith","assignWith","defaults","defaultsDeep","merge","mergeWith","set","setWith","unset","update","updateWith","after","ary","before","bind","bindKey","curry","curryRight","debounce","defer","delay","flip","memoize","negate","once","overArgs","partial","partialRight","rearg","rest","spread","throttle","unary","wrap"]),l=new Set(["lang","langData","locale","localeData","defineLocale","updateLocale","updateOffset"]),s=new Set(["Array","Boolean","Date","Infinity","JSON","Math","NaN","Number","String","RegExp","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","isFinite","isNaN","parseFloat","parseInt","Map","Set","URLSearchParams","WeakMap","WeakSet","atob","btoa"]);function p(e,t){switch(e){case"Object":return r=Object,n=["entries","fromEntries","keys","values"],Object.fromEntries(n.map((e=>[e,function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return r[e].apply(r,n)}])));case"_":return Object.fromEntries(Object.entries(o).filter((e=>!u.has(e[0]))).concat(t?[["uniqueId",e=>"".concat(null!=e?e:"","42")]]:[]));case"moment":return Object.assign((function(){return a(...arguments)}),Object.fromEntries(Object.entries(a).filter((e=>!l.has(e[0])))));case"PIPES":return i.pipes;case"TAG_URL":return f(!0);case"SAFE_TAG_URL":return f();default:if(s.has(e))return window[e]}var r,n}function f(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var a=[];return t.forEach(((t,r)=>{a.push(t),r<n.length&&a.push(e?String(n[r]).replace(/[^/]+/g,(e=>encodeURIComponent(e))):encodeURIComponent(String(n[r])))})),a.join("")}}}}]);
2
- //# sourceMappingURL=8644.8e34e2b5.js.map
1
+ "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9559,1940],{24586:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(11369);function o(e,t,r){return(t=(0,n.A)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},69740:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(24586);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},11369:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(17545);function o(e){var t=function(e,t){if("object"!=(0,n.A)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:String(t)}},17545:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{A:()=>n})},49559:(e,t,r)=>{r.r(t),r.d(t,{supply:()=>c});var n=r(69740),o=r(41030),a=r(21302),i=r(99259);function c(e,t,r){var o=(0,n.A)({},t);for(var a of(o[void 0]=void 0,e))if(!Object.prototype.hasOwnProperty.call(o,a)){var i=p(a,r);void 0!==i&&(o[a]=i)}return o}var u=new Set(["fill","pull","pullAll","pullAllBy","pullAllWith","pullAt","remove","reverse","assign","assignIn","assignInWith","assignWith","defaults","defaultsDeep","merge","mergeWith","set","setWith","unset","update","updateWith","after","ary","before","bind","bindKey","curry","curryRight","debounce","defer","delay","flip","memoize","negate","once","overArgs","partial","partialRight","rearg","rest","spread","throttle","unary","wrap"]),l=new Set(["lang","langData","locale","localeData","defineLocale","updateLocale","updateOffset"]),s=new Set(["Array","Boolean","Date","Infinity","JSON","Math","NaN","Number","String","RegExp","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","isFinite","isNaN","parseFloat","parseInt","Map","Set","URLSearchParams","WeakMap","WeakSet","atob","btoa"]);function p(e,t){switch(e){case"Object":return r=Object,n=["entries","fromEntries","keys","values"],Object.fromEntries(n.map((e=>[e,function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return r[e].apply(r,n)}])));case"_":return Object.fromEntries(Object.entries(o).filter((e=>!u.has(e[0]))).concat(t?[["uniqueId",e=>"".concat(null!=e?e:"","42")]]:[]));case"moment":return Object.assign((function(){return a(...arguments)}),Object.fromEntries(Object.entries(a).filter((e=>!l.has(e[0])))));case"PIPES":return i.pipes;case"TAG_URL":return f(!0);case"SAFE_TAG_URL":return f();default:if(s.has(e))return window[e]}var r,n}function f(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var a=[];return t.forEach(((t,r)=>{a.push(t),r<n.length&&a.push(e?String(n[r]).replace(/[^/]+/g,(e=>encodeURIComponent(e))):encodeURIComponent(String(n[r])))})),a.join("")}}}}]);
2
+ //# sourceMappingURL=9559.56808b78.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chunks/8644.8e34e2b5.js","mappings":"oKACe,SAASA,EAAgBC,EAAKC,EAAKC,GAYhD,OAXAD,GAAM,OAAcA,MACTD,EACTG,OAAOC,eAAeJ,EAAKC,EAAK,CAC9BC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZP,EAAIC,GAAOC,EAENF,CACT,C,kDCbA,SAASQ,EAAQC,EAAGC,GAClB,IAAIC,EAAIR,OAAOS,KAAKH,GACpB,GAAIN,OAAOU,sBAAuB,CAChC,IAAIC,EAAIX,OAAOU,sBAAsBJ,GACrCC,IAAMI,EAAIA,EAAEC,QAAO,SAAUL,GAC3B,OAAOP,OAAOa,yBAAyBP,EAAGC,GAAGL,UAC/C,KAAKM,EAAEM,KAAKC,MAAMP,EAAGG,EACvB,CACA,OAAOH,CACT,CACe,SAASQ,EAAeV,GACrC,IAAK,IAAIC,EAAI,EAAGA,EAAIU,UAAUC,OAAQX,IAAK,CACzC,IAAIC,EAAI,MAAQS,UAAUV,GAAKU,UAAUV,GAAK,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D,OAAOwD,QAAQ,GAAQ5C,QAAO6C,IAAUZ,EAAmBa,IAAID,EAAM,QAC7F,IAAK,QACH,OAAO,EAAAK,MACT,IAAK,UACH,OAAOC,GAAc,GACvB,IAAK,eACH,OAAOA,IACT,QACE,GAAIjB,EAAqBY,IAAIpB,GAC3B,OAAO0B,OAAO1B,GAItB,IAAyBS,EAAQC,CADjC,CAiCA,SAASe,EAAcE,GACrB,OAAO,SAAUC,GACf,IAAK,IAAIC,EAAQlD,UAAUC,OAAQkD,EAAW,IAAId,MAAMa,EAAQ,EAAIA,EAAQ,EAAI,GAAIE,EAAQ,EAAGA,EAAQF,EAAOE,IAC5GD,EAASC,EAAQ,GAAKpD,UAAUoD,GAElC,IAAIC,EAAS,GAOb,OANAJ,EAAQ/C,SAAQ,CAACoD,EAAKC,KACpBF,EAAOxD,KAAKyD,GACRC,EAAQJ,EAASlD,QACnBoD,EAAOxD,KAAKmD,EAAgBrC,OAAOwC,EAASI,IAAQC,QAAQ,UAAUC,GAAKC,mBAAmBD,KAAMC,mBAAmB/C,OAAOwC,EAASI,KACzI,IAEKF,EAAOM,KAAK,GACrB,CACF,C","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///../../node_modules/@next-core/supply/dist/esm/index.js"],"sourcesContent":["import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nexport default function _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport lodash from \"lodash\";\nimport moment from \"moment\";\nimport { pipes } from \"@next-core/pipes\";\nexport function supply(attemptToVisitGlobals, providedGlobalVariables, mock) {\n var globalVariables = _objectSpread({}, providedGlobalVariables);\n // Allow limited browser builtin values.\n globalVariables[\"undefined\"] = undefined;\n for (var variableName of attemptToVisitGlobals) {\n if (!Object.prototype.hasOwnProperty.call(globalVariables, variableName)) {\n var variable = supplyIndividual(variableName, mock);\n if (variable !== undefined) {\n globalVariables[variableName] = variable;\n }\n }\n }\n return globalVariables;\n}\nvar shouldOmitInLodash = new Set([\n// Omit all mutable methods from lodash.\n// But allow sequence methods like `_.chain`.\n\"fill\", \"pull\", \"pullAll\", \"pullAllBy\", \"pullAllWith\", \"pullAt\", \"remove\", \"reverse\", \"assign\", \"assignIn\", \"assignInWith\", \"assignWith\", \"defaults\", \"defaultsDeep\", \"merge\", \"mergeWith\", \"set\", \"setWith\", \"unset\", \"update\", \"updateWith\",\n/**\n * Ignore `Function` methods from lodash, too.\n * There are chances to invoke `Object.assign`, etc.\n *\n * E.g.:\n *\n * ```\n * _.wrap(_.method('constructor.assign',{b:2},{b:3}),(func,...a) => func(...a))({})\n * ```\n */\n\"after\", \"ary\", \"before\", \"bind\", \"bindKey\", \"curry\", \"curryRight\", \"debounce\", \"defer\", \"delay\", \"flip\", \"memoize\", \"negate\", \"once\", \"overArgs\", \"partial\", \"partialRight\", \"rearg\", \"rest\", \"spread\", \"throttle\", \"unary\", \"wrap\"]);\n\n// Omit all mutable methods from moment.\nvar shouldOmitInMoment = new Set([\"lang\", \"langData\", \"locale\", \"localeData\", \"defineLocale\", \"updateLocale\", \"updateOffset\"]);\nvar allowedGlobalObjects = new Set([\"Array\", \"Boolean\", \"Date\", \"Infinity\", \"JSON\", \"Math\", \"NaN\", \"Number\", \"String\", \"RegExp\", \"decodeURI\", \"decodeURIComponent\", \"encodeURI\", \"encodeURIComponent\", \"isFinite\", \"isNaN\", \"parseFloat\", \"parseInt\", \"Map\", \"Set\", \"URLSearchParams\", \"WeakMap\", \"WeakSet\", \"atob\", \"btoa\"]);\nfunction supplyIndividual(variableName, mock) {\n switch (variableName) {\n case \"Object\":\n // Do not allow mutable methods like `Object.assign`.\n return delegateMethods(Object, [\"entries\", \"fromEntries\", \"keys\", \"values\"]);\n case \"_\":\n return Object.fromEntries(Object.entries(lodash).filter(entry => !shouldOmitInLodash.has(entry[0])).concat(mock ? [[\"uniqueId\", prefix => \"\".concat(prefix !== null && prefix !== void 0 ? prefix : \"\", \"42\")]] : []));\n case \"moment\":\n return Object.assign(function () {\n return moment(...arguments);\n }, Object.fromEntries(Object.entries(moment).filter(entry => !shouldOmitInMoment.has(entry[0]))));\n case \"PIPES\":\n return pipes;\n case \"TAG_URL\":\n return tagUrlFactory(true);\n case \"SAFE_TAG_URL\":\n return tagUrlFactory();\n default:\n if (allowedGlobalObjects.has(variableName)) {\n return window[variableName];\n }\n }\n}\nfunction delegateMethods(target, methods) {\n return Object.fromEntries(methods.map(method => [method, function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return target[method].apply(target, args);\n }]));\n}\n/**\n * Pass `ignoreSlashes` as `true` to encode all tagged expressions\n * as URL components, except for `/` which maybe used in `APP.homepage`.\n *\n * Otherwise encode all tagged expressions as URL components.\n * This will encode `/` as `%2F`. So do not use it directly\n * with `APP.homepage` as in template expressions.\n *\n * @example\n *\n * ```js\n * TAG_URL`${APP.homepage}/list?q=${q}&redirect=${redirect}`\n * ```\n *\n * ```js\n * SAFE_TAG_URL`file/${path}?q=${q}`\n * // `path` will be fully transformed by `encodeURIComponent`.\n * ```\n *\n * ```js\n * // Wrap `APP.homepage` outside of `SAFE_TAG_URL`.\n * `${APP.homepage}/${SAFE_TAG_URL`file/${path}?q=${q}`}`\n * ```\n */\nfunction tagUrlFactory(ignoreSlashes) {\n return function (strings) {\n for (var _len2 = arguments.length, partials = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n partials[_key2 - 1] = arguments[_key2];\n }\n var result = [];\n strings.forEach((str, index) => {\n result.push(str);\n if (index < partials.length) {\n result.push(ignoreSlashes ? String(partials[index]).replace(/[^/]+/g, p => encodeURIComponent(p)) : encodeURIComponent(String(partials[index])));\n }\n });\n return result.join(\"\");\n };\n}\n//# sourceMappingURL=index.js.map"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","ownKeys","e","r","t","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","push","apply","_objectSpread2","arguments","length","forEach","getOwnPropertyDescriptors","defineProperties","toPropertyKey","i","Symbol","toPrimitive","call","TypeError","String","_typeof","iterator","constructor","prototype","supply","attemptToVisitGlobals","providedGlobalVariables","mock","globalVariables","variableName","undefined","hasOwnProperty","variable","supplyIndividual","shouldOmitInLodash","Set","shouldOmitInMoment","allowedGlobalObjects","target","methods","fromEntries","map","method","_len","args","Array","_key","entries","entry","has","concat","prefix","assign","pipes","tagUrlFactory","window","ignoreSlashes","strings","_len2","partials","_key2","result","str","index","replace","p","encodeURIComponent","join"],"sourceRoot":""}
1
+ {"version":3,"file":"chunks/9559.56808b78.js","mappings":"oKACe,SAASA,EAAgBC,EAAKC,EAAKC,GAYhD,OAXAD,GAAM,OAAcA,MACTD,EACTG,OAAOC,eAAeJ,EAAKC,EAAK,CAC9BC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZP,EAAIC,GAAOC,EAENF,CACT,C,kDCbA,SAASQ,EAAQC,EAAGC,GAClB,IAAIC,EAAIR,OAAOS,KAAKH,GACpB,GAAIN,OAAOU,sBAAuB,CAChC,IAAIC,EAAIX,OAAOU,sBAAsBJ,GACrCC,IAAMI,EAAIA,EAAEC,QAAO,SAAUL,GAC3B,OAAOP,OAAOa,yBAAyBP,EAAGC,GAAGL,UAC/C,KAAKM,EAAEM,KAAKC,MAAMP,EAAGG,EACvB,CACA,OAAOH,CACT,CACe,SAASQ,EAAeV,GACrC,IAAK,IAAIC,EAAI,EAAGA,EAAIU,UAAUC,OAAQX,IAAK,CACzC,IAAIC,EAAI,MAAQS,UAAUV,GAAKU,UAAUV,GAAK,CAAC,EAC/CA,EAAI,EAAIF,EAAQL,OAAOQ,IAAI,GAAIW,SAAQ,SAAUZ,IAC/C,OAAeD,EAAGC,EAAGC,EAAED,GACzB,IAAKP,OAAOo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ACvB,IAAK,eACH,OAAOA,IACT,QACE,GAAIjB,EAAqBY,IAAIpB,GAC3B,OAAO0B,OAAO1B,GAItB,IAAyBS,EAAQC,CADjC,CAiCA,SAASe,EAAcE,GACrB,OAAO,SAAUC,GACf,IAAK,IAAIC,EAAQlD,UAAUC,OAAQkD,EAAW,IAAId,MAAMa,EAAQ,EAAIA,EAAQ,EAAI,GAAIE,EAAQ,EAAGA,EAAQF,EAAOE,IAC5GD,EAASC,EAAQ,GAAKpD,UAAUoD,GAElC,IAAIC,EAAS,GAOb,OANAJ,EAAQ/C,SAAQ,CAACoD,EAAKC,KACpBF,EAAOxD,KAAKyD,GACRC,EAAQJ,EAASlD,QACnBoD,EAAOxD,KAAKmD,EAAgBrC,OAAOwC,EAASI,IAAQC,QAAQ,UAAUC,GAAKC,mBAAmBD,KAAMC,mBAAmB/C,OAAOwC,EAASI,KACzI,IAEKF,EAAOM,KAAK,GACrB,CACF,C","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///../../node_modules/@next-core/supply/dist/esm/index.js"],"sourcesContent":["import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nexport default function _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport lodash from \"lodash\";\nimport moment from \"moment\";\nimport { pipes } from \"@next-core/pipes\";\nexport function supply(attemptToVisitGlobals, providedGlobalVariables, mock) {\n var globalVariables = _objectSpread({}, providedGlobalVariables);\n // Allow limited browser builtin values.\n globalVariables[\"undefined\"] = undefined;\n for (var variableName of attemptToVisitGlobals) {\n if (!Object.prototype.hasOwnProperty.call(globalVariables, variableName)) {\n var variable = supplyIndividual(variableName, mock);\n if (variable !== undefined) {\n globalVariables[variableName] = variable;\n }\n }\n }\n return globalVariables;\n}\nvar shouldOmitInLodash = new Set([\n// Omit all mutable methods from lodash.\n// But allow sequence methods like `_.chain`.\n\"fill\", \"pull\", \"pullAll\", \"pullAllBy\", \"pullAllWith\", \"pullAt\", \"remove\", \"reverse\", \"assign\", \"assignIn\", \"assignInWith\", \"assignWith\", \"defaults\", \"defaultsDeep\", \"merge\", \"mergeWith\", \"set\", \"setWith\", \"unset\", \"update\", \"updateWith\",\n/**\n * Ignore `Function` methods from lodash, too.\n * There are chances to invoke `Object.assign`, etc.\n *\n * E.g.:\n *\n * ```\n * _.wrap(_.method('constructor.assign',{b:2},{b:3}),(func,...a) => func(...a))({})\n * ```\n */\n\"after\", \"ary\", \"before\", \"bind\", \"bindKey\", \"curry\", \"curryRight\", \"debounce\", \"defer\", \"delay\", \"flip\", \"memoize\", \"negate\", \"once\", \"overArgs\", \"partial\", \"partialRight\", \"rearg\", \"rest\", \"spread\", \"throttle\", \"unary\", \"wrap\"]);\n\n// Omit all mutable methods from moment.\nvar shouldOmitInMoment = new Set([\"lang\", \"langData\", \"locale\", \"localeData\", \"defineLocale\", \"updateLocale\", \"updateOffset\"]);\nvar allowedGlobalObjects = new Set([\"Array\", \"Boolean\", \"Date\", \"Infinity\", \"JSON\", \"Math\", \"NaN\", \"Number\", \"String\", \"RegExp\", \"decodeURI\", \"decodeURIComponent\", \"encodeURI\", \"encodeURIComponent\", \"isFinite\", \"isNaN\", \"parseFloat\", \"parseInt\", \"Map\", \"Set\", \"URLSearchParams\", \"WeakMap\", \"WeakSet\", \"atob\", \"btoa\"]);\nfunction supplyIndividual(variableName, mock) {\n switch (variableName) {\n case \"Object\":\n // Do not allow mutable methods like `Object.assign`.\n return delegateMethods(Object, [\"entries\", \"fromEntries\", \"keys\", \"values\"]);\n case \"_\":\n return Object.fromEntries(Object.entries(lodash).filter(entry => !shouldOmitInLodash.has(entry[0])).concat(mock ? [[\"uniqueId\", prefix => \"\".concat(prefix !== null && prefix !== void 0 ? prefix : \"\", \"42\")]] : []));\n case \"moment\":\n return Object.assign(function () {\n return moment(...arguments);\n }, Object.fromEntries(Object.entries(moment).filter(entry => !shouldOmitInMoment.has(entry[0]))));\n case \"PIPES\":\n return pipes;\n case \"TAG_URL\":\n return tagUrlFactory(true);\n case \"SAFE_TAG_URL\":\n return tagUrlFactory();\n default:\n if (allowedGlobalObjects.has(variableName)) {\n return window[variableName];\n }\n }\n}\nfunction delegateMethods(target, methods) {\n return Object.fromEntries(methods.map(method => [method, function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return target[method].apply(target, args);\n }]));\n}\n/**\n * Pass `ignoreSlashes` as `true` to encode all tagged expressions\n * as URL components, except for `/` which maybe used in `APP.homepage`.\n *\n * Otherwise encode all tagged expressions as URL components.\n * This will encode `/` as `%2F`. So do not use it directly\n * with `APP.homepage` as in template expressions.\n *\n * @example\n *\n * ```js\n * TAG_URL`${APP.homepage}/list?q=${q}&redirect=${redirect}`\n * ```\n *\n * ```js\n * SAFE_TAG_URL`file/${path}?q=${q}`\n * // `path` will be fully transformed by `encodeURIComponent`.\n * ```\n *\n * ```js\n * // Wrap `APP.homepage` outside of `SAFE_TAG_URL`.\n * `${APP.homepage}/${SAFE_TAG_URL`file/${path}?q=${q}`}`\n * ```\n */\nfunction tagUrlFactory(ignoreSlashes) {\n return function (strings) {\n for (var _len2 = arguments.length, partials = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n partials[_key2 - 1] = arguments[_key2];\n }\n var result = [];\n strings.forEach((str, index) => {\n result.push(str);\n if (index < partials.length) {\n result.push(ignoreSlashes ? String(partials[index]).replace(/[^/]+/g, p => encodeURIComponent(p)) : encodeURIComponent(String(partials[index])));\n }\n });\n return result.join(\"\");\n };\n}\n//# sourceMappingURL=index.js.map"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","ownKeys","e","r","t","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","push","apply","_objectSpread2","arguments","length","forEach","getOwnPropertyDescriptors","defineProperties","toPropertyKey","i","Symbol","toPrimitive","call","TypeError","String","_typeof","iterator","constructor","prototype","supply","attemptToVisitGlobals","providedGlobalVariables","mock","globalVariables","variableName","undefined","hasOwnProperty","variable","supplyIndividual","shouldOmitInLodash","Set","shouldOmitInMoment","allowedGlobalObjects","target","methods","fromEntries","map","method","_len","args","Array","_key","entries","entry","has","concat","prefix","assign","pipes","tagUrlFactory","window","ignoreSlashes","strings","_len2","partials","_key2","result","str","index","replace","p","encodeURIComponent","join"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9591,6330],{86330:(e,r,t)=>{function n(e,r,t,n,u,c,a){try{var s=e[c](a),i=s.value}catch(e){return void t(e)}s.done?r(i):Promise.resolve(i).then(n,u)}function u(e){return function(){var r=this,t=arguments;return new Promise((function(u,c){var a=e.apply(r,t);function s(e){n(a,u,c,s,i,"next",e)}function i(e){n(a,u,c,s,i,"throw",e)}s(void 0)}))}}t.d(r,{A:()=>u})},14223:(e,r,t)=>{function n(e,r){if(null==e)return{};var t,n,u=function(e,r){if(null==e)return{};var t,n,u={},c=Object.keys(e);for(n=0;n<c.length;n++)t=c[n],r.indexOf(t)>=0||(u[t]=e[t]);return u}(e,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n<c.length;n++)t=c[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(u[t]=e[t])}return u}t.d(r,{A:()=>n})},91972:(e,r,t)=>{t.r(r),t.d(r,{ReactUseBrick:()=>a,ReactUseMultipleBricks:()=>s,useCurrentApp:()=>p,useCurrentTheme:()=>d,useProvider:()=>w,useRecentApps:()=>f,useRouteRender:()=>v});var n=t(86330),u=t(18769),c=t(54146),a=function(e){var{useBrick:r,data:t,refCallback:a,ignoredCallback:s}=e,[i,o]=(0,u.useState)(null),l=(0,u.useRef)(),[d,f]=(0,u.useState)(),p=(0,u.useRef)(0),v=(0,u.useMemo)((()=>{var e;return null===(e=c.__secret_internals.getRenderId)||void 0===e?void 0:e.call(c.__secret_internals)}),[]);(0,u.useEffect)((()=>{var e=!1;function u(){return u=(0,n.A)((function*(){try{var n=yield c.__secret_internals.renderUseBrick(r,t);if(e)return;o(n),f(++p.current)}catch(e){(function(e){var r,t=null===(r=c.__secret_internals.getRenderId)||void 0===r?void 0:r.call(c.__secret_internals);return!e||!t||e===t})(v)&&(console.error("Render useBrick failed:",r,"with data:",t),(0,c.handleHttpError)(e))}})),u.apply(this,arguments)}return function(){u.apply(this,arguments)}(),()=>{e=!0}}),[t,r,v]);var y=(0,u.useCallback)((e=>{e?l.current=c.__secret_internals.mountUseBrick(i,e):(c.__secret_internals.unmountUseBrick(i,l.current),l.current=void 0),null==a||a(e)}),[a,i]);if(!i)return null;var{tagName:g}=i;if(null===g)return null==s||s(),null;var m=g;return u.createElement(m,{key:d,ref:y})},s=function(e){var{useBrick:r,data:t}=e;return Array.isArray(r)?u.createElement(u.Fragment,null,r.map(((e,r)=>u.createElement(a,{key:r,useBrick:e,data:t})))):u.createElement(a,{useBrick:r,data:t})},i=(0,c.getV2RuntimeFromDll)();if(i){var{SingleBrickAsComponentFactory:o,BrickAsComponentFactory:l}=i;o&&l&&(a=o(u),s=l(u))}function d(){var[e,r]=(0,u.useState)(c.getCurrentTheme);return(0,u.useEffect)((()=>{var e=e=>{r(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function f(){var[e,r]=u.useState((()=>(0,c.getRuntime)().getRecentApps()));return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function p(){return f().currentApp}function v(){var[e,r]=u.useState(null);return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("route.render",e),()=>window.removeEventListener("route.render",e)}),[]),e}var y=t(69740),g=t(14223),m={provider:"",customOptions:{onError:()=>{},transform:(e,r)=>r,data:void 0,loading:!1,suspense:!1,cache:!0},dependencies:void 0};const h=Object.entries(m).reduce(((e,r)=>{var[t,n]=r;return"[object Object]"===Object.prototype.toString.call(n)?(0,y.A)((0,y.A)({},e),n):(0,y.A)((0,y.A)({},e),{},{[t]:n})}),{});var A=t(41030),b=["args"],k=new Map;function O(){return(O=(0,n.A)((function*(e,r,t){var n,u=function(e){for(var r,t=e=>Object.keys(e).sort().map((r=>({[r]:e[r]}))),n=arguments.length,u=new Array(n>1?n-1:0),c=1;c<n;c++)u[c-1]=arguments[c];try{var a="object"!=typeof(r=u)||null===r||Array.isArray(r)?u.map((e=>function(e){return"string"==typeof e}(e)?e:t(e))):t(u);return JSON.stringify({provider:e,args:a})}catch(r){return JSON.stringify({provider:e,args:u})}}(e,...t);return!r&&k.has(u)&&k.delete(u),k.has(u)?n=k.get(u):(n=(0,c.fetchByProvider)(e,t),r&&k.set(u,n)),n}))).apply(this,arguments)}var _=["onError","transform","suspense","cache"];function w(){var{provider:e,customOptions:r,dependencies:t,requestInit:c}=function(e,r,t){var n=(0,u.useMemo)((()=>"string"==typeof e?e:m.provider),[e,r]),c=(0,u.useMemo)((()=>{var t={};return(0,A.isObject)(e)?t=e:(0,A.isObject)(r)&&(t=r),(0,y.A)((0,y.A)({},h),t)}),[e,r]),a=(0,u.useMemo)((()=>{var e=[...Object.keys(m),...Object.keys(m.customOptions)],r=Object.keys(c).reduce(((r,t)=>(e.includes(t)||(r[t]=c[t]),r)),{}),{args:t=null}=r,n=(0,g.A)(r,b);return{options:(0,y.A)({},n),args:t}}),[c]),s=(0,u.useMemo)((()=>Array.isArray(r)?r:Array.isArray(t)?t:h.dependencies),[r,t]),i=c.loading||Array.isArray(s);return{provider:n,customOptions:(0,u.useMemo)((()=>{var e=Object.keys(m.customOptions).reduce(((e,r)=>(e[r]=c[r],e)),{});return(0,y.A)((0,y.A)({},e),{},{loading:i})}),[c]),requestInit:a,dependencies:s}}(...arguments),{onError:a,transform:s,suspense:i,cache:o}=r,l=(0,g.A)(r,_),[d,f]=(0,u.useState)(l.loading),p=(0,u.useRef)("pending"),v=(0,u.useRef)(),k=(0,u.useRef)(!1),w=(0,u.useRef)(),j=(0,u.useRef)(),E=(0,u.useRef)(l.data),R=(0,u.useReducer)((()=>({})),[])[1],B=(0,u.useCallback)(function(){var e=(0,n.A)((function*(e,r){try{w.current=void 0,i||f(!0);var t=yield function(e,r,t){return O.apply(this,arguments)}(e,o,r);j.current=t,E.current=s(E.current,t)}catch(e){w.current=e,E.current=void 0}return i||f(!1),w.current&&a(w.current),E.current}));return function(r,t){return e.apply(this,arguments)}}(),[e,r,t,c,i,s,l.data,a,o]),S=(0,u.useCallback)(function(){var r=(0,n.A)((function*(r,t){var u=e,c=[];return(0,A.isString)(r)&&(u=r),(0,A.isObject)(r)?c=r:(0,A.isObject)(t)&&(c=t),i?(0,n.A)((function*(){return v.current=B(u,c).then((e=>(p.current="success",e)),(e=>(p.current="error",e.current=e,e))),R(),yield v.current}))():B(u,c)}));return function(e,t){return r.apply(this,arguments)}}(),[B]),C=(0,u.useMemo)((()=>Object.defineProperties({query:S},{loading:{get:()=>d},data:{get:()=>E.current},error:{get:()=>w.current}})),[S]);if((0,u.useEffect)((()=>(k.current=!0,Array.isArray(t)&&e&&C.query(e,c.args),()=>k.current=!1)),t),i&&v.current)switch(p.current){case"pending":throw v.current;case"error":throw w.current}return Object.assign([C,j.current,d,w.current],(0,y.A)((0,y.A)({request:C},C),{},{response:j.current,data:E.current,loading:d,error:w.current}))}}}]);
2
+ //# sourceMappingURL=9591.4760ece5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/9591.4760ece5.js","mappings":"oIAAA,SAASA,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQC,EAAKC,GACpE,IACE,IAAIC,EAAOP,EAAIK,GAAKC,GAChBE,EAAQD,EAAKC,KACnB,CAAE,MAAOC,GAEP,YADAP,EAAOO,EAET,CACIF,EAAKG,KACPT,EAA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B,C","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/ReactUseBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentTheme.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRecentApps.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentApp.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRouteRender.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProviderArgsDefaults.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProviderArgs.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/fetch.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useProvider/useProvider.js"],"sourcesContent":["function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { __secret_internals, handleHttpError, getV2RuntimeFromDll } from \"@next-core/runtime\";\n// Note: always synchronize code in LegacyUseBrick:\n// `bricks/v2-adapter/src/data-providers/legacy-brick-kit/getLegacyUseBrick.ts`\nvar ReactUseBrick = function ReactUseBrick(_ref) {\n var {\n useBrick,\n data,\n refCallback,\n ignoredCallback\n } = _ref;\n var [renderResult, setRenderResult] = useState(null);\n var mountResult = useRef();\n var [renderKey, setRenderKey] = useState();\n var IdCounterRef = useRef(0);\n var initialRenderId = useMemo(() => {\n var _secret_internals$ge;\n return (_secret_internals$ge = __secret_internals.getRenderId) === null || _secret_internals$ge === void 0 ? void 0 : _secret_internals$ge.call(__secret_internals);\n }, []);\n useEffect(() => {\n var ignore = false;\n function init() {\n return _init.apply(this, arguments);\n }\n function _init() {\n _init = _asyncToGenerator(function* () {\n try {\n var newRender = yield __secret_internals.renderUseBrick(useBrick, data);\n if (ignore) {\n return;\n }\n setRenderResult(newRender);\n setRenderKey(getUniqueId(IdCounterRef));\n } catch (error) {\n if (isTheSameRender(initialRenderId)) {\n // eslint-disable-next-line no-console\n console.error(\"Render useBrick failed:\", useBrick, \"with data:\", data);\n handleHttpError(error);\n }\n }\n });\n return _init.apply(this, arguments);\n }\n init();\n return () => {\n ignore = true;\n };\n }, [data, useBrick, initialRenderId]);\n var _refCallback = useCallback(element => {\n if (element) {\n mountResult.current = __secret_internals.mountUseBrick(\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n renderResult, element);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n __secret_internals.unmountUseBrick(renderResult, mountResult.current);\n mountResult.current = undefined;\n }\n refCallback === null || refCallback === void 0 || refCallback(element);\n }, [refCallback, renderResult]);\n if (!renderResult) {\n // Fallback when loading/\n return null;\n // return <span>🌀 Loading...</span>;\n }\n var {\n tagName\n } = renderResult;\n if (tagName === null) {\n ignoredCallback === null || ignoredCallback === void 0 || ignoredCallback();\n return null;\n }\n var WebComponent = tagName;\n return /*#__PURE__*/React.createElement(WebComponent, {\n key: renderKey,\n ref: _refCallback\n });\n};\nfunction getUniqueId(ref) {\n return ++ref.current;\n}\nfunction isTheSameRender(initialRenderId) {\n var _secret_internals$ge2;\n var newRenderId = (_secret_internals$ge2 = __secret_internals.getRenderId) === null || _secret_internals$ge2 === void 0 ? void 0 : _secret_internals$ge2.call(__secret_internals);\n return !initialRenderId || !newRenderId || initialRenderId === newRenderId;\n}\nvar ReactUseMultipleBricks = function ReactUseMultipleBricks(_ref2) {\n var {\n useBrick,\n data\n } = _ref2;\n if (Array.isArray(useBrick)) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(ReactUseBrick, {\n key: index,\n useBrick: item,\n data: data\n })));\n }\n return /*#__PURE__*/React.createElement(ReactUseBrick, {\n useBrick: useBrick,\n data: data\n });\n};\n\n// Make v3 bricks compatible with Brick Next v2.\n// istanbul ignore next\nvar v2Kit = getV2RuntimeFromDll();\n// istanbul ignore next\nif (v2Kit) {\n var {\n SingleBrickAsComponentFactory,\n BrickAsComponentFactory\n } = v2Kit;\n if (SingleBrickAsComponentFactory && BrickAsComponentFactory) {\n ReactUseBrick = SingleBrickAsComponentFactory(React);\n ReactUseMultipleBricks = BrickAsComponentFactory(React);\n }\n}\nexport { ReactUseBrick, ReactUseMultipleBricks };\n//# sourceMappingURL=ReactUseBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getCurrentTheme } from \"@next-core/runtime\";\nexport function useCurrentTheme() {\n var [currentTheme, setCurrentTheme] = useState(getCurrentTheme);\n useEffect(() => {\n var listenToThemeChange = event => {\n setCurrentTheme(event.detail);\n };\n window.addEventListener(\"theme.change\", listenToThemeChange);\n return () => {\n window.removeEventListener(\"theme.change\", listenToThemeChange);\n };\n }, []);\n return currentTheme;\n}\n//# sourceMappingURL=useCurrentTheme.js.map","import React from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useRecentApps() {\n var [recentApps, setRecentApps] = React.useState(() => getRuntime().getRecentApps());\n React.useEffect(() => {\n var listener = event => {\n setRecentApps(event.detail);\n };\n window.addEventListener(\"app.change\", listener);\n return () => window.removeEventListener(\"app.change\", listener);\n }, []);\n return recentApps;\n}\n//# sourceMappingURL=useRecentApps.js.map","import { useRecentApps } from \"./useRecentApps.js\";\n\n/**\n * 获取当前所在微应用信息的 React hooks。\n *\n * @example\n *\n * ```tsx\n * function MyReactComponent() {\n * const app = useCurrentApp();\n * return <div>{app.id}</div>;\n * }\n * ```\n *\n * @returns 当前所在微应用的信息。\n */\nexport function useCurrentApp() {\n return useRecentApps().currentApp;\n}\n//# sourceMappingURL=useCurrentApp.js.map","import React from \"react\";\nexport function useRouteRender() {\n var [routeRender, setRouteRender] = React.useState(null);\n React.useEffect(() => {\n var listener = event => {\n setRouteRender(event.detail);\n };\n window.addEventListener(\"route.render\", listener);\n return () => window.removeEventListener(\"route.render\", listener);\n }, []);\n return routeRender;\n}\n//# sourceMappingURL=useRouteRender.js.map","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nexport var useProviderArgsDefaults = {\n provider: \"\",\n customOptions: {\n onError: () => {\n /* Do nothing.. */\n },\n transform: (oldData, newData) => newData,\n data: undefined,\n loading: false,\n suspense: false,\n cache: true\n },\n dependencies: undefined\n};\nexport default Object.entries(useProviderArgsDefaults).reduce((acc, _ref) => {\n var [key, value] = _ref;\n if (Object.prototype.toString.call(value) === \"[object Object]\") return _objectSpread(_objectSpread({}, acc), value);\n return _objectSpread(_objectSpread({}, acc), {}, {\n [key]: value\n });\n}, {});\n//# sourceMappingURL=useProviderArgsDefaults.js.map","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nvar _excluded = [\"args\"];\nimport { useMemo } from \"react\";\nimport defaults, { useProviderArgsDefaults } from \"./useProviderArgsDefaults.js\";\nimport { isObject } from \"lodash\";\nexport default function useProviderArgs(providerOrParamsOrGlobalOptions, globalOptionsOrDeps, deps) {\n var provider = useMemo(() => {\n if (typeof providerOrParamsOrGlobalOptions === \"string\") {\n return providerOrParamsOrGlobalOptions;\n }\n return useProviderArgsDefaults.provider;\n }, [providerOrParamsOrGlobalOptions, globalOptionsOrDeps]);\n var options = useMemo(() => {\n var localOptions = {};\n if (isObject(providerOrParamsOrGlobalOptions)) {\n localOptions = providerOrParamsOrGlobalOptions;\n } else if (isObject(globalOptionsOrDeps)) {\n localOptions = globalOptionsOrDeps;\n }\n return _objectSpread(_objectSpread({}, defaults), localOptions);\n }, [providerOrParamsOrGlobalOptions, globalOptionsOrDeps]);\n var requestInit = useMemo(() => {\n var customOptionKeys = [...Object.keys(useProviderArgsDefaults), ...Object.keys(useProviderArgsDefaults.customOptions)];\n var _reduce = Object.keys(options).reduce((acc, key) => {\n if (!customOptionKeys.includes(key)) acc[key] = options[key];\n return acc;\n }, {}),\n {\n args = null\n } = _reduce,\n restOptions = _objectWithoutProperties(_reduce, _excluded);\n return {\n options: _objectSpread({}, restOptions),\n args\n };\n }, [options]);\n var dependencies = useMemo(() => {\n if (Array.isArray(globalOptionsOrDeps)) return globalOptionsOrDeps;\n if (Array.isArray(deps)) return deps;\n return defaults.dependencies;\n }, [globalOptionsOrDeps, deps]);\n var loading = options.loading || Array.isArray(dependencies);\n var customOptions = useMemo(() => {\n var customOptionKeys = Object.keys(useProviderArgsDefaults.customOptions);\n var customOptions = customOptionKeys.reduce((opts, key) => {\n opts[key] = options[key];\n return opts;\n }, {});\n return _objectSpread(_objectSpread({}, customOptions), {}, {\n loading\n });\n }, [options]);\n return {\n provider,\n customOptions,\n requestInit,\n dependencies\n };\n}\n//# sourceMappingURL=useProviderArgs.js.map","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { fetchByProvider } from \"@next-core/runtime\";\nvar cacheMap = new Map();\nfunction isObj(v) {\n return typeof v === \"object\" && v !== null && !Array.isArray(v);\n}\nfunction isString(v) {\n return typeof v === \"string\";\n}\nfunction buildSortedCacheKey(provider) {\n var sortObj = obj => Object.keys(obj).sort().map(k => ({\n [k]: obj[k]\n }));\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n try {\n var sortedArgs = isObj(args) ? sortObj(args) : args.map(arg => isString(arg) ? arg : sortObj(arg));\n return JSON.stringify({\n provider,\n args: sortedArgs\n });\n } catch (e) {\n return JSON.stringify({\n provider,\n args\n });\n }\n}\nexport default function fetch(_x, _x2, _x3) {\n return _fetch.apply(this, arguments);\n}\nfunction _fetch() {\n _fetch = _asyncToGenerator(function* (provider, cache, args) {\n var promise;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n var cacheKey = buildSortedCacheKey(provider, ...args);\n !cache && cacheMap.has(cacheKey) && cacheMap.delete(cacheKey);\n if (cacheMap.has(cacheKey)) {\n promise = cacheMap.get(cacheKey);\n } else {\n promise = (() => {\n return fetchByProvider(provider, args);\n })();\n cache && cacheMap.set(cacheKey, promise);\n }\n return promise;\n });\n return _fetch.apply(this, arguments);\n}\n//# sourceMappingURL=fetch.js.map","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nvar _excluded = [\"onError\", \"transform\", \"suspense\", \"cache\"];\nimport { useCallback, useEffect, useMemo, useReducer, useRef, useState } from \"react\";\nimport useProviderArgs from \"./useProviderArgs.js\";\nimport { isObject, isString } from \"lodash\";\nimport fetch from \"./fetch.js\";\nexport function useProvider() {\n var {\n provider,\n customOptions,\n dependencies,\n requestInit\n } = useProviderArgs(...arguments);\n var {\n onError,\n transform,\n suspense,\n cache\n } = customOptions,\n defaults = _objectWithoutProperties(customOptions, _excluded);\n var [loading, setLoading] = useState(defaults.loading);\n var suspenseStatus = useRef(\"pending\");\n var suspender = useRef();\n var mounted = useRef(false);\n var error = useRef();\n var response = useRef();\n var data = useRef(defaults.data);\n var forceUpdate = useReducer(() => ({}), [])[1];\n var doFetch = useCallback( /*#__PURE__*/function () {\n var _ref = _asyncToGenerator(function* (provider, providerArgs) {\n try {\n error.current = undefined;\n if (!suspense) setLoading(true);\n var newRes = yield fetch(provider, cache, providerArgs);\n response.current = newRes;\n data.current = transform(data.current, newRes);\n } catch (e) {\n error.current = e;\n data.current = undefined;\n }\n if (!suspense) setLoading(false);\n if (error.current) onError(error.current);\n return data.current;\n });\n return function (_x, _x2) {\n return _ref.apply(this, arguments);\n };\n }(), [provider, customOptions, dependencies, requestInit, suspense, transform, defaults.data, onError, cache]);\n var makeFetch = useCallback( /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator(function* (providerOrBody, args) {\n var providerStr = provider;\n var providerArgs = [];\n if (isString(providerOrBody)) {\n providerStr = providerOrBody;\n }\n if (isObject(providerOrBody)) {\n providerArgs = providerOrBody;\n } else if (isObject(args)) {\n providerArgs = args;\n }\n if (suspense) {\n return _asyncToGenerator(function* () {\n suspender.current = doFetch(providerStr, providerArgs).then(newData => {\n suspenseStatus.current = \"success\";\n return newData;\n }, error => {\n /* istanbul ignore next */\n suspenseStatus.current = \"error\";\n error.current = error;\n return error;\n });\n forceUpdate();\n return yield suspender.current;\n })();\n }\n return doFetch(providerStr, providerArgs);\n });\n return function (_x3, _x4) {\n return _ref2.apply(this, arguments);\n };\n }(), [doFetch]);\n var request = useMemo(() => Object.defineProperties({\n query: makeFetch\n }, {\n loading: {\n get() {\n return loading;\n }\n },\n data: {\n get() {\n return data.current;\n }\n },\n error: {\n get() {\n return error.current;\n }\n }\n }), [makeFetch]);\n\n // onMount/onUpdate\n useEffect(() => {\n mounted.current = true;\n if (Array.isArray(dependencies) && provider) {\n request.query(provider, requestInit.args);\n }\n return () => mounted.current = false;\n }, dependencies);\n if (suspense && suspender.current) {\n switch (suspenseStatus.current) {\n case \"pending\":\n throw suspender.current;\n /* istanbul ignore next */\n case \"error\":\n throw error.current;\n }\n }\n return Object.assign([request, response.current, loading, error.current], _objectSpread(_objectSpread({\n request\n }, request), {}, {\n response: response.current,\n data: data.current,\n loading,\n error: error.current\n }));\n}\n//# sourceMappingURL=useProvider.js.map"],"names":["asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","_objectWithoutProperties","source","excluded","i","target","sourceKeys","Object","keys","length","indexOf","getOwnPropertySymbols","sourceSymbolKeys","prototype","propertyIsEnumerable","call","ReactUseBrick","_ref","useBrick","data","refCallback","ignoredCallback","renderResult","setRenderResult","useState","mountResult","useRef","renderKey","setRenderKey","IdCounterRef","initialRenderId","useMemo","_secret_internals$ge","__secret_internals","getRenderId","useEffect","ignore","_init","newRender","renderUseBrick","current","_secret_internals$ge2","newRenderId","isTheSameRender","console","handleHttpError","init","_refCallback","useCallback","element","mountUseBrick","unmountUseBrick","tagName","WebComponent","ref","ReactUseMultipleBricks","_ref2","Array","isArray","map","item","index","v2Kit","getV2RuntimeFromDll","SingleBrickAsComponentFactory","BrickAsComponentFactory","useCurrentTheme","currentTheme","setCurrentTheme","getCurrentTheme","listenToThemeChange","event","detail","window","addEventListener","removeEventListener","useRecentApps","recentApps","setRecentApps","getRuntime","getRecentApps","listener","useCurrentApp","currentApp","useRouteRender","routeRender","setRouteRender","useProviderArgsDefaults","provider","customOptions","onError","transform","oldData","newData","loading","suspense","cache","dependencies","entries","reduce","acc","toString","_excluded","cacheMap","Map","_fetch","promise","cacheKey","v","sortObj","obj","sort","k","_len","_key","sortedArgs","isString","JSON","stringify","e","buildSortedCacheKey","has","delete","get","fetchByProvider","set","useProvider","requestInit","providerOrParamsOrGlobalOptions","globalOptionsOrDeps","deps","options","localOptions","isObject","customOptionKeys","_reduce","includes","restOptions","opts","useProviderArgs","defaults","setLoading","suspenseStatus","suspender","mounted","response","forceUpdate","useReducer","doFetch","providerArgs","newRes","_x","_x2","_x3","fetch","makeFetch","providerOrBody","providerStr","_x4","request","defineProperties","query","assign"],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 9655.79761c08.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_next_bricks_advanced=self.webpackChunk_next_bricks_advanced||[]).push([[9655],{38792:e=>{e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var s=o[i];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},53435:(e,t)=>{function r(e){return"object"!=typeof e||"toString"in e?e:Object.prototype.toString.call(e).slice(8,-1)}Object.defineProperty(t,"__esModule",{value:!0});var n="object"==typeof process&&!0;function i(e,t){if(!e){if(n)throw new Error("Invariant failed");throw new Error(t())}}t.invariant=i;var o=Object.prototype.hasOwnProperty,s=Array.prototype.splice,a=Object.prototype.toString;function c(e){return a.call(e).slice(8,-1)}var u=Object.assign||function(e,t){return d(t).forEach((function(r){o.call(t,r)&&(e[r]=t[r])})),e},d="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function l(e){return Array.isArray(e)?u(e.constructor(e.length),e):"Map"===c(e)?new Map(e):"Set"===c(e)?new Set(e):e&&"object"==typeof e?u(Object.create(Object.getPrototypeOf(e)),e):e}var g=function(){function e(){this.commands=u({},h),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(e,t){return e===t},this.update.newContext=function(){return(new e).update}}return Object.defineProperty(e.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(e){this.update.isEquals=e},enumerable:!0,configurable:!0}),e.prototype.extend=function(e,t){this.commands[e]=t},e.prototype.update=function(e,t){var r=this,n="function"==typeof t?{$apply:t}:t;Array.isArray(e)&&Array.isArray(n)||i(!Array.isArray(n),(function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."})),i("object"==typeof n&&null!==n,(function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(r.commands).join(", ")+"."}));var s=e;return d(n).forEach((function(t){if(o.call(r.commands,t)){var i=e===s;s=r.commands[t](n[t],s,n,e),i&&r.isEquals(s,e)&&(s=e)}else{var a="Map"===c(e)?r.update(e.get(t),n[t]):r.update(e[t],n[t]),u="Map"===c(s)?s.get(t):s[t];r.isEquals(a,u)&&(void 0!==a||o.call(e,t))||(s===e&&(s=l(e)),"Map"===c(s)?s.set(t,a):s[t]=a)}})),s},e}();t.Context=g;var h={$push:function(e,t,r){return p(t,r,"$push"),e.length?t.concat(e):t},$unshift:function(e,t,r){return p(t,r,"$unshift"),e.length?e.concat(t):t},$splice:function(e,t,n,o){return function(e,t){i(Array.isArray(e),(function(){return"Expected $splice target to be an array; got "+r(e)})),y(t.$splice)}(t,n),e.forEach((function(e){y(e),t===o&&e.length&&(t=l(o)),s.apply(t,e)})),t},$set:function(e,t,r){return function(e){i(1===Object.keys(e).length,(function(){return"Cannot have more than one key in an object with $set"}))}(r),e},$toggle:function(e,t){v(e,"$toggle");var r=e.length?l(t):t;return e.forEach((function(e){r[e]=!t[e]})),r},$unset:function(e,t,r,n){return v(e,"$unset"),e.forEach((function(e){Object.hasOwnProperty.call(t,e)&&(t===n&&(t=l(n)),delete t[e])})),t},$add:function(e,t,r,n){return m(t,"$add"),v(e,"$add"),"Map"===c(t)?e.forEach((function(e){var r=e[0],i=e[1];t===n&&t.get(r)!==i&&(t=l(n)),t.set(r,i)})):e.forEach((function(e){t!==n||t.has(e)||(t=l(n)),t.add(e)})),t},$remove:function(e,t,r,n){return m(t,"$remove"),v(e,"$remove"),e.forEach((function(e){t===n&&t.has(e)&&(t=l(n)),t.delete(e)})),t},$merge:function(e,t,n,o){var s,a;return s=t,i((a=e)&&"object"==typeof a,(function(){return"update(): $merge expects a spec of type 'object'; got "+r(a)})),i(s&&"object"==typeof s,(function(){return"update(): $merge expects a target of type 'object'; got "+r(s)})),d(e).forEach((function(r){e[r]!==t[r]&&(t===o&&(t=l(o)),t[r]=e[r])})),t},$apply:function(e,t){var n;return i("function"==typeof(n=e),(function(){return"update(): expected spec of $apply to be a function; got "+r(n)+"."})),e(t)}},f=new g;function p(e,t,n){i(Array.isArray(e),(function(){return"update(): expected target of "+r(n)+" to be an array; got "+r(e)+"."})),v(t[n],n)}function v(e,t){i(Array.isArray(e),(function(){return"update(): expected spec of "+r(t)+" to be an array; got "+r(e)+". Did you forget to wrap your parameter in an array?"}))}function y(e){i(Array.isArray(e),(function(){return"update(): expected spec of $splice to be an array of arrays; got "+r(e)+". Did you forget to wrap your parameters in an array?"}))}function m(e,t){var n=c(e);i("Map"===n||"Set"===n,(function(){return"update(): "+r(t)+" expects a target of type Set or Map; got "+r(n)}))}t.isEquals=f.update.isEquals,t.extend=f.extend,t.default=f.update,t.default.default=e.exports=u(t.default,t)},73335:(e,t,r)=>{var n=r(18769),i=Symbol.for("react.element"),o=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var n,c={},u=null,d=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(d=t.ref),t)o.call(t,n)&&!a.hasOwnProperty(n)&&(c[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===c[n]&&(c[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:d,props:c,_owner:s.current}}},31085:(e,t,r)=>{e.exports=r(73335)},18873:(e,t,r)=>{function n(e,t,...r){if("undefined"!=typeof process&&void 0===t)throw new Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;e=new Error(t.replace(/%s/g,(function(){return r[n++]}))),e.name="Invariant Violation"}throw e.framesToPop=1,e}}r.d(t,{V:()=>n})},9293:(e,t,r)=>{function n(e,t,r,n){let i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;const a=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s<o.length;s++){const c=o[s];if(!a(c))return!1;const u=e[c],d=t[c];if(i=r?r.call(n,u,d,c):void 0,!1===i||void 0===i&&u!==d)return!1}return!0}r.d(t,{b:()=>n})},50692:(e,t,r)=>{r.d(t,{t2:()=>I});var n={};function i(e){let t=null;return()=>(null==t&&(t=e()),t)}r.r(n),r.d(n,{FILE:()=>a,HTML:()=>d,TEXT:()=>u,URL:()=>c});class o{enter(e){const t=this.entered.length;return this.entered=function(e,t){const r=new Set,n=e=>r.add(e);e.forEach(n),t.forEach(n);const i=[];return r.forEach((e=>i.push(e))),i}(this.entered.filter((t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e)))),[e]),0===t&&this.entered.length>0}leave(e){const t=this.entered.length;var r,n;return this.entered=(r=this.entered.filter(this.isNodeInDocument),n=e,r.filter((e=>e!==n))),t>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class s{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach((e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})}))}loadDataTransfer(e){if(e){const t={};Object.keys(this.config.exposeProperties).forEach((r=>{const n=this.config.exposeProperties[r];null!=n&&(t[r]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})})),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}const a="__NATIVE_FILE__",c="__NATIVE_URL__",u="__NATIVE_TEXT__",d="__NATIVE_HTML__";function l(e,t,r){const n=t.reduce(((t,r)=>t||e.getData(r)),"");return null!=n?n:r}const g={[a]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[d]:{exposeProperties:{html:(e,t)=>l(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[c]:{exposeProperties:{urls:(e,t)=>l(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[u]:{exposeProperties:{text:(e,t)=>l(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function h(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(g).filter((e=>{const r=g[e];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some((e=>t.indexOf(e)>-1))}))[0]||null}const f=i((()=>/firefox/i.test(navigator.userAgent))),p=i((()=>Boolean(window.safari)));class v{interpolate(e){const{xs:t,ys:r,c1s:n,c2s:i,c3s:o}=this;let s=t.length-1;if(e===t[s])return r[s];let a,c=0,u=o.length-1;for(;c<=u;){a=Math.floor(.5*(c+u));const n=t[a];if(n<e)c=a+1;else{if(!(n>e))return r[a];u=a-1}}s=Math.max(0,u);const d=e-t[s],l=d*d;return r[s]+n[s]*d+i[s]*l+o[s]*d*l}constructor(e,t){const{length:r}=e,n=[];for(let e=0;e<r;e++)n.push(e);n.sort(((t,r)=>e[t]<e[r]?-1:1));const i=[],o=[],s=[];let a,c;for(let n=0;n<r-1;n++)a=e[n+1]-e[n],c=t[n+1]-t[n],o.push(a),i.push(c),s.push(c/a);const u=[s[0]];for(let e=0;e<o.length-1;e++){const t=s[e],r=s[e+1];if(t*r<=0)u.push(0);else{a=o[e];const n=o[e+1],i=a+n;u.push(3*i/((i+n)/t+(i+a)/r))}}u.push(s[s.length-1]);const d=[],l=[];let g;for(let e=0;e<u.length-1;e++){g=s[e];const t=u[e],r=1/o[e],n=t+u[e+1]-g-g;d.push((g-t-n)*r),l.push(n*r*r)}this.xs=e,this.ys=t,this.c1s=u,this.c2s=d,this.c3s=l}}const y=1;function m(e){const t=e.nodeType===y?e:e.parentElement;if(!t)return null;const{top:r,left:n}=t.getBoundingClientRect();return{x:n,y:r}}function O(e){return{x:e.clientX,y:e.clientY}}class D{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var e;return(null===(e=this.globalContext)||void 0===e?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null===(e=this.optionsArgs)||void 0===e?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){b(e,t,r[t])}))}return e}class T{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;var t;void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&(null===(t=this.window)||void 0===t||t.cancelAnimationFrame(this.asyncEndDragFrameId)))}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,r){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);const n=t=>this.handleDragStart(t,e),i=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",i),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",i),t.setAttribute("draggable","false")}}connectDropTarget(e,t){const r=t=>this.handleDragEnter(t,e),n=t=>this.handleDragOver(t,e),i=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",r),t.addEventListener("dragover",n),t.addEventListener("drop",i),()=>{t.removeEventListener("dragenter",r),t.removeEventListener("dragover",n),t.removeEventListener("drop",i)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return S({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId();return S({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(n).some((t=>n[t]===e))}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){const r=g[e];if(!r)throw new Error(`native type ${e} has no configuration`);const n=new s(r);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout((()=>{var e;return null===(e=this.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}clearCurrentDragSourceNode(){var e;return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.rootElement&&(null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{const t=this.sourceNodes.get(e);return t&&m(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>Boolean(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{const e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame((()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null})))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;const{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;const r=O(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});const{dataTransfer:n}=e,i=h(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){const e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),i=this.sourcePreviewNodes.get(e)||t;if(i){const{anchorX:e,anchorY:o,offsetX:s,offsetY:a}=this.getCurrentSourcePreviewNodeOptions(),c=function(e,t,r,n,i){const o="IMG"===(s=t).nodeName&&(f()||!(null===(a=document.documentElement)||void 0===a?void 0:a.contains(s)));var s,a;const c=m(o?e:t),u={x:r.x-c.x,y:r.y-c.y},{offsetWidth:d,offsetHeight:l}=e,{anchorX:g,anchorY:h}=n,{dragPreviewWidth:y,dragPreviewHeight:O}=function(e,t,r,n){let i=e?t.width:r,o=e?t.height:n;return p()&&e&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}(o,t,d,l),{offsetX:D,offsetY:b}=i,S=0===b||b;return{x:0===D||D?D:new v([0,.5,1],[u.x,u.x/d*y,u.x+y-d]).interpolate(g),y:S?b:(()=>{let e=new v([0,.5,1],[u.y,u.y/l*O,u.y+O-l]).interpolate(h);return p()&&o&&(e+=(window.devicePixelRatio-1)*O),e})()}}(t,i,r,{anchorX:e,anchorY:o},{offsetX:s,offsetY:a});n.setDragImage(i,c.x,c.y)}}try{null==n||n.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);const{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout((()=>this.actions.publishDragSource()),0)}else if(i)this.beginDragNativeItem(i);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{var t;if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)),!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;const{dataTransfer:r}=e,n=h(r);n&&this.beginDragNativeItem(n,r)},this.handleTopDragEnter=e=>{const{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:O(e)}),t.some((e=>this.monitor.canDropOnTarget(e)))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{var t;this.dragOverTargetIds=[],this.isDraggingNativeItem()&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer))},this.handleTopDragOver=e=>{const{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));this.altKeyPressed=e.altKey,this.lastClientOffset=O(e),this.scheduleHover(t),(t||[]).some((e=>this.monitor.canDropOnTarget(e)))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout((()=>this.endDragNativeItem()),0),this.cancelHover())},this.handleTopDropCapture=e=>{var t;this.dropTargetIds=[],this.isDraggingNativeItem()?(e.preventDefault(),null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)):h(e.dataTransfer)&&e.preventDefault(),this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{const{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:O(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{const t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new D(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new o(this.isNodeInDocument)}}const I=function(e,t,r){return new T(e,t,r)}},59079:(e,t,r)=>{r.d(t,{M:()=>n});const n=(0,r(18769).createContext)({dragDropManager:void 0})},63737:(e,t,r)=>{r.d(t,{Q:()=>fe});var n=r(31085);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var o="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function c(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(i(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(i(1));return r(c)(e,t)}if("function"!=typeof e)throw new Error(i(2));var s=e,u=t,d=[],l=d,g=!1;function h(){l===d&&(l=d.slice())}function f(){if(g)throw new Error(i(3));return u}function p(e){if("function"!=typeof e)throw new Error(i(4));if(g)throw new Error(i(5));var t=!0;return h(),l.push(e),function(){if(t){if(g)throw new Error(i(6));t=!1,h();var r=l.indexOf(e);l.splice(r,1),d=null}}}function v(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(i(7));if(void 0===e.type)throw new Error(i(8));if(g)throw new Error(i(9));try{g=!0,u=s(u,e)}finally{g=!1}for(var t=d=l,r=0;r<t.length;r++)(0,t[r])();return e}return v({type:a.INIT}),(n={dispatch:v,subscribe:p,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw new Error(i(10));s=e,v({type:a.REPLACE})}})[o]=function(){var e,t=p;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(i(11));function r(){e.next&&e.next(f())}return r(),{unsubscribe:t(r)}}})[o]=function(){return this},e},n}var u=r(18873);function d(e){return"object"==typeof e}const l="dnd-core/INIT_COORDS",g="dnd-core/BEGIN_DRAG",h="dnd-core/PUBLISH_DRAG_SOURCE",f="dnd-core/HOVER",p="dnd-core/DROP",v="dnd-core/END_DRAG";function y(e,t){return{type:l,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const m={type:l,payload:{clientOffset:null,sourceClientOffset:null}};function O(e){return function(t=[],r={publishSource:!0}){const{publishSource:n=!0,clientOffset:i,getSourceClientOffset:o}=r,s=e.getMonitor(),a=e.getRegistry();e.dispatch(y(i)),function(e,t,r){(0,u.V)(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){(0,u.V)(r.getSource(e),"Expected sourceIds to be registered.")}))}(t,s,a);const c=function(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}(t,s);if(null==c)return void e.dispatch(m);let l=null;if(i){if(!o)throw new Error("getSourceClientOffset must be defined");!function(e){(0,u.V)("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(o),l=o(c)}e.dispatch(y(i,l));const h=a.getSource(c).beginDrag(s,c);if(null==h)return;!function(e){(0,u.V)(d(e),"Item must be an object.")}(h),a.pinSource(c);const f=a.getSourceType(c);return{type:g,payload:{itemType:f,item:h,sourceId:c,clientOffset:i||null,sourceClientOffset:l||null,isSourcePublic:!!n}}}}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){D(e,t,r[t])}))}return e}function S(e){return function(t={}){const r=e.getMonitor(),n=e.getRegistry();!function(e){(0,u.V)(e.isDragging(),"Cannot call drop while not dragging."),(0,u.V)(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(r);const i=function(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(r);i.forEach(((i,o)=>{const s=function(e,t,r,n){const i=r.getTarget(e);let o=i?i.drop(n,e):void 0;return function(e){(0,u.V)(void 0===e||d(e),"Drop result must either be an object or undefined.")}(o),void 0===o&&(o=0===t?{}:n.getDropResult()),o}(i,o,n,r),a={type:p,payload:{dropResult:b({},t,s)}};e.dispatch(a)}))}}function T(e){return function(){const t=e.getMonitor(),r=e.getRegistry();!function(e){(0,u.V)(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const n=t.getSourceId();return null!=n&&(r.getSource(n,!0).endDrag(t,n),r.unpinSource()),{type:v}}}function I(e,t){return null===t?null===e:Array.isArray(e)?e.some((e=>e===t)):e===t}function w(e){return function(t,{clientOffset:r}={}){!function(e){(0,u.V)(Array.isArray(e),"Expected targetIds to be an array.")}(t);const n=t.slice(0),i=e.getMonitor(),o=e.getRegistry();return function(e,t,r){for(let n=e.length-1;n>=0;n--){const i=e[n];I(t.getTargetType(i),r)||e.splice(n,1)}}(n,o,i.getItemType()),function(e,t,r){(0,u.V)(t.isDragging(),"Cannot call hover while not dragging."),(0,u.V)(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){const n=e[t];(0,u.V)(e.lastIndexOf(n)===t,"Expected targetIds to be unique in the passed array.");const i=r.getTarget(n);(0,u.V)(i,"Expected targetIds to be registered.")}}(n,i,o),function(e,t,r){e.forEach((function(e){r.getTarget(e).hover(t,e)}))}(n,i,o),{type:f,payload:{targetIds:n,clientOffset:r||null}}}}function E(e){return function(){if(e.getMonitor().isDragging())return{type:h}}}class C{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:t}=this.store,r=function(e){return{beginDrag:O(e),publishDragSource:E(e),hover:w(e),drop:S(e),endDrag:T(e)}}(this);return Object.keys(r).reduce(((n,i)=>{const o=r[i];var s;return n[i]=(s=o,(...r)=>{const n=s.apply(e,r);void 0!==n&&t(n)}),n}),{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{const e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function P(e,t){return{x:e.x-t.x,y:e.y-t.y}}const x=[],N=[];x.__IS_NONE__=!0,N.__IS_ALL__=!0;class R{subscribeToStateChange(e,t={}){const{handlerIds:r}=t;(0,u.V)("function"==typeof e,"listener must be a function."),(0,u.V)(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe((()=>{const t=this.store.getState(),i=t.stateId;try{const o=i===n||i===n+1&&!function(e,t){return e!==x&&(e===N||void 0===t||(r=e,t.filter((e=>r.indexOf(e)>-1))).length>0);var r}(t.dirtyHandlerIds,r);o||e()}finally{n=i}}))}subscribeToOffsetChange(e){(0,u.V)("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe((()=>{const r=this.store.getState().dragOffset;r!==t&&(t=r,e())}))}canDragSource(e){if(!e)return!1;const t=this.registry.getSource(e);return(0,u.V)(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const t=this.registry.getTarget(e);return(0,u.V)(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&(I(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e))}isDragging(){return Boolean(this.getItemType())}isDraggingSource(e){if(!e)return!1;const t=this.registry.getSource(e,!0);return(0,u.V)(t,`Expected to find a valid source. sourceId=${e}`),!(!this.isDragging()||!this.isSourcePublic())&&(this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e))}isOverTarget(e,t={shallow:!1}){if(!e)return!1;const{shallow:r}=t;if(!this.isDragging())return!1;const n=this.registry.getTargetType(e),i=this.getItemType();if(i&&!I(n,i))return!1;const o=this.getTargetIds();if(!o.length)return!1;const s=o.indexOf(e);return r?s===o.length-1:s>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){const{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return t&&r&&n?P((o=n,{x:(i=t).x+o.x,y:i.y+o.y}),r):null;var i,o}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){const{clientOffset:t,initialClientOffset:r}=e;return t&&r?P(t,r):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}const M="undefined"!=typeof global?global:self,j=M.MutationObserver||M.WebKitMutationObserver;function _(e){return function(){const t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}const A="function"==typeof j?function(e){let t=1;const r=new j(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}:_;class k{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}const L=new class{enqueueTask(e){const{queue:t,requestFlush:r}=this;t.length||(r(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,r=e.length-this.index;t<r;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=A(this.flush),this.requestErrorThrow=_((()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()}))}},H=new class{create(e){const t=this.freeTasks,r=t.length?t.pop():new k(this.onError,(e=>t[t.length]=e));return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}(L.registerPendingError),V="dnd-core/ADD_SOURCE",$="dnd-core/ADD_TARGET",U="dnd-core/REMOVE_SOURCE",F="dnd-core/REMOVE_TARGET";function q(e,t){t&&Array.isArray(e)?e.forEach((e=>q(e,!1))):(0,u.V)("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var B;!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(B||(B={}));let Y=0;function G(e){switch(e[0]){case"S":return B.SOURCE;case"T":return B.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function X(e,t){const r=e.entries();let n=!1;do{const{done:e,value:[,i]}=r.next();if(i===t)return!0;n=!!e}while(!n);return!1}class W{addSource(e,t){q(e),function(e){(0,u.V)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,u.V)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,u.V)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);const r=this.addHandler(B.SOURCE,e,t);return this.store.dispatch(function(e){return{type:V,payload:{sourceId:e}}}(r)),r}addTarget(e,t){q(e,!0),function(e){(0,u.V)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,u.V)("function"==typeof e.hover,"Expected hover to be a function."),(0,u.V)("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);const r=this.addHandler(B.TARGET,e,t);return this.store.dispatch(function(e){return{type:$,payload:{targetId:e}}}(r)),r}containsHandler(e){return X(this.dragSources,e)||X(this.dropTargets,e)}getSource(e,t=!1){return(0,u.V)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return(0,u.V)(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return(0,u.V)(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return(0,u.V)(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return G(e)===B.SOURCE}isTargetId(e){return G(e)===B.TARGET}removeSource(e){var t;(0,u.V)(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:U,payload:{sourceId:e}}}(e)),t=()=>{this.dragSources.delete(e),this.types.delete(e)},L.enqueueTask(H.create(t))}removeTarget(e){(0,u.V)(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:F,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const t=this.getSource(e);(0,u.V)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){(0,u.V)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,r){const n=function(e){const t=(Y++).toString();switch(e){case B.SOURCE:return`S${t}`;case B.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(n,t),e===B.SOURCE?this.dragSources.set(n,r):e===B.TARGET&&this.dropTargets.set(n,r),n}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const K=(e,t)=>e===t;function z(e=x,t){switch(t.type){case f:break;case V:case $:case F:case U:return x;default:return N}const{targetIds:r=[],prevTargetIds:n=[]}=t.payload,i=function(e,t){const r=new Map,n=e=>{r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(n),t.forEach(n);const i=[];return r.forEach(((e,t)=>{1===e&&i.push(t)})),i}(r,n);if(!(i.length>0)&&function(e,t,r=K){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}(r,n))return x;const o=n[n.length-1],s=r[r.length-1];return o!==s&&(o&&i.push(o),s&&i.push(s)),i}function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const J={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Z(e=J,t){const{payload:r}=t;switch(t.type){case l:case g:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case f:return n=e.clientOffset,i=r.clientOffset,!n&&!i||n&&i&&n.x===i.x&&n.y===i.y?e:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Q(e,t,r[t])}))}return e}({},e,{clientOffset:r.clientOffset});case v:case p:return J;default:return e}var n,i}function ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){ee(e,t,r[t])}))}return e}const re={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function ne(e=re,t){const{payload:r}=t;switch(t.type){case g:return te({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case h:return te({},e,{isSourcePublic:!0});case f:return te({},e,{targetIds:r.targetIds});case F:return-1===e.targetIds.indexOf(r.targetId)?e:te({},e,{targetIds:(n=e.targetIds,i=r.targetId,n.filter((e=>e!==i)))});case p:return te({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case v:return te({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}var n,i}function ie(e=0,t){switch(t.type){case V:case $:return e+1;case U:case F:return e-1;default:return e}}function oe(e=0){return e+1}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){se(e,t,r[t])}))}return e}function ce(e={},t){return{dirtyHandlerIds:z(e.dirtyHandlerIds,{type:t.type,payload:ae({},t.payload,{prevTargetIds:(r=e,"dragOperation.targetIds",n=[],"dragOperation.targetIds".split(".").reduce(((e,t)=>e&&e[t]?e[t]:n||null),r))})}),dragOffset:Z(e.dragOffset,t),refCount:ie(e.refCount,t),dragOperation:ne(e.dragOperation,t),stateId:oe(e.stateId)};var r,n}function ue(e,t=void 0,r={},n=!1){const i=function(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return c(ce,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(n),o=new R(i,new W(i)),s=new C(i,o),a=e(s,t,r);return s.receiveBackend(a),s}var de=r(18769),le=r(59079);let ge=0;const he=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var fe=(0,de.memo)((function(e){var{children:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["children"]);const[i,o]=function(e){if("manager"in e)return[{dragDropManager:e.manager},!1];return[function(e,t=pe(),r,n){const i=t;return i[he]||(i[he]={dragDropManager:ue(e,t,r,n)}),i[he]}(e.backend,e.context,e.options,e.debugMode),!e.context]}(r);return(0,de.useEffect)((()=>{if(o){const e=pe();return++ge,()=>{0==--ge&&(e[he]=null)}}}),[]),(0,n.jsx)(le.M.Provider,{value:i,children:t})}));function pe(){return"undefined"!=typeof global?global:window}},44521:(e,t,r)=>{r.d(t,{j:()=>s});var n=r(38792),i=r(18769),o=r(4412);function s(e,t,r){return function(e,t,r){const[s,a]=function(e,t,r){const[s,a]=(0,i.useState)((()=>t(e))),c=(0,i.useCallback)((()=>{const i=t(e);n(s,i)||(a(i),r&&r())}),[s,e,r]);return(0,o.E)(c),[s,c]}(e,t,r);return(0,o.E)((function(){const t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(a,{handlerIds:[t]})}),[e,a]),s}(t,e||(()=>({})),(()=>r.reconnect()))}},80255:(e,t,r)=>{r.d(t,{i:()=>D});var n=r(18873),i=r(44521),o=r(49158),s=r(18769);function a(e){return(0,s.useMemo)((()=>e.hooks.dragSource()),[e])}function c(e){return(0,s.useMemo)((()=>e.hooks.dragPreview()),[e])}var u=r(9293),d=r(78394),l=r(67206);class g{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t}reconnectDragPreview(e=!1){const t=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();r&&this.disconnectDragPreview(),this.handlerId&&(t?r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions)):this.lastConnectedDragPreview=t)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,u.b)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,u.b)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=(0,l.i)({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,(0,d.i)(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,(0,d.i)(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}var h=r(5702),f=r(4412);let p=!1,v=!1;class y{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){(0,n.V)(!p,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return p=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{p=!1}}isDragging(){if(!this.sourceId)return!1;(0,n.V)(!v,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return v=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{v=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}var m=r(51918);class O{beginDrag(){const e=this.spec,t=this.monitor;let r=null;return r="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{},null!=r?r:null}canDrag(){const e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){const r=this.spec,n=this.monitor,{isDragging:i}=r;return i?i(n):t===e.getSourceId()}endDrag(){const e=this.spec,t=this.monitor,r=this.connector,{end:n}=e;n&&n(t.getItem(),t),r.reconnect()}constructor(e,t,r){this.spec=e,this.monitor=t,this.connector=r}}function D(e,t){const r=(0,o.I)(e,t);(0,n.V)(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const u=function(){const e=(0,h.u)();return(0,s.useMemo)((()=>new y(e)),[e])}(),d=function(e,t){const r=(0,h.u)(),n=(0,s.useMemo)((()=>new g(r.getBackend())),[r]);return(0,f.E)((()=>(n.dragSourceOptions=e||null,n.reconnect(),()=>n.disconnectDragSource())),[n,e]),(0,f.E)((()=>(n.dragPreviewOptions=t||null,n.reconnect(),()=>n.disconnectDragPreview())),[n,t]),n}(r.options,r.previewOptions);return function(e,t,r){const i=(0,h.u)(),o=function(e,t,r){const n=(0,s.useMemo)((()=>new O(e,t,r)),[t,r]);return(0,s.useEffect)((()=>{n.spec=e}),[e]),n}(e,t,r),a=function(e){return(0,s.useMemo)((()=>{const t=e.type;return(0,n.V)(null!=t,"spec.type must be defined"),t}),[e])}(e);(0,f.E)((function(){if(null!=a){const[e,n]=(0,m.V)(a,o,i);return t.receiveHandlerId(e),r.receiveHandlerId(e),n}}),[i,t,r,o,a])}(r,u,d),[(0,i.j)(r.collect,u,d),a(d),c(d)]}},5702:(e,t,r)=>{r.d(t,{u:()=>s});var n=r(18873),i=r(18769),o=r(59079);function s(){const{dragDropManager:e}=(0,i.useContext)(o.M);return(0,n.V)(null!=e,"Expected drag drop context"),e}},47522:(e,t,r)=>{r.d(t,{H:()=>m});var n=r(44521),i=r(49158),o=r(18769);function s(e){return(0,o.useMemo)((()=>e.hooks.dropTarget()),[e])}var a=r(9293),c=r(78394),u=r(67206);class d{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,a.b)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=(0,u.i)({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,(0,c.i)(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}var l=r(5702),g=r(4412),h=r(18873);let f=!1;class p{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;(0,h.V)(!f,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return f=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{f=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}var v=r(51918);class y{canDrop(){const e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){const e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){const e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function m(e,t){const r=(0,i.I)(e,t),a=function(){const e=(0,l.u)();return(0,o.useMemo)((()=>new p(e)),[e])}(),c=function(e){const t=(0,l.u)(),r=(0,o.useMemo)((()=>new d(t.getBackend())),[t]);return(0,g.E)((()=>(r.dropTargetOptions=e||null,r.reconnect(),()=>r.disconnectDropTarget())),[e]),r}(r.options);return function(e,t,r){const n=(0,l.u)(),i=function(e,t){const r=(0,o.useMemo)((()=>new y(e,t)),[t]);return(0,o.useEffect)((()=>{r.spec=e}),[e]),r}(e,t),s=function(e){const{accept:t}=e;return(0,o.useMemo)((()=>((0,h.V)(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t])),[t])}(e);(0,g.E)((function(){const[e,o]=(0,v.l)(s,i,n);return t.receiveHandlerId(e),r.receiveHandlerId(e),o}),[n,t,i,r,s.map((e=>e.toString())).join("|")])}(r,a,c),[(0,n.j)(r.collect,a,c),s(c)]}},4412:(e,t,r)=>{r.d(t,{E:()=>i});var n=r(18769);const i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},49158:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(18769);function i(e,t){const r=[...t||[]];return null==t&&"function"!=typeof e&&r.push(e),(0,n.useMemo)((()=>"function"==typeof e?e():e),r)}},78394:(e,t,r)=>{function n(e){return null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}r.d(t,{i:()=>n})},51918:(e,t,r)=>{function n(e,t,r){const n=r.getRegistry(),i=n.addTarget(e,t);return[i,()=>n.removeTarget(i)]}function i(e,t,r){const n=r.getRegistry(),i=n.addSource(e,t);return[i,()=>n.removeSource(i)]}r.d(t,{V:()=>i,l:()=>n})},67206:(e,t,r)=>{r.d(t,{i:()=>o});var n=r(18873),i=r(18769);function o(e){const t={};return Object.keys(e).forEach((r=>{const o=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{const e=function(e){return(t=null,r=null)=>{if(!(0,i.isValidElement)(t)){const n=t;return e(n,r),n}const o=t;return function(e){if("string"==typeof e.type)return;const t=e.type.displayName||e.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${t} into a <div>, or turn it into a drag source or a drop target itself.`)}(o),function(e,t){const r=e.ref;return(0,n.V)("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?(0,i.cloneElement)(e,{ref:e=>{s(r,e),s(t,e)}}):(0,i.cloneElement)(e,{ref:t})}(o,r?t=>e(t,r):e)}}(o);t[r]=()=>e}})),t}function s(e,t){"function"==typeof e?e(t):e.current=t}}}]);
3
+ //# sourceMappingURL=9655.79761c08.js.map