let _measuredScrollbarWidth;export function measuredScrollbarWidth(e){if("number"===typeof _measuredScrollbarWidth)return _measuredScrollbarWidth;if(!e)return 16;const t=e.createElement("div"),r=e.createElement("div");return t.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),r.setAttribute("style","height: 200px"),t.appendChild(r),e.body.appendChild(t),_measuredScrollbarWidth=t.offsetWidth-t.clientWidth,e.body.removeChild(t),_measuredScrollbarWidth}