1import{toRef as y,computed as M,watch as f,toValue as E}from"vue";import{cq as h,bu as D}from"./logger-BOxpBNGt.js";import{x as I}from"./plugin-feature-flags-D0H0KyZq.js";const R=()=>{const{openModal:n,isModalOpened:i,isModalOpenedExact:r,callForModalDismiss:a}=I();return{openModal:(e,o,u,c)=>n(e,o,u,c),dismissModal:(e,o)=>{a(e,o)},isModalOpened:i,isModalOpenedExact:r}},L=(n,{value:i,dismissOnScopeDispose:r=!0,dismissOnValueChange:a=!0,dismissOnRouteChange:d=!0,interruptFullscreenOnOpen:l=!0}={})=>{const e=Math.random().toString(),{currentRoutePath:o}=h(),{openModal:u,dismissModal:c,isModalOpened:x,isModalOpenedExact:v}=R(),p=y(i),s=t=>{c(n,t)},O=(t,k)=>{s({intent:t,source:{origin:"external",input:"unknown",description:k}})},g=(...[t])=>(l&&document.fullscreenElement&&document.exitFullscreen?.(),a&&f(p,()=>{s({intent:"resolve",source:{origin:"external",input:"unknown",description:void 0}})},{once:!0}),u(n,e,t,p)),w=M(()=>x(n)),m=M(()=>v(e));return r&&D(()=>{m.value&&s({intent:"cancel",source:{origin:"external",input:"unknown",description:void 0}})}),d&&f(()=>E(o),()=>{m.value&&s({intent:"cancel",source:{origin:"external",input:"unknown",description:void 0}})}),{open:g,dismiss:O,isOpened:w}};export{L as u};
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.