Build 606747stable
Module 939249
1,336 characters · in no known chunkDependencies
Required by (444)
39213103738464561516155108221582318282204652050424594285282886337402380553961340344404744313646937478684873650820519435494855759561295873658829646226474966442673196781171855736637387077580789038033080683877309541495477956559678297808101555104171107773109026111185112107112753113491113673117029121002123181123583124480129493131882139146142630143407143657144165147696149346149741154434154649159730161319162093164048166005167630175671178504182859187654189252190199191110193663196231196582198525204651217424217482219503220995224490226830229087231088231643232122232571235327238017238234238503241188241215241499241989242939243166262514266536267889269587271006271195273754275664276130279182279306279694283012284675285961286509289634291594302031302557304047306417308334315246316770317084319993320080320742321486321563322338322789326009328380328461328857329554331446332173333189333204342298342952350527352043353394353428354033354948355998357701359378360563360627370997372474375499376310376352377980378455378974382003382567401155402857408121414079414711417098417454421617425663427080427294435954436405438271438407438692438729439325439401440801442152442734444550445529448967450117450740451395452015454491459789465558465829467884475706478531480084480142480178480900481045481947484734488358492385495677500770503062507946508274513297516889517622518142519342520082520660521974529200531648534148534400538451541712546419548118549363554601557420560149561965564771565265568006572211572469575293578839579735580763582306588857589158589935590114590380590388591840596484596719597351606049618989622868623280623671625928629584630008632738635995639245640132645501646764650588650993651247653523655098657048657538657977659280661847662342664111667086671884671897672525672957674168676923681281684136685961686502706897707335710637711871715069716936727353729398737823741561742290743609744753746669747007753838754692754744756379758659759625761508767089768838770101777307778578778768779519782274785007788259788593791519794783799162802426803977804630805945806932807067807780811611812633813703813837815007818433818743821209822610825596826320829648831056831688831937834135836781843282844330844789849205855267855446860603862611866945868660869362872238872363873614883455884496886180886235887909888250890856894591900649902550902592906199908742910607913765914119914905918192928529929120930101930349930840930946932453932793937489937563942262943793946228948822950072951592954784958720960538960628963402964195966245966469967388968898974544974800976014978171979204980390980707982484983495984059986268986687986712988125988436991054993401994064999174999751
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{D:()=>o});var i=n(477900),r=n(582128),a=n(531142),s=n(259678),l=n(650583);class o extends r.Component{ref;static contextType=a.g;static defaultProps={tag:"div",role:"button",tabIndex:0};handleKeyPress=e=>{let{onClick:t,href:n,onKeyPress:i,ignoreKeyPress:r}=this.props;e.repeat||(r||null==t||null==this.ref||e.key!==l.dh.SPACE&&e.key!==l.dh.ENTER||(null==n&&e.preventDefault(),this.ref.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,view:this.ref.ownerDocument?.defaultView??window}))),null!=i&&i(e))};setRef=e=>{this.ref=e;let{innerRef:t}=this.props;null!=t&&("function"==typeof t?t(e):t.hasOwnProperty("current")&&(t.current=e))};renderNonInteractive(){let{tag:e,focusProps:t,innerRef:n,onClick:i,role:a,tabIndex:s,ignoreKeyPress:l,...o}=this.props;return r.createElement(e,{ref:this.setRef,...o})}renderInner(){let{tag:e,onClick:t,className:n,children:i,focusProps:a,innerRef:s,ignoreKeyPress:l,...o}=this.props;return null==t?r.createElement(e,{ref:this.setRef,className:n,...o},i):r.createElement(e,{onClick:t,ref:this.setRef,onKeyPress:this.handleKeyPress,className:n,...o},i)}render(){return this.context?this.renderNonInteractive():(0,i.jsx)(s.vN,{...this.props.focusProps,children:this.renderInner()})}}}