@next-box/link-extra 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("next/link.js"),r=require("react"),t=require("react/jsx-runtime");require("core-js/modules/web.url.parse.js"),require("core-js/modules/web.url-search-params.delete.js"),require("core-js/modules/web.url-search-params.has.js"),require("core-js/modules/web.url-search-params.size.js");var s=require("randomstring");const i=r.createContext({NextLink:e,OwnLink:()=>{},setLinkClicked:()=>{}});let n;const a=()=>r.useContext(i),o=e=>{if(!globalThis.location)return e;const r=URL.parse(e,globalThis.location.origin);if(!r)return e;const{pathname:t,search:i}=r,n=new URLSearchParams(i);return n.has("y")&&n.delete("y"),`${t}?${n.toString()}`==`${globalThis.location.pathname}?${globalThis.location.search}`?e:(n.set("y",s.generate(15)),`${t}?${n.toString()}`)};exports.Link=({children:e,disableRouterCache:r=!0,href:s="#",onClick:i,prefetch:n=!1,scroll:l=!1,...c})=>{const{NextLink:u,OwnLink:h,setLinkClicked:d}=a();return r&&(s=o(s)),t.jsx(u,{href:s,legacyBehavior:!0,passHref:!0,prefetch:n,scroll:l,children:t.jsx(h,{onClick:e=>{i&&i(e),(e=>{if(!globalThis.location)return!1;const r=URL.parse(e,globalThis.location.origin);if(!r)return!1;const{pathname:t}=r;return t===globalThis.location.pathname})(s)||e.defaultPrevented||d(!0)},...c,children:e})})},exports.LinkContext=i,exports.LinkProvider=({LoadingComponent:e,NextLink:s,OwnLink:a,children:o,loadingTimeout:l=500,pathname:c})=>{const[u,h]=r.useState(!1),[d,m]=r.useState(!1);return r.useEffect((()=>(u&&(n=setTimeout((()=>{m(!0)}),l)),()=>{clearTimeout(n)})),[u]),r.useEffect((()=>{u&&(h(!1),m(!1),globalThis.scroll(0,0)),n&&clearTimeout(n)}),[c]),t.jsx(i.Provider,{value:{NextLink:s,OwnLink:a,setLinkClicked:e=>{h(e)}},children:t.jsxs(t.Fragment,{children:[o,d?t.jsx(e,{}):void 0]})})},exports.addCacheBusterQueryParam=o,exports.useLinkExtra=a;
1
+ "use strict";var e=require("next/link.js"),r=require("react"),t=require("react/jsx-runtime");require("core-js/modules/web.url.parse.js"),require("core-js/modules/web.url-search-params.delete.js"),require("core-js/modules/web.url-search-params.has.js"),require("core-js/modules/web.url-search-params.size.js");var s=require("randomstring");const a=r.createContext({NextLink:e,OwnLink:()=>{},setLinkClicked:()=>{}});let n;const i=e=>{if(!globalThis.location)return!1;const r=URL.parse(e,globalThis.location.origin);if(!r)return!1;const{pathname:t,search:s}=r,a=new URLSearchParams(s);a.has("y")&&a.delete("y");const n=new URLSearchParams(globalThis.location.search);return n.has("y")&&n.delete("y"),`${t}?${s}`==`${globalThis.location.pathname}?${n.toString()}`},o=e=>{if(!globalThis.location)return e;const r=URL.parse(e,globalThis.location.origin);if(!r)return e;const t=new URLSearchParams(globalThis.location.search),a=t.get("y");a&&t.delete("y");const{pathname:n,search:i}=r,o=new URLSearchParams(i);return`${n}?${i}`==`${globalThis.location.pathname}?${t.toString()}`?o.set("y",a??s.generate(15)):o.set("y",s.generate(15)),`${n}?${o.toString()}`},l=()=>r.useContext(a);exports.Link=({children:e,disableRouterCache:r=!0,href:s="#",onClick:a,prefetch:n=!1,scroll:c=!1,...h})=>{const{NextLink:u,OwnLink:d,setLinkClicked:m}=l();return r&&(s=o(s)),t.jsx(u,{href:s,legacyBehavior:!0,passHref:!0,prefetch:n,scroll:c,children:t.jsx(d,{onClick:e=>{a&&a(e),i(s)||e.defaultPrevented||m(!0)},...h,children:e})})},exports.LinkContext=a,exports.LinkProvider=({LoadingComponent:e,NextLink:s,OwnLink:i,children:o,loadingTimeout:l=500,pathname:c})=>{const[h,u]=r.useState(!1),[d,m]=r.useState(!1);return r.useEffect((()=>(h&&(n=setTimeout((()=>{m(!0)}),l)),()=>{clearTimeout(n)})),[h]),r.useEffect((()=>{h&&(u(!1),m(!1),globalThis.scroll(0,0)),n&&clearTimeout(n)}),[c]),t.jsx(a.Provider,{value:{NextLink:s,OwnLink:i,setLinkClicked:e=>{u(e)}},children:t.jsxs(t.Fragment,{children:[o,d?t.jsx(e,{}):void 0]})})},exports.addCacheBusterQueryParam=o,exports.doUrlAndLocationMatch=i,exports.useLinkExtra=l;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../link-extra/src//LinkProvider.tsx","../link-extra/src//useLinkExtra.ts","../link-extra/src//Link.tsx"],"sourcesContent":["'use client';\n\nimport Link from 'next/link.js';\nimport { type ComponentType, type ReactNode, createContext, useEffect, useState } from 'react';\nimport { type LinkContextData, type OwnLinkProps } from '#types.js';\n\n// Needs to return explicit value\n// eslint-disable-next-line unicorn/no-useless-undefined\nconst NoopComponent = () => undefined;\n// This is a noop\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst noop = () => {};\n\nexport const LinkContext = createContext<LinkContextData>({\n NextLink: Link,\n OwnLink: NoopComponent,\n setLinkClicked: noop,\n});\n\nexport type LinkProviderProps = {\n LoadingComponent: ComponentType;\n NextLink: typeof Link;\n OwnLink: ComponentType<OwnLinkProps>;\n children: ReactNode | ReactNode[];\n loadingTimeout?: number;\n pathname: string;\n};\n\nlet timeoutId: NodeJS.Timeout | undefined;\n\nexport const LinkProvider = ({\n LoadingComponent,\n NextLink,\n OwnLink,\n children,\n loadingTimeout = 500,\n pathname,\n}: LinkProviderProps) => {\n const [linkClicked, setLinkClicked] = useState<boolean>(false);\n const [showLoading, setShowLoading] = useState<boolean>(false);\n\n useEffect(() => {\n if (linkClicked) {\n timeoutId = setTimeout(() => {\n setShowLoading(true);\n }, loadingTimeout);\n }\n\n return () => {\n clearTimeout(timeoutId);\n };\n // We only want to re-execute when linkClicked changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [linkClicked]);\n\n useEffect(() => {\n if (linkClicked) {\n setLinkClicked(false);\n setShowLoading(false);\n globalThis.scroll(0, 0);\n }\n\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n\n // We only want to re-execute when pathname changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [pathname]);\n\n return (\n <LinkContext.Provider\n value={{\n NextLink,\n OwnLink,\n setLinkClicked: clicked => {\n setLinkClicked(clicked);\n },\n }}\n >\n <>\n {children}\n {showLoading ? <LoadingComponent /> : undefined}\n </>\n </LinkContext.Provider>\n );\n};\n","import { useContext } from 'react';\nimport { type LinkContextData } from '#types.ts';\nimport { LinkContext } from './LinkProvider.tsx';\n\nexport const useLinkExtra = (): LinkContextData => {\n return useContext(LinkContext);\n};\n","import randomString from 'randomstring';\nimport { type AnchorHTMLAttributes, type ReactNode } from 'react';\nimport { useLinkExtra } from './useLinkExtra.ts';\n\nexport type LinkProps<T extends object> = {\n children: ReactNode;\n disableRouterCache?: boolean;\n href?: string;\n prefetch?: boolean;\n scroll?: boolean;\n} & AnchorHTMLAttributes<HTMLAnchorElement> &\n T;\n\nconst doUrlAndLocationPathnamesMatch = (url: string) => {\n // It is possible for this to be undefined\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!globalThis.location) {\n return false;\n }\n\n const parsedUrl = URL.parse(url, globalThis.location.origin);\n\n if (!parsedUrl) {\n return false;\n }\n\n const { pathname } = parsedUrl;\n return pathname === globalThis.location.pathname;\n};\n\nexport const addCacheBusterQueryParam = (url: string): string => {\n // It is possible for this to be undefined\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!globalThis.location) {\n return url;\n }\n\n const parsedUrl = URL.parse(url, globalThis.location.origin);\n\n if (!parsedUrl) {\n return url;\n }\n\n const { pathname, search } = parsedUrl;\n const searchParams = new URLSearchParams(search);\n\n if (searchParams.has('y')) {\n searchParams.delete('y');\n }\n\n if (`${pathname}?${searchParams.toString()}` === `${globalThis.location.pathname}?${globalThis.location.search}`) {\n return url;\n }\n\n searchParams.set('y', randomString.generate(15));\n return `${pathname}?${searchParams.toString()}`;\n};\n\nexport const Link = <T extends object>({\n children,\n disableRouterCache = true,\n href = '#',\n onClick,\n prefetch = false,\n scroll = false,\n ...otherProps\n}: LinkProps<T>) => {\n const { NextLink, OwnLink, setLinkClicked } = useLinkExtra();\n\n if (disableRouterCache) {\n href = addCacheBusterQueryParam(href);\n }\n\n return (\n // @ts-expect-error Nextjs types wrong for nodenext\n <NextLink href={href} legacyBehavior passHref prefetch={prefetch} scroll={scroll}>\n <OwnLink\n onClick={event => {\n if (onClick) {\n onClick(event);\n }\n\n if (!doUrlAndLocationPathnamesMatch(href) && !event.defaultPrevented) {\n setLinkClicked(true);\n }\n }}\n {...otherProps}\n >\n {children}\n </OwnLink>\n </NextLink>\n );\n};\n"],"names":["LinkContext","createContext","NextLink","Link","OwnLink","NoopComponent","setLinkClicked","noop","timeoutId","useLinkExtra","useContext","addCacheBusterQueryParam","url","globalThis","location","parsedUrl","URL","parse","origin","pathname","search","searchParams","URLSearchParams","has","delete","toString","set","randomString","generate","children","disableRouterCache","href","onClick","prefetch","scroll","otherProps","_jsx","legacyBehavior","passHref","jsx","event","doUrlAndLocationPathnamesMatch","defaultPrevented","LinkProvider","LoadingComponent","loadingTimeout","linkClicked","useState","showLoading","setShowLoading","useEffect","setTimeout","clearTimeout","Provider","value","clicked","_jsxs","jsxs","_Fragment","undefined"],"mappings":"mVAQA,MAKaA,EAAcC,EAAAA,cAA+B,CACxDC,SAAUC,EACVC,QAPoBC,KAAe,EAQnCC,eALWC,SAiBb,IAAIC,EAEG,MC1BMC,EAAeA,IACnBC,EAAAA,WAAWV,GCyBPW,EAA4BC,IAGvC,IAAKC,WAAWC,SACd,OAAOF,EAGT,MAAMG,EAAYC,IAAIC,MAAML,EAAKC,WAAWC,SAASI,QAErD,IAAKH,EACH,OAAOH,EAGT,MAAMO,SAAEA,EAAQC,OAAEA,GAAWL,EACvBM,EAAe,IAAIC,gBAAgBF,GAMzC,OAJIC,EAAaE,IAAI,MACnBF,EAAaG,OAAO,KAGlB,GAAGL,KAAYE,EAAaI,cAAiB,GAAGZ,WAAWC,SAASK,YAAYN,WAAWC,SAASM,SAC/FR,GAGTS,EAAaK,IAAI,IAAKC,EAAaC,SAAS,KACrC,GAAGT,KAAYE,EAAaI,aAAY,eAG7BtB,EAClB0B,WACAC,sBAAqB,EACrBC,OAAO,IACPC,UACAC,YAAW,EACXC,UAAS,KACNC,MAEH,MAAMjC,SAAEA,EAAQE,QAAEA,EAAOE,eAAEA,GAAmBG,IAM9C,OAJIqB,IACFC,EAAOpB,EAAyBoB,IAKhCK,EAAAA,IAAClC,EAAQ,CAAC6B,KAAMA,EAAMM,gBAAc,EAACC,UAAQ,EAACL,SAAUA,EAAUC,OAAQA,EAAOL,SAC/EO,EAAAG,IAACnC,EAAO,CACN4B,QAASQ,IACHR,GACFA,EAAQQ,GAlEoB5B,KAGtC,IAAKC,WAAWC,SACd,OAAO,EAGT,MAAMC,EAAYC,IAAIC,MAAML,EAAKC,WAAWC,SAASI,QAErD,IAAKH,EACH,OAAO,EAGT,MAAMI,SAAEA,GAAaJ,EACrB,OAAOI,IAAaN,WAAWC,SAASK,QAAQ,EAuDnCsB,CAA+BV,IAAUS,EAAME,kBAClDpC,GAAe,EACjB,KAEE6B,EAAUN,SAEbA,KAEM,6CF5Dac,EAC1BC,mBACA1C,WACAE,UACAyB,WACAgB,iBAAiB,IACjB1B,eAEA,MAAO2B,EAAaxC,GAAkByC,EAAAA,UAAkB,IACjDC,EAAaC,GAAkBF,EAAAA,UAAkB,GA+BxD,OA7BAG,EAAAA,WAAU,KACJJ,IACFtC,EAAY2C,YAAW,KACrBF,GAAe,EAAK,GACnBJ,IAGE,KACLO,aAAa5C,EAAU,IAIxB,CAACsC,IAEJI,EAAAA,WAAU,KACJJ,IACFxC,GAAe,GACf2C,GAAe,GACfpC,WAAWqB,OAAO,EAAG,IAGnB1B,GACF4C,aAAa5C,EACf,GAIC,CAACW,IAGFiB,EAAAG,IAACvC,EAAYqD,SAAQ,CACnBC,MAAO,CACLpD,WACAE,UACAE,eAAgBiD,IACdjD,EAAeiD,EAAQ,GAEzB1B,SAEF2B,EAAAC,KAAAC,WAAA,CAAA7B,SAAA,CACGA,EACAmB,EAAcZ,EAAAG,IAACK,EAAgB,CAAE,QAAIe,MAEnB"}
1
+ {"version":3,"file":"index.cjs","sources":["../link-extra/src//LinkProvider.tsx","../link-extra/src//helpers.ts","../link-extra/src//useLinkExtra.ts","../link-extra/src//Link.tsx"],"sourcesContent":["import Link from 'next/link.js';\nimport { type ComponentType, type ReactNode, createContext, useEffect, useState } from 'react';\nimport { type LinkContextData, type OwnLinkProps } from '#types.js';\n\n// Needs to return explicit value\n// eslint-disable-next-line unicorn/no-useless-undefined\nconst NoopComponent = () => undefined;\n// This is a noop\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst noop = () => {};\n\nexport const LinkContext = createContext<LinkContextData>({\n NextLink: Link,\n OwnLink: NoopComponent,\n setLinkClicked: noop,\n});\n\nexport type LinkProviderProps = {\n LoadingComponent: ComponentType;\n NextLink: typeof Link;\n OwnLink: ComponentType<OwnLinkProps>;\n children: ReactNode | ReactNode[];\n loadingTimeout?: number;\n pathname: string;\n};\n\nlet timeoutId: NodeJS.Timeout | undefined;\n\nexport const LinkProvider = ({\n LoadingComponent,\n NextLink,\n OwnLink,\n children,\n loadingTimeout = 500,\n pathname,\n}: LinkProviderProps) => {\n const [linkClicked, setLinkClicked] = useState<boolean>(false);\n const [showLoading, setShowLoading] = useState<boolean>(false);\n\n useEffect(() => {\n if (linkClicked) {\n timeoutId = setTimeout(() => {\n setShowLoading(true);\n }, loadingTimeout);\n }\n\n return () => {\n clearTimeout(timeoutId);\n };\n // We only want to re-execute when linkClicked changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [linkClicked]);\n\n useEffect(() => {\n if (linkClicked) {\n setLinkClicked(false);\n setShowLoading(false);\n globalThis.scroll(0, 0);\n }\n\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n\n // We only want to re-execute when pathname changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [pathname]);\n\n return (\n <LinkContext.Provider\n value={{\n NextLink,\n OwnLink,\n setLinkClicked: clicked => {\n setLinkClicked(clicked);\n },\n }}\n >\n <>\n {children}\n {showLoading ? <LoadingComponent /> : undefined}\n </>\n </LinkContext.Provider>\n );\n};\n","import randomString from 'randomstring';\n\nexport const doUrlAndLocationMatch = (url: string) => {\n // It is possible for this to be undefined\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!globalThis.location) {\n return false;\n }\n\n const parsedUrl = URL.parse(url, globalThis.location.origin);\n\n if (!parsedUrl) {\n return false;\n }\n\n const { pathname, search } = parsedUrl;\n const urlSearchParams = new URLSearchParams(search);\n\n if (urlSearchParams.has('y')) {\n urlSearchParams.delete('y');\n }\n\n const locationSearchParams = new URLSearchParams(globalThis.location.search);\n\n if (locationSearchParams.has('y')) {\n locationSearchParams.delete('y');\n }\n\n return `${pathname}?${search}` === `${globalThis.location.pathname}?${locationSearchParams.toString()}`;\n};\n\nexport const addCacheBusterQueryParam = (url: string): string => {\n // It is possible for this to be undefined\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!globalThis.location) {\n return url;\n }\n\n const parsedUrl = URL.parse(url, globalThis.location.origin);\n\n if (!parsedUrl) {\n return url;\n }\n\n const locationSearchParams = new URLSearchParams(globalThis.location.search);\n const locationCacheBusterSearchParam = locationSearchParams.get('y');\n\n if (locationCacheBusterSearchParam) {\n locationSearchParams.delete('y');\n }\n\n const { pathname, search } = parsedUrl;\n const searchParams = new URLSearchParams(search);\n\n if (`${pathname}?${search}` === `${globalThis.location.pathname}?${locationSearchParams.toString()}`) {\n searchParams.set('y', locationCacheBusterSearchParam ?? randomString.generate(15));\n } else {\n searchParams.set('y', randomString.generate(15));\n }\n\n return `${pathname}?${searchParams.toString()}`;\n};\n","import { useContext } from 'react';\nimport { type LinkContextData } from '#types.ts';\nimport { LinkContext } from './LinkProvider.tsx';\n\nexport const useLinkExtra = (): LinkContextData => {\n return useContext(LinkContext);\n};\n","import { type AnchorHTMLAttributes, type ReactNode } from 'react';\nimport { addCacheBusterQueryParam, doUrlAndLocationMatch } from '#helpers.ts';\nimport { useLinkExtra } from './useLinkExtra.ts';\n\nexport type LinkProps<T extends object> = {\n children: ReactNode;\n disableRouterCache?: boolean;\n href?: string;\n prefetch?: boolean;\n scroll?: boolean;\n} & AnchorHTMLAttributes<HTMLAnchorElement> &\n T;\n\nexport const Link = <T extends object>({\n children,\n disableRouterCache = true,\n href = '#',\n onClick,\n prefetch = false,\n scroll = false,\n ...otherProps\n}: LinkProps<T>) => {\n const { NextLink, OwnLink, setLinkClicked } = useLinkExtra();\n\n if (disableRouterCache) {\n href = addCacheBusterQueryParam(href);\n }\n\n return (\n // @ts-expect-error Nextjs types wrong for nodenext\n <NextLink href={href} legacyBehavior passHref prefetch={prefetch} scroll={scroll}>\n <OwnLink\n onClick={event => {\n if (onClick) {\n onClick(event);\n }\n\n if (!doUrlAndLocationMatch(href) && !event.defaultPrevented) {\n setLinkClicked(true);\n }\n }}\n {...otherProps}\n >\n {children}\n </OwnLink>\n </NextLink>\n );\n};\n"],"names":["LinkContext","createContext","NextLink","Link","OwnLink","NoopComponent","setLinkClicked","noop","timeoutId","doUrlAndLocationMatch","url","globalThis","location","parsedUrl","URL","parse","origin","pathname","search","urlSearchParams","URLSearchParams","has","delete","locationSearchParams","toString","addCacheBusterQueryParam","locationCacheBusterSearchParam","get","searchParams","set","randomString","generate","useLinkExtra","useContext","children","disableRouterCache","href","onClick","prefetch","scroll","otherProps","_jsx","legacyBehavior","passHref","jsx","event","defaultPrevented","LinkProvider","LoadingComponent","loadingTimeout","linkClicked","useState","showLoading","setShowLoading","useEffect","setTimeout","clearTimeout","Provider","value","clicked","_jsxs","jsxs","_Fragment","undefined"],"mappings":"mVAMA,MAKaA,EAAcC,EAAAA,cAA+B,CACxDC,SAAUC,EACVC,QAPoBC,KAAe,EAQnCC,eALWC,SAiBb,IAAIC,EAEG,MC1BMC,EAAyBC,IAGpC,IAAKC,WAAWC,SACd,OAAO,EAGT,MAAMC,EAAYC,IAAIC,MAAML,EAAKC,WAAWC,SAASI,QAErD,IAAKH,EACH,OAAO,EAGT,MAAMI,SAAEA,EAAQC,OAAEA,GAAWL,EACvBM,EAAkB,IAAIC,gBAAgBF,GAExCC,EAAgBE,IAAI,MACtBF,EAAgBG,OAAO,KAGzB,MAAMC,EAAuB,IAAIH,gBAAgBT,WAAWC,SAASM,QAMrE,OAJIK,EAAqBF,IAAI,MAC3BE,EAAqBD,OAAO,KAGvB,GAAGL,KAAYC,KAAa,GAAGP,WAAWC,SAASK,YAAYM,EAAqBC,YAAY,EAG5FC,EAA4Bf,IAGvC,IAAKC,WAAWC,SACd,OAAOF,EAGT,MAAMG,EAAYC,IAAIC,MAAML,EAAKC,WAAWC,SAASI,QAErD,IAAKH,EACH,OAAOH,EAGT,MAAMa,EAAuB,IAAIH,gBAAgBT,WAAWC,SAASM,QAC/DQ,EAAiCH,EAAqBI,IAAI,KAE5DD,GACFH,EAAqBD,OAAO,KAG9B,MAAML,SAAEA,EAAQC,OAAEA,GAAWL,EACvBe,EAAe,IAAIR,gBAAgBF,GAQzC,MANI,GAAGD,KAAYC,KAAa,GAAGP,WAAWC,SAASK,YAAYM,EAAqBC,aACtFI,EAAaC,IAAI,IAAKH,GAAkCI,EAAaC,SAAS,KAE9EH,EAAaC,IAAI,IAAKC,EAAaC,SAAS,KAGvC,GAAGd,KAAYW,EAAaJ,YAAY,ECxDpCQ,EAAeA,IACnBC,EAAAA,WAAWjC,gBCQAG,EAClB+B,WACAC,sBAAqB,EACrBC,OAAO,IACPC,UACAC,YAAW,EACXC,UAAS,KACNC,MAEH,MAAMtC,SAAEA,EAAQE,QAAEA,EAAOE,eAAEA,GAAmB0B,IAM9C,OAJIG,IACFC,EAAOX,EAAyBW,IAKhCK,EAAAA,IAACvC,EAAQ,CAACkC,KAAMA,EAAMM,gBAAc,EAACC,UAAQ,EAACL,SAAUA,EAAUC,OAAQA,EAAOL,SAC/EO,EAAAG,IAACxC,EAAO,CACNiC,QAASQ,IACHR,GACFA,EAAQQ,GAGLpC,EAAsB2B,IAAUS,EAAMC,kBACzCxC,GAAe,EACjB,KAEEkC,EAAUN,SAEbA,KAEM,6CHjBaa,EAC1BC,mBACA9C,WACAE,UACA8B,WACAe,iBAAiB,IACjBhC,eAEA,MAAOiC,EAAa5C,GAAkB6C,EAAAA,UAAkB,IACjDC,EAAaC,GAAkBF,EAAAA,UAAkB,GA+BxD,OA7BAG,EAAAA,WAAU,KACJJ,IACF1C,EAAY+C,YAAW,KACrBF,GAAe,EAAK,GACnBJ,IAGE,KACLO,aAAahD,EAAU,IAIxB,CAAC0C,IAEJI,EAAAA,WAAU,KACJJ,IACF5C,GAAe,GACf+C,GAAe,GACf1C,WAAW4B,OAAO,EAAG,IAGnB/B,GACFgD,aAAahD,EACf,GAIC,CAACS,IAGFwB,EAAAG,IAAC5C,EAAYyD,SAAQ,CACnBC,MAAO,CACLxD,WACAE,UACAE,eAAgBqD,IACdrD,EAAeqD,EAAQ,GAEzBzB,SAEF0B,EAAAC,KAAAC,WAAA,CAAA5B,SAAA,CACGA,EACAkB,EAAcX,EAAAG,IAACI,EAAgB,CAAE,QAAIe,MAEnB"}
@@ -1,2 +1,2 @@
1
- import e from"next/link.js";import{createContext as r,useState as o,useEffect as i,useContext as t}from"react";import{jsx as n,jsxs as a,Fragment as l}from"react/jsx-runtime";import"core-js/modules/web.url.parse.js";import"core-js/modules/web.url-search-params.delete.js";import"core-js/modules/web.url-search-params.has.js";import"core-js/modules/web.url-search-params.size.js";import s from"randomstring";const c=r({NextLink:e,OwnLink:()=>{},setLinkClicked:()=>{}});let h;const m=({LoadingComponent:e,NextLink:r,OwnLink:t,children:s,loadingTimeout:m=500,pathname:p})=>{const[u,d]=o(!1),[g,k]=o(!1);return i((()=>(u&&(h=setTimeout((()=>{k(!0)}),m)),()=>{clearTimeout(h)})),[u]),i((()=>{u&&(d(!1),k(!1),globalThis.scroll(0,0)),h&&clearTimeout(h)}),[p]),n(c.Provider,{value:{NextLink:r,OwnLink:t,setLinkClicked:e=>{d(e)}},children:a(l,{children:[s,g?n(e,{}):void 0]})})},p=()=>t(c),u=e=>{if(!globalThis.location)return e;const r=URL.parse(e,globalThis.location.origin);if(!r)return e;const{pathname:o,search:i}=r,t=new URLSearchParams(i);return t.has("y")&&t.delete("y"),`${o}?${t.toString()}`==`${globalThis.location.pathname}?${globalThis.location.search}`?e:(t.set("y",s.generate(15)),`${o}?${t.toString()}`)},d=({children:e,disableRouterCache:r=!0,href:o="#",onClick:i,prefetch:t=!1,scroll:a=!1,...l})=>{const{NextLink:s,OwnLink:c,setLinkClicked:h}=p();return r&&(o=u(o)),n(s,{href:o,legacyBehavior:!0,passHref:!0,prefetch:t,scroll:a,children:n(c,{onClick:e=>{i&&i(e),(e=>{if(!globalThis.location)return!1;const r=URL.parse(e,globalThis.location.origin);if(!r)return!1;const{pathname:o}=r;return o===globalThis.location.pathname})(o)||e.defaultPrevented||h(!0)},...l,children:e})})};export{d as Link,c as LinkContext,m as LinkProvider,u as addCacheBusterQueryParam,p as useLinkExtra};
1
+ import e from"next/link.js";import{createContext as r,useState as o,useEffect as t,useContext as n}from"react";import{jsx as a,jsxs as i,Fragment as s}from"react/jsx-runtime";import"core-js/modules/web.url.parse.js";import"core-js/modules/web.url-search-params.delete.js";import"core-js/modules/web.url-search-params.has.js";import"core-js/modules/web.url-search-params.size.js";import l from"randomstring";const c=r({NextLink:e,OwnLink:()=>{},setLinkClicked:()=>{}});let h;const m=({LoadingComponent:e,NextLink:r,OwnLink:n,children:l,loadingTimeout:m=500,pathname:d})=>{const[p,u]=o(!1),[g,L]=o(!1);return t((()=>(p&&(h=setTimeout((()=>{L(!0)}),m)),()=>{clearTimeout(h)})),[p]),t((()=>{p&&(u(!1),L(!1),globalThis.scroll(0,0)),h&&clearTimeout(h)}),[d]),a(c.Provider,{value:{NextLink:r,OwnLink:n,setLinkClicked:e=>{u(e)}},children:i(s,{children:[l,g?a(e,{}):void 0]})})},d=e=>{if(!globalThis.location)return!1;const r=URL.parse(e,globalThis.location.origin);if(!r)return!1;const{pathname:o,search:t}=r,n=new URLSearchParams(t);n.has("y")&&n.delete("y");const a=new URLSearchParams(globalThis.location.search);return a.has("y")&&a.delete("y"),`${o}?${t}`==`${globalThis.location.pathname}?${a.toString()}`},p=e=>{if(!globalThis.location)return e;const r=URL.parse(e,globalThis.location.origin);if(!r)return e;const o=new URLSearchParams(globalThis.location.search),t=o.get("y");t&&o.delete("y");const{pathname:n,search:a}=r,i=new URLSearchParams(a);return`${n}?${a}`==`${globalThis.location.pathname}?${o.toString()}`?i.set("y",t??l.generate(15)):i.set("y",l.generate(15)),`${n}?${i.toString()}`},u=()=>n(c),g=({children:e,disableRouterCache:r=!0,href:o="#",onClick:t,prefetch:n=!1,scroll:i=!1,...s})=>{const{NextLink:l,OwnLink:c,setLinkClicked:h}=u();return r&&(o=p(o)),a(l,{href:o,legacyBehavior:!0,passHref:!0,prefetch:n,scroll:i,children:a(c,{onClick:e=>{t&&t(e),d(o)||e.defaultPrevented||h(!0)},...s,children:e})})};export{g as Link,c as LinkContext,m as LinkProvider,p as addCacheBusterQueryParam,d as doUrlAndLocationMatch,u as useLinkExtra};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../link-extra/src//LinkProvider.tsx","../link-extra/src//useLinkExtra.ts","../link-extra/src//Link.tsx"],"sourcesContent":["'use client';\n\nimport Link from 'next/link.js';\nimport { type ComponentType, type ReactNode, createContext, useEffect, useState } from 'react';\nimport { type LinkContextData, type OwnLinkProps } from '#types.js';\n\n// Needs to return explicit value\n// eslint-disable-next-line unicorn/no-useless-undefined\nconst NoopComponent = () => undefined;\n// This is a noop\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst noop = () => {};\n\nexport const LinkContext = createContext<LinkContextData>({\n NextLink: Link,\n OwnLink: NoopComponent,\n setLinkClicked: noop,\n});\n\nexport type LinkProviderProps = {\n LoadingComponent: ComponentType;\n NextLink: typeof Link;\n OwnLink: ComponentType<OwnLinkProps>;\n children: ReactNode | ReactNode[];\n loadingTimeout?: number;\n pathname: string;\n};\n\nlet timeoutId: NodeJS.Timeout | undefined;\n\nexport const LinkProvider = ({\n LoadingComponent,\n NextLink,\n OwnLink,\n children,\n loadingTimeout = 500,\n pathname,\n}: LinkProviderProps) => {\n const [linkClicked, setLinkClicked] = useState<boolean>(false);\n const [showLoading, setShowLoading] = useState<boolean>(false);\n\n useEffect(() => {\n if (linkClicked) {\n timeoutId = setTimeout(() => {\n setShowLoading(true);\n }, loadingTimeout);\n }\n\n return () => {\n clearTimeout(timeoutId);\n };\n // We only want to re-execute when linkClicked changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [linkClicked]);\n\n useEffect(() => {\n if (linkClicked) {\n setLinkClicked(false);\n setShowLoading(false);\n globalThis.scroll(0, 0);\n }\n\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n\n // We only want to re-execute when pathname changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [pathname]);\n\n return (\n <LinkContext.Provider\n value={{\n NextLink,\n OwnLink,\n setLinkClicked: clicked => {\n setLinkClicked(clicked);\n },\n }}\n >\n <>\n {children}\n {showLoading ? <LoadingComponent /> : undefined}\n </>\n </LinkContext.Provider>\n );\n};\n","import { useContext } from 'react';\nimport { type LinkContextData } from '#types.ts';\nimport { LinkContext } from './LinkProvider.tsx';\n\nexport const useLinkExtra = (): LinkContextData => {\n return useContext(LinkContext);\n};\n","import randomString from 'randomstring';\nimport { type AnchorHTMLAttributes, type ReactNode } from 'react';\nimport { useLinkExtra } from './useLinkExtra.ts';\n\nexport type LinkProps<T extends object> = {\n children: ReactNode;\n disableRouterCache?: boolean;\n href?: string;\n prefetch?: boolean;\n scroll?: boolean;\n} & AnchorHTMLAttributes<HTMLAnchorElement> &\n T;\n\nconst doUrlAndLocationPathnamesMatch = (url: string) => {\n // It is possible for this to be undefined\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!globalThis.location) {\n return false;\n }\n\n const parsedUrl = URL.parse(url, globalThis.location.origin);\n\n if (!parsedUrl) {\n return false;\n }\n\n const { pathname } = parsedUrl;\n return pathname === globalThis.location.pathname;\n};\n\nexport const addCacheBusterQueryParam = (url: string): string => {\n // It is possible for this to be undefined\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!globalThis.location) {\n return url;\n }\n\n const parsedUrl = URL.parse(url, globalThis.location.origin);\n\n if (!parsedUrl) {\n return url;\n }\n\n const { pathname, search } = parsedUrl;\n const searchParams = new URLSearchParams(search);\n\n if (searchParams.has('y')) {\n searchParams.delete('y');\n }\n\n if (`${pathname}?${searchParams.toString()}` === `${globalThis.location.pathname}?${globalThis.location.search}`) {\n return url;\n }\n\n searchParams.set('y', randomString.generate(15));\n return `${pathname}?${searchParams.toString()}`;\n};\n\nexport const Link = <T extends object>({\n children,\n disableRouterCache = true,\n href = '#',\n onClick,\n prefetch = false,\n scroll = false,\n ...otherProps\n}: LinkProps<T>) => {\n const { NextLink, OwnLink, setLinkClicked } = useLinkExtra();\n\n if (disableRouterCache) {\n href = addCacheBusterQueryParam(href);\n }\n\n return (\n // @ts-expect-error Nextjs types wrong for nodenext\n <NextLink href={href} legacyBehavior passHref prefetch={prefetch} scroll={scroll}>\n <OwnLink\n onClick={event => {\n if (onClick) {\n onClick(event);\n }\n\n if (!doUrlAndLocationPathnamesMatch(href) && !event.defaultPrevented) {\n setLinkClicked(true);\n }\n }}\n {...otherProps}\n >\n {children}\n </OwnLink>\n </NextLink>\n );\n};\n"],"names":["LinkContext","createContext","NextLink","Link","OwnLink","NoopComponent","setLinkClicked","noop","timeoutId","LinkProvider","LoadingComponent","children","loadingTimeout","pathname","linkClicked","useState","showLoading","setShowLoading","useEffect","setTimeout","clearTimeout","globalThis","scroll","_jsx","Provider","value","clicked","_jsxs","_Fragment","undefined","useLinkExtra","useContext","addCacheBusterQueryParam","url","location","parsedUrl","URL","parse","origin","search","searchParams","URLSearchParams","has","delete","toString","set","randomString","generate","disableRouterCache","href","onClick","prefetch","otherProps","legacyBehavior","passHref","event","doUrlAndLocationPathnamesMatch","defaultPrevented"],"mappings":"uZAQA,MAKaA,EAAcC,EAA+B,CACxDC,SAAUC,EACVC,QAPoBC,KAAe,EAQnCC,eALWC,SAiBb,IAAIC,EAEG,MAAMC,EAAeA,EAC1BC,mBACAR,WACAE,UACAO,WACAC,iBAAiB,IACjBC,eAEA,MAAOC,EAAaR,GAAkBS,GAAkB,IACjDC,EAAaC,GAAkBF,GAAkB,GA+BxD,OA7BAG,GAAU,KACJJ,IACFN,EAAYW,YAAW,KACrBF,GAAe,EAAK,GACnBL,IAGE,KACLQ,aAAaZ,EAAU,IAIxB,CAACM,IAEJI,GAAU,KACJJ,IACFR,GAAe,GACfW,GAAe,GACfI,WAAWC,OAAO,EAAG,IAGnBd,GACFY,aAAaZ,EACf,GAIC,CAACK,IAGFU,EAACvB,EAAYwB,SAAQ,CACnBC,MAAO,CACLvB,WACAE,UACAE,eAAgBoB,IACdpB,EAAeoB,EAAQ,GAEzBf,SAEFgB,EAAAC,EAAA,CAAAjB,SAAA,CACGA,EACAK,EAAcO,EAACb,EAAgB,CAAE,QAAImB,MAEnB,EChFdC,EAAeA,IACnBC,EAAW/B,GCyBPgC,EAA4BC,IAGvC,IAAKZ,WAAWa,SACd,OAAOD,EAGT,MAAME,EAAYC,IAAIC,MAAMJ,EAAKZ,WAAWa,SAASI,QAErD,IAAKH,EACH,OAAOF,EAGT,MAAMpB,SAAEA,EAAQ0B,OAAEA,GAAWJ,EACvBK,EAAe,IAAIC,gBAAgBF,GAMzC,OAJIC,EAAaE,IAAI,MACnBF,EAAaG,OAAO,KAGlB,GAAG9B,KAAY2B,EAAaI,cAAiB,GAAGvB,WAAWa,SAASrB,YAAYQ,WAAWa,SAASK,SAC/FN,GAGTO,EAAaK,IAAI,IAAKC,EAAaC,SAAS,KACrC,GAAGlC,KAAY2B,EAAaI,aAAY,EAGpCzC,EAAOA,EAClBQ,WACAqC,sBAAqB,EACrBC,OAAO,IACPC,UACAC,YAAW,EACX7B,UAAS,KACN8B,MAEH,MAAMlD,SAAEA,EAAQE,QAAEA,EAAOE,eAAEA,GAAmBwB,IAM9C,OAJIkB,IACFC,EAAOjB,EAAyBiB,IAKhC1B,EAACrB,EAAQ,CAAC+C,KAAMA,EAAMI,gBAAc,EAACC,UAAQ,EAACH,SAAUA,EAAU7B,OAAQA,EAAOX,SAC/EY,EAACnB,EAAO,CACN8C,QAASK,IACHL,GACFA,EAAQK,GAlEoBtB,KAGtC,IAAKZ,WAAWa,SACd,OAAO,EAGT,MAAMC,EAAYC,IAAIC,MAAMJ,EAAKZ,WAAWa,SAASI,QAErD,IAAKH,EACH,OAAO,EAGT,MAAMtB,SAAEA,GAAasB,EACrB,OAAOtB,IAAaQ,WAAWa,SAASrB,QAAQ,EAuDnC2C,CAA+BP,IAAUM,EAAME,kBAClDnD,GAAe,EACjB,KAEE8C,EAAUzC,SAEbA,KAEM"}
1
+ {"version":3,"file":"index.mjs","sources":["../link-extra/src//LinkProvider.tsx","../link-extra/src//helpers.ts","../link-extra/src//useLinkExtra.ts","../link-extra/src//Link.tsx"],"sourcesContent":["import Link from 'next/link.js';\nimport { type ComponentType, type ReactNode, createContext, useEffect, useState } from 'react';\nimport { type LinkContextData, type OwnLinkProps } from '#types.js';\n\n// Needs to return explicit value\n// eslint-disable-next-line unicorn/no-useless-undefined\nconst NoopComponent = () => undefined;\n// This is a noop\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst noop = () => {};\n\nexport const LinkContext = createContext<LinkContextData>({\n NextLink: Link,\n OwnLink: NoopComponent,\n setLinkClicked: noop,\n});\n\nexport type LinkProviderProps = {\n LoadingComponent: ComponentType;\n NextLink: typeof Link;\n OwnLink: ComponentType<OwnLinkProps>;\n children: ReactNode | ReactNode[];\n loadingTimeout?: number;\n pathname: string;\n};\n\nlet timeoutId: NodeJS.Timeout | undefined;\n\nexport const LinkProvider = ({\n LoadingComponent,\n NextLink,\n OwnLink,\n children,\n loadingTimeout = 500,\n pathname,\n}: LinkProviderProps) => {\n const [linkClicked, setLinkClicked] = useState<boolean>(false);\n const [showLoading, setShowLoading] = useState<boolean>(false);\n\n useEffect(() => {\n if (linkClicked) {\n timeoutId = setTimeout(() => {\n setShowLoading(true);\n }, loadingTimeout);\n }\n\n return () => {\n clearTimeout(timeoutId);\n };\n // We only want to re-execute when linkClicked changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [linkClicked]);\n\n useEffect(() => {\n if (linkClicked) {\n setLinkClicked(false);\n setShowLoading(false);\n globalThis.scroll(0, 0);\n }\n\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n\n // We only want to re-execute when pathname changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [pathname]);\n\n return (\n <LinkContext.Provider\n value={{\n NextLink,\n OwnLink,\n setLinkClicked: clicked => {\n setLinkClicked(clicked);\n },\n }}\n >\n <>\n {children}\n {showLoading ? <LoadingComponent /> : undefined}\n </>\n </LinkContext.Provider>\n );\n};\n","import randomString from 'randomstring';\n\nexport const doUrlAndLocationMatch = (url: string) => {\n // It is possible for this to be undefined\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!globalThis.location) {\n return false;\n }\n\n const parsedUrl = URL.parse(url, globalThis.location.origin);\n\n if (!parsedUrl) {\n return false;\n }\n\n const { pathname, search } = parsedUrl;\n const urlSearchParams = new URLSearchParams(search);\n\n if (urlSearchParams.has('y')) {\n urlSearchParams.delete('y');\n }\n\n const locationSearchParams = new URLSearchParams(globalThis.location.search);\n\n if (locationSearchParams.has('y')) {\n locationSearchParams.delete('y');\n }\n\n return `${pathname}?${search}` === `${globalThis.location.pathname}?${locationSearchParams.toString()}`;\n};\n\nexport const addCacheBusterQueryParam = (url: string): string => {\n // It is possible for this to be undefined\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!globalThis.location) {\n return url;\n }\n\n const parsedUrl = URL.parse(url, globalThis.location.origin);\n\n if (!parsedUrl) {\n return url;\n }\n\n const locationSearchParams = new URLSearchParams(globalThis.location.search);\n const locationCacheBusterSearchParam = locationSearchParams.get('y');\n\n if (locationCacheBusterSearchParam) {\n locationSearchParams.delete('y');\n }\n\n const { pathname, search } = parsedUrl;\n const searchParams = new URLSearchParams(search);\n\n if (`${pathname}?${search}` === `${globalThis.location.pathname}?${locationSearchParams.toString()}`) {\n searchParams.set('y', locationCacheBusterSearchParam ?? randomString.generate(15));\n } else {\n searchParams.set('y', randomString.generate(15));\n }\n\n return `${pathname}?${searchParams.toString()}`;\n};\n","import { useContext } from 'react';\nimport { type LinkContextData } from '#types.ts';\nimport { LinkContext } from './LinkProvider.tsx';\n\nexport const useLinkExtra = (): LinkContextData => {\n return useContext(LinkContext);\n};\n","import { type AnchorHTMLAttributes, type ReactNode } from 'react';\nimport { addCacheBusterQueryParam, doUrlAndLocationMatch } from '#helpers.ts';\nimport { useLinkExtra } from './useLinkExtra.ts';\n\nexport type LinkProps<T extends object> = {\n children: ReactNode;\n disableRouterCache?: boolean;\n href?: string;\n prefetch?: boolean;\n scroll?: boolean;\n} & AnchorHTMLAttributes<HTMLAnchorElement> &\n T;\n\nexport const Link = <T extends object>({\n children,\n disableRouterCache = true,\n href = '#',\n onClick,\n prefetch = false,\n scroll = false,\n ...otherProps\n}: LinkProps<T>) => {\n const { NextLink, OwnLink, setLinkClicked } = useLinkExtra();\n\n if (disableRouterCache) {\n href = addCacheBusterQueryParam(href);\n }\n\n return (\n // @ts-expect-error Nextjs types wrong for nodenext\n <NextLink href={href} legacyBehavior passHref prefetch={prefetch} scroll={scroll}>\n <OwnLink\n onClick={event => {\n if (onClick) {\n onClick(event);\n }\n\n if (!doUrlAndLocationMatch(href) && !event.defaultPrevented) {\n setLinkClicked(true);\n }\n }}\n {...otherProps}\n >\n {children}\n </OwnLink>\n </NextLink>\n );\n};\n"],"names":["LinkContext","createContext","NextLink","Link","OwnLink","NoopComponent","setLinkClicked","noop","timeoutId","LinkProvider","LoadingComponent","children","loadingTimeout","pathname","linkClicked","useState","showLoading","setShowLoading","useEffect","setTimeout","clearTimeout","globalThis","scroll","_jsx","Provider","value","clicked","_jsxs","_Fragment","undefined","doUrlAndLocationMatch","url","location","parsedUrl","URL","parse","origin","search","urlSearchParams","URLSearchParams","has","delete","locationSearchParams","toString","addCacheBusterQueryParam","locationCacheBusterSearchParam","get","searchParams","set","randomString","generate","useLinkExtra","useContext","disableRouterCache","href","onClick","prefetch","otherProps","legacyBehavior","passHref","event","defaultPrevented"],"mappings":"uZAMA,MAKaA,EAAcC,EAA+B,CACxDC,SAAUC,EACVC,QAPoBC,KAAe,EAQnCC,eALWC,SAiBb,IAAIC,EAEG,MAAMC,EAAeA,EAC1BC,mBACAR,WACAE,UACAO,WACAC,iBAAiB,IACjBC,eAEA,MAAOC,EAAaR,GAAkBS,GAAkB,IACjDC,EAAaC,GAAkBF,GAAkB,GA+BxD,OA7BAG,GAAU,KACJJ,IACFN,EAAYW,YAAW,KACrBF,GAAe,EAAK,GACnBL,IAGE,KACLQ,aAAaZ,EAAU,IAIxB,CAACM,IAEJI,GAAU,KACJJ,IACFR,GAAe,GACfW,GAAe,GACfI,WAAWC,OAAO,EAAG,IAGnBd,GACFY,aAAaZ,EACf,GAIC,CAACK,IAGFU,EAACvB,EAAYwB,SAAQ,CACnBC,MAAO,CACLvB,WACAE,UACAE,eAAgBoB,IACdpB,EAAeoB,EAAQ,GAEzBf,SAEFgB,EAAAC,EAAA,CAAAjB,SAAA,CACGA,EACAK,EAAcO,EAACb,EAAgB,CAAE,QAAImB,MAEnB,EChFdC,EAAyBC,IAGpC,IAAKV,WAAWW,SACd,OAAO,EAGT,MAAMC,EAAYC,IAAIC,MAAMJ,EAAKV,WAAWW,SAASI,QAErD,IAAKH,EACH,OAAO,EAGT,MAAMpB,SAAEA,EAAQwB,OAAEA,GAAWJ,EACvBK,EAAkB,IAAIC,gBAAgBF,GAExCC,EAAgBE,IAAI,MACtBF,EAAgBG,OAAO,KAGzB,MAAMC,EAAuB,IAAIH,gBAAgBlB,WAAWW,SAASK,QAMrE,OAJIK,EAAqBF,IAAI,MAC3BE,EAAqBD,OAAO,KAGvB,GAAG5B,KAAYwB,KAAa,GAAGhB,WAAWW,SAASnB,YAAY6B,EAAqBC,YAAY,EAG5FC,EAA4Bb,IAGvC,IAAKV,WAAWW,SACd,OAAOD,EAGT,MAAME,EAAYC,IAAIC,MAAMJ,EAAKV,WAAWW,SAASI,QAErD,IAAKH,EACH,OAAOF,EAGT,MAAMW,EAAuB,IAAIH,gBAAgBlB,WAAWW,SAASK,QAC/DQ,EAAiCH,EAAqBI,IAAI,KAE5DD,GACFH,EAAqBD,OAAO,KAG9B,MAAM5B,SAAEA,EAAQwB,OAAEA,GAAWJ,EACvBc,EAAe,IAAIR,gBAAgBF,GAQzC,MANI,GAAGxB,KAAYwB,KAAa,GAAGhB,WAAWW,SAASnB,YAAY6B,EAAqBC,aACtFI,EAAaC,IAAI,IAAKH,GAAkCI,EAAaC,SAAS,KAE9EH,EAAaC,IAAI,IAAKC,EAAaC,SAAS,KAGvC,GAAGrC,KAAYkC,EAAaJ,YAAY,ECxDpCQ,EAAeA,IACnBC,EAAWpD,GCQPG,EAAOA,EAClBQ,WACA0C,sBAAqB,EACrBC,OAAO,IACPC,UACAC,YAAW,EACXlC,UAAS,KACNmC,MAEH,MAAMvD,SAAEA,EAAQE,QAAEA,EAAOE,eAAEA,GAAmB6C,IAM9C,OAJIE,IACFC,EAAOV,EAAyBU,IAKhC/B,EAACrB,EAAQ,CAACoD,KAAMA,EAAMI,gBAAc,EAACC,UAAQ,EAACH,SAAUA,EAAUlC,OAAQA,EAAOX,SAC/EY,EAACnB,EAAO,CACNmD,QAASK,IACHL,GACFA,EAAQK,GAGL9B,EAAsBwB,IAAUM,EAAMC,kBACzCvD,GAAe,EACjB,KAEEmD,EAAU9C,SAEbA,KAEM"}
@@ -1,36 +1,46 @@
1
1
  -----------------------------
