!function(){function e(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function r(r){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach((function(e){t(r,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}function t(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r,t,n,o,u,c){try{var i=e[u](c),a=i.value}catch(f){return void t(f)}i.done?r(a):Promise.resolve(a).then(n,o)}function o(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,o,u=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(u.push(n.value),!r||u.length!==r);c=!0);}catch(a){i=!0,o=a}finally{try{c||null==t.return||t.return()}finally{if(i)throw o}}return u}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return u(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,r)}(e,r)||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 u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}System.register(["./index-legacy.b746a8e2.js","./vendor-legacy.046e8265.js"],(function(e,t){"use strict";var u,c,i;return{setters:[function(e){u=e._},function(e){c=e.r,i=e.j}],execute:function(){e("L",(function(e){var a=o(c.exports.useState(),2),f=a[0],s=a[1],l=o(c.exports.useState(!1),2),p=l[0],y=l[1],b=c.exports.useRef(),v=c.exports.useRef();return c.exports.useEffect((function(){if(!b.current){var r=function(){var e,r=(e=regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!p){e.next=2;break}return e.abrupt("return");case 2:return y(!0),r=new Promise((function(e){return v.current=e})),e.prev=4,e.t0=s,e.next=8,u((function(){return t.import("./PermissionManager-legacy.acf215a0.js")}),void 0);case 8:e.t1=e.sent.default,(0,e.t0)(e.t1),e.next=15;break;case 12:e.prev=12,e.t2=e.catch(4),console.log(e.t2);case 15:return y(!1),e.next=18,r;case 18:return e.abrupt("return",e.sent);case 19:case"end":return e.stop()}}),e,null,[[4,12]])})),function(){var r=this,t=arguments;return new Promise((function(o,u){var c=e.apply(r,t);function i(e){n(c,o,u,i,a,"next",e)}function a(e){n(c,o,u,i,a,"throw",e)}i(void 0)}))});return function(){return r.apply(this,arguments)}}();"function"==typeof e.refOpen?e.refOpen(r):e.refOpen.current=r}}),[e.refOpen]),f?i(f,r(r({},e),{},{refOpen:function(r){"function"==typeof e.refOpen?e.refOpen(r):e.refOpen.current=r,b.current||(b.current=!0,r().then(v.current))}})):null}))}}}))}();
