mirror of
https://github.com/boramalper/system-7.git
synced 2024-11-25 19:30:49 +00:00
16 lines
150 KiB
JavaScript
16 lines
150 KiB
JavaScript
|
/**
|
||
|
* React v15.2.0
|
||
|
*
|
||
|
* Copyright 2013-present, Facebook, Inc.
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
* This source code is licensed under the BSD-style license found in the
|
||
|
* LICENSE file in the root directory of this source tree. An additional grant
|
||
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||
|
*
|
||
|
*/
|
||
|
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.React=e()}}(function(){return function e(t,n,o){function r(i,u){if(!n[i]){if(!t[i]){var s="function"==typeof require&&require;if(!u&&s)return s(i,!0);if(a)return a(i,!0);var l=new Error("Cannot find module '"+i+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[i]={exports:{}};t[i][0].call(c.exports,function(e){var n=t[i][1][e];return r(n?n:e)},c,c.exports,e,t,n,o)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<o.length;i++)r(o[i]);return r}({1:[function(e,t,n){"use strict";var o=e(41),r=e(150),a={focusDOMComponent:function(){r(o.getNodeFromInstance(this))}};t.exports=a},{150:150,41:41}],2:[function(e,t,n){"use strict";function o(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function r(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function a(e){switch(e){case k.topCompositionStart:return S.compositionStart;case k.topCompositionEnd:return S.compositionEnd;case k.topCompositionUpdate:return S.compositionUpdate}}function i(e,t){return e===k.topKeyDown&&t.keyCode===_}function u(e,t){switch(e){case k.topKeyUp:return-1!==b.indexOf(t.keyCode);case k.topKeyDown:return t.keyCode!==_;case k.topKeyPress:case k.topMouseDown:case k.topBlur:return!0;default:return!1}}function s(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,n,o){var r,l;if(E?r=a(e):R?u(e,n)&&(r=S.compositionEnd):i(e,n)&&(r=S.compositionStart),!r)return null;N&&(R||r!==S.compositionStart?r===S.compositionEnd&&R&&(l=R.getData()):R=v.getPooled(o));var c=g.getPooled(r,t,n,o);if(l)c.data=l;else{var p=s(n);null!==p&&(c.data=p)}return h.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case k.topCompositionEnd:return s(t);case k.topKeyPress:var n=t.which;return n!==w?null:(M=!0,P);case k.topTextInput:var o=t.data;return o===P&&M?null:o;default:return null}}function p(e,t){if(R){if(e===k.topCompositionEnd||u(e,t)){var n=R.getData();return v.release(R),R=null,n}return null}switch(e){case k.topPaste:return null;case k.topKeyPress:return t.which&&!r(t)?String.fromCharCode(t.which):null;case k.topCompositionEnd:return N?null:t.data;default:return null}}function d(e,t,n,o){var r;if(r=T?c(e,n):p(e,n),!r)return null;var a=y.getPooled(S.beforeInput,t,n,o);return a.data=r,h.accumulateTwoPhaseDispatches(a),a}var f=e(16),h=e(20),m=e(142),v=e(21),g=e(97),y=e(101),C=e(160),b=[9,13,27,32],_=229,E=m.canUseDOM&&"CompositionEvent"in window,x=null;m.canUseDOM&&"documentMode"in document&&(x=document.documentMode);var T=m.canUseDOM&&"TextEvent"in window&&!x&&!o(),N=m.canUseDOM&&(!E||x&&x>8&&11>=x),w=32,P=String.fromCharCode(w),k=f.topLevelTypes,S={beforeInput:{phasedRegistrationNames:{bubbled:C({onBeforeInput:null}),captured:C({onBeforeInputCapture:null})},dependencies:[k.topCompositionEnd,k.topKeyPress,k.topTextInput,k.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:C({onCompositionEnd:null}),captured:C({onCompositionEndCapture:null})},dependencies:[k.topBlur,k.topCompositionEnd,k.topKeyDown,k.topKeyPress,k.topKeyUp,k.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:C({onCompositionStart:null}),captured:C({onCompositionStartCapture:null})},dependencies:[k.topBlur,k.topCompositionStart,k.topKeyDown,k.topKeyPress,k.topKeyUp,k.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:C({onCompositionUpdate:null}),captured:C({onCompositionUpdateCapture:null})},dependencies:[k.topBlur,k.topCompositionUpdate,k.topKeyDown,k.topKeyPress,k.topKeyUp,k.topMouseDown]}},M=!1,R=null,D={eventTypes:S,extractEvents:function(e,t,n,o){return[l(e,t,n,o),d(e,t,n,o)]}};t.exports=D},{101:101,142:142,16:16,160:160,20:20,21:21,97:97}],3:[function(e,t,n){"use strict";function o(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={animationIterationCount:!0,borderImageOu
|
||
|
addPoolingTo:d,oneArgumentPooler:r,twoArgumentPooler:a,threeArgumentPooler:i,fourArgumentPooler:u,fiveArgumentPooler:s};t.exports=f},{134:134,156:156}],26:[function(e,t,n){"use strict";var o=e(167),r=e(29),a=e(31),i=e(30),u=e(45),s=e(61),l=e(81),c=e(91),p=e(132),d=(e(166),s.createElement),f=s.createFactory,h=s.cloneElement,m=o,v={Children:{map:r.map,forEach:r.forEach,count:r.count,toArray:r.toArray,only:p},Component:a,createElement:d,cloneElement:h,isValidElement:s.isValidElement,PropTypes:l,createClass:i.createClass,createFactory:f,createMixin:function(e){return e},DOM:u,version:c,__spread:m};t.exports=v},{132:132,166:166,167:167,29:29,30:30,31:31,45:45,61:61,81:81,91:91}],27:[function(e,t,n){"use strict";function o(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=h++,d[e[v]]={}),d[e[v]]}var r,a=e(167),i=e(16),u=e(18),s=e(64),l=e(109),c=e(128),p=e(130),d={},f=!1,h=0,m={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),g=a({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=o(n),a=u.registrationNameDependencies[e],s=i.topLevelTypes,l=0;l<a.length;l++){var c=a[l];r.hasOwnProperty(c)&&r[c]||(c===s.topWheel?p("wheel")?g.ReactEventListener.trapBubbledEvent(s.topWheel,"wheel",n):p("mousewheel")?g.ReactEventListener.trapBubbledEvent(s.topWheel,"mousewheel",n):g.ReactEventListener.trapBubbledEvent(s.topWheel,"DOMMouseScroll",n):c===s.topScroll?p("scroll",!0)?g.ReactEventListener.trapCapturedEvent(s.topScroll,"scroll",n):g.ReactEventListener.trapBubbledEvent(s.topScroll,"scroll",g.ReactEventListener.WINDOW_HANDLE):c===s.topFocus||c===s.topBlur?(p("focus",!0)?(g.ReactEventListener.trapCapturedEvent(s.topFocus,"focus",n),g.ReactEventListener.trapCapturedEvent(s.topBlur,"blur",n)):p("focusin")&&(g.ReactEventListener.trapBubbledEvent(s.topFocus,"focusin",n),g.ReactEventListener.trapBubbledEvent(s.topBlur,"focusout",n)),r[s.topBlur]=!0,r[s.topFocus]=!0):m.hasOwnProperty(c)&&g.ReactEventListener.trapBubbledEvent(c,m[c],n),r[c]=!0)}},trapBubbledEvent:function(e,t,n){return g.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return g.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){
|
||
|
},getHostNode:function(){return j(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":m("66",this._tag)}this.unmountChildren(e),M.uncacheNode(this),T.deleteAllListeners(this),P.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null,this._domID=null,this._wrapperState=null},getPublicInstance:function(){return j(this)}},v(h.prototype,h.Mixin,A.Mixin),t.exports=h},{1:1,10:10,11:11,116:116,130:130,134:134,140:140,148:148,156:156,16:16,160:160,165:165,166:166,167:167,17:17,18:18,27:27,32:32,38:38,4:4,40:40,41:41,48:48,50:50,51:51,55:55,71:71,74:74,8:8,87:87,9:9}],40:[function(e,t,n){"use strict";var o={hasCachedChildNodes:1};t.exports=o},{}],41:[function(e,t,n){"use strict";function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function r(e,t){var n=o(e);n._hostNode=t,t[m]=n}function a(e){var t=e._hostNode;t&&(delete t[m],e._hostNode=null)}function i(e,t){if(!(e._flags&h.hasCachedChildNodes)){var n=e._renderedChildren,a=t.firstChild;e:for(var i in n)if(n.hasOwnProperty(i)){var u=n[i],s=o(u)._domID;if(null!=s){for(;null!==a;a=a.nextSibling)if(1===a.nodeType&&a.getAttribute(f)===String(s)||8===a.nodeType&&a.nodeValue===" react-text: "+s+" "||8===a.nodeType&&a.nodeValue===" react-empty: "+s+" "){r(u,a);continue e}c("32",s)}}e._flags|=h.hasCachedChildNodes}}function u(e){if(e[m])return e[m];for(var t=[];!e[m];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,o;e&&(o=e[m]);e=t.pop())n=o,t.length&&i(o,e);return n}function s(e){var t=u(e);return null!=t&&t._hostNode===e?t:null}function l(e){if(void 0===e._hostNode?c("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:c("34"),e=e._hostParent;for(;t.length;e=t.pop())i(e,e._hostNode);return e._hostNode}var c=e(134),p=e(10),d=e(40),f=(e(156),p.ID_ATTRIBUTE_NAME),h=d,m="__reactInternalInstance$"+Math.random().toString(36).slice(2),v={getClosestInstanceFromNode:u,getInstanceFromNode:s,getNodeFromInstance:l,precacheChildNodes:i,precacheNode:r,uncacheNode:a};t.exports=v},{10:10,134:134,156:156,40:40}],42:[function(e,t,n){"use strict";function o(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===r?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var r=(e(140),9);t.exports=o},{140:140}],43:[function(e,t,n){"use strict";function o(e,t,n,o,r,a){}var r=e(57),a=e(58),i=(e(166),[]),u={addDevtool:function(e){a.addDevtool(e),i.push(e)},removeDevtool:function(e){a.removeDevtool(e);for(var t=0;t<i.length;t++)i[t]===e&&(i.splice(t,1),t--)},onCreateMarkupForProperty:function(e,t){o("onCreateMarkupForProperty",e,t)},onSetValueForProperty:function(e,t,n){o("onSetValueForProperty",e,t,n)},onDeleteValueForProperty:function(e,t){o("onDeleteValueForProperty",e,t)},onTestEvent:function(){o("onTestEvent")}};u.addDevtool(r),t.exports=u},{166:166,57:57,58:58}],44:[function(e,t,n){"use strict";var o=e(167),r=e(8),a=e(41),i=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=null};o(i.prototype,{mountComponent:function(e,t,n,o){var i=n._idCounter++;this._domID=i,this._hostParent=t,this._hostContainerInfo=n;var u=" react-empty: "+this._domID+" ";if(e.useCreateElement){var s=n._ownerDocument,l=s.createComment(u);return a.precacheNode(this,l),r(l)}return e.renderToStaticMarkup?"":"<!--"+u+"-->"},receiveComponent:function(){},getHostNode:function(){return a.getNodeFromInstance(this)},unmountComponent:function(){a.uncacheNode(this)}}),t.exports=i},{167:167,41:41,8:8}],45:[function(e,t,n){"use strict";function o(e){return r.createFactory(e)}var r=e(61),a=e(161),i=a({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"
|
||
|
var o=[i(e)];l(this,o)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var o=this._renderedChildren,r={},a=this._reconcilerUpdateChildren(o,e,r,t,n);if(a||o){var i,u=null,c=0,p=0,d=null;for(i in a)if(a.hasOwnProperty(i)){var h=o&&o[i],m=a[i];h===m?(u=s(u,this.moveChild(h,d,p,c)),c=Math.max(h._mountIndex,c),h._mountIndex=p):(h&&(c=Math.max(h._mountIndex,c)),u=s(u,this._mountChildAtIndex(m,d,p,t,n))),p++,d=f.getHostNode(m)}for(i in r)r.hasOwnProperty(i)&&(u=s(u,this._unmountChild(o[i],r[i])));u&&l(this,u),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;h.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,o){return e._mountIndex<o?r(e,t,n):void 0},createChild:function(e,t,n){return o(n,t,e._mountIndex)},removeChild:function(e,t){return a(e,t)},_mountChildAtIndex:function(e,t,n,o,r){var a=f.mountComponent(e,o,this,this._hostContainerInfo,r);return e._mountIndex=n,this.createChild(e,t,a)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});t.exports=v},{118:118,134:134,148:148,156:156,28:28,33:33,36:36,70:70,71:71,75:75,83:83}],75:[function(e,t,n){"use strict";var o=e(159),r=o({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});t.exports=r},{159:159}],76:[function(e,t,n){"use strict";var o=e(134),r=e(61),a=(e(156),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?a.EMPTY:r.isValidElement(e)?"function"==typeof e.type?a.COMPOSITE:a.HOST:void o("26",e)}});t.exports=a},{134:134,156:156,61:61}],77:[function(e,t,n){"use strict";function o(e,t){}var r=(e(166),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){o(e,"forceUpdate")},enqueueReplaceState:function(e,t){o(e,"replaceState")},enqueueSetState:function(e,t){o(e,"setState")}});t.exports=r},{166:166}],78:[function(e,t,n){"use strict";var o=e(134),r=(e(156),{isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){r.isValidOwner(n)?void 0:o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r.isValidOwner(n)?void 0:o("120");var a=n.getPublicInstance();a&&a.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});t.exports=r},{134:134,156:156}],79:[function(e,t,n){"use strict";var o={};t.exports=o},{}],80:[function(e,t,n){"use strict";var o=e(159),r=o({prop:null,context:null,childContext:null});t.exports=r},{159:159}],81:[function(e,t,n){"use strict";function o(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function r(e){function t(t,n,o,r,a,i){if(r=r||T,i=i||o,null==n[o]){var u=_[a];return t?new Error("Required "+u+" `"+i+"` was not specified in "+("`"+r+"`.")):null}return e(n,o,r,a,i)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,o,r,a){var i=t[n],u=g(i);if(u!==e){var s=_[r],l=y(i);return new Error("Invalid "+s+" `"+a+"` of type "+("`"+l+"` supplied to `"+o+"`, expected ")+("`"+e+"`."))}return null}return r(t)}function i(){return r(E.thatReturns(null))}function u(e){function t(t,n,o,r,a){if("function"!=typeof e)return new Error("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i)){var u=_[r],s=g(i);return new Error("Invalid "+u+" `"+a+"` of type "+("`"+s+"` supplied to `"+o+"`, expected an array."))}for(var l=0;l<i.length;l++){var c=e(i,l,o,r,a+"["+l+"]");if(c instanceof Error)return c}return null}return r(t)}function s(){function e(e,t,n,o,r){if(!b.isValidElement(e[t])){var a=_[o];return new Error("Invalid "+a+" `"+r+"` supplied to "+("`"+n+"`, expected a single ReactElement."))}return null}return r(e)}function l(e){function t(t,n,o,r,a){if(!(t[n]instanceof e)){var i=_[r],u=e.name||T,s=C(t[n]);return new Error("Invalid "+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+o+"`, expected ")+("instance of `"+u+"`."))}return null}return r(t)}function c(e){function t(t,n,r,a,i){for(var u=t[n],s=0;s<e.length;s++)if(o(u,e[s]))return null;var l=_[a],
|
||
|
this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var a in r)if(r.hasOwnProperty(a)){var u=r[a];u?this[a]=u(n):"target"===a?this.target=o:this[a]=n[a]}var s=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return s?this.isDefaultPrevented=i.thatReturnsTrue:this.isDefaultPrevented=i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse,this}var r=e(167),a=e(25),i=e(148),u=(e(166),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),s={type:null,target:null,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};r(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=i.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=i.thatReturnsTrue)},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<u.length;n++)this[u[n]]=null}}),o.Interface=s,o.augmentClass=function(e,t){var n=this,o=function(){};o.prototype=n.prototype;var i=new o;r(i,e.prototype),e.prototype=i,e.prototype.constructor=e,e.Interface=r({},n.Interface,t),e.augmentClass=n.augmentClass,a.addPoolingTo(e,a.fourArgumentPooler)},a.addPoolingTo(o,a.fourArgumentPooler),t.exports=o},{148:148,166:166,167:167,25:25}],100:[function(e,t,n){"use strict";function o(e,t,n,o){return r.call(this,e,t,n,o)}var r=e(106),a={relatedTarget:null};r.augmentClass(o,a),t.exports=o},{106:106}],101:[function(e,t,n){"use strict";function o(e,t,n,o){return r.call(this,e,t,n,o)}var r=e(99),a={data:null};r.augmentClass(o,a),t.exports=o},{99:99}],102:[function(e,t,n){"use strict";function o(e,t,n,o){return r.call(this,e,t,n,o)}var r=e(106),a=e(120),i=e(121),u=e(122),s={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(e){return"keypress"===e.type?a(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?a(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};r.augmentClass(o,s),t.exports=o},{106:106,120:120,121:121,122:122}],103:[function(e,t,n){"use strict";function o(e,t,n,o){return r.call(this,e,t,n,o)}var r=e(106),a=e(109),i=e(122),u={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+a.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+a.currentScrollTop}};r.augmentClass(o,u),t.exports=o},{106:106,109:109,122:122}],104:[function(e,t,n){"use strict";function o(e,t,n,o){return r.call(this,e,t,n,o)}var r=e(106),a=e(122),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:a};r.augmentClass(o,i),t.exports=o},{106:106,122:122}],105:[function(e,t,n){"use strict";function o(e,t,n,o){return r.call(this,e,t,n,o)}var r=e(99),a={propertyName:null,elapsedTime:null,pseudoElement:null};r.augmentClass(o,a),t.exports=o},{99:99}],106:[function(e,t,n){"use strict";function o(e,t,n,o){return r.call(this,e,t,n,o)}var r=e(99),a=e(123),i={view:function(e){if(e.view)return e.view;var t=a(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};r.augmentClass(o,i),t.exports=o},{123:123,99:99}],107:[function(e,t,n){"use strict";function o(e,t,n,o){return r.cal
|