@abtnode/webapp 1.17.7-beta-20251227-001958-ea2ba3f5 → 1.17.7-beta-20251229-223813-e1e6c5e3

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 (198) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{AdapterDayjs-BdvIhlUS.js → AdapterDayjs-BBi3P2IC.js} +1 -1
  4. package/dist/assets/{Add-75JKngmd.js → Add-DBDPvM2L.js} +1 -1
  5. package/dist/assets/ArrowDropDown-CqYw-eY9.js +1 -0
  6. package/dist/assets/{Autocomplete-kOONI_Pq.js → Autocomplete-6CVDh-bw.js} +1 -1
  7. package/dist/assets/{Breadcrumbs-cTLPSR0j.js → Breadcrumbs-CIhr-IBH.js} +1 -1
  8. package/dist/assets/{ButtonGroup-CHbmdfp0.js → ButtonGroup-Um1mBtyg.js} +1 -1
  9. package/dist/assets/{CSSTransition-D4VQqBYl.js → CSSTransition-BcU1vShi.js} +1 -1
  10. package/dist/assets/{CallMerge-DlG0KEtx.js → CallMerge-CqN4JiFM.js} +1 -1
  11. package/dist/assets/{CardContent-DzGFYCPu.js → CardContent-C16B5Bpa.js} +1 -1
  12. package/dist/assets/{ChevronLeft-BtZyYDNZ.js → ChevronLeft-Ds4qWfjb.js} +1 -1
  13. package/dist/assets/{ChevronRight-RokC-KBT.js → ChevronRight-BFqUOmvp.js} +1 -1
  14. package/dist/assets/{Clear-1FRwWVql.js → Clear-L4-iFi83.js} +1 -1
  15. package/dist/assets/{Delete-BwS0ZYTA.js → Delete-DVp4fJb1.js} +1 -1
  16. package/dist/assets/{DeleteOutline-1X_2pN5H.js → DeleteOutline-CDxyWfLx.js} +1 -1
  17. package/dist/assets/{Done-CL3etDC5.js → Done-D7TYY_5X.js} +1 -1
  18. package/dist/assets/{Edit-CHx0TOIp.js → Edit-DYn1CF5Y.js} +1 -1
  19. package/dist/assets/{ErrorOutline-C1GIrHWO.js → ErrorOutline-By74cLGJ.js} +1 -1
  20. package/dist/assets/{FilterList-CeGx1Nvy.js → FilterList-Czj4Os71.js} +1 -1
  21. package/dist/assets/{Google-C7HwiVx9.js → Google-DZPfsfDE.js} +1 -1
  22. package/dist/assets/{HelpOutline-v-SutwQQ.js → HelpOutline-DS85eUTc.js} +1 -1
  23. package/dist/assets/{KeyboardArrowDown-CUBW-wSD.js → KeyboardArrowDown-C53dgTNk.js} +1 -1
  24. package/dist/assets/{Launch-DW7r2j3F.js → Launch-l1uaKrAG.js} +1 -1
  25. package/dist/assets/{Link-JpBA3kOe.js → Link-Bs8vi6ND.js} +1 -1
  26. package/dist/assets/{ListItemButton-YCbqUifF.js → ListItemButton-KbcDtzXD.js} +1 -1
  27. package/dist/assets/{ListSubheader-B7asbL85.js → ListSubheader-C-Lxj5FB.js} +1 -1
  28. package/dist/assets/{LoadingButton-KZUgibtr.js → LoadingButton-CZNIV9Ok.js} +1 -1
  29. package/dist/assets/{MoreVert-CAHrwnnF.js → MoreVert-DaM6pG5s.js} +1 -1
  30. package/dist/assets/{OpenInNew-qP3b9J2q.js → OpenInNew-BQeSMHR-.js} +1 -1
  31. package/dist/assets/{Refresh-kYd1krYv.js → Refresh-BJnu5a0L.js} +1 -1
  32. package/dist/assets/{Replay-SZk6LYf7.js → Replay-BV6q004T.js} +1 -1
  33. package/dist/assets/{Search-l7-Pwd1y.js → Search-CApGhXwm.js} +1 -1
  34. package/dist/assets/{Stepper-BGGXEyEh.js → Stepper-B2_oAcOZ.js} +1 -1
  35. package/dist/assets/{TableSearch-7aO3QXBn.js → TableSearch-CKjIHAce.js} +1 -1
  36. package/dist/assets/{ToggleButtonGroup-CavSDkQH.js → ToggleButtonGroup-t3tLzS74.js} +1 -1
  37. package/dist/assets/{UnfoldMore-DGe5-aCR.js → UnfoldMore-D2Y42T3n.js} +1 -1
  38. package/dist/assets/{Verified-D57Ev6tJ.js → Verified-QiB22jgm.js} +1 -1
  39. package/dist/assets/{VerifiedUser-BVjv0CVW.js → VerifiedUser-kPobsDlg.js} +1 -1
  40. package/dist/assets/{ViewList-DnUToii8.js → ViewList-Ceb1JHIv.js} +1 -1
  41. package/dist/assets/{_createAggregator-CvUwaNA9.js → _createAggregator-g-PBWDTI.js} +1 -1
  42. package/dist/assets/{actions-DmtsArNi.js → actions-BCMsejAj.js} +2 -2
  43. package/dist/assets/actions-Dp-VL6XB.js +1 -0
  44. package/dist/assets/{agreement-Cr1FBybU.js → agreement-Bun3wUY-.js} +4 -4
  45. package/dist/assets/api-DDSUcMPT.js +1 -0
  46. package/dist/assets/{appearance-349xWfPH.js → appearance-yP6FtjZ0.js} +1 -1
  47. package/dist/assets/{audit-logs-MqhyOVr_.js → audit-logs-bPLYn_cc.js} +3 -3
  48. package/dist/assets/base-chart-BZha7l7D.js +1 -0
  49. package/dist/assets/{blocklet-BWp5BZ2L.js → blocklet-Nw4kpsVs.js} +1 -1
  50. package/dist/assets/{chain-Cs69RHJH.js → chain-WdOor_5_.js} +1 -1
  51. package/dist/assets/click-to-copy-DjkhfhsV.js +1 -0
  52. package/dist/assets/cloneDeep-Bl8wZyrm.js +1 -0
  53. package/dist/assets/{config-navigation-CB4CUmS1.js → config-navigation-Pdv-g1jO.js} +22 -22
  54. package/dist/assets/{connect-to-BOU_fUy1.js → connect-to-D2aJnmIt.js} +3 -3
  55. package/dist/assets/{cssMode-irya--jO.js → cssMode-CbVfvomN.js} +1 -1
  56. package/dist/assets/{de-CCwoF0w2.js → de-EFAP4yzZ.js} +1 -1
  57. package/dist/assets/{delete-confirm-Czdis-d2.js → delete-confirm-DCHvoTQs.js} +1 -1
  58. package/dist/assets/{depsEqual-DtNa6mfL.js → depsEqual-LiU_ATMs.js} +1 -1
  59. package/dist/assets/{detail-aen8Gspk.js → detail-B-lIb4O1.js} +3 -3
  60. package/dist/assets/{domains-BRAsjXjE.js → domains-CeCMQUBm.js} +2 -2
  61. package/dist/assets/{download-DJuVrKpX.js → download-DHuOHOVu.js} +1 -1
  62. package/dist/assets/{edit.svg-H5puV-Kf.js → edit.svg-D0_FvYeH.js} +1 -1
  63. package/dist/assets/emotion-cache.browser.esm-D1-P5QGD.js +1 -0
  64. package/dist/assets/engine-D8Acg7DY.js +1 -0
  65. package/dist/assets/{freemarker2-PK6zL7Wa.js → freemarker2-Dbd2dz2J.js} +1 -1
  66. package/dist/assets/{get-safe-url-GMIK5bS7.js → get-safe-url-DDm_hPj1.js} +1 -1
  67. package/dist/assets/getValidReactChildren-DpcxJbs9.js +1 -0
  68. package/dist/assets/{graphqlMode-DhfmM5z8.js → graphqlMode-BNREvohj.js} +2 -2
  69. package/dist/assets/{handlebars-suZg9Rb2.js → handlebars-Ce_TkpEQ.js} +1 -1
  70. package/dist/assets/{html-DLf47i1s.js → html-CUmDiv7k.js} +1 -1
  71. package/dist/assets/{html-title-BhYkXb7K.js → html-title-D3mv3IQk.js} +1 -1
  72. package/dist/assets/{htmlMode-CRO-0abo.js → htmlMode-Ca_TsxJH.js} +1 -1
  73. package/dist/assets/{iframe-D8OX0v5x.js → iframe-Dt-xbP5x.js} +1 -1
  74. package/dist/assets/{index-Dk8_eJCH.js → index-2VA5XrmO.js} +17 -17
  75. package/dist/assets/index-2lzs7bat.js +1 -0
  76. package/dist/assets/{index-DeYnJhWD.js → index-B0O0JwRT.js} +1 -1
  77. package/dist/assets/{index-BuAy14Fb.js → index-B11n09kE.js} +1 -1
  78. package/dist/assets/{index-HMHQfeWc.js → index-B2WmX6Fx.js} +9 -9
  79. package/dist/assets/{index-B0YA0eex.js → index-BHAdZ1FZ.js} +2 -2
  80. package/dist/assets/{index-C43er3Ol.js → index-BLI3C2o7.js} +1 -1
  81. package/dist/assets/index-BPuMob2k.js +1 -0
  82. package/dist/assets/{index-CjSZc8j3.js → index-BQNKAwfZ.js} +1 -1
  83. package/dist/assets/{index-DcB5G7mF.js → index-Be8ehpQE.js} +1 -1
  84. package/dist/assets/{index-CfCUQn4l.js → index-BsjY45Cd.js} +4 -4
  85. package/dist/assets/{index-D94ou7Gi.js → index-BxX_nqnW.js} +2 -2
  86. package/dist/assets/{index-C8P0cv0U.js → index-C8CmKnU4.js} +2 -2
  87. package/dist/assets/{index--sTZZj1Y.js → index-CAA1AdyJ.js} +2 -2
  88. package/dist/assets/{index-CV64vjhs.js → index-CADLzzXJ.js} +3 -3
  89. package/dist/assets/index-CKHOafPq.js +79 -0
  90. package/dist/assets/{index-lJeVBvul.js → index-CL2N86sI.js} +12 -12
  91. package/dist/assets/index-CODEE-RB.js +5 -0
  92. package/dist/assets/{index-B8RjSIJa.js → index-CQYzPG_n.js} +1 -1
  93. package/dist/assets/{index-Devav5mO.js → index-CQogNORn.js} +12 -12
  94. package/dist/assets/{index-929LkcAj.js → index-CR1U7OM5.js} +8 -8
  95. package/dist/assets/{index-BQYunZVD.js → index-CTWQgRaZ.js} +1 -1
  96. package/dist/assets/index-CaDcvTD7.js +155 -0
  97. package/dist/assets/{index-BbjlOuR9.js → index-CdxsHt3r.js} +3 -3
  98. package/dist/assets/{index-DV1T4J21.js → index-Ci1hoD9j.js} +2 -2
  99. package/dist/assets/{index-CUYDbdpc.js → index-CvZItgju.js} +1 -1
  100. package/dist/assets/{index-DARZEe4H.js → index-CypG4Dbq.js} +2 -2
  101. package/dist/assets/{index-BLAEccy_.js → index-D0-rZXcm.js} +1 -1
  102. package/dist/assets/{index-3eT72yhD.js → index-D319vBae.js} +9 -9
  103. package/dist/assets/index-DJ9zSKl1.js +87 -0
  104. package/dist/assets/{index-DkSARRFf.js → index-DQItZ4UM.js} +1 -1
  105. package/dist/assets/{index-Bq_Xf-WS.js → index-DT5BIL2_.js} +1 -1
  106. package/dist/assets/index-DdYx-VNK.js +1 -0
  107. package/dist/assets/{index-0K1n4OCx.js → index-DjQqmpzQ.js} +2 -2
  108. package/dist/assets/{index-DwIPLdSZ.js → index-Dt9htCod.js} +17 -17
  109. package/dist/assets/{index-Y-QvttbJ.js → index-DtJVzdtH.js} +111 -111
  110. package/dist/assets/{index-DGClCi00.js → index-Dtkcfmzb.js} +11 -11
  111. package/dist/assets/{index-LHDtQAe7.js → index-IWOqJkOB.js} +1 -1
  112. package/dist/assets/{index-sa-k6sge.js → index-KI2LGzUW.js} +1 -1
  113. package/dist/assets/{index-B9IBU_20.js → index-WbuPRmjd.js} +1 -1
  114. package/dist/assets/{index-D-GgAn4D.js → index-jT3H-jhB.js} +1 -1
  115. package/dist/assets/{index-RvLFbIq0.js → index-kRFEBldM.js} +2 -2
  116. package/dist/assets/{index-DZVqWhON.js → index-umVLVZjs.js} +1 -1
  117. package/dist/assets/{index-BJDBjriy.js → index-z-tbDeE3.js} +4 -4
  118. package/dist/assets/{index.esm-D4mbID4N.js → index.esm-Zck39Kvz.js} +1 -1
  119. package/dist/assets/{install-from-url-B3WY31cp.js → install-from-url-BXftFn4t.js} +1 -1
  120. package/dist/assets/{invitation--cbaLA7C.js → invitation-4F28SRYz.js} +4 -4
  121. package/dist/assets/is-path-prefix-equal-BJMXSv43.js +1 -0
  122. package/dist/assets/item-C1JxTPT2.js +273 -0
  123. package/dist/assets/{javascript-ChSXcPeU.js → javascript-B0m7UVIe.js} +1 -1
  124. package/dist/assets/{jsonMode-BRST5wef.js → jsonMode-CgwGbFre.js} +1 -1
  125. package/dist/assets/{liquid-CpSF9izi.js → liquid-BZyWy1Tr.js} +1 -1
  126. package/dist/assets/{list-header-CAyaG0bp.js → list-header-BZRIF_iO.js} +1 -1
  127. package/dist/assets/{lock.svg-DtLI8vnk.js → lock.svg-Ba4McgFD.js} +1 -1
  128. package/dist/assets/{log-DZS6nYV_.js → log-BFB-zvPt.js} +2 -2
  129. package/dist/assets/{lottie-react.esm-D7vuHojB.js → lottie-react.esm-CGSms1Pf.js} +1 -1
  130. package/dist/assets/{mdx-BWUp_fub.js → mdx-BRVCuIrx.js} +1 -1
  131. package/dist/assets/{memory-ClDXUWJ0.js → memory-B2j_d87p.js} +1 -1
  132. package/dist/assets/{metric-DyS1o5oY.js → metric-DpvjSsZq.js} +1 -1
  133. package/dist/assets/omit-CyTnrDNo.js +1 -0
  134. package/dist/assets/{overview-BZK8iTTP.js → overview-DkMLRtwO.js} +1 -1
  135. package/dist/assets/{permission-C73DtYHh.js → permission-DTFazP7s.js} +1 -1
  136. package/dist/assets/{preference-A-YVUe6G.js → preference-DYVCo0KF.js} +9 -9
  137. package/dist/assets/{python-CxcQpe_X.js → python-B-wSNZ_T.js} +1 -1
  138. package/dist/assets/{raf-schd.esm-DUBpm6hM.js → raf-schd.esm-B7_MlDzu.js} +1 -1
  139. package/dist/assets/{razor-CV7jqhrT.js → razor-BR_HjGgi.js} +1 -1
  140. package/dist/assets/{rotate-session-key-C16BchY6.js → rotate-session-key-Bz5QE7gB.js} +1 -1
  141. package/dist/assets/{runtime-DQsAvWqZ.js → runtime-DM0B8rA4.js} +1 -1
  142. package/dist/assets/schema-BKPaewSy.js +1 -0
  143. package/dist/assets/sdk-CXClyXm7.js +1 -0
  144. package/dist/assets/{service-DAzvPZkc.js → service-DkoTQaTk.js} +1 -1
  145. package/dist/assets/{shorten-label-CkQfhtXr.js → shorten-label-BR48Ofqe.js} +1 -1
  146. package/dist/assets/{simple-select-CuyjHO0U.js → simple-select-D38wTw_o.js} +1 -1
  147. package/dist/assets/{spaces-CWPgDpWK.js → spaces-YFYDpL5l.js} +1 -1
  148. package/dist/assets/status-BTCwUhiG.js +1 -0
  149. package/dist/assets/{status-Dzw7M8P_.js → status-B_ZSV6JY.js} +1 -1
  150. package/dist/assets/{switch-control-BclMvWCC.js → switch-control-Fq47wOrt.js} +2 -2
  151. package/dist/assets/{table-icons-9svpZs1q.js → table-icons-DYQRHdVu.js} +1 -1
  152. package/dist/assets/{team-j4eaMxpB.js → team-DKJfzzKD.js} +1 -1
  153. package/dist/assets/{toLower-8m1XzQqH.js → toLower-62VYhzjn.js} +1 -1
  154. package/dist/assets/toUpper-CBmQ5f7q.js +1 -0
  155. package/dist/assets/traffic-Dh_MwZxy.js +1 -0
  156. package/dist/assets/{tsMode-CqXYRIKQ.js → tsMode-CxSxmJBQ.js} +1 -1
  157. package/dist/assets/{typescript-KJ8oiy4w.js → typescript-Dnu6Xv3U.js} +1 -1
  158. package/dist/assets/{url-evaluation-BstEsUAB.js → url-evaluation-Cf4MPEtF.js} +1 -1
  159. package/dist/assets/{url-join-0c-XnZLH.js → url-join-P8kMCiOB.js} +1 -1
  160. package/dist/assets/{use-mobile-BG1HQZl_.js → use-mobile-BnTDQjTV.js} +1 -1
  161. package/dist/assets/{use-mobile-9lV1jqC7.js → use-mobile-D1KGwOlr.js} +1 -1
  162. package/dist/assets/{useAsync-Bbnkcz0c.js → useAsync-SwSlukzF.js} +1 -1
  163. package/dist/assets/{useAsyncRetry-DwNYtCt1.js → useAsyncRetry-BQEwzyM4.js} +1 -1
  164. package/dist/assets/{useLocalStorage-B2geQn_J.js → useLocalStorage-41az-hAK.js} +1 -1
  165. package/dist/assets/{useThemeProps-CqzVTStV.js → useThemeProps-Cw6i_sME.js} +1 -1
  166. package/dist/assets/{util-BRuccBUB.js → util-C9NPDRP-.js} +1 -1
  167. package/dist/assets/{wait-container-C4LPSsIr.js → wait-container-GLOlfScg.js} +3 -3
  168. package/dist/assets/{without-wallet--pvprqkp.js → without-wallet-rfYvx_29.js} +1 -1
  169. package/dist/assets/wrap-locale-C-Q-ES8F.js +1 -0
  170. package/dist/assets/{xml-DQZh516a.js → xml-D06mM15g.js} +1 -1
  171. package/dist/assets/{yaml-CpaHe6nN.js → yaml-DrMeEOdm.js} +1 -1
  172. package/dist/index.html +1 -1
  173. package/package.json +1 -1
  174. package/dist/assets/ArrowDropDown-CbIxem1P.js +0 -1
  175. package/dist/assets/actions-BZl9shku.js +0 -1
  176. package/dist/assets/api-CZXns3iQ.js +0 -1
  177. package/dist/assets/base-chart-B_hYrlch.js +0 -1
  178. package/dist/assets/click-to-copy-CJg25x9s.js +0 -1
  179. package/dist/assets/cloneDeep-CvglcUIb.js +0 -1
  180. package/dist/assets/emotion-cache.browser.esm-CaLvcLFC.js +0 -1
  181. package/dist/assets/engine-C4nmXPyL.js +0 -1
  182. package/dist/assets/getValidReactChildren-BTFGvhfH.js +0 -1
  183. package/dist/assets/index-BKwmETrp.js +0 -1
  184. package/dist/assets/index-CHyDna8x.js +0 -79
  185. package/dist/assets/index-CK6zgnPU.js +0 -5
  186. package/dist/assets/index-CL23Woxs.js +0 -87
  187. package/dist/assets/index-DYn_D6bf.js +0 -155
  188. package/dist/assets/index-Di8tb0lj.js +0 -1
  189. package/dist/assets/index-Diu0oJmr.js +0 -1
  190. package/dist/assets/is-path-prefix-equal-BkAKRgRo.js +0 -1
  191. package/dist/assets/item-9qWg89Hm.js +0 -273
  192. package/dist/assets/omit-BgwU28m_.js +0 -1
  193. package/dist/assets/schema-CutOyNqB.js +0 -1
  194. package/dist/assets/sdk-vbwSpYyc.js +0 -1
  195. package/dist/assets/status-D1smxOIE.js +0 -1
  196. package/dist/assets/toUpper-B5GOxJoT.js +0 -1
  197. package/dist/assets/traffic-DIOEDjRI.js +0 -1
  198. package/dist/assets/wrap-locale-D8L6OQkL.js +0 -1
