diff --git a/benchmarks/bundle.js b/benchmarks/bundle.js index 8249d83e..aee126dc 100644 --- a/benchmarks/bundle.js +++ b/benchmarks/bundle.js @@ -8,7 +8,7 @@ object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),u=1;u1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r-1&&e%1==0&&e<=n}},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){(function(e){var r=n(132),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(97)(e))},function(e,t,n){var r=n(72),o=n(141),i=n(93),a=n(278),s=n(279),l=n(142),u=n(102),c=n(282),f=n(283),p=n(146),d=n(148),h=n(56),m=n(287),y=n(288),v=n(152),g=n(10),b=n(53),_=n(293),w=n(13),x=n(295),S=n(29),k=1,T=2,C=4,E="[object Arguments]",P="[object Function]",O="[object GeneratorFunction]",R="[object Object]",A={};A[E]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[R]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,e.exports=function e(t,n,j,M,D,I){var N,F=n&k,L=n&T,z=n&C;if(j&&(N=D?j(t,M,D,I):j(t)),void 0!==N)return N;if(!w(t))return t;var B=g(t);if(B){if(N=m(t),!F)return u(t,N)}else{var W=h(t),U=W==P||W==O;if(b(t))return l(t,F);if(W==R||W==E||U&&!D){if(N=L||U?{}:v(t),!F)return L?f(t,s(N,t)):c(t,a(N,t))}else{if(!A[W])return D?t:{};N=y(t,W,F)}}I||(I=new r);var V=I.get(t);if(V)return V;I.set(t,N),x(t)?t.forEach((function(r){N.add(e(r,n,j,r,t,I))})):_(t)&&t.forEach((function(r,o){N.set(o,e(r,n,j,o,t,I))}));var H=z?L?d:p:L?keysIn:S,G=B?void 0:H(t);return o(G||t,(function(r,o){G&&(r=t[o=r]),i(N,o,e(r,n,j,o,t,I))})),N}},function(e,t,n){var r=n(35)(n(18),"Map");e.exports=r},function(e,t,n){var r=n(266),o=n(273),i=n(275),a=n(276),s=n(277);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(34),a=n(1),s=n(48),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.isDisplayed=function(e){return s.default.isModalDisplayed(e)},t.prototype.show=function(e,t,n){i.default(e,"modal must be valid. Actual "+e),i.default(t,"modalId must be a non-empty string. Actual: "+t),s.default.showModal(e,t,n)},t.prototype.dismiss=function(e){i.default(e,"modalId must be a non-empty string. Actual: "+e),s.default.dismissModal(e)},t.prototype.dismissAll=function(){s.default.dismissAllModals()},t}(a.Modal);t.Modal=l,t.default=new l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=n(0),s=n(33),l=n(1),u=n(59),c=n(14);if("undefined"!=typeof document){var f=document.createElement("style");f.type="text/css",f.appendChild(document.createTextNode("[data-text-as-pseudo-element]::before { content: attr(data-text-as-pseudo-element); }")),document.head.appendChild(f)}var p={defaultStyle:{position:"relative",display:"inline",flexGrow:0,flexShrink:0,overflow:"hidden",whiteSpace:"pre-wrap",overflowWrap:"break-word"},ellipsis:{position:"relative",display:"inline",flexGrow:0,flexShrink:0,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"}},d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._mountedText=null,t._onMount=function(e){t._mountedText=e},t}return o(t,e),t.prototype.getChildContext=function(){return{isRxParentAText:!0}},t.prototype.render=function(){if("string"==typeof this.props.children&&"\n"===this.props.children)return a.createElement("br",null);var e=u.default.isHidden(this.props.importantForAccessibility);return this.props.selectable||"string"!=typeof this.props.children?a.createElement("div",{ref:this._onMount,style:this._getStyles(),"aria-hidden":e,onClick:this.props.onPress,id:this.props.id,onContextMenu:this.props.onContextMenu,"data-test-id":this.props.testId},this.props.children):a.createElement("div",{ref:this._onMount,style:this._getStyles(),"aria-hidden":e,onClick:this.props.onPress,onContextMenu:this.props.onContextMenu,"data-text-as-pseudo-element":this.props.children,id:this.props.id,"data-test-id":this.props.testId})},t.prototype.componentDidMount=function(){this.props.autoFocus&&this.requestFocus()},t.prototype._getStyles=function(){var e=c.default.combine([1===this.props.numberOfLines?p.ellipsis:p.defaultStyle,this.props.style]);return this.props.selectable&&(e.userSelect="text",e.WebkitUserSelect="text",e.MozUserSelect="text",e.msUserSelect="text"),e.cursor||(this.props.selectable?e.cursor="text":e.cursor="inherit",this.props.onPress&&(e.cursor="pointer")),e},t.prototype.blur=function(){this._mountedText&&this._mountedText.blur()},t.prototype.requestFocus=function(){var e=this;s.FocusArbitratorProvider.requestFocus(this,(function(){return e.focus()}),(function(){return null!==e._mountedText}))},t.prototype.focus=function(){this._mountedText&&this._mountedText.focus()},t.prototype.getSelectedText=function(){return""},t.contextTypes={focusArbitrator:i.object},t.childContextTypes={isRxParentAText:i.bool.isRequired},t}(l.Text);t.Text=d,t.default=d},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(e===a.Types.AppActivationState.Active&&t._checkViews(),t._viewCheckingTimer=l.default.setInterval(t._checkViews,e===a.Types.AppActivationState.Active?1e3:1e4)))},t.prototype.UNSAFE_componentWillReceiveProps=function(e){!!this.props.onLayout!=!!e.onLayout&&(this.props.onLayout&&this._checkViewCheckerUnbuild(),e.onLayout&&this._checkViewCheckerBuild())},t._checkViews=function(){c.each(t._viewCheckingList,(function(e){e._checkAndReportLayout().catch((function(e){console.warn("ScrollView onLayout exception: "+JSON.stringify(e))}))}))},t._reportLayoutChange=function(e){this._layoutReportList.push(e),t._layoutReportingTimer||(t._layoutReportingTimer=l.default.setTimeout((function(){t._layoutReportingTimer=void 0,t._reportDeferredLayoutChanges()}),0))},t._reportDeferredLayoutChanges=function(){var e=this._layoutReportList;this._layoutReportList=[],c.each(e,(function(e){try{e()}catch(e){i.default.isDevelopmentMode()&&console.error("Caught exception on onLayout response: ",e)}}))},t.prototype._checkAndReportLayout=function(){var e=this;if(!this._isMounted)return Promise.resolve(void 0);var n=this._getContainer();if(!n)return Promise.resolve(void 0);var r=n.offsetLeft,o=n.offsetTop,i=n.style.marginTop&&parseInt(n.style.marginTop,10)||0,a=n.style.marginBottom&&parseInt(n.style.marginBottom,10)||0,l=n.style.marginRight&&parseInt(n.style.marginRight,10)||0,u=n.style.marginLeft&&parseInt(n.style.marginLeft,10)||0,c=n.offsetWidth+l+u,f=n.offsetHeight+i+a;if(this._lastX!==r||this._lastY!==o||this._lastWidth!==c||this._lastHeight!==f){this._lastX=r,this._lastY=o,this._lastWidth=c,this._lastHeight=f;var p=new s.Defer;return t._reportLayoutChange((function(){e._isMounted&&e.props.onLayout?(e.props.onLayout({x:r,y:o,width:e._lastWidth,height:e._lastHeight}),p.resolve(void 0)):p.resolve(void 0)})),p.promise()}return Promise.resolve(void 0)},t.prototype._checkViewCheckerBuild=function(){t._viewCheckingTimer||(t._viewCheckingTimer=l.default.setInterval(t._checkViews,t._appActivationState===a.Types.AppActivationState.Active?1e3:1e4)),t._isResizeHandlerInstalled||(window.addEventListener("resize",t._onResize),t._isResizeHandlerInstalled=!0),t._viewCheckingList.push(this)},t.prototype._checkViewCheckerUnbuild=function(){var e=this;t._viewCheckingList=c.filter(t._viewCheckingList,(function(t){return t!==e})),0===t._viewCheckingList.length&&(t._viewCheckingTimer&&(l.default.clearInterval(t._viewCheckingTimer),t._viewCheckingTimer=void 0),t._isResizeHandlerInstalled&&(window.removeEventListener("resize",t._onResize),t._isResizeHandlerInstalled=!1))},t.prototype.componentDidMount=function(){this._isMounted=!0,this.props.onLayout&&this._checkViewCheckerBuild(),this.componentDidUpdate()},t.prototype.componentDidUpdate=function(){var e=this,t=u.default.isPopupDisplayed();this.props.onLayout&&(t&&!this._isPopupDisplayed?setTimeout((function(){e._checkAndReportLayout().catch((function(e){console.warn("ScrollView onLayout exception: "+JSON.stringify(e))}))}),0):this._checkAndReportLayout().catch((function(e){console.warn("ScrollView onLayout exception: "+JSON.stringify(e))}))),this._isPopupDisplayed=t},t._onResize=function(){t._checkViews()},t.prototype.componentWillUnmount=function(){this._isMounted=!1,this.props.onLayout&&this._checkViewCheckerUnbuild()},t._isResizeHandlerInstalled=!1,t._viewCheckingList=[],t._appActivationState=a.Types.AppActivationState.Active,t._layoutReportList=[],t}(a.ViewBase);t.ViewBase=f,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var r,o=n(126),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";var r=n(230),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(e){var t;(t=o.length?o.pop():new l).task=e,r(t)}function l(){this.task=null}e.exports=s,l.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e)+":"+t};var r,o=n(233),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";(function(e,r){var o,i=n(211);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(66),n(236)(e))},function(e,t,n){"use strict";var r=n(81),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var s=l(t),m=l(n),y=0;yp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,y=!0,v=n&s?new r:void 0;for(c.set(e,t),c.set(t,e);++m0&&t.height>0&&!(t.left>=e.width||t.right<=0||t.bottom<=0||t.top>=e.height)){var i=r;if(i&&0!==i.length||(i=["bottom","right","top","left"]),1===i.length&&"context"===i[0]&&i.push("bottom","right","top","left"),o)return function(e,t,n,r){var o=0,i=0,a=0;switch(t){case"top":i=e.top+e.height-r,o=e.left+e.height/2-n/2,a=n/2;break;case"bottom":i=e.top+r,o=e.left+e.height/2-n/2,a=n/2;break;case"left":i=e.top+e.height/2-r/2,o=e.left+e.width-n,a=r/2;break;case"right":i=e.top+e.height/2-r/2,o=e.left,a=r/2;break;case"context":throw new Error("Context popup mode not allowed with inner positioning")}return{popupX:o,popupY:i,anchorOffset:a,anchorPosition:t,constrainedPopupWidth:n,constrainedPopupHeight:r}}(t,i[0],n.width,n.height);var a={popupX:0,popupY:0,anchorOffset:0,anchorPosition:"top",constrainedPopupWidth:n.width,constrainedPopupHeight:n.height},u=!1,c=!1;return i.forEach((function(r){if(!u){var o=0,i=0,f=0,p=0,d=0;switch(r){case"bottom":i=t.bottom,o=t.left+(t.width-n.width)/2,f=n.width/2,n.height<=e.height-s-t.bottom?u=!0:c||(d=e.height-s-t.bottom);break;case"top":i=t.top-n.height,o=t.left+(t.width-n.width)/2,f=n.width/2,n.height<=t.top-s?u=!0:c||(d=t.top-s);break;case"right":o=t.right,i=t.top+(t.height-n.height)/2,f=n.height/2,n.width<=e.width-s-t.right?u=!0:c||(p=e.width-s-t.right);break;case"left":o=t.left-n.width,i=t.top+(t.height-n.height)/2,f=n.height/2,n.width<=t.left-s?u=!0:c||(p=t.left-s);break;case"context":var h=t.top-n.height>=s,m=t.top+t.height+n.height<=e.height-s,y=t.left-n.width>=s,v=t.left+t.width+n.width<=e.width-s;m&&v?(u=!0,o=t.left+t.width,i=t.top+t.height):m&&y?(u=!0,o=t.left-n.width,i=t.top+t.height):h&&v?(u=!0,o=t.left+t.width,i=t.top-n.height):h&&y&&(u=!0,o=t.left-n.width,i=t.top-n.height)}var g=p||n.width,b=d||n.height;og-l)&&(u=!1),o=s):o>e.width-s-g&&("top"!==r&&"bottom"!==r||((f-=e.width-s-g-o)g-l)&&(u=!1),o=e.width-s-g),ib-l)&&(u=!1),i=s):i>e.height-s-b&&("right"!==r&&"left"!==r||((f-=e.height-s-b-i)b-l)&&(u=!1),i=e.height-s-b),(u||b>0||g>0)&&(a.popupY=i,a.popupX=o,a.anchorOffset=f,a.anchorPosition=r,a.constrainedPopupWidth=g,a.constrainedPopupHeight=b,c=!0)}})),a}};var u=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._popupComponentStack=[],r}return o(t,e),t.prototype.getChildContext=function(){return{focusManager:this.context.focusManager,popupContainer:this}},t.prototype.registerPopupComponent=function(e,t){var n={onShow:e,onHide:t};return this._popupComponentStack.push(n),n},t.prototype.unregisterPopupComponent=function(e){this._popupComponentStack=this._popupComponentStack.filter((function(t){return t!==e}))},t.prototype.isHidden=function(){return!!this.props.hidden},t.prototype.componentDidUpdate=function(e,t){if(e.hidden&&!this.props.hidden)for(var n=0;n=0;n--)this._popupComponentStack[n].onHide()},t.contextTypes={focusManager:i.object},t.childContextTypes={focusManager:i.object,popupContainer:i.object},t}(a.Component);t.PopupContainerViewBase=u,t.default=u},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.isScreenReaderEnabled=function(){return!1},t}(n(378).Accessibility);t.Accessibility=i,t.default=new i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(140);t.clone=r;var o=n(381);t.compact=o;var i=n(157);t.filter=i;var a=n(166);t.isEqual=a;var s=n(382);t.pull=s;var l=n(386);t.sortBy=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=n(27),a=n(1),s=n(7),l=0;!function(e){e[e.Unrestricted=0]="Unrestricted",e[e.Restricted=1]="Restricted",e[e.RestrictedFocusFirst=2]="RestrictedFocusFirst"}(r=t.RestrictFocusType||(t.RestrictFocusType={}));var u=function(){function e(e){this._isFocusLimited=a.Types.LimitFocusType.Unlimited,this._currentRestrictType=r.Unrestricted,this._myFocusableComponentIds={},this._parent=e}return e.prototype.addFocusableComponent=function(t,n){if(void 0===n&&(n=!1),!t.focusableComponentId){var r=++l,o="fc-"+r,i={id:o,numericId:r,component:t,accessibleOnly:n,restricted:!1,limitedCount:0,limitedCountAccessible:0,onFocus:function(){e._currentFocusedComponent=i}};t.focusableComponentId=o,e._allFocusableComponents[o]=i;for(var s=!1,u=this;u;u=u._parent)u._myFocusableComponentIds[o]=!0,e._currentRestrictionOwner===u&&(s=!0),u._isFocusLimited===a.Types.LimitFocusType.Accessible?i.limitedCountAccessible++:u._isFocusLimited===a.Types.LimitFocusType.Limited&&i.limitedCount++;!s&&e._currentRestrictionOwner&&(i.restricted=!0),this._updateComponentFocusRestriction(i),this.addFocusListenerOnComponent(t,i.onFocus)}},e.prototype.removeFocusableComponent=function(t){if(t.focusableComponentId){var n=t.focusableComponentId;if(n){var r=e._allFocusableComponents[n];this.removeFocusListenerFromComponent(t,r.onFocus),r.removed=!0,r.restricted=!1,r.limitedCount=0,r.limitedCountAccessible=0,this._updateComponentFocusRestriction(r),delete r.callbacks;for(var o=this;o;o=o._parent)delete o._myFocusableComponentIds[n];delete e._allFocusableComponents[n],delete t.focusableComponentId}}},e.prototype.restrictFocusWithin=function(t,n){var o=this;e._currentRestrictionOwner!==this&&t!==r.Unrestricted&&(this._currentRestrictType=t,e._currentRestrictionOwner&&this._removeFocusRestriction(),this._prevFocusedComponent||(this._prevFocusedComponent=e._pendingPrevFocusedComponent||e._currentFocusedComponent),e._clearRestoreRestrictionTimeout(),e._restrictionStack.push(this),e._currentRestrictionOwner=this,n||this.resetFocus(t===r.RestrictedFocusFirst),Object.keys(e._allFocusableComponents).forEach((function(t){if(!(t in o._myFocusableComponentIds)){var n=e._allFocusableComponents[t];n.restricted=!0,o._updateComponentFocusRestriction(n)}})),this._restrictionStateCallback&&this._restrictionStateCallback(t))},e.prototype.removeFocusRestriction=function(){var t=this;if(e._restrictionStack=e._restrictionStack.filter((function(e){return e!==t})),e._currentRestrictionOwner===this){e._skipFocusCheck=!0;var n=this._prevFocusedComponent;this._prevFocusedComponent=void 0,this._removeFocusRestriction(),e._currentRestrictionOwner=void 0,this._restrictionStateCallback&&this._restrictionStateCallback(r.Unrestricted),e._clearRestoreRestrictionTimeout(),e._pendingPrevFocusedComponent=n,e._restoreRestrictionTimer=s.default.setTimeout((function(){e._restoreRestrictionTimer=void 0,e._pendingPrevFocusedComponent=void 0;var o=e._restrictionStack.pop(),i=!0,a=e._currentFocusedComponent;!a||a.removed||a.id in t._myFocusableComponentIds||(n=void 0,i=!1),!n||n.accessibleOnly||n.removed||n.restricted||0!==n.limitedCount||0!==n.limitedCountAccessible||(i=!t.focusComponent(n.component)),o?o.restrictFocusWithin(o._currentRestrictType,!i):i&&t.resetFocus(t._currentRestrictType===r.RestrictedFocusFirst)}),100)}},e.prototype.limitFocusWithin=function(t){var n=this;this._isFocusLimited!==a.Types.LimitFocusType.Unlimited||t!==a.Types.LimitFocusType.Limited&&t!==a.Types.LimitFocusType.Accessible||(this._isFocusLimited=t,Object.keys(this._myFocusableComponentIds).forEach((function(r){var o=e._allFocusableComponents[r];t===a.Types.LimitFocusType.Accessible?o.limitedCountAccessible++:t===a.Types.LimitFocusType.Limited&&o.limitedCount++,n._updateComponentFocusRestriction(o)})))},e.prototype.removeFocusLimitation=function(){var t=this;this._isFocusLimited!==a.Types.LimitFocusType.Unlimited&&(Object.keys(this._myFocusableComponentIds).forEach((function(n){var r=e._allFocusableComponents[n];t._isFocusLimited===a.Types.LimitFocusType.Accessible?r.limitedCountAccessible--:t._isFocusLimited===a.Types.LimitFocusType.Limited&&r.limitedCount--,t._updateComponentFocusRestriction(r)})),this._isFocusLimited=a.Types.LimitFocusType.Unlimited)},e.prototype.release=function(){this.removeFocusRestriction(),this.removeFocusLimitation()},e.subscribe=function(t,n){var r=e._getStoredComponent(t);r&&(r.callbacks||(r.callbacks=[]),r.callbacks.push(n))},e.unsubscribe=function(t,n){var r=e._getStoredComponent(t);r&&r.callbacks&&(r.callbacks=r.callbacks.filter((function(e){return e!==n})))},e.prototype.setRestrictionStateCallback=function(e){this._restrictionStateCallback=e},e.isComponentFocusRestrictedOrLimited=function(t){var n=e._getStoredComponent(t);return!!n&&(n.restricted||n.limitedCount>0||n.limitedCountAccessible>0)},e.getCurrentFocusedComponent=function(){return e._currentFocusedComponent?e._currentFocusedComponent.id:void 0},e._getStoredComponent=function(t){var n=t.focusableComponentId;if(n)return e._allFocusableComponents[n]},e._callFocusableComponentStateChangeCallbacks=function(e,t){e.callbacks&&e.callbacks.forEach((function(n){n.call(e.component,t)}))},e.prototype._removeFocusRestriction=function(){var t=this;Object.keys(e._allFocusableComponents).forEach((function(n){var r=e._allFocusableComponents[n];r.restricted=!1,t._updateComponentFocusRestriction(r)}))},e._clearRestoreRestrictionTimeout=function(){e._restoreRestrictionTimer&&(s.default.clearTimeout(e._restoreRestrictionTimer),e._restoreRestrictionTimer=void 0,e._pendingPrevFocusedComponent=void 0)},e._restrictionStack=[],e._allFocusableComponents={},e._skipFocusCheck=!1,e}();t.FocusManager=u,t.applyFocusableComponentMixin=function(e,t,n){void 0===n&&(n=!1);var r=e.contextTypes||{};function a(n,r){var o=e.prototype[n];e.prototype[n]=function(){if(!t||t.call(this)){var e=this._focusManager||this.context&&this.context.focusManager;e?r.call(this,e,arguments):i.default.isDevelopmentMode()&&console.error("FocusableComponentMixin: context error!")}o&&o.apply(this,arguments)}}r.focusManager=o.object,e.contextTypes=r,a("componentDidMount",(function(e){t&&!t.call(this)||e.addFocusableComponent(this,n)})),a("componentWillUnmount",(function(e){e.removeFocusableComponent(this)})),a("UNSAFE_componentWillUpdate",(function(e,r){if(t){var o=t.apply(this,r);o&&!this.focusableComponentId?e.addFocusableComponent(this,n):!o&&this.focusableComponentId&&e.removeFocusableComponent(this)}}))},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this._useCustomScrollbars=!1}return e.prototype.setUseCustomScrollbars=function(e){this._useCustomScrollbars=e},e.prototype.useCustomScrollbars=function(){return this._useCustomScrollbars},e}();t.ScrollViewConfig=r,t.default=new r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.dispatchKeyDown=function(e){this.keyDownEvent.fire(e)},t.prototype.dispatchKeyUp=function(e){this.keyUpEvent.fire(e)&&e.stopPropagation()},t}(n(1).Input);t.Input=i,t.default=new i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=n(0),s=n(27),l=n(33),u=n(1),c=n(7),f=n(59),p=n(41),d=n(14),h=n(79),m={defaultButton:{position:"relative",display:"flex",flexDirection:"column",flexGrow:0,flexShrink:0,overflow:"hidden",alignItems:"stretch",justifyContent:"center",appRegion:"no-drag",backgroundColor:"transparent",borderColor:"transparent",textAlign:"left",borderWidth:"0"}},y=1e3,v=u.Types.AccessibilityTrait.Button,g=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._mountedButton=null,r._ignoreTouchEnd=!1,r._ignoreClick=!1,r._isMouseOver=!1,r._isFocusedWithKeyboard=!1,r._isHoverStarted=!1,r._onMount=function(e){r._mountedButton=e},r.onClick=function(e){r._ignoreClick?(e.stopPropagation(),r._ignoreClick=!1):!r.props.disabled&&r.props.onPress&&r.props.onPress(e)},r._onContextMenu=function(e){r.props.onContextMenu&&r.props.onContextMenu(e)},r._onMouseDown=function(e){r.props.disabled||(r._isMouseOver=!0,r.props.onPressIn&&r.props.onPressIn(e),r.props.onLongPress&&(r._lastMouseDownEvent=e,e.persist(),r._longPressTimer&&c.default.clearTimeout(r._longPressTimer),r._longPressTimer=c.default.setTimeout((function(){r._longPressTimer=void 0,r.props.onLongPress&&(r.props.onLongPress(r._lastMouseDownEvent),"touches"in e?r._ignoreTouchEnd=!0:r._ignoreClick=!0)}),r.props.delayLongPress||y)))},r._onTouchMove=function(e){var t=e.target.getBoundingClientRect(),n=r._isMouseOver,o=e.nativeEvent.touches[0].clientX>t.left&&e.nativeEvent.touches[0].clientXt.top&&e.nativeEvent.touches[0].clientYa&&(a=r+i,s=n),e.style[n]=u,getComputedStyle(e).opacity,l.push(n+" "+r+"ms "+o+" "+i+"ms")})),e.style.transition=l.join(", ");var u=function(t){t.target===e&&t.propertyName===s&&i()};e.addEventListener("webkitTransitionEnd",u),e.addEventListener("transitionEnd",u);var c=0,f=!1;i=function(){f||(r.default.clearTimeout(c),e.dataset.transitionId===c.toString()&&(e.removeEventListener("webkitTransitionEnd",u),e.removeEventListener("transitionEnd",u),delete e.dataset.transitionId,e.style.transition="none",f=!0,n()))},c=r.default.setTimeout((function(){document.body.contains(e)&&i()}),a+10),e.dataset.transitionId=c.toString(),o.each(t,(function(t){var n=t.property,r=t.to;e.style[n]=r}))}t.executeTransition=i,t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(34),i=n(6);t.default=function(e){var t=e.props.style;return o.default(t&&void 0!==t.width&&void 0!==t.height,"Children of an must have a defined height and width"),r.cloneElement(e,{style:i.assign({},t,{display:"inline-block",lineHeight:"normal"})})}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;ne._maximumItems&&(Object.keys(e._cachedXhrBlobUrls).forEach((function(r){(!n||e._cachedXhrBlobUrls[r].insertionDate=400||i.status<600?t._onError(new Error(i.statusText)):t._handleXhrBlob(i.response)},i.onerror=function(){t._onError(new Error("Network issue downloading the image."))},i.send()}},t.prototype.render=function(){var e=this.props.source,t=!("string"!=typeof e&&void 0!==e);l.default(t,"Types/web/Image only accepts string sources! You passed: "+e+" of type "+typeof e);var n=null;this.state.showImgTag&&(n=s.createElement("img",{style:h.image,src:this.state.displayUrl,alt:this.props.accessibilityLabel,onError:this._imgOnError,onLoad:this._onLoad,ref:this._onMount}));var r=s.createElement("div",{style:this._getStyles(),title:this.props.title,"data-test-id":this.props.testId,onMouseUp:this._onMouseUp},n,this.props.children);return this.context.isRxParentAText?p.default(r):r},t.prototype._getStyles=function(){var e=this.props.resizeMode,t=d.default.combine([h.defaultContainer,this.props.style])||{},n="repeat"===e?"repeat":"no-repeat",r=this._buildBackgroundSize(e),o='url("'+this.state.displayUrl+'")',a=t.borderWidth?"solid":"none";return i(i({},t),{backgroundPosition:"center center",backgroundRepeat:n,backgroundImage:o,backgroundSize:r,borderStyle:a,display:"flex"})},t.prototype._buildBackgroundSize=function(e){switch(void 0===e&&(e=u.DEFAULT_RESIZE_MODE),e){case"repeat":return"auto";case"stretch":return"100% 100%";case"contain":case"cover":case"auto":return e;default:return u.DEFAULT_RESIZE_MODE}},t.prototype._onError=function(e){this._isMounted&&(this.setState({showImgTag:!1}),this.props.onError&&this.props.onError(e))},t.prototype.getNativeWidth=function(){return this._nativeImageWidth},t.prototype.getNativeHeight=function(){return this._nativeImageHeight},t.contextTypes={isRxParentAText:a.bool},t.childContextTypes={isRxParentAText:a.bool.isRequired},t}(s.Component);t.Image=y,t.default=y},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=n(0),s=n(33),l=n(41),u=n(6),c=n(14),f="undefined"!=typeof navigator&&"string"==typeof navigator.platform&&navigator.platform.indexOf("Mac")>=0,p={defaultStyle:{position:"relative",display:"flex",flexDirection:"row",flexBasis:"auto",flexGrow:0,flexShrink:0,overflowX:"hidden",overflowY:"auto",alignItems:"stretch"},formStyle:{display:"flex",flex:1}},d=function(){function e(){}return e.getClassName=function(e){return"reactxp-placeholder-"+this._colorKey(e)},e.addRef=function(e){if(void 0!==typeof document){var t=this._cachedStyles,n=this._colorKey(e);if(t.hasOwnProperty(n))t[n].refCounter++;else{var r=this.getClassName(e),o=document.createElement("style");o.type="text/css",o.textContent=this._getStyle(r,e),document.head.appendChild(o),t[n]={refCounter:1,styleElement:o}}}},e.removeRef=function(e){var t=this._cachedStyles,n=this._colorKey(e);if(t.hasOwnProperty(n)){var r=t[n];if(--r.refCounter<1){var o=r.styleElement;o.parentNode&&o.parentNode.removeChild(o),delete t[n]}}},e._colorKey=function(e){return e.toLowerCase().replace(/(,|\.|#)/g,"_").replace(/[^a-z0-9_]/g,"")},e._getStyle=function(e,t){return["::placeholder","::-webkit-input-placeholder","::-moz-placeholder",":-moz-placeholder",":-ms-input-placeholder"].map((function(n){return"."+e+n+" {\n opacity: 1;\n color: "+t+";\n}"})).join("\n")},e._cachedStyles={},e}(),h=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o._mountedComponent=null,o._selectionStart=0,o._selectionEnd=0,o._isFocused=!1,o._ariaLiveEnabled=!1,o._onMount=function(e){o._mountedComponent=e,o._mountedComponent&&o._mountedComponent instanceof HTMLTextAreaElement&&t._updateScrollPositions(o._mountedComponent,!!o.state.autoResize)},o._onMultilineInput=function(e){o._onInput(),t._updateScrollPositions(e.currentTarget,!!o.state.autoResize)},o._onInput=function(){f&&o._mountedComponent&&o._isFocused&&!o._ariaLiveEnabled&&(o._mountedComponent.setAttribute("aria-live","assertive"),o._ariaLiveEnabled=!0)},o._onFocus=function(e){o._mountedComponent&&(o._isFocused=!0,o.props.onFocus&&o.props.onFocus(e))},o._onBlur=function(e){o._mountedComponent&&(o._isFocused=!1,f&&o._ariaLiveEnabled&&(o._mountedComponent.removeAttribute("aria-live"),o._ariaLiveEnabled=!1),o.props.onBlur&&o.props.onBlur(e))},o._onPaste=function(e){o.props.onPaste&&o.props.onPaste(e),o._checkSelectionChanged()},o._onInputChanged=function(e){if(!e.defaultPrevented&&o._mountedComponent){var t=o._mountedComponent.value||"";o.state.inputValue!==t&&(void 0===o.props.value&&o.setState({inputValue:t}),o.props.onChangeText&&o.props.onChangeText(t)),o._checkSelectionChanged()}},o._checkSelectionChanged=function(){o._mountedComponent&&(o._selectionStart===o._mountedComponent.selectionStart&&o._selectionEnd===o._mountedComponent.selectionEnd||(o._selectionStart=o._mountedComponent.selectionStart||0,o._selectionEnd=o._mountedComponent.selectionEnd||0,o.props.onSelectionChange&&o.props.onSelectionChange(o._selectionStart,o._selectionEnd)))},o._onKeyDown=function(e){13!==e.keyCode||o.props.multiline&&!o.props.blurOnSubmit||(o.props.onSubmitEditing&&o.props.onSubmitEditing(),o.props.blurOnSubmit&&o.blur()),o.props.onKeyPress&&o.props.onKeyPress(e),o._checkSelectionChanged()},o._onScroll=function(e){var t=e.currentTarget;o.state.autoResize&&t.scrollHeight0&&(s[l]=c)}else{var h=(0,o.default)(n,l,u,s,t);h&&(s[l]=h),s=(0,r.default)(t,l,s)}}return s}};var r=s(n(216)),o=s(n(217)),i=s(n(218)),a=s(n(219));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&"text"===t)return["-webkit-text","text"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("cross-fade(")>-1)return a.map((function(e){return t.replace(/cross-fade\(/g,e+"cross-fade(")}))};var r,o=n(11),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-",""]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("cursor"===e&&o.hasOwnProperty(t))return r.map((function(e){return e+t}))};var r=["-webkit-","-moz-",""],o={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("filter(")>-1)return a.map((function(e){return t.replace(/filter\(/g,e+"filter(")}))};var r,o=n(11),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-",""]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("display"===e&&r.hasOwnProperty(t))return r[t]};var r={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){Object.prototype.hasOwnProperty.call(o,e)&&(n[o[e]]=r[t]||t);if("flex"===e){if(Object.prototype.hasOwnProperty.call(i,t))return void(n.msFlex=i[t]);if(a.test(t))return void(n.msFlex=t+" 1 0%");var s=t.split(/\s/);switch(s.length){case 1:return void(n.msFlex="1 1 "+t);case 2:return void(a.test(s[1])?n.msFlex=s[0]+" "+s[1]+" 0%":n.msFlex=s[0]+" 1 "+s[1]);default:n.msFlex=t}}};var r={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},o={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msFlexPreferredSize"},i={auto:"1 1 auto",inherit:"inherit",initial:"0 1 auto",none:"0 0 auto",unset:"unset"},a=/^\d+(\.\d+)?$/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal");o.hasOwnProperty(e)&&(n[o[e]]=r[t]||t)};var r={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},o={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&s.test(t))return a.map((function(e){return t.replace(s,(function(t){return e+t}))}))};var r,o=n(11),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-","-moz-",""],s=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function o(e){return"number"==typeof e&&!isNaN(e)}t.default=function(e,t,n){if("display"===e&&t in a)return a[t];if(e in s){(0,s[e])(t,n)}};var i=["center","end","start","stretch"],a={"inline-grid":["-ms-inline-grid","inline-grid"],grid:["-ms-grid","grid"]},s={alignSelf:function(e,t){i.indexOf(e)>-1&&(t.msGridRowAlign=e)},gridColumn:function(e,t){if(o(e))t.msGridColumn=e;else{var n=e.split("/").map((function(e){return+e})),i=r(n,2),a=i[0],l=i[1];s.gridColumnStart(a,t),s.gridColumnEnd(l,t)}},gridColumnEnd:function(e,t){var n=t.msGridColumn;o(e)&&o(n)&&(t.msGridColumnSpan=e-n)},gridColumnStart:function(e,t){o(e)&&(t.msGridColumn=e)},gridRow:function(e,t){if(o(e))t.msGridRow=e;else{var n=e.split("/").map((function(e){return+e})),i=r(n,2),a=i[0],l=i[1];s.gridRowStart(a,t),s.gridRowEnd(l,t)}},gridRowEnd:function(e,t){var n=t.msGridRow;o(e)&&o(n)&&(t.msGridRowSpan=e-n)},gridRowStart:function(e,t){o(e)&&(t.msGridRow=e)},gridTemplateColumns:function(e,t){t.msGridColumns=e},gridTemplateRows:function(e,t){t.msGridRows=e},justifySelf:function(e,t){i.indexOf(e)>-1&&(t.msGridColumnAlign=e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("image-set(")>-1)return a.map((function(e){return t.replace(/image-set\(/g,e+"image-set(")}))};var r,o=n(11),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-",""]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(Object.prototype.hasOwnProperty.call(r,e))for(var o=r[e],i=0,a=o.length;i-1&&"order"!==f)for(var p=t[c],d=0,h=p.length;d-1)return c;var f=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-webkit-|-ms-/.test(e)})).join(",");return e.indexOf("Moz")>-1?f:(n["Webkit"+(0,i.default)(e)]=c,n["Moz"+(0,i.default)(e)]=f,u)}};var r=a(n(119)),o=a(n(11)),i=a(n(125));function a(e){return e&&e.__esModule?e:{default:e}}var s={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},l={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},function(e,t){function n(e){var t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=l.hex6.exec(e))?parseInt(t[1]+"ff",16)>>>0:d.hasOwnProperty(e)?d[e]:(t=l.rgb.exec(e))?(u(t[1])<<24|u(t[2])<<16|u(t[3])<<8|255)>>>0:(t=l.rgba.exec(e))?(u(t[1])<<24|u(t[2])<<16|u(t[3])<<8|f(t[4]))>>>0:(t=l.hex3.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=l.hex8.exec(e))?parseInt(t[1],16)>>>0:(t=l.hex4.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=l.hsl.exec(e))?(255|o(c(t[1]),p(t[2]),p(t[3])))>>>0:(t=l.hsla.exec(e))?(o(c(t[1]),p(t[2]),p(t[3]))|f(t[4]))>>>0:null}function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function o(e,t,n){var o=n<.5?n*(1+t):n+t-n*t,i=2*n-o,a=r(i,o,e+1/3),s=r(i,o,e),l=r(i,o,e-1/3);return Math.round(255*a)<<24|Math.round(255*s)<<16|Math.round(255*l)<<8}var i="[-+]?\\d*\\.?\\d+",a=i+"%";function s(){return"\\(\\s*("+(e=arguments,Array.prototype.slice.call(e,0)).join(")\\s*,\\s*(")+")\\s*\\)";var e}var l={rgb:new RegExp("rgb"+s(i,i,i)),rgba:new RegExp("rgba"+s(i,i,i,i)),hsl:new RegExp("hsl"+s(i,a,a)),hsla:new RegExp("hsla"+s(i,a,a,i)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/};function u(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function f(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function p(e){var t=parseFloat(e,10);return t<0?0:t>100?1:t/100}var d={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};n.rgba=function(e){return{r:Math.round((4278190080&e)>>>24),g:Math.round((16711680&e)>>>16),b:Math.round((65280&e)>>>8),a:((255&e)>>>0)/255}},e.exports=n},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";(function(e){var n={OS:"web",select:function(e){return"web"in e?e.web:e.default},get isTesting(){return"test"===e.env.NODE_DEV}};t.a=n}).call(this,n(65))},function(e,t,n){"use strict";var r=n(0),o=n(222);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";var r=n(225);e.exports=r},function(e){e.exports=JSON.parse('{"private":true,"name":"benchmarks","version":"0.14.0","scripts":{"build":"mkdir -p dist && cp -f index.html dist/index.html && ./node_modules/.bin/webpack-cli --config ./webpack.config.js","release":"NODE_ENV=production yarn build && git checkout gh-pages && rm -rf ../../benchmarks && mv dist ../../benchmarks && git add -A && git commit -m \\"Benchmarks deploy\\" && git push origin gh-pages && git checkout -"},"dependencies":{"aphrodite":"^2.4.0","classnames":"^2.2.6","d3-scale-chromatic":"^1.5.0","emotion":"^10.0.27","fela":"^11.0.2","react-fela":"^11.0.2","react-jss":"^10.0.4","react-native-web":"0.14.0","reactxp":"^2.0.0","styled-components":"^5.0.0","styled-jsx":"^3.2.4","styletron-engine-atomic":"^1.4.4","styletron-react":"^5.2.6"},"devDependencies":{"babel-plugin-react-native-web":"0.14.0","css-loader":"^3.4.2","style-loader":"^1.1.3","url-loader":"^3.0.0","webpack":"^4.41.5","webpack-bundle-analyzer":"^3.6.0","webpack-cli":"^3.3.10"}}')},function(e,t,n){var r=n(127),o=n(231);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1},a=(r(o,i),o.locals?o.locals:{});e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});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};function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?n-1:0),s=1;s1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r-1&&e%1==0&&e<=n}},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){(function(e){var r=n(132),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(97)(e))},function(e,t,n){var r=n(72),o=n(141),i=n(93),a=n(278),s=n(279),l=n(142),u=n(102),c=n(282),f=n(283),p=n(146),d=n(148),h=n(56),m=n(287),y=n(288),v=n(152),g=n(10),b=n(53),_=n(293),w=n(13),x=n(295),S=n(29),k=1,T=2,C=4,E="[object Arguments]",P="[object Function]",O="[object GeneratorFunction]",R="[object Object]",A={};A[E]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[R]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[P]=A["[object WeakMap]"]=!1,e.exports=function e(t,n,j,M,D,I){var N,F=n&k,L=n&T,z=n&C;if(j&&(N=D?j(t,M,D,I):j(t)),void 0!==N)return N;if(!w(t))return t;var B=g(t);if(B){if(N=m(t),!F)return u(t,N)}else{var W=h(t),U=W==P||W==O;if(b(t))return l(t,F);if(W==R||W==E||U&&!D){if(N=L||U?{}:v(t),!F)return L?f(t,s(N,t)):c(t,a(N,t))}else{if(!A[W])return D?t:{};N=y(t,W,F)}}I||(I=new r);var V=I.get(t);if(V)return V;I.set(t,N),x(t)?t.forEach((function(r){N.add(e(r,n,j,r,t,I))})):_(t)&&t.forEach((function(r,o){N.set(o,e(r,n,j,o,t,I))}));var H=z?L?d:p:L?keysIn:S,G=B?void 0:H(t);return o(G||t,(function(r,o){G&&(r=t[o=r]),i(N,o,e(r,n,j,o,t,I))})),N}},function(e,t,n){var r=n(35)(n(18),"Map");e.exports=r},function(e,t,n){var r=n(266),o=n(273),i=n(275),a=n(276),s=n(277);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(34),a=n(1),s=n(48),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.isDisplayed=function(e){return s.default.isModalDisplayed(e)},t.prototype.show=function(e,t,n){i.default(e,"modal must be valid. Actual "+e),i.default(t,"modalId must be a non-empty string. Actual: "+t),s.default.showModal(e,t,n)},t.prototype.dismiss=function(e){i.default(e,"modalId must be a non-empty string. Actual: "+e),s.default.dismissModal(e)},t.prototype.dismissAll=function(){s.default.dismissAllModals()},t}(a.Modal);t.Modal=l,t.default=new l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=n(0),s=n(33),l=n(1),u=n(59),c=n(14);if("undefined"!=typeof document){var f=document.createElement("style");f.type="text/css",f.appendChild(document.createTextNode("[data-text-as-pseudo-element]::before { content: attr(data-text-as-pseudo-element); }")),document.head.appendChild(f)}var p={defaultStyle:{position:"relative",display:"inline",flexGrow:0,flexShrink:0,overflow:"hidden",whiteSpace:"pre-wrap",overflowWrap:"break-word"},ellipsis:{position:"relative",display:"inline",flexGrow:0,flexShrink:0,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"}},d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._mountedText=null,t._onMount=function(e){t._mountedText=e},t}return o(t,e),t.prototype.getChildContext=function(){return{isRxParentAText:!0}},t.prototype.render=function(){if("string"==typeof this.props.children&&"\n"===this.props.children)return a.createElement("br",null);var e=u.default.isHidden(this.props.importantForAccessibility);return this.props.selectable||"string"!=typeof this.props.children?a.createElement("div",{ref:this._onMount,style:this._getStyles(),"aria-hidden":e,onClick:this.props.onPress,id:this.props.id,onContextMenu:this.props.onContextMenu,"data-test-id":this.props.testId},this.props.children):a.createElement("div",{ref:this._onMount,style:this._getStyles(),"aria-hidden":e,onClick:this.props.onPress,onContextMenu:this.props.onContextMenu,"data-text-as-pseudo-element":this.props.children,id:this.props.id,"data-test-id":this.props.testId})},t.prototype.componentDidMount=function(){this.props.autoFocus&&this.requestFocus()},t.prototype._getStyles=function(){var e=c.default.combine([1===this.props.numberOfLines?p.ellipsis:p.defaultStyle,this.props.style]);return this.props.selectable&&(e.userSelect="text",e.WebkitUserSelect="text",e.MozUserSelect="text",e.msUserSelect="text"),e.cursor||(this.props.selectable?e.cursor="text":e.cursor="inherit",this.props.onPress&&(e.cursor="pointer")),e},t.prototype.blur=function(){this._mountedText&&this._mountedText.blur()},t.prototype.requestFocus=function(){var e=this;s.FocusArbitratorProvider.requestFocus(this,(function(){return e.focus()}),(function(){return null!==e._mountedText}))},t.prototype.focus=function(){this._mountedText&&this._mountedText.focus()},t.prototype.getSelectedText=function(){return""},t.contextTypes={focusArbitrator:i.object},t.childContextTypes={isRxParentAText:i.bool.isRequired},t}(l.Text);t.Text=d,t.default=d},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(e===a.Types.AppActivationState.Active&&t._checkViews(),t._viewCheckingTimer=l.default.setInterval(t._checkViews,e===a.Types.AppActivationState.Active?1e3:1e4)))},t.prototype.UNSAFE_componentWillReceiveProps=function(e){!!this.props.onLayout!=!!e.onLayout&&(this.props.onLayout&&this._checkViewCheckerUnbuild(),e.onLayout&&this._checkViewCheckerBuild())},t._checkViews=function(){c.each(t._viewCheckingList,(function(e){e._checkAndReportLayout().catch((function(e){console.warn("ScrollView onLayout exception: "+JSON.stringify(e))}))}))},t._reportLayoutChange=function(e){this._layoutReportList.push(e),t._layoutReportingTimer||(t._layoutReportingTimer=l.default.setTimeout((function(){t._layoutReportingTimer=void 0,t._reportDeferredLayoutChanges()}),0))},t._reportDeferredLayoutChanges=function(){var e=this._layoutReportList;this._layoutReportList=[],c.each(e,(function(e){try{e()}catch(e){i.default.isDevelopmentMode()&&console.error("Caught exception on onLayout response: ",e)}}))},t.prototype._checkAndReportLayout=function(){var e=this;if(!this._isMounted)return Promise.resolve(void 0);var n=this._getContainer();if(!n)return Promise.resolve(void 0);var r=n.offsetLeft,o=n.offsetTop,i=n.style.marginTop&&parseInt(n.style.marginTop,10)||0,a=n.style.marginBottom&&parseInt(n.style.marginBottom,10)||0,l=n.style.marginRight&&parseInt(n.style.marginRight,10)||0,u=n.style.marginLeft&&parseInt(n.style.marginLeft,10)||0,c=n.offsetWidth+l+u,f=n.offsetHeight+i+a;if(this._lastX!==r||this._lastY!==o||this._lastWidth!==c||this._lastHeight!==f){this._lastX=r,this._lastY=o,this._lastWidth=c,this._lastHeight=f;var p=new s.Defer;return t._reportLayoutChange((function(){e._isMounted&&e.props.onLayout?(e.props.onLayout({x:r,y:o,width:e._lastWidth,height:e._lastHeight}),p.resolve(void 0)):p.resolve(void 0)})),p.promise()}return Promise.resolve(void 0)},t.prototype._checkViewCheckerBuild=function(){t._viewCheckingTimer||(t._viewCheckingTimer=l.default.setInterval(t._checkViews,t._appActivationState===a.Types.AppActivationState.Active?1e3:1e4)),t._isResizeHandlerInstalled||(window.addEventListener("resize",t._onResize),t._isResizeHandlerInstalled=!0),t._viewCheckingList.push(this)},t.prototype._checkViewCheckerUnbuild=function(){var e=this;t._viewCheckingList=c.filter(t._viewCheckingList,(function(t){return t!==e})),0===t._viewCheckingList.length&&(t._viewCheckingTimer&&(l.default.clearInterval(t._viewCheckingTimer),t._viewCheckingTimer=void 0),t._isResizeHandlerInstalled&&(window.removeEventListener("resize",t._onResize),t._isResizeHandlerInstalled=!1))},t.prototype.componentDidMount=function(){this._isMounted=!0,this.props.onLayout&&this._checkViewCheckerBuild(),this.componentDidUpdate()},t.prototype.componentDidUpdate=function(){var e=this,t=u.default.isPopupDisplayed();this.props.onLayout&&(t&&!this._isPopupDisplayed?setTimeout((function(){e._checkAndReportLayout().catch((function(e){console.warn("ScrollView onLayout exception: "+JSON.stringify(e))}))}),0):this._checkAndReportLayout().catch((function(e){console.warn("ScrollView onLayout exception: "+JSON.stringify(e))}))),this._isPopupDisplayed=t},t._onResize=function(){t._checkViews()},t.prototype.componentWillUnmount=function(){this._isMounted=!1,this.props.onLayout&&this._checkViewCheckerUnbuild()},t._isResizeHandlerInstalled=!1,t._viewCheckingList=[],t._appActivationState=a.Types.AppActivationState.Active,t._layoutReportList=[],t}(a.ViewBase);t.ViewBase=f,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var r,o=n(126),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";var r=n(230),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(e){var t;(t=o.length?o.pop():new l).task=e,r(t)}function l(){this.task=null}e.exports=s,l.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e)+":"+t};var r,o=n(233),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";(function(e,r){var o,i=n(211);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(66),n(236)(e))},function(e,t,n){"use strict";var r=n(81),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var s=l(t),m=l(n),y=0;yp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,y=!0,v=n&s?new r:void 0;for(c.set(e,t),c.set(t,e);++m0&&t.height>0&&!(t.left>=e.width||t.right<=0||t.bottom<=0||t.top>=e.height)){var i=r;if(i&&0!==i.length||(i=["bottom","right","top","left"]),1===i.length&&"context"===i[0]&&i.push("bottom","right","top","left"),o)return function(e,t,n,r){var o=0,i=0,a=0;switch(t){case"top":i=e.top+e.height-r,o=e.left+e.height/2-n/2,a=n/2;break;case"bottom":i=e.top+r,o=e.left+e.height/2-n/2,a=n/2;break;case"left":i=e.top+e.height/2-r/2,o=e.left+e.width-n,a=r/2;break;case"right":i=e.top+e.height/2-r/2,o=e.left,a=r/2;break;case"context":throw new Error("Context popup mode not allowed with inner positioning")}return{popupX:o,popupY:i,anchorOffset:a,anchorPosition:t,constrainedPopupWidth:n,constrainedPopupHeight:r}}(t,i[0],n.width,n.height);var a={popupX:0,popupY:0,anchorOffset:0,anchorPosition:"top",constrainedPopupWidth:n.width,constrainedPopupHeight:n.height},u=!1,c=!1;return i.forEach((function(r){if(!u){var o=0,i=0,f=0,p=0,d=0;switch(r){case"bottom":i=t.bottom,o=t.left+(t.width-n.width)/2,f=n.width/2,n.height<=e.height-s-t.bottom?u=!0:c||(d=e.height-s-t.bottom);break;case"top":i=t.top-n.height,o=t.left+(t.width-n.width)/2,f=n.width/2,n.height<=t.top-s?u=!0:c||(d=t.top-s);break;case"right":o=t.right,i=t.top+(t.height-n.height)/2,f=n.height/2,n.width<=e.width-s-t.right?u=!0:c||(p=e.width-s-t.right);break;case"left":o=t.left-n.width,i=t.top+(t.height-n.height)/2,f=n.height/2,n.width<=t.left-s?u=!0:c||(p=t.left-s);break;case"context":var h=t.top-n.height>=s,m=t.top+t.height+n.height<=e.height-s,y=t.left-n.width>=s,v=t.left+t.width+n.width<=e.width-s;m&&v?(u=!0,o=t.left+t.width,i=t.top+t.height):m&&y?(u=!0,o=t.left-n.width,i=t.top+t.height):h&&v?(u=!0,o=t.left+t.width,i=t.top-n.height):h&&y&&(u=!0,o=t.left-n.width,i=t.top-n.height)}var g=p||n.width,b=d||n.height;og-l)&&(u=!1),o=s):o>e.width-s-g&&("top"!==r&&"bottom"!==r||((f-=e.width-s-g-o)g-l)&&(u=!1),o=e.width-s-g),ib-l)&&(u=!1),i=s):i>e.height-s-b&&("right"!==r&&"left"!==r||((f-=e.height-s-b-i)b-l)&&(u=!1),i=e.height-s-b),(u||b>0||g>0)&&(a.popupY=i,a.popupX=o,a.anchorOffset=f,a.anchorPosition=r,a.constrainedPopupWidth=g,a.constrainedPopupHeight=b,c=!0)}})),a}};var u=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._popupComponentStack=[],r}return o(t,e),t.prototype.getChildContext=function(){return{focusManager:this.context.focusManager,popupContainer:this}},t.prototype.registerPopupComponent=function(e,t){var n={onShow:e,onHide:t};return this._popupComponentStack.push(n),n},t.prototype.unregisterPopupComponent=function(e){this._popupComponentStack=this._popupComponentStack.filter((function(t){return t!==e}))},t.prototype.isHidden=function(){return!!this.props.hidden},t.prototype.componentDidUpdate=function(e,t){if(e.hidden&&!this.props.hidden)for(var n=0;n=0;n--)this._popupComponentStack[n].onHide()},t.contextTypes={focusManager:i.object},t.childContextTypes={focusManager:i.object,popupContainer:i.object},t}(a.Component);t.PopupContainerViewBase=u,t.default=u},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.isScreenReaderEnabled=function(){return!1},t}(n(378).Accessibility);t.Accessibility=i,t.default=new i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(140);t.clone=r;var o=n(381);t.compact=o;var i=n(157);t.filter=i;var a=n(166);t.isEqual=a;var s=n(382);t.pull=s;var l=n(386);t.sortBy=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=n(27),a=n(1),s=n(7),l=0;!function(e){e[e.Unrestricted=0]="Unrestricted",e[e.Restricted=1]="Restricted",e[e.RestrictedFocusFirst=2]="RestrictedFocusFirst"}(r=t.RestrictFocusType||(t.RestrictFocusType={}));var u=function(){function e(e){this._isFocusLimited=a.Types.LimitFocusType.Unlimited,this._currentRestrictType=r.Unrestricted,this._myFocusableComponentIds={},this._parent=e}return e.prototype.addFocusableComponent=function(t,n){if(void 0===n&&(n=!1),!t.focusableComponentId){var r=++l,o="fc-"+r,i={id:o,numericId:r,component:t,accessibleOnly:n,restricted:!1,limitedCount:0,limitedCountAccessible:0,onFocus:function(){e._currentFocusedComponent=i}};t.focusableComponentId=o,e._allFocusableComponents[o]=i;for(var s=!1,u=this;u;u=u._parent)u._myFocusableComponentIds[o]=!0,e._currentRestrictionOwner===u&&(s=!0),u._isFocusLimited===a.Types.LimitFocusType.Accessible?i.limitedCountAccessible++:u._isFocusLimited===a.Types.LimitFocusType.Limited&&i.limitedCount++;!s&&e._currentRestrictionOwner&&(i.restricted=!0),this._updateComponentFocusRestriction(i),this.addFocusListenerOnComponent(t,i.onFocus)}},e.prototype.removeFocusableComponent=function(t){if(t.focusableComponentId){var n=t.focusableComponentId;if(n){var r=e._allFocusableComponents[n];this.removeFocusListenerFromComponent(t,r.onFocus),r.removed=!0,r.restricted=!1,r.limitedCount=0,r.limitedCountAccessible=0,this._updateComponentFocusRestriction(r),delete r.callbacks;for(var o=this;o;o=o._parent)delete o._myFocusableComponentIds[n];delete e._allFocusableComponents[n],delete t.focusableComponentId}}},e.prototype.restrictFocusWithin=function(t,n){var o=this;e._currentRestrictionOwner!==this&&t!==r.Unrestricted&&(this._currentRestrictType=t,e._currentRestrictionOwner&&this._removeFocusRestriction(),this._prevFocusedComponent||(this._prevFocusedComponent=e._pendingPrevFocusedComponent||e._currentFocusedComponent),e._clearRestoreRestrictionTimeout(),e._restrictionStack.push(this),e._currentRestrictionOwner=this,n||this.resetFocus(t===r.RestrictedFocusFirst),Object.keys(e._allFocusableComponents).forEach((function(t){if(!(t in o._myFocusableComponentIds)){var n=e._allFocusableComponents[t];n.restricted=!0,o._updateComponentFocusRestriction(n)}})),this._restrictionStateCallback&&this._restrictionStateCallback(t))},e.prototype.removeFocusRestriction=function(){var t=this;if(e._restrictionStack=e._restrictionStack.filter((function(e){return e!==t})),e._currentRestrictionOwner===this){e._skipFocusCheck=!0;var n=this._prevFocusedComponent;this._prevFocusedComponent=void 0,this._removeFocusRestriction(),e._currentRestrictionOwner=void 0,this._restrictionStateCallback&&this._restrictionStateCallback(r.Unrestricted),e._clearRestoreRestrictionTimeout(),e._pendingPrevFocusedComponent=n,e._restoreRestrictionTimer=s.default.setTimeout((function(){e._restoreRestrictionTimer=void 0,e._pendingPrevFocusedComponent=void 0;var o=e._restrictionStack.pop(),i=!0,a=e._currentFocusedComponent;!a||a.removed||a.id in t._myFocusableComponentIds||(n=void 0,i=!1),!n||n.accessibleOnly||n.removed||n.restricted||0!==n.limitedCount||0!==n.limitedCountAccessible||(i=!t.focusComponent(n.component)),o?o.restrictFocusWithin(o._currentRestrictType,!i):i&&t.resetFocus(t._currentRestrictType===r.RestrictedFocusFirst)}),100)}},e.prototype.limitFocusWithin=function(t){var n=this;this._isFocusLimited!==a.Types.LimitFocusType.Unlimited||t!==a.Types.LimitFocusType.Limited&&t!==a.Types.LimitFocusType.Accessible||(this._isFocusLimited=t,Object.keys(this._myFocusableComponentIds).forEach((function(r){var o=e._allFocusableComponents[r];t===a.Types.LimitFocusType.Accessible?o.limitedCountAccessible++:t===a.Types.LimitFocusType.Limited&&o.limitedCount++,n._updateComponentFocusRestriction(o)})))},e.prototype.removeFocusLimitation=function(){var t=this;this._isFocusLimited!==a.Types.LimitFocusType.Unlimited&&(Object.keys(this._myFocusableComponentIds).forEach((function(n){var r=e._allFocusableComponents[n];t._isFocusLimited===a.Types.LimitFocusType.Accessible?r.limitedCountAccessible--:t._isFocusLimited===a.Types.LimitFocusType.Limited&&r.limitedCount--,t._updateComponentFocusRestriction(r)})),this._isFocusLimited=a.Types.LimitFocusType.Unlimited)},e.prototype.release=function(){this.removeFocusRestriction(),this.removeFocusLimitation()},e.subscribe=function(t,n){var r=e._getStoredComponent(t);r&&(r.callbacks||(r.callbacks=[]),r.callbacks.push(n))},e.unsubscribe=function(t,n){var r=e._getStoredComponent(t);r&&r.callbacks&&(r.callbacks=r.callbacks.filter((function(e){return e!==n})))},e.prototype.setRestrictionStateCallback=function(e){this._restrictionStateCallback=e},e.isComponentFocusRestrictedOrLimited=function(t){var n=e._getStoredComponent(t);return!!n&&(n.restricted||n.limitedCount>0||n.limitedCountAccessible>0)},e.getCurrentFocusedComponent=function(){return e._currentFocusedComponent?e._currentFocusedComponent.id:void 0},e._getStoredComponent=function(t){var n=t.focusableComponentId;if(n)return e._allFocusableComponents[n]},e._callFocusableComponentStateChangeCallbacks=function(e,t){e.callbacks&&e.callbacks.forEach((function(n){n.call(e.component,t)}))},e.prototype._removeFocusRestriction=function(){var t=this;Object.keys(e._allFocusableComponents).forEach((function(n){var r=e._allFocusableComponents[n];r.restricted=!1,t._updateComponentFocusRestriction(r)}))},e._clearRestoreRestrictionTimeout=function(){e._restoreRestrictionTimer&&(s.default.clearTimeout(e._restoreRestrictionTimer),e._restoreRestrictionTimer=void 0,e._pendingPrevFocusedComponent=void 0)},e._restrictionStack=[],e._allFocusableComponents={},e._skipFocusCheck=!1,e}();t.FocusManager=u,t.applyFocusableComponentMixin=function(e,t,n){void 0===n&&(n=!1);var r=e.contextTypes||{};function a(n,r){var o=e.prototype[n];e.prototype[n]=function(){if(!t||t.call(this)){var e=this._focusManager||this.context&&this.context.focusManager;e?r.call(this,e,arguments):i.default.isDevelopmentMode()&&console.error("FocusableComponentMixin: context error!")}o&&o.apply(this,arguments)}}r.focusManager=o.object,e.contextTypes=r,a("componentDidMount",(function(e){t&&!t.call(this)||e.addFocusableComponent(this,n)})),a("componentWillUnmount",(function(e){e.removeFocusableComponent(this)})),a("UNSAFE_componentWillUpdate",(function(e,r){if(t){var o=t.apply(this,r);o&&!this.focusableComponentId?e.addFocusableComponent(this,n):!o&&this.focusableComponentId&&e.removeFocusableComponent(this)}}))},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this._useCustomScrollbars=!1}return e.prototype.setUseCustomScrollbars=function(e){this._useCustomScrollbars=e},e.prototype.useCustomScrollbars=function(){return this._useCustomScrollbars},e}();t.ScrollViewConfig=r,t.default=new r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.dispatchKeyDown=function(e){this.keyDownEvent.fire(e)},t.prototype.dispatchKeyUp=function(e){this.keyUpEvent.fire(e)&&e.stopPropagation()},t}(n(1).Input);t.Input=i,t.default=new i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=n(0),s=n(27),l=n(33),u=n(1),c=n(7),f=n(59),p=n(41),d=n(14),h=n(79),m={defaultButton:{position:"relative",display:"flex",flexDirection:"column",flexGrow:0,flexShrink:0,overflow:"hidden",alignItems:"stretch",justifyContent:"center",appRegion:"no-drag",backgroundColor:"transparent",borderColor:"transparent",textAlign:"left",borderWidth:"0"}},y=1e3,v=u.Types.AccessibilityTrait.Button,g=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._mountedButton=null,r._ignoreTouchEnd=!1,r._ignoreClick=!1,r._isMouseOver=!1,r._isFocusedWithKeyboard=!1,r._isHoverStarted=!1,r._onMount=function(e){r._mountedButton=e},r.onClick=function(e){r._ignoreClick?(e.stopPropagation(),r._ignoreClick=!1):!r.props.disabled&&r.props.onPress&&r.props.onPress(e)},r._onContextMenu=function(e){r.props.onContextMenu&&r.props.onContextMenu(e)},r._onMouseDown=function(e){r.props.disabled||(r._isMouseOver=!0,r.props.onPressIn&&r.props.onPressIn(e),r.props.onLongPress&&(r._lastMouseDownEvent=e,e.persist(),r._longPressTimer&&c.default.clearTimeout(r._longPressTimer),r._longPressTimer=c.default.setTimeout((function(){r._longPressTimer=void 0,r.props.onLongPress&&(r.props.onLongPress(r._lastMouseDownEvent),"touches"in e?r._ignoreTouchEnd=!0:r._ignoreClick=!0)}),r.props.delayLongPress||y)))},r._onTouchMove=function(e){var t=e.target.getBoundingClientRect(),n=r._isMouseOver,o=e.nativeEvent.touches[0].clientX>t.left&&e.nativeEvent.touches[0].clientXt.top&&e.nativeEvent.touches[0].clientYa&&(a=r+i,s=n),e.style[n]=u,getComputedStyle(e).opacity,l.push(n+" "+r+"ms "+o+" "+i+"ms")})),e.style.transition=l.join(", ");var u=function(t){t.target===e&&t.propertyName===s&&i()};e.addEventListener("webkitTransitionEnd",u),e.addEventListener("transitionEnd",u);var c=0,f=!1;i=function(){f||(r.default.clearTimeout(c),e.dataset.transitionId===c.toString()&&(e.removeEventListener("webkitTransitionEnd",u),e.removeEventListener("transitionEnd",u),delete e.dataset.transitionId,e.style.transition="none",f=!0,n()))},c=r.default.setTimeout((function(){document.body.contains(e)&&i()}),a+10),e.dataset.transitionId=c.toString(),o.each(t,(function(t){var n=t.property,r=t.to;e.style[n]=r}))}t.executeTransition=i,t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(34),i=n(6);t.default=function(e){var t=e.props.style;return o.default(t&&void 0!==t.width&&void 0!==t.height,"Children of an must have a defined height and width"),r.cloneElement(e,{style:i.assign({},t,{display:"inline-block",lineHeight:"normal"})})}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;ne._maximumItems&&(Object.keys(e._cachedXhrBlobUrls).forEach((function(r){(!n||e._cachedXhrBlobUrls[r].insertionDate=400||i.status<600?t._onError(new Error(i.statusText)):t._handleXhrBlob(i.response)},i.onerror=function(){t._onError(new Error("Network issue downloading the image."))},i.send()}},t.prototype.render=function(){var e=this.props.source,t=!("string"!=typeof e&&void 0!==e);l.default(t,"Types/web/Image only accepts string sources! You passed: "+e+" of type "+typeof e);var n=null;this.state.showImgTag&&(n=s.createElement("img",{style:h.image,src:this.state.displayUrl,alt:this.props.accessibilityLabel,onError:this._imgOnError,onLoad:this._onLoad,ref:this._onMount}));var r=s.createElement("div",{style:this._getStyles(),title:this.props.title,"data-test-id":this.props.testId,onMouseUp:this._onMouseUp},n,this.props.children);return this.context.isRxParentAText?p.default(r):r},t.prototype._getStyles=function(){var e=this.props.resizeMode,t=d.default.combine([h.defaultContainer,this.props.style])||{},n="repeat"===e?"repeat":"no-repeat",r=this._buildBackgroundSize(e),o='url("'+this.state.displayUrl+'")',a=t.borderWidth?"solid":"none";return i(i({},t),{backgroundPosition:"center center",backgroundRepeat:n,backgroundImage:o,backgroundSize:r,borderStyle:a,display:"flex"})},t.prototype._buildBackgroundSize=function(e){switch(void 0===e&&(e=u.DEFAULT_RESIZE_MODE),e){case"repeat":return"auto";case"stretch":return"100% 100%";case"contain":case"cover":case"auto":return e;default:return u.DEFAULT_RESIZE_MODE}},t.prototype._onError=function(e){this._isMounted&&(this.setState({showImgTag:!1}),this.props.onError&&this.props.onError(e))},t.prototype.getNativeWidth=function(){return this._nativeImageWidth},t.prototype.getNativeHeight=function(){return this._nativeImageHeight},t.contextTypes={isRxParentAText:a.bool},t.childContextTypes={isRxParentAText:a.bool.isRequired},t}(s.Component);t.Image=y,t.default=y},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=n(0),s=n(33),l=n(41),u=n(6),c=n(14),f="undefined"!=typeof navigator&&"string"==typeof navigator.platform&&navigator.platform.indexOf("Mac")>=0,p={defaultStyle:{position:"relative",display:"flex",flexDirection:"row",flexBasis:"auto",flexGrow:0,flexShrink:0,overflowX:"hidden",overflowY:"auto",alignItems:"stretch"},formStyle:{display:"flex",flex:1}},d=function(){function e(){}return e.getClassName=function(e){return"reactxp-placeholder-"+this._colorKey(e)},e.addRef=function(e){if(void 0!==typeof document){var t=this._cachedStyles,n=this._colorKey(e);if(t.hasOwnProperty(n))t[n].refCounter++;else{var r=this.getClassName(e),o=document.createElement("style");o.type="text/css",o.textContent=this._getStyle(r,e),document.head.appendChild(o),t[n]={refCounter:1,styleElement:o}}}},e.removeRef=function(e){var t=this._cachedStyles,n=this._colorKey(e);if(t.hasOwnProperty(n)){var r=t[n];if(--r.refCounter<1){var o=r.styleElement;o.parentNode&&o.parentNode.removeChild(o),delete t[n]}}},e._colorKey=function(e){return e.toLowerCase().replace(/(,|\.|#)/g,"_").replace(/[^a-z0-9_]/g,"")},e._getStyle=function(e,t){return["::placeholder","::-webkit-input-placeholder","::-moz-placeholder",":-moz-placeholder",":-ms-input-placeholder"].map((function(n){return"."+e+n+" {\n opacity: 1;\n color: "+t+";\n}"})).join("\n")},e._cachedStyles={},e}(),h=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o._mountedComponent=null,o._selectionStart=0,o._selectionEnd=0,o._isFocused=!1,o._ariaLiveEnabled=!1,o._onMount=function(e){o._mountedComponent=e,o._mountedComponent&&o._mountedComponent instanceof HTMLTextAreaElement&&t._updateScrollPositions(o._mountedComponent,!!o.state.autoResize)},o._onMultilineInput=function(e){o._onInput(),t._updateScrollPositions(e.currentTarget,!!o.state.autoResize)},o._onInput=function(){f&&o._mountedComponent&&o._isFocused&&!o._ariaLiveEnabled&&(o._mountedComponent.setAttribute("aria-live","assertive"),o._ariaLiveEnabled=!0)},o._onFocus=function(e){o._mountedComponent&&(o._isFocused=!0,o.props.onFocus&&o.props.onFocus(e))},o._onBlur=function(e){o._mountedComponent&&(o._isFocused=!1,f&&o._ariaLiveEnabled&&(o._mountedComponent.removeAttribute("aria-live"),o._ariaLiveEnabled=!1),o.props.onBlur&&o.props.onBlur(e))},o._onPaste=function(e){o.props.onPaste&&o.props.onPaste(e),o._checkSelectionChanged()},o._onInputChanged=function(e){if(!e.defaultPrevented&&o._mountedComponent){var t=o._mountedComponent.value||"";o.state.inputValue!==t&&(void 0===o.props.value&&o.setState({inputValue:t}),o.props.onChangeText&&o.props.onChangeText(t)),o._checkSelectionChanged()}},o._checkSelectionChanged=function(){o._mountedComponent&&(o._selectionStart===o._mountedComponent.selectionStart&&o._selectionEnd===o._mountedComponent.selectionEnd||(o._selectionStart=o._mountedComponent.selectionStart||0,o._selectionEnd=o._mountedComponent.selectionEnd||0,o.props.onSelectionChange&&o.props.onSelectionChange(o._selectionStart,o._selectionEnd)))},o._onKeyDown=function(e){13!==e.keyCode||o.props.multiline&&!o.props.blurOnSubmit||(o.props.onSubmitEditing&&o.props.onSubmitEditing(),o.props.blurOnSubmit&&o.blur()),o.props.onKeyPress&&o.props.onKeyPress(e),o._checkSelectionChanged()},o._onScroll=function(e){var t=e.currentTarget;o.state.autoResize&&t.scrollHeight0&&(s[l]=c)}else{var h=(0,o.default)(n,l,u,s,t);h&&(s[l]=h),s=(0,r.default)(t,l,s)}}return s}};var r=s(n(216)),o=s(n(217)),i=s(n(218)),a=s(n(219));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&"text"===t)return["-webkit-text","text"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("cross-fade(")>-1)return a.map((function(e){return t.replace(/cross-fade\(/g,e+"cross-fade(")}))};var r,o=n(11),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-",""]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("cursor"===e&&o.hasOwnProperty(t))return r.map((function(e){return e+t}))};var r=["-webkit-","-moz-",""],o={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("filter(")>-1)return a.map((function(e){return t.replace(/filter\(/g,e+"filter(")}))};var r,o=n(11),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-",""]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("display"===e&&r.hasOwnProperty(t))return r[t]};var r={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){Object.prototype.hasOwnProperty.call(o,e)&&(n[o[e]]=r[t]||t);if("flex"===e){if(Object.prototype.hasOwnProperty.call(i,t))return void(n.msFlex=i[t]);if(a.test(t))return void(n.msFlex=t+" 1 0%");var s=t.split(/\s/);switch(s.length){case 1:return void(n.msFlex="1 1 "+t);case 2:return void(a.test(s[1])?n.msFlex=s[0]+" "+s[1]+" 0%":n.msFlex=s[0]+" 1 "+s[1]);default:n.msFlex=t}}};var r={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},o={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msFlexPreferredSize"},i={auto:"1 1 auto",inherit:"inherit",initial:"0 1 auto",none:"0 0 auto",unset:"unset"},a=/^\d+(\.\d+)?$/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal");o.hasOwnProperty(e)&&(n[o[e]]=r[t]||t)};var r={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},o={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&s.test(t))return a.map((function(e){return t.replace(s,(function(t){return e+t}))}))};var r,o=n(11),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-","-moz-",""],s=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function o(e){return"number"==typeof e&&!isNaN(e)}t.default=function(e,t,n){if("display"===e&&t in a)return a[t];if(e in s){(0,s[e])(t,n)}};var i=["center","end","start","stretch"],a={"inline-grid":["-ms-inline-grid","inline-grid"],grid:["-ms-grid","grid"]},s={alignSelf:function(e,t){i.indexOf(e)>-1&&(t.msGridRowAlign=e)},gridColumn:function(e,t){if(o(e))t.msGridColumn=e;else{var n=e.split("/").map((function(e){return+e})),i=r(n,2),a=i[0],l=i[1];s.gridColumnStart(a,t),s.gridColumnEnd(l,t)}},gridColumnEnd:function(e,t){var n=t.msGridColumn;o(e)&&o(n)&&(t.msGridColumnSpan=e-n)},gridColumnStart:function(e,t){o(e)&&(t.msGridColumn=e)},gridRow:function(e,t){if(o(e))t.msGridRow=e;else{var n=e.split("/").map((function(e){return+e})),i=r(n,2),a=i[0],l=i[1];s.gridRowStart(a,t),s.gridRowEnd(l,t)}},gridRowEnd:function(e,t){var n=t.msGridRow;o(e)&&o(n)&&(t.msGridRowSpan=e-n)},gridRowStart:function(e,t){o(e)&&(t.msGridRow=e)},gridTemplateColumns:function(e,t){t.msGridColumns=e},gridTemplateRows:function(e,t){t.msGridRows=e},justifySelf:function(e,t){i.indexOf(e)>-1&&(t.msGridColumnAlign=e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("image-set(")>-1)return a.map((function(e){return t.replace(/image-set\(/g,e+"image-set(")}))};var r,o=n(11),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-",""]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(Object.prototype.hasOwnProperty.call(r,e))for(var o=r[e],i=0,a=o.length;i-1&&"order"!==f)for(var p=t[c],d=0,h=p.length;d-1)return c;var f=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-webkit-|-ms-/.test(e)})).join(",");return e.indexOf("Moz")>-1?f:(n["Webkit"+(0,i.default)(e)]=c,n["Moz"+(0,i.default)(e)]=f,u)}};var r=a(n(119)),o=a(n(11)),i=a(n(125));function a(e){return e&&e.__esModule?e:{default:e}}var s={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},l={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},function(e,t){function n(e){var t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=l.hex6.exec(e))?parseInt(t[1]+"ff",16)>>>0:d.hasOwnProperty(e)?d[e]:(t=l.rgb.exec(e))?(u(t[1])<<24|u(t[2])<<16|u(t[3])<<8|255)>>>0:(t=l.rgba.exec(e))?(u(t[1])<<24|u(t[2])<<16|u(t[3])<<8|f(t[4]))>>>0:(t=l.hex3.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=l.hex8.exec(e))?parseInt(t[1],16)>>>0:(t=l.hex4.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=l.hsl.exec(e))?(255|o(c(t[1]),p(t[2]),p(t[3])))>>>0:(t=l.hsla.exec(e))?(o(c(t[1]),p(t[2]),p(t[3]))|f(t[4]))>>>0:null}function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function o(e,t,n){var o=n<.5?n*(1+t):n+t-n*t,i=2*n-o,a=r(i,o,e+1/3),s=r(i,o,e),l=r(i,o,e-1/3);return Math.round(255*a)<<24|Math.round(255*s)<<16|Math.round(255*l)<<8}var i="[-+]?\\d*\\.?\\d+",a=i+"%";function s(){return"\\(\\s*("+(e=arguments,Array.prototype.slice.call(e,0)).join(")\\s*,\\s*(")+")\\s*\\)";var e}var l={rgb:new RegExp("rgb"+s(i,i,i)),rgba:new RegExp("rgba"+s(i,i,i,i)),hsl:new RegExp("hsl"+s(i,a,a)),hsla:new RegExp("hsla"+s(i,a,a,i)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/};function u(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function f(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function p(e){var t=parseFloat(e,10);return t<0?0:t>100?1:t/100}var d={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};n.rgba=function(e){return{r:Math.round((4278190080&e)>>>24),g:Math.round((16711680&e)>>>16),b:Math.round((65280&e)>>>8),a:((255&e)>>>0)/255}},e.exports=n},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";(function(e){var n={OS:"web",select:function(e){return"web"in e?e.web:e.default},get isTesting(){return"test"===e.env.NODE_DEV}};t.a=n}).call(this,n(65))},function(e,t,n){"use strict";var r=n(0),o=n(222);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";var r=n(225);e.exports=r},function(e){e.exports=JSON.parse('{"private":true,"name":"benchmarks","version":"0.14.1","scripts":{"build":"mkdir -p dist && cp -f index.html dist/index.html && ./node_modules/.bin/webpack-cli --config ./webpack.config.js","release":"NODE_ENV=production yarn build && git checkout gh-pages && rm -rf ../../benchmarks && mv dist ../../benchmarks && git add -A && git commit -m \\"Benchmarks deploy\\" && git push origin gh-pages && git checkout -"},"dependencies":{"aphrodite":"^2.4.0","classnames":"^2.2.6","d3-scale-chromatic":"^1.5.0","emotion":"^10.0.27","fela":"^11.0.2","react-fela":"^11.0.2","react-jss":"^10.0.4","react-native-web":"0.14.1","reactxp":"^2.0.0","styled-components":"^5.0.0","styled-jsx":"^3.2.4","styletron-engine-atomic":"^1.4.4","styletron-react":"^5.2.6"},"devDependencies":{"babel-plugin-react-native-web":"0.14.1","css-loader":"^3.4.2","style-loader":"^1.1.3","url-loader":"^3.0.0","webpack":"^4.41.5","webpack-bundle-analyzer":"^3.6.0","webpack-cli":"^3.3.10"}}')},function(e,t,n){var r=n(127),o=n(231);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1},a=(r(o,i),o.locals?o.locals:{});e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});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};function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?n-1:0),s=1;s * diff --git a/benchmarks/report.html b/benchmarks/report.html index f909bfa7..1297c1d7 100644 --- a/benchmarks/report.html +++ b/benchmarks/report.html @@ -3,7 +3,7 @@ - benchmarks [9 Oct 2020 at 12:59] + benchmarks [12 Oct 2020 at 13:41]