1import{u as d,j as t,aL as m,c as e}from"./index-BpLLe65f.js";const h="_i66bH",u="_iqZNd",s={root:h,modal:u},f=({className:c,isOpen:a,onConfirm:r,onClose:n})=>{const{t:o}=d("common"),l=i=>{if(i.target.closest("button")?.id==="confirm-leave-quote"){r();return}n()};return a?t.jsx("div",{className:e(s.root,"z-max"),children:t.jsx(m,{className:e(s.modal,c),dataTestId:"shop-switch-modal",title:"",modalOpen:a,ariaLabel:o("confirmShopChangeDescription"),onClose:n,onClickButton:l,buttons:[{id:"cancel-change-shop",label:o("buttons.cancel"),variant:"secondary-reverse"},{id:"confirm-leave-quote",label:o("confirmShopChange"),variant:"danger"}],children:t.jsx("p",{children:o("confirmShopChangeDescription")})})}):null};export{f 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.