PageSourceSearch

https://www.ukcybersecuritycouncil.org.uk/_next/static/chunks/1487-995bdc703206ff42.js

js ukcybersecuritycouncil.org.uk collected 2026-10-02 15:05:46 UTC 20,192 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1487],{63:(e,t,n)=>{var i=n(7260);n.o(i,"useParams")&&n.d(t,{useParams:function(){return i.useParams}}),n.o(i,"usePathname")&&n.d(t,{usePathname:function(){return i.usePathname}}),n.o(i,"useRouter")&&n.d(t,{useRouter:function(){return i.useRouter}}),n.o(i,"useSearchParams")&&n.d(t,{useSearchParams:function(){return i.useSearchParams}})},1714:(e,t,n)=>{n.d(t,{u:()=>G,K:()=>L});var i=n(2115),r=n(7650),o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},a=function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},d=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},l="object"==typeof s&&s&&s.Object===Object&&s,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),f=/\s/,p=function(e){for(var t=e.length;t--&&f.test(e.charAt(t)););return t},h=/^\s+/,v=u.Symbol,S=Object.prototype,m=S.hasOwnProperty,g=S.toString,y=v?v.toStringTag:void 0,b=Object.prototype.toString,x=function(e){var t=m.call(e,y),n=e[y];try{e[y]=void 0;var i=!0}catch(e){}var r=g.call(e);return i&&(t?e[y]=n:delete e[y]),r},w=v?v.toStringTag:void 0,I=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":w&&w in Object(e)?x(e):b.call(e)},O=function(e){return"symbol"==typeof e||null!=e&&"object"==typeof e&&"[object Symbol]"==I(e)},T=0/0,P=/^[-+]0x[0-9a-f]+$/i,R=/^0b[01]+$/i,M=/^0o[0-7]+$/i,E=parseInt,j=function(){return u.Date.now()},C=function(e){if("number"==typeof e)return e;if(O(e))return T;if(d(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=d(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,p(t)+1).replace(h,""):t;var i=R.test(e);return i||M.test(e)?E(e.slice(2),i?2:8):P.test(e)?T:+e},D=Math.max,z=Math.min,k=function(e,t,n){var i,r,o,a,s,l,c=0,u=!1,f=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function h(t){var n=i,o=r;return i=r=void 0,c=t,a=e.apply(o,n)}function v(e){var n=e-l,i=e-c;return void 0===l||n>=t||n<0||f&&i>=o}function S(){var e,n,i,r=j();if(v(r))return m(r);s=setTimeout(S,(e=r-l,n=r-c,i=t-e,f?z(i,o-n):i))}function m(e){return(s=void 0,p&&i)?h(e):(i=r=void 0,a)}function g(){var e,n=j(),o=v(n);if(i=arguments,r=this,l=n,o){if(void 0===s)return c=e=l,s=setTimeout(S,t),u?h(e):a;if(f)return clearTimeout(s),s=setTimeout(S,t),h(l)}return void 0===s&&(s=setTimeout(S,t)),a}return t=C(t)||0,d(n)&&(u=!!n.leading,o=(f="maxWait"in n)?D(C(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),g.cancel=function(){void 0!==s&&clearTimeout(s),c=0,i=l=r=s=void 0},g.flush=function(){return void 0===s?a:m(j())},g},A=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw TypeError("Expected a function");return d(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),k(e,t,{leading:i,maxWait:t,trailing:r})},W=function(e,t,n,i){switch(t){case"debounce":return k(e,n,i);case"throttle":return A(e,n,i);default:return e}},V=function(e){return"function"==typeof e},_=function(){return"undefined"==typeof window},H=function(e){return e instanceof Element||e instanceof HTMLDocument},X=function(e,t,n,i){return function(r){var o=r.width,a=r.height;t(function(t){return(t.width!==o||t.height!==a)&&(t.width!==o||i)&&(t.height!==a||n)?(e&&V(e)&&e(o,a),{width:o,height:a}):t})}};!function(e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=n}function n(t){var n=e.call(this,t)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var e=n.props,t=e.targetRef,i=e.observerOptions;if(!_()){t&&t.current&&(n.targetRef.current=t.current);var r=n.getElement();r&&(n.observableElement&&n.observableElement===r||(n.observableElement=r,n.resizeObserver.observe(r,i)))}},n.getElement=function(){var e=n.props,t=e.querySelector,i=e.targetDomEl;if(_())return null;if(t)return document.querySelector(t);if(i&&H(i))return i;if(n.targetRef&&H(n.targetRef.current))return n.targetRef.current;
1var o=(0,r.findDOMNode)(n);if(!o)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return o;default:return o.parentElement}},n.createResizeHandler=function(e){var t=n.props,i=t.handleWidth,r=void 0===i||i,o=t.handleHeight,a=void 0===o||o,s=t.onResize;if(r||a){var d=X(s,n.setState.bind(n),r,a);e.forEach(function(e){var t=e&&e.contentRect||{},i=t.width,r=t.height;n.skipOnMount||_()||d({width:i,height:r}),n.skipOnMount=!1})}},n.getRenderType=function(){var e=n.props,t=e.render,r=e.children;return V(t)?"renderProp":V(r)?"childFunction":(0,i.isValidElement)(r)?"child":Array.isArray(r)?"childArray":"parent"};var o=t.skipOnMount,a=t.refreshMode,s=t.refreshRate,d=t.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=o,n.targetRef=(0,i.createRef)(),n.observableElement=null,_()||(n.resizeHandler=W(n.createResizeHandler,a,void 0===s?1e3:s,d),n.resizeObserver=new window.ResizeObserver(n.resizeHandler)),n}o(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),n.prototype.componentDidMount=function(){this.attachObserver()},n.prototype.componentDidUpdate=function(){this.attachObserver()},n.prototype.componentWillUnmount=function(){_()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},n.prototype.render=function(){var e,t=this.props,n=t.render,r=t.children,o=t.nodeType,a=this.state,s={width:a.width,height:a.height,targetRef:this.targetRef};switch(this.getRenderType()){case"renderProp":return n&&n(s);case"childFunction":return(e=r)(s);case"child":if((e=r).type&&"string"==typeof e.type){s.targetRef;var d=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>t.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}(s,["targetRef"]);return(0,i.cloneElement)(e,d)}return(0,i.cloneElement)(e,s);case"childArray":return(e=r).map(function(e){return!!e&&(0,i.cloneElement)(e,s)});default:return i.createElement(void 0===o?"div":o,null)}}}(i.PureComponent);var N=_()?i.useEffect:i.useLayoutEffect;function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var L=function(e){function t(n){(r=e.call(this,n)||this).validateProps=function(){var e=r.props,t=e.swipeSpeed,n=e.currentVisibleSlide,i=e.maxVisibleSlide,o=e.fadeDistance,a=e.customScales;if(e.data.length<(i+1)/2)throw Error("you must have more than (maxVisibleSlide + 1) / 2 data item");if(n&&n%2!=1||i%2!=1)throw Error("currentVisibleSlide or maxVisibleSlide must be an odd number");if(n&&n>i)throw Error("currentVisibleSlide must be smaller than maxVisibleSlide");if(void 0!==o&&(o>1||o<0))throw Error("fadeDistance is a percentage value in the range of 0 - 1");if(a&&a.length!==(i+3)/2)throw Error("customScales must have lengh (maxVisibleSlide + 3) / 2");if(t&&(t>.99||t<.01))throw Error("swipeSpeed must have a value between 0.01 and 0.99")},r.initializeProperties=function(e){void 0===e&&(e=!1),r.validateProps();for(var t=r.props,n=t.carouselWidth,i=t.slideWidth,o=t.currentVisibleSlide,a=t.maxVisibleSlide,s=o||a,d=Math.max((s-1)/2+1,1),l=a+2,c=(a+1)/2,u=r.calculateScaleAndOffsets(d),f=u.offsets,p=u.scaledOffsets,h=u.scales,v=e?Array(l).fill(null):r.state.renderedSlides.filter(function(e){var t=e.slideIndex;return -1===e.dataIndex||Math.abs(t)<=r.slidePerSide}),S={},m=e?(l-1)/2:v.findIndex(function(e){return 0===e.slideIndex}),g=e?0:v[m].dataIndex,y=0,b=function(t){var n=f[t],i=h[t],o=y+n;[-t,t].forEach(function(n){var a=m+n,s=n>=0?o:-o,l=+(t!==d),u=r.modDataRange(g+n);v[a]={dataIndex:u,scale:i,position:s,slideIndex:n,opacity:l,zIndex:c-Math.abs(n),key:e?n:v[a].key},S[n]={position:s,scale:i,opacity:l}}),0!==t&&(y+=p[t])},x=0;x<=d;x++)b(x);for(var w=-d;w<=d;w++)S[w].maxTransformDistance={},S[w].maxTransformScale={},S[w].maxTransformOpacity={left:+(w===-d+1||w===d),right:+(w===-d||w===d-1)},S[w].slideIndex=w,w===-d?(S[w].maxTransformDistance.left=0,S[w].maxTransformScale.left=0):(S[w].maxTransformDistance.left=S[w].position-S[w-1].position,S[w].maxTransformScale.left=Math.abs(S[w].scale-S[w-1].scale)),w===d?(S[w].maxTransformDistance.right=0,S[w].maxTransformScale.right=0):(S[w].maxTransformDistance.right=S[w+1].position-S[w].position,S[w].maxTransformScale.right=Math.abs(S[w+1].scale-S[w].scale));if(a>s)for(var I=(a+1)/2,O=d+1;O<=I;O++)for(var T=1;T>=0;T--){var P=m+(1===T?O:-O),R=P+(1===T?-1:1),M=1===T?O:-O,E=e?R:P;v[P]={scale:v[E].scale,position:v[E].position,key:e?-M:v[P].key,dataIndex:-1,slideIndex:M,opacity:0,zIndex:0}}var j=Object.values(S);return j.sort(function(e,t){return e.position-t.position}),{renderedSlides:v,centerSlideRelativeIndex:m,slideInfoMap:S,slidePerSide:d,newRenderedSlides:v,sortedSlideInfo:j,centerPosition:n/2-i/2,renderedSlidePerSide:c}},r.calculateScaleAndOffsets=function(e){for(var n=r.props,i=n.carouselWidth,o=n.slideWidth,a=n.customScales,s=n.fadeDistance,d=i/2-o/2,l=[1],c=[o],u=1;u<=e;u++){var f=a?a[u]:Math.pow(t.defaultScaleFactor,u);l.push(f),c.push(o*f)}var p=c.slice(1),h=d;void 0!==s&&(p=c.slice(1,e),h=d*(1-s));for(var v=p.reduce(function(e,t){return e+t},0),S=v?h/v:0,m=[0],g=[0],y=1;y<=e;y++){var b=void 0!==s&&y===e,x=l[y];
1m[y]=b?s*d:o*x*S,g[y]=m[y]+(1-x)/2*o}return{offsets:g,scaledOffsets:m,scales:l}},r.getZIndex=function(e){return r.renderedSlidePerSide-Math.abs(e)},r.updateHeight=function(){if(!r.props.height){var e=r.getSlideDOMInfo(0).slideDOM,t=parseInt(window.getComputedStyle(e).height);t!==r.height&&(r.height=t,r.forceUpdate())}},r.modDataRange=function(e){var t=r.props.data.length;return(e%t+t)%t},r.debouncedClearInvisibleSlide=function(){var e=r.props.transitionTime;clearTimeout(r.clearSlideTimeout),r.clearSlideTimeout=setTimeout(r.clearUselessSlide,void 0!==e?e:t.defaultTransitionTime)},r.clearUselessSlide=function(){r.addedSlide=0;var e=r.state.renderedSlides.filter(function(e){var t=e.slideIndex,n=e.dataIndex;return!!(Math.abs(t)<=r.slidePerSide)||-1===n});r.setState({renderedSlides:e})},r.safeGetSlideInfo=function(e){var t=e;return t>r.slidePerSide?t=r.slidePerSide:t<-r.slidePerSide&&(t=-r.slidePerSide),r.slideInfoMap[t]},r.getInsertionInfo=function(e){return{newAddedSlideIndex:e>0?r.slidePerSide-e+1:-r.slidePerSide-e-1,targetSlideIndex:e>0?r.slidePerSide:-r.slidePerSide,requireMoreSlide:function(t,n){return e>0?t<=n:t>=n},updateCount:e>0?1:-1}},r.moveCarousel=function(e,t){void 0===t&&(t=!1);var n=r.state.renderedSlides,i=r.props.onActiveSlideChange,o=0,a=n.map(function(t){var n=t.slideIndex,i=t.dataIndex;if(-1===i)return t;0===n&&(o=r.modDataRange(i+e));var a=n+-e,s=r.safeGetSlideInfo(a);return U({},t,{slideIndex:a,position:s.position,scale:s.scale,opacity:s.opacity,zIndex:r.getZIndex(a)})});0!==e&&function(){var t=e>0?r.slidePerSide:-r.slidePerSide;r.addedSlide+=Math.abs(e);for(var n=r.getInsertionInfo(e),i=n.newAddedSlideIndex,o=n.requireMoreSlide,s=n.updateCount,d=n.targetSlideIndex;o(i,d);){if(!a.find(function(e){return e.slideIndex===i})){var l=a.findIndex(function(e){var t=e.slideIndex,n=e.dataIndex;return t===i-s&&-1!==n}),c=r.slideInfoMap[t],u=c.scale,f=c.position,p=r.modDataRange(a[l].dataIndex+s);r.keyCount+=1;var h={scale:u,position:f,opacity:0,zIndex:r.getZIndex(i)-r.addedSlide,slideIndex:i,dataIndex:p,key:r.keyCount};a.splice(e>0?l+1:l,0,h)}i+=s}}(),0!==e&&i&&i(o),r.setState(function(){return{swipeStarted:!1,renderedSlides:a,swipRight:!t&&e<0}},function(){setTimeout(function(){r.resetSlides()},0)})},r.getSlideDOMInfo=function(e){var t=r.props.slideWidth,n=r.listRef.current,i=n.getElementsByClassName("react-stacked-center-carousel-slide-"+e)[0],o=i.getBoundingClientRect(),a=n.getBoundingClientRect().left,s=o.width/t,d=o.left-a-.5*t*(1-s)-r.centerPosition;return{scale:s,slideDOM:i,slideCenterOffset:d}},r.getSlideScaleAndOpacity=function(e){var t=r.sortedSlideInfo.find(function(t){return Math.ceil(t.position)>=e})||r.sortedSlideInfo[r.sortedSlideInfo.length-1],n=t.position,i=t.slideIndex,o=t.scale,a=t.maxTransformDistance,s=t.maxTransformScale,d=t.maxTransformOpacity,l=t.opacity,c=Math.ceil(n)-e,u=0===a.left?0:c/a.left*(i<=0?-1:1);return{scale:o+s.left*u,opacity:l+d.left*u}},r.centerOffset=function(e){var t=r.getSlideDOMInfo(e).slideCenterOffset;return Math.abs(r.slideInfoMap[0].position-t)},r.onSwipeStart=function(e){var t=r.props,n=t.onActiveSlideChange;if(!t.disableSwipe){var i=r.getSwipeX(e),o=r.state.renderedSlides;clearTimeout(r.clearSlideTimeout);var a=0,s=0;r.centerOffset(-1)<r.centerOffset(0)?a=1:r.centerOffset(1)<r.centerOffset(0)&&(a=-1);for(var d,l=[],c=[],u=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return F(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,void 0)}}(e))){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(o);!(d=u()).done;){var f=d.value,p=f.slideIndex,h=f.dataIndex;if(-1===h){l.push(f),c.push({slideIndex:p,maxLeft:0,maxRight:0});continue}var v=p+a;if(!(Math.abs(v)>r.slidePerSide)){0===v&&(s=h);var S=r.getSlideDOMInfo(p),m=S.slideCenterOffset,g=S.scale,y=r.getSlideScaleAndOpacity(m).opacity,b=r.safeGetSlideInfo(v),x=b.maxTransformDistance,w=b.position;c.push({slideIndex:v,maxLeft:m-w+x.left,maxRight:w+x.right-m}),l.push(U({},f,{scale:g,opacity:y,position:m,slideIndex:v,zIndex:r.getZIndex(v)}))}}n&&0!==a&&n(s),r.setState({swipeStarted:!0,initalSwipeX:i,renderedSlides:l,prevRenderedSlides:[].concat(l),swipePositionInfo:c})}},r.onSwipe=function(e){if(r.state.swipeStarted){var t=r.state,n=t.
1initalSwipeX,i=t.prevRenderedSlides,o=t.swipePositionInfo,a=r.props.slideWidth,s=!1,d=n-r.getSwipeX(e),l=Math.abs(d),c=d>0,u=1-Math.pow(1-(r.props.swipeSpeed||.5),10/a*l),f=i.map(function(e,t){var n=e.position,i=e.slideIndex;if(-1===e.dataIndex)return e;var a=o[t][c?"maxLeft":"maxRight"],d=n+(c?-1:1)*a*u,l=r.getSlideScaleAndOpacity(d),f=l.scale,p=l.opacity,h=e.zIndex;return 1===Math.abs(i)&&r.centerOffset(i)<r.centerOffset(0)&&(h=r.maxZIndex,s=!0),U({},e,{position:d,scale:f,opacity:p,zIndex:h})});r.setState({renderedSlides:f,tempShift:s})}},r.resetSlides=function(){var e=r.state.renderedSlides.map(function(e){var t=r.safeGetSlideInfo(e.slideIndex),n=t.opacity,i=t.scale,o=t.position;return U({},e,{zIndex:r.getZIndex(e.slideIndex),opacity:n,scale:i,position:o})});r.setState(function(){return{renderedSlides:e,swipRight:!1}},r.debouncedClearInvisibleSlide)},r.onSwipeEnd=function(){if(r.state.swipeStarted){var e=r.state.renderedSlides.find(function(e){return e.zIndex===r.maxZIndex});r.moveCarousel((null==e?void 0:e.slideIndex)||0),r.setState({tempShift:!1})}},r.goNext=function(){r.moveCarousel(1)},r.goBack=function(){r.moveCarousel(-1)},r.swipeTo=function(e){r.moveCarousel(e)};var r,o=r.initializeProperties(!0),a=o.renderedSlides,s=o.slideInfoMap,d=o.slidePerSide,l=o.sortedSlideInfo,c=o.centerPosition,u=o.renderedSlidePerSide,f=r.props.onActiveSlideChange;return r.slideInfoMap=s,r.sortedSlideInfo=l,r.slidePerSide=d,r.height=r.props.height||0,r.listRef=i.createRef(),r.clearSlideTimeout=null,r.keyCount=n.data.length,r.addedSlide=0,r.centerPosition=c,r.maxZIndex=100,r.renderedSlidePerSide=u,f&&f(0),r.state={initalSwipeX:0,swipeStarted:!1,renderedSlides:a,prevRenderedSlides:[].concat(a),swipePositionInfo:[],swipRight:!1,tempShift:!1},r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Z(t,e);var n=t.prototype;return n.componentDidMount=function(){this.updateHeight()},n.componentWillUnmount=function(){clearTimeout(this.clearSlideTimeout)},n.componentDidUpdate=function(e){if(t=this.props,n=e,t.slideWidth!==n.slideWidth||t.carouselWidth!==n.carouselWidth||t.maxVisibleSlide!==n.maxVisibleSlide||t.currentVisibleSlide!==n.currentVisibleSlide||t.fadeDistance!==n.fadeDistance||(null==(i=t.customScales)?void 0:i.join(""))!==(null==(r=n.customScales)?void 0:r.join(""))){var t,n,i,r,o=this.initializeProperties(this.props.maxVisibleSlide!==e.maxVisibleSlide),a=o.slideInfoMap,s=o.slidePerSide,d=o.newRenderedSlides,l=o.sortedSlideInfo,c=o.centerPosition;this.slideInfoMap=a,this.sortedSlideInfo=l,this.slidePerSide=s,this.centerPosition=c,this.setState(function(){return{initalSwipeX:0,renderedSlides:d,prevRenderedSlides:[].concat(d),swipRight:!1}},this.updateHeight)}},n.getSwipeX=function(e){if("m"===e.type[0])return e.clientX;try{var t,n;return(null==(t=e.touches[0])?void 0:t.clientX)||(null==(n=e.changedTouches[0])?void 0:n.clientX)}catch(e){throw Error("Something went wrong with getting mouse position")}},n.render=function(){var e=this,n=this.state,r=n.swipeStarted,o=n.renderedSlides,a=n.swipRight,s=n.tempShift,d=this.props,l=d.slideComponent,c=d.transitionTime,u=void 0===c?t.defaultTransitionTime:c,f=d.className,p=d.data,h=d.slideWidth,v=d.customTransition,S=d.carouselWidth,m=d.useGrabCursor,g=d.height;return i.createElement("div",{className:"react-stacked-center-carousel "+(f||""),onMouseDown:this.onSwipeStart,onMouseUp:this.onSwipeEnd,onMouseMove:this.onSwipe,onMouseLeave:this.onSwipeEnd,onTouchStart:this.onSwipeStart,onTouchMove:this.onSwipe,onTouchEnd:this.onSwipeEnd,ref:this.listRef,style:{width:S,height:g||this.height,position:"relative",overflow:"hidden",cursor:m&&(r?"grabbing":"grab")||"default"}},o.map(function(t){var n=t.opacity,o=t.slideIndex,d=t.dataIndex,c=t.position,f=t.scale,S=t.key,m=t.zIndex,g=-1===d?"hidden-"+S:o,y=r?"none":v||"all "+u+"ms ease, z-index "+u*(a?.6:1)+"ms ease",b=s?m===e.maxZIndex:0===o;return i.createElement("div",{key:S,className:"react-stacked-center-carousel-slide-"+g,draggable:!1,style:{position:"absolute",display:"flex",left:"calc(50% - "+h/2+"px)",transform:"translateX("+c+"px) scale("+f+")",width:h,transition:y,op
1acity:n,zIndex:m}},-1!==d&&i.createElement(l,{dataIndex:d,data:p,slideIndex:o,isCenterSlide:b,swipeTo:e.swipeTo}))}))},t}(i.PureComponent);function G(e){var t,n,r,o,s,d,l,c,u,f,p,h,v,S,m,g,y,b,x,w,I=e.render,O=e.carouselRef,T=(void 0===t&&(t={}),n=t.skipOnMount,r=t.refreshMode,s=void 0===(o=t.refreshRate)?1e3:o,d=t.refreshOptions,c=void 0===(l=t.handleWidth)||l,f=void 0===(u=t.handleHeight)||u,p=t.targetRef,h=t.observerOptions,v=t.onResize,S=(0,i.useRef)(void 0!==n&&n),m=(0,i.useRef)(null),g=null!=p?p:m,y=(0,i.useRef)(),x=(b=(0,i.useState)({width:void 0,height:void 0}))[0],w=b[1],N(function(){if(!_()){var e=X(v,w,c,f);y.current=W(function(t){(c||f)&&t.forEach(function(t){var n=t&&t.contentRect||{},i=n.width,r=n.height;S.current||_()||e({width:i,height:r}),S.current=!1})},r,s,d);var t=new window.ResizeObserver(y.current);return g.current&&t.observe(g.current,h),function(){t.disconnect();var e=y.current;e&&e.cancel&&e.cancel()}}},[r,s,d,c,f,v,h,g.current]),a({ref:g},x)),P=T.width,R=T.ref;return i.createElement("div",{ref:R,className:"stacked-carousel-responsive-container",style:{width:"100%"}},P&&I(P,O))}L.defaultScaleFactor=.85,L.defaultTransitionTime=450}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.