From 5b0041802722af14edd2422f52be3088f645ace9 Mon Sep 17 00:00:00 2001 From: Darren Jennings Date: Tue, 10 Sep 2019 21:55:58 -0400 Subject: [PATCH] chore(release) 2.0.3 --- CHANGELOG.md | 4 ++++ docs/build/app.js | 2 +- docs/storybook/iframe.html | 2 +- ...7415f.bundle.js => preview.93a669af0c0c5be3c637.bundle.js} | 2 +- package.json | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) rename docs/storybook/static/{preview.3dd236c9d05e9c47415f.bundle.js => preview.93a669af0c0c5be3c637.bundle.js} (87%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 516d27d..2cd76af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Abridged versions of releases. See [release notes](https://github.com/Educents/vue-autosuggest/releases) for more details. +* [2.0.3](https://github.com/darrenjennings/vue-autosuggest/releases/tag/v2.0.3) Bugfix + * Fixes #142 +* [2.0.2](https://github.com/darrenjennings/vue-autosuggest/releases/tag/v2.0.2) Bugfixes + * Fixes #136, Fixes #135, Fixes #129 * [2.0.1](https://github.com/darrenjennings/vue-autosuggest/releases/tag/v2.0.1) Bugfix * Fixes #129 where in some cases, re-renders would cause the default autocomplete="off" to be unset. * [2.0.0](https://github.com/darrenjennings/vue-autosuggest/releases/tag/v2.0.0) :sparkles: Major Release diff --git a/docs/build/app.js b/docs/build/app.js index cb2ff93..3bc0819 100644 --- a/docs/build/app.js +++ b/docs/build/app.js @@ -1,4 +1,4 @@ -!function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/build/",i(i.s=61)}([function(t,e,i){var r=i(36)("wks"),n=i(16),a=i(2).Symbol,o="function"==typeof a;(t.exports=function(t){return r[t]||(r[t]=o&&a[t]||(o?a:n)("Symbol."+t))}).store=r},function(t,e,i){var r=i(10),n=i(44),a=i(26),o=Object.defineProperty;e.f=i(5)?Object.defineProperty:function(t,e,i){if(r(t),e=a(e,!0),r(i),n)try{return o(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){var i=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=i)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){t.exports=!i(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,i){var r=i(2),n=i(3),a=i(11),o=i(7),l=function(t,e,i){var c,s,u,m=t&l.F,f=t&l.G,p=t&l.S,d=t&l.P,h=t&l.B,w=t&l.W,k=f?n:n[e]||(n[e]={}),v=k.prototype,g=f?r:p?r[e]:(r[e]||{}).prototype;for(c in f&&(i=e),i)(s=!m&&g&&void 0!==g[c])&&c in k||(u=s?g[c]:i[c],k[c]=f&&"function"!=typeof g[c]?i[c]:h&&s?a(u,r):w&&g[c]==u?function(t){var e=function(e,i,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(u):d&&"function"==typeof u?a(Function.call,u):u,d&&((k.virtual||(k.virtual={}))[c]=u,t&l.R&&v&&!v[c]&&o(v,c,u)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,i){var r=i(1),n=i(13);t.exports=i(5)?function(t,e,i){return r.f(t,e,n(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var r=i(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,i){var r=i(46);t.exports=function(t,e,i){if(r(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,r){return t.call(e,i,r)};case 3:return function(i,r,n){return t.call(e,i,r,n)}}return function(){return t.apply(e,arguments)}}},function(t,e,i){var r=i(33),n=i(29);t.exports=function(t){return r(n(t))}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,i){var r=i(16)("meta"),n=i(4),a=i(8),o=i(1).f,l=0,c=Object.isExtensible||function(){return!0},s=!i(9)(function(){return c(Object.preventExtensions({}))}),u=function(t){o(t,r,{value:{i:"O"+ ++l,w:{}}})},m=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!c(t))return"F";if(!e)return"E";u(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!c(t))return!0;if(!e)return!1;u(t)}return t[r].w},onFreeze:function(t){return s&&m.NEED&&c(t)&&!a(t,r)&&u(t),t}}},function(t,e){var i=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+r).toString(36))}},function(t,e,i){var r=i(49),n=i(37);t.exports=Object.keys||function(t){return r(t,n)}},function(t,e,i){var r=i(28),n=Math.min;t.exports=function(t){return t>0?n(r(t),9007199254740991):0}},function(t,e,i){var r=i(1).f,n=i(8),a=i(0)("toStringTag");t.exports=function(t,e,i){t&&!n(t=i?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},function(t,e,i){var r=i(29);t.exports=function(t){return Object(r(t))}},function(t,e,i){var r=i(11),n=i(54),a=i(55),o=i(10),l=i(18),c=i(56),s={},u={};(e=t.exports=function(t,e,i,m,f){var p,d,h,w,k=f?function(){return t}:c(t),v=r(i,m,e?2:1),g=0;if("function"!=typeof k)throw TypeError(t+" is not iterable!");if(a(k)){for(p=l(t.length);p>g;g++)if((w=e?v(o(d=t[g])[0],d[1]):v(t[g]))===s||w===u)return w}else for(h=k.call(t);!(d=h.next()).done;)if((w=n(h,v,d.value,e))===s||w===u)return w}).BREAK=s,e.RETURN=u},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,i){var r,n,a;n=[e,i(70),i(74),i(99),i(105),i(124)],void 0===(a="function"==typeof(r=function(t,e,i,r,n,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=m(e),l=m(i),c=m(r),s=m(n),u=m(a);function m(t){return t&&t.__esModule?t:{default:t}}function f(t){for(var e in t)document.body.style.setProperty("--theme-"+e,t[e])}var p={bg:"#21222C",header:"#8F73BD",item_color_highlighted:"#80D4E7",item_bg_highlighted:"#363948"},d=[].concat((0,c.default)(new l.default(u.default.map(function(t){return t.Race}))));t.default={components:{VueAutosuggest:s.default},mounted:function(){f(p)},data:function(){return{selected:"",searchText:"",colorMode:"dark",options:d.map(function(t){return{label:t,name:t,data:u.default.filter(function(e){return e.Race===t})}}),sectionConfigs:{default:{limit:4},hobbits:{limit:6}},inputProps:{id:"autosuggest__input",placeholder:"Search"}}},computed:{filteredOptions:function(){var t=this,e=[];return this.searchText?(d.forEach(function(i){var r=t.options.filter(function(t){return t.name===i})[0].data.filter(function(e){return e.Name.toLowerCase().indexOf(t.searchText.toLowerCase())>-1});r.length>0&&e.push({label:i,data:r})}),(0,o.default)(e)):[]}},methods:{toggleDark:function(){this.colorMode="dark"===this.colorMode?"light":"dark","dark"===this.colorMode?f({bg:"#21222C",color:"white",header:"#8F73BD",item_color_highlighted:"#80D4E7",item_bg_highlighted:"#363948"}):f({bg:"white",header:"black",color:"#21222C",item_color_highlighted:"black",item_bg_highlighted:"#e0e0e0"})},getSuggestionValue:function(t){return t.item.Name},onSelected:function(t){t&&(this.selected=t.item)}}}})?r.apply(e,n):r)||(t.exports=a)},function(t,e,i){var r,n,a;n=[e,i(106),i(111),i(122),i(123)],void 0===(a="function"==typeof(r=function(t,e,i,r,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(e),o=c(i),l=c(r);function c(t){return t&&t.__esModule?t:{default:t}}var s={name:"default",type:"default-section"};t.default={name:"Autosuggest",components:{DefaultSection:l.default},props:{value:{type:String,default:null},inputProps:{type:Object,required:!0},limit:{type:Number,required:!1,default:1/0},suggestions:{type:Array,required:!0},renderSuggestion:{type:Function,required:!1,default:null},getSuggestionValue:{type:Function,required:!1,default:function(t){var e=t.item;return"object"===(void 0===e?"undefined":(0,o.default)(e))&&e.hasOwnProperty("name")?e.name:e}},shouldRenderSuggestions:{type:Function,required:!1,default:function(t,e){return t>0&&!e}},sectionConfigs:{type:Object,required:!1,default:function(){return{default:{onSelected:null}}}},onSelected:{type:Function,required:!1,default:null},componentAttrIdAutosuggest:{type:String,required:!1,default:"autosuggest"},componentAttrClassAutosuggestResultsContainer:{type:String,required:!1,default:"autosuggest__results-container"},componentAttrClassAutosuggestResults:{type:String,required:!1,default:"autosuggest__results"}},data:function(){return{internalValue:null,searchInputOriginal:null,currentIndex:null,currentItem:null,loading:!1,didSelectFromOptions:!1,internal_inputProps:{},defaultInputProps:{type:"text",autocomplete:"off"},clientXMouseDownInitial:null}},computed:{listeners:function(){var t=this;return(0,a.default)({},this.$listeners,{input:function(t){},click:function(){t.loading=!1,t.$listeners.click&&t.$listeners.click(t.currentItem),t.ensureItemVisible(t.currentItem,t.currentIndex)},selected:function(){t.currentItem&&t.sectionConfigs[t.currentItem.name]&&t.sectionConfigs[t.currentItem.name].onSelected?t.sectionConfigs[t.currentItem.name].onSelected(t.currentItem,t.searchInputOriginal):t.sectionConfigs.default.onSelected?t.sectionConfigs.default.onSelected(null,t.searchInputOriginal):t.$listeners.selected&&t.$emit("selected",t.currentItem),t.setChangeItem(null)}})},isOpen:function(){return this.shouldRenderSuggestions(this.totalResults,this.loading)},computedSections:function(){var t=this,e=0;return this.suggestions.map(function(i){if(i.data){var r=i.name?i.name:s.name,n=void 0,a=void 0,o=null;t.sectionConfigs[r]&&(n=t.sectionConfigs[r].limit,o=t.sectionConfigs[r].type,a=t.sectionConfigs[r].label),o=o||s.type,n=(n=n||t.limit)||1/0,n=i.data.length=i?i:r.length)},0)}},watch:{value:{handler:function(t){this.internalValue=t},immediate:!0}},created:function(){this.internal_inputProps=(0,a.default)({},this.defaultInputProps,this.inputProps),this.loading=!0},mounted:function(){document.addEventListener("mouseup",this.onDocumentMouseUp),document.addEventListener("mousedown",this.onDocumentMouseDown)},beforeDestroy:function(){document.removeEventListener("mouseup",this.onDocumentMouseUp),document.removeEventListener("mousedown",this.onDocumentMouseDown)},methods:{inputHandler:function(t){var e=t.target.value;this.$emit("input",e),this.internalValue=e,this.didSelectFromOptions||(this.searchInputOriginal=e,this.currentIndex=null)},getSectionRef:function(t){return"computed_section_"+t},getItemByIndex:function(t){var e=!1;if(null===t)return e;for(var i=0;i=this.computedSections[i].start_index&&t<=this.computedSections[i].end_index){var r=t-this.computedSections[i].start_index,n=this.$refs["computed_section_"+i][0];if(n){e=this.normalizeItem(this.computedSections[i].name,this.computedSections[i].type,n.section.label,n.getItemByIndex(r));break}}return e},handleKeyStroke:function(t){var e=t.keyCode;if(!([16,9,18,91,93].indexOf(e)>-1))switch(this.loading=!1,this.didSelectFromOptions=!1,e){case 40:case 38:if(t.preventDefault(),this.isOpen){if(38===e&&null===this.currentIndex)break;var i=40===e?1:-1,r=parseInt(this.currentIndex)+i;this.setCurrentIndex(r,this.totalResults),this.didSelectFromOptions=!0,this.totalResults>0&&this.currentIndex>=0?(this.setChangeItem(this.getItemByIndex(this.currentIndex)),this.didSelectFromOptions=!0):-1==this.currentIndex&&(this.currentIndex=null,this.internalValue=this.searchInputOriginal,t.preventDefault())}break;case 13:t.preventDefault(),this.totalResults>0&&this.currentIndex>=0&&(this.setChangeItem(this.getItemByIndex(this.currentIndex),!0),this.didSelectFromOptions=!0),this.loading=!0,this.listeners.selected(this.didSelectFromOptions);break;case 27:this.isOpen&&(this.loading=!0,this.currentIndex=null,this.internalValue=this.searchInputOriginal,this.$emit("input",this.searchInputOriginal),t.preventDefault())}},setChangeItem:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!==this.currentIndex&&t){if(t){this.currentItem=t;var i=this.getSuggestionValue(t);this.internalValue=i,e&&(this.searchInputOriginal=i),this.ensureItemVisible(t,this.currentIndex)}}else this.currentItem=null},normalizeItem:function(t,e,i,r){return{name:t,type:e,label:i,item:r}},ensureItemVisible:function(t,e){var i=this.$el.querySelector("."+this.componentAttrClassAutosuggestResults);if(t&&(e||0===e)&&i){var r=this.$el.querySelector("#autosuggest__results-item--"+e);if(r){var n=i.clientHeight,a=i.scrollTop,o=r.clientHeight,l=r.offsetTop;o+l>=a+n?i.scrollTop=o+l-n:l0&&(i.scrollTop=l)}}},updateCurrentIndex:function(t){this.setCurrentIndex(t,-1,!0)},clickedOnScrollbar:function(t,e){var i=this.$el.querySelector("."+this.componentAttrClassAutosuggestResults),r=i&&i.clientWidth<=e+17&&e+17<=i.clientWidth+34;return"DIV"===t.target.tagName&&i&&r||!1},onDocumentMouseDown:function(t){var e=t.target.getBoundingClientRect?t.target.getBoundingClientRect():0;this.clientXMouseDownInitial=t.clientX-e.left},onDocumentMouseUp:function(t){var e=this.$el.contains(t.target);if(!e)return this.loading=!0,void(this.currentIndex=null);"INPUT"===t.target.tagName||this.clickedOnScrollbar(t,this.clientXMouseDownInitial)||(this.loading=!0,this.didSelectFromOptions=!0,this.setChangeItem(this.getItemByIndex(this.currentIndex),!0),this.listeners.selected(!0))},setCurrentIndex:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t;if(!i){var a=null===this.currentIndex,o=t>=e;(a||o)&&(r=0)}this.currentIndex=r;var l=this.$el.querySelector("#autosuggest__results-item--"+this.currentIndex),c="autosuggest__results-item--highlighted";this.$el.querySelector("."+c)&&(0,n.removeClass)(this.$el.querySelector("."+c),c),l&&(0,n.addClass)(l,c)}}}})?r.apply(e,n):r)||(t.exports=a)},function(t,e,i){"use strict";function r(t,e,i,r,n,a,o,l){var c=typeof(t=t||{}).default;"object"!==c&&"function"!==c||(t=t.default);var s,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId=a),o?(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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=s):n&&(s=l?function(){n.call(this,this.$root.$options.shadowRoot)}:n),s)if(u.functional){u._injectStyles=s;var m=u.render;u.render=function(t,e){return s.call(e),m(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:u}}i.d(e,"a",function(){return r})},function(t,e,i){var r=i(4);t.exports=function(t,e){if(!r(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!r(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!r(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!r(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},function(t,e,i){"use strict";var r=i(76)(!0);i(30)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=r(e,i),this._i+=t.length,{value:t,done:!1})})},function(t,e){var i=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:i)(t)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,i){"use strict";var r=i(31),n=i(6),a=i(48),o=i(7),l=i(8),c=i(14),s=i(77),u=i(19),m=i(82),f=i(0)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,i,h,w,k,v){s(i,e,h);var g,b,y,_=function(t){if(!p&&t in H)return H[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},N=e+" Iterator",R="values"==w,U=!1,H=t.prototype,A=H[f]||H["@@iterator"]||w&&H[w],C=!p&&A||_(w),B=w?R?_("entries"):C:void 0,x="Array"==e&&H.entries||A;if(x&&(y=m(x.call(new t)))!==Object.prototype&&y.next&&(u(y,N,!0),r||l(y,f)||o(y,f,d)),R&&A&&"values"!==A.name&&(U=!0,C=function(){return A.call(this)}),r&&!v||!p&&!U&&H[f]||o(H,f,C),c[e]=C,c[N]=d,w)if(g={values:R?C:_("values"),keys:k?C:_("keys"),entries:B},v)for(b in g)b in H||a(H,b,g[b]);else n(n.P+n.F*(p||U),e,g);return g}},function(t,e){t.exports=!0},function(t,e,i){var r=i(10),n=i(78),a=i(37),o=i(35)("IE_PROTO"),l=function(){},c=function(){var t,e=i(45)("iframe"),r=a.length;for(e.style.display="none",i(81).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(" + \ No newline at end of file diff --git a/docs/storybook/static/preview.3dd236c9d05e9c47415f.bundle.js b/docs/storybook/static/preview.93a669af0c0c5be3c637.bundle.js similarity index 87% rename from docs/storybook/static/preview.3dd236c9d05e9c47415f.bundle.js rename to docs/storybook/static/preview.93a669af0c0c5be3c637.bundle.js index af965ad..0d0241b 100644 --- a/docs/storybook/static/preview.3dd236c9d05e9c47415f.bundle.js +++ b/docs/storybook/static/preview.93a669af0c0c5be3c637.bundle.js @@ -1 +1 @@ -!function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}var installedModules={};__webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=564)}([,function(module,exports){var core=module.exports={version:"2.5.3"};"number"==typeof __e&&(__e=core)},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0,exports.default=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _assign=__webpack_require__(52),_assign2=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(_assign);exports.default=_assign2.default||function(target){for(var i=1;i2?arguments[2]:{},props=keys(map);hasSymbols&&(props=props.concat(Object.getOwnPropertySymbols(map))),foreach(props,function(name){defineProperty(object,name,map[name],predicates[name])})};defineProperties.supportsDescriptors=!!supportsDescriptors,module.exports=defineProperties},function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__(269);module.exports=Function.prototype.bind||implementation},function(module,exports,__webpack_require__){var global=__webpack_require__(10),core=__webpack_require__(1),ctx=__webpack_require__(23),hide=__webpack_require__(26),$export=function(type,name,source){var key,own,out,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_STATIC=type&$export.S,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,IS_WRAP=type&$export.W,exports=IS_GLOBAL?core:core[name]||(core[name]={}),expProto=exports.prototype,target=IS_GLOBAL?global:IS_STATIC?global[name]:(global[name]||{}).prototype;IS_GLOBAL&&(source=name);for(key in source)(own=!IS_FORCED&&target&&void 0!==target[key])&&key in exports||(out=own?target[key]:source[key],exports[key]=IS_GLOBAL&&"function"!=typeof target[key]?source[key]:IS_BIND&&own?ctx(out,global):IS_WRAP&&target[key]==out?function(C){var F=function(a,b,c){if(this instanceof C){switch(arguments.length){case 0:return new C;case 1:return new C(a);case 2:return new C(a,b)}return new C(a,b,c)}return C.apply(this,arguments)};return F.prototype=C.prototype,F}(out):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out,IS_PROTO&&((exports.virtual||(exports.virtual={}))[key]=out,type&$export.R&&expProto&&!expProto[key]&&hide(expProto,key,out)))};$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,module.exports=$export},,function(module,exports,__webpack_require__){var bind=__webpack_require__(6);module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty)},function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports,__webpack_require__){var store=__webpack_require__(110)("wks"),uid=__webpack_require__(72),Symbol=__webpack_require__(10).Symbol,USE_SYMBOL="function"==typeof Symbol;(module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))}).store=store},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _typeof2=__webpack_require__(22),_typeof3=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(_typeof2);exports.default=function(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==(void 0===call?"undefined":(0,_typeof3.default)(call))&&"function"!=typeof call?self:call}},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.__esModule=!0;var _setPrototypeOf=__webpack_require__(424),_setPrototypeOf2=_interopRequireDefault(_setPrototypeOf),_create=__webpack_require__(428),_create2=_interopRequireDefault(_create),_typeof2=__webpack_require__(22),_typeof3=_interopRequireDefault(_typeof2);exports.default=function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+(void 0===superClass?"undefined":(0,_typeof3.default)(superClass)));subClass.prototype=(0,_create2.default)(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(_setPrototypeOf2.default?(0,_setPrototypeOf2.default)(subClass,superClass):subClass.__proto__=superClass)}},function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(422),__esModule:!0}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(14);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(16),IE8_DOM_DEFINE=__webpack_require__(186),toPrimitive=__webpack_require__(105),dP=Object.defineProperty;exports.f=__webpack_require__(19)?Object.defineProperty:function(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports){var g;g=function(){return this}();try{g=g||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(g=window)}module.exports=g},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(27)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _defineProperty=__webpack_require__(113),_defineProperty2=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(_defineProperty);exports.default=function(obj,key,value){return key in obj?(0,_defineProperty2.default)(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}},function(module,exports,__webpack_require__){"use strict";var fnToStr=Function.prototype.toString,constructorRegex=/^\s*class /,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value),singleStripped=fnStr.replace(/\/\/.*\n/g,""),multiStripped=singleStripped.replace(/\/\*[.\s\S]*\*\//g,""),spaceStripped=multiStripped.replace(/\n/gm," ").replace(/ {2}/g," ");return constructorRegex.test(spaceStripped)}catch(e){return!1}},tryFunctionObject=function(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function(value){if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return"[object Function]"===strClass||"[object GeneratorFunction]"===strClass}},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.__esModule=!0;var _iterator=__webpack_require__(391),_iterator2=_interopRequireDefault(_iterator),_symbol=__webpack_require__(200),_symbol2=_interopRequireDefault(_symbol),_typeof="function"==typeof _symbol2.default&&"symbol"==typeof _iterator2.default?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof _symbol2.default&&obj.constructor===_symbol2.default&&obj!==_symbol2.default.prototype?"symbol":typeof obj};exports.default="function"==typeof _symbol2.default&&"symbol"===_typeof(_iterator2.default)?function(obj){return void 0===obj?"undefined":_typeof(obj)}:function(obj){return obj&&"function"==typeof _symbol2.default&&obj.constructor===_symbol2.default&&obj!==_symbol2.default.prototype?"symbol":void 0===obj?"undefined":_typeof(obj)}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(53);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports,__webpack_require__){var store=__webpack_require__(91)("wks"),uid=__webpack_require__(51),Symbol=__webpack_require__(24).Symbol,USE_SYMBOL="function"==typeof Symbol;(module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))}).store=store},function(module,exports,__webpack_require__){var dP=__webpack_require__(17),createDesc=__webpack_require__(54);module.exports=__webpack_require__(19)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports,__webpack_require__){var IObject=__webpack_require__(106),defined=__webpack_require__(107);module.exports=function(it){return IObject(defined(it))}},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__TemplateTag__=__webpack_require__(594);__webpack_require__.d(__webpack_exports__,"a",function(){return __WEBPACK_IMPORTED_MODULE_0__TemplateTag__.a})},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__trimResultTransformer__=__webpack_require__(595);__webpack_require__.d(__webpack_exports__,"a",function(){return __WEBPACK_IMPORTED_MODULE_0__trimResultTransformer__.a})},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(64)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports){var core=module.exports={version:"2.5.7"};"number"==typeof __e&&(__e=core)},function(module,exports,__webpack_require__){var dP=__webpack_require__(36),createDesc=__webpack_require__(66);module.exports=__webpack_require__(33)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(65),IE8_DOM_DEFINE=__webpack_require__(137),toPrimitive=__webpack_require__(90),dP=Object.defineProperty;exports.f=__webpack_require__(33)?Object.defineProperty:function(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports,__webpack_require__){var IObject=__webpack_require__(238),defined=__webpack_require__(141);module.exports=function(it){return IObject(defined(it))}},function(module,exports,__webpack_require__){"use strict";var hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,isPrimitive=__webpack_require__(149),isCallable=__webpack_require__(21),isDate=__webpack_require__(275),isSymbol=__webpack_require__(276),ordinaryToPrimitive=function(O,hint){if(void 0===O||null===O)throw new TypeError("Cannot call method on "+O);if("string"!=typeof hint||"number"!==hint&&"string"!==hint)throw new TypeError('hint must be "string" or "number"');var method,result,i,methodNames="string"===hint?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1&&(PreferredType===String?hint="string":PreferredType===Number&&(hint="number"));var exoticToPrim;if(hasSymbols&&(Symbol.toPrimitive?exoticToPrim=GetMethod(input,Symbol.toPrimitive):isSymbol(input)&&(exoticToPrim=Symbol.prototype.valueOf)),void 0!==exoticToPrim){var result=exoticToPrim.call(input,hint);if(isPrimitive(result))return result;throw new TypeError("unable to convert exotic object to primitive")}return"default"===hint&&(isDate(input)||isSymbol(input))&&(hint="string"),ordinaryToPrimitive(input,"default"===hint?"number":hint)}},function(module,exports,__webpack_require__){"use strict";var toStr=Object.prototype.toString,isPrimitive=__webpack_require__(149),isCallable=__webpack_require__(21),ES5internalSlots={"[[DefaultValue]]":function(O,hint){var actualHint=hint||("[object Date]"===toStr.call(O)?String:Number);if(actualHint===String||actualHint===Number){var value,i,methods=actualHint===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i=O.length?{value:void 0,done:!0}:(point=$at(O,index),this._i+=point.length,{value:point,done:!1})})},function(module,exports,__webpack_require__){__webpack_require__(367);for(var global=__webpack_require__(10),hide=__webpack_require__(26),Iterators=__webpack_require__(45),TO_STRING_TAG=__webpack_require__(11)("toStringTag"),DOMIterables="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(","),i=0;iindex;index++)if((result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]))===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;)if((result=call(iterator,f,step.value,entries))===BREAK||result===RETURN)return result};exports.BREAK=BREAK,exports.RETURN=RETURN},function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _from=__webpack_require__(216),_from2=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(_from);exports.default=function(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i0?min(toInteger(it),9007199254740991):0}},function(module,exports){var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports){module.exports=!0},function(module,exports,__webpack_require__){(function(global){var win;win="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},module.exports=win}).call(exports,__webpack_require__(18))},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__stripIndentTransformer__=__webpack_require__(596);__webpack_require__.d(__webpack_exports__,"a",function(){return __WEBPACK_IMPORTED_MODULE_0__stripIndentTransformer__.a})},,,,,,function(module,exports,__webpack_require__){var $export=__webpack_require__(7),core=__webpack_require__(1),fails=__webpack_require__(27);module.exports=function(KEY,exec){var fn=(core.Object||{})[KEY]||Object[KEY],exp={};exp[KEY]=exec(fn),$export($export.S+$export.F*fails(function(){fn(1)}),"Object",exp)}},function(module,exports){},function(module,exports,__webpack_require__){var anObject=__webpack_require__(16),dPs=__webpack_require__(213),enumBugKeys=__webpack_require__(111),IE_PROTO=__webpack_require__(109)("IE_PROTO"),Empty=function(){},createDict=function(){var iframeDocument,iframe=__webpack_require__(104)("iframe"),i=enumBugKeys.length;for(iframe.style.display="none",__webpack_require__(189).appendChild(iframe),iframe.src="javascript:",iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write("