PageSourceSearch

https://behmalt.com/_next/static/chunks/13161.92ebecfd78d42351.js

js behmalt.com collected 2026-09-25 10:25:36 UTC 5,886 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[13161],{25366:(e,l,t)=>{t.d(l,{q:()=>i});var a=t(29753),r=t(28509),s=class extends a.${constructor(e,l){super(e,l)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,l){let{state:t}=e,a=super.createResult(e,l),{isFetching:s,isRefetching:n,isError:i,isRefetchError:c}=a,o=t.fetchMeta?.fetchMore?.direction,d=i&&"forward"===o,h=s&&"forward"===o,u=i&&"backward"===o,x=s&&"backward"===o;return{...a,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,r.rB)(l,t.data),hasPreviousPage:(0,r.RQ)(l,t.data),isFetchNextPageError:d,isFetchingNextPage:h,isFetchPreviousPageError:u,isFetchingPreviousPage:x,isRefetchError:c&&!d&&!u,isRefetching:n&&!h&&!x}}},n=t(38764);function i(e,l){return(0,n.t)(e,s,l)}},61288:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var a=t(95155),r=t(12115),s=t(86588),n=t(80870),i=t(90346),c=t(6576),o=t(80283),d=t(64490);let h=[{label:"بدون پیش‌بارگذاری",value:"none"},{label:"فقط اطلاعات اولیه",value:"metadata"},{label:"بارگذاری کامل",value:"auto"}],u=[{label:"نمایش کامل",value:"contain"},{label:"پر کردن قاب",value:"cover"}],x=[{label:"۱۶:۹",value:16/9},{label:"۴:۳",value:4/3},{label:"۱:۱",value:1},{label:"۹:۱۶",value:9/16}];function p(e){let l=(e??"").trim();if(l)return(0,c.IB)(l)}function m(){let e=(0,o.sr)(),l=(0,o.s0)().selectedWidget,[t]=i.lV.useForm(),c=i.lV.useWatch("autoplay",t),m=i.lV.useWatch("width",t),b=i.lV.useWatch("height",t),j=i.lV.useWatch("borderRadius",t);return(0,r.useEffect)(()=>{l?(t.resetFields(),t.setFieldsValue((0,d.r)(l.defaultProps))):t.resetFields()},[l?.id,t]),(0,a.jsx)(n.XR,{children:(0,a.jsxs)(i.lV,{form:t,layout:"vertical",autoComplete:"off",onValuesChange:function(a,r){if(!l)return;let s=(0,d.r)({...r,muted:!0===a.autoplay||r.muted,playsInline:!0===a.autoplay||r.playsInl
1ine});!0===a.autoplay&&t.setFieldsValue({muted:!0,playsInline:!0}),e.updateNode(l.id,{defaultProps:s})},className:"flex-1 overflow-y-auto",children:[(0,a.jsxs)(n.So,{title:"رسانه",defaultOpen:!0,children:[(0,a.jsx)(n.xh,{label:"فایل ویدئو",children:(0,a.jsx)(i.lV.Item,{name:"src",noStyle:!0,children:(0,a.jsx)(s.A,{multiselect:!1})})}),(0,a.jsx)(i.lV.Item,{shouldUpdate:(e,l)=>e.src!==l.src||e.poster!==l.poster,noStyle:!0,children:({getFieldValue:e})=>{let l=p(e("src")),t=p(e("poster"));return l?(0,a.jsx)("div",{className:"overflow-hidden rounded-[8px] border border-[var(--pc-panel-border)] bg-[var(--pc-control-bg)]",children:(0,a.jsx)("video",{src:l,poster:t,className:"h-36 w-full object-contain bg-black/10",controls:!0,muted:!0,playsInline:!0})}):(0,a.jsx)("div",{className:"rounded-[8px] border border-dashed border-[var(--pc-panel-border)] py-3 text-center font-yekan text-[10px] text-[var(--pc-panel-subtle)]",children:"ویدیویی انتخاب نشده است"})}}),(0,a.jsx)(n.xh,{label:"پوستر ویدئو",children:(0,a.jsx)(i.lV.Item,{name:"poster",noStyle:!0,children:(0,a.jsx)(s.A,{multiselect:!1})})}),(0,a.jsx)(n.xh,{label:"متن جایگزین",children:(0,a.jsx)(i.lV.Item,{name:"alt",noStyle:!0,children:(0,a.jsx)(n.zA,{placeholder:"برای دسترسی‌پذیری و سئو"})})})]}),(0,a.jsxs)(n.So,{title:"چیدمان",children:[(0,a.jsxs)(n.Jg,{columns:2,children:[(0,a.jsx)(n.xh,{label:"عرض درصدی",children:(0,a.jsx)(i.lV.Item,{name:"width",noStyle:!0,children:(0,a.jsx)(n.UX,{min:10,max:100})})}),(0,a.jsx)(n.xh,{label:"ارتفاع rem",children:(0,a.jsx)(i.lV.Item,{name:"height",noStyle:!0,children:(0,a.jsx)(n.UX,{min:0,max:50,step:.5})})}),(0,a.jsx)(n.xh,{label:"نسبت تصویر",children:(0,a.jsx)(i.lV.Item,{name:"aspectRatio",noStyle:!0,children:(0,a.jsx)(n.Pl,{options:[...x]})})}),(0,a.jsx)(n.xh,{label:"نمای داخل قاب",children:(0,a.jsx)(i.lV.Item,{name:"objectFit",noStyle:!0,children:(0,a.jsx)(n.Pl,{options:[...u]})})}),(0,a.jsx)(n.xh,{label:"گردی گوشه",children:(0,a.jsx)(i.lV.Item,{name:"borderRadius",noStyle:!0,children:(0,a.jsx)(n.UX,{min:0,max:64})})})]}),(0,a.jsxs)("div",{className:"rounded-[8px] border border-[var(--pc-panel-border)] bg-[var(--pc-control-muted)] px-3 py-2 font-yekan text-[10px] text-[var(--pc-panel-subtle)]",children:["عرض: ","number"==typeof m?`${m}%`:"100%"," | ارتفاع:"," ","number"==typeof b&&b>0?`${b}rem`:"خودکار"," | گردی:"," ","number"==typeof j?`${j}px`:"0px"]})]}),(0,a.jsxs)(n.So,{title:"پخش و کنترل‌ها",children:[(0,a.jsx)(n.xh,{label:"پیش‌بارگذاری",children:(0,a.jsx)(i.lV.Item,{name:"preload",noStyle:!0,children:(0,a.jsx)(n.Pl,{options:[...h]})})}),(0,a.jsx)(n.RZ,{label:"نمایش کنترل‌ها",children:(0,a.jsx)(i.lV.Item,{name:"controls",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{})})}),(0,a.jsx)(n.RZ,{label:"پخش خودکار",children:(0,a.jsx)(i.lV.Item,{name:"autoplay",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{})})}),(0,a.jsx)(n.RZ,{label:"بی‌صدا",children:(0,a.jsx)(i.lV.Item,{name:"muted",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{disabled:!0===c})})}),(0,a.jsx)(n.RZ,{label:"تکرار ویدئو",children:(0,a.jsx)(i.lV.Item,{name:"loop",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{})})}),(0,a.jsx)(n.RZ,{label:"پخش درون صفحه",children:(0,a.jsx)(i.lV.Item,{name:"playsInline",valuePropName:"checked",noStyle:!0,children:(0,a.jsx)(n.xk,{disabled:!0===c})})})]})]})})}}}]);

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.