(()=>(e,n)=>{(async()=>{const{waitForControlBar:e}=await n.importAsync("live-control-bar");const t="fullscreen-gift-box";let l;e({init:()=>n.applyImportantStyle("fullscreenGiftBoxStyle"),callback:async e=>{const n=dq(e,".right-area");if(!n){console.warn("[fullscreenGiftBox] ref elements not found",n===null);return}if(dq(n,`.${t}`)){return}if(!l){const e=".gift-package";l=document.createElement("div");l.innerHTML="包裹";l.classList.add(t);l.addEventListener("click",(()=>{const n=dq(e);n===null||n===void 0?void 0:n.click()}))}n.appendChild(l)}})})();return{reload:()=>document.body.classList.remove("fullscreen-gift-box-unloaded"),unload:()=>document.body.classList.add("fullscreen-gift-box-unloaded")}})();