drill.define(async a=>{let t;a("util/showReload").then(a=>{t=a});let[i,o,e]=await a("common/app","util/stanzToServer -pack","common/urlData"),n=await a("util/u-tips -pack"),s=`ws://${document.location.hostname}:${parseInt(e.i,32)/901217}?aid=${i.aid}&kid=${e.kid||"start"}`,c=await o(s);"after"==e.kid&&(c.isUpToServer=0,c.allow.push("splits"));let l=c.commonData;if(l.splits.push({tag:"splitblock",aid:i.aid,shot:"",pannelType:"main",showPannel:"main",w:window.innerWidth,h:window.innerHeight,ua:navigator.userAgent,isProcess:!!window.process,xvele:1}),!l.animationData){let t=await a("common/animation");l.animationData=t.object}return c.onmsg=((a,i)=>{switch(a){case"close":case"error":t("data socket close")}}),c.oncmd=(a=>{switch(a.stat){case"saveok":n("保存成功")}}),window.commonData=l,l});