├── .gitignore
├── README.md
├── babel.config.js
├── dist
├── demo.html
├── vue-select.common.js
├── vue-select.common.js.map
├── vue-select.css
├── vue-select.umd.js
├── vue-select.umd.js.map
├── vue-select.umd.min.js
└── vue-select.umd.min.js.map
├── package-lock.json
├── package.json
├── public
├── dist
│ └── repositories.json
├── favicon.ico
├── index.html
└── vue-select.png
├── src
├── App.vue
├── main.js
└── plugins
│ └── select
│ ├── components
│ ├── layout.vue
│ ├── option.vue
│ ├── select.vue
│ └── selected.vue
│ ├── index.js
│ └── utils.js
└── vue.config.js
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 |
4 | # local env files
5 | .env.local
6 | .env.*.local
7 |
8 | # Log files
9 | npm-debug.log*
10 | yarn-debug.log*
11 | yarn-error.log*
12 |
13 | # Editor directories and files
14 | .idea
15 | .vscode
16 | *.suo
17 | *.ntvs*
18 | *.njsproj
19 | *.sln
20 | *.sw*
21 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # @desislavsd/vue-select
2 | 
3 |
4 |     
5 |
6 | Lightweight and mighty select component like [Chosen](https://harvesthq.github.io/chosen/) and [Select 2](https://select2.org/) done the Vue way.
7 |
8 | ### [Demos](https://jsfiddle.net/desislavsd/es2n6py0/) & [Docs](https://desislavsd.gitbook.io/vue-select/)
9 |
10 |
11 | ## License
12 |
13 | MIT License
14 |
15 | Copyright (c) 2017
16 |
17 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
18 |
19 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
20 |
21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: [
3 | '@vue/app'
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/dist/demo.html:
--------------------------------------------------------------------------------
1 |
2 |
vue-select demo
3 |
4 |
5 |
6 |
7 |
8 |
11 |
--------------------------------------------------------------------------------
/dist/vue-select.css:
--------------------------------------------------------------------------------
1 | .v-select{--c-base:#fff;--c-theme:#f0f0f0;--c-border:#ccc;--radius:0.2em;--padd:3px;--height:3em;font-size:12px}.v-select,.v-select *,.v-select :after,.v-select :before{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0}.v-select{position:relative;outline:none;padding:var(--padd);border:1px solid var(--c-border);border-radius:var(--radius);background:var(--c-base)}.v-select button,.v-select input{font:inherit;text-align:left}.v-select .v-select-option{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.3em .5em;cursor:pointer}.v-select .v-select-option.-marked{background:rgba(0,0,0,.05)}.v-select .v-select-option:hover{background:rgba(0,0,0,.03)}.v-select .v-select-option.-selected{opacity:.5}.v-select .v-select-selected{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;overflow:hidden;text-overflow:ellipsis}.v-select.-multiple .v-select-selected{background:var(--c-theme);border-color:rgba(0,0,0,.1);position:static}.v-select.-searching:not(.-multiple) .v-select-selected{opacity:0}.v-select:not(.-multiple):not(.-searching).-focused .v-select-selected,.v-select:not(.-multiple):not(.-searching).-opened .v-select-selected{opacity:.6}.v-select .v-select-selected{margin-right:var(--padd);margin-bottom:var(--padd)}.v-select .v-select-selected:first-of-type{border-radius:var(--radius) 0 0 var(--radius)}.v-select .v-select-bar{position:relative;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;white-space:nowrap;margin-bottom:calc(0px - var(--padd))}.v-select .v-select-inp-group{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:var(--padd);-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:10em}.v-select:not(.-opened) .v-select-list{visibility:hidden}.v-select .v-select-inp{-webkit-box-flex:1;-ms-flex:1;flex:1;border:none;background:none;padding:0 .5em;outline:none;position:relative;z-index:1;min-width:0}.v-select .v-select-inp[readonly]{cursor:default}.v-select .v-select-inp,.v-select [class*=v-select-btn]{min-height:calc(var(--height) - var(--padd)*2 - 2px)}.v-select [class*=v-select-btn]{padding:.2em .5em;background:transparent;border:1px solid transparent;cursor:pointer;outline:none;line-height:1em}.v-select:not(.-loading) .v-select-btn-spinner{display:none}.v-select .v-select-btn-spinner:before{content:"";border:2px solid var(--c-theme);border-left-color:var(--c-border);border-radius:100%;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:vSelectSpinner .4s linear infinite;animation:vSelectSpinner .4s linear infinite;-webkit-transition:opacity .1s;transition:opacity .1s;width:1em;height:1em;display:block}.v-select .v-select-btn-clear:before{content:"\2716";font-size:.8em}.v-select .v-select-btn-clear:not(:hover){opacity:.6}.v-select .v-select-btn-dd:before{content:"";display:block;border:solid transparent;border-top-color:#000;border-width:.5em .3em 0;opacity:.8;margin:0 .2em}.v-select.-empty .v-select-btn-clear{display:none}.v-select.-opened .v-select-btn-dd{opacity:.6}.v-select.-loading .v-select-btn-dd{display:none}.v-select .v-select-list{list-style:none;z-index:4;position:absolute;left:-1px;right:-1px;padding:0;max-height:200px;overflow:hidden;overflow-y:auto;border:inherit;padding:inherit;padding-top:0;padding-bottom:0;background:inherit;-webkit-box-shadow:inherit;box-shadow:inherit}.v-select .v-select-list>:last-child{margin-bottom:var(--padd)}.v-select:not(.-top).-opened{-webkit-box-shadow:0 3px 3px -1px rgba(0,0,0,.16);box-shadow:0 3px 3px -1px rgba(0,0,0,.16);border-radius:var(--radius) var(--radius) 0 0}.v-select:not(.-top) .v-select-list{top:100%;margin-top:-1px;border-top-color:transparent;border-radius:0 0 var(--radius) var(--radius);padding-top:0}.v-select.-top.-opened{-webkit-box-shadow:0 -3px 3px -1px rgba(0,0,0,.16);box-shadow:0 -3px 3px -1px rgba(0,0,0,.16);border-radius:0 0 var(--radius) var(--radius)}.v-select.-top .v-select-list{bottom:100%;margin-bottom:-1px;border-bottom-color:transparent;border-radius:var(--radius) var(--radius) 0 0;padding-bottom:0}@-webkit-keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}
--------------------------------------------------------------------------------
/dist/vue-select.umd.min.js:
--------------------------------------------------------------------------------
1 | (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-select"]=e():t["vue-select"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));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="fb15")}({"014b":function(t,e,n){"use strict";var r=n("e53d"),i=n("07e3"),o=n("8e60"),c=n("63b6"),u=n("9138"),a=n("ebfd").KEY,s=n("294c"),f=n("dbdb"),l=n("45f2"),p=n("62a0"),h=n("5168"),v=n("ccb9"),d=n("6718"),y=n("47ee"),b=n("9003"),g=n("e4ae"),m=n("f772"),x=n("241e"),w=n("36c3"),_=n("1bc3"),S=n("aebd"),O=n("a159"),k=n("0395"),j=n("bf0b"),E=n("9aa9"),P=n("d9f6"),A=n("c3a1"),L=j.f,T=P.f,M=k.f,C=r.Symbol,F=r.JSON,I=F&&F.stringify,R="prototype",N=h("_hidden"),q=h("toPrimitive"),D={}.propertyIsEnumerable,$=f("symbol-registry"),G=f("symbols"),V=f("op-symbols"),B=Object[R],U="function"==typeof C&&!!E.f,K=r.QObject,H=!K||!K[R]||!K[R].findChild,W=o&&s((function(){return 7!=O(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=L(B,e);r&&delete B[e],T(t,e,n),r&&t!==B&&T(B,e,r)}:T,J=function(t){var e=G[t]=O(C[R]);return e._k=t,e},Y=U&&"symbol"==typeof C.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof C},z=function(t,e,n){return t===B&&z(V,e,n),g(t),e=_(e,!0),g(n),i(G,e)?(n.enumerable?(i(t,N)&&t[N][e]&&(t[N][e]=!1),n=O(n,{enumerable:S(0,!1)})):(i(t,N)||T(t,N,S(1,{})),t[N][e]=!0),W(t,e,n)):T(t,e,n)},X=function(t,e){g(t);var n,r=y(e=w(e)),i=0,o=r.length;while(o>i)z(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?O(t):X(O(t),e)},Z=function(t){var e=D.call(this,t=_(t,!0));return!(this===B&&i(G,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(G,t)||i(this,N)&&this[N][t])||e)},tt=function(t,e){if(t=w(t),e=_(e,!0),t!==B||!i(G,e)||i(V,e)){var n=L(t,e);return!n||!i(G,e)||i(t,N)&&t[N][e]||(n.enumerable=!0),n}},et=function(t){var e,n=M(w(t)),r=[],o=0;while(n.length>o)i(G,e=n[o++])||e==N||e==a||r.push(e);return r},nt=function(t){var e,n=t===B,r=M(n?V:w(t)),o=[],c=0;while(r.length>c)!i(G,e=r[c++])||n&&!i(B,e)||o.push(G[e]);return o};U||(C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(V,n),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),W(this,t,S(1,n))};return o&&H&&W(B,t,{configurable:!0,set:e}),J(t)},u(C[R],"toString",(function(){return this._k})),j.f=tt,P.f=z,n("6abf").f=k.f=et,n("355d").f=Z,E.f=nt,o&&!n("b8e3")&&u(B,"propertyIsEnumerable",Z,!0),v.f=function(t){return J(h(t))}),c(c.G+c.W+c.F*!U,{Symbol:C});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)h(rt[it++]);for(var ot=A(h.store),ct=0;ot.length>ct;)d(ot[ct++]);c(c.S+c.F*!U,"Symbol",{for:function(t){return i($,t+="")?$[t]:$[t]=C(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in $)if($[e]===t)return e},useSetter:function(){H=!0},useSimple:function(){H=!1}}),c(c.S+c.F*!U,"Object",{create:Q,defineProperty:z,defineProperties:X,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var ut=s((function(){E.f(1)}));c(c.S+c.F*ut,"Object",{getOwnPropertySymbols:function(t){return E.f(x(t))}}),F&&c(c.S+c.F*(!U||s((function(){var t=C();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(m(e)||void 0!==t)&&!Y(t))return b(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,I.apply(F,r)}}),C[R][q]||n("35e8")(C[R],q,C[R].valueOf),l(C,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),c=n("32e9"),u=n("84f2"),a=n("41a0"),s=n("7f20"),f=n("38fd"),l=n("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),h="@@iterator",v="keys",d="values",y=function(){return this};t.exports=function(t,e,n,b,g,m,x){a(n,e,b);var w,_,S,O=function(t){if(!p&&t in P)return P[t];switch(t){case v:return function(){return new n(this,t)};case d:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",j=g==d,E=!1,P=t.prototype,A=P[l]||P[h]||g&&P[g],L=A||O(g),T=g?j?O("entries"):L:void 0,M="Array"==e&&P.entries||A;if(M&&(S=f(M.call(new t)),S!==Object.prototype&&S.next&&(s(S,k,!0),r||"function"==typeof S[l]||c(S,l,y))),j&&A&&A.name!==d&&(E=!0,L=function(){return A.call(this)}),r&&!x||!p&&!E&&P[l]||c(P,l,L),u[e]=L,u[k]=y,g)if(w={values:j?L:O(d),keys:m?L:O(v),entries:T},x)for(_ in w)_ in P||o(P,_,w[_]);else i(i.P+i.F*(p||E),e,w);return w}},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,c,u=String(i(e)),a=r(n),s=u.length;return a<0||a>=s?t?"":void 0:(o=u.charCodeAt(a),o<55296||o>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):o:t?u.slice(a,a+2):c-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0395":function(t,e,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return i(t)}catch(e){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==o.call(t)?u(t):i(r(t))}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),c=n("9def"),u=n("cd1c");t.exports=function(t,e){var n=1==t,a=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||u;return function(e,u,v){for(var d,y,b=o(e),g=i(b),m=r(u,v,3),x=c(g.length),w=0,_=n?h(e,x):a?h(e,0):void 0;x>w;w++)if((p||w in g)&&(d=g[w],y=m(d,w,b),t))if(n)_[w]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return w;case 2:_.push(d)}else if(f)return!1;return l?-1:s||f?f:_}}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},1173:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),c=n("6a99"),u=n("69a8"),a=n("c69a"),s=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?s:function(t,e){if(t=o(t),e=c(e,!0),a)try{return s(t,e)}catch(n){}if(u(t,e))return i(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,c=o(e),u=c.length,a=0;while(u>a)r.f(t,n=c[a++],e[n]);return t}},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1991:function(t,e,n){var r,i,o,c=n("9b43"),u=n("31f4"),a=n("fab2"),s=n("230e"),f=n("7726"),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,y=0,b={},g="onreadystatechange",m=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},x=function(t){m.call(t.data)};p&&h||(p=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return b[++y]=function(){u("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete b[t]},"process"==n("2d95")(l)?r=function(t){l.nextTick(c(m,t,1))}:d&&d.now?r=function(t){d.now(c(m,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=x,r=c(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r=g in s("script")?function(t){a.appendChild(s("script"))[g]=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(c(m,t,1),0)}),t.exports={set:p,clear:h}},"1af6":function(t,e,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"1fa8":function(t,e,n){var r=n("cb7c");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(c){var o=t["return"];throw void 0!==o&&r(o.call(t)),c}}},"20d6":function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(6),o="findIndex",c=!0;o in[]&&Array(1)[o]((function(){c=!1})),r(r.P+r.F*c,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"20fd":function(t,e,n){"use strict";var r=n("d9f6"),i=n("aebd");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),c=n("be13"),u=n("2b4c"),a=n("520a"),s=u("species"),f=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),l=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=u(t),h=!o((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),v=h?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[s]=function(){return n}),n[p](""),!e})):void 0;if(!h||!v||"replace"===t&&!f||"split"===t&&!l){var d=/./[p],y=n(c,p,""[t],(function(t,e,n,r,i){return e.exec===a?h&&!i?{done:!0,value:d.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),b=y[0],g=y[1];r(String.prototype,t,b),i(RegExp.prototype,p,2==e?function(t,e){return g.call(t,this,e)}:function(t){return g.call(t,this)})}}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),i))?n:o?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},"24c5":function(t,e,n){"use strict";var r,i,o,c,u=n("b8e3"),a=n("e53d"),s=n("d864"),f=n("40c3"),l=n("63b6"),p=n("f772"),h=n("79aa"),v=n("1173"),d=n("a22a"),y=n("f201"),b=n("4178").set,g=n("aba2")(),m=n("656e"),x=n("4439"),w=n("bc13"),_=n("cd78"),S="Promise",O=a.TypeError,k=a.process,j=k&&k.versions,E=j&&j.v8||"",P=a[S],A="process"==f(k),L=function(){},T=i=m.f,M=!!function(){try{var t=P.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(L,L)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==E.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(r){}}(),C=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;g((function(){var r=t._v,i=1==t._s,o=0,c=function(e){var n,o,c,u=i?e.ok:e.fail,a=e.resolve,s=e.reject,f=e.domain;try{u?(i||(2==t._h&&N(t),t._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),c=!0)),n===e.promise?s(O("Promise-chain cycle")):(o=C(n))?o.call(n,a,s):a(n)):s(r)}catch(l){f&&!c&&f.exit(),s(l)}};while(n.length>o)c(n[o++]);t._c=[],t._n=!1,e&&!t._h&&I(t)}))}},I=function(t){b.call(a,(function(){var e,n,r,i=t._v,o=R(t);if(o&&(e=x((function(){A?k.emit("unhandledRejection",i,t):(n=a.onunhandledrejection)?n({promise:t,reason:i}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=A||R(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){b.call(a,(function(){var e;A?k.emit("rejectionHandled",t):(e=a.onrejectionhandled)&&e({promise:t,reason:t._v})}))},q=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=C(t))?g((function(){var r={_w:n,_d:!1};try{e.call(t,s(D,r,1),s(q,r,1))}catch(i){q.call(r,i)}})):(n._v=t,n._s=1,F(n,!1))}catch(r){q.call({_w:n,_d:!1},r)}}};M||(P=function(t){v(this,P,S,"_h"),h(t),r.call(this);try{t(s(D,this,1),s(q,this,1))}catch(e){q.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("5c95")(P.prototype,{then:function(t,e){var n=T(y(this,P));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=s(D,t,1),this.reject=s(q,t,1)},m.f=T=function(t){return t===P||t===c?new o(t):i(t)}),l(l.G+l.W+l.F*!M,{Promise:P}),n("45f2")(P,S),n("4c95")(S),c=n("584a")[S],l(l.S+l.F*!M,S,{reject:function(t){var e=T(this),n=e.reject;return n(t),e.promise}}),l(l.S+l.F*(u||!M),S,{resolve:function(t){return _(u&&this===c?P:this,t)}}),l(l.S+l.F*!(M&&n("4ee1")((function(t){P.all(t)["catch"](L)}))),S,{all:function(t){var e=this,n=T(e),r=n.resolve,i=n.reject,o=x((function(){var n=[],o=0,c=1;d(t,!1,(function(t){var u=o++,a=!1;n.push(void 0),c++,e.resolve(t).then((function(t){a||(a=!0,n[u]=t,--c||r(n))}),i)})),--c||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,i=x((function(){d(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),c=n("0390"),u=n("9def"),a=n("5f1b"),s=n("520a"),f=n("79e5"),l=Math.min,p=[].push,h="split",v="length",d="lastIndex",y=4294967295,b=!f((function(){RegExp(y,"y")}));n("214f")("split",2,(function(t,e,n,f){var g;return g="c"=="abbc"[h](/(b)*/)[1]||4!="test"[h](/(?:)/,-1)[v]||2!="ab"[h](/(?:ab)*/)[v]||4!="."[h](/(.?)(.?)/)[v]||"."[h](/()()/)[v]>1||""[h](/.?/)[v]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,c,u,a=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,h=void 0===e?y:e>>>0,b=new RegExp(t.source,f+"g");while(o=s.call(b,i)){if(c=b[d],c>l&&(a.push(i.slice(l,o.index)),o[v]>1&&o.index=h))break;b[d]===o.index&&b[d]++}return l===i[v]?!u&&b.test("")||a.push(""):a.push(i.slice(l)),a[v]>h?a.slice(0,h):a}:"0"[h](void 0,0)[v]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):g.call(String(i),n,r)},function(t,e){var r=f(g,t,this,e,g!==n);if(r.done)return r.value;var s=i(t),p=String(this),h=o(s,RegExp),v=s.unicode,d=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(b?"y":"g"),m=new h(b?s:"^(?:"+s.source+")",d),x=void 0===e?y:e>>>0;if(0===x)return[];if(0===p.length)return null===a(m,p)?[p]:[];var w=0,_=0,S=[];while(_ ";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+c+"document.F=Object"+i+"/script"+c),t.close(),s=t.F;while(r--)delete s[a][o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(u[a]=r(t),n=new u,u[a]=null,n[c]=t):n=s(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,c="function"==typeof o,u=t.exports=function(t){return r[t]||(r[t]=c&&o[t]||(c?o:i)("Symbol."+t))};u.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d2c8"),o="includes";r(r.P+r.F*n("5147")(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},3024:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"30f1":function(t,e,n){"use strict";var r=n("b8e3"),i=n("63b6"),o=n("9138"),c=n("35e8"),u=n("481b"),a=n("8f60"),s=n("45f2"),f=n("53e2"),l=n("5168")("iterator"),p=!([].keys&&"next"in[].keys()),h="@@iterator",v="keys",d="values",y=function(){return this};t.exports=function(t,e,n,b,g,m,x){a(n,e,b);var w,_,S,O=function(t){if(!p&&t in P)return P[t];switch(t){case v:return function(){return new n(this,t)};case d:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",j=g==d,E=!1,P=t.prototype,A=P[l]||P[h]||g&&P[g],L=A||O(g),T=g?j?O("entries"):L:void 0,M="Array"==e&&P.entries||A;if(M&&(S=f(M.call(new t)),S!==Object.prototype&&S.next&&(s(S,k,!0),r||"function"==typeof S[l]||c(S,l,y))),j&&A&&A.name!==d&&(E=!0,L=function(){return A.call(this)}),r&&!x||!p&&!E&&P[l]||c(P,l,L),u[e]=L,u[k]=y,g)if(w={values:j?L:O(d),keys:m?L:O(v),entries:T},x)for(_ in w)_ in P||o(P,_,w[_]);else i(i.P+i.F*(p||E),e,w);return w}},"31f4":function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"33a4":function(t,e,n){var r=n("84f2"),i=n("2b4c")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},3620:function(t,e,n){},"36c3":function(t,e,n){var r=n("335c"),i=n("25eb");t.exports=function(t){return r(i(t))}},3702:function(t,e,n){var r=n("481b"),i=n("5168")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386d":function(t,e,n){"use strict";var r=n("cb7c"),i=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(t,e,n,c){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=c(n,t,this);if(e.done)return e.value;var u=r(t),a=String(this),s=u.lastIndex;i(s,0)||(u.lastIndex=0);var f=o(u,a);return i(u.lastIndex,s)||(u.lastIndex=s),null===f?-1:f.index}]}))},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"3c11":function(t,e,n){"use strict";var r=n("63b6"),i=n("584a"),o=n("e53d"),c=n("f201"),u=n("cd78");r(r.P+r.R,"Promise",{finally:function(t){var e=c(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}})},"3cba":function(t,e,n){"use strict";var r=n("ecf0"),i=n.n(r);i.a},"40c3":function(t,e,n){var r=n("6b4c"),i=n("5168")("toStringTag"),o="Arguments"==r(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),i))?n:o?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},4178:function(t,e,n){var r,i,o,c=n("d864"),u=n("3024"),a=n("32fc"),s=n("1ec9"),f=n("e53d"),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,y=0,b={},g="onreadystatechange",m=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},x=function(t){m.call(t.data)};p&&h||(p=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return b[++y]=function(){u("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete b[t]},"process"==n("6b4c")(l)?r=function(t){l.nextTick(c(m,t,1))}:d&&d.now?r=function(t){d.now(c(m,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=x,r=c(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r=g in s("script")?function(t){a.appendChild(s("script"))[g]=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(c(m,t,1),0)}),t.exports={set:p,clear:h}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),c={};n("32e9")(c,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(c,{next:i(1,n)}),o(t,e+" Iterator")}},"43fc":function(t,e,n){"use strict";var r=n("63b6"),i=n("656e"),o=n("4439");r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},4439:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"454f":function(t,e,n){n("46a7");var r=n("584a").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(t){return i(r(t))}}))},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"46a7":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(t,e,n){var r=n("c3a1"),i=n("9aa9"),o=n("355d");t.exports=function(t){var e=r(t),n=i.f;if(n){var c,u=n(t),a=o.f,s=0;while(u.length>s)a.call(t,c=u[s++])&&e.push(c)}return e}},"481b":function(t,e){t.exports={}},"4a59":function(t,e,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),c=n("cb7c"),u=n("9def"),a=n("27ee"),s={},f={};e=t.exports=function(t,e,n,l,p){var h,v,d,y,b=p?function(){return t}:a(t),g=r(n,l,e?2:1),m=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(o(b)){for(h=u(t.length);h>m;m++)if(y=e?g(c(v=t[m])[0],v[1]):g(t[m]),y===s||y===f)return y}else for(d=b.call(t);!(v=d.next()).done;)if(y=i(d,g,v.value,e),y===s||y===f)return y};e.BREAK=s,e.RETURN=f},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4c95":function(t,e,n){"use strict";var r=n("e53d"),i=n("584a"),o=n("d9f6"),c=n("8e60"),u=n("5168")("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];c&&e&&!e[u]&&o.f(e,u,{configurable:!0,get:function(){return this}})}},"4ee1":function(t,e,n){var r=n("5168")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:n=!0}},o[r]=function(){return u},t(o)}catch(c){}return n}},"504c":function(t,e,n){var r=n("9e1e"),i=n("0d58"),o=n("6821"),c=n("52a7").f;t.exports=function(t){return function(e){var n,u=o(e),a=i(u),s=a.length,f=0,l=[];while(s>f)n=a[f++],r&&!c.call(u,n)||l.push(t?[n,u[n]]:u[n]);return l}}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},5168:function(t,e,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,c="function"==typeof o,u=t.exports=function(t){return r[t]||(r[t]=c&&o[t]||(c?o:i)("Symbol."+t))};u.store=r},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,c=i,u="lastIndex",a=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[u]||0!==e[u]}(),s=void 0!==/()??/.exec("")[1],f=a||s;f&&(c=function(t){var e,n,c,f,l=this;return s&&(n=new RegExp("^"+l.source+"$(?!\\s)",r.call(l))),a&&(e=l[u]),c=i.call(l,t),a&&c&&(l[u]=l.global?c.index+c[0].length:e),s&&c&&c.length>1&&o.call(c[0],n,(function(){for(f=1;f1?arguments[1]:void 0,y=void 0!==d,b=0,g=f(p);if(y&&(d=r(d,v>2?arguments[2]:void 0,2)),void 0==g||h==Array&&u(g))for(e=a(p.length),n=new h(e);e>b;b++)s(n,b,y?d(p[b],b):p[b]);else for(l=g.call(p),n=new h;!(i=l.next()).done;b++)s(n,b,y?c(l,d,[i.value,b],!0):i.value);return n.length=b,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},"551c":function(t,e,n){"use strict";var r,i,o,c,u=n("2d00"),a=n("7726"),s=n("9b43"),f=n("23c6"),l=n("5ca1"),p=n("d3f4"),h=n("d8e8"),v=n("f605"),d=n("4a59"),y=n("ebd6"),b=n("1991").set,g=n("8079")(),m=n("a5b8"),x=n("9c80"),w=n("a25f"),_=n("bcaa"),S="Promise",O=a.TypeError,k=a.process,j=k&&k.versions,E=j&&j.v8||"",P=a[S],A="process"==f(k),L=function(){},T=i=m.f,M=!!function(){try{var t=P.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(L,L)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==E.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(r){}}(),C=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;g((function(){var r=t._v,i=1==t._s,o=0,c=function(e){var n,o,c,u=i?e.ok:e.fail,a=e.resolve,s=e.reject,f=e.domain;try{u?(i||(2==t._h&&N(t),t._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),c=!0)),n===e.promise?s(O("Promise-chain cycle")):(o=C(n))?o.call(n,a,s):a(n)):s(r)}catch(l){f&&!c&&f.exit(),s(l)}};while(n.length>o)c(n[o++]);t._c=[],t._n=!1,e&&!t._h&&I(t)}))}},I=function(t){b.call(a,(function(){var e,n,r,i=t._v,o=R(t);if(o&&(e=x((function(){A?k.emit("unhandledRejection",i,t):(n=a.onunhandledrejection)?n({promise:t,reason:i}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=A||R(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){b.call(a,(function(){var e;A?k.emit("rejectionHandled",t):(e=a.onrejectionhandled)&&e({promise:t,reason:t._v})}))},q=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=C(t))?g((function(){var r={_w:n,_d:!1};try{e.call(t,s(D,r,1),s(q,r,1))}catch(i){q.call(r,i)}})):(n._v=t,n._s=1,F(n,!1))}catch(r){q.call({_w:n,_d:!1},r)}}};M||(P=function(t){v(this,P,S,"_h"),h(t),r.call(this);try{t(s(D,this,1),s(q,this,1))}catch(e){q.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(P.prototype,{then:function(t,e){var n=T(y(this,P));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=s(D,t,1),this.reject=s(q,t,1)},m.f=T=function(t){return t===P||t===c?new o(t):i(t)}),l(l.G+l.W+l.F*!M,{Promise:P}),n("7f20")(P,S),n("7a56")(S),c=n("8378")[S],l(l.S+l.F*!M,S,{reject:function(t){var e=T(this),n=e.reject;return n(t),e.promise}}),l(l.S+l.F*(u||!M),S,{resolve:function(t){return _(u&&this===c?P:this,t)}}),l(l.S+l.F*!(M&&n("5cc5")((function(t){P.all(t)["catch"](L)}))),S,{all:function(t){var e=this,n=T(e),r=n.resolve,i=n.reject,o=x((function(){var n=[],o=0,c=1;d(t,!1,(function(t){var u=o++,a=!1;n.push(void 0),c++,e.resolve(t).then((function(t){a||(a=!0,n[u]=t,--c||r(n))}),i)})),--c||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,i=x((function(){d(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",c=i[o]||(i[o]={});(t.exports=function(t,e){return c[t]||(c[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),i=n("62a0");t.exports=function(t){return r[t]||(r[t]=i(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var r=n("36c3"),i=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,c){var u,a=r(e),s=i(a.length),f=o(c,s);if(t&&n!=n){while(s>f)if(u=a[f++],u!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},"5c95":function(t,e,n){var r=n("35e8");t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),c=n("2aba"),u=n("9b43"),a="prototype",s=function(t,e,n){var f,l,p,h,v=t&s.F,d=t&s.G,y=t&s.S,b=t&s.P,g=t&s.B,m=d?r:y?r[e]||(r[e]={}):(r[e]||{})[a],x=d?i:i[e]||(i[e]={}),w=x[a]||(x[a]={});for(f in d&&(n=e),n)l=!v&&m&&void 0!==m[f],p=(l?m:n)[f],h=g&&l?u(p,r):b&&"function"==typeof p?u(Function.call,p):p,m&&c(m,f,p,t&s.U),x[f]!=p&&o(x,f,h),b&&w[f]!=p&&(w[f]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:n=!0}},o[r]=function(){return u},t(o)}catch(c){}return n}},"5d58":function(t,e,n){t.exports=n("d8d6")},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,c=e.constructor;return c!==n&&"function"==typeof c&&(o=c.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],c={};c[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",c)}},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),c=n("35e8"),u=n("07e3"),a="prototype",s=function(t,e,n){var f,l,p,h=t&s.F,v=t&s.G,d=t&s.S,y=t&s.P,b=t&s.B,g=t&s.W,m=v?i:i[e]||(i[e]={}),x=m[a],w=v?r:d?r[e]:(r[e]||{})[a];for(f in v&&(n=e),n)l=!h&&w&&void 0!==w[f],l&&u(m,f)||(p=l?w[f]:n[f],m[f]=v&&"function"!=typeof w[f]?n[f]:b&&l?o(p,r):g&&w[f]==p?function(t){var e=function(e,n,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,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[a]=t[a],e}(p):y&&"function"==typeof p?o(Function.call,p):p,y&&((m.virtual||(m.virtual={}))[f]=p,t&s.R&&x&&!x[f]&&c(x,f,p)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},"63c6":function(t,e,n){"use strict";var r=n("3620"),i=n.n(r);i.a},"656e":function(t,e,n){"use strict";var r=n("79aa");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},6718:function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("b8e3"),c=n("ccb9"),u=n("d9f6").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:c.f(t)})}},6762:function(t,e,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67bb":function(t,e,n){t.exports=n("f921")},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"696e":function(t,e,n){n("c207"),n("1654"),n("6c1c"),n("24c5"),n("3c11"),n("43fc"),t.exports=n("584a").Promise},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d3":function(t,e,n){n("6718")("asyncIterator")},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6abf":function(t,e,n){var r=n("e6f3"),i=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),c=n("5168")("toStringTag"),u="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=s?t?"":void 0:(o=u.charCodeAt(a),o<55296||o>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):o:t?u.slice(a,a+2):c-56320+(o-55296<<10)+65536)}}},7333:function(t,e,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),c=n("52a7"),u=n("4bf8"),a=n("626a"),s=Object.assign;t.exports=!s||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r}))?function(t,e){var n=u(t),s=arguments.length,f=1,l=o.f,p=c.f;while(s>f){var h,v=a(arguments[f++]),d=l?i(v).concat(l(v)):i(v),y=d.length,b=0;while(y>b)h=d[b++],r&&!p.call(v,h)||(n[h]=v[h])}return n}:s},7514:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),o="find",c=!0;o in[]&&Array(1)[o]((function(){c=!1})),r(r.P+r.F*c,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"765d":function(t,e,n){n("6718")("observable")},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"795b":function(t,e,n){t.exports=n("696e")},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),c=n("2b4c")("species");t.exports=function(t){var e=r[t];o&&e&&!e[c]&&i.f(e,c,{configurable:!0,get:function(){return this}})}},"7cd6":function(t,e,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"7e90":function(t,e,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){i(t);var n,c=o(e),u=c.length,a=0;while(u>a)r.f(t,n=c[a++],e[n]);return t}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,c="name";c in i||n("9e1e")&&r(i,c,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},8079:function(t,e,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,a="process"==n("2d95")(c);t.exports=function(){var t,e,n,s=function(){var r,i;a&&(r=c.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(a)n=function(){c.nextTick(s)};else if(!o||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(s)}}else n=function(){i.call(r,s)};else{var l=!0,p=document.createTextNode("");new o(s).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},8378:function(t,e){var n=t.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},8436:function(t,e){t.exports=function(){}},"84f2":function(t,e){t.exports={}},"85f2":function(t,e,n){t.exports=n("454f")},8615:function(t,e,n){var r=n("5ca1"),i=n("504c")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),c=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return c(t,e,n)}catch(u){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(t,e,n){var r=n("5ca1"),i=n("990b"),o=n("6821"),c=n("11e9"),u=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),a=c.f,s=i(r),f={},l=0;while(s.length>l)n=a(r,e=s[l++]),void 0!==n&&u(f,e,n);return f}})},"8f60":function(t,e,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),c={};n("35e8")(c,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(c,{next:i(1,n)}),o(t,e+" Iterator")}},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},9138:function(t,e,n){t.exports=n("35e8")},9224:function(t){t.exports=JSON.parse('{"a":"0.5.1"}')},"95d5":function(t,e,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");t.exports=n("584a").isIterable=function(t){var e=Object(t);return void 0!==e[i]||"@@iterator"in e||o.hasOwnProperty(r(e))}},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function a(t,e,n,r){var i=e&&e.prototype instanceof d?e:d,o=Object.create(i.prototype),c=new P(r||[]);return o._invoke=O(t,n,c),o}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=a;var f="suspendedStart",l="suspendedYield",p="executing",h="completed",v={};function d(){}function y(){}function b(){}var g={};g[o]=function(){return this};var m=Object.getPrototypeOf,x=m&&m(m(A([])));x&&x!==n&&r.call(x,o)&&(g=x);var w=b.prototype=d.prototype=Object.create(g);function _(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function S(t){function e(n,i,o,c){var u=s(t[n],t,i);if("throw"!==u.type){var a=u.arg,f=a.value;return f&&"object"===typeof f&&r.call(f,"__await")?Promise.resolve(f.__await).then((function(t){e("next",t,o,c)}),(function(t){e("throw",t,o,c)})):Promise.resolve(f).then((function(t){a.value=t,o(a)}),(function(t){return e("throw",t,o,c)}))}c(u.arg)}var n;function i(t,r){function i(){return new Promise((function(n,i){e(t,r,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=i}function O(t,e,n){var r=f;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return L()}n.method=i,n.arg=o;while(1){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var a=s(t,e,n);if("normal"===a.type){if(r=n.done?h:l,a.arg===v)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(r=h,n.method="throw",n.arg=a.arg)}}}function k(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=s(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function A(t){if(t){var n=t[o];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,c=function n(){while(++i=0;--o){var c=this.tryEntries[o],u=c.completion;if("root"===c.tryLoc)return i("end");if(c.tryLoc<=this.prev){var a=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(a&&s){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},"990b":function(t,e,n){var r=n("9093"),i=n("2621"),o=n("cb7c"),c=n("7726").Reflect;t.exports=c&&c.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){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,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),c=n("5559")("IE_PROTO"),u=function(){},a="prototype",s=function(){var t,e=n("1ec9")("iframe"),r=o.length,i="<",c=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+c+"document.F=Object"+i+"/script"+c),t.close(),s=t.F;while(r--)delete s[a][o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(u[a]=r(t),n=new u,u[a]=null,n[c]=t):n=s(),void 0===e?n:i(n,e)}},a22a:function(t,e,n){var r=n("d864"),i=n("b0dc"),o=n("3702"),c=n("e4ae"),u=n("b447"),a=n("7cd6"),s={},f={};e=t.exports=function(t,e,n,l,p){var h,v,d,y,b=p?function(){return t}:a(t),g=r(n,l,e?2:1),m=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(o(b)){for(h=u(t.length);h>m;m++)if(y=e?g(c(v=t[m])[0],v[1]):g(t[m]),y===s||y===f)return y}else for(d=b.call(t);!(v=d.next()).done;)if(y=i(d,g,v.value,e),y===s||y===f)return y};e.BREAK=s,e.RETURN=f},a25f:function(t,e,n){var r=n("7726"),i=r.navigator;t.exports=i&&i.userAgent||""},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),c=n("4588"),u=n("0390"),a=n("5f1b"),s=Math.max,f=Math.min,l=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g,v=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,d){return[function(r,i){var o=t(this),c=void 0==r?void 0:r[e];return void 0!==c?c.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=d(n,t,this,e);if(i.done)return i.value;var l=r(t),p=String(this),h="function"===typeof e;h||(e=String(e));var b=l.global;if(b){var g=l.unicode;l.lastIndex=0}var m=[];while(1){var x=a(l,p);if(null===x)break;if(m.push(x),!b)break;var w=String(x[0]);""===w&&(l.lastIndex=u(p,o(l.lastIndex),g))}for(var _="",S=0,O=0;O=S&&(_+=p.slice(S,j)+T,S=j+k.length)}return _+p.slice(S)}];function y(t,e,r,o,c,u){var a=r+t.length,s=o.length,f=h;return void 0!==c&&(c=i(c),f=p),n.call(u,f,(function(n,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(a);case"<":u=c[i.slice(1,-1)];break;default:var f=+i;if(0===f)return n;if(f>s){var p=l(f/10);return 0===p?n:p<=s?void 0===o[p-1]?i.charAt(1):o[p-1]+i.charAt(1):n}u=o[f-1]}return void 0===u?"":u}))}}))},a5b8:function(t,e,n){"use strict";var r=n("d8e8");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},a745:function(t,e,n){t.exports=n("f410")},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),c=n("fdef"),u="["+c+"]",a="
",s=RegExp("^"+u+u+"*"),f=RegExp(u+u+"*$"),l=function(t,e,n){var i={},u=o((function(){return!!c[t]()||a[t]()!=a})),s=i[t]=u?e(p):c[t];n&&(i[n]=s),r(r.P+r.F*u,"String",i)},p=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(s,"")),2&e&&(t=t.replace(f,"")),t};t.exports=l},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},aba2:function(t,e,n){var r=n("e53d"),i=n("4178").set,o=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,a="process"==n("6b4c")(c);t.exports=function(){var t,e,n,s=function(){var r,i;a&&(r=c.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(a)n=function(){c.nextTick(s)};else if(!o||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(s)}}else n=function(){i.call(r,s)};else{var l=!0,p=document.createTextNode("");new o(s).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),c=n("7726"),u=n("32e9"),a=n("84f2"),s=n("2b4c"),f=s("iterator"),l=s("toStringTag"),p=a.Array,h={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},v=i(h),d=0;d0?i(r(t),9007199254740991):0}},b8e3:function(t,e){t.exports=!0},bc13:function(t,e,n){var r=n("e53d"),i=r.navigator;t.exports=i&&i.userAgent||""},bcaa:function(t,e,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),c=n.resolve;return c(e),n.promise}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},bf0b:function(t,e,n){var r=n("355d"),i=n("aebd"),o=n("36c3"),c=n("1bc3"),u=n("07e3"),a=n("794b"),s=Object.getOwnPropertyDescriptor;e.f=n("8e60")?s:function(t,e){if(t=o(t),e=c(e,!0),a)try{return s(t,e)}catch(n){}if(u(t,e))return i(!r.f.call(t,e),t[e])}},c207:function(t,e){},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,c){var u,a=r(e),s=i(a.length),f=o(c,s);if(t&&n!=n){while(s>f)if(u=a[f++],u!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),c=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=c(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(t,e,n){var r=n("e6f3"),i=n("1691");t.exports=Object.keys||function(t){return r(t,i)}},c5f6:function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("2d95"),c=n("5dbc"),u=n("6a99"),a=n("79e5"),s=n("9093").f,f=n("11e9").f,l=n("86cc").f,p=n("aa77").trim,h="Number",v=r[h],d=v,y=v.prototype,b=o(n("2aeb")(y))==h,g="trim"in String.prototype,m=function(t){var e=u(t,!1);if("string"==typeof e&&e.length>2){e=g?e.trim():p(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var c,a=e.slice(2),s=0,f=a.length;si)return NaN;return parseInt(a,r)}}return+e};if(!v(" 0o1")||!v("0b1")||v("+0x1")){v=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof v&&(b?a((function(){y.valueOf.call(n)})):o(n)!=h)?c(new d(m(e)),n,v):m(e)};for(var x,w=n("9e1e")?s(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;w.length>_;_++)i(d,x=w[_])&&!i(v,x)&&l(v,x,f(d,x));v.prototype=y,y.constructor=v,n("2aba")(r,h,v)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8bb:function(t,e,n){t.exports=n("54a1")},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),c=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=c(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ccb9:function(t,e,n){e.f=n("5168")},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},cd78:function(t,e,n){var r=n("e4ae"),i=n("f772"),o=n("656e");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),c=n.resolve;return c(e),n.promise}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),c=n("613b")("IE_PROTO");t.exports=function(t,e){var n,u=i(t),a=0,s=[];for(n in u)n!=c&&r(u,n)&&s.push(n);while(e.length>a)r(u,n=e[a++])&&(~o(s,n)||s.push(n));return s}},d2c8:function(t,e,n){var r=n("aae3"),i=n("be13");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){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,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d8d6:function(t,e,n){n("1654"),n("6c1c"),t.exports=n("ccb9").f("iterator")},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),c=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return c(t,e,n)}catch(u){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},dbdb:function(t,e,n){var r=n("584a"),i=n("e53d"),o="__core-js_shared__",c=i[o]||(i[o]={});(t.exports=function(t,e){return c[t]||(c[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dcbc:function(t,e,n){var r=n("2aba");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(t,e,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),c=n("5559")("IE_PROTO");t.exports=function(t,e){var n,u=i(t),a=0,s=[];for(n in u)n!=c&&r(u,n)&&s.push(n);while(e.length>a)r(u,n=e[a++])&&(~o(s,n)||s.push(n));return s}},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||void 0==(n=r(c)[o])?e:i(n)}},ebfd:function(t,e,n){var r=n("62a0")("meta"),i=n("f772"),o=n("07e3"),c=n("d9f6").f,u=0,a=Object.isExtensible||function(){return!0},s=!n("294c")((function(){return a(Object.preventExtensions({}))})),f=function(t){c(t,r,{value:{i:"O"+ ++u,w:{}}})},l=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!o(t,r)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return s&&v.NEED&&a(t)&&!o(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},ecf0:function(t,e,n){},f1ae:function(t,e,n){"use strict";var r=n("86cc"),i=n("4630");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},f201:function(t,e,n){var r=n("e4ae"),i=n("79aa"),o=n("5168")("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||void 0==(n=r(c)[o])?e:i(n)}},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f605:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},f921:function(t,e,n){n("014b"),n("c207"),n("69d3"),n("765d"),t.exports=n("584a").Symbol},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("7f7f");var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Layout",{ref:"layout",staticClass:"v-select",class:t.classes,attrs:{tabindex:"-1"},nativeOn:{mouseup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?null:"button"in e&&0!==e.button?null:void(t.isMultiple&&t.$refs.inp.focus())},focusin:function(e){t.$refs.inp.focus(),t.checkFocus_()},focusout:function(e){return t.checkFocus_()},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.next())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.next(!0))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"home",void 0,e.key,void 0)?null:(e.preventDefault(),t.mark(0))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"end",void 0,e.key,void 0)?null:(e.preventDefault(),t.mark(1/0))},function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;e.stopPropagation(),~t.marked?t.mark():t.close()},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:t.onKeyDel()},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onKeyDownEnter(e)}],mousedown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?null:"button"in e&&0!==e.button?null:t.open()}},scopedSlots:t._u([{key:"selected",fn:function(){return t._l(t.value_,(function(e,r){return n("Selected",t._b({key:e.index,staticClass:"v-select-btn v-select-selected",nativeOn:{mouseup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?null:"button"in e&&0!==e.button?null:t.deselect(r)}}},"Selected",{option:e,state:t.state,index:r,select:this},!1),[t._l(["both","selected"],(function(n){return t._t(n,null,null,{option:e,state:t.state,index:r,select:this})}))],2)}))},proxy:!0},{key:"input",fn:function(){return[n("input",t._b({directives:[{name:"model",rawName:"v-model.trim",value:t.q,expression:"q",modifiers:{trim:!0}}],ref:"inp",staticClass:"v-select-inp",attrs:{placeholder:t.placeholder},domProps:{value:t.q},on:{focus:function(e){t.open().search()},keydown:t.onKeyDown,input:[function(e){e.target.composing||(t.q=e.target.value.trim())},function(e){return t.open()}],blur:function(e){return t.$forceUpdate()}}},"input",t.$attrs,!1))]},proxy:!0},{key:"actions",fn:function(){return[n("button",{staticClass:"v-select-btn-clear",attrs:{type:"button",tabindex:"-1"},on:{mouseup:function(e){return t.clear()}}}),n("button",{staticClass:"v-select-btn-dd",attrs:{type:"button",tabindex:"-1"},on:{click:function(e){return t.open()}}}),n("button",{staticClass:"v-select-btn-spinner",attrs:{type:"button",tabindex:"-1"}},[t._t("spinner")],2)]},proxy:!0},{key:"options",fn:function(){return t._l(t.filtered,(function(e,r){return n("Option",t._b({key:e.index,ref:"option"+r,refInFor:!0,staticClass:"v-select-option",nativeOn:{mouseup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"left",37,n.key,["Left","ArrowLeft"])?null:"button"in n&&0!==n.button?null:t.select(e)}}},"Option",{option:e,state:t.state,index:r,select:this},!1),[t._l(["both","option"],(function(n){return t._t(n,null,null,{option:e,state:t.state,index:r,select:this})}))],2)}))},proxy:!0},t._l(t.layoutSlots,(function(e){return{key:e,fn:function(n){return[t._t(e,null,null,Object.assign({},{state:t.state,select:this},n))]}}}))],null,!0)})},o=[],c=(n("8e6e"),n("a745")),u=n.n(c);function a(t){if(u()(t)){for(var e=0,n=new Array(t.length);e0&&void 0!==r[0]?r[0]:"",t.next=3,fetch(e);case 3:if(n=t.sent,n.ok){t.next=6;break}return t.abrupt("return",Promise.reject(n));case 6:return t.next=8,n.json();case 8:return t.abrupt("return",t.sent);case 9:case"end":return t.stop()}}),t)}))),L.apply(this,arguments)}function T(t,e,n){return Math.min(Math.max(t,e),n)}function M(t,e,n){return t=V(t),arguments.length>2?C(t.slice(0,-1),e,{})[t[t.length-1]]=n:C(t,e)}function C(t,e,n){t=V(t);var r=-1,i=t.length,o=arguments.length>2;while(++r1?e-1:0),r=1;r1?e-1:0),r=1;r0&&void 0!==o[0]&&o[0],n=this.q,"string"==typeof e&&(n=e),this.validate(n)){t.next=5;break}return t.abrupt("return",new Error(q("Invalid query: "+n)));case 5:return r=this.queue=e||!this.queue||this.isDynamic&&this.queue.q!=n?this.from_(n):this.queue,r.q=n,t.prev=7,t.next=10,r;case 10:i=t.sent,t.next=17;break;case 13:throw t.prev=13,t.t0=t["catch"](7),r==this.queue&&(this.queue=null),t.t0;case 17:if(r==this.queue&&this.q==this.queue.q){t.next=19;break}return t.abrupt("return");case 19:this.options=i;case 20:case"end":return t.stop()}}),t,this,[[7,13]])})));function e(){return t.apply(this,arguments)}return e}(),from_:function(){var t=_(regeneratorRuntime.mark((function t(e){var n,r,i,o=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=this.from,r=this.fetch,!Array.isArray(n)){t.next=5;break}i=n,t.next=14;break;case 5:if("function"!=typeof n){t.next=11;break}return t.next=8,n(e);case 8:i=t.sent,t.next=14;break;case 11:return t.next=13,r(e,n);case 13:i=t.sent;case 14:return t.abrupt("return",(this.parse_(i)||[]).map((function(t){return o.ofRaw(t)})));case 15:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),ofRaw:function(t){var e=this.as_,n=this.asSpec.order.reduce((function(n,r){return st({},n,g({},r,e&&e[r]?e[r](t):t))}),{raw:t});return I(n.label)||(n.label=n.value),I(n.index)||(n.index=n.label),new lt(n)},ofValue:function(t){var e=this.isInsufficient;if(this.isPrimitive)return this.ofRaw(t);var n=t,r=this.as_;r&&r.value&&r.value(n={},t);var i=this.ofRaw(n);return Object.assign(i,{poor:e})},ofPhrase:function(t){var e=this.isInsufficient;if(this.isPrimitive)return this.ofRaw(t);var n={},r=this.as_;return r.value&&r.value(n,t),r.label&&r.label(n,t),Object.assign(this.ofRaw(n),{poor:e,new:!0})},select:function(){var t=_(regeneratorRuntime.mark((function t(e){var n,r,i,o=this,c=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=c.length>1&&void 0!==c[1]&&c[1],r=this.value_.findIndex((function(t){return o.equals(t,e)})),this.$emit("select",e),!~r){t.next=5;break}return t.abrupt("return",this.isMultiple?this.deselect(r):this);case 5:if(!n){t.next=16;break}if(this.$emit("create",e),this.tagging){t.next=9;break}return t.abrupt("return");case 9:if("function"!=typeof this.tagging){t.next=16;break}return t.next=12,this.tagging.call(this.$parent,e,this);case 12:if(i=t.sent,![!1].includes(i)){t.next=15;break}return t.abrupt("return");case 15:e=i instanceof lt?i:this.ofRaw(i);case 16:this.isMultiple&&(e=this.value_.concat(e)),this.set(e);case 18:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),deselect:function(t){if(!this.isMultiple)return this.clear();var e=d(this.value_);e.splice(t,1),this.set(e)},clear:function(){this.set(this.isMultiple?[]:void 0)},exists:function(t){var e=this;return this.value_.some((function(n){return e.equals(n,t)}))},parseValue:function(t,e){var n=this;return I(t)?(e=e||this.options.concat(this.value_),[].concat(t).map((function(t){return t instanceof lt?t:n.ofValue(t)})).map((function(t){return e.find((function(e){return n.equals(t,e)}))||t}))):[]},mark:function(t){if(arguments.length&&!1!==t?!0===t&&(t=~this.matched?this.matched:this.tagging?-1:0):t=-1,t=this.marked=T(-1,t,this.filtered.length-1),~t){var e=this.$refs["option"+t];e=e&&e[0]&&e[0].$el,e&&this.scrollTo(e)}return this},next:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.flags.opened)return this.open();this.mark(this.marked+Math.pow(-1,t))},equals:function(t,e){if(t.index===e.index)return!0;if(t.index==e.index&&[t.index,e.index].every(I))return!0;try{return JSON.stringify(t.index)===JSON.stringify(e.index)}catch(n){return!1}},open:function(){return this.flags.opened?this:(this.flags.opened=!0,this.mark(!0))},close:function(t){return this.flags.opened=!1,(t||(I(this.clearOnSelect)?this.clearOnSelect:!this.isMultiple))&&(this.q=""),this},blur:function(){if(!this.$el)return this;var t=G(this.$el,":focus")?this.$el:this.$el.querySelector(":focus");return t&&t.blur(),this},scrollTo:function(t){var e=this.$refs.layout.$refs.list;e.scrollTop=Math.round(t.offsetTop+t.offsetHeight-e.offsetHeight/2)},checkFocus:function(){return this.flags.focused=G(this.$el,":focus")||!!this.$el.querySelector(":focus"),this},onKeyDel:function(){if(!this.q){var t=this.value_.length;t&&this.isMultiple?this.deselect(t-1):this.clear()}},onKeyDownEnter:function(t){if(this.q||~this.marked){t.preventDefault();var e=this.filtered[this.marked];this.select(e||this.ofPhrase(this.q),!e)}},onKeyDown:function(t){this.tagging&&this.q&&this.tagKeys.includes(t.which||t.keyCode||0)&&(!~this.marked||this.filtered[this.marked].label!==this.q)&&(t.preventDefault(),t.stopPropagation(),this.select(this.ofPhrase(this.q)))},onChange:function(){(I(this.closeOnSelect)?this.closeOnSelect:!this.isMultiple||this.isDynamic)&&this.close(),I(this.clearOnSelect)&&!this.clearOnSelect||(this.q=""),this.$emit("change",this.isMultiple?pt(this.value_):this.value_[0])}}};function lt(){Object.assign.apply(Object,[this].concat(Array.prototype.slice.call(arguments)))}function pt(t){return t=d(t),t.raw=t.map((function(t){return t.value})),t}var ht,vt=ft,dt=(n("3cba"),W(vt,i,o,!1,null,null,null)),yt=dt.exports,bt=n("9224"),gt=ht={version:bt["a"],install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.name,r=void 0===n?"vSelect":n,i=e.mixin,o=void 0===i?{}:i;t.component(r,{mixins:[yt,o]})},vSelect:yt,vSelectLayout:ut,vSelectOption:X,vSelectSelected:et};"undefined"!=typeof window&&"undefined"!=typeof window.Vue&&(window.VueSelect=ht),n.d(e,"vSelect",(function(){return yt})),n.d(e,"vSelectLayout",(function(){return ut})),n.d(e,"vSelectOption",(function(){return X})),n.d(e,"vSelectSelected",(function(){return et}));e["default"]=gt},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}})}));
2 | //# sourceMappingURL=vue-select.umd.min.js.map
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@desislavsd/vue-select",
3 | "description": "Vue select component like Select2 done the Vue way.",
4 | "keywords": [
5 | "vue-select",
6 | "select",
7 | "v-select",
8 | "autocomplete",
9 | "combobox",
10 | "vue",
11 | "vue2"
12 | ],
13 | "author": "desislavsd",
14 | "main": "./dist/vue-select.common.js",
15 | "browser": "./dist/vue-select.umd.min.js",
16 | "files": [
17 | "dist/*",
18 | "src/*",
19 | "*.json",
20 | "*.js",
21 | "*.md"
22 | ],
23 | "version": "0.5.2",
24 | "license": "MIT",
25 | "private": false,
26 | "repository": {
27 | "type": "git",
28 | "url": "https://github.com/desislavsd/vue-select.git"
29 | },
30 | "bugs": {
31 | "url": "https://github.com/desislavsd/vue-select/issues"
32 | },
33 | "homepage": "https://desislavsd.gitbook.io/vue-select/",
34 | "scripts": {
35 | "serve": "vue-cli-service serve",
36 | "build": "vue-cli-service build",
37 | "build:lib": "vue-cli-service build --target lib --name vue-select ./src/plugins/select/index.js",
38 | "version": "npm version patch",
39 | "publish": "npm publish --access public",
40 | "lint": "vue-cli-service lint"
41 | },
42 | "peerDependencies": {
43 | "vue": "2.x"
44 | },
45 | "devDependencies": {
46 | "@vue/cli-plugin-babel": "^3.12.1",
47 | "@vue/cli-plugin-eslint": "^3.12.1",
48 | "@vue/cli-service": "^3.12.1",
49 | "babel-eslint": "^10.0.3",
50 | "eslint": "^5.16.0",
51 | "eslint-plugin-vue": "^5.2.3",
52 | "stylus": "^0.54.7",
53 | "stylus-loader": "^3.0.2",
54 | "vue": "^2.6.10",
55 | "vue-template-compiler": "^2.6.10"
56 | },
57 | "eslintConfig": {
58 | "root": true,
59 | "env": {
60 | "node": true
61 | },
62 | "extends": [
63 | "plugin:vue/essential",
64 | "eslint:recommended"
65 | ],
66 | "rules": {},
67 | "parserOptions": {
68 | "parser": "babel-eslint"
69 | }
70 | },
71 | "postcss": {
72 | "plugins": {
73 | "autoprefixer": {}
74 | }
75 | },
76 | "browserslist": [
77 | "> 1%",
78 | "last 2 versions",
79 | "not ie <= 8"
80 | ]
81 | }
82 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/desislavsd/vue-select/13e5b9f66f648fa125f865a40e88f29f97d266e4/public/favicon.ico
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | vue-select
9 |
10 |
11 |
12 | We're sorry but vue-select doesn't work properly without JavaScript enabled. Please enable it to continue.
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/public/vue-select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/desislavsd/vue-select/13e5b9f66f648fa125f865a40e88f29f97d266e4/public/vue-select.png
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
34 |
35 |
36 |
78 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import App from './App.vue'
3 |
4 | Vue.config.productionTip = false
5 | global.Vue = Vue
6 |
7 | import VueSelect from './plugins/select'
8 | // let VueSelect = require('!!../dist/vue-select.common.js').default
9 |
10 | Vue.use(VueSelect, {
11 | mixin: {
12 |
13 | }
14 | })
15 | // eslint-disable-next-line
16 | Vue.prototype.log = console.log
17 |
18 | new Vue({
19 | render: h => h(App),
20 | }).$mount('#app')
21 |
--------------------------------------------------------------------------------
/src/plugins/select/components/layout.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
28 |
29 |
--------------------------------------------------------------------------------
/src/plugins/select/components/option.vue:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/plugins/select/components/select.vue:
--------------------------------------------------------------------------------
1 |
21 |
22 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
738 |
920 |
921 |
--------------------------------------------------------------------------------
/src/plugins/select/components/selected.vue:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/plugins/select/index.js:
--------------------------------------------------------------------------------
1 | import vSelect from './components/select'
2 | import vSelectOption from './components/option'
3 | import vSelectSelected from './components/selected'
4 | import vSelectLayout from './components/layout'
5 |
6 | export { vSelect, vSelectLayout, vSelectOption, vSelectSelected }
7 |
8 | let VueSelect;
9 | import { version } from '@/../package.json'
10 |
11 | export default VueSelect = {
12 |
13 | version,
14 |
15 | install(Vue, { name = 'vSelect', mixin = {} } = {} ){
16 |
17 | Vue.component(name, {
18 | mixins: [vSelect, mixin]
19 | })
20 | },
21 |
22 | vSelect, vSelectLayout, vSelectOption, vSelectSelected
23 | }
24 |
25 | if(typeof window != 'undefined' && typeof window.Vue != 'undefined')
26 | window.VueSelect = VueSelect
--------------------------------------------------------------------------------
/src/plugins/select/utils.js:
--------------------------------------------------------------------------------
1 | export async function fetchAdapter(url = '') {
2 | let res = await fetch(url);
3 |
4 | if (!res.ok) return Promise.reject(res);
5 |
6 | return await res.json();
7 | }
8 |
9 | export function mid(min, val, max) {
10 |
11 | return Math.min(Math.max(min, val), max)
12 | }
13 |
14 | export function set(path, o, val) {
15 |
16 | path = parsePath(path)
17 |
18 | return arguments.length > 2
19 | ? (get(path.slice(0, -1), o, {})[path[path.length-1]] = val)
20 | : get(path, o)
21 | }
22 |
23 | export function get(path, o, val){
24 | path = parsePath(path)
25 |
26 | let i = -1, len = path.length, set = arguments.length > 2;
27 |
28 | while (++i < len){
29 | let g = o; o = o[path[i]];
30 |
31 | if(typeof o == 'object') continue;
32 |
33 | if(!set) return i == len - 1 ? o : undefined;
34 |
35 | o = g[path[i]] = i < len - 1 ? {} : isPrimitive(g[path[i]]) ? val : g[path[i]];
36 | }
37 | return o
38 | }
39 |
40 | export function model(path, ...args){
41 | path = parsePath(path);
42 |
43 | return set.bind(null, path, ...args)
44 | }
45 |
46 | export function isset(x){
47 | return ![undefined, '', null, NaN].includes(x);
48 | }
49 |
50 | export function isPrimitive(x) {
51 | return x !== Object(x);
52 | }
53 |
54 | export function error() {
55 | // eslint-disable-next-line
56 | console.error('[@desislavsd/vue-select]: ', ...arguments)
57 | }
58 |
59 | export function msg(m){
60 |
61 | return '[@desislavsd/vue-select]: ' + m
62 | }
63 |
64 | export function debounce(t, f, defaults) {
65 |
66 | var timeout;
67 |
68 | function handler(...args) {
69 |
70 | clearTimeout(timeout);
71 |
72 | timeout = setTimeout(() => f.apply(this, args), t)
73 |
74 | return defaults;
75 | }
76 |
77 | return t ? handler : f;
78 | }
79 |
80 | export let me = e => e;
81 |
82 | export function elMatches(el, ...args){
83 |
84 | return (Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector).apply(el, args);
85 | }
86 |
87 | function parsePath(path){
88 |
89 | return Array.isArray(path) ? path : path.split('.').filter(Boolean)
90 | }
--------------------------------------------------------------------------------
/vue.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | devServer: {
3 |
4 | disableHostCheck: true,
5 | },
6 | }
--------------------------------------------------------------------------------