{"version":3,"sources":["jsdelivr-header.js","/npm/slide-cast@0.2.18/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,MCNO,wCACA,4CACA,oDACA,6CACA,WAAY,oCACZ,UAAW,gCACT,WAAc,uBAEvB,IAAI,WAAa,IAAI,cACrB,WAAW,YAAY,OAAS,OAChC,SAAS,mBAAqB,IAAI,SAAS,mBAAoB,YAE/D,OAAO,YAAY,CACjB,eAAe,EACf,aAAc,KACd,UAAW,OACX,WAAW,GACV,OAEH,OAAO,OAAS,UACd,IAAI,EAAe,SAAS,cAAc,SAC1C,GAAI,EAAc,CAChB,IAAI,EAAM,EAAa,YACvB,GAAI,EAAK,CACP,IAAI,EAAmB,IAAI,cAC3B,EAAiB,YAAY,GAC7B,SAAS,mBAAqB,IAAI,SAAS,mBAAoB,EACjE,CACF,CACA,OAAO,qBAAoB,KACzB,IAAI,EAAU,SAAS,cAAc,YACjC,GACF,EAAQ,OACV,GACA","file":"/npm/slide-cast@0.2.18/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/slide-cast@0.2.18/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import './components/SlideIt/SlideIt.js';\nimport './components/VideoSpot/VideoSpot.js';\nimport './components/CommonToolbar/CommonToolbar.js';\nimport './components/GroupFrom/GroupFrom.js';\nimport styles from './common-css/styles.css.js';\nimport hlCss from './common-css/hl.css.js';\nimport { PubSub } from '@symbiotejs/symbiote';\n\nlet styleSheet = new CSSStyleSheet();\nstyleSheet.replaceSync(styles + hlCss);\ndocument.adoptedStyleSheets = [...document.adoptedStyleSheets, styleSheet];\n\nPubSub.registerCtx({\n  hideVideoSpot: false,\n  currentSlide: null,\n  drawColor: '#fff',\n  eraseMode: false,\n}, 'APP');\n\nwindow.onload = async () => {\n  let customStyles = document.querySelector('style');\n  if (customStyles) {\n    let css = customStyles.textContent;\n    if (css) {\n      let customStyleSheet = new CSSStyleSheet();\n      customStyleSheet.replaceSync(css);\n      document.adoptedStyleSheets = [...document.adoptedStyleSheets, customStyleSheet];\n    }\n  }\n  window.requestIdleCallback(() => {\n    let slideIt = document.querySelector('slide-it');\n    if (slideIt) {\n      slideIt.focus();\n    }\n  });\n}\n"]}