parcelRequire=function(e,r,n){var t="function"==typeof parcelRequire&&parcelRequire,i="function"==typeof require&&require;function u(n,o){if(!r[n]){if(!e[n]){var f="function"==typeof parcelRequire&&parcelRequire;if(!o&&f)return f(n,!0);if(t)return t(n,!0);if(i&&"string"==typeof n)return i(n);var c=new Error("Cannot find module '"+n+"'");throw c.code="MODULE_NOT_FOUND",c}a.resolve=function(r){return e[n][1][r]||r};var l=r[n]=new u.Module(n);e[n][0].call(l.exports,a,l,l.exports)}return r[n].exports;function a(e){return u(a.resolve(e))}}u.isParcelRequire=!0,u.Module=function(e){this.id=e,this.bundle=u,this.exports={}},u.modules=e,u.cache=r,u.parent=t;for(var o=0;o<n.length;o++)u(n[o]);return u}({26:[function(require,module,exports) {
    "use strict";var t=Object.prototype.toString;module.exports=function(e){var o=t.call(e),r="[object Arguments]"===o;return r||(r="[object Array]"!==o&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r};
    },{}],22:[function(require,module,exports) {
    "use strict";var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,r=Array.prototype.slice,n=require("./isArguments"),o=Object.prototype.propertyIsEnumerable,c=!o.call({toString:null},"toString"),i=o.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(t){var e=t.constructor;return e&&e.prototype===t},f={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},a=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&t.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{u(window[e])}catch(t){return!0}}catch(t){return!0}return!1}(),s=function(t){if("undefined"==typeof window||!a)return u(t);try{return u(t)}catch(t){return!1}},p=function(r){var o=null!==r&&"object"==typeof r,u="[object Function]"===e.call(r),f=n(r),a=o&&"[object String]"===e.call(r),p=[];if(!o&&!u&&!f)throw new TypeError("Object.keys called on a non-object");var y=i&&u;if(a&&r.length>0&&!t.call(r,0))for(var w=0;w<r.length;++w)p.push(String(w));if(f&&r.length>0)for(var g=0;g<r.length;++g)p.push(String(g));else for(var h in r)y&&"prototype"===h||!t.call(r,h)||p.push(String(h));if(c)for(var $=s(r),b=0;b<l.length;++b)$&&"constructor"===l[b]||!t.call(r,l[b])||p.push(l[b]);return p};p.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var t=Object.keys;Object.keys=function(e){return n(e)?t(r.call(e)):t(e)}}}else Object.keys=p;return Object.keys||p},module.exports=p;
    },{"./isArguments":26}],23:[function(require,module,exports) {
    var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;module.exports=function(o,e,a){if("[object Function]"!==r.call(e))throw new TypeError("iterator must be a function");var l=o.length;if(l===+l)for(var n=0;n<l;n++)e.call(a,o[n],n,o);else for(var c in o)t.call(o,c)&&e.call(a,o[c],c,o)};
    },{}],12:[function(require,module,exports) {
    "use strict";var e=require("object-keys"),t=require("foreach"),r="function"==typeof Symbol&&"symbol"==typeof Symbol(),n=Object.prototype.toString,o=function(e){return"function"==typeof e&&"[object Function]"===n.call(e)},c=function(){var e={};try{for(var t in Object.defineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}},u=Object.defineProperty&&c(),i=function(e,t,r,n){(!(t in e)||o(n)&&n())&&(u?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},f=function(n,o){var c=arguments.length>2?arguments[2]:{},u=e(o);r&&(u=u.concat(Object.getOwnPropertySymbols(o))),t(u,function(e){i(n,e,o[e],c[e])})};f.supportsDescriptors=!!u,module.exports=f;
    },{"object-keys":22,"foreach":23}],39:[function(require,module,exports) {
    "use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,r="[object Function]";module.exports=function(e){var p=this;if("function"!=typeof p||o.call(p)!==r)throw new TypeError(t+p);for(var i,c=n.call(arguments,1),a=Math.max(0,p.length-c.length),l=[],u=0;u<a;u++)l.push("$"+u);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var t=p.apply(this,c.concat(n.call(arguments)));return Object(t)===t?t:this}return p.apply(e,c.concat(n.call(arguments)))}),p.prototype){var y=function(){};y.prototype=p.prototype,i.prototype=new y,y.prototype=null}return i};
    },{}],38:[function(require,module,exports) {
    "use strict";var e=require("./implementation");module.exports=Function.prototype.bind||e;
    },{"./implementation":39}],36:[function(require,module,exports) {
    var e=require("function-bind");module.exports=e.call(Function.call,Object.prototype.hasOwnProperty);
    },{"function-bind":38}],42:[function(require,module,exports) {
    module.exports=function(o){return null===o||"function"!=typeof o&&"object"!=typeof o};
    },{}],41:[function(require,module,exports) {
    "use strict";var t=Function.prototype.toString,r=/^\s*class /,e=function(e){try{var n=t.call(e).replace(/\/\/.*\n/g,"").replace(/\/\*[.\s\S]*\*\//g,"").replace(/\n/gm," ").replace(/ {2}/g," ");return r.test(n)}catch(t){return!1}},n=function(r){try{return!e(r)&&(t.call(r),!0)}catch(t){return!1}},o=Object.prototype.toString,c="[object Function]",u="[object GeneratorFunction]",i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function(t){if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(i)return n(t);if(e(t))return!1;var r=o.call(t);return r===c||r===u};
    },{}],43:[function(require,module,exports) {
    "use strict";var t=Date.prototype.getDay,o=function(o){try{return t.call(o),!0}catch(t){return!1}},e=Object.prototype.toString,r="[object Date]",n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function(t){return"object"==typeof t&&null!==t&&(n?o(t):e.call(t)===r)};
    },{}],44:[function(require,module,exports) {
    "use strict";var t=Object.prototype.toString,o="function"==typeof Symbol&&"symbol"==typeof Symbol();if(o){var e=Symbol.prototype.toString,r=/^Symbol\(.*\)$/,l=function(t){return"symbol"==typeof t.valueOf()&&r.test(e.call(t))};module.exports=function(o){if("symbol"==typeof o)return!0;if("[object Symbol]"!==t.call(o))return!1;try{return l(o)}catch(t){return!1}}}else module.exports=function(t){return!1};
    },{}],37:[function(require,module,exports) {
    "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,e=require("./helpers/isPrimitive"),t=require("is-callable"),o=require("is-date-object"),i=require("is-symbol"),n=function(r,o){if(void 0===r||null===r)throw new TypeError("Cannot call method on "+r);if("string"!=typeof o||"number"!==o&&"string"!==o)throw new TypeError('hint must be "string" or "number"');var i,n,u,l="string"===o?["toString","valueOf"]:["valueOf","toString"];for(u=0;u<l.length;++u)if(i=r[l[u]],t(i)&&(n=i.call(r),e(n)))return n;throw new TypeError("No default value")},u=function(r,e){var o=r[e];if(null!==o&&void 0!==o){if(!t(o))throw new TypeError(o+" returned for property "+e+" of object "+r+" is not a function");return o}};module.exports=function(t,l){if(e(t))return t;var f,a="default";if(arguments.length>1&&(l===String?a="string":l===Number&&(a="number")),r&&(Symbol.toPrimitive?f=u(t,Symbol.toPrimitive):i(t)&&(f=Symbol.prototype.valueOf)),void 0!==f){var m=f.call(t,a);if(e(m))return m;throw new TypeError("unable to convert exotic object to primitive")}return"default"===a&&(o(t)||i(t))&&(a="string"),n(t,"default"===a?"number":a)};
    },{"./helpers/isPrimitive":42,"is-callable":41,"is-date-object":43,"is-symbol":44}],29:[function(require,module,exports) {
    module.exports=Number.isNaN||function(e){return e!=e};
    },{}],30:[function(require,module,exports) {
    var e=Number.isNaN||function(e){return e!=e};module.exports=Number.isFinite||function(r){return"number"==typeof r&&!e(r)&&r!==1/0&&r!==-1/0};
    },{}],31:[function(require,module,exports) {
    var r=Object.prototype.hasOwnProperty;module.exports=function(t,e){if(Object.assign)return Object.assign(t,e);for(var n in e)r.call(e,n)&&(t[n]=e[n]);return t};
    },{}],32:[function(require,module,exports) {
    module.exports=function(e){return e>=0?1:-1};
    },{}],33:[function(require,module,exports) {
    module.exports=function(o,r){var t=o%r;return Math.floor(t>=0?t:t+r)};
    },{}],40:[function(require,module,exports) {
    "use strict";var e=Object.prototype.toString,r=require("./helpers/isPrimitive"),t=require("is-callable"),i={"[[DefaultValue]]":function(i,u){var l=u||("[object Date]"===e.call(i)?String:Number);if(l===String||l===Number){var a,n,o=l===String?["toString","valueOf"]:["valueOf","toString"];for(n=0;n<o.length;++n)if(t(i[o[n]])&&(a=i[o[n]](),r(a)))return a;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")}};module.exports=function(e,t){return r(e)?e:i["[[DefaultValue]]"](e,t)};
    },{"./helpers/isPrimitive":42,"is-callable":41}],28:[function(require,module,exports) {
    "use strict";var r=require("./helpers/isNaN"),e=require("./helpers/isFinite"),t=require("./helpers/sign"),o=require("./helpers/mod"),i=require("is-callable"),n=require("es-to-primitive/es5"),s=require("has"),u={ToPrimitive:n,ToBoolean:function(r){return!!r},ToNumber:function(r){return Number(r)},ToInteger:function(o){var i=this.ToNumber(o);return r(i)?0:0!==i&&e(i)?t(i)*Math.floor(Math.abs(i)):i},ToInt32:function(r){return this.ToNumber(r)>>0},ToUint32:function(r){return this.ToNumber(r)>>>0},ToUint16:function(i){var n=this.ToNumber(i);if(r(n)||0===n||!e(n))return 0;var s=t(n)*Math.floor(Math.abs(n));return o(s,65536)},ToString:function(r){return String(r)},ToObject:function(r){return this.CheckObjectCoercible(r),Object(r)},CheckObjectCoercible:function(r,e){if(null==r)throw new TypeError(e||"Cannot call method on "+r);return r},IsCallable:i,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:r(e)&&r(t)},Type:function(r){return null===r?"Null":void 0===r?"Undefined":"function"==typeof r||"object"==typeof r?"Object":"number"==typeof r?"Number":"boolean"==typeof r?"Boolean":"string"==typeof r?"String":void 0},IsPropertyDescriptor:function(r){if("Object"!==this.Type(r))return!1;var e={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var t in r)if(s(r,t)&&!e[t])return!1;var o=s(r,"[[Value]]"),i=s(r,"[[Get]]")||s(r,"[[Set]]");if(o&&i)throw new TypeError("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(r){if(void 0===r)return!1;if(!this.IsPropertyDescriptor(r))throw new TypeError("Desc must be a Property Descriptor");return!(!s(r,"[[Get]]")&&!s(r,"[[Set]]"))},IsDataDescriptor:function(r){if(void 0===r)return!1;if(!this.IsPropertyDescriptor(r))throw new TypeError("Desc must be a Property Descriptor");return!(!s(r,"[[Value]]")&&!s(r,"[[Writable]]"))},IsGenericDescriptor:function(r){if(void 0===r)return!1;if(!this.IsPropertyDescriptor(r))throw new TypeError("Desc must be a Property Descriptor");return!this.IsAccessorDescriptor(r)&&!this.IsDataDescriptor(r)},FromPropertyDescriptor:function(r){if(void 0===r)return r;if(!this.IsPropertyDescriptor(r))throw new TypeError("Desc must be a Property Descriptor");if(this.IsDataDescriptor(r))return{value:r["[[Value]]"],writable:!!r["[[Writable]]"],enumerable:!!r["[[Enumerable]]"],configurable:!!r["[[Configurable]]"]};if(this.IsAccessorDescriptor(r))return{get:r["[[Get]]"],set:r["[[Set]]"],enumerable:!!r["[[Enumerable]]"],configurable:!!r["[[Configurable]]"]};throw new TypeError("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(r){if("Object"!==this.Type(r))throw new TypeError("ToPropertyDescriptor requires an object");var e={};if(s(r,"enumerable")&&(e["[[Enumerable]]"]=this.ToBoolean(r.enumerable)),s(r,"configurable")&&(e["[[Configurable]]"]=this.ToBoolean(r.configurable)),s(r,"value")&&(e["[[Value]]"]=r.value),s(r,"writable")&&(e["[[Writable]]"]=this.ToBoolean(r.writable)),s(r,"get")){var t=r.get;if(void 0!==t&&!this.IsCallable(t))throw new TypeError("getter must be a function");e["[[Get]]"]=t}if(s(r,"set")){var o=r.set;if(void 0!==o&&!this.IsCallable(o))throw new TypeError("setter must be a function");e["[[Set]]"]=o}if((s(e,"[[Get]]")||s(e,"[[Set]]"))&&(s(e,"[[Value]]")||s(e,"[[Writable]]")))throw new TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return e}};module.exports=u;
    },{"./helpers/isNaN":29,"./helpers/isFinite":30,"./helpers/sign":32,"./helpers/mod":33,"is-callable":41,"es-to-primitive/es5":40,"has":36}],35:[function(require,module,exports) {
    "use strict";var t=require("has"),e=RegExp.prototype.exec,r=Object.getOwnPropertyDescriptor,o=function(t){try{var r=t.lastIndex;return t.lastIndex=0,e.call(t),!0}catch(t){return!1}finally{t.lastIndex=r}},n=Object.prototype.toString,l="[object RegExp]",a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!a)return n.call(e)===l;var c=r(e,"lastIndex");return!(!c||!t(c,"value"))&&o(e)};
    },{"has":36}],27:[function(require,module,exports) {
    "use strict";var e=require("has"),r=require("es-to-primitive/es6"),t=Object.prototype.toString,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,n=o?Symbol.iterator:null,i=require("./helpers/isNaN"),s=require("./helpers/isFinite"),a=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,u=require("./helpers/assign"),p=require("./helpers/sign"),c=require("./helpers/mod"),l=require("./helpers/isPrimitive"),y=parseInt,f=require("function-bind"),h=f.call(Function.call,Array.prototype.slice),b=f.call(Function.call,String.prototype.slice),T=f.call(Function.call,RegExp.prototype.test,/^0b[01]+$/i),w=f.call(Function.call,RegExp.prototype.test,/^0o[0-7]+$/i),m=f.call(Function.call,RegExp.prototype.exec),E=["","​",""].join(""),v=new RegExp("["+E+"]","g"),d=f.call(Function.call,RegExp.prototype.test,v),O=/^[-+]0x[0-9a-f]+$/i,I=f.call(Function.call,RegExp.prototype.test,O),g=["\t\n\v\f\r   ᠎    ","         　\u2028","\u2029\ufeff"].join(""),j=new RegExp("(^["+g+"]+)|(["+g+"]+$)","g"),S=f.call(Function.call,String.prototype.replace),P=function(e){return S(e,j,"")},C=require("./es5"),A=require("is-regex"),x=u(u({},C),{Call:function(e,r){var t=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new TypeError(e+" is not a function");return e.apply(r,t)},ToPrimitive:r,ToNumber:function(e){var t=l(e)?e:r(e,Number);if("symbol"==typeof t)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof t){if(T(t))return this.ToNumber(y(b(t,2),2));if(w(t))return this.ToNumber(y(b(t,2),8));if(d(t)||I(t))return NaN;var o=P(t);if(o!==t)return this.ToNumber(o)}return Number(t)},ToInt16:function(e){var r=this.ToUint16(e);return r>=32768?r-65536:r},ToInt8:function(e){var r=this.ToUint8(e);return r>=128?r-256:r},ToUint8:function(e){var r=this.ToNumber(e);if(i(r)||0===r||!s(r))return 0;var t=p(r)*Math.floor(Math.abs(r));return c(t,256)},ToUint8Clamp:function(e){var r=this.ToNumber(e);if(i(r)||r<=0)return 0;if(r>=255)return 255;var t=Math.floor(e);return t+.5<r?t+1:r<t+.5?t:t%2!=0?t+1:t},ToString:function(e){if("symbol"==typeof e)throw new TypeError("Cannot convert a Symbol value to a string");return String(e)},ToObject:function(e){return this.RequireObjectCoercible(e),Object(e)},ToPropertyKey:function(e){var r=this.ToPrimitive(e,String);return"symbol"==typeof r?r:this.ToString(r)},ToLength:function(e){var r=this.ToInteger(e);return r<=0?0:r>a?a:r},CanonicalNumericIndexString:function(e){if("[object String]"!==t.call(e))throw new TypeError("must be a string");if("-0"===e)return-0;var r=this.ToNumber(e);return this.SameValue(this.ToString(r),e)?r:void 0},RequireObjectCoercible:C.CheckObjectCoercible,IsArray:Array.isArray||function(e){return"[object Array]"===t.call(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:function(e){return!Object.preventExtensions||!l(e)&&Object.isExtensible(e)},IsInteger:function(e){if("number"!=typeof e||i(e)||!s(e))return!1;var r=Math.abs(e);return Math.floor(r)===r},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(o){var r=e[Symbol.match];if(void 0!==r)return C.ToBoolean(r)}return A(e)},SameValueZero:function(e,r){return e===r||i(e)&&i(r)},GetV:function(e,r){if(!this.IsPropertyKey(r))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[r]},GetMethod:function(e,r){if(!this.IsPropertyKey(r))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");var t=this.GetV(e,r);if(null!=t){if(!this.IsCallable(t))throw new TypeError(r+"is not a function");return t}},Get:function(e,r){if("Object"!==this.Type(e))throw new TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");return e[r]},Type:function(e){return"symbol"==typeof e?"Symbol":C.Type(e)},SpeciesConstructor:function(e,r){if("Object"!==this.Type(e))throw new TypeError("Assertion failed: Type(O) is not Object");var t=e.constructor;if(void 0===t)return r;if("Object"!==this.Type(t))throw new TypeError("O.constructor is not an Object");var n=o&&Symbol.species?t[Symbol.species]:void 0;if(null==n)return r;if(this.IsConstructor(n))return n;throw new TypeError("no constructor found")},CompletePropertyDescriptor:function(r){if(!this.IsPropertyDescriptor(r))throw new TypeError("Desc must be a Property Descriptor");return this.IsGenericDescriptor(r)||this.IsDataDescriptor(r)?(e(r,"[[Value]]")||(r["[[Value]]"]=void 0),e(r,"[[Writable]]")||(r["[[Writable]]"]=!1)):(e(r,"[[Get]]")||(r["[[Get]]"]=void 0),e(r,"[[Set]]")||(r["[[Set]]"]=void 0)),e(r,"[[Enumerable]]")||(r["[[Enumerable]]"]=!1),e(r,"[[Configurable]]")||(r["[[Configurable]]"]=!1),r},Set:function(e,r,t,o){if("Object"!==this.Type(e))throw new TypeError("O must be an Object");if(!this.IsPropertyKey(r))throw new TypeError("P must be a Property Key");if("Boolean"!==this.Type(o))throw new TypeError("Throw must be a Boolean");if(o)return e[r]=t,!0;try{e[r]=t}catch(e){return!1}},HasOwnProperty:function(r,t){if("Object"!==this.Type(r))throw new TypeError("O must be an Object");if(!this.IsPropertyKey(t))throw new TypeError("P must be a Property Key");return e(r,t)},HasProperty:function(e,r){if("Object"!==this.Type(e))throw new TypeError("O must be an Object");if(!this.IsPropertyKey(r))throw new TypeError("P must be a Property Key");return r in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(o&&"symbol"==typeof Symbol.isConcatSpreadable){var r=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==r)return this.ToBoolean(r)}return this.IsArray(e)},Invoke:function(e,r){if(!this.IsPropertyKey(r))throw new TypeError("P must be a Property Key");var t=h(arguments,2),o=this.GetV(e,r);return this.Call(o,e,t)},GetIterator:function(e,r){if(!o)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var t=r;arguments.length<2&&(t=this.GetMethod(e,n));var i=this.Call(t,e);if("Object"!==this.Type(i))throw new TypeError("iterator must return an object");return i},IteratorNext:function(e,r){var t=this.Invoke(e,"next",arguments.length<2?[]:[r]);if("Object"!==this.Type(t))throw new TypeError("iterator next must return an object");return t},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new TypeError("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new TypeError("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var r=this.IteratorNext(e);return!0!==this.IteratorComplete(r)&&r},IteratorClose:function(e,r){if("Object"!==this.Type(e))throw new TypeError("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(r))throw new TypeError("Assertion failed: completion is not a thunk for a Completion Record");var t,o=r,n=this.GetMethod(e,"return");if(void 0===n)return o();try{var i=this.Call(n,e,[])}catch(e){throw t=o(),o=null,e}if(t=o(),o=null,"Object"!==this.Type(i))throw new TypeError("iterator .return must return an object");return t},CreateIterResultObject:function(e,r){if("Boolean"!==this.Type(r))throw new TypeError("Assertion failed: Type(done) is not Boolean");return{value:e,done:r}},RegExpExec:function(e,r){if("Object"!==this.Type(e))throw new TypeError("R must be an Object");if("String"!==this.Type(r))throw new TypeError("S must be a String");var t=this.Get(e,"exec");if(this.IsCallable(t)){var o=this.Call(t,e,[r]);if(null===o||"Object"===this.Type(o))return o;throw new TypeError('"exec" method must return `null` or an Object')}return m(e,r)},ArraySpeciesCreate:function(e,r){if(!this.IsInteger(r)||r<0)throw new TypeError("Assertion failed: length must be an integer >= 0");var t,n=0===r?0:r;if(this.IsArray(e)&&(t=this.Get(e,"constructor"),"Object"===this.Type(t)&&o&&Symbol.species&&null===(t=this.Get(t,Symbol.species))&&(t=void 0)),void 0===t)return Array(n);if(!this.IsConstructor(t))throw new TypeError("C must be a constructor");return new t(n)},CreateDataProperty:function(e,r,t){if("Object"!==this.Type(e))throw new TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");var o=Object.getOwnPropertyDescriptor(e,r),n=o||"function"!=typeof Object.isExtensible||Object.isExtensible(e);if(o&&(!o.writable||!o.configurable)||!n)return!1;var i={configurable:!0,enumerable:!0,value:t,writable:!0};return Object.defineProperty(e,r,i),!0},CreateDataPropertyOrThrow:function(e,r,t){if("Object"!==this.Type(e))throw new TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");var o=this.CreateDataProperty(e,r,t);if(!o)throw new TypeError("unable to create data property");return o},AdvanceStringIndex:function(e,r,t){if("String"!==this.Type(e))throw new TypeError("Assertion failed: Type(S) is not String");if(!this.IsInteger(r))throw new TypeError("Assertion failed: length must be an integer >= 0 and <= (2**53 - 1)");if(r<0||r>a)throw new RangeError("Assertion failed: length must be an integer >= 0 and <= (2**53 - 1)");if("Boolean"!==this.Type(t))throw new TypeError("Assertion failed: Type(unicode) is not Boolean");if(!t)return r+1;if(r+1>=e.length)return r+1;var o=e.charCodeAt(r);if(o<55296||o>56319)return r+1;var n=e.charCodeAt(r+1);return n<56320||n>57343?r+1:r+2}});delete x.CheckObjectCoercible,module.exports=x;
    },{"has":36,"es-to-primitive/es6":37,"./helpers/isNaN":29,"./helpers/isFinite":30,"./helpers/assign":31,"./helpers/sign":32,"./helpers/mod":33,"./helpers/isPrimitive":42,"function-bind":38,"./es5":28,"is-regex":35}],21:[function(require,module,exports) {
    "use strict";module.exports=require("./es2015");
    },{"./es2015":27}],9:[function(require,module,exports) {
    "use strict";var e=require("es-abstract/es6"),r=require("define-properties").supportsDescriptors;module.exports=function(t){var o=r?Object.defineProperty:function(e,r,t){e[r]=t.value};if(null===t||void 0===t)throw new TypeError("`Array.from` requires an array-like object, not `null` or `undefined`");var n,a,i=e.ToObject(t);if(void 0!==arguments[1]){if(n=arguments[1],!e.IsCallable(n))throw new TypeError("When provided, the second argument to `Array.from` must be a function");arguments.length>2&&(a=arguments[2])}for(var l,u=e.ToLength(i.length),s=e.IsCallable(this)?e.ToObject(new this(u)):new Array(u),f=0;f<u;)l=i[f],o(s,f,{configurable:!0,enumerable:!0,value:n?void 0===a?n(l,f):e.Call(n,a,[l,f]):l,writable:!0}),f+=1;return s.length=u,s};
    },{"es-abstract/es6":21,"define-properties":12}],10:[function(require,module,exports) {
    "use strict";var r=require("es-abstract/es6"),t=require("./implementation"),e=function(r){try{return r(),!0}catch(r){return!1}};module.exports=function(){return r.IsCallable(Array.from)&&e(function(){Array.from({length:-1/0})})&&!e(function(){Array.from([],void 0)})?Array.from:t};
    },{"es-abstract/es6":21,"./implementation":9}],11:[function(require,module,exports) {
    "use strict";var r=require("define-properties"),e=require("./polyfill");module.exports=function(){var o=e();return r(Array,{from:o},{from:function(){return Array.from!==o}}),o};
    },{"define-properties":12,"./polyfill":10}],5:[function(require,module,exports) {
    "use strict";var e=require("define-properties"),i=require("./implementation"),r=require("./polyfill"),t=require("./shim"),l=function(e){return i.apply(this||Array,arguments)};e(l,{getPolyfill:r,implementation:i,shim:t}),module.exports=l;
    },{"define-properties":12,"./implementation":9,"./polyfill":10,"./shim":11}],4:[function(require,module,exports) {
    var e,t,n,r,o,i,s,a,u,d,f,c,l,p,h,y,v,g,w,m,b,x,L,T,C,R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};g=window.document,t="before",e="after",f="readyState",d="addEventListener",u="removeEventListener",o="dispatchEvent",h="XMLHttpRequest",i="FormData",c=["load","loadend","loadstart"],n=["progress","abort","error","timeout"],b=parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase())||[])[1]),isNaN(b)&&(b=parseInt((/trident\/.*; rv:(\d+)/.exec(navigator.userAgent.toLowerCase())||[])[1])),(C=Array.prototype).indexOf||(C.indexOf=function(e){var t,n,r;for(t=n=0,r=this.length;n<r;t=++n)if(this[t]===e)return t;return-1}),L=function(e,t){return Array.prototype.slice.call(e,t)},v=function(e){return"returnValue"===e||"totalSize"===e||"position"===e},m=function(e,t){var n;for(n in e)if(e[n],!v(n))try{t[n]=e[n]}catch(e){}return t},x=function(e,t,n){var r,i,s,a;for(i=function(e){return function(r){var i,s,a;for(s in i={},r)v(s)||(a=r[s],i[s]=a===t?n:a);return n[o](e,i)}},s=0,a=e.length;s<a;s++)r=e[s],n._has(r)&&(t["on"+r]=i(r))},w=function(e){var t;if(null!=g.createEventObject)return(t=g.createEventObject()).type=e,t;try{return new Event(e)}catch(t){return{type:e}}},(T=(r=function(e){var t,n,r;return n={},r=function(e){return n[e]||[]},(t={})[d]=function(e,t,o){n[e]=r(e),n[e].indexOf(t)>=0||(o=void 0===o?n[e].length:o,n[e].splice(o,0,t))},t[u]=function(e,t){var o;void 0!==e?(void 0===t&&(n[e]=[]),-1!==(o=r(e).indexOf(t))&&r(e).splice(o,1)):n={}},t[o]=function(){var n,o,i,s,a,u,d;for(o=(n=L(arguments)).shift(),e||(n[0]=m(n[0],w(o))),(s=t["on"+o])&&s.apply(t,n),i=a=0,u=(d=r(o).concat(r("*"))).length;a<u;i=++a)d[i].apply(t,n)},t._has=function(e){return!(!n[e]&&!t["on"+e])},e&&(t.listeners=function(e){return L(r(e))},t.on=t[d],t.off=t[u],t.fire=t[o],t.once=function(e,n){var r;return r=function(){return t.off(e,r),n.apply(null,arguments)},t.on(e,r)},t.destroy=function(){return n={}}),t})(!0)).EventEmitter=r,T[t]=function(e,n){if(e.length<1||e.length>2)throw"invalid hook";return T[d](t,e,n)},T[e]=function(t,n){if(t.length<2||t.length>3)throw"invalid hook";return T[d](e,t,n)},T.enable=function(){window[h]=p,s&&(window[i]=l)},T.disable=function(){window[h]=T[h],s&&(window[i]=s)},y=T.headers=function(e,t){var n,r,o,i,s,a,u,d,f;switch(null==t&&(t={}),void 0===e?"undefined":R(e)){case"object":for(o in r=[],e)s=e[o],i=o.toLowerCase(),r.push(i+":\t"+s);return r.join("\n");case"string":for(u=0,d=(r=e.split("\n")).length;u<d;u++)n=r[u],/([^:]+):\s*(.+)/.test(n)&&(i=null!=(f=RegExp.$1)?f.toLowerCase():void 0,a=RegExp.$2,null==t[i]&&(t[i]=a));return t}},s=window[i],l=function(e){var t,n;this.fd=e?new s(e):new s,this.form=e,t=[],Object.defineProperty(this,"entries",{get:function(){return(e?L(e.querySelectorAll("input,select")).filter(function(e){var t;return"checkbox"!==(t=e.type)&&"radio"!==t||e.checked}).map(function(e){return[e.name,"file"===e.type?e.files:e.value]}):[]).concat(t)}}),this.append=(n=this,function(){var e;return e=L(arguments),t.push(e),n.fd.append.apply(n.fd,e)})},s&&(T[i]=s,window[i]=l),a=window[h],T[h]=a,p=window[h]=function(){var i,s,a,u,p,v,g,w,L,C,O,S,A,M,j,H,U,N,k,q;U=new T[h],A=null,v=void 0,M=void 0,O=void 0,L=function(){var e,t,n,r;if(O.status=A||U.status,-1===A&&b<10||(O.statusText=U.statusText),-1!==A)for(e in r=y(U.getAllResponseHeaders()))n=r[e],O.headers[e]||(t=e.toLowerCase(),O.headers[t]=n)},w=function(){U.responseType&&"text"!==U.responseType?"document"===U.responseType?(O.xml=U.responseXML,O.data=U.responseXML):O.data=U.response:(O.text=U.responseText,O.data=U.responseText),"responseURL"in U&&(O.finalUrl=U.responseURL)},H=function(){p.status=O.status,p.statusText=O.statusText},j=function(){"text"in O&&(p.responseText=O.text),"xml"in O&&(p.responseXML=O.xml),"data"in O&&(p.response=O.data),"finalUrl"in O&&(p.responseURL=O.finalUrl)},a=function(e){for(;e>i&&i<4;)p[f]=++i,1===i&&p[o]("loadstart",{}),2===i&&H(),4===i&&(H(),j()),p[o]("readystatechange",{}),4===i&&setTimeout(s,0)},s=function(){v||p[o]("load",{}),p[o]("loadend",{}),v&&(p[f]=0)},i=0,S=function(t){var n,r;4===t?(n=T.listeners(e),(r=function(){var e;return n.length?2===(e=n.shift()).length?(e(C,O),r()):3===e.length&&C.async?e(C,O,r):r():a(4)})()):a(t)},p=(C={}).xhr=r(),U.onreadystatechange=function(e){try{2===U[f]&&L()}catch(e){}4===U[f]&&(M=!1,L(),w()),S(U[f])},g=function(){v=!0},p[d]("error",g),p[d]("timeout",g),p[d]("abort",g),p[d]("progress",function(){i<3?S(3):p[o]("readystatechange",{})}),("withCredentials"in U||T.addWithCredentials)&&(p.withCredentials=!1),p.status=0;for(N=0,k=(q=n.concat(c)).length;N<k;N++)u=q[N],p["on"+u]=null;return p.open=function(e,t,n,r,o){i=0,v=!1,M=!1,C.headers={},C.headerNames={},C.status=0,(O={}).headers={},C.method=e,C.url=t,C.async=!1!==n,C.user=r,C.pass=o,S(1)},p.send=function(e){var r,o,i,s,a,u,d,f;for(u=0,d=(f=["type","timeout","withCredentials"]).length;u<d;u++)(i="type"===(o=f[u])?"responseType":o)in p&&(C[o]=p[i]);C.body=e,a=function(){var e,t,r,s,a,u;for(x(n,U,p),p.upload&&x(n.concat(c),U.upload,p.upload),M=!0,U.open(C.method,C.url,C.async,C.user,C.pass),r=0,s=(a=["type","timeout","withCredentials"]).length;r<s;r++)i="type"===(o=a[r])?"responseType":o,o in C&&(U[i]=C[o]);for(e in u=C.headers)t=u[e],e&&U.setRequestHeader(e,t);C.body instanceof l&&(C.body=C.body.fd),U.send(C.body)},r=T.listeners(t),(s=function(){var e,t;return r.length?((e=function(e){if("object"===(void 0===e?"undefined":R(e))&&("number"==typeof e.status||"number"==typeof O.status))return m(e,O),E.call(e,"data")<0&&(e.data=e.response||e.text),void S(4);s()}).head=function(e){return m(e,O),S(2)},e.progress=function(e){return m(e,O),S(3)},1===(t=r.shift()).length?e(t(C)):2===t.length&&C.async?t(C,e):e()):a()})()},p.abort=function(){A=-1,M?U.abort():p[o]("abort",{})},p.setRequestHeader=function(e,t){var n,r;n=null!=e?e.toLowerCase():void 0,r=C.headerNames[n]=C.headerNames[n]||e,C.headers[r]&&(t=C.headers[r]+", "+t),C.headers[r]=t},p.getResponseHeader=function(e){var t;return t=null!=e?e.toLowerCase():void 0,O.headers[t]},p.getAllResponseHeaders=function(){return y(O.headers)},U.overrideMimeType&&(p.overrideMimeType=function(){return U.overrideMimeType.apply(U,arguments)}),U.upload&&(p.upload=C.upload=r()),p},module.exports=T;
    },{}],20:[function(require,module,exports) {
    var e=function e(s){s&&(s.masters&&e.masters(s.masters),s.slaves&&e.slaves(s.slaves))};e.debug=!1,e.timeout=15e3,e.cookies={master:"Master-Cookie",slave:"Slave-Cookie"},module.exports=e;
    },{}],17:[function(require,module,exports) {
    var global = (1,eval)("this");
    var r=(0,eval)("this"),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},t=require("../vendor/xhook"),e=require("./config");exports.COMPAT_VERSION="V1";var n=window,i=n.location;exports.currentOrigin=i.protocol+"//"+i.host,e.origin=exports.currentOrigin,exports.globalEmitter=t.EventEmitter(!0),exports.console=window.console||{};var p=0;exports.guid=function(){p>=1e6&&(p=0);for(var r=String(++p);r.length<6;)r="0"+r;return"xdomain-"+r},exports.slice=function(r,o){return Array.prototype.slice.call(r,o)};var l=function(r){return function(o){o="xdomain ("+exports.currentOrigin+"): "+o,exports.globalEmitter.fire(r,o),("log"!==r||e.debug)&&(r in e?e[r](o):r in console?console[r](o):"warn"===r&&alert(o))}};exports.log=l("log"),exports.warn=l("warn"),exports.instOf=function(r,o){return o in window&&r instanceof window[o]},exports.parseUrl=function(r){return/^((https?:)?\/\/[^\/\?]+)(\/.*)?/.test(r)?{origin:(RegExp.$2?"":i.protocol)+RegExp.$1,path:RegExp.$3}:(exports.log("failed to parse absolute url: "+r),null)},e.parseUrl=exports.parseUrl,exports.toRegExp=function(r){if(r instanceof RegExp)return r;var o=r.toString().replace(/\W/g,function(r){return"\\"+r}).replace(/\\\*/g,".*");return new RegExp("^"+o+"$")},exports.strip=function(r){var t={};for(var e in r)if("returnValue"!==e){var n=r[e],i=void 0===n?"undefined":o(n);"function"!==i&&"object"!==i&&(t[e]=n)}return t};
    },{"../vendor/xhook":4,"./config":20}],25:[function(require,module,exports) {
    var e=require("../vendor/xhook"),t=require("./config"),r=require("./util"),a=r.log,o=r.warn,s=r.toRegExp,n=r.strip,i=r.parseUrl,d=r.COMPAT_VERSION,u=!1,l={};exports.addMasters=function(e){if(window!==window.parent)for(var t in u||(u=!0,a("now handling incoming sockets..."),window.parent.postMessage("XDPING_"+d,"*")),e){var r=e[t];"file://"===t&&"*"!==r&&(o("file protocol only supports the * path"),r="*"),a("adding master: "+t),l[t]=r}else o("slaves must be in an iframe")},t.masters=exports.addMasters,exports.handleSocket=function(t,r){if(u){"null"!==t&&"file:"!==t||(t="file://"),a('handle socket for "'+t+'"');var d=null;for(var p in l){var f=l[p];try{if(s(p).test(t)){d=s(f);break}}catch(e){}}d?(r.once("request",function(t){a("request: "+t.method+" "+t.url);var s=i(t.url);if(!s||!d.test(s.path))return o("blocked request to path: '"+s.path+"' by regex: "+d),void r.close();var u=new XMLHttpRequest;for(var l in u.open(t.method,t.url),u.addEventListener("*",function(e){return r.emit("xhr-event",e.type,n(e))}),u.upload&&u.upload.addEventListener("*",function(e){return r.emit("xhr-upload-event",e.type,n(e))}),u.onreadystatechange=function(){if(4===u.readyState){var t={status:u.status,statusText:u.statusText,data:u.response,headers:e.headers(u.getAllResponseHeaders())};try{t.text=u.responseText}catch(e){}return r.emit("response",t)}},r.once("abort",function(){return u.abort()}),t.withCredentials&&(u.withCredentials=!0,t.slaveCookie&&(t.headers[t.slaveCookie]=document.cookie)),t.timeout&&(u.timeout=t.timeout),t.type&&(u.responseType=t.type),t.headers){var p=t.headers[l];u.setRequestHeader(l,p)}if(t.body instanceof Array&&"XD_FD"===t.body[0]){var f=new e.FormData,c=t.body[1];Array.from(c).forEach(function(e){if("XD_BLOB"===args[0]&&4===args.length){var t=new Blob([args[2]],{type:args[3]});args=args[1],args[1]=t}f.append.apply(f,args)}),t.body=f}u.send(t.body||null)}),a("slave listening for requests on socket: "+r.id)):o("blocked request from: '"+t+"'")}};
    },{"../vendor/xhook":4,"./config":20,"./util":17}],18:[function(require,module,exports) {
    var e=require("../vendor/xhook"),t=require("./config"),i=require("./util"),r=i.globalEmitter,n=i.log,o=i.warn,s=i.COMPAT_VERSION,a=require("./slave"),c=a.handleSocket,f="XD_CHECK",u=100,l={},d=!0;exports.createSocket=function(i,s){var a=!1,c=e.EventEmitter(!0);l[i]=c,c.id=i,c.once("close",function(){c.destroy(),c.close()});var v=[];c.emit=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var o="string"==typeof t[1]?" -> "+t[1]:"";n("send socket: "+i+": "+t[0]+o),t.unshift(i),a?m(t):v.push(t)};var m=function(e){d&&(e=JSON.stringify(e)),s.postMessage(e,"*")};c.close=function(){c.emit("close"),n("close socket: "+i),l[i]=null},c.once(f,function(e){for(d="string"==typeof e,a=c.ready=!0,c.emit("ready"),n("ready socket: "+i+" (emit #"+v.length+" pending)");v.length;)m(v.shift())});var g=0;return setTimeout(function e(){s.postMessage([i,f,{}],"*"),a||(g++>=t.timeout/u?(o("Timeout waiting on iframe socket"),r.fire("timeout"),c.fire("abort")):(n("check again in "+u+"ms..."),setTimeout(e,u)))}),n("new socket: "+i),c},exports.initialise=function(){var e=function(e){var t=e.data;if("string"==typeof t){if(/^XDPING(_(V\d+))?$/.test(t)&&RegExp.$2!==s)return o("your master is not compatible with your slave, check your xdomain.js version");if(/^xdomain-/.test(t))t=t.split(",");else if(d)try{t=JSON.parse(t)}catch(e){return}}if(t instanceof Array){var i=t.shift();if(/^xdomain-/.test(i)){var r=l[i];if(null!==r){if(void 0===r){if(!c)return;r=exports.createSocket(i,e.source),c(e.origin,r)}var a="string"==typeof t[1]?" -> "+t[1]:"";n("receive socket: "+i+": "+t[0]+a),r.fire.apply(r,t)}}}};return document.addEventListener?window.addEventListener("message",e):window.attachEvent("onmessage",e)};
    },{"../vendor/xhook":4,"./config":20,"./util":17,"./slave":25}],24:[function(require,module,exports) {
    var r=function(){return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return function(r,e){var n=[],t=!0,i=!1,o=void 0;try{for(var a,u=r[Symbol.iterator]();!(t=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);t=!0);}catch(r){i=!0,o=r}finally{try{!t&&u.return&&u.return()}finally{if(i)throw o}}return n}(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),e=require("../vendor/xhook"),n=require("./config"),t=require("./util"),i=t.currentOrigin,o=t.log,a=t.warn,u=t.parseUrl,s=t.guid,c=t.strip,d=t.instOf,l=require("./socket"),f=l.createSocket,v=!1,y={};exports.addSlaves=function(r){for(var n in v||(v=!0,"addWithCredentials"in e||(e.addWithCredentials=!0),e.before(p)),r){var t=r[n];o("adding slave: "+n),y[n]=t}},n.slaves=exports.addSlaves;var p=function(r,e){var n=u(r.url);if(n&&n.origin!==i){if(!y[n.origin])return n&&o("no slave matching: '"+n.origin+"'"),void e();if(o("proxying request to slave: '"+n.origin+"'"),!1===r.async)return a("sync not supported because postmessage is async"),void e();var t=m(n.origin,y[n.origin]),c=f(s(),t);c.on("response",function(r){e(r),c.close()}),r.xhr.addEventListener("abort",function(){return c.emit("abort")}),c.ready?x(r,c):c.once("ready",function(){return x(r,c)})}else e()},h={},m=function(r,e){if(h[r])return h[r];var n=document.createElement("iframe");return n.id=n.name=s(),o("creating iframe "+n.id),n.src=""+r+e,n.setAttribute("style","display:none;"),document.body.appendChild(n),h[r]=n.contentWindow},b=function(e,n){var t=Array.from(e),i=r(t,2),o=(i[0],i[1]),a=d(o,"Blob"),u=d(o,"File");if(!a&&!u)return 0;var s=new FileReader;return s.onload=function(){return e[1]=null,u&&(e[2]=o.name),n(["XD_BLOB",e,this.result,o.type])},s.readAsArrayBuffer(o),1},g=function(e,n){e.forEach(function(n,t){var i=Array.from(n),o=r(i,2),a=o[0],u=o[1];d(u,"FileList")&&(e.splice(t,1),Array.from(u).forEach(function(r){e.splice(t,0,[a,r])}))});var t=0;e.forEach(function(r,i){t+=b(r,function(r){e[i]=r,0==--t&&n()})}),0===t&&n()},x=function(r,e){e.on("xhr-event",function(){return r.xhr.dispatchEvent.apply(null,arguments)}),e.on("xhr-upload-event",function(){return r.xhr.upload.dispatchEvent.apply(null,arguments)});var t=c(r);t.headers=r.headers,r.withCredentials&&(n.cookies.master&&(t.headers[n.cookies.master]=document.cookie),t.slaveCookie=n.cookies.slave);var i=function(){return e.emit("request",t)};if(r.body&&(t.body=r.body,d(t.body,"FormData"))){var o=t.body.entries;return t.body=["XD_FD",o],void g(o,i)}i()};
    },{"../vendor/xhook":4,"./config":20,"./util":17,"./socket":18}],19:[function(require,module,exports) {
    var r=require("./config"),i=require("./util"),a=i.parseUrl,e=require("./master"),t=e.addSlaves,n=require("./slave"),o=n.addMasters,f=window,s=f.document;exports.initialise=function(){var i={debug:function(i){r.debug="false"!==i},slave:function(r){var i=a(r);if(i){var e={};e[i.origin]=i.path,t(e)}},master:function(r){var i=void 0;if(i="*"===r?{origin:"*",path:"*"}:"file://*"===r?{origin:"file://",path:"*"}:a(r)){var e={};e[i.origin]=i.path.replace(/^\//,"")?i.path:"*",o(e)}}};Array.from(s.getElementsByTagName("script")).forEach(function(r){/xdomain/.test(r.src)&&["","data-"].forEach(function(a){for(var e in i){var t=r.getAttribute(a+e);if(t)(0,i[e])(t)}})})};
    },{"./config":20,"./util":17,"./master":24,"./slave":25}],3:[function(require,module,exports) {
    "use strict";var i=require("./lib/util"),r=i.warn;["postMessage","JSON"].forEach(function(i){window[i]||r("requires '"+i+"' and this browser does not support it")});var e=require("./lib/socket");e.initialise();var s=require("./lib/script");s.initialise();var t=require("./lib/config");module.exports=t;
    },{"./lib/util":17,"./lib/socket":18,"./lib/script":19,"./lib/config":20}],1:[function(require,module,exports) {
    Array.from||(Array.from=require("array.from").getPolyfill());var r=require("./vendor/xhook");window.xhook=r;var o=require("./index");window.xdomain=o;
    },{"array.from":5,"./vendor/xhook":4,"./index":3}]},{},[1])