@@ -1,12 +1,12 @@
1
- import{dz as W,eJ as ne,r as C,eK as La,dA as Ci}from"./index-Y-QvttbJ.js";import{c as Ii}from"./redux-DfszZyTl.js";var me,Sr;function wi(){if(Sr)return me;Sr=1;function e(){this.__data__=[],this.size=0}return me=e,me}var _e,Or;function Ha(){if(Or)return _e;Or=1;function e(t,r){return t===r||t!==t&&r!==r}return _e=e,_e}var De,Tr;function ue(){if(Tr)return De;Tr=1;var e=Ha();function t(r,n){for(var a=r.length;a--;)if(e(r[a][0],n))return a;return-1}return De=t,De}var Se,Cr;function Ei(){if(Cr)return Se;Cr=1;var e=ue(),t=Array.prototype,r=t.splice;function n(a){var i=this.__data__,o=e(i,a);if(o<0)return!1;var u=i.length-1;return o==u?i.pop():r.call(i,o,1),--this.size,!0}return Se=n,Se}var Oe,Ir;function Pi(){if(Ir)return Oe;Ir=1;var e=ue();function t(r){var n=this.__data__,a=e(n,r);return a<0?void 0:n[a][1]}return Oe=t,Oe}var Te,wr;function Ai(){if(wr)return Te;wr=1;var e=ue();function t(r){return e(this.__data__,r)>-1}return Te=t,Te}var Ce,Er;function Ri(){if(Er)return Ce;Er=1;var e=ue();function t(r,n){var a=this.__data__,i=e(a,r);return i<0?(++this.size,a.push([r,n])):a[i][1]=n,this}return Ce=t,Ce}var Ie,Pr;function se(){if(Pr)return Ie;Pr=1;var e=wi(),t=Ei(),r=Pi(),n=Ai(),a=Ri();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,Ie=i,Ie}var we,Ar;function ki(){if(Ar)return we;Ar=1;var e=se();function t(){this.__data__=new e,this.size=0}return we=t,we}var Ee,Rr;function qi(){if(Rr)return Ee;Rr=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return Ee=e,Ee}var Pe,kr;function Mi(){if(kr)return Pe;kr=1;function e(t){return this.__data__.get(t)}return Pe=e,Pe}var Ae,qr;function ji(){if(qr)return Ae;qr=1;function e(t){return this.__data__.has(t)}return Ae=e,Ae}var Re,Mr;function Ua(){if(Mr)return Re;Mr=1;var e=typeof W=="object"&&W&&W.Object===Object&&W;return Re=e,Re}var ke,jr;function j(){if(jr)return ke;jr=1;var e=Ua(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return ke=r,ke}var qe,xr;function fr(){if(xr)return qe;xr=1;var e=j(),t=e.Symbol;return qe=t,qe}var Me,Nr;function xi(){if(Nr)return Me;Nr=1;var e=fr(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,a=e?e.toStringTag:void 0;function i(o){var u=r.call(o,a),s=o[a];try{o[a]=void 0;var c=!0}catch{}var l=n.call(o);return c&&(u?o[a]=s:delete o[a]),l}return Me=i,Me}var je,$r;function Ni(){if($r)return je;$r=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return je=r,je}var xe,Lr;function ce(){if(Lr)return xe;Lr=1;var e=fr(),t=xi(),r=Ni(),n="[object Null]",a="[object Undefined]",i=e?e.toStringTag:void 0;function o(u){return u==null?u===void 0?a:n:i&&i in Object(u)?t(u):r(u)}return xe=o,xe}var Ne,Hr;function Fa(){if(Hr)return Ne;Hr=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return Ne=e,Ne}var $e,Ur;function Ga(){if(Ur)return $e;Ur=1;var e=ce(),t=Fa(),r="[object AsyncFunction]",n="[object Function]",a="[object GeneratorFunction]",i="[object Proxy]";function o(u){if(!t(u))return!1;var s=e(u);return s==n||s==a||s==r||s==i}return $e=o,$e}var Le,Fr;function $i(){if(Fr)return Le;Fr=1;var e=j(),t=e["__core-js_shared__"];return Le=t,Le}var He,Gr;function Li(){if(Gr)return He;Gr=1;var e=$i(),t=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function r(n){return!!t&&t in n}return He=r,He}var Ue,Kr;function Ka(){if(Kr)return Ue;Kr=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return Ue=r,Ue}var Fe,Br;function Hi(){if(Br)return Fe;Br=1;var e=Ga(),t=Li(),r=Fa(),n=Ka(),a=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,s=o.toString,c=u.hasOwnProperty,l=RegExp("^"+s.call(c).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(v){if(!r(v)||t(v))return!1;var h=e(v)?l:i;return h.test(n(v))}return Fe=d,Fe}var Ge,Wr;function Ui(){if(Wr)return Ge;Wr=1;function e(t,r){return t?.[r]}return Ge=e,Ge}var Ke,zr;function N(){if(zr)return Ke;zr=1;var e=Hi(),t=Ui();function r(n,a){var i=t(n,a);return e(i)?i:void 0}return Ke=r,Ke}var Be,Vr;function lr(){if(Vr)return Be;Vr=1;var e=N(),t=j(),r=e(t,"Map");return Be=r,Be}var We,Xr;function fe(){if(Xr)return We;Xr=1;var e=N(),t=e(Object,"create");return We=t,We}var ze,Yr;function Fi(){if(Yr)return ze;Yr=1;var e=fe();function t(){this.__data__=e?e(null):{},this.size=0}return ze=t,ze}var Ve,Jr;function Gi(){if(Jr)return Ve;Jr=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Ve=e,Ve}var Xe,Qr;function Ki(){if(Qr)return Xe;Qr=1;var e=fe(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function a(i){var o=this.__data__;if(e){var u=o[i];return u===t?void 0:u}return n.call(o,i)?o[i]:void 0}return Xe=a,Xe}var Ye,Zr;function Bi(){if(Zr)return Ye;Zr=1;var e=fe(),t=Object.prototype,r=t.hasOwnProperty;function n(a){var i=this.__data__;return e?i[a]!==void 0:r.call(i,a)}return Ye=n,Ye}var Je,en;function Wi(){if(en)return Je;en=1;var e=fe(),t="__lodash_hash_undefined__";function r(n,a){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&a===void 0?t:a,this}return Je=r,Je}var Qe,tn;function zi(){if(tn)return Qe;tn=1;var e=Fi(),t=Gi(),r=Ki(),n=Bi(),a=Wi();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,Qe=i,Qe}var Ze,rn;function Vi(){if(rn)return Ze;rn=1;var e=zi(),t=se(),r=lr();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Ze=n,Ze}var et,nn;function Xi(){if(nn)return et;nn=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return et=e,et}var tt,an;function le(){if(an)return tt;an=1;var e=Xi();function t(r,n){var a=r.__data__;return e(n)?a[typeof n=="string"?"string":"hash"]:a.map}return tt=t,tt}var rt,on;function Yi(){if(on)return rt;on=1;var e=le();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return rt=t,rt}var nt,un;function Ji(){if(un)return nt;un=1;var e=le();function t(r){return e(this,r).get(r)}return nt=t,nt}var at,sn;function Qi(){if(sn)return at;sn=1;var e=le();function t(r){return e(this,r).has(r)}return at=t,at}var it,cn;function Zi(){if(cn)return it;cn=1;var e=le();function t(r,n){var a=e(this,r),i=a.size;return a.set(r,n),this.size+=a.size==i?0:1,this}return it=t,it}var ot,fn;function Ba(){if(fn)return ot;fn=1;var e=Vi(),t=Yi(),r=Ji(),n=Qi(),a=Zi();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,ot=i,ot}var ut,ln;function eo(){if(ln)return ut;ln=1;var e=se(),t=lr(),r=Ba(),n=200;function a(i,o){var u=this.__data__;if(u instanceof e){var s=u.__data__;if(!t||s.length<n-1)return s.push([i,o]),this.size=++u.size,this;u=this.__data__=new r(s)}return u.set(i,o),this.size=u.size,this}return ut=a,ut}var st,dn;function to(){if(dn)return st;dn=1;var e=se(),t=ki(),r=qi(),n=Mi(),a=ji(),i=eo();function o(u){var s=this.__data__=new e(u);this.size=s.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=a,o.prototype.set=i,st=o,st}var ct,gn;function ro(){if(gn)return ct;gn=1;function e(t,r){for(var n=-1,a=Array(t);++n<t;)a[n]=r(n);return a}return ct=e,ct}var ft,hn;function de(){if(hn)return ft;hn=1;function e(t){return t!=null&&typeof t=="object"}return ft=e,ft}var lt,vn;function no(){if(vn)return lt;vn=1;var e=ce(),t=de(),r="[object Arguments]";function n(a){return t(a)&&e(a)==r}return lt=n,lt}var dt,pn;function ao(){if(pn)return dt;pn=1;var e=no(),t=de(),r=Object.prototype,n=r.hasOwnProperty,a=r.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(o){return t(o)&&n.call(o,"callee")&&!a.call(o,"callee")};return dt=i,dt}var gt,yn;function dr(){if(yn)return gt;yn=1;var e=Array.isArray;return gt=e,gt}var H={exports:{}},ht,bn;function io(){if(bn)return ht;bn=1;function e(){return!1}return ht=e,ht}H.exports;var mn;function Wa(){return mn||(mn=1,function(e,t){var r=j(),n=io(),a=t&&!t.nodeType&&t,i=a&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===a,u=o?r.Buffer:void 0,s=u?u.isBuffer:void 0,c=s||n;e.exports=c}(H,H.exports)),H.exports}var vt,_n;function oo(){if(_n)return vt;_n=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,a){var i=typeof n;return a=a??e,!!a&&(i=="number"||i!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<a}return vt=r,vt}var pt,Dn;function za(){if(Dn)return pt;Dn=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return pt=t,pt}var yt,Sn;function uo(){if(Sn)return yt;Sn=1;var e=ce(),t=za(),r=de(),n="[object Arguments]",a="[object Array]",i="[object Boolean]",o="[object Date]",u="[object Error]",s="[object Function]",c="[object Map]",l="[object Number]",d="[object Object]",v="[object RegExp]",h="[object Set]",b="[object String]",_="[object WeakMap]",S="[object ArrayBuffer]",O="[object DataView]",p="[object Float32Array]",m="[object Float64Array]",f="[object Int8Array]",T="[object Int16Array]",D="[object Int32Array]",y="[object Uint8Array]",w="[object Uint8ClampedArray]",E="[object Uint16Array]",P="[object Uint32Array]",I={};I[p]=I[m]=I[f]=I[T]=I[D]=I[y]=I[w]=I[E]=I[P]=!0,I[n]=I[a]=I[S]=I[i]=I[O]=I[o]=I[u]=I[s]=I[c]=I[l]=I[d]=I[v]=I[h]=I[b]=I[_]=!1;function M(k){return r(k)&&t(k.length)&&!!I[e(k)]}return yt=M,yt}var bt,On;function so(){if(On)return bt;On=1;function e(t){return function(r){return t(r)}}return bt=e,bt}var U={exports:{}};U.exports;var Tn;function co(){return Tn||(Tn=1,function(e,t){var r=Ua(),n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===n,o=i&&r.process,u=function(){try{var s=a&&a.require&&a.require("util").types;return s||o&&o.binding&&o.binding("util")}catch{}}();e.exports=u}(U,U.exports)),U.exports}var mt,Cn;function Va(){if(Cn)return mt;Cn=1;var e=uo(),t=so(),r=co(),n=r&&r.isTypedArray,a=n?t(n):e;return mt=a,mt}var _t,In;function fo(){if(In)return _t;In=1;var e=ro(),t=ao(),r=dr(),n=Wa(),a=oo(),i=Va(),o=Object.prototype,u=o.hasOwnProperty;function s(c,l){var d=r(c),v=!d&&t(c),h=!d&&!v&&n(c),b=!d&&!v&&!h&&i(c),_=d||v||h||b,S=_?e(c.length,String):[],O=S.length;for(var p in c)(l||u.call(c,p))&&!(_&&(p=="length"||h&&(p=="offset"||p=="parent")||b&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||a(p,O)))&&S.push(p);return S}return _t=s,_t}var Dt,wn;function lo(){if(wn)return Dt;wn=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,a=typeof n=="function"&&n.prototype||e;return r===a}return Dt=t,Dt}var St,En;function go(){if(En)return St;En=1;function e(t,r){return function(n){return t(r(n))}}return St=e,St}var Ot,Pn;function ho(){if(Pn)return Ot;Pn=1;var e=go(),t=e(Object.keys,Object);return Ot=t,Ot}var Tt,An;function vo(){if(An)return Tt;An=1;var e=lo(),t=ho(),r=Object.prototype,n=r.hasOwnProperty;function a(i){if(!e(i))return t(i);var o=[];for(var u in Object(i))n.call(i,u)&&u!="constructor"&&o.push(u);return o}return Tt=a,Tt}var Ct,Rn;function po(){if(Rn)return Ct;Rn=1;var e=Ga(),t=za();function r(n){return n!=null&&t(n.length)&&!e(n)}return Ct=r,Ct}var It,kn;function yo(){if(kn)return It;kn=1;var e=fo(),t=vo(),r=po();function n(a){return r(a)?e(a):t(a)}return It=n,It}var wt,qn;function bo(){if(qn)return wt;qn=1;function e(t,r){for(var n=-1,a=t==null?0:t.length,i=0,o=[];++n<a;){var u=t[n];r(u,n,t)&&(o[i++]=u)}return o}return wt=e,wt}var Et,Mn;function mo(){if(Mn)return Et;Mn=1;function e(){return[]}return Et=e,Et}var Pt,jn;function _o(){if(jn)return Pt;jn=1;var e=bo(),t=mo(),r=Object.prototype,n=r.propertyIsEnumerable,a=Object.getOwnPropertySymbols,i=a?function(o){return o==null?[]:(o=Object(o),e(a(o),function(u){return n.call(o,u)}))}:t;return Pt=i,Pt}var At,xn;function Do(){if(xn)return At;xn=1;function e(t,r){for(var n=-1,a=r.length,i=t.length;++n<a;)t[i+n]=r[n];return t}return At=e,At}var Rt,Nn;function So(){if(Nn)return Rt;Nn=1;var e=Do(),t=dr();function r(n,a,i){var o=a(n);return t(n)?o:e(o,i(n))}return Rt=r,Rt}var kt,$n;function Oo(){if($n)return kt;$n=1;var e=So(),t=_o(),r=yo();function n(a){return e(a,r,t)}return kt=n,kt}var qt,Ln;function To(){if(Ln)return qt;Ln=1;var e=N(),t=j(),r=e(t,"DataView");return qt=r,qt}var Mt,Hn;function Co(){if(Hn)return Mt;Hn=1;var e=N(),t=j(),r=e(t,"Promise");return Mt=r,Mt}var jt,Un;function Io(){if(Un)return jt;Un=1;var e=N(),t=j(),r=e(t,"Set");return jt=r,jt}var xt,Fn;function wo(){if(Fn)return xt;Fn=1;var e=N(),t=j(),r=e(t,"WeakMap");return xt=r,xt}var Nt,Gn;function Eo(){if(Gn)return Nt;Gn=1;var e=To(),t=lr(),r=Co(),n=Io(),a=wo(),i=ce(),o=Ka(),u="[object Map]",s="[object Object]",c="[object Promise]",l="[object Set]",d="[object WeakMap]",v="[object DataView]",h=o(e),b=o(t),_=o(r),S=o(n),O=o(a),p=i;return(e&&p(new e(new ArrayBuffer(1)))!=v||t&&p(new t)!=u||r&&p(r.resolve())!=c||n&&p(new n)!=l||a&&p(new a)!=d)&&(p=function(m){var f=i(m),T=f==s?m.constructor:void 0,D=T?o(T):"";if(D)switch(D){case h:return v;case b:return u;case _:return c;case S:return l;case O:return d}return f}),Nt=p,Nt}var $t,Kn;function Po(){if(Kn)return $t;Kn=1;var e=j(),t=e.Uint8Array;return $t=t,$t}var Lt,Bn;function Ao(){if(Bn)return Lt;Bn=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return Lt=t,Lt}var Ht,Wn;function Ro(){if(Wn)return Ht;Wn=1;function e(t){return this.__data__.has(t)}return Ht=e,Ht}var Ut,zn;function ko(){if(zn)return Ut;zn=1;var e=Ba(),t=Ao(),r=Ro();function n(a){var i=-1,o=a==null?0:a.length;for(this.__data__=new e;++i<o;)this.add(a[i])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,Ut=n,Ut}var Ft,Vn;function qo(){if(Vn)return Ft;Vn=1;function e(t,r){for(var n=-1,a=t==null?0:t.length;++n<a;)if(r(t[n],n,t))return!0;return!1}return Ft=e,Ft}var Gt,Xn;function Mo(){if(Xn)return Gt;Xn=1;function e(t,r){return t.has(r)}return Gt=e,Gt}var Kt,Yn;function Xa(){if(Yn)return Kt;Yn=1;var e=ko(),t=qo(),r=Mo(),n=1,a=2;function i(o,u,s,c,l,d){var v=s&n,h=o.length,b=u.length;if(h!=b&&!(v&&b>h))return!1;var _=d.get(o),S=d.get(u);if(_&&S)return _==u&&S==o;var O=-1,p=!0,m=s&a?new e:void 0;for(d.set(o,u),d.set(u,o);++O<h;){var f=o[O],T=u[O];if(c)var D=v?c(T,f,O,u,o,d):c(f,T,O,o,u,d);if(D!==void 0){if(D)continue;p=!1;break}if(m){if(!t(u,function(y,w){if(!r(m,w)&&(f===y||l(f,y,s,c,d)))return m.push(w)})){p=!1;break}}else if(!(f===T||l(f,T,s,c,d))){p=!1;break}}return d.delete(o),d.delete(u),p}return Kt=i,Kt}var Bt,Jn;function jo(){if(Jn)return Bt;Jn=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a,i){n[++r]=[i,a]}),n}return Bt=e,Bt}var Wt,Qn;function xo(){if(Qn)return Wt;Qn=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a){n[++r]=a}),n}return Wt=e,Wt}var zt,Zn;function No(){if(Zn)return zt;Zn=1;var e=fr(),t=Po(),r=Ha(),n=Xa(),a=jo(),i=xo(),o=1,u=2,s="[object Boolean]",c="[object Date]",l="[object Error]",d="[object Map]",v="[object Number]",h="[object RegExp]",b="[object Set]",_="[object String]",S="[object Symbol]",O="[object ArrayBuffer]",p="[object DataView]",m=e?e.prototype:void 0,f=m?m.valueOf:void 0;function T(D,y,w,E,P,I,M){switch(w){case p:if(D.byteLength!=y.byteLength||D.byteOffset!=y.byteOffset)return!1;D=D.buffer,y=y.buffer;case O:return!(D.byteLength!=y.byteLength||!I(new t(D),new t(y)));case s:case c:case v:return r(+D,+y);case l:return D.name==y.name&&D.message==y.message;case h:case _:return D==y+"";case d:var k=a;case b:var be=E&o;if(k||(k=i),D.size!=y.size&&!be)return!1;var B=M.get(D);if(B)return B==y;E|=u,M.set(D,y);var Ti=n(k(D),k(y),E,P,I,M);return M.delete(D),Ti;case S:if(f)return f.call(D)==f.call(y)}return!1}return zt=T,zt}var Vt,ea;function $o(){if(ea)return Vt;ea=1;var e=Oo(),t=1,r=Object.prototype,n=r.hasOwnProperty;function a(i,o,u,s,c,l){var d=u&t,v=e(i),h=v.length,b=e(o),_=b.length;if(h!=_&&!d)return!1;for(var S=h;S--;){var O=v[S];if(!(d?O in o:n.call(o,O)))return!1}var p=l.get(i),m=l.get(o);if(p&&m)return p==o&&m==i;var f=!0;l.set(i,o),l.set(o,i);for(var T=d;++S<h;){O=v[S];var D=i[O],y=o[O];if(s)var w=d?s(y,D,O,o,i,l):s(D,y,O,i,o,l);if(!(w===void 0?D===y||c(D,y,u,s,l):w)){f=!1;break}T||(T=O=="constructor")}if(f&&!T){var E=i.constructor,P=o.constructor;E!=P&&"constructor"in i&&"constructor"in o&&!(typeof E=="function"&&E instanceof E&&typeof P=="function"&&P instanceof P)&&(f=!1)}return l.delete(i),l.delete(o),f}return Vt=a,Vt}var Xt,ta;function Lo(){if(ta)return Xt;ta=1;var e=to(),t=Xa(),r=No(),n=$o(),a=Eo(),i=dr(),o=Wa(),u=Va(),s=1,c="[object Arguments]",l="[object Array]",d="[object Object]",v=Object.prototype,h=v.hasOwnProperty;function b(_,S,O,p,m,f){var T=i(_),D=i(S),y=T?l:a(_),w=D?l:a(S);y=y==c?d:y,w=w==c?d:w;var E=y==d,P=w==d,I=y==w;if(I&&o(_)){if(!o(S))return!1;T=!0,E=!1}if(I&&!E)return f||(f=new e),T||u(_)?t(_,S,O,p,m,f):r(_,S,y,O,p,m,f);if(!(O&s)){var M=E&&h.call(_,"__wrapped__"),k=P&&h.call(S,"__wrapped__");if(M||k){var be=M?_.value():_,B=k?S.value():S;return f||(f=new e),m(be,B,O,p,f)}}return I?(f||(f=new e),n(_,S,O,p,m,f)):!1}return Xt=b,Xt}var Yt,ra;function Ho(){if(ra)return Yt;ra=1;var e=Lo(),t=de();function r(n,a,i,o,u){return n===a?!0:n==null||a==null||!t(n)&&!t(a)?n!==n&&a!==a:e(n,a,i,o,r,u)}return Yt=r,Yt}var Jt,na;function Hf(){if(na)return Jt;na=1;var e=Ho();function t(r,n){return e(r,n)}return Jt=t,Jt}var R;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(R||(R={}));function g(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];if(!e){var i;if(t===void 0)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;i=new Error(t.replace(/%s/g,function(){return n[o++]})),i.name="Invariant Violation"}throw i.framesToPop=1,i}}var gr="dnd-core/INIT_COORDS",ge="dnd-core/BEGIN_DRAG",hr="dnd-core/PUBLISH_DRAG_SOURCE",he="dnd-core/HOVER",ve="dnd-core/DROP",pe="dnd-core/END_DRAG";function aa(e,t){return{type:gr,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}function X(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X=function(r){return typeof r}:X=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},X(e)}function Uo(e,t,r){return t.split(".").reduce(function(n,a){return n&&n[a]?n[a]:r||null},e)}function Fo(e,t){return e.filter(function(r){return r!==t})}function Ya(e){return X(e)==="object"}function Go(e,t){var r=new Map,n=function(o){r.set(o,r.has(o)?r.get(o)+1:1)};e.forEach(n),t.forEach(n);var a=[];return r.forEach(function(i,o){i===1&&a.push(o)}),a}function Ko(e,t){return e.filter(function(r){return t.indexOf(r)>-1})}var Bo={type:gr,payload:{clientOffset:null,sourceClientOffset:null}};function Wo(e){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{publishSource:!0},a=n.publishSource,i=a===void 0?!0:a,o=n.clientOffset,u=n.getSourceClientOffset,s=e.getMonitor(),c=e.getRegistry();e.dispatch(aa(o)),zo(r,s,c);var l=Yo(r,s);if(l===null){e.dispatch(Bo);return}var d=null;if(o){if(!u)throw new Error("getSourceClientOffset must be defined");Vo(u),d=u(l)}e.dispatch(aa(o,d));var v=c.getSource(l),h=v.beginDrag(s,l);Xo(h),c.pinSource(l);var b=c.getSourceType(l);return{type:ge,payload:{itemType:b,item:h,sourceId:l,clientOffset:o||null,sourceClientOffset:d||null,isSourcePublic:!!i}}}}function zo(e,t,r){g(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(n){g(r.getSource(n),"Expected sourceIds to be registered.")})}function Vo(e){g(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function Xo(e){g(Ya(e),"Item must be an object.")}function Yo(e,t){for(var r=null,n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}function Jo(e){return function(){var r=e.getMonitor();if(r.isDragging())return{type:hr}}}function nr(e,t){return t===null?e===null:Array.isArray(e)?e.some(function(r){return r===t}):e===t}function Qo(e){return function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.clientOffset;Zo(r);var i=r.slice(0),o=e.getMonitor(),u=e.getRegistry();eu(i,o,u);var s=o.getItemType();return tu(i,u,s),ru(i,o,u),{type:he,payload:{targetIds:i,clientOffset:a||null}}}}function Zo(e){g(Array.isArray(e),"Expected targetIds to be an array.")}function eu(e,t,r){g(t.isDragging(),"Cannot call hover while not dragging."),g(!t.didDrop(),"Cannot call hover after drop.");for(var n=0;n<e.length;n++){var a=e[n];g(e.lastIndexOf(a)===n,"Expected targetIds to be unique in the passed array.");var i=r.getTarget(a);g(i,"Expected targetIds to be registered.")}}function tu(e,t,r){for(var n=e.length-1;n>=0;n--){var a=e[n],i=t.getTargetType(a);nr(i,r)||e.splice(n,1)}}function ru(e,t,r){e.forEach(function(n){var a=r.getTarget(n);a.hover(t,n)})}function ia(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function oa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ia(Object(r),!0).forEach(function(n){nu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ia(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.getMonitor(),a=e.getRegistry();iu(n);var i=su(n);i.forEach(function(o,u){var s=ou(o,u,a,n),c={type:ve,payload:{dropResult:oa(oa({},r),s)}};e.dispatch(c)})}}function iu(e){g(e.isDragging(),"Cannot call drop while not dragging."),g(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function ou(e,t,r,n){var a=r.getTarget(e),i=a?a.drop(n,e):void 0;return uu(i),typeof i>"u"&&(i=t===0?{}:n.getDropResult()),i}function uu(e){g(typeof e>"u"||Ya(e),"Drop result must either be an object or undefined.")}function su(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function cu(e){return function(){var r=e.getMonitor(),n=e.getRegistry();fu(r);var a=r.getSourceId();if(a!=null){var i=n.getSource(a,!0);i.endDrag(r,a),n.unpinSource()}return{type:pe}}}function fu(e){g(e.isDragging(),"Cannot call endDrag while not dragging.")}function lu(e){return{beginDrag:Wo(e),publishDragSource:Jo(e),hover:Qo(e),drop:au(e),endDrag:cu(e)}}var du=function(t,r){return t===r};function gu(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function hu(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:du;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}function ua(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function sa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ua(Object(r),!0).forEach(function(n){vu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ua(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ca={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function pu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ca,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case gr:case ge:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case he:return gu(e.clientOffset,r.clientOffset)?e:sa(sa({},e),{},{clientOffset:r.clientOffset});case pe:case ve:return ca;default:return e}}var vr="dnd-core/ADD_SOURCE",pr="dnd-core/ADD_TARGET",yr="dnd-core/REMOVE_SOURCE",ye="dnd-core/REMOVE_TARGET";function yu(e){return{type:vr,payload:{sourceId:e}}}function bu(e){return{type:pr,payload:{targetId:e}}}function mu(e){return{type:yr,payload:{sourceId:e}}}function _u(e){return{type:ye,payload:{targetId:e}}}function fa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fa(Object(r),!0).forEach(function(n){Du(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fa(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Du(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Su={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Ou(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Su,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case ge:return A(A({},e),{},{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case hr:return A(A({},e),{},{isSourcePublic:!0});case he:return A(A({},e),{},{targetIds:r.targetIds});case ye:return e.targetIds.indexOf(r.targetId)===-1?e:A(A({},e),{},{targetIds:Fo(e.targetIds,r.targetId)});case ve:return A(A({},e),{},{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case pe:return A(A({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function Tu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case vr:case pr:return e+1;case yr:case ye:return e-1;default:return e}}var ae=[],br=[];ae.__IS_NONE__=!0;br.__IS_ALL__=!0;function Cu(e,t){if(e===ae)return!1;if(e===br||typeof t>"u")return!0;var r=Ko(t,e);return r.length>0}function Iu(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case he:break;case vr:case pr:case ye:case yr:return ae;case ge:case hr:case pe:case ve:default:return br}var t=e.payload,r=t.targetIds,n=r===void 0?[]:r,a=t.prevTargetIds,i=a===void 0?[]:a,o=Go(n,i),u=o.length>0||!hu(n,i);if(!u)return ae;var s=i[i.length-1],c=n[n.length-1];return s!==c&&(s&&o.push(s),c&&o.push(c)),o}function wu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return e+1}function la(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function da(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?la(Object(r),!0).forEach(function(n){Eu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):la(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Eu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:Iu(e.dirtyHandlerIds,{type:t.type,payload:da(da({},t.payload),{},{prevTargetIds:Uo(e,"dragOperation.targetIds",[])})}),dragOffset:pu(e.dragOffset,t),refCount:Tu(e.refCount,t),dragOperation:Ou(e.dragOperation,t),stateId:wu(e.stateId)}}function Au(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Ja(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ru(e){var t=e.clientOffset,r=e.initialClientOffset,n=e.initialSourceClientOffset;return!t||!r||!n?null:Ja(Au(t,n),r)}function ku(e){var t=e.clientOffset,r=e.initialClientOffset;return!t||!r?null:Ja(t,r)}function qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ju(e,t,r){return t&&Mu(e.prototype,t),e}var xu=function(){function e(t,r){qu(this,e),this.store=t,this.registry=r}return ju(e,[{key:"subscribeToStateChange",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},i=a.handlerIds;g(typeof r=="function","listener must be a function."),g(typeof i>"u"||Array.isArray(i),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,u=function(){var c=n.store.getState(),l=c.stateId;try{var d=l===o||l===o+1&&!Cu(c.dirtyHandlerIds,i);d||r()}finally{o=l}};return this.store.subscribe(u)}},{key:"subscribeToOffsetChange",value:function(r){var n=this;g(typeof r=="function","listener must be a function.");var a=this.store.getState().dragOffset,i=function(){var u=n.store.getState().dragOffset;u!==a&&(a=u,r())};return this.store.subscribe(i)}},{key:"canDragSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r);return g(n,"Expected to find a valid source."),this.isDragging()?!1:n.canDrag(this,r)}},{key:"canDropOnTarget",value:function(r){if(!r)return!1;var n=this.registry.getTarget(r);if(g(n,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var a=this.registry.getTargetType(r),i=this.getItemType();return nr(a,i)&&n.canDrop(this,r)}},{key:"isDragging",value:function(){return!!this.getItemType()}},{key:"isDraggingSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r,!0);if(g(n,"Expected to find a valid source."),!this.isDragging()||!this.isSourcePublic())return!1;var a=this.registry.getSourceType(r),i=this.getItemType();return a!==i?!1:n.isDragging(this,r)}},{key:"isOverTarget",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{shallow:!1};if(!r)return!1;var a=n.shallow;if(!this.isDragging())return!1;var i=this.registry.getTargetType(r),o=this.getItemType();if(o&&!nr(i,o))return!1;var u=this.getTargetIds();if(!u.length)return!1;var s=u.indexOf(r);return a?s===u.length-1:s>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return!!this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return Ru(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return ku(this.store.getState().dragOffset)}}]),e}(),Nu=0;function $u(){return Nu++}function Y(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Y=function(r){return typeof r}:Y=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Y(e)}function Lu(e){g(typeof e.canDrag=="function","Expected canDrag to be a function."),g(typeof e.beginDrag=="function","Expected beginDrag to be a function."),g(typeof e.endDrag=="function","Expected endDrag to be a function.")}function Hu(e){g(typeof e.canDrop=="function","Expected canDrop to be a function."),g(typeof e.hover=="function","Expected hover to be a function."),g(typeof e.drop=="function","Expected beginDrag to be a function.")}function ar(e,t){if(t&&Array.isArray(e)){e.forEach(function(r){return ar(r,!1)});return}g(typeof e=="string"||Y(e)==="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}const ga=typeof ne<"u"?ne:self,Qa=ga.MutationObserver||ga.WebKitMutationObserver;function Za(e){return function(){const r=setTimeout(a,0),n=setInterval(a,50);function a(){clearTimeout(r),clearInterval(n),e()}}}function Uu(e){let t=1;const r=new Qa(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}const Fu=typeof Qa=="function"?Uu:Za;class Gu{enqueueTask(t){const{queue:r,requestFlush:n}=this;r.length||(n(),this.flushing=!0),r[r.length]=t}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:t}=this;for(;this.index<t.length;){const r=this.index;if(this.index++,t[r].call(),this.index>this.capacity){for(let n=0,a=t.length-this.index;n<a;n++)t[n]=t[n+this.index];t.length-=this.index,this.index=0}}t.length=0,this.index=0,this.flushing=!1},this.registerPendingError=t=>{this.pendingErrors.push(t),this.requestErrorThrow()},this.requestFlush=Fu(this.flush),this.requestErrorThrow=Za(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class Ku{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,r){this.onError=t,this.release=r,this.task=null}}class Bu{create(t){const r=this.freeTasks,n=r.length?r.pop():new Ku(this.onError,a=>r[r.length]=a);return n.task=t,n}constructor(t){this.onError=t,this.freeTasks=[]}}const ei=new Gu,Wu=new Bu(ei.registerPendingError);function zu(e){ei.enqueueTask(Wu.create(e))}function Vu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yu(e,t,r){return t&&Xu(e.prototype,t),e}function Ju(e,t){return ts(e)||es(e,t)||Zu(e,t)||Qu()}function Qu(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zu(e,t){if(e){if(typeof e=="string")return ha(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ha(e,t)}}function ha(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function es(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function ts(e){if(Array.isArray(e))return e}function rs(e){var t=$u().toString();switch(e){case R.SOURCE:return"S".concat(t);case R.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}function va(e){switch(e[0]){case"S":return R.SOURCE;case"T":return R.TARGET;default:g(!1,"Cannot parse handler ID: ".concat(e))}}function pa(e,t){var r=e.entries(),n=!1;do{var a=r.next(),i=a.done,o=Ju(a.value,2),u=o[1];if(u===t)return!0;n=!!i}while(!n);return!1}var ns=function(){function e(t){Vu(this,e),this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}return Yu(e,[{key:"addSource",value:function(r,n){ar(r),Lu(n);var a=this.addHandler(R.SOURCE,r,n);return this.store.dispatch(yu(a)),a}},{key:"addTarget",value:function(r,n){ar(r,!0),Hu(n);var a=this.addHandler(R.TARGET,r,n);return this.store.dispatch(bu(a)),a}},{key:"containsHandler",value:function(r){return pa(this.dragSources,r)||pa(this.dropTargets,r)}},{key:"getSource",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;g(this.isSourceId(r),"Expected a valid source ID.");var a=n&&r===this.pinnedSourceId,i=a?this.pinnedSource:this.dragSources.get(r);return i}},{key:"getTarget",value:function(r){return g(this.isTargetId(r),"Expected a valid target ID."),this.dropTargets.get(r)}},{key:"getSourceType",value:function(r){return g(this.isSourceId(r),"Expected a valid source ID."),this.types.get(r)}},{key:"getTargetType",value:function(r){return g(this.isTargetId(r),"Expected a valid target ID."),this.types.get(r)}},{key:"isSourceId",value:function(r){var n=va(r);return n===R.SOURCE}},{key:"isTargetId",value:function(r){var n=va(r);return n===R.TARGET}},{key:"removeSource",value:function(r){var n=this;g(this.getSource(r),"Expected an existing source."),this.store.dispatch(mu(r)),zu(function(){n.dragSources.delete(r),n.types.delete(r)})}},{key:"removeTarget",value:function(r){g(this.getTarget(r),"Expected an existing target."),this.store.dispatch(_u(r)),this.dropTargets.delete(r),this.types.delete(r)}},{key:"pinSource",value:function(r){var n=this.getSource(r);g(n,"Expected an existing source."),this.pinnedSourceId=r,this.pinnedSource=n}},{key:"unpinSource",value:function(){g(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(r,n,a){var i=rs(r);return this.types.set(i,n),r===R.SOURCE?this.dragSources.set(i,a):r===R.TARGET&&this.dropTargets.set(i,a),i}}]),e}();function as(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function is(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function os(e,t,r){return t&&is(e.prototype,t),e}function us(e){var t=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return Ii(Pu,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}var ss=function(){function e(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;as(this,e),this.isSetUp=!1,this.handleRefCountChange=function(){var a=t.store.getState().refCount>0;t.backend&&(a&&!t.isSetUp?(t.backend.setup(),t.isSetUp=!0):!a&&t.isSetUp&&(t.backend.teardown(),t.isSetUp=!1))};var n=us(r);this.store=n,this.monitor=new xu(n,new ns(n)),n.subscribe(this.handleRefCountChange)}return os(e,[{key:"receiveBackend",value:function(r){this.backend=r}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var r=this,n=this.store.dispatch;function a(o){return function(){for(var u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];var l=o.apply(r,s);typeof l<"u"&&n(l)}}var i=lu(this);return Object.keys(i).reduce(function(o,u){var s=i[u];return o[u]=a(s),o},{})}},{key:"dispatch",value:function(r){this.store.dispatch(r)}}]),e}();function cs(e,t,r,n){var a=new ss(n),i=e(a,t,r);return a.receiveBackend(i),a}var K=C.createContext({dragDropManager:void 0});function ti(e,t,r,n){return{dragDropManager:cs(e,t,r,n)}}function fs(e,t){return hs(e)||gs(e,t)||ds(e,t)||ls()}function ls(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ds(e,t){if(e){if(typeof e=="string")return ya(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ya(e,t)}}function ya(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function gs(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function hs(e){if(Array.isArray(e))return e}function vs(e,t){if(e==null)return{};var r=ps(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ps(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}var Qt=0,ri=C.memo(function(e){var t=e.children,r=vs(e,["children"]),n=ys(r),a=fs(n,2),i=a[0],o=a[1];return C.useEffect(function(){return o&&Qt++,function(){if(o&&(Qt--,Qt===0)){var u=ni();u[J]=null}}},[]),C.createElement(K.Provider,{value:i},t)});ri.displayName="DndProvider";function ys(e){if("manager"in e){var t={dragDropManager:e.manager};return[t,!1]}var r=bs(e.backend,e.context,e.options,e.debugMode),n=!e.context;return[r,n]}var J=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");function bs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ni(),r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,a=t;return a[J]||(a[J]=ti(e,t,r,n)),a[J]}function ni(){return typeof ne<"u"?ne:window}var ai=C.memo(function(e){var t=e.connect,r=e.src;return C.useEffect(function(){if(!(typeof Image>"u")){var n=!1,a=new Image;return a.src=r,a.onload=function(){t(a),n=!0},function(){n&&t(null)}}}),null});ai.displayName="DragPreviewImage";var x=typeof window<"u"?C.useLayoutEffect:C.useEffect;function q(e,t,r,n){var a=r?r.call(n,e,t):void 0;if(a!==void 0)return!!a;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),s=0;s<i.length;s++){var c=i[s];if(!u(c))return!1;var l=e[c],d=t[c];if(a=r?r.call(n,l,d,c):void 0,a===!1||a===void 0&&l!==d)return!1}return!0}function ms(e,t){return Os(e)||Ss(e,t)||Ds(e,t)||_s()}function _s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{dy as W,eI as ne,r as C,eJ as La,dz as Ci}from"./index-DtJVzdtH.js";import{c as Ii}from"./redux-DfszZyTl.js";var me,Sr;function wi(){if(Sr)return me;Sr=1;function e(){this.__data__=[],this.size=0}return me=e,me}var _e,Or;function Ha(){if(Or)return _e;Or=1;function e(t,r){return t===r||t!==t&&r!==r}return _e=e,_e}var De,Tr;function ue(){if(Tr)return De;Tr=1;var e=Ha();function t(r,n){for(var a=r.length;a--;)if(e(r[a][0],n))return a;return-1}return De=t,De}var Se,Cr;function Ei(){if(Cr)return Se;Cr=1;var e=ue(),t=Array.prototype,r=t.splice;function n(a){var i=this.__data__,o=e(i,a);if(o<0)return!1;var u=i.length-1;return o==u?i.pop():r.call(i,o,1),--this.size,!0}return Se=n,Se}var Oe,Ir;function Pi(){if(Ir)return Oe;Ir=1;var e=ue();function t(r){var n=this.__data__,a=e(n,r);return a<0?void 0:n[a][1]}return Oe=t,Oe}var Te,wr;function Ai(){if(wr)return Te;wr=1;var e=ue();function t(r){return e(this.__data__,r)>-1}return Te=t,Te}var Ce,Er;function Ri(){if(Er)return Ce;Er=1;var e=ue();function t(r,n){var a=this.__data__,i=e(a,r);return i<0?(++this.size,a.push([r,n])):a[i][1]=n,this}return Ce=t,Ce}var Ie,Pr;function se(){if(Pr)return Ie;Pr=1;var e=wi(),t=Ei(),r=Pi(),n=Ai(),a=Ri();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,Ie=i,Ie}var we,Ar;function ki(){if(Ar)return we;Ar=1;var e=se();function t(){this.__data__=new e,this.size=0}return we=t,we}var Ee,Rr;function qi(){if(Rr)return Ee;Rr=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return Ee=e,Ee}var Pe,kr;function Mi(){if(kr)return Pe;kr=1;function e(t){return this.__data__.get(t)}return Pe=e,Pe}var Ae,qr;function ji(){if(qr)return Ae;qr=1;function e(t){return this.__data__.has(t)}return Ae=e,Ae}var Re,Mr;function Ua(){if(Mr)return Re;Mr=1;var e=typeof W=="object"&&W&&W.Object===Object&&W;return Re=e,Re}var ke,jr;function j(){if(jr)return ke;jr=1;var e=Ua(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return ke=r,ke}var qe,xr;function fr(){if(xr)return qe;xr=1;var e=j(),t=e.Symbol;return qe=t,qe}var Me,Nr;function xi(){if(Nr)return Me;Nr=1;var e=fr(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,a=e?e.toStringTag:void 0;function i(o){var u=r.call(o,a),s=o[a];try{o[a]=void 0;var c=!0}catch{}var l=n.call(o);return c&&(u?o[a]=s:delete o[a]),l}return Me=i,Me}var je,$r;function Ni(){if($r)return je;$r=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return je=r,je}var xe,Lr;function ce(){if(Lr)return xe;Lr=1;var e=fr(),t=xi(),r=Ni(),n="[object Null]",a="[object Undefined]",i=e?e.toStringTag:void 0;function o(u){return u==null?u===void 0?a:n:i&&i in Object(u)?t(u):r(u)}return xe=o,xe}var Ne,Hr;function Fa(){if(Hr)return Ne;Hr=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return Ne=e,Ne}var $e,Ur;function Ga(){if(Ur)return $e;Ur=1;var e=ce(),t=Fa(),r="[object AsyncFunction]",n="[object Function]",a="[object GeneratorFunction]",i="[object Proxy]";function o(u){if(!t(u))return!1;var s=e(u);return s==n||s==a||s==r||s==i}return $e=o,$e}var Le,Fr;function $i(){if(Fr)return Le;Fr=1;var e=j(),t=e["__core-js_shared__"];return Le=t,Le}var He,Gr;function Li(){if(Gr)return He;Gr=1;var e=$i(),t=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function r(n){return!!t&&t in n}return He=r,He}var Ue,Br;function Ba(){if(Br)return Ue;Br=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return Ue=r,Ue}var Fe,Kr;function Hi(){if(Kr)return Fe;Kr=1;var e=Ga(),t=Li(),r=Fa(),n=Ba(),a=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,s=o.toString,c=u.hasOwnProperty,l=RegExp("^"+s.call(c).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(v){if(!r(v)||t(v))return!1;var h=e(v)?l:i;return h.test(n(v))}return Fe=d,Fe}var Ge,Wr;function Ui(){if(Wr)return Ge;Wr=1;function e(t,r){return t?.[r]}return Ge=e,Ge}var Be,zr;function N(){if(zr)return Be;zr=1;var e=Hi(),t=Ui();function r(n,a){var i=t(n,a);return e(i)?i:void 0}return Be=r,Be}var Ke,Vr;function lr(){if(Vr)return Ke;Vr=1;var e=N(),t=j(),r=e(t,"Map");return Ke=r,Ke}var We,Xr;function fe(){if(Xr)return We;Xr=1;var e=N(),t=e(Object,"create");return We=t,We}var ze,Yr;function Fi(){if(Yr)return ze;Yr=1;var e=fe();function t(){this.__data__=e?e(null):{},this.size=0}return ze=t,ze}var Ve,Jr;function Gi(){if(Jr)return Ve;Jr=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Ve=e,Ve}var Xe,Qr;function Bi(){if(Qr)return Xe;Qr=1;var e=fe(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function a(i){var o=this.__data__;if(e){var u=o[i];return u===t?void 0:u}return n.call(o,i)?o[i]:void 0}return Xe=a,Xe}var Ye,Zr;function Ki(){if(Zr)return Ye;Zr=1;var e=fe(),t=Object.prototype,r=t.hasOwnProperty;function n(a){var i=this.__data__;return e?i[a]!==void 0:r.call(i,a)}return Ye=n,Ye}var Je,en;function Wi(){if(en)return Je;en=1;var e=fe(),t="__lodash_hash_undefined__";function r(n,a){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&a===void 0?t:a,this}return Je=r,Je}var Qe,tn;function zi(){if(tn)return Qe;tn=1;var e=Fi(),t=Gi(),r=Bi(),n=Ki(),a=Wi();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,Qe=i,Qe}var Ze,rn;function Vi(){if(rn)return Ze;rn=1;var e=zi(),t=se(),r=lr();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Ze=n,Ze}var et,nn;function Xi(){if(nn)return et;nn=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return et=e,et}var tt,an;function le(){if(an)return tt;an=1;var e=Xi();function t(r,n){var a=r.__data__;return e(n)?a[typeof n=="string"?"string":"hash"]:a.map}return tt=t,tt}var rt,on;function Yi(){if(on)return rt;on=1;var e=le();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return rt=t,rt}var nt,un;function Ji(){if(un)return nt;un=1;var e=le();function t(r){return e(this,r).get(r)}return nt=t,nt}var at,sn;function Qi(){if(sn)return at;sn=1;var e=le();function t(r){return e(this,r).has(r)}return at=t,at}var it,cn;function Zi(){if(cn)return it;cn=1;var e=le();function t(r,n){var a=e(this,r),i=a.size;return a.set(r,n),this.size+=a.size==i?0:1,this}return it=t,it}var ot,fn;function Ka(){if(fn)return ot;fn=1;var e=Vi(),t=Yi(),r=Ji(),n=Qi(),a=Zi();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,ot=i,ot}var ut,ln;function eo(){if(ln)return ut;ln=1;var e=se(),t=lr(),r=Ka(),n=200;function a(i,o){var u=this.__data__;if(u instanceof e){var s=u.__data__;if(!t||s.length<n-1)return s.push([i,o]),this.size=++u.size,this;u=this.__data__=new r(s)}return u.set(i,o),this.size=u.size,this}return ut=a,ut}var st,dn;function to(){if(dn)return st;dn=1;var e=se(),t=ki(),r=qi(),n=Mi(),a=ji(),i=eo();function o(u){var s=this.__data__=new e(u);this.size=s.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=a,o.prototype.set=i,st=o,st}var ct,gn;function ro(){if(gn)return ct;gn=1;function e(t,r){for(var n=-1,a=Array(t);++n<t;)a[n]=r(n);return a}return ct=e,ct}var ft,hn;function de(){if(hn)return ft;hn=1;function e(t){return t!=null&&typeof t=="object"}return ft=e,ft}var lt,vn;function no(){if(vn)return lt;vn=1;var e=ce(),t=de(),r="[object Arguments]";function n(a){return t(a)&&e(a)==r}return lt=n,lt}var dt,pn;function ao(){if(pn)return dt;pn=1;var e=no(),t=de(),r=Object.prototype,n=r.hasOwnProperty,a=r.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(o){return t(o)&&n.call(o,"callee")&&!a.call(o,"callee")};return dt=i,dt}var gt,yn;function dr(){if(yn)return gt;yn=1;var e=Array.isArray;return gt=e,gt}var H={exports:{}},ht,bn;function io(){if(bn)return ht;bn=1;function e(){return!1}return ht=e,ht}H.exports;var mn;function Wa(){return mn||(mn=1,function(e,t){var r=j(),n=io(),a=t&&!t.nodeType&&t,i=a&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===a,u=o?r.Buffer:void 0,s=u?u.isBuffer:void 0,c=s||n;e.exports=c}(H,H.exports)),H.exports}var vt,_n;function oo(){if(_n)return vt;_n=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,a){var i=typeof n;return a=a??e,!!a&&(i=="number"||i!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<a}return vt=r,vt}var pt,Dn;function za(){if(Dn)return pt;Dn=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return pt=t,pt}var yt,Sn;function uo(){if(Sn)return yt;Sn=1;var e=ce(),t=za(),r=de(),n="[object Arguments]",a="[object Array]",i="[object Boolean]",o="[object Date]",u="[object Error]",s="[object Function]",c="[object Map]",l="[object Number]",d="[object Object]",v="[object RegExp]",h="[object Set]",b="[object String]",_="[object WeakMap]",S="[object ArrayBuffer]",O="[object DataView]",p="[object Float32Array]",m="[object Float64Array]",f="[object Int8Array]",T="[object Int16Array]",D="[object Int32Array]",y="[object Uint8Array]",w="[object Uint8ClampedArray]",E="[object Uint16Array]",P="[object Uint32Array]",I={};I[p]=I[m]=I[f]=I[T]=I[D]=I[y]=I[w]=I[E]=I[P]=!0,I[n]=I[a]=I[S]=I[i]=I[O]=I[o]=I[u]=I[s]=I[c]=I[l]=I[d]=I[v]=I[h]=I[b]=I[_]=!1;function M(k){return r(k)&&t(k.length)&&!!I[e(k)]}return yt=M,yt}var bt,On;function so(){if(On)return bt;On=1;function e(t){return function(r){return t(r)}}return bt=e,bt}var U={exports:{}};U.exports;var Tn;function co(){return Tn||(Tn=1,function(e,t){var r=Ua(),n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===n,o=i&&r.process,u=function(){try{var s=a&&a.require&&a.require("util").types;return s||o&&o.binding&&o.binding("util")}catch{}}();e.exports=u}(U,U.exports)),U.exports}var mt,Cn;function Va(){if(Cn)return mt;Cn=1;var e=uo(),t=so(),r=co(),n=r&&r.isTypedArray,a=n?t(n):e;return mt=a,mt}var _t,In;function fo(){if(In)return _t;In=1;var e=ro(),t=ao(),r=dr(),n=Wa(),a=oo(),i=Va(),o=Object.prototype,u=o.hasOwnProperty;function s(c,l){var d=r(c),v=!d&&t(c),h=!d&&!v&&n(c),b=!d&&!v&&!h&&i(c),_=d||v||h||b,S=_?e(c.length,String):[],O=S.length;for(var p in c)(l||u.call(c,p))&&!(_&&(p=="length"||h&&(p=="offset"||p=="parent")||b&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||a(p,O)))&&S.push(p);return S}return _t=s,_t}var Dt,wn;function lo(){if(wn)return Dt;wn=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,a=typeof n=="function"&&n.prototype||e;return r===a}return Dt=t,Dt}var St,En;function go(){if(En)return St;En=1;function e(t,r){return function(n){return t(r(n))}}return St=e,St}var Ot,Pn;function ho(){if(Pn)return Ot;Pn=1;var e=go(),t=e(Object.keys,Object);return Ot=t,Ot}var Tt,An;function vo(){if(An)return Tt;An=1;var e=lo(),t=ho(),r=Object.prototype,n=r.hasOwnProperty;function a(i){if(!e(i))return t(i);var o=[];for(var u in Object(i))n.call(i,u)&&u!="constructor"&&o.push(u);return o}return Tt=a,Tt}var Ct,Rn;function po(){if(Rn)return Ct;Rn=1;var e=Ga(),t=za();function r(n){return n!=null&&t(n.length)&&!e(n)}return Ct=r,Ct}var It,kn;function yo(){if(kn)return It;kn=1;var e=fo(),t=vo(),r=po();function n(a){return r(a)?e(a):t(a)}return It=n,It}var wt,qn;function bo(){if(qn)return wt;qn=1;function e(t,r){for(var n=-1,a=t==null?0:t.length,i=0,o=[];++n<a;){var u=t[n];r(u,n,t)&&(o[i++]=u)}return o}return wt=e,wt}var Et,Mn;function mo(){if(Mn)return Et;Mn=1;function e(){return[]}return Et=e,Et}var Pt,jn;function _o(){if(jn)return Pt;jn=1;var e=bo(),t=mo(),r=Object.prototype,n=r.propertyIsEnumerable,a=Object.getOwnPropertySymbols,i=a?function(o){return o==null?[]:(o=Object(o),e(a(o),function(u){return n.call(o,u)}))}:t;return Pt=i,Pt}var At,xn;function Do(){if(xn)return At;xn=1;function e(t,r){for(var n=-1,a=r.length,i=t.length;++n<a;)t[i+n]=r[n];return t}return At=e,At}var Rt,Nn;function So(){if(Nn)return Rt;Nn=1;var e=Do(),t=dr();function r(n,a,i){var o=a(n);return t(n)?o:e(o,i(n))}return Rt=r,Rt}var kt,$n;function Oo(){if($n)return kt;$n=1;var e=So(),t=_o(),r=yo();function n(a){return e(a,r,t)}return kt=n,kt}var qt,Ln;function To(){if(Ln)return qt;Ln=1;var e=N(),t=j(),r=e(t,"DataView");return qt=r,qt}var Mt,Hn;function Co(){if(Hn)return Mt;Hn=1;var e=N(),t=j(),r=e(t,"Promise");return Mt=r,Mt}var jt,Un;function Io(){if(Un)return jt;Un=1;var e=N(),t=j(),r=e(t,"Set");return jt=r,jt}var xt,Fn;function wo(){if(Fn)return xt;Fn=1;var e=N(),t=j(),r=e(t,"WeakMap");return xt=r,xt}var Nt,Gn;function Eo(){if(Gn)return Nt;Gn=1;var e=To(),t=lr(),r=Co(),n=Io(),a=wo(),i=ce(),o=Ba(),u="[object Map]",s="[object Object]",c="[object Promise]",l="[object Set]",d="[object WeakMap]",v="[object DataView]",h=o(e),b=o(t),_=o(r),S=o(n),O=o(a),p=i;return(e&&p(new e(new ArrayBuffer(1)))!=v||t&&p(new t)!=u||r&&p(r.resolve())!=c||n&&p(new n)!=l||a&&p(new a)!=d)&&(p=function(m){var f=i(m),T=f==s?m.constructor:void 0,D=T?o(T):"";if(D)switch(D){case h:return v;case b:return u;case _:return c;case S:return l;case O:return d}return f}),Nt=p,Nt}var $t,Bn;function Po(){if(Bn)return $t;Bn=1;var e=j(),t=e.Uint8Array;return $t=t,$t}var Lt,Kn;function Ao(){if(Kn)return Lt;Kn=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return Lt=t,Lt}var Ht,Wn;function Ro(){if(Wn)return Ht;Wn=1;function e(t){return this.__data__.has(t)}return Ht=e,Ht}var Ut,zn;function ko(){if(zn)return Ut;zn=1;var e=Ka(),t=Ao(),r=Ro();function n(a){var i=-1,o=a==null?0:a.length;for(this.__data__=new e;++i<o;)this.add(a[i])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,Ut=n,Ut}var Ft,Vn;function qo(){if(Vn)return Ft;Vn=1;function e(t,r){for(var n=-1,a=t==null?0:t.length;++n<a;)if(r(t[n],n,t))return!0;return!1}return Ft=e,Ft}var Gt,Xn;function Mo(){if(Xn)return Gt;Xn=1;function e(t,r){return t.has(r)}return Gt=e,Gt}var Bt,Yn;function Xa(){if(Yn)return Bt;Yn=1;var e=ko(),t=qo(),r=Mo(),n=1,a=2;function i(o,u,s,c,l,d){var v=s&n,h=o.length,b=u.length;if(h!=b&&!(v&&b>h))return!1;var _=d.get(o),S=d.get(u);if(_&&S)return _==u&&S==o;var O=-1,p=!0,m=s&a?new e:void 0;for(d.set(o,u),d.set(u,o);++O<h;){var f=o[O],T=u[O];if(c)var D=v?c(T,f,O,u,o,d):c(f,T,O,o,u,d);if(D!==void 0){if(D)continue;p=!1;break}if(m){if(!t(u,function(y,w){if(!r(m,w)&&(f===y||l(f,y,s,c,d)))return m.push(w)})){p=!1;break}}else if(!(f===T||l(f,T,s,c,d))){p=!1;break}}return d.delete(o),d.delete(u),p}return Bt=i,Bt}var Kt,Jn;function jo(){if(Jn)return Kt;Jn=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a,i){n[++r]=[i,a]}),n}return Kt=e,Kt}var Wt,Qn;function xo(){if(Qn)return Wt;Qn=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a){n[++r]=a}),n}return Wt=e,Wt}var zt,Zn;function No(){if(Zn)return zt;Zn=1;var e=fr(),t=Po(),r=Ha(),n=Xa(),a=jo(),i=xo(),o=1,u=2,s="[object Boolean]",c="[object Date]",l="[object Error]",d="[object Map]",v="[object Number]",h="[object RegExp]",b="[object Set]",_="[object String]",S="[object Symbol]",O="[object ArrayBuffer]",p="[object DataView]",m=e?e.prototype:void 0,f=m?m.valueOf:void 0;function T(D,y,w,E,P,I,M){switch(w){case p:if(D.byteLength!=y.byteLength||D.byteOffset!=y.byteOffset)return!1;D=D.buffer,y=y.buffer;case O:return!(D.byteLength!=y.byteLength||!I(new t(D),new t(y)));case s:case c:case v:return r(+D,+y);case l:return D.name==y.name&&D.message==y.message;case h:case _:return D==y+"";case d:var k=a;case b:var be=E&o;if(k||(k=i),D.size!=y.size&&!be)return!1;var K=M.get(D);if(K)return K==y;E|=u,M.set(D,y);var Ti=n(k(D),k(y),E,P,I,M);return M.delete(D),Ti;case S:if(f)return f.call(D)==f.call(y)}return!1}return zt=T,zt}var Vt,ea;function $o(){if(ea)return Vt;ea=1;var e=Oo(),t=1,r=Object.prototype,n=r.hasOwnProperty;function a(i,o,u,s,c,l){var d=u&t,v=e(i),h=v.length,b=e(o),_=b.length;if(h!=_&&!d)return!1;for(var S=h;S--;){var O=v[S];if(!(d?O in o:n.call(o,O)))return!1}var p=l.get(i),m=l.get(o);if(p&&m)return p==o&&m==i;var f=!0;l.set(i,o),l.set(o,i);for(var T=d;++S<h;){O=v[S];var D=i[O],y=o[O];if(s)var w=d?s(y,D,O,o,i,l):s(D,y,O,i,o,l);if(!(w===void 0?D===y||c(D,y,u,s,l):w)){f=!1;break}T||(T=O=="constructor")}if(f&&!T){var E=i.constructor,P=o.constructor;E!=P&&"constructor"in i&&"constructor"in o&&!(typeof E=="function"&&E instanceof E&&typeof P=="function"&&P instanceof P)&&(f=!1)}return l.delete(i),l.delete(o),f}return Vt=a,Vt}var Xt,ta;function Lo(){if(ta)return Xt;ta=1;var e=to(),t=Xa(),r=No(),n=$o(),a=Eo(),i=dr(),o=Wa(),u=Va(),s=1,c="[object Arguments]",l="[object Array]",d="[object Object]",v=Object.prototype,h=v.hasOwnProperty;function b(_,S,O,p,m,f){var T=i(_),D=i(S),y=T?l:a(_),w=D?l:a(S);y=y==c?d:y,w=w==c?d:w;var E=y==d,P=w==d,I=y==w;if(I&&o(_)){if(!o(S))return!1;T=!0,E=!1}if(I&&!E)return f||(f=new e),T||u(_)?t(_,S,O,p,m,f):r(_,S,y,O,p,m,f);if(!(O&s)){var M=E&&h.call(_,"__wrapped__"),k=P&&h.call(S,"__wrapped__");if(M||k){var be=M?_.value():_,K=k?S.value():S;return f||(f=new e),m(be,K,O,p,f)}}return I?(f||(f=new e),n(_,S,O,p,m,f)):!1}return Xt=b,Xt}var Yt,ra;function Ho(){if(ra)return Yt;ra=1;var e=Lo(),t=de();function r(n,a,i,o,u){return n===a?!0:n==null||a==null||!t(n)&&!t(a)?n!==n&&a!==a:e(n,a,i,o,r,u)}return Yt=r,Yt}var Jt,na;function Hf(){if(na)return Jt;na=1;var e=Ho();function t(r,n){return e(r,n)}return Jt=t,Jt}var R;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(R||(R={}));function g(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];if(!e){var i;if(t===void 0)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;i=new Error(t.replace(/%s/g,function(){return n[o++]})),i.name="Invariant Violation"}throw i.framesToPop=1,i}}var gr="dnd-core/INIT_COORDS",ge="dnd-core/BEGIN_DRAG",hr="dnd-core/PUBLISH_DRAG_SOURCE",he="dnd-core/HOVER",ve="dnd-core/DROP",pe="dnd-core/END_DRAG";function aa(e,t){return{type:gr,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}function X(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X=function(r){return typeof r}:X=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},X(e)}function Uo(e,t,r){return t.split(".").reduce(function(n,a){return n&&n[a]?n[a]:r||null},e)}function Fo(e,t){return e.filter(function(r){return r!==t})}function Ya(e){return X(e)==="object"}function Go(e,t){var r=new Map,n=function(o){r.set(o,r.has(o)?r.get(o)+1:1)};e.forEach(n),t.forEach(n);var a=[];return r.forEach(function(i,o){i===1&&a.push(o)}),a}function Bo(e,t){return e.filter(function(r){return t.indexOf(r)>-1})}var Ko={type:gr,payload:{clientOffset:null,sourceClientOffset:null}};function Wo(e){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{publishSource:!0},a=n.publishSource,i=a===void 0?!0:a,o=n.clientOffset,u=n.getSourceClientOffset,s=e.getMonitor(),c=e.getRegistry();e.dispatch(aa(o)),zo(r,s,c);var l=Yo(r,s);if(l===null){e.dispatch(Ko);return}var d=null;if(o){if(!u)throw new Error("getSourceClientOffset must be defined");Vo(u),d=u(l)}e.dispatch(aa(o,d));var v=c.getSource(l),h=v.beginDrag(s,l);Xo(h),c.pinSource(l);var b=c.getSourceType(l);return{type:ge,payload:{itemType:b,item:h,sourceId:l,clientOffset:o||null,sourceClientOffset:d||null,isSourcePublic:!!i}}}}function zo(e,t,r){g(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(n){g(r.getSource(n),"Expected sourceIds to be registered.")})}function Vo(e){g(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function Xo(e){g(Ya(e),"Item must be an object.")}function Yo(e,t){for(var r=null,n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}function Jo(e){return function(){var r=e.getMonitor();if(r.isDragging())return{type:hr}}}function nr(e,t){return t===null?e===null:Array.isArray(e)?e.some(function(r){return r===t}):e===t}function Qo(e){return function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.clientOffset;Zo(r);var i=r.slice(0),o=e.getMonitor(),u=e.getRegistry();eu(i,o,u);var s=o.getItemType();return tu(i,u,s),ru(i,o,u),{type:he,payload:{targetIds:i,clientOffset:a||null}}}}function Zo(e){g(Array.isArray(e),"Expected targetIds to be an array.")}function eu(e,t,r){g(t.isDragging(),"Cannot call hover while not dragging."),g(!t.didDrop(),"Cannot call hover after drop.");for(var n=0;n<e.length;n++){var a=e[n];g(e.lastIndexOf(a)===n,"Expected targetIds to be unique in the passed array.");var i=r.getTarget(a);g(i,"Expected targetIds to be registered.")}}function tu(e,t,r){for(var n=e.length-1;n>=0;n--){var a=e[n],i=t.getTargetType(a);nr(i,r)||e.splice(n,1)}}function ru(e,t,r){e.forEach(function(n){var a=r.getTarget(n);a.hover(t,n)})}function ia(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function oa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ia(Object(r),!0).forEach(function(n){nu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ia(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.getMonitor(),a=e.getRegistry();iu(n);var i=su(n);i.forEach(function(o,u){var s=ou(o,u,a,n),c={type:ve,payload:{dropResult:oa(oa({},r),s)}};e.dispatch(c)})}}function iu(e){g(e.isDragging(),"Cannot call drop while not dragging."),g(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function ou(e,t,r,n){var a=r.getTarget(e),i=a?a.drop(n,e):void 0;return uu(i),typeof i>"u"&&(i=t===0?{}:n.getDropResult()),i}function uu(e){g(typeof e>"u"||Ya(e),"Drop result must either be an object or undefined.")}function su(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function cu(e){return function(){var r=e.getMonitor(),n=e.getRegistry();fu(r);var a=r.getSourceId();if(a!=null){var i=n.getSource(a,!0);i.endDrag(r,a),n.unpinSource()}return{type:pe}}}function fu(e){g(e.isDragging(),"Cannot call endDrag while not dragging.")}function lu(e){return{beginDrag:Wo(e),publishDragSource:Jo(e),hover:Qo(e),drop:au(e),endDrag:cu(e)}}var du=function(t,r){return t===r};function gu(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function hu(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:du;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}function ua(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function sa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ua(Object(r),!0).forEach(function(n){vu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ua(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ca={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function pu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ca,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case gr:case ge:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case he:return gu(e.clientOffset,r.clientOffset)?e:sa(sa({},e),{},{clientOffset:r.clientOffset});case pe:case ve:return ca;default:return e}}var vr="dnd-core/ADD_SOURCE",pr="dnd-core/ADD_TARGET",yr="dnd-core/REMOVE_SOURCE",ye="dnd-core/REMOVE_TARGET";function yu(e){return{type:vr,payload:{sourceId:e}}}function bu(e){return{type:pr,payload:{targetId:e}}}function mu(e){return{type:yr,payload:{sourceId:e}}}function _u(e){return{type:ye,payload:{targetId:e}}}function fa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fa(Object(r),!0).forEach(function(n){Du(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fa(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Du(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Su={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Ou(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Su,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case ge:return A(A({},e),{},{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case hr:return A(A({},e),{},{isSourcePublic:!0});case he:return A(A({},e),{},{targetIds:r.targetIds});case ye:return e.targetIds.indexOf(r.targetId)===-1?e:A(A({},e),{},{targetIds:Fo(e.targetIds,r.targetId)});case ve:return A(A({},e),{},{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case pe:return A(A({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function Tu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case vr:case pr:return e+1;case yr:case ye:return e-1;default:return e}}var ae=[],br=[];ae.__IS_NONE__=!0;br.__IS_ALL__=!0;function Cu(e,t){if(e===ae)return!1;if(e===br||typeof t>"u")return!0;var r=Bo(t,e);return r.length>0}function Iu(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case he:break;case vr:case pr:case ye:case yr:return ae;case ge:case hr:case pe:case ve:default:return br}var t=e.payload,r=t.targetIds,n=r===void 0?[]:r,a=t.prevTargetIds,i=a===void 0?[]:a,o=Go(n,i),u=o.length>0||!hu(n,i);if(!u)return ae;var s=i[i.length-1],c=n[n.length-1];return s!==c&&(s&&o.push(s),c&&o.push(c)),o}function wu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return e+1}function la(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function da(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?la(Object(r),!0).forEach(function(n){Eu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):la(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Eu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:Iu(e.dirtyHandlerIds,{type:t.type,payload:da(da({},t.payload),{},{prevTargetIds:Uo(e,"dragOperation.targetIds",[])})}),dragOffset:pu(e.dragOffset,t),refCount:Tu(e.refCount,t),dragOperation:Ou(e.dragOperation,t),stateId:wu(e.stateId)}}function Au(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Ja(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ru(e){var t=e.clientOffset,r=e.initialClientOffset,n=e.initialSourceClientOffset;return!t||!r||!n?null:Ja(Au(t,n),r)}function ku(e){var t=e.clientOffset,r=e.initialClientOffset;return!t||!r?null:Ja(t,r)}function qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ju(e,t,r){return t&&Mu(e.prototype,t),e}var xu=function(){function e(t,r){qu(this,e),this.store=t,this.registry=r}return ju(e,[{key:"subscribeToStateChange",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},i=a.handlerIds;g(typeof r=="function","listener must be a function."),g(typeof i>"u"||Array.isArray(i),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,u=function(){var c=n.store.getState(),l=c.stateId;try{var d=l===o||l===o+1&&!Cu(c.dirtyHandlerIds,i);d||r()}finally{o=l}};return this.store.subscribe(u)}},{key:"subscribeToOffsetChange",value:function(r){var n=this;g(typeof r=="function","listener must be a function.");var a=this.store.getState().dragOffset,i=function(){var u=n.store.getState().dragOffset;u!==a&&(a=u,r())};return this.store.subscribe(i)}},{key:"canDragSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r);return g(n,"Expected to find a valid source."),this.isDragging()?!1:n.canDrag(this,r)}},{key:"canDropOnTarget",value:function(r){if(!r)return!1;var n=this.registry.getTarget(r);if(g(n,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var a=this.registry.getTargetType(r),i=this.getItemType();return nr(a,i)&&n.canDrop(this,r)}},{key:"isDragging",value:function(){return!!this.getItemType()}},{key:"isDraggingSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r,!0);if(g(n,"Expected to find a valid source."),!this.isDragging()||!this.isSourcePublic())return!1;var a=this.registry.getSourceType(r),i=this.getItemType();return a!==i?!1:n.isDragging(this,r)}},{key:"isOverTarget",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{shallow:!1};if(!r)return!1;var a=n.shallow;if(!this.isDragging())return!1;var i=this.registry.getTargetType(r),o=this.getItemType();if(o&&!nr(i,o))return!1;var u=this.getTargetIds();if(!u.length)return!1;var s=u.indexOf(r);return a?s===u.length-1:s>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return!!this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return Ru(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return ku(this.store.getState().dragOffset)}}]),e}(),Nu=0;function $u(){return Nu++}function Y(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Y=function(r){return typeof r}:Y=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Y(e)}function Lu(e){g(typeof e.canDrag=="function","Expected canDrag to be a function."),g(typeof e.beginDrag=="function","Expected beginDrag to be a function."),g(typeof e.endDrag=="function","Expected endDrag to be a function.")}function Hu(e){g(typeof e.canDrop=="function","Expected canDrop to be a function."),g(typeof e.hover=="function","Expected hover to be a function."),g(typeof e.drop=="function","Expected beginDrag to be a function.")}function ar(e,t){if(t&&Array.isArray(e)){e.forEach(function(r){return ar(r,!1)});return}g(typeof e=="string"||Y(e)==="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}const ga=typeof ne<"u"?ne:self,Qa=ga.MutationObserver||ga.WebKitMutationObserver;function Za(e){return function(){const r=setTimeout(a,0),n=setInterval(a,50);function a(){clearTimeout(r),clearInterval(n),e()}}}function Uu(e){let t=1;const r=new Qa(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}const Fu=typeof Qa=="function"?Uu:Za;class Gu{enqueueTask(t){const{queue:r,requestFlush:n}=this;r.length||(n(),this.flushing=!0),r[r.length]=t}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:t}=this;for(;this.index<t.length;){const r=this.index;if(this.index++,t[r].call(),this.index>this.capacity){for(let n=0,a=t.length-this.index;n<a;n++)t[n]=t[n+this.index];t.length-=this.index,this.index=0}}t.length=0,this.index=0,this.flushing=!1},this.registerPendingError=t=>{this.pendingErrors.push(t),this.requestErrorThrow()},this.requestFlush=Fu(this.flush),this.requestErrorThrow=Za(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class Bu{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,r){this.onError=t,this.release=r,this.task=null}}class Ku{create(t){const r=this.freeTasks,n=r.length?r.pop():new Bu(this.onError,a=>r[r.length]=a);return n.task=t,n}constructor(t){this.onError=t,this.freeTasks=[]}}const ei=new Gu,Wu=new Ku(ei.registerPendingError);function zu(e){ei.enqueueTask(Wu.create(e))}function Vu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yu(e,t,r){return t&&Xu(e.prototype,t),e}function Ju(e,t){return ts(e)||es(e,t)||Zu(e,t)||Qu()}function Qu(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zu(e,t){if(e){if(typeof e=="string")return ha(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ha(e,t)}}function ha(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function es(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function ts(e){if(Array.isArray(e))return e}function rs(e){var t=$u().toString();switch(e){case R.SOURCE:return"S".concat(t);case R.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}function va(e){switch(e[0]){case"S":return R.SOURCE;case"T":return R.TARGET;default:g(!1,"Cannot parse handler ID: ".concat(e))}}function pa(e,t){var r=e.entries(),n=!1;do{var a=r.next(),i=a.done,o=Ju(a.value,2),u=o[1];if(u===t)return!0;n=!!i}while(!n);return!1}var ns=function(){function e(t){Vu(this,e),this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}return Yu(e,[{key:"addSource",value:function(r,n){ar(r),Lu(n);var a=this.addHandler(R.SOURCE,r,n);return this.store.dispatch(yu(a)),a}},{key:"addTarget",value:function(r,n){ar(r,!0),Hu(n);var a=this.addHandler(R.TARGET,r,n);return this.store.dispatch(bu(a)),a}},{key:"containsHandler",value:function(r){return pa(this.dragSources,r)||pa(this.dropTargets,r)}},{key:"getSource",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;g(this.isSourceId(r),"Expected a valid source ID.");var a=n&&r===this.pinnedSourceId,i=a?this.pinnedSource:this.dragSources.get(r);return i}},{key:"getTarget",value:function(r){return g(this.isTargetId(r),"Expected a valid target ID."),this.dropTargets.get(r)}},{key:"getSourceType",value:function(r){return g(this.isSourceId(r),"Expected a valid source ID."),this.types.get(r)}},{key:"getTargetType",value:function(r){return g(this.isTargetId(r),"Expected a valid target ID."),this.types.get(r)}},{key:"isSourceId",value:function(r){var n=va(r);return n===R.SOURCE}},{key:"isTargetId",value:function(r){var n=va(r);return n===R.TARGET}},{key:"removeSource",value:function(r){var n=this;g(this.getSource(r),"Expected an existing source."),this.store.dispatch(mu(r)),zu(function(){n.dragSources.delete(r),n.types.delete(r)})}},{key:"removeTarget",value:function(r){g(this.getTarget(r),"Expected an existing target."),this.store.dispatch(_u(r)),this.dropTargets.delete(r),this.types.delete(r)}},{key:"pinSource",value:function(r){var n=this.getSource(r);g(n,"Expected an existing source."),this.pinnedSourceId=r,this.pinnedSource=n}},{key:"unpinSource",value:function(){g(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(r,n,a){var i=rs(r);return this.types.set(i,n),r===R.SOURCE?this.dragSources.set(i,a):r===R.TARGET&&this.dropTargets.set(i,a),i}}]),e}();function as(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function is(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function os(e,t,r){return t&&is(e.prototype,t),e}function us(e){var t=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return Ii(Pu,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}var ss=function(){function e(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;as(this,e),this.isSetUp=!1,this.handleRefCountChange=function(){var a=t.store.getState().refCount>0;t.backend&&(a&&!t.isSetUp?(t.backend.setup(),t.isSetUp=!0):!a&&t.isSetUp&&(t.backend.teardown(),t.isSetUp=!1))};var n=us(r);this.store=n,this.monitor=new xu(n,new ns(n)),n.subscribe(this.handleRefCountChange)}return os(e,[{key:"receiveBackend",value:function(r){this.backend=r}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var r=this,n=this.store.dispatch;function a(o){return function(){for(var u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];var l=o.apply(r,s);typeof l<"u"&&n(l)}}var i=lu(this);return Object.keys(i).reduce(function(o,u){var s=i[u];return o[u]=a(s),o},{})}},{key:"dispatch",value:function(r){this.store.dispatch(r)}}]),e}();function cs(e,t,r,n){var a=new ss(n),i=e(a,t,r);return a.receiveBackend(i),a}var B=C.createContext({dragDropManager:void 0});function ti(e,t,r,n){return{dragDropManager:cs(e,t,r,n)}}function fs(e,t){return hs(e)||gs(e,t)||ds(e,t)||ls()}function ls(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ds(e,t){if(e){if(typeof e=="string")return ya(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ya(e,t)}}function ya(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function gs(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function hs(e){if(Array.isArray(e))return e}function vs(e,t){if(e==null)return{};var r=ps(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ps(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}var Qt=0,ri=C.memo(function(e){var t=e.children,r=vs(e,["children"]),n=ys(r),a=fs(n,2),i=a[0],o=a[1];return C.useEffect(function(){return o&&Qt++,function(){if(o&&(Qt--,Qt===0)){var u=ni();u[J]=null}}},[]),C.createElement(B.Provider,{value:i},t)});ri.displayName="DndProvider";function ys(e){if("manager"in e){var t={dragDropManager:e.manager};return[t,!1]}var r=bs(e.backend,e.context,e.options,e.debugMode),n=!e.context;return[r,n]}var J=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");function bs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ni(),r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,a=t;return a[J]||(a[J]=ti(e,t,r,n)),a[J]}function ni(){return typeof ne<"u"?ne:window}var ai=C.memo(function(e){var t=e.connect,r=e.src;return C.useEffect(function(){if(!(typeof Image>"u")){var n=!1,a=new Image;return a.src=r,a.onload=function(){t(a),n=!0},function(){n&&t(null)}}}),null});ai.displayName="DragPreviewImage";var x=typeof window<"u"?C.useLayoutEffect:C.useEffect;function q(e,t,r,n){var a=r?r.call(n,e,t):void 0;if(a!==void 0)return!!a;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),s=0;s<i.length;s++){var c=i[s];if(!u(c))return!1;var l=e[c],d=t[c];if(a=r?r.call(n,l,d,c):void 0,a===!1||a===void 0&&l!==d)return!1}return!0}function ms(e,t){return Os(e)||Ss(e,t)||Ds(e,t)||_s()}function _s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4
4
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ds(e,t){if(e){if(typeof e=="string")return ba(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ba(e,t)}}function ba(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ss(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Os(e){if(Array.isArray(e))return e}function ii(e,t,r){var n=C.useState(function(){return t(e)}),a=ms(n,2),i=a[0],o=a[1],u=C.useCallback(function(){var s=t(e);q(i,s)||(o(s),r&&r())},[i,e,r]);return x(u,[]),[i,u]}function Ts(e,t){return Es(e)||ws(e,t)||Is(e,t)||Cs()}function Cs(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
5
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Is(e,t){if(e){if(typeof e=="string")return ma(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ma(e,t)}}function ma(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ws(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Es(e){if(Array.isArray(e))return e}function oi(e,t,r){var n=ii(e,t,r),a=Ts(n,2),i=a[0],o=a[1];return x(function(){var s=e.getHandlerId();if(s!=null)return e.subscribeToStateChange(o,{handlerIds:[s]})},[e,o]),i}function ui(e,t,r){var n=r.getRegistry(),a=n.addTarget(e,t);return[a,function(){return n.removeTarget(a)}]}function si(e,t,r){var n=r.getRegistry(),a=n.addSource(e,t);return[a,function(){return n.removeSource(a)}]}function $(){var e=C.useContext(K),t=e.dragDropManager;return g(t!=null,"Expected drag drop context"),t}function Ps(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function As(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rs(e,t,r){return t&&As(e.prototype,t),e}var Zt=!1,er=!1,ci=function(){function e(t){Ps(this,e),this.sourceId=null,this.internalMonitor=t.getMonitor()}return Rs(e,[{key:"receiveHandlerId",value:function(r){this.sourceId=r}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){g(!Zt,"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 Zt=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Zt=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;g(!er,"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 er=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{er=!1}}},{key:"subscribeToStateChange",value:function(r,n){return this.internalMonitor.subscribeToStateChange(r,n)}},{key:"isDraggingSource",value:function(r){return this.internalMonitor.isDraggingSource(r)}},{key:"isOverTarget",value:function(r,n){return this.internalMonitor.isOverTarget(r,n)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(r){return this.internalMonitor.subscribeToOffsetChange(r)}},{key:"canDragSource",value:function(r){return this.internalMonitor.canDragSource(r)}},{key:"canDropOnTarget",value:function(r){return this.internalMonitor.canDropOnTarget(r)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}();function _a(e,t){typeof e=="function"?e(t):e.current=t}function ks(e,t){var r=e.ref;return g(typeof r!="string","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://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),r?C.cloneElement(e,{ref:function(a){_a(r,a),_a(t,a)}}):C.cloneElement(e,{ref:t})}function qs(e){if(typeof e.type!="string"){var 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 ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function Ms(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!C.isValidElement(t)){var n=t;return e(n,r),n}var a=t;qs(a);var i=r?function(o){return e(o,r)}:e;return ks(a,i)}}function fi(e){var t={};return Object.keys(e).forEach(function(r){var n=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{var a=Ms(n);t[r]=function(){return a}}}),t}function Q(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q=function(r){return typeof r}:Q=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Q(e)}function ir(e){return e!==null&&Q(e)==="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function js(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xs(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ns(e,t,r){return t&&xs(e.prototype,t),e}var li=function(){function e(t){var r=this;js(this,e),this.hooks=fi({dragSource:function(a,i){r.clearDragSource(),r.dragSourceOptions=i||null,ir(a)?r.dragSourceRef=a:r.dragSourceNode=a,r.reconnectDragSource()},dragPreview:function(a,i){r.clearDragPreview(),r.dragPreviewOptions=i||null,ir(a)?r.dragPreviewRef=a:r.dragPreviewNode=a,r.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=t}return Ns(e,[{key:"receiveHandlerId",value:function(r){this.handlerId!==r&&(this.handlerId=r,this.reconnect())}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var r=this.dragSource,n=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();if(n&&this.disconnectDragSource(),!!this.handlerId){if(!r){this.lastConnectedDragSource=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=r,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,r,this.dragSourceOptions))}}},{key:"reconnectDragPreview",value:function(){var r=this.dragPreview,n=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),!!this.handlerId){if(!r){this.lastConnectedDragPreview=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=r,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,r,this.dragPreviewOptions))}}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!q(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!q(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(r){this.dragSourceOptionsInternal=r}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(r){this.dragPreviewOptionsInternal=r}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}}]),e}();function $s(e,t){return Fs(e)||Us(e,t)||Hs(e,t)||Ls()}function Ls(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hs(e,t){if(e){if(typeof e=="string")return Da(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Da(e,t)}}function Da(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Us(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Fs(e){if(Array.isArray(e))return e}function Z(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z=function(r){return typeof r}:Z=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Z(e)}function Gs(){var e=$(),t=C.useMemo(function(){return new ci(e)},[e]),r=C.useMemo(function(){return new li(e.getBackend())},[e]);return[t,r]}function Ks(e,t,r){var n=$(),a=C.useMemo(function(){return{beginDrag:function(){var o=e.current,u=o.begin,s=o.item;if(u){var c=u(t);return g(c==null||Z(c)==="object","dragSpec.begin() must either return an object, undefined, or null"),c||s||{}}return s||{}},canDrag:function(){return typeof e.current.canDrag=="boolean"?e.current.canDrag:typeof e.current.canDrag=="function"?e.current.canDrag(t):!0},isDragging:function(o,u){var s=e.current.isDragging;return s?s(t):u===o.getSourceId()},endDrag:function(){var o=e.current.end;o&&o(t.getItem(),t),r.reconnect()}}},[]);x(function(){var o=si(e.current.item.type,a,n),u=$s(o,2),s=u[0],c=u[1];return t.receiveHandlerId(s),r.receiveHandlerId(s),c},[])}function Bs(e,t){return Xs(e)||Vs(e,t)||zs(e,t)||Ws()}function Ws(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zs(e,t){if(e){if(typeof e=="string")return Sa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sa(e,t)}}function Sa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Vs(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Xs(e){if(Array.isArray(e))return e}function Ys(e){var t=C.useRef(e);t.current=e,g(e.item!=null,"item must be defined"),g(e.item.type!=null,"item type must be defined");var r=Gs(),n=Bs(r,2),a=n[0],i=n[1];Ks(t,a,i);var o=oi(a,t.current.collect||function(){return{}},function(){return i.reconnect()}),u=C.useMemo(function(){return i.hooks.dragSource()},[i]),s=C.useMemo(function(){return i.hooks.dragPreview()},[i]);return x(function(){i.dragSourceOptions=t.current.options||null,i.reconnect()},[i]),x(function(){i.dragPreviewOptions=t.current.previewOptions||null,i.reconnect()},[i]),[o,u,s]}function Js(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qs(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zs(e,t,r){return t&&Qs(e.prototype,t),e}var di=function(){function e(t){var r=this;Js(this,e),this.hooks=fi({dropTarget:function(a,i){r.clearDropTarget(),r.dropTargetOptions=i,ir(a)?r.dropTargetRef=a:r.dropTargetNode=a,r.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}return Zs(e,[{key:"reconnect",value:function(){var r=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();r&&this.disconnectDropTarget();var n=this.dropTarget;if(this.handlerId){if(!n){this.lastConnectedDropTarget=n;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=n,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,n,this.dropTargetOptions))}}},{key:"receiveHandlerId",value:function(r){r!==this.handlerId&&(this.handlerId=r,this.reconnect())}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!q(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}},{key:"connectTarget",get:function(){return this.dropTarget}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(r){this.dropTargetOptionsInternal=r}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}}]),e}();function ec(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rc(e,t,r){return t&&tc(e.prototype,t),e}var tr=!1,gi=function(){function e(t){ec(this,e),this.targetId=null,this.internalMonitor=t.getMonitor()}return rc(e,[{key:"receiveHandlerId",value:function(r){this.targetId=r}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(r,n){return this.internalMonitor.subscribeToStateChange(r,n)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;g(!tr,"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 tr=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{tr=!1}}},{key:"isOver",value:function(r){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,r):!1}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}();function nc(e,t){return uc(e)||oc(e,t)||ic(e,t)||ac()}function ac(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Is(e,t){if(e){if(typeof e=="string")return ma(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ma(e,t)}}function ma(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ws(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Es(e){if(Array.isArray(e))return e}function oi(e,t,r){var n=ii(e,t,r),a=Ts(n,2),i=a[0],o=a[1];return x(function(){var s=e.getHandlerId();if(s!=null)return e.subscribeToStateChange(o,{handlerIds:[s]})},[e,o]),i}function ui(e,t,r){var n=r.getRegistry(),a=n.addTarget(e,t);return[a,function(){return n.removeTarget(a)}]}function si(e,t,r){var n=r.getRegistry(),a=n.addSource(e,t);return[a,function(){return n.removeSource(a)}]}function $(){var e=C.useContext(B),t=e.dragDropManager;return g(t!=null,"Expected drag drop context"),t}function Ps(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function As(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rs(e,t,r){return t&&As(e.prototype,t),e}var Zt=!1,er=!1,ci=function(){function e(t){Ps(this,e),this.sourceId=null,this.internalMonitor=t.getMonitor()}return Rs(e,[{key:"receiveHandlerId",value:function(r){this.sourceId=r}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){g(!Zt,"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 Zt=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Zt=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;g(!er,"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 er=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{er=!1}}},{key:"subscribeToStateChange",value:function(r,n){return this.internalMonitor.subscribeToStateChange(r,n)}},{key:"isDraggingSource",value:function(r){return this.internalMonitor.isDraggingSource(r)}},{key:"isOverTarget",value:function(r,n){return this.internalMonitor.isOverTarget(r,n)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(r){return this.internalMonitor.subscribeToOffsetChange(r)}},{key:"canDragSource",value:function(r){return this.internalMonitor.canDragSource(r)}},{key:"canDropOnTarget",value:function(r){return this.internalMonitor.canDropOnTarget(r)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}();function _a(e,t){typeof e=="function"?e(t):e.current=t}function ks(e,t){var r=e.ref;return g(typeof r!="string","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://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),r?C.cloneElement(e,{ref:function(a){_a(r,a),_a(t,a)}}):C.cloneElement(e,{ref:t})}function qs(e){if(typeof e.type!="string"){var 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 ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function Ms(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!C.isValidElement(t)){var n=t;return e(n,r),n}var a=t;qs(a);var i=r?function(o){return e(o,r)}:e;return ks(a,i)}}function fi(e){var t={};return Object.keys(e).forEach(function(r){var n=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{var a=Ms(n);t[r]=function(){return a}}}),t}function Q(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q=function(r){return typeof r}:Q=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Q(e)}function ir(e){return e!==null&&Q(e)==="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function js(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xs(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ns(e,t,r){return t&&xs(e.prototype,t),e}var li=function(){function e(t){var r=this;js(this,e),this.hooks=fi({dragSource:function(a,i){r.clearDragSource(),r.dragSourceOptions=i||null,ir(a)?r.dragSourceRef=a:r.dragSourceNode=a,r.reconnectDragSource()},dragPreview:function(a,i){r.clearDragPreview(),r.dragPreviewOptions=i||null,ir(a)?r.dragPreviewRef=a:r.dragPreviewNode=a,r.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=t}return Ns(e,[{key:"receiveHandlerId",value:function(r){this.handlerId!==r&&(this.handlerId=r,this.reconnect())}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var r=this.dragSource,n=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();if(n&&this.disconnectDragSource(),!!this.handlerId){if(!r){this.lastConnectedDragSource=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=r,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,r,this.dragSourceOptions))}}},{key:"reconnectDragPreview",value:function(){var r=this.dragPreview,n=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),!!this.handlerId){if(!r){this.lastConnectedDragPreview=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=r,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,r,this.dragPreviewOptions))}}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!q(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!q(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(r){this.dragSourceOptionsInternal=r}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(r){this.dragPreviewOptionsInternal=r}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}}]),e}();function $s(e,t){return Fs(e)||Us(e,t)||Hs(e,t)||Ls()}function Ls(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hs(e,t){if(e){if(typeof e=="string")return Da(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Da(e,t)}}function Da(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Us(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Fs(e){if(Array.isArray(e))return e}function Z(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z=function(r){return typeof r}:Z=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Z(e)}function Gs(){var e=$(),t=C.useMemo(function(){return new ci(e)},[e]),r=C.useMemo(function(){return new li(e.getBackend())},[e]);return[t,r]}function Bs(e,t,r){var n=$(),a=C.useMemo(function(){return{beginDrag:function(){var o=e.current,u=o.begin,s=o.item;if(u){var c=u(t);return g(c==null||Z(c)==="object","dragSpec.begin() must either return an object, undefined, or null"),c||s||{}}return s||{}},canDrag:function(){return typeof e.current.canDrag=="boolean"?e.current.canDrag:typeof e.current.canDrag=="function"?e.current.canDrag(t):!0},isDragging:function(o,u){var s=e.current.isDragging;return s?s(t):u===o.getSourceId()},endDrag:function(){var o=e.current.end;o&&o(t.getItem(),t),r.reconnect()}}},[]);x(function(){var o=si(e.current.item.type,a,n),u=$s(o,2),s=u[0],c=u[1];return t.receiveHandlerId(s),r.receiveHandlerId(s),c},[])}function Ks(e,t){return Xs(e)||Vs(e,t)||zs(e,t)||Ws()}function Ws(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zs(e,t){if(e){if(typeof e=="string")return Sa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sa(e,t)}}function Sa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Vs(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Xs(e){if(Array.isArray(e))return e}function Ys(e){var t=C.useRef(e);t.current=e,g(e.item!=null,"item must be defined"),g(e.item.type!=null,"item type must be defined");var r=Gs(),n=Ks(r,2),a=n[0],i=n[1];Bs(t,a,i);var o=oi(a,t.current.collect||function(){return{}},function(){return i.reconnect()}),u=C.useMemo(function(){return i.hooks.dragSource()},[i]),s=C.useMemo(function(){return i.hooks.dragPreview()},[i]);return x(function(){i.dragSourceOptions=t.current.options||null,i.reconnect()},[i]),x(function(){i.dragPreviewOptions=t.current.previewOptions||null,i.reconnect()},[i]),[o,u,s]}function Js(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qs(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zs(e,t,r){return t&&Qs(e.prototype,t),e}var di=function(){function e(t){var r=this;Js(this,e),this.hooks=fi({dropTarget:function(a,i){r.clearDropTarget(),r.dropTargetOptions=i,ir(a)?r.dropTargetRef=a:r.dropTargetNode=a,r.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}return Zs(e,[{key:"reconnect",value:function(){var r=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();r&&this.disconnectDropTarget();var n=this.dropTarget;if(this.handlerId){if(!n){this.lastConnectedDropTarget=n;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=n,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,n,this.dropTargetOptions))}}},{key:"receiveHandlerId",value:function(r){r!==this.handlerId&&(this.handlerId=r,this.reconnect())}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!q(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}},{key:"connectTarget",get:function(){return this.dropTarget}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(r){this.dropTargetOptionsInternal=r}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}}]),e}();function ec(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rc(e,t,r){return t&&tc(e.prototype,t),e}var tr=!1,gi=function(){function e(t){ec(this,e),this.targetId=null,this.internalMonitor=t.getMonitor()}return rc(e,[{key:"receiveHandlerId",value:function(r){this.targetId=r}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(r,n){return this.internalMonitor.subscribeToStateChange(r,n)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;g(!tr,"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 tr=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{tr=!1}}},{key:"isOver",value:function(r){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,r):!1}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}();function nc(e,t){return uc(e)||oc(e,t)||ic(e,t)||ac()}function ac(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
8
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ic(e,t){if(e){if(typeof e=="string")return Oa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oa(e,t)}}function Oa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function oc(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function uc(e){if(Array.isArray(e))return e}function sc(){var e=$(),t=C.useMemo(function(){return new gi(e)},[e]),r=C.useMemo(function(){return new di(e.getBackend())},[e]);return[t,r]}function cc(e,t,r){var n=$(),a=C.useMemo(function(){return{canDrop:function(){var o=e.current.canDrop;return o?o(t.getItem(),t):!0},hover:function(){var o=e.current.hover;o&&o(t.getItem(),t)},drop:function(){var o=e.current.drop;if(o)return o(t.getItem(),t)}}},[t]);x(function(){var o=ui(e.current.accept,a,n),u=nc(o,2),s=u[0],c=u[1];return t.receiveHandlerId(s),r.receiveHandlerId(s),c},[t,r])}function fc(e,t){return hc(e)||gc(e,t)||dc(e,t)||lc()}function lc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
9
9
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dc(e,t){if(e){if(typeof e=="string")return Ta(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ta(e,t)}}function Ta(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function gc(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function hc(e){if(Array.isArray(e))return e}function vc(e){var t=C.useRef(e);t.current=e,g(e.accept!=null,"accept must be defined");var r=sc(),n=fc(r,2),a=n[0],i=n[1];cc(t,a,i);var o=oi(a,t.current.collect||function(){return{}},function(){return i.reconnect()}),u=C.useMemo(function(){return i.hooks.dropTarget()},[i]);return x(function(){i.dropTargetOptions=e.options||null,i.reconnect()},[e.options]),[o,u]}function pc(e,t){return _c(e)||mc(e,t)||bc(e,t)||yc()}function yc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
10
10
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bc(e,t){if(e){if(typeof e=="string")return Ca(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ca(e,t)}}function Ca(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mc(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function _c(e){if(Array.isArray(e))return e}function Dc(e){var t=$(),r=t.getMonitor(),n=ii(r,e),a=pc(n,2),i=a[0],o=a[1];return C.useEffect(function(){return r.subscribeToOffsetChange(o)}),C.useEffect(function(){return r.subscribeToStateChange(o)}),i}function ee(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ee=function(r){return typeof r}:ee=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ee(e)}function Ia(e){return typeof e=="function"}function wa(){}function Sc(e){return ee(e)==="object"&&e!==null}function G(e){if(!Sc(e))return!1;if(Object.getPrototypeOf(e)===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function hi(e){var t=e.current;return t==null?null:t.decoratedRef?t.decoratedRef.current:t}function Oc(e){return e&&e.prototype&&typeof e.prototype.render=="function"}function Tc(e){var t,r=e;return(r==null||(t=r.$$typeof)===null||t===void 0?void 0:t.toString())==="Symbol(react.forward_ref)"}function vi(e){return Oc(e)||Tc(e)}function mr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ea(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _r(e,t,r){return t&&Ea(e.prototype,t),r&&Ea(e,r),e}var Pa=function(){var e=function(){function t(r){mr(this,t),this.isDisposed=!1,this.action=Ia(r)?r:wa}return _r(t,[{key:"dispose",value:function(){this.isDisposed||(this.action(),this.isDisposed=!0)}}],[{key:"isDisposable",value:function(n){return!!(n&&Ia(n.dispose))}},{key:"_fixup",value:function(n){return t.isDisposable(n)?n:t.empty}},{key:"create",value:function(n){return new t(n)}}]),t}();return e.empty={dispose:wa},e}(),Cc=function(){function e(){mr(this,e),this.isDisposed=!1;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];this.disposables=r}return _r(e,[{key:"add",value:function(r){this.isDisposed?r.dispose():this.disposables.push(r)}},{key:"remove",value:function(r){var n=!1;if(!this.isDisposed){var a=this.disposables.indexOf(r);a!==-1&&(n=!0,this.disposables.splice(a,1),r.dispose())}return n}},{key:"clear",value:function(){if(!this.isDisposed){for(var r=this.disposables.length,n=new Array(r),a=0;a<r;a++)n[a]=this.disposables[a];this.disposables=[];for(var i=0;i<r;i++)n[i].dispose()}}},{key:"dispose",value:function(){if(!this.isDisposed){this.isDisposed=!0;for(var r=this.disposables.length,n=new Array(r),a=0;a<r;a++)n[a]=this.disposables[a];this.disposables=[];for(var i=0;i<r;i++)n[i].dispose()}}}]),e}(),Aa=function(){function e(){mr(this,e),this.isDisposed=!1}return _r(e,[{key:"getDisposable",value:function(){return this.current}},{key:"setDisposable",value:function(r){var n=this.isDisposed;if(!n){var a=this.current;this.current=r,a&&a.dispose()}n&&r&&r.dispose()}},{key:"dispose",value:function(){if(!this.isDisposed){this.isDisposed=!0;var r=this.current;this.current=void 0,r&&r.dispose()}}}]),e}();function te(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(r){return typeof r}:te=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},te(e)}function Ic(e,t){return Ac(e)||Pc(e,t)||Ec(e,t)||wc()}function wc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
11
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ec(e,t){if(e){if(typeof e=="string")return Ra(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ra(e,t)}}function Ra(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Pc(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Ac(e){if(Array.isArray(e))return e}function Rc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qc(e,t,r){return t&&kc(e.prototype,t),e}function Mc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&or(e,t)}function or(e,t){return or=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},or(e,t)}function jc(e){var t=$c();return function(){var n=ie(e),a;if(t){var i=ie(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return xc(this,a)}}function xc(e,t){return t&&(te(t)==="object"||typeof t=="function")?t:Nc(e)}function Nc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $c(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ie(e)}function pi(e){var t=e.DecoratedComponent,r=e.createHandler,n=e.createMonitor,a=e.createConnector,i=e.registerHandler,o=e.containerDisplayName,u=e.getType,s=e.collect,c=e.options,l=c.arePropsEqual,d=l===void 0?q:l,v=t,h=t.displayName||t.name||"Component",b=function(){var _=function(S){Mc(p,S);var O=jc(p);function p(m){var f;return Rc(this,p),f=O.call(this,m),f.decoratedRef=C.createRef(),f.handleChange=function(){var T=f.getCurrentState();q(T,f.state)||f.setState(T)},f.disposable=new Aa,f.receiveProps(m),f.dispose(),f}return qc(p,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return g(this.decoratedRef.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.decoratedRef.current}},{key:"shouldComponentUpdate",value:function(f,T){return!d(f,this.props)||!q(T,this.state)}},{key:"componentDidMount",value:function(){this.disposable=new Aa,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()}},{key:"componentDidUpdate",value:function(f){d(this.props,f)||(this.receiveProps(this.props),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"receiveProps",value:function(f){this.handler&&(this.handler.receiveProps(f),this.receiveType(u(f)))}},{key:"receiveType",value:function(f){if(!(!this.handlerMonitor||!this.manager||!this.handlerConnector)&&f!==this.currentType){this.currentType=f;var T=i(f,this.handler,this.manager),D=Ic(T,2),y=D[0],w=D[1];this.handlerId=y,this.handlerMonitor.receiveHandlerId(y),this.handlerConnector.receiveHandlerId(y);var E=this.manager.getMonitor(),P=E.subscribeToStateChange(this.handleChange,{handlerIds:[y]});this.disposable.setDisposable(new Cc(new Pa(P),new Pa(w)))}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector&&this.handlerConnector.receiveHandlerId(null)}},{key:"getCurrentState",value:function(){if(!this.handlerConnector)return{};var f=s(this.handlerConnector.hooks,this.handlerMonitor,this.props);return f}},{key:"render",value:function(){var f=this;return C.createElement(K.Consumer,null,function(T){var D=T.dragDropManager;return f.receiveDragDropManager(D),typeof requestAnimationFrame<"u"&&requestAnimationFrame(function(){var y;return(y=f.handlerConnector)===null||y===void 0?void 0:y.reconnect()}),C.createElement(v,Object.assign({},f.props,f.getCurrentState(),{ref:vi(v)?f.decoratedRef:null}))})}},{key:"receiveDragDropManager",value:function(f){this.manager===void 0&&(g(f!==void 0,"Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",h,h),f!==void 0&&(this.manager=f,this.handlerMonitor=n(f),this.handlerConnector=a(f.getBackend()),this.handler=r(this.handlerMonitor,this.decoratedRef)))}}]),p}(C.Component);return _.DecoratedComponent=t,_.displayName="".concat(o,"(").concat(h,")"),_}();return La(b,t)}function re(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(r){return typeof r}:re=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},re(e)}function Dr(e,t){return typeof e=="string"||re(e)==="symbol"||!!t&&Array.isArray(e)&&e.every(function(r){return Dr(r,!1)})}function Lc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uc(e,t,r){return t&&Hc(e.prototype,t),e}var ka=["canDrag","beginDrag","isDragging","endDrag"],Fc=["beginDrag"],Gc=function(){function e(t,r,n){var a=this;Lc(this,e),this.props=null,this.beginDrag=function(){if(a.props){var i=a.spec.beginDrag(a.props,a.monitor,a.ref.current);return i}},this.spec=t,this.monitor=r,this.ref=n}return Uc(e,[{key:"receiveProps",value:function(r){this.props=r}},{key:"canDrag",value:function(){return this.props?this.spec.canDrag?this.spec.canDrag(this.props,this.monitor):!0:!1}},{key:"isDragging",value:function(r,n){return this.props?this.spec.isDragging?this.spec.isDragging(this.props,this.monitor):n===r.getSourceId():!1}},{key:"endDrag",value:function(){this.props&&this.spec.endDrag&&this.spec.endDrag(this.props,this.monitor,hi(this.ref))}}]),e}();function Kc(e){return Object.keys(e).forEach(function(t){g(ka.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',ka.join(", "),t),g(typeof e[t]=="function","Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])}),Fc.forEach(function(t){g(typeof e[t]=="function","Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])}),function(r,n){return new Gc(e,r,n)}}function Bc(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=e;typeof e!="function"&&(g(Dr(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',e),a=function(){return e}),g(G(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',t);var i=Kc(t);return g(typeof r=="function",'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',r),g(G(n),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',r),function(u){return pi({containerDisplayName:"DragSource",createHandler:i,registerHandler:si,createConnector:function(c){return new li(c)},createMonitor:function(c){return new ci(c)},DecoratedComponent:u,getType:a,collect:r,options:n})}}function Wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vc(e,t,r){return t&&zc(e.prototype,t),e}var qa=["canDrop","hover","drop"],Xc=function(){function e(t,r,n){Wc(this,e),this.props=null,this.spec=t,this.monitor=r,this.ref=n}return Vc(e,[{key:"receiveProps",value:function(r){this.props=r}},{key:"receiveMonitor",value:function(r){this.monitor=r}},{key:"canDrop",value:function(){return this.spec.canDrop?this.spec.canDrop(this.props,this.monitor):!0}},{key:"hover",value:function(){!this.spec.hover||!this.props||this.spec.hover(this.props,this.monitor,hi(this.ref))}},{key:"drop",value:function(){if(this.spec.drop){var r=this.spec.drop(this.props,this.monitor,this.ref.current);return r}}}]),e}();function Yc(e){return Object.keys(e).forEach(function(t){g(qa.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',qa.join(", "),t),g(typeof e[t]=="function","Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target",t,t,e[t])}),function(r,n){return new Xc(e,r,n)}}function Jc(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=e;typeof e!="function"&&(g(Dr(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',e),a=function(){return e}),g(G(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',t);var i=Yc(t);return g(typeof r=="function",'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',r),g(G(n),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',r),function(u){return pi({containerDisplayName:"DropTarget",createHandler:i,registerHandler:ui,createMonitor:function(c){return new gi(c)},createConnector:function(c){return new di(c)},DecoratedComponent:u,getType:a,collect:r,options:n})}}function F(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?F=function(r){return typeof r}:F=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},F(e)}function Qc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ef(e,t,r){return t&&Zc(e.prototype,t),e}function tf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ur(e,t)}function ur(e,t){return ur=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},ur(e,t)}function rf(e){var t=of();return function(){var n=oe(e),a;if(t){var i=oe(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return nf(this,a)}}function nf(e,t){return t&&(F(t)==="object"||typeof t=="function")?t:af(e)}function af(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function of(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oe(e)}function uf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g(typeof e=="function",'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer",e),g(G(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer',t),function(n){var a=n,i=t.arePropsEqual,o=i===void 0?q:i,u=a.displayName||a.name||"Component",s=function(){var c=function(l){tf(v,l);var d=rf(v);function v(){var h;return Qc(this,v),h=d.apply(this,arguments),h.isCurrentlyMounted=!1,h.ref=C.createRef(),h.handleChange=function(){if(h.isCurrentlyMounted){var b=h.getCurrentState();q(b,h.state)||h.setState(b)}},h}return ef(v,[{key:"getDecoratedComponentInstance",value:function(){return g(this.ref.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.ref.current}},{key:"shouldComponentUpdate",value:function(b,_){return!o(b,this.props)||!q(_,this.state)}},{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)}},{key:"render",value:function(){var b=this;return C.createElement(K.Consumer,null,function(_){var S=_.dragDropManager;return S===void 0||(b.receiveDragDropManager(S),!b.isCurrentlyMounted)?null:C.createElement(a,Object.assign({},b.props,b.state,{ref:vi(a)?b.ref:null}))})}},{key:"receiveDragDropManager",value:function(b){if(this.manager===void 0){this.manager=b,g(F(b)==="object","Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",u,u);var _=this.manager.getMonitor();this.unsubscribeFromOffsetChange=_.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=_.subscribeToStateChange(this.handleChange)}}},{key:"getCurrentState",value:function(){if(!this.manager)return{};var b=this.manager.getMonitor();return e(b,this.props)}}]),v}(C.Component);return c.displayName="DragLayer(".concat(u,")"),c.DecoratedComponent=n,c}();return La(s,n)}}const sf=Object.freeze(Object.defineProperty({__proto__:null,DndContext:K,DndProvider:ri,DragLayer:uf,DragPreviewImage:ai,DragSource:Bc,DropTarget:Jc,createDndContext:ti,useDrag:Ys,useDragDropManager:$,useDragLayer:Dc,useDrop:vc},Symbol.toStringTag,{value:"Module"})),Uf=Ci(sf);function yi(e){var t=null,r=function(){return t==null&&(t=e()),t};return r}function cf(e,t){return e.filter(function(r){return r!==t})}function ff(e,t){var r=new Set,n=function(o){return r.add(o)};e.forEach(n),t.forEach(n);var a=[];return r.forEach(function(i){return a.push(i)}),a}function lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gf(e,t,r){return t&&df(e.prototype,t),e}var hf=function(){function e(t){lf(this,e),this.entered=[],this.isNodeInDocument=t}return gf(e,[{key:"enter",value:function(r){var n=this,a=this.entered.length,i=function(u){return n.isNodeInDocument(u)&&(!u.contains||u.contains(r))};return this.entered=ff(this.entered.filter(i),[r]),a===0&&this.entered.length>0}},{key:"leave",value:function(r){var n=this.entered.length;return this.entered=cf(this.entered.filter(this.isNodeInDocument),r),n>0&&this.entered.length===0}},{key:"reset",value:function(){this.entered=[]}}]),e}(),bi=yi(function(){return/firefox/i.test(navigator.userAgent)}),mi=yi(function(){return!!window.safari});function vf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yf(e,t,r){return t&&pf(e.prototype,t),e}var Ma=function(){function e(t,r){vf(this,e);for(var n=t.length,a=[],i=0;i<n;i++)a.push(i);a.sort(function(w,E){return t[w]<t[E]?-1:1});for(var o=[],u=[],s,c,l=0;l<n-1;l++)s=t[l+1]-t[l],c=r[l+1]-r[l],o.push(s),u.push(c/s);for(var d=[u[0]],v=0;v<o.length-1;v++){var h=u[v],b=u[v+1];if(h*b<=0)d.push(0);else{s=o[v];var _=o[v+1],S=s+_;d.push(3*S/((S+_)/h+(S+s)/b))}}d.push(u[u.length-1]);for(var O=[],p=[],m,f=0;f<d.length-1;f++){m=u[f];var T=d[f],D=1/o[f],y=T+d[f+1]-m-m;O.push((m-T-y)*D),p.push(y*D*D)}this.xs=t,this.ys=r,this.c1s=d,this.c2s=O,this.c3s=p}return yf(e,[{key:"interpolate",value:function(r){var n=this.xs,a=this.ys,i=this.c1s,o=this.c2s,u=this.c3s,s=n.length-1;if(r===n[s])return a[s];for(var c=0,l=u.length-1,d;c<=l;){d=Math.floor(.5*(c+l));var v=n[d];if(v<r)c=d+1;else if(v>r)l=d-1;else return a[d]}s=Math.max(0,l);var h=r-n[s],b=h*h;return a[s]+i[s]*h+o[s]*b+u[s]*h*b}}]),e}(),bf=1;function _i(e){var t=e.nodeType===bf?e:e.parentElement;if(!t)return null;var r=t.getBoundingClientRect(),n=r.top,a=r.left;return{x:a,y:n}}function z(e){return{x:e.clientX,y:e.clientY}}function mf(e){var t;return e.nodeName==="IMG"&&(bi()||!(!((t=document.documentElement)===null||t===void 0)&&t.contains(e)))}function _f(e,t,r,n){var a=e?t.width:r,i=e?t.height:n;return mi()&&e&&(i/=window.devicePixelRatio,a/=window.devicePixelRatio),{dragPreviewWidth:a,dragPreviewHeight:i}}function Df(e,t,r,n,a){var i=mf(t),o=i?e:t,u=_i(o),s={x:r.x-u.x,y:r.y-u.y},c=e.offsetWidth,l=e.offsetHeight,d=n.anchorX,v=n.anchorY,h=_f(i,t,c,l),b=h.dragPreviewWidth,_=h.dragPreviewHeight,S=function(){var y=new Ma([0,.5,1],[s.y,s.y/l*_,s.y+_-l]),w=y.interpolate(v);return mi()&&i&&(w+=(window.devicePixelRatio-1)*_),w},O=function(){var y=new Ma([0,.5,1],[s.x,s.x/c*b,s.x+b-c]);return y.interpolate(d)},p=a.offsetX,m=a.offsetY,f=p===0||p,T=m===0||m;return{x:f?p:O(),y:T?m:S()}}var Di="__NATIVE_FILE__",Si="__NATIVE_URL__",Oi="__NATIVE_TEXT__";const sr=Object.freeze(Object.defineProperty({__proto__:null,FILE:Di,TEXT:Oi,URL:Si},Symbol.toStringTag,{value:"Module"}));function ja(e,t,r){var n=t.reduce(function(a,i){return a||e.getData(i)},"");return n??r}var L;function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var cr=(L={},rr(L,Di,{exposeProperties:{files:function(t){return Array.prototype.slice.call(t.files)},items:function(t){return t.items}},matchesTypes:["Files"]}),rr(L,Si,{exposeProperties:{urls:function(t,r){return ja(t,r,"").split(`
12
- `)}},matchesTypes:["Url","text/uri-list"]}),rr(L,Oi,{exposeProperties:{text:function(t,r){return ja(t,r,"")}},matchesTypes:["Text","text/plain"]}),L);function Sf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tf(e,t,r){return t&&Of(e.prototype,t),e}var Cf=function(){function e(t){Sf(this,e),this.config=t,this.item={},this.initializeExposedProperties()}return Tf(e,[{key:"initializeExposedProperties",value:function(){var r=this;Object.keys(this.config.exposeProperties).forEach(function(n){Object.defineProperty(r.item,n,{configurable:!0,enumerable:!0,get:function(){return console.warn(`Browser doesn't allow reading "`.concat(n,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(r){var n=this;if(r){var a={};Object.keys(this.config.exposeProperties).forEach(function(i){a[i]={value:n.config.exposeProperties[i](r,n.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,a)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(r,n){return n===r.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();function If(e,t){var r=new Cf(cr[e]);return r.loadDataTransfer(t),r}function xa(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(cr).filter(function(r){var n=cr[r].matchesTypes;return n.some(function(a){return t.indexOf(a)>-1})})[0]||null}function wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pf(e,t,r){return t&&Ef(e.prototype,t),e}var Af=function(){function e(t){wf(this,e),this.globalContext=t}return Pf(e,[{key:"window",get:function(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}},{key:"document",get:function(){if(this.window)return this.window.document}}]),e}();function Na(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function $a(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Na(Object(r),!0).forEach(function(n){Rf(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Na(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mf(e,t,r){return t&&qf(e.prototype,t),e}var jf=function(){function e(t,r){var n=this;kf(this,e),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.getSourceClientOffset=function(a){var i=n.sourceNodes.get(a);return i&&_i(i)||null},this.endDragNativeItem=function(){n.isDraggingNativeItem()&&(n.actions.endDrag(),n.currentNativeHandle&&n.registry.removeSource(n.currentNativeHandle),n.currentNativeHandle=null,n.currentNativeSource=null)},this.isNodeInDocument=function(a){return!!(a&&n.document&&n.document.body&&document.body.contains(a))},this.endDragIfSourceWasRemovedFromDOM=function(){var a=n.currentDragSourceNode;n.isNodeInDocument(a)||n.clearCurrentDragSourceNode()&&n.actions.endDrag()},this.handleTopDragStartCapture=function(){n.clearCurrentDragSourceNode(),n.dragStartSourceIds=[]},this.handleTopDragStart=function(a){if(!a.defaultPrevented){var i=n.dragStartSourceIds;n.dragStartSourceIds=null;var o=z(a);n.monitor.isDragging()&&n.actions.endDrag(),n.actions.beginDrag(i||[],{publishSource:!1,getSourceClientOffset:n.getSourceClientOffset,clientOffset:o});var u=a.dataTransfer,s=xa(u);if(n.monitor.isDragging()){if(u&&typeof u.setDragImage=="function"){var c=n.monitor.getSourceId(),l=n.sourceNodes.get(c),d=n.sourcePreviewNodes.get(c)||l;if(d){var v=n.getCurrentSourcePreviewNodeOptions(),h=v.anchorX,b=v.anchorY,_=v.offsetX,S=v.offsetY,O={anchorX:h,anchorY:b},p={offsetX:_,offsetY:S},m=Df(l,d,o,O,p);u.setDragImage(d,m.x,m.y)}}try{u?.setData("application/json",{})}catch{}n.setCurrentDragSourceNode(a.target);var f=n.getCurrentSourcePreviewNodeOptions(),T=f.captureDraggingState;T?n.actions.publishDragSource():setTimeout(function(){return n.actions.publishDragSource()},0)}else if(s)n.beginDragNativeItem(s);else{if(u&&!u.types&&(a.target&&!a.target.hasAttribute||!a.target.hasAttribute("draggable")))return;a.preventDefault()}}},this.handleTopDragEndCapture=function(){n.clearCurrentDragSourceNode()&&n.actions.endDrag()},this.handleTopDragEnterCapture=function(a){n.dragEnterTargetIds=[];var i=n.enterLeaveCounter.enter(a.target);if(!(!i||n.monitor.isDragging())){var o=a.dataTransfer,u=xa(o);u&&n.beginDragNativeItem(u,o)}},this.handleTopDragEnter=function(a){var i=n.dragEnterTargetIds;if(n.dragEnterTargetIds=[],!!n.monitor.isDragging()){n.altKeyPressed=a.altKey,bi()||n.actions.hover(i,{clientOffset:z(a)});var o=i.some(function(u){return n.monitor.canDropOnTarget(u)});o&&(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect=n.getCurrentDropEffect()))}},this.handleTopDragOverCapture=function(){n.dragOverTargetIds=[]},this.handleTopDragOver=function(a){var i=n.dragOverTargetIds;if(n.dragOverTargetIds=[],!n.monitor.isDragging()){a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="none");return}n.altKeyPressed=a.altKey,n.actions.hover(i||[],{clientOffset:z(a)});var o=(i||[]).some(function(u){return n.monitor.canDropOnTarget(u)});o?(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect=n.getCurrentDropEffect())):n.isDraggingNativeItem()?a.preventDefault():(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=function(a){n.isDraggingNativeItem()&&a.preventDefault();var i=n.enterLeaveCounter.leave(a.target);i&&n.isDraggingNativeItem()&&n.endDragNativeItem()},this.handleTopDropCapture=function(a){if(n.dropTargetIds=[],a.preventDefault(),n.isDraggingNativeItem()){var i;(i=n.currentNativeSource)===null||i===void 0||i.loadDataTransfer(a.dataTransfer)}n.enterLeaveCounter.reset()},this.handleTopDrop=function(a){var i=n.dropTargetIds;n.dropTargetIds=[],n.actions.hover(i,{clientOffset:z(a)}),n.actions.drop({dropEffect:n.getCurrentDropEffect()}),n.isDraggingNativeItem()?n.endDragNativeItem():n.endDragIfSourceWasRemovedFromDOM()},this.handleSelectStart=function(a){var i=a.target;typeof i.dragDrop=="function"&&(i.tagName==="INPUT"||i.tagName==="SELECT"||i.tagName==="TEXTAREA"||i.isContentEditable||(a.preventDefault(),i.dragDrop()))},this.options=new Af(r),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new hf(this.isNodeInDocument)}return Mf(e,[{key:"profile",value:function(){var r,n;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((r=this.dragStartSourceIds)===null||r===void 0?void 0:r.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((n=this.dragOverTargetIds)===null||n===void 0?void 0:n.length)||0}}},{key:"setup",value:function(){if(this.window!==void 0){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){this.window!==void 0&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"connectDragPreview",value:function(r,n,a){var i=this;return this.sourcePreviewNodeOptions.set(r,a),this.sourcePreviewNodes.set(r,n),function(){i.sourcePreviewNodes.delete(r),i.sourcePreviewNodeOptions.delete(r)}}},{key:"connectDragSource",value:function(r,n,a){var i=this;this.sourceNodes.set(r,n),this.sourceNodeOptions.set(r,a);var o=function(c){return i.handleDragStart(c,r)},u=function(c){return i.handleSelectStart(c)};return n.setAttribute("draggable","true"),n.addEventListener("dragstart",o),n.addEventListener("selectstart",u),function(){i.sourceNodes.delete(r),i.sourceNodeOptions.delete(r),n.removeEventListener("dragstart",o),n.removeEventListener("selectstart",u),n.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(r,n){var a=this,i=function(c){return a.handleDragEnter(c,r)},o=function(c){return a.handleDragOver(c,r)},u=function(c){return a.handleDrop(c,r)};return n.addEventListener("dragenter",i),n.addEventListener("dragover",o),n.addEventListener("drop",u),function(){n.removeEventListener("dragenter",i),n.removeEventListener("dragover",o),n.removeEventListener("drop",u)}}},{key:"addEventListeners",value:function(r){r.addEventListener&&(r.addEventListener("dragstart",this.handleTopDragStart),r.addEventListener("dragstart",this.handleTopDragStartCapture,!0),r.addEventListener("dragend",this.handleTopDragEndCapture,!0),r.addEventListener("dragenter",this.handleTopDragEnter),r.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.addEventListener("dragover",this.handleTopDragOver),r.addEventListener("dragover",this.handleTopDragOverCapture,!0),r.addEventListener("drop",this.handleTopDrop),r.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(r){r.removeEventListener&&(r.removeEventListener("dragstart",this.handleTopDragStart),r.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),r.removeEventListener("dragend",this.handleTopDragEndCapture,!0),r.removeEventListener("dragenter",this.handleTopDragEnter),r.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.removeEventListener("dragover",this.handleTopDragOver),r.removeEventListener("dragover",this.handleTopDragOverCapture,!0),r.removeEventListener("drop",this.handleTopDrop),r.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var r=this.monitor.getSourceId(),n=this.sourceNodeOptions.get(r);return $a({dropEffect:this.altKeyPressed?"copy":"move"},n||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var r=this.monitor.getSourceId(),n=this.sourcePreviewNodeOptions.get(r);return $a({anchorX:.5,anchorY:.5,captureDraggingState:!1},n||{})}},{key:"isDraggingNativeItem",value:function(){var r=this.monitor.getItemType();return Object.keys(sr).some(function(n){return sr[n]===r})}},{key:"beginDragNativeItem",value:function(r,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=If(r,n),this.currentNativeHandle=this.registry.addSource(r,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(r){var n=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=r;var a=1e3;this.mouseMoveTimeoutTimer=setTimeout(function(){return n.window&&n.window.addEventListener("mousemove",n.endDragIfSourceWasRemovedFromDOM,!0)},a)}},{key:"clearCurrentDragSourceNode",value:function(){return this.currentDragSourceNode?(this.currentDragSourceNode=null,this.window&&(this.window.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0):!1}},{key:"handleDragStart",value:function(r,n){r.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(n))}},{key:"handleDragEnter",value:function(r,n){this.dragEnterTargetIds.unshift(n)}},{key:"handleDragOver",value:function(r,n){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(n)}},{key:"handleDrop",value:function(r,n){this.dropTargetIds.unshift(n)}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}}]),e}(),V;function xf(){return V||(V=new Image,V.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),V}var Nf=function(t,r){return new jf(t,r)};const Ff=Object.freeze(Object.defineProperty({__proto__:null,HTML5Backend:Nf,NativeTypes:sr,getEmptyImage:xf},Symbol.toStringTag,{value:"Module"}));export{ao as A,oo as B,za as C,Ga as D,Va as E,Ff as F,Hf as G,Uf as H,vc as I,Ys as J,ri as K,Nf as L,K as M,Bc as N,Jc as O,Ha as a,yo as b,Fa as c,lo as d,fo as e,po as f,j as g,_o as h,go as i,mo as j,Do as k,So as l,Po as m,fr as n,Eo as o,de as p,co as q,N as r,so as s,to as t,Oo as u,Wa as v,dr as w,Ho as x,ce as y,Ba as z};
11
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ec(e,t){if(e){if(typeof e=="string")return Ra(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ra(e,t)}}function Ra(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Pc(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(s){a=!0,i=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Ac(e){if(Array.isArray(e))return e}function Rc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qc(e,t,r){return t&&kc(e.prototype,t),e}function Mc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&or(e,t)}function or(e,t){return or=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},or(e,t)}function jc(e){var t=$c();return function(){var n=ie(e),a;if(t){var i=ie(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return xc(this,a)}}function xc(e,t){return t&&(te(t)==="object"||typeof t=="function")?t:Nc(e)}function Nc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $c(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ie(e)}function pi(e){var t=e.DecoratedComponent,r=e.createHandler,n=e.createMonitor,a=e.createConnector,i=e.registerHandler,o=e.containerDisplayName,u=e.getType,s=e.collect,c=e.options,l=c.arePropsEqual,d=l===void 0?q:l,v=t,h=t.displayName||t.name||"Component",b=function(){var _=function(S){Mc(p,S);var O=jc(p);function p(m){var f;return Rc(this,p),f=O.call(this,m),f.decoratedRef=C.createRef(),f.handleChange=function(){var T=f.getCurrentState();q(T,f.state)||f.setState(T)},f.disposable=new Aa,f.receiveProps(m),f.dispose(),f}return qc(p,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return g(this.decoratedRef.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.decoratedRef.current}},{key:"shouldComponentUpdate",value:function(f,T){return!d(f,this.props)||!q(T,this.state)}},{key:"componentDidMount",value:function(){this.disposable=new Aa,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()}},{key:"componentDidUpdate",value:function(f){d(this.props,f)||(this.receiveProps(this.props),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"receiveProps",value:function(f){this.handler&&(this.handler.receiveProps(f),this.receiveType(u(f)))}},{key:"receiveType",value:function(f){if(!(!this.handlerMonitor||!this.manager||!this.handlerConnector)&&f!==this.currentType){this.currentType=f;var T=i(f,this.handler,this.manager),D=Ic(T,2),y=D[0],w=D[1];this.handlerId=y,this.handlerMonitor.receiveHandlerId(y),this.handlerConnector.receiveHandlerId(y);var E=this.manager.getMonitor(),P=E.subscribeToStateChange(this.handleChange,{handlerIds:[y]});this.disposable.setDisposable(new Cc(new Pa(P),new Pa(w)))}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector&&this.handlerConnector.receiveHandlerId(null)}},{key:"getCurrentState",value:function(){if(!this.handlerConnector)return{};var f=s(this.handlerConnector.hooks,this.handlerMonitor,this.props);return f}},{key:"render",value:function(){var f=this;return C.createElement(B.Consumer,null,function(T){var D=T.dragDropManager;return f.receiveDragDropManager(D),typeof requestAnimationFrame<"u"&&requestAnimationFrame(function(){var y;return(y=f.handlerConnector)===null||y===void 0?void 0:y.reconnect()}),C.createElement(v,Object.assign({},f.props,f.getCurrentState(),{ref:vi(v)?f.decoratedRef:null}))})}},{key:"receiveDragDropManager",value:function(f){this.manager===void 0&&(g(f!==void 0,"Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",h,h),f!==void 0&&(this.manager=f,this.handlerMonitor=n(f),this.handlerConnector=a(f.getBackend()),this.handler=r(this.handlerMonitor,this.decoratedRef)))}}]),p}(C.Component);return _.DecoratedComponent=t,_.displayName="".concat(o,"(").concat(h,")"),_}();return La(b,t)}function re(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(r){return typeof r}:re=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},re(e)}function Dr(e,t){return typeof e=="string"||re(e)==="symbol"||!!t&&Array.isArray(e)&&e.every(function(r){return Dr(r,!1)})}function Lc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uc(e,t,r){return t&&Hc(e.prototype,t),e}var ka=["canDrag","beginDrag","isDragging","endDrag"],Fc=["beginDrag"],Gc=function(){function e(t,r,n){var a=this;Lc(this,e),this.props=null,this.beginDrag=function(){if(a.props){var i=a.spec.beginDrag(a.props,a.monitor,a.ref.current);return i}},this.spec=t,this.monitor=r,this.ref=n}return Uc(e,[{key:"receiveProps",value:function(r){this.props=r}},{key:"canDrag",value:function(){return this.props?this.spec.canDrag?this.spec.canDrag(this.props,this.monitor):!0:!1}},{key:"isDragging",value:function(r,n){return this.props?this.spec.isDragging?this.spec.isDragging(this.props,this.monitor):n===r.getSourceId():!1}},{key:"endDrag",value:function(){this.props&&this.spec.endDrag&&this.spec.endDrag(this.props,this.monitor,hi(this.ref))}}]),e}();function Bc(e){return Object.keys(e).forEach(function(t){g(ka.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',ka.join(", "),t),g(typeof e[t]=="function","Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])}),Fc.forEach(function(t){g(typeof e[t]=="function","Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])}),function(r,n){return new Gc(e,r,n)}}function Kc(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=e;typeof e!="function"&&(g(Dr(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',e),a=function(){return e}),g(G(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',t);var i=Bc(t);return g(typeof r=="function",'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',r),g(G(n),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',r),function(u){return pi({containerDisplayName:"DragSource",createHandler:i,registerHandler:si,createConnector:function(c){return new li(c)},createMonitor:function(c){return new ci(c)},DecoratedComponent:u,getType:a,collect:r,options:n})}}function Wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vc(e,t,r){return t&&zc(e.prototype,t),e}var qa=["canDrop","hover","drop"],Xc=function(){function e(t,r,n){Wc(this,e),this.props=null,this.spec=t,this.monitor=r,this.ref=n}return Vc(e,[{key:"receiveProps",value:function(r){this.props=r}},{key:"receiveMonitor",value:function(r){this.monitor=r}},{key:"canDrop",value:function(){return this.spec.canDrop?this.spec.canDrop(this.props,this.monitor):!0}},{key:"hover",value:function(){!this.spec.hover||!this.props||this.spec.hover(this.props,this.monitor,hi(this.ref))}},{key:"drop",value:function(){if(this.spec.drop){var r=this.spec.drop(this.props,this.monitor,this.ref.current);return r}}}]),e}();function Yc(e){return Object.keys(e).forEach(function(t){g(qa.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',qa.join(", "),t),g(typeof e[t]=="function","Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target",t,t,e[t])}),function(r,n){return new Xc(e,r,n)}}function Jc(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=e;typeof e!="function"&&(g(Dr(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',e),a=function(){return e}),g(G(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',t);var i=Yc(t);return g(typeof r=="function",'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',r),g(G(n),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',r),function(u){return pi({containerDisplayName:"DropTarget",createHandler:i,registerHandler:ui,createMonitor:function(c){return new gi(c)},createConnector:function(c){return new di(c)},DecoratedComponent:u,getType:a,collect:r,options:n})}}function F(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?F=function(r){return typeof r}:F=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},F(e)}function Qc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ef(e,t,r){return t&&Zc(e.prototype,t),e}function tf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ur(e,t)}function ur(e,t){return ur=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},ur(e,t)}function rf(e){var t=of();return function(){var n=oe(e),a;if(t){var i=oe(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return nf(this,a)}}function nf(e,t){return t&&(F(t)==="object"||typeof t=="function")?t:af(e)}function af(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function of(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oe(e)}function uf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g(typeof e=="function",'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer",e),g(G(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer',t),function(n){var a=n,i=t.arePropsEqual,o=i===void 0?q:i,u=a.displayName||a.name||"Component",s=function(){var c=function(l){tf(v,l);var d=rf(v);function v(){var h;return Qc(this,v),h=d.apply(this,arguments),h.isCurrentlyMounted=!1,h.ref=C.createRef(),h.handleChange=function(){if(h.isCurrentlyMounted){var b=h.getCurrentState();q(b,h.state)||h.setState(b)}},h}return ef(v,[{key:"getDecoratedComponentInstance",value:function(){return g(this.ref.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.ref.current}},{key:"shouldComponentUpdate",value:function(b,_){return!o(b,this.props)||!q(_,this.state)}},{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)}},{key:"render",value:function(){var b=this;return C.createElement(B.Consumer,null,function(_){var S=_.dragDropManager;return S===void 0||(b.receiveDragDropManager(S),!b.isCurrentlyMounted)?null:C.createElement(a,Object.assign({},b.props,b.state,{ref:vi(a)?b.ref:null}))})}},{key:"receiveDragDropManager",value:function(b){if(this.manager===void 0){this.manager=b,g(F(b)==="object","Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",u,u);var _=this.manager.getMonitor();this.unsubscribeFromOffsetChange=_.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=_.subscribeToStateChange(this.handleChange)}}},{key:"getCurrentState",value:function(){if(!this.manager)return{};var b=this.manager.getMonitor();return e(b,this.props)}}]),v}(C.Component);return c.displayName="DragLayer(".concat(u,")"),c.DecoratedComponent=n,c}();return La(s,n)}}const sf=Object.freeze(Object.defineProperty({__proto__:null,DndContext:B,DndProvider:ri,DragLayer:uf,DragPreviewImage:ai,DragSource:Kc,DropTarget:Jc,createDndContext:ti,useDrag:Ys,useDragDropManager:$,useDragLayer:Dc,useDrop:vc},Symbol.toStringTag,{value:"Module"})),Uf=Ci(sf);function yi(e){var t=null,r=function(){return t==null&&(t=e()),t};return r}function cf(e,t){return e.filter(function(r){return r!==t})}function ff(e,t){var r=new Set,n=function(o){return r.add(o)};e.forEach(n),t.forEach(n);var a=[];return r.forEach(function(i){return a.push(i)}),a}function lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gf(e,t,r){return t&&df(e.prototype,t),e}var hf=function(){function e(t){lf(this,e),this.entered=[],this.isNodeInDocument=t}return gf(e,[{key:"enter",value:function(r){var n=this,a=this.entered.length,i=function(u){return n.isNodeInDocument(u)&&(!u.contains||u.contains(r))};return this.entered=ff(this.entered.filter(i),[r]),a===0&&this.entered.length>0}},{key:"leave",value:function(r){var n=this.entered.length;return this.entered=cf(this.entered.filter(this.isNodeInDocument),r),n>0&&this.entered.length===0}},{key:"reset",value:function(){this.entered=[]}}]),e}(),bi=yi(function(){return/firefox/i.test(navigator.userAgent)}),mi=yi(function(){return!!window.safari});function vf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yf(e,t,r){return t&&pf(e.prototype,t),e}var Ma=function(){function e(t,r){vf(this,e);for(var n=t.length,a=[],i=0;i<n;i++)a.push(i);a.sort(function(w,E){return t[w]<t[E]?-1:1});for(var o=[],u=[],s,c,l=0;l<n-1;l++)s=t[l+1]-t[l],c=r[l+1]-r[l],o.push(s),u.push(c/s);for(var d=[u[0]],v=0;v<o.length-1;v++){var h=u[v],b=u[v+1];if(h*b<=0)d.push(0);else{s=o[v];var _=o[v+1],S=s+_;d.push(3*S/((S+_)/h+(S+s)/b))}}d.push(u[u.length-1]);for(var O=[],p=[],m,f=0;f<d.length-1;f++){m=u[f];var T=d[f],D=1/o[f],y=T+d[f+1]-m-m;O.push((m-T-y)*D),p.push(y*D*D)}this.xs=t,this.ys=r,this.c1s=d,this.c2s=O,this.c3s=p}return yf(e,[{key:"interpolate",value:function(r){var n=this.xs,a=this.ys,i=this.c1s,o=this.c2s,u=this.c3s,s=n.length-1;if(r===n[s])return a[s];for(var c=0,l=u.length-1,d;c<=l;){d=Math.floor(.5*(c+l));var v=n[d];if(v<r)c=d+1;else if(v>r)l=d-1;else return a[d]}s=Math.max(0,l);var h=r-n[s],b=h*h;return a[s]+i[s]*h+o[s]*b+u[s]*h*b}}]),e}(),bf=1;function _i(e){var t=e.nodeType===bf?e:e.parentElement;if(!t)return null;var r=t.getBoundingClientRect(),n=r.top,a=r.left;return{x:a,y:n}}function z(e){return{x:e.clientX,y:e.clientY}}function mf(e){var t;return e.nodeName==="IMG"&&(bi()||!(!((t=document.documentElement)===null||t===void 0)&&t.contains(e)))}function _f(e,t,r,n){var a=e?t.width:r,i=e?t.height:n;return mi()&&e&&(i/=window.devicePixelRatio,a/=window.devicePixelRatio),{dragPreviewWidth:a,dragPreviewHeight:i}}function Df(e,t,r,n,a){var i=mf(t),o=i?e:t,u=_i(o),s={x:r.x-u.x,y:r.y-u.y},c=e.offsetWidth,l=e.offsetHeight,d=n.anchorX,v=n.anchorY,h=_f(i,t,c,l),b=h.dragPreviewWidth,_=h.dragPreviewHeight,S=function(){var y=new Ma([0,.5,1],[s.y,s.y/l*_,s.y+_-l]),w=y.interpolate(v);return mi()&&i&&(w+=(window.devicePixelRatio-1)*_),w},O=function(){var y=new Ma([0,.5,1],[s.x,s.x/c*b,s.x+b-c]);return y.interpolate(d)},p=a.offsetX,m=a.offsetY,f=p===0||p,T=m===0||m;return{x:f?p:O(),y:T?m:S()}}var Di="__NATIVE_FILE__",Si="__NATIVE_URL__",Oi="__NATIVE_TEXT__";const sr=Object.freeze(Object.defineProperty({__proto__:null,FILE:Di,TEXT:Oi,URL:Si},Symbol.toStringTag,{value:"Module"}));function ja(e,t,r){var n=t.reduce(function(a,i){return a||e.getData(i)},"");return n??r}var L;function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var cr=(L={},rr(L,Di,{exposeProperties:{files:function(t){return Array.prototype.slice.call(t.files)},items:function(t){return t.items}},matchesTypes:["Files"]}),rr(L,Si,{exposeProperties:{urls:function(t,r){return ja(t,r,"").split(`
12
+ `)}},matchesTypes:["Url","text/uri-list"]}),rr(L,Oi,{exposeProperties:{text:function(t,r){return ja(t,r,"")}},matchesTypes:["Text","text/plain"]}),L);function Sf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tf(e,t,r){return t&&Of(e.prototype,t),e}var Cf=function(){function e(t){Sf(this,e),this.config=t,this.item={},this.initializeExposedProperties()}return Tf(e,[{key:"initializeExposedProperties",value:function(){var r=this;Object.keys(this.config.exposeProperties).forEach(function(n){Object.defineProperty(r.item,n,{configurable:!0,enumerable:!0,get:function(){return console.warn(`Browser doesn't allow reading "`.concat(n,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(r){var n=this;if(r){var a={};Object.keys(this.config.exposeProperties).forEach(function(i){a[i]={value:n.config.exposeProperties[i](r,n.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,a)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(r,n){return n===r.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();function If(e,t){var r=new Cf(cr[e]);return r.loadDataTransfer(t),r}function xa(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(cr).filter(function(r){var n=cr[r].matchesTypes;return n.some(function(a){return t.indexOf(a)>-1})})[0]||null}function wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pf(e,t,r){return t&&Ef(e.prototype,t),e}var Af=function(){function e(t){wf(this,e),this.globalContext=t}return Pf(e,[{key:"window",get:function(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}},{key:"document",get:function(){if(this.window)return this.window.document}}]),e}();function Na(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function $a(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Na(Object(r),!0).forEach(function(n){Rf(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Na(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mf(e,t,r){return t&&qf(e.prototype,t),e}var jf=function(){function e(t,r){var n=this;kf(this,e),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.getSourceClientOffset=function(a){var i=n.sourceNodes.get(a);return i&&_i(i)||null},this.endDragNativeItem=function(){n.isDraggingNativeItem()&&(n.actions.endDrag(),n.currentNativeHandle&&n.registry.removeSource(n.currentNativeHandle),n.currentNativeHandle=null,n.currentNativeSource=null)},this.isNodeInDocument=function(a){return!!(a&&n.document&&n.document.body&&document.body.contains(a))},this.endDragIfSourceWasRemovedFromDOM=function(){var a=n.currentDragSourceNode;n.isNodeInDocument(a)||n.clearCurrentDragSourceNode()&&n.actions.endDrag()},this.handleTopDragStartCapture=function(){n.clearCurrentDragSourceNode(),n.dragStartSourceIds=[]},this.handleTopDragStart=function(a){if(!a.defaultPrevented){var i=n.dragStartSourceIds;n.dragStartSourceIds=null;var o=z(a);n.monitor.isDragging()&&n.actions.endDrag(),n.actions.beginDrag(i||[],{publishSource:!1,getSourceClientOffset:n.getSourceClientOffset,clientOffset:o});var u=a.dataTransfer,s=xa(u);if(n.monitor.isDragging()){if(u&&typeof u.setDragImage=="function"){var c=n.monitor.getSourceId(),l=n.sourceNodes.get(c),d=n.sourcePreviewNodes.get(c)||l;if(d){var v=n.getCurrentSourcePreviewNodeOptions(),h=v.anchorX,b=v.anchorY,_=v.offsetX,S=v.offsetY,O={anchorX:h,anchorY:b},p={offsetX:_,offsetY:S},m=Df(l,d,o,O,p);u.setDragImage(d,m.x,m.y)}}try{u?.setData("application/json",{})}catch{}n.setCurrentDragSourceNode(a.target);var f=n.getCurrentSourcePreviewNodeOptions(),T=f.captureDraggingState;T?n.actions.publishDragSource():setTimeout(function(){return n.actions.publishDragSource()},0)}else if(s)n.beginDragNativeItem(s);else{if(u&&!u.types&&(a.target&&!a.target.hasAttribute||!a.target.hasAttribute("draggable")))return;a.preventDefault()}}},this.handleTopDragEndCapture=function(){n.clearCurrentDragSourceNode()&&n.actions.endDrag()},this.handleTopDragEnterCapture=function(a){n.dragEnterTargetIds=[];var i=n.enterLeaveCounter.enter(a.target);if(!(!i||n.monitor.isDragging())){var o=a.dataTransfer,u=xa(o);u&&n.beginDragNativeItem(u,o)}},this.handleTopDragEnter=function(a){var i=n.dragEnterTargetIds;if(n.dragEnterTargetIds=[],!!n.monitor.isDragging()){n.altKeyPressed=a.altKey,bi()||n.actions.hover(i,{clientOffset:z(a)});var o=i.some(function(u){return n.monitor.canDropOnTarget(u)});o&&(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect=n.getCurrentDropEffect()))}},this.handleTopDragOverCapture=function(){n.dragOverTargetIds=[]},this.handleTopDragOver=function(a){var i=n.dragOverTargetIds;if(n.dragOverTargetIds=[],!n.monitor.isDragging()){a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="none");return}n.altKeyPressed=a.altKey,n.actions.hover(i||[],{clientOffset:z(a)});var o=(i||[]).some(function(u){return n.monitor.canDropOnTarget(u)});o?(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect=n.getCurrentDropEffect())):n.isDraggingNativeItem()?a.preventDefault():(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=function(a){n.isDraggingNativeItem()&&a.preventDefault();var i=n.enterLeaveCounter.leave(a.target);i&&n.isDraggingNativeItem()&&n.endDragNativeItem()},this.handleTopDropCapture=function(a){if(n.dropTargetIds=[],a.preventDefault(),n.isDraggingNativeItem()){var i;(i=n.currentNativeSource)===null||i===void 0||i.loadDataTransfer(a.dataTransfer)}n.enterLeaveCounter.reset()},this.handleTopDrop=function(a){var i=n.dropTargetIds;n.dropTargetIds=[],n.actions.hover(i,{clientOffset:z(a)}),n.actions.drop({dropEffect:n.getCurrentDropEffect()}),n.isDraggingNativeItem()?n.endDragNativeItem():n.endDragIfSourceWasRemovedFromDOM()},this.handleSelectStart=function(a){var i=a.target;typeof i.dragDrop=="function"&&(i.tagName==="INPUT"||i.tagName==="SELECT"||i.tagName==="TEXTAREA"||i.isContentEditable||(a.preventDefault(),i.dragDrop()))},this.options=new Af(r),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new hf(this.isNodeInDocument)}return Mf(e,[{key:"profile",value:function(){var r,n;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((r=this.dragStartSourceIds)===null||r===void 0?void 0:r.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((n=this.dragOverTargetIds)===null||n===void 0?void 0:n.length)||0}}},{key:"setup",value:function(){if(this.window!==void 0){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){this.window!==void 0&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"connectDragPreview",value:function(r,n,a){var i=this;return this.sourcePreviewNodeOptions.set(r,a),this.sourcePreviewNodes.set(r,n),function(){i.sourcePreviewNodes.delete(r),i.sourcePreviewNodeOptions.delete(r)}}},{key:"connectDragSource",value:function(r,n,a){var i=this;this.sourceNodes.set(r,n),this.sourceNodeOptions.set(r,a);var o=function(c){return i.handleDragStart(c,r)},u=function(c){return i.handleSelectStart(c)};return n.setAttribute("draggable","true"),n.addEventListener("dragstart",o),n.addEventListener("selectstart",u),function(){i.sourceNodes.delete(r),i.sourceNodeOptions.delete(r),n.removeEventListener("dragstart",o),n.removeEventListener("selectstart",u),n.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(r,n){var a=this,i=function(c){return a.handleDragEnter(c,r)},o=function(c){return a.handleDragOver(c,r)},u=function(c){return a.handleDrop(c,r)};return n.addEventListener("dragenter",i),n.addEventListener("dragover",o),n.addEventListener("drop",u),function(){n.removeEventListener("dragenter",i),n.removeEventListener("dragover",o),n.removeEventListener("drop",u)}}},{key:"addEventListeners",value:function(r){r.addEventListener&&(r.addEventListener("dragstart",this.handleTopDragStart),r.addEventListener("dragstart",this.handleTopDragStartCapture,!0),r.addEventListener("dragend",this.handleTopDragEndCapture,!0),r.addEventListener("dragenter",this.handleTopDragEnter),r.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.addEventListener("dragover",this.handleTopDragOver),r.addEventListener("dragover",this.handleTopDragOverCapture,!0),r.addEventListener("drop",this.handleTopDrop),r.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(r){r.removeEventListener&&(r.removeEventListener("dragstart",this.handleTopDragStart),r.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),r.removeEventListener("dragend",this.handleTopDragEndCapture,!0),r.removeEventListener("dragenter",this.handleTopDragEnter),r.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.removeEventListener("dragover",this.handleTopDragOver),r.removeEventListener("dragover",this.handleTopDragOverCapture,!0),r.removeEventListener("drop",this.handleTopDrop),r.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var r=this.monitor.getSourceId(),n=this.sourceNodeOptions.get(r);return $a({dropEffect:this.altKeyPressed?"copy":"move"},n||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var r=this.monitor.getSourceId(),n=this.sourcePreviewNodeOptions.get(r);return $a({anchorX:.5,anchorY:.5,captureDraggingState:!1},n||{})}},{key:"isDraggingNativeItem",value:function(){var r=this.monitor.getItemType();return Object.keys(sr).some(function(n){return sr[n]===r})}},{key:"beginDragNativeItem",value:function(r,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=If(r,n),this.currentNativeHandle=this.registry.addSource(r,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(r){var n=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=r;var a=1e3;this.mouseMoveTimeoutTimer=setTimeout(function(){return n.window&&n.window.addEventListener("mousemove",n.endDragIfSourceWasRemovedFromDOM,!0)},a)}},{key:"clearCurrentDragSourceNode",value:function(){return this.currentDragSourceNode?(this.currentDragSourceNode=null,this.window&&(this.window.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0):!1}},{key:"handleDragStart",value:function(r,n){r.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(n))}},{key:"handleDragEnter",value:function(r,n){this.dragEnterTargetIds.unshift(n)}},{key:"handleDragOver",value:function(r,n){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(n)}},{key:"handleDrop",value:function(r,n){this.dropTargetIds.unshift(n)}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}}]),e}(),V;function xf(){return V||(V=new Image,V.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),V}var Nf=function(t,r){return new jf(t,r)};const Ff=Object.freeze(Object.defineProperty({__proto__:null,HTML5Backend:Nf,NativeTypes:sr,getEmptyImage:xf},Symbol.toStringTag,{value:"Module"}));export{ao as A,oo as B,za as C,Ga as D,Va as E,Ff as F,Hf as G,Uf as H,vc as I,Ys as J,ri as K,Nf as L,B as M,Kc as N,Jc as O,Ha as a,yo as b,Fa as c,lo as d,fo as e,po as f,j as g,_o as h,go as i,mo as j,Do as k,So as l,Po as m,fr as n,Eo as o,de as p,co as q,N as r,so as s,to as t,Oo as u,Wa as v,dr as w,Ho as x,ce as y,Ka as z};
@@ -1 +1 @@
1
- import{bf as x}from"./index-Y-QvttbJ.js";function D(a,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const s in e)if(s!=="default"&&!(s in a)){const t=Object.getOwnPropertyDescriptor(e,s);t&&Object.defineProperty(a,s,t.get?t:{enumerable:!0,get:()=>e[s]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var l,w;function J(){if(w)return l;w=1;var a={default:l,call:function(i,r,e){var s="";typeof r=="function"&&(e=r,r={});var t={data:r===void 0?null:r};if(typeof e=="function"){var n="dscb"+window.dscb++;window[n]=e,t._dscbstub=n}return t=JSON.stringify(t),window._dsbridge?s=_dsbridge.call(i,t):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(s=prompt("_dsbridge="+i,t)),JSON.parse(s||"{}").data},register:function(i,r,e){var s=e?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){a.call("_dsb.dsinit")},0)),typeof r=="object"?s._obs[i]=r:s[i]=r},registerAsyn:function(i,r){this.register(i,r,!0)},hasNativeMethod:function(i,r){return this.call("_dsb.hasNativeMethod",{name:i,type:r||"all"})},disableJavascriptDialogBlock:function(i){this.call("_dsb.disableJavascriptDialogBlock",{disable:i!==!1})}};return function(){if(!window._dsf){var i={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:a,close:function(){a.call("_dsb.closePage")},_handleMessageFromNative:function(e){var s=JSON.parse(e.data),t={id:e.callbackId,complete:!0},n=this._dsf[e.method],o=this._dsaf[e.method],v=function(_,p){t.data=_.apply(p,s),a.call("_dsb.returnValue",t)},g=function(_,p){s.push(function(O,j){t.data=O,t.complete=j!==!1,a.call("_dsb.returnValue",t)}),_.apply(p,s)};if(n)v(n,this._dsf);else if(o)g(o,this._dsaf);else{var u=e.method.split(".");if(u.length<2)return;var b=u.pop(),h=u.join("."),c=this._dsf._obs,f=c[h]||{},d=f[b];if(d&&typeof d=="function"){v(d,f);return}if(c=this._dsaf._obs,f=c[h]||{},d=f[b],d&&typeof d=="function"){g(d,f);return}}}};for(var r in i)window[r]=i[r];a.register("_hasJavascriptMethod",function(e,s){var t=e.split(".");if(t.length<2)return!!(_dsf[t]||_dsaf[t]);var e=t.pop(),n=t.join("."),o=_dsf._obs[n]||_dsaf._obs[n];return o&&!!o[e]})}}(),l=a,l}var y=J();const N=x(y),k=D({__proto__:null,default:N},[y]);export{k as i};
1
+ import{be as x}from"./index-DtJVzdtH.js";function D(a,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const s in e)if(s!=="default"&&!(s in a)){const t=Object.getOwnPropertyDescriptor(e,s);t&&Object.defineProperty(a,s,t.get?t:{enumerable:!0,get:()=>e[s]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var l,w;function J(){if(w)return l;w=1;var a={default:l,call:function(i,r,e){var s="";typeof r=="function"&&(e=r,r={});var t={data:r===void 0?null:r};if(typeof e=="function"){var n="dscb"+window.dscb++;window[n]=e,t._dscbstub=n}return t=JSON.stringify(t),window._dsbridge?s=_dsbridge.call(i,t):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(s=prompt("_dsbridge="+i,t)),JSON.parse(s||"{}").data},register:function(i,r,e){var s=e?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){a.call("_dsb.dsinit")},0)),typeof r=="object"?s._obs[i]=r:s[i]=r},registerAsyn:function(i,r){this.register(i,r,!0)},hasNativeMethod:function(i,r){return this.call("_dsb.hasNativeMethod",{name:i,type:r||"all"})},disableJavascriptDialogBlock:function(i){this.call("_dsb.disableJavascriptDialogBlock",{disable:i!==!1})}};return function(){if(!window._dsf){var i={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:a,close:function(){a.call("_dsb.closePage")},_handleMessageFromNative:function(e){var s=JSON.parse(e.data),t={id:e.callbackId,complete:!0},n=this._dsf[e.method],o=this._dsaf[e.method],v=function(_,p){t.data=_.apply(p,s),a.call("_dsb.returnValue",t)},g=function(_,p){s.push(function(O,j){t.data=O,t.complete=j!==!1,a.call("_dsb.returnValue",t)}),_.apply(p,s)};if(n)v(n,this._dsf);else if(o)g(o,this._dsaf);else{var u=e.method.split(".");if(u.length<2)return;var b=u.pop(),h=u.join("."),c=this._dsf._obs,f=c[h]||{},d=f[b];if(d&&typeof d=="function"){v(d,f);return}if(c=this._dsaf._obs,f=c[h]||{},d=f[b],d&&typeof d=="function"){g(d,f);return}}}};for(var r in i)window[r]=i[r];a.register("_hasJavascriptMethod",function(e,s){var t=e.split(".");if(t.length<2)return!!(_dsf[t]||_dsaf[t]);var e=t.pop(),n=t.join("."),o=_dsf._obs[n]||_dsaf._obs[n];return o&&!!o[e]})}}(),l=a,l}var y=J();const N=x(y),k=D({__proto__:null,default:N},[y]);export{k as i};