1"use strict";(globalThis.webpackChunkinfluencing_flat=globalThis.webpackChunkinfluencing_flat||[]).push([[5153],{67343:(e,t,l)=>{l.d(t,{A:()=>n});var a=l(50953),i=l(20641);function n(e,t,l=null){const n=(0,a.IJ)(null);function u(l){l.preventDefault(),l.deltaY>=0?e(l):t(l)}function h(l){l.preventDefault();const a=l.changedTouches[0].clientY;n.value>a+10?(e(l),n.value=a):n.value<a-10&&(t(l),n.value=a),n.value||(n.value=a)}return(0,i.sV)((()=>{l&&(l.value.addEventListener("wheel",u),l.value.addEventListener("touchmove",h))})),(0,i.xo)((()=>{l&&(l.value.removeEventListener("wheel",u),l.value.removeEventListener("touchmove",h))})),{wheel:u,touchMove:h}}},57534:(e,t,l)=>{l.r(t),l.d(t,{default:()=>s});var a=l(20641),i=l(90033),n=l(50953),u=l(53751),h=l(46517),v=l(21880),o=l(62257),r=l(67343);const d=["src","alt"],s=Object.assign({name:"modalLoadedImage"},{props:{file:{type:v.A,default:null}},emits:["close"],setup(e,{emit:t}){const l=300,v=t,s=e,c=(0,n.KR)(),w=(0,n.KR)(),f=(0,n.KR)(),{x:g,y:p,style:m}=(0,h.PMY)(c,{initialValue:{x:0,y:0},preventDefault:!0,onStart:()=>y.value=!0,onEnd:()=>y.value=!1}),k=(0,n.KR)({width:width,height:height}),b=(0,n.KR)(!1),y=(0,n.KR)(!1),I=(0,a.EW)((()=>m.value+";width:"+k.value.width+"px;height:"+k.value.height+"px"));function L(){v("close")}(0,r.A)((function(e){"touchmove"!==e.type&&(k.value.width<l||k.value.height<l||(k.value.width-=parseInt(k.value.width/100),k.value.height-=parseInt(k.value.height/100)))}),(function(e){"touchmove"!==e.type&&(k.value.width+=parseInt(k.value.width/100),k.value.height+=parseInt(k.value.height/100))}),c);const R=new Image;return R.onload=()=>{let e=R.width>l?R.width:l,t=R.height>l?R.height:l;const a=window.innerWidth-window.innerWidth/100*10,i=window.innerHeight-window.innerHeight/100*10,n=parseInt(e/100),u=parseInt(t/100);for(;e>a||t>i;)console.log(e,t),e-=n,t-=u;t+=40,k.value.width=parseInt(e),k.value.height=parseInt(t),g.value=window.innerWidth/2-k.value.width/2,p.value=window.innerHeight/2-k.value.height/2,b.value=!0},R.src=s.file.url,(t,l)=>((0,a.uX)(),(0,a.Wv)(a.Im,{to:"body"},[(0,a.bo)((0,a.Lk)("div",{class:(0,i.C4)(["modal-previewer",{grabbing:y.value}]),ref_key:"refPreviewer",ref:c,style:(0,i.Tr)([{position:"fixed"},I.value])},[(0,a.Lk)("div",{class:"modal-previewer-header",ref_key:"refHeader",ref:w},[(0,a.Lk)("p",null,(0,i.v_)(e.file.name),1),(0,a.bF)((0,n.R1)(o.A),{onClick:L},{default:(0,a.k6)((()=>l[0]||(l[0]=[(0,a.Lk)("i",{class:"fas fa-times"},null,-1)]))),_:1})],512),(0,a.Lk)("div",{class:"modal-previewer-body",ref_key:"refBody",ref:f},[(0,a.Lk)("img",{src:e.file.blob,alt:e.file.name},null,8,d)],512)],6),[[u.aG,b.value]])]))}})}}]);
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.