"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    areEdgePropsEqual: ()=>areEdgePropsEqual
});
function areEdgePropsEqual(prev, next) {
    if (prev.id !== next.id) return false;
    if (prev.selected !== next.selected) return false;
    if (prev.animated !== next.animated) return false;
    if (prev.source !== next.source) return false;
    if (prev.target !== next.target) return false;
    if (prev.sourceHandleId !== next.sourceHandleId) return false;
    if (prev.targetHandleId !== next.targetHandleId) return false;
    if (prev.sourcePosition !== next.sourcePosition) return false;
    if (prev.targetPosition !== next.targetPosition) return false;
    if (prev.data !== next.data) return false;
    if (prev.style !== next.style) return false;
    const threshold = 0.5;
    if (Math.abs(prev.sourceX - next.sourceX) > threshold) return false;
    if (Math.abs(prev.sourceY - next.sourceY) > threshold) return false;
    if (Math.abs(prev.targetX - next.targetX) > threshold) return false;
    if (Math.abs(prev.targetY - next.targetY) > threshold) return false;
    return true;
}
exports.areEdgePropsEqual = __webpack_exports__.areEdgePropsEqual;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "areEdgePropsEqual"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
