System.register(["./motion-legacy.C4TziduP.js","./index-legacy.JhBlWEoq.js"],function(t,n){"use strict";var r,e,i;return{setters:[t=>{r=t.p,e=t.u},t=>{i=t.j}],execute:function(){t({d:function(t,n,e){var i,u,o,a,f,c,s=0,v=!1,g=!1,h=!0;if("function"!=typeof t)throw new TypeError(m);function x(n){var r=i,e=u;return i=u=void 0,s=n,a=t.apply(e,r)}function T(t){var r=t-c;return void 0===c||r>=n||r<0||g&&t-s>=o}function j(){var t=d();if(T(t))return b(t);f=setTimeout(j,function(t){var r=n-(t-c);return g?y(r,o-(t-s)):r}(t))}function b(t){return f=void 0,h&&i?x(t):(i=u=void 0,a)}function w(){var t=d(),r=T(t);if(i=arguments,u=this,c=t,r){if(void 0===f)return function(t){return s=t,f=setTimeout(j,n),v?x(t):a}(c);if(g)return clearTimeout(f),f=setTimeout(j,n),x(c)}return void 0===f&&(f=setTimeout(j,n)),a}return n=l(n)||0,r(e)&&(v=!!e.leading,o=(g="maxWait"in e)?p(l(e.maxWait)||0,n):o,h="trailing"in e?!!e.trailing:h),w.cancel=function(){void 0!==f&&clearTimeout(f),s=0,i=c=u=f=void 0},w.flush=function(){return void 0===f?a:b(d())},w},t:l});var n=/\s/,u=/^\s+/;function o(t){return t?t.slice(0,function(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}(t)+1).replace(u,""):t}var a=NaN,f=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,v=parseInt;function l(t){if("number"==typeof t)return t;if(i(t))return a;if(r(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=r(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=o(t);var e=c.test(t);return e||s.test(t)?v(t.slice(2),e?2:8):f.test(t)?a:+t}var d=function(){return e.Date.now()},m="Expected a function",p=Math.max,y=Math.min}}});
