PageSourceSearch

https://recap.io/_next/static/immutable/chunks/3bjpb9ke2uu9m.js

js recap.io collected 2026-10-02 05:28:44 UTC 38,461 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,186336,e=>{"use strict";var t=e.i(271645),r=e.i(981140),i=e.i(820783),n=e.i(30030),a=e.i(726330),o=e.i(610772),s=e.i(853660),l=e.i(774606),c=e.i(296626),u=e.i(248425),d=e.i(991918),p=e.i(369340),h=e.i(934620),f=e.i(959411),m=e.i(843476),g=Object.defineProperty,y=(e,t)=>g(e,"name",{value:t,configurable:!0}),[b,w]=(0,n.createContextScope)("Tooltip",[s.createPopperScope]),x=(0,s.createPopperScope)(),v="tooltip.open",[E,$]=b("TooltipProvider"),j=y(e=>{let{__scopeTooltip:r,delayDuration:i=700,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:o}=e,s=t.useRef(!0),l=t.useRef(!1),c=t.useRef(0);return t.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,m.jsx)(E,{scope:r,isOpenDelayedRef:s,delayDuration:i,onOpen:t.useCallback(()=>{n<=0||(window.clearTimeout(c.current),s.current=!1)},[n]),onClose:t.useCallback(()=>{n<=0||(window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.current=!0,n))},[n]),isPointerInTransitRef:l,onPointerInTransitChange:t.useCallback(e=>{l.current=e},[]),disableHoverableContent:a,children:o})},"TooltipProvider"),I="Tooltip",[C,T]=b(I),R=y(e=>{let{__scopeTooltip:r,children:i,open:n,defaultOpen:a,onOpenChange:l,disableHoverableContent:c,delayDuration:u}=e,d=$(I,e.__scopeTooltip),h=x(r),[f,g]=t.useState(null),[b,w]=t.useState(void 0),E=(0,o.useId)(),j=t.useRef(0),T=c??d.disableHoverableContent,R=u??d.delayDuration,A=t.useRef(!1),[k,P]=(0,p.useControllableState)({prop:n,defaultProp:a??!1,onChange:y(e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(v))):d.onClose(),l?.(e)},"onChange"),caller:I}),N=t.useMemo(()=>k?A.current?"delayed-open":"instant-open":"closed",[k]),O=t.useCallback(()=>{window.clearTimeout(j.current),j.current=0,A.current=!1,P(!0)},[P]),_=t.useCallback(()=>{window.clearTimeout(j.current),j.current=0,P(!1)},[P]),S=t.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>{A.current=!0,P(!0),j.current=0},R)},[R,P]);return t.useEffect(()=>()=>{j.current&&(window.clearTimeout(j.current),j.current=0)},[]),(0,m.jsx)(s.Root,{...h,children:(0,m.jsx)(C,{scope:r,contentId:b??E,setContentId:w,open:k,stateAttribute:N,trigger:f,onTriggerChange:g,onTriggerEnter:t.useCallback(()=>{d.isOpenDelayedRef.current?S():O()},[d.isOpenDelayedRef,S,O]),onTriggerLeave:t.useCallback(()=>{T?_():(window.clearTimeout(j.current),j.current=0)},[_,T]),onOpen:O,onClose:_,disableHoverableContent:T,children:i})})},"Tooltip"),A="TooltipTrigger",k=t.forwardRef(y(function(e,n){let{__scopeTooltip:a,...o}=e,l=T(A,a),c=$(A,a),d=x(a),p=t.useRef(null),h=(0,i.useComposedRefs)(n,p,l.onTriggerChange),f=t.useRef(!1),g=t.useRef(!1),y=t.useCallback(()=>f.current=!1,[]);return t.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),(0,m.jsx)(s.Anchor,{asChild:!0,...d,children:(0,m.jsx)(u.Primitive.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...o,ref:h,onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(g.current||c.isPointerInTransitRef.current||(l.onTriggerEnter(),g.current=!0))}),onPointerLeave:(0,r.composeEventHandlers)(e.onPointerLeave,()=>{l.onTriggerLeave(),g.current=!1}),onPointerDown:(0,r.composeEventHandlers)(e.onPointerDown,()=>{l.open&&l.onClose(),f.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>{f.current||l.onOpen()}),onBlur:(0,r.composeEventHandlers)(e.onBlur,l.onClose),onClick:(0,r.composeEventHandlers)(e.onClick,l.onClose)})})},"TooltipTrigger")),P="TooltipPortal",[N,O]=b(P,{forceMount:void 0}),_=y(e=>{let{__scopeTooltip:t,forceMount:r,children:i,container:n}=e,a=T(P,t);return(0,m.jsx)(N,{scope:t,forceMount:r,children:(0,m.jsx)(c.Presence,{present:r||a.open,children:(0,m.jsx)(l.Portal,{asChild:!0,container:n,children:i})})})},"TooltipPortal"),S="TooltipContent",L=t.forwardRef(y(function(e,t){let r=O(S,e.__scopeTooltip),{forceMount:i=r.forceMount,side:n="top",...a}=e,o=T(S,e.__scopeTooltip);return(0,m.jsx)(c.Presence,{present:i||o.open,children:o.disableHoverableContent?(0,m.jsx)(M,{side:n,...a,ref:t}):(0,m.jsx)(D,{side:n,...a,ref:t})})},"TooltipContent")),D=t.forwardRef(y(function(e,r){let n=T(S,e.__scopeTooltip),a=$(S,e.__scopeTooltip),o=t.useRef(null),s=(0,i.useComposedRefs)(r,o),[l,c]=t.useState(null),{trigger:u,onClose:d}=n,p=o.current,{onPointerInTransitChange:h}=a,f=t.useCallback(()=>{c(null),h(!1)}
1,[h]),g=t.useCallback((e,t)=>{let r=e.currentTarget,i={x:e.clientX,y:e.clientY},n=B(i,r.getBoundingClientRect());c(q([...F(i,n),...H(t.getBoundingClientRect())])),h(!0)},[h]);return t.useEffect(()=>()=>f(),[f]),t.useEffect(()=>{if(u&&p){let e=y(e=>g(e,p),"handleTriggerLeave"),t=y(e=>g(e,u),"handleContentLeave");return u.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[u,p,g,f]),t.useEffect(()=>{if(l){let e=y(e=>{let t=e.target,r={x:e.clientX,y:e.clientY},i=u?.contains(t)||p?.contains(t),n=!V(r,l);i?f():n&&(f(),d())},"handleTrackPointerGrace");return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,p,l,d,f]),(0,m.jsx)(M,{...e,ref:s})},"TooltipContentHoverable")),U=(0,d.createSlottable)("TooltipContent"),M=t.forwardRef(y(function(e,r){let{__scopeTooltip:i,children:n,"aria-label":o,id:l,onEscapeKeyDown:c,onPointerDownOutside:u,...d}=e,p=T(S,i),g=x(i),{onClose:b}=p;t.useEffect(()=>(document.addEventListener(v,b),()=>document.removeEventListener(v,b)),[b]),t.useEffect(()=>{if(p.trigger){let e=y(e=>{e.target instanceof Node&&e.target.contains(p.trigger)&&b()},"handleScroll");return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[p.trigger,b]);let{setContentId:w}=p;return(0,h.useLayoutEffect)(()=>(w(l),()=>{w(void 0)}),[l,w]),(0,m.jsx)(a.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:b,children:(0,m.jsxs)(s.Content,{"data-state":p.stateAttribute,role:o?void 0:"tooltip",id:o?void 0:p.contentId,...g,...d,ref:r,style:{...d.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,m.jsx)(U,{children:n}),o?(0,m.jsx)(f.Root,{id:p.contentId,role:"tooltip",children:o}):null]})})},"TooltipContentImpl")),z=t.forwardRef(y(function(e,t){let{__scopeTooltip:r,...i}=e,n=x(r);return(0,m.jsx)(s.Arrow,{...n,...i,ref:t})},"TooltipArrow"));function B(e,t){let r=Math.abs(t.top-e.y),i=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,i,n,a)){case a:return"left";case n:return"right";case r:return"top";case i:return"bottom";default:throw Error("unreachable")}}function F(e,t,r=5){let i=[];switch(t){case"top":i.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":i.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":i.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":i.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return i}function H(e){let{top:t,right:r,bottom:i,left:n}=e;return[{x:n,y:t},{x:r,y:t},{x:r,y:i},{x:n,y:i}]}function V(e,t){let{x:r,y:i}=e,n=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],l=o.x,c=o.y,u=s.x,d=s.y;c>i!=d>i&&r<(u-l)*(i-c)/(d-c)+l&&(n=!n)}return n}function q(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),W(t)}function W(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let i=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(i.y-r.y)>=(e.y-r.y)*(i.x-r.x))t.pop();else break}t.push(i)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let i=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(i.y-t.y)>=(e.y-t.y)*(i.x-t.x))r.pop();else break}r.push(i)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}y(B,"getExitSideFromRect"),y(F,"getPaddedExitPoints"),y(H,"getPointsFromRect"),y(V,"isPointInPolygon"),y(q,"getHull"),y(W,"getHullPresorted"),e.s(["Arrow",0,z,"Content",0,L,"Portal",0,_,"Provider",0,j,"Root",0,R,"Trigger",0,k])},210810,273299,e=>{"use strict";var t;let r="https://cdn.sanity.io",i=/^https:\/\/cdn\.sanity\./,n=/^https:\/\/cdn\.[^/]+\/(images|files)\/[^/]+\/.*?[a-zA-Z0-9_]{24,40}.*$/,a=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,o=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,s=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,l=/^image-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+$/,c=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,u=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/,d="sanity.fileAsset",p={projectId:"a",dataset:"b"},h="upload-in-progress-placeholder",f="upload-in-progress";
1class m extends Error{constructor(e,t="Failed to resolve asset ID from source"){super(t),this.unresolvable=!0,this.input=e}}function g(e){return(...t)=>{try{return e(...t)}catch(e){if(e.unresolvable&&"input"in e)return;throw e}}}function y(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e}function b(e){return y(e)&&"string"==typeof e._ref}function w(e){return y(e)&&"string"==typeof e.path}function x(e){return y(e)&&"string"==typeof e.url}function v(e){return y(e)&&!!e.asset&&"object"==typeof e.asset}function E(e){return y(e)&&!!e._upload&&!("asset"in e)}function $(e){return i.test(e)||n.test(e)}let j=Object.freeze({left:0,top:0,bottom:0,right:0}),I=Object.freeze({x:.5,y:.5,height:1,width:1}),C=()=>({...j}),T=()=>({...I});function R(e,t){let r=t?.projectId||e.projectId,i=t?.dataset||e.dataset;if(!r||!i)throw Error("Project details (projectId and dataset) required to resolve path for image");let n="metadata"in e?e.metadata.dimensions:{width:e.width,height:e.height},a="originalFilename"in e?e.originalFilename:void 0,{assetId:o,extension:s,vanityFilename:l}=e,{width:c,height:u}=n,d=_(a,l,t);return`images/${r}/${i}/${o}-${c}x${u}.${s}${d}`}function A(e,t){let r=t?.projectId||e.projectId,i=t?.dataset||e.dataset;if(!r||!i)throw Error("Project details (projectId and dataset) required to resolve path for file");let n="originalFilename"in e?e.originalFilename:void 0,{assetId:a,extension:o,vanityFilename:s}=e,l=_(n,s,t);return`files/${r}/${i}/${a}.${o}${l}`}function k(e){if(c.test(e))return e;if(!$(e))throw new m(`Failed to resolve path from URL "${e}"`);return new URL(e).pathname.replace(/^\/+/,"")}let P=g(k),N=g(function(e){let t=(P(e)||e).replace(/^(images|files)\/[a-z0-9]+\/[a-z0-9][-\w]\/*/,"");if(!O(t))throw new m(`Failed to resolve filename from URL "${e}"`);return t});function O(e){return a.test(e)||s.test(e)}function _(e,t,r){let i=t||e;return r?.useVanityName!==!1&&i?`/${i}`:""}function S(e){if(!o.test(e))throw Error(`Malformed file asset ID '${e}'. Expected an id like "file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf"`);let[,t,r]=e.split("-");return{type:"file",assetId:t,extension:r}}function L(e){let[,t,r,i]=e.split("-"),[n,a]=(r||"").split("x").map(Number);if(!t||!r||!i||!(n>0)||!(a>0))throw Error(`Malformed asset ID '${e}'. Expected an id like "image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg".`);return{type:"image",assetId:t,width:n,height:a,extension:i}}function D(e){if(!$(e))throw Error(`URL is not a valid Sanity asset URL: ${e}`);let t=new URL(e).pathname.replace(/^\/+/,""),[r,,i,n]=t.match(c)||[];if(!r||!i||!n)throw Error(`URL is not a valid Sanity asset URL: ${e}`);let[a,u]=t.slice(r.length).split("/");return{...function(e){let t=N(e)||"";if(!O(t))throw Error(`Invalid image/file asset filename: ${e}`);try{let e=s.test(t)?"image":"file",i=t.replace(/\.([a-z0-9+]+)$/i,"-$1");var r=`${e}-${i}`;if(l.test(r))return L(r);if(o.test(r))return S(r);throw Error(`Invalid image/file asset ID: ${r}`)}catch{throw Error(`Invalid image/file asset filename: ${e}`)}}(a),projectId:i,dataset:n,vanityFilename:u}}function U(e){if(E(e))return{width:0,height:0,aspectRatio:0};let{width:t,height:r}=L(V(e));return{width:t,height:r,aspectRatio:t/r}}let M=g(U);function z(e,t){if(E(e))return{asset:{_id:h,_type:"sanity.imageAsset",assetId:f,extension:"tmp",url:"",path:"",metadata:{dimensions:{width:1,height:1,aspectRatio:1}}},crop:C(),hotspot:T()};let r=t||Q(e);return{asset:B(e,r),crop:e.crop||C(),hotspot:e.hotspot||T()}}function B(e,t){let i={...t||G(e),useVanityName:!1},n=V(e),a=(e.asset||e).metadata||{},{assetId:o,width:s,height:l,extension:c}=L(n),u={...y(e)&&"sanity.imageAsset"===e._type?e:{},_id:n,_type:"sanity.imageAsset",assetId:o,extension:c,metadata:{...a,dimensions:{width:s,height:l,aspectRatio:s/l}},url:"",path:""};return{...u,path:R(u,i),url:`${i?.baseUrl||r}/${R(u,i)}`}}function F(e,t){if(E(e))return{asset:{_id:h,_type:d,assetId:f,extension:"tmp",url:"",path:"",metadata:{}}};let r=t||Q(e);return{asset:H(e,r)}}function H(e,t){if(E(e))return{assetId:f,_id:h,_type:d,extension:"tmp",metadata:{},url:"",path:""};let i={...t||G(e),useVanityName:!1},n=V(e),a=e.asset||e,{assetId:o,extension:s}=S(n),l={...y(e)&&"sanity.fileAsset"===e._type?e:{},_id:n,_type:"sanity.fileAsset",assetId:o,extension:s,metadata:a.metadata||{},url:"",path:""};return{...l,path:A(l,i),url:`${i?.baseUrl||r}/${A(l,i)}`}}function V(e){if(E(e))return h;let t=v(e)?e.asset:e,i="";if("string"==typeof t?i=W(t):b(t)?i=t._ref:y(t)&&"string"==typeof t._id?i=t._id:w(t)?i=Y(`${r}/${t.path}
1`):x(t)&&(i=Y(t.url)),!(i&&u.test(i)))throw new m(e);return i}g(function(e){return E(e)?"tmp":J(e)?F(e,p).asset.extension:z(e,p).asset.extension}),g(z),g(B),g(F),g(H);let q=g(V);function W(e){var t,i;if(u.test(e))return e;let n=$(e)?new URL(e).pathname:e;if(0===n.indexOf("/images")||0===n.indexOf("/files"))return Y(e);if(c.test(e))return Y(`${r}/${e}`);if(t=e,a.test(t))return Y(`${r}/files/a/b/${e}`);if(i=e,s.test(i))return Y(`${r}/images/a/b/${e}`);throw new m(e)}function Y(e){let[t,,,r]=k(e).split("/");return`${t.replace(/s$/,"")}-${r.replace(/\./g,"-")}`}function G(e){let t=function e(t){if(v(t))return e(t.asset);if(!b(t)){if("string"==typeof t)return c.test(P(t)||"")?k(t):void 0;if(w(t))return t.path;if(x(t))return k(t.url)}}(e);if(!t)throw new m(e,"Failed to resolve project ID and dataset from source");let[,,r,i]=t.match(c)||[];if(!r||!i)throw new m(e,"Failed to resolve project ID and dataset from source");return{projectId:r,dataset:i}}g(W);let Q=g(G);function J(e){let t=q(e);return!!t&&t.startsWith("file-")}e.s(["getImageDimensions",0,U,"isAssetObjectStub",0,v,"isDefaultCrop",0,e=>{let{top:t,bottom:r,left:i,right:n}=e,{top:a,bottom:o,left:s,right:l}=j;return t===a&&r===o&&i===s&&n===l},"isDefaultHotspot",0,e=>{let{x:t,y:r,width:i,height:n}=e,{x:a,y:o,width:s,height:l}=I;return t===a&&r===o&&i===s&&n===l},"isFileAssetId",0,function(e){return o.test(e)},"isFileSource",0,J,"isImageAssetId",0,function(e){return l.test(e)},"isImageSource",0,function(e){let t=q(e);return!!t&&t.startsWith("image-")},"isSanityImageUrl",0,function(e){return"image"===function(e){try{return D(e).type}catch{return!1}}(e)},"parseImageAssetUrl",0,function(e){let t=D(e);if("image"!==t.type)throw Error(`URL is not a valid Sanity image asset URL: ${e}`);return t},"tryGetImageDimensions",0,M],210810);let Z="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function K(e){return`image-${e.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let X=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],ee=["clip","crop","fill","fillmax","max","scale","min"],et=["top","bottom","left","right","center","focalpoint","entropy"],er=["format"];function ei(e){let{apiHost:t,projectId:r,dataset:i}=e,n={baseUrl:(t||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},a=e.resource??e["~experimental_resource"];if(a?.type==="media-library"){if("string"!=typeof a.id||0===a.id.length)throw Error('Media library clients must include an id in "resource"');return{...n,mediaLibraryId:a.id}}if(a?.type==="canvas"){if("string"!=typeof a.id||0===a.id.length)throw Error('Canvas clients must include an id in "resource"');return{...n,canvasId:a.id}}if(a?.type==="dataset"){if("string"!=typeof a.id||0===a.id.length)throw Error('Dataset clients must include an id in "resource"');let[e,t]=a.id.split(".");if(!e||!t)throw Error('Dataset resource id must be in the format "projectId.dataset", got: '+a.id);return{...n,projectId:e,dataset:t}}return{...n,projectId:r,dataset:i}}function en(e){return e&&"config"in e&&"function"==typeof e.config?ei(e.config()):e&&"clientConfig"in e&&"object"==typeof e.clientConfig?ei(e.clientConfig):e||{}}class ea{options;constructor(e,t){this.options=e?{...e.options||{},...t||{}}:{...t||{}}}withOptions(e){return new ea(this,function(e,t){let r=t.baseUrl||e.baseUrl,i={baseUrl:r};for(let e in t)t.hasOwnProperty(e)&&(i[function(e){for(let t of X){let[r,i]=t;if(e===r||e===i)return r}return e}(e)]=t[e]);return{baseUrl:r,...i}}(this.options,e))}image(e){return this.withOptions({source:e})}dataset(e){return this.withOptions({dataset:e})}projectId(e){return this.withOptions({projectId:e})}withClient(e){let t=en(e),r={...this.options};return delete r.baseUrl,delete r.projectId,delete r.dataset,delete r.mediaLibraryId,delete r.canvasId,new ea(null,{...t,...r})}bg(e){return this.withOptions({bg:e})}dpr(e){return this.withOptions(e&&1!==e?{dpr:e}:{})}width(e){return this.withOptions({width:e})}height(e){return this.withOptions({height:e})}focalPoint(e,t){return this.withOptions({focalPoint:{x:e,y:t}})}maxWidth(e){return this.withOptions({maxWidth:e})}minWidth(e){return this.withOptions({minWidth:e})}maxHeight(e){return this.withOptions({maxHeight:e})}minHeight(e){return this.withOptions({minHeight:e})}size(e,t){return this.withOptions({width:e,height:t})}blur(e){return this.withOptions({blur:e})}
1sharpen(e){return this.withOptions({sharpen:e})}rect(e,t,r,i){return this.withOptions({rect:{left:e,top:t,width:r,height:i}})}format(e){return this.withOptions({format:e})}invert(e){return this.withOptions({invert:e})}orientation(e){return this.withOptions({orientation:e})}quality(e){return this.withOptions({quality:e})}forceDownload(e){return this.withOptions({download:e})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(e){if(-1===ee.indexOf(e))throw Error(`Invalid fit mode "${e}"`);return this.withOptions({fit:e})}crop(e){if(-1===et.indexOf(e))throw Error(`Invalid crop mode "${e}"`);return this.withOptions({crop:e})}saturation(e){return this.withOptions({saturation:e})}auto(e){if(-1===er.indexOf(e))throw Error(`Invalid auto mode "${e}"`);return this.withOptions({auto:e})}pad(e){return this.withOptions({pad:e})}vanityName(e){return this.withOptions({vanityName:e})}frame(e){if(1!==e)throw Error(`Invalid frame value "${e}"`);return this.withOptions({frame:e})}url(){return function(e){let t={...e||{}},r=t.source;delete t.source;let i=function(e){var t;let r;if(!e)return null;if("string"==typeof e&&(t=e,/^https?:\/\//.test(`${t}`)))r={asset:{_ref:K(e)}};else if("string"==typeof e)r={asset:{_ref:e}};else if(e&&"string"==typeof e._ref)r={asset:e};else if(e&&"string"==typeof e._id)r={asset:{_ref:e._id||""}};else if(e&&e.asset&&"string"==typeof e.asset.url)r={asset:{_ref:K(e.asset.url)}};else{if("object"!=typeof e.asset)return null;r={...e}}return e.crop&&(r.crop=e.crop),e.hotspot&&(r.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;let t={...e};return t.crop||(t.crop={left:0,top:0,bottom:0,right:0}),t.hotspot||(t.hotspot={x:.5,y:.5,height:1,width:1}),t}(r)}(r);if(!i){if(r&&"object"==typeof r&&null!==r&&r._upload&&(!r.asset||!r.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(r)})`)}let n=function(e){let[,t,r,i]=e.split("-");if(!t||!r||!i)throw Error(`Malformed asset _ref '${e}'. Expected an id like "${Z}".`);let[n,a]=r.split("x"),o=+n,s=+a;if(!(isFinite(o)&&isFinite(s)))throw Error(`Malformed asset _ref '${e}'. Expected an id like "${Z}".`);return{id:t,width:o,height:s,format:i}}(i.asset._ref||i.asset._id||""),a=Math.round(i.crop.left*n.width),o=Math.round(i.crop.top*n.height),s={left:a,top:o,width:Math.round(n.width-i.crop.right*n.width-a),height:Math.round(n.height-i.crop.bottom*n.height-o)},l=i.hotspot.height*n.height/2,c=i.hotspot.width*n.width/2,u=i.hotspot.x*n.width,d=i.hotspot.y*n.height;return t.rect||t.focalPoint||t.ignoreImageParams||t.crop||(t={...t,...function(e,t){let r,i=t.width,n=t.height;if(!(i&&n))return{width:i,height:n,rect:e.crop};let a=e.crop,o=e.hotspot,s=i/n;if(a.width/a.height>s){let e=Math.round(a.height),t=Math.round(e*s),i=Math.max(0,Math.round(a.top)),n=Math.max(0,Math.round(Math.round((o.right-o.left)/2+o.left)-t/2));n<a.left?n=a.left:n+t>a.left+a.width&&(n=a.left+a.width-t),r={left:n,top:i,width:t,height:e}}else{let e=a.width,t=Math.round(e/s),i=Math.max(0,Math.round(a.left)),n=Math.max(0,Math.round(Math.round((o.bottom-o.top)/2+o.top)-t/2));n<a.top?n=a.top:n+t>a.top+a.height&&(n=a.top+a.height-t),r={left:i,top:n,width:e,height:t}}return{width:i,height:n,rect:r}}({crop:s,hotspot:{left:u-c,top:d-l,right:u+c,bottom:d+l}},t)}),function(e){let t,r=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),i=e.vanityName?`/${e.vanityName}`:"",n=`${e.asset.id}-${e.asset.width}x${e.asset.height}.${e.asset.format}${i}`;t=e.mediaLibraryId?`${r}/media-libraries/${e.mediaLibraryId}/images/${n}`:e.canvasId?`${r}/images/canvases/${e.canvasId}/${n}`:`${r}/images/${e.projectId}/${e.dataset}/${n}`;let a=[];if(e.rect){let{left:t,top:r,width:i,height:n}=e.rect;(0!==t||0!==r||n!==e.asset.height||i!==e.asset.width)&&a.push(`rect=${t},${r},${i},${n}`)}e.bg&&a.push(`bg=${e.bg}`),e.focalPoint&&(a.push(`fp-x=${e.focalPoint.x}`),a.push(`fp-y=${e.focalPoint.y}`));
1let o=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return o&&a.push(`flip=${o}`),X.forEach(t=>{let[r,i]=t;"u">typeof e[r]?a.push(`${i}=${encodeURIComponent(e[r])}`):"u">typeof e[i]&&a.push(`${i}=${encodeURIComponent(e[i])}`)}),0===a.length?t:`${t}?${a.join("&")}`}({...t,asset:n})}(this.options)}toString(){return this.url()}}t=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],e.s(["createImageUrlBuilder",0,function(e){return new ea(null,en(e))}],273299)},698228,(e,t,r)=>{e.e,t.exports=function(e,t){if(void 0==t&&(t={fuzzy:!0}),/youtu\.?be/.test(e)){var r,i=[/youtu\.be\/([^#\&\?]{11})/,/\?v=([^#\&\?]{11})/,/\&v=([^#\&\?]{11})/,/embed\/([^#\&\?]{11})/,/\/v\/([^#\&\?]{11})/];for(r=0;r<i.length;++r)if(i[r].test(e))return i[r].exec(e)[1];if(t.fuzzy){var n=e.split(/[\/\&\?=#\.\s]/g);for(r=0;r<n.length;++r)if(/^[^#\&\?]{11}$/.test(n[r]))return n[r]}}return null}},343420,e=>{"use strict";var t=e.i(456420);let r={name:"info",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]};r.node;let i=(0,t.default)(r);e.s(["default",0,i])},856419,e=>{"use strict";var t,r,i=e.i(271645),n=e.i(843476),a={default:120,mqdefault:320,hqdefault:480,sddefault:640,maxresdefault:1280};(t={})[t.UNSTARTED=-1]="UNSTARTED",t[t.ENDED=0]="ENDED",t[t.PLAYING=1]="PLAYING",t[t.PAUSED=2]="PAUSED",t[t.BUFFERING=3]="BUFFERING",t[t.CUED=5]="CUED",(r={})[r.INVALID_PARAM=2]="INVALID_PARAM",r[r.HTML5_ERROR=5]="HTML5_ERROR",r[r.VIDEO_NOT_FOUND=100]="VIDEO_NOT_FOUND",r[r.NOT_EMBEDDABLE=101]="NOT_EMBEDDABLE",r[r.NOT_EMBEDDABLE_DISGUISED=150]="NOT_EMBEDDABLE_DISGUISED";var o=i.forwardRef(function(e,t){var r,o;let[s,l]=i.useState(!1),[c,u]=i.useState(e.alwaysLoadIframe||e.autoplay||!1),d=encodeURIComponent(e.id),p="string"==typeof e.playlistCoverId?encodeURIComponent(e.playlistCoverId):null,h=e.title,f=e.poster||"hqdefault",m=e.announce||"Watch",g=!e.alwaysLoadIframe&&!e.autoplay||e.autoplay&&e.muted,y=i.useMemo(()=>{let t=new URLSearchParams({...e.muted?{mute:"1"}:{},...g?{autoplay:"1"}:{},...e.enableJsApi?{enablejsapi:"1"}:{},...e.enableJsApi&&"u">typeof window?{origin:window.location.origin}:{},...e.playlist?{list:d}:{}});return e.params&&("string"==typeof e.params?new URLSearchParams(e.params.startsWith("&")?e.params.slice(1):e.params).forEach((e,r)=>{t.append(r,e)}):Object.entries(e.params).forEach(([e,r])=>{t.append(e,String(r))})),t},[e.muted,g,e.enableJsApi,e.playlist,d,e.params]),b=i.useMemo(()=>e.cookie?"https://www.youtube.com":"https://www.youtube-nocookie.com",[e.cookie]),w=i.useMemo(()=>e.playlist?`${b}/embed/videoseries?${y.toString()}`:`${b}/embed/${d}?${y.toString()}`,[e.playlist,b,d,y]),x=!e.thumbnail&&!e.playlist&&"maxresdefault"===f,v=e.webp?"webp":"jpg",E=e.webp?"vi_webp":"vi",$=x?((e,t,r,n="maxresdefault")=>{let[o,s]=(0,i.useState)("");return(0,i.useEffect)(()=>{let i=`https://img.youtube.com/${t}/${e}/${n}.${r}`,o=`https://img.youtube.com/${t}/${e}/hqdefault.${r}`,l=a[n],c=new Image;c.onload=()=>{c.width<l?s(o):s(i)},c.onerror=()=>s(o),c.src=i},[e,t,r,n]),o})(e.id,E,v,f):null,j=i.useMemo(()=>e.thumbnail||$||`https://i.ytimg.com/${E}/${e.playlist?p:d}/${f}.${v}`,[e.thumbnail,$,E,e.playlist,p,d,f,v]),I=e.activatedClass||"lyt-activated",C=e.adNetwork||!1,T=e.aspectHeight||9,R=e.aspectWidth||16,A=e.iframeClass||"",k=e.playerClass||"lty-playbtn",P=e.wrapperClass||"yt-lite",N=i.useCallback(e.onIframeAdded||function(){},[e.onIframeAdded]),O=e.rel?"prefetch":"preload",_=e.containerElement||"article",S=!1!==e.noscriptFallback,L=()=>{c||u(!0)};return i.useEffect(()=>{c&&(N(),e.focusOnLoad&&"object"==typeof t&&t?.current&&t.current.focus())},[c,N,e.focusOnLoad,t]),i.useEffect(()=>{if(!c||!e.enableJsApi||!(e.onReady||e.onStateChange||e.onError||e.onPlay||e.onPause||e.onEnd||e.onBuffering||e.onPlaybackRateChange||e.onPlaybackQualityChange))return;let r=!1,i=!1,n=i=>{let n;if("https://www.youtube.com"===i.origin||"https://www.youtube-nocookie.com"===i.origin){try{n="string"==typeof i.data?JSON.parse(i.data):i.data}catch{return}switch(n.event){case"onReady":r||(r=!0,e.onReady&&e.onReady({videoId:e.id,title:h}));break;case"infoDelivery":if(n.info?.playerState!==void 0){let r=n.info.playerState;switch(e.onStateChange&&e.onStateChange({state:r,currentTime:n.info.currentTime,duration:n.info.duration}),r){case 1:e.onPlay?.();break;case 2:e.onPause?.();break;case 0:e.onEnd?.(),e.stopOnEnd&&"object"==typeof t&&t?.current?.contentWindow&&t.current.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*");break;case 3:e.onBuffering?.()}}n.info?.playbackRate!==void 0&&e.onPlaybackRateChange?.(n.info.playbackRate),n.info?.playbackQuality!==void 0&&e.onPlaybackQualityChange?.(n.info.playbackQuality);break;case"onStateChange":if(n.info?.playerState!==void 0){let r=n.info.playerState;switch(e.onStateChange&&e.onStateChange({state:r,currentTime:n.info.currentTime,duration:n.info.duration}),r){case 1:e.onPlay?.();break;case 2:e.onPause?.();break;case 0:e.onEnd?.(),e.stopOnEnd&&"object"==typeof t&&t?.current?.contentWindow&&t.current.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*");break;case 3:e.onBuffering?.()}}break;case"onError":{let t=n.info,r;if("number"==typeof t||"string"==typeof t){let e=Number(t);Number.isNaN(e)||(r=e)}else"object"==typeof t&&t&&"errorCode"in t&&"number"==typeof t.errorCode&&(r=t.errorCode);void 0!==r&&e.onError&&e.onError(r);break}case"onPlaybackRateChange":n.info?.playbackRate!==void 0&&e.onPlaybackRateChange?.(n.info.playbackRate);break;case"onPlaybackQualityChange":n.info?.playbackQuality!==void 0&&e.onPlaybackQualityChange?.(n.info.playbackQuality)}}};window.addEventListener("message",n);let a=[],o=()=>{"object"==typeof t&&t?.current?.contentWindow&&t.current.contentWindow.postMessage('{"event":"listening","id":"'+d+'"}',"*")},s=()=>
1{i||(i=!0,o(),[100,300,600,1200,2400].forEach(e=>{a.push(setTimeout(o,e))}))};return"object"==typeof t&&t?.current?(t.current.addEventListener("load",s),t.current.contentDocument?.readyState==="complete"&&s()):[200,500,1e3,2e3,3e3].forEach(e=>{a.push(setTimeout(o,e))}),()=>{window.removeEventListener("message",n),a.forEach(clearTimeout),"object"==typeof t&&t?.current&&t.current.removeEventListener("load",s)}},[c,e.enableJsApi,e.onReady,e.onStateChange,e.onError,e.onPlay,e.onPause,e.onEnd,e.onBuffering,e.onPlaybackRateChange,e.onPlaybackQualityChange,e.stopOnEnd,e.id,d,h,t]),(0,n.jsxs)(n.Fragment,{children:[!e.lazyLoad&&(0,n.jsx)("link",{rel:O,href:j,as:"image"}),(0,n.jsx)(n.Fragment,{children:s&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"preconnect",href:b}),(0,n.jsx)("link",{rel:"preconnect",href:"https://www.google.com"}),C&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"preconnect",href:"https://static.doubleclick.net"}),(0,n.jsx)("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net"})]})]})}),e.seo&&!e.playlist&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(r=e.id,o=e.seo,JSON.stringify({"@context":"https://schema.org","@type":"VideoObject",name:o?.name||h,thumbnailUrl:[o?.thumbnailUrl||j],embedUrl:o?.embedUrl||`${b}/embed/${r}`,contentUrl:o?.contentUrl||`https://www.youtube.com/watch?v=${r}`,...o?.description&&{description:o.description},...o?.uploadDate&&{uploadDate:o.uploadDate},...o?.duration&&{duration:o.duration}}))}}),S&&!e.playlist&&(0,n.jsx)("noscript",{children:(0,n.jsxs)("a",{href:`https://www.youtube.com/watch?v=${e.id}`,"aria-label":`Watch ${h} on YouTube`,children:['Watch "',h,'" on YouTube']})}),(0,n.jsxs)(_,{onPointerOver:()=>{s||l(!0)},onClick:L,className:`${P} ${c?I:""}`,"data-title":h,role:c||e.lazyLoad?void 0:"img","aria-label":c?void 0:`${h} - YouTube video preview`,style:{...!e.lazyLoad&&{backgroundImage:`url(${j})`},"--aspect-ratio":`${T/R*100}%`,...e.style||{}},children:[e.lazyLoad&&!c&&(0,n.jsx)("img",{src:j,alt:`${h} - YouTube thumbnail`,className:"lty-thumbnail",loading:"lazy"}),e.playlist&&!c&&(0,n.jsx)("div",{className:"lty-playlist-icon","aria-hidden":"true"}),!(e.hideButtonOnActivate&&c)&&(0,n.jsx)("button",{type:"button",className:k,"aria-label":`${m} ${h}`,"aria-hidden":c||void 0,tabIndex:c?-1:0,onClick:L,children:(0,n.jsx)("span",{className:"lty-visually-hidden",children:m})}),c&&(0,n.jsx)("iframe",{ref:t,className:A,title:h,width:"560",height:"315",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:w,referrerPolicy:e.referrerPolicy||"strict-origin-when-cross-origin"})]})]})});e.s(["default",0,o])},366221,810818,e=>{"use strict";var t,r=e.i(271645);function i(){return(i=Object.assign.bind()).apply(null,arguments)}let n=(0,r.forwardRef)((e,n)=>r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:25,height:25,viewBox:"0 0 33 33",ref:n},e),t||(t=r.createElement("g",{"data-name":"Group 206",transform:"translate(-154 -1964)"},r.createElement("circle",{cx:16.5,cy:16.5,r:16.5,fill:"#4cd1c3","data-name":"Ellipse 36",transform:"translate(154 1964)"}),r.createElement("path",{fill:"none",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"m165.726 1980.33 3.683 3.867 5.869-7.393","data-name":"Path 30"})))));e.s(["default",0,n],366221);var a=e.i(343420);e.s(["Info",()=>a.default],810818)},701710,e=>{"use strict";var t=e.i(843476),r=e.i(347015),i=e.i(483937),n=e.i(834449);e.s(["SyncButton",0,({name:e,slug:a,mark:o,brandColor:s,syncTypes:l})=>{let c,u=(0,i.usePostHogDistinctId)(),d=new URL(r.SITE_URL);d.host=`app.${d.host}`,a?.current&&d.searchParams.set("connect",a?.current),u&&d.searchParams.set("phId",u);let{isApiSync:p,isExchangeCSVSync:h}={isApiSync:(c=Array.isArray(l)?l:[]).some(e=>e.slug?.current==="automatic-sync"),isExchangeCSVSync:c.some(e=>e.slug?.current==="exchange-csv")};return(0,t.jsxs)("a",{href:d.toString(),target:"_blank",style:{borderColor:s?.value},className:"not-prose text-grey-600 inline-flex items-center justify-center rounded-full border-2 bg-white px-3 py-3 pr-4 text-base font-medium shadow-sm transition-colors hover:opacity-50 focus-visible:ring-1 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-75",children:[(0,t.jsx)(n.SanityImage,{src:o.asset,alt:`${e} mark`,className:"my-0! mr-3 size-8 rounded-full bg-white p-1"}),`${p?`Auto Sync with ${e}`:h?`Sync ${e} CSV`:"Import Recap CSV"} `]})}],701710)},848960,e=>{"use strict";var t=e.i(843476),r=e.i(698228),i=e.i(856419);e.s(["YouTubeEmbed",0,({url:e})=>{let n=(0,r.default)(e);return n?(0,t.jsx)(i.default,{id:n,title:"Embed"}):null}])},241416,e=>{"use strict";var t=e.i(843476),r=e.i(366221),i=e.i(975157),n=e.i(810818),a=e.i(200082);let o=({label:e,checked:i,note:o})=>{let s=i?(0,t.jsx)(r.default,{className:"text-accent inline-block size-5"}):null;return(0,t.jsxs)("td",{className:"px-5 py-4 text-center",children:[o?(0,t.jsxs)(a.Tip,{content:(0,t.jsx)("span",{className:"block max-w-xs text-left text-sm leading-relaxed text-gray-700",children:o}),contentClassName:"max-w-xs rounded-lg bg-white px-4 py-3 text-sm text-gray-700 shadow-lg ring-1 ring-gray-200",className:"inline-flex items-center gap-1",children:[s,(0,t.jsx)(n.Info,{className:"size-4 shrink-0 text-gray-400"})]}):s,(0,t.jsx)("span",{className:"sr-only",children:`${e}: ${i?"yes":"no"}${o?`. ${o}`:""}`})]})};e.s(["default",0,({value:e})=>(0,t.jsxs)("div",{className:"not-prose my-8 overflow-hidden rounded-xl bg-white",children:[(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full text-left text-sm",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b border-slate-200 bg-slate-50",children:[(0,t.jsx)("th",{className:"px-5 py-4 text-sm font-semibold text-slate-700",children:"Transaction type"}),(0,t.jsx)("th",{className:"px-5 py-4 text-center text-sm font-semibold text-slate-700",children:"CGT disposal"}),(0,t.jsx)("th",{className:"px-5 py-4 text-center text-sm font-semibold text-slate-700",children:"CGT acquisition"}),(0,t.jsx)("th",{className:"px-5 py-4 text-center text-sm font-semibold text-slate-700",children:"Income"})]})}),(0,t.jsx)("tbody",{className:"divide-y divide-slate-100",children:e.transactionTypes?.map((e,r)=>(0,t.jsxs)("tr",{className:(0,i.cn)("transition-colors hover:bg-slate-50",{"bg-slate-50/50":r%2!=0}),children:[(0,t.jsx)("td",{className:"px-5 py-4 font-medium text-slate-900",children:e.name}),(0,t.jsx)(o,{label:"CGT disposal",checked:(e.cgtDisposal??e.cgt)===!0,note:e.cgtDisposalNote}),(0,t.jsx)(o,{label:"CGT acquisition",checked:!0===e.cgtAcquisition,note:e.cgtAcquisitionNote}),(0,t.jsx)(o,{label:"Income",checked:!0===e.income,note:e.incomeNote})]},e._key))})]})}),(0,t.jsx)("p",{className:"text-muted-foreground border-t border-slate-100 px-5 py-3 text-xs",children:"This table shows how Recap classifies each transaction type by default. Some treatments — such as the acquisition cost used for airdrops — are configurable in Recap. This is general information, not tax advice; consult a qualified tax professional about your circumstances."})]})])},200082,e=>{"use strict";var t=e.i(843476),r=e.i(975157),i=e.i(271645),n=e.i(186336);let a=n.Provider,o=n.Root,s=n.Trigger,l=i.forwardRef(({className:e,sideOffset:i=4,...a},o)=>(0,t.jsx)(n.Content,{ref:o,sideOffset:i,className:(0,r.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md px-3 py-1.5 text-xs",e),...a}));l.displayName=n.Content.displayName,e.s(["Tip",0,({content:e,children:n,className:c,contentClassName:u,align:d,sideOffset:p})=>{let[h,f]=(0,i.useState)(!1);return(0,t.jsx)(a,{delayDuration:0,children:(0,t.jsxs)(o,{open:h,children:[(0,t.jsx)(s,{asChild:!0,children:(0,t.jsx)("button",{type:"button",className:(0,r.cn)("cursor-pointer",c),onClick:()=>f(!h),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),onTouchStart:()=>f(!h),onKeyDown:e=>{e.preventDefault(),"Enter"===e.key&&f(!h)},children:n})}),(0,t.jsx)(l,{className:(0,r.cn)(e?"":"hidden",u),align:d,sideOffset:p,children:(0,t.jsx)("span",{className:"inline-block",children:e})})]})})}],200082)},834449,e=>{"use strict";var t=e.i(843476),r=e.i(210810),i=e.i(657688),n=e.i(273299),a=e.i(258719);let o=(0,n.createImageUrlBuilder)({projectId:a.projectId,dataset:a.dataset});e.s(["SanityImage",0,e=>{let n;if(!e.src||"object"==typeof e.src&&e.src?._type==="image"&&!e.src.asset)return null;let a=(n=e.src,o.image(n)).url()?.toString(),s=(0,r.getImageDimensions)(a),l=e.width||s.width,c=e.height??(e.width&&s.width?Math.round(s.height*(e.width/s.width)):s.height),u="object"==typeof e.src&&null!==e.src&&"alt"in e.src&&"string"==typeof e.src.alt?e.src.alt:"";return(0,t.jsx)(i.default,{width:e.fill?void 0:l,height:e.fill?void 0:c,alt:e.alt||u||"",fetchPriority:e.fetchPriority,loading:e.loading,className:e.className,quality:e.quality,fill:e.fill,loader:({width:t,quality:r})=>{let i,n,a=Math.min(t||l,((i=e.src,o.image(i)).url()?.toString()??"").includes(".gif")?800:1920);return(n=e.src,o.image(n)).format("webp").quality(r||75).width(a).fit("clip").url()??""},src:a,sizes:e.sizes,placeholder:e.blurDataURL?"blur":"empty",blurDataURL:e.blurDataURL})}],834449)},258719,e=>{"use strict";var t=e.i(247167);let r=t.default.env.NEXT_PUBLIC_SANITY_API_VERSION||"2023-08-08",i=a("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET"),n=a("l3xzko5p","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID");function a(e,t){if(void 0===e)throw Error(t);return e}t.default.env.SANITY_API_READ_TOKEN,e.s(["apiVersion",0,r,"dataset",0,i,"projectId",0,n])}]);

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.