1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61336],{61336:(e,t,l)=>{l.r(t),l.d(t,{default:()=>u});var r=l(95155),i=l(98500),n=l.n(i),a=l(12115),s=l(40915),o=l(77721),f=l(76368),c=l(57060);function d(e){return(Array.isArray(e)?e:[]).map((e,t)=>({id:String(e?.id||`footer-link-${t}`),label:String(e?.label||"").trim(),href:String(e?.href||"").trim(),openInNewTab:!!e?.openInNewTab})).filter(e=>e.label)}function m(e){let t=String(e||"").trim().toLowerCase();return t&&"#4fe50d"!==t&&"#68d900"!==t?e:"var(--theme-color, var(--color-primary, #4fe50d))"}function h(e,t="'font-iran', Vazir, IRANSans, sans-serif"){let l=String(e||"").trim();return l?l.startsWith("font-")?(0,o.az)(l):l.includes(",")||l.includes("'")||l.includes('"')?l:t:t}function u({node:e,dir:t="rtl",isDark:l=!1}){let i="ltr"===t?c.wM:c.A8,o=e?.defaultProps||{},x=String(o.sourceMenuId||"").trim(),g=(0,s.SQ)(x,!!x),p={...i,...o,items:d(Array.isArray(o.items)?o.items:i.items)},y=[...(0,a.useMemo)(()=>(Array.isArray(g.data?.children)?g.data.children:[]).filter(e=>String(e?.title||"").trim()).map(e=>({label:String(e.title||"").trim(),href:String(e.link||"").trim(),openInNewTab:"external"===e.linkType})),[g.data]),...d(p.items)],b=l?f.K.primary:m(p.hoverColor)||p.linkColor,w=l?f.K.primary:m(p.accentColor)||"var(--theme-color, var(--color-primary, #4fe50d))",N=l?f.K.heading:p.titleColor,v=l?f.K.text:p.linkColor,k=l?f.K.border:p.dividerColor,j=h(p.titleFontFamily,"'font-iran', Vazir, IRANSans, sans-serif"),A=h(p.linkFontFamily,"'font-iran', Vazir, IRANSans, sans-serif"),S="left"===p.itemAlignment?"left":"center"===p.itemAlignment?"center":"right",C="center"===p.itemAlignment?"center":"left"===p.itemAlignment?"rtl"===t?"flex-end":"flex-start":"rtl"===t?"flex-start":"flex-end";return(0,r.jsxs)("div",{className:"footer-links-widget flex w-full flex-col",dir:t,children:[(0,r.jsxs)("div",{className:"w-full",children:[!1!==p.showTitle?(0,r.jsx)("div",{className:"flex w-full",style:{justifyContent:C,textAlign:S},children:(0,r.jsx)("h4",{className:"m-0 inline-block leading-tight",style:{color:N,fontSize:`${p.titleFontSize}px`,fontFamily:j,fontWeight:p.titleFontWeight},children:p.title})}):null,!1!==p.showDivider?(0,r.jsxs)("div",{className:!1!==p.showTitle?"mt-4 flex items-center gap-2":"flex items-center gap-2",style:{justifyContent:C},children:[(0,r.jsx)("span",{className:"block h-px",style:{width:"54px",backgroundColor:k}}),(0,r.jsx)("span",{className:"block h-[3px] rounded-full",style:{width:"14px",backgroundColor:w}})]}):null]}),(0,r.jsx)("div",{className:!1!==p.showTitle||!1!==p.showDivider?"mt-8 flex w-full flex-col":"flex w-full flex-col",style:{gap:`${p.itemGap}px`},children:y.map((e,t)=>{var l;let i=(0,r.jsx)("span",{className:"leading-8 transition-colors duration-200",style:{color:v,fontSize:`${p.linkFontSize}px`,fontFamily:A,fontWeight:p.linkFontWeight},onMouseEnter:e=>{e.currentTarget.style.color=b},onMouseLeave:e=>{e.currentTarget.style.color=v},children:e.label});return e.href?(l=e.href,/^(https?:)?\/\//i.test(l)||l.startsWith("mailto:")||l.startsWith("tel:"))?(0,r.jsx)("div",{className:"flex w-full",style:{textAlign:S,justifyContent:C},children:(0,r.jsx)("a",{href:e.href,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:"inline-block",children:i})},e.id||`${e.label}-${t}`):(0,r.jsx)("div",{className:"flex w-full",style:{textAlign:S,justifyContent:C},children:(0,r.jsx)(n(),{href:e.href,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,className:"inline-block",children:i})},e.id||`${e.label}-${t}`):(0,r.jsx)("div",{className:"flex w-full",style:{textAlign:S,justifyContent:C},children:i},e.id||`${e.label}-${t}`)})})]})}}}]);
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.