@deephaven/embed-chart 0.16.1-vite.20 → 0.16.1-vite.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/assets/helpers.162e09a8.js +1 -0
- package/build/assets/helpers.162e09a8.js.map +1 -0
- package/build/assets/index.39f8baea.js +1 -0
- package/build/assets/index.39f8baea.js.map +1 -0
- package/build/assets/plotly.c90ff494.js +1 -0
- package/build/assets/plotly.c90ff494.js.map +1 -0
- package/build/assets/vendor.420e3eae.js +1 -0
- package/build/assets/vendor.420e3eae.js.map +1 -0
- package/build/index.html +2 -2
- package/package.json +13 -13
|
@@ -1181,3 +1181,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1181
1181
|
* This source code is licensed under the MIT license found in the
|
|
1182
1182
|
* LICENSE file in the root directory of this source tree.
|
|
1183
1183
|
*/var Km=60103,Jm=60106,rv=60107,nv=60108,iv=60114,av=60109,ov=60110,uv=60112,lv=60113,xS=60120,sv=60115,fv=60116,d4=60121,h4=60122,p4=60117,v4=60129,g4=60131;if(typeof Symbol=="function"&&Symbol.for){var ki=Symbol.for;Km=ki("react.element"),Jm=ki("react.portal"),rv=ki("react.fragment"),nv=ki("react.strict_mode"),iv=ki("react.profiler"),av=ki("react.provider"),ov=ki("react.context"),uv=ki("react.forward_ref"),lv=ki("react.suspense"),xS=ki("react.suspense_list"),sv=ki("react.memo"),fv=ki("react.lazy"),d4=ki("react.block"),h4=ki("react.server.block"),p4=ki("react.fundamental"),v4=ki("react.debug_trace_mode"),g4=ki("react.legacy_hidden")}function Mo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Km:switch(e=e.type,e){case rv:case iv:case nv:case lv:case xS:return e;default:switch(e=e&&e.$$typeof,e){case ov:case uv:case fv:case sv:case av:return e;default:return t}}case Jm:return t}}}var _K=av,SK=Km,EK=uv,AK=rv,TK=fv,CK=sv,OK=Jm,kK=iv,MK=nv,PK=lv;dn.ContextConsumer=ov;dn.ContextProvider=_K;dn.Element=SK;dn.ForwardRef=EK;dn.Fragment=AK;dn.Lazy=TK;dn.Memo=CK;dn.Portal=OK;dn.Profiler=kK;dn.StrictMode=MK;dn.Suspense=PK;dn.isAsyncMode=function(){return!1};dn.isConcurrentMode=function(){return!1};dn.isContextConsumer=function(e){return Mo(e)===ov};dn.isContextProvider=function(e){return Mo(e)===av};dn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Km};dn.isForwardRef=function(e){return Mo(e)===uv};dn.isFragment=function(e){return Mo(e)===rv};dn.isLazy=function(e){return Mo(e)===fv};dn.isMemo=function(e){return Mo(e)===sv};dn.isPortal=function(e){return Mo(e)===Jm};dn.isProfiler=function(e){return Mo(e)===iv};dn.isStrictMode=function(e){return Mo(e)===nv};dn.isSuspense=function(e){return Mo(e)===lv};dn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===rv||e===iv||e===v4||e===nv||e===lv||e===xS||e===g4||typeof e=="object"&&e!==null&&(e.$$typeof===fv||e.$$typeof===sv||e.$$typeof===av||e.$$typeof===ov||e.$$typeof===uv||e.$$typeof===p4||e.$$typeof===d4||e[0]===h4)};dn.typeOf=Mo;(function(e){e.exports=dn})(c4);var NK=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],RK=["reactReduxForwardedRef"],IK=[],FK=[null,null];function LK(e,t){var r=e[1];return[t.payload,r+1]}function QO(e,t,r){sK(function(){return e.apply(void 0,t)},r)}function DK(e,t,r,n,i,a,o){e.current=n,t.current=i,r.current=!1,a.current&&(a.current=null,o())}function $K(e,t,r,n,i,a,o,l,f,c){if(!!e){var p=!1,_=null,x=function(){if(!p){var R=t.getState(),E,S;try{E=n(R,i.current)}catch(T){S=T,_=T}S||(_=null),E===a.current?o.current||f():(a.current=E,l.current=E,o.current=!0,c({type:"STORE_UPDATED",payload:{error:S}}))}};r.onStateChange=x,r.trySubscribe(),x();var b=function(){if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,_)throw _};return b}}var zK=function(){return[null,0]};function BK(e,t){t===void 0&&(t={});var r=t,n=r.getDisplayName,i=n===void 0?function(P){return"ConnectAdvanced("+P+")"}:n,a=r.methodName,o=a===void 0?"connectAdvanced":a,l=r.renderCountProp,f=l===void 0?void 0:l,c=r.shouldHandleStateChanges,p=c===void 0?!0:c,_=r.storeKey,x=_===void 0?"store":_;r.withRef;var b=r.forwardRef,C=b===void 0?!1:b,R=r.context,E=R===void 0?nK:R,S=ld(r,NK),T=E;return function(M){var L=M.displayName||M.name||"Component",v=i(L),K=fu({},S,{getDisplayName:i,methodName:o,renderCountProp:f,shouldHandleStateChanges:p,storeKey:x,displayName:v,wrappedComponentName:L,WrappedComponent:M}),q=S.pure;function ue(Xe){return e(Xe.dispatch,K)}var Ie=q?Ar.exports.useMemo:function(Xe){return Xe()};function Ce(Xe){var Et=Ar.exports.useMemo(function(){var kr=Xe.reactReduxForwardedRef,qr=ld(Xe,RK);return[Xe.context,kr,qr]},[Xe]),yt=Et[0],Ze=Et[1],it=Et[2],Ut=Ar.exports.useMemo(function(){return yt&&yt.Consumer&&c4.exports.isContextConsumer(Ii.createElement(yt.Consumer,null))?yt:T},[yt,T]),bt=Ar.exports.useContext(Ut),Le=Boolean(Xe.store)&&Boolean(Xe.store.getState)&&Boolean(Xe.store.dispatch);Boolean(bt)&&Boolean(bt.store);var ut=Le?Xe.store:bt.store,At=Ar.exports.useMemo(function(){return ue(ut)},[ut]),st=Ar.exports.useMemo(function(){if(!p)return FK;var kr=lK(ut,Le?null:bt.subscription),qr=kr.notifyNestedSubs.bind(kr);return[kr,qr]},[ut,Le,bt]),Ct=st[0],Lt=st[1],hr=Ar.exports.useMemo(function(){return Le?bt:fu({},bt,{subscription:Ct})},[Le,bt,Ct]),mr=Ar.exports.useReducer(LK,IK,zK),at=mr[0],Gt=at[0],fr=mr[1];if(Gt&&Gt.error)throw Gt.error;var je=Ar.exports.useRef(),Y=Ar.exports.useRef(it),he=Ar.exports.useRef(),J=Ar.exports.useRef(!1),Te=Ie(function(){return he.current&&it===Y.current?he.current:At(ut.getState(),it)},[ut,Gt,it]);QO(DK,[Y,je,J,it,Te,he,Lt]),QO($K,[p,ut,Ct,At,Y,je,J,he,Lt,fr],[ut,Ct,At]);var wt=Ar.exports.useMemo(function(){return su(M,{...Te,ref:Ze})},[Ze,M,Te]),Dt=Ar.exports.useMemo(function(){return p?su(Ut.Provider,{value:hr,children:wt}):wt},[Ut,wt,hr]);return Dt}var De=q?Ii.memo(Ce):Ce;if(De.WrappedComponent=M,De.displayName=Ce.displayName=v,C){var Ye=Ii.forwardRef(function(Et,yt){return su(De,{...Et,reactReduxForwardedRef:yt})});return Ye.displayName=v,Ye.WrappedComponent=M,XO(Ye,M)}return XO(De,M)}}function ZO(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function cx(e,t){if(ZO(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!ZO(e[r[i]],t[r[i]]))return!1;return!0}function jK(e,t){var r={},n=function(o){var l=e[o];typeof l=="function"&&(r[o]=function(){return t(l.apply(void 0,arguments))})};for(var i in e)n(i);return r}function wS(e){return function(r,n){var i=e(r,n);function a(){return i}return a.dependsOnOwnProps=!1,a}}function KO(e){return e.dependsOnOwnProps!==null&&e.dependsOnOwnProps!==void 0?Boolean(e.dependsOnOwnProps):e.length!==1}function m4(e,t){return function(n,i){i.displayName;var a=function(l,f){return a.dependsOnOwnProps?a.mapToProps(l,f):a.mapToProps(l)};return a.dependsOnOwnProps=!0,a.mapToProps=function(l,f){a.mapToProps=e,a.dependsOnOwnProps=KO(e);var c=a(l,f);return typeof c=="function"&&(a.mapToProps=c,a.dependsOnOwnProps=KO(c),c=a(l,f)),c},a}}function UK(e){return typeof e=="function"?m4(e):void 0}function HK(e){return e?void 0:wS(function(t){return{dispatch:t}})}function WK(e){return e&&typeof e=="object"?wS(function(t){return jK(e,t)}):void 0}const GK=[UK,HK,WK];function qK(e){return typeof e=="function"?m4(e):void 0}function VK(e){return e?void 0:wS(function(){return{}})}const YK=[qK,VK];function XK(e,t,r){return fu({},r,e,t)}function QK(e){return function(r,n){n.displayName;var i=n.pure,a=n.areMergedPropsEqual,o=!1,l;return function(c,p,_){var x=e(c,p,_);return o?(!i||!a(x,l))&&(l=x):(o=!0,l=x),l}}}function ZK(e){return typeof e=="function"?QK(e):void 0}function KK(e){return e?void 0:function(){return XK}}const JK=[ZK,KK];var eJ=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function tJ(e,t,r,n){return function(a,o){return r(e(a,o),t(n,o),o)}}function rJ(e,t,r,n,i){var a=i.areStatesEqual,o=i.areOwnPropsEqual,l=i.areStatePropsEqual,f=!1,c,p,_,x,b;function C(P,M){return c=P,p=M,_=e(c,p),x=t(n,p),b=r(_,x,p),f=!0,b}function R(){return _=e(c,p),t.dependsOnOwnProps&&(x=t(n,p)),b=r(_,x,p),b}function E(){return e.dependsOnOwnProps&&(_=e(c,p)),t.dependsOnOwnProps&&(x=t(n,p)),b=r(_,x,p),b}function S(){var P=e(c,p),M=!l(P,_);return _=P,M&&(b=r(_,x,p)),b}function T(P,M){var L=!o(M,p),v=!a(P,c);return c=P,p=M,L&&v?R():L?E():v?S():b}return function(M,L){return f?T(M,L):C(M,L)}}function nJ(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,a=ld(t,eJ),o=r(e,a),l=n(e,a),f=i(e,a),c=a.pure?rJ:tJ;return c(o,l,f,e,a)}var iJ=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function dx(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(a,o){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+o.wrappedComponentName+".")}}function aJ(e,t){return e===t}function oJ(e){var t=e===void 0?{}:e,r=t.connectHOC,n=r===void 0?BK:r,i=t.mapStateToPropsFactories,a=i===void 0?YK:i,o=t.mapDispatchToPropsFactories,l=o===void 0?GK:o,f=t.mergePropsFactories,c=f===void 0?JK:f,p=t.selectorFactory,_=p===void 0?nJ:p;return function(b,C,R,E){E===void 0&&(E={});var S=E,T=S.pure,P=T===void 0?!0:T,M=S.areStatesEqual,L=M===void 0?aJ:M,v=S.areOwnPropsEqual,K=v===void 0?cx:v,q=S.areStatePropsEqual,ue=q===void 0?cx:q,Ie=S.areMergedPropsEqual,Ce=Ie===void 0?cx:Ie,De=ld(S,iJ),Ye=dx(b,a,"mapStateToProps"),Xe=dx(C,l,"mapDispatchToProps"),Et=dx(R,c,"mergeProps");return n(_,fu({methodName:"connect",getDisplayName:function(Ze){return"Connect("+Ze+")"},shouldHandleStateChanges:Boolean(b),initMapStateToProps:Ye,initMapDispatchToProps:Xe,initMergeProps:Et,pure:P,areStatesEqual:L,areOwnPropsEqual:K,areStatePropsEqual:ue,areMergedPropsEqual:Ce},De))}}const y4=oJ();aK(f_.exports.unstable_batchedUpdates);function uJ(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function b4(e,t){var r=Ar.exports.useState(function(){return{inputs:t,result:e()}})[0],n=Ar.exports.useRef(!0),i=Ar.exports.useRef(r),a=n.current||Boolean(t&&i.current.inputs&&uJ(t,i.current.inputs)),o=a?i.current:{inputs:t,result:e()};return Ar.exports.useEffect(function(){n.current=!1,i.current=o},[o]),o.result}function lJ(e,t){return b4(function(){return e},t)}var ta=b4,yi=lJ,sJ=!0,hx="Invariant failed";function fJ(e,t){if(!e){if(sJ)throw new Error(hx);var r=typeof t=="function"?t():t,n=r?hx+": "+r:hx;throw new Error(n)}}var Ic=function(t){var r=t.top,n=t.right,i=t.bottom,a=t.left,o=n-a,l=i-r,f={top:r,right:n,bottom:i,left:a,width:o,height:l,x:a,y:r,center:{x:(n+a)/2,y:(i+r)/2}};return f},x4=function(t,r){return{top:t.top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right}},JO=function(t,r){return{top:t.top+r.top,left:t.left+r.left,bottom:t.bottom-r.bottom,right:t.right-r.right}},cJ=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},px={top:0,right:0,bottom:0,left:0},_S=function(t){var r=t.borderBox,n=t.margin,i=n===void 0?px:n,a=t.border,o=a===void 0?px:a,l=t.padding,f=l===void 0?px:l,c=Ic(x4(r,i)),p=Ic(JO(r,o)),_=Ic(JO(p,f));return{marginBox:c,borderBox:Ic(r),paddingBox:p,contentBox:_,margin:i,border:o,padding:f}},Ja=function(t){var r=t.slice(0,-2),n=t.slice(-2);if(n!=="px")return 0;var i=Number(r);return isNaN(i)&&fJ(!1),i},dJ=function(){return{x:window.pageXOffset,y:window.pageYOffset}},hJ=function(t,r){var n=t.borderBox,i=t.border,a=t.margin,o=t.padding,l=cJ(n,r);return _S({borderBox:l,border:i,margin:a,padding:o})},i_=function(t,r){return r===void 0&&(r=dJ()),hJ(t,r)},w4=function(t,r){var n={top:Ja(r.marginTop),right:Ja(r.marginRight),bottom:Ja(r.marginBottom),left:Ja(r.marginLeft)},i={top:Ja(r.paddingTop),right:Ja(r.paddingRight),bottom:Ja(r.paddingBottom),left:Ja(r.paddingLeft)},a={top:Ja(r.borderTopWidth),right:Ja(r.borderRightWidth),bottom:Ja(r.borderBottomWidth),left:Ja(r.borderLeftWidth)};return _S({borderBox:t,margin:n,padding:i,border:a})},_4=function(t){var r=t.getBoundingClientRect(),n=window.getComputedStyle(t);return w4(r,n)},pJ=function(t){var r=[],n=null,i=function(){for(var o=arguments.length,l=new Array(o),f=0;f<o;f++)l[f]=arguments[f];r=l,!n&&(n=requestAnimationFrame(function(){n=null,t.apply(void 0,r)}))};return i.cancel=function(){!n||(cancelAnimationFrame(n),n=null)},i};const vJ=pJ;function S4(e,t){}S4.bind(null,"warn");S4.bind(null,"error");function gJ(){}function mJ(e,t){return fu({},e,{},t)}function yJ(e,t,r){var n=t.map(function(i){var a=mJ(r,i.options);return e.addEventListener(i.eventName,i.fn,a),function(){e.removeEventListener(i.eventName,i.fn,a)}});return function(){n.forEach(function(a){a()})}}var bJ="Invariant failed";function G0(e){this.message=e}G0.prototype.toString=function(){return this.message};function Ra(e,t){if(!e)throw new G0(bJ)}(function(e){Zp(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.callbacks=null,n.unbind=gJ,n.onWindowError=function(l){var f=n.getCallbacks();f.isDragging()&&f.tryAbort();var c=l.error;c instanceof G0&&l.preventDefault()},n.getCallbacks=function(){if(!n.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return n.callbacks},n.setCallbacks=function(l){n.callbacks=l},n}var r=t.prototype;return r.componentDidMount=function(){this.unbind=yJ(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof G0){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t})(Ii.Component);var vf={x:0,y:0},xJ=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},wJ=function(t,r){return t.x===r.x&&t.y===r.y},_J=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},SJ=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},EJ=function(e,t){var r=Ic({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r},AJ=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},TJ={top:0,right:0,bottom:0,left:0},CJ=function(t,r){return r?AJ(t,r.scroll.diff.displacement):t},OJ=function(t,r,n){if(n&&n.increasedBy){var i;return fu({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},kJ=function(t,r){return r&&r.shouldClipSubject?EJ(r.pageMarginBox,t):Ic(t)},MJ=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,a=CJ(t.marginBox,i),o=OJ(a,n,r),l=kJ(o,i);return{page:t,withPlaceholder:r,active:l}};function E4(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function PJ(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}function A4(e,t){if(e.find)return e.find(t);var r=PJ(e,t);if(r!==-1)return e[r]}Gn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});Gn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});var NJ=Gn(function(e){return E4(e)}),RJ=Gn(function(e){return E4(e)});Gn(function(e,t){var r=RJ(t).filter(function(n){return e===n.descriptor.droppableId}).sort(function(n,i){return n.descriptor.index-i.descriptor.index});return r});function IJ(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}Gn(function(e,t){return t.filter(function(r){return r.descriptor.id!==e.descriptor.id})});var FJ={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},LJ={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};Gn(function(t,r){var n=r[t.line];return{value:n,point:SJ(t.line,n)}});var jg=function(e){var t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null},DJ=function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}},$J=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},SS={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Lp={opacity:{drop:0,combining:.7},scale:{drop:.75}},zJ={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},js=zJ.outOfTheWay+"s "+SS.outOfTheWay,Ug={fluid:"opacity "+js,snap:"transform "+js+", opacity "+js,drop:function(t){var r=t+"s "+SS.drop;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+js,placeholder:"height "+js+", width "+js+", margin "+js},e5=function(t){return wJ(t,vf)?null:"translate("+t.x+"px, "+t.y+"px)"},a_={moveTo:e5,drop:function(t,r){var n=e5(t);return n?r?n+" scale("+Lp.scale.drop+")":n:null}},T4=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,a=xJ({x:r,y:t},{x:i,y:n}),o={x:Math.max(0,a.x),y:Math.max(0,a.y)};return o},BJ=function(){var e=document.documentElement;return e||Ra(!1),e},jJ=function(){var e=BJ(),t=T4({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t};Gn(function(e){return NJ(e).filter(function(t){return!(!t.isEnabled||!t.frame)})});var UJ="data-rbd",t5={contextId:UJ+"-scroll-container-context-id"},fp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Ar.exports.useLayoutEffect:Ar.exports.useEffect,C4=Ii.createContext(null),HJ=0,WJ={separator:"::"};function O4(e,t){return t===void 0&&(t=WJ),ta(function(){return""+e+t.separator+HJ++},[t.separator,e])}var ES=Ii.createContext(null);function GJ(e){var t=Ar.exports.useRef(e);return Ar.exports.useEffect(function(){t.current=e}),t}var qJ=9,VJ=13,YJ=33,XJ=34,QJ=35,ZJ=36,mg;mg={},mg[VJ]=!0,mg[qJ]=!0;(function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=A4(t,function(n){return"on"+n in document});return r||e})();var mc;mc={},mc[XJ]=!0,mc[YJ]=!0,mc[ZJ]=!0,mc[QJ]=!0;(function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=A4(t,function(n){return n in Element.prototype});return r||e})();var k4=function(t){return function(r){return t===r}},KJ=k4("scroll"),JJ=k4("auto"),r5=function(t,r){return r(t.overflowX)||r(t.overflowY)},eee=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return r5(n,KJ)||r5(n,JJ)},tee=function(){return!1},ree=function e(t){return t==null?null:t===document.body?tee()?t:null:t===document.documentElement?null:eee(t)?t:e(t.parentElement)},o_=function(e){return{x:e.scrollLeft,y:e.scrollTop}},nee=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},iee=function(e){var t=ree(e),r=nee(e);return{closestScrollable:t,isFixedOnPage:r}},aee=function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,l=e.page,f=e.closest,c=function(){if(!f)return null;var b=f.scrollSize,C=f.client,R=T4({scrollHeight:b.scrollHeight,scrollWidth:b.scrollWidth,height:C.paddingBox.height,width:C.paddingBox.width});return{pageMarginBox:f.page.marginBox,frameClient:C,scrollSize:b,shouldClipSubject:f.shouldClipSubject,scroll:{initial:f.scroll,current:f.scroll,max:R,diff:{value:vf,displacement:vf}}}}(),p=a==="vertical"?FJ:LJ,_=MJ({page:l,withPlaceholder:null,axis:p,frame:c}),x={descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:p,isEnabled:r,client:o,page:l,frame:c,subject:_};return x},oee=function(t,r){var n=_4(t);if(!r||t!==r)return n;var i=n.paddingBox.top-r.scrollTop,a=n.paddingBox.left-r.scrollLeft,o=i+r.scrollHeight,l=a+r.scrollWidth,f={top:i,right:l,bottom:o,left:a},c=x4(f,n.border),p=_S({borderBox:c,margin:n.margin,border:n.border,padding:n.padding});return p},uee=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,l=e.isCombineEnabled,f=e.shouldClipSubject,c=n.closestScrollable,p=oee(t,c),_=i_(p,i),x=function(){if(!c)return null;var C=_4(c),R={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:C,page:i_(C,i),scroll:o_(c),scrollSize:R,shouldClipSubject:f}}(),b=aee({descriptor:r,isEnabled:!o,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:a,client:p,page:_,closest:x});return b},lee={passive:!1},see={passive:!0},n5=function(e){return e.shouldPublishImmediately?lee:see};function q0(e){var t=Ar.exports.useContext(e);return t||Ra(!1),t}var yg=function(t){return t&&t.env.closestScrollable||null};function fee(e){var t=Ar.exports.useRef(null),r=q0(ES),n=O4("droppable"),i=r.registry,a=r.marshal,o=GJ(e),l=ta(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),f=Ar.exports.useRef(l),c=ta(function(){return Gn(function(M,L){t.current||Ra(!1);var v={x:M,y:L};a.updateDroppableScroll(l.id,v)})},[l.id,a]),p=yi(function(){var M=t.current;return!M||!M.env.closestScrollable?vf:o_(M.env.closestScrollable)},[]),_=yi(function(){var M=p();c(M.x,M.y)},[p,c]),x=ta(function(){return vJ(_)},[_]),b=yi(function(){var M=t.current,L=yg(M);M&&L||Ra(!1);var v=M.scrollOptions;if(v.shouldPublishImmediately){_();return}x()},[x,_]),C=yi(function(M,L){t.current&&Ra(!1);var v=o.current,K=v.getDroppableRef();K||Ra(!1);var q=iee(K),ue={ref:K,descriptor:l,env:q,scrollOptions:L};t.current=ue;var Ie=uee({ref:K,descriptor:l,env:q,windowScroll:M,direction:v.direction,isDropDisabled:v.isDropDisabled,isCombineEnabled:v.isCombineEnabled,shouldClipSubject:!v.ignoreContainerClipping}),Ce=q.closestScrollable;return Ce&&(Ce.setAttribute(t5.contextId,r.contextId),Ce.addEventListener("scroll",b,n5(ue.scrollOptions))),Ie},[r.contextId,l,b,o]),R=yi(function(){var M=t.current,L=yg(M);return M&&L||Ra(!1),o_(L)},[]),E=yi(function(){var M=t.current;M||Ra(!1);var L=yg(M);t.current=null,L&&(x.cancel(),L.removeAttribute(t5.contextId),L.removeEventListener("scroll",b,n5(M.scrollOptions)))},[b,x]),S=yi(function(M){var L=t.current;L||Ra(!1);var v=yg(L);v||Ra(!1),v.scrollTop+=M.y,v.scrollLeft+=M.x},[]),T=ta(function(){return{getDimensionAndWatchScroll:C,getScrollWhileDragging:R,dragStopped:E,scroll:S}},[E,C,R,S]),P=ta(function(){return{uniqueId:n,descriptor:l,callbacks:T}},[T,l,n]);fp(function(){return f.current=P.descriptor,i.droppable.register(P),function(){t.current&&E(),i.droppable.unregister(P)}},[T,l,E,P,a,i.droppable]),fp(function(){!t.current||a.updateDroppableIsEnabled(f.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),fp(function(){!t.current||a.updateDroppableIsCombineEnabled(f.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}function vx(){}var i5={width:0,height:0,margin:TJ},cee=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?i5:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},dee=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,a=cee({isAnimatingOpenOnMount:r,placeholder:n,animate:i});return{display:n.display,boxSizing:"border-box",width:a.width,height:a.height,marginTop:a.margin.top,marginRight:a.margin.right,marginBottom:a.margin.bottom,marginLeft:a.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:i!=="none"?Ug.placeholder:null}};function hee(e){var t=Ar.exports.useRef(null),r=yi(function(){!t.current||(clearTimeout(t.current),t.current=null)},[]),n=e.animate,i=e.onTransitionEnd,a=e.onClose,o=e.contextId,l=Ar.exports.useState(e.animate==="open"),f=l[0],c=l[1];Ar.exports.useEffect(function(){return f?n!=="open"?(r(),c(!1),vx):t.current?vx:(t.current=setTimeout(function(){t.current=null,c(!1)}),r):vx},[n,f,r]);var p=yi(function(x){x.propertyName==="height"&&(i(),n==="close"&&a())},[n,a,i]),_=dee({isAnimatingOpenOnMount:f,animate:e.animate,placeholder:e.placeholder});return Ii.createElement(e.placeholder.tagName,{style:_,"data-rbd-placeholder-context-id":o,onTransitionEnd:p,ref:e.innerRef})}var pee=Ii.memo(hee),AS=Ii.createContext(null),vee=function(e){Zp(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.state={isVisible:Boolean(n.props.on),data:n.props.on,animate:n.props.shouldAnimate&&n.props.on?"open":"none"},n.onClose=function(){n.state.animate==="close"&&n.setState({isVisible:!1})},n}t.getDerivedStateFromProps=function(i,a){return i.shouldAnimate?i.on?{isVisible:!0,data:i.on,animate:"open"}:a.isVisible?{isVisible:!0,data:a.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(i.on),data:i.on,animate:"none"}};var r=t.prototype;return r.render=function(){if(!this.state.isVisible)return null;var i={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(i)},t}(Ii.PureComponent),a5={dragging:5e3,dropAnimating:4500},gee=function(t,r){return r?Ug.drop(r.duration):t?Ug.snap:Ug.fluid},mee=function(t,r){return t?r?Lp.opacity.drop:Lp.opacity.combining:null},yee=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function bee(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,a=e.dropping,o=Boolean(i),l=yee(e),f=Boolean(a),c=f?a_.drop(n,o):a_.moveTo(n),p={position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:gee(l,a),transform:c,opacity:mee(o,f),zIndex:f?a5.dropAnimating:a5.dragging,pointerEvents:"none"};return p}function xee(e){return{transform:a_.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function wee(e){return e.type==="DRAGGING"?bee(e):xee(e)}function _ee(e,t,r){r===void 0&&(r=vf);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=w4(i,n),o=i_(a,r),l={client:a,tagName:t.tagName.toLowerCase(),display:n.display},f={x:a.marginBox.width,y:a.marginBox.height},c={descriptor:e,placeholder:l,displaceBy:f,client:a,page:o};return c}function See(e){var t=O4("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,o=e.shouldRespectForcePress,l=e.isEnabled,f=ta(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:o,isEnabled:l}},[a,l,o]),c=yi(function(b){var C=i();return C||Ra(!1),_ee(r,C,b)},[r,i]),p=ta(function(){return{uniqueId:t,descriptor:r,options:f,getDimension:c}},[r,c,f,t]),_=Ar.exports.useRef(p),x=Ar.exports.useRef(!0);fp(function(){return n.draggable.register(_.current),function(){return n.draggable.unregister(_.current)}},[n.draggable]),fp(function(){if(x.current){x.current=!1;return}var b=_.current;_.current=p,n.draggable.update(p,b)},[p,n.draggable])}function Eee(e){e.preventDefault()}function Aee(e){var t=Ar.exports.useRef(null),r=yi(function(ue){t.current=ue},[]),n=yi(function(){return t.current},[]),i=q0(ES),a=i.contextId,o=i.dragHandleUsageInstructionsId,l=i.registry,f=q0(AS),c=f.type,p=f.droppableId,_=ta(function(){return{id:e.draggableId,index:e.index,type:c,droppableId:p}},[e.draggableId,e.index,c,p]),x=e.children,b=e.draggableId,C=e.isEnabled,R=e.shouldRespectForcePress,E=e.canDragInteractiveElements,S=e.isClone,T=e.mapped,P=e.dropAnimationFinished;if(!S){var M=ta(function(){return{descriptor:_,registry:l,getDraggableRef:n,canDragInteractiveElements:E,shouldRespectForcePress:R,isEnabled:C}},[_,l,n,E,R,C]);See(M)}var L=ta(function(){return C?{tabIndex:0,role:"button","aria-describedby":o,"data-rbd-drag-handle-draggable-id":b,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:Eee}:null},[a,o,b,C]),v=yi(function(ue){T.type==="DRAGGING"&&(!T.dropping||ue.propertyName==="transform"&&P())},[P,T]),K=ta(function(){var ue=wee(T),Ie=T.type==="DRAGGING"&&T.dropping?v:null,Ce={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":b,style:ue,onTransitionEnd:Ie},dragHandleProps:L};return Ce},[a,L,b,T,v,r]),q=ta(function(){return{draggableId:_.id,type:_.type,source:{index:_.index,droppableId:_.droppableId}}},[_.droppableId,_.id,_.index,_.type]);return x(K,T.snapshot,q)}var M4=function(e,t){return e===t},P4=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},Tee=function(t){return t.combine?t.combine.draggableId:null},Cee=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function Oee(){var e=Gn(function(i,a){return{x:i,y:a}}),t=Gn(function(i,a,o,l,f){return{isDragging:!0,isClone:a,isDropAnimating:Boolean(f),dropAnimation:f,mode:i,draggingOver:o,combineWith:l,combineTargetFor:null}}),r=Gn(function(i,a,o,l,f,c,p){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:f,combineWith:c,mode:a,offset:i,dimension:o,forceShouldAnimate:p,snapshot:t(a,l,f,c,null)}}}),n=function(a,o){if(a.isDragging){if(a.critical.draggable.id!==o.draggableId)return null;var l=a.current.client.offset,f=a.dimensions.draggables[o.draggableId],c=jg(a.impact),p=Cee(a.impact),_=a.forceShouldAnimate;return r(e(l.x,l.y),a.movementMode,f,o.isClone,c,p,_)}if(a.phase==="DROP_ANIMATING"){var x=a.completed;if(x.result.draggableId!==o.draggableId)return null;var b=o.isClone,C=a.dimensions.draggables[o.draggableId],R=x.result,E=R.mode,S=P4(R),T=Tee(R),P=a.dropDuration,M={duration:P,curve:SS.drop,moveTo:a.newHomeClientOffset,opacity:T?Lp.opacity.drop:null,scale:T?Lp.scale.drop:null};return{mapped:{type:"DRAGGING",offset:a.newHomeClientOffset,dimension:C,dropping:M,draggingOver:S,combineWith:T,mode:E,forceShouldAnimate:null,snapshot:t(E,b,S,T,M)}}}return null};return n}function N4(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var kee={mapped:{type:"SECONDARY",offset:vf,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:N4(null)}};function Mee(){var e=Gn(function(o,l){return{x:o,y:l}}),t=Gn(N4),r=Gn(function(o,l,f){return l===void 0&&(l=null),{mapped:{type:"SECONDARY",offset:o,combineTargetFor:l,shouldAnimateDisplacement:f,snapshot:t(l)}}}),n=function(l){return l?r(vf,l,!0):null},i=function(l,f,c,p){var _=c.displaced.visible[l],x=Boolean(p.inVirtualList&&p.effected[l]),b=IJ(c),C=b&&b.draggableId===l?f:null;if(!_){if(!x)return n(C);if(c.displaced.invisible[l])return null;var R=_J(p.displacedBy.point),E=e(R.x,R.y);return r(E,C,!0)}if(x)return n(C);var S=c.displacedBy.point,T=e(S.x,S.y);return r(T,C,_.shouldAnimate)},a=function(l,f){if(l.isDragging)return l.critical.draggable.id===f.draggableId?null:i(f.draggableId,l.critical.draggable.id,l.impact,l.afterCritical);if(l.phase==="DROP_ANIMATING"){var c=l.completed;return c.result.draggableId===f.draggableId?null:i(f.draggableId,c.result.draggableId,c.impact,c.afterCritical)}return null};return a}var Pee=function(){var t=Oee(),r=Mee(),n=function(a,o){return t(a,o)||r(a,o)||kee};return n},Nee={dropAnimationFinished:$J},Ree=y4(Pee,Nee,null,{context:C4,pure:!0,areStatePropsEqual:M4})(Aee);function R4(e){var t=q0(AS),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:su(Ree,{...e})}function kte(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return su(R4,{...e,isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n})}function Iee(e){var t=Ar.exports.useContext(ES);t||Ra(!1);var r=t.contextId,n=t.isMovementAllowed,i=Ar.exports.useRef(null),a=Ar.exports.useRef(null),o=e.children,l=e.droppableId,f=e.type,c=e.mode,p=e.direction,_=e.ignoreContainerClipping,x=e.isDropDisabled,b=e.isCombineEnabled,C=e.snapshot,R=e.useClone,E=e.updateViewportMaxScroll,S=e.getContainerForClone,T=yi(function(){return i.current},[]),P=yi(function(Ce){i.current=Ce},[]);yi(function(){return a.current},[]);var M=yi(function(Ce){a.current=Ce},[]),L=yi(function(){n()&&E({maxScroll:jJ()})},[n,E]);fee({droppableId:l,type:f,mode:c,direction:p,isDropDisabled:x,isCombineEnabled:b,ignoreContainerClipping:_,getDroppableRef:T});var v=su(vee,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder,children:function(Ce){var De=Ce.onClose,Ye=Ce.data,Xe=Ce.animate;return su(pee,{placeholder:Ye,onClose:De,innerRef:M,animate:Xe,contextId:r,onTransitionEnd:L})}}),K=ta(function(){return{innerRef:P,placeholder:v,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":r}}},[r,l,v,P]),q=R?R.dragging.draggableId:null,ue=ta(function(){return{droppableId:l,type:f,isUsingCloneFor:q}},[l,q,f]);function Ie(){if(!R)return null;var Ce=R.dragging,De=R.render,Ye=su(R4,{draggableId:Ce.draggableId,index:Ce.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0,children:function(Xe,Et){return De(Xe,Et,Ce)}});return $h.createPortal(Ye,S())}return HV(AS.Provider,{value:ue,children:[o(K,C),Ie()]})}var gx=function(t,r){return t===r.droppable.type},o5=function(t,r){return r.draggables[t.draggable.id]},Fee=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=fu({},t,{shouldAnimatePlaceholder:!1}),n=Gn(function(o){return{draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}}}),i=Gn(function(o,l,f,c,p,_){var x=p.descriptor.id,b=p.descriptor.droppableId===o;if(b){var C=_?{render:_,dragging:n(p.descriptor)}:null,R={isDraggingOver:f,draggingOverWith:f?x:null,draggingFromThisWith:x,isUsingPlaceholder:!0};return{placeholder:p.placeholder,shouldAnimatePlaceholder:!1,snapshot:R,useClone:C}}if(!l)return r;if(!c)return t;var E={isDraggingOver:f,draggingOverWith:x,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:p.placeholder,shouldAnimatePlaceholder:!0,snapshot:E,useClone:null}}),a=function(l,f){var c=f.droppableId,p=f.type,_=!f.isDropDisabled,x=f.renderClone;if(l.isDragging){var b=l.critical;if(!gx(p,b))return r;var C=o5(b,l.dimensions),R=jg(l.impact)===c;return i(c,_,R,R,C,x)}if(l.phase==="DROP_ANIMATING"){var E=l.completed;if(!gx(p,E.critical))return r;var S=o5(E.critical,l.dimensions);return i(c,_,P4(E.result)===c,jg(E.impact)===c,S,x)}if(l.phase==="IDLE"&&l.completed&&!l.shouldFlush){var T=l.completed;if(!gx(p,T.critical))return r;var P=jg(T.impact)===c,M=Boolean(T.impact.at&&T.impact.at.type==="COMBINE"),L=T.critical.droppable.id===c;return P?M?t:r:L?t:r}return r};return a},Lee={updateViewportMaxScroll:DJ};function Dee(){return document.body||Ra(!1),document.body}var $ee={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Dee},zee=y4(Fee,Lee,null,{context:C4,pure:!0,areStatePropsEqual:M4})(Iee);zee.defaultProps=$ee;var Bee=typeof performance=="object"&&typeof performance.now=="function",u5=Bee?function(){return performance.now()}:function(){return Date.now()};function l5(e){cancelAnimationFrame(e.id)}function jee(e,t){var r=u5();function n(){u5()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var yc=null;function s5(e){if(e===void 0&&(e=!1),yc===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?yc="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?yc="negative":yc="positive-ascending"),document.body.removeChild(t),yc}return yc}var Uee=150,Hee=function(t,r){return t};function Wee(e){var t,r,n=e.getItemOffset,i=e.getEstimatedTotalSize,a=e.getItemSize,o=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,f=e.getStopIndexForStartIndex,c=e.initInstanceProps,p=e.shouldResetStyleCacheOnItemSizeChange,_=e.validateProps;return r=t=function(x){Zp(b,x);function b(R){var E;return E=x.call(this,R)||this,E._instanceProps=c(E.props,hg(hg(E))),E._outerRef=void 0,E._resetIsScrollingTimeoutId=null,E.state={instance:hg(hg(E)),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof E.props.initialScrollOffset=="number"?E.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},E._callOnItemsRendered=void 0,E._callOnItemsRendered=Gn(function(S,T,P,M){return E.props.onItemsRendered({overscanStartIndex:S,overscanStopIndex:T,visibleStartIndex:P,visibleStopIndex:M})}),E._callOnScroll=void 0,E._callOnScroll=Gn(function(S,T,P){return E.props.onScroll({scrollDirection:S,scrollOffset:T,scrollUpdateWasRequested:P})}),E._getItemStyle=void 0,E._getItemStyle=function(S){var T=E.props,P=T.direction,M=T.itemSize,L=T.layout,v=E._getItemStyleCache(p&&M,p&&L,p&&P),K;if(v.hasOwnProperty(S))K=v[S];else{var q=n(E.props,S,E._instanceProps),ue=a(E.props,S,E._instanceProps),Ie=P==="horizontal"||L==="horizontal",Ce=P==="rtl",De=Ie?q:0;v[S]=K={position:"absolute",left:Ce?void 0:De,right:Ce?De:void 0,top:Ie?0:q,height:Ie?"100%":ue,width:Ie?ue:"100%"}}return K},E._getItemStyleCache=void 0,E._getItemStyleCache=Gn(function(S,T,P){return{}}),E._onScrollHorizontal=function(S){var T=S.currentTarget,P=T.clientWidth,M=T.scrollLeft,L=T.scrollWidth;E.setState(function(v){if(v.scrollOffset===M)return null;var K=E.props.direction,q=M;if(K==="rtl")switch(s5()){case"negative":q=-M;break;case"positive-descending":q=L-P-M;break}return q=Math.max(0,Math.min(q,L-P)),{isScrolling:!0,scrollDirection:v.scrollOffset<M?"forward":"backward",scrollOffset:q,scrollUpdateWasRequested:!1}},E._resetIsScrollingDebounced)},E._onScrollVertical=function(S){var T=S.currentTarget,P=T.clientHeight,M=T.scrollHeight,L=T.scrollTop;E.setState(function(v){if(v.scrollOffset===L)return null;var K=Math.max(0,Math.min(L,M-P));return{isScrolling:!0,scrollDirection:v.scrollOffset<K?"forward":"backward",scrollOffset:K,scrollUpdateWasRequested:!1}},E._resetIsScrollingDebounced)},E._outerRefSetter=function(S){var T=E.props.outerRef;E._outerRef=S,typeof T=="function"?T(S):T!=null&&typeof T=="object"&&T.hasOwnProperty("current")&&(T.current=S)},E._resetIsScrollingDebounced=function(){E._resetIsScrollingTimeoutId!==null&&l5(E._resetIsScrollingTimeoutId),E._resetIsScrollingTimeoutId=jee(E._resetIsScrolling,Uee)},E._resetIsScrolling=function(){E._resetIsScrollingTimeoutId=null,E.setState({isScrolling:!1},function(){E._getItemStyleCache(-1,null)})},E}b.getDerivedStateFromProps=function(E,S){return Gee(E,S),_(E),null};var C=b.prototype;return C.scrollTo=function(E){E=Math.max(0,E),this.setState(function(S){return S.scrollOffset===E?null:{scrollDirection:S.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},C.scrollToItem=function(E,S){S===void 0&&(S="auto");var T=this.props.itemCount,P=this.state.scrollOffset;E=Math.max(0,Math.min(E,T-1)),this.scrollTo(o(this.props,E,S,P,this._instanceProps))},C.componentDidMount=function(){var E=this.props,S=E.direction,T=E.initialScrollOffset,P=E.layout;if(typeof T=="number"&&this._outerRef!=null){var M=this._outerRef;S==="horizontal"||P==="horizontal"?M.scrollLeft=T:M.scrollTop=T}this._callPropsCallbacks()},C.componentDidUpdate=function(){var E=this.props,S=E.direction,T=E.layout,P=this.state,M=P.scrollOffset,L=P.scrollUpdateWasRequested;if(L&&this._outerRef!=null){var v=this._outerRef;if(S==="horizontal"||T==="horizontal")if(S==="rtl")switch(s5()){case"negative":v.scrollLeft=-M;break;case"positive-ascending":v.scrollLeft=M;break;default:var K=v.clientWidth,q=v.scrollWidth;v.scrollLeft=q-K-M;break}else v.scrollLeft=M;else v.scrollTop=M}this._callPropsCallbacks()},C.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&l5(this._resetIsScrollingTimeoutId)},C.render=function(){var E=this.props,S=E.children,T=E.className,P=E.direction,M=E.height,L=E.innerRef,v=E.innerElementType,K=E.innerTagName,q=E.itemCount,ue=E.itemData,Ie=E.itemKey,Ce=Ie===void 0?Hee:Ie,De=E.layout,Ye=E.outerElementType,Xe=E.outerTagName,Et=E.style,yt=E.useIsScrolling,Ze=E.width,it=this.state.isScrolling,Ut=P==="horizontal"||De==="horizontal",bt=Ut?this._onScrollHorizontal:this._onScrollVertical,Le=this._getRangeToRender(),ut=Le[0],At=Le[1],st=[];if(q>0)for(var Ct=ut;Ct<=At;Ct++)st.push(Ar.exports.createElement(S,{data:ue,key:Ce(Ct,ue),index:Ct,isScrolling:yt?it:void 0,style:this._getItemStyle(Ct)}));var Lt=i(this.props,this._instanceProps);return Ar.exports.createElement(Ye||Xe||"div",{className:T,onScroll:bt,ref:this._outerRefSetter,style:fu({position:"relative",height:M,width:Ze,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:P},Et)},Ar.exports.createElement(v||K||"div",{children:st,ref:L,style:{height:Ut?"100%":Lt,pointerEvents:it?"none":void 0,width:Ut?Lt:"100%"}}))},C._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var E=this.props.itemCount;if(E>0){var S=this._getRangeToRender(),T=S[0],P=S[1],M=S[2],L=S[3];this._callOnItemsRendered(T,P,M,L)}}if(typeof this.props.onScroll=="function"){var v=this.state,K=v.scrollDirection,q=v.scrollOffset,ue=v.scrollUpdateWasRequested;this._callOnScroll(K,q,ue)}},C._getRangeToRender=function(){var E=this.props,S=E.itemCount,T=E.overscanCount,P=this.state,M=P.isScrolling,L=P.scrollDirection,v=P.scrollOffset;if(S===0)return[0,0,0,0];var K=l(this.props,v,this._instanceProps),q=f(this.props,K,v,this._instanceProps),ue=!M||L==="backward"?Math.max(1,T):1,Ie=!M||L==="forward"?Math.max(1,T):1;return[Math.max(0,K-ue),Math.max(0,Math.min(S-1,q+Ie)),K,q]},b}(Ar.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var Gee=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},Mte=Wee({getItemOffset:function(t,r){var n=t.itemSize;return r*n},getItemSize:function(t,r){var n=t.itemSize;return n},getEstimatedTotalSize:function(t){var r=t.itemCount,n=t.itemSize;return n*r},getOffsetForIndexAndAlignment:function(t,r,n,i){var a=t.direction,o=t.height,l=t.itemCount,f=t.itemSize,c=t.layout,p=t.width,_=a==="horizontal"||c==="horizontal",x=_?p:o,b=Math.max(0,l*f-x),C=Math.min(b,r*f),R=Math.max(0,r*f-x+f);switch(n==="smart"&&(i>=R-x&&i<=C+x?n="auto":n="center"),n){case"start":return C;case"end":return R;case"center":{var E=Math.round(R+(C-R)/2);return E<Math.ceil(x/2)?0:E>b+Math.floor(x/2)?b:E}case"auto":default:return i>=R&&i<=C?i:i<R?R:C}},getStartIndexForOffset:function(t,r){var n=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(t,r,n){var i=t.direction,a=t.height,o=t.itemCount,l=t.itemSize,f=t.layout,c=t.width,p=i==="horizontal"||f==="horizontal",_=r*l,x=p?c:a,b=Math.ceil((x+n-_)/l);return Math.max(0,Math.min(o-1,r+b-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}}),qee=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Vee=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Yee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xee=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},f5=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Qee=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var l=t[Symbol.iterator](),f;!(i=(f=l.next()).done)&&(n.push(f.value),!(r&&n.length===r));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&l.return&&l.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),io=void 0;typeof window<"u"?io=window:typeof self<"u"?io=self:io=global;var u_=null,l_=null,c5=20,mx=io.clearTimeout,d5=io.setTimeout,yx=io.cancelAnimationFrame||io.mozCancelAnimationFrame||io.webkitCancelAnimationFrame,h5=io.requestAnimationFrame||io.mozRequestAnimationFrame||io.webkitRequestAnimationFrame;yx==null||h5==null?(u_=mx,l_=function(t){return d5(t,c5)}):(u_=function(t){var r=Qee(t,2),n=r[0],i=r[1];yx(n),mx(i)},l_=function(t){var r=h5(function(){mx(n),t()}),n=d5(function(){yx(r),t()},c5);return[r,n]});function Zee(e){var t=void 0,r=void 0,n=void 0,i=void 0,a=void 0,o=void 0,l=void 0,f=typeof document<"u"&&document.attachEvent;if(!f){o=function(M){var L=M.__resizeTriggers__,v=L.firstElementChild,K=L.lastElementChild,q=v.firstElementChild;K.scrollLeft=K.scrollWidth,K.scrollTop=K.scrollHeight,q.style.width=v.offsetWidth+1+"px",q.style.height=v.offsetHeight+1+"px",v.scrollLeft=v.scrollWidth,v.scrollTop=v.scrollHeight},a=function(M){return M.offsetWidth!==M.__resizeLast__.width||M.offsetHeight!==M.__resizeLast__.height},l=function(M){if(!(M.target.className&&typeof M.target.className.indexOf=="function"&&M.target.className.indexOf("contract-trigger")<0&&M.target.className.indexOf("expand-trigger")<0)){var L=this;o(this),this.__resizeRAF__&&u_(this.__resizeRAF__),this.__resizeRAF__=l_(function(){a(L)&&(L.__resizeLast__.width=L.offsetWidth,L.__resizeLast__.height=L.offsetHeight,L.__resizeListeners__.forEach(function(q){q.call(L,M)}))})}};var c=!1,p="";n="animationstart";var _="Webkit Moz O ms".split(" "),x="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),b="";{var C=document.createElement("fakeelement");if(C.style.animationName!==void 0&&(c=!0),c===!1){for(var R=0;R<_.length;R++)if(C.style[_[R]+"AnimationName"]!==void 0){b=_[R],p="-"+b.toLowerCase()+"-",n=x[R],c=!0;break}}}r="resizeanim",t="@"+p+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",i=p+"animation: 1ms "+r+"; "}var E=function(M){if(!M.getElementById("detectElementResize")){var L=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',v=M.head||M.getElementsByTagName("head")[0],K=M.createElement("style");K.id="detectElementResize",K.type="text/css",e!=null&&K.setAttribute("nonce",e),K.styleSheet?K.styleSheet.cssText=L:K.appendChild(M.createTextNode(L)),v.appendChild(K)}},S=function(M,L){if(f)M.attachEvent("onresize",L);else{if(!M.__resizeTriggers__){var v=M.ownerDocument,K=io.getComputedStyle(M);K&&K.position==="static"&&(M.style.position="relative"),E(v),M.__resizeLast__={},M.__resizeListeners__=[],(M.__resizeTriggers__=v.createElement("div")).className="resize-triggers";var q=v.createElement("div");q.className="expand-trigger",q.appendChild(v.createElement("div"));var ue=v.createElement("div");ue.className="contract-trigger",M.__resizeTriggers__.appendChild(q),M.__resizeTriggers__.appendChild(ue),M.appendChild(M.__resizeTriggers__),o(M),M.addEventListener("scroll",l,!0),n&&(M.__resizeTriggers__.__animationListener__=function(Ce){Ce.animationName===r&&o(M)},M.__resizeTriggers__.addEventListener(n,M.__resizeTriggers__.__animationListener__))}M.__resizeListeners__.push(L)}},T=function(M,L){if(f)M.detachEvent("onresize",L);else if(M.__resizeListeners__.splice(M.__resizeListeners__.indexOf(L),1),!M.__resizeListeners__.length){M.removeEventListener("scroll",l,!0),M.__resizeTriggers__.__animationListener__&&(M.__resizeTriggers__.removeEventListener(n,M.__resizeTriggers__.__animationListener__),M.__resizeTriggers__.__animationListener__=null);try{M.__resizeTriggers__=!M.removeChild(M.__resizeTriggers__)}catch{}}};return{addResizeListener:S,removeResizeListener:T}}var Kee=function(e){Xee(t,e);function t(){var r,n,i,a;qee(this,t);for(var o=arguments.length,l=Array(o),f=0;f<o;f++)l[f]=arguments[f];return a=(n=(i=f5(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(l))),i),i.state={height:i.props.defaultHeight||0,width:i.props.defaultWidth||0},i._onResize=function(){var c=i.props,p=c.disableHeight,_=c.disableWidth,x=c.onResize;if(i._parentNode){var b=i._parentNode.offsetHeight||0,C=i._parentNode.offsetWidth||0,R=window.getComputedStyle(i._parentNode)||{},E=parseInt(R.paddingLeft,10)||0,S=parseInt(R.paddingRight,10)||0,T=parseInt(R.paddingTop,10)||0,P=parseInt(R.paddingBottom,10)||0,M=b-T-P,L=C-E-S;(!p&&i.state.height!==M||!_&&i.state.width!==L)&&(i.setState({height:b-T-P,width:C-E-S}),x({height:b,width:C}))}},i._setRef=function(c){i._autoSizer=c},n),f5(i,a)}return Vee(t,[{key:"componentDidMount",value:function(){var n=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=Zee(n),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var n=this.props,i=n.children,a=n.className,o=n.disableHeight,l=n.disableWidth,f=n.style,c=this.state,p=c.height,_=c.width,x={overflow:"visible"},b={},C=!1;return o||(p===0&&(C=!0),x.height=0,b.height=p),l||(_===0&&(C=!0),x.width=0,b.width=_),Ar.exports.createElement("div",{className:a,ref:this._setRef,style:Yee({},x,f)},!C&&i(b))}}]),t}(Ar.exports.PureComponent);Kee.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var Jee=typeof Jr=="object"&&Jr&&Jr.Object===Object&&Jr,ete=typeof self=="object"&&self&&self.Object===Object&&self,tte=Jee||ete||Function("return this")(),p5=tte.Symbol;p5&&p5.isConcatSpreadable;export{Ete as $,Ur as A,xte as B,Gn as C,nte as D,su as E,Ste as F,_te as G,Tte as H,Ate as I,HV as J,$h as K,jm as L,wte as M,Ote as N,Kee as O,Cte as P,Mte as Q,Ii as R,kte as S,zee as T,b2 as U,ate as a,fte as b,cte as c,V$ as d,XP as e,ote as f,ute as g,lte as h,T2 as i,P9 as j,dte as k,pm as l,ste as m,aN as n,BN as o,iN as p,pte as q,ite as r,hte as s,jB as t,vte as u,gte as v,mte as w,yte as x,bte as y,Ar as z};
|
|
1184
|
+
//# sourceMappingURL=vendor.420e3eae.js.map
|