PageSourceSearch

https://www.sdilny.cz/_next/static/chunks/1606-247ecbf170fa5a4f.js

js sdilny.cz collected 2026-10-07 07:05:50 UTC 10,053 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1606],{6845:(e,t,a)=>{a.d(t,{cn:()=>i});var s=a(88324),r=a(34148);function i(...e){return(0,r.QP)((0,s.$)(e))}},27300:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(46926);let r=s.Ik({auth:s.Ik({signIn:s.Yj().min(1),signUp:s.Yj().min(1),verifyMfa:s.Yj().min(1),callback:s.Yj().min(1),passwordReset:s.Yj().min(1),passwordUpdate:s.Yj().min(1),confirm:s.Yj().min(1),checkEmail:s.Yj().min(1)}),app:s.Ik({home:s.Yj().min(1),map:s.Yj().min(1),equipment:s.Yj().min(1),connections:s.Yj().min(1),completeProfile:s.Yj().min(1),profileSettings:s.Yj().min(1),profile:s.Yj().min(1)}),public:s.Ik({nabidka:s.Yj().min(1)})}).parse({auth:{signIn:"/auth/sign-in",signUp:"/auth/sign-up",verifyMfa:"/auth/verify",callback:"/auth/callback",passwordReset:"/auth/password-reset",passwordUpdate:"/update-password",confirm:"/auth/confirm",checkEmail:"/auth/check-email"},app:{home:"/home",map:"/home",equipment:"/home/equipment",connections:"/home/connections",completeProfile:"/home/complete-profile",profileSettings:"/home/settings",profile:"/home/profile"},public:{nabidka:"/nabidka"}})},51737:(e,t,a)=>{a.d(t,{Ud:()=>s});function s(e){return[{id:"verified_email",i18nKey:"badgeVerifiedEmail",fulfilled:!0},{id:"has_photo",i18nKey:"badgeHasPhoto",fulfilled:!!e.pictureUrl},{id:"has_bio",i18nKey:"badgeHasBio",fulfilled:!!e.bio},{id:"has_city",i18nKey:"badgeHasCity",fulfilled:!!e.districtLabel},{id:"has_phone",i18nKey:"badgeHasPhone",fulfilled:!!e.phone},{id:"has_equipment",i18nKey:"badgeHasEquipment",fulfilled:!!e.hasEquipment},{id:"has_review",i18nKey:"badgeHasReview",fulfilled:!!e.hasReview},{id:"has_insurance",i18nKey:"badgeHasInsurance",fulfilled:!!e.hasInsurance}]}},58048:(e,t,a)=>{a.d(t,{Z:()=>x});var s=a(24062),r=a(27214),i=a(34686),n=a(62372),d=a(65024),o=a(43056),l=a(5002),c=a(29240),m=a(19778),u=a(74273);let h=(0,u.createServerReference)("7fdea1a5200b6240d6843dfb486137153ea4366ad1",u.callServer,void 0,u.findSourceMapURL,"submitReportAction");var p=a(46926);let f=["spam","inappropriate","fake_listing","fake_review","harassment","other"];function x({targetType:e,targetId:t,trigger:a}){let{t:u}=(0,i.Bd)("report"),[p,x]=(0,r.useState)(!1),[g,b]=(0,r.useState)(""),[j,v]=(0,r.useState)(""),[y,N]=(0,r.useTransition)();return(0,s.jsxs)(o.lG,{open:p,onOpenChange:x,children:[(0,s.jsx)(o.zM,{asChild:!0,children:a}),(0,s.jsxs)(o.Cf,{children:[(0,s.jsxs)(o.c7,{children:[(0,s.jsx)(o.L3,{children:u("title")}),(0,s.jsx)(o.rr,{children:u("description")})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(l.J,{htmlFor:"report-reason",children:u("reasonLabel")}),(0,s.jsxs)(c.l6,{value:g,onValueChange:e=>b(e),disabled:y,children:[(0,s.jsx)(c.bq,{id:"report-reason",children:(0,s.jsx)(c.yv,{placeholder:u("reasonPlaceholder")})}),(0,s.jsx)(c.gC,{children:f.map(e=>(0,s.jsx)(c.eb,{value:e,children:u(`reasons.${e}`)},e))})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(l.J,{htmlFor:"report-text",children:u("textLabel")}),(0,s.jsx)(m.T,{id:"report-text",placeholder:u("textPlaceholder"),value:j,onChange:e=>v(e.target.value.slice(0,500)),maxLength:500,rows:3,disabled:y}),(0,s.jsxs)("p",{className:"text-muted-foreground text-right text-xs",children:[j.length,"/",500]})]})]}),(0,s.jsx)(o.Es,{children:(0,s.jsx)(d.$,{onClick:()=>{if(!g)return void n.oR.error(u("reasonRequired"));N(async()=>{try{await h({targetType:e,targetId:t,reason:g,text:j.trim()||void 0}),n.oR.success(u("submitSuccess")),b(""),v(""),x(!1)}catch(t){let e=t instanceof Error?t.message:u("submitError");n.oR.error(e)}})},disabled:y||!g,className:"w-full sm:w-auto",variant:"destructive",children:y?"…":u("submitButton")})})]})]})}p.Ik({targetType:p.k5(["listing","profile","review"],{errorMap:()=>({message:"Neplatn\xfd typ nahl\xe1šen\xed."})}),targetId:p.Yj().uuid("Neplatn\xe9 ID c\xedle."),reason:p.k5(f,{errorMap:()=>({message:"Vyberte důvod nahl\xe1šen\xed."})}),text:p.Yj().max(500,"Koment\xe1ř může m\xedt maxim\xe1lně 500 znaků.").optional()})},65024:(e,t,a)=>{a.d(t,{$:()=>o,r:()=>d});var s=a(24062);a(27214);var r=a(60062),i=a(85350),n=a(6845);let d=(0,i.F)("focus-visible:ring-ring inline-flex items-center justify-center rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-xs",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-xs",outline:"border-input bg-background hover:bg-accent hover:text-accent-foreground border shadow-xs",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-xs",ghost:"hover:bg-accent hover:text-accent-foreground",link:"decoration-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),o=({className:e,variant:t,size:a,asChild:i=!1,...o})=>{let l=i?r.DX:"button";return(0,s.jsx)(l,{className:(0,n.cn)(d({variant:t,size:a,className:e})),...o})};o.displayName="Button"},77697:(e,t,a)=>{a.d(t,{Bc:()=>n,ZI:()=>l,k$:()=>o,m_:()=>d});var s=a(24062);a(27214);var r=a(53218),i=a(6845);let n=r.Kq,d=r.bL,o=r.l9,l=({className:e,sideOffset:t=4,...a})=>(0,s.jsx)(r.UC,{sideOffset:t,className:(0,i.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md px-3 py-1.5 text-xs",e),...a});l.displayName=r.UC.displayName},79718:(e,t,a)=>{a.d(t,{X:()=>j});var s=a(24062),r=a(27214),i=a(93265),n=a(62817),d=a(69067),o=a(54343),l=a(34686),c=a(58434),m=a(6845);let u=c.bL,h=c.l9;c.Mz;let p=({className:e,align:t="center",sideOffset:a=4,...r})=>(0,s.jsx)(c.ZL,{children:(0,s.jsx)(c.UC,{align:t,sideOffset:a,className:(0,m.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 rounded-md border p-4 shadow-md outline-hidden",e),...r})});p.displayName=c.UC.displayName;var f=a(49019);let x=({className:e,value:t,...a})=>(0,s.jsx)(f.bL,{className:(0,m.cn)("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",e),...a,children:(0,s.jsx)(f.C1,{className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(t??0)}%)`}})});x.displayName=f.bL.displayName;var g=a(77697),b=a(51737);function j({score:e,createdAt:t,compact:a=!1,badgeInput:r}){let{t:d}=(0,l.Bd)("profile"),o=function(e){if(!e)return!1;let t=new Date(e);return Date.now()-t.getTime()<12096e5}(t),c=Math.min(100,Math.max(0,Math.round(e)));if(a){let e=(0,s.jsxs)("div",{className:"flex items-center gap-1.5 rounded px-1 -mx-1 transition-colors hover:bg-muted/50 active:bg-muted/70 cursor-pointer",children:[(0,s.jsx)(i.A,{className:"h-3.5 w-3.5 shrink-0 text-muted-foreground"}),(0,s.jsx)(x,{value:c,className:"h-1.5 w-12"}),(0,s.jsxs)("span",{className:"text-muted-foreground text-xs",children:[c,"%"]}),(0,s.jsx)(n.A,{className:"h-3 w-3 shrink-0 text-muted-foreground/60"}),o&&(0,s.jsx)("span",{className:"bg-blue-50 text-blue-700 rounded px-1.5 py-0.5 text-[10px] font-medium",children:d("newMemberLabel")})]}),t=r?(0,s.jsx)(N,{score:c,badgeInput:r}):(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:d("trustScoreLabel")});return(0,s.jsx)(y,{scoreContent:e,children:t})}return(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("span",{className:"text-sm font-medium",children:d("trustScoreLabel")}),(0,s.jsx)("span",{className:"text-muted-foreground text-sm",children:d("trustScorePoints",{score:c,max:100})})]}),(0,s.jsx)(x,{value:c,className:"h-2"}),o&&(0,s.jsx)("p",{className:"text-muted-foreground text-xs",children:d("newMemberLabel")})]})}let v="bg-popover text-popover-foreground border shadow-md w-56 rounded-md p-3 z-[1200]";function y({scoreContent:e,children:t}){return!function(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=window.matchMedia("(pointer: coarse)");t(e.matches);let a=e=>t(e.matches);return e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[]),e}()?(0,s.jsx)(g.Bc,{delayDuration:200,children:(0,s.jsxs)(g.m_,{children:[(0,s.jsx)(g.k$,{asChild:!0,children:(0,s.jsx)("div",{className:"cursor-pointer",children:e})}),(0,s.jsx)(g.ZI,{align:"start",side:"bottom",className:v,children:t})]})}):(0,s.jsxs)(u,{children:[(0,s.jsx)(h,{asChild:!0,children:(0,s.jsx)("button",{type:"button",className:"cursor-pointer appearance-none border-0 bg-transparent p-0",onClick:e=>e.stopPropagation(),children:e})}),(0,s.jsx)(p,{align:"start",side:"bottom",className:v,onClick:e=>e.stopPropagation(),children:t})]})}function N({score:e,badgeInput:t}){let{t:a}=(0,l.Bd)("profile"),r=(0,b.Ud)(t);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center gap-2",children:[(0,s.jsx)(x,{value:e,className:"h-1.5 flex-1"}),(0,s.jsxs)("span",{className:"text-muted-foreground text-xs font-medium",children:[e,"%"]})]}),(0,s.jsx)("ul",{className:"space-y-1",children:r.map(e=>(0,s.jsxs)("li",{className:"flex items-center gap-2 text-xs",children:[e.fulfilled?(0,s.jsx)(d.A,{className:"h-3 w-3 shrink-0 text-green-600"}):(0,s.jsx)(o.A,{className:"h-3 w-3 shrink-0 text-gray-400"}),(0,s.jsx)("span",{className:e.fulfilled?"text-foreground":"text-muted-foreground",children:a(e.i18nKey)})]},e.id))})]})}}}]);

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.