@abtnode/webapp 1.16.30-beta-cd65989e → 1.16.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{Add-DcfqNj9w.js → Add-B6ZIiZST.js} +1 -1
  4. package/dist/assets/{ArrowDropDown-DYMMZRTO.js → ArrowDropDown-CTOfLnwc.js} +1 -1
  5. package/dist/assets/{Autocomplete-B3WY_LBb.js → Autocomplete-BRgMnZ52.js} +1 -1
  6. package/dist/assets/{Breadcrumbs-C3Ukk_Va.js → Breadcrumbs-s9U9zLgF.js} +1 -1
  7. package/dist/assets/{ButtonGroup-Dyh7V3R_.js → ButtonGroup-3w5LvaA0.js} +1 -1
  8. package/dist/assets/{CheckCircle-DFyRfRNK.js → CheckCircle-DE_y9vib.js} +1 -1
  9. package/dist/assets/{ChevronLeft-BP608n3q.js → ChevronLeft-CvWKad8W.js} +1 -1
  10. package/dist/assets/{ChevronRight-DXthvSJU.js → ChevronRight-93HrdGCM.js} +1 -1
  11. package/dist/assets/{Close-DRCHgHGm.js → Close-DzKkufzk.js} +1 -1
  12. package/dist/assets/{Delete-Db11NFpL.js → Delete-DFFe3xyW.js} +1 -1
  13. package/dist/assets/DeleteOutline-yYcRq6ni.js +1 -0
  14. package/dist/assets/{Done-8K83c718.js → Done-3-QQ_TOf.js} +1 -1
  15. package/dist/assets/{Edit-D7NzY4U7.js → Edit-wLc7o2cw.js} +1 -1
  16. package/dist/assets/{EditIcon-C7JFIq8b.js → EditIcon-BCVTD6hP.js} +1 -1
  17. package/dist/assets/{ExpandMore-DQZgaGQn.js → ExpandMore-CFYbzpsT.js} +1 -1
  18. package/dist/assets/{FilterList-FpqscjJw.js → FilterList-FEjK2Fox.js} +1 -1
  19. package/dist/assets/{Google-kRiNbyHh.js → Google-C9I0SVEJ.js} +1 -1
  20. package/dist/assets/{Https-s4r-e05W.js → Https-BPSFFlg6.js} +1 -1
  21. package/dist/assets/{InputAdornment-B5quKKO5.js → InputAdornment-DT4h3g9o.js} +1 -1
  22. package/dist/assets/{InputLabel-Dh6H4BIb.js → InputLabel-BOR0LpK5.js} +1 -1
  23. package/dist/assets/{LastPage-DT2e5BXx.js → LastPage-BmNCoOR7.js} +1 -1
  24. package/dist/assets/{Launch-cwgW1pSn.js → Launch-BN3gZaS3.js} +1 -1
  25. package/dist/assets/{Link-DEgDwuSo.js → Link-Dxx2K6Ua.js} +1 -1
  26. package/dist/assets/{LoadingButton-DDckTsBs.js → LoadingButton-DdNqcAhj.js} +1 -1
  27. package/dist/assets/{LockIcon-DuSbMAm7.js → LockIcon-BB4v3xDA.js} +1 -1
  28. package/dist/assets/{Loop-ZSIw_P5f.js → Loop-COqhNCYW.js} +1 -1
  29. package/dist/assets/{MoreHoriz-DAjkNEHz.js → MoreHoriz-IPlU_Vvy.js} +1 -1
  30. package/dist/assets/{MoreVert-BWsZ-BJo.js → MoreVert-C_-FQbwq.js} +1 -1
  31. package/dist/assets/{Pagination-BJP77u5l.js → Pagination-BfGbGnHW.js} +1 -1
  32. package/dist/assets/{Public-DDWrr2XN.js → Public-CcSZDx4-.js} +1 -1
  33. package/dist/assets/{SchemaReference.es-k9Z767eT.js → SchemaReference.es-DmaLWYOX.js} +1 -1
  34. package/dist/assets/{Search-SYh-6ZOz.js → Search-CjX0JQkS.js} +1 -1
  35. package/dist/assets/{Select-BLXgoX9k.js → Select-C44-YCyD.js} +1 -1
  36. package/dist/assets/{Skeleton-Dyu5Ax0I.js → Skeleton-4s7n7VqF.js} +1 -1
  37. package/dist/assets/{Slider-B0276czb.js → Slider-C0JALcDq.js} +1 -1
  38. package/dist/assets/{Stepper-CZPI8cC9.js → Stepper-BRwbb4LL.js} +1 -1
  39. package/dist/assets/{TextField-DwK_GXoo.js → TextField-BjNW7Bjw.js} +1 -1
  40. package/dist/assets/{ToggleButtonGroup-DYNoxLKb.js → ToggleButtonGroup-DtqIWzr-.js} +1 -1
  41. package/dist/assets/{ViewList-BuaOPxVQ.js → ViewList-CHj6lFwi.js} +1 -1
  42. package/dist/assets/actions-DGcLEhc9.js +11 -0
  43. package/dist/assets/{actions-CCXhc7Af.js → actions-TtrKwsqz.js} +1 -1
  44. package/dist/assets/{agreement-zGj-Qfxf.js → agreement-DXIl-xR_.js} +1 -1
  45. package/dist/assets/api-Rcl-3MyM.js +1 -0
  46. package/dist/assets/{app-avatar-CHPdyNGu.js → app-avatar-BvOjNwzf.js} +1 -1
  47. package/dist/assets/{audit-logs-D956eiA3.js → audit-logs-D4-Bez8p.js} +1 -1
  48. package/dist/assets/blocklet-d8bc_SQ4.js +1 -0
  49. package/dist/assets/{brace-fold.es-Ceo3WJ-_.js → brace-fold.es-B1LEOxqn.js} +1 -1
  50. package/dist/assets/{bundle-avatar-BmpkX0gn.js → bundle-avatar-CW4zHZR5.js} +1 -1
  51. package/dist/assets/{chart-C1MBEatU.js → chart-TIGkq42g.js} +1 -1
  52. package/dist/assets/{click-to-copy-BE3dtZl9.js → click-to-copy-ZbSHXJko.js} +1 -1
  53. package/dist/assets/{closebrackets.es-DRptbCUu.js → closebrackets.es-hz2Jou3O.js} +1 -1
  54. package/dist/assets/{codemirror.es-ZszZWF0R.js → codemirror.es-DRCfXk0r.js} +1 -1
  55. package/dist/assets/{comment.es-cnLgD8Uc.js → comment.es-BmnkGJwk.js} +1 -1
  56. package/dist/assets/{config-navigation-BOrH5Hvb.js → config-navigation-DS08ePOc.js} +1 -1
  57. package/dist/assets/{delete-confirm-DpRBeIKH.js → delete-confirm-CGv3y6py.js} +1 -1
  58. package/dist/assets/{detail-vJPrtqvp.js → detail-DmU03eC7.js} +3 -3
  59. package/dist/assets/{dialog.es-CfQUxsPX.js → dialog.es-CSYXNrcw.js} +1 -1
  60. package/dist/assets/{download-cFw_E2Hj.js → download-CAroNPKK.js} +1 -1
  61. package/dist/assets/{foldgutter.es-CgkrTV35.js → foldgutter.es-BSRJoBoZ.js} +1 -1
  62. package/dist/assets/getValidReactChildren-Y-QNoefA.js +1 -0
  63. package/dist/assets/{hint.es-eNWKZSbN.js → hint.es-DuHUgHT3.js} +1 -1
  64. package/dist/assets/{hint.es2-BhkzwSZo.js → hint.es2-CLzxOo96.js} +1 -1
  65. package/dist/assets/{iframe-BIwxy4ip.js → iframe-C3LtsJmK.js} +1 -1
  66. package/dist/assets/index-3tln4L6C.js +21 -0
  67. package/dist/assets/{index-CInfPT7W.js → index-8azRnZez.js} +1 -1
  68. package/dist/assets/{index-Dntt1eil.js → index-BApbAOLy.js} +1 -1
  69. package/dist/assets/{index-DMFar3I1.js → index-BN-HHDJJ.js} +1 -1
  70. package/dist/assets/{index-D1PLfduk.js → index-BQmNmoac.js} +1 -1
  71. package/dist/assets/{index-cvAtg-Od.js → index-BZCt88Kn.js} +14 -14
  72. package/dist/assets/{index-AgJrAiSK.js → index-BatYQHX2.js} +3 -3
  73. package/dist/assets/{index-BSMELOgI.js → index-BdL0EBBo.js} +1 -1
  74. package/dist/assets/{index-Bd4i9E1O.js → index-BfvNFce6.js} +1 -1
  75. package/dist/assets/{index-Dcdxfmgi.js → index-BrDzj3_R.js} +1 -1
  76. package/dist/assets/{index-Cd1cCAJE.js → index-C3UQMAkF.js} +1 -1
  77. package/dist/assets/{index-DBx2-m_Y.js → index-C3q33eZl.js} +1 -1
  78. package/dist/assets/{index-CrQS5iun.js → index-C4LMPu9u.js} +1 -1
  79. package/dist/assets/{index-BL7aEYjP.js → index-CJBZPdm6.js} +1 -1
  80. package/dist/assets/{index-ZSHqTs4i.js → index-CR_2MaC1.js} +1 -1
  81. package/dist/assets/{index-77OEIYM-.js → index-CUztA_gz.js} +1 -1
  82. package/dist/assets/{index-D3Cozcmh.js → index-CkbP6S_A.js} +1 -1
  83. package/dist/assets/{index-KJ30jnaf.js → index-Cmy0GHU-.js} +1 -1
  84. package/dist/assets/{index-Cw-_inHl.js → index-Ctog4pYE.js} +1 -1
  85. package/dist/assets/{index-D9Y3tfXV.js → index-CveYHk3t.js} +1 -1
  86. package/dist/assets/{index-bivCnspX.js → index-D0RT0rzU.js} +1 -1
  87. package/dist/assets/index-D53ihNsv.js +292 -0
  88. package/dist/assets/{index-NkzSJ_BT.js → index-D6q9zEjn.js} +5 -5
  89. package/dist/assets/{index-Dw1w1qL3.js → index-DQo_Dew3.js} +1 -1
  90. package/dist/assets/{index-Dqs8xtQE.js → index-DTSardYw.js} +1 -1
  91. package/dist/assets/{index-Dd6xY134.js → index-DfTYGL67.js} +3 -3
  92. package/dist/assets/index-DnLx-UdH.js +68 -0
  93. package/dist/assets/{index-DD1cWFOC.js → index-DpVeIVbC.js} +1 -1
  94. package/dist/assets/{index-BtBRSL1d.js → index-DrdqOXJL.js} +3 -3
  95. package/dist/assets/{index-wZRHPQoX.js → index-DtsnjFBd.js} +1 -1
  96. package/dist/assets/{index-C74bQC6L.js → index-Dy-ye0PE.js} +1 -1
  97. package/dist/assets/{index-Cwi3bFQC.js → index-DzlR4ROA.js} +4 -4
  98. package/dist/assets/{index-BkdBfB4w.js → index-EKqCJff8.js} +1 -1
  99. package/dist/assets/{index-Dp2GTeOn.js → index-RRgjvIfT.js} +1 -1
  100. package/dist/assets/{index-H_NjEuu9.js → index-RrRN76hq.js} +1 -1
  101. package/dist/assets/{index-C42qq7Ec.js → index-UbiaSDM9.js} +1 -1
  102. package/dist/assets/{index-DEPFtOhR.js → index-aiikLstk.js} +1 -1
  103. package/dist/assets/{index-B07CNOuw.js → index-ffNDefbl.js} +1 -1
  104. package/dist/assets/{index-Dpoqj6Jo.js → index-fiBRRSS-.js} +1 -1
  105. package/dist/assets/{index-BHeHy1vA.js → index-po1Du4Ca.js} +1 -1
  106. package/dist/assets/{index-D4xfc6Js.js → index-qSHb4AGp.js} +1 -1
  107. package/dist/assets/{index-BBKwIw61.js → index-sw48VBzs.js} +1 -1
  108. package/dist/assets/{index-Bq5tRfCd.js → index-vCyUMIWI.js} +1 -1
  109. package/dist/assets/{index-CRniQIuD.js → index-x2vTLzR6.js} +1 -1
  110. package/dist/assets/{index.es-tDltq_DZ.js → index.es-C2y5LgUg.js} +1 -1
  111. package/dist/assets/{index.esm-DhpdxP8T.js → index.esm-DNLYWMPY.js} +1 -1
  112. package/dist/assets/{info-addon.es-DMX0vTB2.js → info-addon.es-OU9D4WD4.js} +1 -1
  113. package/dist/assets/{info.es-C_it_PXd.js → info.es-BYpWwfiq.js} +1 -1
  114. package/dist/assets/{install-from-url-BCD5VkoR.js → install-from-url-BHRJMyoo.js} +1 -1
  115. package/dist/assets/{invitation-BumVTtN2.js → invitation-4BcBcG3g.js} +1 -1
  116. package/dist/assets/{is-path-prefix-equal-DubKYq2T.js → is-path-prefix-equal-QODAXh-c.js} +1 -1
  117. package/dist/assets/{isEqual-BkbmgPj_.js → isEqual-CFOAIOWs.js} +1 -1
  118. package/dist/assets/{item-DrPKfKmr.js → item-DinHwjuB.js} +1 -1
  119. package/dist/assets/{javascript.es-DMQy9e7V.js → javascript.es-BZ4hu16-.js} +1 -1
  120. package/dist/assets/{jump-to-line.es-CnkPzf5y.js → jump-to-line.es-ds6uZCNW.js} +1 -1
  121. package/dist/assets/{jump.es-C9HLQdHA.js → jump.es-Dow2EsmT.js} +1 -1
  122. package/dist/assets/{line-4lY_Qb2m.js → line-Cpeu8572.js} +3 -3
  123. package/dist/assets/{lint.es-C5Vl7JPf.js → lint.es-BumMccTK.js} +1 -1
  124. package/dist/assets/{lint.es2-Bm4ZHXqa.js → lint.es2-BzVHBAgd.js} +1 -1
  125. package/dist/assets/{lint.es3-BB9pBVnq.js → lint.es3-ziEStM1n.js} +1 -1
  126. package/dist/assets/{list-header-BCtVonO4.js → list-header-5GKfEIKg.js} +1 -1
  127. package/dist/assets/{log-wlfixqXj.js → log-BzeVufdm.js} +1 -1
  128. package/dist/assets/{lottie-iTUSD55o.js → lottie-Dittdj4N.js} +1 -1
  129. package/dist/assets/{matchbrackets.es-Bl0t_qCA.js → matchbrackets.es-DqPFoH1c.js} +1 -1
  130. package/dist/assets/{memory-wEAomQNC.js → memory-CVFS6lDi.js} +1 -1
  131. package/dist/assets/{mode.es-rKbkm8lU.js → mode.es-tUbE6Sz4.js} +1 -1
  132. package/dist/assets/{mode.es2-ytsRZP0t.js → mode.es2-DOWb3-oK.js} +1 -1
  133. package/dist/assets/{mode.es3-DfHDE8XK.js → mode.es3-BcjY2hx8.js} +1 -1
  134. package/dist/assets/{onlineParser.es-wDu05TUX.js → onlineParser.es-BdeAPFTn.js} +1 -1
  135. package/dist/assets/{overview-1N_1lpT0.js → overview-D7vbgmTw.js} +1 -1
  136. package/dist/assets/{react-B4m6RLMM.js → react-Dervdh0W.js} +16 -16
  137. package/dist/assets/{redux-CxE33JOf.js → redux-C4Q_CSvp.js} +1 -1
  138. package/dist/assets/{resource-dialog-C-7qKAQl.js → resource-dialog-Byph1CoJ.js} +1 -1
  139. package/dist/assets/{runtime-5KBAFD-g.js → runtime-7TSih23R.js} +1 -1
  140. package/dist/assets/{schema-B4kKlOTb.js → schema-Bq2ly-4o.js} +1 -1
  141. package/dist/assets/sdk-aTAcQDv-.js +1 -0
  142. package/dist/assets/{search.es-CQuNoVSc.js → search.es-CMLj29wb.js} +1 -1
  143. package/dist/assets/{searchcursor.es-Bbgmgmrg.js → searchcursor.es-eHb4SABv.js} +1 -1
  144. package/dist/assets/service-FolPIcUS.js +1 -0
  145. package/dist/assets/{shorten-label-C_WwZ4ZV.js → shorten-label-BSQEIROA.js} +1 -1
  146. package/dist/assets/{show-hint.es-tSocwxSB.js → show-hint.es-Bn3zEE4X.js} +1 -1
  147. package/dist/assets/{slicedToArray-CmalbWCs.js → slicedToArray-ROu8OO6l.js} +1 -1
  148. package/dist/assets/{spaces-1KfYd8Qs.js → spaces-CKLphlMZ.js} +1 -1
  149. package/dist/assets/{status-V0qJ0HIh.js → status-6F7XJ5dp.js} +1 -1
  150. package/dist/assets/{sublime.es-CLH5NL12.js → sublime.es-CYqGOBLs.js} +1 -1
  151. package/dist/assets/{switch-control-CdkyWsoc.js → switch-control-BxRwCbFm.js} +1 -1
  152. package/dist/assets/{table-icons-Baq11dUV.js → table-icons-BXeoVsYd.js} +2 -2
  153. package/dist/assets/{team-Cup7T2o5.js → team-nBwKhOsv.js} +1 -1
  154. package/dist/assets/{toUpper-Dy6OxPnp.js → toUpper-BBB_TInl.js} +1 -1
  155. package/dist/assets/{traffic-BL6WX1d5.js → traffic-BgMFjNc5.js} +1 -1
  156. package/dist/assets/{url-evaluation-DDt3hytj.js → url-evaluation-C7b_jErN.js} +1 -1
  157. package/dist/assets/{url-join-H8M29juk.js → url-join-LN7aIhdX.js} +1 -1
  158. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-Z2TSdCJw.js → use-blocklet-info-for-connect-did-spaces-Dw7UZ6Jz.js} +1 -1
  159. package/dist/assets/{useLocalStorage-6mPZ-rWo.js → useLocalStorage-F8gidp1W.js} +1 -1
  160. package/dist/assets/{useThemeProps-rDwpoqme.js → useThemeProps-CRpVKi5P.js} +1 -1
  161. package/dist/assets/{util-DThpIciT.js → util-DjDIVQpP.js} +1 -1
  162. package/dist/assets/{wait-container-DHDQHqIH.js → wait-container-fwTsXfbb.js} +1 -1
  163. package/dist/assets/{withStyles-CXCpzdMR.js → withStyles-unQnV9F2.js} +1 -1
  164. package/dist/assets/{wrap-locale-Kr9QT-Cb.js → wrap-locale-CCm3KObK.js} +1 -1
  165. package/dist/index.html +1 -1
  166. package/dist/service-worker.js +1 -1
  167. package/package.json +1 -1
  168. package/dist/assets/DeleteOutline-CZIY0Jkx.js +0 -1
  169. package/dist/assets/DeleteOutline-FodRCvrE.js +0 -1
  170. package/dist/assets/actions-CWKaEmCe.js +0 -11
  171. package/dist/assets/api-CG6YJvRD.js +0 -1
  172. package/dist/assets/blocklet-DsP8dvbD.js +0 -1
  173. package/dist/assets/getValidReactChildren-BAhSJfgG.js +0 -1
  174. package/dist/assets/index-BReI-Zee.js +0 -68
  175. package/dist/assets/index-FIMmdaZK.js +0 -21
  176. package/dist/assets/index-YpvJfazn.js +0 -292
  177. package/dist/assets/sdk-CV4QPi_Q.js +0 -1
  178. package/dist/assets/service-Bwn6NSxE.js +0 -1
@@ -1,4 +1,4 @@
1
- import{g as We,Y as Ge,n as P,Q as v,Z as Q,j as e,$ as ke,r as x,P as E,t as _,a0 as ue,a1 as be,q as C,a2 as se,a3 as He,E as M,M as K,a4 as qe,m as A,T as Ve,a5 as Ye,B,D as Qe,C as ve,x as Ke,K as Se,a6 as Je,a7 as Ze,a8 as Xe,u as I,f as et,a9 as W,v as te,F as tt,aa as oe,A as je,w as re,ab as st,W as ne,i as J,y as Ce,z as Z,ac as ot,ad as rt,ae as Pe,af as nt,b as D,ag as at,O as it,ah as lt,R as ct,J as Re,ai as dt,aj as pt,ak as Te,al as Ee,am as De,an as Be,ao as Ue,ap as N,aq as Oe,ar as _e,as as Fe,at as ht}from"./index-Cwi3bFQC.js";import{P as H,L as mt,A as ut,S as Ae,a as Le}from"./index-H_NjEuu9.js";import{A as ft,D as ae,u as xt,W as gt,P as wt,L as $e,d as Ne,a as Me}from"./wait-container-DHDQHqIH.js";import{_ as fe}from"./useLocalStorage-6mPZ-rWo.js";import{d as yt}from"./Launch-cwgW1pSn.js";import{D as kt}from"./DeleteOutline-CZIY0Jkx.js";import{g as bt,i as vt}from"./spaces-1KfYd8Qs.js";import{T as St}from"./TextField-DwK_GXoo.js";import{i as xe}from"./isEqual-BkbmgPj_.js";import{d as jt}from"./MoreVert-BWsZ-BJo.js";import{E as Ct}from"./index-BHeHy1vA.js";import"./url-join-H8M29juk.js";import"./Skeleton-Dyu5Ax0I.js";import"./Close-DRCHgHGm.js";import"./lottie-iTUSD55o.js";import"./DeleteOutline-FodRCvrE.js";import"./api-CG6YJvRD.js";import"./Select-BLXgoX9k.js";import"./InputLabel-Dh6H4BIb.js";var Pt=Ge;function Rt(t){return Pt(t).toLowerCase()}var Tt=Rt;const Et=We(Tt);function ie({children:t,selected:i}){return e.jsxs(Dt,{children:[t,e.jsx(v,{className:`selected-container ${i?"selected":""}`,children:e.jsx(ke,{className:"selected-icon"})})]})}const Dt=P(v)`
1
+ import{g as We,Y as Ge,n as P,Q as v,Z as Q,j as e,$ as ke,r as x,P as E,t as _,a0 as ue,a1 as be,q as C,a2 as se,a3 as He,E as M,M as K,a4 as qe,m as A,T as Ve,a5 as Ye,B,D as Qe,C as ve,x as Ke,K as Se,a6 as Je,a7 as Ze,a8 as Xe,u as I,f as et,a9 as W,v as te,F as tt,aa as oe,A as je,w as re,ab as st,W as ne,i as J,y as Ce,z as Z,ac as ot,ad as rt,ae as Pe,af as nt,b as D,ag as at,O as it,ah as lt,R as ct,J as Re,ai as dt,aj as pt,ak as Te,al as Ee,am as De,an as Be,ao as Ue,ap as N,aq as Oe,ar as _e,as as Fe,at as ht}from"./index-DzlR4ROA.js";import{P as H,L as mt,A as ut,S as Ae,a as Le}from"./index-RrRN76hq.js";import{A as ft,D as ae,u as xt,W as gt,P as wt,L as $e,d as Ne,a as Me}from"./wait-container-fwTsXfbb.js";import{_ as fe}from"./useLocalStorage-F8gidp1W.js";import{d as yt}from"./Launch-BN3gZaS3.js";import{d as kt}from"./DeleteOutline-yYcRq6ni.js";import{g as bt,i as vt}from"./spaces-CKLphlMZ.js";import{T as St}from"./TextField-BjNW7Bjw.js";import{i as xe}from"./isEqual-CFOAIOWs.js";import{d as jt}from"./MoreVert-C_-FQbwq.js";import{E as Ct}from"./index-po1Du4Ca.js";import"./url-join-LN7aIhdX.js";import"./Skeleton-4s7n7VqF.js";import"./Close-DzKkufzk.js";import"./lottie-Dittdj4N.js";import"./api-Rcl-3MyM.js";import"./Select-C44-YCyD.js";import"./InputLabel-BOR0LpK5.js";var Pt=Ge;function Rt(t){return Pt(t).toLowerCase()}var Tt=Rt;const Et=We(Tt);function ie({children:t,selected:i}){return e.jsxs(Dt,{children:[t,e.jsx(v,{className:`selected-container ${i?"selected":""}`,children:e.jsx(ke,{className:"selected-icon"})})]})}const Dt=P(v)`
2
2
  position: relative;
