{"version":3,"file":"Arrowhide.Ca5UtBGo.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/9wGubtKhJtE5gUK4kuJ9/ZP3PZqMqT6zmknnUaVJC/WkN3h7Tfz.js","https:/framerusercontent.com/modules/pXusZ3CyHzC8jHnOdDRk/9xDuN5xaav1NQaXS7J12/Arrowhide.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 0 L 3.5 3.25 L 0 6.5\" fill=\"transparent\" height=\"6.5px\" id=\"fpB5ewKmE\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--1335ju, 1.5)\" stroke=\"var(--18mrqx2, rgb(0, 0, 0))\" transform=\"translate(10.75 8.75)\" width=\"3.5px\"/></svg>';const getProps=({dots,height,id,stroke,width,width1,...props})=>{return{...props,BKVe8Pgvw:dots??props.BKVe8Pgvw??1,fICyAUQY1:stroke??props.fICyAUQY1??\"rgb(0, 0, 0)\",lKf_CQTz5:width1??props.lKf_CQTz5??1.5};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,fICyAUQY1,lKf_CQTz5,BKVe8Pgvw,...restProps}=getProps(props);const href=useSVGTemplate(\"3806848114\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-tHSil\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1335ju\":lKf_CQTz5,\"--18mrqx2\":fICyAUQY1,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-tHSil { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"fICyAUQY1\":\"stroke\",\"lKf_CQTz5\":\"width1\",\"BKVe8Pgvw\":\"dots\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Chevron Right\",\"color\":{\"type\":\"variable\",\"value\":\"18mrqx2\"},\"set\":{\"localId\":\"vectorSet/SuYHhKUZG\",\"id\":\"SuYHhKUZG\",\"moduleId\":\"EqX8thWQjdZcOB1c6p5N\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-tHSil\");Icon.displayName=\"Chevron Right\";export default Icon;addPropertyControls(Icon,{fICyAUQY1:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Stroke\",type:ControlType.Color},lKf_CQTz5:{defaultValue:1.5,displayStepper:true,hidden:false,max:4,min:0,step:.5,title:\"Width\",type:ControlType.Number},BKVe8Pgvw:{defaultValue:1,displayStepper:true,hidden:true,max:4,min:1,title:\"Dots\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerVariables\":\"{\\\"fICyAUQY1\\\":\\\"stroke\\\",\\\"lKf_CQTz5\\\":\\\"width1\\\",\\\"BKVe8Pgvw\\\":\\\"dots\\\"}\",\"framerImmutableVariables\":\"true\",\"framerDisableUnlink\":\"true\",\"framerIntrinsicHeight\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Chevron Right\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"18mrqx2\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/SuYHhKUZG\\\",\\\"id\\\":\\\"SuYHhKUZG\\\",\\\"moduleId\\\":\\\"EqX8thWQjdZcOB1c6p5N\\\"}}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import*as React from\"react\";function stopEvent(e){try{e?.preventDefault?.();e?.stopPropagation?.();e?.nativeEvent?.preventDefault?.();e?.nativeEvent?.stopPropagation?.();}catch{}}function getViewportTop(){return document.querySelector('[data-framer-name=\"ExhibitionsViewportTop\"]');}function getViewportBottom(){return document.querySelector('[data-framer-name=\"ExhibitionsViewportBottom\"]');}function getScrollState(el){if(!el)return{canScroll:false,atLeft:true,atRight:true};const max=Math.max(0,el.scrollWidth-el.clientWidth);const x=el.scrollLeft;const eps=2;return{canScroll:max>eps,atLeft:x<=eps,atRight:x>=max-eps};}function scrollBy(el,dir){if(!el)return;const amount=Math.round(Math.max(220,el.clientWidth*.8))*dir;el.scrollBy({left:amount,behavior:\"smooth\"});}function useRerenderOn(elGetter){const[,setTick]=React.useState(0);React.useEffect(()=>{const el=elGetter();if(!el)return;const rerender=()=>setTick(v=>v+1);const onScroll=()=>rerender();const onResize=()=>rerender();el.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onResize);rerender();setTimeout(rerender,80);return()=>{el.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onResize);};},[]);}export function exhibitionsArrowLeftTop(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useRerenderOn(getViewportTop);const el=getViewportTop();const{canScroll,atLeft}=getScrollState(el);const visible=canScroll&&!atLeft;const onPress=e=>{stopEvent(e);if(!visible)return;scrollBy(el,-1);};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:onPress,onTap:onPress,style:{...props.style||{},opacity:visible?1:0,pointerEvents:visible?\"auto\":\"none\",cursor:visible?\"pointer\":\"default\"}});});}export function exhibitionsArrowRightTop(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useRerenderOn(getViewportTop);const el=getViewportTop();const{canScroll,atRight}=getScrollState(el);const visible=canScroll&&!atRight;const onPress=e=>{stopEvent(e);if(!visible)return;scrollBy(el,1);};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:onPress,onTap:onPress,style:{...props.style||{},opacity:visible?1:0,pointerEvents:visible?\"auto\":\"none\",cursor:visible?\"pointer\":\"default\"}});});}export function exhibitionsArrowLeftBottom(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useRerenderOn(getViewportBottom);const el=getViewportBottom();const{canScroll,atLeft}=getScrollState(el);const visible=canScroll&&!atLeft;const onPress=e=>{stopEvent(e);if(!visible)return;scrollBy(el,-1);};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:onPress,onTap:onPress,style:{...props.style||{},opacity:visible?1:0,pointerEvents:visible?\"auto\":\"none\",cursor:visible?\"pointer\":\"default\"}});});}export function exhibitionsArrowRightBottom(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useRerenderOn(getViewportBottom);const el=getViewportBottom();const{canScroll,atRight}=getScrollState(el);const visible=canScroll&&!atRight;const onPress=e=>{stopEvent(e);if(!visible)return;scrollBy(el,1);};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:onPress,onTap:onPress,style:{...props.style||{},opacity:visible?1:0,pointerEvents:visible?\"auto\":\"none\",cursor:visible?\"pointer\":\"default\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"exhibitionsArrowRightBottom\":{\"type\":\"reactHoc\",\"name\":\"exhibitionsArrowRightBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"exhibitionsArrowLeftBottom\":{\"type\":\"reactHoc\",\"name\":\"exhibitionsArrowLeftBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"exhibitionsArrowRightTop\":{\"type\":\"reactHoc\",\"name\":\"exhibitionsArrowRightTop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"exhibitionsArrowLeftTop\":{\"type\":\"reactHoc\",\"name\":\"exhibitionsArrowLeftTop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Arrowhide.map"],"mappings":"wSAC2C,IAAqF,IAA4B,CAAoC,EAAK,0BAAgC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,SAAS,CAAC,EAAG,CAAO,EAAU,EAAO,OAAO,EAAK,CAAO,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,WAAS,CAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,WAAS,CAAC,EAAG,CAAO,EAAI,yXAA+X,GAAU,CAAC,OAAK,SAAO,KAAG,SAAO,QAAM,SAAO,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAM,EAAM,WAAW,EAAE,UAAU,GAAQ,EAAM,WAAW,eAAe,UAAU,GAAQ,EAAM,WAAW,IAAI,EAUltC,EAAK,EAV6uC,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,YAAU,YAAU,GAAG,GAAW,EAAS,EAAM,CAAO,EAAK,EAAe,aAAa,EAAI,CAAC,OAAoB,EAAK,EAAI,CAAC,GAAG,EAAU,UAAU,EAAG,eAAe,EAAU,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