2
2
  Rollup File Analysis
3
3
  -----------------------------
4
- bundle size: 2.998 KB
5
- original size: 4.841 KB
6
- code reduction: 38.07 %
7
- module count: 4
4
+ bundle size: 3.473 KB
5
+ original size: 5.521 KB
6
+ code reduction: 37.09 %
7
+ module count: 5
8
8
 
9
- ████████████████████████████░░░░░░░░░░░░░░░░░░░░░░
10
- file: /src/Link.tsx
11
- bundle space: 56.94 %
12
- rendered size: 1.707 KB
13
- original size: 2.365 KB
14
- code reduction: 27.82 %
15
- dependents: 1
9
+ █████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
10
+ file: /src/helpers.ts
11
+ bundle space: 43.08 %
12
+ rendered size: 1.496 KB
13
+ original size: 1.814 KB
14
+ code reduction: 17.53 %
15
+ dependents: 2
16
+ - /src/Link.tsx
16
17
  - /src/index.ts
17
18
 
18
- ████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
19
+ ████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
19
20
  file: /src/LinkProvider.tsx
20
- bundle space: 40.69 %
21
- rendered size: 1.22 KB
22
- original size: 2.122 KB
23
- code reduction: 42.51 %
21
+ bundle space: 33 %
22
+ rendered size: 1.146 KB
23
+ original size: 2.107 KB
24
+ code reduction: 45.61 %
24
25
  dependents: 2
