System.register(["./index-legacy-5616ff2c-1776006071491.js"],(function(t,e){"use strict";var n,o,r,u,i;return{setters:[t=>{n=t.c9,o=t.cz,r=t.c8,u=t.aq,i=t.bj}],execute:function(){function e(t){return"function"==typeof t?t():i(t)}t({a:function(t,n=200,o=!1,r=!0,u=!1){return s(function(t,n=!0,o=!0,r=!1){let u,i,s=0,a=!0,f=c;const l=()=>{u&&(clearTimeout(u),u=void 0,f(),f=c)},m=c=>{const m=e(t),w=Date.now()-s,d=()=>i=c();return l(),m<=0?(s=Date.now(),d()):(w>m&&(o||!a)?(s=Date.now(),d()):n&&(i=new Promise(((t,e)=>{f=r?e:t,u=setTimeout((()=>{s=Date.now(),a=!0,t(d()),l()}),Math.max(0,m-w))}))),o||u||(u=setTimeout((()=>a=!0),m)),a=!1,i)};return m}(n,o,r,u),t)},b:function(t){return!!n()&&(o(t),!0)},c:e,t:function(t){r()&&u(t)},u:function(t,n=200,o={}){return s(function(t,n={}){let o,r,u=c;const i=t=>{clearTimeout(t),u(),u=c},s=c=>{const s=e(t),a=e(n.maxWait);return o&&i(o),s<=0||void 0!==a&&a<=0?(r&&(i(r),r=null),Promise.resolve(c())):new Promise(((t,e)=>{u=n.rejectOnCancel?e:t,a&&!r&&(r=setTimeout((()=>{o&&i(o),r=null,t(c())}),a)),o=setTimeout((()=>{r&&i(r),r=null,t(c())}),s)}))};return s}(n,o),t)}}),t("i","undefined"!=typeof window);const c=()=>{};function s(t,e){return function(...n){return new Promise(((o,r)=>{Promise.resolve(t((()=>e.apply(this,n)),{fn:e,thisArg:this,args:n})).then(o).catch(r)}))}}}}}));