3
3
 
4
4
  .selected-container {
@@ -53,7 +53,7 @@ import{g as We,Y as Ge,n as P,Q as v,Z as Q,j as e,$ as ke,r as x,P as E,t as _,
53
53
  visibility: visible;
54
54
  }
55
55
  }
56
- `;ie.propTypes={children:Q.node.isRequired,selected:Q.bool};ie.defaultProps={selected:!1};const Ie=x.createContext({}),{Provider:Bt,Consumer:Rs}=Ie;function le({children:t}){const{t:i}=_(),[s,c]=fe("spaceGatewaysForRestore",[{name:"Prod DID Spaces",url:"https://www.didspaces.com/app",protected:!0},{name:"Staging DID Spaces",url:"https://spaces.staging.arcblock.io/app",protected:!0}]),[d,u]=fe("selectedSpaceGatewayForRestore",s.find(r=>r.url==="https://www.didspaces.com/app")),p=r=>{const a=s.find(h=>r.url===h.url);if(a)throw new Error(i("storage.spaces.gateway.add.duplicate",{name:a.name}));c(()=>[...s,ue.cloneDeep(r)]),u(r)},l=r=>{if(r.url===d.url)throw new Error(i("storage.spaces.gateway.delete.failedForSelected"));c(()=>s.filter(a=>a.url!==r.url))},g=r=>{u(r)};return x.useEffect(()=>{async function r(){const a=await Promise.all(s.map(async h=>{const{data:n}=await be.get(C(h.url,"/__blocklet__.js?type=json"),{timeout:5e3}).catch(R=>(console.error(R),{data:{}})),m=n.appName??h.name;return ue.merge(h,{name:m})}));c(a)}r()},[]),e.jsx(Bt,{value:{spaceGateways:s,selectedSpaceGateway:d,addSpaceGateway:p,deleteSpaceGateway:l,handleSelectSpaceGateway:g},children:t})}le.propTypes={children:E.any.isRequired};le.defaultProps={};function Ut(){return x.useContext(Ie)}function ce({spaceGateway:t,onDeleteSpaceGateway:i}){const{t:s}=_(),[c,d]=x.useState(!1),[u,p]=x.useState(!1),l=(r,a)=>{r==null||r.stopPropagation(),d(a)},g=async r=>{try{r==null||r.stopPropagation(),p(!0),await i(t),d(!1)}catch(a){console.error(a),M.error(`${s("storage.spaces.gateway.delete.failed")}: ${K(a)}`)}finally{p(!1)}};return e.jsxs(e.Fragment,{children:[e.jsx(se,{size:"small",onClick:r=>l(r,!0),children:e.jsx(kt,{})}),e.jsx(He,{title:s("common.delConfirmDescription",{data:`${t==null?void 0:t.name}`}),open:c,confirmButton:{text:s("common.confirm"),props:{variant:"contained",color:"error",loading:u}},cancelButton:{text:s("common.cancel"),props:{variant:"contained",color:"primary"}},onConfirm:g,onCancel:r=>l(r,!1)})]})}ce.propTypes={onDeleteSpaceGateway:E.func,spaceGateway:E.shape({name:E.string.isRequired,url:E.string.isRequired,protected:E.bool}).isRequired};ce.defaultProps={onDeleteSpaceGateway:()=>{}};const Ot=qe(()=>({menuName:{minWidth:0,display:"flex",flex:1,flexDirection:"column",paddingRight:"64px","& span":{display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}));function de({spaceGateway:t,selected:i,onDeleteSpaceGateway:s,onSelectGateway:c,...d}){const u=Ot(),{t:p}=_(),l=r=>{r.stopPropagation(),window.open(t.url)},g=async()=>{await s(t)};return e.jsxs(_t,{...d,children:[e.jsx(v,{display:"inline-flex",marginRight:"8px",alignItems:"center",children:e.jsx("img",{alt:t.name,src:C(t.url,"favicon.ico"),width:"48px",height:"48px"})}),e.jsxs(v,{className:u.menuName,onClick:c,children:[e.jsxs(A,{component:"span",variant:"subtitle1",style:{fontWeight:"400"},children:[t==null?void 0:t.name," ",i&&e.jsx(Ve,{color:"primary",style:{marginLeft:"8px"},children:p("common.selected")})]}),e.jsx(A,{className:"url",component:"span",variant:"inherit",children:t==null?void 0:t.url})]}),e.jsxs(Ye,{children:[e.jsx(se,{onClick:l,size:"small",children:e.jsx(yt,{})}),(t==null?void 0:t.protected)!==!0&&e.jsx(ce,{spaceGateway:t,onDeleteSpaceGateway:g})]})]})}const _t=P(v)`
56
+ `;ie.propTypes={children:Q.node.isRequired,selected:Q.bool};ie.defaultProps={selected:!1};const Ie=x.createContext({}),{Provider:Bt,Consumer:Ps}=Ie;function le({children:t}){const{t:i}=_(),[s,c]=fe("spaceGatewaysForRestore",[{name:"Prod DID Spaces",url:"https://www.didspaces.com/app",protected:!0},{name:"Staging DID Spaces",url:"https://spaces.staging.arcblock.io/app",protected:!0}]),[d,u]=fe("selectedSpaceGatewayForRestore",s.find(r=>r.url==="https://www.didspaces.com/app")),p=r=>{const a=s.find(h=>r.url===h.url);if(a)throw new Error(i("storage.spaces.gateway.add.duplicate",{name:a.name}));c(()=>[...s,ue.cloneDeep(r)]),u(r)},l=r=>{if(r.url===d.url)throw new Error(i("storage.spaces.gateway.delete.failedForSelected"));c(()=>s.filter(a=>a.url!==r.url))},g=r=>{u(r)};return x.useEffect(()=>{async function r(){const a=await Promise.all(s.map(async h=>{const{data:n}=await be.get(C(h.url,"/__blocklet__.js?type=json"),{timeout:5e3}).catch(R=>(console.error(R),{data:{}})),m=n.appName??h.name;return ue.merge(h,{name:m})}));c(a)}r()},[]),e.jsx(Bt,{value:{spaceGateways:s,selectedSpaceGateway:d,addSpaceGateway:p,deleteSpaceGateway:l,handleSelectSpaceGateway:g},children:t})}le.propTypes={children:E.any.isRequired};le.defaultProps={};function Ut(){return x.useContext(Ie)}function ce({spaceGateway:t,onDeleteSpaceGateway:i}){const{t:s}=_(),[c,d]=x.useState(!1),[u,p]=x.useState(!1),l=(r,a)=>{r==null||r.stopPropagation(),d(a)},g=async r=>{try{r==null||r.stopPropagation(),p(!0),await i(t),d(!1)}catch(a){console.error(a),M.error(`${s("storage.spaces.gateway.delete.failed")}: ${K(a)}`)}finally{p(!1)}};return e.jsxs(e.Fragment,{children:[e.jsx(se,{size:"small",onClick:r=>l(r,!0),children:e.jsx(kt,{})}),e.jsx(He,{title:s("common.delConfirmDescription",{data:`${t==null?void 0:t.name}`}),open:c,confirmButton:{text:s("common.confirm"),props:{variant:"contained",color:"error",loading:u}},cancelButton:{text:s("common.cancel"),props:{variant:"contained",color:"primary"}},onConfirm:g,onCancel:r=>l(r,!1)})]})}ce.propTypes={onDeleteSpaceGateway:E.func,spaceGateway:E.shape({name:E.string.isRequired,url:E.string.isRequired,protected:E.bool}).isRequired};ce.defaultProps={onDeleteSpaceGateway:()=>{}};const Ot=qe(()=>({menuName:{minWidth:0,display:"flex",flex:1,flexDirection:"column",paddingRight:"64px","& span":{display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}));function de({spaceGateway:t,selected:i,onDeleteSpaceGateway:s,onSelectGateway:c,...d}){const u=Ot(),{t:p}=_(),l=r=>{r.stopPropagation(),window.open(t.url)},g=async()=>{await s(t)};return e.jsxs(_t,{...d,children:[e.jsx(v,{display:"inline-flex",marginRight:"8px",alignItems:"center",children:e.jsx("img",{alt:t.name,src:C(t.url,"favicon.ico"),width:"48px",height:"48px"})}),e.jsxs(v,{className:u.menuName,onClick:c,children:[e.jsxs(A,{component:"span",variant:"subtitle1",style:{fontWeight:"400"},children:[t==null?void 0:t.name," ",i&&e.jsx(Ve,{color:"primary",style:{marginLeft:"8px"},children:p("common.selected")})]}),e.jsx(A,{className:"url",component:"span",variant:"inherit",children:t==null?void 0:t.url})]}),e.jsxs(Ye,{children:[e.jsx(se,{onClick:l,size:"small",children:e.jsx(yt,{})}),(t==null?void 0:t.protected)!==!0&&e.jsx(ce,{spaceGateway:t,onDeleteSpaceGateway:g})]})]})}const _t=P(v)`
57
57
  display: flex;
58
58
  `;de.propTypes={spaceGateway:E.shape({name:E.string.isRequired,url:E.string.isRequired,protected:E.bool}).isRequired,selected:E.bool,onDeleteSpaceGateway:E.func,onSelectGateway:Q.func};de.defaultProps={onDeleteSpaceGateway:()=>{},selected:!1,onSelectGateway:()=>{}};function pe({onAddGateway:t,...i}){const{t:s,locale:c}=_(),[d,u]=x.useState(""),[p,l]=x.useState(!1),[g,r]=x.useState(!1),[a,h]=x.useState(""),n=async()=>{try{l(!0);const m=await bt(d,{withSearchParams:!1});if(!await vt(m))throw new Error(s("storage.spaces.gateway.add.invalidUrl"));const{data:R}=await be.get(C(new URL(m).origin,"/__blocklet__.js?type=json")),w={name:R.appName,url:m,protected:!1};await t(w),M.success(s("storage.spaces.addedWithName",{name:w.name})),r(!1)}catch(m){h(`${s("storage.spaces.gateway.add.failed",c)}: ${K(m)}`)}finally{l(!1)}};return e.jsxs(e.Fragment,{children:[e.jsx(B,{size:"middle",color:"primary",variant:"outlined",onClick:()=>r(!0),...i,children:s("storage.spaces.gateway.add.title")}),e.jsxs(Qe,{title:s("storage.spaces.gateway.add.title"),fullWidth:!0,maxWidth:"md",open:g,onClose:()=>r(!1),PaperProps:{style:{minHeight:"auto"}},actions:e.jsxs(e.Fragment,{children:[e.jsx(B,{onClick:m=>{m.stopPropagation(),r(!1)},color:"inherit",children:s("common.cancel")}),e.jsxs(B,{onClick:m=>{m.stopPropagation(),n()},color:"primary","data-cy":"install-blocklet-next-step",disabled:p||!d,variant:"contained",autoFocus:!0,children:[p&&e.jsx(ve,{size:16}),s("common.confirm")]})]}),children:[e.jsx("div",{style:{paddingTop:12,overflowY:"hidden"},children:e.jsx(Ke,{component:"div",children:e.jsx(A,{component:"div",children:e.jsx(St,{label:s("storage.spaces.gateway.add.label"),autoComplete:"off",variant:"outlined",name:"url",fullWidth:!0,value:d,onChange:m=>{h(null),u(m.target.value)},disabled:p,onKeyPress:async m=>{m.key==="Enter"&&(m.preventDefault(),await n())},autoFocus:!0})})})}),!!a&&e.jsx(Se,{severity:"error",style:{width:"100%"},children:a})]})]})}pe.propTypes={onAddGateway:E.func};pe.defaultProps={onAddGateway:()=>{}};function he({onConnect:t,...i}){const{spaceGateways:s,selectedSpaceGateway:c,handleSelectSpaceGateway:d,addSpaceGateway:u,deleteSpaceGateway:p}=Ut(),{t:l}=_(),g=n=>{d(n)},r=async n=>{await u(n)},a=()=>{t(c)},h=async n=>{await p(n)};return e.jsxs(v,{...i,children:[e.jsx(Je,{children:s.map(n=>{const m=(n==null?void 0:n.url)===c.url;return e.jsx(ie,{selected:m,children:e.jsx(Ze,{button:!0,selected:m,"data-cy":"get-space-endpoint-for-restore",children:e.jsx(Xe,{children:e.jsx(de,{spaceGateway:n,onDeleteSpaceGateway:h,selected:m,onSelectGateway:()=>g(n)})})},n.url)})})}),e.jsxs(v,{display:"flex",marginTop:"16px",justifyContent:"center",alignItems:"center",children:[e.jsx(pe,{onAddGateway:r}),e.jsx(B,{sx:{marginLeft:"16px"},size:"middle",variant:"contained",onClick:a,children:l("storage.spaces.connect.now")})]})]})}he.propTypes={onConnect:Q.func};he.defaultProps={onConnect:()=>{}};const Ft=P("div")`
59
59
  width: 100%;
