diff --git a/asset-manifest.json b/asset-manifest.json index 4b6a66c489..3b2ec844d6 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,22 +1,22 @@ { "files": { "main.css": "/apidom/static/css/main.e6c13ad2.css", - "main.js": "/apidom/static/js/main.1d65a9d1.js", - "static/js/938.6fccb2f7.chunk.js": "/apidom/static/js/938.6fccb2f7.chunk.js", + "main.js": "/apidom/static/js/main.777e7fca.js", + "static/js/938.ef90f786.chunk.js": "/apidom/static/js/938.ef90f786.chunk.js", "static/js/878.846c200a.chunk.js": "/apidom/static/js/878.846c200a.chunk.js", - "static/js/838.d0ddd180.chunk.js": "/apidom/static/js/838.d0ddd180.chunk.js", + "static/js/838.e2972e97.chunk.js": "/apidom/static/js/838.e2972e97.chunk.js", "static/media/tree-sitter-yaml.wasm": "/apidom/static/media/tree-sitter-yaml.d396281e11774e0afa7a.wasm", "static/media/tree-sitter.wasm": "/apidom/static/media/tree-sitter.23aac571c96605dc2521.wasm", "static/media/tree-sitter-json.wasm": "/apidom/static/media/tree-sitter-json.64a30dfa8a51b6a090eb.wasm", "index.html": "/apidom/index.html", "main.e6c13ad2.css.map": "/apidom/static/css/main.e6c13ad2.css.map", - "main.1d65a9d1.js.map": "/apidom/static/js/main.1d65a9d1.js.map", - "938.6fccb2f7.chunk.js.map": "/apidom/static/js/938.6fccb2f7.chunk.js.map", + "main.777e7fca.js.map": "/apidom/static/js/main.777e7fca.js.map", + "938.ef90f786.chunk.js.map": "/apidom/static/js/938.ef90f786.chunk.js.map", "878.846c200a.chunk.js.map": "/apidom/static/js/878.846c200a.chunk.js.map", - "838.d0ddd180.chunk.js.map": "/apidom/static/js/838.d0ddd180.chunk.js.map" + "838.e2972e97.chunk.js.map": "/apidom/static/js/838.e2972e97.chunk.js.map" }, "entrypoints": [ "static/css/main.e6c13ad2.css", - "static/js/main.1d65a9d1.js" + "static/js/main.777e7fca.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index c1ac411d5a..306f983582 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -ApiDOM playground
\ No newline at end of file +ApiDOM playground
\ No newline at end of file diff --git a/static/js/838.d0ddd180.chunk.js b/static/js/838.d0ddd180.chunk.js deleted file mode 100644 index b1f0f1851a..0000000000 --- a/static/js/838.d0ddd180.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 838.d0ddd180.chunk.js.LICENSE.txt */ -(self.webpackChunk_swagger_api_apidom_playground=self.webpackChunk_swagger_api_apidom_playground||[]).push([[838],{96091:(t,e,r)=>{var n=r(66719)(r(33290),"DataView");t.exports=n},44334:(t,e,r)=>{var n=r(60021),s=r(20677),i=r(44428),o=r(41288),a=r(98088);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(32085),s=r(43493),i=r(94156),o=r(13800),a=r(99560);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(66719)(r(33290),"Map");t.exports=n},21150:(t,e,r)=>{var n=r(6821),s=r(5973),i=r(49916),o=r(3960),a=r(22520);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(66719)(r(33290),"Promise");t.exports=n},6668:(t,e,r)=>{var n=r(66719)(r(33290),"Set");t.exports=n},51176:(t,e,r)=>{var n=r(21150),s=r(4617),i=r(41642);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e{var n=r(75758),s=r(33411),i=r(6967),o=r(48614),a=r(82370),u=r(74906);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=s,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,t.exports=c},60878:(t,e,r)=>{var n=r(33290).Symbol;t.exports=n},63939:(t,e,r)=>{var n=r(33290).Uint8Array;t.exports=n},42458:(t,e,r)=>{var n=r(66719)(r(33290),"WeakMap");t.exports=n},78931:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,s=0,i=[];++r{var n=r(29413),s=r(46703),i=r(11170),o=r(81377),a=r(1988),u=r(60726),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&s(t),f=!r&&!l&&o(t),p=!r&&!l&&!f&&u(t),_=r||l||f||p,h=_?n(t.length,String):[],d=h.length;for(var m in t)!e&&!c.call(t,m)||_&&("length"==m||f&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,d))||h.push(m);return h}},86349:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,s=t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{var n=r(81961);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},32208:(t,e,r)=>{var n=r(86349),s=r(11170);t.exports=function(t,e,r){var i=e(t);return s(t)?i:n(i,r(t))}},84439:(t,e,r)=>{var n=r(60878),s=r(61810),i=r(6401),o=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?s(t):i(t)}},19599:(t,e,r)=>{var n=r(84439),s=r(57791);t.exports=function(t){return s(t)&&"[object Arguments]"==n(t)}},50379:(t,e,r)=>{var n=r(16245),s=r(57791);t.exports=function t(e,r,i,o,a){return e===r||(null==e||null==r||!s(e)&&!s(r)?e!==e&&r!==r:n(e,r,i,o,t,a))}},16245:(t,e,r)=>{var n=r(93344),s=r(15394),i=r(8409),o=r(99586),a=r(18178),u=r(11170),c=r(81377),l=r(60726),f="[object Arguments]",p="[object Array]",_="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,d,m,y){var g=u(t),v=u(e),b=g?p:a(t),w=v?p:a(e),A=(b=b==f?_:b)==_,E=(w=w==f?_:w)==_,x=b==w;if(x&&c(t)){if(!c(e))return!1;g=!0,A=!1}if(x&&!A)return y||(y=new n),g||l(t)?s(t,e,r,d,m,y):i(t,e,b,r,d,m,y);if(!(1&r)){var S=A&&h.call(t,"__wrapped__"),O=E&&h.call(e,"__wrapped__");if(S||O){var j=S?t.value():t,P=O?e.value():e;return y||(y=new n),m(j,P,r,d,y)}}return!!x&&(y||(y=new n),o(t,e,r,d,m,y))}},77044:(t,e,r)=>{var n=r(47547),s=r(79667),i=r(4952),o=r(75838),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||s(t))&&(n(t)?p:a).test(o(t))}},13302:(t,e,r)=>{var n=r(84439),s=r(45495),i=r(57791),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&s(t.length)&&!!o[n(t)]}},21031:(t,e,r)=>{var n=r(72470),s=r(78757),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return s(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},29413:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},55068:t=>{t.exports=function(t,e){return t.has(e)}},54754:(t,e,r)=>{var n=r(33290)["__core-js_shared__"];t.exports=n},15394:(t,e,r)=>{var n=r(51176),s=r(31557),i=r(55068);t.exports=function(t,e,r,o,a,u){var c=1&r,l=t.length,f=e.length;if(l!=f&&!(c&&f>l))return!1;var p=u.get(t),_=u.get(e);if(p&&_)return p==e&&_==t;var h=-1,d=!0,m=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++h{var n=r(60878),s=r(63939),i=r(81961),o=r(15394),a=r(60866),u=r(30968),c=n?n.prototype:void 0,l=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new s(t),new s(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var _=a;case"[object Set]":var h=1&n;if(_||(_=u),t.size!=e.size&&!h)return!1;var d=p.get(t);if(d)return d==e;n|=2,p.set(t,e);var m=o(_(t),_(e),n,c,f,p);return p.delete(t),m;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},99586:(t,e,r)=>{var n=r(61389),s=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,o,a){var u=1&r,c=n(t),l=c.length;if(l!=n(e).length&&!u)return!1;for(var f=l;f--;){var p=c[f];if(!(u?p in e:s.call(e,p)))return!1}var _=a.get(t),h=a.get(e);if(_&&h)return _==e&&h==t;var d=!0;a.set(t,e),a.set(e,t);for(var m=u;++f{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},61389:(t,e,r)=>{var n=r(32208),s=r(70815),i=r(7591);t.exports=function(t){return n(t,i,s)}},2224:(t,e,r)=>{var n=r(56863);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},66719:(t,e,r)=>{var n=r(77044),s=r(71271);t.exports=function(t,e){var r=s(t,e);return n(r)?r:void 0}},61810:(t,e,r)=>{var n=r(60878),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(u){}var s=o.call(t);return n&&(e?t[a]=r:delete t[a]),s}},70815:(t,e,r)=>{var n=r(78931),s=r(30022),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(t){return null==t?[]:(t=Object(t),n(o(t),(function(e){return i.call(t,e)})))}:s;t.exports=a},18178:(t,e,r)=>{var n=r(96091),s=r(40078),i=r(16649),o=r(6668),a=r(42458),u=r(84439),c=r(75838),l="[object Map]",f="[object Promise]",p="[object Set]",_="[object WeakMap]",h="[object DataView]",d=c(n),m=c(s),y=c(i),g=c(o),v=c(a),b=u;(n&&b(new n(new ArrayBuffer(1)))!=h||s&&b(new s)!=l||i&&b(i.resolve())!=f||o&&b(new o)!=p||a&&b(new a)!=_)&&(b=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case d:return h;case m:return l;case y:return f;case g:return p;case v:return _}return e}),t.exports=b},71271:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},60021:(t,e,r)=>{var n=r(97421);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},20677:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},44428:(t,e,r)=>{var n=r(97421),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(e,t)?e[t]:void 0}},41288:(t,e,r)=>{var n=r(97421),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:s.call(e,t)}},98088:(t,e,r)=>{var n=r(97421);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1988:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},79667:(t,e,r)=>{var n=r(54754),s=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!s&&s in t}},72470:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},32085:t=>{t.exports=function(){this.__data__=[],this.size=0}},43493:(t,e,r)=>{var n=r(20494),s=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():s.call(e,r,1),--this.size,!0)}},94156:(t,e,r)=>{var n=r(20494);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},13800:(t,e,r)=>{var n=r(20494);t.exports=function(t){return n(this.__data__,t)>-1}},99560:(t,e,r)=>{var n=r(20494);t.exports=function(t,e){var r=this.__data__,s=n(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this}},6821:(t,e,r)=>{var n=r(44334),s=r(75758),i=r(40078);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},5973:(t,e,r)=>{var n=r(2224);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},49916:(t,e,r)=>{var n=r(2224);t.exports=function(t){return n(this,t).get(t)}},3960:(t,e,r)=>{var n=r(2224);t.exports=function(t){return n(this,t).has(t)}},22520:(t,e,r)=>{var n=r(2224);t.exports=function(t,e){var r=n(this,t),s=r.size;return r.set(t,e),this.size+=r.size==s?0:1,this}},60866:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},97421:(t,e,r)=>{var n=r(66719)(Object,"create");t.exports=n},78757:(t,e,r)=>{var n=r(13282)(Object.keys,Object);t.exports=n},7086:(t,e,r)=>{t=r.nmd(t);var n=r(73059),s=e&&!e.nodeType&&e,i=s&&t&&!t.nodeType&&t,o=i&&i.exports===s&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(e){}}();t.exports=a},6401:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},13282:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},33290:(t,e,r)=>{var n=r(73059),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();t.exports=i},4617:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},41642:t=>{t.exports=function(t){return this.__data__.has(t)}},30968:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},33411:(t,e,r)=>{var n=r(75758);t.exports=function(){this.__data__=new n,this.size=0}},6967:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},48614:t=>{t.exports=function(t){return this.__data__.get(t)}},82370:t=>{t.exports=function(t){return this.__data__.has(t)}},74906:(t,e,r)=>{var n=r(75758),s=r(40078),i=r(21150);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(t,e),this.size=r.size,this}},75838:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(r){}try{return t+""}catch(r){}}return""}},81961:t=>{t.exports=function(t,e){return t===e||t!==t&&e!==e}},46703:(t,e,r)=>{var n=r(19599),s=r(57791),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return s(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=u},11170:t=>{var e=Array.isArray;t.exports=e},35165:(t,e,r)=>{var n=r(47547),s=r(45495);t.exports=function(t){return null!=t&&s(t.length)&&!n(t)}},69559:(t,e,r)=>{var n=r(84439),s=r(57791);t.exports=function(t){return!0===t||!1===t||s(t)&&"[object Boolean]"==n(t)}},81377:(t,e,r)=>{t=r.nmd(t);var n=r(33290),s=r(84840),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.Buffer:void 0,u=(a?a.isBuffer:void 0)||s;t.exports=u},60971:(t,e,r)=>{var n=r(50379);t.exports=function(t,e){return n(t,e)}},47547:(t,e,r)=>{var n=r(84439),s=r(4952);t.exports=function(t){if(!s(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},45495:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},25506:t=>{t.exports=function(t){return null===t}},72110:(t,e,r)=>{var n=r(84439),s=r(57791);t.exports=function(t){return"number"==typeof t||s(t)&&"[object Number]"==n(t)}},4952:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},57791:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},80806:(t,e,r)=>{var n=r(84439),s=r(11170),i=r(57791);t.exports=function(t){return"string"==typeof t||!s(t)&&i(t)&&"[object String]"==n(t)}},60726:(t,e,r)=>{var n=r(13302),s=r(77800),i=r(7086),o=i&&i.isTypedArray,a=o?s(o):n;t.exports=a},7591:(t,e,r)=>{var n=r(426),s=r(21031),i=r(35165);t.exports=function(t){return i(t)?n(t):s(t)}},78377:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},30022:t=>{t.exports=function(){return[]}},84840:t=>{t.exports=function(){return!1}},583:(t,e,r)=>{const n=r(78377);function s(t){return"string"===typeof t?e=>e.element===t:t.constructor&&t.extend?e=>e instanceof t:t}class i{constructor(t){this.elements=t||[]}toValue(){return this.elements.map((t=>t.toValue()))}map(t,e){return this.elements.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return t=s(t),new i(this.elements.filter(t,e))}reject(t,e){return t=s(t),new i(this.elements.filter(n(t),e))}find(t,e){return t=s(t),this.elements.find(t,e)}forEach(t,e){this.elements.forEach(t,e)}reduce(t,e){return this.elements.reduce(t,e)}includes(t){return this.elements.some((e=>e.equals(t)))}shift(){return this.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){return this.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){return this.elements[t]}getValue(t){const e=this.elements[t];if(e)return e.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!==typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),t.exports=i},42950:t=>{class e{constructor(t,e){this.key=t,this.value=e}clone(){const t=new e;return this.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}}t.exports=e},57291:(t,e,r)=>{const n=r(25506),s=r(80806),i=r(72110),o=r(69559),a=r(4952),u=r(20766),c=r(88975);class l{constructor(t){this.elementMap={},this.elementDetection=[],this.Element=c.Element,this.KeyValuePair=c.KeyValuePair,t&&t.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(t){return t.namespace&&t.namespace({base:this}),t.load&&t.load({base:this}),this}useDefault(){return this.register("null",c.NullElement).register("string",c.StringElement).register("number",c.NumberElement).register("boolean",c.BooleanElement).register("array",c.ArrayElement).register("object",c.ObjectElement).register("member",c.MemberElement).register("ref",c.RefElement).register("link",c.LinkElement),this.detect(n,c.NullElement,!1).detect(s,c.StringElement,!1).detect(i,c.NumberElement,!1).detect(o,c.BooleanElement,!1).detect(Array.isArray,c.ArrayElement,!1).detect(a,c.ObjectElement,!1),this}register(t,e){return this._elements=void 0,this.elementMap[t]=e,this}unregister(t){return this._elements=void 0,delete this.elementMap[t],this}detect(t,e,r){return void 0===r||r?this.elementDetection.unshift([t,e]):this.elementDetection.push([t,e]),this}toElement(t){if(t instanceof this.Element)return t;let e;for(let r=0;r{const e=t[0].toUpperCase()+t.substr(1);this._elements[e]=this.elementMap[t]}))),this._elements}get serialiser(){return new u(this)}}u.prototype.Namespace=l,t.exports=l},88267:(t,e,r)=>{const n=r(78377),s=r(583);class i extends s{map(t,e){return this.elements.map((r=>t.bind(e)(r.value,r.key,r)))}filter(t,e){return new i(this.elements.filter((r=>t.bind(e)(r.value,r.key,r))))}reject(t,e){return this.filter(n(t.bind(e)))}forEach(t,e){return this.elements.forEach(((r,n)=>{t.bind(e)(r.value,r.key,r,n)}))}keys(){return this.map(((t,e)=>e.toValue()))}values(){return this.map((t=>t.toValue()))}}t.exports=i},88975:(t,e,r)=>{const n=r(22723),s=r(12744),i=r(75500),o=r(72468),a=r(65559),u=r(33848),c=r(12121),l=r(7070),f=r(8696),p=r(39501),_=r(583),h=r(88267),d=r(42950);function m(t){if(t instanceof n)return t;if("string"===typeof t)return new i(t);if("number"===typeof t)return new o(t);if("boolean"===typeof t)return new a(t);if(null===t)return new s;if(Array.isArray(t))return new u(t.map(m));if("object"===typeof t){return new l(t)}return t}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=c,n.prototype.refract=m,_.prototype.refract=m,t.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:u,MemberElement:c,ObjectElement:l,LinkElement:f,RefElement:p,refract:m,ArraySlice:_,ObjectSlice:h,KeyValuePair:d}},8696:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(t){this.attributes.set("relation",t)}get href(){return this.attributes.get("href")}set href(t){this.attributes.set("href",t)}}},39501:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}}},85618:(t,e,r)=>{const n=r(57291),s=r(88975);e.g$=n,e.KeyValuePair=r(42950),e.G6=s.ArraySlice,e.ot=s.ObjectSlice,e.Hg=s.Element,e.Om=s.StringElement,e.kT=s.NumberElement,e.bd=s.BooleanElement,e.Os=s.NullElement,e.wE=s.ArrayElement,e.Sh=s.ObjectElement,e.Pr=s.MemberElement,e.sI=s.RefElement,e.Ft=s.LinkElement,e.e=s.refract,r(20766),r(24376)},33848:(t,e,r)=>{const n=r(78377),s=r(22723),i=r(583);class o extends s{constructor(t,e,r){super(t||[],e,r),this.element="array"}primitive(){return"array"}get(t){return this.content[t]}getValue(t){const e=this.get(t);if(e)return e.toValue()}getIndex(t){return this.content[t]}set(t,e){return this.content[t]=this.refract(e),this}remove(t){const e=this.content.splice(t,1);return e.length?e[0]:null}map(t,e){return this.content.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return new i(this.content.filter(t,e))}reject(t,e){return this.filter(n(t),e)}reduce(t,e){let r,n;void 0!==e?(r=0,n=this.refract(e)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let s=r;s{t.bind(e)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(t){this.content.unshift(this.refract(t))}push(t){return this.content.push(this.refract(t)),this}add(t){this.push(t)}findElements(t,e){const r=e||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((e,r,i)=>{n&&void 0!==e.findElements&&e.findElements(t,{results:s,recursive:n}),t(e,r,i)&&s.push(e)})),s}find(t){return new i(this.findElements(t,{recursive:!0}))}findByElement(t){return this.find((e=>e.element===t))}findByClass(t){return this.find((e=>e.classes.includes(t)))}getById(t){return this.find((e=>e.id.toValue()===t)).first}includes(t){return this.content.some((e=>e.equals(t)))}contains(t){return this.includes(t)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(t){return new this.constructor(this.content.concat(t.content))}"fantasy-land/concat"(t){return this.concat(t)}"fantasy-land/map"(t){return new this.constructor(this.map(t))}"fantasy-land/chain"(t){return this.map((e=>t(e)),this).reduce(((t,e)=>t.concat(e)),this.empty())}"fantasy-land/filter"(t){return new this.constructor(this.content.filter(t))}"fantasy-land/reduce"(t,e){return this.content.reduce(t,e)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!==typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),t.exports=o},65559:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="boolean"}primitive(){return"boolean"}}},22723:(t,e,r)=>{const n=r(60971),s=r(42950),i=r(583);class o{constructor(t,e,r){e&&(this.meta=e),r&&(this.attributes=r),this.content=t}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((t=>{t.parent=this,t.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const t=new this.constructor;return t.element=this.element,this.meta.length&&(t._meta=this.meta.clone()),this.attributes.length&&(t._attributes=this.attributes.clone()),this.content?this.content.clone?t.content=this.content.clone():Array.isArray(this.content)?t.content=this.content.map((t=>t.clone())):t.content=this.content:t.content=this.content,t}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((t=>t.toValue()),this):this.content}toRef(t){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const e=new this.RefElement(this.id.toValue());return t&&(e.path=t),e}findRecursive(){for(var t=arguments.length,e=new Array(t),r=0;r1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const n=e.pop();let o=new i;const a=(t,e)=>(t.push(e),t),u=(t,e)=>{e.element===n&&t.push(e);const r=e.findRecursive(n);return r&&r.reduce(a,t),e.content instanceof s&&(e.content.key&&u(t,e.content.key),e.content.value&&u(t,e.content.value)),t};return this.content&&(this.content.element&&u(o,this.content),Array.isArray(this.content)&&this.content.reduce(u,o)),e.isEmpty||(o=o.filter((t=>{let r=t.parents.map((t=>t.element));for(const n in e){const t=e[n],s=r.indexOf(t);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),o}set(t){return this.content=t,this}equals(t){return n(this.toValue(),t)}getMetaProperty(t,e){if(!this.meta.hasKey(t)){if(this.isFrozen){const t=this.refract(e);return t.freeze(),t}this.meta.set(t,e)}return this.meta.get(t)}setMetaProperty(t,e){this.meta.set(t,e)}get element(){return this._storedElement||"element"}set element(t){this._storedElement=t}get content(){return this._content}set content(t){if(t instanceof o)this._content=t;else if(t instanceof i)this.content=t.elements;else if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"null"===t||void 0==t)this._content=t;else if(t instanceof s)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else{if("object"!==typeof t)throw new Error("Cannot set content to given value");this._content=Object.keys(t).map((e=>new this.MemberElement(e,t[e])))}}get meta(){if(!this._meta){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._meta=new this.ObjectElement}return this._meta}set meta(t){t instanceof this.ObjectElement?this._meta=t:this.meta.set(t||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._attributes=new this.ObjectElement}return this._attributes}set attributes(t){t instanceof this.ObjectElement?this._attributes=t:this.attributes.set(t||{})}get id(){return this.getMetaProperty("id","")}set id(t){this.setMetaProperty("id",t)}get classes(){return this.getMetaProperty("classes",[])}set classes(t){this.setMetaProperty("classes",t)}get title(){return this.getMetaProperty("title","")}set title(t){this.setMetaProperty("title",t)}get description(){return this.getMetaProperty("description","")}set description(t){this.setMetaProperty("description",t)}get links(){return this.getMetaProperty("links",[])}set links(t){this.setMetaProperty("links",t)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:t}=this;const e=new i;for(;t;)e.push(t),t=t.parent;return e}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const t=new i([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const t=new i;return this.children.forEach((e=>{t.push(e),e.recursiveChildren.forEach((e=>{t.push(e)}))})),t}}t.exports=o},12121:(t,e,r)=>{const n=r(42950),s=r(22723);t.exports=class extends s{constructor(t,e,r,s){super(new n,r,s),this.element="member",this.key=t,this.value=e}get key(){return this.content.key}set key(t){this.content.key=this.refract(t)}get value(){return this.content.value}set value(t){this.content.value=this.refract(t)}}},12744:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t||null,e,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},72468:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="number"}primitive(){return"number"}}},7070:(t,e,r)=>{const n=r(78377),s=r(4952),i=r(33848),o=r(12121),a=r(88267);t.exports=class extends i{constructor(t,e,r){super(t||[],e,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((t,e)=>(t[e.key.toValue()]=e.value?e.value.toValue():void 0,t)),{})}get(t){const e=this.getMember(t);if(e)return e.value}getMember(t){if(void 0!==t)return this.content.find((e=>e.key.toValue()===t))}remove(t){let e=null;return this.content=this.content.filter((r=>r.key.toValue()!==t||(e=r,!1))),e}getKey(t){const e=this.getMember(t);if(e)return e.key}set(t,e){if(s(t))return Object.keys(t).forEach((e=>{this.set(e,t[e])})),this;const r=t,n=this.getMember(r);return n?n.value=e:this.content.push(new o(r,e)),this}keys(){return this.content.map((t=>t.key.toValue()))}values(){return this.content.map((t=>t.value.toValue()))}hasKey(t){return this.content.some((e=>e.key.equals(t)))}items(){return this.content.map((t=>[t.key.toValue(),t.value.toValue()]))}map(t,e){return this.content.map((r=>t.bind(e)(r.value,r.key,r)))}compactMap(t,e){const r=[];return this.forEach(((n,s,i)=>{const o=t.bind(e)(n,s,i);o&&r.push(o)})),r}filter(t,e){return new a(this.content).filter(t,e)}reject(t,e){return this.filter(n(t),e)}forEach(t,e){return this.content.forEach((r=>t.bind(e)(r.value,r.key,r)))}}},75500:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},24376:(t,e,r)=>{const n=r(20766);t.exports=class extends n{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError("Given element `".concat(t,"` is not an Element instance"));let e;t._attributes&&t.attributes.get("variable")&&(e=t.attributes.get("variable"));const r={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta));const n="enum"===t.element||-1!==t.attributes.keys().indexOf("enumerations");if(n){const e=this.enumSerialiseAttributes(t);e&&(r.attributes=e)}else if(t._attributes&&t._attributes.length>0){let{attributes:n}=t;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===t.element&&e&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(t,r);else if(this["".concat(t.element,"SerialiseContent")])r.content=this["".concat(t.element,"SerialiseContent")](t,r);else if(void 0!==t.content){let n;e&&t.content.key?(n=t.content.clone(),n.key.attributes.set("variable",e),n=this.serialiseContent(n)):n=this.serialiseContent(t.content),this.shouldSerialiseContent(t,n)&&(r.content=n)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(t,e){return"parseResult"===t.element||"httpRequest"===t.element||"httpResponse"===t.element||"category"===t.element||"link"===t.element||void 0!==e&&(!Array.isArray(e)||0!==e.length)}refSerialiseContent(t,e){return delete e.attributes,{href:t.toValue(),path:t.path.toValue()}}sourceMapSerialiseContent(t){return t.toValue()}dataStructureSerialiseContent(t){return[this.serialiseContent(t.content)]}enumSerialiseAttributes(t){const e=t.attributes.clone(),r=e.remove("enumerations")||new this.namespace.elements.Array([]),n=e.get("default");let s=e.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),e.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((t=>{t.content&&t.content.element&&t.content.attributes.remove("typeAttributes")})),t.content&&0!==r.length&&s.unshift(t.content),s=s.map((t=>t instanceof this.namespace.elements.Array?[t]:new this.namespace.elements.Array([t.content]))),s.length&&e.set("samples",s),e.length>0)return this.serialiseObject(e)}enumSerialiseContent(t){if(t._attributes){const e=t.attributes.get("enumerations");if(e&&e.length>0)return e.content.map((t=>{const e=t.clone();return e.attributes.remove("typeAttributes"),this.serialise(e)}))}if(t.content){const e=t.content.clone();return e.attributes.remove("typeAttributes"),[this.serialise(e)]}return[]}deserialise(t){if("string"===typeof t)return new this.namespace.elements.String(t);if("number"===typeof t)return new this.namespace.elements.Number(t);if("boolean"===typeof t)return new this.namespace.elements.Boolean(t);if(null===t)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const e=this.namespace.getElementClass(t.element),r=new e;r.element!==t.element&&(r.element=t.element),t.meta&&this.deserialiseObject(t.meta,r.meta),t.attributes&&this.deserialiseObject(t.attributes,r.attributes);const n=this.deserialiseContent(t.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let t=r.attributes.get("samples");if(r.attributes.remove("samples"),t){const n=t;t=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new e(n);s.element=r.element,t.push(s)}))}));const s=t.shift();r.content=s?s.content:void 0,r.attributes.set("samples",t)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const t=new e(n);t.element=r.element,r.attributes.set("default",t)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const t=r.attributes.get("meta");t&&(r.attributes.set("metadata",t),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}return t&&t.map?t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}shouldRefract(t){return!!(t._attributes&&t.attributes.keys().length||t._meta&&t.meta.keys().length)||"enum"!==t.element&&(t.element!==t.primitive()||"member"===t.element)}convertKeyToRefract(t,e){return this.shouldRefract(e)?this.serialise(e):"enum"===e.element?this.serialiseEnum(e):"array"===e.element?e.map((e=>this.shouldRefract(e)||"default"===t?this.serialise(e):"array"===e.element||"object"===e.element||"enum"===e.element?e.children.map((t=>this.serialise(t))):e.toValue())):"object"===e.element?(e.content||[]).map(this.serialise,this):e.toValue()}serialiseEnum(t){return t.children.map((t=>this.serialise(t)))}serialiseObject(t){const e={};return t.forEach(((t,r)=>{if(t){const n=r.toValue();e[n]=this.convertKeyToRefract(n,t)}})),e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},20766:t=>{t.exports=class{constructor(t){this.namespace=t||new this.Namespace}serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError("Given element `".concat(t,"` is not an Element instance"));const e={element:t.element};t._meta&&t._meta.length>0&&(e.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(e.attributes=this.serialiseObject(t.attributes));const r=this.serialiseContent(t.content);return void 0!==r&&(e.content=r),e}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const e=new(this.namespace.getElementClass(t.element));e.element!==t.element&&(e.element=t.element),t.meta&&this.deserialiseObject(t.meta,e.meta),t.attributes&&this.deserialiseObject(t.attributes,e.attributes);const r=this.deserialiseContent(t.content);return void 0===r&&null!==e.content||(e.content=r),e}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}if(t&&t.map){if(0===t.length)return;return t.map(this.serialise,this)}return t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const e={};if(t.forEach(((t,r)=>{t&&(e[r.toValue()]=this.serialise(t))})),0!==Object.keys(e).length)return e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},49751:t=>{var e,r,n=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(t){if(e===setTimeout)return setTimeout(t,0);if((e===s||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"===typeof setTimeout?setTimeout:s}catch(t){e=s}try{r="function"===typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var a,u=[],c=!1,l=-1;function f(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length&&p())}function p(){if(!c){var t=o(f);c=!0;for(var e=u.length;e;){for(a=u,u=[];++l1)for(var r=1;r{"use strict";r.d(e,{A:()=>i});var n=r(77804),s=r(8136);const i=(0,n.A)(1,(0,s.A)(Promise.all,Promise))},37152:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(61284),s=r(31179);const i=(0,n.A)(s.A)},49129:(t,e,r)=>{"use strict";r.d(e,{A:()=>I});var n=r(85426);const s=(0,n.A)((function(t){return function(e,r){return t(e,r)?-1:t(r,e)?1:0}}));var i=r(41870),o=(0,r(86335).A)((function(t,e){return Array.prototype.slice.call(e,0).sort(t)}));const a=o;var u=r(13225),c=r(70398),l=r(26836),f=r(36448);const p=(0,n.A)(f.A);var _=r(77804),h=r(65549),d=r(93157),m=r(13154),y=r(37656);const g=(0,m.A)(y.A);var v=r(9889),b=r(96294),w=r(69455);const A=(0,v.A)(w.A,b.A);var E=r(79678);function x(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);re.length})),j=(0,i.A)(a(O),u.A,(0,c.A)("length")),P=(0,l.A)((function(t,e,r){var n=r.apply(void 0,x(t));return g(n)?p(n):e}));const I=(0,d.A)(A,(function(t){var e=j(t);return(0,_.A)(e,(function(){for(var e=arguments.length,r=new Array(e),n=0;n{"use strict";r.d(e,{A:()=>o});var n=r(57435),s=r(98622),i=r(71226);const o=(0,n.A)(i.A,(0,s.A)(Array))},8208:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(61284),s=r(88157);const i=(0,r(86335).A)(s.A);const o=(0,n.A)(i)},29762:(t,e,r)=>{"use strict";function n(t){return n="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},n(t)}r.d(e,{A:()=>s});const s=function(t){return"object"===n(t)}},88868:(t,e,r)=>{"use strict";r.d(e,{A:()=>_});var n=r(77804),s=r(87198);const i=(0,r(85481).A)(0,-1);var o=r(8136);const a=(0,r(86335).A)((function(t,e){return t.apply(this,e)}));var u=r(32115),c=r(9889),l=r(86119),f=r(69455);const p=(0,c.A)(f.A,l.A);const _=(0,n.A)(3,(function(t,e,r){var n=(0,s.A)(t,r),c=(0,s.A)(i(t),r);if(!(0,u.A)(n)&&!p(t)){var l=(0,o.A)(n,c);return a(l,e)}}))},69455:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(77804),s=r(41870),i=r(49531),o=r(79684),a=r(47496);const u=(0,n.A)(1,(0,a.A)(Array.isArray)?Array.isArray:(0,s.A)(i.A,(0,o.A)("Array")))},75882:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(54912).A)("")},65796:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(77804),s=r(8136),i=r(47496),o=r(9889),a=r(34581);const u=(0,o.A)(a.A,isFinite);var c=(0,n.A)(1,u);const l=(0,i.A)(Number.isFinite)?(0,n.A)(1,(0,s.A)(Number.isFinite,Number)):c},47496:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(85426),s=r(77804),i=r(35069),o=r(87998),a=r(65549);const u=(0,n.A)((function(t){return(0,s.A)((0,a.A)(i.A,0,(0,o.A)("length",t)),(function(){for(var e=0,r=t.length;e{"use strict";r.d(e,{A:()=>v});var n=r(77804),s=r(8136),i=r(47496),o=r(9889),a=r(86335),u=r(27968),c=r(35069),l=r(87998),f=r(65549);const p=(0,a.A)((function(t,e){return(0,n.A)((0,f.A)(c.A,0,(0,l.A)("length",e)),(function(){var r=arguments,n=this;return t.apply(n,(0,u.A)((function(t){return t.apply(n,r)}),e))}))}));var _=r(54912);function h(t){return t}const d=(0,r(85426).A)(h);var m=r(65796);const y=(0,o.A)(m.A,p(_.A,[Math.floor,d]));var g=(0,n.A)(1,y);const v=(0,i.A)(Number.isInteger)?(0,n.A)(1,(0,s.A)(Number.isInteger,Number)):g},12029:(t,e,r)=>{"use strict";r.d(e,{A:()=>E});var n=r(85426),s=r(77804),i=r(35069),o=r(87998),a=r(65549);const u=(0,n.A)((function(t){return(0,s.A)((0,a.A)(i.A,0,(0,o.A)("length",t)),(function(){for(var e=0,r=t.length;e{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(69455);const i=(0,n.A)(s.A)},96294:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(86119);const i=(0,n.A)(s.A)},32115:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(47496);const i=(0,n.A)(s.A)},28714:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(45185);const i=(0,n.A)(s.A)},20951:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(39146);const i=(0,n.A)(s.A)},45185:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(54912).A)(null)},34581:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(77804),s=r(41870),i=r(49531),o=r(79684);const a=(0,n.A)(1,(0,s.A)(i.A,(0,o.A)("Number")))},28182:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(41870),s=r(49531),i=r(79684),o=r(22556),a=r(54912),u=r(28571),c=r(9889),l=r(77804),f=r(45185),p=r(28714),_=r(29762);const h=(0,l.A)(1,(0,c.A)(p.A,_.A));var d=r(47496),m=(0,n.A)(s.A,(0,i.A)("Object")),y=(0,n.A)(o.A,(0,a.A)((0,o.A)(Object))),g=(0,u.A)((0,c.A)(d.A,y),["constructor"]);const v=(0,l.A)(1,(function(t){if(!h(t)||!m(t))return!1;var e=Object.getPrototypeOf(t);return!!(0,f.A)(e)||g(e)}))},76985:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(77804),s=r(41870),i=r(49531),o=r(79684);const a=(0,n.A)(1,(0,s.A)(i.A,(0,o.A)("String")))},39146:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(54912),s=r(79678);const i=(0,n.A)((0,s.A)())},99680:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(24610),s=r(79678);const i=(0,n.A)((0,s.A)())},32509:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g});var n=r(26836),s=r(61284),i=r(83269),o=r(13154),a=r(65796);const u=(0,o.A)(a.A);var c=r(77804),l=r(9889);const f=(0,r(86335).A)((function(t,e){return t>e}));var p=r(34581);const _=(0,c.A)(1,(0,l.A)(p.A,f(0)));const h=function(t,e){var r=Number(e);if(r!==e&&(r=0),_(r))throw new RangeError("repeat count must be non-negative");if(u(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===t.length||0===r)return"";if(t.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var s=t;r;)s+=t,r-=1;return s+=s.substring(0,n-s.length)};var d=r(47496),m=(0,n.A)(h),y=(0,s.A)((0,i.A)(1,"repeat"));const g=(0,d.A)(String.prototype.repeat)?y:m},92683:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g});var n=r(77804),s=r(83269),i=r(47496),o=r(4891),a=r(41870),u=r(49531),c=r(79684);const l=(0,n.A)(1,(0,a.A)(u.A,(0,c.A)("RegExp")));var f=r(57435),p=r(76985);const _=(0,f.A)(p.A,(0,o.A)(/[.*+?^${}()|[\]\\-]/g,"\\$&"));var h=function(t,e){if("string"!==typeof t&&!(t instanceof String))throw TypeError("`".concat(e,"` must be a string"))};const d=function(t,e,r){!function(t,e,r){if(null==r||null==t||null==e)throw TypeError("Input values must not be `null` or `undefined`")}(t,e,r),h(r,"str"),h(e,"replaceValue"),function(t){if("string"!==typeof t&&!(t instanceof String)&&!(t instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")}(t);var n=new RegExp(l(t)?t:_(t),"g");return(0,o.A)(n,e,r)};var m=(0,n.A)(3,d),y=(0,s.A)(2,"replaceAll");const g=(0,i.A)(String.prototype.replaceAll)?y:m},79678:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(24610).A)(void 0)},45148:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(26836),s=r(41870),i=r(38579),o=r(86335),a=r(33832),u=r(85481);function c(t,e){for(var r=e.length-1;r>=0&&t(e[r]);)r-=1;return(0,u.A)(0,r+1,e)}var l=r(53247),f=r(52259),p=function(){function t(t,e){this.f=t,this.retained=[],this.xf=e}return t.prototype["@@transducer/init"]=l.A.init,t.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.retain(t,e):this.flush(t,e)},t.prototype.flush=function(t,e){return t=(0,f.A)(this.xf,t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,e)},t.prototype.retain=function(t,e){return this.retained.push(e),t},t}();function _(t){return function(e){return new p(t,e)}}const h=(0,o.A)((0,a.A)([],_,c));var d=r(70515),m=r(8208);const y=(0,n.A)((function(t,e){return(0,s.A)((0,i.A)(""),h((0,m.A)(t)),(0,d.A)(""))(e)}))},71090:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=r(26836),s=r(41870),i=r(38579),o=r(86335),a=r(33832),u=r(53247),c=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=u.A.init,t.prototype["@@transducer/result"]=u.A.result,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function l(t){return function(e){return new c(t,e)}}var f=r(85481);const p=(0,o.A)((0,a.A)(["dropWhile"],l,(function(t,e){for(var r=0,n=e.length;r{"use strict";r.d(e,{Ay:()=>u});var n=r(83269);const s=(0,r(4891).A)(/[\s\uFEFF\xA0]+$/,"");var i=r(47496),o=s,a=(0,n.A)(0,"trimEnd");const u=(0,i.A)(String.prototype.trimEnd)?a:o},10856:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>u});var n=r(83269);const s=(0,r(4891).A)(/^[\s\uFEFF\xA0]+/,"");var i=r(47496),o=s,a=(0,n.A)(0,"trimStart");const u=(0,i.A)(String.prototype.trimStart)?a:o},92259:t=>{"use strict";var e=(()=>{var t=Object.defineProperty,e=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,o=(e,r,n)=>r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,a=(t,e)=>{for(var r in e||(e={}))s.call(e,r)&&o(t,r,e[r]);if(n)for(var r of n(e))i.call(e,r)&&o(t,r,e[r]);return t},u=(t,e,r)=>(o(t,"symbol"!==typeof e?e+"":e,r),r),c={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(c,{DEFAULT_OPTIONS:()=>f,DEFAULT_UUID_LENGTH:()=>l,default:()=>h});var l=6,f={dictionary:"alphanum",shuffle:!0,debug:!1,length:l,counter:0},p=class{constructor(){var t=this;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,"counter"),u(this,"debug"),u(this,"dict"),u(this,"version"),u(this,"dictIndex",0),u(this,"dictRange",[]),u(this,"lowerBound",0),u(this,"upperBound",0),u(this,"dictLength",0),u(this,"uuidLength"),u(this,"_digit_first_ascii",48),u(this,"_digit_last_ascii",58),u(this,"_alpha_lower_first_ascii",97),u(this,"_alpha_lower_last_ascii",123),u(this,"_hex_last_ascii",103),u(this,"_alpha_upper_first_ascii",65),u(this,"_alpha_upper_last_ascii",91),u(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),u(this,"_alpha_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),u(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),u(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),u(this,"_alphanum_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),u(this,"_alphanum_lower_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),u(this,"_alphanum_upper_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),u(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),u(this,"_dict_ranges",{_number_dict_ranges:this._number_dict_ranges,_alpha_dict_ranges:this._alpha_dict_ranges,_alpha_lower_dict_ranges:this._alpha_lower_dict_ranges,_alpha_upper_dict_ranges:this._alpha_upper_dict_ranges,_alphanum_dict_ranges:this._alphanum_dict_ranges,_alphanum_lower_dict_ranges:this._alphanum_lower_dict_ranges,_alphanum_upper_dict_ranges:this._alphanum_upper_dict_ranges,_hex_dict_ranges:this._hex_dict_ranges}),u(this,"log",(function(){for(var e=arguments.length,r=new Array(e),n=0;n{let r;if(t&&Array.isArray(t)&&t.length>1)r=t;else{let e;r=[],this.dictIndex=e=0;const n="_".concat(t,"_dict_ranges"),s=this._dict_ranges[n];Object.keys(s).forEach((t=>{const n=t;for(this.dictRange=s[n],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=e=this.lowerBound;this.lowerBound<=this.upperBound?ethis.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?e+=1:e-=1)r.push(String.fromCharCode(this.dictIndex))}))}if(e){const t=.5;r=r.sort((()=>Math.random()-t))}this.dict=r,this.dictLength=this.dict.length,this.setCounter(0)})),u(this,"seq",(()=>this.sequentialUUID())),u(this,"sequentialUUID",(()=>{let t,e,r="";t=this.counter;do{e=t%this.dictLength,t=Math.trunc(t/this.dictLength),r+=this.dict[e]}while(0!==t);return this.counter+=1,r})),u(this,"rnd",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.uuidLength||l;return t.randomUUID(e)})),u(this,"randomUUID",(function(){let e,r,n,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.uuidLength||l;if(null===s||"undefined"===typeof s||s<1)throw new Error("Invalid UUID Length Provided");for(e="",n=0;nthis.formattedUUID(t,e))),u(this,"formattedUUID",((t,e)=>{const r={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return t.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(t=>{const n=t.slice(0,2),s=parseInt(t.slice(2),10);return"$s"===n?r[n]().padStart(s,"0"):"$t"===n&&e?r[n](s,e):r[n](s)}))})),u(this,"availableUUIDs",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.uuidLength;return parseFloat(Math.pow([...new Set(t.dict)].length,e).toFixed(0))})),u(this,"approxMaxBeforeCollision",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.availableUUIDs(t.uuidLength);return parseFloat(Math.sqrt(Math.PI/2*e).toFixed(20))})),u(this,"collisionProbability",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.availableUUIDs(t.uuidLength),r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.uuidLength;return parseFloat((t.approxMaxBeforeCollision(e)/t.availableUUIDs(r)).toFixed(20))})),u(this,"uniqueness",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.availableUUIDs(t.uuidLength);const r=parseFloat((1-t.approxMaxBeforeCollision(e)/e).toFixed(20));return r>1?1:r<0?0:r})),u(this,"getVersion",(()=>this.version)),u(this,"stamp",((t,e)=>{const r=Math.floor(+(e||new Date)/1e3).toString(16);if("number"===typeof t&&0===t)return r;if("number"!==typeof t||t<10)throw new Error(["Param finalLength must be a number greater than or equal to 10,","or 0 if you want the raw hexadecimal timestamp"].join("\n"));const n=t-9,s=Math.round(Math.random()*(n>15?15:n)),i=this.randomUUID(n);return"".concat(i.substring(0,s)).concat(r).concat(i.substring(s)).concat(s.toString(16))})),u(this,"parseStamp",((t,e)=>{if(e&&!/t0|t[1-9]\d{1,}/.test(e))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const r=e?e.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(t=>{const e={$r:t=>[...Array(t)].map((()=>"r")).join(""),$s:t=>[...Array(t)].map((()=>"s")).join(""),$t:t=>[...Array(t)].map((()=>"t")).join("")},r=t.slice(0,2),n=parseInt(t.slice(2),10);return e[r](n)})).replace(/^(.*?)(t{8,})(.*)$/g,((e,r,n)=>t.substring(r.length,r.length+n.length))):t;if(8===r.length)return new Date(1e3*parseInt(r,16));if(r.length<10)throw new Error("Stamp length invalid");const n=parseInt(r.substring(r.length-1),16);return new Date(1e3*parseInt(r.substring(n,n+8),16))})),u(this,"setCounter",(t=>{this.counter=t}));const r=a(a({},f),e);this.counter=0,this.debug=!1,this.dict=[],this.version="5.0.3";const{dictionary:n,shuffle:s,length:i,counter:o}=r;return this.uuidLength=i,this.setDictionary(n,s),this.setCounter(o),this.debug=r.debug,this.log(this.dict),this.log("Generator instantiated with Dictionary Size ".concat(this.dictLength," and counter set to ").concat(this.counter)),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this),this}};u(p,"default",p);var _,h=p;return _=c,((n,i,o,a)=>{if(i&&"object"===typeof i||"function"===typeof i)for(let u of r(i))s.call(n,u)||u===o||t(n,u,{get:()=>i[u],enumerable:!(a=e(i,u))||a.enumerable});return n})(t({},"__esModule",{value:!0}),_)})();t.exports=e.default,"undefined"!=typeof window&&(e=e.default)},36073:t=>{!function(){"use strict";var e,r,n,s,i,o="properties",a="deepProperties",u="propertyDescriptors",c="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",_="deepConfiguration",h="deepProps",d="deepStatics",m="deepConf",y="initializers",g="methods",v="composers",b="compose";function w(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function A(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var E=A.bind(0,(function(t,e){if(e)for(var r=w(e),n=0;n{"use strict";r.d(e,{c_:()=>w});const n=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=Object.getOwnPropertyDescriptors(e);for(let s of r)delete n[s];Object.defineProperties(t,n)},s=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[t];const r=Object.getPrototypeOf(t);return null===r?e:s(r,[...e,r])},i=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];var i;const o=null!==(i=function(){for(var t=arguments.length,e=new Array(t),r=0;rs(t)));for(;i.every((t=>t.length>0));){const t=i.map((t=>t.pop())),e=t[0];if(!t.every((t=>t===e)))break;n=e}return n}(...t))&&void 0!==i?i:Object.prototype,a=Object.create(o),u=s(o);for(let c of t){let t=s(c);for(let e=t.length-1;e>=0;e--){let s=t[e];-1===u.indexOf(s)&&(n(a,s,["constructor",...r]),u.push(s))}}return a.constructor=e,a},o=t=>t.filter(((e,r)=>t.indexOf(e)==r)),a=(t,e)=>{const r=e.map((t=>s(t)));let n=0,i=!0;for(;i;){i=!1;for(let s=e.length-1;s>=0;s--){const e=r[s][n];if(void 0!==e&&null!==e&&(i=!0,void 0!=Object.getOwnPropertyDescriptor(e,t)))return r[s][0]}n++}},u=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.prototype;return new Proxy({},{getPrototypeOf:()=>e,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(e,r)=>Object.getOwnPropertyDescriptor(a(r,t)||{},r),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(r,n)=>void 0!==a(n,t)||void 0!==e[n],get:(r,n)=>(a(n,t)||e)[n],set(e,r,n){const s=a(r,t);if(void 0===s)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return s[r]=n,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>t.map(Object.getOwnPropertyNames).reduce(((t,e)=>e.concat(t.filter((t=>e.indexOf(t)<0)))))})},c=(t,e)=>u([...t,{constructor:e}]),l={initFunction:null,staticsStrategy:"copy",prototypeStrategy:"copy",decoratorInheritance:"deep"},f=new Map,p=t=>f.get(t),_=(t,e)=>f.set(t,e),h=(t,e)=>{var r,n;const s=o([...Object.getOwnPropertyNames(t),...Object.getOwnPropertyNames(e)]),i={};for(let a of s)i[a]=o([...null!==(r=null===t||void 0===t?void 0:t[a])&&void 0!==r?r:[],...null!==(n=null===e||void 0===e?void 0:e[a])&&void 0!==n?n:[]]);return i},d=(t,e)=>{var r,n,s,i;return{property:h(null!==(r=null===t||void 0===t?void 0:t.property)&&void 0!==r?r:{},null!==(n=null===e||void 0===e?void 0:e.property)&&void 0!==n?n:{}),method:h(null!==(s=null===t||void 0===t?void 0:t.method)&&void 0!==s?s:{},null!==(i=null===e||void 0===e?void 0:e.method)&&void 0!==i?i:{})}},m=(t,e)=>{var r,n,s,i,a,u;return{class:o([...null!==(r=null===t||void 0===t?void 0:t.class)&&void 0!==r?r:[],...null!==(n=null===e||void 0===e?void 0:e.class)&&void 0!==n?n:[]]),static:d(null!==(s=null===t||void 0===t?void 0:t.static)&&void 0!==s?s:{},null!==(i=null===e||void 0===e?void 0:e.static)&&void 0!==i?i:{}),instance:d(null!==(a=null===t||void 0===t?void 0:t.instance)&&void 0!==a?a:{},null!==(u=null===e||void 0===e?void 0:e.instance)&&void 0!==u?u:{})}},y=new Map,g=function(){const t=function(){var t;const e=new Set;for(var r=arguments.length,n=new Array(r),i=0;i0;)for(let r of o){const n=[...s(r.prototype).map((t=>t.constructor)),...null!==(t=p(r))&&void 0!==t?t:[]].filter((t=>!e.has(t)));for(let t of n)o.add(t);e.add(r),o.delete(r)}return[...e]}(...arguments).map((t=>y.get(t))).filter((t=>!!t));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((t,e)=>m(t,e)))},v=function(){for(var t=arguments.length,e=new Array(t),r=0;rb(t)));return 0===n.length?{}:1===n.length?n[0]:n.reduce(((t,e)=>m(t,e)))},b=t=>{let e=y.get(t);return e||(e={},y.set(t,e)),e};function w(){for(var t=arguments.length,e=new Array(t),r=0;rt.prototype)),p=l.initFunction;if(null!==p){const t=f.map((t=>t[p])).filter((t=>"function"===typeof t)),e=function(){for(var e=arguments.length,r=new Array(e),n=0;n{const r=t.property,n=t.method;if(r)for(let s in r)for(let t of r[s])t(e,s);if(n)for(let s in n)for(let t of n[s])t(e,s,Object.getOwnPropertyDescriptor(e,s))}},47325:(t,e,r)=>{var n=void 0!==n?n:{},s=function(){var e,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return e||(n=Object.assign({},n,o),e=new Promise((e=>{var o,a={};for(o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);var u,c,l,f,p=[],_="./this.program",h=function(t,e){throw e};l="object"==typeof window,f="function"==typeof importScripts,u="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,c=!l&&!u&&!f;var d,m,y,g,v,b="";u?(b=f?r(84142).dirname(b)+"/":"//",d=function(t,e){return g||(g=r(83078)),v||(v=r(84142)),t=v.normalize(t),g.readFileSync(t,e?null:"utf8")},y=function(t){var e=d(t,!0);return e.buffer||(e=new Uint8Array(e)),N(e.buffer),e},process.argv.length>1&&(_=process.argv[1].replace(/\\/g,"/")),p=process.argv.slice(2),t.exports=n,h=function(t){process.exit(t)},n.inspect=function(){return"[Emscripten Module object]"}):c?("undefined"!=typeof read&&(d=function(t){return read(t)}),y=function(t){var e;return"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(N("object"==typeof(e=read(t,"binary"))),e)},"undefined"!=typeof scriptArgs?p=scriptArgs:void 0!==arguments&&(p=arguments),"function"==typeof quit&&(h=function(t){quit(t)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||f)&&(f?b=self.location.href:void 0!==s&&s.currentScript&&(b=s.currentScript.src),b=0!==b.indexOf("blob:")?b.substr(0,b.lastIndexOf("/")+1):"",d=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},f&&(y=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),m=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)}),n.print||console.log.bind(console);var w=n.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(n[o]=a[o]);a=null,n.arguments&&(p=n.arguments),n.thisProgram&&(_=n.thisProgram),n.quit&&(h=n.quit);var A,E=16,x=[];function S(t,e){if(!A){A=new WeakMap;for(var r=0;r>0]=e;break;case"i16":U[t>>1]=e;break;case"i32":F[t>>2]=e;break;case"i64":lt=[e>>>0,(ct=e,+Math.abs(ct)>=1?ct>0?(0|Math.min(+Math.floor(ct/4294967296),4294967295))>>>0:~~+Math.ceil((ct-+(~~ct>>>0))/4294967296)>>>0:0)],F[t>>2]=lt[0],F[t+4>>2]=lt[1];break;case"float":D[t>>2]=e;break;case"double":q[t>>3]=e;break;default:at("invalid type for setValue: "+r)}}function k(t,e,r){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return M[t>>0];case"i16":return U[t>>1];case"i32":case"i64":return F[t>>2];case"float":return D[t>>2];case"double":return q[t>>3];default:at("invalid type for getValue: "+e)}return null}"object"!=typeof WebAssembly&&at("no native wasm support detected");var C=!1;function N(t,e){t||at("Assertion failed: "+e)}var R,M,L,U,F,D,q,B="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function z(t,e,r){for(var n=e+r,s=e;t[s]&&!(s>=n);)++s;if(s-e>16&&t.subarray&&B)return B.decode(t.subarray(e,s));for(var i="";e>10,56320|1023&c)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function V(t,e){return t?z(L,t,e):""}function W(t,e,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-1,o=0;o=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),a<=127){if(r>=i)break;e[r++]=a}else if(a<=2047){if(r+1>=i)break;e[r++]=192|a>>6,e[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;e[r++]=224|a>>12,e[r++]=128|a>>6&63,e[r++]=128|63&a}else{if(r+3>=i)break;e[r++]=240|a>>18,e[r++]=128|a>>12&63,e[r++]=128|a>>6&63,e[r++]=128|63&a}}return e[r]=0,r-s}function H(t,e,r){return W(t,L,e,r)}function G(t){for(var e=0,r=0;r=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&t.charCodeAt(++r)),n<=127?++e:e+=n<=2047?2:n<=65535?3:4}return e}function $(t){var e=G(t)+1,r=Vt(e);return W(t,M,r,e),r}function K(t){R=t,n.HEAP8=M=new Int8Array(t),n.HEAP16=U=new Int16Array(t),n.HEAP32=F=new Int32Array(t),n.HEAPU8=L=new Uint8Array(t),n.HEAPU16=new Uint16Array(t),n.HEAPU32=new Uint32Array(t),n.HEAPF32=D=new Float32Array(t),n.HEAPF64=q=new Float64Array(t)}var Z=n.INITIAL_MEMORY||33554432;(P=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:Z/65536,maximum:32768}))&&(R=P.buffer),Z=R.byteLength,K(R);var J=new WebAssembly.Table({initial:17,element:"anyfunc"}),X=[],Y=[],Q=[],tt=[],et=!1,rt=0,nt=null,st=null;function it(t){rt++,n.monitorRunDependencies&&n.monitorRunDependencies(rt)}function ot(t){if(rt--,n.monitorRunDependencies&&n.monitorRunDependencies(rt),0==rt&&(null!==nt&&(clearInterval(nt),nt=null),st)){var e=st;st=null,e()}}function at(t){throw n.onAbort&&n.onAbort(t),w(t+=""),C=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ut,ct,lt;function ft(t){return t.startsWith("data:application/octet-stream;base64,")}function pt(t){return t.startsWith("file://")}function _t(t){try{if(t==ut&&O)return new Uint8Array(O);if(y)return y(t);throw"both async and sync fetching of the wasm failed"}catch(t){at(t)}}ft(ut="tree-sitter.wasm")||(ut=function(t){return n.locateFile?n.locateFile(t,b):b+t}(ut));var ht={},dt={get:function(t,e){return ht[e]||(ht[e]=new WebAssembly.Global({value:"i32",mutable:!0})),ht[e]}};function mt(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var r=e.func;"number"==typeof r?void 0===e.arg?J.get(r)():J.get(r)(e.arg):r(void 0===e.arg?null:e.arg)}else e(n)}}function yt(t){var e=0;function r(){for(var r=0,n=1;;){var s=t[e++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(t instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(t,"dylink");N(0!=n.length,"need dylink section"),t=new Int8Array(n[0])}else N(1836278016==new Uint32Array(new Uint8Array(t.subarray(0,24)).buffer)[0],"need to see wasm magic number"),N(0===t[8],"need the dylink section to be first"),e=9,r(),N(6===t[e]),N(t[++e]==="d".charCodeAt(0)),N(t[++e]==="y".charCodeAt(0)),N(t[++e]==="l".charCodeAt(0)),N(t[++e]==="i".charCodeAt(0)),N(t[++e]==="n".charCodeAt(0)),N(t[++e]==="k".charCodeAt(0)),e++;var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var i=r();s.neededDynlibs=[];for(var o=0;o0}function bt(t){return 0==t.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(t)?t:"_"+t}function wt(t,e){for(var r in t)if(t.hasOwnProperty(r)){Ft.hasOwnProperty(r)||(Ft[r]=t[r]);var s=bt(r);n.hasOwnProperty(s)||(n[s]=t[r])}}var At={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var Et=5250880;function xt(t){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(t)}function St(t,e){var r={};for(var n in t){var s=t[n];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=e),r[n]=s}return function(t){for(var e in t)if(!xt(e)){var r=!1,n=t[e];e.startsWith("orig$")&&(e=e.split("$")[1],r=!0),ht[e]||(ht[e]=new WebAssembly.Global({value:"i32",mutable:!0})),(r||0==ht[e].value)&&("function"==typeof n?ht[e].value=S(n):"number"==typeof n?ht[e].value=n:w("unhandled export type for `"+e+"`: "+typeof n))}}(r),r}function Ot(t,e){var r,s;return e&&(r=Ft["orig$"+t]),r||(r=Ft[t]),r||(r=n[bt(t)]),!r&&t.startsWith("invoke_")&&(s=t.split("_")[1],r=function(){var t=Bt();try{return function(t,e,r){return t.includes("j")?function(t,e,r){var s=n["dynCall_"+t];return r&&r.length?s.apply(null,[e].concat(r)):s.call(null,e)}(t,e,r):J.get(e).apply(null,r)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(e){if(zt(t),e!==e+0&&"longjmp"!==e)throw e;Wt(1,0)}}),r}function jt(t,e){var r=yt(t);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,E);var s,i,o,a=(s=function(t){if(et)return Dt(t);var e=Et,r=e+t+15&-16;return Et=r,ht.__heap_base.value=r,e}(r.memorySize+n),(i=n)||(i=E),Math.ceil(s/i)*i),u=J.length;J.grow(r.tableSize);for(var c=a;c>2]=28,-1;r=Tt()}return F[e>>2]=r/1e3|0,F[e+4>>2]=r%1e3*1e3*1e3|0,0}function Rt(t){try{return P.grow(t-R.byteLength+65535>>>16),K(P.buffer),1}catch(t){}}function Mt(t){Kt(t)}function Lt(t){}Nt.sig="iii",Mt.sig="vi",Lt.sig="vi";var Ut,Ft={__heap_base:Et,__indirect_function_table:J,__memory_base:1024,__stack_pointer:kt,__table_base:1,abort:Ct,clock_gettime:Nt,emscripten_memcpy_big:function(t,e,r){L.copyWithin(t,e,e+r)},emscripten_resize_heap:function(t){var e,r=L.length;if((t>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var s=r*(1+.2/n);if(s=Math.min(s,t+100663296),Rt(Math.min(2147483648,((e=Math.max(t,s))%65536>0&&(e+=65536-e%65536),e))))return!0}return!1},exit:Mt,memory:P,setTempRet0:Lt,tree_sitter_log_callback:function(t,e){if(ce){const r=V(e);ce(r,0!==t)}},tree_sitter_parse_callback:function(t,e,r,n,s){var i=ue(e,{row:r,column:n});"string"==typeof i?(T(s,i.length,"i32"),function(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*t.length?r/2:t.length,s=0;s>1]=i,e+=2}U[e>>1]=0}(i,t,10240)):T(s,0,"i32")}},Dt=(function(){var t={env:Ft,wasi_snapshot_preview1:Ft,"GOT.mem":new Proxy(Ft,dt),"GOT.func":new Proxy(Ft,dt)};function e(t,e){var r=t.exports;r=St(r,1024),n.asm=r;var s,i=yt(e);i.neededDynlibs&&(j=i.neededDynlibs.concat(j)),wt(r),s=n.asm.__wasm_call_ctors,Y.unshift(s),ot()}function r(t){e(t.instance,t.module)}function s(e){return function(){if(!O&&(l||f)){if("function"==typeof fetch&&!pt(ut))return fetch(ut,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+ut+"'";return t.arrayBuffer()})).catch((function(){return _t(ut)}));if(m)return new Promise((function(t,e){m(ut,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return _t(ut)}))}().then((function(e){return WebAssembly.instantiate(e,t)})).then(e,(function(t){w("failed to asynchronously prepare wasm: "+t),at(t)}))}if(it(),n.instantiateWasm)try{return n.instantiateWasm(t,e)}catch(t){return w("Module.instantiateWasm callback failed with error: "+t),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||ft(ut)||pt(ut)||"function"!=typeof fetch?s(r):fetch(ut,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,t).then(r,(function(t){return w("wasm streaming compile failed: "+t),w("falling back to ArrayBuffer instantiation"),s(r)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(Dt=n._malloc=n.asm.malloc).apply(null,arguments)}),qt=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return(qt=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),Bt=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(Bt=n.stackSave=n.asm.stackSave).apply(null,arguments)}),zt=n.stackRestore=function(){return(zt=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Vt=n.stackAlloc=function(){return(Vt=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Wt=n._setThrew=function(){return(Wt=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Ht(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=n.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(t,e){var r;return r=1==e?Vt(t.length):Dt(t.length),t.subarray||t.slice?L.set(t,r):L.set(new Uint8Array(t),r),r},st=function t(){Ut||$t(),Ut||(st=t)};var Gt=!1;function $t(t){function e(){Ut||(Ut=!0,n.calledRun=!0,C||(et=!0,mt(Y),mt(Q),n.onRuntimeInitialized&&n.onRuntimeInitialized(),Zt&&function(t){var e=n._main;if(e){var r=(t=t||[]).length+1,s=Vt(4*(r+1));F[s>>2]=$(_);for(var i=1;i>2)+i]=$(t[i-1]);F[(s>>2)+r]=0;try{Kt(e(r,s),!0)}catch(t){if(t instanceof Ht)return;if("unwind"==t)return;var o=t;t&&"object"==typeof t&&t.stack&&(o=[t,t.stack]),w("exception thrown: "+o),h(1,t)}}}(t),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)t=n.postRun.shift(),tt.unshift(t);var t;mt(tt)}()))}t=t||p,rt>0||!Gt&&(function(){if(j.length){if(!y)return it(),void j.reduce((function(t,e){return t.then((function(){return Pt(e,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){ot(),It()}));j.forEach((function(t){Pt(t,{global:!0,nodelete:!0,allowUndefined:!0})})),It()}else It()}(),Gt=!0,rt>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)t=n.preRun.shift(),X.unshift(t);var t;mt(X)}(),rt>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e()))}function Kt(t,e){e&&vt()&&0===t||(vt()||(n.onExit&&n.onExit(t),C=!0),h(t,new Ht(t)))}if(n.run=$t,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var Zt=!0;n.noInitialRun&&(Zt=!1),$t();const Jt=n,Xt={},Yt=4,Qt=5*Yt,te=2*Yt,ee=2*Yt+2*te,re={row:0,column:0},ne=/[\w-.]*/g,se=/^_?tree_sitter_\w+/;var ie,oe,ae,ue,ce;class le{static init(){ae=Jt._ts_init(),ie=k(ae,"i32"),oe=k(ae+Yt,"i32")}initialize(){Jt._ts_parser_new_wasm(),this[0]=k(ae,"i32"),this[1]=k(ae+Yt,"i32")}delete(){Jt._ts_parser_delete(this[0]),Jt._free(this[1]),this[0]=0,this[1]=0}setLanguage(t){let e;if(t){if(t.constructor!==he)throw new Error("Argument must be a Language");{e=t[0];const r=Jt._ts_language_version(e);if(rt.slice(e,n);else{if("function"!=typeof t)throw new Error("Argument must be a string or a function");ue=t}this.logCallback?(ce=this.logCallback,Jt._ts_parser_enable_logger_wasm(this[0],1)):(ce=null,Jt._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let t=s=Jt._calloc(n,ee);for(let e=0;e0){let t=r;for(let r=0;r0){let r=e;for(let e=0;e0){let r=e;for(let e=0;e0){let t=a;for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:t;if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");be(this);let r=ae+Qt;return T(r,t,"i32"),T(r+Yt,e,"i32"),Jt._ts_node_descendant_for_index_wasm(this.tree[0]),we(this.tree)}namedDescendantForIndex(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");be(this);let r=ae+Qt;return T(r,t,"i32"),T(r+Yt,e,"i32"),Jt._ts_node_named_descendant_for_index_wasm(this.tree[0]),we(this.tree)}descendantForPosition(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if(!ve(t)||!ve(e))throw new Error("Arguments must be {row, column} objects");be(this);let r=ae+Qt;return xe(r,t),xe(r+te,e),Jt._ts_node_descendant_for_position_wasm(this.tree[0]),we(this.tree)}namedDescendantForPosition(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if(!ve(t)||!ve(e))throw new Error("Arguments must be {row, column} objects");be(this);let r=ae+Qt;return xe(r,t),xe(r+te,e),Jt._ts_node_named_descendant_for_position_wasm(this.tree[0]),we(this.tree)}walk(){return be(this),Jt._ts_tree_cursor_new_wasm(this.tree[0]),new _e(Xt,this.tree)}toString(){be(this);const t=Jt._ts_node_to_string_wasm(this.tree[0]),e=function(t){for(var e="";;){var r=L[t++>>0];if(!r)return e;e+=String.fromCharCode(r)}}(t);return Jt._free(t),e}}class _e{constructor(t,e){ge(t),this.tree=e,Ee(this)}delete(){Ae(this),Jt._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(t){be(t),Ae(this,ae+Qt),Jt._ts_tree_cursor_reset_wasm(this.tree[0]),Ee(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Ae(this),Jt._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Ae(this),Jt._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Ae(this),1===Jt._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Ae(this),1===Jt._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Ae(this);const t=Jt._ts_tree_cursor_start_index_wasm(this.tree[0]),e=Jt._ts_tree_cursor_end_index_wasm(this.tree[0]);return me(this.tree,t,e)}get startPosition(){return Ae(this),Jt._ts_tree_cursor_start_position_wasm(this.tree[0]),Se(ae)}get endPosition(){return Ae(this),Jt._ts_tree_cursor_end_position_wasm(this.tree[0]),Se(ae)}get startIndex(){return Ae(this),Jt._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Ae(this),Jt._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Ae(this),Jt._ts_tree_cursor_current_node_wasm(this.tree[0]),we(this.tree)}currentFieldId(){return Ae(this),Jt._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Ae(this);const t=Jt._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Ee(this),1===t}gotoNextSibling(){Ae(this);const t=Jt._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Ee(this),1===t}gotoParent(){Ae(this);const t=Jt._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return Ee(this),1===t}}class he{constructor(t,e){ge(t),this[0]=e,this.types=new Array(Jt._ts_language_symbol_count(this[0]));for(let r=0,n=this.types.length;r0){if("string"!==r[0].type)throw new Error("Predicates must begin with a literal value");const t=r[0].value;let e=!0;switch(t){case"not-eq?":e=!1;case"eq?":if(3!==r.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got ".concat(r.length-1));if("capture"!==r[1].type)throw new Error('First argument of `#eq?` predicate must be a capture. Got "'.concat(r[1].value,'"'));if("capture"===r[2].type){const t=r[1].name,n=r[2].name;_[h].push((function(r){let s,i;for(const e of r)e.name===t&&(s=e.node),e.name===n&&(i=e.node);return void 0===s||void 0===i||s.text===i.text===e}))}else{const t=r[1].name,n=r[2].value;_[h].push((function(r){for(const s of r)if(s.name===t)return s.node.text===n===e;return!0}))}break;case"not-match?":e=!1;case"match?":if(3!==r.length)throw new Error("Wrong number of arguments to `#match?` predicate. Expected 2, got ".concat(r.length-1,"."));if("capture"!==r[1].type)throw new Error('First argument of `#match?` predicate must be a capture. Got "'.concat(r[1].value,'".'));if("string"!==r[2].type)throw new Error("Second argument of `#match?` predicate must be a string. Got @".concat(r[2].value,"."));const n=r[1].name,s=new RegExp(r[2].value);_[h].push((function(t){for(const r of t)if(r.name===n)return s.test(r.node.text)===e;return!0}));break;case"set!":if(r.length<2||r.length>3)throw new Error("Wrong number of arguments to `#set!` predicate. Expected 1 or 2. Got ".concat(r.length-1,"."));if(r.some((t=>"string"!==t.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');c[h]||(c[h]={}),c[h][r[1].value]=r[2]?r[2].value:null;break;case"is?":case"is-not?":if(r.length<2||r.length>3)throw new Error("Wrong number of arguments to `#".concat(t,"` predicate. Expected 1 or 2. Got ").concat(r.length-1,"."));if(r.some((t=>"string"!==t.type)))throw new Error("Arguments to `#".concat(t,'` predicate must be a strings.".'));const i="is?"===t?l:f;i[h]||(i[h]={}),i[h][r[1].value]=r[2]?r[2].value:null;break;default:p[h].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(c[h]),Object.freeze(l[h]),Object.freeze(f[h])}return Jt._free(r),new de(Xt,n,a,_,p,Object.freeze(c),Object.freeze(l),Object.freeze(f))}static load(t){let e;if(t instanceof Uint8Array)e=Promise.resolve(t);else{const n=t;if("undefined"!=typeof process&&process.versions&&process.versions.node){const t=r(83078);e=Promise.resolve(t.readFileSync(n))}else e=fetch(n).then((t=>t.arrayBuffer().then((e=>{if(t.ok)return new Uint8Array(e);{const r=new TextDecoder("utf-8").decode(e);throw new Error("Language.load failed with status ".concat(t.status,".\n\n").concat(r))}}))))}const n="function"==typeof loadSideModule?loadSideModule:jt;return e.then((t=>n(t,{loadAsync:!0}))).then((t=>{const e=Object.keys(t),r=e.find((t=>se.test(t)&&!t.includes("external_scanner_")));r||console.log("Couldn't find language function in WASM file. Symbols:\n".concat(JSON.stringify(e,null,2)));const n=t[r]();return new he(Xt,n)}))}}class de{constructor(t,e,r,n,s,i,o,a){ge(t),this[0]=e,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Jt._ts_query_delete(this[0]),this[0]=0}matches(t,e,r,n){e||(e=re),r||(r=re),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");be(t),Jt._ts_query_matches_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=k(ae,"i32"),o=k(ae+Yt,"i32"),a=k(ae+2*Yt,"i32"),u=new Array(i);this.exceededMatchLimit=!!a;let c=0,l=o;for(let f=0;ft(n)))){u[c++]={pattern:e,captures:n};const t=this.setProperties[e];t&&(u[f].setProperties=t);const r=this.assertedProperties[e];r&&(u[f].assertedProperties=r);const s=this.refutedProperties[e];s&&(u[f].refutedProperties=s)}}return u.length=c,Jt._free(o),u}captures(t,e,r,n){e||(e=re),r||(r=re),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");be(t),Jt._ts_query_captures_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=k(ae,"i32"),o=k(ae+Yt,"i32"),a=k(ae+2*Yt,"i32"),u=[];this.exceededMatchLimit=!!a;const c=[];let l=o;for(let f=0;ft(c)))){const t=c[n],r=this.setProperties[e];r&&(t.setProperties=r);const s=this.assertedProperties[e];s&&(t.assertedProperties=s);const i=this.refutedProperties[e];i&&(t.refutedProperties=i),u.push(t)}}return Jt._free(o),u}predicatesForPattern(t){return this.predicates[t]}didExceedMatchLimit(){return this.exceededMatchLimit}}function me(t,e,r){const n=r-e;let s=t.textCallback(e,null,r);for(e+=s.length;e0))break;e+=n.length,s+=n}return e>r&&(s=s.slice(0,n)),s}function ye(t,e,r,n){for(let s=0,i=n.length;s1&&void 0!==arguments[1]?arguments[1]:ae;const r=k(e,"i32");if(0===r)return null;const n=k(e+=Yt,"i32"),s=k(e+=Yt,"i32"),i=k(e+=Yt,"i32"),o=k(e+=Yt,"i32"),a=new pe(Xt,t);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:i},a[0]=o,a}function Ae(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ae;T(e+0*Yt,t[0],"i32"),T(e+1*Yt,t[1],"i32"),T(e+2*Yt,t[2],"i32")}function Ee(t){t[0]=k(ae+0*Yt,"i32"),t[1]=k(ae+1*Yt,"i32"),t[2]=k(ae+2*Yt,"i32")}function xe(t,e){T(t,e.row,"i32"),T(t+Yt,e.column,"i32")}function Se(t){return{row:k(t,"i32"),column:k(t+Yt,"i32")}}function Oe(t,e){xe(t,e.startPosition),xe(t+=te,e.endPosition),T(t+=te,e.startIndex,"i32"),T(t+=Yt,e.endIndex,"i32"),t+=Yt}function je(t){const e={};return e.startPosition=Se(t),t+=te,e.endPosition=Se(t),t+=te,e.startIndex=k(t,"i32"),t+=Yt,e.endIndex=k(t,"i32"),e}for(const t of Object.getOwnPropertyNames(le.prototype))Object.defineProperty(i.prototype,t,{value:le.prototype[t],enumerable:!1,writable:!1});i.Language=he,n.onRuntimeInitialized=()=>{le.init(),e()}})))}}return i}();t.exports=s},79084:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.errorMessages=e.ErrorType=void 0,function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(r=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},96323:(t,e,r)=>{"use strict";e.MH=void 0;const n=r(79084);function s(t,e,r){const s=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(s)||void 0!==r&&r!==t.length)throw new SyntaxError(n.errorMessages.get(e));return s}function i(t,e){const r=s(t,n.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=s(e,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}const o=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function u(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.replace(a,(function(t,r,a,u,c,l,f,p,_){if(void 0!==r)return"\\";if(void 0!==a)return function(t){const e=s(t,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(a);if(void 0!==u)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var e;const r=s(t.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(i){throw i instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):i}}(u);if(void 0!==c)return i(c,l);if(void 0!==f)return i(f);if("0"===p)return"\0";if(void 0!==p)return function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const e=parseInt(t,8);return String.fromCharCode(e)}(p,!e);if(void 0!==_)return h=_,o.get(h)||h;var h;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.MH=u},74921:(t,e,r)=>{"use strict";t.exports=r.p+"static/media/tree-sitter.23aac571c96605dc2521.wasm"},21212:(t,e,r)=>{t.exports=r(10055)},29646:(t,e,r)=>{"use strict";var n=r(58715);t.exports=n},32620:(t,e,r)=>{"use strict";r(95448),r(42995),r(61286),r(66608),r(28052);var n=r(30879);t.exports=n.AggregateError},10055:(t,e,r)=>{"use strict";t.exports=r(53)},53:(t,e,r)=>{"use strict";r(35214);var n=r(29646);t.exports=n},38666:(t,e,r)=>{"use strict";var n=r(18421),s=r(5783),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not a function")}},4002:(t,e,r)=>{"use strict";var n=r(90309),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+s(t)+" as a prototype")}},76357:t=>{"use strict";t.exports=function(){}},2983:(t,e,r)=>{"use strict";var n=r(69026),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not an object")}},55489:(t,e,r)=>{"use strict";var n=r(66805),s=r(75706),i=r(32438),o=function(t){return function(e,r,o){var a,u=n(e),c=i(u),l=s(o,c);if(t&&r!==r){for(;c>l;)if((a=u[l++])!==a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},80896:(t,e,r)=>{"use strict";var n=r(31600),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},7323:(t,e,r)=>{"use strict";var n=r(22028),s=r(18421),i=r(80896),o=r(66163)("toStringTag"),a=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=a(t),o))?r:u?i(e):"Object"===(n=i(e))&&s(e.callee)?"Arguments":n}},79724:(t,e,r)=>{"use strict";var n=r(55393),s=r(53271),i=r(22339),o=r(25297);t.exports=function(t,e,r){for(var a=s(e),u=o.f,c=i.f,l=0;l{"use strict";var n=r(51295);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},1953:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},31851:(t,e,r)=>{"use strict";var n=r(88172),s=r(25297),i=r(72452);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},72452:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},90728:(t,e,r)=>{"use strict";var n=r(31851);t.exports=function(t,e,r,s){return s&&s.enumerable?t[e]=r:n(t,e,r),t}},79913:(t,e,r)=>{"use strict";var n=r(55771),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},88172:(t,e,r)=>{"use strict";var n=r(51295);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},62231:(t,e,r)=>{"use strict";var n=r(55771),s=r(69026),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},92104:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},51168:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},37164:(t,e,r)=>{"use strict";var n,s,i=r(55771),o=r(51168),a=i.process,u=i.Deno,c=a&&a.versions||u&&u.version,l=c&&c.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},6551:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80129:(t,e,r)=>{"use strict";var n=r(31600),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,u=a.test(o);t.exports=function(t,e){if(u&&"string"==typeof t&&!s.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},19659:(t,e,r)=>{"use strict";var n=r(31851),s=r(80129),i=r(93459),o=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(o?o(t,e):n(t,"stack",s(r,a)))}},93459:(t,e,r)=>{"use strict";var n=r(51295),s=r(72452);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",s(1,7)),7!==t.stack)}))},77814:(t,e,r)=>{"use strict";var n=r(55771),s=r(39449),i=r(59476),o=r(18421),a=r(22339).f,u=r(50332),c=r(30879),l=r(83792),f=r(31851),p=r(55393),_=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,h,d,m,y,g,v,b,w=t.target,A=t.global,E=t.stat,x=t.proto,S=A?n:E?n[w]:n[w]&&n[w].prototype,O=A?c:c[w]||f(c,w,{})[w],j=O.prototype;for(d in e)s=!(r=u(A?d:w+(E?".":"#")+d,t.forced))&&S&&p(S,d),y=O[d],s&&(g=t.dontCallGetSet?(b=a(S,d))&&b.value:S[d]),m=s&&g?g:e[d],(r||x||typeof y!=typeof m)&&(v=t.bind&&s?l(m,n):t.wrap&&s?_(m):x&&o(m)?i(m):m,(t.sham||m&&m.sham||y&&y.sham)&&f(v,"sham",!0),f(O,d,v),x&&(p(c,h=w+"Prototype")||f(c,h,{}),f(c[h],d,m),t.real&&j&&(r||!j[d])&&f(j,d,m)))}},51295:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},39449:(t,e,r)=>{"use strict";var n=r(88872),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},83792:(t,e,r)=>{"use strict";var n=r(59476),s=r(38666),i=r(88872),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},88872:(t,e,r)=>{"use strict";var n=r(51295);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},24701:(t,e,r)=>{"use strict";var n=r(88872),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},30510:(t,e,r)=>{"use strict";var n=r(88172),s=r(55393),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),u=a&&"something"===function(){}.name,c=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:c}},12818:(t,e,r)=>{"use strict";var n=r(31600),s=r(38666);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(i){}}},59476:(t,e,r)=>{"use strict";var n=r(80896),s=r(31600);t.exports=function(t){if("Function"===n(t))return s(t)}},31600:(t,e,r)=>{"use strict";var n=r(88872),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},88343:(t,e,r)=>{"use strict";var n=r(30879),s=r(55771),i=r(18421),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},2563:(t,e,r)=>{"use strict";var n=r(7323),s=r(36318),i=r(56565),o=r(74749),a=r(66163)("iterator");t.exports=function(t){if(!i(t))return s(t,a)||s(t,"@@iterator")||o[n(t)]}},73153:(t,e,r)=>{"use strict";var n=r(24701),s=r(38666),i=r(2983),o=r(5783),a=r(2563),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(s(r))return i(n(r,t));throw new u(o(t)+" is not iterable")}},36318:(t,e,r)=>{"use strict";var n=r(38666),s=r(56565);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},55771:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},55393:(t,e,r)=>{"use strict";var n=r(31600),s=r(1493),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},97621:t=>{"use strict";t.exports={}},24621:(t,e,r)=>{"use strict";var n=r(88343);t.exports=n("document","documentElement")},40749:(t,e,r)=>{"use strict";var n=r(88172),s=r(51295),i=r(62231);t.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},58703:(t,e,r)=>{"use strict";var n=r(31600),s=r(51295),i=r(80896),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):o(t)}:o},10047:(t,e,r)=>{"use strict";var n=r(18421),s=r(69026),i=r(35943);t.exports=function(t,e,r){var o,a;return i&&n(o=e.constructor)&&o!==r&&s(a=o.prototype)&&a!==r.prototype&&i(t,a),t}},66864:(t,e,r)=>{"use strict";var n=r(69026),s=r(31851);t.exports=function(t,e){n(e)&&"cause"in e&&s(t,"cause",e.cause)}},45965:(t,e,r)=>{"use strict";var n,s,i,o=r(78558),a=r(55771),u=r(69026),c=r(31851),l=r(55393),f=r(37693),p=r(41095),_=r(97621),h="Object already initialized",d=a.TypeError,m=a.WeakMap;if(o||f.state){var y=f.state||(f.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new d(h);return e.facade=t,y.set(t,e),e},s=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var g=p("state");_[g]=!0,n=function(t,e){if(l(t,g))throw new d(h);return e.facade=t,c(t,g,e),e},s=function(t){return l(t,g)?t[g]:{}},i=function(t){return l(t,g)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=s(e)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}},94769:(t,e,r)=>{"use strict";var n=r(66163),s=r(74749),i=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||o[i]===t)}},18421:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},50332:(t,e,r)=>{"use strict";var n=r(51295),s=r(18421),i=/#|\.prototype\./,o=function(t,e){var r=u[a(t)];return r===l||r!==c&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},56565:t=>{"use strict";t.exports=function(t){return null===t||void 0===t}},69026:(t,e,r)=>{"use strict";var n=r(18421);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},90309:(t,e,r)=>{"use strict";var n=r(69026);t.exports=function(t){return n(t)||null===t}},62763:t=>{"use strict";t.exports=!0},2437:(t,e,r)=>{"use strict";var n=r(88343),s=r(18421),i=r(99481),o=r(77728),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},39532:(t,e,r)=>{"use strict";var n=r(83792),s=r(24701),i=r(2983),o=r(5783),a=r(94769),u=r(32438),c=r(99481),l=r(73153),f=r(2563),p=r(95811),_=TypeError,h=function(t,e){this.stopped=t,this.result=e},d=h.prototype;t.exports=function(t,e,r){var m,y,g,v,b,w,A,E=r&&r.that,x=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),O=!(!r||!r.IS_ITERATOR),j=!(!r||!r.INTERRUPTED),P=n(e,E),I=function(t){return m&&p(m,"normal",t),new h(!0,t)},T=function(t){return x?(i(t),j?P(t[0],t[1],I):P(t[0],t[1])):j?P(t,I):P(t)};if(S)m=t.iterator;else if(O)m=t;else{if(!(y=f(t)))throw new _(o(t)+" is not iterable");if(a(y)){for(g=0,v=u(t);v>g;g++)if((b=T(t[g]))&&c(d,b))return b;return new h(!1)}m=l(t,y)}for(w=S?t.next:m.next;!(A=s(w,m)).done;){try{b=T(A.value)}catch(k){p(m,"throw",k)}if("object"==typeof b&&b&&c(d,b))return b}return new h(!1)}},95811:(t,e,r)=>{"use strict";var n=r(24701),s=r(2983),i=r(36318);t.exports=function(t,e,r){var o,a;s(t);try{if(!(o=i(t,"return"))){if("throw"===e)throw r;return r}o=n(o,t)}catch(u){a=!0,o=u}if("throw"===e)throw r;if(a)throw o;return s(o),r}},2890:(t,e,r)=>{"use strict";var n=r(93529).IteratorPrototype,s=r(49432),i=r(72452),o=r(14399),a=r(74749),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=s(n,{next:i(+!c,r)}),o(t,l,!1,!0),a[l]=u,t}},54576:(t,e,r)=>{"use strict";var n=r(77814),s=r(24701),i=r(62763),o=r(30510),a=r(18421),u=r(2890),c=r(85379),l=r(35943),f=r(14399),p=r(31851),_=r(90728),h=r(66163),d=r(74749),m=r(93529),y=o.PROPER,g=o.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,w=h("iterator"),A="keys",E="values",x="entries",S=function(){return this};t.exports=function(t,e,r,o,h,m,O){u(r,e,o);var j,P,I,T=function(t){if(t===h&&M)return M;if(!b&&t&&t in N)return N[t];switch(t){case A:case E:case x:return function(){return new r(this,t)}}return function(){return new r(this)}},k=e+" Iterator",C=!1,N=t.prototype,R=N[w]||N["@@iterator"]||h&&N[h],M=!b&&R||T(h),L="Array"===e&&N.entries||R;if(L&&(j=c(L.call(new t)))!==Object.prototype&&j.next&&(i||c(j)===v||(l?l(j,v):a(j[w])||_(j,w,S)),f(j,k,!0,!0),i&&(d[k]=S)),y&&h===E&&R&&R.name!==E&&(!i&&g?p(N,"name",E):(C=!0,M=function(){return s(R,this)})),h)if(P={values:T(E),keys:m?M:T(A),entries:T(x)},O)for(I in P)(b||C||!(I in N))&&_(N,I,P[I]);else n({target:e,proto:!0,forced:b||C},P);return i&&!O||N[w]===M||_(N,w,M,{name:h}),d[e]=M,P}},93529:(t,e,r)=>{"use strict";var n,s,i,o=r(51295),a=r(18421),u=r(69026),c=r(49432),l=r(85379),f=r(90728),p=r(66163),_=r(62763),h=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):d=!0),!u(n)||o((function(){var t={};return n[h].call(t)!==t}))?n={}:_&&(n=c(n)),a(n[h])||f(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},74749:t=>{"use strict";t.exports={}},32438:(t,e,r)=>{"use strict";var n=r(14270);t.exports=function(t){return n(t.length)}},67173:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},59323:(t,e,r)=>{"use strict";var n=r(59055);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},49432:(t,e,r)=>{"use strict";var n,s=r(2983),i=r(10017),o=r(6551),a=r(97621),u=r(24621),c=r(62231),l=r(41095),f="prototype",p="script",_=l("IE_PROTO"),h=function(){},d=function(t){return"<"+p+">"+t+""},m=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}y="undefined"!=typeof document?document.domain&&n?m(n):function(){var t,e=c("iframe"),r="java"+p+":";return e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F}():m(n);for(var t=o.length;t--;)delete y[f][o[t]];return y()};a[_]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[f]=s(t),r=new h,h[f]=null,r[_]=t):r=y(),void 0===e?r:i.f(r,e)}},10017:(t,e,r)=>{"use strict";var n=r(88172),s=r(14606),i=r(25297),o=r(2983),a=r(66805),u=r(66240);e.f=n&&!s?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=u(e),c=s.length,l=0;c>l;)i.f(t,r=s[l++],n[r]);return t}},25297:(t,e,r)=>{"use strict";var n=r(88172),s=r(40749),i=r(14606),o=r(2983),a=r(60137),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",_="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(r),"function"===typeof t&&"prototype"===e&&"value"in r&&_ in r&&!r[_]){var n=l(t,e);n&&n[_]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return c(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},22339:(t,e,r)=>{"use strict";var n=r(88172),s=r(24701),i=r(60421),o=r(72452),a=r(66805),u=r(60137),c=r(55393),l=r(40749),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=u(e),l)try{return f(t,e)}catch(r){}if(c(t,e))return o(!s(i.f,t,e),t[e])}},92880:(t,e,r)=>{"use strict";var n=r(47396),s=r(6551).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},56885:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},85379:(t,e,r)=>{"use strict";var n=r(55393),s=r(18421),i=r(1493),o=r(41095),a=r(71379),u=o("IE_PROTO"),c=Object,l=c.prototype;t.exports=a?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},99481:(t,e,r)=>{"use strict";var n=r(31600);t.exports=n({}.isPrototypeOf)},47396:(t,e,r)=>{"use strict";var n=r(31600),s=r(55393),i=r(66805),o=r(55489).indexOf,a=r(97621),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&u(l,r);for(;e.length>c;)s(n,r=e[c++])&&(~o(l,r)||u(l,r));return l}},66240:(t,e,r)=>{"use strict";var n=r(47396),s=r(6551);t.exports=Object.keys||function(t){return n(t,s)}},60421:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},35943:(t,e,r)=>{"use strict";var n=r(12818),s=r(2983),i=r(4002);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(o){}return function(r,n){return s(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},66843:(t,e,r)=>{"use strict";var n=r(22028),s=r(7323);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},94830:(t,e,r)=>{"use strict";var n=r(24701),s=r(18421),i=r(69026),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw new o("Can't convert object to primitive value")}},53271:(t,e,r)=>{"use strict";var n=r(88343),s=r(31600),i=r(92880),o=r(56885),a=r(2983),u=s([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=o.f;return r?u(e,r(t)):e}},30879:t=>{"use strict";t.exports={}},65680:(t,e,r)=>{"use strict";var n=r(25297).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},66374:(t,e,r)=>{"use strict";var n=r(56565),s=TypeError;t.exports=function(t){if(n(t))throw new s("Can't call method on "+t);return t}},14399:(t,e,r)=>{"use strict";var n=r(22028),s=r(25297).f,i=r(31851),o=r(55393),a=r(66843),u=r(66163)("toStringTag");t.exports=function(t,e,r,c){var l=r?t:t&&t.prototype;l&&(o(l,u)||s(l,u,{configurable:!0,value:e}),c&&!n&&i(l,"toString",a))}},41095:(t,e,r)=>{"use strict";var n=r(99473),s=r(32656),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},37693:(t,e,r)=>{"use strict";var n=r(55771),s=r(79913),i="__core-js_shared__",o=n[i]||s(i,{});t.exports=o},99473:(t,e,r)=>{"use strict";var n=r(62763),s=r(37693);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"\xa9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4343:(t,e,r)=>{"use strict";var n=r(31600),s=r(20251),i=r(59055),o=r(66374),a=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,f=i(o(e)),p=s(r),_=f.length;return p<0||p>=_?t?"":void 0:(n=u(f,p))<55296||n>56319||p+1===_||(l=u(f,p+1))<56320||l>57343?t?a(f,p):n:t?c(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},34095:(t,e,r)=>{"use strict";var n=r(37164),s=r(51295),i=r(55771).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},75706:(t,e,r)=>{"use strict";var n=r(20251),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},66805:(t,e,r)=>{"use strict";var n=r(58703),s=r(66374);t.exports=function(t){return n(s(t))}},20251:(t,e,r)=>{"use strict";var n=r(67173);t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},14270:(t,e,r)=>{"use strict";var n=r(20251),s=Math.min;t.exports=function(t){var e=n(t);return e>0?s(e,9007199254740991):0}},1493:(t,e,r)=>{"use strict";var n=r(66374),s=Object;t.exports=function(t){return s(n(t))}},67497:(t,e,r)=>{"use strict";var n=r(24701),s=r(69026),i=r(2437),o=r(36318),a=r(94830),u=r(66163),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,u=o(t,l);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!s(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},60137:(t,e,r)=>{"use strict";var n=r(67497),s=r(2437);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},22028:(t,e,r)=>{"use strict";var n={};n[r(66163)("toStringTag")]="z",t.exports="[object z]"===String(n)},59055:(t,e,r)=>{"use strict";var n=r(7323),s=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return s(t)}},5783:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},32656:(t,e,r)=>{"use strict";var n=r(31600),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},77728:(t,e,r)=>{"use strict";var n=r(34095);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},14606:(t,e,r)=>{"use strict";var n=r(88172),s=r(51295);t.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},78558:(t,e,r)=>{"use strict";var n=r(55771),s=r(18421),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},66163:(t,e,r)=>{"use strict";var n=r(55771),s=r(99473),i=r(55393),o=r(32656),a=r(34095),u=r(77728),c=n.Symbol,l=s("wks"),f=u?c.for||c:c&&c.withoutSetter||o;t.exports=function(t){return i(l,t)||(l[t]=a&&i(c,t)?c[t]:f("Symbol."+t)),l[t]}},66153:(t,e,r)=>{"use strict";var n=r(88343),s=r(55393),i=r(31851),o=r(99481),a=r(35943),u=r(79724),c=r(65680),l=r(10047),f=r(59323),p=r(66864),_=r(19659),h=r(88172),d=r(62763);t.exports=function(t,e,r,m){var y="stackTraceLimit",g=m?2:1,v=t.split("."),b=v[v.length-1],w=n.apply(null,v);if(w){var A=w.prototype;if(!d&&s(A,"cause")&&delete A.cause,!r)return w;var E=n("Error"),x=e((function(t,e){var r=f(m?e:t,void 0),n=m?new w(t):new w;return void 0!==r&&i(n,"message",r),_(n,x,n.stack,2),this&&o(A,this)&&l(n,this,x),arguments.length>g&&p(n,arguments[g]),n}));if(x.prototype=A,"Error"!==b?a?a(x,E):u(x,E,{name:!0}):h&&y in w&&(c(x,w,y),c(x,w,"prepareStackTrace")),u(x,w),!d)try{A.name!==b&&i(A,"name",b),A.constructor=x}catch(S){}return x}}},61286:(t,e,r)=>{"use strict";var n=r(77814),s=r(88343),i=r(39449),o=r(51295),a=r(66153),u="AggregateError",c=s(u),l=!o((function(){return 1!==c([1]).errors[0]}))&&o((function(){return 7!==c([1],u,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(u,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},28633:(t,e,r)=>{"use strict";var n=r(77814),s=r(99481),i=r(85379),o=r(35943),a=r(79724),u=r(49432),c=r(31851),l=r(72452),f=r(66864),p=r(19659),_=r(39532),h=r(59323),d=r(66163)("toStringTag"),m=Error,y=[].push,g=function(t,e){var r,n=s(v,this);o?r=o(new m,n?i(this):v):(r=n?this:u(v),c(r,d,"Error")),void 0!==e&&c(r,"message",h(e)),p(r,g,r.stack,1),arguments.length>2&&f(r,arguments[2]);var a=[];return _(t,y,{that:a}),c(r,"errors",a),r};o?o(g,m):a(g,m,{name:!0});var v=g.prototype=u(m.prototype,{constructor:l(1,g),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},42995:(t,e,r)=>{"use strict";r(28633)},66608:(t,e,r)=>{"use strict";var n=r(66805),s=r(76357),i=r(74749),o=r(45965),a=r(25297).f,u=r(54576),c=r(1953),l=r(62763),f=r(88172),p="Array Iterator",_=o.set,h=o.getterFor(p);t.exports=u(Array,"Array",(function(t,e){_(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(m){}},95448:(t,e,r)=>{"use strict";var n=r(77814),s=r(55771),i=r(39449),o=r(66153),a="WebAssembly",u=s[a],c=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=o(t,e,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},f=function(t,e){if(u&&u[t]){var r={};r[t]=o(a+"."+t,e,c),n({target:a,stat:!0,constructor:!0,arity:1,forced:c},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},28052:(t,e,r)=>{"use strict";var n=r(4343).charAt,s=r(59055),i=r(45965),o=r(54576),a=r(1953),u="String Iterator",c=i.set,l=i.getterFor(u);o(String,"String",(function(t){c(this,{type:u,string:s(t),index:0})}),(function(){var t,e=l(this),r=e.string,s=e.index;return s>=r.length?a(void 0,!0):(t=n(r,s),e.index+=t.length,a(t,!1))}))},35214:(t,e,r)=>{"use strict";r(42995)},74665:(t,e,r)=>{"use strict";r(66608);var n=r(92104),s=r(55771),i=r(14399),o=r(74749);for(var a in n)i(s[a],a),o[a]=o.Array},58715:(t,e,r)=>{"use strict";r(35214);var n=r(32620);r(74665),t.exports=n},98158:(t,e,r)=>{"use strict";function n(t){return n="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},n(t)}function s(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var s=r.call(t,e||"default");if("object"!=n(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:String(e)}function i(t,e,r){return(e=s(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{A:()=>i})},97173:(t,e,r)=>{"use strict";r.d(e,{A:()=>$t});var n={};function s(t,e){return function(){return t.apply(e,arguments)}}r.r(n),r.d(n,{hasBrowserEnv:()=>nt,hasStandardBrowserEnv:()=>st,hasStandardBrowserWebWorkerEnv:()=>ot});const{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,a=(u=Object.create(null),t=>{const e=i.call(t);return u[e]||(u[e]=e.slice(8,-1).toLowerCase())});var u;const c=t=>(t=t.toLowerCase(),e=>a(e)===t),l=t=>e=>typeof e===t,{isArray:f}=Array,p=l("undefined");const _=c("ArrayBuffer");const h=l("string"),d=l("function"),m=l("number"),y=t=>null!==t&&"object"===typeof t,g=t=>{if("object"!==a(t))return!1;const e=o(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},v=c("Date"),b=c("File"),w=c("Blob"),A=c("FileList"),E=c("URLSearchParams");function x(t,e){let r,n,{allOwnKeys:s=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),f(t))for(r=0,n=t.length;r0;)if(n=r[s],e===n.toLowerCase())return n;return null}const O="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,j=t=>!p(t)&&t!==O;const P=(I="undefined"!==typeof Uint8Array&&o(Uint8Array),t=>I&&t instanceof I);var I;const T=c("HTMLFormElement"),k=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),C=c("RegExp"),N=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};x(r,((r,s)=>{let i;!1!==(i=e(r,s,t))&&(n[s]=i||r)})),Object.defineProperties(t,n)},R="abcdefghijklmnopqrstuvwxyz",M="0123456789",L={DIGIT:M,ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+M};const U=c("AsyncFunction"),F={isArray:f,isArrayBuffer:_,isBuffer:function(t){return null!==t&&!p(t)&&null!==t.constructor&&!p(t.constructor)&&d(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"===typeof FormData&&t instanceof FormData||d(t.append)&&("formdata"===(e=a(t))||"object"===e&&d(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&_(t.buffer),e},isString:h,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:y,isPlainObject:g,isUndefined:p,isDate:v,isFile:b,isBlob:w,isRegExp:C,isFunction:d,isStream:t=>y(t)&&d(t.pipe),isURLSearchParams:E,isTypedArray:P,isFileList:A,forEach:x,merge:function t(){const{caseless:e}=j(this)&&this||{},r={},n=(n,s)=>{const i=e&&S(r,s)||s;g(r[i])&&g(n)?r[i]=t(r[i],n):g(n)?r[i]=t({},n):f(n)?r[i]=n.slice():r[i]=n};for(let s=0,i=arguments.length;s3&&void 0!==arguments[3]?arguments[3]:{};return x(e,((e,n)=>{r&&d(e)?t[n]=s(e,r):t[n]=e}),{allOwnKeys:n}),t},trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let s,i,a;const u={};if(e=e||{},null==t)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)a=s[i],n&&!n(a,t,e)||u[a]||(e[a]=t[a],u[a]=!0);t=!1!==r&&o(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:c,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(f(t))return t;let e=t.length;if(!m(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:T,hasOwnProperty:k,hasOwnProp:k,reduceDescriptors:N,freezeMethods:t=>{N(t,((e,r)=>{if(d(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];d(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return f(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:S,global:O,isContextDefined:j,ALPHABET:L,generateString:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L.ALPHA_DIGIT,r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&d(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(y(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const s=f(t)?[]:{};return x(t,((t,e)=>{const i=r(t,n+1);!p(i)&&(s[e]=i)})),e[n]=void 0,s}}return t};return r(t,0)},isAsyncFn:U,isThenable:t=>t&&(y(t)||d(t))&&d(t.then)&&d(t.catch)};function D(t,e,r,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),s&&(this.response=s)}F.inherits(D,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:F.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const q=D.prototype,B={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{B[t]={value:t}})),Object.defineProperties(D,B),Object.defineProperty(q,"isAxiosError",{value:!0}),D.from=(t,e,r,n,s,i)=>{const o=Object.create(q);return F.toFlatObject(t,o,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),D.call(o,t.message,e,r,n,s),o.cause=t,o.name=t.name,i&&Object.assign(o,i),o};const z=D;function V(t){return F.isPlainObject(t)||F.isArray(t)}function W(t){return F.endsWith(t,"[]")?t.slice(0,-2):t}function H(t,e,r){return t?t.concat(e).map((function(t,e){return t=W(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const G=F.toFlatObject(F,{},null,(function(t){return/^is[A-Z]/.test(t)}));const $=function(t,e,r){if(!F.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=F.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!F.isUndefined(e[t])}))).metaTokens,s=r.visitor||c,i=r.dots,o=r.indexes,a=(r.Blob||"undefined"!==typeof Blob&&Blob)&&F.isSpecCompliantForm(e);if(!F.isFunction(s))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(F.isDate(t))return t.toISOString();if(!a&&F.isBlob(t))throw new z("Blob is not supported. Use a Buffer instead.");return F.isArrayBuffer(t)||F.isTypedArray(t)?a&&"function"===typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,r,s){let a=t;if(t&&!s&&"object"===typeof t)if(F.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(F.isArray(t)&&function(t){return F.isArray(t)&&!t.some(V)}(t)||(F.isFileList(t)||F.endsWith(r,"[]"))&&(a=F.toArray(t)))return r=W(r),a.forEach((function(t,n){!F.isUndefined(t)&&null!==t&&e.append(!0===o?H([r],n,i):null===o?r:r+"[]",u(t))})),!1;return!!V(t)||(e.append(H(s,r,i),u(t)),!1)}const l=[],f=Object.assign(G,{defaultVisitor:c,convertValue:u,isVisitable:V});if(!F.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!F.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),F.forEach(r,(function(r,i){!0===(!(F.isUndefined(r)||null===r)&&s.call(e,r,F.isString(i)?i.trim():i,n,f))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e};function K(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Z(t,e){this._pairs=[],t&&$(t,this,e)}const J=Z.prototype;J.append=function(t,e){this._pairs.push([t,e])},J.toString=function(t){const e=t?function(e){return t.call(this,e,K)}:K;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const X=Z;function Y(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Q(t,e,r){if(!e)return t;const n=r&&r.encode||Y,s=r&&r.serialize;let i;if(i=s?s(e,r):F.isURLSearchParams(e)?e.toString():new X(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const tt=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){F.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},et={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rt={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:X,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},nt="undefined"!==typeof window&&"undefined"!==typeof document,st=(it="undefined"!==typeof navigator&&navigator.product,nt&&["ReactNative","NativeScript","NS"].indexOf(it)<0);var it;const ot="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,at={...n,...rt};const ut=function(t){function e(t,r,n,s){let i=t[s++];if("__proto__"===i)return!0;const o=Number.isFinite(+i),a=s>=t.length;if(i=!i&&F.isArray(n)?n.length:i,a)return F.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!o;n[i]&&F.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],s)&&F.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const s=r.length;let i;for(n=0;n{e(function(t){return F.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null};const ct={transitional:et,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,s=F.isObject(t);s&&F.isHTMLForm(t)&&(t=new FormData(t));if(F.isFormData(t))return n?JSON.stringify(ut(t)):t;if(F.isArrayBuffer(t)||F.isBuffer(t)||F.isStream(t)||F.isFile(t)||F.isBlob(t))return t;if(F.isArrayBufferView(t))return t.buffer;if(F.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return $(t,new at.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return at.isNode&&F.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=F.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return $(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return s||n?(e.setContentType("application/json",!1),function(t,e,r){if(F.isString(t))try{return(e||JSON.parse)(t),F.trim(t)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||ct.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&F.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(s){if(r){if("SyntaxError"===s.name)throw z.from(s,z.ERR_BAD_RESPONSE,this,null,this.response);throw s}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:at.classes.FormData,Blob:at.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};F.forEach(["delete","get","head","post","put","patch"],(t=>{ct.headers[t]={}}));const lt=ct,ft=F.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),pt=Symbol("internals");function _t(t){return t&&String(t).trim().toLowerCase()}function ht(t){return!1===t||null==t?t:F.isArray(t)?t.map(ht):String(t)}function dt(t,e,r,n,s){return F.isFunction(n)?n.call(this,e,r):(s&&(e=r),F.isString(e)?F.isString(n)?-1!==e.indexOf(n):F.isRegExp(n)?n.test(e):void 0:void 0)}class mt{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function s(t,e,r){const s=_t(e);if(!s)throw new Error("header name must be a non-empty string");const i=F.findKey(n,s);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=ht(t))}const i=(t,e)=>F.forEach(t,((t,r)=>s(t,r,e)));return F.isPlainObject(t)||t instanceof this.constructor?i(t,e):F.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let r,n,s;return t&&t.split("\n").forEach((function(t){s=t.indexOf(":"),r=t.substring(0,s).trim().toLowerCase(),n=t.substring(s+1).trim(),!r||e[r]&&ft[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e):null!=t&&s(e,t,r),this}get(t,e){if(t=_t(t)){const r=F.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(F.isFunction(e))return e.call(this,t,r);if(F.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=_t(t)){const r=F.findKey(this,t);return!(!r||void 0===this[r]||e&&!dt(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function s(t){if(t=_t(t)){const s=F.findKey(r,t);!s||e&&!dt(0,r[s],s,e)||(delete r[s],n=!0)}}return F.isArray(t)?t.forEach(s):s(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const s=e[r];t&&!dt(0,this[s],s,t,!0)||(delete this[s],n=!0)}return n}normalize(t){const e=this,r={};return F.forEach(this,((n,s)=>{const i=F.findKey(r,s);if(i)return e[i]=ht(n),void delete e[s];const o=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(s):String(s).trim();o!==s&&delete e[s],e[o]=ht(n),r[o]=!0})),this}concat(){for(var t=arguments.length,e=new Array(t),r=0;r{null!=r&&!1!==r&&(e[n]=t&&F.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((t=>{let[e,r]=t;return e+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t){const e=new this(t);for(var r=arguments.length,n=new Array(r>1?r-1:0),s=1;se.set(t))),e}static accessor(t){const e=(this[pt]=this[pt]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=_t(t);e[n]||(!function(t,e){const r=F.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,s){return this[n].call(this,e,t,r,s)},configurable:!0})}))}(r,t),e[n]=!0)}return F.isArray(t)?t.forEach(n):n(t),this}}mt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),F.reduceDescriptors(mt.prototype,((t,e)=>{let{value:r}=t,n=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(t){this[n]=t}}})),F.freezeMethods(mt);const yt=mt;function gt(t,e){const r=this||lt,n=e||r,s=yt.from(n.headers);let i=n.data;return F.forEach(t,(function(t){i=t.call(r,i,s.normalize(),e?e.status:void 0)})),s.normalize(),i}function vt(t){return!(!t||!t.__CANCEL__)}function bt(t,e,r){z.call(this,null==t?"canceled":t,z.ERR_CANCELED,e,r),this.name="CanceledError"}F.inherits(bt,z,{__CANCEL__:!0});const wt=bt;const At=at.hasStandardBrowserEnv?{write(t,e,r,n,s,i){const o=[t+"="+encodeURIComponent(e)];F.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),F.isString(n)&&o.push("path="+n),F.isString(s)&&o.push("domain="+s),!0===i&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Et(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const xt=at.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=F.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};const St=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let s,i=0,o=0;return e=void 0!==e?e:1e3,function(a){const u=Date.now(),c=n[o];s||(s=u),r[i]=a,n[i]=u;let l=o,f=0;for(;l!==i;)f+=r[l++],l%=t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),u-s{const i=s.loaded,o=s.lengthComputable?s.total:void 0,a=i-r,u=n(a);r=i;const c={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:u||void 0,estimated:u&&o&&i<=o?(o-i)/u:void 0,event:s};c[e?"download":"upload"]=!0,t(c)}}const jt={http:null,xhr:"undefined"!==typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const s=yt.from(t.headers).normalize();let i,o,{responseType:a,withXSRFToken:u}=t;function c(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}if(F.isFormData(n))if(at.hasStandardBrowserEnv||at.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if(!1!==(o=s.getContentType())){const[t,...e]=o?o.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.set("Authorization","Basic "+btoa(e+":"+r))}const f=Et(t.baseURL,t.url);function p(){if(!l)return;const n=yt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new z("Request failed with status code "+r.status,[z.ERR_BAD_REQUEST,z.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),c()}),(function(t){r(t),c()}),{data:a&&"text"!==a&&"json"!==a?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:t,request:l}),l=null}if(l.open(t.method.toUpperCase(),Q(f,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(p)},l.onabort=function(){l&&(r(new z("Request aborted",z.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new z("Network Error",z.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const n=t.transitional||et;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new z(e,n.clarifyTimeoutError?z.ETIMEDOUT:z.ECONNABORTED,t,l)),l=null},at.hasStandardBrowserEnv&&(u&&F.isFunction(u)&&(u=u(t)),u||!1!==u&&xt(f))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&At.read(t.xsrfCookieName);e&&s.set(t.xsrfHeaderName,e)}void 0===n&&s.setContentType(null),"setRequestHeader"in l&&F.forEach(s.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),F.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),a&&"json"!==a&&(l.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&l.addEventListener("progress",Ot(t.onDownloadProgress,!0)),"function"===typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Ot(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{l&&(r(!e||e.type?new wt(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const _=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(f);_&&-1===at.protocols.indexOf(_)?r(new z("Unsupported protocol "+_+":",z.ERR_BAD_REQUEST,t)):l.send(n||null)}))}};F.forEach(jt,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(r){}Object.defineProperty(t,"adapterName",{value:e})}}));const Pt=t=>"- ".concat(t),It=t=>F.isFunction(t)||null===t||!1===t,Tt=t=>{t=F.isArray(t)?t:[t];const{length:e}=t;let r,n;const s={};for(let i=0;i{let[e,r]=t;return"adapter ".concat(e," ")+(!1===r?"is not supported by the environment":"is not available in the build")}));let r=e?t.length>1?"since :\n"+t.map(Pt).join("\n"):" "+Pt(t[0]):"as no adapter specified";throw new z("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n};function kt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new wt(null,t)}function Ct(t){kt(t),t.headers=yt.from(t.headers),t.data=gt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Tt(t.adapter||lt.adapter)(t).then((function(e){return kt(t),e.data=gt.call(t,t.transformResponse,e),e.headers=yt.from(e.headers),e}),(function(e){return vt(e)||(kt(t),e&&e.response&&(e.response.data=gt.call(t,t.transformResponse,e.response),e.response.headers=yt.from(e.response.headers))),Promise.reject(e)}))}const Nt=t=>t instanceof yt?t.toJSON():t;function Rt(t,e){e=e||{};const r={};function n(t,e,r){return F.isPlainObject(t)&&F.isPlainObject(e)?F.merge.call({caseless:r},t,e):F.isPlainObject(e)?F.merge({},e):F.isArray(e)?e.slice():e}function s(t,e,r){return F.isUndefined(e)?F.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!F.isUndefined(e))return n(void 0,e)}function o(t,e){return F.isUndefined(e)?F.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function a(r,s,i){return i in e?n(r,s):i in t?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(t,e)=>s(Nt(t),Nt(e),!0)};return F.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||s,o=i(t[n],e[n],n);F.isUndefined(o)&&i!==a||(r[n]=o)})),r}const Mt="1.6.7",Lt={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Lt[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const Ut={};Lt.transitional=function(t,e,r){function n(t,e){return"[Axios v1.6.7] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,s,i)=>{if(!1===t)throw new z(n(s," has been removed"+(e?" in "+e:"")),z.ERR_DEPRECATED);return e&&!Ut[s]&&(Ut[s]=!0,console.warn(n(s," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,s,i)}};const Ft={assertOptions:function(t,e,r){if("object"!==typeof t)throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let s=n.length;for(;s-- >0;){const i=n[s],o=e[i];if(o){const e=t[i],r=void 0===e||o(e,i,t);if(!0!==r)throw new z("option "+i+" must be "+r,z.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new z("Unknown option "+i,z.ERR_BAD_OPTION)}},validators:Lt},Dt=Ft.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new tt,response:new tt}}async request(t,e){try{return await this._request(t,e)}catch(r){if(r instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";r.stack?e&&!String(r.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+e):r.stack=e}throw r}}_request(t,e){"string"===typeof t?(e=e||{}).url=t:e=t||{},e=Rt(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:s}=e;void 0!==r&&Ft.assertOptions(r,{silentJSONParsing:Dt.transitional(Dt.boolean),forcedJSONParsing:Dt.transitional(Dt.boolean),clarifyTimeoutError:Dt.transitional(Dt.boolean)},!1),null!=n&&(F.isFunction(n)?e.paramsSerializer={serialize:n}:Ft.assertOptions(n,{encode:Dt.function,serialize:Dt.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=s&&F.merge(s.common,s[e.method]);s&&F.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete s[t]})),e.headers=yt.concat(i,s);const o=[];let a=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,o.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,f=0;if(!a){const t=[Ct.bind(this),void 0];for(t.unshift.apply(t,o),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);f{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,s){r.reason||(r.reason=new wt(t,n,s),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new zt((function(e){t=e})),cancel:t}}}const Vt=zt;const Wt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Wt).forEach((t=>{let[e,r]=t;Wt[r]=e}));const Ht=Wt;const Gt=function t(e){const r=new Bt(e),n=s(Bt.prototype.request,r);return F.extend(n,Bt.prototype,r,{allOwnKeys:!0}),F.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(Rt(e,r))},n}(lt);Gt.Axios=Bt,Gt.CanceledError=wt,Gt.CancelToken=Vt,Gt.isCancel=vt,Gt.VERSION=Mt,Gt.toFormData=$,Gt.AxiosError=z,Gt.Cancel=Gt.CanceledError,Gt.all=function(t){return Promise.all(t)},Gt.spread=function(t){return function(e){return t.apply(null,e)}},Gt.isAxiosError=function(t){return F.isObject(t)&&!0===t.isAxiosError},Gt.mergeConfig=Rt,Gt.AxiosHeaders=yt,Gt.formToJSON=t=>ut(F.isHTMLForm(t)?new FormData(t):t),Gt.getAdapter=Tt,Gt.HttpStatusCode=Ht,Gt.default=Gt;const $t=Gt},65959:(t,e,r)=>{"use strict";r.d(e,{p:()=>l});const n=Symbol("Comlink.proxy"),s=Symbol("Comlink.endpoint"),i=Symbol("Comlink.releaseProxy"),o=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),u=t=>"object"===typeof t&&null!==t||"function"===typeof t,c=new Map([["proxy",{canHandle:t=>u(t)&&t[n],serialize(t){const{port1:e,port2:r}=new MessageChannel;return l(t,e),[r,[r]]},deserialize(t){return t.start(),m(t,[],e);var e}}],["throw",{canHandle:t=>u(t)&&a in t,serialize(t){let e,{value:r}=t;return e=r instanceof Error?{isError:!0,value:{message:r.message,name:r.name,stack:r.stack}}:{isError:!1,value:r},[e,[]]},deserialize(t){if(t.isError)throw Object.assign(new Error(t.value.message),t.value);throw t.value}}]]);function l(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["*"];e.addEventListener("message",(function s(i){if(!i||!i.data)return;if(!function(t,e){for(const r of t){if(e===r||"*"===r)return!0;if(r instanceof RegExp&&r.test(e))return!0}return!1}(r,i.origin))return void console.warn("Invalid origin '".concat(i.origin,"' for comlink proxy"));const{id:u,type:c,path:p}=Object.assign({path:[]},i.data),_=(i.data.argumentList||[]).map(b);let h;try{const e=p.slice(0,-1).reduce(((t,e)=>t[e]),t),r=p.reduce(((t,e)=>t[e]),t);switch(c){case"GET":h=r;break;case"SET":e[p.slice(-1)[0]]=b(i.data.value),h=!0;break;case"APPLY":h=r.apply(e,_);break;case"CONSTRUCT":h=function(t){return Object.assign(t,{[n]:!0})}(new r(..._));break;case"ENDPOINT":{const{port1:e,port2:r}=new MessageChannel;l(t,r),h=function(t,e){return g.set(t,e),t}(e,[e])}break;case"RELEASE":h=void 0;break;default:return}}catch(d){h={value:d,[a]:0}}Promise.resolve(h).catch((t=>({value:t,[a]:0}))).then((r=>{const[n,i]=v(r);e.postMessage(Object.assign(Object.assign({},n),{id:u}),i),"RELEASE"===c&&(e.removeEventListener("message",s),f(e),o in t&&"function"===typeof t[o]&&t[o]())})).catch((t=>{const[r,n]=v({value:new TypeError("Unserializable return value"),[a]:0});e.postMessage(Object.assign(Object.assign({},r),{id:u}),n)}))})),e.start&&e.start()}function f(t){(function(t){return"MessagePort"===t.constructor.name})(t)&&t.close()}function p(t){if(t)throw new Error("Proxy has been released and is not useable")}function _(t){return w(t,{type:"RELEASE"}).then((()=>{f(t)}))}const h=new WeakMap,d="FinalizationRegistry"in globalThis&&new FinalizationRegistry((t=>{const e=(h.get(t)||0)-1;h.set(t,e),0===e&&_(t)}));function m(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=!1;const n=new Proxy(arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},{get(s,o){if(p(r),o===i)return()=>{!function(t){d&&d.unregister(t)}(n),_(t),r=!0};if("then"===o){if(0===e.length)return{then:()=>n};const r=w(t,{type:"GET",path:e.map((t=>t.toString()))}).then(b);return r.then.bind(r)}return m(t,[...e,o])},set(n,s,i){p(r);const[o,a]=v(i);return w(t,{type:"SET",path:[...e,s].map((t=>t.toString())),value:o},a).then(b)},apply(n,i,o){p(r);const a=e[e.length-1];if(a===s)return w(t,{type:"ENDPOINT"}).then(b);if("bind"===a)return m(t,e.slice(0,-1));const[u,c]=y(o);return w(t,{type:"APPLY",path:e.map((t=>t.toString())),argumentList:u},c).then(b)},construct(n,s){p(r);const[i,o]=y(s);return w(t,{type:"CONSTRUCT",path:e.map((t=>t.toString())),argumentList:i},o).then(b)}});return function(t,e){const r=(h.get(e)||0)+1;h.set(e,r),d&&d.register(t,e,t)}(n,t),n}function y(t){const e=t.map(v);return[e.map((t=>t[0])),(r=e.map((t=>t[1])),Array.prototype.concat.apply([],r))];var r}const g=new WeakMap;function v(t){for(const[e,r]of c)if(r.canHandle(t)){const[n,s]=r.serialize(t);return[{type:"HANDLER",name:e,value:n},s]}return[{type:"RAW",value:t},g.get(t)||[]]}function b(t){switch(t.type){case"HANDLER":return c.get(t.name).deserialize(t.value);case"RAW":return t.value}}function w(t,e,r){return new Promise((n=>{const s=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");t.addEventListener("message",(function e(r){r.data&&r.data.id&&r.data.id===s&&(t.removeEventListener("message",e),n(r.data))})),t.start&&t.start(),t.postMessage(Object.assign({id:s},e),r)}))}},58009:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(){return!1}},34887:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(){return!0}},25384:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(86335),s=r(33832),i=r(36448),o=r(53247),a=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=o.A.init,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=(0,i.A)(this.xf["@@transducer/step"](t,!1))),t},t}();function u(t){return function(e){return new a(t,e)}}const c=(0,n.A)((0,s.A)(["all"],u,(function(t,e){for(var r=0;r{"use strict";r.d(e,{A:()=>n});const n=(0,r(85426).A)((function(t){return function(){return t}}))},18411:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(75016),s=r(36098),i=r(19852),o=r(65275);var a=r(37656);const u=(0,n.A)((function t(e,r,n){if(0===e.length)return r;var u=e[0];if(e.length>1){var c=!(0,a.A)(n)&&(0,s.A)(u,n)&&"object"===typeof n[u]?n[u]:(0,i.A)(e[1])?[]:{};r=t(Array.prototype.slice.call(e,1),r,c)}return function(t,e,r){if((0,i.A)(t)&&(0,o.A)(r)){var n=[].concat(r);return n[t]=e,n}var s={};for(var a in r)s[a]=r[a];return s[t]=e,s}(u,r,n)}))},8136:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(20415);const s=(0,r(86335).A)((function(t,e){return(0,n.A)(t.length,(function(){return t.apply(e,arguments)}))}))},9889:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(86335),s=r(1900);const i=(0,n.A)((function(t,e){return t&&e}));var o=r(38825);const a=(0,n.A)((function(t,e){return(0,s.A)(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:(0,o.A)(i)(t,e)}))},33178:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(19054),s=r(49531);function i(t,e,r){if(r||(r=new o),function(t){var e=typeof t;return null==t||"object"!=e&&"function"!=e}(t))return t;var a=function(n){var s=r.get(t);if(s)return s;for(var o in r.set(t,n),t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=e?i(t[o],!0,r):t[o]);return n};switch((0,s.A)(t)){case"Object":return a(Object.create(Object.getPrototypeOf(t)));case"Array":return a([]);case"Date":return new Date(t.valueOf());case"RegExp":return(0,n.A)(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}var o=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(t,e){const r=this.hash(t);let n=this.map[r];n||(this.map[r]=n=[]),n.push([t,e]),this.length+=1},t.prototype.hash=function(t){let e=[];for(var r in t)e.push(Object.prototype.toString.call(t[r]));return e.join()},t.prototype.get=function(t){if(this.length<=180){for(const e in this.map){const r=this.map[e];for(let e=0;e{"use strict";r.d(e,{A:()=>i});var n=r(38825);const s=(0,r(85426).A)((function(t){return!t}));const i=(0,n.A)(s)},30439:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(41870),s=r(89221);function i(){if(0===arguments.length)throw new Error("compose requires at least one argument");return n.A.apply(this,(0,s.A)(arguments))}},31179:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(86335),s=r(65275),i=r(1900),o=r(67013),a=r(22556);const u=(0,n.A)((function(t,e){if((0,s.A)(t)){if((0,s.A)(e))return t.concat(e);throw new TypeError((0,a.A)(e)+" is not an array")}if((0,o.A)(t)){if((0,o.A)(e))return t+e;throw new TypeError((0,a.A)(e)+" is not a string")}if(null!=t&&(0,i.A)(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&(0,i.A)(t.concat))return t.concat(e);throw new TypeError((0,a.A)(t)+' does not have a method named "concat" or "fantasy-land/concat"')}))},26836:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(77804);const i=(0,n.A)((function(t){return(0,s.A)(t.length,t)}))},77804:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(20415),s=r(85426),i=r(86335),o=r(69459);function a(t,e,r){return function(){for(var s=[],i=0,u=t,c=0,l=!1;c=arguments.length)?f=e[c]:(f=arguments[i],i+=1),s[c]=f,(0,o.A)(f)?l=!0:u-=1,c+=1}return!l&&u<=0?r.apply(this,s):(0,n.A)(Math.max(0,u),a(t,s,r))}}const u=(0,i.A)((function(t,e){return 1===t?(0,s.A)(e):(0,n.A)(t,a(t,[],e))}))},56631:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(86335).A)((function(t,e){return null==e||e!==e?t:e}))},17973:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(86335),s=r(88157);function i(t,e,r){var n,i=typeof t;switch(i){case"string":case"number":return 0===t&&1/t===-1/0?!!r._items["-0"]||(e&&(r._items["-0"]=!0),!1):null!==r._nativeSet?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):i in r._items?t in r._items[i]||(e&&(r._items[i][t]=!0),!1):(e&&(r._items[i]={},r._items[i][t]=!0),!1);case"boolean":if(i in r._items){var o=t?1:0;return!!r._items[i][o]||(e&&(r._items[i][o]=!0),!1)}return e&&(r._items[i]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):i in r._items?!!(0,s.A)(t,r._items[i])||(e&&r._items[i].push(t),!1):(e&&(r._items[i]=[t]),!1);case"undefined":return!!r._items[i]||(e&&(r._items[i]=!0),!1);case"object":if(null===t)return!!r._items.null||(e&&(r._items.null=!0),!1);default:return(i=Object.prototype.toString.call(t))in r._items?!!(0,s.A)(t,r._items[i])||(e&&r._items[i].push(t),!1):(e&&(r._items[i]=[t]),!1)}}const o=function(){function t(){this._nativeSet="function"===typeof Set?new Set:null,this._items={}}return t.prototype.add=function(t){return!i(t,!0,this)},t.prototype.has=function(t){return i(t,!1,this)},t}();const a=(0,n.A)((function(t,e){for(var r=[],n=0,s=t.length,i=e.length,a=new o,u=0;u{"use strict";r.d(e,{A:()=>l});var n=r(86335),s=r(19852),i=r(65275),o=r(75016);const a=(0,o.A)((function(t,e,r){var n=Array.prototype.slice.call(r,0);return n.splice(t,e),n}));var u=r(18411);const c=(0,o.A)((function(t,e,r){return(0,u.A)([t],e,r)}));const l=(0,n.A)((function t(e,r){if(null==r)return r;switch(e.length){case 0:return r;case 1:return function(t,e){if(null==e)return e;if((0,s.A)(t)&&(0,i.A)(e))return a(t,1,e);var r={};for(var n in e)r[n]=e[n];return delete r[t],r}(e[0],r);default:var n=e[0],o=Array.prototype.slice.call(e,1);return null==r[n]?function(t,e){if((0,s.A)(t)&&(0,i.A)(e))return[].concat(e);var r={};for(var n in e)r[n]=e[n];return r}(n,r):c(n,t(o,r[n]),r)}}))},54912:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(86335);function s(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function i(t,e,r){for(var n=0,s=r.length;n=0;){if(r[i]===t)return n[i]===e;i-=1}switch(s){case"Map":return t.size===e.size&&l(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&l(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var p=(0,u.A)(t);if(p.length!==(0,u.A)(e).length)return!1;var _=r.concat([t]),h=n.concat([e]);for(i=p.length-1;i>=0;){var d=p[i];if(!(0,o.A)(d,e)||!f(e[d],t[d],_,h))return!1;i-=1}return!0}const p=(0,n.A)((function(t,e){return f(t,e,[],[])}))},96795:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(46769),s=r(86335),i=r(33832);var o=r(79419),a=r(53247),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a.A.init,t.prototype["@@transducer/result"]=a.A.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function c(t){return function(e){return new u(t,e)}}var l=r(69343);const f=(0,s.A)((0,i.A)(["fantasy-land/filter","filter"],c,(function(t,e){return(0,o.A)(e)?(0,n.A)((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},(0,l.A)(e)):function(t,e){for(var r=0,n=e.length,s=[];r{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(77804);const i=(0,n.A)((function(t){return(0,s.A)(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}))},52315:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(86335),s=r(23248);const i=(0,n.A)((function(t,e){return(0,s.A)([t],e)}))},23248:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(86335),s=r(36098),i=r(37656);const o=(0,n.A)((function(t,e){if(0===t.length||(0,i.A)(e))return!1;for(var r=e,n=0;n{"use strict";r.d(e,{A:()=>n});const n=(0,r(95557).A)(0)},79684:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(2927),s=function(t,e){switch(arguments.length){case 0:return s;case 1:return function e(r){return 0===arguments.length?e:(0,n.A)(t,r)};default:return(0,n.A)(t,e)}};const i=s},93157:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(75016),s=r(77804);const i=(0,n.A)((function(t,e,r){return(0,s.A)(Math.max(t.length,e.length,r.length),(function(){return t.apply(this,arguments)?e.apply(this,arguments):r.apply(this,arguments)}))}))},20415:(t,e,r)=>{"use strict";function n(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,s){return e.apply(this,arguments)};case 5:return function(t,r,n,s,i){return e.apply(this,arguments)};case 6:return function(t,r,n,s,i,o){return e.apply(this,arguments)};case 7:return function(t,r,n,s,i,o,a){return e.apply(this,arguments)};case 8:return function(t,r,n,s,i,o,a,u){return e.apply(this,arguments)};case 9:return function(t,r,n,s,i,o,a,u,c){return e.apply(this,arguments)};case 10:return function(t,r,n,s,i,o,a,u,c,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}r.d(e,{A:()=>n})},46769:(t,e,r)=>{"use strict";function n(t,e,r){for(var n=0,s=r.length;nn})},75042:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(65275);function s(t,e){return function(){var r=arguments.length;if(0===r)return e();var s=arguments[r-1];return(0,n.A)(s)||"function"!==typeof s[t]?e.apply(this,arguments):s[t].apply(s,Array.prototype.slice.call(arguments,0,r-1))}}},19054:(t,e,r)=>{"use strict";function n(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}r.d(e,{A:()=>n})},79260:(t,e,r)=>{"use strict";function n(t){return function(){return!t.apply(this,arguments)}}r.d(e,{A:()=>n})},58613:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(85426),s=r(65275),i=r(67013);const o=(0,n.A)((function(t){return!!(0,s.A)(t)||!!t&&("object"===typeof t&&(!(0,i.A)(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var a="undefined"!==typeof Symbol?Symbol.iterator:"@@iterator";function u(t,e,r){return function(n,s,i){if(o(i))return t(n,s,i);if(null==i)return s;if("function"===typeof i["fantasy-land/reduce"])return e(n,s,i,"fantasy-land/reduce");if(null!=i[a])return r(n,s,i[a]());if("function"===typeof i.next)return r(n,s,i);if("function"===typeof i.reduce)return e(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}},85426:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(69459);function s(t){return function e(r){return 0===arguments.length||(0,n.A)(r)?e:t.apply(this,arguments)}}},86335:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(69459);function i(t){return function e(r,i){switch(arguments.length){case 0:return e;case 1:return(0,s.A)(r)?e:(0,n.A)((function(e){return t(r,e)}));default:return(0,s.A)(r)&&(0,s.A)(i)?e:(0,s.A)(r)?(0,n.A)((function(e){return t(e,i)})):(0,s.A)(i)?(0,n.A)((function(e){return t(r,e)})):t(r,i)}}}},75016:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(85426),s=r(86335),i=r(69459);function o(t){return function e(r,o,a){switch(arguments.length){case 0:return e;case 1:return(0,i.A)(r)?e:(0,s.A)((function(e,n){return t(r,e,n)}));case 2:return(0,i.A)(r)&&(0,i.A)(o)?e:(0,i.A)(r)?(0,s.A)((function(e,r){return t(e,o,r)})):(0,i.A)(o)?(0,s.A)((function(e,n){return t(r,e,n)})):(0,n.A)((function(e){return t(r,o,e)}));default:return(0,i.A)(r)&&(0,i.A)(o)&&(0,i.A)(a)?e:(0,i.A)(r)&&(0,i.A)(o)?(0,s.A)((function(e,r){return t(e,r,a)})):(0,i.A)(r)&&(0,i.A)(a)?(0,s.A)((function(e,r){return t(e,o,r)})):(0,i.A)(o)&&(0,i.A)(a)?(0,s.A)((function(e,n){return t(r,e,n)})):(0,i.A)(r)?(0,n.A)((function(e){return t(e,o,a)})):(0,i.A)(o)?(0,n.A)((function(e){return t(r,e,a)})):(0,i.A)(a)?(0,n.A)((function(e){return t(r,o,e)})):t(r,o,a)}}}},33832:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(65275);function s(t,e,r){return function(){if(0===arguments.length)return r();var s=arguments[arguments.length-1];if(!(0,n.A)(s)){for(var i=0;i{"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(e,t)}r.d(e,{A:()=>n})},88157:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(54912);function s(t,e){return function(t,e,r){var s,i;if("function"===typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(s=1/e;r=0}},60006:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(36098),s=Object.prototype.toString;const i=function(){return"[object Arguments]"===s.call(arguments)?function(t){return"[object Arguments]"===s.call(t)}:function(t){return(0,n.A)("callee",t)}}()},65275:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},1900:(t,e,r)=>{"use strict";function n(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}r.d(e,{A:()=>n})},19852:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=Number.isInteger||function(t){return t<<0===t}},79419:(t,e,r)=>{"use strict";function n(t){return"[object Object]"===Object.prototype.toString.call(t)}r.d(e,{A:()=>n})},69459:(t,e,r)=>{"use strict";function n(t){return null!=t&&"object"===typeof t&&!0===t["@@functional/placeholder"]}r.d(e,{A:()=>n})},67013:(t,e,r)=>{"use strict";function n(t){return"[object String]"===Object.prototype.toString.call(t)}r.d(e,{A:()=>n})},27968:(t,e,r)=>{"use strict";function n(t,e){for(var r=0,n=e.length,s=Array(n);rn})},2927:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n="function"===typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}},36448:(t,e,r)=>{"use strict";function n(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}r.d(e,{A:()=>n})},52259:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(58613);function s(t,e,r){for(var n=0,s=r.length;n{"use strict";r.d(e,{A:()=>n});const n={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},45706:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function s(t){return new n(t)}},83269:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(86335),s=r(1900),i=r(77804),o=r(22556);const a=(0,n.A)((function(t,e){return(0,i.A)(t+1,(function(){var r=arguments[t];if(null!=r&&(0,s.A)(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError((0,o.A)(r)+' does not have a method named "'+e+'"')}))}))},86119:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(85426),s=r(60006),i=r(65275),o=r(79419),a=r(67013);const u=(0,n.A)((function(t){return null!=t&&"function"===typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"===typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"===typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"===typeof t.constructor.empty?t.constructor.empty():(0,i.A)(t)?[]:(0,a.A)(t)?"":(0,o.A)(t)?{}:(0,s.A)(t)?function(){return arguments}():function(t){var e=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===e||"[object Int8Array]"===e||"[object Uint8Array]"===e||"[object Int16Array]"===e||"[object Uint16Array]"===e||"[object Int32Array]"===e||"[object Uint32Array]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object BigInt64Array]"===e||"[object BigUint64Array]"===e}(t)?t.constructor.from(""):void 0}));var c=r(54912);const l=(0,n.A)((function(t){return null!=t&&(0,c.A)(t,u(t))}))},37656:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(85426).A)((function(t){return null==t}))},70515:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(83269).A)(1,"join")},69343:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(85426),s=r(36098),i=r(60006),o=!{toString:null}.propertyIsEnumerable("toString"),a=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=function(){return arguments.propertyIsEnumerable("length")}(),c=function(t,e){for(var r=0;r=0;)e=a[r],(0,s.A)(e,t)&&!c(n,e)&&(n[n.length]=e),r-=1;return n})):(0,n.A)((function(t){return Object(t)!==t?[]:Object.keys(t)}))},69379:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(95557).A)(-1)},28932:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(86335),s=r(74818);const i=(0,n.A)((function(t,e){return function(r){return function(n){return(0,s.A)((function(t){return e(t,n)}),r(t(n)))}}}))},38825:(t,e,r)=>{"use strict";r.d(e,{A:()=>_});var n=r(85426),s=r(86335),i=r(46769);function o(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function a(t,e,r,n){return r[n](t,e)}const u=(0,r(58613).A)(i.A,a,o);var c=r(74818);const l=(0,s.A)((function(t,e){return"function"===typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"===typeof t.ap?t.ap(e):"function"===typeof t?function(r){return t(r)(e(r))}:u((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,s=e.length,i=[];for(r=0;r{"use strict";r.d(e,{A:()=>p});var n=r(46769),s=r(86335),i=r(33832),o=r(27968),a=r(53247),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a.A.init,t.prototype["@@transducer/result"]=a.A.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const c=function(t){return function(e){return new u(t,e)}};var l=r(77804),f=r(69343);const p=(0,s.A)((0,i.A)(["fantasy-land/map","map"],c,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return(0,l.A)(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return(0,n.A)((function(r,n){return r[n]=t(e[n]),r}),{},(0,f.A)(e));default:return(0,o.A)(t,e)}})))},64451:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(46769),s=r(86335),i=r(69343);const o=(0,s.A)((function(t,e){return(0,n.A)((function(r,n){return r[n]=t(e[n],n,e),r}),{},(0,i.A)(e))}))},35069:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(86335),s=r(22556);const i=(0,n.A)((function(t,e){if(t===e)return e;function r(t,e){if(t>e!==e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var i=r(typeof t,typeof e);if(void 0!==i)return i===typeof t?t:e;var o=(0,s.A)(t),a=r(o,(0,s.A)(e));return void 0!==a&&a===o?t:e}))},27317:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(86335),s=r(75016),i=r(79419),o=r(36098);const a=(0,s.A)((function(t,e,r){var n,s={};for(n in r=r||{},e=e||{})(0,o.A)(n,e)&&(s[n]=(0,o.A)(n,r)?t(n,e[n],r[n]):e[n]);for(n in r)(0,o.A)(n,r)&&!(0,o.A)(n,s)&&(s[n]=r[n]);return s}));const u=(0,s.A)((function t(e,r,n){return a((function(r,n,s){return(0,i.A)(n)&&(0,i.A)(s)?t(e,n,s):e(r,n,s)}),r,n)}));const c=(0,n.A)((function(t,e){return u((function(t,e,r){return r}),t,e)}))},80975:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(36098);const s="function"===typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,s=arguments.length;r{"use strict";r.d(e,{A:()=>o});var n=r(79260),s=r(86335),i=r(25384);const o=(0,s.A)((function(t,e){return(0,i.A)((0,n.A)(t),e)}))},95557:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(86335),s=r(67013);const i=(0,n.A)((function(t,e){var r=t<0?e.length+t:t;return(0,s.A)(e)?e.charAt(r):e[r]}))},98622:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(86335).A)((function(t,e){return"function"===typeof t["fantasy-land/of"]?t["fantasy-land/of"](e):"function"===typeof t.of?t.of(e):[e]}))},16354:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(86335).A)((function(t,e){for(var r={},n={},s=0,i=t.length;s{"use strict";r.d(e,{A:()=>i});var n=r(75016),s=function(t){return{value:t,map:function(e){return s(e(t))}}};const i=(0,n.A)((function(t,e,r){return t((function(t){return s(e(t))}))(r).value}))},87198:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(86335),s=r(19852),i=r(95557);const o=(0,n.A)((function(t,e){return t.map((function(t){for(var r,n=e,o=0;o{"use strict";r.d(e,{A:()=>o});var n=r(75016),s=r(56631),i=r(87198);const o=(0,n.A)((function(t,e,r){return(0,s.A)(t,(0,i.A)(e,r))}))},28571:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(75016),s=r(87198);const i=(0,n.A)((function(t,e,r){return t((0,s.A)(e,r))}))},70470:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(86335).A)((function(t,e){for(var r={},n=0;n{"use strict";r.d(e,{A:()=>a});var n=r(20415);function s(t,e){return function(){return e.call(this,t.apply(this,arguments))}}var i=r(65549),o=r(98921);function a(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return(0,n.A)(arguments[0].length,(0,i.A)(s,arguments[0],(0,o.A)(arguments)))}},87998:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(86335),s=r(74818),i=r(70398);const o=(0,n.A)((function(t,e){return(0,s.A)((0,i.A)(t),e)}))},70398:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(86335),s=r(19852),i=r(95557);const o=(0,n.A)((function(t,e){if(null!=e)return(0,s.A)(t)?(0,i.A)(t,e):e[t]}))},62120:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(75016),s=r(70398),i=r(54912);const o=(0,n.A)((function(t,e,r){return(0,i.A)(t,(0,s.A)(e,r))}))},53163:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(75016),s=r(56631),i=r(70398);const o=(0,n.A)((function(t,e,r){return(0,s.A)(t,(0,i.A)(e,r))}))},52037:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(75016),s=r(70398);const i=(0,n.A)((function(t,e,r){return t((0,s.A)(e,r))}))},57359:(t,e,r)=>{"use strict";function n(t){return"[object Number]"===Object.prototype.toString.call(t)}r.d(e,{A:()=>s});const s=(0,r(86335).A)((function(t,e){if(!n(t)||!n(e))throw new TypeError("Both arguments to range must be numbers");for(var r=[],s=t;s{"use strict";r.d(e,{A:()=>o});var n=r(75016),s=r(52259),i=r(45706);const o=(0,n.A)((function(t,e,r){return(0,s.A)("function"===typeof t?(0,i.A)(t):t,e,r)}))},4891:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(75016).A)((function(t,e,r){return r.replace(t,e)}))},89221:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(67013);const i=(0,n.A)((function(t){return(0,s.A)(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}))},85481:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(75042);const s=(0,r(75016).A)((0,n.A)("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})))},38579:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(83269).A)(1,"split")},99781:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(86335),s=r(54912),i=r(33832),o=r(36448),a=r(53247),u=function(){function t(t,e){this.xf=e,this.n=t,this.i=0}return t.prototype["@@transducer/init"]=a.A.init,t.prototype["@@transducer/result"]=a.A.result,t.prototype["@@transducer/step"]=function(t,e){this.i+=1;var r=0===this.n?t:this.xf["@@transducer/step"](t,e);return this.n>=0&&this.i>=this.n?(0,o.A)(r):r},t}();function c(t){return function(e){return new u(t,e)}}var l=r(85481);const f=(0,n.A)((0,i.A)(["take"],c,(function(t,e){return(0,l.A)(0,t<0?1/0:t,e)})));const p=(0,n.A)((function(t,e){return(0,s.A)(f(t.length,e),t)}))},98921:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(75042),s=r(85426),i=r(85481);const o=(0,s.A)((0,n.A)("tail",(0,i.A)(1,1/0)))},47940:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(19054),s=r(86335);var i=r(22556);const o=(0,s.A)((function(t,e){if(r=t,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("\u2018test\u2019 requires a value of type RegExp as its first argument; received "+(0,i.A)(t));var r;return(0,n.A)(t).test(e)}))},22556:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=r(85426),s=r(88157),i=r(27968);function o(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var a=function(t){return(t<10?"0":"")+t};const u="function"===typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var c=r(69343),l=r(79260),f=r(86335),p=r(96795);const _=(0,f.A)((function(t,e){return(0,p.A)((0,l.A)(t),e)}));function h(t,e){var r=function(r){var n=e.concat([t]);return(0,s.A)(r,n)?"":h(r,n)},n=function(t,e){return(0,i.A)((function(e){return o(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+(0,i.A)(r,t).join(", ")+"))";case"[object Array]":return"["+(0,i.A)(r,t).concat(n(t,_((function(t){return/^\d+$/.test(t)}),(0,c.A)(t)))).join(", ")+"]";case"[object Boolean]":return"object"===typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):o(u(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"===typeof t?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"===typeof t?"new String("+r(t.valueOf())+")":o(t);case"[object Undefined]":return"undefined";default:if("function"===typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+n(t,(0,c.A)(t)).join(", ")+"}"}}const d=(0,n.A)((function(t){return h(t,[])}))},62658:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(52259),s=r(45706);const i=(0,r(77804).A)(4,(function(t,e,r,i){return(0,n.A)(t("function"===typeof e?(0,s.A)(e):e),r,i)}))},37879:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";const i="function"===typeof String.prototype.trim&&!s.trim()&&"\u200b".trim()?(0,n.A)((function(t){return t.trim()})):(0,n.A)((function(t){var e=new RegExp("^["+s+"]["+s+"]*"),r=new RegExp("["+s+"]["+s+"]*$");return t.replace(e,"").replace(r,"")}))},49531:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(85426).A)((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}))},27221:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(69343);const i=(0,n.A)((function(t){for(var e=(0,s.A)(t),r=e.length,n=[],i=0;i{"use strict";r.d(e,{A:()=>n});const n=(0,r(75016).A)((function(t,e,r){return t(r)?e(r):r}))}}]); -//# sourceMappingURL=838.d0ddd180.chunk.js.map \ No newline at end of file diff --git a/static/js/838.e2972e97.chunk.js b/static/js/838.e2972e97.chunk.js new file mode 100644 index 0000000000..5f487c1575 --- /dev/null +++ b/static/js/838.e2972e97.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 838.e2972e97.chunk.js.LICENSE.txt */ +(self.webpackChunk_swagger_api_apidom_playground=self.webpackChunk_swagger_api_apidom_playground||[]).push([[838],{96091:(t,e,r)=>{var n=r(66719)(r(33290),"DataView");t.exports=n},44334:(t,e,r)=>{var n=r(60021),s=r(20677),i=r(44428),o=r(41288),a=r(98088);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(32085),s=r(43493),i=r(94156),o=r(13800),a=r(99560);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(66719)(r(33290),"Map");t.exports=n},21150:(t,e,r)=>{var n=r(6821),s=r(5973),i=r(49916),o=r(3960),a=r(22520);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(66719)(r(33290),"Promise");t.exports=n},6668:(t,e,r)=>{var n=r(66719)(r(33290),"Set");t.exports=n},51176:(t,e,r)=>{var n=r(21150),s=r(4617),i=r(41642);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e{var n=r(75758),s=r(33411),i=r(6967),o=r(48614),a=r(82370),u=r(74906);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=s,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,t.exports=c},60878:(t,e,r)=>{var n=r(33290).Symbol;t.exports=n},63939:(t,e,r)=>{var n=r(33290).Uint8Array;t.exports=n},42458:(t,e,r)=>{var n=r(66719)(r(33290),"WeakMap");t.exports=n},78931:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,s=0,i=[];++r{var n=r(29413),s=r(46703),i=r(11170),o=r(81377),a=r(1988),u=r(60726),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&s(t),f=!r&&!l&&o(t),p=!r&&!l&&!f&&u(t),_=r||l||f||p,h=_?n(t.length,String):[],d=h.length;for(var m in t)!e&&!c.call(t,m)||_&&("length"==m||f&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,d))||h.push(m);return h}},86349:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,s=t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{var n=r(81961);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},32208:(t,e,r)=>{var n=r(86349),s=r(11170);t.exports=function(t,e,r){var i=e(t);return s(t)?i:n(i,r(t))}},84439:(t,e,r)=>{var n=r(60878),s=r(61810),i=r(6401),o=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?s(t):i(t)}},19599:(t,e,r)=>{var n=r(84439),s=r(57791);t.exports=function(t){return s(t)&&"[object Arguments]"==n(t)}},50379:(t,e,r)=>{var n=r(16245),s=r(57791);t.exports=function t(e,r,i,o,a){return e===r||(null==e||null==r||!s(e)&&!s(r)?e!==e&&r!==r:n(e,r,i,o,t,a))}},16245:(t,e,r)=>{var n=r(93344),s=r(15394),i=r(8409),o=r(99586),a=r(18178),u=r(11170),c=r(81377),l=r(60726),f="[object Arguments]",p="[object Array]",_="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,d,m,y){var g=u(t),v=u(e),b=g?p:a(t),w=v?p:a(e),A=(b=b==f?_:b)==_,E=(w=w==f?_:w)==_,x=b==w;if(x&&c(t)){if(!c(e))return!1;g=!0,A=!1}if(x&&!A)return y||(y=new n),g||l(t)?s(t,e,r,d,m,y):i(t,e,b,r,d,m,y);if(!(1&r)){var S=A&&h.call(t,"__wrapped__"),O=E&&h.call(e,"__wrapped__");if(S||O){var j=S?t.value():t,P=O?e.value():e;return y||(y=new n),m(j,P,r,d,y)}}return!!x&&(y||(y=new n),o(t,e,r,d,m,y))}},77044:(t,e,r)=>{var n=r(47547),s=r(79667),i=r(4952),o=r(75838),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||s(t))&&(n(t)?p:a).test(o(t))}},13302:(t,e,r)=>{var n=r(84439),s=r(45495),i=r(57791),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&s(t.length)&&!!o[n(t)]}},21031:(t,e,r)=>{var n=r(72470),s=r(78757),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return s(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},29413:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{t.exports=function(t){return function(e){return t(e)}}},55068:t=>{t.exports=function(t,e){return t.has(e)}},54754:(t,e,r)=>{var n=r(33290)["__core-js_shared__"];t.exports=n},15394:(t,e,r)=>{var n=r(51176),s=r(31557),i=r(55068);t.exports=function(t,e,r,o,a,u){var c=1&r,l=t.length,f=e.length;if(l!=f&&!(c&&f>l))return!1;var p=u.get(t),_=u.get(e);if(p&&_)return p==e&&_==t;var h=-1,d=!0,m=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++h{var n=r(60878),s=r(63939),i=r(81961),o=r(15394),a=r(60866),u=r(30968),c=n?n.prototype:void 0,l=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new s(t),new s(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var _=a;case"[object Set]":var h=1&n;if(_||(_=u),t.size!=e.size&&!h)return!1;var d=p.get(t);if(d)return d==e;n|=2,p.set(t,e);var m=o(_(t),_(e),n,c,f,p);return p.delete(t),m;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},99586:(t,e,r)=>{var n=r(61389),s=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,o,a){var u=1&r,c=n(t),l=c.length;if(l!=n(e).length&&!u)return!1;for(var f=l;f--;){var p=c[f];if(!(u?p in e:s.call(e,p)))return!1}var _=a.get(t),h=a.get(e);if(_&&h)return _==e&&h==t;var d=!0;a.set(t,e),a.set(e,t);for(var m=u;++f{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},61389:(t,e,r)=>{var n=r(32208),s=r(70815),i=r(7591);t.exports=function(t){return n(t,i,s)}},2224:(t,e,r)=>{var n=r(56863);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},66719:(t,e,r)=>{var n=r(77044),s=r(71271);t.exports=function(t,e){var r=s(t,e);return n(r)?r:void 0}},61810:(t,e,r)=>{var n=r(60878),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(u){}var s=o.call(t);return n&&(e?t[a]=r:delete t[a]),s}},70815:(t,e,r)=>{var n=r(78931),s=r(30022),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(t){return null==t?[]:(t=Object(t),n(o(t),(function(e){return i.call(t,e)})))}:s;t.exports=a},18178:(t,e,r)=>{var n=r(96091),s=r(40078),i=r(16649),o=r(6668),a=r(42458),u=r(84439),c=r(75838),l="[object Map]",f="[object Promise]",p="[object Set]",_="[object WeakMap]",h="[object DataView]",d=c(n),m=c(s),y=c(i),g=c(o),v=c(a),b=u;(n&&b(new n(new ArrayBuffer(1)))!=h||s&&b(new s)!=l||i&&b(i.resolve())!=f||o&&b(new o)!=p||a&&b(new a)!=_)&&(b=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case d:return h;case m:return l;case y:return f;case g:return p;case v:return _}return e}),t.exports=b},71271:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},60021:(t,e,r)=>{var n=r(97421);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},20677:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},44428:(t,e,r)=>{var n=r(97421),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(e,t)?e[t]:void 0}},41288:(t,e,r)=>{var n=r(97421),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:s.call(e,t)}},98088:(t,e,r)=>{var n=r(97421);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},1988:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},79667:(t,e,r)=>{var n=r(54754),s=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!s&&s in t}},72470:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},32085:t=>{t.exports=function(){this.__data__=[],this.size=0}},43493:(t,e,r)=>{var n=r(20494),s=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():s.call(e,r,1),--this.size,!0)}},94156:(t,e,r)=>{var n=r(20494);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},13800:(t,e,r)=>{var n=r(20494);t.exports=function(t){return n(this.__data__,t)>-1}},99560:(t,e,r)=>{var n=r(20494);t.exports=function(t,e){var r=this.__data__,s=n(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this}},6821:(t,e,r)=>{var n=r(44334),s=r(75758),i=r(40078);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},5973:(t,e,r)=>{var n=r(2224);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},49916:(t,e,r)=>{var n=r(2224);t.exports=function(t){return n(this,t).get(t)}},3960:(t,e,r)=>{var n=r(2224);t.exports=function(t){return n(this,t).has(t)}},22520:(t,e,r)=>{var n=r(2224);t.exports=function(t,e){var r=n(this,t),s=r.size;return r.set(t,e),this.size+=r.size==s?0:1,this}},60866:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},97421:(t,e,r)=>{var n=r(66719)(Object,"create");t.exports=n},78757:(t,e,r)=>{var n=r(13282)(Object.keys,Object);t.exports=n},7086:(t,e,r)=>{t=r.nmd(t);var n=r(73059),s=e&&!e.nodeType&&e,i=s&&t&&!t.nodeType&&t,o=i&&i.exports===s&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(e){}}();t.exports=a},6401:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},13282:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},33290:(t,e,r)=>{var n=r(73059),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();t.exports=i},4617:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},41642:t=>{t.exports=function(t){return this.__data__.has(t)}},30968:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},33411:(t,e,r)=>{var n=r(75758);t.exports=function(){this.__data__=new n,this.size=0}},6967:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},48614:t=>{t.exports=function(t){return this.__data__.get(t)}},82370:t=>{t.exports=function(t){return this.__data__.has(t)}},74906:(t,e,r)=>{var n=r(75758),s=r(40078),i=r(21150);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(t,e),this.size=r.size,this}},75838:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(r){}try{return t+""}catch(r){}}return""}},81961:t=>{t.exports=function(t,e){return t===e||t!==t&&e!==e}},46703:(t,e,r)=>{var n=r(19599),s=r(57791),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return s(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=u},11170:t=>{var e=Array.isArray;t.exports=e},35165:(t,e,r)=>{var n=r(47547),s=r(45495);t.exports=function(t){return null!=t&&s(t.length)&&!n(t)}},69559:(t,e,r)=>{var n=r(84439),s=r(57791);t.exports=function(t){return!0===t||!1===t||s(t)&&"[object Boolean]"==n(t)}},81377:(t,e,r)=>{t=r.nmd(t);var n=r(33290),s=r(84840),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.Buffer:void 0,u=(a?a.isBuffer:void 0)||s;t.exports=u},60971:(t,e,r)=>{var n=r(50379);t.exports=function(t,e){return n(t,e)}},47547:(t,e,r)=>{var n=r(84439),s=r(4952);t.exports=function(t){if(!s(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},45495:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},25506:t=>{t.exports=function(t){return null===t}},72110:(t,e,r)=>{var n=r(84439),s=r(57791);t.exports=function(t){return"number"==typeof t||s(t)&&"[object Number]"==n(t)}},4952:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},57791:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},80806:(t,e,r)=>{var n=r(84439),s=r(11170),i=r(57791);t.exports=function(t){return"string"==typeof t||!s(t)&&i(t)&&"[object String]"==n(t)}},60726:(t,e,r)=>{var n=r(13302),s=r(77800),i=r(7086),o=i&&i.isTypedArray,a=o?s(o):n;t.exports=a},7591:(t,e,r)=>{var n=r(426),s=r(21031),i=r(35165);t.exports=function(t){return i(t)?n(t):s(t)}},78377:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},30022:t=>{t.exports=function(){return[]}},84840:t=>{t.exports=function(){return!1}},583:(t,e,r)=>{const n=r(78377);function s(t){return"string"===typeof t?e=>e.element===t:t.constructor&&t.extend?e=>e instanceof t:t}class i{constructor(t){this.elements=t||[]}toValue(){return this.elements.map((t=>t.toValue()))}map(t,e){return this.elements.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return t=s(t),new i(this.elements.filter(t,e))}reject(t,e){return t=s(t),new i(this.elements.filter(n(t),e))}find(t,e){return t=s(t),this.elements.find(t,e)}forEach(t,e){this.elements.forEach(t,e)}reduce(t,e){return this.elements.reduce(t,e)}includes(t){return this.elements.some((e=>e.equals(t)))}shift(){return this.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){return this.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){return this.elements[t]}getValue(t){const e=this.elements[t];if(e)return e.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!==typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),t.exports=i},42950:t=>{class e{constructor(t,e){this.key=t,this.value=e}clone(){const t=new e;return this.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}}t.exports=e},57291:(t,e,r)=>{const n=r(25506),s=r(80806),i=r(72110),o=r(69559),a=r(4952),u=r(20766),c=r(88975);class l{constructor(t){this.elementMap={},this.elementDetection=[],this.Element=c.Element,this.KeyValuePair=c.KeyValuePair,t&&t.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(t){return t.namespace&&t.namespace({base:this}),t.load&&t.load({base:this}),this}useDefault(){return this.register("null",c.NullElement).register("string",c.StringElement).register("number",c.NumberElement).register("boolean",c.BooleanElement).register("array",c.ArrayElement).register("object",c.ObjectElement).register("member",c.MemberElement).register("ref",c.RefElement).register("link",c.LinkElement),this.detect(n,c.NullElement,!1).detect(s,c.StringElement,!1).detect(i,c.NumberElement,!1).detect(o,c.BooleanElement,!1).detect(Array.isArray,c.ArrayElement,!1).detect(a,c.ObjectElement,!1),this}register(t,e){return this._elements=void 0,this.elementMap[t]=e,this}unregister(t){return this._elements=void 0,delete this.elementMap[t],this}detect(t,e,r){return void 0===r||r?this.elementDetection.unshift([t,e]):this.elementDetection.push([t,e]),this}toElement(t){if(t instanceof this.Element)return t;let e;for(let r=0;r{const e=t[0].toUpperCase()+t.substr(1);this._elements[e]=this.elementMap[t]}))),this._elements}get serialiser(){return new u(this)}}u.prototype.Namespace=l,t.exports=l},88267:(t,e,r)=>{const n=r(78377),s=r(583);class i extends s{map(t,e){return this.elements.map((r=>t.bind(e)(r.value,r.key,r)))}filter(t,e){return new i(this.elements.filter((r=>t.bind(e)(r.value,r.key,r))))}reject(t,e){return this.filter(n(t.bind(e)))}forEach(t,e){return this.elements.forEach(((r,n)=>{t.bind(e)(r.value,r.key,r,n)}))}keys(){return this.map(((t,e)=>e.toValue()))}values(){return this.map((t=>t.toValue()))}}t.exports=i},88975:(t,e,r)=>{const n=r(22723),s=r(12744),i=r(75500),o=r(72468),a=r(65559),u=r(33848),c=r(12121),l=r(7070),f=r(8696),p=r(39501),_=r(583),h=r(88267),d=r(42950);function m(t){if(t instanceof n)return t;if("string"===typeof t)return new i(t);if("number"===typeof t)return new o(t);if("boolean"===typeof t)return new a(t);if(null===t)return new s;if(Array.isArray(t))return new u(t.map(m));if("object"===typeof t){return new l(t)}return t}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=c,n.prototype.refract=m,_.prototype.refract=m,t.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:u,MemberElement:c,ObjectElement:l,LinkElement:f,RefElement:p,refract:m,ArraySlice:_,ObjectSlice:h,KeyValuePair:d}},8696:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(t){this.attributes.set("relation",t)}get href(){return this.attributes.get("href")}set href(t){this.attributes.set("href",t)}}},39501:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}}},85618:(t,e,r)=>{const n=r(57291),s=r(88975);e.g$=n,e.KeyValuePair=r(42950),e.G6=s.ArraySlice,e.ot=s.ObjectSlice,e.Hg=s.Element,e.Om=s.StringElement,e.kT=s.NumberElement,e.bd=s.BooleanElement,e.Os=s.NullElement,e.wE=s.ArrayElement,e.Sh=s.ObjectElement,e.Pr=s.MemberElement,e.sI=s.RefElement,e.Ft=s.LinkElement,e.e=s.refract,r(20766),r(24376)},33848:(t,e,r)=>{const n=r(78377),s=r(22723),i=r(583);class o extends s{constructor(t,e,r){super(t||[],e,r),this.element="array"}primitive(){return"array"}get(t){return this.content[t]}getValue(t){const e=this.get(t);if(e)return e.toValue()}getIndex(t){return this.content[t]}set(t,e){return this.content[t]=this.refract(e),this}remove(t){const e=this.content.splice(t,1);return e.length?e[0]:null}map(t,e){return this.content.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return new i(this.content.filter(t,e))}reject(t,e){return this.filter(n(t),e)}reduce(t,e){let r,n;void 0!==e?(r=0,n=this.refract(e)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let s=r;s{t.bind(e)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(t){this.content.unshift(this.refract(t))}push(t){return this.content.push(this.refract(t)),this}add(t){this.push(t)}findElements(t,e){const r=e||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((e,r,i)=>{n&&void 0!==e.findElements&&e.findElements(t,{results:s,recursive:n}),t(e,r,i)&&s.push(e)})),s}find(t){return new i(this.findElements(t,{recursive:!0}))}findByElement(t){return this.find((e=>e.element===t))}findByClass(t){return this.find((e=>e.classes.includes(t)))}getById(t){return this.find((e=>e.id.toValue()===t)).first}includes(t){return this.content.some((e=>e.equals(t)))}contains(t){return this.includes(t)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(t){return new this.constructor(this.content.concat(t.content))}"fantasy-land/concat"(t){return this.concat(t)}"fantasy-land/map"(t){return new this.constructor(this.map(t))}"fantasy-land/chain"(t){return this.map((e=>t(e)),this).reduce(((t,e)=>t.concat(e)),this.empty())}"fantasy-land/filter"(t){return new this.constructor(this.content.filter(t))}"fantasy-land/reduce"(t,e){return this.content.reduce(t,e)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!==typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),t.exports=o},65559:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="boolean"}primitive(){return"boolean"}}},22723:(t,e,r)=>{const n=r(60971),s=r(42950),i=r(583);class o{constructor(t,e,r){e&&(this.meta=e),r&&(this.attributes=r),this.content=t}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((t=>{t.parent=this,t.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const t=new this.constructor;return t.element=this.element,this.meta.length&&(t._meta=this.meta.clone()),this.attributes.length&&(t._attributes=this.attributes.clone()),this.content?this.content.clone?t.content=this.content.clone():Array.isArray(this.content)?t.content=this.content.map((t=>t.clone())):t.content=this.content:t.content=this.content,t}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((t=>t.toValue()),this):this.content}toRef(t){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const e=new this.RefElement(this.id.toValue());return t&&(e.path=t),e}findRecursive(){for(var t=arguments.length,e=new Array(t),r=0;r1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const n=e.pop();let o=new i;const a=(t,e)=>(t.push(e),t),u=(t,e)=>{e.element===n&&t.push(e);const r=e.findRecursive(n);return r&&r.reduce(a,t),e.content instanceof s&&(e.content.key&&u(t,e.content.key),e.content.value&&u(t,e.content.value)),t};return this.content&&(this.content.element&&u(o,this.content),Array.isArray(this.content)&&this.content.reduce(u,o)),e.isEmpty||(o=o.filter((t=>{let r=t.parents.map((t=>t.element));for(const n in e){const t=e[n],s=r.indexOf(t);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),o}set(t){return this.content=t,this}equals(t){return n(this.toValue(),t)}getMetaProperty(t,e){if(!this.meta.hasKey(t)){if(this.isFrozen){const t=this.refract(e);return t.freeze(),t}this.meta.set(t,e)}return this.meta.get(t)}setMetaProperty(t,e){this.meta.set(t,e)}get element(){return this._storedElement||"element"}set element(t){this._storedElement=t}get content(){return this._content}set content(t){if(t instanceof o)this._content=t;else if(t instanceof i)this.content=t.elements;else if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"null"===t||void 0==t)this._content=t;else if(t instanceof s)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else{if("object"!==typeof t)throw new Error("Cannot set content to given value");this._content=Object.keys(t).map((e=>new this.MemberElement(e,t[e])))}}get meta(){if(!this._meta){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._meta=new this.ObjectElement}return this._meta}set meta(t){t instanceof this.ObjectElement?this._meta=t:this.meta.set(t||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._attributes=new this.ObjectElement}return this._attributes}set attributes(t){t instanceof this.ObjectElement?this._attributes=t:this.attributes.set(t||{})}get id(){return this.getMetaProperty("id","")}set id(t){this.setMetaProperty("id",t)}get classes(){return this.getMetaProperty("classes",[])}set classes(t){this.setMetaProperty("classes",t)}get title(){return this.getMetaProperty("title","")}set title(t){this.setMetaProperty("title",t)}get description(){return this.getMetaProperty("description","")}set description(t){this.setMetaProperty("description",t)}get links(){return this.getMetaProperty("links",[])}set links(t){this.setMetaProperty("links",t)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:t}=this;const e=new i;for(;t;)e.push(t),t=t.parent;return e}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const t=new i([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const t=new i;return this.children.forEach((e=>{t.push(e),e.recursiveChildren.forEach((e=>{t.push(e)}))})),t}}t.exports=o},12121:(t,e,r)=>{const n=r(42950),s=r(22723);t.exports=class extends s{constructor(t,e,r,s){super(new n,r,s),this.element="member",this.key=t,this.value=e}get key(){return this.content.key}set key(t){this.content.key=this.refract(t)}get value(){return this.content.value}set value(t){this.content.value=this.refract(t)}}},12744:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t||null,e,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},72468:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="number"}primitive(){return"number"}}},7070:(t,e,r)=>{const n=r(78377),s=r(4952),i=r(33848),o=r(12121),a=r(88267);t.exports=class extends i{constructor(t,e,r){super(t||[],e,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((t,e)=>(t[e.key.toValue()]=e.value?e.value.toValue():void 0,t)),{})}get(t){const e=this.getMember(t);if(e)return e.value}getMember(t){if(void 0!==t)return this.content.find((e=>e.key.toValue()===t))}remove(t){let e=null;return this.content=this.content.filter((r=>r.key.toValue()!==t||(e=r,!1))),e}getKey(t){const e=this.getMember(t);if(e)return e.key}set(t,e){if(s(t))return Object.keys(t).forEach((e=>{this.set(e,t[e])})),this;const r=t,n=this.getMember(r);return n?n.value=e:this.content.push(new o(r,e)),this}keys(){return this.content.map((t=>t.key.toValue()))}values(){return this.content.map((t=>t.value.toValue()))}hasKey(t){return this.content.some((e=>e.key.equals(t)))}items(){return this.content.map((t=>[t.key.toValue(),t.value.toValue()]))}map(t,e){return this.content.map((r=>t.bind(e)(r.value,r.key,r)))}compactMap(t,e){const r=[];return this.forEach(((n,s,i)=>{const o=t.bind(e)(n,s,i);o&&r.push(o)})),r}filter(t,e){return new a(this.content).filter(t,e)}reject(t,e){return this.filter(n(t),e)}forEach(t,e){return this.content.forEach((r=>t.bind(e)(r.value,r.key,r)))}}},75500:(t,e,r)=>{const n=r(22723);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},24376:(t,e,r)=>{const n=r(20766);t.exports=class extends n{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError("Given element `".concat(t,"` is not an Element instance"));let e;t._attributes&&t.attributes.get("variable")&&(e=t.attributes.get("variable"));const r={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta));const n="enum"===t.element||-1!==t.attributes.keys().indexOf("enumerations");if(n){const e=this.enumSerialiseAttributes(t);e&&(r.attributes=e)}else if(t._attributes&&t._attributes.length>0){let{attributes:n}=t;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===t.element&&e&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(t,r);else if(this["".concat(t.element,"SerialiseContent")])r.content=this["".concat(t.element,"SerialiseContent")](t,r);else if(void 0!==t.content){let n;e&&t.content.key?(n=t.content.clone(),n.key.attributes.set("variable",e),n=this.serialiseContent(n)):n=this.serialiseContent(t.content),this.shouldSerialiseContent(t,n)&&(r.content=n)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(t,e){return"parseResult"===t.element||"httpRequest"===t.element||"httpResponse"===t.element||"category"===t.element||"link"===t.element||void 0!==e&&(!Array.isArray(e)||0!==e.length)}refSerialiseContent(t,e){return delete e.attributes,{href:t.toValue(),path:t.path.toValue()}}sourceMapSerialiseContent(t){return t.toValue()}dataStructureSerialiseContent(t){return[this.serialiseContent(t.content)]}enumSerialiseAttributes(t){const e=t.attributes.clone(),r=e.remove("enumerations")||new this.namespace.elements.Array([]),n=e.get("default");let s=e.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),e.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((t=>{t.content&&t.content.element&&t.content.attributes.remove("typeAttributes")})),t.content&&0!==r.length&&s.unshift(t.content),s=s.map((t=>t instanceof this.namespace.elements.Array?[t]:new this.namespace.elements.Array([t.content]))),s.length&&e.set("samples",s),e.length>0)return this.serialiseObject(e)}enumSerialiseContent(t){if(t._attributes){const e=t.attributes.get("enumerations");if(e&&e.length>0)return e.content.map((t=>{const e=t.clone();return e.attributes.remove("typeAttributes"),this.serialise(e)}))}if(t.content){const e=t.content.clone();return e.attributes.remove("typeAttributes"),[this.serialise(e)]}return[]}deserialise(t){if("string"===typeof t)return new this.namespace.elements.String(t);if("number"===typeof t)return new this.namespace.elements.Number(t);if("boolean"===typeof t)return new this.namespace.elements.Boolean(t);if(null===t)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const e=this.namespace.getElementClass(t.element),r=new e;r.element!==t.element&&(r.element=t.element),t.meta&&this.deserialiseObject(t.meta,r.meta),t.attributes&&this.deserialiseObject(t.attributes,r.attributes);const n=this.deserialiseContent(t.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let t=r.attributes.get("samples");if(r.attributes.remove("samples"),t){const n=t;t=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new e(n);s.element=r.element,t.push(s)}))}));const s=t.shift();r.content=s?s.content:void 0,r.attributes.set("samples",t)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const t=new e(n);t.element=r.element,r.attributes.set("default",t)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const t=r.attributes.get("meta");t&&(r.attributes.set("metadata",t),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}return t&&t.map?t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}shouldRefract(t){return!!(t._attributes&&t.attributes.keys().length||t._meta&&t.meta.keys().length)||"enum"!==t.element&&(t.element!==t.primitive()||"member"===t.element)}convertKeyToRefract(t,e){return this.shouldRefract(e)?this.serialise(e):"enum"===e.element?this.serialiseEnum(e):"array"===e.element?e.map((e=>this.shouldRefract(e)||"default"===t?this.serialise(e):"array"===e.element||"object"===e.element||"enum"===e.element?e.children.map((t=>this.serialise(t))):e.toValue())):"object"===e.element?(e.content||[]).map(this.serialise,this):e.toValue()}serialiseEnum(t){return t.children.map((t=>this.serialise(t)))}serialiseObject(t){const e={};return t.forEach(((t,r)=>{if(t){const n=r.toValue();e[n]=this.convertKeyToRefract(n,t)}})),e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},20766:t=>{t.exports=class{constructor(t){this.namespace=t||new this.Namespace}serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError("Given element `".concat(t,"` is not an Element instance"));const e={element:t.element};t._meta&&t._meta.length>0&&(e.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(e.attributes=this.serialiseObject(t.attributes));const r=this.serialiseContent(t.content);return void 0!==r&&(e.content=r),e}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const e=new(this.namespace.getElementClass(t.element));e.element!==t.element&&(e.element=t.element),t.meta&&this.deserialiseObject(t.meta,e.meta),t.attributes&&this.deserialiseObject(t.attributes,e.attributes);const r=this.deserialiseContent(t.content);return void 0===r&&null!==e.content||(e.content=r),e}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}if(t&&t.map){if(0===t.length)return;return t.map(this.serialise,this)}return t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const e={};if(t.forEach(((t,r)=>{t&&(e[r.toValue()]=this.serialise(t))})),0!==Object.keys(e).length)return e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},49751:t=>{var e,r,n=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(t){if(e===setTimeout)return setTimeout(t,0);if((e===s||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"===typeof setTimeout?setTimeout:s}catch(t){e=s}try{r="function"===typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var a,u=[],c=!1,l=-1;function f(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length&&p())}function p(){if(!c){var t=o(f);c=!0;for(var e=u.length;e;){for(a=u,u=[];++l1)for(var r=1;r{"use strict";r.d(e,{A:()=>i});var n=r(77804),s=r(8136);const i=(0,n.A)(1,(0,s.A)(Promise.all,Promise))},37152:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(61284),s=r(31179);const i=(0,n.A)(s.A)},49129:(t,e,r)=>{"use strict";r.d(e,{A:()=>I});var n=r(85426);const s=(0,n.A)((function(t){return function(e,r){return t(e,r)?-1:t(r,e)?1:0}}));var i=r(41870),o=(0,r(86335).A)((function(t,e){return Array.prototype.slice.call(e,0).sort(t)}));const a=o;var u=r(13225),c=r(70398),l=r(26836),f=r(36448);const p=(0,n.A)(f.A);var _=r(77804),h=r(65549),d=r(93157),m=r(13154),y=r(37656);const g=(0,m.A)(y.A);var v=r(9889),b=r(96294),w=r(69455);const A=(0,v.A)(w.A,b.A);var E=r(79678);function x(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);re.length})),j=(0,i.A)(a(O),u.A,(0,c.A)("length")),P=(0,l.A)((function(t,e,r){var n=r.apply(void 0,x(t));return g(n)?p(n):e}));const I=(0,d.A)(A,(function(t){var e=j(t);return(0,_.A)(e,(function(){for(var e=arguments.length,r=new Array(e),n=0;n{"use strict";r.d(e,{A:()=>o});var n=r(57435),s=r(98622),i=r(71226);const o=(0,n.A)(i.A,(0,s.A)(Array))},8208:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(61284),s=r(88157);const i=(0,r(86335).A)(s.A);const o=(0,n.A)(i)},29762:(t,e,r)=>{"use strict";function n(t){return n="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},n(t)}r.d(e,{A:()=>s});const s=function(t){return"object"===n(t)}},88868:(t,e,r)=>{"use strict";r.d(e,{A:()=>_});var n=r(77804),s=r(87198);const i=(0,r(85481).A)(0,-1);var o=r(8136);const a=(0,r(86335).A)((function(t,e){return t.apply(this,e)}));var u=r(32115),c=r(9889),l=r(86119),f=r(69455);const p=(0,c.A)(f.A,l.A);const _=(0,n.A)(3,(function(t,e,r){var n=(0,s.A)(t,r),c=(0,s.A)(i(t),r);if(!(0,u.A)(n)&&!p(t)){var l=(0,o.A)(n,c);return a(l,e)}}))},69455:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(77804),s=r(41870),i=r(49531),o=r(79684),a=r(47496);const u=(0,n.A)(1,(0,a.A)(Array.isArray)?Array.isArray:(0,s.A)(i.A,(0,o.A)("Array")))},75882:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(54912).A)("")},65796:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(77804),s=r(8136),i=r(47496),o=r(9889),a=r(34581);const u=(0,o.A)(a.A,isFinite);var c=(0,n.A)(1,u);const l=(0,i.A)(Number.isFinite)?(0,n.A)(1,(0,s.A)(Number.isFinite,Number)):c},47496:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(85426),s=r(77804),i=r(35069),o=r(87998),a=r(65549);const u=(0,n.A)((function(t){return(0,s.A)((0,a.A)(i.A,0,(0,o.A)("length",t)),(function(){for(var e=0,r=t.length;e{"use strict";r.d(e,{A:()=>v});var n=r(77804),s=r(8136),i=r(47496),o=r(9889),a=r(86335),u=r(27968),c=r(35069),l=r(87998),f=r(65549);const p=(0,a.A)((function(t,e){return(0,n.A)((0,f.A)(c.A,0,(0,l.A)("length",e)),(function(){var r=arguments,n=this;return t.apply(n,(0,u.A)((function(t){return t.apply(n,r)}),e))}))}));var _=r(54912);function h(t){return t}const d=(0,r(85426).A)(h);var m=r(65796);const y=(0,o.A)(m.A,p(_.A,[Math.floor,d]));var g=(0,n.A)(1,y);const v=(0,i.A)(Number.isInteger)?(0,n.A)(1,(0,s.A)(Number.isInteger,Number)):g},12029:(t,e,r)=>{"use strict";r.d(e,{A:()=>E});var n=r(85426),s=r(77804),i=r(35069),o=r(87998),a=r(65549);const u=(0,n.A)((function(t){return(0,s.A)((0,a.A)(i.A,0,(0,o.A)("length",t)),(function(){for(var e=0,r=t.length;e{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(69455);const i=(0,n.A)(s.A)},96294:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(86119);const i=(0,n.A)(s.A)},32115:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(47496);const i=(0,n.A)(s.A)},28714:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(45185);const i=(0,n.A)(s.A)},20951:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(13154),s=r(39146);const i=(0,n.A)(s.A)},45185:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(54912).A)(null)},34581:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(77804),s=r(41870),i=r(49531),o=r(79684);const a=(0,n.A)(1,(0,s.A)(i.A,(0,o.A)("Number")))},28182:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(41870),s=r(49531),i=r(79684),o=r(22556),a=r(54912),u=r(28571),c=r(9889),l=r(77804),f=r(45185),p=r(28714),_=r(29762);const h=(0,l.A)(1,(0,c.A)(p.A,_.A));var d=r(47496),m=(0,n.A)(s.A,(0,i.A)("Object")),y=(0,n.A)(o.A,(0,a.A)((0,o.A)(Object))),g=(0,u.A)((0,c.A)(d.A,y),["constructor"]);const v=(0,l.A)(1,(function(t){if(!h(t)||!m(t))return!1;var e=Object.getPrototypeOf(t);return!!(0,f.A)(e)||g(e)}))},76985:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(77804),s=r(41870),i=r(49531),o=r(79684);const a=(0,n.A)(1,(0,s.A)(i.A,(0,o.A)("String")))},39146:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(54912),s=r(79678);const i=(0,n.A)((0,s.A)())},99680:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(24610),s=r(79678);const i=(0,n.A)((0,s.A)())},32509:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g});var n=r(26836),s=r(61284),i=r(83269),o=r(13154),a=r(65796);const u=(0,o.A)(a.A);var c=r(77804),l=r(9889);const f=(0,r(86335).A)((function(t,e){return t>e}));var p=r(34581);const _=(0,c.A)(1,(0,l.A)(p.A,f(0)));const h=function(t,e){var r=Number(e);if(r!==e&&(r=0),_(r))throw new RangeError("repeat count must be non-negative");if(u(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===t.length||0===r)return"";if(t.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var s=t;r;)s+=t,r-=1;return s+=s.substring(0,n-s.length)};var d=r(47496),m=(0,n.A)(h),y=(0,s.A)((0,i.A)(1,"repeat"));const g=(0,d.A)(String.prototype.repeat)?y:m},92683:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>g});var n=r(77804),s=r(83269),i=r(47496),o=r(4891),a=r(41870),u=r(49531),c=r(79684);const l=(0,n.A)(1,(0,a.A)(u.A,(0,c.A)("RegExp")));var f=r(57435),p=r(76985);const _=(0,f.A)(p.A,(0,o.A)(/[.*+?^${}()|[\]\\-]/g,"\\$&"));var h=function(t,e){if("string"!==typeof t&&!(t instanceof String))throw TypeError("`".concat(e,"` must be a string"))};const d=function(t,e,r){!function(t,e,r){if(null==r||null==t||null==e)throw TypeError("Input values must not be `null` or `undefined`")}(t,e,r),h(r,"str"),h(e,"replaceValue"),function(t){if("string"!==typeof t&&!(t instanceof String)&&!(t instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")}(t);var n=new RegExp(l(t)?t:_(t),"g");return(0,o.A)(n,e,r)};var m=(0,n.A)(3,d),y=(0,s.A)(2,"replaceAll");const g=(0,i.A)(String.prototype.replaceAll)?y:m},79678:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(24610).A)(void 0)},45148:(t,e,r)=>{"use strict";r.d(e,{A:()=>y});var n=r(26836),s=r(41870),i=r(38579),o=r(86335),a=r(33832),u=r(85481);function c(t,e){for(var r=e.length-1;r>=0&&t(e[r]);)r-=1;return(0,u.A)(0,r+1,e)}var l=r(53247),f=r(52259),p=function(){function t(t,e){this.f=t,this.retained=[],this.xf=e}return t.prototype["@@transducer/init"]=l.A.init,t.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.retain(t,e):this.flush(t,e)},t.prototype.flush=function(t,e){return t=(0,f.A)(this.xf,t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,e)},t.prototype.retain=function(t,e){return this.retained.push(e),t},t}();function _(t){return function(e){return new p(t,e)}}const h=(0,o.A)((0,a.A)([],_,c));var d=r(70515),m=r(8208);const y=(0,n.A)((function(t,e){return(0,s.A)((0,i.A)(""),h((0,m.A)(t)),(0,d.A)(""))(e)}))},71090:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=r(26836),s=r(41870),i=r(38579),o=r(86335),a=r(33832),u=r(53247),c=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=u.A.init,t.prototype["@@transducer/result"]=u.A.result,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function l(t){return function(e){return new c(t,e)}}var f=r(85481);const p=(0,o.A)((0,a.A)(["dropWhile"],l,(function(t,e){for(var r=0,n=e.length;r{"use strict";r.d(e,{Ay:()=>u});var n=r(83269);const s=(0,r(4891).A)(/[\s\uFEFF\xA0]+$/,"");var i=r(47496),o=s,a=(0,n.A)(0,"trimEnd");const u=(0,i.A)(String.prototype.trimEnd)?a:o},10856:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>u});var n=r(83269);const s=(0,r(4891).A)(/^[\s\uFEFF\xA0]+/,"");var i=r(47496),o=s,a=(0,n.A)(0,"trimStart");const u=(0,i.A)(String.prototype.trimStart)?a:o},92259:t=>{"use strict";var e=(()=>{var t=Object.defineProperty,e=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,o=(e,r,n)=>r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,a=(t,e)=>{for(var r in e||(e={}))s.call(e,r)&&o(t,r,e[r]);if(n)for(var r of n(e))i.call(e,r)&&o(t,r,e[r]);return t},u=(t,e,r)=>(o(t,"symbol"!==typeof e?e+"":e,r),r),c={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(c,{DEFAULT_OPTIONS:()=>f,DEFAULT_UUID_LENGTH:()=>l,default:()=>h});var l=6,f={dictionary:"alphanum",shuffle:!0,debug:!1,length:l,counter:0},p=class{constructor(){var t=this;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,"counter"),u(this,"debug"),u(this,"dict"),u(this,"version"),u(this,"dictIndex",0),u(this,"dictRange",[]),u(this,"lowerBound",0),u(this,"upperBound",0),u(this,"dictLength",0),u(this,"uuidLength"),u(this,"_digit_first_ascii",48),u(this,"_digit_last_ascii",58),u(this,"_alpha_lower_first_ascii",97),u(this,"_alpha_lower_last_ascii",123),u(this,"_hex_last_ascii",103),u(this,"_alpha_upper_first_ascii",65),u(this,"_alpha_upper_last_ascii",91),u(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),u(this,"_alpha_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),u(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),u(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),u(this,"_alphanum_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),u(this,"_alphanum_lower_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),u(this,"_alphanum_upper_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),u(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),u(this,"_dict_ranges",{_number_dict_ranges:this._number_dict_ranges,_alpha_dict_ranges:this._alpha_dict_ranges,_alpha_lower_dict_ranges:this._alpha_lower_dict_ranges,_alpha_upper_dict_ranges:this._alpha_upper_dict_ranges,_alphanum_dict_ranges:this._alphanum_dict_ranges,_alphanum_lower_dict_ranges:this._alphanum_lower_dict_ranges,_alphanum_upper_dict_ranges:this._alphanum_upper_dict_ranges,_hex_dict_ranges:this._hex_dict_ranges}),u(this,"log",(function(){for(var e=arguments.length,r=new Array(e),n=0;n{let r;if(t&&Array.isArray(t)&&t.length>1)r=t;else{let e;r=[],this.dictIndex=e=0;const n="_".concat(t,"_dict_ranges"),s=this._dict_ranges[n];Object.keys(s).forEach((t=>{const n=t;for(this.dictRange=s[n],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=e=this.lowerBound;this.lowerBound<=this.upperBound?ethis.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?e+=1:e-=1)r.push(String.fromCharCode(this.dictIndex))}))}if(e){const t=.5;r=r.sort((()=>Math.random()-t))}this.dict=r,this.dictLength=this.dict.length,this.setCounter(0)})),u(this,"seq",(()=>this.sequentialUUID())),u(this,"sequentialUUID",(()=>{let t,e,r="";t=this.counter;do{e=t%this.dictLength,t=Math.trunc(t/this.dictLength),r+=this.dict[e]}while(0!==t);return this.counter+=1,r})),u(this,"rnd",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.uuidLength||l;return t.randomUUID(e)})),u(this,"randomUUID",(function(){let e,r,n,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.uuidLength||l;if(null===s||"undefined"===typeof s||s<1)throw new Error("Invalid UUID Length Provided");for(e="",n=0;nthis.formattedUUID(t,e))),u(this,"formattedUUID",((t,e)=>{const r={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return t.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(t=>{const n=t.slice(0,2),s=parseInt(t.slice(2),10);return"$s"===n?r[n]().padStart(s,"0"):"$t"===n&&e?r[n](s,e):r[n](s)}))})),u(this,"availableUUIDs",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.uuidLength;return parseFloat(Math.pow([...new Set(t.dict)].length,e).toFixed(0))})),u(this,"approxMaxBeforeCollision",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.availableUUIDs(t.uuidLength);return parseFloat(Math.sqrt(Math.PI/2*e).toFixed(20))})),u(this,"collisionProbability",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.availableUUIDs(t.uuidLength),r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.uuidLength;return parseFloat((t.approxMaxBeforeCollision(e)/t.availableUUIDs(r)).toFixed(20))})),u(this,"uniqueness",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.availableUUIDs(t.uuidLength);const r=parseFloat((1-t.approxMaxBeforeCollision(e)/e).toFixed(20));return r>1?1:r<0?0:r})),u(this,"getVersion",(()=>this.version)),u(this,"stamp",((t,e)=>{const r=Math.floor(+(e||new Date)/1e3).toString(16);if("number"===typeof t&&0===t)return r;if("number"!==typeof t||t<10)throw new Error(["Param finalLength must be a number greater than or equal to 10,","or 0 if you want the raw hexadecimal timestamp"].join("\n"));const n=t-9,s=Math.round(Math.random()*(n>15?15:n)),i=this.randomUUID(n);return"".concat(i.substring(0,s)).concat(r).concat(i.substring(s)).concat(s.toString(16))})),u(this,"parseStamp",((t,e)=>{if(e&&!/t0|t[1-9]\d{1,}/.test(e))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const r=e?e.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(t=>{const e={$r:t=>[...Array(t)].map((()=>"r")).join(""),$s:t=>[...Array(t)].map((()=>"s")).join(""),$t:t=>[...Array(t)].map((()=>"t")).join("")},r=t.slice(0,2),n=parseInt(t.slice(2),10);return e[r](n)})).replace(/^(.*?)(t{8,})(.*)$/g,((e,r,n)=>t.substring(r.length,r.length+n.length))):t;if(8===r.length)return new Date(1e3*parseInt(r,16));if(r.length<10)throw new Error("Stamp length invalid");const n=parseInt(r.substring(r.length-1),16);return new Date(1e3*parseInt(r.substring(n,n+8),16))})),u(this,"setCounter",(t=>{this.counter=t}));const r=a(a({},f),e);this.counter=0,this.debug=!1,this.dict=[],this.version="5.0.3";const{dictionary:n,shuffle:s,length:i,counter:o}=r;return this.uuidLength=i,this.setDictionary(n,s),this.setCounter(o),this.debug=r.debug,this.log(this.dict),this.log("Generator instantiated with Dictionary Size ".concat(this.dictLength," and counter set to ").concat(this.counter)),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this),this}};u(p,"default",p);var _,h=p;return _=c,((n,i,o,a)=>{if(i&&"object"===typeof i||"function"===typeof i)for(let u of r(i))s.call(n,u)||u===o||t(n,u,{get:()=>i[u],enumerable:!(a=e(i,u))||a.enumerable});return n})(t({},"__esModule",{value:!0}),_)})();t.exports=e.default,"undefined"!=typeof window&&(e=e.default)},36073:t=>{!function(){"use strict";var e,r,n,s,i,o="properties",a="deepProperties",u="propertyDescriptors",c="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",_="deepConfiguration",h="deepProps",d="deepStatics",m="deepConf",y="initializers",g="methods",v="composers",b="compose";function w(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function A(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var E=A.bind(0,(function(t,e){if(e)for(var r=w(e),n=0;n{"use strict";r.d(e,{c_:()=>w});const n=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=Object.getOwnPropertyDescriptors(e);for(let s of r)delete n[s];Object.defineProperties(t,n)},s=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[t];const r=Object.getPrototypeOf(t);return null===r?e:s(r,[...e,r])},i=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];var i;const o=null!==(i=function(){for(var t=arguments.length,e=new Array(t),r=0;rs(t)));for(;i.every((t=>t.length>0));){const t=i.map((t=>t.pop())),e=t[0];if(!t.every((t=>t===e)))break;n=e}return n}(...t))&&void 0!==i?i:Object.prototype,a=Object.create(o),u=s(o);for(let c of t){let t=s(c);for(let e=t.length-1;e>=0;e--){let s=t[e];-1===u.indexOf(s)&&(n(a,s,["constructor",...r]),u.push(s))}}return a.constructor=e,a},o=t=>t.filter(((e,r)=>t.indexOf(e)==r)),a=(t,e)=>{const r=e.map((t=>s(t)));let n=0,i=!0;for(;i;){i=!1;for(let s=e.length-1;s>=0;s--){const e=r[s][n];if(void 0!==e&&null!==e&&(i=!0,void 0!=Object.getOwnPropertyDescriptor(e,t)))return r[s][0]}n++}},u=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.prototype;return new Proxy({},{getPrototypeOf:()=>e,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(e,r)=>Object.getOwnPropertyDescriptor(a(r,t)||{},r),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(r,n)=>void 0!==a(n,t)||void 0!==e[n],get:(r,n)=>(a(n,t)||e)[n],set(e,r,n){const s=a(r,t);if(void 0===s)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return s[r]=n,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>t.map(Object.getOwnPropertyNames).reduce(((t,e)=>e.concat(t.filter((t=>e.indexOf(t)<0)))))})},c=(t,e)=>u([...t,{constructor:e}]),l={initFunction:null,staticsStrategy:"copy",prototypeStrategy:"copy",decoratorInheritance:"deep"},f=new WeakMap,p=t=>f.get(t),_=(t,e)=>f.set(t,e),h=(t,e)=>{var r,n;const s=o([...Object.getOwnPropertyNames(t),...Object.getOwnPropertyNames(e)]),i={};for(let a of s)i[a]=o([...null!==(r=null===t||void 0===t?void 0:t[a])&&void 0!==r?r:[],...null!==(n=null===e||void 0===e?void 0:e[a])&&void 0!==n?n:[]]);return i},d=(t,e)=>{var r,n,s,i;return{property:h(null!==(r=null===t||void 0===t?void 0:t.property)&&void 0!==r?r:{},null!==(n=null===e||void 0===e?void 0:e.property)&&void 0!==n?n:{}),method:h(null!==(s=null===t||void 0===t?void 0:t.method)&&void 0!==s?s:{},null!==(i=null===e||void 0===e?void 0:e.method)&&void 0!==i?i:{})}},m=(t,e)=>{var r,n,s,i,a,u;return{class:o([...null!==(r=null===t||void 0===t?void 0:t.class)&&void 0!==r?r:[],...null!==(n=null===e||void 0===e?void 0:e.class)&&void 0!==n?n:[]]),static:d(null!==(s=null===t||void 0===t?void 0:t.static)&&void 0!==s?s:{},null!==(i=null===e||void 0===e?void 0:e.static)&&void 0!==i?i:{}),instance:d(null!==(a=null===t||void 0===t?void 0:t.instance)&&void 0!==a?a:{},null!==(u=null===e||void 0===e?void 0:e.instance)&&void 0!==u?u:{})}},y=new Map,g=function(){const t=function(){var t;const e=new Set;for(var r=arguments.length,n=new Array(r),i=0;i0;)for(let r of o){const n=[...s(r.prototype).map((t=>t.constructor)),...null!==(t=p(r))&&void 0!==t?t:[]].filter((t=>!e.has(t)));for(let t of n)o.add(t);e.add(r),o.delete(r)}return[...e]}(...arguments).map((t=>y.get(t))).filter((t=>!!t));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((t,e)=>m(t,e)))},v=function(){for(var t=arguments.length,e=new Array(t),r=0;rb(t)));return 0===n.length?{}:1===n.length?n[0]:n.reduce(((t,e)=>m(t,e)))},b=t=>{let e=y.get(t);return e||(e={},y.set(t,e)),e};function w(){for(var t=arguments.length,e=new Array(t),r=0;rt.prototype)),p=l.initFunction;if(null!==p){const t=f.map((t=>t[p])).filter((t=>"function"===typeof t)),e=function(){for(var e=arguments.length,r=new Array(e),n=0;n{const r=t.property,n=t.method;if(r)for(let s in r)for(let t of r[s])t(e,s);if(n)for(let s in n)for(let t of n[s])t(e,s,Object.getOwnPropertyDescriptor(e,s))}},47325:(t,e,r)=>{var n=void 0!==n?n:{},s=function(){var e,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return e||(n=Object.assign({},n,o),e=new Promise((e=>{var o,a={};for(o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);var u,c,l,f,p=[],_="./this.program",h=function(t,e){throw e};l="object"==typeof window,f="function"==typeof importScripts,u="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,c=!l&&!u&&!f;var d,m,y,g,v,b="";u?(b=f?r(84142).dirname(b)+"/":"//",d=function(t,e){return g||(g=r(83078)),v||(v=r(84142)),t=v.normalize(t),g.readFileSync(t,e?null:"utf8")},y=function(t){var e=d(t,!0);return e.buffer||(e=new Uint8Array(e)),N(e.buffer),e},process.argv.length>1&&(_=process.argv[1].replace(/\\/g,"/")),p=process.argv.slice(2),t.exports=n,h=function(t){process.exit(t)},n.inspect=function(){return"[Emscripten Module object]"}):c?("undefined"!=typeof read&&(d=function(t){return read(t)}),y=function(t){var e;return"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(N("object"==typeof(e=read(t,"binary"))),e)},"undefined"!=typeof scriptArgs?p=scriptArgs:void 0!==arguments&&(p=arguments),"function"==typeof quit&&(h=function(t){quit(t)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||f)&&(f?b=self.location.href:void 0!==s&&s.currentScript&&(b=s.currentScript.src),b=0!==b.indexOf("blob:")?b.substr(0,b.lastIndexOf("/")+1):"",d=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},f&&(y=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),m=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)}),n.print||console.log.bind(console);var w=n.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(n[o]=a[o]);a=null,n.arguments&&(p=n.arguments),n.thisProgram&&(_=n.thisProgram),n.quit&&(h=n.quit);var A,E=16,x=[];function S(t,e){if(!A){A=new WeakMap;for(var r=0;r>0]=e;break;case"i16":U[t>>1]=e;break;case"i32":F[t>>2]=e;break;case"i64":lt=[e>>>0,(ct=e,+Math.abs(ct)>=1?ct>0?(0|Math.min(+Math.floor(ct/4294967296),4294967295))>>>0:~~+Math.ceil((ct-+(~~ct>>>0))/4294967296)>>>0:0)],F[t>>2]=lt[0],F[t+4>>2]=lt[1];break;case"float":D[t>>2]=e;break;case"double":q[t>>3]=e;break;default:at("invalid type for setValue: "+r)}}function k(t,e,r){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return M[t>>0];case"i16":return U[t>>1];case"i32":case"i64":return F[t>>2];case"float":return D[t>>2];case"double":return q[t>>3];default:at("invalid type for getValue: "+e)}return null}"object"!=typeof WebAssembly&&at("no native wasm support detected");var C=!1;function N(t,e){t||at("Assertion failed: "+e)}var R,M,L,U,F,D,q,B="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function z(t,e,r){for(var n=e+r,s=e;t[s]&&!(s>=n);)++s;if(s-e>16&&t.subarray&&B)return B.decode(t.subarray(e,s));for(var i="";e>10,56320|1023&c)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function V(t,e){return t?z(L,t,e):""}function W(t,e,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-1,o=0;o=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),a<=127){if(r>=i)break;e[r++]=a}else if(a<=2047){if(r+1>=i)break;e[r++]=192|a>>6,e[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;e[r++]=224|a>>12,e[r++]=128|a>>6&63,e[r++]=128|63&a}else{if(r+3>=i)break;e[r++]=240|a>>18,e[r++]=128|a>>12&63,e[r++]=128|a>>6&63,e[r++]=128|63&a}}return e[r]=0,r-s}function H(t,e,r){return W(t,L,e,r)}function G(t){for(var e=0,r=0;r=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&t.charCodeAt(++r)),n<=127?++e:e+=n<=2047?2:n<=65535?3:4}return e}function $(t){var e=G(t)+1,r=Vt(e);return W(t,M,r,e),r}function K(t){R=t,n.HEAP8=M=new Int8Array(t),n.HEAP16=U=new Int16Array(t),n.HEAP32=F=new Int32Array(t),n.HEAPU8=L=new Uint8Array(t),n.HEAPU16=new Uint16Array(t),n.HEAPU32=new Uint32Array(t),n.HEAPF32=D=new Float32Array(t),n.HEAPF64=q=new Float64Array(t)}var Z=n.INITIAL_MEMORY||33554432;(P=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:Z/65536,maximum:32768}))&&(R=P.buffer),Z=R.byteLength,K(R);var J=new WebAssembly.Table({initial:17,element:"anyfunc"}),X=[],Y=[],Q=[],tt=[],et=!1,rt=0,nt=null,st=null;function it(t){rt++,n.monitorRunDependencies&&n.monitorRunDependencies(rt)}function ot(t){if(rt--,n.monitorRunDependencies&&n.monitorRunDependencies(rt),0==rt&&(null!==nt&&(clearInterval(nt),nt=null),st)){var e=st;st=null,e()}}function at(t){throw n.onAbort&&n.onAbort(t),w(t+=""),C=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ut,ct,lt;function ft(t){return t.startsWith("data:application/octet-stream;base64,")}function pt(t){return t.startsWith("file://")}function _t(t){try{if(t==ut&&O)return new Uint8Array(O);if(y)return y(t);throw"both async and sync fetching of the wasm failed"}catch(t){at(t)}}ft(ut="tree-sitter.wasm")||(ut=function(t){return n.locateFile?n.locateFile(t,b):b+t}(ut));var ht={},dt={get:function(t,e){return ht[e]||(ht[e]=new WebAssembly.Global({value:"i32",mutable:!0})),ht[e]}};function mt(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var r=e.func;"number"==typeof r?void 0===e.arg?J.get(r)():J.get(r)(e.arg):r(void 0===e.arg?null:e.arg)}else e(n)}}function yt(t){var e=0;function r(){for(var r=0,n=1;;){var s=t[e++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(t instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(t,"dylink");N(0!=n.length,"need dylink section"),t=new Int8Array(n[0])}else N(1836278016==new Uint32Array(new Uint8Array(t.subarray(0,24)).buffer)[0],"need to see wasm magic number"),N(0===t[8],"need the dylink section to be first"),e=9,r(),N(6===t[e]),N(t[++e]==="d".charCodeAt(0)),N(t[++e]==="y".charCodeAt(0)),N(t[++e]==="l".charCodeAt(0)),N(t[++e]==="i".charCodeAt(0)),N(t[++e]==="n".charCodeAt(0)),N(t[++e]==="k".charCodeAt(0)),e++;var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var i=r();s.neededDynlibs=[];for(var o=0;o0}function bt(t){return 0==t.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(t)?t:"_"+t}function wt(t,e){for(var r in t)if(t.hasOwnProperty(r)){Ft.hasOwnProperty(r)||(Ft[r]=t[r]);var s=bt(r);n.hasOwnProperty(s)||(n[s]=t[r])}}var At={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var Et=5250880;function xt(t){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(t)}function St(t,e){var r={};for(var n in t){var s=t[n];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=e),r[n]=s}return function(t){for(var e in t)if(!xt(e)){var r=!1,n=t[e];e.startsWith("orig$")&&(e=e.split("$")[1],r=!0),ht[e]||(ht[e]=new WebAssembly.Global({value:"i32",mutable:!0})),(r||0==ht[e].value)&&("function"==typeof n?ht[e].value=S(n):"number"==typeof n?ht[e].value=n:w("unhandled export type for `"+e+"`: "+typeof n))}}(r),r}function Ot(t,e){var r,s;return e&&(r=Ft["orig$"+t]),r||(r=Ft[t]),r||(r=n[bt(t)]),!r&&t.startsWith("invoke_")&&(s=t.split("_")[1],r=function(){var t=Bt();try{return function(t,e,r){return t.includes("j")?function(t,e,r){var s=n["dynCall_"+t];return r&&r.length?s.apply(null,[e].concat(r)):s.call(null,e)}(t,e,r):J.get(e).apply(null,r)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(e){if(zt(t),e!==e+0&&"longjmp"!==e)throw e;Wt(1,0)}}),r}function jt(t,e){var r=yt(t);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,E);var s,i,o,a=(s=function(t){if(et)return Dt(t);var e=Et,r=e+t+15&-16;return Et=r,ht.__heap_base.value=r,e}(r.memorySize+n),(i=n)||(i=E),Math.ceil(s/i)*i),u=J.length;J.grow(r.tableSize);for(var c=a;c>2]=28,-1;r=Tt()}return F[e>>2]=r/1e3|0,F[e+4>>2]=r%1e3*1e3*1e3|0,0}function Rt(t){try{return P.grow(t-R.byteLength+65535>>>16),K(P.buffer),1}catch(t){}}function Mt(t){Kt(t)}function Lt(t){}Nt.sig="iii",Mt.sig="vi",Lt.sig="vi";var Ut,Ft={__heap_base:Et,__indirect_function_table:J,__memory_base:1024,__stack_pointer:kt,__table_base:1,abort:Ct,clock_gettime:Nt,emscripten_memcpy_big:function(t,e,r){L.copyWithin(t,e,e+r)},emscripten_resize_heap:function(t){var e,r=L.length;if((t>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var s=r*(1+.2/n);if(s=Math.min(s,t+100663296),Rt(Math.min(2147483648,((e=Math.max(t,s))%65536>0&&(e+=65536-e%65536),e))))return!0}return!1},exit:Mt,memory:P,setTempRet0:Lt,tree_sitter_log_callback:function(t,e){if(ce){const r=V(e);ce(r,0!==t)}},tree_sitter_parse_callback:function(t,e,r,n,s){var i=ue(e,{row:r,column:n});"string"==typeof i?(T(s,i.length,"i32"),function(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*t.length?r/2:t.length,s=0;s>1]=i,e+=2}U[e>>1]=0}(i,t,10240)):T(s,0,"i32")}},Dt=(function(){var t={env:Ft,wasi_snapshot_preview1:Ft,"GOT.mem":new Proxy(Ft,dt),"GOT.func":new Proxy(Ft,dt)};function e(t,e){var r=t.exports;r=St(r,1024),n.asm=r;var s,i=yt(e);i.neededDynlibs&&(j=i.neededDynlibs.concat(j)),wt(r),s=n.asm.__wasm_call_ctors,Y.unshift(s),ot()}function r(t){e(t.instance,t.module)}function s(e){return function(){if(!O&&(l||f)){if("function"==typeof fetch&&!pt(ut))return fetch(ut,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+ut+"'";return t.arrayBuffer()})).catch((function(){return _t(ut)}));if(m)return new Promise((function(t,e){m(ut,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return _t(ut)}))}().then((function(e){return WebAssembly.instantiate(e,t)})).then(e,(function(t){w("failed to asynchronously prepare wasm: "+t),at(t)}))}if(it(),n.instantiateWasm)try{return n.instantiateWasm(t,e)}catch(t){return w("Module.instantiateWasm callback failed with error: "+t),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||ft(ut)||pt(ut)||"function"!=typeof fetch?s(r):fetch(ut,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,t).then(r,(function(t){return w("wasm streaming compile failed: "+t),w("falling back to ArrayBuffer instantiation"),s(r)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(Dt=n._malloc=n.asm.malloc).apply(null,arguments)}),qt=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return(qt=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),Bt=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(Bt=n.stackSave=n.asm.stackSave).apply(null,arguments)}),zt=n.stackRestore=function(){return(zt=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Vt=n.stackAlloc=function(){return(Vt=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Wt=n._setThrew=function(){return(Wt=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Ht(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=n.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(t,e){var r;return r=1==e?Vt(t.length):Dt(t.length),t.subarray||t.slice?L.set(t,r):L.set(new Uint8Array(t),r),r},st=function t(){Ut||$t(),Ut||(st=t)};var Gt=!1;function $t(t){function e(){Ut||(Ut=!0,n.calledRun=!0,C||(et=!0,mt(Y),mt(Q),n.onRuntimeInitialized&&n.onRuntimeInitialized(),Zt&&function(t){var e=n._main;if(e){var r=(t=t||[]).length+1,s=Vt(4*(r+1));F[s>>2]=$(_);for(var i=1;i>2)+i]=$(t[i-1]);F[(s>>2)+r]=0;try{Kt(e(r,s),!0)}catch(t){if(t instanceof Ht)return;if("unwind"==t)return;var o=t;t&&"object"==typeof t&&t.stack&&(o=[t,t.stack]),w("exception thrown: "+o),h(1,t)}}}(t),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)t=n.postRun.shift(),tt.unshift(t);var t;mt(tt)}()))}t=t||p,rt>0||!Gt&&(function(){if(j.length){if(!y)return it(),void j.reduce((function(t,e){return t.then((function(){return Pt(e,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){ot(),It()}));j.forEach((function(t){Pt(t,{global:!0,nodelete:!0,allowUndefined:!0})})),It()}else It()}(),Gt=!0,rt>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)t=n.preRun.shift(),X.unshift(t);var t;mt(X)}(),rt>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e()))}function Kt(t,e){e&&vt()&&0===t||(vt()||(n.onExit&&n.onExit(t),C=!0),h(t,new Ht(t)))}if(n.run=$t,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var Zt=!0;n.noInitialRun&&(Zt=!1),$t();const Jt=n,Xt={},Yt=4,Qt=5*Yt,te=2*Yt,ee=2*Yt+2*te,re={row:0,column:0},ne=/[\w-.]*/g,se=/^_?tree_sitter_\w+/;var ie,oe,ae,ue,ce;class le{static init(){ae=Jt._ts_init(),ie=k(ae,"i32"),oe=k(ae+Yt,"i32")}initialize(){Jt._ts_parser_new_wasm(),this[0]=k(ae,"i32"),this[1]=k(ae+Yt,"i32")}delete(){Jt._ts_parser_delete(this[0]),Jt._free(this[1]),this[0]=0,this[1]=0}setLanguage(t){let e;if(t){if(t.constructor!==he)throw new Error("Argument must be a Language");{e=t[0];const r=Jt._ts_language_version(e);if(rt.slice(e,n);else{if("function"!=typeof t)throw new Error("Argument must be a string or a function");ue=t}this.logCallback?(ce=this.logCallback,Jt._ts_parser_enable_logger_wasm(this[0],1)):(ce=null,Jt._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let t=s=Jt._calloc(n,ee);for(let e=0;e0){let t=r;for(let r=0;r0){let r=e;for(let e=0;e0){let r=e;for(let e=0;e0){let t=a;for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:t;if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");be(this);let r=ae+Qt;return T(r,t,"i32"),T(r+Yt,e,"i32"),Jt._ts_node_descendant_for_index_wasm(this.tree[0]),we(this.tree)}namedDescendantForIndex(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");be(this);let r=ae+Qt;return T(r,t,"i32"),T(r+Yt,e,"i32"),Jt._ts_node_named_descendant_for_index_wasm(this.tree[0]),we(this.tree)}descendantForPosition(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if(!ve(t)||!ve(e))throw new Error("Arguments must be {row, column} objects");be(this);let r=ae+Qt;return xe(r,t),xe(r+te,e),Jt._ts_node_descendant_for_position_wasm(this.tree[0]),we(this.tree)}namedDescendantForPosition(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if(!ve(t)||!ve(e))throw new Error("Arguments must be {row, column} objects");be(this);let r=ae+Qt;return xe(r,t),xe(r+te,e),Jt._ts_node_named_descendant_for_position_wasm(this.tree[0]),we(this.tree)}walk(){return be(this),Jt._ts_tree_cursor_new_wasm(this.tree[0]),new _e(Xt,this.tree)}toString(){be(this);const t=Jt._ts_node_to_string_wasm(this.tree[0]),e=function(t){for(var e="";;){var r=L[t++>>0];if(!r)return e;e+=String.fromCharCode(r)}}(t);return Jt._free(t),e}}class _e{constructor(t,e){ge(t),this.tree=e,Ee(this)}delete(){Ae(this),Jt._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(t){be(t),Ae(this,ae+Qt),Jt._ts_tree_cursor_reset_wasm(this.tree[0]),Ee(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Ae(this),Jt._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Ae(this),Jt._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Ae(this),1===Jt._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Ae(this),1===Jt._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Ae(this);const t=Jt._ts_tree_cursor_start_index_wasm(this.tree[0]),e=Jt._ts_tree_cursor_end_index_wasm(this.tree[0]);return me(this.tree,t,e)}get startPosition(){return Ae(this),Jt._ts_tree_cursor_start_position_wasm(this.tree[0]),Se(ae)}get endPosition(){return Ae(this),Jt._ts_tree_cursor_end_position_wasm(this.tree[0]),Se(ae)}get startIndex(){return Ae(this),Jt._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Ae(this),Jt._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Ae(this),Jt._ts_tree_cursor_current_node_wasm(this.tree[0]),we(this.tree)}currentFieldId(){return Ae(this),Jt._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Ae(this);const t=Jt._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Ee(this),1===t}gotoNextSibling(){Ae(this);const t=Jt._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Ee(this),1===t}gotoParent(){Ae(this);const t=Jt._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return Ee(this),1===t}}class he{constructor(t,e){ge(t),this[0]=e,this.types=new Array(Jt._ts_language_symbol_count(this[0]));for(let r=0,n=this.types.length;r0){if("string"!==r[0].type)throw new Error("Predicates must begin with a literal value");const t=r[0].value;let e=!0;switch(t){case"not-eq?":e=!1;case"eq?":if(3!==r.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got ".concat(r.length-1));if("capture"!==r[1].type)throw new Error('First argument of `#eq?` predicate must be a capture. Got "'.concat(r[1].value,'"'));if("capture"===r[2].type){const t=r[1].name,n=r[2].name;_[h].push((function(r){let s,i;for(const e of r)e.name===t&&(s=e.node),e.name===n&&(i=e.node);return void 0===s||void 0===i||s.text===i.text===e}))}else{const t=r[1].name,n=r[2].value;_[h].push((function(r){for(const s of r)if(s.name===t)return s.node.text===n===e;return!0}))}break;case"not-match?":e=!1;case"match?":if(3!==r.length)throw new Error("Wrong number of arguments to `#match?` predicate. Expected 2, got ".concat(r.length-1,"."));if("capture"!==r[1].type)throw new Error('First argument of `#match?` predicate must be a capture. Got "'.concat(r[1].value,'".'));if("string"!==r[2].type)throw new Error("Second argument of `#match?` predicate must be a string. Got @".concat(r[2].value,"."));const n=r[1].name,s=new RegExp(r[2].value);_[h].push((function(t){for(const r of t)if(r.name===n)return s.test(r.node.text)===e;return!0}));break;case"set!":if(r.length<2||r.length>3)throw new Error("Wrong number of arguments to `#set!` predicate. Expected 1 or 2. Got ".concat(r.length-1,"."));if(r.some((t=>"string"!==t.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');c[h]||(c[h]={}),c[h][r[1].value]=r[2]?r[2].value:null;break;case"is?":case"is-not?":if(r.length<2||r.length>3)throw new Error("Wrong number of arguments to `#".concat(t,"` predicate. Expected 1 or 2. Got ").concat(r.length-1,"."));if(r.some((t=>"string"!==t.type)))throw new Error("Arguments to `#".concat(t,'` predicate must be a strings.".'));const i="is?"===t?l:f;i[h]||(i[h]={}),i[h][r[1].value]=r[2]?r[2].value:null;break;default:p[h].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(c[h]),Object.freeze(l[h]),Object.freeze(f[h])}return Jt._free(r),new de(Xt,n,a,_,p,Object.freeze(c),Object.freeze(l),Object.freeze(f))}static load(t){let e;if(t instanceof Uint8Array)e=Promise.resolve(t);else{const n=t;if("undefined"!=typeof process&&process.versions&&process.versions.node){const t=r(83078);e=Promise.resolve(t.readFileSync(n))}else e=fetch(n).then((t=>t.arrayBuffer().then((e=>{if(t.ok)return new Uint8Array(e);{const r=new TextDecoder("utf-8").decode(e);throw new Error("Language.load failed with status ".concat(t.status,".\n\n").concat(r))}}))))}const n="function"==typeof loadSideModule?loadSideModule:jt;return e.then((t=>n(t,{loadAsync:!0}))).then((t=>{const e=Object.keys(t),r=e.find((t=>se.test(t)&&!t.includes("external_scanner_")));r||console.log("Couldn't find language function in WASM file. Symbols:\n".concat(JSON.stringify(e,null,2)));const n=t[r]();return new he(Xt,n)}))}}class de{constructor(t,e,r,n,s,i,o,a){ge(t),this[0]=e,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Jt._ts_query_delete(this[0]),this[0]=0}matches(t,e,r,n){e||(e=re),r||(r=re),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");be(t),Jt._ts_query_matches_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=k(ae,"i32"),o=k(ae+Yt,"i32"),a=k(ae+2*Yt,"i32"),u=new Array(i);this.exceededMatchLimit=!!a;let c=0,l=o;for(let f=0;ft(n)))){u[c++]={pattern:e,captures:n};const t=this.setProperties[e];t&&(u[f].setProperties=t);const r=this.assertedProperties[e];r&&(u[f].assertedProperties=r);const s=this.refutedProperties[e];s&&(u[f].refutedProperties=s)}}return u.length=c,Jt._free(o),u}captures(t,e,r,n){e||(e=re),r||(r=re),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");be(t),Jt._ts_query_captures_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=k(ae,"i32"),o=k(ae+Yt,"i32"),a=k(ae+2*Yt,"i32"),u=[];this.exceededMatchLimit=!!a;const c=[];let l=o;for(let f=0;ft(c)))){const t=c[n],r=this.setProperties[e];r&&(t.setProperties=r);const s=this.assertedProperties[e];s&&(t.assertedProperties=s);const i=this.refutedProperties[e];i&&(t.refutedProperties=i),u.push(t)}}return Jt._free(o),u}predicatesForPattern(t){return this.predicates[t]}didExceedMatchLimit(){return this.exceededMatchLimit}}function me(t,e,r){const n=r-e;let s=t.textCallback(e,null,r);for(e+=s.length;e0))break;e+=n.length,s+=n}return e>r&&(s=s.slice(0,n)),s}function ye(t,e,r,n){for(let s=0,i=n.length;s1&&void 0!==arguments[1]?arguments[1]:ae;const r=k(e,"i32");if(0===r)return null;const n=k(e+=Yt,"i32"),s=k(e+=Yt,"i32"),i=k(e+=Yt,"i32"),o=k(e+=Yt,"i32"),a=new pe(Xt,t);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:i},a[0]=o,a}function Ae(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ae;T(e+0*Yt,t[0],"i32"),T(e+1*Yt,t[1],"i32"),T(e+2*Yt,t[2],"i32")}function Ee(t){t[0]=k(ae+0*Yt,"i32"),t[1]=k(ae+1*Yt,"i32"),t[2]=k(ae+2*Yt,"i32")}function xe(t,e){T(t,e.row,"i32"),T(t+Yt,e.column,"i32")}function Se(t){return{row:k(t,"i32"),column:k(t+Yt,"i32")}}function Oe(t,e){xe(t,e.startPosition),xe(t+=te,e.endPosition),T(t+=te,e.startIndex,"i32"),T(t+=Yt,e.endIndex,"i32"),t+=Yt}function je(t){const e={};return e.startPosition=Se(t),t+=te,e.endPosition=Se(t),t+=te,e.startIndex=k(t,"i32"),t+=Yt,e.endIndex=k(t,"i32"),e}for(const t of Object.getOwnPropertyNames(le.prototype))Object.defineProperty(i.prototype,t,{value:le.prototype[t],enumerable:!1,writable:!1});i.Language=he,n.onRuntimeInitialized=()=>{le.init(),e()}})))}}return i}();t.exports=s},79084:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.errorMessages=e.ErrorType=void 0,function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(r=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},96323:(t,e,r)=>{"use strict";e.MH=void 0;const n=r(79084);function s(t,e,r){const s=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(s)||void 0!==r&&r!==t.length)throw new SyntaxError(n.errorMessages.get(e));return s}function i(t,e){const r=s(t,n.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=s(e,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}const o=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function u(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.replace(a,(function(t,r,a,u,c,l,f,p,_){if(void 0!==r)return"\\";if(void 0!==a)return function(t){const e=s(t,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(a);if(void 0!==u)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var e;const r=s(t.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(i){throw i instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):i}}(u);if(void 0!==c)return i(c,l);if(void 0!==f)return i(f);if("0"===p)return"\0";if(void 0!==p)return function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const e=parseInt(t,8);return String.fromCharCode(e)}(p,!e);if(void 0!==_)return h=_,o.get(h)||h;var h;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.MH=u},74921:(t,e,r)=>{"use strict";t.exports=r.p+"static/media/tree-sitter.23aac571c96605dc2521.wasm"},21212:(t,e,r)=>{t.exports=r(10055)},29646:(t,e,r)=>{"use strict";var n=r(58715);t.exports=n},32620:(t,e,r)=>{"use strict";r(95448),r(42995),r(61286),r(66608),r(28052);var n=r(30879);t.exports=n.AggregateError},10055:(t,e,r)=>{"use strict";t.exports=r(53)},53:(t,e,r)=>{"use strict";r(35214);var n=r(29646);t.exports=n},38666:(t,e,r)=>{"use strict";var n=r(18421),s=r(5783),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not a function")}},4002:(t,e,r)=>{"use strict";var n=r(90309),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+s(t)+" as a prototype")}},76357:t=>{"use strict";t.exports=function(){}},2983:(t,e,r)=>{"use strict";var n=r(69026),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not an object")}},55489:(t,e,r)=>{"use strict";var n=r(66805),s=r(75706),i=r(32438),o=function(t){return function(e,r,o){var a,u=n(e),c=i(u),l=s(o,c);if(t&&r!==r){for(;c>l;)if((a=u[l++])!==a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},80896:(t,e,r)=>{"use strict";var n=r(31600),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},7323:(t,e,r)=>{"use strict";var n=r(22028),s=r(18421),i=r(80896),o=r(66163)("toStringTag"),a=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=a(t),o))?r:u?i(e):"Object"===(n=i(e))&&s(e.callee)?"Arguments":n}},79724:(t,e,r)=>{"use strict";var n=r(55393),s=r(53271),i=r(22339),o=r(25297);t.exports=function(t,e,r){for(var a=s(e),u=o.f,c=i.f,l=0;l{"use strict";var n=r(51295);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},1953:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},31851:(t,e,r)=>{"use strict";var n=r(88172),s=r(25297),i=r(72452);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},72452:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},90728:(t,e,r)=>{"use strict";var n=r(31851);t.exports=function(t,e,r,s){return s&&s.enumerable?t[e]=r:n(t,e,r),t}},79913:(t,e,r)=>{"use strict";var n=r(55771),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},88172:(t,e,r)=>{"use strict";var n=r(51295);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},62231:(t,e,r)=>{"use strict";var n=r(55771),s=r(69026),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},92104:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},51168:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},37164:(t,e,r)=>{"use strict";var n,s,i=r(55771),o=r(51168),a=i.process,u=i.Deno,c=a&&a.versions||u&&u.version,l=c&&c.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},6551:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80129:(t,e,r)=>{"use strict";var n=r(31600),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,u=a.test(o);t.exports=function(t,e){if(u&&"string"==typeof t&&!s.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},19659:(t,e,r)=>{"use strict";var n=r(31851),s=r(80129),i=r(93459),o=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(o?o(t,e):n(t,"stack",s(r,a)))}},93459:(t,e,r)=>{"use strict";var n=r(51295),s=r(72452);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",s(1,7)),7!==t.stack)}))},77814:(t,e,r)=>{"use strict";var n=r(55771),s=r(39449),i=r(59476),o=r(18421),a=r(22339).f,u=r(50332),c=r(30879),l=r(83792),f=r(31851),p=r(55393),_=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,h,d,m,y,g,v,b,w=t.target,A=t.global,E=t.stat,x=t.proto,S=A?n:E?n[w]:n[w]&&n[w].prototype,O=A?c:c[w]||f(c,w,{})[w],j=O.prototype;for(d in e)s=!(r=u(A?d:w+(E?".":"#")+d,t.forced))&&S&&p(S,d),y=O[d],s&&(g=t.dontCallGetSet?(b=a(S,d))&&b.value:S[d]),m=s&&g?g:e[d],(r||x||typeof y!=typeof m)&&(v=t.bind&&s?l(m,n):t.wrap&&s?_(m):x&&o(m)?i(m):m,(t.sham||m&&m.sham||y&&y.sham)&&f(v,"sham",!0),f(O,d,v),x&&(p(c,h=w+"Prototype")||f(c,h,{}),f(c[h],d,m),t.real&&j&&(r||!j[d])&&f(j,d,m)))}},51295:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},39449:(t,e,r)=>{"use strict";var n=r(88872),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},83792:(t,e,r)=>{"use strict";var n=r(59476),s=r(38666),i=r(88872),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},88872:(t,e,r)=>{"use strict";var n=r(51295);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},24701:(t,e,r)=>{"use strict";var n=r(88872),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},30510:(t,e,r)=>{"use strict";var n=r(88172),s=r(55393),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),u=a&&"something"===function(){}.name,c=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:c}},12818:(t,e,r)=>{"use strict";var n=r(31600),s=r(38666);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(i){}}},59476:(t,e,r)=>{"use strict";var n=r(80896),s=r(31600);t.exports=function(t){if("Function"===n(t))return s(t)}},31600:(t,e,r)=>{"use strict";var n=r(88872),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},88343:(t,e,r)=>{"use strict";var n=r(30879),s=r(55771),i=r(18421),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},2563:(t,e,r)=>{"use strict";var n=r(7323),s=r(36318),i=r(56565),o=r(74749),a=r(66163)("iterator");t.exports=function(t){if(!i(t))return s(t,a)||s(t,"@@iterator")||o[n(t)]}},73153:(t,e,r)=>{"use strict";var n=r(24701),s=r(38666),i=r(2983),o=r(5783),a=r(2563),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(s(r))return i(n(r,t));throw new u(o(t)+" is not iterable")}},36318:(t,e,r)=>{"use strict";var n=r(38666),s=r(56565);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},55771:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},55393:(t,e,r)=>{"use strict";var n=r(31600),s=r(1493),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},97621:t=>{"use strict";t.exports={}},24621:(t,e,r)=>{"use strict";var n=r(88343);t.exports=n("document","documentElement")},40749:(t,e,r)=>{"use strict";var n=r(88172),s=r(51295),i=r(62231);t.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},58703:(t,e,r)=>{"use strict";var n=r(31600),s=r(51295),i=r(80896),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):o(t)}:o},10047:(t,e,r)=>{"use strict";var n=r(18421),s=r(69026),i=r(35943);t.exports=function(t,e,r){var o,a;return i&&n(o=e.constructor)&&o!==r&&s(a=o.prototype)&&a!==r.prototype&&i(t,a),t}},66864:(t,e,r)=>{"use strict";var n=r(69026),s=r(31851);t.exports=function(t,e){n(e)&&"cause"in e&&s(t,"cause",e.cause)}},45965:(t,e,r)=>{"use strict";var n,s,i,o=r(78558),a=r(55771),u=r(69026),c=r(31851),l=r(55393),f=r(37693),p=r(41095),_=r(97621),h="Object already initialized",d=a.TypeError,m=a.WeakMap;if(o||f.state){var y=f.state||(f.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new d(h);return e.facade=t,y.set(t,e),e},s=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var g=p("state");_[g]=!0,n=function(t,e){if(l(t,g))throw new d(h);return e.facade=t,c(t,g,e),e},s=function(t){return l(t,g)?t[g]:{}},i=function(t){return l(t,g)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=s(e)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}},94769:(t,e,r)=>{"use strict";var n=r(66163),s=r(74749),i=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||o[i]===t)}},18421:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},50332:(t,e,r)=>{"use strict";var n=r(51295),s=r(18421),i=/#|\.prototype\./,o=function(t,e){var r=u[a(t)];return r===l||r!==c&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},56565:t=>{"use strict";t.exports=function(t){return null===t||void 0===t}},69026:(t,e,r)=>{"use strict";var n=r(18421);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},90309:(t,e,r)=>{"use strict";var n=r(69026);t.exports=function(t){return n(t)||null===t}},62763:t=>{"use strict";t.exports=!0},2437:(t,e,r)=>{"use strict";var n=r(88343),s=r(18421),i=r(99481),o=r(77728),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},39532:(t,e,r)=>{"use strict";var n=r(83792),s=r(24701),i=r(2983),o=r(5783),a=r(94769),u=r(32438),c=r(99481),l=r(73153),f=r(2563),p=r(95811),_=TypeError,h=function(t,e){this.stopped=t,this.result=e},d=h.prototype;t.exports=function(t,e,r){var m,y,g,v,b,w,A,E=r&&r.that,x=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),O=!(!r||!r.IS_ITERATOR),j=!(!r||!r.INTERRUPTED),P=n(e,E),I=function(t){return m&&p(m,"normal",t),new h(!0,t)},T=function(t){return x?(i(t),j?P(t[0],t[1],I):P(t[0],t[1])):j?P(t,I):P(t)};if(S)m=t.iterator;else if(O)m=t;else{if(!(y=f(t)))throw new _(o(t)+" is not iterable");if(a(y)){for(g=0,v=u(t);v>g;g++)if((b=T(t[g]))&&c(d,b))return b;return new h(!1)}m=l(t,y)}for(w=S?t.next:m.next;!(A=s(w,m)).done;){try{b=T(A.value)}catch(k){p(m,"throw",k)}if("object"==typeof b&&b&&c(d,b))return b}return new h(!1)}},95811:(t,e,r)=>{"use strict";var n=r(24701),s=r(2983),i=r(36318);t.exports=function(t,e,r){var o,a;s(t);try{if(!(o=i(t,"return"))){if("throw"===e)throw r;return r}o=n(o,t)}catch(u){a=!0,o=u}if("throw"===e)throw r;if(a)throw o;return s(o),r}},2890:(t,e,r)=>{"use strict";var n=r(93529).IteratorPrototype,s=r(49432),i=r(72452),o=r(14399),a=r(74749),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=s(n,{next:i(+!c,r)}),o(t,l,!1,!0),a[l]=u,t}},54576:(t,e,r)=>{"use strict";var n=r(77814),s=r(24701),i=r(62763),o=r(30510),a=r(18421),u=r(2890),c=r(85379),l=r(35943),f=r(14399),p=r(31851),_=r(90728),h=r(66163),d=r(74749),m=r(93529),y=o.PROPER,g=o.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,w=h("iterator"),A="keys",E="values",x="entries",S=function(){return this};t.exports=function(t,e,r,o,h,m,O){u(r,e,o);var j,P,I,T=function(t){if(t===h&&M)return M;if(!b&&t&&t in N)return N[t];switch(t){case A:case E:case x:return function(){return new r(this,t)}}return function(){return new r(this)}},k=e+" Iterator",C=!1,N=t.prototype,R=N[w]||N["@@iterator"]||h&&N[h],M=!b&&R||T(h),L="Array"===e&&N.entries||R;if(L&&(j=c(L.call(new t)))!==Object.prototype&&j.next&&(i||c(j)===v||(l?l(j,v):a(j[w])||_(j,w,S)),f(j,k,!0,!0),i&&(d[k]=S)),y&&h===E&&R&&R.name!==E&&(!i&&g?p(N,"name",E):(C=!0,M=function(){return s(R,this)})),h)if(P={values:T(E),keys:m?M:T(A),entries:T(x)},O)for(I in P)(b||C||!(I in N))&&_(N,I,P[I]);else n({target:e,proto:!0,forced:b||C},P);return i&&!O||N[w]===M||_(N,w,M,{name:h}),d[e]=M,P}},93529:(t,e,r)=>{"use strict";var n,s,i,o=r(51295),a=r(18421),u=r(69026),c=r(49432),l=r(85379),f=r(90728),p=r(66163),_=r(62763),h=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):d=!0),!u(n)||o((function(){var t={};return n[h].call(t)!==t}))?n={}:_&&(n=c(n)),a(n[h])||f(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},74749:t=>{"use strict";t.exports={}},32438:(t,e,r)=>{"use strict";var n=r(14270);t.exports=function(t){return n(t.length)}},67173:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},59323:(t,e,r)=>{"use strict";var n=r(59055);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},49432:(t,e,r)=>{"use strict";var n,s=r(2983),i=r(10017),o=r(6551),a=r(97621),u=r(24621),c=r(62231),l=r(41095),f="prototype",p="script",_=l("IE_PROTO"),h=function(){},d=function(t){return"<"+p+">"+t+""},m=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}y="undefined"!=typeof document?document.domain&&n?m(n):function(){var t,e=c("iframe"),r="java"+p+":";return e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F}():m(n);for(var t=o.length;t--;)delete y[f][o[t]];return y()};a[_]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[f]=s(t),r=new h,h[f]=null,r[_]=t):r=y(),void 0===e?r:i.f(r,e)}},10017:(t,e,r)=>{"use strict";var n=r(88172),s=r(14606),i=r(25297),o=r(2983),a=r(66805),u=r(66240);e.f=n&&!s?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=u(e),c=s.length,l=0;c>l;)i.f(t,r=s[l++],n[r]);return t}},25297:(t,e,r)=>{"use strict";var n=r(88172),s=r(40749),i=r(14606),o=r(2983),a=r(60137),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",_="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(r),"function"===typeof t&&"prototype"===e&&"value"in r&&_ in r&&!r[_]){var n=l(t,e);n&&n[_]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return c(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},22339:(t,e,r)=>{"use strict";var n=r(88172),s=r(24701),i=r(60421),o=r(72452),a=r(66805),u=r(60137),c=r(55393),l=r(40749),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=u(e),l)try{return f(t,e)}catch(r){}if(c(t,e))return o(!s(i.f,t,e),t[e])}},92880:(t,e,r)=>{"use strict";var n=r(47396),s=r(6551).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},56885:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},85379:(t,e,r)=>{"use strict";var n=r(55393),s=r(18421),i=r(1493),o=r(41095),a=r(71379),u=o("IE_PROTO"),c=Object,l=c.prototype;t.exports=a?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},99481:(t,e,r)=>{"use strict";var n=r(31600);t.exports=n({}.isPrototypeOf)},47396:(t,e,r)=>{"use strict";var n=r(31600),s=r(55393),i=r(66805),o=r(55489).indexOf,a=r(97621),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,l=[];for(r in n)!s(a,r)&&s(n,r)&&u(l,r);for(;e.length>c;)s(n,r=e[c++])&&(~o(l,r)||u(l,r));return l}},66240:(t,e,r)=>{"use strict";var n=r(47396),s=r(6551);t.exports=Object.keys||function(t){return n(t,s)}},60421:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},35943:(t,e,r)=>{"use strict";var n=r(12818),s=r(2983),i=r(4002);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(o){}return function(r,n){return s(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},66843:(t,e,r)=>{"use strict";var n=r(22028),s=r(7323);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},94830:(t,e,r)=>{"use strict";var n=r(24701),s=r(18421),i=r(69026),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw new o("Can't convert object to primitive value")}},53271:(t,e,r)=>{"use strict";var n=r(88343),s=r(31600),i=r(92880),o=r(56885),a=r(2983),u=s([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=o.f;return r?u(e,r(t)):e}},30879:t=>{"use strict";t.exports={}},65680:(t,e,r)=>{"use strict";var n=r(25297).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},66374:(t,e,r)=>{"use strict";var n=r(56565),s=TypeError;t.exports=function(t){if(n(t))throw new s("Can't call method on "+t);return t}},14399:(t,e,r)=>{"use strict";var n=r(22028),s=r(25297).f,i=r(31851),o=r(55393),a=r(66843),u=r(66163)("toStringTag");t.exports=function(t,e,r,c){var l=r?t:t&&t.prototype;l&&(o(l,u)||s(l,u,{configurable:!0,value:e}),c&&!n&&i(l,"toString",a))}},41095:(t,e,r)=>{"use strict";var n=r(99473),s=r(32656),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},37693:(t,e,r)=>{"use strict";var n=r(55771),s=r(79913),i="__core-js_shared__",o=n[i]||s(i,{});t.exports=o},99473:(t,e,r)=>{"use strict";var n=r(62763),s=r(37693);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"\xa9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4343:(t,e,r)=>{"use strict";var n=r(31600),s=r(20251),i=r(59055),o=r(66374),a=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,f=i(o(e)),p=s(r),_=f.length;return p<0||p>=_?t?"":void 0:(n=u(f,p))<55296||n>56319||p+1===_||(l=u(f,p+1))<56320||l>57343?t?a(f,p):n:t?c(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},34095:(t,e,r)=>{"use strict";var n=r(37164),s=r(51295),i=r(55771).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},75706:(t,e,r)=>{"use strict";var n=r(20251),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},66805:(t,e,r)=>{"use strict";var n=r(58703),s=r(66374);t.exports=function(t){return n(s(t))}},20251:(t,e,r)=>{"use strict";var n=r(67173);t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},14270:(t,e,r)=>{"use strict";var n=r(20251),s=Math.min;t.exports=function(t){var e=n(t);return e>0?s(e,9007199254740991):0}},1493:(t,e,r)=>{"use strict";var n=r(66374),s=Object;t.exports=function(t){return s(n(t))}},67497:(t,e,r)=>{"use strict";var n=r(24701),s=r(69026),i=r(2437),o=r(36318),a=r(94830),u=r(66163),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,u=o(t,l);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!s(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},60137:(t,e,r)=>{"use strict";var n=r(67497),s=r(2437);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},22028:(t,e,r)=>{"use strict";var n={};n[r(66163)("toStringTag")]="z",t.exports="[object z]"===String(n)},59055:(t,e,r)=>{"use strict";var n=r(7323),s=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return s(t)}},5783:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},32656:(t,e,r)=>{"use strict";var n=r(31600),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},77728:(t,e,r)=>{"use strict";var n=r(34095);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},14606:(t,e,r)=>{"use strict";var n=r(88172),s=r(51295);t.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},78558:(t,e,r)=>{"use strict";var n=r(55771),s=r(18421),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},66163:(t,e,r)=>{"use strict";var n=r(55771),s=r(99473),i=r(55393),o=r(32656),a=r(34095),u=r(77728),c=n.Symbol,l=s("wks"),f=u?c.for||c:c&&c.withoutSetter||o;t.exports=function(t){return i(l,t)||(l[t]=a&&i(c,t)?c[t]:f("Symbol."+t)),l[t]}},66153:(t,e,r)=>{"use strict";var n=r(88343),s=r(55393),i=r(31851),o=r(99481),a=r(35943),u=r(79724),c=r(65680),l=r(10047),f=r(59323),p=r(66864),_=r(19659),h=r(88172),d=r(62763);t.exports=function(t,e,r,m){var y="stackTraceLimit",g=m?2:1,v=t.split("."),b=v[v.length-1],w=n.apply(null,v);if(w){var A=w.prototype;if(!d&&s(A,"cause")&&delete A.cause,!r)return w;var E=n("Error"),x=e((function(t,e){var r=f(m?e:t,void 0),n=m?new w(t):new w;return void 0!==r&&i(n,"message",r),_(n,x,n.stack,2),this&&o(A,this)&&l(n,this,x),arguments.length>g&&p(n,arguments[g]),n}));if(x.prototype=A,"Error"!==b?a?a(x,E):u(x,E,{name:!0}):h&&y in w&&(c(x,w,y),c(x,w,"prepareStackTrace")),u(x,w),!d)try{A.name!==b&&i(A,"name",b),A.constructor=x}catch(S){}return x}}},61286:(t,e,r)=>{"use strict";var n=r(77814),s=r(88343),i=r(39449),o=r(51295),a=r(66153),u="AggregateError",c=s(u),l=!o((function(){return 1!==c([1]).errors[0]}))&&o((function(){return 7!==c([1],u,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(u,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},28633:(t,e,r)=>{"use strict";var n=r(77814),s=r(99481),i=r(85379),o=r(35943),a=r(79724),u=r(49432),c=r(31851),l=r(72452),f=r(66864),p=r(19659),_=r(39532),h=r(59323),d=r(66163)("toStringTag"),m=Error,y=[].push,g=function(t,e){var r,n=s(v,this);o?r=o(new m,n?i(this):v):(r=n?this:u(v),c(r,d,"Error")),void 0!==e&&c(r,"message",h(e)),p(r,g,r.stack,1),arguments.length>2&&f(r,arguments[2]);var a=[];return _(t,y,{that:a}),c(r,"errors",a),r};o?o(g,m):a(g,m,{name:!0});var v=g.prototype=u(m.prototype,{constructor:l(1,g),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},42995:(t,e,r)=>{"use strict";r(28633)},66608:(t,e,r)=>{"use strict";var n=r(66805),s=r(76357),i=r(74749),o=r(45965),a=r(25297).f,u=r(54576),c=r(1953),l=r(62763),f=r(88172),p="Array Iterator",_=o.set,h=o.getterFor(p);t.exports=u(Array,"Array",(function(t,e){_(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(m){}},95448:(t,e,r)=>{"use strict";var n=r(77814),s=r(55771),i=r(39449),o=r(66153),a="WebAssembly",u=s[a],c=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=o(t,e,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},f=function(t,e){if(u&&u[t]){var r={};r[t]=o(a+"."+t,e,c),n({target:a,stat:!0,constructor:!0,arity:1,forced:c},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},28052:(t,e,r)=>{"use strict";var n=r(4343).charAt,s=r(59055),i=r(45965),o=r(54576),a=r(1953),u="String Iterator",c=i.set,l=i.getterFor(u);o(String,"String",(function(t){c(this,{type:u,string:s(t),index:0})}),(function(){var t,e=l(this),r=e.string,s=e.index;return s>=r.length?a(void 0,!0):(t=n(r,s),e.index+=t.length,a(t,!1))}))},35214:(t,e,r)=>{"use strict";r(42995)},74665:(t,e,r)=>{"use strict";r(66608);var n=r(92104),s=r(55771),i=r(14399),o=r(74749);for(var a in n)i(s[a],a),o[a]=o.Array},58715:(t,e,r)=>{"use strict";r(35214);var n=r(32620);r(74665),t.exports=n},98158:(t,e,r)=>{"use strict";function n(t){return n="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},n(t)}function s(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var s=r.call(t,e||"default");if("object"!=n(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:String(e)}function i(t,e,r){return(e=s(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{A:()=>i})},97173:(t,e,r)=>{"use strict";r.d(e,{A:()=>$t});var n={};function s(t,e){return function(){return t.apply(e,arguments)}}r.r(n),r.d(n,{hasBrowserEnv:()=>nt,hasStandardBrowserEnv:()=>st,hasStandardBrowserWebWorkerEnv:()=>ot});const{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,a=(u=Object.create(null),t=>{const e=i.call(t);return u[e]||(u[e]=e.slice(8,-1).toLowerCase())});var u;const c=t=>(t=t.toLowerCase(),e=>a(e)===t),l=t=>e=>typeof e===t,{isArray:f}=Array,p=l("undefined");const _=c("ArrayBuffer");const h=l("string"),d=l("function"),m=l("number"),y=t=>null!==t&&"object"===typeof t,g=t=>{if("object"!==a(t))return!1;const e=o(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},v=c("Date"),b=c("File"),w=c("Blob"),A=c("FileList"),E=c("URLSearchParams");function x(t,e){let r,n,{allOwnKeys:s=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),f(t))for(r=0,n=t.length;r0;)if(n=r[s],e===n.toLowerCase())return n;return null}const O="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,j=t=>!p(t)&&t!==O;const P=(I="undefined"!==typeof Uint8Array&&o(Uint8Array),t=>I&&t instanceof I);var I;const T=c("HTMLFormElement"),k=(t=>{let{hasOwnProperty:e}=t;return(t,r)=>e.call(t,r)})(Object.prototype),C=c("RegExp"),N=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};x(r,((r,s)=>{let i;!1!==(i=e(r,s,t))&&(n[s]=i||r)})),Object.defineProperties(t,n)},R="abcdefghijklmnopqrstuvwxyz",M="0123456789",L={DIGIT:M,ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+M};const U=c("AsyncFunction"),F={isArray:f,isArrayBuffer:_,isBuffer:function(t){return null!==t&&!p(t)&&null!==t.constructor&&!p(t.constructor)&&d(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"===typeof FormData&&t instanceof FormData||d(t.append)&&("formdata"===(e=a(t))||"object"===e&&d(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&_(t.buffer),e},isString:h,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:y,isPlainObject:g,isUndefined:p,isDate:v,isFile:b,isBlob:w,isRegExp:C,isFunction:d,isStream:t=>y(t)&&d(t.pipe),isURLSearchParams:E,isTypedArray:P,isFileList:A,forEach:x,merge:function t(){const{caseless:e}=j(this)&&this||{},r={},n=(n,s)=>{const i=e&&S(r,s)||s;g(r[i])&&g(n)?r[i]=t(r[i],n):g(n)?r[i]=t({},n):f(n)?r[i]=n.slice():r[i]=n};for(let s=0,i=arguments.length;s3&&void 0!==arguments[3]?arguments[3]:{};return x(e,((e,n)=>{r&&d(e)?t[n]=s(e,r):t[n]=e}),{allOwnKeys:n}),t},trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let s,i,a;const u={};if(e=e||{},null==t)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)a=s[i],n&&!n(a,t,e)||u[a]||(e[a]=t[a],u[a]=!0);t=!1!==r&&o(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:c,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(f(t))return t;let e=t.length;if(!m(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:T,hasOwnProperty:k,hasOwnProp:k,reduceDescriptors:N,freezeMethods:t=>{N(t,((e,r)=>{if(d(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];d(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return f(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:S,global:O,isContextDefined:j,ALPHABET:L,generateString:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L.ALPHA_DIGIT,r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&d(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(y(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const s=f(t)?[]:{};return x(t,((t,e)=>{const i=r(t,n+1);!p(i)&&(s[e]=i)})),e[n]=void 0,s}}return t};return r(t,0)},isAsyncFn:U,isThenable:t=>t&&(y(t)||d(t))&&d(t.then)&&d(t.catch)};function D(t,e,r,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),s&&(this.response=s)}F.inherits(D,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:F.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const q=D.prototype,B={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{B[t]={value:t}})),Object.defineProperties(D,B),Object.defineProperty(q,"isAxiosError",{value:!0}),D.from=(t,e,r,n,s,i)=>{const o=Object.create(q);return F.toFlatObject(t,o,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),D.call(o,t.message,e,r,n,s),o.cause=t,o.name=t.name,i&&Object.assign(o,i),o};const z=D;function V(t){return F.isPlainObject(t)||F.isArray(t)}function W(t){return F.endsWith(t,"[]")?t.slice(0,-2):t}function H(t,e,r){return t?t.concat(e).map((function(t,e){return t=W(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const G=F.toFlatObject(F,{},null,(function(t){return/^is[A-Z]/.test(t)}));const $=function(t,e,r){if(!F.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=F.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!F.isUndefined(e[t])}))).metaTokens,s=r.visitor||c,i=r.dots,o=r.indexes,a=(r.Blob||"undefined"!==typeof Blob&&Blob)&&F.isSpecCompliantForm(e);if(!F.isFunction(s))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(F.isDate(t))return t.toISOString();if(!a&&F.isBlob(t))throw new z("Blob is not supported. Use a Buffer instead.");return F.isArrayBuffer(t)||F.isTypedArray(t)?a&&"function"===typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,r,s){let a=t;if(t&&!s&&"object"===typeof t)if(F.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(F.isArray(t)&&function(t){return F.isArray(t)&&!t.some(V)}(t)||(F.isFileList(t)||F.endsWith(r,"[]"))&&(a=F.toArray(t)))return r=W(r),a.forEach((function(t,n){!F.isUndefined(t)&&null!==t&&e.append(!0===o?H([r],n,i):null===o?r:r+"[]",u(t))})),!1;return!!V(t)||(e.append(H(s,r,i),u(t)),!1)}const l=[],f=Object.assign(G,{defaultVisitor:c,convertValue:u,isVisitable:V});if(!F.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!F.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),F.forEach(r,(function(r,i){!0===(!(F.isUndefined(r)||null===r)&&s.call(e,r,F.isString(i)?i.trim():i,n,f))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e};function K(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Z(t,e){this._pairs=[],t&&$(t,this,e)}const J=Z.prototype;J.append=function(t,e){this._pairs.push([t,e])},J.toString=function(t){const e=t?function(e){return t.call(this,e,K)}:K;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const X=Z;function Y(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Q(t,e,r){if(!e)return t;const n=r&&r.encode||Y,s=r&&r.serialize;let i;if(i=s?s(e,r):F.isURLSearchParams(e)?e.toString():new X(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const tt=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){F.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},et={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rt={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:X,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},nt="undefined"!==typeof window&&"undefined"!==typeof document,st=(it="undefined"!==typeof navigator&&navigator.product,nt&&["ReactNative","NativeScript","NS"].indexOf(it)<0);var it;const ot="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,at={...n,...rt};const ut=function(t){function e(t,r,n,s){let i=t[s++];if("__proto__"===i)return!0;const o=Number.isFinite(+i),a=s>=t.length;if(i=!i&&F.isArray(n)?n.length:i,a)return F.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!o;n[i]&&F.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],s)&&F.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const s=r.length;let i;for(n=0;n{e(function(t){return F.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null};const ct={transitional:et,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,s=F.isObject(t);s&&F.isHTMLForm(t)&&(t=new FormData(t));if(F.isFormData(t))return n?JSON.stringify(ut(t)):t;if(F.isArrayBuffer(t)||F.isBuffer(t)||F.isStream(t)||F.isFile(t)||F.isBlob(t))return t;if(F.isArrayBufferView(t))return t.buffer;if(F.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return $(t,new at.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return at.isNode&&F.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=F.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return $(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return s||n?(e.setContentType("application/json",!1),function(t,e,r){if(F.isString(t))try{return(e||JSON.parse)(t),F.trim(t)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||ct.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&F.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(s){if(r){if("SyntaxError"===s.name)throw z.from(s,z.ERR_BAD_RESPONSE,this,null,this.response);throw s}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:at.classes.FormData,Blob:at.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};F.forEach(["delete","get","head","post","put","patch"],(t=>{ct.headers[t]={}}));const lt=ct,ft=F.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),pt=Symbol("internals");function _t(t){return t&&String(t).trim().toLowerCase()}function ht(t){return!1===t||null==t?t:F.isArray(t)?t.map(ht):String(t)}function dt(t,e,r,n,s){return F.isFunction(n)?n.call(this,e,r):(s&&(e=r),F.isString(e)?F.isString(n)?-1!==e.indexOf(n):F.isRegExp(n)?n.test(e):void 0:void 0)}class mt{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function s(t,e,r){const s=_t(e);if(!s)throw new Error("header name must be a non-empty string");const i=F.findKey(n,s);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=ht(t))}const i=(t,e)=>F.forEach(t,((t,r)=>s(t,r,e)));return F.isPlainObject(t)||t instanceof this.constructor?i(t,e):F.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let r,n,s;return t&&t.split("\n").forEach((function(t){s=t.indexOf(":"),r=t.substring(0,s).trim().toLowerCase(),n=t.substring(s+1).trim(),!r||e[r]&&ft[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e):null!=t&&s(e,t,r),this}get(t,e){if(t=_t(t)){const r=F.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(F.isFunction(e))return e.call(this,t,r);if(F.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=_t(t)){const r=F.findKey(this,t);return!(!r||void 0===this[r]||e&&!dt(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function s(t){if(t=_t(t)){const s=F.findKey(r,t);!s||e&&!dt(0,r[s],s,e)||(delete r[s],n=!0)}}return F.isArray(t)?t.forEach(s):s(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const s=e[r];t&&!dt(0,this[s],s,t,!0)||(delete this[s],n=!0)}return n}normalize(t){const e=this,r={};return F.forEach(this,((n,s)=>{const i=F.findKey(r,s);if(i)return e[i]=ht(n),void delete e[s];const o=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(s):String(s).trim();o!==s&&delete e[s],e[o]=ht(n),r[o]=!0})),this}concat(){for(var t=arguments.length,e=new Array(t),r=0;r{null!=r&&!1!==r&&(e[n]=t&&F.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((t=>{let[e,r]=t;return e+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t){const e=new this(t);for(var r=arguments.length,n=new Array(r>1?r-1:0),s=1;se.set(t))),e}static accessor(t){const e=(this[pt]=this[pt]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=_t(t);e[n]||(!function(t,e){const r=F.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,s){return this[n].call(this,e,t,r,s)},configurable:!0})}))}(r,t),e[n]=!0)}return F.isArray(t)?t.forEach(n):n(t),this}}mt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),F.reduceDescriptors(mt.prototype,((t,e)=>{let{value:r}=t,n=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(t){this[n]=t}}})),F.freezeMethods(mt);const yt=mt;function gt(t,e){const r=this||lt,n=e||r,s=yt.from(n.headers);let i=n.data;return F.forEach(t,(function(t){i=t.call(r,i,s.normalize(),e?e.status:void 0)})),s.normalize(),i}function vt(t){return!(!t||!t.__CANCEL__)}function bt(t,e,r){z.call(this,null==t?"canceled":t,z.ERR_CANCELED,e,r),this.name="CanceledError"}F.inherits(bt,z,{__CANCEL__:!0});const wt=bt;const At=at.hasStandardBrowserEnv?{write(t,e,r,n,s,i){const o=[t+"="+encodeURIComponent(e)];F.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),F.isString(n)&&o.push("path="+n),F.isString(s)&&o.push("domain="+s),!0===i&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Et(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const xt=at.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=F.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};const St=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let s,i=0,o=0;return e=void 0!==e?e:1e3,function(a){const u=Date.now(),c=n[o];s||(s=u),r[i]=a,n[i]=u;let l=o,f=0;for(;l!==i;)f+=r[l++],l%=t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),u-s{const i=s.loaded,o=s.lengthComputable?s.total:void 0,a=i-r,u=n(a);r=i;const c={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:u||void 0,estimated:u&&o&&i<=o?(o-i)/u:void 0,event:s};c[e?"download":"upload"]=!0,t(c)}}const jt={http:null,xhr:"undefined"!==typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const s=yt.from(t.headers).normalize();let i,o,{responseType:a,withXSRFToken:u}=t;function c(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}if(F.isFormData(n))if(at.hasStandardBrowserEnv||at.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if(!1!==(o=s.getContentType())){const[t,...e]=o?o.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.set("Authorization","Basic "+btoa(e+":"+r))}const f=Et(t.baseURL,t.url);function p(){if(!l)return;const n=yt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new z("Request failed with status code "+r.status,[z.ERR_BAD_REQUEST,z.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),c()}),(function(t){r(t),c()}),{data:a&&"text"!==a&&"json"!==a?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:t,request:l}),l=null}if(l.open(t.method.toUpperCase(),Q(f,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(p)},l.onabort=function(){l&&(r(new z("Request aborted",z.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new z("Network Error",z.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const n=t.transitional||et;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new z(e,n.clarifyTimeoutError?z.ETIMEDOUT:z.ECONNABORTED,t,l)),l=null},at.hasStandardBrowserEnv&&(u&&F.isFunction(u)&&(u=u(t)),u||!1!==u&&xt(f))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&At.read(t.xsrfCookieName);e&&s.set(t.xsrfHeaderName,e)}void 0===n&&s.setContentType(null),"setRequestHeader"in l&&F.forEach(s.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),F.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),a&&"json"!==a&&(l.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&l.addEventListener("progress",Ot(t.onDownloadProgress,!0)),"function"===typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Ot(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{l&&(r(!e||e.type?new wt(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const _=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(f);_&&-1===at.protocols.indexOf(_)?r(new z("Unsupported protocol "+_+":",z.ERR_BAD_REQUEST,t)):l.send(n||null)}))}};F.forEach(jt,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(r){}Object.defineProperty(t,"adapterName",{value:e})}}));const Pt=t=>"- ".concat(t),It=t=>F.isFunction(t)||null===t||!1===t,Tt=t=>{t=F.isArray(t)?t:[t];const{length:e}=t;let r,n;const s={};for(let i=0;i{let[e,r]=t;return"adapter ".concat(e," ")+(!1===r?"is not supported by the environment":"is not available in the build")}));let r=e?t.length>1?"since :\n"+t.map(Pt).join("\n"):" "+Pt(t[0]):"as no adapter specified";throw new z("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n};function kt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new wt(null,t)}function Ct(t){kt(t),t.headers=yt.from(t.headers),t.data=gt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Tt(t.adapter||lt.adapter)(t).then((function(e){return kt(t),e.data=gt.call(t,t.transformResponse,e),e.headers=yt.from(e.headers),e}),(function(e){return vt(e)||(kt(t),e&&e.response&&(e.response.data=gt.call(t,t.transformResponse,e.response),e.response.headers=yt.from(e.response.headers))),Promise.reject(e)}))}const Nt=t=>t instanceof yt?t.toJSON():t;function Rt(t,e){e=e||{};const r={};function n(t,e,r){return F.isPlainObject(t)&&F.isPlainObject(e)?F.merge.call({caseless:r},t,e):F.isPlainObject(e)?F.merge({},e):F.isArray(e)?e.slice():e}function s(t,e,r){return F.isUndefined(e)?F.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!F.isUndefined(e))return n(void 0,e)}function o(t,e){return F.isUndefined(e)?F.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function a(r,s,i){return i in e?n(r,s):i in t?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(t,e)=>s(Nt(t),Nt(e),!0)};return F.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||s,o=i(t[n],e[n],n);F.isUndefined(o)&&i!==a||(r[n]=o)})),r}const Mt="1.6.7",Lt={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Lt[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const Ut={};Lt.transitional=function(t,e,r){function n(t,e){return"[Axios v1.6.7] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,s,i)=>{if(!1===t)throw new z(n(s," has been removed"+(e?" in "+e:"")),z.ERR_DEPRECATED);return e&&!Ut[s]&&(Ut[s]=!0,console.warn(n(s," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,s,i)}};const Ft={assertOptions:function(t,e,r){if("object"!==typeof t)throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let s=n.length;for(;s-- >0;){const i=n[s],o=e[i];if(o){const e=t[i],r=void 0===e||o(e,i,t);if(!0!==r)throw new z("option "+i+" must be "+r,z.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new z("Unknown option "+i,z.ERR_BAD_OPTION)}},validators:Lt},Dt=Ft.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new tt,response:new tt}}async request(t,e){try{return await this._request(t,e)}catch(r){if(r instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";r.stack?e&&!String(r.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+e):r.stack=e}throw r}}_request(t,e){"string"===typeof t?(e=e||{}).url=t:e=t||{},e=Rt(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:s}=e;void 0!==r&&Ft.assertOptions(r,{silentJSONParsing:Dt.transitional(Dt.boolean),forcedJSONParsing:Dt.transitional(Dt.boolean),clarifyTimeoutError:Dt.transitional(Dt.boolean)},!1),null!=n&&(F.isFunction(n)?e.paramsSerializer={serialize:n}:Ft.assertOptions(n,{encode:Dt.function,serialize:Dt.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=s&&F.merge(s.common,s[e.method]);s&&F.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete s[t]})),e.headers=yt.concat(i,s);const o=[];let a=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,o.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,f=0;if(!a){const t=[Ct.bind(this),void 0];for(t.unshift.apply(t,o),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);f{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,s){r.reason||(r.reason=new wt(t,n,s),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new zt((function(e){t=e})),cancel:t}}}const Vt=zt;const Wt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Wt).forEach((t=>{let[e,r]=t;Wt[r]=e}));const Ht=Wt;const Gt=function t(e){const r=new Bt(e),n=s(Bt.prototype.request,r);return F.extend(n,Bt.prototype,r,{allOwnKeys:!0}),F.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(Rt(e,r))},n}(lt);Gt.Axios=Bt,Gt.CanceledError=wt,Gt.CancelToken=Vt,Gt.isCancel=vt,Gt.VERSION=Mt,Gt.toFormData=$,Gt.AxiosError=z,Gt.Cancel=Gt.CanceledError,Gt.all=function(t){return Promise.all(t)},Gt.spread=function(t){return function(e){return t.apply(null,e)}},Gt.isAxiosError=function(t){return F.isObject(t)&&!0===t.isAxiosError},Gt.mergeConfig=Rt,Gt.AxiosHeaders=yt,Gt.formToJSON=t=>ut(F.isHTMLForm(t)?new FormData(t):t),Gt.getAdapter=Tt,Gt.HttpStatusCode=Ht,Gt.default=Gt;const $t=Gt},65959:(t,e,r)=>{"use strict";r.d(e,{p:()=>l});const n=Symbol("Comlink.proxy"),s=Symbol("Comlink.endpoint"),i=Symbol("Comlink.releaseProxy"),o=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),u=t=>"object"===typeof t&&null!==t||"function"===typeof t,c=new Map([["proxy",{canHandle:t=>u(t)&&t[n],serialize(t){const{port1:e,port2:r}=new MessageChannel;return l(t,e),[r,[r]]},deserialize(t){return t.start(),m(t,[],e);var e}}],["throw",{canHandle:t=>u(t)&&a in t,serialize(t){let e,{value:r}=t;return e=r instanceof Error?{isError:!0,value:{message:r.message,name:r.name,stack:r.stack}}:{isError:!1,value:r},[e,[]]},deserialize(t){if(t.isError)throw Object.assign(new Error(t.value.message),t.value);throw t.value}}]]);function l(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["*"];e.addEventListener("message",(function s(i){if(!i||!i.data)return;if(!function(t,e){for(const r of t){if(e===r||"*"===r)return!0;if(r instanceof RegExp&&r.test(e))return!0}return!1}(r,i.origin))return void console.warn("Invalid origin '".concat(i.origin,"' for comlink proxy"));const{id:u,type:c,path:p}=Object.assign({path:[]},i.data),_=(i.data.argumentList||[]).map(b);let h;try{const e=p.slice(0,-1).reduce(((t,e)=>t[e]),t),r=p.reduce(((t,e)=>t[e]),t);switch(c){case"GET":h=r;break;case"SET":e[p.slice(-1)[0]]=b(i.data.value),h=!0;break;case"APPLY":h=r.apply(e,_);break;case"CONSTRUCT":h=function(t){return Object.assign(t,{[n]:!0})}(new r(..._));break;case"ENDPOINT":{const{port1:e,port2:r}=new MessageChannel;l(t,r),h=function(t,e){return g.set(t,e),t}(e,[e])}break;case"RELEASE":h=void 0;break;default:return}}catch(d){h={value:d,[a]:0}}Promise.resolve(h).catch((t=>({value:t,[a]:0}))).then((r=>{const[n,i]=v(r);e.postMessage(Object.assign(Object.assign({},n),{id:u}),i),"RELEASE"===c&&(e.removeEventListener("message",s),f(e),o in t&&"function"===typeof t[o]&&t[o]())})).catch((t=>{const[r,n]=v({value:new TypeError("Unserializable return value"),[a]:0});e.postMessage(Object.assign(Object.assign({},r),{id:u}),n)}))})),e.start&&e.start()}function f(t){(function(t){return"MessagePort"===t.constructor.name})(t)&&t.close()}function p(t){if(t)throw new Error("Proxy has been released and is not useable")}function _(t){return w(t,{type:"RELEASE"}).then((()=>{f(t)}))}const h=new WeakMap,d="FinalizationRegistry"in globalThis&&new FinalizationRegistry((t=>{const e=(h.get(t)||0)-1;h.set(t,e),0===e&&_(t)}));function m(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=!1;const n=new Proxy(arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},{get(s,o){if(p(r),o===i)return()=>{!function(t){d&&d.unregister(t)}(n),_(t),r=!0};if("then"===o){if(0===e.length)return{then:()=>n};const r=w(t,{type:"GET",path:e.map((t=>t.toString()))}).then(b);return r.then.bind(r)}return m(t,[...e,o])},set(n,s,i){p(r);const[o,a]=v(i);return w(t,{type:"SET",path:[...e,s].map((t=>t.toString())),value:o},a).then(b)},apply(n,i,o){p(r);const a=e[e.length-1];if(a===s)return w(t,{type:"ENDPOINT"}).then(b);if("bind"===a)return m(t,e.slice(0,-1));const[u,c]=y(o);return w(t,{type:"APPLY",path:e.map((t=>t.toString())),argumentList:u},c).then(b)},construct(n,s){p(r);const[i,o]=y(s);return w(t,{type:"CONSTRUCT",path:e.map((t=>t.toString())),argumentList:i},o).then(b)}});return function(t,e){const r=(h.get(e)||0)+1;h.set(e,r),d&&d.register(t,e,t)}(n,t),n}function y(t){const e=t.map(v);return[e.map((t=>t[0])),(r=e.map((t=>t[1])),Array.prototype.concat.apply([],r))];var r}const g=new WeakMap;function v(t){for(const[e,r]of c)if(r.canHandle(t)){const[n,s]=r.serialize(t);return[{type:"HANDLER",name:e,value:n},s]}return[{type:"RAW",value:t},g.get(t)||[]]}function b(t){switch(t.type){case"HANDLER":return c.get(t.name).deserialize(t.value);case"RAW":return t.value}}function w(t,e,r){return new Promise((n=>{const s=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");t.addEventListener("message",(function e(r){r.data&&r.data.id&&r.data.id===s&&(t.removeEventListener("message",e),n(r.data))})),t.start&&t.start(),t.postMessage(Object.assign({id:s},e),r)}))}},58009:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(){return!1}},34887:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=function(){return!0}},25384:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(86335),s=r(33832),i=r(36448),o=r(53247),a=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=o.A.init,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=(0,i.A)(this.xf["@@transducer/step"](t,!1))),t},t}();function u(t){return function(e){return new a(t,e)}}const c=(0,n.A)((0,s.A)(["all"],u,(function(t,e){for(var r=0;r{"use strict";r.d(e,{A:()=>n});const n=(0,r(85426).A)((function(t){return function(){return t}}))},18411:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(75016),s=r(36098),i=r(19852),o=r(65275);var a=r(37656);const u=(0,n.A)((function t(e,r,n){if(0===e.length)return r;var u=e[0];if(e.length>1){var c=!(0,a.A)(n)&&(0,s.A)(u,n)&&"object"===typeof n[u]?n[u]:(0,i.A)(e[1])?[]:{};r=t(Array.prototype.slice.call(e,1),r,c)}return function(t,e,r){if((0,i.A)(t)&&(0,o.A)(r)){var n=[].concat(r);return n[t]=e,n}var s={};for(var a in r)s[a]=r[a];return s[t]=e,s}(u,r,n)}))},8136:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(20415);const s=(0,r(86335).A)((function(t,e){return(0,n.A)(t.length,(function(){return t.apply(e,arguments)}))}))},9889:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(86335),s=r(1900);const i=(0,n.A)((function(t,e){return t&&e}));var o=r(38825);const a=(0,n.A)((function(t,e){return(0,s.A)(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:(0,o.A)(i)(t,e)}))},33178:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(19054),s=r(49531);function i(t,e,r){if(r||(r=new o),function(t){var e=typeof t;return null==t||"object"!=e&&"function"!=e}(t))return t;var a=function(n){var s=r.get(t);if(s)return s;for(var o in r.set(t,n),t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=e?i(t[o],!0,r):t[o]);return n};switch((0,s.A)(t)){case"Object":return a(Object.create(Object.getPrototypeOf(t)));case"Array":return a([]);case"Date":return new Date(t.valueOf());case"RegExp":return(0,n.A)(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}var o=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(t,e){const r=this.hash(t);let n=this.map[r];n||(this.map[r]=n=[]),n.push([t,e]),this.length+=1},t.prototype.hash=function(t){let e=[];for(var r in t)e.push(Object.prototype.toString.call(t[r]));return e.join()},t.prototype.get=function(t){if(this.length<=180){for(const e in this.map){const r=this.map[e];for(let e=0;e{"use strict";r.d(e,{A:()=>i});var n=r(38825);const s=(0,r(85426).A)((function(t){return!t}));const i=(0,n.A)(s)},30439:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(41870),s=r(89221);function i(){if(0===arguments.length)throw new Error("compose requires at least one argument");return n.A.apply(this,(0,s.A)(arguments))}},31179:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(86335),s=r(65275),i=r(1900),o=r(67013),a=r(22556);const u=(0,n.A)((function(t,e){if((0,s.A)(t)){if((0,s.A)(e))return t.concat(e);throw new TypeError((0,a.A)(e)+" is not an array")}if((0,o.A)(t)){if((0,o.A)(e))return t+e;throw new TypeError((0,a.A)(e)+" is not a string")}if(null!=t&&(0,i.A)(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&(0,i.A)(t.concat))return t.concat(e);throw new TypeError((0,a.A)(t)+' does not have a method named "concat" or "fantasy-land/concat"')}))},26836:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(77804);const i=(0,n.A)((function(t){return(0,s.A)(t.length,t)}))},77804:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(20415),s=r(85426),i=r(86335),o=r(69459);function a(t,e,r){return function(){for(var s=[],i=0,u=t,c=0,l=!1;c=arguments.length)?f=e[c]:(f=arguments[i],i+=1),s[c]=f,(0,o.A)(f)?l=!0:u-=1,c+=1}return!l&&u<=0?r.apply(this,s):(0,n.A)(Math.max(0,u),a(t,s,r))}}const u=(0,i.A)((function(t,e){return 1===t?(0,s.A)(e):(0,n.A)(t,a(t,[],e))}))},56631:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(86335).A)((function(t,e){return null==e||e!==e?t:e}))},17973:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(86335),s=r(88157);function i(t,e,r){var n,i=typeof t;switch(i){case"string":case"number":return 0===t&&1/t===-1/0?!!r._items["-0"]||(e&&(r._items["-0"]=!0),!1):null!==r._nativeSet?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):i in r._items?t in r._items[i]||(e&&(r._items[i][t]=!0),!1):(e&&(r._items[i]={},r._items[i][t]=!0),!1);case"boolean":if(i in r._items){var o=t?1:0;return!!r._items[i][o]||(e&&(r._items[i][o]=!0),!1)}return e&&(r._items[i]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):i in r._items?!!(0,s.A)(t,r._items[i])||(e&&r._items[i].push(t),!1):(e&&(r._items[i]=[t]),!1);case"undefined":return!!r._items[i]||(e&&(r._items[i]=!0),!1);case"object":if(null===t)return!!r._items.null||(e&&(r._items.null=!0),!1);default:return(i=Object.prototype.toString.call(t))in r._items?!!(0,s.A)(t,r._items[i])||(e&&r._items[i].push(t),!1):(e&&(r._items[i]=[t]),!1)}}const o=function(){function t(){this._nativeSet="function"===typeof Set?new Set:null,this._items={}}return t.prototype.add=function(t){return!i(t,!0,this)},t.prototype.has=function(t){return i(t,!1,this)},t}();const a=(0,n.A)((function(t,e){for(var r=[],n=0,s=t.length,i=e.length,a=new o,u=0;u{"use strict";r.d(e,{A:()=>l});var n=r(86335),s=r(19852),i=r(65275),o=r(75016);const a=(0,o.A)((function(t,e,r){var n=Array.prototype.slice.call(r,0);return n.splice(t,e),n}));var u=r(18411);const c=(0,o.A)((function(t,e,r){return(0,u.A)([t],e,r)}));const l=(0,n.A)((function t(e,r){if(null==r)return r;switch(e.length){case 0:return r;case 1:return function(t,e){if(null==e)return e;if((0,s.A)(t)&&(0,i.A)(e))return a(t,1,e);var r={};for(var n in e)r[n]=e[n];return delete r[t],r}(e[0],r);default:var n=e[0],o=Array.prototype.slice.call(e,1);return null==r[n]?function(t,e){if((0,s.A)(t)&&(0,i.A)(e))return[].concat(e);var r={};for(var n in e)r[n]=e[n];return r}(n,r):c(n,t(o,r[n]),r)}}))},54912:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(86335);function s(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function i(t,e,r){for(var n=0,s=r.length;n=0;){if(r[i]===t)return n[i]===e;i-=1}switch(s){case"Map":return t.size===e.size&&l(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&l(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var p=(0,u.A)(t);if(p.length!==(0,u.A)(e).length)return!1;var _=r.concat([t]),h=n.concat([e]);for(i=p.length-1;i>=0;){var d=p[i];if(!(0,o.A)(d,e)||!f(e[d],t[d],_,h))return!1;i-=1}return!0}const p=(0,n.A)((function(t,e){return f(t,e,[],[])}))},96795:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(46769),s=r(86335),i=r(33832);var o=r(79419),a=r(53247),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a.A.init,t.prototype["@@transducer/result"]=a.A.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function c(t){return function(e){return new u(t,e)}}var l=r(69343);const f=(0,s.A)((0,i.A)(["fantasy-land/filter","filter"],c,(function(t,e){return(0,o.A)(e)?(0,n.A)((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},(0,l.A)(e)):function(t,e){for(var r=0,n=e.length,s=[];r{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(77804);const i=(0,n.A)((function(t){return(0,s.A)(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}))},52315:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(86335),s=r(23248);const i=(0,n.A)((function(t,e){return(0,s.A)([t],e)}))},23248:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(86335),s=r(36098),i=r(37656);const o=(0,n.A)((function(t,e){if(0===t.length||(0,i.A)(e))return!1;for(var r=e,n=0;n{"use strict";r.d(e,{A:()=>n});const n=(0,r(95557).A)(0)},79684:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(2927),s=function(t,e){switch(arguments.length){case 0:return s;case 1:return function e(r){return 0===arguments.length?e:(0,n.A)(t,r)};default:return(0,n.A)(t,e)}};const i=s},93157:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(75016),s=r(77804);const i=(0,n.A)((function(t,e,r){return(0,s.A)(Math.max(t.length,e.length,r.length),(function(){return t.apply(this,arguments)?e.apply(this,arguments):r.apply(this,arguments)}))}))},20415:(t,e,r)=>{"use strict";function n(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,s){return e.apply(this,arguments)};case 5:return function(t,r,n,s,i){return e.apply(this,arguments)};case 6:return function(t,r,n,s,i,o){return e.apply(this,arguments)};case 7:return function(t,r,n,s,i,o,a){return e.apply(this,arguments)};case 8:return function(t,r,n,s,i,o,a,u){return e.apply(this,arguments)};case 9:return function(t,r,n,s,i,o,a,u,c){return e.apply(this,arguments)};case 10:return function(t,r,n,s,i,o,a,u,c,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}r.d(e,{A:()=>n})},46769:(t,e,r)=>{"use strict";function n(t,e,r){for(var n=0,s=r.length;nn})},75042:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(65275);function s(t,e){return function(){var r=arguments.length;if(0===r)return e();var s=arguments[r-1];return(0,n.A)(s)||"function"!==typeof s[t]?e.apply(this,arguments):s[t].apply(s,Array.prototype.slice.call(arguments,0,r-1))}}},19054:(t,e,r)=>{"use strict";function n(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}r.d(e,{A:()=>n})},79260:(t,e,r)=>{"use strict";function n(t){return function(){return!t.apply(this,arguments)}}r.d(e,{A:()=>n})},58613:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(85426),s=r(65275),i=r(67013);const o=(0,n.A)((function(t){return!!(0,s.A)(t)||!!t&&("object"===typeof t&&(!(0,i.A)(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var a="undefined"!==typeof Symbol?Symbol.iterator:"@@iterator";function u(t,e,r){return function(n,s,i){if(o(i))return t(n,s,i);if(null==i)return s;if("function"===typeof i["fantasy-land/reduce"])return e(n,s,i,"fantasy-land/reduce");if(null!=i[a])return r(n,s,i[a]());if("function"===typeof i.next)return r(n,s,i);if("function"===typeof i.reduce)return e(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}},85426:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(69459);function s(t){return function e(r){return 0===arguments.length||(0,n.A)(r)?e:t.apply(this,arguments)}}},86335:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(69459);function i(t){return function e(r,i){switch(arguments.length){case 0:return e;case 1:return(0,s.A)(r)?e:(0,n.A)((function(e){return t(r,e)}));default:return(0,s.A)(r)&&(0,s.A)(i)?e:(0,s.A)(r)?(0,n.A)((function(e){return t(e,i)})):(0,s.A)(i)?(0,n.A)((function(e){return t(r,e)})):t(r,i)}}}},75016:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(85426),s=r(86335),i=r(69459);function o(t){return function e(r,o,a){switch(arguments.length){case 0:return e;case 1:return(0,i.A)(r)?e:(0,s.A)((function(e,n){return t(r,e,n)}));case 2:return(0,i.A)(r)&&(0,i.A)(o)?e:(0,i.A)(r)?(0,s.A)((function(e,r){return t(e,o,r)})):(0,i.A)(o)?(0,s.A)((function(e,n){return t(r,e,n)})):(0,n.A)((function(e){return t(r,o,e)}));default:return(0,i.A)(r)&&(0,i.A)(o)&&(0,i.A)(a)?e:(0,i.A)(r)&&(0,i.A)(o)?(0,s.A)((function(e,r){return t(e,r,a)})):(0,i.A)(r)&&(0,i.A)(a)?(0,s.A)((function(e,r){return t(e,o,r)})):(0,i.A)(o)&&(0,i.A)(a)?(0,s.A)((function(e,n){return t(r,e,n)})):(0,i.A)(r)?(0,n.A)((function(e){return t(e,o,a)})):(0,i.A)(o)?(0,n.A)((function(e){return t(r,e,a)})):(0,i.A)(a)?(0,n.A)((function(e){return t(r,o,e)})):t(r,o,a)}}}},33832:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(65275);function s(t,e,r){return function(){if(0===arguments.length)return r();var s=arguments[arguments.length-1];if(!(0,n.A)(s)){for(var i=0;i{"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(e,t)}r.d(e,{A:()=>n})},88157:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(54912);function s(t,e){return function(t,e,r){var s,i;if("function"===typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(s=1/e;r=0}},60006:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(36098),s=Object.prototype.toString;const i=function(){return"[object Arguments]"===s.call(arguments)?function(t){return"[object Arguments]"===s.call(t)}:function(t){return(0,n.A)("callee",t)}}()},65275:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},1900:(t,e,r)=>{"use strict";function n(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}r.d(e,{A:()=>n})},19852:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=Number.isInteger||function(t){return t<<0===t}},79419:(t,e,r)=>{"use strict";function n(t){return"[object Object]"===Object.prototype.toString.call(t)}r.d(e,{A:()=>n})},69459:(t,e,r)=>{"use strict";function n(t){return null!=t&&"object"===typeof t&&!0===t["@@functional/placeholder"]}r.d(e,{A:()=>n})},67013:(t,e,r)=>{"use strict";function n(t){return"[object String]"===Object.prototype.toString.call(t)}r.d(e,{A:()=>n})},27968:(t,e,r)=>{"use strict";function n(t,e){for(var r=0,n=e.length,s=Array(n);rn})},2927:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n="function"===typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}},36448:(t,e,r)=>{"use strict";function n(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}r.d(e,{A:()=>n})},52259:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(58613);function s(t,e,r){for(var n=0,s=r.length;n{"use strict";r.d(e,{A:()=>n});const n={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},45706:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function s(t){return new n(t)}},83269:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(86335),s=r(1900),i=r(77804),o=r(22556);const a=(0,n.A)((function(t,e){return(0,i.A)(t+1,(function(){var r=arguments[t];if(null!=r&&(0,s.A)(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError((0,o.A)(r)+' does not have a method named "'+e+'"')}))}))},86119:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(85426),s=r(60006),i=r(65275),o=r(79419),a=r(67013);const u=(0,n.A)((function(t){return null!=t&&"function"===typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"===typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"===typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"===typeof t.constructor.empty?t.constructor.empty():(0,i.A)(t)?[]:(0,a.A)(t)?"":(0,o.A)(t)?{}:(0,s.A)(t)?function(){return arguments}():function(t){var e=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===e||"[object Int8Array]"===e||"[object Uint8Array]"===e||"[object Int16Array]"===e||"[object Uint16Array]"===e||"[object Int32Array]"===e||"[object Uint32Array]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object BigInt64Array]"===e||"[object BigUint64Array]"===e}(t)?t.constructor.from(""):void 0}));var c=r(54912);const l=(0,n.A)((function(t){return null!=t&&(0,c.A)(t,u(t))}))},37656:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(85426).A)((function(t){return null==t}))},70515:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(83269).A)(1,"join")},69343:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(85426),s=r(36098),i=r(60006),o=!{toString:null}.propertyIsEnumerable("toString"),a=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=function(){return arguments.propertyIsEnumerable("length")}(),c=function(t,e){for(var r=0;r=0;)e=a[r],(0,s.A)(e,t)&&!c(n,e)&&(n[n.length]=e),r-=1;return n})):(0,n.A)((function(t){return Object(t)!==t?[]:Object.keys(t)}))},69379:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(95557).A)(-1)},28932:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(86335),s=r(74818);const i=(0,n.A)((function(t,e){return function(r){return function(n){return(0,s.A)((function(t){return e(t,n)}),r(t(n)))}}}))},38825:(t,e,r)=>{"use strict";r.d(e,{A:()=>_});var n=r(85426),s=r(86335),i=r(46769);function o(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function a(t,e,r,n){return r[n](t,e)}const u=(0,r(58613).A)(i.A,a,o);var c=r(74818);const l=(0,s.A)((function(t,e){return"function"===typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"===typeof t.ap?t.ap(e):"function"===typeof t?function(r){return t(r)(e(r))}:u((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,s=e.length,i=[];for(r=0;r{"use strict";r.d(e,{A:()=>p});var n=r(46769),s=r(86335),i=r(33832),o=r(27968),a=r(53247),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a.A.init,t.prototype["@@transducer/result"]=a.A.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const c=function(t){return function(e){return new u(t,e)}};var l=r(77804),f=r(69343);const p=(0,s.A)((0,i.A)(["fantasy-land/map","map"],c,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return(0,l.A)(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return(0,n.A)((function(r,n){return r[n]=t(e[n]),r}),{},(0,f.A)(e));default:return(0,o.A)(t,e)}})))},64451:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(46769),s=r(86335),i=r(69343);const o=(0,s.A)((function(t,e){return(0,n.A)((function(r,n){return r[n]=t(e[n],n,e),r}),{},(0,i.A)(e))}))},35069:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(86335),s=r(22556);const i=(0,n.A)((function(t,e){if(t===e)return e;function r(t,e){if(t>e!==e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var i=r(typeof t,typeof e);if(void 0!==i)return i===typeof t?t:e;var o=(0,s.A)(t),a=r(o,(0,s.A)(e));return void 0!==a&&a===o?t:e}))},27317:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(86335),s=r(75016),i=r(79419),o=r(36098);const a=(0,s.A)((function(t,e,r){var n,s={};for(n in r=r||{},e=e||{})(0,o.A)(n,e)&&(s[n]=(0,o.A)(n,r)?t(n,e[n],r[n]):e[n]);for(n in r)(0,o.A)(n,r)&&!(0,o.A)(n,s)&&(s[n]=r[n]);return s}));const u=(0,s.A)((function t(e,r,n){return a((function(r,n,s){return(0,i.A)(n)&&(0,i.A)(s)?t(e,n,s):e(r,n,s)}),r,n)}));const c=(0,n.A)((function(t,e){return u((function(t,e,r){return r}),t,e)}))},80975:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(36098);const s="function"===typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,s=arguments.length;r{"use strict";r.d(e,{A:()=>o});var n=r(79260),s=r(86335),i=r(25384);const o=(0,s.A)((function(t,e){return(0,i.A)((0,n.A)(t),e)}))},95557:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(86335),s=r(67013);const i=(0,n.A)((function(t,e){var r=t<0?e.length+t:t;return(0,s.A)(e)?e.charAt(r):e[r]}))},98622:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(86335).A)((function(t,e){return"function"===typeof t["fantasy-land/of"]?t["fantasy-land/of"](e):"function"===typeof t.of?t.of(e):[e]}))},16354:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(86335).A)((function(t,e){for(var r={},n={},s=0,i=t.length;s{"use strict";r.d(e,{A:()=>i});var n=r(75016),s=function(t){return{value:t,map:function(e){return s(e(t))}}};const i=(0,n.A)((function(t,e,r){return t((function(t){return s(e(t))}))(r).value}))},87198:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(86335),s=r(19852),i=r(95557);const o=(0,n.A)((function(t,e){return t.map((function(t){for(var r,n=e,o=0;o{"use strict";r.d(e,{A:()=>o});var n=r(75016),s=r(56631),i=r(87198);const o=(0,n.A)((function(t,e,r){return(0,s.A)(t,(0,i.A)(e,r))}))},28571:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(75016),s=r(87198);const i=(0,n.A)((function(t,e,r){return t((0,s.A)(e,r))}))},70470:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(86335).A)((function(t,e){for(var r={},n=0;n{"use strict";r.d(e,{A:()=>a});var n=r(20415);function s(t,e){return function(){return e.call(this,t.apply(this,arguments))}}var i=r(65549),o=r(98921);function a(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return(0,n.A)(arguments[0].length,(0,i.A)(s,arguments[0],(0,o.A)(arguments)))}},87998:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(86335),s=r(74818),i=r(70398);const o=(0,n.A)((function(t,e){return(0,s.A)((0,i.A)(t),e)}))},70398:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(86335),s=r(19852),i=r(95557);const o=(0,n.A)((function(t,e){if(null!=e)return(0,s.A)(t)?(0,i.A)(t,e):e[t]}))},62120:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(75016),s=r(70398),i=r(54912);const o=(0,n.A)((function(t,e,r){return(0,i.A)(t,(0,s.A)(e,r))}))},53163:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(75016),s=r(56631),i=r(70398);const o=(0,n.A)((function(t,e,r){return(0,s.A)(t,(0,i.A)(e,r))}))},52037:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(75016),s=r(70398);const i=(0,n.A)((function(t,e,r){return t((0,s.A)(e,r))}))},57359:(t,e,r)=>{"use strict";function n(t){return"[object Number]"===Object.prototype.toString.call(t)}r.d(e,{A:()=>s});const s=(0,r(86335).A)((function(t,e){if(!n(t)||!n(e))throw new TypeError("Both arguments to range must be numbers");for(var r=[],s=t;s{"use strict";r.d(e,{A:()=>o});var n=r(75016),s=r(52259),i=r(45706);const o=(0,n.A)((function(t,e,r){return(0,s.A)("function"===typeof t?(0,i.A)(t):t,e,r)}))},4891:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(75016).A)((function(t,e,r){return r.replace(t,e)}))},89221:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(67013);const i=(0,n.A)((function(t){return(0,s.A)(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}))},85481:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(75042);const s=(0,r(75016).A)((0,n.A)("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})))},38579:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(83269).A)(1,"split")},99781:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(86335),s=r(54912),i=r(33832),o=r(36448),a=r(53247),u=function(){function t(t,e){this.xf=e,this.n=t,this.i=0}return t.prototype["@@transducer/init"]=a.A.init,t.prototype["@@transducer/result"]=a.A.result,t.prototype["@@transducer/step"]=function(t,e){this.i+=1;var r=0===this.n?t:this.xf["@@transducer/step"](t,e);return this.n>=0&&this.i>=this.n?(0,o.A)(r):r},t}();function c(t){return function(e){return new u(t,e)}}var l=r(85481);const f=(0,n.A)((0,i.A)(["take"],c,(function(t,e){return(0,l.A)(0,t<0?1/0:t,e)})));const p=(0,n.A)((function(t,e){return(0,s.A)(f(t.length,e),t)}))},98921:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(75042),s=r(85426),i=r(85481);const o=(0,s.A)((0,n.A)("tail",(0,i.A)(1,1/0)))},47940:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(19054),s=r(86335);var i=r(22556);const o=(0,s.A)((function(t,e){if(r=t,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("\u2018test\u2019 requires a value of type RegExp as its first argument; received "+(0,i.A)(t));var r;return(0,n.A)(t).test(e)}))},22556:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=r(85426),s=r(88157),i=r(27968);function o(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var a=function(t){return(t<10?"0":"")+t};const u="function"===typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var c=r(69343),l=r(79260),f=r(86335),p=r(96795);const _=(0,f.A)((function(t,e){return(0,p.A)((0,l.A)(t),e)}));function h(t,e){var r=function(r){var n=e.concat([t]);return(0,s.A)(r,n)?"":h(r,n)},n=function(t,e){return(0,i.A)((function(e){return o(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+(0,i.A)(r,t).join(", ")+"))";case"[object Array]":return"["+(0,i.A)(r,t).concat(n(t,_((function(t){return/^\d+$/.test(t)}),(0,c.A)(t)))).join(", ")+"]";case"[object Boolean]":return"object"===typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):o(u(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"===typeof t?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"===typeof t?"new String("+r(t.valueOf())+")":o(t);case"[object Undefined]":return"undefined";default:if("function"===typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+n(t,(0,c.A)(t)).join(", ")+"}"}}const d=(0,n.A)((function(t){return h(t,[])}))},62658:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(52259),s=r(45706);const i=(0,r(77804).A)(4,(function(t,e,r,i){return(0,n.A)(t("function"===typeof e?(0,s.A)(e):e),r,i)}))},37879:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";const i="function"===typeof String.prototype.trim&&!s.trim()&&"\u200b".trim()?(0,n.A)((function(t){return t.trim()})):(0,n.A)((function(t){var e=new RegExp("^["+s+"]["+s+"]*"),r=new RegExp("["+s+"]["+s+"]*$");return t.replace(e,"").replace(r,"")}))},49531:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=(0,r(85426).A)((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}))},27221:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(85426),s=r(69343);const i=(0,n.A)((function(t){for(var e=(0,s.A)(t),r=e.length,n=[],i=0;i{"use strict";r.d(e,{A:()=>n});const n=(0,r(75016).A)((function(t,e,r){return t(r)?e(r):r}))}}]); +//# sourceMappingURL=838.e2972e97.chunk.js.map \ No newline at end of file diff --git a/static/js/838.d0ddd180.chunk.js.LICENSE.txt b/static/js/838.e2972e97.chunk.js.LICENSE.txt similarity index 100% rename from static/js/838.d0ddd180.chunk.js.LICENSE.txt rename to static/js/838.e2972e97.chunk.js.LICENSE.txt diff --git a/static/js/838.d0ddd180.chunk.js.map b/static/js/838.e2972e97.chunk.js.map similarity index 56% rename from static/js/838.d0ddd180.chunk.js.map rename to static/js/838.e2972e97.chunk.js.map index e798f99a0f..09bd9afeed 100644 --- a/static/js/838.d0ddd180.chunk.js.map +++ b/static/js/838.e2972e97.chunk.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/838.d0ddd180.chunk.js","mappings":";mIAAA,IAIIA,EAJYC,EAAQ,MAITC,CAHJD,EAAQ,OAGY,YAE/BE,EAAOC,QAAUJ,mBCNjB,IAAIK,EAAYJ,EAAQ,OACpBK,EAAaL,EAAQ,OACrBM,EAAUN,EAAQ,OAClBO,EAAUP,EAAQ,OAClBQ,EAAUR,EAAQ,OAStB,SAASS,EAAKC,GACZ,IAAIC,GAAS,EACTC,EAAoB,MAAXF,EAAkB,EAAIA,EAAQE,OAG3C,IADAC,KAAKC,UACIH,EAAQC,GAAQ,CACvB,IAAIG,EAAQL,EAAQC,GACpBE,KAAKG,IAAID,EAAM,GAAIA,EAAM,GAC3B,CACF,CAGAN,EAAKQ,UAAUH,MAAQV,EACvBK,EAAKQ,UAAkB,OAAIZ,EAC3BI,EAAKQ,UAAUC,IAAMZ,EACrBG,EAAKQ,UAAUE,IAAMZ,EACrBE,EAAKQ,UAAUD,IAAMR,EAErBN,EAAOC,QAAUM,mBC/BjB,IAAIW,EAAiBpB,EAAQ,OACzBqB,EAAkBrB,EAAQ,OAC1BsB,EAAetB,EAAQ,OACvBuB,EAAevB,EAAQ,OACvBwB,EAAexB,EAAQ,OAS3B,SAASyB,EAAUf,GACjB,IAA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swD,OAmB3C8oB,EAAG9oB,QApBa,SAsBNA,QAQV7zC,EAAAA,EAAAA,IAAQ,SAAc+G,GACpB,OAAOA,EAAI8sC,MACb,KARA7zC,EAAAA,EAAAA,IAAQ,SAAc+G,GACpB,IAAI61D,EAAU,IAAI1yE,OAAO,KAAOyyE,EAAK,KAAOA,EAAK,MAC7CE,EAAQ,IAAI3yE,OAAO,IAAMyyE,EAAK,KAAOA,EAAK,OAC9C,OAAO51D,EAAI5c,QAAQyyE,EAAS,IAAIzyE,QAAQ0yE,EAAO,GACjD,mDCIA,SAJA78D,WAAAA,IAAQ,SAAc4C,GACpB,OAAe,OAARA,EAAe,YAAiBjb,IAARib,EAAoB,YAAcrc,OAAOhD,UAAUyG,SAAShD,KAAK4b,GAAKtC,MAAM,GAAI,EACjH,6ECIA,SAdAN,EAAAA,EAAAA,IAAQ,SAAgBhD,GAMtB,IALA,IAAImU,GAAQ9jB,EAAAA,EAAAA,GAAK2P,GACbmB,EAAMgT,EAAMjuB,OACZ45E,EAAO,GACPn5D,EAAM,EAEHA,EAAMxF,GACX2+D,EAAKn5D,GAAO3G,EAAImU,EAAMxN,IACtBA,GAAO,EAGT,OAAOm5D,CACT,mDCEA,SAJA1L,WAAAA,IAAQ,SAAcnxD,EAAM88D,EAAY54D,GACtC,OAAOlE,EAAKkE,GAAK44D,EAAW54D,GAAKA,CACnC","sources":["../../../node_modules/lodash/_DataView.js","../../../node_modules/lodash/_Hash.js","../../../node_modules/lodash/_ListCache.js","../../../node_modules/lodash/_Map.js","../../../node_modules/lodash/_MapCache.js","../../../node_modules/lodash/_Promise.js","../../../node_modules/lodash/_Set.js","../../../node_modules/lodash/_SetCache.js","../../../node_modules/lodash/_Stack.js","../../../node_modules/lodash/_Symbol.js","../../../node_modules/lodash/_Uint8Array.js","../../../node_modules/lodash/_WeakMap.js","../../../node_modules/lodash/_arrayFilter.js","../../../node_modules/lodash/_arrayLikeKeys.js","../../../node_modules/lodash/_arrayPush.js","../../../node_modules/lodash/_arraySome.js","../../../node_modules/lodash/_assocIndexOf.js","../../../node_modules/lodash/_baseGetAllKeys.js","../../../node_modules/lodash/_baseGetTag.js","../../../node_modules/lodash/_baseIsArguments.js","../../../node_modules/lodash/_baseIsEqual.js","../../../node_modules/lodash/_baseIsEqualDeep.js","../../../node_modules/lodash/_baseIsNative.js","../../../node_modules/lodash/_baseIsTypedArray.js","../../../node_modules/lodash/_baseKeys.js","../../../node_modules/lodash/_baseTimes.js","../../../node_modules/lodash/_baseUnary.js","../../../node_modules/lodash/_cacheHas.js","../../../node_modules/lodash/_coreJsData.js","../../../node_modules/lodash/_equalArrays.js","../../../node_modules/lodash/_equalByTag.js","../../../node_modules/lodash/_equalObjects.js","../../../node_modules/lodash/_freeGlobal.js","../../../node_modules/lodash/_getAllKeys.js","../../../node_modules/lodash/_getMapData.js","../../../node_modules/lodash/_getNative.js","../../../node_modules/lodash/_getRawTag.js","../../../node_modules/lodash/_getSymbols.js","../../../node_modules/lodash/_getTag.js","../../../node_modules/lodash/_getValue.js","../../../node_modules/lodash/_hashClear.js","../../../node_modules/lodash/_hashDelete.js","../../../node_modules/lodash/_hashGet.js","../../../node_modules/lodash/_hashHas.js","../../../node_modules/lodash/_hashSet.js","../../../node_modules/lodash/_isIndex.js","../../../node_modules/lodash/_isKeyable.js","../../../node_modules/lodash/_isMasked.js","../../../node_modules/lodash/_isPrototype.js","../../../node_modules/lodash/_listCacheClear.js","../../../node_modules/lodash/_listCacheDelete.js","../../../node_modules/lodash/_listCacheGet.js","../../../node_modules/lodash/_listCacheHas.js","../../../node_modules/lodash/_listCacheSet.js","../../../node_modules/lodash/_mapCacheClear.js","../../../node_modules/lodash/_mapCacheDelete.js","../../../node_modules/lodash/_mapCacheGet.js","../../../node_modules/lodash/_mapCacheHas.js","../../../node_modules/lodash/_mapCacheSet.js","../../../node_modules/lodash/_mapToArray.js","../../../node_modules/lodash/_nativeCreate.js","../../../node_modules/lodash/_nativeKeys.js","../../../node_modules/lodash/_nodeUtil.js","../../../node_modules/lodash/_objectToString.js","../../../node_modules/lodash/_overArg.js","../../../node_modules/lodash/_root.js","../../../node_modules/lodash/_setCacheAdd.js","../../../node_modules/lodash/_setCacheHas.js","../../../node_modules/lodash/_setToArray.js","../../../node_modules/lodash/_stackClear.js","../../../node_modules/lodash/_stackDelete.js","../../../node_modules/lodash/_stackGet.js","../../../node_modules/lodash/_stackHas.js","../../../node_modules/lodash/_stackSet.js","../../../node_modules/lodash/_toSource.js","../../../node_modules/lodash/eq.js","../../../node_modules/lodash/isArguments.js","../../../node_modules/lodash/isArray.js","../../../node_modules/lodash/isArrayLike.js","../../../node_modules/lodash/isBoolean.js","../../../node_modules/lodash/isBuffer.js","../../../node_modules/lodash/isEqual.js","../../../node_modules/lodash/isFunction.js","../../../node_modules/lodash/isLength.js","../../../node_modules/lodash/isNull.js","../../../node_modules/lodash/isNumber.js","../../../node_modules/lodash/isObject.js","../../../node_modules/lodash/isObjectLike.js","../../../node_modules/lodash/isString.js","../../../node_modules/lodash/isTypedArray.js","../../../node_modules/lodash/keys.js","../../../node_modules/lodash/negate.js","../../../node_modules/lodash/stubArray.js","../../../node_modules/lodash/stubFalse.js","../../../node_modules/minim/lib/ArraySlice.js","../../../node_modules/minim/lib/KeyValuePair.js","../../../node_modules/minim/lib/Namespace.js","../../../node_modules/minim/lib/ObjectSlice.js","../../../node_modules/minim/lib/elements.js","../../../node_modules/minim/lib/elements/LinkElement.js","../../../node_modules/minim/lib/elements/RefElement.js","../../../node_modules/minim/lib/minim.js","../../../node_modules/minim/lib/primitives/ArrayElement.js","../../../node_modules/minim/lib/primitives/BooleanElement.js","../../../node_modules/minim/lib/primitives/Element.js","../../../node_modules/minim/lib/primitives/MemberElement.js","../../../node_modules/minim/lib/primitives/NullElement.js","../../../node_modules/minim/lib/primitives/NumberElement.js","../../../node_modules/minim/lib/primitives/ObjectElement.js","../../../node_modules/minim/lib/primitives/StringElement.js","../../../node_modules/minim/lib/serialisers/JSON06Serialiser.js","../../../node_modules/minim/lib/serialisers/JSONSerialiser.js","../../../node_modules/process/browser.js","../../../node_modules/ramda-adjunct/es/allP.js","../../../node_modules/ramda-adjunct/es/concatRight.js","../../../node_modules/ramda/es/comparator.js","../../../node_modules/ramda/es/sort.js","../../../node_modules/ramda/es/reduced.js","../../../node_modules/ramda-adjunct/es/isNotNil.js","../../../node_modules/ramda-adjunct/es/isNonEmptyArray.js","../../../node_modules/ramda-adjunct/es/dispatch.js","../../../node_modules/ramda-adjunct/es/ensureArray.js","../../../node_modules/ramda/es/includes.js","../../../node_modules/ramda-adjunct/es/included.js","../../../node_modules/ramda-adjunct/es/internal/isOfTypeObject.js","../../../node_modules/ramda/es/init.js","../../../node_modules/ramda/es/apply.js","../../../node_modules/ramda-adjunct/es/isEmptyArray.js","../../../node_modules/ramda-adjunct/es/invokeArgs.js","../../../node_modules/ramda-adjunct/es/isArray.js","../../../node_modules/ramda-adjunct/es/isEmptyString.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/Number.isFinite.js","../../../node_modules/ramda-adjunct/es/isFinite.js","../../../node_modules/ramda/es/anyPass.js","../../../node_modules/ramda-adjunct/es/isGeneratorFunction.js","../../../node_modules/ramda-adjunct/es/isAsyncFunction.js","../../../node_modules/ramda-adjunct/es/isFunction.js","../../../node_modules/ramda/es/converge.js","../../../node_modules/ramda/es/internal/_identity.js","../../../node_modules/ramda/es/identity.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/Number.isInteger.js","../../../node_modules/ramda-adjunct/es/isInteger.js","../../../node_modules/ramda/es/allPass.js","../../../node_modules/ramda/es/or.js","../../../node_modules/ramda/es/either.js","../../../node_modules/ramda-adjunct/es/isObj.js","../../../node_modules/ramda-adjunct/es/isNotObj.js","../../../node_modules/ramda-adjunct/es/isNonEmptyString.js","../../../node_modules/ramda-adjunct/es/isNotArray.js","../../../node_modules/ramda-adjunct/es/isNotEmpty.js","../../../node_modules/ramda-adjunct/es/isNotFunction.js","../../../node_modules/ramda-adjunct/es/isNotNull.js","../../../node_modules/ramda-adjunct/es/isNotUndefined.js","../../../node_modules/ramda-adjunct/es/isNull.js","../../../node_modules/ramda-adjunct/es/isNumber.js","../../../node_modules/ramda-adjunct/es/isObjLike.js","../../../node_modules/ramda-adjunct/es/isPlainObj.js","../../../node_modules/ramda-adjunct/es/isString.js","../../../node_modules/ramda-adjunct/es/isUndefined.js","../../../node_modules/ramda-adjunct/es/noop.js","../../../node_modules/ramda-adjunct/es/isNotFinite.js","../../../node_modules/ramda/es/gt.js","../../../node_modules/ramda-adjunct/es/isNegative.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/String.repeat.js","../../../node_modules/ramda-adjunct/es/repeatStr.js","../../../node_modules/ramda-adjunct/es/isRegExp.js","../../../node_modules/ramda-adjunct/es/escapeRegExp.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/String.replaceAll.js","../../../node_modules/ramda-adjunct/es/replaceAll.js","../../../node_modules/ramda-adjunct/es/stubUndefined.js","../../../node_modules/ramda/es/internal/_dropLastWhile.js","../../../node_modules/ramda/es/internal/_xdropLastWhile.js","../../../node_modules/ramda/es/dropLastWhile.js","../../../node_modules/ramda-adjunct/es/trimCharsEnd.js","../../../node_modules/ramda/es/internal/_xdropWhile.js","../../../node_modules/ramda/es/dropWhile.js","../../../node_modules/ramda-adjunct/es/trimCharsStart.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/String.trimEnd.js","../../../node_modules/ramda-adjunct/es/trimEnd.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/String.trimStart.js","../../../node_modules/ramda-adjunct/es/trimStart.js","../../../node_modules/short-unique-id/src/index.ts","../../../node_modules/short-unique-id/package.json","../../../node_modules/stampit/dist/stampit.min.js","../../../node_modules/ts-mixer/dist/esm/index.js","../../../node_modules/web-tree-sitter/tree-sitter.js","../../../node_modules/unraw/dist/errors.js","../../../node_modules/unraw/dist/index.js","../../../node_modules/@babel/runtime-corejs3/core-js/aggregate-error.js","../../../node_modules/core-js-pure/actual/aggregate-error.js","../../../node_modules/core-js-pure/es/aggregate-error.js","../../../node_modules/core-js-pure/features/aggregate-error.js","../../../node_modules/core-js-pure/full/aggregate-error.js","../../../node_modules/core-js-pure/internals/a-callable.js","../../../node_modules/core-js-pure/internals/a-possible-prototype.js","../../../node_modules/core-js-pure/internals/add-to-unscopables.js","../../../node_modules/core-js-pure/internals/an-object.js","../../../node_modules/core-js-pure/internals/array-includes.js","../../../node_modules/core-js-pure/internals/classof-raw.js","../../../node_modules/core-js-pure/internals/classof.js","../../../node_modules/core-js-pure/internals/copy-constructor-properties.js","../../../node_modules/core-js-pure/internals/correct-prototype-getter.js","../../../node_modules/core-js-pure/internals/create-iter-result-object.js","../../../node_modules/core-js-pure/internals/create-non-enumerable-property.js","../../../node_modules/core-js-pure/internals/create-property-descriptor.js","../../../node_modules/core-js-pure/internals/define-built-in.js","../../../node_modules/core-js-pure/internals/define-global-property.js","../../../node_modules/core-js-pure/internals/descriptors.js","../../../node_modules/core-js-pure/internals/document-create-element.js","../../../node_modules/core-js-pure/internals/dom-iterables.js","../../../node_modules/core-js-pure/internals/engine-user-agent.js","../../../node_modules/core-js-pure/internals/engine-v8-version.js","../../../node_modules/core-js-pure/internals/enum-bug-keys.js","../../../node_modules/core-js-pure/internals/error-stack-clear.js","../../../node_modules/core-js-pure/internals/error-stack-install.js","../../../node_modules/core-js-pure/internals/error-stack-installable.js","../../../node_modules/core-js-pure/internals/export.js","../../../node_modules/core-js-pure/internals/fails.js","../../../node_modules/core-js-pure/internals/function-apply.js","../../../node_modules/core-js-pure/internals/function-bind-context.js","../../../node_modules/core-js-pure/internals/function-bind-native.js","../../../node_modules/core-js-pure/internals/function-call.js","../../../node_modules/core-js-pure/internals/function-name.js","../../../node_modules/core-js-pure/internals/function-uncurry-this-accessor.js","../../../node_modules/core-js-pure/internals/function-uncurry-this-clause.js","../../../node_modules/core-js-pure/internals/function-uncurry-this.js","../../../node_modules/core-js-pure/internals/get-built-in.js","../../../node_modules/core-js-pure/internals/get-iterator-method.js","../../../node_modules/core-js-pure/internals/get-iterator.js","../../../node_modules/core-js-pure/internals/get-method.js","../../../node_modules/core-js-pure/internals/global.js","../../../node_modules/core-js-pure/internals/has-own-property.js","../../../node_modules/core-js-pure/internals/hidden-keys.js","../../../node_modules/core-js-pure/internals/html.js","../../../node_modules/core-js-pure/internals/ie8-dom-define.js","../../../node_modules/core-js-pure/internals/indexed-object.js","../../../node_modules/core-js-pure/internals/inherit-if-required.js","../../../node_modules/core-js-pure/internals/install-error-cause.js","../../../node_modules/core-js-pure/internals/internal-state.js","../../../node_modules/core-js-pure/internals/is-array-iterator-method.js","../../../node_modules/core-js-pure/internals/is-callable.js","../../../node_modules/core-js-pure/internals/is-forced.js","../../../node_modules/core-js-pure/internals/is-null-or-undefined.js","../../../node_modules/core-js-pure/internals/is-object.js","../../../node_modules/core-js-pure/internals/is-possible-prototype.js","../../../node_modules/core-js-pure/internals/is-pure.js","../../../node_modules/core-js-pure/internals/is-symbol.js","../../../node_modules/core-js-pure/internals/iterate.js","../../../node_modules/core-js-pure/internals/iterator-close.js","../../../node_modules/core-js-pure/internals/iterator-create-constructor.js","../../../node_modules/core-js-pure/internals/iterator-define.js","../../../node_modules/core-js-pure/internals/iterators-core.js","../../../node_modules/core-js-pure/internals/iterators.js","../../../node_modules/core-js-pure/internals/length-of-array-like.js","../../../node_modules/core-js-pure/internals/math-trunc.js","../../../node_modules/core-js-pure/internals/normalize-string-argument.js","../../../node_modules/core-js-pure/internals/object-create.js","../../../node_modules/core-js-pure/internals/object-define-properties.js","../../../node_modules/core-js-pure/internals/object-define-property.js","../../../node_modules/core-js-pure/internals/object-get-own-property-descriptor.js","../../../node_modules/core-js-pure/internals/object-get-own-property-names.js","../../../node_modules/core-js-pure/internals/object-get-own-property-symbols.js","../../../node_modules/core-js-pure/internals/object-get-prototype-of.js","../../../node_modules/core-js-pure/internals/object-is-prototype-of.js","../../../node_modules/core-js-pure/internals/object-keys-internal.js","../../../node_modules/core-js-pure/internals/object-keys.js","../../../node_modules/core-js-pure/internals/object-property-is-enumerable.js","../../../node_modules/core-js-pure/internals/object-set-prototype-of.js","../../../node_modules/core-js-pure/internals/object-to-string.js","../../../node_modules/core-js-pure/internals/ordinary-to-primitive.js","../../../node_modules/core-js-pure/internals/own-keys.js","../../../node_modules/core-js-pure/internals/path.js","../../../node_modules/core-js-pure/internals/proxy-accessor.js","../../../node_modules/core-js-pure/internals/require-object-coercible.js","../../../node_modules/core-js-pure/internals/set-to-string-tag.js","../../../node_modules/core-js-pure/internals/shared-key.js","../../../node_modules/core-js-pure/internals/shared-store.js","../../../node_modules/core-js-pure/internals/shared.js","../../../node_modules/core-js-pure/internals/string-multibyte.js","../../../node_modules/core-js-pure/internals/symbol-constructor-detection.js","../../../node_modules/core-js-pure/internals/to-absolute-index.js","../../../node_modules/core-js-pure/internals/to-indexed-object.js","../../../node_modules/core-js-pure/internals/to-integer-or-infinity.js","../../../node_modules/core-js-pure/internals/to-length.js","../../../node_modules/core-js-pure/internals/to-object.js","../../../node_modules/core-js-pure/internals/to-primitive.js","../../../node_modules/core-js-pure/internals/to-property-key.js","../../../node_modules/core-js-pure/internals/to-string-tag-support.js","../../../node_modules/core-js-pure/internals/to-string.js","../../../node_modules/core-js-pure/internals/try-to-string.js","../../../node_modules/core-js-pure/internals/uid.js","../../../node_modules/core-js-pure/internals/use-symbol-as-uid.js","../../../node_modules/core-js-pure/internals/v8-prototype-define-bug.js","../../../node_modules/core-js-pure/internals/weak-map-basic-detection.js","../../../node_modules/core-js-pure/internals/well-known-symbol.js","../../../node_modules/core-js-pure/internals/wrap-error-constructor-with-cause.js","../../../node_modules/core-js-pure/modules/es.aggregate-error.cause.js","../../../node_modules/core-js-pure/modules/es.aggregate-error.constructor.js","../../../node_modules/core-js-pure/modules/es.aggregate-error.js","../../../node_modules/core-js-pure/modules/es.array.iterator.js","../../../node_modules/core-js-pure/modules/es.error.cause.js","../../../node_modules/core-js-pure/modules/es.string.iterator.js","../../../node_modules/core-js-pure/modules/esnext.aggregate-error.js","../../../node_modules/core-js-pure/modules/web.dom-collections.iterator.js","../../../node_modules/core-js-pure/stable/aggregate-error.js","../../../node_modules/@babel/runtime/helpers/esm/typeof.js","../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../../../node_modules/axios/lib/helpers/bind.js","../../../node_modules/axios/lib/utils.js","../../../node_modules/axios/lib/core/AxiosError.js","../../../node_modules/axios/lib/helpers/toFormData.js","../../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js","../../../node_modules/axios/lib/helpers/buildURL.js","../../../node_modules/axios/lib/core/InterceptorManager.js","../../../node_modules/axios/lib/defaults/transitional.js","../../../node_modules/axios/lib/platform/browser/index.js","../../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","../../../node_modules/axios/lib/platform/browser/classes/FormData.js","../../../node_modules/axios/lib/platform/browser/classes/Blob.js","../../../node_modules/axios/lib/platform/common/utils.js","../../../node_modules/axios/lib/platform/index.js","../../../node_modules/axios/lib/helpers/formDataToJSON.js","../../../node_modules/axios/lib/defaults/index.js","../../../node_modules/axios/lib/helpers/toURLEncodedForm.js","../../../node_modules/axios/lib/helpers/parseHeaders.js","../../../node_modules/axios/lib/core/AxiosHeaders.js","../../../node_modules/axios/lib/core/transformData.js","../../../node_modules/axios/lib/cancel/isCancel.js","../../../node_modules/axios/lib/cancel/CanceledError.js","../../../node_modules/axios/lib/helpers/cookies.js","../../../node_modules/axios/lib/core/buildFullPath.js","../../../node_modules/axios/lib/helpers/isAbsoluteURL.js","../../../node_modules/axios/lib/helpers/combineURLs.js","../../../node_modules/axios/lib/helpers/isURLSameOrigin.js","../../../node_modules/axios/lib/helpers/speedometer.js","../../../node_modules/axios/lib/adapters/xhr.js","../../../node_modules/axios/lib/adapters/adapters.js","../../../node_modules/axios/lib/helpers/null.js","../../../node_modules/axios/lib/core/settle.js","../../../node_modules/axios/lib/helpers/parseProtocol.js","../../../node_modules/axios/lib/core/dispatchRequest.js","../../../node_modules/axios/lib/core/mergeConfig.js","../../../node_modules/axios/lib/env/data.js","../../../node_modules/axios/lib/helpers/validator.js","../../../node_modules/axios/lib/core/Axios.js","../../../node_modules/axios/lib/cancel/CancelToken.js","../../../node_modules/axios/lib/helpers/HttpStatusCode.js","../../../node_modules/axios/lib/axios.js","../../../node_modules/axios/lib/helpers/spread.js","../../../node_modules/axios/lib/helpers/isAxiosError.js","../../../node_modules/comlink/src/comlink.ts","../../../node_modules/ramda/es/F.js","../../../node_modules/ramda/es/T.js","../../../node_modules/ramda/es/internal/_xall.js","../../../node_modules/ramda/es/all.js","../../../node_modules/ramda/es/always.js","../../../node_modules/ramda/es/assocPath.js","../../../node_modules/ramda/es/internal/_assoc.js","../../../node_modules/ramda/es/bind.js","../../../node_modules/ramda/es/and.js","../../../node_modules/ramda/es/both.js","../../../node_modules/ramda/es/internal/_clone.js","../../../node_modules/ramda/es/clone.js","../../../node_modules/ramda/es/not.js","../../../node_modules/ramda/es/complement.js","../../../node_modules/ramda/es/compose.js","../../../node_modules/ramda/es/concat.js","../../../node_modules/ramda/es/curry.js","../../../node_modules/ramda/es/internal/_curryN.js","../../../node_modules/ramda/es/curryN.js","../../../node_modules/ramda/es/defaultTo.js","../../../node_modules/ramda/es/internal/_Set.js","../../../node_modules/ramda/es/difference.js","../../../node_modules/ramda/es/remove.js","../../../node_modules/ramda/es/assoc.js","../../../node_modules/ramda/es/dissocPath.js","../../../node_modules/ramda/es/internal/_dissoc.js","../../../node_modules/ramda/es/internal/_arrayFromIterator.js","../../../node_modules/ramda/es/internal/_includesWith.js","../../../node_modules/ramda/es/internal/_equals.js","../../../node_modules/ramda/es/internal/_functionName.js","../../../node_modules/ramda/es/equals.js","../../../node_modules/ramda/es/internal/_xfilter.js","../../../node_modules/ramda/es/filter.js","../../../node_modules/ramda/es/internal/_filter.js","../../../node_modules/ramda/es/flip.js","../../../node_modules/ramda/es/has.js","../../../node_modules/ramda/es/hasPath.js","../../../node_modules/ramda/es/head.js","../../../node_modules/ramda/es/identical.js","../../../node_modules/ramda/es/ifElse.js","../../../node_modules/ramda/es/internal/_arity.js","../../../node_modules/ramda/es/internal/_arrayReduce.js","../../../node_modules/ramda/es/internal/_checkForMethod.js","../../../node_modules/ramda/es/internal/_cloneRegExp.js","../../../node_modules/ramda/es/internal/_complement.js","../../../node_modules/ramda/es/internal/_isArrayLike.js","../../../node_modules/ramda/es/internal/_createReduce.js","../../../node_modules/ramda/es/internal/_curry1.js","../../../node_modules/ramda/es/internal/_curry2.js","../../../node_modules/ramda/es/internal/_curry3.js","../../../node_modules/ramda/es/internal/_dispatchable.js","../../../node_modules/ramda/es/internal/_isTransformer.js","../../../node_modules/ramda/es/internal/_has.js","../../../node_modules/ramda/es/internal/_includes.js","../../../node_modules/ramda/es/internal/_indexOf.js","../../../node_modules/ramda/es/internal/_isArguments.js","../../../node_modules/ramda/es/internal/_isArray.js","../../../node_modules/ramda/es/internal/_isFunction.js","../../../node_modules/ramda/es/internal/_isInteger.js","../../../node_modules/ramda/es/internal/_isObject.js","../../../node_modules/ramda/es/internal/_isPlaceholder.js","../../../node_modules/ramda/es/internal/_isString.js","../../../node_modules/ramda/es/internal/_map.js","../../../node_modules/ramda/es/internal/_objectIs.js","../../../node_modules/ramda/es/internal/_reduced.js","../../../node_modules/ramda/es/internal/_xArrayReduce.js","../../../node_modules/ramda/es/internal/_xReduce.js","../../../node_modules/ramda/es/internal/_xfBase.js","../../../node_modules/ramda/es/internal/_xwrap.js","../../../node_modules/ramda/es/invoker.js","../../../node_modules/ramda/es/empty.js","../../../node_modules/ramda/es/internal/_isTypedArray.js","../../../node_modules/ramda/es/isEmpty.js","../../../node_modules/ramda/es/isNil.js","../../../node_modules/ramda/es/join.js","../../../node_modules/ramda/es/keys.js","../../../node_modules/ramda/es/last.js","../../../node_modules/ramda/es/lens.js","../../../node_modules/ramda/es/internal/_reduce.js","../../../node_modules/ramda/es/ap.js","../../../node_modules/ramda/es/internal/_concat.js","../../../node_modules/ramda/es/liftN.js","../../../node_modules/ramda/es/lift.js","../../../node_modules/ramda/es/internal/_xmap.js","../../../node_modules/ramda/es/map.js","../../../node_modules/ramda/es/mapObjIndexed.js","../../../node_modules/ramda/es/max.js","../../../node_modules/ramda/es/mergeWithKey.js","../../../node_modules/ramda/es/mergeDeepWithKey.js","../../../node_modules/ramda/es/mergeDeepRight.js","../../../node_modules/ramda/es/internal/_objectAssign.js","../../../node_modules/ramda/es/mergeRight.js","../../../node_modules/ramda/es/none.js","../../../node_modules/ramda/es/nth.js","../../../node_modules/ramda/es/of.js","../../../node_modules/ramda/es/omit.js","../../../node_modules/ramda/es/over.js","../../../node_modules/ramda/es/paths.js","../../../node_modules/ramda/es/path.js","../../../node_modules/ramda/es/pathOr.js","../../../node_modules/ramda/es/pathSatisfies.js","../../../node_modules/ramda/es/pick.js","../../../node_modules/ramda/es/internal/_pipe.js","../../../node_modules/ramda/es/pipe.js","../../../node_modules/ramda/es/pluck.js","../../../node_modules/ramda/es/prop.js","../../../node_modules/ramda/es/propEq.js","../../../node_modules/ramda/es/propOr.js","../../../node_modules/ramda/es/propSatisfies.js","../../../node_modules/ramda/es/internal/_isNumber.js","../../../node_modules/ramda/es/range.js","../../../node_modules/ramda/es/reduce.js","../../../node_modules/ramda/es/replace.js","../../../node_modules/ramda/es/reverse.js","../../../node_modules/ramda/es/slice.js","../../../node_modules/ramda/es/split.js","../../../node_modules/ramda/es/internal/_xtake.js","../../../node_modules/ramda/es/take.js","../../../node_modules/ramda/es/startsWith.js","../../../node_modules/ramda/es/tail.js","../../../node_modules/ramda/es/test.js","../../../node_modules/ramda/es/internal/_isRegExp.js","../../../node_modules/ramda/es/internal/_quote.js","../../../node_modules/ramda/es/internal/_toISOString.js","../../../node_modules/ramda/es/reject.js","../../../node_modules/ramda/es/internal/_toString.js","../../../node_modules/ramda/es/toString.js","../../../node_modules/ramda/es/transduce.js","../../../node_modules/ramda/es/trim.js","../../../node_modules/ramda/es/type.js","../../../node_modules/ramda/es/values.js","../../../node_modules/ramda/es/when.js"],"sourcesContent":["var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]';\n\n/**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\nfunction isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n}\n\nmodule.exports = isBoolean;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","/**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\nfunction isNull(value) {\n return value === null;\n}\n\nmodule.exports = isNull;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\nfunction negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n}\n\nmodule.exports = negate;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","const negate = require('lodash/negate');\n\n// Coerces an a parameter into a callback for matching elements.\n// This accepts an element name, an element type and returns a\n// callback to match for those elements.\nfunction coerceElementMatchingCallback(value) {\n // Element Name\n if (typeof value === 'string') {\n return element => element.element === value;\n }\n\n // Element Type\n if (value.constructor && value.extend) {\n return element => element instanceof value;\n }\n\n return value;\n}\n\n/**\n * @class\n *\n * @param {Element[]} elements\n *\n * @property {Element[]} elements\n */\nclass ArraySlice {\n constructor(elements) {\n this.elements = elements || [];\n }\n\n /**\n * @returns {Array}\n */\n toValue() {\n return this.elements.map(element => element.toValue());\n }\n\n // High Order Functions\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {array} A new array with each element being the result of the callback function\n */\n map(callback, thisArg) {\n return this.elements.map(callback, thisArg);\n }\n\n /**\n * Maps and then flattens the results.\n * @param callback - Function to execute for each element.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {array}\n */\n flatMap(callback, thisArg) {\n return this\n .map(callback, thisArg)\n .reduce((a, b) => a.concat(b), []);\n }\n\n /**\n * Returns an array containing the truthy results of calling the given transformation with each element of this sequence\n * @param transform - A closure that accepts an element of this array as its argument and returns an optional value.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @memberof ArraySlice.prototype\n * @returns An array of the non-undefined results of calling transform with each element of the array\n */\n compactMap(transform, thisArg) {\n const results = [];\n\n this.forEach((element) => {\n const result = transform.bind(thisArg)(element);\n\n if (result) {\n results.push(result);\n }\n });\n\n return results;\n }\n\n /**\n * @param callback - Function to execute for each element. This may be a callback, an element name or an element class.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {ArraySlice}\n * @memberof ArraySlice.prototype\n */\n filter(callback, thisArg) {\n callback = coerceElementMatchingCallback(callback);\n return new ArraySlice(this.elements.filter(callback, thisArg));\n }\n\n /**\n * @param callback - Function to execute for each element. This may be a callback, an element name or an element class.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {ArraySlice}\n * @memberof ArraySlice.prototype\n */\n reject(callback, thisArg) {\n callback = coerceElementMatchingCallback(callback);\n return new ArraySlice(this.elements.filter(negate(callback), thisArg));\n }\n\n /**\n * Returns the first element in the array that satisfies the given value\n * @param callback - Function to execute for each element. This may be a callback, an element name or an element class.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {Element}\n * @memberof ArraySlice.prototype\n */\n find(callback, thisArg) {\n callback = coerceElementMatchingCallback(callback);\n return this.elements.find(callback, thisArg);\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @memberof ArraySlice.prototype\n */\n forEach(callback, thisArg) {\n this.elements.forEach(callback, thisArg);\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param initialValue\n * @memberof ArraySlice.prototype\n */\n reduce(callback, initialValue) {\n return this.elements.reduce(callback, initialValue);\n }\n\n /**\n * @param value\n * @returns {boolean}\n * @memberof ArraySlice.prototype\n */\n includes(value) {\n return this.elements.some(element => element.equals(value));\n }\n\n // Mutation\n\n /**\n * Removes the first element from the slice\n * @returns {Element} The removed element or undefined if the slice is empty\n * @memberof ArraySlice.prototype\n */\n shift() {\n return this.elements.shift();\n }\n\n /**\n * Adds the given element to the begining of the slice\n * @parameter {Element} value\n * @memberof ArraySlice.prototype\n */\n unshift(value) {\n this.elements.unshift(this.refract(value));\n }\n\n /**\n * Adds the given element to the end of the slice\n * @parameter {Element} value\n * @memberof ArraySlice.prototype\n */\n push(value) {\n this.elements.push(this.refract(value));\n return this;\n }\n\n /**\n * @parameter {Element} value\n * @memberof ArraySlice.prototype\n */\n add(value) {\n this.push(value);\n }\n\n // Accessors\n\n /**\n * @parameter {number} index\n * @returns {Element}\n * @memberof ArraySlice.prototype\n */\n get(index) {\n return this.elements[index];\n }\n\n /**\n * @parameter {number} index\n * @memberof ArraySlice.prototype\n */\n getValue(index) {\n const element = this.elements[index];\n\n if (element) {\n return element.toValue();\n }\n\n return undefined;\n }\n\n /**\n * Returns the number of elements in the slice\n * @type number\n */\n get length() {\n return this.elements.length;\n }\n\n /**\n * Returns whether the slice is empty\n * @type boolean\n */\n get isEmpty() {\n return this.elements.length === 0;\n }\n\n /**\n * Returns the first element in the slice or undefined if the slice is empty\n * @type Element\n */\n get first() {\n return this.elements[0];\n }\n}\n\nif (typeof Symbol !== 'undefined') {\n ArraySlice.prototype[Symbol.iterator] = function symbol() {\n return this.elements[Symbol.iterator]();\n };\n}\n\nmodule.exports = ArraySlice;\n","/**\n * @class\n *\n * @property {Element} key\n * @property {Element} value\n */\nclass KeyValuePair {\n constructor(key, value) {\n this.key = key;\n this.value = value;\n }\n\n /**\n * @returns {KeyValuePair}\n */\n clone() {\n const clone = new KeyValuePair();\n\n if (this.key) {\n clone.key = this.key.clone();\n }\n\n if (this.value) {\n clone.value = this.value.clone();\n }\n\n return clone;\n }\n}\n\nmodule.exports = KeyValuePair;\n","const isNull = require('lodash/isNull');\nconst isString = require('lodash/isString');\nconst isNumber = require('lodash/isNumber');\nconst isBoolean = require('lodash/isBoolean');\nconst isObject = require('lodash/isObject');\n\nconst JSONSerialiser = require('./serialisers/JSONSerialiser');\nconst elements = require('./elements');\n\n/**\n * @class\n *\n * A refract element implementation with an extensible namespace, able to\n * load other namespaces into it.\n *\n * The namespace allows you to register your own classes to be instantiated\n * when a particular refract element is encountered, and allows you to specify\n * which elements get instantiated for existing Javascript objects.\n */\nclass Namespace {\n constructor(options) {\n this.elementMap = {};\n this.elementDetection = [];\n this.Element = elements.Element;\n this.KeyValuePair = elements.KeyValuePair;\n\n if (!options || !options.noDefault) {\n this.useDefault();\n }\n\n // These provide the defaults for new elements.\n this._attributeElementKeys = [];\n this._attributeElementArrayKeys = [];\n }\n\n /**\n * Use a namespace plugin or load a generic plugin.\n *\n * @param plugin\n */\n use(plugin) {\n if (plugin.namespace) {\n plugin.namespace({ base: this });\n }\n if (plugin.load) {\n plugin.load({ base: this });\n }\n return this;\n }\n\n /*\n * Use the default namespace. This preloads all the default elements\n * into this registry instance.\n */\n useDefault() {\n // Set up classes for default elements\n this\n .register('null', elements.NullElement)\n .register('string', elements.StringElement)\n .register('number', elements.NumberElement)\n .register('boolean', elements.BooleanElement)\n .register('array', elements.ArrayElement)\n .register('object', elements.ObjectElement)\n .register('member', elements.MemberElement)\n .register('ref', elements.RefElement)\n .register('link', elements.LinkElement);\n\n // Add instance detection functions to convert existing objects into\n // the corresponding refract elements.\n this\n .detect(isNull, elements.NullElement, false)\n .detect(isString, elements.StringElement, false)\n .detect(isNumber, elements.NumberElement, false)\n .detect(isBoolean, elements.BooleanElement, false)\n .detect(Array.isArray, elements.ArrayElement, false)\n .detect(isObject, elements.ObjectElement, false);\n\n return this;\n }\n\n /**\n * Register a new element class for an element.\n *\n * @param {string} name\n * @param elementClass\n */\n register(name, ElementClass) {\n this._elements = undefined;\n this.elementMap[name] = ElementClass;\n return this;\n }\n\n /**\n * Unregister a previously registered class for an element.\n *\n * @param {string} name\n */\n unregister(name) {\n this._elements = undefined;\n delete this.elementMap[name];\n return this;\n }\n\n /*\n * Add a new detection function to determine which element\n * class to use when converting existing js instances into\n * refract element.\n */\n detect(test, ElementClass, givenPrepend) {\n const prepend = givenPrepend === undefined ? true : givenPrepend;\n\n if (prepend) {\n this.elementDetection.unshift([test, ElementClass]);\n } else {\n this.elementDetection.push([test, ElementClass]);\n }\n\n return this;\n }\n\n /*\n * Convert an existing Javascript object into refract element instances, which\n * can be further processed or serialized into refract.\n * If the item passed in is already refracted, then it is returned\n * unmodified.\n */\n toElement(value) {\n if (value instanceof this.Element) { return value; }\n\n let element;\n\n for (let i = 0; i < this.elementDetection.length; i += 1) {\n const test = this.elementDetection[i][0];\n const ElementClass = this.elementDetection[i][1];\n\n if (test(value)) {\n element = new ElementClass(value);\n break;\n }\n }\n\n return element;\n }\n\n /*\n * Get an element class given an element name.\n */\n getElementClass(element) {\n const ElementClass = this.elementMap[element];\n\n if (ElementClass === undefined) {\n // Fall back to the base element. We may not know what\n // to do with the `content`, but downstream software\n // may know.\n return this.Element;\n }\n\n return ElementClass;\n }\n\n /*\n * Convert a refract document into refract element instances.\n */\n fromRefract(doc) {\n return this.serialiser.deserialise(doc);\n }\n\n /*\n * Convert an element to a Refracted JSON object.\n */\n toRefract(element) {\n return this.serialiser.serialise(element);\n }\n\n /*\n * Get an object that contains all registered element classes, where\n * the key is the PascalCased element name and the value is the class.\n */\n get elements() {\n if (this._elements === undefined) {\n this._elements = {\n Element: this.Element,\n };\n\n Object.keys(this.elementMap).forEach((name) => {\n // Currently, all registered element types use a camelCaseName.\n // Converting to PascalCase is as simple as upper-casing the first\n // letter.\n const pascal = name[0].toUpperCase() + name.substr(1);\n this._elements[pascal] = this.elementMap[name];\n });\n }\n\n return this._elements;\n }\n\n /**\n * Convinience method for getting a JSON Serialiser configured with the\n * current namespace\n *\n * @type JSONSerialiser\n * @readonly\n *\n * @memberof Namespace.prototype\n */\n get serialiser() {\n return new JSONSerialiser(this);\n }\n}\n\nJSONSerialiser.prototype.Namespace = Namespace;\n\nmodule.exports = Namespace;\n","const negate = require('lodash/negate');\nconst ArraySlice = require('./ArraySlice');\n\n/**\n */\nclass ObjectSlice extends ArraySlice {\n map(callback, thisArg) {\n return this.elements.map(member => callback.bind(thisArg)(member.value, member.key, member));\n }\n\n filter(callback, thisArg) {\n return new ObjectSlice(this.elements.filter(member => callback.bind(thisArg)(member.value, member.key, member)));\n }\n\n reject(callback, thisArg) {\n return this.filter(negate(callback.bind(thisArg)));\n }\n\n forEach(callback, thisArg) {\n return this.elements.forEach((member, index) => { callback.bind(thisArg)(member.value, member.key, member, index); });\n }\n\n /**\n * @returns {array}\n */\n keys() {\n return this.map((value, key) => key.toValue());\n }\n\n /**\n * @returns {array}\n */\n values() {\n return this.map(value => value.toValue());\n }\n}\n\nmodule.exports = ObjectSlice;\n","const Element = require('./primitives/Element');\nconst NullElement = require('./primitives/NullElement');\nconst StringElement = require('./primitives/StringElement');\nconst NumberElement = require('./primitives/NumberElement');\nconst BooleanElement = require('./primitives/BooleanElement');\nconst ArrayElement = require('./primitives/ArrayElement');\nconst MemberElement = require('./primitives/MemberElement');\nconst ObjectElement = require('./primitives/ObjectElement');\nconst LinkElement = require('./elements/LinkElement');\nconst RefElement = require('./elements/RefElement');\n\nconst ArraySlice = require('./ArraySlice');\nconst ObjectSlice = require('./ObjectSlice');\n\nconst KeyValuePair = require('./KeyValuePair');\n\n/**\n * Refracts a JSON type to minim elements\n * @param value\n * @returns {Element}\n */\nfunction refract(value) {\n if (value instanceof Element) {\n return value;\n }\n\n if (typeof value === 'string') {\n return new StringElement(value);\n }\n\n if (typeof value === 'number') {\n return new NumberElement(value);\n }\n\n if (typeof value === 'boolean') {\n return new BooleanElement(value);\n }\n\n if (value === null) {\n return new NullElement();\n }\n\n if (Array.isArray(value)) {\n return new ArrayElement(value.map(refract));\n }\n\n if (typeof value === 'object') {\n const element = new ObjectElement(value);\n return element;\n }\n\n return value;\n}\n\nElement.prototype.ObjectElement = ObjectElement;\nElement.prototype.RefElement = RefElement;\nElement.prototype.MemberElement = MemberElement;\n\nElement.prototype.refract = refract;\nArraySlice.prototype.refract = refract;\n\n/**\n * Contains all of the element classes, and related structures and methods\n * for handling with element instances.\n */\nmodule.exports = {\n Element,\n NullElement,\n StringElement,\n NumberElement,\n BooleanElement,\n ArrayElement,\n MemberElement,\n ObjectElement,\n LinkElement,\n RefElement,\n\n refract,\n\n ArraySlice,\n ObjectSlice,\n KeyValuePair,\n};\n","const Element = require('../primitives/Element');\n\n/** Hyperlinking MAY be used to link to other resources, provide links to\n * instructions on how to process a given element (by way of a profile or\n * other means), and may be used to provide meta data about the element in\n * which it's found. The meaning and purpose of the hyperlink is defined by\n * the link relation according to RFC 5988.\n *\n * @class LinkElement\n *\n * @param content\n * @param meta\n * @param attributes\n */\nmodule.exports = class LinkElement extends Element {\n constructor(content, meta, attributes) {\n super(content || [], meta, attributes);\n this.element = 'link';\n }\n\n /**\n * The relation identifier for the link, as defined in RFC 5988.\n * @type StringElement\n */\n get relation() {\n return this.attributes.get('relation');\n }\n\n set relation(relation) {\n this.attributes.set('relation', relation);\n }\n\n /**\n * The URI for the given link.\n * @type StringElement\n */\n get href() {\n return this.attributes.get('href');\n }\n\n set href(href) {\n this.attributes.set('href', href);\n }\n};\n","const Element = require('../primitives/Element');\n\n/**\n * @class RefElement\n *\n * @param content\n * @param meta\n * @param attributes\n *\n * @extends Element\n */\nmodule.exports = class RefElement extends Element {\n constructor(content, meta, attributes) {\n super(content || [], meta, attributes);\n this.element = 'ref';\n\n if (!this.path) {\n this.path = 'element';\n }\n }\n\n /**\n * Path of referenced element to transclude instead of element itself.\n * @type StringElement\n * @default element\n */\n get path() {\n return this.attributes.get('path');\n }\n\n set path(newValue) {\n this.attributes.set('path', newValue);\n }\n};\n","const Namespace = require('./Namespace');\nconst elements = require('./elements');\n\n// Direct access to the Namespace class\nexports.Namespace = Namespace;\n\n// Special constructor for the Namespace class\nexports.namespace = function namespace(options) {\n return new Namespace(options);\n};\n\nexports.KeyValuePair = require('./KeyValuePair');\n\nexports.ArraySlice = elements.ArraySlice;\nexports.ObjectSlice = elements.ObjectSlice;\n\nexports.Element = elements.Element;\nexports.StringElement = elements.StringElement;\nexports.NumberElement = elements.NumberElement;\nexports.BooleanElement = elements.BooleanElement;\nexports.NullElement = elements.NullElement;\nexports.ArrayElement = elements.ArrayElement;\nexports.ObjectElement = elements.ObjectElement;\nexports.MemberElement = elements.MemberElement;\nexports.RefElement = elements.RefElement;\nexports.LinkElement = elements.LinkElement;\n\nexports.refract = elements.refract;\n\nexports.JSONSerialiser = require('./serialisers/JSONSerialiser');\nexports.JSON06Serialiser = require('./serialisers/JSON06Serialiser');\n","const negate = require('lodash/negate');\nconst Element = require('./Element');\nconst ArraySlice = require('../ArraySlice');\n\n/**\n * @class\n *\n * @param {Element[]} content\n * @param meta\n * @param attributes\n */\nclass ArrayElement extends Element {\n constructor(content, meta, attributes) {\n super(content || [], meta, attributes);\n this.element = 'array';\n }\n\n primitive() {\n return 'array';\n }\n\n /**\n * @returns {Element}\n */\n get(index) {\n return this.content[index];\n }\n\n /**\n * Helper for returning the value of an item\n * This works for both ArrayElement and ObjectElement instances\n */\n getValue(indexOrKey) {\n const item = this.get(indexOrKey);\n\n if (item) {\n return item.toValue();\n }\n\n return undefined;\n }\n\n /**\n * @returns {Element}\n */\n getIndex(index) {\n return this.content[index];\n }\n\n set(index, value) {\n this.content[index] = this.refract(value);\n return this;\n }\n\n remove(index) {\n const removed = this.content.splice(index, 1);\n\n if (removed.length) {\n return removed[0];\n }\n\n return null;\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n */\n map(callback, thisArg) {\n return this.content.map(callback, thisArg);\n }\n\n /**\n * Maps and then flattens the results.\n * @param callback - Function to execute for each element.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {array}\n */\n flatMap(callback, thisArg) {\n return this\n .map(callback, thisArg)\n .reduce((a, b) => a.concat(b), []);\n }\n\n /**\n * Returns an array containing the truthy results of calling the given transformation with each element of this sequence\n * @param transform - A closure that accepts an element of this array as its argument and returns an optional value.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @memberof ArrayElement.prototype\n * @returns An array of the non-undefined results of calling transform with each element of the array\n */\n compactMap(transform, thisArg) {\n const results = [];\n\n this.forEach((element) => {\n const result = transform.bind(thisArg)(element);\n\n if (result) {\n results.push(result);\n }\n });\n\n return results;\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {ArraySlice}\n */\n filter(callback, thisArg) {\n return new ArraySlice(this.content.filter(callback, thisArg));\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {ArraySlice}\n */\n reject(callback, thisArg) {\n return this.filter(negate(callback), thisArg);\n }\n\n /**\n * This is a reduce function specifically for Minim arrays and objects. It\n * allows for returning normal values or Minim instances, so it converts any\n * primitives on each step.\n */\n reduce(callback, initialValue) {\n let startIndex;\n let memo;\n\n // Allows for defining a starting value of the reduce\n if (initialValue !== undefined) {\n startIndex = 0;\n memo = this.refract(initialValue);\n } else {\n startIndex = 1;\n // Object Element content items are member elements. Because of this,\n // the memo should start out as the member value rather than the\n // actual member itself.\n memo = this.primitive() === 'object' ? this.first.value : this.first;\n }\n\n // Sending each function call to the registry allows for passing Minim\n // instances through the function return. This means you can return\n // primitive values or return Minim instances and reduce will still work.\n for (let i = startIndex; i < this.length; i += 1) {\n const item = this.content[i];\n\n if (this.primitive() === 'object') {\n memo = this.refract(callback(memo, item.value, item.key, item, this));\n } else {\n memo = this.refract(callback(memo, item, i, this));\n }\n }\n\n return memo;\n }\n\n /**\n * @callback forEachCallback\n * @param {Element} currentValue\n * @param {NumberElement} index\n */\n\n /**\n * @param {forEachCallback} callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @memberof ArrayElement.prototype\n */\n forEach(callback, thisArg) {\n this.content.forEach((item, index) => {\n callback.bind(thisArg)(item, this.refract(index));\n });\n }\n\n /**\n * @returns {Element}\n */\n shift() {\n return this.content.shift();\n }\n\n /**\n * @param value\n */\n unshift(value) {\n this.content.unshift(this.refract(value));\n }\n\n /**\n * @param value\n */\n push(value) {\n this.content.push(this.refract(value));\n return this;\n }\n\n /**\n * @param value\n */\n add(value) {\n this.push(value);\n }\n\n /**\n * Recusively search all descendents using a condition function.\n * @returns {Element[]}\n */\n findElements(condition, givenOptions) {\n const options = givenOptions || {};\n const recursive = !!options.recursive;\n const results = options.results === undefined ? [] : options.results;\n\n // The forEach method for Object Elements returns value, key, and member.\n // This passes those along to the condition function below.\n this.forEach((item, keyOrIndex, member) => {\n // We use duck-typing here to support any registered class that\n // may contain other elements.\n if (recursive && (item.findElements !== undefined)) {\n item.findElements(condition, {\n results,\n recursive,\n });\n }\n\n if (condition(item, keyOrIndex, member)) {\n results.push(item);\n }\n });\n\n return results;\n }\n\n /**\n * Recusively search all descendents using a condition function.\n * @param condition\n * @returns {ArraySlice}\n */\n find(condition) {\n return new ArraySlice(this.findElements(condition, { recursive: true }));\n }\n\n /**\n * @param {string} element\n * @returns {ArraySlice}\n */\n findByElement(element) {\n return this.find(item => item.element === element);\n }\n\n /**\n * @param {string} className\n * @returns {ArraySlice}\n * @memberof ArrayElement.prototype\n */\n findByClass(className) {\n return this.find(item => item.classes.includes(className));\n }\n\n /**\n * Search the tree recursively and find the element with the matching ID\n * @param {string} id\n * @returns {Element}\n * @memberof ArrayElement.prototype\n */\n getById(id) {\n return this.find(item => item.id.toValue() === id).first;\n }\n\n /**\n * Looks for matching children using deep equality\n * @param value\n * @returns {boolean}\n */\n includes(value) {\n return this.content.some(element => element.equals(value));\n }\n\n /**\n * Looks for matching children using deep equality\n * @param value\n * @returns {boolean}\n * @see includes\n * @deprecated method was replaced by includes\n */\n contains(value) {\n return this.includes(value);\n }\n\n // Fantasy Land\n\n /**\n * @returns {ArrayElement} An empty array element\n */\n empty() {\n return new this.constructor([]);\n }\n\n ['fantasy-land/empty']() {\n return this.empty();\n }\n\n /**\n * @param {ArrayElement} other\n * @returns {ArrayElement}\n */\n concat(other) {\n return new this.constructor(this.content.concat(other.content));\n }\n\n ['fantasy-land/concat'](other) {\n return this.concat(other);\n }\n\n ['fantasy-land/map'](transform) {\n return new this.constructor(this.map(transform));\n }\n\n ['fantasy-land/chain'](transform) {\n return this\n .map(element => transform(element), this)\n .reduce((a, b) => a.concat(b), this.empty());\n }\n\n ['fantasy-land/filter'](callback) {\n return new this.constructor(this.content.filter(callback));\n }\n\n ['fantasy-land/reduce'](transform, initialValue) {\n return this.content.reduce(transform, initialValue);\n }\n\n /**\n * Returns the length of the collection\n * @type number\n */\n get length() {\n return this.content.length;\n }\n\n /**\n * Returns whether the collection is empty\n * @type boolean\n */\n get isEmpty() {\n return this.content.length === 0;\n }\n\n /**\n * Return the first item in the collection\n * @type Element\n */\n get first() {\n return this.getIndex(0);\n }\n\n /**\n * Return the second item in the collection\n * @type Element\n */\n get second() {\n return this.getIndex(1);\n }\n\n /**\n * Return the last item in the collection\n * @type Element\n */\n get last() {\n return this.getIndex(this.length - 1);\n }\n}\n\n/**\n * @returns {ArrayElement} An empty array element\n */\nArrayElement.empty = function empty() {\n return new this();\n};\n\nArrayElement['fantasy-land/empty'] = ArrayElement.empty;\n\nif (typeof Symbol !== 'undefined') {\n ArrayElement.prototype[Symbol.iterator] = function symbol() {\n return this.content[Symbol.iterator]();\n };\n}\n\nmodule.exports = ArrayElement;\n","const Element = require('./Element');\n\n/**\n * @class BooleanElement\n *\n * @param {boolean} content\n * @param meta\n * @param attributes\n */\nmodule.exports = class BooleanElement extends Element {\n constructor(content, meta, attributes) {\n super(content, meta, attributes);\n this.element = 'boolean';\n }\n\n primitive() {\n return 'boolean';\n }\n};\n","const isEqual = require('lodash/isEqual');\nconst KeyValuePair = require('../KeyValuePair');\nconst ArraySlice = require('../ArraySlice.js');\n\n/**\n * @class\n *\n * @param content\n * @param meta\n * @param attributes\n *\n * @property {string} element\n */\nclass Element {\n constructor(content, meta, attributes) {\n // Lazy load this.meta and this.attributes because it's a Minim element\n // Otherwise, we get into circuluar calls\n if (meta) {\n this.meta = meta;\n }\n\n if (attributes) {\n this.attributes = attributes;\n }\n\n this.content = content;\n }\n\n /**\n * Freezes the element to prevent any mutation.\n * A frozen element will add `parent` property to every child element\n * to allow traversing up the element tree.\n */\n freeze() {\n if (Object.isFrozen(this)) {\n return;\n }\n\n if (this._meta) {\n this.meta.parent = this;\n this.meta.freeze();\n }\n\n if (this._attributes) {\n this.attributes.parent = this;\n this.attributes.freeze();\n }\n\n this.children.forEach((element) => {\n element.parent = this;\n element.freeze();\n }, this);\n\n if (this.content && Array.isArray(this.content)) {\n Object.freeze(this.content);\n }\n\n Object.freeze(this);\n }\n\n primitive() {\n\n }\n\n /**\n * Creates a deep clone of the instance\n */\n clone() {\n const copy = new this.constructor();\n\n copy.element = this.element;\n\n if (this.meta.length) {\n copy._meta = this.meta.clone();\n }\n\n if (this.attributes.length) {\n copy._attributes = this.attributes.clone();\n }\n\n if (this.content) {\n if (this.content.clone) {\n copy.content = this.content.clone();\n } else if (Array.isArray(this.content)) {\n copy.content = this.content.map(element => element.clone());\n } else {\n copy.content = this.content;\n }\n } else {\n copy.content = this.content;\n }\n\n return copy;\n }\n\n /**\n */\n toValue() {\n if (this.content instanceof Element) {\n return this.content.toValue();\n }\n\n if (this.content instanceof KeyValuePair) {\n return {\n key: this.content.key.toValue(),\n value: this.content.value ? this.content.value.toValue() : undefined,\n };\n }\n\n if (this.content && this.content.map) {\n return this.content.map(element => element.toValue(), this);\n }\n\n return this.content;\n }\n\n /**\n * Creates a reference pointing at the Element\n * @returns {RefElement}\n * @memberof Element.prototype\n */\n toRef(path) {\n if (this.id.toValue() === '') {\n throw Error('Cannot create reference to an element that does not contain an ID');\n }\n\n const ref = new this.RefElement(this.id.toValue());\n\n if (path) {\n ref.path = path;\n }\n\n return ref;\n }\n\n /**\n * Finds the given elements in the element tree.\n * When providing multiple element names, you must first freeze the element.\n *\n * @param names {...elementNames}\n * @returns {ArraySlice}\n */\n findRecursive(...elementNames) {\n if (arguments.length > 1 && !this.isFrozen) {\n throw new Error('Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`');\n }\n\n const elementName = elementNames.pop();\n let elements = new ArraySlice();\n\n const append = (array, element) => {\n array.push(element);\n return array;\n };\n\n // Checks the given element and appends element/sub-elements\n // that match element name to given array\n const checkElement = (array, element) => {\n if (element.element === elementName) {\n array.push(element);\n }\n\n const items = element.findRecursive(elementName);\n if (items) {\n items.reduce(append, array);\n }\n\n if (element.content instanceof KeyValuePair) {\n if (element.content.key) {\n checkElement(array, element.content.key);\n }\n\n if (element.content.value) {\n checkElement(array, element.content.value);\n }\n }\n\n return array;\n };\n\n if (this.content) {\n // Direct Element\n if (this.content.element) {\n checkElement(elements, this.content);\n }\n\n // Element Array\n if (Array.isArray(this.content)) {\n this.content.reduce(checkElement, elements);\n }\n }\n\n if (!elementNames.isEmpty) {\n elements = elements.filter((element) => {\n let parentElements = element.parents.map(e => e.element);\n\n // eslint-disable-next-line no-restricted-syntax\n for (const namesIndex in elementNames) {\n const name = elementNames[namesIndex];\n const index = parentElements.indexOf(name);\n\n if (index !== -1) {\n parentElements = parentElements.splice(0, index);\n } else {\n return false;\n }\n }\n\n return true;\n });\n }\n\n return elements;\n }\n\n set(content) {\n this.content = content;\n return this;\n }\n\n equals(value) {\n return isEqual(this.toValue(), value);\n }\n\n getMetaProperty(name, value) {\n if (!this.meta.hasKey(name)) {\n if (this.isFrozen) {\n const element = this.refract(value);\n element.freeze();\n return element;\n }\n\n this.meta.set(name, value);\n }\n\n return this.meta.get(name);\n }\n\n setMetaProperty(name, value) {\n this.meta.set(name, value);\n }\n\n /**\n * @type String\n */\n get element() {\n // Returns 'element' so we don't have undefined as element\n return this._storedElement || 'element';\n }\n\n set element(element) {\n this._storedElement = element;\n }\n\n get content() {\n return this._content;\n }\n\n set content(value) {\n if (value instanceof Element) {\n this._content = value;\n } else if (value instanceof ArraySlice) {\n this.content = value.elements;\n } else if (\n typeof value == 'string'\n || typeof value == 'number'\n || typeof value == 'boolean'\n || value === 'null'\n || value == undefined\n ) {\n // Primitive Values\n this._content = value;\n } else if (value instanceof KeyValuePair) {\n this._content = value;\n } else if (Array.isArray(value)) {\n this._content = value.map(this.refract);\n } else if (typeof value === 'object') {\n this._content = Object.keys(value).map(key => new this.MemberElement(key, value[key]));\n } else {\n throw new Error('Cannot set content to given value');\n }\n }\n\n /**\n * @type ObjectElement\n */\n get meta() {\n if (!this._meta) {\n if (this.isFrozen) {\n const meta = new this.ObjectElement();\n meta.freeze();\n return meta;\n }\n\n this._meta = new this.ObjectElement();\n }\n\n return this._meta;\n }\n\n set meta(value) {\n if (value instanceof this.ObjectElement) {\n this._meta = value;\n } else {\n this.meta.set(value || {});\n }\n }\n\n /**\n * The attributes property defines attributes about the given instance\n * of the element, as specified by the element property.\n *\n * @type ObjectElement\n */\n get attributes() {\n if (!this._attributes) {\n if (this.isFrozen) {\n const meta = new this.ObjectElement();\n meta.freeze();\n return meta;\n }\n\n this._attributes = new this.ObjectElement();\n }\n\n return this._attributes;\n }\n\n set attributes(value) {\n if (value instanceof this.ObjectElement) {\n this._attributes = value;\n } else {\n this.attributes.set(value || {});\n }\n }\n\n /**\n * Unique Identifier, MUST be unique throughout an entire element tree.\n * @type StringElement\n */\n get id() {\n return this.getMetaProperty('id', '');\n }\n\n set id(element) {\n this.setMetaProperty('id', element);\n }\n\n /**\n * @type ArrayElement\n */\n get classes() {\n return this.getMetaProperty('classes', []);\n }\n\n set classes(element) {\n this.setMetaProperty('classes', element);\n }\n\n /**\n * Human-readable title of element\n * @type StringElement\n */\n get title() {\n return this.getMetaProperty('title', '');\n }\n\n set title(element) {\n this.setMetaProperty('title', element);\n }\n\n /**\n * Human-readable description of element\n * @type StringElement\n */\n get description() {\n return this.getMetaProperty('description', '');\n }\n\n set description(element) {\n this.setMetaProperty('description', element);\n }\n\n /**\n * @type ArrayElement\n */\n get links() {\n return this.getMetaProperty('links', []);\n }\n\n set links(element) {\n this.setMetaProperty('links', element);\n }\n\n /**\n * Returns whether the element is frozen.\n * @type boolean\n * @see freeze\n */\n get isFrozen() {\n return Object.isFrozen(this);\n }\n\n /**\n * Returns all of the parent elements.\n * @type ArraySlice\n */\n get parents() {\n let { parent } = this;\n const parents = new ArraySlice();\n\n while (parent) {\n parents.push(parent);\n\n // eslint-disable-next-line prefer-destructuring\n parent = parent.parent;\n }\n\n return parents;\n }\n\n /**\n * Returns all of the children elements found within the element.\n * @type ArraySlice\n * @see recursiveChildren\n */\n get children() {\n if (Array.isArray(this.content)) {\n return new ArraySlice(this.content);\n }\n\n if (this.content instanceof KeyValuePair) {\n const children = new ArraySlice([this.content.key]);\n\n if (this.content.value) {\n children.push(this.content.value);\n }\n\n return children;\n }\n\n if (this.content instanceof Element) {\n return new ArraySlice([this.content]);\n }\n\n return new ArraySlice();\n }\n\n /**\n * Returns all of the children elements found within the element recursively.\n * @type ArraySlice\n * @see children\n */\n get recursiveChildren() {\n const children = new ArraySlice();\n\n this.children.forEach((element) => {\n children.push(element);\n\n element.recursiveChildren.forEach((child) => {\n children.push(child);\n });\n });\n\n return children;\n }\n}\n\nmodule.exports = Element;\n","const KeyValuePair = require('../KeyValuePair');\nconst Element = require('./Element');\n\n/**\n * @class MemberElement\n *\n * @param {Element} key\n * @param {Element} value\n * @param meta\n * @param attributes\n */\nmodule.exports = class MemberElement extends Element {\n constructor(key, value, meta, attributes) {\n super(new KeyValuePair(), meta, attributes);\n\n this.element = 'member';\n this.key = key;\n this.value = value;\n }\n\n /**\n * @type Element\n */\n get key() {\n return this.content.key;\n }\n\n set key(key) {\n this.content.key = this.refract(key);\n }\n\n /**\n * @type Element\n */\n get value() {\n return this.content.value;\n }\n\n set value(value) {\n this.content.value = this.refract(value);\n }\n};\n","const Element = require('./Element');\n\n/**\n */\nclass NullElement extends Element {\n constructor(content, meta, attributes) {\n super(content || null, meta, attributes);\n this.element = 'null';\n }\n\n primitive() {\n return 'null';\n }\n\n set() {\n return new Error('Cannot set the value of null');\n }\n}\n\nmodule.exports = NullElement;\n","const Element = require('./Element');\n\n/**\n * @class NumberElement\n *\n * @param {number} content\n * @param meta\n * @param attributes\n */\nmodule.exports = class NumberElement extends Element {\n constructor(content, meta, attributes) {\n super(content, meta, attributes);\n this.element = 'number';\n }\n\n primitive() {\n return 'number';\n }\n};\n","const negate = require('lodash/negate');\nconst isObject = require('lodash/isObject');\n\nconst ArrayElement = require('./ArrayElement');\nconst MemberElement = require('./MemberElement');\nconst ObjectSlice = require('../ObjectSlice');\n\n/**\n * @class\n *\n * @param content\n * @param meta\n * @param attributes\n */\nclass ObjectElement extends ArrayElement {\n constructor(content, meta, attributes) {\n super(content || [], meta, attributes);\n this.element = 'object';\n }\n\n primitive() {\n return 'object';\n }\n\n toValue() {\n return this.content.reduce((results, el) => {\n results[el.key.toValue()] = el.value ? el.value.toValue() : undefined;\n return results;\n }, {});\n }\n\n /**\n * @param key\n * @returns {Element}\n */\n get(name) {\n const member = this.getMember(name);\n\n if (member) {\n return member.value;\n }\n\n return undefined;\n }\n\n /**\n * @param key\n * @returns {MemberElement}\n */\n getMember(name) {\n if (name === undefined) { return undefined; }\n\n return this.content.find(element => element.key.toValue() === name);\n }\n\n /**\n * @param key\n */\n remove(name) {\n let removed = null;\n\n this.content = this.content.filter((item) => {\n if (item.key.toValue() === name) {\n removed = item;\n return false;\n }\n\n return true;\n });\n\n return removed;\n }\n\n /**\n * @param key\n * @returns {Element}\n */\n getKey(name) {\n const member = this.getMember(name);\n\n if (member) {\n return member.key;\n }\n\n return undefined;\n }\n\n /**\n * Set allows either a key/value pair to be given or an object\n * If an object is given, each key is set to its respective value\n */\n set(keyOrObject, value) {\n if (isObject(keyOrObject)) {\n Object.keys(keyOrObject).forEach((objectKey) => {\n this.set(objectKey, keyOrObject[objectKey]);\n });\n\n return this;\n }\n\n // Store as key for clarity\n const key = keyOrObject;\n const member = this.getMember(key);\n\n if (member) {\n member.value = value;\n } else {\n this.content.push(new MemberElement(key, value));\n }\n\n return this;\n }\n\n /**\n */\n keys() {\n return this.content.map(item => item.key.toValue());\n }\n\n /**\n */\n values() {\n return this.content.map(item => item.value.toValue());\n }\n\n /**\n * @returns {boolean}\n */\n hasKey(value) {\n return this.content.some(member => member.key.equals(value));\n }\n\n /**\n * @returns {array}\n */\n items() {\n return this.content.map(item => [item.key.toValue(), item.value.toValue()]);\n }\n\n /**\n * @param callback\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n */\n map(callback, thisArg) {\n return this.content.map(item => callback.bind(thisArg)(item.value, item.key, item));\n }\n\n /**\n * Returns an array containing the truthy results of calling the given transformation with each element of this sequence\n * @param transform - A closure that accepts the value, key and member element of this object as its argument and returns an optional value.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns An array of the non-undefined results of calling transform with each element of the array\n */\n compactMap(callback, thisArg) {\n const results = [];\n\n this.forEach((value, key, member) => {\n const result = callback.bind(thisArg)(value, key, member);\n\n if (result) {\n results.push(result);\n }\n });\n\n return results;\n }\n\n /**\n * @param callback\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n *\n * @returns {ObjectSlice}\n */\n filter(callback, thisArg) {\n return new ObjectSlice(this.content).filter(callback, thisArg);\n }\n\n /**\n * @param callback\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n *\n * @returns {ObjectSlice}\n *\n * @memberof ObjectElement.prototype\n */\n reject(callback, thisArg) {\n return this.filter(negate(callback), thisArg);\n }\n\n /**\n * @param callback\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n *\n * @memberof ObjectElement.prototype\n */\n forEach(callback, thisArg) {\n return this.content.forEach(item => callback.bind(thisArg)(item.value, item.key, item));\n }\n}\n\nmodule.exports = ObjectElement;\n","const Element = require('./Element');\n\n/**\n * @class StringElement\n *\n * @param {string} content\n * @param meta\n * @param attributes\n */\nmodule.exports = class StringElement extends Element {\n constructor(content, meta, attributes) {\n super(content, meta, attributes);\n this.element = 'string';\n }\n\n primitive() {\n return 'string';\n }\n\n /**\n * The length of the string.\n * @type number\n */\n get length() {\n return this.content.length;\n }\n};\n","const JSONSerialiser = require('./JSONSerialiser');\n\nmodule.exports = class JSON06Serialiser extends JSONSerialiser {\n serialise(element) {\n if (!(element instanceof this.namespace.elements.Element)) {\n throw new TypeError(`Given element \\`${element}\\` is not an Element instance`);\n }\n\n let variable;\n if (element._attributes && element.attributes.get('variable')) {\n variable = element.attributes.get('variable');\n }\n\n const payload = {\n element: element.element,\n };\n\n if (element._meta && element._meta.length > 0) {\n payload.meta = this.serialiseObject(element.meta);\n }\n\n const isEnum = (element.element === 'enum' || element.attributes.keys().indexOf('enumerations') !== -1);\n\n if (isEnum) {\n const attributes = this.enumSerialiseAttributes(element);\n\n if (attributes) {\n payload.attributes = attributes;\n }\n } else if (element._attributes && element._attributes.length > 0) {\n let { attributes } = element;\n\n // Meta attribute was renamed to metadata\n if (attributes.get('metadata')) {\n attributes = attributes.clone();\n attributes.set('meta', attributes.get('metadata'));\n attributes.remove('metadata');\n }\n\n if (element.element === 'member' && variable) {\n attributes = attributes.clone();\n attributes.remove('variable');\n }\n\n if (attributes.length > 0) {\n payload.attributes = this.serialiseObject(attributes);\n }\n }\n\n if (isEnum) {\n payload.content = this.enumSerialiseContent(element, payload);\n } else if (this[`${element.element}SerialiseContent`]) {\n payload.content = this[`${element.element}SerialiseContent`](element, payload);\n } else if (element.content !== undefined) {\n let content;\n\n if (variable && element.content.key) {\n content = element.content.clone();\n content.key.attributes.set('variable', variable);\n content = this.serialiseContent(content);\n } else {\n content = this.serialiseContent(element.content);\n }\n\n if (this.shouldSerialiseContent(element, content)) {\n payload.content = content;\n }\n } else if (this.shouldSerialiseContent(element, element.content) && element instanceof this.namespace.elements.Array) {\n payload.content = [];\n }\n\n return payload;\n }\n\n shouldSerialiseContent(element, content) {\n if (element.element === 'parseResult' || element.element === 'httpRequest'\n || element.element === 'httpResponse' || element.element === 'category'\n || element.element === 'link') {\n return true;\n }\n\n if (content === undefined) {\n return false;\n }\n\n if (Array.isArray(content) && content.length === 0) {\n return false;\n }\n\n return true;\n }\n\n refSerialiseContent(element, payload) {\n delete payload.attributes;\n\n return {\n href: element.toValue(),\n path: element.path.toValue(),\n };\n }\n\n sourceMapSerialiseContent(element) {\n return element.toValue();\n }\n\n dataStructureSerialiseContent(element) {\n return [this.serialiseContent(element.content)];\n }\n\n enumSerialiseAttributes(element) {\n const attributes = element.attributes.clone();\n\n // Enumerations attribute was is placed inside content (see `enumSerialiseContent` below)\n const enumerations = attributes.remove('enumerations') || new this.namespace.elements.Array([]);\n\n // Remove fixed type attribute from samples and default\n const defaultValue = attributes.get('default');\n let samples = attributes.get('samples') || new this.namespace.elements.Array([]);\n\n if (defaultValue && defaultValue.content) {\n if (defaultValue.content.attributes) {\n defaultValue.content.attributes.remove('typeAttributes');\n }\n // Wrap default in array (not sure it is really needed because tests pass without this line)\n attributes.set('default', new this.namespace.elements.Array([defaultValue.content]));\n }\n\n // Strip typeAttributes from samples, 0.6 doesn't usually contain them in samples\n samples.forEach((sample) => {\n if (sample.content && sample.content.element) {\n sample.content.attributes.remove('typeAttributes');\n }\n });\n\n // Content -> Samples\n if (element.content && enumerations.length !== 0) {\n // If we don't have enumerations, content should stay in\n // content (enumerations) as per Drafter 3 behaviour.\n samples.unshift(element.content);\n }\n\n samples = samples.map((sample) => {\n if (sample instanceof this.namespace.elements.Array) {\n return [sample];\n }\n\n return new this.namespace.elements.Array([sample.content]);\n });\n\n if (samples.length) {\n attributes.set('samples', samples);\n }\n\n if (attributes.length > 0) {\n return this.serialiseObject(attributes);\n }\n\n return undefined;\n }\n\n enumSerialiseContent(element) {\n // In API Elements < 1.0, the content is the enumerations\n // If we don't have an enumerations, use the value (Drafter 3 behaviour)\n\n if (element._attributes) {\n const enumerations = element.attributes.get('enumerations');\n\n if (enumerations && enumerations.length > 0) {\n return enumerations.content.map((enumeration) => {\n const e = enumeration.clone();\n e.attributes.remove('typeAttributes');\n return this.serialise(e);\n });\n }\n }\n\n if (element.content) {\n const value = element.content.clone();\n value.attributes.remove('typeAttributes');\n return [this.serialise(value)];\n }\n\n return [];\n }\n\n deserialise(value) {\n if (typeof value === 'string') {\n return new this.namespace.elements.String(value);\n }\n\n if (typeof value === 'number') {\n return new this.namespace.elements.Number(value);\n }\n\n if (typeof value === 'boolean') {\n return new this.namespace.elements.Boolean(value);\n }\n\n if (value === null) {\n return new this.namespace.elements.Null();\n }\n\n if (Array.isArray(value)) {\n return new this.namespace.elements.Array(value.map(this.deserialise, this));\n }\n\n const ElementClass = this.namespace.getElementClass(value.element);\n const element = new ElementClass();\n\n if (element.element !== value.element) {\n element.element = value.element;\n }\n\n if (value.meta) {\n this.deserialiseObject(value.meta, element.meta);\n }\n\n if (value.attributes) {\n this.deserialiseObject(value.attributes, element.attributes);\n }\n\n const content = this.deserialiseContent(value.content);\n if (content !== undefined || element.content === null) {\n element.content = content;\n }\n\n if (element.element === 'enum') {\n // Grab enumerations from content\n if (element.content) {\n element.attributes.set('enumerations', element.content);\n }\n\n // Unwrap the sample value (inside double array)\n let samples = element.attributes.get('samples');\n element.attributes.remove('samples');\n\n if (samples) {\n // Re-wrap samples from array of array to array of enum's\n\n const existingSamples = samples;\n\n samples = new this.namespace.elements.Array();\n existingSamples.forEach((existingSample) => {\n existingSample.forEach((sample) => {\n const enumElement = new ElementClass(sample);\n enumElement.element = element.element;\n samples.push(enumElement);\n });\n });\n\n const sample = samples.shift();\n\n if (sample) {\n element.content = sample.content;\n } else {\n element.content = undefined;\n }\n\n element.attributes.set('samples', samples);\n } else {\n element.content = undefined;\n }\n\n // Unwrap the default value\n let defaultValue = element.attributes.get('default');\n if (defaultValue && defaultValue.length > 0) {\n defaultValue = defaultValue.get(0);\n const defaultElement = new ElementClass(defaultValue);\n defaultElement.element = element.element;\n element.attributes.set('default', defaultElement);\n }\n } else if (element.element === 'dataStructure' && Array.isArray(element.content)) {\n [element.content] = element.content;\n } else if (element.element === 'category') {\n // \"meta\" attribute has been renamed to metadata\n const metadata = element.attributes.get('meta');\n\n if (metadata) {\n element.attributes.set('metadata', metadata);\n element.attributes.remove('meta');\n }\n } else if (element.element === 'member' && element.key && element.key._attributes && element.key._attributes.getValue('variable')) {\n element.attributes.set('variable', element.key.attributes.get('variable'));\n element.key.attributes.remove('variable');\n }\n\n return element;\n }\n\n // Private API\n\n serialiseContent(content) {\n if (content instanceof this.namespace.elements.Element) {\n return this.serialise(content);\n }\n\n if (content instanceof this.namespace.KeyValuePair) {\n const pair = {\n key: this.serialise(content.key),\n };\n\n if (content.value) {\n pair.value = this.serialise(content.value);\n }\n\n return pair;\n }\n\n if (content && content.map) {\n return content.map(this.serialise, this);\n }\n\n return content;\n }\n\n deserialiseContent(content) {\n if (content) {\n if (content.element) {\n return this.deserialise(content);\n }\n\n if (content.key) {\n const pair = new this.namespace.KeyValuePair(this.deserialise(content.key));\n\n if (content.value) {\n pair.value = this.deserialise(content.value);\n }\n\n return pair;\n }\n\n if (content.map) {\n return content.map(this.deserialise, this);\n }\n }\n\n return content;\n }\n\n shouldRefract(element) {\n if ((element._attributes && element.attributes.keys().length) || (element._meta && element.meta.keys().length)) {\n return true;\n }\n\n if (element.element === 'enum') {\n // enum elements are treated like primitives (array)\n return false;\n }\n\n if (element.element !== element.primitive() || element.element === 'member') {\n return true;\n }\n\n return false;\n }\n\n convertKeyToRefract(key, item) {\n if (this.shouldRefract(item)) {\n return this.serialise(item);\n }\n\n if (item.element === 'enum') {\n return this.serialiseEnum(item);\n }\n\n if (item.element === 'array') {\n return item.map((subItem) => {\n if (this.shouldRefract(subItem) || key === 'default') {\n return this.serialise(subItem);\n }\n\n if (subItem.element === 'array' || subItem.element === 'object' || subItem.element === 'enum') {\n // items for array or enum inside array are always serialised\n return subItem.children.map(subSubItem => this.serialise(subSubItem));\n }\n\n return subItem.toValue();\n });\n }\n\n if (item.element === 'object') {\n return (item.content || []).map(this.serialise, this);\n }\n\n return item.toValue();\n }\n\n serialiseEnum(element) {\n return element.children.map(item => this.serialise(item));\n }\n\n serialiseObject(obj) {\n const result = {};\n\n obj.forEach((value, key) => {\n if (value) {\n const keyValue = key.toValue();\n result[keyValue] = this.convertKeyToRefract(keyValue, value);\n }\n });\n\n return result;\n }\n\n deserialiseObject(from, to) {\n Object.keys(from).forEach((key) => {\n to.set(key, this.deserialise(from[key]));\n });\n }\n};\n","/**\n * @class JSONSerialiser\n *\n * @param {Namespace} namespace\n *\n * @property {Namespace} namespace\n */\nclass JSONSerialiser {\n constructor(namespace) {\n this.namespace = namespace || new this.Namespace();\n }\n\n /**\n * @param {Element} element\n * @returns {object}\n */\n serialise(element) {\n if (!(element instanceof this.namespace.elements.Element)) {\n throw new TypeError(`Given element \\`${element}\\` is not an Element instance`);\n }\n\n const payload = {\n element: element.element,\n };\n\n if (element._meta && element._meta.length > 0) {\n payload.meta = this.serialiseObject(element.meta);\n }\n\n if (element._attributes && element._attributes.length > 0) {\n payload.attributes = this.serialiseObject(element.attributes);\n }\n\n const content = this.serialiseContent(element.content);\n\n if (content !== undefined) {\n payload.content = content;\n }\n\n return payload;\n }\n\n /**\n * @param {object} value\n * @returns {Element}\n */\n deserialise(value) {\n if (!value.element) {\n throw new Error('Given value is not an object containing an element name');\n }\n\n const ElementClass = this.namespace.getElementClass(value.element);\n const element = new ElementClass();\n\n if (element.element !== value.element) {\n element.element = value.element;\n }\n\n if (value.meta) {\n this.deserialiseObject(value.meta, element.meta);\n }\n\n if (value.attributes) {\n this.deserialiseObject(value.attributes, element.attributes);\n }\n\n const content = this.deserialiseContent(value.content);\n if (content !== undefined || element.content === null) {\n element.content = content;\n }\n\n return element;\n }\n\n // Private API\n\n serialiseContent(content) {\n if (content instanceof this.namespace.elements.Element) {\n return this.serialise(content);\n }\n\n if (content instanceof this.namespace.KeyValuePair) {\n const pair = {\n key: this.serialise(content.key),\n };\n\n if (content.value) {\n pair.value = this.serialise(content.value);\n }\n\n return pair;\n }\n\n if (content && content.map) {\n if (content.length === 0) {\n return undefined;\n }\n\n return content.map(this.serialise, this);\n }\n\n return content;\n }\n\n deserialiseContent(content) {\n if (content) {\n if (content.element) {\n return this.deserialise(content);\n }\n\n if (content.key) {\n const pair = new this.namespace.KeyValuePair(this.deserialise(content.key));\n\n if (content.value) {\n pair.value = this.deserialise(content.value);\n }\n\n return pair;\n }\n\n if (content.map) {\n return content.map(this.deserialise, this);\n }\n }\n\n return content;\n }\n\n serialiseObject(obj) {\n const result = {};\n\n obj.forEach((value, key) => {\n if (value) {\n result[key.toValue()] = this.serialise(value);\n }\n });\n\n if (Object.keys(result).length === 0) {\n return undefined;\n }\n\n return result;\n }\n\n deserialiseObject(from, to) {\n Object.keys(from).forEach((key) => {\n to.set(key, this.deserialise(from[key]));\n });\n }\n}\n\n\nmodule.exports = JSONSerialiser;\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","import { bind, curryN } from 'ramda';\n\n/**\n * Composable shortcut for `Promise.all`.\n *\n * The `allP` method returns a single Promise that resolves when all of the promises\n * in the iterable argument have resolved or when the iterable argument contains no promises.\n * It rejects with the reason of the first promise that rejects.\n *\n * @func allP\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.3.0|v2.3.0}\n * @category Function\n * @sig [Promise a] -> Promise [a]\n * @param {Iterable.<*>} iterable An iterable object such as an Array or String\n * @return {Promise} An already resolved Promise if the iterable passed is empty. An asynchronously resolved Promise if the iterable passed contains no promises. Note, Google Chrome 58 returns an already resolved promise in this case. A pending Promise in all other cases. This returned promise is then resolved/rejected asynchronously (as soon as the stack is empty) when all the promises in the given iterable have resolved, or if any of the promises reject. See the example about \"Asynchronicity or synchronicity of allP\" below.\n * @see {@link RA.resolveP|resolveP}, {@link RA.rejectP|rejectP}\n * @example\n *\n * RA.allP([1, 2]); //=> Promise([1, 2])\n * RA.allP([1, Promise.resolve(2)]); //=> Promise([1, 2])\n * RA.allP([Promise.resolve(1), Promise.resolve(2)]); //=> Promise([1, 2])\n * RA.allP([1, Promise.reject(2)]); //=> Promise(2)\n */\nvar allP = curryN(1, bind(Promise.all, Promise));\nexport default allP;","import { concat, flip } from 'ramda';\n\n/**\n * Returns the result of concatenating the given lists or strings.\n *\n * Note: R.concat expects both arguments to be of the same type, unlike\n * the native Array.prototype.concat method.\n * It will throw an error if you concat an Array with a non-Array value.\n * Dispatches to the concat method of the second argument, if present.\n *\n * @func concatRight\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/1.11.0|v1.11.0}\n * @category List\n * @sig [a] -> [a] -> [a]\n * @sig String -> String -> String\n * @param {Array|String} firstList The first list\n * @param {Array|String} secondList The second list\n * @return {Array|String} A list consisting of the elements of `secondList`\n * followed by the elements of `firstList`.\n * @see {@link http://ramdajs.com/docs/#concat|R.concat}\n * @example\n *\n * RA.concatRight('ABC', 'DEF'); //=> 'DEFABC'\n * RA.concatRight([4, 5, 6], [1, 2, 3]); //=> [1, 2, 3, 4, 5, 6]\n * RA.concatRight([], []); //=> []\n */\nvar concatRight = flip(concat);\nexport default concatRight;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * Makes a comparator function out of a function that reports whether the first\n * element is less than the second.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((a, b) -> Boolean) -> ((a, b) -> Number)\n * @param {Function} pred A predicate function of arity two which will return `true` if the first argument\n * is less than the second, `false` otherwise\n * @return {Function} A Function :: a -> b -> Int that returns `-1` if a < b, `1` if b < a, otherwise `0`\n * @example\n *\n * const byAge = R.comparator((a, b) => a.age < b.age);\n * const people = [\n * { name: 'Emma', age: 70 },\n * { name: 'Peter', age: 78 },\n * { name: 'Mikhail', age: 62 },\n * ];\n * const peopleByIncreasingAge = R.sort(byAge, people);\n * //=> [{ name: 'Mikhail', age: 62 },{ name: 'Emma', age: 70 }, { name: 'Peter', age: 78 }]\n */\n\nvar comparator =\n/*#__PURE__*/\n_curry1(function comparator(pred) {\n return function (a, b) {\n return pred(a, b) ? -1 : pred(b, a) ? 1 : 0;\n };\n});\n\nexport default comparator;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns a copy of the list, sorted according to the comparator function,\n * which should accept two values at a time and return a negative number if the\n * first value is smaller, a positive number if it's larger, and zero if they\n * are equal. Please note that this is a **copy** of the list. It does not\n * modify the original.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, a) -> Number) -> [a] -> [a]\n * @param {Function} comparator A sorting function :: a -> b -> Int\n * @param {Array} list The list to sort\n * @return {Array} a new array with its elements sorted by the comparator function.\n * @see R.ascend, R.descend\n * @example\n *\n * const diff = function(a, b) { return a - b; };\n * R.sort(diff, [4,2,7,5]); //=> [2, 4, 5, 7]\n */\n\nvar sort =\n/*#__PURE__*/\n_curry2(function sort(comparator, list) {\n return Array.prototype.slice.call(list, 0).sort(comparator);\n});\n\nexport default sort;","import _curry1 from \"./internal/_curry1.js\";\nimport _reduced from \"./internal/_reduced.js\";\n/**\n * Returns a value wrapped to indicate that it is the final value of the reduce\n * and transduce functions. The returned value should be considered a black\n * box: the internal structure is not guaranteed to be stable.\n *\n * This optimization is available to the below functions:\n * - [`reduce`](#reduce)\n * - [`reduceWhile`](#reduceWhile)\n * - [`reduceBy`](#reduceBy)\n * - [`reduceRight`](#reduceRight)\n * - [`transduce`](#transduce)\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category List\n * @sig a -> *\n * @param {*} x The final value of the reduce.\n * @return {*} The wrapped value.\n * @see R.reduce, R.reduceWhile, R.reduceBy, R.reduceRight, R.transduce\n * @example\n *\n * R.reduce(\n * (acc, item) => item > 3 ? R.reduced(acc) : acc.concat(item),\n * [],\n * [1, 2, 3, 4, 5]) // [1, 2, 3]\n */\n\nvar reduced =\n/*#__PURE__*/\n_curry1(_reduced);\n\nexport default reduced;","import { isNil, complement } from 'ramda';\n\n/**\n * Checks if input value is complement of `null` or `undefined`.\n *\n * @func isNotNil\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.3.0|v0.3.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link http://ramdajs.com/docs/#isNil|R.isNil}\n * @example\n *\n * RA.isNotNil(null); //=> false\n * RA.isNotNil(undefined); //=> false\n * RA.isNotNil(0); //=> true\n * RA.isNotNil([]); //=> true\n */\nvar isNotNil = complement(isNil);\nexport default isNotNil;","import { both } from 'ramda';\nimport isNotEmpty from './isNotEmpty';\nimport isArray from './isArray';\n\n/**\n * Checks if input value is not an empty `Array`.\n *\n * @func isNonEmptyArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isEmptyArray|isEmptyArray}\n * @example\n *\n * RA.isNonEmptyArray([42]); // => true\n * RA.isNonEmptyArray([]); // => false\n * RA.isNonEmptyArray({}); // => false\n * RA.isNonEmptyArray(null); // => false\n * RA.isNonEmptyArray(undefined); // => false\n * RA.isNonEmptyArray(42); // => false\n * RA.isNonEmptyArray('42'); // => false\n */\nvar isNonEmptyArray = both(isArray, isNotEmpty);\nexport default isNonEmptyArray;","function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nimport { sort, comparator, prop, pipe, head, curryN, reduce, reduced, curry, ifElse } from 'ramda';\n\n/**\n * Can be used as a way to compose multiple invokers together to form polymorphic functions,\n * or functions that exhibit different behaviors based on their argument(s).\n * Consumes dispatching functions and keep trying to invoke each in turn, until a non-nil value is returned.\n *\n * Accepts a list of dispatching functions and returns a new function.\n * When invoked, this new function is applied to some arguments,\n * each dispatching function is applied to those same arguments until one of the\n * dispatching functions returns a non-nil value.\n *\n * @func dispatch\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.6.0|v2.6.0}\n * @category Function\n * @sig [((a, b, ...) -> x1), ((a, b, ...) -> x2), ...] -> x1 | x2 | ...\n * @param {!Array} functions A list of functions\n * @return {*|undefined} Returns the first not-nil value, or undefined if either an empty list is provided or none of the dispatching functions returns a non-nil value\n * @see {@link RA.isNotNil}\n * @example\n *\n * // returns first non-nil value\n * const stubNil = () => null;\n * const stubUndefined = () => undefined;\n * const addOne = v => v + 1;\n * const addTwo = v => v + 2;\n *\n * RA.dispatch([stubNil, stubUndefined, addOne, addTwo])(1); //=> 2\n *\n * // acts as a switch\n * const fnSwitch = RA.dispatch([\n * R.ifElse(RA.isString, s => `${s}-join`, RA.stubUndefined),\n * R.ifElse(RA.isNumber, n => n + 1, RA.stubUndefined),\n * R.ifElse(RA.isDate, R.T, RA.stubUndefined),\n * ]);\n * fnSwitch(1); //=> 2\n */\nimport isNotNil from './isNotNil';\nimport isNonEmptyArray from './isNonEmptyArray';\nimport stubUndefined from './stubUndefined';\nvar byArity = comparator(function (a, b) {\n return a.length > b.length;\n});\nvar getMaxArity = pipe(sort(byArity), head, prop('length'));\nvar iteratorFn = curry(function (args, accumulator, fn) {\n var result = fn.apply(void 0, _toConsumableArray(args));\n return isNotNil(result) ? reduced(result) : accumulator;\n});\nvar dispatchImpl = function dispatchImpl(functions) {\n var arity = getMaxArity(functions);\n return curryN(arity, function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return reduce(iteratorFn(args), undefined, functions);\n });\n};\nvar dispatch = ifElse(isNonEmptyArray, dispatchImpl, stubUndefined);\nexport default dispatch;","import { when, of } from 'ramda';\nimport isNotArray from './isNotArray';\n\n/**\n * Returns a singleton array containing the value provided.\n * If value is already an array, it is returned as is.\n *\n * @func ensureArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.6.0|v2.6.0}\n * @category List\n * @sig a | [a] -> [a]\n * @param {*|Array} val the value ensure as Array\n * @return {Array}\n * @see {@link http://ramdajs.com/docs/#of|R.of}\n * @example\n *\n * RA.ensureArray(42); //=> [42]\n * RA.ensureArray([42]); //=> [42]\n */\nvar ensureArray = when(isNotArray, of(Array));\nexport default ensureArray;","import _includes from \"./internal/_includes.js\";\nimport _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns `true` if the specified value is equal, in [`R.equals`](#equals)\n * terms, to at least one element of the given list; `false` otherwise.\n * Also works with strings.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category List\n * @sig a -> [a] -> Boolean\n * @param {Object} a The item to compare against.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if an equivalent item is in the list, `false` otherwise.\n * @see R.any\n * @example\n *\n * R.includes(3, [1, 2, 3]); //=> true\n * R.includes(4, [1, 2, 3]); //=> false\n * R.includes({ name: 'Fred' }, [{ name: 'Fred' }]); //=> true\n * R.includes([42], [[42]]); //=> true\n * R.includes('ba', 'banana'); //=>true\n */\n\nvar includes =\n/*#__PURE__*/\n_curry2(_includes);\n\nexport default includes;","import { flip, includes } from 'ramda';\n\n/**\n * Returns true if the specified value is equal, in R.equals terms,\n * to at least one element of the given list or false otherwise.\n * Given list can be a string.\n *\n * Like {@link http://ramdajs.com/docs/#includes|R.includes} but with argument order reversed.\n *\n * @func included\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/3.0.0|v3.0.0}\n * @category List\n * @sig [a] -> a -> Boolean\n * @param {Array|String} list The list to consider\n * @param {*} a The item to compare against\n * @return {boolean} Returns Boolean `true` if an equivalent item is in the list or `false` otherwise\n * @see {@link http://ramdajs.com/docs/#includes|R.includes}\n * @example\n *\n * RA.included([1, 2, 3], 3); //=> true\n * RA.included([1, 2, 3], 4); //=> false\n * RA.included([{ name: 'Fred' }], { name: 'Fred' }); //=> true\n * RA.included([[42]], [42]); //=> true\n */\nvar included = flip(includes);\nexport default included;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar isOfTypeObject = function isOfTypeObject(val) {\n return _typeof(val) === 'object';\n};\nexport default isOfTypeObject;","import slice from \"./slice.js\";\n/**\n * Returns all but the last element of the given list or string.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.last, R.head, R.tail\n * @example\n *\n * R.init([1, 2, 3]); //=> [1, 2]\n * R.init([1, 2]); //=> [1]\n * R.init([1]); //=> []\n * R.init([]); //=> []\n *\n * R.init('abc'); //=> 'ab'\n * R.init('ab'); //=> 'a'\n * R.init('a'); //=> ''\n * R.init(''); //=> ''\n */\n\nvar init =\n/*#__PURE__*/\nslice(0, -1);\nexport default init;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Applies function `fn` to the argument list `args`. This is useful for\n * creating a fixed-arity function from a variadic function. `fn` should be a\n * bound function if context is significant.\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig (*... -> a) -> [*] -> a\n * @param {Function} fn The function which will be called with `args`\n * @param {Array} args The arguments to call `fn` with\n * @return {*} result The result, equivalent to `fn(...args)`\n * @see R.call, R.unapply\n * @example\n *\n * const nums = [1, 2, 3, -99, 42, 6, 7];\n * R.apply(Math.max, nums); //=> 42\n * @symb R.apply(f, [a, b, c]) = f(a, b, c)\n */\n\nvar apply =\n/*#__PURE__*/\n_curry2(function apply(fn, args) {\n return fn.apply(this, args);\n});\n\nexport default apply;","import { both, isEmpty } from 'ramda';\nimport isArray from './isArray';\n\n/**\n * Checks if input value is an empty `Array`.\n *\n * @func isEmptyArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotEmptyArray|isNotEmptyArray}\n * @example\n *\n * RA.isEmptyArray([]); // => true\n * RA.isEmptyArray([42]); // => false\n * RA.isEmptyArray({}); // => false\n * RA.isEmptyArray(null); // => false\n * RA.isEmptyArray(undefined); // => false\n * RA.isEmptyArray(42); // => false\n * RA.isEmptyArray('42'); // => false\n */\nvar isEmptyArray = both(isArray, isEmpty);\nexport default isEmptyArray;","import { curryN, path, apply, init, bind } from 'ramda';\nimport isNotFunction from './isNotFunction';\nimport isEmptyArray from './isEmptyArray';\n\n/**\n * Invokes the method at path of object with given arguments.\n *\n * @func invokeArgs\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.27.0|v2.27.0}\n * @category Object\n * @sig Array -> Array -> Object -> *\n * @param {Array.} path The path of the method to invoke\n * @param {Array} args The arguments to invoke the method with\n * @param {Object} obj The object to query\n * @return {*}\n * @example\n *\n * RA.invokeArgs(['abs'], [-1], Math); //=> 1\n * RA.invokeArgs(['path', 'to', 'non-existent', 'method'], [-1], Math); //=> undefined\n */\n\nvar invokeArgs = curryN(3, function (mpath, args, obj) {\n var method = path(mpath, obj);\n var context = path(init(mpath), obj);\n if (isNotFunction(method)) return undefined;\n if (isEmptyArray(mpath)) return undefined;\n var boundMethod = bind(method, context);\n return apply(boundMethod, args);\n});\nexport default invokeArgs;","import { curryN, pipe, type, identical } from 'ramda';\nimport isFunction from './isFunction';\n\n/**\n * Checks if input value is `Array`.\n *\n * @func isArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.3.0|v0.3.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotArray|isNotArray}\n * @example\n *\n * RA.isArray([]); //=> true\n * RA.isArray(null); //=> false\n * RA.isArray({}); //=> false\n */\nvar isArray = curryN(1, isFunction(Array.isArray) ? Array.isArray : pipe(type, identical('Array')));\nexport default isArray;","import { equals } from 'ramda';\n\n/**\n * Checks if input value is an empty `String`.\n *\n * @func isEmptyString\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotEmptyString|isNotEmptyString}\n * @example\n *\n * RA.isEmptyString(''); // => true\n * RA.isEmptyString('42'); // => false\n * RA.isEmptyString(new String('42')); // => false\n * RA.isEmptyString(new String('')); // => false\n * RA.isEmptyString([42]); // => false\n * RA.isEmptyString({}); // => false\n * RA.isEmptyString(null); // => false\n * RA.isEmptyString(undefined); // => false\n * RA.isEmptyString(42); // => false\n */\nvar isEmptyString = equals('');\nexport default isEmptyString;","import { both } from 'ramda';\nimport isNumber from '../../isNumber';\n\n// eslint-disable-next-line no-restricted-globals\nvar isFinitePonyfill = both(isNumber, isFinite);\nexport default isFinitePonyfill;","import { bind, curryN } from 'ramda';\nimport isFunction from './isFunction';\nimport ponyfill from './internal/ponyfills/Number.isFinite';\nexport var isFinitePonyfill = curryN(1, ponyfill);\n\n/**\n * Checks whether the passed value is a finite `Number`.\n *\n * @func isFinite\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.7.0|v0.7.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotFinite|isNotFinite}\n * @example\n *\n * RA.isFinite(Infinity); //=> false\n * RA.isFinite(NaN); //=> false\n * RA.isFinite(-Infinity); //=> false\n *\n * RA.isFinite(0); // true\n * RA.isFinite(2e64); // true\n *\n * RA.isFinite('0'); // => false\n * // would've been true with global isFinite('0')\n * RA.isFinite(null); // => false\n * // would've been true with global isFinite(null)\n */\nvar _isFinite = isFunction(Number.isFinite) ? curryN(1, bind(Number.isFinite, Number)) : isFinitePonyfill;\nexport default _isFinite;","import _curry1 from \"./internal/_curry1.js\";\nimport curryN from \"./curryN.js\";\nimport max from \"./max.js\";\nimport pluck from \"./pluck.js\";\nimport reduce from \"./reduce.js\";\n/**\n * Takes a list of predicates and returns a predicate that returns true for a\n * given list of arguments if at least one of the provided predicates is\n * satisfied by those arguments.\n *\n * The function returned is a curried function whose arity matches that of the\n * highest-arity predicate.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Logic\n * @sig [(*... -> Boolean)] -> (*... -> Boolean)\n * @param {Array} predicates An array of predicates to check\n * @return {Function} The combined predicate\n * @see R.allPass, R.either\n * @example\n *\n * const isClub = R.propEq('♣', 'suit');\n * const isSpade = R.propEq('♠', 'suit');\n * const isBlackCard = R.anyPass([isClub, isSpade]);\n *\n * isBlackCard({rank: '10', suit: '♣'}); //=> true\n * isBlackCard({rank: 'Q', suit: '♠'}); //=> true\n * isBlackCard({rank: 'Q', suit: '♦'}); //=> false\n */\n\nvar anyPass =\n/*#__PURE__*/\n_curry1(function anyPass(preds) {\n return curryN(reduce(max, 0, pluck('length', preds)), function () {\n var idx = 0;\n var len = preds.length;\n\n while (idx < len) {\n if (preds[idx].apply(this, arguments)) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n });\n});\n\nexport default anyPass;","import { type, identical, pipe, curryN } from 'ramda';\n\n/**\n * Checks if input value is `Generator Function`.\n *\n * @func isGeneratorFunction\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isFunction|isFunction}, {@link RA.isAsyncFunction|isAsyncFunction}, {@link RA.isNotGeneratorFunction|isNotGeneratorFunction}\n * @example\n *\n * RA.isGeneratorFunction(function* test() { }); //=> true\n * RA.isGeneratorFunction(null); //=> false\n * RA.isGeneratorFunction(function test() { }); //=> false\n * RA.isGeneratorFunction(() => {}); //=> false\n */\nvar isGeneratorFunction = curryN(1, pipe(type, identical('GeneratorFunction')));\nexport default isGeneratorFunction;","import { pipe, type, identical, curryN } from 'ramda';\n\n/**\n * Checks if input value is `Async Function`.\n *\n * @func isAsyncFunction\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isFunction|isFunction}, {@link RA.isNotAsyncFunction|isNotAsyncFunction}, {@link RA.isGeneratorFunction|isGeneratorFunction}\n * @example\n *\n * RA.isAsyncFunction(async function test() { }); //=> true\n * RA.isAsyncFunction(null); //=> false\n * RA.isAsyncFunction(function test() { }); //=> false\n * RA.isAsyncFunction(() => {}); //=> false\n */\nvar isAsyncFunction = curryN(1, pipe(type, identical('AsyncFunction')));\nexport default isAsyncFunction;","import { anyPass, type, pipe, identical } from 'ramda';\nimport isGeneratorFunction from './isGeneratorFunction';\nimport isAsyncFunction from './isAsyncFunction';\n\n/**\n * Checks if input value is `Function`.\n *\n * @func isFunction\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotFunction|isNotFunction}, {@link RA.isAsyncFunction|isNotAsyncFunction}, {@link RA.isGeneratorFunction|isGeneratorFunction}\n * @example\n *\n * RA.isFunction(function test() { }); //=> true\n * RA.isFunction(function* test() { }); //=> true\n * RA.isFunction(async function test() { }); //=> true\n * RA.isFunction(() => {}); //=> true\n * RA.isFunction(null); //=> false\n * RA.isFunction('abc'); //=> false\n */\nvar isFunction = anyPass([pipe(type, identical('Function')), isGeneratorFunction, isAsyncFunction]);\nexport default isFunction;","import _curry2 from \"./internal/_curry2.js\";\nimport _map from \"./internal/_map.js\";\nimport curryN from \"./curryN.js\";\nimport max from \"./max.js\";\nimport pluck from \"./pluck.js\";\nimport reduce from \"./reduce.js\";\n/**\n * Accepts a converging function and a list of branching functions and returns\n * a new function. The arity of the new function is the same as the arity of\n * the longest branching function. When invoked, this new function is applied\n * to some arguments, and each branching function is applied to those same\n * arguments. The results of each branching function are passed as arguments\n * to the converging function to produce the return value.\n *\n * @func\n * @memberOf R\n * @since v0.4.2\n * @category Function\n * @sig ((x1, x2, ...) -> z) -> [((a, b, ...) -> x1), ((a, b, ...) -> x2), ...] -> (a -> b -> ... -> z)\n * @param {Function} after A function. `after` will be invoked with the return values of\n * `fn1` and `fn2` as its arguments.\n * @param {Array} functions A list of functions.\n * @return {Function} A new function.\n * @see R.useWith\n * @example\n *\n * const average = R.converge(R.divide, [R.sum, R.length])\n * average([1, 2, 3, 4, 5, 6, 7]) //=> 4\n *\n * const strangeConcat = R.converge(R.concat, [R.toUpper, R.toLower])\n * strangeConcat(\"Yodel\") //=> \"YODELyodel\"\n *\n * @symb R.converge(f, [g, h])(a, b) = f(g(a, b), h(a, b))\n */\n\nvar converge =\n/*#__PURE__*/\n_curry2(function converge(after, fns) {\n return curryN(reduce(max, 0, pluck('length', fns)), function () {\n var args = arguments;\n var context = this;\n return after.apply(context, _map(function (fn) {\n return fn.apply(context, args);\n }, fns));\n });\n});\n\nexport default converge;","export default function _identity(x) {\n return x;\n}","import _curry1 from \"./internal/_curry1.js\";\nimport _identity from \"./internal/_identity.js\";\n/**\n * A function that does nothing but return the parameter supplied to it. Good\n * as a default or placeholder function.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig a -> a\n * @param {*} x The value to return.\n * @return {*} The input value, `x`.\n * @example\n *\n * R.identity(1); //=> 1\n *\n * const obj = {};\n * R.identity(obj) === obj; //=> true\n * @symb R.identity(a) = a\n */\n\nvar identity =\n/*#__PURE__*/\n_curry1(_identity);\n\nexport default identity;","import { both, converge, equals, identity } from 'ramda';\nimport isFinite from '../../isFinite';\nvar isIntegerPonyfill = both(isFinite, converge(equals, [Math.floor, identity]));\nexport default isIntegerPonyfill;","import { bind, curryN } from 'ramda';\nimport isFunction from './isFunction';\nimport ponyfill from './internal/ponyfills/Number.isInteger';\nexport var isIntegerPonyfill = curryN(1, ponyfill);\n\n/**\n * Checks whether the passed value is an `integer`.\n *\n * @func isInteger\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.7.0|v0.7.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotInteger|isNotInteger}\n * @example\n *\n * RA.isInteger(0); //=> true\n * RA.isInteger(1); //=> true\n * RA.isInteger(-100000); //=> true\n *\n * RA.isInteger(0.1); //=> false\n * RA.isInteger(Math.PI); //=> false\n *\n * RA.isInteger(NaN); //=> false\n * RA.isInteger(Infinity); //=> false\n * RA.isInteger(-Infinity); //=> false\n * RA.isInteger('10'); //=> false\n * RA.isInteger(true); //=> false\n * RA.isInteger(false); //=> false\n * RA.isInteger([1]); //=> false\n */\nvar isInteger = isFunction(Number.isInteger) ? curryN(1, bind(Number.isInteger, Number)) : isIntegerPonyfill;\nexport default isInteger;","import _curry1 from \"./internal/_curry1.js\";\nimport curryN from \"./curryN.js\";\nimport max from \"./max.js\";\nimport pluck from \"./pluck.js\";\nimport reduce from \"./reduce.js\";\n/**\n * Takes a list of predicates and returns a predicate that returns true for a\n * given list of arguments if every one of the provided predicates is satisfied\n * by those arguments.\n *\n * The function returned is a curried function whose arity matches that of the\n * highest-arity predicate.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Logic\n * @sig [(*... -> Boolean)] -> (*... -> Boolean)\n * @param {Array} predicates An array of predicates to check\n * @return {Function} The combined predicate\n * @see R.anyPass, R.both\n * @example\n *\n * const isQueen = R.propEq('Q', 'rank');\n * const isSpade = R.propEq('♠︎', 'suit');\n * const isQueenOfSpades = R.allPass([isQueen, isSpade]);\n *\n * isQueenOfSpades({rank: 'Q', suit: '♣︎'}); //=> false\n * isQueenOfSpades({rank: 'Q', suit: '♠︎'}); //=> true\n */\n\nvar allPass =\n/*#__PURE__*/\n_curry1(function allPass(preds) {\n return curryN(reduce(max, 0, pluck('length', preds)), function () {\n var idx = 0;\n var len = preds.length;\n\n while (idx < len) {\n if (!preds[idx].apply(this, arguments)) {\n return false;\n }\n\n idx += 1;\n }\n\n return true;\n });\n});\n\nexport default allPass;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns the first argument if it is truthy, otherwise the second argument.\n * Acts as the boolean `or` statement if both inputs are `Boolean`s.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {Any} a\n * @param {Any} b\n * @return {Any}\n * @see R.either, R.and\n * @example\n *\n * R.or(true, true); //=> true\n * R.or(true, false); //=> true\n * R.or(false, true); //=> true\n * R.or(false, false); //=> false\n */\n\nvar or =\n/*#__PURE__*/\n_curry2(function or(a, b) {\n return a || b;\n});\n\nexport default or;","import _curry2 from \"./internal/_curry2.js\";\nimport _isFunction from \"./internal/_isFunction.js\";\nimport lift from \"./lift.js\";\nimport or from \"./or.js\";\n/**\n * A function wrapping calls to the two functions in an `||` operation,\n * returning the result of the first function if it is truth-y and the result\n * of the second function otherwise. Note that this is short-circuited,\n * meaning that the second function will not be invoked if the first returns a\n * truth-y value.\n *\n * In addition to functions, `R.either` also accepts any fantasy-land compatible\n * applicative functor.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> Boolean) -> (*... -> Boolean)\n * @param {Function} f a predicate\n * @param {Function} g another predicate\n * @return {Function} a function that applies its arguments to `f` and `g` and `||`s their outputs together.\n * @see R.both, R.anyPass, R.or\n * @example\n *\n * const gt10 = x => x > 10;\n * const even = x => x % 2 === 0;\n * const f = R.either(gt10, even);\n * f(101); //=> true\n * f(8); //=> true\n *\n * R.either(Maybe.Just(false), Maybe.Just(55)); // => Maybe.Just(55)\n * R.either([false, false, 'a'], [11]) // => [11, 11, \"a\"]\n */\n\nvar either =\n/*#__PURE__*/\n_curry2(function either(f, g) {\n return _isFunction(f) ? function _either() {\n return f.apply(this, arguments) || g.apply(this, arguments);\n } : lift(or)(f, g);\n});\n\nexport default either;","import { both, either, curryN } from 'ramda';\nimport isNotNull from './isNotNull';\nimport isFunction from './isFunction';\nimport isOfTypeObject from './internal/isOfTypeObject';\n\n/* eslint-disable max-len */\n/**\n * Checks if input value is language type of `Object`.\n *\n * @func isObj\n * @aliases isObject\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotObj|isNotObj}, {@link RA.isObjLike|isObjLike}, {@link RA.isPlainObj|isPlainObj}\n * @example\n *\n * RA.isObj({}); //=> true\n * RA.isObj([]); //=> true\n * RA.isObj(() => {}); //=> true\n * RA.isObj(null); //=> false\n * RA.isObj(undefined); //=> false\n */\n/* eslint-enable max-len */\nvar isObj = curryN(1, both(isNotNull, either(isOfTypeObject, isFunction)));\nexport default isObj;","import { complement } from 'ramda';\nimport isObj from './isObj';\n\n/* eslint-disable max-len */\n/**\n * Checks if input value is complement of language type of `Object`.\n *\n * @func isNotObj\n * @aliases isNotObject\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isObj|isObj}, {@link RA.isObjLike|isObjLike}, {@link RA.isPlainObj|isPlainObj}\n * @example\n *\n * RA.isNotObj({}); //=> false\n * RA.isNotObj([]); //=> false\n * RA.isNotObj(() => {}); //=> false\n * RA.isNotObj(null); //=> true\n * RA.isNotObj(undefined); //=> true\n */\n/* eslint-enable max-len */\nvar isNotObj = complement(isObj);\nexport default isNotObj;","import { allPass } from 'ramda';\nimport isString from './isString';\nimport isNotObj from './isNotObj';\nimport isNotEmpty from './isNotEmpty';\n\n/**\n * Checks if input value is not an empty `String`.\n *\n * @func isNonEmptyString\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isEmptyString|isEmptyString}\n * @example\n *\n * RA.isNonEmptyString('42'); // => true\n * RA.isNonEmptyString(''); // => false\n * RA.isNonEmptyString(new String('42')); // => false\n * RA.isNonEmptyString(new String('')); // => false\n * RA.isNonEmptyString([42]); // => false\n * RA.isNonEmptyString({}); // => false\n * RA.isNonEmptyString(null); // => false\n * RA.isNonEmptyString(undefined); // => false\n * RA.isNonEmptyString(42); // => false\n */\nvar isNonEmptyString = allPass([isString, isNotObj, isNotEmpty]);\nexport default isNonEmptyString;","import { complement } from 'ramda';\nimport isArray from './isArray';\n\n/**\n * Checks if input value is complement of `Array`\n *\n * @func isNotArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.3.0|v0.3.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isArray|isArray}\n * @example\n *\n * RA.isNotArray([]); //=> false\n * RA.isNotArray(null); //=> true\n * RA.isNotArray({}); //=> true\n */\nvar isNotArray = complement(isArray);\nexport default isNotArray;","import { complement, isEmpty } from 'ramda';\n\n/**\n * Returns true if the given value is not its type's empty value; `false` otherwise.\n *\n * @func isNotEmpty\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.4.0|v0.4.0}\n * @category Logic\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link http://ramdajs.com/docs/#isEmpty|R.isEmpty}\n * @example\n *\n * RA.isNotEmpty([1, 2, 3]); //=> true\n * RA.isNotEmpty([]); //=> false\n * RA.isNotEmpty(''); //=> false\n * RA.isNotEmpty(null); //=> true\n * RA.isNotEmpty(undefined): //=> true\n * RA.isNotEmpty({}); //=> false\n * RA.isNotEmpty({length: 0}); //=> true\n */\nvar isNotEmpty = complement(isEmpty);\nexport default isNotEmpty;","import { complement } from 'ramda';\nimport isFunction from './isFunction';\n\n/* eslint-disable max-len */\n/**\n * Checks if input value is complement of `Function`.\n *\n * @func isNotFunction\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isFunction|isFunction}, {@link RA.isAsyncFunction|isNotAsyncFunction}, {@link RA.isGeneratorFunction|isGeneratorFunction}\n * @example\n *\n * RA.isNotFunction(function test() { }); //=> false\n * RA.isNotFunction(function* test() { }); //=> false\n * RA.isNotFunction(async function test() { }); //=> false\n * RA.isNotFunction(() => {}); //=> false\n * RA.isNotFunction(null); //=> true\n * RA.isNotFunction('abc'); //=> true\n */\n/* eslint-enable max-len */\nvar isNotFunction = complement(isFunction);\nexport default isNotFunction;","import { complement } from 'ramda';\nimport isNull from './isNull';\n\n/**\n * Checks if input value is complement of `null`.\n *\n * @func isNotNull\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.1.0|v0.1.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNull|isNull}\n * @example\n *\n * RA.isNotNull(1); //=> true\n * RA.isNotNull(undefined); //=> true\n * RA.isNotNull(null); //=> false\n */\nvar isNotNull = complement(isNull);\nexport default isNotNull;","import { complement } from 'ramda';\nimport isUndefined from './isUndefined';\n\n/**\n * Checks if input value is complement `undefined`.\n *\n * @func isNotUndefined\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.0.1|v0.0.1}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isUndefined|isUndefined}\n * @example\n *\n * RA.isNotUndefined(1); //=> true\n * RA.isNotUndefined(undefined); //=> false\n * RA.isNotUndefined(null); //=> true\n */\nvar isNotUndefined = complement(isUndefined);\nexport default isNotUndefined;","import { equals } from 'ramda';\n\n/**\n * Checks if input value is `null`.\n *\n * @func isNull\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.1.0|v0.1.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotNull|isNotNull}\n * @example\n *\n * RA.isNull(1); //=> false\n * RA.isNull(undefined); //=> false\n * RA.isNull(null); //=> true\n */\nvar isNull = equals(null);\nexport default isNull;","import { curryN, pipe, type, identical } from 'ramda';\n\n/**\n * Checks if value is a `Number` primitive or object.\n *\n * @func isNumber\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.6.0|v0.6.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotNumber|isNotNumber}\n * @example\n *\n * RA.isNumber(5); // => true\n * RA.isNumber(Number.MAX_VALUE); // => true\n * RA.isNumber(-Infinity); // => true\n * RA.isNumber(NaN); // => true\n * RA.isNumber('5'); // => false\n */\nvar isNumber = curryN(1, pipe(type, identical('Number')));\nexport default isNumber;","import { both, curryN } from 'ramda';\nimport isNotNull from './isNotNull';\nimport isOfTypeObject from './internal/isOfTypeObject';\n\n/* eslint-disable max-len */\n/**\n * Checks if value is object-like. A value is object-like if it's not null and has a typeof result of \"object\".\n *\n * @func isObjLike\n * @aliases isObjectLike\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotObjLike|isNotObjLike}, {@link RA.isObj|isObj}, {@link RA.isPlainObj|isPlainObj}\n * @example\n *\n * RA.isObjLike({}); //=> true\n * RA.isObjLike([]); //=> true\n * RA.isObjLike(() => {}); //=> false\n * RA.isObjLike(null); //=> false\n * RA.isObjLike(undefined); //=> false\n */\n/* eslint-enable max-len */\nvar isObjLike = curryN(1, both(isNotNull, isOfTypeObject));\nexport default isObjLike;","import { pipe, type, identical, both, equals, toString, pathSatisfies, curryN } from 'ramda';\nimport isNull from './isNull';\nimport isObjLike from './isObjLike';\nimport isFunction from './isFunction';\nvar isObject = pipe(type, identical('Object'));\nvar isObjectConstructor = pipe(toString, equals(toString(Object)));\nvar hasObjectConstructor = pathSatisfies(both(isFunction, isObjectConstructor), ['constructor']);\n\n/* eslint-disable max-len */\n/**\n * Check to see if an object is a plain object (created using `{}`, `new Object()` or `Object.create(null)`).\n *\n * @func isPlainObj\n * @aliases isPlainObject\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotPlainObj|isNotPlainObj}, {@link RA.isObjLike|isObjLike}, {@link RA.isObj|isObj}\n * @example\n *\n * class Bar {\n * constructor() {\n * this.prop = 'value';\n * }\n * }\n *\n * RA.isPlainObj(new Bar()); //=> false\n * RA.isPlainObj({ prop: 'value' }); //=> true\n * RA.isPlainObj(['a', 'b', 'c']); //=> false\n * RA.isPlainObj(Object.create(null); //=> true\n * RA.isPlainObj(new Object()); //=> true\n */\n/* eslint-enable max-len */\nvar isPlainObj = curryN(1, function (val) {\n if (!isObjLike(val) || !isObject(val)) {\n return false;\n }\n var proto = Object.getPrototypeOf(val);\n if (isNull(proto)) {\n return true;\n }\n return hasObjectConstructor(proto);\n});\nexport default isPlainObj;","import { curryN, pipe, type, identical } from 'ramda';\n\n/**\n * Checks if input value is `String`.\n *\n * @func isString\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.4.0|v0.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotString|isNotString}\n * @example\n *\n * RA.isString('abc'); //=> true\n * RA.isString(1); //=> false\n */\nvar isString = curryN(1, pipe(type, identical('String')));\nexport default isString;","import { equals } from 'ramda';\nimport stubUndefined from './stubUndefined';\n\n/**\n * Checks if input value is `undefined`.\n *\n * @func isUndefined\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.0.1|v0.0.1}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotUndefined|isNotUndefined}\n * @example\n *\n * RA.isUndefined(1); //=> false\n * RA.isUndefined(undefined); //=> true\n * RA.isUndefined(null); //=> false\n */\nvar isUndefined = equals(stubUndefined());\nexport default isUndefined;","import { always } from 'ramda';\nimport stubUndefined from './stubUndefined';\n\n/**\n * A function that performs no operations.\n *\n * @func noop\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/1.0.0|v1.0.0}\n * @category Function\n * @sig ... -> undefined\n * @return {undefined}\n * @example\n *\n * RA.noop(); //=> undefined\n * RA.noop(1, 2, 3); //=> undefined\n */\nvar noop = always(stubUndefined());\nexport default noop;","import { complement } from 'ramda';\nimport _isFinite from './isFinite';\n\n/**\n * Checks whether the passed value is complement of finite `Number`.\n *\n *\n * @func isNotFinite\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.7.0|v0.7.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isFinite|isFinite}\n * @example\n *\n * RA.isNotFinite(Infinity); //=> true\n * RA.isNotFinite(NaN); //=> true\n * RA.isNotFinite(-Infinity); //=> true\n *\n * RA.isNotFinite(0); // false\n * RA.isNotFinite(2e64); // false\n *\n * RA.isNotFinite('0'); // => true\n * RA.isNotFinite(null); // => true\n */\nvar isNotFinite = complement(_isFinite);\nexport default isNotFinite;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns `true` if the first argument is greater than the second; `false`\n * otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @see R.lt\n * @example\n *\n * R.gt(2, 1); //=> true\n * R.gt(2, 2); //=> false\n * R.gt(2, 3); //=> false\n * R.gt('a', 'z'); //=> false\n * R.gt('z', 'a'); //=> true\n */\n\nvar gt =\n/*#__PURE__*/\n_curry2(function gt(a, b) {\n return a > b;\n});\n\nexport default gt;","import { both, gt, curryN } from 'ramda';\nimport isNumber from './isNumber';\n\n/**\n * Checks if value is a negative `Number` primitive or object. Zero is not considered neither\n * positive or negative.\n *\n * @func isNegative\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/1.15.0|v1.15.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isPositive|isPositive}\n * @example\n *\n * RA.isNegative(-1); // => true\n * RA.isNegative(Number.MIN_VALUE); // => false\n * RA.isNegative(+Infinity); // => false\n * RA.isNegative(NaN); // => false\n * RA.isNegative('5'); // => false\n */\nvar isNegative = curryN(1, both(isNumber, gt(0)));\nexport default isNegative;","import isNotFinite from '../../isNotFinite';\nimport isNegative from '../../isNegative';\nvar repeat = function repeat(value, count) {\n var validCount = Number(count);\n if (validCount !== count) {\n validCount = 0;\n }\n if (isNegative(validCount)) {\n throw new RangeError('repeat count must be non-negative');\n }\n if (isNotFinite(validCount)) {\n throw new RangeError('repeat count must be less than infinity');\n }\n validCount = Math.floor(validCount);\n if (value.length === 0 || validCount === 0) {\n return '';\n }\n\n // Ensuring validCount is a 31-bit integer allows us to heavily optimize the\n // main part. But anyway, most current (August 2014) browsers can't handle\n // strings 1 << 28 chars or longer, so:\n // eslint-disable-next-line no-bitwise\n if (value.length * validCount >= 1 << 28) {\n throw new RangeError('repeat count must not overflow maximum string size');\n }\n var maxCount = value.length * validCount;\n validCount = Math.floor(Math.log(validCount) / Math.log(2));\n var result = value;\n while (validCount) {\n result += value;\n validCount -= 1;\n }\n result += result.substring(0, maxCount - result.length);\n return result;\n};\nexport default repeat;","import { curry, invoker, flip } from 'ramda';\nimport ponyfill from './internal/ponyfills/String.repeat';\nimport isFunction from './isFunction';\nexport var repeatStrPonyfill = curry(ponyfill);\nexport var repeatStrInvoker = flip(invoker(1, 'repeat'));\n\n/**\n * Constructs and returns a new string which contains the specified\n * number of copies of the string on which it was called, concatenated together.\n *\n * @func repeatStr\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.11.0|v2.11.0}\n * @category List\n * @sig String -> Number -> String\n * @param {string} value String value to be repeated\n * @param {number} count An integer between 0 and +∞: [0, +∞), indicating the number of times to repeat the string in the newly-created string that is to be returned\n * @return {string} A new string containing the specified number of copies of the given string\n * @example\n *\n * RA.repeatStr('a', 3); //=> 'aaa'\n */\nvar repeatStr = isFunction(String.prototype.repeat) ? repeatStrInvoker : repeatStrPonyfill;\nexport default repeatStr;","import { type, identical, pipe, curryN } from 'ramda';\n\n/**\n * Checks if value is `RegExp` object.\n *\n * @func isRegExp\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.5.0|v2.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotRegExp|isNotRegExp}\n * @example\n *\n * RA.isRegExp(new RegExp()); //=> true\n * RA.isRegExp(/(?:)/); //=> true\n * RA.isRegExp(1); //=> false\n */\nvar isRegExp = curryN(1, pipe(type, identical('RegExp')));\nexport default isRegExp;","import { when, replace } from 'ramda';\nimport isString from './isString';\n\n/**\n * Escapes the RegExp special characters.\n *\n * @func escapeRegExp\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.21.0|v2.21.0}\n * @category String\n * @sig String -> String\n * @param {string} val the value to escape\n * @return {string}\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping|MDN Regular Expressions Escaping}\n * @example\n *\n * RA.escapeRegExp('[ramda-adjunct](https://github.com/char0n/ramda-adjunct)'); //=> '\\[ramda\\-adjunct\\]\\(https://github\\.com/char0n/ramda\\-adjunct\\)'\n */\nvar escapeRegExp = when(isString, replace(/[.*+?^${}()|[\\]\\\\-]/g, '\\\\$&'));\nexport default escapeRegExp;","import { replace } from 'ramda';\nimport isRegExp from '../../isRegExp';\nimport escapeRegExp from '../../escapeRegExp';\nvar checkArguments = function checkArguments(searchValue, replaceValue, str) {\n if (str == null || searchValue == null || replaceValue == null) {\n throw TypeError('Input values must not be `null` or `undefined`');\n }\n};\nvar checkValue = function checkValue(value, valueName) {\n if (typeof value !== 'string') {\n if (!(value instanceof String)) {\n throw TypeError(\"`\".concat(valueName, \"` must be a string\"));\n }\n }\n};\nvar checkSearchValue = function checkSearchValue(searchValue) {\n if (typeof searchValue !== 'string' && !(searchValue instanceof String) && !(searchValue instanceof RegExp)) {\n throw TypeError('`searchValue` must be a string or an regexp');\n }\n};\nvar replaceAll = function replaceAll(searchValue, replaceValue, str) {\n checkArguments(searchValue, replaceValue, str);\n checkValue(str, 'str');\n checkValue(replaceValue, 'replaceValue');\n checkSearchValue(searchValue);\n var regexp = new RegExp(isRegExp(searchValue) ? searchValue : escapeRegExp(searchValue), 'g');\n return replace(regexp, replaceValue, str);\n};\nexport default replaceAll;","import { curryN, invoker } from 'ramda';\nimport isFunction from './isFunction';\nimport ponyfill from './internal/ponyfills/String.replaceAll';\nexport var replaceAllPonyfill = curryN(3, ponyfill);\nexport var replaceAllInvoker = invoker(2, 'replaceAll');\n\n/**\n * Replaces all substring matches in a string with a replacement.\n *\n * @func replaceAll\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.17.0|v2.17.0}\n * @category String\n * @sig String -> String -> String -> String\n * @param {string} searchValue The substring or a global RegExp to match\n * @param {string} replaceValue The string to replace the matches with\n * @param {string} str The String to do the search and replacement in\n * @return {string} A new string containing all the `searchValue` replaced with the `replaceValue`\n * @throws {TypeError} When invalid arguments provided\n * @see {@link http://ramdajs.com/docs/#replace|R.replace}, {@link https://github.com/tc39/proposal-string-replaceall|TC39 proposal}\n * @example\n *\n * RA.replaceAll('ac', 'ef', 'ac ab ac ab'); //=> 'ef ab ef ab'\n * RA.replaceAll('', '_', 'xxx'); //=> '_x_x_x_'\n * RA.replaceAll(/x/g, 'v', 'xxx'); //=> 'vvv'\n * RA.replaceAll(/x/, 'v', 'xxx'); //=> TypeError\n */\nvar replaceAll = isFunction(String.prototype.replaceAll) ? replaceAllInvoker : replaceAllPonyfill;\nexport default replaceAll;","import { always } from 'ramda';\n\n/**\n * A function that returns `undefined`.\n *\n * @func stubUndefined\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/1.0.0|v1.0.0}\n * @category Function\n * @sig ... -> undefined\n * @return {undefined}\n * @example\n *\n * RA.stubUndefined(); //=> undefined\n * RA.stubUndefined(1, 2, 3); //=> undefined\n */\nvar stubUndefined = always(void 0); // eslint-disable-line no-void\n\nexport default stubUndefined;","import slice from \"../slice.js\";\nexport default function dropLastWhile(pred, xs) {\n var idx = xs.length - 1;\n\n while (idx >= 0 && pred(xs[idx])) {\n idx -= 1;\n }\n\n return slice(0, idx + 1, xs);\n}","import _xfBase from \"./_xfBase.js\";\nimport _xReduce from \"./_xReduce.js\";\n\nvar XDropLastWhile =\n/*#__PURE__*/\nfunction () {\n function XDropLastWhile(fn, xf) {\n this.f = fn;\n this.retained = [];\n this.xf = xf;\n }\n\n XDropLastWhile.prototype['@@transducer/init'] = _xfBase.init;\n\n XDropLastWhile.prototype['@@transducer/result'] = function (result) {\n this.retained = null;\n return this.xf['@@transducer/result'](result);\n };\n\n XDropLastWhile.prototype['@@transducer/step'] = function (result, input) {\n return this.f(input) ? this.retain(result, input) : this.flush(result, input);\n };\n\n XDropLastWhile.prototype.flush = function (result, input) {\n result = _xReduce(this.xf, result, this.retained);\n this.retained = [];\n return this.xf['@@transducer/step'](result, input);\n };\n\n XDropLastWhile.prototype.retain = function (result, input) {\n this.retained.push(input);\n return result;\n };\n\n return XDropLastWhile;\n}();\n\nexport default function _xdropLastWhile(fn) {\n return function (xf) {\n return new XDropLastWhile(fn, xf);\n };\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _dropLastWhile from \"./internal/_dropLastWhile.js\";\nimport _xdropLastWhile from \"./internal/_xdropLastWhile.js\";\n/**\n * Returns a new list excluding all the tailing elements of a given list which\n * satisfy the supplied predicate function. It passes each value from the right\n * to the supplied predicate function, skipping elements until the predicate\n * function returns a `falsy` value. The predicate function is applied to one argument:\n * *(value)*.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> [a]\n * @sig (a -> Boolean) -> String -> String\n * @param {Function} predicate The function to be called on each element\n * @param {Array} xs The collection to iterate over.\n * @return {Array} A new array without any trailing elements that return `falsy` values from the `predicate`.\n * @see R.takeLastWhile, R.addIndex, R.drop, R.dropWhile\n * @example\n *\n * const lteThree = x => x <= 3;\n *\n * R.dropLastWhile(lteThree, [1, 2, 3, 4, 3, 2, 1]); //=> [1, 2, 3, 4]\n *\n * R.dropLastWhile(x => x !== 'd' , 'Ramda'); //=> 'Ramd'\n */\n\nvar dropLastWhile =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xdropLastWhile, _dropLastWhile));\n\nexport default dropLastWhile;","import { curry, dropLastWhile, join, pipe, split } from 'ramda';\nimport included from './included';\n\n/**\n * Removes specified characters from the end of a string.\n *\n * @func trimCharsEnd\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.25.0|v2.25.0}\n * @category String\n * @sig String -> String\n * @param {string} chars The characters to trim\n * @param {string} value The string to trim\n * @return {string} Returns the trimmed string.\n * @example\n *\n * RA.trimCharsEnd('_-', '-_-abc-_-'); //=> '-_-abc'\n */\n\nvar trimCharsEnd = curry(function (chars, value) {\n return pipe(split(''), dropLastWhile(included(chars)), join(''))(value);\n});\nexport default trimCharsEnd;","import _xfBase from \"./_xfBase.js\";\n\nvar XDropWhile =\n/*#__PURE__*/\nfunction () {\n function XDropWhile(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XDropWhile.prototype['@@transducer/init'] = _xfBase.init;\n XDropWhile.prototype['@@transducer/result'] = _xfBase.result;\n\n XDropWhile.prototype['@@transducer/step'] = function (result, input) {\n if (this.f) {\n if (this.f(input)) {\n return result;\n }\n\n this.f = null;\n }\n\n return this.xf['@@transducer/step'](result, input);\n };\n\n return XDropWhile;\n}();\n\nexport default function _xdropWhile(f) {\n return function (xf) {\n return new XDropWhile(f, xf);\n };\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _xdropWhile from \"./internal/_xdropWhile.js\";\nimport slice from \"./slice.js\";\n/**\n * Returns a new list excluding the leading elements of a given list which\n * satisfy the supplied predicate function. It passes each value to the supplied\n * predicate function, skipping elements while the predicate function returns\n * `true`. The predicate function is applied to one argument: *(value)*.\n *\n * Dispatches to the `dropWhile` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> [a]\n * @sig (a -> Boolean) -> String -> String\n * @param {Function} fn The function called per iteration.\n * @param {Array} xs The collection to iterate over.\n * @return {Array} A new array.\n * @see R.takeWhile, R.transduce, R.addIndex\n * @example\n *\n * const lteTwo = x => x <= 2;\n *\n * R.dropWhile(lteTwo, [1, 2, 3, 4, 3, 2, 1]); //=> [3, 4, 3, 2, 1]\n *\n * R.dropWhile(x => x !== 'd' , 'Ramda'); //=> 'da'\n */\n\nvar dropWhile =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['dropWhile'], _xdropWhile, function dropWhile(pred, xs) {\n var idx = 0;\n var len = xs.length;\n\n while (idx < len && pred(xs[idx])) {\n idx += 1;\n }\n\n return slice(idx, Infinity, xs);\n}));\n\nexport default dropWhile;","import { curry, dropWhile, join, pipe, split } from 'ramda';\nimport included from './included';\n\n/**\n * Removes specified characters from the beginning of a string.\n *\n * @func trimCharsStart\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.24.0|v2.24.0}\n * @category String\n * @sig String -> String\n * @param {string} chars The characters to trim\n * @param {string} value The string to trim\n * @return {string} Returns the trimmed string.\n * @example\n *\n * RA.trimCharsStart('_-', '-_-abc-_-'); //=> 'abc-_-'\n */\n\nvar trimCharsStart = curry(function (chars, value) {\n return pipe(split(''), dropWhile(included(chars)), join(''))(value);\n});\nexport default trimCharsStart;","import { replace } from 'ramda';\nvar trimStart = replace(/[\\s\\uFEFF\\xA0]+$/, '');\nexport default trimStart;","import { invoker } from 'ramda';\nimport ponyfill from './internal/ponyfills/String.trimEnd';\nimport isFunction from './isFunction';\nexport var trimEndPonyfill = ponyfill;\nexport var trimEndInvoker = invoker(0, 'trimEnd');\n\n/**\n * Removes whitespace from the end of a string.\n *\n * @func trimEnd\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.22.0|v2.22.0}\n * @category String\n * @sig String -> String\n * @param {string} value String value to have the whitespace removed from the end\n * @return {string} A new string representing the calling string stripped of whitespace from its end (right end).\n * @see {@link RA.trimEnd|trimEnd}\n * @example\n *\n * RA.trimEnd('abc '); //=> 'abc'\n */\n\nvar trimEnd = isFunction(String.prototype.trimEnd) ? trimEndInvoker : trimEndPonyfill;\nexport default trimEnd;","import { replace } from 'ramda';\nvar trimStart = replace(/^[\\s\\uFEFF\\xA0]+/, '');\nexport default trimStart;","import { invoker } from 'ramda';\nimport ponyfill from './internal/ponyfills/String.trimStart';\nimport isFunction from './isFunction';\nexport var trimStartPonyfill = ponyfill;\nexport var trimStartInvoker = invoker(0, 'trimStart');\n\n/**\n * Removes whitespace from the beginning of a string.\n *\n * @func trimStart\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.22.0|v2.22.0}\n * @category String\n * @sig String -> String\n * @param {string} value String value to have the whitespace removed from the beginning\n * @return {string} A new string representing the calling string stripped of whitespace from its beginning (left end).\n * @example\n *\n * RA.trimStart(' abc'); //=> 'abc'\n */\n\nvar trimStart = isFunction(String.prototype.trimStart) ? trimStartInvoker : trimStartPonyfill;\nexport default trimStart;","/**\n * @packageDocumentation\n **/\n\n// Copyright 2017-2022 the Short Unique ID authors. All rights reserved. Apache 2.0 license.\n\n// @ts-ignore\nimport {version} from '../package.json';\n\nexport interface ShortUniqueIdRanges {\n [k: string]: [number, number];\n};\n\nexport interface ShortUniqueIdRangesMap {\n [k: string]: ShortUniqueIdRanges;\n};\n\nexport type ShortUniqueIdDefaultDictionaries = 'number' | 'alpha' | 'alpha_lower' | 'alpha_upper' | 'alphanum' | 'alphanum_lower' | 'alphanum_upper' | 'hex';\n\n/**\n * ```js\n * {\n * dictionary: ['z', 'a', 'p', 'h', 'o', 'd', ...],\n * shuffle: false,\n * debug: false,\n * length: 6,\n * }\n * ```\n *
\n * @see {@link DEFAULT_OPTIONS}\n */\nexport interface ShortUniqueIdOptions {\n /** User-defined character dictionary */\n dictionary: string[] | ShortUniqueIdDefaultDictionaries;\n\n /** If true, sequentialUUID use the dictionary in the given order */\n shuffle: boolean;\n\n /** If true the instance will console.log useful info */\n debug: boolean;\n\n /** From 1 to infinity, the length you wish your UUID to be */\n length: number;\n\n /** From 0 to infinity, the current value for the sequential UUID counter */\n counter: number;\n};\n\n/**\n * 6 was chosen as the default UUID length since for most cases\n * it will be more than aptly suitable to provide millions of UUIDs\n * with a very low probability of producing a duplicate UUID.\n *\n * For example, with a dictionary including digits from 0 to 9,\n * as well as the alphabet from a to z both in UPPER and lower case,\n * the probability of generating a duplicate in 1,000,000 rounds\n * is ~0.00000002, or about 1 in 50,000,000.\n */\nexport const DEFAULT_UUID_LENGTH: number = 6;\n\nexport const DEFAULT_OPTIONS: ShortUniqueIdOptions = {\n dictionary: 'alphanum',\n shuffle: true,\n debug: false,\n length: DEFAULT_UUID_LENGTH,\n counter: 0,\n};\n\n/**\n * Generate random or sequential UUID of any length.\n *\n * ### Use as module\n *\n * ```js\n * // Deno (web module) Import\n * import ShortUniqueId from 'https://cdn.jsdelivr.net/npm/short-unique-id@latest/src/index.ts';\n *\n * // ES6 / TypeScript Import\n * import ShortUniqueId from 'short-unique-id';\n *\n * // or Node.js require\n * const ShortUniqueId = require('short-unique-id');\n *\n * // Instantiate\n * const uid = new ShortUniqueId();\n *\n * // Random UUID\n * console.log(uid.rnd());\n *\n * // Sequential UUID\n * console.log(uid.seq());\n * ```\n *\n * ### Use in browser\n *\n * ```html\n * \n * \n *\n * \n * \n * ```\n *\n * ### Options\n *\n * Options can be passed when instantiating `uid`:\n *\n * ```js\n * const options = { ... };\n *\n * const uid = new ShortUniqueId(options);\n * ```\n *\n * For more information take a look at the [ShortUniqueIdOptions type definition](/interfaces/shortuniqueidoptions.html).\n */\nexport default class ShortUniqueId {\n /** @hidden */\n static default: typeof ShortUniqueId = ShortUniqueId;\n\n public counter: number;\n public debug: boolean;\n public dict: string[];\n public version: string;\n public dictIndex: number = 0;\n public dictRange: number[] =[];\n public lowerBound: number = 0;\n public upperBound: number = 0;\n public dictLength: number = 0;\n public uuidLength: number;\n\n protected _digit_first_ascii: number = 48;\n protected _digit_last_ascii: number = 58;\n protected _alpha_lower_first_ascii: number = 97;\n protected _alpha_lower_last_ascii: number = 123;\n protected _hex_last_ascii: number = 103;\n protected _alpha_upper_first_ascii: number = 65;\n protected _alpha_upper_last_ascii: number = 91;\n\n protected _number_dict_ranges: ShortUniqueIdRanges = {\n digits: [this._digit_first_ascii, this._digit_last_ascii],\n };\n\n protected _alpha_dict_ranges: ShortUniqueIdRanges = {\n lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],\n upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii],\n };\n\n protected _alpha_lower_dict_ranges: ShortUniqueIdRanges = {\n lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],\n };\n\n protected _alpha_upper_dict_ranges: ShortUniqueIdRanges = {\n upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii],\n };\n\n protected _alphanum_dict_ranges: ShortUniqueIdRanges = {\n digits: [this._digit_first_ascii, this._digit_last_ascii],\n lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],\n upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii],\n };\n\n protected _alphanum_lower_dict_ranges: ShortUniqueIdRanges = {\n digits: [this._digit_first_ascii, this._digit_last_ascii],\n lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],\n };\n\n protected _alphanum_upper_dict_ranges: ShortUniqueIdRanges = {\n digits: [this._digit_first_ascii, this._digit_last_ascii],\n upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii],\n };\n\n protected _hex_dict_ranges: ShortUniqueIdRanges = {\n decDigits: [this._digit_first_ascii, this._digit_last_ascii],\n alphaDigits: [this._alpha_lower_first_ascii, this._hex_last_ascii],\n };\n\n protected _dict_ranges: ShortUniqueIdRangesMap = {\n _number_dict_ranges: this._number_dict_ranges,\n _alpha_dict_ranges: this._alpha_dict_ranges,\n _alpha_lower_dict_ranges: this._alpha_lower_dict_ranges,\n _alpha_upper_dict_ranges: this._alpha_upper_dict_ranges,\n _alphanum_dict_ranges: this._alphanum_dict_ranges,\n _alphanum_lower_dict_ranges: this._alphanum_lower_dict_ranges,\n _alphanum_upper_dict_ranges: this._alphanum_upper_dict_ranges,\n _hex_dict_ranges: this._hex_dict_ranges,\n };\n\n /* tslint:disable consistent-return */\n protected log = (...args: any[]): void => {\n const finalArgs = [...args];\n finalArgs[0] = `[short-unique-id] ${args[0]}`;\n /* tslint:disable no-console */\n if (this.debug === true) {\n if (typeof console !== 'undefined' && console !== null) {\n return console.log(...finalArgs);\n }\n }\n /* tslint:enable no-console */\n };\n /* tslint:enable consistent-return */\n\n /** Change the dictionary after initialization. */\n setDictionary = (dictionary: string[] | ShortUniqueIdDefaultDictionaries, shuffle?: boolean): void => {\n let finalDict: string[];\n\n if (dictionary && Array.isArray(dictionary) && dictionary.length > 1) {\n finalDict = dictionary as string[];\n } else {\n finalDict = [];\n\n let i;\n\n this.dictIndex = i = 0;\n\n const rangesName = `_${dictionary as ShortUniqueIdDefaultDictionaries}_dict_ranges`;\n const ranges = this._dict_ranges[rangesName];\n\n Object.keys(ranges).forEach((rangeType) => {\n const rangeTypeKey = rangeType;\n\n this.dictRange = ranges[rangeTypeKey];\n\n this.lowerBound = this.dictRange[0];\n this.upperBound = this.dictRange[1];\n\n for (\n this.dictIndex = i = this.lowerBound;\n this.lowerBound <= this.upperBound ? i < this.upperBound : i > this.upperBound;\n this.dictIndex = this.lowerBound <= this.upperBound ? i += 1 : i -= 1\n ) {\n finalDict.push(String.fromCharCode(this.dictIndex));\n }\n });\n }\n\n if (shuffle) {\n // Shuffle Dictionary to remove selection bias.\n const PROBABILITY = 0.5;\n finalDict = finalDict.sort(() => Math.random() - PROBABILITY);\n }\n\n this.dict = finalDict;\n\n // Cache Dictionary Length for future usage.\n this.dictLength = this.dict.length;\n\n // Reset internal counter.\n this.setCounter(0);\n };\n\n seq = (): string => {\n return this.sequentialUUID();\n };\n\n /**\n * Generates UUID based on internal counter that's incremented after each ID generation.\n * @alias `const uid = new ShortUniqueId(); uid.seq();`\n */\n sequentialUUID = (): string => {\n let counterDiv: number;\n let counterRem: number;\n let id: string = '';\n\n counterDiv = this.counter;\n\n do {\n counterRem = counterDiv % this.dictLength;\n counterDiv = Math.trunc(counterDiv / this.dictLength);\n id += this.dict[counterRem];\n } while (counterDiv !== 0);\n\n this.counter += 1;\n\n return id;\n };\n\n rnd = (uuidLength: number = this.uuidLength || DEFAULT_UUID_LENGTH): string => {\n return this.randomUUID(uuidLength);\n };\n\n /**\n * Generates UUID by creating each part randomly.\n * @alias `const uid = new ShortUniqueId(); uid.rnd(uuidLength: number);`\n */\n randomUUID = (uuidLength: number = this.uuidLength || DEFAULT_UUID_LENGTH): string => {\n let id: string;\n let randomPartIdx: number;\n let j: number;\n\n if ((uuidLength === null || typeof uuidLength === 'undefined') || uuidLength < 1) {\n throw new Error('Invalid UUID Length Provided');\n }\n\n const isPositive = uuidLength >= 0;\n\n // Generate random ID parts from Dictionary.\n id = '';\n for (\n j = 0;\n j < uuidLength;\n j += 1\n ) {\n randomPartIdx = parseInt(\n (Math.random() * this.dictLength).toFixed(0),\n 10,\n ) % this.dictLength;\n id += this.dict[randomPartIdx];\n }\n\n // Return random generated ID.\n return id;\n };\n\n fmt = (format: string, date?: Date): string => {\n return this.formattedUUID(format, date);\n };\n\n /**\n * Generates custom UUID with the provided format string.\n * @alias `const uid = new ShortUniqueId(); uid.fmt(format: string);`\n */\n formattedUUID = (format: string, date?: Date): string => {\n const fnMap = {\n '$r': this.randomUUID,\n '$s': this.sequentialUUID,\n '$t': this.stamp,\n };\n\n const result = format.replace(\n /\\$[rs]\\d{0,}|\\$t0|\\$t[1-9]\\d{1,}/g,\n (m) => {\n const fn = m.slice(0, 2);\n const len = parseInt(m.slice(2), 10);\n\n if (fn === '$s') {\n return fnMap[fn]().padStart(len, '0');\n }\n\n if (fn === '$t' && date) {\n return fnMap[fn](len, date);\n }\n\n return fnMap[fn as keyof typeof fnMap](len);\n },\n );\n\n return result;\n };\n\n /**\n * Calculates total number of possible UUIDs.\n *\n * Given that:\n *\n * - `H` is the total number of possible UUIDs\n * - `n` is the number of unique characters in the dictionary\n * - `l` is the UUID length\n *\n * Then `H` is defined as `n` to the power of `l`:\n *\n *
\n * \n *
\n *\n * This function returns `H`.\n */\n availableUUIDs = (uuidLength: number = this.uuidLength): number => {\n return parseFloat(\n Math.pow([...new Set(this.dict)].length, uuidLength).toFixed(0),\n );\n };\n\n /**\n * Calculates approximate number of hashes before first collision.\n *\n * Given that:\n *\n * - `H` is the total number of possible UUIDs, or in terms of this library,\n * the result of running `availableUUIDs()`\n * - the expected number of values we have to choose before finding the\n * first collision can be expressed as the quantity `Q(H)`\n *\n * Then `Q(H)` can be approximated as the square root of the product of half\n * of pi times `H`:\n *\n *
\n * \n *
\n *\n * This function returns `Q(H)`.\n * \n * (see [Poisson distribution](https://en.wikipedia.org/wiki/Poisson_distribution))\n */\n approxMaxBeforeCollision = (rounds: number = this.availableUUIDs(this.uuidLength)): number => {\n return parseFloat(\n Math.sqrt((Math.PI / 2) * rounds).toFixed(20),\n );\n };\n\n /**\n * Calculates probability of generating duplicate UUIDs (a collision) in a\n * given number of UUID generation rounds.\n *\n * Given that:\n *\n * - `r` is the maximum number of times that `randomUUID()` will be called,\n * or better said the number of _rounds_\n * - `H` is the total number of possible UUIDs, or in terms of this library,\n * the result of running `availableUUIDs()`\n *\n * Then the probability of collision `p(r; H)` can be approximated as the result\n * of dividing the square root of the product of half of pi times `r` by `H`:\n *\n *
\n * \n *
\n *\n * This function returns `p(r; H)`.\n * \n * (see [Poisson distribution](https://en.wikipedia.org/wiki/Poisson_distribution))\n *\n * (Useful if you are wondering _\"If I use this lib and expect to perform at most\n * `r` rounds of UUID generations, what is the probability that I will hit a duplicate UUID?\"_.)\n */\n collisionProbability = (\n rounds: number = this.availableUUIDs(this.uuidLength),\n uuidLength: number = this.uuidLength,\n ): number => {\n return parseFloat(\n (\n this.approxMaxBeforeCollision(rounds) / this.availableUUIDs(uuidLength)\n ).toFixed(20),\n );\n };\n\n /**\n * Calculate a \"uniqueness\" score (from 0 to 1) of UUIDs based on size of\n * dictionary and chosen UUID length.\n *\n * Given that:\n *\n * - `H` is the total number of possible UUIDs, or in terms of this library,\n * the result of running `availableUUIDs()`\n * - `Q(H)` is the approximate number of hashes before first collision,\n * or in terms of this library, the result of running `approxMaxBeforeCollision()`\n *\n * Then `uniqueness` can be expressed as the additive inverse of the probability of\n * generating a \"word\" I had previously generated (a duplicate) at any given iteration\n * up to the the total number of possible UUIDs expressed as the quotiend of `Q(H)` and `H`:\n *\n *
\n * \n *
\n *\n * (Useful if you need a value to rate the \"quality\" of the combination of given dictionary\n * and UUID length. The closer to 1, higher the uniqueness and thus better the quality.)\n */\n uniqueness = (rounds: number = this.availableUUIDs(this.uuidLength)): number => {\n const score = parseFloat(\n (1 - (\n this.approxMaxBeforeCollision(rounds) / rounds\n )).toFixed(20),\n );\n return (\n score > 1\n ) ? (\n 1\n ) : (\n (score < 0) ? 0 : score\n );\n };\n\n /**\n * Return the version of this module.\n */\n getVersion = (): string => {\n return this.version;\n };\n\n /**\n * Generates a UUID with a timestamp that can be extracted using `uid.parseStamp(stampString);`.\n * \n * ```js\n * const uidWithTimestamp = uid.stamp(32);\n * console.log(uidWithTimestamp);\n * // GDa608f973aRCHLXQYPTbKDbjDeVsSb3\n * \n * console.log(uid.parseStamp(uidWithTimestamp));\n * // 2021-05-03T06:24:58.000Z\n * ```\n */\n stamp = (finalLength: number, date?: Date): string => {\n const hexStamp = Math.floor(+(date || new Date()) / 1000).toString(16);\n\n if (typeof finalLength === 'number' && finalLength === 0) {\n return hexStamp;\n }\n\n if (typeof finalLength !== 'number' || finalLength < 10) {\n throw new Error(\n [\n 'Param finalLength must be a number greater than or equal to 10,',\n 'or 0 if you want the raw hexadecimal timestamp',\n ].join('\\n')\n );\n }\n\n const idLength = finalLength - 9;\n\n const rndIdx = Math.round(Math.random() * ((idLength > 15) ? 15 : idLength));\n\n const id = this.randomUUID(idLength);\n\n return `${id.substring(0, rndIdx)}${hexStamp}${id.substring(rndIdx)}${rndIdx.toString(16)}`;\n };\n\n /**\n * Extracts the date embeded in a UUID generated using the `uid.stamp(finalLength);` method.\n * \n * ```js\n * const uidWithTimestamp = uid.stamp(32);\n * console.log(uidWithTimestamp);\n * // GDa608f973aRCHLXQYPTbKDbjDeVsSb3\n * \n * console.log(uid.parseStamp(uidWithTimestamp));\n * // 2021-05-03T06:24:58.000Z\n * ```\n */\n parseStamp = (suid: string, format?: string): Date => {\n if (format && !(/t0|t[1-9]\\d{1,}/).test(format)) {\n throw new Error('Cannot extract date from a formated UUID with no timestamp in the format');\n }\n\n const stamp = (\n format\n ) ? (\n format.replace(\n /\\$[rs]\\d{0,}|\\$t0|\\$t[1-9]\\d{1,}/g,\n (m) => {\n const fnMap = {\n '$r': (len: number) => [...Array(len)].map(() => 'r').join(''),\n '$s': (len: number) => [...Array(len)].map(() => 's').join(''),\n '$t': (len: number) => [...Array(len)].map(() => 't').join(''),\n };\n\n const fn = m.slice(0, 2);\n const len = parseInt(m.slice(2), 10);\n\n return fnMap[fn as keyof typeof fnMap](len);\n },\n ).replace(\n /^(.*?)(t{8,})(.*)$/g,\n (_m, p1, p2) => {\n return suid.substring(p1.length, p1.length + p2.length);\n },\n )\n ) : (\n suid\n );\n\n if (stamp.length === 8) {\n return new Date(parseInt(stamp, 16) * 1000);\n }\n\n if (stamp.length < 10) {\n throw new Error('Stamp length invalid');\n }\n\n const rndIdx = parseInt(stamp.substring(stamp.length - 1), 16);\n\n return new Date(parseInt(stamp.substring(rndIdx, rndIdx + 8), 16) * 1000);\n };\n\n /**\n * Set the counter to a specific value.\n */\n setCounter = (counter: number): void => {\n this.counter = counter;\n };\n\n constructor(argOptions: Partial = {}) {\n const options: ShortUniqueIdOptions = {\n ...DEFAULT_OPTIONS,\n ...argOptions as Partial,\n };\n\n this.counter = 0;\n this.debug = false;\n this.dict = [];\n this.version = version;\n\n const {\n dictionary,\n shuffle,\n length,\n counter,\n } = options;\n\n this.uuidLength = length;\n\n this.setDictionary(dictionary, shuffle);\n this.setCounter(counter);\n\n this.debug = options.debug;\n this.log(this.dict);\n this.log(\n `Generator instantiated with Dictionary Size ${this.dictLength} and counter set to ${this.counter}`\n );\n\n this.log = this.log.bind(this);\n this.setDictionary = this.setDictionary.bind(this);\n this.setCounter = this.setCounter.bind(this);\n this.seq = this.seq.bind(this);\n this.sequentialUUID = this.sequentialUUID.bind(this);\n this.rnd = this.rnd.bind(this);\n this.randomUUID = this.randomUUID.bind(this);\n this.fmt = this.fmt.bind(this);\n this.formattedUUID = this.formattedUUID.bind(this);\n this.availableUUIDs = this.availableUUIDs.bind(this);\n this.approxMaxBeforeCollision = this.approxMaxBeforeCollision.bind(this);\n this.collisionProbability = this.collisionProbability.bind(this);\n this.uniqueness = this.uniqueness.bind(this);\n this.getVersion = this.getVersion.bind(this);\n this.stamp = this.stamp.bind(this);\n this.parseStamp = this.parseStamp.bind(this);\n\n return this;\n }\n}\n","{\n \"name\": \"short-unique-id\",\n \"version\": \"5.0.3\",\n \"description\": \"Generate random or sequential UUID of any length\",\n \"keywords\": [\n \"short\",\n \"random\",\n \"uid\",\n \"uuid\",\n \"guid\",\n \"node\",\n \"unique id\",\n \"generator\",\n \"tiny\"\n ],\n \"bin\": {\n \"short-unique-id\": \"bin/short-unique-id\",\n \"suid\": \"bin/short-unique-id\"\n },\n \"main\": \"dist/short-unique-id.js\",\n \"types\": \"dist/short-unique-id.d.ts\",\n \"homepage\": \"https://shortunique.id\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/jeanlescure/short-unique-id\"\n },\n \"license\": \"Apache-2.0\",\n \"runkitExampleFilename\": \"./runkit.js\",\n \"scripts\": {\n \"test\": \"ts-node src/test.ts\",\n \"build\": \"./scripts/build\",\n \"docs\": \"./scripts/docs\",\n \"release\": \"release-it\"\n },\n \"release-it\": {\n \"git\": {\n \"changelog\": \"auto-changelog --stdout -l false -u -t ./assets/changelog-compact.hbs\"\n },\n \"hooks\": {\n \"after:bump\": \"./scripts/release\"\n },\n \"npm\": {\n \"publish\": false\n }\n },\n \"files\": [\n \"bin\",\n \"dist\",\n \"runkit.js\",\n \"package.json\"\n ],\n \"devDependencies\": {\n \"@types/node\": \"^20.3.2\",\n \"auto-changelog\": \"^2.4.0\",\n \"esbuild\": \"^0.18.10\",\n \"refup\": \"^1.1.0\",\n \"release-it\": \"^15.11.0\",\n \"ts-node\": \"^10.9.1\",\n \"tslib\": \"^2.6.0\",\n \"typedoc\": \"^0.24.8\",\n \"typedoc-plugin-extras\": \"^2.3.3\",\n \"typedoc-plugin-rename-defaults\": \"^0.6.5\",\n \"typedoc-plugin-script-inject\": \"^1.0.0\",\n \"typescript\": \"^5.1.6\"\n }\n}\n","!function(){\"use strict\";var u,c,a,s,f,y=\"properties\",l=\"deepProperties\",b=\"propertyDescriptors\",d=\"staticProperties\",O=\"staticDeepProperties\",h=\"staticPropertyDescriptors\",g=\"configuration\",m=\"deepConfiguration\",P=\"deepProps\",A=\"deepStatics\",j=\"deepConf\",v=\"initializers\",_=\"methods\",w=\"composers\",D=\"compose\";function S(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r):[])}function r(r,t){return Array.prototype.slice.call(arguments,2).reduce(r,t)}var x=r.bind(0,function r(t,e){if(e)for(var n=S(e),o=0;o {\n const props = Object.getOwnPropertyDescriptors(src);\n for (let prop of exclude)\n delete props[prop];\n Object.defineProperties(dest, props);\n};\n/**\n * Returns the full chain of prototypes up until Object.prototype given a starting object. The order of prototypes will\n * be closest to farthest in the chain.\n */\nconst protoChain = (obj, currentChain = [obj]) => {\n const proto = Object.getPrototypeOf(obj);\n if (proto === null)\n return currentChain;\n return protoChain(proto, [...currentChain, proto]);\n};\n/**\n * Identifies the nearest ancestor common to all the given objects in their prototype chains. For most unrelated\n * objects, this function should return Object.prototype.\n */\nconst nearestCommonProto = (...objs) => {\n if (objs.length === 0)\n return undefined;\n let commonProto = undefined;\n const protoChains = objs.map(obj => protoChain(obj));\n while (protoChains.every(protoChain => protoChain.length > 0)) {\n const protos = protoChains.map(protoChain => protoChain.pop());\n const potentialCommonProto = protos[0];\n if (protos.every(proto => proto === potentialCommonProto))\n commonProto = potentialCommonProto;\n else\n break;\n }\n return commonProto;\n};\n/**\n * Creates a new prototype object that is a mixture of the given prototypes. The mixing is achieved by first\n * identifying the nearest common ancestor and using it as the prototype for a new object. Then all properties/methods\n * downstream of this prototype (ONLY downstream) are copied into the new object.\n *\n * The resulting prototype is more performant than softMixProtos(...), as well as ES5 compatible. However, it's not as\n * flexible as updates to the source prototypes aren't captured by the mixed result. See softMixProtos for why you may\n * want to use that instead.\n */\nconst hardMixProtos = (ingredients, constructor, exclude = []) => {\n var _a;\n const base = (_a = nearestCommonProto(...ingredients)) !== null && _a !== void 0 ? _a : Object.prototype;\n const mixedProto = Object.create(base);\n // Keeps track of prototypes we've already visited to avoid copying the same properties multiple times. We init the\n // list with the proto chain below the nearest common ancestor because we don't want any of those methods mixed in\n // when they will already be accessible via prototype access.\n const visitedProtos = protoChain(base);\n for (let prototype of ingredients) {\n let protos = protoChain(prototype);\n // Apply the prototype chain in reverse order so that old methods don't override newer ones.\n for (let i = protos.length - 1; i >= 0; i--) {\n let newProto = protos[i];\n if (visitedProtos.indexOf(newProto) === -1) {\n copyProps(mixedProto, newProto, ['constructor', ...exclude]);\n visitedProtos.push(newProto);\n }\n }\n }\n mixedProto.constructor = constructor;\n return mixedProto;\n};\nconst unique = (arr) => arr.filter((e, i) => arr.indexOf(e) == i);\n\n/**\n * Finds the ingredient with the given prop, searching in reverse order and breadth-first if searching ingredient\n * prototypes is required.\n */\nconst getIngredientWithProp = (prop, ingredients) => {\n const protoChains = ingredients.map(ingredient => protoChain(ingredient));\n // since we search breadth-first, we need to keep track of our depth in the prototype chains\n let protoDepth = 0;\n // not all prototype chains are the same depth, so this remains true as long as at least one of the ingredients'\n // prototype chains has an object at this depth\n let protosAreLeftToSearch = true;\n while (protosAreLeftToSearch) {\n // with the start of each horizontal slice, we assume this is the one that's deeper than any of the proto chains\n protosAreLeftToSearch = false;\n // scan through the ingredients right to left\n for (let i = ingredients.length - 1; i >= 0; i--) {\n const searchTarget = protoChains[i][protoDepth];\n if (searchTarget !== undefined && searchTarget !== null) {\n // if we find something, this is proof that this horizontal slice potentially more objects to search\n protosAreLeftToSearch = true;\n // eureka, we found it\n if (Object.getOwnPropertyDescriptor(searchTarget, prop) != undefined) {\n return protoChains[i][0];\n }\n }\n }\n protoDepth++;\n }\n return undefined;\n};\n/**\n * \"Mixes\" ingredients by wrapping them in a Proxy. The optional prototype argument allows the mixed object to sit\n * downstream of an existing prototype chain. Note that \"properties\" cannot be added, deleted, or modified.\n */\nconst proxyMix = (ingredients, prototype = Object.prototype) => new Proxy({}, {\n getPrototypeOf() {\n return prototype;\n },\n setPrototypeOf() {\n throw Error('Cannot set prototype of Proxies created by ts-mixer');\n },\n getOwnPropertyDescriptor(_, prop) {\n return Object.getOwnPropertyDescriptor(getIngredientWithProp(prop, ingredients) || {}, prop);\n },\n defineProperty() {\n throw new Error('Cannot define new properties on Proxies created by ts-mixer');\n },\n has(_, prop) {\n return getIngredientWithProp(prop, ingredients) !== undefined || prototype[prop] !== undefined;\n },\n get(_, prop) {\n return (getIngredientWithProp(prop, ingredients) || prototype)[prop];\n },\n set(_, prop, val) {\n const ingredientWithProp = getIngredientWithProp(prop, ingredients);\n if (ingredientWithProp === undefined)\n throw new Error('Cannot set new properties on Proxies created by ts-mixer');\n ingredientWithProp[prop] = val;\n return true;\n },\n deleteProperty() {\n throw new Error('Cannot delete properties on Proxies created by ts-mixer');\n },\n ownKeys() {\n return ingredients\n .map(Object.getOwnPropertyNames)\n .reduce((prev, curr) => curr.concat(prev.filter(key => curr.indexOf(key) < 0)));\n },\n});\n/**\n * Creates a new proxy-prototype object that is a \"soft\" mixture of the given prototypes. The mixing is achieved by\n * proxying all property access to the ingredients. This is not ES5 compatible and less performant. However, any\n * changes made to the source prototypes will be reflected in the proxy-prototype, which may be desirable.\n */\nconst softMixProtos = (ingredients, constructor) => proxyMix([...ingredients, { constructor }]);\n\nconst settings = {\n initFunction: null,\n staticsStrategy: 'copy',\n prototypeStrategy: 'copy',\n decoratorInheritance: 'deep',\n};\n\n// Keeps track of constituent classes for every mixin class created by ts-mixer.\nconst mixins = new Map();\nconst getMixinsForClass = (clazz) => mixins.get(clazz);\nconst registerMixins = (mixedClass, constituents) => mixins.set(mixedClass, constituents);\nconst hasMixin = (instance, mixin) => {\n if (instance instanceof mixin)\n return true;\n const constructor = instance.constructor;\n const visited = new Set();\n let frontier = new Set();\n frontier.add(constructor);\n while (frontier.size > 0) {\n // check if the frontier has the mixin we're looking for. if not, we can say we visited every item in the frontier\n if (frontier.has(mixin))\n return true;\n frontier.forEach(item => visited.add(item));\n // build a new frontier based on the associated mixin classes and prototype chains of each frontier item\n const newFrontier = new Set();\n frontier.forEach(item => {\n var _a;\n const itemConstituents = (_a = mixins.get(item)) !== null && _a !== void 0 ? _a : protoChain(item.prototype).map(proto => proto.constructor).filter(item => item !== null);\n if (itemConstituents)\n itemConstituents.forEach(constituent => {\n if (!visited.has(constituent) && !frontier.has(constituent))\n newFrontier.add(constituent);\n });\n });\n // we have a new frontier, now search again\n frontier = newFrontier;\n }\n // if we get here, we couldn't find the mixin anywhere in the prototype chain or associated mixin classes\n return false;\n};\n\nconst mergeObjectsOfDecorators = (o1, o2) => {\n var _a, _b;\n const allKeys = unique([...Object.getOwnPropertyNames(o1), ...Object.getOwnPropertyNames(o2)]);\n const mergedObject = {};\n for (let key of allKeys)\n mergedObject[key] = unique([...((_a = o1 === null || o1 === void 0 ? void 0 : o1[key]) !== null && _a !== void 0 ? _a : []), ...((_b = o2 === null || o2 === void 0 ? void 0 : o2[key]) !== null && _b !== void 0 ? _b : [])]);\n return mergedObject;\n};\nconst mergePropertyAndMethodDecorators = (d1, d2) => {\n var _a, _b, _c, _d;\n return ({\n property: mergeObjectsOfDecorators((_a = d1 === null || d1 === void 0 ? void 0 : d1.property) !== null && _a !== void 0 ? _a : {}, (_b = d2 === null || d2 === void 0 ? void 0 : d2.property) !== null && _b !== void 0 ? _b : {}),\n method: mergeObjectsOfDecorators((_c = d1 === null || d1 === void 0 ? void 0 : d1.method) !== null && _c !== void 0 ? _c : {}, (_d = d2 === null || d2 === void 0 ? void 0 : d2.method) !== null && _d !== void 0 ? _d : {}),\n });\n};\nconst mergeDecorators = (d1, d2) => {\n var _a, _b, _c, _d, _e, _f;\n return ({\n class: unique([...(_a = d1 === null || d1 === void 0 ? void 0 : d1.class) !== null && _a !== void 0 ? _a : [], ...(_b = d2 === null || d2 === void 0 ? void 0 : d2.class) !== null && _b !== void 0 ? _b : []]),\n static: mergePropertyAndMethodDecorators((_c = d1 === null || d1 === void 0 ? void 0 : d1.static) !== null && _c !== void 0 ? _c : {}, (_d = d2 === null || d2 === void 0 ? void 0 : d2.static) !== null && _d !== void 0 ? _d : {}),\n instance: mergePropertyAndMethodDecorators((_e = d1 === null || d1 === void 0 ? void 0 : d1.instance) !== null && _e !== void 0 ? _e : {}, (_f = d2 === null || d2 === void 0 ? void 0 : d2.instance) !== null && _f !== void 0 ? _f : {}),\n });\n};\nconst decorators = new Map();\nconst findAllConstituentClasses = (...classes) => {\n var _a;\n const allClasses = new Set();\n const frontier = new Set([...classes]);\n while (frontier.size > 0) {\n for (let clazz of frontier) {\n const protoChainClasses = protoChain(clazz.prototype).map(proto => proto.constructor);\n const mixinClasses = (_a = getMixinsForClass(clazz)) !== null && _a !== void 0 ? _a : [];\n const potentiallyNewClasses = [...protoChainClasses, ...mixinClasses];\n const newClasses = potentiallyNewClasses.filter(c => !allClasses.has(c));\n for (let newClass of newClasses)\n frontier.add(newClass);\n allClasses.add(clazz);\n frontier.delete(clazz);\n }\n }\n return [...allClasses];\n};\nconst deepDecoratorSearch = (...classes) => {\n const decoratorsForClassChain = findAllConstituentClasses(...classes)\n .map(clazz => decorators.get(clazz))\n .filter(decorators => !!decorators);\n if (decoratorsForClassChain.length == 0)\n return {};\n if (decoratorsForClassChain.length == 1)\n return decoratorsForClassChain[0];\n return decoratorsForClassChain.reduce((d1, d2) => mergeDecorators(d1, d2));\n};\nconst directDecoratorSearch = (...classes) => {\n const classDecorators = classes.map(clazz => getDecoratorsForClass(clazz));\n if (classDecorators.length === 0)\n return {};\n if (classDecorators.length === 1)\n return classDecorators[0];\n return classDecorators.reduce((d1, d2) => mergeDecorators(d1, d2));\n};\nconst getDecoratorsForClass = (clazz) => {\n let decoratorsForClass = decorators.get(clazz);\n if (!decoratorsForClass) {\n decoratorsForClass = {};\n decorators.set(clazz, decoratorsForClass);\n }\n return decoratorsForClass;\n};\nconst decorateClass = (decorator) => ((clazz) => {\n const decoratorsForClass = getDecoratorsForClass(clazz);\n let classDecorators = decoratorsForClass.class;\n if (!classDecorators) {\n classDecorators = [];\n decoratorsForClass.class = classDecorators;\n }\n classDecorators.push(decorator);\n return decorator(clazz);\n});\nconst decorateMember = (decorator) => ((object, key, ...otherArgs) => {\n var _a, _b, _c;\n const decoratorTargetType = typeof object === 'function' ? 'static' : 'instance';\n const decoratorType = typeof object[key] === 'function' ? 'method' : 'property';\n const clazz = decoratorTargetType === 'static' ? object : object.constructor;\n const decoratorsForClass = getDecoratorsForClass(clazz);\n const decoratorsForTargetType = (_a = decoratorsForClass === null || decoratorsForClass === void 0 ? void 0 : decoratorsForClass[decoratorTargetType]) !== null && _a !== void 0 ? _a : {};\n decoratorsForClass[decoratorTargetType] = decoratorsForTargetType;\n let decoratorsForType = (_b = decoratorsForTargetType === null || decoratorsForTargetType === void 0 ? void 0 : decoratorsForTargetType[decoratorType]) !== null && _b !== void 0 ? _b : {};\n decoratorsForTargetType[decoratorType] = decoratorsForType;\n let decoratorsForKey = (_c = decoratorsForType === null || decoratorsForType === void 0 ? void 0 : decoratorsForType[key]) !== null && _c !== void 0 ? _c : [];\n decoratorsForType[key] = decoratorsForKey;\n // @ts-ignore: array is type `A[] | B[]` and item is type `A | B`, so technically a type error, but it's fine\n decoratorsForKey.push(decorator);\n // @ts-ignore\n return decorator(object, key, ...otherArgs);\n});\nconst decorate = (decorator) => ((...args) => {\n if (args.length === 1)\n return decorateClass(decorator)(args[0]);\n return decorateMember(decorator)(...args);\n});\n\nfunction Mixin(...constructors) {\n var _a, _b, _c;\n const prototypes = constructors.map(constructor => constructor.prototype);\n // Here we gather up the init functions of the ingredient prototypes, combine them into one init function, and\n // attach it to the mixed class prototype. The reason we do this is because we want the init functions to mix\n // similarly to constructors -- not methods, which simply override each other.\n const initFunctionName = settings.initFunction;\n if (initFunctionName !== null) {\n const initFunctions = prototypes\n .map(proto => proto[initFunctionName])\n .filter(func => typeof func === 'function');\n const combinedInitFunction = function (...args) {\n for (let initFunction of initFunctions)\n initFunction.apply(this, args);\n };\n const extraProto = { [initFunctionName]: combinedInitFunction };\n prototypes.push(extraProto);\n }\n function MixedClass(...args) {\n for (const constructor of constructors)\n // @ts-ignore: potentially abstract class\n copyProps(this, new constructor(...args));\n if (initFunctionName !== null && typeof this[initFunctionName] === 'function')\n this[initFunctionName].apply(this, args);\n }\n MixedClass.prototype = settings.prototypeStrategy === 'copy'\n ? hardMixProtos(prototypes, MixedClass)\n : softMixProtos(prototypes, MixedClass);\n Object.setPrototypeOf(MixedClass, settings.staticsStrategy === 'copy'\n ? hardMixProtos(constructors, null, ['prototype'])\n : proxyMix(constructors, Function.prototype));\n let DecoratedMixedClass = MixedClass;\n if (settings.decoratorInheritance !== 'none') {\n const classDecorators = settings.decoratorInheritance === 'deep'\n ? deepDecoratorSearch(...constructors)\n : directDecoratorSearch(...constructors);\n for (let decorator of (_a = classDecorators === null || classDecorators === void 0 ? void 0 : classDecorators.class) !== null && _a !== void 0 ? _a : []) {\n const result = decorator(DecoratedMixedClass);\n if (result) {\n DecoratedMixedClass = result;\n }\n }\n applyPropAndMethodDecorators((_b = classDecorators === null || classDecorators === void 0 ? void 0 : classDecorators.static) !== null && _b !== void 0 ? _b : {}, DecoratedMixedClass);\n applyPropAndMethodDecorators((_c = classDecorators === null || classDecorators === void 0 ? void 0 : classDecorators.instance) !== null && _c !== void 0 ? _c : {}, DecoratedMixedClass.prototype);\n }\n registerMixins(DecoratedMixedClass, constructors);\n return DecoratedMixedClass;\n}\nconst applyPropAndMethodDecorators = (propAndMethodDecorators, target) => {\n const propDecorators = propAndMethodDecorators.property;\n const methodDecorators = propAndMethodDecorators.method;\n if (propDecorators)\n for (let key in propDecorators)\n for (let decorator of propDecorators[key])\n decorator(target, key);\n if (methodDecorators)\n for (let key in methodDecorators)\n for (let decorator of methodDecorators[key])\n decorator(target, key, Object.getOwnPropertyDescriptor(target, key));\n};\n/**\n * A decorator version of the `Mixin` function. You'll want to use this instead of `Mixin` for mixing generic classes.\n */\nconst mix = (...ingredients) => decoratedClass => {\n // @ts-ignore\n const mixedClass = Mixin(...ingredients.concat([decoratedClass]));\n Object.defineProperty(mixedClass, 'name', {\n value: decoratedClass.name,\n writable: false,\n });\n return mixedClass;\n};\n\nexport { Mixin, decorate, hasMixin, mix, settings };\n","var Module=void 0!==Module?Module:{},TreeSitter=function(){var e,t=\"object\"==typeof window?{currentScript:window.document.currentScript}:null;class Parser{constructor(){this.initialize()}initialize(){throw new Error(\"cannot construct a Parser before calling `init()`\")}static init(r){return e||(Module=Object.assign({},Module,r),e=new Promise(e=>{var r,n={};for(r in Module)Module.hasOwnProperty(r)&&(n[r]=Module[r]);var s,o,_=[],a=\"./this.program\",u=function(e,t){throw t},i=!1,l=!1;i=\"object\"==typeof window,l=\"function\"==typeof importScripts,s=\"object\"==typeof process&&\"object\"==typeof process.versions&&\"string\"==typeof process.versions.node,o=!i&&!s&&!l;var d,c,m,f,p,h=\"\";s?(h=l?require(\"path\").dirname(h)+\"/\":__dirname+\"/\",d=function(e,t){return f||(f=require(\"fs\")),p||(p=require(\"path\")),e=p.normalize(e),f.readFileSync(e,t?null:\"utf8\")},m=function(e){var t=d(e,!0);return t.buffer||(t=new Uint8Array(t)),k(t.buffer),t},process.argv.length>1&&(a=process.argv[1].replace(/\\\\/g,\"/\")),_=process.argv.slice(2),\"undefined\"!=typeof module&&(module.exports=Module),u=function(e){process.exit(e)},Module.inspect=function(){return\"[Emscripten Module object]\"}):o?(\"undefined\"!=typeof read&&(d=function(e){return read(e)}),m=function(e){var t;return\"function\"==typeof readbuffer?new Uint8Array(readbuffer(e)):(k(\"object\"==typeof(t=read(e,\"binary\"))),t)},\"undefined\"!=typeof scriptArgs?_=scriptArgs:void 0!==arguments&&(_=arguments),\"function\"==typeof quit&&(u=function(e){quit(e)}),\"undefined\"!=typeof print&&(\"undefined\"==typeof console&&(console={}),console.log=print,console.warn=console.error=\"undefined\"!=typeof printErr?printErr:print)):(i||l)&&(l?h=self.location.href:void 0!==t&&t.currentScript&&(h=t.currentScript.src),h=0!==h.indexOf(\"blob:\")?h.substr(0,h.lastIndexOf(\"/\")+1):\"\",d=function(e){var t=new XMLHttpRequest;return t.open(\"GET\",e,!1),t.send(null),t.responseText},l&&(m=function(e){var t=new XMLHttpRequest;return t.open(\"GET\",e,!1),t.responseType=\"arraybuffer\",t.send(null),new Uint8Array(t.response)}),c=function(e,t,r){var n=new XMLHttpRequest;n.open(\"GET\",e,!0),n.responseType=\"arraybuffer\",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)});Module.print||console.log.bind(console);var g=Module.printErr||console.warn.bind(console);for(r in n)n.hasOwnProperty(r)&&(Module[r]=n[r]);n=null,Module.arguments&&(_=Module.arguments),Module.thisProgram&&(a=Module.thisProgram),Module.quit&&(u=Module.quit);var w=16;var y,M=[];function b(e,t){if(!y){y=new WeakMap;for(var r=0;r>0]=t;break;case\"i16\":L[e>>1]=t;break;case\"i32\":W[e>>2]=t;break;case\"i64\":ue=[t>>>0,(ae=t,+Math.abs(ae)>=1?ae>0?(0|Math.min(+Math.floor(ae/4294967296),4294967295))>>>0:~~+Math.ceil((ae-+(~~ae>>>0))/4294967296)>>>0:0)],W[e>>2]=ue[0],W[e+4>>2]=ue[1];break;case\"float\":O[e>>2]=t;break;case\"double\":Z[e>>3]=t;break;default:oe(\"invalid type for setValue: \"+r)}}function N(e,t,r){switch(\"*\"===(t=t||\"i8\").charAt(t.length-1)&&(t=\"i32\"),t){case\"i1\":case\"i8\":return R[e>>0];case\"i16\":return L[e>>1];case\"i32\":case\"i64\":return W[e>>2];case\"float\":return O[e>>2];case\"double\":return Z[e>>3];default:oe(\"invalid type for getValue: \"+t)}return null}\"object\"!=typeof WebAssembly&&oe(\"no native wasm support detected\");var P=!1;function k(e,t){e||oe(\"Assertion failed: \"+t)}var C=1;var q,R,T,L,W,O,Z,F=\"undefined\"!=typeof TextDecoder?new TextDecoder(\"utf8\"):void 0;function $(e,t,r){for(var n=t+r,s=t;e[s]&&!(s>=n);)++s;if(s-t>16&&e.subarray&&F)return F.decode(e.subarray(t,s));for(var o=\"\";t>10,56320|1023&i)}}else o+=String.fromCharCode((31&_)<<6|a)}else o+=String.fromCharCode(_)}return o}function j(e,t){return e?$(T,e,t):\"\"}function U(e,t,r,n){if(!(n>0))return 0;for(var s=r,o=r+n-1,_=0;_=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++_);if(a<=127){if(r>=o)break;t[r++]=a}else if(a<=2047){if(r+1>=o)break;t[r++]=192|a>>6,t[r++]=128|63&a}else if(a<=65535){if(r+2>=o)break;t[r++]=224|a>>12,t[r++]=128|a>>6&63,t[r++]=128|63&a}else{if(r+3>=o)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63,t[r++]=128|a>>6&63,t[r++]=128|63&a}}return t[r]=0,r-s}function D(e,t,r){return U(e,T,t,r)}function z(e){for(var t=0,r=0;r=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function G(e){var t=z(e)+1,r=ze(t);return U(e,R,r,t),r}function H(e){q=e,Module.HEAP8=R=new Int8Array(e),Module.HEAP16=L=new Int16Array(e),Module.HEAP32=W=new Int32Array(e),Module.HEAPU8=T=new Uint8Array(e),Module.HEAPU16=new Uint16Array(e),Module.HEAPU32=new Uint32Array(e),Module.HEAPF32=O=new Float32Array(e),Module.HEAPF64=Z=new Float64Array(e)}var B=Module.INITIAL_MEMORY||33554432;(A=Module.wasmMemory?Module.wasmMemory:new WebAssembly.Memory({initial:B/65536,maximum:32768}))&&(q=A.buffer),B=q.byteLength,H(q);var K=new WebAssembly.Table({initial:17,element:\"anyfunc\"}),V=[],X=[],Q=[],J=[],Y=!1;var ee=0,te=null,re=null;function ne(e){ee++,Module.monitorRunDependencies&&Module.monitorRunDependencies(ee)}function se(e){if(ee--,Module.monitorRunDependencies&&Module.monitorRunDependencies(ee),0==ee&&(null!==te&&(clearInterval(te),te=null),re)){var t=re;re=null,t()}}function oe(e){throw Module.onAbort&&Module.onAbort(e),g(e+=\"\"),P=!0,1,e=\"abort(\"+e+\"). Build with -s ASSERTIONS=1 for more info.\",new WebAssembly.RuntimeError(e)}Module.preloadedImages={},Module.preloadedAudios={},Module.preloadedWasm={};var _e,ae,ue,ie=\"data:application/octet-stream;base64,\";function le(e){return e.startsWith(ie)}function de(e){return e.startsWith(\"file://\")}function ce(e){try{if(e==_e&&v)return new Uint8Array(v);if(m)return m(e);throw\"both async and sync fetching of the wasm failed\"}catch(e){oe(e)}}le(_e=\"tree-sitter.wasm\")||(_e=function(e){return Module.locateFile?Module.locateFile(e,h):h+e}(_e));var me={},fe={get:function(e,t){return me[t]||(me[t]=new WebAssembly.Global({value:\"i32\",mutable:!0})),me[t]}};function pe(e){for(;e.length>0;){var t=e.shift();if(\"function\"!=typeof t){var r=t.func;\"number\"==typeof r?void 0===t.arg?K.get(r)():K.get(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(Module)}}function he(e){var t=0;function r(){for(var r=0,n=1;;){var s=e[t++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(e instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(e,\"dylink\");k(0!=n.length,\"need dylink section\"),e=new Int8Array(n[0])}else{k(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],\"need to see wasm magic number\"),k(0===e[8],\"need the dylink section to be first\"),t=9,r(),k(6===e[t]),k(e[++t]===\"d\".charCodeAt(0)),k(e[++t]===\"y\".charCodeAt(0)),k(e[++t]===\"l\".charCodeAt(0)),k(e[++t]===\"i\".charCodeAt(0)),k(e[++t]===\"n\".charCodeAt(0)),k(e[++t]===\"k\".charCodeAt(0)),t++}var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var o=r();s.neededDynlibs=[];for(var _=0;_0}function ye(e){return 0==e.indexOf(\"dynCall_\")||[\"stackAlloc\",\"stackSave\",\"stackRestore\"].includes(e)?e:\"_\"+e}function Me(e,t){for(var r in e)if(e.hasOwnProperty(r)){Fe.hasOwnProperty(r)||(Fe[r]=e[r]);var n=ye(r);Module.hasOwnProperty(n)||(Module[n]=e[r])}}var be={nextHandle:1,loadedLibs:{},loadedLibNames:{}};function ve(e,t,r){return e.includes(\"j\")?function(e,t,r){var n=Module[\"dynCall_\"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)}(e,t,r):K.get(t).apply(null,r)}var Ee=5250880;function Ie(e){return[\"__cpp_exception\",\"__wasm_apply_data_relocs\",\"__dso_handle\",\"__set_stack_limits\"].includes(e)}function Ae(e,t){var r={};for(var n in e){var s=e[n];\"object\"==typeof s&&(s=s.value),\"number\"==typeof s&&(s+=t),r[n]=s}return function(e){for(var t in e)if(!Ie(t)){var r=!1,n=e[t];t.startsWith(\"orig$\")&&(t=t.split(\"$\")[1],r=!0),me[t]||(me[t]=new WebAssembly.Global({value:\"i32\",mutable:!0})),(r||0==me[t].value)&&(\"function\"==typeof n?me[t].value=b(n):\"number\"==typeof n?me[t].value=n:g(\"unhandled export type for `\"+t+\"`: \"+typeof n))}}(r),r}function Se(e,t){var r,n;return t&&(r=Fe[\"orig$\"+e]),r||(r=Fe[e]),r||(r=Module[ye(e)]),!r&&e.startsWith(\"invoke_\")&&(n=e.split(\"_\")[1],r=function(){var e=Ue();try{return ve(n,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(De(e),t!==t+0&&\"longjmp\"!==t)throw t;Ge(1,0)}}),r}function xe(e,t){var r=he(e);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,w);var s,o,_,a=(s=function(e){if(Y)return $e(e);var t=Ee,r=t+e+15&-16;return Ee=r,me.__heap_base.value=r,t}(r.memorySize+n),(o=n)||(o=w),Math.ceil(s/o)*o),u=K.length;K.grow(r.tableSize);for(var i=a;i>2]=n,-1;r=ke()}return W[t>>2]=r/1e3|0,W[t+4>>2]=r%1e3*1e3*1e3|0,0}function Le(e){try{return A.grow(e-q.byteLength+65535>>>16),H(A.buffer),1}catch(e){}}function We(e){Ve(e)}function Oe(e){E(e)}Te.sig=\"iii\",We.sig=\"vi\",Oe.sig=\"vi\";var Ze,Fe={__heap_base:Ee,__indirect_function_table:K,__memory_base:1024,__stack_pointer:Ce,__table_base:1,abort:qe,clock_gettime:Te,emscripten_memcpy_big:function(e,t,r){T.copyWithin(e,t,t+r)},emscripten_resize_heap:function(e){var t,r,n=T.length;if((e>>>=0)>2147483648)return!1;for(var s=1;s<=4;s*=2){var o=n*(1+.2/s);if(o=Math.min(o,e+100663296),Le(Math.min(2147483648,((t=Math.max(e,o))%(r=65536)>0&&(t+=r-t%r),t))))return!0}return!1},exit:We,memory:A,setTempRet0:Oe,tree_sitter_log_callback:function(e,t){if(ct){const r=j(t);ct(r,0!==e)}},tree_sitter_parse_callback:function(e,t,r,n,s){var o=dt(t,{row:r,column:n});\"string\"==typeof o?(x(s,o.length,\"i32\"),function(e,t,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*e.length?r/2:e.length,s=0;s>1]=o,t+=2}L[t>>1]=0}(o,e,10240)):x(s,0,\"i32\")}},$e=(function(){var e={env:Fe,wasi_snapshot_preview1:Fe,\"GOT.mem\":new Proxy(Fe,fe),\"GOT.func\":new Proxy(Fe,fe)};function t(e,t){var r=e.exports;r=Ae(r,1024),Module.asm=r;var n,s=he(t);s.neededDynlibs&&(I=s.neededDynlibs.concat(I)),Me(r),n=Module.asm.__wasm_call_ctors,X.unshift(n),se()}function r(e){t(e.instance,e.module)}function n(t){return function(){if(!v&&(i||l)){if(\"function\"==typeof fetch&&!de(_e))return fetch(_e,{credentials:\"same-origin\"}).then(function(e){if(!e.ok)throw\"failed to load wasm binary file at '\"+_e+\"'\";return e.arrayBuffer()}).catch(function(){return ce(_e)});if(c)return new Promise(function(e,t){c(_e,function(t){e(new Uint8Array(t))},t)})}return Promise.resolve().then(function(){return ce(_e)})}().then(function(t){return WebAssembly.instantiate(t,e)}).then(t,function(e){g(\"failed to asynchronously prepare wasm: \"+e),oe(e)})}if(ne(),Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return g(\"Module.instantiateWasm callback failed with error: \"+e),!1}v||\"function\"!=typeof WebAssembly.instantiateStreaming||le(_e)||de(_e)||\"function\"!=typeof fetch?n(r):fetch(_e,{credentials:\"same-origin\"}).then(function(t){return WebAssembly.instantiateStreaming(t,e).then(r,function(e){return g(\"wasm streaming compile failed: \"+e),g(\"falling back to ArrayBuffer instantiation\"),n(r)})})}(),Module.___wasm_call_ctors=function(){return(Module.___wasm_call_ctors=Module.asm.__wasm_call_ctors).apply(null,arguments)},Module._malloc=function(){return($e=Module._malloc=Module.asm.malloc).apply(null,arguments)}),je=(Module._calloc=function(){return(Module._calloc=Module.asm.calloc).apply(null,arguments)},Module._realloc=function(){return(Module._realloc=Module.asm.realloc).apply(null,arguments)},Module._free=function(){return(Module._free=Module.asm.free).apply(null,arguments)},Module._ts_language_symbol_count=function(){return(Module._ts_language_symbol_count=Module.asm.ts_language_symbol_count).apply(null,arguments)},Module._ts_language_version=function(){return(Module._ts_language_version=Module.asm.ts_language_version).apply(null,arguments)},Module._ts_language_field_count=function(){return(Module._ts_language_field_count=Module.asm.ts_language_field_count).apply(null,arguments)},Module._ts_language_symbol_name=function(){return(Module._ts_language_symbol_name=Module.asm.ts_language_symbol_name).apply(null,arguments)},Module._ts_language_symbol_for_name=function(){return(Module._ts_language_symbol_for_name=Module.asm.ts_language_symbol_for_name).apply(null,arguments)},Module._ts_language_symbol_type=function(){return(Module._ts_language_symbol_type=Module.asm.ts_language_symbol_type).apply(null,arguments)},Module._ts_language_field_name_for_id=function(){return(Module._ts_language_field_name_for_id=Module.asm.ts_language_field_name_for_id).apply(null,arguments)},Module._memcpy=function(){return(Module._memcpy=Module.asm.memcpy).apply(null,arguments)},Module._ts_parser_delete=function(){return(Module._ts_parser_delete=Module.asm.ts_parser_delete).apply(null,arguments)},Module._ts_parser_reset=function(){return(Module._ts_parser_reset=Module.asm.ts_parser_reset).apply(null,arguments)},Module._ts_parser_set_language=function(){return(Module._ts_parser_set_language=Module.asm.ts_parser_set_language).apply(null,arguments)},Module._ts_parser_timeout_micros=function(){return(Module._ts_parser_timeout_micros=Module.asm.ts_parser_timeout_micros).apply(null,arguments)},Module._ts_parser_set_timeout_micros=function(){return(Module._ts_parser_set_timeout_micros=Module.asm.ts_parser_set_timeout_micros).apply(null,arguments)},Module._memmove=function(){return(Module._memmove=Module.asm.memmove).apply(null,arguments)},Module._memcmp=function(){return(Module._memcmp=Module.asm.memcmp).apply(null,arguments)},Module._ts_query_new=function(){return(Module._ts_query_new=Module.asm.ts_query_new).apply(null,arguments)},Module._ts_query_delete=function(){return(Module._ts_query_delete=Module.asm.ts_query_delete).apply(null,arguments)},Module._iswspace=function(){return(Module._iswspace=Module.asm.iswspace).apply(null,arguments)},Module._iswalnum=function(){return(Module._iswalnum=Module.asm.iswalnum).apply(null,arguments)},Module._ts_query_pattern_count=function(){return(Module._ts_query_pattern_count=Module.asm.ts_query_pattern_count).apply(null,arguments)},Module._ts_query_capture_count=function(){return(Module._ts_query_capture_count=Module.asm.ts_query_capture_count).apply(null,arguments)},Module._ts_query_string_count=function(){return(Module._ts_query_string_count=Module.asm.ts_query_string_count).apply(null,arguments)},Module._ts_query_capture_name_for_id=function(){return(Module._ts_query_capture_name_for_id=Module.asm.ts_query_capture_name_for_id).apply(null,arguments)},Module._ts_query_string_value_for_id=function(){return(Module._ts_query_string_value_for_id=Module.asm.ts_query_string_value_for_id).apply(null,arguments)},Module._ts_query_predicates_for_pattern=function(){return(Module._ts_query_predicates_for_pattern=Module.asm.ts_query_predicates_for_pattern).apply(null,arguments)},Module._ts_tree_copy=function(){return(Module._ts_tree_copy=Module.asm.ts_tree_copy).apply(null,arguments)},Module._ts_tree_delete=function(){return(Module._ts_tree_delete=Module.asm.ts_tree_delete).apply(null,arguments)},Module._ts_init=function(){return(Module._ts_init=Module.asm.ts_init).apply(null,arguments)},Module._ts_parser_new_wasm=function(){return(Module._ts_parser_new_wasm=Module.asm.ts_parser_new_wasm).apply(null,arguments)},Module._ts_parser_enable_logger_wasm=function(){return(Module._ts_parser_enable_logger_wasm=Module.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},Module._ts_parser_parse_wasm=function(){return(Module._ts_parser_parse_wasm=Module.asm.ts_parser_parse_wasm).apply(null,arguments)},Module._ts_language_type_is_named_wasm=function(){return(Module._ts_language_type_is_named_wasm=Module.asm.ts_language_type_is_named_wasm).apply(null,arguments)},Module._ts_language_type_is_visible_wasm=function(){return(Module._ts_language_type_is_visible_wasm=Module.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},Module._ts_tree_root_node_wasm=function(){return(Module._ts_tree_root_node_wasm=Module.asm.ts_tree_root_node_wasm).apply(null,arguments)},Module._ts_tree_edit_wasm=function(){return(Module._ts_tree_edit_wasm=Module.asm.ts_tree_edit_wasm).apply(null,arguments)},Module._ts_tree_get_changed_ranges_wasm=function(){return(Module._ts_tree_get_changed_ranges_wasm=Module.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},Module._ts_tree_cursor_new_wasm=function(){return(Module._ts_tree_cursor_new_wasm=Module.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},Module._ts_tree_cursor_delete_wasm=function(){return(Module._ts_tree_cursor_delete_wasm=Module.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},Module._ts_tree_cursor_reset_wasm=function(){return(Module._ts_tree_cursor_reset_wasm=Module.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},Module._ts_tree_cursor_goto_first_child_wasm=function(){return(Module._ts_tree_cursor_goto_first_child_wasm=Module.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},Module._ts_tree_cursor_goto_next_sibling_wasm=function(){return(Module._ts_tree_cursor_goto_next_sibling_wasm=Module.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},Module._ts_tree_cursor_goto_parent_wasm=function(){return(Module._ts_tree_cursor_goto_parent_wasm=Module.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_type_id_wasm=function(){return(Module._ts_tree_cursor_current_node_type_id_wasm=Module.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_is_named_wasm=function(){return(Module._ts_tree_cursor_current_node_is_named_wasm=Module.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_is_missing_wasm=function(){return(Module._ts_tree_cursor_current_node_is_missing_wasm=Module.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_id_wasm=function(){return(Module._ts_tree_cursor_current_node_id_wasm=Module.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},Module._ts_tree_cursor_start_position_wasm=function(){return(Module._ts_tree_cursor_start_position_wasm=Module.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},Module._ts_tree_cursor_end_position_wasm=function(){return(Module._ts_tree_cursor_end_position_wasm=Module.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},Module._ts_tree_cursor_start_index_wasm=function(){return(Module._ts_tree_cursor_start_index_wasm=Module.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},Module._ts_tree_cursor_end_index_wasm=function(){return(Module._ts_tree_cursor_end_index_wasm=Module.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_field_id_wasm=function(){return(Module._ts_tree_cursor_current_field_id_wasm=Module.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_wasm=function(){return(Module._ts_tree_cursor_current_node_wasm=Module.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},Module._ts_node_symbol_wasm=function(){return(Module._ts_node_symbol_wasm=Module.asm.ts_node_symbol_wasm).apply(null,arguments)},Module._ts_node_child_count_wasm=function(){return(Module._ts_node_child_count_wasm=Module.asm.ts_node_child_count_wasm).apply(null,arguments)},Module._ts_node_named_child_count_wasm=function(){return(Module._ts_node_named_child_count_wasm=Module.asm.ts_node_named_child_count_wasm).apply(null,arguments)},Module._ts_node_child_wasm=function(){return(Module._ts_node_child_wasm=Module.asm.ts_node_child_wasm).apply(null,arguments)},Module._ts_node_named_child_wasm=function(){return(Module._ts_node_named_child_wasm=Module.asm.ts_node_named_child_wasm).apply(null,arguments)},Module._ts_node_child_by_field_id_wasm=function(){return(Module._ts_node_child_by_field_id_wasm=Module.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},Module._ts_node_next_sibling_wasm=function(){return(Module._ts_node_next_sibling_wasm=Module.asm.ts_node_next_sibling_wasm).apply(null,arguments)},Module._ts_node_prev_sibling_wasm=function(){return(Module._ts_node_prev_sibling_wasm=Module.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},Module._ts_node_next_named_sibling_wasm=function(){return(Module._ts_node_next_named_sibling_wasm=Module.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},Module._ts_node_prev_named_sibling_wasm=function(){return(Module._ts_node_prev_named_sibling_wasm=Module.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},Module._ts_node_parent_wasm=function(){return(Module._ts_node_parent_wasm=Module.asm.ts_node_parent_wasm).apply(null,arguments)},Module._ts_node_descendant_for_index_wasm=function(){return(Module._ts_node_descendant_for_index_wasm=Module.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},Module._ts_node_named_descendant_for_index_wasm=function(){return(Module._ts_node_named_descendant_for_index_wasm=Module.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},Module._ts_node_descendant_for_position_wasm=function(){return(Module._ts_node_descendant_for_position_wasm=Module.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},Module._ts_node_named_descendant_for_position_wasm=function(){return(Module._ts_node_named_descendant_for_position_wasm=Module.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},Module._ts_node_start_point_wasm=function(){return(Module._ts_node_start_point_wasm=Module.asm.ts_node_start_point_wasm).apply(null,arguments)},Module._ts_node_end_point_wasm=function(){return(Module._ts_node_end_point_wasm=Module.asm.ts_node_end_point_wasm).apply(null,arguments)},Module._ts_node_start_index_wasm=function(){return(Module._ts_node_start_index_wasm=Module.asm.ts_node_start_index_wasm).apply(null,arguments)},Module._ts_node_end_index_wasm=function(){return(Module._ts_node_end_index_wasm=Module.asm.ts_node_end_index_wasm).apply(null,arguments)},Module._ts_node_to_string_wasm=function(){return(Module._ts_node_to_string_wasm=Module.asm.ts_node_to_string_wasm).apply(null,arguments)},Module._ts_node_children_wasm=function(){return(Module._ts_node_children_wasm=Module.asm.ts_node_children_wasm).apply(null,arguments)},Module._ts_node_named_children_wasm=function(){return(Module._ts_node_named_children_wasm=Module.asm.ts_node_named_children_wasm).apply(null,arguments)},Module._ts_node_descendants_of_type_wasm=function(){return(Module._ts_node_descendants_of_type_wasm=Module.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},Module._ts_node_is_named_wasm=function(){return(Module._ts_node_is_named_wasm=Module.asm.ts_node_is_named_wasm).apply(null,arguments)},Module._ts_node_has_changes_wasm=function(){return(Module._ts_node_has_changes_wasm=Module.asm.ts_node_has_changes_wasm).apply(null,arguments)},Module._ts_node_has_error_wasm=function(){return(Module._ts_node_has_error_wasm=Module.asm.ts_node_has_error_wasm).apply(null,arguments)},Module._ts_node_is_missing_wasm=function(){return(Module._ts_node_is_missing_wasm=Module.asm.ts_node_is_missing_wasm).apply(null,arguments)},Module._ts_query_matches_wasm=function(){return(Module._ts_query_matches_wasm=Module.asm.ts_query_matches_wasm).apply(null,arguments)},Module._ts_query_captures_wasm=function(){return(Module._ts_query_captures_wasm=Module.asm.ts_query_captures_wasm).apply(null,arguments)},Module._iswdigit=function(){return(Module._iswdigit=Module.asm.iswdigit).apply(null,arguments)},Module._iswalpha=function(){return(Module._iswalpha=Module.asm.iswalpha).apply(null,arguments)},Module._iswlower=function(){return(Module._iswlower=Module.asm.iswlower).apply(null,arguments)},Module._towupper=function(){return(Module._towupper=Module.asm.towupper).apply(null,arguments)},Module.___errno_location=function(){return(je=Module.___errno_location=Module.asm.__errno_location).apply(null,arguments)}),Ue=(Module._memchr=function(){return(Module._memchr=Module.asm.memchr).apply(null,arguments)},Module._strlen=function(){return(Module._strlen=Module.asm.strlen).apply(null,arguments)},Module.stackSave=function(){return(Ue=Module.stackSave=Module.asm.stackSave).apply(null,arguments)}),De=Module.stackRestore=function(){return(De=Module.stackRestore=Module.asm.stackRestore).apply(null,arguments)},ze=Module.stackAlloc=function(){return(ze=Module.stackAlloc=Module.asm.stackAlloc).apply(null,arguments)},Ge=Module._setThrew=function(){return(Ge=Module._setThrew=Module.asm.setThrew).apply(null,arguments)};Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},Module.__Znwm=function(){return(Module.__Znwm=Module.asm._Znwm).apply(null,arguments)},Module.__ZdlPv=function(){return(Module.__ZdlPv=Module.asm._ZdlPv).apply(null,arguments)},Module.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(Module.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=Module.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},Module._orig$ts_parser_timeout_micros=function(){return(Module._orig$ts_parser_timeout_micros=Module.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},Module._orig$ts_parser_set_timeout_micros=function(){return(Module._orig$ts_parser_set_timeout_micros=Module.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)};function He(e){this.name=\"ExitStatus\",this.message=\"Program terminated with exit(\"+e+\")\",this.status=e}Module.allocate=function(e,t){var r;return r=t==C?ze(e.length):$e(e.length),e.subarray||e.slice?T.set(e,r):T.set(new Uint8Array(e),r),r};re=function e(){Ze||Ke(),Ze||(re=e)};var Be=!1;function Ke(e){function t(){Ze||(Ze=!0,Module.calledRun=!0,P||(Y=!0,pe(X),pe(Q),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),Xe&&function(e){var t=Module._main;if(t){var r=(e=e||[]).length+1,n=ze(4*(r+1));W[n>>2]=G(a);for(var s=1;s>2)+s]=G(e[s-1]);W[(n>>2)+r]=0;try{Ve(t(r,n),!0)}catch(e){if(e instanceof He)return;if(\"unwind\"==e)return;var o=e;e&&\"object\"==typeof e&&e.stack&&(o=[e,e.stack]),g(\"exception thrown: \"+o),u(1,e)}finally{!0}}}(e),function(){if(Module.postRun)for(\"function\"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)e=Module.postRun.shift(),J.unshift(e);var e;pe(J)}()))}e=e||_,ee>0||!Be&&(function(){if(I.length){if(!m)return ne(),void I.reduce(function(e,t){return e.then(function(){return Ne(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})})},Promise.resolve()).then(function(){se(),Pe()});I.forEach(function(e){Ne(e,{global:!0,nodelete:!0,allowUndefined:!0})}),Pe()}else Pe()}(),Be=!0,ee>0)||(!function(){if(Module.preRun)for(\"function\"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)e=Module.preRun.shift(),V.unshift(e);var e;pe(V)}(),ee>0||(Module.setStatus?(Module.setStatus(\"Running...\"),setTimeout(function(){setTimeout(function(){Module.setStatus(\"\")},1),t()},1)):t()))}function Ve(e,t){e,t&&we()&&0===e||(we()||(!0,Module.onExit&&Module.onExit(e),P=!0),u(e,new He(e)))}if(Module.run=Ke,Module.preInit)for(\"function\"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var Xe=!0;Module.noInitialRun&&(Xe=!1),Ke();const Qe=Module,Je={},Ye=4,et=5*Ye,tt=2*Ye,rt=2*Ye+2*tt,nt={row:0,column:0},st=/[\\w-.]*/g,ot=1,_t=2,at=/^_?tree_sitter_\\w+/;var ut,it,lt,dt,ct;class ParserImpl{static init(){lt=Qe._ts_init(),ut=N(lt,\"i32\"),it=N(lt+Ye,\"i32\")}initialize(){Qe._ts_parser_new_wasm(),this[0]=N(lt,\"i32\"),this[1]=N(lt+Ye,\"i32\")}delete(){Qe._ts_parser_delete(this[0]),Qe._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error(\"Argument must be a Language\");{t=e[0];const r=Qe._ts_language_version(t);if(re.slice(t,n));else{if(\"function\"!=typeof e)throw new Error(\"Argument must be a string or a function\");dt=e}this.logCallback?(ct=this.logCallback,Qe._ts_parser_enable_logger_wasm(this[0],1)):(ct=null,Qe._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let e=s=Qe._calloc(n,rt);for(let t=0;t0){let e=r;for(let r=0;r0){let r=t;for(let t=0;t0){let r=t;for(let t=0;t0){let e=a;for(let t=0;t<_;t++)u[t]=wt(this.tree,e),e+=et}return Qe._free(a),Qe._free(o),u}get nextSibling(){return gt(this),Qe._ts_node_next_sibling_wasm(this.tree[0]),wt(this.tree)}get previousSibling(){return gt(this),Qe._ts_node_prev_sibling_wasm(this.tree[0]),wt(this.tree)}get nextNamedSibling(){return gt(this),Qe._ts_node_next_named_sibling_wasm(this.tree[0]),wt(this.tree)}get previousNamedSibling(){return gt(this),Qe._ts_node_prev_named_sibling_wasm(this.tree[0]),wt(this.tree)}get parent(){return gt(this),Qe._ts_node_parent_wasm(this.tree[0]),wt(this.tree)}descendantForIndex(e,t=e){if(\"number\"!=typeof e||\"number\"!=typeof t)throw new Error(\"Arguments must be numbers\");gt(this);let r=lt+et;return x(r,e,\"i32\"),x(r+Ye,t,\"i32\"),Qe._ts_node_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}namedDescendantForIndex(e,t=e){if(\"number\"!=typeof e||\"number\"!=typeof t)throw new Error(\"Arguments must be numbers\");gt(this);let r=lt+et;return x(r,e,\"i32\"),x(r+Ye,t,\"i32\"),Qe._ts_node_named_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}descendantForPosition(e,t=e){if(!ht(e)||!ht(t))throw new Error(\"Arguments must be {row, column} objects\");gt(this);let r=lt+et;return bt(r,e),bt(r+tt,t),Qe._ts_node_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}namedDescendantForPosition(e,t=e){if(!ht(e)||!ht(t))throw new Error(\"Arguments must be {row, column} objects\");gt(this);let r=lt+et;return bt(r,e),bt(r+tt,t),Qe._ts_node_named_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}walk(){return gt(this),Qe._ts_tree_cursor_new_wasm(this.tree[0]),new TreeCursor(Je,this.tree)}toString(){gt(this);const e=Qe._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t=\"\";;){var r=T[e++>>0];if(!r)return t;t+=String.fromCharCode(r)}}(e);return Qe._free(e),t}}class TreeCursor{constructor(e,t){pt(e),this.tree=t,Mt(this)}delete(){yt(this),Qe._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){gt(e),yt(this,lt+et),Qe._ts_tree_cursor_reset_wasm(this.tree[0]),Mt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||\"ERROR\"}get nodeTypeId(){return yt(this),Qe._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return yt(this),Qe._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return yt(this),1===Qe._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return yt(this),1===Qe._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){yt(this);const e=Qe._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Qe._ts_tree_cursor_end_index_wasm(this.tree[0]);return mt(this.tree,e,t)}get startPosition(){return yt(this),Qe._ts_tree_cursor_start_position_wasm(this.tree[0]),vt(lt)}get endPosition(){return yt(this),Qe._ts_tree_cursor_end_position_wasm(this.tree[0]),vt(lt)}get startIndex(){return yt(this),Qe._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return yt(this),Qe._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return yt(this),Qe._ts_tree_cursor_current_node_wasm(this.tree[0]),wt(this.tree)}currentFieldId(){return yt(this),Qe._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){yt(this);const e=Qe._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Mt(this),1===e}gotoNextSibling(){yt(this);const e=Qe._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Mt(this),1===e}gotoParent(){yt(this);const e=Qe._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return Mt(this),1===e}}class Language{constructor(e,t){pt(e),this[0]=t,this.types=new Array(Qe._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e0){if(\"string\"!==s[0].type)throw new Error(\"Predicates must begin with a literal value\");const t=s[0].value;let r=!0;switch(t){case\"not-eq?\":r=!1;case\"eq?\":if(3!==s.length)throw new Error(`Wrong number of arguments to \\`#eq?\\` predicate. Expected 2, got ${s.length-1}`);if(\"capture\"!==s[1].type)throw new Error(`First argument of \\`#eq?\\` predicate must be a capture. Got \"${s[1].value}\"`);if(\"capture\"===s[2].type){const t=s[1].name,n=s[2].name;m[e].push(function(e){let s,o;for(const r of e)r.name===t&&(s=r.node),r.name===n&&(o=r.node);return void 0===s||void 0===o||s.text===o.text===r})}else{const t=s[1].name,n=s[2].value;m[e].push(function(e){for(const s of e)if(s.name===t)return s.node.text===n===r;return!0})}break;case\"not-match?\":r=!1;case\"match?\":if(3!==s.length)throw new Error(`Wrong number of arguments to \\`#match?\\` predicate. Expected 2, got ${s.length-1}.`);if(\"capture\"!==s[1].type)throw new Error(`First argument of \\`#match?\\` predicate must be a capture. Got \"${s[1].value}\".`);if(\"string\"!==s[2].type)throw new Error(`Second argument of \\`#match?\\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,o=new RegExp(s[2].value);m[e].push(function(e){for(const t of e)if(t.name===n)return o.test(t.node.text)===r;return!0});break;case\"set!\":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \\`#set!\\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some(e=>\"string\"!==e.type))throw new Error('Arguments to `#set!` predicate must be a strings.\".');i[e]||(i[e]={}),i[e][s[1].value]=s[2]?s[2].value:null;break;case\"is?\":case\"is-not?\":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \\`#${t}\\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some(e=>\"string\"!==e.type))throw new Error(`Arguments to \\`#${t}\\` predicate must be a strings.\".`);const _=\"is?\"===t?l:d;_[e]||(_[e]={}),_[e][s[1].value]=s[2]?s[2].value:null;break;default:c[e].push({operator:t,operands:s.slice(1)})}s.length=0}}Object.freeze(i[e]),Object.freeze(l[e]),Object.freeze(d[e])}return Qe._free(r),new Query(Je,n,a,m,c,Object.freeze(i),Object.freeze(l),Object.freeze(d))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const r=e;if(\"undefined\"!=typeof process&&process.versions&&process.versions.node){const e=require(\"fs\");t=Promise.resolve(e.readFileSync(r))}else t=fetch(r).then(e=>e.arrayBuffer().then(t=>{if(e.ok)return new Uint8Array(t);{const r=new TextDecoder(\"utf-8\").decode(t);throw new Error(`Language.load failed with status ${e.status}.\\n\\n${r}`)}}))}const r=\"function\"==typeof loadSideModule?loadSideModule:xe;return t.then(e=>r(e,{loadAsync:!0})).then(e=>{const t=Object.keys(e),r=t.find(e=>at.test(e)&&!e.includes(\"external_scanner_\"));r||console.log(`Couldn't find language function in WASM file. Symbols:\\n${JSON.stringify(t,null,2)}`);const n=e[r]();return new Language(Je,n)})}}class Query{constructor(e,t,r,n,s,o,_,a){pt(e),this[0]=t,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=o,this.assertedProperties=_,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Qe._ts_query_delete(this[0]),this[0]=0}matches(e,t,r,n){t||(t=nt),r||(r=nt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if(\"number\"!=typeof s)throw new Error(\"Arguments must be numbers\");gt(e),Qe._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const o=N(lt,\"i32\"),_=N(lt+Ye,\"i32\"),a=N(lt+2*Ye,\"i32\"),u=new Array(o);this.exceededMatchLimit=!!a;let i=0,l=_;for(let t=0;te(s))){u[i++]={pattern:r,captures:s};const e=this.setProperties[r];e&&(u[t].setProperties=e);const n=this.assertedProperties[r];n&&(u[t].assertedProperties=n);const o=this.refutedProperties[r];o&&(u[t].refutedProperties=o)}}return u.length=i,Qe._free(_),u}captures(e,t,r,n){t||(t=nt),r||(r=nt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if(\"number\"!=typeof s)throw new Error(\"Arguments must be numbers\");gt(e),Qe._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const o=N(lt,\"i32\"),_=N(lt+Ye,\"i32\"),a=N(lt+2*Ye,\"i32\"),u=[];this.exceededMatchLimit=!!a;const i=[];let l=_;for(let t=0;te(i))){const e=i[n],r=this.setProperties[t];r&&(e.setProperties=r);const s=this.assertedProperties[t];s&&(e.assertedProperties=s);const o=this.refutedProperties[t];o&&(e.refutedProperties=o),u.push(e)}}return Qe._free(_),u}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function mt(e,t,r){const n=r-t;let s=e.textCallback(t,null,r);for(t+=s.length;t0))break;t+=n.length,s+=n}return t>r&&(s=s.slice(0,n)),s}function ft(e,t,r,n){for(let s=0,o=n.length;s{ParserImpl.init(),e()})}))}}return Parser}();\"object\"==typeof exports&&(module.exports=TreeSitter);\n","\"use strict\";\n// NOTE: don't construct errors here or they'll have the wrong stack trace.\n// NOTE: don't make custom error class; the JS engines use `SyntaxError`\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.errorMessages = exports.ErrorType = void 0;\n/**\n * Keys for possible error messages used by `unraw`.\n * Note: These do _not_ map to actual error object types. All errors thrown\n * are `SyntaxError`.\n */\n// Don't use const enum or JS users won't be able to access the enum values\nvar ErrorType;\n(function (ErrorType) {\n /**\n * Thrown when a badly formed Unicode escape sequence is found. Possible\n * reasons include the code being too short (`\"\\u25\"`) or having invalid\n * characters (`\"\\u2$A5\"`).\n */\n ErrorType[\"MalformedUnicode\"] = \"MALFORMED_UNICODE\";\n /**\n * Thrown when a badly formed hexadecimal escape sequence is found. Possible\n * reasons include the code being too short (`\"\\x2\"`) or having invalid\n * characters (`\"\\x2$\"`).\n */\n ErrorType[\"MalformedHexadecimal\"] = \"MALFORMED_HEXADECIMAL\";\n /**\n * Thrown when a Unicode code point escape sequence has too high of a code\n * point. The maximum code point allowed is `\\u{10FFFF}`, so `\\u{110000}` and\n * higher will throw this error.\n */\n ErrorType[\"CodePointLimit\"] = \"CODE_POINT_LIMIT\";\n /**\n * Thrown when an octal escape sequences is encountered and `allowOctals` is\n * `false`. For example, `unraw(\"\\234\", false)`.\n */\n ErrorType[\"OctalDeprecation\"] = \"OCTAL_DEPRECATION\";\n /**\n * Thrown only when a single backslash is found at the end of a string. For\n * example, `\"\\\\\"` or `\"test\\\\x24\\\\\"`.\n */\n ErrorType[\"EndOfString\"] = \"END_OF_STRING\";\n})(ErrorType = exports.ErrorType || (exports.ErrorType = {}));\n/** Map of error message names to the full text of the message. */\nexports.errorMessages = new Map([\n [ErrorType.MalformedUnicode, \"malformed Unicode character escape sequence\"],\n [\n ErrorType.MalformedHexadecimal,\n \"malformed hexadecimal character escape sequence\"\n ],\n [\n ErrorType.CodePointLimit,\n \"Unicode codepoint must not be greater than 0x10FFFF in escape sequence\"\n ],\n [\n ErrorType.OctalDeprecation,\n '\"0\"-prefixed octal literals and octal escape sequences are deprecated; ' +\n 'for octal literals use the \"0o\" prefix instead'\n ],\n [ErrorType.EndOfString, \"malformed escape sequence at end of string\"]\n]);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.unraw = exports.errorMessages = exports.ErrorType = void 0;\nconst errors_1 = require(\"./errors\");\nObject.defineProperty(exports, \"ErrorType\", { enumerable: true, get: function () { return errors_1.ErrorType; } });\nObject.defineProperty(exports, \"errorMessages\", { enumerable: true, get: function () { return errors_1.errorMessages; } });\n/**\n * Parse a string as a base-16 number. This is more strict than `parseInt` as it\n * will not allow any other characters, including (for example) \"+\", \"-\", and\n * \".\".\n * @param hex A string containing a hexadecimal number.\n * @returns The parsed integer, or `NaN` if the string is not a valid hex\n * number.\n */\nfunction parseHexToInt(hex) {\n const isOnlyHexChars = !hex.match(/[^a-f0-9]/i);\n return isOnlyHexChars ? parseInt(hex, 16) : NaN;\n}\n/**\n * Check the validity and length of a hexadecimal code and optionally enforces\n * a specific number of hex digits.\n * @param hex The string to validate and parse.\n * @param errorName The name of the error message to throw a `SyntaxError` with\n * if `hex` is invalid. This is used to index `errorMessages`.\n * @param enforcedLength If provided, will throw an error if `hex` is not\n * exactly this many characters.\n * @returns The parsed hex number as a normal number.\n * @throws {SyntaxError} If the code is not valid.\n */\nfunction validateAndParseHex(hex, errorName, enforcedLength) {\n const parsedHex = parseHexToInt(hex);\n if (Number.isNaN(parsedHex) ||\n (enforcedLength !== undefined && enforcedLength !== hex.length)) {\n throw new SyntaxError(errors_1.errorMessages.get(errorName));\n }\n return parsedHex;\n}\n/**\n * Parse a two-digit hexadecimal character escape code.\n * @param code The two-digit hexadecimal number that represents the character to\n * output.\n * @returns The single character represented by the code.\n * @throws {SyntaxError} If the code is not valid hex or is not the right\n * length.\n */\nfunction parseHexadecimalCode(code) {\n const parsedCode = validateAndParseHex(code, errors_1.ErrorType.MalformedHexadecimal, 2);\n return String.fromCharCode(parsedCode);\n}\n/**\n * Parse a four-digit Unicode character escape code.\n * @param code The four-digit unicode number that represents the character to\n * output.\n * @param surrogateCode Optional four-digit unicode surrogate that represents\n * the other half of the character to output.\n * @returns The single character represented by the code.\n * @throws {SyntaxError} If the codes are not valid hex or are not the right\n * length.\n */\nfunction parseUnicodeCode(code, surrogateCode) {\n const parsedCode = validateAndParseHex(code, errors_1.ErrorType.MalformedUnicode, 4);\n if (surrogateCode !== undefined) {\n const parsedSurrogateCode = validateAndParseHex(surrogateCode, errors_1.ErrorType.MalformedUnicode, 4);\n return String.fromCharCode(parsedCode, parsedSurrogateCode);\n }\n return String.fromCharCode(parsedCode);\n}\n/**\n * Test if the text is surrounded by curly braces (`{}`).\n * @param text Text to check.\n * @returns `true` if the text is in the form `{*}`.\n */\nfunction isCurlyBraced(text) {\n return text.charAt(0) === \"{\" && text.charAt(text.length - 1) === \"}\";\n}\n/**\n * Parse a Unicode code point character escape code.\n * @param codePoint A unicode escape code point, including the surrounding curly\n * braces.\n * @returns The single character represented by the code.\n * @throws {SyntaxError} If the code is not valid hex or does not have the\n * surrounding curly braces.\n */\nfunction parseUnicodeCodePointCode(codePoint) {\n if (!isCurlyBraced(codePoint)) {\n throw new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.MalformedUnicode));\n }\n const withoutBraces = codePoint.slice(1, -1);\n const parsedCode = validateAndParseHex(withoutBraces, errors_1.ErrorType.MalformedUnicode);\n try {\n return String.fromCodePoint(parsedCode);\n }\n catch (err) {\n throw err instanceof RangeError\n ? new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.CodePointLimit))\n : err;\n }\n}\n// Have to give overload that takes boolean for when compiler doesn't know if\n// true or false\nfunction parseOctalCode(code, error = false) {\n if (error) {\n throw new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.OctalDeprecation));\n }\n // The original regex only allows digits so we don't need to have a strict\n // octal parser like hexToInt. Length is not enforced for octals.\n const parsedCode = parseInt(code, 8);\n return String.fromCharCode(parsedCode);\n}\n/**\n * Map of unescaped letters to their corresponding special JS escape characters.\n * Intentionally does not include characters that map to themselves like \"\\'\".\n */\nconst singleCharacterEscapes = new Map([\n [\"b\", \"\\b\"],\n [\"f\", \"\\f\"],\n [\"n\", \"\\n\"],\n [\"r\", \"\\r\"],\n [\"t\", \"\\t\"],\n [\"v\", \"\\v\"],\n [\"0\", \"\\0\"]\n]);\n/**\n * Parse a single character escape sequence and return the matching character.\n * If none is matched, defaults to `code`.\n * @param code A single character code.\n */\nfunction parseSingleCharacterCode(code) {\n return singleCharacterEscapes.get(code) || code;\n}\n/**\n * Matches every escape sequence possible, including invalid ones.\n *\n * All capture groups (described below) are unique (only one will match), except\n * for 4, which can only potentially match if 3 does.\n *\n * **Capture Groups:**\n * 0. A single backslash\n * 1. Hexadecimal code\n * 2. Unicode code point code with surrounding curly braces\n * 3. Unicode escape code with surrogate\n * 4. Surrogate code\n * 5. Unicode escape code without surrogate\n * 6. Octal code _NOTE: includes \"0\"._\n * 7. A single character (will never be \\, x, u, or 0-3)\n */\nconst escapeMatch = /\\\\(?:(\\\\)|x([\\s\\S]{0,2})|u(\\{[^}]*\\}?)|u([\\s\\S]{4})\\\\u([^{][\\s\\S]{0,3})|u([\\s\\S]{0,4})|([0-3]?[0-7]{1,2})|([\\s\\S])|$)/g;\n/**\n * Replace raw escape character strings with their escape characters.\n * @param raw A string where escape characters are represented as raw string\n * values like `\\'` rather than `'`.\n * @param allowOctals If `true`, will process the now-deprecated octal escape\n * sequences (ie, `\\111`).\n * @returns The processed string, with escape characters replaced by their\n * respective actual Unicode characters.\n */\nfunction unraw(raw, allowOctals = false) {\n return raw.replace(escapeMatch, function (_, backslash, hex, codePoint, unicodeWithSurrogate, surrogate, unicode, octal, singleCharacter) {\n // Compare groups to undefined because empty strings mean different errors\n // Otherwise, `\\u` would fail the same as `\\` which is wrong.\n if (backslash !== undefined) {\n return \"\\\\\";\n }\n if (hex !== undefined) {\n return parseHexadecimalCode(hex);\n }\n if (codePoint !== undefined) {\n return parseUnicodeCodePointCode(codePoint);\n }\n if (unicodeWithSurrogate !== undefined) {\n return parseUnicodeCode(unicodeWithSurrogate, surrogate);\n }\n if (unicode !== undefined) {\n return parseUnicodeCode(unicode);\n }\n if (octal === \"0\") {\n return \"\\0\";\n }\n if (octal !== undefined) {\n return parseOctalCode(octal, !allowOctals);\n }\n if (singleCharacter !== undefined) {\n return parseSingleCharacterCode(singleCharacter);\n }\n throw new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.EndOfString));\n });\n}\nexports.unraw = unraw;\nexports.default = unraw;\n","module.exports = require(\"core-js-pure/features/aggregate-error\");","'use strict';\nvar parent = require('../stable/aggregate-error');\n\nmodule.exports = parent;\n","'use strict';\nrequire('../modules/es.error.cause');\nrequire('../modules/es.aggregate-error');\nrequire('../modules/es.aggregate-error.cause');\nrequire('../modules/es.array.iterator');\nrequire('../modules/es.string.iterator');\nvar path = require('../internals/path');\n\nmodule.exports = path.AggregateError;\n","'use strict';\nmodule.exports = require('../full/aggregate-error');\n","'use strict';\n// TODO: remove from `core-js@4`\nrequire('../modules/esnext.aggregate-error');\n\nvar parent = require('../actual/aggregate-error');\n\nmodule.exports = parent;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar isPossiblePrototype = require('../internals/is-possible-prototype');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (isPossiblePrototype(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\nmodule.exports = function () { /* empty */ };\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (target, key, value, options) {\n if (options && options.enumerable) target[key] = value;\n else createNonEnumerableProperty(target, key, value);\n return target;\n};\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","'use strict';\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\n// non-standard V8\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n if (ERROR_STACK_INSTALLABLE) {\n if (captureStackTrace) captureStackTrace(error, C);\n else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = new Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar isCallable = require('../internals/is-callable');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar isForced = require('../internals/is-forced');\nvar path = require('../internals/path');\nvar bind = require('../internals/function-bind-context');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\n\nvar wrapConstructor = function (NativeConstructor) {\n var Wrapper = function (a, b, c) {\n if (this instanceof Wrapper) {\n switch (arguments.length) {\n case 0: return new NativeConstructor();\n case 1: return new NativeConstructor(a);\n case 2: return new NativeConstructor(a, b);\n } return new NativeConstructor(a, b, c);\n } return apply(NativeConstructor, this, arguments);\n };\n Wrapper.prototype = NativeConstructor.prototype;\n return Wrapper;\n};\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var PROTO = options.proto;\n\n var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : global[TARGET] && global[TARGET].prototype;\n\n var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];\n var targetPrototype = target.prototype;\n\n var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;\n var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;\n\n for (key in source) {\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contains in native\n USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);\n\n targetProperty = target[key];\n\n if (USE_NATIVE) if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(nativeSource, key);\n nativeProperty = descriptor && descriptor.value;\n } else nativeProperty = nativeSource[key];\n\n // export native or implementation\n sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];\n\n if (!FORCED && !PROTO && typeof targetProperty == typeof sourceProperty) continue;\n\n // bind methods to global for calling from export context\n if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);\n // wrap global constructors for prevent changes in this version\n else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);\n // make static versions for prototype methods\n else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);\n // default case\n else resultProperty = sourceProperty;\n\n // add a flag to not completely full polyfills\n if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(resultProperty, 'sham', true);\n }\n\n createNonEnumerableProperty(target, key, resultProperty);\n\n if (PROTO) {\n VIRTUAL_PROTOTYPE = TARGET + 'Prototype';\n if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {\n createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});\n }\n // export virtual prototype methods\n createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);\n // export real prototype methods\n if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {\n createNonEnumerableProperty(targetPrototype, key, sourceProperty);\n }\n }\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar path = require('../internals/path');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (variable) {\n return isCallable(variable) ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nmodule.exports = function (argument) {\n return isObject(argument) || argument === null;\n};\n","'use strict';\nmodule.exports = true;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n }\n\n return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (Target, Source, key) {\n key in Target || defineProperty(Target, key, {\n configurable: true,\n get: function () { return Source[key]; },\n set: function (it) { Source[key] = it; }\n });\n};\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineProperty = require('../internals/object-define-property').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/object-to-string');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC, SET_METHOD) {\n var target = STATIC ? it : it && it.prototype;\n if (target) {\n if (!hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {\n createNonEnumerableProperty(target, 'toString', toString);\n }\n }\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.35.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var STACK_TRACE_LIMIT = 'stackTraceLimit';\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n\n if (!OriginalError) return;\n\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n\n if (!FORCED) return OriginalError;\n\n var BaseError = getBuiltIn('Error');\n\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n installErrorStack(result, WrappedError, result.stack, 2);\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n\n WrappedError.prototype = OriginalErrorPrototype;\n\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);\n else copyConstructorProperties(WrappedError, BaseError, { name: true });\n } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {\n proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);\n proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');\n }\n\n copyConstructorProperties(WrappedError, OriginalError);\n\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) { /* empty */ }\n\n return WrappedError;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar fails = require('../internals/fails');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar AGGREGATE_ERROR = 'AggregateError';\nvar $AggregateError = getBuiltIn(AGGREGATE_ERROR);\n\nvar FORCED = !fails(function () {\n return $AggregateError([1]).errors[0] !== 1;\n}) && fails(function () {\n return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7;\n});\n\n// https://tc39.es/ecma262/#sec-aggregate-error\n$({ global: true, constructor: true, arity: 2, forced: FORCED }, {\n AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) {\n // eslint-disable-next-line no-unused-vars -- required for functions `.length`\n return function AggregateError(errors, message) { return apply(init, this, arguments); };\n }, FORCED, true)\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Error = Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n installErrorStack(that, $AggregateError, that.stack, 1);\n if (arguments.length > 2) installErrorCause(that, arguments[2]);\n var errorsArray = [];\n iterate(errors, push, { that: errorsArray });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, $Error);\nelse copyConstructorProperties($AggregateError, $Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true, constructor: true, arity: 2 }, {\n AggregateError: $AggregateError\n});\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.aggregate-error.constructor');\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n switch (state.kind) {\n case 'keys': return createIterResultObject(index, false);\n case 'values': return createIterResultObject(target[index], false);\n } return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\n/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = global[WEB_ASSEMBLY];\n\n// eslint-disable-next-line es/no-error-cause -- feature detection\nvar FORCED = new Error('e', { cause: 7 }).cause !== 7;\n\nvar exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);\n};\n\nvar exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);\n }\n};\n\n// https://tc39.es/ecma262/#sec-nativeerror\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) { return apply(init, this, arguments); };\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","'use strict';\n// TODO: Remove from `core-js@4`\nrequire('../modules/es.aggregate-error');\n","'use strict';\nrequire('../modules/es.array.iterator');\nvar DOMIterables = require('../internals/dom-iterables');\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n setToStringTag(global[COLLECTION_NAME], COLLECTION_NAME);\n Iterators[COLLECTION_NAME] = Iterators.Array;\n}\n","'use strict';\n// TODO: remove from `core-js@4`\nrequire('../modules/esnext.aggregate-error');\n\nvar parent = require('../es/aggregate-error');\nrequire('../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","'use strict';\n\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst {toString} = Object.prototype;\nconst {getPrototypeOf} = Object;\n\nconst kindOf = (cache => thing => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type\n}\n\nconst typeOfTest = type => thing => typeof thing === type;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst {isArray} = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = thing => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (kindOf(val) !== 'object') {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nconst isFormData = (thing) => {\n let kind;\n return thing && (\n (typeof FormData === 'function' && thing instanceof FormData) || (\n isFunction(thing.append) && (\n (kind = kindOf(thing)) === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n )\n )\n )\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => str.trim ?\n str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Boolean} [allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, {allOwnKeys = false} = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\nfunction findKey(obj, key) {\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== \"undefined\") return globalThis;\n return typeof self !== \"undefined\" ? self : (typeof window !== 'undefined' ? window : global)\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n const {caseless} = isContextDefined(this) && this || {};\n const result = {};\n const assignValue = (val, key) => {\n const targetKey = caseless && findKey(result, key) || key;\n if (isPlainObject(result[targetKey]) && isPlainObject(val)) {\n result[targetKey] = merge(result[targetKey], val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else {\n result[targetKey] = val;\n }\n }\n\n for (let i = 0, l = arguments.length; i < l; i++) {\n arguments[i] && forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Boolean} [allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, {allOwnKeys}= {}) => {\n forEach(b, (val, key) => {\n if (thisArg && isFunction(val)) {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n }, {allOwnKeys});\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n constructor.prototype.constructor = constructor;\n Object.defineProperty(constructor, 'super', {\n value: superConstructor.prototype\n });\n props && Object.assign(constructor.prototype, props);\n}\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n}\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n}\n\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n}\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = (TypedArray => {\n // eslint-disable-next-line func-names\n return thing => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[Symbol.iterator];\n\n const iterator = generator.call(obj);\n\n let result;\n\n while ((result = iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n}\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n}\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = str => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g,\n function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n }\n );\n};\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n}\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error('Can not rewrite read-only method \\'' + name + '\\'');\n };\n }\n });\n}\n\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach(value => {\n obj[value] = true;\n });\n }\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n}\n\nconst noop = () => {}\n\nconst toFiniteNumber = (value, defaultValue) => {\n value = +value;\n return Number.isFinite(value) ? value : defaultValue;\n}\n\nconst ALPHA = 'abcdefghijklmnopqrstuvwxyz'\n\nconst DIGIT = '0123456789';\n\nconst ALPHABET = {\n DIGIT,\n ALPHA,\n ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT\n}\n\nconst generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {\n let str = '';\n const {length} = alphabet;\n while (size--) {\n str += alphabet[Math.random() * length|0]\n }\n\n return str;\n}\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);\n}\n\nconst toJSONObject = (obj) => {\n const stack = new Array(10);\n\n const visit = (source, i) => {\n\n if (isObject(source)) {\n if (stack.indexOf(source) >= 0) {\n return;\n }\n\n if(!('toJSON' in source)) {\n stack[i] = source;\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value, i + 1);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n stack[i] = undefined;\n\n return target;\n }\n }\n\n return source;\n }\n\n return visit(obj, 0);\n}\n\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\nconst isThenable = (thing) =>\n thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isUndefined,\n isDate,\n isFile,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n ALPHABET,\n generateString,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\nfunction AxiosError(message, code, config, request, response) {\n Error.call(this);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n } else {\n this.stack = (new Error()).stack;\n }\n\n this.message = message;\n this.name = 'AxiosError';\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n response && (this.response = response);\n}\n\nutils.inherits(AxiosError, Error, {\n toJSON: function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: utils.toJSONObject(this.config),\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n }\n});\n\nconst prototype = AxiosError.prototype;\nconst descriptors = {};\n\n[\n 'ERR_BAD_OPTION_VALUE',\n 'ERR_BAD_OPTION',\n 'ECONNABORTED',\n 'ETIMEDOUT',\n 'ERR_NETWORK',\n 'ERR_FR_TOO_MANY_REDIRECTS',\n 'ERR_DEPRECATED',\n 'ERR_BAD_RESPONSE',\n 'ERR_BAD_REQUEST',\n 'ERR_CANCELED',\n 'ERR_NOT_SUPPORT',\n 'ERR_INVALID_URL'\n// eslint-disable-next-line func-names\n].forEach(code => {\n descriptors[code] = {value: code};\n});\n\nObject.defineProperties(AxiosError, descriptors);\nObject.defineProperty(prototype, 'isAxiosError', {value: true});\n\n// eslint-disable-next-line func-names\nAxiosError.from = (error, code, config, request, response, customProps) => {\n const axiosError = Object.create(prototype);\n\n utils.toFlatObject(error, axiosError, function filter(obj) {\n return obj !== Error.prototype;\n }, prop => {\n return prop !== 'isAxiosError';\n });\n\n AxiosError.call(axiosError, error.message, code, config, request, response);\n\n axiosError.cause = error;\n\n axiosError.name = error.name;\n\n customProps && Object.assign(axiosError, customProps);\n\n return axiosError;\n};\n\nexport default AxiosError;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path.concat(key).map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n }).join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(options, {\n metaTokens: true,\n dots: false,\n indexes: false\n }, false, function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n });\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);\n }\n\n return value;\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = JSON.stringify(value);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))\n )) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) && formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const stack = [];\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable\n });\n\n function build(value, path) {\n if (utils.isUndefined(value)) return;\n\n if (stack.indexOf(value) !== -1) {\n throw Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result = !(utils.isUndefined(el) || el === null) && visitor.call(\n formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers\n );\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key]);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n '%00': '\\x00'\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object} params - The parameters to be converted to a FormData object.\n * @param {Object} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder ? function(value) {\n return encoder.call(this, value, encode);\n } : encode;\n\n return this._pairs.map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '').join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from '../helpers/AxiosURLSearchParams.js';\n\n/**\n * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their\n * URI encoded counterparts\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?object} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n \n const _encode = options && options.encode || encode;\n\n const serializeFn = options && options.serialize;\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, options);\n } else {\n serializedParams = utils.isURLSearchParams(params) ?\n params.toString() :\n new AxiosURLSearchParams(params, options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf(\"#\");\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","import URLSearchParams from './classes/URLSearchParams.js'\nimport FormData from './classes/FormData.js'\nimport Blob from './classes/Blob.js'\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data']\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict'\n\nexport default typeof Blob !== 'undefined' ? Blob : null\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv = (\n (product) => {\n return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0\n })(typeof navigator !== 'undefined' && navigator.product);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv\n}\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z]\n // foo.x.y.z\n // foo-x-y-z\n // foo x y z\n return utils.matchAll(/\\w+|\\[(\\w*)]/g, name).map(match => {\n return match[0] === '[]' ? '' : match[1] || match[0];\n });\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!target[name] || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http'],\n\n transformRequest: [function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, this.formSerializer).toString();\n }\n\n if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {\n const _FormData = this.env && this.env.FormData;\n\n return toFormData(\n isFileList ? {'files[]': data} : data,\n _FormData && new _FormData(),\n this.formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType ) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n const transitional = this.transitional || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const JSONRequested = this.responseType === 'json';\n\n if (data && utils.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*',\n 'Content-Type': undefined\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({\n visitor: function(value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n }\n }, options));\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default rawHeaders => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders && rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n if (!key || (parsed[key] && ignoreDuplicateOf[key])) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (parsed[key]) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : String(value);\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header.trim()\n .toLowerCase().replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach(methodName => {\n Object.defineProperty(obj, methodName + accessorName, {\n value: function(arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n throw new Error('header name must be a non-empty string');\n }\n\n const key = utils.findKey(self, lHeader);\n\n if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite)\n } else if(utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null && value !== false && (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\\n');\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals = this[$internals] = (this[$internals] = {\n accessors: {}\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n }\n }\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from './../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\n/**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\nfunction CanceledError(message, config, request) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n}\n\nutils.inherits(CanceledError, AxiosError, {\n __CANCEL__: true\n});\n\nexport default CanceledError;\n","import utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure) {\n const cookie = [name + '=' + encodeURIComponent(value)];\n\n utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());\n\n utils.isString(path) && cookie.push('path=' + path);\n\n utils.isString(domain) && cookie.push('domain=' + domain);\n\n secure === true && cookie.push('secure');\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n const match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n }\n\n :\n\n // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {}\n };\n\n","'use strict';\n\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/?\\/$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n}\n","'use strict';\n\nimport utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n// Standard browser envs have full support of the APIs needed to test\n// whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n const msie = /(msie|trident)/i.test(navigator.userAgent);\n const urlParsingNode = document.createElement('a');\n let originURL;\n\n /**\n * Parse a URL to discover its components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n let href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n const parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })();\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round(bytesCount * 1000 / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","'use strict';\n\nimport utils from './../utils.js';\nimport settle from './../core/settle.js';\nimport cookies from './../helpers/cookies.js';\nimport buildURL from './../helpers/buildURL.js';\nimport buildFullPath from '../core/buildFullPath.js';\nimport isURLSameOrigin from './../helpers/isURLSameOrigin.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport speedometer from '../helpers/speedometer.js';\n\nfunction progressEventReducer(listener, isDownloadStream) {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return e => {\n const loaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const progressBytes = loaded - bytesNotified;\n const rate = _speedometer(progressBytes);\n const inRange = loaded <= total;\n\n bytesNotified = loaded;\n\n const data = {\n loaded,\n total,\n progress: total ? (loaded / total) : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total && inRange ? (total - loaded) / rate : undefined,\n event: e\n };\n\n data[isDownloadStream ? 'download' : 'upload'] = true;\n\n listener(data);\n };\n}\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported && function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n let requestData = config.data;\n const requestHeaders = AxiosHeaders.from(config.headers).normalize();\n let {responseType, withXSRFToken} = config;\n let onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n let contentType;\n\n if (utils.isFormData(requestData)) {\n if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {\n requestHeaders.setContentType(false); // Let the browser set it\n } else if ((contentType = requestHeaders.getContentType()) !== false) {\n // fix semicolon duplication issue for ReactNative FormData implementation\n const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];\n requestHeaders.setContentType([type || 'multipart/form-data', ...tokens].join('; '));\n }\n }\n\n let request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n const username = config.auth.username || '';\n const password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.set('Authorization', 'Basic ' + btoa(username + ':' + password));\n }\n\n const fullPath = buildFullPath(config.baseURL, config.url);\n\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n const transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if(platform.hasStandardBrowserEnv) {\n withXSRFToken && utils.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));\n\n if (withXSRFToken || (withXSRFToken !== false && isURLSameOrigin(fullPath))) {\n // Add xsrf header\n const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && cookies.read(config.xsrfCookieName);\n\n if (xsrfValue) {\n requestHeaders.set(config.xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', progressEventReducer(config.onDownloadProgress, true));\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', progressEventReducer(config.onUploadProgress));\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = cancel => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(fullPath);\n\n if (protocol && platform.protocols.indexOf(protocol) === -1) {\n reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));\n return;\n }\n\n\n // Send the request\n request.send(requestData || null);\n });\n}\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport AxiosError from \"../core/AxiosError.js\";\n\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter\n}\n\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n Object.defineProperty(fn, 'name', {value});\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', {value});\n }\n});\n\nconst renderReason = (reason) => `- ${reason}`;\n\nconst isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;\n\nexport default {\n getAdapter: (adapters) => {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const {length} = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n\n const reasons = Object.entries(rejectedReasons)\n .map(([id, state]) => `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length ?\n (reasons.length > 1 ? 'since :\\n' + reasons.map(renderReason).join('\\n') : ' ' + renderReason(reasons[0])) :\n 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n 'ERR_NOT_SUPPORT'\n );\n }\n\n return adapter;\n },\n adapters: knownAdapters\n}\n","// eslint-disable-next-line strict\nexport default null;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],\n response.config,\n response.request,\n response\n ));\n }\n}\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(url);\n return match && match[1] || '';\n}\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from \"../adapters/adapters.js\";\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.transformRequest\n );\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter);\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n config.transformResponse,\n response\n );\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n });\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from \"./AxiosHeaders.js\";\n\nconst headersToObject = (thing) => thing instanceof AxiosHeaders ? thing.toJSON() : thing;\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n const config = {};\n\n function getMergedValue(target, source, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({caseless}, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(a, b, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (prop in config2) {\n return getMergedValue(a, b);\n } else if (prop in config1) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)\n };\n\n utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {\n const merge = mergeMap[prop] || mergeDeepProperties;\n const configValue = merge(config1[prop], config2[prop], prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n}\n","export const VERSION = \"1.6.7\";","'use strict';\n\nimport {VERSION} from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n const validator = schema[opt];\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators\n};\n","'use strict';\n\nimport utils from './../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n let dummy;\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : (dummy = new Error());\n\n // slice off the Error: ... line\n const stack = dummy.stack ? dummy.stack.replace(/^.+\\n/, '') : '';\n\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\\n.+\\n/, ''))) {\n err.stack += '\\n' + stack\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const {transitional, paramsSerializer, headers} = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer\n }\n } else {\n validator.assertOptions(paramsSerializer, {\n encode: validators.function,\n serialize: validators.function\n }, true);\n }\n }\n\n // Set config.method\n config.method = (config.method || this.defaults.method || 'get').toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(\n headers.common,\n headers[config.method]\n );\n\n headers && utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n (method) => {\n delete headers[method];\n }\n );\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift.apply(chain, requestInterceptorChain);\n chain.push.apply(chain, responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n i = 0;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected.call(this, error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method,\n url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method,\n headers: isForm ? {\n 'Content-Type': 'multipart/form-data'\n } : {},\n url,\n data\n }));\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n});\n\nexport default Axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(cancel => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = onfulfilled => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise(resolve => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel\n };\n }\n}\n\nexport default CancelToken;\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport {VERSION} from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from \"./core/AxiosHeaders.js\";\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, {allOwnKeys: true});\n\n // Copy context to instance\n utils.extend(instance, context, null, {allOwnKeys: true});\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = thing => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n}\n","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {\n Endpoint,\n EventSource,\n Message,\n MessageType,\n PostMessageWithOrigin,\n WireValue,\n WireValueType,\n} from \"./protocol\";\nexport type { Endpoint };\n\nexport const proxyMarker = Symbol(\"Comlink.proxy\");\nexport const createEndpoint = Symbol(\"Comlink.endpoint\");\nexport const releaseProxy = Symbol(\"Comlink.releaseProxy\");\nexport const finalizer = Symbol(\"Comlink.finalizer\");\n\nconst throwMarker = Symbol(\"Comlink.thrown\");\n\n/**\n * Interface of values that were marked to be proxied with `comlink.proxy()`.\n * Can also be implemented by classes.\n */\nexport interface ProxyMarked {\n [proxyMarker]: true;\n}\n\n/**\n * Takes a type and wraps it in a Promise, if it not already is one.\n * This is to avoid `Promise>`.\n *\n * This is the inverse of `Unpromisify`.\n */\ntype Promisify = T extends Promise ? T : Promise;\n/**\n * Takes a type that may be Promise and unwraps the Promise type.\n * If `P` is not a Promise, it returns `P`.\n *\n * This is the inverse of `Promisify`.\n */\ntype Unpromisify

= P extends Promise ? T : P;\n\n/**\n * Takes the raw type of a remote property and returns the type that is visible to the local thread on the proxy.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions.\n * See https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype RemoteProperty =\n // If the value is a method, comlink will proxy it automatically.\n // Objects are only proxied if they are marked to be proxied.\n // Otherwise, the property is converted to a Promise that resolves the cloned value.\n T extends Function | ProxyMarked ? Remote : Promisify;\n\n/**\n * Takes the raw type of a property as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This is the inverse of `RemoteProperty`.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions. See\n * https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype LocalProperty = T extends Function | ProxyMarked\n ? Local\n : Unpromisify;\n\n/**\n * Proxies `T` if it is a `ProxyMarked`, clones it otherwise (as handled by structured cloning and transfer handlers).\n */\nexport type ProxyOrClone = T extends ProxyMarked ? Remote : T;\n/**\n * Inverse of `ProxyOrClone`.\n */\nexport type UnproxyOrClone = T extends RemoteObject\n ? Local\n : T;\n\n/**\n * Takes the raw type of a remote object in the other thread and returns the type as it is visible to the local thread\n * when proxied with `Comlink.proxy()`.\n *\n * This does not handle call signatures, which is handled by the more general `Remote` type.\n *\n * @template T The raw type of a remote object as seen in the other thread.\n */\nexport type RemoteObject = { [P in keyof T]: RemoteProperty };\n/**\n * Takes the type of an object as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This does not handle call signatures, which is handled by the more general `Local` type.\n *\n * This is the inverse of `RemoteObject`.\n *\n * @template T The type of a proxied object.\n */\nexport type LocalObject = { [P in keyof T]: LocalProperty };\n\n/**\n * Additional special comlink methods available on each proxy returned by `Comlink.wrap()`.\n */\nexport interface ProxyMethods {\n [createEndpoint]: () => Promise;\n [releaseProxy]: () => void;\n}\n\n/**\n * Takes the raw type of a remote object, function or class in the other thread and returns the type as it is visible to\n * the local thread from the proxy return value of `Comlink.wrap()` or `Comlink.proxy()`.\n */\nexport type Remote =\n // Handle properties\n RemoteObject &\n // Handle call signature (if present)\n (T extends (...args: infer TArguments) => infer TReturn\n ? (\n ...args: { [I in keyof TArguments]: UnproxyOrClone }\n ) => Promisify>>\n : unknown) &\n // Handle construct signature (if present)\n // The return of construct signatures is always proxied (whether marked or not)\n (T extends { new (...args: infer TArguments): infer TInstance }\n ? {\n new (\n ...args: {\n [I in keyof TArguments]: UnproxyOrClone;\n }\n ): Promisify>;\n }\n : unknown) &\n // Include additional special comlink methods available on the proxy.\n ProxyMethods;\n\n/**\n * Expresses that a type can be either a sync or async.\n */\ntype MaybePromise = Promise | T;\n\n/**\n * Takes the raw type of a remote object, function or class as a remote thread would see it through a proxy (e.g. when\n * passed in as a function argument) and returns the type the local thread has to supply.\n *\n * This is the inverse of `Remote`. It takes a `Remote` and returns its original input `T`.\n */\nexport type Local =\n // Omit the special proxy methods (they don't need to be supplied, comlink adds them)\n Omit, keyof ProxyMethods> &\n // Handle call signatures (if present)\n (T extends (...args: infer TArguments) => infer TReturn\n ? (\n ...args: { [I in keyof TArguments]: ProxyOrClone }\n ) => // The raw function could either be sync or async, but is always proxied automatically\n MaybePromise>>\n : unknown) &\n // Handle construct signature (if present)\n // The return of construct signatures is always proxied (whether marked or not)\n (T extends { new (...args: infer TArguments): infer TInstance }\n ? {\n new (\n ...args: {\n [I in keyof TArguments]: ProxyOrClone;\n }\n ): // The raw constructor could either be sync or async, but is always proxied automatically\n MaybePromise>>;\n }\n : unknown);\n\nconst isObject = (val: unknown): val is object =>\n (typeof val === \"object\" && val !== null) || typeof val === \"function\";\n\n/**\n * Customizes the serialization of certain values as determined by `canHandle()`.\n *\n * @template T The input type being handled by this transfer handler.\n * @template S The serialized type sent over the wire.\n */\nexport interface TransferHandler {\n /**\n * Gets called for every value to determine whether this transfer handler\n * should serialize the value, which includes checking that it is of the right\n * type (but can perform checks beyond that as well).\n */\n canHandle(value: unknown): value is T;\n\n /**\n * Gets called with the value if `canHandle()` returned `true` to produce a\n * value that can be sent in a message, consisting of structured-cloneable\n * values and/or transferrable objects.\n */\n serialize(value: T): [S, Transferable[]];\n\n /**\n * Gets called to deserialize an incoming value that was serialized in the\n * other thread with this transfer handler (known through the name it was\n * registered under).\n */\n deserialize(value: S): T;\n}\n\n/**\n * Internal transfer handle to handle objects marked to proxy.\n */\nconst proxyTransferHandler: TransferHandler = {\n canHandle: (val): val is ProxyMarked =>\n isObject(val) && (val as ProxyMarked)[proxyMarker],\n serialize(obj) {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port1);\n return [port2, [port2]];\n },\n deserialize(port) {\n port.start();\n return wrap(port);\n },\n};\n\ninterface ThrownValue {\n [throwMarker]: unknown; // just needs to be present\n value: unknown;\n}\ntype SerializedThrownValue =\n | { isError: true; value: Error }\n | { isError: false; value: unknown };\n\n/**\n * Internal transfer handler to handle thrown exceptions.\n */\nconst throwTransferHandler: TransferHandler<\n ThrownValue,\n SerializedThrownValue\n> = {\n canHandle: (value): value is ThrownValue =>\n isObject(value) && throwMarker in value,\n serialize({ value }) {\n let serialized: SerializedThrownValue;\n if (value instanceof Error) {\n serialized = {\n isError: true,\n value: {\n message: value.message,\n name: value.name,\n stack: value.stack,\n },\n };\n } else {\n serialized = { isError: false, value };\n }\n return [serialized, []];\n },\n deserialize(serialized) {\n if (serialized.isError) {\n throw Object.assign(\n new Error(serialized.value.message),\n serialized.value\n );\n }\n throw serialized.value;\n },\n};\n\n/**\n * Allows customizing the serialization of certain values.\n */\nexport const transferHandlers = new Map<\n string,\n TransferHandler\n>([\n [\"proxy\", proxyTransferHandler],\n [\"throw\", throwTransferHandler],\n]);\n\nfunction isAllowedOrigin(\n allowedOrigins: (string | RegExp)[],\n origin: string\n): boolean {\n for (const allowedOrigin of allowedOrigins) {\n if (origin === allowedOrigin || allowedOrigin === \"*\") {\n return true;\n }\n if (allowedOrigin instanceof RegExp && allowedOrigin.test(origin)) {\n return true;\n }\n }\n return false;\n}\n\nexport function expose(\n obj: any,\n ep: Endpoint = globalThis as any,\n allowedOrigins: (string | RegExp)[] = [\"*\"]\n) {\n ep.addEventListener(\"message\", function callback(ev: MessageEvent) {\n if (!ev || !ev.data) {\n return;\n }\n if (!isAllowedOrigin(allowedOrigins, ev.origin)) {\n console.warn(`Invalid origin '${ev.origin}' for comlink proxy`);\n return;\n }\n const { id, type, path } = {\n path: [] as string[],\n ...(ev.data as Message),\n };\n const argumentList = (ev.data.argumentList || []).map(fromWireValue);\n let returnValue;\n try {\n const parent = path.slice(0, -1).reduce((obj, prop) => obj[prop], obj);\n const rawValue = path.reduce((obj, prop) => obj[prop], obj);\n switch (type) {\n case MessageType.GET:\n {\n returnValue = rawValue;\n }\n break;\n case MessageType.SET:\n {\n parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);\n returnValue = true;\n }\n break;\n case MessageType.APPLY:\n {\n returnValue = rawValue.apply(parent, argumentList);\n }\n break;\n case MessageType.CONSTRUCT:\n {\n const value = new rawValue(...argumentList);\n returnValue = proxy(value);\n }\n break;\n case MessageType.ENDPOINT:\n {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port2);\n returnValue = transfer(port1, [port1]);\n }\n break;\n case MessageType.RELEASE:\n {\n returnValue = undefined;\n }\n break;\n default:\n return;\n }\n } catch (value) {\n returnValue = { value, [throwMarker]: 0 };\n }\n Promise.resolve(returnValue)\n .catch((value) => {\n return { value, [throwMarker]: 0 };\n })\n .then((returnValue) => {\n const [wireValue, transferables] = toWireValue(returnValue);\n ep.postMessage({ ...wireValue, id }, transferables);\n if (type === MessageType.RELEASE) {\n // detach and deactive after sending release response above.\n ep.removeEventListener(\"message\", callback as any);\n closeEndPoint(ep);\n if (finalizer in obj && typeof obj[finalizer] === \"function\") {\n obj[finalizer]();\n }\n }\n })\n .catch((error) => {\n // Send Serialization Error To Caller\n const [wireValue, transferables] = toWireValue({\n value: new TypeError(\"Unserializable return value\"),\n [throwMarker]: 0,\n });\n ep.postMessage({ ...wireValue, id }, transferables);\n });\n } as any);\n if (ep.start) {\n ep.start();\n }\n}\n\nfunction isMessagePort(endpoint: Endpoint): endpoint is MessagePort {\n return endpoint.constructor.name === \"MessagePort\";\n}\n\nfunction closeEndPoint(endpoint: Endpoint) {\n if (isMessagePort(endpoint)) endpoint.close();\n}\n\nexport function wrap(ep: Endpoint, target?: any): Remote {\n return createProxy(ep, [], target) as any;\n}\n\nfunction throwIfProxyReleased(isReleased: boolean) {\n if (isReleased) {\n throw new Error(\"Proxy has been released and is not useable\");\n }\n}\n\nfunction releaseEndpoint(ep: Endpoint) {\n return requestResponseMessage(ep, {\n type: MessageType.RELEASE,\n }).then(() => {\n closeEndPoint(ep);\n });\n}\n\ninterface FinalizationRegistry {\n new (cb: (heldValue: T) => void): FinalizationRegistry;\n register(\n weakItem: object,\n heldValue: T,\n unregisterToken?: object | undefined\n ): void;\n unregister(unregisterToken: object): void;\n}\ndeclare var FinalizationRegistry: FinalizationRegistry;\n\nconst proxyCounter = new WeakMap();\nconst proxyFinalizers =\n \"FinalizationRegistry\" in globalThis &&\n new FinalizationRegistry((ep: Endpoint) => {\n const newCount = (proxyCounter.get(ep) || 0) - 1;\n proxyCounter.set(ep, newCount);\n if (newCount === 0) {\n releaseEndpoint(ep);\n }\n });\n\nfunction registerProxy(proxy: object, ep: Endpoint) {\n const newCount = (proxyCounter.get(ep) || 0) + 1;\n proxyCounter.set(ep, newCount);\n if (proxyFinalizers) {\n proxyFinalizers.register(proxy, ep, proxy);\n }\n}\n\nfunction unregisterProxy(proxy: object) {\n if (proxyFinalizers) {\n proxyFinalizers.unregister(proxy);\n }\n}\n\nfunction createProxy(\n ep: Endpoint,\n path: (string | number | symbol)[] = [],\n target: object = function () {}\n): Remote {\n let isProxyReleased = false;\n const proxy = new Proxy(target, {\n get(_target, prop) {\n throwIfProxyReleased(isProxyReleased);\n if (prop === releaseProxy) {\n return () => {\n unregisterProxy(proxy);\n releaseEndpoint(ep);\n isProxyReleased = true;\n };\n }\n if (prop === \"then\") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, {\n type: MessageType.GET,\n path: path.map((p) => p.toString()),\n }).then(fromWireValue);\n return r.then.bind(r);\n }\n return createProxy(ep, [...path, prop]);\n },\n set(_target, prop, rawValue) {\n throwIfProxyReleased(isProxyReleased);\n // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\n // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\n const [value, transferables] = toWireValue(rawValue);\n return requestResponseMessage(\n ep,\n {\n type: MessageType.SET,\n path: [...path, prop].map((p) => p.toString()),\n value,\n },\n transferables\n ).then(fromWireValue) as any;\n },\n apply(_target, _thisArg, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const last = path[path.length - 1];\n if ((last as any) === createEndpoint) {\n return requestResponseMessage(ep, {\n type: MessageType.ENDPOINT,\n }).then(fromWireValue);\n }\n // We just pretend that `bind()` didn’t happen.\n if (last === \"bind\") {\n return createProxy(ep, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(\n ep,\n {\n type: MessageType.APPLY,\n path: path.map((p) => p.toString()),\n argumentList,\n },\n transferables\n ).then(fromWireValue);\n },\n construct(_target, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(\n ep,\n {\n type: MessageType.CONSTRUCT,\n path: path.map((p) => p.toString()),\n argumentList,\n },\n transferables\n ).then(fromWireValue);\n },\n });\n registerProxy(proxy, ep);\n return proxy as any;\n}\n\nfunction myFlat(arr: (T | T[])[]): T[] {\n return Array.prototype.concat.apply([], arr);\n}\n\nfunction processArguments(argumentList: any[]): [WireValue[], Transferable[]] {\n const processed = argumentList.map(toWireValue);\n return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\n}\n\nconst transferCache = new WeakMap();\nexport function transfer(obj: T, transfers: Transferable[]): T {\n transferCache.set(obj, transfers);\n return obj;\n}\n\nexport function proxy(obj: T): T & ProxyMarked {\n return Object.assign(obj, { [proxyMarker]: true }) as any;\n}\n\nexport function windowEndpoint(\n w: PostMessageWithOrigin,\n context: EventSource = globalThis,\n targetOrigin = \"*\"\n): Endpoint {\n return {\n postMessage: (msg: any, transferables: Transferable[]) =>\n w.postMessage(msg, targetOrigin, transferables),\n addEventListener: context.addEventListener.bind(context),\n removeEventListener: context.removeEventListener.bind(context),\n };\n}\n\nfunction toWireValue(value: any): [WireValue, Transferable[]] {\n for (const [name, handler] of transferHandlers) {\n if (handler.canHandle(value)) {\n const [serializedValue, transferables] = handler.serialize(value);\n return [\n {\n type: WireValueType.HANDLER,\n name,\n value: serializedValue,\n },\n transferables,\n ];\n }\n }\n return [\n {\n type: WireValueType.RAW,\n value,\n },\n transferCache.get(value) || [],\n ];\n}\n\nfunction fromWireValue(value: WireValue): any {\n switch (value.type) {\n case WireValueType.HANDLER:\n return transferHandlers.get(value.name)!.deserialize(value.value);\n case WireValueType.RAW:\n return value.value;\n }\n}\n\nfunction requestResponseMessage(\n ep: Endpoint,\n msg: Message,\n transfers?: Transferable[]\n): Promise {\n return new Promise((resolve) => {\n const id = generateUUID();\n ep.addEventListener(\"message\", function l(ev: MessageEvent) {\n if (!ev.data || !ev.data.id || ev.data.id !== id) {\n return;\n }\n ep.removeEventListener(\"message\", l as any);\n resolve(ev.data);\n } as any);\n if (ep.start) {\n ep.start();\n }\n ep.postMessage({ id, ...msg }, transfers);\n });\n}\n\nfunction generateUUID(): string {\n return new Array(4)\n .fill(0)\n .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\n .join(\"-\");\n}\n","/**\n * A function that always returns `false`. Any passed in parameters are ignored.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Function\n * @sig * -> Boolean\n * @param {*}\n * @return {Boolean}\n * @see R.T\n * @example\n *\n * R.F(); //=> false\n */\nvar F = function () {\n return false;\n};\n\nexport default F;","/**\n * A function that always returns `true`. Any passed in parameters are ignored.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Function\n * @sig * -> Boolean\n * @param {*}\n * @return {Boolean}\n * @see R.F\n * @example\n *\n * R.T(); //=> true\n */\nvar T = function () {\n return true;\n};\n\nexport default T;","import _reduced from \"./_reduced.js\";\nimport _xfBase from \"./_xfBase.js\";\n\nvar XAll =\n/*#__PURE__*/\nfunction () {\n function XAll(f, xf) {\n this.xf = xf;\n this.f = f;\n this.all = true;\n }\n\n XAll.prototype['@@transducer/init'] = _xfBase.init;\n\n XAll.prototype['@@transducer/result'] = function (result) {\n if (this.all) {\n result = this.xf['@@transducer/step'](result, true);\n }\n\n return this.xf['@@transducer/result'](result);\n };\n\n XAll.prototype['@@transducer/step'] = function (result, input) {\n if (!this.f(input)) {\n this.all = false;\n result = _reduced(this.xf['@@transducer/step'](result, false));\n }\n\n return result;\n };\n\n return XAll;\n}();\n\nexport default function _xall(f) {\n return function (xf) {\n return new XAll(f, xf);\n };\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _xall from \"./internal/_xall.js\";\n/**\n * Returns `true` if all elements of the list match the predicate, `false` if\n * there are any that don't.\n *\n * Dispatches to the `all` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> Boolean\n * @param {Function} fn The predicate function.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if the predicate is satisfied by every element, `false`\n * otherwise.\n * @see R.any, R.none, R.transduce\n * @example\n *\n * const equals3 = R.equals(3);\n * R.all(equals3)([3, 3, 3, 3]); //=> true\n * R.all(equals3)([3, 3, 1, 3]); //=> false\n */\n\nvar all =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['all'], _xall, function all(fn, list) {\n var idx = 0;\n\n while (idx < list.length) {\n if (!fn(list[idx])) {\n return false;\n }\n\n idx += 1;\n }\n\n return true;\n}));\n\nexport default all;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * Returns a function that always returns the given value. Note that for\n * non-primitives the value returned is a reference to the original value.\n *\n * This function is known as `const`, `constant`, or `K` (for K combinator) in\n * other languages and libraries.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig a -> (* -> a)\n * @param {*} val The value to wrap in a function\n * @return {Function} A Function :: * -> val.\n * @example\n *\n * const t = R.always('Tee');\n * t(); //=> 'Tee'\n */\n\nvar always =\n/*#__PURE__*/\n_curry1(function always(val) {\n return function () {\n return val;\n };\n});\n\nexport default always;","import _curry3 from \"./internal/_curry3.js\";\nimport _has from \"./internal/_has.js\";\nimport _isInteger from \"./internal/_isInteger.js\";\nimport _assoc from \"./internal/_assoc.js\";\nimport isNil from \"./isNil.js\";\n/**\n * Makes a shallow clone of an object, setting or overriding the nodes required\n * to create the given path, and placing the specific value at the tail end of\n * that path. Note that this copies and flattens prototype properties onto the\n * new object as well. All non-primitive properties are copied by reference.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig [Idx] -> a -> {a} -> {a}\n * @param {Array} path the path to set\n * @param {*} val The new value\n * @param {Object} obj The object to clone\n * @return {Object} A new object equivalent to the original except along the specified path.\n * @see R.dissocPath\n * @example\n *\n * R.assocPath(['a', 'b', 'c'], 42, {a: {b: {c: 0}}}); //=> {a: {b: {c: 42}}}\n *\n * // Any missing or non-object keys in path will be overridden\n * R.assocPath(['a', 'b', 'c'], 42, {a: 5}); //=> {a: {b: {c: 42}}}\n */\n\nvar assocPath =\n/*#__PURE__*/\n_curry3(function assocPath(path, val, obj) {\n if (path.length === 0) {\n return val;\n }\n\n var idx = path[0];\n\n if (path.length > 1) {\n var nextObj = !isNil(obj) && _has(idx, obj) && typeof obj[idx] === 'object' ? obj[idx] : _isInteger(path[1]) ? [] : {};\n val = assocPath(Array.prototype.slice.call(path, 1), val, nextObj);\n }\n\n return _assoc(idx, val, obj);\n});\n\nexport default assocPath;","import _isArray from \"./_isArray.js\";\nimport _isInteger from \"./_isInteger.js\";\n/**\n * Makes a shallow clone of an object, setting or overriding the specified\n * property with the given value. Note that this copies and flattens prototype\n * properties onto the new object as well. All non-primitive properties are\n * copied by reference.\n *\n * @private\n * @param {String|Number} prop The property name to set\n * @param {*} val The new value\n * @param {Object|Array} obj The object to clone\n * @return {Object|Array} A new object equivalent to the original except for the changed property.\n */\n\nexport default function _assoc(prop, val, obj) {\n if (_isInteger(prop) && _isArray(obj)) {\n var arr = [].concat(obj);\n arr[prop] = val;\n return arr;\n }\n\n var result = {};\n\n for (var p in obj) {\n result[p] = obj[p];\n }\n\n result[prop] = val;\n return result;\n}","import _arity from \"./internal/_arity.js\";\nimport _curry2 from \"./internal/_curry2.js\";\n/**\n * Creates a function that is bound to a context.\n * Note: `R.bind` does not provide the additional argument-binding capabilities of\n * [Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Function\n * @category Object\n * @sig (* -> *) -> {*} -> (* -> *)\n * @param {Function} fn The function to bind to context\n * @param {Object} thisObj The context to bind `fn` to\n * @return {Function} A function that will execute in the context of `thisObj`.\n * @see R.partial\n * @example\n *\n * const log = R.bind(console.log, console);\n * R.pipe(R.assoc('a', 2), R.tap(log), R.assoc('a', 3))({a: 1}); //=> {a: 3}\n * // logs {a: 2}\n * @symb R.bind(f, o)(a, b) = f.call(o, a, b)\n */\n\nvar bind =\n/*#__PURE__*/\n_curry2(function bind(fn, thisObj) {\n return _arity(fn.length, function () {\n return fn.apply(thisObj, arguments);\n });\n});\n\nexport default bind;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns the first argument if it is falsy, otherwise the second argument.\n * Acts as the boolean `and` statement if both inputs are `Boolean`s.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {Any} a\n * @param {Any} b\n * @return {Any}\n * @see R.both, R.or\n * @example\n *\n * R.and(true, true); //=> true\n * R.and(true, false); //=> false\n * R.and(false, true); //=> false\n * R.and(false, false); //=> false\n */\n\nvar and =\n/*#__PURE__*/\n_curry2(function and(a, b) {\n return a && b;\n});\n\nexport default and;","import _curry2 from \"./internal/_curry2.js\";\nimport _isFunction from \"./internal/_isFunction.js\";\nimport and from \"./and.js\";\nimport lift from \"./lift.js\";\n/**\n * A function which calls the two provided functions and returns the `&&`\n * of the results.\n * It returns the result of the first function if it is false-y and the result\n * of the second function otherwise. Note that this is short-circuited,\n * meaning that the second function will not be invoked if the first returns a\n * false-y value.\n *\n * In addition to functions, `R.both` also accepts any fantasy-land compatible\n * applicative functor.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> Boolean) -> (*... -> Boolean)\n * @param {Function} f A predicate\n * @param {Function} g Another predicate\n * @return {Function} a function that applies its arguments to `f` and `g` and `&&`s their outputs together.\n * @see R.either, R.allPass, R.and\n * @example\n *\n * const gt10 = R.gt(R.__, 10)\n * const lt20 = R.lt(R.__, 20)\n * const f = R.both(gt10, lt20);\n * f(15); //=> true\n * f(30); //=> false\n *\n * R.both(Maybe.Just(false), Maybe.Just(55)); // => Maybe.Just(false)\n * R.both([false, false, 'a'], [11]); //=> [false, false, 11]\n */\n\nvar both =\n/*#__PURE__*/\n_curry2(function both(f, g) {\n return _isFunction(f) ? function _both() {\n return f.apply(this, arguments) && g.apply(this, arguments);\n } : lift(and)(f, g);\n});\n\nexport default both;","import _cloneRegExp from \"./_cloneRegExp.js\";\nimport type from \"../type.js\";\n/**\n * Copies an object.\n *\n * @private\n * @param {*} value The value to be copied\n * @param {Boolean} deep Whether or not to perform deep cloning.\n * @return {*} The copied value.\n */\n\nexport default function _clone(value, deep, map) {\n map || (map = new _ObjectMap()); // this avoids the slower switch with a quick if decision removing some milliseconds in each run.\n\n if (_isPrimitive(value)) {\n return value;\n }\n\n var copy = function copy(copiedValue) {\n // Check for circular and same references on the object graph and return its corresponding clone.\n var cachedCopy = map.get(value);\n\n if (cachedCopy) {\n return cachedCopy;\n }\n\n map.set(value, copiedValue);\n\n for (var key in value) {\n if (Object.prototype.hasOwnProperty.call(value, key)) {\n copiedValue[key] = deep ? _clone(value[key], true, map) : value[key];\n }\n }\n\n return copiedValue;\n };\n\n switch (type(value)) {\n case 'Object':\n return copy(Object.create(Object.getPrototypeOf(value)));\n\n case 'Array':\n return copy([]);\n\n case 'Date':\n return new Date(value.valueOf());\n\n case 'RegExp':\n return _cloneRegExp(value);\n\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'BigInt64Array':\n case 'BigUint64Array':\n return value.slice();\n\n default:\n return value;\n }\n}\n\nfunction _isPrimitive(param) {\n var type = typeof param;\n return param == null || type != 'object' && type != 'function';\n}\n\nvar _ObjectMap =\n/*#__PURE__*/\nfunction () {\n function _ObjectMap() {\n this.map = {};\n this.length = 0;\n }\n\n _ObjectMap.prototype.set = function (key, value) {\n const hashedKey = this.hash(key);\n let bucket = this.map[hashedKey];\n\n if (!bucket) {\n this.map[hashedKey] = bucket = [];\n }\n\n bucket.push([key, value]);\n this.length += 1;\n };\n\n _ObjectMap.prototype.hash = function (key) {\n let hashedKey = [];\n\n for (var value in key) {\n hashedKey.push(Object.prototype.toString.call(key[value]));\n }\n\n return hashedKey.join();\n };\n\n _ObjectMap.prototype.get = function (key) {\n /**\n * depending on the number of objects to be cloned is faster to just iterate over the items in the map just because the hash function is so costly,\n * on my tests this number is 180, anything above that using the hash function is faster.\n */\n if (this.length <= 180) {\n for (const p in this.map) {\n const bucket = this.map[p];\n\n for (let i = 0; i < bucket.length; i += 1) {\n const element = bucket[i];\n\n if (element[0] === key) {\n return element[1];\n }\n }\n }\n\n return;\n }\n\n const hashedKey = this.hash(key);\n const bucket = this.map[hashedKey];\n\n if (!bucket) {\n return;\n }\n\n for (let i = 0; i < bucket.length; i += 1) {\n const element = bucket[i];\n\n if (element[0] === key) {\n return element[1];\n }\n }\n };\n\n return _ObjectMap;\n}();","import _clone from \"./internal/_clone.js\";\nimport _curry1 from \"./internal/_curry1.js\";\n/**\n * Creates a deep copy of the source that can be used in place of the source\n * object without retaining any references to it.\n * The source object may contain (nested) `Array`s and `Object`s,\n * `Number`s, `String`s, `Boolean`s and `Date`s.\n * `Function`s are assigned by reference rather than copied.\n *\n * Dispatches to a `clone` method if present.\n *\n * Note that if the source object has multiple nodes that share a reference,\n * the returned object will have the same structure, but the references will\n * be pointed to the location within the cloned value.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {*} -> {*}\n * @param {*} value The object or array to clone\n * @return {*} A deeply cloned copy of `val`\n * @example\n *\n * const objects = [{}, {}, {}];\n * const objectsClone = R.clone(objects);\n * objects === objectsClone; //=> false\n * objects[0] === objectsClone[0]; //=> false\n */\n\nvar clone =\n/*#__PURE__*/\n_curry1(function clone(value) {\n return value != null && typeof value.clone === 'function' ? value.clone() : _clone(value, true);\n});\n\nexport default clone;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * A function that returns the `!` of its argument. It will return `true` when\n * passed false-y value, and `false` when passed a truth-y one.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig * -> Boolean\n * @param {*} a any value\n * @return {Boolean} the logical inverse of passed argument.\n * @see R.complement\n * @example\n *\n * R.not(true); //=> false\n * R.not(false); //=> true\n * R.not(0); //=> true\n * R.not(1); //=> false\n */\n\nvar not =\n/*#__PURE__*/\n_curry1(function not(a) {\n return !a;\n});\n\nexport default not;","import lift from \"./lift.js\";\nimport not from \"./not.js\";\n/**\n * Takes a function `f` and returns a function `g` such that if called with the same arguments\n * when `f` returns a \"truthy\" value, `g` returns `false` and when `f` returns a \"falsy\" value `g` returns `true`.\n *\n * `R.complement` may be applied to any functor\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> *) -> (*... -> Boolean)\n * @param {Function} f\n * @return {Function}\n * @see R.not\n * @example\n *\n * const isNotNil = R.complement(R.isNil);\n * R.isNil(null); //=> true\n * isNotNil(null); //=> false\n * R.isNil(7); //=> false\n * isNotNil(7); //=> true\n */\n\nvar complement =\n/*#__PURE__*/\nlift(not);\nexport default complement;","import pipe from \"./pipe.js\";\nimport reverse from \"./reverse.js\";\n/**\n * Performs right-to-left function composition. The last argument may have\n * any arity; the remaining arguments must be unary.\n *\n * **Note:** The result of compose is not automatically curried.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((y -> z), (x -> y), ..., (o -> p), ((a, b, ..., n) -> o)) -> ((a, b, ..., n) -> z)\n * @param {...Function} ...functions The functions to compose\n * @return {Function}\n * @see R.pipe\n * @example\n *\n * const classyGreeting = (firstName, lastName) => \"The name's \" + lastName + \", \" + firstName + \" \" + lastName\n * const yellGreeting = R.compose(R.toUpper, classyGreeting);\n * yellGreeting('James', 'Bond'); //=> \"THE NAME'S BOND, JAMES BOND\"\n *\n * R.compose(Math.abs, R.add(1), R.multiply(2))(-4) //=> 7\n *\n * @symb R.compose(f, g, h)(a, b) = f(g(h(a, b)))\n * @symb R.compose(f, g, h)(a)(b) = f(g(h(a)))(b)\n */\n\nexport default function compose() {\n if (arguments.length === 0) {\n throw new Error('compose requires at least one argument');\n }\n\n return pipe.apply(this, reverse(arguments));\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _isArray from \"./internal/_isArray.js\";\nimport _isFunction from \"./internal/_isFunction.js\";\nimport _isString from \"./internal/_isString.js\";\nimport toString from \"./toString.js\";\n/**\n * Returns the result of concatenating the given lists or strings.\n *\n * Note: `R.concat` expects both arguments to be of the same type,\n * unlike the native `Array.prototype.concat` method. It will throw\n * an error if you `concat` an Array with a non-Array value.\n *\n * Dispatches to the `concat` method of the first argument, if present.\n * Can also concatenate two members of a [fantasy-land\n * compatible semigroup](https://github.com/fantasyland/fantasy-land#semigroup).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a] -> [a]\n * @sig String -> String -> String\n * @param {Array|String} firstList The first list\n * @param {Array|String} secondList The second list\n * @return {Array|String} A list consisting of the elements of `firstList` followed by the elements of\n * `secondList`.\n *\n * @example\n *\n * R.concat('ABC', 'DEF'); // 'ABCDEF'\n * R.concat([4, 5, 6], [1, 2, 3]); //=> [4, 5, 6, 1, 2, 3]\n * R.concat([], []); //=> []\n */\n\nvar concat =\n/*#__PURE__*/\n_curry2(function concat(a, b) {\n if (_isArray(a)) {\n if (_isArray(b)) {\n return a.concat(b);\n }\n\n throw new TypeError(toString(b) + ' is not an array');\n }\n\n if (_isString(a)) {\n if (_isString(b)) {\n return a + b;\n }\n\n throw new TypeError(toString(b) + ' is not a string');\n }\n\n if (a != null && _isFunction(a['fantasy-land/concat'])) {\n return a['fantasy-land/concat'](b);\n }\n\n if (a != null && _isFunction(a.concat)) {\n return a.concat(b);\n }\n\n throw new TypeError(toString(a) + ' does not have a method named \"concat\" or \"fantasy-land/concat\"');\n});\n\nexport default concat;","import _curry1 from \"./internal/_curry1.js\";\nimport curryN from \"./curryN.js\";\n/**\n * Returns a curried equivalent of the provided function. The curried function\n * has two unusual capabilities. First, its arguments needn't be provided one\n * at a time. If `f` is a ternary function and `g` is `R.curry(f)`, the\n * following are equivalent:\n *\n * - `g(1)(2)(3)`\n * - `g(1)(2, 3)`\n * - `g(1, 2)(3)`\n * - `g(1, 2, 3)`\n *\n * Secondly, the special placeholder value [`R.__`](#__) may be used to specify\n * \"gaps\", allowing partial application of any combination of arguments,\n * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),\n * the following are equivalent:\n *\n * - `g(1, 2, 3)`\n * - `g(_, 2, 3)(1)`\n * - `g(_, _, 3)(1)(2)`\n * - `g(_, _, 3)(1, 2)`\n * - `g(_, 2)(1)(3)`\n * - `g(_, 2)(1, 3)`\n * - `g(_, 2)(_, 3)(1)`\n *\n * Please note that default parameters don't count towards a [function arity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/length)\n * and therefore `curry` won't work well with those.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (* -> a) -> (* -> a)\n * @param {Function} fn The function to curry.\n * @return {Function} A new, curried function.\n * @see R.curryN, R.partial\n * @example\n *\n * const addFourNumbers = (a, b, c, d) => a + b + c + d;\n * const curriedAddFourNumbers = R.curry(addFourNumbers);\n * const f = curriedAddFourNumbers(1, 2);\n * const g = f(3);\n * g(4); //=> 10\n *\n * // R.curry not working well with default parameters\n * const h = R.curry((a, b, c = 2) => a + b + c);\n * h(1)(2)(7); //=> Error! (`3` is not a function!)\n */\n\nvar curry =\n/*#__PURE__*/\n_curry1(function curry(fn) {\n return curryN(fn.length, fn);\n});\n\nexport default curry;","import _arity from \"./_arity.js\";\nimport _isPlaceholder from \"./_isPlaceholder.js\";\n/**\n * Internal curryN function.\n *\n * @private\n * @category Function\n * @param {Number} length The arity of the curried function.\n * @param {Array} received An array of arguments received thus far.\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curryN(length, received, fn) {\n return function () {\n var combined = [];\n var argsIdx = 0;\n var left = length;\n var combinedIdx = 0;\n var hasPlaceholder = false;\n\n while (combinedIdx < received.length || argsIdx < arguments.length) {\n var result;\n\n if (combinedIdx < received.length && (!_isPlaceholder(received[combinedIdx]) || argsIdx >= arguments.length)) {\n result = received[combinedIdx];\n } else {\n result = arguments[argsIdx];\n argsIdx += 1;\n }\n\n combined[combinedIdx] = result;\n\n if (!_isPlaceholder(result)) {\n left -= 1;\n } else {\n hasPlaceholder = true;\n }\n\n combinedIdx += 1;\n }\n\n return !hasPlaceholder && left <= 0 ? fn.apply(this, combined) : _arity(Math.max(0, left), _curryN(length, combined, fn));\n };\n}","import _arity from \"./internal/_arity.js\";\nimport _curry1 from \"./internal/_curry1.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _curryN from \"./internal/_curryN.js\";\n/**\n * Returns a curried equivalent of the provided function, with the specified\n * arity. The curried function has two unusual capabilities. First, its\n * arguments needn't be provided one at a time. If `g` is `R.curryN(3, f)`, the\n * following are equivalent:\n *\n * - `g(1)(2)(3)`\n * - `g(1)(2, 3)`\n * - `g(1, 2)(3)`\n * - `g(1, 2, 3)`\n *\n * Secondly, the special placeholder value [`R.__`](#__) may be used to specify\n * \"gaps\", allowing partial application of any combination of arguments,\n * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),\n * the following are equivalent:\n *\n * - `g(1, 2, 3)`\n * - `g(_, 2, 3)(1)`\n * - `g(_, _, 3)(1)(2)`\n * - `g(_, _, 3)(1, 2)`\n * - `g(_, 2)(1)(3)`\n * - `g(_, 2)(1, 3)`\n * - `g(_, 2)(_, 3)(1)`\n *\n * @func\n * @memberOf R\n * @since v0.5.0\n * @category Function\n * @sig Number -> (* -> a) -> (* -> a)\n * @param {Number} length The arity for the returned function.\n * @param {Function} fn The function to curry.\n * @return {Function} A new, curried function.\n * @see R.curry\n * @example\n *\n * const sumArgs = (...args) => R.sum(args);\n *\n * const curriedAddFourNumbers = R.curryN(4, sumArgs);\n * const f = curriedAddFourNumbers(1, 2);\n * const g = f(3);\n * g(4); //=> 10\n */\n\nvar curryN =\n/*#__PURE__*/\n_curry2(function curryN(length, fn) {\n if (length === 1) {\n return _curry1(fn);\n }\n\n return _arity(length, _curryN(length, [], fn));\n});\n\nexport default curryN;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns the second argument if it is not `null`, `undefined` or `NaN`;\n * otherwise the first argument is returned.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {a} default The default value.\n * @param {b} val `val` will be returned instead of `default` unless `val` is `null`, `undefined` or `NaN`.\n * @return {*} The second value if it is not `null`, `undefined` or `NaN`, otherwise the default value\n * @example\n *\n * const defaultTo42 = R.defaultTo(42);\n *\n * defaultTo42(null); //=> 42\n * defaultTo42(undefined); //=> 42\n * defaultTo42(false); //=> false\n * defaultTo42('Ramda'); //=> 'Ramda'\n * // parseInt('string') results in NaN\n * defaultTo42(parseInt('string')); //=> 42\n */\n\nvar defaultTo =\n/*#__PURE__*/\n_curry2(function defaultTo(d, v) {\n return v == null || v !== v ? d : v;\n});\n\nexport default defaultTo;","import _includes from \"./_includes.js\";\n\nvar _Set =\n/*#__PURE__*/\nfunction () {\n function _Set() {\n /* globals Set */\n this._nativeSet = typeof Set === 'function' ? new Set() : null;\n this._items = {};\n }\n\n // until we figure out why jsdoc chokes on this\n // @param item The item to add to the Set\n // @returns {boolean} true if the item did not exist prior, otherwise false\n //\n _Set.prototype.add = function (item) {\n return !hasOrAdd(item, true, this);\n }; //\n // @param item The item to check for existence in the Set\n // @returns {boolean} true if the item exists in the Set, otherwise false\n //\n\n\n _Set.prototype.has = function (item) {\n return hasOrAdd(item, false, this);\n }; //\n // Combines the logic for checking whether an item is a member of the set and\n // for adding a new item to the set.\n //\n // @param item The item to check or add to the Set instance.\n // @param shouldAdd If true, the item will be added to the set if it doesn't\n // already exist.\n // @param set The set instance to check or add to.\n // @return {boolean} true if the item already existed, otherwise false.\n //\n\n\n return _Set;\n}();\n\nfunction hasOrAdd(item, shouldAdd, set) {\n var type = typeof item;\n var prevSize, newSize;\n\n switch (type) {\n case 'string':\n case 'number':\n // distinguish between +0 and -0\n if (item === 0 && 1 / item === -Infinity) {\n if (set._items['-0']) {\n return true;\n } else {\n if (shouldAdd) {\n set._items['-0'] = true;\n }\n\n return false;\n }\n } // these types can all utilise the native Set\n\n\n if (set._nativeSet !== null) {\n if (shouldAdd) {\n prevSize = set._nativeSet.size;\n\n set._nativeSet.add(item);\n\n newSize = set._nativeSet.size;\n return newSize === prevSize;\n } else {\n return set._nativeSet.has(item);\n }\n } else {\n if (!(type in set._items)) {\n if (shouldAdd) {\n set._items[type] = {};\n set._items[type][item] = true;\n }\n\n return false;\n } else if (item in set._items[type]) {\n return true;\n } else {\n if (shouldAdd) {\n set._items[type][item] = true;\n }\n\n return false;\n }\n }\n\n case 'boolean':\n // set._items['boolean'] holds a two element array\n // representing [ falseExists, trueExists ]\n if (type in set._items) {\n var bIdx = item ? 1 : 0;\n\n if (set._items[type][bIdx]) {\n return true;\n } else {\n if (shouldAdd) {\n set._items[type][bIdx] = true;\n }\n\n return false;\n }\n } else {\n if (shouldAdd) {\n set._items[type] = item ? [false, true] : [true, false];\n }\n\n return false;\n }\n\n case 'function':\n // compare functions for reference equality\n if (set._nativeSet !== null) {\n if (shouldAdd) {\n prevSize = set._nativeSet.size;\n\n set._nativeSet.add(item);\n\n newSize = set._nativeSet.size;\n return newSize === prevSize;\n } else {\n return set._nativeSet.has(item);\n }\n } else {\n if (!(type in set._items)) {\n if (shouldAdd) {\n set._items[type] = [item];\n }\n\n return false;\n }\n\n if (!_includes(item, set._items[type])) {\n if (shouldAdd) {\n set._items[type].push(item);\n }\n\n return false;\n }\n\n return true;\n }\n\n case 'undefined':\n if (set._items[type]) {\n return true;\n } else {\n if (shouldAdd) {\n set._items[type] = true;\n }\n\n return false;\n }\n\n case 'object':\n if (item === null) {\n if (!set._items['null']) {\n if (shouldAdd) {\n set._items['null'] = true;\n }\n\n return false;\n }\n\n return true;\n }\n\n /* falls through */\n\n default:\n // reduce the search size of heterogeneous sets by creating buckets\n // for each type.\n type = Object.prototype.toString.call(item);\n\n if (!(type in set._items)) {\n if (shouldAdd) {\n set._items[type] = [item];\n }\n\n return false;\n } // scan through all previously applied items\n\n\n if (!_includes(item, set._items[type])) {\n if (shouldAdd) {\n set._items[type].push(item);\n }\n\n return false;\n }\n\n return true;\n }\n} // A simple Set type that honours R.equals semantics\n\n\nexport default _Set;","import _curry2 from \"./internal/_curry2.js\";\nimport _Set from \"./internal/_Set.js\";\n/**\n * Finds the set (i.e. no duplicates) of all elements in the first list not\n * contained in the second list. Objects and Arrays are compared in terms of\n * value equality, not reference equality.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig [*] -> [*] -> [*]\n * @param {Array} list1 The first list.\n * @param {Array} list2 The second list.\n * @return {Array} The elements in `list1` that are not in `list2`.\n * @see R.differenceWith, R.symmetricDifference, R.symmetricDifferenceWith, R.without\n * @example\n *\n * R.difference([1,2,3,4], [7,6,5,4,3]); //=> [1,2]\n * R.difference([7,6,5,4,3], [1,2,3,4]); //=> [7,6,5]\n * R.difference([{a: 1}, {b: 2}], [{a: 1}, {c: 3}]) //=> [{b: 2}]\n */\n\nvar difference =\n/*#__PURE__*/\n_curry2(function difference(first, second) {\n var out = [];\n var idx = 0;\n var firstLen = first.length;\n var secondLen = second.length;\n var toFilterOut = new _Set();\n\n for (var i = 0; i < secondLen; i += 1) {\n toFilterOut.add(second[i]);\n }\n\n while (idx < firstLen) {\n if (toFilterOut.add(first[idx])) {\n out[out.length] = first[idx];\n }\n\n idx += 1;\n }\n\n return out;\n});\n\nexport default difference;","import _curry3 from \"./internal/_curry3.js\";\n/**\n * Removes the sub-list of `list` starting at index `start` and containing\n * `count` elements. _Note that this is not destructive_: it returns a copy of\n * the list with the changes.\n * No lists have been harmed in the application of this function.\n *\n * @func\n * @memberOf R\n * @since v0.2.2\n * @category List\n * @sig Number -> Number -> [a] -> [a]\n * @param {Number} start The position to start removing elements\n * @param {Number} count The number of elements to remove\n * @param {Array} list The list to remove from\n * @return {Array} A new Array with `count` elements from `start` removed.\n * @see R.without\n * @example\n *\n * R.remove(2, 3, [1,2,3,4,5,6,7,8]); //=> [1,2,6,7,8]\n */\n\nvar remove =\n/*#__PURE__*/\n_curry3(function remove(start, count, list) {\n var result = Array.prototype.slice.call(list, 0);\n result.splice(start, count);\n return result;\n});\n\nexport default remove;","import _curry3 from \"./internal/_curry3.js\";\nimport assocPath from \"./assocPath.js\";\n/**\n * Makes a shallow clone of an object, setting or overriding the specified\n * property with the given value. Note that this copies and flattens prototype\n * properties onto the new object as well. All non-primitive properties are\n * copied by reference.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig Idx -> a -> {k: v} -> {k: v}\n * @param {String|Number} prop The property name to set\n * @param {*} val The new value\n * @param {Object} obj The object to clone\n * @return {Object} A new object equivalent to the original except for the changed property.\n * @see R.dissoc, R.pick\n * @example\n *\n * R.assoc('c', 3, {a: 1, b: 2}); //=> {a: 1, b: 2, c: 3}\n */\n\nvar assoc =\n/*#__PURE__*/\n_curry3(function assoc(prop, val, obj) {\n return assocPath([prop], val, obj);\n});\n\nexport default assoc;","import _curry2 from \"./internal/_curry2.js\";\nimport _dissoc from \"./internal/_dissoc.js\";\nimport _isInteger from \"./internal/_isInteger.js\";\nimport _isArray from \"./internal/_isArray.js\";\nimport assoc from \"./assoc.js\";\n/**\n * Makes a shallow clone of an object. Note that this copies and flattens\n * prototype properties onto the new object as well. All non-primitive\n * properties are copied by reference.\n *\n * @private\n * @param {String|Integer} prop The prop operating\n * @param {Object|Array} obj The object to clone\n * @return {Object|Array} A new object equivalent to the original.\n */\n\nfunction _shallowCloneObject(prop, obj) {\n if (_isInteger(prop) && _isArray(obj)) {\n return [].concat(obj);\n }\n\n var result = {};\n\n for (var p in obj) {\n result[p] = obj[p];\n }\n\n return result;\n}\n/**\n * Makes a shallow clone of an object, omitting the property at the given path.\n * Note that this copies and flattens prototype properties onto the new object\n * as well. All non-primitive properties are copied by reference.\n *\n * @func\n * @memberOf R\n * @since v0.11.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig [Idx] -> {k: v} -> {k: v}\n * @param {Array} path The path to the value to omit\n * @param {Object} obj The object to clone\n * @return {Object} A new object without the property at path\n * @see R.assocPath\n * @example\n *\n * R.dissocPath(['a', 'b', 'c'], {a: {b: {c: 42}}}); //=> {a: {b: {}}}\n */\n\n\nvar dissocPath =\n/*#__PURE__*/\n_curry2(function dissocPath(path, obj) {\n if (obj == null) {\n return obj;\n }\n\n switch (path.length) {\n case 0:\n return obj;\n\n case 1:\n return _dissoc(path[0], obj);\n\n default:\n var head = path[0];\n var tail = Array.prototype.slice.call(path, 1);\n\n if (obj[head] == null) {\n return _shallowCloneObject(head, obj);\n } else {\n return assoc(head, dissocPath(tail, obj[head]), obj);\n }\n\n }\n});\n\nexport default dissocPath;","import _isInteger from \"./_isInteger.js\";\nimport _isArray from \"./_isArray.js\";\nimport remove from \"../remove.js\";\n/**\n * Returns a new object that does not contain a `prop` property.\n *\n * @private\n * @param {String|Number} prop The name of the property to dissociate\n * @param {Object|Array} obj The object to clone\n * @return {Object} A new object equivalent to the original but without the specified property\n */\n\nexport default function _dissoc(prop, obj) {\n if (obj == null) {\n return obj;\n }\n\n if (_isInteger(prop) && _isArray(obj)) {\n return remove(prop, 1, obj);\n }\n\n var result = {};\n\n for (var p in obj) {\n result[p] = obj[p];\n }\n\n delete result[prop];\n return result;\n}","export default function _arrayFromIterator(iter) {\n var list = [];\n var next;\n\n while (!(next = iter.next()).done) {\n list.push(next.value);\n }\n\n return list;\n}","export default function _includesWith(pred, x, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n if (pred(x, list[idx])) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n}","import _arrayFromIterator from \"./_arrayFromIterator.js\";\nimport _includesWith from \"./_includesWith.js\";\nimport _functionName from \"./_functionName.js\";\nimport _has from \"./_has.js\";\nimport _objectIs from \"./_objectIs.js\";\nimport keys from \"../keys.js\";\nimport type from \"../type.js\";\n/**\n * private _uniqContentEquals function.\n * That function is checking equality of 2 iterator contents with 2 assumptions\n * - iterators lengths are the same\n * - iterators values are unique\n *\n * false-positive result will be returned for comparison of, e.g.\n * - [1,2,3] and [1,2,3,4]\n * - [1,1,1] and [1,2,3]\n * */\n\nfunction _uniqContentEquals(aIterator, bIterator, stackA, stackB) {\n var a = _arrayFromIterator(aIterator);\n\n var b = _arrayFromIterator(bIterator);\n\n function eq(_a, _b) {\n return _equals(_a, _b, stackA.slice(), stackB.slice());\n } // if *a* array contains any element that is not included in *b*\n\n\n return !_includesWith(function (b, aItem) {\n return !_includesWith(eq, aItem, b);\n }, b, a);\n}\n\nexport default function _equals(a, b, stackA, stackB) {\n if (_objectIs(a, b)) {\n return true;\n }\n\n var typeA = type(a);\n\n if (typeA !== type(b)) {\n return false;\n }\n\n if (typeof a['fantasy-land/equals'] === 'function' || typeof b['fantasy-land/equals'] === 'function') {\n return typeof a['fantasy-land/equals'] === 'function' && a['fantasy-land/equals'](b) && typeof b['fantasy-land/equals'] === 'function' && b['fantasy-land/equals'](a);\n }\n\n if (typeof a.equals === 'function' || typeof b.equals === 'function') {\n return typeof a.equals === 'function' && a.equals(b) && typeof b.equals === 'function' && b.equals(a);\n }\n\n switch (typeA) {\n case 'Arguments':\n case 'Array':\n case 'Object':\n if (typeof a.constructor === 'function' && _functionName(a.constructor) === 'Promise') {\n return a === b;\n }\n\n break;\n\n case 'Boolean':\n case 'Number':\n case 'String':\n if (!(typeof a === typeof b && _objectIs(a.valueOf(), b.valueOf()))) {\n return false;\n }\n\n break;\n\n case 'Date':\n if (!_objectIs(a.valueOf(), b.valueOf())) {\n return false;\n }\n\n break;\n\n case 'Error':\n return a.name === b.name && a.message === b.message;\n\n case 'RegExp':\n if (!(a.source === b.source && a.global === b.global && a.ignoreCase === b.ignoreCase && a.multiline === b.multiline && a.sticky === b.sticky && a.unicode === b.unicode)) {\n return false;\n }\n\n break;\n }\n\n var idx = stackA.length - 1;\n\n while (idx >= 0) {\n if (stackA[idx] === a) {\n return stackB[idx] === b;\n }\n\n idx -= 1;\n }\n\n switch (typeA) {\n case 'Map':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.entries(), b.entries(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Set':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.values(), b.values(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Arguments':\n case 'Array':\n case 'Object':\n case 'Boolean':\n case 'Number':\n case 'String':\n case 'Date':\n case 'Error':\n case 'RegExp':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'ArrayBuffer':\n break;\n\n default:\n // Values of other types are only equal if identical.\n return false;\n }\n\n var keysA = keys(a);\n\n if (keysA.length !== keys(b).length) {\n return false;\n }\n\n var extendedStackA = stackA.concat([a]);\n var extendedStackB = stackB.concat([b]);\n idx = keysA.length - 1;\n\n while (idx >= 0) {\n var key = keysA[idx];\n\n if (!(_has(key, b) && _equals(b[key], a[key], extendedStackA, extendedStackB))) {\n return false;\n }\n\n idx -= 1;\n }\n\n return true;\n}","export default function _functionName(f) {\n // String(x => x) evaluates to \"x => x\", so the pattern may not match.\n var match = String(f).match(/^function (\\w*)/);\n return match == null ? '' : match[1];\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _equals from \"./internal/_equals.js\";\n/**\n * Returns `true` if its arguments are equivalent, `false` otherwise. Handles\n * cyclical data structures.\n *\n * Dispatches symmetrically to the `equals` methods of both arguments, if\n * present.\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category Relation\n * @sig a -> b -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @example\n *\n * R.equals(1, 1); //=> true\n * R.equals(1, '1'); //=> false\n * R.equals([1, 2, 3], [1, 2, 3]); //=> true\n *\n * const a = {}; a.v = a;\n * const b = {}; b.v = b;\n * R.equals(a, b); //=> true\n */\n\nvar equals =\n/*#__PURE__*/\n_curry2(function equals(a, b) {\n return _equals(a, b, [], []);\n});\n\nexport default equals;","import _xfBase from \"./_xfBase.js\";\n\nvar XFilter =\n/*#__PURE__*/\nfunction () {\n function XFilter(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XFilter.prototype['@@transducer/init'] = _xfBase.init;\n XFilter.prototype['@@transducer/result'] = _xfBase.result;\n\n XFilter.prototype['@@transducer/step'] = function (result, input) {\n return this.f(input) ? this.xf['@@transducer/step'](result, input) : result;\n };\n\n return XFilter;\n}();\n\nexport default function _xfilter(f) {\n return function (xf) {\n return new XFilter(f, xf);\n };\n}","import _arrayReduce from \"./internal/_arrayReduce.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _filter from \"./internal/_filter.js\";\nimport _isObject from \"./internal/_isObject.js\";\nimport _xfilter from \"./internal/_xfilter.js\";\nimport keys from \"./keys.js\";\n/**\n * Takes a predicate and a `Filterable`, and returns a new filterable of the\n * same type containing the members of the given filterable which satisfy the\n * given predicate. Filterable objects include plain objects or any object\n * that has a filter method such as `Array`.\n *\n * Dispatches to the `filter` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @category Object\n * @sig Filterable f => (a -> Boolean) -> f a -> f a\n * @param {Function} pred\n * @param {Array} filterable\n * @return {Array} Filterable\n * @see R.reject, R.transduce, R.addIndex\n * @example\n *\n * const isEven = n => n % 2 === 0;\n *\n * R.filter(isEven, [1, 2, 3, 4]); //=> [2, 4]\n *\n * R.filter(isEven, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}\n */\n\nvar filter =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['fantasy-land/filter', 'filter'], _xfilter, function (pred, filterable) {\n return _isObject(filterable) ? _arrayReduce(function (acc, key) {\n if (pred(filterable[key])) {\n acc[key] = filterable[key];\n }\n\n return acc;\n }, {}, keys(filterable)) : // else\n _filter(pred, filterable);\n}));\n\nexport default filter;","export default function _filter(fn, list) {\n var idx = 0;\n var len = list.length;\n var result = [];\n\n while (idx < len) {\n if (fn(list[idx])) {\n result[result.length] = list[idx];\n }\n\n idx += 1;\n }\n\n return result;\n}","import _curry1 from \"./internal/_curry1.js\";\nimport curryN from \"./curryN.js\";\n/**\n * Returns a new function much like the supplied one, except that the first two\n * arguments' order is reversed.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((a, b, c, ...) -> z) -> (b -> a -> c -> ... -> z)\n * @param {Function} fn The function to invoke with its first two parameters reversed.\n * @return {*} The result of invoking `fn` with its first two parameters' order reversed.\n * @example\n *\n * const mergeThree = (a, b, c) => [].concat(a, b, c);\n *\n * mergeThree(1, 2, 3); //=> [1, 2, 3]\n *\n * R.flip(mergeThree)(1, 2, 3); //=> [2, 1, 3]\n * @symb R.flip(f)(a, b, c) = f(b, a, c)\n */\n\nvar flip =\n/*#__PURE__*/\n_curry1(function flip(fn) {\n return curryN(fn.length, function (a, b) {\n var args = Array.prototype.slice.call(arguments, 0);\n args[0] = b;\n args[1] = a;\n return fn.apply(this, args);\n });\n});\n\nexport default flip;","import _curry2 from \"./internal/_curry2.js\";\nimport hasPath from \"./hasPath.js\";\n/**\n * Returns whether or not an object has an own property with the specified name\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Object\n * @sig s -> {s: x} -> Boolean\n * @param {String} prop The name of the property to check for.\n * @param {Object} obj The object to query.\n * @return {Boolean} Whether the property exists.\n * @example\n *\n * const hasName = R.has('name');\n * hasName({name: 'alice'}); //=> true\n * hasName({name: 'bob'}); //=> true\n * hasName({}); //=> false\n *\n * const point = {x: 0, y: 0};\n * const pointHas = R.has(R.__, point);\n * pointHas('x'); //=> true\n * pointHas('y'); //=> true\n * pointHas('z'); //=> false\n */\n\nvar has =\n/*#__PURE__*/\n_curry2(function has(prop, obj) {\n return hasPath([prop], obj);\n});\n\nexport default has;","import _curry2 from \"./internal/_curry2.js\";\nimport _has from \"./internal/_has.js\";\nimport isNil from \"./isNil.js\";\n/**\n * Returns whether or not a path exists in an object. Only the object's\n * own properties are checked.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig [Idx] -> {a} -> Boolean\n * @param {Array} path The path to use.\n * @param {Object} obj The object to check the path in.\n * @return {Boolean} Whether the path exists.\n * @see R.has\n * @example\n *\n * R.hasPath(['a', 'b'], {a: {b: 2}}); // => true\n * R.hasPath(['a', 'b'], {a: {b: undefined}}); // => true\n * R.hasPath(['a', 'b'], {a: {c: 2}}); // => false\n * R.hasPath(['a', 'b'], {}); // => false\n */\n\nvar hasPath =\n/*#__PURE__*/\n_curry2(function hasPath(_path, obj) {\n if (_path.length === 0 || isNil(obj)) {\n return false;\n }\n\n var val = obj;\n var idx = 0;\n\n while (idx < _path.length) {\n if (!isNil(val) && _has(_path[idx], val)) {\n val = val[_path[idx]];\n idx += 1;\n } else {\n return false;\n }\n }\n\n return true;\n});\n\nexport default hasPath;","import nth from \"./nth.js\";\n/**\n * Returns the first element of the given list or string. In some libraries\n * this function is named `first`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> a | Undefined\n * @sig String -> String\n * @param {Array|String} list\n * @return {*}\n * @see R.tail, R.init, R.last\n * @example\n *\n * R.head(['fi', 'fo', 'fum']); //=> 'fi'\n * R.head([]); //=> undefined\n *\n * R.head('abc'); //=> 'a'\n * R.head(''); //=> ''\n */\n\nvar head =\n/*#__PURE__*/\nnth(0);\nexport default head;","import _objectIs from \"./internal/_objectIs.js\";\n/**\n * Returns true if its arguments are identical, false otherwise. Values are\n * identical if they reference the same memory. `NaN` is identical to `NaN`;\n * `0` and `-0` are not identical.\n *\n * Note this is merely a curried version of ES6 `Object.is`.\n *\n * `identical` does not support the `__` placeholder.\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category Relation\n * @sig a -> a -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @example\n *\n * const o = {};\n * R.identical(o, o); //=> true\n * R.identical(1, 1); //=> true\n * R.identical(1, '1'); //=> false\n * R.identical([], []); //=> false\n * R.identical(0, -0); //=> false\n * R.identical(NaN, NaN); //=> true\n */\n\nvar identical = function (a, b) {\n switch (arguments.length) {\n case 0:\n return identical;\n\n case 1:\n return function () {\n return function unaryIdentical(_b) {\n switch (arguments.length) {\n case 0:\n return unaryIdentical;\n\n default:\n return _objectIs(a, _b);\n }\n };\n }();\n\n default:\n return _objectIs(a, b);\n }\n}; // In order to support Cross-origin Window objects as arguments to identical,\n// it cannot be implemented as _curry2(_objectIs).\n// The reason is that _curry2 checks if a function argument is the placeholder __\n// by accessing a paritcular property. However, across URL origins access\n// to most properties of Window is forbidden.\n\n\nexport default identical;","import _curry3 from \"./internal/_curry3.js\";\nimport curryN from \"./curryN.js\";\n/**\n * Creates a function that will process either the `onTrue` or the `onFalse`\n * function depending upon the result of the `condition` predicate.\n *\n * Note that `ifElse` takes its arity from the longest of the three functions passed to it.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> *) -> (*... -> *) -> (*... -> *)\n * @param {Function} condition A predicate function\n * @param {Function} onTrue A function to invoke when the `condition` evaluates to a truthy value.\n * @param {Function} onFalse A function to invoke when the `condition` evaluates to a falsy value.\n * @return {Function} A new function that will process either the `onTrue` or the `onFalse`\n * function depending upon the result of the `condition` predicate.\n * @see R.unless, R.when, R.cond\n * @example\n *\n * const incCount = R.ifElse(\n * R.has('count'),\n * R.over(R.lensProp('count'), R.inc),\n * R.assoc('count', 1)\n * );\n * incCount({ count: 1 }); //=> { count: 2 }\n * incCount({}); //=> { count: 1 }\n */\n\nvar ifElse =\n/*#__PURE__*/\n_curry3(function ifElse(condition, onTrue, onFalse) {\n return curryN(Math.max(condition.length, onTrue.length, onFalse.length), function _ifElse() {\n return condition.apply(this, arguments) ? onTrue.apply(this, arguments) : onFalse.apply(this, arguments);\n });\n});\n\nexport default ifElse;","export default function _arity(n, fn) {\n /* eslint-disable no-unused-vars */\n switch (n) {\n case 0:\n return function () {\n return fn.apply(this, arguments);\n };\n\n case 1:\n return function (a0) {\n return fn.apply(this, arguments);\n };\n\n case 2:\n return function (a0, a1) {\n return fn.apply(this, arguments);\n };\n\n case 3:\n return function (a0, a1, a2) {\n return fn.apply(this, arguments);\n };\n\n case 4:\n return function (a0, a1, a2, a3) {\n return fn.apply(this, arguments);\n };\n\n case 5:\n return function (a0, a1, a2, a3, a4) {\n return fn.apply(this, arguments);\n };\n\n case 6:\n return function (a0, a1, a2, a3, a4, a5) {\n return fn.apply(this, arguments);\n };\n\n case 7:\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return fn.apply(this, arguments);\n };\n\n case 8:\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return fn.apply(this, arguments);\n };\n\n case 9:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8) {\n return fn.apply(this, arguments);\n };\n\n case 10:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {\n return fn.apply(this, arguments);\n };\n\n default:\n throw new Error('First argument to _arity must be a non-negative integer no greater than ten');\n }\n}","export default function _arrayReduce(reducer, acc, list) {\n var index = 0;\n var length = list.length;\n\n while (index < length) {\n acc = reducer(acc, list[index]);\n index += 1;\n }\n\n return acc;\n}","import _isArray from \"./_isArray.js\";\n/**\n * This checks whether a function has a [methodname] function. If it isn't an\n * array it will execute that function otherwise it will default to the ramda\n * implementation.\n *\n * @private\n * @param {Function} fn ramda implementation\n * @param {String} methodname property to check for a custom implementation\n * @return {Object} Whatever the return value of the method is.\n */\n\nexport default function _checkForMethod(methodname, fn) {\n return function () {\n var length = arguments.length;\n\n if (length === 0) {\n return fn();\n }\n\n var obj = arguments[length - 1];\n return _isArray(obj) || typeof obj[methodname] !== 'function' ? fn.apply(this, arguments) : obj[methodname].apply(obj, Array.prototype.slice.call(arguments, 0, length - 1));\n };\n}","export default function _cloneRegExp(pattern) {\n return new RegExp(pattern.source, pattern.flags ? pattern.flags : (pattern.global ? 'g' : '') + (pattern.ignoreCase ? 'i' : '') + (pattern.multiline ? 'm' : '') + (pattern.sticky ? 'y' : '') + (pattern.unicode ? 'u' : '') + (pattern.dotAll ? 's' : ''));\n}","export default function _complement(f) {\n return function () {\n return !f.apply(this, arguments);\n };\n}","import _curry1 from \"./_curry1.js\";\nimport _isArray from \"./_isArray.js\";\nimport _isString from \"./_isString.js\";\n/**\n * Tests whether or not an object is similar to an array.\n *\n * @private\n * @category Type\n * @category List\n * @sig * -> Boolean\n * @param {*} x The object to test.\n * @return {Boolean} `true` if `x` has a numeric length property and extreme indices defined; `false` otherwise.\n * @example\n *\n * _isArrayLike([]); //=> true\n * _isArrayLike(true); //=> false\n * _isArrayLike({}); //=> false\n * _isArrayLike({length: 10}); //=> false\n * _isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true\n * _isArrayLike({nodeType: 1, length: 1}) // => false\n */\n\nvar _isArrayLike =\n/*#__PURE__*/\n_curry1(function isArrayLike(x) {\n if (_isArray(x)) {\n return true;\n }\n\n if (!x) {\n return false;\n }\n\n if (typeof x !== 'object') {\n return false;\n }\n\n if (_isString(x)) {\n return false;\n }\n\n if (x.length === 0) {\n return true;\n }\n\n if (x.length > 0) {\n return x.hasOwnProperty(0) && x.hasOwnProperty(x.length - 1);\n }\n\n return false;\n});\n\nexport default _isArrayLike;","import _isArrayLike from \"./_isArrayLike.js\";\nvar symIterator = typeof Symbol !== 'undefined' ? Symbol.iterator : '@@iterator';\nexport default function _createReduce(arrayReduce, methodReduce, iterableReduce) {\n return function _reduce(xf, acc, list) {\n if (_isArrayLike(list)) {\n return arrayReduce(xf, acc, list);\n }\n\n if (list == null) {\n return acc;\n }\n\n if (typeof list['fantasy-land/reduce'] === 'function') {\n return methodReduce(xf, acc, list, 'fantasy-land/reduce');\n }\n\n if (list[symIterator] != null) {\n return iterableReduce(xf, acc, list[symIterator]());\n }\n\n if (typeof list.next === 'function') {\n return iterableReduce(xf, acc, list);\n }\n\n if (typeof list.reduce === 'function') {\n return methodReduce(xf, acc, list, 'reduce');\n }\n\n throw new TypeError('reduce: list must be array or iterable');\n };\n}","import _isPlaceholder from \"./_isPlaceholder.js\";\n/**\n * Optimized internal one-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry1(fn) {\n return function f1(a) {\n if (arguments.length === 0 || _isPlaceholder(a)) {\n return f1;\n } else {\n return fn.apply(this, arguments);\n }\n };\n}","import _curry1 from \"./_curry1.js\";\nimport _isPlaceholder from \"./_isPlaceholder.js\";\n/**\n * Optimized internal two-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry2(fn) {\n return function f2(a, b) {\n switch (arguments.length) {\n case 0:\n return f2;\n\n case 1:\n return _isPlaceholder(a) ? f2 : _curry1(function (_b) {\n return fn(a, _b);\n });\n\n default:\n return _isPlaceholder(a) && _isPlaceholder(b) ? f2 : _isPlaceholder(a) ? _curry1(function (_a) {\n return fn(_a, b);\n }) : _isPlaceholder(b) ? _curry1(function (_b) {\n return fn(a, _b);\n }) : fn(a, b);\n }\n };\n}","import _curry1 from \"./_curry1.js\";\nimport _curry2 from \"./_curry2.js\";\nimport _isPlaceholder from \"./_isPlaceholder.js\";\n/**\n * Optimized internal three-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry3(fn) {\n return function f3(a, b, c) {\n switch (arguments.length) {\n case 0:\n return f3;\n\n case 1:\n return _isPlaceholder(a) ? f3 : _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n });\n\n case 2:\n return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2(function (_a, _c) {\n return fn(_a, b, _c);\n }) : _isPlaceholder(b) ? _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n }) : _curry1(function (_c) {\n return fn(a, b, _c);\n });\n\n default:\n return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2(function (_a, _b) {\n return fn(_a, _b, c);\n }) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2(function (_a, _c) {\n return fn(_a, b, _c);\n }) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n }) : _isPlaceholder(a) ? _curry1(function (_a) {\n return fn(_a, b, c);\n }) : _isPlaceholder(b) ? _curry1(function (_b) {\n return fn(a, _b, c);\n }) : _isPlaceholder(c) ? _curry1(function (_c) {\n return fn(a, b, _c);\n }) : fn(a, b, c);\n }\n };\n}","import _isArray from \"./_isArray.js\";\nimport _isTransformer from \"./_isTransformer.js\";\n/**\n * Returns a function that dispatches with different strategies based on the\n * object in list position (last argument). If it is an array, executes [fn].\n * Otherwise, if it has a function with one of the given method names, it will\n * execute that function (functor case). Otherwise, if it is a transformer,\n * uses transducer created by [transducerCreator] to return a new transformer\n * (transducer case).\n * Otherwise, it will default to executing [fn].\n *\n * @private\n * @param {Array} methodNames properties to check for a custom implementation\n * @param {Function} transducerCreator transducer factory if object is transformer\n * @param {Function} fn default ramda implementation\n * @return {Function} A function that dispatches on object in list position\n */\n\nexport default function _dispatchable(methodNames, transducerCreator, fn) {\n return function () {\n if (arguments.length === 0) {\n return fn();\n }\n\n var obj = arguments[arguments.length - 1];\n\n if (!_isArray(obj)) {\n var idx = 0;\n\n while (idx < methodNames.length) {\n if (typeof obj[methodNames[idx]] === 'function') {\n return obj[methodNames[idx]].apply(obj, Array.prototype.slice.call(arguments, 0, -1));\n }\n\n idx += 1;\n }\n\n if (_isTransformer(obj)) {\n var transducer = transducerCreator.apply(null, Array.prototype.slice.call(arguments, 0, -1));\n return transducer(obj);\n }\n }\n\n return fn.apply(this, arguments);\n };\n}","export default function _isTransformer(obj) {\n return obj != null && typeof obj['@@transducer/step'] === 'function';\n}","export default function _has(prop, obj) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}","import _indexOf from \"./_indexOf.js\";\nexport default function _includes(a, list) {\n return _indexOf(list, a, 0) >= 0;\n}","import equals from \"../equals.js\";\nexport default function _indexOf(list, a, idx) {\n var inf, item; // Array.prototype.indexOf doesn't exist below IE9\n\n if (typeof list.indexOf === 'function') {\n switch (typeof a) {\n case 'number':\n if (a === 0) {\n // manually crawl the list to distinguish between +0 and -0\n inf = 1 / a;\n\n while (idx < list.length) {\n item = list[idx];\n\n if (item === 0 && 1 / item === inf) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n } else if (a !== a) {\n // NaN\n while (idx < list.length) {\n item = list[idx];\n\n if (typeof item === 'number' && item !== item) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n } // non-zero numbers can utilise Set\n\n\n return list.indexOf(a, idx);\n // all these types can utilise Set\n\n case 'string':\n case 'boolean':\n case 'function':\n case 'undefined':\n return list.indexOf(a, idx);\n\n case 'object':\n if (a === null) {\n // null can utilise Set\n return list.indexOf(a, idx);\n }\n\n }\n } // anything else not covered above, defer to R.equals\n\n\n while (idx < list.length) {\n if (equals(list[idx], a)) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n}","import _has from \"./_has.js\";\nvar toString = Object.prototype.toString;\n\nvar _isArguments =\n/*#__PURE__*/\nfunction () {\n return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {\n return toString.call(x) === '[object Arguments]';\n } : function _isArguments(x) {\n return _has('callee', x);\n };\n}();\n\nexport default _isArguments;","/**\n * Tests whether or not an object is an array.\n *\n * @private\n * @param {*} val The object to test.\n * @return {Boolean} `true` if `val` is an array, `false` otherwise.\n * @example\n *\n * _isArray([]); //=> true\n * _isArray(null); //=> false\n * _isArray({}); //=> false\n */\nexport default Array.isArray || function _isArray(val) {\n return val != null && val.length >= 0 && Object.prototype.toString.call(val) === '[object Array]';\n};","export default function _isFunction(x) {\n var type = Object.prototype.toString.call(x);\n return type === '[object Function]' || type === '[object AsyncFunction]' || type === '[object GeneratorFunction]' || type === '[object AsyncGeneratorFunction]';\n}","/**\n * Determine if the passed argument is an integer.\n *\n * @private\n * @param {*} n\n * @category Type\n * @return {Boolean}\n */\nexport default Number.isInteger || function _isInteger(n) {\n return n << 0 === n;\n};","export default function _isObject(x) {\n return Object.prototype.toString.call(x) === '[object Object]';\n}","export default function _isPlaceholder(a) {\n return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;\n}","export default function _isString(x) {\n return Object.prototype.toString.call(x) === '[object String]';\n}","export default function _map(fn, functor) {\n var idx = 0;\n var len = functor.length;\n var result = Array(len);\n\n while (idx < len) {\n result[idx] = fn(functor[idx]);\n idx += 1;\n }\n\n return result;\n}","// Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\nfunction _objectIs(a, b) {\n // SameValue algorithm\n if (a === b) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return a !== 0 || 1 / a === 1 / b;\n } else {\n // Step 6.a: NaN == NaN\n return a !== a && b !== b;\n }\n}\n\nexport default typeof Object.is === 'function' ? Object.is : _objectIs;","export default function _reduced(x) {\n return x && x['@@transducer/reduced'] ? x : {\n '@@transducer/value': x,\n '@@transducer/reduced': true\n };\n}","export default function _xArrayReduce(xf, acc, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n acc = xf['@@transducer/step'](acc, list[idx]);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n idx += 1;\n }\n\n return xf['@@transducer/result'](acc);\n}","import _createReduce from \"./_createReduce.js\";\nimport _xArrayReduce from \"./_xArrayReduce.js\";\nimport bind from \"../bind.js\";\n\nfunction _xIterableReduce(xf, acc, iter) {\n var step = iter.next();\n\n while (!step.done) {\n acc = xf['@@transducer/step'](acc, step.value);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n step = iter.next();\n }\n\n return xf['@@transducer/result'](acc);\n}\n\nfunction _xMethodReduce(xf, acc, obj, methodName) {\n return xf['@@transducer/result'](obj[methodName](bind(xf['@@transducer/step'], xf), acc));\n}\n\nvar _xReduce =\n/*#__PURE__*/\n_createReduce(_xArrayReduce, _xMethodReduce, _xIterableReduce);\n\nexport default _xReduce;","export default {\n init: function () {\n return this.xf['@@transducer/init']();\n },\n result: function (result) {\n return this.xf['@@transducer/result'](result);\n }\n};","var XWrap =\n/*#__PURE__*/\nfunction () {\n function XWrap(fn) {\n this.f = fn;\n }\n\n XWrap.prototype['@@transducer/init'] = function () {\n throw new Error('init not implemented on XWrap');\n };\n\n XWrap.prototype['@@transducer/result'] = function (acc) {\n return acc;\n };\n\n XWrap.prototype['@@transducer/step'] = function (acc, x) {\n return this.f(acc, x);\n };\n\n return XWrap;\n}();\n\nexport default function _xwrap(fn) {\n return new XWrap(fn);\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _isFunction from \"./internal/_isFunction.js\";\nimport curryN from \"./curryN.js\";\nimport toString from \"./toString.js\";\n/**\n * Given an `arity` (Number) and a `name` (String) the `invoker` function\n * returns a curried function that takes `arity` arguments and a `context`\n * object. It will \"invoke\" the `name`'d function (a method) on the `context`\n * object.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig Number -> String -> (a -> b -> ... -> n -> Object -> *)\n * @param {Number} arity Number of arguments the returned function should take\n * before the target object.\n * @param {String} method Name of any of the target object's methods to call.\n * @return {Function} A new curried function.\n * @see R.construct\n * @example\n * // A function with no arguments\n * const asJson = invoker(0, \"json\")\n * // Just like calling .then((response) => response.json())\n * fetch(\"http://example.com/index.json\").then(asJson)\n *\n * // A function with one argument\n * const sliceFrom = invoker(1, 'slice');\n * sliceFrom(6, 'abcdefghijklm'); //=> 'ghijklm'\n *\n * // A function with two arguments\n * const sliceFrom6 = invoker(2, 'slice')(6);\n * sliceFrom6(8, 'abcdefghijklm'); //=> 'gh'\n *\n * // NOTE: You can't simply pass some of the arguments to the initial invoker function.\n * const firstCreditCardSection = invoker(2, \"slice\", 0, 4)\n * firstCreditCardSection(\"4242 4242 4242 4242\") // => Function<...>\n *\n * // Since invoker returns a curried function, you may partially apply it to create the function you need.\n * const firstCreditCardSection = invoker(2, \"slice\")(0, 4)\n * firstCreditCardSection(\"4242 4242 4242 4242\") // => \"4242\"\n *\n * @symb R.invoker(0, 'method')(o) = o['method']()\n * @symb R.invoker(1, 'method')(a, o) = o['method'](a)\n * @symb R.invoker(2, 'method')(a, b, o) = o['method'](a, b)\n */\n\nvar invoker =\n/*#__PURE__*/\n_curry2(function invoker(arity, method) {\n return curryN(arity + 1, function () {\n var target = arguments[arity];\n\n if (target != null && _isFunction(target[method])) {\n return target[method].apply(target, Array.prototype.slice.call(arguments, 0, arity));\n }\n\n throw new TypeError(toString(target) + ' does not have a method named \"' + method + '\"');\n });\n});\n\nexport default invoker;","import _curry1 from \"./internal/_curry1.js\";\nimport _isArguments from \"./internal/_isArguments.js\";\nimport _isArray from \"./internal/_isArray.js\";\nimport _isObject from \"./internal/_isObject.js\";\nimport _isString from \"./internal/_isString.js\";\nimport _isTypedArray from \"./internal/_isTypedArray.js\";\n/**\n * Returns the empty value of its argument's type. Ramda defines the empty\n * value of Array (`[]`), Object (`{}`), String (`''`),\n * TypedArray (`Uint8Array []`, `Float32Array []`, etc), and Arguments. Other\n * types are supported if they define `.empty`,\n * `.prototype.empty` or implement the\n * [FantasyLand Monoid spec](https://github.com/fantasyland/fantasy-land#monoid).\n *\n * Dispatches to the `empty` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig a -> a\n * @param {*} x\n * @return {*}\n * @example\n *\n * R.empty(Just(42)); //=> Nothing()\n * R.empty([1, 2, 3]); //=> []\n * R.empty('unicorns'); //=> ''\n * R.empty({x: 1, y: 2}); //=> {}\n * R.empty(Uint8Array.from('123')); //=> Uint8Array []\n */\n\nvar empty =\n/*#__PURE__*/\n_curry1(function empty(x) {\n return x != null && typeof x['fantasy-land/empty'] === 'function' ? x['fantasy-land/empty']() : x != null && x.constructor != null && typeof x.constructor['fantasy-land/empty'] === 'function' ? x.constructor['fantasy-land/empty']() : x != null && typeof x.empty === 'function' ? x.empty() : x != null && x.constructor != null && typeof x.constructor.empty === 'function' ? x.constructor.empty() : _isArray(x) ? [] : _isString(x) ? '' : _isObject(x) ? {} : _isArguments(x) ? function () {\n return arguments;\n }() : _isTypedArray(x) ? x.constructor.from('') : void 0 // else\n ;\n});\n\nexport default empty;","/**\n * Tests whether or not an object is a typed array.\n *\n * @private\n * @param {*} val The object to test.\n * @return {Boolean} `true` if `val` is a typed array, `false` otherwise.\n * @example\n *\n * _isTypedArray(new Uint8Array([])); //=> true\n * _isTypedArray(new Float32Array([])); //=> true\n * _isTypedArray([]); //=> false\n * _isTypedArray(null); //=> false\n * _isTypedArray({}); //=> false\n */\nexport default function _isTypedArray(val) {\n var type = Object.prototype.toString.call(val);\n return type === '[object Uint8ClampedArray]' || type === '[object Int8Array]' || type === '[object Uint8Array]' || type === '[object Int16Array]' || type === '[object Uint16Array]' || type === '[object Int32Array]' || type === '[object Uint32Array]' || type === '[object Float32Array]' || type === '[object Float64Array]' || type === '[object BigInt64Array]' || type === '[object BigUint64Array]';\n}","import _curry1 from \"./internal/_curry1.js\";\nimport empty from \"./empty.js\";\nimport equals from \"./equals.js\";\n/**\n * Returns `true` if the given value is its type's empty value; `false`\n * otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> Boolean\n * @param {*} x\n * @return {Boolean}\n * @see R.empty\n * @example\n *\n * R.isEmpty([1, 2, 3]); //=> false\n * R.isEmpty([]); //=> true\n * R.isEmpty(''); //=> true\n * R.isEmpty(null); //=> false\n * R.isEmpty({}); //=> true\n * R.isEmpty({length: 0}); //=> false\n * R.isEmpty(Uint8Array.from('')); //=> true\n */\n\nvar isEmpty =\n/*#__PURE__*/\n_curry1(function isEmpty(x) {\n return x != null && equals(x, empty(x));\n});\n\nexport default isEmpty;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * Checks if the input value is `null` or `undefined`.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Type\n * @sig * -> Boolean\n * @param {*} x The value to test.\n * @return {Boolean} `true` if `x` is `undefined` or `null`, otherwise `false`.\n * @example\n *\n * R.isNil(null); //=> true\n * R.isNil(undefined); //=> true\n * R.isNil(0); //=> false\n * R.isNil([]); //=> false\n */\n\nvar isNil =\n/*#__PURE__*/\n_curry1(function isNil(x) {\n return x == null;\n});\n\nexport default isNil;","import invoker from \"./invoker.js\";\n/**\n * Returns a string made by inserting the `separator` between each element and\n * concatenating all the elements into a single string.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig String -> [a] -> String\n * @param {Number|String} separator The string used to separate the elements.\n * @param {Array} xs The elements to join into a string.\n * @return {String} str The string made by concatenating `xs` with `separator`.\n * @see R.split\n * @example\n *\n * const spacer = R.join(' ');\n * spacer(['a', 2, 3.4]); //=> 'a 2 3.4'\n * R.join('|', [1, 2, 3]); //=> '1|2|3'\n */\n\nvar join =\n/*#__PURE__*/\ninvoker(1, 'join');\nexport default join;","import _curry1 from \"./internal/_curry1.js\";\nimport _has from \"./internal/_has.js\";\nimport _isArguments from \"./internal/_isArguments.js\"; // cover IE < 9 keys issues\n\nvar hasEnumBug = !\n/*#__PURE__*/\n{\n toString: null\n}.propertyIsEnumerable('toString');\nvar nonEnumerableProps = ['constructor', 'valueOf', 'isPrototypeOf', 'toString', 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; // Safari bug\n\nvar hasArgsEnumBug =\n/*#__PURE__*/\nfunction () {\n 'use strict';\n\n return arguments.propertyIsEnumerable('length');\n}();\n\nvar contains = function contains(list, item) {\n var idx = 0;\n\n while (idx < list.length) {\n if (list[idx] === item) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n};\n/**\n * Returns a list containing the names of all the enumerable own properties of\n * the supplied object.\n * Note that the order of the output array is not guaranteed to be consistent\n * across different JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> [k]\n * @param {Object} obj The object to extract properties from\n * @return {Array} An array of the object's own properties.\n * @see R.keysIn, R.values, R.toPairs\n * @example\n *\n * R.keys({a: 1, b: 2, c: 3}); //=> ['a', 'b', 'c']\n */\n\n\nvar keys = typeof Object.keys === 'function' && !hasArgsEnumBug ?\n/*#__PURE__*/\n_curry1(function keys(obj) {\n return Object(obj) !== obj ? [] : Object.keys(obj);\n}) :\n/*#__PURE__*/\n_curry1(function keys(obj) {\n if (Object(obj) !== obj) {\n return [];\n }\n\n var prop, nIdx;\n var ks = [];\n\n var checkArgsLength = hasArgsEnumBug && _isArguments(obj);\n\n for (prop in obj) {\n if (_has(prop, obj) && (!checkArgsLength || prop !== 'length')) {\n ks[ks.length] = prop;\n }\n }\n\n if (hasEnumBug) {\n nIdx = nonEnumerableProps.length - 1;\n\n while (nIdx >= 0) {\n prop = nonEnumerableProps[nIdx];\n\n if (_has(prop, obj) && !contains(ks, prop)) {\n ks[ks.length] = prop;\n }\n\n nIdx -= 1;\n }\n }\n\n return ks;\n});\nexport default keys;","import nth from \"./nth.js\";\n/**\n * Returns the last element of the given list or string.\n *\n * @func\n * @memberOf R\n * @since v0.1.4\n * @category List\n * @sig [a] -> a | Undefined\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.init, R.head, R.tail\n * @example\n *\n * R.last(['fi', 'fo', 'fum']); //=> 'fum'\n * R.last([]); //=> undefined\n *\n * R.last('abc'); //=> 'c'\n * R.last(''); //=> ''\n */\n\nvar last =\n/*#__PURE__*/\nnth(-1);\nexport default last;","import _curry2 from \"./internal/_curry2.js\";\nimport map from \"./map.js\";\n/**\n * Returns a lens for the given getter and setter functions. The getter \"gets\"\n * the value of the focus; the setter \"sets\" the value of the focus. The setter\n * should not mutate the data structure.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig (s -> a) -> ((a, s) -> s) -> Lens s a\n * @param {Function} getter\n * @param {Function} setter\n * @return {Lens}\n * @see R.view, R.set, R.over, R.lensIndex, R.lensProp\n * @example\n *\n * const xLens = R.lens(R.prop('x'), R.assoc('x'));\n *\n * R.view(xLens, {x: 1, y: 2}); //=> 1\n * R.set(xLens, 4, {x: 1, y: 2}); //=> {x: 4, y: 2}\n * R.over(xLens, R.negate, {x: 1, y: 2}); //=> {x: -1, y: 2}\n */\n\nvar lens =\n/*#__PURE__*/\n_curry2(function lens(getter, setter) {\n return function (toFunctorFn) {\n return function (target) {\n return map(function (focus) {\n return setter(focus, target);\n }, toFunctorFn(getter(target)));\n };\n };\n});\n\nexport default lens;","import _arrayReduce from \"./_arrayReduce.js\";\nimport _createReduce from \"./_createReduce.js\";\n\nfunction _iterableReduce(reducer, acc, iter) {\n var step = iter.next();\n\n while (!step.done) {\n acc = reducer(acc, step.value);\n step = iter.next();\n }\n\n return acc;\n}\n\nfunction _methodReduce(reducer, acc, obj, methodName) {\n return obj[methodName](reducer, acc);\n}\n\nvar _reduce =\n/*#__PURE__*/\n_createReduce(_arrayReduce, _methodReduce, _iterableReduce);\n\nexport default _reduce;","import _concat from \"./internal/_concat.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _reduce from \"./internal/_reduce.js\";\nimport map from \"./map.js\";\n/**\n * ap applies a list of functions to a list of values.\n *\n * Dispatches to the `ap` method of the first argument, if present. Also\n * treats curried functions as applicatives.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig [a -> b] -> [a] -> [b]\n * @sig Apply f => f (a -> b) -> f a -> f b\n * @sig (r -> a -> b) -> (r -> a) -> (r -> b)\n * @param {*} applyF\n * @param {*} applyX\n * @return {*}\n * @example\n *\n * R.ap([R.multiply(2), R.add(3)], [1,2,3]); //=> [2, 4, 6, 4, 5, 6]\n * R.ap([R.concat('tasty '), R.toUpper], ['pizza', 'salad']); //=> [\"tasty pizza\", \"tasty salad\", \"PIZZA\", \"SALAD\"]\n *\n * // R.ap can also be used as S combinator\n * // when only two functions are passed\n * R.ap(R.concat, R.toUpper)('Ramda') //=> 'RamdaRAMDA'\n * @symb R.ap([f, g], [a, b]) = [f(a), f(b), g(a), g(b)]\n */\n\nvar ap =\n/*#__PURE__*/\n_curry2(function ap(applyF, applyX) {\n return typeof applyX['fantasy-land/ap'] === 'function' ? applyX['fantasy-land/ap'](applyF) : typeof applyF.ap === 'function' ? applyF.ap(applyX) : typeof applyF === 'function' ? function (x) {\n return applyF(x)(applyX(x));\n } : _reduce(function (acc, f) {\n return _concat(acc, map(f, applyX));\n }, [], applyF);\n});\n\nexport default ap;","/**\n * Private `concat` function to merge two array-like objects.\n *\n * @private\n * @param {Array|Arguments} [set1=[]] An array-like object.\n * @param {Array|Arguments} [set2=[]] An array-like object.\n * @return {Array} A new, merged array.\n * @example\n *\n * _concat([4, 5, 6], [1, 2, 3]); //=> [4, 5, 6, 1, 2, 3]\n */\nexport default function _concat(set1, set2) {\n set1 = set1 || [];\n set2 = set2 || [];\n var idx;\n var len1 = set1.length;\n var len2 = set2.length;\n var result = [];\n idx = 0;\n\n while (idx < len1) {\n result[result.length] = set1[idx];\n idx += 1;\n }\n\n idx = 0;\n\n while (idx < len2) {\n result[result.length] = set2[idx];\n idx += 1;\n }\n\n return result;\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _arrayReduce from \"./internal/_arrayReduce.js\";\nimport ap from \"./ap.js\";\nimport curryN from \"./curryN.js\";\nimport map from \"./map.js\";\n/**\n * \"lifts\" a function to be the specified arity, so that it may \"map over\" that\n * many lists, Functions or other objects that satisfy the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig Number -> (*... -> *) -> ([*]... -> [*])\n * @param {Function} fn The function to lift into higher context\n * @return {Function} The lifted function.\n * @see R.lift, R.ap\n * @example\n *\n * const madd3 = R.liftN(3, (...args) => R.sum(args));\n * madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]\n */\n\nvar liftN =\n/*#__PURE__*/\n_curry2(function liftN(arity, fn) {\n var lifted = curryN(arity, fn);\n return curryN(arity, function () {\n return _arrayReduce(ap, map(lifted, arguments[0]), Array.prototype.slice.call(arguments, 1));\n });\n});\n\nexport default liftN;","import _curry1 from \"./internal/_curry1.js\";\nimport liftN from \"./liftN.js\";\n/**\n * \"lifts\" a function of arity >= 1 so that it may \"map over\" a list, Function or other\n * object that satisfies the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig (*... -> *) -> ([*]... -> [*])\n * @param {Function} fn The function to lift into higher context\n * @return {Function} The lifted function.\n * @see R.liftN\n * @example\n *\n * const madd3 = R.lift((a, b, c) => a + b + c);\n *\n * madd3([100, 200], [30, 40], [5, 6, 7]); //=> [135, 136, 137, 145, 146, 147, 235, 236, 237, 245, 246, 247]\n *\n * const madd5 = R.lift((a, b, c, d, e) => a + b + c + d + e);\n *\n * madd5([10, 20], [1], [2, 3], [4], [100, 200]); //=> [117, 217, 118, 218, 127, 227, 128, 228]\n */\n\nvar lift =\n/*#__PURE__*/\n_curry1(function lift(fn) {\n return liftN(fn.length, fn);\n});\n\nexport default lift;","import _xfBase from \"./_xfBase.js\";\n\nvar XMap =\n/*#__PURE__*/\nfunction () {\n function XMap(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XMap.prototype['@@transducer/init'] = _xfBase.init;\n XMap.prototype['@@transducer/result'] = _xfBase.result;\n\n XMap.prototype['@@transducer/step'] = function (result, input) {\n return this.xf['@@transducer/step'](result, this.f(input));\n };\n\n return XMap;\n}();\n\nvar _xmap = function _xmap(f) {\n return function (xf) {\n return new XMap(f, xf);\n };\n};\n\nexport default _xmap;","import _arrayReduce from \"./internal/_arrayReduce.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _map from \"./internal/_map.js\";\nimport _xmap from \"./internal/_xmap.js\";\nimport curryN from \"./curryN.js\";\nimport keys from \"./keys.js\";\n/**\n * Takes a function and\n * a [functor](https://github.com/fantasyland/fantasy-land#functor),\n * applies the function to each of the functor's values, and returns\n * a functor of the same shape.\n *\n * Ramda provides suitable `map` implementations for `Array` and `Object`,\n * so this function may be applied to `[1, 2, 3]` or `{x: 1, y: 2, z: 3}`.\n *\n * Dispatches to the `map` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * Also treats functions as functors and will compose them together.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Functor f => (a -> b) -> f a -> f b\n * @param {Function} fn The function to be called on every element of the input `list`.\n * @param {Array} list The list to be iterated over.\n * @return {Array} The new list.\n * @see R.transduce, R.addIndex, R.pluck, R.project\n * @example\n *\n * const double = x => x * 2;\n *\n * R.map(double, [1, 2, 3]); //=> [2, 4, 6]\n *\n * R.map(double, {x: 1, y: 2, z: 3}); //=> {x: 2, y: 4, z: 6}\n * @symb R.map(f, [a, b]) = [f(a), f(b)]\n * @symb R.map(f, { x: a, y: b }) = { x: f(a), y: f(b) }\n * @symb R.map(f, functor_o) = functor_o.map(f)\n */\n\nvar map =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['fantasy-land/map', 'map'], _xmap, function map(fn, functor) {\n switch (Object.prototype.toString.call(functor)) {\n case '[object Function]':\n return curryN(functor.length, function () {\n return fn.call(this, functor.apply(this, arguments));\n });\n\n case '[object Object]':\n return _arrayReduce(function (acc, key) {\n acc[key] = fn(functor[key]);\n return acc;\n }, {}, keys(functor));\n\n default:\n return _map(fn, functor);\n }\n}));\n\nexport default map;","import _arrayReduce from \"./internal/_arrayReduce.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport keys from \"./keys.js\";\n/**\n * An Object-specific version of [`map`](#map). The function is applied to three\n * arguments: *(value, key, obj)*. If only the value is significant, use\n * [`map`](#map) instead.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Object\n * @sig ((*, String, Object) -> *) -> Object -> Object\n * @param {Function} fn\n * @param {Object} obj\n * @return {Object}\n * @see R.map\n * @example\n *\n * const xyz = { x: 1, y: 2, z: 3 };\n * const prependKeyAndDouble = (num, key, obj) => key + (num * 2);\n *\n * R.mapObjIndexed(prependKeyAndDouble, xyz); //=> { x: 'x2', y: 'y4', z: 'z6' }\n */\n\nvar mapObjIndexed =\n/*#__PURE__*/\n_curry2(function mapObjIndexed(fn, obj) {\n return _arrayReduce(function (acc, key) {\n acc[key] = fn(obj[key], key, obj);\n return acc;\n }, {}, keys(obj));\n});\n\nexport default mapObjIndexed;","import _curry2 from \"./internal/_curry2.js\";\nimport toString from \"./toString.js\";\n/**\n * Returns the larger of its two arguments.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> a\n * @param {*} a\n * @param {*} b\n * @return {*}\n * @see R.maxBy, R.min\n * @example\n *\n * R.max(789, 123); //=> 789\n * R.max('a', 'b'); //=> 'b'\n */\n\nvar max =\n/*#__PURE__*/\n_curry2(function max(a, b) {\n if (a === b) {\n return b;\n }\n\n function safeMax(x, y) {\n if (x > y !== y > x) {\n return y > x ? y : x;\n }\n\n return undefined;\n }\n\n var maxByValue = safeMax(a, b);\n\n if (maxByValue !== undefined) {\n return maxByValue;\n }\n\n var maxByType = safeMax(typeof a, typeof b);\n\n if (maxByType !== undefined) {\n return maxByType === typeof a ? a : b;\n }\n\n var stringA = toString(a);\n var maxByStringValue = safeMax(stringA, toString(b));\n\n if (maxByStringValue !== undefined) {\n return maxByStringValue === stringA ? a : b;\n }\n\n return b;\n});\n\nexport default max;","import _curry3 from \"./internal/_curry3.js\";\nimport _has from \"./internal/_has.js\";\n/**\n * Creates a new object with the own properties of the two provided objects. If\n * a key exists in both objects, the provided function is applied to the key\n * and the values associated with the key in each object, with the result being\n * used as the value associated with the key in the returned object.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Object\n * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}\n * @param {Function} fn\n * @param {Object} l\n * @param {Object} r\n * @return {Object}\n * @see R.mergeDeepWithKey, R.merge, R.mergeWith\n * @example\n *\n * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r\n * R.mergeWithKey(concatValues,\n * { a: true, thing: 'foo', values: [10, 20] },\n * { b: true, thing: 'bar', values: [15, 35] });\n * //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }\n * @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }\n */\n\nvar mergeWithKey =\n/*#__PURE__*/\n_curry3(function mergeWithKey(fn, l, r) {\n var result = {};\n var k;\n l = l || {};\n r = r || {};\n\n for (k in l) {\n if (_has(k, l)) {\n result[k] = _has(k, r) ? fn(k, l[k], r[k]) : l[k];\n }\n }\n\n for (k in r) {\n if (_has(k, r) && !_has(k, result)) {\n result[k] = r[k];\n }\n }\n\n return result;\n});\n\nexport default mergeWithKey;","import _curry3 from \"./internal/_curry3.js\";\nimport _isObject from \"./internal/_isObject.js\";\nimport mergeWithKey from \"./mergeWithKey.js\";\n/**\n * Creates a new object with the own properties of the two provided objects.\n * If a key exists in both objects:\n * - and both associated values are also objects then the values will be\n * recursively merged.\n * - otherwise the provided function is applied to the key and associated values\n * using the resulting value as the new value associated with the key.\n * If a key only exists in one object, the value will be associated with the key\n * of the resulting object.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Object\n * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}\n * @param {Function} fn\n * @param {Object} lObj\n * @param {Object} rObj\n * @return {Object}\n * @see R.mergeWithKey, R.mergeDeepWith\n * @example\n *\n * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r\n * R.mergeDeepWithKey(concatValues,\n * { a: true, c: { thing: 'foo', values: [10, 20] }},\n * { b: true, c: { thing: 'bar', values: [15, 35] }});\n * //=> { a: true, b: true, c: { thing: 'bar', values: [10, 20, 15, 35] }}\n */\n\nvar mergeDeepWithKey =\n/*#__PURE__*/\n_curry3(function mergeDeepWithKey(fn, lObj, rObj) {\n return mergeWithKey(function (k, lVal, rVal) {\n if (_isObject(lVal) && _isObject(rVal)) {\n return mergeDeepWithKey(fn, lVal, rVal);\n } else {\n return fn(k, lVal, rVal);\n }\n }, lObj, rObj);\n});\n\nexport default mergeDeepWithKey;","import _curry2 from \"./internal/_curry2.js\";\nimport mergeDeepWithKey from \"./mergeDeepWithKey.js\";\n/**\n * Creates a new object with the own properties of the first object merged with\n * the own properties of the second object. If a key exists in both objects:\n * - and both values are objects, the two values will be recursively merged\n * - otherwise the value from the second object will be used.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Object\n * @sig {a} -> {a} -> {a}\n * @param {Object} lObj\n * @param {Object} rObj\n * @return {Object}\n * @see R.merge, R.mergeDeepLeft, R.mergeDeepWith, R.mergeDeepWithKey\n * @example\n *\n * R.mergeDeepRight({ name: 'fred', age: 10, contact: { email: 'moo@example.com' }},\n * { age: 40, contact: { email: 'baa@example.com' }});\n * //=> { name: 'fred', age: 40, contact: { email: 'baa@example.com' }}\n */\n\nvar mergeDeepRight =\n/*#__PURE__*/\n_curry2(function mergeDeepRight(lObj, rObj) {\n return mergeDeepWithKey(function (k, lVal, rVal) {\n return rVal;\n }, lObj, rObj);\n});\n\nexport default mergeDeepRight;","import _has from \"./_has.js\"; // Based on https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n\nfunction _objectAssign(target) {\n if (target == null) {\n throw new TypeError('Cannot convert undefined or null to object');\n }\n\n var output = Object(target);\n var idx = 1;\n var length = arguments.length;\n\n while (idx < length) {\n var source = arguments[idx];\n\n if (source != null) {\n for (var nextKey in source) {\n if (_has(nextKey, source)) {\n output[nextKey] = source[nextKey];\n }\n }\n }\n\n idx += 1;\n }\n\n return output;\n}\n\nexport default typeof Object.assign === 'function' ? Object.assign : _objectAssign;","import _objectAssign from \"./internal/_objectAssign.js\";\nimport _curry2 from \"./internal/_curry2.js\";\n/**\n * Create a new object with the own properties of the first object merged with\n * the own properties of the second object. If a key exists in both objects,\n * the value from the second object will be used.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Object\n * @sig {k: v} -> {k: v} -> {k: v}\n * @param {Object} l\n * @param {Object} r\n * @return {Object}\n * @see R.mergeLeft, R.mergeDeepRight, R.mergeWith, R.mergeWithKey\n * @example\n *\n * R.mergeRight({ 'name': 'fred', 'age': 10 }, { 'age': 40 });\n * //=> { 'name': 'fred', 'age': 40 }\n *\n * const withDefaults = R.mergeRight({x: 0, y: 0});\n * withDefaults({y: 2}); //=> {x: 0, y: 2}\n * @symb R.mergeRight(a, b) = {...a, ...b}\n */\n\nvar mergeRight =\n/*#__PURE__*/\n_curry2(function mergeRight(l, r) {\n return _objectAssign({}, l, r);\n});\n\nexport default mergeRight;","import _complement from \"./internal/_complement.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport all from \"./all.js\";\n/**\n * Returns `true` if no elements of the list match the predicate, `false`\n * otherwise.\n *\n * Dispatches to the `all` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> Boolean\n * @param {Function} fn The predicate function.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if the predicate is not satisfied by every element, `false` otherwise.\n * @see R.all, R.any\n * @example\n *\n * const isEven = n => n % 2 === 0;\n * const isOdd = n => n % 2 !== 0;\n *\n * R.none(isEven, [1, 3, 5, 7, 9, 11]); //=> true\n * R.none(isOdd, [1, 3, 5, 7, 8, 11]); //=> false\n */\n\nvar none =\n/*#__PURE__*/\n_curry2(function none(fn, input) {\n return all(_complement(fn), input);\n});\n\nexport default none;","import _curry2 from \"./internal/_curry2.js\";\nimport _isString from \"./internal/_isString.js\";\n/**\n * Returns the nth element of the given list or string. If n is negative the\n * element at index length + n is returned.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> [a] -> a | Undefined\n * @sig Number -> String -> String\n * @param {Number} offset\n * @param {*} list\n * @return {*}\n * @example\n *\n * const list = ['foo', 'bar', 'baz', 'quux'];\n * R.nth(1, list); //=> 'bar'\n * R.nth(-1, list); //=> 'quux'\n * R.nth(-99, list); //=> undefined\n *\n * R.nth(2, 'abc'); //=> 'c'\n * R.nth(3, 'abc'); //=> ''\n * @symb R.nth(-1, [a, b, c]) = c\n * @symb R.nth(0, [a, b, c]) = a\n * @symb R.nth(1, [a, b, c]) = b\n */\n\nvar nth =\n/*#__PURE__*/\n_curry2(function nth(offset, list) {\n var idx = offset < 0 ? list.length + offset : offset;\n return _isString(list) ? list.charAt(idx) : list[idx];\n});\n\nexport default nth;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Given a constructor and a value, returns a new instance of that constructor\n * containing the value.\n *\n * Dispatches to the `fantasy-land/of` method of the constructor first (if present)\n * or to the `of` method last (if present). When neither are present, wraps the\n * value in an array.\n *\n * Note this `of` is different from the ES6 `of`; See\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig (* -> {*}) -> a -> {a}\n * @param {Object} Ctor A constructor\n * @param {*} val any value\n * @return {*} An instance of the `Ctor` wrapping `val`.\n * @example\n *\n * R.of(Array, 42); //=> [42]\n * R.of(Array, [42]); //=> [[42]]\n * R.of(Maybe, 42); //=> Maybe.Just(42)\n */\n\nvar of =\n/*#__PURE__*/\n_curry2(function of(Ctor, val) {\n return typeof Ctor['fantasy-land/of'] === 'function' ? Ctor['fantasy-land/of'](val) : typeof Ctor.of === 'function' ? Ctor.of(val) : [val];\n});\n\nexport default of;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns a partial copy of an object omitting the keys specified.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [String] -> {String: *} -> {String: *}\n * @param {Array} names an array of String property names to omit from the new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with properties from `names` not on it.\n * @see R.pick\n * @example\n *\n * R.omit(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, c: 3}\n */\n\nvar omit =\n/*#__PURE__*/\n_curry2(function omit(names, obj) {\n var result = {};\n var index = {};\n var idx = 0;\n var len = names.length;\n\n while (idx < len) {\n index[names[idx]] = 1;\n idx += 1;\n }\n\n for (var prop in obj) {\n if (!index.hasOwnProperty(prop)) {\n result[prop] = obj[prop];\n }\n }\n\n return result;\n});\n\nexport default omit;","import _curry3 from \"./internal/_curry3.js\"; // `Identity` is a functor that holds a single value, where `map` simply\n// transforms the held value with the provided function.\n\nvar Identity = function (x) {\n return {\n value: x,\n map: function (f) {\n return Identity(f(x));\n }\n };\n};\n/**\n * Returns the result of \"setting\" the portion of the given data structure\n * focused by the given lens to the result of applying the given function to\n * the focused value.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig Lens s a -> (a -> a) -> s -> s\n * @param {Lens} lens\n * @param {*} v\n * @param {*} x\n * @return {*}\n * @see R.view, R.set, R.lens, R.lensIndex, R.lensProp, R.lensPath\n * @example\n *\n * const headLens = R.lensIndex(0);\n *\n * R.over(headLens, R.toUpper, ['foo', 'bar', 'baz']); //=> ['FOO', 'bar', 'baz']\n */\n\n\nvar over =\n/*#__PURE__*/\n_curry3(function over(lens, f, x) {\n // The value returned by the getter function is first transformed with `f`,\n // then set as the value of an `Identity`. This is then mapped over with the\n // setter function of the lens.\n return lens(function (y) {\n return Identity(f(y));\n })(x).value;\n});\n\nexport default over;","import _curry2 from \"./internal/_curry2.js\";\nimport _isInteger from \"./internal/_isInteger.js\";\nimport nth from \"./nth.js\";\n/**\n * Retrieves the values at given paths of an object.\n *\n * @func\n * @memberOf R\n * @since v0.27.1\n * @category Object\n * @typedefn Idx = [String | Int | Symbol]\n * @sig [Idx] -> {a} -> [a | Undefined]\n * @param {Array} pathsArray The array of paths to be fetched.\n * @param {Object} obj The object to retrieve the nested properties from.\n * @return {Array} A list consisting of values at paths specified by \"pathsArray\".\n * @see R.path\n * @example\n *\n * R.paths([['a', 'b'], ['p', 0, 'q']], {a: {b: 2}, p: [{q: 3}]}); //=> [2, 3]\n * R.paths([['a', 'b'], ['p', 'r']], {a: {b: 2}, p: [{q: 3}]}); //=> [2, undefined]\n */\n\nvar paths =\n/*#__PURE__*/\n_curry2(function paths(pathsArray, obj) {\n return pathsArray.map(function (paths) {\n var val = obj;\n var idx = 0;\n var p;\n\n while (idx < paths.length) {\n if (val == null) {\n return;\n }\n\n p = paths[idx];\n val = _isInteger(p) ? nth(p, val) : val[p];\n idx += 1;\n }\n\n return val;\n });\n});\n\nexport default paths;","import _curry2 from \"./internal/_curry2.js\";\nimport paths from \"./paths.js\";\n/**\n * Retrieves the value at a given path. The nodes of the path can be arbitrary strings or non-negative integers.\n * For anything else, the value is unspecified. Integer paths are meant to index arrays, strings are meant for objects.\n *\n * @func\n * @memberOf R\n * @since v0.2.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig [Idx] -> {a} -> a | Undefined\n * @sig Idx = String | NonNegativeInt\n * @param {Array} path The path to use.\n * @param {Object} obj The object or array to retrieve the nested property from.\n * @return {*} The data at `path`.\n * @see R.prop, R.nth, R.assocPath, R.dissocPath\n * @example\n *\n * R.path(['a', 'b'], {a: {b: 2}}); //=> 2\n * R.path(['a', 'b'], {c: {b: 2}}); //=> undefined\n * R.path(['a', 'b', 0], {a: {b: [1, 2, 3]}}); //=> 1\n * R.path(['a', 'b', -2], {a: {b: [1, 2, 3]}}); //=> 2\n * R.path([2], {'2': 2}); //=> 2\n * R.path([-2], {'-2': 'a'}); //=> undefined\n */\n\nvar path =\n/*#__PURE__*/\n_curry2(function path(pathAr, obj) {\n return paths([pathAr], obj)[0];\n});\n\nexport default path;","import _curry3 from \"./internal/_curry3.js\";\nimport defaultTo from \"./defaultTo.js\";\nimport path from \"./path.js\";\n/**\n * If the given, non-null object has a value at the given path, returns the\n * value at that path. Otherwise returns the provided default value.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig a -> [Idx] -> {a} -> a\n * @param {*} d The default value.\n * @param {Array} p The path to use.\n * @param {Object} obj The object to retrieve the nested property from.\n * @return {*} The data at `path` of the supplied object or the default value.\n * @example\n *\n * R.pathOr('N/A', ['a', 'b'], {a: {b: 2}}); //=> 2\n * R.pathOr('N/A', ['a', 'b'], {c: {b: 2}}); //=> \"N/A\"\n */\n\nvar pathOr =\n/*#__PURE__*/\n_curry3(function pathOr(d, p, obj) {\n return defaultTo(d, path(p, obj));\n});\n\nexport default pathOr;","import _curry3 from \"./internal/_curry3.js\";\nimport path from \"./path.js\";\n/**\n * Returns `true` if the specified object property at given path satisfies the\n * given predicate; `false` otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Logic\n * @typedefn Idx = String | Int | Symbol\n * @sig (a -> Boolean) -> [Idx] -> {a} -> Boolean\n * @param {Function} pred\n * @param {Array} propPath\n * @param {*} obj\n * @return {Boolean}\n * @see R.propSatisfies, R.path\n * @example\n *\n * R.pathSatisfies(y => y > 0, ['x', 'y'], {x: {y: 2}}); //=> true\n * R.pathSatisfies(R.is(Object), [], {x: {y: 2}}); //=> true\n */\n\nvar pathSatisfies =\n/*#__PURE__*/\n_curry3(function pathSatisfies(pred, propPath, obj) {\n return pred(path(propPath, obj));\n});\n\nexport default pathSatisfies;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns a partial copy of an object containing only the keys specified. If\n * the key does not exist, the property is ignored.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [k] -> {k: v} -> {k: v}\n * @param {Array} names an array of String property names to copy onto a new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with only properties from `names` on it.\n * @see R.omit, R.props\n * @example\n *\n * R.pick(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}\n * R.pick(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1}\n */\n\nvar pick =\n/*#__PURE__*/\n_curry2(function pick(names, obj) {\n var result = {};\n var idx = 0;\n\n while (idx < names.length) {\n if (names[idx] in obj) {\n result[names[idx]] = obj[names[idx]];\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nexport default pick;","export default function _pipe(f, g) {\n return function () {\n return g.call(this, f.apply(this, arguments));\n };\n}","import _arity from \"./internal/_arity.js\";\nimport _pipe from \"./internal/_pipe.js\";\nimport reduce from \"./reduce.js\";\nimport tail from \"./tail.js\";\n/**\n * Performs left-to-right function composition. The first argument may have\n * any arity; the remaining arguments must be unary.\n *\n * In some libraries this function is named `sequence`.\n *\n * **Note:** The result of pipe is not automatically curried.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (((a, b, ..., n) -> o), (o -> p), ..., (x -> y), (y -> z)) -> ((a, b, ..., n) -> z)\n * @param {...Function} functions\n * @return {Function}\n * @see R.compose\n * @example\n *\n * const f = R.pipe(Math.pow, R.negate, R.inc);\n *\n * f(3, 4); // -(3^4) + 1\n * @symb R.pipe(f, g, h)(a, b) = h(g(f(a, b)))\n * @symb R.pipe(f, g, h)(a)(b) = h(g(f(a)))(b)\n */\n\nexport default function pipe() {\n if (arguments.length === 0) {\n throw new Error('pipe requires at least one argument');\n }\n\n return _arity(arguments[0].length, reduce(_pipe, arguments[0], tail(arguments)));\n}","import _curry2 from \"./internal/_curry2.js\";\nimport map from \"./map.js\";\nimport prop from \"./prop.js\";\n/**\n * Returns a new list by plucking the same named property off all objects in\n * the list supplied.\n *\n * `pluck` will work on\n * any [functor](https://github.com/fantasyland/fantasy-land#functor) in\n * addition to arrays, as it is equivalent to `R.map(R.prop(k), f)`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Functor f => k -> f {k: v} -> f v\n * @param {Number|String} key The key name to pluck off of each object.\n * @param {Array} f The array or functor to consider.\n * @return {Array} The list of values for the given key.\n * @see R.project, R.prop, R.props\n * @example\n *\n * var getAges = R.pluck('age');\n * getAges([{name: 'fred', age: 29}, {name: 'wilma', age: 27}]); //=> [29, 27]\n *\n * R.pluck(0, [[1, 2], [3, 4]]); //=> [1, 3]\n * R.pluck('val', {a: {val: 3}, b: {val: 5}}); //=> {a: 3, b: 5}\n * @symb R.pluck('x', [{x: 1, y: 2}, {x: 3, y: 4}, {x: 5, y: 6}]) = [1, 3, 5]\n * @symb R.pluck(0, [[1, 2], [3, 4], [5, 6]]) = [1, 3, 5]\n */\n\nvar pluck =\n/*#__PURE__*/\n_curry2(function pluck(p, list) {\n return map(prop(p), list);\n});\n\nexport default pluck;","import _curry2 from \"./internal/_curry2.js\";\nimport _isInteger from \"./internal/_isInteger.js\";\nimport nth from \"./nth.js\";\n/**\n * Returns a function that when supplied an object returns the indicated\n * property of that object, if it exists.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig Idx -> {s: a} -> a | Undefined\n * @param {String|Number} p The property name or array index\n * @param {Object} obj The object to query\n * @return {*} The value at `obj.p`.\n * @see R.path, R.props, R.pluck, R.project, R.nth\n * @example\n *\n * R.prop('x', {x: 100}); //=> 100\n * R.prop('x', {}); //=> undefined\n * R.prop(0, [100]); //=> 100\n * R.compose(R.inc, R.prop('x'))({ x: 3 }) //=> 4\n */\n\nvar prop =\n/*#__PURE__*/\n_curry2(function prop(p, obj) {\n if (obj == null) {\n return;\n }\n\n return _isInteger(p) ? nth(p, obj) : obj[p];\n});\n\nexport default prop;","import _curry3 from \"./internal/_curry3.js\";\nimport prop from \"./prop.js\";\nimport equals from \"./equals.js\";\n/**\n * Returns `true` if the specified object property is equal, in\n * [`R.equals`](#equals) terms, to the given value; `false` otherwise.\n * You can test multiple properties with [`R.whereEq`](#whereEq),\n * and test nested path property with [`R.pathEq`](#pathEq).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig a -> String -> Object -> Boolean\n * @param {*} val The value to compare the property with\n * @param {String} name the specified object property's key\n * @param {*} obj The object to check the property in\n * @return {Boolean} `true` if the value equals the specified object property,\n * `false` otherwise.\n * @see R.whereEq, R.pathEq, R.propSatisfies, R.equals\n * @example\n *\n * const abby = {name: 'Abby', age: 7, hair: 'blond'};\n * const fred = {name: 'Fred', age: 12, hair: 'brown'};\n * const rusty = {name: 'Rusty', age: 10, hair: 'brown'};\n * const alois = {name: 'Alois', age: 15, disposition: 'surly'};\n * const kids = [abby, fred, rusty, alois];\n * const hasBrownHair = R.propEq('brown', 'hair');\n * R.filter(hasBrownHair, kids); //=> [fred, rusty]\n */\n\nvar propEq =\n/*#__PURE__*/\n_curry3(function propEq(val, name, obj) {\n return equals(val, prop(name, obj));\n});\n\nexport default propEq;","import _curry3 from \"./internal/_curry3.js\";\nimport defaultTo from \"./defaultTo.js\";\nimport prop from \"./prop.js\";\n/**\n * Return the specified property of the given non-null object if the property\n * is present and it's value is not `null`, `undefined` or `NaN`.\n *\n * Otherwise the first argument is returned.\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Object\n * @sig a -> String -> Object -> a\n * @param {*} val The default value.\n * @param {String} p The name of the property to return.\n * @param {Object} obj The object to query.\n * @return {*} The value of given property of the supplied object or the default value.\n * @example\n *\n * const alice = {\n * name: 'ALICE',\n * age: 101\n * };\n * const favorite = R.prop('favoriteLibrary');\n * const favoriteWithDefault = R.propOr('Ramda', 'favoriteLibrary');\n *\n * favorite(alice); //=> undefined\n * favoriteWithDefault(alice); //=> 'Ramda'\n */\n\nvar propOr =\n/*#__PURE__*/\n_curry3(function propOr(val, p, obj) {\n return defaultTo(val, prop(p, obj));\n});\n\nexport default propOr;","import _curry3 from \"./internal/_curry3.js\";\nimport prop from \"./prop.js\";\n/**\n * Returns `true` if the specified object property satisfies the given\n * predicate; `false` otherwise. You can test multiple properties with\n * [`R.where`](#where).\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Logic\n * @sig (a -> Boolean) -> String -> {String: a} -> Boolean\n * @param {Function} pred\n * @param {String} name\n * @param {*} obj\n * @return {Boolean}\n * @see R.where, R.propEq, R.propIs\n * @example\n *\n * R.propSatisfies(x => x > 0, 'x', {x: 1, y: 2}); //=> true\n */\n\nvar propSatisfies =\n/*#__PURE__*/\n_curry3(function propSatisfies(pred, name, obj) {\n return pred(prop(name, obj));\n});\n\nexport default propSatisfies;","export default function _isNumber(x) {\n return Object.prototype.toString.call(x) === '[object Number]';\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _isNumber from \"./internal/_isNumber.js\";\n/**\n * Returns a list of numbers from `from` (inclusive) to `to` (exclusive).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> Number -> [Number]\n * @param {Number} from The first number in the list.\n * @param {Number} to One more than the last number in the list.\n * @return {Array} The list of numbers in the set `[a, b)`.\n * @example\n *\n * R.range(1, 5); //=> [1, 2, 3, 4]\n * R.range(50, 53); //=> [50, 51, 52]\n */\n\nvar range =\n/*#__PURE__*/\n_curry2(function range(from, to) {\n if (!(_isNumber(from) && _isNumber(to))) {\n throw new TypeError('Both arguments to range must be numbers');\n }\n\n var result = [];\n var n = from;\n\n while (n < to) {\n result.push(n);\n n += 1;\n }\n\n return result;\n});\n\nexport default range;","import _curry3 from \"./internal/_curry3.js\";\nimport _xReduce from \"./internal/_xReduce.js\";\nimport _xwrap from \"./internal/_xwrap.js\";\n/**\n * Returns a single item by iterating through the list, successively calling\n * the iterator function and passing it an accumulator value and the current\n * value from the array, and then passing the result to the next call.\n *\n * The iterator function receives two values: *(acc, value)*. It may use\n * [`R.reduced`](#reduced) to shortcut the iteration.\n *\n * The arguments' order of [`reduceRight`](#reduceRight)'s iterator function\n * is *(value, acc)*.\n *\n * Note: `R.reduce` does not skip deleted or unassigned indices (sparse\n * arrays), unlike the native `Array.prototype.reduce` method. For more details\n * on this behavior, see:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce#Description\n *\n * Be cautious of mutating and returning the accumulator. If you reuse it across\n * invocations, it will continue to accumulate onto the same value. The general\n * recommendation is to always return a new value. If you can't do so for\n * performance reasons, then be sure to reinitialize the accumulator on each\n * invocation.\n *\n * Dispatches to the `reduce` method of the third argument, if present. When\n * doing so, it is up to the user to handle the [`R.reduced`](#reduced)\n * shortcuting, as this is not implemented by `reduce`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, b) -> a) -> a -> [b] -> a\n * @param {Function} fn The iterator function. Receives two values, the accumulator and the\n * current element from the array.\n * @param {*} acc The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduced, R.addIndex, R.reduceRight\n * @example\n *\n * R.reduce(R.subtract, 0, [1, 2, 3, 4]) // => ((((0 - 1) - 2) - 3) - 4) = -10\n * // - -10\n * // / \\ / \\\n * // - 4 -6 4\n * // / \\ / \\\n * // - 3 ==> -3 3\n * // / \\ / \\\n * // - 2 -1 2\n * // / \\ / \\\n * // 0 1 0 1\n *\n * @symb R.reduce(f, a, [b, c, d]) = f(f(f(a, b), c), d)\n */\n\nvar reduce =\n/*#__PURE__*/\n_curry3(function (xf, acc, list) {\n return _xReduce(typeof xf === 'function' ? _xwrap(xf) : xf, acc, list);\n});\n\nexport default reduce;","import _curry3 from \"./internal/_curry3.js\";\n/**\n * Replace a substring or regex match in a string with a replacement.\n *\n * The first two parameters correspond to the parameters of the\n * `String.prototype.replace()` function, so the second parameter can also be a\n * function.\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category String\n * @sig RegExp|String -> String -> String -> String\n * @param {RegExp|String} pattern A regular expression or a substring to match.\n * @param {String} replacement The string to replace the matches with.\n * @param {String} str The String to do the search and replacement in.\n * @return {String} The result.\n * @example\n *\n * R.replace('foo', 'bar', 'foo foo foo'); //=> 'bar foo foo'\n * R.replace(/foo/, 'bar', 'foo foo foo'); //=> 'bar foo foo'\n *\n * // Use the \"g\" (global) flag to replace all occurrences:\n * R.replace(/foo/g, 'bar', 'foo foo foo'); //=> 'bar bar bar'\n */\n\nvar replace =\n/*#__PURE__*/\n_curry3(function replace(regex, replacement, str) {\n return str.replace(regex, replacement);\n});\n\nexport default replace;","import _curry1 from \"./internal/_curry1.js\";\nimport _isString from \"./internal/_isString.js\";\n/**\n * Returns a new list or string with the elements or characters in reverse\n * order.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {Array|String} list\n * @return {Array|String}\n * @example\n *\n * R.reverse([1, 2, 3]); //=> [3, 2, 1]\n * R.reverse([1, 2]); //=> [2, 1]\n * R.reverse([1]); //=> [1]\n * R.reverse([]); //=> []\n *\n * R.reverse('abc'); //=> 'cba'\n * R.reverse('ab'); //=> 'ba'\n * R.reverse('a'); //=> 'a'\n * R.reverse(''); //=> ''\n */\n\nvar reverse =\n/*#__PURE__*/\n_curry1(function reverse(list) {\n return _isString(list) ? list.split('').reverse().join('') : Array.prototype.slice.call(list, 0).reverse();\n});\n\nexport default reverse;","import _checkForMethod from \"./internal/_checkForMethod.js\";\nimport _curry3 from \"./internal/_curry3.js\";\n/**\n * Returns the elements of the given list or string (or object with a `slice`\n * method) from `fromIndex` (inclusive) to `toIndex` (exclusive).\n *\n * Dispatches to the `slice` method of the third argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.4\n * @category List\n * @sig Number -> Number -> [a] -> [a]\n * @sig Number -> Number -> String -> String\n * @param {Number} fromIndex The start index (inclusive).\n * @param {Number} toIndex The end index (exclusive).\n * @param {*} list\n * @return {*}\n * @example\n *\n * R.slice(1, 3, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(1, Infinity, ['a', 'b', 'c', 'd']); //=> ['b', 'c', 'd']\n * R.slice(0, -1, ['a', 'b', 'c', 'd']); //=> ['a', 'b', 'c']\n * R.slice(-3, -1, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(0, 3, 'ramda'); //=> 'ram'\n */\n\nvar slice =\n/*#__PURE__*/\n_curry3(\n/*#__PURE__*/\n_checkForMethod('slice', function slice(fromIndex, toIndex, list) {\n return Array.prototype.slice.call(list, fromIndex, toIndex);\n}));\n\nexport default slice;","import invoker from \"./invoker.js\";\n/**\n * Splits a string into an array of strings based on the given\n * separator.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category String\n * @sig (String | RegExp) -> String -> [String]\n * @param {String|RegExp} sep The pattern.\n * @param {String} str The string to separate into an array.\n * @return {Array} The array of strings from `str` separated by `sep`.\n * @see R.join\n * @example\n *\n * const pathComponents = R.split('/');\n * R.tail(pathComponents('/usr/local/bin/node')); //=> ['usr', 'local', 'bin', 'node']\n *\n * R.split('.', 'a.b.c.xyz.d'); //=> ['a', 'b', 'c', 'xyz', 'd']\n */\n\nvar split =\n/*#__PURE__*/\ninvoker(1, 'split');\nexport default split;","import _reduced from \"./_reduced.js\";\nimport _xfBase from \"./_xfBase.js\";\n\nvar XTake =\n/*#__PURE__*/\nfunction () {\n function XTake(n, xf) {\n this.xf = xf;\n this.n = n;\n this.i = 0;\n }\n\n XTake.prototype['@@transducer/init'] = _xfBase.init;\n XTake.prototype['@@transducer/result'] = _xfBase.result;\n\n XTake.prototype['@@transducer/step'] = function (result, input) {\n this.i += 1;\n var ret = this.n === 0 ? result : this.xf['@@transducer/step'](result, input);\n return this.n >= 0 && this.i >= this.n ? _reduced(ret) : ret;\n };\n\n return XTake;\n}();\n\nexport default function _xtake(n) {\n return function (xf) {\n return new XTake(n, xf);\n };\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _xtake from \"./internal/_xtake.js\";\nimport slice from \"./slice.js\";\n/**\n * Returns the first `n` elements of the given list, string, or\n * transducer/transformer (or object with a `take` method).\n *\n * Dispatches to the `take` method of the second argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> [a] -> [a]\n * @sig Number -> String -> String\n * @param {Number} n\n * @param {*} list\n * @return {*}\n * @see R.drop\n * @example\n *\n * R.take(1, ['foo', 'bar', 'baz']); //=> ['foo']\n * R.take(2, ['foo', 'bar', 'baz']); //=> ['foo', 'bar']\n * R.take(3, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']\n * R.take(4, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']\n * R.take(3, 'ramda'); //=> 'ram'\n *\n * const personnel = [\n * 'Dave Brubeck',\n * 'Paul Desmond',\n * 'Eugene Wright',\n * 'Joe Morello',\n * 'Gerry Mulligan',\n * 'Bob Bates',\n * 'Joe Dodge',\n * 'Ron Crotty'\n * ];\n *\n * const takeFive = R.take(5);\n * takeFive(personnel);\n * //=> ['Dave Brubeck', 'Paul Desmond', 'Eugene Wright', 'Joe Morello', 'Gerry Mulligan']\n * @symb R.take(-1, [a, b]) = [a, b]\n * @symb R.take(0, [a, b]) = []\n * @symb R.take(1, [a, b]) = [a]\n * @symb R.take(2, [a, b]) = [a, b]\n */\n\nvar take =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['take'], _xtake, function take(n, xs) {\n return slice(0, n < 0 ? Infinity : n, xs);\n}));\n\nexport default take;","import _curry2 from \"./internal/_curry2.js\";\nimport equals from \"./equals.js\";\nimport take from \"./take.js\";\n/**\n * Checks if a list starts with the provided sublist.\n *\n * Similarly, checks if a string starts with the provided substring.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category List\n * @sig [a] -> [a] -> Boolean\n * @sig String -> String -> Boolean\n * @param {*} prefix\n * @param {*} list\n * @return {Boolean}\n * @see R.endsWith\n * @example\n *\n * R.startsWith('a', 'abc') //=> true\n * R.startsWith('b', 'abc') //=> false\n * R.startsWith(['a'], ['a', 'b', 'c']) //=> true\n * R.startsWith(['b'], ['a', 'b', 'c']) //=> false\n */\n\nvar startsWith =\n/*#__PURE__*/\n_curry2(function (prefix, list) {\n return equals(take(prefix.length, list), prefix);\n});\n\nexport default startsWith;","import _checkForMethod from \"./internal/_checkForMethod.js\";\nimport _curry1 from \"./internal/_curry1.js\";\nimport slice from \"./slice.js\";\n/**\n * Returns all but the first element of the given list or string (or object\n * with a `tail` method).\n *\n * Dispatches to the `slice` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.head, R.init, R.last\n * @example\n *\n * R.tail([1, 2, 3]); //=> [2, 3]\n * R.tail([1, 2]); //=> [2]\n * R.tail([1]); //=> []\n * R.tail([]); //=> []\n *\n * R.tail('abc'); //=> 'bc'\n * R.tail('ab'); //=> 'b'\n * R.tail('a'); //=> ''\n * R.tail(''); //=> ''\n */\n\nvar tail =\n/*#__PURE__*/\n_curry1(\n/*#__PURE__*/\n_checkForMethod('tail',\n/*#__PURE__*/\nslice(1, Infinity)));\n\nexport default tail;","import _cloneRegExp from \"./internal/_cloneRegExp.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _isRegExp from \"./internal/_isRegExp.js\";\nimport toString from \"./toString.js\";\n/**\n * Determines whether a given string matches a given regular expression.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category String\n * @sig RegExp -> String -> Boolean\n * @param {RegExp} pattern\n * @param {String} str\n * @return {Boolean}\n * @see R.match\n * @example\n *\n * R.test(/^x/, 'xyz'); //=> true\n * R.test(/^y/, 'xyz'); //=> false\n */\n\nvar test =\n/*#__PURE__*/\n_curry2(function test(pattern, str) {\n if (!_isRegExp(pattern)) {\n throw new TypeError('‘test’ requires a value of type RegExp as its first argument; received ' + toString(pattern));\n }\n\n return _cloneRegExp(pattern).test(str);\n});\n\nexport default test;","export default function _isRegExp(x) {\n return Object.prototype.toString.call(x) === '[object RegExp]';\n}","export default function _quote(s) {\n var escaped = s.replace(/\\\\/g, '\\\\\\\\').replace(/[\\b]/g, '\\\\b') // \\b matches word boundary; [\\b] matches backspace\n .replace(/\\f/g, '\\\\f').replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r').replace(/\\t/g, '\\\\t').replace(/\\v/g, '\\\\v').replace(/\\0/g, '\\\\0');\n return '\"' + escaped.replace(/\"/g, '\\\\\"') + '\"';\n}","/**\n * Polyfill from .\n */\nvar pad = function pad(n) {\n return (n < 10 ? '0' : '') + n;\n};\n\nvar _toISOString = typeof Date.prototype.toISOString === 'function' ? function _toISOString(d) {\n return d.toISOString();\n} : function _toISOString(d) {\n return d.getUTCFullYear() + '-' + pad(d.getUTCMonth() + 1) + '-' + pad(d.getUTCDate()) + 'T' + pad(d.getUTCHours()) + ':' + pad(d.getUTCMinutes()) + ':' + pad(d.getUTCSeconds()) + '.' + (d.getUTCMilliseconds() / 1000).toFixed(3).slice(2, 5) + 'Z';\n};\n\nexport default _toISOString;","import _complement from \"./internal/_complement.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport filter from \"./filter.js\";\n/**\n * The complement of [`filter`](#filter).\n *\n * Acts as a transducer if a transformer is given in list position. Filterable\n * objects include plain objects or any object that has a filter method such\n * as `Array`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Filterable f => (a -> Boolean) -> f a -> f a\n * @param {Function} pred\n * @param {Array} filterable\n * @return {Array}\n * @see R.filter, R.transduce, R.addIndex\n * @example\n *\n * const isOdd = (n) => n % 2 !== 0;\n *\n * R.reject(isOdd, [1, 2, 3, 4]); //=> [2, 4]\n *\n * R.reject(isOdd, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}\n */\n\nvar reject =\n/*#__PURE__*/\n_curry2(function reject(pred, filterable) {\n return filter(_complement(pred), filterable);\n});\n\nexport default reject;","import _includes from \"./_includes.js\";\nimport _map from \"./_map.js\";\nimport _quote from \"./_quote.js\";\nimport _toISOString from \"./_toISOString.js\";\nimport keys from \"../keys.js\";\nimport reject from \"../reject.js\";\nexport default function _toString(x, seen) {\n var recur = function recur(y) {\n var xs = seen.concat([x]);\n return _includes(y, xs) ? '' : _toString(y, xs);\n }; // mapPairs :: (Object, [String]) -> [String]\n\n\n var mapPairs = function (obj, keys) {\n return _map(function (k) {\n return _quote(k) + ': ' + recur(obj[k]);\n }, keys.slice().sort());\n };\n\n switch (Object.prototype.toString.call(x)) {\n case '[object Arguments]':\n return '(function() { return arguments; }(' + _map(recur, x).join(', ') + '))';\n\n case '[object Array]':\n return '[' + _map(recur, x).concat(mapPairs(x, reject(function (k) {\n return /^\\d+$/.test(k);\n }, keys(x)))).join(', ') + ']';\n\n case '[object Boolean]':\n return typeof x === 'object' ? 'new Boolean(' + recur(x.valueOf()) + ')' : x.toString();\n\n case '[object Date]':\n return 'new Date(' + (isNaN(x.valueOf()) ? recur(NaN) : _quote(_toISOString(x))) + ')';\n\n case '[object Map]':\n return 'new Map(' + recur(Array.from(x)) + ')';\n\n case '[object Null]':\n return 'null';\n\n case '[object Number]':\n return typeof x === 'object' ? 'new Number(' + recur(x.valueOf()) + ')' : 1 / x === -Infinity ? '-0' : x.toString(10);\n\n case '[object Set]':\n return 'new Set(' + recur(Array.from(x).sort()) + ')';\n\n case '[object String]':\n return typeof x === 'object' ? 'new String(' + recur(x.valueOf()) + ')' : _quote(x);\n\n case '[object Undefined]':\n return 'undefined';\n\n default:\n if (typeof x.toString === 'function') {\n var repr = x.toString();\n\n if (repr !== '[object Object]') {\n return repr;\n }\n }\n\n return '{' + mapPairs(x, keys(x)).join(', ') + '}';\n }\n}","import _curry1 from \"./internal/_curry1.js\";\nimport _toString from \"./internal/_toString.js\";\n/**\n * Returns the string representation of the given value. `eval`'ing the output\n * should result in a value equivalent to the input value. Many of the built-in\n * `toString` methods do not satisfy this requirement.\n *\n * If the given value is an `[object Object]` with a `toString` method other\n * than `Object.prototype.toString`, this method is invoked with no arguments\n * to produce the return value. This means user-defined constructor functions\n * can provide a suitable `toString` method. For example:\n *\n * function Point(x, y) {\n * this.x = x;\n * this.y = y;\n * }\n *\n * Point.prototype.toString = function() {\n * return 'new Point(' + this.x + ', ' + this.y + ')';\n * };\n *\n * R.toString(new Point(1, 2)); //=> 'new Point(1, 2)'\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category String\n * @sig * -> String\n * @param {*} val\n * @return {String}\n * @example\n *\n * R.toString(42); //=> '42'\n * R.toString('abc'); //=> '\"abc\"'\n * R.toString([1, 2, 3]); //=> '[1, 2, 3]'\n * R.toString({foo: 1, bar: 2, baz: 3}); //=> '{\"bar\": 2, \"baz\": 3, \"foo\": 1}'\n * R.toString(new Date('2001-02-03T04:05:06Z')); //=> 'new Date(\"2001-02-03T04:05:06.000Z\")'\n */\n\nvar toString =\n/*#__PURE__*/\n_curry1(function toString(val) {\n return _toString(val, []);\n});\n\nexport default toString;","import _xReduce from \"./internal/_xReduce.js\";\nimport _xwrap from \"./internal/_xwrap.js\";\nimport curryN from \"./curryN.js\";\n/**\n * Initializes a transducer using supplied iterator function. Returns a single\n * item by iterating through the list, successively calling the transformed\n * iterator function and passing it an accumulator value and the current value\n * from the array, and then passing the result to the next call.\n *\n * The iterator function receives two values: *(acc, value)*. It will be\n * wrapped as a transformer to initialize the transducer. A transformer can be\n * passed directly in place of an iterator function. In both cases, iteration\n * may be stopped early with the [`R.reduced`](#reduced) function.\n *\n * A transducer is a function that accepts a transformer and returns a\n * transformer and can be composed directly.\n *\n * A transformer is an object that provides a 2-arity reducing iterator\n * function, step, 0-arity initial value function, init, and 1-arity result\n * extraction function, result. The step function is used as the iterator\n * function in reduce. The result function is used to convert the final\n * accumulator into the return type and in most cases is\n * [`R.identity`](#identity). The init function can be used to provide an\n * initial accumulator, but is ignored by transduce.\n *\n * The iteration is performed with [`R.reduce`](#reduce) after initializing the transducer.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category List\n * @sig (c -> c) -> ((a, b) -> a) -> a -> [b] -> a\n * @param {Function} xf The transducer function. Receives a transformer and returns a transformer.\n * @param {Function} fn The iterator function. Receives two values, the accumulator and the\n * current element from the array. Wrapped as transformer, if necessary, and used to\n * initialize the transducer\n * @param {*} acc The initial accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduce, R.reduced, R.into\n * @example\n *\n * const numbers = [1, 2, 3, 4];\n * const transducer = R.compose(R.map(R.add(1)), R.take(2));\n * R.transduce(transducer, R.flip(R.append), [], numbers); //=> [2, 3]\n *\n * const isOdd = (x) => x % 2 !== 0;\n * const firstOddTransducer = R.compose(R.filter(isOdd), R.take(1));\n * R.transduce(firstOddTransducer, R.flip(R.append), [], R.range(0, 100)); //=> [1]\n */\n\nvar transduce =\n/*#__PURE__*/\ncurryN(4, function transduce(xf, fn, acc, list) {\n return _xReduce(xf(typeof fn === 'function' ? _xwrap(fn) : fn), acc, list);\n});\nexport default transduce;","import _curry1 from \"./internal/_curry1.js\";\nvar ws = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u2000\\u2001\\u2002\\u2003' + '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028' + '\\u2029\\uFEFF';\nvar zeroWidth = '\\u200b';\nvar hasProtoTrim = typeof String.prototype.trim === 'function';\n/**\n * Removes (strips) whitespace from both ends of the string.\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category String\n * @sig String -> String\n * @param {String} str The string to trim.\n * @return {String} Trimmed version of `str`.\n * @example\n *\n * R.trim(' xyz '); //=> 'xyz'\n * R.map(R.trim, R.split(',', 'x, y, z')); //=> ['x', 'y', 'z']\n */\n\nvar trim = !hasProtoTrim ||\n/*#__PURE__*/\nws.trim() || !\n/*#__PURE__*/\nzeroWidth.trim() ?\n/*#__PURE__*/\n_curry1(function trim(str) {\n var beginRx = new RegExp('^[' + ws + '][' + ws + ']*');\n var endRx = new RegExp('[' + ws + '][' + ws + ']*$');\n return str.replace(beginRx, '').replace(endRx, '');\n}) :\n/*#__PURE__*/\n_curry1(function trim(str) {\n return str.trim();\n});\nexport default trim;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * Gives a single-word string description of the (native) type of a value,\n * returning such answers as 'Object', 'Number', 'Array', or 'Null'. Does not\n * attempt to distinguish user Object types any further, reporting them all as\n * 'Object'.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Type\n * @sig * -> String\n * @param {*} val The value to test\n * @return {String}\n * @example\n *\n * R.type({}); //=> \"Object\"\n * R.type(1); //=> \"Number\"\n * R.type(false); //=> \"Boolean\"\n * R.type('s'); //=> \"String\"\n * R.type(null); //=> \"Null\"\n * R.type([]); //=> \"Array\"\n * R.type(/[A-z]/); //=> \"RegExp\"\n * R.type(() => {}); //=> \"Function\"\n * R.type(async () => {}); //=> \"AsyncFunction\"\n * R.type(undefined); //=> \"Undefined\"\n */\n\nvar type =\n/*#__PURE__*/\n_curry1(function type(val) {\n return val === null ? 'Null' : val === undefined ? 'Undefined' : Object.prototype.toString.call(val).slice(8, -1);\n});\n\nexport default type;","import _curry1 from \"./internal/_curry1.js\";\nimport keys from \"./keys.js\";\n/**\n * Returns a list of all the enumerable own properties of the supplied object.\n * Note that the order of the output array is not guaranteed across different\n * JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> [v]\n * @param {Object} obj The object to extract values from\n * @return {Array} An array of the values of the object's own properties.\n * @see R.valuesIn, R.keys, R.toPairs\n * @example\n *\n * R.values({a: 1, b: 2, c: 3}); //=> [1, 2, 3]\n */\n\nvar values =\n/*#__PURE__*/\n_curry1(function values(obj) {\n var props = keys(obj);\n var len = props.length;\n var vals = [];\n var idx = 0;\n\n while (idx < len) {\n vals[idx] = obj[props[idx]];\n idx += 1;\n }\n\n return vals;\n});\n\nexport default values;","import _curry3 from \"./internal/_curry3.js\";\n/**\n * Tests the final argument by passing it to the given predicate function. If\n * the predicate is satisfied, the function will return the result of calling\n * the `whenTrueFn` function with the same argument. If the predicate is not\n * satisfied, the argument is returned as is.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Logic\n * @sig (a -> Boolean) -> (a -> b) -> a -> a | b\n * @param {Function} pred A predicate function\n * @param {Function} whenTrueFn A function to invoke when the `condition`\n * evaluates to a truthy value.\n * @param {*} x An object to test with the `pred` function and\n * pass to `whenTrueFn` if necessary.\n * @return {*} Either `x` or the result of applying `x` to `whenTrueFn`.\n * @see R.ifElse, R.unless, R.cond\n * @example\n *\n * // truncate :: String -> String\n * const truncate = R.when(\n * R.propSatisfies(R.gt(R.__, 10), 'length'),\n * R.pipe(R.take(10), R.append('…'), R.join(''))\n * );\n * truncate('12345'); //=> '12345'\n * truncate('0123456789ABC'); //=> '0123456789…'\n */\n\nvar when =\n/*#__PURE__*/\n_curry3(function when(pred, whenTrueFn, x) {\n return pred(x) ? whenTrueFn(x) : x;\n});\n\nexport default when;"],"names":["DataView","require","getNative","module","exports","hashClear","hashDelete","hashGet","hashHas","hashSet","Hash","entries","index","length","this","clear","entry","set","prototype","get","has","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","ListCache","Map","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","MapCache","Promise","Set","setCacheAdd","setCacheHas","SetCache","values","__data__","add","push","stackClear","stackDelete","stackGet","stackHas","stackSet","Stack","data","size","Symbol","Uint8Array","WeakMap","array","predicate","resIndex","result","value","baseTimes","isArguments","isArray","isBuffer","isIndex","isTypedArray","hasOwnProperty","Object","inherited","isArr","isArg","isBuff","isType","skipIndexes","String","key","call","offset","eq","arrayPush","object","keysFunc","symbolsFunc","getRawTag","objectToString","symToStringTag","toStringTag","undefined","baseGetTag","isObjectLike","baseIsEqualDeep","baseIsEqual","other","bitmask","customizer","stack","equalArrays","equalByTag","equalObjects","getTag","argsTag","arrayTag","objectTag","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","isFunction","isMasked","isObject","toSource","reIsHostCtor","funcProto","Function","objectProto","funcToString","toString","reIsNative","RegExp","replace","test","isLength","typedArrayTags","isPrototype","nativeKeys","n","iteratee","Array","func","cache","coreJsData","arraySome","cacheHas","isPartial","arrLength","othLength","arrStacked","othStacked","seen","arrValue","othValue","compared","othIndex","mapToArray","setToArray","symbolProto","symbolValueOf","valueOf","tag","byteLength","byteOffset","buffer","name","message","convert","stacked","getAllKeys","objProps","objLength","objStacked","skipCtor","objValue","objCtor","constructor","othCtor","freeGlobal","global","baseGetAllKeys","getSymbols","keys","isKeyable","map","baseIsNative","getValue","nativeObjectToString","isOwn","unmasked","e","arrayFilter","stubArray","propertyIsEnumerable","nativeGetSymbols","getOwnPropertySymbols","symbol","mapTag","promiseTag","setTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","ArrayBuffer","resolve","Ctor","ctorString","nativeCreate","reIsUint","type","maskSrcKey","uid","exec","IE_PROTO","assocIndexOf","splice","pop","getMapData","forEach","overArg","freeExports","nodeType","freeModule","freeProcess","process","nodeUtil","types","binding","transform","arg","freeSelf","self","root","pairs","LARGE_ARRAY_SIZE","baseIsArguments","arguments","stubFalse","Buffer","baseIsTypedArray","baseUnary","nodeIsTypedArray","arrayLikeKeys","baseKeys","isArrayLike","TypeError","args","apply","negate","coerceElementMatchingCallback","element","extend","ArraySlice","elements","toValue","callback","thisArg","flatMap","reduce","a","b","concat","compactMap","results","bind","filter","reject","find","initialValue","includes","some","equals","shift","unshift","refract","isEmpty","first","iterator","KeyValuePair","clone","isNull","isString","isNumber","isBoolean","JSONSerialiser","Namespace","options","elementMap","elementDetection","Element","noDefault","useDefault","_attributeElementKeys","_attributeElementArrayKeys","use","plugin","namespace","base","load","register","NullElement","StringElement","NumberElement","BooleanElement","ArrayElement","ObjectElement","MemberElement","RefElement","LinkElement","detect","ElementClass","_elements","unregister","givenPrepend","toElement","i","getElementClass","fromRefract","doc","serialiser","deserialise","toRefract","serialise","pascal","toUpperCase","substr","ObjectSlice","member","content","meta","attributes","super","relation","href","path","newValue","primitive","indexOrKey","item","getIndex","remove","removed","startIndex","memo","findElements","condition","givenOptions","recursive","keyOrIndex","findByElement","findByClass","className","classes","getById","id","contains","empty","second","last","isEqual","freeze","isFrozen","_meta","parent","_attributes","children","copy","toRef","Error","ref","findRecursive","_len","elementNames","_key","elementName","append","checkElement","items","parentElements","parents","namesIndex","indexOf","getMetaProperty","hasKey","setMetaProperty","_storedElement","_content","title","description","links","recursiveChildren","child","el","getMember","getKey","keyOrObject","objectKey","variable","payload","serialiseObject","isEnum","enumSerialiseAttributes","enumSerialiseContent","serialiseContent","shouldSerialiseContent","refSerialiseContent","sourceMapSerialiseContent","dataStructureSerialiseContent","enumerations","defaultValue","samples","sample","enumeration","Number","Boolean","Null","deserialiseObject","deserialiseContent","existingSamples","existingSample","enumElement","defaultElement","metadata","pair","shouldRefract","convertKeyToRefract","serialiseEnum","subItem","subSubItem","obj","keyValue","from","to","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","setTimeout","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","len","run","marker","runClearTimeout","Item","noop","nextTick","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","cwd","chdir","dir","umask","curryN","all","flip","_curry1","pred","sort","_curry2","comparator","list","slice","_reduced","complement","isNil","both","isNotEmpty","_toConsumableArray","arr","_arrayLikeToArray","_arrayWithoutHoles","iter","_iterableToArray","o","minLen","_unsupportedIterableToArray","_nonIterableSpread","arr2","byArity","getMaxArity","pipe","head","prop","iteratorFn","curry","accumulator","fn","isNotNil","reduced","ifElse","isNonEmptyArray","functions","arity","stubUndefined","when","isNotArray","of","_includes","_typeof","val","mpath","method","context","init","isNotFunction","isEmptyArray","boundMethod","identical","isFinite","isFinitePonyfill","ponyfill","preds","max","pluck","idx","anyPass","isGeneratorFunction","isAsyncFunction","after","fns","_map","_identity","x","converge","Math","floor","identity","isIntegerPonyfill","isInteger","f","g","_isFunction","lift","or","isNotNull","either","isOfTypeObject","isObj","allPass","isNotObj","isUndefined","isObjectConstructor","hasObjectConstructor","pathSatisfies","isObjLike","proto","getPrototypeOf","always","_isFinite","gt","count","validCount","isNegative","RangeError","isNotFinite","maxCount","log","substring","repeatStrPonyfill","repeatStrInvoker","invoker","repeat","checkValue","valueName","searchValue","replaceValue","str","checkArguments","checkSearchValue","regexp","isRegExp","escapeRegExp","replaceAllPonyfill","replaceAllInvoker","replaceAll","dropLastWhile","xs","XDropLastWhile","xf","retained","_xfBase","input","retain","flush","_xReduce","_xdropLastWhile","_dispatchable","_dropLastWhile","chars","split","included","join","XDropWhile","_xdropWhile","Infinity","dropWhile","trimEndPonyfill","trimEndInvoker","trimEnd","trimStartPonyfill","trimStartInvoker","trimStart","src_exports","__export","DEFAULT_OPTIONS","DEFAULT_UUID_LENGTH","default","ShortUniqueId","dictionary","shuffle","debug","counter","_ShortUniqueId","_this","argOptions","__publicField","digits","_digit_first_ascii","_digit_last_ascii","lowerCase","_alpha_lower_first_ascii","_alpha_lower_last_ascii","upperCase","_alpha_upper_first_ascii","_alpha_upper_last_ascii","decDigits","alphaDigits","_hex_last_ascii","_number_dict_ranges","_alpha_dict_ranges","_alpha_lower_dict_ranges","_alpha_upper_dict_ranges","_alphanum_dict_ranges","_alphanum_lower_dict_ranges","_alphanum_upper_dict_ranges","_hex_dict_ranges","finalArgs","console","finalDict","dictIndex","rangesName","ranges","_dict_ranges","rangeType","rangeTypeKey","dictRange","lowerBound","upperBound","fromCharCode","PROBABILITY","random","dict","dictLength","setCounter","sequentialUUID","counterDiv","counterRem","trunc","uuidLength","randomUUID","randomPartIdx","j","parseInt","toFixed","format","date","formattedUUID","fnMap","stamp","m","padStart","parseFloat","pow","rounds","availableUUIDs","sqrt","PI","approxMaxBeforeCollision","score","finalLength","hexStamp","Date","idLength","rndIdx","round","suid","len2","_m","p1","p2","__spreadValues","setDictionary","seq","rnd","fmt","collisionProbability","uniqueness","getVersion","parseStamp","u","c","s","y","l","d","O","h","P","A","v","_","w","D","S","r","getOwnPropertyNames","t","defineProperty","getOwnPropertyDescriptor","C","N","z","__proto__","E","p","I","R","defineProperties","instance","V","props","statics","conf","composables","create","stampit","copyProps","dest","src","exclude","getOwnPropertyDescriptors","protoChain","currentChain","hardMixProtos","ingredients","_a","objs","commonProto","protoChains","every","protos","potentialCommonProto","nearestCommonProto","mixedProto","visitedProtos","newProto","unique","getIngredientWithProp","ingredient","protoDepth","protosAreLeftToSearch","searchTarget","proxyMix","Proxy","setPrototypeOf","ingredientWithProp","deleteProperty","ownKeys","prev","curr","softMixProtos","settings","initFunction","staticsStrategy","prototypeStrategy","decoratorInheritance","mixins","getMixinsForClass","clazz","registerMixins","mixedClass","constituents","mergeObjectsOfDecorators","o1","o2","_b","allKeys","mergedObject","mergePropertyAndMethodDecorators","d1","d2","_c","_d","property","mergeDecorators","_e","_f","class","static","decorators","deepDecoratorSearch","decoratorsForClassChain","allClasses","_len2","_key2","frontier","newClasses","newClass","delete","findAllConstituentClasses","directDecoratorSearch","_len3","_key3","classDecorators","getDecoratorsForClass","decoratorsForClass","Mixin","_len5","constructors","_key5","prototypes","initFunctionName","initFunctions","combinedInitFunction","_len6","_key6","extraProto","MixedClass","_len7","_key7","DecoratedMixedClass","decorator","applyPropAndMethodDecorators","propAndMethodDecorators","target","propDecorators","methodDecorators","Module","TreeSitter","window","currentScript","document","Parser","initialize","assign","importScripts","node","__dirname","normalize","readFileSync","k","exit","inspect","read","readbuffer","scriptArgs","quit","print","warn","error","printErr","location","lastIndexOf","XMLHttpRequest","open","send","responseText","responseType","response","onload","status","onerror","thisProgram","M","K","grow","WebAssembly","parameters","Instance","dynamicLibraries","wasmBinary","noExitRuntime","charAt","L","W","ue","ae","abs","min","ceil","Z","oe","q","T","F","TextDecoder","$","subarray","decode","U","charCodeAt","G","ze","H","HEAP8","Int8Array","HEAP16","Int16Array","HEAP32","Int32Array","HEAPU8","HEAPU16","Uint16Array","HEAPU32","Uint32Array","HEAPF32","Float32Array","HEAPF64","Float64Array","B","INITIAL_MEMORY","wasmMemory","Memory","initial","maximum","Table","X","Q","J","Y","ee","te","re","ne","monitorRunDependencies","se","clearInterval","onAbort","RuntimeError","preloadedImages","preloadedAudios","preloadedWasm","le","startsWith","de","ce","locateFile","me","fe","Global","mutable","pe","he","customSections","memorySize","memoryAlign","tableSize","tableAlign","neededDynlibs","ge","we","ye","Me","Fe","be","nextHandle","loadedLibs","loadedLibNames","Ee","Ie","Ae","Se","Ue","ve","De","Ge","xe","$e","__heap_base","wasi_snapshot_preview1","allowUndefined","Pe","__wasm_call_ctors","__post_instantiate","loadAsync","instantiate","then","Ne","refcount","asm","__main__","nodelete","fs","readFile","encoding","fetch","credentials","ok","arrayBuffer","sig","___heap_base","ke","Ce","qe","_abort","hrtime","dateNow","performance","now","Te","je","Le","We","Ve","Oe","Ze","__indirect_function_table","__memory_base","__stack_pointer","__table_base","abort","clock_gettime","emscripten_memcpy_big","copyWithin","emscripten_resize_heap","memory","setTempRet0","tree_sitter_log_callback","ct","tree_sitter_parse_callback","dt","row","column","catch","instantiateWasm","instantiateStreaming","___wasm_call_ctors","_malloc","malloc","_calloc","calloc","_realloc","realloc","_free","free","_ts_language_symbol_count","ts_language_symbol_count","_ts_language_version","ts_language_version","_ts_language_field_count","ts_language_field_count","_ts_language_symbol_name","ts_language_symbol_name","_ts_language_symbol_for_name","ts_language_symbol_for_name","_ts_language_symbol_type","ts_language_symbol_type","_ts_language_field_name_for_id","ts_language_field_name_for_id","_memcpy","memcpy","_ts_parser_delete","ts_parser_delete","_ts_parser_reset","ts_parser_reset","_ts_parser_set_language","ts_parser_set_language","_ts_parser_timeout_micros","ts_parser_timeout_micros","_ts_parser_set_timeout_micros","ts_parser_set_timeout_micros","_memmove","memmove","_memcmp","memcmp","_ts_query_new","ts_query_new","_ts_query_delete","ts_query_delete","_iswspace","iswspace","_iswalnum","iswalnum","_ts_query_pattern_count","ts_query_pattern_count","_ts_query_capture_count","ts_query_capture_count","_ts_query_string_count","ts_query_string_count","_ts_query_capture_name_for_id","ts_query_capture_name_for_id","_ts_query_string_value_for_id","ts_query_string_value_for_id","_ts_query_predicates_for_pattern","ts_query_predicates_for_pattern","_ts_tree_copy","ts_tree_copy","_ts_tree_delete","ts_tree_delete","_ts_init","ts_init","_ts_parser_new_wasm","ts_parser_new_wasm","_ts_parser_enable_logger_wasm","ts_parser_enable_logger_wasm","_ts_parser_parse_wasm","ts_parser_parse_wasm","_ts_language_type_is_named_wasm","ts_language_type_is_named_wasm","_ts_language_type_is_visible_wasm","ts_language_type_is_visible_wasm","_ts_tree_root_node_wasm","ts_tree_root_node_wasm","_ts_tree_edit_wasm","ts_tree_edit_wasm","_ts_tree_get_changed_ranges_wasm","ts_tree_get_changed_ranges_wasm","_ts_tree_cursor_new_wasm","ts_tree_cursor_new_wasm","_ts_tree_cursor_delete_wasm","ts_tree_cursor_delete_wasm","_ts_tree_cursor_reset_wasm","ts_tree_cursor_reset_wasm","_ts_tree_cursor_goto_first_child_wasm","ts_tree_cursor_goto_first_child_wasm","_ts_tree_cursor_goto_next_sibling_wasm","ts_tree_cursor_goto_next_sibling_wasm","_ts_tree_cursor_goto_parent_wasm","ts_tree_cursor_goto_parent_wasm","_ts_tree_cursor_current_node_type_id_wasm","ts_tree_cursor_current_node_type_id_wasm","_ts_tree_cursor_current_node_is_named_wasm","ts_tree_cursor_current_node_is_named_wasm","_ts_tree_cursor_current_node_is_missing_wasm","ts_tree_cursor_current_node_is_missing_wasm","_ts_tree_cursor_current_node_id_wasm","ts_tree_cursor_current_node_id_wasm","_ts_tree_cursor_start_position_wasm","ts_tree_cursor_start_position_wasm","_ts_tree_cursor_end_position_wasm","ts_tree_cursor_end_position_wasm","_ts_tree_cursor_start_index_wasm","ts_tree_cursor_start_index_wasm","_ts_tree_cursor_end_index_wasm","ts_tree_cursor_end_index_wasm","_ts_tree_cursor_current_field_id_wasm","ts_tree_cursor_current_field_id_wasm","_ts_tree_cursor_current_node_wasm","ts_tree_cursor_current_node_wasm","_ts_node_symbol_wasm","ts_node_symbol_wasm","_ts_node_child_count_wasm","ts_node_child_count_wasm","_ts_node_named_child_count_wasm","ts_node_named_child_count_wasm","_ts_node_child_wasm","ts_node_child_wasm","_ts_node_named_child_wasm","ts_node_named_child_wasm","_ts_node_child_by_field_id_wasm","ts_node_child_by_field_id_wasm","_ts_node_next_sibling_wasm","ts_node_next_sibling_wasm","_ts_node_prev_sibling_wasm","ts_node_prev_sibling_wasm","_ts_node_next_named_sibling_wasm","ts_node_next_named_sibling_wasm","_ts_node_prev_named_sibling_wasm","ts_node_prev_named_sibling_wasm","_ts_node_parent_wasm","ts_node_parent_wasm","_ts_node_descendant_for_index_wasm","ts_node_descendant_for_index_wasm","_ts_node_named_descendant_for_index_wasm","ts_node_named_descendant_for_index_wasm","_ts_node_descendant_for_position_wasm","ts_node_descendant_for_position_wasm","_ts_node_named_descendant_for_position_wasm","ts_node_named_descendant_for_position_wasm","_ts_node_start_point_wasm","ts_node_start_point_wasm","_ts_node_end_point_wasm","ts_node_end_point_wasm","_ts_node_start_index_wasm","ts_node_start_index_wasm","_ts_node_end_index_wasm","ts_node_end_index_wasm","_ts_node_to_string_wasm","ts_node_to_string_wasm","_ts_node_children_wasm","ts_node_children_wasm","_ts_node_named_children_wasm","ts_node_named_children_wasm","_ts_node_descendants_of_type_wasm","ts_node_descendants_of_type_wasm","_ts_node_is_named_wasm","ts_node_is_named_wasm","_ts_node_has_changes_wasm","ts_node_has_changes_wasm","_ts_node_has_error_wasm","ts_node_has_error_wasm","_ts_node_is_missing_wasm","ts_node_is_missing_wasm","_ts_query_matches_wasm","ts_query_matches_wasm","_ts_query_captures_wasm","ts_query_captures_wasm","_iswdigit","iswdigit","_iswalpha","iswalpha","_iswlower","iswlower","_towupper","towupper","___errno_location","__errno_location","_memchr","memchr","_strlen","strlen","stackSave","stackRestore","stackAlloc","_setThrew","setThrew","He","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm","__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm","_ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc","__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev","_ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev","__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw","_ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw","__Znwm","_Znwm","__ZdlPv","_ZdlPv","__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv","_ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv","_orig$ts_parser_timeout_micros","orig$ts_parser_timeout_micros","_orig$ts_parser_set_timeout_micros","orig$ts_parser_set_timeout_micros","allocate","Ke","Be","calledRun","onRuntimeInitialized","Xe","_main","postRun","preRun","setStatus","onExit","preInit","noInitialRun","Qe","Je","Ye","et","tt","rt","nt","st","at","ut","it","lt","ParserImpl","setLanguage","Language","language","getLanguage","parse","logCallback","includedRanges","Et","Tree","reset","setTimeoutMicros","getTimeoutMicros","setLogger","getLogger","pt","textCallback","edit","bt","startPosition","oldEndPosition","newEndPosition","oldEndIndex","newEndIndex","rootNode","wt","walk","getChangedRanges","It","Node","tree","typeId","endPosition","vt","endIndex","text","mt","isNamed","hasError","hasChanges","isMissing","namedChild","childForFieldId","childForFieldName","fields","childCount","namedChildCount","firstChild","firstNamedChild","lastChild","lastNamedChild","_children","namedChildren","_namedChildren","descendantsOfType","nextSibling","previousSibling","nextNamedSibling","previousNamedSibling","descendantForIndex","namedDescendantForIndex","descendantForPosition","ht","namedDescendantForPosition","TreeCursor","Mt","yt","nodeTypeId","nodeId","nodeIsNamed","nodeIsMissing","nodeText","currentNode","currentFieldId","currentFieldName","gotoFirstChild","gotoNextSibling","gotoParent","fieldCount","fieldIdForName","fieldNameForId","idForNodeType","nodeTypeCount","nodeTypeForId","nodeTypeIsNamed","nodeTypeIsVisible","query","match","SyntaxError","operator","operands","Query","loadSideModule","JSON","stringify","captureNames","textPredicates","predicates","setProperties","assertedProperties","refutedProperties","exceededMatchLimit","matches","matchLimit","ft","pattern","captures","predicatesForPattern","didExceedMatchLimit","enumerable","writable","ErrorType","errorMessages","MalformedUnicode","MalformedHexadecimal","CodePointLimit","OctalDeprecation","EndOfString","errors_1","validateAndParseHex","hex","errorName","enforcedLength","parsedHex","NaN","parseHexToInt","isNaN","parseUnicodeCode","code","surrogateCode","parsedCode","parsedSurrogateCode","singleCharacterEscapes","escapeMatch","unraw","raw","allowOctals","backslash","codePoint","unicodeWithSurrogate","surrogate","unicode","octal","singleCharacter","parseHexadecimalCode","fromCodePoint","err","parseUnicodeCodePointCode","parseOctalCode","AggregateError","isCallable","tryToString","$TypeError","argument","isPossiblePrototype","$String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","fromIndex","uncurryThis","stringSlice","TO_STRING_TAG_SUPPORT","classofRaw","TO_STRING_TAG","wellKnownSymbol","$Object","CORRECT_ARGUMENTS","tryGet","callee","hasOwn","getOwnPropertyDescriptorModule","definePropertyModule","source","exceptions","fails","done","DESCRIPTORS","createPropertyDescriptor","bitmap","configurable","createNonEnumerableProperty","EXISTS","createElement","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","navigator","userAgent","Deno","v8","$Error","TEST","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","dropEntries","prepareStackTrace","clearErrorStack","ERROR_STACK_INSTALLABLE","captureStackTrace","isForced","wrapConstructor","NativeConstructor","Wrapper","FORCED","USE_NATIVE","VIRTUAL_PROTOTYPE","sourceProperty","targetProperty","nativeProperty","resultProperty","descriptor","TARGET","GLOBAL","STATIC","stat","PROTO","nativeSource","targetPrototype","forced","dontCallGetSet","wrap","sham","real","NATIVE_BIND","FunctionPrototype","Reflect","aCallable","that","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","aFunction","classof","getMethod","isNullOrUndefined","Iterators","ITERATOR","anObject","getIteratorMethod","usingIterator","iteratorMethod","check","globalThis","toObject","getBuiltIn","dummy","NewTarget","NewTargetPrototype","cause","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","state","store","facade","STATE","enforce","getterFor","TYPE","ArrayPrototype","documentAll","replacement","feature","detection","POLYFILL","NATIVE","string","toLowerCase","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","isArrayIteratorMethod","getIterator","iteratorClose","Result","stopped","ResultPrototype","iterable","unboundFunction","iterFn","next","step","AS_ENTRIES","IS_RECORD","IS_ITERATOR","INTERRUPTED","stop","callFn","kind","innerResult","innerError","IteratorPrototype","setToStringTag","returnThis","IteratorConstructor","NAME","ENUMERABLE_NEXT","IS_PURE","FunctionName","createIteratorConstructor","defineBuiltIn","IteratorsCore","PROPER_FUNCTION_NAME","CONFIGURABLE_FUNCTION_NAME","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","ENTRIES","Iterable","DEFAULT","IS_SET","CurrentIteratorPrototype","methods","KEY","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","PrototypeOfArrayIteratorPrototype","arrayIterator","toLength","$default","activeXDocument","definePropertiesModule","enumBugKeys","html","documentCreateElement","PROTOTYPE","SCRIPT","EmptyConstructor","scriptTag","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","domain","iframeDocument","iframe","JS","style","display","appendChild","contentWindow","NullProtoObjectViaIFrame","Properties","V8_PROTOTYPE_DEFINE_BUG","objectKeys","IE8_DOM_DEFINE","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","internalObjectKeys","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","names","$propertyIsEnumerable","NASHORN_BUG","uncurryThisAccessor","aPossiblePrototype","setter","CORRECT_SETTER","pref","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","Target","Source","TAG","SET_METHOD","defineGlobalProperty","SHARED","mode","copyright","license","toIntegerOrInfinity","requireObjectCoercible","CONVERT_TO_STRING","pos","position","codeAt","V8_VERSION","integer","IndexedObject","number","isSymbol","ordinaryToPrimitive","TO_PRIMITIVE","exoticToPrim","toPrimitive","postfix","NATIVE_SYMBOL","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","copyConstructorProperties","proxyAccessor","inheritIfRequired","normalizeStringArgument","installErrorCause","installErrorStack","FULL_NAME","wrapper","IS_AGGREGATE_ERROR","STACK_TRACE_LIMIT","OPTIONS_POSITION","ERROR_NAME","OriginalError","OriginalErrorPrototype","BaseError","WrappedError","wrapErrorConstructorWithCause","AGGREGATE_ERROR","$AggregateError","errors","iterate","isInstance","AggregateErrorPrototype","errorsArray","addToUnscopables","InternalStateModule","defineIterator","createIterResultObject","ARRAY_ITERATOR","setInternalState","getInternalState","iterated","Arguments","WEB_ASSEMBLY","exportGlobalErrorCauseWrapper","exportWebAssemblyErrorCauseWrapper","STRING_ITERATOR","point","DOMIterables","COLLECTION_NAME","_defineProperty","kindOf","thing","kindOfTest","typeOfTest","isArrayBuffer","isPlainObject","isDate","isFile","isBlob","isFileList","isURLSearchParams","allOwnKeys","findKey","_global","isContextDefined","TypedArray","isHTMLForm","_ref","reduceDescriptors","reducer","descriptors","reducedDescriptors","ret","ALPHA","DIGIT","ALPHABET","ALPHA_DIGIT","isAsyncFn","isFormData","FormData","isArrayBufferView","isView","isStream","merge","caseless","assignValue","targetKey","trim","stripBOM","inherits","superConstructor","toFlatObject","sourceObj","destObj","propFilter","merged","endsWith","searchString","lastIndex","toArray","forEachEntry","matchAll","regExp","hasOwnProp","freezeMethods","toObjectSet","arrayOrString","delimiter","define","toCamelCase","toFiniteNumber","generateString","alphabet","isSpecCompliantForm","toJSONObject","visit","reducedValue","isThenable","AxiosError","config","request","utils","toJSON","fileName","lineNumber","columnNumber","customProps","axiosError","isVisitable","removeBrackets","renderKey","dots","token","formData","metaTokens","indexes","option","visitor","defaultVisitor","useBlob","Blob","convertValue","toISOString","isFlatArray","exposedHelpers","build","encode","charMap","encodeURIComponent","AxiosURLSearchParams","params","_pairs","toFormData","encoder","_encode","buildURL","url","serializeFn","serialize","serializedParams","hashmarkIndex","handlers","fulfilled","rejected","synchronous","runWhen","eject","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","isBrowser","URLSearchParams","protocols","hasBrowserEnv","hasStandardBrowserEnv","product","hasStandardBrowserWebWorkerEnv","WorkerGlobalScope","platform","buildPath","isNumericKey","isLast","arrayToObject","parsePropPath","defaults","transitional","transitionalDefaults","adapter","transformRequest","headers","contentType","getContentType","hasJSONContentType","isObjectPayload","formDataToJSON","setContentType","helpers","isNode","toURLEncodedForm","formSerializer","_FormData","rawValue","parser","stringifySafely","transformResponse","JSONRequested","strictJSONParsing","ERR_BAD_RESPONSE","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","common","ignoreDuplicateOf","$internals","normalizeHeader","header","normalizeValue","matchHeaderValue","isHeaderNameFilter","AxiosHeaders","valueOrRewrite","rewrite","setHeader","_value","_header","_rewrite","lHeader","setHeaders","rawHeaders","parsed","line","parseHeaders","tokens","tokensRE","parseTokens","matcher","deleted","deleteHeader","normalized","char","formatHeader","targets","asStrings","computed","accessor","accessors","defineAccessor","accessorName","methodName","arg1","arg2","arg3","buildAccessors","_ref2","mapped","headerValue","transformData","isCancel","__CANCEL__","CanceledError","ERR_CANCELED","expires","secure","cookie","toGMTString","decodeURIComponent","buildFullPath","baseURL","requestedURL","relativeURL","combineURLs","msie","urlParsingNode","originURL","resolveURL","setAttribute","protocol","host","search","hash","hostname","port","pathname","requestURL","samplesCount","bytes","timestamps","firstSampleTS","tail","chunkLength","startedAt","bytesCount","passed","progressEventReducer","listener","isDownloadStream","bytesNotified","_speedometer","speedometer","loaded","total","lengthComputable","progressBytes","rate","progress","estimated","event","knownAdapters","http","xhr","requestData","requestHeaders","onCanceled","withXSRFToken","cancelToken","unsubscribe","signal","removeEventListener","auth","username","password","unescape","btoa","fullPath","onloadend","responseHeaders","getAllResponseHeaders","ERR_BAD_REQUEST","settle","statusText","paramsSerializer","onreadystatechange","readyState","responseURL","onabort","ECONNABORTED","ERR_NETWORK","ontimeout","timeoutErrorMessage","ETIMEDOUT","isURLSameOrigin","xsrfValue","cookies","setRequestHeader","withCredentials","onDownloadProgress","addEventListener","onUploadProgress","upload","cancel","subscribe","aborted","parseProtocol","renderReason","reason","isResolvedHandle","adapters","nameOrAdapter","rejectedReasons","reasons","throwIfCancellationRequested","throwIfRequested","dispatchRequest","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","timeoutMessage","decompress","beforeRedirect","transport","httpAgent","httpsAgent","socketPath","responseEncoding","configValue","VERSION","validators","deprecatedWarnings","validator","formatMessage","opt","desc","opts","ERR_DEPRECATED","assertOptions","schema","allowUnknown","ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","Axios","instanceConfig","interceptors","InterceptorManager","configOrUrl","_request","boolean","function","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","responseInterceptorChain","promise","chain","newConfig","onFulfilled","onRejected","getUri","generateHTTPMethod","isForm","CancelToken","executor","resolvePromise","_listeners","onfulfilled","_resolve","HttpStatusCode","Continue","SwitchingProtocols","Processing","EarlyHints","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","axios","createInstance","defaultConfig","Cancel","promises","spread","isAxiosError","formToJSON","getAdapter","proxyMarker","createEndpoint","releaseProxy","finalizer","throwMarker","transferHandlers","canHandle","port1","port2","MessageChannel","expose","deserialize","start","createProxy","serialized","isError","ep","allowedOrigins","ev","origin","allowedOrigin","isAllowedOrigin","argumentList","fromWireValue","returnValue","proxy","transfers","transferCache","transfer","wireValue","transferables","toWireValue","postMessage","closeEndPoint","endpoint","isMessagePort","throwIfProxyReleased","isReleased","releaseEndpoint","requestResponseMessage","proxyCounter","proxyFinalizers","FinalizationRegistry","newCount","isProxyReleased","_target","unregisterProxy","_thisArg","rawArgumentList","processArguments","construct","registerProxy","processed","handler","serializedValue","msg","fill","MAX_SAFE_INTEGER","XAll","_xall","_curry3","assocPath","nextObj","_has","_isInteger","_isArray","_assoc","thisObj","_arity","and","_clone","deep","_ObjectMap","param","_isPrimitive","copiedValue","cachedCopy","_cloneRegExp","hashedKey","bucket","not","compose","reverse","_isString","_curryN","received","combined","argsIdx","left","combinedIdx","hasPlaceholder","_isPlaceholder","hasOrAdd","shouldAdd","prevSize","_items","_nativeSet","bIdx","_Set","out","firstLen","secondLen","toFilterOut","dissocPath","_dissoc","_shallowCloneObject","assoc","_arrayFromIterator","_includesWith","_uniqContentEquals","aIterator","bIterator","stackA","stackB","_equals","aItem","_objectIs","typeA","_functionName","ignoreCase","multiline","sticky","keysA","extendedStackA","extendedStackB","XFilter","_xfilter","filterable","_isObject","_arrayReduce","acc","_filter","hasPath","_path","nth","unaryIdentical","onTrue","onFalse","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","_checkForMethod","methodname","flags","dotAll","_complement","symIterator","_createReduce","arrayReduce","methodReduce","iterableReduce","_isArrayLike","f1","f2","f3","methodNames","transducerCreator","_isTransformer","transducer","inf","_indexOf","functor","is","_xArrayReduce","_xIterableReduce","_xMethodReduce","XWrap","_xwrap","_isArguments","_isTypedArray","hasEnumBug","nonEnumerableProps","hasArgsEnumBug","nIdx","ks","checkArgsLength","getter","toFunctorFn","focus","_iterableReduce","_methodReduce","applyF","applyX","ap","_reduce","set1","set2","len1","_concat","lifted","liftN","XMap","_xmap","safeMax","maxByValue","maxByType","stringA","maxByStringValue","mergeDeepWithKey","lObj","rObj","mergeWithKey","lVal","rVal","output","nextKey","_objectAssign","Identity","lens","pathsArray","paths","pathAr","defaultTo","propPath","_pipe","_isNumber","regex","toIndex","XTake","_xtake","prefix","take","_quote","pad","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","_toString","recur","mapPairs","_toISOString","repr","ws","beginRx","endRx","vals","whenTrueFn"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/838.e2972e97.chunk.js","mappings":";mIAAA,IAIIA,EAJYC,EAAQ,MAITC,CAHJD,EAAQ,OAGY,YAE/BE,EAAOC,QAAUJ,mBCNjB,IAAIK,EAAYJ,EAAQ,OACpBK,EAAaL,EAAQ,OACrBM,EAAUN,EAAQ,OAClBO,EAAUP,EAAQ,OAClBQ,EAAUR,EAAQ,OAStB,SAASS,EAAKC,GACZ,IAAIC,GA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Om5D,CACT,mDCEA,SAJA1L,WAAAA,IAAQ,SAAcnxD,EAAM88D,EAAY54D,GACtC,OAAOlE,EAAKkE,GAAK44D,EAAW54D,GAAKA,CACnC","sources":["../../../node_modules/lodash/_DataView.js","../../../node_modules/lodash/_Hash.js","../../../node_modules/lodash/_ListCache.js","../../../node_modules/lodash/_Map.js","../../../node_modules/lodash/_MapCache.js","../../../node_modules/lodash/_Promise.js","../../../node_modules/lodash/_Set.js","../../../node_modules/lodash/_SetCache.js","../../../node_modules/lodash/_Stack.js","../../../node_modules/lodash/_Symbol.js","../../../node_modules/lodash/_Uint8Array.js","../../../node_modules/lodash/_WeakMap.js","../../../node_modules/lodash/_arrayFilter.js","../../../node_modules/lodash/_arrayLikeKeys.js","../../../node_modules/lodash/_arrayPush.js","../../../node_modules/lodash/_arraySome.js","../../../node_modules/lodash/_assocIndexOf.js","../../../node_modules/lodash/_baseGetAllKeys.js","../../../node_modules/lodash/_baseGetTag.js","../../../node_modules/lodash/_baseIsArguments.js","../../../node_modules/lodash/_baseIsEqual.js","../../../node_modules/lodash/_baseIsEqualDeep.js","../../../node_modules/lodash/_baseIsNative.js","../../../node_modules/lodash/_baseIsTypedArray.js","../../../node_modules/lodash/_baseKeys.js","../../../node_modules/lodash/_baseTimes.js","../../../node_modules/lodash/_baseUnary.js","../../../node_modules/lodash/_cacheHas.js","../../../node_modules/lodash/_coreJsData.js","../../../node_modules/lodash/_equalArrays.js","../../../node_modules/lodash/_equalByTag.js","../../../node_modules/lodash/_equalObjects.js","../../../node_modules/lodash/_freeGlobal.js","../../../node_modules/lodash/_getAllKeys.js","../../../node_modules/lodash/_getMapData.js","../../../node_modules/lodash/_getNative.js","../../../node_modules/lodash/_getRawTag.js","../../../node_modules/lodash/_getSymbols.js","../../../node_modules/lodash/_getTag.js","../../../node_modules/lodash/_getValue.js","../../../node_modules/lodash/_hashClear.js","../../../node_modules/lodash/_hashDelete.js","../../../node_modules/lodash/_hashGet.js","../../../node_modules/lodash/_hashHas.js","../../../node_modules/lodash/_hashSet.js","../../../node_modules/lodash/_isIndex.js","../../../node_modules/lodash/_isKeyable.js","../../../node_modules/lodash/_isMasked.js","../../../node_modules/lodash/_isPrototype.js","../../../node_modules/lodash/_listCacheClear.js","../../../node_modules/lodash/_listCacheDelete.js","../../../node_modules/lodash/_listCacheGet.js","../../../node_modules/lodash/_listCacheHas.js","../../../node_modules/lodash/_listCacheSet.js","../../../node_modules/lodash/_mapCacheClear.js","../../../node_modules/lodash/_mapCacheDelete.js","../../../node_modules/lodash/_mapCacheGet.js","../../../node_modules/lodash/_mapCacheHas.js","../../../node_modules/lodash/_mapCacheSet.js","../../../node_modules/lodash/_mapToArray.js","../../../node_modules/lodash/_nativeCreate.js","../../../node_modules/lodash/_nativeKeys.js","../../../node_modules/lodash/_nodeUtil.js","../../../node_modules/lodash/_objectToString.js","../../../node_modules/lodash/_overArg.js","../../../node_modules/lodash/_root.js","../../../node_modules/lodash/_setCacheAdd.js","../../../node_modules/lodash/_setCacheHas.js","../../../node_modules/lodash/_setToArray.js","../../../node_modules/lodash/_stackClear.js","../../../node_modules/lodash/_stackDelete.js","../../../node_modules/lodash/_stackGet.js","../../../node_modules/lodash/_stackHas.js","../../../node_modules/lodash/_stackSet.js","../../../node_modules/lodash/_toSource.js","../../../node_modules/lodash/eq.js","../../../node_modules/lodash/isArguments.js","../../../node_modules/lodash/isArray.js","../../../node_modules/lodash/isArrayLike.js","../../../node_modules/lodash/isBoolean.js","../../../node_modules/lodash/isBuffer.js","../../../node_modules/lodash/isEqual.js","../../../node_modules/lodash/isFunction.js","../../../node_modules/lodash/isLength.js","../../../node_modules/lodash/isNull.js","../../../node_modules/lodash/isNumber.js","../../../node_modules/lodash/isObject.js","../../../node_modules/lodash/isObjectLike.js","../../../node_modules/lodash/isString.js","../../../node_modules/lodash/isTypedArray.js","../../../node_modules/lodash/keys.js","../../../node_modules/lodash/negate.js","../../../node_modules/lodash/stubArray.js","../../../node_modules/lodash/stubFalse.js","../../../node_modules/minim/lib/ArraySlice.js","../../../node_modules/minim/lib/KeyValuePair.js","../../../node_modules/minim/lib/Namespace.js","../../../node_modules/minim/lib/ObjectSlice.js","../../../node_modules/minim/lib/elements.js","../../../node_modules/minim/lib/elements/LinkElement.js","../../../node_modules/minim/lib/elements/RefElement.js","../../../node_modules/minim/lib/minim.js","../../../node_modules/minim/lib/primitives/ArrayElement.js","../../../node_modules/minim/lib/primitives/BooleanElement.js","../../../node_modules/minim/lib/primitives/Element.js","../../../node_modules/minim/lib/primitives/MemberElement.js","../../../node_modules/minim/lib/primitives/NullElement.js","../../../node_modules/minim/lib/primitives/NumberElement.js","../../../node_modules/minim/lib/primitives/ObjectElement.js","../../../node_modules/minim/lib/primitives/StringElement.js","../../../node_modules/minim/lib/serialisers/JSON06Serialiser.js","../../../node_modules/minim/lib/serialisers/JSONSerialiser.js","../../../node_modules/process/browser.js","../../../node_modules/ramda-adjunct/es/allP.js","../../../node_modules/ramda-adjunct/es/concatRight.js","../../../node_modules/ramda/es/comparator.js","../../../node_modules/ramda/es/sort.js","../../../node_modules/ramda/es/reduced.js","../../../node_modules/ramda-adjunct/es/isNotNil.js","../../../node_modules/ramda-adjunct/es/isNonEmptyArray.js","../../../node_modules/ramda-adjunct/es/dispatch.js","../../../node_modules/ramda-adjunct/es/ensureArray.js","../../../node_modules/ramda/es/includes.js","../../../node_modules/ramda-adjunct/es/included.js","../../../node_modules/ramda-adjunct/es/internal/isOfTypeObject.js","../../../node_modules/ramda/es/init.js","../../../node_modules/ramda/es/apply.js","../../../node_modules/ramda-adjunct/es/isEmptyArray.js","../../../node_modules/ramda-adjunct/es/invokeArgs.js","../../../node_modules/ramda-adjunct/es/isArray.js","../../../node_modules/ramda-adjunct/es/isEmptyString.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/Number.isFinite.js","../../../node_modules/ramda-adjunct/es/isFinite.js","../../../node_modules/ramda/es/anyPass.js","../../../node_modules/ramda-adjunct/es/isGeneratorFunction.js","../../../node_modules/ramda-adjunct/es/isAsyncFunction.js","../../../node_modules/ramda-adjunct/es/isFunction.js","../../../node_modules/ramda/es/converge.js","../../../node_modules/ramda/es/internal/_identity.js","../../../node_modules/ramda/es/identity.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/Number.isInteger.js","../../../node_modules/ramda-adjunct/es/isInteger.js","../../../node_modules/ramda/es/allPass.js","../../../node_modules/ramda/es/or.js","../../../node_modules/ramda/es/either.js","../../../node_modules/ramda-adjunct/es/isObj.js","../../../node_modules/ramda-adjunct/es/isNotObj.js","../../../node_modules/ramda-adjunct/es/isNonEmptyString.js","../../../node_modules/ramda-adjunct/es/isNotArray.js","../../../node_modules/ramda-adjunct/es/isNotEmpty.js","../../../node_modules/ramda-adjunct/es/isNotFunction.js","../../../node_modules/ramda-adjunct/es/isNotNull.js","../../../node_modules/ramda-adjunct/es/isNotUndefined.js","../../../node_modules/ramda-adjunct/es/isNull.js","../../../node_modules/ramda-adjunct/es/isNumber.js","../../../node_modules/ramda-adjunct/es/isObjLike.js","../../../node_modules/ramda-adjunct/es/isPlainObj.js","../../../node_modules/ramda-adjunct/es/isString.js","../../../node_modules/ramda-adjunct/es/isUndefined.js","../../../node_modules/ramda-adjunct/es/noop.js","../../../node_modules/ramda-adjunct/es/isNotFinite.js","../../../node_modules/ramda/es/gt.js","../../../node_modules/ramda-adjunct/es/isNegative.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/String.repeat.js","../../../node_modules/ramda-adjunct/es/repeatStr.js","../../../node_modules/ramda-adjunct/es/isRegExp.js","../../../node_modules/ramda-adjunct/es/escapeRegExp.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/String.replaceAll.js","../../../node_modules/ramda-adjunct/es/replaceAll.js","../../../node_modules/ramda-adjunct/es/stubUndefined.js","../../../node_modules/ramda/es/internal/_dropLastWhile.js","../../../node_modules/ramda/es/internal/_xdropLastWhile.js","../../../node_modules/ramda/es/dropLastWhile.js","../../../node_modules/ramda-adjunct/es/trimCharsEnd.js","../../../node_modules/ramda/es/internal/_xdropWhile.js","../../../node_modules/ramda/es/dropWhile.js","../../../node_modules/ramda-adjunct/es/trimCharsStart.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/String.trimEnd.js","../../../node_modules/ramda-adjunct/es/trimEnd.js","../../../node_modules/ramda-adjunct/es/internal/ponyfills/String.trimStart.js","../../../node_modules/ramda-adjunct/es/trimStart.js","../../../node_modules/short-unique-id/src/index.ts","../../../node_modules/short-unique-id/package.json","../../../node_modules/stampit/dist/stampit.min.js","../../../node_modules/ts-mixer/dist/esm/index.js","../../../node_modules/web-tree-sitter/tree-sitter.js","../../../node_modules/unraw/dist/errors.js","../../../node_modules/unraw/dist/index.js","../../../node_modules/@babel/runtime-corejs3/core-js/aggregate-error.js","../../../node_modules/core-js-pure/actual/aggregate-error.js","../../../node_modules/core-js-pure/es/aggregate-error.js","../../../node_modules/core-js-pure/features/aggregate-error.js","../../../node_modules/core-js-pure/full/aggregate-error.js","../../../node_modules/core-js-pure/internals/a-callable.js","../../../node_modules/core-js-pure/internals/a-possible-prototype.js","../../../node_modules/core-js-pure/internals/add-to-unscopables.js","../../../node_modules/core-js-pure/internals/an-object.js","../../../node_modules/core-js-pure/internals/array-includes.js","../../../node_modules/core-js-pure/internals/classof-raw.js","../../../node_modules/core-js-pure/internals/classof.js","../../../node_modules/core-js-pure/internals/copy-constructor-properties.js","../../../node_modules/core-js-pure/internals/correct-prototype-getter.js","../../../node_modules/core-js-pure/internals/create-iter-result-object.js","../../../node_modules/core-js-pure/internals/create-non-enumerable-property.js","../../../node_modules/core-js-pure/internals/create-property-descriptor.js","../../../node_modules/core-js-pure/internals/define-built-in.js","../../../node_modules/core-js-pure/internals/define-global-property.js","../../../node_modules/core-js-pure/internals/descriptors.js","../../../node_modules/core-js-pure/internals/document-create-element.js","../../../node_modules/core-js-pure/internals/dom-iterables.js","../../../node_modules/core-js-pure/internals/engine-user-agent.js","../../../node_modules/core-js-pure/internals/engine-v8-version.js","../../../node_modules/core-js-pure/internals/enum-bug-keys.js","../../../node_modules/core-js-pure/internals/error-stack-clear.js","../../../node_modules/core-js-pure/internals/error-stack-install.js","../../../node_modules/core-js-pure/internals/error-stack-installable.js","../../../node_modules/core-js-pure/internals/export.js","../../../node_modules/core-js-pure/internals/fails.js","../../../node_modules/core-js-pure/internals/function-apply.js","../../../node_modules/core-js-pure/internals/function-bind-context.js","../../../node_modules/core-js-pure/internals/function-bind-native.js","../../../node_modules/core-js-pure/internals/function-call.js","../../../node_modules/core-js-pure/internals/function-name.js","../../../node_modules/core-js-pure/internals/function-uncurry-this-accessor.js","../../../node_modules/core-js-pure/internals/function-uncurry-this-clause.js","../../../node_modules/core-js-pure/internals/function-uncurry-this.js","../../../node_modules/core-js-pure/internals/get-built-in.js","../../../node_modules/core-js-pure/internals/get-iterator-method.js","../../../node_modules/core-js-pure/internals/get-iterator.js","../../../node_modules/core-js-pure/internals/get-method.js","../../../node_modules/core-js-pure/internals/global.js","../../../node_modules/core-js-pure/internals/has-own-property.js","../../../node_modules/core-js-pure/internals/hidden-keys.js","../../../node_modules/core-js-pure/internals/html.js","../../../node_modules/core-js-pure/internals/ie8-dom-define.js","../../../node_modules/core-js-pure/internals/indexed-object.js","../../../node_modules/core-js-pure/internals/inherit-if-required.js","../../../node_modules/core-js-pure/internals/install-error-cause.js","../../../node_modules/core-js-pure/internals/internal-state.js","../../../node_modules/core-js-pure/internals/is-array-iterator-method.js","../../../node_modules/core-js-pure/internals/is-callable.js","../../../node_modules/core-js-pure/internals/is-forced.js","../../../node_modules/core-js-pure/internals/is-null-or-undefined.js","../../../node_modules/core-js-pure/internals/is-object.js","../../../node_modules/core-js-pure/internals/is-possible-prototype.js","../../../node_modules/core-js-pure/internals/is-pure.js","../../../node_modules/core-js-pure/internals/is-symbol.js","../../../node_modules/core-js-pure/internals/iterate.js","../../../node_modules/core-js-pure/internals/iterator-close.js","../../../node_modules/core-js-pure/internals/iterator-create-constructor.js","../../../node_modules/core-js-pure/internals/iterator-define.js","../../../node_modules/core-js-pure/internals/iterators-core.js","../../../node_modules/core-js-pure/internals/iterators.js","../../../node_modules/core-js-pure/internals/length-of-array-like.js","../../../node_modules/core-js-pure/internals/math-trunc.js","../../../node_modules/core-js-pure/internals/normalize-string-argument.js","../../../node_modules/core-js-pure/internals/object-create.js","../../../node_modules/core-js-pure/internals/object-define-properties.js","../../../node_modules/core-js-pure/internals/object-define-property.js","../../../node_modules/core-js-pure/internals/object-get-own-property-descriptor.js","../../../node_modules/core-js-pure/internals/object-get-own-property-names.js","../../../node_modules/core-js-pure/internals/object-get-own-property-symbols.js","../../../node_modules/core-js-pure/internals/object-get-prototype-of.js","../../../node_modules/core-js-pure/internals/object-is-prototype-of.js","../../../node_modules/core-js-pure/internals/object-keys-internal.js","../../../node_modules/core-js-pure/internals/object-keys.js","../../../node_modules/core-js-pure/internals/object-property-is-enumerable.js","../../../node_modules/core-js-pure/internals/object-set-prototype-of.js","../../../node_modules/core-js-pure/internals/object-to-string.js","../../../node_modules/core-js-pure/internals/ordinary-to-primitive.js","../../../node_modules/core-js-pure/internals/own-keys.js","../../../node_modules/core-js-pure/internals/path.js","../../../node_modules/core-js-pure/internals/proxy-accessor.js","../../../node_modules/core-js-pure/internals/require-object-coercible.js","../../../node_modules/core-js-pure/internals/set-to-string-tag.js","../../../node_modules/core-js-pure/internals/shared-key.js","../../../node_modules/core-js-pure/internals/shared-store.js","../../../node_modules/core-js-pure/internals/shared.js","../../../node_modules/core-js-pure/internals/string-multibyte.js","../../../node_modules/core-js-pure/internals/symbol-constructor-detection.js","../../../node_modules/core-js-pure/internals/to-absolute-index.js","../../../node_modules/core-js-pure/internals/to-indexed-object.js","../../../node_modules/core-js-pure/internals/to-integer-or-infinity.js","../../../node_modules/core-js-pure/internals/to-length.js","../../../node_modules/core-js-pure/internals/to-object.js","../../../node_modules/core-js-pure/internals/to-primitive.js","../../../node_modules/core-js-pure/internals/to-property-key.js","../../../node_modules/core-js-pure/internals/to-string-tag-support.js","../../../node_modules/core-js-pure/internals/to-string.js","../../../node_modules/core-js-pure/internals/try-to-string.js","../../../node_modules/core-js-pure/internals/uid.js","../../../node_modules/core-js-pure/internals/use-symbol-as-uid.js","../../../node_modules/core-js-pure/internals/v8-prototype-define-bug.js","../../../node_modules/core-js-pure/internals/weak-map-basic-detection.js","../../../node_modules/core-js-pure/internals/well-known-symbol.js","../../../node_modules/core-js-pure/internals/wrap-error-constructor-with-cause.js","../../../node_modules/core-js-pure/modules/es.aggregate-error.cause.js","../../../node_modules/core-js-pure/modules/es.aggregate-error.constructor.js","../../../node_modules/core-js-pure/modules/es.aggregate-error.js","../../../node_modules/core-js-pure/modules/es.array.iterator.js","../../../node_modules/core-js-pure/modules/es.error.cause.js","../../../node_modules/core-js-pure/modules/es.string.iterator.js","../../../node_modules/core-js-pure/modules/esnext.aggregate-error.js","../../../node_modules/core-js-pure/modules/web.dom-collections.iterator.js","../../../node_modules/core-js-pure/stable/aggregate-error.js","../../../node_modules/@babel/runtime/helpers/esm/typeof.js","../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../../../node_modules/axios/lib/helpers/bind.js","../../../node_modules/axios/lib/utils.js","../../../node_modules/axios/lib/core/AxiosError.js","../../../node_modules/axios/lib/helpers/toFormData.js","../../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js","../../../node_modules/axios/lib/helpers/buildURL.js","../../../node_modules/axios/lib/core/InterceptorManager.js","../../../node_modules/axios/lib/defaults/transitional.js","../../../node_modules/axios/lib/platform/browser/index.js","../../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","../../../node_modules/axios/lib/platform/browser/classes/FormData.js","../../../node_modules/axios/lib/platform/browser/classes/Blob.js","../../../node_modules/axios/lib/platform/common/utils.js","../../../node_modules/axios/lib/platform/index.js","../../../node_modules/axios/lib/helpers/formDataToJSON.js","../../../node_modules/axios/lib/defaults/index.js","../../../node_modules/axios/lib/helpers/toURLEncodedForm.js","../../../node_modules/axios/lib/helpers/parseHeaders.js","../../../node_modules/axios/lib/core/AxiosHeaders.js","../../../node_modules/axios/lib/core/transformData.js","../../../node_modules/axios/lib/cancel/isCancel.js","../../../node_modules/axios/lib/cancel/CanceledError.js","../../../node_modules/axios/lib/helpers/cookies.js","../../../node_modules/axios/lib/core/buildFullPath.js","../../../node_modules/axios/lib/helpers/isAbsoluteURL.js","../../../node_modules/axios/lib/helpers/combineURLs.js","../../../node_modules/axios/lib/helpers/isURLSameOrigin.js","../../../node_modules/axios/lib/helpers/speedometer.js","../../../node_modules/axios/lib/adapters/xhr.js","../../../node_modules/axios/lib/adapters/adapters.js","../../../node_modules/axios/lib/helpers/null.js","../../../node_modules/axios/lib/core/settle.js","../../../node_modules/axios/lib/helpers/parseProtocol.js","../../../node_modules/axios/lib/core/dispatchRequest.js","../../../node_modules/axios/lib/core/mergeConfig.js","../../../node_modules/axios/lib/env/data.js","../../../node_modules/axios/lib/helpers/validator.js","../../../node_modules/axios/lib/core/Axios.js","../../../node_modules/axios/lib/cancel/CancelToken.js","../../../node_modules/axios/lib/helpers/HttpStatusCode.js","../../../node_modules/axios/lib/axios.js","../../../node_modules/axios/lib/helpers/spread.js","../../../node_modules/axios/lib/helpers/isAxiosError.js","../../../node_modules/comlink/src/comlink.ts","../../../node_modules/ramda/es/F.js","../../../node_modules/ramda/es/T.js","../../../node_modules/ramda/es/internal/_xall.js","../../../node_modules/ramda/es/all.js","../../../node_modules/ramda/es/always.js","../../../node_modules/ramda/es/assocPath.js","../../../node_modules/ramda/es/internal/_assoc.js","../../../node_modules/ramda/es/bind.js","../../../node_modules/ramda/es/and.js","../../../node_modules/ramda/es/both.js","../../../node_modules/ramda/es/internal/_clone.js","../../../node_modules/ramda/es/clone.js","../../../node_modules/ramda/es/not.js","../../../node_modules/ramda/es/complement.js","../../../node_modules/ramda/es/compose.js","../../../node_modules/ramda/es/concat.js","../../../node_modules/ramda/es/curry.js","../../../node_modules/ramda/es/internal/_curryN.js","../../../node_modules/ramda/es/curryN.js","../../../node_modules/ramda/es/defaultTo.js","../../../node_modules/ramda/es/internal/_Set.js","../../../node_modules/ramda/es/difference.js","../../../node_modules/ramda/es/remove.js","../../../node_modules/ramda/es/assoc.js","../../../node_modules/ramda/es/dissocPath.js","../../../node_modules/ramda/es/internal/_dissoc.js","../../../node_modules/ramda/es/internal/_arrayFromIterator.js","../../../node_modules/ramda/es/internal/_includesWith.js","../../../node_modules/ramda/es/internal/_equals.js","../../../node_modules/ramda/es/internal/_functionName.js","../../../node_modules/ramda/es/equals.js","../../../node_modules/ramda/es/internal/_xfilter.js","../../../node_modules/ramda/es/filter.js","../../../node_modules/ramda/es/internal/_filter.js","../../../node_modules/ramda/es/flip.js","../../../node_modules/ramda/es/has.js","../../../node_modules/ramda/es/hasPath.js","../../../node_modules/ramda/es/head.js","../../../node_modules/ramda/es/identical.js","../../../node_modules/ramda/es/ifElse.js","../../../node_modules/ramda/es/internal/_arity.js","../../../node_modules/ramda/es/internal/_arrayReduce.js","../../../node_modules/ramda/es/internal/_checkForMethod.js","../../../node_modules/ramda/es/internal/_cloneRegExp.js","../../../node_modules/ramda/es/internal/_complement.js","../../../node_modules/ramda/es/internal/_isArrayLike.js","../../../node_modules/ramda/es/internal/_createReduce.js","../../../node_modules/ramda/es/internal/_curry1.js","../../../node_modules/ramda/es/internal/_curry2.js","../../../node_modules/ramda/es/internal/_curry3.js","../../../node_modules/ramda/es/internal/_dispatchable.js","../../../node_modules/ramda/es/internal/_isTransformer.js","../../../node_modules/ramda/es/internal/_has.js","../../../node_modules/ramda/es/internal/_includes.js","../../../node_modules/ramda/es/internal/_indexOf.js","../../../node_modules/ramda/es/internal/_isArguments.js","../../../node_modules/ramda/es/internal/_isArray.js","../../../node_modules/ramda/es/internal/_isFunction.js","../../../node_modules/ramda/es/internal/_isInteger.js","../../../node_modules/ramda/es/internal/_isObject.js","../../../node_modules/ramda/es/internal/_isPlaceholder.js","../../../node_modules/ramda/es/internal/_isString.js","../../../node_modules/ramda/es/internal/_map.js","../../../node_modules/ramda/es/internal/_objectIs.js","../../../node_modules/ramda/es/internal/_reduced.js","../../../node_modules/ramda/es/internal/_xArrayReduce.js","../../../node_modules/ramda/es/internal/_xReduce.js","../../../node_modules/ramda/es/internal/_xfBase.js","../../../node_modules/ramda/es/internal/_xwrap.js","../../../node_modules/ramda/es/invoker.js","../../../node_modules/ramda/es/empty.js","../../../node_modules/ramda/es/internal/_isTypedArray.js","../../../node_modules/ramda/es/isEmpty.js","../../../node_modules/ramda/es/isNil.js","../../../node_modules/ramda/es/join.js","../../../node_modules/ramda/es/keys.js","../../../node_modules/ramda/es/last.js","../../../node_modules/ramda/es/lens.js","../../../node_modules/ramda/es/internal/_reduce.js","../../../node_modules/ramda/es/ap.js","../../../node_modules/ramda/es/internal/_concat.js","../../../node_modules/ramda/es/liftN.js","../../../node_modules/ramda/es/lift.js","../../../node_modules/ramda/es/internal/_xmap.js","../../../node_modules/ramda/es/map.js","../../../node_modules/ramda/es/mapObjIndexed.js","../../../node_modules/ramda/es/max.js","../../../node_modules/ramda/es/mergeWithKey.js","../../../node_modules/ramda/es/mergeDeepWithKey.js","../../../node_modules/ramda/es/mergeDeepRight.js","../../../node_modules/ramda/es/internal/_objectAssign.js","../../../node_modules/ramda/es/mergeRight.js","../../../node_modules/ramda/es/none.js","../../../node_modules/ramda/es/nth.js","../../../node_modules/ramda/es/of.js","../../../node_modules/ramda/es/omit.js","../../../node_modules/ramda/es/over.js","../../../node_modules/ramda/es/paths.js","../../../node_modules/ramda/es/path.js","../../../node_modules/ramda/es/pathOr.js","../../../node_modules/ramda/es/pathSatisfies.js","../../../node_modules/ramda/es/pick.js","../../../node_modules/ramda/es/internal/_pipe.js","../../../node_modules/ramda/es/pipe.js","../../../node_modules/ramda/es/pluck.js","../../../node_modules/ramda/es/prop.js","../../../node_modules/ramda/es/propEq.js","../../../node_modules/ramda/es/propOr.js","../../../node_modules/ramda/es/propSatisfies.js","../../../node_modules/ramda/es/internal/_isNumber.js","../../../node_modules/ramda/es/range.js","../../../node_modules/ramda/es/reduce.js","../../../node_modules/ramda/es/replace.js","../../../node_modules/ramda/es/reverse.js","../../../node_modules/ramda/es/slice.js","../../../node_modules/ramda/es/split.js","../../../node_modules/ramda/es/internal/_xtake.js","../../../node_modules/ramda/es/take.js","../../../node_modules/ramda/es/startsWith.js","../../../node_modules/ramda/es/tail.js","../../../node_modules/ramda/es/test.js","../../../node_modules/ramda/es/internal/_isRegExp.js","../../../node_modules/ramda/es/internal/_quote.js","../../../node_modules/ramda/es/internal/_toISOString.js","../../../node_modules/ramda/es/reject.js","../../../node_modules/ramda/es/internal/_toString.js","../../../node_modules/ramda/es/toString.js","../../../node_modules/ramda/es/transduce.js","../../../node_modules/ramda/es/trim.js","../../../node_modules/ramda/es/type.js","../../../node_modules/ramda/es/values.js","../../../node_modules/ramda/es/when.js"],"sourcesContent":["var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]';\n\n/**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\nfunction isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n}\n\nmodule.exports = isBoolean;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","/**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\nfunction isNull(value) {\n return value === null;\n}\n\nmodule.exports = isNull;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\nfunction negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n}\n\nmodule.exports = negate;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","const negate = require('lodash/negate');\n\n// Coerces an a parameter into a callback for matching elements.\n// This accepts an element name, an element type and returns a\n// callback to match for those elements.\nfunction coerceElementMatchingCallback(value) {\n // Element Name\n if (typeof value === 'string') {\n return element => element.element === value;\n }\n\n // Element Type\n if (value.constructor && value.extend) {\n return element => element instanceof value;\n }\n\n return value;\n}\n\n/**\n * @class\n *\n * @param {Element[]} elements\n *\n * @property {Element[]} elements\n */\nclass ArraySlice {\n constructor(elements) {\n this.elements = elements || [];\n }\n\n /**\n * @returns {Array}\n */\n toValue() {\n return this.elements.map(element => element.toValue());\n }\n\n // High Order Functions\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {array} A new array with each element being the result of the callback function\n */\n map(callback, thisArg) {\n return this.elements.map(callback, thisArg);\n }\n\n /**\n * Maps and then flattens the results.\n * @param callback - Function to execute for each element.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {array}\n */\n flatMap(callback, thisArg) {\n return this\n .map(callback, thisArg)\n .reduce((a, b) => a.concat(b), []);\n }\n\n /**\n * Returns an array containing the truthy results of calling the given transformation with each element of this sequence\n * @param transform - A closure that accepts an element of this array as its argument and returns an optional value.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @memberof ArraySlice.prototype\n * @returns An array of the non-undefined results of calling transform with each element of the array\n */\n compactMap(transform, thisArg) {\n const results = [];\n\n this.forEach((element) => {\n const result = transform.bind(thisArg)(element);\n\n if (result) {\n results.push(result);\n }\n });\n\n return results;\n }\n\n /**\n * @param callback - Function to execute for each element. This may be a callback, an element name or an element class.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {ArraySlice}\n * @memberof ArraySlice.prototype\n */\n filter(callback, thisArg) {\n callback = coerceElementMatchingCallback(callback);\n return new ArraySlice(this.elements.filter(callback, thisArg));\n }\n\n /**\n * @param callback - Function to execute for each element. This may be a callback, an element name or an element class.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {ArraySlice}\n * @memberof ArraySlice.prototype\n */\n reject(callback, thisArg) {\n callback = coerceElementMatchingCallback(callback);\n return new ArraySlice(this.elements.filter(negate(callback), thisArg));\n }\n\n /**\n * Returns the first element in the array that satisfies the given value\n * @param callback - Function to execute for each element. This may be a callback, an element name or an element class.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {Element}\n * @memberof ArraySlice.prototype\n */\n find(callback, thisArg) {\n callback = coerceElementMatchingCallback(callback);\n return this.elements.find(callback, thisArg);\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @memberof ArraySlice.prototype\n */\n forEach(callback, thisArg) {\n this.elements.forEach(callback, thisArg);\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param initialValue\n * @memberof ArraySlice.prototype\n */\n reduce(callback, initialValue) {\n return this.elements.reduce(callback, initialValue);\n }\n\n /**\n * @param value\n * @returns {boolean}\n * @memberof ArraySlice.prototype\n */\n includes(value) {\n return this.elements.some(element => element.equals(value));\n }\n\n // Mutation\n\n /**\n * Removes the first element from the slice\n * @returns {Element} The removed element or undefined if the slice is empty\n * @memberof ArraySlice.prototype\n */\n shift() {\n return this.elements.shift();\n }\n\n /**\n * Adds the given element to the begining of the slice\n * @parameter {Element} value\n * @memberof ArraySlice.prototype\n */\n unshift(value) {\n this.elements.unshift(this.refract(value));\n }\n\n /**\n * Adds the given element to the end of the slice\n * @parameter {Element} value\n * @memberof ArraySlice.prototype\n */\n push(value) {\n this.elements.push(this.refract(value));\n return this;\n }\n\n /**\n * @parameter {Element} value\n * @memberof ArraySlice.prototype\n */\n add(value) {\n this.push(value);\n }\n\n // Accessors\n\n /**\n * @parameter {number} index\n * @returns {Element}\n * @memberof ArraySlice.prototype\n */\n get(index) {\n return this.elements[index];\n }\n\n /**\n * @parameter {number} index\n * @memberof ArraySlice.prototype\n */\n getValue(index) {\n const element = this.elements[index];\n\n if (element) {\n return element.toValue();\n }\n\n return undefined;\n }\n\n /**\n * Returns the number of elements in the slice\n * @type number\n */\n get length() {\n return this.elements.length;\n }\n\n /**\n * Returns whether the slice is empty\n * @type boolean\n */\n get isEmpty() {\n return this.elements.length === 0;\n }\n\n /**\n * Returns the first element in the slice or undefined if the slice is empty\n * @type Element\n */\n get first() {\n return this.elements[0];\n }\n}\n\nif (typeof Symbol !== 'undefined') {\n ArraySlice.prototype[Symbol.iterator] = function symbol() {\n return this.elements[Symbol.iterator]();\n };\n}\n\nmodule.exports = ArraySlice;\n","/**\n * @class\n *\n * @property {Element} key\n * @property {Element} value\n */\nclass KeyValuePair {\n constructor(key, value) {\n this.key = key;\n this.value = value;\n }\n\n /**\n * @returns {KeyValuePair}\n */\n clone() {\n const clone = new KeyValuePair();\n\n if (this.key) {\n clone.key = this.key.clone();\n }\n\n if (this.value) {\n clone.value = this.value.clone();\n }\n\n return clone;\n }\n}\n\nmodule.exports = KeyValuePair;\n","const isNull = require('lodash/isNull');\nconst isString = require('lodash/isString');\nconst isNumber = require('lodash/isNumber');\nconst isBoolean = require('lodash/isBoolean');\nconst isObject = require('lodash/isObject');\n\nconst JSONSerialiser = require('./serialisers/JSONSerialiser');\nconst elements = require('./elements');\n\n/**\n * @class\n *\n * A refract element implementation with an extensible namespace, able to\n * load other namespaces into it.\n *\n * The namespace allows you to register your own classes to be instantiated\n * when a particular refract element is encountered, and allows you to specify\n * which elements get instantiated for existing Javascript objects.\n */\nclass Namespace {\n constructor(options) {\n this.elementMap = {};\n this.elementDetection = [];\n this.Element = elements.Element;\n this.KeyValuePair = elements.KeyValuePair;\n\n if (!options || !options.noDefault) {\n this.useDefault();\n }\n\n // These provide the defaults for new elements.\n this._attributeElementKeys = [];\n this._attributeElementArrayKeys = [];\n }\n\n /**\n * Use a namespace plugin or load a generic plugin.\n *\n * @param plugin\n */\n use(plugin) {\n if (plugin.namespace) {\n plugin.namespace({ base: this });\n }\n if (plugin.load) {\n plugin.load({ base: this });\n }\n return this;\n }\n\n /*\n * Use the default namespace. This preloads all the default elements\n * into this registry instance.\n */\n useDefault() {\n // Set up classes for default elements\n this\n .register('null', elements.NullElement)\n .register('string', elements.StringElement)\n .register('number', elements.NumberElement)\n .register('boolean', elements.BooleanElement)\n .register('array', elements.ArrayElement)\n .register('object', elements.ObjectElement)\n .register('member', elements.MemberElement)\n .register('ref', elements.RefElement)\n .register('link', elements.LinkElement);\n\n // Add instance detection functions to convert existing objects into\n // the corresponding refract elements.\n this\n .detect(isNull, elements.NullElement, false)\n .detect(isString, elements.StringElement, false)\n .detect(isNumber, elements.NumberElement, false)\n .detect(isBoolean, elements.BooleanElement, false)\n .detect(Array.isArray, elements.ArrayElement, false)\n .detect(isObject, elements.ObjectElement, false);\n\n return this;\n }\n\n /**\n * Register a new element class for an element.\n *\n * @param {string} name\n * @param elementClass\n */\n register(name, ElementClass) {\n this._elements = undefined;\n this.elementMap[name] = ElementClass;\n return this;\n }\n\n /**\n * Unregister a previously registered class for an element.\n *\n * @param {string} name\n */\n unregister(name) {\n this._elements = undefined;\n delete this.elementMap[name];\n return this;\n }\n\n /*\n * Add a new detection function to determine which element\n * class to use when converting existing js instances into\n * refract element.\n */\n detect(test, ElementClass, givenPrepend) {\n const prepend = givenPrepend === undefined ? true : givenPrepend;\n\n if (prepend) {\n this.elementDetection.unshift([test, ElementClass]);\n } else {\n this.elementDetection.push([test, ElementClass]);\n }\n\n return this;\n }\n\n /*\n * Convert an existing Javascript object into refract element instances, which\n * can be further processed or serialized into refract.\n * If the item passed in is already refracted, then it is returned\n * unmodified.\n */\n toElement(value) {\n if (value instanceof this.Element) { return value; }\n\n let element;\n\n for (let i = 0; i < this.elementDetection.length; i += 1) {\n const test = this.elementDetection[i][0];\n const ElementClass = this.elementDetection[i][1];\n\n if (test(value)) {\n element = new ElementClass(value);\n break;\n }\n }\n\n return element;\n }\n\n /*\n * Get an element class given an element name.\n */\n getElementClass(element) {\n const ElementClass = this.elementMap[element];\n\n if (ElementClass === undefined) {\n // Fall back to the base element. We may not know what\n // to do with the `content`, but downstream software\n // may know.\n return this.Element;\n }\n\n return ElementClass;\n }\n\n /*\n * Convert a refract document into refract element instances.\n */\n fromRefract(doc) {\n return this.serialiser.deserialise(doc);\n }\n\n /*\n * Convert an element to a Refracted JSON object.\n */\n toRefract(element) {\n return this.serialiser.serialise(element);\n }\n\n /*\n * Get an object that contains all registered element classes, where\n * the key is the PascalCased element name and the value is the class.\n */\n get elements() {\n if (this._elements === undefined) {\n this._elements = {\n Element: this.Element,\n };\n\n Object.keys(this.elementMap).forEach((name) => {\n // Currently, all registered element types use a camelCaseName.\n // Converting to PascalCase is as simple as upper-casing the first\n // letter.\n const pascal = name[0].toUpperCase() + name.substr(1);\n this._elements[pascal] = this.elementMap[name];\n });\n }\n\n return this._elements;\n }\n\n /**\n * Convinience method for getting a JSON Serialiser configured with the\n * current namespace\n *\n * @type JSONSerialiser\n * @readonly\n *\n * @memberof Namespace.prototype\n */\n get serialiser() {\n return new JSONSerialiser(this);\n }\n}\n\nJSONSerialiser.prototype.Namespace = Namespace;\n\nmodule.exports = Namespace;\n","const negate = require('lodash/negate');\nconst ArraySlice = require('./ArraySlice');\n\n/**\n */\nclass ObjectSlice extends ArraySlice {\n map(callback, thisArg) {\n return this.elements.map(member => callback.bind(thisArg)(member.value, member.key, member));\n }\n\n filter(callback, thisArg) {\n return new ObjectSlice(this.elements.filter(member => callback.bind(thisArg)(member.value, member.key, member)));\n }\n\n reject(callback, thisArg) {\n return this.filter(negate(callback.bind(thisArg)));\n }\n\n forEach(callback, thisArg) {\n return this.elements.forEach((member, index) => { callback.bind(thisArg)(member.value, member.key, member, index); });\n }\n\n /**\n * @returns {array}\n */\n keys() {\n return this.map((value, key) => key.toValue());\n }\n\n /**\n * @returns {array}\n */\n values() {\n return this.map(value => value.toValue());\n }\n}\n\nmodule.exports = ObjectSlice;\n","const Element = require('./primitives/Element');\nconst NullElement = require('./primitives/NullElement');\nconst StringElement = require('./primitives/StringElement');\nconst NumberElement = require('./primitives/NumberElement');\nconst BooleanElement = require('./primitives/BooleanElement');\nconst ArrayElement = require('./primitives/ArrayElement');\nconst MemberElement = require('./primitives/MemberElement');\nconst ObjectElement = require('./primitives/ObjectElement');\nconst LinkElement = require('./elements/LinkElement');\nconst RefElement = require('./elements/RefElement');\n\nconst ArraySlice = require('./ArraySlice');\nconst ObjectSlice = require('./ObjectSlice');\n\nconst KeyValuePair = require('./KeyValuePair');\n\n/**\n * Refracts a JSON type to minim elements\n * @param value\n * @returns {Element}\n */\nfunction refract(value) {\n if (value instanceof Element) {\n return value;\n }\n\n if (typeof value === 'string') {\n return new StringElement(value);\n }\n\n if (typeof value === 'number') {\n return new NumberElement(value);\n }\n\n if (typeof value === 'boolean') {\n return new BooleanElement(value);\n }\n\n if (value === null) {\n return new NullElement();\n }\n\n if (Array.isArray(value)) {\n return new ArrayElement(value.map(refract));\n }\n\n if (typeof value === 'object') {\n const element = new ObjectElement(value);\n return element;\n }\n\n return value;\n}\n\nElement.prototype.ObjectElement = ObjectElement;\nElement.prototype.RefElement = RefElement;\nElement.prototype.MemberElement = MemberElement;\n\nElement.prototype.refract = refract;\nArraySlice.prototype.refract = refract;\n\n/**\n * Contains all of the element classes, and related structures and methods\n * for handling with element instances.\n */\nmodule.exports = {\n Element,\n NullElement,\n StringElement,\n NumberElement,\n BooleanElement,\n ArrayElement,\n MemberElement,\n ObjectElement,\n LinkElement,\n RefElement,\n\n refract,\n\n ArraySlice,\n ObjectSlice,\n KeyValuePair,\n};\n","const Element = require('../primitives/Element');\n\n/** Hyperlinking MAY be used to link to other resources, provide links to\n * instructions on how to process a given element (by way of a profile or\n * other means), and may be used to provide meta data about the element in\n * which it's found. The meaning and purpose of the hyperlink is defined by\n * the link relation according to RFC 5988.\n *\n * @class LinkElement\n *\n * @param content\n * @param meta\n * @param attributes\n */\nmodule.exports = class LinkElement extends Element {\n constructor(content, meta, attributes) {\n super(content || [], meta, attributes);\n this.element = 'link';\n }\n\n /**\n * The relation identifier for the link, as defined in RFC 5988.\n * @type StringElement\n */\n get relation() {\n return this.attributes.get('relation');\n }\n\n set relation(relation) {\n this.attributes.set('relation', relation);\n }\n\n /**\n * The URI for the given link.\n * @type StringElement\n */\n get href() {\n return this.attributes.get('href');\n }\n\n set href(href) {\n this.attributes.set('href', href);\n }\n};\n","const Element = require('../primitives/Element');\n\n/**\n * @class RefElement\n *\n * @param content\n * @param meta\n * @param attributes\n *\n * @extends Element\n */\nmodule.exports = class RefElement extends Element {\n constructor(content, meta, attributes) {\n super(content || [], meta, attributes);\n this.element = 'ref';\n\n if (!this.path) {\n this.path = 'element';\n }\n }\n\n /**\n * Path of referenced element to transclude instead of element itself.\n * @type StringElement\n * @default element\n */\n get path() {\n return this.attributes.get('path');\n }\n\n set path(newValue) {\n this.attributes.set('path', newValue);\n }\n};\n","const Namespace = require('./Namespace');\nconst elements = require('./elements');\n\n// Direct access to the Namespace class\nexports.Namespace = Namespace;\n\n// Special constructor for the Namespace class\nexports.namespace = function namespace(options) {\n return new Namespace(options);\n};\n\nexports.KeyValuePair = require('./KeyValuePair');\n\nexports.ArraySlice = elements.ArraySlice;\nexports.ObjectSlice = elements.ObjectSlice;\n\nexports.Element = elements.Element;\nexports.StringElement = elements.StringElement;\nexports.NumberElement = elements.NumberElement;\nexports.BooleanElement = elements.BooleanElement;\nexports.NullElement = elements.NullElement;\nexports.ArrayElement = elements.ArrayElement;\nexports.ObjectElement = elements.ObjectElement;\nexports.MemberElement = elements.MemberElement;\nexports.RefElement = elements.RefElement;\nexports.LinkElement = elements.LinkElement;\n\nexports.refract = elements.refract;\n\nexports.JSONSerialiser = require('./serialisers/JSONSerialiser');\nexports.JSON06Serialiser = require('./serialisers/JSON06Serialiser');\n","const negate = require('lodash/negate');\nconst Element = require('./Element');\nconst ArraySlice = require('../ArraySlice');\n\n/**\n * @class\n *\n * @param {Element[]} content\n * @param meta\n * @param attributes\n */\nclass ArrayElement extends Element {\n constructor(content, meta, attributes) {\n super(content || [], meta, attributes);\n this.element = 'array';\n }\n\n primitive() {\n return 'array';\n }\n\n /**\n * @returns {Element}\n */\n get(index) {\n return this.content[index];\n }\n\n /**\n * Helper for returning the value of an item\n * This works for both ArrayElement and ObjectElement instances\n */\n getValue(indexOrKey) {\n const item = this.get(indexOrKey);\n\n if (item) {\n return item.toValue();\n }\n\n return undefined;\n }\n\n /**\n * @returns {Element}\n */\n getIndex(index) {\n return this.content[index];\n }\n\n set(index, value) {\n this.content[index] = this.refract(value);\n return this;\n }\n\n remove(index) {\n const removed = this.content.splice(index, 1);\n\n if (removed.length) {\n return removed[0];\n }\n\n return null;\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n */\n map(callback, thisArg) {\n return this.content.map(callback, thisArg);\n }\n\n /**\n * Maps and then flattens the results.\n * @param callback - Function to execute for each element.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {array}\n */\n flatMap(callback, thisArg) {\n return this\n .map(callback, thisArg)\n .reduce((a, b) => a.concat(b), []);\n }\n\n /**\n * Returns an array containing the truthy results of calling the given transformation with each element of this sequence\n * @param transform - A closure that accepts an element of this array as its argument and returns an optional value.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @memberof ArrayElement.prototype\n * @returns An array of the non-undefined results of calling transform with each element of the array\n */\n compactMap(transform, thisArg) {\n const results = [];\n\n this.forEach((element) => {\n const result = transform.bind(thisArg)(element);\n\n if (result) {\n results.push(result);\n }\n });\n\n return results;\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {ArraySlice}\n */\n filter(callback, thisArg) {\n return new ArraySlice(this.content.filter(callback, thisArg));\n }\n\n /**\n * @param callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns {ArraySlice}\n */\n reject(callback, thisArg) {\n return this.filter(negate(callback), thisArg);\n }\n\n /**\n * This is a reduce function specifically for Minim arrays and objects. It\n * allows for returning normal values or Minim instances, so it converts any\n * primitives on each step.\n */\n reduce(callback, initialValue) {\n let startIndex;\n let memo;\n\n // Allows for defining a starting value of the reduce\n if (initialValue !== undefined) {\n startIndex = 0;\n memo = this.refract(initialValue);\n } else {\n startIndex = 1;\n // Object Element content items are member elements. Because of this,\n // the memo should start out as the member value rather than the\n // actual member itself.\n memo = this.primitive() === 'object' ? this.first.value : this.first;\n }\n\n // Sending each function call to the registry allows for passing Minim\n // instances through the function return. This means you can return\n // primitive values or return Minim instances and reduce will still work.\n for (let i = startIndex; i < this.length; i += 1) {\n const item = this.content[i];\n\n if (this.primitive() === 'object') {\n memo = this.refract(callback(memo, item.value, item.key, item, this));\n } else {\n memo = this.refract(callback(memo, item, i, this));\n }\n }\n\n return memo;\n }\n\n /**\n * @callback forEachCallback\n * @param {Element} currentValue\n * @param {NumberElement} index\n */\n\n /**\n * @param {forEachCallback} callback - Function to execute for each element\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @memberof ArrayElement.prototype\n */\n forEach(callback, thisArg) {\n this.content.forEach((item, index) => {\n callback.bind(thisArg)(item, this.refract(index));\n });\n }\n\n /**\n * @returns {Element}\n */\n shift() {\n return this.content.shift();\n }\n\n /**\n * @param value\n */\n unshift(value) {\n this.content.unshift(this.refract(value));\n }\n\n /**\n * @param value\n */\n push(value) {\n this.content.push(this.refract(value));\n return this;\n }\n\n /**\n * @param value\n */\n add(value) {\n this.push(value);\n }\n\n /**\n * Recusively search all descendents using a condition function.\n * @returns {Element[]}\n */\n findElements(condition, givenOptions) {\n const options = givenOptions || {};\n const recursive = !!options.recursive;\n const results = options.results === undefined ? [] : options.results;\n\n // The forEach method for Object Elements returns value, key, and member.\n // This passes those along to the condition function below.\n this.forEach((item, keyOrIndex, member) => {\n // We use duck-typing here to support any registered class that\n // may contain other elements.\n if (recursive && (item.findElements !== undefined)) {\n item.findElements(condition, {\n results,\n recursive,\n });\n }\n\n if (condition(item, keyOrIndex, member)) {\n results.push(item);\n }\n });\n\n return results;\n }\n\n /**\n * Recusively search all descendents using a condition function.\n * @param condition\n * @returns {ArraySlice}\n */\n find(condition) {\n return new ArraySlice(this.findElements(condition, { recursive: true }));\n }\n\n /**\n * @param {string} element\n * @returns {ArraySlice}\n */\n findByElement(element) {\n return this.find(item => item.element === element);\n }\n\n /**\n * @param {string} className\n * @returns {ArraySlice}\n * @memberof ArrayElement.prototype\n */\n findByClass(className) {\n return this.find(item => item.classes.includes(className));\n }\n\n /**\n * Search the tree recursively and find the element with the matching ID\n * @param {string} id\n * @returns {Element}\n * @memberof ArrayElement.prototype\n */\n getById(id) {\n return this.find(item => item.id.toValue() === id).first;\n }\n\n /**\n * Looks for matching children using deep equality\n * @param value\n * @returns {boolean}\n */\n includes(value) {\n return this.content.some(element => element.equals(value));\n }\n\n /**\n * Looks for matching children using deep equality\n * @param value\n * @returns {boolean}\n * @see includes\n * @deprecated method was replaced by includes\n */\n contains(value) {\n return this.includes(value);\n }\n\n // Fantasy Land\n\n /**\n * @returns {ArrayElement} An empty array element\n */\n empty() {\n return new this.constructor([]);\n }\n\n ['fantasy-land/empty']() {\n return this.empty();\n }\n\n /**\n * @param {ArrayElement} other\n * @returns {ArrayElement}\n */\n concat(other) {\n return new this.constructor(this.content.concat(other.content));\n }\n\n ['fantasy-land/concat'](other) {\n return this.concat(other);\n }\n\n ['fantasy-land/map'](transform) {\n return new this.constructor(this.map(transform));\n }\n\n ['fantasy-land/chain'](transform) {\n return this\n .map(element => transform(element), this)\n .reduce((a, b) => a.concat(b), this.empty());\n }\n\n ['fantasy-land/filter'](callback) {\n return new this.constructor(this.content.filter(callback));\n }\n\n ['fantasy-land/reduce'](transform, initialValue) {\n return this.content.reduce(transform, initialValue);\n }\n\n /**\n * Returns the length of the collection\n * @type number\n */\n get length() {\n return this.content.length;\n }\n\n /**\n * Returns whether the collection is empty\n * @type boolean\n */\n get isEmpty() {\n return this.content.length === 0;\n }\n\n /**\n * Return the first item in the collection\n * @type Element\n */\n get first() {\n return this.getIndex(0);\n }\n\n /**\n * Return the second item in the collection\n * @type Element\n */\n get second() {\n return this.getIndex(1);\n }\n\n /**\n * Return the last item in the collection\n * @type Element\n */\n get last() {\n return this.getIndex(this.length - 1);\n }\n}\n\n/**\n * @returns {ArrayElement} An empty array element\n */\nArrayElement.empty = function empty() {\n return new this();\n};\n\nArrayElement['fantasy-land/empty'] = ArrayElement.empty;\n\nif (typeof Symbol !== 'undefined') {\n ArrayElement.prototype[Symbol.iterator] = function symbol() {\n return this.content[Symbol.iterator]();\n };\n}\n\nmodule.exports = ArrayElement;\n","const Element = require('./Element');\n\n/**\n * @class BooleanElement\n *\n * @param {boolean} content\n * @param meta\n * @param attributes\n */\nmodule.exports = class BooleanElement extends Element {\n constructor(content, meta, attributes) {\n super(content, meta, attributes);\n this.element = 'boolean';\n }\n\n primitive() {\n return 'boolean';\n }\n};\n","const isEqual = require('lodash/isEqual');\nconst KeyValuePair = require('../KeyValuePair');\nconst ArraySlice = require('../ArraySlice.js');\n\n/**\n * @class\n *\n * @param content\n * @param meta\n * @param attributes\n *\n * @property {string} element\n */\nclass Element {\n constructor(content, meta, attributes) {\n // Lazy load this.meta and this.attributes because it's a Minim element\n // Otherwise, we get into circuluar calls\n if (meta) {\n this.meta = meta;\n }\n\n if (attributes) {\n this.attributes = attributes;\n }\n\n this.content = content;\n }\n\n /**\n * Freezes the element to prevent any mutation.\n * A frozen element will add `parent` property to every child element\n * to allow traversing up the element tree.\n */\n freeze() {\n if (Object.isFrozen(this)) {\n return;\n }\n\n if (this._meta) {\n this.meta.parent = this;\n this.meta.freeze();\n }\n\n if (this._attributes) {\n this.attributes.parent = this;\n this.attributes.freeze();\n }\n\n this.children.forEach((element) => {\n element.parent = this;\n element.freeze();\n }, this);\n\n if (this.content && Array.isArray(this.content)) {\n Object.freeze(this.content);\n }\n\n Object.freeze(this);\n }\n\n primitive() {\n\n }\n\n /**\n * Creates a deep clone of the instance\n */\n clone() {\n const copy = new this.constructor();\n\n copy.element = this.element;\n\n if (this.meta.length) {\n copy._meta = this.meta.clone();\n }\n\n if (this.attributes.length) {\n copy._attributes = this.attributes.clone();\n }\n\n if (this.content) {\n if (this.content.clone) {\n copy.content = this.content.clone();\n } else if (Array.isArray(this.content)) {\n copy.content = this.content.map(element => element.clone());\n } else {\n copy.content = this.content;\n }\n } else {\n copy.content = this.content;\n }\n\n return copy;\n }\n\n /**\n */\n toValue() {\n if (this.content instanceof Element) {\n return this.content.toValue();\n }\n\n if (this.content instanceof KeyValuePair) {\n return {\n key: this.content.key.toValue(),\n value: this.content.value ? this.content.value.toValue() : undefined,\n };\n }\n\n if (this.content && this.content.map) {\n return this.content.map(element => element.toValue(), this);\n }\n\n return this.content;\n }\n\n /**\n * Creates a reference pointing at the Element\n * @returns {RefElement}\n * @memberof Element.prototype\n */\n toRef(path) {\n if (this.id.toValue() === '') {\n throw Error('Cannot create reference to an element that does not contain an ID');\n }\n\n const ref = new this.RefElement(this.id.toValue());\n\n if (path) {\n ref.path = path;\n }\n\n return ref;\n }\n\n /**\n * Finds the given elements in the element tree.\n * When providing multiple element names, you must first freeze the element.\n *\n * @param names {...elementNames}\n * @returns {ArraySlice}\n */\n findRecursive(...elementNames) {\n if (arguments.length > 1 && !this.isFrozen) {\n throw new Error('Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`');\n }\n\n const elementName = elementNames.pop();\n let elements = new ArraySlice();\n\n const append = (array, element) => {\n array.push(element);\n return array;\n };\n\n // Checks the given element and appends element/sub-elements\n // that match element name to given array\n const checkElement = (array, element) => {\n if (element.element === elementName) {\n array.push(element);\n }\n\n const items = element.findRecursive(elementName);\n if (items) {\n items.reduce(append, array);\n }\n\n if (element.content instanceof KeyValuePair) {\n if (element.content.key) {\n checkElement(array, element.content.key);\n }\n\n if (element.content.value) {\n checkElement(array, element.content.value);\n }\n }\n\n return array;\n };\n\n if (this.content) {\n // Direct Element\n if (this.content.element) {\n checkElement(elements, this.content);\n }\n\n // Element Array\n if (Array.isArray(this.content)) {\n this.content.reduce(checkElement, elements);\n }\n }\n\n if (!elementNames.isEmpty) {\n elements = elements.filter((element) => {\n let parentElements = element.parents.map(e => e.element);\n\n // eslint-disable-next-line no-restricted-syntax\n for (const namesIndex in elementNames) {\n const name = elementNames[namesIndex];\n const index = parentElements.indexOf(name);\n\n if (index !== -1) {\n parentElements = parentElements.splice(0, index);\n } else {\n return false;\n }\n }\n\n return true;\n });\n }\n\n return elements;\n }\n\n set(content) {\n this.content = content;\n return this;\n }\n\n equals(value) {\n return isEqual(this.toValue(), value);\n }\n\n getMetaProperty(name, value) {\n if (!this.meta.hasKey(name)) {\n if (this.isFrozen) {\n const element = this.refract(value);\n element.freeze();\n return element;\n }\n\n this.meta.set(name, value);\n }\n\n return this.meta.get(name);\n }\n\n setMetaProperty(name, value) {\n this.meta.set(name, value);\n }\n\n /**\n * @type String\n */\n get element() {\n // Returns 'element' so we don't have undefined as element\n return this._storedElement || 'element';\n }\n\n set element(element) {\n this._storedElement = element;\n }\n\n get content() {\n return this._content;\n }\n\n set content(value) {\n if (value instanceof Element) {\n this._content = value;\n } else if (value instanceof ArraySlice) {\n this.content = value.elements;\n } else if (\n typeof value == 'string'\n || typeof value == 'number'\n || typeof value == 'boolean'\n || value === 'null'\n || value == undefined\n ) {\n // Primitive Values\n this._content = value;\n } else if (value instanceof KeyValuePair) {\n this._content = value;\n } else if (Array.isArray(value)) {\n this._content = value.map(this.refract);\n } else if (typeof value === 'object') {\n this._content = Object.keys(value).map(key => new this.MemberElement(key, value[key]));\n } else {\n throw new Error('Cannot set content to given value');\n }\n }\n\n /**\n * @type ObjectElement\n */\n get meta() {\n if (!this._meta) {\n if (this.isFrozen) {\n const meta = new this.ObjectElement();\n meta.freeze();\n return meta;\n }\n\n this._meta = new this.ObjectElement();\n }\n\n return this._meta;\n }\n\n set meta(value) {\n if (value instanceof this.ObjectElement) {\n this._meta = value;\n } else {\n this.meta.set(value || {});\n }\n }\n\n /**\n * The attributes property defines attributes about the given instance\n * of the element, as specified by the element property.\n *\n * @type ObjectElement\n */\n get attributes() {\n if (!this._attributes) {\n if (this.isFrozen) {\n const meta = new this.ObjectElement();\n meta.freeze();\n return meta;\n }\n\n this._attributes = new this.ObjectElement();\n }\n\n return this._attributes;\n }\n\n set attributes(value) {\n if (value instanceof this.ObjectElement) {\n this._attributes = value;\n } else {\n this.attributes.set(value || {});\n }\n }\n\n /**\n * Unique Identifier, MUST be unique throughout an entire element tree.\n * @type StringElement\n */\n get id() {\n return this.getMetaProperty('id', '');\n }\n\n set id(element) {\n this.setMetaProperty('id', element);\n }\n\n /**\n * @type ArrayElement\n */\n get classes() {\n return this.getMetaProperty('classes', []);\n }\n\n set classes(element) {\n this.setMetaProperty('classes', element);\n }\n\n /**\n * Human-readable title of element\n * @type StringElement\n */\n get title() {\n return this.getMetaProperty('title', '');\n }\n\n set title(element) {\n this.setMetaProperty('title', element);\n }\n\n /**\n * Human-readable description of element\n * @type StringElement\n */\n get description() {\n return this.getMetaProperty('description', '');\n }\n\n set description(element) {\n this.setMetaProperty('description', element);\n }\n\n /**\n * @type ArrayElement\n */\n get links() {\n return this.getMetaProperty('links', []);\n }\n\n set links(element) {\n this.setMetaProperty('links', element);\n }\n\n /**\n * Returns whether the element is frozen.\n * @type boolean\n * @see freeze\n */\n get isFrozen() {\n return Object.isFrozen(this);\n }\n\n /**\n * Returns all of the parent elements.\n * @type ArraySlice\n */\n get parents() {\n let { parent } = this;\n const parents = new ArraySlice();\n\n while (parent) {\n parents.push(parent);\n\n // eslint-disable-next-line prefer-destructuring\n parent = parent.parent;\n }\n\n return parents;\n }\n\n /**\n * Returns all of the children elements found within the element.\n * @type ArraySlice\n * @see recursiveChildren\n */\n get children() {\n if (Array.isArray(this.content)) {\n return new ArraySlice(this.content);\n }\n\n if (this.content instanceof KeyValuePair) {\n const children = new ArraySlice([this.content.key]);\n\n if (this.content.value) {\n children.push(this.content.value);\n }\n\n return children;\n }\n\n if (this.content instanceof Element) {\n return new ArraySlice([this.content]);\n }\n\n return new ArraySlice();\n }\n\n /**\n * Returns all of the children elements found within the element recursively.\n * @type ArraySlice\n * @see children\n */\n get recursiveChildren() {\n const children = new ArraySlice();\n\n this.children.forEach((element) => {\n children.push(element);\n\n element.recursiveChildren.forEach((child) => {\n children.push(child);\n });\n });\n\n return children;\n }\n}\n\nmodule.exports = Element;\n","const KeyValuePair = require('../KeyValuePair');\nconst Element = require('./Element');\n\n/**\n * @class MemberElement\n *\n * @param {Element} key\n * @param {Element} value\n * @param meta\n * @param attributes\n */\nmodule.exports = class MemberElement extends Element {\n constructor(key, value, meta, attributes) {\n super(new KeyValuePair(), meta, attributes);\n\n this.element = 'member';\n this.key = key;\n this.value = value;\n }\n\n /**\n * @type Element\n */\n get key() {\n return this.content.key;\n }\n\n set key(key) {\n this.content.key = this.refract(key);\n }\n\n /**\n * @type Element\n */\n get value() {\n return this.content.value;\n }\n\n set value(value) {\n this.content.value = this.refract(value);\n }\n};\n","const Element = require('./Element');\n\n/**\n */\nclass NullElement extends Element {\n constructor(content, meta, attributes) {\n super(content || null, meta, attributes);\n this.element = 'null';\n }\n\n primitive() {\n return 'null';\n }\n\n set() {\n return new Error('Cannot set the value of null');\n }\n}\n\nmodule.exports = NullElement;\n","const Element = require('./Element');\n\n/**\n * @class NumberElement\n *\n * @param {number} content\n * @param meta\n * @param attributes\n */\nmodule.exports = class NumberElement extends Element {\n constructor(content, meta, attributes) {\n super(content, meta, attributes);\n this.element = 'number';\n }\n\n primitive() {\n return 'number';\n }\n};\n","const negate = require('lodash/negate');\nconst isObject = require('lodash/isObject');\n\nconst ArrayElement = require('./ArrayElement');\nconst MemberElement = require('./MemberElement');\nconst ObjectSlice = require('../ObjectSlice');\n\n/**\n * @class\n *\n * @param content\n * @param meta\n * @param attributes\n */\nclass ObjectElement extends ArrayElement {\n constructor(content, meta, attributes) {\n super(content || [], meta, attributes);\n this.element = 'object';\n }\n\n primitive() {\n return 'object';\n }\n\n toValue() {\n return this.content.reduce((results, el) => {\n results[el.key.toValue()] = el.value ? el.value.toValue() : undefined;\n return results;\n }, {});\n }\n\n /**\n * @param key\n * @returns {Element}\n */\n get(name) {\n const member = this.getMember(name);\n\n if (member) {\n return member.value;\n }\n\n return undefined;\n }\n\n /**\n * @param key\n * @returns {MemberElement}\n */\n getMember(name) {\n if (name === undefined) { return undefined; }\n\n return this.content.find(element => element.key.toValue() === name);\n }\n\n /**\n * @param key\n */\n remove(name) {\n let removed = null;\n\n this.content = this.content.filter((item) => {\n if (item.key.toValue() === name) {\n removed = item;\n return false;\n }\n\n return true;\n });\n\n return removed;\n }\n\n /**\n * @param key\n * @returns {Element}\n */\n getKey(name) {\n const member = this.getMember(name);\n\n if (member) {\n return member.key;\n }\n\n return undefined;\n }\n\n /**\n * Set allows either a key/value pair to be given or an object\n * If an object is given, each key is set to its respective value\n */\n set(keyOrObject, value) {\n if (isObject(keyOrObject)) {\n Object.keys(keyOrObject).forEach((objectKey) => {\n this.set(objectKey, keyOrObject[objectKey]);\n });\n\n return this;\n }\n\n // Store as key for clarity\n const key = keyOrObject;\n const member = this.getMember(key);\n\n if (member) {\n member.value = value;\n } else {\n this.content.push(new MemberElement(key, value));\n }\n\n return this;\n }\n\n /**\n */\n keys() {\n return this.content.map(item => item.key.toValue());\n }\n\n /**\n */\n values() {\n return this.content.map(item => item.value.toValue());\n }\n\n /**\n * @returns {boolean}\n */\n hasKey(value) {\n return this.content.some(member => member.key.equals(value));\n }\n\n /**\n * @returns {array}\n */\n items() {\n return this.content.map(item => [item.key.toValue(), item.value.toValue()]);\n }\n\n /**\n * @param callback\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n */\n map(callback, thisArg) {\n return this.content.map(item => callback.bind(thisArg)(item.value, item.key, item));\n }\n\n /**\n * Returns an array containing the truthy results of calling the given transformation with each element of this sequence\n * @param transform - A closure that accepts the value, key and member element of this object as its argument and returns an optional value.\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n * @returns An array of the non-undefined results of calling transform with each element of the array\n */\n compactMap(callback, thisArg) {\n const results = [];\n\n this.forEach((value, key, member) => {\n const result = callback.bind(thisArg)(value, key, member);\n\n if (result) {\n results.push(result);\n }\n });\n\n return results;\n }\n\n /**\n * @param callback\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n *\n * @returns {ObjectSlice}\n */\n filter(callback, thisArg) {\n return new ObjectSlice(this.content).filter(callback, thisArg);\n }\n\n /**\n * @param callback\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n *\n * @returns {ObjectSlice}\n *\n * @memberof ObjectElement.prototype\n */\n reject(callback, thisArg) {\n return this.filter(negate(callback), thisArg);\n }\n\n /**\n * @param callback\n * @param thisArg - Value to use as this (i.e the reference Object) when executing callback\n *\n * @memberof ObjectElement.prototype\n */\n forEach(callback, thisArg) {\n return this.content.forEach(item => callback.bind(thisArg)(item.value, item.key, item));\n }\n}\n\nmodule.exports = ObjectElement;\n","const Element = require('./Element');\n\n/**\n * @class StringElement\n *\n * @param {string} content\n * @param meta\n * @param attributes\n */\nmodule.exports = class StringElement extends Element {\n constructor(content, meta, attributes) {\n super(content, meta, attributes);\n this.element = 'string';\n }\n\n primitive() {\n return 'string';\n }\n\n /**\n * The length of the string.\n * @type number\n */\n get length() {\n return this.content.length;\n }\n};\n","const JSONSerialiser = require('./JSONSerialiser');\n\nmodule.exports = class JSON06Serialiser extends JSONSerialiser {\n serialise(element) {\n if (!(element instanceof this.namespace.elements.Element)) {\n throw new TypeError(`Given element \\`${element}\\` is not an Element instance`);\n }\n\n let variable;\n if (element._attributes && element.attributes.get('variable')) {\n variable = element.attributes.get('variable');\n }\n\n const payload = {\n element: element.element,\n };\n\n if (element._meta && element._meta.length > 0) {\n payload.meta = this.serialiseObject(element.meta);\n }\n\n const isEnum = (element.element === 'enum' || element.attributes.keys().indexOf('enumerations') !== -1);\n\n if (isEnum) {\n const attributes = this.enumSerialiseAttributes(element);\n\n if (attributes) {\n payload.attributes = attributes;\n }\n } else if (element._attributes && element._attributes.length > 0) {\n let { attributes } = element;\n\n // Meta attribute was renamed to metadata\n if (attributes.get('metadata')) {\n attributes = attributes.clone();\n attributes.set('meta', attributes.get('metadata'));\n attributes.remove('metadata');\n }\n\n if (element.element === 'member' && variable) {\n attributes = attributes.clone();\n attributes.remove('variable');\n }\n\n if (attributes.length > 0) {\n payload.attributes = this.serialiseObject(attributes);\n }\n }\n\n if (isEnum) {\n payload.content = this.enumSerialiseContent(element, payload);\n } else if (this[`${element.element}SerialiseContent`]) {\n payload.content = this[`${element.element}SerialiseContent`](element, payload);\n } else if (element.content !== undefined) {\n let content;\n\n if (variable && element.content.key) {\n content = element.content.clone();\n content.key.attributes.set('variable', variable);\n content = this.serialiseContent(content);\n } else {\n content = this.serialiseContent(element.content);\n }\n\n if (this.shouldSerialiseContent(element, content)) {\n payload.content = content;\n }\n } else if (this.shouldSerialiseContent(element, element.content) && element instanceof this.namespace.elements.Array) {\n payload.content = [];\n }\n\n return payload;\n }\n\n shouldSerialiseContent(element, content) {\n if (element.element === 'parseResult' || element.element === 'httpRequest'\n || element.element === 'httpResponse' || element.element === 'category'\n || element.element === 'link') {\n return true;\n }\n\n if (content === undefined) {\n return false;\n }\n\n if (Array.isArray(content) && content.length === 0) {\n return false;\n }\n\n return true;\n }\n\n refSerialiseContent(element, payload) {\n delete payload.attributes;\n\n return {\n href: element.toValue(),\n path: element.path.toValue(),\n };\n }\n\n sourceMapSerialiseContent(element) {\n return element.toValue();\n }\n\n dataStructureSerialiseContent(element) {\n return [this.serialiseContent(element.content)];\n }\n\n enumSerialiseAttributes(element) {\n const attributes = element.attributes.clone();\n\n // Enumerations attribute was is placed inside content (see `enumSerialiseContent` below)\n const enumerations = attributes.remove('enumerations') || new this.namespace.elements.Array([]);\n\n // Remove fixed type attribute from samples and default\n const defaultValue = attributes.get('default');\n let samples = attributes.get('samples') || new this.namespace.elements.Array([]);\n\n if (defaultValue && defaultValue.content) {\n if (defaultValue.content.attributes) {\n defaultValue.content.attributes.remove('typeAttributes');\n }\n // Wrap default in array (not sure it is really needed because tests pass without this line)\n attributes.set('default', new this.namespace.elements.Array([defaultValue.content]));\n }\n\n // Strip typeAttributes from samples, 0.6 doesn't usually contain them in samples\n samples.forEach((sample) => {\n if (sample.content && sample.content.element) {\n sample.content.attributes.remove('typeAttributes');\n }\n });\n\n // Content -> Samples\n if (element.content && enumerations.length !== 0) {\n // If we don't have enumerations, content should stay in\n // content (enumerations) as per Drafter 3 behaviour.\n samples.unshift(element.content);\n }\n\n samples = samples.map((sample) => {\n if (sample instanceof this.namespace.elements.Array) {\n return [sample];\n }\n\n return new this.namespace.elements.Array([sample.content]);\n });\n\n if (samples.length) {\n attributes.set('samples', samples);\n }\n\n if (attributes.length > 0) {\n return this.serialiseObject(attributes);\n }\n\n return undefined;\n }\n\n enumSerialiseContent(element) {\n // In API Elements < 1.0, the content is the enumerations\n // If we don't have an enumerations, use the value (Drafter 3 behaviour)\n\n if (element._attributes) {\n const enumerations = element.attributes.get('enumerations');\n\n if (enumerations && enumerations.length > 0) {\n return enumerations.content.map((enumeration) => {\n const e = enumeration.clone();\n e.attributes.remove('typeAttributes');\n return this.serialise(e);\n });\n }\n }\n\n if (element.content) {\n const value = element.content.clone();\n value.attributes.remove('typeAttributes');\n return [this.serialise(value)];\n }\n\n return [];\n }\n\n deserialise(value) {\n if (typeof value === 'string') {\n return new this.namespace.elements.String(value);\n }\n\n if (typeof value === 'number') {\n return new this.namespace.elements.Number(value);\n }\n\n if (typeof value === 'boolean') {\n return new this.namespace.elements.Boolean(value);\n }\n\n if (value === null) {\n return new this.namespace.elements.Null();\n }\n\n if (Array.isArray(value)) {\n return new this.namespace.elements.Array(value.map(this.deserialise, this));\n }\n\n const ElementClass = this.namespace.getElementClass(value.element);\n const element = new ElementClass();\n\n if (element.element !== value.element) {\n element.element = value.element;\n }\n\n if (value.meta) {\n this.deserialiseObject(value.meta, element.meta);\n }\n\n if (value.attributes) {\n this.deserialiseObject(value.attributes, element.attributes);\n }\n\n const content = this.deserialiseContent(value.content);\n if (content !== undefined || element.content === null) {\n element.content = content;\n }\n\n if (element.element === 'enum') {\n // Grab enumerations from content\n if (element.content) {\n element.attributes.set('enumerations', element.content);\n }\n\n // Unwrap the sample value (inside double array)\n let samples = element.attributes.get('samples');\n element.attributes.remove('samples');\n\n if (samples) {\n // Re-wrap samples from array of array to array of enum's\n\n const existingSamples = samples;\n\n samples = new this.namespace.elements.Array();\n existingSamples.forEach((existingSample) => {\n existingSample.forEach((sample) => {\n const enumElement = new ElementClass(sample);\n enumElement.element = element.element;\n samples.push(enumElement);\n });\n });\n\n const sample = samples.shift();\n\n if (sample) {\n element.content = sample.content;\n } else {\n element.content = undefined;\n }\n\n element.attributes.set('samples', samples);\n } else {\n element.content = undefined;\n }\n\n // Unwrap the default value\n let defaultValue = element.attributes.get('default');\n if (defaultValue && defaultValue.length > 0) {\n defaultValue = defaultValue.get(0);\n const defaultElement = new ElementClass(defaultValue);\n defaultElement.element = element.element;\n element.attributes.set('default', defaultElement);\n }\n } else if (element.element === 'dataStructure' && Array.isArray(element.content)) {\n [element.content] = element.content;\n } else if (element.element === 'category') {\n // \"meta\" attribute has been renamed to metadata\n const metadata = element.attributes.get('meta');\n\n if (metadata) {\n element.attributes.set('metadata', metadata);\n element.attributes.remove('meta');\n }\n } else if (element.element === 'member' && element.key && element.key._attributes && element.key._attributes.getValue('variable')) {\n element.attributes.set('variable', element.key.attributes.get('variable'));\n element.key.attributes.remove('variable');\n }\n\n return element;\n }\n\n // Private API\n\n serialiseContent(content) {\n if (content instanceof this.namespace.elements.Element) {\n return this.serialise(content);\n }\n\n if (content instanceof this.namespace.KeyValuePair) {\n const pair = {\n key: this.serialise(content.key),\n };\n\n if (content.value) {\n pair.value = this.serialise(content.value);\n }\n\n return pair;\n }\n\n if (content && content.map) {\n return content.map(this.serialise, this);\n }\n\n return content;\n }\n\n deserialiseContent(content) {\n if (content) {\n if (content.element) {\n return this.deserialise(content);\n }\n\n if (content.key) {\n const pair = new this.namespace.KeyValuePair(this.deserialise(content.key));\n\n if (content.value) {\n pair.value = this.deserialise(content.value);\n }\n\n return pair;\n }\n\n if (content.map) {\n return content.map(this.deserialise, this);\n }\n }\n\n return content;\n }\n\n shouldRefract(element) {\n if ((element._attributes && element.attributes.keys().length) || (element._meta && element.meta.keys().length)) {\n return true;\n }\n\n if (element.element === 'enum') {\n // enum elements are treated like primitives (array)\n return false;\n }\n\n if (element.element !== element.primitive() || element.element === 'member') {\n return true;\n }\n\n return false;\n }\n\n convertKeyToRefract(key, item) {\n if (this.shouldRefract(item)) {\n return this.serialise(item);\n }\n\n if (item.element === 'enum') {\n return this.serialiseEnum(item);\n }\n\n if (item.element === 'array') {\n return item.map((subItem) => {\n if (this.shouldRefract(subItem) || key === 'default') {\n return this.serialise(subItem);\n }\n\n if (subItem.element === 'array' || subItem.element === 'object' || subItem.element === 'enum') {\n // items for array or enum inside array are always serialised\n return subItem.children.map(subSubItem => this.serialise(subSubItem));\n }\n\n return subItem.toValue();\n });\n }\n\n if (item.element === 'object') {\n return (item.content || []).map(this.serialise, this);\n }\n\n return item.toValue();\n }\n\n serialiseEnum(element) {\n return element.children.map(item => this.serialise(item));\n }\n\n serialiseObject(obj) {\n const result = {};\n\n obj.forEach((value, key) => {\n if (value) {\n const keyValue = key.toValue();\n result[keyValue] = this.convertKeyToRefract(keyValue, value);\n }\n });\n\n return result;\n }\n\n deserialiseObject(from, to) {\n Object.keys(from).forEach((key) => {\n to.set(key, this.deserialise(from[key]));\n });\n }\n};\n","/**\n * @class JSONSerialiser\n *\n * @param {Namespace} namespace\n *\n * @property {Namespace} namespace\n */\nclass JSONSerialiser {\n constructor(namespace) {\n this.namespace = namespace || new this.Namespace();\n }\n\n /**\n * @param {Element} element\n * @returns {object}\n */\n serialise(element) {\n if (!(element instanceof this.namespace.elements.Element)) {\n throw new TypeError(`Given element \\`${element}\\` is not an Element instance`);\n }\n\n const payload = {\n element: element.element,\n };\n\n if (element._meta && element._meta.length > 0) {\n payload.meta = this.serialiseObject(element.meta);\n }\n\n if (element._attributes && element._attributes.length > 0) {\n payload.attributes = this.serialiseObject(element.attributes);\n }\n\n const content = this.serialiseContent(element.content);\n\n if (content !== undefined) {\n payload.content = content;\n }\n\n return payload;\n }\n\n /**\n * @param {object} value\n * @returns {Element}\n */\n deserialise(value) {\n if (!value.element) {\n throw new Error('Given value is not an object containing an element name');\n }\n\n const ElementClass = this.namespace.getElementClass(value.element);\n const element = new ElementClass();\n\n if (element.element !== value.element) {\n element.element = value.element;\n }\n\n if (value.meta) {\n this.deserialiseObject(value.meta, element.meta);\n }\n\n if (value.attributes) {\n this.deserialiseObject(value.attributes, element.attributes);\n }\n\n const content = this.deserialiseContent(value.content);\n if (content !== undefined || element.content === null) {\n element.content = content;\n }\n\n return element;\n }\n\n // Private API\n\n serialiseContent(content) {\n if (content instanceof this.namespace.elements.Element) {\n return this.serialise(content);\n }\n\n if (content instanceof this.namespace.KeyValuePair) {\n const pair = {\n key: this.serialise(content.key),\n };\n\n if (content.value) {\n pair.value = this.serialise(content.value);\n }\n\n return pair;\n }\n\n if (content && content.map) {\n if (content.length === 0) {\n return undefined;\n }\n\n return content.map(this.serialise, this);\n }\n\n return content;\n }\n\n deserialiseContent(content) {\n if (content) {\n if (content.element) {\n return this.deserialise(content);\n }\n\n if (content.key) {\n const pair = new this.namespace.KeyValuePair(this.deserialise(content.key));\n\n if (content.value) {\n pair.value = this.deserialise(content.value);\n }\n\n return pair;\n }\n\n if (content.map) {\n return content.map(this.deserialise, this);\n }\n }\n\n return content;\n }\n\n serialiseObject(obj) {\n const result = {};\n\n obj.forEach((value, key) => {\n if (value) {\n result[key.toValue()] = this.serialise(value);\n }\n });\n\n if (Object.keys(result).length === 0) {\n return undefined;\n }\n\n return result;\n }\n\n deserialiseObject(from, to) {\n Object.keys(from).forEach((key) => {\n to.set(key, this.deserialise(from[key]));\n });\n }\n}\n\n\nmodule.exports = JSONSerialiser;\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","import { bind, curryN } from 'ramda';\n\n/**\n * Composable shortcut for `Promise.all`.\n *\n * The `allP` method returns a single Promise that resolves when all of the promises\n * in the iterable argument have resolved or when the iterable argument contains no promises.\n * It rejects with the reason of the first promise that rejects.\n *\n * @func allP\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.3.0|v2.3.0}\n * @category Function\n * @sig [Promise a] -> Promise [a]\n * @param {Iterable.<*>} iterable An iterable object such as an Array or String\n * @return {Promise} An already resolved Promise if the iterable passed is empty. An asynchronously resolved Promise if the iterable passed contains no promises. Note, Google Chrome 58 returns an already resolved promise in this case. A pending Promise in all other cases. This returned promise is then resolved/rejected asynchronously (as soon as the stack is empty) when all the promises in the given iterable have resolved, or if any of the promises reject. See the example about \"Asynchronicity or synchronicity of allP\" below.\n * @see {@link RA.resolveP|resolveP}, {@link RA.rejectP|rejectP}\n * @example\n *\n * RA.allP([1, 2]); //=> Promise([1, 2])\n * RA.allP([1, Promise.resolve(2)]); //=> Promise([1, 2])\n * RA.allP([Promise.resolve(1), Promise.resolve(2)]); //=> Promise([1, 2])\n * RA.allP([1, Promise.reject(2)]); //=> Promise(2)\n */\nvar allP = curryN(1, bind(Promise.all, Promise));\nexport default allP;","import { concat, flip } from 'ramda';\n\n/**\n * Returns the result of concatenating the given lists or strings.\n *\n * Note: R.concat expects both arguments to be of the same type, unlike\n * the native Array.prototype.concat method.\n * It will throw an error if you concat an Array with a non-Array value.\n * Dispatches to the concat method of the second argument, if present.\n *\n * @func concatRight\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/1.11.0|v1.11.0}\n * @category List\n * @sig [a] -> [a] -> [a]\n * @sig String -> String -> String\n * @param {Array|String} firstList The first list\n * @param {Array|String} secondList The second list\n * @return {Array|String} A list consisting of the elements of `secondList`\n * followed by the elements of `firstList`.\n * @see {@link http://ramdajs.com/docs/#concat|R.concat}\n * @example\n *\n * RA.concatRight('ABC', 'DEF'); //=> 'DEFABC'\n * RA.concatRight([4, 5, 6], [1, 2, 3]); //=> [1, 2, 3, 4, 5, 6]\n * RA.concatRight([], []); //=> []\n */\nvar concatRight = flip(concat);\nexport default concatRight;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * Makes a comparator function out of a function that reports whether the first\n * element is less than the second.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((a, b) -> Boolean) -> ((a, b) -> Number)\n * @param {Function} pred A predicate function of arity two which will return `true` if the first argument\n * is less than the second, `false` otherwise\n * @return {Function} A Function :: a -> b -> Int that returns `-1` if a < b, `1` if b < a, otherwise `0`\n * @example\n *\n * const byAge = R.comparator((a, b) => a.age < b.age);\n * const people = [\n * { name: 'Emma', age: 70 },\n * { name: 'Peter', age: 78 },\n * { name: 'Mikhail', age: 62 },\n * ];\n * const peopleByIncreasingAge = R.sort(byAge, people);\n * //=> [{ name: 'Mikhail', age: 62 },{ name: 'Emma', age: 70 }, { name: 'Peter', age: 78 }]\n */\n\nvar comparator =\n/*#__PURE__*/\n_curry1(function comparator(pred) {\n return function (a, b) {\n return pred(a, b) ? -1 : pred(b, a) ? 1 : 0;\n };\n});\n\nexport default comparator;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns a copy of the list, sorted according to the comparator function,\n * which should accept two values at a time and return a negative number if the\n * first value is smaller, a positive number if it's larger, and zero if they\n * are equal. Please note that this is a **copy** of the list. It does not\n * modify the original.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, a) -> Number) -> [a] -> [a]\n * @param {Function} comparator A sorting function :: a -> b -> Int\n * @param {Array} list The list to sort\n * @return {Array} a new array with its elements sorted by the comparator function.\n * @see R.ascend, R.descend\n * @example\n *\n * const diff = function(a, b) { return a - b; };\n * R.sort(diff, [4,2,7,5]); //=> [2, 4, 5, 7]\n */\n\nvar sort =\n/*#__PURE__*/\n_curry2(function sort(comparator, list) {\n return Array.prototype.slice.call(list, 0).sort(comparator);\n});\n\nexport default sort;","import _curry1 from \"./internal/_curry1.js\";\nimport _reduced from \"./internal/_reduced.js\";\n/**\n * Returns a value wrapped to indicate that it is the final value of the reduce\n * and transduce functions. The returned value should be considered a black\n * box: the internal structure is not guaranteed to be stable.\n *\n * This optimization is available to the below functions:\n * - [`reduce`](#reduce)\n * - [`reduceWhile`](#reduceWhile)\n * - [`reduceBy`](#reduceBy)\n * - [`reduceRight`](#reduceRight)\n * - [`transduce`](#transduce)\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category List\n * @sig a -> *\n * @param {*} x The final value of the reduce.\n * @return {*} The wrapped value.\n * @see R.reduce, R.reduceWhile, R.reduceBy, R.reduceRight, R.transduce\n * @example\n *\n * R.reduce(\n * (acc, item) => item > 3 ? R.reduced(acc) : acc.concat(item),\n * [],\n * [1, 2, 3, 4, 5]) // [1, 2, 3]\n */\n\nvar reduced =\n/*#__PURE__*/\n_curry1(_reduced);\n\nexport default reduced;","import { isNil, complement } from 'ramda';\n\n/**\n * Checks if input value is complement of `null` or `undefined`.\n *\n * @func isNotNil\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.3.0|v0.3.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link http://ramdajs.com/docs/#isNil|R.isNil}\n * @example\n *\n * RA.isNotNil(null); //=> false\n * RA.isNotNil(undefined); //=> false\n * RA.isNotNil(0); //=> true\n * RA.isNotNil([]); //=> true\n */\nvar isNotNil = complement(isNil);\nexport default isNotNil;","import { both } from 'ramda';\nimport isNotEmpty from './isNotEmpty';\nimport isArray from './isArray';\n\n/**\n * Checks if input value is not an empty `Array`.\n *\n * @func isNonEmptyArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isEmptyArray|isEmptyArray}\n * @example\n *\n * RA.isNonEmptyArray([42]); // => true\n * RA.isNonEmptyArray([]); // => false\n * RA.isNonEmptyArray({}); // => false\n * RA.isNonEmptyArray(null); // => false\n * RA.isNonEmptyArray(undefined); // => false\n * RA.isNonEmptyArray(42); // => false\n * RA.isNonEmptyArray('42'); // => false\n */\nvar isNonEmptyArray = both(isArray, isNotEmpty);\nexport default isNonEmptyArray;","function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nimport { sort, comparator, prop, pipe, head, curryN, reduce, reduced, curry, ifElse } from 'ramda';\n\n/**\n * Can be used as a way to compose multiple invokers together to form polymorphic functions,\n * or functions that exhibit different behaviors based on their argument(s).\n * Consumes dispatching functions and keep trying to invoke each in turn, until a non-nil value is returned.\n *\n * Accepts a list of dispatching functions and returns a new function.\n * When invoked, this new function is applied to some arguments,\n * each dispatching function is applied to those same arguments until one of the\n * dispatching functions returns a non-nil value.\n *\n * @func dispatch\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.6.0|v2.6.0}\n * @category Function\n * @sig [((a, b, ...) -> x1), ((a, b, ...) -> x2), ...] -> x1 | x2 | ...\n * @param {!Array} functions A list of functions\n * @return {*|undefined} Returns the first not-nil value, or undefined if either an empty list is provided or none of the dispatching functions returns a non-nil value\n * @see {@link RA.isNotNil}\n * @example\n *\n * // returns first non-nil value\n * const stubNil = () => null;\n * const stubUndefined = () => undefined;\n * const addOne = v => v + 1;\n * const addTwo = v => v + 2;\n *\n * RA.dispatch([stubNil, stubUndefined, addOne, addTwo])(1); //=> 2\n *\n * // acts as a switch\n * const fnSwitch = RA.dispatch([\n * R.ifElse(RA.isString, s => `${s}-join`, RA.stubUndefined),\n * R.ifElse(RA.isNumber, n => n + 1, RA.stubUndefined),\n * R.ifElse(RA.isDate, R.T, RA.stubUndefined),\n * ]);\n * fnSwitch(1); //=> 2\n */\nimport isNotNil from './isNotNil';\nimport isNonEmptyArray from './isNonEmptyArray';\nimport stubUndefined from './stubUndefined';\nvar byArity = comparator(function (a, b) {\n return a.length > b.length;\n});\nvar getMaxArity = pipe(sort(byArity), head, prop('length'));\nvar iteratorFn = curry(function (args, accumulator, fn) {\n var result = fn.apply(void 0, _toConsumableArray(args));\n return isNotNil(result) ? reduced(result) : accumulator;\n});\nvar dispatchImpl = function dispatchImpl(functions) {\n var arity = getMaxArity(functions);\n return curryN(arity, function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return reduce(iteratorFn(args), undefined, functions);\n });\n};\nvar dispatch = ifElse(isNonEmptyArray, dispatchImpl, stubUndefined);\nexport default dispatch;","import { when, of } from 'ramda';\nimport isNotArray from './isNotArray';\n\n/**\n * Returns a singleton array containing the value provided.\n * If value is already an array, it is returned as is.\n *\n * @func ensureArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.6.0|v2.6.0}\n * @category List\n * @sig a | [a] -> [a]\n * @param {*|Array} val the value ensure as Array\n * @return {Array}\n * @see {@link http://ramdajs.com/docs/#of|R.of}\n * @example\n *\n * RA.ensureArray(42); //=> [42]\n * RA.ensureArray([42]); //=> [42]\n */\nvar ensureArray = when(isNotArray, of(Array));\nexport default ensureArray;","import _includes from \"./internal/_includes.js\";\nimport _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns `true` if the specified value is equal, in [`R.equals`](#equals)\n * terms, to at least one element of the given list; `false` otherwise.\n * Also works with strings.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category List\n * @sig a -> [a] -> Boolean\n * @param {Object} a The item to compare against.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if an equivalent item is in the list, `false` otherwise.\n * @see R.any\n * @example\n *\n * R.includes(3, [1, 2, 3]); //=> true\n * R.includes(4, [1, 2, 3]); //=> false\n * R.includes({ name: 'Fred' }, [{ name: 'Fred' }]); //=> true\n * R.includes([42], [[42]]); //=> true\n * R.includes('ba', 'banana'); //=>true\n */\n\nvar includes =\n/*#__PURE__*/\n_curry2(_includes);\n\nexport default includes;","import { flip, includes } from 'ramda';\n\n/**\n * Returns true if the specified value is equal, in R.equals terms,\n * to at least one element of the given list or false otherwise.\n * Given list can be a string.\n *\n * Like {@link http://ramdajs.com/docs/#includes|R.includes} but with argument order reversed.\n *\n * @func included\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/3.0.0|v3.0.0}\n * @category List\n * @sig [a] -> a -> Boolean\n * @param {Array|String} list The list to consider\n * @param {*} a The item to compare against\n * @return {boolean} Returns Boolean `true` if an equivalent item is in the list or `false` otherwise\n * @see {@link http://ramdajs.com/docs/#includes|R.includes}\n * @example\n *\n * RA.included([1, 2, 3], 3); //=> true\n * RA.included([1, 2, 3], 4); //=> false\n * RA.included([{ name: 'Fred' }], { name: 'Fred' }); //=> true\n * RA.included([[42]], [42]); //=> true\n */\nvar included = flip(includes);\nexport default included;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar isOfTypeObject = function isOfTypeObject(val) {\n return _typeof(val) === 'object';\n};\nexport default isOfTypeObject;","import slice from \"./slice.js\";\n/**\n * Returns all but the last element of the given list or string.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.last, R.head, R.tail\n * @example\n *\n * R.init([1, 2, 3]); //=> [1, 2]\n * R.init([1, 2]); //=> [1]\n * R.init([1]); //=> []\n * R.init([]); //=> []\n *\n * R.init('abc'); //=> 'ab'\n * R.init('ab'); //=> 'a'\n * R.init('a'); //=> ''\n * R.init(''); //=> ''\n */\n\nvar init =\n/*#__PURE__*/\nslice(0, -1);\nexport default init;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Applies function `fn` to the argument list `args`. This is useful for\n * creating a fixed-arity function from a variadic function. `fn` should be a\n * bound function if context is significant.\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig (*... -> a) -> [*] -> a\n * @param {Function} fn The function which will be called with `args`\n * @param {Array} args The arguments to call `fn` with\n * @return {*} result The result, equivalent to `fn(...args)`\n * @see R.call, R.unapply\n * @example\n *\n * const nums = [1, 2, 3, -99, 42, 6, 7];\n * R.apply(Math.max, nums); //=> 42\n * @symb R.apply(f, [a, b, c]) = f(a, b, c)\n */\n\nvar apply =\n/*#__PURE__*/\n_curry2(function apply(fn, args) {\n return fn.apply(this, args);\n});\n\nexport default apply;","import { both, isEmpty } from 'ramda';\nimport isArray from './isArray';\n\n/**\n * Checks if input value is an empty `Array`.\n *\n * @func isEmptyArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotEmptyArray|isNotEmptyArray}\n * @example\n *\n * RA.isEmptyArray([]); // => true\n * RA.isEmptyArray([42]); // => false\n * RA.isEmptyArray({}); // => false\n * RA.isEmptyArray(null); // => false\n * RA.isEmptyArray(undefined); // => false\n * RA.isEmptyArray(42); // => false\n * RA.isEmptyArray('42'); // => false\n */\nvar isEmptyArray = both(isArray, isEmpty);\nexport default isEmptyArray;","import { curryN, path, apply, init, bind } from 'ramda';\nimport isNotFunction from './isNotFunction';\nimport isEmptyArray from './isEmptyArray';\n\n/**\n * Invokes the method at path of object with given arguments.\n *\n * @func invokeArgs\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.27.0|v2.27.0}\n * @category Object\n * @sig Array -> Array -> Object -> *\n * @param {Array.} path The path of the method to invoke\n * @param {Array} args The arguments to invoke the method with\n * @param {Object} obj The object to query\n * @return {*}\n * @example\n *\n * RA.invokeArgs(['abs'], [-1], Math); //=> 1\n * RA.invokeArgs(['path', 'to', 'non-existent', 'method'], [-1], Math); //=> undefined\n */\n\nvar invokeArgs = curryN(3, function (mpath, args, obj) {\n var method = path(mpath, obj);\n var context = path(init(mpath), obj);\n if (isNotFunction(method)) return undefined;\n if (isEmptyArray(mpath)) return undefined;\n var boundMethod = bind(method, context);\n return apply(boundMethod, args);\n});\nexport default invokeArgs;","import { curryN, pipe, type, identical } from 'ramda';\nimport isFunction from './isFunction';\n\n/**\n * Checks if input value is `Array`.\n *\n * @func isArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.3.0|v0.3.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotArray|isNotArray}\n * @example\n *\n * RA.isArray([]); //=> true\n * RA.isArray(null); //=> false\n * RA.isArray({}); //=> false\n */\nvar isArray = curryN(1, isFunction(Array.isArray) ? Array.isArray : pipe(type, identical('Array')));\nexport default isArray;","import { equals } from 'ramda';\n\n/**\n * Checks if input value is an empty `String`.\n *\n * @func isEmptyString\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotEmptyString|isNotEmptyString}\n * @example\n *\n * RA.isEmptyString(''); // => true\n * RA.isEmptyString('42'); // => false\n * RA.isEmptyString(new String('42')); // => false\n * RA.isEmptyString(new String('')); // => false\n * RA.isEmptyString([42]); // => false\n * RA.isEmptyString({}); // => false\n * RA.isEmptyString(null); // => false\n * RA.isEmptyString(undefined); // => false\n * RA.isEmptyString(42); // => false\n */\nvar isEmptyString = equals('');\nexport default isEmptyString;","import { both } from 'ramda';\nimport isNumber from '../../isNumber';\n\n// eslint-disable-next-line no-restricted-globals\nvar isFinitePonyfill = both(isNumber, isFinite);\nexport default isFinitePonyfill;","import { bind, curryN } from 'ramda';\nimport isFunction from './isFunction';\nimport ponyfill from './internal/ponyfills/Number.isFinite';\nexport var isFinitePonyfill = curryN(1, ponyfill);\n\n/**\n * Checks whether the passed value is a finite `Number`.\n *\n * @func isFinite\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.7.0|v0.7.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotFinite|isNotFinite}\n * @example\n *\n * RA.isFinite(Infinity); //=> false\n * RA.isFinite(NaN); //=> false\n * RA.isFinite(-Infinity); //=> false\n *\n * RA.isFinite(0); // true\n * RA.isFinite(2e64); // true\n *\n * RA.isFinite('0'); // => false\n * // would've been true with global isFinite('0')\n * RA.isFinite(null); // => false\n * // would've been true with global isFinite(null)\n */\nvar _isFinite = isFunction(Number.isFinite) ? curryN(1, bind(Number.isFinite, Number)) : isFinitePonyfill;\nexport default _isFinite;","import _curry1 from \"./internal/_curry1.js\";\nimport curryN from \"./curryN.js\";\nimport max from \"./max.js\";\nimport pluck from \"./pluck.js\";\nimport reduce from \"./reduce.js\";\n/**\n * Takes a list of predicates and returns a predicate that returns true for a\n * given list of arguments if at least one of the provided predicates is\n * satisfied by those arguments.\n *\n * The function returned is a curried function whose arity matches that of the\n * highest-arity predicate.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Logic\n * @sig [(*... -> Boolean)] -> (*... -> Boolean)\n * @param {Array} predicates An array of predicates to check\n * @return {Function} The combined predicate\n * @see R.allPass, R.either\n * @example\n *\n * const isClub = R.propEq('♣', 'suit');\n * const isSpade = R.propEq('♠', 'suit');\n * const isBlackCard = R.anyPass([isClub, isSpade]);\n *\n * isBlackCard({rank: '10', suit: '♣'}); //=> true\n * isBlackCard({rank: 'Q', suit: '♠'}); //=> true\n * isBlackCard({rank: 'Q', suit: '♦'}); //=> false\n */\n\nvar anyPass =\n/*#__PURE__*/\n_curry1(function anyPass(preds) {\n return curryN(reduce(max, 0, pluck('length', preds)), function () {\n var idx = 0;\n var len = preds.length;\n\n while (idx < len) {\n if (preds[idx].apply(this, arguments)) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n });\n});\n\nexport default anyPass;","import { type, identical, pipe, curryN } from 'ramda';\n\n/**\n * Checks if input value is `Generator Function`.\n *\n * @func isGeneratorFunction\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isFunction|isFunction}, {@link RA.isAsyncFunction|isAsyncFunction}, {@link RA.isNotGeneratorFunction|isNotGeneratorFunction}\n * @example\n *\n * RA.isGeneratorFunction(function* test() { }); //=> true\n * RA.isGeneratorFunction(null); //=> false\n * RA.isGeneratorFunction(function test() { }); //=> false\n * RA.isGeneratorFunction(() => {}); //=> false\n */\nvar isGeneratorFunction = curryN(1, pipe(type, identical('GeneratorFunction')));\nexport default isGeneratorFunction;","import { pipe, type, identical, curryN } from 'ramda';\n\n/**\n * Checks if input value is `Async Function`.\n *\n * @func isAsyncFunction\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isFunction|isFunction}, {@link RA.isNotAsyncFunction|isNotAsyncFunction}, {@link RA.isGeneratorFunction|isGeneratorFunction}\n * @example\n *\n * RA.isAsyncFunction(async function test() { }); //=> true\n * RA.isAsyncFunction(null); //=> false\n * RA.isAsyncFunction(function test() { }); //=> false\n * RA.isAsyncFunction(() => {}); //=> false\n */\nvar isAsyncFunction = curryN(1, pipe(type, identical('AsyncFunction')));\nexport default isAsyncFunction;","import { anyPass, type, pipe, identical } from 'ramda';\nimport isGeneratorFunction from './isGeneratorFunction';\nimport isAsyncFunction from './isAsyncFunction';\n\n/**\n * Checks if input value is `Function`.\n *\n * @func isFunction\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotFunction|isNotFunction}, {@link RA.isAsyncFunction|isNotAsyncFunction}, {@link RA.isGeneratorFunction|isGeneratorFunction}\n * @example\n *\n * RA.isFunction(function test() { }); //=> true\n * RA.isFunction(function* test() { }); //=> true\n * RA.isFunction(async function test() { }); //=> true\n * RA.isFunction(() => {}); //=> true\n * RA.isFunction(null); //=> false\n * RA.isFunction('abc'); //=> false\n */\nvar isFunction = anyPass([pipe(type, identical('Function')), isGeneratorFunction, isAsyncFunction]);\nexport default isFunction;","import _curry2 from \"./internal/_curry2.js\";\nimport _map from \"./internal/_map.js\";\nimport curryN from \"./curryN.js\";\nimport max from \"./max.js\";\nimport pluck from \"./pluck.js\";\nimport reduce from \"./reduce.js\";\n/**\n * Accepts a converging function and a list of branching functions and returns\n * a new function. The arity of the new function is the same as the arity of\n * the longest branching function. When invoked, this new function is applied\n * to some arguments, and each branching function is applied to those same\n * arguments. The results of each branching function are passed as arguments\n * to the converging function to produce the return value.\n *\n * @func\n * @memberOf R\n * @since v0.4.2\n * @category Function\n * @sig ((x1, x2, ...) -> z) -> [((a, b, ...) -> x1), ((a, b, ...) -> x2), ...] -> (a -> b -> ... -> z)\n * @param {Function} after A function. `after` will be invoked with the return values of\n * `fn1` and `fn2` as its arguments.\n * @param {Array} functions A list of functions.\n * @return {Function} A new function.\n * @see R.useWith\n * @example\n *\n * const average = R.converge(R.divide, [R.sum, R.length])\n * average([1, 2, 3, 4, 5, 6, 7]) //=> 4\n *\n * const strangeConcat = R.converge(R.concat, [R.toUpper, R.toLower])\n * strangeConcat(\"Yodel\") //=> \"YODELyodel\"\n *\n * @symb R.converge(f, [g, h])(a, b) = f(g(a, b), h(a, b))\n */\n\nvar converge =\n/*#__PURE__*/\n_curry2(function converge(after, fns) {\n return curryN(reduce(max, 0, pluck('length', fns)), function () {\n var args = arguments;\n var context = this;\n return after.apply(context, _map(function (fn) {\n return fn.apply(context, args);\n }, fns));\n });\n});\n\nexport default converge;","export default function _identity(x) {\n return x;\n}","import _curry1 from \"./internal/_curry1.js\";\nimport _identity from \"./internal/_identity.js\";\n/**\n * A function that does nothing but return the parameter supplied to it. Good\n * as a default or placeholder function.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig a -> a\n * @param {*} x The value to return.\n * @return {*} The input value, `x`.\n * @example\n *\n * R.identity(1); //=> 1\n *\n * const obj = {};\n * R.identity(obj) === obj; //=> true\n * @symb R.identity(a) = a\n */\n\nvar identity =\n/*#__PURE__*/\n_curry1(_identity);\n\nexport default identity;","import { both, converge, equals, identity } from 'ramda';\nimport isFinite from '../../isFinite';\nvar isIntegerPonyfill = both(isFinite, converge(equals, [Math.floor, identity]));\nexport default isIntegerPonyfill;","import { bind, curryN } from 'ramda';\nimport isFunction from './isFunction';\nimport ponyfill from './internal/ponyfills/Number.isInteger';\nexport var isIntegerPonyfill = curryN(1, ponyfill);\n\n/**\n * Checks whether the passed value is an `integer`.\n *\n * @func isInteger\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.7.0|v0.7.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotInteger|isNotInteger}\n * @example\n *\n * RA.isInteger(0); //=> true\n * RA.isInteger(1); //=> true\n * RA.isInteger(-100000); //=> true\n *\n * RA.isInteger(0.1); //=> false\n * RA.isInteger(Math.PI); //=> false\n *\n * RA.isInteger(NaN); //=> false\n * RA.isInteger(Infinity); //=> false\n * RA.isInteger(-Infinity); //=> false\n * RA.isInteger('10'); //=> false\n * RA.isInteger(true); //=> false\n * RA.isInteger(false); //=> false\n * RA.isInteger([1]); //=> false\n */\nvar isInteger = isFunction(Number.isInteger) ? curryN(1, bind(Number.isInteger, Number)) : isIntegerPonyfill;\nexport default isInteger;","import _curry1 from \"./internal/_curry1.js\";\nimport curryN from \"./curryN.js\";\nimport max from \"./max.js\";\nimport pluck from \"./pluck.js\";\nimport reduce from \"./reduce.js\";\n/**\n * Takes a list of predicates and returns a predicate that returns true for a\n * given list of arguments if every one of the provided predicates is satisfied\n * by those arguments.\n *\n * The function returned is a curried function whose arity matches that of the\n * highest-arity predicate.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Logic\n * @sig [(*... -> Boolean)] -> (*... -> Boolean)\n * @param {Array} predicates An array of predicates to check\n * @return {Function} The combined predicate\n * @see R.anyPass, R.both\n * @example\n *\n * const isQueen = R.propEq('Q', 'rank');\n * const isSpade = R.propEq('♠︎', 'suit');\n * const isQueenOfSpades = R.allPass([isQueen, isSpade]);\n *\n * isQueenOfSpades({rank: 'Q', suit: '♣︎'}); //=> false\n * isQueenOfSpades({rank: 'Q', suit: '♠︎'}); //=> true\n */\n\nvar allPass =\n/*#__PURE__*/\n_curry1(function allPass(preds) {\n return curryN(reduce(max, 0, pluck('length', preds)), function () {\n var idx = 0;\n var len = preds.length;\n\n while (idx < len) {\n if (!preds[idx].apply(this, arguments)) {\n return false;\n }\n\n idx += 1;\n }\n\n return true;\n });\n});\n\nexport default allPass;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns the first argument if it is truthy, otherwise the second argument.\n * Acts as the boolean `or` statement if both inputs are `Boolean`s.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {Any} a\n * @param {Any} b\n * @return {Any}\n * @see R.either, R.and\n * @example\n *\n * R.or(true, true); //=> true\n * R.or(true, false); //=> true\n * R.or(false, true); //=> true\n * R.or(false, false); //=> false\n */\n\nvar or =\n/*#__PURE__*/\n_curry2(function or(a, b) {\n return a || b;\n});\n\nexport default or;","import _curry2 from \"./internal/_curry2.js\";\nimport _isFunction from \"./internal/_isFunction.js\";\nimport lift from \"./lift.js\";\nimport or from \"./or.js\";\n/**\n * A function wrapping calls to the two functions in an `||` operation,\n * returning the result of the first function if it is truth-y and the result\n * of the second function otherwise. Note that this is short-circuited,\n * meaning that the second function will not be invoked if the first returns a\n * truth-y value.\n *\n * In addition to functions, `R.either` also accepts any fantasy-land compatible\n * applicative functor.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> Boolean) -> (*... -> Boolean)\n * @param {Function} f a predicate\n * @param {Function} g another predicate\n * @return {Function} a function that applies its arguments to `f` and `g` and `||`s their outputs together.\n * @see R.both, R.anyPass, R.or\n * @example\n *\n * const gt10 = x => x > 10;\n * const even = x => x % 2 === 0;\n * const f = R.either(gt10, even);\n * f(101); //=> true\n * f(8); //=> true\n *\n * R.either(Maybe.Just(false), Maybe.Just(55)); // => Maybe.Just(55)\n * R.either([false, false, 'a'], [11]) // => [11, 11, \"a\"]\n */\n\nvar either =\n/*#__PURE__*/\n_curry2(function either(f, g) {\n return _isFunction(f) ? function _either() {\n return f.apply(this, arguments) || g.apply(this, arguments);\n } : lift(or)(f, g);\n});\n\nexport default either;","import { both, either, curryN } from 'ramda';\nimport isNotNull from './isNotNull';\nimport isFunction from './isFunction';\nimport isOfTypeObject from './internal/isOfTypeObject';\n\n/* eslint-disable max-len */\n/**\n * Checks if input value is language type of `Object`.\n *\n * @func isObj\n * @aliases isObject\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotObj|isNotObj}, {@link RA.isObjLike|isObjLike}, {@link RA.isPlainObj|isPlainObj}\n * @example\n *\n * RA.isObj({}); //=> true\n * RA.isObj([]); //=> true\n * RA.isObj(() => {}); //=> true\n * RA.isObj(null); //=> false\n * RA.isObj(undefined); //=> false\n */\n/* eslint-enable max-len */\nvar isObj = curryN(1, both(isNotNull, either(isOfTypeObject, isFunction)));\nexport default isObj;","import { complement } from 'ramda';\nimport isObj from './isObj';\n\n/* eslint-disable max-len */\n/**\n * Checks if input value is complement of language type of `Object`.\n *\n * @func isNotObj\n * @aliases isNotObject\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isObj|isObj}, {@link RA.isObjLike|isObjLike}, {@link RA.isPlainObj|isPlainObj}\n * @example\n *\n * RA.isNotObj({}); //=> false\n * RA.isNotObj([]); //=> false\n * RA.isNotObj(() => {}); //=> false\n * RA.isNotObj(null); //=> true\n * RA.isNotObj(undefined); //=> true\n */\n/* eslint-enable max-len */\nvar isNotObj = complement(isObj);\nexport default isNotObj;","import { allPass } from 'ramda';\nimport isString from './isString';\nimport isNotObj from './isNotObj';\nimport isNotEmpty from './isNotEmpty';\n\n/**\n * Checks if input value is not an empty `String`.\n *\n * @func isNonEmptyString\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isEmptyString|isEmptyString}\n * @example\n *\n * RA.isNonEmptyString('42'); // => true\n * RA.isNonEmptyString(''); // => false\n * RA.isNonEmptyString(new String('42')); // => false\n * RA.isNonEmptyString(new String('')); // => false\n * RA.isNonEmptyString([42]); // => false\n * RA.isNonEmptyString({}); // => false\n * RA.isNonEmptyString(null); // => false\n * RA.isNonEmptyString(undefined); // => false\n * RA.isNonEmptyString(42); // => false\n */\nvar isNonEmptyString = allPass([isString, isNotObj, isNotEmpty]);\nexport default isNonEmptyString;","import { complement } from 'ramda';\nimport isArray from './isArray';\n\n/**\n * Checks if input value is complement of `Array`\n *\n * @func isNotArray\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.3.0|v0.3.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isArray|isArray}\n * @example\n *\n * RA.isNotArray([]); //=> false\n * RA.isNotArray(null); //=> true\n * RA.isNotArray({}); //=> true\n */\nvar isNotArray = complement(isArray);\nexport default isNotArray;","import { complement, isEmpty } from 'ramda';\n\n/**\n * Returns true if the given value is not its type's empty value; `false` otherwise.\n *\n * @func isNotEmpty\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.4.0|v0.4.0}\n * @category Logic\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link http://ramdajs.com/docs/#isEmpty|R.isEmpty}\n * @example\n *\n * RA.isNotEmpty([1, 2, 3]); //=> true\n * RA.isNotEmpty([]); //=> false\n * RA.isNotEmpty(''); //=> false\n * RA.isNotEmpty(null); //=> true\n * RA.isNotEmpty(undefined): //=> true\n * RA.isNotEmpty({}); //=> false\n * RA.isNotEmpty({length: 0}); //=> true\n */\nvar isNotEmpty = complement(isEmpty);\nexport default isNotEmpty;","import { complement } from 'ramda';\nimport isFunction from './isFunction';\n\n/* eslint-disable max-len */\n/**\n * Checks if input value is complement of `Function`.\n *\n * @func isNotFunction\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isFunction|isFunction}, {@link RA.isAsyncFunction|isNotAsyncFunction}, {@link RA.isGeneratorFunction|isGeneratorFunction}\n * @example\n *\n * RA.isNotFunction(function test() { }); //=> false\n * RA.isNotFunction(function* test() { }); //=> false\n * RA.isNotFunction(async function test() { }); //=> false\n * RA.isNotFunction(() => {}); //=> false\n * RA.isNotFunction(null); //=> true\n * RA.isNotFunction('abc'); //=> true\n */\n/* eslint-enable max-len */\nvar isNotFunction = complement(isFunction);\nexport default isNotFunction;","import { complement } from 'ramda';\nimport isNull from './isNull';\n\n/**\n * Checks if input value is complement of `null`.\n *\n * @func isNotNull\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.1.0|v0.1.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNull|isNull}\n * @example\n *\n * RA.isNotNull(1); //=> true\n * RA.isNotNull(undefined); //=> true\n * RA.isNotNull(null); //=> false\n */\nvar isNotNull = complement(isNull);\nexport default isNotNull;","import { complement } from 'ramda';\nimport isUndefined from './isUndefined';\n\n/**\n * Checks if input value is complement `undefined`.\n *\n * @func isNotUndefined\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.0.1|v0.0.1}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isUndefined|isUndefined}\n * @example\n *\n * RA.isNotUndefined(1); //=> true\n * RA.isNotUndefined(undefined); //=> false\n * RA.isNotUndefined(null); //=> true\n */\nvar isNotUndefined = complement(isUndefined);\nexport default isNotUndefined;","import { equals } from 'ramda';\n\n/**\n * Checks if input value is `null`.\n *\n * @func isNull\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.1.0|v0.1.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotNull|isNotNull}\n * @example\n *\n * RA.isNull(1); //=> false\n * RA.isNull(undefined); //=> false\n * RA.isNull(null); //=> true\n */\nvar isNull = equals(null);\nexport default isNull;","import { curryN, pipe, type, identical } from 'ramda';\n\n/**\n * Checks if value is a `Number` primitive or object.\n *\n * @func isNumber\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.6.0|v0.6.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotNumber|isNotNumber}\n * @example\n *\n * RA.isNumber(5); // => true\n * RA.isNumber(Number.MAX_VALUE); // => true\n * RA.isNumber(-Infinity); // => true\n * RA.isNumber(NaN); // => true\n * RA.isNumber('5'); // => false\n */\nvar isNumber = curryN(1, pipe(type, identical('Number')));\nexport default isNumber;","import { both, curryN } from 'ramda';\nimport isNotNull from './isNotNull';\nimport isOfTypeObject from './internal/isOfTypeObject';\n\n/* eslint-disable max-len */\n/**\n * Checks if value is object-like. A value is object-like if it's not null and has a typeof result of \"object\".\n *\n * @func isObjLike\n * @aliases isObjectLike\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotObjLike|isNotObjLike}, {@link RA.isObj|isObj}, {@link RA.isPlainObj|isPlainObj}\n * @example\n *\n * RA.isObjLike({}); //=> true\n * RA.isObjLike([]); //=> true\n * RA.isObjLike(() => {}); //=> false\n * RA.isObjLike(null); //=> false\n * RA.isObjLike(undefined); //=> false\n */\n/* eslint-enable max-len */\nvar isObjLike = curryN(1, both(isNotNull, isOfTypeObject));\nexport default isObjLike;","import { pipe, type, identical, both, equals, toString, pathSatisfies, curryN } from 'ramda';\nimport isNull from './isNull';\nimport isObjLike from './isObjLike';\nimport isFunction from './isFunction';\nvar isObject = pipe(type, identical('Object'));\nvar isObjectConstructor = pipe(toString, equals(toString(Object)));\nvar hasObjectConstructor = pathSatisfies(both(isFunction, isObjectConstructor), ['constructor']);\n\n/* eslint-disable max-len */\n/**\n * Check to see if an object is a plain object (created using `{}`, `new Object()` or `Object.create(null)`).\n *\n * @func isPlainObj\n * @aliases isPlainObject\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotPlainObj|isNotPlainObj}, {@link RA.isObjLike|isObjLike}, {@link RA.isObj|isObj}\n * @example\n *\n * class Bar {\n * constructor() {\n * this.prop = 'value';\n * }\n * }\n *\n * RA.isPlainObj(new Bar()); //=> false\n * RA.isPlainObj({ prop: 'value' }); //=> true\n * RA.isPlainObj(['a', 'b', 'c']); //=> false\n * RA.isPlainObj(Object.create(null); //=> true\n * RA.isPlainObj(new Object()); //=> true\n */\n/* eslint-enable max-len */\nvar isPlainObj = curryN(1, function (val) {\n if (!isObjLike(val) || !isObject(val)) {\n return false;\n }\n var proto = Object.getPrototypeOf(val);\n if (isNull(proto)) {\n return true;\n }\n return hasObjectConstructor(proto);\n});\nexport default isPlainObj;","import { curryN, pipe, type, identical } from 'ramda';\n\n/**\n * Checks if input value is `String`.\n *\n * @func isString\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.4.0|v0.4.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotString|isNotString}\n * @example\n *\n * RA.isString('abc'); //=> true\n * RA.isString(1); //=> false\n */\nvar isString = curryN(1, pipe(type, identical('String')));\nexport default isString;","import { equals } from 'ramda';\nimport stubUndefined from './stubUndefined';\n\n/**\n * Checks if input value is `undefined`.\n *\n * @func isUndefined\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.0.1|v0.0.1}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotUndefined|isNotUndefined}\n * @example\n *\n * RA.isUndefined(1); //=> false\n * RA.isUndefined(undefined); //=> true\n * RA.isUndefined(null); //=> false\n */\nvar isUndefined = equals(stubUndefined());\nexport default isUndefined;","import { always } from 'ramda';\nimport stubUndefined from './stubUndefined';\n\n/**\n * A function that performs no operations.\n *\n * @func noop\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/1.0.0|v1.0.0}\n * @category Function\n * @sig ... -> undefined\n * @return {undefined}\n * @example\n *\n * RA.noop(); //=> undefined\n * RA.noop(1, 2, 3); //=> undefined\n */\nvar noop = always(stubUndefined());\nexport default noop;","import { complement } from 'ramda';\nimport _isFinite from './isFinite';\n\n/**\n * Checks whether the passed value is complement of finite `Number`.\n *\n *\n * @func isNotFinite\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/0.7.0|v0.7.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isFinite|isFinite}\n * @example\n *\n * RA.isNotFinite(Infinity); //=> true\n * RA.isNotFinite(NaN); //=> true\n * RA.isNotFinite(-Infinity); //=> true\n *\n * RA.isNotFinite(0); // false\n * RA.isNotFinite(2e64); // false\n *\n * RA.isNotFinite('0'); // => true\n * RA.isNotFinite(null); // => true\n */\nvar isNotFinite = complement(_isFinite);\nexport default isNotFinite;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns `true` if the first argument is greater than the second; `false`\n * otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @see R.lt\n * @example\n *\n * R.gt(2, 1); //=> true\n * R.gt(2, 2); //=> false\n * R.gt(2, 3); //=> false\n * R.gt('a', 'z'); //=> false\n * R.gt('z', 'a'); //=> true\n */\n\nvar gt =\n/*#__PURE__*/\n_curry2(function gt(a, b) {\n return a > b;\n});\n\nexport default gt;","import { both, gt, curryN } from 'ramda';\nimport isNumber from './isNumber';\n\n/**\n * Checks if value is a negative `Number` primitive or object. Zero is not considered neither\n * positive or negative.\n *\n * @func isNegative\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/1.15.0|v1.15.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isPositive|isPositive}\n * @example\n *\n * RA.isNegative(-1); // => true\n * RA.isNegative(Number.MIN_VALUE); // => false\n * RA.isNegative(+Infinity); // => false\n * RA.isNegative(NaN); // => false\n * RA.isNegative('5'); // => false\n */\nvar isNegative = curryN(1, both(isNumber, gt(0)));\nexport default isNegative;","import isNotFinite from '../../isNotFinite';\nimport isNegative from '../../isNegative';\nvar repeat = function repeat(value, count) {\n var validCount = Number(count);\n if (validCount !== count) {\n validCount = 0;\n }\n if (isNegative(validCount)) {\n throw new RangeError('repeat count must be non-negative');\n }\n if (isNotFinite(validCount)) {\n throw new RangeError('repeat count must be less than infinity');\n }\n validCount = Math.floor(validCount);\n if (value.length === 0 || validCount === 0) {\n return '';\n }\n\n // Ensuring validCount is a 31-bit integer allows us to heavily optimize the\n // main part. But anyway, most current (August 2014) browsers can't handle\n // strings 1 << 28 chars or longer, so:\n // eslint-disable-next-line no-bitwise\n if (value.length * validCount >= 1 << 28) {\n throw new RangeError('repeat count must not overflow maximum string size');\n }\n var maxCount = value.length * validCount;\n validCount = Math.floor(Math.log(validCount) / Math.log(2));\n var result = value;\n while (validCount) {\n result += value;\n validCount -= 1;\n }\n result += result.substring(0, maxCount - result.length);\n return result;\n};\nexport default repeat;","import { curry, invoker, flip } from 'ramda';\nimport ponyfill from './internal/ponyfills/String.repeat';\nimport isFunction from './isFunction';\nexport var repeatStrPonyfill = curry(ponyfill);\nexport var repeatStrInvoker = flip(invoker(1, 'repeat'));\n\n/**\n * Constructs and returns a new string which contains the specified\n * number of copies of the string on which it was called, concatenated together.\n *\n * @func repeatStr\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.11.0|v2.11.0}\n * @category List\n * @sig String -> Number -> String\n * @param {string} value String value to be repeated\n * @param {number} count An integer between 0 and +∞: [0, +∞), indicating the number of times to repeat the string in the newly-created string that is to be returned\n * @return {string} A new string containing the specified number of copies of the given string\n * @example\n *\n * RA.repeatStr('a', 3); //=> 'aaa'\n */\nvar repeatStr = isFunction(String.prototype.repeat) ? repeatStrInvoker : repeatStrPonyfill;\nexport default repeatStr;","import { type, identical, pipe, curryN } from 'ramda';\n\n/**\n * Checks if value is `RegExp` object.\n *\n * @func isRegExp\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.5.0|v2.5.0}\n * @category Type\n * @sig * -> Boolean\n * @param {*} val The value to test\n * @return {boolean}\n * @see {@link RA.isNotRegExp|isNotRegExp}\n * @example\n *\n * RA.isRegExp(new RegExp()); //=> true\n * RA.isRegExp(/(?:)/); //=> true\n * RA.isRegExp(1); //=> false\n */\nvar isRegExp = curryN(1, pipe(type, identical('RegExp')));\nexport default isRegExp;","import { when, replace } from 'ramda';\nimport isString from './isString';\n\n/**\n * Escapes the RegExp special characters.\n *\n * @func escapeRegExp\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.21.0|v2.21.0}\n * @category String\n * @sig String -> String\n * @param {string} val the value to escape\n * @return {string}\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping|MDN Regular Expressions Escaping}\n * @example\n *\n * RA.escapeRegExp('[ramda-adjunct](https://github.com/char0n/ramda-adjunct)'); //=> '\\[ramda\\-adjunct\\]\\(https://github\\.com/char0n/ramda\\-adjunct\\)'\n */\nvar escapeRegExp = when(isString, replace(/[.*+?^${}()|[\\]\\\\-]/g, '\\\\$&'));\nexport default escapeRegExp;","import { replace } from 'ramda';\nimport isRegExp from '../../isRegExp';\nimport escapeRegExp from '../../escapeRegExp';\nvar checkArguments = function checkArguments(searchValue, replaceValue, str) {\n if (str == null || searchValue == null || replaceValue == null) {\n throw TypeError('Input values must not be `null` or `undefined`');\n }\n};\nvar checkValue = function checkValue(value, valueName) {\n if (typeof value !== 'string') {\n if (!(value instanceof String)) {\n throw TypeError(\"`\".concat(valueName, \"` must be a string\"));\n }\n }\n};\nvar checkSearchValue = function checkSearchValue(searchValue) {\n if (typeof searchValue !== 'string' && !(searchValue instanceof String) && !(searchValue instanceof RegExp)) {\n throw TypeError('`searchValue` must be a string or an regexp');\n }\n};\nvar replaceAll = function replaceAll(searchValue, replaceValue, str) {\n checkArguments(searchValue, replaceValue, str);\n checkValue(str, 'str');\n checkValue(replaceValue, 'replaceValue');\n checkSearchValue(searchValue);\n var regexp = new RegExp(isRegExp(searchValue) ? searchValue : escapeRegExp(searchValue), 'g');\n return replace(regexp, replaceValue, str);\n};\nexport default replaceAll;","import { curryN, invoker } from 'ramda';\nimport isFunction from './isFunction';\nimport ponyfill from './internal/ponyfills/String.replaceAll';\nexport var replaceAllPonyfill = curryN(3, ponyfill);\nexport var replaceAllInvoker = invoker(2, 'replaceAll');\n\n/**\n * Replaces all substring matches in a string with a replacement.\n *\n * @func replaceAll\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.17.0|v2.17.0}\n * @category String\n * @sig String -> String -> String -> String\n * @param {string} searchValue The substring or a global RegExp to match\n * @param {string} replaceValue The string to replace the matches with\n * @param {string} str The String to do the search and replacement in\n * @return {string} A new string containing all the `searchValue` replaced with the `replaceValue`\n * @throws {TypeError} When invalid arguments provided\n * @see {@link http://ramdajs.com/docs/#replace|R.replace}, {@link https://github.com/tc39/proposal-string-replaceall|TC39 proposal}\n * @example\n *\n * RA.replaceAll('ac', 'ef', 'ac ab ac ab'); //=> 'ef ab ef ab'\n * RA.replaceAll('', '_', 'xxx'); //=> '_x_x_x_'\n * RA.replaceAll(/x/g, 'v', 'xxx'); //=> 'vvv'\n * RA.replaceAll(/x/, 'v', 'xxx'); //=> TypeError\n */\nvar replaceAll = isFunction(String.prototype.replaceAll) ? replaceAllInvoker : replaceAllPonyfill;\nexport default replaceAll;","import { always } from 'ramda';\n\n/**\n * A function that returns `undefined`.\n *\n * @func stubUndefined\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/1.0.0|v1.0.0}\n * @category Function\n * @sig ... -> undefined\n * @return {undefined}\n * @example\n *\n * RA.stubUndefined(); //=> undefined\n * RA.stubUndefined(1, 2, 3); //=> undefined\n */\nvar stubUndefined = always(void 0); // eslint-disable-line no-void\n\nexport default stubUndefined;","import slice from \"../slice.js\";\nexport default function dropLastWhile(pred, xs) {\n var idx = xs.length - 1;\n\n while (idx >= 0 && pred(xs[idx])) {\n idx -= 1;\n }\n\n return slice(0, idx + 1, xs);\n}","import _xfBase from \"./_xfBase.js\";\nimport _xReduce from \"./_xReduce.js\";\n\nvar XDropLastWhile =\n/*#__PURE__*/\nfunction () {\n function XDropLastWhile(fn, xf) {\n this.f = fn;\n this.retained = [];\n this.xf = xf;\n }\n\n XDropLastWhile.prototype['@@transducer/init'] = _xfBase.init;\n\n XDropLastWhile.prototype['@@transducer/result'] = function (result) {\n this.retained = null;\n return this.xf['@@transducer/result'](result);\n };\n\n XDropLastWhile.prototype['@@transducer/step'] = function (result, input) {\n return this.f(input) ? this.retain(result, input) : this.flush(result, input);\n };\n\n XDropLastWhile.prototype.flush = function (result, input) {\n result = _xReduce(this.xf, result, this.retained);\n this.retained = [];\n return this.xf['@@transducer/step'](result, input);\n };\n\n XDropLastWhile.prototype.retain = function (result, input) {\n this.retained.push(input);\n return result;\n };\n\n return XDropLastWhile;\n}();\n\nexport default function _xdropLastWhile(fn) {\n return function (xf) {\n return new XDropLastWhile(fn, xf);\n };\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _dropLastWhile from \"./internal/_dropLastWhile.js\";\nimport _xdropLastWhile from \"./internal/_xdropLastWhile.js\";\n/**\n * Returns a new list excluding all the tailing elements of a given list which\n * satisfy the supplied predicate function. It passes each value from the right\n * to the supplied predicate function, skipping elements until the predicate\n * function returns a `falsy` value. The predicate function is applied to one argument:\n * *(value)*.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> [a]\n * @sig (a -> Boolean) -> String -> String\n * @param {Function} predicate The function to be called on each element\n * @param {Array} xs The collection to iterate over.\n * @return {Array} A new array without any trailing elements that return `falsy` values from the `predicate`.\n * @see R.takeLastWhile, R.addIndex, R.drop, R.dropWhile\n * @example\n *\n * const lteThree = x => x <= 3;\n *\n * R.dropLastWhile(lteThree, [1, 2, 3, 4, 3, 2, 1]); //=> [1, 2, 3, 4]\n *\n * R.dropLastWhile(x => x !== 'd' , 'Ramda'); //=> 'Ramd'\n */\n\nvar dropLastWhile =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xdropLastWhile, _dropLastWhile));\n\nexport default dropLastWhile;","import { curry, dropLastWhile, join, pipe, split } from 'ramda';\nimport included from './included';\n\n/**\n * Removes specified characters from the end of a string.\n *\n * @func trimCharsEnd\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.25.0|v2.25.0}\n * @category String\n * @sig String -> String\n * @param {string} chars The characters to trim\n * @param {string} value The string to trim\n * @return {string} Returns the trimmed string.\n * @example\n *\n * RA.trimCharsEnd('_-', '-_-abc-_-'); //=> '-_-abc'\n */\n\nvar trimCharsEnd = curry(function (chars, value) {\n return pipe(split(''), dropLastWhile(included(chars)), join(''))(value);\n});\nexport default trimCharsEnd;","import _xfBase from \"./_xfBase.js\";\n\nvar XDropWhile =\n/*#__PURE__*/\nfunction () {\n function XDropWhile(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XDropWhile.prototype['@@transducer/init'] = _xfBase.init;\n XDropWhile.prototype['@@transducer/result'] = _xfBase.result;\n\n XDropWhile.prototype['@@transducer/step'] = function (result, input) {\n if (this.f) {\n if (this.f(input)) {\n return result;\n }\n\n this.f = null;\n }\n\n return this.xf['@@transducer/step'](result, input);\n };\n\n return XDropWhile;\n}();\n\nexport default function _xdropWhile(f) {\n return function (xf) {\n return new XDropWhile(f, xf);\n };\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _xdropWhile from \"./internal/_xdropWhile.js\";\nimport slice from \"./slice.js\";\n/**\n * Returns a new list excluding the leading elements of a given list which\n * satisfy the supplied predicate function. It passes each value to the supplied\n * predicate function, skipping elements while the predicate function returns\n * `true`. The predicate function is applied to one argument: *(value)*.\n *\n * Dispatches to the `dropWhile` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> [a]\n * @sig (a -> Boolean) -> String -> String\n * @param {Function} fn The function called per iteration.\n * @param {Array} xs The collection to iterate over.\n * @return {Array} A new array.\n * @see R.takeWhile, R.transduce, R.addIndex\n * @example\n *\n * const lteTwo = x => x <= 2;\n *\n * R.dropWhile(lteTwo, [1, 2, 3, 4, 3, 2, 1]); //=> [3, 4, 3, 2, 1]\n *\n * R.dropWhile(x => x !== 'd' , 'Ramda'); //=> 'da'\n */\n\nvar dropWhile =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['dropWhile'], _xdropWhile, function dropWhile(pred, xs) {\n var idx = 0;\n var len = xs.length;\n\n while (idx < len && pred(xs[idx])) {\n idx += 1;\n }\n\n return slice(idx, Infinity, xs);\n}));\n\nexport default dropWhile;","import { curry, dropWhile, join, pipe, split } from 'ramda';\nimport included from './included';\n\n/**\n * Removes specified characters from the beginning of a string.\n *\n * @func trimCharsStart\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.24.0|v2.24.0}\n * @category String\n * @sig String -> String\n * @param {string} chars The characters to trim\n * @param {string} value The string to trim\n * @return {string} Returns the trimmed string.\n * @example\n *\n * RA.trimCharsStart('_-', '-_-abc-_-'); //=> 'abc-_-'\n */\n\nvar trimCharsStart = curry(function (chars, value) {\n return pipe(split(''), dropWhile(included(chars)), join(''))(value);\n});\nexport default trimCharsStart;","import { replace } from 'ramda';\nvar trimStart = replace(/[\\s\\uFEFF\\xA0]+$/, '');\nexport default trimStart;","import { invoker } from 'ramda';\nimport ponyfill from './internal/ponyfills/String.trimEnd';\nimport isFunction from './isFunction';\nexport var trimEndPonyfill = ponyfill;\nexport var trimEndInvoker = invoker(0, 'trimEnd');\n\n/**\n * Removes whitespace from the end of a string.\n *\n * @func trimEnd\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.22.0|v2.22.0}\n * @category String\n * @sig String -> String\n * @param {string} value String value to have the whitespace removed from the end\n * @return {string} A new string representing the calling string stripped of whitespace from its end (right end).\n * @see {@link RA.trimEnd|trimEnd}\n * @example\n *\n * RA.trimEnd('abc '); //=> 'abc'\n */\n\nvar trimEnd = isFunction(String.prototype.trimEnd) ? trimEndInvoker : trimEndPonyfill;\nexport default trimEnd;","import { replace } from 'ramda';\nvar trimStart = replace(/^[\\s\\uFEFF\\xA0]+/, '');\nexport default trimStart;","import { invoker } from 'ramda';\nimport ponyfill from './internal/ponyfills/String.trimStart';\nimport isFunction from './isFunction';\nexport var trimStartPonyfill = ponyfill;\nexport var trimStartInvoker = invoker(0, 'trimStart');\n\n/**\n * Removes whitespace from the beginning of a string.\n *\n * @func trimStart\n * @memberOf RA\n * @since {@link https://char0n.github.io/ramda-adjunct/2.22.0|v2.22.0}\n * @category String\n * @sig String -> String\n * @param {string} value String value to have the whitespace removed from the beginning\n * @return {string} A new string representing the calling string stripped of whitespace from its beginning (left end).\n * @example\n *\n * RA.trimStart(' abc'); //=> 'abc'\n */\n\nvar trimStart = isFunction(String.prototype.trimStart) ? trimStartInvoker : trimStartPonyfill;\nexport default trimStart;","/**\n * @packageDocumentation\n **/\n\n// Copyright 2017-2022 the Short Unique ID authors. All rights reserved. Apache 2.0 license.\n\n// @ts-ignore\nimport {version} from '../package.json';\n\nexport interface ShortUniqueIdRanges {\n [k: string]: [number, number];\n};\n\nexport interface ShortUniqueIdRangesMap {\n [k: string]: ShortUniqueIdRanges;\n};\n\nexport type ShortUniqueIdDefaultDictionaries = 'number' | 'alpha' | 'alpha_lower' | 'alpha_upper' | 'alphanum' | 'alphanum_lower' | 'alphanum_upper' | 'hex';\n\n/**\n * ```js\n * {\n * dictionary: ['z', 'a', 'p', 'h', 'o', 'd', ...],\n * shuffle: false,\n * debug: false,\n * length: 6,\n * }\n * ```\n *
\n * @see {@link DEFAULT_OPTIONS}\n */\nexport interface ShortUniqueIdOptions {\n /** User-defined character dictionary */\n dictionary: string[] | ShortUniqueIdDefaultDictionaries;\n\n /** If true, sequentialUUID use the dictionary in the given order */\n shuffle: boolean;\n\n /** If true the instance will console.log useful info */\n debug: boolean;\n\n /** From 1 to infinity, the length you wish your UUID to be */\n length: number;\n\n /** From 0 to infinity, the current value for the sequential UUID counter */\n counter: number;\n};\n\n/**\n * 6 was chosen as the default UUID length since for most cases\n * it will be more than aptly suitable to provide millions of UUIDs\n * with a very low probability of producing a duplicate UUID.\n *\n * For example, with a dictionary including digits from 0 to 9,\n * as well as the alphabet from a to z both in UPPER and lower case,\n * the probability of generating a duplicate in 1,000,000 rounds\n * is ~0.00000002, or about 1 in 50,000,000.\n */\nexport const DEFAULT_UUID_LENGTH: number = 6;\n\nexport const DEFAULT_OPTIONS: ShortUniqueIdOptions = {\n dictionary: 'alphanum',\n shuffle: true,\n debug: false,\n length: DEFAULT_UUID_LENGTH,\n counter: 0,\n};\n\n/**\n * Generate random or sequential UUID of any length.\n *\n * ### Use as module\n *\n * ```js\n * // Deno (web module) Import\n * import ShortUniqueId from 'https://cdn.jsdelivr.net/npm/short-unique-id@latest/src/index.ts';\n *\n * // ES6 / TypeScript Import\n * import ShortUniqueId from 'short-unique-id';\n *\n * // or Node.js require\n * const ShortUniqueId = require('short-unique-id');\n *\n * // Instantiate\n * const uid = new ShortUniqueId();\n *\n * // Random UUID\n * console.log(uid.rnd());\n *\n * // Sequential UUID\n * console.log(uid.seq());\n * ```\n *\n * ### Use in browser\n *\n * ```html\n * \n * \n *\n * \n * \n * ```\n *\n * ### Options\n *\n * Options can be passed when instantiating `uid`:\n *\n * ```js\n * const options = { ... };\n *\n * const uid = new ShortUniqueId(options);\n * ```\n *\n * For more information take a look at the [ShortUniqueIdOptions type definition](/interfaces/shortuniqueidoptions.html).\n */\nexport default class ShortUniqueId {\n /** @hidden */\n static default: typeof ShortUniqueId = ShortUniqueId;\n\n public counter: number;\n public debug: boolean;\n public dict: string[];\n public version: string;\n public dictIndex: number = 0;\n public dictRange: number[] =[];\n public lowerBound: number = 0;\n public upperBound: number = 0;\n public dictLength: number = 0;\n public uuidLength: number;\n\n protected _digit_first_ascii: number = 48;\n protected _digit_last_ascii: number = 58;\n protected _alpha_lower_first_ascii: number = 97;\n protected _alpha_lower_last_ascii: number = 123;\n protected _hex_last_ascii: number = 103;\n protected _alpha_upper_first_ascii: number = 65;\n protected _alpha_upper_last_ascii: number = 91;\n\n protected _number_dict_ranges: ShortUniqueIdRanges = {\n digits: [this._digit_first_ascii, this._digit_last_ascii],\n };\n\n protected _alpha_dict_ranges: ShortUniqueIdRanges = {\n lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],\n upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii],\n };\n\n protected _alpha_lower_dict_ranges: ShortUniqueIdRanges = {\n lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],\n };\n\n protected _alpha_upper_dict_ranges: ShortUniqueIdRanges = {\n upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii],\n };\n\n protected _alphanum_dict_ranges: ShortUniqueIdRanges = {\n digits: [this._digit_first_ascii, this._digit_last_ascii],\n lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],\n upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii],\n };\n\n protected _alphanum_lower_dict_ranges: ShortUniqueIdRanges = {\n digits: [this._digit_first_ascii, this._digit_last_ascii],\n lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],\n };\n\n protected _alphanum_upper_dict_ranges: ShortUniqueIdRanges = {\n digits: [this._digit_first_ascii, this._digit_last_ascii],\n upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii],\n };\n\n protected _hex_dict_ranges: ShortUniqueIdRanges = {\n decDigits: [this._digit_first_ascii, this._digit_last_ascii],\n alphaDigits: [this._alpha_lower_first_ascii, this._hex_last_ascii],\n };\n\n protected _dict_ranges: ShortUniqueIdRangesMap = {\n _number_dict_ranges: this._number_dict_ranges,\n _alpha_dict_ranges: this._alpha_dict_ranges,\n _alpha_lower_dict_ranges: this._alpha_lower_dict_ranges,\n _alpha_upper_dict_ranges: this._alpha_upper_dict_ranges,\n _alphanum_dict_ranges: this._alphanum_dict_ranges,\n _alphanum_lower_dict_ranges: this._alphanum_lower_dict_ranges,\n _alphanum_upper_dict_ranges: this._alphanum_upper_dict_ranges,\n _hex_dict_ranges: this._hex_dict_ranges,\n };\n\n /* tslint:disable consistent-return */\n protected log = (...args: any[]): void => {\n const finalArgs = [...args];\n finalArgs[0] = `[short-unique-id] ${args[0]}`;\n /* tslint:disable no-console */\n if (this.debug === true) {\n if (typeof console !== 'undefined' && console !== null) {\n return console.log(...finalArgs);\n }\n }\n /* tslint:enable no-console */\n };\n /* tslint:enable consistent-return */\n\n /** Change the dictionary after initialization. */\n setDictionary = (dictionary: string[] | ShortUniqueIdDefaultDictionaries, shuffle?: boolean): void => {\n let finalDict: string[];\n\n if (dictionary && Array.isArray(dictionary) && dictionary.length > 1) {\n finalDict = dictionary as string[];\n } else {\n finalDict = [];\n\n let i;\n\n this.dictIndex = i = 0;\n\n const rangesName = `_${dictionary as ShortUniqueIdDefaultDictionaries}_dict_ranges`;\n const ranges = this._dict_ranges[rangesName];\n\n Object.keys(ranges).forEach((rangeType) => {\n const rangeTypeKey = rangeType;\n\n this.dictRange = ranges[rangeTypeKey];\n\n this.lowerBound = this.dictRange[0];\n this.upperBound = this.dictRange[1];\n\n for (\n this.dictIndex = i = this.lowerBound;\n this.lowerBound <= this.upperBound ? i < this.upperBound : i > this.upperBound;\n this.dictIndex = this.lowerBound <= this.upperBound ? i += 1 : i -= 1\n ) {\n finalDict.push(String.fromCharCode(this.dictIndex));\n }\n });\n }\n\n if (shuffle) {\n // Shuffle Dictionary to remove selection bias.\n const PROBABILITY = 0.5;\n finalDict = finalDict.sort(() => Math.random() - PROBABILITY);\n }\n\n this.dict = finalDict;\n\n // Cache Dictionary Length for future usage.\n this.dictLength = this.dict.length;\n\n // Reset internal counter.\n this.setCounter(0);\n };\n\n seq = (): string => {\n return this.sequentialUUID();\n };\n\n /**\n * Generates UUID based on internal counter that's incremented after each ID generation.\n * @alias `const uid = new ShortUniqueId(); uid.seq();`\n */\n sequentialUUID = (): string => {\n let counterDiv: number;\n let counterRem: number;\n let id: string = '';\n\n counterDiv = this.counter;\n\n do {\n counterRem = counterDiv % this.dictLength;\n counterDiv = Math.trunc(counterDiv / this.dictLength);\n id += this.dict[counterRem];\n } while (counterDiv !== 0);\n\n this.counter += 1;\n\n return id;\n };\n\n rnd = (uuidLength: number = this.uuidLength || DEFAULT_UUID_LENGTH): string => {\n return this.randomUUID(uuidLength);\n };\n\n /**\n * Generates UUID by creating each part randomly.\n * @alias `const uid = new ShortUniqueId(); uid.rnd(uuidLength: number);`\n */\n randomUUID = (uuidLength: number = this.uuidLength || DEFAULT_UUID_LENGTH): string => {\n let id: string;\n let randomPartIdx: number;\n let j: number;\n\n if ((uuidLength === null || typeof uuidLength === 'undefined') || uuidLength < 1) {\n throw new Error('Invalid UUID Length Provided');\n }\n\n const isPositive = uuidLength >= 0;\n\n // Generate random ID parts from Dictionary.\n id = '';\n for (\n j = 0;\n j < uuidLength;\n j += 1\n ) {\n randomPartIdx = parseInt(\n (Math.random() * this.dictLength).toFixed(0),\n 10,\n ) % this.dictLength;\n id += this.dict[randomPartIdx];\n }\n\n // Return random generated ID.\n return id;\n };\n\n fmt = (format: string, date?: Date): string => {\n return this.formattedUUID(format, date);\n };\n\n /**\n * Generates custom UUID with the provided format string.\n * @alias `const uid = new ShortUniqueId(); uid.fmt(format: string);`\n */\n formattedUUID = (format: string, date?: Date): string => {\n const fnMap = {\n '$r': this.randomUUID,\n '$s': this.sequentialUUID,\n '$t': this.stamp,\n };\n\n const result = format.replace(\n /\\$[rs]\\d{0,}|\\$t0|\\$t[1-9]\\d{1,}/g,\n (m) => {\n const fn = m.slice(0, 2);\n const len = parseInt(m.slice(2), 10);\n\n if (fn === '$s') {\n return fnMap[fn]().padStart(len, '0');\n }\n\n if (fn === '$t' && date) {\n return fnMap[fn](len, date);\n }\n\n return fnMap[fn as keyof typeof fnMap](len);\n },\n );\n\n return result;\n };\n\n /**\n * Calculates total number of possible UUIDs.\n *\n * Given that:\n *\n * - `H` is the total number of possible UUIDs\n * - `n` is the number of unique characters in the dictionary\n * - `l` is the UUID length\n *\n * Then `H` is defined as `n` to the power of `l`:\n *\n *

\n * \n *
\n *\n * This function returns `H`.\n */\n availableUUIDs = (uuidLength: number = this.uuidLength): number => {\n return parseFloat(\n Math.pow([...new Set(this.dict)].length, uuidLength).toFixed(0),\n );\n };\n\n /**\n * Calculates approximate number of hashes before first collision.\n *\n * Given that:\n *\n * - `H` is the total number of possible UUIDs, or in terms of this library,\n * the result of running `availableUUIDs()`\n * - the expected number of values we have to choose before finding the\n * first collision can be expressed as the quantity `Q(H)`\n *\n * Then `Q(H)` can be approximated as the square root of the product of half\n * of pi times `H`:\n *\n *
\n * \n *
\n *\n * This function returns `Q(H)`.\n * \n * (see [Poisson distribution](https://en.wikipedia.org/wiki/Poisson_distribution))\n */\n approxMaxBeforeCollision = (rounds: number = this.availableUUIDs(this.uuidLength)): number => {\n return parseFloat(\n Math.sqrt((Math.PI / 2) * rounds).toFixed(20),\n );\n };\n\n /**\n * Calculates probability of generating duplicate UUIDs (a collision) in a\n * given number of UUID generation rounds.\n *\n * Given that:\n *\n * - `r` is the maximum number of times that `randomUUID()` will be called,\n * or better said the number of _rounds_\n * - `H` is the total number of possible UUIDs, or in terms of this library,\n * the result of running `availableUUIDs()`\n *\n * Then the probability of collision `p(r; H)` can be approximated as the result\n * of dividing the square root of the product of half of pi times `r` by `H`:\n *\n *
\n * \n *
\n *\n * This function returns `p(r; H)`.\n * \n * (see [Poisson distribution](https://en.wikipedia.org/wiki/Poisson_distribution))\n *\n * (Useful if you are wondering _\"If I use this lib and expect to perform at most\n * `r` rounds of UUID generations, what is the probability that I will hit a duplicate UUID?\"_.)\n */\n collisionProbability = (\n rounds: number = this.availableUUIDs(this.uuidLength),\n uuidLength: number = this.uuidLength,\n ): number => {\n return parseFloat(\n (\n this.approxMaxBeforeCollision(rounds) / this.availableUUIDs(uuidLength)\n ).toFixed(20),\n );\n };\n\n /**\n * Calculate a \"uniqueness\" score (from 0 to 1) of UUIDs based on size of\n * dictionary and chosen UUID length.\n *\n * Given that:\n *\n * - `H` is the total number of possible UUIDs, or in terms of this library,\n * the result of running `availableUUIDs()`\n * - `Q(H)` is the approximate number of hashes before first collision,\n * or in terms of this library, the result of running `approxMaxBeforeCollision()`\n *\n * Then `uniqueness` can be expressed as the additive inverse of the probability of\n * generating a \"word\" I had previously generated (a duplicate) at any given iteration\n * up to the the total number of possible UUIDs expressed as the quotiend of `Q(H)` and `H`:\n *\n *
\n * \n *
\n *\n * (Useful if you need a value to rate the \"quality\" of the combination of given dictionary\n * and UUID length. The closer to 1, higher the uniqueness and thus better the quality.)\n */\n uniqueness = (rounds: number = this.availableUUIDs(this.uuidLength)): number => {\n const score = parseFloat(\n (1 - (\n this.approxMaxBeforeCollision(rounds) / rounds\n )).toFixed(20),\n );\n return (\n score > 1\n ) ? (\n 1\n ) : (\n (score < 0) ? 0 : score\n );\n };\n\n /**\n * Return the version of this module.\n */\n getVersion = (): string => {\n return this.version;\n };\n\n /**\n * Generates a UUID with a timestamp that can be extracted using `uid.parseStamp(stampString);`.\n * \n * ```js\n * const uidWithTimestamp = uid.stamp(32);\n * console.log(uidWithTimestamp);\n * // GDa608f973aRCHLXQYPTbKDbjDeVsSb3\n * \n * console.log(uid.parseStamp(uidWithTimestamp));\n * // 2021-05-03T06:24:58.000Z\n * ```\n */\n stamp = (finalLength: number, date?: Date): string => {\n const hexStamp = Math.floor(+(date || new Date()) / 1000).toString(16);\n\n if (typeof finalLength === 'number' && finalLength === 0) {\n return hexStamp;\n }\n\n if (typeof finalLength !== 'number' || finalLength < 10) {\n throw new Error(\n [\n 'Param finalLength must be a number greater than or equal to 10,',\n 'or 0 if you want the raw hexadecimal timestamp',\n ].join('\\n')\n );\n }\n\n const idLength = finalLength - 9;\n\n const rndIdx = Math.round(Math.random() * ((idLength > 15) ? 15 : idLength));\n\n const id = this.randomUUID(idLength);\n\n return `${id.substring(0, rndIdx)}${hexStamp}${id.substring(rndIdx)}${rndIdx.toString(16)}`;\n };\n\n /**\n * Extracts the date embeded in a UUID generated using the `uid.stamp(finalLength);` method.\n * \n * ```js\n * const uidWithTimestamp = uid.stamp(32);\n * console.log(uidWithTimestamp);\n * // GDa608f973aRCHLXQYPTbKDbjDeVsSb3\n * \n * console.log(uid.parseStamp(uidWithTimestamp));\n * // 2021-05-03T06:24:58.000Z\n * ```\n */\n parseStamp = (suid: string, format?: string): Date => {\n if (format && !(/t0|t[1-9]\\d{1,}/).test(format)) {\n throw new Error('Cannot extract date from a formated UUID with no timestamp in the format');\n }\n\n const stamp = (\n format\n ) ? (\n format.replace(\n /\\$[rs]\\d{0,}|\\$t0|\\$t[1-9]\\d{1,}/g,\n (m) => {\n const fnMap = {\n '$r': (len: number) => [...Array(len)].map(() => 'r').join(''),\n '$s': (len: number) => [...Array(len)].map(() => 's').join(''),\n '$t': (len: number) => [...Array(len)].map(() => 't').join(''),\n };\n\n const fn = m.slice(0, 2);\n const len = parseInt(m.slice(2), 10);\n\n return fnMap[fn as keyof typeof fnMap](len);\n },\n ).replace(\n /^(.*?)(t{8,})(.*)$/g,\n (_m, p1, p2) => {\n return suid.substring(p1.length, p1.length + p2.length);\n },\n )\n ) : (\n suid\n );\n\n if (stamp.length === 8) {\n return new Date(parseInt(stamp, 16) * 1000);\n }\n\n if (stamp.length < 10) {\n throw new Error('Stamp length invalid');\n }\n\n const rndIdx = parseInt(stamp.substring(stamp.length - 1), 16);\n\n return new Date(parseInt(stamp.substring(rndIdx, rndIdx + 8), 16) * 1000);\n };\n\n /**\n * Set the counter to a specific value.\n */\n setCounter = (counter: number): void => {\n this.counter = counter;\n };\n\n constructor(argOptions: Partial = {}) {\n const options: ShortUniqueIdOptions = {\n ...DEFAULT_OPTIONS,\n ...argOptions as Partial,\n };\n\n this.counter = 0;\n this.debug = false;\n this.dict = [];\n this.version = version;\n\n const {\n dictionary,\n shuffle,\n length,\n counter,\n } = options;\n\n this.uuidLength = length;\n\n this.setDictionary(dictionary, shuffle);\n this.setCounter(counter);\n\n this.debug = options.debug;\n this.log(this.dict);\n this.log(\n `Generator instantiated with Dictionary Size ${this.dictLength} and counter set to ${this.counter}`\n );\n\n this.log = this.log.bind(this);\n this.setDictionary = this.setDictionary.bind(this);\n this.setCounter = this.setCounter.bind(this);\n this.seq = this.seq.bind(this);\n this.sequentialUUID = this.sequentialUUID.bind(this);\n this.rnd = this.rnd.bind(this);\n this.randomUUID = this.randomUUID.bind(this);\n this.fmt = this.fmt.bind(this);\n this.formattedUUID = this.formattedUUID.bind(this);\n this.availableUUIDs = this.availableUUIDs.bind(this);\n this.approxMaxBeforeCollision = this.approxMaxBeforeCollision.bind(this);\n this.collisionProbability = this.collisionProbability.bind(this);\n this.uniqueness = this.uniqueness.bind(this);\n this.getVersion = this.getVersion.bind(this);\n this.stamp = this.stamp.bind(this);\n this.parseStamp = this.parseStamp.bind(this);\n\n return this;\n }\n}\n","{\n \"name\": \"short-unique-id\",\n \"version\": \"5.0.3\",\n \"description\": \"Generate random or sequential UUID of any length\",\n \"keywords\": [\n \"short\",\n \"random\",\n \"uid\",\n \"uuid\",\n \"guid\",\n \"node\",\n \"unique id\",\n \"generator\",\n \"tiny\"\n ],\n \"bin\": {\n \"short-unique-id\": \"bin/short-unique-id\",\n \"suid\": \"bin/short-unique-id\"\n },\n \"main\": \"dist/short-unique-id.js\",\n \"types\": \"dist/short-unique-id.d.ts\",\n \"homepage\": \"https://shortunique.id\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/jeanlescure/short-unique-id\"\n },\n \"license\": \"Apache-2.0\",\n \"runkitExampleFilename\": \"./runkit.js\",\n \"scripts\": {\n \"test\": \"ts-node src/test.ts\",\n \"build\": \"./scripts/build\",\n \"docs\": \"./scripts/docs\",\n \"release\": \"release-it\"\n },\n \"release-it\": {\n \"git\": {\n \"changelog\": \"auto-changelog --stdout -l false -u -t ./assets/changelog-compact.hbs\"\n },\n \"hooks\": {\n \"after:bump\": \"./scripts/release\"\n },\n \"npm\": {\n \"publish\": false\n }\n },\n \"files\": [\n \"bin\",\n \"dist\",\n \"runkit.js\",\n \"package.json\"\n ],\n \"devDependencies\": {\n \"@types/node\": \"^20.3.2\",\n \"auto-changelog\": \"^2.4.0\",\n \"esbuild\": \"^0.18.10\",\n \"refup\": \"^1.1.0\",\n \"release-it\": \"^15.11.0\",\n \"ts-node\": \"^10.9.1\",\n \"tslib\": \"^2.6.0\",\n \"typedoc\": \"^0.24.8\",\n \"typedoc-plugin-extras\": \"^2.3.3\",\n \"typedoc-plugin-rename-defaults\": \"^0.6.5\",\n \"typedoc-plugin-script-inject\": \"^1.0.0\",\n \"typescript\": \"^5.1.6\"\n }\n}\n","!function(){\"use strict\";var u,c,a,s,f,y=\"properties\",l=\"deepProperties\",b=\"propertyDescriptors\",d=\"staticProperties\",O=\"staticDeepProperties\",h=\"staticPropertyDescriptors\",g=\"configuration\",m=\"deepConfiguration\",P=\"deepProps\",A=\"deepStatics\",j=\"deepConf\",v=\"initializers\",_=\"methods\",w=\"composers\",D=\"compose\";function S(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r):[])}function r(r,t){return Array.prototype.slice.call(arguments,2).reduce(r,t)}var x=r.bind(0,function r(t,e){if(e)for(var n=S(e),o=0;o {\n const props = Object.getOwnPropertyDescriptors(src);\n for (let prop of exclude)\n delete props[prop];\n Object.defineProperties(dest, props);\n};\n/**\n * Returns the full chain of prototypes up until Object.prototype given a starting object. The order of prototypes will\n * be closest to farthest in the chain.\n */\nconst protoChain = (obj, currentChain = [obj]) => {\n const proto = Object.getPrototypeOf(obj);\n if (proto === null)\n return currentChain;\n return protoChain(proto, [...currentChain, proto]);\n};\n/**\n * Identifies the nearest ancestor common to all the given objects in their prototype chains. For most unrelated\n * objects, this function should return Object.prototype.\n */\nconst nearestCommonProto = (...objs) => {\n if (objs.length === 0)\n return undefined;\n let commonProto = undefined;\n const protoChains = objs.map(obj => protoChain(obj));\n while (protoChains.every(protoChain => protoChain.length > 0)) {\n const protos = protoChains.map(protoChain => protoChain.pop());\n const potentialCommonProto = protos[0];\n if (protos.every(proto => proto === potentialCommonProto))\n commonProto = potentialCommonProto;\n else\n break;\n }\n return commonProto;\n};\n/**\n * Creates a new prototype object that is a mixture of the given prototypes. The mixing is achieved by first\n * identifying the nearest common ancestor and using it as the prototype for a new object. Then all properties/methods\n * downstream of this prototype (ONLY downstream) are copied into the new object.\n *\n * The resulting prototype is more performant than softMixProtos(...), as well as ES5 compatible. However, it's not as\n * flexible as updates to the source prototypes aren't captured by the mixed result. See softMixProtos for why you may\n * want to use that instead.\n */\nconst hardMixProtos = (ingredients, constructor, exclude = []) => {\n var _a;\n const base = (_a = nearestCommonProto(...ingredients)) !== null && _a !== void 0 ? _a : Object.prototype;\n const mixedProto = Object.create(base);\n // Keeps track of prototypes we've already visited to avoid copying the same properties multiple times. We init the\n // list with the proto chain below the nearest common ancestor because we don't want any of those methods mixed in\n // when they will already be accessible via prototype access.\n const visitedProtos = protoChain(base);\n for (let prototype of ingredients) {\n let protos = protoChain(prototype);\n // Apply the prototype chain in reverse order so that old methods don't override newer ones.\n for (let i = protos.length - 1; i >= 0; i--) {\n let newProto = protos[i];\n if (visitedProtos.indexOf(newProto) === -1) {\n copyProps(mixedProto, newProto, ['constructor', ...exclude]);\n visitedProtos.push(newProto);\n }\n }\n }\n mixedProto.constructor = constructor;\n return mixedProto;\n};\nconst unique = (arr) => arr.filter((e, i) => arr.indexOf(e) == i);\n\n/**\n * Finds the ingredient with the given prop, searching in reverse order and breadth-first if searching ingredient\n * prototypes is required.\n */\nconst getIngredientWithProp = (prop, ingredients) => {\n const protoChains = ingredients.map(ingredient => protoChain(ingredient));\n // since we search breadth-first, we need to keep track of our depth in the prototype chains\n let protoDepth = 0;\n // not all prototype chains are the same depth, so this remains true as long as at least one of the ingredients'\n // prototype chains has an object at this depth\n let protosAreLeftToSearch = true;\n while (protosAreLeftToSearch) {\n // with the start of each horizontal slice, we assume this is the one that's deeper than any of the proto chains\n protosAreLeftToSearch = false;\n // scan through the ingredients right to left\n for (let i = ingredients.length - 1; i >= 0; i--) {\n const searchTarget = protoChains[i][protoDepth];\n if (searchTarget !== undefined && searchTarget !== null) {\n // if we find something, this is proof that this horizontal slice potentially more objects to search\n protosAreLeftToSearch = true;\n // eureka, we found it\n if (Object.getOwnPropertyDescriptor(searchTarget, prop) != undefined) {\n return protoChains[i][0];\n }\n }\n }\n protoDepth++;\n }\n return undefined;\n};\n/**\n * \"Mixes\" ingredients by wrapping them in a Proxy. The optional prototype argument allows the mixed object to sit\n * downstream of an existing prototype chain. Note that \"properties\" cannot be added, deleted, or modified.\n */\nconst proxyMix = (ingredients, prototype = Object.prototype) => new Proxy({}, {\n getPrototypeOf() {\n return prototype;\n },\n setPrototypeOf() {\n throw Error('Cannot set prototype of Proxies created by ts-mixer');\n },\n getOwnPropertyDescriptor(_, prop) {\n return Object.getOwnPropertyDescriptor(getIngredientWithProp(prop, ingredients) || {}, prop);\n },\n defineProperty() {\n throw new Error('Cannot define new properties on Proxies created by ts-mixer');\n },\n has(_, prop) {\n return getIngredientWithProp(prop, ingredients) !== undefined || prototype[prop] !== undefined;\n },\n get(_, prop) {\n return (getIngredientWithProp(prop, ingredients) || prototype)[prop];\n },\n set(_, prop, val) {\n const ingredientWithProp = getIngredientWithProp(prop, ingredients);\n if (ingredientWithProp === undefined)\n throw new Error('Cannot set new properties on Proxies created by ts-mixer');\n ingredientWithProp[prop] = val;\n return true;\n },\n deleteProperty() {\n throw new Error('Cannot delete properties on Proxies created by ts-mixer');\n },\n ownKeys() {\n return ingredients\n .map(Object.getOwnPropertyNames)\n .reduce((prev, curr) => curr.concat(prev.filter(key => curr.indexOf(key) < 0)));\n },\n});\n/**\n * Creates a new proxy-prototype object that is a \"soft\" mixture of the given prototypes. The mixing is achieved by\n * proxying all property access to the ingredients. This is not ES5 compatible and less performant. However, any\n * changes made to the source prototypes will be reflected in the proxy-prototype, which may be desirable.\n */\nconst softMixProtos = (ingredients, constructor) => proxyMix([...ingredients, { constructor }]);\n\nconst settings = {\n initFunction: null,\n staticsStrategy: 'copy',\n prototypeStrategy: 'copy',\n decoratorInheritance: 'deep',\n};\n\n// Keeps track of constituent classes for every mixin class created by ts-mixer.\nconst mixins = new WeakMap();\nconst getMixinsForClass = (clazz) => mixins.get(clazz);\nconst registerMixins = (mixedClass, constituents) => mixins.set(mixedClass, constituents);\nconst hasMixin = (instance, mixin) => {\n if (instance instanceof mixin)\n return true;\n const constructor = instance.constructor;\n const visited = new Set();\n let frontier = new Set();\n frontier.add(constructor);\n while (frontier.size > 0) {\n // check if the frontier has the mixin we're looking for. if not, we can say we visited every item in the frontier\n if (frontier.has(mixin))\n return true;\n frontier.forEach((item) => visited.add(item));\n // build a new frontier based on the associated mixin classes and prototype chains of each frontier item\n const newFrontier = new Set();\n frontier.forEach((item) => {\n var _a;\n const itemConstituents = (_a = mixins.get(item)) !== null && _a !== void 0 ? _a : protoChain(item.prototype)\n .map((proto) => proto.constructor)\n .filter((item) => item !== null);\n if (itemConstituents)\n itemConstituents.forEach((constituent) => {\n if (!visited.has(constituent) && !frontier.has(constituent))\n newFrontier.add(constituent);\n });\n });\n // we have a new frontier, now search again\n frontier = newFrontier;\n }\n // if we get here, we couldn't find the mixin anywhere in the prototype chain or associated mixin classes\n return false;\n};\n\nconst mergeObjectsOfDecorators = (o1, o2) => {\n var _a, _b;\n const allKeys = unique([...Object.getOwnPropertyNames(o1), ...Object.getOwnPropertyNames(o2)]);\n const mergedObject = {};\n for (let key of allKeys)\n mergedObject[key] = unique([...((_a = o1 === null || o1 === void 0 ? void 0 : o1[key]) !== null && _a !== void 0 ? _a : []), ...((_b = o2 === null || o2 === void 0 ? void 0 : o2[key]) !== null && _b !== void 0 ? _b : [])]);\n return mergedObject;\n};\nconst mergePropertyAndMethodDecorators = (d1, d2) => {\n var _a, _b, _c, _d;\n return ({\n property: mergeObjectsOfDecorators((_a = d1 === null || d1 === void 0 ? void 0 : d1.property) !== null && _a !== void 0 ? _a : {}, (_b = d2 === null || d2 === void 0 ? void 0 : d2.property) !== null && _b !== void 0 ? _b : {}),\n method: mergeObjectsOfDecorators((_c = d1 === null || d1 === void 0 ? void 0 : d1.method) !== null && _c !== void 0 ? _c : {}, (_d = d2 === null || d2 === void 0 ? void 0 : d2.method) !== null && _d !== void 0 ? _d : {}),\n });\n};\nconst mergeDecorators = (d1, d2) => {\n var _a, _b, _c, _d, _e, _f;\n return ({\n class: unique([...(_a = d1 === null || d1 === void 0 ? void 0 : d1.class) !== null && _a !== void 0 ? _a : [], ...(_b = d2 === null || d2 === void 0 ? void 0 : d2.class) !== null && _b !== void 0 ? _b : []]),\n static: mergePropertyAndMethodDecorators((_c = d1 === null || d1 === void 0 ? void 0 : d1.static) !== null && _c !== void 0 ? _c : {}, (_d = d2 === null || d2 === void 0 ? void 0 : d2.static) !== null && _d !== void 0 ? _d : {}),\n instance: mergePropertyAndMethodDecorators((_e = d1 === null || d1 === void 0 ? void 0 : d1.instance) !== null && _e !== void 0 ? _e : {}, (_f = d2 === null || d2 === void 0 ? void 0 : d2.instance) !== null && _f !== void 0 ? _f : {}),\n });\n};\nconst decorators = new Map();\nconst findAllConstituentClasses = (...classes) => {\n var _a;\n const allClasses = new Set();\n const frontier = new Set([...classes]);\n while (frontier.size > 0) {\n for (let clazz of frontier) {\n const protoChainClasses = protoChain(clazz.prototype).map(proto => proto.constructor);\n const mixinClasses = (_a = getMixinsForClass(clazz)) !== null && _a !== void 0 ? _a : [];\n const potentiallyNewClasses = [...protoChainClasses, ...mixinClasses];\n const newClasses = potentiallyNewClasses.filter(c => !allClasses.has(c));\n for (let newClass of newClasses)\n frontier.add(newClass);\n allClasses.add(clazz);\n frontier.delete(clazz);\n }\n }\n return [...allClasses];\n};\nconst deepDecoratorSearch = (...classes) => {\n const decoratorsForClassChain = findAllConstituentClasses(...classes)\n .map(clazz => decorators.get(clazz))\n .filter(decorators => !!decorators);\n if (decoratorsForClassChain.length == 0)\n return {};\n if (decoratorsForClassChain.length == 1)\n return decoratorsForClassChain[0];\n return decoratorsForClassChain.reduce((d1, d2) => mergeDecorators(d1, d2));\n};\nconst directDecoratorSearch = (...classes) => {\n const classDecorators = classes.map(clazz => getDecoratorsForClass(clazz));\n if (classDecorators.length === 0)\n return {};\n if (classDecorators.length === 1)\n return classDecorators[0];\n return classDecorators.reduce((d1, d2) => mergeDecorators(d1, d2));\n};\nconst getDecoratorsForClass = (clazz) => {\n let decoratorsForClass = decorators.get(clazz);\n if (!decoratorsForClass) {\n decoratorsForClass = {};\n decorators.set(clazz, decoratorsForClass);\n }\n return decoratorsForClass;\n};\nconst decorateClass = (decorator) => ((clazz) => {\n const decoratorsForClass = getDecoratorsForClass(clazz);\n let classDecorators = decoratorsForClass.class;\n if (!classDecorators) {\n classDecorators = [];\n decoratorsForClass.class = classDecorators;\n }\n classDecorators.push(decorator);\n return decorator(clazz);\n});\nconst decorateMember = (decorator) => ((object, key, ...otherArgs) => {\n var _a, _b, _c;\n const decoratorTargetType = typeof object === 'function' ? 'static' : 'instance';\n const decoratorType = typeof object[key] === 'function' ? 'method' : 'property';\n const clazz = decoratorTargetType === 'static' ? object : object.constructor;\n const decoratorsForClass = getDecoratorsForClass(clazz);\n const decoratorsForTargetType = (_a = decoratorsForClass === null || decoratorsForClass === void 0 ? void 0 : decoratorsForClass[decoratorTargetType]) !== null && _a !== void 0 ? _a : {};\n decoratorsForClass[decoratorTargetType] = decoratorsForTargetType;\n let decoratorsForType = (_b = decoratorsForTargetType === null || decoratorsForTargetType === void 0 ? void 0 : decoratorsForTargetType[decoratorType]) !== null && _b !== void 0 ? _b : {};\n decoratorsForTargetType[decoratorType] = decoratorsForType;\n let decoratorsForKey = (_c = decoratorsForType === null || decoratorsForType === void 0 ? void 0 : decoratorsForType[key]) !== null && _c !== void 0 ? _c : [];\n decoratorsForType[key] = decoratorsForKey;\n // @ts-ignore: array is type `A[] | B[]` and item is type `A | B`, so technically a type error, but it's fine\n decoratorsForKey.push(decorator);\n // @ts-ignore\n return decorator(object, key, ...otherArgs);\n});\nconst decorate = (decorator) => ((...args) => {\n if (args.length === 1)\n return decorateClass(decorator)(args[0]);\n return decorateMember(decorator)(...args);\n});\n\nfunction Mixin(...constructors) {\n var _a, _b, _c;\n const prototypes = constructors.map(constructor => constructor.prototype);\n // Here we gather up the init functions of the ingredient prototypes, combine them into one init function, and\n // attach it to the mixed class prototype. The reason we do this is because we want the init functions to mix\n // similarly to constructors -- not methods, which simply override each other.\n const initFunctionName = settings.initFunction;\n if (initFunctionName !== null) {\n const initFunctions = prototypes\n .map(proto => proto[initFunctionName])\n .filter(func => typeof func === 'function');\n const combinedInitFunction = function (...args) {\n for (let initFunction of initFunctions)\n initFunction.apply(this, args);\n };\n const extraProto = { [initFunctionName]: combinedInitFunction };\n prototypes.push(extraProto);\n }\n function MixedClass(...args) {\n for (const constructor of constructors)\n // @ts-ignore: potentially abstract class\n copyProps(this, new constructor(...args));\n if (initFunctionName !== null && typeof this[initFunctionName] === 'function')\n this[initFunctionName].apply(this, args);\n }\n MixedClass.prototype = settings.prototypeStrategy === 'copy'\n ? hardMixProtos(prototypes, MixedClass)\n : softMixProtos(prototypes, MixedClass);\n Object.setPrototypeOf(MixedClass, settings.staticsStrategy === 'copy'\n ? hardMixProtos(constructors, null, ['prototype'])\n : proxyMix(constructors, Function.prototype));\n let DecoratedMixedClass = MixedClass;\n if (settings.decoratorInheritance !== 'none') {\n const classDecorators = settings.decoratorInheritance === 'deep'\n ? deepDecoratorSearch(...constructors)\n : directDecoratorSearch(...constructors);\n for (let decorator of (_a = classDecorators === null || classDecorators === void 0 ? void 0 : classDecorators.class) !== null && _a !== void 0 ? _a : []) {\n const result = decorator(DecoratedMixedClass);\n if (result) {\n DecoratedMixedClass = result;\n }\n }\n applyPropAndMethodDecorators((_b = classDecorators === null || classDecorators === void 0 ? void 0 : classDecorators.static) !== null && _b !== void 0 ? _b : {}, DecoratedMixedClass);\n applyPropAndMethodDecorators((_c = classDecorators === null || classDecorators === void 0 ? void 0 : classDecorators.instance) !== null && _c !== void 0 ? _c : {}, DecoratedMixedClass.prototype);\n }\n registerMixins(DecoratedMixedClass, constructors);\n return DecoratedMixedClass;\n}\nconst applyPropAndMethodDecorators = (propAndMethodDecorators, target) => {\n const propDecorators = propAndMethodDecorators.property;\n const methodDecorators = propAndMethodDecorators.method;\n if (propDecorators)\n for (let key in propDecorators)\n for (let decorator of propDecorators[key])\n decorator(target, key);\n if (methodDecorators)\n for (let key in methodDecorators)\n for (let decorator of methodDecorators[key])\n decorator(target, key, Object.getOwnPropertyDescriptor(target, key));\n};\n/**\n * A decorator version of the `Mixin` function. You'll want to use this instead of `Mixin` for mixing generic classes.\n */\nconst mix = (...ingredients) => decoratedClass => {\n // @ts-ignore\n const mixedClass = Mixin(...ingredients.concat([decoratedClass]));\n Object.defineProperty(mixedClass, 'name', {\n value: decoratedClass.name,\n writable: false,\n });\n return mixedClass;\n};\n\nexport { Mixin, decorate, hasMixin, mix, settings };\n","var Module=void 0!==Module?Module:{},TreeSitter=function(){var e,t=\"object\"==typeof window?{currentScript:window.document.currentScript}:null;class Parser{constructor(){this.initialize()}initialize(){throw new Error(\"cannot construct a Parser before calling `init()`\")}static init(r){return e||(Module=Object.assign({},Module,r),e=new Promise(e=>{var r,n={};for(r in Module)Module.hasOwnProperty(r)&&(n[r]=Module[r]);var s,o,_=[],a=\"./this.program\",u=function(e,t){throw t},i=!1,l=!1;i=\"object\"==typeof window,l=\"function\"==typeof importScripts,s=\"object\"==typeof process&&\"object\"==typeof process.versions&&\"string\"==typeof process.versions.node,o=!i&&!s&&!l;var d,c,m,f,p,h=\"\";s?(h=l?require(\"path\").dirname(h)+\"/\":__dirname+\"/\",d=function(e,t){return f||(f=require(\"fs\")),p||(p=require(\"path\")),e=p.normalize(e),f.readFileSync(e,t?null:\"utf8\")},m=function(e){var t=d(e,!0);return t.buffer||(t=new Uint8Array(t)),k(t.buffer),t},process.argv.length>1&&(a=process.argv[1].replace(/\\\\/g,\"/\")),_=process.argv.slice(2),\"undefined\"!=typeof module&&(module.exports=Module),u=function(e){process.exit(e)},Module.inspect=function(){return\"[Emscripten Module object]\"}):o?(\"undefined\"!=typeof read&&(d=function(e){return read(e)}),m=function(e){var t;return\"function\"==typeof readbuffer?new Uint8Array(readbuffer(e)):(k(\"object\"==typeof(t=read(e,\"binary\"))),t)},\"undefined\"!=typeof scriptArgs?_=scriptArgs:void 0!==arguments&&(_=arguments),\"function\"==typeof quit&&(u=function(e){quit(e)}),\"undefined\"!=typeof print&&(\"undefined\"==typeof console&&(console={}),console.log=print,console.warn=console.error=\"undefined\"!=typeof printErr?printErr:print)):(i||l)&&(l?h=self.location.href:void 0!==t&&t.currentScript&&(h=t.currentScript.src),h=0!==h.indexOf(\"blob:\")?h.substr(0,h.lastIndexOf(\"/\")+1):\"\",d=function(e){var t=new XMLHttpRequest;return t.open(\"GET\",e,!1),t.send(null),t.responseText},l&&(m=function(e){var t=new XMLHttpRequest;return t.open(\"GET\",e,!1),t.responseType=\"arraybuffer\",t.send(null),new Uint8Array(t.response)}),c=function(e,t,r){var n=new XMLHttpRequest;n.open(\"GET\",e,!0),n.responseType=\"arraybuffer\",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)});Module.print||console.log.bind(console);var g=Module.printErr||console.warn.bind(console);for(r in n)n.hasOwnProperty(r)&&(Module[r]=n[r]);n=null,Module.arguments&&(_=Module.arguments),Module.thisProgram&&(a=Module.thisProgram),Module.quit&&(u=Module.quit);var w=16;var y,M=[];function b(e,t){if(!y){y=new WeakMap;for(var r=0;r>0]=t;break;case\"i16\":L[e>>1]=t;break;case\"i32\":W[e>>2]=t;break;case\"i64\":ue=[t>>>0,(ae=t,+Math.abs(ae)>=1?ae>0?(0|Math.min(+Math.floor(ae/4294967296),4294967295))>>>0:~~+Math.ceil((ae-+(~~ae>>>0))/4294967296)>>>0:0)],W[e>>2]=ue[0],W[e+4>>2]=ue[1];break;case\"float\":O[e>>2]=t;break;case\"double\":Z[e>>3]=t;break;default:oe(\"invalid type for setValue: \"+r)}}function N(e,t,r){switch(\"*\"===(t=t||\"i8\").charAt(t.length-1)&&(t=\"i32\"),t){case\"i1\":case\"i8\":return R[e>>0];case\"i16\":return L[e>>1];case\"i32\":case\"i64\":return W[e>>2];case\"float\":return O[e>>2];case\"double\":return Z[e>>3];default:oe(\"invalid type for getValue: \"+t)}return null}\"object\"!=typeof WebAssembly&&oe(\"no native wasm support detected\");var P=!1;function k(e,t){e||oe(\"Assertion failed: \"+t)}var C=1;var q,R,T,L,W,O,Z,F=\"undefined\"!=typeof TextDecoder?new TextDecoder(\"utf8\"):void 0;function $(e,t,r){for(var n=t+r,s=t;e[s]&&!(s>=n);)++s;if(s-t>16&&e.subarray&&F)return F.decode(e.subarray(t,s));for(var o=\"\";t>10,56320|1023&i)}}else o+=String.fromCharCode((31&_)<<6|a)}else o+=String.fromCharCode(_)}return o}function j(e,t){return e?$(T,e,t):\"\"}function U(e,t,r,n){if(!(n>0))return 0;for(var s=r,o=r+n-1,_=0;_=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++_);if(a<=127){if(r>=o)break;t[r++]=a}else if(a<=2047){if(r+1>=o)break;t[r++]=192|a>>6,t[r++]=128|63&a}else if(a<=65535){if(r+2>=o)break;t[r++]=224|a>>12,t[r++]=128|a>>6&63,t[r++]=128|63&a}else{if(r+3>=o)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63,t[r++]=128|a>>6&63,t[r++]=128|63&a}}return t[r]=0,r-s}function D(e,t,r){return U(e,T,t,r)}function z(e){for(var t=0,r=0;r=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function G(e){var t=z(e)+1,r=ze(t);return U(e,R,r,t),r}function H(e){q=e,Module.HEAP8=R=new Int8Array(e),Module.HEAP16=L=new Int16Array(e),Module.HEAP32=W=new Int32Array(e),Module.HEAPU8=T=new Uint8Array(e),Module.HEAPU16=new Uint16Array(e),Module.HEAPU32=new Uint32Array(e),Module.HEAPF32=O=new Float32Array(e),Module.HEAPF64=Z=new Float64Array(e)}var B=Module.INITIAL_MEMORY||33554432;(A=Module.wasmMemory?Module.wasmMemory:new WebAssembly.Memory({initial:B/65536,maximum:32768}))&&(q=A.buffer),B=q.byteLength,H(q);var K=new WebAssembly.Table({initial:17,element:\"anyfunc\"}),V=[],X=[],Q=[],J=[],Y=!1;var ee=0,te=null,re=null;function ne(e){ee++,Module.monitorRunDependencies&&Module.monitorRunDependencies(ee)}function se(e){if(ee--,Module.monitorRunDependencies&&Module.monitorRunDependencies(ee),0==ee&&(null!==te&&(clearInterval(te),te=null),re)){var t=re;re=null,t()}}function oe(e){throw Module.onAbort&&Module.onAbort(e),g(e+=\"\"),P=!0,1,e=\"abort(\"+e+\"). Build with -s ASSERTIONS=1 for more info.\",new WebAssembly.RuntimeError(e)}Module.preloadedImages={},Module.preloadedAudios={},Module.preloadedWasm={};var _e,ae,ue,ie=\"data:application/octet-stream;base64,\";function le(e){return e.startsWith(ie)}function de(e){return e.startsWith(\"file://\")}function ce(e){try{if(e==_e&&v)return new Uint8Array(v);if(m)return m(e);throw\"both async and sync fetching of the wasm failed\"}catch(e){oe(e)}}le(_e=\"tree-sitter.wasm\")||(_e=function(e){return Module.locateFile?Module.locateFile(e,h):h+e}(_e));var me={},fe={get:function(e,t){return me[t]||(me[t]=new WebAssembly.Global({value:\"i32\",mutable:!0})),me[t]}};function pe(e){for(;e.length>0;){var t=e.shift();if(\"function\"!=typeof t){var r=t.func;\"number\"==typeof r?void 0===t.arg?K.get(r)():K.get(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(Module)}}function he(e){var t=0;function r(){for(var r=0,n=1;;){var s=e[t++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(e instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(e,\"dylink\");k(0!=n.length,\"need dylink section\"),e=new Int8Array(n[0])}else{k(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],\"need to see wasm magic number\"),k(0===e[8],\"need the dylink section to be first\"),t=9,r(),k(6===e[t]),k(e[++t]===\"d\".charCodeAt(0)),k(e[++t]===\"y\".charCodeAt(0)),k(e[++t]===\"l\".charCodeAt(0)),k(e[++t]===\"i\".charCodeAt(0)),k(e[++t]===\"n\".charCodeAt(0)),k(e[++t]===\"k\".charCodeAt(0)),t++}var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var o=r();s.neededDynlibs=[];for(var _=0;_0}function ye(e){return 0==e.indexOf(\"dynCall_\")||[\"stackAlloc\",\"stackSave\",\"stackRestore\"].includes(e)?e:\"_\"+e}function Me(e,t){for(var r in e)if(e.hasOwnProperty(r)){Fe.hasOwnProperty(r)||(Fe[r]=e[r]);var n=ye(r);Module.hasOwnProperty(n)||(Module[n]=e[r])}}var be={nextHandle:1,loadedLibs:{},loadedLibNames:{}};function ve(e,t,r){return e.includes(\"j\")?function(e,t,r){var n=Module[\"dynCall_\"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)}(e,t,r):K.get(t).apply(null,r)}var Ee=5250880;function Ie(e){return[\"__cpp_exception\",\"__wasm_apply_data_relocs\",\"__dso_handle\",\"__set_stack_limits\"].includes(e)}function Ae(e,t){var r={};for(var n in e){var s=e[n];\"object\"==typeof s&&(s=s.value),\"number\"==typeof s&&(s+=t),r[n]=s}return function(e){for(var t in e)if(!Ie(t)){var r=!1,n=e[t];t.startsWith(\"orig$\")&&(t=t.split(\"$\")[1],r=!0),me[t]||(me[t]=new WebAssembly.Global({value:\"i32\",mutable:!0})),(r||0==me[t].value)&&(\"function\"==typeof n?me[t].value=b(n):\"number\"==typeof n?me[t].value=n:g(\"unhandled export type for `\"+t+\"`: \"+typeof n))}}(r),r}function Se(e,t){var r,n;return t&&(r=Fe[\"orig$\"+e]),r||(r=Fe[e]),r||(r=Module[ye(e)]),!r&&e.startsWith(\"invoke_\")&&(n=e.split(\"_\")[1],r=function(){var e=Ue();try{return ve(n,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(De(e),t!==t+0&&\"longjmp\"!==t)throw t;Ge(1,0)}}),r}function xe(e,t){var r=he(e);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,w);var s,o,_,a=(s=function(e){if(Y)return $e(e);var t=Ee,r=t+e+15&-16;return Ee=r,me.__heap_base.value=r,t}(r.memorySize+n),(o=n)||(o=w),Math.ceil(s/o)*o),u=K.length;K.grow(r.tableSize);for(var i=a;i>2]=n,-1;r=ke()}return W[t>>2]=r/1e3|0,W[t+4>>2]=r%1e3*1e3*1e3|0,0}function Le(e){try{return A.grow(e-q.byteLength+65535>>>16),H(A.buffer),1}catch(e){}}function We(e){Ve(e)}function Oe(e){E(e)}Te.sig=\"iii\",We.sig=\"vi\",Oe.sig=\"vi\";var Ze,Fe={__heap_base:Ee,__indirect_function_table:K,__memory_base:1024,__stack_pointer:Ce,__table_base:1,abort:qe,clock_gettime:Te,emscripten_memcpy_big:function(e,t,r){T.copyWithin(e,t,t+r)},emscripten_resize_heap:function(e){var t,r,n=T.length;if((e>>>=0)>2147483648)return!1;for(var s=1;s<=4;s*=2){var o=n*(1+.2/s);if(o=Math.min(o,e+100663296),Le(Math.min(2147483648,((t=Math.max(e,o))%(r=65536)>0&&(t+=r-t%r),t))))return!0}return!1},exit:We,memory:A,setTempRet0:Oe,tree_sitter_log_callback:function(e,t){if(ct){const r=j(t);ct(r,0!==e)}},tree_sitter_parse_callback:function(e,t,r,n,s){var o=dt(t,{row:r,column:n});\"string\"==typeof o?(x(s,o.length,\"i32\"),function(e,t,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*e.length?r/2:e.length,s=0;s>1]=o,t+=2}L[t>>1]=0}(o,e,10240)):x(s,0,\"i32\")}},$e=(function(){var e={env:Fe,wasi_snapshot_preview1:Fe,\"GOT.mem\":new Proxy(Fe,fe),\"GOT.func\":new Proxy(Fe,fe)};function t(e,t){var r=e.exports;r=Ae(r,1024),Module.asm=r;var n,s=he(t);s.neededDynlibs&&(I=s.neededDynlibs.concat(I)),Me(r),n=Module.asm.__wasm_call_ctors,X.unshift(n),se()}function r(e){t(e.instance,e.module)}function n(t){return function(){if(!v&&(i||l)){if(\"function\"==typeof fetch&&!de(_e))return fetch(_e,{credentials:\"same-origin\"}).then(function(e){if(!e.ok)throw\"failed to load wasm binary file at '\"+_e+\"'\";return e.arrayBuffer()}).catch(function(){return ce(_e)});if(c)return new Promise(function(e,t){c(_e,function(t){e(new Uint8Array(t))},t)})}return Promise.resolve().then(function(){return ce(_e)})}().then(function(t){return WebAssembly.instantiate(t,e)}).then(t,function(e){g(\"failed to asynchronously prepare wasm: \"+e),oe(e)})}if(ne(),Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return g(\"Module.instantiateWasm callback failed with error: \"+e),!1}v||\"function\"!=typeof WebAssembly.instantiateStreaming||le(_e)||de(_e)||\"function\"!=typeof fetch?n(r):fetch(_e,{credentials:\"same-origin\"}).then(function(t){return WebAssembly.instantiateStreaming(t,e).then(r,function(e){return g(\"wasm streaming compile failed: \"+e),g(\"falling back to ArrayBuffer instantiation\"),n(r)})})}(),Module.___wasm_call_ctors=function(){return(Module.___wasm_call_ctors=Module.asm.__wasm_call_ctors).apply(null,arguments)},Module._malloc=function(){return($e=Module._malloc=Module.asm.malloc).apply(null,arguments)}),je=(Module._calloc=function(){return(Module._calloc=Module.asm.calloc).apply(null,arguments)},Module._realloc=function(){return(Module._realloc=Module.asm.realloc).apply(null,arguments)},Module._free=function(){return(Module._free=Module.asm.free).apply(null,arguments)},Module._ts_language_symbol_count=function(){return(Module._ts_language_symbol_count=Module.asm.ts_language_symbol_count).apply(null,arguments)},Module._ts_language_version=function(){return(Module._ts_language_version=Module.asm.ts_language_version).apply(null,arguments)},Module._ts_language_field_count=function(){return(Module._ts_language_field_count=Module.asm.ts_language_field_count).apply(null,arguments)},Module._ts_language_symbol_name=function(){return(Module._ts_language_symbol_name=Module.asm.ts_language_symbol_name).apply(null,arguments)},Module._ts_language_symbol_for_name=function(){return(Module._ts_language_symbol_for_name=Module.asm.ts_language_symbol_for_name).apply(null,arguments)},Module._ts_language_symbol_type=function(){return(Module._ts_language_symbol_type=Module.asm.ts_language_symbol_type).apply(null,arguments)},Module._ts_language_field_name_for_id=function(){return(Module._ts_language_field_name_for_id=Module.asm.ts_language_field_name_for_id).apply(null,arguments)},Module._memcpy=function(){return(Module._memcpy=Module.asm.memcpy).apply(null,arguments)},Module._ts_parser_delete=function(){return(Module._ts_parser_delete=Module.asm.ts_parser_delete).apply(null,arguments)},Module._ts_parser_reset=function(){return(Module._ts_parser_reset=Module.asm.ts_parser_reset).apply(null,arguments)},Module._ts_parser_set_language=function(){return(Module._ts_parser_set_language=Module.asm.ts_parser_set_language).apply(null,arguments)},Module._ts_parser_timeout_micros=function(){return(Module._ts_parser_timeout_micros=Module.asm.ts_parser_timeout_micros).apply(null,arguments)},Module._ts_parser_set_timeout_micros=function(){return(Module._ts_parser_set_timeout_micros=Module.asm.ts_parser_set_timeout_micros).apply(null,arguments)},Module._memmove=function(){return(Module._memmove=Module.asm.memmove).apply(null,arguments)},Module._memcmp=function(){return(Module._memcmp=Module.asm.memcmp).apply(null,arguments)},Module._ts_query_new=function(){return(Module._ts_query_new=Module.asm.ts_query_new).apply(null,arguments)},Module._ts_query_delete=function(){return(Module._ts_query_delete=Module.asm.ts_query_delete).apply(null,arguments)},Module._iswspace=function(){return(Module._iswspace=Module.asm.iswspace).apply(null,arguments)},Module._iswalnum=function(){return(Module._iswalnum=Module.asm.iswalnum).apply(null,arguments)},Module._ts_query_pattern_count=function(){return(Module._ts_query_pattern_count=Module.asm.ts_query_pattern_count).apply(null,arguments)},Module._ts_query_capture_count=function(){return(Module._ts_query_capture_count=Module.asm.ts_query_capture_count).apply(null,arguments)},Module._ts_query_string_count=function(){return(Module._ts_query_string_count=Module.asm.ts_query_string_count).apply(null,arguments)},Module._ts_query_capture_name_for_id=function(){return(Module._ts_query_capture_name_for_id=Module.asm.ts_query_capture_name_for_id).apply(null,arguments)},Module._ts_query_string_value_for_id=function(){return(Module._ts_query_string_value_for_id=Module.asm.ts_query_string_value_for_id).apply(null,arguments)},Module._ts_query_predicates_for_pattern=function(){return(Module._ts_query_predicates_for_pattern=Module.asm.ts_query_predicates_for_pattern).apply(null,arguments)},Module._ts_tree_copy=function(){return(Module._ts_tree_copy=Module.asm.ts_tree_copy).apply(null,arguments)},Module._ts_tree_delete=function(){return(Module._ts_tree_delete=Module.asm.ts_tree_delete).apply(null,arguments)},Module._ts_init=function(){return(Module._ts_init=Module.asm.ts_init).apply(null,arguments)},Module._ts_parser_new_wasm=function(){return(Module._ts_parser_new_wasm=Module.asm.ts_parser_new_wasm).apply(null,arguments)},Module._ts_parser_enable_logger_wasm=function(){return(Module._ts_parser_enable_logger_wasm=Module.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},Module._ts_parser_parse_wasm=function(){return(Module._ts_parser_parse_wasm=Module.asm.ts_parser_parse_wasm).apply(null,arguments)},Module._ts_language_type_is_named_wasm=function(){return(Module._ts_language_type_is_named_wasm=Module.asm.ts_language_type_is_named_wasm).apply(null,arguments)},Module._ts_language_type_is_visible_wasm=function(){return(Module._ts_language_type_is_visible_wasm=Module.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},Module._ts_tree_root_node_wasm=function(){return(Module._ts_tree_root_node_wasm=Module.asm.ts_tree_root_node_wasm).apply(null,arguments)},Module._ts_tree_edit_wasm=function(){return(Module._ts_tree_edit_wasm=Module.asm.ts_tree_edit_wasm).apply(null,arguments)},Module._ts_tree_get_changed_ranges_wasm=function(){return(Module._ts_tree_get_changed_ranges_wasm=Module.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},Module._ts_tree_cursor_new_wasm=function(){return(Module._ts_tree_cursor_new_wasm=Module.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},Module._ts_tree_cursor_delete_wasm=function(){return(Module._ts_tree_cursor_delete_wasm=Module.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},Module._ts_tree_cursor_reset_wasm=function(){return(Module._ts_tree_cursor_reset_wasm=Module.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},Module._ts_tree_cursor_goto_first_child_wasm=function(){return(Module._ts_tree_cursor_goto_first_child_wasm=Module.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},Module._ts_tree_cursor_goto_next_sibling_wasm=function(){return(Module._ts_tree_cursor_goto_next_sibling_wasm=Module.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},Module._ts_tree_cursor_goto_parent_wasm=function(){return(Module._ts_tree_cursor_goto_parent_wasm=Module.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_type_id_wasm=function(){return(Module._ts_tree_cursor_current_node_type_id_wasm=Module.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_is_named_wasm=function(){return(Module._ts_tree_cursor_current_node_is_named_wasm=Module.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_is_missing_wasm=function(){return(Module._ts_tree_cursor_current_node_is_missing_wasm=Module.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_id_wasm=function(){return(Module._ts_tree_cursor_current_node_id_wasm=Module.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},Module._ts_tree_cursor_start_position_wasm=function(){return(Module._ts_tree_cursor_start_position_wasm=Module.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},Module._ts_tree_cursor_end_position_wasm=function(){return(Module._ts_tree_cursor_end_position_wasm=Module.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},Module._ts_tree_cursor_start_index_wasm=function(){return(Module._ts_tree_cursor_start_index_wasm=Module.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},Module._ts_tree_cursor_end_index_wasm=function(){return(Module._ts_tree_cursor_end_index_wasm=Module.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_field_id_wasm=function(){return(Module._ts_tree_cursor_current_field_id_wasm=Module.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},Module._ts_tree_cursor_current_node_wasm=function(){return(Module._ts_tree_cursor_current_node_wasm=Module.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},Module._ts_node_symbol_wasm=function(){return(Module._ts_node_symbol_wasm=Module.asm.ts_node_symbol_wasm).apply(null,arguments)},Module._ts_node_child_count_wasm=function(){return(Module._ts_node_child_count_wasm=Module.asm.ts_node_child_count_wasm).apply(null,arguments)},Module._ts_node_named_child_count_wasm=function(){return(Module._ts_node_named_child_count_wasm=Module.asm.ts_node_named_child_count_wasm).apply(null,arguments)},Module._ts_node_child_wasm=function(){return(Module._ts_node_child_wasm=Module.asm.ts_node_child_wasm).apply(null,arguments)},Module._ts_node_named_child_wasm=function(){return(Module._ts_node_named_child_wasm=Module.asm.ts_node_named_child_wasm).apply(null,arguments)},Module._ts_node_child_by_field_id_wasm=function(){return(Module._ts_node_child_by_field_id_wasm=Module.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},Module._ts_node_next_sibling_wasm=function(){return(Module._ts_node_next_sibling_wasm=Module.asm.ts_node_next_sibling_wasm).apply(null,arguments)},Module._ts_node_prev_sibling_wasm=function(){return(Module._ts_node_prev_sibling_wasm=Module.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},Module._ts_node_next_named_sibling_wasm=function(){return(Module._ts_node_next_named_sibling_wasm=Module.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},Module._ts_node_prev_named_sibling_wasm=function(){return(Module._ts_node_prev_named_sibling_wasm=Module.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},Module._ts_node_parent_wasm=function(){return(Module._ts_node_parent_wasm=Module.asm.ts_node_parent_wasm).apply(null,arguments)},Module._ts_node_descendant_for_index_wasm=function(){return(Module._ts_node_descendant_for_index_wasm=Module.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},Module._ts_node_named_descendant_for_index_wasm=function(){return(Module._ts_node_named_descendant_for_index_wasm=Module.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},Module._ts_node_descendant_for_position_wasm=function(){return(Module._ts_node_descendant_for_position_wasm=Module.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},Module._ts_node_named_descendant_for_position_wasm=function(){return(Module._ts_node_named_descendant_for_position_wasm=Module.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},Module._ts_node_start_point_wasm=function(){return(Module._ts_node_start_point_wasm=Module.asm.ts_node_start_point_wasm).apply(null,arguments)},Module._ts_node_end_point_wasm=function(){return(Module._ts_node_end_point_wasm=Module.asm.ts_node_end_point_wasm).apply(null,arguments)},Module._ts_node_start_index_wasm=function(){return(Module._ts_node_start_index_wasm=Module.asm.ts_node_start_index_wasm).apply(null,arguments)},Module._ts_node_end_index_wasm=function(){return(Module._ts_node_end_index_wasm=Module.asm.ts_node_end_index_wasm).apply(null,arguments)},Module._ts_node_to_string_wasm=function(){return(Module._ts_node_to_string_wasm=Module.asm.ts_node_to_string_wasm).apply(null,arguments)},Module._ts_node_children_wasm=function(){return(Module._ts_node_children_wasm=Module.asm.ts_node_children_wasm).apply(null,arguments)},Module._ts_node_named_children_wasm=function(){return(Module._ts_node_named_children_wasm=Module.asm.ts_node_named_children_wasm).apply(null,arguments)},Module._ts_node_descendants_of_type_wasm=function(){return(Module._ts_node_descendants_of_type_wasm=Module.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},Module._ts_node_is_named_wasm=function(){return(Module._ts_node_is_named_wasm=Module.asm.ts_node_is_named_wasm).apply(null,arguments)},Module._ts_node_has_changes_wasm=function(){return(Module._ts_node_has_changes_wasm=Module.asm.ts_node_has_changes_wasm).apply(null,arguments)},Module._ts_node_has_error_wasm=function(){return(Module._ts_node_has_error_wasm=Module.asm.ts_node_has_error_wasm).apply(null,arguments)},Module._ts_node_is_missing_wasm=function(){return(Module._ts_node_is_missing_wasm=Module.asm.ts_node_is_missing_wasm).apply(null,arguments)},Module._ts_query_matches_wasm=function(){return(Module._ts_query_matches_wasm=Module.asm.ts_query_matches_wasm).apply(null,arguments)},Module._ts_query_captures_wasm=function(){return(Module._ts_query_captures_wasm=Module.asm.ts_query_captures_wasm).apply(null,arguments)},Module._iswdigit=function(){return(Module._iswdigit=Module.asm.iswdigit).apply(null,arguments)},Module._iswalpha=function(){return(Module._iswalpha=Module.asm.iswalpha).apply(null,arguments)},Module._iswlower=function(){return(Module._iswlower=Module.asm.iswlower).apply(null,arguments)},Module._towupper=function(){return(Module._towupper=Module.asm.towupper).apply(null,arguments)},Module.___errno_location=function(){return(je=Module.___errno_location=Module.asm.__errno_location).apply(null,arguments)}),Ue=(Module._memchr=function(){return(Module._memchr=Module.asm.memchr).apply(null,arguments)},Module._strlen=function(){return(Module._strlen=Module.asm.strlen).apply(null,arguments)},Module.stackSave=function(){return(Ue=Module.stackSave=Module.asm.stackSave).apply(null,arguments)}),De=Module.stackRestore=function(){return(De=Module.stackRestore=Module.asm.stackRestore).apply(null,arguments)},ze=Module.stackAlloc=function(){return(ze=Module.stackAlloc=Module.asm.stackAlloc).apply(null,arguments)},Ge=Module._setThrew=function(){return(Ge=Module._setThrew=Module.asm.setThrew).apply(null,arguments)};Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},Module.__Znwm=function(){return(Module.__Znwm=Module.asm._Znwm).apply(null,arguments)},Module.__ZdlPv=function(){return(Module.__ZdlPv=Module.asm._ZdlPv).apply(null,arguments)},Module.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(Module.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=Module.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},Module._orig$ts_parser_timeout_micros=function(){return(Module._orig$ts_parser_timeout_micros=Module.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},Module._orig$ts_parser_set_timeout_micros=function(){return(Module._orig$ts_parser_set_timeout_micros=Module.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)};function He(e){this.name=\"ExitStatus\",this.message=\"Program terminated with exit(\"+e+\")\",this.status=e}Module.allocate=function(e,t){var r;return r=t==C?ze(e.length):$e(e.length),e.subarray||e.slice?T.set(e,r):T.set(new Uint8Array(e),r),r};re=function e(){Ze||Ke(),Ze||(re=e)};var Be=!1;function Ke(e){function t(){Ze||(Ze=!0,Module.calledRun=!0,P||(Y=!0,pe(X),pe(Q),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),Xe&&function(e){var t=Module._main;if(t){var r=(e=e||[]).length+1,n=ze(4*(r+1));W[n>>2]=G(a);for(var s=1;s>2)+s]=G(e[s-1]);W[(n>>2)+r]=0;try{Ve(t(r,n),!0)}catch(e){if(e instanceof He)return;if(\"unwind\"==e)return;var o=e;e&&\"object\"==typeof e&&e.stack&&(o=[e,e.stack]),g(\"exception thrown: \"+o),u(1,e)}finally{!0}}}(e),function(){if(Module.postRun)for(\"function\"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)e=Module.postRun.shift(),J.unshift(e);var e;pe(J)}()))}e=e||_,ee>0||!Be&&(function(){if(I.length){if(!m)return ne(),void I.reduce(function(e,t){return e.then(function(){return Ne(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})})},Promise.resolve()).then(function(){se(),Pe()});I.forEach(function(e){Ne(e,{global:!0,nodelete:!0,allowUndefined:!0})}),Pe()}else Pe()}(),Be=!0,ee>0)||(!function(){if(Module.preRun)for(\"function\"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)e=Module.preRun.shift(),V.unshift(e);var e;pe(V)}(),ee>0||(Module.setStatus?(Module.setStatus(\"Running...\"),setTimeout(function(){setTimeout(function(){Module.setStatus(\"\")},1),t()},1)):t()))}function Ve(e,t){e,t&&we()&&0===e||(we()||(!0,Module.onExit&&Module.onExit(e),P=!0),u(e,new He(e)))}if(Module.run=Ke,Module.preInit)for(\"function\"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var Xe=!0;Module.noInitialRun&&(Xe=!1),Ke();const Qe=Module,Je={},Ye=4,et=5*Ye,tt=2*Ye,rt=2*Ye+2*tt,nt={row:0,column:0},st=/[\\w-.]*/g,ot=1,_t=2,at=/^_?tree_sitter_\\w+/;var ut,it,lt,dt,ct;class ParserImpl{static init(){lt=Qe._ts_init(),ut=N(lt,\"i32\"),it=N(lt+Ye,\"i32\")}initialize(){Qe._ts_parser_new_wasm(),this[0]=N(lt,\"i32\"),this[1]=N(lt+Ye,\"i32\")}delete(){Qe._ts_parser_delete(this[0]),Qe._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error(\"Argument must be a Language\");{t=e[0];const r=Qe._ts_language_version(t);if(re.slice(t,n));else{if(\"function\"!=typeof e)throw new Error(\"Argument must be a string or a function\");dt=e}this.logCallback?(ct=this.logCallback,Qe._ts_parser_enable_logger_wasm(this[0],1)):(ct=null,Qe._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let e=s=Qe._calloc(n,rt);for(let t=0;t0){let e=r;for(let r=0;r0){let r=t;for(let t=0;t0){let r=t;for(let t=0;t0){let e=a;for(let t=0;t<_;t++)u[t]=wt(this.tree,e),e+=et}return Qe._free(a),Qe._free(o),u}get nextSibling(){return gt(this),Qe._ts_node_next_sibling_wasm(this.tree[0]),wt(this.tree)}get previousSibling(){return gt(this),Qe._ts_node_prev_sibling_wasm(this.tree[0]),wt(this.tree)}get nextNamedSibling(){return gt(this),Qe._ts_node_next_named_sibling_wasm(this.tree[0]),wt(this.tree)}get previousNamedSibling(){return gt(this),Qe._ts_node_prev_named_sibling_wasm(this.tree[0]),wt(this.tree)}get parent(){return gt(this),Qe._ts_node_parent_wasm(this.tree[0]),wt(this.tree)}descendantForIndex(e,t=e){if(\"number\"!=typeof e||\"number\"!=typeof t)throw new Error(\"Arguments must be numbers\");gt(this);let r=lt+et;return x(r,e,\"i32\"),x(r+Ye,t,\"i32\"),Qe._ts_node_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}namedDescendantForIndex(e,t=e){if(\"number\"!=typeof e||\"number\"!=typeof t)throw new Error(\"Arguments must be numbers\");gt(this);let r=lt+et;return x(r,e,\"i32\"),x(r+Ye,t,\"i32\"),Qe._ts_node_named_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}descendantForPosition(e,t=e){if(!ht(e)||!ht(t))throw new Error(\"Arguments must be {row, column} objects\");gt(this);let r=lt+et;return bt(r,e),bt(r+tt,t),Qe._ts_node_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}namedDescendantForPosition(e,t=e){if(!ht(e)||!ht(t))throw new Error(\"Arguments must be {row, column} objects\");gt(this);let r=lt+et;return bt(r,e),bt(r+tt,t),Qe._ts_node_named_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}walk(){return gt(this),Qe._ts_tree_cursor_new_wasm(this.tree[0]),new TreeCursor(Je,this.tree)}toString(){gt(this);const e=Qe._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t=\"\";;){var r=T[e++>>0];if(!r)return t;t+=String.fromCharCode(r)}}(e);return Qe._free(e),t}}class TreeCursor{constructor(e,t){pt(e),this.tree=t,Mt(this)}delete(){yt(this),Qe._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){gt(e),yt(this,lt+et),Qe._ts_tree_cursor_reset_wasm(this.tree[0]),Mt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||\"ERROR\"}get nodeTypeId(){return yt(this),Qe._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return yt(this),Qe._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return yt(this),1===Qe._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return yt(this),1===Qe._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){yt(this);const e=Qe._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Qe._ts_tree_cursor_end_index_wasm(this.tree[0]);return mt(this.tree,e,t)}get startPosition(){return yt(this),Qe._ts_tree_cursor_start_position_wasm(this.tree[0]),vt(lt)}get endPosition(){return yt(this),Qe._ts_tree_cursor_end_position_wasm(this.tree[0]),vt(lt)}get startIndex(){return yt(this),Qe._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return yt(this),Qe._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return yt(this),Qe._ts_tree_cursor_current_node_wasm(this.tree[0]),wt(this.tree)}currentFieldId(){return yt(this),Qe._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){yt(this);const e=Qe._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Mt(this),1===e}gotoNextSibling(){yt(this);const e=Qe._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Mt(this),1===e}gotoParent(){yt(this);const e=Qe._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return Mt(this),1===e}}class Language{constructor(e,t){pt(e),this[0]=t,this.types=new Array(Qe._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e0){if(\"string\"!==s[0].type)throw new Error(\"Predicates must begin with a literal value\");const t=s[0].value;let r=!0;switch(t){case\"not-eq?\":r=!1;case\"eq?\":if(3!==s.length)throw new Error(`Wrong number of arguments to \\`#eq?\\` predicate. Expected 2, got ${s.length-1}`);if(\"capture\"!==s[1].type)throw new Error(`First argument of \\`#eq?\\` predicate must be a capture. Got \"${s[1].value}\"`);if(\"capture\"===s[2].type){const t=s[1].name,n=s[2].name;m[e].push(function(e){let s,o;for(const r of e)r.name===t&&(s=r.node),r.name===n&&(o=r.node);return void 0===s||void 0===o||s.text===o.text===r})}else{const t=s[1].name,n=s[2].value;m[e].push(function(e){for(const s of e)if(s.name===t)return s.node.text===n===r;return!0})}break;case\"not-match?\":r=!1;case\"match?\":if(3!==s.length)throw new Error(`Wrong number of arguments to \\`#match?\\` predicate. Expected 2, got ${s.length-1}.`);if(\"capture\"!==s[1].type)throw new Error(`First argument of \\`#match?\\` predicate must be a capture. Got \"${s[1].value}\".`);if(\"string\"!==s[2].type)throw new Error(`Second argument of \\`#match?\\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,o=new RegExp(s[2].value);m[e].push(function(e){for(const t of e)if(t.name===n)return o.test(t.node.text)===r;return!0});break;case\"set!\":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \\`#set!\\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some(e=>\"string\"!==e.type))throw new Error('Arguments to `#set!` predicate must be a strings.\".');i[e]||(i[e]={}),i[e][s[1].value]=s[2]?s[2].value:null;break;case\"is?\":case\"is-not?\":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \\`#${t}\\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some(e=>\"string\"!==e.type))throw new Error(`Arguments to \\`#${t}\\` predicate must be a strings.\".`);const _=\"is?\"===t?l:d;_[e]||(_[e]={}),_[e][s[1].value]=s[2]?s[2].value:null;break;default:c[e].push({operator:t,operands:s.slice(1)})}s.length=0}}Object.freeze(i[e]),Object.freeze(l[e]),Object.freeze(d[e])}return Qe._free(r),new Query(Je,n,a,m,c,Object.freeze(i),Object.freeze(l),Object.freeze(d))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const r=e;if(\"undefined\"!=typeof process&&process.versions&&process.versions.node){const e=require(\"fs\");t=Promise.resolve(e.readFileSync(r))}else t=fetch(r).then(e=>e.arrayBuffer().then(t=>{if(e.ok)return new Uint8Array(t);{const r=new TextDecoder(\"utf-8\").decode(t);throw new Error(`Language.load failed with status ${e.status}.\\n\\n${r}`)}}))}const r=\"function\"==typeof loadSideModule?loadSideModule:xe;return t.then(e=>r(e,{loadAsync:!0})).then(e=>{const t=Object.keys(e),r=t.find(e=>at.test(e)&&!e.includes(\"external_scanner_\"));r||console.log(`Couldn't find language function in WASM file. Symbols:\\n${JSON.stringify(t,null,2)}`);const n=e[r]();return new Language(Je,n)})}}class Query{constructor(e,t,r,n,s,o,_,a){pt(e),this[0]=t,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=o,this.assertedProperties=_,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Qe._ts_query_delete(this[0]),this[0]=0}matches(e,t,r,n){t||(t=nt),r||(r=nt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if(\"number\"!=typeof s)throw new Error(\"Arguments must be numbers\");gt(e),Qe._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const o=N(lt,\"i32\"),_=N(lt+Ye,\"i32\"),a=N(lt+2*Ye,\"i32\"),u=new Array(o);this.exceededMatchLimit=!!a;let i=0,l=_;for(let t=0;te(s))){u[i++]={pattern:r,captures:s};const e=this.setProperties[r];e&&(u[t].setProperties=e);const n=this.assertedProperties[r];n&&(u[t].assertedProperties=n);const o=this.refutedProperties[r];o&&(u[t].refutedProperties=o)}}return u.length=i,Qe._free(_),u}captures(e,t,r,n){t||(t=nt),r||(r=nt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if(\"number\"!=typeof s)throw new Error(\"Arguments must be numbers\");gt(e),Qe._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const o=N(lt,\"i32\"),_=N(lt+Ye,\"i32\"),a=N(lt+2*Ye,\"i32\"),u=[];this.exceededMatchLimit=!!a;const i=[];let l=_;for(let t=0;te(i))){const e=i[n],r=this.setProperties[t];r&&(e.setProperties=r);const s=this.assertedProperties[t];s&&(e.assertedProperties=s);const o=this.refutedProperties[t];o&&(e.refutedProperties=o),u.push(e)}}return Qe._free(_),u}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function mt(e,t,r){const n=r-t;let s=e.textCallback(t,null,r);for(t+=s.length;t0))break;t+=n.length,s+=n}return t>r&&(s=s.slice(0,n)),s}function ft(e,t,r,n){for(let s=0,o=n.length;s{ParserImpl.init(),e()})}))}}return Parser}();\"object\"==typeof exports&&(module.exports=TreeSitter);\n","\"use strict\";\n// NOTE: don't construct errors here or they'll have the wrong stack trace.\n// NOTE: don't make custom error class; the JS engines use `SyntaxError`\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.errorMessages = exports.ErrorType = void 0;\n/**\n * Keys for possible error messages used by `unraw`.\n * Note: These do _not_ map to actual error object types. All errors thrown\n * are `SyntaxError`.\n */\n// Don't use const enum or JS users won't be able to access the enum values\nvar ErrorType;\n(function (ErrorType) {\n /**\n * Thrown when a badly formed Unicode escape sequence is found. Possible\n * reasons include the code being too short (`\"\\u25\"`) or having invalid\n * characters (`\"\\u2$A5\"`).\n */\n ErrorType[\"MalformedUnicode\"] = \"MALFORMED_UNICODE\";\n /**\n * Thrown when a badly formed hexadecimal escape sequence is found. Possible\n * reasons include the code being too short (`\"\\x2\"`) or having invalid\n * characters (`\"\\x2$\"`).\n */\n ErrorType[\"MalformedHexadecimal\"] = \"MALFORMED_HEXADECIMAL\";\n /**\n * Thrown when a Unicode code point escape sequence has too high of a code\n * point. The maximum code point allowed is `\\u{10FFFF}`, so `\\u{110000}` and\n * higher will throw this error.\n */\n ErrorType[\"CodePointLimit\"] = \"CODE_POINT_LIMIT\";\n /**\n * Thrown when an octal escape sequences is encountered and `allowOctals` is\n * `false`. For example, `unraw(\"\\234\", false)`.\n */\n ErrorType[\"OctalDeprecation\"] = \"OCTAL_DEPRECATION\";\n /**\n * Thrown only when a single backslash is found at the end of a string. For\n * example, `\"\\\\\"` or `\"test\\\\x24\\\\\"`.\n */\n ErrorType[\"EndOfString\"] = \"END_OF_STRING\";\n})(ErrorType = exports.ErrorType || (exports.ErrorType = {}));\n/** Map of error message names to the full text of the message. */\nexports.errorMessages = new Map([\n [ErrorType.MalformedUnicode, \"malformed Unicode character escape sequence\"],\n [\n ErrorType.MalformedHexadecimal,\n \"malformed hexadecimal character escape sequence\"\n ],\n [\n ErrorType.CodePointLimit,\n \"Unicode codepoint must not be greater than 0x10FFFF in escape sequence\"\n ],\n [\n ErrorType.OctalDeprecation,\n '\"0\"-prefixed octal literals and octal escape sequences are deprecated; ' +\n 'for octal literals use the \"0o\" prefix instead'\n ],\n [ErrorType.EndOfString, \"malformed escape sequence at end of string\"]\n]);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.unraw = exports.errorMessages = exports.ErrorType = void 0;\nconst errors_1 = require(\"./errors\");\nObject.defineProperty(exports, \"ErrorType\", { enumerable: true, get: function () { return errors_1.ErrorType; } });\nObject.defineProperty(exports, \"errorMessages\", { enumerable: true, get: function () { return errors_1.errorMessages; } });\n/**\n * Parse a string as a base-16 number. This is more strict than `parseInt` as it\n * will not allow any other characters, including (for example) \"+\", \"-\", and\n * \".\".\n * @param hex A string containing a hexadecimal number.\n * @returns The parsed integer, or `NaN` if the string is not a valid hex\n * number.\n */\nfunction parseHexToInt(hex) {\n const isOnlyHexChars = !hex.match(/[^a-f0-9]/i);\n return isOnlyHexChars ? parseInt(hex, 16) : NaN;\n}\n/**\n * Check the validity and length of a hexadecimal code and optionally enforces\n * a specific number of hex digits.\n * @param hex The string to validate and parse.\n * @param errorName The name of the error message to throw a `SyntaxError` with\n * if `hex` is invalid. This is used to index `errorMessages`.\n * @param enforcedLength If provided, will throw an error if `hex` is not\n * exactly this many characters.\n * @returns The parsed hex number as a normal number.\n * @throws {SyntaxError} If the code is not valid.\n */\nfunction validateAndParseHex(hex, errorName, enforcedLength) {\n const parsedHex = parseHexToInt(hex);\n if (Number.isNaN(parsedHex) ||\n (enforcedLength !== undefined && enforcedLength !== hex.length)) {\n throw new SyntaxError(errors_1.errorMessages.get(errorName));\n }\n return parsedHex;\n}\n/**\n * Parse a two-digit hexadecimal character escape code.\n * @param code The two-digit hexadecimal number that represents the character to\n * output.\n * @returns The single character represented by the code.\n * @throws {SyntaxError} If the code is not valid hex or is not the right\n * length.\n */\nfunction parseHexadecimalCode(code) {\n const parsedCode = validateAndParseHex(code, errors_1.ErrorType.MalformedHexadecimal, 2);\n return String.fromCharCode(parsedCode);\n}\n/**\n * Parse a four-digit Unicode character escape code.\n * @param code The four-digit unicode number that represents the character to\n * output.\n * @param surrogateCode Optional four-digit unicode surrogate that represents\n * the other half of the character to output.\n * @returns The single character represented by the code.\n * @throws {SyntaxError} If the codes are not valid hex or are not the right\n * length.\n */\nfunction parseUnicodeCode(code, surrogateCode) {\n const parsedCode = validateAndParseHex(code, errors_1.ErrorType.MalformedUnicode, 4);\n if (surrogateCode !== undefined) {\n const parsedSurrogateCode = validateAndParseHex(surrogateCode, errors_1.ErrorType.MalformedUnicode, 4);\n return String.fromCharCode(parsedCode, parsedSurrogateCode);\n }\n return String.fromCharCode(parsedCode);\n}\n/**\n * Test if the text is surrounded by curly braces (`{}`).\n * @param text Text to check.\n * @returns `true` if the text is in the form `{*}`.\n */\nfunction isCurlyBraced(text) {\n return text.charAt(0) === \"{\" && text.charAt(text.length - 1) === \"}\";\n}\n/**\n * Parse a Unicode code point character escape code.\n * @param codePoint A unicode escape code point, including the surrounding curly\n * braces.\n * @returns The single character represented by the code.\n * @throws {SyntaxError} If the code is not valid hex or does not have the\n * surrounding curly braces.\n */\nfunction parseUnicodeCodePointCode(codePoint) {\n if (!isCurlyBraced(codePoint)) {\n throw new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.MalformedUnicode));\n }\n const withoutBraces = codePoint.slice(1, -1);\n const parsedCode = validateAndParseHex(withoutBraces, errors_1.ErrorType.MalformedUnicode);\n try {\n return String.fromCodePoint(parsedCode);\n }\n catch (err) {\n throw err instanceof RangeError\n ? new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.CodePointLimit))\n : err;\n }\n}\n// Have to give overload that takes boolean for when compiler doesn't know if\n// true or false\nfunction parseOctalCode(code, error = false) {\n if (error) {\n throw new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.OctalDeprecation));\n }\n // The original regex only allows digits so we don't need to have a strict\n // octal parser like hexToInt. Length is not enforced for octals.\n const parsedCode = parseInt(code, 8);\n return String.fromCharCode(parsedCode);\n}\n/**\n * Map of unescaped letters to their corresponding special JS escape characters.\n * Intentionally does not include characters that map to themselves like \"\\'\".\n */\nconst singleCharacterEscapes = new Map([\n [\"b\", \"\\b\"],\n [\"f\", \"\\f\"],\n [\"n\", \"\\n\"],\n [\"r\", \"\\r\"],\n [\"t\", \"\\t\"],\n [\"v\", \"\\v\"],\n [\"0\", \"\\0\"]\n]);\n/**\n * Parse a single character escape sequence and return the matching character.\n * If none is matched, defaults to `code`.\n * @param code A single character code.\n */\nfunction parseSingleCharacterCode(code) {\n return singleCharacterEscapes.get(code) || code;\n}\n/**\n * Matches every escape sequence possible, including invalid ones.\n *\n * All capture groups (described below) are unique (only one will match), except\n * for 4, which can only potentially match if 3 does.\n *\n * **Capture Groups:**\n * 0. A single backslash\n * 1. Hexadecimal code\n * 2. Unicode code point code with surrounding curly braces\n * 3. Unicode escape code with surrogate\n * 4. Surrogate code\n * 5. Unicode escape code without surrogate\n * 6. Octal code _NOTE: includes \"0\"._\n * 7. A single character (will never be \\, x, u, or 0-3)\n */\nconst escapeMatch = /\\\\(?:(\\\\)|x([\\s\\S]{0,2})|u(\\{[^}]*\\}?)|u([\\s\\S]{4})\\\\u([^{][\\s\\S]{0,3})|u([\\s\\S]{0,4})|([0-3]?[0-7]{1,2})|([\\s\\S])|$)/g;\n/**\n * Replace raw escape character strings with their escape characters.\n * @param raw A string where escape characters are represented as raw string\n * values like `\\'` rather than `'`.\n * @param allowOctals If `true`, will process the now-deprecated octal escape\n * sequences (ie, `\\111`).\n * @returns The processed string, with escape characters replaced by their\n * respective actual Unicode characters.\n */\nfunction unraw(raw, allowOctals = false) {\n return raw.replace(escapeMatch, function (_, backslash, hex, codePoint, unicodeWithSurrogate, surrogate, unicode, octal, singleCharacter) {\n // Compare groups to undefined because empty strings mean different errors\n // Otherwise, `\\u` would fail the same as `\\` which is wrong.\n if (backslash !== undefined) {\n return \"\\\\\";\n }\n if (hex !== undefined) {\n return parseHexadecimalCode(hex);\n }\n if (codePoint !== undefined) {\n return parseUnicodeCodePointCode(codePoint);\n }\n if (unicodeWithSurrogate !== undefined) {\n return parseUnicodeCode(unicodeWithSurrogate, surrogate);\n }\n if (unicode !== undefined) {\n return parseUnicodeCode(unicode);\n }\n if (octal === \"0\") {\n return \"\\0\";\n }\n if (octal !== undefined) {\n return parseOctalCode(octal, !allowOctals);\n }\n if (singleCharacter !== undefined) {\n return parseSingleCharacterCode(singleCharacter);\n }\n throw new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.EndOfString));\n });\n}\nexports.unraw = unraw;\nexports.default = unraw;\n","module.exports = require(\"core-js-pure/features/aggregate-error\");","'use strict';\nvar parent = require('../stable/aggregate-error');\n\nmodule.exports = parent;\n","'use strict';\nrequire('../modules/es.error.cause');\nrequire('../modules/es.aggregate-error');\nrequire('../modules/es.aggregate-error.cause');\nrequire('../modules/es.array.iterator');\nrequire('../modules/es.string.iterator');\nvar path = require('../internals/path');\n\nmodule.exports = path.AggregateError;\n","'use strict';\nmodule.exports = require('../full/aggregate-error');\n","'use strict';\n// TODO: remove from `core-js@4`\nrequire('../modules/esnext.aggregate-error');\n\nvar parent = require('../actual/aggregate-error');\n\nmodule.exports = parent;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar isPossiblePrototype = require('../internals/is-possible-prototype');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (isPossiblePrototype(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\nmodule.exports = function () { /* empty */ };\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (target, key, value, options) {\n if (options && options.enumerable) target[key] = value;\n else createNonEnumerableProperty(target, key, value);\n return target;\n};\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","'use strict';\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\n// non-standard V8\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n if (ERROR_STACK_INSTALLABLE) {\n if (captureStackTrace) captureStackTrace(error, C);\n else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = new Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar isCallable = require('../internals/is-callable');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar isForced = require('../internals/is-forced');\nvar path = require('../internals/path');\nvar bind = require('../internals/function-bind-context');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\n\nvar wrapConstructor = function (NativeConstructor) {\n var Wrapper = function (a, b, c) {\n if (this instanceof Wrapper) {\n switch (arguments.length) {\n case 0: return new NativeConstructor();\n case 1: return new NativeConstructor(a);\n case 2: return new NativeConstructor(a, b);\n } return new NativeConstructor(a, b, c);\n } return apply(NativeConstructor, this, arguments);\n };\n Wrapper.prototype = NativeConstructor.prototype;\n return Wrapper;\n};\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var PROTO = options.proto;\n\n var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : global[TARGET] && global[TARGET].prototype;\n\n var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];\n var targetPrototype = target.prototype;\n\n var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;\n var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;\n\n for (key in source) {\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contains in native\n USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);\n\n targetProperty = target[key];\n\n if (USE_NATIVE) if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(nativeSource, key);\n nativeProperty = descriptor && descriptor.value;\n } else nativeProperty = nativeSource[key];\n\n // export native or implementation\n sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];\n\n if (!FORCED && !PROTO && typeof targetProperty == typeof sourceProperty) continue;\n\n // bind methods to global for calling from export context\n if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);\n // wrap global constructors for prevent changes in this version\n else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);\n // make static versions for prototype methods\n else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);\n // default case\n else resultProperty = sourceProperty;\n\n // add a flag to not completely full polyfills\n if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(resultProperty, 'sham', true);\n }\n\n createNonEnumerableProperty(target, key, resultProperty);\n\n if (PROTO) {\n VIRTUAL_PROTOTYPE = TARGET + 'Prototype';\n if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {\n createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});\n }\n // export virtual prototype methods\n createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);\n // export real prototype methods\n if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {\n createNonEnumerableProperty(targetPrototype, key, sourceProperty);\n }\n }\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar path = require('../internals/path');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (variable) {\n return isCallable(variable) ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nmodule.exports = function (argument) {\n return isObject(argument) || argument === null;\n};\n","'use strict';\nmodule.exports = true;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n }\n\n return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (Target, Source, key) {\n key in Target || defineProperty(Target, key, {\n configurable: true,\n get: function () { return Source[key]; },\n set: function (it) { Source[key] = it; }\n });\n};\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineProperty = require('../internals/object-define-property').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/object-to-string');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC, SET_METHOD) {\n var target = STATIC ? it : it && it.prototype;\n if (target) {\n if (!hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {\n createNonEnumerableProperty(target, 'toString', toString);\n }\n }\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.35.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var STACK_TRACE_LIMIT = 'stackTraceLimit';\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n\n if (!OriginalError) return;\n\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n\n if (!FORCED) return OriginalError;\n\n var BaseError = getBuiltIn('Error');\n\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n installErrorStack(result, WrappedError, result.stack, 2);\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n\n WrappedError.prototype = OriginalErrorPrototype;\n\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);\n else copyConstructorProperties(WrappedError, BaseError, { name: true });\n } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {\n proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);\n proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');\n }\n\n copyConstructorProperties(WrappedError, OriginalError);\n\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) { /* empty */ }\n\n return WrappedError;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar fails = require('../internals/fails');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar AGGREGATE_ERROR = 'AggregateError';\nvar $AggregateError = getBuiltIn(AGGREGATE_ERROR);\n\nvar FORCED = !fails(function () {\n return $AggregateError([1]).errors[0] !== 1;\n}) && fails(function () {\n return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7;\n});\n\n// https://tc39.es/ecma262/#sec-aggregate-error\n$({ global: true, constructor: true, arity: 2, forced: FORCED }, {\n AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) {\n // eslint-disable-next-line no-unused-vars -- required for functions `.length`\n return function AggregateError(errors, message) { return apply(init, this, arguments); };\n }, FORCED, true)\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Error = Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n installErrorStack(that, $AggregateError, that.stack, 1);\n if (arguments.length > 2) installErrorCause(that, arguments[2]);\n var errorsArray = [];\n iterate(errors, push, { that: errorsArray });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, $Error);\nelse copyConstructorProperties($AggregateError, $Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true, constructor: true, arity: 2 }, {\n AggregateError: $AggregateError\n});\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.aggregate-error.constructor');\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n switch (state.kind) {\n case 'keys': return createIterResultObject(index, false);\n case 'values': return createIterResultObject(target[index], false);\n } return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\n/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = global[WEB_ASSEMBLY];\n\n// eslint-disable-next-line es/no-error-cause -- feature detection\nvar FORCED = new Error('e', { cause: 7 }).cause !== 7;\n\nvar exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);\n};\n\nvar exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);\n }\n};\n\n// https://tc39.es/ecma262/#sec-nativeerror\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) { return apply(init, this, arguments); };\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","'use strict';\n// TODO: Remove from `core-js@4`\nrequire('../modules/es.aggregate-error');\n","'use strict';\nrequire('../modules/es.array.iterator');\nvar DOMIterables = require('../internals/dom-iterables');\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n setToStringTag(global[COLLECTION_NAME], COLLECTION_NAME);\n Iterators[COLLECTION_NAME] = Iterators.Array;\n}\n","'use strict';\n// TODO: remove from `core-js@4`\nrequire('../modules/esnext.aggregate-error');\n\nvar parent = require('../es/aggregate-error');\nrequire('../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","'use strict';\n\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst {toString} = Object.prototype;\nconst {getPrototypeOf} = Object;\n\nconst kindOf = (cache => thing => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type\n}\n\nconst typeOfTest = type => thing => typeof thing === type;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst {isArray} = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = thing => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (kindOf(val) !== 'object') {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nconst isFormData = (thing) => {\n let kind;\n return thing && (\n (typeof FormData === 'function' && thing instanceof FormData) || (\n isFunction(thing.append) && (\n (kind = kindOf(thing)) === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n )\n )\n )\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => str.trim ?\n str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Boolean} [allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, {allOwnKeys = false} = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\nfunction findKey(obj, key) {\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== \"undefined\") return globalThis;\n return typeof self !== \"undefined\" ? self : (typeof window !== 'undefined' ? window : global)\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n const {caseless} = isContextDefined(this) && this || {};\n const result = {};\n const assignValue = (val, key) => {\n const targetKey = caseless && findKey(result, key) || key;\n if (isPlainObject(result[targetKey]) && isPlainObject(val)) {\n result[targetKey] = merge(result[targetKey], val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else {\n result[targetKey] = val;\n }\n }\n\n for (let i = 0, l = arguments.length; i < l; i++) {\n arguments[i] && forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Boolean} [allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, {allOwnKeys}= {}) => {\n forEach(b, (val, key) => {\n if (thisArg && isFunction(val)) {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n }, {allOwnKeys});\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n constructor.prototype.constructor = constructor;\n Object.defineProperty(constructor, 'super', {\n value: superConstructor.prototype\n });\n props && Object.assign(constructor.prototype, props);\n}\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n}\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n}\n\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n}\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = (TypedArray => {\n // eslint-disable-next-line func-names\n return thing => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[Symbol.iterator];\n\n const iterator = generator.call(obj);\n\n let result;\n\n while ((result = iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n}\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n}\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = str => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g,\n function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n }\n );\n};\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n}\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error('Can not rewrite read-only method \\'' + name + '\\'');\n };\n }\n });\n}\n\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach(value => {\n obj[value] = true;\n });\n }\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n}\n\nconst noop = () => {}\n\nconst toFiniteNumber = (value, defaultValue) => {\n value = +value;\n return Number.isFinite(value) ? value : defaultValue;\n}\n\nconst ALPHA = 'abcdefghijklmnopqrstuvwxyz'\n\nconst DIGIT = '0123456789';\n\nconst ALPHABET = {\n DIGIT,\n ALPHA,\n ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT\n}\n\nconst generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {\n let str = '';\n const {length} = alphabet;\n while (size--) {\n str += alphabet[Math.random() * length|0]\n }\n\n return str;\n}\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);\n}\n\nconst toJSONObject = (obj) => {\n const stack = new Array(10);\n\n const visit = (source, i) => {\n\n if (isObject(source)) {\n if (stack.indexOf(source) >= 0) {\n return;\n }\n\n if(!('toJSON' in source)) {\n stack[i] = source;\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value, i + 1);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n stack[i] = undefined;\n\n return target;\n }\n }\n\n return source;\n }\n\n return visit(obj, 0);\n}\n\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\nconst isThenable = (thing) =>\n thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isUndefined,\n isDate,\n isFile,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n ALPHABET,\n generateString,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\nfunction AxiosError(message, code, config, request, response) {\n Error.call(this);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n } else {\n this.stack = (new Error()).stack;\n }\n\n this.message = message;\n this.name = 'AxiosError';\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n response && (this.response = response);\n}\n\nutils.inherits(AxiosError, Error, {\n toJSON: function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: utils.toJSONObject(this.config),\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n }\n});\n\nconst prototype = AxiosError.prototype;\nconst descriptors = {};\n\n[\n 'ERR_BAD_OPTION_VALUE',\n 'ERR_BAD_OPTION',\n 'ECONNABORTED',\n 'ETIMEDOUT',\n 'ERR_NETWORK',\n 'ERR_FR_TOO_MANY_REDIRECTS',\n 'ERR_DEPRECATED',\n 'ERR_BAD_RESPONSE',\n 'ERR_BAD_REQUEST',\n 'ERR_CANCELED',\n 'ERR_NOT_SUPPORT',\n 'ERR_INVALID_URL'\n// eslint-disable-next-line func-names\n].forEach(code => {\n descriptors[code] = {value: code};\n});\n\nObject.defineProperties(AxiosError, descriptors);\nObject.defineProperty(prototype, 'isAxiosError', {value: true});\n\n// eslint-disable-next-line func-names\nAxiosError.from = (error, code, config, request, response, customProps) => {\n const axiosError = Object.create(prototype);\n\n utils.toFlatObject(error, axiosError, function filter(obj) {\n return obj !== Error.prototype;\n }, prop => {\n return prop !== 'isAxiosError';\n });\n\n AxiosError.call(axiosError, error.message, code, config, request, response);\n\n axiosError.cause = error;\n\n axiosError.name = error.name;\n\n customProps && Object.assign(axiosError, customProps);\n\n return axiosError;\n};\n\nexport default AxiosError;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path.concat(key).map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n }).join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(options, {\n metaTokens: true,\n dots: false,\n indexes: false\n }, false, function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n });\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);\n }\n\n return value;\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = JSON.stringify(value);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))\n )) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) && formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const stack = [];\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable\n });\n\n function build(value, path) {\n if (utils.isUndefined(value)) return;\n\n if (stack.indexOf(value) !== -1) {\n throw Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result = !(utils.isUndefined(el) || el === null) && visitor.call(\n formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers\n );\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key]);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n '%00': '\\x00'\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object} params - The parameters to be converted to a FormData object.\n * @param {Object} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder ? function(value) {\n return encoder.call(this, value, encode);\n } : encode;\n\n return this._pairs.map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '').join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from '../helpers/AxiosURLSearchParams.js';\n\n/**\n * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their\n * URI encoded counterparts\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?object} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n \n const _encode = options && options.encode || encode;\n\n const serializeFn = options && options.serialize;\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, options);\n } else {\n serializedParams = utils.isURLSearchParams(params) ?\n params.toString() :\n new AxiosURLSearchParams(params, options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf(\"#\");\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","import URLSearchParams from './classes/URLSearchParams.js'\nimport FormData from './classes/FormData.js'\nimport Blob from './classes/Blob.js'\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data']\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict'\n\nexport default typeof Blob !== 'undefined' ? Blob : null\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv = (\n (product) => {\n return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0\n })(typeof navigator !== 'undefined' && navigator.product);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv\n}\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z]\n // foo.x.y.z\n // foo-x-y-z\n // foo x y z\n return utils.matchAll(/\\w+|\\[(\\w*)]/g, name).map(match => {\n return match[0] === '[]' ? '' : match[1] || match[0];\n });\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!target[name] || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http'],\n\n transformRequest: [function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, this.formSerializer).toString();\n }\n\n if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {\n const _FormData = this.env && this.env.FormData;\n\n return toFormData(\n isFileList ? {'files[]': data} : data,\n _FormData && new _FormData(),\n this.formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType ) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n const transitional = this.transitional || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const JSONRequested = this.responseType === 'json';\n\n if (data && utils.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*',\n 'Content-Type': undefined\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({\n visitor: function(value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n }\n }, options));\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default rawHeaders => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders && rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n if (!key || (parsed[key] && ignoreDuplicateOf[key])) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (parsed[key]) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : String(value);\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header.trim()\n .toLowerCase().replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach(methodName => {\n Object.defineProperty(obj, methodName + accessorName, {\n value: function(arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n throw new Error('header name must be a non-empty string');\n }\n\n const key = utils.findKey(self, lHeader);\n\n if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite)\n } else if(utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null && value !== false && (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\\n');\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals = this[$internals] = (this[$internals] = {\n accessors: {}\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n }\n }\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from './../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\n/**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\nfunction CanceledError(message, config, request) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n}\n\nutils.inherits(CanceledError, AxiosError, {\n __CANCEL__: true\n});\n\nexport default CanceledError;\n","import utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure) {\n const cookie = [name + '=' + encodeURIComponent(value)];\n\n utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());\n\n utils.isString(path) && cookie.push('path=' + path);\n\n utils.isString(domain) && cookie.push('domain=' + domain);\n\n secure === true && cookie.push('secure');\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n const match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n }\n\n :\n\n // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {}\n };\n\n","'use strict';\n\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/?\\/$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n}\n","'use strict';\n\nimport utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n// Standard browser envs have full support of the APIs needed to test\n// whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n const msie = /(msie|trident)/i.test(navigator.userAgent);\n const urlParsingNode = document.createElement('a');\n let originURL;\n\n /**\n * Parse a URL to discover its components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n let href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n const parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })();\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round(bytesCount * 1000 / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","'use strict';\n\nimport utils from './../utils.js';\nimport settle from './../core/settle.js';\nimport cookies from './../helpers/cookies.js';\nimport buildURL from './../helpers/buildURL.js';\nimport buildFullPath from '../core/buildFullPath.js';\nimport isURLSameOrigin from './../helpers/isURLSameOrigin.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport speedometer from '../helpers/speedometer.js';\n\nfunction progressEventReducer(listener, isDownloadStream) {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return e => {\n const loaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const progressBytes = loaded - bytesNotified;\n const rate = _speedometer(progressBytes);\n const inRange = loaded <= total;\n\n bytesNotified = loaded;\n\n const data = {\n loaded,\n total,\n progress: total ? (loaded / total) : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total && inRange ? (total - loaded) / rate : undefined,\n event: e\n };\n\n data[isDownloadStream ? 'download' : 'upload'] = true;\n\n listener(data);\n };\n}\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported && function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n let requestData = config.data;\n const requestHeaders = AxiosHeaders.from(config.headers).normalize();\n let {responseType, withXSRFToken} = config;\n let onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n let contentType;\n\n if (utils.isFormData(requestData)) {\n if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {\n requestHeaders.setContentType(false); // Let the browser set it\n } else if ((contentType = requestHeaders.getContentType()) !== false) {\n // fix semicolon duplication issue for ReactNative FormData implementation\n const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];\n requestHeaders.setContentType([type || 'multipart/form-data', ...tokens].join('; '));\n }\n }\n\n let request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n const username = config.auth.username || '';\n const password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.set('Authorization', 'Basic ' + btoa(username + ':' + password));\n }\n\n const fullPath = buildFullPath(config.baseURL, config.url);\n\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n const transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if(platform.hasStandardBrowserEnv) {\n withXSRFToken && utils.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));\n\n if (withXSRFToken || (withXSRFToken !== false && isURLSameOrigin(fullPath))) {\n // Add xsrf header\n const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && cookies.read(config.xsrfCookieName);\n\n if (xsrfValue) {\n requestHeaders.set(config.xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', progressEventReducer(config.onDownloadProgress, true));\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', progressEventReducer(config.onUploadProgress));\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = cancel => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(fullPath);\n\n if (protocol && platform.protocols.indexOf(protocol) === -1) {\n reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));\n return;\n }\n\n\n // Send the request\n request.send(requestData || null);\n });\n}\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport AxiosError from \"../core/AxiosError.js\";\n\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter\n}\n\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n Object.defineProperty(fn, 'name', {value});\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', {value});\n }\n});\n\nconst renderReason = (reason) => `- ${reason}`;\n\nconst isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;\n\nexport default {\n getAdapter: (adapters) => {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const {length} = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n\n const reasons = Object.entries(rejectedReasons)\n .map(([id, state]) => `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length ?\n (reasons.length > 1 ? 'since :\\n' + reasons.map(renderReason).join('\\n') : ' ' + renderReason(reasons[0])) :\n 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n 'ERR_NOT_SUPPORT'\n );\n }\n\n return adapter;\n },\n adapters: knownAdapters\n}\n","// eslint-disable-next-line strict\nexport default null;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],\n response.config,\n response.request,\n response\n ));\n }\n}\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(url);\n return match && match[1] || '';\n}\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from \"../adapters/adapters.js\";\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.transformRequest\n );\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter);\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n config.transformResponse,\n response\n );\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n });\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from \"./AxiosHeaders.js\";\n\nconst headersToObject = (thing) => thing instanceof AxiosHeaders ? thing.toJSON() : thing;\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n const config = {};\n\n function getMergedValue(target, source, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({caseless}, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(a, b, caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (prop in config2) {\n return getMergedValue(a, b);\n } else if (prop in config1) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)\n };\n\n utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {\n const merge = mergeMap[prop] || mergeDeepProperties;\n const configValue = merge(config1[prop], config2[prop], prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n}\n","export const VERSION = \"1.6.7\";","'use strict';\n\nimport {VERSION} from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n const validator = schema[opt];\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators\n};\n","'use strict';\n\nimport utils from './../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n let dummy;\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : (dummy = new Error());\n\n // slice off the Error: ... line\n const stack = dummy.stack ? dummy.stack.replace(/^.+\\n/, '') : '';\n\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\\n.+\\n/, ''))) {\n err.stack += '\\n' + stack\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const {transitional, paramsSerializer, headers} = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer\n }\n } else {\n validator.assertOptions(paramsSerializer, {\n encode: validators.function,\n serialize: validators.function\n }, true);\n }\n }\n\n // Set config.method\n config.method = (config.method || this.defaults.method || 'get').toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(\n headers.common,\n headers[config.method]\n );\n\n headers && utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n (method) => {\n delete headers[method];\n }\n );\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift.apply(chain, requestInterceptorChain);\n chain.push.apply(chain, responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n i = 0;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected.call(this, error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method,\n url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method,\n headers: isForm ? {\n 'Content-Type': 'multipart/form-data'\n } : {},\n url,\n data\n }));\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n});\n\nexport default Axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(cancel => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = onfulfilled => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise(resolve => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel\n };\n }\n}\n\nexport default CancelToken;\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport {VERSION} from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from \"./core/AxiosHeaders.js\";\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, {allOwnKeys: true});\n\n // Copy context to instance\n utils.extend(instance, context, null, {allOwnKeys: true});\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = thing => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n}\n","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {\n Endpoint,\n EventSource,\n Message,\n MessageType,\n PostMessageWithOrigin,\n WireValue,\n WireValueType,\n} from \"./protocol\";\nexport type { Endpoint };\n\nexport const proxyMarker = Symbol(\"Comlink.proxy\");\nexport const createEndpoint = Symbol(\"Comlink.endpoint\");\nexport const releaseProxy = Symbol(\"Comlink.releaseProxy\");\nexport const finalizer = Symbol(\"Comlink.finalizer\");\n\nconst throwMarker = Symbol(\"Comlink.thrown\");\n\n/**\n * Interface of values that were marked to be proxied with `comlink.proxy()`.\n * Can also be implemented by classes.\n */\nexport interface ProxyMarked {\n [proxyMarker]: true;\n}\n\n/**\n * Takes a type and wraps it in a Promise, if it not already is one.\n * This is to avoid `Promise>`.\n *\n * This is the inverse of `Unpromisify`.\n */\ntype Promisify = T extends Promise ? T : Promise;\n/**\n * Takes a type that may be Promise and unwraps the Promise type.\n * If `P` is not a Promise, it returns `P`.\n *\n * This is the inverse of `Promisify`.\n */\ntype Unpromisify

= P extends Promise ? T : P;\n\n/**\n * Takes the raw type of a remote property and returns the type that is visible to the local thread on the proxy.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions.\n * See https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype RemoteProperty =\n // If the value is a method, comlink will proxy it automatically.\n // Objects are only proxied if they are marked to be proxied.\n // Otherwise, the property is converted to a Promise that resolves the cloned value.\n T extends Function | ProxyMarked ? Remote : Promisify;\n\n/**\n * Takes the raw type of a property as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This is the inverse of `RemoteProperty`.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions. See\n * https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype LocalProperty = T extends Function | ProxyMarked\n ? Local\n : Unpromisify;\n\n/**\n * Proxies `T` if it is a `ProxyMarked`, clones it otherwise (as handled by structured cloning and transfer handlers).\n */\nexport type ProxyOrClone = T extends ProxyMarked ? Remote : T;\n/**\n * Inverse of `ProxyOrClone`.\n */\nexport type UnproxyOrClone = T extends RemoteObject\n ? Local\n : T;\n\n/**\n * Takes the raw type of a remote object in the other thread and returns the type as it is visible to the local thread\n * when proxied with `Comlink.proxy()`.\n *\n * This does not handle call signatures, which is handled by the more general `Remote` type.\n *\n * @template T The raw type of a remote object as seen in the other thread.\n */\nexport type RemoteObject = { [P in keyof T]: RemoteProperty };\n/**\n * Takes the type of an object as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This does not handle call signatures, which is handled by the more general `Local` type.\n *\n * This is the inverse of `RemoteObject`.\n *\n * @template T The type of a proxied object.\n */\nexport type LocalObject = { [P in keyof T]: LocalProperty };\n\n/**\n * Additional special comlink methods available on each proxy returned by `Comlink.wrap()`.\n */\nexport interface ProxyMethods {\n [createEndpoint]: () => Promise;\n [releaseProxy]: () => void;\n}\n\n/**\n * Takes the raw type of a remote object, function or class in the other thread and returns the type as it is visible to\n * the local thread from the proxy return value of `Comlink.wrap()` or `Comlink.proxy()`.\n */\nexport type Remote =\n // Handle properties\n RemoteObject &\n // Handle call signature (if present)\n (T extends (...args: infer TArguments) => infer TReturn\n ? (\n ...args: { [I in keyof TArguments]: UnproxyOrClone }\n ) => Promisify>>\n : unknown) &\n // Handle construct signature (if present)\n // The return of construct signatures is always proxied (whether marked or not)\n (T extends { new (...args: infer TArguments): infer TInstance }\n ? {\n new (\n ...args: {\n [I in keyof TArguments]: UnproxyOrClone;\n }\n ): Promisify>;\n }\n : unknown) &\n // Include additional special comlink methods available on the proxy.\n ProxyMethods;\n\n/**\n * Expresses that a type can be either a sync or async.\n */\ntype MaybePromise = Promise | T;\n\n/**\n * Takes the raw type of a remote object, function or class as a remote thread would see it through a proxy (e.g. when\n * passed in as a function argument) and returns the type the local thread has to supply.\n *\n * This is the inverse of `Remote`. It takes a `Remote` and returns its original input `T`.\n */\nexport type Local =\n // Omit the special proxy methods (they don't need to be supplied, comlink adds them)\n Omit, keyof ProxyMethods> &\n // Handle call signatures (if present)\n (T extends (...args: infer TArguments) => infer TReturn\n ? (\n ...args: { [I in keyof TArguments]: ProxyOrClone }\n ) => // The raw function could either be sync or async, but is always proxied automatically\n MaybePromise>>\n : unknown) &\n // Handle construct signature (if present)\n // The return of construct signatures is always proxied (whether marked or not)\n (T extends { new (...args: infer TArguments): infer TInstance }\n ? {\n new (\n ...args: {\n [I in keyof TArguments]: ProxyOrClone;\n }\n ): // The raw constructor could either be sync or async, but is always proxied automatically\n MaybePromise>>;\n }\n : unknown);\n\nconst isObject = (val: unknown): val is object =>\n (typeof val === \"object\" && val !== null) || typeof val === \"function\";\n\n/**\n * Customizes the serialization of certain values as determined by `canHandle()`.\n *\n * @template T The input type being handled by this transfer handler.\n * @template S The serialized type sent over the wire.\n */\nexport interface TransferHandler {\n /**\n * Gets called for every value to determine whether this transfer handler\n * should serialize the value, which includes checking that it is of the right\n * type (but can perform checks beyond that as well).\n */\n canHandle(value: unknown): value is T;\n\n /**\n * Gets called with the value if `canHandle()` returned `true` to produce a\n * value that can be sent in a message, consisting of structured-cloneable\n * values and/or transferrable objects.\n */\n serialize(value: T): [S, Transferable[]];\n\n /**\n * Gets called to deserialize an incoming value that was serialized in the\n * other thread with this transfer handler (known through the name it was\n * registered under).\n */\n deserialize(value: S): T;\n}\n\n/**\n * Internal transfer handle to handle objects marked to proxy.\n */\nconst proxyTransferHandler: TransferHandler = {\n canHandle: (val): val is ProxyMarked =>\n isObject(val) && (val as ProxyMarked)[proxyMarker],\n serialize(obj) {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port1);\n return [port2, [port2]];\n },\n deserialize(port) {\n port.start();\n return wrap(port);\n },\n};\n\ninterface ThrownValue {\n [throwMarker]: unknown; // just needs to be present\n value: unknown;\n}\ntype SerializedThrownValue =\n | { isError: true; value: Error }\n | { isError: false; value: unknown };\n\n/**\n * Internal transfer handler to handle thrown exceptions.\n */\nconst throwTransferHandler: TransferHandler<\n ThrownValue,\n SerializedThrownValue\n> = {\n canHandle: (value): value is ThrownValue =>\n isObject(value) && throwMarker in value,\n serialize({ value }) {\n let serialized: SerializedThrownValue;\n if (value instanceof Error) {\n serialized = {\n isError: true,\n value: {\n message: value.message,\n name: value.name,\n stack: value.stack,\n },\n };\n } else {\n serialized = { isError: false, value };\n }\n return [serialized, []];\n },\n deserialize(serialized) {\n if (serialized.isError) {\n throw Object.assign(\n new Error(serialized.value.message),\n serialized.value\n );\n }\n throw serialized.value;\n },\n};\n\n/**\n * Allows customizing the serialization of certain values.\n */\nexport const transferHandlers = new Map<\n string,\n TransferHandler\n>([\n [\"proxy\", proxyTransferHandler],\n [\"throw\", throwTransferHandler],\n]);\n\nfunction isAllowedOrigin(\n allowedOrigins: (string | RegExp)[],\n origin: string\n): boolean {\n for (const allowedOrigin of allowedOrigins) {\n if (origin === allowedOrigin || allowedOrigin === \"*\") {\n return true;\n }\n if (allowedOrigin instanceof RegExp && allowedOrigin.test(origin)) {\n return true;\n }\n }\n return false;\n}\n\nexport function expose(\n obj: any,\n ep: Endpoint = globalThis as any,\n allowedOrigins: (string | RegExp)[] = [\"*\"]\n) {\n ep.addEventListener(\"message\", function callback(ev: MessageEvent) {\n if (!ev || !ev.data) {\n return;\n }\n if (!isAllowedOrigin(allowedOrigins, ev.origin)) {\n console.warn(`Invalid origin '${ev.origin}' for comlink proxy`);\n return;\n }\n const { id, type, path } = {\n path: [] as string[],\n ...(ev.data as Message),\n };\n const argumentList = (ev.data.argumentList || []).map(fromWireValue);\n let returnValue;\n try {\n const parent = path.slice(0, -1).reduce((obj, prop) => obj[prop], obj);\n const rawValue = path.reduce((obj, prop) => obj[prop], obj);\n switch (type) {\n case MessageType.GET:\n {\n returnValue = rawValue;\n }\n break;\n case MessageType.SET:\n {\n parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);\n returnValue = true;\n }\n break;\n case MessageType.APPLY:\n {\n returnValue = rawValue.apply(parent, argumentList);\n }\n break;\n case MessageType.CONSTRUCT:\n {\n const value = new rawValue(...argumentList);\n returnValue = proxy(value);\n }\n break;\n case MessageType.ENDPOINT:\n {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port2);\n returnValue = transfer(port1, [port1]);\n }\n break;\n case MessageType.RELEASE:\n {\n returnValue = undefined;\n }\n break;\n default:\n return;\n }\n } catch (value) {\n returnValue = { value, [throwMarker]: 0 };\n }\n Promise.resolve(returnValue)\n .catch((value) => {\n return { value, [throwMarker]: 0 };\n })\n .then((returnValue) => {\n const [wireValue, transferables] = toWireValue(returnValue);\n ep.postMessage({ ...wireValue, id }, transferables);\n if (type === MessageType.RELEASE) {\n // detach and deactive after sending release response above.\n ep.removeEventListener(\"message\", callback as any);\n closeEndPoint(ep);\n if (finalizer in obj && typeof obj[finalizer] === \"function\") {\n obj[finalizer]();\n }\n }\n })\n .catch((error) => {\n // Send Serialization Error To Caller\n const [wireValue, transferables] = toWireValue({\n value: new TypeError(\"Unserializable return value\"),\n [throwMarker]: 0,\n });\n ep.postMessage({ ...wireValue, id }, transferables);\n });\n } as any);\n if (ep.start) {\n ep.start();\n }\n}\n\nfunction isMessagePort(endpoint: Endpoint): endpoint is MessagePort {\n return endpoint.constructor.name === \"MessagePort\";\n}\n\nfunction closeEndPoint(endpoint: Endpoint) {\n if (isMessagePort(endpoint)) endpoint.close();\n}\n\nexport function wrap(ep: Endpoint, target?: any): Remote {\n return createProxy(ep, [], target) as any;\n}\n\nfunction throwIfProxyReleased(isReleased: boolean) {\n if (isReleased) {\n throw new Error(\"Proxy has been released and is not useable\");\n }\n}\n\nfunction releaseEndpoint(ep: Endpoint) {\n return requestResponseMessage(ep, {\n type: MessageType.RELEASE,\n }).then(() => {\n closeEndPoint(ep);\n });\n}\n\ninterface FinalizationRegistry {\n new (cb: (heldValue: T) => void): FinalizationRegistry;\n register(\n weakItem: object,\n heldValue: T,\n unregisterToken?: object | undefined\n ): void;\n unregister(unregisterToken: object): void;\n}\ndeclare var FinalizationRegistry: FinalizationRegistry;\n\nconst proxyCounter = new WeakMap();\nconst proxyFinalizers =\n \"FinalizationRegistry\" in globalThis &&\n new FinalizationRegistry((ep: Endpoint) => {\n const newCount = (proxyCounter.get(ep) || 0) - 1;\n proxyCounter.set(ep, newCount);\n if (newCount === 0) {\n releaseEndpoint(ep);\n }\n });\n\nfunction registerProxy(proxy: object, ep: Endpoint) {\n const newCount = (proxyCounter.get(ep) || 0) + 1;\n proxyCounter.set(ep, newCount);\n if (proxyFinalizers) {\n proxyFinalizers.register(proxy, ep, proxy);\n }\n}\n\nfunction unregisterProxy(proxy: object) {\n if (proxyFinalizers) {\n proxyFinalizers.unregister(proxy);\n }\n}\n\nfunction createProxy(\n ep: Endpoint,\n path: (string | number | symbol)[] = [],\n target: object = function () {}\n): Remote {\n let isProxyReleased = false;\n const proxy = new Proxy(target, {\n get(_target, prop) {\n throwIfProxyReleased(isProxyReleased);\n if (prop === releaseProxy) {\n return () => {\n unregisterProxy(proxy);\n releaseEndpoint(ep);\n isProxyReleased = true;\n };\n }\n if (prop === \"then\") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, {\n type: MessageType.GET,\n path: path.map((p) => p.toString()),\n }).then(fromWireValue);\n return r.then.bind(r);\n }\n return createProxy(ep, [...path, prop]);\n },\n set(_target, prop, rawValue) {\n throwIfProxyReleased(isProxyReleased);\n // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\n // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\n const [value, transferables] = toWireValue(rawValue);\n return requestResponseMessage(\n ep,\n {\n type: MessageType.SET,\n path: [...path, prop].map((p) => p.toString()),\n value,\n },\n transferables\n ).then(fromWireValue) as any;\n },\n apply(_target, _thisArg, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const last = path[path.length - 1];\n if ((last as any) === createEndpoint) {\n return requestResponseMessage(ep, {\n type: MessageType.ENDPOINT,\n }).then(fromWireValue);\n }\n // We just pretend that `bind()` didn’t happen.\n if (last === \"bind\") {\n return createProxy(ep, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(\n ep,\n {\n type: MessageType.APPLY,\n path: path.map((p) => p.toString()),\n argumentList,\n },\n transferables\n ).then(fromWireValue);\n },\n construct(_target, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(\n ep,\n {\n type: MessageType.CONSTRUCT,\n path: path.map((p) => p.toString()),\n argumentList,\n },\n transferables\n ).then(fromWireValue);\n },\n });\n registerProxy(proxy, ep);\n return proxy as any;\n}\n\nfunction myFlat(arr: (T | T[])[]): T[] {\n return Array.prototype.concat.apply([], arr);\n}\n\nfunction processArguments(argumentList: any[]): [WireValue[], Transferable[]] {\n const processed = argumentList.map(toWireValue);\n return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\n}\n\nconst transferCache = new WeakMap();\nexport function transfer(obj: T, transfers: Transferable[]): T {\n transferCache.set(obj, transfers);\n return obj;\n}\n\nexport function proxy(obj: T): T & ProxyMarked {\n return Object.assign(obj, { [proxyMarker]: true }) as any;\n}\n\nexport function windowEndpoint(\n w: PostMessageWithOrigin,\n context: EventSource = globalThis,\n targetOrigin = \"*\"\n): Endpoint {\n return {\n postMessage: (msg: any, transferables: Transferable[]) =>\n w.postMessage(msg, targetOrigin, transferables),\n addEventListener: context.addEventListener.bind(context),\n removeEventListener: context.removeEventListener.bind(context),\n };\n}\n\nfunction toWireValue(value: any): [WireValue, Transferable[]] {\n for (const [name, handler] of transferHandlers) {\n if (handler.canHandle(value)) {\n const [serializedValue, transferables] = handler.serialize(value);\n return [\n {\n type: WireValueType.HANDLER,\n name,\n value: serializedValue,\n },\n transferables,\n ];\n }\n }\n return [\n {\n type: WireValueType.RAW,\n value,\n },\n transferCache.get(value) || [],\n ];\n}\n\nfunction fromWireValue(value: WireValue): any {\n switch (value.type) {\n case WireValueType.HANDLER:\n return transferHandlers.get(value.name)!.deserialize(value.value);\n case WireValueType.RAW:\n return value.value;\n }\n}\n\nfunction requestResponseMessage(\n ep: Endpoint,\n msg: Message,\n transfers?: Transferable[]\n): Promise {\n return new Promise((resolve) => {\n const id = generateUUID();\n ep.addEventListener(\"message\", function l(ev: MessageEvent) {\n if (!ev.data || !ev.data.id || ev.data.id !== id) {\n return;\n }\n ep.removeEventListener(\"message\", l as any);\n resolve(ev.data);\n } as any);\n if (ep.start) {\n ep.start();\n }\n ep.postMessage({ id, ...msg }, transfers);\n });\n}\n\nfunction generateUUID(): string {\n return new Array(4)\n .fill(0)\n .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\n .join(\"-\");\n}\n","/**\n * A function that always returns `false`. Any passed in parameters are ignored.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Function\n * @sig * -> Boolean\n * @param {*}\n * @return {Boolean}\n * @see R.T\n * @example\n *\n * R.F(); //=> false\n */\nvar F = function () {\n return false;\n};\n\nexport default F;","/**\n * A function that always returns `true`. Any passed in parameters are ignored.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Function\n * @sig * -> Boolean\n * @param {*}\n * @return {Boolean}\n * @see R.F\n * @example\n *\n * R.T(); //=> true\n */\nvar T = function () {\n return true;\n};\n\nexport default T;","import _reduced from \"./_reduced.js\";\nimport _xfBase from \"./_xfBase.js\";\n\nvar XAll =\n/*#__PURE__*/\nfunction () {\n function XAll(f, xf) {\n this.xf = xf;\n this.f = f;\n this.all = true;\n }\n\n XAll.prototype['@@transducer/init'] = _xfBase.init;\n\n XAll.prototype['@@transducer/result'] = function (result) {\n if (this.all) {\n result = this.xf['@@transducer/step'](result, true);\n }\n\n return this.xf['@@transducer/result'](result);\n };\n\n XAll.prototype['@@transducer/step'] = function (result, input) {\n if (!this.f(input)) {\n this.all = false;\n result = _reduced(this.xf['@@transducer/step'](result, false));\n }\n\n return result;\n };\n\n return XAll;\n}();\n\nexport default function _xall(f) {\n return function (xf) {\n return new XAll(f, xf);\n };\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _xall from \"./internal/_xall.js\";\n/**\n * Returns `true` if all elements of the list match the predicate, `false` if\n * there are any that don't.\n *\n * Dispatches to the `all` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> Boolean\n * @param {Function} fn The predicate function.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if the predicate is satisfied by every element, `false`\n * otherwise.\n * @see R.any, R.none, R.transduce\n * @example\n *\n * const equals3 = R.equals(3);\n * R.all(equals3)([3, 3, 3, 3]); //=> true\n * R.all(equals3)([3, 3, 1, 3]); //=> false\n */\n\nvar all =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['all'], _xall, function all(fn, list) {\n var idx = 0;\n\n while (idx < list.length) {\n if (!fn(list[idx])) {\n return false;\n }\n\n idx += 1;\n }\n\n return true;\n}));\n\nexport default all;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * Returns a function that always returns the given value. Note that for\n * non-primitives the value returned is a reference to the original value.\n *\n * This function is known as `const`, `constant`, or `K` (for K combinator) in\n * other languages and libraries.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig a -> (* -> a)\n * @param {*} val The value to wrap in a function\n * @return {Function} A Function :: * -> val.\n * @example\n *\n * const t = R.always('Tee');\n * t(); //=> 'Tee'\n */\n\nvar always =\n/*#__PURE__*/\n_curry1(function always(val) {\n return function () {\n return val;\n };\n});\n\nexport default always;","import _curry3 from \"./internal/_curry3.js\";\nimport _has from \"./internal/_has.js\";\nimport _isInteger from \"./internal/_isInteger.js\";\nimport _assoc from \"./internal/_assoc.js\";\nimport isNil from \"./isNil.js\";\n/**\n * Makes a shallow clone of an object, setting or overriding the nodes required\n * to create the given path, and placing the specific value at the tail end of\n * that path. Note that this copies and flattens prototype properties onto the\n * new object as well. All non-primitive properties are copied by reference.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig [Idx] -> a -> {a} -> {a}\n * @param {Array} path the path to set\n * @param {*} val The new value\n * @param {Object} obj The object to clone\n * @return {Object} A new object equivalent to the original except along the specified path.\n * @see R.dissocPath\n * @example\n *\n * R.assocPath(['a', 'b', 'c'], 42, {a: {b: {c: 0}}}); //=> {a: {b: {c: 42}}}\n *\n * // Any missing or non-object keys in path will be overridden\n * R.assocPath(['a', 'b', 'c'], 42, {a: 5}); //=> {a: {b: {c: 42}}}\n */\n\nvar assocPath =\n/*#__PURE__*/\n_curry3(function assocPath(path, val, obj) {\n if (path.length === 0) {\n return val;\n }\n\n var idx = path[0];\n\n if (path.length > 1) {\n var nextObj = !isNil(obj) && _has(idx, obj) && typeof obj[idx] === 'object' ? obj[idx] : _isInteger(path[1]) ? [] : {};\n val = assocPath(Array.prototype.slice.call(path, 1), val, nextObj);\n }\n\n return _assoc(idx, val, obj);\n});\n\nexport default assocPath;","import _isArray from \"./_isArray.js\";\nimport _isInteger from \"./_isInteger.js\";\n/**\n * Makes a shallow clone of an object, setting or overriding the specified\n * property with the given value. Note that this copies and flattens prototype\n * properties onto the new object as well. All non-primitive properties are\n * copied by reference.\n *\n * @private\n * @param {String|Number} prop The property name to set\n * @param {*} val The new value\n * @param {Object|Array} obj The object to clone\n * @return {Object|Array} A new object equivalent to the original except for the changed property.\n */\n\nexport default function _assoc(prop, val, obj) {\n if (_isInteger(prop) && _isArray(obj)) {\n var arr = [].concat(obj);\n arr[prop] = val;\n return arr;\n }\n\n var result = {};\n\n for (var p in obj) {\n result[p] = obj[p];\n }\n\n result[prop] = val;\n return result;\n}","import _arity from \"./internal/_arity.js\";\nimport _curry2 from \"./internal/_curry2.js\";\n/**\n * Creates a function that is bound to a context.\n * Note: `R.bind` does not provide the additional argument-binding capabilities of\n * [Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Function\n * @category Object\n * @sig (* -> *) -> {*} -> (* -> *)\n * @param {Function} fn The function to bind to context\n * @param {Object} thisObj The context to bind `fn` to\n * @return {Function} A function that will execute in the context of `thisObj`.\n * @see R.partial\n * @example\n *\n * const log = R.bind(console.log, console);\n * R.pipe(R.assoc('a', 2), R.tap(log), R.assoc('a', 3))({a: 1}); //=> {a: 3}\n * // logs {a: 2}\n * @symb R.bind(f, o)(a, b) = f.call(o, a, b)\n */\n\nvar bind =\n/*#__PURE__*/\n_curry2(function bind(fn, thisObj) {\n return _arity(fn.length, function () {\n return fn.apply(thisObj, arguments);\n });\n});\n\nexport default bind;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns the first argument if it is falsy, otherwise the second argument.\n * Acts as the boolean `and` statement if both inputs are `Boolean`s.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {Any} a\n * @param {Any} b\n * @return {Any}\n * @see R.both, R.or\n * @example\n *\n * R.and(true, true); //=> true\n * R.and(true, false); //=> false\n * R.and(false, true); //=> false\n * R.and(false, false); //=> false\n */\n\nvar and =\n/*#__PURE__*/\n_curry2(function and(a, b) {\n return a && b;\n});\n\nexport default and;","import _curry2 from \"./internal/_curry2.js\";\nimport _isFunction from \"./internal/_isFunction.js\";\nimport and from \"./and.js\";\nimport lift from \"./lift.js\";\n/**\n * A function which calls the two provided functions and returns the `&&`\n * of the results.\n * It returns the result of the first function if it is false-y and the result\n * of the second function otherwise. Note that this is short-circuited,\n * meaning that the second function will not be invoked if the first returns a\n * false-y value.\n *\n * In addition to functions, `R.both` also accepts any fantasy-land compatible\n * applicative functor.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> Boolean) -> (*... -> Boolean)\n * @param {Function} f A predicate\n * @param {Function} g Another predicate\n * @return {Function} a function that applies its arguments to `f` and `g` and `&&`s their outputs together.\n * @see R.either, R.allPass, R.and\n * @example\n *\n * const gt10 = R.gt(R.__, 10)\n * const lt20 = R.lt(R.__, 20)\n * const f = R.both(gt10, lt20);\n * f(15); //=> true\n * f(30); //=> false\n *\n * R.both(Maybe.Just(false), Maybe.Just(55)); // => Maybe.Just(false)\n * R.both([false, false, 'a'], [11]); //=> [false, false, 11]\n */\n\nvar both =\n/*#__PURE__*/\n_curry2(function both(f, g) {\n return _isFunction(f) ? function _both() {\n return f.apply(this, arguments) && g.apply(this, arguments);\n } : lift(and)(f, g);\n});\n\nexport default both;","import _cloneRegExp from \"./_cloneRegExp.js\";\nimport type from \"../type.js\";\n/**\n * Copies an object.\n *\n * @private\n * @param {*} value The value to be copied\n * @param {Boolean} deep Whether or not to perform deep cloning.\n * @return {*} The copied value.\n */\n\nexport default function _clone(value, deep, map) {\n map || (map = new _ObjectMap()); // this avoids the slower switch with a quick if decision removing some milliseconds in each run.\n\n if (_isPrimitive(value)) {\n return value;\n }\n\n var copy = function copy(copiedValue) {\n // Check for circular and same references on the object graph and return its corresponding clone.\n var cachedCopy = map.get(value);\n\n if (cachedCopy) {\n return cachedCopy;\n }\n\n map.set(value, copiedValue);\n\n for (var key in value) {\n if (Object.prototype.hasOwnProperty.call(value, key)) {\n copiedValue[key] = deep ? _clone(value[key], true, map) : value[key];\n }\n }\n\n return copiedValue;\n };\n\n switch (type(value)) {\n case 'Object':\n return copy(Object.create(Object.getPrototypeOf(value)));\n\n case 'Array':\n return copy([]);\n\n case 'Date':\n return new Date(value.valueOf());\n\n case 'RegExp':\n return _cloneRegExp(value);\n\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'BigInt64Array':\n case 'BigUint64Array':\n return value.slice();\n\n default:\n return value;\n }\n}\n\nfunction _isPrimitive(param) {\n var type = typeof param;\n return param == null || type != 'object' && type != 'function';\n}\n\nvar _ObjectMap =\n/*#__PURE__*/\nfunction () {\n function _ObjectMap() {\n this.map = {};\n this.length = 0;\n }\n\n _ObjectMap.prototype.set = function (key, value) {\n const hashedKey = this.hash(key);\n let bucket = this.map[hashedKey];\n\n if (!bucket) {\n this.map[hashedKey] = bucket = [];\n }\n\n bucket.push([key, value]);\n this.length += 1;\n };\n\n _ObjectMap.prototype.hash = function (key) {\n let hashedKey = [];\n\n for (var value in key) {\n hashedKey.push(Object.prototype.toString.call(key[value]));\n }\n\n return hashedKey.join();\n };\n\n _ObjectMap.prototype.get = function (key) {\n /**\n * depending on the number of objects to be cloned is faster to just iterate over the items in the map just because the hash function is so costly,\n * on my tests this number is 180, anything above that using the hash function is faster.\n */\n if (this.length <= 180) {\n for (const p in this.map) {\n const bucket = this.map[p];\n\n for (let i = 0; i < bucket.length; i += 1) {\n const element = bucket[i];\n\n if (element[0] === key) {\n return element[1];\n }\n }\n }\n\n return;\n }\n\n const hashedKey = this.hash(key);\n const bucket = this.map[hashedKey];\n\n if (!bucket) {\n return;\n }\n\n for (let i = 0; i < bucket.length; i += 1) {\n const element = bucket[i];\n\n if (element[0] === key) {\n return element[1];\n }\n }\n };\n\n return _ObjectMap;\n}();","import _clone from \"./internal/_clone.js\";\nimport _curry1 from \"./internal/_curry1.js\";\n/**\n * Creates a deep copy of the source that can be used in place of the source\n * object without retaining any references to it.\n * The source object may contain (nested) `Array`s and `Object`s,\n * `Number`s, `String`s, `Boolean`s and `Date`s.\n * `Function`s are assigned by reference rather than copied.\n *\n * Dispatches to a `clone` method if present.\n *\n * Note that if the source object has multiple nodes that share a reference,\n * the returned object will have the same structure, but the references will\n * be pointed to the location within the cloned value.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {*} -> {*}\n * @param {*} value The object or array to clone\n * @return {*} A deeply cloned copy of `val`\n * @example\n *\n * const objects = [{}, {}, {}];\n * const objectsClone = R.clone(objects);\n * objects === objectsClone; //=> false\n * objects[0] === objectsClone[0]; //=> false\n */\n\nvar clone =\n/*#__PURE__*/\n_curry1(function clone(value) {\n return value != null && typeof value.clone === 'function' ? value.clone() : _clone(value, true);\n});\n\nexport default clone;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * A function that returns the `!` of its argument. It will return `true` when\n * passed false-y value, and `false` when passed a truth-y one.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig * -> Boolean\n * @param {*} a any value\n * @return {Boolean} the logical inverse of passed argument.\n * @see R.complement\n * @example\n *\n * R.not(true); //=> false\n * R.not(false); //=> true\n * R.not(0); //=> true\n * R.not(1); //=> false\n */\n\nvar not =\n/*#__PURE__*/\n_curry1(function not(a) {\n return !a;\n});\n\nexport default not;","import lift from \"./lift.js\";\nimport not from \"./not.js\";\n/**\n * Takes a function `f` and returns a function `g` such that if called with the same arguments\n * when `f` returns a \"truthy\" value, `g` returns `false` and when `f` returns a \"falsy\" value `g` returns `true`.\n *\n * `R.complement` may be applied to any functor\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> *) -> (*... -> Boolean)\n * @param {Function} f\n * @return {Function}\n * @see R.not\n * @example\n *\n * const isNotNil = R.complement(R.isNil);\n * R.isNil(null); //=> true\n * isNotNil(null); //=> false\n * R.isNil(7); //=> false\n * isNotNil(7); //=> true\n */\n\nvar complement =\n/*#__PURE__*/\nlift(not);\nexport default complement;","import pipe from \"./pipe.js\";\nimport reverse from \"./reverse.js\";\n/**\n * Performs right-to-left function composition. The last argument may have\n * any arity; the remaining arguments must be unary.\n *\n * **Note:** The result of compose is not automatically curried.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((y -> z), (x -> y), ..., (o -> p), ((a, b, ..., n) -> o)) -> ((a, b, ..., n) -> z)\n * @param {...Function} ...functions The functions to compose\n * @return {Function}\n * @see R.pipe\n * @example\n *\n * const classyGreeting = (firstName, lastName) => \"The name's \" + lastName + \", \" + firstName + \" \" + lastName\n * const yellGreeting = R.compose(R.toUpper, classyGreeting);\n * yellGreeting('James', 'Bond'); //=> \"THE NAME'S BOND, JAMES BOND\"\n *\n * R.compose(Math.abs, R.add(1), R.multiply(2))(-4) //=> 7\n *\n * @symb R.compose(f, g, h)(a, b) = f(g(h(a, b)))\n * @symb R.compose(f, g, h)(a)(b) = f(g(h(a)))(b)\n */\n\nexport default function compose() {\n if (arguments.length === 0) {\n throw new Error('compose requires at least one argument');\n }\n\n return pipe.apply(this, reverse(arguments));\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _isArray from \"./internal/_isArray.js\";\nimport _isFunction from \"./internal/_isFunction.js\";\nimport _isString from \"./internal/_isString.js\";\nimport toString from \"./toString.js\";\n/**\n * Returns the result of concatenating the given lists or strings.\n *\n * Note: `R.concat` expects both arguments to be of the same type,\n * unlike the native `Array.prototype.concat` method. It will throw\n * an error if you `concat` an Array with a non-Array value.\n *\n * Dispatches to the `concat` method of the first argument, if present.\n * Can also concatenate two members of a [fantasy-land\n * compatible semigroup](https://github.com/fantasyland/fantasy-land#semigroup).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a] -> [a]\n * @sig String -> String -> String\n * @param {Array|String} firstList The first list\n * @param {Array|String} secondList The second list\n * @return {Array|String} A list consisting of the elements of `firstList` followed by the elements of\n * `secondList`.\n *\n * @example\n *\n * R.concat('ABC', 'DEF'); // 'ABCDEF'\n * R.concat([4, 5, 6], [1, 2, 3]); //=> [4, 5, 6, 1, 2, 3]\n * R.concat([], []); //=> []\n */\n\nvar concat =\n/*#__PURE__*/\n_curry2(function concat(a, b) {\n if (_isArray(a)) {\n if (_isArray(b)) {\n return a.concat(b);\n }\n\n throw new TypeError(toString(b) + ' is not an array');\n }\n\n if (_isString(a)) {\n if (_isString(b)) {\n return a + b;\n }\n\n throw new TypeError(toString(b) + ' is not a string');\n }\n\n if (a != null && _isFunction(a['fantasy-land/concat'])) {\n return a['fantasy-land/concat'](b);\n }\n\n if (a != null && _isFunction(a.concat)) {\n return a.concat(b);\n }\n\n throw new TypeError(toString(a) + ' does not have a method named \"concat\" or \"fantasy-land/concat\"');\n});\n\nexport default concat;","import _curry1 from \"./internal/_curry1.js\";\nimport curryN from \"./curryN.js\";\n/**\n * Returns a curried equivalent of the provided function. The curried function\n * has two unusual capabilities. First, its arguments needn't be provided one\n * at a time. If `f` is a ternary function and `g` is `R.curry(f)`, the\n * following are equivalent:\n *\n * - `g(1)(2)(3)`\n * - `g(1)(2, 3)`\n * - `g(1, 2)(3)`\n * - `g(1, 2, 3)`\n *\n * Secondly, the special placeholder value [`R.__`](#__) may be used to specify\n * \"gaps\", allowing partial application of any combination of arguments,\n * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),\n * the following are equivalent:\n *\n * - `g(1, 2, 3)`\n * - `g(_, 2, 3)(1)`\n * - `g(_, _, 3)(1)(2)`\n * - `g(_, _, 3)(1, 2)`\n * - `g(_, 2)(1)(3)`\n * - `g(_, 2)(1, 3)`\n * - `g(_, 2)(_, 3)(1)`\n *\n * Please note that default parameters don't count towards a [function arity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/length)\n * and therefore `curry` won't work well with those.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (* -> a) -> (* -> a)\n * @param {Function} fn The function to curry.\n * @return {Function} A new, curried function.\n * @see R.curryN, R.partial\n * @example\n *\n * const addFourNumbers = (a, b, c, d) => a + b + c + d;\n * const curriedAddFourNumbers = R.curry(addFourNumbers);\n * const f = curriedAddFourNumbers(1, 2);\n * const g = f(3);\n * g(4); //=> 10\n *\n * // R.curry not working well with default parameters\n * const h = R.curry((a, b, c = 2) => a + b + c);\n * h(1)(2)(7); //=> Error! (`3` is not a function!)\n */\n\nvar curry =\n/*#__PURE__*/\n_curry1(function curry(fn) {\n return curryN(fn.length, fn);\n});\n\nexport default curry;","import _arity from \"./_arity.js\";\nimport _isPlaceholder from \"./_isPlaceholder.js\";\n/**\n * Internal curryN function.\n *\n * @private\n * @category Function\n * @param {Number} length The arity of the curried function.\n * @param {Array} received An array of arguments received thus far.\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curryN(length, received, fn) {\n return function () {\n var combined = [];\n var argsIdx = 0;\n var left = length;\n var combinedIdx = 0;\n var hasPlaceholder = false;\n\n while (combinedIdx < received.length || argsIdx < arguments.length) {\n var result;\n\n if (combinedIdx < received.length && (!_isPlaceholder(received[combinedIdx]) || argsIdx >= arguments.length)) {\n result = received[combinedIdx];\n } else {\n result = arguments[argsIdx];\n argsIdx += 1;\n }\n\n combined[combinedIdx] = result;\n\n if (!_isPlaceholder(result)) {\n left -= 1;\n } else {\n hasPlaceholder = true;\n }\n\n combinedIdx += 1;\n }\n\n return !hasPlaceholder && left <= 0 ? fn.apply(this, combined) : _arity(Math.max(0, left), _curryN(length, combined, fn));\n };\n}","import _arity from \"./internal/_arity.js\";\nimport _curry1 from \"./internal/_curry1.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _curryN from \"./internal/_curryN.js\";\n/**\n * Returns a curried equivalent of the provided function, with the specified\n * arity. The curried function has two unusual capabilities. First, its\n * arguments needn't be provided one at a time. If `g` is `R.curryN(3, f)`, the\n * following are equivalent:\n *\n * - `g(1)(2)(3)`\n * - `g(1)(2, 3)`\n * - `g(1, 2)(3)`\n * - `g(1, 2, 3)`\n *\n * Secondly, the special placeholder value [`R.__`](#__) may be used to specify\n * \"gaps\", allowing partial application of any combination of arguments,\n * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),\n * the following are equivalent:\n *\n * - `g(1, 2, 3)`\n * - `g(_, 2, 3)(1)`\n * - `g(_, _, 3)(1)(2)`\n * - `g(_, _, 3)(1, 2)`\n * - `g(_, 2)(1)(3)`\n * - `g(_, 2)(1, 3)`\n * - `g(_, 2)(_, 3)(1)`\n *\n * @func\n * @memberOf R\n * @since v0.5.0\n * @category Function\n * @sig Number -> (* -> a) -> (* -> a)\n * @param {Number} length The arity for the returned function.\n * @param {Function} fn The function to curry.\n * @return {Function} A new, curried function.\n * @see R.curry\n * @example\n *\n * const sumArgs = (...args) => R.sum(args);\n *\n * const curriedAddFourNumbers = R.curryN(4, sumArgs);\n * const f = curriedAddFourNumbers(1, 2);\n * const g = f(3);\n * g(4); //=> 10\n */\n\nvar curryN =\n/*#__PURE__*/\n_curry2(function curryN(length, fn) {\n if (length === 1) {\n return _curry1(fn);\n }\n\n return _arity(length, _curryN(length, [], fn));\n});\n\nexport default curryN;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns the second argument if it is not `null`, `undefined` or `NaN`;\n * otherwise the first argument is returned.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {a} default The default value.\n * @param {b} val `val` will be returned instead of `default` unless `val` is `null`, `undefined` or `NaN`.\n * @return {*} The second value if it is not `null`, `undefined` or `NaN`, otherwise the default value\n * @example\n *\n * const defaultTo42 = R.defaultTo(42);\n *\n * defaultTo42(null); //=> 42\n * defaultTo42(undefined); //=> 42\n * defaultTo42(false); //=> false\n * defaultTo42('Ramda'); //=> 'Ramda'\n * // parseInt('string') results in NaN\n * defaultTo42(parseInt('string')); //=> 42\n */\n\nvar defaultTo =\n/*#__PURE__*/\n_curry2(function defaultTo(d, v) {\n return v == null || v !== v ? d : v;\n});\n\nexport default defaultTo;","import _includes from \"./_includes.js\";\n\nvar _Set =\n/*#__PURE__*/\nfunction () {\n function _Set() {\n /* globals Set */\n this._nativeSet = typeof Set === 'function' ? new Set() : null;\n this._items = {};\n }\n\n // until we figure out why jsdoc chokes on this\n // @param item The item to add to the Set\n // @returns {boolean} true if the item did not exist prior, otherwise false\n //\n _Set.prototype.add = function (item) {\n return !hasOrAdd(item, true, this);\n }; //\n // @param item The item to check for existence in the Set\n // @returns {boolean} true if the item exists in the Set, otherwise false\n //\n\n\n _Set.prototype.has = function (item) {\n return hasOrAdd(item, false, this);\n }; //\n // Combines the logic for checking whether an item is a member of the set and\n // for adding a new item to the set.\n //\n // @param item The item to check or add to the Set instance.\n // @param shouldAdd If true, the item will be added to the set if it doesn't\n // already exist.\n // @param set The set instance to check or add to.\n // @return {boolean} true if the item already existed, otherwise false.\n //\n\n\n return _Set;\n}();\n\nfunction hasOrAdd(item, shouldAdd, set) {\n var type = typeof item;\n var prevSize, newSize;\n\n switch (type) {\n case 'string':\n case 'number':\n // distinguish between +0 and -0\n if (item === 0 && 1 / item === -Infinity) {\n if (set._items['-0']) {\n return true;\n } else {\n if (shouldAdd) {\n set._items['-0'] = true;\n }\n\n return false;\n }\n } // these types can all utilise the native Set\n\n\n if (set._nativeSet !== null) {\n if (shouldAdd) {\n prevSize = set._nativeSet.size;\n\n set._nativeSet.add(item);\n\n newSize = set._nativeSet.size;\n return newSize === prevSize;\n } else {\n return set._nativeSet.has(item);\n }\n } else {\n if (!(type in set._items)) {\n if (shouldAdd) {\n set._items[type] = {};\n set._items[type][item] = true;\n }\n\n return false;\n } else if (item in set._items[type]) {\n return true;\n } else {\n if (shouldAdd) {\n set._items[type][item] = true;\n }\n\n return false;\n }\n }\n\n case 'boolean':\n // set._items['boolean'] holds a two element array\n // representing [ falseExists, trueExists ]\n if (type in set._items) {\n var bIdx = item ? 1 : 0;\n\n if (set._items[type][bIdx]) {\n return true;\n } else {\n if (shouldAdd) {\n set._items[type][bIdx] = true;\n }\n\n return false;\n }\n } else {\n if (shouldAdd) {\n set._items[type] = item ? [false, true] : [true, false];\n }\n\n return false;\n }\n\n case 'function':\n // compare functions for reference equality\n if (set._nativeSet !== null) {\n if (shouldAdd) {\n prevSize = set._nativeSet.size;\n\n set._nativeSet.add(item);\n\n newSize = set._nativeSet.size;\n return newSize === prevSize;\n } else {\n return set._nativeSet.has(item);\n }\n } else {\n if (!(type in set._items)) {\n if (shouldAdd) {\n set._items[type] = [item];\n }\n\n return false;\n }\n\n if (!_includes(item, set._items[type])) {\n if (shouldAdd) {\n set._items[type].push(item);\n }\n\n return false;\n }\n\n return true;\n }\n\n case 'undefined':\n if (set._items[type]) {\n return true;\n } else {\n if (shouldAdd) {\n set._items[type] = true;\n }\n\n return false;\n }\n\n case 'object':\n if (item === null) {\n if (!set._items['null']) {\n if (shouldAdd) {\n set._items['null'] = true;\n }\n\n return false;\n }\n\n return true;\n }\n\n /* falls through */\n\n default:\n // reduce the search size of heterogeneous sets by creating buckets\n // for each type.\n type = Object.prototype.toString.call(item);\n\n if (!(type in set._items)) {\n if (shouldAdd) {\n set._items[type] = [item];\n }\n\n return false;\n } // scan through all previously applied items\n\n\n if (!_includes(item, set._items[type])) {\n if (shouldAdd) {\n set._items[type].push(item);\n }\n\n return false;\n }\n\n return true;\n }\n} // A simple Set type that honours R.equals semantics\n\n\nexport default _Set;","import _curry2 from \"./internal/_curry2.js\";\nimport _Set from \"./internal/_Set.js\";\n/**\n * Finds the set (i.e. no duplicates) of all elements in the first list not\n * contained in the second list. Objects and Arrays are compared in terms of\n * value equality, not reference equality.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig [*] -> [*] -> [*]\n * @param {Array} list1 The first list.\n * @param {Array} list2 The second list.\n * @return {Array} The elements in `list1` that are not in `list2`.\n * @see R.differenceWith, R.symmetricDifference, R.symmetricDifferenceWith, R.without\n * @example\n *\n * R.difference([1,2,3,4], [7,6,5,4,3]); //=> [1,2]\n * R.difference([7,6,5,4,3], [1,2,3,4]); //=> [7,6,5]\n * R.difference([{a: 1}, {b: 2}], [{a: 1}, {c: 3}]) //=> [{b: 2}]\n */\n\nvar difference =\n/*#__PURE__*/\n_curry2(function difference(first, second) {\n var out = [];\n var idx = 0;\n var firstLen = first.length;\n var secondLen = second.length;\n var toFilterOut = new _Set();\n\n for (var i = 0; i < secondLen; i += 1) {\n toFilterOut.add(second[i]);\n }\n\n while (idx < firstLen) {\n if (toFilterOut.add(first[idx])) {\n out[out.length] = first[idx];\n }\n\n idx += 1;\n }\n\n return out;\n});\n\nexport default difference;","import _curry3 from \"./internal/_curry3.js\";\n/**\n * Removes the sub-list of `list` starting at index `start` and containing\n * `count` elements. _Note that this is not destructive_: it returns a copy of\n * the list with the changes.\n * No lists have been harmed in the application of this function.\n *\n * @func\n * @memberOf R\n * @since v0.2.2\n * @category List\n * @sig Number -> Number -> [a] -> [a]\n * @param {Number} start The position to start removing elements\n * @param {Number} count The number of elements to remove\n * @param {Array} list The list to remove from\n * @return {Array} A new Array with `count` elements from `start` removed.\n * @see R.without\n * @example\n *\n * R.remove(2, 3, [1,2,3,4,5,6,7,8]); //=> [1,2,6,7,8]\n */\n\nvar remove =\n/*#__PURE__*/\n_curry3(function remove(start, count, list) {\n var result = Array.prototype.slice.call(list, 0);\n result.splice(start, count);\n return result;\n});\n\nexport default remove;","import _curry3 from \"./internal/_curry3.js\";\nimport assocPath from \"./assocPath.js\";\n/**\n * Makes a shallow clone of an object, setting or overriding the specified\n * property with the given value. Note that this copies and flattens prototype\n * properties onto the new object as well. All non-primitive properties are\n * copied by reference.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig Idx -> a -> {k: v} -> {k: v}\n * @param {String|Number} prop The property name to set\n * @param {*} val The new value\n * @param {Object} obj The object to clone\n * @return {Object} A new object equivalent to the original except for the changed property.\n * @see R.dissoc, R.pick\n * @example\n *\n * R.assoc('c', 3, {a: 1, b: 2}); //=> {a: 1, b: 2, c: 3}\n */\n\nvar assoc =\n/*#__PURE__*/\n_curry3(function assoc(prop, val, obj) {\n return assocPath([prop], val, obj);\n});\n\nexport default assoc;","import _curry2 from \"./internal/_curry2.js\";\nimport _dissoc from \"./internal/_dissoc.js\";\nimport _isInteger from \"./internal/_isInteger.js\";\nimport _isArray from \"./internal/_isArray.js\";\nimport assoc from \"./assoc.js\";\n/**\n * Makes a shallow clone of an object. Note that this copies and flattens\n * prototype properties onto the new object as well. All non-primitive\n * properties are copied by reference.\n *\n * @private\n * @param {String|Integer} prop The prop operating\n * @param {Object|Array} obj The object to clone\n * @return {Object|Array} A new object equivalent to the original.\n */\n\nfunction _shallowCloneObject(prop, obj) {\n if (_isInteger(prop) && _isArray(obj)) {\n return [].concat(obj);\n }\n\n var result = {};\n\n for (var p in obj) {\n result[p] = obj[p];\n }\n\n return result;\n}\n/**\n * Makes a shallow clone of an object, omitting the property at the given path.\n * Note that this copies and flattens prototype properties onto the new object\n * as well. All non-primitive properties are copied by reference.\n *\n * @func\n * @memberOf R\n * @since v0.11.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig [Idx] -> {k: v} -> {k: v}\n * @param {Array} path The path to the value to omit\n * @param {Object} obj The object to clone\n * @return {Object} A new object without the property at path\n * @see R.assocPath\n * @example\n *\n * R.dissocPath(['a', 'b', 'c'], {a: {b: {c: 42}}}); //=> {a: {b: {}}}\n */\n\n\nvar dissocPath =\n/*#__PURE__*/\n_curry2(function dissocPath(path, obj) {\n if (obj == null) {\n return obj;\n }\n\n switch (path.length) {\n case 0:\n return obj;\n\n case 1:\n return _dissoc(path[0], obj);\n\n default:\n var head = path[0];\n var tail = Array.prototype.slice.call(path, 1);\n\n if (obj[head] == null) {\n return _shallowCloneObject(head, obj);\n } else {\n return assoc(head, dissocPath(tail, obj[head]), obj);\n }\n\n }\n});\n\nexport default dissocPath;","import _isInteger from \"./_isInteger.js\";\nimport _isArray from \"./_isArray.js\";\nimport remove from \"../remove.js\";\n/**\n * Returns a new object that does not contain a `prop` property.\n *\n * @private\n * @param {String|Number} prop The name of the property to dissociate\n * @param {Object|Array} obj The object to clone\n * @return {Object} A new object equivalent to the original but without the specified property\n */\n\nexport default function _dissoc(prop, obj) {\n if (obj == null) {\n return obj;\n }\n\n if (_isInteger(prop) && _isArray(obj)) {\n return remove(prop, 1, obj);\n }\n\n var result = {};\n\n for (var p in obj) {\n result[p] = obj[p];\n }\n\n delete result[prop];\n return result;\n}","export default function _arrayFromIterator(iter) {\n var list = [];\n var next;\n\n while (!(next = iter.next()).done) {\n list.push(next.value);\n }\n\n return list;\n}","export default function _includesWith(pred, x, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n if (pred(x, list[idx])) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n}","import _arrayFromIterator from \"./_arrayFromIterator.js\";\nimport _includesWith from \"./_includesWith.js\";\nimport _functionName from \"./_functionName.js\";\nimport _has from \"./_has.js\";\nimport _objectIs from \"./_objectIs.js\";\nimport keys from \"../keys.js\";\nimport type from \"../type.js\";\n/**\n * private _uniqContentEquals function.\n * That function is checking equality of 2 iterator contents with 2 assumptions\n * - iterators lengths are the same\n * - iterators values are unique\n *\n * false-positive result will be returned for comparison of, e.g.\n * - [1,2,3] and [1,2,3,4]\n * - [1,1,1] and [1,2,3]\n * */\n\nfunction _uniqContentEquals(aIterator, bIterator, stackA, stackB) {\n var a = _arrayFromIterator(aIterator);\n\n var b = _arrayFromIterator(bIterator);\n\n function eq(_a, _b) {\n return _equals(_a, _b, stackA.slice(), stackB.slice());\n } // if *a* array contains any element that is not included in *b*\n\n\n return !_includesWith(function (b, aItem) {\n return !_includesWith(eq, aItem, b);\n }, b, a);\n}\n\nexport default function _equals(a, b, stackA, stackB) {\n if (_objectIs(a, b)) {\n return true;\n }\n\n var typeA = type(a);\n\n if (typeA !== type(b)) {\n return false;\n }\n\n if (typeof a['fantasy-land/equals'] === 'function' || typeof b['fantasy-land/equals'] === 'function') {\n return typeof a['fantasy-land/equals'] === 'function' && a['fantasy-land/equals'](b) && typeof b['fantasy-land/equals'] === 'function' && b['fantasy-land/equals'](a);\n }\n\n if (typeof a.equals === 'function' || typeof b.equals === 'function') {\n return typeof a.equals === 'function' && a.equals(b) && typeof b.equals === 'function' && b.equals(a);\n }\n\n switch (typeA) {\n case 'Arguments':\n case 'Array':\n case 'Object':\n if (typeof a.constructor === 'function' && _functionName(a.constructor) === 'Promise') {\n return a === b;\n }\n\n break;\n\n case 'Boolean':\n case 'Number':\n case 'String':\n if (!(typeof a === typeof b && _objectIs(a.valueOf(), b.valueOf()))) {\n return false;\n }\n\n break;\n\n case 'Date':\n if (!_objectIs(a.valueOf(), b.valueOf())) {\n return false;\n }\n\n break;\n\n case 'Error':\n return a.name === b.name && a.message === b.message;\n\n case 'RegExp':\n if (!(a.source === b.source && a.global === b.global && a.ignoreCase === b.ignoreCase && a.multiline === b.multiline && a.sticky === b.sticky && a.unicode === b.unicode)) {\n return false;\n }\n\n break;\n }\n\n var idx = stackA.length - 1;\n\n while (idx >= 0) {\n if (stackA[idx] === a) {\n return stackB[idx] === b;\n }\n\n idx -= 1;\n }\n\n switch (typeA) {\n case 'Map':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.entries(), b.entries(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Set':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.values(), b.values(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Arguments':\n case 'Array':\n case 'Object':\n case 'Boolean':\n case 'Number':\n case 'String':\n case 'Date':\n case 'Error':\n case 'RegExp':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'ArrayBuffer':\n break;\n\n default:\n // Values of other types are only equal if identical.\n return false;\n }\n\n var keysA = keys(a);\n\n if (keysA.length !== keys(b).length) {\n return false;\n }\n\n var extendedStackA = stackA.concat([a]);\n var extendedStackB = stackB.concat([b]);\n idx = keysA.length - 1;\n\n while (idx >= 0) {\n var key = keysA[idx];\n\n if (!(_has(key, b) && _equals(b[key], a[key], extendedStackA, extendedStackB))) {\n return false;\n }\n\n idx -= 1;\n }\n\n return true;\n}","export default function _functionName(f) {\n // String(x => x) evaluates to \"x => x\", so the pattern may not match.\n var match = String(f).match(/^function (\\w*)/);\n return match == null ? '' : match[1];\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _equals from \"./internal/_equals.js\";\n/**\n * Returns `true` if its arguments are equivalent, `false` otherwise. Handles\n * cyclical data structures.\n *\n * Dispatches symmetrically to the `equals` methods of both arguments, if\n * present.\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category Relation\n * @sig a -> b -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @example\n *\n * R.equals(1, 1); //=> true\n * R.equals(1, '1'); //=> false\n * R.equals([1, 2, 3], [1, 2, 3]); //=> true\n *\n * const a = {}; a.v = a;\n * const b = {}; b.v = b;\n * R.equals(a, b); //=> true\n */\n\nvar equals =\n/*#__PURE__*/\n_curry2(function equals(a, b) {\n return _equals(a, b, [], []);\n});\n\nexport default equals;","import _xfBase from \"./_xfBase.js\";\n\nvar XFilter =\n/*#__PURE__*/\nfunction () {\n function XFilter(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XFilter.prototype['@@transducer/init'] = _xfBase.init;\n XFilter.prototype['@@transducer/result'] = _xfBase.result;\n\n XFilter.prototype['@@transducer/step'] = function (result, input) {\n return this.f(input) ? this.xf['@@transducer/step'](result, input) : result;\n };\n\n return XFilter;\n}();\n\nexport default function _xfilter(f) {\n return function (xf) {\n return new XFilter(f, xf);\n };\n}","import _arrayReduce from \"./internal/_arrayReduce.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _filter from \"./internal/_filter.js\";\nimport _isObject from \"./internal/_isObject.js\";\nimport _xfilter from \"./internal/_xfilter.js\";\nimport keys from \"./keys.js\";\n/**\n * Takes a predicate and a `Filterable`, and returns a new filterable of the\n * same type containing the members of the given filterable which satisfy the\n * given predicate. Filterable objects include plain objects or any object\n * that has a filter method such as `Array`.\n *\n * Dispatches to the `filter` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @category Object\n * @sig Filterable f => (a -> Boolean) -> f a -> f a\n * @param {Function} pred\n * @param {Array} filterable\n * @return {Array} Filterable\n * @see R.reject, R.transduce, R.addIndex\n * @example\n *\n * const isEven = n => n % 2 === 0;\n *\n * R.filter(isEven, [1, 2, 3, 4]); //=> [2, 4]\n *\n * R.filter(isEven, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}\n */\n\nvar filter =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['fantasy-land/filter', 'filter'], _xfilter, function (pred, filterable) {\n return _isObject(filterable) ? _arrayReduce(function (acc, key) {\n if (pred(filterable[key])) {\n acc[key] = filterable[key];\n }\n\n return acc;\n }, {}, keys(filterable)) : // else\n _filter(pred, filterable);\n}));\n\nexport default filter;","export default function _filter(fn, list) {\n var idx = 0;\n var len = list.length;\n var result = [];\n\n while (idx < len) {\n if (fn(list[idx])) {\n result[result.length] = list[idx];\n }\n\n idx += 1;\n }\n\n return result;\n}","import _curry1 from \"./internal/_curry1.js\";\nimport curryN from \"./curryN.js\";\n/**\n * Returns a new function much like the supplied one, except that the first two\n * arguments' order is reversed.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((a, b, c, ...) -> z) -> (b -> a -> c -> ... -> z)\n * @param {Function} fn The function to invoke with its first two parameters reversed.\n * @return {*} The result of invoking `fn` with its first two parameters' order reversed.\n * @example\n *\n * const mergeThree = (a, b, c) => [].concat(a, b, c);\n *\n * mergeThree(1, 2, 3); //=> [1, 2, 3]\n *\n * R.flip(mergeThree)(1, 2, 3); //=> [2, 1, 3]\n * @symb R.flip(f)(a, b, c) = f(b, a, c)\n */\n\nvar flip =\n/*#__PURE__*/\n_curry1(function flip(fn) {\n return curryN(fn.length, function (a, b) {\n var args = Array.prototype.slice.call(arguments, 0);\n args[0] = b;\n args[1] = a;\n return fn.apply(this, args);\n });\n});\n\nexport default flip;","import _curry2 from \"./internal/_curry2.js\";\nimport hasPath from \"./hasPath.js\";\n/**\n * Returns whether or not an object has an own property with the specified name\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Object\n * @sig s -> {s: x} -> Boolean\n * @param {String} prop The name of the property to check for.\n * @param {Object} obj The object to query.\n * @return {Boolean} Whether the property exists.\n * @example\n *\n * const hasName = R.has('name');\n * hasName({name: 'alice'}); //=> true\n * hasName({name: 'bob'}); //=> true\n * hasName({}); //=> false\n *\n * const point = {x: 0, y: 0};\n * const pointHas = R.has(R.__, point);\n * pointHas('x'); //=> true\n * pointHas('y'); //=> true\n * pointHas('z'); //=> false\n */\n\nvar has =\n/*#__PURE__*/\n_curry2(function has(prop, obj) {\n return hasPath([prop], obj);\n});\n\nexport default has;","import _curry2 from \"./internal/_curry2.js\";\nimport _has from \"./internal/_has.js\";\nimport isNil from \"./isNil.js\";\n/**\n * Returns whether or not a path exists in an object. Only the object's\n * own properties are checked.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig [Idx] -> {a} -> Boolean\n * @param {Array} path The path to use.\n * @param {Object} obj The object to check the path in.\n * @return {Boolean} Whether the path exists.\n * @see R.has\n * @example\n *\n * R.hasPath(['a', 'b'], {a: {b: 2}}); // => true\n * R.hasPath(['a', 'b'], {a: {b: undefined}}); // => true\n * R.hasPath(['a', 'b'], {a: {c: 2}}); // => false\n * R.hasPath(['a', 'b'], {}); // => false\n */\n\nvar hasPath =\n/*#__PURE__*/\n_curry2(function hasPath(_path, obj) {\n if (_path.length === 0 || isNil(obj)) {\n return false;\n }\n\n var val = obj;\n var idx = 0;\n\n while (idx < _path.length) {\n if (!isNil(val) && _has(_path[idx], val)) {\n val = val[_path[idx]];\n idx += 1;\n } else {\n return false;\n }\n }\n\n return true;\n});\n\nexport default hasPath;","import nth from \"./nth.js\";\n/**\n * Returns the first element of the given list or string. In some libraries\n * this function is named `first`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> a | Undefined\n * @sig String -> String\n * @param {Array|String} list\n * @return {*}\n * @see R.tail, R.init, R.last\n * @example\n *\n * R.head(['fi', 'fo', 'fum']); //=> 'fi'\n * R.head([]); //=> undefined\n *\n * R.head('abc'); //=> 'a'\n * R.head(''); //=> ''\n */\n\nvar head =\n/*#__PURE__*/\nnth(0);\nexport default head;","import _objectIs from \"./internal/_objectIs.js\";\n/**\n * Returns true if its arguments are identical, false otherwise. Values are\n * identical if they reference the same memory. `NaN` is identical to `NaN`;\n * `0` and `-0` are not identical.\n *\n * Note this is merely a curried version of ES6 `Object.is`.\n *\n * `identical` does not support the `__` placeholder.\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category Relation\n * @sig a -> a -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @example\n *\n * const o = {};\n * R.identical(o, o); //=> true\n * R.identical(1, 1); //=> true\n * R.identical(1, '1'); //=> false\n * R.identical([], []); //=> false\n * R.identical(0, -0); //=> false\n * R.identical(NaN, NaN); //=> true\n */\n\nvar identical = function (a, b) {\n switch (arguments.length) {\n case 0:\n return identical;\n\n case 1:\n return function () {\n return function unaryIdentical(_b) {\n switch (arguments.length) {\n case 0:\n return unaryIdentical;\n\n default:\n return _objectIs(a, _b);\n }\n };\n }();\n\n default:\n return _objectIs(a, b);\n }\n}; // In order to support Cross-origin Window objects as arguments to identical,\n// it cannot be implemented as _curry2(_objectIs).\n// The reason is that _curry2 checks if a function argument is the placeholder __\n// by accessing a paritcular property. However, across URL origins access\n// to most properties of Window is forbidden.\n\n\nexport default identical;","import _curry3 from \"./internal/_curry3.js\";\nimport curryN from \"./curryN.js\";\n/**\n * Creates a function that will process either the `onTrue` or the `onFalse`\n * function depending upon the result of the `condition` predicate.\n *\n * Note that `ifElse` takes its arity from the longest of the three functions passed to it.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> *) -> (*... -> *) -> (*... -> *)\n * @param {Function} condition A predicate function\n * @param {Function} onTrue A function to invoke when the `condition` evaluates to a truthy value.\n * @param {Function} onFalse A function to invoke when the `condition` evaluates to a falsy value.\n * @return {Function} A new function that will process either the `onTrue` or the `onFalse`\n * function depending upon the result of the `condition` predicate.\n * @see R.unless, R.when, R.cond\n * @example\n *\n * const incCount = R.ifElse(\n * R.has('count'),\n * R.over(R.lensProp('count'), R.inc),\n * R.assoc('count', 1)\n * );\n * incCount({ count: 1 }); //=> { count: 2 }\n * incCount({}); //=> { count: 1 }\n */\n\nvar ifElse =\n/*#__PURE__*/\n_curry3(function ifElse(condition, onTrue, onFalse) {\n return curryN(Math.max(condition.length, onTrue.length, onFalse.length), function _ifElse() {\n return condition.apply(this, arguments) ? onTrue.apply(this, arguments) : onFalse.apply(this, arguments);\n });\n});\n\nexport default ifElse;","export default function _arity(n, fn) {\n /* eslint-disable no-unused-vars */\n switch (n) {\n case 0:\n return function () {\n return fn.apply(this, arguments);\n };\n\n case 1:\n return function (a0) {\n return fn.apply(this, arguments);\n };\n\n case 2:\n return function (a0, a1) {\n return fn.apply(this, arguments);\n };\n\n case 3:\n return function (a0, a1, a2) {\n return fn.apply(this, arguments);\n };\n\n case 4:\n return function (a0, a1, a2, a3) {\n return fn.apply(this, arguments);\n };\n\n case 5:\n return function (a0, a1, a2, a3, a4) {\n return fn.apply(this, arguments);\n };\n\n case 6:\n return function (a0, a1, a2, a3, a4, a5) {\n return fn.apply(this, arguments);\n };\n\n case 7:\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return fn.apply(this, arguments);\n };\n\n case 8:\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return fn.apply(this, arguments);\n };\n\n case 9:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8) {\n return fn.apply(this, arguments);\n };\n\n case 10:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {\n return fn.apply(this, arguments);\n };\n\n default:\n throw new Error('First argument to _arity must be a non-negative integer no greater than ten');\n }\n}","export default function _arrayReduce(reducer, acc, list) {\n var index = 0;\n var length = list.length;\n\n while (index < length) {\n acc = reducer(acc, list[index]);\n index += 1;\n }\n\n return acc;\n}","import _isArray from \"./_isArray.js\";\n/**\n * This checks whether a function has a [methodname] function. If it isn't an\n * array it will execute that function otherwise it will default to the ramda\n * implementation.\n *\n * @private\n * @param {Function} fn ramda implementation\n * @param {String} methodname property to check for a custom implementation\n * @return {Object} Whatever the return value of the method is.\n */\n\nexport default function _checkForMethod(methodname, fn) {\n return function () {\n var length = arguments.length;\n\n if (length === 0) {\n return fn();\n }\n\n var obj = arguments[length - 1];\n return _isArray(obj) || typeof obj[methodname] !== 'function' ? fn.apply(this, arguments) : obj[methodname].apply(obj, Array.prototype.slice.call(arguments, 0, length - 1));\n };\n}","export default function _cloneRegExp(pattern) {\n return new RegExp(pattern.source, pattern.flags ? pattern.flags : (pattern.global ? 'g' : '') + (pattern.ignoreCase ? 'i' : '') + (pattern.multiline ? 'm' : '') + (pattern.sticky ? 'y' : '') + (pattern.unicode ? 'u' : '') + (pattern.dotAll ? 's' : ''));\n}","export default function _complement(f) {\n return function () {\n return !f.apply(this, arguments);\n };\n}","import _curry1 from \"./_curry1.js\";\nimport _isArray from \"./_isArray.js\";\nimport _isString from \"./_isString.js\";\n/**\n * Tests whether or not an object is similar to an array.\n *\n * @private\n * @category Type\n * @category List\n * @sig * -> Boolean\n * @param {*} x The object to test.\n * @return {Boolean} `true` if `x` has a numeric length property and extreme indices defined; `false` otherwise.\n * @example\n *\n * _isArrayLike([]); //=> true\n * _isArrayLike(true); //=> false\n * _isArrayLike({}); //=> false\n * _isArrayLike({length: 10}); //=> false\n * _isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true\n * _isArrayLike({nodeType: 1, length: 1}) // => false\n */\n\nvar _isArrayLike =\n/*#__PURE__*/\n_curry1(function isArrayLike(x) {\n if (_isArray(x)) {\n return true;\n }\n\n if (!x) {\n return false;\n }\n\n if (typeof x !== 'object') {\n return false;\n }\n\n if (_isString(x)) {\n return false;\n }\n\n if (x.length === 0) {\n return true;\n }\n\n if (x.length > 0) {\n return x.hasOwnProperty(0) && x.hasOwnProperty(x.length - 1);\n }\n\n return false;\n});\n\nexport default _isArrayLike;","import _isArrayLike from \"./_isArrayLike.js\";\nvar symIterator = typeof Symbol !== 'undefined' ? Symbol.iterator : '@@iterator';\nexport default function _createReduce(arrayReduce, methodReduce, iterableReduce) {\n return function _reduce(xf, acc, list) {\n if (_isArrayLike(list)) {\n return arrayReduce(xf, acc, list);\n }\n\n if (list == null) {\n return acc;\n }\n\n if (typeof list['fantasy-land/reduce'] === 'function') {\n return methodReduce(xf, acc, list, 'fantasy-land/reduce');\n }\n\n if (list[symIterator] != null) {\n return iterableReduce(xf, acc, list[symIterator]());\n }\n\n if (typeof list.next === 'function') {\n return iterableReduce(xf, acc, list);\n }\n\n if (typeof list.reduce === 'function') {\n return methodReduce(xf, acc, list, 'reduce');\n }\n\n throw new TypeError('reduce: list must be array or iterable');\n };\n}","import _isPlaceholder from \"./_isPlaceholder.js\";\n/**\n * Optimized internal one-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry1(fn) {\n return function f1(a) {\n if (arguments.length === 0 || _isPlaceholder(a)) {\n return f1;\n } else {\n return fn.apply(this, arguments);\n }\n };\n}","import _curry1 from \"./_curry1.js\";\nimport _isPlaceholder from \"./_isPlaceholder.js\";\n/**\n * Optimized internal two-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry2(fn) {\n return function f2(a, b) {\n switch (arguments.length) {\n case 0:\n return f2;\n\n case 1:\n return _isPlaceholder(a) ? f2 : _curry1(function (_b) {\n return fn(a, _b);\n });\n\n default:\n return _isPlaceholder(a) && _isPlaceholder(b) ? f2 : _isPlaceholder(a) ? _curry1(function (_a) {\n return fn(_a, b);\n }) : _isPlaceholder(b) ? _curry1(function (_b) {\n return fn(a, _b);\n }) : fn(a, b);\n }\n };\n}","import _curry1 from \"./_curry1.js\";\nimport _curry2 from \"./_curry2.js\";\nimport _isPlaceholder from \"./_isPlaceholder.js\";\n/**\n * Optimized internal three-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry3(fn) {\n return function f3(a, b, c) {\n switch (arguments.length) {\n case 0:\n return f3;\n\n case 1:\n return _isPlaceholder(a) ? f3 : _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n });\n\n case 2:\n return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2(function (_a, _c) {\n return fn(_a, b, _c);\n }) : _isPlaceholder(b) ? _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n }) : _curry1(function (_c) {\n return fn(a, b, _c);\n });\n\n default:\n return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2(function (_a, _b) {\n return fn(_a, _b, c);\n }) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2(function (_a, _c) {\n return fn(_a, b, _c);\n }) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n }) : _isPlaceholder(a) ? _curry1(function (_a) {\n return fn(_a, b, c);\n }) : _isPlaceholder(b) ? _curry1(function (_b) {\n return fn(a, _b, c);\n }) : _isPlaceholder(c) ? _curry1(function (_c) {\n return fn(a, b, _c);\n }) : fn(a, b, c);\n }\n };\n}","import _isArray from \"./_isArray.js\";\nimport _isTransformer from \"./_isTransformer.js\";\n/**\n * Returns a function that dispatches with different strategies based on the\n * object in list position (last argument). If it is an array, executes [fn].\n * Otherwise, if it has a function with one of the given method names, it will\n * execute that function (functor case). Otherwise, if it is a transformer,\n * uses transducer created by [transducerCreator] to return a new transformer\n * (transducer case).\n * Otherwise, it will default to executing [fn].\n *\n * @private\n * @param {Array} methodNames properties to check for a custom implementation\n * @param {Function} transducerCreator transducer factory if object is transformer\n * @param {Function} fn default ramda implementation\n * @return {Function} A function that dispatches on object in list position\n */\n\nexport default function _dispatchable(methodNames, transducerCreator, fn) {\n return function () {\n if (arguments.length === 0) {\n return fn();\n }\n\n var obj = arguments[arguments.length - 1];\n\n if (!_isArray(obj)) {\n var idx = 0;\n\n while (idx < methodNames.length) {\n if (typeof obj[methodNames[idx]] === 'function') {\n return obj[methodNames[idx]].apply(obj, Array.prototype.slice.call(arguments, 0, -1));\n }\n\n idx += 1;\n }\n\n if (_isTransformer(obj)) {\n var transducer = transducerCreator.apply(null, Array.prototype.slice.call(arguments, 0, -1));\n return transducer(obj);\n }\n }\n\n return fn.apply(this, arguments);\n };\n}","export default function _isTransformer(obj) {\n return obj != null && typeof obj['@@transducer/step'] === 'function';\n}","export default function _has(prop, obj) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}","import _indexOf from \"./_indexOf.js\";\nexport default function _includes(a, list) {\n return _indexOf(list, a, 0) >= 0;\n}","import equals from \"../equals.js\";\nexport default function _indexOf(list, a, idx) {\n var inf, item; // Array.prototype.indexOf doesn't exist below IE9\n\n if (typeof list.indexOf === 'function') {\n switch (typeof a) {\n case 'number':\n if (a === 0) {\n // manually crawl the list to distinguish between +0 and -0\n inf = 1 / a;\n\n while (idx < list.length) {\n item = list[idx];\n\n if (item === 0 && 1 / item === inf) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n } else if (a !== a) {\n // NaN\n while (idx < list.length) {\n item = list[idx];\n\n if (typeof item === 'number' && item !== item) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n } // non-zero numbers can utilise Set\n\n\n return list.indexOf(a, idx);\n // all these types can utilise Set\n\n case 'string':\n case 'boolean':\n case 'function':\n case 'undefined':\n return list.indexOf(a, idx);\n\n case 'object':\n if (a === null) {\n // null can utilise Set\n return list.indexOf(a, idx);\n }\n\n }\n } // anything else not covered above, defer to R.equals\n\n\n while (idx < list.length) {\n if (equals(list[idx], a)) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n}","import _has from \"./_has.js\";\nvar toString = Object.prototype.toString;\n\nvar _isArguments =\n/*#__PURE__*/\nfunction () {\n return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {\n return toString.call(x) === '[object Arguments]';\n } : function _isArguments(x) {\n return _has('callee', x);\n };\n}();\n\nexport default _isArguments;","/**\n * Tests whether or not an object is an array.\n *\n * @private\n * @param {*} val The object to test.\n * @return {Boolean} `true` if `val` is an array, `false` otherwise.\n * @example\n *\n * _isArray([]); //=> true\n * _isArray(null); //=> false\n * _isArray({}); //=> false\n */\nexport default Array.isArray || function _isArray(val) {\n return val != null && val.length >= 0 && Object.prototype.toString.call(val) === '[object Array]';\n};","export default function _isFunction(x) {\n var type = Object.prototype.toString.call(x);\n return type === '[object Function]' || type === '[object AsyncFunction]' || type === '[object GeneratorFunction]' || type === '[object AsyncGeneratorFunction]';\n}","/**\n * Determine if the passed argument is an integer.\n *\n * @private\n * @param {*} n\n * @category Type\n * @return {Boolean}\n */\nexport default Number.isInteger || function _isInteger(n) {\n return n << 0 === n;\n};","export default function _isObject(x) {\n return Object.prototype.toString.call(x) === '[object Object]';\n}","export default function _isPlaceholder(a) {\n return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;\n}","export default function _isString(x) {\n return Object.prototype.toString.call(x) === '[object String]';\n}","export default function _map(fn, functor) {\n var idx = 0;\n var len = functor.length;\n var result = Array(len);\n\n while (idx < len) {\n result[idx] = fn(functor[idx]);\n idx += 1;\n }\n\n return result;\n}","// Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\nfunction _objectIs(a, b) {\n // SameValue algorithm\n if (a === b) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return a !== 0 || 1 / a === 1 / b;\n } else {\n // Step 6.a: NaN == NaN\n return a !== a && b !== b;\n }\n}\n\nexport default typeof Object.is === 'function' ? Object.is : _objectIs;","export default function _reduced(x) {\n return x && x['@@transducer/reduced'] ? x : {\n '@@transducer/value': x,\n '@@transducer/reduced': true\n };\n}","export default function _xArrayReduce(xf, acc, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n acc = xf['@@transducer/step'](acc, list[idx]);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n idx += 1;\n }\n\n return xf['@@transducer/result'](acc);\n}","import _createReduce from \"./_createReduce.js\";\nimport _xArrayReduce from \"./_xArrayReduce.js\";\nimport bind from \"../bind.js\";\n\nfunction _xIterableReduce(xf, acc, iter) {\n var step = iter.next();\n\n while (!step.done) {\n acc = xf['@@transducer/step'](acc, step.value);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n step = iter.next();\n }\n\n return xf['@@transducer/result'](acc);\n}\n\nfunction _xMethodReduce(xf, acc, obj, methodName) {\n return xf['@@transducer/result'](obj[methodName](bind(xf['@@transducer/step'], xf), acc));\n}\n\nvar _xReduce =\n/*#__PURE__*/\n_createReduce(_xArrayReduce, _xMethodReduce, _xIterableReduce);\n\nexport default _xReduce;","export default {\n init: function () {\n return this.xf['@@transducer/init']();\n },\n result: function (result) {\n return this.xf['@@transducer/result'](result);\n }\n};","var XWrap =\n/*#__PURE__*/\nfunction () {\n function XWrap(fn) {\n this.f = fn;\n }\n\n XWrap.prototype['@@transducer/init'] = function () {\n throw new Error('init not implemented on XWrap');\n };\n\n XWrap.prototype['@@transducer/result'] = function (acc) {\n return acc;\n };\n\n XWrap.prototype['@@transducer/step'] = function (acc, x) {\n return this.f(acc, x);\n };\n\n return XWrap;\n}();\n\nexport default function _xwrap(fn) {\n return new XWrap(fn);\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _isFunction from \"./internal/_isFunction.js\";\nimport curryN from \"./curryN.js\";\nimport toString from \"./toString.js\";\n/**\n * Given an `arity` (Number) and a `name` (String) the `invoker` function\n * returns a curried function that takes `arity` arguments and a `context`\n * object. It will \"invoke\" the `name`'d function (a method) on the `context`\n * object.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig Number -> String -> (a -> b -> ... -> n -> Object -> *)\n * @param {Number} arity Number of arguments the returned function should take\n * before the target object.\n * @param {String} method Name of any of the target object's methods to call.\n * @return {Function} A new curried function.\n * @see R.construct\n * @example\n * // A function with no arguments\n * const asJson = invoker(0, \"json\")\n * // Just like calling .then((response) => response.json())\n * fetch(\"http://example.com/index.json\").then(asJson)\n *\n * // A function with one argument\n * const sliceFrom = invoker(1, 'slice');\n * sliceFrom(6, 'abcdefghijklm'); //=> 'ghijklm'\n *\n * // A function with two arguments\n * const sliceFrom6 = invoker(2, 'slice')(6);\n * sliceFrom6(8, 'abcdefghijklm'); //=> 'gh'\n *\n * // NOTE: You can't simply pass some of the arguments to the initial invoker function.\n * const firstCreditCardSection = invoker(2, \"slice\", 0, 4)\n * firstCreditCardSection(\"4242 4242 4242 4242\") // => Function<...>\n *\n * // Since invoker returns a curried function, you may partially apply it to create the function you need.\n * const firstCreditCardSection = invoker(2, \"slice\")(0, 4)\n * firstCreditCardSection(\"4242 4242 4242 4242\") // => \"4242\"\n *\n * @symb R.invoker(0, 'method')(o) = o['method']()\n * @symb R.invoker(1, 'method')(a, o) = o['method'](a)\n * @symb R.invoker(2, 'method')(a, b, o) = o['method'](a, b)\n */\n\nvar invoker =\n/*#__PURE__*/\n_curry2(function invoker(arity, method) {\n return curryN(arity + 1, function () {\n var target = arguments[arity];\n\n if (target != null && _isFunction(target[method])) {\n return target[method].apply(target, Array.prototype.slice.call(arguments, 0, arity));\n }\n\n throw new TypeError(toString(target) + ' does not have a method named \"' + method + '\"');\n });\n});\n\nexport default invoker;","import _curry1 from \"./internal/_curry1.js\";\nimport _isArguments from \"./internal/_isArguments.js\";\nimport _isArray from \"./internal/_isArray.js\";\nimport _isObject from \"./internal/_isObject.js\";\nimport _isString from \"./internal/_isString.js\";\nimport _isTypedArray from \"./internal/_isTypedArray.js\";\n/**\n * Returns the empty value of its argument's type. Ramda defines the empty\n * value of Array (`[]`), Object (`{}`), String (`''`),\n * TypedArray (`Uint8Array []`, `Float32Array []`, etc), and Arguments. Other\n * types are supported if they define `.empty`,\n * `.prototype.empty` or implement the\n * [FantasyLand Monoid spec](https://github.com/fantasyland/fantasy-land#monoid).\n *\n * Dispatches to the `empty` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig a -> a\n * @param {*} x\n * @return {*}\n * @example\n *\n * R.empty(Just(42)); //=> Nothing()\n * R.empty([1, 2, 3]); //=> []\n * R.empty('unicorns'); //=> ''\n * R.empty({x: 1, y: 2}); //=> {}\n * R.empty(Uint8Array.from('123')); //=> Uint8Array []\n */\n\nvar empty =\n/*#__PURE__*/\n_curry1(function empty(x) {\n return x != null && typeof x['fantasy-land/empty'] === 'function' ? x['fantasy-land/empty']() : x != null && x.constructor != null && typeof x.constructor['fantasy-land/empty'] === 'function' ? x.constructor['fantasy-land/empty']() : x != null && typeof x.empty === 'function' ? x.empty() : x != null && x.constructor != null && typeof x.constructor.empty === 'function' ? x.constructor.empty() : _isArray(x) ? [] : _isString(x) ? '' : _isObject(x) ? {} : _isArguments(x) ? function () {\n return arguments;\n }() : _isTypedArray(x) ? x.constructor.from('') : void 0 // else\n ;\n});\n\nexport default empty;","/**\n * Tests whether or not an object is a typed array.\n *\n * @private\n * @param {*} val The object to test.\n * @return {Boolean} `true` if `val` is a typed array, `false` otherwise.\n * @example\n *\n * _isTypedArray(new Uint8Array([])); //=> true\n * _isTypedArray(new Float32Array([])); //=> true\n * _isTypedArray([]); //=> false\n * _isTypedArray(null); //=> false\n * _isTypedArray({}); //=> false\n */\nexport default function _isTypedArray(val) {\n var type = Object.prototype.toString.call(val);\n return type === '[object Uint8ClampedArray]' || type === '[object Int8Array]' || type === '[object Uint8Array]' || type === '[object Int16Array]' || type === '[object Uint16Array]' || type === '[object Int32Array]' || type === '[object Uint32Array]' || type === '[object Float32Array]' || type === '[object Float64Array]' || type === '[object BigInt64Array]' || type === '[object BigUint64Array]';\n}","import _curry1 from \"./internal/_curry1.js\";\nimport empty from \"./empty.js\";\nimport equals from \"./equals.js\";\n/**\n * Returns `true` if the given value is its type's empty value; `false`\n * otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> Boolean\n * @param {*} x\n * @return {Boolean}\n * @see R.empty\n * @example\n *\n * R.isEmpty([1, 2, 3]); //=> false\n * R.isEmpty([]); //=> true\n * R.isEmpty(''); //=> true\n * R.isEmpty(null); //=> false\n * R.isEmpty({}); //=> true\n * R.isEmpty({length: 0}); //=> false\n * R.isEmpty(Uint8Array.from('')); //=> true\n */\n\nvar isEmpty =\n/*#__PURE__*/\n_curry1(function isEmpty(x) {\n return x != null && equals(x, empty(x));\n});\n\nexport default isEmpty;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * Checks if the input value is `null` or `undefined`.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Type\n * @sig * -> Boolean\n * @param {*} x The value to test.\n * @return {Boolean} `true` if `x` is `undefined` or `null`, otherwise `false`.\n * @example\n *\n * R.isNil(null); //=> true\n * R.isNil(undefined); //=> true\n * R.isNil(0); //=> false\n * R.isNil([]); //=> false\n */\n\nvar isNil =\n/*#__PURE__*/\n_curry1(function isNil(x) {\n return x == null;\n});\n\nexport default isNil;","import invoker from \"./invoker.js\";\n/**\n * Returns a string made by inserting the `separator` between each element and\n * concatenating all the elements into a single string.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig String -> [a] -> String\n * @param {Number|String} separator The string used to separate the elements.\n * @param {Array} xs The elements to join into a string.\n * @return {String} str The string made by concatenating `xs` with `separator`.\n * @see R.split\n * @example\n *\n * const spacer = R.join(' ');\n * spacer(['a', 2, 3.4]); //=> 'a 2 3.4'\n * R.join('|', [1, 2, 3]); //=> '1|2|3'\n */\n\nvar join =\n/*#__PURE__*/\ninvoker(1, 'join');\nexport default join;","import _curry1 from \"./internal/_curry1.js\";\nimport _has from \"./internal/_has.js\";\nimport _isArguments from \"./internal/_isArguments.js\"; // cover IE < 9 keys issues\n\nvar hasEnumBug = !\n/*#__PURE__*/\n{\n toString: null\n}.propertyIsEnumerable('toString');\nvar nonEnumerableProps = ['constructor', 'valueOf', 'isPrototypeOf', 'toString', 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; // Safari bug\n\nvar hasArgsEnumBug =\n/*#__PURE__*/\nfunction () {\n 'use strict';\n\n return arguments.propertyIsEnumerable('length');\n}();\n\nvar contains = function contains(list, item) {\n var idx = 0;\n\n while (idx < list.length) {\n if (list[idx] === item) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n};\n/**\n * Returns a list containing the names of all the enumerable own properties of\n * the supplied object.\n * Note that the order of the output array is not guaranteed to be consistent\n * across different JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> [k]\n * @param {Object} obj The object to extract properties from\n * @return {Array} An array of the object's own properties.\n * @see R.keysIn, R.values, R.toPairs\n * @example\n *\n * R.keys({a: 1, b: 2, c: 3}); //=> ['a', 'b', 'c']\n */\n\n\nvar keys = typeof Object.keys === 'function' && !hasArgsEnumBug ?\n/*#__PURE__*/\n_curry1(function keys(obj) {\n return Object(obj) !== obj ? [] : Object.keys(obj);\n}) :\n/*#__PURE__*/\n_curry1(function keys(obj) {\n if (Object(obj) !== obj) {\n return [];\n }\n\n var prop, nIdx;\n var ks = [];\n\n var checkArgsLength = hasArgsEnumBug && _isArguments(obj);\n\n for (prop in obj) {\n if (_has(prop, obj) && (!checkArgsLength || prop !== 'length')) {\n ks[ks.length] = prop;\n }\n }\n\n if (hasEnumBug) {\n nIdx = nonEnumerableProps.length - 1;\n\n while (nIdx >= 0) {\n prop = nonEnumerableProps[nIdx];\n\n if (_has(prop, obj) && !contains(ks, prop)) {\n ks[ks.length] = prop;\n }\n\n nIdx -= 1;\n }\n }\n\n return ks;\n});\nexport default keys;","import nth from \"./nth.js\";\n/**\n * Returns the last element of the given list or string.\n *\n * @func\n * @memberOf R\n * @since v0.1.4\n * @category List\n * @sig [a] -> a | Undefined\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.init, R.head, R.tail\n * @example\n *\n * R.last(['fi', 'fo', 'fum']); //=> 'fum'\n * R.last([]); //=> undefined\n *\n * R.last('abc'); //=> 'c'\n * R.last(''); //=> ''\n */\n\nvar last =\n/*#__PURE__*/\nnth(-1);\nexport default last;","import _curry2 from \"./internal/_curry2.js\";\nimport map from \"./map.js\";\n/**\n * Returns a lens for the given getter and setter functions. The getter \"gets\"\n * the value of the focus; the setter \"sets\" the value of the focus. The setter\n * should not mutate the data structure.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig (s -> a) -> ((a, s) -> s) -> Lens s a\n * @param {Function} getter\n * @param {Function} setter\n * @return {Lens}\n * @see R.view, R.set, R.over, R.lensIndex, R.lensProp\n * @example\n *\n * const xLens = R.lens(R.prop('x'), R.assoc('x'));\n *\n * R.view(xLens, {x: 1, y: 2}); //=> 1\n * R.set(xLens, 4, {x: 1, y: 2}); //=> {x: 4, y: 2}\n * R.over(xLens, R.negate, {x: 1, y: 2}); //=> {x: -1, y: 2}\n */\n\nvar lens =\n/*#__PURE__*/\n_curry2(function lens(getter, setter) {\n return function (toFunctorFn) {\n return function (target) {\n return map(function (focus) {\n return setter(focus, target);\n }, toFunctorFn(getter(target)));\n };\n };\n});\n\nexport default lens;","import _arrayReduce from \"./_arrayReduce.js\";\nimport _createReduce from \"./_createReduce.js\";\n\nfunction _iterableReduce(reducer, acc, iter) {\n var step = iter.next();\n\n while (!step.done) {\n acc = reducer(acc, step.value);\n step = iter.next();\n }\n\n return acc;\n}\n\nfunction _methodReduce(reducer, acc, obj, methodName) {\n return obj[methodName](reducer, acc);\n}\n\nvar _reduce =\n/*#__PURE__*/\n_createReduce(_arrayReduce, _methodReduce, _iterableReduce);\n\nexport default _reduce;","import _concat from \"./internal/_concat.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _reduce from \"./internal/_reduce.js\";\nimport map from \"./map.js\";\n/**\n * ap applies a list of functions to a list of values.\n *\n * Dispatches to the `ap` method of the first argument, if present. Also\n * treats curried functions as applicatives.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig [a -> b] -> [a] -> [b]\n * @sig Apply f => f (a -> b) -> f a -> f b\n * @sig (r -> a -> b) -> (r -> a) -> (r -> b)\n * @param {*} applyF\n * @param {*} applyX\n * @return {*}\n * @example\n *\n * R.ap([R.multiply(2), R.add(3)], [1,2,3]); //=> [2, 4, 6, 4, 5, 6]\n * R.ap([R.concat('tasty '), R.toUpper], ['pizza', 'salad']); //=> [\"tasty pizza\", \"tasty salad\", \"PIZZA\", \"SALAD\"]\n *\n * // R.ap can also be used as S combinator\n * // when only two functions are passed\n * R.ap(R.concat, R.toUpper)('Ramda') //=> 'RamdaRAMDA'\n * @symb R.ap([f, g], [a, b]) = [f(a), f(b), g(a), g(b)]\n */\n\nvar ap =\n/*#__PURE__*/\n_curry2(function ap(applyF, applyX) {\n return typeof applyX['fantasy-land/ap'] === 'function' ? applyX['fantasy-land/ap'](applyF) : typeof applyF.ap === 'function' ? applyF.ap(applyX) : typeof applyF === 'function' ? function (x) {\n return applyF(x)(applyX(x));\n } : _reduce(function (acc, f) {\n return _concat(acc, map(f, applyX));\n }, [], applyF);\n});\n\nexport default ap;","/**\n * Private `concat` function to merge two array-like objects.\n *\n * @private\n * @param {Array|Arguments} [set1=[]] An array-like object.\n * @param {Array|Arguments} [set2=[]] An array-like object.\n * @return {Array} A new, merged array.\n * @example\n *\n * _concat([4, 5, 6], [1, 2, 3]); //=> [4, 5, 6, 1, 2, 3]\n */\nexport default function _concat(set1, set2) {\n set1 = set1 || [];\n set2 = set2 || [];\n var idx;\n var len1 = set1.length;\n var len2 = set2.length;\n var result = [];\n idx = 0;\n\n while (idx < len1) {\n result[result.length] = set1[idx];\n idx += 1;\n }\n\n idx = 0;\n\n while (idx < len2) {\n result[result.length] = set2[idx];\n idx += 1;\n }\n\n return result;\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _arrayReduce from \"./internal/_arrayReduce.js\";\nimport ap from \"./ap.js\";\nimport curryN from \"./curryN.js\";\nimport map from \"./map.js\";\n/**\n * \"lifts\" a function to be the specified arity, so that it may \"map over\" that\n * many lists, Functions or other objects that satisfy the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig Number -> (*... -> *) -> ([*]... -> [*])\n * @param {Function} fn The function to lift into higher context\n * @return {Function} The lifted function.\n * @see R.lift, R.ap\n * @example\n *\n * const madd3 = R.liftN(3, (...args) => R.sum(args));\n * madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]\n */\n\nvar liftN =\n/*#__PURE__*/\n_curry2(function liftN(arity, fn) {\n var lifted = curryN(arity, fn);\n return curryN(arity, function () {\n return _arrayReduce(ap, map(lifted, arguments[0]), Array.prototype.slice.call(arguments, 1));\n });\n});\n\nexport default liftN;","import _curry1 from \"./internal/_curry1.js\";\nimport liftN from \"./liftN.js\";\n/**\n * \"lifts\" a function of arity >= 1 so that it may \"map over\" a list, Function or other\n * object that satisfies the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig (*... -> *) -> ([*]... -> [*])\n * @param {Function} fn The function to lift into higher context\n * @return {Function} The lifted function.\n * @see R.liftN\n * @example\n *\n * const madd3 = R.lift((a, b, c) => a + b + c);\n *\n * madd3([100, 200], [30, 40], [5, 6, 7]); //=> [135, 136, 137, 145, 146, 147, 235, 236, 237, 245, 246, 247]\n *\n * const madd5 = R.lift((a, b, c, d, e) => a + b + c + d + e);\n *\n * madd5([10, 20], [1], [2, 3], [4], [100, 200]); //=> [117, 217, 118, 218, 127, 227, 128, 228]\n */\n\nvar lift =\n/*#__PURE__*/\n_curry1(function lift(fn) {\n return liftN(fn.length, fn);\n});\n\nexport default lift;","import _xfBase from \"./_xfBase.js\";\n\nvar XMap =\n/*#__PURE__*/\nfunction () {\n function XMap(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XMap.prototype['@@transducer/init'] = _xfBase.init;\n XMap.prototype['@@transducer/result'] = _xfBase.result;\n\n XMap.prototype['@@transducer/step'] = function (result, input) {\n return this.xf['@@transducer/step'](result, this.f(input));\n };\n\n return XMap;\n}();\n\nvar _xmap = function _xmap(f) {\n return function (xf) {\n return new XMap(f, xf);\n };\n};\n\nexport default _xmap;","import _arrayReduce from \"./internal/_arrayReduce.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _map from \"./internal/_map.js\";\nimport _xmap from \"./internal/_xmap.js\";\nimport curryN from \"./curryN.js\";\nimport keys from \"./keys.js\";\n/**\n * Takes a function and\n * a [functor](https://github.com/fantasyland/fantasy-land#functor),\n * applies the function to each of the functor's values, and returns\n * a functor of the same shape.\n *\n * Ramda provides suitable `map` implementations for `Array` and `Object`,\n * so this function may be applied to `[1, 2, 3]` or `{x: 1, y: 2, z: 3}`.\n *\n * Dispatches to the `map` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * Also treats functions as functors and will compose them together.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Functor f => (a -> b) -> f a -> f b\n * @param {Function} fn The function to be called on every element of the input `list`.\n * @param {Array} list The list to be iterated over.\n * @return {Array} The new list.\n * @see R.transduce, R.addIndex, R.pluck, R.project\n * @example\n *\n * const double = x => x * 2;\n *\n * R.map(double, [1, 2, 3]); //=> [2, 4, 6]\n *\n * R.map(double, {x: 1, y: 2, z: 3}); //=> {x: 2, y: 4, z: 6}\n * @symb R.map(f, [a, b]) = [f(a), f(b)]\n * @symb R.map(f, { x: a, y: b }) = { x: f(a), y: f(b) }\n * @symb R.map(f, functor_o) = functor_o.map(f)\n */\n\nvar map =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['fantasy-land/map', 'map'], _xmap, function map(fn, functor) {\n switch (Object.prototype.toString.call(functor)) {\n case '[object Function]':\n return curryN(functor.length, function () {\n return fn.call(this, functor.apply(this, arguments));\n });\n\n case '[object Object]':\n return _arrayReduce(function (acc, key) {\n acc[key] = fn(functor[key]);\n return acc;\n }, {}, keys(functor));\n\n default:\n return _map(fn, functor);\n }\n}));\n\nexport default map;","import _arrayReduce from \"./internal/_arrayReduce.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport keys from \"./keys.js\";\n/**\n * An Object-specific version of [`map`](#map). The function is applied to three\n * arguments: *(value, key, obj)*. If only the value is significant, use\n * [`map`](#map) instead.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Object\n * @sig ((*, String, Object) -> *) -> Object -> Object\n * @param {Function} fn\n * @param {Object} obj\n * @return {Object}\n * @see R.map\n * @example\n *\n * const xyz = { x: 1, y: 2, z: 3 };\n * const prependKeyAndDouble = (num, key, obj) => key + (num * 2);\n *\n * R.mapObjIndexed(prependKeyAndDouble, xyz); //=> { x: 'x2', y: 'y4', z: 'z6' }\n */\n\nvar mapObjIndexed =\n/*#__PURE__*/\n_curry2(function mapObjIndexed(fn, obj) {\n return _arrayReduce(function (acc, key) {\n acc[key] = fn(obj[key], key, obj);\n return acc;\n }, {}, keys(obj));\n});\n\nexport default mapObjIndexed;","import _curry2 from \"./internal/_curry2.js\";\nimport toString from \"./toString.js\";\n/**\n * Returns the larger of its two arguments.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> a\n * @param {*} a\n * @param {*} b\n * @return {*}\n * @see R.maxBy, R.min\n * @example\n *\n * R.max(789, 123); //=> 789\n * R.max('a', 'b'); //=> 'b'\n */\n\nvar max =\n/*#__PURE__*/\n_curry2(function max(a, b) {\n if (a === b) {\n return b;\n }\n\n function safeMax(x, y) {\n if (x > y !== y > x) {\n return y > x ? y : x;\n }\n\n return undefined;\n }\n\n var maxByValue = safeMax(a, b);\n\n if (maxByValue !== undefined) {\n return maxByValue;\n }\n\n var maxByType = safeMax(typeof a, typeof b);\n\n if (maxByType !== undefined) {\n return maxByType === typeof a ? a : b;\n }\n\n var stringA = toString(a);\n var maxByStringValue = safeMax(stringA, toString(b));\n\n if (maxByStringValue !== undefined) {\n return maxByStringValue === stringA ? a : b;\n }\n\n return b;\n});\n\nexport default max;","import _curry3 from \"./internal/_curry3.js\";\nimport _has from \"./internal/_has.js\";\n/**\n * Creates a new object with the own properties of the two provided objects. If\n * a key exists in both objects, the provided function is applied to the key\n * and the values associated with the key in each object, with the result being\n * used as the value associated with the key in the returned object.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Object\n * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}\n * @param {Function} fn\n * @param {Object} l\n * @param {Object} r\n * @return {Object}\n * @see R.mergeDeepWithKey, R.merge, R.mergeWith\n * @example\n *\n * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r\n * R.mergeWithKey(concatValues,\n * { a: true, thing: 'foo', values: [10, 20] },\n * { b: true, thing: 'bar', values: [15, 35] });\n * //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }\n * @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }\n */\n\nvar mergeWithKey =\n/*#__PURE__*/\n_curry3(function mergeWithKey(fn, l, r) {\n var result = {};\n var k;\n l = l || {};\n r = r || {};\n\n for (k in l) {\n if (_has(k, l)) {\n result[k] = _has(k, r) ? fn(k, l[k], r[k]) : l[k];\n }\n }\n\n for (k in r) {\n if (_has(k, r) && !_has(k, result)) {\n result[k] = r[k];\n }\n }\n\n return result;\n});\n\nexport default mergeWithKey;","import _curry3 from \"./internal/_curry3.js\";\nimport _isObject from \"./internal/_isObject.js\";\nimport mergeWithKey from \"./mergeWithKey.js\";\n/**\n * Creates a new object with the own properties of the two provided objects.\n * If a key exists in both objects:\n * - and both associated values are also objects then the values will be\n * recursively merged.\n * - otherwise the provided function is applied to the key and associated values\n * using the resulting value as the new value associated with the key.\n * If a key only exists in one object, the value will be associated with the key\n * of the resulting object.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Object\n * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}\n * @param {Function} fn\n * @param {Object} lObj\n * @param {Object} rObj\n * @return {Object}\n * @see R.mergeWithKey, R.mergeDeepWith\n * @example\n *\n * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r\n * R.mergeDeepWithKey(concatValues,\n * { a: true, c: { thing: 'foo', values: [10, 20] }},\n * { b: true, c: { thing: 'bar', values: [15, 35] }});\n * //=> { a: true, b: true, c: { thing: 'bar', values: [10, 20, 15, 35] }}\n */\n\nvar mergeDeepWithKey =\n/*#__PURE__*/\n_curry3(function mergeDeepWithKey(fn, lObj, rObj) {\n return mergeWithKey(function (k, lVal, rVal) {\n if (_isObject(lVal) && _isObject(rVal)) {\n return mergeDeepWithKey(fn, lVal, rVal);\n } else {\n return fn(k, lVal, rVal);\n }\n }, lObj, rObj);\n});\n\nexport default mergeDeepWithKey;","import _curry2 from \"./internal/_curry2.js\";\nimport mergeDeepWithKey from \"./mergeDeepWithKey.js\";\n/**\n * Creates a new object with the own properties of the first object merged with\n * the own properties of the second object. If a key exists in both objects:\n * - and both values are objects, the two values will be recursively merged\n * - otherwise the value from the second object will be used.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Object\n * @sig {a} -> {a} -> {a}\n * @param {Object} lObj\n * @param {Object} rObj\n * @return {Object}\n * @see R.merge, R.mergeDeepLeft, R.mergeDeepWith, R.mergeDeepWithKey\n * @example\n *\n * R.mergeDeepRight({ name: 'fred', age: 10, contact: { email: 'moo@example.com' }},\n * { age: 40, contact: { email: 'baa@example.com' }});\n * //=> { name: 'fred', age: 40, contact: { email: 'baa@example.com' }}\n */\n\nvar mergeDeepRight =\n/*#__PURE__*/\n_curry2(function mergeDeepRight(lObj, rObj) {\n return mergeDeepWithKey(function (k, lVal, rVal) {\n return rVal;\n }, lObj, rObj);\n});\n\nexport default mergeDeepRight;","import _has from \"./_has.js\"; // Based on https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n\nfunction _objectAssign(target) {\n if (target == null) {\n throw new TypeError('Cannot convert undefined or null to object');\n }\n\n var output = Object(target);\n var idx = 1;\n var length = arguments.length;\n\n while (idx < length) {\n var source = arguments[idx];\n\n if (source != null) {\n for (var nextKey in source) {\n if (_has(nextKey, source)) {\n output[nextKey] = source[nextKey];\n }\n }\n }\n\n idx += 1;\n }\n\n return output;\n}\n\nexport default typeof Object.assign === 'function' ? Object.assign : _objectAssign;","import _objectAssign from \"./internal/_objectAssign.js\";\nimport _curry2 from \"./internal/_curry2.js\";\n/**\n * Create a new object with the own properties of the first object merged with\n * the own properties of the second object. If a key exists in both objects,\n * the value from the second object will be used.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Object\n * @sig {k: v} -> {k: v} -> {k: v}\n * @param {Object} l\n * @param {Object} r\n * @return {Object}\n * @see R.mergeLeft, R.mergeDeepRight, R.mergeWith, R.mergeWithKey\n * @example\n *\n * R.mergeRight({ 'name': 'fred', 'age': 10 }, { 'age': 40 });\n * //=> { 'name': 'fred', 'age': 40 }\n *\n * const withDefaults = R.mergeRight({x: 0, y: 0});\n * withDefaults({y: 2}); //=> {x: 0, y: 2}\n * @symb R.mergeRight(a, b) = {...a, ...b}\n */\n\nvar mergeRight =\n/*#__PURE__*/\n_curry2(function mergeRight(l, r) {\n return _objectAssign({}, l, r);\n});\n\nexport default mergeRight;","import _complement from \"./internal/_complement.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport all from \"./all.js\";\n/**\n * Returns `true` if no elements of the list match the predicate, `false`\n * otherwise.\n *\n * Dispatches to the `all` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> Boolean\n * @param {Function} fn The predicate function.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if the predicate is not satisfied by every element, `false` otherwise.\n * @see R.all, R.any\n * @example\n *\n * const isEven = n => n % 2 === 0;\n * const isOdd = n => n % 2 !== 0;\n *\n * R.none(isEven, [1, 3, 5, 7, 9, 11]); //=> true\n * R.none(isOdd, [1, 3, 5, 7, 8, 11]); //=> false\n */\n\nvar none =\n/*#__PURE__*/\n_curry2(function none(fn, input) {\n return all(_complement(fn), input);\n});\n\nexport default none;","import _curry2 from \"./internal/_curry2.js\";\nimport _isString from \"./internal/_isString.js\";\n/**\n * Returns the nth element of the given list or string. If n is negative the\n * element at index length + n is returned.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> [a] -> a | Undefined\n * @sig Number -> String -> String\n * @param {Number} offset\n * @param {*} list\n * @return {*}\n * @example\n *\n * const list = ['foo', 'bar', 'baz', 'quux'];\n * R.nth(1, list); //=> 'bar'\n * R.nth(-1, list); //=> 'quux'\n * R.nth(-99, list); //=> undefined\n *\n * R.nth(2, 'abc'); //=> 'c'\n * R.nth(3, 'abc'); //=> ''\n * @symb R.nth(-1, [a, b, c]) = c\n * @symb R.nth(0, [a, b, c]) = a\n * @symb R.nth(1, [a, b, c]) = b\n */\n\nvar nth =\n/*#__PURE__*/\n_curry2(function nth(offset, list) {\n var idx = offset < 0 ? list.length + offset : offset;\n return _isString(list) ? list.charAt(idx) : list[idx];\n});\n\nexport default nth;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Given a constructor and a value, returns a new instance of that constructor\n * containing the value.\n *\n * Dispatches to the `fantasy-land/of` method of the constructor first (if present)\n * or to the `of` method last (if present). When neither are present, wraps the\n * value in an array.\n *\n * Note this `of` is different from the ES6 `of`; See\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig (* -> {*}) -> a -> {a}\n * @param {Object} Ctor A constructor\n * @param {*} val any value\n * @return {*} An instance of the `Ctor` wrapping `val`.\n * @example\n *\n * R.of(Array, 42); //=> [42]\n * R.of(Array, [42]); //=> [[42]]\n * R.of(Maybe, 42); //=> Maybe.Just(42)\n */\n\nvar of =\n/*#__PURE__*/\n_curry2(function of(Ctor, val) {\n return typeof Ctor['fantasy-land/of'] === 'function' ? Ctor['fantasy-land/of'](val) : typeof Ctor.of === 'function' ? Ctor.of(val) : [val];\n});\n\nexport default of;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns a partial copy of an object omitting the keys specified.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [String] -> {String: *} -> {String: *}\n * @param {Array} names an array of String property names to omit from the new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with properties from `names` not on it.\n * @see R.pick\n * @example\n *\n * R.omit(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, c: 3}\n */\n\nvar omit =\n/*#__PURE__*/\n_curry2(function omit(names, obj) {\n var result = {};\n var index = {};\n var idx = 0;\n var len = names.length;\n\n while (idx < len) {\n index[names[idx]] = 1;\n idx += 1;\n }\n\n for (var prop in obj) {\n if (!index.hasOwnProperty(prop)) {\n result[prop] = obj[prop];\n }\n }\n\n return result;\n});\n\nexport default omit;","import _curry3 from \"./internal/_curry3.js\"; // `Identity` is a functor that holds a single value, where `map` simply\n// transforms the held value with the provided function.\n\nvar Identity = function (x) {\n return {\n value: x,\n map: function (f) {\n return Identity(f(x));\n }\n };\n};\n/**\n * Returns the result of \"setting\" the portion of the given data structure\n * focused by the given lens to the result of applying the given function to\n * the focused value.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig Lens s a -> (a -> a) -> s -> s\n * @param {Lens} lens\n * @param {*} v\n * @param {*} x\n * @return {*}\n * @see R.view, R.set, R.lens, R.lensIndex, R.lensProp, R.lensPath\n * @example\n *\n * const headLens = R.lensIndex(0);\n *\n * R.over(headLens, R.toUpper, ['foo', 'bar', 'baz']); //=> ['FOO', 'bar', 'baz']\n */\n\n\nvar over =\n/*#__PURE__*/\n_curry3(function over(lens, f, x) {\n // The value returned by the getter function is first transformed with `f`,\n // then set as the value of an `Identity`. This is then mapped over with the\n // setter function of the lens.\n return lens(function (y) {\n return Identity(f(y));\n })(x).value;\n});\n\nexport default over;","import _curry2 from \"./internal/_curry2.js\";\nimport _isInteger from \"./internal/_isInteger.js\";\nimport nth from \"./nth.js\";\n/**\n * Retrieves the values at given paths of an object.\n *\n * @func\n * @memberOf R\n * @since v0.27.1\n * @category Object\n * @typedefn Idx = [String | Int | Symbol]\n * @sig [Idx] -> {a} -> [a | Undefined]\n * @param {Array} pathsArray The array of paths to be fetched.\n * @param {Object} obj The object to retrieve the nested properties from.\n * @return {Array} A list consisting of values at paths specified by \"pathsArray\".\n * @see R.path\n * @example\n *\n * R.paths([['a', 'b'], ['p', 0, 'q']], {a: {b: 2}, p: [{q: 3}]}); //=> [2, 3]\n * R.paths([['a', 'b'], ['p', 'r']], {a: {b: 2}, p: [{q: 3}]}); //=> [2, undefined]\n */\n\nvar paths =\n/*#__PURE__*/\n_curry2(function paths(pathsArray, obj) {\n return pathsArray.map(function (paths) {\n var val = obj;\n var idx = 0;\n var p;\n\n while (idx < paths.length) {\n if (val == null) {\n return;\n }\n\n p = paths[idx];\n val = _isInteger(p) ? nth(p, val) : val[p];\n idx += 1;\n }\n\n return val;\n });\n});\n\nexport default paths;","import _curry2 from \"./internal/_curry2.js\";\nimport paths from \"./paths.js\";\n/**\n * Retrieves the value at a given path. The nodes of the path can be arbitrary strings or non-negative integers.\n * For anything else, the value is unspecified. Integer paths are meant to index arrays, strings are meant for objects.\n *\n * @func\n * @memberOf R\n * @since v0.2.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig [Idx] -> {a} -> a | Undefined\n * @sig Idx = String | NonNegativeInt\n * @param {Array} path The path to use.\n * @param {Object} obj The object or array to retrieve the nested property from.\n * @return {*} The data at `path`.\n * @see R.prop, R.nth, R.assocPath, R.dissocPath\n * @example\n *\n * R.path(['a', 'b'], {a: {b: 2}}); //=> 2\n * R.path(['a', 'b'], {c: {b: 2}}); //=> undefined\n * R.path(['a', 'b', 0], {a: {b: [1, 2, 3]}}); //=> 1\n * R.path(['a', 'b', -2], {a: {b: [1, 2, 3]}}); //=> 2\n * R.path([2], {'2': 2}); //=> 2\n * R.path([-2], {'-2': 'a'}); //=> undefined\n */\n\nvar path =\n/*#__PURE__*/\n_curry2(function path(pathAr, obj) {\n return paths([pathAr], obj)[0];\n});\n\nexport default path;","import _curry3 from \"./internal/_curry3.js\";\nimport defaultTo from \"./defaultTo.js\";\nimport path from \"./path.js\";\n/**\n * If the given, non-null object has a value at the given path, returns the\n * value at that path. Otherwise returns the provided default value.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig a -> [Idx] -> {a} -> a\n * @param {*} d The default value.\n * @param {Array} p The path to use.\n * @param {Object} obj The object to retrieve the nested property from.\n * @return {*} The data at `path` of the supplied object or the default value.\n * @example\n *\n * R.pathOr('N/A', ['a', 'b'], {a: {b: 2}}); //=> 2\n * R.pathOr('N/A', ['a', 'b'], {c: {b: 2}}); //=> \"N/A\"\n */\n\nvar pathOr =\n/*#__PURE__*/\n_curry3(function pathOr(d, p, obj) {\n return defaultTo(d, path(p, obj));\n});\n\nexport default pathOr;","import _curry3 from \"./internal/_curry3.js\";\nimport path from \"./path.js\";\n/**\n * Returns `true` if the specified object property at given path satisfies the\n * given predicate; `false` otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Logic\n * @typedefn Idx = String | Int | Symbol\n * @sig (a -> Boolean) -> [Idx] -> {a} -> Boolean\n * @param {Function} pred\n * @param {Array} propPath\n * @param {*} obj\n * @return {Boolean}\n * @see R.propSatisfies, R.path\n * @example\n *\n * R.pathSatisfies(y => y > 0, ['x', 'y'], {x: {y: 2}}); //=> true\n * R.pathSatisfies(R.is(Object), [], {x: {y: 2}}); //=> true\n */\n\nvar pathSatisfies =\n/*#__PURE__*/\n_curry3(function pathSatisfies(pred, propPath, obj) {\n return pred(path(propPath, obj));\n});\n\nexport default pathSatisfies;","import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns a partial copy of an object containing only the keys specified. If\n * the key does not exist, the property is ignored.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [k] -> {k: v} -> {k: v}\n * @param {Array} names an array of String property names to copy onto a new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with only properties from `names` on it.\n * @see R.omit, R.props\n * @example\n *\n * R.pick(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}\n * R.pick(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1}\n */\n\nvar pick =\n/*#__PURE__*/\n_curry2(function pick(names, obj) {\n var result = {};\n var idx = 0;\n\n while (idx < names.length) {\n if (names[idx] in obj) {\n result[names[idx]] = obj[names[idx]];\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nexport default pick;","export default function _pipe(f, g) {\n return function () {\n return g.call(this, f.apply(this, arguments));\n };\n}","import _arity from \"./internal/_arity.js\";\nimport _pipe from \"./internal/_pipe.js\";\nimport reduce from \"./reduce.js\";\nimport tail from \"./tail.js\";\n/**\n * Performs left-to-right function composition. The first argument may have\n * any arity; the remaining arguments must be unary.\n *\n * In some libraries this function is named `sequence`.\n *\n * **Note:** The result of pipe is not automatically curried.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (((a, b, ..., n) -> o), (o -> p), ..., (x -> y), (y -> z)) -> ((a, b, ..., n) -> z)\n * @param {...Function} functions\n * @return {Function}\n * @see R.compose\n * @example\n *\n * const f = R.pipe(Math.pow, R.negate, R.inc);\n *\n * f(3, 4); // -(3^4) + 1\n * @symb R.pipe(f, g, h)(a, b) = h(g(f(a, b)))\n * @symb R.pipe(f, g, h)(a)(b) = h(g(f(a)))(b)\n */\n\nexport default function pipe() {\n if (arguments.length === 0) {\n throw new Error('pipe requires at least one argument');\n }\n\n return _arity(arguments[0].length, reduce(_pipe, arguments[0], tail(arguments)));\n}","import _curry2 from \"./internal/_curry2.js\";\nimport map from \"./map.js\";\nimport prop from \"./prop.js\";\n/**\n * Returns a new list by plucking the same named property off all objects in\n * the list supplied.\n *\n * `pluck` will work on\n * any [functor](https://github.com/fantasyland/fantasy-land#functor) in\n * addition to arrays, as it is equivalent to `R.map(R.prop(k), f)`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Functor f => k -> f {k: v} -> f v\n * @param {Number|String} key The key name to pluck off of each object.\n * @param {Array} f The array or functor to consider.\n * @return {Array} The list of values for the given key.\n * @see R.project, R.prop, R.props\n * @example\n *\n * var getAges = R.pluck('age');\n * getAges([{name: 'fred', age: 29}, {name: 'wilma', age: 27}]); //=> [29, 27]\n *\n * R.pluck(0, [[1, 2], [3, 4]]); //=> [1, 3]\n * R.pluck('val', {a: {val: 3}, b: {val: 5}}); //=> {a: 3, b: 5}\n * @symb R.pluck('x', [{x: 1, y: 2}, {x: 3, y: 4}, {x: 5, y: 6}]) = [1, 3, 5]\n * @symb R.pluck(0, [[1, 2], [3, 4], [5, 6]]) = [1, 3, 5]\n */\n\nvar pluck =\n/*#__PURE__*/\n_curry2(function pluck(p, list) {\n return map(prop(p), list);\n});\n\nexport default pluck;","import _curry2 from \"./internal/_curry2.js\";\nimport _isInteger from \"./internal/_isInteger.js\";\nimport nth from \"./nth.js\";\n/**\n * Returns a function that when supplied an object returns the indicated\n * property of that object, if it exists.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @typedefn Idx = String | Int | Symbol\n * @sig Idx -> {s: a} -> a | Undefined\n * @param {String|Number} p The property name or array index\n * @param {Object} obj The object to query\n * @return {*} The value at `obj.p`.\n * @see R.path, R.props, R.pluck, R.project, R.nth\n * @example\n *\n * R.prop('x', {x: 100}); //=> 100\n * R.prop('x', {}); //=> undefined\n * R.prop(0, [100]); //=> 100\n * R.compose(R.inc, R.prop('x'))({ x: 3 }) //=> 4\n */\n\nvar prop =\n/*#__PURE__*/\n_curry2(function prop(p, obj) {\n if (obj == null) {\n return;\n }\n\n return _isInteger(p) ? nth(p, obj) : obj[p];\n});\n\nexport default prop;","import _curry3 from \"./internal/_curry3.js\";\nimport prop from \"./prop.js\";\nimport equals from \"./equals.js\";\n/**\n * Returns `true` if the specified object property is equal, in\n * [`R.equals`](#equals) terms, to the given value; `false` otherwise.\n * You can test multiple properties with [`R.whereEq`](#whereEq),\n * and test nested path property with [`R.pathEq`](#pathEq).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig a -> String -> Object -> Boolean\n * @param {*} val The value to compare the property with\n * @param {String} name the specified object property's key\n * @param {*} obj The object to check the property in\n * @return {Boolean} `true` if the value equals the specified object property,\n * `false` otherwise.\n * @see R.whereEq, R.pathEq, R.propSatisfies, R.equals\n * @example\n *\n * const abby = {name: 'Abby', age: 7, hair: 'blond'};\n * const fred = {name: 'Fred', age: 12, hair: 'brown'};\n * const rusty = {name: 'Rusty', age: 10, hair: 'brown'};\n * const alois = {name: 'Alois', age: 15, disposition: 'surly'};\n * const kids = [abby, fred, rusty, alois];\n * const hasBrownHair = R.propEq('brown', 'hair');\n * R.filter(hasBrownHair, kids); //=> [fred, rusty]\n */\n\nvar propEq =\n/*#__PURE__*/\n_curry3(function propEq(val, name, obj) {\n return equals(val, prop(name, obj));\n});\n\nexport default propEq;","import _curry3 from \"./internal/_curry3.js\";\nimport defaultTo from \"./defaultTo.js\";\nimport prop from \"./prop.js\";\n/**\n * Return the specified property of the given non-null object if the property\n * is present and it's value is not `null`, `undefined` or `NaN`.\n *\n * Otherwise the first argument is returned.\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Object\n * @sig a -> String -> Object -> a\n * @param {*} val The default value.\n * @param {String} p The name of the property to return.\n * @param {Object} obj The object to query.\n * @return {*} The value of given property of the supplied object or the default value.\n * @example\n *\n * const alice = {\n * name: 'ALICE',\n * age: 101\n * };\n * const favorite = R.prop('favoriteLibrary');\n * const favoriteWithDefault = R.propOr('Ramda', 'favoriteLibrary');\n *\n * favorite(alice); //=> undefined\n * favoriteWithDefault(alice); //=> 'Ramda'\n */\n\nvar propOr =\n/*#__PURE__*/\n_curry3(function propOr(val, p, obj) {\n return defaultTo(val, prop(p, obj));\n});\n\nexport default propOr;","import _curry3 from \"./internal/_curry3.js\";\nimport prop from \"./prop.js\";\n/**\n * Returns `true` if the specified object property satisfies the given\n * predicate; `false` otherwise. You can test multiple properties with\n * [`R.where`](#where).\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Logic\n * @sig (a -> Boolean) -> String -> {String: a} -> Boolean\n * @param {Function} pred\n * @param {String} name\n * @param {*} obj\n * @return {Boolean}\n * @see R.where, R.propEq, R.propIs\n * @example\n *\n * R.propSatisfies(x => x > 0, 'x', {x: 1, y: 2}); //=> true\n */\n\nvar propSatisfies =\n/*#__PURE__*/\n_curry3(function propSatisfies(pred, name, obj) {\n return pred(prop(name, obj));\n});\n\nexport default propSatisfies;","export default function _isNumber(x) {\n return Object.prototype.toString.call(x) === '[object Number]';\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _isNumber from \"./internal/_isNumber.js\";\n/**\n * Returns a list of numbers from `from` (inclusive) to `to` (exclusive).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> Number -> [Number]\n * @param {Number} from The first number in the list.\n * @param {Number} to One more than the last number in the list.\n * @return {Array} The list of numbers in the set `[a, b)`.\n * @example\n *\n * R.range(1, 5); //=> [1, 2, 3, 4]\n * R.range(50, 53); //=> [50, 51, 52]\n */\n\nvar range =\n/*#__PURE__*/\n_curry2(function range(from, to) {\n if (!(_isNumber(from) && _isNumber(to))) {\n throw new TypeError('Both arguments to range must be numbers');\n }\n\n var result = [];\n var n = from;\n\n while (n < to) {\n result.push(n);\n n += 1;\n }\n\n return result;\n});\n\nexport default range;","import _curry3 from \"./internal/_curry3.js\";\nimport _xReduce from \"./internal/_xReduce.js\";\nimport _xwrap from \"./internal/_xwrap.js\";\n/**\n * Returns a single item by iterating through the list, successively calling\n * the iterator function and passing it an accumulator value and the current\n * value from the array, and then passing the result to the next call.\n *\n * The iterator function receives two values: *(acc, value)*. It may use\n * [`R.reduced`](#reduced) to shortcut the iteration.\n *\n * The arguments' order of [`reduceRight`](#reduceRight)'s iterator function\n * is *(value, acc)*.\n *\n * Note: `R.reduce` does not skip deleted or unassigned indices (sparse\n * arrays), unlike the native `Array.prototype.reduce` method. For more details\n * on this behavior, see:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce#Description\n *\n * Be cautious of mutating and returning the accumulator. If you reuse it across\n * invocations, it will continue to accumulate onto the same value. The general\n * recommendation is to always return a new value. If you can't do so for\n * performance reasons, then be sure to reinitialize the accumulator on each\n * invocation.\n *\n * Dispatches to the `reduce` method of the third argument, if present. When\n * doing so, it is up to the user to handle the [`R.reduced`](#reduced)\n * shortcuting, as this is not implemented by `reduce`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, b) -> a) -> a -> [b] -> a\n * @param {Function} fn The iterator function. Receives two values, the accumulator and the\n * current element from the array.\n * @param {*} acc The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduced, R.addIndex, R.reduceRight\n * @example\n *\n * R.reduce(R.subtract, 0, [1, 2, 3, 4]) // => ((((0 - 1) - 2) - 3) - 4) = -10\n * // - -10\n * // / \\ / \\\n * // - 4 -6 4\n * // / \\ / \\\n * // - 3 ==> -3 3\n * // / \\ / \\\n * // - 2 -1 2\n * // / \\ / \\\n * // 0 1 0 1\n *\n * @symb R.reduce(f, a, [b, c, d]) = f(f(f(a, b), c), d)\n */\n\nvar reduce =\n/*#__PURE__*/\n_curry3(function (xf, acc, list) {\n return _xReduce(typeof xf === 'function' ? _xwrap(xf) : xf, acc, list);\n});\n\nexport default reduce;","import _curry3 from \"./internal/_curry3.js\";\n/**\n * Replace a substring or regex match in a string with a replacement.\n *\n * The first two parameters correspond to the parameters of the\n * `String.prototype.replace()` function, so the second parameter can also be a\n * function.\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category String\n * @sig RegExp|String -> String -> String -> String\n * @param {RegExp|String} pattern A regular expression or a substring to match.\n * @param {String} replacement The string to replace the matches with.\n * @param {String} str The String to do the search and replacement in.\n * @return {String} The result.\n * @example\n *\n * R.replace('foo', 'bar', 'foo foo foo'); //=> 'bar foo foo'\n * R.replace(/foo/, 'bar', 'foo foo foo'); //=> 'bar foo foo'\n *\n * // Use the \"g\" (global) flag to replace all occurrences:\n * R.replace(/foo/g, 'bar', 'foo foo foo'); //=> 'bar bar bar'\n */\n\nvar replace =\n/*#__PURE__*/\n_curry3(function replace(regex, replacement, str) {\n return str.replace(regex, replacement);\n});\n\nexport default replace;","import _curry1 from \"./internal/_curry1.js\";\nimport _isString from \"./internal/_isString.js\";\n/**\n * Returns a new list or string with the elements or characters in reverse\n * order.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {Array|String} list\n * @return {Array|String}\n * @example\n *\n * R.reverse([1, 2, 3]); //=> [3, 2, 1]\n * R.reverse([1, 2]); //=> [2, 1]\n * R.reverse([1]); //=> [1]\n * R.reverse([]); //=> []\n *\n * R.reverse('abc'); //=> 'cba'\n * R.reverse('ab'); //=> 'ba'\n * R.reverse('a'); //=> 'a'\n * R.reverse(''); //=> ''\n */\n\nvar reverse =\n/*#__PURE__*/\n_curry1(function reverse(list) {\n return _isString(list) ? list.split('').reverse().join('') : Array.prototype.slice.call(list, 0).reverse();\n});\n\nexport default reverse;","import _checkForMethod from \"./internal/_checkForMethod.js\";\nimport _curry3 from \"./internal/_curry3.js\";\n/**\n * Returns the elements of the given list or string (or object with a `slice`\n * method) from `fromIndex` (inclusive) to `toIndex` (exclusive).\n *\n * Dispatches to the `slice` method of the third argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.4\n * @category List\n * @sig Number -> Number -> [a] -> [a]\n * @sig Number -> Number -> String -> String\n * @param {Number} fromIndex The start index (inclusive).\n * @param {Number} toIndex The end index (exclusive).\n * @param {*} list\n * @return {*}\n * @example\n *\n * R.slice(1, 3, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(1, Infinity, ['a', 'b', 'c', 'd']); //=> ['b', 'c', 'd']\n * R.slice(0, -1, ['a', 'b', 'c', 'd']); //=> ['a', 'b', 'c']\n * R.slice(-3, -1, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(0, 3, 'ramda'); //=> 'ram'\n */\n\nvar slice =\n/*#__PURE__*/\n_curry3(\n/*#__PURE__*/\n_checkForMethod('slice', function slice(fromIndex, toIndex, list) {\n return Array.prototype.slice.call(list, fromIndex, toIndex);\n}));\n\nexport default slice;","import invoker from \"./invoker.js\";\n/**\n * Splits a string into an array of strings based on the given\n * separator.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category String\n * @sig (String | RegExp) -> String -> [String]\n * @param {String|RegExp} sep The pattern.\n * @param {String} str The string to separate into an array.\n * @return {Array} The array of strings from `str` separated by `sep`.\n * @see R.join\n * @example\n *\n * const pathComponents = R.split('/');\n * R.tail(pathComponents('/usr/local/bin/node')); //=> ['usr', 'local', 'bin', 'node']\n *\n * R.split('.', 'a.b.c.xyz.d'); //=> ['a', 'b', 'c', 'xyz', 'd']\n */\n\nvar split =\n/*#__PURE__*/\ninvoker(1, 'split');\nexport default split;","import _reduced from \"./_reduced.js\";\nimport _xfBase from \"./_xfBase.js\";\n\nvar XTake =\n/*#__PURE__*/\nfunction () {\n function XTake(n, xf) {\n this.xf = xf;\n this.n = n;\n this.i = 0;\n }\n\n XTake.prototype['@@transducer/init'] = _xfBase.init;\n XTake.prototype['@@transducer/result'] = _xfBase.result;\n\n XTake.prototype['@@transducer/step'] = function (result, input) {\n this.i += 1;\n var ret = this.n === 0 ? result : this.xf['@@transducer/step'](result, input);\n return this.n >= 0 && this.i >= this.n ? _reduced(ret) : ret;\n };\n\n return XTake;\n}();\n\nexport default function _xtake(n) {\n return function (xf) {\n return new XTake(n, xf);\n };\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _dispatchable from \"./internal/_dispatchable.js\";\nimport _xtake from \"./internal/_xtake.js\";\nimport slice from \"./slice.js\";\n/**\n * Returns the first `n` elements of the given list, string, or\n * transducer/transformer (or object with a `take` method).\n *\n * Dispatches to the `take` method of the second argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> [a] -> [a]\n * @sig Number -> String -> String\n * @param {Number} n\n * @param {*} list\n * @return {*}\n * @see R.drop\n * @example\n *\n * R.take(1, ['foo', 'bar', 'baz']); //=> ['foo']\n * R.take(2, ['foo', 'bar', 'baz']); //=> ['foo', 'bar']\n * R.take(3, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']\n * R.take(4, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']\n * R.take(3, 'ramda'); //=> 'ram'\n *\n * const personnel = [\n * 'Dave Brubeck',\n * 'Paul Desmond',\n * 'Eugene Wright',\n * 'Joe Morello',\n * 'Gerry Mulligan',\n * 'Bob Bates',\n * 'Joe Dodge',\n * 'Ron Crotty'\n * ];\n *\n * const takeFive = R.take(5);\n * takeFive(personnel);\n * //=> ['Dave Brubeck', 'Paul Desmond', 'Eugene Wright', 'Joe Morello', 'Gerry Mulligan']\n * @symb R.take(-1, [a, b]) = [a, b]\n * @symb R.take(0, [a, b]) = []\n * @symb R.take(1, [a, b]) = [a]\n * @symb R.take(2, [a, b]) = [a, b]\n */\n\nvar take =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['take'], _xtake, function take(n, xs) {\n return slice(0, n < 0 ? Infinity : n, xs);\n}));\n\nexport default take;","import _curry2 from \"./internal/_curry2.js\";\nimport equals from \"./equals.js\";\nimport take from \"./take.js\";\n/**\n * Checks if a list starts with the provided sublist.\n *\n * Similarly, checks if a string starts with the provided substring.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category List\n * @sig [a] -> [a] -> Boolean\n * @sig String -> String -> Boolean\n * @param {*} prefix\n * @param {*} list\n * @return {Boolean}\n * @see R.endsWith\n * @example\n *\n * R.startsWith('a', 'abc') //=> true\n * R.startsWith('b', 'abc') //=> false\n * R.startsWith(['a'], ['a', 'b', 'c']) //=> true\n * R.startsWith(['b'], ['a', 'b', 'c']) //=> false\n */\n\nvar startsWith =\n/*#__PURE__*/\n_curry2(function (prefix, list) {\n return equals(take(prefix.length, list), prefix);\n});\n\nexport default startsWith;","import _checkForMethod from \"./internal/_checkForMethod.js\";\nimport _curry1 from \"./internal/_curry1.js\";\nimport slice from \"./slice.js\";\n/**\n * Returns all but the first element of the given list or string (or object\n * with a `tail` method).\n *\n * Dispatches to the `slice` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.head, R.init, R.last\n * @example\n *\n * R.tail([1, 2, 3]); //=> [2, 3]\n * R.tail([1, 2]); //=> [2]\n * R.tail([1]); //=> []\n * R.tail([]); //=> []\n *\n * R.tail('abc'); //=> 'bc'\n * R.tail('ab'); //=> 'b'\n * R.tail('a'); //=> ''\n * R.tail(''); //=> ''\n */\n\nvar tail =\n/*#__PURE__*/\n_curry1(\n/*#__PURE__*/\n_checkForMethod('tail',\n/*#__PURE__*/\nslice(1, Infinity)));\n\nexport default tail;","import _cloneRegExp from \"./internal/_cloneRegExp.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _isRegExp from \"./internal/_isRegExp.js\";\nimport toString from \"./toString.js\";\n/**\n * Determines whether a given string matches a given regular expression.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category String\n * @sig RegExp -> String -> Boolean\n * @param {RegExp} pattern\n * @param {String} str\n * @return {Boolean}\n * @see R.match\n * @example\n *\n * R.test(/^x/, 'xyz'); //=> true\n * R.test(/^y/, 'xyz'); //=> false\n */\n\nvar test =\n/*#__PURE__*/\n_curry2(function test(pattern, str) {\n if (!_isRegExp(pattern)) {\n throw new TypeError('‘test’ requires a value of type RegExp as its first argument; received ' + toString(pattern));\n }\n\n return _cloneRegExp(pattern).test(str);\n});\n\nexport default test;","export default function _isRegExp(x) {\n return Object.prototype.toString.call(x) === '[object RegExp]';\n}","export default function _quote(s) {\n var escaped = s.replace(/\\\\/g, '\\\\\\\\').replace(/[\\b]/g, '\\\\b') // \\b matches word boundary; [\\b] matches backspace\n .replace(/\\f/g, '\\\\f').replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r').replace(/\\t/g, '\\\\t').replace(/\\v/g, '\\\\v').replace(/\\0/g, '\\\\0');\n return '\"' + escaped.replace(/\"/g, '\\\\\"') + '\"';\n}","/**\n * Polyfill from .\n */\nvar pad = function pad(n) {\n return (n < 10 ? '0' : '') + n;\n};\n\nvar _toISOString = typeof Date.prototype.toISOString === 'function' ? function _toISOString(d) {\n return d.toISOString();\n} : function _toISOString(d) {\n return d.getUTCFullYear() + '-' + pad(d.getUTCMonth() + 1) + '-' + pad(d.getUTCDate()) + 'T' + pad(d.getUTCHours()) + ':' + pad(d.getUTCMinutes()) + ':' + pad(d.getUTCSeconds()) + '.' + (d.getUTCMilliseconds() / 1000).toFixed(3).slice(2, 5) + 'Z';\n};\n\nexport default _toISOString;","import _complement from \"./internal/_complement.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport filter from \"./filter.js\";\n/**\n * The complement of [`filter`](#filter).\n *\n * Acts as a transducer if a transformer is given in list position. Filterable\n * objects include plain objects or any object that has a filter method such\n * as `Array`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Filterable f => (a -> Boolean) -> f a -> f a\n * @param {Function} pred\n * @param {Array} filterable\n * @return {Array}\n * @see R.filter, R.transduce, R.addIndex\n * @example\n *\n * const isOdd = (n) => n % 2 !== 0;\n *\n * R.reject(isOdd, [1, 2, 3, 4]); //=> [2, 4]\n *\n * R.reject(isOdd, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}\n */\n\nvar reject =\n/*#__PURE__*/\n_curry2(function reject(pred, filterable) {\n return filter(_complement(pred), filterable);\n});\n\nexport default reject;","import _includes from \"./_includes.js\";\nimport _map from \"./_map.js\";\nimport _quote from \"./_quote.js\";\nimport _toISOString from \"./_toISOString.js\";\nimport keys from \"../keys.js\";\nimport reject from \"../reject.js\";\nexport default function _toString(x, seen) {\n var recur = function recur(y) {\n var xs = seen.concat([x]);\n return _includes(y, xs) ? '' : _toString(y, xs);\n }; // mapPairs :: (Object, [String]) -> [String]\n\n\n var mapPairs = function (obj, keys) {\n return _map(function (k) {\n return _quote(k) + ': ' + recur(obj[k]);\n }, keys.slice().sort());\n };\n\n switch (Object.prototype.toString.call(x)) {\n case '[object Arguments]':\n return '(function() { return arguments; }(' + _map(recur, x).join(', ') + '))';\n\n case '[object Array]':\n return '[' + _map(recur, x).concat(mapPairs(x, reject(function (k) {\n return /^\\d+$/.test(k);\n }, keys(x)))).join(', ') + ']';\n\n case '[object Boolean]':\n return typeof x === 'object' ? 'new Boolean(' + recur(x.valueOf()) + ')' : x.toString();\n\n case '[object Date]':\n return 'new Date(' + (isNaN(x.valueOf()) ? recur(NaN) : _quote(_toISOString(x))) + ')';\n\n case '[object Map]':\n return 'new Map(' + recur(Array.from(x)) + ')';\n\n case '[object Null]':\n return 'null';\n\n case '[object Number]':\n return typeof x === 'object' ? 'new Number(' + recur(x.valueOf()) + ')' : 1 / x === -Infinity ? '-0' : x.toString(10);\n\n case '[object Set]':\n return 'new Set(' + recur(Array.from(x).sort()) + ')';\n\n case '[object String]':\n return typeof x === 'object' ? 'new String(' + recur(x.valueOf()) + ')' : _quote(x);\n\n case '[object Undefined]':\n return 'undefined';\n\n default:\n if (typeof x.toString === 'function') {\n var repr = x.toString();\n\n if (repr !== '[object Object]') {\n return repr;\n }\n }\n\n return '{' + mapPairs(x, keys(x)).join(', ') + '}';\n }\n}","import _curry1 from \"./internal/_curry1.js\";\nimport _toString from \"./internal/_toString.js\";\n/**\n * Returns the string representation of the given value. `eval`'ing the output\n * should result in a value equivalent to the input value. Many of the built-in\n * `toString` methods do not satisfy this requirement.\n *\n * If the given value is an `[object Object]` with a `toString` method other\n * than `Object.prototype.toString`, this method is invoked with no arguments\n * to produce the return value. This means user-defined constructor functions\n * can provide a suitable `toString` method. For example:\n *\n * function Point(x, y) {\n * this.x = x;\n * this.y = y;\n * }\n *\n * Point.prototype.toString = function() {\n * return 'new Point(' + this.x + ', ' + this.y + ')';\n * };\n *\n * R.toString(new Point(1, 2)); //=> 'new Point(1, 2)'\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category String\n * @sig * -> String\n * @param {*} val\n * @return {String}\n * @example\n *\n * R.toString(42); //=> '42'\n * R.toString('abc'); //=> '\"abc\"'\n * R.toString([1, 2, 3]); //=> '[1, 2, 3]'\n * R.toString({foo: 1, bar: 2, baz: 3}); //=> '{\"bar\": 2, \"baz\": 3, \"foo\": 1}'\n * R.toString(new Date('2001-02-03T04:05:06Z')); //=> 'new Date(\"2001-02-03T04:05:06.000Z\")'\n */\n\nvar toString =\n/*#__PURE__*/\n_curry1(function toString(val) {\n return _toString(val, []);\n});\n\nexport default toString;","import _xReduce from \"./internal/_xReduce.js\";\nimport _xwrap from \"./internal/_xwrap.js\";\nimport curryN from \"./curryN.js\";\n/**\n * Initializes a transducer using supplied iterator function. Returns a single\n * item by iterating through the list, successively calling the transformed\n * iterator function and passing it an accumulator value and the current value\n * from the array, and then passing the result to the next call.\n *\n * The iterator function receives two values: *(acc, value)*. It will be\n * wrapped as a transformer to initialize the transducer. A transformer can be\n * passed directly in place of an iterator function. In both cases, iteration\n * may be stopped early with the [`R.reduced`](#reduced) function.\n *\n * A transducer is a function that accepts a transformer and returns a\n * transformer and can be composed directly.\n *\n * A transformer is an object that provides a 2-arity reducing iterator\n * function, step, 0-arity initial value function, init, and 1-arity result\n * extraction function, result. The step function is used as the iterator\n * function in reduce. The result function is used to convert the final\n * accumulator into the return type and in most cases is\n * [`R.identity`](#identity). The init function can be used to provide an\n * initial accumulator, but is ignored by transduce.\n *\n * The iteration is performed with [`R.reduce`](#reduce) after initializing the transducer.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category List\n * @sig (c -> c) -> ((a, b) -> a) -> a -> [b] -> a\n * @param {Function} xf The transducer function. Receives a transformer and returns a transformer.\n * @param {Function} fn The iterator function. Receives two values, the accumulator and the\n * current element from the array. Wrapped as transformer, if necessary, and used to\n * initialize the transducer\n * @param {*} acc The initial accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduce, R.reduced, R.into\n * @example\n *\n * const numbers = [1, 2, 3, 4];\n * const transducer = R.compose(R.map(R.add(1)), R.take(2));\n * R.transduce(transducer, R.flip(R.append), [], numbers); //=> [2, 3]\n *\n * const isOdd = (x) => x % 2 !== 0;\n * const firstOddTransducer = R.compose(R.filter(isOdd), R.take(1));\n * R.transduce(firstOddTransducer, R.flip(R.append), [], R.range(0, 100)); //=> [1]\n */\n\nvar transduce =\n/*#__PURE__*/\ncurryN(4, function transduce(xf, fn, acc, list) {\n return _xReduce(xf(typeof fn === 'function' ? _xwrap(fn) : fn), acc, list);\n});\nexport default transduce;","import _curry1 from \"./internal/_curry1.js\";\nvar ws = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u2000\\u2001\\u2002\\u2003' + '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028' + '\\u2029\\uFEFF';\nvar zeroWidth = '\\u200b';\nvar hasProtoTrim = typeof String.prototype.trim === 'function';\n/**\n * Removes (strips) whitespace from both ends of the string.\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category String\n * @sig String -> String\n * @param {String} str The string to trim.\n * @return {String} Trimmed version of `str`.\n * @example\n *\n * R.trim(' xyz '); //=> 'xyz'\n * R.map(R.trim, R.split(',', 'x, y, z')); //=> ['x', 'y', 'z']\n */\n\nvar trim = !hasProtoTrim ||\n/*#__PURE__*/\nws.trim() || !\n/*#__PURE__*/\nzeroWidth.trim() ?\n/*#__PURE__*/\n_curry1(function trim(str) {\n var beginRx = new RegExp('^[' + ws + '][' + ws + ']*');\n var endRx = new RegExp('[' + ws + '][' + ws + ']*$');\n return str.replace(beginRx, '').replace(endRx, '');\n}) :\n/*#__PURE__*/\n_curry1(function trim(str) {\n return str.trim();\n});\nexport default trim;","import _curry1 from \"./internal/_curry1.js\";\n/**\n * Gives a single-word string description of the (native) type of a value,\n * returning such answers as 'Object', 'Number', 'Array', or 'Null'. Does not\n * attempt to distinguish user Object types any further, reporting them all as\n * 'Object'.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Type\n * @sig * -> String\n * @param {*} val The value to test\n * @return {String}\n * @example\n *\n * R.type({}); //=> \"Object\"\n * R.type(1); //=> \"Number\"\n * R.type(false); //=> \"Boolean\"\n * R.type('s'); //=> \"String\"\n * R.type(null); //=> \"Null\"\n * R.type([]); //=> \"Array\"\n * R.type(/[A-z]/); //=> \"RegExp\"\n * R.type(() => {}); //=> \"Function\"\n * R.type(async () => {}); //=> \"AsyncFunction\"\n * R.type(undefined); //=> \"Undefined\"\n */\n\nvar type =\n/*#__PURE__*/\n_curry1(function type(val) {\n return val === null ? 'Null' : val === undefined ? 'Undefined' : Object.prototype.toString.call(val).slice(8, -1);\n});\n\nexport default type;","import _curry1 from \"./internal/_curry1.js\";\nimport keys from \"./keys.js\";\n/**\n * Returns a list of all the enumerable own properties of the supplied object.\n * Note that the order of the output array is not guaranteed across different\n * JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> [v]\n * @param {Object} obj The object to extract values from\n * @return {Array} An array of the values of the object's own properties.\n * @see R.valuesIn, R.keys, R.toPairs\n * @example\n *\n * R.values({a: 1, b: 2, c: 3}); //=> [1, 2, 3]\n */\n\nvar values =\n/*#__PURE__*/\n_curry1(function values(obj) {\n var props = keys(obj);\n var len = props.length;\n var vals = [];\n var idx = 0;\n\n while (idx < len) {\n vals[idx] = obj[props[idx]];\n idx += 1;\n }\n\n return vals;\n});\n\nexport default values;","import _curry3 from \"./internal/_curry3.js\";\n/**\n * Tests the final argument by passing it to the given predicate function. If\n * the predicate is satisfied, the function will return the result of calling\n * the `whenTrueFn` function with the same argument. If the predicate is not\n * satisfied, the argument is returned as is.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Logic\n * @sig (a -> Boolean) -> (a -> b) -> a -> a | b\n * @param {Function} pred A predicate function\n * @param {Function} whenTrueFn A function to invoke when the `condition`\n * evaluates to a truthy value.\n * @param {*} x An object to test with the `pred` function and\n * pass to `whenTrueFn` if necessary.\n * @return {*} Either `x` or the result of applying `x` to `whenTrueFn`.\n * @see R.ifElse, R.unless, R.cond\n * @example\n *\n * // truncate :: String -> String\n * const truncate = R.when(\n * R.propSatisfies(R.gt(R.__, 10), 'length'),\n * R.pipe(R.take(10), R.append('…'), R.join(''))\n * );\n * truncate('12345'); //=> '12345'\n * truncate('0123456789ABC'); //=> '0123456789…'\n */\n\nvar when =\n/*#__PURE__*/\n_curry3(function when(pred, whenTrueFn, x) {\n return pred(x) ? whenTrueFn(x) : x;\n});\n\nexport default when;"],"names":["DataView","require","getNative","module","exports","hashClear","hashDelete","hashGet","hashHas","hashSet","Hash","entries","index","length","this","clear","entry","set","prototype","get","has","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","ListCache","Map","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","MapCache","Promise","Set","setCacheAdd","setCacheHas","SetCache","values","__data__","add","push","stackClear","stackDelete","stackGet","stackHas","stackSet","Stack","data","size","Symbol","Uint8Array","WeakMap","array","predicate","resIndex","result","value","baseTimes","isArguments","isArray","isBuffer","isIndex","isTypedArray","hasOwnProperty","Object","inherited","isArr","isArg","isBuff","isType","skipIndexes","String","key","call","offset","eq","arrayPush","object","keysFunc","symbolsFunc","getRawTag","objectToString","symToStringTag","toStringTag","undefined","baseGetTag","isObjectLike","baseIsEqualDeep","baseIsEqual","other","bitmask","customizer","stack","equalArrays","equalByTag","equalObjects","getTag","argsTag","arrayTag","objectTag","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","isFunction","isMasked","isObject","toSource","reIsHostCtor","funcProto","Function","objectProto","funcToString","toString","reIsNative","RegExp","replace","test","isLength","typedArrayTags","isPrototype","nativeKeys","n","iteratee","Array","func","cache","coreJsData","arraySome","cacheHas","isPartial","arrLength","othLength","arrStacked","othStacked","seen","arrValue","othValue","compared","othIndex","mapToArray","setToArray","symbolProto","symbolValueOf","valueOf","tag","byteLength","byteOffset","buffer","name","message","convert","stacked","getAllKeys","objProps","objLength","objStacked","skipCtor","objValue","objCtor","constructor","othCtor","freeGlobal","global","baseGetAllKeys","getSymbols","keys","isKeyable","map","baseIsNative","getValue","nativeObjectToString","isOwn","unmasked","e","arrayFilter","stubArray","propertyIsEnumerable","nativeGetSymbols","getOwnPropertySymbols","symbol","mapTag","promiseTag","setTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","ArrayBuffer","resolve","Ctor","ctorString","nativeCreate","reIsUint","type","maskSrcKey","uid","exec","IE_PROTO","assocIndexOf","splice","pop","getMapData","forEach","overArg","freeExports","nodeType","freeModule","freeProcess","process","nodeUtil","types","binding","transform","arg","freeSelf","self","root","pairs","LARGE_ARRAY_SIZE","baseIsArguments","arguments","stubFalse","Buffer","baseIsTypedArray","baseUnary","nodeIsTypedArray","arrayLikeKeys","baseKeys","isArrayLike","TypeError","args","apply","negate","coerceElementMatchingCallback","element","extend","ArraySlice","elements","toValue","callback","thisArg","flatMap","reduce","a","b","concat","compactMap","results","bind","filter","reject","find","initialValue","includes","some","equals","shift","unshift","refract","isEmpty","first","iterator","KeyValuePair","clone","isNull","isString","isNumber","isBoolean","JSONSerialiser","Namespace","options","elementMap","elementDetection","Element","noDefault","useDefault","_attributeElementKeys","_attributeElementArrayKeys","use","plugin","namespace","base","load","register","NullElement","StringElement","NumberElement","BooleanElement","ArrayElement","ObjectElement","MemberElement","RefElement","LinkElement","detect","ElementClass","_elements","unregister","givenPrepend","toElement","i","getElementClass","fromRefract","doc","serialiser","deserialise","toRefract","serialise","pascal","toUpperCase","substr","ObjectSlice","member","content","meta","attributes","super","relation","href","path","newValue","primitive","indexOrKey","item","getIndex","remove","removed","startIndex","memo","findElements","condition","givenOptions","recursive","keyOrIndex","findByElement","findByClass","className","classes","getById","id","contains","empty","second","last","isEqual","freeze","isFrozen","_meta","parent","_attributes","children","copy","toRef","Error","ref","findRecursive","_len","elementNames","_key","elementName","append","checkElement","items","parentElements","parents","namesIndex","indexOf","getMetaProperty","hasKey","setMetaProperty","_storedElement","_content","title","description","links","recursiveChildren","child","el","getMember","getKey","keyOrObject","objectKey","variable","payload","serialiseObject","isEnum","enumSerialiseAttributes","enumSerialiseContent","serialiseContent","shouldSerialiseContent","refSerialiseContent","sourceMapSerialiseContent","dataStructureSerialiseContent","enumerations","defaultValue","samples","sample","enumeration","Number","Boolean","Null","deserialiseObject","deserialiseContent","existingSamples","existingSample","enumElement","defaultElement","metadata","pair","shouldRefract","convertKeyToRefract","serialiseEnum","subItem","subSubItem","obj","keyValue","from","to","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","setTimeout","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","len","run","marker","runClearTimeout","Item","noop","nextTick","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","cwd","chdir","dir","umask","curryN","all","flip","_curry1","pred","sort","_curry2","comparator","list","slice","_reduced","complement","isNil","both","isNotEmpty","_toConsumableArray","arr","_arrayLikeToArray","_arrayWithoutHoles","iter","_iterableToArray","o","minLen","_unsupportedIterableToArray","_nonIterableSpread","arr2","byArity","getMaxArity","pipe","head","prop","iteratorFn","curry","accumulator","fn","isNotNil","reduced","ifElse","isNonEmptyArray","functions","arity","stubUndefined","when","isNotArray","of","_includes","_typeof","val","mpath","method","context","init","isNotFunction","isEmptyArray","boundMethod","identical","isFinite","isFinitePonyfill","ponyfill","preds","max","pluck","idx","anyPass","isGeneratorFunction","isAsyncFunction","after","fns","_map","_identity","x","converge","Math","floor","identity","isIntegerPonyfill","isInteger","f","g","_isFunction","lift","or","isNotNull","either","isOfTypeObject","isObj","allPass","isNotObj","isUndefined","isObjectConstructor","hasObjectConstructor","pathSatisfies","isObjLike","proto","getPrototypeOf","always","_isFinite","gt","count","validCount","isNegative","RangeError","isNotFinite","maxCount","log","substring","repeatStrPonyfill","repeatStrInvoker","invoker","repeat","checkValue","valueName","searchValue","replaceValue","str","checkArguments","checkSearchValue","regexp","isRegExp","escapeRegExp","replaceAllPonyfill","replaceAllInvoker","replaceAll","dropLastWhile","xs","XDropLastWhile","xf","retained","_xfBase","input","retain","flush","_xReduce","_xdropLastWhile","_dispatchable","_dropLastWhile","chars","split","included","join","XDropWhile","_xdropWhile","Infinity","dropWhile","trimEndPonyfill","trimEndInvoker","trimEnd","trimStartPonyfill","trimStartInvoker","trimStart","src_exports","__export","DEFAULT_OPTIONS","DEFAULT_UUID_LENGTH","default","ShortUniqueId","dictionary","shuffle","debug","counter","_ShortUniqueId","_this","argOptions","__publicField","digits","_digit_first_ascii","_digit_last_ascii","lowerCase","_alpha_lower_first_ascii","_alpha_lower_last_ascii","upperCase","_alpha_upper_first_ascii","_alpha_upper_last_ascii","decDigits","alphaDigits","_hex_last_ascii","_number_dict_ranges","_alpha_dict_ranges","_alpha_lower_dict_ranges","_alpha_upper_dict_ranges","_alphanum_dict_ranges","_alphanum_lower_dict_ranges","_alphanum_upper_dict_ranges","_hex_dict_ranges","finalArgs","console","finalDict","dictIndex","rangesName","ranges","_dict_ranges","rangeType","rangeTypeKey","dictRange","lowerBound","upperBound","fromCharCode","PROBABILITY","random","dict","dictLength","setCounter","sequentialUUID","counterDiv","counterRem","trunc","uuidLength","randomUUID","randomPartIdx","j","parseInt","toFixed","format","date","formattedUUID","fnMap","stamp","m","padStart","parseFloat","pow","rounds","availableUUIDs","sqrt","PI","approxMaxBeforeCollision","score","finalLength","hexStamp","Date","idLength","rndIdx","round","suid","len2","_m","p1","p2","__spreadValues","setDictionary","seq","rnd","fmt","collisionProbability","uniqueness","getVersion","parseStamp","u","c","s","y","l","d","O","h","P","A","v","_","w","D","S","r","getOwnPropertyNames","t","defineProperty","getOwnPropertyDescriptor","C","N","z","__proto__","E","p","I","R","defineProperties","instance","V","props","statics","conf","composables","create","stampit","copyProps","dest","src","exclude","getOwnPropertyDescriptors","protoChain","currentChain","hardMixProtos","ingredients","_a","objs","commonProto","protoChains","every","protos","potentialCommonProto","nearestCommonProto","mixedProto","visitedProtos","newProto","unique","getIngredientWithProp","ingredient","protoDepth","protosAreLeftToSearch","searchTarget","proxyMix","Proxy","setPrototypeOf","ingredientWithProp","deleteProperty","ownKeys","prev","curr","softMixProtos","settings","initFunction","staticsStrategy","prototypeStrategy","decoratorInheritance","mixins","getMixinsForClass","clazz","registerMixins","mixedClass","constituents","mergeObjectsOfDecorators","o1","o2","_b","allKeys","mergedObject","mergePropertyAndMethodDecorators","d1","d2","_c","_d","property","mergeDecorators","_e","_f","class","static","decorators","deepDecoratorSearch","decoratorsForClassChain","allClasses","_len2","_key2","frontier","newClasses","newClass","delete","findAllConstituentClasses","directDecoratorSearch","_len3","_key3","classDecorators","getDecoratorsForClass","decoratorsForClass","Mixin","_len5","constructors","_key5","prototypes","initFunctionName","initFunctions","combinedInitFunction","_len6","_key6","extraProto","MixedClass","_len7","_key7","DecoratedMixedClass","decorator","applyPropAndMethodDecorators","propAndMethodDecorators","target","propDecorators","methodDecorators","Module","TreeSitter","window","currentScript","document","Parser","initialize","assign","importScripts","node","__dirname","normalize","readFileSync","k","exit","inspect","read","readbuffer","scriptArgs","quit","print","warn","error","printErr","location","lastIndexOf","XMLHttpRequest","open","send","responseText","responseType","response","onload","status","onerror","thisProgram","M","K","grow","WebAssembly","parameters","Instance","dynamicLibraries","wasmBinary","noExitRuntime","charAt","L","W","ue","ae","abs","min","ceil","Z","oe","q","T","F","TextDecoder","$","subarray","decode","U","charCodeAt","G","ze","H","HEAP8","Int8Array","HEAP16","Int16Array","HEAP32","Int32Array","HEAPU8","HEAPU16","Uint16Array","HEAPU32","Uint32Array","HEAPF32","Float32Array","HEAPF64","Float64Array","B","INITIAL_MEMORY","wasmMemory","Memory","initial","maximum","Table","X","Q","J","Y","ee","te","re","ne","monitorRunDependencies","se","clearInterval","onAbort","RuntimeError","preloadedImages","preloadedAudios","preloadedWasm","le","startsWith","de","ce","locateFile","me","fe","Global","mutable","pe","he","customSections","memorySize","memoryAlign","tableSize","tableAlign","neededDynlibs","ge","we","ye","Me","Fe","be","nextHandle","loadedLibs","loadedLibNames","Ee","Ie","Ae","Se","Ue","ve","De","Ge","xe","$e","__heap_base","wasi_snapshot_preview1","allowUndefined","Pe","__wasm_call_ctors","__post_instantiate","loadAsync","instantiate","then","Ne","refcount","asm","__main__","nodelete","fs","readFile","encoding","fetch","credentials","ok","arrayBuffer","sig","___heap_base","ke","Ce","qe","_abort","hrtime","dateNow","performance","now","Te","je","Le","We","Ve","Oe","Ze","__indirect_function_table","__memory_base","__stack_pointer","__table_base","abort","clock_gettime","emscripten_memcpy_big","copyWithin","emscripten_resize_heap","memory","setTempRet0","tree_sitter_log_callback","ct","tree_sitter_parse_callback","dt","row","column","catch","instantiateWasm","instantiateStreaming","___wasm_call_ctors","_malloc","malloc","_calloc","calloc","_realloc","realloc","_free","free","_ts_language_symbol_count","ts_language_symbol_count","_ts_language_version","ts_language_version","_ts_language_field_count","ts_language_field_count","_ts_language_symbol_name","ts_language_symbol_name","_ts_language_symbol_for_name","ts_language_symbol_for_name","_ts_language_symbol_type","ts_language_symbol_type","_ts_language_field_name_for_id","ts_language_field_name_for_id","_memcpy","memcpy","_ts_parser_delete","ts_parser_delete","_ts_parser_reset","ts_parser_reset","_ts_parser_set_language","ts_parser_set_language","_ts_parser_timeout_micros","ts_parser_timeout_micros","_ts_parser_set_timeout_micros","ts_parser_set_timeout_micros","_memmove","memmove","_memcmp","memcmp","_ts_query_new","ts_query_new","_ts_query_delete","ts_query_delete","_iswspace","iswspace","_iswalnum","iswalnum","_ts_query_pattern_count","ts_query_pattern_count","_ts_query_capture_count","ts_query_capture_count","_ts_query_string_count","ts_query_string_count","_ts_query_capture_name_for_id","ts_query_capture_name_for_id","_ts_query_string_value_for_id","ts_query_string_value_for_id","_ts_query_predicates_for_pattern","ts_query_predicates_for_pattern","_ts_tree_copy","ts_tree_copy","_ts_tree_delete","ts_tree_delete","_ts_init","ts_init","_ts_parser_new_wasm","ts_parser_new_wasm","_ts_parser_enable_logger_wasm","ts_parser_enable_logger_wasm","_ts_parser_parse_wasm","ts_parser_parse_wasm","_ts_language_type_is_named_wasm","ts_language_type_is_named_wasm","_ts_language_type_is_visible_wasm","ts_language_type_is_visible_wasm","_ts_tree_root_node_wasm","ts_tree_root_node_wasm","_ts_tree_edit_wasm","ts_tree_edit_wasm","_ts_tree_get_changed_ranges_wasm","ts_tree_get_changed_ranges_wasm","_ts_tree_cursor_new_wasm","ts_tree_cursor_new_wasm","_ts_tree_cursor_delete_wasm","ts_tree_cursor_delete_wasm","_ts_tree_cursor_reset_wasm","ts_tree_cursor_reset_wasm","_ts_tree_cursor_goto_first_child_wasm","ts_tree_cursor_goto_first_child_wasm","_ts_tree_cursor_goto_next_sibling_wasm","ts_tree_cursor_goto_next_sibling_wasm","_ts_tree_cursor_goto_parent_wasm","ts_tree_cursor_goto_parent_wasm","_ts_tree_cursor_current_node_type_id_wasm","ts_tree_cursor_current_node_type_id_wasm","_ts_tree_cursor_current_node_is_named_wasm","ts_tree_cursor_current_node_is_named_wasm","_ts_tree_cursor_current_node_is_missing_wasm","ts_tree_cursor_current_node_is_missing_wasm","_ts_tree_cursor_current_node_id_wasm","ts_tree_cursor_current_node_id_wasm","_ts_tree_cursor_start_position_wasm","ts_tree_cursor_start_position_wasm","_ts_tree_cursor_end_position_wasm","ts_tree_cursor_end_position_wasm","_ts_tree_cursor_start_index_wasm","ts_tree_cursor_start_index_wasm","_ts_tree_cursor_end_index_wasm","ts_tree_cursor_end_index_wasm","_ts_tree_cursor_current_field_id_wasm","ts_tree_cursor_current_field_id_wasm","_ts_tree_cursor_current_node_wasm","ts_tree_cursor_current_node_wasm","_ts_node_symbol_wasm","ts_node_symbol_wasm","_ts_node_child_count_wasm","ts_node_child_count_wasm","_ts_node_named_child_count_wasm","ts_node_named_child_count_wasm","_ts_node_child_wasm","ts_node_child_wasm","_ts_node_named_child_wasm","ts_node_named_child_wasm","_ts_node_child_by_field_id_wasm","ts_node_child_by_field_id_wasm","_ts_node_next_sibling_wasm","ts_node_next_sibling_wasm","_ts_node_prev_sibling_wasm","ts_node_prev_sibling_wasm","_ts_node_next_named_sibling_wasm","ts_node_next_named_sibling_wasm","_ts_node_prev_named_sibling_wasm","ts_node_prev_named_sibling_wasm","_ts_node_parent_wasm","ts_node_parent_wasm","_ts_node_descendant_for_index_wasm","ts_node_descendant_for_index_wasm","_ts_node_named_descendant_for_index_wasm","ts_node_named_descendant_for_index_wasm","_ts_node_descendant_for_position_wasm","ts_node_descendant_for_position_wasm","_ts_node_named_descendant_for_position_wasm","ts_node_named_descendant_for_position_wasm","_ts_node_start_point_wasm","ts_node_start_point_wasm","_ts_node_end_point_wasm","ts_node_end_point_wasm","_ts_node_start_index_wasm","ts_node_start_index_wasm","_ts_node_end_index_wasm","ts_node_end_index_wasm","_ts_node_to_string_wasm","ts_node_to_string_wasm","_ts_node_children_wasm","ts_node_children_wasm","_ts_node_named_children_wasm","ts_node_named_children_wasm","_ts_node_descendants_of_type_wasm","ts_node_descendants_of_type_wasm","_ts_node_is_named_wasm","ts_node_is_named_wasm","_ts_node_has_changes_wasm","ts_node_has_changes_wasm","_ts_node_has_error_wasm","ts_node_has_error_wasm","_ts_node_is_missing_wasm","ts_node_is_missing_wasm","_ts_query_matches_wasm","ts_query_matches_wasm","_ts_query_captures_wasm","ts_query_captures_wasm","_iswdigit","iswdigit","_iswalpha","iswalpha","_iswlower","iswlower","_towupper","towupper","___errno_location","__errno_location","_memchr","memchr","_strlen","strlen","stackSave","stackRestore","stackAlloc","_setThrew","setThrew","He","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm","__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm","_ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm","__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc","_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc","__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev","_ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev","__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw","_ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw","__Znwm","_Znwm","__ZdlPv","_ZdlPv","__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv","_ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv","_orig$ts_parser_timeout_micros","orig$ts_parser_timeout_micros","_orig$ts_parser_set_timeout_micros","orig$ts_parser_set_timeout_micros","allocate","Ke","Be","calledRun","onRuntimeInitialized","Xe","_main","postRun","preRun","setStatus","onExit","preInit","noInitialRun","Qe","Je","Ye","et","tt","rt","nt","st","at","ut","it","lt","ParserImpl","setLanguage","Language","language","getLanguage","parse","logCallback","includedRanges","Et","Tree","reset","setTimeoutMicros","getTimeoutMicros","setLogger","getLogger","pt","textCallback","edit","bt","startPosition","oldEndPosition","newEndPosition","oldEndIndex","newEndIndex","rootNode","wt","walk","getChangedRanges","It","Node","tree","typeId","endPosition","vt","endIndex","text","mt","isNamed","hasError","hasChanges","isMissing","namedChild","childForFieldId","childForFieldName","fields","childCount","namedChildCount","firstChild","firstNamedChild","lastChild","lastNamedChild","_children","namedChildren","_namedChildren","descendantsOfType","nextSibling","previousSibling","nextNamedSibling","previousNamedSibling","descendantForIndex","namedDescendantForIndex","descendantForPosition","ht","namedDescendantForPosition","TreeCursor","Mt","yt","nodeTypeId","nodeId","nodeIsNamed","nodeIsMissing","nodeText","currentNode","currentFieldId","currentFieldName","gotoFirstChild","gotoNextSibling","gotoParent","fieldCount","fieldIdForName","fieldNameForId","idForNodeType","nodeTypeCount","nodeTypeForId","nodeTypeIsNamed","nodeTypeIsVisible","query","match","SyntaxError","operator","operands","Query","loadSideModule","JSON","stringify","captureNames","textPredicates","predicates","setProperties","assertedProperties","refutedProperties","exceededMatchLimit","matches","matchLimit","ft","pattern","captures","predicatesForPattern","didExceedMatchLimit","enumerable","writable","ErrorType","errorMessages","MalformedUnicode","MalformedHexadecimal","CodePointLimit","OctalDeprecation","EndOfString","errors_1","validateAndParseHex","hex","errorName","enforcedLength","parsedHex","NaN","parseHexToInt","isNaN","parseUnicodeCode","code","surrogateCode","parsedCode","parsedSurrogateCode","singleCharacterEscapes","escapeMatch","unraw","raw","allowOctals","backslash","codePoint","unicodeWithSurrogate","surrogate","unicode","octal","singleCharacter","parseHexadecimalCode","fromCodePoint","err","parseUnicodeCodePointCode","parseOctalCode","AggregateError","isCallable","tryToString","$TypeError","argument","isPossiblePrototype","$String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","fromIndex","uncurryThis","stringSlice","TO_STRING_TAG_SUPPORT","classofRaw","TO_STRING_TAG","wellKnownSymbol","$Object","CORRECT_ARGUMENTS","tryGet","callee","hasOwn","getOwnPropertyDescriptorModule","definePropertyModule","source","exceptions","fails","done","DESCRIPTORS","createPropertyDescriptor","bitmap","configurable","createNonEnumerableProperty","EXISTS","createElement","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","navigator","userAgent","Deno","v8","$Error","TEST","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","dropEntries","prepareStackTrace","clearErrorStack","ERROR_STACK_INSTALLABLE","captureStackTrace","isForced","wrapConstructor","NativeConstructor","Wrapper","FORCED","USE_NATIVE","VIRTUAL_PROTOTYPE","sourceProperty","targetProperty","nativeProperty","resultProperty","descriptor","TARGET","GLOBAL","STATIC","stat","PROTO","nativeSource","targetPrototype","forced","dontCallGetSet","wrap","sham","real","NATIVE_BIND","FunctionPrototype","Reflect","aCallable","that","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","aFunction","classof","getMethod","isNullOrUndefined","Iterators","ITERATOR","anObject","getIteratorMethod","usingIterator","iteratorMethod","check","globalThis","toObject","getBuiltIn","dummy","NewTarget","NewTargetPrototype","cause","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","state","store","facade","STATE","enforce","getterFor","TYPE","ArrayPrototype","documentAll","replacement","feature","detection","POLYFILL","NATIVE","string","toLowerCase","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","isArrayIteratorMethod","getIterator","iteratorClose","Result","stopped","ResultPrototype","iterable","unboundFunction","iterFn","next","step","AS_ENTRIES","IS_RECORD","IS_ITERATOR","INTERRUPTED","stop","callFn","kind","innerResult","innerError","IteratorPrototype","setToStringTag","returnThis","IteratorConstructor","NAME","ENUMERABLE_NEXT","IS_PURE","FunctionName","createIteratorConstructor","defineBuiltIn","IteratorsCore","PROPER_FUNCTION_NAME","CONFIGURABLE_FUNCTION_NAME","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","ENTRIES","Iterable","DEFAULT","IS_SET","CurrentIteratorPrototype","methods","KEY","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","PrototypeOfArrayIteratorPrototype","arrayIterator","toLength","$default","activeXDocument","definePropertiesModule","enumBugKeys","html","documentCreateElement","PROTOTYPE","SCRIPT","EmptyConstructor","scriptTag","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","domain","iframeDocument","iframe","JS","style","display","appendChild","contentWindow","NullProtoObjectViaIFrame","Properties","V8_PROTOTYPE_DEFINE_BUG","objectKeys","IE8_DOM_DEFINE","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","internalObjectKeys","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","names","$propertyIsEnumerable","NASHORN_BUG","uncurryThisAccessor","aPossiblePrototype","setter","CORRECT_SETTER","pref","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","Target","Source","TAG","SET_METHOD","defineGlobalProperty","SHARED","mode","copyright","license","toIntegerOrInfinity","requireObjectCoercible","CONVERT_TO_STRING","pos","position","codeAt","V8_VERSION","integer","IndexedObject","number","isSymbol","ordinaryToPrimitive","TO_PRIMITIVE","exoticToPrim","toPrimitive","postfix","NATIVE_SYMBOL","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","copyConstructorProperties","proxyAccessor","inheritIfRequired","normalizeStringArgument","installErrorCause","installErrorStack","FULL_NAME","wrapper","IS_AGGREGATE_ERROR","STACK_TRACE_LIMIT","OPTIONS_POSITION","ERROR_NAME","OriginalError","OriginalErrorPrototype","BaseError","WrappedError","wrapErrorConstructorWithCause","AGGREGATE_ERROR","$AggregateError","errors","iterate","isInstance","AggregateErrorPrototype","errorsArray","addToUnscopables","InternalStateModule","defineIterator","createIterResultObject","ARRAY_ITERATOR","setInternalState","getInternalState","iterated","Arguments","WEB_ASSEMBLY","exportGlobalErrorCauseWrapper","exportWebAssemblyErrorCauseWrapper","STRING_ITERATOR","point","DOMIterables","COLLECTION_NAME","_defineProperty","kindOf","thing","kindOfTest","typeOfTest","isArrayBuffer","isPlainObject","isDate","isFile","isBlob","isFileList","isURLSearchParams","allOwnKeys","findKey","_global","isContextDefined","TypedArray","isHTMLForm","_ref","reduceDescriptors","reducer","descriptors","reducedDescriptors","ret","ALPHA","DIGIT","ALPHABET","ALPHA_DIGIT","isAsyncFn","isFormData","FormData","isArrayBufferView","isView","isStream","merge","caseless","assignValue","targetKey","trim","stripBOM","inherits","superConstructor","toFlatObject","sourceObj","destObj","propFilter","merged","endsWith","searchString","lastIndex","toArray","forEachEntry","matchAll","regExp","hasOwnProp","freezeMethods","toObjectSet","arrayOrString","delimiter","define","toCamelCase","toFiniteNumber","generateString","alphabet","isSpecCompliantForm","toJSONObject","visit","reducedValue","isThenable","AxiosError","config","request","utils","toJSON","fileName","lineNumber","columnNumber","customProps","axiosError","isVisitable","removeBrackets","renderKey","dots","token","formData","metaTokens","indexes","option","visitor","defaultVisitor","useBlob","Blob","convertValue","toISOString","isFlatArray","exposedHelpers","build","encode","charMap","encodeURIComponent","AxiosURLSearchParams","params","_pairs","toFormData","encoder","_encode","buildURL","url","serializeFn","serialize","serializedParams","hashmarkIndex","handlers","fulfilled","rejected","synchronous","runWhen","eject","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","isBrowser","URLSearchParams","protocols","hasBrowserEnv","hasStandardBrowserEnv","product","hasStandardBrowserWebWorkerEnv","WorkerGlobalScope","platform","buildPath","isNumericKey","isLast","arrayToObject","parsePropPath","defaults","transitional","transitionalDefaults","adapter","transformRequest","headers","contentType","getContentType","hasJSONContentType","isObjectPayload","formDataToJSON","setContentType","helpers","isNode","toURLEncodedForm","formSerializer","_FormData","rawValue","parser","stringifySafely","transformResponse","JSONRequested","strictJSONParsing","ERR_BAD_RESPONSE","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","common","ignoreDuplicateOf","$internals","normalizeHeader","header","normalizeValue","matchHeaderValue","isHeaderNameFilter","AxiosHeaders","valueOrRewrite","rewrite","setHeader","_value","_header","_rewrite","lHeader","setHeaders","rawHeaders","parsed","line","parseHeaders","tokens","tokensRE","parseTokens","matcher","deleted","deleteHeader","normalized","char","formatHeader","targets","asStrings","computed","accessor","accessors","defineAccessor","accessorName","methodName","arg1","arg2","arg3","buildAccessors","_ref2","mapped","headerValue","transformData","isCancel","__CANCEL__","CanceledError","ERR_CANCELED","expires","secure","cookie","toGMTString","decodeURIComponent","buildFullPath","baseURL","requestedURL","relativeURL","combineURLs","msie","urlParsingNode","originURL","resolveURL","setAttribute","protocol","host","search","hash","hostname","port","pathname","requestURL","samplesCount","bytes","timestamps","firstSampleTS","tail","chunkLength","startedAt","bytesCount","passed","progressEventReducer","listener","isDownloadStream","bytesNotified","_speedometer","speedometer","loaded","total","lengthComputable","progressBytes","rate","progress","estimated","event","knownAdapters","http","xhr","requestData","requestHeaders","onCanceled","withXSRFToken","cancelToken","unsubscribe","signal","removeEventListener","auth","username","password","unescape","btoa","fullPath","onloadend","responseHeaders","getAllResponseHeaders","ERR_BAD_REQUEST","settle","statusText","paramsSerializer","onreadystatechange","readyState","responseURL","onabort","ECONNABORTED","ERR_NETWORK","ontimeout","timeoutErrorMessage","ETIMEDOUT","isURLSameOrigin","xsrfValue","cookies","setRequestHeader","withCredentials","onDownloadProgress","addEventListener","onUploadProgress","upload","cancel","subscribe","aborted","parseProtocol","renderReason","reason","isResolvedHandle","adapters","nameOrAdapter","rejectedReasons","reasons","throwIfCancellationRequested","throwIfRequested","dispatchRequest","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","timeoutMessage","decompress","beforeRedirect","transport","httpAgent","httpsAgent","socketPath","responseEncoding","configValue","VERSION","validators","deprecatedWarnings","validator","formatMessage","opt","desc","opts","ERR_DEPRECATED","assertOptions","schema","allowUnknown","ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","Axios","instanceConfig","interceptors","InterceptorManager","configOrUrl","_request","boolean","function","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","responseInterceptorChain","promise","chain","newConfig","onFulfilled","onRejected","getUri","generateHTTPMethod","isForm","CancelToken","executor","resolvePromise","_listeners","onfulfilled","_resolve","HttpStatusCode","Continue","SwitchingProtocols","Processing","EarlyHints","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","axios","createInstance","defaultConfig","Cancel","promises","spread","isAxiosError","formToJSON","getAdapter","proxyMarker","createEndpoint","releaseProxy","finalizer","throwMarker","transferHandlers","canHandle","port1","port2","MessageChannel","expose","deserialize","start","createProxy","serialized","isError","ep","allowedOrigins","ev","origin","allowedOrigin","isAllowedOrigin","argumentList","fromWireValue","returnValue","proxy","transfers","transferCache","transfer","wireValue","transferables","toWireValue","postMessage","closeEndPoint","endpoint","isMessagePort","throwIfProxyReleased","isReleased","releaseEndpoint","requestResponseMessage","proxyCounter","proxyFinalizers","FinalizationRegistry","newCount","isProxyReleased","_target","unregisterProxy","_thisArg","rawArgumentList","processArguments","construct","registerProxy","processed","handler","serializedValue","msg","fill","MAX_SAFE_INTEGER","XAll","_xall","_curry3","assocPath","nextObj","_has","_isInteger","_isArray","_assoc","thisObj","_arity","and","_clone","deep","_ObjectMap","param","_isPrimitive","copiedValue","cachedCopy","_cloneRegExp","hashedKey","bucket","not","compose","reverse","_isString","_curryN","received","combined","argsIdx","left","combinedIdx","hasPlaceholder","_isPlaceholder","hasOrAdd","shouldAdd","prevSize","_items","_nativeSet","bIdx","_Set","out","firstLen","secondLen","toFilterOut","dissocPath","_dissoc","_shallowCloneObject","assoc","_arrayFromIterator","_includesWith","_uniqContentEquals","aIterator","bIterator","stackA","stackB","_equals","aItem","_objectIs","typeA","_functionName","ignoreCase","multiline","sticky","keysA","extendedStackA","extendedStackB","XFilter","_xfilter","filterable","_isObject","_arrayReduce","acc","_filter","hasPath","_path","nth","unaryIdentical","onTrue","onFalse","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","_checkForMethod","methodname","flags","dotAll","_complement","symIterator","_createReduce","arrayReduce","methodReduce","iterableReduce","_isArrayLike","f1","f2","f3","methodNames","transducerCreator","_isTransformer","transducer","inf","_indexOf","functor","is","_xArrayReduce","_xIterableReduce","_xMethodReduce","XWrap","_xwrap","_isArguments","_isTypedArray","hasEnumBug","nonEnumerableProps","hasArgsEnumBug","nIdx","ks","checkArgsLength","getter","toFunctorFn","focus","_iterableReduce","_methodReduce","applyF","applyX","ap","_reduce","set1","set2","len1","_concat","lifted","liftN","XMap","_xmap","safeMax","maxByValue","maxByType","stringA","maxByStringValue","mergeDeepWithKey","lObj","rObj","mergeWithKey","lVal","rVal","output","nextKey","_objectAssign","Identity","lens","pathsArray","paths","pathAr","defaultTo","propPath","_pipe","_isNumber","regex","toIndex","XTake","_xtake","prefix","take","_quote","pad","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","_toString","recur","mapPairs","_toISOString","repr","ws","beginRx","endRx","vals","whenTrueFn"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/938.6fccb2f7.chunk.js b/static/js/938.ef90f786.chunk.js similarity index 99% rename from static/js/938.6fccb2f7.chunk.js rename to static/js/938.ef90f786.chunk.js index 784cfd99df..6c3e3010e1 100644 --- a/static/js/938.6fccb2f7.chunk.js +++ b/static/js/938.ef90f786.chunk.js @@ -1,2 +1,2 @@ -(()=>{var e={18443:(e,t,s)=>{"use strict";var n={};s.r(n),s.d(n,{hasElementSourceMap:()=>Me,includesClasses:()=>Re,includesSymbols:()=>qe,isAnnotationElement:()=>Ae,isArrayElement:()=>Ee,isBooleanElement:()=>be,isCommentElement:()=>Pe,isElement:()=>ge,isLinkElement:()=>Se,isMemberElement:()=>we,isNullElement:()=>ye,isNumberElement:()=>ve,isObjectElement:()=>xe,isParseResultElement:()=>$e,isPrimitiveElement:()=>Be,isRefElement:()=>je,isSourceMapElement:()=>Oe,isStringElement:()=>fe});var i={};s.r(i),s.d(i,{detect:()=>Ds,detectionRegExp:()=>Is,lexicalAnalysis:()=>vt,mediaTypes:()=>_s,namespace:()=>Cs,parse:()=>Ns,syntacticAnalysis:()=>Ft,syntacticAnalysisDirect:()=>Ft,syntacticAnalysisIndirect:()=>Fs});var r={};s.r(r),s.d(r,{detect:()=>Ni,lexicalAnalysis:()=>Hs,mediaTypes:()=>Di,namespace:()=>_i,parse:()=>Vi,syntacticAnalysis:()=>Ii});var o={};s.r(o),s.d(o,{isJSONReferenceElement:()=>Oo,isJSONSchemaElement:()=>$o,isLinkDescriptionElement:()=>Mo,isMediaElement:()=>Bo});var c={};s.r(c),s.d(c,{isReferenceLikeElement:()=>bc,isSwaggerExtension:()=>yc});var a={};s.r(a),s.d(a,{isContactElement:()=>sa,isDefinitionsElement:()=>xa,isExampleElement:()=>ua,isExternalDocumentationElement:()=>oa,isHeaderElement:()=>da,isHeadersElement:()=>pa,isInfoElement:()=>ea,isItemsElement:()=>aa,isLicenseElement:()=>ta,isOperationElement:()=>ra,isParameterElement:()=>ca,isParametersDefinitionsElement:()=>Ea,isPathItemElement:()=>ia,isPathsElement:()=>na,isReferenceElement:()=>ga,isResponseElement:()=>ha,isResponsesDefinitionsElement:()=>ya,isResponsesElement:()=>la,isSchemaElement:()=>fa,isScopesElement:()=>Sa,isSecurityDefinitionsElement:()=>ba,isSecurityRequirementElement:()=>ja,isSecuritySchemeElement:()=>wa,isSwaggerElement:()=>Qc,isSwaggerVersionElement:()=>Zc,isTagElement:()=>ma,isXmlElement:()=>va});var l={};s.r(l),s.d(l,{detect:()=>yh,detectionRegExp:()=>vh,mediaTypes:()=>fh,namespace:()=>xh,parse:()=>bh});var h={};s.r(h),s.d(h,{detect:()=>Sh,detectionRegExp:()=>wh,mediaTypes:()=>Eh,namespace:()=>Ah,parse:()=>jh});var p={};s.r(p),s.d(p,{isBooleanJsonSchemaElement:()=>Hu,isCallbackElement:()=>Au,isComponentsElement:()=>Pu,isContactElement:()=>$u,isExampleElement:()=>Ou,isExternalDocumentationElement:()=>Bu,isHeaderElement:()=>Mu,isInfoElement:()=>qu,isLicenseElement:()=>Ru,isLinkElement:()=>Tu,isMediaTypeElement:()=>zu,isOpenApi3_0Element:()=>Fu,isOpenapiElement:()=>ku,isOperationElement:()=>Cu,isParameterElement:()=>Iu,isPathItemElement:()=>_u,isPathsElement:()=>Du,isReferenceElement:()=>Nu,isRequestBodyElement:()=>Vu,isResponseElement:()=>Lu,isResponsesElement:()=>Ju,isSchemaElement:()=>Uu,isSecurityRequirementElement:()=>Gu,isSecuritySchemeElement:()=>Ku,isServerElement:()=>Wu,isServerVariableElement:()=>Xu,isServersElement:()=>Yu});var u={};s.r(u),s.d(u,{detect:()=>Df,detectionRegExp:()=>_f,mediaTypes:()=>If,namespace:()=>Vf,parse:()=>Nf});var d={};s.r(d),s.d(d,{detect:()=>Uf,detectionRegExp:()=>Jf,mediaTypes:()=>Lf,namespace:()=>Gf,parse:()=>Hf});var m={};s.r(m),s.d(m,{isBooleanJsonSchemaElement:()=>By,isCallbackElement:()=>oy,isComponentsElement:()=>cy,isContactElement:()=>ay,isExampleElement:()=>ly,isExternalDocumentationElement:()=>hy,isHeaderElement:()=>py,isInfoElement:()=>uy,isJsonSchemaDialectElement:()=>dy,isLicenseElement:()=>my,isLinkElement:()=>gy,isMediaTypeElement:()=>ky,isOpenApi3_1Element:()=>vy,isOpenapiElement:()=>fy,isOperationElement:()=>yy,isParameterElement:()=>by,isPathItemElement:()=>xy,isPathItemElementExternal:()=>Ey,isPathsElement:()=>wy,isReferenceElement:()=>Sy,isReferenceElementExternal:()=>jy,isRequestBodyElement:()=>Ay,isResponseElement:()=>Py,isResponsesElement:()=>$y,isSchemaElement:()=>Oy,isSecurityRequirementElement:()=>My,isSecuritySchemeElement:()=>qy,isServerElement:()=>Ry,isServerVariableElement:()=>Ty});var g={};s.r(g),s.d(g,{detect:()=>nx,detectionRegExp:()=>sx,mediaTypes:()=>tx,namespace:()=>rx,parse:()=>ix});var f={};s.r(f),s.d(f,{detect:()=>ax,detectionRegExp:()=>cx,mediaTypes:()=>ox,namespace:()=>hx,parse:()=>lx});var v={};s.r(v),s.d(v,{isJSONReferenceElement:()=>Oo,isJSONSchemaElement:()=>Ax,isLinkDescriptionElement:()=>Px,isMediaElement:()=>Bo});var y={};s.r(y),s.d(y,{isJSONReferenceElement:()=>Oo,isJSONSchemaElement:()=>dw,isLinkDescriptionElement:()=>mw});var b={};s.r(b),s.d(b,{isAsyncApi2Element:()=>Ow,isAsyncApiVersionElement:()=>Bw,isBooleanJsonSchemaElement:()=>Jw,isChannelBindingsElement:()=>Mw,isChannelItemElement:()=>qw,isChannelsElement:()=>Rw,isComponentsElement:()=>Tw,isContactElement:()=>kw,isIdentifierElement:()=>Fw,isInfoElement:()=>Cw,isLicenseElement:()=>Iw,isOperationElement:()=>_w,isParameterElement:()=>Dw,isParametersElement:()=>Nw,isReferenceElement:()=>Vw,isSchemaElement:()=>Lw,isSecurityRequirementElement:()=>Uw,isServerBindingsElement:()=>Gw,isServerElement:()=>Hw,isServerVariableElement:()=>Ww,isServersElement:()=>Kw});var x={};s.r(x),s.d(x,{detect:()=>IR,detectionRegExp:()=>CR,mediaTypes:()=>FR,namespace:()=>DR,parse:()=>_R});var E={};s.r(E),s.d(E,{detect:()=>LR,detectionRegExp:()=>VR,mediaTypes:()=>NR,namespace:()=>UR,parse:()=>JR});var w={};s.r(w),s.d(w,{isReferenceLikeElement:()=>xT,isWorkflowsSpecificationExtension:()=>bT});var S={};s.r(S),s.d(S,{isComponentsElement:()=>Rk,isCriterionElement:()=>Tk,isFailureActionCriteriaElement:()=>Ik,isFailureActionElement:()=>Ck,isInfoElement:()=>fk,isJSONSchemaElement:()=>_k,isParameterElement:()=>Mk,isReferenceElement:()=>kk,isSourceDescriptionElement:()=>vk,isSourceDescriptionsElement:()=>yk,isStepDependsOnElement:()=>Ok,isStepElement:()=>Pk,isStepOnFailureElement:()=>jk,isStepOnSuccessElement:()=>Sk,isStepOutputsElement:()=>Ak,isStepParametersElement:()=>$k,isStepSuccessCriteriaElement:()=>Bk,isSuccessActionCriteriaElement:()=>Fk,isSuccessActionElement:()=>qk,isWorkflowElement:()=>wk,isWorkflowOutputsElement:()=>Ek,isWorkflowStepsElement:()=>xk,isWorkflowsElement:()=>bk,isWorkflowsSpecElement:()=>mk,isWorkflowsSpecification1Element:()=>gk});var j={};s.r(j),s.d(j,{detect:()=>DF,detectionRegExp:()=>_F,mediaTypes:()=>IF,namespace:()=>VF,parse:()=>NF});var A={};s.r(A),s.d(A,{detect:()=>UF,detectionRegExp:()=>JF,mediaTypes:()=>LF,namespace:()=>GF,parse:()=>HF});var P={};s.r(P),s.d(P,{isInfoElement:()=>M_,isMainElement:()=>B_,isPrincipleElement:()=>q_,isRequirementElement:()=>R_,isRequirementLevelElement:()=>T_,isScenarioElement:()=>k_,isStandardElement:()=>F_,isStandardIdentifierElement:()=>C_});var $=s(65959),O=s(85618),B=s(28182);class M extends O.Om{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const q=M;class R extends O.Om{constructor(e,t,s){super(e,t,s),this.element="comment"}}const T=R;var k=s(39146);class F extends O.wE{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if((0,k.A)(t))return!1;const s=this.content.findIndex((e=>e===t));return-1!==s&&(this.content[s]=e,!0)}}const C=F;class I extends O.wE{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if("undefined"===typeof e)return;const t=new O.wE([e.start.row,e.start.column,e.start.char]),s=new O.wE([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),s.classes.push("position"),this.push(t).push(s)}}const _=I;class D extends O.g${constructor(){super(),this.register("annotation",q),this.register("comment",T),this.register("parseResult",C),this.register("sourceMap",_)}}const N=new D,V=e=>{const t=new D;return(0,B.A)(e)&&t.use(e),t},L=N,J=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:L).toRefract(e)};var U=s(52315),H=s(76985);const G=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L;if((0,H.A)(e))try{return t.fromRefract(JSON.parse(e))}catch{}return(0,B.A)(e)&&(0,U.A)("element",e)?t.fromRefract(e):t.toElement(e)};var K=s(98158),W=s(41870),X=s(58009),z=s(21212);const Y=class extends z{constructor(e,t,s){if(super(e,t,s),this.name=this.constructor.name,"string"===typeof t&&(this.message=t),"function"===typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=s&&"object"===typeof s&&Object.hasOwn(s,"cause")&&!("cause"in this)){const{cause:e}=s;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack="".concat(this.stack,"\nCAUSE: ").concat(e.stack))}}};class Q extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Y,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"===typeof e&&(this.message=e),"function"===typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"===typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack="".concat(this.stack,"\nCAUSE: ").concat(e.stack))}}}const Z=Q;const ee=class extends Z{constructor(e,t){if(super(e,t),null!=t&&"object"===typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}},te=(e,t,s)=>{const n=e[t];if(null!=n){if(!s&&"function"===typeof n)return n;const e=s?n.leave:n.enter;if("function"===typeof e)return e}else{const n=s?e.leave:e.enter;if(null!=n){if("function"===typeof n)return n;const e=n[t];if("function"===typeof e)return e}}return null},se={},ne=e=>null===e||void 0===e?void 0:e.type,ie=e=>"string"===typeof ne(e),re=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),oe=function(e,t){let{keyMap:s=null,state:n={},breakSymbol:i=se,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=te,nodeTypeGetter:a=ne,nodePredicate:l=ie,nodeCloneFn:h=re,detectCycles:p=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=s||{};let d,m,g=Array.isArray(e),f=[e],v=-1,y=[],b=e;const x=[],E=[];do{v+=1;const e=v===f.length;let s;const S=e&&0!==y.length;if(e){if(s=0===E.length?void 0:x.pop(),b=m,m=E.pop(),S)if(g){b=b.slice();let e=0;for(const[t,s]of y){const n=t-e;s===r?(b.splice(n,1),e+=1):b[n]=s}}else{b=h(b);for(const[e,t]of y)b[e]=t}v=d.index,f=d.keys,y=d.edits,g=d.inArray,d=d.prev}else if(m!==r&&void 0!==m){if(s=g?v:f[v],b=m[s],b===r||void 0===b)continue;x.push(s)}let j;if(!Array.isArray(b)){if(!l(b))throw new ee("Invalid AST Node: ".concat(String(b)),{node:b});if(p&&E.includes(b)){x.pop();continue}const r=c(t,a(b),e);if(r){for(const[e,s]of Object.entries(n))t[e]=s;j=r.call(t,b,s,m,x,E)}if(j===i)break;if(j===o){if(!e){x.pop();continue}}else if(void 0!==j&&(y.push([s,j]),!e)){if(!l(j)){x.pop();continue}b=j}}var w;if(void 0===j&&S&&y.push([s,b]),!e)d={inArray:g,index:v,keys:f,edits:y,prev:d},g=Array.isArray(b),f=g?b:null!==(w=u[a(b)])&&void 0!==w?w:[],v=-1,y=[],m!==r&&void 0!==m&&E.push(m),m=b}while(void 0!==d);return 0!==y.length?y[y.length-1][1]:e};oe[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let{keyMap:s=null,state:n={},breakSymbol:i=se,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=te,nodeTypeGetter:a=ne,nodePredicate:l=ie,nodeCloneFn:h=re,detectCycles:p=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=s||{};let d,m,g=Array.isArray(e),f=[e],v=-1,y=[],b=e;const x=[],E=[];do{v+=1;const e=v===f.length;let s;const S=e&&0!==y.length;if(e){if(s=0===E.length?void 0:x.pop(),b=m,m=E.pop(),S)if(g){b=b.slice();let e=0;for(const[t,s]of y){const n=t-e;s===r?(b.splice(n,1),e+=1):b[n]=s}}else{b=h(b);for(const[e,t]of y)b[e]=t}v=d.index,f=d.keys,y=d.edits,g=d.inArray,d=d.prev}else if(m!==r&&void 0!==m){if(s=g?v:f[v],b=m[s],b===r||void 0===b)continue;x.push(s)}let j;if(!Array.isArray(b)){if(!l(b))throw new ee("Invalid AST Node: ".concat(String(b)),{node:b});if(p&&E.includes(b)){x.pop();continue}const r=c(t,a(b),e);if(r){for(const[e,s]of Object.entries(n))t[e]=s;j=await r.call(t,b,s,m,x,E)}if(j===i)break;if(j===o){if(!e){x.pop();continue}}else if(void 0!==j&&(y.push([s,j]),!e)){if(!l(j)){x.pop();continue}b=j}}var w;if(void 0===j&&S&&y.push([s,b]),!e)d={inArray:g,index:v,keys:f,edits:y,prev:d},g=Array.isArray(b),f=g?b:null!==(w=u[a(b)])&&void 0!==w?w:[],v=-1,y=[],m!==r&&void 0!==m&&E.push(m),m=b}while(void 0!==d);return 0!==y.length?y[y.length-1][1]:e};var ce=s(25384),ae=s(8208);const le=(e,t)=>"object"===typeof t&&null!==t&&e in t&&"function"===typeof t[e],he=e=>"object"===typeof e&&null!=e&&"_storedElement"in e&&"string"===typeof e._storedElement&&"_content"in e,pe=(e,t)=>"object"===typeof t&&null!==t&&"primitive"in t&&("function"===typeof t.primitive&&t.primitive()===e),ue=(e,t)=>"object"===typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof O.wE)&&t.classes.includes(e),de=(e,t)=>"object"===typeof t&&null!==t&&"element"in t&&t.element===e,me=e=>e({hasMethod:le,hasBasicElementProps:he,primitiveEq:pe,isElementType:de,hasClass:ue}),ge=me((e=>{let{hasBasicElementProps:t,primitiveEq:s}=e;return e=>e instanceof O.Hg||t(e)&&s(void 0,e)})),fe=me((e=>{let{hasBasicElementProps:t,primitiveEq:s}=e;return e=>e instanceof O.Om||t(e)&&s("string",e)})),ve=me((e=>{let{hasBasicElementProps:t,primitiveEq:s}=e;return e=>e instanceof O.kT||t(e)&&s("number",e)})),ye=me((e=>{let{hasBasicElementProps:t,primitiveEq:s}=e;return e=>e instanceof O.Os||t(e)&&s("null",e)})),be=me((e=>{let{hasBasicElementProps:t,primitiveEq:s}=e;return e=>e instanceof O.bd||t(e)&&s("boolean",e)})),xe=me((e=>{let{hasBasicElementProps:t,primitiveEq:s,hasMethod:n}=e;return e=>e instanceof O.Sh||t(e)&&s("object",e)&&n("keys",e)&&n("values",e)&&n("items",e)})),Ee=me((e=>{let{hasBasicElementProps:t,primitiveEq:s,hasMethod:n}=e;return e=>e instanceof O.wE&&!(e instanceof O.Sh)||t(e)&&s("array",e)&&n("push",e)&&n("unshift",e)&&n("map",e)&&n("reduce",e)})),we=me((e=>{let{hasBasicElementProps:t,isElementType:s,primitiveEq:n}=e;return e=>e instanceof O.Pr||t(e)&&s("member",e)&&n(void 0,e)})),Se=me((e=>{let{hasBasicElementProps:t,isElementType:s,primitiveEq:n}=e;return e=>e instanceof O.Ft||t(e)&&s("link",e)&&n(void 0,e)})),je=me((e=>{let{hasBasicElementProps:t,isElementType:s,primitiveEq:n}=e;return e=>e instanceof O.sI||t(e)&&s("ref",e)&&n(void 0,e)})),Ae=me((e=>{let{hasBasicElementProps:t,isElementType:s,primitiveEq:n}=e;return e=>e instanceof q||t(e)&&s("annotation",e)&&n("array",e)})),Pe=me((e=>{let{hasBasicElementProps:t,isElementType:s,primitiveEq:n}=e;return e=>e instanceof T||t(e)&&s("comment",e)&&n("string",e)})),$e=me((e=>{let{hasBasicElementProps:t,isElementType:s,primitiveEq:n}=e;return e=>e instanceof C||t(e)&&s("parseResult",e)&&n("array",e)})),Oe=me((e=>{let{hasBasicElementProps:t,isElementType:s,primitiveEq:n}=e;return e=>e instanceof _||t(e)&&s("sourceMap",e)&&n("array",e)})),Be=e=>de("object",e)||de("array",e)||de("boolean",e)||de("number",e)||de("string",e)||de("null",e)||de("member",e),Me=e=>Oe(e.meta.get("sourceMap")),qe=(e,t)=>{if(0===e.length)return!0;const s=t.attributes.get("symbols");return!!Ee(s)&&(0,ce.A)((0,ae.A)(s.toValue()),e)},Re=(e,t)=>0===e.length||(0,ce.A)((0,ae.A)(t.classes.toValue()),e);const Te=class extends ee{constructor(e,t){super(e,t),(0,K.A)(this,"value",void 0),"undefined"!==typeof t&&(this.value=t.value)}};const ke=class extends Te{};const Fe=class extends Te{},Ce=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);if(e instanceof O.KeyValuePair){const{key:t,value:i}=e,r=ge(t)?Ce(t,n):t,o=ge(i)?Ce(i,n):i,c=new O.KeyValuePair(r,o);return s.set(e,c),c}if(e instanceof O.ot){const t=e=>Ce(e,n),i=[...e].map(t),r=new O.ot(i);return s.set(e,r),r}if(e instanceof O.G6){const t=e=>Ce(e,n),i=[...e].map(t),r=new O.G6(i);return s.set(e,r),r}if(ge(e)){const t=De(e);if(s.set(e,t),e.content)if(ge(e.content))t.content=Ce(e.content,n);else if(e.content instanceof O.KeyValuePair)t.content=Ce(e.content,n);else if(Array.isArray(e.content)){const s=e=>Ce(e,n);t.content=e.content.map(s)}else t.content=e.content;else t.content=e.content;return t}throw new ke("Value provided to cloneDeep function couldn't be cloned",{value:e})};Ce.safe=e=>{try{return Ce(e)}catch{return e}};const Ie=e=>{const{key:t,value:s}=e;return new O.KeyValuePair(t,s)},_e=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=Ce(e.meta)),e.attributes.length>0&&(t._attributes=Ce(e.attributes)),ge(e.content)){const s=e.content;t.content=_e(s)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof O.KeyValuePair?t.content=Ie(e.content):t.content=e.content;return t},De=e=>{if(e instanceof O.KeyValuePair)return Ie(e);if(e instanceof O.ot)return(e=>{const t=[...e];return new O.ot(t)})(e);if(e instanceof O.G6)return(e=>{const t=[...e];return new O.G6(t)})(e);if(ge(e))return _e(e);throw new Fe("Value provided to cloneShallow function couldn't be cloned",{value:e})};De.safe=e=>{try{return De(e)}catch{return e}};const Ne=e=>xe(e)?"ObjectElement":Ee(e)?"ArrayElement":we(e)?"MemberElement":fe(e)?"StringElement":be(e)?"BooleanElement":ve(e)?"NumberElement":ye(e)?"NullElement":Se(e)?"LinkElement":je(e)?"RefElement":void 0,Ve=e=>ge(e)?De(e):re(e),Le=(0,W.A)(Ne,H.A),Je={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};class Ue{constructor(){let{predicate:e=X.A,returnOnTrue:t,returnOnFalse:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,K.A)(this,"result",void 0),(0,K.A)(this,"predicate",void 0),(0,K.A)(this,"returnOnTrue",void 0),(0,K.A)(this,"returnOnFalse",void 0),this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=s}enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}const He=function(e,t){let{keyMap:s=Je,...n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oe(e,t,{keyMap:s,nodeTypeGetter:Ne,nodePredicate:Le,nodeCloneFn:Ve,...n})};He[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let{keyMap:s=Je,...n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oe[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:s,nodeTypeGetter:Ne,nodePredicate:Le,nodeCloneFn:Ve,...n})};class Ge{constructor(){(0,K.A)(this,"result",""),(0,K.A)(this,"nestingLevel",0)}enter(e){const{element:t}=e,s=t.charAt(0).toUpperCase()+t.slice(1),n=" ".repeat(this.nestingLevel);this.result+=this.nestingLevel>0?"\n":"",this.result+="".concat(n,"(").concat(s,"Element"),this.nestingLevel+=1}leave(){this.nestingLevel-=1,this.result+=")"}}const Ke=e=>{const t=new Ge;return He(e,t),t.result};var We=s(34887);const Xe=e=>"string"===typeof(null===e||void 0===e?void 0:e.type)?e.type:Ne(e),ze={EphemeralObject:["content"],EphemeralArray:["content"],...Je},Ye=function(e,t){let{keyMap:s=ze,...n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return He(e,t,{keyMap:s,nodeTypeGetter:Xe,nodePredicate:We.A,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n})};Ye[Symbol.for("nodejs.util.promisify.custom")]=async function(e){let{keyMap:t=ze,...s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return He[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:Xe,nodePredicate:We.A,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s})};const Qe=class{constructor(e){(0,K.A)(this,"type","EphemeralArray"),(0,K.A)(this,"content",[]),(0,K.A)(this,"reference",void 0),this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const Ze=class{constructor(e){(0,K.A)(this,"type","EphemeralObject"),(0,K.A)(this,"content",[]),(0,K.A)(this,"reference",void 0),this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class et{constructor(){(0,K.A)(this,"ObjectElement",{enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new Ze(e.content);return this.references.set(e,t),t}}),(0,K.A)(this,"EphemeralObject",{leave:e=>e.toObject()}),(0,K.A)(this,"MemberElement",{enter:e=>[e.key,e.value]}),(0,K.A)(this,"ArrayElement",{enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new Qe(e.content);return this.references.set(e,t),t}}),(0,K.A)(this,"EphemeralArray",{leave:e=>e.toArray()}),(0,K.A)(this,"references",new WeakMap)}BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}}const tt=e=>ge(e)?fe(e)||ve(e)||be(e)||ye(e)?e.toValue():Ye(e,new et):e;var st=s(13225),nt=s(47496),it=s(69455);const rt=class extends Z{};const ot=class extends rt{};const ct=class extends Array{constructor(){super(...arguments),(0,K.A)(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new ot("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new ot("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new ot("latest method in MediaTypes class is not yet implemented.")}};const at=class extends ee{constructor(e,t){super(e,t),(0,K.A)(this,"source",void 0),(0,K.A)(this,"parserOptions",void 0),"undefined"!==typeof t&&(this.source=t.source,this.parserOptions=t.parserOptions)}};const lt=class{constructor(){(0,K.A)(this,"adapters",[])}async detectAdapterCandidates(e){const t=[];for(const s of this.adapters)(0,nt.A)(s.detect)&&await s.detect(e)&&t.push(s);return t}async findAdapter(e,t){if((0,H.A)(t))return this.adapters.find((e=>!!(0,it.A)(e.mediaTypes)&&e.mediaTypes.includes(t)));const s=await this.detectAdapterCandidates(e);return(0,st.A)(s)}use(e){return this.adapters.push(e),this}async findNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=await this.findAdapter(e,t.mediaType);return null===s||void 0===s?void 0:s.namespace}async findMediaType(e){const t=await this.findAdapter(e,void 0);if("undefined"===typeof t)return(new ct).unknownMediaType;if("undefined"===typeof t.mediaTypes)return(new ct).unknownMediaType;if("undefined"===typeof t.detectionRegExp)return t.mediaTypes.latest();const{detectionRegExp:s}=t,n=e.match(s);if(null===n)return(new ct).unknownMediaType;const{groups:i}=n,r=(null===i||void 0===i?void 0:i.version)||(null===i||void 0===i?void 0:i.version_json)||(null===i||void 0===i?void 0:i.version_yaml),o=null!==i&&void 0!==i&&i.version_json?"json":null!==i&&void 0!==i&&i.version_yaml?"yaml":"generic";return"undefined"===typeof r?t.mediaTypes.latest():t.mediaTypes.findBy(r,o)}async parse(e){let t,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t=await this.findAdapter(e,s.mediaType)}catch(n){throw new at("Encountered an unexpected error while matching parser adapters against the source.",{source:e,parserOptions:s,cause:n})}if((0,k.A)(t))throw new at("Source did not match any registered parsers",{source:e,parserOptions:s});try{return t.parse(e,s)}catch(n){throw new at("Parsing encountered an unexpected error.",{source:e,parserOptions:s,cause:n})}}};var ht=s(98921),pt=s(74921);const ut=globalThis.fetch;(0,nt.A)(ut)&&(globalThis.fetch=function(){for(var e=arguments.length,t=new Array(e),s=0;s{if(null===gt&&null===ft)ft=dt.init().then((()=>dt.Language.load(mt))).then((e=>{const t=new dt;return t.setLanguage(e),t})).finally((()=>{ft=null})),gt=await ft;else if(null===gt&&null!==ft)gt=await ft;else if(null===gt)throw new Z("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return gt.parse(e)};var yt=s(27317),bt=s(53163),xt=s(88868);const Et=()=>({predicates:{...n},namespace:L}),wt={toolboxCreator:Et,visitorOptions:{nodeTypeGetter:Ne,exposeEdits:!0}},St=function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===t.length)return e;const n=(0,yt.A)(wt,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),c=t.map((e=>e(o))),a=function(e){let{visitFnGetter:t=te,nodeTypeGetter:s=ne,breakSymbol:n=se,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:r=!1,exposeEdits:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const c=Symbol("skip"),a=new Array(e.length).fill(c);return{enter(l){let h=l,p=!1;for(var u=arguments.length,d=new Array(u>1?u-1:0),m=1;m1?o-1:0),h=1;h{let{Type:s,plugins:n=[]}=t;const i=new s(e);return St(i,n,{toolboxCreator:Et,visitorOptions:{nodeTypeGetter:Ne}})},At=e=>function(t){return jt(t,{...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Type:e})};O.Sh.refract=At(O.Sh),O.wE.refract=At(O.wE),O.Om.refract=At(O.Om),O.bd.refract=At(O.bd),O.Os.refract=At(O.Os),O.kT.refract=At(O.kT),O.Ft.refract=At(O.Ft),O.sI.refract=At(O.sI),q.refract=At(q),T.refract=At(T),C.refract=At(C),_.refract=At(_);const Pt=class{constructor(e){(0,K.A)(this,"type",void 0),(0,K.A)(this,"startPosition",void 0),(0,K.A)(this,"endPosition",void 0),(0,K.A)(this,"startIndex",void 0),(0,K.A)(this,"endIndex",void 0),(0,K.A)(this,"text",void 0),(0,K.A)(this,"isNamed",void 0),(0,K.A)(this,"isMissing",void 0),(0,K.A)(this,"fieldName",void 0),(0,K.A)(this,"hasError",!1),(0,K.A)(this,"children",[]),this.type=e.nodeType,this.startPosition=e.startPosition,this.endPosition=e.endPosition,this.startIndex=e.startIndex,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}setFieldName(e){return"function"===typeof e.currentFieldName?this.fieldName=e.currentFieldName():this.fieldName=e.currentFieldName,this}setHasError(e){return"function"===typeof e.currentNode?this.hasError=e.currentNode().hasError():this.hasError=e.currentNode.hasError(),this}pushChildren(){this.children.push(...arguments)}};class $t{static toPosition(e){const t=new O.wE([e.startPosition.row,e.startPosition.column,e.startIndex]),s=new O.wE([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),s.classes.push("position"),[t,s]}constructor(){(0,K.A)(this,"sourceMap",!1),(0,K.A)(this,"annotations",void 0),(0,K.A)(this,"ParseResultElement",{leave:e=>{const t=e.findElements(Be);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}}),this.annotations=[]}enter(e){if(e instanceof Pt&&!e.isNamed&&e.isMissing){const t=e.type||e.text,s="(Missing ".concat(t,")"),n=new q(s);n.classes.push("warning"),this.maybeAddSourceMap(e,n),this.annotations.push(n)}return null}document(e){const t=new C;return t._content=e.children,this.maybeAddSourceMap(e,t),t}object(e){const t=new O.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}array(e){const t=new O.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}pair(e){const t=new O.Pr;return t.content.key=e.keyNode,t.content.value=e.valueNode,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"ERROR"===e.type)).forEach((t=>{this.ERROR(t,e,[],[e])})),t}string(e){const t=new O.Om(JSON.parse(e.text));return this.maybeAddSourceMap(e,t),t}number(e){const t=new O.kT(Number(e.text));return this.maybeAddSourceMap(e,t),t}null(e){const t=new O.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new O.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new O.bd(!1);return this.maybeAddSourceMap(e,t),t}ERROR(e,t,s,n){const i=!e.hasError,r=e.text,o=i?"(Unexpected ".concat(r,")"):"(Error ".concat(r,")"),c=new q(o);if(c.classes.push("error"),this.maybeAddSourceMap(e,c),0===n.length){const e=new C;return e.push(c),e}return this.annotations.push(c),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const s=new _,n=$t.toPosition(e);if(null!==n){const[e,t]=n;s.push(e),s.push(t)}s.astNode=e,t.meta.set("sourceMap",s)}}const Ot=$t;let Bt;Bt=Symbol.iterator;class Mt{constructor(e){(0,K.A)(this,"cursor",void 0),this.cursor=e}document(){return new Pt(this.cursor)}object(){return new Pt(this.cursor).setFieldName(this.cursor)}array(){return new Pt(this.cursor).setFieldName(this.cursor)}pair(){return new Pt(this.cursor)}string(){return new Pt(this.cursor).setFieldName(this.cursor)}number(){return new Pt(this.cursor).setFieldName(this.cursor)}null(){return new Pt(this.cursor).setFieldName(this.cursor)}true(){return new Pt(this.cursor).setFieldName(this.cursor)}false(){return new Pt(this.cursor).setFieldName(this.cursor)}ERROR(){return new Pt(this.cursor).setHasError(this.cursor)}*[Bt](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Pt(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Mt(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new Mt(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const qt=Mt,Rt={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...Je},Tt=e=>$e(e)?"ParseResultElement":ge(e)?Ne(e):ne(e),kt=e=>ge(e)||ie(e),Ft=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=new Ot,n=e.walk(),i=new qt(n),[r]=Array.from(i);return oe(r,s,{keyMap:Rt,nodeTypeGetter:Tt,nodePredicate:kt,state:{sourceMap:t}})};class Ct{constructor(){let{children:e=[],position:t,isMissing:s=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,K.A)(this,"type","node"),(0,K.A)(this,"isMissing",void 0),(0,K.A)(this,"children",void 0),(0,K.A)(this,"position",void 0),this.type=this.constructor.type,this.isMissing=s,this.children=e,this.position=t}clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const s=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,s)})),e}}(0,K.A)(Ct,"type","node");const It=Ct;const _t=class extends It{};class Dt extends _t{get child(){return(0,st.A)(this.children)}}(0,K.A)(Dt,"type","document");const Nt=Dt;class Vt extends It{get rootNode(){return(0,st.A)(this.children)}}(0,K.A)(Vt,"type","parseResult");const Lt=Vt;class Jt{constructor(e){let{row:t,column:s,char:n}=e;(0,K.A)(this,"type",Jt.type),(0,K.A)(this,"row",void 0),(0,K.A)(this,"column",void 0),(0,K.A)(this,"char",void 0),this.row=t,this.column=s,this.char=n}}(0,K.A)(Jt,"type","point");class Ut{constructor(e){let{start:t,end:s}=e;(0,K.A)(this,"type",Ut.type),(0,K.A)(this,"start",void 0),(0,K.A)(this,"end",void 0),this.start=t,this.end=s}}(0,K.A)(Ut,"type","position");const Ht=Ut;class Gt extends It{constructor(){let{value:e,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super({...t}),(0,K.A)(this,"value",void 0),this.value=e}}(0,K.A)(Gt,"type","literal");const Kt=Gt,Wt=(e,t)=>null!=t&&"object"===typeof t&&"type"in t&&t.type===e,Xt=e=>Wt("string",e),zt=e=>Wt("false",e),Yt=e=>Wt("true",e),Qt=e=>Wt("null",e),Zt=e=>Wt("number",e),es=e=>Wt("array",e),ts=e=>Wt("object",e),ss=e=>Wt("property",e),ns=e=>Wt("key",e);class is extends _t{get properties(){return this.children.filter(ss)}}(0,K.A)(is,"type","object");const rs=is;class os extends _t{get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((e=>(e=>Wt("stringContent",e))(e)||(e=>Wt("escapeSequence",e))(e))).reduce(((e,t)=>e+t.value),"")}}(0,K.A)(os,"type","string");const cs=os;class as extends cs{}(0,K.A)(as,"type","key");const ls=as;class hs extends _t{get key(){return this.children.find(ns)}get value(){return this.children.find((e=>zt(e)||Yt(e)||Qt(e)||Zt(e)||Xt(e)||es(e)||ts(e)))}}(0,K.A)(hs,"type","property");const ps=hs;class us extends _t{get items(){return this.children.filter((e=>zt(e)||Yt(e)||Qt(e)||Zt(e)||Xt(e)||es(e)||ts))}}(0,K.A)(us,"type","array");const ds=us;class ms extends _t{constructor(e){let{value:t,...s}=e;super({...s}),(0,K.A)(this,"value",void 0),this.value=t}}(0,K.A)(ms,"type","value");const gs=ms;class fs extends gs{}(0,K.A)(fs,"type","stringContent");const vs=fs;class ys extends gs{}(0,K.A)(ys,"type","number");const bs=ys;class xs extends gs{}(0,K.A)(xs,"type","null");const Es=xs;class ws extends gs{}(0,K.A)(ws,"type","true");const Ss=ws;class js extends gs{}(0,K.A)(js,"type","false");const As=js;class Ps extends It{constructor(){let{value:e,isUnexpected:t=!1,...s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super({...s}),(0,K.A)(this,"value",void 0),(0,K.A)(this,"isUnexpected",void 0),this.value=e,this.isUnexpected=t}}(0,K.A)(Ps,"type","error");const $s=Ps,Os={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]};class Bs{constructor(){(0,K.A)(this,"document",{enter:e=>{const t=Bs.toPosition(e);return new Nt({children:e.children,position:t,isMissing:e.isMissing})},leave:e=>new Lt({children:[e]})})}static toPosition(e){const t=new Jt({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),s=new Jt({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return new Ht({start:t,end:s})}enter(e){if(e instanceof Pt&&!e.isNamed){const t=Bs.toPosition(e),s=e.type||e.text,{isMissing:n}=e;return new Kt({value:s,position:t,isMissing:n})}}object(e){const t=Bs.toPosition(e);return new rs({children:e.children,position:t,isMissing:e.isMissing})}pair(e){const t=Bs.toPosition(e),s=e.children.slice(1),{keyNode:n}=e,i=new ls({children:(null===n||void 0===n?void 0:n.children)||[],position:null!=n?Bs.toPosition(n):void 0,isMissing:null!=n&&n.isMissing});return new ps({children:[i,...s],position:t,isMissing:e.isMissing})}array(e){const t=Bs.toPosition(e);return new ds({children:e.children,position:t,isMissing:e.isMissing})}string(e){const t=Bs.toPosition(e),s=new vs({value:JSON.parse(e.text)});return new cs({children:[s],position:t,isMissing:e.isMissing})}number(e){const t=Bs.toPosition(e),s=e.text;return new bs({value:s,position:t,isMissing:e.isMissing})}null(e){const t=Bs.toPosition(e),s=e.text;return new Es({value:s,position:t,isMissing:e.isMissing})}true(e){const t=Bs.toPosition(e),s=e.text;return new Ss({value:s,position:t,isMissing:e.isMissing})}false(e){const t=Bs.toPosition(e),s=e.text;return new As({value:s,position:t,isMissing:e.isMissing})}ERROR(e,t,s,n){const i=Bs.toPosition(e),r=new $s({children:e.children,position:i,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text});return 0===n.length?new Lt({children:[r]}):r}}const Ms=Bs,qs={[Lt.type]:["children"],[Nt.type]:["children"],[rs.type]:["children"],[ps.type]:["children"],[ds.type]:["children"],[$s.type]:["children"],...Je},Rs=e=>$e(e)?"ParseResultElement":ge(e)?Ne(e):ne(e),Ts=e=>ge(e)||ie(e);const ks=class{constructor(){(0,K.A)(this,"sourceMap",!1),(0,K.A)(this,"annotations",void 0),(0,K.A)(this,"ParseResultElement",{leave:e=>{const t=e.findElements(Be);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}}),this.annotations=[]}document(e){const t=new C;return t._content=e.children,t}object(e){const t=new O.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}property(e){const t=new O.Pr;return t.content.key=e.key,t.content.value=e.value,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"error"===e.type)).forEach((t=>{this.error(t,e,[],[e])})),t}key(e){const t=new O.Om(e.value);return this.maybeAddSourceMap(e,t),t}array(e){const t=new O.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}string(e){const t=new O.Om(e.value);return this.maybeAddSourceMap(e,t),t}number(e){const t=new O.kT(Number(e.value));return this.maybeAddSourceMap(e,t),t}null(e){const t=new O.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new O.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new O.bd(!1);return this.maybeAddSourceMap(e,t),t}literal(e){if(e.isMissing){const t="(Missing ".concat(e.value,")"),s=new q(t);s.classes.push("warning"),this.maybeAddSourceMap(e,s),this.annotations.push(s)}return null}error(e,t,s,n){const i=e.isUnexpected?"(Unexpected ".concat(e.value,")"):"(Error ".concat(e.value,")"),r=new q(i);if(r.classes.push("error"),this.maybeAddSourceMap(e,r),0===n.length){const e=new C;return e.push(r),e}return this.annotations.push(r),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const s=new _;s.position=e.position,s.astNode=e,t.meta.set("sourceMap",s)}},Fs=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=e.walk(),n=new qt(s),[i]=Array.from(n),r=new Ms,o=new ks,c=oe(i,r,{keyMap:Os,state:{sourceMap:t}});return oe(c.rootNode,o,{keyMap:qs,nodeTypeGetter:Rs,nodePredicate:Ts,state:{sourceMap:t}})},Cs=V(),Is=/(?^\s*true\s*$)|(?^\s*false\s*$)|(?^\s*null\s*$)|(?^\s*\d+\s*$)|(?^\s*{\s*)|(?^\s*\[\s*)|(?^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/;const _s=new class extends ct{latest(){return this[0]}}("application/json"),Ds=async e=>{if(!Is.test(e))return!1;try{return"ERROR"!==(await vt(e)).rootNode.type}catch{return!1}},Ns=async function(e){let{sourceMap:t=!1,syntacticAnalysis:s="direct"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=await vt(e);let i;return i="indirect"===s?Fs(n,{sourceMap:t}):Ft(n,{sourceMap:t}),i},Vs=globalThis.fetch;(0,nt.A)(Vs)&&(globalThis.fetch=function(){for(var e=arguments.length,t=new Array(e),s=0;s{if(null===Js&&null===Us)Us=dt.init().then((()=>dt.Language.load(Ls))).then((e=>{const t=new dt;return t.setLanguage(e),t})).finally((()=>{Us=null})),Js=await Us;else if(null===Js&&null!==Us)Js=await Us;else if(null===Js)throw new Z("Error while initializing web-tree-sitter and loading tree-sitter-yaml grammar.");return Js.parse(e)};var Gs=s(33178);const Ks=class extends ee{};const Ws=class extends Ks{};const Xs=class extends Ws{constructor(e,t){super(e,t),(0,K.A)(this,"specificTagName",void 0),(0,K.A)(this,"explicitTagName",void 0),(0,K.A)(this,"tagKind",void 0),(0,K.A)(this,"tagPosition",void 0),(0,K.A)(this,"nodeCanonicalContent",void 0),(0,K.A)(this,"node",void 0),"undefined"!==typeof t&&(this.specificTagName=t.specificTagName,this.explicitTagName=t.explicitTagName,this.tagKind=t.tagKind,this.tagPosition=t.tagPosition,this.nodeCanonicalContent=t.nodeCanonicalContent,this.node=t.node)}};let zs=function(e){return e.Scalar="Scalar",e.Sequence="Sequence",e.Mapping="Mapping",e}({});class Ys extends It{constructor(e){let{explicitName:t,kind:s,...n}=e;super({...n}),(0,K.A)(this,"explicitName",void 0),(0,K.A)(this,"kind",void 0),this.explicitName=t,this.kind=s}}(0,K.A)(Ys,"type","tag");const Qs=Ys;class Zs{constructor(){(0,K.A)(this,"tag",""),this.tag=this.constructor.uri}test(e){return!0}resolve(e){return e}}(0,K.A)(Zs,"uri","");const en=Zs;class tn extends en{test(e){return e.tag.kind===zs.Mapping}}(0,K.A)(tn,"uri","tag:yaml.org,2002:map");const sn=tn;class nn extends en{test(e){return e.tag.kind===zs.Sequence}}(0,K.A)(nn,"uri","tag:yaml.org,2002:seq");const rn=nn;class on extends en{}(0,K.A)(on,"uri","tag:yaml.org,2002:str");const cn=on;var an=s(60029),ln=s(26836),hn=s(37879),pn=s(38579),un=s(74818),dn=s(70515),mn=s(30439),gn=s(62658),fn=s(31179),vn=s(75882),yn=s(11264),bn=s(32509),xn=s(45876),En=s(10856),wn=s(71090),Sn=s(37152),jn=s(96323);const An=/^(?