UNPKG

weborama-ui-react

Version:

Weborama Semantic UI React Components

6 lines 32.3 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports["weborama-ui-react"]=t(require("react")):e["weborama-ui-react"]=t(e.react)}(window,(function(e){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=125)}({0:function(e,t,r){e.exports=r(6)()},1:function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var n=(i=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[r].concat(a).concat([n]).join("\n")}var i;return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},n=0;n<this.length;n++){var a=this[n][0];"number"==typeof a&&(o[a]=!0)}for(n=0;n<e.length;n++){var i=e[n];"number"==typeof i[0]&&o[i[0]]||(r&&!i[2]?i[2]=r:r&&(i[2]="("+i[2]+") and ("+r+")"),t.push(i))}},t}},125:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),n=l(r(0)),a=l(r(4)),i=l(r(5));r(126),r(127);var s=r(8);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.state={value:e.value||0,total:e.total||100},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;"function"==typeof this.props.onSuccess&&$(this.refs.progressBar).progress({onSuccess:function(){e.props.onSuccess&&e.props.onSuccess()},onChange:function(){e.props.onChange&&e.props.onChange()}})}},{key:"increment",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;0!==parseInt(e,10)&&$(this.refs.progressBar).progress("increment",e)}},{key:"reset",value:function(){$(this.refs.progressBar).progress("reset"),$(this.refs.progressBar).progress("remove success")}},{key:"render",value:function(){var e=this,t=Object.keys(s.colors).filter((function(t){return!!e.props[t]&&{color:e.props[t]}})),r=Object.keys(s.sizes).filter((function(t){return!!e.props[t]&&{size:e.props[t]}})),o=(0,i.default)({ui:!0},t,r,{inverted:this.props.inverted,indicating:this.props.indicating,top:this.props.top,attached:this.props.attached,transition:void 0!==this.props.visible,visible:!!this.props.visible,hidden:!this.props.visible,progress:!0});return a.default.createElement("div",{className:o,ref:"progressBar","data-value":this.state.value,"data-total":this.state.total},a.default.createElement("div",{className:"bar"}),a.default.createElement("div",{className:"label"},this.props.children))}}]),t}(a.default.Component);c.displayName="Progress",t.default=c,c.propTypes={inverted:n.default.bool,indicating:n.default.bool,top:n.default.bool,attached:n.default.bool,value:n.default.number,total:n.default.number,visible:n.default.bool,onChange:n.default.func,onSuccess:n.default.func,children:n.default.any}},126:function(e,t){!function(e,t,r,o){"use strict";void 0!==(t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")())&&t.Math==Math||("undefined"!=typeof self&&self.Math==Math?self:Function("return this")()),e.fn.progress=function(t){var n,a=e(this),i=a.selector||"",s=(new Date).getTime(),l=[],c=t,u="string"==typeof c,d=[].slice.call(arguments,1);return a.each((function(){var a,p=e.isPlainObject(t)?e.extend(!0,{},e.fn.progress.settings,t):e.extend({},e.fn.progress.settings),f=p.className,g=p.metadata,b=p.namespace,v=p.selector,m=p.error,h="."+b,y="module-"+b,w=e(this),x=e(this).find(v.bar),k=e(this).find(v.progress),O=e(this).find(v.label),j=this,T=w.data(y),C=!1;a={initialize:function(){a.debug("Initializing progress bar",p),a.set.duration(),a.set.transitionEvent(),a.read.metadata(),a.read.settings(),a.instantiate()},instantiate:function(){a.verbose("Storing instance of progress",a),T=a,w.data(y,a)},destroy:function(){a.verbose("Destroying previous progress for",w),clearInterval(T.interval),a.remove.state(),w.removeData(y),T=o},reset:function(){a.remove.nextValue(),a.update.progress(0)},complete:function(){(a.percent===o||a.percent<100)&&(a.remove.progressPoll(),a.set.percent(100))},read:{metadata:function(){var e={percent:w.data(g.percent),total:w.data(g.total),value:w.data(g.value)};e.percent&&(a.debug("Current percent value set from metadata",e.percent),a.set.percent(e.percent)),e.total&&(a.debug("Total value set from metadata",e.total),a.set.total(e.total)),e.value&&(a.debug("Current value set from metadata",e.value),a.set.value(e.value),a.set.progress(e.value))},settings:function(){!1!==p.total&&(a.debug("Current total set in settings",p.total),a.set.total(p.total)),!1!==p.value&&(a.debug("Current value set in settings",p.value),a.set.value(p.value),a.set.progress(a.value)),!1!==p.percent&&(a.debug("Current percent set in settings",p.percent),a.set.percent(p.percent))}},bind:{transitionEnd:function(e){var t=a.get.transitionEnd();x.one(t+h,(function(t){clearTimeout(a.failSafeTimer),e.call(this,t)})),a.failSafeTimer=setTimeout((function(){x.triggerHandler(t)}),p.duration+p.failSafeDelay),a.verbose("Adding fail safe timer",a.timer)}},increment:function(e){var t,r;a.has.total()?r=(t=a.get.value())+(e=e||1):(r=(t=a.get.percent())+(e=e||a.get.randomValue()),a.debug("Incrementing percentage by",t,r)),r=a.get.normalizedValue(r),a.set.progress(r)},decrement:function(e){var t,r;a.get.total()?(r=(t=a.get.value())-(e=e||1),a.debug("Decrementing value by",e,t)):(r=(t=a.get.percent())-(e=e||a.get.randomValue()),a.debug("Decrementing percentage by",e,t)),r=a.get.normalizedValue(r),a.set.progress(r)},has:{progressPoll:function(){return a.progressPoll},total:function(){return!1!==a.get.total()}},get:{text:function(e){var t=a.value||0,r=a.total||0,o=C?a.get.displayPercent():a.percent||0,n=0<a.total?r-t:100-o;return e=(e=e||"").replace("{value}",t).replace("{total}",r).replace("{left}",n).replace("{percent}",o),a.verbose("Adding variables to progress bar text",e),e},normalizedValue:function(e){if(e<0)return a.debug("Value cannot decrement below 0"),0;if(a.has.total()){if(e>a.total)return a.debug("Value cannot increment above total",a.total),a.total}else if(100<e)return a.debug("Value cannot increment above 100 percent"),100;return e},updateInterval:function(){return"auto"==p.updateInterval?p.duration:p.updateInterval},randomValue:function(){return a.debug("Generating random increment percentage"),Math.floor(Math.random()*p.random.max+p.random.min)},numericValue:function(e){return"string"==typeof e?""!==e.replace(/[^\d.]/g,"")&&+e.replace(/[^\d.]/g,""):e},transitionEnd:function(){var e,t=r.createElement("element"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in n)if(t.style[e]!==o)return n[e]},displayPercent:function(){var e=x.width(),t=w.width(),r=parseInt(x.css("min-width"),10)<e?e/t*100:a.percent;return 0<p.precision?Math.round(r*(10*p.precision))/(10*p.precision):Math.round(r)},percent:function(){return a.percent||0},value:function(){return a.nextValue||a.value||0},total:function(){return a.total||!1}},create:{progressPoll:function(){a.progressPoll=setTimeout((function(){a.update.toNextValue(),a.remove.progressPoll()}),a.get.updateInterval())}},is:{complete:function(){return a.is.success()||a.is.warning()||a.is.error()},success:function(){return w.hasClass(f.success)},warning:function(){return w.hasClass(f.warning)},error:function(){return w.hasClass(f.error)},active:function(){return w.hasClass(f.active)},visible:function(){return w.is(":visible")}},remove:{progressPoll:function(){a.verbose("Removing progress poll timer"),a.progressPoll&&(clearTimeout(a.progressPoll),delete a.progressPoll)},nextValue:function(){a.verbose("Removing progress value stored for next update"),delete a.nextValue},state:function(){a.verbose("Removing stored state"),delete a.total,delete a.percent,delete a.value},active:function(){a.verbose("Removing active state"),w.removeClass(f.active)},success:function(){a.verbose("Removing success state"),w.removeClass(f.success)},warning:function(){a.verbose("Removing warning state"),w.removeClass(f.warning)},error:function(){a.verbose("Removing error state"),w.removeClass(f.error)}},set:{barWidth:function(e){100<e?a.error(m.tooHigh,e):e<0?a.error(m.tooLow,e):(x.css("width",e+"%"),w.attr("data-percent",parseInt(e,10)))},duration:function(e){e="number"==typeof(e=e||p.duration)?e+"ms":e,a.verbose("Setting progress bar transition duration",e),x.css({"transition-duration":e})},percent:function(e){e="string"==typeof e?+e.replace("%",""):e,e=0<p.precision?Math.round(e*(10*p.precision))/(10*p.precision):Math.round(e),a.percent=e,a.has.total()||(a.value=0<p.precision?Math.round(e/100*a.total*(10*p.precision))/(10*p.precision):Math.round(e/100*a.total*10)/10,p.limitValues&&(a.value=100<a.value?100:a.value<0?0:a.value)),a.set.barWidth(e),a.set.labelInterval(),a.set.labels(),p.onChange.call(j,e,a.value,a.total)},labelInterval:function(){clearInterval(a.interval),a.bind.transitionEnd((function(){a.verbose("Bar finished animating, removing continuous label updates"),clearInterval(a.interval),C=!1,a.set.labels()})),C=!0,a.interval=setInterval((function(){e.contains(r.documentElement,j)||(clearInterval(a.interval),C=!1),a.set.labels()}),p.framerate)},labels:function(){a.verbose("Setting both bar progress and outer label text"),a.set.barLabel(),a.set.state()},label:function(e){(e=e||"")&&(e=a.get.text(e),a.verbose("Setting label to text",e),O.text(e))},state:function(e){100===(e=e!==o?e:a.percent)?p.autoSuccess&&!(a.is.warning()||a.is.error()||a.is.success())?(a.set.success(),a.debug("Automatically triggering success at 100%")):(a.verbose("Reached 100% removing active state"),a.remove.active(),a.remove.progressPoll()):0<e?(a.verbose("Adjusting active progress bar label",e),a.set.active()):(a.remove.active(),a.set.label(p.text.active))},barLabel:function(e){e!==o?k.text(a.get.text(e)):"ratio"==p.label&&a.total?(a.verbose("Adding ratio to bar label"),k.text(a.get.text(p.text.ratio))):"percent"==p.label&&(a.verbose("Adding percentage to bar label"),k.text(a.get.text(p.text.percent)))},active:function(e){e=e||p.text.active,a.debug("Setting active state"),p.showActivity&&!a.is.active()&&w.addClass(f.active),a.remove.warning(),a.remove.error(),a.remove.success(),(e=p.onLabelUpdate("active",e,a.value,a.total))&&a.set.label(e),a.bind.transitionEnd((function(){p.onActive.call(j,a.value,a.total)}))},success:function(e){e=e||p.text.success||p.text.active,a.debug("Setting success state"),w.addClass(f.success),a.remove.active(),a.remove.warning(),a.remove.error(),a.complete(),e=p.text.success?p.onLabelUpdate("success",e,a.value,a.total):p.onLabelUpdate("active",e,a.value,a.total),a.set.label(e),a.bind.transitionEnd((function(){p.onSuccess.call(j,a.total)}))},warning:function(e){e=e||p.text.warning,a.debug("Setting warning state"),w.addClass(f.warning),a.remove.active(),a.remove.success(),a.remove.error(),a.complete(),(e=p.onLabelUpdate("warning",e,a.value,a.total))&&a.set.label(e),a.bind.transitionEnd((function(){p.onWarning.call(j,a.value,a.total)}))},error:function(e){e=e||p.text.error,a.debug("Setting error state"),w.addClass(f.error),a.remove.active(),a.remove.success(),a.remove.warning(),a.complete(),(e=p.onLabelUpdate("error",e,a.value,a.total))&&a.set.label(e),a.bind.transitionEnd((function(){p.onError.call(j,a.value,a.total)}))},transitionEvent:function(){a.get.transitionEnd()},total:function(e){a.total=e},value:function(e){a.value=e},progress:function(e){a.has.progressPoll()?(a.debug("Updated within interval, setting next update to use new value",e),a.set.nextValue(e)):(a.debug("First update in progress update interval, immediately updating",e),a.update.progress(e),a.create.progressPoll())},nextValue:function(e){a.nextValue=e}},update:{toNextValue:function(){var e=a.nextValue;e&&(a.debug("Update interval complete using last updated value",e),a.update.progress(e),a.remove.nextValue())},progress:function(e){var t;!1===(e=a.get.numericValue(e))&&a.error(m.nonNumeric,e),e=a.get.normalizedValue(e),a.has.total()?(a.set.value(e),t=e/a.total*100,a.debug("Calculating percent complete from total",t)):(t=e,a.debug("Setting value to exact percentage value",t)),a.set.percent(t)}},setting:function(t,r){if(a.debug("Changing setting",t,r),e.isPlainObject(t))e.extend(!0,p,t);else{if(r===o)return p[t];e.isPlainObject(p[t])?e.extend(!0,p[t],r):p[t]=r}},internal:function(t,r){if(e.isPlainObject(t))e.extend(!0,a,t);else{if(r===o)return a[t];a[t]=r}},debug:function(){!p.silent&&p.debug&&(p.performance?a.performance.log(arguments):(a.debug=Function.prototype.bind.call(console.info,console,p.name+":"),a.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?a.performance.log(arguments):(a.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),a.verbose.apply(console,arguments)))},error:function(){p.silent||(a.error=Function.prototype.bind.call(console.error,console,p.name+":"),a.error.apply(console,arguments))},performance:{log:function(e){var t,r;p.performance&&(r=(t=(new Date).getTime())-(s||t),s=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:j,"Execution Time":r})),clearTimeout(a.performance.timer),a.performance.timer=setTimeout(a.performance.display,500)},display:function(){var t=p.name+":",r=0;s=!1,clearTimeout(a.performance.timer),e.each(l,(function(e,t){r+=t["Execution Time"]})),t+=" "+r+"ms",i&&(t+=" '"+i+"'"),(console.group!==o||console.table!==o)&&0<l.length&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),l=[]}},invoke:function(t,r,i){var s,l,c,u=T;return r=r||d,i=j||i,"string"==typeof t&&u!==o&&(t=t.split(/[\. ]/),s=t.length-1,e.each(t,(function(r,n){var i=r!=s?n+t[r+1].charAt(0).toUpperCase()+t[r+1].slice(1):t;if(e.isPlainObject(u[i])&&r!=s)u=u[i];else{if(u[i]!==o)return l=u[i],!1;if(!e.isPlainObject(u[n])||r==s)return u[n]!==o?l=u[n]:a.error(m.method,t),!1;u=u[n]}}))),e.isFunction(l)?c=l.apply(i,r):l!==o&&(c=l),e.isArray(n)?n.push(c):n!==o?n=[n,c]:c!==o&&(n=c),l}},u?(T===o&&a.initialize(),a.invoke(c)):(T!==o&&T.invoke("destroy"),a.initialize())})),n!==o?n:this},e.fn.progress.settings={name:"Progress",namespace:"progress",silent:!1,debug:!1,verbose:!1,performance:!0,random:{min:2,max:5},duration:300,updateInterval:"auto",autoSuccess:!0,showActivity:!0,limitValues:!0,label:"percent",precision:0,framerate:1e3/30,percent:!1,total:!1,value:!1,failSafeDelay:100,onLabelUpdate:function(e,t,r,o){return t},onChange:function(e,t,r){},onSuccess:function(e){},onActive:function(e,t){},onError:function(e,t){},onWarning:function(e,t){},error:{method:"The method you called is not defined.",nonNumeric:"Progress value is non numeric",tooHigh:"Value specified is above 100%",tooLow:"Value specified is below 0%"},regExp:{variable:/\{\$*[A-z0-9]+\}/g},metadata:{percent:"percent",total:"total",value:"value"},selector:{bar:"> .bar",label:"> .label",progress:".bar > .progress"},text:{active:!1,error:!1,success:!1,warning:!1,percent:"{percent}%",ratio:"{value} of {total}"},className:{active:"active",error:"error",success:"success",warning:"warning"}}}(jQuery,window,document)},127:function(e,t,r){var o=r(128);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};r(2)(o,n);o.locals&&(e.exports=o.locals)},128:function(e,t,r){(e.exports=r(1)(!1)).push([e.i,'/*!\n * # Semantic UI 2.4.2 - Progress Bar\n * http://github.com/semantic-org/semantic-ui/\n *\n *\n * Released under the MIT license\n * http://opensource.org/licenses/MIT\n *\n */.ui.progress{position:relative;display:block;max-width:100%;border:none;margin:1em 0 2.5em;-webkit-box-shadow:none;box-shadow:none;background:rgba(0,0,0,.1);padding:0;border-radius:.28571429rem}.ui.progress:first-child{margin:0 0 2.5em}.ui.progress:last-child{margin:0 0 1.5em}.ui.progress .bar{display:block;line-height:1;position:relative;width:0%;min-width:2em;background:#888;border-radius:.28571429rem;-webkit-transition:width .1s ease,background-color .1s ease;transition:width .1s ease,background-color .1s ease}.ui.progress .bar>.progress{white-space:nowrap;position:absolute;width:auto;font-size:.92857143em;top:50%;right:.5em;left:auto;bottom:auto;color:rgba(255,255,255,.7);text-shadow:none;margin-top:-.5em;font-weight:700;text-align:left}.ui.progress>.label{position:absolute;width:100%;font-size:1em;top:100%;right:auto;left:0;bottom:auto;color:rgba(0,0,0,.87);font-weight:700;text-shadow:none;margin-top:.2em;text-align:center;-webkit-transition:color .4s ease;transition:color .4s ease}.ui.indicating.progress[data-percent^="1"] .bar,.ui.indicating.progress[data-percent^="2"] .bar{background-color:#d95c5c}.ui.indicating.progress[data-percent^="3"] .bar{background-color:#efbc72}.ui.indicating.progress[data-percent^="4"] .bar,.ui.indicating.progress[data-percent^="5"] .bar{background-color:#e6bb48}.ui.indicating.progress[data-percent^="6"] .bar{background-color:#ddc928}.ui.indicating.progress[data-percent^="7"] .bar,.ui.indicating.progress[data-percent^="8"] .bar{background-color:#b4d95c}.ui.indicating.progress[data-percent^="100"] .bar,.ui.indicating.progress[data-percent^="9"] .bar{background-color:#66da81}.ui.indicating.progress[data-percent^="1"] .label,.ui.indicating.progress[data-percent^="2"] .label{color:rgba(0,0,0,.87)}.ui.indicating.progress[data-percent^="3"] .label{color:rgba(0,0,0,.87)}.ui.indicating.progress[data-percent^="4"] .label,.ui.indicating.progress[data-percent^="5"] .label{color:rgba(0,0,0,.87)}.ui.indicating.progress[data-percent^="6"] .label{color:rgba(0,0,0,.87)}.ui.indicating.progress[data-percent^="7"] .label,.ui.indicating.progress[data-percent^="8"] .label{color:rgba(0,0,0,.87)}.ui.indicating.progress[data-percent^="100"] .label,.ui.indicating.progress[data-percent^="9"] .label{color:rgba(0,0,0,.87)}.ui.indicating.progress[data-percent="1"] .bar,.ui.indicating.progress[data-percent="2"] .bar,.ui.indicating.progress[data-percent="3"] .bar,.ui.indicating.progress[data-percent="4"] .bar,.ui.indicating.progress[data-percent="5"] .bar,.ui.indicating.progress[data-percent="6"] .bar,.ui.indicating.progress[data-percent="7"] .bar,.ui.indicating.progress[data-percent="8"] .bar,.ui.indicating.progress[data-percent="9"] .bar{background-color:#d95c5c}.ui.indicating.progress[data-percent="1"] .label,.ui.indicating.progress[data-percent="2"] .label,.ui.indicating.progress[data-percent="3"] .label,.ui.indicating.progress[data-percent="4"] .label,.ui.indicating.progress[data-percent="5"] .label,.ui.indicating.progress[data-percent="6"] .label,.ui.indicating.progress[data-percent="7"] .label,.ui.indicating.progress[data-percent="8"] .label,.ui.indicating.progress[data-percent="9"] .label{color:rgba(0,0,0,.87)}.ui.indicating.progress.success .label{color:#1a531b}.ui.progress.success .bar{background-color:#21ba45!important}.ui.progress.success .bar,.ui.progress.success .bar::after{-webkit-animation:none!important;animation:none!important}.ui.progress.success>.label{color:#1a531b}.ui.progress.warning .bar{background-color:#f2c037!important}.ui.progress.warning .bar,.ui.progress.warning .bar::after{-webkit-animation:none!important;animation:none!important}.ui.progress.warning>.label{color:#794b02}.ui.progress.error .bar{background-color:#db2828!important}.ui.progress.error .bar,.ui.progress.error .bar::after{-webkit-animation:none!important;animation:none!important}.ui.progress.error>.label{color:#912d2b}.ui.active.progress .bar{position:relative;min-width:2em}.ui.active.progress .bar::after{content:\'\';opacity:0;position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;border-radius:.28571429rem;-webkit-animation:progress-active 2s ease infinite;animation:progress-active 2s ease infinite}@-webkit-keyframes progress-active{0%{opacity:.3;width:0}100%{opacity:0;width:100%}}@keyframes progress-active{0%{opacity:.3;width:0}100%{opacity:0;width:100%}}.ui.disabled.progress{opacity:.35}.ui.disabled.progress .bar,.ui.disabled.progress .bar::after{-webkit-animation:none!important;animation:none!important}.ui.inverted.progress{background:rgba(255,255,255,.08);border:none}.ui.inverted.progress .bar{background:#888}.ui.inverted.progress .bar>.progress{color:#f9fafb}.ui.inverted.progress>.label{color:#fff}.ui.inverted.progress.success>.label{color:#21ba45}.ui.inverted.progress.warning>.label{color:#f2c037}.ui.inverted.progress.error>.label{color:#db2828}.ui.progress.attached{background:0 0;position:relative;border:none;margin:0}.ui.progress.attached,.ui.progress.attached .bar{display:block;height:.2rem;padding:0;overflow:hidden;border-radius:0 0 .28571429rem .28571429rem}.ui.progress.attached .bar{border-radius:0}.ui.progress.top.attached,.ui.progress.top.attached .bar{top:0;border-radius:.28571429rem .28571429rem 0 0}.ui.progress.top.attached .bar{border-radius:0}.ui.card>.ui.attached.progress,.ui.segment>.ui.attached.progress{position:absolute;top:auto;left:0;bottom:100%;width:100%}.ui.card>.ui.bottom.attached.progress,.ui.segment>.ui.bottom.attached.progress{top:100%;bottom:auto}.ui.red.progress .bar{background-color:#db2828}.ui.red.inverted.progress .bar{background-color:#ff695e}.ui.orange.progress .bar{background-color:#f2711c}.ui.orange.inverted.progress .bar{background-color:#ff851b}.ui.yellow.progress .bar{background-color:#fbbd08}.ui.yellow.inverted.progress .bar{background-color:#ffe21f}.ui.olive.progress .bar{background-color:#b5cc18}.ui.olive.inverted.progress .bar{background-color:#d9e778}.ui.green.progress .bar{background-color:#21ba45}.ui.green.inverted.progress .bar{background-color:#2ecc40}.ui.teal.progress .bar{background-color:#00b5ad}.ui.teal.inverted.progress .bar{background-color:#6dffff}.ui.blue.progress .bar{background-color:#2185d0}.ui.blue.inverted.progress .bar{background-color:#54c8ff}.ui.violet.progress .bar{background-color:#6435c9}.ui.violet.inverted.progress .bar{background-color:#a291fb}.ui.purple.progress .bar{background-color:#a333c8}.ui.purple.inverted.progress .bar{background-color:#dc73ff}.ui.pink.progress .bar{background-color:#e03997}.ui.pink.inverted.progress .bar{background-color:#ff8edf}.ui.brown.progress .bar{background-color:#a5673f}.ui.brown.inverted.progress .bar{background-color:#d67c1c}.ui.grey.progress .bar{background-color:#767676}.ui.grey.inverted.progress .bar{background-color:#dcddde}.ui.black.progress .bar{background-color:#1b1c1d}.ui.black.inverted.progress .bar{background-color:#545454}.ui.tiny.progress{font-size:.85714286rem}.ui.tiny.progress .bar{height:.5em}.ui.small.progress{font-size:.92857143rem}.ui.small.progress .bar{height:1em}.ui.progress{font-size:1rem}.ui.progress .bar{height:1.75em}.ui.large.progress{font-size:1.14285714rem}.ui.large.progress .bar{height:2.5em}.ui.big.progress{font-size:1.28571429rem}.ui.big.progress .bar{height:3.5em}',""])},2:function(e,t,r){var o,n,a={},i=(o=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===n&&(n=o.apply(this,arguments)),n}),s=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,r){if("function"==typeof e)return e();if(void 0===t[e]){var o=s.call(this,e,r);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}}(),c=null,u=0,d=[],p=r(3);function f(e,t){for(var r=0;r<e.length;r++){var o=e[r],n=a[o.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](o.parts[i]);for(;i<o.parts.length;i++)n.parts.push(y(o.parts[i],t))}else{var s=[];for(i=0;i<o.parts.length;i++)s.push(y(o.parts[i],t));a[o.id]={id:o.id,refs:1,parts:s}}}}function g(e,t){for(var r=[],o={},n=0;n<e.length;n++){var a=e[n],i=t.base?a[0]+t.base:a[0],s={css:a[1],media:a[2],sourceMap:a[3]};o[i]?o[i].parts.push(s):r.push(o[i]={id:i,parts:[s]})}return r}function b(e,t){var r=l(e.insertInto);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=d[d.length-1];if("top"===e.insertAt)o?o.nextSibling?r.insertBefore(t,o.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),d.push(t);else if("bottom"===e.insertAt)r.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var n=l(e.insertAt.before,r);r.insertBefore(t,n)}}function v(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function m(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var o=function(){0;return r.nc}();o&&(e.attrs.nonce=o)}return h(t,e.attrs),b(e,t),t}function h(e,t){Object.keys(t).forEach((function(r){e.setAttribute(r,t[r])}))}function y(e,t){var r,o,n,a;if(t.transform&&e.css){if(!(a="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=a}if(t.singleton){var i=u++;r=c||(c=m(t)),o=k.bind(null,r,i,!1),n=k.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",h(t,e.attrs),b(e,t),t}(t),o=j.bind(null,r,t),n=function(){v(r),r.href&&URL.revokeObjectURL(r.href)}):(r=m(t),o=O.bind(null,r),n=function(){v(r)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var r=g(e,t);return f(r,t),function(e){for(var o=[],n=0;n<r.length;n++){var i=r[n];(s=a[i.id]).refs--,o.push(s)}e&&f(g(e,t),t);for(n=0;n<o.length;n++){var s;if(0===(s=o[n]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete a[s.id]}}}};var w,x=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function k(e,t,r,o){var n=r?"":o.css;if(e.styleSheet)e.styleSheet.cssText=x(t,n);else{var a=document.createTextNode(n),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function O(e,t){var r=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function j(e,t,r){var o=r.css,n=r.sourceMap,a=void 0===t.convertToAbsoluteUrls&&n;(t.convertToAbsoluteUrls||a)&&(o=p(o)),n&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var i=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(i),s&&URL.revokeObjectURL(s)}},3:function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=t.protocol+"//"+t.host,o=r+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var n,a=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(n=0===a.indexOf("//")?a:0===a.indexOf("/")?r+a:o+a.replace(/^\.\//,""),"url("+JSON.stringify(n)+")")}))}},4:function(t,r){t.exports=e},5:function(e,t,r){var o; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)&&o.length){var i=n.apply(null,o);i&&e.push(i)}else if("object"===a)for(var s in o)r.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},6:function(e,t,r){"use strict";var o=r(7);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,a,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return r.PropTypes=r,r}},7:function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numbers=t.socials=t.colors=t.sizes=void 0;var o,n=r(0),a=(o=n)&&o.__esModule?o:{default:o};t.sizes={mini:a.default.bool,tiny:a.default.bool,small:a.default.bool,medium:a.default.bool,large:a.default.bool,big:a.default.bool,huge:a.default.bool,massive:a.default.bool},t.colors={red:a.default.bool,orange:a.default.bool,yellow:a.default.bool,olive:a.default.bool,green:a.default.bool,teal:a.default.bool,blue:a.default.bool,violet:a.default.bool,purple:a.default.bool,pink:a.default.bool,brown:a.default.bool,grey:a.default.bool,black:a.default.bool},t.socials={facebook:a.default.bool,twitter:a.default.bool,google:a.default.bool,plus:a.default.bool,vk:a.default.bool,linkedin:a.default.bool,instagram:a.default.bool,youtube:a.default.bool},t.numbers={one:a.default.bool,two:a.default.bool,three:a.default.bool,four:a.default.bool,five:a.default.bool,six:a.default.bool,seven:a.default.bool,eight:a.default.bool,nine:a.default.bool,ten:a.default.bool,eleven:a.default.bool,twelve:a.default.bool,thirteen:a.default.bool,fourteen:a.default.bool,fifteen:a.default.bool,sixteen:a.default.bool}}})}));