import{_ as s}from"./index101.js?v=1763625242172";import{k as e,r as a,o as t,R as o,S as n,V as r,I as i,a2 as d,a0 as m}from"./vue.js?v=1763625242172";import{p,dF as u}from"./page_layout.js?v=1763625242172";import{b as l}from"./public.js?v=1763625242172";import"./index102.js?v=1763625242172";import"./naive.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";const _=["src"],c=p(e({__name:"index",props:{path:{default:""}},setup(s){const e=a("/"+s.path),d=a(null),m=a(996),p=()=>{m.value=998,l()},u=()=>{m.value=998},l=()=>{var s;const e=null==(s=d.value)?void 0:s.contentWindow;e&&e.postMessage("init","*")};return t((()=>{window.addEventListener("message",(s=>{"showMainView"===s.data&&(m.value=996)}))})),(s,a)=>(o(),n("iframe",{ref_key:"frameRef",ref:d,class:"iframePage",src:r(e),style:i({zIndex:r(m)}),onLoad:p,onMouseenter:u},null,44,_))}}),[["__scopeId","data-v-dd081d53"]]),f=e({__name:"old",setup:s=>(window.usePay=l,(s,e)=>{const a=c;return o(),d(a,{path:"btwaf/index"})})}),v=e({__name:"index",setup(e){const a=u(),{isBuy:t,isInstall:n,isFirstVersion:i}=m(a);return(e,a)=>{const m=s;return r(t)&&r(n)&&!r(i)?(o(),d(f,{key:1})):(o(),d(m,{key:0}))}}});export{v as default};
