PageSourceSearch

https://math-gpt.ai/_nuxt/BUiT7-_D.js

js math-gpt.ai collected 2026-09-30 10:52:51 UTC 19,687 bytes, 1 lines download raw bytes

1import{aj as Zt,d as te,e as ee,r as xt,a4 as St,ak as ne,o as oe,s as ie,g as At,j as re,p as le,q as ce,aa as ae,n as se,t as fe,v as ue,al as de,am as pe,a6 as lt}from"./mY4iAPDW.js";var he=Object.defineProperty,me=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,kt=(t,e,n)=>e in t?he(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,j=(t,e)=>{for(var n in e||(e={}))Ht.call(e,n)&&kt(t,n,e[n]);if(st)for(var n of st(e))Nt.call(e,n)&&kt(t,n,e[n]);return t},K=(t,e)=>me(t,ye(e)),zt=(t,e)=>{var n={};for(var o in t)Ht.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&st)for(var o of st(t))e.indexOf(o)<0&&Nt.call(t,o)&&(n[o]=t[o]);return n},$=(t,e,n)=>new Promise((o,i)=>{var r=c=>{try{l(n.next(c))}catch(s){i(s)}},a=c=>{try{l(n.throw(c))}catch(s){i(s)}},l=c=>c.done?o(c.value):Promise.resolve(c.value).then(r,a);l((n=n.apply(t,e)).next())});const ft=Math.min,Q=Math.max,ut=Math.round,ct=Math.floor,X=t=>({x:t,y:t}),ge={left:"right",right:"left",bottom:"top",top:"bottom"},ve={start:"end",end:"start"};function Ot(t,e,n){return Q(t,ft(e,n))}function yt(t,e){return typeof t=="function"?t(e):t}function U(t){return t.split("-")[0]}function dt(t){return t.split("-")[1]}function _t(t){return t==="x"?"y":"x"}function $t(t){return t==="y"?"height":"width"}const xe=new Set(["top","bottom"]);function q(t){return xe.has(U(t))?"y":"x"}function Xt(t){return _t(q(t))}function wt(t){return t.replace(/start|end/g,e=>ve[e])}const Dt=["left","right"],Ct=["right","left"],we=["top","bottom"],be=["bottom","top"];function at(t){return t.replace(/left|right|bottom|top/g,e=>ge[e])}function pt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Pt(t,e,n){let{reference:o,floating:i}=t;const r=q(e),a=Xt(e),l=$t(a),c=U(e),s=r==="y",p=o.x+o.width/2-i.width/2,h=o.y+o.height/2-i.height/2,y=o[l]/2-i[l]/2;let d;switch(c){case"top":d={x:p,y:o.y-i.height};break;case"bottom":d={x:p,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:h};break;case"left":d={x:o.x-i.width,y:h};break;default:d={x:o.x,y:o.y}}switch(dt(e)){case"start":d[a]-=y*(n&&s?-1:1);break;case"end":d[a]+=y*(n&&s?-1:1)}return d}function Yt(t,e){return $(this,null,function*(){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:y=!1,padding:d=0}=yt(e,t),f=function(S){return typeof S!="number"?function(k){return j({top:0,right:0,bottom:0,left:0},k)}(S):{top:S,right:S,bottom:S,left:S}}(d),m=l[y?h==="floating"?"reference":"floating":h],u=pt(yield r.getClippingRect({element:(n=yield r.isElement==null?void 0:r.isElement(m))==null||n?m:m.contextElement||(yield r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),g=h==="floating"?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,R=yield r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating),E=(yield r.isElement==null?void 0:r.isElement(R))&&(yield r.getScale==null?void 0:r.getScale(R))||{x:1,y:1},A=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?yield r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:R,strategy:c}):g);return{top:(u.top-A.top+f.top)/E.y,bottom:(A.bottom-u.bottom+f.bottom)/E.y,left:(u.left-A.left+f.left)/E.x,right:(A.right-u.right+f.right)/E.x}})}const Re=new Set(["left","top"]);function gt(){return typeof window<"u"}function nt(t){return It(t)?(t.nodeName||"").toLowerCase():"#document"}function M(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Y(t){var e;return(e=(It(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function It(t){return!!gt()&&(t instanceof Node||t instanceof M(t).Node)}function H(t){return!!gt()&&(t instanceof Element||t instanceof M(t).Element)}function I(t){return!!gt()&&(t instanceof HTMLElement||t instanceof M(t).HTMLElement)}function Bt(t){return!(!gt()||typeof ShadowRoot>"u")&&(t instanceof ShadowRoot||t instanceof M(t).ShadowRoot)}const Ee=new Set(["inline","contents"]);function ot(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=N(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Ee.has(i)}const Te=new Set(["table","td","th"]);function Le(t){return Te.has(nt(t))}const Se=[":popover-open",":modal"];function ht(t){return Se.some(e=>{try{return t.matches(e)}catch{return!1}})}const Ae=["transform","translate","scale","rotate","perspective"],ke=["transform","translate","scale","rotate","perspective","filter"],Oe=["paint","layout","strict","content"];function Rt(t){const e=Tt(),n=H(t)?N(t):t;return Ae.some(o=>!!n[o]&&n[o]!=="none")||!!n.containerType&&n.containerType!=="normal"||!e&&!!n.backdropFilter&&n.backdropFilter!=="none"||!e&&!!n.filter&&n.filter!=="none"||ke.some(o=>(n.willChange||"").includes(o))||Oe.some(o=>(n.contain||"").includes(o))}function Tt(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const De=new Set(["html","body","#document"]);function tt(t){return De.has(nt(t))}function N(t){return M(t).getComputedStyle(t)}function vt(t){return H(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function J(t){if(nt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Bt(t)&&t.host||Y(t);return Bt(e)?e.host:e}function qt(t){const e=J(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&ot(e)?e:qt(e)}function it(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=qt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),a=M(i);if(r){const l=Et(a);
1return e.concat(a,a.visualViewport||[],ot(i)?i:[],l&&n?it(l):[])}return e.concat(i,it(i,[],n))}function Et(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Jt(t){const e=N(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,a=i?t.offsetHeight:o,l=ut(n)!==r||ut(o)!==a;return l&&(n=r,o=a),{width:n,height:o,$:l}}function Lt(t){return H(t)?t:t.contextElement}function et(t){const e=Lt(t);if(!I(e))return X(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Jt(e);let a=(r?ut(n.width):n.width)/o,l=(r?ut(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ce=X(0);function Gt(t){const e=M(t);return Tt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ce}function Z(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Lt(t);let a=X(1);e&&(o?H(o)&&(a=et(o)):a=et(t));const l=function(y,d,f){return d===void 0&&(d=!1),!(!f||d&&f!==M(y))&&d}(r,n,o)?Gt(r):X(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,h=i.height/a.y;if(r){const y=M(r),d=o&&H(o)?M(o):o;let f=y,m=Et(f);for(;m&&o&&d!==f;){const u=et(m),g=m.getBoundingClientRect(),R=N(m),E=g.left+(m.clientLeft+parseFloat(R.paddingLeft))*u.x,A=g.top+(m.clientTop+parseFloat(R.paddingTop))*u.y;c*=u.x,s*=u.y,p*=u.x,h*=u.y,c+=E,s+=A,f=M(m),m=Et(f)}}return pt({width:p,height:h,x:c,y:s})}function mt(t,e){const n=vt(t).scrollLeft;return e?e.left+n:Z(Y(t)).left+n}function Kt(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-mt(t,n),y:n.top+e.scrollTop}}const Pe=new Set(["absolute","fixed"]);function Mt(t,e,n){let o;if(e==="viewport")o=function(i,r){const a=M(i),l=Y(i),c=a.visualViewport;let s=l.clientWidth,p=l.clientHeight,h=0,y=0;if(c){s=c.width,p=c.height;const f=Tt();(!f||f&&r==="fixed")&&(h=c.offsetLeft,y=c.offsetTop)}const d=mt(l);if(d<=0){const f=l.ownerDocument,m=f.body,u=getComputedStyle(m),g=f.compatMode==="CSS1Compat"&&parseFloat(u.marginLeft)+parseFloat(u.marginRight)||0,R=Math.abs(l.clientWidth-m.clientWidth-g);R<=25&&(s-=R)}else d<=25&&(s+=d);return{width:s,height:p,x:h,y}}(t,n);else if(e==="document")o=function(i){const r=Y(i),a=vt(i),l=i.ownerDocument.body,c=Q(r.scrollWidth,r.clientWidth,l.scrollWidth,l.clientWidth),s=Q(r.scrollHeight,r.clientHeight,l.scrollHeight,l.clientHeight);let p=-a.scrollLeft+mt(i);const h=-a.scrollTop;return N(l).direction==="rtl"&&(p+=Q(r.clientWidth,l.clientWidth)-c),{width:c,height:s,x:p,y:h}}(Y(t));else if(H(e))o=function(i,r){const a=Z(i,!0,r==="fixed"),l=a.top+i.clientTop,c=a.left+i.clientLeft,s=I(i)?et(i):X(1);return{width:i.clientWidth*s.x,height:i.clientHeight*s.y,x:c*s.x,y:l*s.y}}(e,n);else{const i=Gt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return pt(o)}function Qt(t,e){const n=J(t);return!(n===e||!H(n)||tt(n))&&(N(n).position==="fixed"||Qt(n,e))}function Be(t,e,n){const o=I(e),i=Y(e),r=n==="fixed",a=Z(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const c=X(0);function s(){c.x=mt(i)}if(o||!o&&!r)if((nt(e)!=="body"||ot(i))&&(l=vt(e)),o){const h=Z(e,!0,r,e);c.x=h.x+e.clientLeft,c.y=h.y+e.clientTop}else i&&s();r&&!o&&i&&s();const p=!i||o||r?X(0):Kt(i,l);return{x:a.left+l.scrollLeft-c.x-p.x,y:a.top+l.scrollTop-c.y-p.y,width:a.width,height:a.height}}function bt(t){return N(t).position==="static"}function Ft(t,e){if(!I(t)||N(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Y(t)===n&&(n=n.ownerDocument.body),n}function Wt(t,e){const n=M(t);if(ht(t))return n;if(!I(t)){let i=J(t);for(;i&&!tt(i);){if(H(i)&&!bt(i))return i;i=J(i)}return n}let o=Ft(t,e);for(;o&&Le(o)&&bt(o);)o=Ft(o,e);return o&&tt(o)&&bt(o)&&!Rt(o)?n:o||function(i){let r=J(i);for(;I(r)&&!tt(r);){if(Rt(r))return r;if(ht(r))return null;r=J(r)}return null}(t)||n}const Me={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",a=Y(o),l=!!e&&ht(e.floating);if(o===a||l&&r)return n;let c={scrollLeft:0,scrollTop:0},s=X(1);const p=X(0),h=I(o);if((h||!h&&!r)&&((nt(o)!=="body"||ot(a))&&(c=vt(o)),I(o))){const d=Z(o);
1s=et(o),p.x=d.x+o.clientLeft,p.y=d.y+o.clientTop}const y=!a||h||r?X(0):Kt(a,c);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+p.x+y.x,y:n.y*s.y-c.scrollTop*s.y+p.y+y.y}},getDocumentElement:Y,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[...n==="clippingAncestors"?ht(e)?[]:function(c,s){const p=s.get(c);if(p)return p;let h=it(c,[],!1).filter(m=>H(m)&&nt(m)!=="body"),y=null;const d=N(c).position==="fixed";let f=d?J(c):c;for(;H(f)&&!tt(f);){const m=N(f),u=Rt(f);u||m.position!=="fixed"||(y=null),(d?!u&&!y:!u&&m.position==="static"&&y&&Pe.has(y.position)||ot(f)&&!u&&Qt(c,f))?h=h.filter(g=>g!==f):y=m,f=J(f)}return s.set(c,h),h}(e,this._c):[].concat(n),o],a=r[0],l=r.reduce((c,s)=>{const p=Mt(e,s,i);return c.top=Q(p.top,c.top),c.right=ft(p.right,c.right),c.bottom=ft(p.bottom,c.bottom),c.left=Q(p.left,c.left),c},Mt(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Wt,getElementRects:function(t){return $(this,null,function*(){const e=this.getOffsetParent||Wt,n=this.getDimensions,o=yield n(t.floating);return{reference:Be(t.reference,yield e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}})},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=Jt(t);return{width:e,height:n}},getScale:et,isElement:H,isRTL:function(t){return N(t).direction==="rtl"}};function Vt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function jt(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,s=Lt(t),p=i||r?[...s?it(s):[],...it(e)]:[];p.forEach(u=>{i&&u.addEventListener("scroll",n,{passive:!0}),r&&u.addEventListener("resize",n)});const h=s&&l?function(u,g){let R,E=null;const A=Y(u);function S(){var k;clearTimeout(R),(k=E)==null||k.disconnect(),E=null}return function k(F,O){F===void 0&&(F=!1),O===void 0&&(O=1),S();const W=u.getBoundingClientRect(),{left:D,top:C,width:z,height:B}=W;if(F||g(),!z||!B)return;const P={rootMargin:-ct(C)+"px "+-ct(A.clientWidth-(D+z))+"px "+-ct(A.clientHeight-(C+B))+"px "+-ct(D)+"px",threshold:Q(0,ft(1,O))||1};let x=!0;function L(w){const v=w[0].intersectionRatio;if(v!==O){if(!x)return k();v?k(!1,v):R=setTimeout(()=>{k(!1,1e-7)},1e3)}v!==1||Vt(W,u.getBoundingClientRect())||k(),x=!1}try{E=new IntersectionObserver(L,K(j({},P),{root:A.ownerDocument}))}catch{E=new IntersectionObserver(L,P)}E.observe(u)}(!0),S}(s,n):null;let y,d=-1,f=null;a&&(f=new ResizeObserver(u=>{let[g]=u;g&&g.target===s&&f&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var R;(R=f)==null||R.observe(e)})),n()}),s&&!c&&f.observe(s),f.observe(e));let m=c?Z(t):null;return c&&function u(){const g=Z(t);m&&!Vt(m,g)&&n(),m=g,y=requestAnimationFrame(u)}(),n(),()=>{var u;p.forEach(g=>{i&&g.removeEventListener("scroll",n),r&&g.removeEventListener("resize",n)}),h==null||h(),(u=f)==null||u.disconnect(),f=null,c&&cancelAnimationFrame(y)}}const Fe=function(t){return t===void 0&&(t={}),{name:"shift",options:t,fn(e){return $(this,null,function*(){const{x:n,y:o,placement:i}=e,r=yt(t,e),{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:g=>{let{x:R,y:E}=g;return{x:R,y:E}}}}=r,s=zt(r,["mainAxis","crossAxis","limiter"]),p={x:n,y:o},h=yield Yt(e,s),y=q(U(i)),d=_t(y);let f=p[d],m=p[y];if(a){const g=d==="y"?"bottom":"right";f=Ot(f+h[d==="y"?"top":"left"],f,f-h[g])}if(l){const g=y==="y"?"bottom":"right";m=Ot(m+h[y==="y"?"top":"left"],m,m-h[g])}const u=c.fn(K(j({},e),{[d]:f,[y]:m}));return K(j({},u),{data:{x:u.x-n,y:u.y-o,enabled:{[d]:a,[y]:l}}})})}}},We=function(t){return t===void 0&&(t={}),{name:"flip",options:t,fn(e){return $(this,null,function*(){var n,o;const{placement:i,middlewareData:r,rects:a,initialPlacement:l,platform:c,elements:s}=e,p=yt(t,e),{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:u=!0}=p,g=zt(p,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const R=U(i),E=q(l),A=U(l)===l,S=yield c.isRTL==null?void 0:c.isRTL(s.floating),k=d||(A||!u?[at(l)]:function(x){const L=at(x);return[wt(x),L,wt(L)]}(l)),F=m!=="none";
1!d&&F&&k.push(...function(x,L,w,v){const T=dt(x);let b=function(_,V,rt){switch(_){case"top":case"bottom":return rt?V?Ct:Dt:V?Dt:Ct;case"left":case"right":return V?we:be;default:return[]}}(U(x),w==="start",v);return T&&(b=b.map(_=>_+"-"+T),L&&(b=b.concat(b.map(wt)))),b}(l,u,m,S));const O=[l,...k],W=yield Yt(e,g),D=[];let C=((o=r.flip)==null?void 0:o.overflows)||[];if(h&&D.push(W[R]),y){const x=function(L,w,v){v===void 0&&(v=!1);const T=dt(L),b=Xt(L),_=$t(b);let V=b==="x"?T===(v?"end":"start")?"right":"left":T==="start"?"bottom":"top";return w.reference[_]>w.floating[_]&&(V=at(V)),[V,at(V)]}(i,a,S);D.push(W[x[0]],W[x[1]])}if(C=[...C,{placement:i,overflows:D}],!D.every(x=>x<=0)){var z,B;const x=(((z=r.flip)==null?void 0:z.index)||0)+1,L=O[x];if(L&&(y!=="alignment"||E===q(L)||C.every(v=>q(v.placement)!==E||v.overflows[0]>0)))return{data:{index:x,overflows:C},reset:{placement:L}};let w=(B=C.filter(v=>v.overflows[0]<=0).sort((v,T)=>v.overflows[1]-T.overflows[1])[0])==null?void 0:B.placement;if(!w)switch(f){case"bestFit":{var P;const v=(P=C.filter(T=>{if(F){const b=q(T.placement);return b===E||b==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(b=>b>0).reduce((b,_)=>b+_,0)]).sort((T,b)=>T[1]-b[1])[0])==null?void 0:P[0];v&&(w=v);break}case"initialPlacement":w=l}if(i!==w)return{reset:{placement:w}}}return{}})}}},Ve={class:"markstream-vue"},je=["id"],Ne=Zt(te({__name:"Tooltip",props:{visible:{type:Boolean},anchorEl:{},content:{},placement:{},offset:{},originX:{},originY:{},id:{},isDark:{type:[Boolean,null]}},setup(t){const e=t,n=ee(()=>{if(e.isDark!==void 0&&e.isDark!==null)return!!e.isDark;if(typeof document<"u")try{if(document.documentElement.classList.contains("dark")||window!=null&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)return!0}catch{}return!1}),o=xt(null),i=xt({transform:"translate3d(0px, 0px, 0px)",left:"0px",top:"0px"}),r=xt(!1);let a=null;function l(){return $(this,null,function*(){var c,s;if(!e.anchorEl||!o.value)return;const p=[(d=(c=e.offset)!=null?c:8,d===void 0&&(d=0),{name:"offset",options:d,fn(f){return $(this,null,function*(){var m,u;const{x:g,y:R,placement:E,middlewareData:A}=f,S=yield function(k,F){return $(this,null,function*(){const{placement:O,platform:W,elements:D}=k,C=yield W.isRTL==null?void 0:W.isRTL(D.floating),z=U(O),B=dt(O),P=q(O)==="y",x=Re.has(z)?-1:1,L=C&&P?-1:1,w=yt(F,k);let{mainAxis:v,crossAxis:T,alignmentAxis:b}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:w.mainAxis||0,crossAxis:w.crossAxis||0,alignmentAxis:w.alignmentAxis};return B&&typeof b=="number"&&(T=B==="end"?-1*b:b),P?{x:T*L,y:v*x}:{x:v*x,y:T*L}})}(f,d);return E===((m=A.offset)==null?void 0:m.placement)&&(u=A.arrow)!=null&&u.alignmentOffset?{}:{x:g+S.x,y:R+S.y,data:K(j({},S),{placement:E})}})}}),We(),Fe({padding:8})],{x:h,y}=yield((f,m,u)=>{const g=new Map,R=j({platform:Me},u),E=K(j({},R.platform),{_c:g});return((A,S,k)=>$(null,null,function*(){const{placement:F="bottom",strategy:O="absolute",middleware:W=[],platform:D}=k,C=W.filter(Boolean),z=yield D.isRTL==null?void 0:D.isRTL(S);let B=yield D.getElementRects({reference:A,floating:S,strategy:O}),{x:P,y:x}=Pt(B,F,z),L=F,w={},v=0;for(let T=0;T<C.length;T++){const{name:b,fn:_}=C[T],{x:V,y:rt,data:Ut,reset:G}=yield _({x:P,y:x,initialPlacement:F,placement:L,strategy:O,middlewareData:w,rects:B,platform:D,elements:{reference:A,floating:S}});P=V??P,x=rt??x,w=K(j({},w),{[b]:j(j({},w[b]),Ut)}),G&&v<=50&&(v++,typeof G=="object"&&(G.placement&&(L=G.placement),G.rects&&(B=G.rects===!0?yield D.getElementRects({reference:A,floating:S,strategy:O}):G.rects),{x:P,y:x}=Pt(B,L,z)),T=-1)}return{x:P,y:x,placement:L,strategy:O,middlewareData:w}}))(f,m,K(j({},R),{platform:E}))})(e.anchorEl,o.value,{placement:(s=e.placement)!=null?s:"top",middleware:p,strategy:"fixed"});var d;i.value.transform=`translate3d(${Math.round(h)}px, ${Math.round(y)}px, 0)`,i.value.left="0px",i.value.top="0px"})}return St(()=>e.visible,c=>$(null,null,function*(){if(c)if(r.value=!1,yield lt(),e.anchorEl&&o.value)try{const s=e.anchorEl.getBoundingClientRect();yield l();const p=i.value.transform;if(e.originX!=null&&e.originY!=null){const h=Math.abs(Number(e.originX)-s.left),y=Math.abs(Number(e.originY)-s.top);Math.hypot(h,y)>120?(i.value.transform=`translate3d(${Math.round(e.originX)}px, ${Math.round(e.originY)}px, 0)`,yield lt(),r.value=!0,yield lt(),i.value.transform=p):r.value=!0}else r.value=!0;a=jt(e.anchorEl,o.value,l)}catch{yield l(),r.value=!0,a=jt(e.anchorEl,o.value,l)}else r.value=!0;else r.value=!1,a&&(a(),a=null)})),St([()=>e.anchorEl,()=>e.placement,()=>e.content],()=>$(null,null,function*(){e.visible&&e.anchorEl&&o.value&&(yield lt(),yield l())}
1)),ne(()=>{a&&a()}),(c,s)=>(oe(),ie(pe,{to:"body"},[At("div",Ve,[re(de,{name:"tooltip",appear:""},{default:le(()=>[ce(At("div",{id:e.id,ref_key:"tooltip",ref:o,style:ae({position:"fixed",left:i.value.left,top:i.value.top,transform:i.value.transform}),class:se(["z-[9999] inline-block text-base py-2 px-3 rounded-md shadow-md whitespace-nowrap pointer-events-none tooltip-element border",[n.value?"bg-gray-900 text-white border-gray-700 border is-dark":"bg-white text-gray-900 border-gray-200 border"]]),role:"tooltip"},fe(t.content),15,je),[[ue,t.visible&&r.value]])]),_:1})])]))}}),[["__scopeId","data-v-d524cc01"]]);export{Ne 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.