1import{_ as g,ap as i,aq as _,B as x,J as k,i as S,r as b,c as M,b as a,o as P,d as A,C as o,w as r,e as n,t as s,j as u,H as B}from"./application.2feedf9e.js";import{L as w}from"./LeadSummaryCompact.4fdcfe10.js";import{L as E}from"./LeadPopularityCompact.01c45ddc.js";const I=window.route,N={name:"LeadMatchedActions",components:{LeadContactInfo:i(()=>_(()=>import("./LeadContactInfo.fb63365a.js"),["assets/LeadContactInfo.fb63365a.js","assets/application.2feedf9e.js","assets/application.86404388.css"])),Button:x,LeadSummaryCompact:w,LeadPopularityCompact:E,LeadSummaryModal:i(()=>_(()=>import("./LeadSummaryModal.27ee92bb.js"),["assets/LeadSummaryModal.27ee92bb.js","assets/SlideOver.4827caea.js","assets/application.2feedf9e.js","assets/application.86404388.css","assets/LeadSummary.a21d3f89.js","assets/Pill.bc2ec0d2.js","assets/LeadSummaryCompact.4fdcfe10.js","assets/Modal.21206de4.js"])),Link:k},props:{leadContent:{type:Object,required:!0},maxAcceptedCount:{type:Number,required:!0}},setup(t){const d=S().props.locale.replace("_","-"),e=b(!1);function c(){e.value=!e.value}const l=new Intl.NumberFormat(d,{style:"currency",currency:"EUR"}),m=M(()=>l.format(t.leadContent.reverse_search_response.value));return{route:I,leadSummaryOpen:e,toggleLeadSummaryModal:c,leadPrice:m}}},O={class:"grid grid-cols-1 gap-2"},T={class:"hidden lg:block"},V={class:"text-lg md:text-2xl font-normal"},q={class:"hidden lg:block"},D={class:"mt-3"},H=["innerHTML"],R={class:"text-center mt-8"};function j(t,d,e,c,l,m){const p=a("LeadContactInfo"),h=a("LeadSummaryCompact"),y=a("Button"),v=a("LeadPopularityCompact"),f=a("Link"),C=a("Card"),L=a("LeadSummaryModal");return P(),A(B,null,[o(C,{class:"fixed left-0 right-0 md:left-[85px] bottom-0 lg:sticky lg:top-0 text-sm"},{default:r(()=>[n("div",O,[n("div",T,[n("div",V,s(t.$t("reverse_search.activity.matched.title")),1),o(p,{"lead-content":e.leadContent,class:"mt-3"},null,8,["lead-content"]),o(h,{"lead-content":e.leadContent,class:"mt-3"},null,8,["lead-content"])]),o(y,{"is-inertia":!0,"button-type":"secondary","data-cy":"reverse-search-match-summary-action",onClick:c.toggleLeadSummaryModal},{default:r(()=>[u(s(t.$t("reverse_search.activity.matched.button_see")),1)]),_:1},8,["onClick"]),n("div",q,[o(v,{"lead-content":e.leadContent,"max-accepted-count":e.maxAcceptedCount,class:"mt-3"},null,8,["lead-content","max-accepted-count"]),n("p",D,[n("span",{innerHTML:t.$t("reverse_search.activity.matched.match_message",{price:"<strong>"+(e.leadContent.reverse_search_response.credit===1?t.$t("reverse_search.activity.new.credit"):c.leadPrice)+"</strong>"})},null,8,H)])]),n("div",R,[o(f,{href:c.route("reversesearch.doArchive",{id:e.leadContent.reverse_search_response.id}),"data-cy":"reverse-search-archive-action",class:"text-sm font-normal text-gray-500 hover:text-gray-700"},{default:r(()=>[u(s(t.$t("shared.actions.archive")),1)]),_:1},8,["href"])])])]),_:1}),o(L,{"do-open":c.leadSummaryOpen,"lead-content":e.leadContent},null,8,["do-open","lead-content"])],64)}const z=g(N,[["render",j]]);export{z as default};
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.