import{b as a,p as n}from"./index.afa1b71c.js";import{q as s}from"./index.570461cd.js";const i=a(),g=()=>""+new Date().getTime()+Math.floor(Math.random()*1e6),u=(e,c,t={})=>{const r=localStorage.getItem("behaviorId")||"",o=s.stringifyUrl({url:location.origin+"/accompany",query:{id:e.id,behaviorId:r,client:i.isTeacher?"teacher":"student",...t}});console.log(o),n({api:"openAccompanyWebView",content:{url:o,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};export{g,u as m};
