@sinytra/wiki-previewer 0.1.115 → 0.1.119

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.
Files changed (132) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +106 -105
  3. package/.next/app-path-routes-manifest.json +3 -3
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +19 -19
  6. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js +1 -1
  7. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js.nft.json +1 -1
  8. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -1
  9. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
  10. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
  11. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
  13. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
  14. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
  15. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
  16. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
  17. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
  19. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
  20. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
  22. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
  23. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/[locale]/page.js +2 -2
  25. package/.next/server/app/[locale]/page.js.nft.json +1 -1
  26. package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/_not-found/page.js +1 -1
  28. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  29. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  30. package/.next/server/app/_not-found.html +2 -2
  31. package/.next/server/app/_not-found.rsc +8 -8
  32. package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
  33. package/.next/server/app/robots.txt/route.js +1 -1
  34. package/.next/server/app/robots.txt/route.js.nft.json +1 -1
  35. package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/sitemap.xml/route.js +1 -1
  37. package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
  38. package/.next/server/app-paths-manifest.json +3 -3
  39. package/.next/server/chunks/105.js +1 -0
  40. package/.next/server/chunks/1476.js +1 -0
  41. package/.next/server/chunks/2313.js +2 -2
  42. package/.next/server/chunks/2337.js +1 -1
  43. package/.next/server/chunks/4159.js +1 -0
  44. package/.next/server/chunks/4302.js +1 -0
  45. package/.next/server/chunks/4530.js +1 -0
  46. package/.next/server/chunks/4988.js +1 -0
  47. package/.next/server/chunks/5611.js +1 -0
  48. package/.next/server/chunks/7065.js +66 -0
  49. package/.next/server/chunks/8616.js +1 -0
  50. package/.next/server/chunks/{4061.js → 9173.js} +12 -12
  51. package/.next/server/chunks/9425.js +10 -0
  52. package/.next/server/chunks/9686.js +159 -0
  53. package/.next/server/chunks/9847.js +1 -1
  54. package/.next/server/middleware-manifest.json +10 -10
  55. package/.next/server/pages/404.html +2 -2
  56. package/.next/server/pages/500.html +1 -1
  57. package/.next/server/server-reference-manifest.json +1 -1
  58. package/.next/server/src/middleware.js +2 -2
  59. package/.next/static/chunks/{103-17dcfd4e9416f734.js → 103-16bbfc93b461c964.js} +1 -1
  60. package/.next/static/chunks/{4425-96ba570f5d33c132.js → 1470-9bb50d687fde2bce.js} +1 -1
  61. package/.next/static/chunks/{9585-1b3d4db6576d361c.js → 1966-d293add079f9adab.js} +1 -1
  62. package/.next/static/chunks/{4193-bbe043dbc7c0de25.js → 2186-5c7b12be1a995c1e.js} +1 -1
  63. package/.next/static/chunks/2305-d9c0ebe361b73ca0.js +1 -0
  64. package/.next/static/chunks/4551-55b613d55dccf238.js +3 -0
  65. package/.next/static/chunks/595-8216ad2d62c67f74.js +1 -0
  66. package/.next/static/chunks/8413-8934ebbf72032aeb.js +1 -0
  67. package/.next/static/chunks/8616-f2548321574e7db4.js +1 -0
  68. package/.next/static/chunks/8777-5c798bf88b394495.js +2 -0
  69. package/.next/static/chunks/93-7ff435ae228f688a.js +1 -0
  70. package/.next/static/chunks/9585-3cde5ba088a8ed62.js +1 -0
  71. package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-fad13a09af2c14d8.js +1 -0
  72. package/.next/static/chunks/app/[locale]/(main)/layout-ca292e50d803d7c9.js +1 -0
  73. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/error-abc8d80e856b51f7.js +1 -0
  74. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{docs/[...path]/not-found-1f5f51b8a6550338.js → content/[id]/not-found-80873a4f07e4c1fa.js} +1 -1
  75. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/{page-9ef33853f8158cdd.js → page-e1514b9458cdf8ba.js} +1 -1
  76. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/{error-e9c4bdaff91ea85b.js → error-749a31cba53c0392.js} +1 -1
  77. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{docs/not-found-1f5f51b8a6550338.js → content/not-found-80873a4f07e4c1fa.js} +1 -1
  78. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-e67fce9a42cdcb17.js +1 -0
  79. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-3bedf7ae95a288ad.js +1 -0
  80. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{content/[id]/not-found-1f5f51b8a6550338.js → docs/[...path]/not-found-80873a4f07e4c1fa.js} +1 -1
  81. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-ce23f165e662fada.js +1 -0
  82. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/{error-867a848cec193d6c.js → error-53aef187c3e0b916.js} +1 -1
  83. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{content/not-found-1f5f51b8a6550338.js → docs/not-found-80873a4f07e4c1fa.js} +1 -1
  84. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-1fec319e5fb8adda.js +1 -0
  85. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-c12bb85e1f228d2c.js +1 -0
  86. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-77a3009649d52713.js +1 -0
  87. package/.next/static/chunks/app/[locale]/layout-a0ae0615250dfb10.js +1 -0
  88. package/.next/static/chunks/app/[locale]/not-found-ef8f0d997a8d1958.js +1 -0
  89. package/.next/static/chunks/app/[locale]/page-d818d5faaaa65110.js +1 -0
  90. package/.next/static/chunks/app/error-2f744c8782ca90a5.js +1 -0
  91. package/.next/static/chunks/app/{global-error-ce091b1452efe213.js → global-error-85d9c0922f1e3fce.js} +1 -1
  92. package/.next/static/chunks/app/{layout-9da0fb84dadf33c7.js → layout-3165efcf5806a69a.js} +2 -2
  93. package/.next/static/chunks/app/not-found-23d4794ac0465772.js +1 -0
  94. package/.next/static/chunks/dd4c4bf0-96a26eda28cf66af.js +1 -0
  95. package/.next/static/css/9bfb8ccdff41fbfd.css +1 -0
  96. package/package.json +1 -1
  97. package/.next/server/chunks/1611.js +0 -1
  98. package/.next/server/chunks/177.js +0 -1
  99. package/.next/server/chunks/2228.js +0 -1
  100. package/.next/server/chunks/2744.js +0 -1
  101. package/.next/server/chunks/4510.js +0 -1
  102. package/.next/server/chunks/5040.js +0 -1
  103. package/.next/server/chunks/6304.js +0 -1
  104. package/.next/server/chunks/6961.js +0 -159
  105. package/.next/server/chunks/7640.js +0 -1
  106. package/.next/server/chunks/7707.js +0 -10
  107. package/.next/server/chunks/7781.js +0 -66
  108. package/.next/static/chunks/2124-df062eb31fe11c5d.js +0 -1
  109. package/.next/static/chunks/2709-491f94e4985f09ae.js +0 -1
  110. package/.next/static/chunks/3386-ac912e6009b83aa3.js +0 -2
  111. package/.next/static/chunks/5383-524037cb66b718c8.js +0 -1
  112. package/.next/static/chunks/595-54e3fd782ef53c18.js +0 -1
  113. package/.next/static/chunks/739-777eeb0518955b20.js +0 -3
  114. package/.next/static/chunks/8287-140591957dd688b9.js +0 -1
  115. package/.next/static/chunks/8616-5b19a69bdb5404cf.js +0 -1
  116. package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-c1e48f0307301056.js +0 -1
  117. package/.next/static/chunks/app/[locale]/(main)/layout-4ff9fce162573e20.js +0 -1
  118. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/error-94e4c8320d461ef0.js +0 -1
  119. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-76d531b594c7d03d.js +0 -1
  120. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-9f214dc4ecf10b0e.js +0 -1
  121. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-6ca2ad1ab7d721c3.js +0 -1
  122. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-7cae71bc802d1314.js +0 -1
  123. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-84fb2a34569578d4.js +0 -1
  124. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-db1403a0467da47b.js +0 -1
  125. package/.next/static/chunks/app/[locale]/layout-15866ddd5dedf3b2.js +0 -1
  126. package/.next/static/chunks/app/[locale]/not-found-3ab7d01ef5c3c4dc.js +0 -1
  127. package/.next/static/chunks/app/[locale]/page-f265449e2a6b50eb.js +0 -1
  128. package/.next/static/chunks/app/error-5112bfdb844053f6.js +0 -1
  129. package/.next/static/chunks/app/not-found-b6f6434317947d1a.js +0 -1
  130. package/.next/static/css/0cade3faa049b2e9.css +0 -1
  131. /package/.next/static/{pi-uZfzqwaSehEbQs-l2a → E3-bpyILB3XxG7SeC55HZ}/_buildManifest.js +0 -0
  132. /package/.next/static/{pi-uZfzqwaSehEbQs-l2a → E3-bpyILB3XxG7SeC55HZ}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8616],{3192:(e,n,t)=>{t.d(n,{Ay:()=>s,F3:()=>a,nQ:()=>l});var r=t(47034);let a="en_us",l="en-US",i=[{name:"English",code:"en_us",prefix:"en",file:"en_US",internal:"en-US",icon:r.US},{name:"Čeština",code:"cs_cz",prefix:"cs",file:"cs_CZ",internal:"cs-CZ",icon:r.CZ},{name:"Deutsch",code:"de_de",prefix:"de",file:"de_DE",internal:"de-DE",icon:r.DE},{name:"Espa\xf1ol",code:"es_es",prefix:"es",file:"es_ES",internal:"es-ES",icon:r.ES,crowdin:"es-ES"},{name:"Fran\xe7ais",code:"fr_fr",prefix:"fr",file:"fr_FR",internal:"fr-FR",icon:r.FR},{name:"Magyar",code:"hu_hu",prefix:"hu",file:"hu_HU",internal:"hu-HU",icon:r.HU},{name:"Italiano",code:"it_it",prefix:"it",file:"it_IT",internal:"it-IT",icon:r.IT},{name:"日本語",code:"ja_jp",prefix:"ja",file:"ja_JP",internal:"ja-JP",icon:r.JP},{name:"한국어",code:"ko_kr",prefix:"ko",file:"ko_KR",internal:"ko-KR",icon:r.KR},{name:"Bahasa Melayu",code:"ms_my",prefix:"ms",file:"ms_MY",internal:"ms-MY",icon:r.MY},{name:"بهاس ملايو",code:"zml_arab",prefix:"ms_Ar",file:"ms_Arab",internal:"ms-Arab",icon:r.MY,crowdin:"ms-Arab",rtl:!0},{name:"Polski",code:"pl_pl",prefix:"pl",file:"pl_PL",internal:"pl-PL",icon:r.PL},{name:"Русский",code:"ru_ru",prefix:"ru",file:"ru_RU",internal:"ru-RU",icon:r.RU},{name:"Svenska",code:"sv_se",prefix:"sv",file:"sv_SE",internal:"sv-SE",icon:r.SE,crowdin:"sv-SE"},{name:"T\xfcrk\xe7e",code:"tr_tr",prefix:"tr",file:"tr_TR",internal:"tr-TR",icon:r.TR},{name:"Українська",code:"uk_ua",prefix:"uk",file:"uk_UA",internal:"uk-UA",icon:r.UA},{name:"简体中文",code:"zh_cn",prefix:"zh_cn",file:"zh_CN",internal:"zh-CN",icon:r.CN,crowdin:"zh-CN"},{name:"繁體中文",code:"zh_tw",prefix:"zh_tw",file:"zh_TW",internal:"zh-TW",icon:r.TW,crowdin:"zh-TW"}];function o(e){return i.find(n=>n.prefix===e)}let s={getAvailableLocales:function(){return i},getLanguagePaths:function(){return i.map(e=>e.prefix)},getInternalCodes:function(){return i.map(e=>e.internal)},getPathPrefixes:function(){return i.reduce((e,n)=>({...e,[n.internal]:"/"+n.prefix}),{})},getForUrlParam:o,getForInternalCode:function(e){return i.find(n=>n.internal===e)},getCrowdinLanguageId:function(e){let n=o(e);return(null==n?void 0:n.crowdin)||(null==n?void 0:n.prefix)},isRTL:function(e){var n;return(null==(n=o(e))?void 0:n.rtl)||!1},actualLocale:function(e){var n;if(!e||e===a)return null;let t=o(e);return null!=(n=null==t?void 0:t.file.toLowerCase())?n:null},resolveParam:function(e){return o(e).code},getUrlPrefixForCode:function(e){var n;return null==(n=i.find(n=>n.code===e))?void 0:n.prefix},getForCode:function(e){return i.find(n=>n.code===e)}}},7186:(e,n,t)=>{t.d(n,{A:()=>r});function r(e){return e}},20897:(e,n,t)=>{t.d(n,{A:()=>m});var r=t(41574),a=t(28081),l=t.t(a,2),i=t(14551),o=l["use".trim()],s=t(7131),c=t(83294),d=t(88336),u=t(7893),f=t(39492);function m(e){let{Link:n,config:t,getPathname:l,...m}=function(e,n){var t,l,i;let f={...t=n||{},localePrefix:"object"==typeof(i=t.localePrefix)?i:{mode:i||"always"},localeCookie:!!((l=t.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:t.localeDetection??!0,alternateLinks:t.alternateLinks??!0},m=f.pathnames,h=(0,a.forwardRef)(function({href:n,locale:t,...r},a){let l,i;"object"==typeof n?(l=n.pathname,i=n.params):l=n;let d=(0,s._x)(n),h=e(),x=(0,s.yL)(h)?o(h):h,v=d?p({locale:t||x,href:null==m?l:{pathname:l,params:i},forcePrefix:null!=t||void 0}):l;return(0,u.jsx)(c.default,{ref:a,href:"object"==typeof n?{...n,pathname:v}:v,locale:t,localeCookie:f.localeCookie,...r})});function p(e){let n,{forcePrefix:t,href:r,locale:a}=e;return null==m?"object"==typeof r?(n=r.pathname,r.query&&(n+=(0,d.Zn)(r.query))):n=r:n=(0,d.FP)({locale:a,...(0,d.TK)(r),pathnames:f.pathnames}),(0,d.x3)(n,a,f,t)}function x(e){return function(n,...t){return e(p(n),...t)}}return{config:f,Link:h,redirect:x(r.redirect),permanentRedirect:x(r.permanentRedirect),getPathname:p}}(i.Ym,e);return{...m,Link:n,usePathname:function(){let e=function(e){let n=(0,r.usePathname)(),t=(0,i.Ym)();return(0,a.useMemo)(()=>{if(!n)return n;let r=n,a=(0,s.XP)(t,e.localePrefix);if((0,s.wO)(a,n))r=(0,s.MY)(n,a);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,s.bL)(t);(0,s.wO)(e,n)&&(r=(0,s.MY)(n,e))}return r},[e.localePrefix,t,n])}(t),n=(0,i.Ym)();return(0,a.useMemo)(()=>e&&t.pathnames?(0,d.aM)(n,e,t.pathnames):e,[n,e])},useRouter:function(){let e=(0,r.useRouter)(),n=(0,i.Ym)(),o=(0,r.usePathname)();return(0,a.useMemo)(()=>{function r(e){return function(r,a){let{locale:i,...s}=a||{},c=[l({href:r,locale:i||n,forcePrefix:null!=i||void 0})];Object.keys(s).length>0&&c.push(s),(0,f.A)(t.localeCookie,o,n,i),e(...c)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[n,o,e])},getPathname:l}}},21559:(e,n,t)=>{t.d(n,{default:()=>o});var r=t(7893),a=t(95745),l=t(28081),i=t(45585);let o=(0,l.forwardRef)(function(e,n){let{title:t,className:o,innerClassName:s,tagName:c,children:d,type:u,solid:f}=e,{open:m}=(0,l.useContext)(i.p);return(0,r.jsx)("aside",{"data-open":m==u,className:(0,a.cn)(o,"fixed z-30 h-[88vh] w-full overflow-hidden border-tertiary bg-primary transition-all duration-300 ease-in-out sm:h-[calc(100vh_-_9.5rem)] lg:top-[6rem]! lg:transition-none",f?"lg:static":"lg:sticky","left"==u&&"border-r data-[open=false]:-translate-x-full data-[open=false]:border-0 lg:border-r-0 lg:data-[open=false]:-translate-x-0","right"==u&&"border-l data-[open=false]:translate-x-full data-[open=false]:border-0 lg:border-l-0 lg:data-[open=false]:translate-x-0"),children:(0,r.jsxs)(c||"div",{ref:n,className:(0,a.cn)("scrollbar-thumb-secondary scrollbar-track-secondary/20 scrollbar-thin h-full space-y-2 overflow-y-auto p-4",s),children:[(0,r.jsx)("div",{className:"mb-4 flex items-center justify-between",children:(0,r.jsx)("h3",{className:"text-sm font-semibold text-secondary",children:t})}),d]})})})},24989:(e,n,t)=>{t.d(n,{default:()=>c});var r=t(7893),a=t(37347),l=t(49777),i=t(27167),o=t(82601),s=t(13870);function c(){let[e,n]=(0,a.ZA)("tab"),t=(0,s.c)("DocsEntryTabs"),c=async e=>{await n(e),window.scrollTo(0,0)};return(0,r.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,r.jsx)(o.$,{title:t("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("home"),children:(0,r.jsx)(l.A,{className:"size-4"})}):(0,r.jsx)(o.$,{title:t("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("history"),children:(0,r.jsx)(i.A,{className:"size-4"})})})}},34882:(e,n,t)=>{t.d(n,{XO:()=>o,a8:()=>c});var r=t(7186),a=t(20897),l=t(3192);let i=(0,r.A)({locales:l.Ay.getInternalCodes(),defaultLocale:l.nQ,localePrefix:{mode:"always",prefixes:l.Ay.getPathPrefixes()}}),{Link:o,redirect:s,usePathname:c,useRouter:d}=(0,a.A)(i)},45585:(e,n,t)=>{t.d(n,{default:()=>o,p:()=>i});var r=t(7893),a=t(28081),l=t(34882);let i=(0,a.createContext)(null);function o(e){let{children:n}=e,t=(0,l.a8)(),[o,s]=(0,a.useState)("none");return(0,a.useEffect)(()=>{"none"===o?window.document.body.classList.remove("no-scroll"):window.document.body.classList.add("no-scroll")},[o]),(0,a.useEffect)(()=>{s("none")},[t]),(0,r.jsx)(i.Provider,{value:{open:o,setOpen:s},children:n})}},76365:(e,n,t)=>{t.d(n,{A:()=>d});var r=t(7893),a=t(28081),l=t(21559),i=t(95745),o=t(13870),s=t(96090);function c(e){let{node:n,activeId:t,collapsed:a,setCollapsed:l,first:o}=e,{heading:d,children:u}=n,f=!a[d.id],m=t===d.id||!f&&function e(n,t){return n.children.some(n=>n.heading.id===t||e(n,t))}(n,t),h=(0,r.jsx)("a",{href:"#".concat(d.id),className:(0,i.cn)("block py-1 text-secondary transition-colors hover:text-primary",m&&"text-primary",o&&"pt-0!"),onClick:e=>{var n;e.preventDefault(),null==(n=document.getElementById(d.id))||n.scrollIntoView({behavior:"smooth"})},children:d.value});return 0===u.length?(0,r.jsxs)("li",{className:"flex items-start gap-1",children:[(0,r.jsx)("span",{className:"size-4 shrink-0"}),h]}):(0,r.jsx)("li",{children:(0,r.jsxs)("details",{className:"group",open:f,onToggle:e=>l(d.id,!e.currentTarget.open),children:[(0,r.jsxs)("summary",{className:"flex list-none items-start gap-1 [&::-webkit-details-marker]:hidden",onClick:e=>e.preventDefault(),children:[(0,r.jsx)("button",{type:"button","aria-expanded":f,"aria-label":d.value,className:(0,i.cn)("shrink-0 cursor-pointer py-1 text-secondary hover:text-primary",o&&"pt-0!"),onClick:()=>l(d.id,f),children:(0,r.jsx)(s.default,{className:"size-4 group-open:rotate-180"})}),h]}),(0,r.jsx)("ul",{className:"space-y-1 pl-3",children:u.map(e=>(0,r.jsx)(c,{node:e,activeId:t,collapsed:a,setCollapsed:l},e.heading.id))})]})})}function d(e){let{headings:n,type:t,className:s,solid:d}=e,u=(0,o.c)("DocsNonContentRightSidebar"),[f,m]=(0,a.useState)(""),[h,p]=(0,a.useState)({}),[x,v]=(0,a.useState)(!1),[g,b]=(0,a.useState)(!1),y=(0,a.useRef)(null),_=(0,a.useMemo)(()=>n.filter(e=>e.depth<4),[n]),k=(0,a.useMemo)(()=>(function(e){let n=[],t=[];for(let r of e){let e={heading:r,children:[]};for(;t.length>0&&t[t.length-1].heading.depth>=r.depth;)t.pop();let a=t[t.length-1];(a?a.children:n).push(e),t.push(e)}return n})(_),[_]),w=(e,n)=>p(t=>t[e]===n?t:{...t,[e]:n});return(0,a.useEffect)(()=>{let e=()=>{let e=_.map(e=>document.getElementById(e.id)).filter(Boolean).find(e=>{if(e){let n=e.getBoundingClientRect();return n.top>=0&&n.top<=window.innerHeight/2}return!1});e&&m(e.id)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[_]),(0,a.useEffect)(()=>{let e=()=>{if(y.current){let{scrollTop:e,scrollHeight:n,clientHeight:t}=y.current;v(e>0),b(e+t<n)}},n=y.current;return n&&(n.addEventListener("scroll",e),window.addEventListener("resize",e),e()),()=>{n&&n.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[_,h]),(0,r.jsx)(l.default,{type:t,title:u("title"),className:(0,i.cn)("shrink-0",s),tagName:"nav",solid:d,children:(0,r.jsxs)("div",{className:"relative",children:[x&&(0,r.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 left-0 h-12 bg-linear-to-b to-transparent"}),(0,r.jsx)("div",{ref:y,className:"scrollbar-thin max-h-[80vh] scrollbar-thumb-gray-300 scrollbar-track-transparent overflow-y-auto pr-4",children:(0,r.jsx)("ul",{className:"space-y-1 text-sm",children:k.map((e,n)=>(0,r.jsx)(c,{node:e,activeId:f,collapsed:h,setCollapsed:w,first:0===n},e.heading.id))})}),g&&(0,r.jsx)("div",{className:"from-background pointer-events-none absolute right-0 bottom-0 left-0 h-12 bg-linear-to-t to-transparent"})]})})}},93656:(e,n,t)=>{t.d(n,{default:()=>a});var r=t(41574);function a(e){let{main:n,history:t}=e;return"history"==(0,r.useSearchParams)().get("tab")&&t?t:n}}}]);
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8777],{2008:(e,t,r)=>{r.d(t,{i:()=>o,l:()=>u,n:()=>y,o:()=>i,r:()=>d,t:()=>m});var l=r(95801),n=r(79254),s=r(28081);let u={method:"throttle",timeMs:function(){if("undefined"==typeof window||!window.GestureEvent)return 50;try{let e=navigator.userAgent?.match(/version\/([\d\.]+) safari/i);return parseFloat(e[1])>=17?120:320}catch{return 320}}()};function i(e){return null===e||Array.isArray(e)&&0===e.length}function o(){let e=new Map;return{on(t,r){let l=e.get(t)||[];return l.push(r),e.set(t,l),()=>this.off(t,r)},off(t,r){let l=e.get(t);l&&e.set(t,l.filter(e=>e!==r))},emit(t,r){e.get(t)?.forEach(e=>e(r))}}}function a(e,t,r){let l=setTimeout(function(){e(),r.removeEventListener("abort",n)},t);function n(){clearTimeout(l),r.removeEventListener("abort",n)}r.addEventListener("abort",n)}function c(){let e=Promise;if(Promise.hasOwnProperty("withResolvers"))return Promise.withResolvers();let t=()=>{},r=()=>{};return{promise:new e((e,l)=>{t=e,r=l}),resolve:t,reject:r}}function h(){return new URLSearchParams(location.search)}var p=class{updateMap=new Map;options={history:"replace",scroll:!1,shallow:!0};timeMs=u.timeMs;transitions=new Set;resolvers=null;controller=null;lastFlushedAt=0;resetQueueOnNextPush=!1;push({key:e,query:t,options:r},n=u.timeMs){this.resetQueueOnNextPush&&(this.reset(),this.resetQueueOnNextPush=!1),(0,l.t)(7,e,t,r),this.updateMap.set(e,t),"push"===r.history&&(this.options.history="push"),r.scroll&&(this.options.scroll=!0),!1===r.shallow&&(this.options.shallow=!1),r.startTransition&&this.transitions.add(r.startTransition),(!Number.isFinite(this.timeMs)||n>this.timeMs)&&(this.timeMs=n)}getQueuedQuery(e){return this.updateMap.get(e)}getPendingPromise({getSearchParamsSnapshot:e=h}){return this.resolvers?.promise??Promise.resolve(e())}flush({getSearchParamsSnapshot:e=h,rateLimitFactor:t=1,...r},n){if(this.controller??=new AbortController,!Number.isFinite(this.timeMs))return(0,l.t)(8),Promise.resolve(e());if(this.resolvers)return this.resolvers.promise;this.resolvers=c();let s=()=>{this.lastFlushedAt=performance.now();let[t,l]=this.applyPendingUpdates({...r,autoResetQueueOnUpdate:r.autoResetQueueOnUpdate??!0,getSearchParamsSnapshot:e},n);null===l?(this.resolvers.resolve(t),this.resetQueueOnNextPush=!0):this.resolvers.reject(t),this.resolvers=null},u=()=>{let e=performance.now()-this.lastFlushedAt,r=this.timeMs,n=t*Math.max(0,r-e);(0,l.t)(9,n,r,t),0===n?s():a(s,n,this.controller.signal)};return a(u,0,this.controller.signal),this.resolvers.promise}abort(){return this.controller?.abort(),this.controller=new AbortController,this.resolvers?.resolve(new URLSearchParams),this.resolvers=null,this.reset()}reset(){let e=Array.from(this.updateMap.keys());return(0,l.t)(10,JSON.stringify(Object.fromEntries(this.updateMap))),this.updateMap.clear(),this.transitions.clear(),this.options={history:"replace",scroll:!1,shallow:!0},this.timeMs=u.timeMs,e}applyPendingUpdates(e,t){let{updateUrl:r,getSearchParamsSnapshot:s}=e,u=s();if((0,l.t)(11,this.updateMap.size,u.toString()),0===this.updateMap.size)return[u,null];let i=Array.from(this.updateMap.entries()),o={...this.options},a=Array.from(this.transitions);for(let[t,r]of(e.autoResetQueueOnUpdate&&this.reset(),(0,l.t)(12,i,o),i))null===r?u.delete(t):u=function(e,t,r){if("string"==typeof r)e.set(t,r);else{for(let l of(e.delete(t),r))e.append(t,l);e.has(t)||e.set(t,"")}return e}(u,t,r);if(t)try{u=t(u)}catch(e){return console.error((0,n.l)(502),i.map(([e])=>e).join(),e),this.resetQueueOnNextPush=!0,[u,e]}try{return!function(e,t){let r=t;for(let t=e.length-1;t>=0;t--){let l=e[t];if(!l)continue;let n=r;r=()=>l(n)}r()}(a,()=>r(u,o)),[u,null]}catch(e){return console.error((0,n.l)(429),i.map(([e])=>e).join(),e),[u,e]}}};let d=(0,n.o)("throttle-queue",()=>new p);var f=class{resolvers=c();controller=new AbortController;queuedValue=void 0;abort(){this.controller.abort(),this.queuedValue=void 0}push(e,t,r){return this.queuedValue=e,this.controller.abort(),this.controller=new AbortController,a(()=>{let t=this.resolvers;try{(0,l.t)(13,e);let n=r(e);(0,l.t)(14,this.queuedValue),this.queuedValue=void 0,this.resolvers=c(),n.then(e=>t.resolve(e)).catch(e=>t.reject(e))}catch(e){this.queuedValue=void 0,t.reject(e)}},t,this.controller.signal),this.resolvers.promise}},v=class{throttleQueue;queues=new Map;queuedQuerySync=o();constructor(e=new p){this.throttleQueue=e}push(e,t,r,n){if(!Number.isFinite(t))return Promise.resolve((r.getSearchParamsSnapshot??h)());let s=e.key,u=this.queues.get(s);u||((0,l.t)(15,s),u=new f,this.queues.set(s,u)),(0,l.t)(17,e);let i=()=>(this.throttleQueue.push(e),this.throttleQueue.flush(r,n).finally(()=>{this.queues.get(s)?.queuedValue===void 0&&((0,l.t)(16,s),this.queues.delete(s)),this.queuedQuerySync.emit(s)})),o=u.push(e,t,i);return this.queuedQuerySync.emit(s),o}abort(e){let t=this.queues.get(e);return t?((0,l.t)(18,e,t.queuedValue?.query),this.queues.delete(e),t.abort(),this.queuedQuerySync.emit(e),e=>(e.then(t.resolvers.resolve,t.resolvers.reject),e)):e=>e}abortAll(){for(let[e,t]of this.queues.entries())(0,l.t)(18,e,t.queuedValue?.query),t.abort(),t.resolvers.resolve(new URLSearchParams),this.queuedQuerySync.emit(e);this.queues.clear()}getQueuedQuery(e){let t=this.queues.get(e)?.queuedValue?.query;return void 0!==t?t:this.throttleQueue.getQueuedQuery(e)}};let m=(0,n.o)("debounce-controller",()=>new v(d));function y(e){return function(e,t,r){let l=(0,s.useCallback)(()=>{let t=Object.fromEntries(e.map(e=>[e,r(e)]));return[JSON.stringify(t),t]},[e.join(","),r]),n=(0,s.useRef)(null);return null===n.current&&(n.current=l()),(0,s.useSyncExternalStore)((0,s.useCallback)(r=>{let l=e.map(e=>t(e,r));return()=>l.forEach(e=>e())},[e.join(","),t]),()=>{let[e,t]=l();return n.current[0]===e?n.current[1]:(n.current=[e,t],t)},()=>n.current[1])}(e,(e,t)=>m.queuedQuerySync.on(e,t),e=>m.getQueuedQuery(e))}},27167:(e,t,r)=>{r.d(t,{A:()=>l});let l=(0,r(59717).A)("rotate-ccw-clock",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},37347:(e,t,r)=>{r.d(t,{ZA:()=>y});var l=r(2008),n=r(95801),s=r(79254),u=r(28081);function i(e,t){return Object.hasOwn(e,t)?e[t]:void 0}function o(e,t,r){try{return e(t)}catch(e){return r?(0,n.i)(25,t,e,r):(0,n.i)(24,t,e),null}}function a(e){function t(t){if(void 0===t)return null;let r=Array.isArray(t);return r&&void 0===t[0]?null:(t=r?t[0]:"string"==typeof t?t:"",o(e.parse,t))}return{type:"single",eq:(e,t)=>e===t,...e,parseServerSide:t,withDefault(e){return{...this,defaultValue:e,parseServerSide(r){var l;return null!=(l=t(r))?l:e}}},withOptions(e){return{...this,...e}}}}function c(e,t){return e.valueOf()===t.valueOf()}a({parse:e=>e,serialize:String}),a({parse:e=>{let t=parseInt(e);return t==t?t:null},serialize:e=>""+Math.round(e)}),a({parse:e=>{let t=parseInt(e);return t==t?t-1:null},serialize:e=>""+Math.round(e+1)}),a({parse:e=>{let t=parseInt(e,16);return t==t?t:null},serialize:e=>{let t=Math.round(e).toString(16);return t<"0"||!(1&t.length)?t:"0"+t}}),a({parse:e=>{let t=parseFloat(e);return t==t?t:null},serialize:String}),a({parse:e=>"true"===e.toLowerCase(),serialize:String}),a({parse:e=>{let t=new Date(parseInt(e));return+t==+t?t:null},serialize:e=>""+e.valueOf(),eq:c}),a({parse:e=>{let t=new Date(e);return+t==+t&&h.parse(e)?t:null},serialize:e=>e.toISOString(),eq:c});let h=a({parse:e=>{let t=new Date(e.slice(0,10));return+t==+t&&h.serialize(t)===e.slice(0,10)?t:null},serialize:e=>e.toISOString().slice(0,10),eq:c}),p=(0,s.o)("sync-emitter",()=>(0,l.i)()),d={},f=(e,t)=>"defaultValue"===e?void 0:t;function v(e,t,r,n){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=!1,c=Object.entries(e).reduce((e,c)=>{var h,p,d;let[f,v]=c,m=t[f],y=i(n,m),g="multi"===v.type?[]:null,b=void 0===y?"multi"===v.type?r.getAll(m):r.get(m):y,w=i(u,f);return void 0!==w&&((d=null!=(h=i(s,m))?h:g)===b||null!==d&&null!==b&&"string"!=typeof d&&"string"!=typeof b&&d.length===b.length&&d.every((e,t)=>e===b[t]))?e[f]=w:(a=!0,e[f]=null!=(p=(0,l.o)(b)?null:o(v.parse,b,m))?p:null,s[m]=b),e},{});return a||(a=Object.keys(c).length!==Object.keys(u).length),[a,c]}function m(e,t){return Object.fromEntries(Object.keys(e).map(r=>{var l,n,s;return[r,null!=(s=null!=(n=e[r])?n:null==(l=t[r])?void 0:l.defaultValue)?s:null]}))}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{parse:r=e=>e,type:o,serialize:a,eq:c,defaultValue:h,...y}=t,[{[e]:g},b]=function(e){var t,r,o,a,c;let h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},y=(0,u.useId)(),g=(0,s.i)(),b=(0,s.a)(),{history:w=null!=(t=null==g?void 0:g.history)?t:"replace",scroll:O=null!=(r=null==g?void 0:g.scroll)&&r,shallow:S=null==(o=null==g?void 0:g.shallow)||o,throttleMs:q=l.l.timeMs,limitUrlUpdates:M=null==g?void 0:g.limitUrlUpdates,clearOnDefault:j=null==(a=null==g?void 0:g.clearOnDefault)||a,startTransition:A,urlKeys:k=d}=h,P=Object.keys(e).join(","),Q=(0,u.useRef)(e),x=Q.current,C=JSON.stringify(Object.entries(x),f)===JSON.stringify(Object.entries(e),f)&&Object.entries(e).every(e=>{var t,r,l;let[n,s]=e;if((null==(t=x[n])?void 0:t.startTransition)!==s.startTransition)return!1;let u=null==(r=x[n])?void 0:r.defaultValue,i=s.defaultValue;return!!Object.is(u,i)||void 0!==u&&void 0!==i&&(null==(l=s.eq)?void 0:l.call(s,u,i))===!0})?x:e;Q.current=C;let U=(0,u.useMemo)(()=>Object.fromEntries(Object.keys(e).map(e=>{var t;return[e,null!=(t=i(k,e))?t:e]})),[P,JSON.stringify(k)]),E=Object.values(U),N=(0,s.r)(E),R=N.searchParams,V=(0,u.useRef)(null),z=(0,u.useRef)(null),L=(0,l.n)(E),[T]=(0,u.useState)(()=>{let t={},[,r]=v(e,U,R,L,t);return[r,t]}),F=(0,u.useRef)(T[1]),[_,D]=(0,u.useState)(T[0]),I=(0,u.useRef)(_),J=e=>JSON.stringify([E.map(t=>[t,e.getAll(t)]),L]),$=J(R),B=()=>{let[t,r]=v(e,U,R,L,F.current,I.current);return t&&((0,n.t)(1,y,P,r),I.current=r,D(r)),t},H=Object.keys(F.current).join("&")!==E.join("&"),G=null===z.current||z.current===(null!=(c=N.pathname)?c:location.pathname);if(H)V.current=$,B(),F.current=Object.fromEntries(Object.entries(U).map(t=>{var r;let[l,n]=t;return[n,(null==(r=e[l])?void 0:r.type)==="multi"?R.getAll(n):R.get(n)]}));else{let e=!1;G&&V.current!==$&&(V.current=$,e=B()),!e&&_!==I.current&&(G||void 0===N.pathname&&V.current===J(new URLSearchParams(location.search)))&&D(I.current)}(0,u.useEffect)(()=>{var e;z.current=null!=(e=N.pathname)?e:location.pathname,B()},[$,N.pathname]),(0,u.useEffect)(()=>{let t=[];for(let[r,l]of Object.entries(U)){let s=t=>{let{state:s,query:u}=t;D(t=>{var i,o,a;return Object.is(null!=(o=t[r])?o:null,s)?((0,n.t)(2,y,P,l,s,null==(a=e[r])?void 0:a.defaultValue,I.current),t):(I.current={...I.current,[r]:s},F.current[l]=u,(0,n.t)(3,y,P,l,s,null==(i=e[r])?void 0:i.defaultValue,I.current),I.current)})};(0,n.t)(4,y,l,P),p.on(l,s),t.push([l,s])}return()=>{for(let[e,r]of t)(0,n.t)(5,y,e,P),p.off(e,r)}},[P,U]);let W=(0,u.useCallback)(function(e){var t,r,s,u,o,a,c,h,d,f,v,g,k,Q,x,E,R,V,z;let L,T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},F=null!=(t="function"==typeof e?e(m(I.current,C)):e)?t:Object.fromEntries(Object.keys(C).map(e=>[e,null]));(0,n.t)(6,y,P,F);let _=0,D=[];for(let[e,t]of Object.entries(F)){let n=i(C,e),m=U[e];if(!n||void 0===m||void 0===t)continue;(null!=(s=null!=(r=T.clearOnDefault)?r:n.clearOnDefault)?s:j)&&null!==t&&void 0!==n.defaultValue&&(null!=(u=n.eq)?u:function(e,t){return e===t})(t,n.defaultValue)&&(t=null);let y=null===t?null:(null!=(o=n.serialize)?o:String)(t);p.emit(m,{state:t,query:y});let P={key:m,query:y,options:{history:null!=(c=null!=(a=T.history)?a:n.history)?c:w,shallow:null!=(d=null!=(h=T.shallow)?h:n.shallow)?d:S,scroll:null!=(v=null!=(f=T.scroll)?f:n.scroll)?v:O,startTransition:null!=(k=null!=(g=T.startTransition)?g:n.startTransition)?k:A}},F=null!=(x=null!=(Q=T.limitUrlUpdates)?Q:n.limitUrlUpdates)?x:M;if((null==F?void 0:F.method)==="debounce"){let e=null!=(E=F.timeMs)?E:l.l.timeMs,t=l.t.push(P,e,N,b);_<e&&(L=t,_=e)}else{let e=null!=(z=null!=(V=null!=(R=null==F?void 0:F.timeMs)?R:T.throttleMs)?V:n.throttleMs)?z:q;D.push(l.t.abort(m)),l.r.push(P,e)}}let J=D.length?l.r.flush(N,b):l.r.getPendingPromise(N);for(let e of D)J=e(J);return null!=L?L:J},[P,w,S,O,q,null==M?void 0:M.method,null==M?void 0:M.timeMs,A,j,C,U,N.updateUrl,N.getSearchParamsSnapshot,N.rateLimitFactor,b]);return[(0,u.useMemo)(()=>m(_,C),[_,C]),W]}({[e]:{parse:r,type:o,serialize:a,eq:c,defaultValue:h}},y);return[g,(0,u.useCallback)(function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return b(r=>({[e]:"function"==typeof t?t(r[e]):t}),r)},[e,b])]}},49777:(e,t,r)=>{r.d(t,{A:()=>l});let l=(0,r(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},79254:(e,t,r)=>{r.d(t,{a:()=>f,c:()=>u,i:()=>d,l:()=>s,n:()=>h,o:()=>a,r:()=>p,s:()=>i});var l=r(28081);let n={303:"Multiple adapter contexts detected. This might happen in monorepos.",404:"nuqs requires an adapter to work with your framework.",409:"Multiple versions of the library are loaded. This may lead to unexpected behavior. Currently using `%s`, but `%s` (via the %s adapter) was about to load on top.",414:"Max safe URL length exceeded. Some browsers may not be able to accept this URL. Consider limiting the amount of state stored in the URL.",429:"URL update rate-limited by the browser. Consider increasing `throttleMs` for key(s) `%s`. %O",500:"Empty search params cache. Search params can't be accessed in Layouts.",501:"Search params cache already populated. Have you called `parse` twice?",502:"`processUrlSearchParams` threw while processing key(s) `%s`. %O"};function s(e){return`[nuqs] ${n[e]}
2
+ See https://nuqs.dev/NUQS-${e}`}function u(e){if(0===e.size)return"";let t=[];for(let[r,l]of e.entries()){let e=r.replace(/#/g,"%23").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/=/g,"%3D").replace(/\?/g,"%3F");t.push(`${e}=${l.replace(/%/g,"%25").replace(/\+/g,"%2B").replace(/ /g,"+").replace(/#/g,"%23").replace(/&/g,"%26").replace(/"/g,"%22").replace(/'/g,"%27").replace(/`/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/[\x00-\x1F]/g,e=>encodeURIComponent(e))}`)}return"?"+t.join("&")}let i="2.10.1",o={};function a(e,t){let r=Symbol.for(`nuqs.${i}.${e}`),l=globalThis;if(null!=l[r])return l[r];let n=Object.isExtensible(l)?l:o;return n[r]??=t()}let c=function(e,t,r){let l=a(e,()=>new WeakMap);return l.has(t)||l.set(t,r()),l.get(t)}("adapter-context",l.createContext,()=>{let e=(0,l.createContext)({useAdapter(){throw Error(s(404))}});return e.displayName="NuqsAdapterContext",e});function h(e){return({children:t,defaultOptions:r,processUrlSearchParams:n,...s})=>(0,l.createElement)(c.Provider,{...s,value:{useAdapter:e,defaultOptions:r,processUrlSearchParams:n}},t)}function p(e){let t=(0,l.useContext)(c);if(!("useAdapter"in t))throw Error(s(404));return t.useAdapter(e)}"undefined"!=typeof window&&(window.__NuqsAdapterContext&&window.__NuqsAdapterContext!==c&&console.error(s(303)),window.__NuqsAdapterContext=c);let d=()=>(0,l.useContext)(c).defaultOptions,f=()=>(0,l.useContext)(c).processUrlSearchParams},95801:(e,t,r)=>{function l(e){}function n(e){}r.d(t,{i:()=>n,t:()=>l}),r(16298)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93],{1273:(e,t,r)=>{r.d(t,{AddRefIfNedded:()=>l});var n=r(7893),i=r(28081);let o=({merge:e,...t})=>{let{_stack:r,...i}=function(...e){return 1===e.length?e[0]:e.reduce((e,t)=>{for(let r in t)!function(e,t,r){if("children"===t)e.children=r||e.children;else if("_ref"===t)e._ref=r||e._ref;else if("data"===t)e.data=e.data?{...e.data,...r}:r;else if("className"===t)e.className=[e.className,r].join(" ").trim();else if("style"===t)e.style={...e.style,...r};else if("function"==typeof r){let n=e[t];e[t]=n?(...e)=>{n(...e),r(...e)}:r}else if(void 0===r||"object"!=typeof r&&r===e[t]);else if(t in e)throw Error(`Didn’t know how to merge prop '${t}'. Only 'className', 'style', and event handlers are supported`);else e[t]=r}(e,r,t[r]);return e},{})}(e,t),[o,...l]=r;if(o)return(0,n.jsx)(o,{_stack:l,...i});{let{_ref:e,data:t,children:r,...o}=i;return(0,n.jsx)("pre",{...o,ref:e,"data-ch":!0,children:(0,n.jsx)("div",{style:{minWidth:"fit-content"},children:r})})}},l=e=>{let t=(0,i.useRef)(null),r=e._ref||t;return(0,n.jsx)(o,{merge:e,_ref:r})}},4409:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(59717).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},9389:(e,t,r)=>{r.d(t,{Qg:()=>a,bL:()=>s});var n=r(28081),i=r(21851),o=r(7893),l=Object.defineProperty,a=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=n.forwardRef(l(function(e,t){return(0,o.jsx)(i.sG.span,{...e,ref:t,style:{...a,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}))},12562:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(59717).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},19371:(e,t)=>{function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},29091:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let n=r(4420),i=r(71777),o=r(7893),l=i._(r(28081)),a=n._(r(46780)),s=r(44995),u=r(435),c=r(19371);function d(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(47971);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,l=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){l=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!l)&&r.has(e)?o=!1:(r.add(e),n[t]=r)}}}return o}}()).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,l.useContext)(s.AmpStateContext),n=(0,l.useContext)(u.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30981:(e,t,r)=>{r.d(t,{Kq:()=>q,UC:()=>X,bL:()=>V,l9:()=>W});var n=r(28081),i=r(51016),o=r(46988),l=r(25020),a=r(5721),s=r(68285),u=r(14182),c=r(17312),d=r(21851),f=r(85126),p=r(45415),h=r(58307),m=r(9389),g=r(7893),v=Object.defineProperty,y=(e,t)=>v(e,"name",{value:t,configurable:!0}),[b,x]=(0,l.A)("Tooltip",[u.Bk]),w=(0,u.Bk)(),C="tooltip.open",[j,R]=b("TooltipProvider"),_=y(e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:l}=e,a=n.useRef(!0),s=n.useRef(!1),u=n.useRef(0);return n.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,g.jsx)(j,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:n.useCallback(()=>{i<=0||(window.clearTimeout(u.current),a.current=!1)},[i]),onClose:n.useCallback(()=>{i<=0||(window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.current=!0,i))},[i]),isPointerInTransitRef:s,onPointerInTransitChange:n.useCallback(e=>{s.current=e},[]),disableHoverableContent:o,children:l})},"TooltipProvider"),E="Tooltip",[P,O]=b(E),S=y(e=>{let{__scopeTooltip:t,children:r,open:i,defaultOpen:o,onOpenChange:l,disableHoverableContent:a,delayDuration:c}=e,d=R(E,e.__scopeTooltip),f=w(t),[h,m]=n.useState(null),[v,b]=n.useState(void 0),x=(0,s.B)(),j=n.useRef(0),_=null!=a?a:d.disableHoverableContent,O=null!=c?c:d.delayDuration,S=n.useRef(!1),[T,k]=(0,p.i)({prop:i,defaultProp:null!=o&&o,onChange:y(e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(C))):d.onClose(),null==l||l(e)},"onChange"),caller:E}),I=n.useMemo(()=>T?S.current?"delayed-open":"instant-open":"closed",[T]),A=n.useCallback(()=>{window.clearTimeout(j.current),j.current=0,S.current=!1,k(!0)},[k]),M=n.useCallback(()=>{window.clearTimeout(j.current),j.current=0,k(!1)},[k]),D=n.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>{S.current=!0,k(!0),j.current=0},O)},[O,k]);return n.useEffect(()=>()=>{j.current&&(window.clearTimeout(j.current),j.current=0)},[]),(0,g.jsx)(u.bL,{...f,children:(0,g.jsx)(P,{scope:t,contentId:null!=v?v:x,setContentId:b,open:T,stateAttribute:I,trigger:h,onTriggerChange:m,onTriggerEnter:n.useCallback(()=>{d.isOpenDelayedRef.current?D():A()},[d.isOpenDelayedRef,D,A]),onTriggerLeave:n.useCallback(()=>{_?M():(window.clearTimeout(j.current),j.current=0)},[M,_]),onOpen:A,onClose:M,disableHoverableContent:_,children:r})})},"Tooltip"),T="TooltipTrigger",k=n.forwardRef(y(function(e,t){let{__scopeTooltip:r,...l}=e,a=O(T,r),s=R(T,r),c=w(r),f=n.useRef(null),p=(0,o.s)(t,f,a.onTriggerChange),h=n.useRef(!1),m=n.useRef(!1),v=n.useCallback(()=>h.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,g.jsx)(u.Mz,{asChild:!0,...c,children:(0,g.jsx)(d.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:p,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(m.current||s.isPointerInTransitRef.current||(a.onTriggerEnter(),m.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{a.onTriggerLeave(),m.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{a.open&&a.onClose(),h.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:(0,i.mK)(e.onBlur,a.onClose),onClick:(0,i.mK)(e.onClick,a.onClose)})})},"TooltipTrigger")),[I,A]=b("TooltipPortal",{forceMount:void 0}),M="TooltipContent",D=n.forwardRef(y(function(e,t){let r=A(M,e.__scopeTooltip),{forceMount:n=r.forceMount,side:i="top",...o}=e,l=O(M,e.__scopeTooltip);return(0,g.jsx)(c.C,{present:n||l.open,children:l.disableHoverableContent?(0,g.jsx)(F,{side:i,...o,ref:t}):(0,g.jsx)(z,{side:i,...o,ref:t})})},"TooltipContent")),z=n.forwardRef(y(function(e,t){let r=O(M,e.__scopeTooltip),i=R(M,e.__scopeTooltip),l=n.useRef(null),a=(0,o.s)(t,l),[s,u]=n.useState(null),{trigger:c,onClose:d}=r,f=l.current,{onPointerInTransitChange:p}=i,h=n.useCallback(()=>{u(null),p(!1)},[p]),m=n.useCallback((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},i=N(n,r.getBoundingClientRect());u(U([...K(n,i),...G(t.getBoundingClientRect())])),p(!0)},[p]);return n.useEffect(()=>()=>h(),[h]),n.useEffect(()=>{if(c&&f){let e=y(e=>m(e,f),"handleTriggerLeave"),t=y(e=>m(e,c),"handleContentLeave");return c.addEventListener("pointerleave",e),f.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",t)}}},[c,f,m,h]),n.useEffect(()=>{if(s){let e=y(e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=(null==c?void 0:c.contains(t))||(null==f?void 0:f.contains(t)),i=!B(r,s);n?h():i&&(h(),d())},"handleTrackPointerGrace");return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,f,s,d,h]),(0,g.jsx)(F,{...e,ref:a})},"TooltipContentHoverable")),L=(0,f.Dc)("TooltipContent"),F=n.forwardRef(y(function(e,t){let{__scopeTooltip:r,children:i,"aria-label":o,id:l,onEscapeKeyDown:s,onPointerDownOutside:c,...d}=e,f=O(M,r),p=w(r),{onClose:v}=f;n.useEffect(()=>(document.addEventListener(C,v),()=>document.removeEventListener(C,v)),[v]),n.useEffect(()=>{if(f.trigger){let e=y(e=>{e.target instanceof Node&&e.target.contains(f.trigger)&&v()},"handleScroll");return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[f.trigger,v]);let{setContentId:b}=f;return(0,h.N)(()=>(b(l),()=>{b(void 0)}),[l,b]),(0,g.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:v,children:(0,g.jsxs)(u.UC,{"data-state":f.stateAttribute,role:o?void 0:"tooltip",id:o?void 0:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,g.jsx)(L,{children:i}),o?(0,g.jsx)(m.bL,{id:f.contentId,role:"tooltip",children:o}):null]})})},"TooltipContentImpl"));function N(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,i,o)){case o:return"left";case i:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}function K(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}function G(e){let{top:t,right:r,bottom:n,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:n},{x:i,y:n}]}function B(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let l=t[e],a=t[o],s=l.x,u=l.y,c=a.x,d=a.y;u>n!=d>n&&r<(c-s)*(n-u)/(d-u)+s&&(i=!i)}return i}function U(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),H(t)}function H(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}y(N,"getExitSideFromRect"),y(K,"getPaddedExitPoints"),y(G,"getPointsFromRect"),y(B,"isPointInPolygon"),y(U,"getHull"),y(H,"getHullPresorted");var q=_,V=S,W=k,X=D},40914:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(59717).A)("tv-minimal-play",[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]])},41853:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(4420)._(r(28081)),i=r(46095),o=n.default.createContext(i.imageConfigDefault)},42019:(e,t,r)=>{r.d(t,{jH:()=>l});var n=r(28081);r(7893);var i=Object.defineProperty,o=n.createContext(void 0);function l(e){let t=n.useContext(o);return e||t||"ltr"}i(l,"name",{value:"useDirection",configurable:!0})},43970:(e,t)=>{function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,l=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+l+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},44995:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(4420)._(r(28081)).default.createContext({})},46095:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},46780:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(28081),i=n.useLayoutEffect,o=n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},48731:(e,t,r)=>{r.d(t,{UC:()=>es,B8:()=>el,bL:()=>eo,l9:()=>ea});var n=r(28081),i=r.t(n,2),o=r(51016),l=r(25020),a=r(93992),s=r(46988),u=r(68285),c=r(21851),d=r(66325),f=r(45415),p=r(42019),h=r(58307),m=Object.defineProperty,g=(e,t)=>m(e,"name",{value:t,configurable:!0}),v=!1;function y(){let[e,t]=n.useState(v);return n.useEffect(()=>{v||(v=!0,t(!0))},[]),e}g(y,"useIsHydrated");var b=i[" useSyncExternalStore ".trim().toString()];function x(){return()=>{}}function w(){return b(x,()=>!0,()=>!1)}g(x,"subscribe"),g(w,"useIsHydratedModern");var C="function"==typeof b?w:y,j=r(7893),R=Object.defineProperty,_=(e,t)=>R(e,"name",{value:t,configurable:!0}),E="rovingFocusGroup.onEntryFocus",P={bubbles:!1,cancelable:!0},O="RovingFocusGroup",[S,T,k]=(0,a.N)(O),[I,A]=(0,l.A)(O,[k]),[M,D]=I(O),z=n.forwardRef(_(function(e,t){return(0,j.jsx)(S.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(S.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(L,{...e,ref:t})})})},"RovingFocusGroup")),L=n.forwardRef(_(function(e,t){let{__scopeRovingFocusGroup:r,orientation:i,loop:l=!1,dir:a,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:m,onEntryFocus:g,preventScrollOnEntryFocus:v=!1,...y}=e,b=n.useRef(null),x=(0,s.s)(t,b),w=(0,p.jH)(a),[C,R]=(0,f.i)({prop:u,defaultProp:null!=h?h:null,onChange:m,caller:O}),[_,S]=n.useState(!1),k=(0,d.c)(g),I=T(r),A=n.useRef(!1),[D,z]=n.useState(0);return n.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(E,k),()=>e.removeEventListener(E,k)},[k]),(0,j.jsx)(M,{scope:r,orientation:i,dir:w,loop:l,currentTabStopId:C,onItemFocus:n.useCallback(e=>R(e),[R]),onItemShiftTab:n.useCallback(()=>S(!0),[]),onFocusableItemAdd:n.useCallback(()=>z(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>z(e=>e-1),[]),children:(0,j.jsx)(c.sG.div,{tabIndex:_||0===D?-1:0,"data-orientation":i,...y,ref:x,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{A.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let t=!A.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(E,P);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable);B([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),v)}}A.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>S(!1))})})},"RovingFocusGroupImpl")),F=n.forwardRef(_(function(e,t){let{__scopeRovingFocusGroup:r,focusable:i=!0,active:l=!1,tabStopId:a,children:s,...d}=e,f=(0,u.B)(),p=a||f,m=D("RovingFocusGroupItem",r),g=m.currentTabStopId===p,v=T(r),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:x}=m,w=C();return(0,h.N)(()=>{if(w&&i)return y(),()=>b()},[w,i,y,b]),n.useEffect(()=>{if(!w&&i)return y(),()=>b()},[w,i,y,b]),(0,j.jsx)(S.ItemSlot,{scope:r,id:p,focusable:i,active:l,children:(0,j.jsx)(c.sG.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=G(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=m.loop?U(r,n+1):r.slice(n+1)}setTimeout(()=>B(r))}}),children:"function"==typeof s?s({isCurrentTabStop:g,hasTabStop:null!=x}):s})})},"RovingFocusGroupItem")),N={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function K(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function G(e,t,r){let n=K(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return N[n]}function B(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function U(e,t){return e.map((r,n)=>e[(t+n)%e.length])}_(K,"getDirectionAwareKey"),_(G,"getFocusIntent"),_(B,"focusFirst"),_(U,"wrapArray");var H=r(17312),q=Object.defineProperty,V=(e,t)=>q(e,"name",{value:t,configurable:!0}),W="Tabs",[X,Y]=(0,l.A)(W,[A]),$=A(),[J,Q]=X(W),Z=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:l="horizontal",dir:a,activationMode:s="automatic",...d}=e,h=(0,p.jH)(a),[m,g]=(0,f.i)({prop:n,onChange:i,defaultProp:null!=o?o:"",caller:W});return(0,j.jsx)(J,{scope:r,baseId:(0,u.B)(),value:m,onValueChange:g,orientation:l,dir:h,activationMode:s,children:(0,j.jsx)(c.sG.div,{dir:h,"data-orientation":l,...d,ref:t})})},"Tabs")),ee=n.forwardRef(V(function(e,t){let{__scopeTabs:r,loop:n=!0,...i}=e,o=Q("TabsList",r),l=$(r);return(0,j.jsx)(z,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:n,children:(0,j.jsx)(c.sG.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:t})})},"TabsList")),et=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:n,disabled:i=!1,...l}=e,a=Q("TabsTrigger",r),s=$(r),u=en(a.baseId,n),d=ei(a.baseId,n),f=n===a.value;return(0,j.jsx)(F,{asChild:!0,...s,focusable:!i,active:f,children:(0,j.jsx)(c.sG.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:u,...l,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(n)}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!i&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&a.onValueChange(n)}),onFocus:(0,o.mK)(e.onFocus,()=>{let e="manual"!==a.activationMode;f||i||!e||a.onValueChange(n)})})})},"TabsTrigger")),er=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:i,forceMount:o,children:l,...a}=e,s=Q("TabsContent",r),u=en(s.baseId,i),d=ei(s.baseId,i),f=i===s.value,p=n.useRef(f);return n.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,j.jsx)(H.C,{present:o||f,children:r=>{let{present:n}=r;return(0,j.jsx)(c.sG.div,{"data-state":f?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":u,hidden:!n,id:d,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:n&&l})}})},"TabsContent"));function en(e,t){return"".concat(e,"-trigger-").concat(t)}function ei(e,t){return"".concat(e,"-content-").concat(t)}V(en,"makeTriggerId"),V(ei,"makeContentId");var eo=Z,el=ee,ea=et,es=er},59179:(e,t)=>{function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:l}=e,a=n?40*n:t,s=i?40*i:r,u=a&&s?"viewBox='0 0 "+a+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},60640:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(59717).A)("chevrons-down",[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]])},63914:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return x}});let n=r(4420),i=r(71777),o=r(7893),l=i._(r(28081)),a=n._(r(63220)),s=n._(r(29091)),u=r(69538),c=r(46095),d=r(41853);r(47971);let f=r(0),p=n._(r(43970)),h=r(26865),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,o,l){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function v(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,l.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:s,decoding:u,className:c,style:d,fetchPriority:f,placeholder:p,loading:m,unoptimized:y,fill:b,onLoadRef:x,onLoadingCompleteRef:w,setBlurComplete:C,setShowAltText:j,sizesInput:R,onLoad:_,onError:E,...P}=e,O=(0,l.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,p,x,w,C,y,R))},[r,p,x,w,C,E,y,R]),S=(0,h.useMergedRef)(t,O);return(0,o.jsx)("img",{...P,...v(f),loading:m,width:s,height:a,decoding:u,"data-nimg":b?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:S,onLoad:e=>{g(e.currentTarget,p,x,w,C,y,R)},onError:e=>{j(!0),"empty"!==p&&C(!0),E&&E(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...v(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,o.jsx)(s.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let x=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(f.RouterContext),n=(0,l.useContext)(d.ImageConfigContext),i=(0,l.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:a,onLoadingComplete:s}=e,h=(0,l.useRef)(a);(0,l.useEffect)(()=>{h.current=a},[a]);let g=(0,l.useRef)(s);(0,l.useEffect)(()=>{g.current=s},[s]);let[v,x]=(0,l.useState)(!1),[w,C]=(0,l.useState)(!1),{props:j,meta:R}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:v,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{...j,unoptimized:R.unoptimized,placeholder:R.placeholder,fill:R.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:C,sizesInput:e.sizes,ref:t}),R.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:j}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69538:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(47971);let n=r(59179),i=r(46095),o=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r,s;let u,c,d,{src:f,sizes:p,unoptimized:h=!1,priority:m=!1,loading:g,className:v,quality:y,width:b,height:x,fill:w=!1,style:C,overrideSrc:j,onLoad:R,onLoadingComplete:_,placeholder:E="empty",blurDataURL:P,fetchPriority:O,decoding:S="async",layout:T,objectFit:k,objectPosition:I,lazyBoundary:A,lazyRoot:M,...D}=e,{imgConf:z,showAltText:L,blurComplete:F,defaultLoader:N}=t,K=z||i.imageConfigDefault;if("allSizes"in K)u=K;else{let e=[...K.deviceSizes,...K.imageSizes].sort((e,t)=>e-t),t=K.deviceSizes.sort((e,t)=>e-t),n=null==(r=K.qualities)?void 0:r.sort((e,t)=>e-t);u={...K,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===N)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let G=D.loader||N;delete D.loader,delete D.srcSet;let B="__next_img_default"in G;if(B){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=G;G=t=>{let{config:r,...n}=t;return e(n)}}if(T){"fill"===T&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(C={...C,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!p&&(p=t)}let U="",H=a(b),q=a(x);if((s=f)&&"object"==typeof s&&(l(s)||void 0!==s.src)){let e=l(f)?f.default:f;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,d=e.blurHeight,P=P||e.blurDataURL,U=e.src,!w)if(H||q){if(H&&!q){let t=H/e.width;q=Math.round(e.height*t)}else if(!H&&q){let t=q/e.height;H=Math.round(e.width*t)}}else H=e.width,q=e.height}let V=!m&&("lazy"===g||void 0===g);(!(f="string"==typeof f?f:U)||f.startsWith("data:")||f.startsWith("blob:"))&&(h=!0,V=!1),u.unoptimized&&(h=!0),B&&!u.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(h=!0);let W=a(y),X=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:k,objectPosition:I}:{},L?{}:{color:"transparent"},C),Y=F||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:H,heightInt:q,blurWidth:c,blurHeight:d,blurDataURL:P||"",objectFit:X.objectFit})+'")':'url("'+E+'")',$=o.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,J=Y?{backgroundSize:$,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:l,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,l),c=s.length-1;return{sizes:l||"w"!==u?l:"100vw",srcSet:s.map((e,n)=>a({config:t,src:r,quality:o,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:r,quality:o,width:s[c]})}}({config:u,src:f,unoptimized:h,width:H,quality:W,sizes:p,loader:G});return{props:{...D,loading:V?"lazy":g,fetchPriority:O,width:H,height:q,decoding:S,className:v,style:{...X,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:j||Q.src},meta:{unoptimized:h,priority:m,placeholder:E,fill:w}}}},93992:(e,t,r)=>{function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function i(e,t){var r=n(e,t,"get");return r.get?r.get.call(e):r.value}function o(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}return r}r.d(t,{N:()=>m});var l,a,s=r(28081),u=r(25020),c=r(46988),d=r(85126),f=r(7893),p=Object.defineProperty,h=(e,t)=>p(e,"name",{value:t,configurable:!0});function m(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=h(e=>{let{scope:t,children:r}=e,n=s.useRef(null),o=s.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:o,collectionRef:n,children:r})},"CollectionProvider");l.displayName=t;let a=e+"CollectionSlot",p=(0,d.TL)(a),m=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(a,r),l=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(p,{ref:l,children:n})});m.displayName=a;let g=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,d.TL)(g),b=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=s.useRef(null),a=(0,c.s)(t,l),u=o(g,r);return s.useEffect(()=>(u.itemMap.set(l,{ref:l,...i}),()=>void u.itemMap.delete(l))),(0,f.jsx)(y,{...{[v]:""},ref:a,children:n})});function x(t){let r=o(e+"CollectionConsumer",t);return s.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])}return b.displayName=g,h(x,"useCollection"),[{Provider:l,Slot:m,ItemSlot:b},x,n]}h(m,"createCollection");var g=new WeakMap,v=(l=new WeakMap,h(a=class e extends Map{set(e,t){return g.get(this)&&(this.has(e)?i(this,l)[i(this,l).indexOf(e)]=e:i(this,l).push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),a=i(this,l).length,s=x(e),u=s>=0?s:a+s,c=u<0||u>=a?-1:u;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,r),this;let d=this.size+ +!o;s<0&&u++;let f=[...i(this,l)],p=!1;for(let e=u;e<d;e++)if(u===e){let i=f[e];f[e]===t&&(i=f[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{p||f[e-1]!==t||(p=!0);let r=f[p?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=i(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=i(this,l).indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=i(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=i(this,l).indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return o(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&i(this,l).splice(i(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=y(i(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=y(i(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return i(this,l).indexOf(e)}keyAt(e){return y(i(this,l),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(n,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=[...this.entries()];return i.splice(...r),new e(i)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,l,{writable:!0,value:void 0}),o(this,l,[...super.keys()]),g.set(this,!0)}},"OrderedDict"),a);function y(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=b(e,t);return -1===r?void 0:e[r]}function b(e,t){let r=e.length,n=x(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}function x(e){return e!=e||0===e?0:Math.trunc(e)}function w(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function C(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function j(e,t){return e[1].element&&t[1].element?C(e[1].element,t[1].element)?-1:1:0}function R(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}h(y,"at"),h(b,"toSafeIndex"),h(x,"toSafeInteger"),h(function(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,o]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new v,setItemMap:h(()=>void 0,"setItemMap")}),l=h(e=>{let{state:t,...r}=e;return t?(0,f.jsx)(p,{...r,state:t}):(0,f.jsx)(a,{...r})},"CollectionProvider");l.displayName=t;let a=h(e=>{let t=_();return(0,f.jsx)(p,{...e,state:t})},"CollectionInit");a.displayName=t+"Init";let p=h(e=>{let{scope:t,children:r,state:n}=e,o=s.useRef(null),[l,a]=s.useState(null),u=(0,c.s)(o,a),[d,p]=n;return s.useEffect(()=>{if(!l)return;let e=R(()=>{});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l]),(0,f.jsx)(i,{scope:t,itemMap:d,setItemMap:p,collectionRef:u,collectionRefObject:o,collectionElement:l,children:r})},"CollectionProviderImpl");p.displayName=t+"Impl";let m=e+"CollectionSlot",g=(0,d.TL)(m),y=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(m,r),l=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(g,{ref:l,children:n})});y.displayName=m;let b=e+"CollectionItemSlot",x=(0,d.TL)(b),C=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=s.useRef(null),[a,u]=s.useState(null),d=(0,c.s)(t,l,u),{setItemMap:p}=o(b,r),h=s.useRef(i);w(h.current,i)||(h.current=i);let m=h.current;return s.useEffect(()=>(p(e=>a?e.has(a)?e.set(a,{...m,element:a}).toSorted(j):(e.set(a,{...m,element:a}),e.toSorted(j)):e),()=>{p(e=>a&&e.has(a)?(e.delete(a),new v(e)):e)}),[a,m,p]),(0,f.jsx)(x,{"data-radix-collection-item":"",ref:d,children:n})});function _(){return s.useState(new v)}function E(t){let{itemMap:r}=o(e+"CollectionConsumer",t);return r}return C.displayName=b,h(_,"useInitCollection"),h(E,"useCollection"),[{Provider:l,Slot:y,ItemSlot:C},{createCollectionScope:n,useCollection:E,useInitCollection:_}]},"createCollection"),h(w,"shallowEqual"),h(C,"isElementPreceding"),h(j,"sortByDocumentPosition"),h(R,"getChildListObserver")}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9585],{1536:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.get(t.RESOURCEPATH)]})})},t.RESOURCEPATH="/synonym_sets",t}()},2504:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(94066));e.default=function(){function t(t,e){this.name=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},3740:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.create=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.post(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(){return t.RESOURCEPATH},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/nl_search_models"},enumerable:!1,configurable:!0}),t}()},4358:(t,e,r)=>{"use strict";var n=r(16298);Object.defineProperty(e,"__esModule",{value:!0});var i=r(13083),o=r(52800),a=r(12072),s=void 0!==n&&null!=n.versions&&null!=n.versions.node;e.default=function(t){function e(e,r,n){return t.call(this,e,r,n)||this}return i.__extends(e,t),e.prototype.create=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){if(!t)throw Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,e)]})})},e.prototype.upsert=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){if(!t)throw Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},e,{action:"upsert"}))]})})},e.prototype.update=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){if(!t)throw Error("No document provided");return null!=e.filter_by?[2,this.apiCall.patch(this.endpointPath(),t,Object.assign({},e))]:[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},e,{action:"update"}))]})})},e.prototype.delete=function(){return i.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),i.__generator(this,function(e){return[2,this.apiCall.delete(this.endpointPath(),t)]})})},e.prototype.createMany=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){return this.configuration.logger.warn("createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents"),[2,this.import(t,e)]})})},e.prototype.import=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){var r,n,a,u,c;return void 0===e&&(e={}),i.__generator(this,function(l){switch(l.label){case 0:if(r=i.__assign({throwOnFail:!0},e),Array.isArray(t)){if(0===t.length)throw new o.RequestMalformed("No documents provided");try{n=t.map(function(t){return JSON.stringify(t)}).join("\n")}catch(t){if(t instanceof RangeError&&t.message.includes("Too many properties to enumerate"))throw Error("".concat(t,"\n It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object\n\n Please try reducing the number of keys in your document, or using CURL to import your data.\n "));throw Error(t)}}else{var h;if(null==(h=n=t)||""===h||0===h.length)throw new o.RequestMalformed("No documents provided")}return[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:r,bodyParameters:n,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0,enableKeepAlive:!!s})];case 1:if(a=l.sent(),!Array.isArray(t))return[2,a];if(!((c=(u=a.split("\n").map(function(t){return JSON.parse(t)})).filter(function(t){return!1===t.success})).length>0)||!r.throwOnFail)return[2,u];throw new o.ImportError("".concat(u.length-c.length," documents imported successfully, ").concat(c.length," documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document."),u,{documentsInJSONLFormat:n,options:r,failedItems:c,successCount:u.length-c.length})}})})},e.prototype.importStream=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){var r,n,a;return void 0===e&&(e={}),i.__generator(this,function(u){switch(u.label){case 0:return r=i.__assign({throwOnFail:!0},e),[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:r,bodyParameters:t,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0,enableKeepAlive:!!s})];case 1:if(!((a=(n=u.sent().split("\n").map(function(t){return JSON.parse(t)})).filter(function(t){return!1===t.success})).length>0)||!r.throwOnFail)return[2,n];throw new o.ImportError("".concat(n.length-a.length," documents imported successfully, ").concat(a.length," documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document."),n,{documentsInJSONLFormat:t,options:r,failedItems:a,successCount:n.length-a.length})}})})},e.prototype.export=function(){return i.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),i.__generator(this,function(e){return[2,this.apiCall.get(this.endpointPath("export"),t)]})})},e.prototype.exportStream=function(){return i.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),i.__generator(this,function(e){return[2,this.apiCall.get(this.endpointPath("export"),t,{responseType:"stream"})]})})},e}(a.SearchOnlyDocuments)},5523:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57474));e.default=function(){function t(t,e){this.name=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(t){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name),"/items").concat(void 0===t?"":"/"+encodeURIComponent(t))},t}()},9855:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(36524));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},10058:t=>{!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=u(t),a=o[0],s=o[1],c=new i((a+s)*3/4-s),l=0,h=s>0?a-4:a;for(r=0;r<h;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[l++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(t,e,n){for(var i,o=[],a=e;a<n;a+=3)i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),u=a(o),c=u.write(n,i);return c!==o&&(u=u.slice(0,c)),u}if(ArrayBuffer.isView(t))return h(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(T(t,ArrayBuffer)||t&&T(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(T(t,SharedArrayBuffer)||t&&T(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),s.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var l=t.valueOf&&t.valueOf();if(null!=l&&l!==t)return s.from(l,e,r);var d=function(t){if(s.isBuffer(t)){var e=0|f(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(d)return d;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return c(t),a(t<0?0:0|f(t))}function h(t){for(var e=t.length<0?0:0|f(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(c(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return l(t)},s.allocUnsafeSlow=function(t){return l(t)};function f(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||T(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(t).length;default:if(i)return n?-1:S(t).length;e=(""+e).toLowerCase(),i=!0}}function d(t,e,r){var i,o,a,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=U[t[o]];return i}(this,e,r);case"utf8":case"utf-8":return _(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return g(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function g(t,e,r,n,i){var o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<s;o++)if(c(t,o)===c(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else -1!==l&&(o-=o-l),l=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var h=!0,f=0;f<u;f++)if(c(t,o+f)!==c(e,f)){h=!1;break}if(h)return o}return -1}s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(T(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),T(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=s.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(T(o,Uint8Array)&&(o=s.from(o)),!s.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?_(this,0,t):d.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(T(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,a=r-e,u=Math.min(o,a),c=this.slice(n,i),l=t.slice(e,r),h=0;h<u;++h)if(c[h]!==l[h]){o=c[h],a=l[h];break}return o<a?-1:+(a<o)},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)};function _(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,u,c=t[i],l=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=r)switch(h){case 1:c<128&&(l=c);break;case 2:(192&(o=t[i+1]))==128&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],(192&o)==128&&(192&a)==128&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=h}var f=n,p=f.length;if(p<=4096)return String.fromCharCode.apply(String,f);for(var d="",v=0;v<p;)d+=String.fromCharCode.apply(String,f.slice(v,v+=4096));return d}function m(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function C(t,e,r,n,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function w(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function b(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function P(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,u,c,l,h,f=this.length-e;if((void 0===r||r>f)&&(r=f),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,u=parseInt(e.substr(2*a,2),16);if((s=u)!=s)break;t[r+a]=u}return a}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,O(S(t,this.length-i),this,i,o);case"ascii":return a=e,s=r,O(E(t),this,a,s);case"latin1":case"binary":return function(t,e,r,n){return O(E(e),t,r,n)}(this,t,e,r);case"base64":return u=e,c=r,O(A(t),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=e,h=r,O(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-l),this,l,h);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUInt8=function(t,e){return t>>>=0,e||m(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||m(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||m(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||m(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||m(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||m(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||m(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||m(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||m(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||m(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||m(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||m(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||m(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||m(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;C(this,t,e,r,i,0)}var o=1,a=0;for(this[e]=255&t;++a<r&&(o*=256);)this[e+a]=t/o&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;C(this,t,e,r,i,0)}var o=r-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);C(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);C(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||C(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return b(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return b(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return P(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return P(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=s.isBuffer(t)?t:s.from(t,n),u=a.length;if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var R=/[^+/0-9A-Za-z-_]/g;function S(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function E(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function A(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function O(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function T(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var U=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},783:function(t,e){e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,h=r?i-1:0,f=r?-1:1,p=t[e+h];for(h+=f,o=p&(1<<-l)-1,p>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+h],h+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=c}return(p?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,h=l>>1,f=5960464477539062e-23*(23===i),p=n?0:o-1,d=n?1:-1,v=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+h>=1?e+=f/u:e+=f*Math.pow(2,1-h),e*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[r+p]=255&a,p+=d,a/=256,c-=8);t[r+p-d]|=128*v}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var o=r[t]={exports:{}},a=!0;try{e[t](o,o.exports,n),a=!1}finally{a&&delete r[t]}return o.exports}n.ab="//",t.exports=n(72)}()},12072:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SearchOnlyDocuments=void 0;var n=r(13083),i=n.__importDefault(r(56869)),o=n.__importDefault(r(64661)),a=r(80521),s="/documents";e.SearchOnlyDocuments=function(){function t(t,e,r){this.collectionName=t,this.apiCall=e,this.configuration=r,this.requestWithCache=new i.default}return t.prototype.clearCache=function(){this.requestWithCache.clearCache()},t.prototype.search=function(t){return n.__awaiter(this,arguments,void 0,function(t,e){var r,i,o,s,u,c,l=void 0===e?{}:e,h=l.cacheSearchResultsForSeconds,f=void 0===h?this.configuration.cacheSearchResultsForSeconds:h,p=l.abortSignal,d=void 0===p?null:p;return n.__generator(this,function(e){return r={},!0===this.configuration.useServerSideSearchCache&&(r.use_cache=!0),o=(i=(0,a.normalizeArrayableParams)(t)).streamConfig,s=n.__rest(i,["streamConfig"]),c=!0===(u=n.__assign(n.__assign({},r),s)).conversation_stream,[2,this.requestWithCache.perform(this.apiCall,"get",{path:this.endpointPath("search"),queryParams:u,streamConfig:o,abortSignal:d,isStreamingRequest:c},{cacheResponseForSeconds:f})]})})},t.prototype.endpointPath=function(t){return"".concat(o.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(s).concat(void 0===t?"":"/"+t)},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return s},enumerable:!1,configurable:!0}),t}()},12661:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57474)),o=n.__importDefault(r(5523)),a=n.__importDefault(r(93118));e.default=function(){function t(t,e){this.name=t,this.apiCall=e,this.individualItems={},this._items=new o.default(this.name,e)}return t.prototype.upsert=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.items=function(t){return void 0===t?this._items:(void 0===this.individualItems[t]&&(this.individualItems[t]=new a.default(this.name,t,this.apiCall)),this.individualItems[t])},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},15746:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SearchOnlyCollection=void 0;var n=r(12072);e.SearchOnlyCollection=function(){function t(t,e,r){this.name=t,this.apiCall=e,this.configuration=r,this._documents=new n.SearchOnlyDocuments(this.name,this.apiCall,this.configuration)}return t.prototype.documents=function(){return this._documents},t}()},15887:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(3740));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.update=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},16940:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(65308));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},18587:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("/debug")]})})},t}()},19505:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/stopwords"},enumerable:!1,configurable:!0}),t}()},19643:function(t,e,r){var n,i;!function(o,a){"use strict";void 0===(i="function"==typeof(n=a)?n.call(e,r,e,t):n)||(t.exports=i)}(0,function(){"use strict";var t=function(){},e="undefined",r=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],i={},o=null;function a(t,e){var r=t[e];if("function"==typeof r.bind)return r.bind(t);try{return Function.prototype.bind.call(r,t)}catch(e){return function(){return Function.prototype.apply.apply(r,[t,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function u(){for(var r=this.getLevel(),i=0;i<n.length;i++){var o=n[i];this[o]=i<r?t:this.methodFactory(o,r,this.name)}if(this.log=this.debug,typeof console===e&&r<this.levels.SILENT)return"No console available for logging"}function c(t){return function(){typeof console!==e&&(u.call(this),this[t].apply(this,arguments))}}function l(n,i,o){var u;return"debug"===(u=n)&&(u="log"),typeof console!==e&&("trace"===u&&r?s:void 0!==console[u]?a(console,u):void 0!==console.log?a(console,"log"):t)||c.apply(this,arguments)}function h(t,r){var a,s,c,h=this,f="loglevel";function p(){var t;if(typeof window!==e&&f){try{t=window.localStorage[f]}catch(t){}if(typeof t===e)try{var r=window.document.cookie,n=encodeURIComponent(f),i=r.indexOf(n+"=");-1!==i&&(t=/^([^;]+)/.exec(r.slice(i+n.length+1))[1])}catch(t){}return void 0===h.levels[t]&&(t=void 0),t}}function d(t){var e=t;if("string"==typeof e&&void 0!==h.levels[e.toUpperCase()]&&(e=h.levels[e.toUpperCase()]),"number"==typeof e&&e>=0&&e<=h.levels.SILENT)return e;throw TypeError("log.setLevel() called with invalid level: "+t)}"string"==typeof t?f+=":"+t:"symbol"==typeof t&&(f=void 0),h.name=t,h.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},h.methodFactory=r||l,h.getLevel=function(){return null!=c?c:null!=s?s:a},h.setLevel=function(t,r){return c=d(t),!1!==r&&function(t){var r=(n[t]||"silent").toUpperCase();if(typeof window!==e&&f){try{window.localStorage[f]=r;return}catch(t){}try{window.document.cookie=encodeURIComponent(f)+"="+r+";"}catch(t){}}}(c),u.call(h)},h.setDefaultLevel=function(t){s=d(t),p()||h.setLevel(t,!1)},h.resetLevel=function(){if(c=null,typeof window!==e&&f){try{window.localStorage.removeItem(f)}catch(t){}try{window.document.cookie=encodeURIComponent(f)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(t){}}u.call(h)},h.enableAll=function(t){h.setLevel(h.levels.TRACE,t)},h.disableAll=function(t){h.setLevel(h.levels.SILENT,t)},h.rebuild=function(){if(o!==h&&(a=d(o.getLevel())),u.call(h),o===h)for(var t in i)i[t].rebuild()},a=d(o?o.getLevel():"WARN");var v=p();null!=v&&(c=d(v)),u.call(h)}(o=new h).getLogger=function(t){if("symbol"!=typeof t&&"string"!=typeof t||""===t)throw TypeError("You must supply a name when creating a logger.");var e=i[t];return e||(e=i[t]=new h(t,o.methodFactory)),e};var f=typeof window!==e?window.log:void 0;return o.noConflict=function(){return typeof window!==e&&window.log===o&&(window.log=f),o},o.getLoggers=function(){return i},o.default=o,o})},21182:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(59717).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},24892:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(1536));e.default=function(){function t(t,e,r){this.synonymSetName=t,this.itemId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.synonymSetName),"/items/").concat(encodeURIComponent(this.itemId))},t}()},26528:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(e,r,n){var i=this.constructor,o=t.call(this,e)||this;return o.name=i.name,o.httpBody=r,o.httpStatus=n,Object.setPrototypeOf(o,i.prototype),o}return n.__extends(e,t),e}(Error)},27385:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.create=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.post(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/conversations/models"},enumerable:!1,configurable:!0}),t}()},31065:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("/metrics.json")]})})},t}()},33901:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},36524:(t,e,r)=>{"use strict";var n=r(10058).Buffer;Object.defineProperty(e,"__esModule",{value:!0});var i=r(13083),o=r(88523),a=r(80521),s="/keys";e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.create=function(e){return i.__awaiter(this,void 0,void 0,function(){return i.__generator(this,function(r){return[2,this.apiCall.post(t.RESOURCEPATH,e)]})})},t.prototype.retrieve=function(){return i.__awaiter(this,void 0,void 0,function(){return i.__generator(this,function(t){return[2,this.apiCall.get(s)]})})},t.prototype.generateScopedSearchKey=function(t,e){var r=JSON.stringify((0,a.normalizeArrayableParams)(e)),i=n.from((0,o.createHmac)("sha256",t).update(r).digest("base64")),s=t.substr(0,4),u="".concat(i).concat(s).concat(r);return n.from(u).toString("base64")},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return s},enumerable:!1,configurable:!0}),t}()},39267:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(59717).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},40108:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(19505));e.default=function(){function t(t,e){this.stopwordId=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.stopwordId))},t}()},40717:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.importResults=r,i.payload=n,i}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},42142:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},46198:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i="/operations";e.default=function(){function t(t){this.apiCall=t}return t.prototype.perform=function(t){return n.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),n.__generator(this,function(r){return[2,this.apiCall.post("".concat(i,"/").concat(t),{},e)]})})},t.prototype.getSchemaChanges=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("".concat(i,"/schema_changes"))]})})},t}()},46308:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i="/aliases";e.default=function(){function t(t){this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(i)]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH,"/").concat(encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return i},enumerable:!1,configurable:!0}),t}()},47570:(t,e,r)=>{"use strict";r.d(e,{YQ:()=>i});var n=r(28081);function i(t,e,r,i){var o=this,a=(0,n.useRef)(null),s=(0,n.useRef)(0),u=(0,n.useRef)(0),c=(0,n.useRef)(null),l=(0,n.useRef)([]),h=(0,n.useRef)(),f=(0,n.useRef)(),p=(0,n.useRef)(t),d=(0,n.useRef)(!0),v=(0,n.useRef)(),y=(0,n.useRef)();p.current=t;var g="undefined"!=typeof window,_=!e&&0!==e&&g;if("function"!=typeof t)throw TypeError("Expected a function");e=+e||0;var m=!!(r=r||{}).leading,C=!("trailing"in r)||!!r.trailing,w=!!r.flushOnExit&&C,b="maxWait"in r,P="debounceOnServer"in r&&!!r.debounceOnServer,R=b?Math.max(+r.maxWait||0,e):null,S=(0,n.useMemo)(function(){var t=function(t){var e=l.current,r=h.current;return l.current=h.current=null,s.current=t,u.current=u.current||t,f.current=p.current.apply(r,e)},r=function(t,e){_&&cancelAnimationFrame(c.current),c.current=_?requestAnimationFrame(t):setTimeout(t,e)},n=function(t){if(!d.current)return!1;var r=t-a.current;return!a.current||r>=e||r<0||b&&t-s.current>=R},S=function(e){return c.current=null,C&&l.current?t(e):(l.current=h.current=null,f.current)},E=function t(){var i=Date.now();if(m&&u.current===s.current&&A(),n(i))return S(i);if(d.current){var o=e-(i-a.current);r(t,b?Math.min(o,R-(i-s.current)):o)}},A=function(){i&&i({})},O=function(){if(g||P){var i,u=Date.now(),p=n(u);if(l.current=[].slice.call(arguments),h.current=o,a.current=u,w&&!v.current&&(v.current=function(){var t;"hidden"===(null==(t=globalThis.document)?void 0:t.visibilityState)&&y.current.flush()},null==(i=globalThis.document)||null==i.addEventListener||i.addEventListener("visibilitychange",v.current)),p){if(!c.current&&d.current)return s.current=a.current,r(E,e),m?t(a.current):f.current;if(b)return r(E,e),t(a.current)}return c.current||r(E,e),f.current}};return O.cancel=function(){var t=c.current;t&&(_?cancelAnimationFrame(c.current):clearTimeout(c.current)),s.current=0,l.current=a.current=h.current=c.current=null,t&&i&&i({})},O.isPending=function(){return!!c.current},O.flush=function(){return c.current?S(Date.now()):f.current},O},[m,b,e,R,C,w,_,g,P,i]);return y.current=S,(0,n.useEffect)(function(){return d.current=!0,function(){var t;w&&y.current.flush(),v.current&&(null==(t=globalThis.document)||null==t.removeEventListener||t.removeEventListener("visibilitychange",v.current),v.current=null),d.current=!1}},[w]),S}},47684:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(46308));e.default=function(){function t(t,e){this.name=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},50360:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57675)),o=n.__importDefault(r(53798)),a=n.__importDefault(r(50529));e.default=function(){function t(t){this.apiCall=t,this.individualAnalyticsRules={},this.apiCall=t,this._analyticsRules=new i.default(this.apiCall),this._analyticsEvents=new a.default(this.apiCall)}return t.prototype.rules=function(t){return void 0===t?this._analyticsRules:(void 0===this.individualAnalyticsRules[t]&&(this.individualAnalyticsRules[t]=new o.default(t,this.apiCall)),this.individualAnalyticsRules[t])},t.prototype.events=function(){return this._analyticsEvents},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics"},enumerable:!1,configurable:!0}),t}()},50529:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.create=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.post(this.endpointPath(),t)]})})},t.prototype.retrieve=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.get(this.endpointPath(),t)]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics/events"},enumerable:!1,configurable:!0}),t}()},52641:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},52800:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ImportError=e.TypesenseError=e.ServerError=e.RequestUnauthorized=e.RequestMalformed=e.ObjectUnprocessable=e.ObjectNotFound=e.ObjectAlreadyExists=e.MissingConfigurationError=e.HTTPError=void 0;var n=r(13083);e.HTTPError=n.__importDefault(r(56066)).default,e.MissingConfigurationError=n.__importDefault(r(78444)).default,e.ObjectAlreadyExists=n.__importDefault(r(52641)).default,e.ObjectNotFound=n.__importDefault(r(75980)).default,e.ObjectUnprocessable=n.__importDefault(r(33901)).default,e.RequestMalformed=n.__importDefault(r(42142)).default,e.RequestUnauthorized=n.__importDefault(r(58479)).default,e.ServerError=n.__importDefault(r(68379)).default,e.ImportError=n.__importDefault(r(40717)).default,e.TypesenseError=n.__importDefault(r(26528)).default},53798:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57675));e.default=function(){function t(t,e){this.name=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},54619:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(1536)),o=n.__importDefault(r(83713)),a=n.__importDefault(r(24892));e.default=function(){function t(t,e){this.synonymSetName=t,this.apiCall=e,this.individualItems={},this._items=new o.default(this.synonymSetName,e)}return t.prototype.upsert=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.items=function(t){return void 0===t?this._items:(void 0===this.individualItems[t]&&(this.individualItems[t]=new a.default(this.synonymSetName,t,this.apiCall)),this.individualItems[t])},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.synonymSetName))},t}()},54703:(t,e,r)=>{"use strict";e._t=void 0;var n=r(13083),i=n.__importDefault(r(72343));i.default;var o=n.__importDefault(r(74487));e._t=o.default,n.__importStar(r(52800)),i.default,o.default},56066:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},56869:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(){this.responseCache=new Map,this.responsePromiseCache=new Map}return t.prototype.clearCache=function(){this.responseCache=new Map,this.responsePromiseCache=new Map},t.prototype.perform=function(t,e,r,i){return n.__awaiter(this,void 0,void 0,function(){var o,a,s,u,c,l,h,f,p,d,v,y,g,_,m,C,w,b,P,R,S;return n.__generator(this,function(n){switch(n.label){case 0:if(s=void 0===(a=(o=i||{}).cacheResponseForSeconds)?120:a,c=void 0===(u=o.maxSize)?100:u,l=void 0===i||s<=0||c<=0,h=r.path,f=r.queryParams,p=r.body,d=r.headers,v=r.streamConfig,y=r.abortSignal,g=r.responseType,_=r.isStreamingRequest,l)return[2,this.executeRequest(t,e,h,f,p,d,{abortSignal:y,responseType:g,streamConfig:v,isStreamingRequest:_})];if(m=JSON.stringify(r),C=this.responseCache.get(m),w=Date.now(),C){if(w-C.requestTimestamp<1e3*s)return this.responseCache.delete(m),this.responseCache.set(m,C),[2,C.response];this.responseCache.delete(m)}if(b=this.responsePromiseCache.get(m)){if(w-b.requestTimestamp<1e3*s)return this.responsePromiseCache.delete(m),this.responsePromiseCache.set(m,b),[2,b.responsePromise];this.responsePromiseCache.delete(m)}return P=this.executeRequest(t,e,h,f,p,d,{abortSignal:y,responseType:g,streamConfig:v,isStreamingRequest:_}),this.responsePromiseCache.set(m,{requestTimestamp:w,responsePromise:P}),[4,P];case 1:return R=n.sent(),this.responseCache.set(m,{requestTimestamp:w,response:R}),this.responseCache.size>c&&(S=this.responseCache.keys().next().value)&&this.responseCache.delete(S),this.responsePromiseCache.size>c&&(S=this.responsePromiseCache.keys().next().value)&&this.responsePromiseCache.delete(S),[2,R]}})})},t.prototype.executeRequest=function(t,e,r,n,i,o,a){void 0===n&&(n={});var s=t[e];switch(e){case"get":return s.call(t,r,n,{abortSignal:null==a?void 0:a.abortSignal,responseType:null==a?void 0:a.responseType,streamConfig:null==a?void 0:a.streamConfig,isStreamingRequest:null==a?void 0:a.isStreamingRequest});case"delete":return s.call(t,r,n);case"post":return s.call(t,r,i,n,o||{},{abortSignal:null==a?void 0:a.abortSignal,responseType:null==a?void 0:a.responseType,streamConfig:null==a?void 0:a.streamConfig,isStreamingRequest:null==a?void 0:a.isStreamingRequest});case"put":case"patch":return s.call(t,r,i,n);default:throw Error("Unsupported method: ".concat(String(e)))}},t}()},57309:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrayableParams=void 0,e.arrayableParams={query_by:"query_by",query_by_weights:"query_by_weights",facet_by:"facet_by",group_by:"group_by",include_fields:"include_fields",exclude_fields:"exclude_fields",highlight_fields:"highlight_fields",highlight_full_fields:"highlight_full_fields",pinned_hits:"pinned_hits",hidden_hits:"hidden_hits",infix:"infix",override_tags:"override_tags",num_typos:"num_typos",prefix:"prefix",synonym_sets:"synonym_sets",sort_by:"sort_by"}},57474:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.get(t.RESOURCEPATH)]})})},t.RESOURCEPATH="/curation_sets",t}()},57675:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.create=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.post(this.endpointPath(),t,{},{})]})})},t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(t){return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){return e={},t&&(e.rule_tag=t),[2,this.apiCall.get(this.endpointPath(),e)]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics/rules"},enumerable:!1,configurable:!0}),t}()},58479:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},59871:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});let n=(t,e)=>e.some(e=>e instanceof RegExp?e.test(t):e===t),i=new Set(["https:","http:","file:"]);function o(t,e){if("string"!=typeof(e={defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,removePath:!1,transformPath:!1,...e}).defaultProtocol||e.defaultProtocol.endsWith(":")||(e.defaultProtocol=`${e.defaultProtocol}:`),t=t.trim(),/^data:/i.test(t))return((t,{stripHash:e})=>{let r=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(t);if(!r)throw Error(`Invalid URL: ${t}`);let{type:n,data:i,hash:o}=r.groups,a=n.split(";"),s="base64"===a.at(-1);s&&a.pop();let u=a.shift()?.toLowerCase()??"",c=[...a.map(t=>{let[e,r=""]=t.split("=").map(t=>t.trim());return"charset"===e&&"us-ascii"===(r=r.toLowerCase())?"":`${e}${r?`=${r}`:""}`}).filter(Boolean)];s&&c.push("base64"),(c.length>0||u&&"text/plain"!==u)&&c.unshift(u);let l=e||!o?"":`#${o}`;return`data:${c.join(";")},${s?i.trim():i}${l}`})(t,e);if((t=>{try{let{protocol:e}=new URL(t);return e.endsWith(":")&&!e.includes(".")&&!i.has(e)}catch{return!1}})(t))return t;let r=t.startsWith("//");!r&&/^\.*\//.test(t)||(t=t.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,e.defaultProtocol));let o=new URL(t);if(e.forceHttp&&e.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(e.forceHttp&&"https:"===o.protocol&&(o.protocol="http:"),e.forceHttps&&"http:"===o.protocol&&(o.protocol="https:"),e.stripAuthentication&&(o.username="",o.password=""),e.stripHash?o.hash="":e.stripTextFragment&&(o.hash=o.hash.replace(/#?:~:text.*?$/i,"")),o.pathname){let t=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,e=0,r="";for(;;){let n=t.exec(o.pathname);if(!n)break;let i=n[0],a=n.index;r+=o.pathname.slice(e,a).replace(/\/{2,}/g,"/"),r+=i,e=a+i.length}r+=o.pathname.slice(e,o.pathname.length).replace(/\/{2,}/g,"/"),o.pathname=r}if(o.pathname)try{o.pathname=decodeURI(o.pathname).replace(/\\/g,"%5C")}catch{}if(!0===e.removeDirectoryIndex&&(e.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(e.removeDirectoryIndex)&&e.removeDirectoryIndex.length>0){let t=o.pathname.split("/").filter(Boolean),r=t.at(-1);r&&n(r,e.removeDirectoryIndex)&&(t.pop(),o.pathname=t.length>0?`/${t.join("/")}/`:"/")}if(e.removePath&&(o.pathname="/"),e.transformPath&&"function"==typeof e.transformPath){let t=o.pathname.split("/").filter(Boolean),r=e.transformPath(t);o.pathname=r?.length>0?`/${r.join("/")}`:"/"}if(o.hostname&&(o.hostname=o.hostname.replace(/\.$/,""),e.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(o.hostname)&&(o.hostname=o.hostname.replace(/^www\./,""))),Array.isArray(e.removeQueryParameters))for(let t of[...o.searchParams.keys()])n(t,e.removeQueryParameters)&&o.searchParams.delete(t);if(Array.isArray(e.keepQueryParameters)||!0!==e.removeQueryParameters||(o.search=""),Array.isArray(e.keepQueryParameters)&&e.keepQueryParameters.length>0)for(let t of[...o.searchParams.keys()])n(t,e.keepQueryParameters)||o.searchParams.delete(t);if(e.sortQueryParameters){let t=o.search;o.searchParams.sort();try{o.search=decodeURIComponent(o.search)}catch{}for(let e of t.slice(1).split("&").filter(t=>t&&!t.includes("="))){let t=decodeURIComponent(e);o.search=o.search.replace(`?${t}=`,`?${t}`).replace(`&${t}=`,`&${t}`)}}e.removeTrailingSlash&&(o.pathname=o.pathname.replace(/\/$/,"")),e.removeExplicitPort&&o.port&&(o.port="");let a=t;return t=o.toString(),e.removeSingleSlash||"/"!==o.pathname||a.endsWith("/")||""!==o.hash||(t=t.replace(/\/$/,"")),(e.removeTrailingSlash||"/"===o.pathname)&&""===o.hash&&e.removeSingleSlash&&(t=t.replace(/\/$/,"")),r&&!e.normalizeProtocol&&(t=t.replace(/^http:\/\//,"//")),e.stripProtocol&&(t=t.replace(/^(?:https?:)?\/\//,"")),t}},64661:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i="/collections";e.default=function(){function t(t){this.apiCall=t}return t.prototype.create=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.post(i,t,e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),n.__generator(this,function(e){return[2,this.apiCall.get(i,t)]})})},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return i},enumerable:!1,configurable:!0}),t}()},65308:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){var r,i;return n.__generator(this,function(n){switch(n.label){case 0:return r=Array.isArray(e)?e.map(function(t){return JSON.stringify(t)}).join("\n"):e,[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:{id:t},bodyParameters:r,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0})];case 1:return i=n.sent(),[2,Array.isArray(e)?i.split("\n").map(function(t){return JSON.parse(t)}):i]}})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return void 0===e?"".concat(t.RESOURCEPATH):"".concat(t.RESOURCEPATH,"/").concat(encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/stemming/dictionaries"},enumerable:!1,configurable:!0}),t}()},65674:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("/health")]})})},t}()},65873:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Document=void 0;var n=r(13083),i=n.__importDefault(r(64661)),o=n.__importDefault(r(4358));e.Document=function(){function t(t,e,r){this.collectionName=t,this.documentId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.delete(this.endpointPath(),t)]})})},t.prototype.update=function(t){return n.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),n.__generator(this,function(r){return[2,this.apiCall.patch(this.endpointPath(),t,e)]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(o.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.documentId))},t}()},66178:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importStar(r(19643)),o=r(52800);e.default=function(){function t(t){var e=this;this.nodes=t.nodes||[],this.nodes=this.nodes.map(function(t){return e.setDefaultPathInNode(t)}).map(function(t){return e.setDefaultPortInNode(t)}).map(function(t){return n.__assign({},t)}),null==t.randomizeNodes&&(t.randomizeNodes=!0),!0===t.randomizeNodes&&this.shuffleArray(this.nodes),this.nearestNode=t.nearestNode,this.nearestNode=this.setDefaultPathInNode(this.nearestNode),this.nearestNode=this.setDefaultPortInNode(this.nearestNode),this.connectionTimeoutSeconds=t.connectionTimeoutSeconds||t.timeoutSeconds||5,this.healthcheckIntervalSeconds=t.healthcheckIntervalSeconds||60,this.numRetries=(void 0!==t.numRetries&&t.numRetries>=0?t.numRetries:this.nodes.length+ +(null!=this.nearestNode))||3,this.retryIntervalSeconds=t.retryIntervalSeconds||.1,this.apiKey=t.apiKey,this.sendApiKeyAsQueryParam=t.sendApiKeyAsQueryParam,this.cacheSearchResultsForSeconds=t.cacheSearchResultsForSeconds||0,this.useServerSideSearchCache=t.useServerSideSearchCache||!1,this.axiosAdapter=t.axiosAdapter,this.logger=t.logger||i,this.logLevel=t.logLevel||"warn",this.logger.setLevel(this.logLevel),this.additionalHeaders=t.additionalHeaders,this.httpAgent=t.httpAgent,this.httpsAgent=t.httpsAgent,this.paramsSerializer=t.paramsSerializer,this.showDeprecationWarnings(t),this.validate()}return t.prototype.validate=function(){if(null==this.nodes||0===this.nodes.length||this.validateNodes())throw new o.MissingConfigurationError("Ensure that nodes[].protocol, nodes[].host and nodes[].port are set");if(null!=this.nearestNode&&this.isNodeMissingAnyParameters(this.nearestNode))throw new o.MissingConfigurationError("Ensure that nearestNodes.protocol, nearestNodes.host and nearestNodes.port are set");if(null==this.apiKey)throw new o.MissingConfigurationError("Ensure that apiKey is set");return!0},t.prototype.validateNodes=function(){var t=this;return this.nodes.some(function(e){return t.isNodeMissingAnyParameters(e)})},t.prototype.isNodeMissingAnyParameters=function(t){return!["protocol","host","port","path"].every(function(e){return t.hasOwnProperty(e)})&&null==t.url},t.prototype.setDefaultPathInNode=function(t){return null==t||t.hasOwnProperty("path")||(t.path=""),t},t.prototype.setDefaultPortInNode=function(t){if(null!=t&&!t.hasOwnProperty("port")&&t.hasOwnProperty("protocol"))switch(t.protocol){case"https":t.port=443;break;case"http":t.port=80}return t},t.prototype.showDeprecationWarnings=function(t){t.timeoutSeconds&&this.logger.warn("Deprecation warning: timeoutSeconds is now renamed to connectionTimeoutSeconds"),t.masterNode&&this.logger.warn("Deprecation warning: masterNode is now consolidated to nodes, starting with Typesense Server v0.12"),t.readReplicaNodes&&this.logger.warn("Deprecation warning: readReplicaNodes is now consolidated to nodes, starting with Typesense Server v0.12")},t.prototype.shuffleArray=function(t){for(var e,r=t.length-1;r>0;r--){var n=Math.floor(Math.random()*(r+1));e=[t[n],t[r]],t[r]=e[0],t[n]=e[1]}},t}()},67417:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661)),o=n.__importDefault(r(72158));e.default=function(){function t(t,e,r){this.collectionName=t,this.synonymId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return t.hasWarnedDeprecation||(console.warn("[typesense] 'synonym' APIs are deprecated starting with Typesense Server v30. Please migrate to synonym sets 'synonym_sets'."),t.hasWarnedDeprecation=!0),"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(o.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.synonymId))},t.hasWarnedDeprecation=!1,t}()},68379:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},69015:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(94420));e.default=function(){function t(t,e){this.presetId=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.presetId))},t}()},69039:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(83292));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.update=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},69256:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661)),o=n.__importDefault(r(4358)),a=r(52800),s=n.__importDefault(r(98669)),u=n.__importDefault(r(70064)),c=n.__importDefault(r(72158)),l=n.__importDefault(r(67417)),h=r(65873);e.default=function(){function t(t,e,r){this.name=t,this.apiCall=e,this.configuration=r,this.individualDocuments={},this.individualOverrides={},this.individualSynonyms={},this.name=t,this.apiCall=e,this.configuration=r,this._documents=new o.default(this.name,this.apiCall,this.configuration),this._overrides=new s.default(this.name,this.apiCall),this._synonyms=new c.default(this.name,this.apiCall)}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.update=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.patch(this.endpointPath(),t)]})})},t.prototype.delete=function(){return n.__awaiter(this,arguments,void 0,function(t){return void 0===t&&(t={}),n.__generator(this,function(e){return[2,this.apiCall.delete(this.endpointPath(),t)]})})},t.prototype.exists=function(){return n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.retrieve()];case 1:return e.sent(),[2,!0];case 2:if((t=e.sent())instanceof a.ObjectNotFound)return[2,!1];throw t;case 3:return[2]}})})},t.prototype.documents=function(t){return t?(void 0===this.individualDocuments[t]&&(this.individualDocuments[t]=new h.Document(this.name,t,this.apiCall)),this.individualDocuments[t]):this._documents},t.prototype.overrides=function(t){return void 0===t?this._overrides:(void 0===this.individualOverrides[t]&&(this.individualOverrides[t]=new u.default(this.name,t,this.apiCall)),this.individualOverrides[t])},t.prototype.synonyms=function(t){return void 0===t?this._synonyms:(void 0===this.individualSynonyms[t]&&(this.individualSynonyms[t]=new l.default(this.name,t,this.apiCall)),this.individualSynonyms[t])},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name))},t}()},70064:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661)),o=n.__importDefault(r(98669));e.default=function(){function t(t,e,r){this.collectionName=t,this.overrideId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(o.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.overrideId))},t}()},71869:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(56869)),o=r(80521);e.default=function(){function t(t,e,r){void 0===r&&(r=!1),this.apiCall=t,this.configuration=e,this.useTextContentType=r,this.requestWithCache=new i.default,this.logger=this.apiCall.logger}return t.prototype.clearCache=function(){this.requestWithCache.clearCache()},t.prototype.perform=function(t,e,r){return n.__awaiter(this,void 0,void 0,function(){var i,a,s,u,c,l,h;return n.__generator(this,function(f){return i=e?n.__assign({},e):{},a=null!=(h=null==r?void 0:r.cacheSearchResultsForSeconds)?h:this.configuration.cacheSearchResultsForSeconds,!0===this.configuration.useServerSideSearchCache&&(i.use_cache=!0),!0===t.union&&this.hasAnySearchObjectPagination(t)&&this.logger.warn("Individual `searches` pagination parameters are ignored when `union: true` is set. Use a top-level pagination parameter instead. See https://typesense.org/docs/29.0/api/federated-multi-search.html#union-search"),s={union:t.union,searches:t.searches.map(o.normalizeArrayableParams)},u=i.streamConfig,c=n.__rest(i,["streamConfig"]),l=(0,o.normalizeArrayableParams)(c),[2,this.requestWithCache.perform(this.apiCall,"post",{path:"/multi_search",body:s,queryParams:l,headers:this.useTextContentType?{"content-type":"text/plain"}:{},streamConfig:u,abortSignal:null==r?void 0:r.abortSignal,isStreamingRequest:this.isStreamingRequest(i)},void 0!==a?{cacheResponseForSeconds:a}:void 0)]})})},t.prototype.isStreamingRequest=function(t){return void 0!==t.streamConfig},t.prototype.hasAnySearchObjectPagination=function(t){return t.searches.some(function(t){return void 0!==t.page||void 0!==t.per_page||void 0!==t.offset||void 0!==t.limit||void 0!==t.limit_hits})},t}()},72158:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661));e.default=function(){function t(t,e){this.collectionName=t,this.apiCall=e}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return t.hasWarnedDeprecation||(console.warn("[typesense] 'synonyms' APIs are deprecated starting with Typesense Server v30. Please migrate to synonym sets ('synonym_sets')."),t.hasWarnedDeprecation=!0),"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.collectionName)).concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/synonyms"},enumerable:!1,configurable:!0}),t.hasWarnedDeprecation=!1,t}()},72343:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(66178)),o=n.__importDefault(r(99680)),a=n.__importDefault(r(64661)),s=n.__importDefault(r(69256)),u=n.__importDefault(r(46308)),c=n.__importDefault(r(47684)),l=n.__importDefault(r(36524)),h=n.__importDefault(r(9855)),f=n.__importDefault(r(18587)),p=n.__importDefault(r(31065)),d=n.__importDefault(r(72639)),v=n.__importDefault(r(65674)),y=n.__importDefault(r(46198)),g=n.__importDefault(r(71869)),_=n.__importDefault(r(94420)),m=n.__importDefault(r(69015)),C=n.__importDefault(r(78513)),w=n.__importDefault(r(50360)),b=n.__importDefault(r(19505)),P=n.__importDefault(r(40108)),R=n.__importDefault(r(83292)),S=n.__importDefault(r(69039)),E=n.__importDefault(r(97872)),A=n.__importDefault(r(3740)),O=n.__importDefault(r(15887)),T=n.__importDefault(r(1536)),U=n.__importDefault(r(54619)),D=n.__importDefault(r(57474)),N=n.__importDefault(r(12661));e.default=function(){function t(t){var e;t.sendApiKeyAsQueryParam=null!=(e=t.sendApiKeyAsQueryParam)&&e,this.configuration=new i.default(t),this.apiCall=new o.default(this.configuration),this.debug=new f.default(this.apiCall),this.metrics=new p.default(this.apiCall),this.stats=new d.default(this.apiCall),this.health=new v.default(this.apiCall),this.operations=new y.default(this.apiCall),this.multiSearch=new g.default(this.apiCall,this.configuration),this._collections=new a.default(this.apiCall),this.individualCollections={},this._aliases=new u.default(this.apiCall),this.individualAliases={},this._keys=new l.default(this.apiCall),this.individualKeys={},this._presets=new _.default(this.apiCall),this.individualPresets={},this._stopwords=new b.default(this.apiCall),this.individualStopwords={},this.analytics=new w.default(this.apiCall),this.analyticsV1=new C.default(this.apiCall),this.stemming=new E.default(this.apiCall),this._conversations=new R.default(this.apiCall),this.individualConversations={},this._nlSearchModels=new A.default(this.apiCall),this.individualNLSearchModels={},this._synonymSets=new T.default(this.apiCall),this.individualSynonymSets={},this._curationSets=new D.default(this.apiCall),this.individualCurationSets={}}return t.prototype.collections=function(t){return void 0===t?this._collections:(void 0===this.individualCollections[t]&&(this.individualCollections[t]=new s.default(t,this.apiCall,this.configuration)),this.individualCollections[t])},t.prototype.aliases=function(t){return void 0===t?this._aliases:(void 0===this.individualAliases[t]&&(this.individualAliases[t]=new c.default(t,this.apiCall)),this.individualAliases[t])},t.prototype.keys=function(t){return void 0===t?this._keys:(void 0===this.individualKeys[t]&&(this.individualKeys[t]=new h.default(t,this.apiCall)),this.individualKeys[t])},t.prototype.presets=function(t){return void 0===t?this._presets:(void 0===this.individualPresets[t]&&(this.individualPresets[t]=new m.default(t,this.apiCall)),this.individualPresets[t])},t.prototype.stopwords=function(t){return void 0===t?this._stopwords:(void 0===this.individualStopwords[t]&&(this.individualStopwords[t]=new P.default(t,this.apiCall)),this.individualStopwords[t])},t.prototype.conversations=function(t){return void 0===t?this._conversations:(void 0===this.individualConversations[t]&&(this.individualConversations[t]=new S.default(t,this.apiCall)),this.individualConversations[t])},t.prototype.nlSearchModels=function(t){return void 0===t?this._nlSearchModels:(void 0===this.individualNLSearchModels[t]&&(this.individualNLSearchModels[t]=new O.default(t,this.apiCall)),this.individualNLSearchModels[t])},t.prototype.synonymSets=function(t){return void 0===t?this._synonymSets:(void 0===this.individualSynonymSets[t]&&(this.individualSynonymSets[t]=new U.default(t,this.apiCall)),this.individualSynonymSets[t])},t.prototype.curationSets=function(t){return void 0===t?this._curationSets:(void 0===this.individualCurationSets[t]&&(this.individualCurationSets[t]=new N.default(t,this.apiCall)),this.individualCurationSets[t])},t}()},72639:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get("/stats.json")]})})},t}()},73284:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(27385));e.default=function(){function t(t,e){this.id=t,this.apiCall=e}return t.prototype.update=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.id))},t}()},74487:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(66178)),o=n.__importDefault(r(99680)),a=n.__importDefault(r(71869)),s=r(15746);e.default=function(){function t(t){var e;t.sendApiKeyAsQueryParam=null==(e=t.sendApiKeyAsQueryParam)||e,!0===t.sendApiKeyAsQueryParam&&(t.apiKey||"").length>2e3&&(console.warn("[typesense] API Key is longer than 2000 characters which is over the allowed limit, so disabling sending it as a query parameter."),t.sendApiKeyAsQueryParam=!1),this.configuration=new i.default(t),this.apiCall=new o.default(this.configuration),this.multiSearch=new a.default(this.apiCall,this.configuration,!0),this.individualCollections={}}return t.prototype.clearCache=function(){this.multiSearch.clearCache(),Object.entries(this.individualCollections).forEach(function(t){t[0],t[1].documents().clearCache()})},t.prototype.collections=function(t){if(t)return void 0===this.individualCollections[t]&&(this.individualCollections[t]=new s.SearchOnlyCollection(t,this.apiCall,this.configuration)),this.individualCollections[t];throw Error("Typesense.SearchClient only supports search operations, so the collectionName that needs to be searched must be specified. Use Typesense.Client if you need to access the collection object.")},t}()},75980:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},78444:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(n.__importDefault(r(26528)).default)},78513:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(94066)),o=n.__importDefault(r(2504)),a=n.__importDefault(r(50529));e.default=function(){function t(t){this.apiCall=t,this.individualAnalyticsRules={},this.apiCall=t,this._analyticsRules=new i.default(this.apiCall),this._analyticsEvents=new a.default(this.apiCall)}return t.prototype.rules=function(e){return(t.hasWarnedDeprecation||(console.warn("[typesense] 'analyticsV1' is deprecated starting with Typesense Server v30 and will be removed in a future release. Please use 'analytics' instead."),t.hasWarnedDeprecation=!0),void 0===e)?this._analyticsRules:(void 0===this.individualAnalyticsRules[e]&&(this.individualAnalyticsRules[e]=new o.default(e,this.apiCall)),this.individualAnalyticsRules[e])},t.prototype.events=function(){return this._analyticsEvents},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics"},enumerable:!1,configurable:!0}),t.hasWarnedDeprecation=!1,t}()},80521:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeArrayableParams=function(t){var e=n.__assign({},t);if(!Object.keys(i.arrayableParams).filter(function(t){return Array.isArray(e[t])}).map(function(t){return e[t]=e[t].join(","),t}).length&&o(e))return e;if(!o(e))throw Error("Failed to normalize arrayable params: ".concat(JSON.stringify(e)));return e},e.toErrorWithMessage=function(t){if("object"==typeof t&&null!==t&&"message"in t&&"string"==typeof t.message)return t;try{if("string"==typeof t)return Error(t);return Error(JSON.stringify(t))}catch(e){return Error(String(t))}};var n=r(13083),i=r(57309);function o(t){return Object.keys(i.arrayableParams).filter(function(e){return void 0!==t[e]}).every(function(e){return!Array.isArray(t[e])})}},83292:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(27385)),o=n.__importDefault(r(73284)),a="/conversations";e.default=function(){function t(t){this.apiCall=t,this.individualConversationModels={},this.apiCall=t,this._conversationsModels=new i.default(this.apiCall)}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(a)]})})},t.prototype.models=function(t){return void 0===t?this._conversationsModels:(void 0===this.individualConversationModels[t]&&(this.individualConversationModels[t]=new o.default(t,this.apiCall)),this.individualConversationModels[t])},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return a},enumerable:!1,configurable:!0}),t}()},83713:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(1536));e.default=function(){function t(t,e){this.synonymSetName=t,this.apiCall=e}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(t){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.synonymSetName),"/items").concat(void 0===t?"":"/"+encodeURIComponent(t))},t}()},88443:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(59717).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},93118:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(57474));e.default=function(){function t(t,e,r){this.name=t,this.itemId=e,this.apiCall=r}return t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.upsert=function(t){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return[2,this.apiCall.put(this.endpointPath(),t)]})})},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.delete(this.endpointPath())]})})},t.prototype.endpointPath=function(){return"".concat(i.default.RESOURCEPATH,"/").concat(encodeURIComponent(this.name),"/items/").concat(encodeURIComponent(this.itemId))},t}()},94066:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083);e.default=function(){function t(t){this.apiCall=t,this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/analytics/rules"},enumerable:!1,configurable:!0}),t}()},94420:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=r(80521);e.default=function(){function t(t){this.apiCall=t}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){var r,o;return n.__generator(this,function(n){return"object"==typeof e.value&&"searches"in e.value?(r=e.value.searches.map(function(t){return(0,i.normalizeArrayableParams)(t)}),[2,this.apiCall.put(this.endpointPath(t),{value:{searches:r}})]):(o=(0,i.normalizeArrayableParams)(e.value),[2,this.apiCall.put(this.endpointPath(t),{value:o})])})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/presets"},enumerable:!1,configurable:!0}),t}()},94705:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(59717).A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},97872:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(65308)),o=n.__importDefault(r(16940));e.default=function(){function t(t){this.apiCall=t,this.individualStemmingDictionaries={},this.apiCall=t,this._stemmingDictionaries=new i.default(this.apiCall)}return t.prototype.dictionaries=function(t){return void 0===t?this._stemmingDictionaries:(void 0===this.individualStemmingDictionaries[t]&&(this.individualStemmingDictionaries[t]=new o.default(t,this.apiCall)),this.individualStemmingDictionaries[t])},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/stemming"},enumerable:!1,configurable:!0}),t}()},98669:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13083),i=n.__importDefault(r(64661));e.default=function(){function t(t,e){this.collectionName=t,this.apiCall=e}return t.prototype.upsert=function(t,e){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(r){return[2,this.apiCall.put(this.endpointPath(t),e)]})})},t.prototype.retrieve=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(t){return[2,this.apiCall.get(this.endpointPath())]})})},t.prototype.endpointPath=function(e){return"".concat(i.default.RESOURCEPATH,"/").concat(this.collectionName).concat(t.RESOURCEPATH).concat(void 0===e?"":"/"+encodeURIComponent(e))},Object.defineProperty(t,"RESOURCEPATH",{get:function(){return"/overrides"},enumerable:!1,configurable:!0}),t}()},99680:(t,e,r)=>{"use strict";var n=r(16298);Object.defineProperty(e,"__esModule",{value:!0});var i=r(13083),o=i.__importDefault(r(8583)),a=r(17784),s=r(17715),u=r(52800),c=i.__importDefault(r(26528)),l=r(80521),h=void 0!==n&&null!=n.versions&&null!=n.versions.node&&"undefined"==typeof window;e.default=function(){function t(t){this.configuration=t,this.apiKey=this.configuration.apiKey,this.nodes=null==this.configuration.nodes?this.configuration.nodes:JSON.parse(JSON.stringify(this.configuration.nodes)),this.nearestNode=null==this.configuration.nearestNode?this.configuration.nearestNode:JSON.parse(JSON.stringify(this.configuration.nearestNode)),this.connectionTimeoutSeconds=this.configuration.connectionTimeoutSeconds,this.healthcheckIntervalSeconds=this.configuration.healthcheckIntervalSeconds,this.numRetriesPerRequest=this.configuration.numRetries,this.retryIntervalSeconds=this.configuration.retryIntervalSeconds,this.sendApiKeyAsQueryParam=this.configuration.sendApiKeyAsQueryParam,this.additionalUserHeaders=this.configuration.additionalHeaders,this.logger=this.configuration.logger,this.initializeMetadataForNodes(),this.currentNodeIndex=-1}return t.prototype.get=function(t){return i.__awaiter(this,arguments,void 0,function(t,e,r){void 0===e&&(e={});var n=void 0===r?{}:r,o=n.abortSignal,a=void 0===o?null:o,s=n.responseType,u=void 0===s?void 0:s,c=n.streamConfig,l=void 0===c?void 0:c,h=n.isStreamingRequest;return i.__generator(this,function(r){return[2,this.performRequest("get",t,{queryParameters:e,abortSignal:a,responseType:u,streamConfig:l,isStreamingRequest:h})]})})},t.prototype.delete=function(t){return i.__awaiter(this,arguments,void 0,function(t,e){return void 0===e&&(e={}),i.__generator(this,function(r){return[2,this.performRequest("delete",t,{queryParameters:e,isStreamingRequest:!1})]})})},t.prototype.post=function(t){return i.__awaiter(this,arguments,void 0,function(t,e,r,n,o){void 0===e&&(e={}),void 0===r&&(r={}),void 0===n&&(n={});var a=void 0===o?{}:o,s=a.abortSignal,u=void 0===s?null:s,c=a.responseType,l=void 0===c?void 0:c,h=a.streamConfig,f=void 0===h?void 0:h,p=a.isStreamingRequest;return i.__generator(this,function(i){return[2,this.performRequest("post",t,{queryParameters:r,bodyParameters:e,additionalHeaders:n,abortSignal:u,responseType:l,streamConfig:f,isStreamingRequest:p})]})})},t.prototype.put=function(t){return i.__awaiter(this,arguments,void 0,function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r={}),i.__generator(this,function(n){return[2,this.performRequest("put",t,{queryParameters:r,bodyParameters:e,isStreamingRequest:!1})]})})},t.prototype.patch=function(t){return i.__awaiter(this,arguments,void 0,function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r={}),i.__generator(this,function(n){return[2,this.performRequest("patch",t,{queryParameters:r,bodyParameters:e,isStreamingRequest:!1})]})})},t.prototype.getAdapter=function(){if(this.configuration.axiosAdapter)return"function"==typeof this.configuration.axiosAdapter?this.configuration.axiosAdapter:"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent?o.default.getAdapter(this.configuration.axiosAdapter).bind(globalThis):o.default.getAdapter(this.configuration.axiosAdapter)},t.prototype.performRequest=function(t,e,r){return i.__awaiter(this,arguments,void 0,function(t,e,r){var n,u,c,l,f,p,d,v,y,g,_,m=r.queryParameters,C=void 0===m?null:m,w=r.bodyParameters,b=void 0===w?null:w,P=r.additionalHeaders,R=void 0===P?{}:P,S=r.abortSignal,E=void 0===S?null:S,A=r.responseType,O=void 0===A?void 0:A,T=r.skipConnectionTimeout,U=void 0!==T&&T,D=r.enableKeepAlive,N=void 0===D?void 0:D,I=r.streamConfig,j=void 0===I?void 0:I,k=r.isStreamingRequest;return i.__generator(this,function(r){switch(r.label){case 0:this.configuration.validate(),k&&(this.logger.debug("Request: Performing streaming request to ".concat(e)),h||"undefined"==typeof fetch||(this.logger.debug("Using fetch adapter for browser streaming"),O="stream")),n=Date.now(),c=!1,this.logger.debug("Request #".concat(n,": Performing ").concat(t.toUpperCase()," request: ").concat(e)),l=function(r){var l,p,d,m,w,P;return i.__generator(this,function(S){switch(S.label){case 0:if(l=f.getNextNode(n),f.logger.debug("Request #".concat(n,": Attempting ").concat(t.toUpperCase()," request Try #").concat(r," to Node ").concat(l.index)),E&&E.aborted)return[2,{value:Promise.reject(Error("Request aborted by caller."))}];p=void 0,S.label=1;case 1:return S.trys.push([1,3,5,6]),(d={method:t,url:f.uriFor(e,l),headers:Object.assign({},f.defaultHeaders(),R,f.additionalUserHeaders),maxContentLength:1/0,maxBodyLength:1/0,validateStatus:function(t){return t>0},transformResponse:[function(t,e){var r=t;return void 0!==e&&"string"==typeof t&&e["content-type"]&&e["content-type"].startsWith("application/json")&&(r=JSON.parse(t)),r}]}).adapter=k&&!h?"fetch":f.getAdapter(),!0!==U&&(d.timeout=1e3*f.connectionTimeoutSeconds),C&&0!==Object.keys(C).length&&(d.params=C),f.sendApiKeyAsQueryParam&&(d.params=d.params||{},d.params["x-typesense-api-key"]=f.apiKey),f.configuration.httpAgent?(f.logger.debug("Request #".concat(n,": Using custom httpAgent")),d.httpAgent=f.configuration.httpAgent):!0===N&&(h?(f.logger.debug("Request #".concat(n,": Enabling KeepAlive")),d.httpAgent=new a.Agent({keepAlive:!0})):f.logger.warn("Request #".concat(n,": Cannot use custom httpAgent in a browser environment to enable keepAlive"))),f.configuration.httpsAgent?(f.logger.debug("Request #".concat(n,": Using custom httpsAgent")),d.httpsAgent=f.configuration.httpsAgent):!0===N&&(h?(f.logger.debug("Request #".concat(n,": Enabling keepAlive")),d.httpsAgent=new s.Agent({keepAlive:!0})):f.logger.warn("Request #".concat(n,": Cannot use custom httpAgent in a browser environment to enable keepAlive"))),f.configuration.paramsSerializer&&(f.logger.debug("Request #".concat(n,": Using custom paramsSerializer")),d.paramsSerializer=f.configuration.paramsSerializer),b&&("string"==typeof b&&0!==b.length||"object"==typeof b&&0!==Object.keys(b).length)&&(d.data=b),E&&(m=o.default.CancelToken.source(),p=function(){c=!0,m.cancel()},E.addEventListener("abort",p),d.cancelToken=m.token),k?(d.responseType="stream",h||(d.headers=i.__assign(i.__assign({},d.headers),{Accept:"text/event-stream"}))):O&&(d.responseType=O),[4,(0,o.default)(d)];case 2:if((w=S.sent()).status>=1&&w.status<=499&&f.setNodeHealthcheck(l,!0),f.logger.debug("Request #".concat(n,": Request to Node ").concat(l.index," was made. Response Code was ").concat(w.status,".")),w.status>=200&&w.status<300){if(k)return[2,{value:f.handleStreamingResponse(w,j)}];return[2,{value:Promise.resolve(w.data)}]}if(w.status<500)return[2,{value:Promise.reject(f.customErrorForResponse(w,null==(v=w.data)?void 0:v.message,d.data))}];throw f.customErrorForResponse(w,null==(y=w.data)?void 0:y.message,d.data);case 3:if(P=S.sent(),c||f.setNodeHealthcheck(l,!1),u=P,f.logger.warn("Request #".concat(n,": Request to Node ").concat(l.index,' failed due to "').concat(null!=(g=null==P?void 0:P.code)?g:""," ").concat(P.message).concat(null==P.response?"":" - "+JSON.stringify(null==(_=P.response)?void 0:_.data),'"')),c)return[2,{value:Promise.reject(Error("Request aborted by caller."))}];if(k&&f.invokeOnErrorCallback(P,j),!(r<f.numRetriesPerRequest+1))return f.logger.debug("Request #".concat(n,": No retries left. Raising last error")),[2,{value:Promise.reject(u)}];return f.logger.warn("Request #".concat(n,": Sleeping for ").concat(f.retryIntervalSeconds,"s and then retrying request...")),[4,f.timer(f.retryIntervalSeconds)];case 4:return S.sent(),[3,6];case 5:return E&&p&&E.removeEventListener("abort",p),[7];case 6:return[2]}})},f=this,p=1,r.label=1;case 1:if(!(p<=this.numRetriesPerRequest+1))return[3,4];return[5,l(p)];case 2:if("object"==typeof(d=r.sent()))return[2,d.value];r.label=3;case 3:return p++,[3,1];case 4:return this.logger.debug("Request #".concat(n,": No retries left. Raising last error")),[2,Promise.reject(u)]}})})},t.prototype.processStreamingLine=function(t){if(!t.trim()||"data: [DONE]"===t)return null;if(t.startsWith("data: "))return this.processDataLine(t.slice(6).trim());if(t.trim().startsWith("{"))try{var e=JSON.parse(t.trim());if(e&&"object"==typeof e)return e.conversation_id||(e.conversation_id="unknown"),e.message||""===e.message||(e.message=""),e;return{conversation_id:"unknown",message:JSON.stringify(e)}}catch(t){}return{conversation_id:"unknown",message:t.trim()}},t.prototype.processDataLine=function(t){if(!t)return null;if(t.startsWith("{"))try{var e=JSON.parse(t);if(e&&"object"==typeof e)return e.conversation_id||(e.conversation_id="unknown"),e.message||""===e.message||(e.message=""),e;return{conversation_id:"unknown",message:JSON.stringify(e)}}catch(t){}return{conversation_id:"unknown",message:t}},t.prototype.handleStreamingResponse=function(t,e){return i.__awaiter(this,void 0,void 0,function(){return i.__generator(this,function(r){return(this.logger.debug("Handling streaming response. Environment: ".concat(h?"Node.js":"Browser")),h&&t.data)?[2,this.handleNodeStreaming(t,e)]:h?(this.logger.debug("Processing non-streaming response"),this.invokeOnCompleteCallback(t.data,e),[2,Promise.resolve(t.data)]):[2,this.handleBrowserStreaming(t,e)]})})},t.prototype.handleNodeStreaming=function(t,e){var r=this;return this.logger.debug("Processing Node.js stream"),new Promise(function(n,i){var o=t.data,a=[],s="";o.on("data",function(t){var n;try{var o=t.toString(),u=(s+=o).split("\n");s=null!=(n=u.pop())?n:"",r.processStreamLines(u,a,e)}catch(t){i(t)}}),o.on("end",function(){if(s.trim().length>0){var i=s.split("\n");r.processStreamLines(i,a,e)}r.finalizeStreamResult(a,n,t,e)}),o.on("error",function(t){r.logger.error("Stream error: ".concat(t)),r.invokeOnErrorCallback(t,e),i(t)})})},t.prototype.handleBrowserStreaming=function(t,e){var r=this;return this.logger.debug("Processing browser stream"),new Promise(function(n,o){return i.__awaiter(r,void 0,void 0,function(){return i.__generator(this,function(r){try{if(t.data&&"function"==typeof t.data.getReader)return[2,this.handleBrowserReadableStream(t.data,n,o,t,e)];if("string"==typeof t.data)return[2,this.handleBrowserStringResponse(t.data,n,t,e)];if("object"==typeof t.data&&null!==t.data)return this.logger.debug("No stream found, but data object is available"),this.invokeOnCompleteCallback(t.data,e),[2,n(t.data)];return this.logger.error("No usable data found in response"),[2,o(Error("No usable data found in response"))]}catch(t){this.logger.error("Error processing streaming response: ".concat(t)),this.invokeOnErrorCallback(t,e),o(t)}return[2]})})})},t.prototype.handleBrowserReadableStream=function(t,e,r,n,o){return i.__awaiter(this,void 0,void 0,function(){var a,s,u,c,l,h,f,p,d,v;return i.__generator(this,function(i){switch(i.label){case 0:this.logger.debug("Found ReadableStream in response.data"),a=t.getReader(),s=[],u="",i.label=1;case 1:i.trys.push([1,5,,6]),i.label=2;case 2:return[4,a.read()];case 3:if(l=(c=i.sent()).done,h=c.value,l)return this.logger.debug("Stream reading complete"),u.trim()&&(f=u.split("\n"),this.processStreamLines(f,s,o)),[3,4];return p=new TextDecoder().decode(h),this.logger.debug("Received chunk: ".concat(p.length," bytes")),u+=p,u=(d=u.split("\n")).pop()||"",this.processStreamLines(d,s,o),[3,2];case 4:return this.finalizeStreamResult(s,e,n,o),[3,6];case 5:return v=i.sent(),this.logger.error("Stream error: ".concat(v)),this.invokeOnErrorCallback(v,o),r(v),[3,6];case 6:return[2]}})})},t.prototype.handleBrowserStringResponse=function(t,e,r,n){this.logger.debug("Processing text response as stream data");var i=[],o=t.split("\n");if(this.processStreamLines(o,i,n),i.length>0){var a=this.combineStreamingChunks(i);this.invokeOnCompleteCallback(a,n),e(a)}else this.logger.debug("No chunks processed, returning original API response"),this.invokeOnCompleteCallback(r.data,n),e(r.data)},t.prototype.processStreamLines=function(t,e,r){for(var n=0;n<t.length;n++){var i=t[n];if(i.trim()&&"data: [DONE]"!==i){var o=this.processStreamingLine(i);null!==o&&(this.invokeOnChunkCallback(o,r),e.push(o))}}},t.prototype.finalizeStreamResult=function(t,e,r,n){if(t.length>0){var i=this.combineStreamingChunks(t);this.logger.debug("Stream processing complete"),this.invokeOnCompleteCallback(i,n),e(i)}else this.logger.debug("No chunks processed, returning original API response"),this.invokeOnCompleteCallback(r.data,n),e(r.data)},t.prototype.combineStreamingChunks=function(t){if(0===t.length)return{};if(1===t.length)return t[0];var e=this.getMessageChunks(t);if(e.length>0)return this.combineMessageChunks(t,e);var r=t[t.length-1];if(!this.isCompleteSearchResponse(r))throw Error("Last chunk is not a complete search response");return r},t.prototype.getMessageChunks=function(t){return t.filter(this.isChunkMessage)},t.prototype.isChunkMessage=function(t){return"object"==typeof t&&null!==t&&"message"in t&&"conversation_id"in t},t.prototype.combineMessageChunks=function(t,e){this.logger.debug("Found ".concat(e.length," message chunks to combine"));var r=t[t.length-1];if(this.isCompleteSearchResponse(r))return r;var n=t.find(this.isCompleteSearchResponse);if(!n)throw Error("No metadata chunk found");return n},t.prototype.isCompleteSearchResponse=function(t){return"object"==typeof t&&null!==t&&Object.keys(t).length>0&&("results"in t||"found"in t||"hits"in t||"page"in t||"search_time_ms"in t)},t.prototype.getNextNode=function(t){if(void 0===t&&(t=0),null!=this.nearestNode){if(this.logger.debug("Request #".concat(t,": Nodes Health: Node ").concat(this.nearestNode.index," is ").concat(!0===this.nearestNode.isHealthy?"Healthy":"Unhealthy")),!0===this.nearestNode.isHealthy||this.nodeDueForHealthcheck(this.nearestNode,t))return this.logger.debug("Request #".concat(t,": Updated current node to Node ").concat(this.nearestNode.index)),this.nearestNode;this.logger.debug("Request #".concat(t,": Falling back to individual nodes"))}this.logger.debug("Request #".concat(t,": Nodes Health: ").concat(this.nodes.map(function(t){return"Node ".concat(t.index," is ").concat(!0===t.isHealthy?"Healthy":"Unhealthy")}).join(" || ")));for(var e=this.nodes[0],r=0;r<=this.nodes.length;r++)if(this.currentNodeIndex=(this.currentNodeIndex+1)%this.nodes.length,!0===(e=this.nodes[this.currentNodeIndex]).isHealthy||this.nodeDueForHealthcheck(e,t))return this.logger.debug("Request #".concat(t,": Updated current node to Node ").concat(e.index)),e;return this.logger.debug("Request #".concat(t,": No healthy nodes were found. Returning the next node, Node ").concat(e.index)),e},t.prototype.nodeDueForHealthcheck=function(t,e){void 0===e&&(e=0);var r=Date.now()-t.lastAccessTimestamp>1e3*this.healthcheckIntervalSeconds;return r&&this.logger.debug("Request #".concat(e,": Node ").concat(t.index," has exceeded healtcheckIntervalSeconds of ").concat(this.healthcheckIntervalSeconds,". Adding it back into rotation.")),r},t.prototype.initializeMetadataForNodes=function(){var t=this;null!=this.nearestNode&&(this.nearestNode.index="nearestNode",this.setNodeHealthcheck(this.nearestNode,!0)),this.nodes.forEach(function(e,r){e.index=r,t.setNodeHealthcheck(e,!0)})},t.prototype.setNodeHealthcheck=function(t,e){t.isHealthy=e,t.lastAccessTimestamp=Date.now()},t.prototype.uriFor=function(t,e){return null!=e.url?"".concat(e.url).concat(t):"".concat(e.protocol,"://").concat(e.host,":").concat(e.port).concat(e.path).concat(t)},t.prototype.defaultHeaders=function(){var t={};return this.sendApiKeyAsQueryParam||(t["X-TYPESENSE-API-KEY"]=this.apiKey),t["Content-Type"]="application/json",t},t.prototype.timer=function(t){return i.__awaiter(this,void 0,void 0,function(){return i.__generator(this,function(e){return[2,new Promise(function(e){return setTimeout(e,1e3*t)})]})})},t.prototype.customErrorForResponse=function(t,e,r){var n="Request failed with HTTP code ".concat(t.status);"string"==typeof e&&""!==e.trim()&&(n+=" | Server said: ".concat(e));new c.default(n,r,t.status);return 400===t.status?new u.RequestMalformed(n,r,t.status):401===t.status?new u.RequestUnauthorized(n,r,t.status):404===t.status?new u.ObjectNotFound(n,r,t.status):409===t.status?new u.ObjectAlreadyExists(n,r,t.status):422===t.status?new u.ObjectUnprocessable(n,r,t.status):t.status>=500&&t.status<=599?new u.ServerError(n,r,t.status):new u.HTTPError(n,r,t.status)},t.prototype.invokeOnChunkCallback=function(t,e){if(null==e?void 0:e.onChunk)try{e.onChunk(t)}catch(t){this.logger.warn("Error in onChunk callback: ".concat(t))}},t.prototype.invokeOnCompleteCallback=function(t,e){if(null==e?void 0:e.onComplete)try{e.onComplete(t)}catch(t){this.logger.warn("Error in onComplete callback: ".concat(t))}},t.prototype.invokeOnErrorCallback=function(t,e){if(null==e?void 0:e.onError){var r=(0,l.toErrorWithMessage)(t);try{e.onError(r)}catch(t){this.logger.warn("Error in onError callback: ".concat(t))}}},t}()}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3857],{36315:(e,t,r)=>{"use strict";r.d(t,{LucideProvider:()=>i,useLucideContext:()=>u});var l=r(28081);let n=(0,l.createContext)({});function i(e){let{children:t,size:r,color:i,strokeWidth:u,absoluteStrokeWidth:o,className:s}=e,a=(0,l.useMemo)(()=>({size:r,color:i,strokeWidth:u,absoluteStrokeWidth:o,className:s}),[r,i,u,o,s]);return(0,l.createElement)(n.Provider,{value:a},t)}let u=()=>(0,l.useContext)(n)},40451:(e,t,r)=>{Promise.resolve().then(r.bind(r,36315)),Promise.resolve().then(r.bind(r,83381))},83381:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var l=r(28081),n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},i=r(93659),u=r(36315);let o=(0,l.forwardRef)((e,t)=>{var r,o,s;let{color:a,size:d,strokeWidth:h,absoluteStrokeWidth:c,className:m="",children:f,iconNode:k,...v}=e,{size:w=24,strokeWidth:C=2,absoluteStrokeWidth:b=!1,color:g="currentColor",className:x=""}=null!=(r=(0,u.useLucideContext)())?r:{},N=(null!=c?c:b)?24*Number(null!=h?h:C)/Number(null!=d?d:w):null!=h?h:C;return(0,l.createElement)("svg",{ref:t,...n,width:null!=(o=null!=d?d:w)?o:n.width,height:null!=(s=null!=d?d:w)?s:n.height,stroke:null!=a?a:g,strokeWidth:N,className:(0,i.z)("lucide",x,m),...!f&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(v)&&{"aria-hidden":"true"},...v},[...k.map(e=>{let[t,r]=e;return(0,l.createElement)(t,r)}),...Array.isArray(f)?f:[f]])})},93659:(e,t,r)=>{"use strict";r.d(t,{z:()=>l});let l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()}}},e=>{e.O(0,[7411,9029,7358],()=>e(e.s=40451)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1969],{7131:(e,t,n)=>{"use strict";n.d(t,{FD:()=>P,MY:()=>o,PJ:()=>a,Wl:()=>l,XP:()=>f,_x:()=>u,bL:()=>p,po:()=>c,ql:()=>s,wO:()=>i,yL:()=>x});var r=n(16298);function u(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function o(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function a(e,t){let n=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}function i(e,t){return t===e||t.startsWith(`${e}/`)}function l(e,t,n){return"string"==typeof e?e:e[t]||n}function c(e){let t=function(){try{return"true"===r.env._next_intl_trailing_slash}catch{return!1}}(),[n,...u]=e.split("#"),o=u.join("#"),a=n;if("/"!==a){let e=a.endsWith("/");t&&!e?a+="/":!t&&e&&(a=a.slice(0,-1))}return o&&(a+="#"+o),a}function s(e,t){let n=c(e),r=c(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(n).test(r)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||p(e)}function p(e){return"/"+e}function h(e){return e.includes("[[...")}function d(e){return e.includes("[...")}function m(e){return e.includes("[")}function g(e,t){let n=e.split("/"),r=t.split("/"),u=Math.max(n.length,r.length);for(let e=0;e<u;e++){let t=n[e],u=r[e];if(!t&&u)return -1;if(t&&!u)return 1;if(t||u){if(!m(t)&&m(u))return -1;if(m(t)&&!m(u))return 1;if(!d(t)&&d(u))return -1;if(d(t)&&!d(u))return 1;if(!h(t)&&h(u))return -1;if(h(t)&&!h(u))return 1}}return 0}function P(e){return e.sort(g)}function x(e){return"function"==typeof e.then}},39492:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(88336);function u(e,t,n,u){if(!e||u===n||null==u||!t)return;let o=(0,r.DT)(t),{name:a,...i}=e;i.path||(i.path=""!==o?o:"/");let l=`${a}=${u};`;for(let[e,t]of Object.entries(i))l+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}},41574:(e,t,n)=>{"use strict";var r=n(95706);n.o(r,"permanentRedirect")&&n.d(t,{permanentRedirect:function(){return r.permanentRedirect}}),n.o(r,"redirect")&&n.d(t,{redirect:function(){return r.redirect}}),n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},50021:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(28081),u=n(41574);function o(){let e=(0,u.useRouter)();return(0,r.useEffect)(()=>{let t=new WebSocket("ws://localhost:3100");return t.onmessage=t=>{"refresh"===t.data&&(console.log("\uD83D\uDD04 File change detected, refreshing data..."),e.refresh())},t.onerror=()=>console.log("WS Watcher not running."),()=>t.close()},[]),null}},83294:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(19957),u=n(41574),o=n(28081),a=n(14551),i=n(39492),l=n(7893);function c(e){let{curLocale:t,linkRef:n,locale:o,localeCookie:a,onClick:c,prefetch:s,...f}=e,p=(0,u.usePathname)();return(0,l.jsx)(r,{ref:n,hrefLang:o,onClick:function(e){(0,i.A)(a,p,t,o),c&&c(e)},prefetch:!1,...f})}var s=(0,o.forwardRef)(function(e,t){let{locale:n,localeCookie:u,...o}=e,i=(0,a.Ym)();return null!=n&&n!==i?(0,l.jsx)(c,{curLocale:i,linkRef:t,locale:n,localeCookie:u,...o}):(0,l.jsx)(r,{ref:t,...o})})},88336:(e,t,n)=>{"use strict";n.d(t,{DT:()=>l,FP:()=>a,TK:()=>u,Zn:()=>o,aM:()=>i,x3:()=>c});var r=n(7131);function u(e){return"string"==typeof e?{pathname:e}:e}function o(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.append(n,String(e))}):t.set(n,String(r));return"?"+t.toString()}function a({pathname:e,locale:t,params:n,pathnames:u,query:a}){function i(e){let i,l=u[e];return l?(i=(0,r.Wl)(l,t,e),n&&Object.entries(n).forEach(([e,t])=>{let n,r;Array.isArray(t)?(n=`(\\[)?\\[...${e}\\](\\])?`,r=t.map(e=>String(e)).join("/")):(n=`\\[${e}\\]`,r=String(t)),i=i.replace(RegExp(n,"g"),r)}),i=new URL(i=i.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):i=e,i=(0,r.po)(i),a&&(i+=o(a)),i}if("string"==typeof e)return i(e);{let{pathname:t,...n}=e;return{...n,pathname:i(t)}}}function i(e,t,n){let u=(0,r.FD)(Object.keys(n)),o=decodeURI(t);for(let t of u){let u=n[t];if("string"==typeof u){if((0,r.ql)(u,o))return t}else if((0,r.ql)((0,r.Wl)(u,e,t),o))return t}return t}function l(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function c(e,t,n,u){let o,{mode:a}=n.localePrefix;if(void 0!==u)o=u;else if((0,r._x)(e)){let e=n.domains?.find(e=>e.locales.includes(t)),r=e?.localePrefix||a;"always"===r?o=!0:"as-needed"===r&&(o=e?t!==e.defaultLocale:t!==n.defaultLocale)}return o?(0,r.PJ)((0,r.XP)(t,n.localePrefix),e):e}},98285:(e,t,n)=>{Promise.resolve().then(n.bind(n,83294)),Promise.resolve().then(n.bind(n,50021))}},e=>{e.O(0,[9957,4551,7411,9029,7358],()=>e(e.s=98285)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4044],{13870:(e,r,t)=>{"use strict";t.d(r,{c:()=>a});var s=t(14551);function n(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let a=n(0,s.c3);n(0,s.kc)},17789:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});var s=t(7893);function n(e){let{width:r,height:t,className:n}=e;return(0,s.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:r,height:t,className:n,children:[(0,s.jsx)("title",{children:"GitHub"}),(0,s.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}},30607:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>i});var s=t(7893),n=t(28081),a=t(99824);function i(e){let{error:r}=e;return(0,n.useEffect)(()=>console.error(r),[r]),(0,s.jsx)(a.A,{returnSuffix:"/content"})}},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>c});var s=t(7893),n=t(28081),a=t(19957),i=t.n(a);let c=(0,n.forwardRef)(function(e,r){let{prefetch:t=!1,...n}=e;return(0,s.jsx)(i(),{prefetch:t,...n,ref:r})})},41574:(e,r,t)=>{"use strict";var s=t(95706);t.o(s,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return s.permanentRedirect}}),t.o(s,"redirect")&&t.d(r,{redirect:function(){return s.redirect}}),t.o(s,"useParams")&&t.d(r,{useParams:function(){return s.useParams}}),t.o(s,"usePathname")&&t.d(r,{usePathname:function(){return s.usePathname}}),t.o(s,"useRouter")&&t.d(r,{useRouter:function(){return s.useRouter}}),t.o(s,"useSearchParams")&&t.d(r,{useSearchParams:function(){return s.useSearchParams}})},49777:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},63352:(e,r,t)=>{Promise.resolve().then(t.bind(t,30607))},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>u});var s=t(7893),n=t(28081),a=t(85126),i=t(8295),c=t(95745);let o=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=n.forwardRef((e,r)=>{let{className:t,variant:n,size:i,asChild:u=!1,...d}=e,l=u?a.DX:"button";return(0,s.jsx)(l,{className:(0,c.cn)(o({variant:n,size:i,className:t})),ref:r,...d})});u.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>a});var s=t(3135),n=t(96915);function a(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,n.QP)((0,s.$)(r))}},99824:(e,r,t)=>{"use strict";t.d(r,{A:()=>h});var s=t(7893),n=t(41574),a=t(13870);let i=(0,t(59717).A)("file-question-mark",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]]);var c=t(49777),o=t(82601),u=t(17789),d=t(37040);function l(e){let{project:r,returnTo:t}=e,n=(0,a.c)("DocsPageError");return(0,s.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,s.jsx)(i,{className:"size-32 sm:size-44",strokeWidth:1.5}),(0,s.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:n("title")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:n("desc")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:n("suggestion")}),(0,s.jsxs)("div",{className:"mt-4 inline-flex gap-4",children:[(null==r?void 0:r.source_repo)&&(0,s.jsx)(o.$,{variant:"secondary",asChild:!0,children:(0,s.jsxs)(d.k,{href:r.source_repo,target:"_blank",children:[(0,s.jsx)(u.A,{className:"mr-2 h-4 w-4"}),n("submit")]})}),(0,s.jsx)(o.$,{asChild:!0,children:(0,s.jsxs)(d.k,{href:null!=t?t:"/",children:[(0,s.jsx)(c.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),n("return")]})})]})]})}function h(e){let{returnSuffix:r}=e,t=(0,n.useParams)();return(0,s.jsx)(l,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}}},e=>{e.O(0,[9957,4551,2186,7411,9029,7358],()=>e(e.s=63352)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1166,2834,5014,5260],{28442:(e,r,t)=>{"use strict";t.d(r,{default:()=>l});var a=t(7893),s=t(41574),n=t(35865);let i=(0,t(26182).A)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);var c=t(74994),o=t(82601),d=t(37040);function u(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(i,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(o.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(d.k,{href:null!=r?r:"/",children:[(0,a.jsx)(c.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function l(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(u,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},32133:(e,r,t)=>{Promise.resolve().then(t.bind(t,28442))},35865:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(40739);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>c});var a=t(7893),s=t(28081),n=t(19957),i=t.n(n);let c=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(i(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},74994:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(26182).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>d});var a=t(7893),s=t(28081),n=t(85126),i=t(8295),c=t(95745);let o=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,size:i,asChild:d=!1,...u}=e,l=d?n.DX:"button";return(0,a.jsx)(l,{className:(0,c.cn)(o({variant:s,size:i,className:t})),ref:r,...u})});d.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,739,4193,7411,9029,7358],()=>e(e.s=32133)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1166,2834,5014,5260],{13870:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(14551);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},24486:(e,r,t)=>{"use strict";t.d(r,{default:()=>l});var a=t(7893),s=t(41574),n=t(13870);let i=(0,t(59717).A)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);var c=t(49777),o=t(82601),d=t(37040);function u(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(i,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(o.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(d.k,{href:null!=r?r:"/",children:[(0,a.jsx)(c.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function l(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(u,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},32133:(e,r,t)=>{Promise.resolve().then(t.bind(t,24486))},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>c});var a=t(7893),s=t(28081),n=t(19957),i=t.n(n);let c=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(i(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},49777:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>d});var a=t(7893),s=t(28081),n=t(85126),i=t(8295),c=t(95745);let o=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,size:i,asChild:d=!1,...u}=e,l=d?n.DX:"button";return(0,a.jsx)(l,{className:(0,c.cn)(o({variant:s,size:i,className:t})),ref:r,...u})});d.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,4551,2186,7411,9029,7358],()=>e(e.s=32133)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{44431:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{title:s,className:r,children:t}=e,[d,m]=(0,i.useState)(!1);return(0,n.jsxs)("div",{className:(0,o.cn)(r,"w-full rounded-sm border border-secondary-dim"),children:[(0,n.jsxs)("button",{className:"inline-flex w-full items-center justify-between bg-secondary p-2",onClick:()=>m(!d),children:[(0,n.jsx)("span",{className:"font-medium",children:s}),(0,n.jsx)(l.default,{active:d})]}),d&&(0,n.jsx)("div",{className:"rounded-sm bg-primary-dim p-4",children:t})]})}},75450:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{name:s,defaultOpen:r,className:t,children:d}=e,[m,a]=(0,i.useState)(r);return(0,n.jsx)("tr",{children:(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:"mb-0! w-full border-separate [&_td]:border-none",children:[(0,n.jsxs)("div",{className:"flex w-full cursor-pointer flex-row items-center rounded-sm border-none bg-primary-dim p-1.5 px-2 select-none hover:bg-secondary/50",onClick:()=>a(!m),"data-state":m?"open":"closed",children:[(0,n.jsx)("div",{className:"mx-auto flex w-full justify-center text-center font-medium",children:s}),(0,n.jsx)("div",{className:"w-8",children:(0,n.jsx)(l.default,{className:"ml-auto h-4 w-4",active:m})})]}),m&&(0,n.jsx)("div",{className:(0,o.cn)(t,"mt-2 flex w-full flex-col rounded-md"),children:d})]})})})}},77139:(e,s,r)=>{"use strict";r.d(s,{default:()=>l});var n=r(7893),i=r(76365);function l(e){let{headings:s}=e;return(0,n.jsx)(i.A,{headings:s,type:"left",className:"left-0 w-[96vw] sm:w-80",solid:!0})}},95319:(e,s,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,73744)),Promise.resolve().then(r.bind(r,57370)),Promise.resolve().then(r.bind(r,55605)),Promise.resolve().then(r.bind(r,8511)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.t.bind(r,63914,23)),Promise.resolve().then(r.bind(r,83457)),Promise.resolve().then(r.bind(r,44431)),Promise.resolve().then(r.bind(r,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,28663)),Promise.resolve().then(r.bind(r,44064)),Promise.resolve().then(r.bind(r,78890)),Promise.resolve().then(r.bind(r,92014)),Promise.resolve().then(r.bind(r,77139)),Promise.resolve().then(r.bind(r,24989)),Promise.resolve().then(r.bind(r,93656)),Promise.resolve().then(r.bind(r,75450)),Promise.resolve().then(r.bind(r,41736)),Promise.resolve().then(r.bind(r,87257)),Promise.resolve().then(r.bind(r,55242)),Promise.resolve().then(r.bind(r,28139)),Promise.resolve().then(r.bind(r,39389)),Promise.resolve().then(r.bind(r,20826)),Promise.resolve().then(r.bind(r,96090))}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,5383,3386,103,8616,7411,9029,7358],()=>e(e.s=95319)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{44431:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{title:s,className:r,children:t}=e,[d,m]=(0,i.useState)(!1);return(0,n.jsxs)("div",{className:(0,o.cn)(r,"w-full rounded-sm border border-secondary-dim"),children:[(0,n.jsxs)("button",{className:"inline-flex w-full items-center justify-between bg-secondary p-2",onClick:()=>m(!d),children:[(0,n.jsx)("span",{className:"font-medium",children:s}),(0,n.jsx)(l.default,{active:d})]}),d&&(0,n.jsx)("div",{className:"rounded-sm bg-primary-dim p-4",children:t})]})}},75450:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{name:s,defaultOpen:r,className:t,children:d}=e,[m,a]=(0,i.useState)(r);return(0,n.jsx)("tr",{children:(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:"mb-0! w-full border-separate [&_td]:border-none",children:[(0,n.jsxs)("div",{className:"flex w-full cursor-pointer flex-row items-center rounded-sm border-none bg-primary-dim p-1.5 px-2 select-none hover:bg-secondary/50",onClick:()=>a(!m),"data-state":m?"open":"closed",children:[(0,n.jsx)("div",{className:"mx-auto flex w-full justify-center text-center font-medium",children:s}),(0,n.jsx)("div",{className:"w-8",children:(0,n.jsx)(l.default,{className:"ml-auto h-4 w-4",active:m})})]}),m&&(0,n.jsx)("div",{className:(0,o.cn)(t,"mt-2 flex w-full flex-col rounded-md"),children:d})]})})})}},77139:(e,s,r)=>{"use strict";r.d(s,{default:()=>l});var n=r(7893),i=r(76365);function l(e){let{headings:s}=e;return(0,n.jsx)(i.A,{headings:s,type:"left",className:"left-0 hidden w-[96vw] sm:w-80 2xl:block",solid:!0})}},91943:(e,s,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,36315)),Promise.resolve().then(r.bind(r,83381)),Promise.resolve().then(r.bind(r,83294)),Promise.resolve().then(r.bind(r,93386)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.t.bind(r,63914,23)),Promise.resolve().then(r.bind(r,83457)),Promise.resolve().then(r.bind(r,44431)),Promise.resolve().then(r.bind(r,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,28663)),Promise.resolve().then(r.bind(r,44064)),Promise.resolve().then(r.bind(r,78890)),Promise.resolve().then(r.bind(r,92014)),Promise.resolve().then(r.bind(r,77139)),Promise.resolve().then(r.bind(r,24989)),Promise.resolve().then(r.bind(r,93656)),Promise.resolve().then(r.bind(r,75450)),Promise.resolve().then(r.bind(r,41736)),Promise.resolve().then(r.bind(r,87257)),Promise.resolve().then(r.bind(r,55242)),Promise.resolve().then(r.bind(r,28139)),Promise.resolve().then(r.bind(r,39389)),Promise.resolve().then(r.bind(r,20826)),Promise.resolve().then(r.bind(r,96090))}},e=>{e.O(0,[7138,5369,9957,4551,2186,2305,93,8777,103,8616,7411,9029,7358],()=>e(e.s=91943)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3652],{28442:(e,r,t)=>{"use strict";t.d(r,{default:()=>l});var a=t(7893),s=t(41574),n=t(35865);let c=(0,t(26182).A)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);var i=t(74994),o=t(82601),u=t(37040);function d(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(c,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(o.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(u.k,{href:null!=r?r:"/",children:[(0,a.jsx)(i.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function l(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(d,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},35865:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(40739);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>i});var a=t(7893),s=t(28081),n=t(19957),c=t.n(n);let i=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(c(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},74720:(e,r,t)=>{Promise.resolve().then(t.bind(t,78177))},74994:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(26182).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},78177:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>c});var a=t(7893),s=t(28081),n=t(28442);function c(e){let{error:r}=e;return(0,s.useEffect)(()=>console.error(r),[r]),(0,a.jsx)(n.default,{})}},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>u});var a=t(7893),s=t(28081),n=t(85126),c=t(8295),i=t(95745);let o=(0,c.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=s.forwardRef((e,r)=>{let{className:t,variant:s,size:c,asChild:u=!1,...d}=e,l=u?n.DX:"button";return(0,a.jsx)(l,{className:(0,i.cn)(o({variant:s,size:c,className:t})),ref:r,...d})});u.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,739,4193,7411,9029,7358],()=>e(e.s=74720)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3652],{13870:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(14551);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},24486:(e,r,t)=>{"use strict";t.d(r,{default:()=>l});var a=t(7893),s=t(41574),n=t(13870);let c=(0,t(59717).A)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);var i=t(49777),o=t(82601),u=t(37040);function d(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(c,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(o.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(u.k,{href:null!=r?r:"/",children:[(0,a.jsx)(i.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function l(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(d,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>i});var a=t(7893),s=t(28081),n=t(19957),c=t.n(n);let i=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(c(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},49777:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a=(0,t(59717).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},74720:(e,r,t)=>{Promise.resolve().then(t.bind(t,78177))},78177:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>c});var a=t(7893),s=t(28081),n=t(24486);function c(e){let{error:r}=e;return(0,s.useEffect)(()=>console.error(r),[r]),(0,a.jsx)(n.default,{})}},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>u});var a=t(7893),s=t(28081),n=t(85126),c=t(8295),i=t(95745);let o=(0,c.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=s.forwardRef((e,r)=>{let{className:t,variant:s,size:c,asChild:u=!1,...d}=e,l=u?n.DX:"button";return(0,a.jsx)(l,{className:(0,i.cn)(o({variant:s,size:c,className:t})),ref:r,...d})});u.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,4551,2186,7411,9029,7358],()=>e(e.s=74720)),_N_E=e.O()}]);