@@ -311,4 +311,4 @@ import{g as We,Y as Ge,n as P,Q as v,Z as Q,j as e,$ as ke,r as x,P as E,t as _,
311
311
  &.logo-can-click {
312
312
  cursor: pointer;
313
313
  }
314
- `;function Ts(){const{search:t}=window.location;return t.includes("restoreFrom=server")?e.jsx(rs,{}):e.jsx(Yt,{})}export{Ts as default};
314
+ `;function Rs(){const{search:t}=window.location;return t.includes("restoreFrom=server")?e.jsx(rs,{}):e.jsx(Yt,{})}export{Rs as default};
@@ -1 +1 @@
1
- import{cN as P,dv as M,dw as E,dx as g,dy as Y,dz as N,dA as j}from"./index-Cwi3bFQC.js";import{a as X}from"./isEqual-BkbmgPj_.js";var V={},i={},d={},q=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(d,"__esModule",{value:!0});d.toStrictHex=d.toBytes=d.toBits=d.DID_PREFIX=void 0;const K=q(M),H=g,v="did:abt:";d.DID_PREFIX=v;const G=e=>{try{if((0,H.isHexStrict)(e))return E.from((0,H.stripHexPrefix)(e),"hex");let t=(0,H.fromBase58)(e.replace(v,""));for(;t.length<26;)t=E.concat([E.from([0]),t]);return t}catch(t){throw new Error(`Cannot convert DID string to byte array: ${t.message}`)}};d.toBytes=G;const J=(e,t)=>(0,K.default)((0,H.toBN)(e).toString(2),t,"0");d.toBits=J;const z=(e,t)=>{const s=e.replace(/^0x/i,"");return typeof t=="number"&&t%2===0?(0,K.default)(e,t,"0"):s.length%2===0?s:`0${s}`};d.toStrictHex=z;var A=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});i.DidType=i.toChecksumAddress=i.isEthereumDid=i.isEthereumType=i.toTypeInfoStr=i.toTypeInfo=i.fromTypeInfo=i.DID_TYPE_ETHEREUM=i.DID_TYPE_ARCBLOCK=void 0;const m=g,b=A(Y),W=A(X),C=A(N),o=j,T=d,D={pk:"key",address:"encoding"},B={role:o.types.RoleType.ROLE_ACCOUNT,pk:o.types.KeyType.ED25519,hash:o.types.HashType.SHA3,address:o.types.EncodingType.BASE58};i.DID_TYPE_ARCBLOCK=B;const R={role:o.types.RoleType.ROLE_ACCOUNT,pk:o.types.KeyType.ETHEREUM,hash:o.types.HashType.KECCAK,address:o.types.EncodingType.BASE16};i.DID_TYPE_ETHEREUM=R;const w=e=>{const t=["pk","hash","address"];return(0,W.default)((0,C.default)(e,t),(0,C.default)(R,t))};i.isEthereumType=w;const F=e=>{const t=(0,m.toAddress)(e);return/^(0x)?[0-9a-f]{40}$/i.test(t)?/^(0x|0X)?[0-9a-f]{40}$/.test(t)||/^(0x|0X)?[0-9A-F]{40}$/.test(t)?!0:Q(t):!1};i.isEthereumDid=F;const Q=e=>{const t=e.replace(/^0x/i,""),s=o.Hasher.Keccak.hash256(t.toLowerCase()).replace(/^0x/i,"");for(let r=0;r<40;r++)if(parseInt(s[r],16)>7&&t[r].toUpperCase()!==t[r]||parseInt(s[r],16)<=7&&t[r].toLowerCase()!==t[r])return!1;return!0},Z=e=>{if(typeof e>"u")return"";if(!/^(0x)?[0-9a-f]{40}$/i.test(e))throw new Error(`Given address "${e}" is not a valid Ethereum address.`);const t=e.toLowerCase().replace(/^0x/i,""),s=o.Hasher.Keccak.hash256(t).replace(/^0x/i,"");let r="0x";for(let n=0;n<t.length;n++)parseInt(s[n],16)>7?r+=t[n].toUpperCase():r+=t[n];return r};i.toChecksumAddress=Z;function k(e={}){let t={};["default","arcblock"].includes(e)?t=B:["eth","ethereum"].includes(e)?t=R:t={...B,...e};const{role:s,pk:r,hash:n,address:u}=t;Object.keys(t).forEach(l=>{const _=(0,b.default)(`${D[l]||l}Type`);if(Object.values(o.types[_]).includes(t[l])===!1)throw new Error(`Unsupported ${l} type: ${t[l]}`)});const p={role:s,pk:r,hash:n,address:u};return w(p)===!1&&[o.types.RoleType.ROLE_NODE,o.types.RoleType.ROLE_VALIDATOR,o.types.RoleType.ROLE_TETHER,o.types.RoleType.ROLE_SWAP].includes(p.role)&&(p.hash=o.types.HashType.SHA2),p}i.DidType=k;k.toJSON=e=>Object.keys(e).reduce((t,s)=>{const r=(0,b.default)(`${D[s]||s}Type`),n=Object.keys(o.types[r]),u=Object.values(o.types[r]);return t[s]=n[u.indexOf(e[s])],t},{});k.fromJSON=e=>Object.keys(e).reduce((t,s)=>{const r=(0,b.default)(`${D[s]||s}Type`),n=Object.keys(o.types[r]),u=Object.values(o.types[r]);return t[s]=u[n.indexOf(e[s])],t},{});const x=e=>{const t=k(e),s=(0,T.toBits)(t.role,6),r=(0,T.toBits)(t.pk,5),n=(0,T.toBits)(t.hash,5),u=`${s}${r}${n}`,p=(0,m.stripHexPrefix)((0,m.numberToHex)(parseInt(u,2)));return(0,T.toStrictHex)(p,4)};i.fromTypeInfo=x;const L=e=>{let t={};try{if(F(e))t=R;else{const r=(0,T.toBytes)(e).slice(0,2),n=(0,T.toStrictHex)(E.from(r).toString("hex")),u=(0,T.toBits)(new m.BN(n,16),16),p=u.slice(0,6),l=u.slice(6,11),_=u.slice(11,16);t={role:parseInt(p,2),pk:parseInt(l,2),hash:parseInt(_,2),address:(0,m.isHex)((0,m.toAddress)(e))?o.types.EncodingType.BASE16:o.types.EncodingType.BASE58}}return Object.keys(t).forEach(s=>{Object.values(o.types[`${(0,b.default)(D[s]||s)}Type`]).includes(t[s])===!1&&delete t[s]}),t}catch{return t}};i.toTypeInfo=L;const ee=e=>{const t=L(e);return Object.keys(t).reduce((s,r)=>{const n=o.types[`${(0,b.default)(D[r]||r)}Type`];return s[r]=Object.keys(n).find(u=>n[u]===t[r]),s},{})};i.toTypeInfoStr=ee;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DID_TYPE_ETHEREUM=e.DID_TYPE_ARCBLOCK=e.DID_PREFIX=e.DidType=e.fromTypeInfo=e.toTypeInfoStr=e.toTypeInfo=e.isEthereumType=e.isEthereumDid=e.isValid=e.isFromPublicKey=e.toDid=e.toAddress=e.fromHash=e.fromPublicKeyHash=e.fromPublicKey=e.fromSecretKey=e.toStrictHex=e.types=void 0;const t=j;Object.defineProperty(e,"types",{enumerable:!0,get:function(){return t.types}});const s=g;Object.defineProperty(e,"toAddress",{enumerable:!0,get:function(){return s.toAddress}}),Object.defineProperty(e,"toDid",{enumerable:!0,get:function(){return s.toDid}});const r=i;Object.defineProperty(e,"DidType",{enumerable:!0,get:function(){return r.DidType}}),Object.defineProperty(e,"DID_TYPE_ARCBLOCK",{enumerable:!0,get:function(){return r.DID_TYPE_ARCBLOCK}}),Object.defineProperty(e,"DID_TYPE_ETHEREUM",{enumerable:!0,get:function(){return r.DID_TYPE_ETHEREUM}}),Object.defineProperty(e,"fromTypeInfo",{enumerable:!0,get:function(){return r.fromTypeInfo}}),Object.defineProperty(e,"isEthereumDid",{enumerable:!0,get:function(){return r.isEthereumDid}}),Object.defineProperty(e,"isEthereumType",{enumerable:!0,get:function(){return r.isEthereumType}}),Object.defineProperty(e,"toTypeInfo",{enumerable:!0,get:function(){return r.toTypeInfo}}),Object.defineProperty(e,"toTypeInfoStr",{enumerable:!0,get:function(){return r.toTypeInfoStr}});const n=d;Object.defineProperty(e,"DID_PREFIX",{enumerable:!0,get:function(){return n.DID_PREFIX}}),Object.defineProperty(e,"toStrictHex",{enumerable:!0,get:function(){return n.toStrictHex}});const u=(y,a)=>{const c=(0,r.DidType)(a),f=(0,t.getSigner)(c.pk).getPublicKey(y);return p(f.indexOf("0x")===0?f:`0x${f}`,c)};e.fromSecretKey=u;const p=(y,a)=>{const c=(0,r.DidType)(a),h=(0,t.getHasher)(c.hash)(y,1);return l(h,c)};e.fromPublicKey=p;const l=(y,a)=>{const c=(0,r.DidType)(a),f=(0,s.stripHexPrefix)(y).slice(0,40),h=(0,t.getHasher)(c.hash),I=(0,r.fromTypeInfo)(c),S=(0,s.stripHexPrefix)(h(`0x${I}${f}`,1)).slice(0,8),O=`0x${I}${f}${S}`;return(0,r.isEthereumType)(c)?(0,r.toChecksumAddress)(`0x${y.slice(-40)}`):c.address===t.types.EncodingType.BASE58?(0,s.toBase58)(O):O};e.fromPublicKeyHash=l;const _=(y,a=t.types.RoleType.ROLE_ACCOUNT)=>{const c=Object.keys(t.types.RoleType),f=Object.values(t.types.RoleType);if(f.indexOf(a)===-1)throw new Error(`Unsupported role type ${a} when gen ddi from hash`);const h=(0,r.DidType)({role:t.types.RoleType[c[f.indexOf(a)]]});return l(y,h)};e.fromHash=_;const U=(y,a)=>{if($(y)===!1)return!1;const c=(0,r.toTypeInfo)(y),f=p(a,c),h=y.replace(n.DID_PREFIX,"");return f===h};e.isFromPublicKey=U;const $=y=>{if(!y)return!1;const a=(0,s.toAddress)(String(y)),{hash:c}=(0,r.toTypeInfo)(a);if(typeof c>"u")return!1;if((0,r.isEthereumDid)(a))return!0;const f=(0,t.getHasher)(c),h=(0,n.toBytes)(a),I=(0,n.toStrictHex)(E.from(h.slice(0,22)).toString("hex")),S=(0,n.toStrictHex)(E.from(h.slice(22,26)).toString("hex")),O=(0,s.stripHexPrefix)(f(`0x${I}`,1)).slice(0,8);return S===O};e.isValid=$})(V);export{V as l};
1
+ import{cN as P,dv as M,dw as E,dx as g,dy as Y,dz as N,dA as j}from"./index-DzlR4ROA.js";import{a as X}from"./isEqual-CFOAIOWs.js";var V={},i={},d={},q=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(d,"__esModule",{value:!0});d.toStrictHex=d.toBytes=d.toBits=d.DID_PREFIX=void 0;const K=q(M),H=g,v="did:abt:";d.DID_PREFIX=v;const G=e=>{try{if((0,H.isHexStrict)(e))return E.from((0,H.stripHexPrefix)(e),"hex");let t=(0,H.fromBase58)(e.replace(v,""));for(;t.length<26;)t=E.concat([E.from([0]),t]);return t}catch(t){throw new Error(`Cannot convert DID string to byte array: ${t.message}`)}};d.toBytes=G;const J=(e,t)=>(0,K.default)((0,H.toBN)(e).toString(2),t,"0");d.toBits=J;const z=(e,t)=>{const s=e.replace(/^0x/i,"");return typeof t=="number"&&t%2===0?(0,K.default)(e,t,"0"):s.length%2===0?s:`0${s}`};d.toStrictHex=z;var A=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});i.DidType=i.toChecksumAddress=i.isEthereumDid=i.isEthereumType=i.toTypeInfoStr=i.toTypeInfo=i.fromTypeInfo=i.DID_TYPE_ETHEREUM=i.DID_TYPE_ARCBLOCK=void 0;const m=g,b=A(Y),W=A(X),C=A(N),o=j,T=d,D={pk:"key",address:"encoding"},B={role:o.types.RoleType.ROLE_ACCOUNT,pk:o.types.KeyType.ED25519,hash:o.types.HashType.SHA3,address:o.types.EncodingType.BASE58};i.DID_TYPE_ARCBLOCK=B;const R={role:o.types.RoleType.ROLE_ACCOUNT,pk:o.types.KeyType.ETHEREUM,hash:o.types.HashType.KECCAK,address:o.types.EncodingType.BASE16};i.DID_TYPE_ETHEREUM=R;const w=e=>{const t=["pk","hash","address"];return(0,W.default)((0,C.default)(e,t),(0,C.default)(R,t))};i.isEthereumType=w;const F=e=>{const t=(0,m.toAddress)(e);return/^(0x)?[0-9a-f]{40}$/i.test(t)?/^(0x|0X)?[0-9a-f]{40}$/.test(t)||/^(0x|0X)?[0-9A-F]{40}$/.test(t)?!0:Q(t):!1};i.isEthereumDid=F;const Q=e=>{const t=e.replace(/^0x/i,""),s=o.Hasher.Keccak.hash256(t.toLowerCase()).replace(/^0x/i,"");for(let r=0;r<40;r++)if(parseInt(s[r],16)>7&&t[r].toUpperCase()!==t[r]||parseInt(s[r],16)<=7&&t[r].toLowerCase()!==t[r])return!1;return!0},Z=e=>{if(typeof e>"u")return"";if(!/^(0x)?[0-9a-f]{40}$/i.test(e))throw new Error(`Given address "${e}" is not a valid Ethereum address.`);const t=e.toLowerCase().replace(/^0x/i,""),s=o.Hasher.Keccak.hash256(t).replace(/^0x/i,"");let r="0x";for(let n=0;n<t.length;n++)parseInt(s[n],16)>7?r+=t[n].toUpperCase():r+=t[n];return r};i.toChecksumAddress=Z;function k(e={}){let t={};["default","arcblock"].includes(e)?t=B:["eth","ethereum"].includes(e)?t=R:t={...B,...e};const{role:s,pk:r,hash:n,address:u}=t;Object.keys(t).forEach(l=>{const _=(0,b.default)(`${D[l]||l}Type`);if(Object.values(o.types[_]).includes(t[l])===!1)throw new Error(`Unsupported ${l} type: ${t[l]}`)});const p={role:s,pk:r,hash:n,address:u};return w(p)===!1&&[o.types.RoleType.ROLE_NODE,o.types.RoleType.ROLE_VALIDATOR,o.types.RoleType.ROLE_TETHER,o.types.RoleType.ROLE_SWAP].includes(p.role)&&(p.hash=o.types.HashType.SHA2),p}i.DidType=k;k.toJSON=e=>Object.keys(e).reduce((t,s)=>{const r=(0,b.default)(`${D[s]||s}Type`),n=Object.keys(o.types[r]),u=Object.values(o.types[r]);return t[s]=n[u.indexOf(e[s])],t},{});k.fromJSON=e=>Object.keys(e).reduce((t,s)=>{const r=(0,b.default)(`${D[s]||s}Type`),n=Object.keys(o.types[r]),u=Object.values(o.types[r]);return t[s]=u[n.indexOf(e[s])],t},{});const x=e=>{const t=k(e),s=(0,T.toBits)(t.role,6),r=(0,T.toBits)(t.pk,5),n=(0,T.toBits)(t.hash,5),u=`${s}${r}${n}`,p=(0,m.stripHexPrefix)((0,m.numberToHex)(parseInt(u,2)));return(0,T.toStrictHex)(p,4)};i.fromTypeInfo=x;const L=e=>{let t={};try{if(F(e))t=R;else{const r=(0,T.toBytes)(e).slice(0,2),n=(0,T.toStrictHex)(E.from(r).toString("hex")),u=(0,T.toBits)(new m.BN(n,16),16),p=u.slice(0,6),l=u.slice(6,11),_=u.slice(11,16);t={role:parseInt(p,2),pk:parseInt(l,2),hash:parseInt(_,2),address:(0,m.isHex)((0,m.toAddress)(e))?o.types.EncodingType.BASE16:o.types.EncodingType.BASE58}}return Object.keys(t).forEach(s=>{Object.values(o.types[`${(0,b.default)(D[s]||s)}Type`]).includes(t[s])===!1&&delete t[s]}),t}catch{return t}};i.toTypeInfo=L;const ee=e=>{const t=L(e);return Object.keys(t).reduce((s,r)=>{const n=o.types[`${(0,b.default)(D[r]||r)}Type`];return s[r]=Object.keys(n).find(u=>n[u]===t[r]),s},{})};i.toTypeInfoStr=ee;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DID_TYPE_ETHEREUM=e.DID_TYPE_ARCBLOCK=e.DID_PREFIX=e.DidType=e.fromTypeInfo=e.toTypeInfoStr=e.toTypeInfo=e.isEthereumType=e.isEthereumDid=e.isValid=e.isFromPublicKey=e.toDid=e.toAddress=e.fromHash=e.fromPublicKeyHash=e.fromPublicKey=e.fromSecretKey=e.toStrictHex=e.types=void 0;const t=j;Object.defineProperty(e,"types",{enumerable:!0,get:function(){return t.types}});const s=g;Object.defineProperty(e,"toAddress",{enumerable:!0,get:function(){return s.toAddress}}),Object.defineProperty(e,"toDid",{enumerable:!0,get:function(){return s.toDid}});const r=i;Object.defineProperty(e,"DidType",{enumerable:!0,get:function(){return r.DidType}}),Object.defineProperty(e,"DID_TYPE_ARCBLOCK",{enumerable:!0,get:function(){return r.DID_TYPE_ARCBLOCK}}),Object.defineProperty(e,"DID_TYPE_ETHEREUM",{enumerable:!0,get:function(){return r.DID_TYPE_ETHEREUM}}),Object.defineProperty(e,"fromTypeInfo",{enumerable:!0,get:function(){return r.fromTypeInfo}}),Object.defineProperty(e,"isEthereumDid",{enumerable:!0,get:function(){return r.isEthereumDid}}),Object.defineProperty(e,"isEthereumType",{enumerable:!0,get:function(){return r.isEthereumType}}),Object.defineProperty(e,"toTypeInfo",{enumerable:!0,get:function(){return r.toTypeInfo}}),Object.defineProperty(e,"toTypeInfoStr",{enumerable:!0,get:function(){return r.toTypeInfoStr}});const n=d;Object.defineProperty(e,"DID_PREFIX",{enumerable:!0,get:function(){return n.DID_PREFIX}}),Object.defineProperty(e,"toStrictHex",{enumerable:!0,get:function(){return n.toStrictHex}});const u=(y,a)=>{const c=(0,r.DidType)(a),f=(0,t.getSigner)(c.pk).getPublicKey(y);return p(f.indexOf("0x")===0?f:`0x${f}`,c)};e.fromSecretKey=u;const p=(y,a)=>{const c=(0,r.DidType)(a),h=(0,t.getHasher)(c.hash)(y,1);return l(h,c)};e.fromPublicKey=p;const l=(y,a)=>{const c=(0,r.DidType)(a),f=(0,s.stripHexPrefix)(y).slice(0,40),h=(0,t.getHasher)(c.hash),I=(0,r.fromTypeInfo)(c),S=(0,s.stripHexPrefix)(h(`0x${I}${f}`,1)).slice(0,8),O=`0x${I}${f}${S}`;return(0,r.isEthereumType)(c)?(0,r.toChecksumAddress)(`0x${y.slice(-40)}`):c.address===t.types.EncodingType.BASE58?(0,s.toBase58)(O):O};e.fromPublicKeyHash=l;const _=(y,a=t.types.RoleType.ROLE_ACCOUNT)=>{const c=Object.keys(t.types.RoleType),f=Object.values(t.types.RoleType);if(f.indexOf(a)===-1)throw new Error(`Unsupported role type ${a} when gen ddi from hash`);const h=(0,r.DidType)({role:t.types.RoleType[c[f.indexOf(a)]]});return l(y,h)};e.fromHash=_;const U=(y,a)=>{if($(y)===!1)return!1;const c=(0,r.toTypeInfo)(y),f=p(a,c),h=y.replace(n.DID_PREFIX,"");return f===h};e.isFromPublicKey=U;const $=y=>{if(!y)return!1;const a=(0,s.toAddress)(String(y)),{hash:c}=(0,r.toTypeInfo)(a);if(typeof c>"u")return!1;if((0,r.isEthereumDid)(a))return!0;const f=(0,t.getHasher)(c),h=(0,n.toBytes)(a),I=(0,n.toStrictHex)(E.from(h.slice(0,22)).toString("hex")),S=(0,n.toStrictHex)(E.from(h.slice(22,26)).toString("hex")),O=(0,s.stripHexPrefix)(f(`0x${I}`,1)).slice(0,8);return S===O};e.isValid=$})(V);export{V as l};
@@ -1 +1 @@
1
- import{r as o,f as n,j as t,n as e}from"./index-Cwi3bFQC.js";import{R as r}from"./index-D3Cozcmh.js";function i(){const{t:s}=o.useContext(n);return t.jsx(a,{style:{paddingTop:"25vh"},children:t.jsx(r,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const a=e.main``;export{i as default};
1
+ import{r as o,f as n,j as t,n as e}from"./index-DzlR4ROA.js";import{R as r}from"./index-CkbP6S_A.js";function i(){const{t:s}=o.useContext(n);return t.jsx(a,{style:{paddingTop:"25vh"},children:t.jsx(r,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const a=e.main``;export{i as default};
@@ -1 +1 @@
1
- import{g as j,cN as O}from"./index-Cwi3bFQC.js";function N(i,t){for(var r=0;r<t.length;r++){const a=t[r];if(typeof a!="string"&&!Array.isArray(a)){for(const e in a)if(e!=="default"&&!(e in i)){const s=Object.getOwnPropertyDescriptor(a,e);s&&Object.defineProperty(i,e,s.get?s:{enumerable:!0,get:()=>a[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var d={default:O,call:function(i,t,r){var a="";typeof t=="function"&&(r=t,t={});var e={data:t===void 0?null:t};if(typeof r=="function"){var s="dscb"+window.dscb++;window[s]=r,e._dscbstub=s}return e=JSON.stringify(e),window._dsbridge?a=_dsbridge.call(i,e):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(a=prompt("_dsbridge="+i,e)),JSON.parse(a||"{}").data},register:function(i,t,r){var a=r?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){d.call("_dsb.dsinit")},0)),typeof t=="object"?a._obs[i]=t:a[i]=t},registerAsyn:function(i,t){this.register(i,t,!0)},hasNativeMethod:function(i,t){return this.call("_dsb.hasNativeMethod",{name:i,type:t||"all"})},disableJavascriptDialogBlock:function(i){this.call("_dsb.disableJavascriptDialogBlock",{disable:i!==!1})}};(function(){if(!window._dsf){var i={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:d,close:function(){d.call("_dsb.closePage")},_handleMessageFromNative:function(r){var a=JSON.parse(r.data),e={id:r.callbackId,complete:!0},s=this._dsf[r.method],o=this._dsaf[r.method],p=function(u,_){e.data=u.apply(_,a),d.call("_dsb.returnValue",e)},v=function(u,_){a.push(function(w,y){e.data=w,e.complete=y!==!1,d.call("_dsb.returnValue",e)}),u.apply(_,a)};if(s)p(s,this._dsf);else if(o)v(o,this._dsaf);else{var l=r.method.split(".");if(l.length<2)return;var g=l.pop(),b=l.join("."),c=this._dsf._obs,f=c[b]||{},n=f[g];if(n&&typeof n=="function"){p(n,f);return}if(c=this._dsaf._obs,f=c[b]||{},n=f[g],n&&typeof n=="function"){v(n,f);return}}}};for(var t in i)window[t]=i[t];d.register("_hasJavascriptMethod",function(r,a){var e=r.split(".");if(e.length<2)return!!(_dsf[e]||_dsaf[e]);var r=e.pop(),s=e.join("."),o=_dsf._obs[s]||_dsaf._obs[s];return o&&!!o[r]})}})();var h=d;const J=j(h),k=N({__proto__:null,default:J},[h]);export{k as i};
1
+ import{g as j,cN as O}from"./index-DzlR4ROA.js";function N(i,t){for(var r=0;r<t.length;r++){const a=t[r];if(typeof a!="string"&&!Array.isArray(a)){for(const e in a)if(e!=="default"&&!(e in i)){const s=Object.getOwnPropertyDescriptor(a,e);s&&Object.defineProperty(i,e,s.get?s:{enumerable:!0,get:()=>a[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var d={default:O,call:function(i,t,r){var a="";typeof t=="function"&&(r=t,t={});var e={data:t===void 0?null:t};if(typeof r=="function"){var s="dscb"+window.dscb++;window[s]=r,e._dscbstub=s}return e=JSON.stringify(e),window._dsbridge?a=_dsbridge.call(i,e):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(a=prompt("_dsbridge="+i,e)),JSON.parse(a||"{}").data},register:function(i,t,r){var a=r?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){d.call("_dsb.dsinit")},0)),typeof t=="object"?a._obs[i]=t:a[i]=t},registerAsyn:function(i,t){this.register(i,t,!0)},hasNativeMethod:function(i,t){return this.call("_dsb.hasNativeMethod",{name:i,type:t||"all"})},disableJavascriptDialogBlock:function(i){this.call("_dsb.disableJavascriptDialogBlock",{disable:i!==!1})}};(function(){if(!window._dsf){var i={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:d,close:function(){d.call("_dsb.closePage")},_handleMessageFromNative:function(r){var a=JSON.parse(r.data),e={id:r.callbackId,complete:!0},s=this._dsf[r.method],o=this._dsaf[r.method],p=function(u,_){e.data=u.apply(_,a),d.call("_dsb.returnValue",e)},v=function(u,_){a.push(function(w,y){e.data=w,e.complete=y!==!1,d.call("_dsb.returnValue",e)}),u.apply(_,a)};if(s)p(s,this._dsf);else if(o)v(o,this._dsaf);else{var l=r.method.split(".");if(l.length<2)return;var g=l.pop(),b=l.join("."),c=this._dsf._obs,f=c[b]||{},n=f[g];if(n&&typeof n=="function"){p(n,f);return}if(c=this._dsaf._obs,f=c[b]||{},n=f[g],n&&typeof n=="function"){v(n,f);return}}}};for(var t in i)window[t]=i[t];d.register("_hasJavascriptMethod",function(r,a){var e=r.split(".");if(e.length<2)return!!(_dsf[e]||_dsaf[e]);var r=e.pop(),s=e.join("."),o=_dsf._obs[s]||_dsaf._obs[s];return o&&!!o[r]})}})();var h=d;const J=j(h),k=N({__proto__:null,default:J},[h]);export{k as i};
@@ -1 +1 @@
1
- import{cN as m,r as p,g as J}from"./index-Cwi3bFQC.js";var M={},B={},u={},x={},g={};g.__esModule=!0;g.joinClassNames=void 0;g.joinClassNames=function(){for(var s=[],r=0;r<arguments.length;r++)s[r]=arguments[r];return s.filter(function(d){return d}).join(" ")};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(n){for(var o,t=1,a=arguments.length;t<a;t++){o=arguments[t];for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e])}return n},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=g,v=function(n){var o=n.className,t=n.maxHeight,a=n.color,e=n.lineSpacing,l=e===void 0?"0.7em":e,c=n.style,f={maxHeight:t,width:"100%",height:"1em",backgroundColor:a,marginTop:l};return d.createElement("div",{className:i.joinClassNames("text-row",o),style:r(r({},f),c)})};s.default=v})(x);var P={};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(n){for(var o,t=1,a=arguments.length;t<a;t++){o=arguments[t];for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e])}return n},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=g,v=function(n){var o=n.className,t=n.style,a=n.color,e={backgroundColor:a,borderRadius:"500rem",width:"100%",height:"100%"};return d.createElement("div",{className:i.joinClassNames("round-shape",o),style:r(r({},e),t)})};s.default=v})(P);var L={};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(n){for(var o,t=1,a=arguments.length;t<a;t++){o=arguments[t];for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e])}return n},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=g,v=function(n){var o=n.className,t=n.style,a=n.color,e={backgroundColor:a,width:"100%",height:"100%",marginRight:10};return d.createElement("div",{className:i.joinClassNames("rect-shape",o),style:r(r({},e),t)})};s.default=v})(L);var k={};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(a){for(var e,l=1,c=arguments.length;l<c;l++){e=arguments[l];for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=x,v=g,n={width:"100%"},o=[97,100,94,90,98,95,98,40],t=function(a){var e=a.rows,l=a.lineSpacing,c=a.color,f=a.style,j=a.className,w=a.widths,_=w===void 0?o:w,h=function(R){return{maxHeight:100/(e*2-1)+"%",width:_[(R+_.length)%_.length]+"%"}};return d.createElement("div",{className:v.joinClassNames("text-block",j),style:r(r({},n),f)},Array.apply(null,Array(e)).map(function(R,N){return d.createElement(i.default,{color:c,style:h(N),lineSpacing:N!==0?l:0,key:N})}))};s.default=t})(k);var A={};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(a){for(var e,l=1,c=arguments.length;l<c;l++){e=arguments[l];for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=k,v=P,n=g,o={display:"flex"},t=function(a){var e=a.className,l=a.style,c=a.color,f=a.rows;return d.createElement("div",{className:n.joinClassNames("media-block",e),style:r(r({},o),l)},d.createElement(v.default,{color:c,style:{minHeight:55,width:55,minWidth:55,marginRight:10}}),d.createElement(i.default,{color:c,rows:f}))};s.default=t})(A);u.__esModule=!0;u.media=u.text=u.rect=u.round=u.textRow=u.MediaBlock=u.TextBlock=u.RectShape=u.RoundShape=u.TextRow=void 0;var H=x;u.TextRow=H.default;var D=P;u.RoundShape=D.default;var F=L;u.RectShape=F.default;var W=k;u.TextBlock=W.default;var $=A;u.MediaBlock=$.default;u.textRow=H.default;u.round=D.default;u.rect=F.default;u.text=W.default;u.media=$.default;(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(t){for(var a,e=1,l=arguments.length;e<l;e++){a=arguments[e];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(t[c]=a[c])}return t},r.apply(this,arguments)},d=m&&m.__rest||function(t,a){var e={};for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&a.indexOf(l)<0&&(e[l]=t[l]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,l=Object.getOwnPropertySymbols(t);c<l.length;c++)a.indexOf(l[c])<0&&Object.prototype.propertyIsEnumerable.call(t,l[c])&&(e[l[c]]=t[l[c]]);return e};s.__esModule=!0;var i=p,v=u,n=g,o=function(t){var a=t.delay,e=a===void 0?0:a,l=t.type,c=l===void 0?"text":l,f=t.color,j=f===void 0?"#CDCDCD":f,w=t.rows,_=w===void 0?3:w,h=t.ready,R=t.firstLaunchOnly,N=t.children,C=t.className,G=t.showLoadingAnimation,y=t.customPlaceholder,I=d(t,["delay","type","color","rows","ready","firstLaunchOnly","children","className","showLoadingAnimation","customPlaceholder"]),E=i.useState(h),O=E[0],S=E[1],b=i.useRef(null),V=function(){var T=G?n.joinClassNames("show-loading-animation",C):C;if(y&&i.isValidElement(y)){var q=n.joinClassNames(y.props.className,T);return i.cloneElement(y,{className:q})}else if(y)return y;var z=v[c];return i.createElement(z,r({},I,{color:j,rows:_,className:T}))};return i.useEffect(function(){!R&&O&&!h?e&&e>0?b.current=window.setTimeout(function(){S(!1)},e):S(!1):h&&(b.current&&window.clearTimeout(b.current),O||S(!0))},[R,O,h,e]),i.useEffect(function(){return function(){b.current&&window.clearTimeout(b.current)}},[]),O?N:V()};s.default=o})(B);(function(s){s.__esModule=!0;var r=B;s.default=r.default})(M);const Q=J(M);export{Q as R};
1
+ import{cN as m,r as p,g as J}from"./index-DzlR4ROA.js";var M={},B={},u={},x={},g={};g.__esModule=!0;g.joinClassNames=void 0;g.joinClassNames=function(){for(var s=[],r=0;r<arguments.length;r++)s[r]=arguments[r];return s.filter(function(d){return d}).join(" ")};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(n){for(var o,t=1,a=arguments.length;t<a;t++){o=arguments[t];for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e])}return n},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=g,v=function(n){var o=n.className,t=n.maxHeight,a=n.color,e=n.lineSpacing,l=e===void 0?"0.7em":e,c=n.style,f={maxHeight:t,width:"100%",height:"1em",backgroundColor:a,marginTop:l};return d.createElement("div",{className:i.joinClassNames("text-row",o),style:r(r({},f),c)})};s.default=v})(x);var P={};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(n){for(var o,t=1,a=arguments.length;t<a;t++){o=arguments[t];for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e])}return n},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=g,v=function(n){var o=n.className,t=n.style,a=n.color,e={backgroundColor:a,borderRadius:"500rem",width:"100%",height:"100%"};return d.createElement("div",{className:i.joinClassNames("round-shape",o),style:r(r({},e),t)})};s.default=v})(P);var L={};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(n){for(var o,t=1,a=arguments.length;t<a;t++){o=arguments[t];for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e])}return n},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=g,v=function(n){var o=n.className,t=n.style,a=n.color,e={backgroundColor:a,width:"100%",height:"100%",marginRight:10};return d.createElement("div",{className:i.joinClassNames("rect-shape",o),style:r(r({},e),t)})};s.default=v})(L);var k={};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(a){for(var e,l=1,c=arguments.length;l<c;l++){e=arguments[l];for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=x,v=g,n={width:"100%"},o=[97,100,94,90,98,95,98,40],t=function(a){var e=a.rows,l=a.lineSpacing,c=a.color,f=a.style,j=a.className,w=a.widths,_=w===void 0?o:w,h=function(R){return{maxHeight:100/(e*2-1)+"%",width:_[(R+_.length)%_.length]+"%"}};return d.createElement("div",{className:v.joinClassNames("text-block",j),style:r(r({},n),f)},Array.apply(null,Array(e)).map(function(R,N){return d.createElement(i.default,{color:c,style:h(N),lineSpacing:N!==0?l:0,key:N})}))};s.default=t})(k);var A={};(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(a){for(var e,l=1,c=arguments.length;l<c;l++){e=arguments[l];for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a},r.apply(this,arguments)};s.__esModule=!0;var d=p,i=k,v=P,n=g,o={display:"flex"},t=function(a){var e=a.className,l=a.style,c=a.color,f=a.rows;return d.createElement("div",{className:n.joinClassNames("media-block",e),style:r(r({},o),l)},d.createElement(v.default,{color:c,style:{minHeight:55,width:55,minWidth:55,marginRight:10}}),d.createElement(i.default,{color:c,rows:f}))};s.default=t})(A);u.__esModule=!0;u.media=u.text=u.rect=u.round=u.textRow=u.MediaBlock=u.TextBlock=u.RectShape=u.RoundShape=u.TextRow=void 0;var H=x;u.TextRow=H.default;var D=P;u.RoundShape=D.default;var F=L;u.RectShape=F.default;var W=k;u.TextBlock=W.default;var $=A;u.MediaBlock=$.default;u.textRow=H.default;u.round=D.default;u.rect=F.default;u.text=W.default;u.media=$.default;(function(s){var r=m&&m.__assign||function(){return r=Object.assign||function(t){for(var a,e=1,l=arguments.length;e<l;e++){a=arguments[e];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(t[c]=a[c])}return t},r.apply(this,arguments)},d=m&&m.__rest||function(t,a){var e={};for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&a.indexOf(l)<0&&(e[l]=t[l]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,l=Object.getOwnPropertySymbols(t);c<l.length;c++)a.indexOf(l[c])<0&&Object.prototype.propertyIsEnumerable.call(t,l[c])&&(e[l[c]]=t[l[c]]);return e};s.__esModule=!0;var i=p,v=u,n=g,o=function(t){var a=t.delay,e=a===void 0?0:a,l=t.type,c=l===void 0?"text":l,f=t.color,j=f===void 0?"#CDCDCD":f,w=t.rows,_=w===void 0?3:w,h=t.ready,R=t.firstLaunchOnly,N=t.children,C=t.className,G=t.showLoadingAnimation,y=t.customPlaceholder,I=d(t,["delay","type","color","rows","ready","firstLaunchOnly","children","className","showLoadingAnimation","customPlaceholder"]),E=i.useState(h),O=E[0],S=E[1],b=i.useRef(null),V=function(){var T=G?n.joinClassNames("show-loading-animation",C):C;if(y&&i.isValidElement(y)){var q=n.joinClassNames(y.props.className,T);return i.cloneElement(y,{className:q})}else if(y)return y;var z=v[c];return i.createElement(z,r({},I,{color:j,rows:_,className:T}))};return i.useEffect(function(){!R&&O&&!h?e&&e>0?b.current=window.setTimeout(function(){S(!1)},e):S(!1):h&&(b.current&&window.clearTimeout(b.current),O||S(!0))},[R,O,h,e]),i.useEffect(function(){return function(){b.current&&window.clearTimeout(b.current)}},[]),O?N:V()};s.default=o})(B);(function(s){s.__esModule=!0;var r=B;s.default=r.default})(M);const Q=J(M);export{Q as R};
@@ -1,4 +1,4 @@
1
- import{j as e,H as r,r as n,f as o,m as i,n as a}from"./index-Cwi3bFQC.js";const s=({...t})=>e.jsxs("div",{...t,children:[e.jsx("h3",{children:"End User License Agreement for Blocklet Server"}),e.jsxs("p",{children:["Blocklet Server License Agreement ",r.COPYRIGHT_OWNER," version 2020-08-28"]}),e.jsx("p",{children:"Blocklet Server LICENSE AGREEMENT"}),e.jsxs("p",{children:["PLEASE READ THIS END USER LICENCE AGREEMENT CAREFULLY. This Blocklet Server License Agreement ('Agreement') is a legal agreement between you (the 'End User') and ",r.COPYRIGHT_OWNER," (ARCBLOCK) for the Blocklet Server software (the 'Software') licensed to End User hereunder and supplied to End User. The term Software includes any APIs, software modules, and any associated materials and 'online' or electronic documentation. This Agreement applies to End User's use of the Software but it shall be superseded by any signed agreement between End User and ARCBLOCK concerning the Software."]}),e.jsx("p",{children:"By installing or using the Software, You agree to accept and to be bound by this Agreement at all times. If You do not agree with one of these, please do not install or use the Software."}),e.jsx("h4",{children:"1. Software license"}),e.jsx("p",{children:"Notwithstanding any reference to 'sale' or 'purchase', the Software is licensed, not sold. Subject to the terms and conditions of this Agreement, ARCBLOCK grants End User a non-exclusive, non-transferable right to access and use the Software as part of the services for End User's use ('Authorized Use') in object form in the products, versions, and number of installed instances as purchased from ARCBLOCK."}),e.jsx("h4",{children:"2. Limitations"}),e.jsx("p",{children:"2.1. Restrictions. End User shall not itself, or through any parent, subsidiary, affiliate, agent or other third party: (a) sell, lease, license, distribute, sublicense or otherwise transfer in whole or in part, the Software to a third party; (b) decompile, disassemble, translate, reverse engineer or otherwise attempt to derive source code from the Software except to the limited extent, if any, that applicable law permits such acts notwithstanding any contractual prohibitions, provided, however, before End User exercises any rights that End User believes to be entitled to based on mandatory law, End User shall provide ARCBLOCK with thirty (30) days prior written notice and provide all reasonably requested information to allow ARCBLOCK to assess End User's claim and, at ARCBLOCK sole discretion, to provide alternatives that reduce any adverse impact on ARCBLOCK's intellectual property or other rights; (c) allow access or permit use of the Software by any third party except authorized third party contractors solely to provide services to End User, provided that End User shall be liable for all acts and omissions of such authorized third party contractors; (d) modify or create derivative works based upon the Software; (e) disclose the results of any benchmark test of the Software to any third party; (f) change any proprietary rights notices which appear in the Software; or (g) circumvent the license keys embedded within the Software."}),e.jsx("p",{children:"2.2. Software Transfer. Upon written consent from ARCBLOCK, which will not be unreasonably withheld, End User may permanently transfer all of its rights under this Agreement; provided that the recipient agrees to the terms of this Agreement."}),e.jsx("p",{children:"2.3. High Risk Activities. The Software is not intended for use in hazardous environments requiring fail safe performance (such as, without limitation, the planning, construction, maintenance, control, or direct operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, medical device and life support machines, or weapon systems) in which the failure of the Software could lead to death, personal injury or physical and environmental damage ('High Risk Activities'). Accordingly, this Agreement excludes any High Risk Activities and End User agrees not to use the Software in connection with High Risk Activities."}),e.jsx("h4",{children:"3. Ownership"}),e.jsx("p",{children:"The Software is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. ARCBLOCK owns all rights, title and interest in the copyrights, patents and all other intellectual property rights in and to the Software and any accompanying printed materials, and all derivative works thereof."}),e.jsx("h4",{children:"4. Open source programs"}),e.jsx("p",{children:"The Software may include individual open source software components, each of which has its own copyright and its own applicable license conditions. The open source software components are licensed to End User under the terms of the applicable open source license conditions and/or copyright notices that can be found in the licenses file, the related documentation or other materials accompanying the Software."}),e.jsx("h4",{children:"5. Trademarks"}),e.jsx("p",{children:"The marks 'ARCBLOCK', ‘BLOCKLETS’ and ‘Blocklet Server’ are trademarks of ARCBLOCK. ARCBLOCK's failure to list a trademark in this Section shall not constitute a waiver of any trademark rights. All other trademarks in the Software not owned by ARCBLOCK are the property of their respective owners."}),e.jsx("h4",{children:"6. Disclaimer and Warranty"}),e.jsx("p",{children:"6.1. DISCLAIMER OF WARRANTIES. THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND AND ARCBLOCK EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED OR ARISING OUT OF A COURSE OF CONDUCT OR COURSE OF DEALING, INCLUDING ALL WARRANTIES OF TITLE, PERFORMANCE, USE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON INFRINGEMENT AND THE ABSENCE OF LATENT OR OTHER DEFECTS, WHETHER OR NOT DISCOVERABLE. ARCBLOCK MAKES NO WARRANTY REGARDING NON INTERRUPTION OF USE. NO ORAL OR WRITTEN STATEMENT PROVIDED BY ARCBLOCK SHALL CREATE ANY WARRANTY."}),e.jsx("p",{children:"6.2. LIMITATION OF LIABILITY. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY END USER. ARCBLOCK SHALL NOT HAVE ANY LIABILITY TO END USER OR ANY OTHER PARTY FOR ANY INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER, INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUE, PROFIT OR OPPORTUNITY, LOST OR DAMAGED DATA OR OTHER COMMERCIAL OR ECONOMIC LOSS, EVEN IF ARCBLOCK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR THEY ARE FORESEEABLE. ARCBLOCK'S MAXIMUM AGGREGATE LIABILITY RELATING TO THIS AGREEMENT OR THE SOFTWARE SHALL NOT EXCEED THE AMOUNT PAID BY END USER FOR THE SOFTWARE."}),e.jsx("p",{children:"6.3. ALLOCATION. THE PROVISIONS OF THIS SECTION ALLOCATE RISKS UNDER THIS AGREEMENT BETWEEN ARCBLOCK AND END USER. ARCBLOCK'S LICENSING FEES FOR THE SOFTWARE REFLECT THIS ALLOCATION OF RISKS AND LIMITATION OF LIABILITY. THE FOREGOING LIMITATIONS, EXCLUSIONS AND DISCLAIMERS APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, EVEN IF ANY REMEDY FAILS IN ITS ESSENTIAL PURPOSE."}),e.jsx("p",{children:"6.4. Limitation. Because some jurisdictions do not allow certain disclaimers, exclusions or limitations of warranties, damages or liability, the above disclaimers, exclusions or limitations may not apply to End User and, therefore, shall apply only to the maximum extent allowed under applicable law."}),e.jsx("h4",{children:"7. Term"}),e.jsx("p",{children:"This Agreement is effective until terminated. End Users may terminate the Agreement at any time by returning or destroying all copies of the Software and related documentation. End User's rights under this Agreement will terminate automatically if End User fails to comply with the Agreement."}),e.jsx("h4",{children:"8. Miscellaneous"}),e.jsx("p",{children:"8.1. Governing Law. This Agreement shall be governed by the laws of the State of Washington, without reference to the principles of conflicts of law. The provisions of the Uniform Computerized Information Transaction Act and United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Agreement. Any litigation related to this Agreement shall be brought in the state or federal courts located in Washington, and only in those courts and each party irrevocably waives any objections to such venue. Notwithstanding anything to the contrary herein, ARCBLOCK shall be entitled to seek injunctive or other equitable relief, wherever ARCBLOCK deems appropriate in any jurisdiction, in order to preserve or enforce ARCBLOCK's rights for any breach or threatened breach of this Agreement."}),e.jsx("p",{children:"8.2. Severability. Every term, condition or provision of this Agreement is severable from the others. If a court or an arbitrator of competent jurisdiction holds any term, condition or provision of this Agreement to be invalid, unenforceable or illegal in whole or in part for any reason, the validity and enforceability of the remaining terms, conditions or provisions, or portions of them, will not be affected."}),e.jsx("p",{children:"8.3. Confidentiality. Except as expressly allowed by this Agreement, End User will not use or disclose any Software or related technology, idea, algorithm or information ('Confidential Information') except to the extent End User can document that it is generally available for use and disclosure by the public without charge or license. End User shall hold the Confidential Information in trust and confidence and avoid the disclosure or release thereof to any other person or entity by using the same degree of care as it uses to avoid unauthorized use, disclosure, or dissemination of its own Confidential Information of a similar nature, but not less than reasonable care. End User may disclose Confidential Information as required to comply with binding orders of governmental entities that have jurisdiction over it; provided that End User gives ARCBLOCK reasonable written notice to allow ARCBLOCK to seek a protective order or other appropriate remedy, discloses only such Confidential Information as is required by the governmental entity, and uses commercially reasonable efforts to obtain confidential treatment for any Confidential Information disclosed. End User recognizes and agrees that there is no adequate remedy at law for a breach of this Section, that such a breach would irreparably harm ARCBLOCK and that ARCBLOCK is entitled to equitable relief (without need to post a bond) with respect to any such breach or potential breach in addition to any other remedies."}),e.jsx("p",{children:"8.4. Indemnity. End User shall defend, indemnify and hold harmless ARCBLOCK, and its officers, directors, employees and agents (the ARCBLOCK indemnities’), from and against all suits, claims, demands, losses, liabilities, damages and expenses (including reasonable attorneys' fees and costs) that the ARCBLOCK Indemnities may suffer or incur in connection with: (i) any third party claim arising from End User's breach of this Agreement; and (ii) any infringement by End User of ARCBLOCK's intellectual property rights in the Software."}),e.jsx("p",{children:"8.5. Entire Agreement and Waiver. The Agreement is the sole, final and entire agreement between the parties with respect to the subject matter hereof, may only be amended in writing signed by both ARCBLOCK License parties. A failure or delay in enforcing any provisions, exercising any option or requiring performance, be construed to be a waiver by ARCBLOCK."}),e.jsx("p",{children:"8.6. Marketing. ARCBLOCK may use End User's name and company logo on its customer list and web site, and link to End User's web site."}),e.jsx("p",{children:"8.7. Independent Contractor. The relationship of the parties is that of independent contractors. Neither party will be deemed to be the legal representative of the other nor will it have any right to bind the other party to any contract or commitment. This Agreement does not, and will not, be construed to create an employer employee, agency, joint venture or partnership relationship between the parties. Each party agrees to assume complete responsibility for its own employees regarding federal or state laws, including employers' liability and tax withholding, worker's compensation, social security, unemployment insurance, and OSHA requirements."}),e.jsx("p",{children:"8.8. Notices. All notices must be in writing and will be effective three (3) days after the date sent to each party's corporate headquarters."}),e.jsx("p",{children:"8.9. Audit. During the term of this Agreement and for one (1) year following termination or expiration (but no more than once in a calendar year), ARCBLOCK and its auditors may inspect End User's records relating to its reproduction and use of the Software for the purposes of verifying End User's compliance with this Agreement. End User shall cooperate fully with ARCBLOCK and its auditors in conducting audits and provide reasonable assistance. If an underpayment is discovered, End User shall promptly pay such amount and End User shall reimburse ARCBLOCK for the cost of the audit."}),e.jsx("p",{children:`8.10. Government Regulation. End User acknowledges that the Software is subject to export restrictions by the U.S. government and import restrictions by certain foreign governments. End User may not export or re-export the Software except in compliance with the U.S. Export Administration Act and the related rules and regulations and similar non-U.S. government restrictions, if applicable. End User shall not and shall not allow any third party to remove or export from the United States or allow the export or re export of any part of the Software or any direct product thereof: (i) into (or to a national or resident of) any embargoed or terrorist supporting country; (ii) to anyone on the U.S. Commerce Department's Table of Denial Orders or U.S. Treasury Department's list of Specially Designated Nationals; (iii) to any country to which such export or re export is restricted or prohibited, or as to which the U.S. government or any agency thereof requires an export license or other governmental approval at the time of export or re export without first obtaining such license or approval; or (iv) otherwise in violation of any export or import restrictions, laws or regulations of any United States or foreign agency or authority. End User agrees to the foregoing and warrants that it is not located in, under the control of, or a national or resident of any such prohibited country or on any such prohibited party list. The Software is further restricted from being used for terrorist activity, or for the design or development of nuclear, chemical, or biological weapons or missile technology without the prior permission of the U.S. government. The Software and accompanying documentation are deemed to be "commercial computer software" and "commercial computer software documentation", respectively, pursuant to DFAR Section 227.7202 and FAR Section 12.212(b), as applicable. Any use, modification, reproduction, release, performing, displaying or disclosing of the Software and related documentation by the U.S. Government shall be governed solely by the terms of this Agreement.`})]});function h(){const{t}=n.useContext(o);return e.jsxs(l,{children:[e.jsx(i,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:t("setup.steps.eula")}),e.jsx(s,{})]})}const l=a.main`
1
+ import{j as e,H as r,r as n,f as o,m as i,n as a}from"./index-DzlR4ROA.js";const s=({...t})=>e.jsxs("div",{...t,children:[e.jsx("h3",{children:"End User License Agreement for Blocklet Server"}),e.jsxs("p",{children:["Blocklet Server License Agreement ",r.COPYRIGHT_OWNER," version 2020-08-28"]}),e.jsx("p",{children:"Blocklet Server LICENSE AGREEMENT"}),e.jsxs("p",{children:["PLEASE READ THIS END USER LICENCE AGREEMENT CAREFULLY. This Blocklet Server License Agreement ('Agreement') is a legal agreement between you (the 'End User') and ",r.COPYRIGHT_OWNER," (ARCBLOCK) for the Blocklet Server software (the 'Software') licensed to End User hereunder and supplied to End User. The term Software includes any APIs, software modules, and any associated materials and 'online' or electronic documentation. This Agreement applies to End User's use of the Software but it shall be superseded by any signed agreement between End User and ARCBLOCK concerning the Software."]}),e.jsx("p",{children:"By installing or using the Software, You agree to accept and to be bound by this Agreement at all times. If You do not agree with one of these, please do not install or use the Software."}),e.jsx("h4",{children:"1. Software license"}),e.jsx("p",{children:"Notwithstanding any reference to 'sale' or 'purchase', the Software is licensed, not sold. Subject to the terms and conditions of this Agreement, ARCBLOCK grants End User a non-exclusive, non-transferable right to access and use the Software as part of the services for End User's use ('Authorized Use') in object form in the products, versions, and number of installed instances as purchased from ARCBLOCK."}),e.jsx("h4",{children:"2. Limitations"}),e.jsx("p",{children:"2.1. Restrictions. End User shall not itself, or through any parent, subsidiary, affiliate, agent or other third party: (a) sell, lease, license, distribute, sublicense or otherwise transfer in whole or in part, the Software to a third party; (b) decompile, disassemble, translate, reverse engineer or otherwise attempt to derive source code from the Software except to the limited extent, if any, that applicable law permits such acts notwithstanding any contractual prohibitions, provided, however, before End User exercises any rights that End User believes to be entitled to based on mandatory law, End User shall provide ARCBLOCK with thirty (30) days prior written notice and provide all reasonably requested information to allow ARCBLOCK to assess End User's claim and, at ARCBLOCK sole discretion, to provide alternatives that reduce any adverse impact on ARCBLOCK's intellectual property or other rights; (c) allow access or permit use of the Software by any third party except authorized third party contractors solely to provide services to End User, provided that End User shall be liable for all acts and omissions of such authorized third party contractors; (d) modify or create derivative works based upon the Software; (e) disclose the results of any benchmark test of the Software to any third party; (f) change any proprietary rights notices which appear in the Software; or (g) circumvent the license keys embedded within the Software."}),e.jsx("p",{children:"2.2. Software Transfer. Upon written consent from ARCBLOCK, which will not be unreasonably withheld, End User may permanently transfer all of its rights under this Agreement; provided that the recipient agrees to the terms of this Agreement."}),e.jsx("p",{children:"2.3. High Risk Activities. The Software is not intended for use in hazardous environments requiring fail safe performance (such as, without limitation, the planning, construction, maintenance, control, or direct operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, medical device and life support machines, or weapon systems) in which the failure of the Software could lead to death, personal injury or physical and environmental damage ('High Risk Activities'). Accordingly, this Agreement excludes any High Risk Activities and End User agrees not to use the Software in connection with High Risk Activities."}),e.jsx("h4",{children:"3. Ownership"}),e.jsx("p",{children:"The Software is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. ARCBLOCK owns all rights, title and interest in the copyrights, patents and all other intellectual property rights in and to the Software and any accompanying printed materials, and all derivative works thereof."}),e.jsx("h4",{children:"4. Open source programs"}),e.jsx("p",{children:"The Software may include individual open source software components, each of which has its own copyright and its own applicable license conditions. The open source software components are licensed to End User under the terms of the applicable open source license conditions and/or copyright notices that can be found in the licenses file, the related documentation or other materials accompanying the Software."}),e.jsx("h4",{children:"5. Trademarks"}),e.jsx("p",{children:"The marks 'ARCBLOCK', ‘BLOCKLETS’ and ‘Blocklet Server’ are trademarks of ARCBLOCK. ARCBLOCK's failure to list a trademark in this Section shall not constitute a waiver of any trademark rights. All other trademarks in the Software not owned by ARCBLOCK are the property of their respective owners."}),e.jsx("h4",{children:"6. Disclaimer and Warranty"}),e.jsx("p",{children:"6.1. DISCLAIMER OF WARRANTIES. THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND AND ARCBLOCK EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED OR ARISING OUT OF A COURSE OF CONDUCT OR COURSE OF DEALING, INCLUDING ALL WARRANTIES OF TITLE, PERFORMANCE, USE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON INFRINGEMENT AND THE ABSENCE OF LATENT OR OTHER DEFECTS, WHETHER OR NOT DISCOVERABLE. ARCBLOCK MAKES NO WARRANTY REGARDING NON INTERRUPTION OF USE. NO ORAL OR WRITTEN STATEMENT PROVIDED BY ARCBLOCK SHALL CREATE ANY WARRANTY."}),e.jsx("p",{children:"6.2. LIMITATION OF LIABILITY. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY END USER. ARCBLOCK SHALL NOT HAVE ANY LIABILITY TO END USER OR ANY OTHER PARTY FOR ANY INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER, INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUE, PROFIT OR OPPORTUNITY, LOST OR DAMAGED DATA OR OTHER COMMERCIAL OR ECONOMIC LOSS, EVEN IF ARCBLOCK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR THEY ARE FORESEEABLE. ARCBLOCK'S MAXIMUM AGGREGATE LIABILITY RELATING TO THIS AGREEMENT OR THE SOFTWARE SHALL NOT EXCEED THE AMOUNT PAID BY END USER FOR THE SOFTWARE."}),e.jsx("p",{children:"6.3. ALLOCATION. THE PROVISIONS OF THIS SECTION ALLOCATE RISKS UNDER THIS AGREEMENT BETWEEN ARCBLOCK AND END USER. ARCBLOCK'S LICENSING FEES FOR THE SOFTWARE REFLECT THIS ALLOCATION OF RISKS AND LIMITATION OF LIABILITY. THE FOREGOING LIMITATIONS, EXCLUSIONS AND DISCLAIMERS APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, EVEN IF ANY REMEDY FAILS IN ITS ESSENTIAL PURPOSE."}),e.jsx("p",{children:"6.4. Limitation. Because some jurisdictions do not allow certain disclaimers, exclusions or limitations of warranties, damages or liability, the above disclaimers, exclusions or limitations may not apply to End User and, therefore, shall apply only to the maximum extent allowed under applicable law."}),e.jsx("h4",{children:"7. Term"}),e.jsx("p",{children:"This Agreement is effective until terminated. End Users may terminate the Agreement at any time by returning or destroying all copies of the Software and related documentation. End User's rights under this Agreement will terminate automatically if End User fails to comply with the Agreement."}),e.jsx("h4",{children:"8. Miscellaneous"}),e.jsx("p",{children:"8.1. Governing Law. This Agreement shall be governed by the laws of the State of Washington, without reference to the principles of conflicts of law. The provisions of the Uniform Computerized Information Transaction Act and United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Agreement. Any litigation related to this Agreement shall be brought in the state or federal courts located in Washington, and only in those courts and each party irrevocably waives any objections to such venue. Notwithstanding anything to the contrary herein, ARCBLOCK shall be entitled to seek injunctive or other equitable relief, wherever ARCBLOCK deems appropriate in any jurisdiction, in order to preserve or enforce ARCBLOCK's rights for any breach or threatened breach of this Agreement."}),e.jsx("p",{children:"8.2. Severability. Every term, condition or provision of this Agreement is severable from the others. If a court or an arbitrator of competent jurisdiction holds any term, condition or provision of this Agreement to be invalid, unenforceable or illegal in whole or in part for any reason, the validity and enforceability of the remaining terms, conditions or provisions, or portions of them, will not be affected."}),e.jsx("p",{children:"8.3. Confidentiality. Except as expressly allowed by this Agreement, End User will not use or disclose any Software or related technology, idea, algorithm or information ('Confidential Information') except to the extent End User can document that it is generally available for use and disclosure by the public without charge or license. End User shall hold the Confidential Information in trust and confidence and avoid the disclosure or release thereof to any other person or entity by using the same degree of care as it uses to avoid unauthorized use, disclosure, or dissemination of its own Confidential Information of a similar nature, but not less than reasonable care. End User may disclose Confidential Information as required to comply with binding orders of governmental entities that have jurisdiction over it; provided that End User gives ARCBLOCK reasonable written notice to allow ARCBLOCK to seek a protective order or other appropriate remedy, discloses only such Confidential Information as is required by the governmental entity, and uses commercially reasonable efforts to obtain confidential treatment for any Confidential Information disclosed. End User recognizes and agrees that there is no adequate remedy at law for a breach of this Section, that such a breach would irreparably harm ARCBLOCK and that ARCBLOCK is entitled to equitable relief (without need to post a bond) with respect to any such breach or potential breach in addition to any other remedies."}),e.jsx("p",{children:"8.4. Indemnity. End User shall defend, indemnify and hold harmless ARCBLOCK, and its officers, directors, employees and agents (the ARCBLOCK indemnities’), from and against all suits, claims, demands, losses, liabilities, damages and expenses (including reasonable attorneys' fees and costs) that the ARCBLOCK Indemnities may suffer or incur in connection with: (i) any third party claim arising from End User's breach of this Agreement; and (ii) any infringement by End User of ARCBLOCK's intellectual property rights in the Software."}),e.jsx("p",{children:"8.5. Entire Agreement and Waiver. The Agreement is the sole, final and entire agreement between the parties with respect to the subject matter hereof, may only be amended in writing signed by both ARCBLOCK License parties. A failure or delay in enforcing any provisions, exercising any option or requiring performance, be construed to be a waiver by ARCBLOCK."}),e.jsx("p",{children:"8.6. Marketing. ARCBLOCK may use End User's name and company logo on its customer list and web site, and link to End User's web site."}),e.jsx("p",{children:"8.7. Independent Contractor. The relationship of the parties is that of independent contractors. Neither party will be deemed to be the legal representative of the other nor will it have any right to bind the other party to any contract or commitment. This Agreement does not, and will not, be construed to create an employer employee, agency, joint venture or partnership relationship between the parties. Each party agrees to assume complete responsibility for its own employees regarding federal or state laws, including employers' liability and tax withholding, worker's compensation, social security, unemployment insurance, and OSHA requirements."}),e.jsx("p",{children:"8.8. Notices. All notices must be in writing and will be effective three (3) days after the date sent to each party's corporate headquarters."}),e.jsx("p",{children:"8.9. Audit. During the term of this Agreement and for one (1) year following termination or expiration (but no more than once in a calendar year), ARCBLOCK and its auditors may inspect End User's records relating to its reproduction and use of the Software for the purposes of verifying End User's compliance with this Agreement. End User shall cooperate fully with ARCBLOCK and its auditors in conducting audits and provide reasonable assistance. If an underpayment is discovered, End User shall promptly pay such amount and End User shall reimburse ARCBLOCK for the cost of the audit."}),e.jsx("p",{children:`8.10. Government Regulation. End User acknowledges that the Software is subject to export restrictions by the U.S. government and import restrictions by certain foreign governments. End User may not export or re-export the Software except in compliance with the U.S. Export Administration Act and the related rules and regulations and similar non-U.S. government restrictions, if applicable. End User shall not and shall not allow any third party to remove or export from the United States or allow the export or re export of any part of the Software or any direct product thereof: (i) into (or to a national or resident of) any embargoed or terrorist supporting country; (ii) to anyone on the U.S. Commerce Department's Table of Denial Orders or U.S. Treasury Department's list of Specially Designated Nationals; (iii) to any country to which such export or re export is restricted or prohibited, or as to which the U.S. government or any agency thereof requires an export license or other governmental approval at the time of export or re export without first obtaining such license or approval; or (iv) otherwise in violation of any export or import restrictions, laws or regulations of any United States or foreign agency or authority. End User agrees to the foregoing and warrants that it is not located in, under the control of, or a national or resident of any such prohibited country or on any such prohibited party list. The Software is further restricted from being used for terrorist activity, or for the design or development of nuclear, chemical, or biological weapons or missile technology without the prior permission of the U.S. government. The Software and accompanying documentation are deemed to be "commercial computer software" and "commercial computer software documentation", respectively, pursuant to DFAR Section 227.7202 and FAR Section 12.212(b), as applicable. Any use, modification, reproduction, release, performing, displaying or disclosing of the Software and related documentation by the U.S. Government shall be governed solely by the terms of this Agreement.`})]});function h(){const{t}=n.useContext(o);return e.jsxs(l,{children:[e.jsx(i,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:t("setup.steps.eula")}),e.jsx(s,{})]})}const l=a.main`
2
2
  .page-header {
3
3
  display: flex;
4
4
  justify-content: space-between;
@@ -1 +1 @@
1
- import{eU as b}from"./index-Cwi3bFQC.js";function c(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function A(o,e){for(var r="",i=0,l=-1,t=0,n,f=0;f<=o.length;++f){if(f<o.length)n=o.charCodeAt(f);else{if(n===47)break;n=47}if(n===47){if(!(l===f-1||t===1))if(l!==f-1&&t===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){s===-1?(r="",i=0):(r=r.slice(0,s),i=r.length-1-r.lastIndexOf("/")),l=f,t=0;continue}}else if(r.length===2||r.length===1){r="",i=0,l=f,t=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+o.slice(l+1,f):r=o.slice(l+1,f),i=f-l-1;l=f,t=0}else n===46&&t!==-1?++t:t=-1}return r}function h(o,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+o+i:i}var g={resolve:function(){for(var e="",r=!1,i,l=arguments.length-1;l>=-1&&!r;l--){var t;l>=0?t=arguments[l]:(i===void 0&&(i=b.cwd()),t=i),c(t),t.length!==0&&(e=t+"/"+e,r=t.charCodeAt(0)===47)}return e=A(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=A(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var l=e.length,t=l-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var f=r.length,s=f-n,v=t<s?t:s,u=-1,a=0;a<=v;++a){if(a===v){if(s>v){if(r.charCodeAt(n+a)===47)return r.slice(n+a+1);if(a===0)return r.slice(n+a)}else t>v&&(e.charCodeAt(i+a)===47?u=a:a===0&&(u=0));break}var m=e.charCodeAt(i+a),C=r.charCodeAt(n+a);if(m!==C)break;m===47&&(u=a)}var d="";for(a=i+u+1;a<=l;++a)(a===l||e.charCodeAt(a)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,l=-1,t=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!t){l=n;break}}else t=!1;return l===-1?i?"/":".":i&&l===1?"//":e.slice(0,l)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,l=-1,t=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,s=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!t){i=n+1;break}}else s===-1&&(t=!1,s=n+1),f>=0&&(v===r.charCodeAt(f)?--f===-1&&(l=n):(f=-1,l=s))}return i===l?l=s:l===-1&&(l=e.length),e.slice(i,l)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!t){i=n+1;break}}else l===-1&&(t=!1,l=n+1);return l===-1?"":e.slice(i,l)}},extname:function(e){c(e);for(var r=-1,i=0,l=-1,t=!0,n=0,f=e.length-1;f>=0;--f){var s=e.charCodeAt(f);if(s===47){if(!t){i=f+1;break}continue}l===-1&&(t=!1,l=f+1),s===46?r===-1?r=f:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||l===-1||n===0||n===1&&r===l-1&&r===i+1?"":e.slice(r,l)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),l=i===47,t;l?(r.root="/",t=1):t=0;for(var n=-1,f=0,s=-1,v=!0,u=e.length-1,a=0;u>=t;--u){if(i=e.charCodeAt(u),i===47){if(!v){f=u+1;break}continue}s===-1&&(v=!1,s=u+1),i===46?n===-1?n=u:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||s===-1||a===0||a===1&&n===s-1&&n===f+1?s!==-1&&(f===0&&l?r.base=r.name=e.slice(1,s):r.base=r.name=e.slice(f,s)):(f===0&&l?(r.name=e.slice(1,n),r.base=e.slice(1,s)):(r.name=e.slice(f,n),r.base=e.slice(f,s)),r.ext=e.slice(n,s)),f>0?r.dir=e.slice(0,f-1):l&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g;export{y as p};
1
+ import{eU as b}from"./index-DzlR4ROA.js";function c(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function A(o,e){for(var r="",i=0,l=-1,t=0,n,f=0;f<=o.length;++f){if(f<o.length)n=o.charCodeAt(f);else{if(n===47)break;n=47}if(n===47){if(!(l===f-1||t===1))if(l!==f-1&&t===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){s===-1?(r="",i=0):(r=r.slice(0,s),i=r.length-1-r.lastIndexOf("/")),l=f,t=0;continue}}else if(r.length===2||r.length===1){r="",i=0,l=f,t=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+o.slice(l+1,f):r=o.slice(l+1,f),i=f-l-1;l=f,t=0}else n===46&&t!==-1?++t:t=-1}return r}function h(o,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+o+i:i}var g={resolve:function(){for(var e="",r=!1,i,l=arguments.length-1;l>=-1&&!r;l--){var t;l>=0?t=arguments[l]:(i===void 0&&(i=b.cwd()),t=i),c(t),t.length!==0&&(e=t+"/"+e,r=t.charCodeAt(0)===47)}return e=A(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=A(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var l=e.length,t=l-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var f=r.length,s=f-n,v=t<s?t:s,u=-1,a=0;a<=v;++a){if(a===v){if(s>v){if(r.charCodeAt(n+a)===47)return r.slice(n+a+1);if(a===0)return r.slice(n+a)}else t>v&&(e.charCodeAt(i+a)===47?u=a:a===0&&(u=0));break}var m=e.charCodeAt(i+a),C=r.charCodeAt(n+a);if(m!==C)break;m===47&&(u=a)}var d="";for(a=i+u+1;a<=l;++a)(a===l||e.charCodeAt(a)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,l=-1,t=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!t){l=n;break}}else t=!1;return l===-1?i?"/":".":i&&l===1?"//":e.slice(0,l)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,l=-1,t=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,s=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!t){i=n+1;break}}else s===-1&&(t=!1,s=n+1),f>=0&&(v===r.charCodeAt(f)?--f===-1&&(l=n):(f=-1,l=s))}return i===l?l=s:l===-1&&(l=e.length),e.slice(i,l)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!t){i=n+1;break}}else l===-1&&(t=!1,l=n+1);return l===-1?"":e.slice(i,l)}},extname:function(e){c(e);for(var r=-1,i=0,l=-1,t=!0,n=0,f=e.length-1;f>=0;--f){var s=e.charCodeAt(f);if(s===47){if(!t){i=f+1;break}continue}l===-1&&(t=!1,l=f+1),s===46?r===-1?r=f:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||l===-1||n===0||n===1&&r===l-1&&r===i+1?"":e.slice(r,l)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),l=i===47,t;l?(r.root="/",t=1):t=0;for(var n=-1,f=0,s=-1,v=!0,u=e.length-1,a=0;u>=t;--u){if(i=e.charCodeAt(u),i===47){if(!v){f=u+1;break}continue}s===-1&&(v=!1,s=u+1),i===46?n===-1?n=u:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||s===-1||a===0||a===1&&n===s-1&&n===f+1?s!==-1&&(f===0&&l?r.base=r.name=e.slice(1,s):r.base=r.name=e.slice(f,s)):(f===0&&l?(r.name=e.slice(1,n),r.base=e.slice(1,s)):(r.name=e.slice(f,n),r.base=e.slice(f,s)),r.ext=e.slice(n,s)),f>0?r.dir=e.slice(0,f-1):l&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g;export{y as p};
@@ -1,4 +1,4 @@
1
- import{aK as S,aL as _,j as e,bl as D,r as p,f as O,m as u,aZ as U,a_ as E,V as F,cb as V,B as $,C as k,bd as K,a6 as Q,a7 as R,O as Z,cc as w,cd as A,ce as L,a8 as I,a5 as P,ax as T,a2 as M,Q as G,at as H,n as J,P as i,o as W,cf as X}from"./index-Cwi3bFQC.js";import{f as Y}from"./index-BojVbZw0.js";import{P as ee}from"./Pagination-BJP77u5l.js";import"./LastPage-DT2e5BXx.js";var x={},te=_;Object.defineProperty(x,"__esModule",{value:!0});var g=x.default=void 0,ie=te(S()),ae=e;g=x.default=(0,ie.default)((0,ae.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff");function h({api:a,paging:o,loading:c,notifications:s,updateNotifications:r,teamDid:j}){const{inService:d}=D(),[m,q]=p.useState(!0),[y,b]=p.useState(!1),{t:n,locale:v}=p.useContext(O),z=async()=>{b(!0);const t=s.filter(l=>l.read===!1).map(l=>l.id).join(",");d?await a.readBlockletNotifications({input:{id:t,teamDid:j}}):await a.readNotifications({input:{id:t}}),r(),b(!1)},N=async t=>{d?await a.readBlockletNotifications({input:{id:t,teamDid:j}}):await a.readNotifications({input:{id:t}}),r()},f=m?s:s.filter(t=>t.read===!1),B=s.filter(t=>t.read===!1).length>0,C=t=>e.jsxs("div",{className:"title",children:[t.title," ",e.jsx("span",{className:"time-ago",title:H(t.createdAt,v),children:Y(new Date(t.createdAt),W(v))})]});return e.jsxs(se,{children:[e.jsxs(u,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:[n("notification.title"),e.jsxs(u,{component:"span",className:"notification-actions",children:[e.jsx(U,{control:e.jsx(E,{checked:m,onChange:()=>q(!m),name:"showRead",color:"primary"}),label:n("notification.showRead")}),e.jsx(F,{permission:d?"":"mutate_notification",role:d?V:[],children:B&&e.jsxs($,{disabled:y,onClick:z,className:"",children:[y&&e.jsx(k,{size:16,style:{marginRight:"1em"}}),n("notification.markAllAsRead")]})})]})]}),e.jsx(K,{}),e.jsxs(Q,{className:"notification-list",children:[c&&e.jsx(k,{size:[32,20],style:{opacity:"0.8",zIndex:1e4,position:"fixed",top:30,left:"50%",marginLeft:-16}}),f.length===0&&e.jsx(u,{component:"p",variant:"body1",className:"notification-tip",children:n("notification.empty")}),f.length>0&&f.map(t=>t.action?e.jsxs(R,{component:Z,to:t.action,alignItems:"flex-start",disabled:t.read,children:[e.jsx(w,{className:"list-item-avatar",children:e.jsxs(e.Fragment,{children:[e.jsx(A,{children:t.entityType.substr(0,1).toUpperCase()}),e.jsx(L,{className:"notification-tag",status:t.severity})]})}),e.jsx(I,{className:"list-item-text",classes:{secondary:"list-item-secondary-text"},primary:C(t),secondary:t.description}),t.read===!1&&e.jsx(P,{children:e.jsx(T,{title:n("notification.markAsRead"),children:e.jsx(M,{edge:"end","aria-label":"delete",onClick:()=>N(t.id),size:"large",children:e.jsx(g,{})})})})]},t.id):e.jsxs(R,{alignItems:"flex-start",disabled:t.read,children:[e.jsx(w,{className:"list-item-avatar",children:e.jsxs(e.Fragment,{children:[e.jsx(A,{children:t.entityType.substr(0,1).toUpperCase()}),e.jsx(L,{className:"notification-tag",status:t.severity})]})}),e.jsx(I,{className:"list-item-text",classes:{secondary:"list-item-secondary-text"},primary:C(t),secondary:t.description}),t.read===!1&&e.jsx(P,{children:e.jsx(T,{title:n("notification.markAsRead"),children:e.jsx(M,{edge:"end","aria-label":"delete",onClick:()=>N(t.id),size:"large",children:e.jsx(g,{})})})})]},t.id))]}),!!f.length&&o.pageCount>1&&e.jsx(G,{mt:2,display:"flex",justifyContent:"flex-end",children:e.jsx(ee,{disabled:c,count:o.pageCount,page:o.page,onChange:(t,l)=>{r({page:l})}})})]})}const se=J.div`
1
+ import{aK as S,aL as _,j as e,bl as D,r as p,f as O,m as u,aZ as U,a_ as E,V as F,cb as V,B as $,C as k,bd as K,a6 as Q,a7 as R,O as Z,cc as w,cd as A,ce as L,a8 as I,a5 as P,ax as T,a2 as M,Q as G,at as H,n as J,P as i,o as W,cf as X}from"./index-DzlR4ROA.js";import{f as Y}from"./index-BojVbZw0.js";import{P as ee}from"./Pagination-BfGbGnHW.js";import"./LastPage-BmNCoOR7.js";var x={},te=_;Object.defineProperty(x,"__esModule",{value:!0});var g=x.default=void 0,ie=te(S()),ae=e;g=x.default=(0,ie.default)((0,ae.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff");function h({api:a,paging:o,loading:c,notifications:s,updateNotifications:r,teamDid:j}){const{inService:d}=D(),[m,q]=p.useState(!0),[y,b]=p.useState(!1),{t:n,locale:v}=p.useContext(O),z=async()=>{b(!0);const t=s.filter(l=>l.read===!1).map(l=>l.id).join(",");d?await a.readBlockletNotifications({input:{id:t,teamDid:j}}):await a.readNotifications({input:{id:t}}),r(),b(!1)},N=async t=>{d?await a.readBlockletNotifications({input:{id:t,teamDid:j}}):await a.readNotifications({input:{id:t}}),r()},f=m?s:s.filter(t=>t.read===!1),B=s.filter(t=>t.read===!1).length>0,C=t=>e.jsxs("div",{className:"title",children:[t.title," ",e.jsx("span",{className:"time-ago",title:H(t.createdAt,v),children:Y(new Date(t.createdAt),W(v))})]});return e.jsxs(se,{children:[e.jsxs(u,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:[n("notification.title"),e.jsxs(u,{component:"span",className:"notification-actions",children:[e.jsx(U,{control:e.jsx(E,{checked:m,onChange:()=>q(!m),name:"showRead",color:"primary"}),label:n("notification.showRead")}),e.jsx(F,{permission:d?"":"mutate_notification",role:d?V:[],children:B&&e.jsxs($,{disabled:y,onClick:z,className:"",children:[y&&e.jsx(k,{size:16,style:{marginRight:"1em"}}),n("notification.markAllAsRead")]})})]})]}),e.jsx(K,{}),e.jsxs(Q,{className:"notification-list",children:[c&&e.jsx(k,{size:[32,20],style:{opacity:"0.8",zIndex:1e4,position:"fixed",top:30,left:"50%",marginLeft:-16}}),f.length===0&&e.jsx(u,{component:"p",variant:"body1",className:"notification-tip",children:n("notification.empty")}),f.length>0&&f.map(t=>t.action?e.jsxs(R,{component:Z,to:t.action,alignItems:"flex-start",disabled:t.read,children:[e.jsx(w,{className:"list-item-avatar",children:e.jsxs(e.Fragment,{children:[e.jsx(A,{children:t.entityType.substr(0,1).toUpperCase()}),e.jsx(L,{className:"notification-tag",status:t.severity})]})}),e.jsx(I,{className:"list-item-text",classes:{secondary:"list-item-secondary-text"},primary:C(t),secondary:t.description}),t.read===!1&&e.jsx(P,{children:e.jsx(T,{title:n("notification.markAsRead"),children:e.jsx(M,{edge:"end","aria-label":"delete",onClick:()=>N(t.id),size:"large",children:e.jsx(g,{})})})})]},t.id):e.jsxs(R,{alignItems:"flex-start",disabled:t.read,children:[e.jsx(w,{className:"list-item-avatar",children:e.jsxs(e.Fragment,{children:[e.jsx(A,{children:t.entityType.substr(0,1).toUpperCase()}),e.jsx(L,{className:"notification-tag",status:t.severity})]})}),e.jsx(I,{className:"list-item-text",classes:{secondary:"list-item-secondary-text"},primary:C(t),secondary:t.description}),t.read===!1&&e.jsx(P,{children:e.jsx(T,{title:n("notification.markAsRead"),children:e.jsx(M,{edge:"end","aria-label":"delete",onClick:()=>N(t.id),size:"large",children:e.jsx(g,{})})})})]},t.id))]}),!!f.length&&o.pageCount>1&&e.jsx(G,{mt:2,display:"flex",justifyContent:"flex-end",children:e.jsx(ee,{disabled:c,count:o.pageCount,page:o.page,onChange:(t,l)=>{r({page:l})}})})]})}const se=J.div`
2
2
  min-height: 60vh;
3
3
 
4
4
  .page-header {
@@ -1 +1 @@
1
- import{bP as $,bQ as x,bK as d,bX as e,bW as y,bY as k,eN as C,eO as m,r as M,bR as z,bO as j,bM as l,j as s,bT as R,bU as B,s as T,P as O,aZ as P}from"./index-Cwi3bFQC.js";function E(t){return x("MuiSwitch",t)}const o=$("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),N=["className","color","edge","size","sx"],D=t=>{const{classes:a,edge:i,size:r,color:p,checked:u,disabled:b}=t,h={root:["root",i&&`edge${e(i)}`,`size${e(r)}`],switchBase:["switchBase",`color${e(p)}`,u&&"checked",b&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},g=B(h,E,a);return l({},a,g)},_=d("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:i}=t;return[a.root,i.edge&&a[`edge${e(i.edge)}`],a[`size${e(i.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${o.thumb}`]:{width:16,height:16},[`& .${o.switchBase}`]:{padding:4,[`&.${o.checked}`]:{transform:"translateX(16px)"}}}}]}),I=d(y,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,a)=>{const{ownerState:i}=t;return[a.switchBase,{[`& .${o.input}`]:a.input},i.color!=="default"&&a[`color${e(i.color)}`]]}})(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${o.checked}`]:{transform:"translateX(20px)"},[`&.${o.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${o.checked} + .${o.track}`]:{opacity:.5},[`&.${o.disabled} + .${o.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${o.input}`]:{left:"-100%",width:"300%"}}),({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:k(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(([,a])=>a.main&&a.light).map(([a])=>({props:{color:a},style:{[`&.${o.checked}`]:{color:(t.vars||t).palette[a].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[a].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:k(t.palette[a].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${o.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${a}DisabledColor`]:`${t.palette.mode==="light"?C(t.palette[a].main,.62):m(t.palette[a].main,.55)}`}},[`&.${o.checked} + .${o.track}`]:{backgroundColor:(t.vars||t).palette[a].main}}}))]})),U=d("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,a)=>a.track})(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`})),A=d("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,a)=>a.thumb})(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),X=M.forwardRef(function(a,i){const r=z({props:a,name:"MuiSwitch"}),{className:p,color:u="primary",edge:b=!1,size:h="medium",sx:g}=r,f=j(r,N),c=l({},r,{color:u,edge:b,size:h}),n=D(c),w=s.jsx(A,{className:n.thumb,ownerState:c});return s.jsxs(_,{className:R(n.root,p),sx:g,ownerState:c,children:[s.jsx(I,l({type:"checkbox",icon:w,checkedIcon:w,ref:i,ownerState:c},f,{classes:l({},n,{root:n.switchBase})})),s.jsx(U,{className:n.track,ownerState:c})]})}),v=T(t=>s.jsx(X,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...t}))(({theme:t})=>({width:42,height:26,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:t.palette.mode==="dark"?"#2ECA45":"#65C466",opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:t.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:t.palette.mode==="light"?"#E9E9EA":"#39393D",opacity:1,transition:t.transitions.create(["background-color"],{duration:500})}}));function S({labelProps:t,...a}){return t?s.jsx(P,{control:s.jsx(v,{...a}),...t}):s.jsx(v,{...a})}S.propTypes={labelProps:O.object};S.defaultProps={labelProps:null};export{S,X as a};
1
+ import{bP as $,bQ as x,bK as d,bX as e,bW as y,bY as k,eN as C,eO as m,r as M,bR as z,bO as j,bM as l,j as s,bT as R,bU as B,s as T,P as O,aZ as P}from"./index-DzlR4ROA.js";function E(t){return x("MuiSwitch",t)}const o=$("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),N=["className","color","edge","size","sx"],D=t=>{const{classes:a,edge:i,size:r,color:p,checked:u,disabled:b}=t,h={root:["root",i&&`edge${e(i)}`,`size${e(r)}`],switchBase:["switchBase",`color${e(p)}`,u&&"checked",b&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},g=B(h,E,a);return l({},a,g)},_=d("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:i}=t;return[a.root,i.edge&&a[`edge${e(i.edge)}`],a[`size${e(i.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${o.thumb}`]:{width:16,height:16},[`& .${o.switchBase}`]:{padding:4,[`&.${o.checked}`]:{transform:"translateX(16px)"}}}}]}),I=d(y,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,a)=>{const{ownerState:i}=t;return[a.switchBase,{[`& .${o.input}`]:a.input},i.color!=="default"&&a[`color${e(i.color)}`]]}})(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${o.checked}`]:{transform:"translateX(20px)"},[`&.${o.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${o.checked} + .${o.track}`]:{opacity:.5},[`&.${o.disabled} + .${o.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${o.input}`]:{left:"-100%",width:"300%"}}),({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:k(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(([,a])=>a.main&&a.light).map(([a])=>({props:{color:a},style:{[`&.${o.checked}`]:{color:(t.vars||t).palette[a].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[a].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:k(t.palette[a].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${o.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${a}DisabledColor`]:`${t.palette.mode==="light"?C(t.palette[a].main,.62):m(t.palette[a].main,.55)}`}},[`&.${o.checked} + .${o.track}`]:{backgroundColor:(t.vars||t).palette[a].main}}}))]})),U=d("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,a)=>a.track})(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`})),A=d("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,a)=>a.thumb})(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),X=M.forwardRef(function(a,i){const r=z({props:a,name:"MuiSwitch"}),{className:p,color:u="primary",edge:b=!1,size:h="medium",sx:g}=r,f=j(r,N),c=l({},r,{color:u,edge:b,size:h}),n=D(c),w=s.jsx(A,{className:n.thumb,ownerState:c});return s.jsxs(_,{className:R(n.root,p),sx:g,ownerState:c,children:[s.jsx(I,l({type:"checkbox",icon:w,checkedIcon:w,ref:i,ownerState:c},f,{classes:l({},n,{root:n.switchBase})})),s.jsx(U,{className:n.track,ownerState:c})]})}),v=T(t=>s.jsx(X,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...t}))(({theme:t})=>({width:42,height:26,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:t.palette.mode==="dark"?"#2ECA45":"#65C466",opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:t.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:t.palette.mode==="light"?"#E9E9EA":"#39393D",opacity:1,transition:t.transitions.create(["background-color"],{duration:500})}}));function S({labelProps:t,...a}){return t?s.jsx(P,{control:s.jsx(v,{...a}),...t}):s.jsx(v,{...a})}S.propTypes={labelProps:O.object};S.defaultProps={labelProps:null};export{S,X as a};
@@ -1,4 +1,4 @@
1
- import{cN as Ie,g as _a,cL as je,r as D,cU as Er,cI as Ea}from"./index-Cwi3bFQC.js";import{c as Pa}from"./redux-CxE33JOf.js";var Le={exports:{}};Le.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",a=1,o=2,s=9007199254740991,c="[object Arguments]",f="[object Array]",d="[object AsyncFunction]",v="[object Boolean]",b="[object Date]",O="[object Error]",m="[object Function]",S="[object GeneratorFunction]",I="[object Map]",N="[object Number]",G="[object Null]",P="[object Object]",T="[object Promise]",p="[object Proxy]",A="[object RegExp]",$="[object Set]",k="[object String]",Y="[object Symbol]",ue="[object Undefined]",se="[object WeakMap]",Ot="[object ArrayBuffer]",ye="[object DataView]",nn="[object Float32Array]",an="[object Float64Array]",on="[object Int8Array]",un="[object Int16Array]",sn="[object Int32Array]",cn="[object Uint8Array]",fn="[object Uint8ClampedArray]",ln="[object Uint16Array]",dn="[object Uint32Array]",gn=/[\\^$.*+?()[\]{}|]/g,hn=/^\[object .+?Constructor\]$/,pn=/^(?:0|[1-9]\d*)$/,w={};w[nn]=w[an]=w[on]=w[un]=w[sn]=w[cn]=w[fn]=w[ln]=w[dn]=!0,w[c]=w[f]=w[Ot]=w[v]=w[ye]=w[b]=w[O]=w[m]=w[I]=w[N]=w[P]=w[A]=w[$]=w[k]=w[se]=!1;var Tt=typeof Ie=="object"&&Ie&&Ie.Object===Object&&Ie,vn=typeof self=="object"&&self&&self.Object===Object&&self,W=Tt||vn||Function("return this")(),wt=t&&!t.nodeType&&t,Ct=wt&&!0&&e&&!e.nodeType&&e,It=Ct&&Ct.exports===wt,Xe=It&&Tt.process,_t=function(){try{return Xe&&Xe.binding&&Xe.binding("util")}catch{}}(),Et=_t&&_t.isTypedArray;function yn(i,u){for(var l=-1,g=i==null?0:i.length,C=0,y=[];++l<g;){var E=i[l];u(E,l,i)&&(y[C++]=E)}return y}function mn(i,u){for(var l=-1,g=u.length,C=i.length;++l<g;)i[C+l]=u[l];return i}function bn(i,u){for(var l=-1,g=i==null?0:i.length;++l<g;)if(u(i[l],l,i))return!0;return!1}function Dn(i,u){for(var l=-1,g=Array(i);++l<i;)g[l]=u(l);return g}function Sn(i){return function(u){return i(u)}}function On(i,u){return i.has(u)}function Tn(i,u){return i==null?void 0:i[u]}function wn(i){var u=-1,l=Array(i.size);return i.forEach(function(g,C){l[++u]=[C,g]}),l}function Cn(i,u){return function(l){return i(u(l))}}function In(i){var u=-1,l=Array(i.size);return i.forEach(function(g){l[++u]=g}),l}var _n=Array.prototype,En=Function.prototype,me=Object.prototype,Ke=W["__core-js_shared__"],Pt=En.toString,B=me.hasOwnProperty,At=function(){var i=/[^.]+$/.exec(Ke&&Ke.keys&&Ke.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),kt=me.toString,Pn=RegExp("^"+Pt.call(B).replace(gn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rt=It?W.Buffer:void 0,be=W.Symbol,Mt=W.Uint8Array,$t=me.propertyIsEnumerable,An=_n.splice,Z=be?be.toStringTag:void 0,xt=Object.getOwnPropertySymbols,kn=Rt?Rt.isBuffer:void 0,Rn=Cn(Object.keys,Object),Ye=ie(W,"DataView"),ce=ie(W,"Map"),Ve=ie(W,"Promise"),Qe=ie(W,"Set"),Je=ie(W,"WeakMap"),fe=ie(Object,"create"),Mn=re(Ye),$n=re(ce),xn=re(Ve),Nn=re(Qe),jn=re(Je),Nt=be?be.prototype:void 0,Ze=Nt?Nt.valueOf:void 0;function ee(i){var u=-1,l=i==null?0:i.length;for(this.clear();++u<l;){var g=i[u];this.set(g[0],g[1])}}function Ln(){this.__data__=fe?fe(null):{},this.size=0}function Hn(i){var u=this.has(i)&&delete this.__data__[i];return this.size-=u?1:0,u}function Un(i){var u=this.__data__;if(fe){var l=u[i];return l===n?void 0:l}return B.call(u,i)?u[i]:void 0}function Fn(i){var u=this.__data__;return fe?u[i]!==void 0:B.call(u,i)}function qn(i,u){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=fe&&u===void 0?n:u,this}ee.prototype.clear=Ln,ee.prototype.delete=Hn,ee.prototype.get=Un,ee.prototype.has=Fn,ee.prototype.set=qn;function X(i){var u=-1,l=i==null?0:i.length;for(this.clear();++u<l;){var g=i[u];this.set(g[0],g[1])}}function Gn(){this.__data__=[],this.size=0}function Bn(i){var u=this.__data__,l=Se(u,i);if(l<0)return!1;var g=u.length-1;return l==g?u.pop():An.call(u,l,1),--this.size,!0}function zn(i){var u=this.__data__,l=Se(u,i);return l<0?void 0:u[l][1]}function Wn(i){return Se(this.__data__,i)>-1}function Xn(i,u){var l=this.__data__,g=Se(l,i);return g<0?(++this.size,l.push([i,u])):l[g][1]=u,this}X.prototype.clear=Gn,X.prototype.delete=Bn,X.prototype.get=zn,X.prototype.has=Wn,X.prototype.set=Xn;function te(i){var u=-1,l=i==null?0:i.length;for(this.clear();++u<l;){var g=i[u];this.set(g[0],g[1])}}function Kn(){this.size=0,this.__data__={hash:new ee,map:new(ce||X),string:new ee}}function Yn(i){var u=Oe(this,i).delete(i);return this.size-=u?1:0,u}function Vn(i){return Oe(this,i).get(i)}function Qn(i){return Oe(this,i).has(i)}function Jn(i,u){var l=Oe(this,i),g=l.size;return l.set(i,u),this.size+=l.size==g?0:1,this}te.prototype.clear=Kn,te.prototype.delete=Yn,te.prototype.get=Vn,te.prototype.has=Qn,te.prototype.set=Jn;function De(i){var u=-1,l=i==null?0:i.length;for(this.__data__=new te;++u<l;)this.add(i[u])}function Zn(i){return this.__data__.set(i,n),this}function ea(i){return this.__data__.has(i)}De.prototype.add=De.prototype.push=Zn,De.prototype.has=ea;function V(i){var u=this.__data__=new X(i);this.size=u.size}function ta(){this.__data__=new X,this.size=0}function ra(i){var u=this.__data__,l=u.delete(i);return this.size=u.size,l}function na(i){return this.__data__.get(i)}function aa(i){return this.__data__.has(i)}function ia(i,u){var l=this.__data__;if(l instanceof X){var g=l.__data__;if(!ce||g.length<r-1)return g.push([i,u]),this.size=++l.size,this;l=this.__data__=new te(g)}return l.set(i,u),this.size=l.size,this}V.prototype.clear=ta,V.prototype.delete=ra,V.prototype.get=na,V.prototype.has=aa,V.prototype.set=ia;function oa(i,u){var l=Te(i),g=!l&&Sa(i),C=!l&&!g&&et(i),y=!l&&!g&&!C&&zt(i),E=l||g||C||y,R=E?Dn(i.length,String):[],M=R.length;for(var _ in i)B.call(i,_)&&!(E&&(_=="length"||C&&(_=="offset"||_=="parent")||y&&(_=="buffer"||_=="byteLength"||_=="byteOffset")||va(_,M)))&&R.push(_);return R}function Se(i,u){for(var l=i.length;l--;)if(Ft(i[l][0],u))return l;return-1}function ua(i,u,l){var g=u(i);return Te(i)?g:mn(g,l(i))}function le(i){return i==null?i===void 0?ue:G:Z&&Z in Object(i)?ha(i):Da(i)}function jt(i){return de(i)&&le(i)==c}function Lt(i,u,l,g,C){return i===u?!0:i==null||u==null||!de(i)&&!de(u)?i!==i&&u!==u:sa(i,u,l,g,Lt,C)}function sa(i,u,l,g,C,y){var E=Te(i),R=Te(u),M=E?f:Q(i),_=R?f:Q(u);M=M==c?P:M,_=_==c?P:_;var j=M==P,q=_==P,x=M==_;if(x&&et(i)){if(!et(u))return!1;E=!0,j=!1}if(x&&!j)return y||(y=new V),E||zt(i)?Ht(i,u,l,g,C,y):da(i,u,M,l,g,C,y);if(!(l&a)){var L=j&&B.call(i,"__wrapped__"),H=q&&B.call(u,"__wrapped__");if(L||H){var J=L?i.value():i,K=H?u.value():u;return y||(y=new V),C(J,K,l,g,y)}}return x?(y||(y=new V),ga(i,u,l,g,C,y)):!1}function ca(i){if(!Bt(i)||ma(i))return!1;var u=qt(i)?Pn:hn;return u.test(re(i))}function fa(i){return de(i)&&Gt(i.length)&&!!w[le(i)]}function la(i){if(!ba(i))return Rn(i);var u=[];for(var l in Object(i))B.call(i,l)&&l!="constructor"&&u.push(l);return u}function Ht(i,u,l,g,C,y){var E=l&a,R=i.length,M=u.length;if(R!=M&&!(E&&M>R))return!1;var _=y.get(i);if(_&&y.get(u))return _==u;var j=-1,q=!0,x=l&o?new De:void 0;for(y.set(i,u),y.set(u,i);++j<R;){var L=i[j],H=u[j];if(g)var J=E?g(H,L,j,u,i,y):g(L,H,j,i,u,y);if(J!==void 0){if(J)continue;q=!1;break}if(x){if(!bn(u,function(K,ne){if(!On(x,ne)&&(L===K||C(L,K,l,g,y)))return x.push(ne)})){q=!1;break}}else if(!(L===H||C(L,H,l,g,y))){q=!1;break}}return y.delete(i),y.delete(u),q}function da(i,u,l,g,C,y,E){switch(l){case ye:if(i.byteLength!=u.byteLength||i.byteOffset!=u.byteOffset)return!1;i=i.buffer,u=u.buffer;case Ot:return!(i.byteLength!=u.byteLength||!y(new Mt(i),new Mt(u)));case v:case b:case N:return Ft(+i,+u);case O:return i.name==u.name&&i.message==u.message;case A:case k:return i==u+"";case I:var R=wn;case $:var M=g&a;if(R||(R=In),i.size!=u.size&&!M)return!1;var _=E.get(i);if(_)return _==u;g|=o,E.set(i,u);var j=Ht(R(i),R(u),g,C,y,E);return E.delete(i),j;case Y:if(Ze)return Ze.call(i)==Ze.call(u)}return!1}function ga(i,u,l,g,C,y){var E=l&a,R=Ut(i),M=R.length,_=Ut(u),j=_.length;if(M!=j&&!E)return!1;for(var q=M;q--;){var x=R[q];if(!(E?x in u:B.call(u,x)))return!1}var L=y.get(i);if(L&&y.get(u))return L==u;var H=!0;y.set(i,u),y.set(u,i);for(var J=E;++q<M;){x=R[q];var K=i[x],ne=u[x];if(g)var Wt=E?g(ne,K,x,u,i,y):g(K,ne,x,i,u,y);if(!(Wt===void 0?K===ne||C(K,ne,l,g,y):Wt)){H=!1;break}J||(J=x=="constructor")}if(H&&!J){var we=i.constructor,Ce=u.constructor;we!=Ce&&"constructor"in i&&"constructor"in u&&!(typeof we=="function"&&we instanceof we&&typeof Ce=="function"&&Ce instanceof Ce)&&(H=!1)}return y.delete(i),y.delete(u),H}function Ut(i){return ua(i,wa,pa)}function Oe(i,u){var l=i.__data__;return ya(u)?l[typeof u=="string"?"string":"hash"]:l.map}function ie(i,u){var l=Tn(i,u);return ca(l)?l:void 0}function ha(i){var u=B.call(i,Z),l=i[Z];try{i[Z]=void 0;var g=!0}catch{}var C=kt.call(i);return g&&(u?i[Z]=l:delete i[Z]),C}var pa=xt?function(i){return i==null?[]:(i=Object(i),yn(xt(i),function(u){return $t.call(i,u)}))}:Ca,Q=le;(Ye&&Q(new Ye(new ArrayBuffer(1)))!=ye||ce&&Q(new ce)!=I||Ve&&Q(Ve.resolve())!=T||Qe&&Q(new Qe)!=$||Je&&Q(new Je)!=se)&&(Q=function(i){var u=le(i),l=u==P?i.constructor:void 0,g=l?re(l):"";if(g)switch(g){case Mn:return ye;case $n:return I;case xn:return T;case Nn:return $;case jn:return se}return u});function va(i,u){return u=u??s,!!u&&(typeof i=="number"||pn.test(i))&&i>-1&&i%1==0&&i<u}function ya(i){var u=typeof i;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?i!=="__proto__":i===null}function ma(i){return!!At&&At in i}function ba(i){var u=i&&i.constructor,l=typeof u=="function"&&u.prototype||me;return i===l}function Da(i){return kt.call(i)}function re(i){if(i!=null){try{return Pt.call(i)}catch{}try{return i+""}catch{}}return""}function Ft(i,u){return i===u||i!==i&&u!==u}var Sa=jt(function(){return arguments}())?jt:function(i){return de(i)&&B.call(i,"callee")&&!$t.call(i,"callee")},Te=Array.isArray;function Oa(i){return i!=null&&Gt(i.length)&&!qt(i)}var et=kn||Ia;function Ta(i,u){return Lt(i,u)}function qt(i){if(!Bt(i))return!1;var u=le(i);return u==m||u==S||u==d||u==p}function Gt(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=s}function Bt(i){var u=typeof i;return i!=null&&(u=="object"||u=="function")}function de(i){return i!=null&&typeof i=="object"}var zt=Et?Sn(Et):fa;function wa(i){return Oa(i)?oa(i):la(i)}function Ca(){return[]}function Ia(){return!1}e.exports=Ta})(Le,Le.exports);var Aa=Le.exports;const As=_a(Aa);var F;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(F||(F={}));function h(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 o;if(t===void 0)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;o=new Error(t.replace(/%s/g,function(){return n[s++]})),o.name="Invariant Violation"}throw o.framesToPop=1,o}}var gt="dnd-core/INIT_COORDS",qe="dnd-core/BEGIN_DRAG",ht="dnd-core/PUBLISH_DRAG_SOURCE",Ge="dnd-core/HOVER",Be="dnd-core/DROP",ze="dnd-core/END_DRAG";function Xt(e,t){return{type:gt,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}function Pe(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pe=function(r){return typeof r}:Pe=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Pe(e)}function ka(e,t,r){return t.split(".").reduce(function(n,a){return n&&n[a]?n[a]:r||null},e)}function Ra(e,t){return e.filter(function(r){return r!==t})}function Pr(e){return Pe(e)==="object"}function Ma(e,t){var r=new Map,n=function(s){r.set(s,r.has(s)?r.get(s)+1:1)};e.forEach(n),t.forEach(n);var a=[];return r.forEach(function(o,s){o===1&&a.push(s)}),a}function $a(e,t){return e.filter(function(r){return t.indexOf(r)>-1})}var xa={type:gt,payload:{clientOffset:null,sourceClientOffset:null}};function Na(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,o=a===void 0?!0:a,s=n.clientOffset,c=n.getSourceClientOffset,f=e.getMonitor(),d=e.getRegistry();e.dispatch(Xt(s)),ja(r,f,d);var v=Ua(r,f);if(v===null){e.dispatch(xa);return}var b=null;if(s){if(!c)throw new Error("getSourceClientOffset must be defined");La(c),b=c(v)}e.dispatch(Xt(s,b));var O=d.getSource(v),m=O.beginDrag(f,v);Ha(m),d.pinSource(v);var S=d.getSourceType(v);return{type:qe,payload:{itemType:S,item:m,sourceId:v,clientOffset:s||null,sourceClientOffset:b||null,isSourcePublic:!!o}}}}function ja(e,t,r){h(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(n){h(r.getSource(n),"Expected sourceIds to be registered.")})}function La(e){h(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function Ha(e){h(Pr(e),"Item must be an object.")}function Ua(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 Fa(e){return function(){var r=e.getMonitor();if(r.isDragging())return{type:ht}}}function ot(e,t){return t===null?e===null:Array.isArray(e)?e.some(function(r){return r===t}):e===t}function qa(e){return function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.clientOffset;Ga(r);var o=r.slice(0),s=e.getMonitor(),c=e.getRegistry();Ba(o,s,c);var f=s.getItemType();return za(o,c,f),Wa(o,s,c),{type:Ge,payload:{targetIds:o,clientOffset:a||null}}}}function Ga(e){h(Array.isArray(e),"Expected targetIds to be an array.")}function Ba(e,t,r){h(t.isDragging(),"Cannot call hover while not dragging."),h(!t.didDrop(),"Cannot call hover after drop.");for(var n=0;n<e.length;n++){var a=e[n];h(e.lastIndexOf(a)===n,"Expected targetIds to be unique in the passed array.");var o=r.getTarget(a);h(o,"Expected targetIds to be registered.")}}function za(e,t,r){for(var n=e.length-1;n>=0;n--){var a=e[n],o=t.getTargetType(a);ot(o,r)||e.splice(n,1)}}function Wa(e,t,r){e.forEach(function(n){var a=r.getTarget(n);a.hover(t,n)})}function Kt(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 Yt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Kt(Object(r),!0).forEach(function(n){Xa(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Xa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.getMonitor(),a=e.getRegistry();Ya(n);var o=Ja(n);o.forEach(function(s,c){var f=Va(s,c,a,n),d={type:Be,payload:{dropResult:Yt(Yt({},r),f)}};e.dispatch(d)})}}function Ya(e){h(e.isDragging(),"Cannot call drop while not dragging."),h(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function Va(e,t,r,n){var a=r.getTarget(e),o=a?a.drop(n,e):void 0;return Qa(o),typeof o>"u"&&(o=t===0?{}:n.getDropResult()),o}function Qa(e){h(typeof e>"u"||Pr(e),"Drop result must either be an object or undefined.")}function Ja(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function Za(e){return function(){var r=e.getMonitor(),n=e.getRegistry();ei(r);var a=r.getSourceId();if(a!=null){var o=n.getSource(a,!0);o.endDrag(r,a),n.unpinSource()}return{type:ze}}}function ei(e){h(e.isDragging(),"Cannot call endDrag while not dragging.")}function ti(e){return{beginDrag:Na(e),publishDragSource:Fa(e),hover:qa(e),drop:Ka(e),endDrag:Za(e)}}var ri=function(t,r){return t===r};function ni(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function ai(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ri;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 Vt(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 Qt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vt(Object(r),!0).forEach(function(n){ii(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Jt={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function oi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jt,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case gt:case qe:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case Ge:return ni(e.clientOffset,r.clientOffset)?e:Qt(Qt({},e),{},{clientOffset:r.clientOffset});case ze:case Be:return Jt;default:return e}}var pt="dnd-core/ADD_SOURCE",vt="dnd-core/ADD_TARGET",yt="dnd-core/REMOVE_SOURCE",We="dnd-core/REMOVE_TARGET";function ui(e){return{type:pt,payload:{sourceId:e}}}function si(e){return{type:vt,payload:{targetId:e}}}function ci(e){return{type:yt,payload:{sourceId:e}}}function fi(e){return{type:We,payload:{targetId:e}}}function Zt(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 U(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zt(Object(r),!0).forEach(function(n){li(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var di={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function gi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:di,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case qe:return U(U({},e),{},{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case ht:return U(U({},e),{},{isSourcePublic:!0});case Ge:return U(U({},e),{},{targetIds:r.targetIds});case We:return e.targetIds.indexOf(r.targetId)===-1?e:U(U({},e),{},{targetIds:Ra(e.targetIds,r.targetId)});case Be:return U(U({},e),{},{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case ze:return U(U({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function hi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case pt:case vt:return e+1;case yt:case We:return e-1;default:return e}}var He=[],mt=[];He.__IS_NONE__=!0;mt.__IS_ALL__=!0;function pi(e,t){if(e===He)return!1;if(e===mt||typeof t>"u")return!0;var r=$a(t,e);return r.length>0}function vi(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Ge:break;case pt:case vt:case We:case yt:return He;case qe:case ht:case ze:case Be:default:return mt}var t=e.payload,r=t.targetIds,n=r===void 0?[]:r,a=t.prevTargetIds,o=a===void 0?[]:a,s=Ma(n,o),c=s.length>0||!ai(n,o);if(!c)return He;var f=o[o.length-1],d=n[n.length-1];return f!==d&&(f&&s.push(f),d&&s.push(d)),s}function yi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return e+1}function er(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 tr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?er(Object(r),!0).forEach(function(n){mi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):er(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:vi(e.dirtyHandlerIds,{type:t.type,payload:tr(tr({},t.payload),{},{prevTargetIds:ka(e,"dragOperation.targetIds",[])})}),dragOffset:oi(e.dragOffset,t),refCount:hi(e.refCount,t),dragOperation:gi(e.dragOperation,t),stateId:yi(e.stateId)}}function Di(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Ar(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Si(e){var t=e.clientOffset,r=e.initialClientOffset,n=e.initialSourceClientOffset;return!t||!r||!n?null:Ar(Di(t,n),r)}function Oi(e){var t=e.clientOffset,r=e.initialClientOffset;return!t||!r?null:Ar(t,r)}function Ti(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(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 Ci(e,t,r){return t&&wi(e.prototype,t),e}var Ii=function(){function e(t,r){Ti(this,e),this.store=t,this.registry=r}return Ci(e,[{key:"subscribeToStateChange",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},o=a.handlerIds;h(typeof r=="function","listener must be a function."),h(typeof o>"u"||Array.isArray(o),"handlerIds, when specified, must be an array of strings.");var s=this.store.getState().stateId,c=function(){var d=n.store.getState(),v=d.stateId;try{var b=v===s||v===s+1&&!pi(d.dirtyHandlerIds,o);b||r()}finally{s=v}};return this.store.subscribe(c)}},{key:"subscribeToOffsetChange",value:function(r){var n=this;h(typeof r=="function","listener must be a function.");var a=this.store.getState().dragOffset,o=function(){var c=n.store.getState().dragOffset;c!==a&&(a=c,r())};return this.store.subscribe(o)}},{key:"canDragSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r);return h(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(h(n,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var a=this.registry.getTargetType(r),o=this.getItemType();return ot(a,o)&&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(h(n,"Expected to find a valid source."),!this.isDragging()||!this.isSourcePublic())return!1;var a=this.registry.getSourceType(r),o=this.getItemType();return a!==o?!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 o=this.registry.getTargetType(r),s=this.getItemType();if(s&&!ot(o,s))return!1;var c=this.getTargetIds();if(!c.length)return!1;var f=c.indexOf(r);return a?f===c.length-1:f>-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 Si(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return Oi(this.store.getState().dragOffset)}}]),e}(),_i=0;function Ei(){return _i++}function Ae(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ae=function(r){return typeof r}:Ae=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ae(e)}function Pi(e){h(typeof e.canDrag=="function","Expected canDrag to be a function."),h(typeof e.beginDrag=="function","Expected beginDrag to be a function."),h(typeof e.endDrag=="function","Expected endDrag to be a function.")}function Ai(e){h(typeof e.canDrop=="function","Expected canDrop to be a function."),h(typeof e.hover=="function","Expected hover to be a function."),h(typeof e.drop=="function","Expected beginDrag to be a function.")}function ut(e,t){if(t&&Array.isArray(e)){e.forEach(function(r){return ut(r,!1)});return}h(typeof e=="string"||Ae(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 rr=typeof je<"u"?je:self,kr=rr.MutationObserver||rr.WebKitMutationObserver;function Rr(e){return function(){const r=setTimeout(a,0),n=setInterval(a,50);function a(){clearTimeout(r),clearInterval(n),e()}}}function ki(e){let t=1;const r=new kr(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}const Ri=typeof kr=="function"?ki:Rr;class Mi{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=Ri(this.flush),this.requestErrorThrow=Rr(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class $i{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 xi{create(t){const r=this.freeTasks,n=r.length?r.pop():new $i(this.onError,a=>r[r.length]=a);return n.task=t,n}constructor(t){this.onError=t,this.freeTasks=[]}}const Mr=new Mi,Ni=new xi(Mr.registerPendingError);function ji(e){Mr.enqueueTask(Ni.create(e))}function Li(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hi(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 Ui(e,t,r){return t&&Hi(e.prototype,t),e}function Fi(e,t){return zi(e)||Bi(e,t)||Gi(e,t)||qi()}function qi(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{cN as Ie,g as _a,cL as je,r as D,cU as Er,cI as Ea}from"./index-DzlR4ROA.js";import{c as Pa}from"./redux-C4Q_CSvp.js";var Le={exports:{}};Le.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",a=1,o=2,s=9007199254740991,c="[object Arguments]",f="[object Array]",d="[object AsyncFunction]",v="[object Boolean]",b="[object Date]",O="[object Error]",m="[object Function]",S="[object GeneratorFunction]",I="[object Map]",N="[object Number]",G="[object Null]",P="[object Object]",T="[object Promise]",p="[object Proxy]",A="[object RegExp]",$="[object Set]",k="[object String]",Y="[object Symbol]",ue="[object Undefined]",se="[object WeakMap]",Ot="[object ArrayBuffer]",ye="[object DataView]",nn="[object Float32Array]",an="[object Float64Array]",on="[object Int8Array]",un="[object Int16Array]",sn="[object Int32Array]",cn="[object Uint8Array]",fn="[object Uint8ClampedArray]",ln="[object Uint16Array]",dn="[object Uint32Array]",gn=/[\\^$.*+?()[\]{}|]/g,hn=/^\[object .+?Constructor\]$/,pn=/^(?:0|[1-9]\d*)$/,w={};w[nn]=w[an]=w[on]=w[un]=w[sn]=w[cn]=w[fn]=w[ln]=w[dn]=!0,w[c]=w[f]=w[Ot]=w[v]=w[ye]=w[b]=w[O]=w[m]=w[I]=w[N]=w[P]=w[A]=w[$]=w[k]=w[se]=!1;var Tt=typeof Ie=="object"&&Ie&&Ie.Object===Object&&Ie,vn=typeof self=="object"&&self&&self.Object===Object&&self,W=Tt||vn||Function("return this")(),wt=t&&!t.nodeType&&t,Ct=wt&&!0&&e&&!e.nodeType&&e,It=Ct&&Ct.exports===wt,Xe=It&&Tt.process,_t=function(){try{return Xe&&Xe.binding&&Xe.binding("util")}catch{}}(),Et=_t&&_t.isTypedArray;function yn(i,u){for(var l=-1,g=i==null?0:i.length,C=0,y=[];++l<g;){var E=i[l];u(E,l,i)&&(y[C++]=E)}return y}function mn(i,u){for(var l=-1,g=u.length,C=i.length;++l<g;)i[C+l]=u[l];return i}function bn(i,u){for(var l=-1,g=i==null?0:i.length;++l<g;)if(u(i[l],l,i))return!0;return!1}function Dn(i,u){for(var l=-1,g=Array(i);++l<i;)g[l]=u(l);return g}function Sn(i){return function(u){return i(u)}}function On(i,u){return i.has(u)}function Tn(i,u){return i==null?void 0:i[u]}function wn(i){var u=-1,l=Array(i.size);return i.forEach(function(g,C){l[++u]=[C,g]}),l}function Cn(i,u){return function(l){return i(u(l))}}function In(i){var u=-1,l=Array(i.size);return i.forEach(function(g){l[++u]=g}),l}var _n=Array.prototype,En=Function.prototype,me=Object.prototype,Ke=W["__core-js_shared__"],Pt=En.toString,B=me.hasOwnProperty,At=function(){var i=/[^.]+$/.exec(Ke&&Ke.keys&&Ke.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),kt=me.toString,Pn=RegExp("^"+Pt.call(B).replace(gn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rt=It?W.Buffer:void 0,be=W.Symbol,Mt=W.Uint8Array,$t=me.propertyIsEnumerable,An=_n.splice,Z=be?be.toStringTag:void 0,xt=Object.getOwnPropertySymbols,kn=Rt?Rt.isBuffer:void 0,Rn=Cn(Object.keys,Object),Ye=ie(W,"DataView"),ce=ie(W,"Map"),Ve=ie(W,"Promise"),Qe=ie(W,"Set"),Je=ie(W,"WeakMap"),fe=ie(Object,"create"),Mn=re(Ye),$n=re(ce),xn=re(Ve),Nn=re(Qe),jn=re(Je),Nt=be?be.prototype:void 0,Ze=Nt?Nt.valueOf:void 0;function ee(i){var u=-1,l=i==null?0:i.length;for(this.clear();++u<l;){var g=i[u];this.set(g[0],g[1])}}function Ln(){this.__data__=fe?fe(null):{},this.size=0}function Hn(i){var u=this.has(i)&&delete this.__data__[i];return this.size-=u?1:0,u}function Un(i){var u=this.__data__;if(fe){var l=u[i];return l===n?void 0:l}return B.call(u,i)?u[i]:void 0}function Fn(i){var u=this.__data__;return fe?u[i]!==void 0:B.call(u,i)}function qn(i,u){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=fe&&u===void 0?n:u,this}ee.prototype.clear=Ln,ee.prototype.delete=Hn,ee.prototype.get=Un,ee.prototype.has=Fn,ee.prototype.set=qn;function X(i){var u=-1,l=i==null?0:i.length;for(this.clear();++u<l;){var g=i[u];this.set(g[0],g[1])}}function Gn(){this.__data__=[],this.size=0}function Bn(i){var u=this.__data__,l=Se(u,i);if(l<0)return!1;var g=u.length-1;return l==g?u.pop():An.call(u,l,1),--this.size,!0}function zn(i){var u=this.__data__,l=Se(u,i);return l<0?void 0:u[l][1]}function Wn(i){return Se(this.__data__,i)>-1}function Xn(i,u){var l=this.__data__,g=Se(l,i);return g<0?(++this.size,l.push([i,u])):l[g][1]=u,this}X.prototype.clear=Gn,X.prototype.delete=Bn,X.prototype.get=zn,X.prototype.has=Wn,X.prototype.set=Xn;function te(i){var u=-1,l=i==null?0:i.length;for(this.clear();++u<l;){var g=i[u];this.set(g[0],g[1])}}function Kn(){this.size=0,this.__data__={hash:new ee,map:new(ce||X),string:new ee}}function Yn(i){var u=Oe(this,i).delete(i);return this.size-=u?1:0,u}function Vn(i){return Oe(this,i).get(i)}function Qn(i){return Oe(this,i).has(i)}function Jn(i,u){var l=Oe(this,i),g=l.size;return l.set(i,u),this.size+=l.size==g?0:1,this}te.prototype.clear=Kn,te.prototype.delete=Yn,te.prototype.get=Vn,te.prototype.has=Qn,te.prototype.set=Jn;function De(i){var u=-1,l=i==null?0:i.length;for(this.__data__=new te;++u<l;)this.add(i[u])}function Zn(i){return this.__data__.set(i,n),this}function ea(i){return this.__data__.has(i)}De.prototype.add=De.prototype.push=Zn,De.prototype.has=ea;function V(i){var u=this.__data__=new X(i);this.size=u.size}function ta(){this.__data__=new X,this.size=0}function ra(i){var u=this.__data__,l=u.delete(i);return this.size=u.size,l}function na(i){return this.__data__.get(i)}function aa(i){return this.__data__.has(i)}function ia(i,u){var l=this.__data__;if(l instanceof X){var g=l.__data__;if(!ce||g.length<r-1)return g.push([i,u]),this.size=++l.size,this;l=this.__data__=new te(g)}return l.set(i,u),this.size=l.size,this}V.prototype.clear=ta,V.prototype.delete=ra,V.prototype.get=na,V.prototype.has=aa,V.prototype.set=ia;function oa(i,u){var l=Te(i),g=!l&&Sa(i),C=!l&&!g&&et(i),y=!l&&!g&&!C&&zt(i),E=l||g||C||y,R=E?Dn(i.length,String):[],M=R.length;for(var _ in i)B.call(i,_)&&!(E&&(_=="length"||C&&(_=="offset"||_=="parent")||y&&(_=="buffer"||_=="byteLength"||_=="byteOffset")||va(_,M)))&&R.push(_);return R}function Se(i,u){for(var l=i.length;l--;)if(Ft(i[l][0],u))return l;return-1}function ua(i,u,l){var g=u(i);return Te(i)?g:mn(g,l(i))}function le(i){return i==null?i===void 0?ue:G:Z&&Z in Object(i)?ha(i):Da(i)}function jt(i){return de(i)&&le(i)==c}function Lt(i,u,l,g,C){return i===u?!0:i==null||u==null||!de(i)&&!de(u)?i!==i&&u!==u:sa(i,u,l,g,Lt,C)}function sa(i,u,l,g,C,y){var E=Te(i),R=Te(u),M=E?f:Q(i),_=R?f:Q(u);M=M==c?P:M,_=_==c?P:_;var j=M==P,q=_==P,x=M==_;if(x&&et(i)){if(!et(u))return!1;E=!0,j=!1}if(x&&!j)return y||(y=new V),E||zt(i)?Ht(i,u,l,g,C,y):da(i,u,M,l,g,C,y);if(!(l&a)){var L=j&&B.call(i,"__wrapped__"),H=q&&B.call(u,"__wrapped__");if(L||H){var J=L?i.value():i,K=H?u.value():u;return y||(y=new V),C(J,K,l,g,y)}}return x?(y||(y=new V),ga(i,u,l,g,C,y)):!1}function ca(i){if(!Bt(i)||ma(i))return!1;var u=qt(i)?Pn:hn;return u.test(re(i))}function fa(i){return de(i)&&Gt(i.length)&&!!w[le(i)]}function la(i){if(!ba(i))return Rn(i);var u=[];for(var l in Object(i))B.call(i,l)&&l!="constructor"&&u.push(l);return u}function Ht(i,u,l,g,C,y){var E=l&a,R=i.length,M=u.length;if(R!=M&&!(E&&M>R))return!1;var _=y.get(i);if(_&&y.get(u))return _==u;var j=-1,q=!0,x=l&o?new De:void 0;for(y.set(i,u),y.set(u,i);++j<R;){var L=i[j],H=u[j];if(g)var J=E?g(H,L,j,u,i,y):g(L,H,j,i,u,y);if(J!==void 0){if(J)continue;q=!1;break}if(x){if(!bn(u,function(K,ne){if(!On(x,ne)&&(L===K||C(L,K,l,g,y)))return x.push(ne)})){q=!1;break}}else if(!(L===H||C(L,H,l,g,y))){q=!1;break}}return y.delete(i),y.delete(u),q}function da(i,u,l,g,C,y,E){switch(l){case ye:if(i.byteLength!=u.byteLength||i.byteOffset!=u.byteOffset)return!1;i=i.buffer,u=u.buffer;case Ot:return!(i.byteLength!=u.byteLength||!y(new Mt(i),new Mt(u)));case v:case b:case N:return Ft(+i,+u);case O:return i.name==u.name&&i.message==u.message;case A:case k:return i==u+"";case I:var R=wn;case $:var M=g&a;if(R||(R=In),i.size!=u.size&&!M)return!1;var _=E.get(i);if(_)return _==u;g|=o,E.set(i,u);var j=Ht(R(i),R(u),g,C,y,E);return E.delete(i),j;case Y:if(Ze)return Ze.call(i)==Ze.call(u)}return!1}function ga(i,u,l,g,C,y){var E=l&a,R=Ut(i),M=R.length,_=Ut(u),j=_.length;if(M!=j&&!E)return!1;for(var q=M;q--;){var x=R[q];if(!(E?x in u:B.call(u,x)))return!1}var L=y.get(i);if(L&&y.get(u))return L==u;var H=!0;y.set(i,u),y.set(u,i);for(var J=E;++q<M;){x=R[q];var K=i[x],ne=u[x];if(g)var Wt=E?g(ne,K,x,u,i,y):g(K,ne,x,i,u,y);if(!(Wt===void 0?K===ne||C(K,ne,l,g,y):Wt)){H=!1;break}J||(J=x=="constructor")}if(H&&!J){var we=i.constructor,Ce=u.constructor;we!=Ce&&"constructor"in i&&"constructor"in u&&!(typeof we=="function"&&we instanceof we&&typeof Ce=="function"&&Ce instanceof Ce)&&(H=!1)}return y.delete(i),y.delete(u),H}function Ut(i){return ua(i,wa,pa)}function Oe(i,u){var l=i.__data__;return ya(u)?l[typeof u=="string"?"string":"hash"]:l.map}function ie(i,u){var l=Tn(i,u);return ca(l)?l:void 0}function ha(i){var u=B.call(i,Z),l=i[Z];try{i[Z]=void 0;var g=!0}catch{}var C=kt.call(i);return g&&(u?i[Z]=l:delete i[Z]),C}var pa=xt?function(i){return i==null?[]:(i=Object(i),yn(xt(i),function(u){return $t.call(i,u)}))}:Ca,Q=le;(Ye&&Q(new Ye(new ArrayBuffer(1)))!=ye||ce&&Q(new ce)!=I||Ve&&Q(Ve.resolve())!=T||Qe&&Q(new Qe)!=$||Je&&Q(new Je)!=se)&&(Q=function(i){var u=le(i),l=u==P?i.constructor:void 0,g=l?re(l):"";if(g)switch(g){case Mn:return ye;case $n:return I;case xn:return T;case Nn:return $;case jn:return se}return u});function va(i,u){return u=u??s,!!u&&(typeof i=="number"||pn.test(i))&&i>-1&&i%1==0&&i<u}function ya(i){var u=typeof i;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?i!=="__proto__":i===null}function ma(i){return!!At&&At in i}function ba(i){var u=i&&i.constructor,l=typeof u=="function"&&u.prototype||me;return i===l}function Da(i){return kt.call(i)}function re(i){if(i!=null){try{return Pt.call(i)}catch{}try{return i+""}catch{}}return""}function Ft(i,u){return i===u||i!==i&&u!==u}var Sa=jt(function(){return arguments}())?jt:function(i){return de(i)&&B.call(i,"callee")&&!$t.call(i,"callee")},Te=Array.isArray;function Oa(i){return i!=null&&Gt(i.length)&&!qt(i)}var et=kn||Ia;function Ta(i,u){return Lt(i,u)}function qt(i){if(!Bt(i))return!1;var u=le(i);return u==m||u==S||u==d||u==p}function Gt(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=s}function Bt(i){var u=typeof i;return i!=null&&(u=="object"||u=="function")}function de(i){return i!=null&&typeof i=="object"}var zt=Et?Sn(Et):fa;function wa(i){return Oa(i)?oa(i):la(i)}function Ca(){return[]}function Ia(){return!1}e.exports=Ta})(Le,Le.exports);var Aa=Le.exports;const As=_a(Aa);var F;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(F||(F={}));function h(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 o;if(t===void 0)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;o=new Error(t.replace(/%s/g,function(){return n[s++]})),o.name="Invariant Violation"}throw o.framesToPop=1,o}}var gt="dnd-core/INIT_COORDS",qe="dnd-core/BEGIN_DRAG",ht="dnd-core/PUBLISH_DRAG_SOURCE",Ge="dnd-core/HOVER",Be="dnd-core/DROP",ze="dnd-core/END_DRAG";function Xt(e,t){return{type:gt,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}function Pe(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pe=function(r){return typeof r}:Pe=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Pe(e)}function ka(e,t,r){return t.split(".").reduce(function(n,a){return n&&n[a]?n[a]:r||null},e)}function Ra(e,t){return e.filter(function(r){return r!==t})}function Pr(e){return Pe(e)==="object"}function Ma(e,t){var r=new Map,n=function(s){r.set(s,r.has(s)?r.get(s)+1:1)};e.forEach(n),t.forEach(n);var a=[];return r.forEach(function(o,s){o===1&&a.push(s)}),a}function $a(e,t){return e.filter(function(r){return t.indexOf(r)>-1})}var xa={type:gt,payload:{clientOffset:null,sourceClientOffset:null}};function Na(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,o=a===void 0?!0:a,s=n.clientOffset,c=n.getSourceClientOffset,f=e.getMonitor(),d=e.getRegistry();e.dispatch(Xt(s)),ja(r,f,d);var v=Ua(r,f);if(v===null){e.dispatch(xa);return}var b=null;if(s){if(!c)throw new Error("getSourceClientOffset must be defined");La(c),b=c(v)}e.dispatch(Xt(s,b));var O=d.getSource(v),m=O.beginDrag(f,v);Ha(m),d.pinSource(v);var S=d.getSourceType(v);return{type:qe,payload:{itemType:S,item:m,sourceId:v,clientOffset:s||null,sourceClientOffset:b||null,isSourcePublic:!!o}}}}function ja(e,t,r){h(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(n){h(r.getSource(n),"Expected sourceIds to be registered.")})}function La(e){h(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function Ha(e){h(Pr(e),"Item must be an object.")}function Ua(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 Fa(e){return function(){var r=e.getMonitor();if(r.isDragging())return{type:ht}}}function ot(e,t){return t===null?e===null:Array.isArray(e)?e.some(function(r){return r===t}):e===t}function qa(e){return function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.clientOffset;Ga(r);var o=r.slice(0),s=e.getMonitor(),c=e.getRegistry();Ba(o,s,c);var f=s.getItemType();return za(o,c,f),Wa(o,s,c),{type:Ge,payload:{targetIds:o,clientOffset:a||null}}}}function Ga(e){h(Array.isArray(e),"Expected targetIds to be an array.")}function Ba(e,t,r){h(t.isDragging(),"Cannot call hover while not dragging."),h(!t.didDrop(),"Cannot call hover after drop.");for(var n=0;n<e.length;n++){var a=e[n];h(e.lastIndexOf(a)===n,"Expected targetIds to be unique in the passed array.");var o=r.getTarget(a);h(o,"Expected targetIds to be registered.")}}function za(e,t,r){for(var n=e.length-1;n>=0;n--){var a=e[n],o=t.getTargetType(a);ot(o,r)||e.splice(n,1)}}function Wa(e,t,r){e.forEach(function(n){var a=r.getTarget(n);a.hover(t,n)})}function Kt(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 Yt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Kt(Object(r),!0).forEach(function(n){Xa(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Xa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.getMonitor(),a=e.getRegistry();Ya(n);var o=Ja(n);o.forEach(function(s,c){var f=Va(s,c,a,n),d={type:Be,payload:{dropResult:Yt(Yt({},r),f)}};e.dispatch(d)})}}function Ya(e){h(e.isDragging(),"Cannot call drop while not dragging."),h(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function Va(e,t,r,n){var a=r.getTarget(e),o=a?a.drop(n,e):void 0;return Qa(o),typeof o>"u"&&(o=t===0?{}:n.getDropResult()),o}function Qa(e){h(typeof e>"u"||Pr(e),"Drop result must either be an object or undefined.")}function Ja(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function Za(e){return function(){var r=e.getMonitor(),n=e.getRegistry();ei(r);var a=r.getSourceId();if(a!=null){var o=n.getSource(a,!0);o.endDrag(r,a),n.unpinSource()}return{type:ze}}}function ei(e){h(e.isDragging(),"Cannot call endDrag while not dragging.")}function ti(e){return{beginDrag:Na(e),publishDragSource:Fa(e),hover:qa(e),drop:Ka(e),endDrag:Za(e)}}var ri=function(t,r){return t===r};function ni(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function ai(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ri;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 Vt(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 Qt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vt(Object(r),!0).forEach(function(n){ii(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Jt={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function oi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jt,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case gt:case qe:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case Ge:return ni(e.clientOffset,r.clientOffset)?e:Qt(Qt({},e),{},{clientOffset:r.clientOffset});case ze:case Be:return Jt;default:return e}}var pt="dnd-core/ADD_SOURCE",vt="dnd-core/ADD_TARGET",yt="dnd-core/REMOVE_SOURCE",We="dnd-core/REMOVE_TARGET";function ui(e){return{type:pt,payload:{sourceId:e}}}function si(e){return{type:vt,payload:{targetId:e}}}function ci(e){return{type:yt,payload:{sourceId:e}}}function fi(e){return{type:We,payload:{targetId:e}}}function Zt(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 U(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zt(Object(r),!0).forEach(function(n){li(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var di={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function gi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:di,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case qe:return U(U({},e),{},{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case ht:return U(U({},e),{},{isSourcePublic:!0});case Ge:return U(U({},e),{},{targetIds:r.targetIds});case We:return e.targetIds.indexOf(r.targetId)===-1?e:U(U({},e),{},{targetIds:Ra(e.targetIds,r.targetId)});case Be:return U(U({},e),{},{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case ze:return U(U({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function hi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case pt:case vt:return e+1;case yt:case We:return e-1;default:return e}}var He=[],mt=[];He.__IS_NONE__=!0;mt.__IS_ALL__=!0;function pi(e,t){if(e===He)return!1;if(e===mt||typeof t>"u")return!0;var r=$a(t,e);return r.length>0}function vi(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Ge:break;case pt:case vt:case We:case yt:return He;case qe:case ht:case ze:case Be:default:return mt}var t=e.payload,r=t.targetIds,n=r===void 0?[]:r,a=t.prevTargetIds,o=a===void 0?[]:a,s=Ma(n,o),c=s.length>0||!ai(n,o);if(!c)return He;var f=o[o.length-1],d=n[n.length-1];return f!==d&&(f&&s.push(f),d&&s.push(d)),s}function yi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return e+1}function er(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 tr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?er(Object(r),!0).forEach(function(n){mi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):er(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:vi(e.dirtyHandlerIds,{type:t.type,payload:tr(tr({},t.payload),{},{prevTargetIds:ka(e,"dragOperation.targetIds",[])})}),dragOffset:oi(e.dragOffset,t),refCount:hi(e.refCount,t),dragOperation:gi(e.dragOperation,t),stateId:yi(e.stateId)}}function Di(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Ar(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Si(e){var t=e.clientOffset,r=e.initialClientOffset,n=e.initialSourceClientOffset;return!t||!r||!n?null:Ar(Di(t,n),r)}function Oi(e){var t=e.clientOffset,r=e.initialClientOffset;return!t||!r?null:Ar(t,r)}function Ti(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(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 Ci(e,t,r){return t&&wi(e.prototype,t),e}var Ii=function(){function e(t,r){Ti(this,e),this.store=t,this.registry=r}return Ci(e,[{key:"subscribeToStateChange",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},o=a.handlerIds;h(typeof r=="function","listener must be a function."),h(typeof o>"u"||Array.isArray(o),"handlerIds, when specified, must be an array of strings.");var s=this.store.getState().stateId,c=function(){var d=n.store.getState(),v=d.stateId;try{var b=v===s||v===s+1&&!pi(d.dirtyHandlerIds,o);b||r()}finally{s=v}};return this.store.subscribe(c)}},{key:"subscribeToOffsetChange",value:function(r){var n=this;h(typeof r=="function","listener must be a function.");var a=this.store.getState().dragOffset,o=function(){var c=n.store.getState().dragOffset;c!==a&&(a=c,r())};return this.store.subscribe(o)}},{key:"canDragSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r);return h(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(h(n,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var a=this.registry.getTargetType(r),o=this.getItemType();return ot(a,o)&&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(h(n,"Expected to find a valid source."),!this.isDragging()||!this.isSourcePublic())return!1;var a=this.registry.getSourceType(r),o=this.getItemType();return a!==o?!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 o=this.registry.getTargetType(r),s=this.getItemType();if(s&&!ot(o,s))return!1;var c=this.getTargetIds();if(!c.length)return!1;var f=c.indexOf(r);return a?f===c.length-1:f>-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 Si(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return Oi(this.store.getState().dragOffset)}}]),e}(),_i=0;function Ei(){return _i++}function Ae(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ae=function(r){return typeof r}:Ae=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ae(e)}function Pi(e){h(typeof e.canDrag=="function","Expected canDrag to be a function."),h(typeof e.beginDrag=="function","Expected beginDrag to be a function."),h(typeof e.endDrag=="function","Expected endDrag to be a function.")}function Ai(e){h(typeof e.canDrop=="function","Expected canDrop to be a function."),h(typeof e.hover=="function","Expected hover to be a function."),h(typeof e.drop=="function","Expected beginDrag to be a function.")}function ut(e,t){if(t&&Array.isArray(e)){e.forEach(function(r){return ut(r,!1)});return}h(typeof e=="string"||Ae(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 rr=typeof je<"u"?je:self,kr=rr.MutationObserver||rr.WebKitMutationObserver;function Rr(e){return function(){const r=setTimeout(a,0),n=setInterval(a,50);function a(){clearTimeout(r),clearInterval(n),e()}}}function ki(e){let t=1;const r=new kr(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}const Ri=typeof kr=="function"?ki:Rr;class Mi{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=Ri(this.flush),this.requestErrorThrow=Rr(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class $i{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 xi{create(t){const r=this.freeTasks,n=r.length?r.pop():new $i(this.onError,a=>r[r.length]=a);return n.task=t,n}constructor(t){this.onError=t,this.freeTasks=[]}}const Mr=new Mi,Ni=new xi(Mr.registerPendingError);function ji(e){Mr.enqueueTask(Ni.create(e))}function Li(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hi(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 Ui(e,t,r){return t&&Hi(e.prototype,t),e}function Fi(e,t){return zi(e)||Bi(e,t)||Gi(e,t)||qi()}function qi(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gi(e,t){if(e){if(typeof e=="string")return nr(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 nr(e,t)}}function nr(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 Bi(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,o=void 0;try{for(var s=e[Symbol.iterator](),c;!(n=(c=s.next()).done)&&(r.push(c.value),!(t&&r.length===t));n=!0);}catch(f){a=!0,o=f}finally{try{!n&&s.return!=null&&s.return()}finally{if(a)throw o}}return r}}function zi(e){if(Array.isArray(e))return e}function Wi(e){var t=Ei().toString();switch(e){case F.SOURCE:return"S".concat(t);case F.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}function ar(e){switch(e[0]){case"S":return F.SOURCE;case"T":return F.TARGET;default:h(!1,"Cannot parse handler ID: ".concat(e))}}function ir(e,t){var r=e.entries(),n=!1;do{var a=r.next(),o=a.done,s=Fi(a.value,2),c=s[1];if(c===t)return!0;n=!!o}while(!n);return!1}var Xi=function(){function e(t){Li(this,e),this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}return Ui(e,[{key:"addSource",value:function(r,n){ut(r),Pi(n);var a=this.addHandler(F.SOURCE,r,n);return this.store.dispatch(ui(a)),a}},{key:"addTarget",value:function(r,n){ut(r,!0),Ai(n);var a=this.addHandler(F.TARGET,r,n);return this.store.dispatch(si(a)),a}},{key:"containsHandler",value:function(r){return ir(this.dragSources,r)||ir(this.dropTargets,r)}},{key:"getSource",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;h(this.isSourceId(r),"Expected a valid source ID.");var a=n&&r===this.pinnedSourceId,o=a?this.pinnedSource:this.dragSources.get(r);return o}},{key:"getTarget",value:function(r){return h(this.isTargetId(r),"Expected a valid target ID."),this.dropTargets.get(r)}},{key:"getSourceType",value:function(r){return h(this.isSourceId(r),"Expected a valid source ID."),this.types.get(r)}},{key:"getTargetType",value:function(r){return h(this.isTargetId(r),"Expected a valid target ID."),this.types.get(r)}},{key:"isSourceId",value:function(r){var n=ar(r);return n===F.SOURCE}},{key:"isTargetId",value:function(r){var n=ar(r);return n===F.TARGET}},{key:"removeSource",value:function(r){var n=this;h(this.getSource(r),"Expected an existing source."),this.store.dispatch(ci(r)),ji(function(){n.dragSources.delete(r),n.types.delete(r)})}},{key:"removeTarget",value:function(r){h(this.getTarget(r),"Expected an existing target."),this.store.dispatch(fi(r)),this.dropTargets.delete(r),this.types.delete(r)}},{key:"pinSource",value:function(r){var n=this.getSource(r);h(n,"Expected an existing source."),this.pinnedSourceId=r,this.pinnedSource=n}},{key:"unpinSource",value:function(){h(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(r,n,a){var o=Wi(r);return this.types.set(o,n),r===F.SOURCE?this.dragSources.set(o,a):r===F.TARGET&&this.dropTargets.set(o,a),o}}]),e}();function Ki(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yi(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 Vi(e,t,r){return t&&Yi(e.prototype,t),e}function Qi(e){var t=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return Pa(bi,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}var Ji=function(){function e(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ki(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=Qi(r);this.store=n,this.monitor=new Ii(n,new Xi(n)),n.subscribe(this.handleRefCountChange)}return Vi(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(s){return function(){for(var c=arguments.length,f=new Array(c),d=0;d<c;d++)f[d]=arguments[d];var v=s.apply(r,f);typeof v<"u"&&n(v)}}var o=ti(this);return Object.keys(o).reduce(function(s,c){var f=o[c];return s[c]=a(f),s},{})}},{key:"dispatch",value:function(r){this.store.dispatch(r)}}]),e}();function Zi(e,t,r,n){var a=new Ji(n),o=e(a,t,r);return a.receiveBackend(o),a}var ve=D.createContext({dragDropManager:void 0});function $r(e,t,r,n){return{dragDropManager:Zi(e,t,r,n)}}function eo(e,t){return ao(e)||no(e,t)||ro(e,t)||to()}function to(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ro(e,t){if(e){if(typeof e=="string")return or(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 or(e,t)}}function or(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 no(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,o=void 0;try{for(var s=e[Symbol.iterator](),c;!(n=(c=s.next()).done)&&(r.push(c.value),!(t&&r.length===t));n=!0);}catch(f){a=!0,o=f}finally{try{!n&&s.return!=null&&s.return()}finally{if(a)throw o}}return r}}function ao(e){if(Array.isArray(e))return e}function io(e,t){if(e==null)return{};var r=oo(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function oo(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o<n.length;o++)a=n[o],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}var tt=0,xr=D.memo(function(e){var t=e.children,r=io(e,["children"]),n=uo(r),a=eo(n,2),o=a[0],s=a[1];return D.useEffect(function(){return s&&tt++,function(){if(s&&(tt--,tt===0)){var c=Nr();c[ke]=null}}},[]),D.createElement(ve.Provider,{value:o},t)});xr.displayName="DndProvider";function uo(e){if("manager"in e){var t={dragDropManager:e.manager};return[t,!1]}var r=so(e.backend,e.context,e.options,e.debugMode),n=!e.context;return[r,n]}var ke=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");function so(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Nr(),r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,a=t;return a[ke]||(a[ke]=$r(e,t,r,n)),a[ke]}function Nr(){return typeof je<"u"?je:window}var jr=D.memo(function(e){var t=e.connect,r=e.src;return D.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});jr.displayName="DragPreviewImage";var ae=typeof window<"u"?D.useLayoutEffect:D.useEffect;function z(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 o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),f=0;f<o.length;f++){var d=o[f];if(!c(d))return!1;var v=e[d],b=t[d];if(a=r?r.call(n,v,b,d):void 0,a===!1||a===void 0&&v!==b)return!1}return!0}function co(e,t){return ho(e)||go(e,t)||lo(e,t)||fo()}function fo(){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 lo(e,t){if(e){if(typeof e=="string")return ur(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 ur(e,t)}}function ur(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 go(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,o=void 0;try{for(var s=e[Symbol.iterator](),c;!(n=(c=s.next()).done)&&(r.push(c.value),!(t&&r.length===t));n=!0);}catch(f){a=!0,o=f}finally{try{!n&&s.return!=null&&s.return()}finally{if(a)throw o}}return r}}function ho(e){if(Array.isArray(e))return e}function Lr(e,t,r){var n=D.useState(function(){return t(e)}),a=co(n,2),o=a[0],s=a[1],c=D.useCallback(function(){var f=t(e);z(o,f)||(s(f),r&&r())},[o,e,r]);return ae(c,[]),[o,c]}function po(e,t){return bo(e)||mo(e,t)||yo(e,t)||vo()}function vo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -1,4 +1,4 @@
1
- import{P as o,s as C,j as n,Q as u,aK as x,aL as g,ai as j,t as T}from"./index-Cwi3bFQC.js";function i({icon:e,title:t,description:s,extra:I,...O}){return n.jsxs(w,{...O,children:[e,typeof t=="string"?n.jsx(u,{mt:3,fontSize:22,fontWeight:400,color:"#47494E",textAlign:"center",children:t}):t,typeof s=="string"?n.jsx(u,{mt:1,fontSize:14,color:"#7F828B",textAlign:"center",children:s}):s,n.jsx(u,{mt:3,children:I})]})}i.propTypes={icon:o.element,title:o.oneOfType([o.string,o.element]),description:o.oneOfType([o.string,o.element]),actions:o.any,extra:o.element};i.defaultProps={icon:void 0,title:"",description:"",actions:null,extra:void 0};const w=C("div")`
1
+ import{P as o,s as C,j as n,Q as u,aK as x,aL as g,ai as j,t as T}from"./index-DzlR4ROA.js";function i({icon:e,title:t,description:s,extra:I,...O}){return n.jsxs(w,{...O,children:[e,typeof t=="string"?n.jsx(u,{mt:3,fontSize:22,fontWeight:400,color:"#47494E",textAlign:"center",children:t}):t,typeof s=="string"?n.jsx(u,{mt:1,fontSize:14,color:"#7F828B",textAlign:"center",children:s}):s,n.jsx(u,{mt:3,children:I})]})}i.propTypes={icon:o.element,title:o.oneOfType([o.string,o.element]),description:o.oneOfType([o.string,o.element]),actions:o.any,extra:o.element};i.defaultProps={icon:void 0,title:"",description:"",actions:null,extra:void 0};const w=C("div")`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex-direction: column;