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