25
26
  - /src/useLinkExtra.ts
26
27
  - /src/index.ts
27
28
 
28
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
29
+ ███████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
30
+ file: /src/Link.tsx
31
+ bundle space: 22.06 %
32
+ rendered size: 766 Bytes
33
+ original size: 1.216 KB
34
+ code reduction: 37.01 %
35
+ dependents: 1
36
+ - /src/index.ts
37
+
38
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
29
39
  file: /src/useLinkExtra.ts
30
- bundle space: 2.37 %
31
- rendered size: 71 Bytes
40
+ bundle space: 1.87 %
41
+ rendered size: 65 Bytes
32
42
  original size: 227 Bytes
33
- code reduction: 68.72 %
43
+ code reduction: 71.37 %
34
44
  dependents: 2
35
45
  - /src/Link.tsx
36
46
  - /src/index.ts
@@ -39,7 +49,7 @@ dependents: 2
39
49
  file: /src/index.ts
40
50
  bundle space: 0 %
41
51
  rendered size: 0 Byte
42
- original size: 127 Bytes
52
+ original size: 157 Bytes
43
53
  code reduction: 100 %
44
54
  dependents: 0
45
55
 
@@ -6,6 +6,5 @@ export type LinkProps<T extends object> = {
6
6
  prefetch?: boolean;
7
7
  scroll?: boolean;
8
8
  } & AnchorHTMLAttributes<HTMLAnchorElement> & T;
