1import{_ as Q,f as z,m as K,r as j,d as J,s as X,a as Z,b as ee,g as te,c as ne,e as ae,h as se,i as oe,j as le,k as ie,l as ce,n as x,C as re}from"./meetingIntroduction-CyEJ1XpA.js";import{p as ue}from"./partner-C0MmYtEq.js";import{_ as $,z as G,u as de,w as h,x as F,E as H,o as r,c as d,b as l,F as P,r as w,t as S,e as U,h as W,P as Te,n as q,O as Ie,f as s,d as k,i as _e,g as B,Q as Ae}from"./index-BM5js-Jf.js";import{e as ve,c as Ce,d as me,r as pe,a as fe}from"./classes-4NNza2b1.js";import{c as Ee,d as Ne}from"./activity-HSssF9yU.js";import"./icon_activity-cz_U14B8.js";const Oe={class:"content-container"},he={class:"left-content"},Ve=["id"],Ye={key:0,class:"title-box"},ye={class:"title"},Re={class:"right-anchor"},Le={class:"custom-anchor"},ge={class:"anchor-wrapper"},Pe=["onClick"],Ue={key:0,class:"anchor-line"},De={key:0,class:"footer-declaration-wrapper"},Se={class:"footer-declaration-container"},ke={class:"footer-declaration-content"},we={class:"declaration-text"},Me={__name:"secondDetail",props:{detailId:{type:String,default:()=>""},finalInterpretation:{type:String,default:()=>""}},setup(M){const i=G();de();const T=s(""),C=s([]),E=s([]),f=s([]),N=s(!1),m=M,O=s(""),I=n=>{switch(n){case"ACTIVITY_INTRODUCTION":return x;case"ACTIVITY_INTRODUCTION_GAME_BACK_GROUND":return x;case"ACTIVITY_ARRANGEMENT":return ce;case"ACTIVITY_DESCRIPTION":return ie;case"ACTIVITY_EVALUATION_RULE":return le;case"ACTIVITY_AWARDS":return oe;case"ACTIVITY_FORUM":return se;case"ACTIVITY_CONSULT":return ae;case"ACTIVITY_CONTACT":return ne;case"ACTIVITY_OPERATION_GUIDELINES":return te;case"ACTIVITY_PARTNERSHIP":return ue;case"ACTIVITY_MOMENT":return ee;case"ACTIVITY_AGENDA":return Z;case"ACTIVITY_PRODUCER":return X;case"ACTIVITY_DISPLAY":return J;case"ACTIVITY_CITY_STATION":return fe;case"ACTIVITY_RESULT_ANNOUNCEMENT":return j;case"ACTIVITY_FORUM_INTRODUCTION":return K;case"ACTIVITY_FAQ":return z;case"ACTIVITY_EVALUATION_RULE_List":return pe;case"APPLICATION_DEVELOPMENT_DOCUMENT":return me;case"APPLICATION_DEVELOPMENT_COURSE":return Ce;case"APPLICATION_DEVELOPMENT_SAMPLE":return ve;default:return null}},V=n=>C.value.find(e=>e.id===n)||{},Y=()=>{const n=["ACTIVITY_INTRODUCTION","ACTIVITY_INTRODUCTION_GAME_BACK_GROUND","ACTIVITY_ARRANGEMENT","ACTIVITY_DESCRIPTION","ACTIVITY_EVALUATION_RULE","ACTIVITY_AWARDS","ACTIVITY_FORUM","ACTIVITY_CONSULT","ACTIVITY_CONTACT","ACTIVITY_OPERATION_GUIDELINES","ACTIVITY_PARTNERSHIP","ACTIVITY_MOMENT","ACTIVITY_AGENDA","ACTIVITY_PRODUCER","ACTIVITY_DISPLAY","ACTIVITY_CITY_STATION","ACTIVITY_RESULT_ANNOUNCEMENT","ACTIVITY_FORUM_INTRODUCTION","ACTIVITY_FAQ","ACTIVITY_EVALUATION_RULE_List","APPLICATION_DEVELOPMENT_DOCUMENT","APPLICATION_DEVELOPMENT_COURSE","APPLICATION_DEVELOPMENT_SAMPLE"],a=[];C.value.forEach(e=>{n.includes(e.type)&&a.push({id:e.id,uniqueId:"".concat(e.type,"_").concat(e.id),title:e.name,type:e.type,hasTitle:!0})}),E.value=a,f.value=a};h(()=>C.value,n=>{n&&n.length>0&&Y()},{immediate:!0,deep:!0});const u=Ie(()=>E.value),y=async()=>{const n=m.detailId||"";await Ee(n).then(a=>{a.code==="20000"&&(C.value=(a==null?void 0:a.data)||[])})},R=n=>{N.value=!0;const a=document.getElementById("section-".concat(n));if(a){const v=a.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:v,behavior:"smooth"}),T.value=n,setTimeout(()=>{N.value=!1},500)}};return F(()=>{const n=()=>{var p,v,L,t;if(N.value)return;let a="";((p=i==null?void 0:i.query)==null?void 0:p.id)==="25"||((v=i==null?void 0:i.query)==null?void 0:v.id)==="11"?a=window.scrollY-1e3:((L=i==null?void 0:i.query)==null?void 0:L.id)==="16"||((t=i==null?void 0:i.query)==null?void 0:t.id)==="21"?a=window.scrollY-300:a=window.scrollY+100;let e=null;for(let o=u.value.length-1;o>=0;o--){const _=u.value[o],A=document.getElementById("section-".concat(_.uniqueId));if(A){const c=A.offsetTop;if(a>=c){e=_.uniqueId;break}}}!e&&u.value.length>0&&(e=u.value[0].uniqueId),e&&e!==T.value&&(T.value=e)};window.addEventListener("scroll",n),n(),H(()=>{window.removeEventListener("scroll",n)})}),h(()=>m.detailId,n=>{n&&y()},{immediate:!0}),h(()=>m.finalInterpretation,n=>{n&&(O.value=n)},{immediate:!0}),(n,a)=>(r(),d(P,null,[l("div",Oe,[l("div",he,[(r(!0),d(P,null,w(u.value,e=>(r(),d("div",{key:e.uniqueId,id:"section-".concat(e.uniqueId),class:"section-item"},[e.hasTitle&&e.type!=="ACTIVITY_FORUM_INTRODUCTION"?(r(),d("div",Ye,[a[0]||(a[0]=l("img",{src:Q,class:"tooltip-img"}
1,null,-1)),l("span",ye,S(e.title),1)])):U("",!0),(r(),W(Te(I(e.type)),{moduleList:V(e.id),onHandleBoxClick:n.handleBoxClick},null,40,["moduleList","onHandleBoxClick"]))],8,Ve))),128))]),l("div",Re,[l("div",Le,[l("div",ge,[(r(!0),d(P,null,w(u.value,(e,p)=>(r(),d("div",{key:e.uniqueId,class:"anchor-item",onClick:v=>R(e.uniqueId)},[l("div",{class:q(["anchor-dot",{active:T.value===e.uniqueId}])},null,2),l("div",{class:q(["anchor-text",{active:T.value===e.uniqueId}])},S(e.title),3),p<u.value.length-1?(r(),d("div",Ue)):U("",!0)],8,Pe))),128))])])])]),O.value?(r(),d("div",De,[l("div",Se,[l("div",ke,[a[1]||(a[1]=l("div",{class:"declaration-line"},null,-1)),l("div",we,S(O.value),1),a[2]||(a[2]=l("div",{class:"declaration-line"},null,-1))])])])):U("",!0)],64))}},be=$(Me,[["__scopeId","data-v-9b747bc4"]]),xe={class:"allbox"},qe={class:"top"},Be=["src"],g=73,$e={__name:"secondIndex",setup(M){const i=G(),T=s(""),C=s(""),E=s(""),f=s(""),N=s(null),m=s(null),O=s(null),I=s([]),V=s("2025-05-30 23:59:59"),Y=s("2025-05-20 00:00:00"),u=s(""),y=s("");let R=0,n=0;const a=()=>{u.value&&window.open(u.value,"_blank")},e=()=>{Ae(()=>{if(m.value){const o=m.value.offsetTop-g+200;window.scrollTo({top:o,behavior:"smooth"})}})},p=t=>{f.value=t.props.name,e()},v=()=>{const t=document.querySelector(".sticky-container");if(!t)return;let o=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,_=o-R;R=o;let A=document.body.clientWidth;const c=n-g;o>c?_<0?t.style.cssText="position:fixed;top:".concat(A<=1270?56:g,"px;transform:translateY(0);"):t.style.cssText="position:fixed;top:".concat(g,"px;transform:translateY(-100%);"):t.style.cssText="position:static;transform:translateY(0);"},L=async()=>{await Ne(E.value).then(t=>{var o,_,A,c,D,b;t.code==="20000"&&(I.value=(o=t.data)==null?void 0:o.menuList,C.value=(_=t.data)==null?void 0:_.banner,Y.value=(A=t.data)==null?void 0:A.startTime,V.value=(c=t.data)==null?void 0:c.endTime,u.value=(D=t.data)==null?void 0:D.link,y.value=(b=t.data)==null?void 0:b.finalInterpretation)}),I.value.length>0&&(T.value=I.value[0].id,f.value=I.value[0].id)};return h(()=>i.query.id,t=>{t&&(E.value=t,L())},{immediate:!0}),h(()=>f.value,(t,o)=>{t&&t!==o&&setTimeout(e,100)}),F(()=>{setTimeout(()=>{const t=document.querySelector(".sticky-container");t&&(n=t.offsetTop),window.addEventListener("scroll",v)},300)}),H(()=>{window.removeEventListener("scroll",v)}),(t,o)=>{const _=B("el-tab-pane"),A=B("el-tabs");return r(),d("div",xe,[l("div",qe,[l("img",{src:C.value,class:"top-img"},null,8,Be)]),k(re,{endTime:V.value,startTime:Y.value,onRegister:a},null,8,["endTime","startTime"]),I.value&&I.value.some(c=>c.name)?(r(),d("div",{key:0,class:"sticky-container",ref_key:"tabContainer",ref:N},[k(A,{modelValue:T.value,"onUpdate:modelValue":o[0]||(o[0]=c=>T.value=c),class:"demo-tabs",onTabClick:p},{default:_e(()=>[(r(!0),d(P,null,w(I.value,(c,D)=>(r(),W(_,{key:c.id,label:c.name,name:c.id},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])],512)):U("",!0),l("div",{class:"content-anchor",ref_key:"contentAnchor",ref:m},null,512),k(be,{detailId:f.value,finalInterpretation:y.value,ref_key:"contentComponent",ref:O},null,8,["detailId","finalInterpretation"])])}}},Ke=$($e,[["__scopeId","data-v-f58fe6dd"]]);export{Ke as default}; 2//# sourceMappingURL=secondIndex-DPAetz0H.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.