1import{_ as d,o as l,a as s,b as C,d as A,F as m,a2 as p,g as w,n as g,r as X,w as D,c as E,I as Y,k as e}from"./CNB_PrB2.js";import{b as N}from"./zc4jajfm.js";const R={},T={class:"!w-[19.5px] !h-[19px]",xmlns:"http://www.w3.org/2000/svg",width:"19",height:"16",viewBox:"0 0 16 16","data-icon":""};function z(r,n){return l(),s("svg",T,[...n[0]||(n[0]=[C("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.5 4.25C2.36193 4.25 2.25 4.36193 2.25 4.5V7.5C2.25 7.63807 2.36193 7.75 2.5 7.75H5.5C5.63807 7.75 5.75 7.63807 5.75 7.5V4.5C5.75 4.36193 5.63807 4.25 5.5 4.25H2.5ZM0.75 4.5C0.75 3.5335 1.5335 2.75 2.5 2.75H5.5C6.4665 2.75 7.25 3.5335 7.25 4.5V7.5C7.25 8.4665 6.4665 9.25 5.5 9.25H2.5C1.5335 9.25 0.75 8.4665 0.75 7.5V4.5ZM8.75 4C8.75 3.58579 9.08579 3.25 9.5 3.25H14.5C14.9142 3.25 15.25 3.58579 15.25 4C15.25 4.41421 14.9142 4.75 14.5 4.75H9.5C9.08579 4.75 8.75 4.41421 8.75 4ZM8.75 8C8.75 7.58579 9.08579 7.25 9.5 7.25H14.5C14.9142 7.25 15.25 7.58579 15.25 8C15.25 8.41421 14.9142 8.75 14.5 8.75H9.5C9.08579 8.75 8.75 8.41421 8.75 8ZM8.75 12C8.75 11.5858 9.08579 11.25 9.5 11.25H14.5C14.9142 11.25 15.25 11.5858 15.25 12C15.25 12.4142 14.9142 12.75 14.5 12.75H9.5C9.08579 12.75 8.75 12.4142 8.75 12Z"},null,-1)])])}const F=d(R,[["render",z]]),G={},P={xmlns:"http://www.w3.org/2000/svg",class:"!w-[19.5px] !h-[19px]",viewBox:"0 0 16 16","data-icon":""};function W(r,n){return l(),s("svg",P,[...n[0]||(n[0]=[C("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.75 4C8.75 3.58579 9.08579 3.25 9.5 3.25H14.5C14.9142 3.25 15.25 3.58579 15.25 4C15.25 4.41421 14.9142 4.75 14.5 4.75H9.5C9.08579 4.75 8.75 4.41421 8.75 4ZM2.5 6.25C2.36193 6.25 2.25 6.36193 2.25 6.5V9.5C2.25 9.63807 2.36193 9.75 2.5 9.75H5.5C5.63807 9.75 5.75 9.63807 5.75 9.5V6.5C5.75 6.36193 5.63807 6.25 5.5 6.25H2.5ZM0.75 6.5C0.75 5.5335 1.5335 4.75 2.5 4.75H5.5C6.4665 4.75 7.25 5.5335 7.25 6.5V9.5C7.25 10.4665 6.4665 11.25 5.5 11.25H2.5C1.5335 11.25 0.75 10.4665 0.75 9.5V6.5ZM8.75 8C8.75 7.58579 9.08579 7.25 9.5 7.25H14.5C14.9142 7.25 15.25 7.58579 15.25 8C15.25 8.41421 14.9142 8.75 14.5 8.75H9.5C9.08579 8.75 8.75 8.41421 8.75 8ZM8.75 12C8.75 11.5858 9.08579 11.25 9.5 11.25H14.5C14.9142 11.25 15.25 11.5858 15.25 12C15.25 12.4142 14.9142 12.75 14.5 12.75H9.5C9.08579 12.75 8.75 12.4142 8.75 12Z"},null,-1)])])}const L=d(G,[["render",W]]),j={},q={class:"!w-[19.5px] !h-[19px]",xmlns:"http://www.w3.org/2000/svg",width:"19",height:"16",viewBox:"0 0 16 16","data-icon":""};function J(r,n){return l(),s("svg",q,[...n[0]||(n[0]=[C("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.75 4C8.75 3.58579 9.08579 3.25 9.5 3.25H14.5C14.9142 3.25 15.25 3.58579 15.25 4C15.25 4.41421 14.9142 4.75 14.5 4.75H9.5C9.08579 4.75 8.75 4.41421 8.75 4ZM2.5 8.25C2.36193 8.25 2.25 8.36193 2.25 8.5V11.5C2.25 11.6381 2.36193 11.75 2.5 11.75H5.5C5.63807 11.75 5.75 11.6381 5.75 11.5V8.5C5.75 8.36193 5.63807 8.25 5.5 8.25H2.5ZM0.75 8.5C0.75 7.5335 1.5335 6.75 2.5 6.75H5.5C6.4665 6.75 7.25 7.5335 7.25 8.5V11.5C7.25 12.4665 6.4665 13.25 5.5 13.25H2.5C1.5335 13.25 0.75 12.4665 0.75 11.5V8.5ZM8.75 8C8.75 7.58579 9.08579 7.25 9.5 7.25H14.5C14.9142 7.25 15.25 7.58579 15.25 8C15.25 8.41421 14.9142 8.75 14.5 8.75H9.5C9.08579 8.75 8.75 8.41421 8.75 8ZM8.75 12C8.75 11.5858 9.08579 11.25 9.5 11.25H14.5C14.9142 11.25 15.25 11.5858 15.25 12C15.25 12.4142 14.9142 12.75 14.5 12.75H9.5C9.08579 12.75 8.75 12.4142 8.75 12Z"},null,-1)])])}const K=d(j,[["render",J]]),O=["onClick"],x=33,H=8,_=6,Q=A({__name:"InfoAlignmentSwitcher",props:{modelValue:{},alwaysVisible:{type:Boolean},offsetY:{},offsetX:{},anchor:{},mediaAlign:{}},emits:["update:modelValue","changeEnd"],setup(r,{emit:n}){const t=r,v=n,h=e(()=>t.alwaysVisible===!0),i=e(()=>typeof t.offsetY=="number"?t.offsetY:-10),c=e(()=>typeof t.offsetX=="number"?t.offsetX:0),y=e(()=>t.anchor==="top-left"?"anchor-top-left":"anchor-top-right"),V=e(()=>t.mediaAlign==="right"?"rotate":""),u=e(()=>[{value:"top",icon:F},{value:"center",icon:L},{value:"bottom",icon:K}]),M=e(()=>{const o=Math.max(0,u.value.findIndex(a=>a.value===t.modelValue));return{transform:`translateX(${_+o*(x+H)}px)`}}),$=e(()=>{const o={top:`${i.value}px`};
1return t.anchor==="top-left"?o.left=`${c.value}px`:o.right=`${c.value}px`,o});function b(o){v("update:modelValue",o),v("changeEnd",o)}const Z=e(()=>i.value<0&&!h.value),I=e(()=>_*2+x*u.value.length+H*Math.max(0,u.value.length-1)),k=e(()=>({top:`${i.value}px`,width:`${I.value}px`,height:`${Math.abs(i.value)}px`,right:t.anchor==="top-right"?`${c.value}px`:"auto",left:t.anchor==="top-left"?`${c.value}px`:"auto"})),B=N(),f=e(()=>B.value>=1024);return(o,S)=>(l(),s(m,null,[f.value&&Z.value?(l(),s("div",{key:0,class:"hover-bridge",style:p(k.value),"aria-hidden":"true"},null,4)):w("",!0),f.value?(l(),s("div",{key:1,class:g(["infoalign-switcher-overlay",[y.value,V.value,{visible:h.value}]]),style:p([$.value,{borderRadius:"8px !important"}]),role:"group","aria-label":"Info alignment switcher"},[C("div",{class:"switcher-indicator",style:p(M.value),"aria-hidden":"true"},null,4),(l(!0),s(m,null,X(u.value,a=>(l(),s("button",{key:a.value,class:g(["switcher-item",{active:a.value===r.modelValue}]),type:"button","data-controls-section":"none",onClick:D(U=>b(a.value),["stop","prevent"])},[(l(),E(Y(a.icon)))],10,O))),128))],6)):w("",!0)],64))}}),n5=d(Q,[["__scopeId","data-v-dee54753"]]);export{n5 as I};
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.