UNPKG

tag-slider

Version:

jQuery tag slider with native scroll

1 lines 21.1 kB
!function(e){var r={};function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=r,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(n,t){if(1&t&&(n=o(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var r in n)o.d(e,r,function(t){return n[t]}.bind(null,r));return e},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="",o(o.s=42)}([function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(17)("wks"),o=e(9),i=e(0).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(4),o=e(15);t.exports=e(6)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(13),o=e(27),i=e(18),u=Object.defineProperty;n.f=e(6)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){t.exports=!e(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(31),o=e(33);t.exports=function(t){return r(o(t))}},function(t,n){var e=t.exports={version:"2.6.2"};"number"==typeof __e&&(__e=e)},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(30),o=e(21);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n){t.exports=!1},function(t,n,e){var r=e(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var v=e(0),y=e(8),g=e(3),b=e(16),m=e(29),S="prototype",x=function(t,n,e){var r,o,i,u,c=t&x.F,a=t&x.G,s=t&x.S,f=t&x.P,l=t&x.B,p=a?v:s?v[n]||(v[n]={}):(v[n]||{})[S],d=a?y:y[n]||(y[n]={}),h=d[S]||(d[S]={});for(r in a&&(e=n),e)i=((o=!c&&p&&void 0!==p[r])?p:e)[r],u=l&&o?m(i,v):f&&"function"==typeof i?m(Function.call,i):i,p&&b(p,r,i,t&x.U),d[r]!=i&&g(d,r,u),f&&h[r]!=i&&(h[r]=i)};v.core=y,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,t.exports=x},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var i=e(0),u=e(3),c=e(2),a=e(9)("src"),r="toString",o=Function[r],s=(""+o).split(r);e(8).inspectSource=function(t){return o.call(t)},(t.exports=function(t,n,e,r){var o="function"==typeof e;o&&(c(e,"name")||u(e,"name",n)),t[n]!==e&&(o&&(c(e,a)||u(e,a,t[n]?""+t[n]:s.join(String(n)))),t===i?t[n]=e:r?t[n]?t[n]=e:u(t,n,e):(delete t[n],u(t,n,e)))})(Function.prototype,r,function(){return"function"==typeof this&&this[a]||o.call(this)})},function(t,n,e){var r=e(8),o=e(0),i="__core-js_shared__",u=o[i]||(o[i]={});(t.exports=function(t,n){return u[t]||(u[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(12)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var o=e(5);t.exports=function(t,n){if(!o(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!o(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!o(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!o(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(4).f,o=e(2),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(17)("keys"),o=e(9);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){n.f={}.propertyIsEnumerable},function(t,n){t.exports={}},function(t,n,e){var r=e(33);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(0),o=e(8),i=e(12),u=e(26),c=e(4).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,e){n.f=e(1)},function(t,n,e){t.exports=!e(6)&&!e(10)(function(){return 7!=Object.defineProperty(e(28)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(5),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){var i=e(45);t.exports=function(r,o,t){if(i(r),void 0===o)return r;switch(t){case 1:return function(t){return r.call(o,t)};case 2:return function(t,n){return r.call(o,t,n)};case 3:return function(t,n,e){return r.call(o,t,n,e)}}return function(){return r.apply(o,arguments)}}},function(t,n,e){var u=e(2),c=e(7),a=e(48)(!1),s=e(20)("IE_PROTO");t.exports=function(t,n){var e,r=c(t),o=0,i=[];for(e in r)e!=s&&u(r,e)&&i.push(e);for(;n.length>o;)u(r,e=n[o++])&&(~a(i,e)||i.push(e));return i}},function(t,n,e){var r=e(32);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(35),o=Math.min;t.exports=function(t){return 0<t?o(r(t),9007199254740991):0}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?r:e)(t)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(32);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,r){var o=r(13),i=r(50),u=r(21),c=r(20)("IE_PROTO"),a=function(){},s="prototype",f=function(){var t,n=r(28)("iframe"),e=u.length;for(n.style.display="none",r(51).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f[s][u[e]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[s]=o(t),e=new a,a[s]=null,e[c]=t):e=f(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(30),o=e(21).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){"use strict";var r=e(41),o=e(55),i=e(23),u=e(7);t.exports=e(56)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(1)("unscopables"),o=Array.prototype;null==o[r]&&e(3)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,n,e){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var i,u;e(43),e(44),e(54),e(40),e(59),e(61),i=jQuery,u=function t(n,e){var u=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"buildStructure",function(){u.scene=u.list.wrap('<div class="tagSlider__scene"></div>').parent();var t="tagSlider "+(u.options.center?"tagSlider-center":"");u.container=u.scene.wrap('<div class="'+t+'"></div>').parent(),u.buttonRight=i('<button class="tagSlider__button tagSlider__button-next">'+u.options.nextArrowContent+"</button>"),u.buttonLeft=i('<button class="tagSlider__button tagSlider__button-prev">'+u.options.prevArrowContent+"</button>"),u.container.append(u.buttonRight),u.container.prepend(u.buttonLeft),u.options.noWrap?u.scene.find("li").each(function(t,n){i(n).find(">*").addClass(u.options.tagClass)}):u.scene.find("li").each(function(t,n){var e=i(n);e.html('<button class="'+u.options.tagClass+'">'+e.html()+"</button>")}),u.list.trigger("tagSliderBuilt",[u])}),o(this,"init",function(){u.activeTag=u.options.initialTag,u.recalculate(),u.countTags(),u.selectTag(!1,!0),i(window).resize(u.recalculate),u.container.addClass("tagSlider-loaded"),u.list.trigger("tagSliderInit",[u])}),o(this,"countTags",function(){u.items=[],u.scene.find("ul>li").each(function(t,n){i(n).find("."+u.options.tagClass).on("click",function(){return u.handleTagClick(t)}),u.items.push(i(n))})}),o(this,"scrollToActive",function(t){if(void 0===t&&(t=!1),"number"==typeof u.activeTag){var n=u.items[u.activeTag],e=u.tagOffsets[u.activeTag],r=u.s/2,o=e+n.outerWidth()/2-(u.d+r);u.scrollBy(o,t)}}),o(this,"handleTagClick",function(t){u.selectTag(t);u.items[t];u.list.trigger("tagSliderTagSelected",[t,u.activeTag,u])}),o(this,"selectTag",function(t){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1],e=t[0]||t;!1===e&&(e=u.activeTag),e<u.items.length?u.activeTag=e:(u.activeTag=u.items.length-1,console.warn("Atempt to slide to non-existing slide (index: "+e+")"));var r=u.items[u.activeTag];for(var o in u.scrollToActive(n),u.items)u.items[o].removeClass("tagSlider__li-active");r.addClass("tagSlider__li-active")}),o(this,"scrollBy",function(t,n){void 0===n&&(n=!1);var e=u.recalculate.bind(u),r=u.d+t,o=r;r<=0?r=0:r>=u.dmax&&(r=Math.ceil(u.dmax));var i=n?0:function(t){var n=30*Math.pow(Math.abs(t)+120,1/3);300<n&&(n=300);return n}(Math.abs(o-r));u.d=r,u.scene.stop(!0,!1).animate({scrollLeft:r},i,u.options.easing,e)}),o(this,"getTagListWidth",function(){var t=u.scene,n=0,e=[];t.find("li").each(function(t){e.push(n),n+=i(this).outerWidth()}),u.tagOffsets=e,u.l=n}),o(this,"recalculate",function(){var t=u.container;u.getTagListWidth();var n=t.outerWidth();Math.ceil(u.l)>Math.ceil(n)?(t.addClass("tagSlider-overflow"),t.css("padding-left",u.buttonLeft.outerWidth()),t.css("padding-right",u.buttonRight.outerWidth())):(t.removeClass("tagSlider-overflow"),t.css("padding-left",""),t.css("padding-right","")),u.s=u.scene.outerWidth(),u.dmax=u.l-u.s,u.reenableArrows()}),o(this,"reenableArrows",function(){u.leftCap=0===u.d,u.rightCap=u.d>=u.dmax,u.leftCap?u.buttonLeft.addClass("tagSlider__button-disabled"):u.buttonLeft.removeClass("tagSlider__button-disabled"),u.rightCap?u.buttonRight.addClass("tagSlider__button-disabled"):u.buttonRight.removeClass("tagSlider__button-disabled")}),this.list=i(n);this.options=function(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(t){o(n,t,e[t])})}return n}({},{initialTag:0,tagClass:"tagSlider__tag",prevArrowContent:"<",nextArrowContent:">",easing:"swing",noWrap:!1,center:!1},e),this.buildStructure(),this.dmax=0,this.d=0,this.l=this.getTagListWidth(),this.s=this.container.outerWidth(),this.scrollbarHeight=function(){var t=document.createElement("div");t.className="scrollbar-measure",t.setAttribute("style"," height: 100px; overflow: scroll; position: absolute; top: -9999px;"),document.body.appendChild(t);var n=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),n}(),this.scene.css("margin-bottom",-this.scrollbarHeight),this.leftCap=!1,this.rightCap=!1,this.items=[],this.tagOffsets=[],this.activeTag=!1,this.buttonLeft.on("click",function(){!u.leftCap&&u.scrollBy(-200)}),this.buttonRight.on("click",function(){console.log("right"),!u.rightCap&&u.scrollBy(200)}),this.scene.scroll(function(){u.d=u.scene.scrollLeft(),u.reenableArrows(),u.list.trigger("tagSliderScroll",[u])}),this.init()},i.fn.tagSlider=function(){for(var t=arguments[0],n=Array.prototype.slice.call(arguments,1),e=0;e<this.length;e++)"object"==r(t)||void 0===t?this[e].tagSlider=new u(i(this[e]),t):"function"==typeof this[e].tagSlider[t]?this[e].tagSlider[t](n):console.warn('tagSlider: no such method "'+t+'"');return this}},function(t,n,e){e(25)("asyncIterator")},function(t,n,e){"use strict";var r=e(0),u=e(2),o=e(6),i=e(14),c=e(16),a=e(46).KEY,s=e(10),f=e(17),l=e(19),p=e(9),d=e(1),h=e(26),v=e(25),y=e(47),g=e(37),b=e(13),m=e(5),S=e(7),x=e(18),O=e(15),w=e(38),_=e(52),T=e(53),j=e(4),P=e(11),C=T.f,L=j.f,E=_.f,M=r.Symbol,A=r.JSON,k=A&&A.stringify,F="prototype",W=d("_hidden"),N=d("toPrimitive"),I={}.propertyIsEnumerable,R=f("symbol-registry"),D=f("symbols"),G=f("op-symbols"),B=Object[F],V="function"==typeof M,H=r.QObject,z=!H||!H[F]||!H[F].findChild,J=o&&s(function(){return 7!=w(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=C(B,n);r&&delete B[n],L(t,n,e),r&&t!==B&&L(B,n,r)}:L,K=function(t){var n=D[t]=w(M[F]);return n._k=t,n},Q=V&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},U=function(t,n,e){return t===B&&U(G,n,e),b(t),n=x(n,!0),b(e),u(D,n)?(e.enumerable?(u(t,W)&&t[W][n]&&(t[W][n]=!1),e=w(e,{enumerable:O(0,!1)})):(u(t,W)||L(t,W,O(1,{})),t[W][n]=!0),J(t,n,e)):L(t,n,e)},Y=function(t,n){b(t);for(var e,r=y(n=S(n)),o=0,i=r.length;o<i;)U(t,e=r[o++],n[e]);return t},q=function(t){var n=I.call(this,t=x(t,!0));return!(this===B&&u(D,t)&&!u(G,t))&&(!(n||!u(this,t)||!u(D,t)||u(this,W)&&this[W][t])||n)},X=function(t,n){if(t=S(t),n=x(n,!0),t!==B||!u(D,n)||u(G,n)){var e=C(t,n);return!e||!u(D,n)||u(t,W)&&t[W][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=E(S(t)),r=[],o=0;e.length>o;)u(D,n=e[o++])||n==W||n==a||r.push(n);return r},$=function(t){for(var n,e=t===B,r=E(e?G:S(t)),o=[],i=0;r.length>i;)!u(D,n=r[i++])||e&&!u(B,n)||o.push(D[n]);return o};V||(c((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var n=p(0<arguments.length?arguments[0]:void 0),e=function(t){this===B&&e.call(G,t),u(this,W)&&u(this[W],n)&&(this[W][n]=!1),J(this,n,O(1,t))};return o&&z&&J(B,n,{configurable:!0,set:e}),K(n)})[F],"toString",function(){return this._k}),T.f=X,j.f=U,e(39).f=_.f=Z,e(22).f=q,e(36).f=$,o&&!e(12)&&c(B,"propertyIsEnumerable",q,!0),h.f=function(t){return K(d(t))}),i(i.G+i.W+i.F*!V,{Symbol:M});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;tt.length>nt;)d(tt[nt++]);for(var et=P(d.store),rt=0;et.length>rt;)v(et[rt++]);i(i.S+i.F*!V,"Symbol",{for:function(t){return u(R,t+="")?R[t]:R[t]=M(t)},keyFor:function(t){if(!Q(t))throw TypeError(t+" is not a symbol!");for(var n in R)if(R[n]===t)return n},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+i.F*!V,"Object",{create:function(t,n){return void 0===n?w(t):Y(w(t),n)},defineProperty:U,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:$}),A&&i(i.S+i.F*(!V||s(function(){var t=M();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(m(n)||void 0!==t)&&!Q(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!Q(n))return n}),r[1]=n,k.apply(A,r)}}),M[F][N]||e(3)(M[F],N,M[F].valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(9)("meta"),o=e(5),i=e(2),u=e(4).f,c=0,a=Object.isExtensible||function(){return!0},s=!e(10)(function(){return a(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!n)return"E";f(t)}return t[r].i},getWeak:function(t,n){if(!i(t,r)){if(!a(t))return!0;if(!n)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&a(t)&&!i(t,r)&&f(t),t}}},function(t,n,e){var c=e(11),a=e(36),s=e(22);t.exports=function(t){var n=c(t),e=a.f;if(e)for(var r,o=e(t),i=s.f,u=0;o.length>u;)i.call(t,r=o[u++])&&n.push(r);return n}},function(t,n,e){var a=e(7),s=e(34),f=e(49);t.exports=function(c){return function(t,n,e){var r,o=a(t),i=s(o.length),u=f(e,i);if(c&&n!=n){for(;u<i;)if((r=o[u++])!=r)return!0}else for(;u<i;u++)if((c||u in o)&&o[u]===n)return c||u||0;return!c&&-1}}},function(t,n,e){var r=e(35),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=r(t))<0?o(t+n,0):i(t,n)}},function(t,n,e){var u=e(4),c=e(13),a=e(11);t.exports=e(6)?Object.defineProperties:function(t,n){c(t);for(var e,r=a(n),o=r.length,i=0;i<o;)u.f(t,e=r[i++],n[e]);return t}},function(t,n,e){var r=e(0).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(7),o=e(39).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,n,e){var r=e(22),o=e(15),i=e(7),u=e(18),c=e(2),a=e(27),s=Object.getOwnPropertyDescriptor;n.f=e(6)?s:function(t,n){if(t=i(t),n=u(n,!0),a)try{return s(t,n)}catch(t){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){for(var r=e(40),o=e(11),i=e(16),u=e(0),c=e(3),a=e(23),s=e(1),f=s("iterator"),l=s("toStringTag"),p=a.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),v=0;v<h.length;v++){var y,g=h[v],b=d[g],m=u[g],S=m&&m.prototype;if(S&&(S[f]||c(S,f,p),S[l]||c(S,l,g),a[g]=p,b))for(y in r)S[y]||i(S,y,r[y],!0)}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){"use strict";var m=e(12),S=e(14),x=e(16),O=e(3),w=e(23),_=e(57),T=e(19),j=e(58),P=e(1)("iterator"),C=!([].keys&&"next"in[].keys()),L="values",E=function(){return this};t.exports=function(t,n,e,r,o,i,u){_(e,n,r);var c,a,s,f=function(t){if(!C&&t in h)return h[t];switch(t){case"keys":case L:return function(){return new e(this,t)}}return function(){return new e(this,t)}},l=n+" Iterator",p=o==L,d=!1,h=t.prototype,v=h[P]||h["@@iterator"]||o&&h[o],y=v||f(o),g=o?p?f("entries"):y:void 0,b="Array"==n&&h.entries||v;if(b&&(s=j(b.call(new t)))!==Object.prototype&&s.next&&(T(s,l,!0),m||"function"==typeof s[P]||O(s,P,E)),p&&v&&v.name!==L&&(d=!0,y=function(){return v.call(this)}),m&&!u||!C&&!d&&h[P]||O(h,P,y),w[n]=y,w[l]=E,o)if(c={values:p?y:f(L),keys:i?y:f("keys"),entries:g},u)for(a in c)a in h||x(h,a,c[a]);else S(S.P+S.F*(C||d),n,c);return c}},function(t,n,e){"use strict";var r=e(38),o=e(15),i=e(19),u={};e(3)(u,e(1)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(2),o=e(24),i=e(20)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(24),o=e(11);e(60)("keys",function(){return function(t){return o(r(t))}})},function(t,n,e){var o=e(14),i=e(8),u=e(10);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],r={};r[t]=n(e),o(o.S+o.F*u(function(){e(1)}),"Object",r)}},function(t,n,e){"use strict";var r=e(14),o=e(62)(5),i="find",u=!0;i in[]&&Array(1)[i](function(){u=!1}),r(r.P+r.F*u,"Array",{find:function(t){return o(this,t,1<arguments.length?arguments[1]:void 0)}}),e(41)(i)},function(t,n,e){var m=e(29),S=e(31),x=e(24),O=e(34),r=e(63);t.exports=function(l,t){var p=1==l,d=2==l,h=3==l,v=4==l,y=6==l,g=5==l||y,b=t||r;return function(t,n,e){for(var r,o,i=x(t),u=S(i),c=m(n,e,3),a=O(u.length),s=0,f=p?b(t,a):d?b(t,0):void 0;s<a;s++)if((g||s in u)&&(o=c(r=u[s],s,i),l))if(p)f[s]=o;else if(o)switch(l){case 3:return!0;case 5:return r;case 6:return s;case 2:f.push(r)}else if(v)return!1;return y?-1:h||v?v:f}}},function(t,n,e){var r=e(64);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){var r=e(5),o=e(37),i=e(1)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}}]);