@clickview/lite 0.0.44-rc.2 → 0.0.44

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 (223) hide show
  1. package/dist/bundles.json +1 -1
  2. package/dist/css/{13-lite-8466fc8a6b.chunk.css → 14-lite-67e6cde4a5.chunk.css} +2 -0
  3. package/dist/scripts/{0-b99ba27369-lite.chunk.js → 0-789f58663f-lite.chunk.js} +1 -1
  4. package/dist/scripts/{1-2de0a89e97-lite.chunk.js → 1-93cf030910-lite.chunk.js} +2 -2
  5. package/dist/scripts/10-18d6534a4f-lite.chunk.js +1 -0
  6. package/dist/scripts/{101-d16ce385ec-lite.chunk.js → 100-5ce554fea6-lite.chunk.js} +1 -1
  7. package/dist/scripts/{102-8e77738e57-lite.chunk.js → 101-d65043a015-lite.chunk.js} +1 -1
  8. package/dist/scripts/{103-ad800611c4-lite.chunk.js → 102-9b872cddba-lite.chunk.js} +1 -1
  9. package/dist/scripts/{104-d924cc9ad0-lite.chunk.js → 103-80c76e33ad-lite.chunk.js} +1 -1
  10. package/dist/scripts/{105-cc24732835-lite.chunk.js → 104-015a233424-lite.chunk.js} +1 -1
  11. package/dist/scripts/{106-4a2f6066b0-lite.chunk.js → 105-956dabd2d1-lite.chunk.js} +1 -1
  12. package/dist/scripts/{107-410b0dd39e-lite.chunk.js → 106-80b1639205-lite.chunk.js} +1 -1
  13. package/dist/scripts/{108-ce52e2ec2a-lite.chunk.js → 107-90d4615383-lite.chunk.js} +1 -1
  14. package/dist/scripts/{109-f55fbc9c5c-lite.chunk.js → 108-7f6aaaf6f0-lite.chunk.js} +1 -1
  15. package/dist/scripts/{110-c63ece4e84-lite.chunk.js → 109-d219fe5280-lite.chunk.js} +1 -1
  16. package/dist/scripts/{10-4aa13b7c82-lite.chunk.js → 11-4d7a8cde3e-lite.chunk.js} +1 -1
  17. package/dist/scripts/{111-f7b6b49b9f-lite.chunk.js → 110-dd64ba6d60-lite.chunk.js} +1 -1
  18. package/dist/scripts/{112-c4a6957977-lite.chunk.js → 111-38ffe355b1-lite.chunk.js} +1 -1
  19. package/dist/scripts/{113-9193aa6700-lite.chunk.js → 112-17bd96635c-lite.chunk.js} +1 -1
  20. package/dist/scripts/{114-b8167d9bf2-lite.chunk.js → 113-c8b27ba363-lite.chunk.js} +1 -1
  21. package/dist/scripts/{115-9135b09dd8-lite.chunk.js → 114-fe43bd814e-lite.chunk.js} +1 -1
  22. package/dist/scripts/{116-8171e04089-lite.chunk.js → 115-0bb4a956b2-lite.chunk.js} +1 -1
  23. package/dist/scripts/{117-b6cd95d188-lite.chunk.js → 116-1a1cdca125-lite.chunk.js} +1 -1
  24. package/dist/scripts/{118-912914e1be-lite.chunk.js → 117-bb2f315f87-lite.chunk.js} +1 -1
  25. package/dist/scripts/{119-ff493bfe06-lite.chunk.js → 118-0394b4db65-lite.chunk.js} +1 -1
  26. package/dist/scripts/{120-ba7ae4a2d7-lite.chunk.js → 119-a8d2b6b6a5-lite.chunk.js} +1 -1
  27. package/dist/scripts/{11-d37692a813-lite.chunk.js → 12-095ee071c4-lite.chunk.js} +1 -1
  28. package/dist/scripts/{121-31c740fe92-lite.chunk.js → 120-cd050ddc65-lite.chunk.js} +1 -1
  29. package/dist/scripts/{122-0771700deb-lite.chunk.js → 121-31b9996109-lite.chunk.js} +1 -1
  30. package/dist/scripts/{123-11a73c2521-lite.chunk.js → 122-c1780062ee-lite.chunk.js} +1 -1
  31. package/dist/scripts/{124-b4fca8593d-lite.chunk.js → 123-e5e78b2901-lite.chunk.js} +1 -1
  32. package/dist/scripts/{125-2fe7474762-lite.chunk.js → 124-e7d45313d3-lite.chunk.js} +1 -1
  33. package/dist/scripts/{126-709367e0f9-lite.chunk.js → 125-b26f3f3448-lite.chunk.js} +1 -1
  34. package/dist/scripts/{127-b1d725e2ad-lite.chunk.js → 126-e16a86ce44-lite.chunk.js} +1 -1
  35. package/dist/scripts/{128-eb8d97c7c5-lite.chunk.js → 127-baf9e80460-lite.chunk.js} +1 -1
  36. package/dist/scripts/{129-71d450a3a5-lite.chunk.js → 128-db4f7d9a79-lite.chunk.js} +1 -1
  37. package/dist/scripts/{130-f6f50b296f-lite.chunk.js → 129-cadcfc5f31-lite.chunk.js} +1 -1
  38. package/dist/scripts/{12-d41b1c2ed8-lite.chunk.js → 13-19878fe4f4-lite.chunk.js} +1 -1
  39. package/dist/scripts/{131-8ecde10920-lite.chunk.js → 130-6edc0e7d39-lite.chunk.js} +1 -1
  40. package/dist/scripts/{132-9a4824a449-lite.chunk.js → 131-90d95db8eb-lite.chunk.js} +1 -1
  41. package/dist/scripts/{133-abb988396f-lite.chunk.js → 132-a15268aa04-lite.chunk.js} +1 -1
  42. package/dist/scripts/{134-286fa0977a-lite.chunk.js → 133-c30f53e5e1-lite.chunk.js} +1 -1
  43. package/dist/scripts/{135-3208de7796-lite.chunk.js → 134-2706497918-lite.chunk.js} +1 -1
  44. package/dist/scripts/{136-0194bc62e0-lite.chunk.js → 135-0373828c4d-lite.chunk.js} +1 -1
  45. package/dist/scripts/{137-e888ef65e7-lite.chunk.js → 136-18c867dbd9-lite.chunk.js} +1 -1
  46. package/dist/scripts/137-f760db6bf3-lite.chunk.js +1 -0
  47. package/dist/scripts/{139-8e460b0638-lite.chunk.js → 138-3ffd67498c-lite.chunk.js} +1 -1
  48. package/dist/scripts/{140-b03cbfbb31-lite.chunk.js → 139-e7731f9d4f-lite.chunk.js} +1 -1
  49. package/dist/scripts/14-ca5ff2c413-lite.chunk.js +1 -0
  50. package/dist/scripts/{141-01658b309b-lite.chunk.js → 140-d787eb870b-lite.chunk.js} +1 -1
  51. package/dist/scripts/141-20a4c77a65-lite.chunk.js +1 -0
  52. package/dist/scripts/{143-66c2fa824c-lite.chunk.js → 143-76f921922f-lite.chunk.js} +1 -1
  53. package/dist/scripts/{144-6f9ff500e8-lite.chunk.js → 144-1a84e3ba80-lite.chunk.js} +1 -1
  54. package/dist/scripts/{146-37fdbcf029-lite.chunk.js → 146-5da0ee60f1-lite.chunk.js} +1 -1
  55. package/dist/scripts/{14-69db5a226a-lite.chunk.js → 15-333162cbbe-lite.chunk.js} +1 -1
  56. package/dist/scripts/{15-47aff682a9-lite.chunk.js → 16-e2f65b68e8-lite.chunk.js} +1 -1
  57. package/dist/scripts/{16-9b7e44730a-lite.chunk.js → 17-f552591f0a-lite.chunk.js} +1 -1
  58. package/dist/scripts/{17-d7484d04c9-lite.chunk.js → 18-035caa86c4-lite.chunk.js} +1 -1
  59. package/dist/scripts/{18-494836b017-lite.chunk.js → 19-10e8039cae-lite.chunk.js} +1 -1
  60. package/dist/scripts/{2-de3cab27e2-lite.chunk.js → 2-3c45b9dd7a-lite.chunk.js} +1 -1
  61. package/dist/scripts/{19-0e00916ec0-lite.chunk.js → 20-8eeba73145-lite.chunk.js} +1 -1
  62. package/dist/scripts/{20-8bc67c26d4-lite.chunk.js → 21-1a96b5beb9-lite.chunk.js} +1 -1
  63. package/dist/scripts/{21-1bd853ccc5-lite.chunk.js → 22-35fcedb029-lite.chunk.js} +1 -1
  64. package/dist/scripts/23-d1293e5949-lite.chunk.js +1 -0
  65. package/dist/scripts/{24-f55fd6920f-lite.chunk.js → 24-e775a71d24-lite.chunk.js} +1 -1
  66. package/dist/scripts/{25-3779c4da99-lite.chunk.js → 25-b3d24e3375-lite.chunk.js} +1 -1
  67. package/dist/scripts/{26-5d6da81b2b-lite.chunk.js → 26-bde0a24282-lite.chunk.js} +1 -1
  68. package/dist/scripts/3-43acce2f27-lite.chunk.js +1 -0
  69. package/dist/scripts/{30-ef905901a1-lite.chunk.js → 30-464305b4a1-lite.chunk.js} +1 -1
  70. package/dist/scripts/{31-e9666233cc-lite.chunk.js → 31-63b2348140-lite.chunk.js} +1 -1
  71. package/dist/scripts/{32-459fbac32a-lite.chunk.js → 32-6939ec599e-lite.chunk.js} +1 -1
  72. package/dist/scripts/{33-a2675944da-lite.chunk.js → 33-968d9a849d-lite.chunk.js} +1 -1
  73. package/dist/scripts/{34-7a7fd380bc-lite.chunk.js → 34-66b4da78fd-lite.chunk.js} +1 -1
  74. package/dist/scripts/{35-645289c06d-lite.chunk.js → 35-e47f485a57-lite.chunk.js} +1 -1
  75. package/dist/scripts/{36-c5157a0ff8-lite.chunk.js → 36-8f4fb126c5-lite.chunk.js} +1 -1
  76. package/dist/scripts/{37-5b220e0710-lite.chunk.js → 37-632d72fe2c-lite.chunk.js} +1 -1
  77. package/dist/scripts/{38-700df97590-lite.chunk.js → 38-39e2c62065-lite.chunk.js} +1 -1
  78. package/dist/scripts/{39-65c6bf971f-lite.chunk.js → 39-3833907587-lite.chunk.js} +1 -1
  79. package/dist/scripts/{4-38cfb0958f-lite.chunk.js → 4-0eb62acee9-lite.chunk.js} +1 -1
  80. package/dist/scripts/{40-a235a97f0f-lite.chunk.js → 40-5e084d45ab-lite.chunk.js} +1 -1
  81. package/dist/scripts/{41-5fa90ac147-lite.chunk.js → 41-84d2108c51-lite.chunk.js} +1 -1
  82. package/dist/scripts/42-3ab9b6d708-lite.chunk.js +1 -0
  83. package/dist/scripts/{43-c8a201ded7-lite.chunk.js → 43-071cc919c7-lite.chunk.js} +1 -1
  84. package/dist/scripts/{44-1d23014178-lite.chunk.js → 44-265a30c6d2-lite.chunk.js} +1 -1
  85. package/dist/scripts/{45-d8178ce0d1-lite.chunk.js → 45-e8c36550fb-lite.chunk.js} +1 -1
  86. package/dist/scripts/{46-97bbe1351c-lite.chunk.js → 46-953015045a-lite.chunk.js} +1 -1
  87. package/dist/scripts/{47-4b9054ccc6-lite.chunk.js → 47-321a96945f-lite.chunk.js} +1 -1
  88. package/dist/scripts/{48-581601613f-lite.chunk.js → 48-1312dcf446-lite.chunk.js} +1 -1
  89. package/dist/scripts/{49-802a08f5c0-lite.chunk.js → 49-ddac9489b9-lite.chunk.js} +1 -1
  90. package/dist/scripts/5-b2ff21dbc0-lite.chunk.js +1 -0
  91. package/dist/scripts/{50-2af5cdb815-lite.chunk.js → 50-1115697bbe-lite.chunk.js} +1 -1
  92. package/dist/scripts/{52-352682f2bc-lite.chunk.js → 51-ff1bc77b64-lite.chunk.js} +1 -1
  93. package/dist/scripts/{53-c98989fd3e-lite.chunk.js → 52-859ff42d10-lite.chunk.js} +1 -1
  94. package/dist/scripts/{54-ba14fd35a0-lite.chunk.js → 53-3e4a0e95fc-lite.chunk.js} +1 -1
  95. package/dist/scripts/{55-3caf80b8b9-lite.chunk.js → 54-dff10c7d1d-lite.chunk.js} +1 -1
  96. package/dist/scripts/55-27234a90ea-lite.chunk.js +1 -0
  97. package/dist/scripts/{58-e737fa10e8-lite.chunk.js → 56-8ddf97a026-lite.chunk.js} +1 -1
  98. package/dist/scripts/57-4e6b2bfbfd-lite.chunk.js +1 -0
  99. package/dist/scripts/{59-24cd9ab1a3-lite.chunk.js → 58-c8799aa7c5-lite.chunk.js} +1 -1
  100. package/dist/scripts/{60-80ce79a0ca-lite.chunk.js → 59-92be91f549-lite.chunk.js} +1 -1
  101. package/dist/scripts/6-e1952bf001-lite.chunk.js +1 -0
  102. package/dist/scripts/{61-751bc87254-lite.chunk.js → 60-55b5af11bb-lite.chunk.js} +1 -1
  103. package/dist/scripts/{62-6add5e5d35-lite.chunk.js → 61-778d60d446-lite.chunk.js} +1 -1
  104. package/dist/scripts/{63-c3e3852eed-lite.chunk.js → 62-4b387315c3-lite.chunk.js} +1 -1
  105. package/dist/scripts/{64-de19255134-lite.chunk.js → 63-de69bbc9fc-lite.chunk.js} +1 -1
  106. package/dist/scripts/{65-088d054bcf-lite.chunk.js → 64-ae28c5e3f6-lite.chunk.js} +1 -1
  107. package/dist/scripts/{66-a17960b8e4-lite.chunk.js → 65-12d163b576-lite.chunk.js} +1 -1
  108. package/dist/scripts/{67-755a4da2fb-lite.chunk.js → 66-97b587fd39-lite.chunk.js} +1 -1
  109. package/dist/scripts/{68-cf1a1bdf85-lite.chunk.js → 67-245dd622e3-lite.chunk.js} +1 -1
  110. package/dist/scripts/68-bbfecddfd7-lite.chunk.js +1 -0
  111. package/dist/scripts/{70-02a2336c27-lite.chunk.js → 69-a0a54e2974-lite.chunk.js} +1 -1
  112. package/dist/scripts/{6-7b03ae5411-lite.chunk.js → 7-0d2a13bdb7-lite.chunk.js} +1 -1
  113. package/dist/scripts/{71-cfe355d09b-lite.chunk.js → 70-d33624cfd3-lite.chunk.js} +1 -1
  114. package/dist/scripts/71-4fe21ae4c8-lite.chunk.js +7 -0
  115. package/dist/scripts/{74-f969eb5e90-lite.chunk.js → 72-61fb86d812-lite.chunk.js} +1 -1
  116. package/dist/scripts/{75-3ef1ce0c0b-lite.chunk.js → 73-6b876b8272-lite.chunk.js} +1 -1
  117. package/dist/scripts/{76-8da4d0eec4-lite.chunk.js → 74-8204d53bea-lite.chunk.js} +1 -1
  118. package/dist/scripts/{77-0d39b72e3a-lite.chunk.js → 75-3b27b1163b-lite.chunk.js} +1 -1
  119. package/dist/scripts/76-c32c2eaa66-lite.chunk.js +1 -0
  120. package/dist/scripts/{79-2598acd9ae-lite.chunk.js → 77-b6587bb710-lite.chunk.js} +1 -1
  121. package/dist/scripts/{80-b8df355495-lite.chunk.js → 78-eb2c4fd0e9-lite.chunk.js} +1 -1
  122. package/dist/scripts/{81-e3e4c9fa77-lite.chunk.js → 79-1362f3aa8d-lite.chunk.js} +1 -1
  123. package/dist/scripts/{8-808fdd90b4-lite.chunk.js → 8-e15a61512d-lite.chunk.js} +1 -1
  124. package/dist/scripts/{82-26f9d474d0-lite.chunk.js → 80-453fe479a0-lite.chunk.js} +1 -1
  125. package/dist/scripts/81-9e37f79748-lite.chunk.js +1 -0
  126. package/dist/scripts/{85-b9b7505a2c-lite.chunk.js → 82-94c819196f-lite.chunk.js} +1 -1
  127. package/dist/scripts/{86-82ed6c6b14-lite.chunk.js → 83-1238357d6c-lite.chunk.js} +1 -1
  128. package/dist/scripts/84-8d64bcae7e-lite.chunk.js +1 -0
  129. package/dist/scripts/85-d4373bf092-lite.chunk.js +1 -0
  130. package/dist/scripts/{87-245c6b0234-lite.chunk.js → 86-08cdc4e500-lite.chunk.js} +1 -1
  131. package/dist/scripts/{88-7859b27595-lite.chunk.js → 87-f8f4ca6537-lite.chunk.js} +1 -1
  132. package/dist/scripts/{89-a49f6b6eff-lite.chunk.js → 88-09ec852017-lite.chunk.js} +1 -1
  133. package/dist/scripts/{90-d356d4877d-lite.chunk.js → 89-9af51344ef-lite.chunk.js} +1 -1
  134. package/dist/scripts/{9-8a2df37d9c-lite.chunk.js → 9-42a44eb63b-lite.chunk.js} +4 -4
  135. package/dist/scripts/{91-fab59fec31-lite.chunk.js → 90-d226ca76cd-lite.chunk.js} +1 -1
  136. package/dist/scripts/{92-0d81cd111e-lite.chunk.js → 91-351ec8b793-lite.chunk.js} +1 -1
  137. package/dist/scripts/{93-3e8f67a966-lite.chunk.js → 92-6b6b86deb9-lite.chunk.js} +1 -1
  138. package/dist/scripts/{94-d8472ecb6f-lite.chunk.js → 93-ac8f402e06-lite.chunk.js} +1 -1
  139. package/dist/scripts/{95-aaf5e73acd-lite.chunk.js → 94-c8672c1630-lite.chunk.js} +1 -1
  140. package/dist/scripts/{96-99848aa2dc-lite.chunk.js → 95-778e1852bd-lite.chunk.js} +1 -1
  141. package/dist/scripts/{97-e955090b3e-lite.chunk.js → 96-fae0cb3223-lite.chunk.js} +1 -1
  142. package/dist/scripts/{98-139aad3356-lite.chunk.js → 97-a12294fe00-lite.chunk.js} +1 -1
  143. package/dist/scripts/98-f0ef1d67bb-lite.chunk.js +1 -0
  144. package/dist/scripts/99-ea406dbcdd-lite.chunk.js +1 -0
  145. package/dist/scripts/{bundle-67ba3ab93a.min.js → bundle-e7a26615c6.min.js} +16 -16
  146. package/package.json +3 -3
  147. package/dist/scripts/100-bd38fa726b-lite.chunk.js +0 -1
  148. package/dist/scripts/13-ad5f599e50-lite.chunk.js +0 -1
  149. package/dist/scripts/138-51248a82a7-lite.chunk.js +0 -1
  150. package/dist/scripts/22-c662bb1647-lite.chunk.js +0 -1
  151. package/dist/scripts/23-44c9035a91-lite.chunk.js +0 -1
  152. package/dist/scripts/3-8cdf6c395c-lite.chunk.js +0 -1
  153. package/dist/scripts/42-bb92328444-lite.chunk.js +0 -1
  154. package/dist/scripts/5-bc100e639e-lite.chunk.js +0 -1
  155. package/dist/scripts/51-1e456a8db6-lite.chunk.js +0 -1
  156. package/dist/scripts/56-3e025349a7-lite.chunk.js +0 -7
  157. package/dist/scripts/57-374b97fa6c-lite.chunk.js +0 -1
  158. package/dist/scripts/69-14f012fb35-lite.chunk.js +0 -1
  159. package/dist/scripts/7-4bbc8c24ae-lite.chunk.js +0 -1
  160. package/dist/scripts/72-d15a315b9d-lite.chunk.js +0 -1
  161. package/dist/scripts/73-40f1a669c0-lite.chunk.js +0 -1
  162. package/dist/scripts/78-1b81d1f3b5-lite.chunk.js +0 -1
  163. package/dist/scripts/83-b528ad1400-lite.chunk.js +0 -1
  164. package/dist/scripts/84-a45201f0ad-lite.chunk.js +0 -1
  165. package/dist/scripts/99-fa5daac3fb-lite.chunk.js +0 -1
  166. package/dist/scripts/bundle-b54c4ff1f1.min.js +0 -48
  167. /package/dist/css/{7-lite-cbd9c15409.chunk.css → 10-lite-cbd9c15409.chunk.css} +0 -0
  168. /package/dist/css/{101-lite-c5e12d3f1d.chunk.css → 100-lite-c5e12d3f1d.chunk.css} +0 -0
  169. /package/dist/css/{102-lite-6e036f7110.chunk.css → 101-lite-6e036f7110.chunk.css} +0 -0
  170. /package/dist/css/{104-lite-b76c927aec.chunk.css → 102-lite-b76c927aec.chunk.css} +0 -0
  171. /package/dist/css/{105-lite-37113f3b03.chunk.css → 104-lite-37113f3b03.chunk.css} +0 -0
  172. /package/dist/css/{106-lite-efd9c7cfc9.chunk.css → 105-lite-efd9c7cfc9.chunk.css} +0 -0
  173. /package/dist/css/{107-lite-bca705add4.chunk.css → 106-lite-bca705add4.chunk.css} +0 -0
  174. /package/dist/css/{109-lite-30208db4b8.chunk.css → 107-lite-30208db4b8.chunk.css} +0 -0
  175. /package/dist/css/{110-lite-1b8d018064.chunk.css → 109-lite-1b8d018064.chunk.css} +0 -0
  176. /package/dist/css/{10-lite-8c866f0bbc.chunk.css → 11-lite-8c866f0bbc.chunk.css} +0 -0
  177. /package/dist/css/{100-lite-dc68a449e9.chunk.css → 110-lite-dc68a449e9.chunk.css} +0 -0
  178. /package/dist/css/{114-lite-fdc3ceff80.chunk.css → 113-lite-fdc3ceff80.chunk.css} +0 -0
  179. /package/dist/css/{117-lite-f6f9f41353.chunk.css → 116-lite-f6f9f41353.chunk.css} +0 -0
  180. /package/dist/css/{12-lite-2b0bf4b23e.chunk.css → 13-lite-2b0bf4b23e.chunk.css} +0 -0
  181. /package/dist/css/{14-lite-017d513e36.chunk.css → 15-lite-017d513e36.chunk.css} +0 -0
  182. /package/dist/css/{15-lite-02a1e95d04.chunk.css → 16-lite-02a1e95d04.chunk.css} +0 -0
  183. /package/dist/css/{16-lite-488a989119.chunk.css → 17-lite-488a989119.chunk.css} +0 -0
  184. /package/dist/css/{17-lite-313bd12cbc.chunk.css → 18-lite-313bd12cbc.chunk.css} +0 -0
  185. /package/dist/css/{18-lite-17f2f1bf2a.chunk.css → 19-lite-17f2f1bf2a.chunk.css} +0 -0
  186. /package/dist/css/{19-lite-8a057ef418.chunk.css → 20-lite-8a057ef418.chunk.css} +0 -0
  187. /package/dist/css/{20-lite-239fc9777b.chunk.css → 21-lite-239fc9777b.chunk.css} +0 -0
  188. /package/dist/css/{21-lite-15769122b1.chunk.css → 22-lite-15769122b1.chunk.css} +0 -0
  189. /package/dist/css/{33-lite-e8424ab4a7.chunk.css → 33-lite-697606d9b9.chunk.css} +0 -0
  190. /package/dist/css/{52-lite-9a94c2bfcd.chunk.css → 51-lite-9a94c2bfcd.chunk.css} +0 -0
  191. /package/dist/css/{53-lite-17f2f1bf2a.chunk.css → 52-lite-17f2f1bf2a.chunk.css} +0 -0
  192. /package/dist/css/{54-lite-bef9c5bb20.chunk.css → 53-lite-bef9c5bb20.chunk.css} +0 -0
  193. /package/dist/css/{57-lite-3022a7f655.chunk.css → 55-lite-3022a7f655.chunk.css} +0 -0
  194. /package/dist/css/{58-lite-041bd8be6c.chunk.css → 56-lite-041bd8be6c.chunk.css} +0 -0
  195. /package/dist/css/{51-lite-fcd4312270.chunk.css → 57-lite-fcd4312270.chunk.css} +0 -0
  196. /package/dist/css/{59-lite-1696cbd6bd.chunk.css → 58-lite-1696cbd6bd.chunk.css} +0 -0
  197. /package/dist/css/{60-lite-e957c3cfa0.chunk.css → 59-lite-e957c3cfa0.chunk.css} +0 -0
  198. /package/dist/css/{61-lite-fb877ba4eb.chunk.css → 60-lite-fb877ba4eb.chunk.css} +0 -0
  199. /package/dist/css/{62-lite-bc4c511105.chunk.css → 61-lite-bc4c511105.chunk.css} +0 -0
  200. /package/dist/css/{63-lite-d8801b4cc5.chunk.css → 62-lite-d8801b4cc5.chunk.css} +0 -0
  201. /package/dist/css/{64-lite-8a2baa8cc7.chunk.css → 63-lite-8a2baa8cc7.chunk.css} +0 -0
  202. /package/dist/css/{66-lite-c020da1ace.chunk.css → 64-lite-c020da1ace.chunk.css} +0 -0
  203. /package/dist/css/{67-lite-5feca9b1f1.chunk.css → 66-lite-5feca9b1f1.chunk.css} +0 -0
  204. /package/dist/css/{68-lite-fd15a611f5.chunk.css → 67-lite-fd15a611f5.chunk.css} +0 -0
  205. /package/dist/css/{78-lite-2fff9bb973.chunk.css → 68-lite-2fff9bb973.chunk.css} +0 -0
  206. /package/dist/css/{70-lite-91dd21fc10.chunk.css → 69-lite-91dd21fc10.chunk.css} +0 -0
  207. /package/dist/css/{6-lite-6004e0a317.chunk.css → 7-lite-6004e0a317.chunk.css} +0 -0
  208. /package/dist/css/{71-lite-4068292bca.chunk.css → 70-lite-4068292bca.chunk.css} +0 -0
  209. /package/dist/css/{56-lite-eae2a4d798.chunk.css → 71-lite-eae2a4d798.chunk.css} +0 -0
  210. /package/dist/css/{74-lite-223991f675.chunk.css → 72-lite-223991f675.chunk.css} +0 -0
  211. /package/dist/css/{75-lite-223991f675.chunk.css → 73-lite-223991f675.chunk.css} +0 -0
  212. /package/dist/css/{76-lite-f429a540cb.chunk.css → 74-lite-f429a540cb.chunk.css} +0 -0
  213. /package/dist/css/{77-lite-794d3729e3.chunk.css → 75-lite-794d3729e3.chunk.css} +0 -0
  214. /package/dist/css/{80-lite-1e90b333ab.chunk.css → 78-lite-1e90b333ab.chunk.css} +0 -0
  215. /package/dist/css/{85-lite-42a5dcfa34.chunk.css → 82-lite-42a5dcfa34.chunk.css} +0 -0
  216. /package/dist/css/{86-lite-4a91cb7ba9.chunk.css → 83-lite-4a91cb7ba9.chunk.css} +0 -0
  217. /package/dist/css/{87-lite-9ea4b2ab88.chunk.css → 86-lite-9ea4b2ab88.chunk.css} +0 -0
  218. /package/dist/css/{88-lite-30208db4b8.chunk.css → 87-lite-30208db4b8.chunk.css} +0 -0
  219. /package/dist/css/{91-lite-93ad71f0d6.chunk.css → 90-lite-93ad71f0d6.chunk.css} +0 -0
  220. /package/dist/css/{96-lite-d286b282d6.chunk.css → 95-lite-d286b282d6.chunk.css} +0 -0
  221. /package/dist/css/{97-lite-40eedf96d7.chunk.css → 96-lite-40eedf96d7.chunk.css} +0 -0
  222. /package/dist/css/{98-lite-4ea4ab4f82.chunk.css → 97-lite-4ea4ab4f82.chunk.css} +0 -0
  223. /package/dist/css/{112-lite-dc68a449e9.chunk.css → 99-lite-dc68a449e9.chunk.css} +0 -0
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[26],{1463:function(e,t,n){e.exports=n(1704)},1704:function(e,t,n){!function(e,t){"use strict";function n(e,t,n,o,r,i,u){try{var l=e[i](u),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function o(e){return function(){var t=this,o=arguments;return new Promise((function(r,i){var u=e.apply(t,o);function l(e){n(u,r,i,l,s,"next",e)}function s(e){n(u,r,i,l,s,"throw",e)}l(void 0)}))}}function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function u(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var l={init:"init"},s=function(e){var t=e.value;return void 0===t?"":t},a=function(){return t.createElement(t.Fragment,null," ")},c={Cell:s,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){var n=t.style,o=t.className;return e=r({},e,{},i(t,["style","className"])),n&&(e.style=e.style?r({},e.style||{},{},n||{}):n),o&&(e.className=e.className?e.className+" "+o:o),""===e.className&&delete e.className,e}),{})}var f=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce((function(e,o){return function e(t,n,o){return"function"==typeof n?e({},n(t,o)):Array.isArray(n)?d.apply(void 0,[t].concat(n)):d(t,n)}(e,o,r({},t,{userProps:n}))}),{})}},p=function(e,t,n,o){return void 0===n&&(n={}),e.reduce((function(e,t){return t(e,n)}),t)},g=function(e,t,n){return void 0===n&&(n={}),e.forEach((function(e){e(t,n)}))};function v(e,t,n,o){e.findIndex((function(e){return e.pluginName===n})),t.forEach((function(t){e.findIndex((function(e){return e.pluginName===t}))}))}function m(e,t){return"function"==typeof e?e(t):e}function h(e){var n=t.useRef();return n.current=e,t.useCallback((function(){return n.current}),[])}var y="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function w(e,n){var o=t.useRef(!1);y((function(){o.current&&e(),o.current=!0}),n)}function R(e,t,n){return void 0===n&&(n={}),function(o,i){void 0===i&&(i={});var u="string"==typeof o?t[o]:o;if(void 0===u)throw console.info(t),new Error("Renderer Error ☝️");return b(u,r({},e,{column:t},n,{},i))}}function b(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(o=e)||"function"==typeof o||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(o)?t.createElement(e,n):e;var o}function S(e,t,n){return void 0===n&&(n=0),e.map((function(e){return P(e=r({},e,{parent:t,depth:n})),e.columns&&(e.columns=S(e.columns,e,n+1)),e}))}function C(e){return G(e,"columns")}function P(e){var t=e.id,n=e.accessor,o=e.Header;if("string"==typeof n){t=t||n;var r=n.split(".");n=function(e){return function(e,t,n){if(!t)return e;var o,r="function"==typeof t?t:JSON.stringify(t),i=E.get(r)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var o=0;o<t.length;o+=1)e(t[o],n);else n.push(t);return n}(e).map((function(e){return String(e).replace(".","_")})).join(".").replace(W,".").replace(O,"").split(".")}(t);return E.set(r,e),e}();try{o=i.reduce((function(e,t){return e[t]}),e)}catch(e){}return void 0!==o?o:void 0}(e,r)}}if(!t&&"string"==typeof o&&o&&(t=o),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function x(e,t){if(!t)throw new Error;return Object.assign(e,r({Header:a,Footer:a},c,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}function B(e,t,n){void 0===n&&(n=function(){return{}});for(var o=[],i=e,u=0,l=function(){return u++},s=function(){var e={headers:[]},u=[],s=i.some((function(e){return e.parent}));i.forEach((function(o){var i,a=[].concat(u).reverse()[0];s&&(i=o.parent?r({},o.parent,{originalId:o.parent.id,id:o.parent.id+"_"+l(),headers:[o]},n(o)):x(r({originalId:o.id+"_placeholder",id:o.id+"_placeholder_"+l(),placeholderOf:o,headers:[o]},n(o)),t),a&&a.originalId===i.originalId?a.headers.push(o):u.push(i)),e.headers.push(o)})),o.push(e),i=u};i.length;)s();return o.reverse()}var E=new Map;function I(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var o=0;o<t.length;o+=1)if(void 0!==t[o])return t[o]}function F(e){if("function"==typeof e)return e}function G(e,t){var n=[];return function e(o){o.forEach((function(o){o[t]?e(o[t]):n.push(o)}))}(e),n}function A(e,t){var n=t.manualExpandedKey,o=t.expanded,r=t.expandSubRows,i=void 0===r||r,u=[];return e.forEach((function(e){return function e(t,r){void 0===r&&(r=!0),t.isExpanded=t.original&&t.original[n]||o[t.id],t.canExpand=t.subRows&&!!t.subRows.length,r&&u.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach((function(t){return e(t,i)}))}(e)})),u}function k(e,t,n){return F(e)||t[e]||n[e]||n.text}function H(e,t,n){return e?e(t,n):void 0===t}function T(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var z=null,W=/\[/g,O=/\]/g,M=function(e){return r({role:"table"},e)},j=function(e){return r({role:"rowgroup"},e)},N=function(e,t){var n=t.column;return r({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},_=function(e,t){var n=t.column;return r({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},D=function(e,t){return r({key:"headerGroup_"+t.index,role:"row"},e)},L=function(e,t){return r({key:"footerGroup_"+t.index},e)},V=function(e,t){return r({key:"row_"+t.row.id,role:"row"},e)},X=function(e,t){var n=t.cell;return r({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function q(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[M],getTableBodyProps:[j],getHeaderGroupProps:[D],getFooterGroupProps:[L],getHeaderProps:[N],getFooterProps:[_],getRowProps:[V],getCellProps:[X],useFinalInstance:[]}}l.resetHiddenColumns="resetHiddenColumns",l.toggleHideColumn="toggleHideColumn",l.setHiddenColumns="setHiddenColumns",l.toggleHideAllColumns="toggleHideAllColumns";var K=function(e){e.getToggleHiddenProps=[U],e.getToggleHideAllColumnsProps=[$],e.stateReducers.push(J),e.useInstanceBeforeDimensions.push(Y),e.headerGroupsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])})),e.useInstance.push(Q)};K.pluginName="useColumnVisibility";var U=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},$=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function J(e,t,n,o){if(t.type===l.init)return r({hiddenColumns:[]},e);if(t.type===l.resetHiddenColumns)return r({},e,{hiddenColumns:o.initialState.hiddenColumns||[]});if(t.type===l.toggleHideColumn){var i=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter((function(e){return e!==t.columnId}));return r({},e,{hiddenColumns:i})}return t.type===l.setHiddenColumns?r({},e,{hiddenColumns:m(t.value,e.hiddenColumns)}):t.type===l.toggleHideAllColumns?r({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?o.allColumns.map((function(e){return e.id})):[]}):void 0}function Y(e){var n=e.headers,o=e.state.hiddenColumns;t.useRef(!1).current;var r=0;n.forEach((function(e){return r+=function e(t,n){t.isVisible=n&&!o.includes(t.id);var r=0;return t.headers&&t.headers.length?t.headers.forEach((function(n){return r+=e(n,t.isVisible)})):r=t.isVisible?1:0,t.totalVisibleHeaderCount=r,r}(e,!0)}))}function Q(e){var n=e.columns,o=e.flatHeaders,r=e.dispatch,i=e.allColumns,u=e.getHooks,s=e.state.hiddenColumns,a=e.autoResetHiddenColumns,c=void 0===a||a,d=h(e),p=i.length===s.length,g=t.useCallback((function(e,t){return r({type:l.toggleHideColumn,columnId:e,value:t})}),[r]),v=t.useCallback((function(e){return r({type:l.setHiddenColumns,value:e})}),[r]),m=t.useCallback((function(e){return r({type:l.toggleHideAllColumns,value:e})}),[r]),y=f(u().getToggleHideAllColumnsProps,{instance:d()});o.forEach((function(e){e.toggleHidden=function(t){r({type:l.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=f(u().getToggleHiddenProps,{instance:d(),column:e})}));var R=h(c);w((function(){R()&&r({type:l.resetHiddenColumns})}),[r,n]),Object.assign(e,{allColumnsHidden:p,toggleHideColumn:g,setHiddenColumns:v,toggleHideAllColumns:m,getToggleHideAllColumnsProps:y})}var Z={},ee={},te=function(e,t,n){return e},ne=function(e,t){return e.subRows||[]},oe=function(e,t,n){return""+(n?[n.id,t].join("."):t)},re=function(e){return e};function ie(e){var t=e.initialState,n=void 0===t?Z:t,o=e.defaultColumn,u=void 0===o?ee:o,l=e.getSubRows,s=void 0===l?ne:l,a=e.getRowId,c=void 0===a?oe:a,d=e.stateReducer,f=void 0===d?te:d,p=e.useControlledState,g=void 0===p?re:p;return r({},i(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:u,getSubRows:s,getRowId:c,stateReducer:f,useControlledState:g})}function ue(e,t){void 0===t&&(t=0);var n=0,o=0,r=0,i=0;return e.forEach((function(e){var u=e.headers;if(e.totalLeft=t,u&&u.length){var l=ue(u,t),s=l[0],a=l[1],c=l[2],d=l[3];e.totalMinWidth=s,e.totalWidth=a,e.totalMaxWidth=c,e.totalFlexWidth=d}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,o+=e.totalWidth,r+=e.totalMaxWidth,i+=e.totalFlexWidth)})),[n,o,r,i]}function le(e){var t=e.data,n=e.rows,o=e.flatRows,r=e.rowsById,i=e.column,u=e.getRowId,l=e.getSubRows,s=e.accessValueHooks,a=e.getInstance;t.forEach((function(e,c){return function e(n,c,d,f,g){void 0===d&&(d=0);var v=n,m=u(n,c,f),h=r[m];if(h)h.subRows&&h.originalSubRows.forEach((function(t,n){return e(t,n,d+1,h)}));else if((h={id:m,original:v,index:c,depth:d,cells:[{}]}).cells.map=T,h.cells.filter=T,h.cells.forEach=T,h.cells[0].getCellProps=T,h.values={},g.push(h),o.push(h),r[m]=h,h.originalSubRows=l(n,c),h.originalSubRows){var y=[];h.originalSubRows.forEach((function(t,n){return e(t,n,d+1,h,y)})),h.subRows=y}i.accessor&&(h.values[i.id]=i.accessor(n,c,h,g,t)),h.values[i.id]=p(s,h.values[i.id],{row:h,column:i,instance:a()})}(e,c,0,void 0,n)}))}l.resetExpanded="resetExpanded",l.toggleRowExpanded="toggleRowExpanded",l.toggleAllRowsExpanded="toggleAllRowsExpanded";var se=function(e){e.getToggleAllRowsExpandedProps=[ae],e.getToggleRowExpandedProps=[ce],e.stateReducers.push(de),e.useInstance.push(fe),e.prepareRow.push(pe)};se.pluginName="useExpanded";var ae=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},ce=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function de(e,t,n,o){if(t.type===l.init)return r({expanded:{}},e);if(t.type===l.resetExpanded)return r({},e,{expanded:o.initialState.expanded||{}});if(t.type===l.toggleAllRowsExpanded){var s=t.value,a=o.isAllRowsExpanded,c=o.rowsById;if(void 0!==s?s:!a){var d={};return Object.keys(c).forEach((function(e){d[e]=!0})),r({},e,{expanded:d})}return r({},e,{expanded:{}})}if(t.type===l.toggleRowExpanded){var f,p=t.id,g=t.value,v=e.expanded[p],m=void 0!==g?g:!v;if(!v&&m)return r({},e,{expanded:r({},e.expanded,(f={},f[p]=!0,f))});if(v&&!m){var h=e.expanded;return h[p],r({},e,{expanded:i(h,[p].map(u))})}return e}}function fe(e){var n=e.data,o=e.rows,r=e.rowsById,i=e.manualExpandedKey,u=void 0===i?"expanded":i,s=e.paginateExpandedRows,a=void 0===s||s,c=e.expandSubRows,d=void 0===c||c,p=e.autoResetExpanded,g=void 0===p||p,m=e.getHooks,y=e.plugins,R=e.state.expanded,b=e.dispatch;v(y,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var S=h(g),C=Boolean(Object.keys(r).length&&Object.keys(R).length);C&&Object.keys(r).some((function(e){return!R[e]}))&&(C=!1),w((function(){S()&&b({type:l.resetExpanded})}),[b,n]);var P=t.useCallback((function(e,t){b({type:l.toggleRowExpanded,id:e,value:t})}),[b]),x=t.useCallback((function(e){return b({type:l.toggleAllRowsExpanded,value:e})}),[b]),B=t.useMemo((function(){return a?A(o,{manualExpandedKey:u,expanded:R,expandSubRows:d}):o}),[a,o,u,R,d]),E=t.useMemo((function(){return function(e){var t=0;return Object.keys(e).forEach((function(e){var n=e.split(".");t=Math.max(t,n.length)})),t}(R)}),[R]),I=h(e),F=f(m().getToggleAllRowsExpandedProps,{instance:I()});Object.assign(e,{preExpandedRows:o,expandedRows:B,rows:B,expandedDepth:E,isAllRowsExpanded:C,toggleRowExpanded:P,toggleAllRowsExpanded:x,getToggleAllRowsExpandedProps:F})}function pe(e,t){var n=t.instance.getHooks,o=t.instance;e.toggleRowExpanded=function(t){return o.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=f(n().getToggleRowExpandedProps,{instance:o,row:e})}var ge=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return String(o).toLowerCase().includes(String(n).toLowerCase())}))}))};ge.autoRemove=function(e){return!e};var ve=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return void 0===o||String(o).toLowerCase()===String(n).toLowerCase()}))}))};ve.autoRemove=function(e){return!e};var me=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return void 0===o||String(o)===String(n)}))}))};me.autoRemove=function(e){return!e};var he=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t].includes(n)}))}))};he.autoRemove=function(e){return!e||!e.length};var ye=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return o&&o.length&&n.every((function(e){return o.includes(e)}))}))}))};ye.autoRemove=function(e){return!e||!e.length};var we=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return o&&o.length&&n.some((function(e){return o.includes(e)}))}))}))};we.autoRemove=function(e){return!e||!e.length};var Re=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return n.includes(o)}))}))};Re.autoRemove=function(e){return!e||!e.length};var be=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]===n}))}))};be.autoRemove=function(e){return void 0===e};var Se=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]==n}))}))};Se.autoRemove=function(e){return null==e};var Ce=function(e,t,n){var o=n||[],r=o[0],i=o[1];if((r="number"==typeof r?r:-1/0)>(i="number"==typeof i?i:1/0)){var u=r;r=i,i=u}return e.filter((function(e){return t.some((function(t){var n=e.values[t];return n>=r&&n<=i}))}))};Ce.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var Pe=Object.freeze({__proto__:null,text:ge,exactText:ve,exactTextCase:me,includes:he,includesAll:ye,includesSome:we,includesValue:Re,exact:be,equals:Se,between:Ce});l.resetFilters="resetFilters",l.setFilter="setFilter",l.setAllFilters="setAllFilters";var xe=function(e){e.stateReducers.push(Be),e.useInstance.push(Ee)};function Be(e,t,n,o){if(t.type===l.init)return r({filters:[]},e);if(t.type===l.resetFilters)return r({},e,{filters:o.initialState.filters||[]});if(t.type===l.setFilter){var i=t.columnId,u=t.filterValue,s=o.allColumns,a=o.filterTypes,c=s.find((function(e){return e.id===i}));if(!c)throw new Error("React-Table: Could not find a column with id: "+i);var d=k(c.filter,a||{},Pe),f=e.filters.find((function(e){return e.id===i})),p=m(u,f&&f.value);return H(d.autoRemove,p,c)?r({},e,{filters:e.filters.filter((function(e){return e.id!==i}))}):r({},e,f?{filters:e.filters.map((function(e){return e.id===i?{id:i,value:p}:e}))}:{filters:[].concat(e.filters,[{id:i,value:p}])})}if(t.type===l.setAllFilters){var g=t.filters,v=o.allColumns,h=o.filterTypes;return r({},e,{filters:m(g,e.filters).filter((function(e){var t=v.find((function(t){return t.id===e.id}));return!H(k(t.filter,h||{},Pe).autoRemove,e.value,t)}))})}}function Ee(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.filterTypes,a=e.manualFilters,c=e.defaultCanFilter,d=void 0!==c&&c,f=e.disableFilters,p=e.state.filters,g=e.dispatch,v=e.autoResetFilters,m=void 0===v||v,y=t.useCallback((function(e,t){g({type:l.setFilter,columnId:e,filterValue:t})}),[g]),R=t.useCallback((function(e){g({type:l.setAllFilters,filters:e})}),[g]);u.forEach((function(e){var t=e.id,n=e.accessor,o=e.defaultCanFilter,r=e.disableFilters;e.canFilter=n?I(!0!==r&&void 0,!0!==f&&void 0,!0):I(o,d,!1),e.setFilter=function(t){return y(e.id,t)};var i=p.find((function(e){return e.id===t}));e.filterValue=i&&i.value}));var b=t.useMemo((function(){if(a||!p.length)return[o,r,i];var e=[],t={};return[function n(o,r){void 0===r&&(r=0);var i=o;return(i=p.reduce((function(e,t){var n=t.id,o=t.value,i=u.find((function(e){return e.id===n}));if(!i)return e;0===r&&(i.preFilteredRows=e);var l=k(i.filter,s||{},Pe);return l?(i.filteredRows=l(e,[n],o),i.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+i.id+"."),e)}),o)).forEach((function(o){e.push(o),t[o.id]=o,o.subRows&&(o.subRows=o.subRows&&o.subRows.length>0?n(o.subRows,r+1):o.subRows)})),i}(o),e,t]}),[a,p,o,r,i,u,s]),S=b[0],C=b[1],P=b[2];t.useMemo((function(){u.filter((function(e){return!p.find((function(t){return t.id===e.id}))})).forEach((function(e){e.preFilteredRows=S,e.filteredRows=S}))}),[S,p,u]);var x=h(m);w((function(){x()&&g({type:l.resetFilters})}),[g,a?null:n]),Object.assign(e,{preFilteredRows:o,preFilteredFlatRows:r,preFilteredRowsById:i,filteredRows:S,filteredFlatRows:C,filteredRowsById:P,rows:S,flatRows:C,rowsById:P,setFilter:y,setAllFilters:R})}xe.pluginName="useFilters",l.resetGlobalFilter="resetGlobalFilter",l.setGlobalFilter="setGlobalFilter";var Ie=function(e){e.stateReducers.push(Fe),e.useInstance.push(Ge)};function Fe(e,t,n,o){if(t.type===l.resetGlobalFilter)return r({},e,{globalFilter:o.initialState.globalFilter||void 0});if(t.type===l.setGlobalFilter){var u=t.filterValue,s=o.userFilterTypes,a=k(o.globalFilter,s||{},Pe),c=m(u,e.globalFilter);return H(a.autoRemove,c)?(e.globalFilter,i(e,["globalFilter"])):r({},e,{globalFilter:c})}}function Ge(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.filterTypes,a=e.globalFilter,c=e.manualGlobalFilter,d=e.state.globalFilter,f=e.dispatch,p=e.autoResetGlobalFilter,g=void 0===p||p,v=e.disableGlobalFilter,m=t.useCallback((function(e){f({type:l.setGlobalFilter,filterValue:e})}),[f]),y=t.useMemo((function(){if(c||void 0===d)return[o,r,i];var e=[],t={},n=k(a,s||{},Pe);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),o;u.forEach((function(e){var t=e.disableGlobalFilter;e.canFilter=I(!0!==t&&void 0,!0!==v&&void 0,!0)}));var l=u.filter((function(e){return!0===e.canFilter}));return[function o(r){return(r=n(r,l.map((function(e){return e.id})),d)).forEach((function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?o(n.subRows):n.subRows})),r}(o),e,t]}),[c,d,a,s,u,o,r,i,v]),R=y[0],b=y[1],S=y[2],C=h(g);w((function(){C()&&f({type:l.resetGlobalFilter})}),[f,c?null:n]),Object.assign(e,{preGlobalFilteredRows:o,preGlobalFilteredFlatRows:r,preGlobalFilteredRowsById:i,globalFilteredRows:R,globalFilteredFlatRows:b,globalFilteredRowsById:S,rows:R,flatRows:b,rowsById:S,setGlobalFilter:m,disableGlobalFilter:v})}function Ae(e,t){return t.reduce((function(e,t){return e+("number"==typeof t?t:0)}),0)}Ie.pluginName="useGlobalFilter";var ke=Object.freeze({__proto__:null,sum:Ae,min:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e))})),t},max:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.max(t,e))})),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))})),t+".."+n},average:function(e){return Ae(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort((function(e,t){return e-t}));return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),He=[],Te={};l.resetGroupBy="resetGroupBy",l.setGroupBy="setGroupBy",l.toggleGroupBy="toggleGroupBy";var ze=function(e){e.getGroupByToggleProps=[We],e.stateReducers.push(Oe),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])})),e.visibleColumns.push(Me),e.useInstance.push(Ne),e.prepareRow.push(_e)};ze.pluginName="useGroupBy";var We=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Oe(e,t,n,o){if(t.type===l.init)return r({groupBy:[]},e);if(t.type===l.resetGroupBy)return r({},e,{groupBy:o.initialState.groupBy||[]});if(t.type===l.setGroupBy)return r({},e,{groupBy:t.value});if(t.type===l.toggleGroupBy){var i=t.columnId,u=t.value,s=void 0!==u?u:!e.groupBy.includes(i);return r({},e,s?{groupBy:[].concat(e.groupBy,[i])}:{groupBy:e.groupBy.filter((function(e){return e!==i}))})}}function Me(e,t){var n=t.instance.state.groupBy,o=n.map((function(t){return e.find((function(e){return e.id===t}))})).filter(Boolean),r=e.filter((function(e){return!n.includes(e.id)}));return(e=[].concat(o,r)).forEach((function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)})),e}var je={};function Ne(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.flatHeaders,a=e.groupByFn,c=void 0===a?De:a,d=e.manualGroupBy,p=e.aggregations,g=void 0===p?je:p,m=e.plugins,y=e.state.groupBy,R=e.dispatch,b=e.autoResetGroupBy,S=void 0===b||b,C=e.disableGroupBy,P=e.defaultCanGroupBy,x=e.getHooks;v(m,["useColumnOrder","useFilters"],"useGroupBy");var B=h(e);u.forEach((function(t){var n=t.accessor,o=t.defaultGroupBy,r=t.disableGroupBy;t.canGroupBy=n?I(t.canGroupBy,!0!==r&&void 0,!0!==C&&void 0,!0):I(t.canGroupBy,o,P,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell}));var E=t.useCallback((function(e,t){R({type:l.toggleGroupBy,columnId:e,value:t})}),[R]),F=t.useCallback((function(e){R({type:l.setGroupBy,value:e})}),[R]);s.forEach((function(e){e.getGroupByToggleProps=f(x().getGroupByToggleProps,{instance:B(),header:e})}));var A=t.useMemo((function(){if(d||!y.length)return[o,r,i,He,Te,r,i];var e=y.filter((function(e){return u.find((function(t){return t.id===e}))})),t=[],n={},l=[],s={},a=[],f={},p=function o(r,i,d){if(void 0===i&&(i=0),i===e.length)return r;var p=e[i],v=c(r,p);return Object.entries(v).map((function(r,c){var v=r[0],m=r[1],h=p+":"+v,y=o(m,i+1,h=d?d+">"+h:h),w=i?G(m,"leafRows"):m,R=function(t,n,o){var r={};return u.forEach((function(i){if(e.includes(i.id))r[i.id]=n[0]?n[0].values[i.id]:null;else{var u="function"==typeof i.aggregate?i.aggregate:g[i.aggregate]||ke[i.aggregate];if(u){var l=n.map((function(e){return e.values[i.id]})),s=t.map((function(e){var t=e.values[i.id];if(!o&&i.aggregateValue){var n="function"==typeof i.aggregateValue?i.aggregateValue:g[i.aggregateValue]||ke[i.aggregateValue];if(!n)throw console.info({column:i}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,i)}return t}));r[i.id]=u(s,l)}else{if(i.aggregate)throw console.info({column:i}),new Error("React Table: Invalid column.aggregate option for column listed above");r[i.id]=null}}})),r}(w,m,i),b={id:h,isGrouped:!0,groupByID:p,groupByVal:v,values:R,subRows:y,leafRows:w,depth:i,index:c};return y.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(a.push(e),f[e.id]=e)})),b}))}(o);return p.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(a.push(e),f[e.id]=e)})),[p,t,n,l,s,a,f]}),[d,y,o,r,i,u,g,c]),k=A[0],H=A[1],T=A[2],z=A[3],W=A[4],O=A[5],M=A[6],j=h(S);w((function(){j()&&R({type:l.resetGroupBy})}),[R,d?null:n]),Object.assign(e,{preGroupedRows:o,preGroupedFlatRow:r,preGroupedRowsById:i,groupedRows:k,groupedFlatRows:H,groupedRowsById:T,onlyGroupedFlatRows:z,onlyGroupedRowsById:W,nonGroupedFlatRows:O,nonGroupedRowsById:M,rows:k,flatRows:H,rowsById:T,toggleGroupBy:E,setGroupBy:F})}function _e(e){e.allCells.forEach((function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)}))}function De(e,t){return e.reduce((function(e,n,o){var r=""+n.values[t];return e[r]=Array.isArray(e[r])?e[r]:[],e[r].push(n),e}),{})}var Le=/([0-9]+)/gm;function Ve(e,t){return e===t?0:e>t?1:-1}function Xe(e,t){return e.values[t]}function qe(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var Ke=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var o=Xe(e,n),r=Xe(t,n);for(o=qe(o),r=qe(r),o=o.split(Le).filter(Boolean),r=r.split(Le).filter(Boolean);o.length&&r.length;){var i=o.shift(),u=r.shift(),l=parseInt(i,10),s=parseInt(u,10),a=[l,s].sort();if(isNaN(a[0])){if(i>u)return 1;if(u>i)return-1}else{if(isNaN(a[1]))return isNaN(l)?-1:1;if(l>s)return 1;if(s>l)return-1}}return o.length-r.length},datetime:function(e,t,n){var o=Xe(e,n),r=Xe(t,n);return Ve(o=o.getTime(),r=r.getTime())},basic:function(e,t,n){return Ve(Xe(e,n),Xe(t,n))}});l.resetSortBy="resetSortBy",l.setSortBy="setSortBy",l.toggleSortBy="toggleSortBy",l.clearSortBy="clearSortBy",c.sortType="alphanumeric",c.sortDescFirst=!1;var Ue=function(e){e.getSortByToggleProps=[$e],e.stateReducers.push(Je),e.useInstance.push(Ye)};Ue.pluginName="useSortBy";var $e=function(e,t){var n=t.instance,o=t.column,r=n.isMultiSortEvent,i=void 0===r?function(e){return e.shiftKey}:r;return[e,{onClick:o.canSort?function(e){e.persist(),o.toggleSortBy(void 0,!n.disableMultiSort&&i(e))}:void 0,style:{cursor:o.canSort?"pointer":void 0},title:o.canSort?"Toggle SortBy":void 0}]};function Je(e,t,n,o){if(t.type===l.init)return r({sortBy:[]},e);if(t.type===l.resetSortBy)return r({},e,{sortBy:o.initialState.sortBy||[]});if(t.type===l.clearSortBy)return r({},e,{sortBy:e.sortBy.filter((function(e){return e.id!==t.columnId}))});if(t.type===l.setSortBy)return r({},e,{sortBy:t.sortBy});if(t.type===l.toggleSortBy){var i,u=t.columnId,s=t.desc,a=t.multi,c=o.allColumns,d=o.disableMultiSort,f=o.disableSortRemove,p=o.disableMultiRemove,g=o.maxMultiSortColCount,v=void 0===g?Number.MAX_SAFE_INTEGER:g,m=e.sortBy,h=c.find((function(e){return e.id===u})).sortDescFirst,y=m.find((function(e){return e.id===u})),w=m.findIndex((function(e){return e.id===u})),R=null!=s,b=[];return"toggle"!=(i=!d&&a?y?"toggle":"add":w!==m.length-1||1!==m.length?"replace":y?"toggle":"replace")||f||R||a&&p||!(y&&y.desc&&!h||!y.desc&&h)||(i="remove"),"replace"===i?b=[{id:u,desc:R?s:h}]:"add"===i?(b=[].concat(m,[{id:u,desc:R?s:h}])).splice(0,b.length-v):"toggle"===i?b=m.map((function(e){return e.id===u?r({},e,{desc:R?s:!y.desc}):e})):"remove"===i&&(b=m.filter((function(e){return e.id!==u}))),r({},e,{sortBy:b})}}function Ye(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.allColumns,u=e.orderByFn,s=void 0===u?Qe:u,a=e.sortTypes,c=e.manualSortBy,d=e.defaultCanSort,p=e.disableSortBy,g=e.flatHeaders,m=e.state.sortBy,y=e.dispatch,R=e.plugins,b=e.getHooks,S=e.autoResetSortBy,C=void 0===S||S;v(R,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var P=t.useCallback((function(e){y({type:l.setSortBy,sortBy:e})}),[y]),x=t.useCallback((function(e,t,n){y({type:l.toggleSortBy,columnId:e,desc:t,multi:n})}),[y]),B=h(e);g.forEach((function(e){var t=e.accessor,n=e.canSort,o=e.disableSortBy,r=e.id,i=t?I(!0!==o&&void 0,!0!==p&&void 0,!0):I(d,n,!1);e.canSort=i,e.canSort&&(e.toggleSortBy=function(t,n){return x(e.id,t,n)},e.clearSortBy=function(){y({type:l.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=f(b().getSortByToggleProps,{instance:B(),column:e});var u=m.find((function(e){return e.id===r}));e.isSorted=!!u,e.sortedIndex=m.findIndex((function(e){return e.id===r})),e.isSortedDesc=e.isSorted?u.desc:void 0}));var E=t.useMemo((function(){if(c||!m.length)return[o,r];var e=[],t=m.filter((function(e){return i.find((function(t){return t.id===e.id}))}));return[function n(o){var r=s(o,t.map((function(e){var t=i.find((function(t){return t.id===e.id}));if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,o=F(n)||(a||{})[n]||Ke[n];if(!o)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return o(t,n,e.id,e.desc)}})),t.map((function(e){var t=i.find((function(t){return t.id===e.id}));return t&&t.sortInverted?e.desc:!e.desc})));return r.forEach((function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))})),r}(o),e]}),[c,m,o,r,i,s,a]),G=E[0],A=E[1],k=h(C);w((function(){k()&&y({type:l.resetSortBy})}),[c?null:n]),Object.assign(e,{preSortedRows:o,preSortedFlatRows:r,sortedRows:G,sortedFlatRows:A,rows:G,flatRows:A,setSortBy:P,toggleSortBy:x})}function Qe(e,t,n){return[].concat(e).sort((function(e,o){for(var r=0;r<t.length;r+=1){var i=t[r],u=!1===n[r]||"desc"===n[r],l=i(e,o);if(0!==l)return u?-l:l}return n[0]?e.index-o.index:o.index-e.index}))}l.resetPage="resetPage",l.gotoPage="gotoPage",l.setPageSize="setPageSize";var Ze=function(e){e.stateReducers.push(et),e.useInstance.push(tt)};function et(e,t,n,o){if(t.type===l.init)return r({pageSize:10,pageIndex:0},e);if(t.type===l.resetPage)return r({},e,{pageIndex:o.initialState.pageIndex||0});if(t.type===l.gotoPage){var i=o.pageCount,u=o.page,s=m(t.pageIndex,e.pageIndex),a=!1;return s>e.pageIndex?a=-1===i?u.length>=e.pageSize:s<i:s<e.pageIndex&&(a=s>-1),a?r({},e,{pageIndex:s}):e}if(t.type===l.setPageSize){var c=t.pageSize,d=e.pageSize*e.pageIndex;return r({},e,{pageIndex:Math.floor(d/c),pageSize:c})}}function tt(e){var n=e.rows,o=e.autoResetPage,r=void 0===o||o,i=e.manualExpandedKey,u=void 0===i?"expanded":i,s=e.plugins,a=e.pageCount,c=e.paginateExpandedRows,d=void 0===c||c,f=e.expandSubRows,p=void 0===f||f,g=e.state,m=g.pageSize,y=g.pageIndex,R=g.expanded,b=g.globalFilter,S=g.filters,C=g.groupBy,P=g.sortBy,x=e.dispatch,B=e.data,E=e.manualPagination;v(s,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var I=h(r);w((function(){I()&&x({type:l.resetPage})}),[x,E?null:B,b,S,C,P]);var F=E?a:Math.ceil(n.length/m),G=t.useMemo((function(){return F>0?[].concat(new Array(F)).fill(null).map((function(e,t){return t})):[]}),[F]),k=t.useMemo((function(){var e;if(E)e=n;else{var t=m*y,o=t+m;e=n.slice(t,o)}return d?e:A(e,{manualExpandedKey:u,expanded:R,expandSubRows:p})}),[p,R,u,E,y,m,d,n]),H=y>0,T=-1===F?k.length>=m:y<F-1,z=t.useCallback((function(e){x({type:l.gotoPage,pageIndex:e})}),[x]),W=t.useCallback((function(){return z((function(e){return e-1}))}),[z]),O=t.useCallback((function(){return z((function(e){return e+1}))}),[z]),M=t.useCallback((function(e){x({type:l.setPageSize,pageSize:e})}),[x]);Object.assign(e,{pageOptions:G,pageCount:F,page:k,canPreviousPage:H,canNextPage:T,gotoPage:z,previousPage:W,nextPage:O,setPageSize:M})}Ze.pluginName="usePagination",l.resetPivot="resetPivot",l.togglePivot="togglePivot";var nt=function(e){e.getPivotToggleProps=[rt],e.stateReducers.push(it),e.useInstanceAfterData.push(ut),e.allColumns.push(lt),e.accessValue.push(st),e.materializedColumns.push(at),e.materializedColumnsDeps.push(ct),e.visibleColumns.push(dt),e.visibleColumnsDeps.push(ft),e.useInstance.push(pt),e.prepareRow.push(gt)};nt.pluginName="usePivotColumns";var ot=[],rt=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function it(e,t,n,o){if(t.type===l.init)return r({pivotColumns:ot},e);if(t.type===l.resetPivot)return r({},e,{pivotColumns:o.initialState.pivotColumns||ot});if(t.type===l.togglePivot){var i=t.columnId,u=t.value,s=void 0!==u?u:!e.pivotColumns.includes(i);return r({},e,s?{pivotColumns:[].concat(e.pivotColumns,[i])}:{pivotColumns:e.pivotColumns.filter((function(e){return e!==i}))})}}function ut(e){e.allColumns.forEach((function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)}))}function lt(e,t){var n=t.instance;return e.forEach((function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set})),e}function st(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function at(e,t){var n=t.instance,o=n.allColumns,i=n.state;if(!i.pivotColumns.length||!i.groupBy||!i.groupBy.length)return e;var u=i.pivotColumns.map((function(e){return o.find((function(t){return t.id===e}))})).filter(Boolean),l=o.filter((function(e){return!e.isPivotSource&&!i.groupBy.includes(e.id)&&!i.pivotColumns.includes(e.id)})),s=C(function e(t,n,o){void 0===t&&(t=0),void 0===o&&(o=[]);var i=u[t];return i?Array.from(i.uniqueValues).sort().map((function(u){var l=r({},i,{Header:i.PivotHeader||"string"==typeof i.header?i.Header+": "+u:u,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+i.id+"."+u:i.id+"."+u,pivotValue:u});return l.columns=e(t+1,l,[].concat(o,[function(e){return e.values[i.id]===u}])),l})):l.map((function(e){return r({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,r){if(o.every((function(e){return e(r)})))return r.values[e.id]}})}))}());return[].concat(e,s)}function ct(e,t){var n=t.instance.state,o=n.pivotColumns,r=n.groupBy;return[].concat(e,[o,r])}function dt(e,t){var n=t.instance.state;return e=e.filter((function(e){return!e.isPivotSource})),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter((function(e){return e.isGrouped||e.isPivoted}))),e}function ft(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function pt(e){var t=e.columns,n=e.allColumns,o=e.flatHeaders,r=e.getHooks,i=e.plugins,u=e.dispatch,s=e.autoResetPivot,a=void 0===s||s,c=e.manaulPivot,d=e.disablePivot,p=e.defaultCanPivot;v(i,["useGroupBy"],"usePivotColumns");var g=h(e);n.forEach((function(t){var n=t.accessor,o=t.defaultPivot,r=t.disablePivot;t.canPivot=n?I(t.canPivot,!0!==r&&void 0,!0!==d&&void 0,!0):I(t.canPivot,o,p,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell})),o.forEach((function(e){e.getPivotToggleProps=f(r().getPivotToggleProps,{instance:g(),header:e})}));var m=h(a);w((function(){m()&&u({type:l.resetPivot})}),[u,c?null:t]),Object.assign(e,{togglePivot:function(e,t){u({type:l.togglePivot,columnId:e,value:t})}})}function gt(e){e.allCells.forEach((function(e){e.isPivoted=e.column.isPivoted}))}l.resetSelectedRows="resetSelectedRows",l.toggleAllRowsSelected="toggleAllRowsSelected",l.toggleRowSelected="toggleRowSelected",l.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var vt=function(e){e.getToggleRowSelectedProps=[mt],e.getToggleAllRowsSelectedProps=[ht],e.getToggleAllPageRowsSelectedProps=[yt],e.stateReducers.push(wt),e.useInstance.push(Rt),e.prepareRow.push(bt)};vt.pluginName="useRowSelect";var mt=function(e,t){var n=t.instance,o=t.row,r=n.manualRowSelectedKey,i=void 0===r?"isSelected":r;return[e,{onChange:function(e){o.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!o.original||!o.original[i])||o.isSelected,title:"Toggle Row Selected",indeterminate:o.isSomeSelected}]},ht=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},yt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some((function(e){var t=e.id;return n.state.selectedRowIds[t]})))}]};function wt(e,t,n,o){if(t.type===l.init)return r({selectedRowIds:{}},e);if(t.type===l.resetSelectedRows)return r({},e,{selectedRowIds:o.initialState.selectedRowIds||{}});if(t.type===l.toggleAllRowsSelected){var i=t.value,u=o.isAllRowsSelected,s=o.rowsById,a=o.nonGroupedRowsById,c=void 0===a?s:a,d=void 0!==i?i:!u,f=Object.assign({},e.selectedRowIds);return d?Object.keys(c).forEach((function(e){f[e]=!0})):Object.keys(c).forEach((function(e){delete f[e]})),r({},e,{selectedRowIds:f})}if(t.type===l.toggleRowSelected){var p=t.id,g=t.value,v=o.rowsById,m=o.selectSubRows,h=void 0===m||m,y=o.getSubRows,w=e.selectedRowIds[p],R=void 0!==g?g:!w;if(w===R)return e;var b=r({},e.selectedRowIds);return function e(t){var n=v[t];if(n.isGrouped||(R?b[t]=!0:delete b[t]),h&&y(n))return y(n).forEach((function(t){return e(t.id)}))}(p),r({},e,{selectedRowIds:b})}if(t.type===l.toggleAllPageRowsSelected){var S=t.value,C=o.page,P=o.rowsById,x=o.selectSubRows,B=void 0===x||x,E=o.isAllPageRowsSelected,I=o.getSubRows,F=void 0!==S?S:!E,G=r({},e.selectedRowIds);return C.forEach((function(e){return function e(t){var n=P[t];if(n.isGrouped||(F?G[t]=!0:delete G[t]),B&&I(n))return I(n).forEach((function(t){return e(t.id)}))}(e.id)})),r({},e,{selectedRowIds:G})}return e}function Rt(e){var n=e.data,o=e.rows,r=e.getHooks,i=e.plugins,u=e.rowsById,s=e.nonGroupedRowsById,a=void 0===s?u:s,c=e.autoResetSelectedRows,d=void 0===c||c,p=e.state.selectedRowIds,g=e.selectSubRows,m=void 0===g||g,y=e.dispatch,R=e.page,b=e.getSubRows;v(i,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var S=t.useMemo((function(){var e=[];return o.forEach((function(t){var n=m?function e(t,n,o){if(n[t.id])return!0;var r=o(t);if(r&&r.length){var i=!0,u=!1;return r.forEach((function(t){u&&!i||(e(t,n,o)?u=!0:i=!1)})),!!i||!!u&&null}return!1}(t,p,b):!!p[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)})),e}),[o,m,p,b]),C=Boolean(Object.keys(a).length&&Object.keys(p).length),P=C;C&&Object.keys(a).some((function(e){return!p[e]}))&&(C=!1),C||R&&R.length&&R.some((function(e){var t=e.id;return!p[t]}))&&(P=!1);var x=h(d);w((function(){x()&&y({type:l.resetSelectedRows})}),[y,n]);var B=t.useCallback((function(e){return y({type:l.toggleAllRowsSelected,value:e})}),[y]),E=t.useCallback((function(e){return y({type:l.toggleAllPageRowsSelected,value:e})}),[y]),I=t.useCallback((function(e,t){return y({type:l.toggleRowSelected,id:e,value:t})}),[y]),F=h(e),G=f(r().getToggleAllRowsSelectedProps,{instance:F()}),A=f(r().getToggleAllPageRowsSelectedProps,{instance:F()});Object.assign(e,{selectedFlatRows:S,isAllRowsSelected:C,isAllPageRowsSelected:P,toggleRowSelected:I,toggleAllRowsSelected:B,getToggleAllRowsSelectedProps:G,getToggleAllPageRowsSelectedProps:A,toggleAllPageRowsSelected:E})}function bt(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=f(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var St=function(e){return{}},Ct=function(e){return{}};l.setRowState="setRowState",l.setCellState="setCellState",l.resetRowState="resetRowState";var Pt=function(e){e.stateReducers.push(xt),e.useInstance.push(Bt),e.prepareRow.push(Et)};function xt(e,t,n,o){var i=o.initialRowStateAccessor,u=void 0===i?St:i,s=o.initialCellStateAccessor,a=void 0===s?Ct:s,c=o.rowsById;if(t.type===l.init)return r({rowState:{}},e);if(t.type===l.resetRowState)return r({},e,{rowState:o.initialState.rowState||{}});if(t.type===l.setRowState){var d,f=t.rowId,p=t.value,g=void 0!==e.rowState[f]?e.rowState[f]:u(c[f]);return r({},e,{rowState:r({},e.rowState,(d={},d[f]=m(p,g),d))})}if(t.type===l.setCellState){var v,h,y,w,R,b=t.rowId,S=t.columnId,C=t.value,P=void 0!==e.rowState[b]?e.rowState[b]:u(c[b]),x=void 0!==(null==P||null==(v=P.cellState)?void 0:v[S])?P.cellState[S]:a(null==(h=c[b])||null==(y=h.cells)?void 0:y.find((function(e){return e.column.id===S})));return r({},e,{rowState:r({},e.rowState,(R={},R[b]=r({},P,{cellState:r({},P.cellState||{},(w={},w[S]=m(C,x),w))}),R))})}}function Bt(e){var n=e.autoResetRowState,o=void 0===n||n,r=e.data,i=e.dispatch,u=t.useCallback((function(e,t){return i({type:l.setRowState,rowId:e,value:t})}),[i]),s=t.useCallback((function(e,t,n){return i({type:l.setCellState,rowId:e,columnId:t,value:n})}),[i]),a=h(o);w((function(){a()&&i({type:l.resetRowState})}),[r]),Object.assign(e,{setRowState:u,setCellState:s})}function Et(e,t){var n=t.instance,o=n.initialRowStateAccessor,r=void 0===o?St:o,i=n.initialCellStateAccessor,u=void 0===i?Ct:i,l=n.state.rowState;e&&(e.state=void 0!==l[e.id]?l[e.id]:r(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach((function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:u(t),t.setState=function(o){return n.setCellState(e.id,t.column.id,o)}})))}Pt.pluginName="useRowState",l.resetColumnOrder="resetColumnOrder",l.setColumnOrder="setColumnOrder";var It=function(e){e.stateReducers.push(Ft),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])})),e.visibleColumns.push(Gt),e.useInstance.push(At)};function Ft(e,t,n,o){return t.type===l.init?r({columnOrder:[]},e):t.type===l.resetColumnOrder?r({},e,{columnOrder:o.initialState.columnOrder||[]}):t.type===l.setColumnOrder?r({},e,{columnOrder:m(t.columnOrder,e.columnOrder)}):void 0}function Gt(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var o=[].concat(n),r=[].concat(e),i=[],u=function(){var e=o.shift(),t=r.findIndex((function(t){return t.id===e}));t>-1&&i.push(r.splice(t,1)[0])};r.length&&o.length;)u();return[].concat(i,r)}function At(e){var n=e.dispatch;e.setColumnOrder=t.useCallback((function(e){return n({type:l.setColumnOrder,columnOrder:e})}),[n])}It.pluginName="useColumnOrder",c.canResize=!0,l.columnStartResizing="columnStartResizing",l.columnResizing="columnResizing",l.columnDoneResizing="columnDoneResizing",l.resetResize="resetResize";var kt=function(e){e.getResizerProps=[Ht],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(Tt),e.useInstance.push(Wt),e.useInstanceBeforeDimensions.push(zt)},Ht=function(e,t){var n=t.instance,o=t.header,r=n.dispatch,i=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var o=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map((function(e){return[e.id,e.totalWidth]})),i=n?Math.round(e.touches[0].clientX):e.clientX,u=function(e){r({type:l.columnResizing,clientX:e})},s=function(){return r({type:l.columnDoneResizing})},a={mouse:{moveEvent:"mousemove",moveHandler:function(e){return u(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",a.mouse.moveHandler),document.removeEventListener("mouseup",a.mouse.upHandler),s()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),u(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(a.touch.moveEvent,a.touch.moveHandler),document.removeEventListener(a.touch.upEvent,a.touch.moveHandler),s()}}},c=n?a.touch:a.mouse,d=!!function(){if("boolean"==typeof z)return z;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return z=e}()&&{passive:!1};document.addEventListener(c.moveEvent,c.moveHandler,d),document.addEventListener(c.upEvent,c.upHandler,d),r({type:l.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:o,clientX:i})};return[e,{onMouseDown:function(e){return e.persist()||i(e,o)},onTouchStart:function(e){return e.persist()||i(e,o)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function Tt(e,t){if(t.type===l.init)return r({columnResizing:{columnWidths:{}}},e);if(t.type===l.resetResize)return r({},e,{columnResizing:{columnWidths:{}}});if(t.type===l.columnStartResizing){var n=t.clientX,o=t.columnId,i=t.columnWidth,u=t.headerIdWidths;return r({},e,{columnResizing:r({},e.columnResizing,{startX:n,headerIdWidths:u,columnWidth:i,isResizingColumn:o})})}if(t.type===l.columnResizing){var s=t.clientX,a=e.columnResizing,c=a.startX,d=a.columnWidth,f=a.headerIdWidths,p=(s-c)/d,g={};return(void 0===f?[]:f).forEach((function(e){var t=e[0],n=e[1];g[t]=Math.max(n+n*p,0)})),r({},e,{columnResizing:r({},e.columnResizing,{columnWidths:r({},e.columnResizing.columnWidths,{},g)})})}return t.type===l.columnDoneResizing?r({},e,{columnResizing:r({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}kt.pluginName="useResizeColumns";var zt=function(e){var t=e.flatHeaders,n=e.disableResizing,o=e.getHooks,r=e.state.columnResizing,i=h(e);t.forEach((function(e){var t=I(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=r.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=r.isResizingColumn===e.id,t&&(e.getResizerProps=f(o().getResizerProps,{instance:i(),header:e}))}))};function Wt(e){var n=e.plugins,o=e.dispatch,r=e.autoResetResize,i=void 0===r||r,u=e.columns;v(n,["useAbsoluteLayout"],"useResizeColumns");var s=h(i);w((function(){s()&&o({type:l.resetResize})}),[u]);var a=t.useCallback((function(){return o({type:l.resetResize})}),[o]);Object.assign(e,{resetResizing:a})}var Ot={position:"absolute",top:0},Mt=function(e){e.getTableBodyProps.push(jt),e.getRowProps.push(jt),e.getHeaderGroupProps.push(jt),e.getFooterGroupProps.push(jt),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:r({},Ot,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:r({},Ot,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:r({},Ot,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}))};Mt.pluginName="useAbsoluteLayout";var jt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},Nt={display:"inline-block",boxSizing:"border-box"},_t=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},Dt=function(e){e.getRowProps.push(_t),e.getHeaderGroupProps.push(_t),e.getFooterGroupProps.push(_t),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:r({},Nt,{width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:r({},Nt,{width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:r({},Nt,{width:n.totalWidth+"px"})}]}))};function Lt(e){e.getTableProps.push(Vt),e.getRowProps.push(Xt),e.getHeaderGroupProps.push(Xt),e.getFooterGroupProps.push(Xt),e.getHeaderProps.push(qt),e.getCellProps.push(Kt),e.getFooterProps.push(Ut)}Dt.pluginName="useBlockLayout",Lt.pluginName="useFlexLayout";var Vt=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Xt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},qt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Kt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},Ut=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function $t(e){e.stateReducers.push(Qt),e.getTableProps.push(Jt),e.getHeaderProps.push(Yt)}$t.pluginName="useGridLayout";var Jt=function(e,t){return[e,{style:{display:"grid",gridTemplateColumns:t.instance.state.gridLayout.columnWidths.map((function(e){return e})).join(" ")}}]},Yt=function(e,t){return[e,{id:"header-cell-"+t.column.id,style:{position:"sticky"}}]};function Qt(e,t,n,o){if("init"===t.type)return r({gridLayout:{columnWidths:o.columns.map((function(){return"auto"}))}},e);if("columnStartResizing"===t.type){var i=t.columnId,u=o.visibleColumns.findIndex((function(e){return e.id===i})),l=function(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}(i);return void 0!==l?r({},e,{gridLayout:r({},e.gridLayout,{columnId:i,columnIndex:u,startingWidth:l})}):e}if("columnResizing"===t.type){var s=e.gridLayout,a=s.columnIndex,c=s.startingWidth,d=s.columnWidths,f=c-(e.columnResizing.startX-t.clientX),p=[].concat(d);return p[a]=f+"px",r({},e,{gridLayout:r({},e.gridLayout,{columnWidths:p})})}}e._UNSTABLE_usePivotColumns=nt,e.actions=l,e.defaultColumn=c,e.defaultGroupByFn=De,e.defaultOrderByFn=Qe,e.defaultRenderer=s,e.emptyRenderer=a,e.ensurePluginOrder=v,e.flexRender=b,e.functionalUpdate=m,e.loopHooks=g,e.makePropGetter=f,e.makeRenderer=R,e.reduceHooks=p,e.safeUseLayoutEffect=y,e.useAbsoluteLayout=Mt,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var r=t.useRef({}),i=h(e),u=h(n);return t.useCallback(function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,l,s=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=s.length,n=new Array(t),l=0;l<t;l++)n[l]=s[l];return r.current.promise||(r.current.promise=new Promise((function(e,t){r.current.resolve=e,r.current.reject=t}))),r.current.timeout&&clearTimeout(r.current.timeout),r.current.timeout=setTimeout(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete r.current.timeout,e.prev=1,e.t0=r.current,e.next=5,i().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),r.current.reject(e.t2);case 12:return e.prev=12,delete r.current.promise,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])}))),u()),e.abrupt("return",r.current.promise);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[i,u])},e.useBlockLayout=Dt,e.useColumnOrder=It,e.useExpanded=se,e.useFilters=xe,e.useFlexLayout=Lt,e.useGetLatest=h,e.useGlobalFilter=Ie,e.useGridLayout=$t,e.useGroupBy=ze,e.useMountedLayoutEffect=w,e.usePagination=Ze,e.useResizeColumns=kt,e.useRowSelect=vt,e.useRowState=Pt,e.useSortBy=Ue,e.useTable=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e=ie(e),o=[K].concat(o);var u=t.useRef({}),s=h(u.current);Object.assign(s(),r({},e,{plugins:o,hooks:q()})),o.filter(Boolean).forEach((function(e){e(s().hooks)}));var a=h(s().hooks);s().getHooks=a,delete s().hooks,Object.assign(s(),p(a().useOptions,ie(e)));var c=s(),d=c.data,v=c.columns,m=c.initialState,y=c.defaultColumn,w=c.getSubRows,b=c.getRowId,E=c.stateReducer,I=c.useControlledState,F=h(E),G=t.useCallback((function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(a().stateReducers,Array.isArray(F())?F():[F()]).reduce((function(n,o){return o(n,t,e,s())||n}),e)}),[a,F,s]),A=t.useReducer(G,void 0,(function(){return G(m,{type:l.init})})),k=A[0],H=A[1],T=p([].concat(a().useControlledState,[I]),k,{instance:s()});Object.assign(s(),{state:T,dispatch:H});var z=t.useMemo((function(){return S(p(a().columns,v,{instance:s()}))}),[a,s,v].concat(p(a().columnsDeps,[],{instance:s()})));s().columns=z;var W=t.useMemo((function(){return p(a().allColumns,C(z),{instance:s()}).map(P)}),[z,a,s].concat(p(a().allColumnsDeps,[],{instance:s()})));s().allColumns=W;var O=t.useMemo((function(){for(var e=[],t=[],n={},o=[].concat(W);o.length;){var r=o.shift();le({data:d,rows:e,flatRows:t,rowsById:n,column:r,getRowId:b,getSubRows:w,accessValueHooks:a().accessValue,getInstance:s})}return[e,t,n]}),[W,d,b,w,a,s]),M=O[0],j=O[1],N=O[2];Object.assign(s(),{rows:M,initialRows:[].concat(M),flatRows:j,rowsById:N}),g(a().useInstanceAfterData,s());var _=t.useMemo((function(){return p(a().visibleColumns,W,{instance:s()}).map((function(e){return x(e,y)}))}),[a,W,s,y].concat(p(a().visibleColumnsDeps,[],{instance:s()})));W=t.useMemo((function(){var e=[].concat(_);return W.forEach((function(t){e.find((function(e){return e.id===t.id}))||e.push(t)})),e}),[W,_]),s().allColumns=W;var D=t.useMemo((function(){return p(a().headerGroups,B(_,y),s())}),[a,_,y,s].concat(p(a().headerGroupsDeps,[],{instance:s()})));s().headerGroups=D;var L=t.useMemo((function(){return D.length?D[0].headers:[]}),[D]);s().headers=L,s().flatHeaders=D.reduce((function(e,t){return[].concat(e,t.headers)}),[]),g(a().useInstanceBeforeDimensions,s());var V=_.filter((function(e){return e.isVisible})).map((function(e){return e.id})).sort().join("_");_=t.useMemo((function(){return _.filter((function(e){return e.isVisible}))}),[_,V]),s().visibleColumns=_;var X=ue(L),U=X[0],$=X[1],J=X[2];return s().totalColumnsMinWidth=U,s().totalColumnsWidth=$,s().totalColumnsMaxWidth=J,g(a().useInstance,s()),[].concat(s().flatHeaders,s().allColumns).forEach((function(e){e.render=R(s(),e),e.getHeaderProps=f(a().getHeaderProps,{instance:s(),column:e}),e.getFooterProps=f(a().getFooterProps,{instance:s(),column:e})})),s().headerGroups=t.useMemo((function(){return D.filter((function(e,t){return e.headers=e.headers.filter((function(e){return e.headers?function e(t){return t.filter((function(t){return t.headers?e(t.headers):t.isVisible})).length}(e.headers):e.isVisible})),!!e.headers.length&&(e.getHeaderGroupProps=f(a().getHeaderGroupProps,{instance:s(),headerGroup:e,index:t}),e.getFooterGroupProps=f(a().getFooterGroupProps,{instance:s(),headerGroup:e,index:t}),!0)}))}),[D,s,a]),s().footerGroups=[].concat(s().headerGroups).reverse(),s().prepareRow=t.useCallback((function(e){e.getRowProps=f(a().getRowProps,{instance:s(),row:e}),e.allCells=W.map((function(t){var n=e.values[t.id],o={column:t,row:e,value:n};return o.getCellProps=f(a().getCellProps,{instance:s(),cell:o}),o.render=R(s(),t,{row:e,cell:o,value:n}),o})),e.cells=_.map((function(t){return e.allCells.find((function(e){return e.column.id===t.id}))})),g(a().prepareRow,e,{instance:s()})}),[a,s,W,_]),s().getTableProps=f(a().getTableProps,{instance:s()}),s().getTableBodyProps=f(a().getTableBodyProps,{instance:s()}),g(a().useFinalInstance,s()),s()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0))}}]);
1
+ (window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[26],{1466:function(e,t,n){e.exports=n(1704)},1704:function(e,t,n){!function(e,t){"use strict";function n(e,t,n,o,r,i,u){try{var l=e[i](u),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function o(e){return function(){var t=this,o=arguments;return new Promise((function(r,i){var u=e.apply(t,o);function l(e){n(u,r,i,l,s,"next",e)}function s(e){n(u,r,i,l,s,"throw",e)}l(void 0)}))}}function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function u(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var l={init:"init"},s=function(e){var t=e.value;return void 0===t?"":t},a=function(){return t.createElement(t.Fragment,null," ")},c={Cell:s,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){var n=t.style,o=t.className;return e=r({},e,{},i(t,["style","className"])),n&&(e.style=e.style?r({},e.style||{},{},n||{}):n),o&&(e.className=e.className?e.className+" "+o:o),""===e.className&&delete e.className,e}),{})}var f=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce((function(e,o){return function e(t,n,o){return"function"==typeof n?e({},n(t,o)):Array.isArray(n)?d.apply(void 0,[t].concat(n)):d(t,n)}(e,o,r({},t,{userProps:n}))}),{})}},p=function(e,t,n,o){return void 0===n&&(n={}),e.reduce((function(e,t){return t(e,n)}),t)},g=function(e,t,n){return void 0===n&&(n={}),e.forEach((function(e){e(t,n)}))};function v(e,t,n,o){e.findIndex((function(e){return e.pluginName===n})),t.forEach((function(t){e.findIndex((function(e){return e.pluginName===t}))}))}function m(e,t){return"function"==typeof e?e(t):e}function h(e){var n=t.useRef();return n.current=e,t.useCallback((function(){return n.current}),[])}var y="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function w(e,n){var o=t.useRef(!1);y((function(){o.current&&e(),o.current=!0}),n)}function R(e,t,n){return void 0===n&&(n={}),function(o,i){void 0===i&&(i={});var u="string"==typeof o?t[o]:o;if(void 0===u)throw console.info(t),new Error("Renderer Error ☝️");return b(u,r({},e,{column:t},n,{},i))}}function b(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(o=e)||"function"==typeof o||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(o)?t.createElement(e,n):e;var o}function S(e,t,n){return void 0===n&&(n=0),e.map((function(e){return P(e=r({},e,{parent:t,depth:n})),e.columns&&(e.columns=S(e.columns,e,n+1)),e}))}function C(e){return G(e,"columns")}function P(e){var t=e.id,n=e.accessor,o=e.Header;if("string"==typeof n){t=t||n;var r=n.split(".");n=function(e){return function(e,t,n){if(!t)return e;var o,r="function"==typeof t?t:JSON.stringify(t),i=E.get(r)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var o=0;o<t.length;o+=1)e(t[o],n);else n.push(t);return n}(e).map((function(e){return String(e).replace(".","_")})).join(".").replace(W,".").replace(O,"").split(".")}(t);return E.set(r,e),e}();try{o=i.reduce((function(e,t){return e[t]}),e)}catch(e){}return void 0!==o?o:void 0}(e,r)}}if(!t&&"string"==typeof o&&o&&(t=o),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function x(e,t){if(!t)throw new Error;return Object.assign(e,r({Header:a,Footer:a},c,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}function B(e,t,n){void 0===n&&(n=function(){return{}});for(var o=[],i=e,u=0,l=function(){return u++},s=function(){var e={headers:[]},u=[],s=i.some((function(e){return e.parent}));i.forEach((function(o){var i,a=[].concat(u).reverse()[0];s&&(i=o.parent?r({},o.parent,{originalId:o.parent.id,id:o.parent.id+"_"+l(),headers:[o]},n(o)):x(r({originalId:o.id+"_placeholder",id:o.id+"_placeholder_"+l(),placeholderOf:o,headers:[o]},n(o)),t),a&&a.originalId===i.originalId?a.headers.push(o):u.push(i)),e.headers.push(o)})),o.push(e),i=u};i.length;)s();return o.reverse()}var E=new Map;function I(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var o=0;o<t.length;o+=1)if(void 0!==t[o])return t[o]}function F(e){if("function"==typeof e)return e}function G(e,t){var n=[];return function e(o){o.forEach((function(o){o[t]?e(o[t]):n.push(o)}))}(e),n}function A(e,t){var n=t.manualExpandedKey,o=t.expanded,r=t.expandSubRows,i=void 0===r||r,u=[];return e.forEach((function(e){return function e(t,r){void 0===r&&(r=!0),t.isExpanded=t.original&&t.original[n]||o[t.id],t.canExpand=t.subRows&&!!t.subRows.length,r&&u.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach((function(t){return e(t,i)}))}(e)})),u}function k(e,t,n){return F(e)||t[e]||n[e]||n.text}function H(e,t,n){return e?e(t,n):void 0===t}function T(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var z=null,W=/\[/g,O=/\]/g,M=function(e){return r({role:"table"},e)},j=function(e){return r({role:"rowgroup"},e)},N=function(e,t){var n=t.column;return r({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},_=function(e,t){var n=t.column;return r({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},D=function(e,t){return r({key:"headerGroup_"+t.index,role:"row"},e)},L=function(e,t){return r({key:"footerGroup_"+t.index},e)},V=function(e,t){return r({key:"row_"+t.row.id,role:"row"},e)},X=function(e,t){var n=t.cell;return r({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function q(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[M],getTableBodyProps:[j],getHeaderGroupProps:[D],getFooterGroupProps:[L],getHeaderProps:[N],getFooterProps:[_],getRowProps:[V],getCellProps:[X],useFinalInstance:[]}}l.resetHiddenColumns="resetHiddenColumns",l.toggleHideColumn="toggleHideColumn",l.setHiddenColumns="setHiddenColumns",l.toggleHideAllColumns="toggleHideAllColumns";var K=function(e){e.getToggleHiddenProps=[U],e.getToggleHideAllColumnsProps=[$],e.stateReducers.push(J),e.useInstanceBeforeDimensions.push(Y),e.headerGroupsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])})),e.useInstance.push(Q)};K.pluginName="useColumnVisibility";var U=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},$=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function J(e,t,n,o){if(t.type===l.init)return r({hiddenColumns:[]},e);if(t.type===l.resetHiddenColumns)return r({},e,{hiddenColumns:o.initialState.hiddenColumns||[]});if(t.type===l.toggleHideColumn){var i=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter((function(e){return e!==t.columnId}));return r({},e,{hiddenColumns:i})}return t.type===l.setHiddenColumns?r({},e,{hiddenColumns:m(t.value,e.hiddenColumns)}):t.type===l.toggleHideAllColumns?r({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?o.allColumns.map((function(e){return e.id})):[]}):void 0}function Y(e){var n=e.headers,o=e.state.hiddenColumns;t.useRef(!1).current;var r=0;n.forEach((function(e){return r+=function e(t,n){t.isVisible=n&&!o.includes(t.id);var r=0;return t.headers&&t.headers.length?t.headers.forEach((function(n){return r+=e(n,t.isVisible)})):r=t.isVisible?1:0,t.totalVisibleHeaderCount=r,r}(e,!0)}))}function Q(e){var n=e.columns,o=e.flatHeaders,r=e.dispatch,i=e.allColumns,u=e.getHooks,s=e.state.hiddenColumns,a=e.autoResetHiddenColumns,c=void 0===a||a,d=h(e),p=i.length===s.length,g=t.useCallback((function(e,t){return r({type:l.toggleHideColumn,columnId:e,value:t})}),[r]),v=t.useCallback((function(e){return r({type:l.setHiddenColumns,value:e})}),[r]),m=t.useCallback((function(e){return r({type:l.toggleHideAllColumns,value:e})}),[r]),y=f(u().getToggleHideAllColumnsProps,{instance:d()});o.forEach((function(e){e.toggleHidden=function(t){r({type:l.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=f(u().getToggleHiddenProps,{instance:d(),column:e})}));var R=h(c);w((function(){R()&&r({type:l.resetHiddenColumns})}),[r,n]),Object.assign(e,{allColumnsHidden:p,toggleHideColumn:g,setHiddenColumns:v,toggleHideAllColumns:m,getToggleHideAllColumnsProps:y})}var Z={},ee={},te=function(e,t,n){return e},ne=function(e,t){return e.subRows||[]},oe=function(e,t,n){return""+(n?[n.id,t].join("."):t)},re=function(e){return e};function ie(e){var t=e.initialState,n=void 0===t?Z:t,o=e.defaultColumn,u=void 0===o?ee:o,l=e.getSubRows,s=void 0===l?ne:l,a=e.getRowId,c=void 0===a?oe:a,d=e.stateReducer,f=void 0===d?te:d,p=e.useControlledState,g=void 0===p?re:p;return r({},i(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:u,getSubRows:s,getRowId:c,stateReducer:f,useControlledState:g})}function ue(e,t){void 0===t&&(t=0);var n=0,o=0,r=0,i=0;return e.forEach((function(e){var u=e.headers;if(e.totalLeft=t,u&&u.length){var l=ue(u,t),s=l[0],a=l[1],c=l[2],d=l[3];e.totalMinWidth=s,e.totalWidth=a,e.totalMaxWidth=c,e.totalFlexWidth=d}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,o+=e.totalWidth,r+=e.totalMaxWidth,i+=e.totalFlexWidth)})),[n,o,r,i]}function le(e){var t=e.data,n=e.rows,o=e.flatRows,r=e.rowsById,i=e.column,u=e.getRowId,l=e.getSubRows,s=e.accessValueHooks,a=e.getInstance;t.forEach((function(e,c){return function e(n,c,d,f,g){void 0===d&&(d=0);var v=n,m=u(n,c,f),h=r[m];if(h)h.subRows&&h.originalSubRows.forEach((function(t,n){return e(t,n,d+1,h)}));else if((h={id:m,original:v,index:c,depth:d,cells:[{}]}).cells.map=T,h.cells.filter=T,h.cells.forEach=T,h.cells[0].getCellProps=T,h.values={},g.push(h),o.push(h),r[m]=h,h.originalSubRows=l(n,c),h.originalSubRows){var y=[];h.originalSubRows.forEach((function(t,n){return e(t,n,d+1,h,y)})),h.subRows=y}i.accessor&&(h.values[i.id]=i.accessor(n,c,h,g,t)),h.values[i.id]=p(s,h.values[i.id],{row:h,column:i,instance:a()})}(e,c,0,void 0,n)}))}l.resetExpanded="resetExpanded",l.toggleRowExpanded="toggleRowExpanded",l.toggleAllRowsExpanded="toggleAllRowsExpanded";var se=function(e){e.getToggleAllRowsExpandedProps=[ae],e.getToggleRowExpandedProps=[ce],e.stateReducers.push(de),e.useInstance.push(fe),e.prepareRow.push(pe)};se.pluginName="useExpanded";var ae=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},ce=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function de(e,t,n,o){if(t.type===l.init)return r({expanded:{}},e);if(t.type===l.resetExpanded)return r({},e,{expanded:o.initialState.expanded||{}});if(t.type===l.toggleAllRowsExpanded){var s=t.value,a=o.isAllRowsExpanded,c=o.rowsById;if(void 0!==s?s:!a){var d={};return Object.keys(c).forEach((function(e){d[e]=!0})),r({},e,{expanded:d})}return r({},e,{expanded:{}})}if(t.type===l.toggleRowExpanded){var f,p=t.id,g=t.value,v=e.expanded[p],m=void 0!==g?g:!v;if(!v&&m)return r({},e,{expanded:r({},e.expanded,(f={},f[p]=!0,f))});if(v&&!m){var h=e.expanded;return h[p],r({},e,{expanded:i(h,[p].map(u))})}return e}}function fe(e){var n=e.data,o=e.rows,r=e.rowsById,i=e.manualExpandedKey,u=void 0===i?"expanded":i,s=e.paginateExpandedRows,a=void 0===s||s,c=e.expandSubRows,d=void 0===c||c,p=e.autoResetExpanded,g=void 0===p||p,m=e.getHooks,y=e.plugins,R=e.state.expanded,b=e.dispatch;v(y,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var S=h(g),C=Boolean(Object.keys(r).length&&Object.keys(R).length);C&&Object.keys(r).some((function(e){return!R[e]}))&&(C=!1),w((function(){S()&&b({type:l.resetExpanded})}),[b,n]);var P=t.useCallback((function(e,t){b({type:l.toggleRowExpanded,id:e,value:t})}),[b]),x=t.useCallback((function(e){return b({type:l.toggleAllRowsExpanded,value:e})}),[b]),B=t.useMemo((function(){return a?A(o,{manualExpandedKey:u,expanded:R,expandSubRows:d}):o}),[a,o,u,R,d]),E=t.useMemo((function(){return function(e){var t=0;return Object.keys(e).forEach((function(e){var n=e.split(".");t=Math.max(t,n.length)})),t}(R)}),[R]),I=h(e),F=f(m().getToggleAllRowsExpandedProps,{instance:I()});Object.assign(e,{preExpandedRows:o,expandedRows:B,rows:B,expandedDepth:E,isAllRowsExpanded:C,toggleRowExpanded:P,toggleAllRowsExpanded:x,getToggleAllRowsExpandedProps:F})}function pe(e,t){var n=t.instance.getHooks,o=t.instance;e.toggleRowExpanded=function(t){return o.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=f(n().getToggleRowExpandedProps,{instance:o,row:e})}var ge=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return String(o).toLowerCase().includes(String(n).toLowerCase())}))}))};ge.autoRemove=function(e){return!e};var ve=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return void 0===o||String(o).toLowerCase()===String(n).toLowerCase()}))}))};ve.autoRemove=function(e){return!e};var me=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return void 0===o||String(o)===String(n)}))}))};me.autoRemove=function(e){return!e};var he=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t].includes(n)}))}))};he.autoRemove=function(e){return!e||!e.length};var ye=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return o&&o.length&&n.every((function(e){return o.includes(e)}))}))}))};ye.autoRemove=function(e){return!e||!e.length};var we=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return o&&o.length&&n.some((function(e){return o.includes(e)}))}))}))};we.autoRemove=function(e){return!e||!e.length};var Re=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return n.includes(o)}))}))};Re.autoRemove=function(e){return!e||!e.length};var be=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]===n}))}))};be.autoRemove=function(e){return void 0===e};var Se=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]==n}))}))};Se.autoRemove=function(e){return null==e};var Ce=function(e,t,n){var o=n||[],r=o[0],i=o[1];if((r="number"==typeof r?r:-1/0)>(i="number"==typeof i?i:1/0)){var u=r;r=i,i=u}return e.filter((function(e){return t.some((function(t){var n=e.values[t];return n>=r&&n<=i}))}))};Ce.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var Pe=Object.freeze({__proto__:null,text:ge,exactText:ve,exactTextCase:me,includes:he,includesAll:ye,includesSome:we,includesValue:Re,exact:be,equals:Se,between:Ce});l.resetFilters="resetFilters",l.setFilter="setFilter",l.setAllFilters="setAllFilters";var xe=function(e){e.stateReducers.push(Be),e.useInstance.push(Ee)};function Be(e,t,n,o){if(t.type===l.init)return r({filters:[]},e);if(t.type===l.resetFilters)return r({},e,{filters:o.initialState.filters||[]});if(t.type===l.setFilter){var i=t.columnId,u=t.filterValue,s=o.allColumns,a=o.filterTypes,c=s.find((function(e){return e.id===i}));if(!c)throw new Error("React-Table: Could not find a column with id: "+i);var d=k(c.filter,a||{},Pe),f=e.filters.find((function(e){return e.id===i})),p=m(u,f&&f.value);return H(d.autoRemove,p,c)?r({},e,{filters:e.filters.filter((function(e){return e.id!==i}))}):r({},e,f?{filters:e.filters.map((function(e){return e.id===i?{id:i,value:p}:e}))}:{filters:[].concat(e.filters,[{id:i,value:p}])})}if(t.type===l.setAllFilters){var g=t.filters,v=o.allColumns,h=o.filterTypes;return r({},e,{filters:m(g,e.filters).filter((function(e){var t=v.find((function(t){return t.id===e.id}));return!H(k(t.filter,h||{},Pe).autoRemove,e.value,t)}))})}}function Ee(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.filterTypes,a=e.manualFilters,c=e.defaultCanFilter,d=void 0!==c&&c,f=e.disableFilters,p=e.state.filters,g=e.dispatch,v=e.autoResetFilters,m=void 0===v||v,y=t.useCallback((function(e,t){g({type:l.setFilter,columnId:e,filterValue:t})}),[g]),R=t.useCallback((function(e){g({type:l.setAllFilters,filters:e})}),[g]);u.forEach((function(e){var t=e.id,n=e.accessor,o=e.defaultCanFilter,r=e.disableFilters;e.canFilter=n?I(!0!==r&&void 0,!0!==f&&void 0,!0):I(o,d,!1),e.setFilter=function(t){return y(e.id,t)};var i=p.find((function(e){return e.id===t}));e.filterValue=i&&i.value}));var b=t.useMemo((function(){if(a||!p.length)return[o,r,i];var e=[],t={};return[function n(o,r){void 0===r&&(r=0);var i=o;return(i=p.reduce((function(e,t){var n=t.id,o=t.value,i=u.find((function(e){return e.id===n}));if(!i)return e;0===r&&(i.preFilteredRows=e);var l=k(i.filter,s||{},Pe);return l?(i.filteredRows=l(e,[n],o),i.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+i.id+"."),e)}),o)).forEach((function(o){e.push(o),t[o.id]=o,o.subRows&&(o.subRows=o.subRows&&o.subRows.length>0?n(o.subRows,r+1):o.subRows)})),i}(o),e,t]}),[a,p,o,r,i,u,s]),S=b[0],C=b[1],P=b[2];t.useMemo((function(){u.filter((function(e){return!p.find((function(t){return t.id===e.id}))})).forEach((function(e){e.preFilteredRows=S,e.filteredRows=S}))}),[S,p,u]);var x=h(m);w((function(){x()&&g({type:l.resetFilters})}),[g,a?null:n]),Object.assign(e,{preFilteredRows:o,preFilteredFlatRows:r,preFilteredRowsById:i,filteredRows:S,filteredFlatRows:C,filteredRowsById:P,rows:S,flatRows:C,rowsById:P,setFilter:y,setAllFilters:R})}xe.pluginName="useFilters",l.resetGlobalFilter="resetGlobalFilter",l.setGlobalFilter="setGlobalFilter";var Ie=function(e){e.stateReducers.push(Fe),e.useInstance.push(Ge)};function Fe(e,t,n,o){if(t.type===l.resetGlobalFilter)return r({},e,{globalFilter:o.initialState.globalFilter||void 0});if(t.type===l.setGlobalFilter){var u=t.filterValue,s=o.userFilterTypes,a=k(o.globalFilter,s||{},Pe),c=m(u,e.globalFilter);return H(a.autoRemove,c)?(e.globalFilter,i(e,["globalFilter"])):r({},e,{globalFilter:c})}}function Ge(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.filterTypes,a=e.globalFilter,c=e.manualGlobalFilter,d=e.state.globalFilter,f=e.dispatch,p=e.autoResetGlobalFilter,g=void 0===p||p,v=e.disableGlobalFilter,m=t.useCallback((function(e){f({type:l.setGlobalFilter,filterValue:e})}),[f]),y=t.useMemo((function(){if(c||void 0===d)return[o,r,i];var e=[],t={},n=k(a,s||{},Pe);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),o;u.forEach((function(e){var t=e.disableGlobalFilter;e.canFilter=I(!0!==t&&void 0,!0!==v&&void 0,!0)}));var l=u.filter((function(e){return!0===e.canFilter}));return[function o(r){return(r=n(r,l.map((function(e){return e.id})),d)).forEach((function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?o(n.subRows):n.subRows})),r}(o),e,t]}),[c,d,a,s,u,o,r,i,v]),R=y[0],b=y[1],S=y[2],C=h(g);w((function(){C()&&f({type:l.resetGlobalFilter})}),[f,c?null:n]),Object.assign(e,{preGlobalFilteredRows:o,preGlobalFilteredFlatRows:r,preGlobalFilteredRowsById:i,globalFilteredRows:R,globalFilteredFlatRows:b,globalFilteredRowsById:S,rows:R,flatRows:b,rowsById:S,setGlobalFilter:m,disableGlobalFilter:v})}function Ae(e,t){return t.reduce((function(e,t){return e+("number"==typeof t?t:0)}),0)}Ie.pluginName="useGlobalFilter";var ke=Object.freeze({__proto__:null,sum:Ae,min:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e))})),t},max:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.max(t,e))})),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))})),t+".."+n},average:function(e){return Ae(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort((function(e,t){return e-t}));return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),He=[],Te={};l.resetGroupBy="resetGroupBy",l.setGroupBy="setGroupBy",l.toggleGroupBy="toggleGroupBy";var ze=function(e){e.getGroupByToggleProps=[We],e.stateReducers.push(Oe),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])})),e.visibleColumns.push(Me),e.useInstance.push(Ne),e.prepareRow.push(_e)};ze.pluginName="useGroupBy";var We=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Oe(e,t,n,o){if(t.type===l.init)return r({groupBy:[]},e);if(t.type===l.resetGroupBy)return r({},e,{groupBy:o.initialState.groupBy||[]});if(t.type===l.setGroupBy)return r({},e,{groupBy:t.value});if(t.type===l.toggleGroupBy){var i=t.columnId,u=t.value,s=void 0!==u?u:!e.groupBy.includes(i);return r({},e,s?{groupBy:[].concat(e.groupBy,[i])}:{groupBy:e.groupBy.filter((function(e){return e!==i}))})}}function Me(e,t){var n=t.instance.state.groupBy,o=n.map((function(t){return e.find((function(e){return e.id===t}))})).filter(Boolean),r=e.filter((function(e){return!n.includes(e.id)}));return(e=[].concat(o,r)).forEach((function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)})),e}var je={};function Ne(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.flatHeaders,a=e.groupByFn,c=void 0===a?De:a,d=e.manualGroupBy,p=e.aggregations,g=void 0===p?je:p,m=e.plugins,y=e.state.groupBy,R=e.dispatch,b=e.autoResetGroupBy,S=void 0===b||b,C=e.disableGroupBy,P=e.defaultCanGroupBy,x=e.getHooks;v(m,["useColumnOrder","useFilters"],"useGroupBy");var B=h(e);u.forEach((function(t){var n=t.accessor,o=t.defaultGroupBy,r=t.disableGroupBy;t.canGroupBy=n?I(t.canGroupBy,!0!==r&&void 0,!0!==C&&void 0,!0):I(t.canGroupBy,o,P,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell}));var E=t.useCallback((function(e,t){R({type:l.toggleGroupBy,columnId:e,value:t})}),[R]),F=t.useCallback((function(e){R({type:l.setGroupBy,value:e})}),[R]);s.forEach((function(e){e.getGroupByToggleProps=f(x().getGroupByToggleProps,{instance:B(),header:e})}));var A=t.useMemo((function(){if(d||!y.length)return[o,r,i,He,Te,r,i];var e=y.filter((function(e){return u.find((function(t){return t.id===e}))})),t=[],n={},l=[],s={},a=[],f={},p=function o(r,i,d){if(void 0===i&&(i=0),i===e.length)return r;var p=e[i],v=c(r,p);return Object.entries(v).map((function(r,c){var v=r[0],m=r[1],h=p+":"+v,y=o(m,i+1,h=d?d+">"+h:h),w=i?G(m,"leafRows"):m,R=function(t,n,o){var r={};return u.forEach((function(i){if(e.includes(i.id))r[i.id]=n[0]?n[0].values[i.id]:null;else{var u="function"==typeof i.aggregate?i.aggregate:g[i.aggregate]||ke[i.aggregate];if(u){var l=n.map((function(e){return e.values[i.id]})),s=t.map((function(e){var t=e.values[i.id];if(!o&&i.aggregateValue){var n="function"==typeof i.aggregateValue?i.aggregateValue:g[i.aggregateValue]||ke[i.aggregateValue];if(!n)throw console.info({column:i}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,i)}return t}));r[i.id]=u(s,l)}else{if(i.aggregate)throw console.info({column:i}),new Error("React Table: Invalid column.aggregate option for column listed above");r[i.id]=null}}})),r}(w,m,i),b={id:h,isGrouped:!0,groupByID:p,groupByVal:v,values:R,subRows:y,leafRows:w,depth:i,index:c};return y.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(a.push(e),f[e.id]=e)})),b}))}(o);return p.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(a.push(e),f[e.id]=e)})),[p,t,n,l,s,a,f]}),[d,y,o,r,i,u,g,c]),k=A[0],H=A[1],T=A[2],z=A[3],W=A[4],O=A[5],M=A[6],j=h(S);w((function(){j()&&R({type:l.resetGroupBy})}),[R,d?null:n]),Object.assign(e,{preGroupedRows:o,preGroupedFlatRow:r,preGroupedRowsById:i,groupedRows:k,groupedFlatRows:H,groupedRowsById:T,onlyGroupedFlatRows:z,onlyGroupedRowsById:W,nonGroupedFlatRows:O,nonGroupedRowsById:M,rows:k,flatRows:H,rowsById:T,toggleGroupBy:E,setGroupBy:F})}function _e(e){e.allCells.forEach((function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)}))}function De(e,t){return e.reduce((function(e,n,o){var r=""+n.values[t];return e[r]=Array.isArray(e[r])?e[r]:[],e[r].push(n),e}),{})}var Le=/([0-9]+)/gm;function Ve(e,t){return e===t?0:e>t?1:-1}function Xe(e,t){return e.values[t]}function qe(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var Ke=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var o=Xe(e,n),r=Xe(t,n);for(o=qe(o),r=qe(r),o=o.split(Le).filter(Boolean),r=r.split(Le).filter(Boolean);o.length&&r.length;){var i=o.shift(),u=r.shift(),l=parseInt(i,10),s=parseInt(u,10),a=[l,s].sort();if(isNaN(a[0])){if(i>u)return 1;if(u>i)return-1}else{if(isNaN(a[1]))return isNaN(l)?-1:1;if(l>s)return 1;if(s>l)return-1}}return o.length-r.length},datetime:function(e,t,n){var o=Xe(e,n),r=Xe(t,n);return Ve(o=o.getTime(),r=r.getTime())},basic:function(e,t,n){return Ve(Xe(e,n),Xe(t,n))}});l.resetSortBy="resetSortBy",l.setSortBy="setSortBy",l.toggleSortBy="toggleSortBy",l.clearSortBy="clearSortBy",c.sortType="alphanumeric",c.sortDescFirst=!1;var Ue=function(e){e.getSortByToggleProps=[$e],e.stateReducers.push(Je),e.useInstance.push(Ye)};Ue.pluginName="useSortBy";var $e=function(e,t){var n=t.instance,o=t.column,r=n.isMultiSortEvent,i=void 0===r?function(e){return e.shiftKey}:r;return[e,{onClick:o.canSort?function(e){e.persist(),o.toggleSortBy(void 0,!n.disableMultiSort&&i(e))}:void 0,style:{cursor:o.canSort?"pointer":void 0},title:o.canSort?"Toggle SortBy":void 0}]};function Je(e,t,n,o){if(t.type===l.init)return r({sortBy:[]},e);if(t.type===l.resetSortBy)return r({},e,{sortBy:o.initialState.sortBy||[]});if(t.type===l.clearSortBy)return r({},e,{sortBy:e.sortBy.filter((function(e){return e.id!==t.columnId}))});if(t.type===l.setSortBy)return r({},e,{sortBy:t.sortBy});if(t.type===l.toggleSortBy){var i,u=t.columnId,s=t.desc,a=t.multi,c=o.allColumns,d=o.disableMultiSort,f=o.disableSortRemove,p=o.disableMultiRemove,g=o.maxMultiSortColCount,v=void 0===g?Number.MAX_SAFE_INTEGER:g,m=e.sortBy,h=c.find((function(e){return e.id===u})).sortDescFirst,y=m.find((function(e){return e.id===u})),w=m.findIndex((function(e){return e.id===u})),R=null!=s,b=[];return"toggle"!=(i=!d&&a?y?"toggle":"add":w!==m.length-1||1!==m.length?"replace":y?"toggle":"replace")||f||R||a&&p||!(y&&y.desc&&!h||!y.desc&&h)||(i="remove"),"replace"===i?b=[{id:u,desc:R?s:h}]:"add"===i?(b=[].concat(m,[{id:u,desc:R?s:h}])).splice(0,b.length-v):"toggle"===i?b=m.map((function(e){return e.id===u?r({},e,{desc:R?s:!y.desc}):e})):"remove"===i&&(b=m.filter((function(e){return e.id!==u}))),r({},e,{sortBy:b})}}function Ye(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.allColumns,u=e.orderByFn,s=void 0===u?Qe:u,a=e.sortTypes,c=e.manualSortBy,d=e.defaultCanSort,p=e.disableSortBy,g=e.flatHeaders,m=e.state.sortBy,y=e.dispatch,R=e.plugins,b=e.getHooks,S=e.autoResetSortBy,C=void 0===S||S;v(R,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var P=t.useCallback((function(e){y({type:l.setSortBy,sortBy:e})}),[y]),x=t.useCallback((function(e,t,n){y({type:l.toggleSortBy,columnId:e,desc:t,multi:n})}),[y]),B=h(e);g.forEach((function(e){var t=e.accessor,n=e.canSort,o=e.disableSortBy,r=e.id,i=t?I(!0!==o&&void 0,!0!==p&&void 0,!0):I(d,n,!1);e.canSort=i,e.canSort&&(e.toggleSortBy=function(t,n){return x(e.id,t,n)},e.clearSortBy=function(){y({type:l.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=f(b().getSortByToggleProps,{instance:B(),column:e});var u=m.find((function(e){return e.id===r}));e.isSorted=!!u,e.sortedIndex=m.findIndex((function(e){return e.id===r})),e.isSortedDesc=e.isSorted?u.desc:void 0}));var E=t.useMemo((function(){if(c||!m.length)return[o,r];var e=[],t=m.filter((function(e){return i.find((function(t){return t.id===e.id}))}));return[function n(o){var r=s(o,t.map((function(e){var t=i.find((function(t){return t.id===e.id}));if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,o=F(n)||(a||{})[n]||Ke[n];if(!o)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return o(t,n,e.id,e.desc)}})),t.map((function(e){var t=i.find((function(t){return t.id===e.id}));return t&&t.sortInverted?e.desc:!e.desc})));return r.forEach((function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))})),r}(o),e]}),[c,m,o,r,i,s,a]),G=E[0],A=E[1],k=h(C);w((function(){k()&&y({type:l.resetSortBy})}),[c?null:n]),Object.assign(e,{preSortedRows:o,preSortedFlatRows:r,sortedRows:G,sortedFlatRows:A,rows:G,flatRows:A,setSortBy:P,toggleSortBy:x})}function Qe(e,t,n){return[].concat(e).sort((function(e,o){for(var r=0;r<t.length;r+=1){var i=t[r],u=!1===n[r]||"desc"===n[r],l=i(e,o);if(0!==l)return u?-l:l}return n[0]?e.index-o.index:o.index-e.index}))}l.resetPage="resetPage",l.gotoPage="gotoPage",l.setPageSize="setPageSize";var Ze=function(e){e.stateReducers.push(et),e.useInstance.push(tt)};function et(e,t,n,o){if(t.type===l.init)return r({pageSize:10,pageIndex:0},e);if(t.type===l.resetPage)return r({},e,{pageIndex:o.initialState.pageIndex||0});if(t.type===l.gotoPage){var i=o.pageCount,u=o.page,s=m(t.pageIndex,e.pageIndex),a=!1;return s>e.pageIndex?a=-1===i?u.length>=e.pageSize:s<i:s<e.pageIndex&&(a=s>-1),a?r({},e,{pageIndex:s}):e}if(t.type===l.setPageSize){var c=t.pageSize,d=e.pageSize*e.pageIndex;return r({},e,{pageIndex:Math.floor(d/c),pageSize:c})}}function tt(e){var n=e.rows,o=e.autoResetPage,r=void 0===o||o,i=e.manualExpandedKey,u=void 0===i?"expanded":i,s=e.plugins,a=e.pageCount,c=e.paginateExpandedRows,d=void 0===c||c,f=e.expandSubRows,p=void 0===f||f,g=e.state,m=g.pageSize,y=g.pageIndex,R=g.expanded,b=g.globalFilter,S=g.filters,C=g.groupBy,P=g.sortBy,x=e.dispatch,B=e.data,E=e.manualPagination;v(s,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var I=h(r);w((function(){I()&&x({type:l.resetPage})}),[x,E?null:B,b,S,C,P]);var F=E?a:Math.ceil(n.length/m),G=t.useMemo((function(){return F>0?[].concat(new Array(F)).fill(null).map((function(e,t){return t})):[]}),[F]),k=t.useMemo((function(){var e;if(E)e=n;else{var t=m*y,o=t+m;e=n.slice(t,o)}return d?e:A(e,{manualExpandedKey:u,expanded:R,expandSubRows:p})}),[p,R,u,E,y,m,d,n]),H=y>0,T=-1===F?k.length>=m:y<F-1,z=t.useCallback((function(e){x({type:l.gotoPage,pageIndex:e})}),[x]),W=t.useCallback((function(){return z((function(e){return e-1}))}),[z]),O=t.useCallback((function(){return z((function(e){return e+1}))}),[z]),M=t.useCallback((function(e){x({type:l.setPageSize,pageSize:e})}),[x]);Object.assign(e,{pageOptions:G,pageCount:F,page:k,canPreviousPage:H,canNextPage:T,gotoPage:z,previousPage:W,nextPage:O,setPageSize:M})}Ze.pluginName="usePagination",l.resetPivot="resetPivot",l.togglePivot="togglePivot";var nt=function(e){e.getPivotToggleProps=[rt],e.stateReducers.push(it),e.useInstanceAfterData.push(ut),e.allColumns.push(lt),e.accessValue.push(st),e.materializedColumns.push(at),e.materializedColumnsDeps.push(ct),e.visibleColumns.push(dt),e.visibleColumnsDeps.push(ft),e.useInstance.push(pt),e.prepareRow.push(gt)};nt.pluginName="usePivotColumns";var ot=[],rt=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function it(e,t,n,o){if(t.type===l.init)return r({pivotColumns:ot},e);if(t.type===l.resetPivot)return r({},e,{pivotColumns:o.initialState.pivotColumns||ot});if(t.type===l.togglePivot){var i=t.columnId,u=t.value,s=void 0!==u?u:!e.pivotColumns.includes(i);return r({},e,s?{pivotColumns:[].concat(e.pivotColumns,[i])}:{pivotColumns:e.pivotColumns.filter((function(e){return e!==i}))})}}function ut(e){e.allColumns.forEach((function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)}))}function lt(e,t){var n=t.instance;return e.forEach((function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set})),e}function st(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function at(e,t){var n=t.instance,o=n.allColumns,i=n.state;if(!i.pivotColumns.length||!i.groupBy||!i.groupBy.length)return e;var u=i.pivotColumns.map((function(e){return o.find((function(t){return t.id===e}))})).filter(Boolean),l=o.filter((function(e){return!e.isPivotSource&&!i.groupBy.includes(e.id)&&!i.pivotColumns.includes(e.id)})),s=C(function e(t,n,o){void 0===t&&(t=0),void 0===o&&(o=[]);var i=u[t];return i?Array.from(i.uniqueValues).sort().map((function(u){var l=r({},i,{Header:i.PivotHeader||"string"==typeof i.header?i.Header+": "+u:u,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+i.id+"."+u:i.id+"."+u,pivotValue:u});return l.columns=e(t+1,l,[].concat(o,[function(e){return e.values[i.id]===u}])),l})):l.map((function(e){return r({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,r){if(o.every((function(e){return e(r)})))return r.values[e.id]}})}))}());return[].concat(e,s)}function ct(e,t){var n=t.instance.state,o=n.pivotColumns,r=n.groupBy;return[].concat(e,[o,r])}function dt(e,t){var n=t.instance.state;return e=e.filter((function(e){return!e.isPivotSource})),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter((function(e){return e.isGrouped||e.isPivoted}))),e}function ft(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function pt(e){var t=e.columns,n=e.allColumns,o=e.flatHeaders,r=e.getHooks,i=e.plugins,u=e.dispatch,s=e.autoResetPivot,a=void 0===s||s,c=e.manaulPivot,d=e.disablePivot,p=e.defaultCanPivot;v(i,["useGroupBy"],"usePivotColumns");var g=h(e);n.forEach((function(t){var n=t.accessor,o=t.defaultPivot,r=t.disablePivot;t.canPivot=n?I(t.canPivot,!0!==r&&void 0,!0!==d&&void 0,!0):I(t.canPivot,o,p,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell})),o.forEach((function(e){e.getPivotToggleProps=f(r().getPivotToggleProps,{instance:g(),header:e})}));var m=h(a);w((function(){m()&&u({type:l.resetPivot})}),[u,c?null:t]),Object.assign(e,{togglePivot:function(e,t){u({type:l.togglePivot,columnId:e,value:t})}})}function gt(e){e.allCells.forEach((function(e){e.isPivoted=e.column.isPivoted}))}l.resetSelectedRows="resetSelectedRows",l.toggleAllRowsSelected="toggleAllRowsSelected",l.toggleRowSelected="toggleRowSelected",l.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var vt=function(e){e.getToggleRowSelectedProps=[mt],e.getToggleAllRowsSelectedProps=[ht],e.getToggleAllPageRowsSelectedProps=[yt],e.stateReducers.push(wt),e.useInstance.push(Rt),e.prepareRow.push(bt)};vt.pluginName="useRowSelect";var mt=function(e,t){var n=t.instance,o=t.row,r=n.manualRowSelectedKey,i=void 0===r?"isSelected":r;return[e,{onChange:function(e){o.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!o.original||!o.original[i])||o.isSelected,title:"Toggle Row Selected",indeterminate:o.isSomeSelected}]},ht=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},yt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some((function(e){var t=e.id;return n.state.selectedRowIds[t]})))}]};function wt(e,t,n,o){if(t.type===l.init)return r({selectedRowIds:{}},e);if(t.type===l.resetSelectedRows)return r({},e,{selectedRowIds:o.initialState.selectedRowIds||{}});if(t.type===l.toggleAllRowsSelected){var i=t.value,u=o.isAllRowsSelected,s=o.rowsById,a=o.nonGroupedRowsById,c=void 0===a?s:a,d=void 0!==i?i:!u,f=Object.assign({},e.selectedRowIds);return d?Object.keys(c).forEach((function(e){f[e]=!0})):Object.keys(c).forEach((function(e){delete f[e]})),r({},e,{selectedRowIds:f})}if(t.type===l.toggleRowSelected){var p=t.id,g=t.value,v=o.rowsById,m=o.selectSubRows,h=void 0===m||m,y=o.getSubRows,w=e.selectedRowIds[p],R=void 0!==g?g:!w;if(w===R)return e;var b=r({},e.selectedRowIds);return function e(t){var n=v[t];if(n.isGrouped||(R?b[t]=!0:delete b[t]),h&&y(n))return y(n).forEach((function(t){return e(t.id)}))}(p),r({},e,{selectedRowIds:b})}if(t.type===l.toggleAllPageRowsSelected){var S=t.value,C=o.page,P=o.rowsById,x=o.selectSubRows,B=void 0===x||x,E=o.isAllPageRowsSelected,I=o.getSubRows,F=void 0!==S?S:!E,G=r({},e.selectedRowIds);return C.forEach((function(e){return function e(t){var n=P[t];if(n.isGrouped||(F?G[t]=!0:delete G[t]),B&&I(n))return I(n).forEach((function(t){return e(t.id)}))}(e.id)})),r({},e,{selectedRowIds:G})}return e}function Rt(e){var n=e.data,o=e.rows,r=e.getHooks,i=e.plugins,u=e.rowsById,s=e.nonGroupedRowsById,a=void 0===s?u:s,c=e.autoResetSelectedRows,d=void 0===c||c,p=e.state.selectedRowIds,g=e.selectSubRows,m=void 0===g||g,y=e.dispatch,R=e.page,b=e.getSubRows;v(i,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var S=t.useMemo((function(){var e=[];return o.forEach((function(t){var n=m?function e(t,n,o){if(n[t.id])return!0;var r=o(t);if(r&&r.length){var i=!0,u=!1;return r.forEach((function(t){u&&!i||(e(t,n,o)?u=!0:i=!1)})),!!i||!!u&&null}return!1}(t,p,b):!!p[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)})),e}),[o,m,p,b]),C=Boolean(Object.keys(a).length&&Object.keys(p).length),P=C;C&&Object.keys(a).some((function(e){return!p[e]}))&&(C=!1),C||R&&R.length&&R.some((function(e){var t=e.id;return!p[t]}))&&(P=!1);var x=h(d);w((function(){x()&&y({type:l.resetSelectedRows})}),[y,n]);var B=t.useCallback((function(e){return y({type:l.toggleAllRowsSelected,value:e})}),[y]),E=t.useCallback((function(e){return y({type:l.toggleAllPageRowsSelected,value:e})}),[y]),I=t.useCallback((function(e,t){return y({type:l.toggleRowSelected,id:e,value:t})}),[y]),F=h(e),G=f(r().getToggleAllRowsSelectedProps,{instance:F()}),A=f(r().getToggleAllPageRowsSelectedProps,{instance:F()});Object.assign(e,{selectedFlatRows:S,isAllRowsSelected:C,isAllPageRowsSelected:P,toggleRowSelected:I,toggleAllRowsSelected:B,getToggleAllRowsSelectedProps:G,getToggleAllPageRowsSelectedProps:A,toggleAllPageRowsSelected:E})}function bt(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=f(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var St=function(e){return{}},Ct=function(e){return{}};l.setRowState="setRowState",l.setCellState="setCellState",l.resetRowState="resetRowState";var Pt=function(e){e.stateReducers.push(xt),e.useInstance.push(Bt),e.prepareRow.push(Et)};function xt(e,t,n,o){var i=o.initialRowStateAccessor,u=void 0===i?St:i,s=o.initialCellStateAccessor,a=void 0===s?Ct:s,c=o.rowsById;if(t.type===l.init)return r({rowState:{}},e);if(t.type===l.resetRowState)return r({},e,{rowState:o.initialState.rowState||{}});if(t.type===l.setRowState){var d,f=t.rowId,p=t.value,g=void 0!==e.rowState[f]?e.rowState[f]:u(c[f]);return r({},e,{rowState:r({},e.rowState,(d={},d[f]=m(p,g),d))})}if(t.type===l.setCellState){var v,h,y,w,R,b=t.rowId,S=t.columnId,C=t.value,P=void 0!==e.rowState[b]?e.rowState[b]:u(c[b]),x=void 0!==(null==P||null==(v=P.cellState)?void 0:v[S])?P.cellState[S]:a(null==(h=c[b])||null==(y=h.cells)?void 0:y.find((function(e){return e.column.id===S})));return r({},e,{rowState:r({},e.rowState,(R={},R[b]=r({},P,{cellState:r({},P.cellState||{},(w={},w[S]=m(C,x),w))}),R))})}}function Bt(e){var n=e.autoResetRowState,o=void 0===n||n,r=e.data,i=e.dispatch,u=t.useCallback((function(e,t){return i({type:l.setRowState,rowId:e,value:t})}),[i]),s=t.useCallback((function(e,t,n){return i({type:l.setCellState,rowId:e,columnId:t,value:n})}),[i]),a=h(o);w((function(){a()&&i({type:l.resetRowState})}),[r]),Object.assign(e,{setRowState:u,setCellState:s})}function Et(e,t){var n=t.instance,o=n.initialRowStateAccessor,r=void 0===o?St:o,i=n.initialCellStateAccessor,u=void 0===i?Ct:i,l=n.state.rowState;e&&(e.state=void 0!==l[e.id]?l[e.id]:r(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach((function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:u(t),t.setState=function(o){return n.setCellState(e.id,t.column.id,o)}})))}Pt.pluginName="useRowState",l.resetColumnOrder="resetColumnOrder",l.setColumnOrder="setColumnOrder";var It=function(e){e.stateReducers.push(Ft),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])})),e.visibleColumns.push(Gt),e.useInstance.push(At)};function Ft(e,t,n,o){return t.type===l.init?r({columnOrder:[]},e):t.type===l.resetColumnOrder?r({},e,{columnOrder:o.initialState.columnOrder||[]}):t.type===l.setColumnOrder?r({},e,{columnOrder:m(t.columnOrder,e.columnOrder)}):void 0}function Gt(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var o=[].concat(n),r=[].concat(e),i=[],u=function(){var e=o.shift(),t=r.findIndex((function(t){return t.id===e}));t>-1&&i.push(r.splice(t,1)[0])};r.length&&o.length;)u();return[].concat(i,r)}function At(e){var n=e.dispatch;e.setColumnOrder=t.useCallback((function(e){return n({type:l.setColumnOrder,columnOrder:e})}),[n])}It.pluginName="useColumnOrder",c.canResize=!0,l.columnStartResizing="columnStartResizing",l.columnResizing="columnResizing",l.columnDoneResizing="columnDoneResizing",l.resetResize="resetResize";var kt=function(e){e.getResizerProps=[Ht],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(Tt),e.useInstance.push(Wt),e.useInstanceBeforeDimensions.push(zt)},Ht=function(e,t){var n=t.instance,o=t.header,r=n.dispatch,i=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var o=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map((function(e){return[e.id,e.totalWidth]})),i=n?Math.round(e.touches[0].clientX):e.clientX,u=function(e){r({type:l.columnResizing,clientX:e})},s=function(){return r({type:l.columnDoneResizing})},a={mouse:{moveEvent:"mousemove",moveHandler:function(e){return u(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",a.mouse.moveHandler),document.removeEventListener("mouseup",a.mouse.upHandler),s()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),u(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(a.touch.moveEvent,a.touch.moveHandler),document.removeEventListener(a.touch.upEvent,a.touch.moveHandler),s()}}},c=n?a.touch:a.mouse,d=!!function(){if("boolean"==typeof z)return z;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return z=e}()&&{passive:!1};document.addEventListener(c.moveEvent,c.moveHandler,d),document.addEventListener(c.upEvent,c.upHandler,d),r({type:l.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:o,clientX:i})};return[e,{onMouseDown:function(e){return e.persist()||i(e,o)},onTouchStart:function(e){return e.persist()||i(e,o)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function Tt(e,t){if(t.type===l.init)return r({columnResizing:{columnWidths:{}}},e);if(t.type===l.resetResize)return r({},e,{columnResizing:{columnWidths:{}}});if(t.type===l.columnStartResizing){var n=t.clientX,o=t.columnId,i=t.columnWidth,u=t.headerIdWidths;return r({},e,{columnResizing:r({},e.columnResizing,{startX:n,headerIdWidths:u,columnWidth:i,isResizingColumn:o})})}if(t.type===l.columnResizing){var s=t.clientX,a=e.columnResizing,c=a.startX,d=a.columnWidth,f=a.headerIdWidths,p=(s-c)/d,g={};return(void 0===f?[]:f).forEach((function(e){var t=e[0],n=e[1];g[t]=Math.max(n+n*p,0)})),r({},e,{columnResizing:r({},e.columnResizing,{columnWidths:r({},e.columnResizing.columnWidths,{},g)})})}return t.type===l.columnDoneResizing?r({},e,{columnResizing:r({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}kt.pluginName="useResizeColumns";var zt=function(e){var t=e.flatHeaders,n=e.disableResizing,o=e.getHooks,r=e.state.columnResizing,i=h(e);t.forEach((function(e){var t=I(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=r.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=r.isResizingColumn===e.id,t&&(e.getResizerProps=f(o().getResizerProps,{instance:i(),header:e}))}))};function Wt(e){var n=e.plugins,o=e.dispatch,r=e.autoResetResize,i=void 0===r||r,u=e.columns;v(n,["useAbsoluteLayout"],"useResizeColumns");var s=h(i);w((function(){s()&&o({type:l.resetResize})}),[u]);var a=t.useCallback((function(){return o({type:l.resetResize})}),[o]);Object.assign(e,{resetResizing:a})}var Ot={position:"absolute",top:0},Mt=function(e){e.getTableBodyProps.push(jt),e.getRowProps.push(jt),e.getHeaderGroupProps.push(jt),e.getFooterGroupProps.push(jt),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:r({},Ot,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:r({},Ot,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:r({},Ot,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}))};Mt.pluginName="useAbsoluteLayout";var jt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},Nt={display:"inline-block",boxSizing:"border-box"},_t=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},Dt=function(e){e.getRowProps.push(_t),e.getHeaderGroupProps.push(_t),e.getFooterGroupProps.push(_t),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:r({},Nt,{width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:r({},Nt,{width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:r({},Nt,{width:n.totalWidth+"px"})}]}))};function Lt(e){e.getTableProps.push(Vt),e.getRowProps.push(Xt),e.getHeaderGroupProps.push(Xt),e.getFooterGroupProps.push(Xt),e.getHeaderProps.push(qt),e.getCellProps.push(Kt),e.getFooterProps.push(Ut)}Dt.pluginName="useBlockLayout",Lt.pluginName="useFlexLayout";var Vt=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Xt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},qt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Kt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},Ut=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function $t(e){e.stateReducers.push(Qt),e.getTableProps.push(Jt),e.getHeaderProps.push(Yt)}$t.pluginName="useGridLayout";var Jt=function(e,t){return[e,{style:{display:"grid",gridTemplateColumns:t.instance.state.gridLayout.columnWidths.map((function(e){return e})).join(" ")}}]},Yt=function(e,t){return[e,{id:"header-cell-"+t.column.id,style:{position:"sticky"}}]};function Qt(e,t,n,o){if("init"===t.type)return r({gridLayout:{columnWidths:o.columns.map((function(){return"auto"}))}},e);if("columnStartResizing"===t.type){var i=t.columnId,u=o.visibleColumns.findIndex((function(e){return e.id===i})),l=function(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}(i);return void 0!==l?r({},e,{gridLayout:r({},e.gridLayout,{columnId:i,columnIndex:u,startingWidth:l})}):e}if("columnResizing"===t.type){var s=e.gridLayout,a=s.columnIndex,c=s.startingWidth,d=s.columnWidths,f=c-(e.columnResizing.startX-t.clientX),p=[].concat(d);return p[a]=f+"px",r({},e,{gridLayout:r({},e.gridLayout,{columnWidths:p})})}}e._UNSTABLE_usePivotColumns=nt,e.actions=l,e.defaultColumn=c,e.defaultGroupByFn=De,e.defaultOrderByFn=Qe,e.defaultRenderer=s,e.emptyRenderer=a,e.ensurePluginOrder=v,e.flexRender=b,e.functionalUpdate=m,e.loopHooks=g,e.makePropGetter=f,e.makeRenderer=R,e.reduceHooks=p,e.safeUseLayoutEffect=y,e.useAbsoluteLayout=Mt,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var r=t.useRef({}),i=h(e),u=h(n);return t.useCallback(function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,l,s=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=s.length,n=new Array(t),l=0;l<t;l++)n[l]=s[l];return r.current.promise||(r.current.promise=new Promise((function(e,t){r.current.resolve=e,r.current.reject=t}))),r.current.timeout&&clearTimeout(r.current.timeout),r.current.timeout=setTimeout(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete r.current.timeout,e.prev=1,e.t0=r.current,e.next=5,i().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),r.current.reject(e.t2);case 12:return e.prev=12,delete r.current.promise,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])}))),u()),e.abrupt("return",r.current.promise);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[i,u])},e.useBlockLayout=Dt,e.useColumnOrder=It,e.useExpanded=se,e.useFilters=xe,e.useFlexLayout=Lt,e.useGetLatest=h,e.useGlobalFilter=Ie,e.useGridLayout=$t,e.useGroupBy=ze,e.useMountedLayoutEffect=w,e.usePagination=Ze,e.useResizeColumns=kt,e.useRowSelect=vt,e.useRowState=Pt,e.useSortBy=Ue,e.useTable=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e=ie(e),o=[K].concat(o);var u=t.useRef({}),s=h(u.current);Object.assign(s(),r({},e,{plugins:o,hooks:q()})),o.filter(Boolean).forEach((function(e){e(s().hooks)}));var a=h(s().hooks);s().getHooks=a,delete s().hooks,Object.assign(s(),p(a().useOptions,ie(e)));var c=s(),d=c.data,v=c.columns,m=c.initialState,y=c.defaultColumn,w=c.getSubRows,b=c.getRowId,E=c.stateReducer,I=c.useControlledState,F=h(E),G=t.useCallback((function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(a().stateReducers,Array.isArray(F())?F():[F()]).reduce((function(n,o){return o(n,t,e,s())||n}),e)}),[a,F,s]),A=t.useReducer(G,void 0,(function(){return G(m,{type:l.init})})),k=A[0],H=A[1],T=p([].concat(a().useControlledState,[I]),k,{instance:s()});Object.assign(s(),{state:T,dispatch:H});var z=t.useMemo((function(){return S(p(a().columns,v,{instance:s()}))}),[a,s,v].concat(p(a().columnsDeps,[],{instance:s()})));s().columns=z;var W=t.useMemo((function(){return p(a().allColumns,C(z),{instance:s()}).map(P)}),[z,a,s].concat(p(a().allColumnsDeps,[],{instance:s()})));s().allColumns=W;var O=t.useMemo((function(){for(var e=[],t=[],n={},o=[].concat(W);o.length;){var r=o.shift();le({data:d,rows:e,flatRows:t,rowsById:n,column:r,getRowId:b,getSubRows:w,accessValueHooks:a().accessValue,getInstance:s})}return[e,t,n]}),[W,d,b,w,a,s]),M=O[0],j=O[1],N=O[2];Object.assign(s(),{rows:M,initialRows:[].concat(M),flatRows:j,rowsById:N}),g(a().useInstanceAfterData,s());var _=t.useMemo((function(){return p(a().visibleColumns,W,{instance:s()}).map((function(e){return x(e,y)}))}),[a,W,s,y].concat(p(a().visibleColumnsDeps,[],{instance:s()})));W=t.useMemo((function(){var e=[].concat(_);return W.forEach((function(t){e.find((function(e){return e.id===t.id}))||e.push(t)})),e}),[W,_]),s().allColumns=W;var D=t.useMemo((function(){return p(a().headerGroups,B(_,y),s())}),[a,_,y,s].concat(p(a().headerGroupsDeps,[],{instance:s()})));s().headerGroups=D;var L=t.useMemo((function(){return D.length?D[0].headers:[]}),[D]);s().headers=L,s().flatHeaders=D.reduce((function(e,t){return[].concat(e,t.headers)}),[]),g(a().useInstanceBeforeDimensions,s());var V=_.filter((function(e){return e.isVisible})).map((function(e){return e.id})).sort().join("_");_=t.useMemo((function(){return _.filter((function(e){return e.isVisible}))}),[_,V]),s().visibleColumns=_;var X=ue(L),U=X[0],$=X[1],J=X[2];return s().totalColumnsMinWidth=U,s().totalColumnsWidth=$,s().totalColumnsMaxWidth=J,g(a().useInstance,s()),[].concat(s().flatHeaders,s().allColumns).forEach((function(e){e.render=R(s(),e),e.getHeaderProps=f(a().getHeaderProps,{instance:s(),column:e}),e.getFooterProps=f(a().getFooterProps,{instance:s(),column:e})})),s().headerGroups=t.useMemo((function(){return D.filter((function(e,t){return e.headers=e.headers.filter((function(e){return e.headers?function e(t){return t.filter((function(t){return t.headers?e(t.headers):t.isVisible})).length}(e.headers):e.isVisible})),!!e.headers.length&&(e.getHeaderGroupProps=f(a().getHeaderGroupProps,{instance:s(),headerGroup:e,index:t}),e.getFooterGroupProps=f(a().getFooterGroupProps,{instance:s(),headerGroup:e,index:t}),!0)}))}),[D,s,a]),s().footerGroups=[].concat(s().headerGroups).reverse(),s().prepareRow=t.useCallback((function(e){e.getRowProps=f(a().getRowProps,{instance:s(),row:e}),e.allCells=W.map((function(t){var n=e.values[t.id],o={column:t,row:e,value:n};return o.getCellProps=f(a().getCellProps,{instance:s(),cell:o}),o.render=R(s(),t,{row:e,cell:o,value:n}),o})),e.cells=_.map((function(t){return e.allCells.find((function(e){return e.column.id===t.id}))})),g(a().prepareRow,e,{instance:s()})}),[a,s,W,_]),s().getTableProps=f(a().getTableProps,{instance:s()}),s().getTableBodyProps=f(a().getTableBodyProps,{instance:s()}),g(a().useFinalInstance,s()),s()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0))}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[3],{1030:function(t,a,e){"use strict";e.d(a,"a",(function(){return c}));var i=e(0),n=e(43),o=e(159),s=e(143),l=e(1045),r=e(358);function c(t){var a=i.useMemo((function(){return t.actions.sort((function(t,a){return t.order-a.order}))}),[t.actions]),e=[],c=[];a.forEach((function(t){t.button?e.push(t):c.push(t)}));var u="d-flex";return t.className&&(u+=" ".concat(t.className)),e.length||c.length?i.createElement("div",{className:u},i.createElement(i.Fragment,null,i.createElement("span",{className:"d-flex align-items-center"},e.length?e.map((function(t,a){return i.createElement(i.Fragment,{key:a},function(){if(t.label){var a=n.a.isFunction(t.label)?t.label:function(){return t.label};return i.createElement(r.a,{appLink:t.appLink,href:t.href,onClick:t.onClick,svgName:t.svgName,className:t.className,tooltip:t.tooltip,showSpinner:t.showSpinner,analyticsData:t.analyticsData,analyticsOptions:t.analyticsOptions,openInNewTab:t.openInNewTab,disabled:t.disabled},a())}var e=i.createElement(o.a,{appLink:t.appLink,href:t.href,onClick:t.onClick,svgName:t.svgName,className:t.className,analyticsData:t.analyticsData,analyticsOptions:t.analyticsOptions,openInNewTab:t.openInNewTab,disabled:t.disabled});return t.tooltip?i.createElement(s.a,{title:t.tooltip,spanHack:!0},e):e}())})):i.createElement(i.Fragment,null),t.sortComponent&&t.sortComponent,c.length?i.createElement(l.a,{actions:c,dropdownToggleClassName:t.actionsDropdownClassName}):i.createElement(i.Fragment,null)))):i.createElement(i.Fragment,null)}},1045:function(t,a,e){"use strict";e.d(a,"a",(function(){return v}));var i=e(0),n=e(4),o=e(295),s=e(43),l=e(35),r=e(76),c=e(59),u=e(143),d=e(27),p=e(1053),b=e.n(p);function g(t){var a="dropdown-item";return t&&(a+=" ".concat(t)),a}function y(t){var a=s.a.isFunction(t.action.label)?t.action.label:function(){return t.action.label};if(t.action.appLink)return i.createElement(c.a,{appLink:t.action.appLink,onClick:t.action.onClick,className:g(t.action.className),analyticsData:t.action.analyticsData,analyticsOptions:t.action.analyticsOptions,openInNewTab:t.action.openInNewTab,disabled:t.action.disabled},a());function e(a){a.preventDefault(),t.action.analyticsData&&t.action.analyticsOptions&&l.a.logUserAction(t.action.analyticsData,t.action.analyticsOptions),s.a.isFunction(t.action.onClick)&&t.action.onClick(),t.action.href&&n.a.LocationUtils.PageLoad(t.action.href,t.action.openInNewTab)}return t.action.href?i.createElement("a",{className:g(t.action.className),onClick:e,href:t.action.href},a()):i.createElement("span",{className:"cursor-pointer ".concat(g(t.action.className)),onClick:e,role:"button",tabIndex:0,onKeyDown:function(t){return"Enter"===t.key&&e(t)}},a())}function v(t){if(!t.actions||!t.actions.length)return i.createElement(i.Fragment,null);var a="dropdown";t.className&&(a+=" ".concat(t.className));var e="actions-dropdown-".concat(o.a.getRandomInt()),n="dropdown-toggle px-0 ".concat(b.a.dropdownToggle);return t.dropdownToggleClassName&&(n+=" ".concat(t.dropdownToggleClassName)),i.createElement("div",{className:a},i.createElement("button",{className:n,type:"button",id:e,"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},i.createElement(r.a,{svgName:d.b.More,size:r.b.Small})),i.createElement("div",{className:"dropdown-menu dropdown-menu-right","aria-labelledby":e},t.actions.map((function(t,a){return t.tooltip?i.createElement(u.a,{key:a,title:t.tooltip,spanHack:!0},i.createElement(y,{action:t})):i.createElement(y,{key:a,action:t})}))))}v.defaultProps={dropdownToggleClassName:"btn btn-light"}},1053:function(t,a,e){t.exports={dropdownToggle:"AYBvQ"}},1057:function(t,a,e){"use strict";var i,n,o,s=e(11),l=e(185),r=e(42),c=e(116),u=e(91),d=e(2),p=e(348),b=e(126),g=e(9),y=e(36),v=e(60);!function(t){t[t.AddToPlaylist=0]="AddToPlaylist",t[t.RemoveFromPlaylist=1]="RemoveFromPlaylist",t[t.Share=2]="Share",t[t.EditDetails=3]="EditDetails",t[t.Download=4]="Download",t[t.Delete=5]="Delete",t[t.ViewCurriculumLinks=6]="ViewCurriculumLinks",t[t.CreateClip=7]="CreateClip",t[t.CreateInteractive=8]="CreateInteractive",t[t.Favourite=9]="Favourite"}(i||(i={})),function(t){t[t.Share=0]="Share",t[t.AddToPlaylist=1]="AddToPlaylist",t[t.ViewOriginalVideo=2]="ViewOriginalVideo",t[t.EditDetails=3]="EditDetails",t[t.Delete=4]="Delete",t[t.CreateInteractive=5]="CreateInteractive",t[t.Favourite=6]="Favourite"}(n||(n={})),function(t){t[t.AddToPlaylist=0]="AddToPlaylist",t[t.PreviewQuestions=1]="PreviewQuestions",t[t.ViewResults=2]="ViewResults",t[t.Share=3]="Share",t[t.Copy=4]="Copy",t[t.Edit=5]="Edit",t[t.Print=6]="Print",t[t.ViewOriginalVideo=7]="ViewOriginalVideo",t[t.Delete=8]="Delete",t[t.Unpublish=9]="Unpublish",t[t.Favourite=10]="Favourite"}(o||(o={}));var m=e(27),f=e(211),O=e(1350),h=e(5),P=e(7),T=e(1100);function k(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}var w=function(t,a,e,n){var o,s=g.a.encloseNamespace("shared.utils"),l=a===y.a.XS,r=f.a.isFavouritedByCurrentUser(t),c={id:t.id};return k(o={},i.Favourite,{order:0,svgName:r?m.b.Heart:m.b.HeartOutline,onClick:function(){return n(t,!r)},button:!0,className:"btn btn-link ".concat(r?"text-danger":""),analyticsOptions:null,analyticsData:c}),k(o,i.AddToPlaylist,{order:5,label:s("addToPlaylist"),button:!l,className:"btn btn-link",svgName:m.b.AddToPlaylists,appLink:{application:h.a.PLAYLISTS,action:P.a.Playlists.ADD_TO_PLAYLIST,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Associate,descriptor:d.AssocDescriptor.Playlist,workflowPhase:d.WorkflowPhase.Start}),analyticsData:null}),k(o,i.Share,{order:10,label:s("share"),svgName:m.b.Share2,appLink:{application:h.a.DEFAULT,action:P.a.Default.SHARE,args:[t.id],params:{entityType:"video"}},button:!l,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Share,workflowPhase:d.WorkflowPhase.Start}),analyticsData:c}),k(o,i.CreateInteractive,{order:20,label:s("createInteractive"),button:!1,analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Create,entity:d.EntityType.Interactive,workflowPhase:d.WorkflowPhase.Start}),analyticsData:{video:{id:t.id}},appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.NEW_INTERACTIVE,args:[t.id]}}),k(o,i.CreateClip,{order:30,label:s("createClip"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.CREATE_CLIP,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Create,entity:d.EntityType.Clip,workflowPhase:d.WorkflowPhase.Start}),analyticsData:{video:{id:t.id}}}),k(o,i.EditDetails,{order:40,label:s("editDetails"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.EDIT_VIDEO,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Edit,workflowPhase:d.WorkflowPhase.Start}),analyticsData:c}),k(o,i.ViewCurriculumLinks,{order:50,label:s("viewCurriculumLinks"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.VIEW_CURRICULUM_LINKS,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Click,workflowPhase:d.WorkflowPhase.Complete,descriptor:d.VideoActionDescriptor.ViewCurriculumLinks}),analyticsData:c}),k(o,i.Download,{order:60,label:s("download"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.DOWNLOAD_VIDEO,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Download,workflowPhase:d.WorkflowPhase.Start}),analyticsData:c}),k(o,i.Delete,{order:70,label:s("delete"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.DELETE_VIDEO,args:[t.id]},className:"btn btn-link text-danger",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Delete,workflowPhase:d.WorkflowPhase.Start}),analyticsData:c}),o},E=function(t,a,e,i){var o,s,l,r=g.a.encloseNamespace("shared.utils"),c=f.a.isFavouritedByCurrentUser(t),u=a===y.a.XS,p={id:t.id};return k(o={},n.Favourite,{order:0,svgName:c?m.b.Heart:m.b.HeartOutline,onClick:function(){return i(t,!c)},button:!0,className:"btn btn-link ".concat(c?"text-danger":""),analyticsOptions:null,analyticsData:p}),k(o,n.AddToPlaylist,{order:10,label:u?r("addToPlaylist"):null,tooltip:u?null:r("addToPlaylist"),svgName:m.b.AddToPlaylists,appLink:{application:h.a.PLAYLISTS,action:P.a.Playlists.ADD_TO_PLAYLIST,args:[t.id]},button:!u,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Associate,descriptor:d.AssocDescriptor.Playlist,workflowPhase:d.WorkflowPhase.Start}),analyticsData:p}),k(o,n.Share,{order:15,label:u?r("share"):null,tooltip:u?null:r("share"),svgName:m.b.Share2,appLink:{application:h.a.DEFAULT,action:P.a.Default.SHARE,args:[t.id],params:{entityType:"clip"}},button:!u,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Share,workflowPhase:d.WorkflowPhase.Start}),analyticsData:p}),k(o,n.CreateInteractive,{order:20,label:r("createInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.NEW_CLIP_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Create,entity:d.EntityType.Interactive,workflowPhase:d.WorkflowPhase.Start}),analyticsData:{clipId:t.id}}),k(o,n.ViewOriginalVideo,{order:30,label:r("viewOriginalVideo"),appLink:{application:h.a.DEFAULT,action:P.a.Default.PLAY_VIDEO,args:[null===(s=t.video)||void 0===s?void 0:s.id,v.a.slugify(null===(l=t.video)||void 0===l?void 0:l.name)]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Click,descriptor:d.VideoActionDescriptor.ViewOriginalVideo}),analyticsData:p}),k(o,n.EditDetails,{order:40,label:r("editDetails"),appLink:{application:h.a.DEFAULT,action:P.a.Default.EDIT_CLIP_DETAILS,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Edit,workflowPhase:d.WorkflowPhase.Start}),analyticsData:p}),k(o,n.Delete,{order:50,label:r("deleteClip"),appLink:{application:h.a.DEFAULT,action:P.a.Default.DELETE_CLIP,args:[t.id]},button:!1,className:"btn btn-link text-danger",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Delete,workflowPhase:d.WorkflowPhase.Start}),analyticsData:p}),o},D=function(t,a,e,i,n){var s,l=g.a.encloseNamespace("shared.utils"),c=a===y.a.XS,u=Object(T.a)(t),p=f.a.isFavouritedByCurrentUser(t);return k(s={},o.Favourite,{order:0,svgName:p?m.b.Heart:m.b.HeartOutline,onClick:function(){return n(t,!p)},button:!0,className:"btn btn-link ".concat(p?"text-danger":""),analyticsOptions:null,analyticsData:u}),k(s,o.ViewResults,{order:5,className:"btn btn-link",href:O.a.getObjectUrl(e,t),openInNewTab:!0,svgName:m.b.Chart,label:c?l("viewResults"):null,tooltip:c?null:l("viewResults"),button:!c,analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Click,descriptor:d.VideoActionDescriptor.ViewResults}),analyticsData:u}),k(s,o.AddToPlaylist,{order:10,label:c?l("addToPlaylist"):null,tooltip:c?null:l("addToPlaylist"),svgName:m.b.AddToPlaylists,appLink:{application:h.a.PLAYLISTS,action:P.a.Playlists.ADD_TO_PLAYLIST,args:[t.id]},button:!c,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Associate,descriptor:d.AssocDescriptor.Playlist,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.Share,{order:20,label:c?l("share"):null,tooltip:c?null:l("share"),svgName:m.b.Share2,appLink:{application:h.a.DEFAULT,action:P.a.Default.SHARE,args:[t.id],params:{entityType:"interactive"}},button:!c,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Share,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.PreviewQuestions,{order:30,label:l("previewInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.PREVIEW_QUESTIONS,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Click,descriptor:d.VideoActionDescriptor.PreviewInteractiveVideo}),analyticsData:u}),k(s,o.Copy,{order:40,label:l("copyInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.COPY_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Copy,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.Edit,{order:50,label:l("editInteractive"),svgName:m.b.Edit,appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.EDIT_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Edit,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.Unpublish,{order:60,label:l("editInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.UNPUBLISH_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Publish,descriptor:d.PublishDescriptor.Unpublish,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.Print,{order:70,label:l("printAsWorksheet"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.PRINT_QUESTIONS,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Print,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.ViewOriginalVideo,{order:80,label:l("viewOriginalVideo"),appLink:function(){var a=t.clip||t.video;if(!a)return null;var e=r.a.isClip(a)?P.a.Default.PLAY_CLIP:P.a.Default.PLAY_VIDEO;return{application:h.a.DEFAULT,action:e,args:[a.id,v.a.slugify(a.name)]}}(),button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Click,descriptor:d.VideoActionDescriptor.ViewOriginalVideo}),analyticsData:u}),k(s,o.Delete,{order:90,label:l("deleteInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.DELETE_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link text-danger",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Delete,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),s},I=e(1675),A=e.n(I),C=e(61);function N(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}var S=function(t,a){var e,n=g.a.encloseNamespace("liteShared.hooks"),o=a===y.a.XS,s={entity:d.EntityType.Video,location:d.LocationContext.VideoListItem},l=w(t,a,s);return Object.assign(Object.assign({},l),(N(e={},i.AddToPlaylist,Object.assign(Object.assign({},l[i.AddToPlaylist]),{label:o?n("addToPlaylist"):null,tooltip:o?null:n("addToPlaylist")})),N(e,i.Share,Object.assign(Object.assign({},l[i.Share]),{label:o?n("share"):null,tooltip:o?null:n("share")})),e))},j=function(t,a){var e,n=g.a.encloseNamespace("liteShared.hooks"),o=a===y.a.XS,s=a===y.a.SM||a===y.a.MD||o,l={entity:d.EntityType.Video,location:d.LocationContext.PlayPage},r=w(t,a,l);return Object.assign(Object.assign({},r),(N(e={},i.CreateInteractive,Object.assign(Object.assign({},r[i.CreateInteractive]),{order:s?20:0,label:n("makeInteractive"),svgName:m.b.CreateInteractive,className:"".concat(s?"":"btn btn-outline-dark mr-2"," ").concat(A.a.createInteractive),button:!s})),N(e,i.AddToPlaylist,Object.assign(Object.assign({},r[i.AddToPlaylist]),{order:s?0:10,className:o?"":"btn btn-outline-dark mr-2"})),N(e,i.Share,Object.assign(Object.assign({},r[i.Share]),{order:s?10:20,className:o?"":"btn btn-outline-dark mr-2"})),e))},L=function(t,a,e){var n,o={entity:d.EntityType.Video,location:d.LocationContext.StudentFeed},s=w(t,a,o,e);return N(n={},i.AddToPlaylist,Object.assign(Object.assign({},s[i.AddToPlaylist]),{label:"",button:!0})),N(n,i.Favourite,s[i.Favourite]),n};function V(t){var a,e,n,o=t.video,s=t.location,l=t.mediaQuery,r=t.toggleFavouriteVideo,c=t.isPlugin,u=t.hasPermissions,d=function(t){switch(t){case H.PlayPage:return j;case H.StudentFeed:return L;case H.VideoItem:default:return S}}(s)(o,l,r),p=[d[i.AddToPlaylist]];if(s===H.StudentFeed)p.push(d[i.Favourite]);else{var b=u(C.a.StudentExperience);b||p.push(d[i.Share]),c||(p.push(d[i.CreateClip]),b||p.push(d[i.CreateInteractive])),!b&&(null===(e=null===(a=o._curriculumLinks)||void 0===a?void 0:a.value)||void 0===e?void 0:e.length)&&p.push(d[i.ViewCurriculumLinks]),(null===(n=o._canUpdate)||void 0===n?void 0:n.value)&&(p.push(d[i.EditDetails]),p.push(d[i.Delete]),p.push(d[i.Download]))}return p}function F(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}var U=function(t,a){var e={entity:d.EntityType.Clip,location:d.LocationContext.ClipListItem};return E(t,a,e)},R=function(t,a){var e,i=g.a.encloseNamespace("liteShared.hooks"),o=a===y.a.XS,s={entity:d.EntityType.Clip,location:d.LocationContext.PlayPage},l=E(t,a,s);return Object.assign(Object.assign({},l),(F(e={},n.CreateInteractive,Object.assign(Object.assign({},l[n.CreateInteractive]),{order:0,label:i("makeInteractive"),svgName:m.b.CreateInteractive,button:!o,className:o?"":"btn btn-outline-dark mr-2",tooltip:null})),F(e,n.Share,Object.assign(Object.assign({},l[n.Share]),{label:i("share"),button:!o,className:o?"":"btn btn-outline-dark mr-2",tooltip:null})),F(e,n.AddToPlaylist,Object.assign(Object.assign({},l[n.AddToPlaylist]),{label:i("addToPlaylist"),button:!o,className:o?"":"btn btn-outline-dark mr-2",tooltip:null})),e))},_=function(t,a,e){var i,o={entity:d.EntityType.Clip,location:d.LocationContext.StudentFeed},s=E(t,a,o,e);return F(i={},n.AddToPlaylist,Object.assign(Object.assign({},s[n.AddToPlaylist]),{label:"",button:!0})),F(i,n.Favourite,s[n.Favourite]),i};function x(t){var a,e=t.clip,i=t.location,o=t.mediaQuery,s=t.toggleFavouriteVideo,l=t.isPlugin,r=t.hasPermissions,c=function(t){switch(t){case H.PlayPage:return R;case H.StudentFeed:return _;case H.VideoItem:default:return U}}(i)(e,o,s),u=[c[n.AddToPlaylist]];if(i===H.StudentFeed)u.push(c[n.Favourite]);else{var d=r(C.a.StudentExperience);l||(i===H.VideoItem&&u.push(c[n.ViewOriginalVideo]),d||(u.push(c[n.Share]),u.push(c[n.CreateInteractive]))),(null===(a=e._canUpdate)||void 0===a?void 0:a.value)&&(u.push(c[n.EditDetails]),u.push(c[n.Delete]))}return u}var W=e(187);function Q(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}var H,Y=g.a.encloseNamespace("liteShared.hooks"),B=function(t){var a=t.interactive,e=t.mediaQuery,i=t.config,n={entity:d.EntityType.Interactive,location:d.LocationContext.VideoListItem};return D(a,e,i,n)},X=function(t){var a,e=t.interactive,i=t.mediaQuery,n=t.config,s={entity:d.EntityType.Interactive,location:d.LocationContext.PreviewInteractive},l=D(e,i,n,s);return Object.assign(Object.assign({},l),(Q(a={},o.ViewResults,Object.assign(Object.assign({},l[o.ViewResults]),{order:0,className:"btn btn-outline-dark mr-2",button:!0,tooltip:null,label:Y("viewResults")})),Q(a,o.Edit,Object.assign(Object.assign({},l[o.Edit]),{order:10,className:"btn btn-outline-dark mr-2",button:!0})),Q(a,o.Share,Object.assign(Object.assign({},l[o.Share]),{order:20,className:"btn btn-outline-dark mr-2",label:Y("share"),tooltip:null})),Q(a,o.AddToPlaylist,Object.assign(Object.assign({},l[o.AddToPlaylist]),{order:30,label:Y("addToPlaylist"),className:"btn btn-outline-dark mr-2",tooltip:null})),a))},M=function(t){var a,e=t.interactive,i=t.mediaQuery,n=t.toggleFavouriteVideo,s=t.config,l={entity:d.EntityType.Video,location:d.LocationContext.StudentFeed},r=D(e,i,s,l,n);return Q(a={},o.AddToPlaylist,Object.assign(Object.assign({},r[o.AddToPlaylist]),{label:"",button:!0})),Q(a,o.Favourite,r[o.Favourite]),a};function z(t){var a,e=t.interactive,i=t.location,n=t.mediaQuery,s=t.toggleFavouriteVideo,l=t.isPlugin,r=t.hasPermissions,c=t.config,u=function(t){switch(t){case H.PlayPage:return X;case H.StudentFeed:return M;case H.VideoItem:default:return B}}(i)({interactive:e,mediaQuery:n,toggleFavouriteVideo:s,config:c}),d=[];if(e.status!==W.a.Draft&&d.push(u[o.AddToPlaylist]),i===H.StudentFeed)d.push(u[o.Favourite]);else{var p=r(C.a.StudentExperience);p||e.status===W.a.Draft||(d.push(u[o.Share]),d.push(u[o.ViewResults])),d.push(u[o.Print]),p||d.push(u[o.Copy]),(null===(a=e._canUpdate)||void 0===a?void 0:a.value)&&(l||d.push(e.status===W.a.Draft?u[o.Edit]:u[o.Unpublish]),d.push(u[o.Delete]))}return i===H.VideoItem&&(d.push(u[o.PreviewQuestions]),d.push(u[o.ViewOriginalVideo])),d}e.d(a,"a",(function(){return H})),e.d(a,"b",(function(){return J})),function(t){t[t.PlayPage=0]="PlayPage",t[t.VideoItem=1]="VideoItem",t[t.StudentFeed=2]="StudentFeed"}(H||(H={}));var J=function(t){var a=Object(l.a)(),e=Object(p.a)(function(t){switch(t){case H.PlayPage:return d.LocationContext.PlayPage;case H.VideoItem:return d.LocationContext.VideoListItem;case H.StudentFeed:return d.LocationContext.StudentFeed}}(t)),i=Object(u.a)().hasPermissions,n=Object(b.b)().isPlugin,o=s.a.useBasicFetch(c.a.config(),{optimize:!0});return function(s){return r.a.isClip(s)?x({clip:s,location:t,mediaQuery:a,toggleFavouriteVideo:e,isPlugin:n,hasPermissions:i}):r.a.isInteractive(s)?z({interactive:s,location:t,mediaQuery:a,toggleFavouriteVideo:e,isPlugin:n,hasPermissions:i,config:o.data}):V({video:s,location:t,mediaQuery:a,toggleFavouriteVideo:e,isPlugin:n,hasPermissions:i})}}},1100:function(t,a,e){"use strict";function i(t){var a,e,i,n;if(!t)return null;var o=Object.assign(Object.assign({},t),{video:null,clip:null});return(null===(a=null==t?void 0:t.clip)||void 0===a?void 0:a.id)?o.clip={id:null===(e=null==t?void 0:t.clip)||void 0===e?void 0:e.id}:(null===(i=null==t?void 0:t.video)||void 0===i?void 0:i.id)&&(o.video={id:null===(n=null==t?void 0:t.video)||void 0===n?void 0:n.id}),o}e.d(a,"a",(function(){return i}))},1350:function(t,a,e){"use strict";e.d(a,"a",(function(){return o}));var i=e(28),n=e(23),o={getObjectUrl:function(t,a){var e=t.analyticsWebUrl;if(e){var o="";switch(a.typeId){case n.a.Video:o="/videos/".concat(a.id,"/overview");break;case n.a.Interactive:o="/interactives/".concat(a.id,"/overview")}if(o)return i.a.safeUrlConcat(e,o)}}}},1675:function(t,a,e){t.exports={createInteractive:"EqSVQ"}}}]);