<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunkCustomerApp=self.webpackChunkCustomerApp||[]).push([[1459],{45849:(e,t)=&gt;{Object.defineProperty(t,"__esModule",{value:!0}),t.ImageZoomState=t.ImageZoomProps=void 0;var o=function(){this.cropWidth=100,this.cropHeight=100,this.imageWidth=100,this.imageHeight=100,this.panToMove=!0,this.pinchToZoom=!0,this.enableDoubleClickZoom=!0,this.clickDistance=10,this.maxOverflow=100,this.longPressTime=800,this.doubleClickInterval=175,this.style={},this.swipeDownThreshold=230,this.enableSwipeDown=!1,this.enableCenterFocus=!0,this.useHardwareTextureAndroid=!0,this.minScale=.6,this.maxScale=10,this.useNativeDriver=!1,this.onClick=function(){},this.onDoubleClick=function(){},this.onLongPress=function(){},this.horizontalOuterRangeOffset=function(){},this.onDragLeft=function(){},this.responderRelease=function(){},this.onMove=function(){},this.layoutChange=function(){},this.onSwipeDown=function(){},this.onStartShouldSetPanResponder=function(){return!0},this.onPanResponderTerminationRequest=function(){return!1}};t.ImageZoomProps=o;var i=function(){this.centerX=.5,this.centerY=.5};t.ImageZoomState=i},51984:(e,t,o)=&gt;{o.d(t,{A:()=&gt;n});var i=o(7613);const n=i.TurboModuleRegistry.get("RNHapticFeedback")},55304:function(e,t,o){var i=this&amp;&amp;this.__createBinding||(Object.create?function(e,t,o,i){void 0===i&amp;&amp;(i=o),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[o]}})}:function(e,t,o,i){void 0===i&amp;&amp;(i=o),e[i]=t[o]}),n=this&amp;&amp;this.__exportStar||function(e,t){for(var o in e)"default"===o||t.hasOwnProperty(o)||i(t,e,o)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(61038);t.default=a.default,n(o(45849),t)},61038:function(e,t,o){var i,n=o(74848),a=this&amp;&amp;this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&amp;&amp;(e[o]=t[o])},i(e,t)},function(e,t){function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=this&amp;&amp;this.__assign||function(){return s=Object.assign||function(e){for(var t,o=1,i=arguments.length;o&lt;i;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n]);return e},s.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=o(36782),l=o(77896),p=o(68552),c=o(45849),u=function(e){function t(){var t=null!==e&amp;&amp;e.apply(this,arguments)||this;return t.state=new c.ImageZoomState,t.lastPositionX=null,t.positionX=0,t.animatedPositionX=new l.Animated.Value(0),t.lastPositionY=null,t.positionY=0,t.animatedPositionY=new l.Animated.Value(0),t.scale=1,t.animatedScale=new l.Animated.Value(1),t.zoomLastDistance=null,t.zoomCurrentDistance=0,t.lastTouchStartTime=0,t.horizontalWholeOuterCounter=0,t.swipeDownOffset=0,t.horizontalWholeCounter=0,t.verticalWholeCounter=0,t.centerDiffX=0,t.centerDiffY=0,t.lastClickTime=0,t.doubleClickX=0,t.doubleClickY=0,t.isDoubleClick=!1,t.isLongPress=!1,t.isHorizontalWrap=!1,t.imagePanResponder=l.PanResponder.create({onStartShouldSetPanResponder:t.props.onStartShouldSetPanResponder,onPanResponderTerminationRequest:t.props.onPanResponderTerminationRequest,onMoveShouldSetPanResponder:t.props.onMoveShouldSetPanResponder,onPanResponderGrant:function(e){if(t.lastPositionX=null,t.lastPositionY=null,t.zoomLastDistance=null,t.horizontalWholeCounter=0,t.verticalWholeCounter=0,t.lastTouchStartTime=(new Date).getTime(),t.isDoubleClick=!1,t.isLongPress=!1,t.isHorizontalWrap=!1,t.singleClickTimeout&amp;&amp;clearTimeout(t.singleClickTimeout),e.nativeEvent.changedTouches.length&gt;1){var o=(e.nativeEvent.changedTouches[0].pageX+e.nativeEvent.changedTouches[1].pageX)/2;t.centerDiffX=o-t.props.cropWidth/2;var i=(e.nativeEvent.changedTouches[0].pageY+e.nativeEvent.changedTouches[1].pageY)/2;t.centerDiffY=i-t.props.cropHeight/2}t.longPressTimeout&amp;&amp;clearTimeout(t.longPressTimeout);var n=e.nativeEvent,a=n.locationX,s=n.locationY,r=n.pageX,p=n.pageY;if(t.longPressTimeout=setTimeout((function(){t.isLongPress=!0,t.props.onLongPress&amp;&amp;t.props.onLongPress({locationX:a,locationY:s,pageX:r,pageY:p})}),t.props.longPressTime),e.nativeEvent.changedTouches.length&lt;=1)if((new Date).getTime()-t.lastClickTime&lt;(t.props.doubleClickInterval||0)){if(t.lastClickTime=0,t.doubleClickX=e.nativeEvent.changedTouches[0].pageX,t.doubleClickY=e.nativeEvent.changedTouches[0].pageY,t.props.onDoubleClick&amp;&amp;t.props.onDoubleClick({locationX:e.nativeEvent.changedTouches[0].locationX,locationY:e.nativeEvent.changedTouches[0].locationY,pageX:t.doubleClickX,pageY:t.doubleClickY}),clearTimeout(t.longPressTimeout),t.isDoubleClick=!0,t.props.enableDoubleClickZoom){if(t.scale&gt;1||t.scale&lt;1)t.scale=1,t.positionX=0,t.positionY=0;else{var c=t.scale;t.scale=2;var u=t.scale-c;t.positionX=(t.props.cropWidth/2-t.doubleClickX)*u/t.scale,t.positionY=(t.props.cropHeight/2-t.doubleClickY)*u/t.scale}t.imageDidMove("centerOn"),l.Animated.parallel([l.Animated.timing(t.animatedScale,{toValue:t.scale,duration:100,useNativeDriver:!!t.props.useNativeDriver}),l.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100,useNativeDriver:!!t.props.useNativeDriver}),l.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100,useNativeDriver:!!t.props.useNativeDriver})]).start()}}else t.lastClickTime=(new Date).getTime()},onPanResponderMove:function(e,o){if(!t.isDoubleClick){if(e.nativeEvent.changedTouches.length&lt;=1){var i=o.dx-(t.lastPositionX||0);null===t.lastPositionX&amp;&amp;(i=0);var n=o.dy-(t.lastPositionY||0);if(null===t.lastPositionY&amp;&amp;(n=0),t.lastPositionX=o.dx,t.lastPositionY=o.dy,t.horizontalWholeCounter+=i,t.verticalWholeCounter+=n,(Math.abs(t.horizontalWholeCounter)&gt;5||Math.abs(t.verticalWholeCounter)&gt;5)&amp;&amp;clearTimeout(t.longPressTimeout),t.props.panToMove){if(0===t.swipeDownOffset){if(Math.abs(i)&gt;Math.abs(n)&amp;&amp;(t.isHorizontalWrap=!0),t.props.imageWidth*t.scale&gt;t.props.cropWidth){t.horizontalWholeOuterCounter&gt;0?i&lt;0?t.horizontalWholeOuterCounter&gt;Math.abs(i)?(t.horizontalWholeOuterCounter+=i,i=0):(i+=t.horizontalWholeOuterCounter,t.horizontalWholeOuterCounter=0,t.props.horizontalOuterRangeOffset&amp;&amp;t.props.horizontalOuterRangeOffset(0)):t.horizontalWholeOuterCounter+=i:t.horizontalWholeOuterCounter&lt;0&amp;&amp;(i&gt;0?Math.abs(t.horizontalWholeOuterCounter)&gt;i?(t.horizontalWholeOuterCounter+=i,i=0):(i+=t.horizontalWholeOuterCounter,t.horizontalWholeOuterCounter=0,t.props.horizontalOuterRangeOffset&amp;&amp;t.props.horizontalOuterRangeOffset(0)):t.horizontalWholeOuterCounter+=i),t.positionX+=i/t.scale;var a=(t.props.imageWidth*t.scale-t.props.cropWidth)/2/t.scale;t.positionX&lt;-a?(t.positionX=-a,t.horizontalWholeOuterCounter+=-1e-10):t.positionX&gt;a&amp;&amp;(t.positionX=a,t.horizontalWholeOuterCounter+=1e-10),t.animatedPositionX.setValue(t.positionX)}else t.horizontalWholeOuterCounter+=i;t.horizontalWholeOuterCounter&gt;(t.props.maxOverflow||0)?t.horizontalWholeOuterCounter=t.props.maxOverflow||0:t.horizontalWholeOuterCounter&lt;-(t.props.maxOverflow||0)&amp;&amp;(t.horizontalWholeOuterCounter=-(t.props.maxOverflow||0)),0!==t.horizontalWholeOuterCounter&amp;&amp;t.props.horizontalOuterRangeOffset&amp;&amp;t.props.horizontalOuterRangeOffset(t.horizontalWholeOuterCounter)}t.props.imageHeight*t.scale&gt;t.props.cropHeight?(t.positionY+=n/t.scale,t.animatedPositionY.setValue(t.positionY)):t.props.enableSwipeDown&amp;&amp;!t.isHorizontalWrap&amp;&amp;(t.swipeDownOffset+=n,t.swipeDownOffset&gt;0&amp;&amp;(t.positionY+=n/t.scale,t.animatedPositionY.setValue(t.positionY),t.scale=t.scale-n/1e3,t.animatedScale.setValue(t.scale)))}}else if(t.longPressTimeout&amp;&amp;clearTimeout(t.longPressTimeout),t.props.pinchToZoom){var s=void 0,r=void 0;e.nativeEvent.changedTouches[0].locationX&gt;e.nativeEvent.changedTouches[1].locationX?(s=e.nativeEvent.changedTouches[1].pageX,r=e.nativeEvent.changedTouches[0].pageX):(s=e.nativeEvent.changedTouches[0].pageX,r=e.nativeEvent.changedTouches[1].pageX);var l=void 0,p=void 0;e.nativeEvent.changedTouches[0].locationY&gt;e.nativeEvent.changedTouches[1].locationY?(l=e.nativeEvent.changedTouches[1].pageY,p=e.nativeEvent.changedTouches[0].pageY):(l=e.nativeEvent.changedTouches[0].pageY,p=e.nativeEvent.changedTouches[1].pageY);var c=r-s,u=p-l,h=Math.sqrt(c*c+u*u);if(t.zoomCurrentDistance=Number(h.toFixed(1)),null!==t.zoomLastDistance){var d=(t.zoomCurrentDistance-t.zoomLastDistance)/200,v=t.scale+d;v&lt;(t.props.minScale||0)&amp;&amp;(v=t.props.minScale||0),v&gt;(t.props.maxScale||0)&amp;&amp;(v=t.props.maxScale||0);var g=t.scale;t.scale=v,t.animatedScale.setValue(t.scale);var m=t.scale-g;t.positionX-=t.centerDiffX*m/t.scale,t.positionY-=t.centerDiffY*m/t.scale,t.animatedPositionX.setValue(t.positionX),t.animatedPositionY.setValue(t.positionY)}t.zoomLastDistance=t.zoomCurrentDistance}t.imageDidMove("onPanResponderMove")}},onPanResponderRelease:function(e,o){if(t.longPressTimeout&amp;&amp;clearTimeout(t.longPressTimeout),!t.isDoubleClick&amp;&amp;!t.isLongPress){var i=Math.sqrt(o.dx*o.dx+o.dy*o.dy),n=e.nativeEvent,a=n.locationX,s=n.locationY,r=n.pageX,l=n.pageY;1===e.nativeEvent.changedTouches.length&amp;&amp;i&lt;(t.props.clickDistance||0)?t.singleClickTimeout=setTimeout((function(){t.props.onClick&amp;&amp;t.props.onClick({locationX:a,locationY:s,pageX:r,pageY:l})}),t.props.doubleClickInterval):(t.props.responderRelease&amp;&amp;t.props.responderRelease(o.vx,t.scale),t.panResponderReleaseResolve())}},onPanResponderTerminate:function(){}}),t.resetScale=function(){t.positionX=0,t.positionY=0,t.scale=1,t.animatedScale.setValue(1)},t.panResponderReleaseResolve=function(){if(t.props.enableSwipeDown&amp;&amp;t.props.swipeDownThreshold&amp;&amp;t.swipeDownOffset&gt;t.props.swipeDownThreshold)t.props.onSwipeDown&amp;&amp;t.props.onSwipeDown();else{if(t.props.enableCenterFocus&amp;&amp;t.scale&lt;1&amp;&amp;(t.scale=1,l.Animated.timing(t.animatedScale,{toValue:t.scale,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()),t.props.imageWidth*t.scale&lt;=t.props.cropWidth&amp;&amp;(t.positionX=0,l.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()),t.props.imageHeight*t.scale&lt;=t.props.cropHeight&amp;&amp;(t.positionY=0,l.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()),t.props.imageHeight*t.scale&gt;t.props.cropHeight){var e=(t.props.imageHeight*t.scale-t.props.cropHeight)/2/t.scale;t.positionY&lt;-e?t.positionY=-e:t.positionY&gt;e&amp;&amp;(t.positionY=e),l.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()}if(t.props.imageWidth*t.scale&gt;t.props.cropWidth){var o=(t.props.imageWidth*t.scale-t.props.cropWidth)/2/t.scale;t.positionX&lt;-o?t.positionX=-o:t.positionX&gt;o&amp;&amp;(t.positionX=o),l.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()}t.props.enableCenterFocus&amp;&amp;1===t.scale&amp;&amp;(t.positionX=0,t.positionY=0,l.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start(),l.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100,useNativeDriver:!!t.props.useNativeDriver}).start()),t.horizontalWholeOuterCounter=0,t.swipeDownOffset=0,t.imageDidMove("onPanResponderRelease")}},t}return a(t,e),t.prototype.componentDidMount=function(){this.props.centerOn&amp;&amp;this.centerOn(this.props.centerOn)},t.prototype.componentDidUpdate=function(e){(this.props.centerOn&amp;&amp;!e.centerOn||this.props.centerOn&amp;&amp;e.centerOn&amp;&amp;this.didCenterOnChange(e.centerOn,this.props.centerOn))&amp;&amp;this.centerOn(this.props.centerOn)},t.prototype.imageDidMove=function(e){this.props.onMove&amp;&amp;this.props.onMove({type:e,positionX:this.positionX,positionY:this.positionY,scale:this.scale,zoomCurrentDistance:this.zoomCurrentDistance})},t.prototype.didCenterOnChange=function(e,t){return e.x!==t.x||e.y!==t.y||e.scale!==t.scale},t.prototype.centerOn=function(e){var t=this;this.positionX=e.x,this.positionY=e.y,this.scale=e.scale;var o=e.duration||300;l.Animated.parallel([l.Animated.timing(this.animatedScale,{toValue:this.scale,duration:o,useNativeDriver:!!this.props.useNativeDriver}),l.Animated.timing(this.animatedPositionX,{toValue:this.positionX,duration:o,useNativeDriver:!!this.props.useNativeDriver}),l.Animated.timing(this.animatedPositionY,{toValue:this.positionY,duration:o,useNativeDriver:!!this.props.useNativeDriver})]).start((function(){t.imageDidMove("centerOn")}))},t.prototype.handleLayout=function(e){this.props.layoutChange&amp;&amp;this.props.layoutChange(e)},t.prototype.reset=function(){this.scale=1,this.animatedScale.setValue(this.scale),this.positionX=0,this.animatedPositionX.setValue(this.positionX),this.positionY=0,this.animatedPositionY.setValue(this.positionY)},t.prototype.render=function(){var e={transform:[{scale:this.animatedScale},{translateX:this.animatedPositionX},{translateY:this.animatedPositionY}]},t=l.StyleSheet.flatten(this.props.style);return(0,n.jsx)(l.View,Object.assign({style:s(s(s({},p.default.container),t),{width:this.props.cropWidth,height:this.props.cropHeight})},this.imagePanResponder.panHandlers,{children:(0,n.jsx)(l.Animated.View,{style:e,renderToHardwareTextureAndroid:this.props.useHardwareTextureAndroid,children:(0,n.jsx)(l.View,{onLayout:this.handleLayout.bind(this),style:{width:this.props.imageWidth,height:this.props.imageHeight},children:this.props.children})})}))},t.defaultProps=new c.ImageZoomProps,t}(r.Component);t.default=u},68552:(e,t)=&gt;{Object.defineProperty(t,"__esModule",{value:!0});t.default={container:{justifyContent:"center",alignItems:"center",overflow:"hidden",backgroundColor:"transparent"}}},97217:(e,t,o)=&gt;{o.r(t),o.d(t,{HapticFeedbackTypes:()=&gt;i,default:()=&gt;p,trigger:()=&gt;l});var i,n=o(7613);!function(e){e.selection="selection",e.impactLight="impactLight",e.impactMedium="impactMedium",e.impactHeavy="impactHeavy",e.rigid="rigid",e.soft="soft",e.notificationSuccess="notificationSuccess",e.notificationWarning="notificationWarning",e.notificationError="notificationError",e.clockTick="clockTick",e.contextClick="contextClick",e.keyboardPress="keyboardPress",e.keyboardRelease="keyboardRelease",e.keyboardTap="keyboardTap",e.longPress="longPress",e.textHandleMove="textHandleMove",e.virtualKey="virtualKey",e.virtualKeyRelease="virtualKeyRelease",e.effectClick="effectClick",e.effectDoubleClick="effectDoubleClick",e.effectHeavyClick="effectHeavyClick",e.effectTick="effectTick"}(i||(i={}));const a={enableVibrateFallback:!1,ignoreAndroidSystemSettings:!1};class s{static trigger=(e=i.selection,t={})=&gt;{const a=r(t);try{const t=null!=o.g.__turboModuleProxy;(t?o(51984).A:n.NativeModules.RNHapticFeedback).trigger(e,a)}catch(e){}}}const r=e=&gt;"boolean"==typeof e?{...a,enableVibrateFallback:e}:{...a,...e},l=s.trigger,p=s}}]);</pre></body></html>