Comparing version 0.6.1 to 0.6.2
@@ -1,2 +0,2 @@ | ||
define("muton",[],function(){return function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=t,n.c=r,n.p="",n(0)}([function(t,n,r){function e(t,n){t.toggles=c(n,function(t,n){return t[n.name]=n.toggle,t},t.toggles)}function o(t,n){var r=a(n,{type:"bucket"}),e=f(r,"name");t.buckets=t.buckets.concat(e)}function u(t,n){var r=a(n,{type:"throttle"}),e=f(r,"name");t.throttles=t.throttles.concat(e)}function i(t,n){e(t,n),o(t,n),u(t,n)}var c=r(1),a=r(124),f=r(126),s=r(128),p=r(131),v=r(133),l=r(192),x=r(199),h={getFeatureMutations:function(t,n){return this.getMutations(t,n).toggles},getMutations:function(t,n){return this.inheritMutations(t,n,{})},inheritMutations:function(t,n,r){var e={toggles:{},buckets:[],throttles:[]};return x.checkFeatureInstructions(n),s(n,function(n,o){var u=p.breakProperties(t,n),c=v.preparePrimer(t,n,u,!0),a=l.assembleFeatures(o,c,r);i(e,a)}),e}};t.exports=h},function(t,n,r){function e(t,n,r){var e=a(t)?o:c,f=arguments.length<3;return e(t,i(n,4),r,f,u)}var o=r(2),u=r(3),i=r(37),c=r(123),a=r(19);t.exports=e},function(t,n){function r(t,n,r,e){var o=-1,u=null==t?0:t.length;for(e&&u&&(r=t[++o]);++o<u;)r=n(r,t[o],o,t);return r}t.exports=r},function(t,n,r){var e=r(4),o=r(36),u=o(e);t.exports=u},function(t,n,r){function e(t,n){return t&&o(t,n,u)}var o=r(5),u=r(7);t.exports=e},function(t,n,r){var e=r(6),o=e();t.exports=o},function(t,n){function r(t){return function(n,r,e){for(var o=-1,u=Object(n),i=e(n),c=i.length;c--;){var a=i[t?c:++o];if(r(u[a],a,u)===!1)break}return n}}t.exports=r},function(t,n,r){function e(t){return i(t)?o(t):u(t)}var o=r(8),u=r(29),i=r(33);t.exports=e},function(t,n,r){function e(t,n){var r=i(t),e=!r&&u(t),s=!r&&!e&&c(t),v=!r&&!e&&!s&&f(t),l=r||e||s||v,x=l?o(t.length,String):[],h=x.length;for(var g in t)!n&&!p.call(t,g)||l&&("length"==g||s&&("offset"==g||"parent"==g)||v&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,h))||x.push(g);return x}var o=r(9),u=r(10),i=r(19),c=r(20),a=r(23),f=r(24),s=Object.prototype,p=s.hasOwnProperty;t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}t.exports=r},function(t,n,r){var e=r(11),o=r(18),u=Object.prototype,i=u.hasOwnProperty,c=u.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(t){return o(t)&&i.call(t,"callee")&&!c.call(t,"callee")};t.exports=a},function(t,n,r){function e(t){return u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Arguments]";t.exports=e},function(t,n,r){function e(t){return null==t?void 0===t?a:c:f&&f in Object(t)?u(t):i(t)}var o=r(13),u=r(16),i=r(17),c="[object Null]",a="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=e},function(t,n,r){var e=r(14),o=e.Symbol;t.exports=o},function(t,n,r){var e=r(15),o="object"==typeof self&&self&&self.Object===Object&&self,u=e||o||Function("return this")();t.exports=u},function(t,n){(function(n){var r="object"==typeof n&&n&&n.Object===Object&&n;t.exports=r}).call(n,function(){return this}())},function(t,n,r){function e(t){var n=i.call(t,a),r=t[a];try{t[a]=void 0;var e=!0}catch(t){}var o=c.call(t);return e&&(n?t[a]=r:delete t[a]),o}var o=r(13),u=Object.prototype,i=u.hasOwnProperty,c=u.toString,a=o?o.toStringTag:void 0;t.exports=e},function(t,n){function r(t){return o.call(t)}var e=Object.prototype,o=e.toString;t.exports=r},function(t,n){function r(t){return null!=t&&"object"==typeof t}t.exports=r},function(t,n){var r=Array.isArray;t.exports=r},function(t,n,r){(function(t){var e=r(14),o=r(22),u="object"==typeof n&&n&&!n.nodeType&&n,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u,a=c?e.Buffer:void 0,f=a?a.isBuffer:void 0,s=f||o;t.exports=s}).call(n,r(21)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n){function r(){return!1}t.exports=r},function(t,n){function r(t,n){return n=null==n?e:n,!!n&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&t<n}var e=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=r},function(t,n,r){var e=r(25),o=r(27),u=r(28),i=u&&u.isTypedArray,c=i?o(i):e;t.exports=c},function(t,n,r){function e(t){return i(t)&&u(t.length)&&!!M[o(t)]}var o=r(12),u=r(26),i=r(18),c="[object Arguments]",a="[object Array]",f="[object Boolean]",s="[object Date]",p="[object Error]",v="[object Function]",l="[object Map]",x="[object Number]",h="[object Object]",g="[object RegExp]",b="[object Set]",y="[object String]",d="[object WeakMap]",_="[object ArrayBuffer]",j="[object DataView]",m="[object Float32Array]",O="[object Float64Array]",w="[object Int8Array]",P="[object Int16Array]",k="[object Int32Array]",A="[object Uint8Array]",z="[object Uint8ClampedArray]",S="[object Uint16Array]",V="[object Uint32Array]",M={};M[m]=M[O]=M[w]=M[P]=M[k]=M[A]=M[z]=M[S]=M[V]=!0,M[c]=M[a]=M[_]=M[f]=M[j]=M[s]=M[p]=M[v]=M[l]=M[x]=M[h]=M[g]=M[b]=M[y]=M[d]=!1,t.exports=e},function(t,n){function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}var e=9007199254740991;t.exports=r},function(t,n){function r(t){return function(n){return t(n)}}t.exports=r},function(t,n,r){(function(t){var e=r(15),o="object"==typeof n&&n&&!n.nodeType&&n,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o,c=i&&e.process,a=function(){try{return c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=a}).call(n,r(21)(t))},function(t,n,r){function e(t){if(!o(t))return u(t);var n=[];for(var r in Object(t))c.call(t,r)&&"constructor"!=r&&n.push(r);return n}var o=r(30),u=r(31),i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n){function r(t){var n=t&&t.constructor,r="function"==typeof n&&n.prototype||e;return t===r}var e=Object.prototype;t.exports=r},function(t,n,r){var e=r(32),o=e(Object.keys,Object);t.exports=o},function(t,n){function r(t,n){return function(r){return t(n(r))}}t.exports=r},function(t,n,r){function e(t){return null!=t&&u(t.length)&&!o(t)}var o=r(34),u=r(26);t.exports=e},function(t,n,r){function e(t){if(!u(t))return!1;var n=o(t);return n==c||n==a||n==i||n==f}var o=r(12),u=r(35),i="[object AsyncFunction]",c="[object Function]",a="[object GeneratorFunction]",f="[object Proxy]";t.exports=e},function(t,n){function r(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}t.exports=r},function(t,n,r){function e(t,n){return function(r,e){if(null==r)return r;if(!o(r))return t(r,e);for(var u=r.length,i=n?u:-1,c=Object(r);(n?i--:++i<u)&&e(c[i],i,c)!==!1;);return r}}var o=r(33);t.exports=e},function(t,n,r){function e(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?c(t)?u(t[0],t[1]):o(t):a(t)}var o=r(38),u=r(103),i=r(119),c=r(19),a=r(120);t.exports=e},function(t,n,r){function e(t){var n=u(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(r){return r===t||o(r,t,n)}}var o=r(39),u=r(100),i=r(102);t.exports=e},function(t,n,r){function e(t,n,r,e){var a=r.length,f=a,s=!e;if(null==t)return!f;for(t=Object(t);a--;){var p=r[a];if(s&&p[2]?p[1]!==t[p[0]]:!(p[0]in t))return!1}for(;++a<f;){p=r[a];var v=p[0],l=t[v],x=p[1];if(s&&p[2]){if(void 0===l&&!(v in t))return!1}else{var h=new o;if(e)var g=e(l,x,v,t,n,h);if(!(void 0===g?u(x,l,i|c,e,h):g))return!1}}return!0}var o=r(40),u=r(76),i=1,c=2;t.exports=e},function(t,n,r){function e(t){var n=this.__data__=new o(t);this.size=n.size}var o=r(41),u=r(49),i=r(50),c=r(51),a=r(52),f=r(53);e.prototype.clear=u,e.prototype.delete=i,e.prototype.get=c,e.prototype.has=a,e.prototype.set=f,t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(42),u=r(43),i=r(46),c=r(47),a=r(48);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n){function r(){this.__data__=[],this.size=0}t.exports=r},function(t,n,r){function e(t){var n=this.__data__,r=o(n,t);if(r<0)return!1;var e=n.length-1;return r==e?n.pop():i.call(n,r,1),--this.size,!0}var o=r(44),u=Array.prototype,i=u.splice;t.exports=e},function(t,n,r){function e(t,n){for(var r=t.length;r--;)if(o(t[r][0],n))return r;return-1}var o=r(45);t.exports=e},function(t,n){function r(t,n){return t===n||t!==t&&n!==n}t.exports=r},function(t,n,r){function e(t){var n=this.__data__,r=o(n,t);return r<0?void 0:n[r][1]}var o=r(44);t.exports=e},function(t,n,r){function e(t){return o(this.__data__,t)>-1}var o=r(44);t.exports=e},function(t,n,r){function e(t,n){var r=this.__data__,e=o(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this}var o=r(44);t.exports=e},function(t,n,r){function e(){this.__data__=new o,this.size=0}var o=r(41);t.exports=e},function(t,n){function r(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}t.exports=r},function(t,n){function r(t){return this.__data__.get(t)}t.exports=r},function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},function(t,n,r){function e(t,n){var r=this.__data__;if(r instanceof o){var e=r.__data__;if(!u||e.length<c-1)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new i(e)}return r.set(t,n),this.size=r.size,this}var o=r(41),u=r(54),i=r(61),c=200;t.exports=e},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Map");t.exports=u},function(t,n,r){function e(t,n){var r=u(t,n);return o(r)?r:void 0}var o=r(56),u=r(60);t.exports=e},function(t,n,r){function e(t){if(!i(t)||u(t))return!1;var n=o(t)?x:f;return n.test(c(t))}var o=r(34),u=r(57),i=r(35),c=r(59),a=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Function.prototype,p=Object.prototype,v=s.toString,l=p.hasOwnProperty,x=RegExp("^"+v.call(l).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=e},function(t,n,r){function e(t){return!!u&&u in t}var o=r(58),u=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=e},function(t,n,r){var e=r(14),o=e["__core-js_shared__"];t.exports=o},function(t,n){function r(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var e=Function.prototype,o=e.toString;t.exports=r},function(t,n){function r(t,n){return null==t?void 0:t[n]}t.exports=r},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(62),u=r(70),i=r(73),c=r(74),a=r(75);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n,r){function e(){this.size=0,this.__data__={hash:new o,map:new(i||u),string:new o}}var o=r(63),u=r(41),i=r(54);t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(64),u=r(66),i=r(67),c=r(68),a=r(69);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n,r){function e(){this.__data__=o?o(null):{},this.size=0}var o=r(65);t.exports=e},function(t,n,r){var e=r(55),o=e(Object,"create");t.exports=o},function(t,n){function r(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}t.exports=r},function(t,n,r){function e(t){var n=this.__data__;if(o){var r=n[t];return r===u?void 0:r}return c.call(n,t)?n[t]:void 0}var o=r(65),u="__lodash_hash_undefined__",i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t){var n=this.__data__;return o?void 0!==n[t]:i.call(n,t)}var o=r(65),u=Object.prototype,i=u.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=o&&void 0===n?u:n,this}var o=r(65),u="__lodash_hash_undefined__";t.exports=e},function(t,n,r){function e(t){var n=o(this,t).delete(t);return this.size-=n?1:0,n}var o=r(71);t.exports=e},function(t,n,r){function e(t,n){var r=t.__data__;return o(n)?r["string"==typeof n?"string":"hash"]:r.map}var o=r(72);t.exports=e},function(t,n){function r(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}t.exports=r},function(t,n,r){function e(t){return o(this,t).get(t)}var o=r(71);t.exports=e},function(t,n,r){function e(t){return o(this,t).has(t)}var o=r(71);t.exports=e},function(t,n,r){function e(t,n){var r=o(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this}var o=r(71);t.exports=e},function(t,n,r){function e(t,n,r,i,c){return t===n||(null==t||null==n||!u(t)&&!u(n)?t!==t&&n!==n:o(t,n,r,i,e,c))}var o=r(77),u=r(18);t.exports=e},function(t,n,r){function e(t,n,r,e,g,y){var d=f(t),_=f(n),j=d?x:a(t),m=_?x:a(n);j=j==l?h:j,m=m==l?h:m;var O=j==h,w=m==h,P=j==m;if(P&&s(t)){if(!s(n))return!1;d=!0,O=!1}if(P&&!O)return y||(y=new o),d||p(t)?u(t,n,r,e,g,y):i(t,n,j,r,e,g,y);if(!(r&v)){var k=O&&b.call(t,"__wrapped__"),A=w&&b.call(n,"__wrapped__");if(k||A){var z=k?t.value():t,S=A?n.value():n;return y||(y=new o),g(z,S,r,e,y)}}return!!P&&(y||(y=new o),c(t,n,r,e,g,y))}var o=r(40),u=r(78),i=r(84),c=r(88),a=r(95),f=r(19),s=r(20),p=r(24),v=1,l="[object Arguments]",x="[object Array]",h="[object Object]",g=Object.prototype,b=g.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n,r,e,f,s){var p=r&c,v=t.length,l=n.length;if(v!=l&&!(p&&l>v))return!1;var x=s.get(t);if(x&&s.get(n))return x==n;var h=-1,g=!0,b=r&a?new o:void 0;for(s.set(t,n),s.set(n,t);++h<v;){var y=t[h],d=n[h];if(e)var _=p?e(d,y,h,n,t,s):e(y,d,h,t,n,s);if(void 0!==_){if(_)continue;g=!1;break}if(b){if(!u(n,function(t,n){if(!i(b,n)&&(y===t||f(y,t,r,e,s)))return b.push(n)})){g=!1;break}}else if(y!==d&&!f(y,d,r,e,s)){g=!1;break}}return s.delete(t),s.delete(n),g}var o=r(79),u=r(82),i=r(83),c=1,a=2;t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new o;++n<r;)this.add(t[n])}var o=r(61),u=r(80),i=r(81);e.prototype.add=e.prototype.push=u,e.prototype.has=i,t.exports=e},function(t,n){function r(t){return this.__data__.set(t,e),this}var e="__lodash_hash_undefined__";t.exports=r},function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}t.exports=r},function(t,n){function r(t,n){return t.has(n)}t.exports=r},function(t,n,r){function e(t,n,r,e,o,O,P){switch(r){case m:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case j:return!(t.byteLength!=n.byteLength||!O(new u(t),new u(n)));case v:case l:case g:return i(+t,+n);case x:return t.name==n.name&&t.message==n.message;case b:case d:return t==n+"";case h:var k=a;case y:var A=e&s;if(k||(k=f),t.size!=n.size&&!A)return!1;var z=P.get(t);if(z)return z==n;e|=p,P.set(t,n);var S=c(k(t),k(n),e,o,O,P);return P.delete(t),S;case _:if(w)return w.call(t)==w.call(n)}return!1}var o=r(13),u=r(85),i=r(45),c=r(78),a=r(86),f=r(87),s=1,p=2,v="[object Boolean]",l="[object Date]",x="[object Error]",h="[object Map]",g="[object Number]",b="[object RegExp]",y="[object Set]",d="[object String]",_="[object Symbol]",j="[object ArrayBuffer]",m="[object DataView]",O=o?o.prototype:void 0,w=O?O.valueOf:void 0;t.exports=e},function(t,n,r){var e=r(14),o=e.Uint8Array;t.exports=o},function(t,n){function r(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}t.exports=r},function(t,n){function r(t){var n=-1,r=Array(t.size);return t.forEach(function(t){r[++n]=t}),r}t.exports=r},function(t,n,r){function e(t,n,r,e,i,a){var f=r&u,s=o(t),p=s.length,v=o(n),l=v.length;if(p!=l&&!f)return!1;for(var x=p;x--;){var h=s[x];if(!(f?h in n:c.call(n,h)))return!1}var g=a.get(t);if(g&&a.get(n))return g==n;var b=!0;a.set(t,n),a.set(n,t);for(var y=f;++x<p;){h=s[x];var d=t[h],_=n[h];if(e)var j=f?e(_,d,h,n,t,a):e(d,_,h,t,n,a);if(!(void 0===j?d===_||i(d,_,r,e,a):j)){b=!1;break}y||(y="constructor"==h)}if(b&&!y){var m=t.constructor,O=n.constructor;m!=O&&"constructor"in t&&"constructor"in n&&!("function"==typeof m&&m instanceof m&&"function"==typeof O&&O instanceof O)&&(b=!1)}return a.delete(t),a.delete(n),b}var o=r(89),u=1,i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t){return o(t,i,u)}var o=r(90),u=r(92),i=r(7);t.exports=e},function(t,n,r){function e(t,n,r){var e=n(t);return u(t)?e:o(e,r(t))}var o=r(91),u=r(19);t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}t.exports=r},function(t,n,r){var e=r(93),o=r(94),u=Object.prototype,i=u.propertyIsEnumerable,c=Object.getOwnPropertySymbols,a=c?function(t){return null==t?[]:(t=Object(t),e(c(t),function(n){return i.call(t,n)}))}:o;t.exports=a},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length,o=0,u=[];++r<e;){var i=t[r];n(i,r,t)&&(u[o++]=i)}return u}t.exports=r},function(t,n){function r(){return[]}t.exports=r},function(t,n,r){var e=r(96),o=r(54),u=r(97),i=r(98),c=r(99),a=r(12),f=r(59),s="[object Map]",p="[object Object]",v="[object Promise]",l="[object Set]",x="[object WeakMap]",h="[object DataView]",g=f(e),b=f(o),y=f(u),d=f(i),_=f(c),j=a;(e&&j(new e(new ArrayBuffer(1)))!=h||o&&j(new o)!=s||u&&j(u.resolve())!=v||i&&j(new i)!=l||c&&j(new c)!=x)&&(j=function(t){var n=a(t),r=n==p?t.constructor:void 0,e=r?f(r):"";if(e)switch(e){case g:return h;case b:return s;case y:return v;case d:return l;case _:return x}return n}),t.exports=j},function(t,n,r){var e=r(55),o=r(14),u=e(o,"DataView");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Promise");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Set");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"WeakMap");t.exports=u},function(t,n,r){function e(t){for(var n=u(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,o(i)]}return n}var o=r(101),u=r(7);t.exports=e},function(t,n,r){function e(t){return t===t&&!o(t)}var o=r(35);t.exports=e},function(t,n){function r(t,n){return function(r){return null!=r&&(r[t]===n&&(void 0!==n||t in Object(r)))}}t.exports=r},function(t,n,r){function e(t,n){return c(t)&&a(n)?f(s(t),n):function(r){var e=u(r,t);return void 0===e&&e===n?i(r,t):o(n,e,p|v)}}var o=r(76),u=r(104),i=r(116),c=r(107),a=r(101),f=r(102),s=r(115),p=1,v=2;t.exports=e},function(t,n,r){function e(t,n,r){var e=null==t?void 0:o(t,n);return void 0===e?r:e}var o=r(105);t.exports=e},function(t,n,r){function e(t,n){n=o(n,t);for(var r=0,e=n.length;null!=t&&r<e;)t=t[u(n[r++])];return r&&r==e?t:void 0}var o=r(106),u=r(115);t.exports=e},function(t,n,r){function e(t,n){return o(t)?t:u(t,n)?[t]:i(c(t))}var o=r(19),u=r(107),i=r(109),c=r(112);t.exports=e},function(t,n,r){function e(t,n){if(o(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!u(t))||(c.test(t)||!i.test(t)||null!=n&&t in Object(n))}var o=r(19),u=r(108),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;t.exports=e},function(t,n,r){function e(t){return"symbol"==typeof t||u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Symbol]";t.exports=e},function(t,n,r){var e=r(110),o=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,c=e(function(t){var n=[];return o.test(t)&&n.push(""),t.replace(u,function(t,r,e,o){n.push(e?o.replace(i,"$1"):r||t)}),n});t.exports=c},function(t,n,r){function e(t){var n=o(t,function(t){return r.size===u&&r.clear(),t}),r=n.cache;return n}var o=r(111),u=500;t.exports=e},function(t,n,r){function e(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError(u);var r=function(){var e=arguments,o=n?n.apply(this,e):e[0],u=r.cache;if(u.has(o))return u.get(o);var i=t.apply(this,e);return r.cache=u.set(o,i)||u,i};return r.cache=new(e.Cache||o),r}var o=r(61),u="Expected a function";e.Cache=o,t.exports=e},function(t,n,r){function e(t){return null==t?"":o(t)}var o=r(113);t.exports=e},function(t,n,r){function e(t){if("string"==typeof t)return t;if(i(t))return u(t,e)+"";if(c(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}var o=r(13),u=r(114),i=r(19),c=r(108),a=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}t.exports=r},function(t,n,r){function e(t){if("string"==typeof t||o(t))return t;var n=t+"";return"0"==n&&1/t==-u?"-0":n}var o=r(108),u=1/0;t.exports=e},function(t,n,r){function e(t,n){return null!=t&&u(t,n,o)}var o=r(117),u=r(118);t.exports=e},function(t,n){function r(t,n){return null!=t&&n in Object(t)}t.exports=r},function(t,n,r){function e(t,n,r){n=o(n,t);for(var e=-1,s=n.length,p=!1;++e<s;){var v=f(n[e]);if(!(p=null!=t&&r(t,v)))break;t=t[v]}return p||++e!=s?p:(s=null==t?0:t.length,!!s&&a(s)&&c(v,s)&&(i(t)||u(t)))}var o=r(106),u=r(10),i=r(19),c=r(23),a=r(26),f=r(115);t.exports=e},function(t,n){function r(t){return t}t.exports=r},function(t,n,r){function e(t){return i(t)?o(c(t)):u(t)}var o=r(121),u=r(122),i=r(107),c=r(115);t.exports=e},function(t,n){function r(t){return function(n){return null==n?void 0:n[t]}}t.exports=r},function(t,n,r){function e(t){return function(n){return o(n,t)}}var o=r(105);t.exports=e},function(t,n){function r(t,n,r,e,o){return o(t,function(t,o,u){r=e?(e=!1,t):n(r,t,o,u)}),r}t.exports=r},function(t,n,r){function e(t,n){var r=c(t)?o:u;return r(t,i(n,3))}var o=r(93),u=r(125),i=r(37),c=r(19);t.exports=e},function(t,n,r){function e(t,n){var r=[];return o(t,function(t,e,o){n(t,e,o)&&r.push(t)}),r}var o=r(3);t.exports=e},function(t,n,r){function e(t,n){var r=c(t)?o:i;return r(t,u(n,3))}var o=r(114),u=r(37),i=r(127),c=r(19);t.exports=e},function(t,n,r){function e(t,n){var r=-1,e=u(t)?Array(t.length):[];return o(t,function(t,o,u){e[++r]=n(t,o,u)}),e}var o=r(3),u=r(33);t.exports=e},function(t,n,r){function e(t,n){var r=c(t)?o:u;return r(t,i(n))}var o=r(129),u=r(3),i=r(130),c=r(19);t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&n(t[r],r,t)!==!1;);return t}t.exports=r},function(t,n,r){function e(t){return"function"==typeof t?t:o}var o=r(119);t.exports=e},function(t,n,r){"use strict";var e=r(132);t.exports={breakProperties:function(t,n){return e.separateProperties(t,n)}}},function(t,n,r){"use strict";var e=r(7);t.exports={separateProperties:function(t,n){return{userPropertyNames:e(t),featurePropertyNames:e(n)}}}},function(t,n,r){"use strict";function e(t){return p(t,["toggle","throttle","buckets"])}function o(t,n){var r=e(n);v(t,r)}function u(t,n){var r=s(t,"toggle");return n&&r===!1}function i(t){return l(t,"toggle")||l(t,"throttle")||l(t,"buckets")}function c(t,n){return x(t)?n:t}function a(t,n,r){var e=r[n],o=t[n],u=b.getMatchedProperties(o,e);return c(u,e)}function f(t,n){v(t,n)}var s=r(104),p=r(134),v=r(151),l=r(172),x=r(174),h=r(175),g=r(132),b=r(186);t.exports={preparePrimer:function(t,n,r,e){var c=this,s={},p=r.userPropertyNames,v=r.featurePropertyNames;return i(n)&&o(s,n),u(s,e)||v.forEach(function(r){if(h(p,r)){var e=a(t,r,n),o=g.separateProperties(t,e),u=c.preparePrimer(t,e,o);f(s,u)}}),s}}},function(t,n,r){var e=r(135),o=r(141),u=o(function(t,n){return null==t?{}:e(t,n)});t.exports=u},function(t,n,r){function e(t,n){return o(t,n,function(n,r){return u(t,r)})}var o=r(136),u=r(116);t.exports=e},function(t,n,r){function e(t,n,r){for(var e=-1,c=n.length,a={};++e<c;){var f=n[e],s=o(t,f);r(s,f)&&u(a,i(f,t),s)}return a}var o=r(105),u=r(137),i=r(106);t.exports=e},function(t,n,r){function e(t,n,r,e){if(!c(t))return t;n=u(n,t);for(var f=-1,s=n.length,p=s-1,v=t;null!=v&&++f<s;){var l=a(n[f]),x=r;if(f!=p){var h=v[l];x=e?e(h,l,v):void 0,void 0===x&&(x=c(h)?h:i(n[f+1])?[]:{})}o(v,l,x),v=v[l]}return t}var o=r(138),u=r(106),i=r(23),c=r(35),a=r(115);t.exports=e},function(t,n,r){function e(t,n,r){var e=t[n];c.call(t,n)&&u(e,r)&&(void 0!==r||n in t)||o(t,n,r)}var o=r(139),u=r(45),i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n,r){"__proto__"==n&&o?o(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}var o=r(140);t.exports=e},function(t,n,r){var e=r(55),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n,r){function e(t){return i(u(t,void 0,o),t+"")}var o=r(142),u=r(145),i=r(147);t.exports=e},function(t,n,r){function e(t){var n=null==t?0:t.length;return n?o(t,1):[]}var o=r(143);t.exports=e},function(t,n,r){function e(t,n,r,i,c){var a=-1,f=t.length;for(r||(r=u),c||(c=[]);++a<f;){var s=t[a];n>0&&r(s)?n>1?e(s,n-1,r,i,c):o(c,s):i||(c[c.length]=s)}return c}var o=r(91),u=r(144);t.exports=e},function(t,n,r){function e(t){return i(t)||u(t)||!!(c&&t&&t[c])}var o=r(13),u=r(10),i=r(19),c=o?o.isConcatSpreadable:void 0;t.exports=e},function(t,n,r){function e(t,n,r){return n=u(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,c=u(e.length-n,0),a=Array(c);++i<c;)a[i]=e[n+i];i=-1;for(var f=Array(n+1);++i<n;)f[i]=e[i];return f[n]=r(a),o(t,this,f)}}var o=r(146),u=Math.max;t.exports=e},function(t,n){function r(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}t.exports=r},function(t,n,r){var e=r(148),o=r(150),u=o(e);t.exports=u},function(t,n,r){var e=r(149),o=r(140),u=r(119),i=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:e(n),writable:!0})}:u;t.exports=i},function(t,n){function r(t){return function(){return t}}t.exports=r},function(t,n){function r(t){var n=0,r=0;return function(){var i=u(),c=o-(i-r);if(r=i,c>0){if(++n>=e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var e=800,o=16,u=Date.now;t.exports=r},function(t,n,r){var e=r(152),o=r(169),u=o(function(t,n,r){e(t,n,r)});t.exports=u},function(t,n,r){function e(t,n,r,s,p){t!==n&&i(n,function(i,f){if(a(i))p||(p=new o),c(t,n,f,r,e,s,p);else{var v=s?s(t[f],i,f+"",t,n,p):void 0;void 0===v&&(v=i),u(t,f,v)}},f)}var o=r(40),u=r(153),i=r(5),c=r(154),a=r(35),f=r(166);t.exports=e},function(t,n,r){function e(t,n,r){(void 0===r||u(t[n],r))&&(void 0!==r||n in t)||o(t,n,r)}var o=r(139),u=r(45);t.exports=e},function(t,n,r){function e(t,n,r,e,y,d,_){var j=t[r],m=n[r],O=_.get(m);if(O)return void o(t,r,O);var w=d?d(j,m,r+"",t,n,_):void 0,P=void 0===w;if(P){var k=s(m),A=!k&&v(m),z=!k&&!A&&g(m);w=m,k||A||z?s(j)?w=j:p(j)?w=c(j):A?(P=!1,w=u(m,!0)):z?(P=!1,w=i(m,!0)):w=[]:h(m)||f(m)?(w=j,f(j)?w=b(j):(!x(j)||e&&l(j))&&(w=a(m))):P=!1}P&&(_.set(m,w),y(w,m,e,d,_),_.delete(m)),o(t,r,w)}var o=r(153),u=r(155),i=r(156),c=r(158),a=r(159),f=r(10),s=r(19),p=r(162),v=r(20),l=r(34),x=r(35),h=r(163),g=r(24),b=r(164);t.exports=e},function(t,n,r){(function(t){function e(t,n){if(n)return t.slice();var r=t.length,e=f?f(r):new t.constructor(r);return t.copy(e),e}var o=r(14),u="object"==typeof n&&n&&!n.nodeType&&n,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u,a=c?o.Buffer:void 0,f=a?a.allocUnsafe:void 0;t.exports=e}).call(n,r(21)(t))},function(t,n,r){function e(t,n){var r=n?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var o=r(157);t.exports=e},function(t,n,r){function e(t){var n=new t.constructor(t.byteLength);return new o(n).set(new o(t)),n}var o=r(85);t.exports=e},function(t,n){function r(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}t.exports=r},function(t,n,r){function e(t){return"function"!=typeof t.constructor||i(t)?{}:o(u(t))}var o=r(160),u=r(161),i=r(30);t.exports=e},function(t,n,r){var e=r(35),o=Object.create,u=function(){function t(){}return function(n){if(!e(n))return{};if(o)return o(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();t.exports=u},function(t,n,r){var e=r(32),o=e(Object.getPrototypeOf,Object);t.exports=o},function(t,n,r){function e(t){return u(t)&&o(t)}var o=r(33),u=r(18);t.exports=e},function(t,n,r){function e(t){if(!i(t)||o(t)!=c)return!1;var n=u(t);if(null===n)return!0;var r=p.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==v}var o=r(12),u=r(161),i=r(18),c="[object Object]",a=Function.prototype,f=Object.prototype,s=a.toString,p=f.hasOwnProperty,v=s.call(Object);t.exports=e},function(t,n,r){function e(t){return o(t,u(t))}var o=r(165),u=r(166);t.exports=e},function(t,n,r){function e(t,n,r,e){var i=!r;r||(r={});for(var c=-1,a=n.length;++c<a;){var f=n[c],s=e?e(r[f],t[f],f,r,t):void 0;void 0===s&&(s=t[f]),i?u(r,f,s):o(r,f,s)}return r}var o=r(138),u=r(139);t.exports=e},function(t,n,r){function e(t){return i(t)?o(t,!0):u(t)}var o=r(8),u=r(167),i=r(33);t.exports=e},function(t,n,r){function e(t){if(!o(t))return i(t);var n=u(t),r=[];for(var e in t)("constructor"!=e||!n&&a.call(t,e))&&r.push(e);return r}var o=r(35),u=r(30),i=r(168),c=Object.prototype,a=c.hasOwnProperty;t.exports=e},function(t,n){function r(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}t.exports=r},function(t,n,r){function e(t){return o(function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,c=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,c&&u(r[0],r[1],c)&&(i=o<3?void 0:i,o=1),n=Object(n);++e<o;){var a=r[e];a&&t(n,a,e,i)}return n})}var o=r(170),u=r(171);t.exports=e},function(t,n,r){function e(t,n){return i(u(t,n,o),t+"")}var o=r(119),u=r(145),i=r(147);t.exports=e},function(t,n,r){function e(t,n,r){if(!c(r))return!1;var e=typeof n;return!!("number"==e?u(r)&&i(n,r.length):"string"==e&&n in r)&&o(r[n],t)}var o=r(45),u=r(33),i=r(23),c=r(35);t.exports=e},function(t,n,r){function e(t,n){return null!=t&&u(t,n,o)}var o=r(173),u=r(118);t.exports=e},function(t,n){function r(t,n){return null!=t&&o.call(t,n)}var e=Object.prototype,o=e.hasOwnProperty;t.exports=r},function(t,n){function r(t){return void 0===t}t.exports=r},function(t,n,r){function e(t,n,r,e){t=u(t)?t:a(t),r=r&&!e?c(r):0;var s=t.length;return r<0&&(r=f(s+r,0)),i(t)?r<=s&&t.indexOf(n,r)>-1:!!s&&o(t,n,r)>-1}var o=r(176),u=r(33),i=r(180),c=r(181),a=r(184),f=Math.max;t.exports=e},function(t,n,r){function e(t,n,r){return n===n?i(t,n,r):o(t,u,r)}var o=r(177),u=r(178),i=r(179);t.exports=e},function(t,n){function r(t,n,r,e){for(var o=t.length,u=r+(e?1:-1);e?u--:++u<o;)if(n(t[u],u,t))return u;return-1}t.exports=r},function(t,n){function r(t){return t!==t}t.exports=r},function(t,n){function r(t,n,r){for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}t.exports=r},function(t,n,r){function e(t){return"string"==typeof t||!u(t)&&i(t)&&o(t)==c}var o=r(12),u=r(19),i=r(18),c="[object String]";t.exports=e},function(t,n,r){function e(t){var n=o(t),r=n%1;return n===n?r?n-r:n:0}var o=r(182);t.exports=e},function(t,n,r){function e(t){if(!t)return 0===t?t:0;if(t=o(t),t===u||t===-u){var n=t<0?-1:1;return n*i}return t===t?t:0}var o=r(183),u=1/0,i=1.7976931348623157e308;t.exports=e},function(t,n,r){function e(t){if("number"==typeof t)return t;if(u(t))return i;if(o(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=o(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(c,"");var r=f.test(t);return r||s.test(t)?p(t.slice(2),r?2:8):a.test(t)?i:+t}var o=r(35),u=r(108),i=NaN,c=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,s=/^0o[0-7]+$/i,p=parseInt;t.exports=e},function(t,n,r){function e(t){return null==t?[]:o(t,u(t))}var o=r(185),u=r(7);t.exports=e},function(t,n,r){function e(t,n){return o(n,function(n){return t[n]})}var o=r(114);t.exports=e},function(t,n,r){"use strict";function e(t,n){return u.isRegex(n)?u:i.isNumber(t)&&i.isNumericQuantifier(n)?i:c}var o=r(187),u=r(190),i=r(191),c={matchesPropertyValue:function(t,n){return t===n}};t.exports={getMatchedProperties:function(t,n){return o(n,function(n,r){var o=e(t,r);return o.matchesPropertyValue(t,r)})}}},function(t,n,r){var e=r(188),o=r(189),u=e(o);t.exports=u},function(t,n,r){function e(t){return function(n,r,e){var c=Object(n);if(!u(n)){var a=o(r,3);n=i(n),r=function(t){return a(c[t],t,c)}}var f=t(n,r,e);return f>-1?c[a?n[f]:f]:void 0}}var o=r(37),u=r(33),i=r(7);t.exports=e},function(t,n,r){function e(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var f=e-1;return void 0!==r&&(f=i(r),f=r<0?c(e+f,0):a(f,e-1)),o(t,u(n,3),f,!0)}var o=r(177),u=r(37),i=r(181),c=Math.max,a=Math.min;t.exports=e},function(t,n){"use strict";function r(t){return t.substring(1,t.length-1)}var e=/^\/.+\/$/;t.exports={isRegex:function(t){return e.test(t)},matchesPropertyValue:function(t,n){ | ||
var e=r(n),o=new RegExp("^"+e+"$");return o.test(t)}}},function(module,exports){"use strict";function isExpressionValid(t){return validExpressionRegex.test(t)}var numberRegex=/-?\d+(\.\d{1,2})?/,operatorRegex=/[><]=?/,numericQuantifierRegex=new RegExp(operatorRegex.source+numberRegex.source),validExpressionRegex=new RegExp(numberRegex.source+operatorRegex.source+numberRegex.source);module.exports={isNumber:function(t){return numberRegex.test(t)},isNumericQuantifier:function(t){return numericQuantifierRegex.test(t)},matchesPropertyValue:function(propertyValue,numericQuantifierStr){var expression=propertyValue+numericQuantifierStr;return!!isExpressionValid(expression)&&eval(expression)}}},function(t,n,r){"use strict";function e(t,n,r){return t.push(c({name:n},r))}function o(t,n){var r={type:"toggle",toggle:!1};return t.toggle!==!1&&(f.isThrottleValid(t.throttle)?(r.toggle=f.mutate(t.throttle,n),r.type="throttle"):t.toggle===!0&&(r.toggle=!0)),r}function u(t,n){return t.toggle&&a.containsMultivariant(n)}function i(t,n,r,o,u){var i=a.mutate(r,u),c={toggle:o.toggle,type:"bucket"};e(t,n+"."+i,c)}var c=r(151),a=r(193),f=r(195),s=r(196),p=r(199);t.exports={assembleFeatures:function(t,n,r){var c=[];if(p.areInstructionsValid(n)){var a=s.pairGene(r,t),f=o(n,a);e(c,t,f),u(f,n)&&i(c,t,n,f,a)}else e(c,t,{toggle:!1,type:"toggle"});return c}}},function(t,n,r){"use strict";function e(t){if(!i(t))throw"Not an array!";var n=Math.floor(Math.random()*t.length);return t[n]}function o(t){return!c(t)&&"bucket"===t.type}function u(t,n){return a(t.buckets,n.toggle)}var i=r(19),c=r(194),a=r(175);t.exports={mutate:function(t,n){return o(n)&&u(t,n)?n.toggle:e(t.buckets)},containsMultivariant:function(t){return this.isBucketListValid(t.buckets)},isBucketListValid:function(t){return i(t)&&t.length>=0}}},function(t,n,r){function e(t){if(null==t)return!0;if(a(t)&&(c(t)||"string"==typeof t||"function"==typeof t.splice||f(t)||p(t)||i(t)))return!t.length;var n=u(t);if(n==v||n==l)return!t.size;if(s(t))return!o(t).length;for(var r in t)if(h.call(t,r))return!1;return!0}var o=r(29),u=r(95),i=r(10),c=r(19),a=r(33),f=r(20),s=r(30),p=r(24),v="[object Map]",l="[object Set]",x=Object.prototype,h=x.hasOwnProperty;t.exports=e},function(t,n,r){"use strict";function e(t){return!s(t)&&p(t)&&t.match(/[0-100]%/)}function o(t){return v(t)&&p(t.value)&&e(t.value)}function u(t){var n;return n=o(t)?t.value:t}function i(t){var n=u(t),r=n.substr(0,n.length-2);return r/10}function c(t){return o(t)||e(t)}function a(t){return!l(t)&&"throttle"===t.type}function f(t){return!s(t.mutate)&&"force"===t.mutate}var s=r(174),p=r(180),v=r(163),l=r(194);t.exports={mutate:function(t,n){if(!f(t)&&a(n))return n.toggle;var r=i(t);return Math.random()<r},isThrottleValid:function(t){return c(t)}}},function(t,n,r){"use strict";function e(t,n){return s(t,function(t){return 0===t.indexOf(n)})}function o(t,n){return e(t,n).length>0}function u(t,n){return o(v(t.toggles),n)}function i(t,n){return o(t.buckets,n)}function c(t,n){return o(t.throttles,n)}function a(t){var n=t.indexOf(".");return n>=0?t.substring(n+1):""}function f(t,n){var r=e(t.buckets,n),o=p(r,function(n){return t.toggles[n]});return l(o)?a(o):""}var s=r(124),p=r(197),v=r(7),l=r(180);t.exports={pairGene:function(t,n){var r={};if(u(t,n)){var e="toggle",o=t.toggles[n];i(t,n)?(e="bucket",o=f(t,n)):c(t,n)&&(e="throttle"),r.toggle=o,r.type=e}return r}}},function(t,n,r){var e=r(188),o=r(198),u=e(o);t.exports=u},function(t,n,r){function e(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var a=null==r?0:i(r);return a<0&&(a=c(e+a,0)),o(t,u(n,3),a)}var o=r(177),u=r(37),i=r(181),c=Math.max;t.exports=e},function(t,n,r){"use strict";var e=r(104),o=r(174),u=r(200),i=r(201),c=r(19),a=r(35),f=r(193),s=r(195);t.exports={areInstructionsValid:function(t){var n=e(t,"toggle"),r=e(t,"throttle"),o=e(t,"buckets");return this.isToggleValid(n)&&this.isThrottleValid(r)&&this.areBucketsValid(o)},isToggleValid:function(t){return o(t)||u(t)},isThrottleValid:function(t){return o(t)||s.isThrottleValid(t)},areBucketsValid:function(t){return o(t)||f.isBucketListValid(t)},checkFeatureInstructions:function(t){var n=o(t)||i(t)||!c(t)&&a(t);if(!n)throw new Error("Invalid feature instructions!")}}},function(t,n,r){function e(t){return t===!0||t===!1||u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Boolean]";t.exports=e},function(t,n){function r(t){return null===t}t.exports=r}])}); | ||
define("muton",[],function(){return function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=t,n.c=r,n.p="",n(0)}([function(t,n,r){function e(t,n){t.toggles=c(n,function(t,n){return t[n.name]=n.toggle,t},t.toggles)}function o(t,n){var r=a(n,{type:"bucket"}),e=f(r,"name");t.buckets=t.buckets.concat(e)}function u(t,n){var r=a(n,{type:"throttle"}),e=f(r,"name");t.throttles=t.throttles.concat(e)}function i(t,n){e(t,n),o(t,n),u(t,n)}var c=r(1),a=r(124),f=r(126),s=r(128),p=r(131),v=r(133),l=r(193),x=r(200),h={getFeatureMutations:function(t,n){return this.getMutations(t,n).toggles},getMutations:function(t,n){return this.inheritMutations(t,n,{})},inheritMutations:function(t,n,r){var e={toggles:{},buckets:[],throttles:[]};return x.checkFeatureInstructions(n),s(n,function(n,o){var u=p.breakProperties(t,n),c=v.preparePrimer(t,n,u,!0),a=l.assembleFeatures(o,c,r);i(e,a)}),e}};t.exports=h},function(t,n,r){function e(t,n,r){var e=a(t)?o:c,f=arguments.length<3;return e(t,i(n,4),r,f,u)}var o=r(2),u=r(3),i=r(37),c=r(123),a=r(19);t.exports=e},function(t,n){function r(t,n,r,e){var o=-1,u=null==t?0:t.length;for(e&&u&&(r=t[++o]);++o<u;)r=n(r,t[o],o,t);return r}t.exports=r},function(t,n,r){var e=r(4),o=r(36),u=o(e);t.exports=u},function(t,n,r){function e(t,n){return t&&o(t,n,u)}var o=r(5),u=r(7);t.exports=e},function(t,n,r){var e=r(6),o=e();t.exports=o},function(t,n){function r(t){return function(n,r,e){for(var o=-1,u=Object(n),i=e(n),c=i.length;c--;){var a=i[t?c:++o];if(r(u[a],a,u)===!1)break}return n}}t.exports=r},function(t,n,r){function e(t){return i(t)?o(t):u(t)}var o=r(8),u=r(29),i=r(33);t.exports=e},function(t,n,r){function e(t,n){var r=i(t),e=!r&&u(t),s=!r&&!e&&c(t),v=!r&&!e&&!s&&f(t),l=r||e||s||v,x=l?o(t.length,String):[],h=x.length;for(var g in t)!n&&!p.call(t,g)||l&&("length"==g||s&&("offset"==g||"parent"==g)||v&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,h))||x.push(g);return x}var o=r(9),u=r(10),i=r(19),c=r(20),a=r(23),f=r(24),s=Object.prototype,p=s.hasOwnProperty;t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}t.exports=r},function(t,n,r){var e=r(11),o=r(18),u=Object.prototype,i=u.hasOwnProperty,c=u.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(t){return o(t)&&i.call(t,"callee")&&!c.call(t,"callee")};t.exports=a},function(t,n,r){function e(t){return u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Arguments]";t.exports=e},function(t,n,r){function e(t){return null==t?void 0===t?a:c:f&&f in Object(t)?u(t):i(t)}var o=r(13),u=r(16),i=r(17),c="[object Null]",a="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=e},function(t,n,r){var e=r(14),o=e.Symbol;t.exports=o},function(t,n,r){var e=r(15),o="object"==typeof self&&self&&self.Object===Object&&self,u=e||o||Function("return this")();t.exports=u},function(t,n){(function(n){var r="object"==typeof n&&n&&n.Object===Object&&n;t.exports=r}).call(n,function(){return this}())},function(t,n,r){function e(t){var n=i.call(t,a),r=t[a];try{t[a]=void 0;var e=!0}catch(t){}var o=c.call(t);return e&&(n?t[a]=r:delete t[a]),o}var o=r(13),u=Object.prototype,i=u.hasOwnProperty,c=u.toString,a=o?o.toStringTag:void 0;t.exports=e},function(t,n){function r(t){return o.call(t)}var e=Object.prototype,o=e.toString;t.exports=r},function(t,n){function r(t){return null!=t&&"object"==typeof t}t.exports=r},function(t,n){var r=Array.isArray;t.exports=r},function(t,n,r){(function(t){var e=r(14),o=r(22),u="object"==typeof n&&n&&!n.nodeType&&n,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u,a=c?e.Buffer:void 0,f=a?a.isBuffer:void 0,s=f||o;t.exports=s}).call(n,r(21)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n){function r(){return!1}t.exports=r},function(t,n){function r(t,n){var r=typeof t;return n=null==n?e:n,!!n&&("number"==r||"symbol"!=r&&o.test(t))&&t>-1&&t%1==0&&t<n}var e=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=r},function(t,n,r){var e=r(25),o=r(27),u=r(28),i=u&&u.isTypedArray,c=i?o(i):e;t.exports=c},function(t,n,r){function e(t){return i(t)&&u(t.length)&&!!M[o(t)]}var o=r(12),u=r(26),i=r(18),c="[object Arguments]",a="[object Array]",f="[object Boolean]",s="[object Date]",p="[object Error]",v="[object Function]",l="[object Map]",x="[object Number]",h="[object Object]",g="[object RegExp]",b="[object Set]",y="[object String]",d="[object WeakMap]",_="[object ArrayBuffer]",j="[object DataView]",m="[object Float32Array]",O="[object Float64Array]",w="[object Int8Array]",P="[object Int16Array]",k="[object Int32Array]",A="[object Uint8Array]",z="[object Uint8ClampedArray]",S="[object Uint16Array]",V="[object Uint32Array]",M={};M[m]=M[O]=M[w]=M[P]=M[k]=M[A]=M[z]=M[S]=M[V]=!0,M[c]=M[a]=M[_]=M[f]=M[j]=M[s]=M[p]=M[v]=M[l]=M[x]=M[h]=M[g]=M[b]=M[y]=M[d]=!1,t.exports=e},function(t,n){function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}var e=9007199254740991;t.exports=r},function(t,n){function r(t){return function(n){return t(n)}}t.exports=r},function(t,n,r){(function(t){var e=r(15),o="object"==typeof n&&n&&!n.nodeType&&n,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o,c=i&&e.process,a=function(){try{var t=u&&u.require&&u.require("util").types;return t?t:c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=a}).call(n,r(21)(t))},function(t,n,r){function e(t){if(!o(t))return u(t);var n=[];for(var r in Object(t))c.call(t,r)&&"constructor"!=r&&n.push(r);return n}var o=r(30),u=r(31),i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n){function r(t){var n=t&&t.constructor,r="function"==typeof n&&n.prototype||e;return t===r}var e=Object.prototype;t.exports=r},function(t,n,r){var e=r(32),o=e(Object.keys,Object);t.exports=o},function(t,n){function r(t,n){return function(r){return t(n(r))}}t.exports=r},function(t,n,r){function e(t){return null!=t&&u(t.length)&&!o(t)}var o=r(34),u=r(26);t.exports=e},function(t,n,r){function e(t){if(!u(t))return!1;var n=o(t);return n==c||n==a||n==i||n==f}var o=r(12),u=r(35),i="[object AsyncFunction]",c="[object Function]",a="[object GeneratorFunction]",f="[object Proxy]";t.exports=e},function(t,n){function r(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}t.exports=r},function(t,n,r){function e(t,n){return function(r,e){if(null==r)return r;if(!o(r))return t(r,e);for(var u=r.length,i=n?u:-1,c=Object(r);(n?i--:++i<u)&&e(c[i],i,c)!==!1;);return r}}var o=r(33);t.exports=e},function(t,n,r){function e(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?c(t)?u(t[0],t[1]):o(t):a(t)}var o=r(38),u=r(103),i=r(119),c=r(19),a=r(120);t.exports=e},function(t,n,r){function e(t){var n=u(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(r){return r===t||o(r,t,n)}}var o=r(39),u=r(100),i=r(102);t.exports=e},function(t,n,r){function e(t,n,r,e){var a=r.length,f=a,s=!e;if(null==t)return!f;for(t=Object(t);a--;){var p=r[a];if(s&&p[2]?p[1]!==t[p[0]]:!(p[0]in t))return!1}for(;++a<f;){p=r[a];var v=p[0],l=t[v],x=p[1];if(s&&p[2]){if(void 0===l&&!(v in t))return!1}else{var h=new o;if(e)var g=e(l,x,v,t,n,h);if(!(void 0===g?u(x,l,i|c,e,h):g))return!1}}return!0}var o=r(40),u=r(76),i=1,c=2;t.exports=e},function(t,n,r){function e(t){var n=this.__data__=new o(t);this.size=n.size}var o=r(41),u=r(49),i=r(50),c=r(51),a=r(52),f=r(53);e.prototype.clear=u,e.prototype.delete=i,e.prototype.get=c,e.prototype.has=a,e.prototype.set=f,t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(42),u=r(43),i=r(46),c=r(47),a=r(48);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n){function r(){this.__data__=[],this.size=0}t.exports=r},function(t,n,r){function e(t){var n=this.__data__,r=o(n,t);if(r<0)return!1;var e=n.length-1;return r==e?n.pop():i.call(n,r,1),--this.size,!0}var o=r(44),u=Array.prototype,i=u.splice;t.exports=e},function(t,n,r){function e(t,n){for(var r=t.length;r--;)if(o(t[r][0],n))return r;return-1}var o=r(45);t.exports=e},function(t,n){function r(t,n){return t===n||t!==t&&n!==n}t.exports=r},function(t,n,r){function e(t){var n=this.__data__,r=o(n,t);return r<0?void 0:n[r][1]}var o=r(44);t.exports=e},function(t,n,r){function e(t){return o(this.__data__,t)>-1}var o=r(44);t.exports=e},function(t,n,r){function e(t,n){var r=this.__data__,e=o(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this}var o=r(44);t.exports=e},function(t,n,r){function e(){this.__data__=new o,this.size=0}var o=r(41);t.exports=e},function(t,n){function r(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}t.exports=r},function(t,n){function r(t){return this.__data__.get(t)}t.exports=r},function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},function(t,n,r){function e(t,n){var r=this.__data__;if(r instanceof o){var e=r.__data__;if(!u||e.length<c-1)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new i(e)}return r.set(t,n),this.size=r.size,this}var o=r(41),u=r(54),i=r(61),c=200;t.exports=e},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Map");t.exports=u},function(t,n,r){function e(t,n){var r=u(t,n);return o(r)?r:void 0}var o=r(56),u=r(60);t.exports=e},function(t,n,r){function e(t){if(!i(t)||u(t))return!1;var n=o(t)?x:f;return n.test(c(t))}var o=r(34),u=r(57),i=r(35),c=r(59),a=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Function.prototype,p=Object.prototype,v=s.toString,l=p.hasOwnProperty,x=RegExp("^"+v.call(l).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=e},function(t,n,r){function e(t){return!!u&&u in t}var o=r(58),u=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=e},function(t,n,r){var e=r(14),o=e["__core-js_shared__"];t.exports=o},function(t,n){function r(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var e=Function.prototype,o=e.toString;t.exports=r},function(t,n){function r(t,n){return null==t?void 0:t[n]}t.exports=r},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(62),u=r(70),i=r(73),c=r(74),a=r(75);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n,r){function e(){this.size=0,this.__data__={hash:new o,map:new(i||u),string:new o}}var o=r(63),u=r(41),i=r(54);t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(64),u=r(66),i=r(67),c=r(68),a=r(69);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n,r){function e(){this.__data__=o?o(null):{},this.size=0}var o=r(65);t.exports=e},function(t,n,r){var e=r(55),o=e(Object,"create");t.exports=o},function(t,n){function r(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}t.exports=r},function(t,n,r){function e(t){var n=this.__data__;if(o){var r=n[t];return r===u?void 0:r}return c.call(n,t)?n[t]:void 0}var o=r(65),u="__lodash_hash_undefined__",i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t){var n=this.__data__;return o?void 0!==n[t]:i.call(n,t)}var o=r(65),u=Object.prototype,i=u.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=o&&void 0===n?u:n,this}var o=r(65),u="__lodash_hash_undefined__";t.exports=e},function(t,n,r){function e(t){var n=o(this,t).delete(t);return this.size-=n?1:0,n}var o=r(71);t.exports=e},function(t,n,r){function e(t,n){var r=t.__data__;return o(n)?r["string"==typeof n?"string":"hash"]:r.map}var o=r(72);t.exports=e},function(t,n){function r(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}t.exports=r},function(t,n,r){function e(t){return o(this,t).get(t)}var o=r(71);t.exports=e},function(t,n,r){function e(t){return o(this,t).has(t)}var o=r(71);t.exports=e},function(t,n,r){function e(t,n){var r=o(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this}var o=r(71);t.exports=e},function(t,n,r){function e(t,n,r,i,c){return t===n||(null==t||null==n||!u(t)&&!u(n)?t!==t&&n!==n:o(t,n,r,i,e,c))}var o=r(77),u=r(18);t.exports=e},function(t,n,r){function e(t,n,r,e,g,y){var d=f(t),_=f(n),j=d?x:a(t),m=_?x:a(n);j=j==l?h:j,m=m==l?h:m;var O=j==h,w=m==h,P=j==m;if(P&&s(t)){if(!s(n))return!1;d=!0,O=!1}if(P&&!O)return y||(y=new o),d||p(t)?u(t,n,r,e,g,y):i(t,n,j,r,e,g,y);if(!(r&v)){var k=O&&b.call(t,"__wrapped__"),A=w&&b.call(n,"__wrapped__");if(k||A){var z=k?t.value():t,S=A?n.value():n;return y||(y=new o),g(z,S,r,e,y)}}return!!P&&(y||(y=new o),c(t,n,r,e,g,y))}var o=r(40),u=r(78),i=r(84),c=r(88),a=r(95),f=r(19),s=r(20),p=r(24),v=1,l="[object Arguments]",x="[object Array]",h="[object Object]",g=Object.prototype,b=g.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n,r,e,f,s){var p=r&c,v=t.length,l=n.length;if(v!=l&&!(p&&l>v))return!1;var x=s.get(t);if(x&&s.get(n))return x==n;var h=-1,g=!0,b=r&a?new o:void 0;for(s.set(t,n),s.set(n,t);++h<v;){var y=t[h],d=n[h];if(e)var _=p?e(d,y,h,n,t,s):e(y,d,h,t,n,s);if(void 0!==_){if(_)continue;g=!1;break}if(b){if(!u(n,function(t,n){if(!i(b,n)&&(y===t||f(y,t,r,e,s)))return b.push(n)})){g=!1;break}}else if(y!==d&&!f(y,d,r,e,s)){g=!1;break}}return s.delete(t),s.delete(n),g}var o=r(79),u=r(82),i=r(83),c=1,a=2;t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new o;++n<r;)this.add(t[n])}var o=r(61),u=r(80),i=r(81);e.prototype.add=e.prototype.push=u,e.prototype.has=i,t.exports=e},function(t,n){function r(t){return this.__data__.set(t,e),this}var e="__lodash_hash_undefined__";t.exports=r},function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}t.exports=r},function(t,n){function r(t,n){return t.has(n)}t.exports=r},function(t,n,r){function e(t,n,r,e,o,O,P){switch(r){case m:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case j:return!(t.byteLength!=n.byteLength||!O(new u(t),new u(n)));case v:case l:case g:return i(+t,+n);case x:return t.name==n.name&&t.message==n.message;case b:case d:return t==n+"";case h:var k=a;case y:var A=e&s;if(k||(k=f),t.size!=n.size&&!A)return!1;var z=P.get(t);if(z)return z==n;e|=p,P.set(t,n);var S=c(k(t),k(n),e,o,O,P);return P.delete(t),S;case _:if(w)return w.call(t)==w.call(n)}return!1}var o=r(13),u=r(85),i=r(45),c=r(78),a=r(86),f=r(87),s=1,p=2,v="[object Boolean]",l="[object Date]",x="[object Error]",h="[object Map]",g="[object Number]",b="[object RegExp]",y="[object Set]",d="[object String]",_="[object Symbol]",j="[object ArrayBuffer]",m="[object DataView]",O=o?o.prototype:void 0,w=O?O.valueOf:void 0;t.exports=e},function(t,n,r){var e=r(14),o=e.Uint8Array;t.exports=o},function(t,n){function r(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}t.exports=r},function(t,n){function r(t){var n=-1,r=Array(t.size);return t.forEach(function(t){r[++n]=t}),r}t.exports=r},function(t,n,r){function e(t,n,r,e,i,a){var f=r&u,s=o(t),p=s.length,v=o(n),l=v.length;if(p!=l&&!f)return!1;for(var x=p;x--;){var h=s[x];if(!(f?h in n:c.call(n,h)))return!1}var g=a.get(t);if(g&&a.get(n))return g==n;var b=!0;a.set(t,n),a.set(n,t);for(var y=f;++x<p;){h=s[x];var d=t[h],_=n[h];if(e)var j=f?e(_,d,h,n,t,a):e(d,_,h,t,n,a);if(!(void 0===j?d===_||i(d,_,r,e,a):j)){b=!1;break}y||(y="constructor"==h)}if(b&&!y){var m=t.constructor,O=n.constructor;m!=O&&"constructor"in t&&"constructor"in n&&!("function"==typeof m&&m instanceof m&&"function"==typeof O&&O instanceof O)&&(b=!1)}return a.delete(t),a.delete(n),b}var o=r(89),u=1,i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t){return o(t,i,u)}var o=r(90),u=r(92),i=r(7);t.exports=e},function(t,n,r){function e(t,n,r){var e=n(t);return u(t)?e:o(e,r(t))}var o=r(91),u=r(19);t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}t.exports=r},function(t,n,r){var e=r(93),o=r(94),u=Object.prototype,i=u.propertyIsEnumerable,c=Object.getOwnPropertySymbols,a=c?function(t){return null==t?[]:(t=Object(t),e(c(t),function(n){return i.call(t,n)}))}:o;t.exports=a},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length,o=0,u=[];++r<e;){var i=t[r];n(i,r,t)&&(u[o++]=i)}return u}t.exports=r},function(t,n){function r(){return[]}t.exports=r},function(t,n,r){var e=r(96),o=r(54),u=r(97),i=r(98),c=r(99),a=r(12),f=r(59),s="[object Map]",p="[object Object]",v="[object Promise]",l="[object Set]",x="[object WeakMap]",h="[object DataView]",g=f(e),b=f(o),y=f(u),d=f(i),_=f(c),j=a;(e&&j(new e(new ArrayBuffer(1)))!=h||o&&j(new o)!=s||u&&j(u.resolve())!=v||i&&j(new i)!=l||c&&j(new c)!=x)&&(j=function(t){var n=a(t),r=n==p?t.constructor:void 0,e=r?f(r):"";if(e)switch(e){case g:return h;case b:return s;case y:return v;case d:return l;case _:return x}return n}),t.exports=j},function(t,n,r){var e=r(55),o=r(14),u=e(o,"DataView");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Promise");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Set");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"WeakMap");t.exports=u},function(t,n,r){function e(t){for(var n=u(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,o(i)]}return n}var o=r(101),u=r(7);t.exports=e},function(t,n,r){function e(t){return t===t&&!o(t)}var o=r(35);t.exports=e},function(t,n){function r(t,n){return function(r){return null!=r&&(r[t]===n&&(void 0!==n||t in Object(r)))}}t.exports=r},function(t,n,r){function e(t,n){return c(t)&&a(n)?f(s(t),n):function(r){var e=u(r,t);return void 0===e&&e===n?i(r,t):o(n,e,p|v)}}var o=r(76),u=r(104),i=r(116),c=r(107),a=r(101),f=r(102),s=r(115),p=1,v=2;t.exports=e},function(t,n,r){function e(t,n,r){var e=null==t?void 0:o(t,n);return void 0===e?r:e}var o=r(105);t.exports=e},function(t,n,r){function e(t,n){n=o(n,t);for(var r=0,e=n.length;null!=t&&r<e;)t=t[u(n[r++])];return r&&r==e?t:void 0}var o=r(106),u=r(115);t.exports=e},function(t,n,r){function e(t,n){return o(t)?t:u(t,n)?[t]:i(c(t))}var o=r(19),u=r(107),i=r(109),c=r(112);t.exports=e},function(t,n,r){function e(t,n){if(o(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!u(t))||(c.test(t)||!i.test(t)||null!=n&&t in Object(n))}var o=r(19),u=r(108),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;t.exports=e},function(t,n,r){function e(t){return"symbol"==typeof t||u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Symbol]";t.exports=e},function(t,n,r){var e=r(110),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,i=e(function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,function(t,r,e,o){n.push(e?o.replace(u,"$1"):r||t)}),n});t.exports=i},function(t,n,r){function e(t){var n=o(t,function(t){return r.size===u&&r.clear(),t}),r=n.cache;return n}var o=r(111),u=500;t.exports=e},function(t,n,r){function e(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError(u);var r=function(){var e=arguments,o=n?n.apply(this,e):e[0],u=r.cache;if(u.has(o))return u.get(o);var i=t.apply(this,e);return r.cache=u.set(o,i)||u,i};return r.cache=new(e.Cache||o),r}var o=r(61),u="Expected a function";e.Cache=o,t.exports=e},function(t,n,r){function e(t){return null==t?"":o(t)}var o=r(113);t.exports=e},function(t,n,r){function e(t){if("string"==typeof t)return t;if(i(t))return u(t,e)+"";if(c(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}var o=r(13),u=r(114),i=r(19),c=r(108),a=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}t.exports=r},function(t,n,r){function e(t){if("string"==typeof t||o(t))return t;var n=t+"";return"0"==n&&1/t==-u?"-0":n}var o=r(108),u=1/0;t.exports=e},function(t,n,r){function e(t,n){return null!=t&&u(t,n,o)}var o=r(117),u=r(118);t.exports=e},function(t,n){function r(t,n){return null!=t&&n in Object(t)}t.exports=r},function(t,n,r){function e(t,n,r){n=o(n,t);for(var e=-1,s=n.length,p=!1;++e<s;){var v=f(n[e]);if(!(p=null!=t&&r(t,v)))break;t=t[v]}return p||++e!=s?p:(s=null==t?0:t.length,!!s&&a(s)&&c(v,s)&&(i(t)||u(t)))}var o=r(106),u=r(10),i=r(19),c=r(23),a=r(26),f=r(115);t.exports=e},function(t,n){function r(t){return t}t.exports=r},function(t,n,r){function e(t){return i(t)?o(c(t)):u(t)}var o=r(121),u=r(122),i=r(107),c=r(115);t.exports=e},function(t,n){function r(t){return function(n){return null==n?void 0:n[t]}}t.exports=r},function(t,n,r){function e(t){return function(n){return o(n,t)}}var o=r(105);t.exports=e},function(t,n){function r(t,n,r,e,o){return o(t,function(t,o,u){r=e?(e=!1,t):n(r,t,o,u)}),r}t.exports=r},function(t,n,r){function e(t,n){var r=c(t)?o:u;return r(t,i(n,3))}var o=r(93),u=r(125),i=r(37),c=r(19);t.exports=e},function(t,n,r){function e(t,n){var r=[];return o(t,function(t,e,o){n(t,e,o)&&r.push(t)}),r}var o=r(3);t.exports=e},function(t,n,r){function e(t,n){var r=c(t)?o:i;return r(t,u(n,3))}var o=r(114),u=r(37),i=r(127),c=r(19);t.exports=e},function(t,n,r){function e(t,n){var r=-1,e=u(t)?Array(t.length):[];return o(t,function(t,o,u){e[++r]=n(t,o,u)}),e}var o=r(3),u=r(33);t.exports=e},function(t,n,r){function e(t,n){var r=c(t)?o:u;return r(t,i(n))}var o=r(129),u=r(3),i=r(130),c=r(19);t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&n(t[r],r,t)!==!1;);return t}t.exports=r},function(t,n,r){function e(t){return"function"==typeof t?t:o}var o=r(119);t.exports=e},function(t,n,r){"use strict";var e=r(132);t.exports={breakProperties:function(t,n){return e.separateProperties(t,n)}}},function(t,n,r){"use strict";var e=r(7);t.exports={separateProperties:function(t,n){return{userPropertyNames:e(t),featurePropertyNames:e(n)}}}},function(t,n,r){"use strict";function e(t){return p(t,["toggle","throttle","buckets"])}function o(t,n){var r=e(n);v(t,r)}function u(t,n){var r=s(t,"toggle");return n&&r===!1}function i(t){return l(t,"toggle")||l(t,"throttle")||l(t,"buckets")}function c(t,n){return x(t)?n:t}function a(t,n,r){var e=r[n],o=t[n],u=b.getMatchedProperties(o,e);return c(u,e)}function f(t,n){v(t,n)}var s=r(104),p=r(134),v=r(151),l=r(173),x=r(175),h=r(176),g=r(132),b=r(187);t.exports={preparePrimer:function(t,n,r,e){var c=this,s={},p=r.userPropertyNames,v=r.featurePropertyNames;return i(n)&&o(s,n),u(s,e)||v.forEach(function(r){if(h(p,r)){var e=a(t,r,n),o=g.separateProperties(t,e),u=c.preparePrimer(t,e,o);f(s,u)}}),s}}},function(t,n,r){var e=r(135),o=r(141),u=o(function(t,n){return null==t?{}:e(t,n)});t.exports=u},function(t,n,r){function e(t,n){return o(t,n,function(n,r){return u(t,r)})}var o=r(136),u=r(116);t.exports=e},function(t,n,r){function e(t,n,r){for(var e=-1,c=n.length,a={};++e<c;){var f=n[e],s=o(t,f);r(s,f)&&u(a,i(f,t),s)}return a}var o=r(105),u=r(137),i=r(106);t.exports=e},function(t,n,r){function e(t,n,r,e){if(!c(t))return t;n=u(n,t);for(var f=-1,s=n.length,p=s-1,v=t;null!=v&&++f<s;){var l=a(n[f]),x=r;if(f!=p){var h=v[l];x=e?e(h,l,v):void 0,void 0===x&&(x=c(h)?h:i(n[f+1])?[]:{})}o(v,l,x),v=v[l]}return t}var o=r(138),u=r(106),i=r(23),c=r(35),a=r(115);t.exports=e},function(t,n,r){function e(t,n,r){var e=t[n];c.call(t,n)&&u(e,r)&&(void 0!==r||n in t)||o(t,n,r)}var o=r(139),u=r(45),i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n,r){"__proto__"==n&&o?o(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}var o=r(140);t.exports=e},function(t,n,r){var e=r(55),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n,r){function e(t){return i(u(t,void 0,o),t+"")}var o=r(142),u=r(145),i=r(147);t.exports=e},function(t,n,r){function e(t){var n=null==t?0:t.length;return n?o(t,1):[]}var o=r(143);t.exports=e},function(t,n,r){function e(t,n,r,i,c){var a=-1,f=t.length;for(r||(r=u),c||(c=[]);++a<f;){var s=t[a];n>0&&r(s)?n>1?e(s,n-1,r,i,c):o(c,s):i||(c[c.length]=s)}return c}var o=r(91),u=r(144);t.exports=e},function(t,n,r){function e(t){return i(t)||u(t)||!!(c&&t&&t[c])}var o=r(13),u=r(10),i=r(19),c=o?o.isConcatSpreadable:void 0;t.exports=e},function(t,n,r){function e(t,n,r){return n=u(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,c=u(e.length-n,0),a=Array(c);++i<c;)a[i]=e[n+i];i=-1;for(var f=Array(n+1);++i<n;)f[i]=e[i];return f[n]=r(a),o(t,this,f)}}var o=r(146),u=Math.max;t.exports=e},function(t,n){function r(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}t.exports=r},function(t,n,r){var e=r(148),o=r(150),u=o(e);t.exports=u},function(t,n,r){var e=r(149),o=r(140),u=r(119),i=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:e(n),writable:!0})}:u;t.exports=i},function(t,n){function r(t){return function(){return t}}t.exports=r},function(t,n){function r(t){var n=0,r=0;return function(){var i=u(),c=o-(i-r);if(r=i,c>0){if(++n>=e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var e=800,o=16,u=Date.now;t.exports=r},function(t,n,r){var e=r(152),o=r(170),u=o(function(t,n,r){e(t,n,r)});t.exports=u},function(t,n,r){function e(t,n,r,p,v){t!==n&&i(n,function(i,f){if(a(i))v||(v=new o),c(t,n,f,r,e,p,v);else{var l=p?p(s(t,f),i,f+"",t,n,v):void 0;void 0===l&&(l=i),u(t,f,l)}},f)}var o=r(40),u=r(153),i=r(5),c=r(154),a=r(35),f=r(167),s=r(164);t.exports=e},function(t,n,r){function e(t,n,r){(void 0===r||u(t[n],r))&&(void 0!==r||n in t)||o(t,n,r)}var o=r(139),u=r(45);t.exports=e},function(t,n,r){function e(t,n,r,e,d,_,j){var m=b(t,r),O=b(n,r),w=j.get(O);if(w)return void o(t,r,w);var P=_?_(m,O,r+"",t,n,j):void 0,k=void 0===P;if(k){var A=s(O),z=!A&&v(O),S=!A&&!z&&g(O);P=O,A||z||S?s(m)?P=m:p(m)?P=c(m):z?(k=!1,P=u(O,!0)):S?(k=!1,P=i(O,!0)):P=[]:h(O)||f(O)?(P=m,f(m)?P=y(m):(!x(m)||e&&l(m))&&(P=a(O))):k=!1}k&&(j.set(O,P),d(P,O,e,_,j),j.delete(O)),o(t,r,P)}var o=r(153),u=r(155),i=r(156),c=r(158),a=r(159),f=r(10),s=r(19),p=r(162),v=r(20),l=r(34),x=r(35),h=r(163),g=r(24),b=r(164),y=r(165);t.exports=e},function(t,n,r){(function(t){function e(t,n){if(n)return t.slice();var r=t.length,e=f?f(r):new t.constructor(r);return t.copy(e),e}var o=r(14),u="object"==typeof n&&n&&!n.nodeType&&n,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u,a=c?o.Buffer:void 0,f=a?a.allocUnsafe:void 0;t.exports=e}).call(n,r(21)(t))},function(t,n,r){function e(t,n){var r=n?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var o=r(157);t.exports=e},function(t,n,r){function e(t){var n=new t.constructor(t.byteLength);return new o(n).set(new o(t)),n}var o=r(85);t.exports=e},function(t,n){function r(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}t.exports=r},function(t,n,r){function e(t){return"function"!=typeof t.constructor||i(t)?{}:o(u(t))}var o=r(160),u=r(161),i=r(30);t.exports=e},function(t,n,r){var e=r(35),o=Object.create,u=function(){function t(){}return function(n){if(!e(n))return{};if(o)return o(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();t.exports=u},function(t,n,r){var e=r(32),o=e(Object.getPrototypeOf,Object);t.exports=o},function(t,n,r){function e(t){return u(t)&&o(t)}var o=r(33),u=r(18);t.exports=e},function(t,n,r){function e(t){if(!i(t)||o(t)!=c)return!1;var n=u(t);if(null===n)return!0;var r=p.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==v}var o=r(12),u=r(161),i=r(18),c="[object Object]",a=Function.prototype,f=Object.prototype,s=a.toString,p=f.hasOwnProperty,v=s.call(Object);t.exports=e},function(t,n){function r(t,n){return"__proto__"==n?void 0:t[n]}t.exports=r},function(t,n,r){function e(t){return o(t,u(t))}var o=r(166),u=r(167);t.exports=e},function(t,n,r){function e(t,n,r,e){var i=!r;r||(r={});for(var c=-1,a=n.length;++c<a;){var f=n[c],s=e?e(r[f],t[f],f,r,t):void 0;void 0===s&&(s=t[f]),i?u(r,f,s):o(r,f,s)}return r}var o=r(138),u=r(139);t.exports=e},function(t,n,r){function e(t){return i(t)?o(t,!0):u(t)}var o=r(8),u=r(168),i=r(33);t.exports=e},function(t,n,r){function e(t){if(!o(t))return i(t);var n=u(t),r=[];for(var e in t)("constructor"!=e||!n&&a.call(t,e))&&r.push(e);return r}var o=r(35),u=r(30),i=r(169),c=Object.prototype,a=c.hasOwnProperty;t.exports=e},function(t,n){function r(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}t.exports=r},function(t,n,r){function e(t){return o(function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,c=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,c&&u(r[0],r[1],c)&&(i=o<3?void 0:i,o=1),n=Object(n);++e<o;){var a=r[e];a&&t(n,a,e,i)}return n})}var o=r(171),u=r(172);t.exports=e},function(t,n,r){function e(t,n){return i(u(t,n,o),t+"")}var o=r(119),u=r(145),i=r(147);t.exports=e},function(t,n,r){function e(t,n,r){if(!c(r))return!1;var e=typeof n;return!!("number"==e?u(r)&&i(n,r.length):"string"==e&&n in r)&&o(r[n],t)}var o=r(45),u=r(33),i=r(23),c=r(35);t.exports=e},function(t,n,r){function e(t,n){return null!=t&&u(t,n,o)}var o=r(174),u=r(118);t.exports=e},function(t,n){function r(t,n){return null!=t&&o.call(t,n)}var e=Object.prototype,o=e.hasOwnProperty;t.exports=r},function(t,n){function r(t){return void 0===t}t.exports=r},function(t,n,r){function e(t,n,r,e){t=u(t)?t:a(t),r=r&&!e?c(r):0;var s=t.length;return r<0&&(r=f(s+r,0)),i(t)?r<=s&&t.indexOf(n,r)>-1:!!s&&o(t,n,r)>-1}var o=r(177),u=r(33),i=r(181),c=r(182),a=r(185),f=Math.max;t.exports=e},function(t,n,r){function e(t,n,r){return n===n?i(t,n,r):o(t,u,r)}var o=r(178),u=r(179),i=r(180);t.exports=e},function(t,n){function r(t,n,r,e){for(var o=t.length,u=r+(e?1:-1);e?u--:++u<o;)if(n(t[u],u,t))return u;return-1}t.exports=r},function(t,n){function r(t){return t!==t}t.exports=r},function(t,n){function r(t,n,r){for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}t.exports=r},function(t,n,r){function e(t){return"string"==typeof t||!u(t)&&i(t)&&o(t)==c}var o=r(12),u=r(19),i=r(18),c="[object String]";t.exports=e},function(t,n,r){function e(t){var n=o(t),r=n%1;return n===n?r?n-r:n:0}var o=r(183);t.exports=e},function(t,n,r){function e(t){if(!t)return 0===t?t:0;if(t=o(t),t===u||t===-u){var n=t<0?-1:1;return n*i}return t===t?t:0}var o=r(184),u=1/0,i=1.7976931348623157e308;t.exports=e},function(t,n,r){function e(t){if("number"==typeof t)return t;if(u(t))return i;if(o(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=o(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(c,"");var r=f.test(t);return r||s.test(t)?p(t.slice(2),r?2:8):a.test(t)?i:+t}var o=r(35),u=r(108),i=NaN,c=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,s=/^0o[0-7]+$/i,p=parseInt;t.exports=e},function(t,n,r){function e(t){return null==t?[]:o(t,u(t))}var o=r(186),u=r(7);t.exports=e},function(t,n,r){function e(t,n){return o(n,function(n){return t[n]})}var o=r(114);t.exports=e},function(t,n,r){"use strict";function e(t,n){return u.isRegex(n)?u:i.isNumber(t)&&i.isNumericQuantifier(n)?i:c}var o=r(188),u=r(191),i=r(192),c={matchesPropertyValue:function(t,n){return t===n}};t.exports={getMatchedProperties:function(t,n){return o(n,function(n,r){var o=e(t,r);return o.matchesPropertyValue(t,r)})}}},function(t,n,r){var e=r(189),o=r(190),u=e(o);t.exports=u},function(t,n,r){function e(t){return function(n,r,e){var c=Object(n);if(!u(n)){var a=o(r,3);n=i(n),r=function(t){return a(c[t],t,c)}}var f=t(n,r,e);return f>-1?c[a?n[f]:f]:void 0}}var o=r(37),u=r(33),i=r(7);t.exports=e},function(t,n,r){function e(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var f=e-1;return void 0!==r&&(f=i(r),f=r<0?c(e+f,0):a(f,e-1)),o(t,u(n,3),f,!0)}var o=r(178),u=r(37),i=r(182),c=Math.max,a=Math.min; | ||
t.exports=e},function(t,n){"use strict";function r(t){return t.substring(1,t.length-1)}var e=/^\/.+\/$/;t.exports={isRegex:function(t){return e.test(t)},matchesPropertyValue:function(t,n){var e=r(n),o=new RegExp("^"+e+"$");return o.test(t)}}},function(module,exports){"use strict";function isExpressionValid(t){return validExpressionRegex.test(t)}var numberRegex=/-?\d+(\.\d{1,2})?/,operatorRegex=/[><]=?/,numericQuantifierRegex=new RegExp(operatorRegex.source+numberRegex.source),validExpressionRegex=new RegExp(numberRegex.source+operatorRegex.source+numberRegex.source);module.exports={isNumber:function(t){return numberRegex.test(t)},isNumericQuantifier:function(t){return numericQuantifierRegex.test(t)},matchesPropertyValue:function(propertyValue,numericQuantifierStr){var expression=propertyValue+numericQuantifierStr;return!!isExpressionValid(expression)&&eval(expression)}}},function(t,n,r){"use strict";function e(t,n,r){return t.push(c({name:n},r))}function o(t,n){var r={type:"toggle",toggle:!1};return t.toggle!==!1&&(f.isThrottleValid(t.throttle)?(r.toggle=f.mutate(t.throttle,n),r.type="throttle"):t.toggle===!0&&(r.toggle=!0)),r}function u(t,n){return t.toggle&&a.containsMultivariant(n)}function i(t,n,r,o,u){var i=a.mutate(r,u),c={toggle:o.toggle,type:"bucket"};e(t,n+"."+i,c)}var c=r(151),a=r(194),f=r(196),s=r(197),p=r(200);t.exports={assembleFeatures:function(t,n,r){var c=[];if(p.areInstructionsValid(n)){var a=s.pairGene(r,t),f=o(n,a);e(c,t,f),u(f,n)&&i(c,t,n,f,a)}else e(c,t,{toggle:!1,type:"toggle"});return c}}},function(t,n,r){"use strict";function e(t){if(!i(t))throw"Not an array!";var n=Math.floor(Math.random()*t.length);return t[n]}function o(t){return!c(t)&&"bucket"===t.type}function u(t,n){return a(t.buckets,n.toggle)}var i=r(19),c=r(195),a=r(176);t.exports={mutate:function(t,n){return o(n)&&u(t,n)?n.toggle:e(t.buckets)},containsMultivariant:function(t){return this.isBucketListValid(t.buckets)},isBucketListValid:function(t){return i(t)&&t.length>=0}}},function(t,n,r){function e(t){if(null==t)return!0;if(a(t)&&(c(t)||"string"==typeof t||"function"==typeof t.splice||f(t)||p(t)||i(t)))return!t.length;var n=u(t);if(n==v||n==l)return!t.size;if(s(t))return!o(t).length;for(var r in t)if(h.call(t,r))return!1;return!0}var o=r(29),u=r(95),i=r(10),c=r(19),a=r(33),f=r(20),s=r(30),p=r(24),v="[object Map]",l="[object Set]",x=Object.prototype,h=x.hasOwnProperty;t.exports=e},function(t,n,r){"use strict";function e(t){return!s(t)&&p(t)&&t.match(/^(100|\d{1,2})\%/)}function o(t){return v(t)&&p(t.value)&&e(t.value)}function u(t){var n;return n=o(t)?t.value:t}function i(t){var n=u(t),r=n.substr(0,n.length-1);return r/100}function c(t){return o(t)||e(t)}function a(t){return!l(t)&&"throttle"===t.type}function f(t){return!s(t.mutate)&&"force"===t.mutate}var s=r(175),p=r(181),v=r(163),l=r(195);t.exports={mutate:function(t,n){if(!f(t)&&a(n))return n.toggle;var r=i(t);return Math.random()<r},isThrottleValid:function(t){return c(t)}}},function(t,n,r){"use strict";function e(t,n){return s(t,function(t){return 0===t.indexOf(n)})}function o(t,n){return e(t,n).length>0}function u(t,n){return o(v(t.toggles),n)}function i(t,n){return o(t.buckets,n)}function c(t,n){return o(t.throttles,n)}function a(t){var n=t.indexOf(".");return n>=0?t.substring(n+1):""}function f(t,n){var r=e(t.buckets,n),o=p(r,function(n){return t.toggles[n]});return l(o)?a(o):""}var s=r(124),p=r(198),v=r(7),l=r(181);t.exports={pairGene:function(t,n){var r={};if(u(t,n)){var e="toggle",o=t.toggles[n];i(t,n)?(e="bucket",o=f(t,n)):c(t,n)&&(e="throttle"),r.toggle=o,r.type=e}return r}}},function(t,n,r){var e=r(189),o=r(199),u=e(o);t.exports=u},function(t,n,r){function e(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var a=null==r?0:i(r);return a<0&&(a=c(e+a,0)),o(t,u(n,3),a)}var o=r(178),u=r(37),i=r(182),c=Math.max;t.exports=e},function(t,n,r){"use strict";var e=r(104),o=r(175),u=r(201),i=r(202),c=r(19),a=r(35),f=r(194),s=r(196);t.exports={areInstructionsValid:function(t){var n=e(t,"toggle"),r=e(t,"throttle"),o=e(t,"buckets");return this.isToggleValid(n)&&this.isThrottleValid(r)&&this.areBucketsValid(o)},isToggleValid:function(t){return o(t)||u(t)},isThrottleValid:function(t){return o(t)||s.isThrottleValid(t)},areBucketsValid:function(t){return o(t)||f.isBucketListValid(t)},checkFeatureInstructions:function(t){var n=o(t)||i(t)||!c(t)&&a(t);if(!n)throw new Error("Invalid feature instructions!")}}},function(t,n,r){function e(t){return t===!0||t===!1||u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Boolean]";t.exports=e},function(t,n){function r(t){return null===t}t.exports=r}])}); |
@@ -1,2 +0,2 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.muton=n():t.muton=n()}(this,function(){return function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=t,n.c=r,n.p="",n(0)}([function(t,n,r){function e(t,n){t.toggles=c(n,function(t,n){return t[n.name]=n.toggle,t},t.toggles)}function o(t,n){var r=a(n,{type:"bucket"}),e=f(r,"name");t.buckets=t.buckets.concat(e)}function u(t,n){var r=a(n,{type:"throttle"}),e=f(r,"name");t.throttles=t.throttles.concat(e)}function i(t,n){e(t,n),o(t,n),u(t,n)}var c=r(1),a=r(124),f=r(126),s=r(128),p=r(131),v=r(133),l=r(192),x=r(199),h={getFeatureMutations:function(t,n){return this.getMutations(t,n).toggles},getMutations:function(t,n){return this.inheritMutations(t,n,{})},inheritMutations:function(t,n,r){var e={toggles:{},buckets:[],throttles:[]};return x.checkFeatureInstructions(n),s(n,function(n,o){var u=p.breakProperties(t,n),c=v.preparePrimer(t,n,u,!0),a=l.assembleFeatures(o,c,r);i(e,a)}),e}};t.exports=h},function(t,n,r){function e(t,n,r){var e=a(t)?o:c,f=arguments.length<3;return e(t,i(n,4),r,f,u)}var o=r(2),u=r(3),i=r(37),c=r(123),a=r(19);t.exports=e},function(t,n){function r(t,n,r,e){var o=-1,u=null==t?0:t.length;for(e&&u&&(r=t[++o]);++o<u;)r=n(r,t[o],o,t);return r}t.exports=r},function(t,n,r){var e=r(4),o=r(36),u=o(e);t.exports=u},function(t,n,r){function e(t,n){return t&&o(t,n,u)}var o=r(5),u=r(7);t.exports=e},function(t,n,r){var e=r(6),o=e();t.exports=o},function(t,n){function r(t){return function(n,r,e){for(var o=-1,u=Object(n),i=e(n),c=i.length;c--;){var a=i[t?c:++o];if(r(u[a],a,u)===!1)break}return n}}t.exports=r},function(t,n,r){function e(t){return i(t)?o(t):u(t)}var o=r(8),u=r(29),i=r(33);t.exports=e},function(t,n,r){function e(t,n){var r=i(t),e=!r&&u(t),s=!r&&!e&&c(t),v=!r&&!e&&!s&&f(t),l=r||e||s||v,x=l?o(t.length,String):[],h=x.length;for(var g in t)!n&&!p.call(t,g)||l&&("length"==g||s&&("offset"==g||"parent"==g)||v&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,h))||x.push(g);return x}var o=r(9),u=r(10),i=r(19),c=r(20),a=r(23),f=r(24),s=Object.prototype,p=s.hasOwnProperty;t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}t.exports=r},function(t,n,r){var e=r(11),o=r(18),u=Object.prototype,i=u.hasOwnProperty,c=u.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(t){return o(t)&&i.call(t,"callee")&&!c.call(t,"callee")};t.exports=a},function(t,n,r){function e(t){return u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Arguments]";t.exports=e},function(t,n,r){function e(t){return null==t?void 0===t?a:c:f&&f in Object(t)?u(t):i(t)}var o=r(13),u=r(16),i=r(17),c="[object Null]",a="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=e},function(t,n,r){var e=r(14),o=e.Symbol;t.exports=o},function(t,n,r){var e=r(15),o="object"==typeof self&&self&&self.Object===Object&&self,u=e||o||Function("return this")();t.exports=u},function(t,n){(function(n){var r="object"==typeof n&&n&&n.Object===Object&&n;t.exports=r}).call(n,function(){return this}())},function(t,n,r){function e(t){var n=i.call(t,a),r=t[a];try{t[a]=void 0;var e=!0}catch(t){}var o=c.call(t);return e&&(n?t[a]=r:delete t[a]),o}var o=r(13),u=Object.prototype,i=u.hasOwnProperty,c=u.toString,a=o?o.toStringTag:void 0;t.exports=e},function(t,n){function r(t){return o.call(t)}var e=Object.prototype,o=e.toString;t.exports=r},function(t,n){function r(t){return null!=t&&"object"==typeof t}t.exports=r},function(t,n){var r=Array.isArray;t.exports=r},function(t,n,r){(function(t){var e=r(14),o=r(22),u="object"==typeof n&&n&&!n.nodeType&&n,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u,a=c?e.Buffer:void 0,f=a?a.isBuffer:void 0,s=f||o;t.exports=s}).call(n,r(21)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n){function r(){return!1}t.exports=r},function(t,n){function r(t,n){return n=null==n?e:n,!!n&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&t<n}var e=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=r},function(t,n,r){var e=r(25),o=r(27),u=r(28),i=u&&u.isTypedArray,c=i?o(i):e;t.exports=c},function(t,n,r){function e(t){return i(t)&&u(t.length)&&!!M[o(t)]}var o=r(12),u=r(26),i=r(18),c="[object Arguments]",a="[object Array]",f="[object Boolean]",s="[object Date]",p="[object Error]",v="[object Function]",l="[object Map]",x="[object Number]",h="[object Object]",g="[object RegExp]",b="[object Set]",y="[object String]",d="[object WeakMap]",_="[object ArrayBuffer]",j="[object DataView]",m="[object Float32Array]",O="[object Float64Array]",w="[object Int8Array]",P="[object Int16Array]",k="[object Int32Array]",A="[object Uint8Array]",z="[object Uint8ClampedArray]",S="[object Uint16Array]",V="[object Uint32Array]",M={};M[m]=M[O]=M[w]=M[P]=M[k]=M[A]=M[z]=M[S]=M[V]=!0,M[c]=M[a]=M[_]=M[f]=M[j]=M[s]=M[p]=M[v]=M[l]=M[x]=M[h]=M[g]=M[b]=M[y]=M[d]=!1,t.exports=e},function(t,n){function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}var e=9007199254740991;t.exports=r},function(t,n){function r(t){return function(n){return t(n)}}t.exports=r},function(t,n,r){(function(t){var e=r(15),o="object"==typeof n&&n&&!n.nodeType&&n,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o,c=i&&e.process,a=function(){try{return c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=a}).call(n,r(21)(t))},function(t,n,r){function e(t){if(!o(t))return u(t);var n=[];for(var r in Object(t))c.call(t,r)&&"constructor"!=r&&n.push(r);return n}var o=r(30),u=r(31),i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n){function r(t){var n=t&&t.constructor,r="function"==typeof n&&n.prototype||e;return t===r}var e=Object.prototype;t.exports=r},function(t,n,r){var e=r(32),o=e(Object.keys,Object);t.exports=o},function(t,n){function r(t,n){return function(r){return t(n(r))}}t.exports=r},function(t,n,r){function e(t){return null!=t&&u(t.length)&&!o(t)}var o=r(34),u=r(26);t.exports=e},function(t,n,r){function e(t){if(!u(t))return!1;var n=o(t);return n==c||n==a||n==i||n==f}var o=r(12),u=r(35),i="[object AsyncFunction]",c="[object Function]",a="[object GeneratorFunction]",f="[object Proxy]";t.exports=e},function(t,n){function r(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}t.exports=r},function(t,n,r){function e(t,n){return function(r,e){if(null==r)return r;if(!o(r))return t(r,e);for(var u=r.length,i=n?u:-1,c=Object(r);(n?i--:++i<u)&&e(c[i],i,c)!==!1;);return r}}var o=r(33);t.exports=e},function(t,n,r){function e(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?c(t)?u(t[0],t[1]):o(t):a(t)}var o=r(38),u=r(103),i=r(119),c=r(19),a=r(120);t.exports=e},function(t,n,r){function e(t){var n=u(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(r){return r===t||o(r,t,n)}}var o=r(39),u=r(100),i=r(102);t.exports=e},function(t,n,r){function e(t,n,r,e){var a=r.length,f=a,s=!e;if(null==t)return!f;for(t=Object(t);a--;){var p=r[a];if(s&&p[2]?p[1]!==t[p[0]]:!(p[0]in t))return!1}for(;++a<f;){p=r[a];var v=p[0],l=t[v],x=p[1];if(s&&p[2]){if(void 0===l&&!(v in t))return!1}else{var h=new o;if(e)var g=e(l,x,v,t,n,h);if(!(void 0===g?u(x,l,i|c,e,h):g))return!1}}return!0}var o=r(40),u=r(76),i=1,c=2;t.exports=e},function(t,n,r){function e(t){var n=this.__data__=new o(t);this.size=n.size}var o=r(41),u=r(49),i=r(50),c=r(51),a=r(52),f=r(53);e.prototype.clear=u,e.prototype.delete=i,e.prototype.get=c,e.prototype.has=a,e.prototype.set=f,t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(42),u=r(43),i=r(46),c=r(47),a=r(48);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n){function r(){this.__data__=[],this.size=0}t.exports=r},function(t,n,r){function e(t){var n=this.__data__,r=o(n,t);if(r<0)return!1;var e=n.length-1;return r==e?n.pop():i.call(n,r,1),--this.size,!0}var o=r(44),u=Array.prototype,i=u.splice;t.exports=e},function(t,n,r){function e(t,n){for(var r=t.length;r--;)if(o(t[r][0],n))return r;return-1}var o=r(45);t.exports=e},function(t,n){function r(t,n){return t===n||t!==t&&n!==n}t.exports=r},function(t,n,r){function e(t){var n=this.__data__,r=o(n,t);return r<0?void 0:n[r][1]}var o=r(44);t.exports=e},function(t,n,r){function e(t){return o(this.__data__,t)>-1}var o=r(44);t.exports=e},function(t,n,r){function e(t,n){var r=this.__data__,e=o(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this}var o=r(44);t.exports=e},function(t,n,r){function e(){this.__data__=new o,this.size=0}var o=r(41);t.exports=e},function(t,n){function r(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}t.exports=r},function(t,n){function r(t){return this.__data__.get(t)}t.exports=r},function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},function(t,n,r){function e(t,n){var r=this.__data__;if(r instanceof o){var e=r.__data__;if(!u||e.length<c-1)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new i(e)}return r.set(t,n),this.size=r.size,this}var o=r(41),u=r(54),i=r(61),c=200;t.exports=e},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Map");t.exports=u},function(t,n,r){function e(t,n){var r=u(t,n);return o(r)?r:void 0}var o=r(56),u=r(60);t.exports=e},function(t,n,r){function e(t){if(!i(t)||u(t))return!1;var n=o(t)?x:f;return n.test(c(t))}var o=r(34),u=r(57),i=r(35),c=r(59),a=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Function.prototype,p=Object.prototype,v=s.toString,l=p.hasOwnProperty,x=RegExp("^"+v.call(l).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=e},function(t,n,r){function e(t){return!!u&&u in t}var o=r(58),u=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=e},function(t,n,r){var e=r(14),o=e["__core-js_shared__"];t.exports=o},function(t,n){function r(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var e=Function.prototype,o=e.toString;t.exports=r},function(t,n){function r(t,n){return null==t?void 0:t[n]}t.exports=r},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(62),u=r(70),i=r(73),c=r(74),a=r(75);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n,r){function e(){this.size=0,this.__data__={hash:new o,map:new(i||u),string:new o}}var o=r(63),u=r(41),i=r(54);t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(64),u=r(66),i=r(67),c=r(68),a=r(69);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n,r){function e(){this.__data__=o?o(null):{},this.size=0}var o=r(65);t.exports=e},function(t,n,r){var e=r(55),o=e(Object,"create");t.exports=o},function(t,n){function r(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}t.exports=r},function(t,n,r){function e(t){var n=this.__data__;if(o){var r=n[t];return r===u?void 0:r}return c.call(n,t)?n[t]:void 0}var o=r(65),u="__lodash_hash_undefined__",i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t){var n=this.__data__;return o?void 0!==n[t]:i.call(n,t)}var o=r(65),u=Object.prototype,i=u.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=o&&void 0===n?u:n,this}var o=r(65),u="__lodash_hash_undefined__";t.exports=e},function(t,n,r){function e(t){var n=o(this,t).delete(t);return this.size-=n?1:0,n}var o=r(71);t.exports=e},function(t,n,r){function e(t,n){var r=t.__data__;return o(n)?r["string"==typeof n?"string":"hash"]:r.map}var o=r(72);t.exports=e},function(t,n){function r(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}t.exports=r},function(t,n,r){function e(t){return o(this,t).get(t)}var o=r(71);t.exports=e},function(t,n,r){function e(t){return o(this,t).has(t)}var o=r(71);t.exports=e},function(t,n,r){function e(t,n){var r=o(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this}var o=r(71);t.exports=e},function(t,n,r){function e(t,n,r,i,c){return t===n||(null==t||null==n||!u(t)&&!u(n)?t!==t&&n!==n:o(t,n,r,i,e,c))}var o=r(77),u=r(18);t.exports=e},function(t,n,r){function e(t,n,r,e,g,y){var d=f(t),_=f(n),j=d?x:a(t),m=_?x:a(n);j=j==l?h:j,m=m==l?h:m;var O=j==h,w=m==h,P=j==m;if(P&&s(t)){if(!s(n))return!1;d=!0,O=!1}if(P&&!O)return y||(y=new o),d||p(t)?u(t,n,r,e,g,y):i(t,n,j,r,e,g,y);if(!(r&v)){var k=O&&b.call(t,"__wrapped__"),A=w&&b.call(n,"__wrapped__");if(k||A){var z=k?t.value():t,S=A?n.value():n;return y||(y=new o),g(z,S,r,e,y)}}return!!P&&(y||(y=new o),c(t,n,r,e,g,y))}var o=r(40),u=r(78),i=r(84),c=r(88),a=r(95),f=r(19),s=r(20),p=r(24),v=1,l="[object Arguments]",x="[object Array]",h="[object Object]",g=Object.prototype,b=g.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n,r,e,f,s){var p=r&c,v=t.length,l=n.length;if(v!=l&&!(p&&l>v))return!1;var x=s.get(t);if(x&&s.get(n))return x==n;var h=-1,g=!0,b=r&a?new o:void 0;for(s.set(t,n),s.set(n,t);++h<v;){var y=t[h],d=n[h];if(e)var _=p?e(d,y,h,n,t,s):e(y,d,h,t,n,s);if(void 0!==_){if(_)continue;g=!1;break}if(b){if(!u(n,function(t,n){if(!i(b,n)&&(y===t||f(y,t,r,e,s)))return b.push(n)})){g=!1;break}}else if(y!==d&&!f(y,d,r,e,s)){g=!1;break}}return s.delete(t),s.delete(n),g}var o=r(79),u=r(82),i=r(83),c=1,a=2;t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new o;++n<r;)this.add(t[n])}var o=r(61),u=r(80),i=r(81);e.prototype.add=e.prototype.push=u,e.prototype.has=i,t.exports=e},function(t,n){function r(t){return this.__data__.set(t,e),this}var e="__lodash_hash_undefined__";t.exports=r},function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}t.exports=r},function(t,n){function r(t,n){return t.has(n)}t.exports=r},function(t,n,r){function e(t,n,r,e,o,O,P){switch(r){case m:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case j:return!(t.byteLength!=n.byteLength||!O(new u(t),new u(n)));case v:case l:case g:return i(+t,+n);case x:return t.name==n.name&&t.message==n.message;case b:case d:return t==n+"";case h:var k=a;case y:var A=e&s;if(k||(k=f),t.size!=n.size&&!A)return!1;var z=P.get(t);if(z)return z==n;e|=p,P.set(t,n);var S=c(k(t),k(n),e,o,O,P);return P.delete(t),S;case _:if(w)return w.call(t)==w.call(n)}return!1}var o=r(13),u=r(85),i=r(45),c=r(78),a=r(86),f=r(87),s=1,p=2,v="[object Boolean]",l="[object Date]",x="[object Error]",h="[object Map]",g="[object Number]",b="[object RegExp]",y="[object Set]",d="[object String]",_="[object Symbol]",j="[object ArrayBuffer]",m="[object DataView]",O=o?o.prototype:void 0,w=O?O.valueOf:void 0;t.exports=e},function(t,n,r){var e=r(14),o=e.Uint8Array;t.exports=o},function(t,n){function r(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}t.exports=r},function(t,n){function r(t){var n=-1,r=Array(t.size);return t.forEach(function(t){r[++n]=t}),r}t.exports=r},function(t,n,r){function e(t,n,r,e,i,a){var f=r&u,s=o(t),p=s.length,v=o(n),l=v.length;if(p!=l&&!f)return!1;for(var x=p;x--;){var h=s[x];if(!(f?h in n:c.call(n,h)))return!1}var g=a.get(t);if(g&&a.get(n))return g==n;var b=!0;a.set(t,n),a.set(n,t);for(var y=f;++x<p;){h=s[x];var d=t[h],_=n[h];if(e)var j=f?e(_,d,h,n,t,a):e(d,_,h,t,n,a);if(!(void 0===j?d===_||i(d,_,r,e,a):j)){b=!1;break}y||(y="constructor"==h)}if(b&&!y){var m=t.constructor,O=n.constructor;m!=O&&"constructor"in t&&"constructor"in n&&!("function"==typeof m&&m instanceof m&&"function"==typeof O&&O instanceof O)&&(b=!1)}return a.delete(t),a.delete(n),b}var o=r(89),u=1,i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t){return o(t,i,u)}var o=r(90),u=r(92),i=r(7);t.exports=e},function(t,n,r){function e(t,n,r){var e=n(t);return u(t)?e:o(e,r(t))}var o=r(91),u=r(19);t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}t.exports=r},function(t,n,r){var e=r(93),o=r(94),u=Object.prototype,i=u.propertyIsEnumerable,c=Object.getOwnPropertySymbols,a=c?function(t){return null==t?[]:(t=Object(t),e(c(t),function(n){return i.call(t,n)}))}:o;t.exports=a},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length,o=0,u=[];++r<e;){var i=t[r];n(i,r,t)&&(u[o++]=i)}return u}t.exports=r},function(t,n){function r(){return[]}t.exports=r},function(t,n,r){var e=r(96),o=r(54),u=r(97),i=r(98),c=r(99),a=r(12),f=r(59),s="[object Map]",p="[object Object]",v="[object Promise]",l="[object Set]",x="[object WeakMap]",h="[object DataView]",g=f(e),b=f(o),y=f(u),d=f(i),_=f(c),j=a;(e&&j(new e(new ArrayBuffer(1)))!=h||o&&j(new o)!=s||u&&j(u.resolve())!=v||i&&j(new i)!=l||c&&j(new c)!=x)&&(j=function(t){var n=a(t),r=n==p?t.constructor:void 0,e=r?f(r):"";if(e)switch(e){case g:return h;case b:return s;case y:return v;case d:return l;case _:return x}return n}),t.exports=j},function(t,n,r){var e=r(55),o=r(14),u=e(o,"DataView");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Promise");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Set");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"WeakMap");t.exports=u},function(t,n,r){function e(t){for(var n=u(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,o(i)]}return n}var o=r(101),u=r(7);t.exports=e},function(t,n,r){function e(t){return t===t&&!o(t)}var o=r(35);t.exports=e},function(t,n){function r(t,n){return function(r){return null!=r&&(r[t]===n&&(void 0!==n||t in Object(r)))}}t.exports=r},function(t,n,r){function e(t,n){return c(t)&&a(n)?f(s(t),n):function(r){var e=u(r,t);return void 0===e&&e===n?i(r,t):o(n,e,p|v)}}var o=r(76),u=r(104),i=r(116),c=r(107),a=r(101),f=r(102),s=r(115),p=1,v=2;t.exports=e},function(t,n,r){function e(t,n,r){var e=null==t?void 0:o(t,n);return void 0===e?r:e}var o=r(105);t.exports=e},function(t,n,r){function e(t,n){n=o(n,t);for(var r=0,e=n.length;null!=t&&r<e;)t=t[u(n[r++])];return r&&r==e?t:void 0}var o=r(106),u=r(115);t.exports=e},function(t,n,r){function e(t,n){return o(t)?t:u(t,n)?[t]:i(c(t))}var o=r(19),u=r(107),i=r(109),c=r(112);t.exports=e},function(t,n,r){function e(t,n){if(o(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!u(t))||(c.test(t)||!i.test(t)||null!=n&&t in Object(n))}var o=r(19),u=r(108),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;t.exports=e},function(t,n,r){function e(t){return"symbol"==typeof t||u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Symbol]";t.exports=e},function(t,n,r){var e=r(110),o=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,c=e(function(t){var n=[];return o.test(t)&&n.push(""),t.replace(u,function(t,r,e,o){n.push(e?o.replace(i,"$1"):r||t)}),n});t.exports=c},function(t,n,r){function e(t){var n=o(t,function(t){return r.size===u&&r.clear(),t}),r=n.cache;return n}var o=r(111),u=500;t.exports=e},function(t,n,r){function e(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError(u);var r=function(){var e=arguments,o=n?n.apply(this,e):e[0],u=r.cache;if(u.has(o))return u.get(o);var i=t.apply(this,e);return r.cache=u.set(o,i)||u,i};return r.cache=new(e.Cache||o),r}var o=r(61),u="Expected a function";e.Cache=o,t.exports=e},function(t,n,r){function e(t){return null==t?"":o(t)}var o=r(113);t.exports=e},function(t,n,r){function e(t){if("string"==typeof t)return t;if(i(t))return u(t,e)+"";if(c(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}var o=r(13),u=r(114),i=r(19),c=r(108),a=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}t.exports=r},function(t,n,r){function e(t){if("string"==typeof t||o(t))return t;var n=t+"";return"0"==n&&1/t==-u?"-0":n}var o=r(108),u=1/0;t.exports=e},function(t,n,r){function e(t,n){return null!=t&&u(t,n,o)}var o=r(117),u=r(118);t.exports=e},function(t,n){function r(t,n){return null!=t&&n in Object(t)}t.exports=r},function(t,n,r){function e(t,n,r){n=o(n,t);for(var e=-1,s=n.length,p=!1;++e<s;){var v=f(n[e]);if(!(p=null!=t&&r(t,v)))break;t=t[v]}return p||++e!=s?p:(s=null==t?0:t.length,!!s&&a(s)&&c(v,s)&&(i(t)||u(t)))}var o=r(106),u=r(10),i=r(19),c=r(23),a=r(26),f=r(115);t.exports=e},function(t,n){function r(t){return t}t.exports=r},function(t,n,r){function e(t){return i(t)?o(c(t)):u(t)}var o=r(121),u=r(122),i=r(107),c=r(115);t.exports=e},function(t,n){function r(t){return function(n){return null==n?void 0:n[t]}}t.exports=r},function(t,n,r){function e(t){return function(n){return o(n,t)}}var o=r(105);t.exports=e},function(t,n){function r(t,n,r,e,o){return o(t,function(t,o,u){r=e?(e=!1,t):n(r,t,o,u)}),r}t.exports=r},function(t,n,r){function e(t,n){var r=c(t)?o:u;return r(t,i(n,3))}var o=r(93),u=r(125),i=r(37),c=r(19);t.exports=e},function(t,n,r){function e(t,n){var r=[];return o(t,function(t,e,o){n(t,e,o)&&r.push(t)}),r}var o=r(3);t.exports=e},function(t,n,r){function e(t,n){var r=c(t)?o:i;return r(t,u(n,3))}var o=r(114),u=r(37),i=r(127),c=r(19);t.exports=e},function(t,n,r){function e(t,n){var r=-1,e=u(t)?Array(t.length):[];return o(t,function(t,o,u){e[++r]=n(t,o,u)}),e}var o=r(3),u=r(33);t.exports=e},function(t,n,r){function e(t,n){var r=c(t)?o:u;return r(t,i(n))}var o=r(129),u=r(3),i=r(130),c=r(19);t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&n(t[r],r,t)!==!1;);return t}t.exports=r},function(t,n,r){function e(t){return"function"==typeof t?t:o}var o=r(119);t.exports=e},function(t,n,r){"use strict";var e=r(132);t.exports={breakProperties:function(t,n){return e.separateProperties(t,n)}}},function(t,n,r){"use strict";var e=r(7);t.exports={separateProperties:function(t,n){return{userPropertyNames:e(t),featurePropertyNames:e(n)}}}},function(t,n,r){"use strict";function e(t){return p(t,["toggle","throttle","buckets"])}function o(t,n){var r=e(n);v(t,r)}function u(t,n){var r=s(t,"toggle");return n&&r===!1}function i(t){return l(t,"toggle")||l(t,"throttle")||l(t,"buckets")}function c(t,n){return x(t)?n:t}function a(t,n,r){var e=r[n],o=t[n],u=b.getMatchedProperties(o,e);return c(u,e)}function f(t,n){v(t,n)}var s=r(104),p=r(134),v=r(151),l=r(172),x=r(174),h=r(175),g=r(132),b=r(186);t.exports={preparePrimer:function(t,n,r,e){var c=this,s={},p=r.userPropertyNames,v=r.featurePropertyNames;return i(n)&&o(s,n),u(s,e)||v.forEach(function(r){if(h(p,r)){var e=a(t,r,n),o=g.separateProperties(t,e),u=c.preparePrimer(t,e,o);f(s,u)}}),s}}},function(t,n,r){var e=r(135),o=r(141),u=o(function(t,n){return null==t?{}:e(t,n)});t.exports=u},function(t,n,r){function e(t,n){return o(t,n,function(n,r){return u(t,r)})}var o=r(136),u=r(116);t.exports=e},function(t,n,r){function e(t,n,r){for(var e=-1,c=n.length,a={};++e<c;){var f=n[e],s=o(t,f);r(s,f)&&u(a,i(f,t),s)}return a}var o=r(105),u=r(137),i=r(106);t.exports=e},function(t,n,r){function e(t,n,r,e){if(!c(t))return t;n=u(n,t);for(var f=-1,s=n.length,p=s-1,v=t;null!=v&&++f<s;){var l=a(n[f]),x=r;if(f!=p){var h=v[l];x=e?e(h,l,v):void 0,void 0===x&&(x=c(h)?h:i(n[f+1])?[]:{})}o(v,l,x),v=v[l]}return t}var o=r(138),u=r(106),i=r(23),c=r(35),a=r(115);t.exports=e},function(t,n,r){function e(t,n,r){var e=t[n];c.call(t,n)&&u(e,r)&&(void 0!==r||n in t)||o(t,n,r)}var o=r(139),u=r(45),i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n,r){"__proto__"==n&&o?o(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}var o=r(140);t.exports=e},function(t,n,r){var e=r(55),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n,r){function e(t){return i(u(t,void 0,o),t+"")}var o=r(142),u=r(145),i=r(147);t.exports=e},function(t,n,r){function e(t){var n=null==t?0:t.length;return n?o(t,1):[]}var o=r(143);t.exports=e},function(t,n,r){function e(t,n,r,i,c){var a=-1,f=t.length;for(r||(r=u),c||(c=[]);++a<f;){var s=t[a];n>0&&r(s)?n>1?e(s,n-1,r,i,c):o(c,s):i||(c[c.length]=s)}return c}var o=r(91),u=r(144);t.exports=e},function(t,n,r){function e(t){return i(t)||u(t)||!!(c&&t&&t[c])}var o=r(13),u=r(10),i=r(19),c=o?o.isConcatSpreadable:void 0;t.exports=e},function(t,n,r){function e(t,n,r){return n=u(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,c=u(e.length-n,0),a=Array(c);++i<c;)a[i]=e[n+i];i=-1;for(var f=Array(n+1);++i<n;)f[i]=e[i];return f[n]=r(a),o(t,this,f)}}var o=r(146),u=Math.max;t.exports=e},function(t,n){function r(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}t.exports=r},function(t,n,r){var e=r(148),o=r(150),u=o(e);t.exports=u},function(t,n,r){var e=r(149),o=r(140),u=r(119),i=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:e(n),writable:!0})}:u;t.exports=i},function(t,n){function r(t){return function(){return t}}t.exports=r},function(t,n){function r(t){var n=0,r=0;return function(){var i=u(),c=o-(i-r);if(r=i,c>0){if(++n>=e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var e=800,o=16,u=Date.now;t.exports=r},function(t,n,r){var e=r(152),o=r(169),u=o(function(t,n,r){e(t,n,r)});t.exports=u},function(t,n,r){function e(t,n,r,s,p){t!==n&&i(n,function(i,f){if(a(i))p||(p=new o),c(t,n,f,r,e,s,p);else{var v=s?s(t[f],i,f+"",t,n,p):void 0;void 0===v&&(v=i),u(t,f,v)}},f)}var o=r(40),u=r(153),i=r(5),c=r(154),a=r(35),f=r(166);t.exports=e},function(t,n,r){function e(t,n,r){(void 0===r||u(t[n],r))&&(void 0!==r||n in t)||o(t,n,r)}var o=r(139),u=r(45);t.exports=e},function(t,n,r){function e(t,n,r,e,y,d,_){var j=t[r],m=n[r],O=_.get(m);if(O)return void o(t,r,O);var w=d?d(j,m,r+"",t,n,_):void 0,P=void 0===w;if(P){var k=s(m),A=!k&&v(m),z=!k&&!A&&g(m);w=m,k||A||z?s(j)?w=j:p(j)?w=c(j):A?(P=!1,w=u(m,!0)):z?(P=!1,w=i(m,!0)):w=[]:h(m)||f(m)?(w=j,f(j)?w=b(j):(!x(j)||e&&l(j))&&(w=a(m))):P=!1}P&&(_.set(m,w),y(w,m,e,d,_),_.delete(m)),o(t,r,w)}var o=r(153),u=r(155),i=r(156),c=r(158),a=r(159),f=r(10),s=r(19),p=r(162),v=r(20),l=r(34),x=r(35),h=r(163),g=r(24),b=r(164);t.exports=e},function(t,n,r){(function(t){function e(t,n){if(n)return t.slice();var r=t.length,e=f?f(r):new t.constructor(r);return t.copy(e),e}var o=r(14),u="object"==typeof n&&n&&!n.nodeType&&n,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u,a=c?o.Buffer:void 0,f=a?a.allocUnsafe:void 0;t.exports=e}).call(n,r(21)(t))},function(t,n,r){function e(t,n){var r=n?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var o=r(157);t.exports=e},function(t,n,r){function e(t){var n=new t.constructor(t.byteLength);return new o(n).set(new o(t)),n}var o=r(85);t.exports=e},function(t,n){function r(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}t.exports=r},function(t,n,r){function e(t){return"function"!=typeof t.constructor||i(t)?{}:o(u(t))}var o=r(160),u=r(161),i=r(30);t.exports=e},function(t,n,r){var e=r(35),o=Object.create,u=function(){function t(){}return function(n){if(!e(n))return{};if(o)return o(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();t.exports=u},function(t,n,r){var e=r(32),o=e(Object.getPrototypeOf,Object);t.exports=o},function(t,n,r){function e(t){return u(t)&&o(t)}var o=r(33),u=r(18);t.exports=e},function(t,n,r){function e(t){if(!i(t)||o(t)!=c)return!1;var n=u(t);if(null===n)return!0;var r=p.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==v}var o=r(12),u=r(161),i=r(18),c="[object Object]",a=Function.prototype,f=Object.prototype,s=a.toString,p=f.hasOwnProperty,v=s.call(Object);t.exports=e},function(t,n,r){function e(t){return o(t,u(t))}var o=r(165),u=r(166);t.exports=e},function(t,n,r){function e(t,n,r,e){var i=!r;r||(r={});for(var c=-1,a=n.length;++c<a;){var f=n[c],s=e?e(r[f],t[f],f,r,t):void 0;void 0===s&&(s=t[f]),i?u(r,f,s):o(r,f,s)}return r}var o=r(138),u=r(139);t.exports=e},function(t,n,r){function e(t){return i(t)?o(t,!0):u(t)}var o=r(8),u=r(167),i=r(33);t.exports=e},function(t,n,r){function e(t){if(!o(t))return i(t);var n=u(t),r=[];for(var e in t)("constructor"!=e||!n&&a.call(t,e))&&r.push(e);return r}var o=r(35),u=r(30),i=r(168),c=Object.prototype,a=c.hasOwnProperty;t.exports=e},function(t,n){function r(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}t.exports=r},function(t,n,r){function e(t){return o(function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,c=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,c&&u(r[0],r[1],c)&&(i=o<3?void 0:i,o=1),n=Object(n);++e<o;){var a=r[e];a&&t(n,a,e,i)}return n})}var o=r(170),u=r(171);t.exports=e},function(t,n,r){function e(t,n){return i(u(t,n,o),t+"")}var o=r(119),u=r(145),i=r(147);t.exports=e},function(t,n,r){function e(t,n,r){if(!c(r))return!1;var e=typeof n;return!!("number"==e?u(r)&&i(n,r.length):"string"==e&&n in r)&&o(r[n],t)}var o=r(45),u=r(33),i=r(23),c=r(35);t.exports=e},function(t,n,r){function e(t,n){return null!=t&&u(t,n,o)}var o=r(173),u=r(118);t.exports=e},function(t,n){function r(t,n){return null!=t&&o.call(t,n)}var e=Object.prototype,o=e.hasOwnProperty;t.exports=r},function(t,n){function r(t){return void 0===t}t.exports=r},function(t,n,r){function e(t,n,r,e){t=u(t)?t:a(t),r=r&&!e?c(r):0;var s=t.length;return r<0&&(r=f(s+r,0)),i(t)?r<=s&&t.indexOf(n,r)>-1:!!s&&o(t,n,r)>-1}var o=r(176),u=r(33),i=r(180),c=r(181),a=r(184),f=Math.max;t.exports=e},function(t,n,r){function e(t,n,r){return n===n?i(t,n,r):o(t,u,r)}var o=r(177),u=r(178),i=r(179);t.exports=e},function(t,n){function r(t,n,r,e){for(var o=t.length,u=r+(e?1:-1);e?u--:++u<o;)if(n(t[u],u,t))return u;return-1}t.exports=r},function(t,n){function r(t){return t!==t}t.exports=r},function(t,n){function r(t,n,r){for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}t.exports=r},function(t,n,r){function e(t){return"string"==typeof t||!u(t)&&i(t)&&o(t)==c}var o=r(12),u=r(19),i=r(18),c="[object String]";t.exports=e},function(t,n,r){function e(t){var n=o(t),r=n%1;return n===n?r?n-r:n:0}var o=r(182);t.exports=e},function(t,n,r){function e(t){if(!t)return 0===t?t:0;if(t=o(t),t===u||t===-u){var n=t<0?-1:1;return n*i}return t===t?t:0}var o=r(183),u=1/0,i=1.7976931348623157e308;t.exports=e},function(t,n,r){function e(t){if("number"==typeof t)return t;if(u(t))return i;if(o(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=o(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(c,"");var r=f.test(t);return r||s.test(t)?p(t.slice(2),r?2:8):a.test(t)?i:+t}var o=r(35),u=r(108),i=NaN,c=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,s=/^0o[0-7]+$/i,p=parseInt;t.exports=e},function(t,n,r){function e(t){return null==t?[]:o(t,u(t))}var o=r(185),u=r(7);t.exports=e},function(t,n,r){function e(t,n){return o(n,function(n){return t[n]})}var o=r(114);t.exports=e},function(t,n,r){"use strict";function e(t,n){return u.isRegex(n)?u:i.isNumber(t)&&i.isNumericQuantifier(n)?i:c}var o=r(187),u=r(190),i=r(191),c={matchesPropertyValue:function(t,n){return t===n}};t.exports={getMatchedProperties:function(t,n){return o(n,function(n,r){var o=e(t,r);return o.matchesPropertyValue(t,r)})}}},function(t,n,r){var e=r(188),o=r(189),u=e(o);t.exports=u},function(t,n,r){function e(t){return function(n,r,e){var c=Object(n);if(!u(n)){var a=o(r,3);n=i(n),r=function(t){return a(c[t],t,c)}}var f=t(n,r,e);return f>-1?c[a?n[f]:f]:void 0}}var o=r(37),u=r(33),i=r(7);t.exports=e},function(t,n,r){function e(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var f=e-1;return void 0!==r&&(f=i(r),f=r<0?c(e+f,0):a(f,e-1)),o(t,u(n,3),f,!0)}var o=r(177),u=r(37),i=r(181),c=Math.max,a=Math.min; | ||
t.exports=e},function(t,n){"use strict";function r(t){return t.substring(1,t.length-1)}var e=/^\/.+\/$/;t.exports={isRegex:function(t){return e.test(t)},matchesPropertyValue:function(t,n){var e=r(n),o=new RegExp("^"+e+"$");return o.test(t)}}},function(module,exports){"use strict";function isExpressionValid(t){return validExpressionRegex.test(t)}var numberRegex=/-?\d+(\.\d{1,2})?/,operatorRegex=/[><]=?/,numericQuantifierRegex=new RegExp(operatorRegex.source+numberRegex.source),validExpressionRegex=new RegExp(numberRegex.source+operatorRegex.source+numberRegex.source);module.exports={isNumber:function(t){return numberRegex.test(t)},isNumericQuantifier:function(t){return numericQuantifierRegex.test(t)},matchesPropertyValue:function(propertyValue,numericQuantifierStr){var expression=propertyValue+numericQuantifierStr;return!!isExpressionValid(expression)&&eval(expression)}}},function(t,n,r){"use strict";function e(t,n,r){return t.push(c({name:n},r))}function o(t,n){var r={type:"toggle",toggle:!1};return t.toggle!==!1&&(f.isThrottleValid(t.throttle)?(r.toggle=f.mutate(t.throttle,n),r.type="throttle"):t.toggle===!0&&(r.toggle=!0)),r}function u(t,n){return t.toggle&&a.containsMultivariant(n)}function i(t,n,r,o,u){var i=a.mutate(r,u),c={toggle:o.toggle,type:"bucket"};e(t,n+"."+i,c)}var c=r(151),a=r(193),f=r(195),s=r(196),p=r(199);t.exports={assembleFeatures:function(t,n,r){var c=[];if(p.areInstructionsValid(n)){var a=s.pairGene(r,t),f=o(n,a);e(c,t,f),u(f,n)&&i(c,t,n,f,a)}else e(c,t,{toggle:!1,type:"toggle"});return c}}},function(t,n,r){"use strict";function e(t){if(!i(t))throw"Not an array!";var n=Math.floor(Math.random()*t.length);return t[n]}function o(t){return!c(t)&&"bucket"===t.type}function u(t,n){return a(t.buckets,n.toggle)}var i=r(19),c=r(194),a=r(175);t.exports={mutate:function(t,n){return o(n)&&u(t,n)?n.toggle:e(t.buckets)},containsMultivariant:function(t){return this.isBucketListValid(t.buckets)},isBucketListValid:function(t){return i(t)&&t.length>=0}}},function(t,n,r){function e(t){if(null==t)return!0;if(a(t)&&(c(t)||"string"==typeof t||"function"==typeof t.splice||f(t)||p(t)||i(t)))return!t.length;var n=u(t);if(n==v||n==l)return!t.size;if(s(t))return!o(t).length;for(var r in t)if(h.call(t,r))return!1;return!0}var o=r(29),u=r(95),i=r(10),c=r(19),a=r(33),f=r(20),s=r(30),p=r(24),v="[object Map]",l="[object Set]",x=Object.prototype,h=x.hasOwnProperty;t.exports=e},function(t,n,r){"use strict";function e(t){return!s(t)&&p(t)&&t.match(/[0-100]%/)}function o(t){return v(t)&&p(t.value)&&e(t.value)}function u(t){var n;return n=o(t)?t.value:t}function i(t){var n=u(t),r=n.substr(0,n.length-2);return r/10}function c(t){return o(t)||e(t)}function a(t){return!l(t)&&"throttle"===t.type}function f(t){return!s(t.mutate)&&"force"===t.mutate}var s=r(174),p=r(180),v=r(163),l=r(194);t.exports={mutate:function(t,n){if(!f(t)&&a(n))return n.toggle;var r=i(t);return Math.random()<r},isThrottleValid:function(t){return c(t)}}},function(t,n,r){"use strict";function e(t,n){return s(t,function(t){return 0===t.indexOf(n)})}function o(t,n){return e(t,n).length>0}function u(t,n){return o(v(t.toggles),n)}function i(t,n){return o(t.buckets,n)}function c(t,n){return o(t.throttles,n)}function a(t){var n=t.indexOf(".");return n>=0?t.substring(n+1):""}function f(t,n){var r=e(t.buckets,n),o=p(r,function(n){return t.toggles[n]});return l(o)?a(o):""}var s=r(124),p=r(197),v=r(7),l=r(180);t.exports={pairGene:function(t,n){var r={};if(u(t,n)){var e="toggle",o=t.toggles[n];i(t,n)?(e="bucket",o=f(t,n)):c(t,n)&&(e="throttle"),r.toggle=o,r.type=e}return r}}},function(t,n,r){var e=r(188),o=r(198),u=e(o);t.exports=u},function(t,n,r){function e(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var a=null==r?0:i(r);return a<0&&(a=c(e+a,0)),o(t,u(n,3),a)}var o=r(177),u=r(37),i=r(181),c=Math.max;t.exports=e},function(t,n,r){"use strict";var e=r(104),o=r(174),u=r(200),i=r(201),c=r(19),a=r(35),f=r(193),s=r(195);t.exports={areInstructionsValid:function(t){var n=e(t,"toggle"),r=e(t,"throttle"),o=e(t,"buckets");return this.isToggleValid(n)&&this.isThrottleValid(r)&&this.areBucketsValid(o)},isToggleValid:function(t){return o(t)||u(t)},isThrottleValid:function(t){return o(t)||s.isThrottleValid(t)},areBucketsValid:function(t){return o(t)||f.isBucketListValid(t)},checkFeatureInstructions:function(t){var n=o(t)||i(t)||!c(t)&&a(t);if(!n)throw new Error("Invalid feature instructions!")}}},function(t,n,r){function e(t){return t===!0||t===!1||u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Boolean]";t.exports=e},function(t,n){function r(t){return null===t}t.exports=r}])}); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.muton=n():t.muton=n()}(this,function(){return function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=t,n.c=r,n.p="",n(0)}([function(t,n,r){function e(t,n){t.toggles=c(n,function(t,n){return t[n.name]=n.toggle,t},t.toggles)}function o(t,n){var r=a(n,{type:"bucket"}),e=f(r,"name");t.buckets=t.buckets.concat(e)}function u(t,n){var r=a(n,{type:"throttle"}),e=f(r,"name");t.throttles=t.throttles.concat(e)}function i(t,n){e(t,n),o(t,n),u(t,n)}var c=r(1),a=r(124),f=r(126),s=r(128),p=r(131),v=r(133),l=r(193),x=r(200),h={getFeatureMutations:function(t,n){return this.getMutations(t,n).toggles},getMutations:function(t,n){return this.inheritMutations(t,n,{})},inheritMutations:function(t,n,r){var e={toggles:{},buckets:[],throttles:[]};return x.checkFeatureInstructions(n),s(n,function(n,o){var u=p.breakProperties(t,n),c=v.preparePrimer(t,n,u,!0),a=l.assembleFeatures(o,c,r);i(e,a)}),e}};t.exports=h},function(t,n,r){function e(t,n,r){var e=a(t)?o:c,f=arguments.length<3;return e(t,i(n,4),r,f,u)}var o=r(2),u=r(3),i=r(37),c=r(123),a=r(19);t.exports=e},function(t,n){function r(t,n,r,e){var o=-1,u=null==t?0:t.length;for(e&&u&&(r=t[++o]);++o<u;)r=n(r,t[o],o,t);return r}t.exports=r},function(t,n,r){var e=r(4),o=r(36),u=o(e);t.exports=u},function(t,n,r){function e(t,n){return t&&o(t,n,u)}var o=r(5),u=r(7);t.exports=e},function(t,n,r){var e=r(6),o=e();t.exports=o},function(t,n){function r(t){return function(n,r,e){for(var o=-1,u=Object(n),i=e(n),c=i.length;c--;){var a=i[t?c:++o];if(r(u[a],a,u)===!1)break}return n}}t.exports=r},function(t,n,r){function e(t){return i(t)?o(t):u(t)}var o=r(8),u=r(29),i=r(33);t.exports=e},function(t,n,r){function e(t,n){var r=i(t),e=!r&&u(t),s=!r&&!e&&c(t),v=!r&&!e&&!s&&f(t),l=r||e||s||v,x=l?o(t.length,String):[],h=x.length;for(var g in t)!n&&!p.call(t,g)||l&&("length"==g||s&&("offset"==g||"parent"==g)||v&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,h))||x.push(g);return x}var o=r(9),u=r(10),i=r(19),c=r(20),a=r(23),f=r(24),s=Object.prototype,p=s.hasOwnProperty;t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}t.exports=r},function(t,n,r){var e=r(11),o=r(18),u=Object.prototype,i=u.hasOwnProperty,c=u.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(t){return o(t)&&i.call(t,"callee")&&!c.call(t,"callee")};t.exports=a},function(t,n,r){function e(t){return u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Arguments]";t.exports=e},function(t,n,r){function e(t){return null==t?void 0===t?a:c:f&&f in Object(t)?u(t):i(t)}var o=r(13),u=r(16),i=r(17),c="[object Null]",a="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=e},function(t,n,r){var e=r(14),o=e.Symbol;t.exports=o},function(t,n,r){var e=r(15),o="object"==typeof self&&self&&self.Object===Object&&self,u=e||o||Function("return this")();t.exports=u},function(t,n){(function(n){var r="object"==typeof n&&n&&n.Object===Object&&n;t.exports=r}).call(n,function(){return this}())},function(t,n,r){function e(t){var n=i.call(t,a),r=t[a];try{t[a]=void 0;var e=!0}catch(t){}var o=c.call(t);return e&&(n?t[a]=r:delete t[a]),o}var o=r(13),u=Object.prototype,i=u.hasOwnProperty,c=u.toString,a=o?o.toStringTag:void 0;t.exports=e},function(t,n){function r(t){return o.call(t)}var e=Object.prototype,o=e.toString;t.exports=r},function(t,n){function r(t){return null!=t&&"object"==typeof t}t.exports=r},function(t,n){var r=Array.isArray;t.exports=r},function(t,n,r){(function(t){var e=r(14),o=r(22),u="object"==typeof n&&n&&!n.nodeType&&n,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u,a=c?e.Buffer:void 0,f=a?a.isBuffer:void 0,s=f||o;t.exports=s}).call(n,r(21)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n){function r(){return!1}t.exports=r},function(t,n){function r(t,n){var r=typeof t;return n=null==n?e:n,!!n&&("number"==r||"symbol"!=r&&o.test(t))&&t>-1&&t%1==0&&t<n}var e=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=r},function(t,n,r){var e=r(25),o=r(27),u=r(28),i=u&&u.isTypedArray,c=i?o(i):e;t.exports=c},function(t,n,r){function e(t){return i(t)&&u(t.length)&&!!M[o(t)]}var o=r(12),u=r(26),i=r(18),c="[object Arguments]",a="[object Array]",f="[object Boolean]",s="[object Date]",p="[object Error]",v="[object Function]",l="[object Map]",x="[object Number]",h="[object Object]",g="[object RegExp]",b="[object Set]",y="[object String]",d="[object WeakMap]",_="[object ArrayBuffer]",j="[object DataView]",m="[object Float32Array]",O="[object Float64Array]",w="[object Int8Array]",P="[object Int16Array]",k="[object Int32Array]",A="[object Uint8Array]",z="[object Uint8ClampedArray]",S="[object Uint16Array]",V="[object Uint32Array]",M={};M[m]=M[O]=M[w]=M[P]=M[k]=M[A]=M[z]=M[S]=M[V]=!0,M[c]=M[a]=M[_]=M[f]=M[j]=M[s]=M[p]=M[v]=M[l]=M[x]=M[h]=M[g]=M[b]=M[y]=M[d]=!1,t.exports=e},function(t,n){function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}var e=9007199254740991;t.exports=r},function(t,n){function r(t){return function(n){return t(n)}}t.exports=r},function(t,n,r){(function(t){var e=r(15),o="object"==typeof n&&n&&!n.nodeType&&n,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o,c=i&&e.process,a=function(){try{var t=u&&u.require&&u.require("util").types;return t?t:c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=a}).call(n,r(21)(t))},function(t,n,r){function e(t){if(!o(t))return u(t);var n=[];for(var r in Object(t))c.call(t,r)&&"constructor"!=r&&n.push(r);return n}var o=r(30),u=r(31),i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n){function r(t){var n=t&&t.constructor,r="function"==typeof n&&n.prototype||e;return t===r}var e=Object.prototype;t.exports=r},function(t,n,r){var e=r(32),o=e(Object.keys,Object);t.exports=o},function(t,n){function r(t,n){return function(r){return t(n(r))}}t.exports=r},function(t,n,r){function e(t){return null!=t&&u(t.length)&&!o(t)}var o=r(34),u=r(26);t.exports=e},function(t,n,r){function e(t){if(!u(t))return!1;var n=o(t);return n==c||n==a||n==i||n==f}var o=r(12),u=r(35),i="[object AsyncFunction]",c="[object Function]",a="[object GeneratorFunction]",f="[object Proxy]";t.exports=e},function(t,n){function r(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}t.exports=r},function(t,n,r){function e(t,n){return function(r,e){if(null==r)return r;if(!o(r))return t(r,e);for(var u=r.length,i=n?u:-1,c=Object(r);(n?i--:++i<u)&&e(c[i],i,c)!==!1;);return r}}var o=r(33);t.exports=e},function(t,n,r){function e(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?c(t)?u(t[0],t[1]):o(t):a(t)}var o=r(38),u=r(103),i=r(119),c=r(19),a=r(120);t.exports=e},function(t,n,r){function e(t){var n=u(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(r){return r===t||o(r,t,n)}}var o=r(39),u=r(100),i=r(102);t.exports=e},function(t,n,r){function e(t,n,r,e){var a=r.length,f=a,s=!e;if(null==t)return!f;for(t=Object(t);a--;){var p=r[a];if(s&&p[2]?p[1]!==t[p[0]]:!(p[0]in t))return!1}for(;++a<f;){p=r[a];var v=p[0],l=t[v],x=p[1];if(s&&p[2]){if(void 0===l&&!(v in t))return!1}else{var h=new o;if(e)var g=e(l,x,v,t,n,h);if(!(void 0===g?u(x,l,i|c,e,h):g))return!1}}return!0}var o=r(40),u=r(76),i=1,c=2;t.exports=e},function(t,n,r){function e(t){var n=this.__data__=new o(t);this.size=n.size}var o=r(41),u=r(49),i=r(50),c=r(51),a=r(52),f=r(53);e.prototype.clear=u,e.prototype.delete=i,e.prototype.get=c,e.prototype.has=a,e.prototype.set=f,t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(42),u=r(43),i=r(46),c=r(47),a=r(48);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n){function r(){this.__data__=[],this.size=0}t.exports=r},function(t,n,r){function e(t){var n=this.__data__,r=o(n,t);if(r<0)return!1;var e=n.length-1;return r==e?n.pop():i.call(n,r,1),--this.size,!0}var o=r(44),u=Array.prototype,i=u.splice;t.exports=e},function(t,n,r){function e(t,n){for(var r=t.length;r--;)if(o(t[r][0],n))return r;return-1}var o=r(45);t.exports=e},function(t,n){function r(t,n){return t===n||t!==t&&n!==n}t.exports=r},function(t,n,r){function e(t){var n=this.__data__,r=o(n,t);return r<0?void 0:n[r][1]}var o=r(44);t.exports=e},function(t,n,r){function e(t){return o(this.__data__,t)>-1}var o=r(44);t.exports=e},function(t,n,r){function e(t,n){var r=this.__data__,e=o(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this}var o=r(44);t.exports=e},function(t,n,r){function e(){this.__data__=new o,this.size=0}var o=r(41);t.exports=e},function(t,n){function r(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}t.exports=r},function(t,n){function r(t){return this.__data__.get(t)}t.exports=r},function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},function(t,n,r){function e(t,n){var r=this.__data__;if(r instanceof o){var e=r.__data__;if(!u||e.length<c-1)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new i(e)}return r.set(t,n),this.size=r.size,this}var o=r(41),u=r(54),i=r(61),c=200;t.exports=e},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Map");t.exports=u},function(t,n,r){function e(t,n){var r=u(t,n);return o(r)?r:void 0}var o=r(56),u=r(60);t.exports=e},function(t,n,r){function e(t){if(!i(t)||u(t))return!1;var n=o(t)?x:f;return n.test(c(t))}var o=r(34),u=r(57),i=r(35),c=r(59),a=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Function.prototype,p=Object.prototype,v=s.toString,l=p.hasOwnProperty,x=RegExp("^"+v.call(l).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=e},function(t,n,r){function e(t){return!!u&&u in t}var o=r(58),u=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=e},function(t,n,r){var e=r(14),o=e["__core-js_shared__"];t.exports=o},function(t,n){function r(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var e=Function.prototype,o=e.toString;t.exports=r},function(t,n){function r(t,n){return null==t?void 0:t[n]}t.exports=r},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(62),u=r(70),i=r(73),c=r(74),a=r(75);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n,r){function e(){this.size=0,this.__data__={hash:new o,map:new(i||u),string:new o}}var o=r(63),u=r(41),i=r(54);t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}var o=r(64),u=r(66),i=r(67),c=r(68),a=r(69);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=c,e.prototype.set=a,t.exports=e},function(t,n,r){function e(){this.__data__=o?o(null):{},this.size=0}var o=r(65);t.exports=e},function(t,n,r){var e=r(55),o=e(Object,"create");t.exports=o},function(t,n){function r(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}t.exports=r},function(t,n,r){function e(t){var n=this.__data__;if(o){var r=n[t];return r===u?void 0:r}return c.call(n,t)?n[t]:void 0}var o=r(65),u="__lodash_hash_undefined__",i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t){var n=this.__data__;return o?void 0!==n[t]:i.call(n,t)}var o=r(65),u=Object.prototype,i=u.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=o&&void 0===n?u:n,this}var o=r(65),u="__lodash_hash_undefined__";t.exports=e},function(t,n,r){function e(t){var n=o(this,t).delete(t);return this.size-=n?1:0,n}var o=r(71);t.exports=e},function(t,n,r){function e(t,n){var r=t.__data__;return o(n)?r["string"==typeof n?"string":"hash"]:r.map}var o=r(72);t.exports=e},function(t,n){function r(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}t.exports=r},function(t,n,r){function e(t){return o(this,t).get(t)}var o=r(71);t.exports=e},function(t,n,r){function e(t){return o(this,t).has(t)}var o=r(71);t.exports=e},function(t,n,r){function e(t,n){var r=o(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this}var o=r(71);t.exports=e},function(t,n,r){function e(t,n,r,i,c){return t===n||(null==t||null==n||!u(t)&&!u(n)?t!==t&&n!==n:o(t,n,r,i,e,c))}var o=r(77),u=r(18);t.exports=e},function(t,n,r){function e(t,n,r,e,g,y){var d=f(t),_=f(n),j=d?x:a(t),m=_?x:a(n);j=j==l?h:j,m=m==l?h:m;var O=j==h,w=m==h,P=j==m;if(P&&s(t)){if(!s(n))return!1;d=!0,O=!1}if(P&&!O)return y||(y=new o),d||p(t)?u(t,n,r,e,g,y):i(t,n,j,r,e,g,y);if(!(r&v)){var k=O&&b.call(t,"__wrapped__"),A=w&&b.call(n,"__wrapped__");if(k||A){var z=k?t.value():t,S=A?n.value():n;return y||(y=new o),g(z,S,r,e,y)}}return!!P&&(y||(y=new o),c(t,n,r,e,g,y))}var o=r(40),u=r(78),i=r(84),c=r(88),a=r(95),f=r(19),s=r(20),p=r(24),v=1,l="[object Arguments]",x="[object Array]",h="[object Object]",g=Object.prototype,b=g.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n,r,e,f,s){var p=r&c,v=t.length,l=n.length;if(v!=l&&!(p&&l>v))return!1;var x=s.get(t);if(x&&s.get(n))return x==n;var h=-1,g=!0,b=r&a?new o:void 0;for(s.set(t,n),s.set(n,t);++h<v;){var y=t[h],d=n[h];if(e)var _=p?e(d,y,h,n,t,s):e(y,d,h,t,n,s);if(void 0!==_){if(_)continue;g=!1;break}if(b){if(!u(n,function(t,n){if(!i(b,n)&&(y===t||f(y,t,r,e,s)))return b.push(n)})){g=!1;break}}else if(y!==d&&!f(y,d,r,e,s)){g=!1;break}}return s.delete(t),s.delete(n),g}var o=r(79),u=r(82),i=r(83),c=1,a=2;t.exports=e},function(t,n,r){function e(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new o;++n<r;)this.add(t[n])}var o=r(61),u=r(80),i=r(81);e.prototype.add=e.prototype.push=u,e.prototype.has=i,t.exports=e},function(t,n){function r(t){return this.__data__.set(t,e),this}var e="__lodash_hash_undefined__";t.exports=r},function(t,n){function r(t){return this.__data__.has(t)}t.exports=r},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}t.exports=r},function(t,n){function r(t,n){return t.has(n)}t.exports=r},function(t,n,r){function e(t,n,r,e,o,O,P){switch(r){case m:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case j:return!(t.byteLength!=n.byteLength||!O(new u(t),new u(n)));case v:case l:case g:return i(+t,+n);case x:return t.name==n.name&&t.message==n.message;case b:case d:return t==n+"";case h:var k=a;case y:var A=e&s;if(k||(k=f),t.size!=n.size&&!A)return!1;var z=P.get(t);if(z)return z==n;e|=p,P.set(t,n);var S=c(k(t),k(n),e,o,O,P);return P.delete(t),S;case _:if(w)return w.call(t)==w.call(n)}return!1}var o=r(13),u=r(85),i=r(45),c=r(78),a=r(86),f=r(87),s=1,p=2,v="[object Boolean]",l="[object Date]",x="[object Error]",h="[object Map]",g="[object Number]",b="[object RegExp]",y="[object Set]",d="[object String]",_="[object Symbol]",j="[object ArrayBuffer]",m="[object DataView]",O=o?o.prototype:void 0,w=O?O.valueOf:void 0;t.exports=e},function(t,n,r){var e=r(14),o=e.Uint8Array;t.exports=o},function(t,n){function r(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}t.exports=r},function(t,n){function r(t){var n=-1,r=Array(t.size);return t.forEach(function(t){r[++n]=t}),r}t.exports=r},function(t,n,r){function e(t,n,r,e,i,a){var f=r&u,s=o(t),p=s.length,v=o(n),l=v.length;if(p!=l&&!f)return!1;for(var x=p;x--;){var h=s[x];if(!(f?h in n:c.call(n,h)))return!1}var g=a.get(t);if(g&&a.get(n))return g==n;var b=!0;a.set(t,n),a.set(n,t);for(var y=f;++x<p;){h=s[x];var d=t[h],_=n[h];if(e)var j=f?e(_,d,h,n,t,a):e(d,_,h,t,n,a);if(!(void 0===j?d===_||i(d,_,r,e,a):j)){b=!1;break}y||(y="constructor"==h)}if(b&&!y){var m=t.constructor,O=n.constructor;m!=O&&"constructor"in t&&"constructor"in n&&!("function"==typeof m&&m instanceof m&&"function"==typeof O&&O instanceof O)&&(b=!1)}return a.delete(t),a.delete(n),b}var o=r(89),u=1,i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t){return o(t,i,u)}var o=r(90),u=r(92),i=r(7);t.exports=e},function(t,n,r){function e(t,n,r){var e=n(t);return u(t)?e:o(e,r(t))}var o=r(91),u=r(19);t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}t.exports=r},function(t,n,r){var e=r(93),o=r(94),u=Object.prototype,i=u.propertyIsEnumerable,c=Object.getOwnPropertySymbols,a=c?function(t){return null==t?[]:(t=Object(t),e(c(t),function(n){return i.call(t,n)}))}:o;t.exports=a},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length,o=0,u=[];++r<e;){var i=t[r];n(i,r,t)&&(u[o++]=i)}return u}t.exports=r},function(t,n){function r(){return[]}t.exports=r},function(t,n,r){var e=r(96),o=r(54),u=r(97),i=r(98),c=r(99),a=r(12),f=r(59),s="[object Map]",p="[object Object]",v="[object Promise]",l="[object Set]",x="[object WeakMap]",h="[object DataView]",g=f(e),b=f(o),y=f(u),d=f(i),_=f(c),j=a;(e&&j(new e(new ArrayBuffer(1)))!=h||o&&j(new o)!=s||u&&j(u.resolve())!=v||i&&j(new i)!=l||c&&j(new c)!=x)&&(j=function(t){var n=a(t),r=n==p?t.constructor:void 0,e=r?f(r):"";if(e)switch(e){case g:return h;case b:return s;case y:return v;case d:return l;case _:return x}return n}),t.exports=j},function(t,n,r){var e=r(55),o=r(14),u=e(o,"DataView");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Promise");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"Set");t.exports=u},function(t,n,r){var e=r(55),o=r(14),u=e(o,"WeakMap");t.exports=u},function(t,n,r){function e(t){for(var n=u(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,o(i)]}return n}var o=r(101),u=r(7);t.exports=e},function(t,n,r){function e(t){return t===t&&!o(t)}var o=r(35);t.exports=e},function(t,n){function r(t,n){return function(r){return null!=r&&(r[t]===n&&(void 0!==n||t in Object(r)))}}t.exports=r},function(t,n,r){function e(t,n){return c(t)&&a(n)?f(s(t),n):function(r){var e=u(r,t);return void 0===e&&e===n?i(r,t):o(n,e,p|v)}}var o=r(76),u=r(104),i=r(116),c=r(107),a=r(101),f=r(102),s=r(115),p=1,v=2;t.exports=e},function(t,n,r){function e(t,n,r){var e=null==t?void 0:o(t,n);return void 0===e?r:e}var o=r(105);t.exports=e},function(t,n,r){function e(t,n){n=o(n,t);for(var r=0,e=n.length;null!=t&&r<e;)t=t[u(n[r++])];return r&&r==e?t:void 0}var o=r(106),u=r(115);t.exports=e},function(t,n,r){function e(t,n){return o(t)?t:u(t,n)?[t]:i(c(t))}var o=r(19),u=r(107),i=r(109),c=r(112);t.exports=e},function(t,n,r){function e(t,n){if(o(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!u(t))||(c.test(t)||!i.test(t)||null!=n&&t in Object(n))}var o=r(19),u=r(108),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;t.exports=e},function(t,n,r){function e(t){return"symbol"==typeof t||u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Symbol]";t.exports=e},function(t,n,r){var e=r(110),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,i=e(function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,function(t,r,e,o){n.push(e?o.replace(u,"$1"):r||t)}),n});t.exports=i},function(t,n,r){function e(t){var n=o(t,function(t){return r.size===u&&r.clear(),t}),r=n.cache;return n}var o=r(111),u=500;t.exports=e},function(t,n,r){function e(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError(u);var r=function(){var e=arguments,o=n?n.apply(this,e):e[0],u=r.cache;if(u.has(o))return u.get(o);var i=t.apply(this,e);return r.cache=u.set(o,i)||u,i};return r.cache=new(e.Cache||o),r}var o=r(61),u="Expected a function";e.Cache=o,t.exports=e},function(t,n,r){function e(t){return null==t?"":o(t)}var o=r(113);t.exports=e},function(t,n,r){function e(t){if("string"==typeof t)return t;if(i(t))return u(t,e)+"";if(c(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}var o=r(13),u=r(114),i=r(19),c=r(108),a=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}t.exports=r},function(t,n,r){function e(t){if("string"==typeof t||o(t))return t;var n=t+"";return"0"==n&&1/t==-u?"-0":n}var o=r(108),u=1/0;t.exports=e},function(t,n,r){function e(t,n){return null!=t&&u(t,n,o)}var o=r(117),u=r(118);t.exports=e},function(t,n){function r(t,n){return null!=t&&n in Object(t)}t.exports=r},function(t,n,r){function e(t,n,r){n=o(n,t);for(var e=-1,s=n.length,p=!1;++e<s;){var v=f(n[e]);if(!(p=null!=t&&r(t,v)))break;t=t[v]}return p||++e!=s?p:(s=null==t?0:t.length,!!s&&a(s)&&c(v,s)&&(i(t)||u(t)))}var o=r(106),u=r(10),i=r(19),c=r(23),a=r(26),f=r(115);t.exports=e},function(t,n){function r(t){return t}t.exports=r},function(t,n,r){function e(t){return i(t)?o(c(t)):u(t)}var o=r(121),u=r(122),i=r(107),c=r(115);t.exports=e},function(t,n){function r(t){return function(n){return null==n?void 0:n[t]}}t.exports=r},function(t,n,r){function e(t){return function(n){return o(n,t)}}var o=r(105);t.exports=e},function(t,n){function r(t,n,r,e,o){return o(t,function(t,o,u){r=e?(e=!1,t):n(r,t,o,u)}),r}t.exports=r},function(t,n,r){function e(t,n){var r=c(t)?o:u;return r(t,i(n,3))}var o=r(93),u=r(125),i=r(37),c=r(19);t.exports=e},function(t,n,r){function e(t,n){var r=[];return o(t,function(t,e,o){n(t,e,o)&&r.push(t)}),r}var o=r(3);t.exports=e},function(t,n,r){function e(t,n){var r=c(t)?o:i;return r(t,u(n,3))}var o=r(114),u=r(37),i=r(127),c=r(19);t.exports=e},function(t,n,r){function e(t,n){var r=-1,e=u(t)?Array(t.length):[];return o(t,function(t,o,u){e[++r]=n(t,o,u)}),e}var o=r(3),u=r(33);t.exports=e},function(t,n,r){function e(t,n){var r=c(t)?o:u;return r(t,i(n))}var o=r(129),u=r(3),i=r(130),c=r(19);t.exports=e},function(t,n){function r(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&n(t[r],r,t)!==!1;);return t}t.exports=r},function(t,n,r){function e(t){return"function"==typeof t?t:o}var o=r(119);t.exports=e},function(t,n,r){"use strict";var e=r(132);t.exports={breakProperties:function(t,n){return e.separateProperties(t,n)}}},function(t,n,r){"use strict";var e=r(7);t.exports={separateProperties:function(t,n){return{userPropertyNames:e(t),featurePropertyNames:e(n)}}}},function(t,n,r){"use strict";function e(t){return p(t,["toggle","throttle","buckets"])}function o(t,n){var r=e(n);v(t,r)}function u(t,n){var r=s(t,"toggle");return n&&r===!1}function i(t){return l(t,"toggle")||l(t,"throttle")||l(t,"buckets")}function c(t,n){return x(t)?n:t}function a(t,n,r){var e=r[n],o=t[n],u=b.getMatchedProperties(o,e);return c(u,e)}function f(t,n){v(t,n)}var s=r(104),p=r(134),v=r(151),l=r(173),x=r(175),h=r(176),g=r(132),b=r(187);t.exports={preparePrimer:function(t,n,r,e){var c=this,s={},p=r.userPropertyNames,v=r.featurePropertyNames;return i(n)&&o(s,n),u(s,e)||v.forEach(function(r){if(h(p,r)){var e=a(t,r,n),o=g.separateProperties(t,e),u=c.preparePrimer(t,e,o);f(s,u)}}),s}}},function(t,n,r){var e=r(135),o=r(141),u=o(function(t,n){return null==t?{}:e(t,n)});t.exports=u},function(t,n,r){function e(t,n){return o(t,n,function(n,r){return u(t,r)})}var o=r(136),u=r(116);t.exports=e},function(t,n,r){function e(t,n,r){for(var e=-1,c=n.length,a={};++e<c;){var f=n[e],s=o(t,f);r(s,f)&&u(a,i(f,t),s)}return a}var o=r(105),u=r(137),i=r(106);t.exports=e},function(t,n,r){function e(t,n,r,e){if(!c(t))return t;n=u(n,t);for(var f=-1,s=n.length,p=s-1,v=t;null!=v&&++f<s;){var l=a(n[f]),x=r;if(f!=p){var h=v[l];x=e?e(h,l,v):void 0,void 0===x&&(x=c(h)?h:i(n[f+1])?[]:{})}o(v,l,x),v=v[l]}return t}var o=r(138),u=r(106),i=r(23),c=r(35),a=r(115);t.exports=e},function(t,n,r){function e(t,n,r){var e=t[n];c.call(t,n)&&u(e,r)&&(void 0!==r||n in t)||o(t,n,r)}var o=r(139),u=r(45),i=Object.prototype,c=i.hasOwnProperty;t.exports=e},function(t,n,r){function e(t,n,r){"__proto__"==n&&o?o(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}var o=r(140);t.exports=e},function(t,n,r){var e=r(55),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n,r){function e(t){return i(u(t,void 0,o),t+"")}var o=r(142),u=r(145),i=r(147);t.exports=e},function(t,n,r){function e(t){var n=null==t?0:t.length;return n?o(t,1):[]}var o=r(143);t.exports=e},function(t,n,r){function e(t,n,r,i,c){var a=-1,f=t.length;for(r||(r=u),c||(c=[]);++a<f;){var s=t[a];n>0&&r(s)?n>1?e(s,n-1,r,i,c):o(c,s):i||(c[c.length]=s)}return c}var o=r(91),u=r(144);t.exports=e},function(t,n,r){function e(t){return i(t)||u(t)||!!(c&&t&&t[c])}var o=r(13),u=r(10),i=r(19),c=o?o.isConcatSpreadable:void 0;t.exports=e},function(t,n,r){function e(t,n,r){return n=u(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,c=u(e.length-n,0),a=Array(c);++i<c;)a[i]=e[n+i];i=-1;for(var f=Array(n+1);++i<n;)f[i]=e[i];return f[n]=r(a),o(t,this,f)}}var o=r(146),u=Math.max;t.exports=e},function(t,n){function r(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}t.exports=r},function(t,n,r){var e=r(148),o=r(150),u=o(e);t.exports=u},function(t,n,r){var e=r(149),o=r(140),u=r(119),i=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:e(n),writable:!0})}:u;t.exports=i},function(t,n){function r(t){return function(){return t}}t.exports=r},function(t,n){function r(t){var n=0,r=0;return function(){var i=u(),c=o-(i-r);if(r=i,c>0){if(++n>=e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var e=800,o=16,u=Date.now;t.exports=r},function(t,n,r){var e=r(152),o=r(170),u=o(function(t,n,r){e(t,n,r)});t.exports=u},function(t,n,r){function e(t,n,r,p,v){t!==n&&i(n,function(i,f){if(a(i))v||(v=new o),c(t,n,f,r,e,p,v);else{var l=p?p(s(t,f),i,f+"",t,n,v):void 0;void 0===l&&(l=i),u(t,f,l)}},f)}var o=r(40),u=r(153),i=r(5),c=r(154),a=r(35),f=r(167),s=r(164);t.exports=e},function(t,n,r){function e(t,n,r){(void 0===r||u(t[n],r))&&(void 0!==r||n in t)||o(t,n,r)}var o=r(139),u=r(45);t.exports=e},function(t,n,r){function e(t,n,r,e,d,_,j){var m=b(t,r),O=b(n,r),w=j.get(O);if(w)return void o(t,r,w);var P=_?_(m,O,r+"",t,n,j):void 0,k=void 0===P;if(k){var A=s(O),z=!A&&v(O),S=!A&&!z&&g(O);P=O,A||z||S?s(m)?P=m:p(m)?P=c(m):z?(k=!1,P=u(O,!0)):S?(k=!1,P=i(O,!0)):P=[]:h(O)||f(O)?(P=m,f(m)?P=y(m):(!x(m)||e&&l(m))&&(P=a(O))):k=!1}k&&(j.set(O,P),d(P,O,e,_,j),j.delete(O)),o(t,r,P)}var o=r(153),u=r(155),i=r(156),c=r(158),a=r(159),f=r(10),s=r(19),p=r(162),v=r(20),l=r(34),x=r(35),h=r(163),g=r(24),b=r(164),y=r(165);t.exports=e},function(t,n,r){(function(t){function e(t,n){if(n)return t.slice();var r=t.length,e=f?f(r):new t.constructor(r);return t.copy(e),e}var o=r(14),u="object"==typeof n&&n&&!n.nodeType&&n,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u,a=c?o.Buffer:void 0,f=a?a.allocUnsafe:void 0;t.exports=e}).call(n,r(21)(t))},function(t,n,r){function e(t,n){var r=n?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var o=r(157);t.exports=e},function(t,n,r){function e(t){var n=new t.constructor(t.byteLength);return new o(n).set(new o(t)),n}var o=r(85);t.exports=e},function(t,n){function r(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}t.exports=r},function(t,n,r){function e(t){return"function"!=typeof t.constructor||i(t)?{}:o(u(t))}var o=r(160),u=r(161),i=r(30);t.exports=e},function(t,n,r){var e=r(35),o=Object.create,u=function(){function t(){}return function(n){if(!e(n))return{};if(o)return o(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();t.exports=u},function(t,n,r){var e=r(32),o=e(Object.getPrototypeOf,Object);t.exports=o},function(t,n,r){function e(t){return u(t)&&o(t)}var o=r(33),u=r(18);t.exports=e},function(t,n,r){function e(t){if(!i(t)||o(t)!=c)return!1;var n=u(t);if(null===n)return!0;var r=p.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==v}var o=r(12),u=r(161),i=r(18),c="[object Object]",a=Function.prototype,f=Object.prototype,s=a.toString,p=f.hasOwnProperty,v=s.call(Object);t.exports=e},function(t,n){function r(t,n){return"__proto__"==n?void 0:t[n]}t.exports=r},function(t,n,r){function e(t){return o(t,u(t))}var o=r(166),u=r(167);t.exports=e},function(t,n,r){function e(t,n,r,e){var i=!r;r||(r={});for(var c=-1,a=n.length;++c<a;){var f=n[c],s=e?e(r[f],t[f],f,r,t):void 0;void 0===s&&(s=t[f]),i?u(r,f,s):o(r,f,s)}return r}var o=r(138),u=r(139);t.exports=e},function(t,n,r){function e(t){return i(t)?o(t,!0):u(t)}var o=r(8),u=r(168),i=r(33);t.exports=e},function(t,n,r){function e(t){if(!o(t))return i(t);var n=u(t),r=[];for(var e in t)("constructor"!=e||!n&&a.call(t,e))&&r.push(e);return r}var o=r(35),u=r(30),i=r(169),c=Object.prototype,a=c.hasOwnProperty;t.exports=e},function(t,n){function r(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}t.exports=r},function(t,n,r){function e(t){return o(function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,c=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,c&&u(r[0],r[1],c)&&(i=o<3?void 0:i,o=1),n=Object(n);++e<o;){var a=r[e];a&&t(n,a,e,i)}return n})}var o=r(171),u=r(172);t.exports=e},function(t,n,r){function e(t,n){return i(u(t,n,o),t+"")}var o=r(119),u=r(145),i=r(147);t.exports=e},function(t,n,r){function e(t,n,r){if(!c(r))return!1;var e=typeof n;return!!("number"==e?u(r)&&i(n,r.length):"string"==e&&n in r)&&o(r[n],t)}var o=r(45),u=r(33),i=r(23),c=r(35);t.exports=e},function(t,n,r){function e(t,n){return null!=t&&u(t,n,o)}var o=r(174),u=r(118);t.exports=e},function(t,n){function r(t,n){return null!=t&&o.call(t,n)}var e=Object.prototype,o=e.hasOwnProperty;t.exports=r},function(t,n){function r(t){return void 0===t}t.exports=r},function(t,n,r){function e(t,n,r,e){t=u(t)?t:a(t),r=r&&!e?c(r):0;var s=t.length;return r<0&&(r=f(s+r,0)),i(t)?r<=s&&t.indexOf(n,r)>-1:!!s&&o(t,n,r)>-1}var o=r(177),u=r(33),i=r(181),c=r(182),a=r(185),f=Math.max;t.exports=e},function(t,n,r){function e(t,n,r){return n===n?i(t,n,r):o(t,u,r)}var o=r(178),u=r(179),i=r(180);t.exports=e},function(t,n){function r(t,n,r,e){for(var o=t.length,u=r+(e?1:-1);e?u--:++u<o;)if(n(t[u],u,t))return u;return-1}t.exports=r},function(t,n){function r(t){return t!==t}t.exports=r},function(t,n){function r(t,n,r){for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}t.exports=r},function(t,n,r){function e(t){return"string"==typeof t||!u(t)&&i(t)&&o(t)==c}var o=r(12),u=r(19),i=r(18),c="[object String]";t.exports=e},function(t,n,r){function e(t){var n=o(t),r=n%1;return n===n?r?n-r:n:0}var o=r(183);t.exports=e},function(t,n,r){function e(t){if(!t)return 0===t?t:0;if(t=o(t),t===u||t===-u){var n=t<0?-1:1;return n*i}return t===t?t:0}var o=r(184),u=1/0,i=1.7976931348623157e308;t.exports=e},function(t,n,r){function e(t){if("number"==typeof t)return t;if(u(t))return i;if(o(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=o(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(c,"");var r=f.test(t);return r||s.test(t)?p(t.slice(2),r?2:8):a.test(t)?i:+t}var o=r(35),u=r(108),i=NaN,c=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,s=/^0o[0-7]+$/i,p=parseInt;t.exports=e},function(t,n,r){function e(t){return null==t?[]:o(t,u(t))}var o=r(186),u=r(7);t.exports=e},function(t,n,r){function e(t,n){return o(n,function(n){return t[n]})}var o=r(114);t.exports=e},function(t,n,r){"use strict";function e(t,n){return u.isRegex(n)?u:i.isNumber(t)&&i.isNumericQuantifier(n)?i:c}var o=r(188),u=r(191),i=r(192),c={matchesPropertyValue:function(t,n){return t===n}};t.exports={getMatchedProperties:function(t,n){return o(n,function(n,r){var o=e(t,r);return o.matchesPropertyValue(t,r)})}}},function(t,n,r){var e=r(189),o=r(190),u=e(o);t.exports=u},function(t,n,r){function e(t){return function(n,r,e){var c=Object(n);if(!u(n)){var a=o(r,3);n=i(n),r=function(t){return a(c[t],t,c)}}var f=t(n,r,e);return f>-1?c[a?n[f]:f]:void 0}}var o=r(37),u=r(33),i=r(7);t.exports=e},function(t,n,r){ | ||
function e(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var f=e-1;return void 0!==r&&(f=i(r),f=r<0?c(e+f,0):a(f,e-1)),o(t,u(n,3),f,!0)}var o=r(178),u=r(37),i=r(182),c=Math.max,a=Math.min;t.exports=e},function(t,n){"use strict";function r(t){return t.substring(1,t.length-1)}var e=/^\/.+\/$/;t.exports={isRegex:function(t){return e.test(t)},matchesPropertyValue:function(t,n){var e=r(n),o=new RegExp("^"+e+"$");return o.test(t)}}},function(module,exports){"use strict";function isExpressionValid(t){return validExpressionRegex.test(t)}var numberRegex=/-?\d+(\.\d{1,2})?/,operatorRegex=/[><]=?/,numericQuantifierRegex=new RegExp(operatorRegex.source+numberRegex.source),validExpressionRegex=new RegExp(numberRegex.source+operatorRegex.source+numberRegex.source);module.exports={isNumber:function(t){return numberRegex.test(t)},isNumericQuantifier:function(t){return numericQuantifierRegex.test(t)},matchesPropertyValue:function(propertyValue,numericQuantifierStr){var expression=propertyValue+numericQuantifierStr;return!!isExpressionValid(expression)&&eval(expression)}}},function(t,n,r){"use strict";function e(t,n,r){return t.push(c({name:n},r))}function o(t,n){var r={type:"toggle",toggle:!1};return t.toggle!==!1&&(f.isThrottleValid(t.throttle)?(r.toggle=f.mutate(t.throttle,n),r.type="throttle"):t.toggle===!0&&(r.toggle=!0)),r}function u(t,n){return t.toggle&&a.containsMultivariant(n)}function i(t,n,r,o,u){var i=a.mutate(r,u),c={toggle:o.toggle,type:"bucket"};e(t,n+"."+i,c)}var c=r(151),a=r(194),f=r(196),s=r(197),p=r(200);t.exports={assembleFeatures:function(t,n,r){var c=[];if(p.areInstructionsValid(n)){var a=s.pairGene(r,t),f=o(n,a);e(c,t,f),u(f,n)&&i(c,t,n,f,a)}else e(c,t,{toggle:!1,type:"toggle"});return c}}},function(t,n,r){"use strict";function e(t){if(!i(t))throw"Not an array!";var n=Math.floor(Math.random()*t.length);return t[n]}function o(t){return!c(t)&&"bucket"===t.type}function u(t,n){return a(t.buckets,n.toggle)}var i=r(19),c=r(195),a=r(176);t.exports={mutate:function(t,n){return o(n)&&u(t,n)?n.toggle:e(t.buckets)},containsMultivariant:function(t){return this.isBucketListValid(t.buckets)},isBucketListValid:function(t){return i(t)&&t.length>=0}}},function(t,n,r){function e(t){if(null==t)return!0;if(a(t)&&(c(t)||"string"==typeof t||"function"==typeof t.splice||f(t)||p(t)||i(t)))return!t.length;var n=u(t);if(n==v||n==l)return!t.size;if(s(t))return!o(t).length;for(var r in t)if(h.call(t,r))return!1;return!0}var o=r(29),u=r(95),i=r(10),c=r(19),a=r(33),f=r(20),s=r(30),p=r(24),v="[object Map]",l="[object Set]",x=Object.prototype,h=x.hasOwnProperty;t.exports=e},function(t,n,r){"use strict";function e(t){return!s(t)&&p(t)&&t.match(/^(100|\d{1,2})\%/)}function o(t){return v(t)&&p(t.value)&&e(t.value)}function u(t){var n;return n=o(t)?t.value:t}function i(t){var n=u(t),r=n.substr(0,n.length-1);return r/100}function c(t){return o(t)||e(t)}function a(t){return!l(t)&&"throttle"===t.type}function f(t){return!s(t.mutate)&&"force"===t.mutate}var s=r(175),p=r(181),v=r(163),l=r(195);t.exports={mutate:function(t,n){if(!f(t)&&a(n))return n.toggle;var r=i(t);return Math.random()<r},isThrottleValid:function(t){return c(t)}}},function(t,n,r){"use strict";function e(t,n){return s(t,function(t){return 0===t.indexOf(n)})}function o(t,n){return e(t,n).length>0}function u(t,n){return o(v(t.toggles),n)}function i(t,n){return o(t.buckets,n)}function c(t,n){return o(t.throttles,n)}function a(t){var n=t.indexOf(".");return n>=0?t.substring(n+1):""}function f(t,n){var r=e(t.buckets,n),o=p(r,function(n){return t.toggles[n]});return l(o)?a(o):""}var s=r(124),p=r(198),v=r(7),l=r(181);t.exports={pairGene:function(t,n){var r={};if(u(t,n)){var e="toggle",o=t.toggles[n];i(t,n)?(e="bucket",o=f(t,n)):c(t,n)&&(e="throttle"),r.toggle=o,r.type=e}return r}}},function(t,n,r){var e=r(189),o=r(199),u=e(o);t.exports=u},function(t,n,r){function e(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var a=null==r?0:i(r);return a<0&&(a=c(e+a,0)),o(t,u(n,3),a)}var o=r(178),u=r(37),i=r(182),c=Math.max;t.exports=e},function(t,n,r){"use strict";var e=r(104),o=r(175),u=r(201),i=r(202),c=r(19),a=r(35),f=r(194),s=r(196);t.exports={areInstructionsValid:function(t){var n=e(t,"toggle"),r=e(t,"throttle"),o=e(t,"buckets");return this.isToggleValid(n)&&this.isThrottleValid(r)&&this.areBucketsValid(o)},isToggleValid:function(t){return o(t)||u(t)},isThrottleValid:function(t){return o(t)||s.isThrottleValid(t)},areBucketsValid:function(t){return o(t)||f.isBucketListValid(t)},checkFeatureInstructions:function(t){var n=o(t)||i(t)||!c(t)&&a(t);if(!n)throw new Error("Invalid feature instructions!")}}},function(t,n,r){function e(t){return t===!0||t===!1||u(t)&&o(t)==i}var o=r(12),u=r(18),i="[object Boolean]";t.exports=e},function(t,n){function r(t){return null===t}t.exports=r}])}); |
{ | ||
"name": "muton", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "A feature toggling/throttling and multivariate testing tool", | ||
@@ -5,0 +5,0 @@ "main": "./muton.js", |
@@ -13,3 +13,3 @@ 'use strict'; | ||
function isPercentage(value) { | ||
return !isUndefined(value) && isString(value) && value.match(/[0-100]%/); | ||
return !isUndefined(value) && isString(value) && value.match(/^(100|\d{1,2})\%/); | ||
} | ||
@@ -33,4 +33,4 @@ | ||
var percentage = extractPercentage(throttle); | ||
var value = percentage.substr(0, percentage.length - 2); | ||
return value / 10; | ||
var value = percentage.substr(0, percentage.length - 1); | ||
return value / 100; | ||
} | ||
@@ -37,0 +37,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
681660
18671
21
1