'),0<(window.location.host||window.location.hostname).indexOf("binshuang.net"));function p(e){var t=new URLSearchParams(location.href.substring(location.href.indexOf("?")));return decodeURIComponent(t.get(e))}"https:"===window.location.protocol&&document.write('');var m={},v="true"===p("customLoading");function f(){var e,t=[1,1,1,1,2],n=!1,o=0;for(e of["/pages/index/meta-exhibition","/pages/index/meta-exhibition","/pages/index/ai-assistant","/pages/aframe/template-editor","/pages/index/template-preview"]){if(0window.innerWidth&&e.data.portraitCoverUrl?e.data.portraitCoverUrl:e.data.coverUrl,(t=document.createElement("div")).className="eloader-wrapper",t.innerHTML='
',document.body.appendChild(t))}function x(e){o(),s=!0,d&&(d.style.width="100%"),c&&(c.textContent="加载完成"),a&&clearInterval(a),s&&r&&(l.innerText="进入探索",l.onclick=()=>{t&&(t.style.transition="opacity 1s",r.style.opacity="0"),r.style.transition="opacity 1s",t.style.opacity="0",setTimeout(()=>{C(.3),r.remove(),t&&t.remove()},1e3)},l.style.display="block"),S(),setTimeout(()=>{S()},200)}function S(){C(0)}function C(e){var t=document.querySelector("[sound]");t&&t.setAttribute("sound","volume",e)}document.addEventListener("DOMContentLoaded",function(){r=h(),d=y(".loading-progress-bar"),c=y(".loading-progress-text"),l=y(".enter-button"),y(".title"),w(".title",m.title);var t=p("id");if(t&&f())b(t);else if(function(){var e;for(e of["/pages/aframe/vr-gallery-test","/pages/aframe/vr-projects"])if(0{var e;i<95&&!s&&(e=(95-i)/100,i+=Math.max(.1,e),d)&&(d.style.width=i+"%")},50),document.body.addEventListener("scene:init",function(e){w(".title",m.title),e.detail.id&&(g(),b(e.detail.id))})})}()