{"version":3,"sources":["webpack:///../node_modules/react-images/lib/Lightbox.js","webpack:///../node_modules/asap/browser-asap.js","webpack:///../node_modules/asap/browser-raw.js","webpack:///../node_modules/aphrodite/lib/generate.js","webpack:///../node_modules/inline-style-prefixer/static.js","webpack:///../node_modules/inline-style-prefixer/lib/static/prefixAll.js","webpack:///../node_modules/inline-style-prefixer/lib/utils/sortPrefixedStyle.js","webpack:///../node_modules/inline-style-prefixer/lib/utils/isPrefixedProperty.js","webpack:///../node_modules/inline-style-prefixer/lib/static/plugins/position.js","webpack:///../node_modules/inline-style-prefixer/lib/static/plugins/calc.js","webpack:///../node_modules/inline-style-prefixer/lib/static/plugins/cursor.js","webpack:///../node_modules/inline-style-prefixer/lib/static/plugins/flex.js","webpack:///../node_modules/inline-style-prefixer/lib/static/plugins/sizing.js","webpack:///../node_modules/inline-style-prefixer/lib/static/plugins/gradient.js","webpack:///../node_modules/inline-style-prefixer/lib/static/plugins/transition.js","webpack:///../node_modules/hyphenate-style-name/index.js","webpack:///../node_modules/inline-style-prefixer/lib/static/plugins/flexboxIE.js","webpack:///../node_modules/inline-style-prefixer/lib/static/plugins/flexboxOld.js","webpack:///../node_modules/react-scrolllock/dist/index.js","webpack:///../node_modules/react-scrolllock/dist/ScrollLock.js","webpack:///../node_modules/react-prop-toggle/dist/index.js","webpack:///../node_modules/react-prop-toggle/dist/LifeCycleProvider.js","webpack:///../node_modules/react-scrolllock/dist/withTouchListeners.js","webpack:///../node_modules/aphrodite/lib/no-important.js","webpack:///../node_modules/react-images/lib/icons/arrowLeft.js","webpack:///../node_modules/react-images/lib/icons/arrowRight.js","webpack:///../node_modules/react-images/lib/icons/close.js","webpack:///../node_modules/react-images/lib/components/Container.js","webpack:///../node_modules/react-images/lib/components/Footer.js","webpack:///../node_modules/react-images/lib/components/Header.js","webpack:///../node_modules/react-images/lib/components/PaginatedThumbnails.js","webpack:///../node_modules/react-images/lib/components/Thumbnail.js","webpack:///../node_modules/react-images/lib/components/Portal.js","webpack:///../node_modules/react-transition-group/index.js","webpack:///../node_modules/react-transition-group/CSSTransition.js","webpack:///../node_modules/dom-helpers/class/addClass.js","webpack:///../node_modules/dom-helpers/class/hasClass.js","webpack:///../node_modules/dom-helpers/class/removeClass.js","webpack:///../node_modules/react-transition-group/ReplaceTransition.js","webpack:///../node_modules/react-transition-group/utils/ChildMapping.js","webpack:///../node_modules/react-images/lib/components/PassContext.js","webpack:///../node_modules/react-images/lib/components/Spinner.js","webpack:///../node_modules/react-images/lib/utils/bindFunctions.js","webpack:///../node_modules/react-images/lib/utils/canUseDom.js","webpack:///../node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack:///../node_modules/@babel/runtime-corejs3/helpers/extends.js","webpack:///../node_modules/react-images/lib/theme.js","webpack:///../node_modules/aphrodite/no-important.js","webpack:///../node_modules/react-images/lib/utils/deepMerge.js","webpack:///../node_modules/@babel/runtime-corejs3/core-js/object/assign.js","webpack:///../node_modules/core-js-pure/features/object/assign.js","webpack:///../node_modules/core-js-pure/full/object/assign.js","webpack:///../node_modules/core-js-pure/actual/object/assign.js","webpack:///../node_modules/core-js-pure/stable/object/assign.js","webpack:///../node_modules/core-js-pure/es/object/assign.js","webpack:///../node_modules/core-js-pure/modules/es.object.assign.js","webpack:///../node_modules/core-js-pure/internals/object-assign.js","webpack:///../node_modules/inline-style-prefixer/lib/utils/joinPrefixedValue.js","webpack:///../node_modules/aphrodite/lib/util.js","webpack:///../node_modules/inline-style-prefixer/lib/utils/isPrefixedValue.js","webpack:///../node_modules/aphrodite/lib/index.js","webpack:///../node_modules/aphrodite/lib/inject.js","webpack:///../node_modules/inline-style-prefixer/lib/static/prefixProps.js","webpack:///../node_modules/inline-style-prefixer/lib/utils/capitalizeString.js","webpack:///../node_modules/exenv/index.js","webpack:///../node_modules/react-prop-toggle/dist/PropToggle.js","webpack:///../node_modules/react-scrolllock/dist/utils.js","webpack:///../node_modules/react-images/lib/components/Arrow.js","webpack:///../node_modules/react-images/lib/components/Icon.js","webpack:///../node_modules/react-transition-group/Transition.js","webpack:///../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js","webpack:///../node_modules/react-transition-group/utils/PropTypes.js","webpack:///../node_modules/react-transition-group/TransitionGroup.js"],"names":["Object","defineProperty","exports","value","_createClass","defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","key","Constructor","protoProps","staticProps","prototype","_propTypes2","_interopRequireDefault","_react","_react2","_aphrodite","_reactScrolllock2","_theme2","_Arrow2","_Container2","_Footer2","_Header2","_PaginatedThumbnails2","_Portal2","_Spinner2","_bindFunctions2","_canUseDom2","_deepMerge2","obj","__esModule","default","normalizeSourceSet","data","sourceSet","srcSet","srcset","Array","isArray","join","Lightbox","_Component","instance","TypeError","_classCallCheck","this","_this","self","call","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","theme","classes","StyleSheet","create","defaultStyles","state","imageLoaded","subClass","superClass","constructor","setPrototypeOf","_inherits","isOpen","enableKeyboardInput","window","addEventListener","handleKeyboardInput","currentImage","preloadImage","handleImageLoaded","nextProps","preloadNextImage","currentIndex","nextIndex","prevIndex","preloadIndex","img","preloadImageData","images","setState","complete","removeEventListener","idx","onload","Image","onerror","src","event","_props","preventDefault","stopPropagation","onClickNext","onClickPrev","id","tagName","onClose","keyCode","gotoPrev","gotoNext","createElement","direction","icon","onClick","title","leftArrowTitle","type","rightArrowTitle","_props2","backdropClosesModal","showThumbnails","width","offsetThumbnails","thumbnail","size","container","gutter","vertical","closeBackdrop","onTouchEnd","className","css","content","style","marginBottom","maxWidth","renderHeader","renderImages","renderSpinner","renderFooter","renderThumbnails","renderArrowPrev","renderArrowNext","preventScroll","_props3","onClickImage","image","sizes","thumbnailsSize","heightOffset","header","height","footer","figure","alt","cursor","maxHeight","_props4","onClickThumbnail","thumbnailOffset","offset","_props5","closeButtonTitle","customControls","showCloseButton","_props6","imageCountSeparator","showImageCount","caption","countCurrent","countSeparator","countTotal","showCount","_props7","spinner","spinnerColor","spinnerSize","Spinner","spinnerActive","color","renderDialog","Component","propTypes","bool","string","number","arrayOf","node","shape","isRequired","oneOfType","element","func","object","defaultProps","onClickShowNextImage","childContextTypes","position","margin","display","WebkitTouchCallout","userSelect","opacity","transition","top","left","transform","pointerEvents","rawAsap","freeTasks","pendingErrors","requestErrorThrow","makeRequestCallFromTimer","shift","asap","task","rawTask","pop","RawTask","module","error","push","queue","requestFlush","index","flush","scan","newLength","toggle","observer","scope","global","BrowserMutationObserver","MutationObserver","WebKitMutationObserver","callback","timeoutHandle","setTimeout","handleTimer","intervalHandle","setInterval","clearTimeout","clearInterval","document","createTextNode","observe","characterData","_slicedToArray","arr","Symbol","iterator","_arr","_n","_d","_e","undefined","_s","_i","next","done","err","sliceIterator","_inlineStylePrefixerStatic","_inlineStylePrefixerStatic2","_util","generateCSS","selector","styleTypes","stringHandlers","useImportant","merged","reduce","recursiveMerge","declarations","mediaQueries","pseudoStyles","keys","forEach","generateCSSRuleset","map","pseudoSelector","mediaQuery","handledDeclarations","result","hasOwnProperty","runStringHandlers","prefixedDeclarations","rules","flatten","objectToPairs","_ref","prefixedValues","unprefixedValues","_ref2","_ret","v","indexOf","sort","concat","_ref3","_ref32","stringValue","stringifyValue","ret","kebabifyStyleName","importantify","prefixAll","styles","property","_prefixProps2","prefix","_capitalizeString2","plugins","plugin","base","extend","arguments","baseValue","valueIndex","splice","assignStyles","_sortPrefixedStyle2","_position2","_calc2","_cursor2","_flex2","_sizing2","_gradient2","_transition2","_flexboxIE2","_flexboxOld2","right","_isPrefixedProperty2","sortedStyle","prop","_isPrefixedProperty","match","_isPrefixedValue2","_joinPrefixedValue2","replace","values","_joinPrefixedValue","grab","grabbing","flex","properties","columnWidth","minWidth","minHeight","outputValue","multipleValues","split","val","out","dashCasePrefix","toLowerCase","dashCaseProperty","_hyphenateStyleName2","prefixValue","webkitOutput","filter","_defineProperty","transitionProperty","WebkitTransition","WebkitTransitionProperty","uppercasePattern","msPattern","cache","toHyphenLower","name","hName","test","alternativeProps","alternativeValues","alignContent","alignSelf","alignItems","justifyContent","order","flexGrow","flexShrink","flexBasis","WebkitBoxOrient","WebkitBoxDirection","wrap","flexWrap","_ScrollLock","get","_extends","assign","source","_exenv","_reactPropToggle","_utils","_withTouchListeners2","LOCK_COUNT","ScrollLock","_PureComponent","apply","canUseDOM","initialHeight","innerHeight","Math","max","scrollTo","pageYOffset","scrollbarSpacer","accountForScrollbars","getPadding","getDocumentHeight","SimpleToggle","overflow","PureComponent","_LifeCycleProvider","_PropToggle","_PropToggle2","LifeCycleProvider","isActive","_objectWithoutProperties","WrappedComponent","TouchProvider","_temp","_len","args","_key","listenerOptions","capture","passive","touchScrollTarget","body","isTouchDevice","preventTouchMove","preventInertiaScroll","allowTouchMove","_inject","_indexJs","StyleSheetServer","StyleSheetTestUtils","styleDefinitions","injectAndGetClassName","fill","_noImportant","Container","contextTypes","backgroundColor","background","boxSizing","paddingBottom","paddingLeft","horizontal","paddingRight","paddingTop","zIndex","Footer","imageCount","footerCount","footerCaption","lineHeight","count","fontSize","_Icon2","Header","close","array","border","outline","verticalAlign","marginRight","padding","_Thumbnail2","paginatedThumbnails","bottom","textAlign","whiteSpace","arrowStyles","PaginatedThumbnails","hasCustomPage","bind","clampFirst","first","newFirst","setFirst","getFirst","totalCount","thumbnails","baseOffset","slice","active","Thumbnail","_onClick","url","thumbnail__active","e","backgroundImage","backgroundPosition","backgroundSize","borderRadius","boxShadow","activeBorderColor","_reactTransitionGroup","_reactDom","_PassContext2","Portal","portalElement","p","appendChild","componentDidUpdate","render","context","TransitionGroup","CSSTransition","timeout","enter","exit","classNames","children","unmountComponentAtNode","removeChild","_CSSTransition","_ReplaceTransition","_TransitionGroup","_Transition","Transition","ReplaceTransition","newObj","desc","getOwnPropertyDescriptor","set","_interopRequireWildcard","_addClass","_removeClass","addClass","c","removeClass","_React$Component","onEnter","appearing","getClassNames","removeClasses","onEntering","activeClassName","reflowAndAddClass","onEntered","appearClassName","doneClassName","enterClassName","onExit","onExiting","onExited","isStringClassNames","_proto","_this$getClassNames6","scrollTop","_default","classList","add","_hasClass","setAttribute","baseVal","contains","replaceClassName","origClass","classToRemove","RegExp","remove","_args","handleEnter","_len2","_key2","handleLifecycle","handleEntering","_len3","_key3","handleEntered","_len4","_key4","handleExit","_len5","_key5","handleExiting","_len6","_key6","handleExited","_len7","_key7","handler","originalArgs","_child$props","child","Children","toArray","findDOMNode","_this$props","inProp","in","excluded","sourceKeys","_objectWithoutPropertiesLoose","_React$Children$toArr","second","cloneElement","getChildMapping","mergeChildMappings","getInitialChildMapping","appear","getProp","getNextChildMapping","prevChildMapping","nextChildMapping","isValidElement","hasPrev","hasNext","prevChild","isLeaving","mapFn","mapper","prev","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","_propTypes","PassContext","only","ripple","rippleKeyframes","animationName","animationDuration","animationTimingFunction","animationIterationCount","functions","f","_Object$assign","_typeof","deepMerge","extended","parent","path","$","stat","arity","forced","DESCRIPTORS","uncurryThis","fails","objectKeys","getOwnPropertySymbolsModule","propertyIsEnumerableModule","toObject","IndexedObject","$assign","b","A","B","symbol","chr","T","argumentsLength","getOwnPropertySymbols","propertyIsEnumerable","S","j","replacer","mapObj","fn","pairs","list","memo","x","UPPERCASE_RE","MS_RE","kebabify","a","isUnitlessNumber","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flexPositive","flexNegative","flexOrder","gridRow","gridColumn","fontWeight","lineClamp","orphans","tabSize","widows","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","prefixes","charAt","toUpperCase","substring","prefixKey","hashObject","str","l","h","k","charCodeAt","toString","murmurhash2_32_gc","JSON","stringify","IMPORTANT_RE","_","important","sheetDefinition","_name","_definition","rehydrate","renderedClassNames","addRenderedClassNames","renderStatic","renderFunc","reset","startBuffering","html","flushToString","getRenderedClassNames","suppressStyleInjection","clearBufferAndResumeStyleInjection","_asap","_asap2","_generate","styleTag","fontFamily","injectStyleOnce","finalVal","injectGeneratedCSSOnce","alreadyInjected","injectionBuffer","isBuffering","generatedCSS","Error","flushToStyleTag","definitions","generated","cssContent","cssContents","querySelector","head","getElementsByTagName","styleSheet","cssText","injectStyleTag","validDefinitions","def","s","d","ExecutionEnvironment","canUseWorkers","Worker","canUseEventListeners","attachEvent","canUseViewport","screen","attributes","PropToggle","originalAttributes","originalStyles","_this2","_props$target","attributeKeys","styleKeys","getPropertyValue","setProperty","getAttribute","_this3","_props$target2","removeAttribute","totalScroll","scrollHeight","currentScroll","offsetHeight","navigator","maxTouchPoints","currentPadding","parseInt","clientWidth","innerWidth","camelToKebab","getWindowHeight","multiplier","clientHeight","parse","isNaN","Arrow","arrow","oneOf","arrow__size__medium","marginTop","arrow__size__small","arrow__direction__right","arrow__direction__left","_arrowLeft2","_arrowRight2","_close2","icons","arrowLeft","arrowRight","Icon","dangerouslySetInnerHTML","__html","EXITING","ENTERED","ENTERING","EXITED","UNMOUNTED","PropTypes","_reactLifecyclesCompat","initialStatus","parentGroup","transitionGroup","isMounting","appearStatus","unmountOnExit","mountOnEnter","status","nextCallback","getChildContext","getDerivedStateFromProps","prevState","componentDidMount","updateStatus","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","mounting","performEnter","performExit","timeouts","enterTimeout","safeSetState","onTransitionEnd","cancel","nextState","setNextCallback","_this4","doesNotHaveTimeoutOrListener","addEndListener","childProps","noop","polyfill","componentWillMount","componentWillReceiveProps","componentWillUpdate","__reactInternalSnapshotFlag","__reactInternalSnapshot","getSnapshotBeforeUpdate","isReactComponent","foundWillMountName","foundWillReceivePropsName","foundWillUpdateName","UNSAFE_componentWillMount","UNSAFE_componentWillReceiveProps","UNSAFE_componentWillUpdate","componentName","displayName","newApiName","maybeSnapshot","snapshot","__suppressDeprecationWarning","classNamesShape","timeoutsShape","_ChildMapping","_assertThisInitialized","firstRender","appeared","mounted","currentChildMapping","component","childFactory"],"mappings":"2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EAAW7K,EAAO2f,IAGjDN,EArFT,CAsFEve,EAAOiB,QAAQ8I,WAEjBwU,EAAgBzT,kBAAoB,CAClCunB,gBAAiB3M,EAAWzkB,QAAQ0J,OAAOJ,YAE7CgU,EAAgBvU,UAyDZ,GACJuU,EAAgB3T,aA7KG,CACjBqrB,UAAW,MACXC,aAAc,SAAsB5S,GAClC,OAAOA,IA4KX,IAAInC,GAAW,EAAI+Q,EAAuBmC,UAAU9V,GAEpD1f,EAAQoC,QAAUkgB,EAClB9U,EAAOxN,QAAUA,EAAiB","file":"4.099e24b0b9f69a74533a.js","sourcesContent":["'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _aphrodite = require('aphrodite');\n\nvar _reactScrolllock = require('react-scrolllock');\n\nvar _reactScrolllock2 = _interopRequireDefault(_reactScrolllock);\n\nvar _theme = require('./theme');\n\nvar _theme2 = _interopRequireDefault(_theme);\n\nvar _Arrow = require('./components/Arrow');\n\nvar _Arrow2 = _interopRequireDefault(_Arrow);\n\nvar _Container = require('./components/Container');\n\nvar _Container2 = _interopRequireDefault(_Container);\n\nvar _Footer = require('./components/Footer');\n\nvar _Footer2 = _interopRequireDefault(_Footer);\n\nvar _Header = require('./components/Header');\n\nvar _Header2 = _interopRequireDefault(_Header);\n\nvar _PaginatedThumbnails = require('./components/PaginatedThumbnails');\n\nvar _PaginatedThumbnails2 = _interopRequireDefault(_PaginatedThumbnails);\n\nvar _Portal = require('./components/Portal');\n\nvar _Portal2 = _interopRequireDefault(_Portal);\n\nvar _Spinner = require('./components/Spinner');\n\nvar _Spinner2 = _interopRequireDefault(_Spinner);\n\nvar _bindFunctions = require('./utils/bindFunctions');\n\nvar _bindFunctions2 = _interopRequireDefault(_bindFunctions);\n\nvar _canUseDom = require('./utils/canUseDom');\n\nvar _canUseDom2 = _interopRequireDefault(_canUseDom);\n\nvar _deepMerge = require('./utils/deepMerge');\n\nvar _deepMerge2 = _interopRequireDefault(_deepMerge);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// consumers sometimes provide incorrect type or casing\nfunction normalizeSourceSet(data) {\n\tvar sourceSet = data.srcSet || data.srcset;\n\n\tif (Array.isArray(sourceSet)) {\n\t\treturn sourceSet.join();\n\t}\n\n\treturn sourceSet;\n}\n\nvar Lightbox = function (_Component) {\n\t_inherits(Lightbox, _Component);\n\n\tfunction Lightbox(props) {\n\t\t_classCallCheck(this, Lightbox);\n\n\t\tvar _this = _possibleConstructorReturn(this, (Lightbox.__proto__ || Object.getPrototypeOf(Lightbox)).call(this, props));\n\n\t\t_this.theme = (0, _deepMerge2.default)(_theme2.default, props.theme);\n\t\t_this.classes = _aphrodite.StyleSheet.create((0, _deepMerge2.default)(defaultStyles, _this.theme));\n\t\t_this.state = { imageLoaded: false };\n\n\t\t_bindFunctions2.default.call(_this, ['gotoNext', 'gotoPrev', 'closeBackdrop', 'handleKeyboardInput', 'handleImageLoaded']);\n\t\treturn _this;\n\t}\n\n\t_createClass(Lightbox, [{\n\t\tkey: 'getChildContext',\n\t\tvalue: function getChildContext() {\n\t\t\treturn {\n\t\t\t\ttheme: this.theme\n\t\t\t};\n\t\t}\n\t}, {\n\t\tkey: 'componentDidMount',\n\t\tvalue: function componentDidMount() {\n\t\t\tif (this.props.isOpen) {\n\t\t\t\tif (this.props.enableKeyboardInput) {\n\t\t\t\t\twindow.addEventListener('keydown', this.handleKeyboardInput);\n\t\t\t\t}\n\t\t\t\tif (typeof this.props.currentImage === 'number') {\n\t\t\t\t\tthis.preloadImage(this.props.currentImage, this.handleImageLoaded);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'componentWillReceiveProps',\n\t\tvalue: function componentWillReceiveProps(nextProps) {\n\t\t\tif (!_canUseDom2.default) return;\n\n\t\t\t// preload images\n\t\t\tif (nextProps.preloadNextImage) {\n\t\t\t\tvar currentIndex = this.props.currentImage;\n\t\t\t\tvar nextIndex = nextProps.currentImage + 1;\n\t\t\t\tvar prevIndex = nextProps.currentImage - 1;\n\t\t\t\tvar preloadIndex = void 0;\n\n\t\t\t\tif (currentIndex && nextProps.currentImage > currentIndex) {\n\t\t\t\t\tpreloadIndex = nextIndex;\n\t\t\t\t} else if (currentIndex && nextProps.currentImage < currentIndex) {\n\t\t\t\t\tpreloadIndex = prevIndex;\n\t\t\t\t}\n\n\t\t\t\t// if we know the user's direction just get one image\n\t\t\t\t// otherwise, to be safe, we need to grab one in each direction\n\t\t\t\tif (preloadIndex) {\n\t\t\t\t\tthis.preloadImage(preloadIndex);\n\t\t\t\t} else {\n\t\t\t\t\tthis.preloadImage(prevIndex);\n\t\t\t\t\tthis.preloadImage(nextIndex);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// preload current image\n\t\t\tif (this.props.currentImage !== nextProps.currentImage || !this.props.isOpen && nextProps.isOpen) {\n\t\t\t\tvar img = this.preloadImageData(nextProps.images[nextProps.currentImage], this.handleImageLoaded);\n\t\t\t\tif (img) this.setState({ imageLoaded: img.complete });\n\t\t\t}\n\n\t\t\t// add/remove event listeners\n\t\t\tif (!this.props.isOpen && nextProps.isOpen && nextProps.enableKeyboardInput) {\n\t\t\t\twindow.addEventListener('keydown', this.handleKeyboardInput);\n\t\t\t}\n\t\t\tif (!nextProps.isOpen && nextProps.enableKeyboardInput) {\n\t\t\t\twindow.removeEventListener('keydown', this.handleKeyboardInput);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'componentWillUnmount',\n\t\tvalue: function componentWillUnmount() {\n\t\t\tif (this.props.enableKeyboardInput) {\n\t\t\t\twindow.removeEventListener('keydown', this.handleKeyboardInput);\n\t\t\t}\n\t\t}\n\n\t\t// ==============================\n\t\t// METHODS\n\t\t// ==============================\n\n\t}, {\n\t\tkey: 'preloadImage',\n\t\tvalue: function preloadImage(idx, onload) {\n\t\t\treturn this.preloadImageData(this.props.images[idx], onload);\n\t\t}\n\t}, {\n\t\tkey: 'preloadImageData',\n\t\tvalue: function preloadImageData(data, onload) {\n\t\t\tif (!data) return;\n\t\t\tvar img = new Image();\n\t\t\tvar sourceSet = normalizeSourceSet(data);\n\n\t\t\t// TODO: add error handling for missing images\n\t\t\timg.onerror = onload;\n\t\t\timg.onload = onload;\n\t\t\timg.src = data.src;\n\n\t\t\tif (sourceSet) img.srcset = sourceSet;\n\n\t\t\treturn img;\n\t\t}\n\t}, {\n\t\tkey: 'gotoNext',\n\t\tvalue: function gotoNext(event) {\n\t\t\tvar _props = this.props,\n\t\t\t currentImage = _props.currentImage,\n\t\t\t images = _props.images;\n\t\t\tvar imageLoaded = this.state.imageLoaded;\n\n\n\t\t\tif (!imageLoaded || currentImage === images.length - 1) return;\n\n\t\t\tif (event) {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tevent.stopPropagation();\n\t\t\t}\n\n\t\t\tthis.props.onClickNext();\n\t\t}\n\t}, {\n\t\tkey: 'gotoPrev',\n\t\tvalue: function gotoPrev(event) {\n\t\t\tvar currentImage = this.props.currentImage;\n\t\t\tvar imageLoaded = this.state.imageLoaded;\n\n\n\t\t\tif (!imageLoaded || currentImage === 0) return;\n\n\t\t\tif (event) {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tevent.stopPropagation();\n\t\t\t}\n\n\t\t\tthis.props.onClickPrev();\n\t\t}\n\t}, {\n\t\tkey: 'closeBackdrop',\n\t\tvalue: function closeBackdrop(event) {\n\t\t\t// make sure event only happens if they click the backdrop\n\t\t\t// and if the caption is widening the figure element let that respond too\n\t\t\tif (event.target.id === 'lightboxBackdrop' || event.target.tagName === 'FIGURE') {\n\t\t\t\tthis.props.onClose();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'handleKeyboardInput',\n\t\tvalue: function handleKeyboardInput(event) {\n\t\t\tif (event.keyCode === 37) {\n\t\t\t\t// left\n\t\t\t\tthis.gotoPrev(event);\n\t\t\t\treturn true;\n\t\t\t} else if (event.keyCode === 39) {\n\t\t\t\t// right\n\t\t\t\tthis.gotoNext(event);\n\t\t\t\treturn true;\n\t\t\t} else if (event.keyCode === 27) {\n\t\t\t\t// esc\n\t\t\t\tthis.props.onClose();\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}, {\n\t\tkey: 'handleImageLoaded',\n\t\tvalue: function handleImageLoaded() {\n\t\t\tthis.setState({ imageLoaded: true });\n\t\t}\n\n\t\t// ==============================\n\t\t// RENDERERS\n\t\t// ==============================\n\n\t}, {\n\t\tkey: 'renderArrowPrev',\n\t\tvalue: function renderArrowPrev() {\n\t\t\tif (this.props.currentImage === 0) return null;\n\n\t\t\treturn _react2.default.createElement(_Arrow2.default, {\n\t\t\t\tdirection: 'left',\n\t\t\t\ticon: 'arrowLeft',\n\t\t\t\tonClick: this.gotoPrev,\n\t\t\t\ttitle: this.props.leftArrowTitle,\n\t\t\t\ttype: 'button'\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'renderArrowNext',\n\t\tvalue: function renderArrowNext() {\n\t\t\tif (this.props.currentImage === this.props.images.length - 1) return null;\n\n\t\t\treturn _react2.default.createElement(_Arrow2.default, {\n\t\t\t\tdirection: 'right',\n\t\t\t\ticon: 'arrowRight',\n\t\t\t\tonClick: this.gotoNext,\n\t\t\t\ttitle: this.props.rightArrowTitle,\n\t\t\t\ttype: 'button'\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'renderDialog',\n\t\tvalue: function renderDialog() {\n\t\t\tvar _props2 = this.props,\n\t\t\t backdropClosesModal = _props2.backdropClosesModal,\n\t\t\t isOpen = _props2.isOpen,\n\t\t\t showThumbnails = _props2.showThumbnails,\n\t\t\t width = _props2.width;\n\t\t\tvar imageLoaded = this.state.imageLoaded;\n\n\n\t\t\tif (!isOpen) return _react2.default.createElement('span', { key: 'closed' });\n\n\t\t\tvar offsetThumbnails = 0;\n\t\t\tif (showThumbnails) {\n\t\t\t\toffsetThumbnails = this.theme.thumbnail.size + this.theme.container.gutter.vertical;\n\t\t\t}\n\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t_Container2.default,\n\t\t\t\t{\n\t\t\t\t\tkey: 'open',\n\t\t\t\t\tonClick: backdropClosesModal && this.closeBackdrop,\n\t\t\t\t\tonTouchEnd: backdropClosesModal && this.closeBackdrop\n\t\t\t\t},\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\tnull,\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: (0, _aphrodite.css)(this.classes.content), style: { marginBottom: offsetThumbnails, maxWidth: width } },\n\t\t\t\t\t\timageLoaded && this.renderHeader(),\n\t\t\t\t\t\tthis.renderImages(),\n\t\t\t\t\t\tthis.renderSpinner(),\n\t\t\t\t\t\timageLoaded && this.renderFooter()\n\t\t\t\t\t),\n\t\t\t\t\timageLoaded && this.renderThumbnails(),\n\t\t\t\t\timageLoaded && this.renderArrowPrev(),\n\t\t\t\t\timageLoaded && this.renderArrowNext(),\n\t\t\t\t\tthis.props.preventScroll && _react2.default.createElement(_reactScrolllock2.default, null)\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}, {\n\t\tkey: 'renderImages',\n\t\tvalue: function renderImages() {\n\t\t\tvar _props3 = this.props,\n\t\t\t currentImage = _props3.currentImage,\n\t\t\t images = _props3.images,\n\t\t\t onClickImage = _props3.onClickImage,\n\t\t\t showThumbnails = _props3.showThumbnails;\n\t\t\tvar imageLoaded = this.state.imageLoaded;\n\n\n\t\t\tif (!images || !images.length) return null;\n\n\t\t\tvar image = images[currentImage];\n\t\t\tvar sourceSet = normalizeSourceSet(image);\n\t\t\tvar sizes = sourceSet ? '100vw' : null;\n\n\t\t\tvar thumbnailsSize = showThumbnails ? this.theme.thumbnail.size : 0;\n\t\t\tvar heightOffset = this.theme.header.height + this.theme.footer.height + thumbnailsSize + this.theme.container.gutter.vertical + 'px';\n\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t'figure',\n\t\t\t\t{ className: (0, _aphrodite.css)(this.classes.figure) },\n\t\t\t\t_react2.default.createElement('img', {\n\t\t\t\t\tclassName: (0, _aphrodite.css)(this.classes.image, imageLoaded && this.classes.imageLoaded),\n\t\t\t\t\tonClick: onClickImage,\n\t\t\t\t\tsizes: sizes,\n\t\t\t\t\talt: image.alt,\n\t\t\t\t\tsrc: image.src,\n\t\t\t\t\tsrcSet: sourceSet,\n\t\t\t\t\tstyle: {\n\t\t\t\t\t\tcursor: onClickImage ? 'pointer' : 'auto',\n\t\t\t\t\t\tmaxHeight: 'calc(100vh - ' + heightOffset + ')'\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\t}, {\n\t\tkey: 'renderThumbnails',\n\t\tvalue: function renderThumbnails() {\n\t\t\tvar _props4 = this.props,\n\t\t\t images = _props4.images,\n\t\t\t currentImage = _props4.currentImage,\n\t\t\t onClickThumbnail = _props4.onClickThumbnail,\n\t\t\t showThumbnails = _props4.showThumbnails,\n\t\t\t thumbnailOffset = _props4.thumbnailOffset;\n\n\n\t\t\tif (!showThumbnails) return;\n\n\t\t\treturn _react2.default.createElement(_PaginatedThumbnails2.default, {\n\t\t\t\tcurrentImage: currentImage,\n\t\t\t\timages: images,\n\t\t\t\toffset: thumbnailOffset,\n\t\t\t\tonClickThumbnail: onClickThumbnail\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'renderHeader',\n\t\tvalue: function renderHeader() {\n\t\t\tvar _props5 = this.props,\n\t\t\t closeButtonTitle = _props5.closeButtonTitle,\n\t\t\t customControls = _props5.customControls,\n\t\t\t onClose = _props5.onClose,\n\t\t\t showCloseButton = _props5.showCloseButton;\n\n\n\t\t\treturn _react2.default.createElement(_Header2.default, {\n\t\t\t\tcustomControls: customControls,\n\t\t\t\tonClose: onClose,\n\t\t\t\tshowCloseButton: showCloseButton,\n\t\t\t\tcloseButtonTitle: closeButtonTitle\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'renderFooter',\n\t\tvalue: function renderFooter() {\n\t\t\tvar _props6 = this.props,\n\t\t\t currentImage = _props6.currentImage,\n\t\t\t images = _props6.images,\n\t\t\t imageCountSeparator = _props6.imageCountSeparator,\n\t\t\t showImageCount = _props6.showImageCount;\n\n\n\t\t\tif (!images || !images.length) return null;\n\n\t\t\treturn _react2.default.createElement(_Footer2.default, {\n\t\t\t\tcaption: images[currentImage].caption,\n\t\t\t\tcountCurrent: currentImage + 1,\n\t\t\t\tcountSeparator: imageCountSeparator,\n\t\t\t\tcountTotal: images.length,\n\t\t\t\tshowCount: showImageCount\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'renderSpinner',\n\t\tvalue: function renderSpinner() {\n\t\t\tvar _props7 = this.props,\n\t\t\t spinner = _props7.spinner,\n\t\t\t spinnerColor = _props7.spinnerColor,\n\t\t\t spinnerSize = _props7.spinnerSize;\n\t\t\tvar imageLoaded = this.state.imageLoaded;\n\n\t\t\tvar Spinner = spinner;\n\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: (0, _aphrodite.css)(this.classes.spinner, !imageLoaded && this.classes.spinnerActive) },\n\t\t\t\t_react2.default.createElement(Spinner, {\n\t\t\t\t\tcolor: spinnerColor,\n\t\t\t\t\tsize: spinnerSize\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\t}, {\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t_Portal2.default,\n\t\t\t\tnull,\n\t\t\t\tthis.renderDialog()\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn Lightbox;\n}(_react.Component);\n\nLightbox.propTypes = {\n\tbackdropClosesModal: _propTypes2.default.bool,\n\tcloseButtonTitle: _propTypes2.default.string,\n\tcurrentImage: _propTypes2.default.number,\n\tcustomControls: _propTypes2.default.arrayOf(_propTypes2.default.node),\n\tenableKeyboardInput: _propTypes2.default.bool,\n\timageCountSeparator: _propTypes2.default.string,\n\timages: _propTypes2.default.arrayOf(_propTypes2.default.shape({\n\t\tsrc: _propTypes2.default.string.isRequired,\n\t\tsrcSet: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.arrayOf(_propTypes2.default.string)]),\n\t\tcaption: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element]),\n\t\tthumbnail: _propTypes2.default.string\n\t})).isRequired,\n\tisOpen: _propTypes2.default.bool,\n\tleftArrowTitle: _propTypes2.default.string,\n\tonClickImage: _propTypes2.default.func,\n\tonClickNext: _propTypes2.default.func,\n\tonClickPrev: _propTypes2.default.func,\n\tonClose: _propTypes2.default.func.isRequired,\n\tpreloadNextImage: _propTypes2.default.bool,\n\tpreventScroll: _propTypes2.default.bool,\n\trightArrowTitle: _propTypes2.default.string,\n\tshowCloseButton: _propTypes2.default.bool,\n\tshowImageCount: _propTypes2.default.bool,\n\tshowThumbnails: _propTypes2.default.bool,\n\tspinner: _propTypes2.default.func,\n\tspinnerColor: _propTypes2.default.string,\n\tspinnerSize: _propTypes2.default.number,\n\ttheme: _propTypes2.default.object,\n\tthumbnailOffset: _propTypes2.default.number,\n\twidth: _propTypes2.default.number\n};\nLightbox.defaultProps = {\n\tcloseButtonTitle: 'Close (Esc)',\n\tcurrentImage: 0,\n\tenableKeyboardInput: true,\n\timageCountSeparator: ' of ',\n\tleftArrowTitle: 'Previous (Left arrow key)',\n\tonClickShowNextImage: true,\n\tpreloadNextImage: true,\n\tpreventScroll: true,\n\trightArrowTitle: 'Next (Right arrow key)',\n\tshowCloseButton: true,\n\tshowImageCount: true,\n\tspinner: _Spinner2.default,\n\tspinnerColor: 'white',\n\tspinnerSize: 100,\n\ttheme: {},\n\tthumbnailOffset: 2,\n\twidth: 1024\n};\nLightbox.childContextTypes = {\n\ttheme: _propTypes2.default.object.isRequired\n};\n\nvar defaultStyles = {\n\tcontent: {\n\t\tposition: 'relative'\n\t},\n\tfigure: {\n\t\tmargin: 0 // remove browser default\n\t},\n\timage: {\n\t\tdisplay: 'block', // removes browser default gutter\n\t\theight: 'auto',\n\t\tmargin: '0 auto', // maintain center on very short screens OR very narrow image\n\t\tmaxWidth: '100%',\n\n\t\t// disable user select\n\t\tWebkitTouchCallout: 'none',\n\t\tuserSelect: 'none',\n\n\t\t// opacity animation on image load\n\t\topacity: 0,\n\t\ttransition: 'opacity 0.3s'\n\t},\n\timageLoaded: {\n\t\topacity: 1\n\t},\n\tspinner: {\n\t\tposition: 'absolute',\n\t\ttop: '50%',\n\t\tleft: '50%',\n\t\ttransform: 'translate(-50%, -50%)',\n\n\t\t// opacity animation to make spinner appear with delay\n\t\topacity: 0,\n\t\ttransition: 'opacity 0.3s',\n\t\tpointerEvents: 'none'\n\t},\n\tspinnerActive: {\n\t\topacity: 1\n\t}\n};\n\nexports.default = Lightbox;","\"use strict\";\n\n// rawAsap provides everything we need except exception management.\nvar rawAsap = require(\"./raw\");\n// RawTasks are recycled to reduce GC churn.\nvar freeTasks = [];\n// We queue errors to ensure they are thrown in right order (FIFO).\n// Array-as-queue is good enough here, since we are just dealing with exceptions.\nvar pendingErrors = [];\nvar requestErrorThrow = rawAsap.makeRequestCallFromTimer(throwFirstError);\n\nfunction throwFirstError() {\n if (pendingErrors.length) {\n throw pendingErrors.shift();\n }\n}\n\n/**\n * Calls a task as soon as possible after returning, in its own event, with priority\n * over other events like animation, reflow, and repaint. An error thrown from an\n * event will not interrupt, nor even substantially slow down the processing of\n * other events, but will be rather postponed to a lower priority event.\n * @param {{call}} task A callable object, typically a function that takes no\n * arguments.\n */\nmodule.exports = asap;\nfunction asap(task) {\n var rawTask;\n if (freeTasks.length) {\n rawTask = freeTasks.pop();\n } else {\n rawTask = new RawTask();\n }\n rawTask.task = task;\n rawAsap(rawTask);\n}\n\n// We wrap tasks with recyclable task objects. A task object implements\n// `call`, just like a function.\nfunction RawTask() {\n this.task = null;\n}\n\n// The sole purpose of wrapping the task is to catch the exception and recycle\n// the task object after its single use.\nRawTask.prototype.call = function () {\n try {\n this.task.call();\n } catch (error) {\n if (asap.onerror) {\n // This hook exists purely for testing purposes.\n // Its name will be periodically randomized to break any code that\n // depends on its existence.\n asap.onerror(error);\n } else {\n // In a web browser, exceptions are not fatal. However, to avoid\n // slowing down the queue of pending tasks, we rethrow the error in a\n // lower priority turn.\n pendingErrors.push(error);\n requestErrorThrow();\n }\n } finally {\n this.task = null;\n freeTasks[freeTasks.length] = this;\n }\n};\n","\"use strict\";\n\n// Use the fastest means possible to execute a task in its own turn, with\n// priority over other events including IO, animation, reflow, and redraw\n// events in browsers.\n//\n// An exception thrown by a task will permanently interrupt the processing of\n// subsequent tasks. The higher level `asap` function ensures that if an\n// exception is thrown by a task, that the task queue will continue flushing as\n// soon as possible, but if you use `rawAsap` directly, you are responsible to\n// either ensure that no exceptions are thrown from your task, or to manually\n// call `rawAsap.requestFlush` if an exception is thrown.\nmodule.exports = rawAsap;\nfunction rawAsap(task) {\n if (!queue.length) {\n requestFlush();\n flushing = true;\n }\n // Equivalent to push, but avoids a function call.\n queue[queue.length] = task;\n}\n\nvar queue = [];\n// Once a flush has been requested, no further calls to `requestFlush` are\n// necessary until the next `flush` completes.\nvar flushing = false;\n// `requestFlush` is an implementation-specific method that attempts to kick\n// off a `flush` event as quickly as possible. `flush` will attempt to exhaust\n// the event queue before yielding to the browser's own event loop.\nvar requestFlush;\n// The position of the next task to execute in the task queue. This is\n// preserved between calls to `flush` so that it can be resumed if\n// a task throws an exception.\nvar index = 0;\n// If a task schedules additional tasks recursively, the task queue can grow\n// unbounded. To prevent memory exhaustion, the task queue will periodically\n// truncate already-completed tasks.\nvar capacity = 1024;\n\n// The flush function processes all tasks that have been scheduled with\n// `rawAsap` unless and until one of those tasks throws an exception.\n// If a task throws an exception, `flush` ensures that its state will remain\n// consistent and will resume where it left off when called again.\n// However, `flush` does not make any arrangements to be called again if an\n// exception is thrown.\nfunction flush() {\n while (index < queue.length) {\n var currentIndex = index;\n // Advance the index before calling the task. This ensures that we will\n // begin flushing on the next task the task throws an error.\n index = index + 1;\n queue[currentIndex].call();\n // Prevent leaking memory for long chains of recursive calls to `asap`.\n // If we call `asap` within tasks scheduled by `asap`, the queue will\n // grow, but to avoid an O(n) walk for every task we execute, we don't\n // shift tasks off the queue after they have been executed.\n // Instead, we periodically shift 1024 tasks off the queue.\n if (index > capacity) {\n // Manually shift all values starting at the index back to the\n // beginning of the queue.\n for (var scan = 0, newLength = queue.length - index; scan < newLength; scan++) {\n queue[scan] = queue[scan + index];\n }\n queue.length -= index;\n index = 0;\n }\n }\n queue.length = 0;\n index = 0;\n flushing = false;\n}\n\n// `requestFlush` is implemented using a strategy based on data collected from\n// every available SauceLabs Selenium web driver worker at time of writing.\n// https://docs.google.com/spreadsheets/d/1mG-5UYGup5qxGdEMWkhP6BWCz053NUb2E1QoUTU16uA/edit#gid=783724593\n\n// Safari 6 and 6.1 for desktop, iPad, and iPhone are the only browsers that\n// have WebKitMutationObserver but not un-prefixed MutationObserver.\n// Must use `global` or `self` instead of `window` to work in both frames and web\n// workers. `global` is a provision of Browserify, Mr, Mrs, or Mop.\n\n/* globals self */\nvar scope = typeof global !== \"undefined\" ? global : self;\nvar BrowserMutationObserver = scope.MutationObserver || scope.WebKitMutationObserver;\n\n// MutationObservers are desirable because they have high priority and work\n// reliably everywhere they are implemented.\n// They are implemented in all modern browsers.\n//\n// - Android 4-4.3\n// - Chrome 26-34\n// - Firefox 14-29\n// - Internet Explorer 11\n// - iPad Safari 6-7.1\n// - iPhone Safari 7-7.1\n// - Safari 6-7\nif (typeof BrowserMutationObserver === \"function\") {\n requestFlush = makeRequestCallFromMutationObserver(flush);\n\n// MessageChannels are desirable because they give direct access to the HTML\n// task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera\n// 11-12, and in web workers in many engines.\n// Although message channels yield to any queued rendering and IO tasks, they\n// would be better than imposing the 4ms delay of timers.\n// However, they do not work reliably in Internet Explorer or Safari.\n\n// Internet Explorer 10 is the only browser that has setImmediate but does\n// not have MutationObservers.\n// Although setImmediate yields to the browser's renderer, it would be\n// preferrable to falling back to setTimeout since it does not have\n// the minimum 4ms penalty.\n// Unfortunately there appears to be a bug in Internet Explorer 10 Mobile (and\n// Desktop to a lesser extent) that renders both setImmediate and\n// MessageChannel useless for the purposes of ASAP.\n// https://github.com/kriskowal/q/issues/396\n\n// Timers are implemented universally.\n// We fall back to timers in workers in most engines, and in foreground\n// contexts in the following browsers.\n// However, note that even this simple case requires nuances to operate in a\n// broad spectrum of browsers.\n//\n// - Firefox 3-13\n// - Internet Explorer 6-9\n// - iPad Safari 4.3\n// - Lynx 2.8.7\n} else {\n requestFlush = makeRequestCallFromTimer(flush);\n}\n\n// `requestFlush` requests that the high priority event queue be flushed as\n// soon as possible.\n// This is useful to prevent an error thrown in a task from stalling the event\n// queue if the exception handled by Node.js’s\n// `process.on(\"uncaughtException\")` or by a domain.\nrawAsap.requestFlush = requestFlush;\n\n// To request a high priority event, we induce a mutation observer by toggling\n// the text of a text node between \"1\" and \"-1\".\nfunction makeRequestCallFromMutationObserver(callback) {\n var toggle = 1;\n var observer = new BrowserMutationObserver(callback);\n var node = document.createTextNode(\"\");\n observer.observe(node, {characterData: true});\n return function requestCall() {\n toggle = -toggle;\n node.data = toggle;\n };\n}\n\n// The message channel technique was discovered by Malte Ubl and was the\n// original foundation for this library.\n// http://www.nonblocking.io/2011/06/windownexttick.html\n\n// Safari 6.0.5 (at least) intermittently fails to create message ports on a\n// page's first load. Thankfully, this version of Safari supports\n// MutationObservers, so we don't need to fall back in that case.\n\n// function makeRequestCallFromMessageChannel(callback) {\n// var channel = new MessageChannel();\n// channel.port1.onmessage = callback;\n// return function requestCall() {\n// channel.port2.postMessage(0);\n// };\n// }\n\n// For reasons explained above, we are also unable to use `setImmediate`\n// under any circumstances.\n// Even if we were, there is another bug in Internet Explorer 10.\n// It is not sufficient to assign `setImmediate` to `requestFlush` because\n// `setImmediate` must be called *by name* and therefore must be wrapped in a\n// closure.\n// Never forget.\n\n// function makeRequestCallFromSetImmediate(callback) {\n// return function requestCall() {\n// setImmediate(callback);\n// };\n// }\n\n// Safari 6.0 has a problem where timers will get lost while the user is\n// scrolling. This problem does not impact ASAP because Safari 6.0 supports\n// mutation observers, so that implementation is used instead.\n// However, if we ever elect to use timers in Safari, the prevalent work-around\n// is to add a scroll event listener that calls for a flush.\n\n// `setTimeout` does not call the passed callback if the delay is less than\n// approximately 7 in web workers in Firefox 8 through 18, and sometimes not\n// even then.\n\nfunction makeRequestCallFromTimer(callback) {\n return function requestCall() {\n // We dispatch a timeout with a specified delay of 0 for engines that\n // can reliably accommodate that request. This will usually be snapped\n // to a 4 milisecond delay, but once we're flushing, there's no delay\n // between events.\n var timeoutHandle = setTimeout(handleTimer, 0);\n // However, since this timer gets frequently dropped in Firefox\n // workers, we enlist an interval handle that will try to fire\n // an event 20 times per second until it succeeds.\n var intervalHandle = setInterval(handleTimer, 50);\n\n function handleTimer() {\n // Whichever timer succeeds will cancel both timers and\n // execute the callback.\n clearTimeout(timeoutHandle);\n clearInterval(intervalHandle);\n callback();\n }\n };\n}\n\n// This is for `asap.js` only.\n// Its name will be periodically randomized to break any code that depends on\n// its existence.\nrawAsap.makeRequestCallFromTimer = makeRequestCallFromTimer;\n\n// ASAP was originally a nextTick shim included in Q. This was factored out\n// into this ASAP package. It was later adapted to RSVP which made further\n// amendments. These decisions, particularly to marginalize MessageChannel and\n// to capture the MutationObserver implementation in a closure, were integrated\n// back into ASAP proper.\n// https://github.com/tildeio/rsvp.js/blob/cddf7232546a9cf858524b75cde6f9edf72620a7/lib/rsvp/asap.js\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nvar _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _inlineStylePrefixerStatic = require('inline-style-prefixer/static');\n\nvar _inlineStylePrefixerStatic2 = _interopRequireDefault(_inlineStylePrefixerStatic);\n\nvar _util = require('./util');\n\n/**\n * Generate CSS for a selector and some styles.\n *\n * This function handles the media queries, pseudo selectors, and descendant\n * styles that can be used in aphrodite styles.\n *\n * @param {string} selector: A base CSS selector for the styles to be generated\n * with.\n * @param {Object} styleTypes: A list of properties of the return type of\n * StyleSheet.create, e.g. [styles.red, styles.blue].\n * @param stringHandlers: See `generateCSSRuleset`\n * @param useImportant: See `generateCSSRuleset`\n *\n * To actually generate the CSS special-construct-less styles are passed to\n * `generateCSSRuleset`.\n *\n * For instance, a call to\n *\n * generateCSSInner(\".foo\", {\n * color: \"red\",\n * \"@media screen\": {\n * height: 20,\n * \":hover\": {\n * backgroundColor: \"black\"\n * }\n * },\n * \":active\": {\n * fontWeight: \"bold\",\n * \">>bar\": {\n * _names: { \"foo_bar\": true },\n * height: 10,\n * }\n * }\n * });\n *\n * will make 5 calls to `generateCSSRuleset`:\n *\n * generateCSSRuleset(\".foo\", { color: \"red\" }, ...)\n * generateCSSRuleset(\".foo:active\", { fontWeight: \"bold\" }, ...)\n * generateCSSRuleset(\".foo:active .foo_bar\", { height: 10 }, ...)\n * // These 2 will be wrapped in @media screen {}\n * generateCSSRuleset(\".foo\", { height: 20 }, ...)\n * generateCSSRuleset(\".foo:hover\", { backgroundColor: \"black\" }, ...)\n */\nvar generateCSS = function generateCSS(selector, styleTypes, stringHandlers, useImportant) {\n var merged = styleTypes.reduce(_util.recursiveMerge);\n\n var declarations = {};\n var mediaQueries = {};\n var pseudoStyles = {};\n\n Object.keys(merged).forEach(function (key) {\n if (key[0] === ':') {\n pseudoStyles[key] = merged[key];\n } else if (key[0] === '@') {\n mediaQueries[key] = merged[key];\n } else {\n declarations[key] = merged[key];\n }\n });\n\n return generateCSSRuleset(selector, declarations, stringHandlers, useImportant) + Object.keys(pseudoStyles).map(function (pseudoSelector) {\n return generateCSSRuleset(selector + pseudoSelector, pseudoStyles[pseudoSelector], stringHandlers, useImportant);\n }).join(\"\") + Object.keys(mediaQueries).map(function (mediaQuery) {\n var ruleset = generateCSS(selector, [mediaQueries[mediaQuery]], stringHandlers, useImportant);\n return mediaQuery + '{' + ruleset + '}';\n }).join(\"\");\n};\n\nexports.generateCSS = generateCSS;\n/**\n * Helper method of generateCSSRuleset to facilitate custom handling of certain\n * CSS properties. Used for e.g. font families.\n *\n * See generateCSSRuleset for usage and documentation of paramater types.\n */\nvar runStringHandlers = function runStringHandlers(declarations, stringHandlers) {\n var result = {};\n\n Object.keys(declarations).forEach(function (key) {\n // If a handler exists for this particular key, let it interpret\n // that value first before continuing\n if (stringHandlers && stringHandlers.hasOwnProperty(key)) {\n result[key] = stringHandlers[key](declarations[key]);\n } else {\n result[key] = declarations[key];\n }\n });\n\n return result;\n};\n\n/**\n * Generate a CSS ruleset with the selector and containing the declarations.\n *\n * This function assumes that the given declarations don't contain any special\n * children (such as media queries, pseudo-selectors, or descendant styles).\n *\n * Note that this method does not deal with nesting used for e.g.\n * psuedo-selectors or media queries. That responsibility is left to the\n * `generateCSS` function.\n *\n * @param {string} selector: the selector associated with the ruleset\n * @param {Object} declarations: a map from camelCased CSS property name to CSS\n * property value.\n * @param {Object.} stringHandlers: a map from camelCased CSS\n * property name to a function which will map the given value to the value\n * that is output.\n * @param {bool} useImportant: A boolean saying whether to append \"!important\"\n * to each of the CSS declarations.\n * @returns {string} A string of raw CSS.\n *\n * Examples:\n *\n * generateCSSRuleset(\".blah\", { color: \"red\" })\n * -> \".blah{color: red !important;}\"\n * generateCSSRuleset(\".blah\", { color: \"red\" }, {}, false)\n * -> \".blah{color: red}\"\n * generateCSSRuleset(\".blah\", { color: \"red\" }, {color: c => c.toUpperCase})\n * -> \".blah{color: RED}\"\n * generateCSSRuleset(\".blah:hover\", { color: \"red\" })\n * -> \".blah:hover{color: red}\"\n */\nvar generateCSSRuleset = function generateCSSRuleset(selector, declarations, stringHandlers, useImportant) {\n var handledDeclarations = runStringHandlers(declarations, stringHandlers);\n\n var prefixedDeclarations = (0, _inlineStylePrefixerStatic2['default'])(handledDeclarations);\n\n var prefixedRules = (0, _util.flatten)((0, _util.objectToPairs)(prefixedDeclarations).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2);\n\n var key = _ref2[0];\n var value = _ref2[1];\n\n if (Array.isArray(value)) {\n var _ret = (function () {\n // inline-style-prefix-all returns an array when there should be\n // multiple rules, we will flatten to single rules\n\n var prefixedValues = [];\n var unprefixedValues = [];\n\n value.forEach(function (v) {\n if (v.indexOf('-') === 0) {\n prefixedValues.push(v);\n } else {\n unprefixedValues.push(v);\n }\n });\n\n prefixedValues.sort();\n unprefixedValues.sort();\n\n return {\n v: prefixedValues.concat(unprefixedValues).map(function (v) {\n return [key, v];\n })\n };\n })();\n\n if (typeof _ret === 'object') return _ret.v;\n }\n return [[key, value]];\n }));\n\n var rules = prefixedRules.map(function (_ref3) {\n var _ref32 = _slicedToArray(_ref3, 2);\n\n var key = _ref32[0];\n var value = _ref32[1];\n\n var stringValue = (0, _util.stringifyValue)(key, value);\n var ret = (0, _util.kebabifyStyleName)(key) + ':' + stringValue + ';';\n return useImportant === false ? ret : (0, _util.importantify)(ret);\n }).join(\"\");\n\n if (rules) {\n return selector + '{' + rules + '}';\n } else {\n return \"\";\n }\n};\nexports.generateCSSRuleset = generateCSSRuleset;","module.exports = require('./lib/static/prefixAll')\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = prefixAll;\n\nvar _prefixProps = require('./prefixProps');\n\nvar _prefixProps2 = _interopRequireDefault(_prefixProps);\n\nvar _capitalizeString = require('../utils/capitalizeString');\n\nvar _capitalizeString2 = _interopRequireDefault(_capitalizeString);\n\nvar _sortPrefixedStyle = require('../utils/sortPrefixedStyle');\n\nvar _sortPrefixedStyle2 = _interopRequireDefault(_sortPrefixedStyle);\n\nvar _position = require('./plugins/position');\n\nvar _position2 = _interopRequireDefault(_position);\n\nvar _calc = require('./plugins/calc');\n\nvar _calc2 = _interopRequireDefault(_calc);\n\nvar _cursor = require('./plugins/cursor');\n\nvar _cursor2 = _interopRequireDefault(_cursor);\n\nvar _flex = require('./plugins/flex');\n\nvar _flex2 = _interopRequireDefault(_flex);\n\nvar _sizing = require('./plugins/sizing');\n\nvar _sizing2 = _interopRequireDefault(_sizing);\n\nvar _gradient = require('./plugins/gradient');\n\nvar _gradient2 = _interopRequireDefault(_gradient);\n\nvar _transition = require('./plugins/transition');\n\nvar _transition2 = _interopRequireDefault(_transition);\n\nvar _flexboxIE = require('./plugins/flexboxIE');\n\nvar _flexboxIE2 = _interopRequireDefault(_flexboxIE);\n\nvar _flexboxOld = require('./plugins/flexboxOld');\n\nvar _flexboxOld2 = _interopRequireDefault(_flexboxOld);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// special flexbox specifications\n\n\nvar plugins = [_position2.default, _calc2.default, _cursor2.default, _sizing2.default, _gradient2.default, _transition2.default, _flexboxIE2.default, _flexboxOld2.default, _flex2.default];\n\n/**\n * Returns a prefixed version of the style object using all vendor prefixes\n * @param {Object} styles - Style object that gets prefixed properties added\n * @returns {Object} - Style object with prefixed properties and values\n */\nfunction prefixAll(styles) {\n Object.keys(styles).forEach(function (property) {\n var value = styles[property];\n if (value instanceof Object && !Array.isArray(value)) {\n // recurse through nested style objects\n styles[property] = prefixAll(value);\n } else {\n Object.keys(_prefixProps2.default).forEach(function (prefix) {\n var properties = _prefixProps2.default[prefix];\n // add prefixes if needed\n if (properties[property]) {\n styles[prefix + (0, _capitalizeString2.default)(property)] = value;\n }\n });\n }\n });\n\n Object.keys(styles).forEach(function (property) {\n [].concat(styles[property]).forEach(function (value, index) {\n // resolve every special plugins\n plugins.forEach(function (plugin) {\n return assignStyles(styles, plugin(property, value));\n });\n });\n });\n\n return (0, _sortPrefixedStyle2.default)(styles);\n}\n\nfunction assignStyles(base) {\n var extend = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n Object.keys(extend).forEach(function (property) {\n var baseValue = base[property];\n if (Array.isArray(baseValue)) {\n [].concat(extend[property]).forEach(function (value) {\n var valueIndex = baseValue.indexOf(value);\n if (valueIndex > -1) {\n base[property].splice(valueIndex, 1);\n }\n base[property].push(value);\n });\n } else {\n base[property] = extend[property];\n }\n });\n}\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = sortPrefixedStyle;\n\nvar _isPrefixedProperty = require('./isPrefixedProperty');\n\nvar _isPrefixedProperty2 = _interopRequireDefault(_isPrefixedProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sortPrefixedStyle(style) {\n return Object.keys(style).sort(function (left, right) {\n if ((0, _isPrefixedProperty2.default)(left) && !(0, _isPrefixedProperty2.default)(right)) {\n return -1;\n } else if (!(0, _isPrefixedProperty2.default)(left) && (0, _isPrefixedProperty2.default)(right)) {\n return 1;\n }\n return 0;\n }).reduce(function (sortedStyle, prop) {\n sortedStyle[prop] = style[prop];\n return sortedStyle;\n }, {});\n}\nmodule.exports = exports['default'];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nexports.default = function (property) {\n return property.match(/^(Webkit|Moz|O|ms)/) !== null;\n};\n\nmodule.exports = exports[\"default\"];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = position;\nfunction position(property, value) {\n if (property === 'position' && value === 'sticky') {\n return { position: ['-webkit-sticky', 'sticky'] };\n }\n}\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = calc;\n\nvar _joinPrefixedValue = require('../../utils/joinPrefixedValue');\n\nvar _joinPrefixedValue2 = _interopRequireDefault(_joinPrefixedValue);\n\nvar _isPrefixedValue = require('../../utils/isPrefixedValue');\n\nvar _isPrefixedValue2 = _interopRequireDefault(_isPrefixedValue);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction calc(property, value) {\n if (typeof value === 'string' && !(0, _isPrefixedValue2.default)(value) && value.indexOf('calc(') > -1) {\n return (0, _joinPrefixedValue2.default)(property, value, function (prefix, value) {\n return value.replace(/calc\\(/g, prefix + 'calc(');\n });\n }\n}\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = cursor;\n\nvar _joinPrefixedValue = require('../../utils/joinPrefixedValue');\n\nvar _joinPrefixedValue2 = _interopRequireDefault(_joinPrefixedValue);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar values = {\n 'zoom-in': true,\n 'zoom-out': true,\n grab: true,\n grabbing: true\n};\n\nfunction cursor(property, value) {\n if (property === 'cursor' && values[value]) {\n return (0, _joinPrefixedValue2.default)(property, value);\n }\n}\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = flex;\nvar values = { flex: true, 'inline-flex': true };\n\nfunction flex(property, value) {\n if (property === 'display' && values[value]) {\n return {\n display: ['-webkit-box', '-moz-box', '-ms-' + value + 'box', '-webkit-' + value, value]\n };\n }\n}\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = sizing;\n\nvar _joinPrefixedValue = require('../../utils/joinPrefixedValue');\n\nvar _joinPrefixedValue2 = _interopRequireDefault(_joinPrefixedValue);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar properties = {\n maxHeight: true,\n maxWidth: true,\n width: true,\n height: true,\n columnWidth: true,\n minWidth: true,\n minHeight: true\n};\nvar values = {\n 'min-content': true,\n 'max-content': true,\n 'fill-available': true,\n 'fit-content': true,\n 'contain-floats': true\n};\n\nfunction sizing(property, value) {\n if (properties[property] && values[value]) {\n return (0, _joinPrefixedValue2.default)(property, value);\n }\n}\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = gradient;\n\nvar _joinPrefixedValue = require('../../utils/joinPrefixedValue');\n\nvar _joinPrefixedValue2 = _interopRequireDefault(_joinPrefixedValue);\n\nvar _isPrefixedValue = require('../../utils/isPrefixedValue');\n\nvar _isPrefixedValue2 = _interopRequireDefault(_isPrefixedValue);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar values = /linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;\n\nfunction gradient(property, value) {\n if (typeof value === 'string' && !(0, _isPrefixedValue2.default)(value) && value.match(values) !== null) {\n return (0, _joinPrefixedValue2.default)(property, value);\n }\n}\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = transition;\n\nvar _hyphenateStyleName = require('hyphenate-style-name');\n\nvar _hyphenateStyleName2 = _interopRequireDefault(_hyphenateStyleName);\n\nvar _capitalizeString = require('../../utils/capitalizeString');\n\nvar _capitalizeString2 = _interopRequireDefault(_capitalizeString);\n\nvar _isPrefixedValue = require('../../utils/isPrefixedValue');\n\nvar _isPrefixedValue2 = _interopRequireDefault(_isPrefixedValue);\n\nvar _prefixProps = require('../prefixProps');\n\nvar _prefixProps2 = _interopRequireDefault(_prefixProps);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar properties = {\n transition: true,\n transitionProperty: true,\n WebkitTransition: true,\n WebkitTransitionProperty: true\n};\n\nfunction transition(property, value) {\n // also check for already prefixed transitions\n if (typeof value === 'string' && properties[property]) {\n var _ref2;\n\n var outputValue = prefixValue(value);\n var webkitOutput = outputValue.split(/,(?![^()]*(?:\\([^()]*\\))?\\))/g).filter(function (value) {\n return value.match(/-moz-|-ms-/) === null;\n }).join(',');\n\n // if the property is already prefixed\n if (property.indexOf('Webkit') > -1) {\n return _defineProperty({}, property, webkitOutput);\n }\n\n return _ref2 = {}, _defineProperty(_ref2, 'Webkit' + (0, _capitalizeString2.default)(property), webkitOutput), _defineProperty(_ref2, property, outputValue), _ref2;\n }\n}\n\nfunction prefixValue(value) {\n if ((0, _isPrefixedValue2.default)(value)) {\n return value;\n }\n\n // only split multi values, not cubic beziers\n var multipleValues = value.split(/,(?![^()]*(?:\\([^()]*\\))?\\))/g);\n\n // iterate each single value and check for transitioned properties\n // that need to be prefixed as well\n multipleValues.forEach(function (val, index) {\n multipleValues[index] = Object.keys(_prefixProps2.default).reduce(function (out, prefix) {\n var dashCasePrefix = '-' + prefix.toLowerCase() + '-';\n\n Object.keys(_prefixProps2.default[prefix]).forEach(function (prop) {\n var dashCaseProperty = (0, _hyphenateStyleName2.default)(prop);\n\n if (val.indexOf(dashCaseProperty) > -1 && dashCaseProperty !== 'order') {\n // join all prefixes and create a new value\n out = val.replace(dashCaseProperty, dashCasePrefix + dashCaseProperty) + ',' + out;\n }\n });\n return out;\n }, val);\n });\n\n return multipleValues.join(',');\n}\nmodule.exports = exports['default'];","/* eslint-disable no-var, prefer-template */\nvar uppercasePattern = /[A-Z]/g\nvar msPattern = /^ms-/\nvar cache = {}\n\nfunction toHyphenLower(match) {\n return '-' + match.toLowerCase()\n}\n\nfunction hyphenateStyleName(name) {\n if (cache.hasOwnProperty(name)) {\n return cache[name]\n }\n\n var hName = name.replace(uppercasePattern, toHyphenLower)\n return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)\n}\n\nexport default hyphenateStyleName\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = flexboxIE;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar alternativeValues = {\n 'space-around': 'distribute',\n 'space-between': 'justify',\n 'flex-start': 'start',\n 'flex-end': 'end'\n};\nvar alternativeProps = {\n alignContent: 'msFlexLinePack',\n alignSelf: 'msFlexItemAlign',\n alignItems: 'msFlexAlign',\n justifyContent: 'msFlexPack',\n order: 'msFlexOrder',\n flexGrow: 'msFlexPositive',\n flexShrink: 'msFlexNegative',\n flexBasis: 'msPreferredSize'\n};\n\nfunction flexboxIE(property, value) {\n if (alternativeProps[property]) {\n return _defineProperty({}, alternativeProps[property], alternativeValues[value] || value);\n }\n}\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = flexboxOld;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar alternativeValues = {\n 'space-around': 'justify',\n 'space-between': 'justify',\n 'flex-start': 'start',\n 'flex-end': 'end',\n 'wrap-reverse': 'multiple',\n wrap: 'multiple'\n};\n\nvar alternativeProps = {\n alignItems: 'WebkitBoxAlign',\n justifyContent: 'WebkitBoxPack',\n flexWrap: 'WebkitBoxLines'\n};\n\nfunction flexboxOld(property, value) {\n if (property === 'flexDirection' && typeof value === 'string') {\n return {\n WebkitBoxOrient: value.indexOf('column') > -1 ? 'vertical' : 'horizontal',\n WebkitBoxDirection: value.indexOf('reverse') > -1 ? 'reverse' : 'normal'\n };\n }\n if (alternativeProps[property]) {\n return _defineProperty({}, alternativeProps[property], alternativeValues[value] || value);\n }\n}\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _ScrollLock = require('./ScrollLock');\n\nObject.defineProperty(exports, 'default', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_ScrollLock).default;\n }\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _exenv = require('exenv');\n\nvar _reactPropToggle = require('react-prop-toggle');\n\nvar _utils = require('./utils');\n\nvar _withTouchListeners = require('./withTouchListeners');\n\nvar _withTouchListeners2 = _interopRequireDefault(_withTouchListeners);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar LOCK_COUNT = 0;\n\nvar ScrollLock = function (_PureComponent) {\n _inherits(ScrollLock, _PureComponent);\n\n function ScrollLock() {\n _classCallCheck(this, ScrollLock);\n\n return _possibleConstructorReturn(this, (ScrollLock.__proto__ || Object.getPrototypeOf(ScrollLock)).apply(this, arguments));\n }\n\n _createClass(ScrollLock, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n LOCK_COUNT++;\n if (_exenv.canUseDOM) {\n this.initialHeight = window.innerHeight;\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n LOCK_COUNT = Math.max(LOCK_COUNT - 1, 0);\n\n if (_exenv.canUseDOM) {\n var offset = window.innerHeight - this.initialHeight;\n\n // adjust scroll if the window has been resized since the lock was engaged\n if (offset) {\n window.scrollTo(0, window.pageYOffset + offset);\n }\n }\n\n // reset the initial height in case this scroll lock is used again\n this.initialHeight = window.innerHeight;\n }\n }, {\n key: 'render',\n value: function render() {\n var accountForScrollbars = this.props.accountForScrollbars;\n\n // avoid overly incrementing padding\n\n var scrollbarSpacer = accountForScrollbars && LOCK_COUNT < 1 ? { 'padding-right': (0, _utils.getPadding)() + 'px' } : {};\n\n var height = (0, _utils.getDocumentHeight)() + 'px';\n\n return _react2.default.createElement(_reactPropToggle.SimpleToggle, {\n styles: _extends({\n 'box-sizing': 'border-box', // account for possible declaration `width: 100%;` on body\n overflow: 'hidden',\n position: 'relative',\n height: height\n }, scrollbarSpacer)\n });\n }\n }]);\n\n return ScrollLock;\n}(_react.PureComponent);\n\nScrollLock.defaultProps = {\n accountForScrollbars: true\n};\nexports.default = (0, _withTouchListeners2.default)(ScrollLock);","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _LifeCycleProvider = require('./LifeCycleProvider');\n\nObject.defineProperty(exports, 'default', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_LifeCycleProvider).default;\n }\n});\n\nvar _PropToggle = require('./PropToggle');\n\nObject.defineProperty(exports, 'SimpleToggle', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_PropToggle).default;\n }\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _PropToggle = require('./PropToggle');\n\nvar _PropToggle2 = _interopRequireDefault(_PropToggle);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nvar LifeCycleProvider = function LifeCycleProvider(_ref) {\n var isActive = _ref.isActive,\n props = _objectWithoutProperties(_ref, ['isActive']);\n\n return isActive ? _react2.default.createElement(_PropToggle2.default, props) : null;\n};\n\nLifeCycleProvider.defaultProps = _PropToggle.defaultProps;\n\nexports.default = LifeCycleProvider;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nexports.default = withTouchListeners;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _exenv = require('exenv');\n\nvar _utils = require('./utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction withTouchListeners(WrappedComponent) {\n return function (_PureComponent) {\n _inherits(TouchProvider, _PureComponent);\n\n function TouchProvider() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, TouchProvider);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = TouchProvider.__proto__ || Object.getPrototypeOf(TouchProvider)).call.apply(_ref, [this].concat(args))), _this), _this.listenerOptions = {\n capture: false,\n passive: false\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(TouchProvider, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (!_exenv.canUseDOM) return;\n\n var touchScrollTarget = this.props.touchScrollTarget;\n\n var target = document.body;\n\n // account for touch devices\n if (target && (0, _utils.isTouchDevice)()) {\n // Mobile Safari ignores { overflow: hidden } declaration on the body.\n target.addEventListener('touchmove', _utils.preventTouchMove, this.listenerOptions);\n\n // Allow scroll on provided target\n if (touchScrollTarget) {\n touchScrollTarget.addEventListener('touchstart', _utils.preventInertiaScroll, this.listenerOptions);\n touchScrollTarget.addEventListener('touchmove', _utils.allowTouchMove, this.listenerOptions);\n }\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (!_exenv.canUseDOM) return;\n\n var touchScrollTarget = this.props.touchScrollTarget;\n\n var target = document.body;\n\n // remove touch listeners\n if (target && (0, _utils.isTouchDevice)()) {\n target.removeEventListener('touchmove', _utils.preventTouchMove, this.listenerOptions);\n\n if (touchScrollTarget) {\n touchScrollTarget.removeEventListener('touchstart', _utils.preventInertiaScroll, this.listenerOptions);\n touchScrollTarget.removeEventListener('touchmove', _utils.allowTouchMove, this.listenerOptions);\n }\n }\n }\n }, {\n key: 'render',\n value: function render() {\n return _react2.default.createElement(WrappedComponent, this.props);\n }\n }]);\n\n return TouchProvider;\n }(_react.PureComponent);\n}","// Module with the same interface as the core aphrodite module,\n// except that styles injected do not automatically have !important\n// appended to them.\n//\n'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nvar _inject = require('./inject');\n\nvar _indexJs = require('./index.js');\n\nvar css = function css() {\n for (var _len = arguments.length, styleDefinitions = Array(_len), _key = 0; _key < _len; _key++) {\n styleDefinitions[_key] = arguments[_key];\n }\n\n var useImportant = false; // Don't append !important to style definitions\n return (0, _inject.injectAndGetClassName)(useImportant, styleDefinitions);\n};\n\nexports.StyleSheet = _indexJs.StyleSheet;\nexports.StyleSheetServer = _indexJs.StyleSheetServer;\nexports.StyleSheetTestUtils = _indexJs.StyleSheetTestUtils;\nexports.css = css;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nexports.default = function (fill) {\n\treturn \"\\n\\t\\t\\n\\t\";\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nexports.default = function (fill) {\n\treturn \"\\n\\t\\t\\n\\t\";\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nexports.default = function (fill) {\n\treturn \"\\n\\t\\t\\n\\t\";\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _noImportant = require('aphrodite/no-important');\n\nvar _theme = require('../theme');\n\nvar _theme2 = _interopRequireDefault(_theme);\n\nvar _deepMerge = require('../utils/deepMerge');\n\nvar _deepMerge2 = _interopRequireDefault(_deepMerge);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction Container(_ref, _ref2) {\n\tvar theme = _ref2.theme;\n\n\tvar props = _objectWithoutProperties(_ref, []);\n\n\tvar classes = _noImportant.StyleSheet.create((0, _deepMerge2.default)(defaultStyles, theme));\n\n\treturn _react2.default.createElement('div', _extends({ id: 'lightboxBackdrop',\n\t\tclassName: (0, _noImportant.css)(classes.container)\n\t}, props));\n}\n\nContainer.contextTypes = {\n\ttheme: _propTypes2.default.object.isRequired\n};\n\nvar defaultStyles = {\n\tcontainer: {\n\t\talignItems: 'center',\n\t\tbackgroundColor: _theme2.default.container.background,\n\t\tboxSizing: 'border-box',\n\t\tdisplay: 'flex',\n\t\theight: '100%',\n\t\tjustifyContent: 'center',\n\t\tleft: 0,\n\t\tpaddingBottom: _theme2.default.container.gutter.vertical,\n\t\tpaddingLeft: _theme2.default.container.gutter.horizontal,\n\t\tpaddingRight: _theme2.default.container.gutter.horizontal,\n\t\tpaddingTop: _theme2.default.container.gutter.vertical,\n\t\tposition: 'fixed',\n\t\ttop: 0,\n\t\twidth: '100%',\n\t\tzIndex: _theme2.default.container.zIndex\n\t}\n};\n\nexports.default = Container;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _noImportant = require('aphrodite/no-important');\n\nvar _theme = require('../theme');\n\nvar _theme2 = _interopRequireDefault(_theme);\n\nvar _deepMerge = require('../utils/deepMerge');\n\nvar _deepMerge2 = _interopRequireDefault(_deepMerge);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction Footer(_ref, _ref2) {\n\tvar theme = _ref2.theme;\n\n\tvar caption = _ref.caption,\n\t countCurrent = _ref.countCurrent,\n\t countSeparator = _ref.countSeparator,\n\t countTotal = _ref.countTotal,\n\t showCount = _ref.showCount,\n\t props = _objectWithoutProperties(_ref, ['caption', 'countCurrent', 'countSeparator', 'countTotal', 'showCount']);\n\n\tif (!caption && !showCount) return null;\n\n\tvar classes = _noImportant.StyleSheet.create((0, _deepMerge2.default)(defaultStyles, theme));\n\n\tvar imageCount = showCount ? _react2.default.createElement(\n\t\t'div',\n\t\t{ className: (0, _noImportant.css)(classes.footerCount) },\n\t\tcountCurrent,\n\t\tcountSeparator,\n\t\tcountTotal\n\t) : _react2.default.createElement('span', null);\n\n\treturn _react2.default.createElement(\n\t\t'div',\n\t\t_extends({ className: (0, _noImportant.css)(classes.footer) }, props),\n\t\tcaption ? _react2.default.createElement(\n\t\t\t'figcaption',\n\t\t\t{ className: (0, _noImportant.css)(classes.footerCaption) },\n\t\t\tcaption\n\t\t) : _react2.default.createElement('span', null),\n\t\timageCount\n\t);\n}\n\nFooter.propTypes = {\n\tcaption: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element]),\n\tcountCurrent: _propTypes2.default.number,\n\tcountSeparator: _propTypes2.default.string,\n\tcountTotal: _propTypes2.default.number,\n\tshowCount: _propTypes2.default.bool\n};\nFooter.contextTypes = {\n\ttheme: _propTypes2.default.object.isRequired\n};\n\nvar defaultStyles = {\n\tfooter: {\n\t\tboxSizing: 'border-box',\n\t\tcolor: _theme2.default.footer.color,\n\t\tcursor: 'auto',\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\tleft: 0,\n\t\tlineHeight: 1.3,\n\t\tpaddingBottom: _theme2.default.footer.gutter.vertical,\n\t\tpaddingLeft: _theme2.default.footer.gutter.horizontal,\n\t\tpaddingRight: _theme2.default.footer.gutter.horizontal,\n\t\tpaddingTop: _theme2.default.footer.gutter.vertical\n\t},\n\tfooterCount: {\n\t\tcolor: _theme2.default.footer.count.color,\n\t\tfontSize: _theme2.default.footer.count.fontSize,\n\t\tpaddingLeft: '1em' // add a small gutter for the caption\n\t},\n\tfooterCaption: {\n\t\tflex: '1 1 0'\n\t}\n};\n\nexports.default = Footer;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _noImportant = require('aphrodite/no-important');\n\nvar _theme = require('../theme');\n\nvar _theme2 = _interopRequireDefault(_theme);\n\nvar _deepMerge = require('../utils/deepMerge');\n\nvar _deepMerge2 = _interopRequireDefault(_deepMerge);\n\nvar _Icon = require('./Icon');\n\nvar _Icon2 = _interopRequireDefault(_Icon);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction Header(_ref, _ref2) {\n\tvar theme = _ref2.theme;\n\n\tvar customControls = _ref.customControls,\n\t onClose = _ref.onClose,\n\t showCloseButton = _ref.showCloseButton,\n\t closeButtonTitle = _ref.closeButtonTitle,\n\t props = _objectWithoutProperties(_ref, ['customControls', 'onClose', 'showCloseButton', 'closeButtonTitle']);\n\n\tvar classes = _noImportant.StyleSheet.create((0, _deepMerge2.default)(defaultStyles, theme));\n\n\treturn _react2.default.createElement(\n\t\t'div',\n\t\t_extends({ className: (0, _noImportant.css)(classes.header) }, props),\n\t\tcustomControls ? customControls : _react2.default.createElement('span', null),\n\t\t!!showCloseButton && _react2.default.createElement(\n\t\t\t'button',\n\t\t\t{\n\t\t\t\ttitle: closeButtonTitle,\n\t\t\t\tclassName: (0, _noImportant.css)(classes.close),\n\t\t\t\tonClick: onClose\n\t\t\t},\n\t\t\t_react2.default.createElement(_Icon2.default, { fill: !!theme.close && theme.close.fill || _theme2.default.close.fill, type: 'close' })\n\t\t)\n\t);\n}\n\nHeader.propTypes = {\n\tcustomControls: _propTypes2.default.array,\n\tonClose: _propTypes2.default.func.isRequired,\n\tshowCloseButton: _propTypes2.default.bool\n};\nHeader.contextTypes = {\n\ttheme: _propTypes2.default.object.isRequired\n};\n\nvar defaultStyles = {\n\theader: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\theight: _theme2.default.header.height\n\t},\n\tclose: {\n\t\tbackground: 'none',\n\t\tborder: 'none',\n\t\tcursor: 'pointer',\n\t\toutline: 'none',\n\t\tposition: 'relative',\n\t\ttop: 0,\n\t\tverticalAlign: 'bottom',\n\t\tzIndex: 1,\n\n\t\t// increase hit area\n\t\theight: 40,\n\t\tmarginRight: -10,\n\t\tpadding: 10,\n\t\twidth: 40\n\t}\n};\n\nexports.default = Header;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _noImportant = require('aphrodite/no-important');\n\nvar _Thumbnail = require('./Thumbnail');\n\nvar _Thumbnail2 = _interopRequireDefault(_Thumbnail);\n\nvar _Arrow = require('./Arrow');\n\nvar _Arrow2 = _interopRequireDefault(_Arrow);\n\nvar _theme = require('../theme');\n\nvar _theme2 = _interopRequireDefault(_theme);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar classes = _noImportant.StyleSheet.create({\n\tpaginatedThumbnails: {\n\t\tbottom: _theme2.default.container.gutter.vertical,\n\t\theight: _theme2.default.thumbnail.size,\n\t\tpadding: '0 50px',\n\t\tposition: 'absolute',\n\t\ttextAlign: 'center',\n\t\twhiteSpace: 'nowrap',\n\t\tleft: '50%',\n\t\ttransform: 'translateX(-50%)'\n\t}\n});\n\nvar arrowStyles = {\n\theight: _theme2.default.thumbnail.size + _theme2.default.thumbnail.gutter * 2,\n\twidth: 40\n};\n\nvar PaginatedThumbnails = function (_Component) {\n\t_inherits(PaginatedThumbnails, _Component);\n\n\tfunction PaginatedThumbnails(props) {\n\t\t_classCallCheck(this, PaginatedThumbnails);\n\n\t\tvar _this = _possibleConstructorReturn(this, (PaginatedThumbnails.__proto__ || Object.getPrototypeOf(PaginatedThumbnails)).call(this, props));\n\n\t\t_this.state = {\n\t\t\thasCustomPage: false\n\t\t};\n\n\t\t_this.gotoPrev = _this.gotoPrev.bind(_this);\n\t\t_this.gotoNext = _this.gotoNext.bind(_this);\n\t\treturn _this;\n\t}\n\n\t_createClass(PaginatedThumbnails, [{\n\t\tkey: 'componentWillReceiveProps',\n\t\tvalue: function componentWillReceiveProps(nextProps) {\n\t\t\t// Component should be controlled, flush state when currentImage changes\n\t\t\tif (nextProps.currentImage !== this.props.currentImage) {\n\t\t\t\tthis.setState({\n\t\t\t\t\thasCustomPage: false\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\t// ==============================\n\t\t// METHODS\n\t\t// ==============================\n\n\t}, {\n\t\tkey: 'getFirst',\n\t\tvalue: function getFirst() {\n\t\t\tvar _props = this.props,\n\t\t\t currentImage = _props.currentImage,\n\t\t\t offset = _props.offset;\n\n\t\t\tif (this.state.hasCustomPage) {\n\t\t\t\treturn this.clampFirst(this.state.first);\n\t\t\t}\n\t\t\treturn this.clampFirst(currentImage - offset);\n\t\t}\n\t}, {\n\t\tkey: 'setFirst',\n\t\tvalue: function setFirst(event, newFirst) {\n\t\t\tvar first = this.state.first;\n\n\n\t\t\tif (event) {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tevent.stopPropagation();\n\t\t\t}\n\n\t\t\tif (first === newFirst) return;\n\n\t\t\tthis.setState({\n\t\t\t\thasCustomPage: true,\n\t\t\t\tfirst: newFirst\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'gotoPrev',\n\t\tvalue: function gotoPrev(event) {\n\t\t\tthis.setFirst(event, this.getFirst() - this.props.offset);\n\t\t}\n\t}, {\n\t\tkey: 'gotoNext',\n\t\tvalue: function gotoNext(event) {\n\t\t\tthis.setFirst(event, this.getFirst() + this.props.offset);\n\t\t}\n\t}, {\n\t\tkey: 'clampFirst',\n\t\tvalue: function clampFirst(value) {\n\t\t\tvar _props2 = this.props,\n\t\t\t images = _props2.images,\n\t\t\t offset = _props2.offset;\n\n\n\t\t\tvar totalCount = 2 * offset + 1; // show $offset extra thumbnails on each side\n\n\t\t\tif (value < 0) {\n\t\t\t\treturn 0;\n\t\t\t} else if (value + totalCount > images.length) {\n\t\t\t\t// Too far\n\t\t\t\treturn images.length - totalCount;\n\t\t\t} else {\n\t\t\t\treturn value;\n\t\t\t}\n\t\t}\n\n\t\t// ==============================\n\t\t// RENDERERS\n\t\t// ==============================\n\n\t}, {\n\t\tkey: 'renderArrowPrev',\n\t\tvalue: function renderArrowPrev() {\n\t\t\tif (this.getFirst() <= 0) return null;\n\n\t\t\treturn _react2.default.createElement(_Arrow2.default, {\n\t\t\t\tdirection: 'left',\n\t\t\t\tsize: 'small',\n\t\t\t\ticon: 'arrowLeft',\n\t\t\t\tonClick: this.gotoPrev,\n\t\t\t\tstyle: arrowStyles,\n\t\t\t\ttitle: 'Previous (Left arrow key)',\n\t\t\t\ttype: 'button'\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'renderArrowNext',\n\t\tvalue: function renderArrowNext() {\n\t\t\tvar _props3 = this.props,\n\t\t\t offset = _props3.offset,\n\t\t\t images = _props3.images;\n\n\t\t\tvar totalCount = 2 * offset + 1;\n\t\t\tif (this.getFirst() + totalCount >= images.length) return null;\n\n\t\t\treturn _react2.default.createElement(_Arrow2.default, {\n\t\t\t\tdirection: 'right',\n\t\t\t\tsize: 'small',\n\t\t\t\ticon: 'arrowRight',\n\t\t\t\tonClick: this.gotoNext,\n\t\t\t\tstyle: arrowStyles,\n\t\t\t\ttitle: 'Next (Right arrow key)',\n\t\t\t\ttype: 'button'\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\tvar _props4 = this.props,\n\t\t\t images = _props4.images,\n\t\t\t currentImage = _props4.currentImage,\n\t\t\t onClickThumbnail = _props4.onClickThumbnail,\n\t\t\t offset = _props4.offset;\n\n\n\t\t\tvar totalCount = 2 * offset + 1; // show $offset extra thumbnails on each side\n\t\t\tvar thumbnails = [];\n\t\t\tvar baseOffset = 0;\n\t\t\tif (images.length <= totalCount) {\n\t\t\t\tthumbnails = images;\n\t\t\t} else {\n\t\t\t\t// Try to center current image in list\n\t\t\t\tbaseOffset = this.getFirst();\n\t\t\t\tthumbnails = images.slice(baseOffset, baseOffset + totalCount);\n\t\t\t}\n\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: (0, _noImportant.css)(classes.paginatedThumbnails) },\n\t\t\t\tthis.renderArrowPrev(),\n\t\t\t\tthumbnails.map(function (img, idx) {\n\t\t\t\t\treturn _react2.default.createElement(_Thumbnail2.default, _extends({ key: baseOffset + idx\n\t\t\t\t\t}, img, {\n\t\t\t\t\t\tindex: baseOffset + idx,\n\t\t\t\t\t\tonClick: onClickThumbnail,\n\t\t\t\t\t\tactive: baseOffset + idx === currentImage }));\n\t\t\t\t}),\n\t\t\t\tthis.renderArrowNext()\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn PaginatedThumbnails;\n}(_react.Component);\n\nexports.default = PaginatedThumbnails;\n\n\nPaginatedThumbnails.propTypes = {\n\tcurrentImage: _propTypes2.default.number,\n\timages: _propTypes2.default.array,\n\toffset: _propTypes2.default.number,\n\tonClickThumbnail: _propTypes2.default.func.isRequired\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _noImportant = require('aphrodite/no-important');\n\nvar _theme = require('../theme');\n\nvar _theme2 = _interopRequireDefault(_theme);\n\nvar _deepMerge = require('../utils/deepMerge');\n\nvar _deepMerge2 = _interopRequireDefault(_deepMerge);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction Thumbnail(_ref, _ref2) {\n\tvar index = _ref.index,\n\t src = _ref.src,\n\t thumbnail = _ref.thumbnail,\n\t active = _ref.active,\n\t _onClick = _ref.onClick;\n\tvar theme = _ref2.theme;\n\n\tvar url = thumbnail ? thumbnail : src;\n\tvar classes = _noImportant.StyleSheet.create((0, _deepMerge2.default)(defaultStyles, theme));\n\n\treturn _react2.default.createElement('div', {\n\t\tclassName: (0, _noImportant.css)(classes.thumbnail, active && classes.thumbnail__active),\n\t\tonClick: function onClick(e) {\n\t\t\te.preventDefault();\n\t\t\te.stopPropagation();\n\t\t\t_onClick(index);\n\t\t},\n\t\tstyle: { backgroundImage: 'url(\"' + url + '\")' }\n\t});\n}\n\nThumbnail.propTypes = {\n\tactive: _propTypes2.default.bool,\n\tindex: _propTypes2.default.number,\n\tonClick: _propTypes2.default.func.isRequired,\n\tsrc: _propTypes2.default.string,\n\tthumbnail: _propTypes2.default.string\n};\n\nThumbnail.contextTypes = {\n\ttheme: _propTypes2.default.object.isRequired\n};\n\nvar defaultStyles = {\n\tthumbnail: {\n\t\tbackgroundPosition: 'center',\n\t\tbackgroundSize: 'cover',\n\t\tborderRadius: 2,\n\t\tboxShadow: 'inset 0 0 0 1px hsla(0,0%,100%,.2)',\n\t\tcursor: 'pointer',\n\t\tdisplay: 'inline-block',\n\t\theight: _theme2.default.thumbnail.size,\n\t\tmargin: _theme2.default.thumbnail.gutter,\n\t\toverflow: 'hidden',\n\t\twidth: _theme2.default.thumbnail.size\n\t},\n\tthumbnail__active: {\n\t\tboxShadow: 'inset 0 0 0 2px ' + _theme2.default.thumbnail.activeBorderColor\n\t}\n};\n\nexports.default = Thumbnail;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactTransitionGroup = require('react-transition-group');\n\nvar _reactDom = require('react-dom');\n\nvar _PassContext = require('./PassContext');\n\nvar _PassContext2 = _interopRequireDefault(_PassContext);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Portal = function (_Component) {\n\t_inherits(Portal, _Component);\n\n\tfunction Portal() {\n\t\t_classCallCheck(this, Portal);\n\n\t\tvar _this = _possibleConstructorReturn(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).call(this));\n\n\t\t_this.portalElement = null;\n\t\treturn _this;\n\t}\n\n\t_createClass(Portal, [{\n\t\tkey: 'componentDidMount',\n\t\tvalue: function componentDidMount() {\n\t\t\tvar p = document.createElement('div');\n\t\t\tdocument.body.appendChild(p);\n\t\t\tthis.portalElement = p;\n\t\t\tthis.componentDidUpdate();\n\t\t}\n\t}, {\n\t\tkey: 'componentDidUpdate',\n\t\tvalue: function componentDidUpdate() {\n\t\t\t// Animate fade on mount/unmount\n\t\t\tvar duration = 200;\n\t\t\tvar styles = '\\n\\t\\t\\t\\t.fade-enter { opacity: 0.01; }\\n\\t\\t\\t\\t.fade-enter.fade-enter-active { opacity: 1; transition: opacity ' + duration + 'ms; }\\n\\t\\t\\t\\t.fade-leave { opacity: 1; }\\n\\t\\t\\t\\t.fade-leave.fade-leave-active { opacity: 0.01; transition: opacity ' + duration + 'ms; }\\n\\t\\t';\n\n\t\t\t(0, _reactDom.render)(_react2.default.createElement(\n\t\t\t\t_PassContext2.default,\n\t\t\t\t{ context: this.context },\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\tnull,\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'style',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tstyles\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t_reactTransitionGroup.TransitionGroup,\n\t\t\t\t\t\tthis.props,\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t_reactTransitionGroup.CSSTransition,\n\t\t\t\t\t\t\t{ timeout: { enter: duration, exit: duration }, classNames: 'fade' },\n\t\t\t\t\t\t\tthis.props.children\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t), this.portalElement);\n\t\t}\n\t}, {\n\t\tkey: 'componentWillUnmount',\n\t\tvalue: function componentWillUnmount() {\n\t\t\t(0, _reactDom.unmountComponentAtNode)(this.portalElement);\n\t\t\tdocument.body.removeChild(this.portalElement);\n\t\t}\n\t}, {\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\treturn null;\n\t\t}\n\t}]);\n\n\treturn Portal;\n}(_react.Component);\n\nexports.default = Portal;\n\n\nPortal.contextTypes = {\n\ttheme: _propTypes2.default.object.isRequired\n};","\"use strict\";\n\nvar _CSSTransition = _interopRequireDefault(require(\"./CSSTransition\"));\n\nvar _ReplaceTransition = _interopRequireDefault(require(\"./ReplaceTransition\"));\n\nvar _TransitionGroup = _interopRequireDefault(require(\"./TransitionGroup\"));\n\nvar _Transition = _interopRequireDefault(require(\"./Transition\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nmodule.exports = {\n Transition: _Transition.default,\n TransitionGroup: _TransitionGroup.default,\n ReplaceTransition: _ReplaceTransition.default,\n CSSTransition: _CSSTransition.default\n};","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar PropTypes = _interopRequireWildcard(require(\"prop-types\"));\n\nvar _addClass = _interopRequireDefault(require(\"dom-helpers/class/addClass\"));\n\nvar _removeClass = _interopRequireDefault(require(\"dom-helpers/class/removeClass\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _Transition = _interopRequireDefault(require(\"./Transition\"));\n\nvar _PropTypes = require(\"./utils/PropTypes\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar addClass = function addClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return (0, _addClass.default)(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return (0, _removeClass.default)(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](http://www.nganimate.org/) library, you should use it if you're\n * using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n *
\n * {\"I'll receive my-node-* classes\"}\n *
\n *
\n * \n *
\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity: 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**.\n */\n\n\nvar CSSTransition =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n\n _this.onEnter = function (node, appearing) {\n var _this$getClassNames = _this.getClassNames(appearing ? 'appear' : 'enter'),\n className = _this$getClassNames.className;\n\n _this.removeClasses(node, 'exit');\n\n addClass(node, className);\n\n if (_this.props.onEnter) {\n _this.props.onEnter(node, appearing);\n }\n };\n\n _this.onEntering = function (node, appearing) {\n var _this$getClassNames2 = _this.getClassNames(appearing ? 'appear' : 'enter'),\n activeClassName = _this$getClassNames2.activeClassName;\n\n _this.reflowAndAddClass(node, activeClassName);\n\n if (_this.props.onEntering) {\n _this.props.onEntering(node, appearing);\n }\n };\n\n _this.onEntered = function (node, appearing) {\n var appearClassName = _this.getClassNames('appear').doneClassName;\n\n var enterClassName = _this.getClassNames('enter').doneClassName;\n\n var doneClassName = appearing ? appearClassName + \" \" + enterClassName : enterClassName;\n\n _this.removeClasses(node, appearing ? 'appear' : 'enter');\n\n addClass(node, doneClassName);\n\n if (_this.props.onEntered) {\n _this.props.onEntered(node, appearing);\n }\n };\n\n _this.onExit = function (node) {\n var _this$getClassNames3 = _this.getClassNames('exit'),\n className = _this$getClassNames3.className;\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n addClass(node, className);\n\n if (_this.props.onExit) {\n _this.props.onExit(node);\n }\n };\n\n _this.onExiting = function (node) {\n var _this$getClassNames4 = _this.getClassNames('exit'),\n activeClassName = _this$getClassNames4.activeClassName;\n\n _this.reflowAndAddClass(node, activeClassName);\n\n if (_this.props.onExiting) {\n _this.props.onExiting(node);\n }\n };\n\n _this.onExited = function (node) {\n var _this$getClassNames5 = _this.getClassNames('exit'),\n doneClassName = _this$getClassNames5.doneClassName;\n\n _this.removeClasses(node, 'exit');\n\n addClass(node, doneClassName);\n\n if (_this.props.onExited) {\n _this.props.onExited(node);\n }\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + '-' : '';\n var className = isStringClassNames ? prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? className + '-active' : classNames[type + 'Active'];\n var doneClassName = isStringClassNames ? className + '-done' : classNames[type + 'Done'];\n return {\n className: className,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$getClassNames6 = this.getClassNames(type),\n className = _this$getClassNames6.className,\n activeClassName = _this$getClassNames6.activeClassName,\n doneClassName = _this$getClassNames6.doneClassName;\n\n className && removeClass(node, className);\n activeClassName && removeClass(node, activeClassName);\n doneClassName && removeClass(node, doneClassName);\n };\n\n _proto.reflowAndAddClass = function reflowAndAddClass(node, className) {\n // This is for to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n if (className) {\n /* eslint-disable no-unused-expressions */\n node && node.scrollTop;\n /* eslint-enable no-unused-expressions */\n\n addClass(node, className);\n }\n };\n\n _proto.render = function render() {\n var props = _extends({}, this.props);\n\n delete props.classNames;\n return _react.default.createElement(_Transition.default, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(_react.default.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nCSSTransition.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({}, _Transition.default.propTypes, {\n /**\n * The animation classNames applied to the component as it enters, exits or\n * has finished the transition. A single name can be provided and it will be\n * suffixed for each stage: e.g.\n *\n * `classNames=\"fade\"` applies `fade-enter`, `fade-enter-active`,\n * `fade-enter-done`, `fade-exit`, `fade-exit-active`, `fade-exit-done`,\n * `fade-appear`, `fade-appear-active`, and `fade-appear-done`.\n *\n * **Note**: `fade-appear-done` and `fade-enter-done` will _both_ be applied.\n * This allows you to define different behavior for when appearing is done and\n * when regular entering is done, using selectors like\n * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply an\n * epic entrance animation when element first appears in the DOM using\n * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can\n * simply use `fade-enter-done` for defining both cases.\n *\n * Each individual classNames can also be specified independently like:\n *\n * ```js\n * classNames={{\n * appear: 'my-appear',\n * appearActive: 'my-active-appear',\n * appearDone: 'my-done-appear',\n * enter: 'my-enter',\n * enterActive: 'my-active-enter',\n * enterDone: 'my-done-enter',\n * exit: 'my-exit',\n * exitActive: 'my-active-exit',\n * exitDone: 'my-done-exit',\n * }}\n * ```\n *\n * If you want to set these classes using CSS Modules:\n *\n * ```js\n * import styles from './styles.css';\n * ```\n *\n * you might want to use camelCase in your CSS file, that way could simply\n * spread them instead of listing them one by one:\n *\n * ```js\n * classNames={{ ...styles }}\n * ```\n *\n * @type {string | {\n * appear?: string,\n * appearActive?: string,\n * appearDone?: string,\n * enter?: string,\n * enterActive?: string,\n * enterDone?: string,\n * exit?: string,\n * exitActive?: string,\n * exitDone?: string,\n * }}\n */\n classNames: _PropTypes.classNamesShape,\n\n /**\n * A `` callback fired immediately after the 'enter' or 'appear' class is\n * applied.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEnter: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter-active' or\n * 'appear-active' class is applied.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter' or\n * 'appear' classes are **removed** and the `done` class is added to the DOM node.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntered: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' class is\n * applied.\n *\n * @type Function(node: HtmlElement)\n */\n onExit: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit-active' is applied.\n *\n * @type Function(node: HtmlElement)\n */\n onExiting: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' classes\n * are **removed** and the `exit-done` class is added to the DOM node.\n *\n * @type Function(node: HtmlElement)\n */\n onExited: PropTypes.func\n}) : {};\nvar _default = CSSTransition;\nexports.default = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = addClass;\n\nvar _hasClass = _interopRequireDefault(require(\"./hasClass\"));\n\nfunction addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!(0, _hasClass.default)(element, className)) if (typeof element.className === 'string') element.className = element.className + ' ' + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + ' ' + className);\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nexports.__esModule = true;\nexports.default = hasClass;\n\nfunction hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);else return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}\n\nmodule.exports = exports[\"default\"];","'use strict';\n\nfunction replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp('(^|\\\\s)' + classToRemove + '(?:\\\\s|$)', 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n\nmodule.exports = function removeClass(element, className) {\n if (element.classList) element.classList.remove(className);else if (typeof element.className === 'string') element.className = replaceClassName(element.className, className);else element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n};","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _reactDom = require(\"react-dom\");\n\nvar _TransitionGroup = _interopRequireDefault(require(\"./TransitionGroup\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * The `` component is a specialized `Transition` component\n * that animates between two children.\n *\n * ```jsx\n * \n *
I appear first
\n *
I replace the above
\n *
\n * ```\n */\nvar ReplaceTransition =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(ReplaceTransition, _React$Component);\n\n function ReplaceTransition() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n\n _this.handleEnter = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _this.handleLifecycle('onEnter', 0, args);\n };\n\n _this.handleEntering = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n return _this.handleLifecycle('onEntering', 0, args);\n };\n\n _this.handleEntered = function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n return _this.handleLifecycle('onEntered', 0, args);\n };\n\n _this.handleExit = function () {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return _this.handleLifecycle('onExit', 1, args);\n };\n\n _this.handleExiting = function () {\n for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n return _this.handleLifecycle('onExiting', 1, args);\n };\n\n _this.handleExited = function () {\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n return _this.handleLifecycle('onExited', 1, args);\n };\n\n return _this;\n }\n\n var _proto = ReplaceTransition.prototype;\n\n _proto.handleLifecycle = function handleLifecycle(handler, idx, originalArgs) {\n var _child$props;\n\n var children = this.props.children;\n\n var child = _react.default.Children.toArray(children)[idx];\n\n if (child.props[handler]) (_child$props = child.props)[handler].apply(_child$props, originalArgs);\n if (this.props[handler]) this.props[handler]((0, _reactDom.findDOMNode)(this));\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n inProp = _this$props.in,\n props = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\"]);\n\n var _React$Children$toArr = _react.default.Children.toArray(children),\n first = _React$Children$toArr[0],\n second = _React$Children$toArr[1];\n\n delete props.onEnter;\n delete props.onEntering;\n delete props.onEntered;\n delete props.onExit;\n delete props.onExiting;\n delete props.onExited;\n return _react.default.createElement(_TransitionGroup.default, props, inProp ? _react.default.cloneElement(first, {\n key: 'first',\n onEnter: this.handleEnter,\n onEntering: this.handleEntering,\n onEntered: this.handleEntered\n }) : _react.default.cloneElement(second, {\n key: 'second',\n onEnter: this.handleExit,\n onEntering: this.handleExiting,\n onEntered: this.handleExited\n }));\n };\n\n return ReplaceTransition;\n}(_react.default.Component);\n\nReplaceTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n in: _propTypes.default.bool.isRequired,\n children: function children(props, propName) {\n if (_react.default.Children.count(props[propName]) !== 2) return new Error(\"\\\"\" + propName + \"\\\" must be exactly two transition components.\");\n return null;\n }\n} : {};\nvar _default = ReplaceTransition;\nexports.default = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nexports.__esModule = true;\nexports.getChildMapping = getChildMapping;\nexports.mergeChildMappings = mergeChildMappings;\nexports.getInitialChildMapping = getInitialChildMapping;\nexports.getNextChildMapping = getNextChildMapping;\n\nvar _react = require(\"react\");\n\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\nfunction getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && (0, _react.isValidElement)(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) _react.Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\n\nfunction mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nfunction getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return (0, _react.cloneElement)(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\n\nfunction getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!(0, _react.isValidElement)(child)) return;\n var hasPrev = key in prevChildMapping;\n var hasNext = key in nextChildMapping;\n var prevChild = prevChildMapping[key];\n var isLeaving = (0, _react.isValidElement)(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = (0, _react.cloneElement)(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = (0, _react.cloneElement)(child, {\n in: false\n });\n } else if (hasNext && hasPrev && (0, _react.isValidElement)(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = (0, _react.cloneElement)(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// Pass the Lightbox context through to the Portal's descendents\n// StackOverflow discussion http://goo.gl/oclrJ9\n\nvar PassContext = function (_Component) {\n\t_inherits(PassContext, _Component);\n\n\tfunction PassContext() {\n\t\t_classCallCheck(this, PassContext);\n\n\t\treturn _possibleConstructorReturn(this, (PassContext.__proto__ || Object.getPrototypeOf(PassContext)).apply(this, arguments));\n\t}\n\n\t_createClass(PassContext, [{\n\t\tkey: 'getChildContext',\n\t\tvalue: function getChildContext() {\n\t\t\treturn this.props.context;\n\t\t}\n\t}, {\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\treturn _react.Children.only(this.props.children);\n\t\t}\n\t}]);\n\n\treturn PassContext;\n}(_react.Component);\n\nPassContext.propTypes = {\n\tcontext: _propTypes2.default.object.isRequired\n};\nPassContext.childContextTypes = {\n\ttheme: _propTypes2.default.object\n};\n\nexports.default = PassContext;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _noImportant = require('aphrodite/no-important');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Spinner = function Spinner(props) {\n\tvar classes = _noImportant.StyleSheet.create(styles(props));\n\n\treturn _react2.default.createElement(\n\t\t'div',\n\t\t{ className: (0, _noImportant.css)(classes.spinner) },\n\t\t_react2.default.createElement('div', { className: (0, _noImportant.css)(classes.ripple) })\n\t);\n};\n\nSpinner.propTypes = {\n\tcolor: _propTypes2.default.string,\n\tsize: _propTypes2.default.number\n};\n\nvar rippleKeyframes = {\n\t'0%': {\n\t\ttop: '50%',\n\t\tleft: '50%',\n\t\twidth: 0,\n\t\theight: 0,\n\t\topacity: 1\n\t},\n\t'100%': {\n\t\ttop: 0,\n\t\tleft: 0,\n\t\twidth: '100%',\n\t\theight: '100%',\n\t\topacity: 0\n\t}\n};\n\nvar styles = function styles(_ref) {\n\tvar color = _ref.color,\n\t size = _ref.size;\n\treturn {\n\t\tspinner: {\n\t\t\tdisplay: 'inline-block',\n\t\t\tposition: 'relative',\n\t\t\twidth: size,\n\t\t\theight: size\n\t\t},\n\t\tripple: {\n\t\t\tposition: 'absolute',\n\t\t\tborder: '4px solid ' + color,\n\t\t\topacity: 1,\n\t\t\tborderRadius: '50%',\n\t\t\tanimationName: rippleKeyframes,\n\t\t\tanimationDuration: '1s',\n\t\t\tanimationTimingFunction: 'cubic-bezier(0, 0.2, 0.8, 1)',\n\t\t\tanimationIterationCount: 'infinite'\n\t\t}\n\t};\n};\n\nexports.default = Spinner;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.default = bindFunctions;\n/**\n\tBind multiple component methods:\n\n\t* @param {this} context\n\t* @param {Array} functions\n\n\tconstructor() {\n\t\t...\n\t\tbindFunctions.call(this, ['handleClick', 'handleOther']);\n\t}\n*/\n\nfunction bindFunctions(functions) {\n\tvar _this = this;\n\n\tfunctions.forEach(function (f) {\n\t\treturn _this[f] = _this[f].bind(_this);\n\t});\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n// Return true if window + document\n\nexports.default = !!(typeof window !== 'undefined' && window.document && window.document.createElement);","function _interopRequireDefault(e) {\n return e && e.__esModule ? e : {\n \"default\": e\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _Object$assign = require(\"../core-js/object/assign\");\n\nfunction _extends() {\n module.exports = _extends = _Object$assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n// ==============================\n// THEME\n// ==============================\n\nvar theme = {};\n\n// container\ntheme.container = {\n\tbackground: 'rgba(0, 0, 0, 0.8)',\n\tgutter: {\n\t\thorizontal: 10,\n\t\tvertical: 10\n\t},\n\tzIndex: 2001\n};\n\n// header\ntheme.header = {\n\theight: 40\n};\ntheme.close = {\n\tfill: 'white'\n};\n\n// footer\ntheme.footer = {\n\tcolor: 'white',\n\tcount: {\n\t\tcolor: 'rgba(255, 255, 255, 0.75)',\n\t\tfontSize: '0.85em'\n\t},\n\theight: 40,\n\tgutter: {\n\t\thorizontal: 0,\n\t\tvertical: 5\n\t}\n};\n\n// thumbnails\ntheme.thumbnail = {\n\tactiveBorderColor: 'white',\n\tsize: 50,\n\tgutter: 2\n};\n\n// arrow\ntheme.arrow = {\n\tbackground: 'none',\n\tfill: 'white',\n\theight: 120\n};\n\nexports.default = theme;","module.exports = require('./lib/no-important.js');\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction deepMerge(target) {\n\tvar source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\tvar extended = _extends({}, target);\n\n\tObject.keys(source).forEach(function (key) {\n\t\tif (_typeof(source[key]) !== 'object' || !source[key]) {\n\t\t\textended[key] = source[key];\n\t\t} else {\n\t\t\tif (!target[key]) {\n\t\t\t\textended[key] = source[key];\n\t\t\t} else {\n\t\t\t\textended[key] = deepMerge(target[key], source[key]);\n\t\t\t}\n\t\t}\n\t});\n\n\treturn extended;\n}\n\nexports.default = deepMerge;","module.exports = require(\"core-js-pure/features/object/assign\");","'use strict';\nmodule.exports = require('../../full/object/assign');\n","'use strict';\nvar parent = require('../../actual/object/assign');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../stable/object/assign');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../es/object/assign');\n\nmodule.exports = parent;\n","'use strict';\nrequire('../../modules/es.object.assign');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.assign;\n","'use strict';\nvar $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol('assign detection');\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n // eslint-disable-next-line es/no-array-prototype-foreach -- safe\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n// returns a style object with a single concated prefixed value string\n\nexports.default = function (property, value) {\n var replacer = arguments.length <= 2 || arguments[2] === undefined ? function (prefix, value) {\n return prefix + value;\n } : arguments[2];\n return _defineProperty({}, property, ['-webkit-', '-moz-', ''].map(function (prefix) {\n return replacer(prefix, value);\n }));\n};\n\nmodule.exports = exports['default'];","// {K1: V1, K2: V2, ...} -> [[K1, V1], [K2, V2]]\n'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nvar _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar objectToPairs = function objectToPairs(obj) {\n return Object.keys(obj).map(function (key) {\n return [key, obj[key]];\n });\n};\n\nexports.objectToPairs = objectToPairs;\n// [[K1, V1], [K2, V2]] -> {K1: V1, K2: V2, ...}\nvar pairsToObject = function pairsToObject(pairs) {\n var result = {};\n pairs.forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2);\n\n var key = _ref2[0];\n var val = _ref2[1];\n\n result[key] = val;\n });\n return result;\n};\n\nvar mapObj = function mapObj(obj, fn) {\n return pairsToObject(objectToPairs(obj).map(fn));\n};\n\nexports.mapObj = mapObj;\n// Flattens an array one level\n// [[A], [B, C, [D]]] -> [A, B, C, [D]]\nvar flatten = function flatten(list) {\n return list.reduce(function (memo, x) {\n return memo.concat(x);\n }, []);\n};\n\nexports.flatten = flatten;\nvar UPPERCASE_RE = /([A-Z])/g;\nvar MS_RE = /^ms-/;\n\nvar kebabify = function kebabify(string) {\n return string.replace(UPPERCASE_RE, '-$1').toLowerCase();\n};\nvar kebabifyStyleName = function kebabifyStyleName(string) {\n return kebabify(string).replace(MS_RE, '-ms-');\n};\n\nexports.kebabifyStyleName = kebabifyStyleName;\nvar recursiveMerge = function recursiveMerge(a, b) {\n // TODO(jlfwong): Handle malformed input where a and b are not the same\n // type.\n\n if (typeof a !== 'object') {\n return b;\n }\n\n var ret = _extends({}, a);\n\n Object.keys(b).forEach(function (key) {\n if (ret.hasOwnProperty(key)) {\n ret[key] = recursiveMerge(a[key], b[key]);\n } else {\n ret[key] = b[key];\n }\n });\n\n return ret;\n};\n\nexports.recursiveMerge = recursiveMerge;\n/**\n * CSS properties which accept numbers but are not in units of \"px\".\n * Taken from React's CSSProperty.js\n */\nvar isUnitlessNumber = {\n animationIterationCount: true,\n borderImageOutset: true,\n borderImageSlice: true,\n borderImageWidth: true,\n boxFlex: true,\n boxFlexGroup: true,\n boxOrdinalGroup: true,\n columnCount: true,\n flex: true,\n flexGrow: true,\n flexPositive: true,\n flexShrink: true,\n flexNegative: true,\n flexOrder: true,\n gridRow: true,\n gridColumn: true,\n fontWeight: true,\n lineClamp: true,\n lineHeight: true,\n opacity: true,\n order: true,\n orphans: true,\n tabSize: true,\n widows: true,\n zIndex: true,\n zoom: true,\n\n // SVG-related properties\n fillOpacity: true,\n floodOpacity: true,\n stopOpacity: true,\n strokeDasharray: true,\n strokeDashoffset: true,\n strokeMiterlimit: true,\n strokeOpacity: true,\n strokeWidth: true\n};\n\n/**\n * Taken from React's CSSProperty.js\n *\n * @param {string} prefix vendor-specific prefix, eg: Webkit\n * @param {string} key style name, eg: transitionDuration\n * @return {string} style name prefixed with `prefix`, properly camelCased, eg:\n * WebkitTransitionDuration\n */\nfunction prefixKey(prefix, key) {\n return prefix + key.charAt(0).toUpperCase() + key.substring(1);\n}\n\n/**\n * Support style names that may come passed in prefixed by adding permutations\n * of vendor prefixes.\n * Taken from React's CSSProperty.js\n */\nvar prefixes = ['Webkit', 'ms', 'Moz', 'O'];\n\n// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an\n// infinite loop, because it iterates over the newly added props too.\n// Taken from React's CSSProperty.js\nObject.keys(isUnitlessNumber).forEach(function (prop) {\n prefixes.forEach(function (prefix) {\n isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];\n });\n});\n\nvar stringifyValue = function stringifyValue(key, prop) {\n if (typeof prop === \"number\") {\n if (isUnitlessNumber[key]) {\n return \"\" + prop;\n } else {\n return prop + \"px\";\n }\n } else {\n return prop;\n }\n};\n\nexports.stringifyValue = stringifyValue;\n/**\n * JS Implementation of MurmurHash2\n *\n * @author Gary Court\n * @see http://github.com/garycourt/murmurhash-js\n * @author Austin Appleby\n * @see http://sites.google.com/site/murmurhash/\n *\n * @param {string} str ASCII only\n * @return {string} Base 36 encoded hash result\n */\nfunction murmurhash2_32_gc(str) {\n var l = str.length;\n var h = l;\n var i = 0;\n var k = undefined;\n\n while (l >= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n\n k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n k ^= k >>> 24;\n k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16) ^ k;\n\n l -= 4;\n ++i;\n }\n\n switch (l) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n }\n\n h ^= h >>> 13;\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n h ^= h >>> 15;\n\n return (h >>> 0).toString(36);\n}\n\n// Hash a javascript object using JSON.stringify. This is very fast, about 3\n// microseconds on my computer for a sample object:\n// http://jsperf.com/test-hashfnv32a-hash/5\n//\n// Note that this uses JSON.stringify to stringify the objects so in order for\n// this to produce consistent hashes browsers need to have a consistent\n// ordering of objects. Ben Alpert says that Facebook depends on this, so we\n// can probably depend on this too.\nvar hashObject = function hashObject(object) {\n return murmurhash2_32_gc(JSON.stringify(object));\n};\n\nexports.hashObject = hashObject;\nvar IMPORTANT_RE = /^([^:]+:.*?)( !important)?;$/;\n\n// Given a single style rule string like \"a: b;\", adds !important to generate\n// \"a: b !important;\".\nvar importantify = function importantify(string) {\n return string.replace(IMPORTANT_RE, function (_, base, important) {\n return base + \" !important;\";\n });\n};\nexports.importantify = importantify;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nexports.default = function (value) {\n if (Array.isArray(value)) value = value.join(',');\n\n return value.match(/-webkit-|-moz-|-ms-/) !== null;\n};\n\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nvar _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\nvar _util = require('./util');\n\nvar _inject = require('./inject');\n\nvar StyleSheet = {\n create: function create(sheetDefinition) {\n return (0, _util.mapObj)(sheetDefinition, function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2);\n\n var key = _ref2[0];\n var val = _ref2[1];\n\n return [key, {\n // TODO(emily): Make a 'production' mode which doesn't prepend\n // the class name here, to make the generated CSS smaller.\n _name: key + '_' + (0, _util.hashObject)(val),\n _definition: val\n }];\n });\n },\n\n rehydrate: function rehydrate() {\n var renderedClassNames = arguments.length <= 0 || arguments[0] === undefined ? [] : arguments[0];\n\n (0, _inject.addRenderedClassNames)(renderedClassNames);\n }\n};\n\n/**\n * Utilities for using Aphrodite server-side.\n */\nvar StyleSheetServer = {\n renderStatic: function renderStatic(renderFunc) {\n (0, _inject.reset)();\n (0, _inject.startBuffering)();\n var html = renderFunc();\n var cssContent = (0, _inject.flushToString)();\n\n return {\n html: html,\n css: {\n content: cssContent,\n renderedClassNames: (0, _inject.getRenderedClassNames)()\n }\n };\n }\n};\n\n/**\n * Utilities for using Aphrodite in tests.\n *\n * Not meant to be used in production.\n */\nvar StyleSheetTestUtils = {\n /**\n * Prevent styles from being injected into the DOM.\n *\n * This is useful in situations where you'd like to test rendering UI\n * components which use Aphrodite without any of the side-effects of\n * Aphrodite happening. Particularly useful for testing the output of\n * components when you have no DOM, e.g. testing in Node without a fake DOM.\n *\n * Should be paired with a subsequent call to\n * clearBufferAndResumeStyleInjection.\n */\n suppressStyleInjection: function suppressStyleInjection() {\n (0, _inject.reset)();\n (0, _inject.startBuffering)();\n },\n\n /**\n * Opposite method of preventStyleInject.\n */\n clearBufferAndResumeStyleInjection: function clearBufferAndResumeStyleInjection() {\n (0, _inject.reset)();\n }\n};\n\nvar css = function css() {\n for (var _len = arguments.length, styleDefinitions = Array(_len), _key = 0; _key < _len; _key++) {\n styleDefinitions[_key] = arguments[_key];\n }\n\n var useImportant = true; // Append !important to all style definitions\n return (0, _inject.injectAndGetClassName)(useImportant, styleDefinitions);\n};\n\nexports['default'] = {\n StyleSheet: StyleSheet,\n StyleSheetServer: StyleSheetServer,\n StyleSheetTestUtils: StyleSheetTestUtils,\n css: css\n};\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _asap = require('asap');\n\nvar _asap2 = _interopRequireDefault(_asap);\n\nvar _generate = require('./generate');\n\nvar _util = require('./util');\n\n// The current