"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(t=[],e=[]){const d=t.length,a=e.length;if(Math.abs(d-a)!==1)return{add:!1,key:null};function r(s,n){const c=new Map;s.forEach(i=>{c.set(i,!0)});const f=n.filter(i=>!c.has(i));return f.length===1?f[0]:null}return d<a?{add:!0,key:r(t,e)}:{add:!1,key:r(e,t)}}function u(t,e,d){const a=t.findIndex(n=>n.key===d),r=t[a+1],s=e.findIndex(n=>n.key===d);if(r){const n=e.findIndex(c=>c.key===r.key);return e.slice(s+1,n)}return e.slice(s+1)}exports.findExpandedKeys=o;exports.getExpandRange=u;
