import getWaterMarkConfig from"./utils/getWaterMarkConfig";import{generateWatermark}from"./packages/h5-watermark/watermark";getWaterMark.version={android:"1.1.0",ios:"1.1.0",pc:"1.1.0"};export default function getWaterMark(r,e){return void 0===r&&(r=""),new Promise((function(t,a){getWaterMarkConfig({pageInfo:r}).then((function(r){try{var n=generateWatermark(r,e);t(n)}catch(r){a(r)}}))}))}