Comparing version 5.0.1 to 5.0.2
# crio changelog | ||
## 5.0.2 | ||
- Fix issue where setting arrays was clearning out the values that were not being set | ||
## 5.0.1 | ||
@@ -4,0 +8,0 @@ |
@@ -1,1 +0,1 @@ | ||
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(t.crio={})}(this,function(t){"use strict";function n(t,n){return t(n={exports:{}},n.exports),n.exports}var r,e=n(function(t,n){function r(t,n){var r=[],e=[];return null==n&&(n=function(t,n){return r[0]===n?"[Circular ~]":"[Circular ~."+e.slice(0,r.indexOf(n)).join(".")+"]"}),function(o,i){if(r.length>0){var u=r.indexOf(this);~u?r.splice(u+1):r.push(this),~u?e.splice(u,1/0,o):e.push(o),~r.indexOf(i)&&(i=n.call(this,o,i))}else r.push(i);return null==t?i:t.call(this,o,i)}}(t.exports=function(t,n,e,o){return JSON.stringify(t,r(n,o),e)}).getSerialize=r}),o=(e.getSerialize,n(function(t){!function(){var n,r,e=function(t,n){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n(r)},o=function(t,n){for(var r in t)n(r)},i=function(t,n,r){null!=t&&(r=r||{},Object.getOwnPropertyNames(t).forEach(function(t){r[t]||(n(t),r[t]=!0)}),i(Object.getPrototypeOf(t),n,r))};Object.defineProperty(Date.prototype,"toPrunedJSON",{value:Date.prototype.toJSON});var u=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,c={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function f(t){return u.lastIndex=0,u.test(t)?'"'+t.replace(u,function(t){var n=c[t];return"string"==typeof n?n:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}var a=function(t,u,c){var a,s='"-pruned-"';if("object"==typeof u){var p=u;u=p.depthDecr,c=p.arrayMaxLength,r=p.iterator||e,p.allProperties?r=i:p.inheritedProperties&&(r=o),"prunedString"in p&&(s=p.prunedString),p.replacer&&(a=p.replacer)}else r=e;return n=[],u=u||6,c=c||50,function t(e,o,i){var u,p,l,y,h=o[e];switch(h&&"object"==typeof h&&"function"==typeof h.toPrunedJSON&&(h=h.toPrunedJSON(e)),h&&"function"==typeof h.toJSON&&(h=h.toJSON()),typeof h){case"string":return f(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(i<=0||-1!==n.indexOf(h)){if(a){var d=a(h,s,!0);return void 0===d?void 0:""+d}return s}if(n.push(h),y=[],"[object Array]"===Object.prototype.toString.apply(h)){for(l=Math.min(h.length,c),u=0;u<l;u+=1)y[u]=t(u,h,i-1)||"null";return p="["+y.join(",")+"]",a&&h.length>c?a(h,p,!1):p}return r(h,function(n){try{(p=t(n,h,i-1))&&y.push(f(n)+":"+p)}catch(t){}}),"{"+y.join(",")+"}";case"function":case"undefined":return a?a(h,void 0,!1):void 0}}("",{"":t},u)};a.log=function(){console.log.apply(console,Array.prototype.map.call(arguments,function(t){return JSON.parse(JSON.prune(t))}))},a.forEachProperty=i,t.exports=a}()})),i=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t},u=["Arguments","Array","ArrayBuffer","Boolean","DataView","Date","Error","Float32Array","Float64Array","Function","Generator","GeneratorFunction","HTMLElement","Int8Array","Int16Array","Int32Array","Map","Math","Null","Number","Object","Promise","RegExp","Set","String","Symbol","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","Undefined","WeakMap","WeakSet"].reduce(function(t,n){return t["[object "+n+"]"]=n,t},{}),c=Object.keys(u).reduce(function(t,n){return t[u[n].toUpperCase()]=n,t},{}),f=[c.ARRAY,c.OBJECT],a=[c.DATE,c.MAP,c.SET,c.REGEXP,c.ERROR,c.GENERATORFUNCTION,c.MATH,c.ARRAYBUFFER,c.DATAVIEW,c.FLOAT32ARRAY,c.FLOAT64ARRAY,c.INT8ARRAY,c.INT16ARRAY,c.INT32ARRAY,c.UINT8ARRAY,c.UINT8CLAMPEDARRAY,c.UINT16ARRAY,c.UINT32ARRAY,c.PROMISE,c.GENERATOR,c.WEAKMAP,c.WEAKSET],s=[c.ARRAY,c.OBJECT,c.ARGUMENTS],p=[c.ERROR,c.REGEXP],l=[c.MAP,c.SET],y=[c.PROMISE,c.GENERATOR,c.WEAKMAP,c.WEAKSET],h=[c.FLOAT32ARRAY,c.FLOAT64ARRAY,c.INT8ARRAY,c.INT16ARRAY,c.INT32ARRAY,c.UINT8ARRAY,c.UINT8CLAMPEDARRAY,c.UINT16ARRAY,c.UINT32ARRAY],d=["string","number"],b=["boolean","undefined","function","symbol"],v=["symbol","function"],g=[].concat(d,b),O=/\[object (HTML(.*)Element)\]/,A=["E","LN2","LN10","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"].reduce(function(t,n){var r;return i({},t,((r={})[n]=Math[n],r))},{}),m="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},j=Object.prototype.toString,S=function(t){return"undefined"==typeof Uint16Array?"":String.fromCharCode.apply(null,new Uint16Array(t))},R=function(t,n){return u[n]+" "+t},E=function(t,n){var r,e,o=n||j.call(t);return~s.indexOf(o)?t:~p.indexOf(o)||null===t?R(t,o):o===c.DATE?R(t.valueOf(),o):~l.indexOf(o)?(r=t,e=[u[o]],r.forEach(function(t,n){e.push([n,t])}),e):~y.indexOf(o)?R("NOT_ENUMERABLE",o):o===c.ARRAYBUFFER?R(S(t),o):o===c.DATAVIEW?R(S(t.buffer),o):~h.indexOf(o)?R(t.join(","),o):o===c.MATH?A:O.test(o)?R(function(t){for(var n=t.attributes,r="",e=0;e<n.length;e++)r+=n[e].name+'="'+n[e].value+'",';return t.tagName+" "+r+" "+t.innerHTML}(t),c.HTMLELEMENT):t},w=function(t){var n=void 0===t?"undefined":m(t);return~d.indexOf(n)?t:~b.indexOf(n)?R(~v.indexOf(n)?t.constructor.prototype.toString.call(t):t,j.call(t)):E(t)},T=function(t){var n=1,r=void 0;return function(e,o){return e?null===o?E(o,c.NULL):~g.indexOf(void 0===o?"undefined":m(o))?w(o):(r=j.call(o),~f.indexOf(r)?function(t,n,r,e){if(!t)return R(t,n);if(e>512)return r.length=0,t;var o=r.indexOf(t);return~o?"*Circular-"+o:(r.push(t),t)}(o,r,t,++n):~a.indexOf(r)?E(o,r):o):(t=[o],o)}},x=function(t,n){var r=w(t);return"string"==typeof r?r:n?function(t){try{return JSON.stringify(t,T([]))}catch(n){return o(t)}}(w(t)):JSON.stringify(r,T([]))},N=function(t,n){return function(t){if(!t)return 0;for(var n=5381,r=0;r<t.length;r++)n=(n<<5)+n+t.charCodeAt(r);return n>>>0}(x(t,n))},P=N(void 0),k=N(null),I=N([]),L=N(new Map),M=N(0),U=N({}),C=N(new Set),Y=N(""),F=((r={})[I]=!0,r[L]=!0,r[M]=!0,r[U]=!0,r[C]=!0,r[Y]=!0,r[k]=!0,r[P]=!0,r);N.isEqual=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=n.length;if(1===e)throw new Error("isEqual requires at least two objects to be passed for comparison.");for(var o=1;o<e;o++)if(N(n[o-1])!==N(n[o]))return!1;return!0},N.isEmpty=function(t){return!!F[N(t)]},N.isNull=function(t){return N(t)===k},N.isUndefined=function(t){return N(t)===P};var _={clear:function(){_.results={},_.size=0},results:{},size:0},J=/"[^"]+"|`[^`]+`|'[^']+'|[^.[\]]+/g,D=/^\d+$/i,K=/^"[^"]+"|`[^`]+`|'[^']+'$/,G=function(t){var n=function(t){return K.test(t)}(t)?t.substring(1,t.length-1):t;return function(t){return!!t.length&&D.test(t)}(n)?+n:n},W=function(t){return"string"==typeof t?function(t){return _.results[t]?_.results[t]:(_.size>500&&_.clear(),_.results[t]=t?t.match(J).map(G):[t],_.size++,_.results[t])}(t):Array.isArray(t)?t.map(G):["number"==typeof t?t:""+t]},z="function"==typeof Symbol?Symbol("curriable placeholder"):60881,B=function(t,n){for(var r=new Array(t.length),e=0,o=0;o<t.length;o++)r[o]=t[o]===z&&e<n.length?n[e++]:t[o];if(e<n.length)for(;e<n.length;e++)r.push(n[e]);return r},q=function(t,n){for(var r=0;r<n;r++)if(t[r]===z)return!0;return!1};function H(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length;return function r(){var e=arguments;return e.length>=n&&!q(e,n)?t.apply(this,e):function(){return r.apply(this,B(e,arguments))}}}H.__=z;var $="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,V=/^\s*function\s*([^\(]*)/i,Q=Array.isArray,X=function(t){return!!t&&"object"==typeof t&&!(t instanceof Date||t instanceof RegExp)&&t.$$typeof!==$},Z=function(t){return Q(t)?t.slice():t.constructor===Object?Object.assign({},t):"function"==typeof(n=t.constructor)&&("undefined"!=typeof window?window:global)[n.name||Function.prototype.toString.call(n).split(V)[1]]===n?{}:Object.keys(t).reduce(function(n,r){return n[r]=t[r],n},Object.create(Object.getPrototypeOf(t)));var n},tt=function(t){return"number"==typeof t?[]:{}},nt=function(t){return X(t)?Z(t):t},rt=function(t,n){return void 0===t?n:t},et=function t(n,r,e,o,i){var u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,c=n[u],f=u+1;if(f===n.length){var a=r||o?e(r,c):i;return o?r:a}return o?(r[c]=t(n,function(t,n){return X(t)?Z(t):tt(n)}(r[c],n[f]),e,o,i,f),r):r&&r[c]?t(n,r[c],e,o,i,f):i},ot=function t(n,r){var e=Q(n);if(e!==Q(r)||!X(n))return nt(r);if(e)return n.concat(r.map(nt));var o=Object.keys(n).reduce(function(t,r){return t[r]=nt(n[r]),t},n.constructor===Object?{}:Object.create(Object.getPrototypeOf(n)));return Object.keys(r).reduce(function(e,o){return e[o]=X(r[o])?t(n[o],r[o]):r[o],e},o)},it=function(t){return Q(t)?t:W(t)},ut=function(t,n,r){var e=it(t);return 1===e.length?n?rt(n[e[0]],r):r:et(e,n,function(t,n){return rt(t[n],r)},!1,r)},ct=function(t,n,r){var e=it(t),o=X(n)?Z(n):tt(e[0]);return 1===e.length?(r(o,e[0]),o):et(e,o,r,!0)},ft=function(t,n){return void 0!==ut(t,n)},at=function(t){return void 0===t||null===t||Q(t)&&!t.length},st=H(function(t,n){return at(t)?n:ut(t,n)}),pt=(H(function(t,n,r){return at(n)?r:ut(n,r,t)}),H(function(t,n){return at(t)?null!=n:ft(t,n)})),lt=H(function(t,n,r){return X(r)?at(t)?ot(r,n):ct(t,r,function(t,r){t[r]=ot(t[r],n)}):n}),yt=H(function(t,n){return at(t)?function(t){return Q(t)?[]:{}}(n):ft(t,n)?ct(t,n,function(t,n){Q(t)?function(t,n){if(t.length){for(var r=t.length,e=n;e<r;)t[e]=t[e+1],e++;t.length--}}(t,n):delete t[n]}):n}),ht=H(function(t,n,r){return at(t)?n:ct(t,r,function(t,r){t[r]=n})}),dt=(H(function(t,n,r){var e=st(t,r),o=Q(e)?Q(t)?t.concat([e.length]):(at(t)?"":t)+"["+e.length+"]":t;return ht(o,n,r)}),Array.isArray),bt=function(t){return t instanceof Jt||t instanceof Ut},vt=function(t,n){return bt(n)&&t.hashCode===n.hashCode},gt=function(t){return!!t&&t.constructor===Object&&!function(t){return!!t&&t.$$typeof===It}(t)},Ot="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},At=function(){return function(){var t=this,n=this.keys(),r=n.length,e=0;return{next:function(){return e<r?{done:!1,value:t[n[e++]]}:{done:!0}}}}},mt=function(t,n){for(var r=t.keys(),e=void 0,o=0;o<r.length;o++)if(!n(t[e=r[o]],e,t))return!1;return!0},jt=function(t,n,r,e){for(var o=e?t.keys().reverse():t.keys(),i=void 0,u=0;u<o.length;u++)if(n(t[i=o[u]],i,t))return r?i:t[i];return r&&t.isArray()?-1:void 0},St=function(t){return t&&"object"===(void 0===t?"undefined":Ot(t))?dt(t)?t instanceof Jt?t:new Jt(t):gt(t)?new Ut(t):t:t},Rt=function(t){return t.keys().map(function(n){return[n,t[n]]})},Et=function(t,n){return t<0?Math.max(n+t,0):Math.min(t,n)},wt=function(t){return t.keys().map(function(n){return t[n]})},Tt=function(t,n){for(var r=t.keys(),e=void 0,o=0;o<r.length;o++)if(n(t[e=r[o]],e,t))return!0;return!1},xt=function t(n){return bt(n)?n.isArray()?[].concat(n).map(function(n){return t(n)}):Object.keys(n).reduce(function(r,e){return r[e]=t(n[e]),r},{}):n},Nt={copyWithin:!0,entries:!0,fill:!0,find:!0,findIndex:!0,findLastIndex:!0,includes:!0,keys:!0,values:!0},Pt={every:function(t){return mt(this,t)},find:function(t){return jt(this,t)},findIndex:function(t){return jt(this,t,!0)},includes:function(t){return!!~this.indexOf(t)},some:function(t){return Tt(this,t)}},kt={entries:!0,fill:!0,find:!0,findKey:!0,findLastKey:!0,includes:!0,keys:!0,values:!0},It="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,Lt=function(){function t(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}return function(n,r,e){return r&&t(n.prototype,r),e&&t(n,e),n}}();var Mt=void 0,Ut=function(){function t(n){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),Mt||(Ct(),Mt=!0),bt(n)?n.toObject():(gt(n)?Object.keys(n):[]).reduce(function(t,r){return t[r]=St(n[r]),t},this)}return t.prototype.clear=function(){return new t},t.prototype.compact=function(){return this.filter(function(t){return!!t})},t.prototype.delete=function(t){return yt(t,this)},t.prototype.entries=function(){return Rt(this)},t.prototype.equals=function(t){return vt(this,t)},t.prototype.every=function(t){return mt(this,t)},t.prototype.filter=function(n){var r=this;return new t(Object.keys(this).reduce(function(t,e){return n(r[e],e,t)&&(t[e]=r[e]),t},{}))},t.prototype.find=function(t){return jt(this,t)},t.prototype.findKey=function(t){return jt(this,t,!0)},t.prototype.findLast=function(t){return jt(this,t,!1,!0)},t.prototype.findLastKey=function(t){return jt(this,t,!0,!0)},t.prototype.forEach=function(t){var n=this;return Object.keys(this).forEach(function(r){return t(n[r],r,n)}),this},t.prototype.get=function(t){return st(t,this)},t.prototype.has=function(t){return pt(t,this)},t.prototype.includes=function(t){return this.some(function(n){return n===t})},t.prototype.isArray=function(){return!1},t.prototype.isObject=function(){return!0},t.prototype.keyOf=function(t){return this.findKey(function(n){return n===t})},t.prototype.keys=function(){return new Jt(Object.keys(this))},t.prototype.lastKeyOf=function(t){return this.findLastKey(function(n){return n===t})},t.prototype.map=function(n){var r=this;return Object.keys(this).reduce(function(t,e){return t[e]=St(n(r[e],e,r)),t},new t({}))},t.prototype.merge=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),e=1;e<n;e++)r[e-1]=arguments[e];return r.reduce(function(n,r){return lt(t,St(r),n)},this)},t.prototype.mutate=function(t){return St(t(this.thaw(),this))},t.prototype.pluck=function(t){var n=W(t),r=st(n.slice(0,n.length-1),this),e=n.slice(-1);return r.map(function(t){return st(e,t)}).values()},t.prototype.reduce=function(t,n){var r=this;return St(Object.keys(this).reduce(function(n,e){return t(n,r[e],e,r)},n))},t.prototype.reduceRight=function(t,n){var r=this;return St(Object.keys(this).reduceRight(function(n,e){return t(n,r[e],e,r)},n))},t.prototype.set=function(t,n){return ht(t,St(n),this)},t.prototype.some=function(t){return Tt(this,t)},t.prototype.sort=function(n){var r=this;return new t(Object.keys(this).sort(n).reduce(function(t,n){return t[n]=r[n],t},{}))},t.prototype.thaw=function(){return xt(this)},t.prototype.toArray=function(){return this.values()},t.prototype.toLocaleString=function(t,n){return this.toString(t,n)},t.prototype.toObject=function(){return this},t.prototype.toString=function(t,n){return e(this,t,n)},t.prototype.valueOf=function(){return this},t.prototype.values=function(){return wt(this)},Lt(t,[{key:"hashCode",get:function(){return N(this,!0)}},{key:"size",get:function(){return Object.keys(this).length}}]),t}();function Ct(){"function"==typeof Symbol&&(Symbol.species&&Object.defineProperty(Ut,Symbol.species,{configurable:!1,enumerable:!1,get:function(){return Ut}}),Symbol.iterator&&Object.defineProperty(Ut.prototype,Symbol.iterator,{configurable:!1,enumerable:!1,value:At(),writable:!1}),Symbol.unscopables&&Object.defineProperty(Ut.prototype,Symbol.unscopables,{configurable:!1,enumerable:!1,value:kt,writable:!1}))}var Yt=function(){function t(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}return function(n,r,e){return r&&t(n.prototype,r),e&&t(n,e),n}}();function Ft(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}var _t=!1,Jt=function(t){function n(r){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n);var e=Ft(this,t.call(this,dt(r)?r.length:r||0));return _t||(Dt(),_t=!0),Ft(e,bt(r)?r.toArray():dt(r)?r.reduce(function(t,n,r){return t[r]=St(n),t},e):e)}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),n.prototype.clear=function(){return new n},n.prototype.compact=function(){return this.filter(function(t){return!!t})},n.prototype.copyWithin=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.length,e=[].concat(this),o=this.length>>>0,i=Et(r>>0,o),u=Et(t>>0,o),c=Et(n>>0,o),f=Math.min(i-c,o-u),a=1;for(c<u&&u<c+f&&(a=-1,c+=f-1,u+=f-1);f>0;)c in e?e[u]=e[c]:delete e[u],c+=a,u+=a,f--;return new this.constructor(e)},n.prototype.delete=function(t){return yt(t,this)},n.prototype.difference=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return this;var e=void 0;return n.reduce(function(t,n){return dt(n)&&n.forEach(function(n){~(e=t.indexOf(n))&&(t=t.splice(e,1))}),t},this)},n.prototype.entries=function(){return Rt(this)},n.prototype.equals=function(t){return vt(this,t)},n.prototype.fill=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.length,e=n<0?this.length+n:n,o=r<0?this.length+r:r,i=St(t);return this.map(function(t,n){return n>=e&&n<o?i:t})},n.prototype.findLast=function(t){return jt(this,t,!1,!0)},n.prototype.findLastIndex=function(t){return jt(this,t,!0,!0)},n.prototype.first=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.slice(0,t)},n.prototype.forEach=function(t){return Array.prototype.forEach.call(this,t),this},n.prototype.get=function(t){return st(t,this)},n.prototype.has=function(t){return pt(t,this)},n.prototype.intersection=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];if(!r.length)return this;var o=[],i=void 0,u=[this].concat(r).reduce(function(t,n){return dt(n)&&n.forEach(function(n){if(~(i=t.indexOf(n)))return o[i]++;o[t.length]=1,t.push(n)}),t},[]),c=r.length+1;return new n(u.filter(function(t,n){return o[n]===c}))},n.prototype.isArray=function(){return!0},n.prototype.isObject=function(){return!1},n.prototype.join=function(t){return this.thaw().join(t)},n.prototype.keys=function(){return new n(Object.keys(this).map(Number))},n.prototype.last=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.slice(this.length-t)},n.prototype.map=function(t){var n=this;return Array.prototype.map.call(this,function(r,e){return St(t(r,e,n))})},n.prototype.merge=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),e=1;e<n;e++)r[e-1]=arguments[e];return r.reduce(function(n,r){return lt(t,St(r),n)},this)},n.prototype.mutate=function(t){return St(t(this.thaw(),this))},n.prototype.pluck=function(t){var n=W(t),r=st(n.slice(0,n.length-1),this),e=n.slice(-1);return r.map(function(t){return st(e,t)})},n.prototype.pop=function(){return this.slice(0,this.length-1)},n.prototype.push=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.length?this.concat(n):this},n.prototype.reduce=function(t,n){var r=this;return St(Array.prototype.reduce.call(this,function(n,e,o){return t(n,e,o,r)},n))},n.prototype.reduceRight=function(t,n){var r=this;return St(Array.prototype.reduceRight.call(this,function(n,e,o){return t(n,e,o,r)},n))},n.prototype.reverse=function(){return new n([].concat(this).reverse())},n.prototype.set=function(t,n){return ht(t,St(n),this)},n.prototype.shift=function(){return this.slice(1)},n.prototype.sort=function(t){var r=[].concat(this);return r.sort(t),new n(r)},n.prototype.splice=function(){var t=[].concat(this);return t.splice.apply(t,arguments),new n(t)},n.prototype.thaw=function(){return xt(this)},n.prototype.toArray=function(){return this},n.prototype.toLocaleString=function(t,n){return this.toString(t,n)},n.prototype.toObject=function(){return this.reduce(function(t,n,r){return t[r]=n,t},new Ut({}))},n.prototype.toString=function(t,n){return e(this,t,n)},n.prototype.unique=function(){var t=[],n=[],r=!1,e=void 0,o=void 0;return this.filter(function(i){return e=i?i.hashCode:void 0,r=!(void 0===e),(o=!(~n.indexOf(i)||r&&~t.indexOf(e)))&&(n.push(i),r&&t.push(e)),o})},n.prototype.unshift=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return r.length?new n([].concat(r,this)):this},n.prototype.valueOf=function(){return this},n.prototype.values=function(){return wt(this)},n.prototype.xor=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];if(!r.length)return this;var o=[],i=void 0;return[this].concat(r).reduce(function(t,n){return dt(n)&&n.forEach(function(n){~(i=t.indexOf(n))?o.push(i):t=t.push(n)}),t},new n([])).filter(function(t,n){return!~o.indexOf(n)})},Yt(n,[{key:"hashCode",get:function(){return N(this,!0)}}]),n}(function(t){function n(){var n=Reflect.construct(t,Array.from(arguments));return Object.setPrototypeOf(n,Object.getPrototypeOf(this)),n}return n.prototype=Object.create(t.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t,n}(Array));function Dt(){Object.keys(Pt).forEach(function(t){"function"!=typeof Array.prototype[t]&&(Jt.prototype[t]=function(){for(var n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];return Pt[t].apply(Pt,[this].concat(r))})}),"function"==typeof Symbol&&(Symbol.species&&Object.defineProperty(Jt,Symbol.species,{configurable:!1,enumerable:!1,get:function(){return Jt}}),Symbol.iterator&&Object.defineProperty(Jt.prototype,Symbol.iterator,{configurable:!1,enumerable:!1,value:At(),writable:!1}),Symbol.unscopables&&Object.defineProperty(Jt.prototype,Symbol.unscopables,{configurable:!1,enumerable:!1,value:Nt,writable:!1}))}var Kt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(bt(t))return t;if(dt(t))return new Jt(t);if(gt(t))return new Ut(t);throw new TypeError("Object passed must be either an array or a plain object.")};Kt.array=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!dt(t))throw new TypeError("Object passed must be an array.");return Kt(t)},Kt.isArray=function(t){return bt(t)&&t.isArray()},Kt.isCrio=bt,Kt.isObject=function(t){return bt(t)&&t.isObject()},Kt.object=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!gt(t))throw new TypeError("Object passed must be a plain object.");return Kt(t)},t.default=Kt,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(t.crio={})}(this,function(t){"use strict";var n,e=(function(t,n){function o(e,o){var i=[],u=[];return null==o&&(o=function(t,n){return i[0]===n?"[Circular ~]":"[Circular ~."+u.slice(0,i.indexOf(n)).join(".")+"]"}),function(t,n){if(0<i.length){var r=i.indexOf(this);~r?i.splice(r+1):i.push(this),~r?u.splice(r,1/0,t):u.push(t),~i.indexOf(n)&&(n=o.call(this,t,n))}else i.push(n);return null==e?n:e.call(this,t,n)}}(t.exports=function(t,n,r,e){return JSON.stringify(t,o(n,e),r)}).getSerialize=o}(n={exports:{}},n.exports),n.exports),i=(e.getSerialize,"function"==typeof Symbol?Symbol("curriable placeholder"):60881);function r(n){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:n.length;function e(){var t=arguments;return t.length>=r&&!function(t,n){for(var r=0;r<n;r++)if(t[r]===i)return!0;return!1}(t,r)?n.apply(this,t):function(){return e.apply(this,function(t,n){for(var r=new Array(t.length),e=0,o=0;o<t.length;o++)r[o]=t[o]===i&&e<n.length?n[e++]:t[o];if(e<n.length)for(;e<n.length;e++)r.push(n[e]);return r}(t,arguments))}}return e.arity=r,e.fn=n,e}r.__=i,r.uncurry=function(t){return t.fn};var o,u,c,f,a=function(t,n,r){return"[ref-"+r+"]"},s=function(t,n){for(var r=0;r<t.length;r++)if(t[r]===n)return r;return-1},p=function(r,t){var e=t||a,o="function"==typeof r,i=[],u=void 0,c=void 0;return function(t,n){if(i.length){if(~(u=s(i,this))?i=function(t,n){for(var r=new Array(n),e=0;e<n;e++)r[e]=t[e];return r}(i,u+1):i[i.length]=this,~(c=s(i,n)))return e.call(this,t,n,c)}else i[0]=n;return o?r.call(this,t,n):n}};var l="undefined"!=typeof Buffer&&"function"==typeof Buffer.from,y="function"==typeof Uint16Array,h=/\[object (HTML(.*)Element)\]/,v=/\[object (SVG(.*)Element)\]/,d=["Arguments","Array","ArrayBuffer","Boolean","DataView","Date","DocumentFragment","Error","Event","Float32Array","Float64Array","Function","Generator","GeneratorFunction","HTMLElement","Int8Array","Int16Array","Int32Array","Map","Null","Number","Object","Promise","RegExp","Set","String","Symbol","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","Undefined","WeakMap","WeakSet","Window"].reduce(function(t,n){return t["[object "+n+"]"]=n,t},{}),b=Object.keys(d).reduce(function(t,n){return t[d[n].toUpperCase()]=n,t},{}),g={"[object Map]":!0,"[object Set]":!0},m={boolean:!0,function:!0,number:!0,string:!0,undefined:!0},A=((o={})[b.ARGUMENTS]=!0,o[b.ARRAY]=!0,o),O=((u={})[b.REGEXP]=!0,u[b.SYMBOL]=!0,u),j=((c={})[b.FLOAT32ARRAY]=!0,c[b.FLOAT64ARRAY]=!0,c[b.INT8ARRAY]=!0,c[b.INT16ARRAY]=!0,c[b.INT32ARRAY]=!0,c[b.UINT8ARRAY]=!0,c[b.UINT8CLAMPEDARRAY]=!0,c[b.UINT16ARRAY]=!0,c[b.UINT32ARRAY]=!0,c),S=((f={})[b.GENERATOR]=!0,f[b.PROMISE]=!0,f[b.WEAKMAP]=!0,f[b.WEAKSET]=!0,f),w=String.prototype.charCodeAt,E=Object.keys,R=function(){return"~"},k=function(t,n){return n<t},T=function(t,n){return k(t[0],n[0])},x=function(t,n){return t+"|"+n},P=function(t,n){for(var r=void 0,e=void 0,o=0;o<t.length;o++){for(e=t[o],r=o-1;~r&&n(t[r],e);r--)t[r+1]=t[r];t[r+1]=e}return t},M=l?function(t){return Buffer.from(t).toString("utf8")}:y?function(t){return String.fromCharCode.apply(null,new Uint16Array(t))}:function(){return""},N=function(t,n){for(var r=0;r<t.length;r++)if(t[r]===n)return r;return-1},C=function(t,n){var r=typeof t;if("string"===r)return t;if(m[r])return x(r,t);if(null===t)return x("null",t);var e,o=toString.call(t);return A[o]?t:o===b.OBJECT?~N(n,t)?"~":(n.push(t),function(t){for(var n=P(E(t),k),r={},e=void 0,o=0;o<n.length;o++)r[e=n[o]]=t[e];return r}(t)):O[o]?x(d[o],t.toString()):g[o]?~N(n,t)?"~":(n.push(t),function(t){var r="function"==typeof t.get,e=[];t.forEach(function(t,n){e.push(r?[I(n),I(t)]:[I(t)])}),P(e,T);for(var n,o=new Array(t.size),i=void 0,u=0;u<t.size;u++)i=e[u],o[u]=r?"["+i[0]+","+i[1]+"]":i[0];return x((n=t.constructor).name||(n.toString().match(/^\s*function\s*([^\(]*)/i)||[])[1]||"anonymous","["+o.join(",")+"]")}(t)):o===b.DATE?x(d[o],t.getTime()):o===b.ERROR?x(d[o],t.stack):o===b.EVENT?{bubbles:(e=t).bubbles,cancelBubble:e.cancelBubble,cancelable:e.cancelable,composed:e.composed,currentTarget:e.currentTarget,defaultPrevented:e.defaultPrevented,eventPhase:e.eventPhase,isTrusted:e.isTrusted,returnValue:e.returnValue,target:e.target,type:e.type}:S[o]?x(d[o],"NOT_ENUMERABLE"):h.test(o)||v.test(o)?x(o.slice(8,-1),t.outerHTML):o===b.DOCUMENTFRAGMENT?x(d[o],function(t){for(var n=t.children,r="",e=0;e<n.length;e++)r+=n[e].outerHTML;return r}(t)):j[o]?x(d[o],t.join(",")):o===b.ARRAYBUFFER?x(d[o],M(t)):o===b.DATAVIEW?x(d[o],M(t.buffer)):t},L=function(r){return function(t,n){return C(n,r)}};function I(t){return"object"==typeof t&&t&&!(t instanceof RegExp||t instanceof Date)?(n=t,r=L([]),e=null,o=R,JSON.stringify(n,p(r,o),e)):C(t);var n,r,e,o}var U=function(t){return function(t){for(var n=t.length,r=5381,e=52711,o=void 0;n--;)r=33*r^(o=w.call(t,n)),e=33*e^o;return 4096*(r>>>0)+(e>>>0)}(I(t))};(U.is=r(function(t,n){return U(t)===U(n)})).all=r(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var e=U.is(n.shift()),o=0;o<n.length;o++)if(!e(n[o]))return!1;return!0},2),U.is.any=r(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var e=U.is(n.shift()),o=0;o<n.length;o++)if(e(n[o]))return!0;return!1},2),U.is.not=r(function(t,n){return U(t)!==U(n)});var _={clear:function(){_.results={},_.size=0},results:{},size:0},Y=/"[^"]+"|`[^`]+`|'[^']+'|[^.[\]]+/g,B=/^\d+$/i,F=/^"[^"]+"|`[^`]+`|'[^']+'$/,z=function(t){var n,r,e=(n=t,F.test(n)?t.substring(1,t.length-1):t);return(r=e).length&&B.test(r)?+e:e},D=function(t){return"string"==typeof t?(n=t,_.results[n]||(500<_.size&&_.clear(),_.results[n]=n?n.match(Y).map(z):[n],_.size++),_.results[n]):Array.isArray(t)?t.map(z):["number"==typeof t?t:""+t];var n},K="function"==typeof Symbol?Symbol("curriable placeholder"):60881;function W(r){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:r.length;return function t(){var n=arguments;return n.length>=e&&!function(t,n){for(var r=0;r<n;r++)if(t[r]===K)return!0;return!1}(n,e)?r.apply(this,n):function(){return t.apply(this,function(t,n){for(var r=new Array(t.length),e=0,o=0;o<t.length;o++)r[o]=t[o]===K&&e<n.length?n[e++]:t[o];if(e<n.length)for(;e<n.length;e++)r.push(n[e]);return r}(n,arguments))}}}W.__=K;var G=Object,V=G.assign,$=G.create,H=G.getPrototypeOf,q=G.keys,J="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,X=/^\s*function\s*([^\(]*)/i,Q=Array.isArray,Z=function(t){return!!t&&"object"==typeof t&&!(t instanceof Date||t instanceof RegExp)&&t.$$typeof!==J},tt=function(t,n,r){return"function"==typeof t?t.apply(n,r):void 0},nt=function(r){if(r.constructor===G)return V({},r);if(Q(r)){for(var t=new r.constructor,n=0;n<r.length;n++)t[n]=r[n];return t}return"function"==typeof(e=r.constructor)&&global[e.name||Function.prototype.toString.call(e).split(X)[1]]===e?{}:q(r).reduce(function(t,n){return t[n]=r[n],t},$(H(r)));var e},rt=function(t){return"number"==typeof t?[]:{}},et=function(t){return Z(t)?nt(t):t},ot=function(t,n){return void 0===t?n:t},it=function t(n,r,e,o,i){var u,c,f=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0,a=n[f],s=f+1;if(s===n.length){var p=r||o?e(r,a):i;return o?r:p}return o?(r[a]=t(n,(u=r[a],c=n[s],Z(u)?nt(u):rt(c)),e,o,i,s),r):r&&r[a]?t(n,r[a],e,o,i,s):i},ut=function r(e,o){var t=Q(e);if(t!==Q(o)||!Z(e))return et(o);if(t)return e.concat(o.map(et));var n=q(e).reduce(function(t,n){return t[n]=et(e[n]),t},e.constructor===G?{}:$(H(e)));return q(o).reduce(function(t,n){return t[n]=Z(o[n])?r(e[n],o[n]):o[n],t},n)},ct=function(t){return Q(t)?t:D(t)},ft=function(t,n,r){var e=ct(t);return 1===e.length?n?ot(n[e[0]],r):r:it(e,n,function(t,n){return ot(t[n],r)},!1,r)},at=function(t,n,r){var e=ct(t),o=Z(n)?nt(n):rt(e[0]);return 1===e.length?(r(o,e[0]),o):it(e,o,r,!0)},st=function(t,n){return void 0!==ft(t,n)},pt=function(t){return null==t||Q(t)&&!t.length},lt=(W(function(t,n,r){var e,o,i,u,c=3<arguments.length&&void 0!==arguments[3]?arguments[3]:r;return pt(t)?tt(r,c,n):(e=c,o=n,i=r,1===(u=ct(t)).length?i?tt(i[u[0]],e,o):void 0:it(u,i,function(t,n){return tt(t[n],e,o)}))},3),W(function(t,n){return pt(t)?n:ft(t,n)})),yt=(W(function(t,n,r){return pt(n)?r:ft(n,r,t)}),W(function(t,n){return pt(t)?null!=n:st(t,n)})),ht=W(function(t,r,n){return Z(n)?pt(t)?ut(n,r):at(t,n,function(t,n){t[n]=ut(t[n],r)}):r}),vt=W(function(t,n){return pt(t)?Q(n)?[]:{}:st(t,n)?at(t,n,function(t,n){Q(t)?function(t,n){if(t.length){for(var r=t.length,e=n;e<r;)t[e]=t[e+1],e++;t.length--}}(t,n):delete t[n]}):n}),dt=W(function(t,r,n){return pt(t)?r:at(t,n,function(t,n){t[n]=r})}),bt=(W(function(t,n,r){var e=lt(t,r),o=Q(e)?Q(t)?t.concat([e.length]):(pt(t)?"":t)+"["+e.length+"]":t;return dt(o,n,r)}),Array.isArray),gt=function(t){return t instanceof zt||t instanceof _t},mt=function(t,n){return gt(n)&&t.hashCode===n.hashCode},At=function(t){return!(!t||t.constructor!==Object||(n=t)&&n.$$typeof===Lt);var n},Ot="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},jt=function(){return function(){var t=this,n=this.keys(),r=n.length,e=0;return{next:function(){return e<r?{done:!1,value:t[n[e++]]}:{done:!0}}}}},St=function(t,n){for(var r=t.keys(),e=void 0,o=0;o<r.length;o++)if(!n(t[e=r[o]],e,t))return!1;return!0},wt=function(t,n,r,e){for(var o=e?t.keys().reverse():t.keys(),i=void 0,u=0;u<o.length;u++)if(n(t[i=o[u]],i,t))return r?i:t[i];return r&&t.isArray()?-1:void 0},Et=function(t){return t&&"object"===(void 0===t?"undefined":Ot(t))?bt(t)?t instanceof zt?t:new zt(t):At(t)?new _t(t):t:t},Rt=function(n){return n.keys().map(function(t){return[t,n[t]]})},kt=function(t,n){return t<0?Math.max(n+t,0):Math.min(t,n)},Tt=function(n){return n.keys().map(function(t){return n[t]})},xt=function(t,n){for(var r=t.keys(),e=void 0,o=0;o<r.length;o++)if(n(t[e=r[o]],e,t))return!0;return!1},Pt=function r(e){return gt(e)?e.isArray()?[].concat(e).map(function(t){return r(t)}):Object.keys(e).reduce(function(t,n){return t[n]=r(e[n]),t},{}):e},Mt={copyWithin:!0,entries:!0,fill:!0,find:!0,findIndex:!0,findLastIndex:!0,includes:!0,keys:!0,values:!0},Nt={every:function(t){return St(this,t)},find:function(t){return wt(this,t)},findIndex:function(t){return wt(this,t,!0)},includes:function(t){return!!~this.indexOf(t)},some:function(t){return xt(this,t)}},Ct={entries:!0,fill:!0,find:!0,findKey:!0,findLastKey:!0,includes:!0,keys:!0,values:!0},Lt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,It=function(){function e(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Ut=void 0,_t=function(){function n(r){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),Ut||("function"==typeof Symbol&&(Symbol.species&&Object.defineProperty(_t,Symbol.species,{configurable:!1,enumerable:!1,get:function(){return _t}}),Symbol.iterator&&Object.defineProperty(_t.prototype,Symbol.iterator,{configurable:!1,enumerable:!1,value:jt(),writable:!1}),Symbol.unscopables&&Object.defineProperty(_t.prototype,Symbol.unscopables,{configurable:!1,enumerable:!1,value:Ct,writable:!1})),Ut=!0),gt(r)?r.toObject():(At(r)?Object.keys(r):[]).reduce(function(t,n){return t[n]=Et(r[n]),t},this)}return n.prototype.clear=function(){return new n},n.prototype.compact=function(){return this.filter(function(t){return!!t})},n.prototype.delete=function(t){return vt(t,this)},n.prototype.entries=function(){return Rt(this)},n.prototype.equals=function(t){return mt(this,t)},n.prototype.every=function(t){return St(this,t)},n.prototype.filter=function(r){var e=this;return new n(Object.keys(this).reduce(function(t,n){return r(e[n],n,t)&&(t[n]=e[n]),t},{}))},n.prototype.find=function(t){return wt(this,t)},n.prototype.findKey=function(t){return wt(this,t,!0)},n.prototype.findLast=function(t){return wt(this,t,!1,!0)},n.prototype.findLastKey=function(t){return wt(this,t,!0,!0)},n.prototype.forEach=function(n){var r=this;return Object.keys(this).forEach(function(t){return n(r[t],t,r)}),this},n.prototype.get=function(t){return lt(t,this)},n.prototype.has=function(t){return yt(t,this)},n.prototype.includes=function(n){return this.some(function(t){return t===n})},n.prototype.isArray=function(){return!1},n.prototype.isObject=function(){return!0},n.prototype.keyOf=function(n){return this.findKey(function(t){return t===n})},n.prototype.keys=function(){return new zt(Object.keys(this))},n.prototype.lastKeyOf=function(n){return this.findLastKey(function(t){return t===n})},n.prototype.map=function(r){var e=this;return Object.keys(this).reduce(function(t,n){return t[n]=Et(r(e[n],n,e)),t},new n({}))},n.prototype.merge=function(r){for(var t=arguments.length,n=Array(1<t?t-1:0),e=1;e<t;e++)n[e-1]=arguments[e];return n.reduce(function(t,n){return ht(r,Et(n),t)},this)},n.prototype.mutate=function(t){return Et(t(this.thaw(),this))},n.prototype.pluck=function(t){var n=D(t),r=lt(n.slice(0,n.length-1),this),e=n.slice(-1);return r.map(function(t){return lt(e,t)}).values()},n.prototype.reduce=function(r,t){var e=this;return Et(Object.keys(this).reduce(function(t,n){return r(t,e[n],n,e)},t))},n.prototype.reduceRight=function(r,t){var e=this;return Et(Object.keys(this).reduceRight(function(t,n){return r(t,e[n],n,e)},t))},n.prototype.set=function(t,n){return dt(t,Et(n),this)},n.prototype.some=function(t){return xt(this,t)},n.prototype.sort=function(t){var r=this;return new n(Object.keys(this).sort(t).reduce(function(t,n){return t[n]=r[n],t},{}))},n.prototype.thaw=function(){return Pt(this)},n.prototype.toArray=function(){return this.values()},n.prototype.toLocaleString=function(t,n){return this.toString(t,n)},n.prototype.toObject=function(){return this},n.prototype.toString=function(t,n){return e(this,t,n)},n.prototype.valueOf=function(){return this},n.prototype.values=function(){return Tt(this)},It(n,[{key:"hashCode",get:function(){return U(this)}},{key:"size",get:function(){return Object.keys(this).length}}]),n}();var Yt=function(){function e(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Bt(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}var Ft=!1,zt=function(r){function c(t){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,c);var n=Bt(this,r.call(this,bt(t)?t.length:t||0));return Ft||(Object.keys(Nt).forEach(function(e){"function"!=typeof Array.prototype[e]&&(zt.prototype[e]=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return Nt[e].apply(Nt,[this].concat(n))})}),"function"==typeof Symbol&&(Symbol.species&&Object.defineProperty(zt,Symbol.species,{configurable:!1,enumerable:!1,get:function(){return zt}}),Symbol.iterator&&Object.defineProperty(zt.prototype,Symbol.iterator,{configurable:!1,enumerable:!1,value:jt(),writable:!1}),Symbol.unscopables&&Object.defineProperty(zt.prototype,Symbol.unscopables,{configurable:!1,enumerable:!1,value:Mt,writable:!1})),Ft=!0),Bt(n,gt(t)?t.toArray():bt(t)?t.reduce(function(t,n,r){return t[r]=Et(n),t},n):n)}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(c,r),c.prototype.clear=function(){return new c},c.prototype.compact=function(){return this.filter(function(t){return!!t})},c.prototype.copyWithin=function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.length,e=[].concat(this),o=this.length>>>0,i=kt(r>>0,o),u=kt(t>>0,o),c=kt(n>>0,o),f=Math.min(i-c,o-u),a=1;for(c<u&&u<c+f&&(a=-1,c+=f-1,u+=f-1);0<f;)c in e?e[u]=e[c]:delete e[u],c+=a,u+=a,f--;return new this.constructor(e)},c.prototype.delete=function(t){return vt(t,this)},c.prototype.difference=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return this;var e=void 0;return n.reduce(function(n,t){return bt(t)&&t.forEach(function(t){~(e=n.indexOf(t))&&(n=n.splice(e,1))}),n},this)},c.prototype.entries=function(){return Rt(this)},c.prototype.equals=function(t){return mt(this,t)},c.prototype.fill=function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.length,e=n<0?this.length+n:n,o=r<0?this.length+r:r,i=Et(t);return this.map(function(t,n){return e<=n&&n<o?i:t})},c.prototype.findLast=function(t){return wt(this,t,!1,!0)},c.prototype.findLastIndex=function(t){return wt(this,t,!0,!0)},c.prototype.first=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1;return this.slice(0,t)},c.prototype.forEach=function(t){return Array.prototype.forEach.call(this,t),this},c.prototype.get=function(t){return lt(t,this)},c.prototype.has=function(t){return yt(t,this)},c.prototype.intersection=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return this;var e=[],o=void 0,i=[this].concat(n).reduce(function(n,t){return bt(t)&&t.forEach(function(t){if(~(o=n.indexOf(t)))return e[o]++;e[n.length]=1,n.push(t)}),n},[]),u=n.length+1;return new c(i.filter(function(t,n){return e[n]===u}))},c.prototype.isArray=function(){return!0},c.prototype.isObject=function(){return!1},c.prototype.join=function(t){return this.thaw().join(t)},c.prototype.keys=function(){return new c(Object.keys(this).map(Number))},c.prototype.last=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1;return this.slice(this.length-t)},c.prototype.map=function(r){var e=this;return Array.prototype.map.call(this,function(t,n){return Et(r(t,n,e))})},c.prototype.merge=function(r){for(var t=arguments.length,n=Array(1<t?t-1:0),e=1;e<t;e++)n[e-1]=arguments[e];return n.reduce(function(t,n){return ht(r,Et(n),t)},this)},c.prototype.mutate=function(t){return Et(t(this.thaw(),this))},c.prototype.pluck=function(t){var n=D(t),r=lt(n.slice(0,n.length-1),this),e=n.slice(-1);return r.map(function(t){return lt(e,t)})},c.prototype.pop=function(){return this.slice(0,this.length-1)},c.prototype.push=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.length?this.concat(n):this},c.prototype.reduce=function(e,t){var o=this;return Et(Array.prototype.reduce.call(this,function(t,n,r){return e(t,n,r,o)},t))},c.prototype.reduceRight=function(e,t){var o=this;return Et(Array.prototype.reduceRight.call(this,function(t,n,r){return e(t,n,r,o)},t))},c.prototype.reverse=function(){return new c([].concat(this).reverse())},c.prototype.set=function(t,n){return dt(t,Et(n),this)},c.prototype.shift=function(){return this.slice(1)},c.prototype.sort=function(t){var n=[].concat(this);return n.sort(t),new c(n)},c.prototype.splice=function(){var t=[].concat(this);return t.splice.apply(t,arguments),new c(t)},c.prototype.thaw=function(){return Pt(this)},c.prototype.toArray=function(){return this},c.prototype.toLocaleString=function(t,n){return this.toString(t,n)},c.prototype.toObject=function(){return this.reduce(function(t,n,r){return t[r]=n,t},new _t({}))},c.prototype.toString=function(t,n){return e(this,t,n)},c.prototype.unique=function(){var n=[],r=[],e=!1,o=void 0,i=void 0;return this.filter(function(t){return o=t?t.hashCode:void 0,e=!(void 0===o),(i=!(~r.indexOf(t)||e&&~n.indexOf(o)))&&(r.push(t),e&&n.push(o)),i})},c.prototype.unshift=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.length?new c([].concat(n,this)):this},c.prototype.valueOf=function(){return this},c.prototype.values=function(){return Tt(this)},c.prototype.xor=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return this;var e=[],o=void 0;return[this].concat(n).reduce(function(n,t){return bt(t)&&t.forEach(function(t){~(o=n.indexOf(t))?e.push(o):n=n.push(t)}),n},new c([])).filter(function(t,n){return!~e.indexOf(n)})},Yt(c,[{key:"hashCode",get:function(){return U(this)}}]),c}(function(n){function t(){var t=Reflect.construct(n,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(n.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n,t}(Array));var Dt=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(gt(t))return t;if(bt(t))return new zt(t);if(At(t))return new _t(t);throw new TypeError("Object passed must be either an array or a plain object.")};Dt.array=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];if(!bt(t))throw new TypeError("Object passed must be an array.");return Dt(t)},Dt.isArray=function(t){return gt(t)&&t.isArray()},Dt.isCrio=gt,Dt.isObject=function(t){return gt(t)&&t.isObject()},Dt.object=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!At(t))throw new TypeError("Object passed must be a plain object.");return Dt(t)},t.default=Dt,Object.defineProperty(t,"__esModule",{value:!0})}); |
@@ -25,6 +25,6 @@ { | ||
"dependencies": { | ||
"hash-it": "^3.1.2", | ||
"hash-it": "^4.0.1", | ||
"json-stringify-safe": "^5.0.1", | ||
"pathington": "^1.1.5", | ||
"unchanged": "^1.2.1" | ||
"unchanged": "^1.3.2" | ||
}, | ||
@@ -35,14 +35,14 @@ "description": "Immutable objects and arrays in a natural way", | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^8.2.2", | ||
"babel-loader": "^7.1.4", | ||
"babel-core": "^6.26.3", | ||
"babel-eslint": "^8.2.5", | ||
"babel-loader": "^7.1.5", | ||
"babel-plugin-transform-builtin-extend": "^1.1.2", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"babel-register": "^6.26.0", | ||
"eslint": "^4.19.1", | ||
"eslint-config-rapid7": "~2.11.1", | ||
"eslint-friendly-formatter": "^4.0.0", | ||
"eslint": "^5.0.1", | ||
"eslint-config-rapid7": "~3.0.3", | ||
"eslint-friendly-formatter": "^4.0.1", | ||
"eslint-loader": "^2.0.0", | ||
@@ -56,17 +56,17 @@ "html-webpack-plugin": "^3.2.0", | ||
"mori": "^0.3.2", | ||
"nyc": "^11.6.0", | ||
"nyc": "^12.0.2", | ||
"optimize-js-plugin": "^0.0.4", | ||
"react": "^16.3.1", | ||
"react-dom": "^16.3.1", | ||
"react": "^16.4.1", | ||
"react-dom": "^16.4.1", | ||
"rimraf": "^2.6.2", | ||
"rollup": "~0.57.1", | ||
"rollup-plugin-babel": "~3.0.3", | ||
"rollup-plugin-commonjs": "~9.1.0", | ||
"rollup": "~0.62.0", | ||
"rollup-plugin-babel": "~3.0.7", | ||
"rollup-plugin-commonjs": "~9.1.3", | ||
"rollup-plugin-node-resolve": "~3.3.0", | ||
"rollup-plugin-uglify": "~3.0.0", | ||
"rollup-plugin-uglify": "~4.0.0", | ||
"seamless-immutable": "^7.1.3", | ||
"sinon": "^4.5.0", | ||
"webpack": "^4.5.0", | ||
"webpack-cli": "~2.0.14", | ||
"webpack-dev-server": "^3.1.1" | ||
"sinon": "^6.1.3", | ||
"webpack": "^4.15.1", | ||
"webpack-cli": "~3.0.8", | ||
"webpack-dev-server": "^3.1.4" | ||
}, | ||
@@ -106,3 +106,3 @@ "homepage": "https://github.com/planttheidea/crio#readme", | ||
}, | ||
"version": "5.0.1" | ||
"version": "5.0.2" | ||
} |
import babel from 'rollup-plugin-babel'; | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import resolve from 'rollup-plugin-node-resolve'; | ||
import uglify from 'rollup-plugin-uglify'; | ||
import {uglify} from 'rollup-plugin-uglify'; | ||
@@ -6,0 +6,0 @@ export default [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4597831
136644
+ Addedhash-it@4.1.0(transitive)
- Removedhash-it@3.1.2(transitive)
- Removedjson-prune@1.1.0(transitive)
Updatedhash-it@^4.0.1
Updatedunchanged@^1.3.2