From d9227828dda95833d7a63443a590cfd3d9bdfb10 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Thu, 15 Mar 2018 13:33:41 -0700 Subject: [PATCH] Benchmarks deploy --- benchmarks/bundle.js | 4 ++-- benchmarks/report.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/bundle.js b/benchmarks/bundle.js index ca0436c6..437d9512 100644 --- a/benchmarks/bundle.js +++ b/benchmarks/bundle.js @@ -8,7 +8,7 @@ var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.pr Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";function n(){for(var e=[],t=0;t0?s[o.max(o.filter(n,function(e){return s.hasOwnProperty(e)}))]:void 0},t.prototype.accessibilityTraitToAriaSelected=function(e){if(e&&o.isArray(e)&&-1!==e.indexOf(a.AccessibilityTrait.Tab))return-1!==e.indexOf(a.AccessibilityTrait.Selected)},t.prototype.accessibilityTraitToAriaChecked=function(e){if(e&&o.isArray(e)&&-1!==e.indexOf(a.AccessibilityTrait.CheckBox))return-1!==e.indexOf(a.AccessibilityTrait.Checked)},t.prototype.accessibilityTraitToAriaHasPopup=function(e){if(e&&o.isArray(e)&&-1!==e.indexOf(a.AccessibilityTrait.HasPopup))return-1!==e.indexOf(a.AccessibilityTrait.HasPopup)},t}(i.AccessibilityUtil);t.AccessibilityUtil=c,t.default=new c;var l,f},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(8),s=n(357),u=n(108);u.default.keyboardNavigationEvent.subscribe(function(e){o=e});var c=n(357);t.applyFocusableComponentMixin=c.applyFocusableComponentMixin;var l=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.initListeners=function(){var e;window.addEventListener("keydown",function(e){i=e.shiftKey}),window.addEventListener("keyup",function(e){i=e.shiftKey}),document.body.addEventListener("focusout",function(n){if(o&&n.target!==document.body){if(e&&clearTimeout(e),t._skipFocusCheck)return void(t._skipFocusCheck=!1);e=setTimeout(function(){e=void 0,!o||document.activeElement&&document.activeElement!==document.body||t.focusFirst(i)},0)}})},t.prototype.addFocusListenerOnComponent=function(e,t){var n=a.findDOMNode(e);n&&n.addEventListener("focus",t)},t.prototype.removeFocusListenerFromComponent=function(e,t){var n=a.findDOMNode(e);n&&n.removeEventListener("focus",t)},t.prototype.focusComponent=function(e){var t=a.findDOMNode(e);return!(!t||!t.focus)&&(t.focus(),!0)},t.focusFirst=function(e){var n=Object.keys(t._allFocusableComponents).map(function(e){return t._allFocusableComponents[e]}).filter(function(e){return!e.removed&&!e.restricted&&0===e.limitedCount&&0===e.limitedCountAccessible}).map(function(e){return a.findDOMNode(e.component)}).filter(function(e){return e&&e.focus});n.length&&(n.sort(function(e,t){return e===t?0:e.compareDocumentPosition(t)&document.DOCUMENT_POSITION_PRECEDING?1:-1}),n[e?n.length-1:0].focus())},t.prototype.resetFocus=function(){t._resetFocusTimer&&(clearTimeout(t._resetFocusTimer),t._resetFocusTimer=void 0),o?t._resetFocusTimer=setTimeout(function(){t._resetFocusTimer=void 0,t.focusFirst()},0):"undefined"!=typeof document&&document.body&&document.body.focus&&document.body.blur&&(t._resetFocusTimer=setTimeout(function(){t._resetFocusTimer=void 0;var e=t._setTabIndex(document.body,0),n=document.activeElement;document.body.focus(),document.body.blur(),t._setTabIndex(document.body,e),n instanceof HTMLElement&&n.focus()},0))},t.prototype._updateComponentFocusRestriction=function(e){var n=!!(e.restricted||e.limitedCount>0)||void 0,r=n||e.limitedCountAccessible>0?-1:void 0,o=void 0===r;if(e.curTabIndex!==r||e.curAriaHidden!==n){var i=a.findDOMNode(e.component);if(i){if(e.curTabIndex!==r)if(e.curTabIndex=r,o)t._setTabIndex(i,e.origTabIndex);else{var s=t._setTabIndex(i,r);"origTabIndex"in e||(e.origTabIndex=s)}if(e.curAriaHidden!==n)if(e.curAriaHidden=n,o)t._setAriaHidden(i,e.origAriaHidden);else{var u=t._setAriaHidden(i,n?"true":void 0);"origAriaHidden"in e||(e.origAriaHidden=u)}o&&(delete e.origTabIndex,delete e.origAriaHidden)}t._callFocusableComponentStateChangeCallbacks(e,!o)}},t._setTabIndex=function(e,n){t._setTabIndexTimer&&e===t._setTabIndexElement&&(clearTimeout(t._setTabIndexTimer),t._setTabIndexTimer=void 0);var r=e.hasAttribute("tabindex")?e.tabIndex:void 0;return void 0===n?void 0!==r&&e.removeAttribute("tabindex"):n!==r&&(-1===n&&e===document.activeElement?(t._setTabIndexTimer&&(t._setTabIndexElement.tabIndex=-1,clearTimeout(t._setTabIndexTimer),t._setTabIndexTimer=void 0),t._setTabIndexElement=e,t._setTabIndexTimer=setTimeout(function(){e.tabIndex=n},0)):e.tabIndex=n),r},t._setAriaHidden=function(e,t){var n=e.hasAttribute("aria-hidden")?e.getAttribute("aria-hidden")||void 0:void 0;return void 0===t?void 0!==n&&e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t),n},t}(s.FocusManager);t.FocusManager=l,"undefined"!=typeof document&&"undefined"!=typeof window&&l.initListeners(),t.default=l},function(e,t,n){var r=n(367),o=n(208);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(199);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";function r(e,t){return function(n){return e+n*t}}function o(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function i(e,t){var n=t-e;return n?r(e,n>180||n<-180?n-360*Math.round(n/360):n):Object(u.a)(isNaN(e)?t:e)}function a(e){return 1==(e=+e)?s:function(t,n){return n-t?o(t,n,e):Object(u.a)(isNaN(t)?n:t)}}function s(e,t){var n=t-e;return n?r(e,n):Object(u.a)(isNaN(e)?t:e)}t.c=i,t.b=a,t.a=s;var u=n(389)},function(e,t,n){"use strict";function r(e){return e in a?a[e]:a[e]=e.replace(o,"-$&").toLowerCase().replace(i,"-ms-")}var o=/[A-Z]/g,i=/^ms-/,a={};e.exports=r},function(e,t,n){"use strict";t.__esModule=!0;var r=n(8);t.default=r.findDOMNode},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(426),i=r(o),a=n(428),s=r(a),u=n(429),c=r(u),l=function(e){var t=e.offsetHeight,n=e.offsetWidth,r=e.offsetLeft,o=e.offsetTop;for(e=e.offsetParent;e&&1===e.nodeType;)r+=e.offsetLeft-e.scrollLeft,o+=e.offsetTop-e.scrollTop,e=e.offsetParent;return{height:t,left:r,top:o,width:n}},f=!1,d=[],p=function e(){d.splice(0,250).forEach(function(e){var t=e[0],n=e[1],r=e[2],o=n||t&&t.parentNode;if(t&&o){var i=l(o),a=l(t),s=a.height,u=a.left,c=a.top,f=a.width;r(u-i.left,c-i.top,f,s,u,c)}}),d.length>0&&(0,s.default)(e)},h=function(e,t,n){f||(0,i.default)(function(){f=!1,p()}),f=!0,d.push([e,t,n])},m={blur:function(e){try{e.blur()}catch(e){}},focus:function(e){try{e.focus()}catch(e){}},measure:function(e,t){h(e,null,t)},measureInWindow:function(e,t){(0,i.default)(function(){if(e){var n=l(e),r=n.height,o=n.left,i=n.top,a=n.width;t(o,i,a,r)}})},measureLayout:function(e,t,n,r){h(e,t,r)},updateView:function(e,t,n){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=t[r];switch(r){case"style":(0,c.default)(e,o,n._reactInternalInstance);break;case"class":case"className":e.setAttribute("class",o);break;case"text":case"value":e.value=o;break;default:e.setAttribute(r,o)}}}};t.default=m},function(e,t,n){"use strict";function r(e){var t=n(246).default,r=n(3).default,o=t(e);return function(e,t,n,i){var a=e;if(e[t]){a={};var s=r.flatten(e[t]),u=Object.keys(s).reduce(function(e,t){return 0!==t.indexOf("--")&&(e[t]=s[t]),e},{});a[t]=u}for(var c=arguments.length,l=Array(c>4?c-4:0),f=4;f0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],r=n.jss,o=(0,l.default)(t),i=r.plugins.onCreateRule(e,o,n);return i||("@"===e[0]&&(0,a.default)(!1,"[JSS] Unknown at-rule %s",e),new u.default(e,o,n))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(27),a=r(i),s=n(52),u=r(s),c=n(657),l=r(c)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"isBrowser",function(){return o});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="object"===("undefined"==typeof window?"undefined":r(window))&&"object"===("undefined"==typeof document?"undefined":r(document))&&9===document.nodeType;t.default=o},function(e,t,n){"use strict";t.__esModule=!0;var r=n(3),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=o.default.create({icon:{display:"inline-block",fill:"currentcolor",height:"1.25em",maxWidth:"100%",position:"relative",userSelect:"none",textAlignVertical:"text-bottom"}});t.default=i},function(e,t,n){"use strict";e.exports=n(724)},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(307);e.exports=r},function(e,t){function n(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e0},e.prototype.showModal=function(e,t,n){this._activePopupOptions&&this.dismissPopup(this._activePopupId),this._modalStack.push({modal:e,id:t}),this._renderRootView()},e.prototype.dismissModal=function(e){this._modalStack=this._modalStack.filter(function(t){return t.id!==e}),this._renderRootView()},e.prototype.dismissAllModals=function(){this._modalStack.length>0&&(this._modalStack=[],this._renderRootView())},e.prototype.showPopup=function(e,t,n){return e.dismissIfShown&&this._shouldPopupBeDismissed(e)?(this.dismissPopup(t),!1):(this._showPopup(e,t,n),!0)},e.prototype._showPopup=function(e,t,n){var r=this;this._activePopupOptions&&this._activePopupOptions.onDismiss&&this._activePopupOptions.onDismiss(),this._popupShowDelayTimer&&(clearTimeout(this._popupShowDelayTimer),this._popupShowDelayTimer=void 0),this._activePopupOptions=e,this._activePopupId=t,this._activePopupAutoDismiss=!1,this._activePopupAutoDismissDelay=0,this._activePopupShowDelay=n||0,this._renderRootView(),this._activePopupShowDelay>0&&(this._popupShowDelayTimer=window.setTimeout(function(){r._activePopupShowDelay=0,r._popupShowDelayTimer=void 0,r._renderRootView()},this._activePopupShowDelay))},e.prototype.autoDismissPopup=function(e,t){e===this._activePopupId&&this._activePopupOptions&&(this._popupShowDelayTimer&&(clearTimeout(this._popupShowDelayTimer),this._popupShowDelayTimer=void 0),this._activePopupAutoDismiss=!0,this._activePopupAutoDismissDelay=t||0,this._renderRootView())},e.prototype.dismissPopup=function(e){e===this._activePopupId&&this._activePopupOptions&&(this._activePopupOptions.onDismiss&&this._activePopupOptions.onDismiss(),this._popupShowDelayTimer&&(clearTimeout(this._popupShowDelayTimer),this._popupShowDelayTimer=void 0),this._activePopupOptions=void 0,this._activePopupId=void 0,this._renderRootView())},e.prototype.dismissAllPopups=function(){this._activePopupId&&this.dismissPopup(this._activePopupId)},e.prototype._renderRootView=function(){var e=this,t=this._modalStack.length>0?this._modalStack[this._modalStack.length-1].modal:void 0,n=r.createElement(i.RootView,{mainView:this._mainView,keyBoardFocusOutline:this._mainView.props.keyBoardFocusOutline,mouseFocusOutline:this._mainView.props.mouseFocusOutline,modal:t,activePopupOptions:this._activePopupShowDelay>0?void 0:this._activePopupOptions,autoDismiss:this._activePopupAutoDismiss,autoDismissDelay:this._activePopupAutoDismissDelay,onDismissPopup:function(){return e.dismissPopup(e._activePopupId)}}),a=document.getElementsByClassName("app-container")[0];o.render(n,a)},e.prototype.isPopupDisplayed=function(e){return e?e===this._activePopupId:!!this._activePopupId},e}();t.FrontLayerViewManager=a,t.default=new a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(8),i=n(358),a=n(41),s=n(107),u=n(5),c=function(e){function t(){var t=e.call(this)||this;return t._isNavigatingWithKeyboard=!1,t._keyboardNavigationStateChanged=function(e){t._isNavigatingWithKeyboard=e},t.keyboardNavigationEvent.subscribe(t._keyboardNavigationStateChanged),t}return r(t,e),t.prototype.measureLayoutRelativeToWindow=function(e){var t=a.Defer(),n=o.findDOMNode(e);if(n){var r=n.getBoundingClientRect();t.resolve({x:r.left,y:r.top,width:r.width,height:r.height})}else t.reject("measureLayoutRelativeToWindow failed");return t.promise()},t.prototype.measureLayoutRelativeToAncestor=function(e,t){var n=a.Defer(),r=o.findDOMNode(e),i=o.findDOMNode(t);if(r&&i){var s=r.getBoundingClientRect(),u=i.getBoundingClientRect();n.resolve({x:s.left-u.left,y:s.top-u.top,width:s.width,height:s.height})}else n.reject("measureLayoutRelativeToAncestor failed");return n.promise()},t.prototype.measureWindow=function(){return{x:0,y:0,width:window.innerWidth,height:window.innerHeight}},t.prototype.getContentSizeMultiplier=function(){return a.Resolved(1)},t.prototype.getMaxContentSizeMultiplier=function(){return a.Resolved(0)},t.prototype.setMaxContentSizeMultiplier=function(e){},t.prototype.isHighPixelDensityScreen=function(){return this.getPixelRatio()>1},t.prototype.getPixelRatio=function(){var e=0;return window.devicePixelRatio&&(e=window.devicePixelRatio),e},t.prototype.setMainView=function(e){s.default.setMainView(e)},t.prototype.registerRootView=function(e,t){},t.prototype.useCustomScrollbars=function(e){void 0===e&&(e=!0),i.default.setUseCustomScrollbars(e)},t.prototype.dismissKeyboard=function(){},t.prototype.enableTouchLatencyEvents=function(e){},t.prototype.evaluateTouchLatency=function(e){},t.prototype.isNavigatingWithKeyboard=function(){return this._isNavigatingWithKeyboard},t}(u.UserInterface);t.UserInterface=c,t.default=new c},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e,t){return e.raw=t,e}(["\n align-items: stretch;\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n display: flex;\n flex-basis: auto;\n flex-direction: column;\n flex-shrink: 0;\n margin: 0;\n padding: 0;\n position: relative;\n min-height: 0;\n min-width: 0;\n"],["\n align-items: stretch;\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n display: flex;\n flex-basis: auto;\n flex-direction: column;\n flex-shrink: 0;\n margin: 0;\n padding: 0;\n position: relative;\n min-height: 0;\n min-width: 0;\n"]),o=n(196),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=i.default.div(r);t.default=a},function(e,t,n){"use strict";var r=n(920)(!0);n(200)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(43),o=n(922),i=n(208),a=n(206)("IE_PROTO"),s=function(){},u=function(){var e,t=n(365)("iframe"),r=i.length;for(t.style.display="none",n(925).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("