1import{u as l,_ as y}from"./app.config.7cecd396.js";import{a as w}from"./KitIcon.vue.8c913065.js";import S from"./KitButton.7a3aac0b.js";import{T as b,w as x,L as V,e as $}from"./entry.f71ad2db.js";import{M as C,G as I,o as g,H as B,V as r,W as L,X as d,Y as N,Z as a,$ as E,a1 as c,a0 as T,a3 as M,a4 as h}from"./runtime-core.esm-bundler.5ad89fe4.js";/* empty css */const A=o=>(M("data-v-5cfcbf9a"),o=o(),h(),o),G={class:"top-content"},U=A(()=>a("span",{class:"a-link"},"Terms of Service",-1)),H={class:"buttons"},K=C({__name:"ApproveGrantModal",props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:p}){const m=o,u=p,s=t=>{t&&localStorage.setItem("terms","accepted"),u("update:modelValue",!1)},_=()=>{s(!1),l().$router.push(V.INTERNAL_TERMS_OF_USE)},i=t=>{t.key==="Escape"&&s(!1)};return I(()=>m.modelValue,t=>{t?l().$enableScrollLock():l().$disableScrollLock()}),g(()=>{window.addEventListener("keyup",i)}),B(()=>{window.removeEventListener("keyup",i)}),(t,e)=>{const f=y,k=w,v=S;return r(),L(b,{name:"modal-transition"},{default:d(()=>[o.modelValue?(r(),N("div",{key:0,class:"approve-grant-modal",onClick:e[4]||(e[4]=n=>s(!1))},[a("div",{class:"modal-content",onClick:e[3]||(e[3]=x(()=>{},["stop"]))},[a("div",G,[E(" By clicking âI agreeâ or otherwise accessing or using the Site or Services, you accept and agree to be bound by and to comply with these "),c(f,{onClick:e[0]||(e[0]=n=>_()),class:"footer-link"},{default:d(()=>[U]),_:1})]),a("div",{class:"close-modal",onClick:e[1]||(e[1]=n=>s(!1))},[c(k,{name:"Close",fill:""})]),a("div",H,[c(v,{label:"I agree",type:"primary",class:"btn",onClick:e[2]||(e[2]=n=>s(!0))})])])])):T("",!0)]),_:1})}}}),Y=$(K,[["__scopeId","data-v-5cfcbf9a"]]);export{Y 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.