tocco-admin 3.15.44 → 3.15.45
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/changelog.md +3 -0
- package/dist/{chunk-10759.ff807aa9c9f071d90528.js → chunk-10759.05900ad2677fec6ec9eb.js} +1 -1
- package/dist/{chunk-12043.4399c43af01c9712026f.js → chunk-12043.80ef2a234d1c5d2aca4f.js} +1 -1
- package/dist/chunk-12553.443d851862db88ece35c.js +1 -0
- package/dist/{chunk-18212.3bedc045c32818f9d4b2.js → chunk-18212.4d11e6667840e89a9282.js} +1 -1
- package/dist/{chunk-27136.7c35bed0a1d008310304.js → chunk-27136.8c07cb3673d61f3a2675.js} +1 -1
- package/dist/{chunk-actions.9d29eff3ea1ffbec863e.js → chunk-actions.dc18f34dc974e1c4ac43.js} +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-61115.99cb83e5b98dd794050e.js +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[61115],{71764(e,t,r){r.d(t,{A:()=>C});var n=r(4883),i=r.n(n),o=r(5556),s=r.n(o),l="undefined"!=typeof window?window:null,a=null===l,c=a?void 0:l.document,u="addEventListener",f="removeEventListener",d="getBoundingClientRect",p="_a",h="_b",m="_c",g="horizontal",v=function(){return!1},S=a?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var t=c.createElement("div");return t.style.cssText="width:"+e+"calc(9px)",!!t.style.length})).shift()+"calc",y=function(e){return"string"==typeof e||e instanceof String},z=function(e){if(y(e)){var t=c.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},b=function(e,t,r){var n=e[t];return void 0!==n?n:r},_=function(e,t,r,n){if(t){if("end"===n)return 0;if("center"===n)return e/2}else if(r){if("start"===n)return 0;if("center"===n)return e/2}return e},O=function(e,t){var r=c.createElement("div");return r.className="gutter gutter-"+t,r},w=function(e,t,r){var n={};return y(t)?n[e]=t:n[e]=S+"("+t+"% - "+r+"px)",n},I=function(e,t){var r;return(r={})[e]=t+"px",r};const x=function(e,t){if(void 0===t&&(t={}),a)return{};var r,n,i,o,s,S,y=e;Array.from&&(y=Array.from(y));var x=z(y[0]).parentNode,A=getComputedStyle?getComputedStyle(x):null,T=A?A.flexDirection:null,C=b(t,"sizes")||y.map((function(){return 100/y.length})),M=b(t,"minSize",100),D=Array.isArray(M)?M:y.map((function(){return M})),E=b(t,"maxSize",1/0),R=Array.isArray(E)?E:y.map((function(){return E})),k=b(t,"expandToMin",!1),P=b(t,"gutterSize",10),F=b(t,"gutterAlign","center"),U=b(t,"snapOffset",30),W=Array.isArray(U)?U:y.map((function(){return U})),q=b(t,"dragInterval",1),N=b(t,"direction",g),L=b(t,"cursor",N===g?"col-resize":"row-resize"),j=b(t,"gutter",O),H=b(t,"elementStyle",w),B=b(t,"gutterStyle",I);function G(e,t,n,i){var o=H(r,t,n,i);Object.keys(o).forEach((function(t){e.style[t]=o[t]}))}function V(){return S.map((function(e){return e.size}))}function Y(e){return"touches"in e?e.touches[0][n]:e[n]}function K(e){var t=S[this.a],r=S[this.b],n=t.size+r.size;t.size=e/this.size*n,r.size=n-e/this.size*n,G(t.element,t.size,this[h],t.i),G(r.element,r.size,this[m],r.i)}function X(e){var r,n=S[this.a],i=S[this.b];this.dragging&&(r=Y(e)-this.start+(this[h]-this.dragOffset),q>1&&(r=Math.round(r/q)*q),r<=n.minSize+n.snapOffset+this[h]?r=n.minSize+this[h]:r>=this.size-(i.minSize+i.snapOffset+this[m])&&(r=this.size-(i.minSize+this[m])),r>=n.maxSize-n.snapOffset+this[h]?r=n.maxSize+this[h]:r<=this.size-(i.maxSize-i.snapOffset+this[m])&&(r=this.size-(i.maxSize+this[m])),K.call(this,r),b(t,"onDrag",v)(V()))}function J(){var e=S[this.a].element,t=S[this.b].element,n=e[d](),s=t[d]();this.size=n[r]+s[r]+this[h]+this[m],this.start=n[i],this.end=n[o]}function Q(e){var t=function(e){if(!getComputedStyle)return null;var t=getComputedStyle(e);if(!t)return null;var r=e[s];return 0===r?null:r-=N===g?parseFloat(t.paddingLeft)+parseFloat(t.paddingRight):parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)}(x);if(null===t)return e;if(D.reduce((function(e,t){return e+t}),0)>t)return e;var r=0,n=[],i=e.map((function(i,o){var s=t*i/100,l=_(P,0===o,o===e.length-1,F),a=D[o]+l;return s<a?(r+=a-s,n.push(0),a):(n.push(s-a),s)}));return 0===r?e:i.map((function(e,i){var o=e;if(r>0&&n[i]-r>0){var s=Math.min(r,n[i]-r);r-=s,o=e-s}return o/t*100}))}function Z(){var e=this,r=S[e.a].element,n=S[e.b].element;e.dragging&&b(t,"onDragEnd",v)(V()),e.dragging=!1,l[f]("mouseup",e.stop),l[f]("touchend",e.stop),l[f]("touchcancel",e.stop),l[f]("mousemove",e.move),l[f]("touchmove",e.move),e.stop=null,e.move=null,r[f]("selectstart",v),r[f]("dragstart",v),n[f]("selectstart",v),n[f]("dragstart",v),r.style.userSelect="",r.style.webkitUserSelect="",r.style.MozUserSelect="",r.style.pointerEvents="",n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",e.gutter.style.cursor="",e.parent.style.cursor="",c.body.style.cursor=""}function $(e){if(!("button"in e)||0===e.button){var r=this,n=S[r.a].element,i=S[r.b].element;r.dragging||b(t,"onDragStart",v)(V()),e.preventDefault(),r.dragging=!0,r.move=X.bind(r),r.stop=Z.bind(r),l[u]("mouseup",r.stop),l[u]("touchend",r.stop),l[u]("touchcancel",r.stop),l[u]("mousemove",r.move),l[u]("touchmove",r.move),n[u]("selectstart",v),n[u]("dragstart",v),i[u]("selectstart",v),i[u]("dragstart",v),n.style.userSelect="none",n.style.webkitUserSelect="none",n.style.MozUserSelect="none",n.style.pointerEvents="none",i.style.userSelect="none",i.style.webkitUserSelect="none",i.style.MozUserSelect="none",i.style.pointerEvents="none",r.gutter.style.cursor=L,r.parent.style.cursor=L,c.body.style.cursor=L,J.call(r),r.dragOffset=Y(e)-r.end}}N===g?(r="width",n="clientX",i="left",o="right",s="clientWidth"):"vertical"===N&&(r="height",n="clientY",i="top",o="bottom",s="clientHeight"),C=Q(C);var ee=[];function te(e){var t=e.i===ee.length,r=t?ee[e.i-1]:ee[e.i];J.call(r);var n=t?r.size-e.minSize-r[m]:e.minSize+r[h];K.call(r,n)}return(S=y.map((function(e,t){var n,i={element:z(e),size:C[t],minSize:D[t],maxSize:R[t],snapOffset:W[t],i:t};if(t>0&&((n={a:t-1,b:t,dragging:!1,direction:N,parent:x})[h]=_(P,t-1==0,!1,F),n[m]=_(P,!1,t===y.length-1,F),"row-reverse"===T||"column-reverse"===T)){var o=n.a;n.a=n.b,n.b=o}if(t>0){var s=j(t,N,i.element);!function(e,t,n){var i=B(r,t,n);Object.keys(i).forEach((function(t){e.style[t]=i[t]}))}(s,P,t),n[p]=$.bind(n),s[u]("mousedown",n[p]),s[u]("touchstart",n[p]),x.insertBefore(s,i.element),n.gutter=s}return G(i.element,i.size,_(P,0===t,t===y.length-1,F),t),t>0&&ee.push(n),i}))).forEach((function(e){var t=e.element[d]()[r];t<e.minSize&&(k?te(e):e.minSize=t)})),{setSizes:function(e){var t=Q(e);t.forEach((function(e,r){if(r>0){var n=ee[r-1],i=S[n.a],o=S[n.b];i.size=t[r-1],o.size=e,G(i.element,i.size,n[h],i.i),G(o.element,o.size,n[m],o.i)}}))},getSizes:V,collapse:function(e){te(S[e])},destroy:function(e,t){ee.forEach((function(n){if(!0!==t?n.parent.removeChild(n.gutter):(n.gutter[f]("mousedown",n[p]),n.gutter[f]("touchstart",n[p])),!0!==e){var i=H(r,n.a.size,n[h]);Object.keys(i).forEach((function(e){S[n.a].element.style[e]="",S[n.b].element.style[e]=""}))}}))},parent:x,pairs:ee}};function A(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===t.indexOf(n)&&(r[n]=e[n]);return r}var T=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){var e=this.props;e.children;var t=e.gutter,r=A(e,["children","gutter"]);r.gutter=function(e,r){var n;return t?n=t(e,r):(n=document.createElement("div")).className="gutter gutter-"+r,n.__isSplitGutter=!0,n},this.split=x(this.parent.children,r)},t.prototype.componentDidUpdate=function(e){var t=this,r=this.props;r.children;var n=r.minSize,i=r.sizes,o=r.collapsed,s=A(r,["children","minSize","sizes","collapsed"]),l=e.minSize,a=e.sizes,c=e.collapsed,u=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"].map((function(r){return t.props[r]!==e[r]})).reduce((function(e,t){return e||t}),!1);if(Array.isArray(n)&&Array.isArray(l)){var f=!1;n.forEach((function(e,t){f=f||e!==l[t]})),u=u||f}else u=!(!Array.isArray(n)&&!Array.isArray(l))||(u||n!==l);if(u)s.minSize=n,s.sizes=i||this.split.getSizes(),this.split.destroy(!0,!0),s.gutter=function(e,t,r){return r.previousSibling},this.split=x(Array.from(this.parent.children).filter((function(e){return!e.__isSplitGutter})),s);else if(i){var d=!1;i.forEach((function(e,t){d=d||e!==a[t]})),d&&this.split.setSizes(this.props.sizes)}Number.isInteger(o)&&(o!==c||u)&&this.split.collapse(o)},t.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},t.prototype.render=function(){var e=this,t=this.props;t.sizes,t.minSize,t.maxSize,t.expandToMin,t.gutterSize,t.gutterAlign,t.snapOffset,t.dragInterval,t.direction,t.cursor,t.gutter,t.elementStyle,t.gutterStyle,t.onDrag,t.onDragStart,t.onDragEnd,t.collapsed;var r=t.children,n=A(t,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]);return i().createElement("div",Object.assign({},{ref:function(t){e.parent=t}},n),r)},t}(i().Component);T.propTypes={sizes:s().arrayOf(s().number),minSize:s().oneOfType([s().number,s().arrayOf(s().number)]),maxSize:s().oneOfType([s().number,s().arrayOf(s().number)]),expandToMin:s().bool,gutterSize:s().number,gutterAlign:s().string,snapOffset:s().oneOfType([s().number,s().arrayOf(s().number)]),dragInterval:s().number,direction:s().string,cursor:s().string,gutter:s().func,elementStyle:s().func,gutterStyle:s().func,onDrag:s().func,onDragStart:s().func,onDragEnd:s().func,collapsed:s().number,children:s().arrayOf(s().element)},T.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};const C=T},92950(e,t,r){function n(){return n=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},n.apply(this,arguments)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,{Y1:()=>z});var s=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function l(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(n=e[r],i=t[r],!(n===i||s(n)&&s(i)))return!1;var n,i;return!0}const a=function(e,t){var r;void 0===t&&(t=l);var n,i=[],o=!1;return function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return o&&r===this&&t(s,i)||(n=e.apply(this,s),o=!0,r=this,i=s),n}};var c=r(4883),u="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function f(e){cancelAnimationFrame(e.id)}function d(e,t){var r=u();var n={id:requestAnimationFrame((function i(){u()-r>=t?e.call(null):n.id=requestAnimationFrame(i)}))};return n}var p=-1;function h(e){if(void 0===e&&(e=!1),-1===p||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),p=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return p}var m=null;function g(e){if(void 0===e&&(e=!1),null===m||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?m="positive-descending":(t.scrollLeft=1,m=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),m}return m}var v=function(e,t){return e};function S(e){var t,r=e.getItemOffset,s=e.getEstimatedTotalSize,l=e.getItemSize,u=e.getOffsetForIndexAndAlignment,p=e.getStartIndexForOffset,m=e.getStopIndexForStartIndex,S=e.initInstanceProps,z=e.shouldResetStyleCacheOnItemSizeChange,b=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=S(n.props,i(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:i(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=a((function(e,t,r,i){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=a((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,o=i.direction,s=i.itemSize,a=i.layout,c=n._getItemStyleCache(z&&s,z&&a,z&&o);if(c.hasOwnProperty(e))t=c[e];else{var u=r(n.props,e,n._instanceProps),f=l(n.props,e,n._instanceProps),d="horizontal"===o||"horizontal"===a,p="rtl"===o,h=d?u:0;c[e]=t={position:"absolute",left:p?void 0:h,right:p?h:void 0,top:d?0:u,height:d?"100%":f,width:d?f:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=a((function(e,t,r){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,i=t.scrollLeft,o=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===i)return null;var t=n.props.direction,s=i;if("rtl"===t)switch(g()){case"negative":s=-i;break;case"positive-descending":s=o-r-i}return s=Math.max(0,Math.min(s,o-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<s?"forward":"backward",scrollOffset:s,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,i=t.scrollHeight,o=t.scrollTop;n.setState((function(e){if(e.scrollOffset===o)return null;var t=Math.max(0,Math.min(o,i-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&f(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=d(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}o(t,e),t.getDerivedStateFromProps=function(e,t){return y(e,t),b(e),null};var _=t.prototype;return _.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},_.scrollToItem=function(e,t){void 0===t&&(t="auto");var r=this.props,n=r.itemCount,i=r.layout,o=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1));var s=0;if(this._outerRef){var l=this._outerRef;s="vertical"===i?l.scrollWidth>l.clientWidth?h():0:l.scrollHeight>l.clientHeight?h():0}this.scrollTo(u(this.props,e,t,o,this._instanceProps,s))},_.componentDidMount=function(){var e=this.props,t=e.direction,r=e.initialScrollOffset,n=e.layout;if("number"==typeof r&&null!=this._outerRef){var i=this._outerRef;"horizontal"===t||"horizontal"===n?i.scrollLeft=r:i.scrollTop=r}this._callPropsCallbacks()},_.componentDidUpdate=function(){var e=this.props,t=e.direction,r=e.layout,n=this.state,i=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("horizontal"===t||"horizontal"===r)if("rtl"===t)switch(g()){case"negative":o.scrollLeft=-i;break;case"positive-ascending":o.scrollLeft=i;break;default:var s=o.clientWidth,l=o.scrollWidth;o.scrollLeft=l-s-i}else o.scrollLeft=i;else o.scrollTop=i}this._callPropsCallbacks()},_.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&f(this._resetIsScrollingTimeoutId)},_.render=function(){var e=this.props,t=e.children,r=e.className,i=e.direction,o=e.height,l=e.innerRef,a=e.innerElementType,u=e.innerTagName,f=e.itemCount,d=e.itemData,p=e.itemKey,h=void 0===p?v:p,m=e.layout,g=e.outerElementType,S=e.outerTagName,y=e.style,z=e.useIsScrolling,b=e.width,_=this.state.isScrolling,O="horizontal"===i||"horizontal"===m,w=O?this._onScrollHorizontal:this._onScrollVertical,I=this._getRangeToRender(),x=I[0],A=I[1],T=[];if(f>0)for(var C=x;C<=A;C++)T.push((0,c.createElement)(t,{data:d,key:h(C,d),index:C,isScrolling:z?_:void 0,style:this._getItemStyle(C)}));var M=s(this.props,this._instanceProps);return(0,c.createElement)(g||S||"div",{className:r,onScroll:w,ref:this._outerRefSetter,style:n({position:"relative",height:o,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},y)},(0,c.createElement)(a||u||"div",{children:T,ref:l,style:{height:O?"100%":M,pointerEvents:_?"none":void 0,width:O?M:"100%"}}))},_._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],r=e[1],n=e[2],i=e[3];this._callOnItemsRendered(t,r,n,i)}if("function"==typeof this.props.onScroll){var o=this.state,s=o.scrollDirection,l=o.scrollOffset,a=o.scrollUpdateWasRequested;this._callOnScroll(s,l,a)}},_._getRangeToRender=function(){var e=this.props,t=e.itemCount,r=e.overscanCount,n=this.state,i=n.isScrolling,o=n.scrollDirection,s=n.scrollOffset;if(0===t)return[0,0,0,0];var l=p(this.props,s,this._instanceProps),a=m(this.props,l,s,this._instanceProps),c=i&&"backward"!==o?1:Math.max(1,r),u=i&&"forward"!==o?1:Math.max(1,r);return[Math.max(0,l-c),Math.max(0,Math.min(t-1,a+u)),l,a]},t}(c.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var y=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},z=S({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,r,n,i,o){var s=e.direction,l=e.height,a=e.itemCount,c=e.itemSize,u=e.layout,f=e.width,d="horizontal"===s||"horizontal"===u?f:l,p=Math.max(0,a*c-d),h=Math.min(p,t*c),m=Math.max(0,t*c-d+c+o);switch("smart"===r&&(r=n>=m-d&&n<=h+d?"auto":"center"),r){case"start":return h;case"end":return m;case"center":var g=Math.round(m+(h-m)/2);return g<Math.ceil(d/2)?0:g>p+Math.floor(d/2)?p:g;default:return n>=m&&n<=h?n:n<m?m:h}},getStartIndexForOffset:function(e,t){var r=e.itemCount,n=e.itemSize;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getStopIndexForStartIndex:function(e,t,r){var n=e.direction,i=e.height,o=e.itemCount,s=e.itemSize,l=e.layout,a=e.width,c=t*s,u="horizontal"===n||"horizontal"===l?a:i,f=Math.ceil((u+r-c)/s);return Math.max(0,Math.min(o-1,t+f-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}})},29756(e,t,r){r.d(t,{A:()=>o});var n=r(48648);var i=r(4069);const o=(s=i.A,function(e,t){var r=(0,n.A)(s)(e,t);return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return!r.apply(void 0,[e].concat(n))}});var s},52600(e,t,r){r.d(t,{pg:()=>s});var n=r(35570),i=r(4883),o=r(81845);function s(e){return i.createElement(n.pg,{flushSync:o.flushSync,...e})}(0,n.q6)()},19169(e,t,r){r(4883);let n;n=typeof window<"u"?window:typeof self<"u"?self:r.g;let i=null,o=null;const s=n.clearTimeout,l=n.setTimeout,a=n.cancelAnimationFrame||n.mozCancelAnimationFrame||n.webkitCancelAnimationFrame,c=n.requestAnimationFrame||n.mozRequestAnimationFrame||n.webkitRequestAnimationFrame;null==a||null==c?(i=s,o=function(e){return l(e,20)}):(i=function([e,t]){a(e),s(t)},o=function(e){const t=c((function(){s(r),e()})),r=l((function(){a(t),e()}),20);return[t,r]})}}]);
|