1import{_ as P}from"./Cw6Z2xMQ.js";import{r as _,ai as $,d as b,o as j,f as r,g as a,y,h as e,m as c,s,p as n,t as p,j as F,F as w,k,z as I,n as N}from"./B6-0vtD8.js";import{_ as R}from"./D1r5RUHL.js";import{_ as z}from"./DXvifdbL.js";import{u as E}from"./CDuVF6WW.js";import{V as G}from"./t4YNFu5U.js";import{V as g}from"./CCh3uZuj.js";import{V,a as S}from"./piecaTkq.js";import"./BBspgct9.js";import"./Cz6Tpz33.js";import"./BgJUHF4x.js";import"./BUV8i73I.js";import"./D7UjKSNf.js";import"./7Op1AsNI.js";import"./DoD5RHOT.js";import"./CuThbhrI.js";import"./BDWgWW4B.js";import"./Bqv1uRAC.js";import"./BxKx_Ur0.js";import"./D1ao0QQH.js";/* empty css */const U=""+new URL("subjectMemory.CxLjY9Hs.svg",import.meta.url).href,Y=()=>{const{loading:f,error:m,get:l}=E(),d=_([]);return{data:d,loading:f,error:m,fetchSaudiMemoryVisualAudio:async()=>{try{const i=await l("/soadi-memory-soundes/visual_and_audio_materials");if(i.error.value)throw new Error(i.msg.value||"ÙØ´Ù ÙÙ Ø¬ÙØ¨ Ø§ÙØ¨ÙØ§ÙØ§Øª");if(i.data.value&&i.data.value.status===200)d.value=i.data.value.data||[];else throw new Error(i.data.value?.message||"ÙØ´Ù ÙÙ Ø¬ÙØ¨ Ø§ÙØ¨ÙØ§ÙØ§Øª")}catch(i){console.error("Error fetching Saudi Memory Visual Audio Materials:",i)}}}},q={key:2,class:"py-[48px]"},J={class:"text-center"},K={class:"text-[40px] font-[700] text-red-500 mb-4"},O={class:"text-[20px] text-[#484747] mb-4"},Q={key:3},W={class:"header h-[100vh] flex items-center"},X={key:0,class:"space-y-4"},Z=["innerHTML"],ee={class:"py-[48px]"},te={key:0,class:"space-y-6"},se={key:1},ae={class:"text-[40px] font-[700] text-[#12313B]"},oe=["innerHTML"],ie={class:"py-[48px] bg-[#EAEEEF]"},re={class:"text-[40px] font-[700] text-[#12313B] mb-[28px]"},ne={class:"cardMemory bg-white min-h-[316px] h-full"},le={class:"cardMemory-item"},de={class:"cardMemory-item-img max-h-[208px]"},ue=["src","alt"],ce={class:"cardMemory-item-content p-[16px]"},me={class:"text-[28px] font-[700] text-[#446E7C]"},pe=["innerHTML"],_e={__name:"saudiMemory",setup(f){const m=_(null),l=_(!1),d=_(!1),h=_(""),i=_(!0),{data:A,loading:T,fetchSaudiMemoryVisualAudio:C}=Y(),x=b(()=>m.value?.content?.[0]||null),v=b(()=>m.value?.content?.[1]||null),M=async()=>{l.value=!0,d.value=!1,h.value="";try{const{get:t}=E(),o=await t("/pages/content/althakr-alsaaody");o.data.value?.status===200?m.value=o.data.value.data:(d.value=!0,h.value=o.msg.value||"ÙØ´Ù ÙÙ Ø¬ÙØ¨ Ø§ÙØ¨ÙØ§ÙØ§Øª")}catch(t){d.value=!0,h.value=t.message||"ØØ¯Ø« خطأ Ø£Ø«ÙØ§Ø¡ Ø¬ÙØ¨ Ø§ÙØ¨ÙØ§ÙØ§Øª",console.error("Error fetching Saudi Memory data:",t)}finally{l.value=!1}},D=t=>{const o=["/centerDomains/saudi/saadSouianGroup","/centerDomains/saudi/soundGroup"];o[t]&&N(o[t])},L=t=>{t.target.src="@/assets/images/subjectMemory.svg"};return j(async()=>{await Promise.all([M(),C()]),setTimeout(()=>{i.value=!1},2e3)}),(t,o)=>{const B=P;return a(),r("div",null,[s(i)?(a(),y(z,{key:0})):(a(),y(R,{key:1,title:s(m).lable},null,8,["title"])),s(d)&&!s(l)?(a(),r("div",q,[c(g,null,{default:n(()=>[e("div",J,[e("h2",K,p(t.$t("saudiMemoryPage.errorTitle")),1),e("p",O,p(s(h)),1),c(G,{color:"primary",size:"large",onClick:M},{default:n(()=>[F(p(t.$t("saudiMemoryPage.retryButton")),1)]),_:1})])]),_:1})])):(a(),r("div",Q,[e("div",W,[c(g,null,{default:n(()=>[s(l)?(a(),r("div",X,o[0]||(o[0]=[e("div",{class:"h-8 bg-white/20 rounded animate-pulse"},null,-1),e("div",{class:"h-8 bg-white/20 rounded animate-pulse"},null,-1),e("div",{class:"h-8 bg-white/20 rounded animate-pulse"},null,-1),e("div",{class:"h-8 bg-white/20 rounded animate-pulse w-3/4"},null,-1)]))):(a(),r("p",{key:1,class:"text-white md:!text-[32px] text-[20px] font-[700]",innerHTML:s(x)&&s(x).description||t.$t("saudiMemoryPage.firstSectionDescription")},null,8,Z))]),_:1})]),e("div",ee,[c(g,null,{default:n(()=>[s(l)?(a(),r("div",te,o[1]||(o[1]=[e("div",{class:"h-12 bg-gray-300 rounded animate-pulse w-1/3"},null,-1),e("div",{class:"space-y-3"},[e("div",{class:"h-6 bg-gray-300 rounded animate-pulse"}),e("div",{class:"h-6 bg-gray-300 rounded animate-pulse"}),e("div",{class:"h-6 bg-gray-300 rounded animate-pulse"}),e("div",{class:"h-6 bg-gray-300 rounded animate-pulse"}),e("div",{class:"h-6 bg-gray-300 rounded animate-pulse w-4/5"})],-1)]))):(a(),r("div",se,[e("h2",ae,p(s(v)&&s(v).title||t.$t("saudiMemoryPage.establishmentTitle")),1),e("p",{class:"text-[20px] text-[#484747] font-[700]",innerHTML:s(v)&&s(v).description||t.$t("saudiMemoryPage.establishmentDescription")},null,8,oe)]))]),_:1})])])),e("div",ie,[c(g,null,{default:n(()=>[e("h2",re,p(t.$t("saudiMemoryPage.audioVisualMaterials")),1),s(T)?(a(),y(V,{key:0},{default:n(()=>[(a(),r(w,null,k(2,u=>c(S,{key:u,cols:"12",md:"6"},{default:n(()=>o[2]||(o[2]=[e("div",{class:"cardMemory bg-white min-h-[316px] h-full"},[e("div",{class:"cardMemory-item"},[e("div",{class:"cardMemory-item-img"},[e("div",{class:"h-[100px] bg-gray-300 rounded animate-pulse"})]),e("div",{class:"cardMemory-item-content p-[16px]"},[e("div",{class:"h-8 bg-gray-300 rounded animate-pulse mb-2"}),e("div",{class:"h-6 bg-gray-300 rounded animate-pulse"})])])],-1)])),_:2,__:[2]},1024)),64))]),_:1})):(a(),y(V,{key:1},{default:n(()=>[(a(!0),r(w,null,k(s(A),(u,H)=>(a(),y(S,{key:u.id,cols:"12",md:"6",class:"cursor-pointer",onClick:I(he=>D(H),["prevent"])},{default:n(()=>[e("div",ne,[e("div",le,[e("div",de,[e("img",{src:u.images[0]||s(U),alt:u.title,onError:L,class:"w-full max-h-[208px] object-fill"}
1,null,40,ue)]),e("div",ce,[e("h3",me,p(u.title),1),e("p",{class:"text-[20px] font-[700] text-[#484747]",innerHTML:u.description},null,8,pe)])])])]),_:2},1032,["onClick"]))),128))]),_:1}))]),_:1})]),c(B)])}}},je=$(_e,[["__scopeId","data-v-6e18c525"]]);export{je as default};
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.