1import{f as b,a as L,V as k,b as I,_ as R,c as S}from"./DazjsHMR.js";import $ from"./i-nf4nhG.js";import x from"./B5R1Aehi.js";import y from"./DkpO5t2x.js";import{bd as U,be as V,bf as B,_ as N,u as A,a as C,b4 as H,c as M}from"./D5FAwWCd.js";import{b as i,A as T,w as c,N as D,ak as E,al as G,a as z,p as v,k as J,x as _,Q as h,$ as O,Y as u,a2 as j,l as F,R as P,U as p,z as l,an as Q,u as f}from"./BjkNzLDZ.js";import"./BLv_Ze9Y.js";import"./BJz6k-k4.js";import"./-pI9FhSw.js";import"./Bu5EdTVt.js";import"./07JGCRSl.js";import"./DWGaNmQL.js";import"./B9vqgJ7Q.js";import"./B8k4UYfm.js";import"./-4KuJuCR.js";import"./C4kfr2W1.js";import"./CGSi-FVA.js";import"./DodEPoPr.js";import"./DFKH4QBw.js";import"./F1IFEx2Y.js";import"./4kE2f6Md.js";function W(s,e={}){const t=e.head||U();if(t)return t.ssr?t.push(s,e):Y(t,s,e)}function Y(s,e,t={}){const a=i(!1),r=i({});T(()=>{r.value=a.value?{}:V(e)});const n=s.push(r.value,t);return c(r,o=>{n.patch(o)}),z()&&(D(()=>{n.dispose()}),E(()=>{a.value=!0}),G(()=>{a.value=!1})),n}const q=""+new URL("pre-loader.D-s6ggWV.gif",import.meta.url).href,K={class:"text-center"},X=v({__name:"GlobalLoading.client",setup(s){const e=B(),t=J(()=>e.isLoading);return _(()=>{document.readyState==="complete"&&e.stopLoading(),window.addEventListener("load",()=>{setTimeout(()=>{e.stopLoading()},300)})}),(a,r)=>(h(),O("div",K,[u("div",{class:j(["overlay",t.value?"visible":""])},r[0]||(r[0]=[u("img",{src:q,alt:"pre loader GIF",width:"102",height:"102"},null,-1)]),2)]))}}),Z=N(X,[["__scopeId","data-v-09add836"]]),Le=v({__name:"default",setup(s){const{locale:e,mergeLocaleMessage:t}=A(),a=F(!0),r=C();c(e,()=>{e.value==="fa"?(t("fa",{$vuetify:b,...$}),a.value=!0):e.value==="en"?(t("en",{$vuetify:H,...x}),a.value=!1):e.value==="ar"&&(t("ar",{$vuetify:L,...y}),a.value=!0)},{immediate:!0}),W(()=>({htmlAttrs:{lang:e.value==="fa"?"fa-IR":e.value==="ar"?"ar":"en-US",dir:a.value?"rtl":"ltr"}})),_(()=>{{let o=localStorage.getItem("dark");if(o==null){const d=window.matchMedia("(prefers-color-scheme: dark)").matches;localStorage.setItem("dark",JSON.stringify(d))}else o=JSON.parse(o);r.global.name.value=o?"dark":"light"}});const n=M(),m=i(n.currentRoute.value.path);return c(()=>n.currentRoute.value.path,o=>{m.value=o,window.scrollTo({top:0,left:0,behavior:"instant"})}),(o,d)=>{const g=R,w=S;return h(),P(I,{rtl:f(a),locale:f(e)},{default:p(()=>[l(k,{class:"custom-gradient-color"},{default:p(()=>[l(g),u("main",null,[l(Z),Q(o.$slots,"default")]),l(w)]),_:3})]),_:3},8,["rtl","locale"])}}});export{Le 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.