diff --git a/dist/focusoverlay.cjs.js b/dist/focusoverlay.cjs.js index 84ed00c..af6ab52 100644 --- a/dist/focusoverlay.cjs.js +++ b/dist/focusoverlay.cjs.js @@ -1,4 +1,4 @@ /* Focus Overlay - v1.0.5 * https://github.com/mmahandev/FocusOverlay -* Copyright (c) 2019 mmahandev. Licensed MIT */ -"use strict";function createCommonjsModule(t,e){return t(e={exports:{}},e.exports),e.exports}var _global=createCommonjsModule(function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),_core=createCommonjsModule(function(t){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)}),_core_1=_core.version,_isObject=function(t){return"object"==typeof t?null!==t:"function"==typeof t},_anObject=function(t){if(!_isObject(t))throw TypeError(t+" is not an object!");return t},_fails=function(t){try{return!!t()}catch(t){return!0}},_descriptors=!_fails(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),document$1=_global.document,is=_isObject(document$1)&&_isObject(document$1.createElement),_domCreate=function(t){return is?document$1.createElement(t):{}},_ie8DomDefine=!_descriptors&&!_fails(function(){return 7!=Object.defineProperty(_domCreate("div"),"a",{get:function(){return 7}}).a}),_toPrimitive=function(t,e){if(!_isObject(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!_isObject(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!_isObject(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!_isObject(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")},dP=Object.defineProperty,f=_descriptors?Object.defineProperty:function(t,e,n){if(_anObject(t),e=_toPrimitive(e,!0),_anObject(n),_ie8DomDefine)try{return dP(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t},_objectDp={f:f},_propertyDesc=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},_hide=_descriptors?function(t,e,n){return _objectDp.f(t,e,_propertyDesc(1,n))}:function(t,e,n){return t[e]=n,t},hasOwnProperty={}.hasOwnProperty,_has=function(t,e){return hasOwnProperty.call(t,e)},id=0,px=Math.random(),_uid=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++id+px).toString(36))},_shared=createCommonjsModule(function(t){var e=_global["__core-js_shared__"]||(_global["__core-js_shared__"]={});(t.exports=function(t,n){return e[t]||(e[t]=void 0!==n?n:{})})("versions",[]).push({version:_core.version,mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),_functionToString=_shared("native-function-to-string",Function.toString),_redefine=createCommonjsModule(function(t){var e=_uid("src"),n=(""+_functionToString).split("toString");_core.inspectSource=function(t){return _functionToString.call(t)},(t.exports=function(t,o,i,r){var s="function"==typeof i;s&&(_has(i,"name")||_hide(i,"name",o)),t[o]!==i&&(s&&(_has(i,e)||_hide(i,e,t[o]?""+t[o]:n.join(String(o)))),t===_global?t[o]=i:r?t[o]?t[o]=i:_hide(t,o,i):(delete t[o],_hide(t,o,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[e]||_functionToString.call(this)})}),_aFunction=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},_ctx=function(t,e,n){if(_aFunction(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,o){return t.call(e,n,o)};case 3:return function(n,o,i){return t.call(e,n,o,i)}}return function(){return t.apply(e,arguments)}},PROTOTYPE="prototype",$export=function(t,e,n){var o,i,r,s,c=t&$export.F,a=t&$export.G,u=t&$export.S,l=t&$export.P,f=t&$export.B,d=a?_global:u?_global[e]||(_global[e]={}):(_global[e]||{})[PROTOTYPE],h=a?_core:_core[e]||(_core[e]={}),p=h[PROTOTYPE]||(h[PROTOTYPE]={});for(o in a&&(n=e),n)r=((i=!c&&d&&void 0!==d[o])?d:n)[o],s=f&&i?_ctx(r,_global):l&&"function"==typeof r?_ctx(Function.call,r):r,d&&_redefine(d,o,r,t&$export.U),h[o]!=r&&_hide(h,o,s),l&&p[o]!=r&&(p[o]=r)};_global.core=_core,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128;var _export=$export,toString={}.toString,_cof=function(t){return toString.call(t).slice(8,-1)},_iobject=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==_cof(t)?t.split(""):Object(t)},_defined=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},_toIobject=function(t){return _iobject(_defined(t))},ceil=Math.ceil,floor=Math.floor,_toInteger=function(t){return isNaN(t=+t)?0:(t>0?floor:ceil)(t)},min=Math.min,_toLength=function(t){return t>0?min(_toInteger(t),9007199254740991):0},max=Math.max,min$1=Math.min,_toAbsoluteIndex=function(t,e){return(t=_toInteger(t))<0?max(t+e,0):min$1(t,e)},_arrayIncludes=function(t){return function(e,n,o){var i,r=_toIobject(e),s=_toLength(r.length),c=_toAbsoluteIndex(o,s);if(t&&n!=n){for(;s>c;)if((i=r[c++])!=i)return!0}else for(;s>c;c++)if((t||c in r)&&r[c]===n)return t||c||0;return!t&&-1}},shared=_shared("keys"),_sharedKey=function(t){return shared[t]||(shared[t]=_uid(t))},arrayIndexOf=_arrayIncludes(!1),IE_PROTO=_sharedKey("IE_PROTO"),_objectKeysInternal=function(t,e){var n,o=_toIobject(t),i=0,r=[];for(n in o)n!=IE_PROTO&&_has(o,n)&&r.push(n);for(;e.length>i;)_has(o,n=e[i++])&&(~arrayIndexOf(r,n)||r.push(n));return r},_enumBugKeys="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),_objectKeys=Object.keys||function(t){return _objectKeysInternal(t,_enumBugKeys)},f$1=Object.getOwnPropertySymbols,_objectGops={f:f$1},f$2={}.propertyIsEnumerable,_objectPie={f:f$2},_toObject=function(t){return Object(_defined(t))},$assign=Object.assign,_objectAssign=!$assign||_fails(function(){var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=$assign({},t)[n]||Object.keys($assign({},e)).join("")!=o})?function(t,e){for(var n=_toObject(t),o=arguments.length,i=1,r=_objectGops.f,s=_objectPie.f;o>i;)for(var c,a=_iobject(arguments[i++]),u=r?_objectKeys(a).concat(r(a)):_objectKeys(a),l=u.length,f=0;l>f;)c=u[f++],_descriptors&&!s.call(a,c)||(n[c]=a[c]);return n}:$assign;_export(_export.S+_export.F,"Object",{assign:_objectAssign});var _wks=createCommonjsModule(function(t){var e=_shared("wks"),n=_global.Symbol,o="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=o&&n[t]||(o?n:_uid)("Symbol."+t))}).store=e}),UNSCOPABLES=_wks("unscopables"),ArrayProto=Array.prototype;null==ArrayProto[UNSCOPABLES]&&_hide(ArrayProto,UNSCOPABLES,{});var _addToUnscopables=function(t){ArrayProto[UNSCOPABLES][t]=!0},$includes=_arrayIncludes(!0);_export(_export.P,"Array",{includes:function(t){return $includes(this,t,arguments.length>1?arguments[1]:void 0)}}),_addToUnscopables("includes");var MATCH=_wks("match"),_isRegexp=function(t){var e;return _isObject(t)&&(void 0!==(e=t[MATCH])?!!e:"RegExp"==_cof(t))},_stringContext=function(t,e,n){if(_isRegexp(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(_defined(t))},MATCH$1=_wks("match"),_failsIsRegexp=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[MATCH$1]=!1,!"/./"[t](e)}catch(t){}}return!0},INCLUDES="includes";function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n1?arguments[1]:void 0)}}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var dP$1=_objectDp.f,FProto=Function.prototype,nameRE=/^\s*function ([^ (]*)/,NAME="name";function extend(){for(var t,e,n,o=arguments[0]||{},i=1,r=arguments.length;i0?floor:ceil)(t)},min=Math.min,_toLength=function(t){return t>0?min(_toInteger(t),9007199254740991):0},max=Math.max,min$1=Math.min,_toAbsoluteIndex=function(t,e){return(t=_toInteger(t))<0?max(t+e,0):min$1(t,e)},_arrayIncludes=function(t){return function(e,n,o){var i,r=_toIobject(e),s=_toLength(r.length),c=_toAbsoluteIndex(o,s);if(t&&n!=n){for(;s>c;)if((i=r[c++])!=i)return!0}else for(;s>c;c++)if((t||c in r)&&r[c]===n)return t||c||0;return!t&&-1}},shared=_shared("keys"),_sharedKey=function(t){return shared[t]||(shared[t]=_uid(t))},arrayIndexOf=_arrayIncludes(!1),IE_PROTO=_sharedKey("IE_PROTO"),_objectKeysInternal=function(t,e){var n,o=_toIobject(t),i=0,r=[];for(n in o)n!=IE_PROTO&&_has(o,n)&&r.push(n);for(;e.length>i;)_has(o,n=e[i++])&&(~arrayIndexOf(r,n)||r.push(n));return r},_enumBugKeys="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),_objectKeys=Object.keys||function(t){return _objectKeysInternal(t,_enumBugKeys)},f$1=Object.getOwnPropertySymbols,_objectGops={f:f$1},f$2={}.propertyIsEnumerable,_objectPie={f:f$2},_toObject=function(t){return Object(_defined(t))},$assign=Object.assign,_objectAssign=!$assign||_fails(function(){var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=$assign({},t)[n]||Object.keys($assign({},e)).join("")!=o})?function(t,e){for(var n=_toObject(t),o=arguments.length,i=1,r=_objectGops.f,s=_objectPie.f;o>i;)for(var c,a=_iobject(arguments[i++]),u=r?_objectKeys(a).concat(r(a)):_objectKeys(a),l=u.length,f=0;l>f;)c=u[f++],_descriptors&&!s.call(a,c)||(n[c]=a[c]);return n}:$assign;_export(_export.S+_export.F,"Object",{assign:_objectAssign});var _wks=createCommonjsModule(function(t){var e=_shared("wks"),n=_global.Symbol,o="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=o&&n[t]||(o?n:_uid)("Symbol."+t))}).store=e}),UNSCOPABLES=_wks("unscopables"),ArrayProto=Array.prototype;null==ArrayProto[UNSCOPABLES]&&_hide(ArrayProto,UNSCOPABLES,{});var _addToUnscopables=function(t){ArrayProto[UNSCOPABLES][t]=!0},$includes=_arrayIncludes(!0);_export(_export.P,"Array",{includes:function(t){return $includes(this,t,arguments.length>1?arguments[1]:void 0)}}),_addToUnscopables("includes");var MATCH=_wks("match"),_isRegexp=function(t){var e;return _isObject(t)&&(void 0!==(e=t[MATCH])?!!e:"RegExp"==_cof(t))},_stringContext=function(t,e,n){if(_isRegexp(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(_defined(t))},MATCH$1=_wks("match"),_failsIsRegexp=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[MATCH$1]=!1,!"/./"[t](e)}catch(t){}}return!0},INCLUDES="includes";function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n1?arguments[1]:void 0)}}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var dP$1=_objectDp.f,FProto=Function.prototype,nameRE=/^\s*function ([^ (]*)/,NAME="name";function extend(){for(var t,e,n,o=arguments[0]||{},i=1,r=arguments.length;i0?C:k)(t)},M=Math.min,A=Math.max,P=Math.min,H=function(t){return function(e,n,o){var i,r,s=j(e),c=(i=s.length)>0?M(L(i),9007199254740991):0,a=function(t,e){return(t=L(t))<0?A(t+e,0):P(t,e)}(o,c);if(t&&n!=n){for(;c>a;)if((r=s[a++])!=r)return!0}else for(;c>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}},D=g("keys"),I=H(!1),K=D[T="IE_PROTO"]||(D[T]=m(T)),z="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),N=Object.keys||function(t){return function(t,e){var n,o=j(t),i=0,r=[];for(n in o)n!=K&&d(o,n)&&r.push(n);for(;e.length>i;)d(o,n=e[i++])&&(~I(r,n)||r.push(n));return r}(t,z)},R={f:Object.getOwnPropertySymbols},q={f:{}.propertyIsEnumerable},G=Object.assign,U=!G||r(function(){var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=G({},t)[n]||Object.keys(G({},e)).join("")!=o})?function(t,e){for(var n=Object(_(t)),o=arguments.length,i=1,r=R.f,c=q.f;o>i;)for(var a,u=F(arguments[i++]),l=r?N(u).concat(r(u)):N(u),f=l.length,h=0;f>h;)a=l[h++],s&&!c.call(u,a)||(n[a]=u[a]);return n}:G;S(S.S+S.F,"Object",{assign:U});var W=t(function(t){var n=g("wks"),o=e.Symbol,i="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:m)("Symbol."+t))}).store=n}),J=W("unscopables"),Q=Array.prototype;null==Q[J]&&h(Q,J,{});var V=H(!0);S(S.P,"Array",{includes:function(t){return V(this,t,arguments.length>1?arguments[1]:void 0)}}),function(t){Q[J][t]=!0}("includes");var X=W("match"),Y=function(t,e,n){if(o(i=e)&&(void 0!==(r=i[X])?r:"RegExp"==O(i)))throw TypeError("String#"+n+" doesn't accept regex!");var i,r;return String(_(t))},Z=W("match");function $(t,e){for(var n=0;n1?arguments[1]:void 0)}}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var tt=f.f,et=Function.prototype,nt=/^\s*function ([^ (]*)/;function ot(t){var e,n=0,o=0,i=0,r=0,s=ot.offsetBase;if(!s&&document.body&&((s=ot.offsetBase=document.createElement("div")).style.cssText="position:absolute;left:0;top:0",document.body.appendChild(s)),t&&t.ownerDocument===document&&"getBoundingClientRect"in t&&s){var c=t.getBoundingClientRect(),a=s.getBoundingClientRect();e=!0,n=c.left-a.left,o=c.top-a.top,i=c.right-c.left,r=c.bottom-c.top}return{found:e,left:n,top:o,width:i,height:r,right:n+i,bottom:o+r}}"name"in et||s&&tt(et,"name",{configurable:!0,get:function(){try{return(""+this).match(nt)[1]}catch(t){return""}}});export default(function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.active=!1,this.scopedEl,this.focusBox,this.previousTarget,this.nextTarget,this.timeout=0,this.inScope=!1,this.transitionEvent=function(){var t=document.createElement("fakeelement"),e={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in e)if(void 0!==t.style[n])return e[n]}(),this.options=function(){for(var t,e,n,o=arguments[0]||{},i=1,r=arguments.length;i0?C:k)(t)},M=Math.min,A=Math.max,P=Math.min,H=function(t){return function(e,n,o){var i,r,s=j(e),c=(i=s.length)>0?M(L(i),9007199254740991):0,a=function(t,e){return(t=L(t))<0?A(t+e,0):P(t,e)}(o,c);if(t&&n!=n){for(;c>a;)if((r=s[a++])!=r)return!0}else for(;c>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}},D=m("keys"),I=H(!1),K=D[T="IE_PROTO"]||(D[T]=g(T)),z="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),N=Object.keys||function(t){return function(t,e){var n,o=j(t),i=0,r=[];for(n in o)n!=K&&v(o,n)&&r.push(n);for(;e.length>i;)v(o,n=e[i++])&&(~I(r,n)||r.push(n));return r}(t,z)},R={f:Object.getOwnPropertySymbols},q={f:{}.propertyIsEnumerable},G=Object.assign,U=!G||r(function(){var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=G({},t)[n]||Object.keys(G({},e)).join("")!=o})?function(t,e){for(var n=Object(_(t)),o=arguments.length,i=1,r=R.f,c=q.f;o>i;)for(var a,u=F(arguments[i++]),l=r?N(u).concat(r(u)):N(u),f=l.length,h=0;f>h;)a=l[h++],s&&!c.call(u,a)||(n[a]=u[a]);return n}:G;S(S.S+S.F,"Object",{assign:U});var W=t(function(t){var n=m("wks"),o=e.Symbol,i="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:g)("Symbol."+t))}).store=n}),J=W("unscopables"),Q=Array.prototype;null==Q[J]&&h(Q,J,{});var V=H(!0);S(S.P,"Array",{includes:function(t){return V(this,t,arguments.length>1?arguments[1]:void 0)}}),function(t){Q[J][t]=!0}("includes");var X=W("match"),Y=function(t,e,n){if(o(i=e)&&(void 0!==(r=i[X])?r:"RegExp"==O(i)))throw TypeError("String#"+n+" doesn't accept regex!");var i,r;return String(_(t))},Z=W("match");function $(t,e){for(var n=0;n1?arguments[1]:void 0)}}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var tt=f.f,et=Function.prototype,nt=/^\s*function ([^ (]*)/;function ot(t){var e,n=0,o=0,i=0,r=0,s=ot.offsetBase;if(!s&&document.body&&((s=ot.offsetBase=document.createElement("div")).style.cssText="position:absolute;left:0;top:0",document.body.appendChild(s)),t&&t.ownerDocument===document&&"getBoundingClientRect"in t&&s){var c=t.getBoundingClientRect(),a=s.getBoundingClientRect();e=!0,n=c.left-a.left,o=c.top-a.top,i=c.right-c.left,r=c.bottom-c.top}return{found:e,left:n,top:o,width:i,height:r,right:n+i,bottom:o+r}}"name"in et||s&&tt(et,"name",{configurable:!0,get:function(){try{return(""+this).match(nt)[1]}catch(t){return""}}});export default(function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.active=!1,this.scopedEl,this.focusBox,this.currentTarget,this.previousTarget,this.nextTarget,this.timeout=0,this.inScope=!1,this.transitionEvent=function(){var t=document.createElement("fakeelement"),e={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in e)if(void 0!==t.style[n])return e[n]}(),this.options=function(){for(var t,e,n,o=arguments[0]||{},i=1,r=arguments.length;i0?C:k)(t)},M=Math.min,A=Math.max,P=Math.min,H=function(t){return function(e,n,o){var i,r,s=_(e),c=(i=s.length)>0?M(L(i),9007199254740991):0,a=function(t,e){return(t=L(t))<0?A(t+e,0):P(t,e)}(o,c);if(t&&n!=n){for(;c>a;)if((r=s[a++])!=r)return!0}else for(;c>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}},D=g("keys"),I=H(!1),K=D[T="IE_PROTO"]||(D[T]=m(T)),z="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),N=Object.keys||function(t){return function(t,e){var n,o=_(t),i=0,r=[];for(n in o)n!=K&&d(o,n)&&r.push(n);for(;e.length>i;)d(o,n=e[i++])&&(~I(r,n)||r.push(n));return r}(t,z)},R={f:Object.getOwnPropertySymbols},q={f:{}.propertyIsEnumerable},G=Object.assign,U=!G||r(function(){var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=G({},t)[n]||Object.keys(G({},e)).join("")!=o})?function(t,e){for(var n=Object(j(t)),o=arguments.length,i=1,r=R.f,c=q.f;o>i;)for(var a,u=F(arguments[i++]),l=r?N(u).concat(r(u)):N(u),f=l.length,h=0;f>h;)a=l[h++],s&&!c.call(u,a)||(n[a]=u[a]);return n}:G;S(S.S+S.F,"Object",{assign:U});var W=t(function(t){var n=g("wks"),o=e.Symbol,i="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:m)("Symbol."+t))}).store=n}),J=W("unscopables"),Q=Array.prototype;null==Q[J]&&h(Q,J,{});var V=H(!0);S(S.P,"Array",{includes:function(t){return V(this,t,arguments.length>1?arguments[1]:void 0)}}),function(t){Q[J][t]=!0}("includes");var X=W("match"),Y=function(t,e,n){if(o(i=e)&&(void 0!==(r=i[X])?r:"RegExp"==O(i)))throw TypeError("String#"+n+" doesn't accept regex!");var i,r;return String(j(t))},Z=W("match");function $(t,e){for(var n=0;n1?arguments[1]:void 0)}}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var tt=f.f,et=Function.prototype,nt=/^\s*function ([^ (]*)/;function ot(t){var e,n=0,o=0,i=0,r=0,s=ot.offsetBase;if(!s&&document.body&&((s=ot.offsetBase=document.createElement("div")).style.cssText="position:absolute;left:0;top:0",document.body.appendChild(s)),t&&t.ownerDocument===document&&"getBoundingClientRect"in t&&s){var c=t.getBoundingClientRect(),a=s.getBoundingClientRect();e=!0,n=c.left-a.left,o=c.top-a.top,i=c.right-c.left,r=c.bottom-c.top}return{found:e,left:n,top:o,width:i,height:r,right:n+i,bottom:o+r}}return"name"in et||s&&tt(et,"name",{configurable:!0,get:function(){try{return(""+this).match(nt)[1]}catch(t){return""}}}),function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.active=!1,this.scopedEl,this.focusBox,this.previousTarget,this.nextTarget,this.timeout=0,this.inScope=!1,this.transitionEvent=function(){var t=document.createElement("fakeelement"),e={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in e)if(void 0!==t.style[n])return e[n]}(),this.options=function(){for(var t,e,n,o=arguments[0]||{},i=1,r=arguments.length;i0?C:k)(t)},M=Math.min,A=Math.max,P=Math.min,H=function(t){return function(e,n,o){var i,r,s=_(e),c=(i=s.length)>0?M(L(i),9007199254740991):0,a=function(t,e){return(t=L(t))<0?A(t+e,0):P(t,e)}(o,c);if(t&&n!=n){for(;c>a;)if((r=s[a++])!=r)return!0}else for(;c>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}},D=m("keys"),I=H(!1),K=D[T="IE_PROTO"]||(D[T]=g(T)),z="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),N=Object.keys||function(t){return function(t,e){var n,o=_(t),i=0,r=[];for(n in o)n!=K&&d(o,n)&&r.push(n);for(;e.length>i;)d(o,n=e[i++])&&(~I(r,n)||r.push(n));return r}(t,z)},R={f:Object.getOwnPropertySymbols},q={f:{}.propertyIsEnumerable},G=Object.assign,U=!G||r(function(){var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=G({},t)[n]||Object.keys(G({},e)).join("")!=o})?function(t,e){for(var n=Object(j(t)),o=arguments.length,i=1,r=R.f,c=q.f;o>i;)for(var a,u=F(arguments[i++]),l=r?N(u).concat(r(u)):N(u),f=l.length,h=0;f>h;)a=l[h++],s&&!c.call(u,a)||(n[a]=u[a]);return n}:G;S(S.S+S.F,"Object",{assign:U});var W=t(function(t){var n=m("wks"),o=e.Symbol,i="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:g)("Symbol."+t))}).store=n}),J=W("unscopables"),Q=Array.prototype;null==Q[J]&&h(Q,J,{});var V=H(!0);S(S.P,"Array",{includes:function(t){return V(this,t,arguments.length>1?arguments[1]:void 0)}}),function(t){Q[J][t]=!0}("includes");var X=W("match"),Y=function(t,e,n){if(o(i=e)&&(void 0!==(r=i[X])?r:"RegExp"==O(i)))throw TypeError("String#"+n+" doesn't accept regex!");var i,r;return String(j(t))},Z=W("match");function $(t,e){for(var n=0;n1?arguments[1]:void 0)}}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var tt=f.f,et=Function.prototype,nt=/^\s*function ([^ (]*)/;function ot(t){var e,n=0,o=0,i=0,r=0,s=ot.offsetBase;if(!s&&document.body&&((s=ot.offsetBase=document.createElement("div")).style.cssText="position:absolute;left:0;top:0",document.body.appendChild(s)),t&&t.ownerDocument===document&&"getBoundingClientRect"in t&&s){var c=t.getBoundingClientRect(),a=s.getBoundingClientRect();e=!0,n=c.left-a.left,o=c.top-a.top,i=c.right-c.left,r=c.bottom-c.top}return{found:e,left:n,top:o,width:i,height:r,right:n+i,bottom:o+r}}return"name"in et||s&&tt(et,"name",{configurable:!0,get:function(){try{return(""+this).match(nt)[1]}catch(t){return""}}}),function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.active=!1,this.scopedEl,this.focusBox,this.currentTarget,this.previousTarget,this.nextTarget,this.timeout=0,this.inScope=!1,this.transitionEvent=function(){var t=document.createElement("fakeelement"),e={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in e)if(void 0!==t.style[n])return e[n]}(),this.options=function(){for(var t,e,n,o=arguments[0]||{},i=1,r=arguments.length;i