array-of-arrays-into-ast
Advanced tools
Comparing version
@@ -6,64 +6,7 @@ # Change Log | ||
## [1.7.3](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.7.2...array-of-arrays-into-ast@1.7.3) (2019-01-16) | ||
## 1.8.0 (2019-01-20) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
- ✨ Various documentation and setup tweaks after we migrated to monorepo | ||
- ✨ Setup refresh: updated dependencies and all config files using automated tools | ||
## [1.7.2](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.7.1...array-of-arrays-into-ast@1.7.2) (2019-01-15) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
## [1.7.1](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.7.0...array-of-arrays-into-ast@1.7.1) (2019-01-13) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
# [1.7.0](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.4.7...array-of-arrays-into-ast@1.7.0) (2019-01-11) | ||
### Features | ||
- Add one more tag before which there will be a line break ([4f00871](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/commits/4f00871)) | ||
# [1.6.0](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.4.7...array-of-arrays-into-ast@1.6.0) (2019-01-08) | ||
### Features | ||
- Add one more tag before which there will be a line break ([4f00871](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/commits/4f00871)) | ||
# [1.5.0](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.4.7...array-of-arrays-into-ast@1.5.0) (2019-01-08) | ||
### Features | ||
- Add one more tag before which there will be a line break ([4f00871](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/commits/4f00871)) | ||
## [1.4.7](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.4.6...array-of-arrays-into-ast@1.4.7) (2019-01-02) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
## [1.4.6](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.4.5...array-of-arrays-into-ast@1.4.6) (2019-01-01) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
## [1.4.5](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.4.4...array-of-arrays-into-ast@1.4.5) (2018-12-29) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
## [1.4.4](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.4.3...array-of-arrays-into-ast@1.4.4) (2018-12-29) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
## [1.4.3](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.4.2...array-of-arrays-into-ast@1.4.3) (2018-12-27) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
## [1.4.2](https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast/compare/array-of-arrays-into-ast@1.4.1...array-of-arrays-into-ast@1.4.2) (2018-12-27) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
## 1.4.1 (2018-12-26) | ||
**Note:** Version bump only for package array-of-arrays-into-ast | ||
## 1.4.0 (2018-12-14) | ||
@@ -70,0 +13,0 @@ |
/** | ||
* array-of-arrays-into-ast | ||
* turns an array of arrays of data into a nested tree of plain objects | ||
* Version: 1.7.3 | ||
* Version: 1.8.0 | ||
* Author: Roy Revelt, Codsen Ltd | ||
@@ -6,0 +6,0 @@ * License: MIT |
/** | ||
* array-of-arrays-into-ast | ||
* turns an array of arrays of data into a nested tree of plain objects | ||
* Version: 1.7.3 | ||
* Version: 1.8.0 | ||
* Author: Roy Revelt, Codsen Ltd | ||
@@ -6,0 +6,0 @@ * License: MIT |
/** | ||
* array-of-arrays-into-ast | ||
* turns an array of arrays of data into a nested tree of plain objects | ||
* Version: 1.7.3 | ||
* Version: 1.8.0 | ||
* Author: Roy Revelt, Codsen Ltd | ||
@@ -10,2 +10,2 @@ * License: MIT | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).arrayOfArraysIntoAst=e()}(this,function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,e){return t(e={exports:{}},e.exports),e.exports}var n=r(function(t,r){var n,o,a,i,c,u,s,f,l,p,y,h,g,b,d,v,_,j,m,w;t.exports=(n="function"==typeof Promise,o="object"==typeof self?self:e,a="undefined"!=typeof Symbol,i="undefined"!=typeof Map,c="undefined"!=typeof Set,u="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,f="undefined"!=typeof DataView,l=a&&void 0!==Symbol.iterator,p=a&&void 0!==Symbol.toStringTag,y=c&&"function"==typeof Set.prototype.entries,h=i&&"function"==typeof Map.prototype.entries,g=y&&Object.getPrototypeOf((new Set).entries()),b=h&&Object.getPrototypeOf((new Map).entries()),d=l&&"function"==typeof Array.prototype[Symbol.iterator],v=d&&Object.getPrototypeOf([][Symbol.iterator]()),_=l&&"function"==typeof String.prototype[Symbol.iterator],j=_&&Object.getPrototypeOf(""[Symbol.iterator]()),m=8,w=-1,function(t){var e=typeof t;if("object"!==e)return e;if(null===t)return"null";if(t===o)return"global";if(Array.isArray(t)&&(!1===p||!(Symbol.toStringTag in t)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&t===window.location)return"Location";if("object"==typeof window.document&&t===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&t===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&t===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&t instanceof window.HTMLElement){if("BLOCKQUOTE"===t.tagName)return"HTMLQuoteElement";if("TD"===t.tagName)return"HTMLTableDataCellElement";if("TH"===t.tagName)return"HTMLTableHeaderCellElement"}}var r=p&&t[Symbol.toStringTag];if("string"==typeof r)return r;var a=Object.getPrototypeOf(t);return a===RegExp.prototype?"RegExp":a===Date.prototype?"Date":n&&a===Promise.prototype?"Promise":c&&a===Set.prototype?"Set":i&&a===Map.prototype?"Map":s&&a===WeakSet.prototype?"WeakSet":u&&a===WeakMap.prototype?"WeakMap":f&&a===DataView.prototype?"DataView":i&&a===b?"Map Iterator":c&&a===g?"Set Iterator":d&&a===v?"Array Iterator":_&&a===j?"String Iterator":null===a?"Object":Object.prototype.toString.call(t).slice(m,w)})});function o(t,e,r){if(e!=e)return function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,i,r);for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}function a(t,e,r,n){for(var o=r-1,a=t.length;++o<a;)if(n(t[o],e))return o;return-1}function i(t){return t!=t}var c=Array.prototype.splice;function u(t,e,r,n){var i,u=n?a:o,s=-1,f=e.length,l=t;for(t===e&&(e=function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(e)),r&&(l=function(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}(t,(i=r,function(t){return i(t)})));++s<f;)for(var p=0,y=e[s],h=r?r(y):y;(p=u(l,h,p,n))>-1;)l!==t&&c.call(l,p,1),c.call(t,p,1);return t}var s=function(t,e){return t&&t.length&&e&&e.length?u(t,e):t},f=r(function(t,r){var n=200,o="__lodash_hash_undefined__",a=9007199254740991,i="[object Arguments]",c="[object Boolean]",u="[object Date]",s="[object Function]",f="[object GeneratorFunction]",l="[object Map]",p="[object Number]",y="[object Object]",h="[object RegExp]",g="[object Set]",b="[object String]",d="[object Symbol]",v="[object ArrayBuffer]",_="[object DataView]",j="[object Float32Array]",m="[object Float64Array]",w="[object Int8Array]",O="[object Int16Array]",A="[object Int32Array]",k="[object Uint8Array]",$="[object Uint8ClampedArray]",S="[object Uint16Array]",E="[object Uint32Array]",M=/\w*$/,I=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,P={};P[i]=P["[object Array]"]=P[v]=P[_]=P[c]=P[u]=P[j]=P[m]=P[w]=P[O]=P[A]=P[l]=P[p]=P[y]=P[h]=P[g]=P[b]=P[d]=P[k]=P[$]=P[S]=P[E]=!0,P["[object Error]"]=P[s]=P["[object WeakMap]"]=!1;var x="object"==typeof e&&e&&e.Object===Object&&e,N="object"==typeof self&&self&&self.Object===Object&&self,W=x||N||Function("return this")(),K=r&&!r.nodeType&&r,F=K&&t&&!t.nodeType&&t,C=F&&F.exports===K;function V(t,e){return t.set(e[0],e[1]),t}function D(t,e){return t.add(e),t}function L(t,e,r,n){var o=-1,a=t?t.length:0;for(n&&a&&(r=t[++o]);++o<a;)r=e(r,t[o],o,t);return r}function R(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function B(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function H(t,e){return function(r){return t(e(r))}}function U(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var J,G=Array.prototype,q=Function.prototype,z=Object.prototype,Q=W["__core-js_shared__"],X=(J=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+J:"",Y=q.toString,Z=z.hasOwnProperty,tt=z.toString,et=RegExp("^"+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=C?W.Buffer:void 0,nt=W.Symbol,ot=W.Uint8Array,at=H(Object.getPrototypeOf,Object),it=Object.create,ct=z.propertyIsEnumerable,ut=G.splice,st=Object.getOwnPropertySymbols,ft=rt?rt.isBuffer:void 0,lt=H(Object.keys,Object),pt=Ft(W,"DataView"),yt=Ft(W,"Map"),ht=Ft(W,"Promise"),gt=Ft(W,"Set"),bt=Ft(W,"WeakMap"),dt=Ft(Object,"create"),vt=Rt(pt),_t=Rt(yt),jt=Rt(ht),mt=Rt(gt),wt=Rt(bt),Ot=nt?nt.prototype:void 0,At=Ot?Ot.valueOf:void 0;function kt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function $t(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function St(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Et(t){this.__data__=new $t(t)}function Mt(t,e){var r=Ht(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Ut(t)}(t)&&Z.call(t,"callee")&&(!ct.call(t,"callee")||tt.call(t)==i)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var a in t)!e&&!Z.call(t,a)||o&&("length"==a||Dt(a,n))||r.push(a);return r}function It(t,e,r){var n=t[e];Z.call(t,e)&&Bt(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function Tt(t,e){for(var r=t.length;r--;)if(Bt(t[r][0],e))return r;return-1}function Pt(t,e,r,n,o,a,I){var T;if(n&&(T=a?n(t,o,a,I):n(t)),void 0!==T)return T;if(!qt(t))return t;var x=Ht(t);if(x){if(T=function(t){var e=t.length,r=t.constructor(e);e&&"string"==typeof t[0]&&Z.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!e)return function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(t,T)}else{var N=Vt(t),W=N==s||N==f;if(Jt(t))return function(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}(t,e);if(N==y||N==i||W&&!a){if(R(t))return a?t:{};if(T=function(t){return"function"!=typeof t.constructor||Lt(t)?{}:(e=at(t),qt(e)?it(e):{});var e}(W?{}:t),!e)return function(t,e){return Wt(t,Ct(t),e)}(t,function(t,e){return t&&Wt(e,zt(e),t)}(T,t))}else{if(!P[N])return a?t:{};T=function(t,e,r,n){var o=t.constructor;switch(e){case v:return Nt(t);case c:case u:return new o(+t);case _:return function(t,e){var r=e?Nt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,n);case j:case m:case w:case O:case A:case k:case $:case S:case E:return function(t,e){var r=e?Nt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,n);case l:return function(t,e,r){return L(e?r(B(t),!0):B(t),V,new t.constructor)}(t,n,r);case p:case b:return new o(t);case h:return(s=new(i=t).constructor(i.source,M.exec(i))).lastIndex=i.lastIndex,s;case g:return function(t,e,r){return L(e?r(U(t),!0):U(t),D,new t.constructor)}(t,n,r);case d:return a=t,At?Object(At.call(a)):{}}var a;var i,s}(t,N,Pt,e)}}I||(I=new Et);var K=I.get(t);if(K)return K;if(I.set(t,T),!x)var F=r?function(t){return function(t,e,r){var n=e(t);return Ht(t)?n:function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}(n,r(t))}(t,zt,Ct)}(t):zt(t);return function(t,e){for(var r=-1,n=t?t.length:0;++r<n&&!1!==e(t[r],r,t););}(F||t,function(o,a){F&&(o=t[a=o]),It(T,a,Pt(o,e,r,n,a,t,I))}),T}function xt(t){return!(!qt(t)||(e=t,X&&X in e))&&(Gt(t)||R(t)?et:I).test(Rt(t));var e}function Nt(t){var e=new t.constructor(t.byteLength);return new ot(e).set(new ot(t)),e}function Wt(t,e,r,n){r||(r={});for(var o=-1,a=e.length;++o<a;){var i=e[o],c=n?n(r[i],t[i],i,r,t):void 0;It(r,i,void 0===c?t[i]:c)}return r}function Kt(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function Ft(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return xt(r)?r:void 0}kt.prototype.clear=function(){this.__data__=dt?dt(null):{}},kt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},kt.prototype.get=function(t){var e=this.__data__;if(dt){var r=e[t];return r===o?void 0:r}return Z.call(e,t)?e[t]:void 0},kt.prototype.has=function(t){var e=this.__data__;return dt?void 0!==e[t]:Z.call(e,t)},kt.prototype.set=function(t,e){return this.__data__[t]=dt&&void 0===e?o:e,this},$t.prototype.clear=function(){this.__data__=[]},$t.prototype.delete=function(t){var e=this.__data__,r=Tt(e,t);return!(r<0||(r==e.length-1?e.pop():ut.call(e,r,1),0))},$t.prototype.get=function(t){var e=this.__data__,r=Tt(e,t);return r<0?void 0:e[r][1]},$t.prototype.has=function(t){return Tt(this.__data__,t)>-1},$t.prototype.set=function(t,e){var r=this.__data__,n=Tt(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},St.prototype.clear=function(){this.__data__={hash:new kt,map:new(yt||$t),string:new kt}},St.prototype.delete=function(t){return Kt(this,t).delete(t)},St.prototype.get=function(t){return Kt(this,t).get(t)},St.prototype.has=function(t){return Kt(this,t).has(t)},St.prototype.set=function(t,e){return Kt(this,t).set(t,e),this},Et.prototype.clear=function(){this.__data__=new $t},Et.prototype.delete=function(t){return this.__data__.delete(t)},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,e){var r=this.__data__;if(r instanceof $t){var o=r.__data__;if(!yt||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new St(o)}return r.set(t,e),this};var Ct=st?H(st,Object):function(){return[]},Vt=function(t){return tt.call(t)};function Dt(t,e){return!!(e=null==e?a:e)&&("number"==typeof t||T.test(t))&&t>-1&&t%1==0&&t<e}function Lt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||z)}function Rt(t){if(null!=t){try{return Y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Bt(t,e){return t===e||t!=t&&e!=e}(pt&&Vt(new pt(new ArrayBuffer(1)))!=_||yt&&Vt(new yt)!=l||ht&&"[object Promise]"!=Vt(ht.resolve())||gt&&Vt(new gt)!=g||bt&&"[object WeakMap]"!=Vt(new bt))&&(Vt=function(t){var e=tt.call(t),r=e==y?t.constructor:void 0,n=r?Rt(r):void 0;if(n)switch(n){case vt:return _;case _t:return l;case jt:return"[object Promise]";case mt:return g;case wt:return"[object WeakMap]"}return e});var Ht=Array.isArray;function Ut(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}(t.length)&&!Gt(t)}var Jt=ft||function(){return!1};function Gt(t){var e=qt(t)?tt.call(t):"";return e==s||e==f}function qt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function zt(t){return Ut(t)?Mt(t):function(t){if(!Lt(t))return lt(t);var e=[];for(var r in Object(t))Z.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}t.exports=function(t){return Pt(t,!0,!0)}}),l="[object Object]";var p,y,h=Function.prototype,g=Object.prototype,b=h.toString,d=g.hasOwnProperty,v=b.call(Object),_=g.toString,j=(p=Object.getPrototypeOf,y=Object,function(t){return p(y(t))});var m=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||_.call(t)!=l||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=j(t);if(null===e)return!0;var r=d.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&b.call(r)==v};const w=Array.isArray;function O(t){return"string"==typeof t&&t.length>0&&"."===t[0]?t.slice(1):t}function A(t,e){return function t(e,r,n){const o=f(e);let a,i,c,u,s;if((n=Object.assign({depth:-1,path:""},n)).depth+=1,w(o))for(a=0,i=o.length;a<i;a++){const e=`${n.path}.${a}`;void 0!==o[a]?(n.parent=f(o),c=t(r(o[a],void 0,Object.assign({},n,{path:O(e)})),r,Object.assign({},n,{path:O(e)})),Number.isNaN(c)&&a<o.length?(o.splice(a,1),a-=1):o[a]=c):o.splice(a,1)}else if(m(o))for(a=0,i=(u=Object.keys(o)).length;a<i;a++){s=u[a];const e=`${n.path}.${s}`;0===n.depth&&null!=s&&(n.topmostKey=s),n.parent=f(o),c=t(r(s,o[s],Object.assign({},n,{path:O(e)})),r,Object.assign({},n,{path:O(e)})),Number.isNaN(c)?delete o[s]:o[s]=c}return o}(t,e,{})}var k="__lodash_hash_undefined__",$=9007199254740991,S="[object Function]",E="[object GeneratorFunction]",M=/^\[object .+?Constructor\]$/,I="object"==typeof e&&e&&e.Object===Object&&e,T="object"==typeof self&&self&&self.Object===Object&&self,P=I||T||Function("return this")();function x(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,a=r+(n?1:-1);for(;n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,K,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function N(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function W(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}function K(t){return t!=t}function F(t){return function(e){return t(e)}}function C(t,e){return t.has(e)}var V,D=Array.prototype,L=Function.prototype,R=Object.prototype,B=P["__core-js_shared__"],H=(V=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",U=L.toString,J=R.hasOwnProperty,G=R.toString,q=RegExp("^"+U.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=D.splice,Q=Math.max,X=Math.min,Y=ut(P,"Map"),Z=ut(Object,"create");function tt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function et(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function rt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function nt(t){var e=-1,r=t?t.length:0;for(this.__data__=new rt;++e<r;)this.add(t[e])}function ot(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function at(t){return!(!ft(t)||(e=t,H&&H in e))&&(st(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?q:M).test(function(t){if(null!=t){try{return U.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function it(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&function(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=$}(t.length)&&!st(t)}(t)}(t)?t:[]}function ct(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function ut(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return at(r)?r:void 0}function st(t){var e=ft(t)?G.call(t):"";return e==S||e==E}function ft(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}tt.prototype.clear=function(){this.__data__=Z?Z(null):{}},tt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},tt.prototype.get=function(t){var e=this.__data__;if(Z){var r=e[t];return r===k?void 0:r}return J.call(e,t)?e[t]:void 0},tt.prototype.has=function(t){var e=this.__data__;return Z?void 0!==e[t]:J.call(e,t)},tt.prototype.set=function(t,e){return this.__data__[t]=Z&&void 0===e?k:e,this},et.prototype.clear=function(){this.__data__=[]},et.prototype.delete=function(t){var e=this.__data__,r=ot(e,t);return!(r<0||(r==e.length-1?e.pop():z.call(e,r,1),0))},et.prototype.get=function(t){var e=this.__data__,r=ot(e,t);return r<0?void 0:e[r][1]},et.prototype.has=function(t){return ot(this.__data__,t)>-1},et.prototype.set=function(t,e){var r=this.__data__,n=ot(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},rt.prototype.clear=function(){this.__data__={hash:new tt,map:new(Y||et),string:new tt}},rt.prototype.delete=function(t){return ct(this,t).delete(t)},rt.prototype.get=function(t){return ct(this,t).get(t)},rt.prototype.has=function(t){return ct(this,t).has(t)},rt.prototype.set=function(t,e){return ct(this,t).set(t,e),this},nt.prototype.add=nt.prototype.push=function(t){return this.__data__.set(t,k),this},nt.prototype.has=function(t){return this.__data__.has(t)};var lt=function(t,e){return e=Q(void 0===e?t.length-1:e,0),function(){for(var r=arguments,n=-1,o=Q(r.length-e,0),a=Array(o);++n<o;)a[n]=r[e+n];n=-1;for(var i=Array(e+1);++n<e;)i[n]=r[n];return i[e]=a,function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,i)}}(function(t){var e=W(t,it);return e.length&&e[0]===t[0]?function(t,e,r){for(var n=r?N:x,o=t[0].length,a=t.length,i=a,c=Array(a),u=1/0,s=[];i--;){var f=t[i];i&&e&&(f=W(f,F(e))),u=X(f.length,u),c[i]=!r&&(e||o>=120&&f.length>=120)?new nt(i&&f):void 0}f=t[0];var l=-1,p=c[0];t:for(;++l<o&&s.length<u;){var y=f[l],h=e?e(y):y;if(y=r||0!==y?y:0,!(p?C(p,h):n(s,h,r))){for(i=a;--i;){var g=c[i];if(!(g?C(g,h):n(t[i],h,r)))continue t}p&&p.push(h),s.push(y)}}return s}(e):[]});function pt(t){return"string"==typeof t?t.length>0?[t]:[]:t}var yt=r(function(t){t.exports=function(){var t=Object.prototype.toString;function e(t,e){return null!=t&&Object.prototype.hasOwnProperty.call(t,e)}function r(t){if(!t)return!0;if(o(t)&&0===t.length)return!0;if("string"!=typeof t){for(var r in t)if(e(t,r))return!1;return!0}return!1}function n(e){return t.call(e)}var o=Array.isArray||function(e){return"[object Array]"===t.call(e)};function a(t){var e=parseInt(t);return e.toString()===t?e:t}function i(t){t=t||{};var i=function(t){return Object.keys(i).reduce(function(e,r){return"create"===r?e:("function"==typeof i[r]&&(e[r]=i[r].bind(i,t)),e)},{})};function c(r,n){return t.includeInheritedProps||"number"==typeof n&&Array.isArray(r)||e(r,n)}function u(t,e){if(c(t,e))return t[e]}function s(t,e,r,n){if("number"==typeof e&&(e=[e]),!e||0===e.length)return t;if("string"==typeof e)return s(t,e.split(".").map(a),r,n);var o=e[0],i=u(t,o);return 1===e.length?(void 0!==i&&n||(t[o]=r),i):(void 0===i&&("number"==typeof e[1]?t[o]=[]:t[o]={}),s(t[o],e.slice(1),r,n))}return i.has=function(r,n){if("number"==typeof n?n=[n]:"string"==typeof n&&(n=n.split(".")),!n||0===n.length)return!!r;for(var i=0;i<n.length;i++){var c=a(n[i]);if(!("number"==typeof c&&o(r)&&c<r.length||(t.includeInheritedProps?c in Object(r):e(r,c))))return!1;r=r[c]}return!0},i.ensureExists=function(t,e,r){return s(t,e,r,!0)},i.set=function(t,e,r,n){return s(t,e,r,n)},i.insert=function(t,e,r,n){var a=i.get(t,e);n=~~n,o(a)||(a=[],i.set(t,e,a)),a.splice(n,0,r)},i.empty=function(t,e){var a,u;if(!r(e)&&null!=t&&(a=i.get(t,e))){if("string"==typeof a)return i.set(t,e,"");if(function(t){return"boolean"==typeof t||"[object Boolean]"===n(t)}(a))return i.set(t,e,!1);if("number"==typeof a)return i.set(t,e,0);if(o(a))a.length=0;else{if(!function(t){return"object"==typeof t&&"[object Object]"===n(t)}(a))return i.set(t,e,null);for(u in a)c(a,u)&&delete a[u]}}},i.push=function(t,e){var r=i.get(t,e);o(r)||(r=[],i.set(t,e,r)),r.push.apply(r,Array.prototype.slice.call(arguments,2))},i.coalesce=function(t,e,r){for(var n,o=0,a=e.length;o<a;o++)if(void 0!==(n=i.get(t,e[o])))return n;return r},i.get=function(t,e,r){if("number"==typeof e&&(e=[e]),!e||0===e.length)return t;if(null==t)return r;if("string"==typeof e)return i.get(t,e.split("."),r);var n=a(e[0]),o=u(t,n);return void 0===o?r:1===e.length?o:i.get(t[n],e.slice(1),r)},i.del=function(t,e){if("number"==typeof e&&(e=[e]),null==t)return t;if(r(e))return t;if("string"==typeof e)return i.del(t,e.split("."));var n=a(e[0]);return c(t,n)?1!==e.length?i.del(t[n],e.slice(1)):(o(t)?t.splice(n,1):delete t[n],t):t},i}var c=i();return c.create=i,c.withInheritedProps=i({includeInheritedProps:!0}),c}()}),ht=function(t){var e=t%100;if(e>=10&&e<=20)return"th";var r=t%10;return 1===r?"st":2===r?"nd":3===r?"rd":"th"};function gt(t){if("number"!=typeof t)throw new TypeError("Expected Number, got "+typeof t+" "+t);return t+ht(t)}gt.indicator=ht;var bt=gt,dt=/[|\\{}()[\]^$+*?.]/g,vt=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(dt,"\\$&")};const _t=new Map;function jt(t,e){const r=Object.assign({caseSensitive:!1},e),n=t+JSON.stringify(r);if(_t.has(n))return _t.get(n);const o="!"===t[0];o&&(t=t.slice(1)),t=vt(t).replace(/\\\*/g,".*");const a=new RegExp(`^${t}$`,r.caseSensitive?"":"i");return a.negated=o,_t.set(n,a),a}var mt=(t,e,r)=>{if(!Array.isArray(t)||!Array.isArray(e))throw new TypeError(`Expected two arrays, got ${typeof t} ${typeof e}`);if(0===e.length)return t;const n="!"===e[0][0];e=e.map(t=>jt(t,r));const o=[];for(const r of t){let t=n;for(const n of e)n.test(r)&&(t=!n.negated);t&&o.push(r)}return o};function wt(t,e,r){return function t(e,r,o,a=!0){const i=Object.prototype.hasOwnProperty;function c(t){return null!=t}function u(t){return"Object"===n(t)}function f(t,e){return e=pt(e),Array.from(t).filter(t=>!e.some(e=>mt.isMatch(t,e,{caseSensitive:!0})))}const l=["any","anything","every","everything","all","whatever","whatevs"],p=Array.isArray;if(!c(e))throw new Error("check-types-mini: [THROW_ID_01] First argument is missing!");const y={ignoreKeys:[],ignorePaths:[],acceptArrays:!1,acceptArraysIgnore:[],enforceStrictKeyset:!0,schema:{},msg:"check-types-mini",optsVarName:"opts"};let h;if(h=c(o)&&u(o)?Object.assign({},y,o):Object.assign({},y),c(h.ignoreKeys)&&h.ignoreKeys?h.ignoreKeys=pt(h.ignoreKeys):h.ignoreKeys=[],c(h.ignorePaths)&&h.ignorePaths?h.ignorePaths=pt(h.ignorePaths):h.ignorePaths=[],c(h.acceptArraysIgnore)&&h.acceptArraysIgnore?h.acceptArraysIgnore=pt(h.acceptArraysIgnore):h.acceptArraysIgnore=[],h.msg="string"==typeof h.msg?h.msg.trim():h.msg,":"===h.msg[h.msg.length-1]&&(h.msg=h.msg.slice(0,h.msg.length-1).trim()),h.schema&&(Object.keys(h.schema).forEach(t=>{if(u(h.schema[t])){const e={};A(h.schema[t],(r,n,o)=>{const a=void 0!==n?n:r;return p(a)||u(a)||(e[`${t}.${o.path}`]=a),a}),delete h.schema[t],h.schema=Object.assign(h.schema,e)}}),Object.keys(h.schema).forEach(t=>{p(h.schema[t])||(h.schema[t]=[h.schema[t]]),h.schema[t]=h.schema[t].map(String).map(t=>t.toLowerCase()).map(t=>t.trim())})),c(r)||(r={}),a&&t(h,y,{enforceStrictKeyset:!1},!1),h.enforceStrictKeyset)if(c(h.schema)&&Object.keys(h.schema).length>0){if(0!==f(s(Object.keys(e),Object.keys(r).concat(Object.keys(h.schema))),h.ignoreKeys).length){const t=s(Object.keys(e),Object.keys(r).concat(Object.keys(h.schema)));throw new TypeError(`${h.msg}: ${h.optsVarName}.enforceStrictKeyset is on and the following key${t.length>1?"s":""} ${t.length>1?"are":"is"} not covered by schema and/or reference objects: ${t.join(", ")}`)}}else{if(!(c(r)&&Object.keys(r).length>0))throw new TypeError(`${h.msg}: Both ${h.optsVarName}.schema and reference objects are missing! We don't have anything to match the keys as you requested via opts.enforceStrictKeyset!`);if(0!==f(s(Object.keys(e),Object.keys(r)),h.ignoreKeys).length){const t=s(Object.keys(e),Object.keys(r));throw new TypeError(`${h.msg}: The input object has key${t.length>1?"s":""} which ${t.length>1?"are":"is"} not covered by the reference object: ${t.join(", ")}`)}if(0!==f(s(Object.keys(r),Object.keys(e)),h.ignoreKeys).length){const t=s(Object.keys(r),Object.keys(e));throw new TypeError(`${h.msg}: The reference object has key${t.length>1?"s":""} which ${t.length>1?"are":"is"} not present in the input object: ${t.join(", ")}`)}}const g=[];A(e,(t,o,a)=>{const c=void 0!==o?o:t,s=void 0!==o?t:void 0;if(p(g)&&g.length&&g.some(t=>a.path.startsWith(t)))return c;if(s&&h.ignoreKeys.some(t=>mt.isMatch(s,t)))return c;if(h.ignorePaths.some(t=>mt.isMatch(a.path,t)))return c;const f=!(!u(c)&&!p(c)&&p(a.parent));let y=!1;u(h.schema)&&i.call(h.schema,yt.get(a.path))&&(y=!0);let b=!1;if(u(r)&&yt.has(r,yt.get(a.path))&&(b=!0),h.enforceStrictKeyset&&f&&!y&&!b)throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path} is neither covered by reference object (second input argument), nor ${h.optsVarName}.schema! To stop this error, turn off ${h.optsVarName}.enforceStrictKeyset or provide some type reference (2nd argument or ${h.optsVarName}.schema).\n\nDebug info:\n\nobj = ${JSON.stringify(e,null,4)}\n\nref = ${JSON.stringify(r,null,4)}\n\ninnerObj = ${JSON.stringify(a,null,4)}\n\nopts = ${JSON.stringify(h,null,4)}\n\ncurrent = ${JSON.stringify(c,null,4)}\n\n`);if(y){const t=pt(h.schema[a.path]).map(String).map(t=>t.toLowerCase());if(yt.set(h.schema,a.path,t),lt(t,l).length)g.push(a.path);else if(!0!==c&&!1!==c&&!t.includes(n(c).toLowerCase())||(!0===c||!1===c)&&!t.includes(String(c))&&!t.includes("boolean")){if(!p(c)||!h.acceptArrays)throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path} was customised to ${"string"!==n(c)?'"':""}${JSON.stringify(c,null,0)}${"string"!==n(c)?'"':""} (type: ${n(c).toLowerCase()}) which is not among the allowed types in schema (which is equal to ${JSON.stringify(t,null,0)})`);for(let e=0,r=c.length;e<r;e++)if(!t.includes(n(c[e]).toLowerCase()))throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path}.${e}, the ${bt(e+1)} element (equal to ${JSON.stringify(c[e],null,0)}) is of a type ${n(c[e]).toLowerCase()}, but only the following are allowed by the ${h.optsVarName}.schema: ${t.join(", ")}`)}}else if(b){const e=yt.get(r,a.path);if(h.acceptArrays&&p(c)&&!h.acceptArraysIgnore.includes(t)){if(!c.every(e=>n(e).toLowerCase()===n(r[t]).toLowerCase()))throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path} was customised to be array, but not all of its elements are ${n(r[t]).toLowerCase()}-type`)}else if(n(c)!==n(e))throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path} was customised to ${"string"===n(c).toLowerCase()?"":'"'}${JSON.stringify(c,null,0)}${"string"===n(c).toLowerCase()?"":'"'} which is not ${n(e).toLowerCase()} but ${n(c).toLowerCase()}`)}return c})}(t,e,r)}mt.isMatch=((t,e,r)=>{const n=jt(e,r),o=n.test(t);return n.negated?!o:o});var Ot="[object Object]";var At=Function.prototype,kt=Object.prototype,$t=At.toString,St=kt.hasOwnProperty,Et=$t.call(Object),Mt=kt.toString,It=function(t,e){return function(r){return t(e(r))}}(Object.getPrototypeOf,Object);var Tt=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||Mt.call(t)!=Ot||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=It(t);if(null===e)return!0;var r=St.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&$t.call(r)==Et},Pt=r(function(t,r){var n=200,o="__lodash_hash_undefined__",a=9007199254740991,i="[object Arguments]",c="[object Boolean]",u="[object Date]",s="[object Function]",f="[object GeneratorFunction]",l="[object Map]",p="[object Number]",y="[object Object]",h="[object RegExp]",g="[object Set]",b="[object String]",d="[object Symbol]",v="[object ArrayBuffer]",_="[object DataView]",j="[object Float32Array]",m="[object Float64Array]",w="[object Int8Array]",O="[object Int16Array]",A="[object Int32Array]",k="[object Uint8Array]",$="[object Uint8ClampedArray]",S="[object Uint16Array]",E="[object Uint32Array]",M=/\w*$/,I=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,P={};P[i]=P["[object Array]"]=P[v]=P[_]=P[c]=P[u]=P[j]=P[m]=P[w]=P[O]=P[A]=P[l]=P[p]=P[y]=P[h]=P[g]=P[b]=P[d]=P[k]=P[$]=P[S]=P[E]=!0,P["[object Error]"]=P[s]=P["[object WeakMap]"]=!1;var x="object"==typeof e&&e&&e.Object===Object&&e,N="object"==typeof self&&self&&self.Object===Object&&self,W=x||N||Function("return this")(),K=r&&!r.nodeType&&r,F=K&&t&&!t.nodeType&&t,C=F&&F.exports===K;function V(t,e){return t.set(e[0],e[1]),t}function D(t,e){return t.add(e),t}function L(t,e,r,n){var o=-1,a=t?t.length:0;for(n&&a&&(r=t[++o]);++o<a;)r=e(r,t[o],o,t);return r}function R(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function B(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function H(t,e){return function(r){return t(e(r))}}function U(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var J,G=Array.prototype,q=Function.prototype,z=Object.prototype,Q=W["__core-js_shared__"],X=(J=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+J:"",Y=q.toString,Z=z.hasOwnProperty,tt=z.toString,et=RegExp("^"+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=C?W.Buffer:void 0,nt=W.Symbol,ot=W.Uint8Array,at=H(Object.getPrototypeOf,Object),it=Object.create,ct=z.propertyIsEnumerable,ut=G.splice,st=Object.getOwnPropertySymbols,ft=rt?rt.isBuffer:void 0,lt=H(Object.keys,Object),pt=Ft(W,"DataView"),yt=Ft(W,"Map"),ht=Ft(W,"Promise"),gt=Ft(W,"Set"),bt=Ft(W,"WeakMap"),dt=Ft(Object,"create"),vt=Rt(pt),_t=Rt(yt),jt=Rt(ht),mt=Rt(gt),wt=Rt(bt),Ot=nt?nt.prototype:void 0,At=Ot?Ot.valueOf:void 0;function kt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function $t(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function St(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Et(t){this.__data__=new $t(t)}function Mt(t,e){var r=Ht(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Ut(t)}(t)&&Z.call(t,"callee")&&(!ct.call(t,"callee")||tt.call(t)==i)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var a in t)!e&&!Z.call(t,a)||o&&("length"==a||Dt(a,n))||r.push(a);return r}function It(t,e,r){var n=t[e];Z.call(t,e)&&Bt(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function Tt(t,e){for(var r=t.length;r--;)if(Bt(t[r][0],e))return r;return-1}function Pt(t,e,r,n,o,a,I){var T;if(n&&(T=a?n(t,o,a,I):n(t)),void 0!==T)return T;if(!qt(t))return t;var x=Ht(t);if(x){if(T=function(t){var e=t.length,r=t.constructor(e);e&&"string"==typeof t[0]&&Z.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!e)return function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(t,T)}else{var N=Vt(t),W=N==s||N==f;if(Jt(t))return function(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}(t,e);if(N==y||N==i||W&&!a){if(R(t))return a?t:{};if(T=function(t){return"function"!=typeof t.constructor||Lt(t)?{}:(e=at(t),qt(e)?it(e):{});var e}(W?{}:t),!e)return function(t,e){return Wt(t,Ct(t),e)}(t,function(t,e){return t&&Wt(e,zt(e),t)}(T,t))}else{if(!P[N])return a?t:{};T=function(t,e,r,n){var o=t.constructor;switch(e){case v:return Nt(t);case c:case u:return new o(+t);case _:return function(t,e){var r=e?Nt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,n);case j:case m:case w:case O:case A:case k:case $:case S:case E:return function(t,e){var r=e?Nt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,n);case l:return function(t,e,r){return L(e?r(B(t),!0):B(t),V,new t.constructor)}(t,n,r);case p:case b:return new o(t);case h:return(s=new(i=t).constructor(i.source,M.exec(i))).lastIndex=i.lastIndex,s;case g:return function(t,e,r){return L(e?r(U(t),!0):U(t),D,new t.constructor)}(t,n,r);case d:return a=t,At?Object(At.call(a)):{}}var a;var i,s}(t,N,Pt,e)}}I||(I=new Et);var K=I.get(t);if(K)return K;if(I.set(t,T),!x)var F=r?function(t){return function(t,e,r){var n=e(t);return Ht(t)?n:function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}(n,r(t))}(t,zt,Ct)}(t):zt(t);return function(t,e){for(var r=-1,n=t?t.length:0;++r<n&&!1!==e(t[r],r,t););}(F||t,function(o,a){F&&(o=t[a=o]),It(T,a,Pt(o,e,r,n,a,t,I))}),T}function xt(t){return!(!qt(t)||(e=t,X&&X in e))&&(Gt(t)||R(t)?et:I).test(Rt(t));var e}function Nt(t){var e=new t.constructor(t.byteLength);return new ot(e).set(new ot(t)),e}function Wt(t,e,r,n){r||(r={});for(var o=-1,a=e.length;++o<a;){var i=e[o],c=n?n(r[i],t[i],i,r,t):void 0;It(r,i,void 0===c?t[i]:c)}return r}function Kt(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function Ft(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return xt(r)?r:void 0}kt.prototype.clear=function(){this.__data__=dt?dt(null):{}},kt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},kt.prototype.get=function(t){var e=this.__data__;if(dt){var r=e[t];return r===o?void 0:r}return Z.call(e,t)?e[t]:void 0},kt.prototype.has=function(t){var e=this.__data__;return dt?void 0!==e[t]:Z.call(e,t)},kt.prototype.set=function(t,e){return this.__data__[t]=dt&&void 0===e?o:e,this},$t.prototype.clear=function(){this.__data__=[]},$t.prototype.delete=function(t){var e=this.__data__,r=Tt(e,t);return!(r<0||(r==e.length-1?e.pop():ut.call(e,r,1),0))},$t.prototype.get=function(t){var e=this.__data__,r=Tt(e,t);return r<0?void 0:e[r][1]},$t.prototype.has=function(t){return Tt(this.__data__,t)>-1},$t.prototype.set=function(t,e){var r=this.__data__,n=Tt(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},St.prototype.clear=function(){this.__data__={hash:new kt,map:new(yt||$t),string:new kt}},St.prototype.delete=function(t){return Kt(this,t).delete(t)},St.prototype.get=function(t){return Kt(this,t).get(t)},St.prototype.has=function(t){return Kt(this,t).has(t)},St.prototype.set=function(t,e){return Kt(this,t).set(t,e),this},Et.prototype.clear=function(){this.__data__=new $t},Et.prototype.delete=function(t){return this.__data__.delete(t)},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,e){var r=this.__data__;if(r instanceof $t){var o=r.__data__;if(!yt||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new St(o)}return r.set(t,e),this};var Ct=st?H(st,Object):function(){return[]},Vt=function(t){return tt.call(t)};function Dt(t,e){return!!(e=null==e?a:e)&&("number"==typeof t||T.test(t))&&t>-1&&t%1==0&&t<e}function Lt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||z)}function Rt(t){if(null!=t){try{return Y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Bt(t,e){return t===e||t!=t&&e!=e}(pt&&Vt(new pt(new ArrayBuffer(1)))!=_||yt&&Vt(new yt)!=l||ht&&"[object Promise]"!=Vt(ht.resolve())||gt&&Vt(new gt)!=g||bt&&"[object WeakMap]"!=Vt(new bt))&&(Vt=function(t){var e=tt.call(t),r=e==y?t.constructor:void 0,n=r?Rt(r):void 0;if(n)switch(n){case vt:return _;case _t:return l;case jt:return"[object Promise]";case mt:return g;case wt:return"[object WeakMap]"}return e});var Ht=Array.isArray;function Ut(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}(t.length)&&!Gt(t)}var Jt=ft||function(){return!1};function Gt(t){var e=qt(t)?tt.call(t):"";return e==s||e==f}function qt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function zt(t){return Ut(t)?Mt(t):function(t){if(!Lt(t))return lt(t);var e=[];for(var r in Object(t))Z.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}t.exports=function(t){return Pt(t,!0,!0)}});const xt=Array.isArray;function Nt(t,e,r){function n(t){return"string"==typeof t}const o=Object.assign({},{arrayVsArrayAllMustBeFound:"any"},r);if(0===arguments.length)throw new Error("array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_01] all inputs missing!");if(1===arguments.length)throw new Error("array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_02] second argument missing!");if(!xt(t)){if(!n(t))throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_03] first argument must be an array! It was given as ${typeof t}`);t=[t]}if(!n(e)&&!xt(e))throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_04] second argument must be a string or array of strings! It was given as ${typeof e}`);if("any"!==o.arrayVsArrayAllMustBeFound&&"all"!==o.arrayVsArrayAllMustBeFound)throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_05] opts.arrayVsArrayAllMustBeFound was customised to an unrecognised value, ${o.arrayVsArrayAllMustBeFound}. It must be equal to either "any" or "all".`);if(0===t.length)return!1;const a=t.filter(t=>(function(t){return null!=t})(t));return 0!==a.length&&(n(e)?a.some(t=>mt.isMatch(t,e,{caseSensitive:!0})):"any"===o.arrayVsArrayAllMustBeFound?e.some(t=>a.some(e=>mt.isMatch(e,t,{caseSensitive:!0}))):e.every(t=>a.some(e=>mt.isMatch(e,t,{caseSensitive:!0}))))}var Wt=1/0,Kt=9007199254740991,Ft=1.7976931348623157e308,Ct=NaN,Vt="[object Arguments]",Dt="[object Function]",Lt="[object GeneratorFunction]",Rt="[object String]",Bt="[object Symbol]",Ht=/^\s+|\s+$/g,Ut=/^[-+]0x[0-9a-f]+$/i,Jt=/^0b[01]+$/i,Gt=/^0o[0-7]+$/i,qt=/^(?:0|[1-9]\d*)$/,zt=parseInt;function Qt(t){return t!=t}function Xt(t,e){return function(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}(e,function(e){return t[e]})}var Yt=Object.prototype,Zt=Yt.hasOwnProperty,te=Yt.toString,ee=Yt.propertyIsEnumerable,re=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),ne=Math.max;function oe(t,e){var r=ce(t)||function(t){return function(t){return fe(t)&&ue(t)}(t)&&Zt.call(t,"callee")&&(!ee.call(t,"callee")||te.call(t)==Vt)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var a in t)!e&&!Zt.call(t,a)||o&&("length"==a||ie(a,n))||r.push(a);return r}function ae(t){if(r=(e=t)&&e.constructor,n="function"==typeof r&&r.prototype||Yt,e!==n)return re(t);var e,r,n,o=[];for(var a in Object(t))Zt.call(t,a)&&"constructor"!=a&&o.push(a);return o}function ie(t,e){return!!(e=null==e?Kt:e)&&("number"==typeof t||qt.test(t))&&t>-1&&t%1==0&&t<e}var ce=Array.isArray;function ue(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Kt}(t.length)&&!function(t){var e=se(t)?te.call(t):"";return e==Dt||e==Lt}(t)}function se(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function fe(t){return!!t&&"object"==typeof t}var le=function(t,e,r,n){var o;t=ue(t)?t:(o=t)?Xt(o,function(t){return ue(t)?oe(t):ae(t)}(o)):[],r=r&&!n?function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||fe(t)&&te.call(t)==Bt}(t))return Ct;if(se(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=se(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Ht,"");var r=Jt.test(t);return r||Gt.test(t)?zt(t.slice(2),r?2:8):Ut.test(t)?Ct:+t}(t))===Wt||t===-Wt){var e=t<0?-1:1;return e*Ft}return t==t?t:0}(t),r=e%1;return e==e?r?e-r:e:0}(r):0;var a=t.length;return r<0&&(r=ne(a+r,0)),function(t){return"string"==typeof t||!ce(t)&&fe(t)&&te.call(t)==Rt}(t)?r<=a&&t.indexOf(e,r)>-1:!!a&&function(t,e,r){if(e!=e)return function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,Qt,r);for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}(t,e,r)>-1},pe=200,ye="__lodash_hash_undefined__",he="[object Function]",ge="[object GeneratorFunction]",be=/^\[object .+?Constructor\]$/,de="object"==typeof e&&e&&e.Object===Object&&e,ve="object"==typeof self&&self&&self.Object===Object&&self,_e=de||ve||Function("return this")();function je(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,a=r+(n?1:-1);for(;n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,we,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function me(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function we(t){return t!=t}function Oe(t,e){return t.has(e)}function Ae(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var ke=Array.prototype,$e=Function.prototype,Se=Object.prototype,Ee=_e["__core-js_shared__"],Me=function(){var t=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ie=$e.toString,Te=Se.hasOwnProperty,Pe=Se.toString,xe=RegExp("^"+Ie.call(Te).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ne=ke.splice,We=Je(_e,"Map"),Ke=Je(_e,"Set"),Fe=Je(Object,"create");function Ce(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Ve(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function De(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Le(t){var e=-1,r=t?t.length:0;for(this.__data__=new De;++e<r;)this.add(t[e])}function Re(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function Be(t){return!(!Ge(t)||(e=t,Me&&Me in e))&&(function(t){var e=Ge(t)?Pe.call(t):"";return e==he||e==ge}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?xe:be).test(function(t){if(null!=t){try{return Ie.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}Ce.prototype.clear=function(){this.__data__=Fe?Fe(null):{}},Ce.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Ce.prototype.get=function(t){var e=this.__data__;if(Fe){var r=e[t];return r===ye?void 0:r}return Te.call(e,t)?e[t]:void 0},Ce.prototype.has=function(t){var e=this.__data__;return Fe?void 0!==e[t]:Te.call(e,t)},Ce.prototype.set=function(t,e){return this.__data__[t]=Fe&&void 0===e?ye:e,this},Ve.prototype.clear=function(){this.__data__=[]},Ve.prototype.delete=function(t){var e=this.__data__,r=Re(e,t);return!(r<0||(r==e.length-1?e.pop():Ne.call(e,r,1),0))},Ve.prototype.get=function(t){var e=this.__data__,r=Re(e,t);return r<0?void 0:e[r][1]},Ve.prototype.has=function(t){return Re(this.__data__,t)>-1},Ve.prototype.set=function(t,e){var r=this.__data__,n=Re(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},De.prototype.clear=function(){this.__data__={hash:new Ce,map:new(We||Ve),string:new Ce}},De.prototype.delete=function(t){return Ue(this,t).delete(t)},De.prototype.get=function(t){return Ue(this,t).get(t)},De.prototype.has=function(t){return Ue(this,t).has(t)},De.prototype.set=function(t,e){return Ue(this,t).set(t,e),this},Le.prototype.add=Le.prototype.push=function(t){return this.__data__.set(t,ye),this},Le.prototype.has=function(t){return this.__data__.has(t)};var He=Ke&&1/Ae(new Ke([,-0]))[1]==1/0?function(t){return new Ke(t)}:function(){};function Ue(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function Je(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Be(r)?r:void 0}function Ge(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var qe=function(t){return t&&t.length?function(t,e,r){var n=-1,o=je,a=t.length,i=!0,c=[],u=c;if(r)i=!1,o=me;else if(a>=pe){var s=e?null:He(t);if(s)return Ae(s);i=!1,o=Oe,u=new Le}else u=e?[]:c;t:for(;++n<a;){var f=t[n],l=e?e(f):f;if(f=r||0!==f?f:0,i&&l==l){for(var p=u.length;p--;)if(u[p]===l)continue t;e&&u.push(l),c.push(f)}else o(u,l,r)||(u!==c&&u.push(l),c.push(f))}return c}(t):[]};function ze(t){return 0!==arguments.length&&void 0!==t&&(e=t,Array.isArray(e)||function(t){return"string"==typeof t}(t)?t.length>0:Tt(t)?Object.keys(t).length>0:!!function(t){return"number"==typeof t}(t));var e}function Qe(t){return void 0===t?"undefined":null===t?"null":String(t)+" ("+typeof t+")"}function Xe(t,e,r){if(!Array.isArray(t))throw new TypeError("Expected the first argument of array-includes-all to be an array, but got "+Qe(t)+".");if(!Array.isArray(e))throw new TypeError("Expected the second argument of array-includes-all to be an array, but got "+Qe(e)+".");if(0===e.length)throw new RangeError("Expected the second argument of array-includes-all to include at least one value, but recieved an empty array.");return 0!==t.length&&e.every(function(e){return t.includes(e,r)})}function Ye(t){return Array.isArray(t)}function Ze(t){return"string"==typeof t}function tr(t){return"boolean"==typeof t}function er(t){return!!t&&t.some(t=>"string"==typeof t)}function rr(t){return Tt(t)?"object":Ye(t)?"array":typeof t}function nr(t,e,r){if(0===arguments.length)throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_01] Both inputs are missing");return function t(e,r,n,o={}){if(!Tt(o))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_02] Options object, the third argument, must be a plain object");const a={cb:null,mergeObjectsOnlyWhenKeysetMatches:!0,ignoreKeys:[],hardMergeKeys:[],hardArrayConcatKeys:[],mergeArraysContainingStringsToBeEmpty:!1,oneToManyArrayObjectMerge:!1,hardMergeEverything:!1,hardArrayConcat:!1,ignoreEverything:!1,concatInsteadOfMerging:!0,dedupeStringsInArrayValues:!1,mergeBoolsUsingOrNotAnd:!0,useNullAsExplicitFalse:!1},i=Object.assign(Pt(a),o);let c;if(i.ignoreKeys=pt(i.ignoreKeys),i.hardMergeKeys=pt(i.hardMergeKeys),wt(i,a,{msg:"object-merge-advanced/mergeAdvanced(): [THROW_ID_06*]",schema:{cb:["null","undefined","false","function"]}}),i.hardMergeKeys.includes("*")&&(i.hardMergeEverything=!0),i.ignoreKeys.includes("*")&&(i.ignoreEverything=!0),i.useNullAsExplicitFalse&&(null===r||null===n))return i.cb?i.cb(r,n,null,{path:e.path,key:e.key,type:e.type}):null;let u=Ye(r)||Tt(r)?Pt(r):r;const s=Ye(n)||Tt(n)?Pt(n):n;let f;i.ignoreEverything?f=u:i.hardMergeEverything&&(f=s);const l=i.hardMergeEverything||i.ignoreEverything;if(!Ye(u)){if(Tt(u)){if(ze(u)){if(Ye(s)){if(ze(s)){const t=l?f:s;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}const t=l?f:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(Tt(s))return Object.keys(s).forEach(r=>{c=e.path&&e.path.length?`${e.path}.${r}`:`${r}`,u.hasOwnProperty(r)?Nt(r,i.ignoreKeys)?u[r]=t({path:c,key:r,type:[rr(u),rr(s)]},u[r],s[r],Object.assign({},i,{ignoreEverything:!0})):Nt(r,i.hardMergeKeys)?u[r]=t({path:c,key:r,type:[rr(u),rr(s)]},u[r],s[r],Object.assign({},i,{hardMergeEverything:!0})):Nt(r,i.hardArrayConcatKeys)?u[r]=t({path:c,key:r,type:[rr(u),rr(s)]},u[r],s[r],Object.assign({},i,{hardArrayConcat:!0})):u[r]=t({path:c,key:r,type:[rr(u),rr(s)]},u[r],s[r],i):u[r]=s[r]}),u;const r=l?f:u;return i.cb?i.cb(u,s,r,{path:e.path,key:e.key,type:e.type}):r}if(Ye(s)||Tt(s)||ze(s)){const t=l?f:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const r=l?f:u;return i.cb?i.cb(u,s,r,{path:e.path,key:e.key,type:e.type}):r}if(Ze(u)){if(ze(u)){if((Ye(s)||Tt(s)||Ze(s))&&ze(s)){const t=l?f:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=l?f:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null!=s&&!tr(s)){const t=l?f:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=l?f:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if("number"==typeof u){if(ze(s)){const t=l?f:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=l?f:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(tr(u)){if(tr(s)){if(i.mergeBoolsUsingOrNotAnd){const t=l?f:u||s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=l?f:u&&s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null!=s){const t=l?f:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=l?f:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null===u){if(null!=s){const t=l?f:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=l?f:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}{const t=l?f:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}}if(!ze(u)){if(ze(s)){const t=l?f:s;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}const t=l?f:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(!Ye(s)||!ze(s)){const t=l?f:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}{if(i.mergeArraysContainingStringsToBeEmpty&&(er(u)||er(s))){const t=l?f:[];return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(i.hardArrayConcat){const t=l?f:u.concat(s);return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}let r=[];for(let n=0,o=Math.max(u.length,s.length);n<o;n++)c=e.path.length?`${e.path}.${n}`:`${n}`,Tt(u[n])&&Tt(s[n])&&(i.mergeObjectsOnlyWhenKeysetMatches&&(p=u[n],y=s[n],0===Object.keys(p).length||0===Object.keys(y).length||Xe(Object.keys(p),Object.keys(y))||Xe(Object.keys(y),Object.keys(p)))||!i.mergeObjectsOnlyWhenKeysetMatches)?r.push(t({path:c,key:e.key,type:[rr(u),rr(s)]},u[n],s[n],i)):!i.oneToManyArrayObjectMerge||1!==u.length&&1!==s.length?i.concatInsteadOfMerging?(n<u.length&&r.push(u[n]),n<s.length&&r.push(s[n])):(n<u.length&&r.push(u[n]),n<s.length&&!le(u,s[n])&&r.push(s[n])):r.push(1===u.length?t({path:c,key:e.key,type:[rr(u),rr(s)]},u[0],s[n],i):t({path:c,key:e.key,type:[rr(u),rr(s)]},u[n],s[0],i));i.dedupeStringsInArrayValues&&r.every(t=>Ze(t))&&(r=qe(r).sort()),u=Pt(r)}var p,y;const h=l?f:u;return i.cb?i.cb(u,s,h,{path:e.path,key:e.key,type:e.type}):h}({key:null,path:"",type:[rr(t),rr(e)]},t,e,r)}var or=Array.isArray;return function(e,r){if(!or(e))throw new Error("array-of-arrays-into-ast: [THROW_ID_01] input must be array. Currently it's of a type ".concat(t(e)," equal to:\n").concat(JSON.stringify(e,null,4)));if(0===e.length)return{};var n={dedupe:!0};wt(r=Object.assign({},n,r),n,{msg:"array-of-arrays-into-ast: [THROW_ID_02*]",optsVarName:"opts"});var o,a={};return e.forEach(function(t){for(var e,n,o,i=null,c=t.length;c--;)e={},n=t[c],o=[i],n in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,i=e;a=nr(a,i,{concatInsteadOfMerging:!r.dedupe})}),o=a,Object.keys(o).sort().reduce(function(t,e){return t[e]=o[e],t},{})}}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).arrayOfArraysIntoAst=e()}(this,function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,e){return t(e={exports:{}},e.exports),e.exports}var n=r(function(t,r){var n,o,a,i,c,u,s,f,y,p,l,h,g,b,d,v,_,m,j,w;t.exports=(n="function"==typeof Promise,o="object"==typeof self?self:e,a="undefined"!=typeof Symbol,i="undefined"!=typeof Map,c="undefined"!=typeof Set,u="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,f="undefined"!=typeof DataView,y=a&&void 0!==Symbol.iterator,p=a&&void 0!==Symbol.toStringTag,l=c&&"function"==typeof Set.prototype.entries,h=i&&"function"==typeof Map.prototype.entries,g=l&&Object.getPrototypeOf((new Set).entries()),b=h&&Object.getPrototypeOf((new Map).entries()),d=y&&"function"==typeof Array.prototype[Symbol.iterator],v=d&&Object.getPrototypeOf([][Symbol.iterator]()),_=y&&"function"==typeof String.prototype[Symbol.iterator],m=_&&Object.getPrototypeOf(""[Symbol.iterator]()),j=8,w=-1,function(t){var e=typeof t;if("object"!==e)return e;if(null===t)return"null";if(t===o)return"global";if(Array.isArray(t)&&(!1===p||!(Symbol.toStringTag in t)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&t===window.location)return"Location";if("object"==typeof window.document&&t===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&t===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&t===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&t instanceof window.HTMLElement){if("BLOCKQUOTE"===t.tagName)return"HTMLQuoteElement";if("TD"===t.tagName)return"HTMLTableDataCellElement";if("TH"===t.tagName)return"HTMLTableHeaderCellElement"}}var r=p&&t[Symbol.toStringTag];if("string"==typeof r)return r;var a=Object.getPrototypeOf(t);return a===RegExp.prototype?"RegExp":a===Date.prototype?"Date":n&&a===Promise.prototype?"Promise":c&&a===Set.prototype?"Set":i&&a===Map.prototype?"Map":s&&a===WeakSet.prototype?"WeakSet":u&&a===WeakMap.prototype?"WeakMap":f&&a===DataView.prototype?"DataView":i&&a===b?"Map Iterator":c&&a===g?"Set Iterator":d&&a===v?"Array Iterator":_&&a===m?"String Iterator":null===a?"Object":Object.prototype.toString.call(t).slice(j,w)})});function o(t,e,r){if(e!=e)return function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,i,r);for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}function a(t,e,r,n){for(var o=r-1,a=t.length;++o<a;)if(n(t[o],e))return o;return-1}function i(t){return t!=t}var c=Array.prototype.splice;function u(t,e,r,n){var i,u=n?a:o,s=-1,f=e.length,y=t;for(t===e&&(e=function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(e)),r&&(y=function(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}(t,(i=r,function(t){return i(t)})));++s<f;)for(var p=0,l=e[s],h=r?r(l):l;(p=u(y,h,p,n))>-1;)y!==t&&c.call(y,p,1),c.call(t,p,1);return t}var s=function(t,e){return t&&t.length&&e&&e.length?u(t,e):t},f=r(function(t,r){var n=200,o="__lodash_hash_undefined__",a=9007199254740991,i="[object Arguments]",c="[object Boolean]",u="[object Date]",s="[object Function]",f="[object GeneratorFunction]",y="[object Map]",p="[object Number]",l="[object Object]",h="[object RegExp]",g="[object Set]",b="[object String]",d="[object Symbol]",v="[object ArrayBuffer]",_="[object DataView]",m="[object Float32Array]",j="[object Float64Array]",w="[object Int8Array]",O="[object Int16Array]",k="[object Int32Array]",A="[object Uint8Array]",$="[object Uint8ClampedArray]",S="[object Uint16Array]",E="[object Uint32Array]",M=/\w*$/,T=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,N={};N[i]=N["[object Array]"]=N[v]=N[_]=N[c]=N[u]=N[m]=N[j]=N[w]=N[O]=N[k]=N[y]=N[p]=N[l]=N[h]=N[g]=N[b]=N[d]=N[A]=N[$]=N[S]=N[E]=!0,N["[object Error]"]=N[s]=N["[object WeakMap]"]=!1;var P="object"==typeof e&&e&&e.Object===Object&&e,x="object"==typeof self&&self&&self.Object===Object&&self,K=P||x||Function("return this")(),W=r&&!r.nodeType&&r,C=W&&t&&!t.nodeType&&t,F=C&&C.exports===W;function V(t,e){return t.set(e[0],e[1]),t}function D(t,e){return t.add(e),t}function L(t,e,r,n){var o=-1,a=t?t.length:0;for(n&&a&&(r=t[++o]);++o<a;)r=e(r,t[o],o,t);return r}function R(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function B(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function H(t,e){return function(r){return t(e(r))}}function J(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var G,U=Array.prototype,q=Function.prototype,z=Object.prototype,Q=K["__core-js_shared__"],X=(G=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"",Y=q.toString,Z=z.hasOwnProperty,tt=z.toString,et=RegExp("^"+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=F?K.Buffer:void 0,nt=K.Symbol,ot=K.Uint8Array,at=H(Object.getPrototypeOf,Object),it=Object.create,ct=z.propertyIsEnumerable,ut=U.splice,st=Object.getOwnPropertySymbols,ft=rt?rt.isBuffer:void 0,yt=H(Object.keys,Object),pt=Ct(K,"DataView"),lt=Ct(K,"Map"),ht=Ct(K,"Promise"),gt=Ct(K,"Set"),bt=Ct(K,"WeakMap"),dt=Ct(Object,"create"),vt=Rt(pt),_t=Rt(lt),mt=Rt(ht),jt=Rt(gt),wt=Rt(bt),Ot=nt?nt.prototype:void 0,kt=Ot?Ot.valueOf:void 0;function At(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function $t(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function St(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Et(t){this.__data__=new $t(t)}function Mt(t,e){var r=Ht(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Jt(t)}(t)&&Z.call(t,"callee")&&(!ct.call(t,"callee")||tt.call(t)==i)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var a in t)!e&&!Z.call(t,a)||o&&("length"==a||Dt(a,n))||r.push(a);return r}function Tt(t,e,r){var n=t[e];Z.call(t,e)&&Bt(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function It(t,e){for(var r=t.length;r--;)if(Bt(t[r][0],e))return r;return-1}function Nt(t,e,r,n,o,a,T){var I;if(n&&(I=a?n(t,o,a,T):n(t)),void 0!==I)return I;if(!qt(t))return t;var P=Ht(t);if(P){if(I=function(t){var e=t.length,r=t.constructor(e);e&&"string"==typeof t[0]&&Z.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!e)return function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(t,I)}else{var x=Vt(t),K=x==s||x==f;if(Gt(t))return function(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}(t,e);if(x==l||x==i||K&&!a){if(R(t))return a?t:{};if(I=function(t){return"function"!=typeof t.constructor||Lt(t)?{}:(e=at(t),qt(e)?it(e):{});var e}(K?{}:t),!e)return function(t,e){return Kt(t,Ft(t),e)}(t,function(t,e){return t&&Kt(e,zt(e),t)}(I,t))}else{if(!N[x])return a?t:{};I=function(t,e,r,n){var o=t.constructor;switch(e){case v:return xt(t);case c:case u:return new o(+t);case _:return function(t,e){var r=e?xt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,n);case m:case j:case w:case O:case k:case A:case $:case S:case E:return function(t,e){var r=e?xt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,n);case y:return function(t,e,r){return L(e?r(B(t),!0):B(t),V,new t.constructor)}(t,n,r);case p:case b:return new o(t);case h:return(s=new(i=t).constructor(i.source,M.exec(i))).lastIndex=i.lastIndex,s;case g:return function(t,e,r){return L(e?r(J(t),!0):J(t),D,new t.constructor)}(t,n,r);case d:return a=t,kt?Object(kt.call(a)):{}}var a;var i,s}(t,x,Nt,e)}}T||(T=new Et);var W=T.get(t);if(W)return W;if(T.set(t,I),!P)var C=r?function(t){return function(t,e,r){var n=e(t);return Ht(t)?n:function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}(n,r(t))}(t,zt,Ft)}(t):zt(t);return function(t,e){for(var r=-1,n=t?t.length:0;++r<n&&!1!==e(t[r],r,t););}(C||t,function(o,a){C&&(o=t[a=o]),Tt(I,a,Nt(o,e,r,n,a,t,T))}),I}function Pt(t){return!(!qt(t)||(e=t,X&&X in e))&&(Ut(t)||R(t)?et:T).test(Rt(t));var e}function xt(t){var e=new t.constructor(t.byteLength);return new ot(e).set(new ot(t)),e}function Kt(t,e,r,n){r||(r={});for(var o=-1,a=e.length;++o<a;){var i=e[o],c=n?n(r[i],t[i],i,r,t):void 0;Tt(r,i,void 0===c?t[i]:c)}return r}function Wt(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function Ct(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Pt(r)?r:void 0}At.prototype.clear=function(){this.__data__=dt?dt(null):{}},At.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},At.prototype.get=function(t){var e=this.__data__;if(dt){var r=e[t];return r===o?void 0:r}return Z.call(e,t)?e[t]:void 0},At.prototype.has=function(t){var e=this.__data__;return dt?void 0!==e[t]:Z.call(e,t)},At.prototype.set=function(t,e){return this.__data__[t]=dt&&void 0===e?o:e,this},$t.prototype.clear=function(){this.__data__=[]},$t.prototype.delete=function(t){var e=this.__data__,r=It(e,t);return!(r<0||(r==e.length-1?e.pop():ut.call(e,r,1),0))},$t.prototype.get=function(t){var e=this.__data__,r=It(e,t);return r<0?void 0:e[r][1]},$t.prototype.has=function(t){return It(this.__data__,t)>-1},$t.prototype.set=function(t,e){var r=this.__data__,n=It(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},St.prototype.clear=function(){this.__data__={hash:new At,map:new(lt||$t),string:new At}},St.prototype.delete=function(t){return Wt(this,t).delete(t)},St.prototype.get=function(t){return Wt(this,t).get(t)},St.prototype.has=function(t){return Wt(this,t).has(t)},St.prototype.set=function(t,e){return Wt(this,t).set(t,e),this},Et.prototype.clear=function(){this.__data__=new $t},Et.prototype.delete=function(t){return this.__data__.delete(t)},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,e){var r=this.__data__;if(r instanceof $t){var o=r.__data__;if(!lt||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new St(o)}return r.set(t,e),this};var Ft=st?H(st,Object):function(){return[]},Vt=function(t){return tt.call(t)};function Dt(t,e){return!!(e=null==e?a:e)&&("number"==typeof t||I.test(t))&&t>-1&&t%1==0&&t<e}function Lt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||z)}function Rt(t){if(null!=t){try{return Y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Bt(t,e){return t===e||t!=t&&e!=e}(pt&&Vt(new pt(new ArrayBuffer(1)))!=_||lt&&Vt(new lt)!=y||ht&&"[object Promise]"!=Vt(ht.resolve())||gt&&Vt(new gt)!=g||bt&&"[object WeakMap]"!=Vt(new bt))&&(Vt=function(t){var e=tt.call(t),r=e==l?t.constructor:void 0,n=r?Rt(r):void 0;if(n)switch(n){case vt:return _;case _t:return y;case mt:return"[object Promise]";case jt:return g;case wt:return"[object WeakMap]"}return e});var Ht=Array.isArray;function Jt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}(t.length)&&!Ut(t)}var Gt=ft||function(){return!1};function Ut(t){var e=qt(t)?tt.call(t):"";return e==s||e==f}function qt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function zt(t){return Jt(t)?Mt(t):function(t){if(!Lt(t))return yt(t);var e=[];for(var r in Object(t))Z.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}t.exports=function(t){return Nt(t,!0,!0)}}),y="[object Object]";var p,l,h=Function.prototype,g=Object.prototype,b=h.toString,d=g.hasOwnProperty,v=b.call(Object),_=g.toString,m=(p=Object.getPrototypeOf,l=Object,function(t){return p(l(t))});var j=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||_.call(t)!=y||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=m(t);if(null===e)return!0;var r=d.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&b.call(r)==v};const w=Array.isArray;function O(t){return"string"==typeof t&&t.length>0&&"."===t[0]?t.slice(1):t}function k(t,e){return function t(e,r,n){const o=f(e);let a,i,c,u,s;if((n=Object.assign({depth:-1,path:""},n)).depth+=1,w(o))for(a=0,i=o.length;a<i;a++){const e=`${n.path}.${a}`;void 0!==o[a]?(n.parent=f(o),c=t(r(o[a],void 0,Object.assign({},n,{path:O(e)})),r,Object.assign({},n,{path:O(e)})),Number.isNaN(c)&&a<o.length?(o.splice(a,1),a-=1):o[a]=c):o.splice(a,1)}else if(j(o))for(a=0,i=(u=Object.keys(o)).length;a<i;a++){s=u[a];const e=`${n.path}.${s}`;0===n.depth&&null!=s&&(n.topmostKey=s),n.parent=f(o),c=t(r(s,o[s],Object.assign({},n,{path:O(e)})),r,Object.assign({},n,{path:O(e)})),Number.isNaN(c)?delete o[s]:o[s]=c}return o}(t,e,{})}var A="__lodash_hash_undefined__",$=9007199254740991,S="[object Function]",E="[object GeneratorFunction]",M=/^\[object .+?Constructor\]$/,T="object"==typeof e&&e&&e.Object===Object&&e,I="object"==typeof self&&self&&self.Object===Object&&self,N=T||I||Function("return this")();function P(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,a=r+(n?1:-1);for(;n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,W,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function x(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function K(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}function W(t){return t!=t}function C(t){return function(e){return t(e)}}function F(t,e){return t.has(e)}var V,D=Array.prototype,L=Function.prototype,R=Object.prototype,B=N["__core-js_shared__"],H=(V=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",J=L.toString,G=R.hasOwnProperty,U=R.toString,q=RegExp("^"+J.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=D.splice,Q=Math.max,X=Math.min,Y=ut(N,"Map"),Z=ut(Object,"create");function tt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function et(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function rt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function nt(t){var e=-1,r=t?t.length:0;for(this.__data__=new rt;++e<r;)this.add(t[e])}function ot(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function at(t){return!(!ft(t)||(e=t,H&&H in e))&&(st(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?q:M).test(function(t){if(null!=t){try{return J.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function it(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&function(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=$}(t.length)&&!st(t)}(t)}(t)?t:[]}function ct(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function ut(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return at(r)?r:void 0}function st(t){var e=ft(t)?U.call(t):"";return e==S||e==E}function ft(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}tt.prototype.clear=function(){this.__data__=Z?Z(null):{}},tt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},tt.prototype.get=function(t){var e=this.__data__;if(Z){var r=e[t];return r===A?void 0:r}return G.call(e,t)?e[t]:void 0},tt.prototype.has=function(t){var e=this.__data__;return Z?void 0!==e[t]:G.call(e,t)},tt.prototype.set=function(t,e){return this.__data__[t]=Z&&void 0===e?A:e,this},et.prototype.clear=function(){this.__data__=[]},et.prototype.delete=function(t){var e=this.__data__,r=ot(e,t);return!(r<0||(r==e.length-1?e.pop():z.call(e,r,1),0))},et.prototype.get=function(t){var e=this.__data__,r=ot(e,t);return r<0?void 0:e[r][1]},et.prototype.has=function(t){return ot(this.__data__,t)>-1},et.prototype.set=function(t,e){var r=this.__data__,n=ot(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},rt.prototype.clear=function(){this.__data__={hash:new tt,map:new(Y||et),string:new tt}},rt.prototype.delete=function(t){return ct(this,t).delete(t)},rt.prototype.get=function(t){return ct(this,t).get(t)},rt.prototype.has=function(t){return ct(this,t).has(t)},rt.prototype.set=function(t,e){return ct(this,t).set(t,e),this},nt.prototype.add=nt.prototype.push=function(t){return this.__data__.set(t,A),this},nt.prototype.has=function(t){return this.__data__.has(t)};var yt=function(t,e){return e=Q(void 0===e?t.length-1:e,0),function(){for(var r=arguments,n=-1,o=Q(r.length-e,0),a=Array(o);++n<o;)a[n]=r[e+n];n=-1;for(var i=Array(e+1);++n<e;)i[n]=r[n];return i[e]=a,function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,i)}}(function(t){var e=K(t,it);return e.length&&e[0]===t[0]?function(t,e,r){for(var n=r?x:P,o=t[0].length,a=t.length,i=a,c=Array(a),u=1/0,s=[];i--;){var f=t[i];i&&e&&(f=K(f,C(e))),u=X(f.length,u),c[i]=!r&&(e||o>=120&&f.length>=120)?new nt(i&&f):void 0}f=t[0];var y=-1,p=c[0];t:for(;++y<o&&s.length<u;){var l=f[y],h=e?e(l):l;if(l=r||0!==l?l:0,!(p?F(p,h):n(s,h,r))){for(i=a;--i;){var g=c[i];if(!(g?F(g,h):n(t[i],h,r)))continue t}p&&p.push(h),s.push(l)}}return s}(e):[]});function pt(t){return"string"==typeof t?t.length>0?[t]:[]:t}var lt=r(function(t){t.exports=function(){var t=Object.prototype.toString;function e(t,e){return null!=t&&Object.prototype.hasOwnProperty.call(t,e)}function r(t){if(!t)return!0;if(o(t)&&0===t.length)return!0;if("string"!=typeof t){for(var r in t)if(e(t,r))return!1;return!0}return!1}function n(e){return t.call(e)}var o=Array.isArray||function(e){return"[object Array]"===t.call(e)};function a(t){var e=parseInt(t);return e.toString()===t?e:t}function i(t){t=t||{};var i=function(t){return Object.keys(i).reduce(function(e,r){return"create"===r?e:("function"==typeof i[r]&&(e[r]=i[r].bind(i,t)),e)},{})};function c(r,n){return t.includeInheritedProps||"number"==typeof n&&Array.isArray(r)||e(r,n)}function u(t,e){if(c(t,e))return t[e]}function s(t,e,r,n){if("number"==typeof e&&(e=[e]),!e||0===e.length)return t;if("string"==typeof e)return s(t,e.split(".").map(a),r,n);var o=e[0],i=u(t,o);return 1===e.length?(void 0!==i&&n||(t[o]=r),i):(void 0===i&&("number"==typeof e[1]?t[o]=[]:t[o]={}),s(t[o],e.slice(1),r,n))}return i.has=function(r,n){if("number"==typeof n?n=[n]:"string"==typeof n&&(n=n.split(".")),!n||0===n.length)return!!r;for(var i=0;i<n.length;i++){var c=a(n[i]);if(!("number"==typeof c&&o(r)&&c<r.length||(t.includeInheritedProps?c in Object(r):e(r,c))))return!1;r=r[c]}return!0},i.ensureExists=function(t,e,r){return s(t,e,r,!0)},i.set=function(t,e,r,n){return s(t,e,r,n)},i.insert=function(t,e,r,n){var a=i.get(t,e);n=~~n,o(a)||(a=[],i.set(t,e,a)),a.splice(n,0,r)},i.empty=function(t,e){var a,u;if(!r(e)&&null!=t&&(a=i.get(t,e))){if("string"==typeof a)return i.set(t,e,"");if(function(t){return"boolean"==typeof t||"[object Boolean]"===n(t)}(a))return i.set(t,e,!1);if("number"==typeof a)return i.set(t,e,0);if(o(a))a.length=0;else{if(!function(t){return"object"==typeof t&&"[object Object]"===n(t)}(a))return i.set(t,e,null);for(u in a)c(a,u)&&delete a[u]}}},i.push=function(t,e){var r=i.get(t,e);o(r)||(r=[],i.set(t,e,r)),r.push.apply(r,Array.prototype.slice.call(arguments,2))},i.coalesce=function(t,e,r){for(var n,o=0,a=e.length;o<a;o++)if(void 0!==(n=i.get(t,e[o])))return n;return r},i.get=function(t,e,r){if("number"==typeof e&&(e=[e]),!e||0===e.length)return t;if(null==t)return r;if("string"==typeof e)return i.get(t,e.split("."),r);var n=a(e[0]),o=u(t,n);return void 0===o?r:1===e.length?o:i.get(t[n],e.slice(1),r)},i.del=function(t,e){if("number"==typeof e&&(e=[e]),null==t)return t;if(r(e))return t;if("string"==typeof e)return i.del(t,e.split("."));var n=a(e[0]);return c(t,n)?1!==e.length?i.del(t[n],e.slice(1)):(o(t)?t.splice(n,1):delete t[n],t):t},i}var c=i();return c.create=i,c.withInheritedProps=i({includeInheritedProps:!0}),c}()}),ht=function(t){var e=t%100;if(e>=10&&e<=20)return"th";var r=t%10;return 1===r?"st":2===r?"nd":3===r?"rd":"th"};function gt(t){if("number"!=typeof t)throw new TypeError("Expected Number, got "+typeof t+" "+t);return t+ht(t)}gt.indicator=ht;var bt=gt,dt=/[|\\{}()[\]^$+*?.]/g,vt=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(dt,"\\$&")};const _t=new Map;function mt(t,e){const r=Object.assign({caseSensitive:!1},e),n=t+JSON.stringify(r);if(_t.has(n))return _t.get(n);const o="!"===t[0];o&&(t=t.slice(1)),t=vt(t).replace(/\\\*/g,".*");const a=new RegExp(`^${t}$`,r.caseSensitive?"":"i");return a.negated=o,_t.set(n,a),a}var jt=(t,e,r)=>{if(!Array.isArray(t)||!Array.isArray(e))throw new TypeError(`Expected two arrays, got ${typeof t} ${typeof e}`);if(0===e.length)return t;const n="!"===e[0][0];e=e.map(t=>mt(t,r));const o=[];for(const r of t){let t=n;for(const n of e)n.test(r)&&(t=!n.negated);t&&o.push(r)}return o};function wt(t,e,r){return function t(e,r,o,a=!0){const i=Object.prototype.hasOwnProperty;function c(t){return null!=t}function u(t){return"Object"===n(t)}function f(t,e){return e=pt(e),Array.from(t).filter(t=>!e.some(e=>jt.isMatch(t,e,{caseSensitive:!0})))}const y=["any","anything","every","everything","all","whatever","whatevs"],p=Array.isArray;if(!c(e))throw new Error("check-types-mini: [THROW_ID_01] First argument is missing!");const l={ignoreKeys:[],ignorePaths:[],acceptArrays:!1,acceptArraysIgnore:[],enforceStrictKeyset:!0,schema:{},msg:"check-types-mini",optsVarName:"opts"};let h;if(h=c(o)&&u(o)?Object.assign({},l,o):Object.assign({},l),c(h.ignoreKeys)&&h.ignoreKeys?h.ignoreKeys=pt(h.ignoreKeys):h.ignoreKeys=[],c(h.ignorePaths)&&h.ignorePaths?h.ignorePaths=pt(h.ignorePaths):h.ignorePaths=[],c(h.acceptArraysIgnore)&&h.acceptArraysIgnore?h.acceptArraysIgnore=pt(h.acceptArraysIgnore):h.acceptArraysIgnore=[],h.msg="string"==typeof h.msg?h.msg.trim():h.msg,":"===h.msg[h.msg.length-1]&&(h.msg=h.msg.slice(0,h.msg.length-1).trim()),h.schema&&(Object.keys(h.schema).forEach(t=>{if(u(h.schema[t])){const e={};k(h.schema[t],(r,n,o)=>{const a=void 0!==n?n:r;return p(a)||u(a)||(e[`${t}.${o.path}`]=a),a}),delete h.schema[t],h.schema=Object.assign(h.schema,e)}}),Object.keys(h.schema).forEach(t=>{p(h.schema[t])||(h.schema[t]=[h.schema[t]]),h.schema[t]=h.schema[t].map(String).map(t=>t.toLowerCase()).map(t=>t.trim())})),c(r)||(r={}),a&&t(h,l,{enforceStrictKeyset:!1},!1),h.enforceStrictKeyset)if(c(h.schema)&&Object.keys(h.schema).length>0){if(0!==f(s(Object.keys(e),Object.keys(r).concat(Object.keys(h.schema))),h.ignoreKeys).length){const t=s(Object.keys(e),Object.keys(r).concat(Object.keys(h.schema)));throw new TypeError(`${h.msg}: ${h.optsVarName}.enforceStrictKeyset is on and the following key${t.length>1?"s":""} ${t.length>1?"are":"is"} not covered by schema and/or reference objects: ${t.join(", ")}`)}}else{if(!(c(r)&&Object.keys(r).length>0))throw new TypeError(`${h.msg}: Both ${h.optsVarName}.schema and reference objects are missing! We don't have anything to match the keys as you requested via opts.enforceStrictKeyset!`);if(0!==f(s(Object.keys(e),Object.keys(r)),h.ignoreKeys).length){const t=s(Object.keys(e),Object.keys(r));throw new TypeError(`${h.msg}: The input object has key${t.length>1?"s":""} which ${t.length>1?"are":"is"} not covered by the reference object: ${t.join(", ")}`)}if(0!==f(s(Object.keys(r),Object.keys(e)),h.ignoreKeys).length){const t=s(Object.keys(r),Object.keys(e));throw new TypeError(`${h.msg}: The reference object has key${t.length>1?"s":""} which ${t.length>1?"are":"is"} not present in the input object: ${t.join(", ")}`)}}const g=[];k(e,(t,o,a)=>{const c=void 0!==o?o:t,s=void 0!==o?t:void 0;if(p(g)&&g.length&&g.some(t=>a.path.startsWith(t)))return c;if(s&&h.ignoreKeys.some(t=>jt.isMatch(s,t)))return c;if(h.ignorePaths.some(t=>jt.isMatch(a.path,t)))return c;const f=!(!u(c)&&!p(c)&&p(a.parent));let l=!1;u(h.schema)&&i.call(h.schema,lt.get(a.path))&&(l=!0);let b=!1;if(u(r)&<.has(r,lt.get(a.path))&&(b=!0),h.enforceStrictKeyset&&f&&!l&&!b)throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path} is neither covered by reference object (second input argument), nor ${h.optsVarName}.schema! To stop this error, turn off ${h.optsVarName}.enforceStrictKeyset or provide some type reference (2nd argument or ${h.optsVarName}.schema).\n\nDebug info:\n\nobj = ${JSON.stringify(e,null,4)}\n\nref = ${JSON.stringify(r,null,4)}\n\ninnerObj = ${JSON.stringify(a,null,4)}\n\nopts = ${JSON.stringify(h,null,4)}\n\ncurrent = ${JSON.stringify(c,null,4)}\n\n`);if(l){const t=pt(h.schema[a.path]).map(String).map(t=>t.toLowerCase());if(lt.set(h.schema,a.path,t),yt(t,y).length)g.push(a.path);else if(!0!==c&&!1!==c&&!t.includes(n(c).toLowerCase())||(!0===c||!1===c)&&!t.includes(String(c))&&!t.includes("boolean")){if(!p(c)||!h.acceptArrays)throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path} was customised to ${"string"!==n(c)?'"':""}${JSON.stringify(c,null,0)}${"string"!==n(c)?'"':""} (type: ${n(c).toLowerCase()}) which is not among the allowed types in schema (which is equal to ${JSON.stringify(t,null,0)})`);for(let e=0,r=c.length;e<r;e++)if(!t.includes(n(c[e]).toLowerCase()))throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path}.${e}, the ${bt(e+1)} element (equal to ${JSON.stringify(c[e],null,0)}) is of a type ${n(c[e]).toLowerCase()}, but only the following are allowed by the ${h.optsVarName}.schema: ${t.join(", ")}`)}}else if(b){const e=lt.get(r,a.path);if(h.acceptArrays&&p(c)&&!h.acceptArraysIgnore.includes(t)){if(!c.every(e=>n(e).toLowerCase()===n(r[t]).toLowerCase()))throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path} was customised to be array, but not all of its elements are ${n(r[t]).toLowerCase()}-type`)}else if(n(c)!==n(e))throw new TypeError(`${h.msg}: ${h.optsVarName}.${a.path} was customised to ${"string"===n(c).toLowerCase()?"":'"'}${JSON.stringify(c,null,0)}${"string"===n(c).toLowerCase()?"":'"'} which is not ${n(e).toLowerCase()} but ${n(c).toLowerCase()}`)}return c})}(t,e,r)}jt.isMatch=((t,e,r)=>{const n=mt(e,r),o=n.test(t);return n.negated?!o:o});const Ot=Array.isArray;function kt(t,e,r){function n(t){return"string"==typeof t}const o=Object.assign({},{arrayVsArrayAllMustBeFound:"any"},r);if(0===arguments.length)throw new Error("array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_01] all inputs missing!");if(1===arguments.length)throw new Error("array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_02] second argument missing!");if(!Ot(t)){if(!n(t))throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_03] first argument must be an array! It was given as ${typeof t}`);t=[t]}if(!n(e)&&!Ot(e))throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_04] second argument must be a string or array of strings! It was given as ${typeof e}`);if("any"!==o.arrayVsArrayAllMustBeFound&&"all"!==o.arrayVsArrayAllMustBeFound)throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_05] opts.arrayVsArrayAllMustBeFound was customised to an unrecognised value, ${o.arrayVsArrayAllMustBeFound}. It must be equal to either "any" or "all".`);if(0===t.length)return!1;const a=t.filter(t=>(function(t){return null!=t})(t));return 0!==a.length&&(n(e)?a.some(t=>jt.isMatch(t,e,{caseSensitive:!0})):"any"===o.arrayVsArrayAllMustBeFound?e.some(t=>a.some(e=>jt.isMatch(e,t,{caseSensitive:!0}))):e.every(t=>a.some(e=>jt.isMatch(e,t,{caseSensitive:!0}))))}var At=1/0,$t=9007199254740991,St=1.7976931348623157e308,Et=NaN,Mt="[object Arguments]",Tt="[object Function]",It="[object GeneratorFunction]",Nt="[object String]",Pt="[object Symbol]",xt=/^\s+|\s+$/g,Kt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,Ct=/^0o[0-7]+$/i,Ft=/^(?:0|[1-9]\d*)$/,Vt=parseInt;function Dt(t){return t!=t}function Lt(t,e){return function(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}(e,function(e){return t[e]})}var Rt=Object.prototype,Bt=Rt.hasOwnProperty,Ht=Rt.toString,Jt=Rt.propertyIsEnumerable,Gt=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),Ut=Math.max;function qt(t,e){var r=Xt(t)||function(t){return function(t){return te(t)&&Yt(t)}(t)&&Bt.call(t,"callee")&&(!Jt.call(t,"callee")||Ht.call(t)==Mt)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var a in t)!e&&!Bt.call(t,a)||o&&("length"==a||Qt(a,n))||r.push(a);return r}function zt(t){if(r=(e=t)&&e.constructor,n="function"==typeof r&&r.prototype||Rt,e!==n)return Gt(t);var e,r,n,o=[];for(var a in Object(t))Bt.call(t,a)&&"constructor"!=a&&o.push(a);return o}function Qt(t,e){return!!(e=null==e?$t:e)&&("number"==typeof t||Ft.test(t))&&t>-1&&t%1==0&&t<e}var Xt=Array.isArray;function Yt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=$t}(t.length)&&!function(t){var e=Zt(t)?Ht.call(t):"";return e==Tt||e==It}(t)}function Zt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function te(t){return!!t&&"object"==typeof t}var ee=function(t,e,r,n){var o;t=Yt(t)?t:(o=t)?Lt(o,function(t){return Yt(t)?qt(t):zt(t)}(o)):[],r=r&&!n?function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||te(t)&&Ht.call(t)==Pt}(t))return Et;if(Zt(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Zt(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(xt,"");var r=Wt.test(t);return r||Ct.test(t)?Vt(t.slice(2),r?2:8):Kt.test(t)?Et:+t}(t))===At||t===-At){var e=t<0?-1:1;return e*St}return t==t?t:0}(t),r=e%1;return e==e?r?e-r:e:0}(r):0;var a=t.length;return r<0&&(r=Ut(a+r,0)),function(t){return"string"==typeof t||!Xt(t)&&te(t)&&Ht.call(t)==Nt}(t)?r<=a&&t.indexOf(e,r)>-1:!!a&&function(t,e,r){if(e!=e)return function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,Dt,r);for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}(t,e,r)>-1},re=200,ne="__lodash_hash_undefined__",oe="[object Function]",ae="[object GeneratorFunction]",ie=/^\[object .+?Constructor\]$/,ce="object"==typeof e&&e&&e.Object===Object&&e,ue="object"==typeof self&&self&&self.Object===Object&&self,se=ce||ue||Function("return this")();function fe(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,a=r+(n?1:-1);for(;n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,pe,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function ye(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function pe(t){return t!=t}function le(t,e){return t.has(e)}function he(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var ge=Array.prototype,be=Function.prototype,de=Object.prototype,ve=se["__core-js_shared__"],_e=function(){var t=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),me=be.toString,je=de.hasOwnProperty,we=de.toString,Oe=RegExp("^"+me.call(je).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ke=ge.splice,Ae=We(se,"Map"),$e=We(se,"Set"),Se=We(Object,"create");function Ee(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Me(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Te(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Ie(t){var e=-1,r=t?t.length:0;for(this.__data__=new Te;++e<r;)this.add(t[e])}function Ne(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function Pe(t){return!(!Ce(t)||(e=t,_e&&_e in e))&&(function(t){var e=Ce(t)?we.call(t):"";return e==oe||e==ae}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Oe:ie).test(function(t){if(null!=t){try{return me.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}Ee.prototype.clear=function(){this.__data__=Se?Se(null):{}},Ee.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Ee.prototype.get=function(t){var e=this.__data__;if(Se){var r=e[t];return r===ne?void 0:r}return je.call(e,t)?e[t]:void 0},Ee.prototype.has=function(t){var e=this.__data__;return Se?void 0!==e[t]:je.call(e,t)},Ee.prototype.set=function(t,e){return this.__data__[t]=Se&&void 0===e?ne:e,this},Me.prototype.clear=function(){this.__data__=[]},Me.prototype.delete=function(t){var e=this.__data__,r=Ne(e,t);return!(r<0||(r==e.length-1?e.pop():ke.call(e,r,1),0))},Me.prototype.get=function(t){var e=this.__data__,r=Ne(e,t);return r<0?void 0:e[r][1]},Me.prototype.has=function(t){return Ne(this.__data__,t)>-1},Me.prototype.set=function(t,e){var r=this.__data__,n=Ne(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},Te.prototype.clear=function(){this.__data__={hash:new Ee,map:new(Ae||Me),string:new Ee}},Te.prototype.delete=function(t){return Ke(this,t).delete(t)},Te.prototype.get=function(t){return Ke(this,t).get(t)},Te.prototype.has=function(t){return Ke(this,t).has(t)},Te.prototype.set=function(t,e){return Ke(this,t).set(t,e),this},Ie.prototype.add=Ie.prototype.push=function(t){return this.__data__.set(t,ne),this},Ie.prototype.has=function(t){return this.__data__.has(t)};var xe=$e&&1/he(new $e([,-0]))[1]==1/0?function(t){return new $e(t)}:function(){};function Ke(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function We(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Pe(r)?r:void 0}function Ce(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var Fe=function(t){return t&&t.length?function(t,e,r){var n=-1,o=fe,a=t.length,i=!0,c=[],u=c;if(r)i=!1,o=ye;else if(a>=re){var s=e?null:xe(t);if(s)return he(s);i=!1,o=le,u=new Ie}else u=e?[]:c;t:for(;++n<a;){var f=t[n],y=e?e(f):f;if(f=r||0!==f?f:0,i&&y==y){for(var p=u.length;p--;)if(u[p]===y)continue t;e&&u.push(y),c.push(f)}else o(u,y,r)||(u!==c&&u.push(y),c.push(f))}return c}(t):[]};function Ve(t){return 0!==arguments.length&&void 0!==t&&(e=t,Array.isArray(e)||function(t){return"string"==typeof t}(t)?t.length>0:j(t)?Object.keys(t).length>0:!!function(t){return"number"==typeof t}(t));var e}function De(t){return void 0===t?"undefined":null===t?"null":String(t)+" ("+typeof t+")"}function Le(t,e,r){if(!Array.isArray(t))throw new TypeError("Expected the first argument of array-includes-all to be an array, but got "+De(t)+".");if(!Array.isArray(e))throw new TypeError("Expected the second argument of array-includes-all to be an array, but got "+De(e)+".");if(0===e.length)throw new RangeError("Expected the second argument of array-includes-all to include at least one value, but recieved an empty array.");return 0!==t.length&&e.every(function(e){return t.includes(e,r)})}function Re(t){return Array.isArray(t)}function Be(t){return"string"==typeof t}function He(t){return"boolean"==typeof t}function Je(t){return!!t&&t.some(t=>"string"==typeof t)}function Ge(t){return j(t)?"object":Re(t)?"array":typeof t}function Ue(t,e,r){if(0===arguments.length)throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_01] Both inputs are missing");return function t(e,r,n,o={}){if(!j(o))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_02] Options object, the third argument, must be a plain object");const a={cb:null,mergeObjectsOnlyWhenKeysetMatches:!0,ignoreKeys:[],hardMergeKeys:[],hardArrayConcatKeys:[],mergeArraysContainingStringsToBeEmpty:!1,oneToManyArrayObjectMerge:!1,hardMergeEverything:!1,hardArrayConcat:!1,ignoreEverything:!1,concatInsteadOfMerging:!0,dedupeStringsInArrayValues:!1,mergeBoolsUsingOrNotAnd:!0,useNullAsExplicitFalse:!1},i=Object.assign(f(a),o);let c;if(i.ignoreKeys=pt(i.ignoreKeys),i.hardMergeKeys=pt(i.hardMergeKeys),wt(i,a,{msg:"object-merge-advanced/mergeAdvanced(): [THROW_ID_06*]",schema:{cb:["null","undefined","false","function"]}}),i.hardMergeKeys.includes("*")&&(i.hardMergeEverything=!0),i.ignoreKeys.includes("*")&&(i.ignoreEverything=!0),i.useNullAsExplicitFalse&&(null===r||null===n))return i.cb?i.cb(r,n,null,{path:e.path,key:e.key,type:e.type}):null;let u=Re(r)||j(r)?f(r):r;const s=Re(n)||j(n)?f(n):n;let y;i.ignoreEverything?y=u:i.hardMergeEverything&&(y=s);const p=i.hardMergeEverything||i.ignoreEverything;if(!Re(u)){if(j(u)){if(Ve(u)){if(Re(s)){if(Ve(s)){const t=p?y:s;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}const t=p?y:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(j(s))return Object.keys(s).forEach(r=>{c=e.path&&e.path.length?`${e.path}.${r}`:`${r}`,u.hasOwnProperty(r)?kt(r,i.ignoreKeys)?u[r]=t({path:c,key:r,type:[Ge(u),Ge(s)]},u[r],s[r],Object.assign({},i,{ignoreEverything:!0})):kt(r,i.hardMergeKeys)?u[r]=t({path:c,key:r,type:[Ge(u),Ge(s)]},u[r],s[r],Object.assign({},i,{hardMergeEverything:!0})):kt(r,i.hardArrayConcatKeys)?u[r]=t({path:c,key:r,type:[Ge(u),Ge(s)]},u[r],s[r],Object.assign({},i,{hardArrayConcat:!0})):u[r]=t({path:c,key:r,type:[Ge(u),Ge(s)]},u[r],s[r],i):u[r]=s[r]}),u;const r=p?y:u;return i.cb?i.cb(u,s,r,{path:e.path,key:e.key,type:e.type}):r}if(Re(s)||j(s)||Ve(s)){const t=p?y:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const r=p?y:u;return i.cb?i.cb(u,s,r,{path:e.path,key:e.key,type:e.type}):r}if(Be(u)){if(Ve(u)){if((Re(s)||j(s)||Be(s))&&Ve(s)){const t=p?y:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=p?y:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null!=s&&!He(s)){const t=p?y:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=p?y:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if("number"==typeof u){if(Ve(s)){const t=p?y:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=p?y:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(He(u)){if(He(s)){if(i.mergeBoolsUsingOrNotAnd){const t=p?y:u||s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=p?y:u&&s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null!=s){const t=p?y:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=p?y:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null===u){if(null!=s){const t=p?y:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=p?y:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}{const t=p?y:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}}if(!Ve(u)){if(Ve(s)){const t=p?y:s;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}const t=p?y:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(!Re(s)||!Ve(s)){const t=p?y:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}{if(i.mergeArraysContainingStringsToBeEmpty&&(Je(u)||Je(s))){const t=p?y:[];return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(i.hardArrayConcat){const t=p?y:u.concat(s);return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}let r=[];for(let n=0,o=Math.max(u.length,s.length);n<o;n++)c=e.path.length?`${e.path}.${n}`:`${n}`,j(u[n])&&j(s[n])&&(i.mergeObjectsOnlyWhenKeysetMatches&&(l=u[n],h=s[n],0===Object.keys(l).length||0===Object.keys(h).length||Le(Object.keys(l),Object.keys(h))||Le(Object.keys(h),Object.keys(l)))||!i.mergeObjectsOnlyWhenKeysetMatches)?r.push(t({path:c,key:e.key,type:[Ge(u),Ge(s)]},u[n],s[n],i)):!i.oneToManyArrayObjectMerge||1!==u.length&&1!==s.length?i.concatInsteadOfMerging?(n<u.length&&r.push(u[n]),n<s.length&&r.push(s[n])):(n<u.length&&r.push(u[n]),n<s.length&&!ee(u,s[n])&&r.push(s[n])):r.push(1===u.length?t({path:c,key:e.key,type:[Ge(u),Ge(s)]},u[0],s[n],i):t({path:c,key:e.key,type:[Ge(u),Ge(s)]},u[n],s[0],i));i.dedupeStringsInArrayValues&&r.every(t=>Be(t))&&(r=Fe(r).sort()),u=f(r)}var l,h;const g=p?y:u;return i.cb?i.cb(u,s,g,{path:e.path,key:e.key,type:e.type}):g}({key:null,path:"",type:[Ge(t),Ge(e)]},t,e,r)}var qe=Array.isArray;return function(e,r){if(!qe(e))throw new Error("array-of-arrays-into-ast: [THROW_ID_01] input must be array. Currently it's of a type ".concat(t(e)," equal to:\n").concat(JSON.stringify(e,null,4)));if(0===e.length)return{};var n={dedupe:!0};wt(r=Object.assign({},n,r),n,{msg:"array-of-arrays-into-ast: [THROW_ID_02*]",optsVarName:"opts"});var o,a={};return e.forEach(function(t){for(var e,n,o,i=null,c=t.length;c--;)e={},n=t[c],o=[i],n in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,i=e;a=Ue(a,i,{concatInsteadOfMerging:!r.dedupe})}),o=a,Object.keys(o).sort().reduce(function(t,e){return t[e]=o[e],t},{})}}); |
{ | ||
"name": "array-of-arrays-into-ast", | ||
"version": "1.7.3", | ||
"version": "1.8.0", | ||
"description": "turns an array of arrays of data into a nested tree of plain objects", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=8.9" | ||
}, | ||
@@ -43,3 +43,3 @@ "repository": "https://bitbucket.org/codsen/codsen/src/master/packages/array-of-arrays-into-ast", | ||
}, | ||
"gitHead": "1d2f1e6229d4eefdecb2353c6b5dbfe8f4a5e381", | ||
"gitHead": "7817409b3c017d4e543e266f4304a536488fac8d", | ||
"husky": { | ||
@@ -168,4 +168,4 @@ "hooks": { | ||
"dependencies": { | ||
"check-types-mini": "^5.5.3", | ||
"object-merge-advanced": "^10.9.3" | ||
"check-types-mini": "^5.6.0", | ||
"object-merge-advanced": "^10.10.0" | ||
}, | ||
@@ -178,4 +178,4 @@ "devDependencies": { | ||
"babel-plugin-istanbul": "^5.1.0", | ||
"eslint": "^5.12.0", | ||
"eslint-config-prettier": "^3.4.0", | ||
"eslint": "^5.12.1", | ||
"eslint-config-prettier": "^3.6.0", | ||
"eslint-plugin-ava": "^5.1.1", | ||
@@ -187,7 +187,8 @@ "eslint-plugin-import": "^2.14.0", | ||
"prettier": "^1.15.3", | ||
"rollup": "^1.1.0", | ||
"rollup-plugin-babel": "^4.3.0", | ||
"rollup-plugin-cleanup": "^3.1.0", | ||
"rollup": "^1.1.1", | ||
"rollup-plugin-babel": "^4.3.2", | ||
"rollup-plugin-cleanup": "^3.1.1", | ||
"rollup-plugin-commonjs": "^9.2.0", | ||
"rollup-plugin-license": "^0.8.0", | ||
"rollup-plugin-json": "^3.1.0", | ||
"rollup-plugin-license": "^0.8.1", | ||
"rollup-plugin-node-resolve": "^4.0.0", | ||
@@ -194,0 +195,0 @@ "rollup-plugin-strip": "^1.2.1", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
60802
-16.74%22
4.76%286
-10.62%Updated