{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/L189GnXeVD23TNYMhTPn/1yheQhEnr6IpdpLeLdfV/ImageSlider.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,Image}from\"framer\";import{motion,useMotionValue,useTransform,useSpring}from\"framer-motion\";import{useState,cloneElement,useRef,useEffect}from\"react\";function calculateSliderPosition(element,mouseX,mouseY,isVertical){if(!element){return 50;}const rect=element.getBoundingClientRect();let value=isVertical?(mouseY-window.scrollY-rect.top)/element.offsetHeight*100:(mouseX-window.scrollX-rect.left)/element.offsetWidth*100;return Math.max(0,Math.min(100,value));}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n * @framerDisableUnlink\n */export default function ImageSlider(props){var _props_customHandle,_customHandle_props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const{slider}=props;const{innerRadius,lineWidth,handleMode}=slider;const customHandle=(_props_customHandle=props.customHandle)===null||_props_customHandle===void 0?void 0:_props_customHandle[0];const isVertical=props.direction==\"vertical\";const vHeightHWidth=isVertical?\"height\":\"width\";const vWidthHHeight=isVertical?\"width\":\"height\";let cursor=\"auto\";if(props.cursor==\"move\"){cursor=isVertical?\"ns-resize\":\"ew-resize\";}else if(props.cursor==\"resize\"){cursor=isVertical?\"row-resize\":\"col-resize\";}const slideOnHover=props.slideMode==\"hover\";const sliderPosition=useMotionValue(props.startAt);const spring=useSpring(sliderPosition,props.transition);const[dragging,setDragging]=useState(false);const ref=useRef(null);const tl=props.radiusIsMixed?props.topLeft:props.radius;const tr=props.radiusIsMixed?props.topRight:props.radius;const br=props.radiusIsMixed?props.bottomRight:props.radius;const bl=props.radiusIsMixed?props.bottomLeft:props.radius;const handleMouseMove=event=>{if(slideOnHover||dragging){sliderPosition.set(calculateSliderPosition(ref.current,event.pageX,event.pageY,isVertical));}};const handleMouseDown=event=>{if(!slideOnHover){sliderPosition.set(calculateSliderPosition(ref.current,event.pageX,event.pageY,isVertical));setDragging(true);document.addEventListener(\"mouseup\",handleMouseUp);}};const handleMouseUp=event=>{if(!slideOnHover){// sliderPosition.set(\n//     calculateSliderPosition(\n//         ref.current,\n//         event.pageX,\n//         event.pageY,\n//         isVertical\n//     )\n// )\nsetDragging(false);document.removeEventListener(\"mouseup\",handleMouseUp);}};const handleTouchStart=event=>{const touch=event.touches[0];sliderPosition.set(calculateSliderPosition(ref.current,touch.clientX+window.scrollX,touch.clientY+window.scrollY,isVertical));setDragging(true);};const handleTouchMove=event=>{if(dragging){const touch=event.touches[0];sliderPosition.set(calculateSliderPosition(ref.current,touch.clientX+window.scrollX,touch.clientY+window.scrollY,isVertical));}event.preventDefault();};const handleTouchEnd=()=>{setDragging(false);};useEffect(()=>{if(ref.current){ref.current.addEventListener(\"touchmove\",handleTouchMove,{passive:false});}});return /*#__PURE__*/_jsxs(\"div\",{ref:ref,onMouseMove:handleMouseMove,onMouseDown:handleMouseDown,onMouseUp:handleMouseUp,onTouchStart:handleTouchStart,// onTouchMove={handleTouchMove}\nonTouchEnd:handleTouchEnd,style:{position:\"relative\",overflow:\"hidden\",backgroundColor:props.fill,cursor:cursor,borderRadius:`${tl}px ${tr}px ${br}px ${bl}px`,...props.style},children:[/*#__PURE__*/_jsx(motion.div,{style:{[vHeightHWidth]:useTransform(()=>`calc(${isCanvas?props.startAt:spring.get()}% - ${lineWidth/2}px)`),[vWidthHHeight]:\"100%\",overflow:\"hidden\",position:\"absolute\",top:0,left:0,borderRadius:isVertical?`0 0 ${innerRadius}px ${innerRadius}px`:`0 ${innerRadius}px ${innerRadius}px 0`},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,[isVertical?\"bottom\":\"right\"]:-lineWidth/2},children:/*#__PURE__*/_jsx(Image,{background:{fit:props.sizing,...props.before},style:{position:\"absolute\",top:0,left:0,[vHeightHWidth]:useTransform(()=>`${100*(100/(isCanvas?props.startAt:spring.get()))}%`),[vWidthHHeight]:\"100%\",pointerEvents:\"none\",userSelect:\"none\"}})})}),/*#__PURE__*/_jsx(motion.div,{style:{[vHeightHWidth]:useTransform(()=>`calc(${100-(isCanvas?props.startAt:spring.get())}% - ${lineWidth/2}px)`),overflow:\"hidden\",position:\"absolute\",right:0,[isVertical?\"bottom\":\"top\"]:0,[vWidthHHeight]:\"100%\",borderRadius:isVertical?`${innerRadius}px ${innerRadius}px 0 0`:`${innerRadius}px 0 0 ${innerRadius}px`},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,[isVertical?\"top\":\"left\"]:-lineWidth/2},children:/*#__PURE__*/_jsx(Image,{background:{fit:props.sizing,...props.after},style:{position:\"absolute\",[isVertical?\"bottom\":\"top\"]:0,right:0,[vHeightHWidth]:useTransform(()=>`${100*(100/(100-(isCanvas?props.startAt:spring.get())))}%`),[vWidthHHeight]:\"100%\",pointerEvents:\"none\",userSelect:\"none\"},\"aria-label\":props.after?props.after.alt:\"\"})})}),/*#__PURE__*/_jsxs(motion.div,{style:{[isVertical?\"top\":\"left\"]:useTransform(()=>`${isCanvas?props.startAt:spring.get()}%`),position:\"absolute\",[vWidthHHeight]:\"100%\",[isVertical?\"height\":\"width\"]:lineWidth,translate:isVertical?\"0 -50%\":\"-50% 0\",background:slider.lineColor,pointerEvents:\"none\"},children:[handleMode==\"arrows\"&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",translate:\"-50% -50%\",display:\"flex\",flexDirection:\"row\",gap:lineWidth+slider.spacing*2,rotate:isVertical?\"90deg\":\"0deg\"},children:[/*#__PURE__*/_jsx(Arrow,{color:slider.color,width:slider.width,height:slider.height,stroke:slider.stroke,rotation:0}),/*#__PURE__*/_jsx(Arrow,{color:slider.color,width:slider.width,height:slider.height,stroke:slider.stroke,rotation:180})]}),handleMode==\"image\"&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",translate:\"-50% -50%\",width:slider.width,height:slider.height,backgroundImage:slider.image?`url(${slider.image.src})`:\"none\",backgroundSize:slider.imageSizing,backgroundPosition:\"center\",backgroundRepeat:\"no-repeat\"}}),handleMode==\"custom\"&&customHandle?/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",translate:\"-50% -50%\",[isVertical?\"width\":\"height\"]:slider.handleSizing==\"fill\"?\"100%\":undefined},children:slider.handleSizing==\"fill\"&&customHandle?/*#__PURE__*/cloneElement(customHandle,{style:{...(_customHandle_props=customHandle.props)===null||_customHandle_props===void 0?void 0:_customHandle_props.style,[isVertical?\"width\":\"height\"]:\"100%\"}}):customHandle}):null]})]});}ImageSlider.displayName=\"Image Slider\";addPropertyControls(ImageSlider,{before:{type:ControlType.ResponsiveImage},after:{type:ControlType.ResponsiveImage},sizing:{type:ControlType.Enum,defaultValue:\"cover\",options:[\"fill\",\"fit\",\"stretch\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"]},direction:{type:ControlType.Enum,defaultValue:\"horizontal\",options:[\"horizontal\",\"vertical\"],displaySegmentedControl:true},slideMode:{type:ControlType.Enum,defaultValue:\"drag\",options:[\"drag\",\"hover\"],optionTitles:[\"Drag\",\"Hover\"],displaySegmentedControl:true},startAt:{type:ControlType.Number,defaultValue:50,min:0,max:100,unit:\"%\"},fill:{type:ControlType.Color,defaultValue:\"#E3E3E3\",optional:true},slider:{type:ControlType.Object,buttonTitle:\"Line, Handle\",controls:{lineColor:{type:ControlType.Color,defaultValue:\"#fff\",optional:true},lineWidth:{type:ControlType.Number,defaultValue:4,min:0,step:1,displayStepper:true},innerRadius:{type:ControlType.Number,defaultValue:0,min:0,step:1},handleMode:{type:ControlType.Enum,defaultValue:\"arrows\",options:[\"none\",\"arrows\",\"image\",\"custom\"],optionTitles:[\"None\",\"Arrows\",\"Image\",\"Custom Layer\"],title:\"Handle\"},color:{type:ControlType.Color,defaultValue:\"#fff\",hidden(props){return props.handleMode!==\"arrows\";}},image:{type:ControlType.ResponsiveImage,hidden(props){return props.handleMode!==\"image\";}},imageSizing:{type:ControlType.Enum,defaultValue:\"cover\",options:[\"fill\",\"fit\",\"stretch\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"],title:\"Sizing\",hidden:props=>props.handleMode!=\"image\"},spacing:{type:ControlType.Number,defaultValue:0,hidden(props){return props.handleMode!==\"arrows\";}},stroke:{type:ControlType.Number,defaultValue:3,min:0,step:.1,displayStepper:true,hidden(props){return props.handleMode!==\"arrows\";}},width:{type:ControlType.Number,defaultValue:24,min:0,hidden(props){return props.handleMode==\"none\"||props.handleMode==\"custom\";}},height:{type:ControlType.Number,defaultValue:24,min:0,hidden(props){return props.handleMode==\"none\"||props.handleMode==\"custom\";}},handleSizing:{type:ControlType.Enum,defaultValue:\"auto\",options:[\"auto\",\"fill\"],optionTitles:[\"Auto\",\"Fill\"],displaySegmentedControl:true,title:\"Sizing\",description:'\"Custom Layer\" option is to the right \u2192',hidden:props=>props.handleMode!=\"custom\"}}},customHandle:{type:ControlType.ComponentInstance,hidden(props){return props.slider.handleMode!==\"custom\";}},cursor:{type:ControlType.Enum,defaultValue:\"move\",options:[\"default\",\"move\",\"resize\"],optionTitles:[\"Default\",\"Move\",\"Resize\"]},radius:{type:ControlType.FusedNumber,defaultValue:0,toggleKey:\"radiusIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"topLeft\",\"topRight\",\"bottomRight\",\"bottomLeft\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0},transition:{type:ControlType.Transition,defaultValue:{type:\"spring\",stiffness:900,damping:60},description:'Do not use \"Ease\"'}});function Arrow({color,width,height,stroke,rotation}){return /*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",fill:\"none\",viewBox:\"0 0 24 24\",strokeWidth:stroke,stroke:color,style:{width:`${width}px`,height:`${height}px`,rotate:`${rotation}deg`},children:/*#__PURE__*/_jsx(\"path\",{strokeLinecap:\"round\",strokeLinejoin:\"round\",d:\"M15.75 19.5L8.25 12l7.5-7.5\"})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageSlider\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerDisableUnlink\":\"\",\"framerIntrinsicHeight\":\"400\",\"framerIntrinsicWidth\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageSlider.map"],
  "mappings": "2MAAkQ,SAASA,EAAwBC,EAAQC,EAAOC,EAAOC,EAAW,CAAC,GAAG,CAACH,EAAS,MAAO,IAAI,IAAMI,EAAKJ,EAAQ,sBAAsB,EAAMK,EAAMF,GAAYD,EAAOI,EAAO,QAAQF,EAAK,KAAKJ,EAAQ,aAAa,KAAKC,EAAOK,EAAO,QAAQF,EAAK,MAAMJ,EAAQ,YAAY,IAAI,OAAO,KAAK,IAAI,EAAE,KAAK,IAAI,IAAIK,CAAK,CAAC,CAAE,CAMtiB,SAARE,EAA6BC,EAAM,CAAC,IAAIC,EAAoBC,EAAoB,IAAMC,EAASC,EAAa,QAAQ,IAAIA,EAAa,OAAY,CAAC,OAAAC,CAAM,EAAEL,EAAW,CAAC,YAAAM,EAAY,UAAAC,EAAU,WAAAC,CAAU,EAAEH,EAAaI,GAAcR,EAAoBD,EAAM,gBAAgB,MAAMC,IAAsB,OAAO,OAAOA,EAAoB,CAAC,EAAQN,EAAWK,EAAM,WAAW,WAAiBU,EAAcf,EAAW,SAAS,QAAcgB,EAAchB,EAAW,QAAQ,SAAaiB,EAAO,OAAUZ,EAAM,QAAQ,OAAQY,EAAOjB,EAAW,YAAY,YAAqBK,EAAM,QAAQ,WAAUY,EAAOjB,EAAW,aAAa,cAAc,IAAMkB,EAAab,EAAM,WAAW,QAAcc,EAAeC,EAAef,EA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E,CAAC,OAAoBZ,EAAK,MAAM,CAAC,MAAM,6BAA6B,KAAK,OAAO,QAAQ,YAAY,YAAYW,EAAO,OAAOH,EAAM,MAAM,CAAC,MAAM,GAAGC,CAAK,KAAK,OAAO,GAAGC,CAAM,KAAK,OAAO,GAAGE,CAAQ,KAAK,EAAE,SAAsBZ,EAAK,OAAO,CAAC,cAAc,QAAQ,eAAe,QAAQ,EAAE,6BAA6B,CAAC,CAAC,CAAC,CAAE",
  "names": ["calculateSliderPosition", "element", "mouseX", "mouseY", "isVertical", "rect", "value", "window", "ImageSlider", "props", "_props_customHandle", "_customHandle_props", "isCanvas", "RenderTarget", "slider", "innerRadius", "lineWidth", "handleMode", "customHandle", "vHeightHWidth", "vWidthHHeight", "cursor", "slideOnHover", "sliderPosition", "useMotionValue", "spring", "useSpring", "dragging", "setDragging", "ye", "ref", "pe", "tl", "tr", "br", "bl", "handleMouseMove", "event", "handleMouseDown", "handleMouseUp", "handleTouchStart", "touch", "handleTouchMove", "handleTouchEnd", "ue", "u", "p", "motion", "useTransform", "Image2", "Arrow", "q", "addPropertyControls", "ControlType", "color", "width", "height", "stroke", "rotation"]
}
