var e=`__RC_CASCADER_SPLIT__`,t=`SHOW_PARENT`,n=`SHOW_CHILD`;function r(t){return t.join(e)}function i(e){return e.map(r)}function a(t){return t.split(e)}function o(e){let{label:t,value:n,children:r}=e||{},i=n||`value`;return{label:t||`label`,value:i,key:i,children:r||`children`}}function s(e,t){return e.isLeaf??!e[t.children]?.length}function c(e){let t=e.parentElement;if(!t)return;let n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}exports.SHOW_CHILD=n,exports.SHOW_PARENT=t,exports.VALUE_SPLIT=e,exports.fillFieldNames=o,exports.isLeaf=s,exports.scrollIntoParentView=c,exports.toPathKey=r,exports.toPathKeys=i,exports.toPathValueStr=a;