index-legacy.c4f76e6e.js 2.6 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.90c82f08.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:v,t:f,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=v((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){return!!u()&&(a(n),!0)}function v(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,v=u.immediateCallback,d=void 0!==v&&v,s=null,y=e(!1);function b(){s&&(clearInterval(s),s=null)}function m(){y.value=!1,b()}function p(){i(t)<=0||(y.value=!0,d&&n(),b(),s=setInterval(n,i(t)))}if(l&&c&&p(),r(t)){var g=o(t,(function(){y.value&&c&&p()}));f(g)}return f(m),{isActive:y,pause:m,resume:p}}c&&(null==(l=null==window?void 0:window.navigator)?void 0:l.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);var d=Object.defineProperty,s=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,m=function(n,t,e){return t in n?d(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e},p=function(t,e){for(var r in e||(e={}))y.call(e,r)&&m(t,r,e[r]);if(s){var o,i=n(s(e));try{for(i.s();!(o=i.n()).done;){r=o.value;b.call(e,r)&&m(t,r,e[r])}}catch(u){i.e(u)}finally{i.f()}}return t}}}}))}();