PageSourceSearch

http://behmalt.com/_next/static/chunks/79807.12904ccd2a8acc83.js

js behmalt.com collected 2026-10-02 23:54:51 UTC 7,601 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[79807],{79807:(r,e,t)=>{t.r(e),t.d(e,{default:()=>h});var o=t(95155),a=t(72635),n=t(12115),d=t(10352),i=t(44042),l=t(77721),s=t(76368),b=t(6576),p=t(80283),c=t(92318),m=t(75073),g=t(16087);let u={start:"flex-start",center:"center",end:"flex-end",stretch:"flex-start"};function h(r){let e=(0,m.r9)(r.dir,r.page,r.language),t=(0,p.s0)(),h=(0,g.it)(r.node.defaultProps||{}),f=(0,n.useMemo)(()=>(0,g.W8)(r.node.children||[],h.items,r.node.id),[h.items,r.node.children,r.node.id]),x=(0,n.useMemo)(()=>h.items.map((r,e)=>({item:r,pane:f[e]})).filter(({pane:e})=>!1!==r.editable||(0,c.Yp)(e)),[f,h.items,r.editable]),[C,B]=(0,n.useState)(0),w=!0!==r.isHome,W=!0===r.isDark,R=Math.min(Math.max(C,0),Math.max(0,x.length-1)),k=x[R]?.pane,$="stretch"===h.alignment,v=h.fullWidth||$;return(0,n.useEffect)(()=>{C>=x.length&&B(Math.max(0,x.length-1))},[C,x.length]),(0,o.jsxs)("section",{className:"w-full",dir:r.dir||"rtl",children:[(0,o.jsx)("div",{className:["w-full","stack"===h.mobileHeaderMode?"flex flex-col gap-3":"overflow-hidden",function(r){switch(r){case"underline":case"minimal":case"line-top":case"framed":return"border-b border-slate-200/70";case"segmented":case"soft":return"rounded-[18px] border shadow-sm";case"capsule":return"rounded-[999px] border";case"boxed":return"rounded-[20px] border shadow-sm";default:return"rounded-[18px]"}}(h.variant)].join(" "),style:{backgroundColor:W?"rgba(15, 23, 42, 0.72)":h.tabBarBackgroundColor,borderColor:W?"rgba(148,163,184,0.16)":h.tabBarBorderColor,borderRadius:`${h.tabBarBorderRadius}px`,padding:`${h.tabBarPaddingY}px ${h.tabBarPaddingX}px`},children:(0,o.jsx)("div",{className:["w-full min-w-0","stack"===h.mobileHeaderMode?$?"grid grid-cols-1 gap-3 md:flex md:w-full md:flex-wrap":"grid grid-cols-1 gap-3 md:flex md:flex-wrap":v?"flex w-full min-w-0 flex-wrap":"flex min-w-0 flex-wrap"].join(" "),style:{gap:`${h.gap}px`,justifyContent:$?"flex-start":u[h.alignment],alignItems:"center"},children:x.map(({item:n},d)=>{var i,p,c,m;let g,u,f=String(n.title||"").trim(),x=function(r,e,t,o){let a=o?s.K.heading:t.activeItem
1Color,n=o?s.K.muted:t.itemColor,d=o?s.K.heading:t.activeItemIconColor,i=o?s.K.muted:t.itemIconColor,b=o?"rgba(30, 41, 59, 0.96)":t.activeItemBackgroundColor,p=o?"transparent":t.inactiveItemBackgroundColor,c=o?"rgba(56,189,248,0.55)":t.activeItemBorderColor,m=o?"rgba(148,163,184,0.18)":t.inactiveItemBorderColor,g=`${t.itemBorderRadius}px`,u=`${Math.max(t.itemBorderRadius,999)}px`,h={gap:`${t.itemGap}px`,padding:`${t.itemPaddingY}px ${t.itemPaddingX}px`,color:e?a:n,"--pc-tab-icon-color":e?d:i,fontFamily:function(r,e="var(--font-primary, sans-serif)"){let t=String(r||"").trim();return t?t.startsWith("font-")?(0,l.az)(t):t.includes(",")||t.includes("'")||t.includes('"')?t:e:e}(t.itemFontFamily),fontSize:`${t.itemFontSize}px`,fontWeight:t.itemFontWeight,transition:"all 180ms ease",borderStyle:"solid",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,borderTopColor:"transparent",borderRightColor:"transparent",borderBottomColor:"transparent",borderLeftColor:"transparent"};switch(r){case"boxed":return{...h,borderRadius:g,borderTopWidth:1,borderRightWidth:1,borderBottomWidth:1,borderLeftWidth:1,borderTopColor:e?c:m,borderRightColor:e?c:m,borderBottomColor:e?c:m,borderLeftColor:e?c:m,backgroundColor:e?b:p||(o?"rgba(15,23,42,0.35)":"#ffffff"),boxShadow:e?o?"0 10px 24px rgba(2, 6, 23, 0.28)":"0 10px 24px rgba(15, 23, 42, 0.08)":"none"};case"underline":return{...h,borderRadius:0,backgroundColor:"transparent",borderBottomWidth:e?2:1,borderBottomColor:e?c:"transparent"};case"minimal":return{...h,borderRadius:0,backgroundColor:"transparent",color:e?c:n,boxShadow:e?`inset 0 -2px 0 ${c}`:"none"};case"segmented":return{...h,borderRadius:g,borderTopWidth:1,borderRightWidth:1,borderBottomWidth:1,borderLeftWidth:1,borderTopColor:e?c:"transparent",borderRightColor:e?c:"transparent",borderBottomColor:e?c:"transparent",borderLeftColor:e?c:"transparent",backgroundColor:e?b:"transparent",boxShadow:e?o?"0 8px 22px rgba(2, 6, 23, 0.24)":"0 8px 18px rgba(15, 23, 42, 0.06)":"none"};case"capsule":return{...h,borderRadius:u,borderTopWidth:1,borderRightWidth:1,borderBottomWidth:1,borderLeftWidth:1,borderTopColor:e?c:"transparent",borderRightColor:e?c:"transparent",borderBottomColor:e?c:"transparent",borderLeftColor:e?c:"transparent",backgroundColor:e?b:p||"transparent"};case"line-top":return{...h,borderRadius:0,backgroundColor:"transparent",boxShadow:e?`inset 0 2px 0 ${c}`:"none"};case"framed":return{...h,borderRadius:`${Math.max(10,t.itemBorderRadius)}px ${Math.max(10,t.itemBorderRadius)}px 0 0`,borderTopWidth:1,borderRightWidth:1,borderBottomWidth:1,borderLeftWidth:1,borderTopColor:e?c:"transparent",borderRightColor:e?c:"transparent",borderLeftColor:e?c:"transparent",borderBottomColor:e?t.contentBackgroundColor||"#ffffff"
1:"transparent",backgroundColor:e?o?"rgba(15,23,42,0.8)":"#ffffff":"transparent",marginBottom:e?"-1px":void 0};case"soft":return{...h,borderRadius:g,borderTopWidth:1,borderRightWidth:1,borderBottomWidth:1,borderLeftWidth:1,borderTopColor:e?"transparent":m,borderRightColor:e?"transparent":m,borderBottomColor:e?"transparent":m,borderLeftColor:e?"transparent":m,backgroundColor:e?o?"rgba(51, 65, 85, 0.9)":"rgba(255, 138, 0, 0.12)":p||"transparent"};default:return{...h,borderRadius:g,borderTopWidth:1,borderRightWidth:1,borderBottomWidth:1,borderLeftWidth:1,borderTopColor:e?c:"transparent",borderRightColor:e?c:"transparent",borderBottomColor:e?c:"transparent",borderLeftColor:e?c:"transparent",backgroundColor:e?b:p||"transparent"}}}(h.variant,d===R,h,W);return(0,o.jsxs)("button",{type:"button",onClick:e=>{e?.stopPropagation(),B(d),w&&(t.setWidget(r.node),t.setSection("settings"),t.setSidebarStatus(!0))},className:["group relative inline-flex min-w-0 max-w-full items-center justify-center transition-all duration-200",$?"min-h-10 flex-1 basis-0":"whitespace-normal"].join(" "),style:x,"aria-label":f||(e?`تب ${d+1}`:`Tab ${d+1}`),children:[(i=n,p=h.iconSize,c=W,m=String(x["--pc-tab-icon-color"]||h.itemIconColor),u="image"===i.iconType&&(g=String(i.image||"").trim())?(0,b.IB)(g):"","image"===i.iconType&&u?(0,o.jsx)("img",{src:u,alt:i.title||"",className:"shrink-0 object-contain",style:{width:`${p}px`,height:`${p}px`},loading:"lazy"}):(0,o.jsx)(a.In,{icon:i.icon||"mdi:view-grid-plus-outline",className:"shrink-0",style:{fontSize:`${p}px`,color:c?s.K.muted:m}})),(0,o.jsx)("span",{className:"min-w-0 break-words text-center leading-6",children:f||"\xa0"})]},n.id||`${n.title}-${d}`)})})}),(0,o.jsx)("div",{className:"mt-4 w-full",style:{padding:h.contentPadding,backgroundColor:W?"transparent":h.contentBackgroundColor,border:"transparent"!==h.contentBorderColor?`1px solid ${h.contentBorderColor}`:void 0,borderRadius:`${h.contentBorderRadius}px`,boxShadow:h.contentShadow?W?"0 16px 40px rgba(2, 6, 23, 0.24)":"0 16px 40px rgba(15, 23, 42, 0.08)":"none"},children:k?w?(0,o.jsx)(d.default,{widget:k,isHome:!1,editable:r.editable,theme:r.theme,page:r.page,template:r.template,language:r.language,locale:r.locale}):(0,o.jsx)(i.A,{node:k,isHome:!0,editable:r.editable,language:r.language,dir:r.dir,locale:r.locale,page:r.page,theme:r.theme,template:r.template}):(0,o.jsx)("div",{className:["rounded-2xl border px-5 py-8 text-center text-sm",W?"border-slate-700 bg-slate-900/90 text-slate-300":"border-slate-200 bg-white text-slate-500"].join(" "),children:e?"هنوز محتوایی برای این تب تعریف نشده است.":"No content has been added to this tab yet."})})]})}}}]);

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.