index-legacy-27c0346a.js 2.7 KB

1
  1. !function(){function r(r){return function(r){if(Array.isArray(r))return e(r)}(r)||function(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||t(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,n){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,o,i,u,a=[],l=!0,f=!1;try{if(i=(t=t.call(r)).next,0===n){if(Object(t)!==t)return;l=!1}else for(;!(l=(e=i.call(t)).done)&&(a.push(e.value),a.length!==n);l=!0);}catch(c){f=!0,o=c}finally{try{if(!l&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(r,n)||t(r,n)||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 t(r,n){if(r){if("string"==typeof r)return e(r,n);var t=Object.prototype.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?e(r,n):void 0}}function e(r,n){(null==n||n>r.length)&&(n=r.length);for(var t=0,e=new Array(n);t<n;t++)e[t]=r[t];return e}System.register(["./index-legacy-cd579aae.js"],(function(t,e){"use strict";var o,i,u,a,l;return{setters:[function(r){o=r.bm,i=r.bn,u=r.bo,a=r.w,l=r.r}],execute:function(){function e(r){return"function"==typeof r?r():o(r)}t({a:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.window,t=void 0===n?s:n;if(!t)return{x:l(0),y:l(0)};var e=l(t.scrollX),o=l(t.scrollY);return y(t,"scroll",(function(){e.value=t.scrollX,o.value=t.scrollY}),{capture:!1,passive:!0}),{x:e,y:o}},u:y});var f="undefined"!=typeof window,c=function(){};var s=f?window:void 0;function y(){for(var t,o,l,f,y=arguments.length,v=new Array(y),d=0;d<y;d++)v[d]=arguments[d];if("string"==typeof v[0]||Array.isArray(v[0])?(o=v[0],l=v[1],f=v[2],t=s):(t=v[0],o=v[1],l=v[2],f=v[3]),!t)return c;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);var p,m=[],b=function(){m.forEach((function(r){return r()})),m.length=0},h=a((function(){return[(r=t,o=e(r),null!=(n=null==o?void 0:o.$el)?n:o),e(f)];var r,n,o}),(function(t){var e=n(t,2),i=e[0],u=e[1];b(),i&&m.push.apply(m,r(o.flatMap((function(r){return l.map((function(n){return function(r,n,t,e){return r.addEventListener(n,t,e),function(){return r.removeEventListener(n,t,e)}}(i,r,n,u)}))}))))}),{immediate:!0,flush:"post"}),A=function(){h(),b()};return p=A,i()&&u(p),A}}}}))}();