Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const defineCustomElements = (win, options) => {
return patchEsm().then(() => {
bootstrapLazy(
[
[
"web-social-share",
[[1, "web-social-share", { show: [1028], share: [16] }]]
]
],
options
);
});
};
class SiteShareWidget extends LitElement {
return patchEsm().then(() => {
bootstrapLazy(
[
[
"web-social-share",
[[1, "web-social-share", { show: [1028], share: [16] }]]
]
],
options
);
});
};
promises.push(deckDeckGoSlideGifElements(window));
promises.push(deckDeckGoSlideQRCodeElements(window));
promises.push(deckDeckGoSlideBigImgElements(window));
promises.push(deckDeckGoSlideVideoElements(window));
promises.push(deckDeckGoSlidePollElements(window));
await Promise.all(promises);
await postLoading();
await initActions();
await initFullscreen();
await postLoadingJumpTo();
await initDeckHistoryWatch();
await webSocialShareElements(window);
deckDeckGoRemoteElements(window).then(async () => {
await initRemote();
});
});