UNPKG

notifyjs

Version:

A handy wrapper for the Web Notifications API

2 lines 705 kB
!function(){var a="undefined"!=typeof System?System:void 0;!function(a){"use strict";function b(a){a.Reflect=a.Reflect||{},a.Reflect.global=a.Reflect.global||a}if(!a.$traceurRuntime){b(a);var c=function(a){return typeof a};a.$traceurRuntime={options:{},setupGlobals:b,"typeof":c}}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this),function(){function a(a,b,c,d,e,f,g){var h=[];return a&&h.push(a,":"),c&&(h.push("//"),b&&h.push(b,"@"),h.push(c),d&&h.push(":",d)),e&&h.push(e),f&&h.push("?",f),g&&h.push("#",g),h.join("")}function b(a){return a.match(h)}function c(a){if("/"===a)return"/";for(var b="/"===a[0]?"/":"",c="/"===a.slice(-1)?"/":"",d=a.split("/"),e=[],f=0,g=0;g<d.length;g++){var h=d[g];switch(h){case"":case".":break;case"..":e.length?e.pop():f++;break;default:e.push(h)}}if(!b){for(;f-- >0;)e.unshift("..");0===e.length&&e.push(".")}return b+e.join("/")+c}function d(b){var d=b[i.PATH]||"";return d=c(d),b[i.PATH]=d,a(b[i.SCHEME],b[i.USER_INFO],b[i.DOMAIN],b[i.PORT],b[i.PATH],b[i.QUERY_DATA],b[i.FRAGMENT])}function e(a){var c=b(a);return d(c)}function f(a,c){var e=b(c),f=b(a);if(e[i.SCHEME])return d(e);e[i.SCHEME]=f[i.SCHEME];for(var g=i.SCHEME;g<=i.PORT;g++)e[g]||(e[g]=f[g]);if("/"==e[i.PATH][0])return d(e);var h=f[i.PATH],j=h.lastIndexOf("/");return h=h.slice(0,j+1)+e[i.PATH],e[i.PATH]=h,d(e)}function g(a){if(!a)return!1;if("/"===a[0])return!0;var c=b(a);return c[i.SCHEME]?!0:!1}var h=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),i={SCHEME:1,USER_INFO:2,DOMAIN:3,PORT:4,PATH:5,QUERY_DATA:6,FRAGMENT:7};$traceurRuntime.canonicalizeUrl=e,$traceurRuntime.isAbsolute=g,$traceurRuntime.removeDotSegments=c,$traceurRuntime.resolveUrl=f}(),function(a){"use strict";function b(a,b){this.url=a,this.value_=b}function c(a,b){this.message=this.constructor.name+": "+this.stripCause(b)+" in "+a,b instanceof c||!b.stack?this.stack="":this.stack=this.stripStack(b.stack)}function d(a,b){var c=[],d=b-3;0>d&&(d=0);for(var e=d;b>e;e++)c.push(a[e]);return c}function e(a,b){var c=b+1;c>a.length-1&&(c=a.length-1);for(var d=[],e=b;c>=e;e++)d.push(a[e]);return d}function f(a){for(var b="",c=0;a-1>c;c++)b+="-";return b}function g(a,c){b.call(this,a,null),this.func=c}function h(a){if(a){var b=r.normalize(a);return o[b]}}function i(a){var b=arguments[1],c=Object.create(null);return Object.getOwnPropertyNames(a).forEach(function(d){var e,f;if(b===q){var g=Object.getOwnPropertyDescriptor(a,d);g.get&&(e=g.get)}e||(f=a[d],e=function(){return f}),Object.defineProperty(c,d,{get:e,enumerable:!0})}),Object.preventExtensions(c),c}var j,k=$traceurRuntime,l=k.canonicalizeUrl,m=k.resolveUrl,n=k.isAbsolute,o=Object.create(null);j=a.location&&a.location.href?m(a.location.href,"./"):"",c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,c.prototype.stripError=function(a){return a.replace(/.*Error:/,this.constructor.name+":")},c.prototype.stripCause=function(a){return a?a.message?this.stripError(a.message):a+"":""},c.prototype.loadedBy=function(a){this.stack+="\n loaded by "+a},c.prototype.stripStack=function(a){var b=[];return a.split("\n").some(function(a){return/UncoatedModuleInstantiator/.test(a)?!0:void b.push(a)}),b[0]=this.stripError(b[0]),b.join("\n")},g.prototype=Object.create(b.prototype),g.prototype.getUncoatedModule=function(){var b=this;if(this.value_)return this.value_;try{var g;return void 0!==typeof $traceurRuntime&&$traceurRuntime.require&&(g=$traceurRuntime.require.bind(null,this.url)),this.value_=this.func.call(a,g)}catch(h){if(h instanceof c)throw h.loadedBy(this.url),h;if(h.stack){var i=this.func.toString().split("\n"),j=[];h.stack.split("\n").some(function(a,c){if(a.indexOf("UncoatedModuleInstantiator.getUncoatedModule")>0)return!0;var g=/(at\s[^\s]*\s).*>:(\d*):(\d*)\)/.exec(a);if(g){var h=parseInt(g[2],10);j=j.concat(d(i,h)),1===c?j.push(f(g[3])+"^ "+b.url):j.push(f(g[3])+"^"),j=j.concat(e(i,h)),j.push("= = = = = = = = =")}else j.push(a)}),h.stack=j.join("\n")}throw new c(this.url,h)}};var p=Object.create(null),q={},r={normalize:function(a,b,c){if("string"!=typeof a)throw new TypeError("module name must be a string, not "+typeof a);if(n(a))return l(a);if(/[^\.]\/\.\.\//.test(a))throw new Error("module name embeds /../: "+a);return"."===a[0]&&b?m(b,a):l(a)},get:function(a){var b=h(a);if(b){var c=p[b.url];return c?c:(c=i(b.getUncoatedModule(),q),p[b.url]=c)}},set:function(a,b){a=String(a),o[a]=new g(a,function(){return b}),p[a]=b},get baseURL(){return j},set baseURL(a){j=String(a)},registerModule:function(a,b,c){var d=r.normalize(a);if(o[d])throw new Error("duplicate module named "+d);o[d]=new g(d,c)},bundleStore:Object.create(null),register:function(a,b,c){b&&(b.length||c.length)?this.bundleStore[a]={deps:b,execute:function(){var a=arguments,d={};b.forEach(function(b,c){return d[b]=a[c]});var e=c.call(this,d);return e.execute.call(this),e.exports}}:this.registerModule(a,b,c)},getAnonymousModule:function(b){return new i(b.call(a),q)}},s=new i({ModuleStore:r});r.set("@traceur/src/runtime/ModuleStore.js",s);var t=$traceurRuntime.setupGlobals;$traceurRuntime.setupGlobals=function(a){t(a)},$traceurRuntime.ModuleStore=r,$traceurRuntime.registerModule=r.registerModule.bind(r),$traceurRuntime.getModule=r.get,$traceurRuntime.setModule=r.set,$traceurRuntime.normalizeModuleName=r.normalize}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/new-unique-string.js",[],function(){"use strict";function a(){return"__$"+(1e9*b()>>>1)+"$"+ ++c+"$__"}var b=Math.random,c=Date.now()%1e9,d=a;return{get default(){return d}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/has-native-symbols.js",[],function(){"use strict";function a(){return b}var b=!!Object.getOwnPropertySymbols&&"function"==typeof Symbol,c=a;return{get default(){return c}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/symbols.js",[],function(){"use strict";function a(a){return{configurable:!0,enumerable:!1,value:a,writable:!0}}function b(a){var b=i();l(this,s,{value:this}),l(this,q,{value:b}),l(this,r,{value:a}),m(this),t[b]=this}function c(a){return t[a]}function d(a){for(var b=[],d=0;d<a.length;d++)c(a[d])||b.push(a[d]);return b}function e(a){return d(n(a))}function f(a){return d(o(a))}function g(a){for(var b=[],c=n(a),d=0;d<c.length;d++){var e=t[c[d]];e&&b.push(e)}return b}function h(b){var c=b.Object;j()||(b.Symbol=u,c.getOwnPropertyNames=e,c.keys=f,l(c,"getOwnPropertySymbols",a(g))),b.Symbol.iterator||(b.Symbol.iterator=b.Symbol("Symbol.iterator")),b.Symbol.observer||(b.Symbol.observer=b.Symbol("Symbol.observer"))}var i=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./new-unique-string.js","traceur-runtime@0.0.102/src/runtime/symbols.js"))["default"],j=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./has-native-symbols.js","traceur-runtime@0.0.102/src/runtime/symbols.js"))["default"],k=Object.create,l=Object.defineProperty,m=Object.freeze,n=Object.getOwnPropertyNames,o=Object.keys,p=TypeError,q=i(),r=i(),s=i(),t=k(null),u=function(a){var c=new b(a);if(!(this instanceof u))return c;throw new p("Symbol cannot be new'ed")};l(u.prototype,"constructor",a(u)),l(u.prototype,"toString",a(function(){var a=this[s];return a[q]})),l(u.prototype,"valueOf",a(function(){var a=this[s];if(!a)throw p("Conversion from symbol to string");return a[q]})),l(b.prototype,"constructor",a(u)),l(b.prototype,"toString",{value:u.prototype.toString,enumerable:!1}),l(b.prototype,"valueOf",{value:u.prototype.valueOf,enumerable:!1}),m(b.prototype);var v="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;h(v);var w=j()?function(a){return typeof a}:function(a){return a instanceof b?"symbol":typeof a};return $traceurRuntime["typeof"]=w,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/classes.js",[],function(){"use strict";function a(a,b){var c=s(a);do{var d=p(c,b);if(d)return d;c=s(c)}while(c)}function b(a){return a.__proto__}function c(b,c,d){var e=a(c,d);if(e){var f=e.value;return f?f:e.get?e.get.call(b):f}}function d(b,c,d,e){var f=a(c,d);if(f&&f.set)return f.set.call(b,e),e;throw k("super has no setter '"+d+"'.")}function e(a,b){q(a).forEach(b),r&&r(a).forEach(b)}function f(a){var b={};return e(a,function(c){b[c]=p(a,c),b[c].enumerable=!1}),b}function g(a){e(a,function(b){o(a,b,t)})}function h(a,b,c,d){return o(b,"constructor",{value:a,configurable:!0,enumerable:!1,writable:!0}),arguments.length>3?("function"==typeof d&&(a.__proto__=d),a.prototype=m(i(d),f(b))):(g(b),a.prototype=b),o(a,"prototype",{configurable:!1,writable:!1}),n(a,f(c))}function i(a){if("function"==typeof a){var b=a.prototype;if(j(b)===b||null===b)return a.prototype;throw new k("super prototype must be an Object or null")}if(null===a)return null;throw new k("Super expression must either be null or a function, not "+typeof a+".")}var j=Object,k=TypeError,l=Object,m=l.create,n=l.defineProperties,o=l.defineProperty,p=l.getOwnPropertyDescriptor,q=l.getOwnPropertyNames,r=l.getOwnPropertySymbols,s=l.getPrototypeOf,t={enumerable:!1};return $traceurRuntime.createClass=h,$traceurRuntime.superConstructor=b,$traceurRuntime.superGet=c,$traceurRuntime.superSet=d,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/exportStar.js",[],function(){"use strict";function a(a){for(var b=arguments,e=function(e){var f,g=b[e],h=d(g),i=function(b){var d=h[b];return"__esModule"===d||"default"===d?0:void c(a,d,{get:function(){return g[d]},enumerable:!0})};a:for(var j=0;j<h.length;j++)switch(f=i(j)){case 0:continue a}},f=1;f<arguments.length;f++)e(f);return a}var b=Object,c=b.defineProperty,d=b.getOwnPropertyNames;return $traceurRuntime.exportStar=a,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/private-symbol.js",[],function(){"use strict";function a(a){return l[a]}function b(){var a=(i||h)();return l[a]=!0,a}function c(a,b){return hasOwnProperty.call(a,b)}function d(a,b){return c(a,b)?(delete a[b],!0):!1}function e(a,b,c){a[b]=c}function f(a,b){var c=a[b];if(void 0!==c)return hasOwnProperty.call(a,b)?c:void 0}function g(){j&&(Object.getOwnPropertySymbols=function(b){for(var c=[],d=j(b),e=0;e<d.length;e++){var f=d[e];a(f)||c.push(f)}return c})}var h=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./new-unique-string.js","traceur-runtime@0.0.102/src/runtime/private-symbol.js"))["default"],i="function"==typeof Symbol?Symbol:void 0,j=Object.getOwnPropertySymbols,k=Object.create,l=k(null);return{get isPrivateSymbol(){return a},get createPrivateSymbol(){return b},get hasPrivate(){return c},get deletePrivate(){return d},get setPrivate(){return e},get getPrivate(){return f},get init(){return g}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/private-weak-map.js",[],function(){"use strict";function a(a){return!1}function b(){return new h}function c(a,b){return b.has(a)}function d(a,b){return b["delete"](a)}function e(a,b,c){b.set(a,c)}function f(a,b){return b.get(a)}function g(){}var h="function"==typeof WeakMap?WeakMap:void 0;return{get isPrivateSymbol(){return a},get createPrivateSymbol(){return b},get hasPrivate(){return c},get deletePrivate(){return d},get setPrivate(){return e},get getPrivate(){return f},get init(){return g}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/private.js",[],function(){"use strict";var a=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./private-symbol.js","traceur-runtime@0.0.102/src/runtime/private.js")),b=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./private-weak-map.js","traceur-runtime@0.0.102/src/runtime/private.js")),c="function"==typeof WeakMap,d=c?b:a,e=d.isPrivateSymbol,f=d.createPrivateSymbol,g=d.hasPrivate,h=d.deletePrivate,i=d.setPrivate,j=d.getPrivate;return d.init(),{get isPrivateSymbol(){return e},get createPrivateSymbol(){return f},get hasPrivate(){return g},get deletePrivate(){return h},get setPrivate(){return i},get getPrivate(){return j}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/properTailCalls.js",[],function(){"use strict";function a(a,b,c){return[o,a,b,c]}function b(a){return a&&a[0]===o}function c(a,b,c){for(var d=[b],e=0;e<c.length;e++)d[e+1]=c[e];var f=n(Function.prototype.bind,a,d);return f}function d(a,b){var d=new(c(a,null,b));return d}function e(a){return!!k(a,p)}function f(c,d,f){var g=f[0];if(b(g))return g=n(c,d,g[3]);for(g=a(c,d,f);;){if(g=e(c)?n(c,g[2],[g]):n(c,g[2],g[3]),!b(g))return g;c=g[1]}}function g(){var b;return b=e(this)?d(this,[a(null,null,arguments)]):d(this,arguments)}function h(){p=m(),Function.prototype.call=i(function(b){var c=f(function(b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];var e=a(this,b,c);return e},this,arguments);return c}),Function.prototype.apply=i(function(b,c){var d=f(function(b,c){var d=a(this,b,c);return d},this,arguments);return d})}function i(a){return null===p&&h(),l(a,p,!0),a}var j=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./private.js","traceur-runtime@0.0.102/src/runtime/properTailCalls.js")),k=j.getPrivate,l=j.setPrivate,m=j.createPrivateSymbol,n=Function.prototype.call.bind(Function.prototype.apply),o=Object.create(null),p=null;return $traceurRuntime.initTailRecursiveFunction=i,$traceurRuntime.call=f,$traceurRuntime.continuation=a,$traceurRuntime.construct=g,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/relativeRequire.js",[],function(){"use strict";function a(a,c){function d(a){return"/"===a.slice(-1)}function e(a){return"/"===a[0]}function f(a){return"."===a[0]}return b=b||"undefined"!=typeof require&&require("path"),d(c)||e(c)?void 0:f(c)?require(b.resolve(b.dirname(a),c)):require(c)}var b;return $traceurRuntime.require=a,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/checkObjectCoercible.js",[],function(){"use strict";function a(a){if(null===a||void 0===a)throw new b("Value cannot be converted to an Object");return a}var b=TypeError,c=a;return{get default(){return c}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/spread.js",[],function(){"use strict";function a(){for(var a,c=[],d=0,e=0;e<arguments.length;e++){var f=b(arguments[e]);if("function"!=typeof f[Symbol.iterator])throw new TypeError("Cannot spread non-iterable object.");for(var g=f[Symbol.iterator]();!(a=g.next()).done;)c[d++]=a.value}return c}var b=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./checkObjectCoercible.js","traceur-runtime@0.0.102/src/runtime/spread.js"))["default"];return $traceurRuntime.spread=a,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/destructuring.js",[],function(){"use strict";function a(a){for(var b,c=[],d=0;!(b=a.next()).done;)c[d++]=b.value;return c}return $traceurRuntime.iteratorToArray=a,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/async.js",[],function(){"use strict";function a(){}function b(){}function c(a){return a.prototype=m(b.prototype),a.__proto__=b,a}function d(a,b){for(var c=[],d=2;d<arguments.length;d++)c[d-2]=arguments[d];var e=m(b.prototype);return k(e,o,a),e}function e(a,b){return new Promise(function(c,d){var e=a({next:function(a){return b.call(e,a)},"throw":function(a){d(a)},"return":function(a){c(a)}})})}function f(a){return Promise.resolve().then(a)}function g(a,b){return new s(a,b)}var h=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./private.js","traceur-runtime@0.0.102/src/runtime/async.js")),i=h.createPrivateSymbol,j=h.getPrivate,k=h.setPrivate,l=Object,m=l.create,n=l.defineProperty,o=i();a.prototype=b,b.constructor=a,n(b,"constructor",{enumerable:!1});var p=function(){function a(a){var b=this;this.decoratedObserver=$traceurRuntime.createDecoratedGenerator(a,function(){b.done=!0}),this.done=!1,this.inReturn=!1}return $traceurRuntime.createClass(a,{"throw":function(a){if(!this.inReturn)throw a},"yield":function(a){if(this.done)throw void(this.inReturn=!0);var b;try{b=this.decoratedObserver.next(a)}catch(c){throw this.done=!0,c}if(void 0!==b){if(b.done)throw this.done=!0,void(this.inReturn=!0);return b.value}},yieldFor:function(a){var b=this;return $traceurRuntime.observeForEach(a[Symbol.observer].bind(a),function(a){if(b.done)return void this["return"]();var c;try{c=b.decoratedObserver.next(a)}catch(d){throw b.done=!0,d}if(void 0!==c)return c.done&&(b.done=!0),c})}},{})}();b.prototype[Symbol.observer]=function(a){var b=j(this,o),c=new p(a);return $traceurRuntime.schedule(function(){return b(c)}).then(function(a){c.done||c.decoratedObserver["return"](a)})["catch"](function(a){c.done||c.decoratedObserver["throw"](a)}),c.decoratedObserver},n(b.prototype,Symbol.observer,{enumerable:!1});var q=Symbol(),r=Symbol(),s=function(){function a(a,b){this[q]=a,this[r]=b}return $traceurRuntime.createClass(a,{next:function(a){var b=this[q].next(a);return void 0!==b&&b.done&&this[r].call(this),b},"throw":function(a){return this[r].call(this),this[q]["throw"](a)},"return":function(a){return this[r].call(this),this[q]["return"](a)}},{})}();return Array.prototype[Symbol.observer]=function(a){var b=!1,c=g(a,function(){return b=!0}),d=!0,e=!1,f=void 0;try{for(var h=void 0,i=this[Symbol.iterator]();!(d=(h=i.next()).done);d=!0){var j=h.value;if(c.next(j),b)return}}catch(k){e=!0,f=k}finally{try{d||null==i["return"]||i["return"]()}finally{if(e)throw f}}return c["return"](),c},n(Array.prototype,Symbol.observer,{enumerable:!1}),$traceurRuntime.initAsyncGeneratorFunction=c,$traceurRuntime.createAsyncGeneratorInstance=d,$traceurRuntime.observeForEach=e,$traceurRuntime.schedule=f,$traceurRuntime.createDecoratedGenerator=g,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/generators.js",[],function(){"use strict";function a(a){return{configurable:!0,enumerable:!1,value:a,writable:!0}}function b(a){return new Error("Traceur compiler bug: invalid state in state machine: "+a)}function c(){this.state=0,this.GState=v,this.storedException=void 0,this.finallyFallThrough=void 0,this.sent_=void 0,this.returnValue=void 0,this.oldReturnValue=void 0,this.tryStack_=[]}function d(a,b,c,d){switch(a.GState){case w:throw new Error('"'+c+'" on executing generator');case y:if("next"==c)return{value:void 0,done:!0};if(d===B)return{value:a.returnValue,done:!0};throw d;case v:if("throw"===c){if(a.GState=y,d===B)return{value:a.returnValue,done:!0};throw d}if(void 0!==d)throw q("Sent value to newborn generator");case x:a.GState=w,a.action=c,a.sent=d;var e;try{e=b(a)}catch(f){if(f!==B)throw f;e=a}var g=e===a;return g&&(e=a.returnValue),a.GState=g?y:x,{value:e,done:g}}}function e(){}function f(){}function g(a,b,d){var e=k(a,d),f=new c,g=s(b.prototype);return p(g,C,f),p(g,D,e),g}function h(a){return a.prototype=s(f.prototype),a.__proto__=f,a}function i(){c.call(this),this.err=void 0;var a=this;a.result=new Promise(function(b,c){a.resolve=b,a.reject=c})}function j(a,b){var c=k(a,b),d=new i;return d.createCallback=function(a){return function(b){d.state=a,d.value=b,c(d)}},d.errback=function(a){l(d,a),c(d)},c(d),d.result}function k(a,b){return function(c){for(;;)try{return a.call(b,c)}catch(d){l(c,d)}}}function l(a,b){a.storedException=b;var c=a.tryStack_[a.tryStack_.length-1];return c?(a.state=void 0!==c["catch"]?c["catch"]:c["finally"],void(void 0!==c.finallyFallThrough&&(a.finallyFallThrough=c.finallyFallThrough))):void a.handleException(b)}var m=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./private.js","traceur-runtime@0.0.102/src/runtime/generators.js")),n=m.createPrivateSymbol,o=m.getPrivate,p=m.setPrivate,q=TypeError,r=Object,s=r.create,t=r.defineProperties,u=r.defineProperty,v=0,w=1,x=2,y=3,z=-2,A=-3,B={};c.prototype={pushTry:function(a,b){if(null!==b){for(var c=null,d=this.tryStack_.length-1;d>=0;d--)if(void 0!==this.tryStack_[d]["catch"]){c=this.tryStack_[d]["catch"];break}null===c&&(c=A),this.tryStack_.push({"finally":b,finallyFallThrough:c})}null!==a&&this.tryStack_.push({"catch":a})},popTry:function(){this.tryStack_.pop()},maybeUncatchable:function(){if(this.storedException===B)throw B},get sent(){return this.maybeThrow(),this.sent_},set sent(a){this.sent_=a},get sentIgnoreThrow(){return this.sent_},maybeThrow:function(){if("throw"===this.action)throw this.action="next",this.sent_},end:function(){switch(this.state){case z:return this;case A:throw this.storedException;default:throw b(this.state)}},handleException:function(a){throw this.GState=y,this.state=z,a},wrapYieldStar:function(a){var b=this;return{next:function(b){return a.next(b)},"throw":function(c){var d;if(c===B){if(a["return"]){if(d=a["return"](b.returnValue),!d.done)return b.returnValue=b.oldReturnValue,d;b.returnValue=d.value}throw c}if(a["throw"])return a["throw"](c);throw a["return"]&&a["return"](),q("Inner iterator does not have a throw method")}}}};var C=n(),D=n();return e.prototype=f,u(f,"constructor",a(e)),f.prototype={constructor:f,next:function(a){return d(o(this,C),o(this,D),"next",a)},"throw":function(a){return d(o(this,C),o(this,D),"throw",a)},"return":function(a){var b=o(this,C);return b.oldReturnValue=b.returnValue,b.returnValue=a,d(b,o(this,D),"throw",B)}},t(f.prototype,{constructor:{enumerable:!1},next:{enumerable:!1},"throw":{enumerable:!1},"return":{enumerable:!1}}),Object.defineProperty(f.prototype,Symbol.iterator,a(function(){return this})),i.prototype=s(c.prototype),i.prototype.end=function(){switch(this.state){case z:this.resolve(this.returnValue);break;case A:this.reject(this.storedException);break;default:this.reject(b(this.state))}},i.prototype.handleException=function(){this.state=A},$traceurRuntime.asyncWrap=j,$traceurRuntime.initGeneratorFunction=h,$traceurRuntime.createGeneratorInstance=g,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/template.js",[],function(){"use strict";function a(a){var b=arguments[1],g=a.join("${}"),h=f[g];return h?h:(b||(b=e.call(a)),f[g]=d(c(b,"raw",{value:d(a)})))}var b=Object,c=b.defineProperty,d=b.freeze,e=Array.prototype.slice,f=Object.create(null);return $traceurRuntime.getTemplateObject=a,{}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/runtime-modules.js",[],function(){"use strict";return $traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./symbols.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./classes.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./exportStar.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./properTailCalls.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./relativeRequire.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./spread.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./destructuring.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./async.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./generators.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./template.js","traceur-runtime@0.0.102/src/runtime/runtime-modules.js")),{}}),$traceurRuntime.getModule("traceur-runtime@0.0.102/src/runtime/runtime-modules.js"),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/frozen-data.js",[],function(){"use strict";function a(a,b){for(var c=0;c<a.length;c+=2)if(a[c]===b)return c;return-1}function b(b,c,d){var e=a(b,c);-1===e&&b.push(c,d)}function c(b,c){var d=a(b,c);return-1!==d?b[d+1]:void 0}function d(b,c){return-1!==a(b,c)}function e(b,c){var d=a(b,c);return-1!==d?(b.splice(d,2),!0):!1}return{get setFrozen(){return b},get getFrozen(){return c},get hasFrozen(){return d},get deleteFrozen(){return e}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/utils.js",[],function(){"use strict";function a(a){if(null==a)throw y();return z(a)}function b(a){return a>>>0}function c(a){return a&&("object"==typeof a||"function"==typeof a)}function d(a){return"function"==typeof a}function e(a){return"number"==typeof a}function f(a){return a=+a,v(a)?0:0!==a&&u(a)?a>0?t(a):s(a):a}function g(a){var b=f(a);return 0>b?0:x(b,A)}function h(a){return c(a)?a[Symbol.iterator]:void 0}function i(a){return d(a)}function j(a,b){return{value:a,done:b}}function k(a,b,c){b in a||Object.defineProperty(a,b,c)}function l(a,b,c){k(a,b,{value:c,configurable:!0,enumerable:!1,writable:!0})}function m(a,b,c){k(a,b,{value:c,configurable:!1,enumerable:!1,writable:!1})}function n(a,b){for(var c=0;c<b.length;c+=2){var d=b[c],e=b[c+1];l(a,d,e)}}function o(a,b){for(var c=0;c<b.length;c+=2){var d=b[c],e=b[c+1];m(a,d,e)}}function p(a,b,c){c&&c.iterator&&!a[c.iterator]&&(a["@@iterator"]&&(b=a["@@iterator"]),Object.defineProperty(a,c.iterator,{value:b,configurable:!0,enumerable:!1,writable:!0}))}function q(a){B.push(a)}function r(a){B.forEach(function(b){return b(a)})}var s=Math.ceil,t=Math.floor,u=isFinite,v=isNaN,w=Math.pow,x=Math.min,y=TypeError,z=Object,A=w(2,53)-1,B=[];return{get toObject(){return a},get toUint32(){return b},get isObject(){return c},get isCallable(){return d},get isNumber(){return e},get toInteger(){return f},get toLength(){return g},get checkIterable(){return h},get isConstructor(){return i},get createIteratorResultObject(){return j},get maybeDefine(){return k},get maybeDefineMethod(){return l},get maybeDefineConst(){return m},get maybeAddFunctions(){return n},get maybeAddConsts(){return o},get maybeAddIterator(){return p},get registerPolyfill(){return q},get polyfillAll(){return r}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/Map.js",[],function(){"use strict";function a(a){return i(a,y)}function b(b){var c=a(b);return c||(c=x++,j(b,y,c)),c}function c(b,c){if("string"==typeof c)return b.stringIndex_[c];if(p(c)){if(!v(c))return m(b.frozenData_,c);var d=a(c);if(void 0===d)return;return b.objectIndex_[d]}return b.primitiveIndex_[c]}function d(a){a.entries_=[],a.objectIndex_=Object.create(null),a.stringIndex_=Object.create(null),a.primitiveIndex_=Object.create(null),a.frozenData_=[],a.deletedCount_=0}function e(a){var b=a,c=b.Map,d=b.Symbol;if(!(c&&r()&&c.prototype[d.iterator]&&c.prototype.entries))return!0;try{return 1!==new c([[]]).size}catch(e){return!1}}function f(a){e(a)&&(a.Map=z)}var g=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("../private.js","traceur-runtime@0.0.102/src/runtime/polyfills/Map.js")),h=g.createPrivateSymbol,i=g.getPrivate,j=g.setPrivate,k=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("../frozen-data.js","traceur-runtime@0.0.102/src/runtime/polyfills/Map.js")),l=k.deleteFrozen,m=k.getFrozen,n=k.setFrozen,o=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./utils.js","traceur-runtime@0.0.102/src/runtime/polyfills/Map.js")),p=o.isObject,q=o.registerPolyfill,r=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("../has-native-symbols.js","traceur-runtime@0.0.102/src/runtime/polyfills/Map.js"))["default"],s=Object,t=s.defineProperty,u=(s.getOwnPropertyDescriptor,s.hasOwnProperty),v=s.isExtensible,w={},x=1,y=h(),z=function(){function e(){var a,b,c=arguments[0];if(!p(this))throw new TypeError("Map called on incompatible type");if(u.call(this,"entries_"))throw new TypeError("Map can not be reentrantly initialised");if(d(this),null!==c&&void 0!==c){var e=!0,f=!1,g=void 0;try{for(var h=void 0,i=c[Symbol.iterator]();!(e=(h=i.next()).done);e=!0){var j=h.value,k=(a=j[Symbol.iterator](),(b=a.next()).done?void 0:b.value),l=(b=a.next()).done?void 0:b.value;this.set(k,l)}}catch(m){f=!0,g=m}finally{try{e||null==i["return"]||i["return"]()}finally{if(f)throw g}}}}return $traceurRuntime.createClass(e,{get size(){return this.entries_.length/2-this.deletedCount_},get:function(a){var b=c(this,a);return void 0!==b?this.entries_[b+1]:void 0},set:function(a,d){var e=c(this,a);if(void 0!==e)this.entries_[e+1]=d;else if(e=this.entries_.length,this.entries_[e]=a,this.entries_[e+1]=d,p(a))if(v(a)){var f=b(a);this.objectIndex_[f]=e}else n(this.frozenData_,a,e);else"string"==typeof a?this.stringIndex_[a]=e:this.primitiveIndex_[a]=e;return this},has:function(a){return void 0!==c(this,a)},"delete":function(b){var d=c(this,b);if(void 0===d)return!1;if(this.entries_[d]=w,this.entries_[d+1]=void 0,this.deletedCount_++,p(b))if(v(b)){var e=a(b);delete this.objectIndex_[e]}else l(this.frozenData_,b);else"string"==typeof b?delete this.stringIndex_[b]:delete this.primitiveIndex_[b];return!0},clear:function(){d(this)},forEach:function(a){for(var b=arguments[1],c=0;c<this.entries_.length;c+=2){var d=this.entries_[c],e=this.entries_[c+1];d!==w&&a.call(b,e,d,this)}},entries:$traceurRuntime.initGeneratorFunction(function f(){var a,b,c;return $traceurRuntime.createGeneratorInstance(function(d){for(;;)switch(d.state){case 0:a=0,d.state=12;break;case 12:d.state=a<this.entries_.length?8:-2;break;case 4:a+=2,d.state=12;break;case 8:b=this.entries_[a],c=this.entries_[a+1],d.state=9;break;case 9:d.state=b===w?4:6;break;case 6:return d.state=2,[b,c];case 2:d.maybeThrow(),d.state=4;break;default:return d.end()}},f,this)}),keys:$traceurRuntime.initGeneratorFunction(function g(){var a,b,c;return $traceurRuntime.createGeneratorInstance(function(d){for(;;)switch(d.state){case 0:a=0,d.state=12;break;case 12:d.state=a<this.entries_.length?8:-2;break;case 4:a+=2,d.state=12;break;case 8:b=this.entries_[a],c=this.entries_[a+1],d.state=9;break;case 9:d.state=b===w?4:6;break;case 6:return d.state=2,b;case 2:d.maybeThrow(),d.state=4;break;default:return d.end()}},g,this)}),values:$traceurRuntime.initGeneratorFunction(function h(){var a,b,c;return $traceurRuntime.createGeneratorInstance(function(d){for(;;)switch(d.state){case 0:a=0,d.state=12;break;case 12:d.state=a<this.entries_.length?8:-2;break;case 4:a+=2,d.state=12;break;case 8:b=this.entries_[a],c=this.entries_[a+1],d.state=9;break;case 9:d.state=b===w?4:6;break;case 6:return d.state=2,c;case 2:d.maybeThrow(),d.state=4;break;default:return d.end()}},h,this)})},{})}();return t(z.prototype,Symbol.iterator,{configurable:!0,writable:!0,value:z.prototype.entries}),q(f),{get Map(){return z},get polyfillMap(){return f}}}),$traceurRuntime.getModule("traceur-runtime@0.0.102/src/runtime/polyfills/Map.js"),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/Set.js",[],function(){"use strict";function a(a){var b=a,c=b.Set,d=b.Symbol;if(!(c&&g()&&c.prototype[d.iterator]&&c.prototype.values))return!0;try{return 1!==new c([1]).size}catch(e){return!1}}function b(b){a(b)&&(b.Set=i)}var c=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./utils.js","traceur-runtime@0.0.102/src/runtime/polyfills/Set.js")),d=c.isObject,e=c.registerPolyfill,f=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./Map.js","traceur-runtime@0.0.102/src/runtime/polyfills/Set.js")).Map,g=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("../has-native-symbols.js","traceur-runtime@0.0.102/src/runtime/polyfills/Set.js"))["default"],h=Object.prototype.hasOwnProperty,i=function(){function a(){var a=arguments[0];if(!d(this))throw new TypeError("Set called on incompatible type");if(h.call(this,"map_"))throw new TypeError("Set can not be reentrantly initialised");if(this.map_=new f,null!==a&&void 0!==a){var b=!0,c=!1,e=void 0;try{for(var g=void 0,i=a[Symbol.iterator]();!(b=(g=i.next()).done);b=!0){ var j=g.value;this.add(j)}}catch(k){c=!0,e=k}finally{try{b||null==i["return"]||i["return"]()}finally{if(c)throw e}}}}return $traceurRuntime.createClass(a,{get size(){return this.map_.size},has:function(a){return this.map_.has(a)},add:function(a){return this.map_.set(a,a),this},"delete":function(a){return this.map_["delete"](a)},clear:function(){return this.map_.clear()},forEach:function(a){var b=arguments[1],c=this;return this.map_.forEach(function(d,e){a.call(b,e,e,c)})},values:$traceurRuntime.initGeneratorFunction(function b(){var a,c;return $traceurRuntime.createGeneratorInstance(function(b){for(;;)switch(b.state){case 0:a=b.wrapYieldStar(this.map_.keys()[Symbol.iterator]()),b.sent=void 0,b.action="next",b.state=12;break;case 12:c=a[b.action](b.sentIgnoreThrow),b.state=9;break;case 9:b.state=c.done?3:2;break;case 3:b.sent=c.value,b.state=-2;break;case 2:return b.state=12,c.value;default:return b.end()}},b,this)}),entries:$traceurRuntime.initGeneratorFunction(function c(){var a,b;return $traceurRuntime.createGeneratorInstance(function(c){for(;;)switch(c.state){case 0:a=c.wrapYieldStar(this.map_.entries()[Symbol.iterator]()),c.sent=void 0,c.action="next",c.state=12;break;case 12:b=a[c.action](c.sentIgnoreThrow),c.state=9;break;case 9:c.state=b.done?3:2;break;case 3:c.sent=b.value,c.state=-2;break;case 2:return c.state=12,b.value;default:return c.end()}},c,this)})},{})}();return Object.defineProperty(i.prototype,Symbol.iterator,{configurable:!0,writable:!0,value:i.prototype.values}),Object.defineProperty(i.prototype,"keys",{configurable:!0,writable:!0,value:i.prototype.values}),e(b),{get Set(){return i},get polyfillSet(){return b}}}),$traceurRuntime.getModule("traceur-runtime@0.0.102/src/runtime/polyfills/Set.js"),$traceurRuntime.registerModule("traceur-runtime@0.0.102/node_modules/rsvp/lib/rsvp/asap.js",[],function(){"use strict";function a(a,b){r[k]=a,r[k+1]=b,k+=2,2===k&&j()}function b(){var a=process.nextTick,b=process.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(b)&&"0"===b[1]&&"10"===b[2]&&(a=setImmediate),function(){a(g)}}function c(){return function(){i(g)}}function d(){var a=0,b=new o(g),c=document.createTextNode("");return b.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}function e(){var a=new MessageChannel;return a.port1.onmessage=g,function(){a.port2.postMessage(0)}}function f(){return function(){setTimeout(g,1)}}function g(){for(var a=0;k>a;a+=2){var b=r[a],c=r[a+1];b(c),r[a]=void 0,r[a+1]=void 0}k=0}function h(){try{var a=require,b=a("vertx");return i=b.runOnLoop||b.runOnContext,c()}catch(d){return f()}}var i,j,k=0,l=({}.toString,a),m="undefined"!=typeof window?window:void 0,n=m||{},o=n.MutationObserver||n.WebKitMutationObserver,p="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),q="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,r=new Array(1e3);return j=p?b():o?d():q?e():void 0===m&&"function"==typeof require?h():f(),{get default(){return l}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/Promise.js",[],function(){"use strict";function a(a){return a&&"object"==typeof a&&void 0!==a.status_}function b(a){return a}function c(a){throw a}function d(a){var d=void 0!==arguments[1]?arguments[1]:b,f=void 0!==arguments[2]?arguments[2]:c,g=e(a.constructor);switch(a.status_){case void 0:throw TypeError;case 0:a.onResolve_.push(d,g),a.onReject_.push(f,g);break;case 1:k(a.value_,[d,g]);break;case-1:k(a.value_,[f,g])}return g.promise}function e(a){if(this===y){var b=g(new y(w));return{promise:b,resolve:function(a){h(b,a)},reject:function(a){i(b,a)}}}var c={};return c.promise=new a(function(a,b){c.resolve=a,c.reject=b}),c}function f(a,b,c,d,e){return a.status_=b,a.value_=c,a.onResolve_=d,a.onReject_=e,a}function g(a){return f(a,0,void 0,[],[])}function h(a,b){j(a,1,b,a.onResolve_)}function i(a,b){j(a,-1,b,a.onReject_)}function j(a,b,c,d){0===a.status_&&(k(c,d),f(a,b,c))}function k(a,b){o(function(){for(var c=0;c<b.length;c+=2)l(a,b[c],b[c+1])})}function l(b,c,e){try{var f=c(b);if(f===e.promise)throw new TypeError;a(f)?d(f,e.resolve,e.reject):e.resolve(f)}catch(g){try{e.reject(g)}catch(g){}}}function m(b,c){if(!a(c)&&q(c)){var d;try{d=c.then}catch(f){var g=z.call(b,f);return v(c,A,g),g}if("function"==typeof d){var h=u(c,A);if(h)return h;var i=e(b);v(c,A,i.promise);try{d.call(c,i.resolve,i.reject)}catch(f){i.reject(f)}return i.promise}}return c}function n(a){a.Promise||(a.Promise=x)}var o=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("../../../node_modules/rsvp/lib/rsvp/asap.js","traceur-runtime@0.0.102/src/runtime/polyfills/Promise.js"))["default"],p=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./utils.js","traceur-runtime@0.0.102/src/runtime/polyfills/Promise.js")),q=p.isObject,r=p.registerPolyfill,s=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("../private.js","traceur-runtime@0.0.102/src/runtime/polyfills/Promise.js")),t=s.createPrivateSymbol,u=s.getPrivate,v=s.setPrivate,w={},x=function(){function j(a){if(a!==w){if("function"!=typeof a)throw new TypeError;var b=g(this);try{a(function(a){h(b,a)},function(a){i(b,a)})}catch(c){i(b,c)}}}return $traceurRuntime.createClass(j,{"catch":function(a){return this.then(void 0,a)},then:function(e,f){"function"!=typeof e&&(e=b),"function"!=typeof f&&(f=c);var g=this,h=this.constructor;return d(this,function(b){return b=m(h,b),b===g?f(new TypeError):a(b)?b.then(e,f):e(b)},f)}},{resolve:function(b){return this===y?a(b)?b:f(new y(w),1,b):new this(function(a,c){a(b)})},reject:function(a){return this===y?f(new y(w),-1,a):new this(function(b,c){c(a)})},all:function(a){var b=e(this),c=[];try{var d=function(a){return function(d){c[a]=d,0===--f&&b.resolve(c)}},f=0,g=0,h=!0,i=!1,j=void 0;try{for(var k=void 0,l=a[Symbol.iterator]();!(h=(k=l.next()).done);h=!0){var m=k.value,n=d(g);this.resolve(m).then(n,function(a){b.reject(a)}),++g,++f}}catch(o){i=!0,j=o}finally{try{h||null==l["return"]||l["return"]()}finally{if(i)throw j}}0===f&&b.resolve(c)}catch(p){b.reject(p)}return b.promise},race:function(a){var b=e(this);try{for(var c=0;c<a.length;c++)this.resolve(a[c]).then(function(a){b.resolve(a)},function(a){b.reject(a)})}catch(d){b.reject(d)}return b.promise}})}(),y=x,z=y.reject,A=t();return r(n),{get Promise(){return x},get polyfillPromise(){return n}}}),$traceurRuntime.getModule("traceur-runtime@0.0.102/src/runtime/polyfills/Promise.js"),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/StringIterator.js",[],function(){"use strict";function a(a){var b=String(a),c=Object.create(h.prototype);return c[f]=b,c[g]=0,c}var b=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./utils.js","traceur-runtime@0.0.102/src/runtime/polyfills/StringIterator.js")),c=b.createIteratorResultObject,d=b.isObject,e=Object.prototype.hasOwnProperty,f=Symbol("iteratedString"),g=Symbol("stringIteratorNextIndex"),h=function(){function a(){}var b;return $traceurRuntime.createClass(a,(b={},Object.defineProperty(b,"next",{value:function(){var a=this;if(!d(a)||!e.call(a,f))throw new TypeError("this must be a StringIterator object");var b=a[f];if(void 0===b)return c(void 0,!0);var h=a[g],i=b.length;if(h>=i)return a[f]=void 0,c(void 0,!0);var j,k=b.charCodeAt(h);if(55296>k||k>56319||h+1===i)j=String.fromCharCode(k);else{var l=b.charCodeAt(h+1);j=56320>l||l>57343?String.fromCharCode(k):String.fromCharCode(k)+String.fromCharCode(l)}return a[g]=h+j.length,c(j,!1)},configurable:!0,enumerable:!0,writable:!0}),Object.defineProperty(b,Symbol.iterator,{value:function(){return this},configurable:!0,enumerable:!0,writable:!0}),b),{})}();return{get createStringIterator(){return a}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/String.js",[],function(){"use strict";function a(a){var b=String(this);if(null==this||"[object RegExp]"==p.call(a))throw TypeError();var c=b.length,d=String(a),e=(d.length,arguments.length>1?arguments[1]:void 0),f=e?Number(e):0;isNaN(f)&&(f=0);var g=Math.min(Math.max(f,0),c);return q.call(b,d,f)==g}function b(a){var b=String(this);if(null==this||"[object RegExp]"==p.call(a))throw TypeError();var c=b.length,d=String(a),e=d.length,f=c;if(arguments.length>1){var g=arguments[1];void 0!==g&&(f=g?Number(g):0,isNaN(f)&&(f=0))}var h=Math.min(Math.max(f,0),c),i=h-e;return 0>i?!1:r.call(b,d,i)==i}function c(a){if(null==this)throw TypeError();var b=String(this);if(a&&"[object RegExp]"==p.call(a))throw TypeError();var c=b.length,d=String(a),e=d.length,f=arguments.length>1?arguments[1]:void 0,g=f?Number(f):0;g!=g&&(g=0);var h=Math.min(Math.max(g,0),c);return e+h>c?!1:-1!=q.call(b,d,g)}function d(a){if(null==this)throw TypeError();var b=String(this),c=a?Number(a):0;if(isNaN(c)&&(c=0),0>c||c==1/0)throw RangeError();if(0==c)return"";for(var d="";c--;)d+=b;return d}function e(a){if(null==this)throw TypeError();var b=String(this),c=b.length,d=a?Number(a):0;if(isNaN(d)&&(d=0),!(0>d||d>=c)){var e,f=b.charCodeAt(d);return f>=55296&&56319>=f&&c>d+1&&(e=b.charCodeAt(d+1),e>=56320&&57343>=e)?1024*(f-55296)+e-56320+65536:f}}function f(a){var b=a.raw,c=b.length>>>0;if(0===c)return"";for(var d="",e=0;;){if(d+=b[e],e+1===c)return d;d+=arguments[++e]}}function g(a){var b,c,d=[],e=Math.floor,f=-1,g=arguments.length;if(!g)return"";for(;++f<g;){var h=Number(arguments[f]);if(!isFinite(h)||0>h||h>1114111||e(h)!=h)throw RangeError("Invalid code point: "+h);65535>=h?d.push(h):(h-=65536,b=(h>>10)+55296,c=h%1024+56320,d.push(b,c))}return String.fromCharCode.apply(null,d)}function h(){var a=j(this),b=String(a);return k(b)}function i(i){var j=i.String;m(j.prototype,["codePointAt",e,"endsWith",b,"includes",c,"repeat",d,"startsWith",a]),m(j,["fromCodePoint",g,"raw",f]),n(j.prototype,h,Symbol)}var j=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("../checkObjectCoercible.js","traceur-runtime@0.0.102/src/runtime/polyfills/String.js"))["default"],k=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./StringIterator.js","traceur-runtime@0.0.102/src/runtime/polyfills/String.js")).createStringIterator,l=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./utils.js","traceur-runtime@0.0.102/src/runtime/polyfills/String.js")),m=l.maybeAddFunctions,n=l.maybeAddIterator,o=l.registerPolyfill,p=Object.prototype.toString,q=String.prototype.indexOf,r=String.prototype.lastIndexOf;return o(i),{get startsWith(){return a},get endsWith(){return b},get includes(){return c},get repeat(){return d},get codePointAt(){return e},get raw(){return f},get fromCodePoint(){return g},get stringPrototypeIterator(){return h},get polyfillString(){return i}}}),$traceurRuntime.getModule("traceur-runtime@0.0.102/src/runtime/polyfills/String.js"),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/ArrayIterator.js",[],function(){"use strict";function a(a,b){var c=f(a),d=new l;return d.iteratorObject_=c,d.arrayIteratorNextIndex_=0,d.arrayIterationKind_=b,d}function b(){return a(this,k)}function c(){return a(this,i)}function d(){return a(this,j)}var e=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./utils.js","traceur-runtime@0.0.102/src/runtime/polyfills/ArrayIterator.js")),f=e.toObject,g=e.toUint32,h=e.createIteratorResultObject,i=1,j=2,k=3,l=function(){function a(){}var b;return $traceurRuntime.createClass(a,(b={},Object.defineProperty(b,"next",{value:function(){var a=f(this),b=a.iteratorObject_;if(!b)throw new TypeError("Object is not an ArrayIterator");var c=a.arrayIteratorNextIndex_,d=a.arrayIterationKind_,e=g(b.length);return c>=e?(a.arrayIteratorNextIndex_=1/0,h(void 0,!0)):(a.arrayIteratorNextIndex_=c+1,d==j?h(b[c],!1):d==k?h([c,b[c]],!1):h(c,!1))},configurable:!0,enumerable:!0,writable:!0}),Object.defineProperty(b,Symbol.iterator,{value:function(){return this},configurable:!0,enumerable:!0,writable:!0}),b),{})}();return{get entries(){return b},get keys(){return c},get values(){return d}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/Array.js",[],function(){"use strict";function a(a){var b,c,d=arguments[1],e=arguments[2],f=this,g=u(a),h=void 0!==d,i=0;if(h&&!n(d))throw TypeError();if(m(g)){b=o(f)?new f:[];var j=!0,k=!1,l=void 0;try{for(var p=void 0,q=g[Symbol.iterator]();!(j=(p=q.next()).done);j=!0){var r=p.value;h?b[i]=d.call(e,r,i):b[i]=r,i++}}catch(s){k=!0,l=s}finally{try{j||null==q["return"]||q["return"]()}finally{if(k)throw l}}return b.length=i,b}for(c=t(g.length),b=o(f)?new f(c):new Array(c);c>i;i++)h?b[i]="undefined"==typeof e?d(g[i],i):d.call(e,g[i],i):b[i]=g[i];return b.length=c,b}function b(){for(var a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];for(var c=this,d=a.length,e=o(c)?new c(d):new Array(d),f=0;d>f;f++)e[f]=a[f];return e.length=d,e}function c(a){var b=void 0!==arguments[1]?arguments[1]:0,c=arguments[2],d=u(this),e=t(d.length),f=s(b),g=void 0!==c?s(c):e;for(f=0>f?Math.max(e+f,0):Math.min(f,e),g=0>g?Math.max(e+g,0):Math.min(g,e);g>f;)d[f]=a,f++;return d}function d(a){var b=arguments[1];return f(this,a,b)}function e(a){var b=arguments[1];return f(this,a,b,!0)}function f(a,b){var c=arguments[2],d=void 0!==arguments[3]?arguments[3]:!1,e=u(a),f=t(e.length);if(!n(b))throw TypeError();for(var g=0;f>g;g++){var h=e[g];if(b.call(c,h,g,e))return d?g:h}return d?-1:void 0}function g(f){var g=f,h=g.Array,l=g.Object,m=g.Symbol,n=k;m&&m.iterator&&h.prototype[m.iterator]&&(n=h.prototype[m.iterator]),p(h.prototype,["entries",i,"keys",j,"values",n,"fill",c,"find",d,"findIndex",e]),p(h,["from",a,"of",b]),q(h.prototype,n,m),q(l.getPrototypeOf([].values()),function(){return this},m)}var h=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./ArrayIterator.js","traceur-runtime@0.0.102/src/runtime/polyfills/Array.js")),i=h.entries,j=h.keys,k=h.values,l=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./utils.js","traceur-runtime@0.0.102/src/runtime/polyfills/Array.js")),m=l.checkIterable,n=l.isCallable,o=l.isConstructor,p=l.maybeAddFunctions,q=l.maybeAddIterator,r=l.registerPolyfill,s=l.toInteger,t=l.toLength,u=l.toObject;return r(g),{get from(){return a},get of(){return b},get fill(){return c},get find(){return d},get findIndex(){return e},get polyfillArray(){return g}}}),$traceurRuntime.getModule("traceur-runtime@0.0.102/src/runtime/polyfills/Array.js"),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/Object.js",[],function(){"use strict";function a(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function b(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],d=null==c?[]:l(c),e=void 0,f=d.length;for(e=0;f>e;e++){var g=d[e];a[g]=c[g]}}return a}function c(a,b){var c,d,e=k(b),f=e.length;for(c=0;f>c;c++){e[c];d=j(b,e[c]),i(a,e[c],d)}return a}function d(d){var e=d.Object;f(e,["assign",b,"is",a,"mixin",c])}var e=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./utils.js","traceur-runtime@0.0.102/src/runtime/polyfills/Object.js")),f=e.maybeAddFunctions,g=e.registerPolyfill,h=Object,i=h.defineProperty,j=h.getOwnPropertyDescriptor,k=h.getOwnPropertyNames,l=h.keys;return g(d),{get is(){return a},get assign(){return b},get mixin(){return c},get polyfillObject(){return d}}}),$traceurRuntime.getModule("traceur-runtime@0.0.102/src/runtime/polyfills/Object.js"),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/Number.js",[],function(){"use strict";function a(a){return g(a)&&m(a)}function b(b){return a(b)&&k(b)===b}function c(a){return g(a)&&n(a)}function d(b){if(a(b)){var c=k(b);if(c===b)return l(c)<=o}return!1}function e(e){var f=e.Number;h(f,["MAX_SAFE_INTEGER",o,"MIN_SAFE_INTEGER",p,"EPSILON",q]),i(f,["isFinite",a,"isInteger",b,"isNaN",c,"isSafeInteger",d])}var f=$traceurRuntime.getModule($traceurRuntime.normalizeModuleName("./utils.js","traceur-runtime@0.0.102/src/runtime/polyfills/Number.js")),g=f.isNumber,h=f.maybeAddConsts,i=f.maybeAddFunctions,j=f.registerPolyfill,k=f.toInteger,l=Math.abs,m=isFinite,n=isNaN,o=Math.pow(2,53)-1,p=-Math.pow(2,53)+1,q=Math.pow(2,-52);return j(e),{get MAX_SAFE_INTEGER(){return o},get MIN_SAFE_INTEGER(){return p},get EPSILON(){return q},get isFinite(){return a},get isInteger(){return b},get isNaN(){return c},get isSafeInteger(){return d},get polyfillNumber(){return e}}}),$traceurRuntime.getModule("traceur-runtime@0.0.102/src/runtime/polyfills/Number.js"),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/fround.js",[],function(){"use strict";function a(a,b,c){function d(a){var b=k(a),c=a-b;return.5>c?b:c>.5?b+1:b%2?b+1:b}var e,f,g,h,o,p,q,r=(1<<b-1)-1;for(a!==a?(f=(1<<b)-1,g=n(2,c-1),e=0):a===1/0||a===-(1/0)?(f=(1<<b)-1,g=0,e=0>a?1:0):0===a?(f=0,g=0,e=1/a===-(1/0)?1:0):(e=0>a,a=j(a),a>=n(2,1-r)?(f=m(k(l(a)/i),1023),g=d(a/n(2,f)*n(2,c)),g/n(2,c)>=2&&(f+=1,g=1),f>r?(f=(1<<b)-1,g=0):(f+=r,g-=n(2,c))):(f=0,g=d(a/n(2,1-r-c)))),o=[],h=c;h;h-=1)o.push(g%2?1:0),g=k(g/2);for(h=b;h;h-=1)o.push(f%2?1:0),f=k(f/2);for(o.push(e?1:0),o.reverse(),p=o.join(""),q=[];p.length;)q.push(parseInt(p.substring(0,8),2)),p=p.substring(8);return q}function b(a,b,c){var d,e,f,g,h,i,j,k,l=[];for(d=a.length;d;d-=1)for(f=a[d-1],e=8;e;e-=1)l.push(f%2?1:0),f>>=1;return l.reverse(),g=l.join(""),h=(1<<b-1)-1,i=parseInt(g.substring(0,1),2)?-1:1,j=parseInt(g.substring(1,1+b),2),k=parseInt(g.substring(1+b),2),j===(1<<b)-1?0!==k?NaN:i*(1/0):j>0?i*n(2,j-h)*(1+k/n(2,c)):0!==k?i*n(2,-(h-1))*(k/n(2,c)):0>i?-0:0}function c(a){return b(a,8,23)}function d(b){return a(b,8,23)}function e(a){return 0===a||!f(a)||g(a)?a:c(d(Number(a)))}var f=isFinite,g=isNaN,h=Math,i=h.LN2,j=h.abs,k=h.floor,l=h.log,m=h.min,n=h.pow;return{get fround(){return e}}}),$traceurRuntime.registerModule("traceur-runtime@0.0.102/src/runtime/polyfills/Math.js",[],function(){"use strict";function a(a){if(a=x(+a),0==a)return 32;var b=0;return 0===(4294901760&a)&&(a<<=16,b