PageSourceSearch

https://askyourpdf.com/_next/static/chunks/9190-fc48d9a584039d81.js

js askyourpdf.com collected 2026-10-01 12:09:12 UTC 9,126 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9190,549,9529],{66908:function(e,t,n){n.d(t,{Eh:function(){return q},VY:function(){return Z},fC:function(){return V},h_:function(){return W},xz:function(){return X},zt:function(){return S}});var r=n(67294),o=n(36206),i=n(28771),l=n(25360),a=n(46063),s=n(91276),u=n(46066),c=n(42651),d=n(29115),p=n(75320),f=n(88426),h=n(77342),x=n(96219),y=n(85893),[v,g]=(0,l.b)("Tooltip",[u.D7]),m=(0,u.D7)(),b="TooltipProvider",w="tooltip.open",[C,E]=v(b),T=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:l}=e,[a,s]=r.useState(!0),u=r.useRef(!1),c=r.useRef(0);return r.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,y.jsx)(C,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(c.current),s(!1)},[]),onClose:r.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s(!0),o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:r.useCallback(e=>{u.current=e},[]),disableHoverableContent:i,children:l})};T.displayName=b;var k="Tooltip",[j,M]=v(k),R=e=>{let{__scopeTooltip:t,children:n,open:o,defaultOpen:i=!1,onOpenChange:l,disableHoverableContent:a,delayDuration:c}=e,d=E(k,e.__scopeTooltip),p=m(t),[f,x]=r.useState(null),v=(0,s.M)(),g=r.useRef(0),b=a??d.disableHoverableContent,C=c??d.delayDuration,T=r.useRef(!1),[M=!1,R]=(0,h.T)({prop:o,defaultProp:i,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(w))):d.onClose(),l?.(e)}}),L=r.useMemo(()=>M?T.current?"delayed-open":"instant-open":"closed",[M]),_=r.useCallback(()=>{window.clearTimeout(g.current),T.current=!1,R(!0)},[R]),P=r.useCallback(()=>{window.clearTimeout(g.current),R(!1)},[R]),N=r.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{T.current=!0,R(!0)},C)},[C,R]);return r.useEffect(()=>()=>window.clearTimeout(g.current),[]),(0,y.jsx)(u.fC,{...p,children:(0,y.jsx)(j,{scope:t,contentId:v,open:M,stateAttribute:L,trigger:f,onTriggerChange:x,onTriggerEnter:r.useCallback(()=>{d.isOpenDelayed?N():_()},[d.isOpenDelayed,N,_]),onTriggerLeave:r.useCallback(()=>{b?P():window.clearTimeout(g.current)},[P,b]),onOpen:_,onClose:P,disableHoverableContent:b,children:n})})};R.displayName=k;var L="TooltipTrigger",_=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...l}=e,a=M(L,n),s=E(L,n),c=m(n),d=r.useRef(null),f=(0,i.e)(t,d,a.onTriggerChange),h=r.useRef(!1),x=r.useRef(!1),v=r.useCallback(()=>h.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,y.jsx)(u.ee,{asChild:!0,...c,children:(0,y.jsx)(p.WV.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:f,onPointerMove:(0,o.M)(e.onPointerMove,e=>{"touch"===e.pointerType||x.current||s.isPointerInTransitRef.current||(a.onTriggerEnter(),x.current=!0)}),onPointerLeave:(0,o.M)(e.onPointerLeave,()=>{a.onTriggerLeave(),x.current=!1}),onPointerDown:(0,o.M)(e.onPointerDown,()=>{h.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,o.M)(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:(0,o.M)(e.onBlur,a.onClose),onClick:(0,o.M)(e.onClick,a.onClose)})})});_.displayName=L;var P="TooltipPortal",[N,D]=v(P,{forceMount:void 0}),O=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=M(P,t);return(0,y.jsx)(N,{scope:t,forceMount:n,children:(0,y.jsx)(d.z,{present:n||i.open,children:(0,y.jsx)(c.h,{asChild:!0,container:o,children:r})})})};O.displayName=P;var I="TooltipContent",A=r.forwardRef((e,t)=>{let n=D(I,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=M(I,e.__scopeTooltip);return(0,y.jsx)(d.z,{present:r||l.open,children:l.disableHoverableContent?(0,y.jsx)(Y,{side:o,...i,ref:t}):(0,y.jsx)(B,{side:o,...i,ref:t})})}),B=r.forwardRef((e,t)=>{let n=M(I,e.__scopeTooltip),o=E(I,e.__scopeTooltip),l=r.useRef(null),a=(0,i.e)(t,l),[s,u]=r.useState(null),{trigger:c,onClose:d}=n,p=l.current,{onPointerInTransitChange:f}=o,h=r.useCallback(()=>{u(null),f(!1)},[f]),x=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());u(function(e){let t=e.slice();return t.sort((e,t)=>
1e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,o),...function(e){let{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())])),f(!0)},[f]);return r.useEffect(()=>()=>h(),[h]),r.useEffect(()=>{if(c&&p){let e=e=>x(e,p),t=e=>x(e,c);return c.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[c,p,x,h]),r.useEffect(()=>{if(s){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=c?.contains(t)||p?.contains(t),o=!function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let l=t[e].x,a=t[e].y,s=t[i].x,u=t[i].y;a>r!=u>r&&n<(s-l)*(r-a)/(u-a)+l&&(o=!o)}return o}(n,s);r?h():o&&(h(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,p,s,d,h]),(0,y.jsx)(Y,{...e,ref:a})}),[z,F]=v(k,{isInside:!1}),Y=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:s,...c}=e,d=M(I,n),p=m(n),{onClose:h}=d;return r.useEffect(()=>(document.addEventListener(w,h),()=>document.removeEventListener(w,h)),[h]),r.useEffect(()=>{if(d.trigger){let e=e=>{let t=e.target;t?.contains(d.trigger)&&h()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,h]),(0,y.jsx)(a.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:h,children:(0,y.jsxs)(u.VY,{"data-state":d.stateAttribute,...p,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,y.jsx)(f.A4,{children:o}),(0,y.jsx)(z,{scope:n,isInside:!0,children:(0,y.jsx)(x.f,{id:d.contentId,role:"tooltip",children:i||o})})]})})});A.displayName=I;var $="TooltipArrow",H=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,o=m(n);return F($,n).isInside?null:(0,y.jsx)(u.Eh,{...o,...r,ref:t})});H.displayName=$;var S=T,V=R,X=_,W=O,Z=A,q=H},50549:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(67294);let o=r.createContext({});function i({count:e=1,wrapper:t,className:n,containerClassName:i,containerTestId:l,circle:a=!1,style:s,...u}){var c,d,p;let f=r.useContext(o),h={...u};for(let[e,t]of Object.entries(u))void 0===t&&delete h[e];let x={...f,...h,circle:a},y={...s,...function({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:o,circle:i,direction:l,duration:a,enableAnimation:s=!0}){let u={};return"rtl"===l&&(u["--animation-direction"]="reverse"),"number"==typeof a&&(u["--animation-duration"]=`${a}s`),s||(u["--pseudo-element-display"]="none"),("string"==typeof n||"number"==typeof n)&&(u.width=n),("string"==typeof r||"number"==typeof r)&&(u.height=r),("string"==typeof o||"number"==typeof o)&&(u.borderRadius=o),i&&(u.borderRadius="50%"),void 0!==e&&(u["--base-color"]=e),void 0!==t&&(u["--highlight-color"]=t),u}(x)},v="react-loading-skeleton";n&&(v+=` ${n}`);let g=null!==(c=x.inline)&&void 0!==c&&c,m=[],b=Math.ceil(e);for(let t=0;t<b;t++){let n=y;if(b>e&&t===b-1){let t=null!==(d=n.width)&&void 0!==d?d:"100%",r=e%1,o="number"==typeof t?t*r:`calc(${t} * ${r})`;n={...n,width:o}}let o=r.createElement("span",{className:v,style:n,key:t},"‌");g?m.push(o):m.push(r.createElement(r.Fragment,{key:t},o,r.createElement("br",null)))}return r.createElement("span",{className:i,"data-testid":l,"aria-live":"polite","aria-busy":null===(p=x.enableAnimation)||void 0===p||p},t?m.map((e,n)=>r.createElement(t,{key:n},e)):m)}}}]);

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.