PageSourceSearch

https://behzi.ir/_next/static/chunks/pages/landings/blackout-time-0b0a62217f351b73.js

js behzi.ir collected 2026-09-25 05:45:58 UTC 7,833 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7626],{615:function(e,r,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/landings/blackout-time",function(){return s(57711)}])},83116:function(e,r,s){"use strict";s.d(r,{IH:function(){return t},oD:function(){return o},w8:function(){return n}});var i=s(53493);let t=i.Ry({addressTitle:i.Z_().required("address-title"),postCode:i.Rx().required("post-code").moreThan(1e9,"post-code-length").lessThan(9999999999,"post-code-length").typeError("post-code-number"),city:i.Ry().required("city"),plague:i.Z_().required("plague"),unit:i.Z_().required("unit"),address:i.Z_().required("address"),rName:i.Z_().required("rName"),rLastName:i.Z_().required("rLastName"),rPhone:i.Z_().required("rPhone")}),n={addressTitle:"",postCode:"",plague:"",unit:"",city:"",cordinates:[37.276443,49.571378],amIReciever:!0,address:"",rName:"",rLastName:"",rPhone:""},o=e=>{let{addressTitle:r,address:s,amIReciever:i,cordinates:t,plague:n,postCode:o,rLastName:a,rName:l,rPhone:d,unit:u,city:c}=e,[h,p]=t;return{name:r,zip_code:String(o),address:s,lat:h,lng:p,plague:n,unit:u,is_primary:1,ami_reciver:i?1:0,reciver_name:l,reciver_surname:a,reciver_phone:d,status:1,city_id:c.id}}},57711:function(e,r,s){"use strict";s.r(r),s.d(r,{__N_SSG:function(){return N},default:function(){return w}});var i=s(74817),t=s(30578),n=s(12883),o=s(65191),a=s(67833),l=s(81952),d=s(33980),u=s(68403),c=s(2118),h=s(93521),p=s(85551),x=s(36497),m=s(83116),b=s(79053),g=s(25211);let _=()=>{let{push:e}=(0,x.useRouter)(),{t:r}=(0,a.Z)(),{user:s}=(0,u.C)(e=>e.user),{request:t,routes:n}=(0,d.Z)();(0,h.NL)();let{isLoading:_,mutate:f}=(0,p.D)(async e=>{await t({url:n.USER_ADDRESSES(null==s?void 0:s.id),method:"post",data:e})},{onSuccess:()=>{}}),{values:v,touched:Z,errors:j,handleChange:N,handleSubmit:w,setFieldValue:S}=(0,c.TA)({initialValues:{name:"",businessName:"",phoneNumber:""},validationSchema:m.IH,enableReinitialize:!0,onSubmit:e=>{f((0,m.oD)(e))}});return(0,i.jsxs)(l.ZP,{container:!0,spacing:"16px",component:"form",onSubmit:w,children:[_&&(0,i.jsx)(b.Z,{}),(0,i.jsx)(l.ZP,{item:!0,xs:12,children:(0,i.jsx)(g.Z,{name:"name",error:(null==Z?void 0:Z.name)&&j.name?j.name:"",placeholder:"امیر حق دوست",label:"نام و نام خانوادگی",value:v.name,onChange:N})}),(0,i.jsx)(l.ZP,{item:!0,xs:12,children:(0,i.jsx)(g.Z,{name:"businessName",error:(null==Z?void 0:Z.businessName)&&j.businessName?j.businessName:"",label:"نام کسب و کار",placeholder:"مثال: لباس فروشی کوی",value:v.businessName,onChange:N})}),(0,i.jsx)(l.ZP,{item:!0,xs:12,children:(0,i.jsx)(g.Z,{name:"phoneNumber",error:(null==Z?void 0:Z.phoneNumber)&&j.phoneNumber?j.phoneNumber:"",label:"شماره تماس",placeholder:"09123456789",value:v.phoneNumber,onChange:N})}),(0,i.jsx)(l.ZP,{item:!0,xs:12,sx:{textAlign:"center"},children:(0,i.jsx)(o.Z,{variant:"contained",sx:y.submit,type:"submit",disableElevation:!0,children:"ثبت درخواست مشاوره"})})]})},y={submit:{whiteSpace:"nowrap",mx:"auto"}};var f=s(25133),v=s(64349),Z=s(26331);let j=()=>(0,i.jsxs)(n.Z,{children:[(0,i.jsx)(Z.PB,{title:"در زمان قطعی اینترنت از رقابت دیجیتال جا نمونید."}),(0,i.jsxs)(n.Z,{component:"section",children:[(0,i.jsx)(t.Z,{component:"h1",children:"در زمان قطعی اینترنت از رقابت دیجیتال جا نمونید."}),(0,i.jsx)(t.Z,{children:"در شرایط فعلی و عدم دسترسی پایدار به اینترنت بین‌الملل، داشتن یک شعبه آنلاین که روی زیرساخت‌های داخلی با پایداری کار کند، حیاتی است. پلتفرم بهزی بهترین انتخاب برای معرفی کسب‌وکار شماست. به محض پایداری شرایط، با زیرساخت سئوی قدرتمند ما، بلافاصله و به بهترین شکل به گوگل معرفی خواهید شد."}),(0,i.jsx)(o.Z,{children:"دریافت مشاوره تلفنی رایگان"})]}),(0,i.jsxs)(n.Z,{component:"section",children:[(0,i.jsx)(t.Z,{children:"رقبای خودتونو بشناسید"}),(0,i.jsx)(n.Z,{sx:{height:"100px",width:"300px",mx:"auto"},children:(0,i.jsx)(v.Z,{isLanding:!0,catFilter:"business"})})]}),(0,i.jsx)(f.Z,{component:"section",sx:{maxWidth:"sm",mx:"auto",borderTop:"4px solid",borderColor:"primary.main",borderRadius:"16px",p:"40px 36px"},children:(0,i.jsx)(_,{})})]});j.noLayout=!0;var N=!0,w=j},16348:function(e,r,s){"use strict";var i=s(74817),t=s(10944),n=s(12883),o=s(71248);let a={newStory:{dir:"rtl",p:"3px",borderRadius:"16px","&:hover":{bgcolor:""},background:"linear-gradient(235deg, rgba(131,58,180,1) 20%, rgba(253,29,29,1) 44%, rgba(252,151,69,1) 65%, rgba(252,219,69,1) 86%)"},seenStory:{p:"3px",borderRadius:"16px","&:hover":{bgcolor:""},background:"linear-gradient(0deg, rgb(100, 100, 100) 0%, rgb(100, 100, 100) 100%)"}};r.Z=e=>{let{story:r,width:s=70,onClick:l}=e,[d,u]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{u(r.stories.every(e=>e.user_seen)&&r.stories.length>0)},[r.stories]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(n.Z,{onClick:l,sx:d?{...a.seenStory,width:"".concat(s,"px"),cursor:"pointer"}:{...a.newStory,width:"".concat(s,"px"),cursor:"pointer"},children:(0,i.jsx)(t.Z,{src:r.business.logo||"",aspectRatio:1,width:s-6,alt:r.business.short_name||"",radiu
1s:"14px",style:{border:"3px solid",borderColor:"background.default"},quality:20})})})}},64349:function(e,r,s){"use strict";var i=s(74817),t=s(33980),n=s(23591),o=s(61422),a=s(81135),l=s(16348),d=s(17481),u=s(68403),c=s(44081),h=s(36497);s(66761);var p=s(12883),x=s(17842),m=s(37518),b=s.n(m),g=s(27283);a.ZP.use([a.s5]),r.Z=e=>{let{catFilter:r,isLanding:s=!1,businessPageFilters:a}=e,{request:m,routes:_}=(0,t.Z)(),y=(0,u.T)(),{query:f,locale:v}=(0,h.useRouter)(),{businesses:Z}=(0,u.C)(e=>e.business),{data:j,isLoading:N}=(0,n.a)(["public-stories",f,a],async()=>{var e;let s=null===(e=(await m({url:_.PUBLIC_STORIES,method:"get",params:{"filters[category]":r,"filters[city_ids][]":(null==a?void 0:a.cityId)||f["filters[city_ids][]"],"filters[category_id]":"business"===r?f["filters[category_id]"]:"product"===r||"service"===r?f["filters[category_ids][]"]:"article"===r?f["filters[include_categories][]"]:"position"===r?f["filters[categories][]"]:"khoorak"===r?f["filters[khoorak_category]"]:"event"===r?f["filters[business_category]"]:"reserve"===r?f["filters[category_ids][]"]:null,"filters[lang]":v,...a?{"filters[public_business_category]":null==a?void 0:a.categoryId}:{}}})).data)||void 0===e?void 0:e.items;return f.businessId&&(s=s.filter(e=>e.business.id!==Number(f.businessId))),s});return a&&(null==j?void 0:j.length)===0?null:(0,i.jsxs)(o.tq,{slidesPerView:"auto",style:{width:"100%"},children:[!s&&!a&&(0,i.jsx)(o.o5,{style:{width:"80px"},children:(0,i.jsx)(x.Z,{title:"common:add-your-story",children:(0,i.jsx)(p.Z,{component:b(),rel:Z&&Z.length>0?"nofollow noindex":"",href:Z&&Z.length>0?"https://panel.behzi.ir/stories":"/story",target:"_blank",sx:{width:"70px",height:"70px",borderRadius:"16px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",bgcolor:"primary.300"},children:(0,i.jsx)(g.Z,{})})})}),j?(s?j.slice(0,4):j).map(e=>(0,i.jsx)(o.o5,{style:{width:"80px"},children:(0,i.jsx)(l.Z,{story:e,onClick:()=>{var r,i;y((0,c.u5)({bId:e.business.id,sId:(null===(r=e.stories.find(e=>!e.user_seen))||void 0===r?void 0:r.id)||(null===(i=e.stories.find((e,r)=>0===r))||void 0===i?void 0:i.id)||0,shoingStories:(s?j.slice(0,4):j)||[]}))}})},e.business.id)):(s?[1,2,3,4]:[1,2,3,4,5,6,7,8,9]).map(e=>(0,i.jsx)(o.o5,{style:{width:"74px"},children:(0,i.jsx)(d.Z,{variant:"rectangular",sx:{borderRadius:"16px",width:"70px",height:"70px"}})},e))]})}}},function(e){e.O(0,[8598,7842,2888,9774,179],function(){return e(e.s=615)}),_N_E=e.O()}]);

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.