"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__=globalThis.__LOADABLE_LOADED_CHUNKS__||[]).push([[87582],{87582:(e,t,n)=>{n.r(t),n.d(t,{addV:()=>o,rubberbandIfOutOfBounds:()=>f,subV:()=>a,useDrag:()=>Z,useGesture:()=>le,useHover:()=>ae,useMove:()=>oe,usePinch:()=>te,useScroll:()=>ue,useWheel:()=>re});var r=n(75418),i=n.n(r);function o(e,t){return e.map((function(e,n){return e+t[n]}))}function a(e,t){return e.map((function(e,n){return e-t[n]}))}function s(e,t,n){return n=n||Math.hypot.apply(Math,e),t?n/t:0}function u(e,t){return t?e.map((function(e){return e/t})):Array(e.length).fill(0)}function l(e){return Math.hypot.apply(Math,e)}function c(e,t){return t=t||Math.hypot.apply(Math,e)||1,e.map((function(e){return e/t}))}function d(e,t,n){var r=Math.hypot.apply(Math,t);return{velocities:u(t,n),velocity:s(t,n,r),distance:l(e),direction:c(t,r)}}function v(e,t){return Math.abs(e)>=t&&Math.sign(e)*t}function h(e,t,n){return 0===t||Math.abs(t)===1/0?function(e,t){return Math.pow(e,5*t)}(e,n):e*t*n/(t+n*e)}function f(e,t,n,r){return void 0===r&&(r=.15),0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):en?h(e-n,n-t,r)+n:e}function g(e,t){for(var n=0;n=0||(i[n]=e[n]);return i}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function w(){}var T=function(){for(var e=arguments.length,t=new Array(e),n=0;n0?t:n}return null}function K(e){var t="buttons"in e?e.buttons:0,n=B(e),r=n&&n.length||0;return p({touches:r,down:r>0||t>0,buttons:t},function(e){return{shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}(e))}function L(e){var t=e.currentTarget,n=t.scrollX,r=t.scrollY,i=t.scrollLeft,o=t.scrollTop;return{values:[n||i||0,r||o||0]}}function C(e){return{values:[e.deltaX,e.deltaY]}}function W(e){var t=B(e),n=t?t[0]:e;return{values:[n.clientX,n.clientY]}}function H(e){return{values:[260*e.scale,e.rotation]}}function A(e){var t=e.touches,n=t[1].clientX-t[0].clientX,r=t[1].clientY-t[0].clientY;return{values:[Math.hypot(n,r),-180*Math.atan2(n,r)/Math.PI],origin:[(t[1].clientX+t[0].clientX)/2,(t[1].clientY+t[0].clientY)/2]}}var k=function(){var e=this;this.state=E(),this.timeouts={},this.domListeners=[],this.windowListeners={},this.bindings={},this.clean=function(){e.resetBindings(),Object.values(e.timeouts).forEach(clearTimeout),Object.keys(e.windowListeners).forEach((function(t){return e.removeWindowListeners(t)}))},this.resetBindings=function(){e.bindings={};var t=e.getDomTarget();t&&(P(t,e.domListeners,e.config.eventOptions),e.domListeners=[])},this.getDomTarget=function(){var t=e.config.domTarget;return t&&"current"in t?t.current:t},this.addWindowListeners=function(t,n){e.config.window&&(e.windowListeners[t]=n,O(e.config.window,n,e.config.eventOptions))},this.removeWindowListeners=function(t){if(e.config.window){var n=e.windowListeners[t];n&&(P(e.config.window,n,e.config.eventOptions),delete e.windowListeners[t])}},this.addDomTargetListeners=function(t){Object.entries(e.bindings).forEach((function(t){var n=t[0],r=t[1];e.domListeners.push([n.substr(2).toLowerCase(),T.apply(void 0,r)])})),O(t,e.domListeners,e.config.eventOptions)},this.addBindings=function(t,n){(Array.isArray(t)?t:[t]).forEach((function(t){e.bindings[t]?e.bindings[t].push(n):e.bindings[t]=[n]}))},this.getBindings=function(){var t={},n=e.config.captureString;return Object.entries(e.bindings).forEach((function(e){var r=e[0],i=e[1],o=Array.isArray(i)?i:[i];t[r+n]=T.apply(void 0,o)})),t},this.getBind=function(){if(e.config.domTarget){var t=e.getDomTarget();return t&&e.addDomTargetListeners(t),e.clean}return e.getBindings()}};function x(e,t,n,r){var o=i().useMemo((function(){var e=new k;return{nativeRefs:r,current:e,bind:function(){e.resetBindings();for(var n=arguments.length,r=new Array(n),i=0;i2?i-2:0),a=2;ad?"x":c0?(r.state._delayedEvent=!0,"function"==typeof e.persist&&e.persist(),r.setTimeout((function(){return r.startDrag(e)}),r.config.delay)):r.startDrag(e))},r.onDragChange=function(e){if(!r.state.canceled)if(r.state._active){var t=K(e);if(t.down){r.updateSharedState(t);var n=W(e).values,i=r.getKinematics(n,e),o=r.state._isTap;o&&l(i._movement)>=3&&(o=!1),r.updateGestureState(p({},r.getGenericPayload(e),{},i,{_isTap:o,cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}else r.onDragEnd(e)}else r.state._delayedEvent&&(r.clearTimeout(),r.startDrag(e))},r.onDragEnd=function(e){r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0});var t=r.state,n=t._isTap,i=t.values,o=t.velocities,a=o[0],s=o[1],u=t.movement,l=u[0],c=u[1],d=t._intentional,v=d[0],h=d[1],f=p({},r.getGenericPayload(e),{},r.getMovement(i)),g=f.elapsedTime,m=r.config,y=m.swipeVelocity,S=y[0],b=y[1],w=m.swipeDistance,T=w[0],G=w[1],M=[0,0];g<220&&(!1!==v&&Math.abs(a)>S&&Math.abs(l)>T&&(M[0]=Math.sign(a)),!1!==h&&Math.abs(s)>b&&Math.abs(c)>G&&(M[1]=Math.sign(s))),r.updateGestureState(p({event:e},f,{tap:n,swipe:M})),r.fireGestureHandler(r.config.filterTaps&&r.state._isTap)},r.clean=function(){e.prototype.clean.call(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r)),r.state._delayedEvent=!1,r.controller.config.pointer&&r.removePointers()},r.onCancel=function(){r.updateGestureState({canceled:!0,cancel:w}),r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0}),requestAnimationFrame((function(){return r.fireGestureHandler()}))},r}m(t,e);var n=t.prototype;return n.startDrag=function(e){var t=this,n=W(e).values;this.updateSharedState(K(e));var r=p({},this.getStartGestureState(n,e),{},this.getGenericPayload(e,!0));this.updateGestureState(p({},r,{},this.getMovement(n,r),{cancel:function(){return t.onCancel()}})),this.fireGestureHandler()},n.addBindings=function(){this.controller.config.pointer?(this.controller.addBindings("onPointerDown",this.onDragStart),this.controller.addBindings("onPointerMove",this.onDragChange),this.controller.addBindings(["onPointerUp","onPointerCancel"],this.onDragEnd)):this.controller.addBindings(["onTouchStart","onMouseDown"],this.onDragStart)},t}(V),R=180,F=.15,X=.5,Y=60,U="undefined"!=typeof window?window:void 0,q={lockDirection:!1,axis:void 0,bounds:void 0};function N(e){void 0===e&&(e={});var t=e,n=t.eventOptions,r=(n=void 0===n?{}:n).passive,i=void 0===r||r,o=n.capture,a=void 0!==o&&o,s=n.pointer,u=void 0!==s&&s,l=t.window,c=void 0===l?U:l,d=t.domTarget,v=void 0===d?void 0:d,h=t.enabled,f=void 0===h||h;return p({},y(t,["eventOptions","window","domTarget","enabled"]),{enabled:f,domTarget:v,window:c,eventOptions:{passive:!v||!!i,capture:!!a},captureString:a?"Capture":"",pointer:!!u})}function $(e){var t=e.threshold,n=void 0===t?void 0:t,r=e.rubberband,i=void 0===r?0:r,o=e.enabled,a=void 0===o||o,s=e.initial;return"boolean"==typeof i&&(i=i?F:0),void 0===n&&(n=0),{enabled:a,initial:void 0===s?[0,0]:s,threshold:G.array(n),rubberband:G.array(i)}}function z(e){void 0===e&&(e={});var t=e,n=t.axis,r=t.lockDirection,i=t.bounds,o=void 0===i?{}:i,a=y(t,["axis","lockDirection","bounds"]),s=[[G.withDefault(o.left,-1/0),G.withDefault(o.right,1/0)],[G.withDefault(o.top,-1/0),G.withDefault(o.bottom,1/0)]];return p({},$(a),{},q,{},M({axis:n,lockDirection:r},e),{bounds:s})}function J(e){void 0===e&&(e={});var t=e,n=t.distanceBounds,r=void 0===n?{}:n,i=t.angleBounds,o=void 0===i?{}:i,a=y(t,["distanceBounds","angleBounds"]),s=[[G.withDefault(r.min,-1/0),G.withDefault(r.max,1/0)],[G.withDefault(o.min,-1/0),G.withDefault(o.max,1/0)]];return p({},$(a),{bounds:s})}function Q(e){void 0===e&&(e={});var t=e,n=t.enabled,r=t.threshold,i=t.bounds,o=t.rubberband,a=t.initial,s=y(t,["enabled","threshold","bounds","rubberband","initial"]),u=s.swipeVelocity,l=void 0===u?X:u,c=s.swipeDistance,d=void 0===c?Y:c,v=s.delay,h=void 0!==v&&v,f=s.filterTaps,g=void 0!==f&&f,m=s.axis,S=s.lockDirection;void 0===r?r=Math.max(0,g?3:0,S||m?1:0):g=!0;var b=z(M({enabled:n,threshold:r,bounds:i,rubberband:o,axis:m,lockDirection:S,initial:a},e));return p({},b,{filterTaps:g||b.threshold[0]+b.threshold[1]>0,swipeVelocity:G.array(l),swipeDistance:G.array(d),delay:"number"==typeof h?h:h?R:0})}function Z(e,t){void 0===t&&(t={});var n=t,r=n.domTarget,i=n.eventOptions,o=n.window,a=y(n,["domTarget","eventOptions","window"]),s=p({},N({domTarget:r,eventOptions:i,window:o}),{drag:Q(a)});return x({drag:e},[I],s)}var ee=function(e){function t(t,n){var r;return(r=e.call(this,"pinch",t,n)||this).ingKey="pinching",r.pinchShouldStart=function(e){var t=K(e).touches;return r.enabled&&2===t},r.onPinchStart=function(e){if(r.pinchShouldStart(e)){var t=A(e),n=t.values,i=t.origin;r.updateSharedState(K(e));var o=p({},r.getStartGestureState(n,e),{},r.getGenericPayload(e,!0));r.updateGestureState(p({},o,{},r.getMovement(n,o),{origin:i,cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}},r.onPinchChange=function(e){var t=r.state,n=t.canceled,i=t.timeStamp,o=t._active;if(!n&&o){var a=K(e);if(2===a.touches&&e.timeStamp!==i){r.updateSharedState(a);var s=A(e),u=s.values,l=s.origin,c=r.getKinematics(u,e);r.updateGestureState(p({},r.getGenericPayload(e),{},c,{origin:l,cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}}},r.onPinchEnd=function(e){r.state.active&&(r.state._active=!1,r.updateSharedState({down:!1,touches:0}),r.updateGestureState(p({event:e},r.getGenericPayload(e),{},r.getMovement(r.state.values))),r.fireGestureHandler())},r.onCancel=function(){r.state._active=!1,r.updateGestureState({canceled:!0,cancel:w}),r.updateSharedState({down:!1,touches:0}),requestAnimationFrame((function(){return r.fireGestureHandler()}))},r.onGestureStart=function(e){if(r.enabled){e.preventDefault();var t=H(e).values;r.updateSharedState(K(e));var n=p({},r.getStartGestureState(t,e),{},r.getGenericPayload(e,!0));r.updateGestureState(p({},n,{},r.getMovement(t,n),{cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}},r.onGestureChange=function(e){var t=r.state,n=t.canceled,i=t._active;if(!n&&i){e.preventDefault();var o=K(e);r.updateSharedState(o);var a=H(e).values,s=r.getKinematics(a,e);r.updateGestureState(p({},r.getGenericPayload(e),{},s,{cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}},r.onGestureEnd=function(e){e.preventDefault(),r.state.active&&(r.state._active=!1,r.updateSharedState({down:!1,touches:0}),r.updateGestureState(p({event:e},r.getGenericPayload(e),{},r.getMovement(r.state.values))),r.fireGestureHandler())},r.updateTouchData=function(e){if(r.enabled&&2===e.touches.length&&r.state._active){var t=A(e).origin;r.state.origin=t}},r.wheelShouldRun=function(e){return r.enabled&&e.ctrlKey},r.getWheelValuesFromEvent=function(e){var t=C(e).values[1],n=r.state.values,i=n[0],o=n[1];return{values:[i-t,void 0!==o?o:0],origin:[e.clientX,e.clientY],delta:[0,t]}},r.onWheel=function(e){r.wheelShouldRun(e)&&(r.clearTimeout(),r.setTimeout(r.onWheelEnd),r.state._active?r.onWheelChange(e):r.onWheelStart(e))},r.onWheelStart=function(e){var t=r.getWheelValuesFromEvent(e),n=t.values,i=t.delta,o=t.origin;r.controller.config.eventOptions.passive||e.preventDefault(),r.updateSharedState(K(e));var a=p({},r.getStartGestureState(n,e),{},r.getGenericPayload(e,!0),{initial:r.state.values});r.updateGestureState(p({},a,{},r.getMovement(n,a),{offset:n,delta:i,origin:o})),r.fireGestureHandler()},r.onWheelChange=function(e){var t=K(e);r.updateSharedState(t);var n=r.getWheelValuesFromEvent(e),i=n.values,o=n.origin,a=n.delta,s=r.getKinematics(i,e);r.updateGestureState(p({},r.getGenericPayload(e),{},s,{origin:o,delta:a})),r.fireGestureHandler()},r.onWheelEnd=function(){r.state._active=!1,r.updateGestureState(r.getMovement(r.state.values)),r.fireGestureHandler()},r}return m(t,e),t.prototype.addBindings=function(){this.controller.config.domTarget&&function(){try{return"constructor"in GestureEvent}catch(e){return!1}}()?(this.controller.addBindings("onGestureStart",this.onGestureStart),this.controller.addBindings("onGestureChange",this.onGestureChange),this.controller.addBindings(["onGestureEnd","onTouchCancel"],this.onGestureEnd),this.controller.addBindings(["onTouchStart","onTouchMove"],this.updateTouchData)):(this.controller.addBindings("onTouchStart",this.onPinchStart),this.controller.addBindings("onTouchMove",this.onPinchChange),this.controller.addBindings(["onTouchEnd","onTouchCancel"],this.onPinchEnd),this.controller.addBindings("onWheel",this.onWheel))},t}(function(e){function t(){return e.apply(this,arguments)||this}m(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){var n=e[0],r=e[1],i=t.values,o=t.turns,a=t.initial,s=(r=void 0!==r?r:i[1])-i[1],u=Math.abs(s)>270?o+Math.sign(s):o;return[n-a[0],r-360*u-a[1]]},n.getKinematics=function(e,t){var n=this.state,r=n.timeStamp,i=n.initial,o=this.getMovement(e,this.state),a=o.delta,s=o.movement;return p({values:e,delta:a,turns:(e[1]-s[1]-i[1])/360},o,{},d(s,a,t.timeStamp-r))},n.mapStateValues=function(e){return{da:e.values,vdva:e.velocities}},t}(j));function te(e,t){void 0===t&&(t={});var n=t,r=n.domTarget,i=n.eventOptions,o=n.window,a=y(n,["domTarget","eventOptions","window"]),s=p({},N({domTarget:r,eventOptions:i,window:o}),{pinch:J(a)});return x({pinch:e},[ee],s)}var ne=function(e){function t(t,n){var r;return(r=e.call(this,"wheel",t,n)||this).ingKey="wheeling",r.debounced=!0,r.wheelShouldRun=function(e){return(!e.ctrlKey||!("pinch"in r.controller.handlers))&&r.enabled},r.getValuesFromEvent=function(e){var t=r.state.values;return{values:o(C(e).values,t)}},r.onWheel=function(e){r.wheelShouldRun(e)&&(r.clearTimeout(),r.setTimeout(r.onWheelEnd),r.state._active?r.onWheelChange(e):r.onWheelStart(e))},r.onWheelStart=function(e){var t=r.getValuesFromEvent(e).values;r.updateSharedState(K(e));var n=p({},r.getStartGestureState(t,e),{},r.getGenericPayload(e,!0),{initial:r.state.values}),i=r.getMovement(t,n),o=i.delta;r.updateGestureState(p({},n,{},i,{distance:l(o),direction:c(o)})),r.fireGestureHandler()},r.onWheelChange=function(e){var t=K(e);r.updateSharedState(t);var n=r.getValuesFromEvent(e).values,i=r.getKinematics(n,e);r.updateGestureState(p({},r.getGenericPayload(e),{},i)),r.fireGestureHandler()},r.onWheelEnd=function(){r.state._active=!1,r.updateGestureState(p({},r.getMovement(r.state.values),{velocities:[0,0],velocity:0})),r.fireGestureHandler()},r}return m(t,e),t.prototype.addBindings=function(){this.controller.addBindings("onWheel",this.onWheel)},t}(V);function re(e,t){void 0===t&&(t={});var n=t,r=n.domTarget,i=n.eventOptions,o=n.window,a=y(n,["domTarget","eventOptions","window"]),s=p({},N({domTarget:r,eventOptions:i,window:o}),{wheel:z(a)});return x({wheel:e},[ne],s)}var ie=function(e){function t(t,n){var r;return(r=e.call(this,"move",t,n)||this).ingKey="moving",r.debounced=!0,r.moveShouldRun=function(){return r.enabled},r.onMove=function(e){r.moveShouldRun()&&(r.clearTimeout(),r.setTimeout(r.onMoveEnd),r.state._active?r.onMoveChange(e):r.onMoveStart(e))},r.onMoveStart=function(e){var t=W(e).values;r.updateSharedState(K(e));var n=p({},r.getStartGestureState(t,e),{},r.getGenericPayload(e,!0));r.updateGestureState(p({},n,{},r.getMovement(t,n))),r.fireGestureHandler()},r.onMoveChange=function(e){var t=K(e);r.updateSharedState(t);var n=W(e).values,i=r.getKinematics(n,e);r.updateGestureState(p({},r.getGenericPayload(e),{},i)),r.fireGestureHandler()},r.onMoveEnd=function(){r.state._active=!1,r.updateGestureState(p({},r.getMovement(r.state.values),{velocities:[0,0],velocity:0})),r.fireGestureHandler()},r.onPointerEnter=function(e){if(r.controller.state.shared.hovering=!0,r.controller.config.enabled){if(r.controller.config.hover.enabled){var t=W(e).values,n=p({},r.controller.state.shared,{},r.state,{},r.getGenericPayload(e,!0),{values:t,active:!0,hovering:!0});r.controller.handlers.hover(p({},n,{},r.mapStateValues(n)))}"move"in r.controller.handlers&&r.onMoveStart(e)}},r.onPointerLeave=function(e){if(r.controller.state.shared.hovering=!1,"move"in r.controller.handlers&&r.onMoveEnd(),r.controller.config.hover.enabled){var t=W(e).values,n=p({},r.controller.state.shared,{},r.state,{},r.getGenericPayload(e),{values:t,active:!1});r.controller.handlers.hover(p({},n,{},r.mapStateValues(n)))}},r}return m(t,e),t.prototype.addBindings=function(){this.controller.config.pointer?("move"in this.controller.handlers&&this.controller.addBindings("onPointerMove",this.onMove),"hover"in this.controller.handlers&&(this.controller.addBindings("onPointerEnter",this.onPointerEnter),this.controller.addBindings("onPointerLeave",this.onPointerLeave))):("move"in this.controller.handlers&&this.controller.addBindings("onMouseMove",this.onMove),"hover"in this.controller.handlers&&(this.controller.addBindings("onMouseEnter",this.onPointerEnter),this.controller.addBindings("onMouseLeave",this.onPointerLeave)))},t}(V);function oe(e,t){void 0===t&&(t={});var n=t,r=n.domTarget,i=n.eventOptions,o=n.window,a=y(n,["domTarget","eventOptions","window"]),s=p({},N({domTarget:r,eventOptions:i,window:o}),{move:z(a)});return x({move:e},[ie],s)}function ae(e,t){void 0===t&&(t={});var n=t,r=n.domTarget,i=n.eventOptions,o=n.window,a=y(n,["domTarget","eventOptions","window"]),s=p({},N({domTarget:r,eventOptions:i,window:o}),{hover:p({enabled:!0},a)});return x({hover:e},[ie],s)}var se=function(e){function t(t,n){var r;return(r=e.call(this,"scroll",t,n)||this).ingKey="scrolling",r.debounced=!0,r.scrollShouldRun=function(){return r.enabled},r.onScroll=function(e){r.scrollShouldRun()&&(r.clearTimeout(),r.setTimeout(r.onScrollEnd),r.state._active?r.onScrollChange(e):r.onScrollStart(e))},r.onScrollStart=function(e){var t=L(e).values;r.updateSharedState(K(e));var n=p({},r.getStartGestureState(t,e),{},r.getGenericPayload(e,!0),{initial:r.state.values}),i=r.getMovement(t,n),o=i.delta;r.updateGestureState(p({},n,{},i,{distance:l(o),direction:c(o)})),r.fireGestureHandler()},r.onScrollChange=function(e){var t=K(e);r.updateSharedState(t);var n=L(e).values,i=r.getKinematics(n,e);r.updateGestureState(p({},r.getGenericPayload(e),{},i)),r.fireGestureHandler()},r.onScrollEnd=function(){r.state._active=!1,r.updateGestureState(p({},r.getMovement(r.state.values),{velocities:[0,0],velocity:0})),r.fireGestureHandler()},r}return m(t,e),t.prototype.addBindings=function(){this.controller.addBindings("onScroll",this.onScroll)},t}(V);function ue(e,t){void 0===t&&(t={});var n=t,r=n.domTarget,i=n.eventOptions,o=n.window,a=y(n,["domTarget","eventOptions","window"]),s=p({},N({domTarget:r,eventOptions:i,window:o}),{scroll:z(a)});return x({scroll:e},[se],s)}function le(e,t){void 0===t&&(t={});var n=i().useState((function(){return new Set(Object.keys(e).map((function(e){return e.replace(/End|Start/,"")})))}))[0],r=t,o=r.drag,a=r.wheel,s=r.move,u=r.scroll,l=r.pinch,c=r.hover,d=N(y(r,["drag","wheel","move","scroll","pinch","hover"])),v=[],h={},f=p({},e);return n.has("onDrag")&&(v.push(I),h.drag=ce(e,"onDrag",f),d.drag=Q(o)),n.has("onWheel")&&(v.push(ne),h.wheel=ce(e,"onWheel",f),d.wheel=z(a)),n.has("onScroll")&&(v.push(se),h.scroll=ce(e,"onScroll",f),d.scroll=z(u)),n.has("onMove")&&(v.push(ie),h.move=ce(e,"onMove",f),d.move=z(s)),n.has("onPinch")&&(v.push(ee),h.pinch=ce(e,"onPinch",f),d.pinch=J(l)),n.has("onHover")&&(n.has("onMove")||v.push(ie),h.hover=e.onHover,d.hover=p({enabled:!0},c),delete f.onHover),x(h,v,d,f)}function ce(e,t,n){var r=t+"Start",i=t+"End";delete n[t],delete n[r],delete n[i];return function(n){var o=void 0;return n.first&&r in e&&e[r](n),t in e&&(o=e[t](n)),n.last&&i in e&&e[i](n),o}}}}]);