vue-number-counter
Version:
A Vue.js project, (基于vue2的数字滚动(翻牌)插件)
1 lines • 23 kB
JavaScript
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("VueNumberCounter",[],n):"object"==typeof exports?exports.VueNumberCounter=n():t.VueNumberCounter=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="/",r(r.s="Kwl7")}({"/Ffr":function(t,n,r){r("Jze1")("Set")},"/hGW":function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"0TG/":function(t,n){t.exports={}},"0yXj":function(t,n,r){r("iKnR");for(var e=r("Jpxn"),o=r("qCM6"),i=r("0TG/"),u=r("e6WI")("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<c.length;a++){var s=c[a],f=e[s],p=f&&f.prototype;p&&!p[u]&&o(p,u,s),i[s]=i.Array}},"1QRW":function(t,n,r){var e=r("will"),o=r("Ul4m"),i=r("LiZD");t.exports=r("qz/2")?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),c=u.length,a=0;c>a;)e.f(t,r=u[a++],n[r]);return t}},"1RHK":function(t,n,r){var e=r("SrjJ"),o=r("B3pc"),i=r("3UZo"),u=r("NOEY"),c=r("bh3j");t.exports=function(t,n){var r=1==t,a=2==t,s=3==t,f=4==t,p=6==t,l=5==t||p,h=n||c;return function(n,c,d){for(var v,y,x=i(n),g=o(x),m=e(c,d,3),_=u(g.length),S=0,w=r?h(n,_):a?h(n,0):void 0;_>S;S++)if((l||S in g)&&(y=m(v=g[S],S,x),t))if(r)w[S]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return S;case 2:w.push(v)}else if(f)return!1;return p?-1:s||f?f:w}}},"3UZo":function(t,n,r){var e=r("/hGW");t.exports=function(t){return Object(e(t))}},"4Sro":function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},"5PGD":function(t,n,r){"use strict";var e=r("utRG"),o=r("gVaf");t.exports=r("qtkR")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return e.def(o(this,"Set"),t=0===t?0:t,t)}},e)},"5bEq":function(t,n,r){var e=r("G1+Z"),o=r("NOEY"),i=r("VrCD");t.exports=function(t){return function(n,r,u){var c,a=e(n),s=o(a.length),f=i(u,s);if(t&&r!=r){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}}},"5oSO":function(t,n,r){var e=r("IykR");t.exports=function(t,n){var r=[];return e(t,!1,r.push,r,n),r}},"9bk1":function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},AYAG:function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},B3pc:function(t,n,r){var e=r("gTtX");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},DOa6:function(t,n,r){"use strict";var e=r("dwHk"),o=r("G258"),i=r("SrjJ"),u=r("IykR");t.exports=function(t){e(e.S,t,{from:function(t){var n,r,e,c,a=arguments[1];return o(this),(n=void 0!==a)&&o(a),void 0==t?new this:(r=[],n?(e=0,c=i(a,arguments[2],2),u(t,!1,function(t){r.push(c(t,e++))})):u(t,!1,r.push,r),new this(r))}})}},F4Le:function(t,n,r){var e=r("Ul4m");t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},FZz4:function(t,n,r){var e=r("Jpxn").document;t.exports=e&&e.documentElement},"G1+Z":function(t,n,r){var e=r("B3pc"),o=r("/hGW");t.exports=function(t){return e(o(t))}},G258:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},GqD7:function(t,n,r){r("DOa6")("Set")},HDws:function(t,n,r){var e=r("Ul4m"),o=r("1QRW"),i=r("9bk1"),u=r("OLa/")("IE_PROTO"),c=function(){},a=function(){var t,n=r("t6tw")("iframe"),e=i.length;for(n.style.display="none",r("FZz4").appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;e--;)delete a.prototype[i[e]];return a()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[u]=t):r=a(),void 0===n?r:o(r,n)}},IykR:function(t,n,r){var e=r("SrjJ"),o=r("F4Le"),i=r("L6YH"),u=r("Ul4m"),c=r("NOEY"),a=r("M0zt"),s={},f={};(n=t.exports=function(t,n,r,p,l){var h,d,v,y,x=l?function(){return t}:a(t),g=e(r,p,n?2:1),m=0;if("function"!=typeof x)throw TypeError(t+" is not iterable!");if(i(x)){for(h=c(t.length);h>m;m++)if((y=n?g(u(d=t[m])[0],d[1]):g(t[m]))===s||y===f)return y}else for(v=x.call(t);!(d=v.next()).done;)if((y=o(v,g,d.value,n))===s||y===f)return y}).BREAK=s,n.RETURN=f},Jpxn:function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},JyUY:function(t,n,r){var e=r("KeyM")("meta"),o=r("Ky7m"),i=r("izFG"),u=r("will").f,c=0,a=Object.isExtensible||function(){return!0},s=!r("jg1N")(function(){return a(Object.preventExtensions({}))}),f=function(t){u(t,e,{value:{i:"O"+ ++c,w:{}}})},p=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!a(t))return"F";if(!n)return"E";f(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!a(t))return!0;if(!n)return!1;f(t)}return t[e].w},onFreeze:function(t){return s&&p.NEED&&a(t)&&!i(t,e)&&f(t),t}}},Jze1:function(t,n,r){"use strict";var e=r("dwHk");t.exports=function(t){e(e.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},KeyM:function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},Kwl7:function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=r("Sxqw"),o=r.n(e),i=r("T7Jh"),u=r.n(i),c=r("fHpZ"),a=r.n(c),s=(r("rVjR"),{name:"VueNumberCounter",props:{value:{type:[String,Number],default:"0"},option:{type:Object,default:function(){return{duration:2e3,characterWidth:16,addCharacter:[],replaceCharacterMap:[],decimals:2,thousandsSeparatorFlag:!1}}}},data:function(){return{characterMap:[",","+","-",".","9","8","7","6","5","4","3","2","1","0"]}},computed:{splitCharacterArr:function(){var t=this.value;return"number"==typeof t&&(this.option.decimals>=0&&(t=t.toFixed(this.option.decimals)),this.option.thousandsSeparatorFlag&&(t=this.addThousandsSeparator(t))),String(t).split("")}},methods:{play:function(t){var n=this,r=this.$el.getElementsByClassName("split-number"),e=this.$el.getElementsByClassName("number-unit");t.forEach(function(t,o){var i=-1;if(n.characterMap.forEach(function(n,r){n===t&&(i=r)}),-1===i)console.warn("There's no Character["+t+"], please use :option.addCharacter to add!!");else{var u=-i*e[0].offsetHeight;r[o].style.transform="translateY("+u+"px)"}})},optionValidateAndSetDefaultValue:function(){(!this.option.hasOwnProperty("duration")||this.option.duration<0)&&(this.option.duration=2e3),(!this.option.hasOwnProperty("characterWidth")||this.option.characterWidth<0)&&(this.option.characterWidth=16),this.option.hasOwnProperty("addCharacter")||(this.option.addCharacter=[]),this.option.hasOwnProperty("replaceCharacterMap")||(this.option.replaceCharacterMap=[]),this.option.hasOwnProperty("decimals")||(this.option.decimals=2),this.option.hasOwnProperty("thousandsSeparatorFlag")||(this.option.thousandsSeparatorFlag=!1),this.option.addCharacter.length&&(this.characterMap=a()(new u.a([].concat(o()(this.option.addCharacter),o()(this.characterMap))))),this.option.replaceCharacterMap.length&&(this.characterMap=a()(new u.a(this.option.replaceCharacterMap)))},addThousandsSeparator:function(t){if(t.length<=3)return t;if(!/^(\+|-)?(\d+)(\.\d+)?$/.test(t))return t;var n=RegExp.$1,r=RegExp.$2,e=RegExp.$3,o=new RegExp;for(o.compile("(\\d)(\\d{3})(,|$)");o.test(r);)r=r.replace(o,"$1,$2$3");return n+r+e}},watch:{option:{handler:function(t,n){this.optionValidateAndSetDefaultValue()},deep:!0,immediate:!0},splitCharacterArr:function(t,n){var r=this;this.$nextTick(function(){r.play(t)})}},beforeCreate:function(){},created:function(){},mounted:function(){var t=this;this.$nextTick(function(){t.play(t.splitCharacterArr)})},components:{},beforeDestroy:function(){}}),f={render:function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("div",{staticClass:"vue-number-counter-wrapper"},t._l(t.splitCharacterArr,function(n,e){return r("div",{key:e,staticClass:"split-number",style:{transition:"transform "+t.option.duration+"ms"}},t._l(t.characterMap,function(e,o){return r("div",{key:o,staticClass:"number-unit",class:{"active-number":n==e},style:{width:t.option.characterWidth+"px"}},[t._v("\n "+t._s(e)+"\n ")])}))}))},staticRenderFns:[]},p=r("Mz/3")(s,f,!1,null,null,null).exports;r.d(n,"VueNumberCounter",function(){return p});var l={install:function(t){t.component(p.name,p)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(l);n.default=l},Ky7m:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},L6YH:function(t,n,r){var e=r("0TG/"),o=r("e6WI")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},LiZD:function(t,n,r){var e=r("NGdM"),o=r("9bk1");t.exports=Object.keys||function(t){return e(t,o)}},M0zt:function(t,n,r){var e=r("n7Z2"),o=r("e6WI")("iterator"),i=r("0TG/");t.exports=r("hkgF").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},MhzF:function(t,n,r){var e=r("e6WI")("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}},"Mz/3":function(t,n){t.exports=function(t,n,r,e,o,i){var u,c=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(u=t,c=t.default);var s,f="function"==typeof c?c.options:c;if(n&&(f.render=n.render,f.staticRenderFns=n.staticRenderFns,f._compiled=!0),r&&(f.functional=!0),o&&(f._scopeId=o),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=s):e&&(s=e),s){var p=f.functional,l=p?f.render:f.beforeCreate;p?(f._injectStyles=s,f.render=function(t,n){return s.call(n),l(t,n)}):f.beforeCreate=l?[].concat(l,s):[s]}return{esModule:u,exports:c,options:f}}},NGdM:function(t,n,r){var e=r("izFG"),o=r("G1+Z"),i=r("5bEq")(!1),u=r("OLa/")("IE_PROTO");t.exports=function(t,n){var r,c=o(t),a=0,s=[];for(r in c)r!=u&&e(c,r)&&s.push(r);for(;n.length>a;)e(c,r=n[a++])&&(~i(s,r)||s.push(r));return s}},NOEY:function(t,n,r){var e=r("AYAG"),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},O01J:function(t,n,r){var e=r("hkgF"),o=r("Jpxn"),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r("Xk8v")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"OLa/":function(t,n,r){var e=r("O01J")("keys"),o=r("KeyM");t.exports=function(t){return e[t]||(e[t]=o(t))}},ONnA:function(t,n,r){r("SzTy"),r("OubH"),r("0yXj"),r("5PGD"),r("kwo/"),r("/Ffr"),r("GqD7"),t.exports=r("hkgF").Set},OubH:function(t,n,r){"use strict";var e=r("pT6J")(!0);r("S2SA")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},R63W:function(t,n,r){r("OubH"),r("VExX"),t.exports=r("hkgF").Array.from},S2SA:function(t,n,r){"use strict";var e=r("Xk8v"),o=r("dwHk"),i=r("hnim"),u=r("qCM6"),c=r("0TG/"),a=r("s8MJ"),s=r("j12y"),f=r("xN9B"),p=r("e6WI")("iterator"),l=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,r,d,v,y,x){a(r,n,d);var g,m,_,S=function(t){if(!l&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=n+" Iterator",b="values"==v,O=!1,C=t.prototype,M=C[p]||C["@@iterator"]||v&&C[v],k=M||S(v),j=v?b?S("entries"):k:void 0,E="Array"==n&&C.entries||M;if(E&&(_=f(E.call(new t)))!==Object.prototype&&_.next&&(s(_,w,!0),e||"function"==typeof _[p]||u(_,p,h)),b&&M&&"values"!==M.name&&(O=!0,k=function(){return M.call(this)}),e&&!x||!l&&!O&&C[p]||u(C,p,k),c[n]=k,c[w]=h,v)if(g={values:b?k:S("values"),keys:y?k:S("keys"),entries:j},x)for(m in g)m in C||i(C,m,g[m]);else o(o.P+o.F*(l||O),n,g);return g}},SrjJ:function(t,n,r){var e=r("G258");t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},Sxqw:function(t,n,r){"use strict";n.__esModule=!0;var e,o=r("fHpZ"),i=(e=o)&&e.__esModule?e:{default:e};n.default=function(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}return(0,i.default)(t)}},SzTy:function(t,n){},T7Jh:function(t,n,r){t.exports={default:r("ONnA"),__esModule:!0}},Ul4m:function(t,n,r){var e=r("Ky7m");t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},VExX:function(t,n,r){"use strict";var e=r("SrjJ"),o=r("dwHk"),i=r("3UZo"),u=r("F4Le"),c=r("L6YH"),a=r("NOEY"),s=r("sFeG"),f=r("M0zt");o(o.S+o.F*!r("MhzF")(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,o,p,l=i(t),h="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,x=0,g=f(l);if(y&&(v=e(v,d>2?arguments[2]:void 0,2)),void 0==g||h==Array&&c(g))for(r=new h(n=a(l.length));n>x;x++)s(r,x,y?v(l[x],x):l[x]);else for(p=g.call(l),r=new h;!(o=p.next()).done;x++)s(r,x,y?u(p,v,[o.value,x],!0):o.value);return r.length=x,r}})},VrCD:function(t,n,r){var e=r("AYAG"),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},Xk8v:function(t,n){t.exports=!0},bh3j:function(t,n,r){var e=r("r0SF");t.exports=function(t,n){return new(e(t))(n)}},dwHk:function(t,n,r){var e=r("Jpxn"),o=r("hkgF"),i=r("SrjJ"),u=r("qCM6"),c=r("izFG"),a=function(t,n,r){var s,f,p,l=t&a.F,h=t&a.G,d=t&a.S,v=t&a.P,y=t&a.B,x=t&a.W,g=h?o:o[n]||(o[n]={}),m=g.prototype,_=h?e:d?e[n]:(e[n]||{}).prototype;for(s in h&&(r=n),r)(f=!l&&_&&void 0!==_[s])&&c(g,s)||(p=f?_[s]:r[s],g[s]=h&&"function"!=typeof _[s]?r[s]:y&&f?i(p,e):x&&_[s]==p?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(p):v&&"function"==typeof p?i(Function.call,p):p,v&&((g.virtual||(g.virtual={}))[s]=p,t&a.R&&m&&!m[s]&&u(m,s,p)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},e6WI:function(t,n,r){var e=r("O01J")("wks"),o=r("KeyM"),i=r("Jpxn").Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},fHpZ:function(t,n,r){t.exports={default:r("R63W"),__esModule:!0}},gTtX:function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},gVaf:function(t,n,r){var e=r("Ky7m");t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},"hAS/":function(t,n,r){var e=r("Ky7m");t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},hkgF:function(t,n){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},hnim:function(t,n,r){t.exports=r("qCM6")},iKnR:function(t,n,r){"use strict";var e=r("waBH"),o=r("mdtD"),i=r("0TG/"),u=r("G1+Z");t.exports=r("S2SA")(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},ihCH:function(t,n,r){"use strict";var e=r("Jpxn"),o=r("hkgF"),i=r("will"),u=r("qz/2"),c=r("e6WI")("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];u&&n&&!n[c]&&i.f(n,c,{configurable:!0,get:function(){return this}})}},izFG:function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},j0bH:function(t,n,r){var e=r("n7Z2"),o=r("5oSO");t.exports=function(t){return function(){if(e(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},j12y:function(t,n,r){var e=r("will").f,o=r("izFG"),i=r("e6WI")("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},jg1N:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"kwo/":function(t,n,r){var e=r("dwHk");e(e.P+e.R,"Set",{toJSON:r("j0bH")("Set")})},mdtD:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},"n+D9":function(t,n,r){var e=r("qCM6");t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},n7Z2:function(t,n,r){var e=r("gTtX"),o=r("e6WI")("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},pOfC:function(t,n,r){var e=r("gTtX");t.exports=Array.isArray||function(t){return"Array"==e(t)}},pT6J:function(t,n,r){var e=r("AYAG"),o=r("/hGW");t.exports=function(t){return function(n,r){var i,u,c=String(o(n)),a=e(r),s=c.length;return a<0||a>=s?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},pzPZ:function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},qCM6:function(t,n,r){var e=r("will"),o=r("4Sro");t.exports=r("qz/2")?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},qtkR:function(t,n,r){"use strict";var e=r("Jpxn"),o=r("dwHk"),i=r("JyUY"),u=r("jg1N"),c=r("qCM6"),a=r("n+D9"),s=r("IykR"),f=r("pzPZ"),p=r("Ky7m"),l=r("j12y"),h=r("will").f,d=r("1RHK")(0),v=r("qz/2");t.exports=function(t,n,r,y,x,g){var m=e[t],_=m,S=x?"set":"add",w=_&&_.prototype,b={};return v&&"function"==typeof _&&(g||w.forEach&&!u(function(){(new _).entries().next()}))?(_=n(function(n,r){f(n,_,t,"_c"),n._c=new m,void 0!=r&&s(r,x,n[S],n)}),d("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var n="add"==t||"set"==t;t in w&&(!g||"clear"!=t)&&c(_.prototype,t,function(r,e){if(f(this,_,t),!n&&g&&!p(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,e);return n?this:o})}),g||h(_.prototype,"size",{get:function(){return this._c.size}})):(_=y.getConstructor(n,t,x,S),a(_.prototype,r),i.NEED=!0),l(_,t),b[t]=_,o(o.G+o.W+o.F,b),g||y.setStrong(_,t,x),_}},"qz/2":function(t,n,r){t.exports=!r("jg1N")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},r0SF:function(t,n,r){var e=r("Ky7m"),o=r("pOfC"),i=r("e6WI")("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},rVjR:function(t,n){},s8MJ:function(t,n,r){"use strict";var e=r("HDws"),o=r("4Sro"),i=r("j12y"),u={};r("qCM6")(u,r("e6WI")("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},sFeG:function(t,n,r){"use strict";var e=r("will"),o=r("4Sro");t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},t6tw:function(t,n,r){var e=r("Ky7m"),o=r("Jpxn").document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},utRG:function(t,n,r){"use strict";var e=r("will").f,o=r("HDws"),i=r("n+D9"),u=r("SrjJ"),c=r("pzPZ"),a=r("IykR"),s=r("S2SA"),f=r("mdtD"),p=r("ihCH"),l=r("qz/2"),h=r("JyUY").fastKey,d=r("gVaf"),v=l?"_s":"size",y=function(t,n){var r,e=h(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,s){var f=t(function(t,e){c(t,f,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=e&&a(e,r,t[s],t)});return i(f.prototype,{clear:function(){for(var t=d(this,n),r=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete r[e.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var r=d(this,n),e=y(r,t);if(e){var o=e.n,i=e.p;delete r._i[e.i],e.r=!0,i&&(i.n=o),o&&(o.p=i),r._f==e&&(r._f=o),r._l==e&&(r._l=i),r[v]--}return!!e},forEach:function(t){d(this,n);for(var r,e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!y(d(this,n),t)}}),l&&e(f.prototype,"size",{get:function(){return d(this,n)[v]}}),f},def:function(t,n,r){var e,o,i=y(t,n);return i?i.v=r:(t._l=i={i:o=h(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=i),e&&(e.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,n,r){s(t,n,function(t,r){this._t=d(t,n),this._k=r,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?f(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,f(1))},r?"entries":"values",!r,!0),p(n)}}},wUim:function(t,n,r){t.exports=!r("qz/2")&&!r("jg1N")(function(){return 7!=Object.defineProperty(r("t6tw")("div"),"a",{get:function(){return 7}}).a})},waBH:function(t,n){t.exports=function(){}},will:function(t,n,r){var e=r("Ul4m"),o=r("wUim"),i=r("hAS/"),u=Object.defineProperty;n.f=r("qz/2")?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},xN9B:function(t,n,r){var e=r("izFG"),o=r("3UZo"),i=r("OLa/")("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}}})});