!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function t(t){for(var i=1;i{i=e.d,o=e.x,l=e.r,a=e.y,s=e.a8,c=e.a,u=e.Q,g=e.A,d=e.F,p=e.C,v=e.q,m=e.W,f=e.R,y=e.S,h=e.h,b=e.D,w=e.E},e=>{j=e.M},e=>{N=e.g,_=e.s,x=e.a,A=e.b},e=>{k=e.I},null],execute:function(){var Y=document.createElement("style");Y.textContent="._woringBook_uv0qg_1{min-height:100vh;background:url("+new URL("woring-bg-f6d25b0e.png",n.meta.url).href+') no-repeat top center;background-size:contain}._woringHeader_uv0qg_6{display:flex;align-items:center;height:var(--van-nav-bar-height)}._woringHeader_uv0qg_6 ._leftArrow_uv0qg_11{padding:0 var(--k-padding-md)}._woringHeader_uv0qg_6 ._title_uv0qg_14{position:relative;z-index:1}._woringHeader_uv0qg_6 ._title_uv0qg_14 i{width:1.6rem;height:.53333rem;display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAoCAMAAAACNM4XAAAAkFBMVEUAAAA4NjY4NjY4NjY6MzM4NjY2NjY4NjY4Nzc4NjY3Nzc4Nzc5NTU4NjY4NjY4NjY4NjY3NTU3NjY4NjY2NDQ4NjY4NTU3NzcrKys4NjY3Nzc0NDQ4NjY3NjY4NjY3NTU4NTU4NjY4NjY4NjY3MzM3NjY4NjY4NjY3NjY4NjY3NTU2NjY4NjY4NjY4NjY4NjbZy1a/AAAAL3RSTlMAjuGEHsI9Ua3MZqOY1vZ6RlwztxTs+igHYRIN8vCo59Pas20YnHZ0WEs4LsiBQHq7RwoAAANQSURBVFjD5ZfbeqIwFEYDAVQ8IaKCqGit5yrv/3aT/KmEJIiTma83M+uibCJxUbL3JpJ/l2vIuJJGtiXjozrt8tMOC8Y8GFfjJ0fhRE59HY8YOCXDaRavSsbgrbhXKvTItNSJrcRLzDkivlBKh/y0ywKfBz4L4p8RX+XECS4zCG3EaUfhA+uojqUEhDbicMLI2sRJ+ZaEgIGNGHNSIY4jDkWGRCC3En/ZiF0gxMTjYEqGMCc24nzO4/mIc/aCIPCRzCw48ODAgs/mNfZKDWolviDek7ZyshEvXbDmAyPXRa2uXHfEj2sXLGW+l7d2sZlczWJJ/7uMnPqxT2rscGsTThR1GQUf+GIBOtqWDy305HovdnH7UtxBhhBJXEr8sGwm0JNLindT4GviBeZ9SvEnBhakglqJzTUek4iReJo4w00RKRZPNqvdWjz8SzFPm44u7qO66+KBsci9nxBjNc518VlfZLKnMxQspWHuNZOSJkyxtsRJXZyoiwyGos+2Q3WiFvERBaG+nVAkx1dixzcRzaXUoS1iv9I5auQ3ijHDxGkXz03xEm04UsURWvOyynvWokvOiEH/QIy/h4UinuALU1WcwjMh34SKokU8+wb/zJoFYyHe45pCEW/kLk6KCfYEmzax23tSmBuXbvUU85ARuCWY3UhFukZb18VQrdMW8USmck3cGTIuUgxSfgoKWSkd0S91seiaHWtxiGlCfGc7J4/XK66fr/BeIU824lQXiy3HpiWr/f6TbW0aFvMCMQjj/XSOaHwr6jWaj8Q7GKz0eJRblJNsClFNPMUBtRlz1yyvcpqxLhXk0MRWTLFhMMVd7jvVNg0Y94elwRDfPrUV95ExungkbGlRvQKSOT5tEofIiOSl+IM+8WtixIEQh4vFYsnEK5qQ2ib5yqOT6FBNYtHRTqo422+KoC2rRcF+bKtyovQhX1u3MQPiHZ4/iQOwQSaLOBZ3vVPEoEWs7rDu0SMwwT74gQsu5m8nuaV9vBLP3CdrOe1cvidEEWO1TbF8bBtT3JJcg98Ti2W8vxLfRQLYiAteiNO34szleK/EHj7OFPHukOWvxZHYq92cXpvY5vcxxNvB2UNIuya4v0PV4JfX8/HuDJoILMWPhPw3/ALfNqFjdLNr1QAAAABJRU5ErkJggg==) no-repeat center;background-size:contain}._woringHeader_uv0qg_6 ._title_uv0qg_14:after{content:" ";display:inline-block;position:absolute;left:0;bottom:-.05333rem;width:1.28rem;height:.16rem;background:linear-gradient(270deg,rgba(119,255,239,.59) 0%,#42CDFF 100%);opacity:.5;z-index:-1}._woringSecgtion_uv0qg_37{min-height:calc(100vh - var(--header-height) - 2.93333rem);margin-top:2.93333rem;background:#FFFFFF;border-radius:.42667rem .42667rem 0 0;padding:.53333rem .37333rem}._woringSecgtion_uv0qg_37 ._woringImg_uv0qg_44{margin-bottom:.42667rem;width:100%}\n',document.head.appendChild(Y);const S="_woringBook_uv0qg_1",O="_woringHeader_uv0qg_6",E="_leftArrow_uv0qg_11",R="_title_uv0qg_14",C="_woringSecgtion_uv0qg_37",U="_woringImg_uv0qg_44",q=""+new URL("ai-exam-ac155650.png",n.meta.url).href,z=""+new URL("woring-practice-5f4735ad.png",n.meta.url).href,B=""+new URL("woring-stat-fe2f9a06.png",n.meta.url).href,P=i({name:"woring",emits:["close"],setup(e,{emit:n}){const i=o({box:{height:""},show:!1,steps:[{ele:"",eleRect:{},img:N("woring1.png"),handStyle:{left:"4.5rem"},imgStyle:{width:"8.19rem",height:"3.9rem",top:"0.6rem",left:"0.8rem"},btnsStyle:{top:"5.2rem",left:"3.5rem"},type:"bottom"},{ele:"",eleRect:{},img:N("woring2.png"),handStyle:{left:"4.5rem"},imgStyle:{width:"8.19rem",height:"3.9rem",top:"0.6rem",left:"0.8rem"},btnsStyle:{top:"5.2rem",left:"3.5rem"},type:"bottom"},{ele:"",img:N("woring3.png"),handStyle:{top:"-1.39rem",left:"4.5rem",transform:"rotate(180deg)"},imgStyle:{width:"8.19rem",height:"3.9rem",top:"-7.4rem",left:"0.8rem"},btnsStyle:{top:"-2.6rem",left:"2.11rem"}}],step:0}),v=l(!1),m=l(!0),f=l({}),y=function(){var e=r((function*(){try{const t=yield x({guideTag:"guideInfo"});var e;if(t.data)f.value=JSON.parse(null===(e=t.data)||void 0===e?void 0:e.guideValue)||null;else f.value={};f.value&&f.value.woring?v.value=!1:v.value=!0}catch(t){console.log(t)}}));return function(){return e.apply(this,arguments)}}(),h=()=>{const e=document.getElementById(`woring-${i.step}`);if(e){var t;const n=e.getBoundingClientRect();i.box={left:n.x+"px",top:n.y+"px",width:n.width+"px",height:n.height+"px"},console.log(null===(t=i.box)||void 0===t?void 0:t.height)}else w()};a((()=>{setTimeout((()=>{document.documentElement.clientWidth>750?(console.log("PAD"),m.value=!0):(m.value=!1,console.log("PHONE")),h(),y()}),500),window.addEventListener("resize",b)}));const b=()=>{h()};s((()=>{window.removeEventListener("resize",b)}));const w=()=>{i.step>=3?j():(i.step=i.step+1,h())},j=function(){var e=r((function*(){f.value?f.value.woring=!0:f.value={woring:!0};try{yield A({guideTag:"guideInfo",guideValue:JSON.stringify(f.value)})}catch(e){console.log(e)}v.value=!1}));return function(){return e.apply(this,arguments)}}();return()=>c(u,{teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",_.guidePopup],show:v.value,"onUpdate:show":e=>v.value=e},{default:()=>[c("div",{class:_.content,onClick:()=>w()},[i.step!=i.steps.length-1&&c("div",{class:[_.backBtn,_.right],onClick:e=>{e.stopPropagation(),j()}},[g("跳过")]),c("div",{class:[_.box,_.noscalc],style:t({},i.box),id:`modeType-${i.step}`},[i.steps.map(((e,t)=>{var n,r,o,l;return c("div",{onClick:e=>e.stopPropagation(),class:_.item,style:"bottom"==e.type?{display:t===i.step?"":"none",left:`${null===(n=e.eleRect)||void 0===n?void 0:n.left}px`,top:`${null===(r=i.box)||void 0===r?void 0:r.height}`}:{display:t===i.step?"":"none",left:`${null===(o=e.eleRect)||void 0===o?void 0:o.left}px`,top:`${null===(l=e.eleRect)||void 0===l?void 0:l.top}px`}},[c("img",{class:_.img,style:e.imgStyle,src:e.img},null),c("img",{class:_.iconHead,style:e.handStyle,src:N("indexDot.png")},null),c("div",{class:_.btns,style:e.btnsStyle},[i.step+1==i.steps.length?c(d,null,[c(p,{class:[_.btn,_.sacleBtn],round:!0,color:"transparent",style:{"border-color":"#fff"},type:"primary",onClick:()=>{i.step=0,h()}},{default:()=>[g("再看一遍")]}),c(p,{class:[_.btn,_.endBtn,_.sacleBtn],round:!0,type:"primary",onClick:()=>j()},{default:()=>[g("完成")]})]):c(p,{class:[_.btn,_.sacleBtn],round:!0,type:"primary",onClick:()=>w()},{default:()=>[g("下一步 ("),i.step+1,g("/"),i.steps.length,g(")")]})])])}))])])]})}});e("default",i({name:"wroing-book",setup(){const e=v(),t=function(){var t=r((function*(){try{const{data:t}=yield b.post("/edu-app/studentUnitExamination/errorEdition",{hideLoading:!1,data:{page:1,rows:50}});(t||{}).total>0?e.push({path:"/error-question-mode"}):setTimeout((()=>{w("暂无错题")}),100)}catch(t){}}));return function(){return t.apply(this,arguments)}}();return()=>c("div",{class:S},[c(j,{position:"top"},{default:()=>[c(m,{border:!1,background:"transparent"},{content:()=>c("div",{class:O},[c("i",{onClick:()=>{f().isApp?y({api:"goBack"}):e.back()},class:["van-badge__wrapper van-icon van-icon-arrow-left van-nav-bar__arrow",E]},null),c("span",{class:R},[c("i",null,null)])])})]}),c("div",{class:C},[c(k,h({id:"woring-0"},{lazyLoad:!0,src:B,class:U,onClick:()=>e.push("wroing-stat")}),null),c(k,h({id:"woring-1"},{lazyLoad:!0,src:z,class:U,onClick:t}),null),c(k,h({id:"woring-2"},{lazyLoad:!0,src:q,class:U,onClick:()=>e.push("ai-exam")}),null)]),c(P,null,null)])}}))}}}))}();