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ACPW,EAAWC,IAEpBZ,EAAWC,OAAWc,EACfZ,GAeT,SAASqB,IACP,IAAIZ,EAAOxB,IACPqC,EAAaN,EAAaP,GAM9B,GAJAZ,EAAW0B,UACXzB,EAAW0B,KACXtB,EAAeO,EAEXa,EAAY,CACd,QAAgBV,IAAZX,EACF,OAAOa,EAAYZ,GAErB,GAAIG,EAIF,OAFAoB,aAAaxB,GACbA,EAAUvD,WAAWqE,EAAcpB,GAC5Ba,EAAWN,GAMtB,YAHgBU,IAAZX,IACFA,EAAUvD,WAAWqE,EAAcpB,IAE9BK,EAIT,OA3GAL,EAAOT,EAASS,IAAS,EACrBZ,EAASa,KACXQ,IAAYR,EAAQQ,QAEpBL,GADAM,EAAS,YAAaT,GACHT,EAAUD,EAASU,EAAQG,UAAY,EAAGJ,GAAQI,EACrEO,EAAW,aAAcV,IAAYA,EAAQU,SAAWA,GAoG1De,EAAUK,OApCV,gBACkBd,IAAZX,GACFwB,aAAaxB,GAEfE,EAAiB,EACjBN,EAAWK,EAAeJ,EAAWG,OAAUW,GAgCjDS,EAAUM,MA7BV,WACE,YAAmBf,IAAZX,EAAwBD,EAASkB,EAAajC,MA6BhDoC,I,sBC3LT,IAAIhE,EAAO2B,EAAQ,OAsBnBQ,EAAOC,QAJG,WACR,OAAOpC,EAAKuE,KAAK3C","sources":["components/views/Animation/CustomAnimation/arrows.jsx","components/views/Animation/CustomAnimation/slider.jsx","../node_modules/lodash/debounce.js","../node_modules/lodash/now.js"],"sourcesContent":["import React, { useEffect, useState, useRef } from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport clsx from \"clsx\";\r\nimport debounce from \"lodash/debounce\";\r\nimport makeStyles from \"@material-ui/styles/makeStyles\";\r\nimport Box from \"@material-ui/core/Box\";\r\nimport ReactSVGIcon from \"@micado-digital/react-svg-icon/ReactSVGIcon\";\r\n\r\nconst useStyles = makeStyles(theme => ({\r\n\tarrow: {\r\n\t\tcursor: \"pointer\"\r\n\t},\r\n\tarrowDisabled: {\r\n\t\tdisplay: \"none\"\r\n\t},\r\n\tarrowPrev: {\r\n\t\topacity: 0.2,\r\n\t\tpointerEvents: \"none\",\r\n\t\ttransition: theme.transitions.create(\"opacity\", {\r\n\t\t\teasing: theme.transitions?.easing?.easeIn,\r\n\t\t\tduration: 300\r\n\t\t})\r\n\t},\r\n\tarrowPrevShow: {\r\n\t\topacity: 1,\r\n\t\tpointerEvents: \"all\"\r\n\t},\r\n\tarrowNext: {\r\n\t\topacity: 0.2,\r\n\t\tpointerEvents: \"none\",\r\n\t\ttransition: theme.transitions.create(\"opacity\", {\r\n\t\t\teasing: theme.transitions?.easing?.easeIn,\r\n\t\t\tduration: 300\r\n\t\t})\r\n\t},\r\n\tarrowNextShow: {\r\n\t\topacity: 1,\r\n\t\tpointerEvents: \"all\"\r\n\t}\r\n}));\r\n\r\nconst Arrows = ({ active, entries, showDuration = 2000, onChange }) => {\r\n\tconst [show, setShow] = useState(false);\r\n\tconst css = useStyles();\r\n\tconst isMounted = useRef(false);\r\n\r\n\tuseEffect(() => {\r\n\t\tisMounted.current = true;\r\n\t\tsetTimeout(() => {\r\n\t\t\tif (isMounted.current) {\r\n\t\t\t\tsetShow(true);\r\n\t\t\t}\r\n\t\t}, showDuration);\r\n\t\treturn () => {\r\n\t\t\tisMounted.current = false;\r\n\t\t};\r\n\t}, [showDuration]);\r\n\r\n\tconst handlePrev = debounce(() => {\r\n\t\tonChange(active - 1);\r\n\t}, 300);\r\n\r\n\tconst handleNext = debounce(() => {\r\n\t\tonChange(active + 1);\r\n\t}, 300);\r\n\r\n\treturn (\r\n\t\t