Files
appco_dist/.output/public/_nuxt/De7hBUwl.js
T
2026-01-27 16:02:45 +03:30

4 lines
34 KiB
JavaScript

import{_ as u2}from"./CKHWFXyc.js";import{a_ as y2,a$ as C2,aB as O,b6 as k2,c3 as b2,d as A,aQ as M,aE as S2,s as Z,k as G,dH as L2,dI as $2,dJ as M2,dK as B2,be as I2,bd as N2,dL as z2,bf as A2,aI as j2,C as r,cy as V2,b1 as H2,bo as Z2,b8 as T2,a5 as Y,a6 as E2,aJ as c2,T as $,aR as O2,G as s2,r as S,$ as o2,y as n,z as s,a2 as N,J as e,A as a,B as e2,H as g2,u as m2,ag as P2,ai as G2,F as z,D as _,O as r2,a8 as t2,a0 as d2,n as R2,dM as D2,o as p2,R as P,E as b,ao as F2,dN as W2,a as q2,dO as J2,c9 as K2,x as Q2,Q as U2,dP as X2}from"./Cbt2tPBc.js";import{_ as h2}from"./Bbd_Ti14.js";import{e as T}from"./DGFRw2HL.js";import{c as Y2,a as e0}from"./0sQGsR-B.js";import{B as t0}from"./BsLs4p15.js";import{u as s0}from"./BbXMVhKj.js";import{_ as o0}from"./DcxkNLFr.js";import{_ as n0}from"./B7AYPz8C.js";import{_ as a0}from"./DlAUqK2U.js";import"./ONZBPW5n.js";import"./DjvBa-1E.js";const E=(l,t,o,d,p)=>({backgroundColor:l,border:`${d.lineWidth}px ${d.lineType} ${t}`,[`${p}-icon`]:{color:o}}),l0=l=>{const{componentCls:t,motionDurationSlow:o,marginXS:d,marginSM:p,fontSize:u,fontSizeLG:m,lineHeight:f,borderRadiusLG:g,motionEaseInOutCirc:w,alertIconSizeLG:v,colorText:c,paddingContentVerticalSM:i,alertPaddingHorizontal:y,paddingMD:C,paddingContentHorizontalLG:L}=l;return{[t]:O(O({},k2(l)),{position:"relative",display:"flex",alignItems:"center",padding:`${i}px ${y}px`,wordWrap:"break-word",borderRadius:g,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:d,lineHeight:0},"&-description":{display:"none",fontSize:u,lineHeight:f},"&-message":{color:c},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${o} ${w}, opacity ${o} ${w},
padding-top ${o} ${w}, padding-bottom ${o} ${w},
margin-bottom ${o} ${w}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",paddingInline:L,paddingBlock:C,[`${t}-icon`]:{marginInlineEnd:p,fontSize:v,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:d,color:c,fontSize:m},[`${t}-description`]:{display:"block"}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},i0=l=>{const{componentCls:t,colorSuccess:o,colorSuccessBorder:d,colorSuccessBg:p,colorWarning:u,colorWarningBorder:m,colorWarningBg:f,colorError:g,colorErrorBorder:w,colorErrorBg:v,colorInfo:c,colorInfoBorder:i,colorInfoBg:y}=l;return{[t]:{"&-success":E(p,d,o,l,t),"&-info":E(y,i,c,l,t),"&-warning":E(f,m,u,l,t),"&-error":O(O({},E(v,w,g,l,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},c0=l=>{const{componentCls:t,iconCls:o,motionDurationMid:d,marginXS:p,fontSizeIcon:u,colorIcon:m,colorIconHover:f}=l;return{[t]:{"&-action":{marginInlineStart:p},[`${t}-close-icon`]:{marginInlineStart:p,padding:0,overflow:"hidden",fontSize:u,lineHeight:`${u}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${o}-close`]:{color:m,transition:`color ${d}`,"&:hover":{color:f}}},"&-close-text":{color:m,transition:`color ${d}`,"&:hover":{color:f}}}}},r0=l=>[l0(l),i0(l),c0(l)],d0=y2("Alert",l=>{const{fontSizeHeading3:t}=l,o=C2(l,{alertIconSizeLG:t,alertPaddingHorizontal:12});return[r0(o)]}),u0={success:A2,info:z2,error:N2,warning:I2},g0={success:B2,info:M2,error:$2,warning:L2},m0=O2("success","info","warning","error"),p0=()=>({type:M.oneOf(m0),closable:{type:Boolean,default:void 0},closeText:M.any,message:M.any,description:M.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:M.any,closeIcon:M.any,onClose:Function}),h0=A({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:p0(),setup(l,t){let{slots:o,emit:d,attrs:p,expose:u}=t;const{prefixCls:m,direction:f}=S2("alert",l),[g,w]=d0(m),v=Z(!1),c=Z(!1),i=Z(),y=x=>{x.preventDefault();const k=i.value;k.style.height=`${k.offsetHeight}px`,k.style.height=`${k.offsetHeight}px`,v.value=!0,d("close",x)},C=()=>{var x;v.value=!1,c.value=!0,(x=l.afterClose)===null||x===void 0||x.call(l)},L=G(()=>{const{type:x}=l;return x!==void 0?x:l.banner?"warning":"info"});u({animationEnd:C});const B=Z({});return()=>{var x,k,R,D,F,W,q,J,K,Q;const{banner:n2,closeIcon:a2=(x=o.closeIcon)===null||x===void 0?void 0:x.call(o)}=l;let{closable:U,showIcon:I}=l;const X=(k=l.closeText)!==null&&k!==void 0?k:(R=o.closeText)===null||R===void 0?void 0:R.call(o),j=(D=l.description)!==null&&D!==void 0?D:(F=o.description)===null||F===void 0?void 0:F.call(o),l2=(W=l.message)!==null&&W!==void 0?W:(q=o.message)===null||q===void 0?void 0:q.call(o),V=(J=l.icon)!==null&&J!==void 0?J:(K=o.icon)===null||K===void 0?void 0:K.call(o),i2=(Q=o.action)===null||Q===void 0?void 0:Q.call(o);I=n2&&I===void 0?!0:I;const v2=(j?g0:u0)[L.value]||null;X&&(U=!0);const h=m.value,f2=j2(h,{[`${h}-${L.value}`]:!0,[`${h}-closing`]:v.value,[`${h}-with-description`]:!!j,[`${h}-no-icon`]:!I,[`${h}-banner`]:!!n2,[`${h}-closable`]:U,[`${h}-rtl`]:f.value==="rtl",[w.value]:!0}),w2=U?r("button",{type:"button",onClick:y,class:`${h}-close-icon`,tabindex:0},[X?r("span",{class:`${h}-close-text`},[X]):a2===void 0?r(V2,null,null):a2]):null,x2=V&&(H2(V)?Z2(V,{class:`${h}-icon`}):r("span",{class:`${h}-icon`},[V]))||r(v2,{class:`${h}-icon`},null),_2=T2(`${h}-motion`,{appear:!1,css:!0,onAfterLeave:C,onBeforeLeave:H=>{H.style.maxHeight=`${H.offsetHeight}px`},onLeave:H=>{H.style.maxHeight="0px"}});return g(c.value?null:r($,_2,{default:()=>[Y(r("div",c2(c2({role:"alert"},p),{},{style:[p.style,B.value],class:[p.class,f2],"data-show":!v.value,ref:i}),[I?x2:null,r("div",{class:`${h}-content`},[l2?r("div",{class:`${h}-message`},[l2]):null,j?r("div",{class:`${h}-description`},[j]):null]),i2?r("div",{class:`${h}-action`},[i2]):null,w2]),[[E2,!v.value]])]}))}}}),v0=b2(h0),f0="nuxt-app",w0="1.0.0",x0="module",_0={predev:"node scripts/fetch-pwa-icons.mjs dev",prebuild:"node scripts/fetch-pwa-icons.mjs prod",prepreview:"node scripts/fetch-pwa-icons.mjs prod",build:"nuxt build --dotenv .env.production",dev:"nuxt dev --dotenv .env.development",generate:"nuxt generate",preview:"nuxt preview",postinstall:"nuxt prepare"},y0={"@ant-design-vue/nuxt":"^1.4.6","@capacitor/android":"^7.4.3","@capacitor/camera":"^7.0.1","@capacitor/core":"^7.4.3","@headlessui/vue":"^1.7.23","@lottiefiles/dotlottie-vue":"^0.6.3","@nuxt/image":"1.10.0","@nuxtjs/eslint-module":"^4.1.0","@nuxtjs/sitemap":"^7.5.0","@pinia/nuxt":"^0.11.2","@supabase/supabase-js":"^2.49.8","@types/lodash-es":"^4.17.12","@vite-pwa/nuxt":"1.0.4","@vueup/vue-quill":"^1.2.0","@vueuse/components":"^13.9.0","@vueuse/core":"^13.9.0","@vueuse/gesture":"^2.0.0","@vueuse/motion":"^3.0.3","@vueuse/nuxt":"13.2.0","@vueuse/router":"^13.3.0","ant-design-vue":"4.1.2",axios:"^1.9.0","date-fns":"^4.1.0",dayjalali:"^1.0.1",dayjs:"1.11.13","dayjs-nuxt":"2.1.11","jalali-dayjs":"^0.0.1",lodash:"^4.17.21","lodash-es":"^4.17.21",moment:"2.30.1","moment-jalaali":"0.10.4",numbro:"^2.5.0",nuxt:"^4.2.2",pinia:"^3.0.3",swiper:"^11.2.8",unocss:"^66.1.2",vue:"^3.5.14","vue-advanced-cropper":"^2.8.9","vue-content-loader":"^2.0.1","vue-router":"^4.5.1","vue3-lazyload":"^0.3.8","vue3-otp-input":"^0.5.30",xlsx:"^0.18.5"},C0="yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",k0={"@capacitor/cli":"^7.4.3","@unocss/nuxt":"^66.1.2","@vant/nuxt":"^1.0.6",dotenv:"^17.2.3",less:"^4.3.0",sass:"npm:sass-embedded@^1.83.0",vant:"^4.9.19","vite-plugin-pwa":"^1.0.0"},b0={"sass-embedded":"1.83.0"},S0={name:f0,private:!0,version:w0,type:x0,scripts:_0,dependencies:y0,packageManager:C0,devDependencies:k0,overrides:b0},L0={class:"w-full h-full flex justify-center items-center"},$0={class:"text-center absolute bottom-2 w-full"},M0=A({__name:"splash",props:{version:{}},setup(l){const t=G(()=>(o.isNightStore,o.useLogo("logo_mini.png"))),o=s2(),d=S(!1);return o2(t,()=>{d.value=!1}),(p,u)=>{const m=u2;return s(),n("div",{class:N(["flex flex-col h-screen items-center justify-center w-full fixed md:w-425px z-100000 top-0",e(o).isNightStore?"bg-black":"bg-white"])},[a("div",L0,[r(m,{class:"inline m-auto w-5rem"})]),a("div",$0,[a("div",{class:N(e(o).isNightStore?"text-white":"text_black")},e2(e(o).useString("version")),3),a("div",{class:N(["text-xs",e(o).isNightStore?"text-white":"text_black"])},e2(l.version),3)])],2)}}}),B0=Object.assign(M0,{__name:"Splash"}),I0="data:image/svg+xml,%3csvg%20width='22'%20height='25'%20viewBox='0%200%2022%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.7%200.904491L21.7%2010.7059C21.8919%2010.894%2022%2011.1514%2022%2011.4201V23.4997C22%2023.7758%2021.7761%2023.9997%2021.5%2023.9997H14.5C14.2239%2023.9997%2014%2023.7758%2014%2023.4997V18C14%2016.4023%2012.7511%2015.0963%2011.1763%2015.0051L11%2015C9.40232%2015%208.09634%2016.2489%208.00509%2017.8237L8%2018V23.4997C7.99998%2023.7758%207.77613%2023.9996%207.5%2023.9997L0.5%2024C0.25454%2024%200.0503841%2023.8231%200.00803813%2023.5899L0%2023.5V11.4201C0%2011.1514%200.108129%2010.894%200.300019%2010.7059L10.3%200.904491C10.6889%200.523373%2011.3111%200.523373%2011.7%200.904491Z'%20fill='white'/%3e%3c/svg%3e",N0="data:image/svg+xml,%3csvg%20width='22'%20height='25'%20viewBox='0%200%2022%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.7%200.904491L21.7%2010.7059C21.8919%2010.894%2022%2011.1514%2022%2011.4201V23.4997C22%2023.7758%2021.7761%2023.9997%2021.5%2023.9997H14.5C14.2239%2023.9997%2014%2023.7758%2014%2023.4997V18C14%2016.4023%2012.7511%2015.0963%2011.1763%2015.0051L11%2015C9.40232%2015%208.09634%2016.2489%208.00509%2017.8237L8%2018V23.4997C7.99998%2023.7758%207.77613%2023.9996%207.5%2023.9997L0.5%2024C0.25454%2024%200.0503841%2023.8231%200.00803813%2023.5899L0%2023.5V11.4201C0%2011.1514%200.108129%2010.894%200.300019%2010.7059L10.3%200.904491C10.6889%200.523373%2011.3111%200.523373%2011.7%200.904491Z'%20fill='%23262626'/%3e%3c/svg%3e",z0="data:image/svg+xml,%3csvg%20width='22'%20height='23'%20viewBox='0%200%2022%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.5%2021.7708H1V11.2708L11%201.27081L21%2011.2708V21.7708H14.5V16.1367C14.5%2014.1545%2012.935%2012.5513%2011%2012.5513C9.065%2012.5513%207.5%2014.1545%207.5%2016.1367V21.7708Z'%20stroke='white'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3c/svg%3e",A0="data:image/svg+xml,%3csvg%20width='22'%20height='23'%20viewBox='0%200%2022%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.5%2021.7708H1V11.2708L11%201.27081L21%2011.2708V21.7708H14.5V16.1367C14.5%2014.1545%2012.935%2012.5513%2011%2012.5513C9.065%2012.5513%207.5%2014.1545%207.5%2016.1367V21.7708Z'%20stroke='black'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3c/svg%3e",j0="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.6911%209.819C19.6911%204.39544%2015.2824%200%209.84556%200C4.40868%200%200%204.39544%200%209.819C0%2015.2426%204.40868%2019.638%209.84556%2019.638C11.91%2019.638%2013.8778%2019.0012%2015.519%2017.8449L21.01%2023.307C21.2059%2023.5013%2021.5223%2023.5006%2021.7174%2023.3055L23.3073%2021.7102C23.5007%2021.5162%2023.5019%2021.2027%2023.3101%2021.0071L17.8897%2015.482C19.0512%2013.8443%2019.6911%2011.88%2019.6911%209.819ZM3.55%209.85C3.55%206.37061%206.37061%203.55%209.85%203.55C13.3294%203.55%2016.15%206.37061%2016.15%209.85C16.15%2013.3294%2013.3294%2016.15%209.85%2016.15C6.37061%2016.15%203.55%2013.3294%203.55%209.85Z'%20fill='white'/%3e%3c/svg%3e",V0="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.6911%209.819C19.6911%204.39544%2015.2824%200%209.84556%200C4.40868%200%200%204.39544%200%209.819C0%2015.2426%204.40868%2019.638%209.84556%2019.638C11.91%2019.638%2013.8778%2019.0012%2015.519%2017.8449L21.01%2023.307C21.2059%2023.5013%2021.5223%2023.5006%2021.7174%2023.3055L23.3073%2021.7102C23.5007%2021.5162%2023.5019%2021.2027%2023.3101%2021.0071L17.8897%2015.482C19.0512%2013.8443%2019.6911%2011.88%2019.6911%209.819ZM3.55%209.85C3.55%206.37061%206.37061%203.55%209.85%203.55C13.3294%203.55%2016.15%206.37061%2016.15%209.85C16.15%2013.3294%2013.3294%2016.15%209.85%2016.15C6.37061%2016.15%203.55%2013.3294%203.55%209.85Z'%20fill='%23262626'/%3e%3c/svg%3e",H0="data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='12.0208'%20cy='12.5208'%20r='8.5'%20transform='rotate(-45%2012.0208%2012.5208)'%20stroke='white'%20stroke-width='2'/%3e%3cpath%20d='M22.7929%2024.7071C23.1834%2025.0976%2023.8166%2025.0976%2024.2071%2024.7071C24.5976%2024.3166%2024.5976%2023.6834%2024.2071%2023.2929L22.7929%2024.7071ZM17.3241%2019.2384L22.7929%2024.7071L24.2071%2023.2929L18.7384%2017.8241L17.3241%2019.2384Z'%20fill='white'/%3e%3c/svg%3e",Z0="data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='12.0208'%20cy='12.5208'%20r='8.5'%20transform='rotate(-45%2012.0208%2012.5208)'%20stroke='black'%20stroke-width='2'/%3e%3cpath%20d='M22.7929%2024.7071C23.1834%2025.0976%2023.8166%2025.0976%2024.2071%2024.7071C24.5976%2024.3166%2024.5976%2023.6834%2024.2071%2023.2929L22.7929%2024.7071ZM17.3241%2019.2384L22.7929%2024.7071L24.2071%2023.2929L18.7384%2017.8241L17.3241%2019.2384Z'%20fill='black'/%3e%3c/svg%3e",T0="data:image/svg+xml,%3csvg%20width='23'%20height='23'%20viewBox='0%200%2023%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1.04163'%20y='1.52081'%20width='20'%20height='20'%20rx='5'%20stroke='white'%20stroke-width='2'/%3e%3cpath%20d='M11.0416%206.02081L11.0416%2017.0208'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M16.5416%2011.5208L5.54163%2011.5208'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e",E0="data:image/svg+xml,%3csvg%20width='23'%20height='23'%20viewBox='0%200%2023%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1.04163'%20y='1.52081'%20width='20'%20height='20'%20rx='5'%20stroke='black'%20stroke-width='2'/%3e%3cpath%20d='M11.0416%206.02081L11.0416%2017.0208'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M16.5416%2011.5208L5.54163%2011.5208'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e",O0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20height='16'%20viewBox='0%200%2016%2016'%20width='16'%3e%3cg%20fill='%23ffffff'%3e%3cpath%20d='m2.5%202c-.27614%200-.5.22386-.5.5s.22386.5.5.5h.2457c.22324%200%20.41943.14799.48076.36264l1.58556%205.54944c.18398.64395.77256%201.08792%201.44228%201.08792h4.5687c.6133%200%201.1649-.37343%201.3927-.94291l1.4743-3.6857c.2627-.65686-.2211-1.37139-.9285-1.37139h-8.31292l-.2606-.91208c-.18398-.64395-.77256-1.08792-1.44228-1.08792z'/%3e%3cpath%20d='m6.5%2014c.82843%200%201.5-.6716%201.5-1.5s-.67157-1.5-1.5-1.5-1.5.6716-1.5%201.5.67157%201.5%201.5%201.5z'/%3e%3cpath%20d='m10.5%2014c.8284%200%201.5-.6716%201.5-1.5s-.6716-1.5-1.5-1.5c-.82843%200-1.5.6716-1.5%201.5s.67157%201.5%201.5%201.5z'/%3e%3c/g%3e%3c/svg%3e",P0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20height='16'%20viewBox='0%200%2016%2016'%20width='16'%3e%3cg%20fill='%23000000'%3e%3cpath%20d='m2.5%202c-.27614%200-.5.22386-.5.5s.22386.5.5.5h.2457c.22324%200%20.41943.14799.48076.36264l1.58556%205.54944c.18398.64395.77256%201.08792%201.44228%201.08792h4.5687c.6133%200%201.1649-.37343%201.3927-.94291l1.4743-3.6857c.2627-.65686-.2211-1.37139-.9285-1.37139h-8.31292l-.2606-.91208c-.18398-.64395-.77256-1.08792-1.44228-1.08792z'/%3e%3cpath%20d='m6.5%2014c.82843%200%201.5-.6716%201.5-1.5s-.67157-1.5-1.5-1.5-1.5.6716-1.5%201.5.67157%201.5%201.5%201.5z'/%3e%3cpath%20d='m10.5%2014c.8284%200%201.5-.6716%201.5-1.5s-.6716-1.5-1.5-1.5c-.82843%200-1.5.6716-1.5%201.5s.67157%201.5%201.5%201.5z'/%3e%3c/g%3e%3c/svg%3e",G0="data:image/svg+xml,%3csvg%20width='24'%20height='21'%20viewBox='0%200%2024%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.2175%201.88951L11.8725%202.65511L12.6042%201.88951C15.179%20-0.685229%2019.1711%20-0.565474%2021.8185%201.88951L22.005%202.06914C24.5798%204.64387%2023.9489%209.79014%2021.4939%2012.4375L21.171%2012.7788L20.8115%2013.1454C19.4262%2014.5366%2012.8077%2020.2293%2012.8077%2020.2293C12.2439%2020.6986%2011.4234%2020.6913%2010.8681%2020.212L8.85115%2018.4612L7.05542%2016.8815C4.92092%2014.9887%203.31874%2013.5074%202.24888%2012.4375C-0.387159%209.80151%20-0.894471%204.70518%201.74157%202.06914C4.37761%20-0.5669%208.58142%20-0.746533%2011.2175%201.88951Z'%20fill='white'/%3e%3c/svg%3e",R0="data:image/svg+xml,%3csvg%20width='24'%20height='21'%20viewBox='0%200%2024%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.2175%201.88951L11.8725%202.65511L12.6042%201.88951C15.179%20-0.685229%2019.1711%20-0.565474%2021.8185%201.88951L22.005%202.06914C24.5798%204.64387%2023.9489%209.79014%2021.4939%2012.4375L21.171%2012.7788L20.8115%2013.1454C19.4262%2014.5366%2012.8077%2020.2293%2012.8077%2020.2293C12.2439%2020.6986%2011.4234%2020.6913%2010.8681%2020.212L8.85115%2018.4612L7.05542%2016.8815C4.92092%2014.9887%203.31874%2013.5074%202.24888%2012.4375C-0.387159%209.80151%20-0.894471%204.70518%201.74157%202.06914C4.37761%20-0.5669%208.58142%20-0.746533%2011.2175%201.88951Z'%20fill='%23262626'/%3e%3c/svg%3e",D0="data:image/svg+xml,%3csvg%20width='23'%20height='20'%20viewBox='0%200%2023%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.9316%2018.409C12.5909%2018.7501%2012.1328%2018.9569%2011.6452%2018.991H11.5018C10.9614%2018.991%2010.446%2018.7783%2010.072%2018.404L10.0689%2018.4008L2.82526%2011.2133L2.82529%2011.2133L2.81863%2011.2068C0.473784%208.92297%200.385183%205.19829%202.61816%202.80451C4.82829%200.532632%208.45367%200.387785%2010.8445%202.4732L11.5018%203.04656L12.1592%202.4732C14.5499%200.387876%2018.1751%200.53262%2020.3852%202.80421C22.6186%205.20302%2022.5299%208.92296%2020.18%2011.2118L20.18%2011.2118L20.1731%2011.2186L12.9345%2018.4061L12.9316%2018.409Z'%20stroke='white'%20stroke-width='2'/%3e%3c/svg%3e",F0="data:image/svg+xml,%3csvg%20width='23'%20height='20'%20viewBox='0%200%2023%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.9316%2018.409C12.5909%2018.7501%2012.1328%2018.9569%2011.6452%2018.991H11.5018C10.9614%2018.991%2010.446%2018.7783%2010.072%2018.404L10.0689%2018.4008L2.82526%2011.2133L2.82529%2011.2133L2.81863%2011.2068C0.473784%208.92297%200.385183%205.19829%202.61816%202.80451C4.82829%200.532632%208.45367%200.387785%2010.8445%202.4732L11.5018%203.04656L12.1592%202.4732C14.5499%200.387876%2018.1751%200.53262%2020.3852%202.80421C22.6186%205.20302%2022.5299%208.92296%2020.18%2011.2118L20.18%2011.2118L20.1731%2011.2186L12.9345%2018.4061L12.9316%2018.409Z'%20stroke='black'%20stroke-width='2'/%3e%3c/svg%3e",W0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2026.3.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20fill='white'%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2032%2032'%20style='enable-background:new%200%200%2032%2032;'%20xml:space='preserve'%3e%3cg%3e%3cpath%20d='M16,29C8.8,29,3,23.2,3,16S8.8,3,16,3s13,5.8,13,13S23.2,29,16,29z%20M16,5C9.9,5,5,9.9,5,16s4.9,11,11,11s11-4.9,11-11%20S22.1,5,16,5z'/%3e%3cpath%20d='M16,17c-2.8,0-5-2.2-5-5s2.2-5,5-5s5,2.2,5,5S18.8,17,16,17z'/%3e%3cpath%20d='M25.5,24c-0.3,0-0.5-0.1-0.7-0.3c-2.1-2.3-5.2-3.7-8.4-3.7h-0.9c-2.9,0-5.7,1.1-7.8,3.2c-0.4,0.4-1.1,0.3-1.4-0.1%20c-0.3-0.4-0.3-0.9,0-1.3c2.5-2.4,5.8-3.7,9.2-3.7h0.9c3.7,0,7.3,1.6,9.8,4.3c0.4,0.4,0.4,1-0.1,1.4C26,23.9,25.8,24,25.5,24z'/%3e%3c/g%3e%3cpolygon%20points='8,25%207.3,22.5%2012.9,19.4%2021.3,20.4%2025.2,22.9%2023.5,25.5%2017.8,28.2%20'/%3e%3c/svg%3e",q0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2026.3.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2032%2032'%20style='enable-background:new%200%200%2032%2032;'%20xml:space='preserve'%3e%3cg%3e%3cpath%20d='M16,29C8.8,29,3,23.2,3,16S8.8,3,16,3s13,5.8,13,13S23.2,29,16,29z%20M16,5C9.9,5,5,9.9,5,16s4.9,11,11,11s11-4.9,11-11%20S22.1,5,16,5z'/%3e%3cpath%20d='M16,17c-2.8,0-5-2.2-5-5s2.2-5,5-5s5,2.2,5,5S18.8,17,16,17z'/%3e%3cpath%20d='M25.5,24c-0.3,0-0.5-0.1-0.7-0.3c-2.1-2.3-5.2-3.7-8.4-3.7h-0.9c-2.9,0-5.7,1.1-7.8,3.2c-0.4,0.4-1.1,0.3-1.4-0.1%20c-0.3-0.4-0.3-0.9,0-1.3c2.5-2.4,5.8-3.7,9.2-3.7h0.9c3.7,0,7.3,1.6,9.8,4.3c0.4,0.4,0.4,1-0.1,1.4C26,23.9,25.8,24,25.5,24z'/%3e%3c/g%3e%3cpolygon%20points='8,25%207.3,22.5%2012.9,19.4%2021.3,20.4%2025.2,22.9%2023.5,25.5%2017.8,28.2%20'/%3e%3c/svg%3e",J0="data:image/svg+xml,%3csvg%20viewBox='0%200%2032%2032'%20fill='white'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:none;}%3c/style%3e%3c/defs%3e%3ctitle/%3e%3cg%20data-name='Layer%202'%20id='Layer_2'%3e%3cpath%20d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3e%3cpath%20d='M16,17a5,5,0,1,1,5-5A5,5,0,0,1,16,17Zm0-8a3,3,0,1,0,3,3A3,3,0,0,0,16,9Z'/%3e%3cpath%20d='M25.55,24a1,1,0,0,1-.74-.32A11.35,11.35,0,0,0,16.46,20h-.92a11.27,11.27,0,0,0-7.85,3.16,1,1,0,0,1-1.38-1.44A13.24,13.24,0,0,1,15.54,18h.92a13.39,13.39,0,0,1,9.82,4.32A1,1,0,0,1,25.55,24Z'/%3e%3c/g%3e%3cg%20id='frame'%3e%3crect%20class='cls-1'%20height='32'%20width='32'/%3e%3c/g%3e%3c/svg%3e",K0="data:image/svg+xml,%3c?xml%20version='1.0'%20?%3e%3csvg%20viewBox='0%200%2032%2032'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:none;}%3c/style%3e%3c/defs%3e%3ctitle/%3e%3cg%20data-name='Layer%202'%20id='Layer_2'%3e%3cpath%20d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3e%3cpath%20d='M16,17a5,5,0,1,1,5-5A5,5,0,0,1,16,17Zm0-8a3,3,0,1,0,3,3A3,3,0,0,0,16,9Z'/%3e%3cpath%20d='M25.55,24a1,1,0,0,1-.74-.32A11.35,11.35,0,0,0,16.46,20h-.92a11.27,11.27,0,0,0-7.85,3.16,1,1,0,0,1-1.38-1.44A13.24,13.24,0,0,1,15.54,18h.92a13.39,13.39,0,0,1,9.82,4.32A1,1,0,0,1,25.55,24Z'/%3e%3c/g%3e%3cg%20id='frame'%3e%3crect%20class='cls-1'%20height='32'%20width='32'/%3e%3c/g%3e%3c/svg%3e",Q0={class:"flex justify-around",dir:"ltr"},U0={key:0},X0=["src","alt"],Y0=["src","alt"],ee={key:1},te=["src"],se=["src","alt"],oe={key:0},ne=["src","alt"],ae=["src","alt"],le={key:1},ie=["src"],ce=["src","alt"],re=["src","alt"],de=["src","alt"],ue={key:1,class:"justify-items-center cursor-pointer flex justify-center flex-1"},ge={key:0},me=["src"],pe=["src"],he={key:1},ve=["src"],fe=["src"],we={key:0},xe=["src"],_e=["src"],ye={key:1},Ce=["src"],ke=["src"],be={key:0},Se=["src"],Le=["src"],$e={alt:"user",class:"w-full aspect-square aspect-square rounded-full"},Me={key:1},Be=["src"],Ie=["src"],Ne={key:1},ze={class:"w-1.7rem -mt1 aspect-square rounded-full",alt:"instagram"},Ae=A({__name:"index",setup(l){const t=s2(),o=g2(),d=m2(),p=P2(),u=G(()=>d.currentRoute.value.name);function m(f){d.push({name:f})}return S(!1),(f,g)=>{const w=t0,v=h2,c=G2("lazy");return s(),z(v,null,{default:_(()=>[a("div",{class:N(["fixed bottom-0 w-inherit pt-2 z-10 h-50px shadow",e(t).isNightStore?"bg-#121212":"bg-white"])},[a("div",Q0,[a("div",{onClick:g[0]||(g[0]=i=>m("home")),class:"justify-items-center cursor-pointer flex justify-center flex-1",style:{"align-content":"center"}},[r($,{name:"fade-nav",mode:"out-in"},{default:_(()=>[u.value==="home"?(s(),n("div",U0,[e(t).isNightStore?(s(),n("img",{key:0,src:e(I0),alt:e(t).appName.en},null,8,X0)):(s(),n("img",{key:1,src:e(N0),alt:e(t).appName.en},null,8,Y0))])):(s(),n("div",ee,[e(t).isNightStore?(s(),n("img",{key:0,src:e(z0),alt:""},null,8,te)):(s(),n("img",{key:1,src:e(A0),alt:e(t).appName.en},null,8,se))]))]),_:1})]),a("div",{onClick:g[1]||(g[1]=i=>m("search")),class:"justify-items-center cursor-pointer flex justify-center flex-1"},[r($,{name:"fade-nav",mode:"out-in"},{default:_(()=>[u.value==="search"||u.value==="search-main"?(s(),n("div",oe,[e(t).isNightStore?(s(),n("img",{key:0,src:e(j0),alt:e(t).appName.en},null,8,ne)):(s(),n("img",{key:1,src:e(V0),alt:e(t).appName.en},null,8,ae))])):(s(),n("div",le,[e(t).isNightStore?(s(),n("img",{key:0,src:e(H0),alt:""},null,8,ie)):(s(),n("img",{key:1,src:e(Z0),alt:e(t).appName.en,class:"-mt3px"},null,8,ce))]))]),_:1})]),e(t).isSeller?(s(),n("div",{key:0,onClick:g[2]||(g[2]=i=>e(d).push({name:"add-product"})),class:"justify-items-center cursor-pointer flex-1 flex justify-center"},[a("div",null,[e(t).isNightStore?(s(),n("img",{key:0,src:e(T0),alt:e(t).appName.en},null,8,re)):(s(),n("img",{key:1,src:e(E0),alt:e(t).appName.en},null,8,de))])])):(s(),n("div",ue,[r(w,{count:e(p).count,dir:"ltr"},{default:_(()=>[a("div",{onClick:g[3]||(g[3]=i=>m("cart"))},[r($,{name:"fade-nav",mode:"out-in"},{default:_(()=>[u.value==="cart"?(s(),n("div",ge,[e(t).isNightStore?(s(),n("img",{key:0,src:e(O0),class:"w-1.8rem -mt1",alt:""},null,8,me)):(s(),n("img",{key:1,src:e(P0),alt:"",class:"w-1.8rem -mt1"},null,8,pe))])):(s(),n("div",he,[e(t).isNightStore?(s(),n("img",{key:0,src:e(Y2),class:"w-1.8rem -mt1",alt:""},null,8,ve)):(s(),n("img",{key:1,src:e(e0),alt:"",class:"w-1.8rem -mt1"},null,8,fe))]))]),_:1})])]),_:1},8,["count"])])),a("div",{onClick:g[4]||(g[4]=i=>m("fav")),class:"justify-items-center cursor-pointer flex justify-center flex-1"},[r($,{name:"fade-nav",mode:"out-in"},{default:_(()=>[u.value==="fav"?(s(),n("div",we,[e(t).isNightStore?(s(),n("img",{key:0,src:e(G0),alt:""},null,8,xe)):(s(),n("img",{key:1,src:e(R0),alt:""},null,8,_e))])):(s(),n("div",ye,[e(t).isNightStore?(s(),n("img",{key:0,src:e(D0),alt:""},null,8,Ce)):(s(),n("img",{key:1,src:e(F0),alt:""},null,8,ke))]))]),_:1})]),a("div",{onClick:g[5]||(g[5]=(...i)=>e(r2)&&e(r2)(...i)),class:"justify-items-center cursor-pointer flex justify-center flex-1"},[r($,{name:"fade-nav",mode:"out-in"},{default:_(()=>[u.value==="user"||u.value==="user_detail-id"?(s(),n("div",be,[e(t2)()?(s(),n("div",{key:1,class:N([e(t).isNightStore?"border-white":"border-black","p-1px -mt-1 w-1.8rem h-1.8rem border-solid border-2 rounded-full flex justify-center items-center"])},[Y(a("img",$e,null,512),[[c,{src:e(t).useDataStorage(e(o).user?.avatar),loading:e(T),error:e(T)}]])],2)):(s(),n(d2,{key:0},[e(t).isNightStore?(s(),n("img",{key:0,src:e(W0),alt:"",class:"w-1.8rem -mt1"},null,8,Se)):(s(),n("img",{key:1,src:e(q0),alt:"",class:"w-1.8rem -mt1"},null,8,Le))],64))])):(s(),n("div",Me,[r($,{name:"fade-nav",mode:"out-in"},{default:_(()=>[e(t2)()?(s(),n("div",Ne,[Y(a("img",ze,null,512),[[c,{src:e(t).useDataStorage(e(o).user?.avatar),loading:e(T),error:e(T)}]])])):(s(),n(d2,{key:0},[e(t).isNightStore?(s(),n("img",{key:0,src:e(J0),alt:"",class:"w-1.8rem -mt1"},null,8,Be)):(s(),n("img",{key:1,src:e(K0),alt:"",class:"w-1.8rem -mt1"},null,8,Ie))],64))]),_:1})]))]),_:1})])])],2)]),_:1})}}}),je="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20width='800px'%20height='800px'%20viewBox='0%200%2050%2050'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M30.3%2013.7L25%208.4l-5.3%205.3-1.4-1.4L25%205.6l6.7%206.7z'/%3e%3cpath%20d='M24%207h2v21h-2z'/%3e%3cpath%20d='M35%2040H15c-1.7%200-3-1.3-3-3V19c0-1.7%201.3-3%203-3h7v2h-7c-.6%200-1%20.4-1%201v18c0%20.6.4%201%201%201h20c.6%200%201-.4%201-1V19c0-.6-.4-1-1-1h-7v-2h7c1.7%200%203%201.3%203%203v18c0%201.7-1.3%203-3%203z'/%3e%3c/svg%3e",Ve="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3csvg%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='128'%20height='128'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='style=linear'%3e%3cg%20id='add-box'%3e%3cpath%20id='vector'%20d='M2%208C2%204.68629%204.68629%202%208%202H16C19.3137%202%2022%204.68629%2022%208V16C22%2019.3137%2019.3137%2022%2016%2022H8C4.68629%2022%202%2019.3137%202%2016V8Z'%20stroke='%23000000'%20stroke-width='1.5'/%3e%3cpath%20id='vector_2'%20d='M12%207.75732L12%2016.2426'%20stroke='%23000000'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='vector_3'%20d='M16.25%2012L7.76476%2012'%20stroke='%23000000'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",He={dir:"rtl",class:"h-full flex flex-col bg-white"},Ze={class:"flex items-center gap-3 px-4 pt-[max(12px,env(safe-area-inset-top))] pb-3 border-b border-gray-100"},Te=["src"],Ee={class:"min-w-0"},Oe={class:"text-base font-700 text-gray-900 truncate"},Pe={class:"flex-1 overflow-auto px-4 py-4 space-y-3"},Ge={key:1,class:"space-y-3"},Re={class:"flex items-center gap-3 bg-gray-50 rounded-2xl p-3"},De={class:"w-full justify-center flex pt-40"},Fe={key:2,class:"space-y-3"},We={class:"flex items-center gap-2"},qe={key:0,class:"text-xs text-gray-500"},Je=A({__name:"index",props:{iconSrc:{},appName:{default:""},forceShow:{type:Boolean,default:!1},nonSafariMode:{default:"block"},zIndex:{default:4e3}},setup(l){const t=l,o=S(!1),d=S(!1),p=S(!1),u=S(!1),m=S(!0),f=G(()=>{if(t.appName)return t.appName;try{const c=R2().public;return c.APP_NAME_FA||c.APP_NAME_EN||"App"}catch{return"App"}});function g(){const c=navigator.userAgent||"",i=/iPhone|iPod/i.test(c),y=/iPad/i.test(c)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1;d.value=i||y;const C=window.matchMedia?.("(display-mode: standalone)")?.matches??!1,L=window.navigator.standalone===!0;u.value=C||L,p.value=d.value&&/Safari/i.test(c)&&!/CriOS|FxiOS|EdgiOS|OPiOS/i.test(c);const B=window.matchMedia?.("(orientation: landscape)")?.matches??!1;m.value=i&&!B,y&&(m.value=!1)}function w(){return t.forceShow?!0:d.value&&!u.value}const v=D2(document?.body||null);return o2(o,c=>{v&&(v.value=c)}),p2(()=>{g(),o.value=w(),window.matchMedia?.("(display-mode: standalone)")?.addEventListener?.("change",i=>{i.matches&&(o.value=!1)})}),(c,i)=>{const y=v0,C=u2,L=o0,B=F2,x=n0,k=h2;return s(),z(k,null,{default:_(()=>[r(x,{class:"font-iran-sans",open:o.value,placement:"bottom",height:"100dvh",zIndex:l.zIndex,closable:!1,maskClosable:!1,keyboard:!1,destroyOnClose:!1,bodyStyle:{padding:0,paddingBottom:"env(safe-area-inset-bottom)",touchAction:"none"},rootClassName:"ios-install-blocker"},{default:_(()=>[a("div",He,[a("div",Ze,[a("img",{src:l.iconSrc,alt:"icon",class:"w-10 h-10 rounded-2xl shadow-sm"},null,8,Te),a("div",Ee,[a("div",Oe,"نصب "+e2(f.value),1),i[1]||(i[1]=a("div",{class:"text-xs text-gray-500"},"افزودن میان‌بر اپ به صفحهٔ اصلی آیفون",-1))])]),a("div",Pe,[d.value&&!p.value?(s(),z(y,{key:0,type:"warning","show-icon":"",class:"mb-2",message:"برای نصب، این صفحه را در Safari باز کنید.",description:"در مرورگر فعلی، گزینهٔ Add to Home Screen در دسترس نیست."})):P("",!0),p.value?(s(),n("div",Ge,[i[4]||(i[4]=a("div",{class:"flex items-center gap-3 bg-gray-50 rounded-2xl p-3"},[a("div",{class:"w-8 h-8 rounded-full border border-gray-200 flex items-center justify-center text-xs font-800"}," 1 "),a("div",{class:"flex-1 text-sm leading-6"},[b(" روی دکمهٔ "),a("span",{class:"font-700"},"اشتراک‌گذاری"),b(" بزنید "),a("span",{class:"text-gray-500"},"(آیکن مربع با فلش رو به بالا)"),b(". ")]),a("div",{class:"relative"},[a("img",{src:je,alt:"",class:"w-10"})])],-1)),i[5]||(i[5]=a("div",{class:"flex items-center gap-3 bg-gray-50 rounded-2xl p-3"},[a("div",{class:"w-8 h-8 rounded-full border border-gray-200 flex items-center justify-center text-xs font-800"}," 2 "),a("div",{class:"flex-1 text-sm leading-6"},[b(" در منو، گزینهٔ "),a("span",{class:"font-700"},"Add to Home Screen"),b(" را انتخاب کنید. ")]),a("img",{src:Ve,alt:"",class:"w-7 me-6px"})],-1)),a("div",Re,[i[2]||(i[2]=a("div",{class:"w-8 h-8 rounded-full border border-gray-200 flex items-center justify-center text-xs font-800"}," 3 ",-1)),i[3]||(i[3]=a("div",{class:"flex-1 text-sm leading-6"},[b(" روی "),a("span",{class:"font-700"},"Add"),b(" بزنید تا میان‌بر به صفحهٔ اصلی اضافه شود. ")],-1)),r(C,{class:"w-10"})]),a("div",De,[r(L,{class:"w-50 self-center justify-center"})])])):(s(),n("div",Fe,[i[7]||(i[7]=a("div",{class:"text-sm leading-6"},[b(" برای نصب، همین صفحه را در "),a("span",{class:"font-700"},"Safari"),b(" باز کنید و سپس مراحل بالا را انجام دهید. ")],-1)),a("div",We,[r(B,{type:"primary",block:"",onClick:i[0]||(i[0]=()=>c.navigator.clipboard?.writeText(c.location.href))},{default:_(()=>[...i[6]||(i[6]=[b(" کپی لینک صفحه ",-1)])]),_:1})]),t.nonSafariMode==="hint"?(s(),n("div",qe," می‌توانید فعلاً برگردید؛ این راهنما دوباره نمایش داده نمی‌شود. ")):P("",!0)]))]),i[8]||(i[8]=a("div",{class:"h-4"},null,-1))])]),_:1},8,["open","zIndex"])]),_:1})}}}),Ke=Object.assign(a0(Je,[["__scopeId","data-v-5b7dc7e2"]]),{__name:"IosInstallPrompt"}),c1=A({__name:"default",setup(l){const t=m2(),{width:o}=J2(),p=W2(X2).smaller("sm"),u=S(!1),m=S(!0),f=q2(),g=s2(),w=g2(),v=s0();o2([o,p],()=>{c()}),p2(()=>{setTimeout(async()=>{t2()&&(w.myDataLoaded=!0),m.value=!1},500),v.runChannel()});function c(){u.value=!!K2(t.currentRoute.value,"meta.showMobileNavigationMenu",!0)}return f.hook("page:finish",()=>{c()}),Q2({title:g.appName.en}),(i,y)=>{const C=B0;return s(),n("div",null,[r($,{mode:"out-in",name:"fade"},{default:_(()=>[m.value?(s(),z(C,{key:0,version:e(S0).version},null,8,["version"])):P("",!0)]),_:1}),U2(i.$slots,"default"),a("div",null,[r(Ke,{iconSrc:e(g).useLogo("pwa-icon-192.png"),storageKey:"ios-install-guide-v1",zIndex:3e3,"non-safari-mode":"hint"},null,8,["iconSrc"])]),u.value?(s(),z(Ae,{key:0,class:"!md:w-425px",style:{width:"-webkit-fill-available"}})):P("",!0)])}}});export{c1 as default};