9
- export declare const addCacheBusterQueryParam: (url: string) => string;
10
9
  export declare const Link: <T extends object>({ children, disableRouterCache, href, onClick, prefetch, scroll, ...otherProps }: LinkProps<T>) => import("react/jsx-runtime").JSX.Element;
11
10
  //# sourceMappingURL=Link.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.cts","sourceRoot":"","sources":["../../../src/Link.ctsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IAAI;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GACzC,CAAC,CAAC;AAmBJ,eAAO,MAAM,wBAAwB,QAAS,MAAM,KAAG,MA0BtD,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,oFAQlC,SAAS,CAAC,CAAC,CAAC,4CA0Bd,CAAC"}
1
+ {"version":3,"file":"Link.d.cts","sourceRoot":"","sources":["../../../src/Link.ctsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlE,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IAAI;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GACzC,CAAC,CAAC;AAEJ,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,oFAQlC,SAAS,CAAC,CAAC,CAAC,4CA0Bd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LinkProvider.d.cts","sourceRoot":"","sources":["../../../src/LinkProvider.ctsx"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAsC,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AASpE,eAAO,MAAM,WAAW,0CAItB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,aAAa,CAAC;IAChC,QAAQ,EAAE,OAAO,IAAI,CAAC;IACtB,OAAO,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACrC,QAAQ,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,eAAO,MAAM,YAAY,iFAOtB,iBAAiB,4CAiDnB,CAAC"}
1
+ {"version":3,"file":"LinkProvider.d.cts","sourceRoot":"","sources":["../../../src/LinkProvider.ctsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAsC,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AASpE,eAAO,MAAM,WAAW,0CAItB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,aAAa,CAAC;IAChC,QAAQ,EAAE,OAAO,IAAI,CAAC;IACtB,OAAO,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACrC,QAAQ,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,eAAO,MAAM,YAAY,iFAOtB,iBAAiB,4CAiDnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const doUrlAndLocationMatch: (url: string) => boolean;
2
+ export declare const addCacheBusterQueryParam: (url: string) => string;
3
+ //# sourceMappingURL=helpers.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.cts","sourceRoot":"","sources":["../../../src/helpers.cts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,QAAS,MAAM,YA2BhD,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAAS,MAAM,KAAG,MA8BtD,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export * from './LinkProvider.ctsx';
2
2
  export * from './Link.ctsx';
3
+ export * from './helpers.cts';
3
4
  export * from './types.cts';
4
5
  export * from './useLinkExtra.cts';
5
6
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/index.cts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/index.cts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC"}
@@ -6,6 +6,5 @@ export type LinkProps<T extends object> = {
6
6
  prefetch?: boolean;
7
7
  scroll?: boolean;
8
8
  } & AnchorHTMLAttributes<HTMLAnchorElement> & T;
9
- export declare const addCacheBusterQueryParam: (url: string) => string;
10
9
  export declare const Link: <T extends object>({ children, disableRouterCache, href, onClick, prefetch, scroll, ...otherProps }: LinkProps<T>) => import("react/jsx-runtime").JSX.Element;
11
10
  //# sourceMappingURL=Link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/Link.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IAAI;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GACzC,CAAC,CAAC;AAmBJ,eAAO,MAAM,wBAAwB,QAAS,MAAM,KAAG,MA0BtD,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,oFAQlC,SAAS,CAAC,CAAC,CAAC,4CA0Bd,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlE,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IAAI;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GACzC,CAAC,CAAC;AAEJ,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,oFAQlC,SAAS,CAAC,CAAC,CAAC,4CA0Bd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LinkProvider.d.ts","sourceRoot":"","sources":["../../../src/LinkProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAsC,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AASpE,eAAO,MAAM,WAAW,0CAItB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,aAAa,CAAC;IAChC,QAAQ,EAAE,OAAO,IAAI,CAAC;IACtB,OAAO,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACrC,QAAQ,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,eAAO,MAAM,YAAY,iFAOtB,iBAAiB,4CAiDnB,CAAC"}
1
+ {"version":3,"file":"LinkProvider.d.ts","sourceRoot":"","sources":["../../../src/LinkProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAsC,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AASpE,eAAO,MAAM,WAAW,0CAItB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,aAAa,CAAC;IAChC,QAAQ,EAAE,OAAO,IAAI,CAAC;IACtB,OAAO,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACrC,QAAQ,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,eAAO,MAAM,YAAY,iFAOtB,iBAAiB,4CAiDnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const doUrlAndLocationMatch: (url: string) => boolean;
2
+ export declare const addCacheBusterQueryParam: (url: string) => string;
3
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,QAAS,MAAM,YA2BhD,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAAS,MAAM,KAAG,MA8BtD,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export * from './LinkProvider.tsx';
2
2
  export * from './Link.tsx';
3
+ export * from './helpers.ts';
3
4
  export * from './types.ts';
4
5
  export * from './useLinkExtra.ts';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"fileNames":["../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.webworker.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/.pnpm/@types+react@18.3.18/node_modules/@types/react/global.d.ts","../../../../node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","../../../../node_modules/.pnpm/@types+prop-types@15.7.14/node_modules/@types/prop-types/index.d.ts","../../../../node_modules/.pnpm/@types+react@18.3.18/node_modules/@types/react/index.d.ts","../../../../node_modules/.pnpm/@types+react@18.3.18/node_modules/@types/react/jsx-runtime.d.ts","../../../../node_modules/.pnpm/@types+randomstring@1.3.0/node_modules/@types/randomstring/index.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/compatibility/disposable.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/compatibility/indexable.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/compatibility/index.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/header.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/readable.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/file.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/fetch.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/formdata.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/connector.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/client.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/errors.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/global-origin.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/pool.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/handlers.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-client.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/api.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/interceptors.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/util.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/cookies.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/patch.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/websocket.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/eventsource.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/filereader.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/content-type.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/cache.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/index.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/globals.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/assert.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/buffer.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/child_process.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/cluster.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/console.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/constants.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/crypto.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/dgram.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/dns.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/domain.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/dom-events.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/events.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/fs.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/http.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/http2.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/https.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/inspector.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/module.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/net.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/os.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/path.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/process.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/punycode.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/querystring.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/readline.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/repl.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/sea.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/sqlite.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/stream.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/stream/web.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/test.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/timers.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/tls.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/trace_events.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/tty.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/url.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/util.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/v8.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/vm.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/wasi.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/zlib.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/index.d.ts","../../../../node_modules/.pnpm/next@13.5.8_@babel+core@7.26.9_babel-plugin-macros@3.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/link.d.ts","../../../../node_modules/.pnpm/next@13.5.8_@babel+core@7.26.9_babel-plugin-macros@3.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/link.d.ts","../../src/types.ts","../../src/LinkProvider.tsx","../../src/useLinkExtra.ts","../../src/Link.tsx","../../src/index.ts","../../../../node_modules/.pnpm/@types+react-dom@18.3.5_@types+react@18.3.18/node_modules/@types/react-dom/index.d.ts","../../../../node_modules/.pnpm/@types+estree@1.0.6/node_modules/@types/estree/index.d.ts","../../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts","../../../../node_modules/.pnpm/@types+eslint@9.6.1/node_modules/@types/eslint/use-at-your-own-risk.d.ts","../../../../node_modules/.pnpm/@types+eslint@9.6.1/node_modules/@types/eslint/index.d.ts","../../../../node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../../node_modules/.pnpm/@sinclair+typebox@0.27.8/node_modules/@sinclair/typebox/typebox.d.ts","../../../../node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../../node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../../node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../../node_modules/.pnpm/@types+jest@29.5.14/node_modules/@types/jest/index.d.ts"],"fileIdsList":[[92,135],[92,135,200],[92,135,194,195,196],[92,135,197],[92,135,202,205],[92,132,135],[92,134,135],[135],[92,135,140,170],[92,135,136,141,147,148,155,167,178],[92,135,136,137,147,155],[87,88,89,92,135],[92,135,138,179],[92,135,139,140,148,156],[92,135,140,167,175],[92,135,141,143,147,155],[92,134,135,142],[92,135,143,144],[92,135,147],[92,135,145,147],[92,134,135,147],[92,135,147,148,149,167,178],[92,135,147,148,149,162,167,170],[92,130,135,183],[92,130,135,143,147,150,155,167,178],[92,135,147,148,150,151,155,167,175,178],[92,135,150,152,167,175,178],[90,91,92,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],[92,135,147,153],[92,135,154,178],[92,135,143,147,155,167],[92,135,156],[92,135,157],[92,134,135,158],[92,132,133,134,135,136,137,138,139,140,141,142,143,144,145,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],[92,135,160],[92,135,161],[92,135,147,162,163],[92,135,162,164,179,181],[92,135,147,167,168,169,170],[92,135,167,169],[92,135,167,168],[92,135,170],[92,135,171],[92,132,135,167],[92,135,147,173,174],[92,135,173,174],[92,135,140,155,167,175],[92,135,176],[92,135,155,177],[92,135,150,161,178],[92,135,140,179],[92,135,167,180],[92,135,154,181],[92,135,182],[92,135,140,147,149,158,167,178,181,183],[92,135,167,184],[84,92,135],[81,82,83,92,135],[92,135,198,204],[92,135,202],[92,135,199,203],[84,92,135,178,185],[92,135,186],[92,135,201],[92,102,106,135,178],[92,102,135,167,178],[92,97,135],[92,99,102,135,175,178],[92,135,155,175],[92,135,185],[92,97,135,185],[92,99,102,135,155,178],[92,94,95,98,101,135,147,167,178],[92,102,109,135],[92,94,100,135],[92,102,123,124,135],[92,98,102,135,170,178,185],[92,123,135,185],[92,96,97,135,185],[92,102,135],[92,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,124,125,126,127,128,129,135],[92,102,117,135],[92,102,109,110,135],[92,100,102,110,111,135],[92,101,135],[92,94,97,102,135],[92,102,106,110,111,135],[92,106,135],[92,100,102,105,135,178],[92,94,99,102,109,135],[92,135,167],[92,97,102,123,135,183,185],[84,85,86,92,135,190],[84,85,92,135,187,188],[85,92,135,188,189,190,191],[84,85,92,135,187],[84,85,92,135,188,189]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"e12a46ce14b817d4c9e6b2b478956452330bf00c9801b79de46f7a1815b5bd40","impliedFormat":1},{"version":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"69e65d976bf166ce4a9e6f6c18f94d2424bf116e90837ace179610dbccad9b42","affectsGlobalScope":true,"impliedFormat":1},{"version":"35b3160b7e8925d6f4754642efbfe5db73ad2a4b3bec7f570f57fc38705d5f0f","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"bab26767638ab3557de12c900f0b91f710c7dc40ee9793d5a27d32c04f0bf646","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"65ff5a0aefd7817a03c1ad04fee85c9cdd3ec415cc3c9efec85d8008d4d5e4ee","impliedFormat":1},{"version":"b89c2ddec6bd955e8721d41e24ca667de06882338d88b183c2cdc1f41f4c5a34","affectsGlobalScope":true,"impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"c4bc8fe7ddad1fa5d25e7f37b0e406805eeea7745d2821cc9465b287d52b02f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"13af9e8fb6757946c48117315866177b95e554d1e773577bb6ca6e40083b6d73","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4f0539c58717cbc8b73acb29f9e992ab5ff20adba5f9b57130691c7f9b186a4d","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0","impliedFormat":1},{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"86956cc2eb9dd371d6fab493d326a574afedebf76eef3fa7833b8e0d9b52d6f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ff5a53a58e756d2661b73ba60ffe274231a4432d21f7a2d0d9e4f6aa99f4283","impliedFormat":1},{"version":"1e289f30a48126935a5d408a91129a13a59c9b0f8c007a816f9f16ef821e144e","impliedFormat":1},{"version":"2ea254f944dfe131df1264d1fb96e4b1f7d110195b21f1f5dbb68fdd394e5518","impliedFormat":1},{"version":"5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","impliedFormat":1},{"version":"4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","impliedFormat":1},{"version":"6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6","impliedFormat":1},{"version":"b11cb909327c874a4e81bfb390bf0d231e5bf9439052689ab80ba8afa50da17b","affectsGlobalScope":true,"impliedFormat":1},{"version":"23459c1915878a7c1e86e8bdb9c187cddd3aea105b8b1dfce512f093c969bc7e","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f6f1d54779d0b9ed152b0516b0958cd34889764c1190434bbf18e7a8bb884cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","impliedFormat":1},{"version":"fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"f7b1df115dbd1b8522cba4f404a9f4fdcd5169e2137129187ffeee9d287e4fd1","impliedFormat":1},{"version":"b52d379b4939681f3781d1cfd5b2c3cbb35e7e76f2425172e165782f8a08228c","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"993985beef40c7d113f6dd8f0ba26eed63028b691fbfeb6a5b63f26408dd2c6d","affectsGlobalScope":true,"impliedFormat":1},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","impliedFormat":1},{"version":"5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb094bb347d7df3380299eb69836c2c8758626ecf45917577707c03cf816b6f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","impliedFormat":1},{"version":"b02784111b3fc9c38590cd4339ff8718f9329a6f4d3fd66e9744a1dcd1d7e191","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true,"impliedFormat":1},{"version":"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1},{"version":"5d26aae738fa3efc87c24f6e5ec07c54694e6bcf431cc38d3da7576d6bb35bd6","impliedFormat":1},{"version":"cdf21eee8007e339b1b9945abf4a7b44930b1d695cc528459e68a3adc39a622e","impliedFormat":1},{"version":"31751d3c51e16963a8276466bce83143d8a66e1a708896b463c0c45f1a6cec8c","signature":"d09a968f5109f5f893301df9428019e4be67110ede0b19c5a372465c38777a83","impliedFormat":99},{"version":"5b1c49fb7d6188b71afd75f7eb5a2ffb1d59e2d74901d7b4940e3c2e2e785371","signature":"1dd429d019abd9c90daa6837ea7cfb42b7ecf53d411700261c32b2a04c8142b8","impliedFormat":99},{"version":"d0454ad48a9efa5de6d931e0e4bea8de5571fb93942ba17829588fa2f37188fb","signature":"fafd473b9743d2d79a1ead3916348114bf448d0af80ca64fa8e64bd72a1539a7","impliedFormat":99},{"version":"3be1eaa10fa30c87d185aa303727d909e719ac566e167b96042fb5e73e6b4886","signature":"bd136233dba0b9cb77aeb2bd29fa5be66385c1c967596005d7584a5d5e9eb945","impliedFormat":99},{"version":"380e5b7e47c62e3e602ff8a78776651b66afea18c3505c3c0c0f7cf810a19236","impliedFormat":99},{"version":"17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f","impliedFormat":1},{"version":"785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"a4a39b5714adfcadd3bbea6698ca2e942606d833bde62ad5fb6ec55f5e438ff8","impliedFormat":1},{"version":"bbc1d029093135d7d9bfa4b38cbf8761db505026cc458b5e9c8b74f4000e5e75","impliedFormat":1},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"f8db4fea512ab759b2223b90ecbbe7dae919c02f8ce95ec03f7fb1cf757cfbeb","affectsGlobalScope":true,"impliedFormat":1}],"root":[[188,192]],"options":{"allowImportingTsExtensions":true,"allowSyntheticDefaultImports":true,"allowUnreachableCode":false,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./esm","rootDir":"../../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99,"verbatimModuleSyntax":true},"referencedMap":[[198,1],[201,2],[200,1],[197,3],[196,4],[194,1],[206,5],[195,1],[132,6],[133,6],[134,7],[92,8],[135,9],[136,10],[137,11],[87,1],[90,12],[88,1],[89,1],[138,13],[139,14],[140,15],[141,16],[142,17],[143,18],[144,18],[146,19],[145,20],[147,21],[148,22],[149,23],[131,24],[91,1],[150,25],[151,26],[152,27],[185,28],[153,29],[154,30],[155,31],[156,32],[157,33],[158,34],[159,35],[160,36],[161,37],[162,38],[163,38],[164,39],[165,1],[166,1],[167,40],[169,41],[168,42],[170,43],[171,44],[172,45],[173,46],[174,47],[175,48],[176,49],[177,50],[178,51],[179,52],[180,53],[181,54],[182,55],[183,56],[184,57],[83,1],[86,1],[193,58],[81,1],[84,59],[85,58],[93,1],[199,1],[82,1],[205,60],[203,61],[204,62],[186,63],[187,64],[202,65],[79,1],[80,1],[13,1],[14,1],[18,1],[17,1],[2,1],[19,1],[20,1],[21,1],[22,1],[23,1],[24,1],[25,1],[26,1],[3,1],[27,1],[28,1],[4,1],[29,1],[33,1],[30,1],[31,1],[32,1],[34,1],[35,1],[36,1],[5,1],[37,1],[38,1],[39,1],[40,1],[6,1],[44,1],[41,1],[42,1],[43,1],[45,1],[7,1],[46,1],[51,1],[52,1],[47,1],[48,1],[49,1],[50,1],[8,1],[56,1],[53,1],[54,1],[55,1],[57,1],[9,1],[58,1],[59,1],[60,1],[62,1],[61,1],[63,1],[64,1],[10,1],[65,1],[66,1],[67,1],[11,1],[68,1],[69,1],[70,1],[71,1],[72,1],[1,1],[73,1],[74,1],[12,1],[77,1],[76,1],[75,1],[78,1],[16,1],[15,1],[109,66],[119,67],[108,66],[129,68],[100,69],[99,70],[128,71],[122,72],[127,73],[102,74],[116,75],[101,76],[125,77],[97,78],[96,71],[126,79],[98,80],[103,81],[104,1],[107,81],[94,1],[130,82],[120,83],[111,84],[112,85],[114,86],[110,87],[113,88],[123,71],[105,89],[106,90],[115,91],[95,92],[118,83],[117,81],[121,1],[124,93],[191,94],[189,95],[192,96],[188,97],[190,98]],"latestChangedDtsFile":"./esm/index.d.ts","version":"5.7.3"}
1
+ {"fileNames":["../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.webworker.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/.pnpm/@types+react@18.3.18/node_modules/@types/react/global.d.ts","../../../../node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","../../../../node_modules/.pnpm/@types+prop-types@15.7.14/node_modules/@types/prop-types/index.d.ts","../../../../node_modules/.pnpm/@types+react@18.3.18/node_modules/@types/react/index.d.ts","../../../../node_modules/.pnpm/@types+react@18.3.18/node_modules/@types/react/jsx-runtime.d.ts","../../../../node_modules/.pnpm/@types+randomstring@1.3.0/node_modules/@types/randomstring/index.d.ts","../../src/helpers.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/compatibility/disposable.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/compatibility/indexable.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/compatibility/index.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/header.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/readable.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/file.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/fetch.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/formdata.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/connector.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/client.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/errors.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/global-origin.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/pool.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/handlers.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-client.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/api.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/interceptors.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/util.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/cookies.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/patch.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/websocket.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/eventsource.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/filereader.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/content-type.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/cache.d.ts","../../../../node_modules/.pnpm/undici-types@6.20.0/node_modules/undici-types/index.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/globals.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/assert.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/buffer.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/child_process.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/cluster.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/console.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/constants.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/crypto.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/dgram.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/dns.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/domain.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/dom-events.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/events.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/fs.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/http.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/http2.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/https.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/inspector.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/module.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/net.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/os.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/path.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/process.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/punycode.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/querystring.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/readline.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/repl.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/sea.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/sqlite.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/stream.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/stream/web.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/test.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/timers.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/tls.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/trace_events.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/tty.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/url.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/util.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/v8.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/vm.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/wasi.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/zlib.d.ts","../../../../node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/index.d.ts","../../../../node_modules/.pnpm/next@13.5.8_@babel+core@7.26.9_babel-plugin-macros@3.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/link.d.ts","../../../../node_modules/.pnpm/next@13.5.8_@babel+core@7.26.9_babel-plugin-macros@3.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/link.d.ts","../../src/types.ts","../../src/LinkProvider.tsx","../../src/useLinkExtra.ts","../../src/Link.tsx","../../src/index.ts","../../../../node_modules/.pnpm/@types+react-dom@18.3.5_@types+react@18.3.18/node_modules/@types/react-dom/index.d.ts","../../../../node_modules/.pnpm/@types+estree@1.0.6/node_modules/@types/estree/index.d.ts","../../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts","../../../../node_modules/.pnpm/@types+eslint@9.6.1/node_modules/@types/eslint/use-at-your-own-risk.d.ts","../../../../node_modules/.pnpm/@types+eslint@9.6.1/node_modules/@types/eslint/index.d.ts","../../../../node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../../node_modules/.pnpm/@sinclair+typebox@0.27.8/node_modules/@sinclair/typebox/typebox.d.ts","../../../../node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../../node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../../node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../../node_modules/.pnpm/@types+jest@29.5.14/node_modules/@types/jest/index.d.ts"],"fileIdsList":[[93,136],[93,136,201],[93,136,195,196,197],[93,136,198],[93,136,203,206],[93,133,136],[93,135,136],[136],[93,136,141,171],[93,136,137,142,148,149,156,168,179],[93,136,137,138,148,156],[88,89,90,93,136],[93,136,139,180],[93,136,140,141,149,157],[93,136,141,168,176],[93,136,142,144,148,156],[93,135,136,143],[93,136,144,145],[93,136,148],[93,136,146,148],[93,135,136,148],[93,136,148,149,150,168,179],[93,136,148,149,150,163,168,171],[93,131,136,184],[93,131,136,144,148,151,156,168,179],[93,136,148,149,151,152,156,168,176,179],[93,136,151,153,168,176,179],[91,92,93,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185],[93,136,148,154],[93,136,155,179],[93,136,144,148,156,168],[93,136,157],[93,136,158],[93,135,136,159],[93,133,134,135,136,137,138,139,140,141,142,143,144,145,146,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185],[93,136,161],[93,136,162],[93,136,148,163,164],[93,136,163,165,180,182],[93,136,148,168,169,170,171],[93,136,168,170],[93,136,168,169],[93,136,171],[93,136,172],[93,133,136,168],[93,136,148,174,175],[93,136,174,175],[93,136,141,156,168,176],[93,136,177],[93,136,156,178],[93,136,151,162,179],[93,136,141,180],[93,136,168,181],[93,136,155,182],[93,136,183],[93,136,141,148,150,159,168,179,182,184],[93,136,168,185],[84,93,136],[81,82,83,93,136],[93,136,199,205],[93,136,203],[93,136,200,204],[84,93,136,179,186],[93,136,187],[93,136,202],[93,103,107,136,179],[93,103,136,168,179],[93,98,136],[93,100,103,136,176,179],[93,136,156,176],[93,136,186],[93,98,136,186],[93,100,103,136,156,179],[93,95,96,99,102,136,148,168,179],[93,103,110,136],[93,95,101,136],[93,103,124,125,136],[93,99,103,136,171,179,186],[93,124,136,186],[93,97,98,136,186],[93,103,136],[93,97,98,99,100,101,102,103,104,105,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,125,126,127,128,129,130,136],[93,103,118,136],[93,103,110,111,136],[93,101,103,111,112,136],[93,102,136],[93,95,98,103,136],[93,103,107,111,112,136],[93,107,136],[93,101,103,106,136,179],[93,95,100,103,110,136],[93,136,168],[93,98,103,124,136,184,186],[84,85,87,93,136,191],[84,85,93,136,188,189],[85,86,93,136],[85,87,93,136,189,190,191,192],[84,85,93,136,188],[84,85,93,136,189,190]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"e12a46ce14b817d4c9e6b2b478956452330bf00c9801b79de46f7a1815b5bd40","impliedFormat":1},{"version":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"69e65d976bf166ce4a9e6f6c18f94d2424bf116e90837ace179610dbccad9b42","affectsGlobalScope":true,"impliedFormat":1},{"version":"35b3160b7e8925d6f4754642efbfe5db73ad2a4b3bec7f570f57fc38705d5f0f","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"bab26767638ab3557de12c900f0b91f710c7dc40ee9793d5a27d32c04f0bf646","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"65ff5a0aefd7817a03c1ad04fee85c9cdd3ec415cc3c9efec85d8008d4d5e4ee","impliedFormat":1},{"version":"b89c2ddec6bd955e8721d41e24ca667de06882338d88b183c2cdc1f41f4c5a34","affectsGlobalScope":true,"impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"c4bc8fe7ddad1fa5d25e7f37b0e406805eeea7745d2821cc9465b287d52b02f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"199d4ce46067f4fe5807a1c3669446fc1cfe202901d84f1ce1efb29273e8463e","signature":"1619f6a15bdb2876210f51109c78731feee8a1afc4e5bc1eb5a3790f33c417cc","impliedFormat":99},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"13af9e8fb6757946c48117315866177b95e554d1e773577bb6ca6e40083b6d73","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4f0539c58717cbc8b73acb29f9e992ab5ff20adba5f9b57130691c7f9b186a4d","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0","impliedFormat":1},{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"86956cc2eb9dd371d6fab493d326a574afedebf76eef3fa7833b8e0d9b52d6f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ff5a53a58e756d2661b73ba60ffe274231a4432d21f7a2d0d9e4f6aa99f4283","impliedFormat":1},{"version":"1e289f30a48126935a5d408a91129a13a59c9b0f8c007a816f9f16ef821e144e","impliedFormat":1},{"version":"2ea254f944dfe131df1264d1fb96e4b1f7d110195b21f1f5dbb68fdd394e5518","impliedFormat":1},{"version":"5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","impliedFormat":1},{"version":"4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","impliedFormat":1},{"version":"6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6","impliedFormat":1},{"version":"b11cb909327c874a4e81bfb390bf0d231e5bf9439052689ab80ba8afa50da17b","affectsGlobalScope":true,"impliedFormat":1},{"version":"23459c1915878a7c1e86e8bdb9c187cddd3aea105b8b1dfce512f093c969bc7e","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f6f1d54779d0b9ed152b0516b0958cd34889764c1190434bbf18e7a8bb884cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","impliedFormat":1},{"version":"fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"f7b1df115dbd1b8522cba4f404a9f4fdcd5169e2137129187ffeee9d287e4fd1","impliedFormat":1},{"version":"b52d379b4939681f3781d1cfd5b2c3cbb35e7e76f2425172e165782f8a08228c","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"993985beef40c7d113f6dd8f0ba26eed63028b691fbfeb6a5b63f26408dd2c6d","affectsGlobalScope":true,"impliedFormat":1},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","impliedFormat":1},{"version":"5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb094bb347d7df3380299eb69836c2c8758626ecf45917577707c03cf816b6f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","impliedFormat":1},{"version":"b02784111b3fc9c38590cd4339ff8718f9329a6f4d3fd66e9744a1dcd1d7e191","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true,"impliedFormat":1},{"version":"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1},{"version":"5d26aae738fa3efc87c24f6e5ec07c54694e6bcf431cc38d3da7576d6bb35bd6","impliedFormat":1},{"version":"cdf21eee8007e339b1b9945abf4a7b44930b1d695cc528459e68a3adc39a622e","impliedFormat":1},{"version":"31751d3c51e16963a8276466bce83143d8a66e1a708896b463c0c45f1a6cec8c","signature":"d09a968f5109f5f893301df9428019e4be67110ede0b19c5a372465c38777a83","impliedFormat":99},{"version":"39b9ee1a05cee2f5ae235fda679f8564a76217b4c65a732b53959389e1c563af","signature":"1dd429d019abd9c90daa6837ea7cfb42b7ecf53d411700261c32b2a04c8142b8","impliedFormat":99},{"version":"d0454ad48a9efa5de6d931e0e4bea8de5571fb93942ba17829588fa2f37188fb","signature":"fafd473b9743d2d79a1ead3916348114bf448d0af80ca64fa8e64bd72a1539a7","impliedFormat":99},{"version":"519741ac39df98105d18ad05901b8caa54de770a28c418b9ed6a24db84631329","signature":"25f81e367e0e0d53a54b99a68722f2a9d46d0ccf4086961e76fec009a211781e","impliedFormat":99},{"version":"df45795f7e9acfbfa7e6c02165bed25c787339cd11f5cc669a0a1c95ff7cdce1","impliedFormat":99},{"version":"17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f","impliedFormat":1},{"version":"785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"a4a39b5714adfcadd3bbea6698ca2e942606d833bde62ad5fb6ec55f5e438ff8","impliedFormat":1},{"version":"bbc1d029093135d7d9bfa4b38cbf8761db505026cc458b5e9c8b74f4000e5e75","impliedFormat":1},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"f8db4fea512ab759b2223b90ecbbe7dae919c02f8ce95ec03f7fb1cf757cfbeb","affectsGlobalScope":true,"impliedFormat":1}],"root":[87,[189,193]],"options":{"allowImportingTsExtensions":true,"allowSyntheticDefaultImports":true,"allowUnreachableCode":false,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./esm","rootDir":"../../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99,"verbatimModuleSyntax":true},"referencedMap":[[199,1],[202,2],[201,1],[198,3],[197,4],[195,1],[207,5],[196,1],[133,6],[134,6],[135,7],[93,8],[136,9],[137,10],[138,11],[88,1],[91,12],[89,1],[90,1],[139,13],[140,14],[141,15],[142,16],[143,17],[144,18],[145,18],[147,19],[146,20],[148,21],[149,22],[150,23],[132,24],[92,1],[151,25],[152,26],[153,27],[186,28],[154,29],[155,30],[156,31],[157,32],[158,33],[159,34],[160,35],[161,36],[162,37],[163,38],[164,38],[165,39],[166,1],[167,1],[168,40],[170,41],[169,42],[171,43],[172,44],[173,45],[174,46],[175,47],[176,48],[177,49],[178,50],[179,51],[180,52],[181,53],[182,54],[183,55],[184,56],[185,57],[83,1],[86,1],[194,58],[81,1],[84,59],[85,58],[94,1],[200,1],[82,1],[206,60],[204,61],[205,62],[187,63],[188,64],[203,65],[79,1],[80,1],[13,1],[14,1],[18,1],[17,1],[2,1],[19,1],[20,1],[21,1],[22,1],[23,1],[24,1],[25,1],[26,1],[3,1],[27,1],[28,1],[4,1],[29,1],[33,1],[30,1],[31,1],[32,1],[34,1],[35,1],[36,1],[5,1],[37,1],[38,1],[39,1],[40,1],[6,1],[44,1],[41,1],[42,1],[43,1],[45,1],[7,1],[46,1],[51,1],[52,1],[47,1],[48,1],[49,1],[50,1],[8,1],[56,1],[53,1],[54,1],[55,1],[57,1],[9,1],[58,1],[59,1],[60,1],[62,1],[61,1],[63,1],[64,1],[10,1],[65,1],[66,1],[67,1],[11,1],[68,1],[69,1],[70,1],[71,1],[72,1],[1,1],[73,1],[74,1],[12,1],[77,1],[76,1],[75,1],[78,1],[16,1],[15,1],[110,66],[120,67],[109,66],[130,68],[101,69],[100,70],[129,71],[123,72],[128,73],[103,74],[117,75],[102,76],[126,77],[98,78],[97,71],[127,79],[99,80],[104,81],[105,1],[108,81],[95,1],[131,82],[121,83],[112,84],[113,85],[115,86],[111,87],[114,88],[124,71],[106,89],[107,90],[116,91],[96,92],[119,83],[118,81],[122,1],[125,93],[192,94],[190,95],[87,96],[193,97],[189,98],[191,99]],"latestChangedDtsFile":"./esm/index.d.ts","version":"5.7.3"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@next-box/link-extra",
3
3
  "description": "A collection of link click side effects for use primarily with Next.js.",
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "author": "Dylan Aubrey",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/next-box",
package/src/Link.tsx CHANGED
@@ -1,5 +1,5 @@
1
- import randomString from 'randomstring';
2
1
  import { type AnchorHTMLAttributes, type ReactNode } from 'react';
