From f0a5bdea058bf5090f3435acca3f36b8c275e32d Mon Sep 17 00:00:00 2001 From: kiran Date: Thu, 12 Feb 2015 07:40:20 +0530 Subject: [PATCH] Version bump --- dist/react-foundation-apps.js | 1232 ++++++++++++++--------------- dist/react-foundation-apps.min.js | 8 +- package.json | 2 +- 3 files changed, 621 insertions(+), 621 deletions(-) diff --git a/dist/react-foundation-apps.js b/dist/react-foundation-apps.js index 414ffcc..733a63e 100644 --- a/dist/react-foundation-apps.js +++ b/dist/react-foundation-apps.js @@ -65,7 +65,7 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cloneWithProps = __webpack_require__(25); + var cloneWithProps = __webpack_require__(24); var Accordion = React.createClass({displayName: "Accordion", getInitialState: function () { @@ -126,7 +126,7 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cloneWithProps = __webpack_require__(25); + var cloneWithProps = __webpack_require__(24); var ActionSheet = React.createClass({displayName: "ActionSheet", getInitialState: function () { @@ -160,9 +160,9 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var ExecutionEnvironment = __webpack_require__(26); - var IconicJs = ExecutionEnvironment.canUseDOM && __webpack_require__(13); - var cloneWithProps = __webpack_require__(25); + var ExecutionEnvironment = __webpack_require__(25); + var IconicJs = ExecutionEnvironment.canUseDOM && __webpack_require__(14); + var cloneWithProps = __webpack_require__(24); var Iconic = React.createClass({displayName: "Iconic", inject: function () { @@ -243,9 +243,9 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cx = __webpack_require__(27); + var cx = __webpack_require__(26); var Animation = __webpack_require__(18); - var foundationApi = __webpack_require__(14); + var foundationApi = __webpack_require__(13); var Modal = React.createClass({displayName: "Modal", getInitialState: function () { @@ -315,9 +315,9 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cx = __webpack_require__(27); + var cx = __webpack_require__(26); // var LayerMixin = require('react-layer-mixin'); - var foundationApi = __webpack_require__(14); + var foundationApi = __webpack_require__(13); var Offcanvas = React.createClass({displayName: "Offcanvas", // mixins: [LayerMixin], @@ -367,9 +367,9 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cx = __webpack_require__(27); + var cx = __webpack_require__(26); var Animation = __webpack_require__(18); - var foundationApi = __webpack_require__(14); + var foundationApi = __webpack_require__(13); var Panel = React.createClass({displayName: "Panel", getInitialState: function () { @@ -429,10 +429,10 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cx = __webpack_require__(27); - var ExecutionEnvironment = __webpack_require__(26); - var foundationApi = __webpack_require__(14); - var Tether = ExecutionEnvironment.canUseDOM && __webpack_require__(24); + var cx = __webpack_require__(26); + var ExecutionEnvironment = __webpack_require__(25); + var foundationApi = __webpack_require__(13); + var Tether = ExecutionEnvironment.canUseDOM && __webpack_require__(27); var Popup = React.createClass({displayName: "Popup", getInitialState: function () { @@ -494,7 +494,7 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cloneWithProps = __webpack_require__(25); + var cloneWithProps = __webpack_require__(24); var Tabs = React.createClass({displayName: "Tabs", getInitialState: function () { @@ -531,8 +531,8 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cloneWithProps = __webpack_require__(25); - var foundationApi = __webpack_require__(14); + var cloneWithProps = __webpack_require__(24); + var foundationApi = __webpack_require__(13); var PopupToggle = __webpack_require__(22); var Trigger = React.createClass({displayName: "Trigger", @@ -608,17 +608,6 @@ var RFA = /***/ }, /* 13 */ -/***/ function(module, exports, __webpack_require__) { - - var require;var require;/*! - * iconic.js v0.4.0 - The Iconic JavaScript library - * Copyright (c) 2014 Waybury - http://useiconic.com - */ - - !function(a){true?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.IconicJS=a():"undefined"!=typeof global?global.IconicJS=a():"undefined"!=typeof self&&(self.IconicJS=a())}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return require(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};a[g][0].call(j.exports,function(b){var c=a[g][1][b];return e(c?c:b)},j,j.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g>>0;for(c=0;d>c;++c)c in this&&a.call(b,this[c],c,this)}),function(){if(Event.prototype.preventDefault||(Event.prototype.preventDefault=function(){this.returnValue=!1}),Event.prototype.stopPropagation||(Event.prototype.stopPropagation=function(){this.cancelBubble=!0}),!Element.prototype.addEventListener){var a=[],b=function(b,c){var d=this,e=function(a){a.target=a.srcElement,a.currentTarget=d,c.handleEvent?c.handleEvent(a):c.call(d,a)};if("DOMContentLoaded"==b){var f=function(a){"complete"==document.readyState&&e(a)};if(document.attachEvent("onreadystatechange",f),a.push({object:this,type:b,listener:c,wrapper:f}),"complete"==document.readyState){var g=new Event;g.srcElement=window,f(g)}}else this.attachEvent("on"+b,e),a.push({object:this,type:b,listener:c,wrapper:e})},c=function(b,c){for(var d=0;df?d.width:d.height;var g;g=32>b?"iconic-sm":b>=32&&128>b?"iconic-md":"iconic-lg";var h=a.getAttribute("class"),i=c.test(h)?h.replace(c,g):h+" "+g;a.setAttribute("class",i)}},h=function(){var a=document.querySelectorAll(".injected-svg.iconic-fluid");Array.prototype.forEach.call(a,function(a){g(a)})};document.addEventListener("DOMContentLoaded",function(){f()}),window.addEventListener("resize",function(){h()}),b.exports={refresh:g,refreshAll:h}},{}],8:[function(b,c,d){!function(b,e){"use strict";function f(a){a=a.split(" ");for(var b={},c=a.length,d=[];c--;)b.hasOwnProperty(a[c])||(b[a[c]]=1,d.unshift(a[c]));return d.join(" ")}var g="file:"===b.location.protocol,h=e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"),i=Array.prototype.forEach||function(a,b){if(void 0===this||null===this||"function"!=typeof a)throw new TypeError;var c,d=this.length>>>0;for(c=0;d>c;++c)c in this&&a.call(b,this[c],c,this)},j={},k=0,l=[],m=[],n={},o=function(a){return a.cloneNode(!0)},p=function(a,b){m[a]=m[a]||[],m[a].push(b)},q=function(a){for(var b=0,c=m[a].length;c>b;b++)!function(b){setTimeout(function(){m[a][b](o(j[a]))},0)}(b)},r=function(a,c){if(void 0!==j[a])j[a]instanceof SVGSVGElement?c(o(j[a])):p(a,c);else{if(!b.XMLHttpRequest)return c("Browser does not support XMLHttpRequest"),!1;j[a]={},p(a,c);var d=new XMLHttpRequest;d.onreadystatechange=function(){if(4===d.readyState){if(404===d.status||null===d.responseXML)return c("Unable to load SVG file: "+a),g&&c("Note: SVG injection ajax calls do not work locally without adjusting security setting in your browser. Or consider using a local webserver."),c(),!1;if(!(200===d.status||g&&0===d.status))return c("There was a problem injecting the SVG: "+d.status+" "+d.statusText),!1;if(d.responseXML instanceof Document)j[a]=d.responseXML.documentElement;else if(DOMParser&&DOMParser instanceof Function){var b;try{var e=new DOMParser;b=e.parseFromString(d.responseText,"text/xml")}catch(f){b=void 0}if(!b||b.getElementsByTagName("parsererror").length)return c("Unable to parse SVG file: "+a),!1;j[a]=b.documentElement}q(a)}},d.open("GET",a),d.overrideMimeType&&d.overrideMimeType("text/xml"),d.send()}},s=function(a,c,d,e){var g=a.getAttribute("data-src")||a.getAttribute("src");if(!/svg$/i.test(g))return e("Attempted to inject a file with a non-svg extension: "+g),void 0;if(!h){var j=a.getAttribute("data-fallback")||a.getAttribute("data-png");return j?(a.setAttribute("src",j),e(null)):d?(a.setAttribute("src",d+"/"+g.split("/").pop().replace(".svg",".png")),e(null)):e("This browser does not support SVG and no PNG fallback was defined."),void 0}-1===l.indexOf(a)&&(l.push(a),a.setAttribute("src",""),r(g,function(d){if("undefined"==typeof d||"string"==typeof d)return e(d),!1;var h=a.getAttribute("id");h&&d.setAttribute("id",h);var j=a.getAttribute("title");j&&d.setAttribute("title",j);var m=[].concat(d.getAttribute("class")||[],"injected-svg",a.getAttribute("class")||[]).join(" ");d.setAttribute("class",f(m));var o=a.getAttribute("style");o&&d.setAttribute("style",o);var p=[].filter.call(a.attributes,function(a){return/^data-\w[\w\-]*$/.test(a.name)});i.call(p,function(a){a.name&&a.value&&d.setAttribute(a.name,a.value)});for(var q,r=d.querySelectorAll("defs clipPath[id]"),s=0,t=r.length;t>s;s++){q=r[s].id+"-"+k;for(var u=d.querySelectorAll('[clip-path*="'+r[s].id+'"]'),v=0,w=u.length;w>v;v++)u[v].setAttribute("clip-path","url(#"+q+")");r[s].id=q}d.removeAttribute("xmlns:a");for(var x,y,z=d.querySelectorAll("script"),A=[],B=0,C=z.length;C>B;B++)y=z[B].getAttribute("type"),y&&"application/ecmascript"!==y&&"application/javascript"!==y||(x=z[B].innerText||z[B].textContent,A.push(x),d.removeChild(z[B]));if(A.length>0&&("always"===c||"once"===c&&!n[g])){for(var D=0,E=A.length;E>D;D++)new Function(A[D])(b);n[g]=!0}a.parentNode.replaceChild(d,a),delete l[l.indexOf(a)],a=null,k++,e(d)}))},t=function(a,b,c){b=b||{};var d=b.evalScripts||"always",e=b.pngFallback||!1,f=b.each;if(void 0!==a.length){var g=0;i.call(a,function(b){s(b,d,e,function(b){f&&"function"==typeof f&&f(b),c&&a.length===++g&&c(g)})})}else a?s(a,d,e,function(b){f&&"function"==typeof f&&f(b),c&&c(1),a=null}):c&&c(0)};"object"==typeof c&&"object"==typeof c.exports?c.exports=d=t:"function"==typeof a&&a.amd?a(function(){return t}):"object"==typeof b&&(b.SVGInjector=t)}(window,document)},{}]},{},[1])(1)}); - -/***/ }, -/* 14 */ /***/ function(module, exports, __webpack_require__) { //From https://github.com/zurb/foundation-apps/blob/master/js/angular/common/common.services.js @@ -668,12 +657,23 @@ var RFA = module.exports = foundationApi; +/***/ }, +/* 14 */ +/***/ function(module, exports, __webpack_require__) { + + var require;var require;/*! + * iconic.js v0.4.0 - The Iconic JavaScript library + * Copyright (c) 2014 Waybury - http://useiconic.com + */ + + !function(a){true?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.IconicJS=a():"undefined"!=typeof global?global.IconicJS=a():"undefined"!=typeof self&&(self.IconicJS=a())}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return require(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};a[g][0].call(j.exports,function(b){var c=a[g][1][b];return e(c?c:b)},j,j.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g>>0;for(c=0;d>c;++c)c in this&&a.call(b,this[c],c,this)}),function(){if(Event.prototype.preventDefault||(Event.prototype.preventDefault=function(){this.returnValue=!1}),Event.prototype.stopPropagation||(Event.prototype.stopPropagation=function(){this.cancelBubble=!0}),!Element.prototype.addEventListener){var a=[],b=function(b,c){var d=this,e=function(a){a.target=a.srcElement,a.currentTarget=d,c.handleEvent?c.handleEvent(a):c.call(d,a)};if("DOMContentLoaded"==b){var f=function(a){"complete"==document.readyState&&e(a)};if(document.attachEvent("onreadystatechange",f),a.push({object:this,type:b,listener:c,wrapper:f}),"complete"==document.readyState){var g=new Event;g.srcElement=window,f(g)}}else this.attachEvent("on"+b,e),a.push({object:this,type:b,listener:c,wrapper:e})},c=function(b,c){for(var d=0;df?d.width:d.height;var g;g=32>b?"iconic-sm":b>=32&&128>b?"iconic-md":"iconic-lg";var h=a.getAttribute("class"),i=c.test(h)?h.replace(c,g):h+" "+g;a.setAttribute("class",i)}},h=function(){var a=document.querySelectorAll(".injected-svg.iconic-fluid");Array.prototype.forEach.call(a,function(a){g(a)})};document.addEventListener("DOMContentLoaded",function(){f()}),window.addEventListener("resize",function(){h()}),b.exports={refresh:g,refreshAll:h}},{}],8:[function(b,c,d){!function(b,e){"use strict";function f(a){a=a.split(" ");for(var b={},c=a.length,d=[];c--;)b.hasOwnProperty(a[c])||(b[a[c]]=1,d.unshift(a[c]));return d.join(" ")}var g="file:"===b.location.protocol,h=e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"),i=Array.prototype.forEach||function(a,b){if(void 0===this||null===this||"function"!=typeof a)throw new TypeError;var c,d=this.length>>>0;for(c=0;d>c;++c)c in this&&a.call(b,this[c],c,this)},j={},k=0,l=[],m=[],n={},o=function(a){return a.cloneNode(!0)},p=function(a,b){m[a]=m[a]||[],m[a].push(b)},q=function(a){for(var b=0,c=m[a].length;c>b;b++)!function(b){setTimeout(function(){m[a][b](o(j[a]))},0)}(b)},r=function(a,c){if(void 0!==j[a])j[a]instanceof SVGSVGElement?c(o(j[a])):p(a,c);else{if(!b.XMLHttpRequest)return c("Browser does not support XMLHttpRequest"),!1;j[a]={},p(a,c);var d=new XMLHttpRequest;d.onreadystatechange=function(){if(4===d.readyState){if(404===d.status||null===d.responseXML)return c("Unable to load SVG file: "+a),g&&c("Note: SVG injection ajax calls do not work locally without adjusting security setting in your browser. Or consider using a local webserver."),c(),!1;if(!(200===d.status||g&&0===d.status))return c("There was a problem injecting the SVG: "+d.status+" "+d.statusText),!1;if(d.responseXML instanceof Document)j[a]=d.responseXML.documentElement;else if(DOMParser&&DOMParser instanceof Function){var b;try{var e=new DOMParser;b=e.parseFromString(d.responseText,"text/xml")}catch(f){b=void 0}if(!b||b.getElementsByTagName("parsererror").length)return c("Unable to parse SVG file: "+a),!1;j[a]=b.documentElement}q(a)}},d.open("GET",a),d.overrideMimeType&&d.overrideMimeType("text/xml"),d.send()}},s=function(a,c,d,e){var g=a.getAttribute("data-src")||a.getAttribute("src");if(!/svg$/i.test(g))return e("Attempted to inject a file with a non-svg extension: "+g),void 0;if(!h){var j=a.getAttribute("data-fallback")||a.getAttribute("data-png");return j?(a.setAttribute("src",j),e(null)):d?(a.setAttribute("src",d+"/"+g.split("/").pop().replace(".svg",".png")),e(null)):e("This browser does not support SVG and no PNG fallback was defined."),void 0}-1===l.indexOf(a)&&(l.push(a),a.setAttribute("src",""),r(g,function(d){if("undefined"==typeof d||"string"==typeof d)return e(d),!1;var h=a.getAttribute("id");h&&d.setAttribute("id",h);var j=a.getAttribute("title");j&&d.setAttribute("title",j);var m=[].concat(d.getAttribute("class")||[],"injected-svg",a.getAttribute("class")||[]).join(" ");d.setAttribute("class",f(m));var o=a.getAttribute("style");o&&d.setAttribute("style",o);var p=[].filter.call(a.attributes,function(a){return/^data-\w[\w\-]*$/.test(a.name)});i.call(p,function(a){a.name&&a.value&&d.setAttribute(a.name,a.value)});for(var q,r=d.querySelectorAll("defs clipPath[id]"),s=0,t=r.length;t>s;s++){q=r[s].id+"-"+k;for(var u=d.querySelectorAll('[clip-path*="'+r[s].id+'"]'),v=0,w=u.length;w>v;v++)u[v].setAttribute("clip-path","url(#"+q+")");r[s].id=q}d.removeAttribute("xmlns:a");for(var x,y,z=d.querySelectorAll("script"),A=[],B=0,C=z.length;C>B;B++)y=z[B].getAttribute("type"),y&&"application/ecmascript"!==y&&"application/javascript"!==y||(x=z[B].innerText||z[B].textContent,A.push(x),d.removeChild(z[B]));if(A.length>0&&("always"===c||"once"===c&&!n[g])){for(var D=0,E=A.length;E>D;D++)new Function(A[D])(b);n[g]=!0}a.parentNode.replaceChild(d,a),delete l[l.indexOf(a)],a=null,k++,e(d)}))},t=function(a,b,c){b=b||{};var d=b.evalScripts||"always",e=b.pngFallback||!1,f=b.each;if(void 0!==a.length){var g=0;i.call(a,function(b){s(b,d,e,function(b){f&&"function"==typeof f&&f(b),c&&a.length===++g&&c(g)})})}else a?s(a,d,e,function(b){f&&"function"==typeof f&&f(b),c&&c(1),a=null}):c&&c(0)};"object"==typeof c&&"object"==typeof c.exports?c.exports=d=t:"function"==typeof a&&a.amd?a(function(){return t}):"object"==typeof b&&(b.SVGInjector=t)}(window,document)},{}]},{},[1])(1)}); + /***/ }, /* 15 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cx = __webpack_require__(27); + var cx = __webpack_require__(26); var AccordionItem = React.createClass({displayName: "AccordionItem", render: function () { @@ -727,7 +727,7 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cx = __webpack_require__(27); + var cx = __webpack_require__(26); var ActionSheetContent = React.createClass({displayName: "ActionSheetContent", getDefaultProps: function () { @@ -752,10 +752,10 @@ var RFA = // some parts of code from react/lib/ReactCSSTransitionGroupChild.js var React = __webpack_require__(12); - var ReactTransitionEvents = __webpack_require__(28); - var CSSCore = __webpack_require__(29); - var cloneWithProps = __webpack_require__(25); - var cx = __webpack_require__(27); + var ReactTransitionEvents = __webpack_require__(29); + var CSSCore = __webpack_require__(30); + var cloneWithProps = __webpack_require__(24); + var cx = __webpack_require__(26); var TICK = 17; var Animation = React.createClass({displayName: "Animation", @@ -830,8 +830,8 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var foundationApi = __webpack_require__(14); - var Notification = __webpack_require__(30); + var foundationApi = __webpack_require__(13); + var Notification = __webpack_require__(28); var Animation = __webpack_require__(18); var NotificationSet = React.createClass({displayName: "NotificationSet", @@ -892,10 +892,10 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cx = __webpack_require__(27); - var foundationApi = __webpack_require__(14); + var cx = __webpack_require__(26); + var foundationApi = __webpack_require__(13); var Animation = __webpack_require__(18); - var Notification = __webpack_require__(30); + var Notification = __webpack_require__(28); var NotificationStatic = React.createClass({displayName: "NotificationStatic", getInitialState: function () { @@ -936,7 +936,7 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var cx = __webpack_require__(27); + var cx = __webpack_require__(26); var Tab = React.createClass({displayName: "Tab", componentDidMount: function () { @@ -972,8 +972,8 @@ var RFA = /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(12); - var foundationApi = __webpack_require__(14); - var cloneWithProps = __webpack_require__(25); + var foundationApi = __webpack_require__(13); + var cloneWithProps = __webpack_require__(24); var PopupToggle = React.createClass({displayName: "PopupToggle", clickHandler: function (id, e) { @@ -996,9 +996,9 @@ var RFA = /* 23 */ /***/ function(module, exports, __webpack_require__) { - var canUseDOM = __webpack_require__(37); + var canUseDOM = __webpack_require__(38); var enquire = canUseDOM && __webpack_require__(40); - var json2mq = __webpack_require__(38); + var json2mq = __webpack_require__(39); var ResponsiveMixin = { media: function (query, handler) { @@ -1027,6 +1027,159 @@ var RFA = /***/ }, /* 24 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks + * @providesModule cloneWithProps + */ + + "use strict"; + + var ReactElement = __webpack_require__(33); + var ReactPropTransferer = __webpack_require__(32); + + var keyOf = __webpack_require__(34); + var warning = __webpack_require__(35); + + var CHILDREN_PROP = keyOf({children: null}); + + /** + * Sometimes you want to change the props of a child passed to you. Usually + * this is to add a CSS class. + * + * @param {object} child child component you'd like to clone + * @param {object} props props you'd like to modify. They will be merged + * as if you used `transferPropsTo()`. + * @return {object} a clone of child with props merged in. + */ + function cloneWithProps(child, props) { + if ("production" !== (undefined)) { + ("production" !== (undefined) ? warning( + !child.ref, + 'You are calling cloneWithProps() on a child with a ref. This is ' + + 'dangerous because you\'re creating a new child which will not be ' + + 'added as a ref to its parent.' + ) : null); + } + + var newProps = ReactPropTransferer.mergeProps(props, child.props); + + // Use `child.props.children` if it is provided. + if (!newProps.hasOwnProperty(CHILDREN_PROP) && + child.props.hasOwnProperty(CHILDREN_PROP)) { + newProps.children = child.props.children; + } + + // The current API doesn't retain _owner and _context, which is why this + // doesn't use ReactElement.cloneAndReplaceProps. + return ReactElement.createElement(child.type, newProps); + } + + module.exports = cloneWithProps; + + +/***/ }, +/* 25 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ExecutionEnvironment + */ + + /*jslint evil: true */ + + "use strict"; + + var canUseDOM = !!( + typeof window !== 'undefined' && + window.document && + window.document.createElement + ); + + /** + * Simple, lightweight module assisting with the detection and context of + * Worker. Helps avoid circular dependencies and allows code to reason about + * whether or not they are in a Worker, even if they never include the main + * `ReactWorker` dependency. + */ + var ExecutionEnvironment = { + + canUseDOM: canUseDOM, + + canUseWorkers: typeof Worker !== 'undefined', + + canUseEventListeners: + canUseDOM && !!(window.addEventListener || window.attachEvent), + + canUseViewport: canUseDOM && !!window.screen, + + isInWorker: !canUseDOM // For now, this is true - might change in the future. + + }; + + module.exports = ExecutionEnvironment; + + +/***/ }, +/* 26 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule cx + */ + + /** + * This function is used to mark string literals representing CSS class names + * so that they can be transformed statically. This allows for modularization + * and minification of CSS class names. + * + * In static_upstream, this function is actually implemented, but it should + * eventually be replaced with something more descriptive, and the transform + * that is used in the main stack should be ported for use elsewhere. + * + * @param string|object className to modularize, or an object of key/values. + * In the object case, the values are conditions that + * determine if the className keys should be included. + * @param [string ...] Variable list of classNames in the string case. + * @return string Renderable space-separated CSS className. + */ + function cx(classNames) { + if (typeof classNames == 'object') { + return Object.keys(classNames).filter(function(className) { + return classNames[className]; + }).join(' '); + } else { + return Array.prototype.join.call(arguments, ' '); + } + } + + module.exports = cx; + + +/***/ }, +/* 27 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! tether 0.6.5 */ @@ -2489,7 +2642,49 @@ var RFA = /***/ }, -/* 25 */ +/* 28 */ +/***/ function(module, exports, __webpack_require__) { + + var React = __webpack_require__(12); + + var Notification = React.createClass({displayName: "Notification", + getDefaultProps: function () { + return { + position: 'top-right', + color: 'success', + title: null, + image: null, + content: null + }; + }, + render: function () { + var classes = 'notification ' + this.props.position + ' ' + this.props.color; + classes += ' ' + (this.props.className || ''); + var imageNode = null; + if (this.props.image) { + imageNode = ( + React.createElement("div", {className: "notification-icon"}, + React.createElement("img", {src: "{{ image }}"}) + ) + ); + } + return ( + React.createElement("div", {id: this.props.id, "data-closable": true, className: classes}, + React.createElement("a", {href: "#", className: "close-button", onClick: this.props.closeHandler}, "×"), + imageNode, + React.createElement("div", {className: "notification-content"}, + React.createElement("h1", null, this.props.title), + React.createElement("p", null, this.props.children) + ) + ) + ); + } + }); + + module.exports = Notification; + +/***/ }, +/* 29 */ /***/ function(module, exports, __webpack_require__) { /** @@ -2500,179 +2695,26 @@ var RFA = * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * - * @typechecks - * @providesModule cloneWithProps + * @providesModule ReactTransitionEvents */ "use strict"; - var ReactElement = __webpack_require__(32); - var ReactPropTransferer = __webpack_require__(33); - - var keyOf = __webpack_require__(34); - var warning = __webpack_require__(35); - - var CHILDREN_PROP = keyOf({children: null}); + var ExecutionEnvironment = __webpack_require__(25); /** - * Sometimes you want to change the props of a child passed to you. Usually - * this is to add a CSS class. - * - * @param {object} child child component you'd like to clone - * @param {object} props props you'd like to modify. They will be merged - * as if you used `transferPropsTo()`. - * @return {object} a clone of child with props merged in. + * EVENT_NAME_MAP is used to determine which event fired when a + * transition/animation ends, based on the style property used to + * define that event. */ - function cloneWithProps(child, props) { - if ("production" !== (undefined)) { - ("production" !== (undefined) ? warning( - !child.ref, - 'You are calling cloneWithProps() on a child with a ref. This is ' + - 'dangerous because you\'re creating a new child which will not be ' + - 'added as a ref to its parent.' - ) : null); - } - - var newProps = ReactPropTransferer.mergeProps(props, child.props); - - // Use `child.props.children` if it is provided. - if (!newProps.hasOwnProperty(CHILDREN_PROP) && - child.props.hasOwnProperty(CHILDREN_PROP)) { - newProps.children = child.props.children; - } - - // The current API doesn't retain _owner and _context, which is why this - // doesn't use ReactElement.cloneAndReplaceProps. - return ReactElement.createElement(child.type, newProps); - } - - module.exports = cloneWithProps; - - -/***/ }, -/* 26 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-2014, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule ExecutionEnvironment - */ - - /*jslint evil: true */ - - "use strict"; - - var canUseDOM = !!( - typeof window !== 'undefined' && - window.document && - window.document.createElement - ); - - /** - * Simple, lightweight module assisting with the detection and context of - * Worker. Helps avoid circular dependencies and allows code to reason about - * whether or not they are in a Worker, even if they never include the main - * `ReactWorker` dependency. - */ - var ExecutionEnvironment = { - - canUseDOM: canUseDOM, - - canUseWorkers: typeof Worker !== 'undefined', - - canUseEventListeners: - canUseDOM && !!(window.addEventListener || window.attachEvent), - - canUseViewport: canUseDOM && !!window.screen, - - isInWorker: !canUseDOM // For now, this is true - might change in the future. - - }; - - module.exports = ExecutionEnvironment; - - -/***/ }, -/* 27 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-2014, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule cx - */ - - /** - * This function is used to mark string literals representing CSS class names - * so that they can be transformed statically. This allows for modularization - * and minification of CSS class names. - * - * In static_upstream, this function is actually implemented, but it should - * eventually be replaced with something more descriptive, and the transform - * that is used in the main stack should be ported for use elsewhere. - * - * @param string|object className to modularize, or an object of key/values. - * In the object case, the values are conditions that - * determine if the className keys should be included. - * @param [string ...] Variable list of classNames in the string case. - * @return string Renderable space-separated CSS className. - */ - function cx(classNames) { - if (typeof classNames == 'object') { - return Object.keys(classNames).filter(function(className) { - return classNames[className]; - }).join(' '); - } else { - return Array.prototype.join.call(arguments, ' '); - } - } - - module.exports = cx; - - -/***/ }, -/* 28 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-2014, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule ReactTransitionEvents - */ - - "use strict"; - - var ExecutionEnvironment = __webpack_require__(26); - - /** - * EVENT_NAME_MAP is used to determine which event fired when a - * transition/animation ends, based on the style property used to - * define that event. - */ - var EVENT_NAME_MAP = { - transitionend: { - 'transition': 'transitionend', - 'WebkitTransition': 'webkitTransitionEnd', - 'MozTransition': 'mozTransitionEnd', - 'OTransition': 'oTransitionEnd', - 'msTransition': 'MSTransitionEnd' - }, + var EVENT_NAME_MAP = { + transitionend: { + 'transition': 'transitionend', + 'WebkitTransition': 'webkitTransitionEnd', + 'MozTransition': 'mozTransitionEnd', + 'OTransition': 'oTransitionEnd', + 'msTransition': 'MSTransitionEnd' + }, animationend: { 'animation': 'animationend', @@ -2757,7 +2799,7 @@ var RFA = /***/ }, -/* 29 */ +/* 30 */ /***/ function(module, exports, __webpack_require__) { /** @@ -2772,7 +2814,7 @@ var RFA = * @typechecks */ - var invariant = __webpack_require__(39); + var invariant = __webpack_require__(37); /** * The CSSCore module specifies the API (and implements most of the methods) @@ -2870,48 +2912,6 @@ var RFA = module.exports = CSSCore; -/***/ }, -/* 30 */ -/***/ function(module, exports, __webpack_require__) { - - var React = __webpack_require__(12); - - var Notification = React.createClass({displayName: "Notification", - getDefaultProps: function () { - return { - position: 'top-right', - color: 'success', - title: null, - image: null, - content: null - }; - }, - render: function () { - var classes = 'notification ' + this.props.position + ' ' + this.props.color; - classes += ' ' + (this.props.className || ''); - var imageNode = null; - if (this.props.image) { - imageNode = ( - React.createElement("div", {className: "notification-icon"}, - React.createElement("img", {src: "{{ image }}"}) - ) - ); - } - return ( - React.createElement("div", {id: this.props.id, "data-closable": true, className: classes}, - React.createElement("a", {href: "#", className: "close-button", onClick: this.props.closeHandler}, "×"), - imageNode, - React.createElement("div", {className: "notification-content"}, - React.createElement("h1", null, this.props.title), - React.createElement("p", null, this.props.children) - ) - ) - ); - } - }); - - module.exports = Notification; - /***/ }, /* 31 */ /***/ function(module, exports, __webpack_require__) { @@ -2949,64 +2949,233 @@ var RFA = /***/ function(module, exports, __webpack_require__) { /** - * Copyright 2014, Facebook, Inc. + * Copyright 2013-2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * - * @providesModule ReactElement + * @providesModule ReactPropTransferer */ "use strict"; - var ReactContext = __webpack_require__(41); - var ReactCurrentOwner = __webpack_require__(42); - + var assign = __webpack_require__(44); + var emptyFunction = __webpack_require__(43); + var invariant = __webpack_require__(37); + var joinClasses = __webpack_require__(45); var warning = __webpack_require__(35); - var RESERVED_PROPS = { - key: true, - ref: true - }; + var didWarn = false; /** - * Warn for mutations. + * Creates a transfer strategy that will merge prop values using the supplied + * `mergeStrategy`. If a prop was previously unset, this just sets it. * - * @internal - * @param {object} object - * @param {string} key + * @param {function} mergeStrategy + * @return {function} */ - function defineWarningProperty(object, key) { - Object.defineProperty(object, key, { - - configurable: false, - enumerable: true, - - get: function() { - if (!this._store) { - return null; - } - return this._store[key]; - }, - - set: function(value) { - ("production" !== (undefined) ? warning( - false, - 'Don\'t set the ' + key + ' property of the component. ' + - 'Mutate the existing props object instead.' - ) : null); - this._store[key] = value; + function createTransferStrategy(mergeStrategy) { + return function(props, key, value) { + if (!props.hasOwnProperty(key)) { + props[key] = value; + } else { + props[key] = mergeStrategy(props[key], value); } - - }); + }; } + var transferStrategyMerge = createTransferStrategy(function(a, b) { + // `merge` overrides the first object's (`props[key]` above) keys using the + // second object's (`value`) keys. An object's style's existing `propA` would + // get overridden. Flip the order here. + return assign({}, b, a); + }); + /** - * This is updated to true if the membrane is successfully created. + * Transfer strategies dictate how props are transferred by `transferPropsTo`. + * NOTE: if you add any more exceptions to this list you should be sure to + * update `cloneWithProps()` accordingly. */ - var useMutationMembrane = false; + var TransferStrategies = { + /** + * Never transfer `children`. + */ + children: emptyFunction, + /** + * Transfer the `className` prop by merging them. + */ + className: createTransferStrategy(joinClasses), + /** + * Transfer the `style` prop (which is an object) by merging them. + */ + style: transferStrategyMerge + }; + + /** + * Mutates the first argument by transferring the properties from the second + * argument. + * + * @param {object} props + * @param {object} newProps + * @return {object} + */ + function transferInto(props, newProps) { + for (var thisKey in newProps) { + if (!newProps.hasOwnProperty(thisKey)) { + continue; + } + + var transferStrategy = TransferStrategies[thisKey]; + + if (transferStrategy && TransferStrategies.hasOwnProperty(thisKey)) { + transferStrategy(props, thisKey, newProps[thisKey]); + } else if (!props.hasOwnProperty(thisKey)) { + props[thisKey] = newProps[thisKey]; + } + } + return props; + } + + /** + * ReactPropTransferer are capable of transferring props to another component + * using a `transferPropsTo` method. + * + * @class ReactPropTransferer + */ + var ReactPropTransferer = { + + TransferStrategies: TransferStrategies, + + /** + * Merge two props objects using TransferStrategies. + * + * @param {object} oldProps original props (they take precedence) + * @param {object} newProps new props to merge in + * @return {object} a new object containing both sets of props merged. + */ + mergeProps: function(oldProps, newProps) { + return transferInto(assign({}, oldProps), newProps); + }, + + /** + * @lends {ReactPropTransferer.prototype} + */ + Mixin: { + + /** + * Transfer props from this component to a target component. + * + * Props that do not have an explicit transfer strategy will be transferred + * only if the target component does not already have the prop set. + * + * This is usually used to pass down props to a returned root component. + * + * @param {ReactElement} element Component receiving the properties. + * @return {ReactElement} The supplied `component`. + * @final + * @protected + */ + transferPropsTo: function(element) { + ("production" !== (undefined) ? invariant( + element._owner === this, + '%s: You can\'t call transferPropsTo() on a component that you ' + + 'don\'t own, %s. This usually means you are calling ' + + 'transferPropsTo() on a component passed in as props or children.', + this.constructor.displayName, + typeof element.type === 'string' ? + element.type : + element.type.displayName + ) : invariant(element._owner === this)); + + if ("production" !== (undefined)) { + if (!didWarn) { + didWarn = true; + ("production" !== (undefined) ? warning( + false, + 'transferPropsTo is deprecated. ' + + 'See http://fb.me/react-transferpropsto for more information.' + ) : null); + } + } + + // Because elements are immutable we have to merge into the existing + // props object rather than clone it. + transferInto(element.props, this.props); + + return element; + } + + } + }; + + module.exports = ReactPropTransferer; + + +/***/ }, +/* 33 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactElement + */ + + "use strict"; + + var ReactContext = __webpack_require__(41); + var ReactCurrentOwner = __webpack_require__(42); + + var warning = __webpack_require__(35); + + var RESERVED_PROPS = { + key: true, + ref: true + }; + + /** + * Warn for mutations. + * + * @internal + * @param {object} object + * @param {string} key + */ + function defineWarningProperty(object, key) { + Object.defineProperty(object, key, { + + configurable: false, + enumerable: true, + + get: function() { + if (!this._store) { + return null; + } + return this._store[key]; + }, + + set: function(value) { + ("production" !== (undefined) ? warning( + false, + 'Don\'t set the ' + key + ' property of the component. ' + + 'Mutate the existing props object instead.' + ) : null); + this._store[key] = value; + } + + }); + } + + /** + * This is updated to true if the membrane is successfully created. + */ + var useMutationMembrane = false; /** * Warn for mutations. @@ -3130,235 +3299,66 @@ var RFA = if (typeof props[propName] === 'undefined') { props[propName] = defaultProps[propName]; } - } - } - - return new ReactElement( - type, - key, - ref, - ReactCurrentOwner.current, - ReactContext.current, - props - ); - }; - - ReactElement.createFactory = function(type) { - var factory = ReactElement.createElement.bind(null, type); - // Expose the type on the factory and the prototype so that it can be - // easily accessed on elements. E.g. .type === Foo.type. - // This should not be named `constructor` since this may not be the function - // that created the element, and it may not even be a constructor. - factory.type = type; - return factory; - }; - - ReactElement.cloneAndReplaceProps = function(oldElement, newProps) { - var newElement = new ReactElement( - oldElement.type, - oldElement.key, - oldElement.ref, - oldElement._owner, - oldElement._context, - newProps - ); - - if ("production" !== (undefined)) { - // If the key on the original is valid, then the clone is valid - newElement._store.validated = oldElement._store.validated; - } - return newElement; - }; - - /** - * @param {?object} object - * @return {boolean} True if `object` is a valid component. - * @final - */ - ReactElement.isValidElement = function(object) { - // ReactTestUtils is often used outside of beforeEach where as React is - // within it. This leads to two different instances of React on the same - // page. To identify a element from a different React instance we use - // a flag instead of an instanceof check. - var isElement = !!(object && object._isReactElement); - // if (isElement && !(object instanceof ReactElement)) { - // This is an indicator that you're using multiple versions of React at the - // same time. This will screw with ownership and stuff. Fix it, please. - // TODO: We could possibly warn here. - // } - return isElement; - }; - - module.exports = ReactElement; - - -/***/ }, -/* 33 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-2014, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule ReactPropTransferer - */ - - "use strict"; - - var assign = __webpack_require__(43); - var emptyFunction = __webpack_require__(44); - var invariant = __webpack_require__(39); - var joinClasses = __webpack_require__(45); - var warning = __webpack_require__(35); - - var didWarn = false; - - /** - * Creates a transfer strategy that will merge prop values using the supplied - * `mergeStrategy`. If a prop was previously unset, this just sets it. - * - * @param {function} mergeStrategy - * @return {function} - */ - function createTransferStrategy(mergeStrategy) { - return function(props, key, value) { - if (!props.hasOwnProperty(key)) { - props[key] = value; - } else { - props[key] = mergeStrategy(props[key], value); - } - }; - } - - var transferStrategyMerge = createTransferStrategy(function(a, b) { - // `merge` overrides the first object's (`props[key]` above) keys using the - // second object's (`value`) keys. An object's style's existing `propA` would - // get overridden. Flip the order here. - return assign({}, b, a); - }); - - /** - * Transfer strategies dictate how props are transferred by `transferPropsTo`. - * NOTE: if you add any more exceptions to this list you should be sure to - * update `cloneWithProps()` accordingly. - */ - var TransferStrategies = { - /** - * Never transfer `children`. - */ - children: emptyFunction, - /** - * Transfer the `className` prop by merging them. - */ - className: createTransferStrategy(joinClasses), - /** - * Transfer the `style` prop (which is an object) by merging them. - */ - style: transferStrategyMerge - }; - - /** - * Mutates the first argument by transferring the properties from the second - * argument. - * - * @param {object} props - * @param {object} newProps - * @return {object} - */ - function transferInto(props, newProps) { - for (var thisKey in newProps) { - if (!newProps.hasOwnProperty(thisKey)) { - continue; - } - - var transferStrategy = TransferStrategies[thisKey]; - - if (transferStrategy && TransferStrategies.hasOwnProperty(thisKey)) { - transferStrategy(props, thisKey, newProps[thisKey]); - } else if (!props.hasOwnProperty(thisKey)) { - props[thisKey] = newProps[thisKey]; - } - } - return props; - } - - /** - * ReactPropTransferer are capable of transferring props to another component - * using a `transferPropsTo` method. - * - * @class ReactPropTransferer - */ - var ReactPropTransferer = { - - TransferStrategies: TransferStrategies, - - /** - * Merge two props objects using TransferStrategies. - * - * @param {object} oldProps original props (they take precedence) - * @param {object} newProps new props to merge in - * @return {object} a new object containing both sets of props merged. - */ - mergeProps: function(oldProps, newProps) { - return transferInto(assign({}, oldProps), newProps); - }, - - /** - * @lends {ReactPropTransferer.prototype} - */ - Mixin: { - - /** - * Transfer props from this component to a target component. - * - * Props that do not have an explicit transfer strategy will be transferred - * only if the target component does not already have the prop set. - * - * This is usually used to pass down props to a returned root component. - * - * @param {ReactElement} element Component receiving the properties. - * @return {ReactElement} The supplied `component`. - * @final - * @protected - */ - transferPropsTo: function(element) { - ("production" !== (undefined) ? invariant( - element._owner === this, - '%s: You can\'t call transferPropsTo() on a component that you ' + - 'don\'t own, %s. This usually means you are calling ' + - 'transferPropsTo() on a component passed in as props or children.', - this.constructor.displayName, - typeof element.type === 'string' ? - element.type : - element.type.displayName - ) : invariant(element._owner === this)); - - if ("production" !== (undefined)) { - if (!didWarn) { - didWarn = true; - ("production" !== (undefined) ? warning( - false, - 'transferPropsTo is deprecated. ' + - 'See http://fb.me/react-transferpropsto for more information.' - ) : null); - } - } + } + } - // Because elements are immutable we have to merge into the existing - // props object rather than clone it. - transferInto(element.props, this.props); + return new ReactElement( + type, + key, + ref, + ReactCurrentOwner.current, + ReactContext.current, + props + ); + }; - return element; - } + ReactElement.createFactory = function(type) { + var factory = ReactElement.createElement.bind(null, type); + // Expose the type on the factory and the prototype so that it can be + // easily accessed on elements. E.g. .type === Foo.type. + // This should not be named `constructor` since this may not be the function + // that created the element, and it may not even be a constructor. + factory.type = type; + return factory; + }; + + ReactElement.cloneAndReplaceProps = function(oldElement, newProps) { + var newElement = new ReactElement( + oldElement.type, + oldElement.key, + oldElement.ref, + oldElement._owner, + oldElement._context, + newProps + ); + if ("production" !== (undefined)) { + // If the key on the original is valid, then the clone is valid + newElement._store.validated = oldElement._store.validated; } + return newElement; }; - module.exports = ReactPropTransferer; + /** + * @param {?object} object + * @return {boolean} True if `object` is a valid component. + * @final + */ + ReactElement.isValidElement = function(object) { + // ReactTestUtils is often used outside of beforeEach where as React is + // within it. This leads to two different instances of React on the same + // page. To identify a element from a different React instance we use + // a flag instead of an instanceof check. + var isElement = !!(object && object._isReactElement); + // if (isElement && !(object instanceof ReactElement)) { + // This is an indicator that you're using multiple versions of React at the + // same time. This will screw with ownership and stuff. Fix it, please. + // TODO: We could possibly warn here. + // } + return isElement; + }; + + module.exports = ReactElement; /***/ }, @@ -3418,7 +3418,7 @@ var RFA = "use strict"; - var emptyFunction = __webpack_require__(44); + var emptyFunction = __webpack_require__(43); /** * Similar to invariant but only logs a warning if the condition is not met. @@ -3695,6 +3695,65 @@ var RFA = /***/ }, /* 37 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule invariant + */ + + "use strict"; + + /** + * Use invariant() to assert state which your program assumes to be true. + * + * Provide sprintf-style format (only %s is supported) and arguments + * to provide information about what broke and what you were + * expecting. + * + * The invariant message will be stripped in production, but the invariant + * will remain to ensure logic does not differ in production. + */ + + var invariant = function(condition, format, a, b, c, d, e, f) { + if ("production" !== (undefined)) { + if (format === undefined) { + throw new Error('invariant requires an error message argument'); + } + } + + if (!condition) { + var error; + if (format === undefined) { + error = new Error( + 'Minified exception occurred; use the non-minified dev environment ' + + 'for the full error message and additional helpful warnings.' + ); + } else { + var args = [a, b, c, d, e, f]; + var argIndex = 0; + error = new Error( + 'Invariant Violation: ' + + format.replace(/%s/g, function() { return args[argIndex++]; }) + ); + } + + error.framesToPop = 1; // we don't care about invariant's own frame + throw error; + } + }; + + module.exports = invariant; + + +/***/ }, +/* 38 */ /***/ function(module, exports, __webpack_require__) { var canUseDOM = !!( @@ -3706,7 +3765,7 @@ var RFA = module.exports = canUseDOM; /***/ }, -/* 38 */ +/* 39 */ /***/ function(module, exports, __webpack_require__) { var camel2hyphen = __webpack_require__(46); @@ -3761,65 +3820,6 @@ var RFA = module.exports = json2mq; -/***/ }, -/* 39 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-2014, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule invariant - */ - - "use strict"; - - /** - * Use invariant() to assert state which your program assumes to be true. - * - * Provide sprintf-style format (only %s is supported) and arguments - * to provide information about what broke and what you were - * expecting. - * - * The invariant message will be stripped in production, but the invariant - * will remain to ensure logic does not differ in production. - */ - - var invariant = function(condition, format, a, b, c, d, e, f) { - if ("production" !== (undefined)) { - if (format === undefined) { - throw new Error('invariant requires an error message argument'); - } - } - - if (!condition) { - var error; - if (format === undefined) { - error = new Error( - 'Minified exception occurred; use the non-minified dev environment ' + - 'for the full error message and additional helpful warnings.' - ); - } else { - var args = [a, b, c, d, e, f]; - var argIndex = 0; - error = new Error( - 'Invariant Violation: ' + - format.replace(/%s/g, function() { return args[argIndex++]; }) - ); - } - - error.framesToPop = 1; // we don't care about invariant's own frame - throw error; - } - }; - - module.exports = invariant; - - /***/ }, /* 40 */ /***/ function(module, exports, __webpack_require__) { @@ -4135,7 +4135,7 @@ var RFA = "use strict"; - var assign = __webpack_require__(43); + var assign = __webpack_require__(44); /** * Keeps track of the current context. @@ -4224,6 +4224,44 @@ var RFA = /***/ }, /* 43 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule emptyFunction + */ + + function makeEmptyFunction(arg) { + return function() { + return arg; + }; + } + + /** + * This function accepts and discards inputs; it has no side effects. This is + * primarily useful idiomatically for overridable function endpoints which + * always need to be callable, since JS lacks a null-call idiom ala Cocoa. + */ + function emptyFunction() {} + + emptyFunction.thatReturns = makeEmptyFunction; + emptyFunction.thatReturnsFalse = makeEmptyFunction(false); + emptyFunction.thatReturnsTrue = makeEmptyFunction(true); + emptyFunction.thatReturnsNull = makeEmptyFunction(null); + emptyFunction.thatReturnsThis = function() { return this; }; + emptyFunction.thatReturnsArgument = function(arg) { return arg; }; + + module.exports = emptyFunction; + + +/***/ }, +/* 44 */ /***/ function(module, exports, __webpack_require__) { /** @@ -4273,44 +4311,6 @@ var RFA = module.exports = assign; -/***/ }, -/* 44 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-2014, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule emptyFunction - */ - - function makeEmptyFunction(arg) { - return function() { - return arg; - }; - } - - /** - * This function accepts and discards inputs; it has no side effects. This is - * primarily useful idiomatically for overridable function endpoints which - * always need to be callable, since JS lacks a null-call idiom ala Cocoa. - */ - function emptyFunction() {} - - emptyFunction.thatReturns = makeEmptyFunction; - emptyFunction.thatReturnsFalse = makeEmptyFunction(false); - emptyFunction.thatReturnsTrue = makeEmptyFunction(true); - emptyFunction.thatReturnsNull = makeEmptyFunction(null); - emptyFunction.thatReturnsThis = function() { return this; }; - emptyFunction.thatReturnsArgument = function(arg) { return arg; }; - - module.exports = emptyFunction; - - /***/ }, /* 45 */ /***/ function(module, exports, __webpack_require__) { diff --git a/dist/react-foundation-apps.min.js b/dist/react-foundation-apps.min.js index 0f3e4e4..5437946 100644 --- a/dist/react-foundation-apps.min.js +++ b/dist/react-foundation-apps.min.js @@ -1,7 +1,7 @@ -var RFA=function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports={Accordion:n(1),ActionSheet:n(2),Iconic:n(3),Interchange:n(4),Modal:n(5),Notification:n(6),OffCanvas:n(7),Panel:n(8),Popup:n(9),Tabs:n(10),Trigger:n(11)}},function(t,e,n){var i=n(12),o=n(25),r=i.createClass({displayName:"Accordion",getInitialState:function(){return{sections:[]}},getDefaultProps:function(){return{autoOpen:!0,multiOpen:!1,collapsible:!1}},componentDidMount:function(){var t=[];i.Children.forEach(this.props.children,function(){t.push({active:!1})}),this.props.autoOpen&&(t[0].active=!0),this.setState({sections:t})},select:function(t){var e=this.state.sections;e.forEach(function(e,n){this.props.multiOpen?n===t&&(e.active=!e.active):e.active=n===t?this.props.collapsible===!0?!e.active:!0:!1}.bind(this)),this.setState({sections:e})},render:function(){var t=i.Children.map(this.props.children,function(t,e){return o(t,{active:this.state.sections[e]?this.state.sections[e].active:!1,activate:this.select.bind(this,e)})}.bind(this));return i.createElement("div",{className:"accordion"},t)}});t.exports=r,r.Item=n(15)},function(t,e,n){var i=n(12),o=n(25),r=i.createClass({displayName:"ActionSheet",getInitialState:function(){return{active:!1}},setActiveState:function(t){this.setState({active:t})},render:function(){var t=i.Children.map(this.props.children,function(t){var e={active:this.state.active};return"ActionSheetButton"===t.type.displayName&&(e.setActiveState=this.setActiveState),o(t,e)}.bind(this));return i.createElement("div",{className:"action-sheet-container"},t)}});t.exports=r,r.Button=n(16),r.Content=n(17)},function(t,e,n){var i=n(12),o=n(26),r=o.canUseDOM&&n(13),s=(n(25),i.createClass({displayName:"Iconic",inject:function(){var t=r();t.inject(this.getDOMNode())},componentDidMount:function(){this.inject()},componentDidUpdate:function(){this.inject()},render:function(){return i.Children.only(this.props.children)}}));t.exports=s},function(t,e,n){var i=n(12),o=n(23),r=i.createClass({displayName:"Interchange",mixins:[o],getInitialState:function(){return{matchedMedia:"large"}},componentDidMount:function(){this.media({minWidth:0,maxWidth:640},function(){this.setState({matchedMedia:"small"})}.bind(this)),this.media({minWidth:641,maxWidth:1200},function(){this.setState({matchedMedia:"medium"})}.bind(this)),this.media({minWidth:1200,maxWidth:1440},function(){this.setState({matchedMedia:"large"})}.bind(this))},render:function(){var t=null;return i.Children.forEach(this.props.children,function(e){e.props.media===this.state.matchedMedia&&(t=e)}.bind(this)),t}});t.exports=r},function(t,e,n){var i=n(12),o=n(27),r=n(20),s=n(14),a=i.createClass({displayName:"Modal",getInitialState:function(){return{open:!1}},getDefaultProps:function(){return{overlay:!1,overlayClose:!1}},componentDidMount:function(){s.subscribe(this.props.id,function(t,e){"open"===e?this.setState({open:!0}):"close"===e?this.setState({open:!1}):"toggle"===e&&this.setState({open:!this.state.open})}.bind(this))},componentWillUnmount:function(){s.unsubscribe(this.props.id)},hideOverlay:function(){this.props.overlayClose&&this.setState({open:!1})},render:function(){var t=this.props.overlay===!0||this.props.overlayClose===!0?!0:!1,e={"modal-overlay":!0},n={modal:!0},s={};return t||(s.background="transparent"),i.createElement(r,{active:this.state.open,animationIn:"fadeIn",animationOut:"fadeOut"},i.createElement("div",{className:o(e),style:s,onClick:this.hideOverlay},i.createElement(r,{active:this.state.open,animationIn:"fadeIn",animationOut:"fadeOut"},i.createElement("div",{id:this.props.id,"data-closable":!0,className:o(n)},this.props.children))))}});t.exports=a},function(t,e,n){t.exports={Set:n(18),Static:n(19)}},function(t,e,n){var i=n(12),o=n(27),r=n(14),s=i.createClass({displayName:"Offcanvas",getInitialState:function(){return{open:!1}},getDefaultProps:function(){return{position:"left"}},componentDidMount:function(){r.subscribe(this.props.id,function(t,e){"open"===e?this.setState({open:!0}):"close"===e?this.setState({open:!1}):"toggle"===e&&this.setState({open:!this.state.open})}.bind(this))},componentWillUnmount:function(){r.unsubscribe(this.props.id)},render:function(){var t={"off-canvas":!0,"is-active":this.state.open};return t[this.props.position]=!0,this.props.className&&(t[this.props.className]=!0),i.createElement("div",{id:this.props.id,"data-closable":!0,className:o(t)},this.props.children)}});t.exports=s},function(t,e,n){var i=n(12),o=(n(27),n(20)),r=n(14),s=i.createClass({displayName:"Panel",getInitialState:function(){return{open:!1}},getDefaultProps:function(){return{position:"left"}},componentDidMount:function(){r.subscribe(this.props.id,function(t,e){"open"===e?this.setState({open:!0}):"close"===e?this.setState({open:!1}):"toggle"===e&&this.setState({open:!this.state.open})}.bind(this))},componentWillUnmount:function(){r.unsubscribe(this.props.id)},render:function(){var t="panel panel-"+this.props.position;return this.props.className&&(t+=" "+this.props.className),"left"===this.props.position?(animationIn=this.props.animationIn||"slideInRight",animationOut=this.props.animationOut||"slideOutLeft"):"right"===this.props.position?(animationIn=this.props.animationIn||"slideInLeft",animationOut=this.props.animationOut||"slideOutRight"):"top"===this.props.position?(animationIn=this.props.animationIn||"slideInDown",animationOut=this.props.animationOut||"slideOutUp"):"bottom"===this.props.position&&(animationIn=this.props.animationIn||"slideInUp",animationOut=this.props.animationOut||"slideOutBottom"),i.createElement(o,{active:this.state.open,animationIn:animationIn,animationOut:animationOut},i.createElement("div",{"data-closable":!0,id:this.props.id,className:t},this.props.children))}});t.exports=s},function(t,e,n){var i=n(12),o=n(27),r=n(26),s=n(14),a=r.canUseDOM&&n(24),l=i.createClass({displayName:"Popup",getInitialState:function(){return{active:!1,tetherInit:!1}},getDefaultProps:function(){return{pinTo:"top center",pinAt:""}},componentDidMount:function(){this.tether={},s.subscribe(this.props.id,function(t,e){"toggle"===e[0]&&this.toggle(e[1])}.bind(this))},toggle:function(t){var e=!this.state.active;this.setState({active:e},function(){e?this.tetherElement(t):this.tether.destroy()}.bind(this))},tetherElement:function(t){var e=document.getElementById(t),n="top center";this.tether=new a({element:this.getDOMNode(),target:e,attachment:n})},render:function(){var t={popup:!0,"is-active":this.state.active};return i.createElement("div",{id:this.props.id,className:o(t),"data-closable":"popup"},this.props.children)}});t.exports=l},function(t,e,n){var i=n(12),o=n(25),r=i.createClass({displayName:"Tabs",getInitialState:function(){return{selectedTab:0,content:null}},selectTab:function(t){this.setState(t)},render:function(){var t=i.Children.map(this.props.children,function(t,e){return o(t,{active:e===this.state.selectedTab,index:e,selectTab:this.selectTab})}.bind(this));return i.createElement("div",null,i.createElement("div",{className:"tabs"},t),i.createElement("div",null,this.state.content))}});t.exports=r,r.Tab=n(21)},function(t,e,n){var i=n(12),o=n(25),r=n(14),s=n(22),a=i.createClass({displayName:"Trigger",getDefaultProps:function(){return{open:null,close:null,toggle:null,hardToggle:null,popupToggle:null,notify:null}},getCloseId:function(){if(this.props.close)return this.props.close;for(var t=!1,e=this.getDOMNode().parentNode;t===!1;)"BODY"==e.nodeName&&(t=""),"undefined"!=typeof e.getAttribute("data-closable")&&e.getAttribute("data-closable")!==!1&&(t=e),e=e.parentNode;return t.getAttribute("id")},clickHandler:function(t){t.preventDefault(),this.props.open?r.publish(this.props.open,"open"):null!==this.props.close?r.publish(this.getCloseId(),"close"):this.props.toggle?r.publish(this.props.toggle,"toggle"):this.props.hardToggle?(r.closeActiveElements({exclude:this.props.hardToggle}),r.publish(this.props.hardToggle,"toggle")):this.props.notify&&r.publish(this.props.notify,{title:this.props.title,content:this.props.content,position:this.props.position,color:this.props.color,image:this.props.image})},render:function(){if(this.props.popupToggle)return i.createElement(s,i.__spread({},this.props));var t=i.Children.only(this.props.children);return o(t,{onClick:this.clickHandler})}});t.exports=a},function(t){t.exports=React},function(t){var e,e;/*! +var RFA=function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports={Accordion:n(1),ActionSheet:n(2),Iconic:n(3),Interchange:n(4),Modal:n(5),Notification:n(6),OffCanvas:n(7),Panel:n(8),Popup:n(9),Tabs:n(10),Trigger:n(11)}},function(t,e,n){var i=n(12),o=n(25),r=i.createClass({displayName:"Accordion",getInitialState:function(){return{sections:[]}},getDefaultProps:function(){return{autoOpen:!0,multiOpen:!1,collapsible:!1}},componentDidMount:function(){var t=[];i.Children.forEach(this.props.children,function(){t.push({active:!1})}),this.props.autoOpen&&(t[0].active=!0),this.setState({sections:t})},select:function(t){var e=this.state.sections;e.forEach(function(e,n){this.props.multiOpen?n===t&&(e.active=!e.active):e.active=n===t?this.props.collapsible===!0?!e.active:!0:!1}.bind(this)),this.setState({sections:e})},render:function(){var t=i.Children.map(this.props.children,function(t,e){return o(t,{active:this.state.sections[e]?this.state.sections[e].active:!1,activate:this.select.bind(this,e)})}.bind(this));return i.createElement("div",{className:"accordion"},t)}});t.exports=r,r.Item=n(17)},function(t,e,n){var i=n(12),o=n(25),r=i.createClass({displayName:"ActionSheet",getInitialState:function(){return{active:!1}},setActiveState:function(t){this.setState({active:t})},render:function(){var t=i.Children.map(this.props.children,function(t){var e={active:this.state.active};return"ActionSheetButton"===t.type.displayName&&(e.setActiveState=this.setActiveState),o(t,e)}.bind(this));return i.createElement("div",{className:"action-sheet-container"},t)}});t.exports=r,r.Button=n(15),r.Content=n(16)},function(t,e,n){var i=n(12),o=n(26),r=o.canUseDOM&&n(13),s=(n(25),i.createClass({displayName:"Iconic",inject:function(){var t=r();t.inject(this.getDOMNode())},componentDidMount:function(){this.inject()},componentDidUpdate:function(){this.inject()},render:function(){return i.Children.only(this.props.children)}}));t.exports=s},function(t,e,n){var i=n(12),o=n(23),r=i.createClass({displayName:"Interchange",mixins:[o],getInitialState:function(){return{matchedMedia:"large"}},componentDidMount:function(){this.media({minWidth:0,maxWidth:640},function(){this.setState({matchedMedia:"small"})}.bind(this)),this.media({minWidth:641,maxWidth:1200},function(){this.setState({matchedMedia:"medium"})}.bind(this)),this.media({minWidth:1200,maxWidth:1440},function(){this.setState({matchedMedia:"large"})}.bind(this))},render:function(){var t=null;return i.Children.forEach(this.props.children,function(e){e.props.media===this.state.matchedMedia&&(t=e)}.bind(this)),t}});t.exports=r},function(t,e,n){var i=n(12),o=n(27),r=n(18),s=n(14),a=i.createClass({displayName:"Modal",getInitialState:function(){return{open:!1}},getDefaultProps:function(){return{overlay:!1,overlayClose:!1}},componentDidMount:function(){s.subscribe(this.props.id,function(t,e){"open"===e?this.setState({open:!0}):"close"===e?this.setState({open:!1}):"toggle"===e&&this.setState({open:!this.state.open})}.bind(this))},componentWillUnmount:function(){s.unsubscribe(this.props.id)},hideOverlay:function(){this.props.overlayClose&&this.setState({open:!1})},render:function(){var t=this.props.overlay===!0||this.props.overlayClose===!0?!0:!1,e={"modal-overlay":!0},n={modal:!0},s={};return t||(s.background="transparent"),i.createElement(r,{active:this.state.open,animationIn:"fadeIn",animationOut:"fadeOut"},i.createElement("div",{className:o(e),style:s,onClick:this.hideOverlay},i.createElement(r,{active:this.state.open,animationIn:"fadeIn",animationOut:"fadeOut"},i.createElement("div",{id:this.props.id,"data-closable":!0,className:o(n)},this.props.children))))}});t.exports=a},function(t,e,n){t.exports={Set:n(19),Static:n(20)}},function(t,e,n){var i=n(12),o=n(27),r=n(14),s=i.createClass({displayName:"Offcanvas",getInitialState:function(){return{open:!1}},getDefaultProps:function(){return{position:"left"}},componentDidMount:function(){r.subscribe(this.props.id,function(t,e){"open"===e?this.setState({open:!0}):"close"===e?this.setState({open:!1}):"toggle"===e&&this.setState({open:!this.state.open})}.bind(this))},componentWillUnmount:function(){r.unsubscribe(this.props.id)},render:function(){var t={"off-canvas":!0,"is-active":this.state.open};return t[this.props.position]=!0,this.props.className&&(t[this.props.className]=!0),i.createElement("div",{id:this.props.id,"data-closable":!0,className:o(t)},this.props.children)}});t.exports=s},function(t,e,n){var i=n(12),o=(n(27),n(18)),r=n(14),s=i.createClass({displayName:"Panel",getInitialState:function(){return{open:!1}},getDefaultProps:function(){return{position:"left"}},componentDidMount:function(){r.subscribe(this.props.id,function(t,e){"open"===e?this.setState({open:!0}):"close"===e?this.setState({open:!1}):"toggle"===e&&this.setState({open:!this.state.open})}.bind(this))},componentWillUnmount:function(){r.unsubscribe(this.props.id)},render:function(){var t="panel panel-"+this.props.position;return this.props.className&&(t+=" "+this.props.className),"left"===this.props.position?(animationIn=this.props.animationIn||"slideInRight",animationOut=this.props.animationOut||"slideOutLeft"):"right"===this.props.position?(animationIn=this.props.animationIn||"slideInLeft",animationOut=this.props.animationOut||"slideOutRight"):"top"===this.props.position?(animationIn=this.props.animationIn||"slideInDown",animationOut=this.props.animationOut||"slideOutUp"):"bottom"===this.props.position&&(animationIn=this.props.animationIn||"slideInUp",animationOut=this.props.animationOut||"slideOutBottom"),i.createElement(o,{active:this.state.open,animationIn:animationIn,animationOut:animationOut},i.createElement("div",{"data-closable":!0,id:this.props.id,className:t},this.props.children))}});t.exports=s},function(t,e,n){var i=n(12),o=n(27),r=n(26),s=n(14),a=r.canUseDOM&&n(24),l=i.createClass({displayName:"Popup",getInitialState:function(){return{active:!1,tetherInit:!1}},getDefaultProps:function(){return{pinTo:"top center",pinAt:""}},componentDidMount:function(){this.tether={},s.subscribe(this.props.id,function(t,e){"toggle"===e[0]&&this.toggle(e[1])}.bind(this))},toggle:function(t){var e=!this.state.active;this.setState({active:e},function(){e?this.tetherElement(t):this.tether.destroy()}.bind(this))},tetherElement:function(t){var e=document.getElementById(t),n="top center";this.tether=new a({element:this.getDOMNode(),target:e,attachment:n})},render:function(){var t={popup:!0,"is-active":this.state.active};return i.createElement("div",{id:this.props.id,className:o(t),"data-closable":"popup"},this.props.children)}});t.exports=l},function(t,e,n){var i=n(12),o=n(25),r=i.createClass({displayName:"Tabs",getInitialState:function(){return{selectedTab:0,content:null}},selectTab:function(t){this.setState(t)},render:function(){var t=i.Children.map(this.props.children,function(t,e){return o(t,{active:e===this.state.selectedTab,index:e,selectTab:this.selectTab})}.bind(this));return i.createElement("div",null,i.createElement("div",{className:"tabs"},t),i.createElement("div",null,this.state.content))}});t.exports=r,r.Tab=n(21)},function(t,e,n){var i=n(12),o=n(25),r=n(14),s=n(22),a=i.createClass({displayName:"Trigger",getDefaultProps:function(){return{open:null,close:null,toggle:null,hardToggle:null,popupToggle:null,notify:null}},getCloseId:function(){if(this.props.close)return this.props.close;for(var t=!1,e=this.getDOMNode().parentNode;t===!1;)"BODY"==e.nodeName&&(t=""),"undefined"!=typeof e.getAttribute("data-closable")&&e.getAttribute("data-closable")!==!1&&(t=e),e=e.parentNode;return t.getAttribute("id")},clickHandler:function(t){t.preventDefault(),this.props.open?r.publish(this.props.open,"open"):null!==this.props.close?r.publish(this.getCloseId(),"close"):this.props.toggle?r.publish(this.props.toggle,"toggle"):this.props.hardToggle?(r.closeActiveElements({exclude:this.props.hardToggle}),r.publish(this.props.hardToggle,"toggle")):this.props.notify&&r.publish(this.props.notify,{title:this.props.title,content:this.props.content,position:this.props.position,color:this.props.color,image:this.props.image})},render:function(){if(this.props.popupToggle)return i.createElement(s,i.__spread({},this.props));var t=i.Children.only(this.props.children);return o(t,{onClick:this.clickHandler})}});t.exports=a},function(t){t.exports=React},function(t){var e,e;/*! * iconic.js v0.4.0 - The Iconic JavaScript library * Copyright (c) 2014 Waybury - http://useiconic.com */ -!function(e){t.exports=e()}(function(){var t;return function n(t,i,o){function r(a,l){if(!i[a]){if(!t[a]){var c="function"==typeof e&&e;if(!l&&c)return e(a,!0);if(s)return s(a,!0);throw new Error("Cannot find module '"+a+"'")}var u=i[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return r(n?n:e)},u,u.exports,n,t,i,o)}return i[a].exports}for(var s="function"==typeof e&&e,a=0;a>>0;for(n=0;i>n;++n)n in this&&t.call(e,this[n],n,this)}),function(){if(Event.prototype.preventDefault||(Event.prototype.preventDefault=function(){this.returnValue=!1}),Event.prototype.stopPropagation||(Event.prototype.stopPropagation=function(){this.cancelBubble=!0}),!Element.prototype.addEventListener){var t=[],e=function(e,n){var i=this,o=function(t){t.target=t.srcElement,t.currentTarget=i,n.handleEvent?n.handleEvent(t):n.call(i,t)};if("DOMContentLoaded"==e){var r=function(t){"complete"==document.readyState&&o(t)};if(document.attachEvent("onreadystatechange",r),t.push({object:this,type:e,listener:n,wrapper:r}),"complete"==document.readyState){var s=new Event;s.srcElement=window,r(s)}}else this.attachEvent("on"+e,o),t.push({object:this,type:e,listener:n,wrapper:o})},n=function(e,n){for(var i=0;ir?i.width:i.height;var s;s=32>e?"iconic-sm":e>=32&&128>e?"iconic-md":"iconic-lg";var a=t.getAttribute("class"),l=n.test(a)?a.replace(n,s):a+" "+s;t.setAttribute("class",l)}},a=function(){var t=document.querySelectorAll(".injected-svg.iconic-fluid");Array.prototype.forEach.call(t,function(t){s(t)})};document.addEventListener("DOMContentLoaded",function(){r()}),window.addEventListener("resize",function(){a()}),e.exports={refresh:s,refreshAll:a}},{}],8:[function(e,n,i){!function(e,o){"use strict";function r(t){t=t.split(" ");for(var e={},n=t.length,i=[];n--;)e.hasOwnProperty(t[n])||(e[t[n]]=1,i.unshift(t[n]));return i.join(" ")}var s="file:"===e.location.protocol,a=o.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"),l=Array.prototype.forEach||function(t,e){if(void 0===this||null===this||"function"!=typeof t)throw new TypeError;var n,i=this.length>>>0;for(n=0;i>n;++n)n in this&&t.call(e,this[n],n,this)},c={},u=0,h=[],p=[],f={},d=function(t){return t.cloneNode(!0)},g=function(t,e){p[t]=p[t]||[],p[t].push(e)},m=function(t){for(var e=0,n=p[t].length;n>e;e++)!function(e){setTimeout(function(){p[t][e](d(c[t]))},0)}(e)},v=function(t,n){if(void 0!==c[t])c[t]instanceof SVGSVGElement?n(d(c[t])):g(t,n);else{if(!e.XMLHttpRequest)return n("Browser does not support XMLHttpRequest"),!1;c[t]={},g(t,n);var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===i.readyState){if(404===i.status||null===i.responseXML)return n("Unable to load SVG file: "+t),s&&n("Note: SVG injection ajax calls do not work locally without adjusting security setting in your browser. Or consider using a local webserver."),n(),!1;if(!(200===i.status||s&&0===i.status))return n("There was a problem injecting the SVG: "+i.status+" "+i.statusText),!1;if(i.responseXML instanceof Document)c[t]=i.responseXML.documentElement;else if(DOMParser&&DOMParser instanceof Function){var e;try{var o=new DOMParser;e=o.parseFromString(i.responseText,"text/xml")}catch(r){e=void 0}if(!e||e.getElementsByTagName("parsererror").length)return n("Unable to parse SVG file: "+t),!1;c[t]=e.documentElement}m(t)}},i.open("GET",t),i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()}},b=function(t,n,i,o){var s=t.getAttribute("data-src")||t.getAttribute("src");if(!/svg$/i.test(s))return void o("Attempted to inject a file with a non-svg extension: "+s);if(!a){var c=t.getAttribute("data-fallback")||t.getAttribute("data-png");return void(c?(t.setAttribute("src",c),o(null)):i?(t.setAttribute("src",i+"/"+s.split("/").pop().replace(".svg",".png")),o(null)):o("This browser does not support SVG and no PNG fallback was defined."))}-1===h.indexOf(t)&&(h.push(t),t.setAttribute("src",""),v(s,function(i){if("undefined"==typeof i||"string"==typeof i)return o(i),!1;var a=t.getAttribute("id");a&&i.setAttribute("id",a);var c=t.getAttribute("title");c&&i.setAttribute("title",c);var p=[].concat(i.getAttribute("class")||[],"injected-svg",t.getAttribute("class")||[]).join(" ");i.setAttribute("class",r(p));var d=t.getAttribute("style");d&&i.setAttribute("style",d);var g=[].filter.call(t.attributes,function(t){return/^data-\w[\w\-]*$/.test(t.name)});l.call(g,function(t){t.name&&t.value&&i.setAttribute(t.name,t.value)});for(var m,v=i.querySelectorAll("defs clipPath[id]"),b=0,y=v.length;y>b;b++){m=v[b].id+"-"+u;for(var w=i.querySelectorAll('[clip-path*="'+v[b].id+'"]'),E=0,C=w.length;C>E;E++)w[E].setAttribute("clip-path","url(#"+m+")");v[b].id=m}i.removeAttribute("xmlns:a");for(var x,S,O=i.querySelectorAll("script"),A=[],T=0,N=O.length;N>T;T++)S=O[T].getAttribute("type"),S&&"application/ecmascript"!==S&&"application/javascript"!==S||(x=O[T].innerText||O[T].textContent,A.push(x),i.removeChild(O[T]));if(A.length>0&&("always"===n||"once"===n&&!f[s])){for(var M=0,I=A.length;I>M;M++)new Function(A[M])(e);f[s]=!0}t.parentNode.replaceChild(i,t),delete h[h.indexOf(t)],t=null,u++,o(i)}))},y=function(t,e,n){e=e||{};var i=e.evalScripts||"always",o=e.pngFallback||!1,r=e.each;if(void 0!==t.length){var s=0;l.call(t,function(e){b(e,i,o,function(e){r&&"function"==typeof r&&r(e),n&&t.length===++s&&n(s)})})}else t?b(t,i,o,function(e){r&&"function"==typeof r&&r(e),n&&n(1),t=null}):n&&n(0)};"object"==typeof n&&"object"==typeof n.exports?n.exports=i=y:"function"==typeof t&&t.amd?t(function(){return y}):"object"==typeof e&&(e.SVGInjector=y)}(window,document)},{}]},{},[1])(1)})},function(t,e,n){var i=n(36),o=(n(31),{}),r=[],s={subscribe:i.subscribe,publish:i.publish,unsubscribe:i.unsubscribe,closeActiveElements:function(t){var e=this;t=t||{};var n=document.querySelectorAll(".is-active[data-closable]");Array.prototype.forEach.call(n,function(n){t.exclude!==n.id&&e.publish(n.id,"close")})},getSettings:function(){return o},modifySettings:function(t){return o=angular.extend(o,t)},generateUuid:function(){var t="";do{t+="zf-uuid-";for(var e=0;15>e;e++)t+=Math.floor(16*Math.random()).toString(16)}while(!r.indexOf(t));return r.push(t),t}};t.exports=s},function(t,e,n){var i=n(12),o=n(27),r=i.createClass({displayName:"AccordionItem",render:function(){var t={"accordion-item":!0,"is-active":this.props.active};return i.createElement("div",{className:o(t)},i.createElement("div",{className:"accordion-title",onClick:this.props.activate},this.props.title),i.createElement("div",{className:"accordion-content"},this.props.children))}});t.exports=r},function(t,e,n){var i=n(12),o=i.createClass({displayName:"ActionSheetButton",toggle:function(){this.props.setActiveState(!this.props.active)},render:function(){var t=null;return this.props.title.length>0&&(t=i.createElement("a",{className:"button"},this.props.title)),i.createElement("div",{onClick:this.toggle},t,i.createElement("div",null,this.props.children))}});t.exports=o},function(t,e,n){var i=n(12),o=n(27),r=i.createClass({displayName:"ActionSheetContent",getDefaultProps:function(){return{position:"bottom"}},render:function(){var t={"action-sheet":!0,"is-active":this.props.active};return i.createElement("div",{className:o(t)},this.props.children)}});t.exports=r},function(t,e,n){var i=n(12),o=n(14),r=n(28),s=(n(20),i.createClass({displayName:"NotificationSet",getInitialState:function(){return{notifications:[]}},componentDidMount:function(){o.subscribe(this.props.id,function(t,e){"clearall"===e?this.clearAll():this.addNotification(e)}.bind(this))},addNotification:function(t){t.id=o.generateUuid();var e=this.state.notifications.concat(t);this.setState({notifications:e})},removeNotifcation:function(t){return function(e){var n=[];this.state.notifications.forEach(function(e){e.id!==t&&n.push(e)}),this.setState({notifications:n}),e.preventDefault()}.bind(this)},clearAll:function(){this.setState({notifications:[]})},render:function(){var t=this.state.notifications.map(function(t){return i.createElement(r,i.__spread({key:t.id},t,{closeHandler:this.removeNotifcation(t.id),className:"is-active"}),t.content)}.bind(this));return i.createElement("div",null,t)}}));t.exports=s},function(t,e,n){var i=n(12),o=(n(27),n(14)),r=n(20),s=n(28),a=i.createClass({displayName:"NotificationStatic",getInitialState:function(){return{open:!1}},componentDidMount:function(){o.subscribe(this.props.id,function(t,e){"open"===e?this.setState({open:!0}):"close"===e&&this.setState({open:!1})}.bind(this))},componentWillUnmount:function(){o.unsubscribe(this.props.id)},closeHandler:function(t){this.setState({open:!1}),t.preventDefault(),t.stopPropagation()},render:function(){return i.createElement(r,{active:this.state.open,animationIn:"fadeIn",animationOut:"fadeOut"},i.createElement(s,i.__spread({},this.props,{closeHandler:this.closeHandler}),this.props.children))}});t.exports=a},function(t,e,n){var i=n(12),o=n(29),r=n(30),s=n(25),a=(n(27),i.createClass({displayName:"Animation",getInitialState:function(){return{}},getDefaultProps:function(){return{active:!1,animationIn:"",animationOut:""}},reflow:function(t){return t.offsetWidth},reset:function(t){t.style.transitionDuration=0,r.removeClass(t,"ng-enter"),r.removeClass(t,"ng-leave"),r.removeClass(t,"ng-enter-active"),r.removeClass(t,"ng-leave-active"),r.removeClass(t,this.props.animationIn),r.removeClass(t,this.props.animationOut)},finishAnimation:function(){var t=this.getDOMNode();this.reset(t),r.removeClass(t,this.props.active?"":"is-active"),this.reflow(t),o.removeEndEventListener(t,this.finishAnimation)},animate:function(t,e){var n=this.getDOMNode(),i="ng-"+e,s=i+"-active";this.reset(n),r.addClass(n,t),r.addClass(n,i),r.addClass(n,"is-active"),this.reflow(n),n.style.transitionDuration="",r.addClass(n,s),o.addEndEventListener(n,this.finishAnimation)},componentDidUpdate:function(t){if(t.active!==this.props.active){var e=this.props.active?this.props.animationIn:this.props.animationOut,n=this.props.active?"enter":"leave";this.animate(e,n)}},render:function(){var t=i.Children.only(this.props.children),e={};return s(t,e)}}));t.exports=a},function(t,e,n){var i=n(12),o=n(27),r=i.createClass({displayName:"Tab",componentDidMount:function(){this.props.active&&this.select()},select:function(){var t={selectedTab:this.props.index,content:this.props.children};this.props.selectTab(t)},render:function(){var t={"tab-item":!0,"is-active":this.props.active};return i.createElement("div",{className:o(t),onClick:this.select},this.props.title)}});t.exports=r},function(t,e,n){var i=n(12),o=n(14),r=n(25),s=i.createClass({displayName:"PopupToggle",clickHandler:function(t,e){e.preventDefault(),o.publish(this.props.popupToggle,["toggle",t])},render:function(){var t=i.Children.only(this.props.children),e=this.props.id||o.generateUuid();return r(t,{id:e,onClick:this.clickHandler.bind(this,e)})}});t.exports=s},function(t,e,n){var i=n(38),o=i&&n(40),r=n(37),s={media:function(t,e){t=r(t),"function"==typeof e&&(e={match:e}),o.register(t,e),this._responsiveMediaHandlers||(this._responsiveMediaHandlers=[]),this._responsiveMediaHandlers.push({query:t,handler:e})},componentWillUnmount:function(){this._responsiveMediaHandlers.forEach(function(t){o.unregister(t.query,t.handler)})}};t.exports=s},function(t,e,n){var i,o;/*! tether 0.6.5 */ -!function(r,s){i=s,o="function"==typeof i?i.call(e,n,e,t):i,!(void 0!==o&&(t.exports=o))}(this,function(){return function(){var t,e,n,i,o,r,s,a,l,c,u,h,p,f,d,g,m,v,b,y={}.hasOwnProperty,w=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},E=[].slice;null==this.Tether&&(this.Tether={modules:[]}),h=function(t){var e,n,i,o,r;if(n=getComputedStyle(t).position,"fixed"===n)return t;for(i=void 0,e=t;e=e.parentNode;){try{o=getComputedStyle(e)}catch(s){}if(null==o)return e;if(/(auto|scroll)/.test(o.overflow+o.overflowY+o.overflowX)&&("absolute"!==n||"relative"===(r=o.position)||"absolute"===r||"fixed"===r))return e}return document.body},m=function(){var t;return t=0,function(){return t++}}(),b={},c=function(t){var e,i,r,s,a;if(r=t._tetherZeroElement,null==r&&(r=t.createElement("div"),r.setAttribute("data-tether-id",m()),o(r.style,{top:0,left:0,position:"absolute"}),t.body.appendChild(r),t._tetherZeroElement=r),e=r.getAttribute("data-tether-id"),null==b[e]){b[e]={},a=r.getBoundingClientRect();for(i in a)s=a[i],b[e][i]=s;n(function(){return b[e]=void 0})}return b[e]},f=null,s=function(t){var e,n,i,o,r,s,a;t===document?(n=document,t=document.documentElement):n=t.ownerDocument,i=n.documentElement,e={},a=t.getBoundingClientRect();for(o in a)s=a[o],e[o]=s;return r=c(n),e.top-=r.top,e.left-=r.left,null==e.width&&(e.width=document.body.scrollWidth-e.left-e.right),null==e.height&&(e.height=document.body.scrollHeight-e.top-e.bottom),e.top=e.top-i.clientTop,e.left=e.left-i.clientLeft,e.right=n.body.clientWidth-e.width-e.left,e.bottom=n.body.clientHeight-e.height-e.top,e},l=function(t){return t.offsetParent||document.documentElement},u=function(){var t,e,n,i,r;return t=document.createElement("div"),t.style.width="100%",t.style.height="200px",e=document.createElement("div"),o(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e),i=t.offsetWidth,e.style.overflow="scroll",r=t.offsetWidth,i===r&&(r=e.clientWidth),document.body.removeChild(e),n=i-r,{width:n,height:n}},o=function(t){var e,n,i,o,r,s,a;for(null==t&&(t={}),e=[],Array.prototype.push.apply(e,arguments),a=e.slice(1),r=0,s=a.length;s>r;r++)if(i=a[r])for(n in i)y.call(i,n)&&(o=i[n],t[n]=o);return t},d=function(t,e){var n,i,o,r,s,l;if(null!=t.classList){for(s=e.split(" "),l=[],o=0,r=s.length;r>o;o++)i=s[o],i.trim()&&l.push(t.classList.remove(i));return l}return n=a(t).replace(new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi")," "),g(t,n)},e=function(t,e){var n,i,o,r,s;if(null!=t.classList){for(r=e.split(" "),s=[],i=0,o=r.length;o>i;i++)n=r[i],n.trim()&&s.push(t.classList.add(n));return s}return d(t,e),n=a(t)+(" "+e),g(t,n)},p=function(t,e){return null!=t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(a(t))},a=function(t){return t.className instanceof SVGAnimatedString?t.className.baseVal:t.className},g=function(t,e){return t.setAttribute("class",e)},v=function(t,n,i){var o,r,s,a,l,c;for(r=0,a=i.length;a>r;r++)o=i[r],w.call(n,o)<0&&p(t,o)&&d(t,o);for(c=[],s=0,l=n.length;l>s;s++)o=n[s],c.push(p(t,o)?void 0:e(t,o));return c},i=[],n=function(t){return i.push(t)},r=function(){var t,e;for(e=[];t=i.pop();)e.push(t());return e},t=function(){function t(){}return t.prototype.on=function(t,e,n,i){var o;return null==i&&(i=!1),null==this.bindings&&(this.bindings={}),null==(o=this.bindings)[t]&&(o[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:i})},t.prototype.once=function(t,e,n){return this.on(t,e,n,!0)},t.prototype.off=function(t,e){var n,i,o;if(null!=(null!=(i=this.bindings)?i[t]:void 0)){if(null==e)return delete this.bindings[t];for(n=0,o=[];n=e&&e>=t-n},S=function(){var t,e,n,i,o;for(t=document.createElement("div"),o=["transform","webkitTransform","OTransform","MozTransform","msTransform"],n=0,i=o.length;i>n;n++)if(e=o[n],void 0!==t.style[e])return e}(),x=[],E=function(){var t,e,n;for(e=0,n=x.length;n>e;e++)t=x[e],t.position(!1);return u()},v=function(){var t;return null!=(t="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?t:+new Date},function(){var t,e,n,i,o,r,s,a,l;for(e=null,n=null,i=null,o=function(){if(null!=n&&n>16)return n=Math.min(n-16,250),void(i=setTimeout(o,250));if(!(null!=e&&v()-e<10))return null!=i&&(clearTimeout(i),i=null),e=v(),E(),n=v()-e},a=["resize","scroll","touchmove"],l=[],r=0,s=a.length;s>r;r++)t=a[r],l.push(window.addEventListener(t,o));return l}(),t={center:"center",left:"right",right:"left"},e={middle:"middle",top:"bottom",bottom:"top"},n={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},a=function(n,i){var o,r;return o=n.left,r=n.top,"auto"===o&&(o=t[i.left]),"auto"===r&&(r=e[i.top]),{left:o,top:r}},s=function(t){var e,i;return{left:null!=(e=n[t.left])?e:t.left,top:null!=(i=n[t.top])?i:t.top}},r=function(){var t,e,n,i,o,r,s;for(e=1<=arguments.length?M.call(arguments,0):[],n={top:0,left:0},o=0,r=e.length;r>o;o++)s=e[o],i=s.top,t=s.left,"string"==typeof i&&(i=parseFloat(i,10)),"string"==typeof t&&(t=parseFloat(t,10)),n.top+=i,n.left+=t;return n},b=function(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t},y=w=function(t){var e,n,i;return i=t.split(" "),n=i[0],e=i[1],{top:n,left:e}},T=function(){function t(t){this.position=I(this.position,this);var e,n,o,r,s;for(x.push(this),this.history=[],this.setOptions(t,!1),r=i.modules,n=0,o=r.length;o>n;n++)e=r[n],null!=(s=e.initialize)&&s.call(this);this.position()}return t.modules=[],t.prototype.getClass=function(t){var e,n;return(null!=(e=this.options.classes)?e[t]:void 0)?this.options.classes[t]:(null!=(n=this.options.classes)?n[t]:void 0)!==!1?this.options.classPrefix?""+this.options.classPrefix+"-"+t:t:""},t.prototype.setOptions=function(t,e){var n,i,r,s,a,l;for(this.options=t,null==e&&(e=!0),n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"},this.options=c(n,this.options),a=this.options,this.element=a.element,this.target=a.target,this.targetModifier=a.targetModifier,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),l=["element","target"],r=0,s=l.length;s>r;r++){if(i=l[r],null==this[i])throw new Error("Tether Error: Both element and target must be defined");null!=this[i].jquery?this[i]=this[i][0]:"string"==typeof this[i]&&(this[i]=document.querySelector(this[i]))}if(o(this.element,this.getClass("element")),o(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");return this.targetAttachment=y(this.options.targetAttachment),this.attachment=y(this.options.attachment),this.offset=w(this.options.offset),this.targetOffset=w(this.options.targetOffset),null!=this.scrollParent&&this.disable(),this.scrollParent="scroll-handle"===this.targetModifier?this.target:g(this.target),this.options.enabled!==!1?this.enable(e):void 0},t.prototype.getTargetBounds=function(){var t,e,n,i,o,r,s,a,l;if(null==this.targetModifier)return h(this.target);switch(this.targetModifier){case"visible":return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:(t=h(this.target),o={height:t.height,width:t.width,top:t.top,left:t.left},o.height=Math.min(o.height,t.height-(pageYOffset-t.top)),o.height=Math.min(o.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,t.width-(pageXOffset-t.left)),o.width=Math.min(o.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.topl.clientWidth||"scroll"===[a.overflow,a.overflowX]||this.target!==document.body,r=0,n&&(r=15),i=t.height-parseFloat(a.borderTopWidth)-parseFloat(a.borderBottomWidth)-r,o={width:15,height:.975*i*(i/l.scrollHeight),left:t.left+t.width-parseFloat(a.borderLeftWidth)-15},e=0,408>i&&this.target===document.body&&(e=-11e-5*Math.pow(i,2)-.00727*i+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24)),s=this.target.scrollTop/(l.scrollHeight-i),o.top=s*(i-o.height-e)+t.top+parseFloat(a.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}},t.prototype.clearCache=function(){return this._cache={}},t.prototype.cache=function(t,e){return null==this._cache&&(this._cache={}),null==this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]},t.prototype.enable=function(t){return null==t&&(t=!0),o(this.target,this.getClass("enabled")),o(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParent!==document&&this.scrollParent.addEventListener("scroll",this.position),t?this.position():void 0},t.prototype.disable=function(){return C(this.target,this.getClass("enabled")),C(this.element,this.getClass("enabled")),this.enabled=!1,null!=this.scrollParent?this.scrollParent.removeEventListener("scroll",this.position):void 0},t.prototype.destroy=function(){var t,e,n,i,o;for(this.disable(),o=[],t=n=0,i=x.length;i>n;t=++n){if(e=x[t],e===this){x.splice(t,1);break}o.push(void 0)}return o},t.prototype.updateAttachClasses=function(t,e){var n,i,o,r,s,a,c,u,h,p=this;for(null==t&&(t=this.attachment),null==e&&(e=this.targetAttachment),r=["left","top","bottom","right","middle","center"],(null!=(h=this._addAttachClasses)?h.length:void 0)&&this._addAttachClasses.splice(0,this._addAttachClasses.length),n=null!=this._addAttachClasses?this._addAttachClasses:this._addAttachClasses=[],t.top&&n.push(""+this.getClass("element-attached")+"-"+t.top),t.left&&n.push(""+this.getClass("element-attached")+"-"+t.left),e.top&&n.push(""+this.getClass("target-attached")+"-"+e.top),e.left&&n.push(""+this.getClass("target-attached")+"-"+e.left),i=[],s=0,c=r.length;c>s;s++)o=r[s],i.push(""+this.getClass("element-attached")+"-"+o);for(a=0,u=r.length;u>a;a++)o=r[a],i.push(""+this.getClass("target-attached")+"-"+o);return l(function(){return null!=p._addAttachClasses?(O(p.element,p._addAttachClasses,i),O(p.target,p._addAttachClasses,i),p._addAttachClasses=void 0):void 0})},t.prototype.position=function(t){var e,n,o,l,c,f,g,m,v,y,w,E,C,x,S,O,A,T,N,M,I,P,j,D,k,L,W,_,z,B,H,q,U,F,R,V=this;if(null==t&&(t=!0),this.enabled){for(this.clearCache(),M=a(this.targetAttachment,this.attachment),this.updateAttachClasses(this.attachment,M),e=this.cache("element-bounds",function(){return h(V.element)}),k=e.width,o=e.height,0===k&&0===o&&null!=this.lastSize?(B=this.lastSize,k=B.width,o=B.height):this.lastSize={width:k,height:o},j=P=this.cache("target-bounds",function(){return V.getTargetBounds()}),v=b(s(this.attachment),{width:k,height:o}),I=b(s(M),j),c=b(this.offset,{width:k,height:o}),f=b(this.targetOffset,j),v=r(v,c),I=r(I,f),l=P.left+I.left-v.left,D=P.top+I.top-v.top,H=i.modules,L=0,_=H.length;_>L;L++)if(g=H[L],S=g.position.call(this,{left:l,top:D,targetAttachment:M,targetPos:P,attachment:this.attachment,elementPos:e,offset:v,targetOffset:I,manualOffset:c,manualTargetOffset:f,scrollbarSize:T}),null!=S&&"object"==typeof S){if(S===!1)return!1;D=S.top,l=S.left}if(m={page:{top:D,left:l},viewport:{top:D-pageYOffset,bottom:pageYOffset-D-o+innerHeight,left:l-pageXOffset,right:pageXOffset-l-k+innerWidth}},document.body.scrollWidth>window.innerWidth&&(T=this.cache("scrollbar-size",d),m.viewport.bottom-=T.height),document.body.scrollHeight>window.innerHeight&&(T=this.cache("scrollbar-size",d),m.viewport.right-=T.width),(""!==(q=document.body.style.position)&&"static"!==q||""!==(U=document.body.parentElement.style.position)&&"static"!==U)&&(m.page.bottom=document.body.scrollHeight-D-o,m.page.right=document.body.scrollWidth-l-k),(null!=(F=this.options.optimizations)?F.moveElement:void 0)!==!1&&null==this.targetModifier){for(w=this.cache("target-offsetparent",function(){return p(V.target)}),x=this.cache("target-offsetparent-bounds",function(){return h(w)}),C=getComputedStyle(w),n=getComputedStyle(this.element),E=x,y={},R=["Top","Left","Bottom","Right"],W=0,z=R.length;z>W;W++)N=R[W],y[N.toLowerCase()]=parseFloat(C["border"+N+"Width"]);x.right=document.body.scrollWidth-x.left-E.width+y.right,x.bottom=document.body.scrollHeight-x.top-E.height+y.bottom,m.page.top>=x.top+y.top&&m.page.bottom>=x.bottom&&m.page.left>=x.left+y.left&&m.page.right>=x.right&&(A=w.scrollTop,O=w.scrollLeft,m.offset={top:m.page.top-x.top+A-y.top,left:m.page.left-x.left+O-y.left})}return this.move(m),this.history.unshift(m),this.history.length>3&&this.history.pop(),t&&u(),!0}},t.prototype.move=function(t){var e,n,i,o,r,s,a,u,h,f,d,g,m,v,b,y,w,E=this;if(null!=this.element.parentNode){u={};for(f in t){u[f]={};for(o in t[f]){for(i=!1,y=this.history,v=0,b=y.length;b>v;v++)if(a=y[v],!A(null!=(w=a[f])?w[o]:void 0,t[f][o])){i=!0;break}i||(u[f][o]=!0)}}e={top:"",left:"",right:"",bottom:""},h=function(t,n){var i,o,r;return(null!=(r=E.options.optimizations)?r.gpu:void 0)===!1?(t.top?e.top=""+n.top+"px":e.bottom=""+n.bottom+"px",t.left?e.left=""+n.left+"px":e.right=""+n.right+"px"):(t.top?(e.top=0,o=n.top):(e.bottom=0,o=-n.bottom),t.left?(e.left=0,i=n.left):(e.right=0,i=-n.right),e[S]="translateX("+Math.round(i)+"px) translateY("+Math.round(o)+"px)","msTransform"!==S?e[S]+=" translateZ(0)":void 0)},r=!1,(u.page.top||u.page.bottom)&&(u.page.left||u.page.right)?(e.position="absolute",h(u.page,t.page)):(u.viewport.top||u.viewport.bottom)&&(u.viewport.left||u.viewport.right)?(e.position="fixed",h(u.viewport,t.viewport)):null!=u.offset&&u.offset.top&&u.offset.left?(e.position="absolute",s=this.cache("target-offsetparent",function(){return p(E.target)}),p(this.element)!==s&&l(function(){return E.element.parentNode.removeChild(E.element),s.appendChild(E.element)}),h(u.offset,t.offset),r=!0):(e.position="absolute",h({top:!0,left:!0},t.page)),r||"BODY"===this.element.parentNode.tagName||(this.element.parentNode.removeChild(this.element),document.body.appendChild(this.element)),m={},g=!1;for(o in e)d=e[o],n=this.element.style[o],""===n||""===d||"top"!==o&&"left"!==o&&"bottom"!==o&&"right"!==o||(n=parseFloat(n),d=parseFloat(d)),n!==d&&(g=!0,m[o]=e[o]);return g?l(function(){return c(E.element.style,m)}):void 0}},t}(),i.position=E,this.Tether=c(T,i)}.call(this),function(){var t,e,n,i,o,r,s,a,l,c,u=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};c=this.Tether.Utils,s=c.getOuterSize,r=c.getBounds,a=c.getSize,i=c.extend,l=c.updateClasses,n=c.defer,e={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle"},t=["left","top","right","bottom"],o=function(e,n){var i,o,s,a,l,c,u;if("scrollParent"===n?n=e.scrollParent:"window"===n&&(n=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),n===document&&(n=n.documentElement),null!=n.nodeType)for(o=a=r(n),l=getComputedStyle(n),n=[o.left,o.top,a.width+o.left,a.height+o.top],i=c=0,u=t.length;u>c;i=++c)s=t[i],s=s[0].toUpperCase()+s.substr(1),"Top"===s||"Left"===s?n[i]+=parseFloat(l["border"+s+"Width"]):n[i]-=parseFloat(l["border"+s+"Width"]);return n},this.Tether.modules.push({position:function(e){var s,a,c,h,p,f,d,g,m,v,b,y,w,E,C,x,S,O,A,T,N,M,I,P,j,D,k,L,W,_,z,B,H,q,U,F,R,V,X,G,Y,$,Z,J,K,Q,te,ee=this;if(D=e.top,b=e.left,N=e.targetAttachment,!this.options.constraints)return!0;for(O=function(e){var n,i,o,r;for(ee.removeClass(e),r=[],i=0,o=t.length;o>i;i++)n=t[i],r.push(ee.removeClass(""+e+"-"+n));return r},G=this.cache("element-bounds",function(){return r(ee.element)}),v=G.height,k=G.width,0===k&&0===v&&null!=this.lastSize&&(Y=this.lastSize,k=Y.width,v=Y.height),I=this.cache("target-bounds",function(){return ee.getTargetBounds()}),M=I.height,P=I.width,T={},m={},a=[this.getClass("pinned"),this.getClass("out-of-bounds")],$=this.options.constraints,L=0,B=$.length;B>L;L++)g=$[L],g.outOfBoundsClass&&a.push(g.outOfBoundsClass),g.pinnedClass&&a.push(g.pinnedClass);for(W=0,H=a.length;H>W;W++)for(d=a[W],Z=["left","top","right","bottom"],_=0,q=Z.length;q>_;_++)A=Z[_],a.push(""+d+"-"+A);for(s=[],T=i({},N),m=i({},this.attachment),J=this.options.constraints,z=0,U=J.length;U>z;z++){if(g=J[z],j=g.to,c=g.attachment,C=g.pin,null==c&&(c=""),u.call(c," ")>=0?(K=c.split(" "),f=K[0],p=K[1]):p=f=c,h=o(this,j),("target"===f||"both"===f)&&(Dh[3]&&"bottom"===T.top&&(D-=M,T.top="top")),"together"===f&&(Dh[3]&&"bottom"===T.top&&("top"===m.top?(D-=M,T.top="top",D-=v,m.top="bottom"):"bottom"===m.top&&(D-=M,T.top="top",D+=v,m.top="top")),"middle"===T.top&&(D+v>h[3]&&"top"===m.top?(D-=v,m.top="bottom"):Dh[2]&&"right"===T.left&&(b-=P,T.left="left")),"together"===p&&(bh[2]&&"right"===T.left?"left"===m.left?(b-=P,T.left="left",b-=k,m.left="right"):"right"===m.left&&(b-=P,T.left="left",b+=k,m.left="left"):"center"===T.left&&(b+k>h[2]&&"left"===m.left?(b-=k,m.left="right"):bh[3]&&"top"===m.top&&(D-=v,m.top="bottom")),("element"===p||"both"===p)&&(bh[2]&&"left"===m.left&&(b-=k,m.left="right")),"string"==typeof C?C=function(){var t,e,n,i;for(n=C.split(","),i=[],e=0,t=n.length;t>e;e++)E=n[e],i.push(E.trim());return i}():C===!0&&(C=["top","left","right","bottom"]),C||(C=[]),x=[],y=[],D=0?(D=h[1],x.push("top")):y.push("top")),D+v>h[3]&&(u.call(C,"bottom")>=0?(D=h[3]-v,x.push("bottom")):y.push("bottom")),b=0?(b=h[0],x.push("left")):y.push("left")),b+k>h[2]&&(u.call(C,"right")>=0?(b=h[2]-k,x.push("right")):y.push("right")),x.length)for(S=null!=(Q=this.options.pinnedClass)?Q:this.getClass("pinned"),s.push(S),V=0,F=x.length;F>V;V++)A=x[V],s.push(""+S+"-"+A);if(y.length)for(w=null!=(te=this.options.outOfBoundsClass)?te:this.getClass("out-of-bounds"),s.push(w),X=0,R=y.length;R>X;X++)A=y[X],s.push(""+w+"-"+A);(u.call(x,"left")>=0||u.call(x,"right")>=0)&&(m.left=T.left=!1),(u.call(x,"top")>=0||u.call(x,"bottom")>=0)&&(m.top=T.top=!1),(T.top!==N.top||T.left!==N.left||m.top!==this.attachment.top||m.left!==this.attachment.left)&&this.updateAttachClasses(m,T)}return n(function(){return l(ee.target,s,a),l(ee.element,s,a)}),{top:D,left:b}}})}.call(this),function(){var t,e,n,i;i=this.Tether.Utils,e=i.getBounds,n=i.updateClasses,t=i.defer,this.Tether.modules.push({position:function(i){var o,r,s,a,l,c,u,h,p,f,d,g,m,v,b,y,w,E,C,x,S,O,A,T,N,M=this;if(d=i.top,c=i.left,S=this.cache("element-bounds",function(){return e(M.element)}),l=S.height,g=S.width,f=this.getTargetBounds(),a=d+l,u=c+g,o=[],d<=f.bottom&&a>=f.top)for(O=["left","right"],m=0,w=O.length;w>m;m++)h=O[m],((A=f[h])===c||A===u)&&o.push(h);if(c<=f.right&&u>=f.left)for(T=["top","bottom"],v=0,E=T.length;E>v;v++)h=T[v],((N=f[h])===d||N===a)&&o.push(h);for(s=[],r=[],p=["left","top","right","bottom"],s.push(this.getClass("abutted")),b=0,C=p.length;C>b;b++)h=p[b],s.push(""+this.getClass("abutted")+"-"+h);for(o.length&&r.push(this.getClass("abutted")),y=0,x=o.length;x>y;y++)h=o[y],r.push(""+this.getClass("abutted")+"-"+h);return t(function(){return n(M.target,r,s),n(M.element,r,s)}),!0}})}.call(this),function(){this.Tether.modules.push({position:function(t){var e,n,i,o,r,s,a;return s=t.top,e=t.left,this.options.shift?(n=function(t){return"function"==typeof t?t.call(this,{top:s,left:e}):t},i=n(this.options.shift),"string"==typeof i?(i=i.split(" "),i[1]||(i[1]=i[0]),r=i[0],o=i[1],r=parseFloat(r,10),o=parseFloat(o,10)):(a=[i.top,i.left],r=a[0],o=a[1]),s+=r,e+=o,{top:s,left:e}):void 0}})}.call(this),this.Tether})},function(t,e,n){"use strict";function i(t,e){a(!t.ref,"You are calling cloneWithProps() on a child with a ref. This is dangerous because you're creating a new child which will not be added as a ref to its parent.");var n=r.mergeProps(e,t.props);return!n.hasOwnProperty(l)&&t.props.hasOwnProperty(l)&&(n.children=t.props.children),o.createElement(t.type,n)}var o=n(32),r=n(33),s=n(34),a=n(35),l=s({children:null});t.exports=i},function(t){"use strict";var e=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:e,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:e&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:e&&!!window.screen,isInWorker:!e};t.exports=n},function(t){function e(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).join(" "):Array.prototype.join.call(arguments," ")}t.exports=e},function(t,e,n){var i=n(12),o=i.createClass({displayName:"Notification",getDefaultProps:function(){return{position:"top-right",color:"success",title:null,image:null,content:null}},render:function(){var t="notification "+this.props.position+" "+this.props.color;t+=" "+(this.props.className||"");var e=null;return this.props.image&&(e=i.createElement("div",{className:"notification-icon"},i.createElement("img",{src:"{{ image }}"}))),i.createElement("div",{id:this.props.id,"data-closable":!0,className:t},i.createElement("a",{href:"#",className:"close-button",onClick:this.props.closeHandler},"×"),e,i.createElement("div",{className:"notification-content"},i.createElement("h1",null,this.props.title),i.createElement("p",null,this.props.children)))}});t.exports=o},function(t,e,n){"use strict";function i(){var t=document.createElement("div"),e=t.style;"AnimationEvent"in window||delete a.animationend.animation,"TransitionEvent"in window||delete a.transitionend.transition;for(var n in a){var i=a[n];for(var o in i)if(o in e){l.push(i[o]);break}}}function o(t,e,n){t.addEventListener(e,n,!1)}function r(t,e,n){t.removeEventListener(e,n,!1)}var s=n(26),a={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},l=[];s.canUseDOM&&i();var c={addEndEventListener:function(t,e){return 0===l.length?void window.setTimeout(e,0):void l.forEach(function(n){o(t,n,e)})},removeEndEventListener:function(t,e){0!==l.length&&l.forEach(function(n){r(t,n,e)})}};t.exports=c},function(t,e,n){var i=n(39),o={addClass:function(t,e){return i(!/\s/.test(e),'CSSCore.addClass takes only a single class name. "%s" contains multiple classes.',e),e&&(t.classList?t.classList.add(e):o.hasClass(t,e)||(t.className=t.className+" "+e)),t},removeClass:function(t,e){return i(!/\s/.test(e),'CSSCore.removeClass takes only a single class name. "%s" contains multiple classes.',e),e&&(t.classList?t.classList.remove(e):o.hasClass(t,e)&&(t.className=t.className.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),t},conditionClass:function(t,e,n){return(n?o.addClass:o.removeClass)(t,e)},hasClass:function(t,e){return i(!/\s/.test(e),"CSS.hasClass takes only a single class name."),t.classList?!!e&&t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1}};t.exports=o},function(t){"use strict";function e(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=Object.assign||function(t){for(var n,i,o=e(t),r=1;r1){for(var f=Array(p),d=0;p>d;d++)f[d]=arguments[d+2];o.children=f}if(t&&t.defaultProps){var g=t.defaultProps;for(i in g)"undefined"==typeof o[i]&&(o[i]=g[i])}return new u(t,c,h,s.current,r.current,o)},u.createFactory=function(t){var e=u.createElement.bind(null,t);return e.type=t,e},u.cloneAndReplaceProps=function(t,e){var n=new u(t.type,t.key,t.ref,t._owner,t._context,e);return n._store.validated=t._store.validated,n},u.isValidElement=function(t){var e=!(!t||!t._isReactElement);return e},t.exports=u},function(t,e,n){"use strict";function i(t){return function(e,n,i){e[n]=e.hasOwnProperty(n)?t(e[n],i):i}}function o(t,e){for(var n in e)if(e.hasOwnProperty(n)){var i=p[n];i&&p.hasOwnProperty(n)?i(t,n,e[n]):t.hasOwnProperty(n)||(t[n]=e[n])}return t}var r=n(43),s=n(44),a=n(39),l=n(45),c=n(35),u=!1,h=i(function(t,e){return r({},e,t)}),p={children:s,className:i(l),style:h},f={TransferStrategies:p,mergeProps:function(t,e){return o(r({},t),e)},Mixin:{transferPropsTo:function(t){return a(t._owner===this,"%s: You can't call transferPropsTo() on a component that you don't own, %s. This usually means you are calling transferPropsTo() on a component passed in as props or children.",this.constructor.displayName,"string"==typeof t.type?t.type:t.type.displayName),u||(u=!0,c(!1,"transferPropsTo is deprecated. See http://fb.me/react-transferpropsto for more information.")),o(t.props,this.props),t}}};t.exports=f},function(t){var e=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;return null};t.exports=e},function(t,e,n){"use strict";var i=n(44),o=i;o=function(t,e){for(var n=[],i=2,o=arguments.length;o>i;i++)n.push(arguments[i]);if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!t){var r=0;console.warn("Warning: "+e.replace(/%s/g,function(){return n[r++]}))}},t.exports=o},function(t,e){var n,i,o;!function(r,s){"use strict";i=[e],n=s,o="function"==typeof n?n.apply(e,i):n,!(void 0!==o&&(t.exports=o))}("object"==typeof window&&window||this,function(t){"use strict";function e(t){var e;for(e in t)if(t.hasOwnProperty(e))return!0;return!1}function n(t){return function(){throw t}}function i(t,e,i){try{t(e,i)}catch(o){setTimeout(n(o),0)}}function o(t,e,n){t(e,n)}function r(t,e,n,r){var s,a=c[e],l=r?o:i;if(c.hasOwnProperty(e))for(s in a)a.hasOwnProperty(s)&&l(a[s],t,n)}function s(t,e,n){return function(){var i=String(t),o=i.lastIndexOf(".");for(r(t,t,e,n);-1!==o;)i=i.substr(0,o),o=i.lastIndexOf("."),r(t,i,e)}}function a(t){for(var n=String(t),i=Boolean(c.hasOwnProperty(n)&&e(c[n])),o=n.lastIndexOf(".");!i&&-1!==o;)n=n.substr(0,o),o=n.lastIndexOf("."),i=Boolean(c.hasOwnProperty(n)&&e(c[n]));return i}function l(t,e,n,i){var o=s(t,e,i),r=a(t);return r?(n===!0?o():setTimeout(o,0),!0):!1}var c={},u=-1;t.publish=function(e,n){return l(e,n,!1,t.immediateExceptions)},t.publishSync=function(e,n){return l(e,n,!0,t.immediateExceptions)},t.subscribe=function(t,e){if("function"!=typeof e)return!1;c.hasOwnProperty(t)||(c[t]={});var n="uid_"+String(++u);return c[t][n]=e,n},t.clearAllSubscriptions=function(){c={}},t.unsubscribe=function(t){var e,n,i,o="string"==typeof t&&c.hasOwnProperty(t),r=!o&&"string"==typeof t,s="function"==typeof t,a=!1;if(o)return void delete c[t];for(e in c)if(c.hasOwnProperty(e)){if(n=c[e],r&&n[t]){delete n[t],a=t;break}if(s)for(i in n)n.hasOwnProperty(i)&&n[i]===t&&(delete n[i],a=!0)}return a}})},function(t,e,n){var i=n(46),o=function(t){var e=/[height|width]$/;return e.test(t)},r=function(t){var e="",n=Object.keys(t);return n.forEach(function(r,s){var a=t[r];r=i(r),o(r)&&"number"==typeof a&&(a+="px"),e+=a===!0?r:a===!1?"not "+r:"("+r+": "+a+")",si&&(n=e(t[i],i),n!==!1);i++);}function n(t){return"[object Array]"===Object.prototype.toString.apply(t)}function i(t){return"function"==typeof t}function o(t){this.options=t,!t.deferSetup&&this.setup()}function r(e,n){this.query=e,this.isUnconditional=n,this.handlers=[],this.mql=t(e);var i=this;this.listener=function(t){i.mql=t,i.assess()},this.mql.addListener(this.listener)}function s(){if(!t)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!t("only all").matches}return o.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t -}},r.prototype={addHandler:function(t){var e=new o(t);this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(t){var n=this.handlers;e(n,function(e,i){return e.equals(t)?(e.destroy(),!n.splice(i,1)):void 0})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){e(this.handlers,function(t){t.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var t=this.matches()?"on":"off";e(this.handlers,function(e){e[t]()})}},s.prototype={register:function(t,o,s){var a=this.queries,l=s&&this.browserIsIncapable;return a[t]||(a[t]=new r(t,l)),i(o)&&(o={match:o}),n(o)||(o=[o]),e(o,function(e){a[t].addHandler(e)}),this},unregister:function(t,e){var n=this.queries[t];return n&&(e?n.removeHandler(e):(n.clear(),delete this.queries[t])),this}},new s})},function(t,e,n){"use strict";var i=n(43),o={current:{},withContext:function(t,e){var n,r=o.current;o.current=i({},r,t);try{n=e()}finally{o.current=r}return n}};t.exports=o},function(t){"use strict";var e={current:null};t.exports=e},function(t){function e(t){if(null==t)throw new TypeError("Object.assign target cannot be null or undefined");for(var e=Object(t),n=Object.prototype.hasOwnProperty,i=1;i1)for(var i=1;n>i;i++)e=arguments[i],e&&(t=(t?t+" ":"")+e);return t}t.exports=e},function(t){var e=function(t){return t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()};t.exports=e}]); \ No newline at end of file +!function(e){t.exports=e()}(function(){var t;return function n(t,i,o){function r(a,l){if(!i[a]){if(!t[a]){var c="function"==typeof e&&e;if(!l&&c)return e(a,!0);if(s)return s(a,!0);throw new Error("Cannot find module '"+a+"'")}var u=i[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return r(n?n:e)},u,u.exports,n,t,i,o)}return i[a].exports}for(var s="function"==typeof e&&e,a=0;a>>0;for(n=0;i>n;++n)n in this&&t.call(e,this[n],n,this)}),function(){if(Event.prototype.preventDefault||(Event.prototype.preventDefault=function(){this.returnValue=!1}),Event.prototype.stopPropagation||(Event.prototype.stopPropagation=function(){this.cancelBubble=!0}),!Element.prototype.addEventListener){var t=[],e=function(e,n){var i=this,o=function(t){t.target=t.srcElement,t.currentTarget=i,n.handleEvent?n.handleEvent(t):n.call(i,t)};if("DOMContentLoaded"==e){var r=function(t){"complete"==document.readyState&&o(t)};if(document.attachEvent("onreadystatechange",r),t.push({object:this,type:e,listener:n,wrapper:r}),"complete"==document.readyState){var s=new Event;s.srcElement=window,r(s)}}else this.attachEvent("on"+e,o),t.push({object:this,type:e,listener:n,wrapper:o})},n=function(e,n){for(var i=0;ir?i.width:i.height;var s;s=32>e?"iconic-sm":e>=32&&128>e?"iconic-md":"iconic-lg";var a=t.getAttribute("class"),l=n.test(a)?a.replace(n,s):a+" "+s;t.setAttribute("class",l)}},a=function(){var t=document.querySelectorAll(".injected-svg.iconic-fluid");Array.prototype.forEach.call(t,function(t){s(t)})};document.addEventListener("DOMContentLoaded",function(){r()}),window.addEventListener("resize",function(){a()}),e.exports={refresh:s,refreshAll:a}},{}],8:[function(e,n,i){!function(e,o){"use strict";function r(t){t=t.split(" ");for(var e={},n=t.length,i=[];n--;)e.hasOwnProperty(t[n])||(e[t[n]]=1,i.unshift(t[n]));return i.join(" ")}var s="file:"===e.location.protocol,a=o.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"),l=Array.prototype.forEach||function(t,e){if(void 0===this||null===this||"function"!=typeof t)throw new TypeError;var n,i=this.length>>>0;for(n=0;i>n;++n)n in this&&t.call(e,this[n],n,this)},c={},u=0,h=[],p=[],f={},d=function(t){return t.cloneNode(!0)},g=function(t,e){p[t]=p[t]||[],p[t].push(e)},m=function(t){for(var e=0,n=p[t].length;n>e;e++)!function(e){setTimeout(function(){p[t][e](d(c[t]))},0)}(e)},v=function(t,n){if(void 0!==c[t])c[t]instanceof SVGSVGElement?n(d(c[t])):g(t,n);else{if(!e.XMLHttpRequest)return n("Browser does not support XMLHttpRequest"),!1;c[t]={},g(t,n);var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===i.readyState){if(404===i.status||null===i.responseXML)return n("Unable to load SVG file: "+t),s&&n("Note: SVG injection ajax calls do not work locally without adjusting security setting in your browser. Or consider using a local webserver."),n(),!1;if(!(200===i.status||s&&0===i.status))return n("There was a problem injecting the SVG: "+i.status+" "+i.statusText),!1;if(i.responseXML instanceof Document)c[t]=i.responseXML.documentElement;else if(DOMParser&&DOMParser instanceof Function){var e;try{var o=new DOMParser;e=o.parseFromString(i.responseText,"text/xml")}catch(r){e=void 0}if(!e||e.getElementsByTagName("parsererror").length)return n("Unable to parse SVG file: "+t),!1;c[t]=e.documentElement}m(t)}},i.open("GET",t),i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()}},b=function(t,n,i,o){var s=t.getAttribute("data-src")||t.getAttribute("src");if(!/svg$/i.test(s))return void o("Attempted to inject a file with a non-svg extension: "+s);if(!a){var c=t.getAttribute("data-fallback")||t.getAttribute("data-png");return void(c?(t.setAttribute("src",c),o(null)):i?(t.setAttribute("src",i+"/"+s.split("/").pop().replace(".svg",".png")),o(null)):o("This browser does not support SVG and no PNG fallback was defined."))}-1===h.indexOf(t)&&(h.push(t),t.setAttribute("src",""),v(s,function(i){if("undefined"==typeof i||"string"==typeof i)return o(i),!1;var a=t.getAttribute("id");a&&i.setAttribute("id",a);var c=t.getAttribute("title");c&&i.setAttribute("title",c);var p=[].concat(i.getAttribute("class")||[],"injected-svg",t.getAttribute("class")||[]).join(" ");i.setAttribute("class",r(p));var d=t.getAttribute("style");d&&i.setAttribute("style",d);var g=[].filter.call(t.attributes,function(t){return/^data-\w[\w\-]*$/.test(t.name)});l.call(g,function(t){t.name&&t.value&&i.setAttribute(t.name,t.value)});for(var m,v=i.querySelectorAll("defs clipPath[id]"),b=0,y=v.length;y>b;b++){m=v[b].id+"-"+u;for(var w=i.querySelectorAll('[clip-path*="'+v[b].id+'"]'),E=0,C=w.length;C>E;E++)w[E].setAttribute("clip-path","url(#"+m+")");v[b].id=m}i.removeAttribute("xmlns:a");for(var x,S,O=i.querySelectorAll("script"),A=[],T=0,N=O.length;N>T;T++)S=O[T].getAttribute("type"),S&&"application/ecmascript"!==S&&"application/javascript"!==S||(x=O[T].innerText||O[T].textContent,A.push(x),i.removeChild(O[T]));if(A.length>0&&("always"===n||"once"===n&&!f[s])){for(var M=0,I=A.length;I>M;M++)new Function(A[M])(e);f[s]=!0}t.parentNode.replaceChild(i,t),delete h[h.indexOf(t)],t=null,u++,o(i)}))},y=function(t,e,n){e=e||{};var i=e.evalScripts||"always",o=e.pngFallback||!1,r=e.each;if(void 0!==t.length){var s=0;l.call(t,function(e){b(e,i,o,function(e){r&&"function"==typeof r&&r(e),n&&t.length===++s&&n(s)})})}else t?b(t,i,o,function(e){r&&"function"==typeof r&&r(e),n&&n(1),t=null}):n&&n(0)};"object"==typeof n&&"object"==typeof n.exports?n.exports=i=y:"function"==typeof t&&t.amd?t(function(){return y}):"object"==typeof e&&(e.SVGInjector=y)}(window,document)},{}]},{},[1])(1)})},function(t,e,n){var i=n(36),o=(n(31),{}),r=[],s={subscribe:i.subscribe,publish:i.publish,unsubscribe:i.unsubscribe,closeActiveElements:function(t){var e=this;t=t||{};var n=document.querySelectorAll(".is-active[data-closable]");Array.prototype.forEach.call(n,function(n){t.exclude!==n.id&&e.publish(n.id,"close")})},getSettings:function(){return o},modifySettings:function(t){return o=angular.extend(o,t)},generateUuid:function(){var t="";do{t+="zf-uuid-";for(var e=0;15>e;e++)t+=Math.floor(16*Math.random()).toString(16)}while(!r.indexOf(t));return r.push(t),t}};t.exports=s},function(t,e,n){var i=n(12),o=i.createClass({displayName:"ActionSheetButton",toggle:function(){this.props.setActiveState(!this.props.active)},render:function(){var t=null;return this.props.title.length>0&&(t=i.createElement("a",{className:"button"},this.props.title)),i.createElement("div",{onClick:this.toggle},t,i.createElement("div",null,this.props.children))}});t.exports=o},function(t,e,n){var i=n(12),o=n(27),r=i.createClass({displayName:"ActionSheetContent",getDefaultProps:function(){return{position:"bottom"}},render:function(){var t={"action-sheet":!0,"is-active":this.props.active};return i.createElement("div",{className:o(t)},this.props.children)}});t.exports=r},function(t,e,n){var i=n(12),o=n(27),r=i.createClass({displayName:"AccordionItem",render:function(){var t={"accordion-item":!0,"is-active":this.props.active};return i.createElement("div",{className:o(t)},i.createElement("div",{className:"accordion-title",onClick:this.props.activate},this.props.title),i.createElement("div",{className:"accordion-content"},this.props.children))}});t.exports=r},function(t,e,n){var i=n(12),o=n(28),r=n(29),s=n(25),a=(n(27),i.createClass({displayName:"Animation",getInitialState:function(){return{}},getDefaultProps:function(){return{active:!1,animationIn:"",animationOut:""}},reflow:function(t){return t.offsetWidth},reset:function(t){t.style.transitionDuration=0,r.removeClass(t,"ng-enter"),r.removeClass(t,"ng-leave"),r.removeClass(t,"ng-enter-active"),r.removeClass(t,"ng-leave-active"),r.removeClass(t,this.props.animationIn),r.removeClass(t,this.props.animationOut)},finishAnimation:function(){var t=this.getDOMNode();this.reset(t),r.removeClass(t,this.props.active?"":"is-active"),this.reflow(t),o.removeEndEventListener(t,this.finishAnimation)},animate:function(t,e){var n=this.getDOMNode(),i="ng-"+e,s=i+"-active";this.reset(n),r.addClass(n,t),r.addClass(n,i),r.addClass(n,"is-active"),this.reflow(n),n.style.transitionDuration="",r.addClass(n,s),o.addEndEventListener(n,this.finishAnimation)},componentDidUpdate:function(t){if(t.active!==this.props.active){var e=this.props.active?this.props.animationIn:this.props.animationOut,n=this.props.active?"enter":"leave";this.animate(e,n)}},render:function(){var t=i.Children.only(this.props.children),e={};return s(t,e)}}));t.exports=a},function(t,e,n){var i=n(12),o=n(14),r=n(30),s=(n(18),i.createClass({displayName:"NotificationSet",getInitialState:function(){return{notifications:[]}},componentDidMount:function(){o.subscribe(this.props.id,function(t,e){"clearall"===e?this.clearAll():this.addNotification(e)}.bind(this))},addNotification:function(t){t.id=o.generateUuid();var e=this.state.notifications.concat(t);this.setState({notifications:e})},removeNotifcation:function(t){return function(e){var n=[];this.state.notifications.forEach(function(e){e.id!==t&&n.push(e)}),this.setState({notifications:n}),e.preventDefault()}.bind(this)},clearAll:function(){this.setState({notifications:[]})},render:function(){var t=this.state.notifications.map(function(t){return i.createElement(r,i.__spread({key:t.id},t,{closeHandler:this.removeNotifcation(t.id),className:"is-active"}),t.content)}.bind(this));return i.createElement("div",null,t)}}));t.exports=s},function(t,e,n){var i=n(12),o=(n(27),n(14)),r=n(18),s=n(30),a=i.createClass({displayName:"NotificationStatic",getInitialState:function(){return{open:!1}},componentDidMount:function(){o.subscribe(this.props.id,function(t,e){"open"===e?this.setState({open:!0}):"close"===e&&this.setState({open:!1})}.bind(this))},componentWillUnmount:function(){o.unsubscribe(this.props.id)},closeHandler:function(t){this.setState({open:!1}),t.preventDefault(),t.stopPropagation()},render:function(){return i.createElement(r,{active:this.state.open,animationIn:"fadeIn",animationOut:"fadeOut"},i.createElement(s,i.__spread({},this.props,{closeHandler:this.closeHandler}),this.props.children))}});t.exports=a},function(t,e,n){var i=n(12),o=n(27),r=i.createClass({displayName:"Tab",componentDidMount:function(){this.props.active&&this.select()},select:function(){var t={selectedTab:this.props.index,content:this.props.children};this.props.selectTab(t)},render:function(){var t={"tab-item":!0,"is-active":this.props.active};return i.createElement("div",{className:o(t),onClick:this.select},this.props.title)}});t.exports=r},function(t,e,n){var i=n(12),o=n(14),r=n(25),s=i.createClass({displayName:"PopupToggle",clickHandler:function(t,e){e.preventDefault(),o.publish(this.props.popupToggle,["toggle",t])},render:function(){var t=i.Children.only(this.props.children),e=this.props.id||o.generateUuid();return r(t,{id:e,onClick:this.clickHandler.bind(this,e)})}});t.exports=s},function(t,e,n){var i=n(38),o=i&&n(40),r=n(39),s={media:function(t,e){t=r(t),"function"==typeof e&&(e={match:e}),o.register(t,e),this._responsiveMediaHandlers||(this._responsiveMediaHandlers=[]),this._responsiveMediaHandlers.push({query:t,handler:e})},componentWillUnmount:function(){this._responsiveMediaHandlers.forEach(function(t){o.unregister(t.query,t.handler)})}};t.exports=s},function(t,e,n){var i,o;/*! tether 0.6.5 */ +!function(r,s){i=s,o="function"==typeof i?i.call(e,n,e,t):i,!(void 0!==o&&(t.exports=o))}(this,function(){return function(){var t,e,n,i,o,r,s,a,l,c,u,h,p,f,d,g,m,v,b,y={}.hasOwnProperty,w=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},E=[].slice;null==this.Tether&&(this.Tether={modules:[]}),h=function(t){var e,n,i,o,r;if(n=getComputedStyle(t).position,"fixed"===n)return t;for(i=void 0,e=t;e=e.parentNode;){try{o=getComputedStyle(e)}catch(s){}if(null==o)return e;if(/(auto|scroll)/.test(o.overflow+o.overflowY+o.overflowX)&&("absolute"!==n||"relative"===(r=o.position)||"absolute"===r||"fixed"===r))return e}return document.body},m=function(){var t;return t=0,function(){return t++}}(),b={},c=function(t){var e,i,r,s,a;if(r=t._tetherZeroElement,null==r&&(r=t.createElement("div"),r.setAttribute("data-tether-id",m()),o(r.style,{top:0,left:0,position:"absolute"}),t.body.appendChild(r),t._tetherZeroElement=r),e=r.getAttribute("data-tether-id"),null==b[e]){b[e]={},a=r.getBoundingClientRect();for(i in a)s=a[i],b[e][i]=s;n(function(){return b[e]=void 0})}return b[e]},f=null,s=function(t){var e,n,i,o,r,s,a;t===document?(n=document,t=document.documentElement):n=t.ownerDocument,i=n.documentElement,e={},a=t.getBoundingClientRect();for(o in a)s=a[o],e[o]=s;return r=c(n),e.top-=r.top,e.left-=r.left,null==e.width&&(e.width=document.body.scrollWidth-e.left-e.right),null==e.height&&(e.height=document.body.scrollHeight-e.top-e.bottom),e.top=e.top-i.clientTop,e.left=e.left-i.clientLeft,e.right=n.body.clientWidth-e.width-e.left,e.bottom=n.body.clientHeight-e.height-e.top,e},l=function(t){return t.offsetParent||document.documentElement},u=function(){var t,e,n,i,r;return t=document.createElement("div"),t.style.width="100%",t.style.height="200px",e=document.createElement("div"),o(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e),i=t.offsetWidth,e.style.overflow="scroll",r=t.offsetWidth,i===r&&(r=e.clientWidth),document.body.removeChild(e),n=i-r,{width:n,height:n}},o=function(t){var e,n,i,o,r,s,a;for(null==t&&(t={}),e=[],Array.prototype.push.apply(e,arguments),a=e.slice(1),r=0,s=a.length;s>r;r++)if(i=a[r])for(n in i)y.call(i,n)&&(o=i[n],t[n]=o);return t},d=function(t,e){var n,i,o,r,s,l;if(null!=t.classList){for(s=e.split(" "),l=[],o=0,r=s.length;r>o;o++)i=s[o],i.trim()&&l.push(t.classList.remove(i));return l}return n=a(t).replace(new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi")," "),g(t,n)},e=function(t,e){var n,i,o,r,s;if(null!=t.classList){for(r=e.split(" "),s=[],i=0,o=r.length;o>i;i++)n=r[i],n.trim()&&s.push(t.classList.add(n));return s}return d(t,e),n=a(t)+(" "+e),g(t,n)},p=function(t,e){return null!=t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(a(t))},a=function(t){return t.className instanceof SVGAnimatedString?t.className.baseVal:t.className},g=function(t,e){return t.setAttribute("class",e)},v=function(t,n,i){var o,r,s,a,l,c;for(r=0,a=i.length;a>r;r++)o=i[r],w.call(n,o)<0&&p(t,o)&&d(t,o);for(c=[],s=0,l=n.length;l>s;s++)o=n[s],c.push(p(t,o)?void 0:e(t,o));return c},i=[],n=function(t){return i.push(t)},r=function(){var t,e;for(e=[];t=i.pop();)e.push(t());return e},t=function(){function t(){}return t.prototype.on=function(t,e,n,i){var o;return null==i&&(i=!1),null==this.bindings&&(this.bindings={}),null==(o=this.bindings)[t]&&(o[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:i})},t.prototype.once=function(t,e,n){return this.on(t,e,n,!0)},t.prototype.off=function(t,e){var n,i,o;if(null!=(null!=(i=this.bindings)?i[t]:void 0)){if(null==e)return delete this.bindings[t];for(n=0,o=[];n=e&&e>=t-n},S=function(){var t,e,n,i,o;for(t=document.createElement("div"),o=["transform","webkitTransform","OTransform","MozTransform","msTransform"],n=0,i=o.length;i>n;n++)if(e=o[n],void 0!==t.style[e])return e}(),x=[],E=function(){var t,e,n;for(e=0,n=x.length;n>e;e++)t=x[e],t.position(!1);return u()},v=function(){var t;return null!=(t="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?t:+new Date},function(){var t,e,n,i,o,r,s,a,l;for(e=null,n=null,i=null,o=function(){if(null!=n&&n>16)return n=Math.min(n-16,250),void(i=setTimeout(o,250));if(!(null!=e&&v()-e<10))return null!=i&&(clearTimeout(i),i=null),e=v(),E(),n=v()-e},a=["resize","scroll","touchmove"],l=[],r=0,s=a.length;s>r;r++)t=a[r],l.push(window.addEventListener(t,o));return l}(),t={center:"center",left:"right",right:"left"},e={middle:"middle",top:"bottom",bottom:"top"},n={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},a=function(n,i){var o,r;return o=n.left,r=n.top,"auto"===o&&(o=t[i.left]),"auto"===r&&(r=e[i.top]),{left:o,top:r}},s=function(t){var e,i;return{left:null!=(e=n[t.left])?e:t.left,top:null!=(i=n[t.top])?i:t.top}},r=function(){var t,e,n,i,o,r,s;for(e=1<=arguments.length?M.call(arguments,0):[],n={top:0,left:0},o=0,r=e.length;r>o;o++)s=e[o],i=s.top,t=s.left,"string"==typeof i&&(i=parseFloat(i,10)),"string"==typeof t&&(t=parseFloat(t,10)),n.top+=i,n.left+=t;return n},b=function(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t},y=w=function(t){var e,n,i;return i=t.split(" "),n=i[0],e=i[1],{top:n,left:e}},T=function(){function t(t){this.position=I(this.position,this);var e,n,o,r,s;for(x.push(this),this.history=[],this.setOptions(t,!1),r=i.modules,n=0,o=r.length;o>n;n++)e=r[n],null!=(s=e.initialize)&&s.call(this);this.position()}return t.modules=[],t.prototype.getClass=function(t){var e,n;return(null!=(e=this.options.classes)?e[t]:void 0)?this.options.classes[t]:(null!=(n=this.options.classes)?n[t]:void 0)!==!1?this.options.classPrefix?""+this.options.classPrefix+"-"+t:t:""},t.prototype.setOptions=function(t,e){var n,i,r,s,a,l;for(this.options=t,null==e&&(e=!0),n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"},this.options=c(n,this.options),a=this.options,this.element=a.element,this.target=a.target,this.targetModifier=a.targetModifier,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),l=["element","target"],r=0,s=l.length;s>r;r++){if(i=l[r],null==this[i])throw new Error("Tether Error: Both element and target must be defined");null!=this[i].jquery?this[i]=this[i][0]:"string"==typeof this[i]&&(this[i]=document.querySelector(this[i]))}if(o(this.element,this.getClass("element")),o(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");return this.targetAttachment=y(this.options.targetAttachment),this.attachment=y(this.options.attachment),this.offset=w(this.options.offset),this.targetOffset=w(this.options.targetOffset),null!=this.scrollParent&&this.disable(),this.scrollParent="scroll-handle"===this.targetModifier?this.target:g(this.target),this.options.enabled!==!1?this.enable(e):void 0},t.prototype.getTargetBounds=function(){var t,e,n,i,o,r,s,a,l;if(null==this.targetModifier)return h(this.target);switch(this.targetModifier){case"visible":return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:(t=h(this.target),o={height:t.height,width:t.width,top:t.top,left:t.left},o.height=Math.min(o.height,t.height-(pageYOffset-t.top)),o.height=Math.min(o.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,t.width-(pageXOffset-t.left)),o.width=Math.min(o.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.topl.clientWidth||"scroll"===[a.overflow,a.overflowX]||this.target!==document.body,r=0,n&&(r=15),i=t.height-parseFloat(a.borderTopWidth)-parseFloat(a.borderBottomWidth)-r,o={width:15,height:.975*i*(i/l.scrollHeight),left:t.left+t.width-parseFloat(a.borderLeftWidth)-15},e=0,408>i&&this.target===document.body&&(e=-11e-5*Math.pow(i,2)-.00727*i+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24)),s=this.target.scrollTop/(l.scrollHeight-i),o.top=s*(i-o.height-e)+t.top+parseFloat(a.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}},t.prototype.clearCache=function(){return this._cache={}},t.prototype.cache=function(t,e){return null==this._cache&&(this._cache={}),null==this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]},t.prototype.enable=function(t){return null==t&&(t=!0),o(this.target,this.getClass("enabled")),o(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParent!==document&&this.scrollParent.addEventListener("scroll",this.position),t?this.position():void 0},t.prototype.disable=function(){return C(this.target,this.getClass("enabled")),C(this.element,this.getClass("enabled")),this.enabled=!1,null!=this.scrollParent?this.scrollParent.removeEventListener("scroll",this.position):void 0},t.prototype.destroy=function(){var t,e,n,i,o;for(this.disable(),o=[],t=n=0,i=x.length;i>n;t=++n){if(e=x[t],e===this){x.splice(t,1);break}o.push(void 0)}return o},t.prototype.updateAttachClasses=function(t,e){var n,i,o,r,s,a,c,u,h,p=this;for(null==t&&(t=this.attachment),null==e&&(e=this.targetAttachment),r=["left","top","bottom","right","middle","center"],(null!=(h=this._addAttachClasses)?h.length:void 0)&&this._addAttachClasses.splice(0,this._addAttachClasses.length),n=null!=this._addAttachClasses?this._addAttachClasses:this._addAttachClasses=[],t.top&&n.push(""+this.getClass("element-attached")+"-"+t.top),t.left&&n.push(""+this.getClass("element-attached")+"-"+t.left),e.top&&n.push(""+this.getClass("target-attached")+"-"+e.top),e.left&&n.push(""+this.getClass("target-attached")+"-"+e.left),i=[],s=0,c=r.length;c>s;s++)o=r[s],i.push(""+this.getClass("element-attached")+"-"+o);for(a=0,u=r.length;u>a;a++)o=r[a],i.push(""+this.getClass("target-attached")+"-"+o);return l(function(){return null!=p._addAttachClasses?(O(p.element,p._addAttachClasses,i),O(p.target,p._addAttachClasses,i),p._addAttachClasses=void 0):void 0})},t.prototype.position=function(t){var e,n,o,l,c,f,g,m,v,y,w,E,C,x,S,O,A,T,N,M,I,P,j,D,k,L,W,_,z,B,H,q,U,F,R,V=this;if(null==t&&(t=!0),this.enabled){for(this.clearCache(),M=a(this.targetAttachment,this.attachment),this.updateAttachClasses(this.attachment,M),e=this.cache("element-bounds",function(){return h(V.element)}),k=e.width,o=e.height,0===k&&0===o&&null!=this.lastSize?(B=this.lastSize,k=B.width,o=B.height):this.lastSize={width:k,height:o},j=P=this.cache("target-bounds",function(){return V.getTargetBounds()}),v=b(s(this.attachment),{width:k,height:o}),I=b(s(M),j),c=b(this.offset,{width:k,height:o}),f=b(this.targetOffset,j),v=r(v,c),I=r(I,f),l=P.left+I.left-v.left,D=P.top+I.top-v.top,H=i.modules,L=0,_=H.length;_>L;L++)if(g=H[L],S=g.position.call(this,{left:l,top:D,targetAttachment:M,targetPos:P,attachment:this.attachment,elementPos:e,offset:v,targetOffset:I,manualOffset:c,manualTargetOffset:f,scrollbarSize:T}),null!=S&&"object"==typeof S){if(S===!1)return!1;D=S.top,l=S.left}if(m={page:{top:D,left:l},viewport:{top:D-pageYOffset,bottom:pageYOffset-D-o+innerHeight,left:l-pageXOffset,right:pageXOffset-l-k+innerWidth}},document.body.scrollWidth>window.innerWidth&&(T=this.cache("scrollbar-size",d),m.viewport.bottom-=T.height),document.body.scrollHeight>window.innerHeight&&(T=this.cache("scrollbar-size",d),m.viewport.right-=T.width),(""!==(q=document.body.style.position)&&"static"!==q||""!==(U=document.body.parentElement.style.position)&&"static"!==U)&&(m.page.bottom=document.body.scrollHeight-D-o,m.page.right=document.body.scrollWidth-l-k),(null!=(F=this.options.optimizations)?F.moveElement:void 0)!==!1&&null==this.targetModifier){for(w=this.cache("target-offsetparent",function(){return p(V.target)}),x=this.cache("target-offsetparent-bounds",function(){return h(w)}),C=getComputedStyle(w),n=getComputedStyle(this.element),E=x,y={},R=["Top","Left","Bottom","Right"],W=0,z=R.length;z>W;W++)N=R[W],y[N.toLowerCase()]=parseFloat(C["border"+N+"Width"]);x.right=document.body.scrollWidth-x.left-E.width+y.right,x.bottom=document.body.scrollHeight-x.top-E.height+y.bottom,m.page.top>=x.top+y.top&&m.page.bottom>=x.bottom&&m.page.left>=x.left+y.left&&m.page.right>=x.right&&(A=w.scrollTop,O=w.scrollLeft,m.offset={top:m.page.top-x.top+A-y.top,left:m.page.left-x.left+O-y.left})}return this.move(m),this.history.unshift(m),this.history.length>3&&this.history.pop(),t&&u(),!0}},t.prototype.move=function(t){var e,n,i,o,r,s,a,u,h,f,d,g,m,v,b,y,w,E=this;if(null!=this.element.parentNode){u={};for(f in t){u[f]={};for(o in t[f]){for(i=!1,y=this.history,v=0,b=y.length;b>v;v++)if(a=y[v],!A(null!=(w=a[f])?w[o]:void 0,t[f][o])){i=!0;break}i||(u[f][o]=!0)}}e={top:"",left:"",right:"",bottom:""},h=function(t,n){var i,o,r;return(null!=(r=E.options.optimizations)?r.gpu:void 0)===!1?(t.top?e.top=""+n.top+"px":e.bottom=""+n.bottom+"px",t.left?e.left=""+n.left+"px":e.right=""+n.right+"px"):(t.top?(e.top=0,o=n.top):(e.bottom=0,o=-n.bottom),t.left?(e.left=0,i=n.left):(e.right=0,i=-n.right),e[S]="translateX("+Math.round(i)+"px) translateY("+Math.round(o)+"px)","msTransform"!==S?e[S]+=" translateZ(0)":void 0)},r=!1,(u.page.top||u.page.bottom)&&(u.page.left||u.page.right)?(e.position="absolute",h(u.page,t.page)):(u.viewport.top||u.viewport.bottom)&&(u.viewport.left||u.viewport.right)?(e.position="fixed",h(u.viewport,t.viewport)):null!=u.offset&&u.offset.top&&u.offset.left?(e.position="absolute",s=this.cache("target-offsetparent",function(){return p(E.target)}),p(this.element)!==s&&l(function(){return E.element.parentNode.removeChild(E.element),s.appendChild(E.element)}),h(u.offset,t.offset),r=!0):(e.position="absolute",h({top:!0,left:!0},t.page)),r||"BODY"===this.element.parentNode.tagName||(this.element.parentNode.removeChild(this.element),document.body.appendChild(this.element)),m={},g=!1;for(o in e)d=e[o],n=this.element.style[o],""===n||""===d||"top"!==o&&"left"!==o&&"bottom"!==o&&"right"!==o||(n=parseFloat(n),d=parseFloat(d)),n!==d&&(g=!0,m[o]=e[o]);return g?l(function(){return c(E.element.style,m)}):void 0}},t}(),i.position=E,this.Tether=c(T,i)}.call(this),function(){var t,e,n,i,o,r,s,a,l,c,u=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};c=this.Tether.Utils,s=c.getOuterSize,r=c.getBounds,a=c.getSize,i=c.extend,l=c.updateClasses,n=c.defer,e={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle"},t=["left","top","right","bottom"],o=function(e,n){var i,o,s,a,l,c,u;if("scrollParent"===n?n=e.scrollParent:"window"===n&&(n=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),n===document&&(n=n.documentElement),null!=n.nodeType)for(o=a=r(n),l=getComputedStyle(n),n=[o.left,o.top,a.width+o.left,a.height+o.top],i=c=0,u=t.length;u>c;i=++c)s=t[i],s=s[0].toUpperCase()+s.substr(1),"Top"===s||"Left"===s?n[i]+=parseFloat(l["border"+s+"Width"]):n[i]-=parseFloat(l["border"+s+"Width"]);return n},this.Tether.modules.push({position:function(e){var s,a,c,h,p,f,d,g,m,v,b,y,w,E,C,x,S,O,A,T,N,M,I,P,j,D,k,L,W,_,z,B,H,q,U,F,R,V,X,G,Y,$,Z,J,K,Q,te,ee=this;if(D=e.top,b=e.left,N=e.targetAttachment,!this.options.constraints)return!0;for(O=function(e){var n,i,o,r;for(ee.removeClass(e),r=[],i=0,o=t.length;o>i;i++)n=t[i],r.push(ee.removeClass(""+e+"-"+n));return r},G=this.cache("element-bounds",function(){return r(ee.element)}),v=G.height,k=G.width,0===k&&0===v&&null!=this.lastSize&&(Y=this.lastSize,k=Y.width,v=Y.height),I=this.cache("target-bounds",function(){return ee.getTargetBounds()}),M=I.height,P=I.width,T={},m={},a=[this.getClass("pinned"),this.getClass("out-of-bounds")],$=this.options.constraints,L=0,B=$.length;B>L;L++)g=$[L],g.outOfBoundsClass&&a.push(g.outOfBoundsClass),g.pinnedClass&&a.push(g.pinnedClass);for(W=0,H=a.length;H>W;W++)for(d=a[W],Z=["left","top","right","bottom"],_=0,q=Z.length;q>_;_++)A=Z[_],a.push(""+d+"-"+A);for(s=[],T=i({},N),m=i({},this.attachment),J=this.options.constraints,z=0,U=J.length;U>z;z++){if(g=J[z],j=g.to,c=g.attachment,C=g.pin,null==c&&(c=""),u.call(c," ")>=0?(K=c.split(" "),f=K[0],p=K[1]):p=f=c,h=o(this,j),("target"===f||"both"===f)&&(Dh[3]&&"bottom"===T.top&&(D-=M,T.top="top")),"together"===f&&(Dh[3]&&"bottom"===T.top&&("top"===m.top?(D-=M,T.top="top",D-=v,m.top="bottom"):"bottom"===m.top&&(D-=M,T.top="top",D+=v,m.top="top")),"middle"===T.top&&(D+v>h[3]&&"top"===m.top?(D-=v,m.top="bottom"):Dh[2]&&"right"===T.left&&(b-=P,T.left="left")),"together"===p&&(bh[2]&&"right"===T.left?"left"===m.left?(b-=P,T.left="left",b-=k,m.left="right"):"right"===m.left&&(b-=P,T.left="left",b+=k,m.left="left"):"center"===T.left&&(b+k>h[2]&&"left"===m.left?(b-=k,m.left="right"):bh[3]&&"top"===m.top&&(D-=v,m.top="bottom")),("element"===p||"both"===p)&&(bh[2]&&"left"===m.left&&(b-=k,m.left="right")),"string"==typeof C?C=function(){var t,e,n,i;for(n=C.split(","),i=[],e=0,t=n.length;t>e;e++)E=n[e],i.push(E.trim());return i}():C===!0&&(C=["top","left","right","bottom"]),C||(C=[]),x=[],y=[],D=0?(D=h[1],x.push("top")):y.push("top")),D+v>h[3]&&(u.call(C,"bottom")>=0?(D=h[3]-v,x.push("bottom")):y.push("bottom")),b=0?(b=h[0],x.push("left")):y.push("left")),b+k>h[2]&&(u.call(C,"right")>=0?(b=h[2]-k,x.push("right")):y.push("right")),x.length)for(S=null!=(Q=this.options.pinnedClass)?Q:this.getClass("pinned"),s.push(S),V=0,F=x.length;F>V;V++)A=x[V],s.push(""+S+"-"+A);if(y.length)for(w=null!=(te=this.options.outOfBoundsClass)?te:this.getClass("out-of-bounds"),s.push(w),X=0,R=y.length;R>X;X++)A=y[X],s.push(""+w+"-"+A);(u.call(x,"left")>=0||u.call(x,"right")>=0)&&(m.left=T.left=!1),(u.call(x,"top")>=0||u.call(x,"bottom")>=0)&&(m.top=T.top=!1),(T.top!==N.top||T.left!==N.left||m.top!==this.attachment.top||m.left!==this.attachment.left)&&this.updateAttachClasses(m,T)}return n(function(){return l(ee.target,s,a),l(ee.element,s,a)}),{top:D,left:b}}})}.call(this),function(){var t,e,n,i;i=this.Tether.Utils,e=i.getBounds,n=i.updateClasses,t=i.defer,this.Tether.modules.push({position:function(i){var o,r,s,a,l,c,u,h,p,f,d,g,m,v,b,y,w,E,C,x,S,O,A,T,N,M=this;if(d=i.top,c=i.left,S=this.cache("element-bounds",function(){return e(M.element)}),l=S.height,g=S.width,f=this.getTargetBounds(),a=d+l,u=c+g,o=[],d<=f.bottom&&a>=f.top)for(O=["left","right"],m=0,w=O.length;w>m;m++)h=O[m],((A=f[h])===c||A===u)&&o.push(h);if(c<=f.right&&u>=f.left)for(T=["top","bottom"],v=0,E=T.length;E>v;v++)h=T[v],((N=f[h])===d||N===a)&&o.push(h);for(s=[],r=[],p=["left","top","right","bottom"],s.push(this.getClass("abutted")),b=0,C=p.length;C>b;b++)h=p[b],s.push(""+this.getClass("abutted")+"-"+h);for(o.length&&r.push(this.getClass("abutted")),y=0,x=o.length;x>y;y++)h=o[y],r.push(""+this.getClass("abutted")+"-"+h);return t(function(){return n(M.target,r,s),n(M.element,r,s)}),!0}})}.call(this),function(){this.Tether.modules.push({position:function(t){var e,n,i,o,r,s,a;return s=t.top,e=t.left,this.options.shift?(n=function(t){return"function"==typeof t?t.call(this,{top:s,left:e}):t},i=n(this.options.shift),"string"==typeof i?(i=i.split(" "),i[1]||(i[1]=i[0]),r=i[0],o=i[1],r=parseFloat(r,10),o=parseFloat(o,10)):(a=[i.top,i.left],r=a[0],o=a[1]),s+=r,e+=o,{top:s,left:e}):void 0}})}.call(this),this.Tether})},function(t,e,n){"use strict";function i(t,e){a(!t.ref,"You are calling cloneWithProps() on a child with a ref. This is dangerous because you're creating a new child which will not be added as a ref to its parent.");var n=r.mergeProps(e,t.props);return!n.hasOwnProperty(l)&&t.props.hasOwnProperty(l)&&(n.children=t.props.children),o.createElement(t.type,n)}var o=n(32),r=n(33),s=n(34),a=n(35),l=s({children:null});t.exports=i},function(t){"use strict";var e=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:e,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:e&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:e&&!!window.screen,isInWorker:!e};t.exports=n},function(t){function e(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).join(" "):Array.prototype.join.call(arguments," ")}t.exports=e},function(t,e,n){"use strict";function i(){var t=document.createElement("div"),e=t.style;"AnimationEvent"in window||delete a.animationend.animation,"TransitionEvent"in window||delete a.transitionend.transition;for(var n in a){var i=a[n];for(var o in i)if(o in e){l.push(i[o]);break}}}function o(t,e,n){t.addEventListener(e,n,!1)}function r(t,e,n){t.removeEventListener(e,n,!1)}var s=n(26),a={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},l=[];s.canUseDOM&&i();var c={addEndEventListener:function(t,e){return 0===l.length?void window.setTimeout(e,0):void l.forEach(function(n){o(t,n,e)})},removeEndEventListener:function(t,e){0!==l.length&&l.forEach(function(n){r(t,n,e)})}};t.exports=c},function(t,e,n){var i=n(37),o={addClass:function(t,e){return i(!/\s/.test(e),'CSSCore.addClass takes only a single class name. "%s" contains multiple classes.',e),e&&(t.classList?t.classList.add(e):o.hasClass(t,e)||(t.className=t.className+" "+e)),t},removeClass:function(t,e){return i(!/\s/.test(e),'CSSCore.removeClass takes only a single class name. "%s" contains multiple classes.',e),e&&(t.classList?t.classList.remove(e):o.hasClass(t,e)&&(t.className=t.className.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),t},conditionClass:function(t,e,n){return(n?o.addClass:o.removeClass)(t,e)},hasClass:function(t,e){return i(!/\s/.test(e),"CSS.hasClass takes only a single class name."),t.classList?!!e&&t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1}};t.exports=o},function(t,e,n){var i=n(12),o=i.createClass({displayName:"Notification",getDefaultProps:function(){return{position:"top-right",color:"success",title:null,image:null,content:null}},render:function(){var t="notification "+this.props.position+" "+this.props.color;t+=" "+(this.props.className||"");var e=null;return this.props.image&&(e=i.createElement("div",{className:"notification-icon"},i.createElement("img",{src:"{{ image }}"}))),i.createElement("div",{id:this.props.id,"data-closable":!0,className:t},i.createElement("a",{href:"#",className:"close-button",onClick:this.props.closeHandler},"×"),e,i.createElement("div",{className:"notification-content"},i.createElement("h1",null,this.props.title),i.createElement("p",null,this.props.children)))}});t.exports=o},function(t){"use strict";function e(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=Object.assign||function(t){for(var n,i,o=e(t),r=1;r1){for(var f=Array(p),d=0;p>d;d++)f[d]=arguments[d+2];o.children=f}if(t&&t.defaultProps){var g=t.defaultProps;for(i in g)"undefined"==typeof o[i]&&(o[i]=g[i])}return new u(t,c,h,s.current,r.current,o)},u.createFactory=function(t){var e=u.createElement.bind(null,t);return e.type=t,e},u.cloneAndReplaceProps=function(t,e){var n=new u(t.type,t.key,t.ref,t._owner,t._context,e);return n._store.validated=t._store.validated,n},u.isValidElement=function(t){var e=!(!t||!t._isReactElement);return e},t.exports=u},function(t,e,n){"use strict";function i(t){return function(e,n,i){e[n]=e.hasOwnProperty(n)?t(e[n],i):i}}function o(t,e){for(var n in e)if(e.hasOwnProperty(n)){var i=p[n];i&&p.hasOwnProperty(n)?i(t,n,e[n]):t.hasOwnProperty(n)||(t[n]=e[n])}return t}var r=n(41),s=n(42),a=n(37),l=n(43),c=n(35),u=!1,h=i(function(t,e){return r({},e,t)}),p={children:s,className:i(l),style:h},f={TransferStrategies:p,mergeProps:function(t,e){return o(r({},t),e)},Mixin:{transferPropsTo:function(t){return a(t._owner===this,"%s: You can't call transferPropsTo() on a component that you don't own, %s. This usually means you are calling transferPropsTo() on a component passed in as props or children.",this.constructor.displayName,"string"==typeof t.type?t.type:t.type.displayName),u||(u=!0,c(!1,"transferPropsTo is deprecated. See http://fb.me/react-transferpropsto for more information.")),o(t.props,this.props),t}}};t.exports=f},function(t){var e=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;return null};t.exports=e},function(t,e,n){"use strict";var i=n(42),o=i;o=function(t,e){for(var n=[],i=2,o=arguments.length;o>i;i++)n.push(arguments[i]);if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!t){var r=0;console.warn("Warning: "+e.replace(/%s/g,function(){return n[r++]}))}},t.exports=o},function(t,e){var n,i,o;!function(r,s){"use strict";i=[e],n=s,o="function"==typeof n?n.apply(e,i):n,!(void 0!==o&&(t.exports=o))}("object"==typeof window&&window||this,function(t){"use strict";function e(t){var e;for(e in t)if(t.hasOwnProperty(e))return!0;return!1}function n(t){return function(){throw t}}function i(t,e,i){try{t(e,i)}catch(o){setTimeout(n(o),0)}}function o(t,e,n){t(e,n)}function r(t,e,n,r){var s,a=c[e],l=r?o:i;if(c.hasOwnProperty(e))for(s in a)a.hasOwnProperty(s)&&l(a[s],t,n)}function s(t,e,n){return function(){var i=String(t),o=i.lastIndexOf(".");for(r(t,t,e,n);-1!==o;)i=i.substr(0,o),o=i.lastIndexOf("."),r(t,i,e)}}function a(t){for(var n=String(t),i=Boolean(c.hasOwnProperty(n)&&e(c[n])),o=n.lastIndexOf(".");!i&&-1!==o;)n=n.substr(0,o),o=n.lastIndexOf("."),i=Boolean(c.hasOwnProperty(n)&&e(c[n]));return i}function l(t,e,n,i){var o=s(t,e,i),r=a(t);return r?(n===!0?o():setTimeout(o,0),!0):!1}var c={},u=-1;t.publish=function(e,n){return l(e,n,!1,t.immediateExceptions)},t.publishSync=function(e,n){return l(e,n,!0,t.immediateExceptions)},t.subscribe=function(t,e){if("function"!=typeof e)return!1;c.hasOwnProperty(t)||(c[t]={});var n="uid_"+String(++u);return c[t][n]=e,n},t.clearAllSubscriptions=function(){c={}},t.unsubscribe=function(t){var e,n,i,o="string"==typeof t&&c.hasOwnProperty(t),r=!o&&"string"==typeof t,s="function"==typeof t,a=!1;if(o)return void delete c[t];for(e in c)if(c.hasOwnProperty(e)){if(n=c[e],r&&n[t]){delete n[t],a=t;break}if(s)for(i in n)n.hasOwnProperty(i)&&n[i]===t&&(delete n[i],a=!0)}return a}})},function(t){"use strict";var e=function(t,e,n,i,o,r,s,a){if(void 0===e)throw new Error("invariant requires an error message argument");if(!t){var l;if(void 0===e)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,o,r,s,a],u=0;l=new Error("Invariant Violation: "+e.replace(/%s/g,function(){return c[u++]}))}throw l.framesToPop=1,l}};t.exports=e},function(t){var e=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=e},function(t,e,n){var i=n(46),o=function(t){var e=/[height|width]$/;return e.test(t)},r=function(t){var e="",n=Object.keys(t);return n.forEach(function(r,s){var a=t[r];r=i(r),o(r)&&"number"==typeof a&&(a+="px"),e+=a===!0?r:a===!1?"not "+r:"("+r+": "+a+")",si&&(n=e(t[i],i),n!==!1);i++);}function n(t){return"[object Array]"===Object.prototype.toString.apply(t)}function i(t){return"function"==typeof t}function o(t){this.options=t,!t.deferSetup&&this.setup()}function r(e,n){this.query=e,this.isUnconditional=n,this.handlers=[],this.mql=t(e);var i=this;this.listener=function(t){i.mql=t,i.assess()},this.mql.addListener(this.listener)}function s(){if(!t)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!t("only all").matches}return o.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t +}},r.prototype={addHandler:function(t){var e=new o(t);this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(t){var n=this.handlers;e(n,function(e,i){return e.equals(t)?(e.destroy(),!n.splice(i,1)):void 0})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){e(this.handlers,function(t){t.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var t=this.matches()?"on":"off";e(this.handlers,function(e){e[t]()})}},s.prototype={register:function(t,o,s){var a=this.queries,l=s&&this.browserIsIncapable;return a[t]||(a[t]=new r(t,l)),i(o)&&(o={match:o}),n(o)||(o=[o]),e(o,function(e){a[t].addHandler(e)}),this},unregister:function(t,e){var n=this.queries[t];return n&&(e?n.removeHandler(e):(n.clear(),delete this.queries[t])),this}},new s})},function(t){function e(t){if(null==t)throw new TypeError("Object.assign target cannot be null or undefined");for(var e=Object(t),n=Object.prototype.hasOwnProperty,i=1;i1)for(var i=1;n>i;i++)e=arguments[i],e&&(t=(t?t+" ":"")+e);return t}t.exports=e},function(t,e,n){"use strict";var i=n(41),o={current:{},withContext:function(t,e){var n,r=o.current;o.current=i({},r,t);try{n=e()}finally{o.current=r}return n}};t.exports=o},function(t){"use strict";var e={current:null};t.exports=e},function(t){var e=function(t){return t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()};t.exports=e}]); \ No newline at end of file diff --git a/package.json b/package.json index a1d2181..af3af1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-foundation-apps", - "version": "0.5.0", + "version": "0.6.0", "description": "'React port of foundation-apps'", "main": "index.js", "scripts": {