import{a as e}from"./XcWejFm_.js";import{r as t}from"./C1trcC8M.js";var n=t.mouseSelectionStyle.of((t,n)=>{if(n.detail<3)return null;let r=e=>{let n=t.posAtCoords({x:e.clientX,y:e.clientY})??t.state.selection.main.head;return t.state.doc.lineAt(n)},i=r(n);return{get(t){let n=r(t),a=Math.min(i.from,n.from),o=Math.max(i.to,n.to);return n.from>=i.from?e.single(a,o):e.single(o,a)},update(){return!1}}});export{n as tripleClickLine};