PageSourceSearch

https://www.matcotools.com/_next/static/chunks/2961.7ad9a1c7ccc1c022.js

js matcotools.com collected 2026-10-04 00:31:46 UTC 2,985 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2961],{42961:function(e,r,o){o.r(r),o.d(r,{CategoriesCarousel:function(){return b}});var t=o(59499),n=o(67294),i=o(70505),a=o(98642),s=o(90595),l=o(83999),u=o(3511),c=o(12017),d=o(68255),g=o(80109),p=o(85893);function h(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function w(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?h(Object(o),!0).forEach((function(r){(0,t.Z)(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}var b=(0,n.memo)((function(e){var r=e.children,o=e.autoscroll,t=e.titleInfo,h=e.backgroundColor,b=e.mobileInnerSpacing,S=e.breakPoints,f=e.innerSpacing,P=void 0===f?0:f,v=e.autoplaySpeed,m=void 0===v?10:v,y=e.showPagination,O=void 0!==y&&y,N=e.showNextCard,x=void 0!==N&&N,C=e.arrowPosition,j=void 0===C?"sides":C,A=(0,l.a)().isMobile,k=n.Children.count(r),M=k<=8,R=(0,u.N)({autoscroll:o,autoplaySpeed:m,childrenCount:k}),E=R.carouselRef,I=R.autoplaySpeedInSeconds,D=R.elementsPerPage,_=R.totalPages,F=R.isAutoPlay,L=R.handleResize,z=R.onNextEnd,G=R.onNextStart,T=R.onPrevStart,W=R.handleMouseEnter,Z=R.handleMouseLeave,B=R.handlePrevious,q=R.handleNext,H=(0,c.l)(w(w({carouselRef:E,isMobile:A,mobileInnerSpacing:b,innerSpacing:P,showNextCard:x,shouldRemoveWrapperClassName:M&&D<8},M&&{itemWrapperClassName:["lg:!w-full"]}),{},{removeMargin:!0,carouselType:"categories",addElementsStyle:!0})),J=H.getItemPadding,K=H.getOuterSpacing,Q=(0,d.G)({arrowPosition:j,isMobile:A}),U=Q.isShowSidesArrows,V=Q.isShowRightArrows,X=k>D,Y=(0,g.h)({totalPages:_}),$=(0,n.useCallback)((function(e){var r="#F5F5F5"===h?"white":"grey";return(0,p.jsx)(s.n,w({isCategoriesCarousel:!0,background:r},e))}),[h]);return(0,p.jsxs)("div",{"data-testid":"categories",style:{backgroundColor:h},onMouseEnter:W,className:"w-full pt-9 pb-3 sm:py-12",onMouseLeave:Z,children:[(0,p.jsx)(a.N,{handleNext:q,handlePrevious:B,titleInfo:t,classNameRte:"!text-2xl sm:!text-4xl",itemPadding:J(),carouselBackgroundColor:h,showArrows:V&&X}),(0,p.jsx)(i.Z,{showArrows:U&&X,className:"categories-carousel relative",renderArrow:$,pagination:!!O&&X,isRTL:!1,enableMouseSwipe:!1,renderPagination:Y,onNextEnd:z,itemPadding:J(),outerSpacing:K(),onPrevStart:T,onNextStart:G,ref:E,onResize:L,enableAutoPlay:F,autoPlaySpeed:I,breakPoints:S,children:r})]})}))},68255:function(e,r,o){o.d(r,{G:function(){return n}});var t=o(67294),n=function(e){var r=e.isMobile,o=e.arrowPosition,n=(0,t.useMemo)((function(){var e="right"===o;return{isShowSidesArrows:!e&&!r,isShowRightArrows:e||r}}),[o,r]);return{isShowSidesArrows:n.isShowSidesArrows,isShowRightArrows:n.isShowRightArrows}}}}]);

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.