2
+ import { addCacheBusterQueryParam, doUrlAndLocationMatch } from '#helpers.ts';
3
3
  import { useLinkExtra } from './useLinkExtra.ts';
4
4
 
5
5
  export type LinkProps<T extends object> = {
@@ -11,51 +11,6 @@ export type LinkProps<T extends object> = {
11
11
  } & AnchorHTMLAttributes<HTMLAnchorElement> &
12
12
  T;
13
13
 
14
- const doUrlAndLocationPathnamesMatch = (url: string) => {
15
- // It is possible for this to be undefined
16
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
17
- if (!globalThis.location) {
18
- return false;
19
- }
20
-
21
- const parsedUrl = URL.parse(url, globalThis.location.origin);
22
-
23
- if (!parsedUrl) {
24
- return false;
25
- }
26
-
27
- const { pathname } = parsedUrl;
28
- return pathname === globalThis.location.pathname;
29
- };
30
-
31
- export const addCacheBusterQueryParam = (url: string): string => {
32
- // It is possible for this to be undefined
33
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
34
- if (!globalThis.location) {
35
- return url;
36
- }
37
-
38
- const parsedUrl = URL.parse(url, globalThis.location.origin);
39
-
40
- if (!parsedUrl) {
41
- return url;
42
- }
43
-
44
- const { pathname, search } = parsedUrl;
45
- const searchParams = new URLSearchParams(search);
46
-
47
- if (searchParams.has('y')) {
48
- searchParams.delete('y');
49
- }
50
-
51
- if (`${pathname}?${searchParams.toString()}` === `${globalThis.location.pathname}?${globalThis.location.search}`) {
52
- return url;
53
- }
54
-
55
- searchParams.set('y', randomString.generate(15));
56
- return `${pathname}?${searchParams.toString()}`;
57
- };
58
-
59
14
  export const Link = <T extends object>({
60
15
  children,
61
16
  disableRouterCache = true,
@@ -80,7 +35,7 @@ export const Link = <T extends object>({
80
35
  onClick(event);
81
36
  }
82
37
 
83
- if (!doUrlAndLocationPathnamesMatch(href) && !event.defaultPrevented) {
38
+ if (!doUrlAndLocationMatch(href) && !event.defaultPrevented) {
84
39
  setLinkClicked(true);
85
40
  }
86
41
  }}
@@ -1,5 +1,3 @@
1
- 'use client';
2
-
3
1
  import Link from 'next/link.js';
4
2
  import { type ComponentType, type ReactNode, createContext, useEffect, useState } from 'react';
5
3
  import { type LinkContextData, type OwnLinkProps } from '#types.js';
package/src/helpers.ts ADDED
@@ -0,0 +1,62 @@
1
+ import randomString from 'randomstring';
2
+
3
+ export const doUrlAndLocationMatch = (url: string) => {
4
+ // It is possible for this to be undefined
5
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
6
+ if (!globalThis.location) {
7
+ return false;
8
+ }
9
+
10
+ const parsedUrl = URL.parse(url, globalThis.location.origin);
11
+
12
+ if (!parsedUrl) {
13
+ return false;
14
+ }
15
+
16
+ const { pathname, search } = parsedUrl;
17
+ const urlSearchParams = new URLSearchParams(search);
18
+
19
+ if (urlSearchParams.has('y')) {
20
+ urlSearchParams.delete('y');
21
+ }
22
+
23
+ const locationSearchParams = new URLSearchParams(globalThis.location.search);
24
+
25
+ if (locationSearchParams.has('y')) {
26
+ locationSearchParams.delete('y');
27
+ }
28
+
29
+ return `${pathname}?${search}` === `${globalThis.location.pathname}?${locationSearchParams.toString()}`;
30
+ };
31
+
32
+ export const addCacheBusterQueryParam = (url: string): string => {
33
+ // It is possible for this to be undefined
34
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
35
+ if (!globalThis.location) {
36
+ return url;
37
+ }
38
+
39
+ const parsedUrl = URL.parse(url, globalThis.location.origin);
40
+
41
+ if (!parsedUrl) {
42
+ return url;
43
+ }
44
+
45
+ const locationSearchParams = new URLSearchParams(globalThis.location.search);
46
+ const locationCacheBusterSearchParam = locationSearchParams.get('y');
47
+
48
+ if (locationCacheBusterSearchParam) {
49
+ locationSearchParams.delete('y');
50
+ }
51
+
52
+ const { pathname, search } = parsedUrl;
53
+ const searchParams = new URLSearchParams(search);
54
+
55
+ if (`${pathname}?${search}` === `${globalThis.location.pathname}?${locationSearchParams.toString()}`) {
56
+ searchParams.set('y', locationCacheBusterSearchParam ?? randomString.generate(15));
57
+ } else {
58
+ searchParams.set('y', randomString.generate(15));
59
+ }
60
+
61
+ return `${pathname}?${searchParams.toString()}`;
62
+ };
package/src/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './LinkProvider.tsx';
2
2
  export * from './Link.tsx';
3
+ export * from './helpers.ts';
3
4
  export * from './types.ts';
4
5
  export * from './useLinkExtra.ts';