index-legacy.b5463f9e.js 3.3 KB

1
  1. !function(){function n(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=function(n,e){if(!n)return;if("string"==typeof n)return t(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);"Object"===r&&n.constructor&&(r=n.constructor.name);if("Map"===r||"Set"===r)return Array.from(n);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(n,e)}(n))||e&&n&&"number"==typeof n.length){r&&(n=r);var o=0,i=function(){};return{s:i,n:function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,l=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return a=n.done,n},e:function(n){l=!0,u=n},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw u}}}}function t(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}System.register(["./index-legacy.a38fc4d7.js"],(function(t){"use strict";var e,r,o,i,u,a;return{setters:[function(n){e=n.R,r=n.ba,o=n.Z,i=n.b8,u=n.bb,a=n.bc}],execute:function(){var l;t({b:s,c:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f(v(t,e),n)},t:d,u:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.controls,o=void 0!==r&&r,i=t.immediate,u=void 0===i||i,a=e(0),l=s((function(){return a.value+=1}),n,{immediate:u});return o?p({counter:a},l):a}});var c=t("a","undefined"!=typeof window);t("i",(function(n){return"string"==typeof n})),t("n",(function(){}));function f(n,t){return function(){for(var e=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n((function(){return t.apply(e,o)}),{fn:t,thisArg:this,args:o})}}function v(n){var t,e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=function(o){var u=i(n),a=i(r.maxWait);if(t&&clearTimeout(t),u<=0||void 0!==a&&a<=0)return e&&(clearTimeout(e),e=null),o();a&&!e&&(e=setTimeout((function(){t&&clearTimeout(t),e=null,o()}),a)),t=setTimeout((function(){e&&clearTimeout(e),e=null,o()}),u)};return o}function d(n){return!!u()&&(a(n),!0)}function s(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=u.immediate,l=void 0===a||a,f=u.immediateCallback,v=void 0!==f&&f,s=null,m=e(!1);function y(){s&&(clearInterval(s),s=null)}function b(){m.value=!1,y()}function g(){i(t)<=0||(m.value=!0,v&&n(),y(),s=setInterval(n,i(t)))}if(l&&c&&g(),r(t)){var h=o(t,(function(){m.value&&c&&g()}));d(h)}return d(b),{isActive:m,pause:b,resume:g}}c&&(null==(l=null==window?void 0:window.navigator)?void 0:l.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);var m=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,h=function(n,t,e){return t in n?m(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e},p=function(t,e){for(var r in e||(e={}))b.call(e,r)&&h(t,r,e[r]);if(y){var o,i=n(y(e));try{for(i.s();!(o=i.n()).done;){r=o.value;g.call(e,r)&&h(t,r,e[r])}}catch(u){i.e(u)}finally{i.f()}}return t}}}}))}();