diff --git a/dist/carousel.css b/dist/carousel.css index 83ed82f6..0ecf4790 100644 --- a/dist/carousel.css +++ b/dist/carousel.css @@ -92,14 +92,15 @@ button { .carousel .control-disabled.control-arrow { opacity: 0; filter: alpha(opacity=0); - cursor: inherit; } - .carousel .control-left.control-arrow { + cursor: inherit; + display: none; } + .carousel .control-prev.control-arrow { left: 0; } - .carousel .control-left.control-arrow:before { + .carousel .control-prev.control-arrow:before { content: '\e803'; } - .carousel .control-right.control-arrow { + .carousel .control-next.control-arrow { right: 0; } - .carousel .control-right.control-arrow:before { + .carousel .control-next.control-arrow:before { content: '\e802'; } .carousel { @@ -119,8 +120,7 @@ button { margin-top: -13px; font-size: 18px; } .carousel .thumbs-wrapper { - position: relative; - margin: 0 20px; + margin: 20px; overflow: hidden; } .carousel .thumbs { -webkit-transition: all 0.15s ease-in; @@ -174,40 +174,74 @@ button { overflow: hidden; margin: auto; width: 100%; } + .carousel .slider-wrapper.axis-horizontal .slider { + display: flex; + display: -webkit-flex; } + .carousel .slider-wrapper.axis-horizontal .slide { + flex-direction: column; + flex-flow: column; } + .carousel .slider-wrapper.axis-vertical .slider { + display: inline-block; } + .carousel .slider-wrapper.axis-vertical .slide { + position: relative; + display: block; + margin: 0; } .carousel .slider { - -webkit-transition: all 0.35s ease-in; - -moz-transition: all 0.35s ease-in; - -ms-transition: all 0.35s ease-in; - -o-transition: all 0.35s ease-in; - transition: all 0.35s ease-in; - -webkit-transform: translate3d(0, 0, 0); - -moz-transform: translate3d(0, 0, 0); - -ms-transform: translate3d(0, 0, 0); - -o-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - display: flex; position: relative; list-style: none; } - .carousel .slider.swiping { - -webkit-transition: none 0 ease-in; - -moz-transition: none 0 ease-in; - -ms-transition: none 0 ease-in; - -o-transition: none 0 ease-in; - transition: none 0 ease-in; } + .carousel .slider.animated { + -webkit-transition: all 0.35s ease-in-out; + -moz-transition: all 0.35s ease-in-out; + -ms-transition: all 0.35s ease-in-out; + -o-transition: all 0.35s ease-in-out; + transition: all 0.35s ease-in-out; } .carousel .slide { - flex-direction: column; - flex-flow: column; min-width: 100%; - margin: 0; } + margin: 0; + padding-bottom: 32px; } .carousel .slide img { width: 100%; vertical-align: top; } + .carousel .slide .legend { + -webkit-transition: all 0.5s ease-in-out; + -moz-transition: all 0.5s ease-in-out; + -ms-transition: all 0.5s ease-in-out; + -o-transition: all 0.5s ease-in-out; + transition: all 0.5s ease-in-out; + position: absolute; + bottom: 0; + width: 100%; + background: #000; + color: #fff; + padding: 10px; + font-size: 12px; + text-align: center; } + @media (min-width: 960px) { + .carousel .slide { + padding-bottom: 0; } + .carousel .slide .legend { + bottom: 40px; + margin-left: 10%; + width: 80%; + background: rgba(0, 0, 0, 0.3); + color: rgba(255, 255, 255, 0.6); + border-radius: 5px; + padding: 10px; + opacity: 0; } + .carousel .slide.selected .legend { + opacity: 1; } + .carousel .slide:hover .legend { + background: rgba(0, 0, 0, 0.5); + color: rgba(255, 255, 255, 0.9); } } .carousel .control-dots { position: absolute; - bottom: 0; + bottom: 32px; margin: 10px 0; text-align: center; width: 100%; } + @media (min-width: 960px) { + .carousel .control-dots { + bottom: 0; } } .carousel .control-dots .dot { -webkit-transition: opacity 0.25s ease-in; -moz-transition: opacity 0.25s ease-in; diff --git a/dist/carousel.min.css b/dist/carousel.min.css index 04caf26d..7a3ff420 100644 --- a/dist/carousel.min.css +++ b/dist/carousel.min.css @@ -1 +1 @@ -.m4d-icon:before{display:inline-block;content:''}@font-face{font-family:m4d-icons;src:url(/styles/font/m4d-icons.eot?3179539);src:url(/styles/font/m4d-icons.eot?3179539#iefix) format('embedded-opentype'),url(/styles/font/m4d-icons.woff?3179539) format('woff'),url(/styles/font/m4d-icons.ttf?3179539) format('truetype'),url(/styles/font/m4d-icons.svg?3179539#m4d-icons) format('svg');font-weight:400;font-style:normal}[class*=" icon-"]:before,[class^=icon-]:before{font-family:m4d-icons;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em}.icon-right-open:before{content:"\e802"}.icon-left-open:before{content:"\e803"}button{outline:0;border:0;background:0 0}.carousel .control-arrow,.carousel.carousel-slider .control-arrow{-webkit-transition:all .25s ease-in;-moz-transition:all .25s ease-in;-ms-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in;opacity:.4;filter:alpha(opacity=40);position:absolute;z-index:2;font-family:m4d-icons;background:0 0;border:0;cursor:pointer}.carousel .control-arrow:hover{opacity:1;filter:alpha(opacity=100)}.carousel .control-disabled.control-arrow{opacity:0;filter:alpha(opacity=0);cursor:inherit}.carousel .control-left.control-arrow{left:0}.carousel .control-left.control-arrow:before{content:'\e803'}.carousel .control-right.control-arrow{right:0}.carousel .control-right.control-arrow:before{content:'\e802'}.carousel{position:relative;width:100%}.carousel *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.carousel img{width:100%;display:inline-block}.carousel .carousel{position:relative}.carousel .control-arrow{top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{position:relative;margin:0 20px;overflow:hidden}.carousel .thumbs{-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-ms-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{-webkit-transition:border .15s ease-in;-moz-transition:border .15s ease-in;-ms-transition:border .15s ease-in;-o-transition:border .15s ease-in;transition:border .15s ease-in;display:inline-block;width:80px;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333;padding:2px}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}@media (min-width:768px){.carousel.carousel-slider li{cursor:-webkit-zoom-in}}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%}.carousel .slider{-webkit-transition:all .35s ease-in;-moz-transition:all .35s ease-in;-ms-transition:all .35s ease-in;-o-transition:all .35s ease-in;transition:all .35s ease-in;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);display:flex;position:relative;list-style:none}.carousel .slider.swiping{-webkit-transition:none 0 ease-in;-moz-transition:none 0 ease-in;-ms-transition:none 0 ease-in;-o-transition:none 0 ease-in;transition:none 0 ease-in}.carousel .slide{flex-direction:column;flex-flow:column;min-width:100%;margin:0}.carousel .slide img{width:100%;vertical-align:top}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;text-align:center;width:100%}.carousel .control-dots .dot{-webkit-transition:opacity .25s ease-in;-moz-transition:opacity .25s ease-in;-ms-transition:opacity .25s ease-in;-o-transition:opacity .25s ease-in;transition:opacity .25s ease-in;opacity:.3;filter:alpha(opacity=30);box-shadow:1px 1px 2px rgba(0,0,0,.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1;filter:alpha(opacity=100)}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,.9);color:#fff} \ No newline at end of file +.m4d-icon:before{display:inline-block;content:''}@font-face{font-family:m4d-icons;src:url(/styles/font/m4d-icons.eot?3179539);src:url(/styles/font/m4d-icons.eot?3179539#iefix) format('embedded-opentype'),url(/styles/font/m4d-icons.woff?3179539) format('woff'),url(/styles/font/m4d-icons.ttf?3179539) format('truetype'),url(/styles/font/m4d-icons.svg?3179539#m4d-icons) format('svg');font-weight:400;font-style:normal}[class*=" icon-"]:before,[class^=icon-]:before{font-family:m4d-icons;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em}.icon-right-open:before{content:"\e802"}.icon-left-open:before{content:"\e803"}button{outline:0;border:0;background:0 0}.carousel .control-arrow,.carousel.carousel-slider .control-arrow{-webkit-transition:all .25s ease-in;-moz-transition:all .25s ease-in;-ms-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in;opacity:.4;filter:alpha(opacity=40);position:absolute;z-index:2;font-family:m4d-icons;background:0 0;border:0;cursor:pointer}.carousel .control-arrow:hover{opacity:1;filter:alpha(opacity=100)}.carousel .control-disabled.control-arrow{opacity:0;filter:alpha(opacity=0);cursor:inherit;display:none}.carousel .control-prev.control-arrow{left:0}.carousel .control-prev.control-arrow:before{content:'\e803'}.carousel .control-next.control-arrow{right:0}.carousel .control-next.control-arrow:before{content:'\e802'}.carousel{position:relative;width:100%}.carousel *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.carousel img{width:100%;display:inline-block}.carousel .carousel{position:relative}.carousel .control-arrow{top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-ms-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{-webkit-transition:border .15s ease-in;-moz-transition:border .15s ease-in;-ms-transition:border .15s ease-in;-o-transition:border .15s ease-in;transition:border .15s ease-in;display:inline-block;width:80px;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333;padding:2px}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}@media (min-width:768px){.carousel.carousel-slider li{cursor:-webkit-zoom-in}}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%}.carousel .slider-wrapper.axis-horizontal .slider{display:flex;display:-webkit-flex}.carousel .slider-wrapper.axis-horizontal .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical .slider{display:inline-block}.carousel .slider-wrapper.axis-vertical .slide{position:relative;display:block;margin:0}.carousel .slider{position:relative;list-style:none}.carousel .slider.animated{-webkit-transition:all .35s ease-in-out;-moz-transition:all .35s ease-in-out;-ms-transition:all .35s ease-in-out;-o-transition:all .35s ease-in-out;transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;padding-bottom:32px}.carousel .slide img{width:100%;vertical-align:top}.carousel .slide .legend{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;position:absolute;bottom:0;width:100%;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center}@media (min-width:960px){.carousel .slide{padding-bottom:0}.carousel .slide .legend{bottom:40px;margin-left:10%;width:80%;background:rgba(0,0,0,.3);color:rgba(255,255,255,.6);border-radius:5px;padding:10px;opacity:0}.carousel .slide.selected .legend{opacity:1}.carousel .slide:hover .legend{background:rgba(0,0,0,.5);color:rgba(255,255,255,.9)}}.carousel .control-dots{position:absolute;bottom:32px;margin:10px 0;text-align:center;width:100%}@media (min-width:960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{-webkit-transition:opacity .25s ease-in;-moz-transition:opacity .25s ease-in;-ms-transition:opacity .25s ease-in;-o-transition:opacity .25s ease-in;transition:opacity .25s ease-in;opacity:.3;filter:alpha(opacity=30);box-shadow:1px 1px 2px rgba(0,0,0,.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1;filter:alpha(opacity=100)}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,.9);color:#fff} \ No newline at end of file diff --git a/dist/main.css b/dist/main.css index 221e5f4b..ebe6edb9 100644 --- a/dist/main.css +++ b/dist/main.css @@ -151,5 +151,14 @@ button { .example { margin: 20px 0; } +.parent { + background: #333; } + +.page-carousel { + padding: 40px; + border: 1px solid #fff; + width: 80%; + margin: 40px auto; } + h5 { margin-bottom: 10px; } diff --git a/dist/main.js b/dist/main.js index cc0b6871..dd856693 100644 --- a/dist/main.js +++ b/dist/main.js @@ -1,7 +1,8 @@ -!function e(t,n,o){function r(i,s){if(!n[i]){if(!t[i]){var c="function"==typeof require&&require;if(!s&&c)return c(i,!0);if(a)return a(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[i]={exports:{}};t[i][0].call(l.exports,function(e){var n=t[i][1][e];return r(n?n:e)},l,l.exports,e,t,n,o)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i=this.lastPosition&&(t=this.lastPosition),this.showArrows||(t=0),t},handleClickItem:function(e,t){var n=this.props.onSelectItem;"function"==typeof n&&n(e,t),e!==this.state.selectedItem&&this.setState({selectedItem:e,firstItem:this.getFirstItem(e)})},triggerOnChange:function(e){var t=this.props.onChange;"function"==typeof t&&t(e)},onSwipeStart:function(e){this.setState({touchStart:e.touches[0].pageX,swiping:!0})},onSwipeMove:function(e){var t,n,o=e.touches[0].pageX-this.state.touchStart,r=0;this.isSlider?(t=100*-this.state.firstItem,n=100*-(this.props.children.length-1)):(t=-this.state.firstItem*this.itemSize,n=-this.visibleItems*this.itemSize),t===r&&o>0&&(o=0),t===n&&0>o&&(o=0);var i;i=this.isSlider?t+100/(this.wrapperSize/o)+"%":t+o+"px",this.touchPosition=o;var s=this.refs.itemList.style;["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach(function(e){s[e]=a?"translate3d("+i+", 0, 0)":"translate("+i+", 0)"})},onSwipeEnd:function(){this.setState({touchStart:null,swiping:!1},function(){var e;0===this.touchPosition||(e=this.isSlider?1:Math.abs(Math.round(this.touchPosition/this.itemSize))),this.touchPosition<0?this.slideLeft(e):this.touchPosition>0&&this.slideRight(e),this.touchPosition=null}.bind(this))},slideRight:function(e){this.moveTo(this.state.firstItem-("Number"==typeof e?e:1))},slideLeft:function(e){this.moveTo(this.state.firstItem+("Number"==typeof e?e:1))},moveTo:function(e){e=0>e?0:e,e=e>=this.lastPosition?this.lastPosition:e,this.setState({firstItem:this.getFirstItem(e),selectedItem:this.isSlider?e:this.state.selectedItem}),this.triggerOnChange(e)},changeItem:function(e){var t=e.target.value;this.setState({selectedItem:t,firstItem:this.getFirstItem(t)})},renderItems:function(){"slider"===this.props.type;return this.props.children.map(function(e,t){var r=this.state.hasMount,a=o.ITEM(this.isSlider,t,this.state.selectedItem,r);return n.createElement("li",{key:t,ref:"item"+t,className:a,onClick:this.handleClickItem.bind(this,t,e)},n.createElement("img",{src:e.props.src,ref:"itemImg"+t}))}.bind(this))},renderControls:function(){return this.props.showControls?n.createElement("ul",{className:"control-dots"},this.props.children.map(function(e,t){return n.createElement("li",{className:o.DOT(t===this.state.selectedItem),onClick:this.changeItem,value:t,key:t})}.bind(this))):null},renderStatus:function(){return this.props.showStatus?n.createElement("p",{className:"carousel-status"},this.state.selectedItem+1," of ",this.props.children.length):null},render:function(){if(0===this.props.children.length)return null;var e,t=this.showArrows&&this.state.firstItem>0,r=this.showArrows&&this.state.firstItem0&&"none"!==n}},{}],6:[function(e,t){t.exports={Carousel:e("./components/Carousel"),ImageGallery:e("./components/ImageGallery")}},{"./components/Carousel":1,"./components/ImageGallery":2}],7:[function(e,t){function n(){u=!1,i.length?c=i.concat(c):l=-1,c.length&&o()}function o(){if(!u){var e=setTimeout(n);u=!0;for(var t=c.length;t;){for(i=c,c=[];++l1)for(var n=1;n8&&11>=N),O=32,R=String.fromCharCode(O),w=d.topLevelTypes,M={beforeInput:{phasedRegistrationNames:{bubbled:E({onBeforeInput:null}),captured:E({onBeforeInputCapture:null})},dependencies:[w.topCompositionEnd,w.topKeyPress,w.topTextInput,w.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:E({onCompositionEnd:null}),captured:E({onCompositionEndCapture:null})},dependencies:[w.topBlur,w.topCompositionEnd,w.topKeyDown,w.topKeyPress,w.topKeyUp,w.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:E({onCompositionStart:null}),captured:E({onCompositionStartCapture:null})},dependencies:[w.topBlur,w.topCompositionStart,w.topKeyDown,w.topKeyPress,w.topKeyUp,w.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:E({onCompositionUpdate:null}),captured:E({onCompositionUpdateCapture:null})},dependencies:[w.topBlur,w.topCompositionUpdate,w.topKeyDown,w.topKeyPress,w.topKeyUp,w.topMouseDown]}},x=!1,I=null,P={eventTypes:M,extractEvents:function(e,t,n,o,r){return[c(e,t,n,o,r),p(e,t,n,o,r)]}};t.exports=P},{"./EventConstants":23,"./EventPropagators":27,"./FallbackCompositionState":28,"./SyntheticCompositionEvent":99,"./SyntheticInputEvent":103,"fbjs/lib/ExecutionEnvironment":139,"fbjs/lib/keyOf":157}],12:[function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){r.forEach(function(t){o[n(t,e)]=o[e]})});var a={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},i={isUnitlessNumber:o,shorthandPropertyExpansions:a};t.exports=i},{}],13:[function(e,t){(function(n){"use strict";var o=e("./CSSProperty"),r=e("fbjs/lib/ExecutionEnvironment"),a=e("./ReactPerf"),i=e("fbjs/lib/camelizeStyleName"),s=e("./dangerousStyleValue"),c=e("fbjs/lib/hyphenateStyleName"),u=e("fbjs/lib/memoizeStringOnly"),l=e("fbjs/lib/warning"),p=u(function(e){return c(e)}),d=!1,f="cssFloat";if(r.canUseDOM){var h=document.createElement("div").style;try{h.font=""}catch(m){d=!0}void 0===document.documentElement.style.cssFloat&&(f="styleFloat")}if("production"!==n.env.NODE_ENV)var v=/^(?:webkit|moz|o)[A-Z]/,g=/;\s*$/,E={},y={},b=function(e){E.hasOwnProperty(e)&&E[e]||(E[e]=!0,"production"!==n.env.NODE_ENV?l(!1,"Unsupported style property %s. Did you mean %s?",e,i(e)):void 0)},_=function(e){E.hasOwnProperty(e)&&E[e]||(E[e]=!0,"production"!==n.env.NODE_ENV?l(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)):void 0)},N=function(e,t){y.hasOwnProperty(t)&&y[t]||(y[t]=!0,"production"!==n.env.NODE_ENV?l(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(g,"")):void 0)},C=function(e,t){e.indexOf("-")>-1?b(e):v.test(e)?_(e):g.test(t)&&N(e,t)};var D={createMarkupForStyles:function(e){var t="";for(var o in e)if(e.hasOwnProperty(o)){var r=e[o];"production"!==n.env.NODE_ENV&&C(o,r),null!=r&&(t+=p(o)+":",t+=s(o,r)+";")}return t||null},setValueForStyles:function(e,t){var r=e.style;for(var a in t)if(t.hasOwnProperty(a)){"production"!==n.env.NODE_ENV&&C(a,t[a]);var i=s(a,t[a]);if("float"===a&&(a=f),i)r[a]=i;else{var c=d&&o.shorthandPropertyExpansions[a];if(c)for(var u in c)r[u]="";else r[a]=""}}}};a.measureMethods(D,"CSSPropertyOperations",{setValueForStyles:"setValueForStyles"}),t.exports=D}).call(this,e("_process"))},{"./CSSProperty":12,"./ReactPerf":80,"./dangerousStyleValue":114,_process:7,"fbjs/lib/ExecutionEnvironment":139,"fbjs/lib/camelizeStyleName":141,"fbjs/lib/hyphenateStyleName":152,"fbjs/lib/memoizeStringOnly":159,"fbjs/lib/warning":164}],14:[function(e,t){(function(n){"use strict";function o(){this._callbacks=null,this._contexts=null}var r=e("./PooledClass"),a=e("./Object.assign"),i=e("fbjs/lib/invariant");a(o.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length?"production"!==n.env.NODE_ENV?i(!1,"Mismatched list of contexts in callback queue"):i(!1):void 0,this._callbacks=null,this._contexts=null;for(var o=0;o8));var k=!1;b.canUseDOM&&(k=D("input")&&(!("documentMode"in document)||document.documentMode>9));var j={get:function(){return S.get.call(this)},set:function(e){P=""+e,S.set.call(this,e)}},V={eventTypes:M,extractEvents:function(e,t,o,r,a){var i,u;if(n(t)?T?i=s:u=c:O(t)?k?i=d:(i=h,u=f):m(t)&&(i=v),i){var l=i(e,t,o);if(l){var p=N.getPooled(M.change,l,r,a);return p.type="change",y.accumulateTwoPhaseDispatches(p),p}}u&&u(e,t,o)}};t.exports=V},{"./EventConstants":23,"./EventPluginHub":24,"./EventPropagators":27,"./ReactUpdates":92,"./SyntheticEvent":101,"./getEventTarget":123,"./isEventSupported":128,"./isTextInputElement":129,"fbjs/lib/ExecutionEnvironment":139,"fbjs/lib/keyOf":157}],16:[function(e,t){"use strict";var n=0,o={createReactRootIndex:function(){return n++}};t.exports=o},{}],17:[function(e,t){(function(n){"use strict";function o(e,t,n){var o=n>=e.childNodes.length?null:e.childNodes.item(n);e.insertBefore(t,o)}var r=e("./Danger"),a=e("./ReactMultiChildUpdateTypes"),i=e("./ReactPerf"),s=e("./setInnerHTML"),c=e("./setTextContent"),u=e("fbjs/lib/invariant"),l={dangerouslyReplaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup,updateTextContent:c,processUpdates:function(e,t){for(var i,l=null,p=null,d=0;d when using tables, nesting tags like
,

, or , or using non-SVG elements in an parent. Try inspecting the child nodes of the element with React ID `%s`.",f,m):u(!1),l=l||{},l[m]=l[m]||[],l[m][f]=h,p=p||[],p.push(h)}var v;if(v=t.length&&"string"==typeof t[0]?r.dangerouslyRenderMarkup(t):t,p)for(var g=0;gt||e.hasOverloadedBooleanValue&&t===!1}var a=e("./DOMProperty"),i=e("./ReactPerf"),s=e("./quoteAttributeValueForBrowser"),c=e("fbjs/lib/warning"),u=/^[a-zA-Z_][\w\.\-]*$/,l={},p={};if("production"!==n.env.NODE_ENV)var d={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},f={},h=function(e){if(!(d.hasOwnProperty(e)&&d[e]||f.hasOwnProperty(e)&&f[e])){f[e]=!0;var t=e.toLowerCase(),o=a.isCustomAttribute(t)?t:a.getPossibleStandardName.hasOwnProperty(t)?a.getPossibleStandardName[t]:null;"production"!==n.env.NODE_ENV?c(null==o,"Unknown DOM property %s. Did you mean %s?",e,o):void 0}};var m={createMarkupForID:function(e){return a.ID_ATTRIBUTE_NAME+"="+s(e)},setAttributeForID:function(e,t){e.setAttribute(a.ID_ATTRIBUTE_NAME,t)},createMarkupForProperty:function(e,t){var o=a.properties.hasOwnProperty(e)?a.properties[e]:null;if(o){if(r(o,t))return"";var i=o.attributeName;return o.hasBooleanValue||o.hasOverloadedBooleanValue&&t===!0?i+'=""':i+"="+s(t)}return a.isCustomAttribute(e)?null==t?"":e+"="+s(t):("production"!==n.env.NODE_ENV&&h(e),null)},createMarkupForCustomAttribute:function(e,t){return o(e)&&null!=t?e+"="+s(t):""},setValueForProperty:function(e,t,o){var i=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(i){var s=i.mutationMethod;if(s)s(e,o);else if(r(i,o))this.deleteValueForProperty(e,t);else if(i.mustUseAttribute){var c=i.attributeName,u=i.attributeNamespace;u?e.setAttributeNS(u,c,""+o):i.hasBooleanValue||i.hasOverloadedBooleanValue&&o===!0?e.setAttribute(c,""):e.setAttribute(c,""+o)}else{var l=i.propertyName;i.hasSideEffects&&""+e[l]==""+o||(e[l]=o)}}else a.isCustomAttribute(t)?m.setValueForAttribute(e,t,o):"production"!==n.env.NODE_ENV&&h(t)},setValueForAttribute:function(e,t,n){o(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,t){var o=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(o){var r=o.mutationMethod;if(r)r(e,void 0);else if(o.mustUseAttribute)e.removeAttribute(o.attributeName);else{var i=o.propertyName,s=a.getDefaultValueForProperty(e.nodeName,i);o.hasSideEffects&&""+e[i]===s||(e[i]=s)}}else a.isCustomAttribute(t)?e.removeAttribute(t):"production"!==n.env.NODE_ENV&&h(t)}};i.measureMethods(m,"DOMPropertyOperations",{setValueForProperty:"setValueForProperty",setValueForAttribute:"setValueForAttribute",deleteValueForProperty:"deleteValueForProperty"}),t.exports=m}).call(this,e("_process"))},{"./DOMProperty":18,"./ReactPerf":80,"./quoteAttributeValueForBrowser":131,_process:7,"fbjs/lib/warning":164}],20:[function(e,t){(function(n){"use strict";function o(e){return e.substring(1,e.indexOf(" "))}var r=e("fbjs/lib/ExecutionEnvironment"),a=e("fbjs/lib/createNodesFromMarkup"),i=e("fbjs/lib/emptyFunction"),s=e("fbjs/lib/getMarkupWrap"),c=e("fbjs/lib/invariant"),u=/^(<[^ \/>]+)/,l="data-danger-index",p={dangerouslyRenderMarkup:function(e){r.canUseDOM?void 0:"production"!==n.env.NODE_ENV?c(!1,"dangerouslyRenderMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString for server rendering."):c(!1);for(var t,p={},d=0;d node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString()."):c(!1):void 0;var o;o="string"==typeof t?a(t,i)[0]:t,e.parentNode.replaceChild(o,e)}};t.exports=p}).call(this,e("_process"))},{_process:7,"fbjs/lib/ExecutionEnvironment":139,"fbjs/lib/createNodesFromMarkup":144,"fbjs/lib/emptyFunction":145,"fbjs/lib/getMarkupWrap":149,"fbjs/lib/invariant":153}],21:[function(e,t){"use strict";var n=e("fbjs/lib/keyOf"),o=[n({ResponderEventPlugin:null}),n({SimpleEventPlugin:null}),n({TapEventPlugin:null}),n({EnterLeaveEventPlugin:null}),n({ChangeEventPlugin:null}),n({SelectEventPlugin:null}),n({BeforeInputEventPlugin:null})];t.exports=o},{"fbjs/lib/keyOf":157}],22:[function(e,t){"use strict";var n=e("./EventConstants"),o=e("./EventPropagators"),r=e("./SyntheticMouseEvent"),a=e("./ReactMount"),i=e("fbjs/lib/keyOf"),s=n.topLevelTypes,c=a.getFirstReactDOM,u={mouseEnter:{registrationName:i({onMouseEnter:null}),dependencies:[s.topMouseOut,s.topMouseOver]},mouseLeave:{registrationName:i({onMouseLeave:null}),dependencies:[s.topMouseOut,s.topMouseOver]}},l=[null,null],p={eventTypes:u,extractEvents:function(e,t,n,i,p){if(e===s.topMouseOver&&(i.relatedTarget||i.fromElement))return null;if(e!==s.topMouseOut&&e!==s.topMouseOver)return null;var d;if(t.window===t)d=t;else{var f=t.ownerDocument;d=f?f.defaultView||f.parentWindow:window}var h,m,v="",g="";if(e===s.topMouseOut?(h=t,v=n,m=c(i.relatedTarget||i.toElement),m?g=a.getID(m):m=d,m=m||d):(h=d,m=t,g=n),h===m)return null;var E=r.getPooled(u.mouseLeave,v,i,p);E.type="mouseleave",E.target=h,E.relatedTarget=m;var y=r.getPooled(u.mouseEnter,g,i,p);return y.type="mouseenter",y.target=m,y.relatedTarget=h,o.accumulateEnterLeaveDispatches(E,y,v,g),l[0]=E,l[1]=y,l}};t.exports=p},{"./EventConstants":23,"./EventPropagators":27,"./ReactMount":74,"./SyntheticMouseEvent":105,"fbjs/lib/keyOf":157}],23:[function(e,t){"use strict";var n=e("fbjs/lib/keyMirror"),o=n({bubbled:null,captured:null}),r=n({topAbort:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topVolumeChange:null,topWaiting:null,topWheel:null}),a={topLevelTypes:r,PropagationPhases:o}; -t.exports=a},{"fbjs/lib/keyMirror":156}],24:[function(e,t){(function(n){"use strict";function o(){var e=v&&v.traverseTwoPhase&&v.traverseEnterLeave;"production"!==n.env.NODE_ENV?l(e,"InstanceHandle not injected before use!"):void 0}var r=e("./EventPluginRegistry"),a=e("./EventPluginUtils"),i=e("./ReactErrorUtils"),s=e("./accumulateInto"),c=e("./forEachAccumulated"),u=e("fbjs/lib/invariant"),l=e("fbjs/lib/warning"),p={},d=null,f=function(e,t){e&&(a.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return f(e,!0)},m=function(e){return f(e,!1)},v=null,g={injection:{injectMount:a.injection.injectMount,injectInstanceHandle:function(e){v=e,"production"!==n.env.NODE_ENV&&o()},getInstanceHandle:function(){return"production"!==n.env.NODE_ENV&&o(),v},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(e,t,o){"function"!=typeof o?"production"!==n.env.NODE_ENV?u(!1,"Expected %s listener to be a function, instead got type %s",t,typeof o):u(!1):void 0;var a=p[t]||(p[t]={});a[e]=o;var i=r.registrationNameModules[t];i&&i.didPutListener&&i.didPutListener(e,t,o)},getListener:function(e,t){var n=p[t];return n&&n[e]},deleteListener:function(e,t){var n=r.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var o=p[t];o&&delete o[e]},deleteAllListeners:function(e){for(var t in p)if(p[t][e]){var n=r.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete p[t][e]}},extractEvents:function(e,t,n,o,a){for(var i,c=r.plugins,u=0;u-1?void 0:"production"!==n.env.NODE_ENV?i(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):i(!1),!u.plugins[o]){t.extractEvents?void 0:"production"!==n.env.NODE_ENV?i(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):i(!1),u.plugins[o]=t;var a=t.eventTypes;for(var l in a)r(a[l],t,l)?void 0:"production"!==n.env.NODE_ENV?i(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",l,e):i(!1)}}}function r(e,t,o){u.eventNameDispatchConfigs.hasOwnProperty(o)?"production"!==n.env.NODE_ENV?i(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",o):i(!1):void 0,u.eventNameDispatchConfigs[o]=e;var r=e.phasedRegistrationNames;if(r){for(var s in r)if(r.hasOwnProperty(s)){var c=r[s];a(c,t,o)}return!0}return e.registrationName?(a(e.registrationName,t,o),!0):!1}function a(e,t,o){u.registrationNameModules[e]?"production"!==n.env.NODE_ENV?i(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):i(!1):void 0,u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[o].dependencies}var i=e("fbjs/lib/invariant"),s=null,c={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s?"production"!==n.env.NODE_ENV?i(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):i(!1):void 0,s=Array.prototype.slice.call(e),o()},injectEventPluginsByName:function(e){var t=!1;for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];c.hasOwnProperty(r)&&c[r]===a||(c[r]?"production"!==n.env.NODE_ENV?i(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",r):i(!1):void 0,c[r]=a,t=!0)}t&&o()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var o=u.registrationNameModules[t.phasedRegistrationNames[n]];if(o)return o}return null},_resetEventPlugins:function(){s=null;for(var e in c)c.hasOwnProperty(e)&&delete c[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var o=u.registrationNameModules;for(var r in o)o.hasOwnProperty(r)&&delete o[r]}};t.exports=u}).call(this,e("_process"))},{_process:7,"fbjs/lib/invariant":153}],26:[function(e,t){(function(n){"use strict";function o(e){return e===E.topMouseUp||e===E.topTouchEnd||e===E.topTouchCancel}function r(e){return e===E.topMouseMove||e===E.topTouchMove}function a(e){return e===E.topMouseDown||e===E.topTouchStart}function i(e,t,n,o){var r=e.type||"unknown-event";e.currentTarget=g.Mount.getNode(o),t?h.invokeGuardedCallbackWithCatch(r,n,e,o):h.invokeGuardedCallback(r,n,e,o),e.currentTarget=null}function s(e,t){var o=e._dispatchListeners,r=e._dispatchIDs;if("production"!==n.env.NODE_ENV&&d(e),Array.isArray(o))for(var a=0;ae&&n[e]===r[e];e++);var i=o-e;for(t=1;i>=t&&n[o-t]===r[a-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=r.slice(e,s),this._fallbackText}}),o.addPoolingTo(n),t.exports=n},{"./Object.assign":31,"./PooledClass":32,"./getTextContentAccessor":126}],29:[function(e,t){"use strict";var n,o=e("./DOMProperty"),r=e("fbjs/lib/ExecutionEnvironment"),a=o.injection.MUST_USE_ATTRIBUTE,i=o.injection.MUST_USE_PROPERTY,s=o.injection.HAS_BOOLEAN_VALUE,c=o.injection.HAS_SIDE_EFFECTS,u=o.injection.HAS_NUMERIC_VALUE,l=o.injection.HAS_POSITIVE_NUMERIC_VALUE,p=o.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(r.canUseDOM){var d=document.implementation;n=d&&d.hasFeature&&d.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var f={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:a|s,allowTransparency:a,alt:null,async:s,autoComplete:null,autoPlay:s,capture:a|s,cellPadding:null,cellSpacing:null,charSet:a,challenge:a,checked:i|s,classID:a,className:n?a:i,cols:a|l,colSpan:null,content:null,contentEditable:null,contextMenu:a,controls:i|s,coords:null,crossOrigin:null,data:null,dateTime:a,"default":s,defer:s,dir:null,disabled:a|s,download:p,draggable:null,encType:null,form:a,formAction:a,formEncType:a,formMethod:a,formNoValidate:s,formTarget:a,frameBorder:a,headers:null,height:a,hidden:a|s,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:i,inputMode:a,integrity:null,is:a,keyParams:a,keyType:a,kind:null,label:null,lang:null,list:a,loop:i|s,low:null,manifest:a,marginHeight:null,marginWidth:null,max:null,maxLength:a,media:a,mediaGroup:null,method:null,min:null,minLength:a,multiple:i|s,muted:i|s,name:null,nonce:a,noValidate:s,open:s,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:i|s,rel:null,required:s,reversed:s,role:a,rows:a|l,rowSpan:null,sandbox:null,scope:null,scoped:s,scrolling:null,seamless:a|s,selected:i|s,shape:null,size:a|l,sizes:a,span:l,spellCheck:null,src:null,srcDoc:i,srcLang:null,srcSet:a,start:u,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:i|c,width:a,wmode:a,wrap:null,about:a,datatype:a,inlist:a,prefix:a,property:a,resource:a,"typeof":a,vocab:a,autoCapitalize:null,autoCorrect:null,autoSave:null,color:null,itemProp:a,itemScope:a|s,itemType:a,itemID:a,itemRef:a,results:null,security:a,unselectable:a},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoCapitalize:"autocapitalize",autoComplete:"autocomplete",autoCorrect:"autocorrect",autoFocus:"autofocus",autoPlay:"autoplay",autoSave:"autosave",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};t.exports=f},{"./DOMProperty":18,"fbjs/lib/ExecutionEnvironment":139}],30:[function(e,t){(function(n){"use strict";function o(e){null!=e.checkedLink&&null!=e.valueLink?"production"!==n.env.NODE_ENV?u(!1,"Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don't want to use valueLink and vice versa."):u(!1):void 0}function r(e){o(e),null!=e.value||null!=e.onChange?"production"!==n.env.NODE_ENV?u(!1,"Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don't want to use valueLink."):u(!1):void 0}function a(e){o(e),null!=e.checked||null!=e.onChange?"production"!==n.env.NODE_ENV?u(!1,"Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don't want to use checkedLink"):u(!1):void 0}function i(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=e("./ReactPropTypes"),c=e("./ReactPropTypeLocations"),u=e("fbjs/lib/invariant"),l=e("fbjs/lib/warning"),p={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},d={value:function(e,t){return!e[t]||p[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:s.func},f={},h={checkPropTypes:function(e,t,o){for(var r in d){if(d.hasOwnProperty(r))var a=d[r](t,r,e,c.prop);if(a instanceof Error&&!(a.message in f)){f[a.message]=!0;var s=i(o);"production"!==n.env.NODE_ENV?l(!1,"Failed form propType: %s%s",a.message,s):void 0}}},getValue:function(e){return e.valueLink?(r(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(a(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(r(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(a(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};t.exports=h}).call(this,e("_process"))},{"./ReactPropTypeLocations":82,"./ReactPropTypes":83,_process:7,"fbjs/lib/invariant":153,"fbjs/lib/warning":164}],31:[function(e,t){"use strict";function n(e){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var t=Object(e),n=Object.prototype.hasOwnProperty,o=1;o1?s-1:0),u=1;s>u;u++)c[u-1]=arguments[u];if(i!==e&&null!==i)"production"!==n.env.NODE_ENV?C(!1,"bind(): React component methods may only be bound to the component instance. See %s",r):void 0;else if(!c.length)return"production"!==n.env.NODE_ENV?C(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",r):void 0,o;var l=a.apply(o,arguments);return l.__reactBoundContext=e,l.__reactBoundMethod=t,l.__reactBoundArguments=c,l}}return o}function d(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=p(e,n)}}var f=e("./ReactComponent"),h=e("./ReactElement"),m=e("./ReactPropTypeLocations"),v=e("./ReactPropTypeLocationNames"),g=e("./ReactNoopUpdateQueue"),E=e("./Object.assign"),y=e("fbjs/lib/emptyObject"),b=e("fbjs/lib/invariant"),_=e("fbjs/lib/keyMirror"),N=e("fbjs/lib/keyOf"),C=e("fbjs/lib/warning"),D=N({mixins:null}),O=_({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),R=[],w=!1,M={mixins:O.DEFINE_MANY,statics:O.DEFINE_MANY,propTypes:O.DEFINE_MANY,contextTypes:O.DEFINE_MANY,childContextTypes:O.DEFINE_MANY,getDefaultProps:O.DEFINE_MANY_MERGED,getInitialState:O.DEFINE_MANY_MERGED,getChildContext:O.DEFINE_MANY_MERGED,render:O.DEFINE_ONCE,componentWillMount:O.DEFINE_MANY,componentDidMount:O.DEFINE_MANY,componentWillReceiveProps:O.DEFINE_MANY,shouldComponentUpdate:O.DEFINE_ONCE,componentWillUpdate:O.DEFINE_MANY,componentDidUpdate:O.DEFINE_MANY,componentWillUnmount:O.DEFINE_MANY,updateComponent:O.OVERRIDE_BASE},x={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)&&console.debug("Download the React DevTools for a better development experience: https://fb.me/react-devtools");var E=document.documentMode&&document.documentMode<8;"production"!==n.env.NODE_ENV?h(!E,'Internet Explorer is running in compatibility mode; please add the following tag to your HTML to prevent this from happening: '):void 0;for(var y=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.create,Object.freeze],b=0;b",u(e),u(t)):void 0)}}function p(e,t){t&&("production"!==n.env.NODE_ENV&&st[e._tag]&&("production"!==n.env.NODE_ENV?G(null==t.children&&null==t.dangerouslySetInnerHTML,"%s is a void element tag and must not have `children` or use `props.dangerouslySetInnerHTML`.%s",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?"production"!==n.env.NODE_ENV?B(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):B(!1):void 0,"object"==typeof t.dangerouslySetInnerHTML&&tt in t.dangerouslySetInnerHTML?void 0:"production"!==n.env.NODE_ENV?B(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information."):B(!1)),"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?G(null==t.innerHTML,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."):void 0,"production"!==n.env.NODE_ENV?G(!t.contentEditable||null==t.children,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."):void 0),null!=t.style&&"object"!=typeof t.style?"production"!==n.env.NODE_ENV?B(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",o(e)):B(!1):void 0)}function d(e,t,o,r){"production"!==n.env.NODE_ENV&&("production"!==n.env.NODE_ENV?G("onScroll"!==t||W("scroll",!0),"This browser doesn't support the `onScroll` event"):void 0);var a=k.findReactContainerForID(e);if(a){var i=a.nodeType===nt?a.ownerDocument:a;X(t,i)}r.getReactMountReady().enqueue(f,{id:e,registrationName:t,listener:o})}function f(){var e=this;w.putListener(e.id,e.registrationName,e.listener)}function h(){var e=this;e._rootNodeID?void 0:"production"!==n.env.NODE_ENV?B(!1,"Must be mounted to trap events"):B(!1);var t=k.getNode(e._rootNodeID);switch(t?void 0:"production"!==n.env.NODE_ENV?B(!1,"trapBubbledEvent(...): Requires node to be rendered."):B(!1),e._tag){case"iframe":e._wrapperState.listeners=[w.trapBubbledEvent(R.topLevelTypes.topLoad,"load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var o in rt)rt.hasOwnProperty(o)&&e._wrapperState.listeners.push(w.trapBubbledEvent(R.topLevelTypes[o],rt[o],t));break;case"img":e._wrapperState.listeners=[w.trapBubbledEvent(R.topLevelTypes.topError,"error",t),w.trapBubbledEvent(R.topLevelTypes.topLoad,"load",t)];break;case"form":e._wrapperState.listeners=[w.trapBubbledEvent(R.topLevelTypes.topReset,"reset",t),w.trapBubbledEvent(R.topLevelTypes.topSubmit,"submit",t)]}}function m(){I.mountReadyWrapper(this)}function v(){S.postUpdateWrapper(this)}function g(e){lt.call(ut,e)||(ct.test(e)?void 0:"production"!==n.env.NODE_ENV?B(!1,"Invalid tag: %s",e):B(!1),ut[e]=!0)}function E(e,t){e=L({},e);var n=e[Y.ancestorInfoContextKey];return e[Y.ancestorInfoContextKey]=Y.updatedAncestorInfo(n,t._tag,t),e}function y(e,t){return e.indexOf("-")>=0||null!=t.is}function b(e){g(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWithLegacyProperties=null,"production"!==n.env.NODE_ENV&&(this._unprocessedContextDev=null,this._processedContextDev=null)}var _,N=e("./AutoFocusUtils"),C=e("./CSSPropertyOperations"),D=e("./DOMProperty"),O=e("./DOMPropertyOperations"),R=e("./EventConstants"),w=e("./ReactBrowserEventEmitter"),M=e("./ReactComponentBrowserEnvironment"),x=e("./ReactDOMButton"),I=e("./ReactDOMInput"),P=e("./ReactDOMOption"),S=e("./ReactDOMSelect"),T=e("./ReactDOMTextarea"),k=e("./ReactMount"),j=e("./ReactMultiChild"),V=e("./ReactPerf"),A=e("./ReactUpdateQueue"),L=e("./Object.assign"),U=e("./canDefineProperty"),F=e("./escapeTextContentForBrowser"),B=e("fbjs/lib/invariant"),W=e("./isEventSupported"),H=e("fbjs/lib/keyOf"),q=e("./setInnerHTML"),K=e("./setTextContent"),z=e("fbjs/lib/shallowEqual"),Y=e("./validateDOMNesting"),G=e("fbjs/lib/warning"),Q=w.deleteListener,X=w.listenTo,$=w.registrationNameModules,J={string:!0,number:!0},Z=H({children:null}),et=H({style:null}),tt=H({__html:null}),nt=1;"production"!==n.env.NODE_ENV&&(_={props:{enumerable:!1,get:function(){var e=this._reactInternalComponent;return"production"!==n.env.NODE_ENV?G(!1,"ReactDOMComponent: Do not access .props of a DOM node; instead, recreate the props as `render` did originally or read the DOM properties/attributes directly from this node (e.g., this.refs.box.className).%s",o(e)):void 0,e._currentElement.props}}});var ot={},rt={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},at={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},it={listing:!0,pre:!0,textarea:!0},st=L({menuitem:!0},at),ct=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ut={},lt={}.hasOwnProperty;b.displayName="ReactDOMComponent",b.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,o){this._rootNodeID=e;var r=this._currentElement.props;switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(h,this);break;case"button":r=x.getNativeProps(this,r,o);break;case"input":I.mountWrapper(this,r,o),r=I.getNativeProps(this,r,o);break;case"option":P.mountWrapper(this,r,o),r=P.getNativeProps(this,r,o);break;case"select":S.mountWrapper(this,r,o),r=S.getNativeProps(this,r,o),o=S.processChildContext(this,r,o);break;case"textarea":T.mountWrapper(this,r,o),r=T.getNativeProps(this,r,o)}p(this,r),"production"!==n.env.NODE_ENV&&o[Y.ancestorInfoContextKey]&&Y(this._tag,this,o[Y.ancestorInfoContextKey]),"production"!==n.env.NODE_ENV&&(this._unprocessedContextDev=o,this._processedContextDev=E(o,this),o=this._processedContextDev);var a;if(t.useCreateElement){var i=o[k.ownerDocumentContextKey],s=i.createElement(this._currentElement.type);O.setAttributeForID(s,this._rootNodeID),k.getID(s),this._updateDOMProperties({},r,t,s),this._createInitialChildren(t,r,o,s),a=s}else{var c=this._createOpenTagMarkupAndPutListeners(t,r),u=this._createContentMarkup(t,r,o);a=!u&&at[this._tag]?c+"/>":c+">"+u+""}switch(this._tag){case"input":t.getReactMountReady().enqueue(m,this);case"button":case"select":case"textarea":r.autoFocus&&t.getReactMountReady().enqueue(N.focusDOMComponent,this)}return a},_createOpenTagMarkupAndPutListeners:function(e,t){var o="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];if(null!=a)if($.hasOwnProperty(r))a&&d(this._rootNodeID,r,a,e);else{r===et&&(a&&("production"!==n.env.NODE_ENV&&(this._previousStyle=a),a=this._previousStyleCopy=L({},t.style)),a=C.createMarkupForStyles(a));var i=null;null!=this._tag&&y(this._tag,t)?r!==Z&&(i=O.createMarkupForCustomAttribute(r,a)):i=O.createMarkupForProperty(r,a),i&&(o+=" "+i)}}if(e.renderToStaticMarkup)return o;var s=O.createMarkupForID(this._rootNodeID);return o+" "+s},_createContentMarkup:function(e,t,n){var o="",r=t.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&(o=r.__html);else{var a=J[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)o=F(a);else if(null!=i){var s=this.mountChildren(i,e,n);o=s.join("")}}return it[this._tag]&&"\n"===o.charAt(0)?"\n"+o:o},_createInitialChildren:function(e,t,n,o){var r=t.dangerouslySetInnerHTML;if(null!=r)null!=r.__html&&q(o,r.__html);else{var a=J[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)K(o,a);else if(null!=i)for(var s=this.mountChildren(i,e,n),c=0;c tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg , , and ) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.",this._tag):B(!1)}if(this.unmountChildren(),w.deleteAllListeners(this._rootNodeID),M.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null,this._wrapperState=null,this._nodeWithLegacyProperties){var o=this._nodeWithLegacyProperties;o._reactInternalComponent=null,this._nodeWithLegacyProperties=null}},getPublicInstance:function(){if(!this._nodeWithLegacyProperties){var e=k.getNode(this._rootNodeID);e._reactInternalComponent=this,e.getDOMNode=r,e.isMounted=a,e.setState=i,e.replaceState=i,e.forceUpdate=i,e.setProps=s,e.replaceProps=c,"production"!==n.env.NODE_ENV?U?Object.defineProperties(e,_):e.props=this._currentElement.props:e.props=this._currentElement.props,this._nodeWithLegacyProperties=e}return this._nodeWithLegacyProperties}},V.measureMethods(b,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),L(b.prototype,b.Mixin,j.Mixin),t.exports=b}).call(this,e("_process"))},{"./AutoFocusUtils":10,"./CSSPropertyOperations":13,"./DOMProperty":18,"./DOMPropertyOperations":19,"./EventConstants":23,"./Object.assign":31,"./ReactBrowserEventEmitter":35,"./ReactComponentBrowserEnvironment":40,"./ReactDOMButton":45,"./ReactDOMInput":50,"./ReactDOMOption":51,"./ReactDOMSelect":52,"./ReactDOMTextarea":56,"./ReactMount":74,"./ReactMultiChild":75,"./ReactPerf":80,"./ReactUpdateQueue":91,"./canDefineProperty":113,"./escapeTextContentForBrowser":116,"./isEventSupported":128,"./setInnerHTML":133,"./setTextContent":134,"./validateDOMNesting":137,_process:7,"fbjs/lib/invariant":153,"fbjs/lib/keyOf":157,"fbjs/lib/shallowEqual":162,"fbjs/lib/warning":164}],47:[function(e,t){(function(n){"use strict"; -function o(e){return"production"!==n.env.NODE_ENV?a.createFactory(e):r.createFactory(e)}var r=e("./ReactElement"),a=e("./ReactElementValidator"),i=e("fbjs/lib/mapObject"),s=i({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},o);t.exports=s}).call(this,e("_process"))},{"./ReactElement":61,"./ReactElementValidator":62,_process:7,"fbjs/lib/mapObject":158}],48:[function(e,t){"use strict";var n={useCreateElement:!1};t.exports=n},{}],49:[function(e,t){(function(n){"use strict";var o=e("./DOMChildrenOperations"),r=e("./DOMPropertyOperations"),a=e("./ReactMount"),i=e("./ReactPerf"),s=e("fbjs/lib/invariant"),c={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},u={updatePropertyByID:function(e,t,o){var i=a.getNode(e);c.hasOwnProperty(t)?"production"!==n.env.NODE_ENV?s(!1,"updatePropertyByID(...): %s",c[t]):s(!1):void 0,null!=o?r.setValueForProperty(i,t,o):r.deleteValueForProperty(i,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=a.getNode(e);o.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n instead of setting `selected` on