!function(){function t(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var e,o,u,i,c=[],l=!0,a=!1;try{if(u=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;l=!1}else for(;!(l=(e=u.call(n)).done)&&(c.push(e.value),c.length!==r);l=!0);}catch(t){a=!0,o=t}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(a)throw o}}return c}}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return r(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(t,n)}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}System.register(["./index-legacy-DF2p3puw.js"],(function(r,n){"use strict";var e,o,u;return{setters:[function(t){e=t.J,o=t.r,u=t.K}],execute:function(){r("u",(function(r){var n=e(),i=n.collection,c=n.project,l=t(o.useState("loading"),2),a=l[0],f=l[1],s=u();return o.useEffect((function(){r(i,c).then((function(t){f(t),s(t)}))}),[i,r,c,s]),a}))}}}))}();
