function o(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function a(e){return Object.keys(e).map(r=>`${o(r)}: ${e[r]};`).join(" ")}function i(){return window.devicePixelRatio||1}function s(e,r,t,n){e.translate(r,t),e.rotate(Math.PI/180*Number(n)),e.translate(-r,-t)}const f=(e,r)=>{let t=!1;return e.removedNodes.length&&(t=Array.from(e.removedNodes).includes(r)),e.type==="attributes"&&e.target===r&&(t=!0),t};export{i as getPixelRatio,a as getStyleStr,f as reRendering,s as rotateWatermark,o as toLowercaseSeparator};
