text: !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=44)}([function(t,e,n){(function(e){var n="object",r=function(t){return t&&t.Math==Math&&t};t.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof e==n&&e)||Function("return this")()}).call(this,n(46))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(1);t.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(25),o=n(27);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(2),o=n(28),i=n(10),s=n(14),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=s(e,!0),i(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(2),o=n(5),i=n(13);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(0),o=n(9).f,i=n(7),s=n(30),c=n(16),u=n(48),a=n(51);t.exports=function(t,e){var n,f,l,p,h,d=t.target,v=t.global,y=t.stat;if(n=v?r:y?r[d]||c(d,{}):(r[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!a(v?f:d+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),s(n,f,p,t)}}},function(t,e,n){var r=n(2),o=n(24),i=n(13),s=n(4),c=n(14),u=n(3),a=n(28),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=s(t),e=c(e,!0),a)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(0),o=n(16),i=n(31),s=r["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.1.3",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(0),o=n(11),i=n(18),s=n(41),c=r.Symbol,u=o("wks");t.exports=function(t){return u[t]||(u[t]=s&&c[t]||(s?c:i)("Symbol."+t))}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports={}},function(t,e,n){var r=n(0),o=n(7);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(11),o=n(18),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(37),o=n(20).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(27);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(37),o=n(20);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(58),o=n(25),i=n(21),s=n(38),c=n(60),u=[].push,a=function(t){var e=1==t,n=2==t,a=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,d,v,y){for(var g,b,m=i(h),w=o(m),O=r(d,v,3),_=s(w.length),x=0,E=y||c,S=e?E(h,_):n?E(h,0):void 0;_>x;x++)if((p||x in w)&&(b=O(g=w[x],x,m),t))if(e)S[x]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:u.call(S,g)}else if(f)return!1;return l?-1:a||f?f:S}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6)}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(1),o=n(26),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(2),o=n(1),i=n(29);t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(0),o=n(6),i=r.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},function(t,e,n){var r=n(0),o=n(11),i=n(7),s=n(3),c=n(16),u=n(32),a=n(33),f=a.get,l=a.enforce,p=String(u).split("toString");o("inspectSource",function(t){return u.call(t)}),(t.exports=function(t,e,n,o){var u=!!o&&!!o.unsafe,a=!!o&&!!o.enumerable,f=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||s(n,"name")||i(n,"name",e),l(n).source=p.join("string"==typeof e?e:"")),t!==r?(u?!f&&t[e]&&(a=!0):delete t[e],a?t[e]=n:i(t,e,n)):a?t[e]=n:c(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&f(this).source||u.call(this)})},function(t,e){t.exports=!1},function(t,e,n){var r=n(11);t.exports=r("native-function-to-string",Function.toString)},function(t,e,n){var r,o,i,s=n(47),c=n(0),u=n(6),a=n(7),f=n(3),l=n(17),p=n(15),h=c.WeakMap;if(s){var d=new h,v=d.get,y=d.has,g=d.set;r=function(t,e){return g.call(d,t,e),e},o=function(t){return v.call(d,t)||{}},i=function(t){return y.call(d,t)}}else{var b=l("state");p[b]=!0,r=function(t,e){return a(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(35),o=n(19),i=n(40),s=n(10);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(36),o=n(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e,n){t.exports=n(0)},function(t,e,n){var r=n(3),o=n(4),i=n(49).indexOf,s=n(15);t.exports=function(t,e){var n,c=o(t),u=0,a=[];for(n in c)!r(s,n)&&r(c,n)&&a.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(a,n)||a.push(n));return a}},function(t,e,n){var r=n(39),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(1);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(t,e,n){var r=n(26);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){e.f=n(12)},function(t,e,n){t.exports=n(72)},function(t,e,n){"use strict";var r=n(8),o=n(0),i=n(31),s=n(2),c=n(41),u=n(1),a=n(3),f=n(42),l=n(6),p=n(10),h=n(21),d=n(4),v=n(14),y=n(13),g=n(52),b=n(22),m=n(19),w=n(55),O=n(40),_=n(9),x=n(5),E=n(24),S=n(7),T=n(30),I=n(11),j=n(17),L=n(15),P=n(18),M=n(12),R=n(43),k=n(56),A=n(57),C=n(33),N=n(23).forEach,F=j("hidden"),D=M("toPrimitive"),V=C.set,H=C.getterFor("Symbol"),z=Object.prototype,B=o.Symbol,q=o.JSON,G=q&&q.stringify,W=_.f,U=x.f,$=w.f,J=E.f,K=I("symbols"),Q=I("op-symbols"),Y=I("string-to-symbol-registry"),X=I("symbol-to-string-registry"),Z=I("wks"),tt=o.QObject,et=!tt||!tt.prototype||!tt.prototype.findChild,nt=s&&u(function(){return 7!=g(U({},"a",{get:function(){return U(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=W(z,e);r&&delete z[e],U(t,e,n),r&&t!==z&&U(z,e,r)}:U,rt=function(t,e){var n=K[t]=g(B.prototype);return V(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=c&&"symbol"==typeof B.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof B},it=function(t,e,n){t===z&&it(Q,e,n),p(t);var r=v(e,!0);return p(n),a(K,r)?(n.enumerable?(a(t,F)&&t[F][r]&&(t[F][r]=!1),n=g(n,{enumerable:y(0,!1)})):(a(t,F)||U(t,F,y(1,{})),t[F][r]=!0),nt(t,r,n)):U(t,r,n)},st=function(t,e){p(t);var n=d(e),r=b(n).concat(ft(n));return N(r,function(e){s&&!ct.call(n,e)||it(t,e,n[e])}),t},ct=function(t){var e=v(t,!0),n=J.call(this,e);return!(this===z&&a(K,e)&&!a(Q,e))&&(!(n||!a(this,e)||!a(K,e)||a(this,F)&&this[F][e])||n)},ut=function(t,e){var n=d(t),r=v(e,!0);if(n!==z||!a(K,r)||a(Q,r)){var o=W(n,r);return!o||!a(K,r)||a(n,F)&&n[F][r]||(o.enumerable=!0),o}},at=function(t){var e=$(d(t)),n=[];return N(e,function(t){a(K,t)||a(L,t)||n.push(t)}),n},ft=function(t){var e=t===z,n=$(e?Q:d(t)),r=[];return N(n,function(t){!a(K,t)||e&&!a(z,t)||r.push(K[t])}),r};c||(T((B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=P(t),n=function(t){this===z&&n.call(Q,t),a(this,F)&&a(this[F],e)&&(this[F][e]=!1),nt(this,e,y(1,t))};return s&&et&&nt(z,e,{configurable:!0,set:n}),rt(e,t)}).prototype,"toString",function(){return H(this).tag}),E.f=ct,x.f=it,_.f=ut,m.f=w.f=at,O.f=ft,s&&(U(B.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),i||T(z,"propertyIsEnumerable",ct,{unsafe:!0})),R.f=function(t){return rt(M(t),t)}),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:B}),N(b(Z),function(t){k(t)}),r({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=String(t);if(a(Y,e))return Y[e];var n=B(e);return Y[e]=n,X[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(a(X,t))return X[t]},useSetter:function(){et=!0},useSimple:function(){et=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?g(t):st(g(t),e)},defineProperty:it,defineProperties:st,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:at,getOwnPropertySymbols:ft}),r({target:"Object",stat:!0,forced:u(function(){O.f(1)})},{getOwnPropertySymbols:function(t){return O.f(h(t))}}),q&&r({target:"JSON",stat:!0,forced:!c||u(function(){var t=B();return"[null]"!=G([t])||"{}"!=G({a:t})||"{}"!=G(Object(t))})},{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(l(e)||void 0!==t)&&!ot(t))return f(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!ot(e))return e}),r[1]=e,G.apply(q,r)}}),B.prototype[D]||S(B.prototype,D,B.prototype.valueOf),A(B,"Symbol"),L[F]=!0},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(0),o=n(32),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,e,n){var r=n(3),o=n(34),i=n(9),s=n(5);t.exports=function(t,e){for(var n=o(e),c=s.f,u=i.f,a=0;a<n.length;a++){var f=n[a];r(t,f)||c(t,f,u(e,f))}}},function(t,e,n){var r=n(4),o=n(38),i=n(50),s=function(t){return function(e,n,s){var c,u=r(e),a=o(u.length),f=i(s,a);if(t&&n!=n){for(;a>f;)if((c=u[f++])!=c)return!0}else for(;a>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},function(t,e,n){var r=n(39),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(1),o=/#|\.prototype\./,i=function(t,e){var n=c[s(t)];return n==a||n!=u&&("function"==typeof e?r(e):!!e)},s=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,e,n){var r=n(10),o=n(53),i=n(20),s=n(15),c=n(54),u=n(29),a=n(17)("IE_PROTO"),f=function(){},l=function(){var t,e=u("iframe"),n=i.length;for(e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;n--;)delete l.prototype[i[n]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=r(t),n=new f,f.prototype=null,n[a]=t):n=l(),void 0===e?n:o(n,e)},s[a]=!0},function(t,e,n){var r=n(2),o=n(5),i=n(10),s=n(22);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=s(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var r=n(35);t.exports=r("document","documentElement")},function(t,e,n){var r=n(4),o=n(19).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return s.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(36),o=n(3),i=n(43),s=n(5).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||s(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(5).f,o=n(3),i=n(12)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(59);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r=n(6),o=n(42),i=n(12)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){"use strict";var r=n(8),o=n(23).filter;r({target:"Array",proto:!0,forced:!n(62)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(1),o=n(12)("species");t.exports=function(t){return!r(function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},function(t,e,n){var r=n(8),o=n(1),i=n(4),s=n(9).f,c=n(2),u=o(function(){s(1)});r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return s(i(t),e)}})},function(t,e,n){var r=n(8),o=n(2),i=n(34),s=n(4),c=n(9),u=n(65);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=s(t),o=c.f,a=i(r),f={},l=0;a.length>l;)void 0!==(n=o(r,e=a[l++]))&&u(f,e,n);return f}})},function(t,e,n){"use strict";var r=n(14),o=n(5),i=n(13);t.exports=function(t,e,n){var s=r(e);s in t?o.f(t,s,i(0,n)):t[s]=n}},function(t,e,n){var r=n(8),o=n(21),i=n(22);r({target:"Object",stat:!0,forced:n(1)(function(){i(1)})},{keys:function(t){return i(o(t))}})},function(t,e,n){var r=n(0),o=n(68),i=n(69),s=n(7);for(var c in o){var u=r[c],a=u&&u.prototype;if(a&&a.forEach!==i)try{s(a,"forEach",i)}catch(t){a.forEach=i}}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){"use strict";var r=n(23).forEach,o=n(70);t.exports=o("forEach")?function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){var n=[][t];return!n||!r(function(){n.call(null,e||function(){throw 1},1)})}},function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},r.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,i(window,"resize",this._checkForIntersections,!0),i(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(r){var o=r.element,i=s(o),c=this._rootContainsTarget(o),u=r.entry,a=t&&c&&this._computeTargetAndRootIntersection(o,e),f=r.entry=new n({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:i,rootBounds:e,intersectionRect:a});u?t&&c?this._hasCrossedThreshold(u,f)&&this._queuedEntries.push(f):u&&u.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){for(var r,o,i,c,a,f,l,p,h=s(e),d=u(e),v=!1;!v;){var y=null,g=1==d.nodeType?window.getComputedStyle(d):{};if("none"==g.display)return;if(d==this.root||d==t?(v=!0,y=n):d!=t.body&&d!=t.documentElement&&"visible"!=g.overflow&&(y=s(d)),y&&(r=y,o=h,i=void 0,c=void 0,a=void 0,f=void 0,l=void 0,p=void 0,i=Math.max(r.top,o.top),c=Math.min(r.bottom,o.bottom),a=Math.max(r.left,o.left),f=Math.min(r.right,o.right),p=c-i,!(h=(l=f-a)>=0&&p>=0&&{top:i,bottom:c,left:a,right:f,width:l,height:p})))break;d=u(d)}return h}},r.prototype._getRootRect=function(){var e;if(this.root)e=s(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||c(t,this.root)},r.prototype._rootContainsTarget=function(e){return c(this.root||t,e)},r.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},r.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=n}function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function r(t,e){var n,r,o,i=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout(function(){n(),o=null},r))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function o(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function i(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function s(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function c(t,e){for(var n=e;n;){if(n==t)return!0;n=u(n)}return!1}function u(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}}()},function(t,e,n){"use strict";n.r(e);n(45),n(61),n(63),n(64),n(66),n(67),n(71);var r={target:document,threshold:0,native:!1,setBg:!1,fade:!1,icon:!1},o="0.0.5",i="undefined"!=typeof window,s=function(){return"loading"in window.HTMLImageElement.prototype};function c(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$els=e,this.options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(n,!0).forEach(function(e){u(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},r,{},n),this.loadingCount=0,this.observer=null,this.init(),this.version=o}var e,n,i;return e=t,(n=[{key:"init",value:function(){if(!this.$els)throw new Error("this.$els must be exsits.");this.options.native&&s()?this.loadNativeAll():(this.instance(),this.loadAll())}},{key:"instance",value:function(){var t=this;return this.observer=new window.IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting||e.intersectionRatio>0?t.lazyEnter(e.target):t.lazyExit(e.target)})},{root:this.options.target===document?null:this.options.target,rootMargin:this.options.thresholds||"".concat(this.options.threshold,"px")}),!0}},{key:"lazyEnter",value:function(t){this.observer.unobserve(t),this.elHandle(t)}},{key:"lazyExit",value:function(){}},{key:"elHandle",value:function(t){var e=this;this.options.setBg?(t.removeAttribute("loading"),t.setAttribute("style","background-image: url('".concat(t.dataset.src,"');"))):t.setAttribute("src",t.dataset.src),this.loadingCount+=1,t.addEventListener("load",function(){e.options.fade&&t.classList.add("loaded"),e.options.icon&&t.classList.remove("loading"),console.log("xx")}),t.addEventListener("error",function(){e.options.icon&&(t.classList.remove("loading"),t.classList.add("loading-error"))})}},{key:"loadAll",value:function(){var t=this;this.$els.forEach(function(e){t.options.fade&&e.classList.add("fade"),t.options.icon&&e.classList.add("loading"),e.setAttribute("loading","lazy"),t.observer.observe(e)})}},{key:"loadNativeAll",value:function(){var t=this;this.$els.forEach(function(e){e.setAttribute("loading","lazy"),e.setAttribute("src",e.dataset.src),t.elHandle(e)})}},{key:"add",value:function(t){this.options.native&&s()?t.setAttribute("loading","lazy"):this.observer.observe(t)}},{key:"remove",value:function(t){this.options.native&&s()?t.setAttribute("loading","eager"):this.observer.unobserve(t)}}])&&a(e.prototype,n),i&&a(e,i),t}();i&&(window.Lazyload=f,window.console.log("plugin is running browser."));e.default=f}])});
  //# sourceMappingURL=lazyload.min.js.map