From 9cc77e51f592d9e6ef8f857210b27ed9006064ea Mon Sep 17 00:00:00 2001 From: Kaan Kabalak Date: Thu, 18 Jan 2018 21:28:46 -0800 Subject: [PATCH] Change name of 'Settings' dropdown link to 'Change Password' (#5394) --- browser/app/js/components/BrowserDropdown.js | 2 +- browser/ui-assets.go | 46 ++++++++++---------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/browser/app/js/components/BrowserDropdown.js b/browser/app/js/components/BrowserDropdown.js index aa4dc9ac9..b242c3dd5 100644 --- a/browser/app/js/components/BrowserDropdown.js +++ b/browser/app/js/components/BrowserDropdown.js @@ -42,7 +42,7 @@ let BrowserDropdown = ({fullScreenFunc, aboutFunc, settingsFunc, logoutFunc}) => About
  • - Settings + Change Password
  • Sign Out diff --git a/browser/ui-assets.go b/browser/ui-assets.go index 389d7837a..36e22bfff 100644 --- a/browser/ui-assets.go +++ b/browser/ui-assets.go @@ -4,7 +4,7 @@ // production/favicon.ico // production/firefox.png // production/index.html -// production/index_bundle-2018-01-17T20-42-27Z.js +// production/index_bundle-2018-01-18T22-37-29Z.js // production/loader.css // production/logo.svg // production/safari.png @@ -65,7 +65,7 @@ func productionChromePng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "production/chrome.png", size: 3726, mode: os.FileMode(420), modTime: time.Unix(1516221768, 0)} + info := bindataFileInfo{name: "production/chrome.png", size: 3726, mode: os.FileMode(420), modTime: time.Unix(1516315067, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -82,7 +82,7 @@ func productionFaviconIco() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "production/favicon.ico", size: 1340, mode: os.FileMode(420), modTime: time.Unix(1516221768, 0)} + info := bindataFileInfo{name: "production/favicon.ico", size: 1340, mode: os.FileMode(420), modTime: time.Unix(1516315067, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -99,7 +99,7 @@ func productionFirefoxPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "production/firefox.png", size: 4795, mode: os.FileMode(420), modTime: time.Unix(1516221768, 0)} + info := bindataFileInfo{name: "production/firefox.png", size: 4795, mode: os.FileMode(420), modTime: time.Unix(1516315067, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -156,8 +156,8 @@ var _productionIndexHTML = []byte(` - - + + `) @@ -172,12 +172,12 @@ func productionIndexHTML() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "production/index.html", size: 1954, mode: os.FileMode(420), modTime: time.Unix(1516221768, 0)} + info := bindataFileInfo{name: "production/index.html", size: 1954, mode: os.FileMode(420), modTime: time.Unix(1516315067, 0)} a := &asset{bytes: bytes, info: info} return a, nil } -var _productionIndex_bundle20180117t204227zJs = []byte(`!function(A){function M(I){if(t[I])return t[I].exports;var e=t[I]={exports:{},id:I,loaded:!1};return A[I].call(e.exports,e,e.exports,M),e.loaded=!0,e.exports}var t={};return M.m=A,M.c=t,M.p="",M(0)}([function(A,M,t){A.exports=t(350)},function(A,M,t){var I=t(5),e=t(48),g=t(25),i=t(26),E=t(49),n="prototype",o=function(A,M,t){var T,N,c,C,a=A&o.F,D=A&o.G,B=A&o.S,r=A&o.P,Q=A&o.B,s=D?I:B?I[M]||(I[M]={}):(I[M]||{})[n],x=D?e:e[M]||(e[M]={}),u=x[n]||(x[n]={});D&&(t=M);for(T in t)N=!a&&s&&void 0!==s[T],c=(N?s:t)[T],C=Q&&N?E(c,I):r&&"function"==typeof c?E(Function.call,c):c,s&&i(s,T,c,A&o.U),x[T]!=c&&g(x,T,C),r&&u[T]!=c&&(u[T]=c)};I.core=e,o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,A.exports=o},function(A,M,t){"use strict";A.exports=t(738)},function(A,M,t){"use strict";function I(A,M,t,I,e,g,i,E){if(!A){var n;if(void 0===M)n=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=[t,I,e,g,i,E],T=0;n=new Error(M.replace(/%s/g,function(){return o[T++]})),n.name="Invariant Violation"}throw n.framesToPop=1,n}}A.exports=I},function(A,M,t){var I=t(9);A.exports=function(A){if(!I(A))throw TypeError(A+" is not an object!");return A}},function(A,M){var t=A.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(A,M){A.exports=function(A){try{return!!A()}catch(A){return!0}}},function(A,M){"use strict";function t(A,M){if(null==A)throw new TypeError("Object.assign target cannot be null or undefined");for(var t=Object(A),I=Object.prototype.hasOwnProperty,e=1;e-1&&A%1==0&&A1)for(var t=1;tA.clientHeight}Object.defineProperty(M,"__esModule",{value:!0}),M.default=i;var E=t(121),n=I(E),o=t(100),T=I(o);A.exports=M.default},function(A,M){"use strict";function t(A,M){return A.classList?!!M&&A.classList.contains(M):(" "+A.className+" ").indexOf(" "+M+" ")!==-1}Object.defineProperty(M,"__esModule",{value:!0}),M.default=t,A.exports=M.default},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(M,"__esModule",{value:!0});var e=t(87),g=I(e),i=function(){};g.default&&(i=function(){return document.addEventListener?function(A,M,t,I){return A.addEventListener(M,t,I||!1)}:document.attachEvent?function(A,M,t){return A.attachEvent("on"+M,function(M){M=M||window.event,M.target=M.target||M.srcElement,M.currentTarget=A,t.call(A,M)})}:void 0}()),M.default=i,A.exports=M.default},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}function e(A){var M=(0,T.default)(A),t=(0,n.default)(M),I=M&&M.documentElement,e={top:0,left:0,height:0,width:0};if(M)return(0,i.default)(I,A)?(void 0!==A.getBoundingClientRect&&(e=A.getBoundingClientRect()),e={top:e.top+(t.pageYOffset||I.scrollTop)-(I.clientTop||0),left:e.left+(t.pageXOffset||I.scrollLeft)-(I.clientLeft||0),width:(null==e.width?A.offsetWidth:e.width)||0,height:(null==e.height?A.offsetHeight:e.height)||0}):e}Object.defineProperty(M,"__esModule",{value:!0}),M.default=e;var g=t(183),i=I(g),E=t(121),n=I(E),o=t(100),T=I(o);A.exports=M.default},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}function e(A,M){var t=(0,i.default)(A);return void 0===M?t?"pageYOffset"in t?t.pageYOffset:t.document.documentElement.scrollTop:A.scrollTop:void(t?t.scrollTo("pageXOffset"in t?t.pageXOffset:t.document.documentElement.scrollLeft,M):A.scrollTop=M)}Object.defineProperty(M,"__esModule",{value:!0}),M.default=e;var g=t(121),i=I(g);A.exports=M.default},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}function e(){for(var A=document.createElement("div").style,M={O:function(A){return"o"+A.toLowerCase()},Moz:function(A){return A.toLowerCase()},Webkit:function(A){return"webkit"+A},ms:function(A){return"MS"+A}},t=Object.keys(M),I=void 0,e=void 0,g="",i=0;i>",n=i||I;if(null==t[I])return M?new Error("Required "+g+" ` + "`" + `"+n+"` + "`" + ` was not specified "+("in ` + "`" + `"+E+"` + "`" + `.")):null;for(var o=arguments.length,T=Array(o>6?o-6:0),N=6;N=0||Object.prototype.hasOwnProperty.call(A,I)&&(t[I]=A[I]);return t}function g(A){return 0===A.button}function i(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}function E(A){for(var M in A)if(Object.prototype.hasOwnProperty.call(A,M))return!1;return!0}function n(A,M){var t=M.query,I=M.hash,e=M.state;return t||I||e?{pathname:A,query:t,hash:I,state:e}:A}M.__esModule=!0;var o=Object.assign||function(A){for(var M=1;M=0;I--){var e=A[I],g=e.path||"";if(t=g.replace(/\/*$/,"/")+t,0===g.indexOf("/"))break}return"/"+t}},propTypes:{path:c,from:c,to:c.isRequired,query:C,state:C,onEnter:T.falsy,children:T.falsy},render:function(){(0,E.default)(!1)}});M.default=a,A.exports=M.default},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}M.__esModule=!0;var e=t(2),g=I(e),i=t(16),E=I(i),n=t(60),o=t(73),T=g.default.PropTypes,N=T.string,c=T.func,C=g.default.createClass({displayName:"Route",statics:{createRouteFromReactElement:n.createRouteFromReactElement},propTypes:{path:N,component:o.component,components:o.components,getComponent:c,getComponents:c},render:function(){(0,E.default)(!1)}});M.default=C,A.exports=M.default},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}function e(A,M){var t={};for(var I in A)M.indexOf(I)>=0||Object.prototype.hasOwnProperty.call(A,I)&&(t[I]=A[I]);return t}function g(A){return!A||!A.__v2_compatible__}function i(A){return A&&A.getCurrentLocation}M.__esModule=!0;var E=Object.assign||function(A){for(var M=1;M=0&&0===window.sessionStorage.length)return;throw A}}function i(A){var M=void 0;try{M=window.sessionStorage.getItem(e(A))}catch(A){if(A.name===T)return null}if(M)try{return JSON.parse(M)}catch(A){}return null}M.__esModule=!0,M.saveState=g,M.readState=i;var E=t(46),n=(I(E),"@@History/"),o=["QuotaExceededError","QUOTA_EXCEEDED_ERR"],T="SecurityError"},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}function e(A){function M(A){return n.canUseDOM?void 0:E.default(!1),t.listen(A)}var t=N.default(g({getUserConfirmation:o.getUserConfirmation},A,{go:o.go}));return g({},t,{listen:M})}M.__esModule=!0;var g=Object.assign||function(A){for(var M=1;M1?M-1:0),g=1;g=A.childNodes.length?null:A.childNodes.item(t);A.insertBefore(M,I)}var e=t(732),g=t(330),i=t(38),E=t(135),n=t(209),o=t(3),T={dangerouslyReplaceNodeWithMarkup:e.dangerouslyReplaceNodeWithMarkup,updateTextContent:n,processUpdates:function(A,M){for(var t,i=null,T=null,N=0;N-1?void 0:i(!1),!o.plugins[t]){M.extractEvents?void 0:i(!1),o.plugins[t]=M;var I=M.eventTypes;for(var g in I)e(I[g],M,g)?void 0:i(!1)}}}function e(A,M,t){o.eventNameDispatchConfigs.hasOwnProperty(t)?i(!1):void 0,o.eventNameDispatchConfigs[t]=A;var I=A.phasedRegistrationNames;if(I){for(var e in I)if(I.hasOwnProperty(e)){var E=I[e];g(E,M,t)}return!0}return!!A.registrationName&&(g(A.registrationName,M,t),!0)}function g(A,M,t){o.registrationNameModules[A]?i(!1):void 0,o.registrationNameModules[A]=M,o.registrationNameDependencies[A]=M.eventTypes[t].dependencies}var i=t(3),E=null,n={},o={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(A){E?i(!1):void 0,E=Array.prototype.slice.call(A),I()},injectEventPluginsByName:function(A){var M=!1;for(var t in A)if(A.hasOwnProperty(t)){var e=A[t];n.hasOwnProperty(t)&&n[t]===e||(n[t]?i(!1):void 0,n[t]=e,M=!0)}M&&I()},getPluginModuleForEvent:function(A){var M=A.dispatchConfig;if(M.registrationName)return o.registrationNameModules[M.registrationName]||null;for(var t in M.phasedRegistrationNames)if(M.phasedRegistrationNames.hasOwnProperty(t)){var I=o.registrationNameModules[M.phasedRegistrationNames[t]];if(I)return I}return null},_resetEventPlugins:function(){E=null;for(var A in n)n.hasOwnProperty(A)&&delete n[A];o.plugins.length=0;var M=o.eventNameDispatchConfigs;for(var t in M)M.hasOwnProperty(t)&&delete M[t];var I=o.registrationNameModules;for(var e in I)I.hasOwnProperty(e)&&delete I[e]}};A.exports=o},function(A,M,t){"use strict";function I(A){return(""+A).replace(x,"//")}function e(A,M){this.func=A,this.context=M,this.count=0}function g(A,M,t){var I=A.func,e=A.context;I.call(e,M,A.count++)}function i(A,M,t){if(null==A)return A;var I=e.getPooled(M,t);r(A,g,I),e.release(I)}function E(A,M,t,I){this.result=A,this.keyPrefix=M,this.func=t,this.context=I,this.count=0}function n(A,M,t){var e=A.result,g=A.keyPrefix,i=A.func,E=A.context,n=i.call(E,M,A.count++);Array.isArray(n)?o(n,e,t,B.thatReturnsArgument):null!=n&&(D.isValidElement(n)&&(n=D.cloneAndReplaceKey(n,g+(n!==M?I(n.key||"")+"/":"")+t)),e.push(n))}function o(A,M,t,e,g){var i="";null!=t&&(i=I(t)+"/");var o=E.getPooled(M,i,e,g);r(A,n,o),E.release(o)}function T(A,M,t){if(null==A)return A;var I=[];return o(A,I,null,M,t),I}function N(A,M,t){return null}function c(A,M){return r(A,N,null)}function C(A){var M=[];return o(A,M,null,B.thatReturnsArgument),M}var a=t(61),D=t(29),B=t(47),r=t(211),Q=a.twoArgumentPooler,s=a.fourArgumentPooler,x=/\/(?!\/)/g;e.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},a.addPoolingTo(e,Q),E.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},a.addPoolingTo(E,s);var u={forEach:i,map:T,mapIntoWithKeyPrefixInternal:o,count:c,toArray:C};A.exports=u},function(A,M,t){"use strict";function I(A,M){var t=w.hasOwnProperty(M)?w[M]:null;y.hasOwnProperty(M)&&(t!==x.OVERRIDE_BASE?B(!1):void 0),A.hasOwnProperty(M)&&(t!==x.DEFINE_MANY&&t!==x.DEFINE_MANY_MERGED?B(!1):void 0)}function e(A,M){if(M){"function"==typeof M?B(!1):void 0,c.isValidElement(M)?B(!1):void 0;var t=A.prototype;M.hasOwnProperty(s)&&j.mixins(A,M.mixins);for(var e in M)if(M.hasOwnProperty(e)&&e!==s){var g=M[e];if(I(t,e),j.hasOwnProperty(e))j[e](A,g);else{var i=w.hasOwnProperty(e),o=t.hasOwnProperty(e),T="function"==typeof g,N=T&&!i&&!o&&M.autobind!==!1;if(N)t.__reactAutoBindMap||(t.__reactAutoBindMap={}),t.__reactAutoBindMap[e]=g,t[e]=g;else if(o){var C=w[e];!i||C!==x.DEFINE_MANY_MERGED&&C!==x.DEFINE_MANY?B(!1):void 0,C===x.DEFINE_MANY_MERGED?t[e]=E(t[e],g):C===x.DEFINE_MANY&&(t[e]=n(t[e],g))}else t[e]=g}}}}function g(A,M){if(M)for(var t in M){var I=M[t];if(M.hasOwnProperty(t)){var e=t in j;e?B(!1):void 0;var g=t in A;g?B(!1):void 0,A[t]=I}}}function i(A,M){A&&M&&"object"==typeof A&&"object"==typeof M?void 0:B(!1);for(var t in M)M.hasOwnProperty(t)&&(void 0!==A[t]?B(!1):void 0,A[t]=M[t]);return A}function E(A,M){return function(){var t=A.apply(this,arguments),I=M.apply(this,arguments);if(null==t)return I;if(null==I)return t;var e={};return i(e,t),i(e,I),e}}function n(A,M){return function(){A.apply(this,arguments),M.apply(this,arguments)}}function o(A,M){var t=M.bind(A);return t}function T(A){for(var M in A.__reactAutoBindMap)if(A.__reactAutoBindMap.hasOwnProperty(M)){var t=A.__reactAutoBindMap[M];A[M]=o(A,t)}}var N=t(317),c=t(29),C=(t(130),t(129),t(332)),a=t(7),D=t(105),B=t(3),r=t(136),Q=t(62),s=(t(8),Q({mixins:null})),x=r({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),u=[],w={mixins:x.DEFINE_MANY,statics:x.DEFINE_MANY,propTypes:x.DEFINE_MANY,contextTypes:x.DEFINE_MANY,childContextTypes:x.DEFINE_MANY,getDefaultProps:x.DEFINE_MANY_MERGED,getInitialState:x.DEFINE_MANY_MERGED,getChildContext:x.DEFINE_MANY_MERGED,render:x.DEFINE_ONCE,componentWillMount:x.DEFINE_MANY,componentDidMount:x.DEFINE_MANY,componentWillReceiveProps:x.DEFINE_MANY,shouldComponentUpdate:x.DEFINE_ONCE,componentWillUpdate:x.DEFINE_MANY,componentDidUpdate:x.DEFINE_MANY,componentWillUnmount:x.DEFINE_MANY,updateComponent:x.OVERRIDE_BASE},j={displayName:function(A,M){A.displayName=M},mixins:function(A,M){if(M)for(var t=0;t"+E+""},receiveComponent:function(A,M){if(A!==this._currentElement){this._currentElement=A;var t=""+A;if(t!==this._stringText){this._stringText=t;var e=i.getNode(this._rootNodeID);I.updateTextContent(e,t)}}},unmountComponent:function(){g.unmountIDFromEnvironment(this._rootNodeID)}}),A.exports=T},function(A,M,t){"use strict";function I(){this.reinitializeTransaction()}var e=t(39),g=t(132),i=t(7),E=t(47),n={initialize:E,close:function(){c.isBatchingUpdates=!1}},o={initialize:E,close:e.flushBatchedUpdates.bind(e)},T=[o,n];i(I.prototype,g.Mixin,{getTransactionWrappers:function(){return T}});var N=new I,c={isBatchingUpdates:!1,batchedUpdates:function(A,M,t,I,e,g){var i=c.isBatchingUpdates;c.isBatchingUpdates=!0,i?A(M,t,I,e,g):N.perform(A,null,M,t,I,e,g)}};A.exports=c},function(A,M,t){"use strict";function I(){if(!l){l=!0,r.EventEmitter.injectReactEventListener(B),r.EventPluginHub.injectEventPluginOrder(E),r.EventPluginHub.injectInstanceHandle(Q),r.EventPluginHub.injectMount(s),r.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:j,EnterLeaveEventPlugin:n,ChangeEventPlugin:g,SelectEventPlugin:u,BeforeInputEventPlugin:e}),r.NativeComponent.injectGenericComponentClass(a),r.NativeComponent.injectTextComponentClass(D),r.Class.injectMixin(N),r.DOMProperty.injectDOMPropertyConfig(T),r.DOMProperty.injectDOMPropertyConfig(y),r.EmptyComponent.injectEmptyComponent("noscript"),r.Updates.injectReconcileTransaction(x),r.Updates.injectBatchingStrategy(C),r.RootIndex.injectCreateReactRootIndex(o.canUseDOM?i.createReactRootIndex:w.createReactRootIndex),r.Component.injectEnvironment(c)}}var e=t(728),g=t(730),i=t(731),E=t(733),n=t(734),o=t(20),T=t(737),N=t(739),c=t(197),C=t(322),a=t(743),D=t(321),B=t(751),r=t(752),Q=t(91),s=t(23),x=t(756),u=t(762),w=t(763),j=t(764),y=t(761),l=!1;A.exports={inject:I}},function(A,M,t){"use strict";function I(){if(N.current){var A=N.current.getName();if(A)return" Check the render method of ` + "`" + `"+A+"` + "`" + `."}return""}function e(A,M){if(A._store&&!A._store.validated&&null==A.key){A._store.validated=!0;g("uniqueKey",A,M)}}function g(A,M,t){var e=I();if(!e){var g="string"==typeof t?t:t.displayName||t.name;g&&(e=" Check the top-level render call using <"+g+">.")}var i=a[A]||(a[A]={});if(i[e])return null;i[e]=!0;var E={parentOrOwner:e,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return M&&M._owner&&M._owner!==N.current&&(E.childOwner=" It was passed a child from "+M._owner.getName()+"."),E}function i(A,M){if("object"==typeof A)if(Array.isArray(A))for(var t=0;t/,g={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(A){var M=I(A);return A.replace(e," "+g.CHECKSUM_ATTR_NAME+'="'+M+'"$&')},canReuseMarkup:function(A,M){var t=M.getAttribute(g.CHECKSUM_ATTR_NAME);t=t&&parseInt(t,10);var e=I(A);return e===t}};A.exports=g},function(A,M,t){"use strict";var I=t(136),e=I({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});A.exports=e},function(A,M,t){"use strict";function I(A){if("function"==typeof A.type)return A.type;var M=A.type,t=N[M];return null==t&&(N[M]=t=o(M)),t}function e(A){return T?void 0:n(!1),new T(A.type,A.props)}function g(A){return new c(A)}function i(A){return A instanceof c}var E=t(7),n=t(3),o=null,T=null,N={},c=null,C={injectGenericComponentClass:function(A){T=A},injectTextComponentClass:function(A){c=A},injectComponentClasses:function(A){E(N,A)}},a={getComponentClassForElement:I,createInternalComponent:e,createInstanceForText:g,isTextComponent:i,injection:C};A.exports=a},function(A,M,t){"use strict";function I(A,M){}var e=(t(8),{isMounted:function(A){return!1},enqueueCallback:function(A,M){},enqueueForceUpdate:function(A){I(A,"forceUpdate")},enqueueReplaceState:function(A,M){I(A,"replaceState")},enqueueSetState:function(A,M){I(A,"setState")},enqueueSetProps:function(A,M){I(A,"setProps")},enqueueReplaceProps:function(A,M){I(A,"replaceProps")}});A.exports=e},function(A,M,t){"use strict";function I(A){function M(M,t,I,e,g,i){if(e=e||w,i=i||I,null==t[I]){var E=s[g];return M?new Error("Required "+E+" ` + "`" + `"+i+"` + "`" + ` was not specified in "+("` + "`" + `"+e+"` + "`" + `.")):null}return A(t,I,e,g,i)}var t=M.bind(null,!1);return t.isRequired=M.bind(null,!0),t}function e(A){function M(M,t,I,e,g){var i=M[t],E=D(i);if(E!==A){var n=s[e],o=B(i);return new Error("Invalid "+n+" ` + "`" + `"+g+"` + "`" + ` of type "+("` + "`" + `"+o+"` + "`" + ` supplied to ` + "`" + `"+I+"` + "`" + `, expected ")+("` + "`" + `"+A+"` + "`" + `."))}return null}return I(M)}function g(){return I(x.thatReturns(null))}function i(A){function M(M,t,I,e,g){var i=M[t];if(!Array.isArray(i)){var E=s[e],n=D(i);return new Error("Invalid "+E+" ` + "`" + `"+g+"` + "`" + ` of type "+("` + "`" + `"+n+"` + "`" + ` supplied to ` + "`" + `"+I+"` + "`" + `, expected an array."))}for(var o=0;o>"}var Q=t(29),s=t(129),x=t(47),u=t(206),w="<>",j={array:e("array"),bool:e("boolean"),func:e("function"),number:e("number"),object:e("object"),string:e("string"),any:g(),arrayOf:i,element:E(),instanceOf:n,node:c(),objectOf:T,oneOf:o,oneOfType:N,shape:C};A.exports=j},function(A,M){"use strict";var t={injectCreateReactRootIndex:function(A){I.createReactRootIndex=A}},I={createReactRootIndex:null,injection:t};A.exports=I},function(A,M){"use strict";var t={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(A){t.currentScrollLeft=A.x,t.currentScrollTop=A.y}};A.exports=t},function(A,M,t){"use strict";function I(A,M){if(null==M?e(!1):void 0,null==A)return M;var t=Array.isArray(A),I=Array.isArray(M);return t&&I?(A.push.apply(A,M),A):t?(A.push(M),A):I?[A].concat(M):[A,M]}var e=t(3);A.exports=I},function(A,M){"use strict";var t=function(A,M,t){Array.isArray(A)?A.forEach(M,t):A&&M.call(t,A)};A.exports=t},function(A,M,t){"use strict";function I(){return!g&&e.canUseDOM&&(g="textContent"in document.documentElement?"textContent":"innerText"),g}var e=t(20),g=null;A.exports=I},function(A,M){"use strict";function t(A){var M=A&&A.nodeName&&A.nodeName.toLowerCase();return M&&("input"===M&&I[A.type]||"textarea"===M)}var I={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};A.exports=t},function(A,M,t){"use strict";var I=t(47),e={listen:function(A,M,t){return A.addEventListener?(A.addEventListener(M,t,!1),{remove:function(){A.removeEventListener(M,t,!1)}}):A.attachEvent?(A.attachEvent("on"+M,t),{remove:function(){A.detachEvent("on"+M,t)}}):void 0},capture:function(A,M,t){return A.addEventListener?(A.addEventListener(M,t,!0),{remove:function(){A.removeEventListener(M,t,!0)}}):{remove:I}},registerDefault:function(){}};A.exports=e},function(A,M,t){"use strict";function I(A,M){var t=!0;A:for(;t;){var I=A,g=M;if(t=!1,I&&g){if(I===g)return!0;if(e(I))return!1;if(e(g)){A=I,M=g.parentNode,t=!0;continue A}return I.contains?I.contains(g):!!I.compareDocumentPosition&&!!(16&I.compareDocumentPosition(g))}return!1}}var e=t(790);A.exports=I},function(A,M){"use strict";function t(A){ -try{A.focus()}catch(A){}}A.exports=t},function(A,M){"use strict";function t(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(A){return document.body}}A.exports=t},function(A,M,t){"use strict";function I(A){return i?void 0:g(!1),c.hasOwnProperty(A)||(A="*"),E.hasOwnProperty(A)||("*"===A?i.innerHTML="":i.innerHTML="<"+A+">",E[A]=!i.firstChild),E[A]?c[A]:null}var e=t(20),g=t(3),i=e.canUseDOM?document.createElement("div"):null,E={},n=[1,'"],o=[1,"","
    "],T=[3,"","
    "],N=[1,'',""],c={"*":[1,"?
    ","
    "],area:[1,"",""],col:[2,"","
    "],legend:[1,"
    ","
    "],param:[1,"",""],tr:[2,"","
    "],optgroup:n,option:n,caption:o,colgroup:o,tbody:o,tfoot:o,thead:o,td:T,th:T},C=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];C.forEach(function(A){c[A]=N,E[A]=!0}),A.exports=I},function(A,M){"use strict";function t(A,M){if(A===M)return!0;if("object"!=typeof A||null===A||"object"!=typeof M||null===M)return!1;var t=Object.keys(A),e=Object.keys(M);if(t.length!==e.length)return!1;for(var g=I.bind(M),i=0;i-1})))}},{key:"listObjects",value:function(){var A=this.props.dispatch;A(gA.listObjects())}},{key:"selectPrefix",value:function(A,M){A.preventDefault();var t=this.props,I=t.dispatch,e=t.currentPath,g=t.web,i=t.currentBucket,E=encodeURI(M);if(M.endsWith("/")||""===M){if(M===e)return;a.default.push(EA.pathJoin(i,E))}else if(g.LoggedIn())g.CreateURLToken().then(function(A){var M=""+window.location.origin+TA.minioBrowserPrefix+"/download/"+i+"/"+E+"?token="+A.token;window.location=M}).catch(function(A){return I(gA.showAlert({type:"danger",message:A.message}))});else{var n=window.location.origin+"/minio/download/"+i+"/"+E+"?token=''";window.location=n}}},{key:"makeBucket",value:function(A){A.preventDefault();var M=this.refs.makeBucketRef.value;this.refs.makeBucketRef.value="";var t=this.props,I=t.web,e=t.dispatch;this.hideMakeBucketModal(),I.MakeBucket({bucketName:M}).then(function(){e(gA.addBucket(M)),e(gA.selectBucket(M))}).catch(function(A){return e(gA.showAlert({type:"danger",message:A.message}))})}},{key:"hideMakeBucketModal",value:function(){var A=this.props.dispatch;A(gA.hideMakeBucketModal())}},{key:"showMakeBucketModal",value:function(A){A.preventDefault();var M=this.props.dispatch;M(gA.showMakeBucketModal())}},{key:"showAbout",value:function(A){A.preventDefault();var M=this.props.dispatch;M(gA.showAbout())}},{key:"hideAbout",value:function(A){A.preventDefault();var M=this.props.dispatch;M(gA.hideAbout())}},{key:"toggleBucketDropdown",value:function(A){var M=this.props,t=M.dispatch,I=M.showBucketDropdown;t(I?gA.hideBucketDropdown():gA.showBucketDropdown())}},{key:"showBucketPolicy",value:function(A){A.preventDefault();var M=this.props.dispatch;this.toggleBucketDropdown(A),M(gA.showBucketPolicy())}},{key:"hideBucketPolicy",value:function(A){A.preventDefault();var M=this.props.dispatch;M(gA.hideBucketPolicy())}},{key:"deleteBucket",value:function(A,M){A.preventDefault();var t=this.props.dispatch;this.toggleBucketDropdown(A),t(gA.deleteBucket(M)),a.default.push(TA.minioBrowserPrefix+"/")}},{key:"uploadFile",value:function(A){A.preventDefault();var M=this.props,t=M.dispatch,I=M.buckets,e=M.currentBucket;if(0===I.length)return void t(gA.showAlert({type:"danger",message:"Bucket needs to be created before trying to upload files."}));if(""===e)return void t(gA.showAlert({type:"danger",message:"Please choose a bucket before trying to upload files."}));var g=A.target.files[0];A.target.value=null,this.xhr=new XMLHttpRequest,t(gA.uploadFile(g,this.xhr))}},{key:"removeObject",value:function(){var A=this,M=this.props,t=M.web,I=M.dispatch,e=M.currentPath,g=M.currentBucket,i=M.deleteConfirmation,E=M.checkedObjects,n=[];n=E.length>0?E.map(function(A){return""+e+A}):[i.object],t.RemoveObject({bucketname:g,objects:n}).then(function(){if(A.hideDeleteConfirmation(),E.length>0){for(var M=0;M0})},T.default.createElement("span",{className:"la-label"},T.default.createElement("i",{className:"fa fa-check-circle"})," ",C.length," Objects selected"),T.default.createElement("span",{className:"la-actions pull-right"},T.default.createElement("button",{onClick:this.downloadSelected.bind(this)}," Download all as zip ")),T.default.createElement("span",{className:"la-actions pull-right"},T.default.createElement("button",{onClick:this.showDeleteConfirmation.bind(this)}," Delete selected ")),T.default.createElement("i",{className:"la-close fa fa-times",onClick:this.clearSelected.bind(this)})),T.default.createElement(f.default,null,V,T.default.createElement("header",{className:"fe-header-mobile hidden-lg hidden-md"},T.default.createElement("div",{id:"feh-trigger",className:"feh-trigger "+(0,c.default)({"feht-toggled":w}),onClick:this.toggleSidebar.bind(this,!w)},T.default.createElement("div",{className:"feht-lines"},T.default.createElement("div",{className:"top"}),T.default.createElement("div",{className:"center"}),T.default.createElement("div",{className:"bottom"}))),T.default.createElement("img",{className:"mh-logo",src:IA.default,alt:""})),T.default.createElement("header",{className:"fe-header"},T.default.createElement(J.default,{selectPrefix:this.selectPrefix.bind(this)}),AA,T.default.createElement("ul",{className:"feh-actions"},T.default.createElement(b.default,null),Z,_)),T.default.createElement("div",{className:"feb-container"},T.default.createElement("header",{className:"fesl-row","data-type":"folder"},T.default.createElement("div",{className:"fesl-item fesl-item-icon"}),T.default.createElement("div",{className:"fesl-item fesl-item-name",onClick:this.sortObjectsByName.bind(this),"data-sort":"name"},"Name",T.default.createElement("i",{className:(0,c.default)({"fesli-sort":!0,fa:!0,"fa-sort-alpha-desc":i,"fa-sort-alpha-asc":!i})})),T.default.createElement("div",{className:"fesl-item fesl-item-size",onClick:this.sortObjectsBySize.bind(this),"data-sort":"size"},"Size",T.default.createElement("i",{className:(0,c.default)({"fesli-sort":!0,fa:!0,"fa-sort-amount-desc":E,"fa-sort-amount-asc":!E})})),T.default.createElement("div",{className:"fesl-item fesl-item-modified",onClick:this.sortObjectsByDate.bind(this),"data-sort":"last-modified"},"Last Modified",T.default.createElement("i",{className:(0,c.default)({"fesli-sort":!0,fa:!0,"fa-sort-numeric-desc":n,"fa-sort-numeric-asc":!n})})),T.default.createElement("div",{className:"fesl-item fesl-item-actions"}))),T.default.createElement("div",{className:"feb-container"},T.default.createElement(DA.default,{loadMore:this.listObjects.bind(this),hasMore:G,useWindow:!0,initialLoad:!1},T.default.createElement(m.default,{dataType:this.dataType.bind(this),selectPrefix:this.selectPrefix.bind(this),showDeleteConfirmation:this.showDeleteConfirmation.bind(this),shareObject:this.shareObject.bind(this),checkObject:this.checkObject.bind(this),checkedObjectsArray:C})),T.default.createElement("div",{className:"text-center",style:{display:G&&S?"block":"none"}},T.default.createElement("span",null,"Loading..."))),T.default.createElement(v.default,null),gA,T.default.createElement(s.default,{className:"modal-create-bucket",bsSize:"small",animation:!1,show:e,onHide:this.hideMakeBucketModal.bind(this)},T.default.createElement("button",{className:"close close-alt",onClick:this.hideMakeBucketModal.bind(this)},T.default.createElement("span",null,"×")),T.default.createElement(u.default,null,T.default.createElement("form",{onSubmit:this.makeBucket.bind(this)},T.default.createElement("div",{className:"input-group"},T.default.createElement("input",{className:"ig-text",type:"text",ref:"makeBucketRef",placeholder:"Bucket Name",autoFocus:!0}),T.default.createElement("i",{className:"ig-helpers"}))))),T.default.createElement(s.default,{className:"modal-about modal-dark",animation:!1,show:o,onHide:this.hideAbout.bind(this)},T.default.createElement("button",{className:"close",onClick:this.hideAbout.bind(this)},T.default.createElement("span",null,"×")),T.default.createElement("div",{className:"ma-inner"},T.default.createElement("div",{className:"mai-item hidden-xs"},T.default.createElement("a",{href:"https://minio.io",target:"_blank"},T.default.createElement("img",{className:"maii-logo",src:IA.default,alt:""}))),T.default.createElement("div",{className:"mai-item"},T.default.createElement("ul",{className:"maii-list"},T.default.createElement("li",null,T.default.createElement("div",null,"Version"),T.default.createElement("small",null,D)),T.default.createElement("li",null,T.default.createElement("div",null,"Memory"),T.default.createElement("small",null,r)),T.default.createElement("li",null,T.default.createElement("div",null,"Platform"),T.default.createElement("small",null,Q)),T.default.createElement("li",null,T.default.createElement("div",null,"Runtime"),T.default.createElement("small",null,x)))))),T.default.createElement(s.default,{className:"modal-policy",animation:!1,show:N,onHide:this.hideBucketPolicy.bind(this)},T.default.createElement(j.default,null,"Bucket Policy (",S,")",T.default.createElement("button",{className:"close close-alt",onClick:this.hideBucketPolicy.bind(this)},T.default.createElement("span",null,"×"))),T.default.createElement("div",{className:"pm-body"},T.default.createElement(K.default,{bucket:S}),L.map(function(A,M){return T.default.createElement(q.default,{key:M,prefix:A.prefix,policy:A.policy})}))),T.default.createElement(MA.default,{show:U.show,icon:"fa fa-exclamation-triangle mci-red",text:"Are you sure you want to delete?",sub:"This cannot be undone!",okText:"Delete",cancelText:"Cancel",okHandler:this.removeObject.bind(this),cancelHandler:this.hideDeleteConfirmation.bind(this)}),T.default.createElement(s.default,{show:p.show,animation:!1,onHide:this.hideShareObjectModal.bind(this),bsSize:"small"},T.default.createElement(j.default,null,"Share Object"),T.default.createElement(u.default,null,T.default.createElement("div",{className:"input-group copy-text"},T.default.createElement("label",null,"Shareable Link"),T.default.createElement("input",{type:"text",ref:"copyTextInput",readOnly:"readOnly",value:window.location.protocol+"//"+p.url,onClick:this.selectTexts.bind(this)})),T.default.createElement("div",{className:"input-group",style:{display:O.LoggedIn()?"block":"none"}},T.default.createElement("label",null,"Expires in (Max 7 days)"),T.default.createElement("div",{className:"set-expire"},T.default.createElement("div",{className:"set-expire-item"},T.default.createElement("i",{className:"set-expire-increase",onClick:this.handleExpireValue.bind(this,"expireDays",1,p.object)}),T.default.createElement("div",{className:"set-expire-title"},"Days"),T.default.createElement("div",{className:"set-expire-value"},T.default.createElement("input",{ref:"expireDays",type:"number",min:0,max:7,defaultValue:5,readOnly:"readOnly"})),T.default.createElement("i",{className:"set-expire-decrease",onClick:this.handleExpireValue.bind(this,"expireDays",-1,p.object)})),T.default.createElement("div",{className:"set-expire-item"},T.default.createElement("i",{className:"set-expire-increase",onClick:this.handleExpireValue.bind(this,"expireHours",1,p.object)}),T.default.createElement("div",{className:"set-expire-title"},"Hours"),T.default.createElement("div",{className:"set-expire-value"},T.default.createElement("input",{ref:"expireHours",type:"number",min:0,max:23,defaultValue:0,readOnly:"readOnly"})),T.default.createElement("i",{className:"set-expire-decrease",onClick:this.handleExpireValue.bind(this,"expireHours",-1,p.object)})),T.default.createElement("div",{className:"set-expire-item"},T.default.createElement("i",{className:"set-expire-increase",onClick:this.handleExpireValue.bind(this,"expireMins",1,p.object)}),T.default.createElement("div",{className:"set-expire-title"},"Minutes"),T.default.createElement("div",{className:"set-expire-value"},T.default.createElement("input",{ref:"expireMins",type:"number",min:0,max:59,defaultValue:0,readOnly:"readOnly"})),T.default.createElement("i",{className:"set-expire-decrease",onClick:this.handleExpireValue.bind(this,"expireMins",-1,p.object)}))))),T.default.createElement("div",{className:"modal-footer"},T.default.createElement(cA.default,{text:window.location.protocol+"//"+p.url,onCopy:this.showMessage.bind(this)},T.default.createElement("button",{className:"btn btn-success"},"Copy Link")),T.default.createElement("button",{className:"btn btn-link",onClick:this.hideShareObjectModal.bind(this)},"Cancel"))),H)))}}]),M}(T.default.Component);M.default=BA},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(M,"__esModule",{value:!0});var e=t(2),g=I(e),i=t(45),E=I(i),n=t(119),o=I(n),T=function(A){var M=A.fullScreenFunc,t=A.aboutFunc,I=A.settingsFunc,e=A.logoutFunc;return g.default.createElement("li",null,g.default.createElement(o.default,{pullRight:!0,id:"top-right-menu"},g.default.createElement(o.default.Toggle,{noCaret:!0},g.default.createElement("i",{className:"fa fa-reorder"})),g.default.createElement(o.default.Menu,{className:"dropdown-menu-right"},g.default.createElement("li",null,g.default.createElement("a",{target:"_blank",href:"https://github.com/minio/minio"},"Github ",g.default.createElement("i",{className:"fa fa-github"}))),g.default.createElement("li",null,g.default.createElement("a",{href:"",onClick:M},"Fullscreen ",g.default.createElement("i",{className:"fa fa-expand"}))),g.default.createElement("li",null,g.default.createElement("a",{target:"_blank",href:"https://docs.minio.io/"},"Documentation ",g.default.createElement("i",{className:"fa fa-book"}))),g.default.createElement("li",null,g.default.createElement("a",{target:"_blank",href:"https://slack.minio.io"},"Ask for help ",g.default.createElement("i",{className:"fa fa-question-circle"}))),g.default.createElement("li",null,g.default.createElement("a",{href:"",onClick:t},"About ",g.default.createElement("i",{className:"fa fa-info-circle"}))),g.default.createElement("li",null,g.default.createElement("a",{href:"",onClick:I},"Settings ",g.default.createElement("i",{className:"fa fa-cog"}))),g.default.createElement("li",null,g.default.createElement("a",{href:"",onClick:e},"Sign Out ",g.default.createElement("i",{className:"fa fa-sign-out"}))))))};M.default=(0,E.default)(function(A){return A})(T)},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(M,"__esModule",{value:!0});var e=t(2),g=I(e),i=t(45),E=I(i),n=t(178),o=I(n),T=t(177),N=I(T),c=function(A){var M=A.latestUiVersion;return M===currentUiVersion?g.default.createElement("noscript",null):g.default.createElement("li",{className:"hidden-xs hidden-sm"},g.default.createElement("a",{href:""},g.default.createElement(N.default,{placement:"left",overlay:g.default.createElement(o.default,{id:"tt-version-update"},"New update available. Click to refresh.")}," ",g.default.createElement("i",{className:"fa fa-refresh"})," ")))};M.default=(0,E.default)(function(A){return{latestUiVersion:A.latestUiVersion}})(c)},function(A,M,t){"use strict";function I(A){if(A&&A.__esModule)return A;var M={};if(null!=A)for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&(M[t]=A[t]);return M.default=A,M}function e(A){return A&&A.__esModule?A:{default:A}}function g(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}function i(A,M){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!M||"object"!=typeof M&&"function"!=typeof M?A:M}function E(A,M){if("function"!=typeof M&&null!==M)throw new TypeError("Super expression must either be null or a function, not "+typeof M);A.prototype=Object.create(M&&M.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(A,M):A.__proto__=M)}Object.defineProperty(M,"__esModule",{value:!0});var n=function(){function A(A,M){for(var t=0;t":i.innerHTML="<"+A+">",E[A]=!i.firstChild),E[A]?c[A]:null}var e=t(20),g=t(3),i=e.canUseDOM?document.createElement("div"):null,E={},n=[1,'"],o=[1,"","
    "],T=[3,"","
    "],N=[1,'',""],c={"*":[1,"?
    ","
    "],area:[1,"",""],col:[2,"","
    "],legend:[1,"
    ","
    "],param:[1,"",""],tr:[2,"","
    "],optgroup:n,option:n,caption:o,colgroup:o,tbody:o,tfoot:o,thead:o,td:T,th:T},C=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];C.forEach(function(A){c[A]=N,E[A]=!0}),A.exports=I},function(A,M){"use strict";function t(A,M){if(A===M)return!0;if("object"!=typeof A||null===A||"object"!=typeof M||null===M)return!1;var t=Object.keys(A),e=Object.keys(M);if(t.length!==e.length)return!1;for(var g=I.bind(M),i=0;i-1})))}},{key:"listObjects",value:function(){var A=this.props.dispatch;A(gA.listObjects())}},{key:"selectPrefix",value:function(A,M){A.preventDefault();var t=this.props,I=t.dispatch,e=t.currentPath,g=t.web,i=t.currentBucket,E=encodeURI(M);if(M.endsWith("/")||""===M){if(M===e)return;a.default.push(EA.pathJoin(i,E))}else if(g.LoggedIn())g.CreateURLToken().then(function(A){var M=""+window.location.origin+TA.minioBrowserPrefix+"/download/"+i+"/"+E+"?token="+A.token;window.location=M}).catch(function(A){return I(gA.showAlert({type:"danger",message:A.message}))});else{var n=window.location.origin+"/minio/download/"+i+"/"+E+"?token=''";window.location=n}}},{key:"makeBucket",value:function(A){A.preventDefault();var M=this.refs.makeBucketRef.value;this.refs.makeBucketRef.value="";var t=this.props,I=t.web,e=t.dispatch;this.hideMakeBucketModal(),I.MakeBucket({bucketName:M}).then(function(){e(gA.addBucket(M)),e(gA.selectBucket(M))}).catch(function(A){return e(gA.showAlert({type:"danger",message:A.message}))})}},{key:"hideMakeBucketModal",value:function(){var A=this.props.dispatch;A(gA.hideMakeBucketModal())}},{key:"showMakeBucketModal",value:function(A){A.preventDefault();var M=this.props.dispatch;M(gA.showMakeBucketModal())}},{key:"showAbout",value:function(A){A.preventDefault();var M=this.props.dispatch;M(gA.showAbout())}},{key:"hideAbout",value:function(A){A.preventDefault();var M=this.props.dispatch;M(gA.hideAbout())}},{key:"toggleBucketDropdown",value:function(A){var M=this.props,t=M.dispatch,I=M.showBucketDropdown;t(I?gA.hideBucketDropdown():gA.showBucketDropdown())}},{key:"showBucketPolicy",value:function(A){A.preventDefault();var M=this.props.dispatch;this.toggleBucketDropdown(A),M(gA.showBucketPolicy())}},{key:"hideBucketPolicy",value:function(A){A.preventDefault();var M=this.props.dispatch;M(gA.hideBucketPolicy())}},{key:"deleteBucket",value:function(A,M){A.preventDefault();var t=this.props.dispatch;this.toggleBucketDropdown(A),t(gA.deleteBucket(M)),a.default.push(TA.minioBrowserPrefix+"/")}},{key:"uploadFile",value:function(A){A.preventDefault();var M=this.props,t=M.dispatch,I=M.buckets,e=M.currentBucket;if(0===I.length)return void t(gA.showAlert({type:"danger",message:"Bucket needs to be created before trying to upload files."}));if(""===e)return void t(gA.showAlert({type:"danger",message:"Please choose a bucket before trying to upload files."}));var g=A.target.files[0];A.target.value=null,this.xhr=new XMLHttpRequest,t(gA.uploadFile(g,this.xhr))}},{key:"removeObject",value:function(){var A=this,M=this.props,t=M.web,I=M.dispatch,e=M.currentPath,g=M.currentBucket,i=M.deleteConfirmation,E=M.checkedObjects,n=[];n=E.length>0?E.map(function(A){return""+e+A}):[i.object],t.RemoveObject({bucketname:g,objects:n}).then(function(){if(A.hideDeleteConfirmation(),E.length>0){for(var M=0;M0})},T.default.createElement("span",{className:"la-label"},T.default.createElement("i",{className:"fa fa-check-circle"})," ",C.length," Objects selected"),T.default.createElement("span",{className:"la-actions pull-right"},T.default.createElement("button",{onClick:this.downloadSelected.bind(this)}," Download all as zip ")),T.default.createElement("span",{className:"la-actions pull-right"},T.default.createElement("button",{onClick:this.showDeleteConfirmation.bind(this)}," Delete selected ")),T.default.createElement("i",{className:"la-close fa fa-times",onClick:this.clearSelected.bind(this)})),T.default.createElement(f.default,null,V,T.default.createElement("header",{className:"fe-header-mobile hidden-lg hidden-md"},T.default.createElement("div",{id:"feh-trigger",className:"feh-trigger "+(0,c.default)({"feht-toggled":w}),onClick:this.toggleSidebar.bind(this,!w)},T.default.createElement("div",{className:"feht-lines"},T.default.createElement("div",{className:"top"}),T.default.createElement("div",{className:"center"}),T.default.createElement("div",{className:"bottom"}))),T.default.createElement("img",{className:"mh-logo",src:IA.default,alt:""})),T.default.createElement("header",{className:"fe-header"},T.default.createElement(J.default,{selectPrefix:this.selectPrefix.bind(this)}),AA,T.default.createElement("ul",{className:"feh-actions"},T.default.createElement(b.default,null),Z,_)),T.default.createElement("div",{className:"feb-container"},T.default.createElement("header",{className:"fesl-row","data-type":"folder"},T.default.createElement("div",{className:"fesl-item fesl-item-icon"}),T.default.createElement("div",{className:"fesl-item fesl-item-name",onClick:this.sortObjectsByName.bind(this),"data-sort":"name"},"Name",T.default.createElement("i",{className:(0,c.default)({"fesli-sort":!0,fa:!0,"fa-sort-alpha-desc":i,"fa-sort-alpha-asc":!i})})),T.default.createElement("div",{className:"fesl-item fesl-item-size",onClick:this.sortObjectsBySize.bind(this),"data-sort":"size"},"Size",T.default.createElement("i",{className:(0,c.default)({"fesli-sort":!0,fa:!0,"fa-sort-amount-desc":E,"fa-sort-amount-asc":!E})})),T.default.createElement("div",{className:"fesl-item fesl-item-modified",onClick:this.sortObjectsByDate.bind(this),"data-sort":"last-modified"},"Last Modified",T.default.createElement("i",{className:(0,c.default)({"fesli-sort":!0,fa:!0,"fa-sort-numeric-desc":n,"fa-sort-numeric-asc":!n})})),T.default.createElement("div",{className:"fesl-item fesl-item-actions"}))),T.default.createElement("div",{className:"feb-container"},T.default.createElement(DA.default,{loadMore:this.listObjects.bind(this),hasMore:G,useWindow:!0,initialLoad:!1},T.default.createElement(m.default,{dataType:this.dataType.bind(this),selectPrefix:this.selectPrefix.bind(this),showDeleteConfirmation:this.showDeleteConfirmation.bind(this),shareObject:this.shareObject.bind(this),checkObject:this.checkObject.bind(this),checkedObjectsArray:C})),T.default.createElement("div",{className:"text-center",style:{display:G&&S?"block":"none"}},T.default.createElement("span",null,"Loading..."))),T.default.createElement(v.default,null),gA,T.default.createElement(s.default,{className:"modal-create-bucket",bsSize:"small",animation:!1,show:e,onHide:this.hideMakeBucketModal.bind(this)},T.default.createElement("button",{className:"close close-alt",onClick:this.hideMakeBucketModal.bind(this)},T.default.createElement("span",null,"×")),T.default.createElement(u.default,null,T.default.createElement("form",{onSubmit:this.makeBucket.bind(this)},T.default.createElement("div",{className:"input-group"},T.default.createElement("input",{className:"ig-text",type:"text",ref:"makeBucketRef",placeholder:"Bucket Name",autoFocus:!0}),T.default.createElement("i",{className:"ig-helpers"}))))),T.default.createElement(s.default,{className:"modal-about modal-dark",animation:!1,show:o,onHide:this.hideAbout.bind(this)},T.default.createElement("button",{className:"close",onClick:this.hideAbout.bind(this)},T.default.createElement("span",null,"×")),T.default.createElement("div",{className:"ma-inner"},T.default.createElement("div",{className:"mai-item hidden-xs"},T.default.createElement("a",{href:"https://minio.io",target:"_blank"},T.default.createElement("img",{className:"maii-logo",src:IA.default,alt:""}))),T.default.createElement("div",{className:"mai-item"},T.default.createElement("ul",{className:"maii-list"},T.default.createElement("li",null,T.default.createElement("div",null,"Version"),T.default.createElement("small",null,D)),T.default.createElement("li",null,T.default.createElement("div",null,"Memory"),T.default.createElement("small",null,r)),T.default.createElement("li",null,T.default.createElement("div",null,"Platform"),T.default.createElement("small",null,Q)),T.default.createElement("li",null,T.default.createElement("div",null,"Runtime"),T.default.createElement("small",null,x)))))),T.default.createElement(s.default,{className:"modal-policy",animation:!1,show:N,onHide:this.hideBucketPolicy.bind(this)},T.default.createElement(j.default,null,"Bucket Policy (",S,")",T.default.createElement("button",{className:"close close-alt",onClick:this.hideBucketPolicy.bind(this)},T.default.createElement("span",null,"×"))),T.default.createElement("div",{className:"pm-body"},T.default.createElement(K.default,{bucket:S}),L.map(function(A,M){return T.default.createElement(q.default,{key:M,prefix:A.prefix,policy:A.policy})}))),T.default.createElement(MA.default,{show:U.show,icon:"fa fa-exclamation-triangle mci-red",text:"Are you sure you want to delete?",sub:"This cannot be undone!",okText:"Delete",cancelText:"Cancel",okHandler:this.removeObject.bind(this),cancelHandler:this.hideDeleteConfirmation.bind(this)}),T.default.createElement(s.default,{show:p.show,animation:!1,onHide:this.hideShareObjectModal.bind(this),bsSize:"small"},T.default.createElement(j.default,null,"Share Object"),T.default.createElement(u.default,null,T.default.createElement("div",{className:"input-group copy-text"},T.default.createElement("label",null,"Shareable Link"),T.default.createElement("input",{type:"text",ref:"copyTextInput",readOnly:"readOnly",value:window.location.protocol+"//"+p.url,onClick:this.selectTexts.bind(this)})),T.default.createElement("div",{className:"input-group",style:{display:O.LoggedIn()?"block":"none"}},T.default.createElement("label",null,"Expires in (Max 7 days)"),T.default.createElement("div",{className:"set-expire"},T.default.createElement("div",{className:"set-expire-item"},T.default.createElement("i",{className:"set-expire-increase",onClick:this.handleExpireValue.bind(this,"expireDays",1,p.object)}),T.default.createElement("div",{className:"set-expire-title"},"Days"),T.default.createElement("div",{className:"set-expire-value"},T.default.createElement("input",{ref:"expireDays",type:"number",min:0,max:7,defaultValue:5,readOnly:"readOnly"})),T.default.createElement("i",{className:"set-expire-decrease",onClick:this.handleExpireValue.bind(this,"expireDays",-1,p.object)})),T.default.createElement("div",{className:"set-expire-item"},T.default.createElement("i",{className:"set-expire-increase",onClick:this.handleExpireValue.bind(this,"expireHours",1,p.object)}),T.default.createElement("div",{className:"set-expire-title"},"Hours"),T.default.createElement("div",{className:"set-expire-value"},T.default.createElement("input",{ref:"expireHours",type:"number",min:0,max:23,defaultValue:0,readOnly:"readOnly"})),T.default.createElement("i",{className:"set-expire-decrease",onClick:this.handleExpireValue.bind(this,"expireHours",-1,p.object)})),T.default.createElement("div",{className:"set-expire-item"},T.default.createElement("i",{className:"set-expire-increase",onClick:this.handleExpireValue.bind(this,"expireMins",1,p.object)}),T.default.createElement("div",{className:"set-expire-title"},"Minutes"),T.default.createElement("div",{className:"set-expire-value"},T.default.createElement("input",{ref:"expireMins",type:"number",min:0,max:59,defaultValue:0,readOnly:"readOnly"})),T.default.createElement("i",{className:"set-expire-decrease",onClick:this.handleExpireValue.bind(this,"expireMins",-1,p.object)}))))),T.default.createElement("div",{className:"modal-footer"},T.default.createElement(cA.default,{text:window.location.protocol+"//"+p.url,onCopy:this.showMessage.bind(this)},T.default.createElement("button",{className:"btn btn-success"},"Copy Link")),T.default.createElement("button",{className:"btn btn-link",onClick:this.hideShareObjectModal.bind(this)},"Cancel"))),H)))}}]),M}(T.default.Component);M.default=BA},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(M,"__esModule",{value:!0});var e=t(2),g=I(e),i=t(45),E=I(i),n=t(119),o=I(n),T=function(A){var M=A.fullScreenFunc,t=A.aboutFunc,I=A.settingsFunc,e=A.logoutFunc;return g.default.createElement("li",null,g.default.createElement(o.default,{pullRight:!0,id:"top-right-menu"},g.default.createElement(o.default.Toggle,{noCaret:!0},g.default.createElement("i",{className:"fa fa-reorder"})),g.default.createElement(o.default.Menu,{className:"dropdown-menu-right"},g.default.createElement("li",null,g.default.createElement("a",{target:"_blank",href:"https://github.com/minio/minio"},"Github ",g.default.createElement("i",{className:"fa fa-github"}))),g.default.createElement("li",null,g.default.createElement("a",{href:"",onClick:M},"Fullscreen ",g.default.createElement("i",{className:"fa fa-expand"}))),g.default.createElement("li",null,g.default.createElement("a",{target:"_blank",href:"https://docs.minio.io/"},"Documentation ",g.default.createElement("i",{className:"fa fa-book"}))),g.default.createElement("li",null,g.default.createElement("a",{target:"_blank",href:"https://slack.minio.io"},"Ask for help ",g.default.createElement("i",{className:"fa fa-question-circle"}))),g.default.createElement("li",null,g.default.createElement("a",{href:"",onClick:t},"About ",g.default.createElement("i",{className:"fa fa-info-circle"}))),g.default.createElement("li",null,g.default.createElement("a",{href:"",onClick:I},"Change Password ",g.default.createElement("i",{className:"fa fa-cog"}))),g.default.createElement("li",null,g.default.createElement("a",{href:"",onClick:e},"Sign Out ",g.default.createElement("i",{className:"fa fa-sign-out"}))))))};M.default=(0,E.default)(function(A){return A})(T)},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(M,"__esModule",{value:!0});var e=t(2),g=I(e),i=t(45),E=I(i),n=t(178),o=I(n),T=t(177),N=I(T),c=function(A){var M=A.latestUiVersion;return M===currentUiVersion?g.default.createElement("noscript",null):g.default.createElement("li",{className:"hidden-xs hidden-sm"},g.default.createElement("a",{href:""},g.default.createElement(N.default,{placement:"left",overlay:g.default.createElement(o.default,{id:"tt-version-update"},"New update available. Click to refresh.")}," ",g.default.createElement("i",{className:"fa fa-refresh"})," ")))};M.default=(0,E.default)(function(A){return{latestUiVersion:A.latestUiVersion}})(c)},function(A,M,t){"use strict";function I(A){if(A&&A.__esModule)return A;var M={};if(null!=A)for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&(M[t]=A[t]);return M.default=A,M}function e(A){return A&&A.__esModule?A:{default:A}}function g(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}function i(A,M){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!M||"object"!=typeof M&&"function"!=typeof M?A:M}function E(A,M){if("function"!=typeof M&&null!==M)throw new TypeError("Super expression must either be null or a function, not "+typeof M);A.prototype=Object.create(M&&M.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(A,M):A.__proto__=M)}Object.defineProperty(M,"__esModule",{value:!0});var n=function(){function A(A,M){for(var t=0;t0&&(A.name.endsWith("/")||(r=g.default.createElement(C.default,{id:"fia-dropdown-"+A.name.replace(".","-")},g.default.createElement(C.default.Toggle,{noCaret:!0,className:"fia-toggle"}),g.default.createElement(C.default.Menu,null,g.default.createElement("a",{href:"",className:"fiad-action",onClick:function(M){return n(M,""+t+A.name)}},g.default.createElement("i",{className:"fa fa-copy"})),Q))));var s="",x="";return c.indexOf(A.name)>-1&&(s=" fesl-row-selected",x=!0),g.default.createElement("div",{key:M,className:"fesl-row "+B+s,"data-type":e(A.name,A.contentType)},g.default.createElement("div",{className:"fesl-item fesl-item-icon"},g.default.createElement("div",{className:"fi-select"},g.default.createElement("input",{type:"checkbox",name:A.name,checked:x,onChange:function(M){return N(M,A.name)}}),g.default.createElement("i",{className:"fis-icon"}),g.default.createElement("i",{className:"fis-helper"}))),g.default.createElement("div",{className:"fesl-item fesl-item-name"},g.default.createElement("a",{href:"",onClick:function(M){return I(M,""+t+A.name)}},A.name)),g.default.createElement("div",{className:"fesl-item fesl-item-size"},a),g.default.createElement("div",{className:"fesl-item fesl-item-modified"},D),g.default.createElement("div",{className:"fesl-item fesl-item-actions"},r))});return g.default.createElement("div",null,a)};M.default=(0,N.default)(function(A){return{objects:A.objects,currentPath:A.currentPath,loadPath:A.loadPath}})(a)},function(A,M,t){"use strict";function I(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(M,"__esModule",{value:!0});var e=t(2),g=I(e),i=t(45),E=I(i),n=function(A){var M=A.currentBucket,t=A.currentPath,I=A.selectPrefix,e=[],i="";return t&&(i=t.split("/").map(function(A,M){e.push(A);var t=e.join("/")+"/";return g.default.createElement("span",{key:M},g.default.createElement("a",{href:"",onClick:function(A){return I(A,t)}},A))})),g.default.createElement("h2",null,g.default.createElement("span",{className:"main"},g.default.createElement("a",{onClick:function(A){return I(A,"")},href:""},M)),i)};M.default=(0,E.default)(function(A){return{currentBucket:A.currentBucket,currentPath:A.currentPath}})(n)},function(A,M,t){"use strict";function I(A){if(A&&A.__esModule)return A;var M={};if(null!=A)for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&(M[t]=A[t]);return M.default=A,M}function e(A){return A&&A.__esModule?A:{default:A}}function g(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}function i(A,M){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!M||"object"!=typeof M&&"function"!=typeof M?A:M}function E(A,M){if("function"!=typeof M&&null!==M)throw new TypeError("Super expression must either be null or a function, not "+typeof M);A.prototype=Object.create(M&&M.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(A,M):A.__proto__=M)}Object.defineProperty(M,"__esModule",{value:!0});var n=function(){function A(A,M){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{buckets:[],visibleBuckets:[],objects:[],istruncated:!0,storageInfo:{},serverInfo:{},currentBucket:"",showBucketDropdown:!1,currentPath:"",showMakeBucketModal:!1,uploads:{},alert:{show:!1,type:"danger",message:""},loginError:!1,sortNameOrder:!1,sortSizeOrder:!1,sortDateOrder:!1,latestUiVersion:currentUiVersion,sideBarActive:!1,loginRedirectPath:n.minioBrowserPrefix,settings:{accessKey:"",secretKey:"",secretKeyVisible:!1},showSettings:!1,policies:[],deleteConfirmation:{object:"",show:!1},shareObject:{show:!1,url:"",object:""},prefixWritable:!1,checkedObjects:[]},M=arguments[1],t=Object.assign({},A);switch(M.type){case E.SET_WEB:t.web=M.web;break;case E.SET_BUCKETS:t.buckets=M.buckets;break;case E.ADD_BUCKET:t.buckets=[M.bucket].concat(g(t.buckets)),t.visibleBuckets=[M.bucket].concat(g(t.visibleBuckets));break;case E.REMOVE_BUCKET:t.buckets=t.buckets.filter(function(A){return A!=M.bucket}),t.visibleBuckets=t.visibleBuckets.filter(function(A){return A!=M.bucket}),t.currentBucket="";break;case E.SHOW_BUCKET_DROPDOWN:t.showBucketDropdown=M.showBucketDropdown;break;case E.SET_VISIBLE_BUCKETS:t.visibleBuckets=M.visibleBuckets;break;case E.SET_CURRENT_BUCKET:t.currentBucket=M.currentBucket;break;case E.APPEND_OBJECTS:t.objects=[].concat(g(t.objects),g(M.objects)),t.marker=M.marker,t.istruncated=M.istruncated;break;case E.SET_OBJECTS:t.objects=[].concat(g(M.objects));break;case E.RESET_OBJECTS:t.objects=[],t.marker="",t.istruncated=!1;break;case E.SET_CURRENT_PATH:t.currentPath=M.currentPath;break;case E.SET_STORAGE_INFO:t.storageInfo=M.storageInfo;break;case E.SET_SERVER_INFO:t.serverInfo=M.serverInfo;break;case E.SHOW_MAKEBUCKET_MODAL:t.showMakeBucketModal=M.showMakeBucketModal;break;case E.UPLOAD_PROGRESS:t.uploads=Object.assign({},t.uploads),t.uploads[M.slug].loaded=M.loaded;break;case E.ADD_UPLOAD:t.uploads=Object.assign({},t.uploads,e({},M.slug,{loaded:0,size:M.size,xhr:M.xhr,name:M.name}));break;case E.STOP_UPLOAD:t.uploads=Object.assign({},t.uploads),delete t.uploads[M.slug];break;case E.SET_ALERT:t.alert.alertTimeout&&clearTimeout(t.alert.alertTimeout),M.alert.show?t.alert=M.alert:t.alert=Object.assign({},t.alert,{show:!1});break;case E.SET_LOGIN_ERROR:t.loginError=!0;break;case E.SET_SHOW_ABORT_MODAL:t.showAbortModal=M.showAbortModal;break;case E.SHOW_ABOUT:t.showAbout=M.showAbout;break;case E.SET_SORT_NAME_ORDER:t.sortNameOrder=M.sortNameOrder;break;case E.SET_SORT_SIZE_ORDER:t.sortSizeOrder=M.sortSizeOrder;break;case E.SET_SORT_DATE_ORDER:t.sortDateOrder=M.sortDateOrder;break;case E.SET_LATEST_UI_VERSION:t.latestUiVersion=M.latestUiVersion;break;case E.SET_SIDEBAR_STATUS:t.sidebarStatus=M.sidebarStatus;break;case E.SET_LOGIN_REDIRECT_PATH:t.loginRedirectPath=M.path;case E.SET_LOAD_BUCKET:t.loadBucket=M.loadBucket;break;case E.SET_LOAD_PATH:t.loadPath=M.loadPath;break;case E.SHOW_SETTINGS:t.showSettings=M.showSettings;break;case E.SET_SETTINGS:t.settings=Object.assign({},t.settings,M.settings);break;case E.SHOW_BUCKET_POLICY:t.showBucketPolicy=M.showBucketPolicy;break;case E.SET_POLICIES:t.policies=M.policies;break;case E.DELETE_CONFIRMATION:t.deleteConfirmation=Object.assign({},M.payload);break;case E.SET_SHARE_OBJECT:t.shareObject=Object.assign({},M.shareObject);break;case E.SET_PREFIX_WRITABLE:t.prefixWritable=M.prefixWritable;break;case E.REMOVE_OBJECT:var I=t.objects.findIndex(function(A){return A.name===M.object});if(I==-1)break;t.objects=[].concat(g(t.objects.slice(0,I)),g(t.objects.slice(I+1)));break;case E.CHECKED_OBJECTS_ADD:t.checkedObjects=[].concat(g(t.checkedObjects),[M.objectName]);break;case E.CHECKED_OBJECTS_REMOVE:var i=t.checkedObjects.indexOf(M.objectName);if(i==-1)break;t.checkedObjects=[].concat(g(t.checkedObjects.slice(0,i)),g(t.checkedObjects.slice(i+1)));break;case E.CHECKED_OBJECTS_RESET:t.checkedObjects=[]}return t}},function(A,M,t){"use strict";function I(A){if(Array.isArray(A)){for(var M=0,t=Array(A.length);MM.name.toLowerCase()?1:0}),e=e.sort(function(A,M){return A.name.toLowerCase()M.name.toLowerCase()?1:0}),M&&(t=t.reverse(),e=e.reverse()),[].concat(I(t),I(e))},M.sortObjectsBySize=function(A,M){var t=A.filter(function(A){return A.name.endsWith("/")}),e=A.filter(function(A){return!A.name.endsWith("/")});return e=e.sort(function(A,M){return A.size-M.size}),M&&(e=e.reverse()),[].concat(I(t),I(e))},M.sortObjectsByDate=function(A,M){var t=A.filter(function(A){return A.name.endsWith("/")}),e=A.filter(function(A){return!A.name.endsWith("/")});return e=e.sort(function(A,M){return new Date(A.lastModified).getTime()-new Date(M.lastModified).getTime()}),M&&(e=e.reverse()),[].concat(I(t),I(e))},M.pathSlice=function(A){A=A.replace(e.minioBrowserPrefix,"");var M="",t="";if(!A)return{bucket:t,prefix:M};var I=A.indexOf("/",1);return I==-1?(t=A.slice(1),{bucket:t,prefix:M}):(t=A.slice(1,I),M=A.slice(I+1),{bucket:t,prefix:M})},M.pathJoin=function(A,M){return M||(M=""),e.minioBrowserPrefix+"/"+A+"/"+M}},function(A,M,t){"use strict";function I(A){if(A&&A.__esModule)return A;var M={};if(null!=A)for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&(M[t]=A[t]);return M.default=A,M}function e(A){return A&&A.__esModule?A:{default:A}}function g(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function"); -}Object.defineProperty(M,"__esModule",{value:!0});var i=function(){function A(A,M){for(var t=0;t1&&(I=t[0]+"@",A=t[1]),A=A.replace(z,".");var e=A.split("."),g=E(e,M).join(".");return I+g}function o(A){for(var M,t,I=[],e=0,g=A.length;e=55296&&M<=56319&&e65535&&(A-=65536,M+=f(A>>>10&1023|55296),A=56320|1023&A),M+=f(A)}).join("")}function N(A){return A-48<10?A-22:A-65<26?A-65:A-97<26?A-97:u}function c(A,M){return A+22+75*(A<26)-((0!=M)<<5)}function C(A,M,t){var I=0;for(A=t?F(A/l):A>>1,A+=F(A/M);A>p*j>>1;I+=u)A=F(A/p);return F(I+(p+1)*A/(A+y))}function a(A){var M,t,I,e,g,E,n,o,c,a,D=[],B=A.length,r=0,Q=d,s=Y;for(t=A.lastIndexOf(L),t<0&&(t=0),I=0;I=128&&i("not-basic"),D.push(A.charCodeAt(I));for(e=t>0?t+1:0;e=B&&i("invalid-input"),o=N(A.charCodeAt(e++)),(o>=u||o>F((x-r)/E))&&i("overflow"),r+=o*E,c=n<=s?w:n>=s+j?j:n-s,!(oF(x/a)&&i("overflow"),E*=a;M=D.length+1,s=C(r-g,M,0==g),F(r/M)>x-Q&&i("overflow"),Q+=F(r/M),r%=M,D.splice(r++,0,Q)}return T(D)}function D(A){var M,t,I,e,g,E,n,T,N,a,D,B,r,Q,s,y=[];for(A=o(A),B=A.length,M=d,t=0,g=Y,E=0;E=M&&DF((x-t)/r)&&i("overflow"),t+=(n-M)*r,M=n,E=0;Ex&&i("overflow"),D==M){for(T=t,N=u;a=N<=g?w:N>=g+j?j:N-g,!(T= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=u-w,F=Math.floor,f=String.fromCharCode;s={version:"1.3.2",ucs2:{decode:o,encode:T},decode:a,encode:D,toASCII:r,toUnicode:B},I=function(){return s}.call(M,t,M,A),!(void 0!==I&&(A.exports=I))}(this)}).call(M,t(218)(A),function(){return this}())},function(A,M,t){"use strict";function I(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function e(A,M,t){if(A&&o.isObject(A)&&A instanceof I)return A;var e=new I;return e.parse(A,M,t),e}function g(A){return o.isString(A)&&(A=e(A)),A instanceof I?A.format():I.prototype.format.call(A)}function i(A,M){return e(A,!1,!0).resolve(M)}function E(A,M){return A?e(A,!1,!0).resolveObject(M):M}var n=t(833),o=t(835);M.parse=e,M.resolve=i,M.resolveObject=E,M.format=g,M.Url=I;var T=/^([a-z0-9.+-]+:)/i,N=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,C=["<",">",'"',"` + "`" + `"," ","\r","\n","\t"],a=["{","}","|","\\","^","` + "`" + `"].concat(C),D=["'"].concat(a),B=["%","/","?",";","#"].concat(D),r=["/","?","#"],Q=255,s=/^[+a-z0-9A-Z_-]{0,63}$/,x=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,u={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},j={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=t(633);I.prototype.parse=function(A,M,t){if(!o.isString(A))throw new TypeError("Parameter 'url' must be a string, not "+typeof A);var I=A.indexOf("?"),e=I!==-1&&I127?"x":F[O];if(!f.match(s)){var R=U.slice(0,d),k=U.slice(d+1),G=F.match(x);G&&(R.push(G[1]),k.unshift(G[2])),k.length&&(E="/"+k.join(".")+E),this.hostname=R.join(".");break}}}this.hostname.length>Q?this.hostname="":this.hostname=this.hostname.toLowerCase(),z||(this.hostname=n.toASCII(this.hostname));var J=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+J,this.href+=this.host,z&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==E[0]&&(E="/"+E))}if(!u[a])for(var d=0,p=D.length;d0)&&t.host.split("@");l&&(t.auth=l.shift(),t.host=t.hostname=l.shift())}return t.search=A.search,t.query=A.query,o.isNull(t.pathname)&&o.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t}if(!u.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var Y=u.slice(-1)[0],d=(t.host||A.host||u.length>1)&&("."===Y||".."===Y)||""===Y,L=0,h=u.length;h>=0;h--)Y=u[h],"."===Y?u.splice(h,1):".."===Y?(u.splice(h,1),L++):L&&(u.splice(h,1),L--);if(!s&&!x)for(;L--;L)u.unshift("..");!s||""===u[0]||u[0]&&"/"===u[0].charAt(0)||u.unshift(""),d&&"/"!==u.join("/").substr(-1)&&u.push("");var S=""===u[0]||u[0]&&"/"===u[0].charAt(0);if(y){t.hostname=t.host=S?"":u.length?u.shift():"";var l=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@");l&&(t.auth=l.shift(),t.host=t.hostname=l.shift())}return s=s||t.host&&u.length,s&&!S&&u.unshift(""),u.length?t.pathname=u.join("/"):(t.pathname=null,t.path=null),o.isNull(t.pathname)&&o.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=A.auth||t.auth,t.slashes=t.slashes||A.slashes,t.href=t.format(),t},I.prototype.parseHost=function(){var A=this.host,M=N.exec(A);M&&(M=M[0],":"!==M&&(this.port=M.substr(1)),A=A.substr(0,A.length-M.length)),A&&(this.hostname=A)}},function(A,M){"use strict";A.exports={isString:function(A){return"string"==typeof A},isObject:function(A){return"object"==typeof A&&null!==A},isNull:function(A){return null===A},isNullOrUndefined:function(A){return null==A}}}]);`) -func productionIndex_bundle20180117t204227zJsBytes() ([]byte, error) { - return _productionIndex_bundle20180117t204227zJs, nil +func productionIndex_bundle20180118t223729zJsBytes() ([]byte, error) { + return _productionIndex_bundle20180118t223729zJs, nil } -func productionIndex_bundle20180117t204227zJs() (*asset, error) { - bytes, err := productionIndex_bundle20180117t204227zJsBytes() +func productionIndex_bundle20180118t223729zJs() (*asset, error) { + bytes, err := productionIndex_bundle20180118t223729zJsBytes() if err != nil { return nil, err } - info := bindataFileInfo{name: "production/index_bundle-2018-01-17T20-42-27Z.js", size: 2682297, mode: os.FileMode(420), modTime: time.Unix(1516221768, 0)} + info := bindataFileInfo{name: "production/index_bundle-2018-01-18T22-37-29Z.js", size: 2682304, mode: os.FileMode(420), modTime: time.Unix(1516315067, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -381,7 +381,7 @@ func productionLoaderCss() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "production/loader.css", size: 1738, mode: os.FileMode(420), modTime: time.Unix(1516221768, 0)} + info := bindataFileInfo{name: "production/loader.css", size: 1738, mode: os.FileMode(420), modTime: time.Unix(1516315067, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -455,7 +455,7 @@ func productionLogoSvg() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "production/logo.svg", size: 3079, mode: os.FileMode(420), modTime: time.Unix(1516221768, 0)} + info := bindataFileInfo{name: "production/logo.svg", size: 3079, mode: os.FileMode(420), modTime: time.Unix(1516315067, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -472,7 +472,7 @@ func productionSafariPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "production/safari.png", size: 4971, mode: os.FileMode(420), modTime: time.Unix(1516221768, 0)} + info := bindataFileInfo{name: "production/safari.png", size: 4971, mode: os.FileMode(420), modTime: time.Unix(1516315067, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -533,7 +533,7 @@ var _bindata = map[string]func() (*asset, error){ "production/favicon.ico": productionFaviconIco, "production/firefox.png": productionFirefoxPng, "production/index.html": productionIndexHTML, - "production/index_bundle-2018-01-17T20-42-27Z.js": productionIndex_bundle20180117t204227zJs, + "production/index_bundle-2018-01-18T22-37-29Z.js": productionIndex_bundle20180118t223729zJs, "production/loader.css": productionLoaderCss, "production/logo.svg": productionLogoSvg, "production/safari.png": productionSafariPng, @@ -585,7 +585,7 @@ var _bintree = &bintree{nil, map[string]*bintree{ "favicon.ico": {productionFaviconIco, map[string]*bintree{}}, "firefox.png": {productionFirefoxPng, map[string]*bintree{}}, "index.html": {productionIndexHTML, map[string]*bintree{}}, - "index_bundle-2018-01-17T20-42-27Z.js": {productionIndex_bundle20180117t204227zJs, map[string]*bintree{}}, + "index_bundle-2018-01-18T22-37-29Z.js": {productionIndex_bundle20180118t223729zJs, map[string]*bintree{}}, "loader.css": {productionLoaderCss, map[string]*bintree{}}, "logo.svg": {productionLogoSvg, map[string]*bintree{}}, "safari.png": {productionSafariPng, map[string]*bintree{}}, @@ -649,6 +649,6 @@ func assetFS() *assetfs.AssetFS { panic("unreachable") } -var UIReleaseTag = "RELEASE.2018-01-17T20-42-27Z" -var UICommitID = "d0a43af61688353de3dbda70d038aaf266cd4a61" -var UIVersion = "2018-01-17T20:42:27Z" +var UIReleaseTag = "RELEASE.2018-01-18T22-37-29Z" +var UICommitID = "58b7a61ead1f6ed7a6c0110cc61d20b5d7d65d2e" +var UIVersion = "2018-01-18T22:37:29Z"