archiesarrewood's picture
Upload folder using huggingface_hub
573b142 verified
raw
history blame
236 kB
import{d as fr}from"../chunks/index.R8ovVqwX.js";import{R as Ba,S as Va,U as Wl,V as Wa,z as Ur,W as Ka,X as za,Y as Qa,y as Ja,Z as Ft,q as te,w as Je,m as nt,l as an,_ as xa,$ as ut,j as gt,k as pe,a0 as ho,r as xe,a1 as dr,H as Ga,E as un,a2 as _t,a3 as po,J as Mt,d as Za,h as Ir,c as Kl,n as Xa,g as ot,e as Be,u as Ya,o as $a,v as no,a4 as go,I as nn,a5 as eu,a6 as tu}from"../chunks/VennDiagram.svelte_svelte_type_style_lang.-64_fZ65.js";import{p as gn,s as nu,a as qt,w as ru,d as _o,u as bo,g as vo,b as ou,c as iu,h as lu,r as au,e as uu,B as su}from"../chunks/button.Dx6ySXYj.js";import{al as cu,P as Jn,a8 as zl,Q as fu,s as Ie,r as ie,i as R,g as S,T as $e,v as et,R as Ee,U as Ut,o as bt,N as st,c as Re,u as Le,m as He,n as Fe,e as B,b as V,d as Q,ah as yo,aa as Ct,l as De,X as St,a9 as Ge,q as Ot,a as X,w as we,f as Y,x as ke,h as A,j as U,y as wt,a7 as du,z as Ae,ad as Br,L as ro,M as mr,G as Oo,H as So,p as dt,K as mu,ac as It,t as Se,aj as hu,ak as wo,ae as Ql}from"../chunks/scheduler.C39PMv9a.js";import{S as Pe,i as Ce,g as ve,a as I,c as ye,t as E,h as Sr,j as Un,f as jt,b as le,d as ae,m as ue,e as se,k as Jl}from"../chunks/index.Te5Nl1-a.js";import{w as Qe,d as mn}from"../chunks/entry.galzRTFy.js";import{p as wr,n as xl}from"../chunks/stores.2b80P7Dd.js";import{a as pu,b as Nn,f as Rn}from"../chunks/index.Cx6KSiTC.js";import{j as gu,M as _u,X as bu,g as vu}from"../chunks/index.ta-mt3DI.js";import{G as yu,S as Ou}from"../chunks/index.CGB6X0u6.js";import{t as ir,g as ko,o as lr,c as Su,r as wu,b as ku,d as oo,f as Eu,e as en,h as ju}from"../chunks/utils.Ds_Ike6L.js";var Gl={exports:{}};(function(t){(function(e){function n(_,j){var b=(_&65535)+(j&65535),N=(_>>16)+(j>>16)+(b>>16);return N<<16|b&65535}function r(_,j){return _<<j|_>>>32-j}function o(_,j,b,N,L,F){return n(r(n(n(j,_),n(N,F)),L),b)}function i(_,j,b,N,L,F,J){return o(j&b|~j&N,_,j,L,F,J)}function l(_,j,b,N,L,F,J){return o(j&N|b&~N,_,j,L,F,J)}function u(_,j,b,N,L,F,J){return o(j^b^N,_,j,L,F,J)}function a(_,j,b,N,L,F,J){return o(b^(j|~N),_,j,L,F,J)}function s(_,j){_[j>>5]|=128<<j%32,_[(j+64>>>9<<4)+14]=j;var b,N,L,F,J,D=1732584193,w=-271733879,O=-1732584194,y=271733878;for(b=0;b<_.length;b+=16)N=D,L=w,F=O,J=y,D=i(D,w,O,y,_[b],7,-680876936),y=i(y,D,w,O,_[b+1],12,-389564586),O=i(O,y,D,w,_[b+2],17,606105819),w=i(w,O,y,D,_[b+3],22,-1044525330),D=i(D,w,O,y,_[b+4],7,-176418897),y=i(y,D,w,O,_[b+5],12,1200080426),O=i(O,y,D,w,_[b+6],17,-1473231341),w=i(w,O,y,D,_[b+7],22,-45705983),D=i(D,w,O,y,_[b+8],7,1770035416),y=i(y,D,w,O,_[b+9],12,-1958414417),O=i(O,y,D,w,_[b+10],17,-42063),w=i(w,O,y,D,_[b+11],22,-1990404162),D=i(D,w,O,y,_[b+12],7,1804603682),y=i(y,D,w,O,_[b+13],12,-40341101),O=i(O,y,D,w,_[b+14],17,-1502002290),w=i(w,O,y,D,_[b+15],22,1236535329),D=l(D,w,O,y,_[b+1],5,-165796510),y=l(y,D,w,O,_[b+6],9,-1069501632),O=l(O,y,D,w,_[b+11],14,643717713),w=l(w,O,y,D,_[b],20,-373897302),D=l(D,w,O,y,_[b+5],5,-701558691),y=l(y,D,w,O,_[b+10],9,38016083),O=l(O,y,D,w,_[b+15],14,-660478335),w=l(w,O,y,D,_[b+4],20,-405537848),D=l(D,w,O,y,_[b+9],5,568446438),y=l(y,D,w,O,_[b+14],9,-1019803690),O=l(O,y,D,w,_[b+3],14,-187363961),w=l(w,O,y,D,_[b+8],20,1163531501),D=l(D,w,O,y,_[b+13],5,-1444681467),y=l(y,D,w,O,_[b+2],9,-51403784),O=l(O,y,D,w,_[b+7],14,1735328473),w=l(w,O,y,D,_[b+12],20,-1926607734),D=u(D,w,O,y,_[b+5],4,-378558),y=u(y,D,w,O,_[b+8],11,-2022574463),O=u(O,y,D,w,_[b+11],16,1839030562),w=u(w,O,y,D,_[b+14],23,-35309556),D=u(D,w,O,y,_[b+1],4,-1530992060),y=u(y,D,w,O,_[b+4],11,1272893353),O=u(O,y,D,w,_[b+7],16,-155497632),w=u(w,O,y,D,_[b+10],23,-1094730640),D=u(D,w,O,y,_[b+13],4,681279174),y=u(y,D,w,O,_[b],11,-358537222),O=u(O,y,D,w,_[b+3],16,-722521979),w=u(w,O,y,D,_[b+6],23,76029189),D=u(D,w,O,y,_[b+9],4,-640364487),y=u(y,D,w,O,_[b+12],11,-421815835),O=u(O,y,D,w,_[b+15],16,530742520),w=u(w,O,y,D,_[b+2],23,-995338651),D=a(D,w,O,y,_[b],6,-198630844),y=a(y,D,w,O,_[b+7],10,1126891415),O=a(O,y,D,w,_[b+14],15,-1416354905),w=a(w,O,y,D,_[b+5],21,-57434055),D=a(D,w,O,y,_[b+12],6,1700485571),y=a(y,D,w,O,_[b+3],10,-1894986606),O=a(O,y,D,w,_[b+10],15,-1051523),w=a(w,O,y,D,_[b+1],21,-2054922799),D=a(D,w,O,y,_[b+8],6,1873313359),y=a(y,D,w,O,_[b+15],10,-30611744),O=a(O,y,D,w,_[b+6],15,-1560198380),w=a(w,O,y,D,_[b+13],21,1309151649),D=a(D,w,O,y,_[b+4],6,-145523070),y=a(y,D,w,O,_[b+11],10,-1120210379),O=a(O,y,D,w,_[b+2],15,718787259),w=a(w,O,y,D,_[b+9],21,-343485551),D=n(D,N),w=n(w,L),O=n(O,F),y=n(y,J);return[D,w,O,y]}function c(_){var j,b="",N=_.length*32;for(j=0;j<N;j+=8)b+=String.fromCharCode(_[j>>5]>>>j%32&255);return b}function f(_){var j,b=[];for(b[(_.length>>2)-1]=void 0,j=0;j<b.length;j+=1)b[j]=0;var N=_.length*8;for(j=0;j<N;j+=8)b[j>>5]|=(_.charCodeAt(j/8)&255)<<j%32;return b}function m(_){return c(s(f(_),_.length*8))}function h(_,j){var b,N=f(_),L=[],F=[],J;for(L[15]=F[15]=void 0,N.length>16&&(N=s(N,_.length*8)),b=0;b<16;b+=1)L[b]=N[b]^909522486,F[b]=N[b]^1549556828;return J=s(L.concat(f(j)),512+j.length*8),c(s(F.concat(J),640))}function g(_){var j="0123456789abcdef",b="",N,L;for(L=0;L<_.length;L+=1)N=_.charCodeAt(L),b+=j.charAt(N>>>4&15)+j.charAt(N&15);return b}function p(_){return unescape(encodeURIComponent(_))}function d(_){return m(p(_))}function k(_){return g(d(_))}function T(_,j){return h(p(_),p(j))}function P(_,j){return g(T(_,j))}function C(_,j,b){return j?b?T(j,_):P(j,_):b?d(_):k(_)}t.exports?t.exports=C:e.md5=C})(Ba)})(Gl);var Iu=Gl.exports;const Eo=Va(Iu);var Pu={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Cu=!fr,Zl=Pu.VITE_EVIDENCE_SPA!=="true",Du="always",Au=async()=>{let t={};{const e=await fetch("/data/manifest.json");e.ok&&({renderedFiles:t}=await e.json())}await gn(Wa),Object.keys(t??{}).length===0?(console.warn("Unable to load manifest, do you need to generate sources?".trim()),Ur.add({id:"MissingManifest",status:"warning",title:"Missing Manifest",message:"Without a manifest file, no data is available"},1e4)):(await gn(Wl,t),await gn(Ka,Object.keys(t)))},jo=gn(Au);async function Tu(t,e,n){const r=await n(`/api/${t}/${e}/all-queries.json`);if(!r.ok)return{};const o=await r.json(),i=await Promise.all(Object.entries(o).map(async([l,u])=>{const a=await n(`/api/prerendered_queries/${u}.arrow`);if(!a.ok)return null;const s=await za(a);return[l,Qa(s)]}));return Object.fromEntries(i.filter(Boolean))}const Mu=["/settings","/explore"],Io=new Map,Nu=async({fetch:t,route:e,params:n,url:r})=>{var h,g,p;const[{customFormattingSettings:o},i,l]=await Promise.all([t("/api/customFormattingSettings.json/GET.json").then(d=>d.json()),t("/api/pagesManifest.json").then(d=>d.json()),t(`/api/${e.id}/evidencemeta.json`).then(d=>d.json()).catch(()=>({queries:[]}))]),u=Eo(e.id),a=Eo(Object.entries(n).sort().map(([d,k])=>`${d}${k}`).join("")),s=e.id&&Mu.every(d=>!e.id.startsWith(d));let c={};Io.get(r.pathname),Io.has(r.pathname),s&&Zl&&(c=await Tu(u,a,t));function f(d,{query_name:k,callback:T=P=>P}={}){return(async()=>{await jo;const P=await Ja(d);return T(P)})()}let m=i;for(const d of(e.id??"").split("/").slice(1)){if(m=m.children[d],!m)break;if((h=m.frontMatter)!=null&&h.title)m.title=m.frontMatter.title;else if((g=m.frontMatter)!=null&&g.breadcrumb){let{breadcrumb:k}=m.frontMatter;for(const[T,P]of Object.entries(n))k=k.replaceAll(`\${params.${T}}`,P);m.title=(p=(await f(k))[0])==null?void 0:p.breadcrumb}}return{__db:{query:f,async load(){return jo},async updateParquetURLs(d){const{renderedFiles:k}=JSON.parse(d);await gn(Wl,k)}},inputs:nu({label:"",value:"(SELECT NULL WHERE 0 /* An Input has not been set */)"}),data:c,customFormattingSettings:o,isUserPage:s,evidencemeta:l,pagesManifest:i}},vh=Object.freeze(Object.defineProperty({__proto__:null,load:Nu,prerender:Zl,ssr:Cu,trailingSlash:Du},Symbol.toStringTag,{value:"Module"}));function Ru(t){t.setAttribute("data-highlighted","")}function Kt(t){t.removeAttribute("data-highlighted")}function Lu(t,e=500){let n=null;return function(...r){const o=()=>{n=null,t(...r)};n&&clearTimeout(n),n=setTimeout(o,e)}}function ze(t){Ft&&qt(1).then(()=>{const e=document.activeElement;!te(e)||e===t||(e.tabIndex=-1,t&&(t.tabIndex=0,t.focus()))})}function Xl(){return Array.from(document.querySelectorAll('a[href]:not([tabindex="-1"]), button:not([disabled]):not([tabindex="-1"]), input:not([disabled]):not([tabindex="-1"]), select:not([disabled]):not([tabindex="-1"]), textarea:not([disabled]):not([tabindex="-1"]), [tabindex]:not([tabindex="-1"])'))}function Hu(t){const e=Xl(),r=e.indexOf(t)+1,o=e[r];return r<e.length&&te(o)?o:null}function Fu(t){const e=Xl(),r=e.indexOf(t)-1,o=e[r];return r>=0&&te(o)?o:null}const qu=new Set(["Shift","Control","Alt","Meta","CapsLock","NumLock"]),Uu={onMatch:ze,getCurrentItem:()=>document.activeElement};function Bu(t={}){const e={...Uu,...t},n=Je(Qe([])),r=Lu(()=>{n.update(()=>[])});return{typed:n,resetTyped:r,handleTypeaheadSearch:(i,l)=>{if(qu.has(i))return;const u=e.getCurrentItem(),a=cu(n);if(!Array.isArray(a))return;a.push(i.toLowerCase()),n.set(a);const s=l.filter(d=>!(d.getAttribute("disabled")==="true"||d.getAttribute("aria-disabled")==="true"||d.hasAttribute("data-disabled"))),f=a.length>1&&a.every(d=>d===a[0])?a[0]:a.join(""),m=te(u)?s.indexOf(u):-1;let h=ru(s,Math.max(m,0));f.length===1&&(h=h.filter(d=>d!==u));const p=h.find(d=>(d==null?void 0:d.innerText)&&d.innerText.toLowerCase().startsWith(f.toLowerCase()));te(p)&&p!==u&&e.onMatch(p),r()}}}const Vu={ltr:[...dr,xe.ARROW_RIGHT],rtl:[...dr,xe.ARROW_LEFT]},Wu={ltr:[xe.ARROW_LEFT],rtl:[xe.ARROW_RIGHT]},Po=["menu","trigger"],Ku={arrowSize:8,positioning:{placement:"bottom"},preventScroll:!0,closeOnEscape:!0,closeOnOutsideClick:!0,portal:void 0,loop:!1,dir:"ltr",defaultOpen:!1,typeahead:!0,closeOnItemClick:!0,onOutsideClick:void 0};function zu(t){const{name:e,selector:n}=Za(t.selector),{preventScroll:r,arrowSize:o,positioning:i,closeOnEscape:l,closeOnOutsideClick:u,portal:a,forceVisible:s,typeahead:c,loop:f,closeFocus:m,disableFocusFirstItem:h,closeOnItemClick:g,onOutsideClick:p}=t.rootOptions,d=t.rootOpen,k=t.rootActiveTrigger,T=t.nextFocusable,P=t.prevFocusable,C=Je.writable(!1),_=Je(Qe(0)),j=Je(Qe(null)),b=Je(Qe("right")),N=Je(Qe(null)),L=Je(mn([b,j],([M,q])=>H=>M===(q==null?void 0:q.side)&&Qu(H,q==null?void 0:q.area))),{typed:F,handleTypeaheadSearch:J}=Bu(),D=ir({...ko(Po),...t.ids}),w=_o({open:d,forceVisible:s,activeTrigger:k}),O=nt(e(),{stores:[w,a,D.menu,D.trigger],returned:([M,q,H,W])=>({role:"menu",hidden:M?void 0:!0,style:an({display:M?void 0:"none"}),id:H,"aria-labelledby":W,"data-state":M?"open":"closed","data-portal":xa(q),tabindex:-1}),action:M=>{let q=un;const H=ut([w,k,i,u,a,l],([$,je,qe,Oe,oe,de])=>{q(),!(!$||!je)&&Jn().then(()=>{q(),cn(M,n),q=bo(M,{anchorElement:je,open:d,options:{floating:qe,modal:{closeOnInteractOutside:Oe,shouldCloseOnInteractOutside:Z=>{var re;return(re=p.get())==null||re(Z),!(Z.defaultPrevented||te(je)&&je.contains(Z.target))},onClose:()=>{d.set(!1),je.focus()},open:$},portal:vo(M,oe),escapeKeydown:de?void 0:null}}).destroy})}),W=gt(pe(M,"keydown",$=>{const je=$.target,qe=$.currentTarget;if(!te(je)||!te(qe)||!(je.closest('[role="menu"]')===qe))return;if(ho.includes($.key)&&Do($,f.get()??!1),$.key===xe.TAB){$.preventDefault(),d.set(!1),Co($,T,P);return}const oe=$.key.length===1;!($.ctrlKey||$.altKey||$.metaKey)&&oe&&c.get()===!0&&J($.key,Ht(qe))}));return{destroy(){H(),W(),q()}}}}),y=nt(e("trigger"),{stores:[d,D.menu,D.trigger],returned:([M,q,H])=>({"aria-controls":q,"aria-expanded":M,"data-state":M?"open":"closed",id:H,tabindex:0}),action:M=>(xn(M),k.update(H=>H||M),{destroy:gt(pe(M,"click",H=>{const W=d.get(),$=H.currentTarget;te($)&&(lt($),W||H.preventDefault())}),pe(M,"keydown",H=>{const W=H.currentTarget;if(!te(W)||!(dr.includes(H.key)||H.key===xe.ARROW_DOWN))return;H.preventDefault(),lt(W);const $=W.getAttribute("aria-controls");if(!$)return;const je=document.getElementById($);if(!je)return;const qe=Ht(je);qe.length&&ze(qe[0])}))})}),z=nt(e("arrow"),{stores:o,returned:M=>({"data-arrow":!0,style:an({position:"absolute",width:`var(--arrow-size, ${M}px)`,height:`var(--arrow-size, ${M}px)`})})}),ce=nt(e("overlay"),{stores:[w],returned:([M])=>({hidden:M?void 0:!0,tabindex:-1,style:an({display:M?void 0:"none"}),"aria-hidden":"true","data-state":Gu(M)}),action:M=>{let q=un;if(l.get()){const W=Ga(M,{handler:()=>{d.set(!1);const $=k.get();$&&$.focus()}});W&&W.destroy&&(q=W.destroy)}const H=ut([a],([W])=>{if(W===null)return un;const $=vo(M,W);return $===null?un:ou(M,$).destroy});return{destroy(){q(),H()}}}}),x=nt(e("item"),{returned:()=>({role:"menuitem",tabindex:-1,"data-orientation":"vertical"}),action:M=>(cn(M,n),xn(M),{destroy:gt(pe(M,"pointerdown",H=>{const W=H.currentTarget;if(te(W)&&_t(W)){H.preventDefault();return}}),pe(M,"click",H=>{const W=H.currentTarget;if(te(W)){if(_t(W)){H.preventDefault();return}if(H.defaultPrevented){ze(W);return}g.get()&&qt(1).then(()=>{d.set(!1)})}}),pe(M,"keydown",H=>{Bt(H)}),pe(M,"pointermove",H=>{on(H)}),pe(M,"pointerleave",H=>{ln(H)}),pe(M,"focusin",H=>{At(H)}),pe(M,"focusout",H=>{at(H)}))})}),Xe=nt(e("group"),{returned:()=>M=>({role:"group","aria-labelledby":M})}),mt=nt(e("group-label"),{returned:()=>M=>({id:M})}),rt={defaultChecked:!1,disabled:!1},it=M=>{const q={...rt,...M},H=q.checked??Qe(q.defaultChecked??null),W=lr(H,q.onCheckedChange),$=Qe(q.disabled),je=nt(e("checkbox-item"),{stores:[W,$],returned:([oe,de])=>({role:"menuitemcheckbox",tabindex:-1,"data-orientation":"vertical","aria-checked":ne(oe)?"mixed":oe?"true":"false","data-disabled":Ir(de),"data-state":ge(oe)}),action:oe=>(cn(oe,n),xn(oe),{destroy:gt(pe(oe,"pointerdown",Z=>{const re=Z.currentTarget;if(te(re)&&_t(re)){Z.preventDefault();return}}),pe(oe,"click",Z=>{const re=Z.currentTarget;if(te(re)){if(_t(re)){Z.preventDefault();return}if(Z.defaultPrevented){ze(re);return}W.update(tt=>ne(tt)?!0:!tt),g.get()&&Jn().then(()=>{d.set(!1)})}}),pe(oe,"keydown",Z=>{Bt(Z)}),pe(oe,"pointermove",Z=>{const re=Z.currentTarget;if(te(re)){if(_t(re)){pt(Z);return}on(Z,re)}}),pe(oe,"pointerleave",Z=>{ln(Z)}),pe(oe,"focusin",Z=>{At(Z)}),pe(oe,"focusout",Z=>{at(Z)}))})}),qe=mn(W,oe=>oe===!0),Oe=mn(W,oe=>oe==="indeterminate");return{elements:{checkboxItem:je},states:{checked:W},helpers:{isChecked:qe,isIndeterminate:Oe},options:{disabled:$}}},We=(M={})=>{const q=M.value??Qe(M.defaultValue??null),H=lr(q,M.onValueChange),W=nt(e("radio-group"),{returned:()=>({role:"group"})}),$={disabled:!1},je=nt(e("radio-item"),{stores:[H],returned:([Oe])=>oe=>{const{value:de,disabled:Z}={...$,...oe},re=Oe===de;return{disabled:Z,role:"menuitemradio","data-state":re?"checked":"unchecked","aria-checked":re,"data-disabled":Ir(Z),"data-value":de,"data-orientation":"vertical",tabindex:-1}},action:Oe=>(cn(Oe,n),{destroy:gt(pe(Oe,"pointerdown",de=>{const Z=de.currentTarget;if(!te(Z))return;const re=Oe.dataset.value;if(Oe.dataset.disabled||re===void 0){de.preventDefault();return}}),pe(Oe,"click",de=>{const Z=de.currentTarget;if(!te(Z))return;const re=Oe.dataset.value;if(Oe.dataset.disabled||re===void 0){de.preventDefault();return}if(de.defaultPrevented){if(!te(Z))return;ze(Z);return}H.set(re),g.get()&&Jn().then(()=>{d.set(!1)})}),pe(Oe,"keydown",de=>{Bt(de)}),pe(Oe,"pointermove",de=>{const Z=de.currentTarget;if(!te(Z))return;const re=Oe.dataset.value;if(Oe.dataset.disabled||re===void 0){pt(de);return}on(de,Z)}),pe(Oe,"pointerleave",de=>{ln(de)}),pe(Oe,"focusin",de=>{At(de)}),pe(Oe,"focusout",de=>{at(de)}))})}),qe=mn(H,Oe=>oe=>Oe===oe);return{elements:{radioGroup:W,radioItem:je},states:{value:H},helpers:{isChecked:qe}}},{elements:{root:ht}}=iu({orientation:"horizontal"}),K={...Ku,disabled:!1,positioning:{placement:"right-start",gutter:8}},Wn=M=>{const q={...K,...M},H=q.open??Qe(!1),W=lr(H,q==null?void 0:q.onOpenChange),$=ir(Kl(q,"ids")),{positioning:je,arrowSize:qe,disabled:Oe}=$,oe=Je(Qe(null)),de=Je(Qe(null)),Z=Je(Qe(0)),re=ir({...ko(Po),...q.ids});po(()=>{const me=document.getElementById(re.trigger.get());me&&oe.set(me)});const tt=_o({open:W,forceVisible:s,activeTrigger:oe}),Kn=nt(e("submenu"),{stores:[tt,re.menu,re.trigger],returned:([me,Ue,Ye])=>({role:"menu",hidden:me?void 0:!0,style:an({display:me?void 0:"none"}),id:Ue,"aria-labelledby":Ye,"data-state":me?"open":"closed","data-id":Ue,tabindex:-1}),action:me=>{let Ue=un;const Ye=ut([tt,je],([ee,be])=>{if(Ue(),!ee)return;const Te=oe.get();Te&&Jn().then(()=>{Ue();const Ne=Ve(Te);Ue=bo(me,{anchorElement:Te,open:W,options:{floating:be,portal:te(Ne)?Ne:void 0,modal:null,focusTrap:null,escapeKeydown:null}}).destroy})}),he=gt(pe(me,"keydown",ee=>{if(ee.key===xe.ESCAPE)return;const be=ee.target,Te=ee.currentTarget;if(!te(be)||!te(Te)||!(be.closest('[role="menu"]')===Te))return;if(ho.includes(ee.key)){ee.stopImmediatePropagation(),Do(ee,f.get()??!1);return}const Vt=Wu.ltr.includes(ee.key),Wt=ee.ctrlKey||ee.altKey||ee.metaKey,Qn=ee.key.length===1;if(Vt){const mo=oe.get();ee.preventDefault(),W.update(()=>(mo&&ze(mo),!1));return}if(ee.key===xe.TAB){ee.preventDefault(),d.set(!1),Co(ee,T,P);return}!Wt&&Qn&&c.get()===!0&&J(ee.key,Ht(Te))}),pe(me,"pointermove",ee=>{Tt(ee)}),pe(me,"focusout",ee=>{const be=oe.get();if(C.get()){const Te=ee.target,Ne=document.getElementById(re.menu.get());if(!te(Ne)||!te(Te))return;!Ne.contains(Te)&&Te!==be&&W.set(!1)}else{const Te=ee.currentTarget,Ne=ee.relatedTarget;if(!te(Ne)||!te(Te))return;!Te.contains(Ne)&&Ne!==be&&W.set(!1)}}));return{destroy(){Ye(),Ue(),he()}}}}),zn=nt(e("subtrigger"),{stores:[W,Oe,re.menu,re.trigger],returned:([me,Ue,Ye,he])=>({role:"menuitem",id:he,tabindex:-1,"aria-controls":Ye,"aria-expanded":me,"data-state":me?"open":"closed","data-disabled":Ir(Ue),"aria-haspopop":"menu"}),action:me=>{cn(me,n),xn(me),oe.update(he=>he||me);const Ue=()=>{Pr(de),window.clearTimeout(Z.get()),j.set(null)},Ye=gt(pe(me,"click",he=>{if(he.defaultPrevented)return;const ee=he.currentTarget;!te(ee)||_t(ee)||(ze(ee),W.get()||W.update(be=>be||(oe.set(ee),!be)))}),pe(me,"keydown",he=>{const ee=F.get(),be=he.currentTarget;if(!(!te(be)||_t(be)||ee.length>0&&he.key===xe.SPACE)&&Vu.ltr.includes(he.key)){if(!W.get()){be.click(),he.preventDefault();return}const Ne=be.getAttribute("aria-controls");if(!Ne)return;const Vt=document.getElementById(Ne);if(!te(Vt))return;const Wt=Ht(Vt)[0];ze(Wt)}}),pe(me,"pointermove",he=>{if(!sn(he)||(kt(he),he.defaultPrevented))return;const ee=he.currentTarget;if(!te(ee))return;xu(re.menu.get())||ze(ee);const be=de.get();!W.get()&&!be&&!_t(ee)&&de.set(window.setTimeout(()=>{W.update(()=>(oe.set(ee),!0)),Pr(de)},100))}),pe(me,"pointerleave",he=>{if(!sn(he))return;Pr(de);const ee=document.getElementById(re.menu.get()),be=ee==null?void 0:ee.getBoundingClientRect();if(be){const Te=ee==null?void 0:ee.dataset.side,Ne=Te==="right",Vt=Ne?-5:5,Wt=be[Ne?"left":"right"],Qn=be[Ne?"right":"left"];j.set({area:[{x:he.clientX+Vt,y:he.clientY},{x:Wt,y:be.top},{x:Qn,y:be.top},{x:Qn,y:be.bottom},{x:Wt,y:be.bottom}],side:Te}),window.clearTimeout(Z.get()),Z.set(window.setTimeout(()=>{j.set(null)},300))}else{if(jr(he),he.defaultPrevented)return;j.set(null)}}),pe(me,"focusout",he=>{const ee=he.currentTarget;if(!te(ee))return;Kt(ee);const be=he.relatedTarget;if(!te(be))return;const Te=ee.getAttribute("aria-controls");if(!Te)return;const Ne=document.getElementById(Te);Ne&&!Ne.contains(be)&&W.set(!1)}),pe(me,"focusin",he=>{At(he)}));return{destroy(){Ue(),Ye()}}}}),Ua=nt(e("subarrow"),{stores:qe,returned:me=>({"data-arrow":!0,style:an({position:"absolute",width:`var(--arrow-size, ${me}px)`,height:`var(--arrow-size, ${me}px)`})})});return ut([d],([me])=>{me||(oe.set(null),W.set(!1))}),ut([j],([me])=>{!Ft||me||window.clearTimeout(Z.get())}),ut([W],([me])=>{if(Ft&&(me&&C.get()&&qt(1).then(()=>{const Ue=document.getElementById(re.menu.get());if(!Ue)return;const Ye=Ht(Ue);Ye.length&&ze(Ye[0])}),!me)){const Ue=N.get(),Ye=document.getElementById(re.trigger.get());if(Ue&&qt(1).then(()=>{const he=document.getElementById(re.menu.get());he&&he.contains(Ue)&&Kt(Ue)}),!Ye||document.activeElement===Ye)return;Kt(Ye)}}),{ids:re,elements:{subTrigger:zn,subMenu:Kn,subArrow:Ua},states:{subOpen:W},options:$}};po(()=>{const M=document.getElementById(D.trigger.get());te(M)&&d.get()&&k.set(M);const q=[],H=()=>C.set(!1),W=()=>{C.set(!0),q.push(gt(Mt(document,"pointerdown",H,{capture:!0,once:!0}),Mt(document,"pointermove",H,{capture:!0,once:!0})))},$=je=>{if(je.key===xe.ESCAPE&&l.get()){d.set(!1);return}};return q.push(Mt(document,"keydown",W,{capture:!0})),q.push(Mt(document,"keydown",$)),()=>{q.forEach(je=>je())}}),ut([d,N],([M,q])=>{!M&&q&&Kt(q)}),ut([d],([M])=>{if(Ft&&!M){const q=k.get();if(!q)return;const H=m.get();!M&&q&&lu({prop:H,defaultEl:q})}}),ut([d,r],([M,q])=>{if(!Ft)return;const H=[];return M&&q&&H.push(au()),qt(1).then(()=>{const W=document.getElementById(D.menu.get());if(W&&M&&C.get()){if(h.get()){ze(W);return}const $=Ht(W);if(!$.length)return;ze($[0])}}),()=>{H.forEach(W=>W())}}),ut(d,M=>{if(!Ft)return;const q=()=>C.set(!1),H=W=>{if(C.set(!0),W.key===xe.ESCAPE&&M&&l.get()){d.set(!1);return}};return gt(Mt(document,"pointerdown",q,{capture:!0,once:!0}),Mt(document,"pointermove",q,{capture:!0,once:!0}),Mt(document,"keydown",H,{capture:!0}))});function lt(M){d.update(q=>{const H=!q;return H&&(T.set(Hu(M)),P.set(Fu(M)),k.set(M)),H})}function At(M){const q=M.currentTarget;if(!te(q))return;const H=N.get();H&&Kt(H),Ru(q),N.set(q)}function at(M){const q=M.currentTarget;te(q)&&Kt(q)}function kt(M){Me(M)&&M.preventDefault()}function pt(M){if(Me(M))return;const q=M.target;if(!te(q))return;const H=Ve(q);H&&ze(H)}function jr(M){Me(M)&&M.preventDefault()}function Tt(M){if(!sn(M))return;const q=M.target,H=M.currentTarget;if(!te(H)||!te(q))return;const W=_.get(),$=W!==M.clientX;if(H.contains(q)&&$){const je=M.clientX>W?"right":"left";b.set(je),_.set(M.clientX)}}function on(M,q=null){if(!sn(M)||(kt(M),M.defaultPrevented))return;if(q){ze(q);return}const H=M.currentTarget;te(H)&&ze(H)}function ln(M){sn(M)&&pt(M)}function Bt(M){if(F.get().length>0&&M.key===xe.SPACE){M.preventDefault();return}if(dr.includes(M.key)){M.preventDefault();const W=M.currentTarget;if(!te(W))return;W.click()}}function ne(M){return M==="indeterminate"}function ge(M){return ne(M)?"indeterminate":M?"checked":"unchecked"}function Me(M){return L.get()(M)}function Ve(M){const q=M.closest('[role="menu"]');return te(q)?q:null}return{elements:{trigger:y,menu:O,overlay:ce,item:x,group:Xe,groupLabel:mt,arrow:z,separator:ht},builders:{createCheckboxItem:it,createSubmenu:Wn,createMenuRadioGroup:We},states:{open:d},helpers:{handleTypeaheadSearch:J},ids:D,options:t.rootOptions}}function Co(t,e,n){if(t.shiftKey){const r=n.get();r&&(t.preventDefault(),qt(1).then(()=>r.focus()),n.set(null))}else{const r=e.get();r&&(t.preventDefault(),qt(1).then(()=>r.focus()),e.set(null))}}function Ht(t){return Array.from(t.querySelectorAll(`[data-melt-menu-id="${t.id}"]`)).filter(e=>te(e))}function xn(t){!t||!_t(t)||(t.setAttribute("data-disabled",""),t.setAttribute("aria-disabled","true"))}function Pr(t){if(!Ft)return;const e=t.get();e&&(window.clearTimeout(e),t.set(null))}function sn(t){return t.pointerType==="mouse"}function cn(t,e){if(!t)return;const n=t.closest(`${e()}, ${e("submenu")}`);te(n)&&t.setAttribute("data-melt-menu-id",n.id)}function Do(t,e){t.preventDefault();const n=document.activeElement,r=t.currentTarget;if(!te(n)||!te(r))return;const o=Ht(r);if(!o.length)return;const i=o.filter(a=>!(a.hasAttribute("data-disabled")||a.getAttribute("disabled")==="true")),l=i.indexOf(n);let u;switch(t.key){case xe.ARROW_DOWN:e?u=l<i.length-1?l+1:0:u=l<i.length-1?l+1:l;break;case xe.ARROW_UP:e?u=l>0?l-1:i.length-1:u=l<0?i.length-1:l>0?l-1:0;break;case xe.HOME:u=0;break;case xe.END:u=i.length-1;break;default:return}ze(i[u])}function Qu(t,e){if(!e)return!1;const n={x:t.clientX,y:t.clientY};return Ju(n,e)}function Ju(t,e){const{x:n,y:r}=t;let o=!1;for(let i=0,l=e.length-1;i<e.length;l=i++){const u=e[i].x,a=e[i].y,s=e[l].x,c=e[l].y;a>r!=c>r&&n<(s-u)*(r-a)/(c-a)+u&&(o=!o)}return o}function xu(t){const e=document.activeElement;if(!te(e))return!1;const n=e.closest(`[data-id="${t}"]`);return te(n)}function Gu(t){return t?"open":"closed"}const Zu={arrowSize:8,positioning:{placement:"bottom"},preventScroll:!0,closeOnEscape:!0,closeOnOutsideClick:!0,portal:void 0,loop:!1,dir:"ltr",defaultOpen:!1,forceVisible:!1,typeahead:!0,closeFocus:void 0,disableFocusFirstItem:!1,closeOnItemClick:!0,onOutsideClick:void 0};function Xu(t){const e={...Zu,...t},n=ir(Kl(e,"ids")),r=e.open??Qe(e.defaultOpen),o=lr(r,e==null?void 0:e.onOpenChange),i=Je(Qe(null)),l=Je(Qe(null)),u=Je(Qe(null)),{elements:a,builders:s,ids:c,states:f,options:m}=zu({rootOptions:n,rootOpen:o,rootActiveTrigger:Je(i),nextFocusable:Je(l),prevFocusable:Je(u),selector:"dropdown-menu",removeScroll:!0,ids:e.ids});return{ids:c,elements:a,states:f,builders:s,options:m}}function Yu(){return Xa(10)}function io(){return{NAME:"menu",SUB_NAME:"menu-submenu",RADIO_GROUP_NAME:"menu-radiogroup",CHECKBOX_ITEM_NAME:"menu-checkboxitem",RADIO_ITEM_NAME:"menu-radioitem",GROUP_NAME:"menu-group",PARTS:["arrow","checkbox-indicator","checkbox-item","content","group","item","label","radio-group","radio-item","radio-indicator","separator","sub-content","sub-trigger","trigger"]}}function Bn(){const{NAME:t}=io();return fu(t)}function $u(t){const{NAME:e,PARTS:n}=io(),r=Su("menu",n),o={...Xu({...wu(t),forceVisible:!0}),getAttrs:r};return zl(e,o),{...o,updateOption:ku(o.options)}}function es(){const{GROUP_NAME:t}=io(),{elements:{group:e},getAttrs:n}=Bn(),r=Yu();return zl(t,r),{group:e,id:r,getAttrs:n}}function ts(t){const n={...{side:"bottom",align:"center"},...t},{options:{positioning:r}}=Bn();uu(r)(n)}const ns=t=>({builder:t&8}),Ao=t=>({builder:t[3]}),rs=t=>({builder:t&8}),To=t=>({builder:t[3]});function os(t){let e=t[1]?"a":"div",n,r,o=(t[1]?"a":"div")&&Cr(t);return{c(){o&&o.c(),n=ie()},l(i){o&&o.l(i),n=ie()},m(i,l){o&&o.m(i,l),R(i,n,l),r=!0},p(i,l){i[1],e?Ie(e,i[1]?"a":"div")?(o.d(1),o=Cr(i),e=i[1]?"a":"div",o.c(),o.m(n.parentNode,n)):o.p(i,l):(o=Cr(i),e=i[1]?"a":"div",o.c(),o.m(n.parentNode,n))},i(i){r||(E(o,i),r=!0)},o(i){I(o,i),r=!1},d(i){i&&S(n),o&&o.d(i)}}}function is(t){let e;const n=t[11].default,r=Re(n,t,t[10],To);return{c(){r&&r.c()},l(o){r&&r.l(o)},m(o,i){r&&r.m(o,i),e=!0},p(o,i){r&&r.p&&(!e||i&1032)&&Le(r,n,o,o[10],e?Fe(n,o[10],i,rs):He(o[10]),To)},i(o){e||(E(r,o),e=!0)},o(o){I(r,o),e=!1},d(o){r&&r.d(o)}}}function Cr(t){let e,n,r,o;const i=t[11].default,l=Re(i,t,t[10],Ao);let u=[{href:t[1]},t[3],t[6]],a={};for(let s=0;s<u.length;s+=1)a=Ee(a,u[s]);return{c(){e=B(t[1]?"a":"div"),l&&l.c(),this.h()},l(s){e=V(s,((t[1]?"a":"div")||"null").toUpperCase(),{href:!0});var c=Q(e);l&&l.l(c),c.forEach(S),this.h()},h(){yo(t[1]?"a":"div")(e,a)},m(s,c){R(s,e,c),l&&l.m(e,null),t[13](e),n=!0,r||(o=[Ct(t[3].action(e)),De(e,"m-click",t[5]),De(e,"m-focusin",t[5]),De(e,"m-focusout",t[5]),De(e,"m-keydown",t[5]),De(e,"m-pointerdown",t[5]),De(e,"m-pointerleave",t[5]),De(e,"m-pointermove",t[5]),De(e,"pointerenter",t[12])],r=!0)},p(s,c){l&&l.p&&(!n||c&1032)&&Le(l,i,s,s[10],n?Fe(i,s[10],c,ns):He(s[10]),Ao),yo(s[1]?"a":"div")(e,a=ot(u,[(!n||c&2)&&{href:s[1]},c&8&&s[3],c&64&&s[6]]))},i(s){n||(E(l,s),n=!0)},o(s){I(l,s),n=!1},d(s){s&&S(e),l&&l.d(s),t[13](null),r=!1,St(o)}}}function ls(t){let e,n,r,o;const i=[is,os],l=[];function u(a,s){return a[2]?0:1}return e=u(t),n=l[e]=i[e](t),{c(){n.c(),r=ie()},l(a){n.l(a),r=ie()},m(a,s){l[e].m(a,s),R(a,r,s),o=!0},p(a,[s]){let c=e;e=u(a),e===c?l[e].p(a,s):(ve(),I(l[c],1,1,()=>{l[c]=null}),ye(),n=l[e],n?n.p(a,s):(n=l[e]=i[e](a),n.c()),E(n,1),n.m(r.parentNode,r))},i(a){o||(E(n),o=!0)},o(a){I(n),o=!1},d(a){a&&S(r),l[e].d(a)}}}function as(t,e,n){let r,o;const i=["href","asChild","disabled","el"];let l=$e(e,i),u,{$$slots:a={},$$scope:s}=e,{href:c=void 0}=e,{asChild:f=!1}=e,{disabled:m=!1}=e,{el:h=void 0}=e;const{elements:{item:g},getAttrs:p}=Bn();et(t,g,P=>n(9,u=P));const d=oo();function k(P){bt.call(this,t,P)}function T(P){st[P?"unshift":"push"](()=>{h=P,n(0,h)})}return t.$$set=P=>{e=Ee(Ee({},e),Ut(P)),n(6,l=$e(e,i)),"href"in P&&n(1,c=P.href),"asChild"in P&&n(2,f=P.asChild),"disabled"in P&&n(7,m=P.disabled),"el"in P&&n(0,h=P.el),"$$scope"in P&&n(10,s=P.$$scope)},t.$$.update=()=>{t.$$.dirty&512&&n(3,r=u),t.$$.dirty&128&&n(8,o={...p("item"),...Eu(m)}),t.$$.dirty&264&&Object.assign(r,o)},[h,c,f,r,g,d,l,m,o,u,s,a,k,T]}class us extends Pe{constructor(e){super(),Ce(this,e,as,ls,Ie,{href:1,asChild:2,disabled:7,el:0})}}const ss=t=>({builder:t&4}),Mo=t=>({builder:t[2]}),cs=t=>({builder:t&4}),No=t=>({builder:t[2]});function fs(t){let e,n,r,o;const i=t[7].default,l=Re(i,t,t[6],Mo);let u=[t[2],t[4]],a={};for(let s=0;s<u.length;s+=1)a=Ee(a,u[s]);return{c(){e=B("div"),l&&l.c(),this.h()},l(s){e=V(s,"DIV",{});var c=Q(e);l&&l.l(c),c.forEach(S),this.h()},h(){Ge(e,a)},m(s,c){R(s,e,c),l&&l.m(e,null),t[8](e),n=!0,r||(o=Ct(t[2].action(e)),r=!0)},p(s,c){l&&l.p&&(!n||c&68)&&Le(l,i,s,s[6],n?Fe(i,s[6],c,ss):He(s[6]),Mo),Ge(e,a=ot(u,[c&4&&s[2],c&16&&s[4]]))},i(s){n||(E(l,s),n=!0)},o(s){I(l,s),n=!1},d(s){s&&S(e),l&&l.d(s),t[8](null),r=!1,o()}}}function ds(t){let e;const n=t[7].default,r=Re(n,t,t[6],No);return{c(){r&&r.c()},l(o){r&&r.l(o)},m(o,i){r&&r.m(o,i),e=!0},p(o,i){r&&r.p&&(!e||i&68)&&Le(r,n,o,o[6],e?Fe(n,o[6],i,cs):He(o[6]),No)},i(o){e||(E(r,o),e=!0)},o(o){I(r,o),e=!1},d(o){r&&r.d(o)}}}function ms(t){let e,n,r,o;const i=[ds,fs],l=[];function u(a,s){return a[1]?0:1}return e=u(t),n=l[e]=i[e](t),{c(){n.c(),r=ie()},l(a){n.l(a),r=ie()},m(a,s){l[e].m(a,s),R(a,r,s),o=!0},p(a,[s]){let c=e;e=u(a),e===c?l[e].p(a,s):(ve(),I(l[c],1,1,()=>{l[c]=null}),ye(),n=l[e],n?n.p(a,s):(n=l[e]=i[e](a),n.c()),E(n,1),n.m(r.parentNode,r))},i(a){o||(E(n),o=!0)},o(a){I(n),o=!1},d(a){a&&S(r),l[e].d(a)}}}function hs(t,e,n){let r;const o=["asChild","el"];let i=$e(e,o),l,{$$slots:u={},$$scope:a}=e,{asChild:s=!1}=e,{el:c=void 0}=e;const{group:f,id:m,getAttrs:h}=es();et(t,f,d=>n(5,l=d));const g=h("group");function p(d){st[d?"unshift":"push"](()=>{c=d,n(0,c)})}return t.$$set=d=>{e=Ee(Ee({},e),Ut(d)),n(4,i=$e(e,o)),"asChild"in d&&n(1,s=d.asChild),"el"in d&&n(0,c=d.el),"$$scope"in d&&n(6,a=d.$$scope)},t.$$.update=()=>{t.$$.dirty&32&&n(2,r=l(m)),t.$$.dirty&4&&Object.assign(r,g)},[c,s,r,f,i,l,a,u,p]}class ps extends Pe{constructor(e){super(),Ce(this,e,hs,ms,Ie,{asChild:1,el:0})}}const gs=t=>({ids:t&1}),Ro=t=>({ids:t[0]});function _s(t){let e;const n=t[16].default,r=Re(n,t,t[15],Ro);return{c(){r&&r.c()},l(o){r&&r.l(o)},m(o,i){r&&r.m(o,i),e=!0},p(o,[i]){r&&r.p&&(!e||i&32769)&&Le(r,n,o,o[15],e?Fe(n,o[15],i,gs):He(o[15]),Ro)},i(o){e||(E(r,o),e=!0)},o(o){I(r,o),e=!1},d(o){r&&r.d(o)}}}function bs(t,e,n){let r,{$$slots:o={},$$scope:i}=e,{closeOnOutsideClick:l=void 0}=e,{closeOnEscape:u=void 0}=e,{portal:a=void 0}=e,{open:s=void 0}=e,{onOpenChange:c=void 0}=e,{preventScroll:f=void 0}=e,{loop:m=void 0}=e,{dir:h=void 0}=e,{typeahead:g=void 0}=e,{closeFocus:p=void 0}=e,{disableFocusFirstItem:d=void 0}=e,{closeOnItemClick:k=void 0}=e,{onOutsideClick:T=void 0}=e;const{states:{open:P},updateOption:C,ids:_}=$u({closeOnOutsideClick:l,closeOnEscape:u,portal:a,forceVisible:!0,defaultOpen:s,preventScroll:f,loop:m,dir:h,typeahead:g,closeFocus:p,disableFocusFirstItem:d,closeOnItemClick:k,onOutsideClick:T,onOpenChange:({next:b})=>(s!==b&&(c==null||c(b),n(2,s=b)),b)}),j=mn([_.menu,_.trigger],([b,N])=>({menu:b,trigger:N}));return et(t,j,b=>n(0,r=b)),t.$$set=b=>{"closeOnOutsideClick"in b&&n(3,l=b.closeOnOutsideClick),"closeOnEscape"in b&&n(4,u=b.closeOnEscape),"portal"in b&&n(5,a=b.portal),"open"in b&&n(2,s=b.open),"onOpenChange"in b&&n(6,c=b.onOpenChange),"preventScroll"in b&&n(7,f=b.preventScroll),"loop"in b&&n(8,m=b.loop),"dir"in b&&n(9,h=b.dir),"typeahead"in b&&n(10,g=b.typeahead),"closeFocus"in b&&n(11,p=b.closeFocus),"disableFocusFirstItem"in b&&n(12,d=b.disableFocusFirstItem),"closeOnItemClick"in b&&n(13,k=b.closeOnItemClick),"onOutsideClick"in b&&n(14,T=b.onOutsideClick),"$$scope"in b&&n(15,i=b.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&s!==void 0&&P.set(s),t.$$.dirty&8&&C("closeOnOutsideClick",l),t.$$.dirty&16&&C("closeOnEscape",u),t.$$.dirty&32&&C("portal",a),t.$$.dirty&128&&C("preventScroll",f),t.$$.dirty&256&&C("loop",m),t.$$.dirty&512&&C("dir",h),t.$$.dirty&2048&&C("closeFocus",p),t.$$.dirty&4096&&C("disableFocusFirstItem",d),t.$$.dirty&1024&&C("typeahead",g),t.$$.dirty&8192&&C("closeOnItemClick",k),t.$$.dirty&16384&&C("onOutsideClick",T)},[r,j,s,l,u,a,c,f,m,h,g,p,d,k,T,i,o]}class vs extends Pe{constructor(e){super(),Ce(this,e,bs,_s,Ie,{closeOnOutsideClick:3,closeOnEscape:4,portal:5,open:2,onOpenChange:6,preventScroll:7,loop:8,dir:9,typeahead:10,closeFocus:11,disableFocusFirstItem:12,closeOnItemClick:13,onOutsideClick:14})}}const ys=t=>({builder:t[0]&256}),Lo=t=>({builder:t[8]}),Os=t=>({builder:t[0]&256}),Ho=t=>({builder:t[8]}),Ss=t=>({builder:t[0]&256}),Fo=t=>({builder:t[8]}),ws=t=>({builder:t[0]&256}),qo=t=>({builder:t[8]}),ks=t=>({builder:t[0]&256}),Uo=t=>({builder:t[8]}),Es=t=>({builder:t[0]&256}),Bo=t=>({builder:t[8]});function js(t){let e,n,r,o;const i=t[28].default,l=Re(i,t,t[27],Lo);let u=[t[8],t[13]],a={};for(let s=0;s<u.length;s+=1)a=Ee(a,u[s]);return{c(){e=B("div"),l&&l.c(),this.h()},l(s){e=V(s,"DIV",{});var c=Q(e);l&&l.l(c),c.forEach(S),this.h()},h(){Ge(e,a)},m(s,c){R(s,e,c),l&&l.m(e,null),t[33](e),n=!0,r||(o=[Ct(t[8].action(e)),De(e,"m-keydown",t[12])],r=!0)},p(s,c){l&&l.p&&(!n||c[0]&134217984)&&Le(l,i,s,s[27],n?Fe(i,s[27],c,ys):He(s[27]),Lo),Ge(e,a=ot(u,[c[0]&256&&s[8],c[0]&8192&&s[13]]))},i(s){n||(E(l,s),n=!0)},o(s){I(l,s),n=!1},d(s){s&&S(e),l&&l.d(s),t[33](null),r=!1,St(o)}}}function Is(t){let e,n,r,o,i;const l=t[28].default,u=Re(l,t,t[27],Ho);let a=[t[8],t[13]],s={};for(let c=0;c<a.length;c+=1)s=Ee(s,a[c]);return{c(){e=B("div"),u&&u.c(),this.h()},l(c){e=V(c,"DIV",{});var f=Q(e);u&&u.l(f),f.forEach(S),this.h()},h(){Ge(e,s)},m(c,f){R(c,e,f),u&&u.m(e,null),t[32](e),r=!0,o||(i=[Ct(t[8].action(e)),De(e,"m-keydown",t[12])],o=!0)},p(c,f){t=c,u&&u.p&&(!r||f[0]&134217984)&&Le(u,l,t,t[27],r?Fe(l,t[27],f,Os):He(t[27]),Ho),Ge(e,s=ot(a,[f[0]&256&&t[8],f[0]&8192&&t[13]]))},i(c){r||(E(u,c),n&&n.end(1),r=!0)},o(c){I(u,c),c&&(n=Sr(e,t[5],t[6])),r=!1},d(c){c&&S(e),u&&u.d(c),t[32](null),c&&n&&n.end(),o=!1,St(i)}}}function Ps(t){let e,n,r,o,i;const l=t[28].default,u=Re(l,t,t[27],Fo);let a=[t[8],t[13]],s={};for(let c=0;c<a.length;c+=1)s=Ee(s,a[c]);return{c(){e=B("div"),u&&u.c(),this.h()},l(c){e=V(c,"DIV",{});var f=Q(e);u&&u.l(f),f.forEach(S),this.h()},h(){Ge(e,s)},m(c,f){R(c,e,f),u&&u.m(e,null),t[31](e),r=!0,o||(i=[Ct(t[8].action(e)),De(e,"m-keydown",t[12])],o=!0)},p(c,f){t=c,u&&u.p&&(!r||f[0]&134217984)&&Le(u,l,t,t[27],r?Fe(l,t[27],f,Ss):He(t[27]),Fo),Ge(e,s=ot(a,[f[0]&256&&t[8],f[0]&8192&&t[13]]))},i(c){r||(E(u,c),c&&(n||Ot(()=>{n=Un(e,t[3],t[4]),n.start()})),r=!0)},o(c){I(u,c),r=!1},d(c){c&&S(e),u&&u.d(c),t[31](null),o=!1,St(i)}}}function Cs(t){let e,n,r,o,i,l;const u=t[28].default,a=Re(u,t,t[27],qo);let s=[t[8],t[13]],c={};for(let f=0;f<s.length;f+=1)c=Ee(c,s[f]);return{c(){e=B("div"),a&&a.c(),this.h()},l(f){e=V(f,"DIV",{});var m=Q(e);a&&a.l(m),m.forEach(S),this.h()},h(){Ge(e,c)},m(f,m){R(f,e,m),a&&a.m(e,null),t[30](e),o=!0,i||(l=[Ct(t[8].action(e)),De(e,"m-keydown",t[12])],i=!0)},p(f,m){t=f,a&&a.p&&(!o||m[0]&134217984)&&Le(a,u,t,t[27],o?Fe(u,t[27],m,ws):He(t[27]),qo),Ge(e,c=ot(s,[m[0]&256&&t[8],m[0]&8192&&t[13]]))},i(f){o||(E(a,f),f&&Ot(()=>{o&&(r&&r.end(1),n=Un(e,t[3],t[4]),n.start())}),o=!0)},o(f){I(a,f),n&&n.invalidate(),f&&(r=Sr(e,t[5],t[6])),o=!1},d(f){f&&S(e),a&&a.d(f),t[30](null),f&&r&&r.end(),i=!1,St(l)}}}function Ds(t){let e,n,r,o,i;const l=t[28].default,u=Re(l,t,t[27],Uo);let a=[t[8],t[13]],s={};for(let c=0;c<a.length;c+=1)s=Ee(s,a[c]);return{c(){e=B("div"),u&&u.c(),this.h()},l(c){e=V(c,"DIV",{});var f=Q(e);u&&u.l(f),f.forEach(S),this.h()},h(){Ge(e,s)},m(c,f){R(c,e,f),u&&u.m(e,null),t[29](e),r=!0,o||(i=[Ct(t[8].action(e)),De(e,"m-keydown",t[12])],o=!0)},p(c,f){t=c,u&&u.p&&(!r||f[0]&134217984)&&Le(u,l,t,t[27],r?Fe(l,t[27],f,ks):He(t[27]),Uo),Ge(e,s=ot(a,[f[0]&256&&t[8],f[0]&8192&&t[13]]))},i(c){r||(E(u,c),c&&Ot(()=>{r&&(n||(n=jt(e,t[1],t[2],!0)),n.run(1))}),r=!0)},o(c){I(u,c),c&&(n||(n=jt(e,t[1],t[2],!1)),n.run(0)),r=!1},d(c){c&&S(e),u&&u.d(c),t[29](null),c&&n&&n.end(),o=!1,St(i)}}}function As(t){let e;const n=t[28].default,r=Re(n,t,t[27],Bo);return{c(){r&&r.c()},l(o){r&&r.l(o)},m(o,i){r&&r.m(o,i),e=!0},p(o,i){r&&r.p&&(!e||i[0]&134217984)&&Le(r,n,o,o[27],e?Fe(n,o[27],i,Es):He(o[27]),Bo)},i(o){e||(E(r,o),e=!0)},o(o){I(r,o),e=!1},d(o){r&&r.d(o)}}}function Ts(t){let e,n,r,o;const i=[As,Ds,Cs,Ps,Is,js],l=[];function u(a,s){return a[7]&&a[9]?0:a[1]&&a[9]?1:a[3]&&a[5]&&a[9]?2:a[3]&&a[9]?3:a[5]&&a[9]?4:a[9]?5:-1}return~(e=u(t))&&(n=l[e]=i[e](t)),{c(){n&&n.c(),r=ie()},l(a){n&&n.l(a),r=ie()},m(a,s){~e&&l[e].m(a,s),R(a,r,s),o=!0},p(a,s){let c=e;e=u(a),e===c?~e&&l[e].p(a,s):(n&&(ve(),I(l[c],1,1,()=>{l[c]=null}),ye()),~e?(n=l[e],n?n.p(a,s):(n=l[e]=i[e](a),n.c()),E(n,1),n.m(r.parentNode,r)):n=null)},i(a){o||(E(n),o=!0)},o(a){I(n),o=!1},d(a){a&&S(r),~e&&l[e].d(a)}}}function Ms(t,e,n){let r;const o=["transition","transitionConfig","inTransition","inTransitionConfig","outTransition","outTransitionConfig","asChild","id","side","align","sideOffset","alignOffset","collisionPadding","avoidCollisions","collisionBoundary","sameWidth","fitViewport","strategy","overlap","el"];let i=$e(e,o),l,u,{$$slots:a={},$$scope:s}=e,{transition:c=void 0}=e,{transitionConfig:f=void 0}=e,{inTransition:m=void 0}=e,{inTransitionConfig:h=void 0}=e,{outTransition:g=void 0}=e,{outTransitionConfig:p=void 0}=e,{asChild:d=!1}=e,{id:k=void 0}=e,{side:T="bottom"}=e,{align:P="center"}=e,{sideOffset:C=0}=e,{alignOffset:_=0}=e,{collisionPadding:j=8}=e,{avoidCollisions:b=!0}=e,{collisionBoundary:N=void 0}=e,{sameWidth:L=!1}=e,{fitViewport:F=!1}=e,{strategy:J="absolute"}=e,{overlap:D=!1}=e,{el:w=void 0}=e;const{elements:{menu:O},states:{open:y},ids:z,getAttrs:ce}=Bn();et(t,O,K=>n(26,u=K)),et(t,y,K=>n(9,l=K));const x=oo(),Xe=ce("content");function mt(K){st[K?"unshift":"push"](()=>{w=K,n(0,w)})}function rt(K){st[K?"unshift":"push"](()=>{w=K,n(0,w)})}function it(K){st[K?"unshift":"push"](()=>{w=K,n(0,w)})}function We(K){st[K?"unshift":"push"](()=>{w=K,n(0,w)})}function ht(K){st[K?"unshift":"push"](()=>{w=K,n(0,w)})}return t.$$set=K=>{e=Ee(Ee({},e),Ut(K)),n(13,i=$e(e,o)),"transition"in K&&n(1,c=K.transition),"transitionConfig"in K&&n(2,f=K.transitionConfig),"inTransition"in K&&n(3,m=K.inTransition),"inTransitionConfig"in K&&n(4,h=K.inTransitionConfig),"outTransition"in K&&n(5,g=K.outTransition),"outTransitionConfig"in K&&n(6,p=K.outTransitionConfig),"asChild"in K&&n(7,d=K.asChild),"id"in K&&n(14,k=K.id),"side"in K&&n(15,T=K.side),"align"in K&&n(16,P=K.align),"sideOffset"in K&&n(17,C=K.sideOffset),"alignOffset"in K&&n(18,_=K.alignOffset),"collisionPadding"in K&&n(19,j=K.collisionPadding),"avoidCollisions"in K&&n(20,b=K.avoidCollisions),"collisionBoundary"in K&&n(21,N=K.collisionBoundary),"sameWidth"in K&&n(22,L=K.sameWidth),"fitViewport"in K&&n(23,F=K.fitViewport),"strategy"in K&&n(24,J=K.strategy),"overlap"in K&&n(25,D=K.overlap),"el"in K&&n(0,w=K.el),"$$scope"in K&&n(27,s=K.$$scope)},t.$$.update=()=>{t.$$.dirty[0]&16384&&k&&z.menu.set(k),t.$$.dirty[0]&67108864&&n(8,r=u),t.$$.dirty[0]&256&&Object.assign(r,Xe),t.$$.dirty[0]&67076608&&l&&ts({side:T,align:P,sideOffset:C,alignOffset:_,collisionPadding:j,avoidCollisions:b,collisionBoundary:N,sameWidth:L,fitViewport:F,strategy:J,overlap:D})},[w,c,f,m,h,g,p,d,r,l,O,y,x,i,k,T,P,C,_,j,b,N,L,F,J,D,u,s,a,mt,rt,it,We,ht]}class Ns extends Pe{constructor(e){super(),Ce(this,e,Ms,Ts,Ie,{transition:1,transitionConfig:2,inTransition:3,inTransitionConfig:4,outTransition:5,outTransitionConfig:6,asChild:7,id:14,side:15,align:16,sideOffset:17,alignOffset:18,collisionPadding:19,avoidCollisions:20,collisionBoundary:21,sameWidth:22,fitViewport:23,strategy:24,overlap:25,el:0},null,[-1,-1])}}const Rs=t=>({builder:t&4}),Vo=t=>({builder:t[2]}),Ls=t=>({builder:t&4}),Wo=t=>({builder:t[2]});function Hs(t){let e,n,r,o;const i=t[9].default,l=Re(i,t,t[8],Vo);let u=[t[2],{type:"button"},t[5]],a={};for(let s=0;s<u.length;s+=1)a=Ee(a,u[s]);return{c(){e=B("button"),l&&l.c(),this.h()},l(s){e=V(s,"BUTTON",{type:!0});var c=Q(e);l&&l.l(c),c.forEach(S),this.h()},h(){Ge(e,a)},m(s,c){R(s,e,c),l&&l.m(e,null),e.autofocus&&e.focus(),t[10](e),n=!0,r||(o=[Ct(t[2].action(e)),De(e,"m-keydown",t[4]),De(e,"m-pointerdown",t[4])],r=!0)},p(s,c){l&&l.p&&(!n||c&260)&&Le(l,i,s,s[8],n?Fe(i,s[8],c,Rs):He(s[8]),Vo),Ge(e,a=ot(u,[c&4&&s[2],{type:"button"},c&32&&s[5]]))},i(s){n||(E(l,s),n=!0)},o(s){I(l,s),n=!1},d(s){s&&S(e),l&&l.d(s),t[10](null),r=!1,St(o)}}}function Fs(t){let e;const n=t[9].default,r=Re(n,t,t[8],Wo);return{c(){r&&r.c()},l(o){r&&r.l(o)},m(o,i){r&&r.m(o,i),e=!0},p(o,i){r&&r.p&&(!e||i&260)&&Le(r,n,o,o[8],e?Fe(n,o[8],i,Ls):He(o[8]),Wo)},i(o){e||(E(r,o),e=!0)},o(o){I(r,o),e=!1},d(o){r&&r.d(o)}}}function qs(t){let e,n,r,o;const i=[Fs,Hs],l=[];function u(a,s){return a[1]?0:1}return e=u(t),n=l[e]=i[e](t),{c(){n.c(),r=ie()},l(a){n.l(a),r=ie()},m(a,s){l[e].m(a,s),R(a,r,s),o=!0},p(a,[s]){let c=e;e=u(a),e===c?l[e].p(a,s):(ve(),I(l[c],1,1,()=>{l[c]=null}),ye(),n=l[e],n?n.p(a,s):(n=l[e]=i[e](a),n.c()),E(n,1),n.m(r.parentNode,r))},i(a){o||(E(n),o=!0)},o(a){I(n),o=!1},d(a){a&&S(r),l[e].d(a)}}}function Us(t,e,n){let r;const o=["asChild","id","el"];let i=$e(e,o),l,{$$slots:u={},$$scope:a}=e,{asChild:s=!1}=e,{id:c=void 0}=e,{el:f=void 0}=e;const{elements:{trigger:m},ids:h,getAttrs:g}=Bn();et(t,m,T=>n(7,l=T));const p=oo(),d=g("trigger");function k(T){st[T?"unshift":"push"](()=>{f=T,n(0,f)})}return t.$$set=T=>{e=Ee(Ee({},e),Ut(T)),n(5,i=$e(e,o)),"asChild"in T&&n(1,s=T.asChild),"id"in T&&n(6,c=T.id),"el"in T&&n(0,f=T.el),"$$scope"in T&&n(8,a=T.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&c&&h.trigger.set(c),t.$$.dirty&128&&n(2,r=l),t.$$.dirty&4&&Object.assign(r,d)},[f,s,r,m,p,i,c,l,a,u,k]}class Bs extends Pe{constructor(e){super(),Ce(this,e,Us,qs,Ie,{asChild:1,id:6,el:0})}}function Ko(t){let e,n;return{c(){e=B("span"),n=we(t[1]),this.h()},l(r){e=V(r,"SPAN",{class:!0});var o=Q(e);n=ke(o,t[1]),o.forEach(S),this.h()},h(){A(e,"class","cursor-pointer font-bold pr-8 flex items-center")},m(r,o){R(r,e,o),U(e,n)},p(r,o){o&2&&wt(n,r[1])},d(r){r&&S(e)}}}function Vs(t){let e,n,r,o,i,l,u,a,s,c,f=t[1]&&Ko(t);return{c(){e=B("div"),f&&f.c(),n=X(),r=B("span"),o=we(t[2]),this.h()},l(m){e=V(m,"DIV",{role:!0,class:!0});var h=Q(e);f&&f.l(h),n=Y(h),r=V(h,"SPAN",{class:!0});var g=Q(r);o=ke(g,t[2]),g.forEach(S),h.forEach(S),this.h()},h(){A(r,"class","cursor-pointer"),A(e,"role","none"),A(e,"class",i="print:hidden rounded py-1 px-3 my-4 mx-0 shadow-md text-xs font-mono flex justify-between transition-all duration-300 border "+(t[0]??"")+" svelte-8cyjz5")},m(m,h){R(m,e,h),f&&f.m(e,null),U(e,n),U(e,r),U(r,o),a=!0,s||(c=[De(e,"click",t[3]),De(e,"keypress",t[3])],s=!0)},p(m,[h]){m[1]?f?f.p(m,h):(f=Ko(m),f.c(),f.m(e,n)):f&&(f.d(1),f=null),(!a||h&4)&&wt(o,m[2]),(!a||h&1&&i!==(i="print:hidden rounded py-1 px-3 my-4 mx-0 shadow-md text-xs font-mono flex justify-between transition-all duration-300 border "+(m[0]??"")+" svelte-8cyjz5"))&&A(e,"class",i)},i(m){a||(m&&Ot(()=>{a&&(u&&u.end(1),l=Un(e,pu,{}),l.start())}),a=!0)},o(m){l&&l.invalidate(),m&&(u=Sr(e,Nn,{x:1e3,duration:1e3,delay:0,opacity:.8})),a=!1},d(m){m&&S(e),f&&f.d(),m&&u&&u.end(),s=!1,St(c)}}}function Ws(t,e,n){let{id:r}=e,{status:o="info"}=e,{title:i}=e,{message:l}=e,{dismissable:u=!0}=e;const a=du(),s=()=>{u&&a("dismiss",{id:r})};return t.$$set=c=>{"id"in c&&n(4,r=c.id),"status"in c&&n(0,o=c.status),"title"in c&&n(1,i=c.title),"message"in c&&n(2,l=c.message),"dismissable"in c&&n(5,u=c.dismissable)},[o,i,l,s,r,u]}class Ks extends Pe{constructor(e){super(),Ce(this,e,Ws,Vs,Ie,{id:4,status:0,title:1,message:2,dismissable:5})}}function zo(t,e,n){const r=t.slice();return r[2]=e[n],r}function Qo(t,e){let n,r,o;const i=[e[2]];let l={};for(let u=0;u<i.length;u+=1)l=Ee(l,i[u]);return r=new Ks({props:l}),r.$on("dismiss",e[1]),{key:t,first:null,c(){n=ie(),le(r.$$.fragment),this.h()},l(u){n=ie(),ae(r.$$.fragment,u),this.h()},h(){this.first=n},m(u,a){R(u,n,a),ue(r,u,a),o=!0},p(u,a){e=u;const s=a&1?ot(i,[no(e[2])]):{};r.$set(s)},i(u){o||(E(r.$$.fragment,u),o=!0)},o(u){I(r.$$.fragment,u),o=!1},d(u){u&&S(n),se(r,u)}}}function zs(t){let e,n=[],r=new Map,o,i=Be(t[0]);const l=u=>u[2].id;for(let u=0;u<i.length;u+=1){let a=zo(t,i,u),s=l(a);r.set(s,n[u]=Qo(s,a))}return{c(){e=B("div");for(let u=0;u<n.length;u+=1)n[u].c();this.h()},l(u){e=V(u,"DIV",{class:!0});var a=Q(e);for(let s=0;s<n.length;s+=1)n[s].l(a);a.forEach(S),this.h()},h(){A(e,"class","z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80")},m(u,a){R(u,e,a);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null);o=!0},p(u,[a]){a&1&&(i=Be(u[0]),ve(),n=Ya(n,a,l,1,u,i,r,e,$a,Qo,null,zo),ye())},i(u){if(!o){for(let a=0;a<i.length;a+=1)E(n[a]);o=!0}},o(u){for(let a=0;a<n.length;a+=1)I(n[a]);o=!1},d(u){u&&S(e);for(let a=0;a<n.length;a+=1)n[a].d()}}}function Qs(t,e,n){let r;return et(t,Ur,i=>n(0,r=i)),[r,({detail:i})=>Ur.dismiss(i.id)]}class Js extends Pe{constructor(e){super(),Ce(this,e,Qs,zs,Ie,{})}}const xs=""+new URL("../assets/wordmark-gray-800.CnzB_64T.png",import.meta.url).href;function Gs(t){let e,n;return{c(){e=B("img"),this.h()},l(r){e=V(r,"IMG",{src:!0,alt:!0,class:!0,href:!0}),this.h()},h(){Br(e.src,n=xs)||A(e,"src",n),A(e,"alt","evidence"),A(e,"class","h-5 aspect-auto"),A(e,"href","/")},m(r,o){R(r,e,o)},p:Ae,d(r){r&&S(e)}}}function Zs(t){let e;return{c(){e=we(t[1])},l(n){e=ke(n,t[1])},m(n,r){R(n,e,r)},p(n,r){r&2&&wt(e,n[1])},d(n){n&&S(e)}}}function Xs(t){let e,n;return{c(){e=B("img"),this.h()},l(r){e=V(r,"IMG",{src:!0,alt:!0,class:!0,href:!0}),this.h()},h(){Br(e.src,n=t[0])||A(e,"src",n),A(e,"alt","logo"),A(e,"class","h-5 aspect-auto"),A(e,"href","/")},m(r,o){R(r,e,o)},p(r,o){o&1&&!Br(e.src,n=r[0])&&A(e,"src",n)},d(r){r&&S(e)}}}function Ys(t){let e;function n(i,l){return i[0]?Xs:i[1]?Zs:Gs}let r=n(t),o=r(t);return{c(){o.c(),e=ie()},l(i){o.l(i),e=ie()},m(i,l){o.m(i,l),R(i,e,l)},p(i,[l]){r===(r=n(i))&&o?o.p(i,l):(o.d(1),o=r(i),o&&(o.c(),o.m(e.parentNode,e)))},i:Ae,o:Ae,d(i){i&&S(e),o.d(i)}}}function $s(t,e,n){let{logo:r}=e,{title:o}=e;return t.$$set=i=>{"logo"in i&&n(0,r=i.logo),"title"in i&&n(1,o=i.title)},[r,o]}class lo extends Pe{constructor(e){super(),Ce(this,e,$s,Ys,Ie,{logo:0,title:1})}}/*! @docsearch/js 3.6.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Jo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function _e(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Jo(Object(n),!0).forEach(function(r){ec(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Ln(t){return Ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ln(t)}function ec(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vr(){return Vr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Vr.apply(this,arguments)}function tc(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Zt(t,e){return function(n){if(Array.isArray(n))return n}(t)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,l,u=[],a=!0,s=!1;try{for(o=o.call(n);!(a=(i=o.next()).done)&&(u.push(i.value),!r||u.length!==r);a=!0);}catch(c){s=!0,l=c}finally{try{a||o.return==null||o.return()}finally{if(s)throw l}}return u}}(t,e)||Yl(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function hr(t){return function(e){if(Array.isArray(e))return Wr(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||Yl(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Yl(t,e){if(t){if(typeof t=="string")return Wr(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wr(t,e):void 0}}function Wr(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var G,_n,$l,xo,ea,pr={},ao=[],nc=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function vt(t,e){for(var n in e)t[n]=e[n];return t}function ta(t){var e=t.parentNode;e&&e.removeChild(t)}function ct(t,e,n){var r,o,i,l=arguments,u={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:u[i]=e[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(l[i]);if(n!=null&&(u.children=n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)u[i]===void 0&&(u[i]=t.defaultProps[i]);return bn(t,u,r,o,null)}function bn(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++G.__v};return G.vnode!=null&&G.vnode(i),i}function Pt(t){return t.children}function ft(t,e){this.props=t,this.context=e}function Hn(t,e){if(e==null)return t.__?Hn(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?Hn(t):null}function na(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return na(t)}}function Kr(t){(!t.__d&&(t.__d=!0)&&_n.push(t)&&!gr.__r++||xo!==G.debounceRendering)&&((xo=G.debounceRendering)||$l)(gr)}function gr(){for(var t;gr.__r=_n.length;)t=_n.sort(function(e,n){return e.__v.__b-n.__v.__b}),_n=[],t.some(function(e){var n,r,o,i,l,u;e.__d&&(l=(i=(n=e).__v).__e,(u=n.__P)&&(r=[],(o=vt({},i)).__v=i.__v+1,uo(u,i,o,n.__n,u.ownerSVGElement!==void 0,i.__h!=null?[l]:null,r,l??Hn(i),i.__h),la(r,i),i.__e!=l&&na(i)))})}function ra(t,e,n,r,o,i,l,u,a,s){var c,f,m,h,g,p,d,k=r&&r.__k||ao,T=k.length;for(n.__k=[],c=0;c<e.length;c++)if((h=n.__k[c]=(h=e[c])==null||typeof h=="boolean"?null:typeof h=="string"||typeof h=="number"?bn(null,h,null,null,h):Array.isArray(h)?bn(Pt,{children:h},null,null,null):h.__b>0?bn(h.type,h.props,h.key,null,h.__v):h)!=null){if(h.__=n,h.__b=n.__b+1,(m=k[c])===null||m&&h.key==m.key&&h.type===m.type)k[c]=void 0;else for(f=0;f<T;f++){if((m=k[f])&&h.key==m.key&&h.type===m.type){k[f]=void 0;break}m=null}uo(t,h,m=m||pr,o,i,l,u,a,s),g=h.__e,(f=h.ref)&&m.ref!=f&&(d||(d=[]),m.ref&&d.push(m.ref,null,h),d.push(f,h.__c||g,h)),g!=null?(p==null&&(p=g),typeof h.type=="function"&&h.__k!=null&&h.__k===m.__k?h.__d=a=oa(h,a,t):a=ia(t,h,m,k,g,a),s||n.type!=="option"?typeof n.type=="function"&&(n.__d=a):t.value=""):a&&m.__e==a&&a.parentNode!=t&&(a=Hn(m))}for(n.__e=p,c=T;c--;)k[c]!=null&&(typeof n.type=="function"&&k[c].__e!=null&&k[c].__e==n.__d&&(n.__d=Hn(r,c+1)),ua(k[c],k[c]));if(d)for(c=0;c<d.length;c++)aa(d[c],d[++c],d[++c])}function oa(t,e,n){var r,o;for(r=0;r<t.__k.length;r++)(o=t.__k[r])&&(o.__=t,e=typeof o.type=="function"?oa(o,e,n):ia(n,o,o,t.__k,o.__e,e));return e}function yt(t,e){return e=e||[],t==null||typeof t=="boolean"||(Array.isArray(t)?t.some(function(n){yt(n,e)}):e.push(t)),e}function ia(t,e,n,r,o,i){var l,u,a;if(e.__d!==void 0)l=e.__d,e.__d=void 0;else if(n==null||o!=i||o.parentNode==null)e:if(i==null||i.parentNode!==t)t.appendChild(o),l=null;else{for(u=i,a=0;(u=u.nextSibling)&&a<r.length;a+=2)if(u==o)break e;t.insertBefore(o,i),l=i}return l!==void 0?l:o.nextSibling}function Go(t,e,n){e[0]==="-"?t.setProperty(e,n):t[e]=n==null?"":typeof n!="number"||nc.test(e)?n:n+"px"}function Gn(t,e,n,r,o){var i;e:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Go(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Go(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r||t.addEventListener(e,i?Xo:Zo,i):t.removeEventListener(e,i?Xo:Zo,i);else if(e!=="dangerouslySetInnerHTML"){if(o)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(e!=="href"&&e!=="list"&&e!=="form"&&e!=="download"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n!=null&&(n!==!1||e[0]==="a"&&e[1]==="r")?t.setAttribute(e,n):t.removeAttribute(e))}}function Zo(t){this.l[t.type+!1](G.event?G.event(t):t)}function Xo(t){this.l[t.type+!0](G.event?G.event(t):t)}function uo(t,e,n,r,o,i,l,u,a){var s,c,f,m,h,g,p,d,k,T,P,C=e.type;if(e.constructor!==void 0)return null;n.__h!=null&&(a=n.__h,u=e.__e=n.__e,e.__h=null,i=[u]),(s=G.__b)&&s(e);try{e:if(typeof C=="function"){if(d=e.props,k=(s=C.contextType)&&r[s.__c],T=s?k?k.props.value:s.__:r,n.__c?p=(c=e.__c=n.__c).__=c.__E:("prototype"in C&&C.prototype.render?e.__c=c=new C(d,T):(e.__c=c=new ft(d,T),c.constructor=C,c.render=oc),k&&k.sub(c),c.props=d,c.state||(c.state={}),c.context=T,c.__n=r,f=c.__d=!0,c.__h=[]),c.__s==null&&(c.__s=c.state),C.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=vt({},c.__s)),vt(c.__s,C.getDerivedStateFromProps(d,c.__s))),m=c.props,h=c.state,f)C.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(C.getDerivedStateFromProps==null&&d!==m&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(d,T),!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(d,c.__s,T)===!1||e.__v===n.__v){c.props=d,c.state=c.__s,e.__v!==n.__v&&(c.__d=!1),c.__v=e,e.__e=n.__e,e.__k=n.__k,c.__h.length&&l.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(d,c.__s,T),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(m,h,g)})}c.context=T,c.props=d,c.state=c.__s,(s=G.__r)&&s(e),c.__d=!1,c.__v=e,c.__P=t,s=c.render(c.props,c.state,c.context),c.state=c.__s,c.getChildContext!=null&&(r=vt(vt({},r),c.getChildContext())),f||c.getSnapshotBeforeUpdate==null||(g=c.getSnapshotBeforeUpdate(m,h)),P=s!=null&&s.type===Pt&&s.key==null?s.props.children:s,ra(t,Array.isArray(P)?P:[P],e,n,r,o,i,l,u,a),c.base=e.__e,e.__h=null,c.__h.length&&l.push(c),p&&(c.__E=c.__=null),c.__e=!1}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=rc(n.__e,e,n,r,o,i,l,a);(s=G.diffed)&&s(e)}catch(_){e.__v=null,(a||i!=null)&&(e.__e=u,e.__h=!!a,i[i.indexOf(u)]=null),G.__e(_,e,n)}}function la(t,e){G.__c&&G.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(r){r.call(n)})}catch(r){G.__e(r,n.__v)}})}function rc(t,e,n,r,o,i,l,u){var a,s,c,f,m=n.props,h=e.props,g=e.type,p=0;if(g==="svg"&&(o=!0),i!=null){for(;p<i.length;p++)if((a=i[p])&&(a===t||(g?a.localName==g:a.nodeType==3))){t=a,i[p]=null;break}}if(t==null){if(g===null)return document.createTextNode(h);t=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,h.is&&h),i=null,u=!1}if(g===null)m===h||u&&t.data===h||(t.data=h);else{if(i=i&&ao.slice.call(t.childNodes),s=(m=n.props||pr).dangerouslySetInnerHTML,c=h.dangerouslySetInnerHTML,!u){if(i!=null)for(m={},f=0;f<t.attributes.length;f++)m[t.attributes[f].name]=t.attributes[f].value;(c||s)&&(c&&(s&&c.__html==s.__html||c.__html===t.innerHTML)||(t.innerHTML=c&&c.__html||""))}if(function(d,k,T,P,C){var _;for(_ in T)_==="children"||_==="key"||_ in k||Gn(d,_,null,T[_],P);for(_ in k)C&&typeof k[_]!="function"||_==="children"||_==="key"||_==="value"||_==="checked"||T[_]===k[_]||Gn(d,_,k[_],T[_],P)}(t,h,m,o,u),c)e.__k=[];else if(p=e.props.children,ra(t,Array.isArray(p)?p:[p],e,n,r,o&&g!=="foreignObject",i,l,t.firstChild,u),i!=null)for(p=i.length;p--;)i[p]!=null&&ta(i[p]);u||("value"in h&&(p=h.value)!==void 0&&(p!==t.value||g==="progress"&&!p)&&Gn(t,"value",p,m.value,!1),"checked"in h&&(p=h.checked)!==void 0&&p!==t.checked&&Gn(t,"checked",p,m.checked,!1))}return t}function aa(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){G.__e(r,n)}}function ua(t,e,n){var r,o,i;if(G.unmount&&G.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||aa(r,null,e)),n||typeof t.type=="function"||(n=(o=t.__e)!=null),t.__e=t.__d=void 0,(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(l){G.__e(l,e)}r.base=r.__P=null}if(r=t.__k)for(i=0;i<r.length;i++)r[i]&&ua(r[i],e,n);o!=null&&ta(o)}function oc(t,e,n){return this.constructor(t,n)}function Fn(t,e,n){var r,o,i;G.__&&G.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],uo(e,t=(!r&&n||e).__k=ct(Pt,null,[t]),o||pr,pr,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?ao.slice.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r),la(i,t)}function sa(t,e){Fn(t,e,sa)}function ic(t,e,n){var r,o,i,l=arguments,u=vt({},t.props);for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:u[i]=e[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(l[i]);return n!=null&&(u.children=n),bn(t.type,u,r||t.key,o||t.ref,null)}G={__e:function(t,e){for(var n,r,o;e=e.__;)if((n=e.__c)&&!n.__)try{if((r=n.constructor)&&r.getDerivedStateFromError!=null&&(n.setState(r.getDerivedStateFromError(t)),o=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(t),o=n.__d),o)return n.__E=n}catch(i){t=i}throw t},__v:0},ft.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=vt({},this.state),typeof t=="function"&&(t=t(vt({},n),this.props)),t&&vt(n,t),t!=null&&this.__v&&(e&&this.__h.push(e),Kr(this))},ft.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Kr(this))},ft.prototype.render=Pt,_n=[],$l=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,gr.__r=0,ea=0;var rn,Ze,Yo,$t=0,zr=[],$o=G.__b,ei=G.__r,ti=G.diffed,ni=G.__c,ri=G.unmount;function Vn(t,e){G.__h&&G.__h(Ze,t,$t||e),$t=0;var n=Ze.__H||(Ze.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function so(t){return $t=1,ca(fa,t)}function ca(t,e,n){var r=Vn(rn++,2);return r.t=t,r.__c||(r.__=[n?n(e):fa(void 0,e),function(o){var i=r.t(r.__[0],o);r.__[0]!==i&&(r.__=[i,r.__[1]],r.__c.setState({}))}],r.__c=Ze),r.__}function co(t,e){var n=Vn(rn++,3);!G.__s&&fo(n.__H,e)&&(n.__=t,n.__H=e,Ze.__H.__h.push(n))}function oi(t,e){var n=Vn(rn++,4);!G.__s&&fo(n.__H,e)&&(n.__=t,n.__H=e,Ze.__h.push(n))}function Dr(t,e){var n=Vn(rn++,7);return fo(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function lc(){zr.forEach(function(t){if(t.__P)try{t.__H.__h.forEach(ar),t.__H.__h.forEach(Qr),t.__H.__h=[]}catch(e){t.__H.__h=[],G.__e(e,t.__v)}}),zr=[]}G.__b=function(t){Ze=null,$o&&$o(t)},G.__r=function(t){ei&&ei(t),rn=0;var e=(Ze=t.__c).__H;e&&(e.__h.forEach(ar),e.__h.forEach(Qr),e.__h=[])},G.diffed=function(t){ti&&ti(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&(zr.push(e)!==1&&Yo===G.requestAnimationFrame||((Yo=G.requestAnimationFrame)||function(n){var r,o=function(){clearTimeout(i),ii&&cancelAnimationFrame(r),setTimeout(n)},i=setTimeout(o,100);ii&&(r=requestAnimationFrame(o))})(lc)),Ze=void 0},G.__c=function(t,e){e.some(function(n){try{n.__h.forEach(ar),n.__h=n.__h.filter(function(r){return!r.__||Qr(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],G.__e(r,n.__v)}}),ni&&ni(t,e)},G.unmount=function(t){ri&&ri(t);var e=t.__c;if(e&&e.__H)try{e.__H.__.forEach(ar)}catch(n){G.__e(n,e.__v)}};var ii=typeof requestAnimationFrame=="function";function ar(t){var e=Ze;typeof t.__c=="function"&&t.__c(),Ze=e}function Qr(t){var e=Ze;t.__c=t.__(),Ze=e}function fo(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function fa(t,e){return typeof e=="function"?e(t):e}function da(t,e){for(var n in e)t[n]=e[n];return t}function Jr(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function xr(t){this.props=t}(xr.prototype=new ft).isPureReactComponent=!0,xr.prototype.shouldComponentUpdate=function(t,e){return Jr(this.props,t)||Jr(this.state,e)};var li=G.__b;G.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),li&&li(t)};var ac=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,ai=function(t,e){return t==null?null:yt(yt(t).map(e))},uc={map:ai,forEach:ai,count:function(t){return t?yt(t).length:0},only:function(t){var e=yt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:yt},sc=G.__e;function ur(){this.__u=0,this.t=null,this.__b=null}function ma(t){var e=t.__.__c;return e&&e.__e&&e.__e(t)}function hn(){this.u=null,this.o=null}G.__e=function(t,e,n){if(t.then){for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),r.__c(t,e)}sc(t,e,n)},(ur.prototype=new ft).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=ma(r.__v),i=!1,l=function(){i||(i=!0,n.componentWillUnmount=n.__c,o?o(u):u())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){l(),n.__c&&n.__c()};var u=function(){if(!--r.__u){if(r.state.__e){var s=r.state.__e;r.__v.__k[0]=function f(m,h,g){return m&&(m.__v=null,m.__k=m.__k&&m.__k.map(function(p){return f(p,h,g)}),m.__c&&m.__c.__P===h&&(m.__e&&g.insertBefore(m.__e,m.__d),m.__c.__e=!0,m.__c.__P=g)),m}(s,s.__c.__P,s.__c.__O)}var c;for(r.setState({__e:r.__b=null});c=r.t.pop();)c.forceUpdate()}},a=e.__h===!0;r.__u++||a||r.setState({__e:r.__b=r.__v.__k[0]}),t.then(l,l)},ur.prototype.componentWillUnmount=function(){this.t=[]},ur.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function i(l,u,a){return l&&(l.__c&&l.__c.__H&&(l.__c.__H.__.forEach(function(s){typeof s.__c=="function"&&s.__c()}),l.__c.__H=null),(l=da({},l)).__c!=null&&(l.__c.__P===a&&(l.__c.__P=u),l.__c=null),l.__k=l.__k&&l.__k.map(function(s){return i(s,u,a)})),l}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__e&&ct(Pt,null,t.fallback);return o&&(o.__h=null),[ct(Pt,null,e.__e?null:t.children),o]};var ui=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function cc(t){return this.getChildContext=function(){return t.context},t.children}function fc(t){var e=this,n=t.i;e.componentWillUnmount=function(){Fn(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),t.__v?(e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Fn(ct(cc,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function ha(t,e){return ct(fc,{__v:t,i:e})}(hn.prototype=new ft).__e=function(t){var e=this,n=ma(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),ui(e,t,r)):o()};n?n(i):i()}},hn.prototype.render=function(t){this.u=null,this.o=new Map;var e=yt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},hn.prototype.componentDidUpdate=hn.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){ui(t,n,e)})};var pa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,dc=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,mc=function(t){return(typeof Symbol<"u"&&Ln(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(t)};function ga(t,e,n){return e.__k==null&&(e.textContent=""),Fn(t,e),typeof n=="function"&&n(),t?t.__c:null}ft.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(ft.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var si=G.event;function hc(){}function pc(){return this.cancelBubble}function gc(){return this.defaultPrevented}G.event=function(t){return si&&(t=si(t)),t.persist=hc,t.isPropagationStopped=pc,t.isDefaultPrevented=gc,t.nativeEvent=t};var _a,ci={configurable:!0,get:function(){return this.class}},fi=G.vnode;G.vnode=function(t){var e=t.type,n=t.props,r=n;if(typeof e=="string"){for(var o in r={},n){var i=n[o];o==="value"&&"defaultValue"in n&&i==null||(o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&i===!0?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+e)&&!mc(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():dc.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():i===null&&(i=void 0),r[o]=i)}e=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=yt(n.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),e=="select"&&r.defaultValue!=null&&(r.value=yt(n.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),t.props=r}e&&n.class!=n.className&&(ci.enumerable="className"in n,n.className!=null&&(r.class=n.className),Object.defineProperty(r,"className",ci)),t.$$typeof=pa,fi&&fi(t)};var di=G.__r;G.__r=function(t){di&&di(t),_a=t.__c};var _c={ReactCurrentDispatcher:{current:{readContext:function(t){return _a.__n[t.__c].props.value}}}};(typeof performance>"u"?"undefined":Ln(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function mi(t){return!!t&&t.$$typeof===pa}var v={useState:so,useReducer:ca,useEffect:co,useLayoutEffect:oi,useRef:function(t){return $t=5,Dr(function(){return{current:t}},[])},useImperativeHandle:function(t,e,n){$t=6,oi(function(){typeof t=="function"?t(e()):t&&(t.current=e())},n==null?n:n.concat(t))},useMemo:Dr,useCallback:function(t,e){return $t=8,Dr(function(){return t},e)},useContext:function(t){var e=Ze.context[t.__c],n=Vn(rn++,9);return n.__c=t,e?(n.__==null&&(n.__=!0,e.sub(Ze)),e.props.value):t.__},useDebugValue:function(t,e){G.useDebugValue&&G.useDebugValue(e?e(t):t)},version:"16.8.0",Children:uc,render:ga,hydrate:function(t,e,n){return sa(t,e),typeof n=="function"&&n(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&(Fn(null,t),!0)},createPortal:ha,createElement:ct,createContext:function(t,e){var n={__c:e="__cC"+ea++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(l){this.props.value!==l.value&&o.some(Kr)},this.sub=function(l){o.push(l);var u=l.componentWillUnmount;l.componentWillUnmount=function(){o.splice(o.indexOf(l),1),u&&u.call(l)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(t){return ct.bind(null,t)},cloneElement:function(t){return mi(t)?ic.apply(null,arguments):t},createRef:function(){return{current:null}},Fragment:Pt,isValidElement:mi,findDOMNode:function(t){return t&&(t.base||t.nodeType===1&&t)||null},Component:ft,PureComponent:xr,memo:function(t,e){function n(o){var i=this.props.ref,l=i==o.ref;return!l&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!l:Jr(this.props,o)}function r(o){return this.shouldComponentUpdate=n,ct(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(t){function e(n,r){var o=da({},n);return delete o.ref,t(o,(r=n.ref||r)&&(Ln(r)!="object"||"current"in r)?r:null)}return e.$$typeof=ac,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e},unstable_batchedUpdates:function(t,e){return t(e)},StrictMode:Pt,Suspense:ur,SuspenseList:hn,lazy:function(t){var e,n,r;function o(i){if(e||(e=t()).then(function(l){n=l.default||l},function(l){r=l}),r)throw r;if(!n)throw e;return ct(n,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_c};function bc(){return v.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},v.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function ba(){return v.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},v.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var vc=["translations"];function Gr(){return Gr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Gr.apply(this,arguments)}function va(t,e){return function(n){if(Array.isArray(n))return n}(t)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,l,u=[],a=!0,s=!1;try{for(o=o.call(n);!(a=(i=o.next()).done)&&(u.push(i.value),!r||u.length!==r);a=!0);}catch(c){s=!0,l=c}finally{try{a||o.return==null||o.return()}finally{if(s)throw l}}return u}}(t,e)||function(n,r){if(n){if(typeof n=="string")return hi(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return hi(n,r)}}(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function hi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function yc(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var Oc=v.forwardRef(function(t,e){var n=t.translations,r=n===void 0?{}:n,o=yc(t,vc),i=r.buttonText,l=i===void 0?"Search":i,u=r.buttonAriaLabel,a=u===void 0?"Search":u,s=va(so(null),2),c=s[0],f=s[1];return co(function(){typeof navigator<"u"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?f("⌘"):f("Ctrl"))},[]),v.createElement("button",Gr({type:"button",className:"DocSearch DocSearch-Button","aria-label":a},o,{ref:e}),v.createElement("span",{className:"DocSearch-Button-Container"},v.createElement(ba,null),v.createElement("span",{className:"DocSearch-Button-Placeholder"},l)),v.createElement("span",{className:"DocSearch-Button-Keys"},c!==null&&v.createElement(v.Fragment,null,v.createElement(pi,{reactsToKey:c==="Ctrl"?"Ctrl":"Meta"},c==="Ctrl"?v.createElement(bc,null):c),v.createElement(pi,{reactsToKey:"k"},"K"))))});function pi(t){var e=t.reactsToKey,n=t.children,r=va(so(!1),2),o=r[0],i=r[1];return co(function(){if(e)return window.addEventListener("keydown",l),window.addEventListener("keyup",u),function(){window.removeEventListener("keydown",l),window.removeEventListener("keyup",u)};function l(a){a.key===e&&i(!0)}function u(a){a.key!==e&&a.key!=="Meta"||i(!1)}},[e]),v.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}function ya(t,e){var n=void 0;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n&&clearTimeout(n),n=setTimeout(function(){return t.apply(void 0,o)},e)}}function qn(t){return t.reduce(function(e,n){return e.concat(n)},[])}var Sc=0;function Zr(t){return t.collections.length===0?0:t.collections.reduce(function(e,n){return e+n.items.length},0)}function gi(t){return t!==Object(t)}function Oa(t,e){if(t===e)return!0;if(gi(t)||gi(e)||typeof t=="function"||typeof e=="function")return t===e;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];if(!(o in e)||!Oa(t[o],e[o]))return!1}return!0}var _r=function(){},wc=[{segment:"autocomplete-core",version:"1.9.3"}];function _i(t){var e=t.item,n=t.items;return{index:e.__autocomplete_indexName,items:[e],positions:[1+n.findIndex(function(r){return r.objectID===e.objectID})],queryID:e.__autocomplete_queryID,algoliaSource:["autocomplete"]}}function kc(t,e){return function(n){if(Array.isArray(n))return n}(t)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,l,u,a,s=[],c=!0,f=!1;try{if(u=(o=o.call(n)).next,r!==0)for(;!(c=(i=u.call(o)).done)&&(s.push(i.value),s.length!==r);c=!0);}catch(m){f=!0,l=m}finally{try{if(!c&&o.return!=null&&(a=o.return(),Object(a)!==a))return}finally{if(f)throw l}}return s}}(t,e)||function(n,r){if(n){if(typeof n=="string")return bi(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return bi(n,r)}}(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function bi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Ec=["items"],jc=["items"];function vn(t){return vn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vn(t)}function Zn(t){return function(e){if(Array.isArray(e))return Ar(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,n){if(e){if(typeof e=="string")return Ar(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ar(e,n)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ar(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Sa(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function vi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function tn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?vi(Object(n),!0).forEach(function(r){Ic(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Ic(t,e,n){return(e=function(r){var o=function(i,l){if(vn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(vn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return vn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pc(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:20,n=[],r=0;r<t.objectIDs.length;r+=e)n.push(tn(tn({},t),{},{objectIDs:t.objectIDs.slice(r,r+e)}));return n}function Xn(t){return t.map(function(e){var n=e.items,r=Sa(e,Ec);return tn(tn({},r),{},{objectIDs:(n==null?void 0:n.map(function(o){return o.objectID}))||r.objectIDs})})}function Cc(t){var e,n,r,o=(e=kc((t.version||"").split(".").map(Number),2),n=e[0],r=e[1],n>=3||n===2&&r>=4||n===1&&r>=10);function i(l,u,a){if(o&&a!==void 0){var s=a[0].__autocomplete_algoliaCredentials,c={"X-Algolia-Application-Id":s.appId,"X-Algolia-API-Key":s.apiKey};t.apply(void 0,[l].concat(Zn(u),[{headers:c}]))}else t.apply(void 0,[l].concat(Zn(u)))}return{init:function(l,u){t("init",{appId:l,apiKey:u})},setUserToken:function(l){t("setUserToken",l)},clickedObjectIDsAfterSearch:function(){for(var l=arguments.length,u=new Array(l),a=0;a<l;a++)u[a]=arguments[a];u.length>0&&i("clickedObjectIDsAfterSearch",Xn(u),u[0].items)},clickedObjectIDs:function(){for(var l=arguments.length,u=new Array(l),a=0;a<l;a++)u[a]=arguments[a];u.length>0&&i("clickedObjectIDs",Xn(u),u[0].items)},clickedFilters:function(){for(var l=arguments.length,u=new Array(l),a=0;a<l;a++)u[a]=arguments[a];u.length>0&&t.apply(void 0,["clickedFilters"].concat(u))},convertedObjectIDsAfterSearch:function(){for(var l=arguments.length,u=new Array(l),a=0;a<l;a++)u[a]=arguments[a];u.length>0&&i("convertedObjectIDsAfterSearch",Xn(u),u[0].items)},convertedObjectIDs:function(){for(var l=arguments.length,u=new Array(l),a=0;a<l;a++)u[a]=arguments[a];u.length>0&&i("convertedObjectIDs",Xn(u),u[0].items)},convertedFilters:function(){for(var l=arguments.length,u=new Array(l),a=0;a<l;a++)u[a]=arguments[a];u.length>0&&t.apply(void 0,["convertedFilters"].concat(u))},viewedObjectIDs:function(){for(var l=arguments.length,u=new Array(l),a=0;a<l;a++)u[a]=arguments[a];u.length>0&&u.reduce(function(s,c){var f=c.items,m=Sa(c,jc);return[].concat(Zn(s),Zn(Pc(tn(tn({},m),{},{objectIDs:(f==null?void 0:f.map(function(h){return h.objectID}))||m.objectIDs})).map(function(h){return{items:f,payload:h}})))},[]).forEach(function(s){var c=s.items;return i("viewedObjectIDs",[s.payload],c)})},viewedFilters:function(){for(var l=arguments.length,u=new Array(l),a=0;a<l;a++)u[a]=arguments[a];u.length>0&&t.apply(void 0,["viewedFilters"].concat(u))}}}function Dc(t){var e=t.items.reduce(function(n,r){var o;return n[r.__autocomplete_indexName]=((o=n[r.__autocomplete_indexName])!==null&&o!==void 0?o:[]).concat(r),n},{});return Object.keys(e).map(function(n){return{index:n,items:e[n],algoliaSource:["autocomplete"]}})}function Tr(t){return t.objectID&&t.__autocomplete_indexName&&t.__autocomplete_queryID}function yn(t){return yn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yn(t)}function zt(t){return function(e){if(Array.isArray(e))return Mr(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,n){if(e){if(typeof e=="string")return Mr(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Mr(e,n)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Mr(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function yi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Et(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?yi(Object(n),!0).forEach(function(r){Ac(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Ac(t,e,n){return(e=function(r){var o=function(i,l){if(yn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(yn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return yn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tc="https://cdn.jsdelivr.net/npm/search-insights@".concat("2.6.0","/dist/search-insights.min.js"),Mc=ya(function(t){var e=t.onItemsChange,n=t.items,r=t.insights,o=t.state;e({insights:r,insightsEvents:Dc({items:n}).map(function(i){return Et({eventName:"Items Viewed"},i)}),state:o})},400);function Nc(t){var e=function(c){return Et({onItemsChange:function(f){var m=f.insights,h=f.insightsEvents;m.viewedObjectIDs.apply(m,zt(h.map(function(g){return Et(Et({},g),{},{algoliaSource:[].concat(zt(g.algoliaSource||[]),["autocomplete-internal"])})})))},onSelect:function(f){var m=f.insights,h=f.insightsEvents;m.clickedObjectIDsAfterSearch.apply(m,zt(h.map(function(g){return Et(Et({},g),{},{algoliaSource:[].concat(zt(g.algoliaSource||[]),["autocomplete-internal"])})})))},onActive:_r},c)}(t),n=e.insightsClient,r=e.onItemsChange,o=e.onSelect,i=e.onActive,l=n;n||function(c){typeof window<"u"&&c({window})}(function(c){var f=c.window,m=f.AlgoliaAnalyticsObject||"aa";typeof m=="string"&&(l=f[m]),l||(f.AlgoliaAnalyticsObject=m,f[m]||(f[m]=function(){f[m].queue||(f[m].queue=[]);for(var h=arguments.length,g=new Array(h),p=0;p<h;p++)g[p]=arguments[p];f[m].queue.push(g)}),f[m].version="2.6.0",l=f[m],function(h){var g="[Autocomplete]: Could not load search-insights.js. Please load it manually following https://alg.li/insights-autocomplete";try{var p=h.document.createElement("script");p.async=!0,p.src=Tc,p.onerror=function(){console.error(g)},document.body.appendChild(p)}catch{console.error(g)}}(f))});var u=Cc(l),a={current:[]},s=ya(function(c){var f=c.state;if(f.isOpen){var m=f.collections.reduce(function(h,g){return[].concat(zt(h),zt(g.items))},[]).filter(Tr);Oa(a.current.map(function(h){return h.objectID}),m.map(function(h){return h.objectID}))||(a.current=m,m.length>0&&Mc({onItemsChange:r,items:m,insights:u,state:f}))}},0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(c){var f=c.setContext,m=c.onSelect,h=c.onActive;l("addAlgoliaAgent","insights-plugin"),f({algoliaInsightsPlugin:{__algoliaSearchParameters:{clickAnalytics:!0},insights:u}}),m(function(g){var p=g.item,d=g.state,k=g.event;Tr(p)&&o({state:d,event:k,insights:u,item:p,insightsEvents:[Et({eventName:"Item Selected"},_i({item:p,items:a.current}))]})}),h(function(g){var p=g.item,d=g.state,k=g.event;Tr(p)&&i({state:d,event:k,insights:u,item:p,insightsEvents:[Et({eventName:"Item Active"},_i({item:p,items:a.current}))]})})},onStateChange:function(c){var f=c.state;s({state:f})},__autocomplete_pluginOptions:t}}function sr(t,e){var n=e;return{then:function(r,o){return sr(t.then(Yn(r,n,t),Yn(o,n,t)),n)},catch:function(r){return sr(t.catch(Yn(r,n,t)),n)},finally:function(r){return r&&n.onCancelList.push(r),sr(t.finally(Yn(r&&function(){return n.onCancelList=[],r()},n,t)),n)},cancel:function(){n.isCanceled=!0;var r=n.onCancelList;n.onCancelList=[],r.forEach(function(o){o()})},isCanceled:function(){return n.isCanceled===!0}}}function Oi(t){return sr(t,{isCanceled:!1,onCancelList:[]})}function Yn(t,e,n){return t?function(r){return e.isCanceled?r:t(r)}:n}function Si(t,e,n,r){if(!n)return null;if(t<0&&(e===null||r!==null&&e===0))return n+t;var o=(e===null?-1:e)+t;return o<=-1||o>=n?r===null?null:0:o}function wi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function ki(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?wi(Object(n),!0).forEach(function(r){Rc(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Rc(t,e,n){return(e=function(r){var o=function(i,l){if(On(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(On(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return On(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){return On=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},On(t)}function Xt(t){var e=function(o){var i=o.collections.map(function(l){return l.items.length}).reduce(function(l,u,a){var s=(l[a-1]||0)+u;return l.push(s),l},[]).reduce(function(l,u){return u<=o.activeItemId?l+1:l},0);return o.collections[i]}(t);if(!e)return null;var n=e.items[function(o){for(var i=o.state,l=o.collection,u=!1,a=0,s=0;u===!1;){var c=i.collections[a];if(c===l){u=!0;break}s+=c.items.length,a++}return i.activeItemId-s}({state:t,collection:e})],r=e.source;return{item:n,itemInputValue:r.getItemInputValue({item:n,state:t}),itemUrl:r.getItemUrl({item:n,state:t}),source:r}}var Lc=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function Sn(t){return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sn(t)}function Ei(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Hc(t,e,n){return(e=function(r){var o=function(i,l){if(Sn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(Sn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return Sn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fc(t,e,n){var r,o=e.initialState;return{getState:function(){return o},dispatch:function(i,l){var u=function(a){for(var s=1;s<arguments.length;s++){var c=arguments[s]!=null?arguments[s]:{};s%2?Ei(Object(c),!0).forEach(function(f){Hc(a,f,c[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):Ei(Object(c)).forEach(function(f){Object.defineProperty(a,f,Object.getOwnPropertyDescriptor(c,f))})}return a}({},o);o=t(o,{type:i,props:e,payload:l}),n({state:o,prevState:u})},pendingRequests:(r=[],{add:function(i){return r.push(i),i.finally(function(){r=r.filter(function(l){return l!==i})})},cancelAll:function(){r.forEach(function(i){return i.cancel()})},isEmpty:function(){return r.length===0}})}}function wn(t){return wn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wn(t)}function ji(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function $n(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ji(Object(n),!0).forEach(function(r){qc(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ji(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function qc(t,e,n){return(e=function(r){var o=function(i,l){if(wn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(wn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return wn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kn(t){return kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kn(t)}function Uc(t){return function(e){if(Array.isArray(e))return Nr(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,n){if(e){if(typeof e=="string")return Nr(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nr(e,n)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Nr(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ii(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Qt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ii(Object(n),!0).forEach(function(r){Bc(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Bc(t,e,n){return(e=function(r){var o=function(i,l){if(kn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(kn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return kn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vc(t,e){var n,r=typeof window<"u"?window:{},o=t.plugins||[];return Qt(Qt({debug:!1,openOnFocus:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,insights:!1,environment:r,shouldPanelOpen:function(i){return Zr(i.state)>0},reshape:function(i){return i.sources}},t),{},{id:(n=t.id)!==null&&n!==void 0?n:"autocomplete-".concat(Sc++),plugins:o,initialState:Qt({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},t.initialState),onStateChange:function(i){var l;(l=t.onStateChange)===null||l===void 0||l.call(t,i),o.forEach(function(u){var a;return(a=u.onStateChange)===null||a===void 0?void 0:a.call(u,i)})},onSubmit:function(i){var l;(l=t.onSubmit)===null||l===void 0||l.call(t,i),o.forEach(function(u){var a;return(a=u.onSubmit)===null||a===void 0?void 0:a.call(u,i)})},onReset:function(i){var l;(l=t.onReset)===null||l===void 0||l.call(t,i),o.forEach(function(u){var a;return(a=u.onReset)===null||a===void 0?void 0:a.call(u,i)})},getSources:function(i){return Promise.all([].concat(Uc(o.map(function(l){return l.getSources})),[t.getSources]).filter(Boolean).map(function(l){return function(u,a){var s=[];return Promise.resolve(u(a)).then(function(c){return Promise.all(c.filter(function(f){return!!f}).map(function(f){if(f.sourceId,s.includes(f.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(f.sourceId)," is not unique."));s.push(f.sourceId);var m={getItemInputValue:function(g){return g.state.query},getItemUrl:function(){},onSelect:function(g){(0,g.setIsOpen)(!1)},onActive:_r,onResolve:_r};Object.keys(m).forEach(function(g){m[g].__default=!0});var h=ki(ki({},m),f);return Promise.resolve(h)}))})}(l,i)})).then(function(l){return qn(l)}).then(function(l){return l.map(function(u){return Qt(Qt({},u),{},{onSelect:function(a){u.onSelect(a),e.forEach(function(s){var c;return(c=s.onSelect)===null||c===void 0?void 0:c.call(s,a)})},onActive:function(a){u.onActive(a),e.forEach(function(s){var c;return(c=s.onActive)===null||c===void 0?void 0:c.call(s,a)})},onResolve:function(a){u.onResolve(a),e.forEach(function(s){var c;return(c=s.onResolve)===null||c===void 0?void 0:c.call(s,a)})}})})})},navigator:Qt({navigate:function(i){var l=i.itemUrl;r.location.assign(l)},navigateNewTab:function(i){var l=i.itemUrl,u=r.open(l,"_blank","noopener");u==null||u.focus()},navigateNewWindow:function(i){var l=i.itemUrl;r.open(l,"_blank","noopener")}},t.navigator)})}function En(t){return En=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},En(t)}function Pi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function er(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Pi(Object(n),!0).forEach(function(r){wa(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function wa(t,e,n){return(e=function(r){var o=function(i,l){if(En(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(En(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return En(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jn(t){return jn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jn(t)}function Ci(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Jt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ci(Object(n),!0).forEach(function(r){Wc(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ci(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Wc(t,e,n){return(e=function(r){var o=function(i,l){if(jn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(jn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return jn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ka(t){return function(e){if(Array.isArray(e))return Rr(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,n){if(e){if(typeof e=="string")return Rr(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rr(e,n)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Rr(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function tr(t){return!!t.execute}function Kc(t,e,n){if(o=t,!!(o!=null&&o.execute)){var r=t.requesterId==="algolia"?Object.assign.apply(Object,[{}].concat(ka(Object.keys(n.context).map(function(i){var l;return(l=n.context[i])===null||l===void 0?void 0:l.__algoliaSearchParameters})))):{};return Jt(Jt({},t),{},{requests:t.queries.map(function(i){return{query:t.requesterId==="algolia"?Jt(Jt({},i),{},{params:Jt(Jt({},r),i.params)}):i,sourceId:e,transformResponse:t.transformResponse}})})}var o;return{items:t,sourceId:e}}function zc(t){var e=t.reduce(function(n,r){if(!tr(r))return n.push(r),n;var o=r.searchClient,i=r.execute,l=r.requesterId,u=r.requests,a=n.find(function(f){return tr(r)&&tr(f)&&f.searchClient===o&&!!l&&f.requesterId===l});if(a){var s;(s=a.items).push.apply(s,ka(u))}else{var c={execute:i,requesterId:l,items:u,searchClient:o};n.push(c)}return n},[]).map(function(n){if(!tr(n))return Promise.resolve(n);var r=n,o=r.execute,i=r.items;return o({searchClient:r.searchClient,requests:i})});return Promise.all(e).then(function(n){return qn(n)})}function Qc(t,e,n){return e.map(function(r){var o,i=t.filter(function(s){return s.sourceId===r.sourceId}),l=i.map(function(s){return s.items}),u=i[0].transformResponse,a=u?u({results:o=l,hits:o.map(function(s){return s.hits}).filter(Boolean),facetHits:o.map(function(s){var c;return(c=s.facetHits)===null||c===void 0?void 0:c.map(function(f){return{label:f.value,count:f.count,_highlightResult:{label:{value:f.highlighted}}}})}).filter(Boolean)}):l;return r.onResolve({source:r,results:l,items:a,state:n.getState()}),a.every(Boolean),'The `getItems` function from source "'.concat(r.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),`.
Did you forget to return items?
See: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems`),{source:r,items:a}})}function In(t){return In=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},In(t)}var Jc=["event","nextState","props","query","refresh","store"];function Di(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function fn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Di(Object(n),!0).forEach(function(r){xc(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Di(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function xc(t,e,n){return(e=function(r){var o=function(i,l){if(In(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(In(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return In(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gc(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var Ai,Lr,nr,dn=null,Ti=(Ai=-1,Lr=-1,nr=void 0,function(t){var e=++Ai;return Promise.resolve(t).then(function(n){return nr&&e<Lr?nr:(Lr=e,nr=n,n)})});function Gt(t){var e=t.event,n=t.nextState,r=n===void 0?{}:n,o=t.props,i=t.query,l=t.refresh,u=t.store,a=Gc(t,Jc);dn&&o.environment.clearTimeout(dn);var s=a.setCollections,c=a.setIsOpen,f=a.setQuery,m=a.setActiveItemId,h=a.setStatus;if(f(i),m(o.defaultActiveItemId),!i&&o.openOnFocus===!1){var g,p=u.getState().collections.map(function(T){return fn(fn({},T),{},{items:[]})});h("idle"),s(p),c((g=r.isOpen)!==null&&g!==void 0?g:o.shouldPanelOpen({state:u.getState()}));var d=Oi(Ti(p).then(function(){return Promise.resolve()}));return u.pendingRequests.add(d)}h("loading"),dn=o.environment.setTimeout(function(){h("stalled")},o.stallThreshold);var k=Oi(Ti(o.getSources(fn({query:i,refresh:l,state:u.getState()},a)).then(function(T){return Promise.all(T.map(function(P){return Promise.resolve(P.getItems(fn({query:i,refresh:l,state:u.getState()},a))).then(function(C){return Kc(C,P.sourceId,u.getState())})})).then(zc).then(function(P){return Qc(P,T,u)}).then(function(P){return function(C){var _=C.collections,j=C.props,b=C.state,N=_.reduce(function(F,J){return er(er({},F),{},wa({},J.source.sourceId,er(er({},J.source),{},{getItems:function(){return qn(J.items)}})))},{}),L=j.plugins.reduce(function(F,J){return J.reshape?J.reshape(F):F},{sourcesBySourceId:N,state:b}).sourcesBySourceId;return qn(j.reshape({sourcesBySourceId:L,sources:Object.values(L),state:b})).filter(Boolean).map(function(F){return{source:F,items:F.getItems()}})}({collections:P,props:o,state:u.getState()})})}))).then(function(T){var P;h("idle"),s(T);var C=o.shouldPanelOpen({state:u.getState()});c((P=r.isOpen)!==null&&P!==void 0?P:o.openOnFocus&&!i&&C||C);var _=Xt(u.getState());if(u.getState().activeItemId!==null&&_){var j=_.item,b=_.itemInputValue,N=_.itemUrl,L=_.source;L.onActive(fn({event:e,item:j,itemInputValue:b,itemUrl:N,refresh:l,source:L,state:u.getState()},a))}}).finally(function(){h("idle"),dn&&o.environment.clearTimeout(dn)});return u.pendingRequests.add(k)}function Pn(t){return Pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pn(t)}var Zc=["event","props","refresh","store"];function Mi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Nt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Mi(Object(n),!0).forEach(function(r){Xc(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Xc(t,e,n){return(e=function(r){var o=function(i,l){if(Pn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(Pn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return Pn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yc(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Cn(t){return Cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cn(t)}var $c=["props","refresh","store"],ef=["inputElement","formElement","panelElement"],tf=["inputElement"],nf=["inputElement","maxLength"],rf=["sourceIndex"],of=["sourceIndex"],lf=["item","source","sourceIndex"];function Ni(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Ke(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ni(Object(n),!0).forEach(function(r){af(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ni(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function af(t,e,n){return(e=function(r){var o=function(i,l){if(Cn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(Cn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return Cn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rt(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function uf(t){var e=t.props,n=t.refresh,r=t.store,o=Rt(t,$c),i=function(l,u){return u!==void 0?"".concat(l,"-").concat(u):l};return{getEnvironmentProps:function(l){var u=l.inputElement,a=l.formElement,s=l.panelElement;function c(f){!r.getState().isOpen&&r.pendingRequests.isEmpty()||f.target===u||[a,s].some(function(m){return h=m,g=f.target,h===g||h.contains(g);var h,g})===!1&&(r.dispatch("blur",null),e.debug||r.pendingRequests.cancelAll())}return Ke({onTouchStart:c,onMouseDown:c,onTouchMove:function(f){r.getState().isOpen!==!1&&u===e.environment.document.activeElement&&f.target!==u&&u.blur()}},Rt(l,ef))},getRootProps:function(l){return Ke({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?"".concat(e.id,"-list"):void 0,"aria-labelledby":"".concat(e.id,"-label")},l)},getFormProps:function(l){return l.inputElement,Ke({action:"",noValidate:!0,role:"search",onSubmit:function(u){var a;u.preventDefault(),e.onSubmit(Ke({event:u,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),(a=l.inputElement)===null||a===void 0||a.blur()},onReset:function(u){var a;u.preventDefault(),e.onReset(Ke({event:u,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),(a=l.inputElement)===null||a===void 0||a.focus()}},Rt(l,tf))},getLabelProps:function(l){var u=l||{},a=u.sourceIndex,s=Rt(u,rf);return Ke({htmlFor:"".concat(i(e.id,a),"-input"),id:"".concat(i(e.id,a),"-label")},s)},getInputProps:function(l){var u;function a(d){(e.openOnFocus||r.getState().query)&&Gt(Ke({event:d,props:e,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var s=l||{},c=(s.inputElement,s.maxLength),f=c===void 0?512:c,m=Rt(s,nf),h=Xt(r.getState()),g=function(d){return!!(d&&d.match(Lc))}(((u=e.environment.navigator)===null||u===void 0?void 0:u.userAgent)||""),p=h!=null&&h.itemUrl&&!g?"go":"search";return Ke({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&r.getState().activeItemId!==null?"".concat(e.id,"-item-").concat(r.getState().activeItemId):void 0,"aria-controls":r.getState().isOpen?"".concat(e.id,"-list"):void 0,"aria-labelledby":"".concat(e.id,"-label"),value:r.getState().completion||r.getState().query,id:"".concat(e.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:p,spellCheck:"false",autoFocus:e.autoFocus,placeholder:e.placeholder,maxLength:f,type:"search",onChange:function(d){Gt(Ke({event:d,props:e,query:d.currentTarget.value.slice(0,f),refresh:n,store:r},o))},onKeyDown:function(d){(function(k){var T=k.event,P=k.props,C=k.refresh,_=k.store,j=Yc(k,Zc);if(T.key==="ArrowUp"||T.key==="ArrowDown"){var b=function(){var O=P.environment.document.getElementById("".concat(P.id,"-item-").concat(_.getState().activeItemId));O&&(O.scrollIntoViewIfNeeded?O.scrollIntoViewIfNeeded(!1):O.scrollIntoView(!1))},N=function(){var O=Xt(_.getState());if(_.getState().activeItemId!==null&&O){var y=O.item,z=O.itemInputValue,ce=O.itemUrl,x=O.source;x.onActive(Nt({event:T,item:y,itemInputValue:z,itemUrl:ce,refresh:C,source:x,state:_.getState()},j))}};T.preventDefault(),_.getState().isOpen===!1&&(P.openOnFocus||_.getState().query)?Gt(Nt({event:T,props:P,query:_.getState().query,refresh:C,store:_},j)).then(function(){_.dispatch(T.key,{nextActiveItemId:P.defaultActiveItemId}),N(),setTimeout(b,0)}):(_.dispatch(T.key,{}),N(),b())}else if(T.key==="Escape")T.preventDefault(),_.dispatch(T.key,null),_.pendingRequests.cancelAll();else if(T.key==="Tab")_.dispatch("blur",null),_.pendingRequests.cancelAll();else if(T.key==="Enter"){if(_.getState().activeItemId===null||_.getState().collections.every(function(O){return O.items.length===0}))return void(P.debug||_.pendingRequests.cancelAll());T.preventDefault();var L=Xt(_.getState()),F=L.item,J=L.itemInputValue,D=L.itemUrl,w=L.source;if(T.metaKey||T.ctrlKey)D!==void 0&&(w.onSelect(Nt({event:T,item:F,itemInputValue:J,itemUrl:D,refresh:C,source:w,state:_.getState()},j)),P.navigator.navigateNewTab({itemUrl:D,item:F,state:_.getState()}));else if(T.shiftKey)D!==void 0&&(w.onSelect(Nt({event:T,item:F,itemInputValue:J,itemUrl:D,refresh:C,source:w,state:_.getState()},j)),P.navigator.navigateNewWindow({itemUrl:D,item:F,state:_.getState()}));else if(!T.altKey){if(D!==void 0)return w.onSelect(Nt({event:T,item:F,itemInputValue:J,itemUrl:D,refresh:C,source:w,state:_.getState()},j)),void P.navigator.navigate({itemUrl:D,item:F,state:_.getState()});Gt(Nt({event:T,nextState:{isOpen:!1},props:P,query:J,refresh:C,store:_},j)).then(function(){w.onSelect(Nt({event:T,item:F,itemInputValue:J,itemUrl:D,refresh:C,source:w,state:_.getState()},j))})}}})(Ke({event:d,props:e,refresh:n,store:r},o))},onFocus:a,onBlur:_r,onClick:function(d){l.inputElement!==e.environment.document.activeElement||r.getState().isOpen||a(d)}},m)},getPanelProps:function(l){return Ke({onMouseDown:function(u){u.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},l)},getListProps:function(l){var u=l||{},a=u.sourceIndex,s=Rt(u,of);return Ke({role:"listbox","aria-labelledby":"".concat(i(e.id,a),"-label"),id:"".concat(i(e.id,a),"-list")},s)},getItemProps:function(l){var u=l.item,a=l.source,s=l.sourceIndex,c=Rt(l,lf);return Ke({id:"".concat(i(e.id,s),"-item-").concat(u.__autocomplete_id),role:"option","aria-selected":r.getState().activeItemId===u.__autocomplete_id,onMouseMove:function(f){if(u.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",u.__autocomplete_id);var m=Xt(r.getState());if(r.getState().activeItemId!==null&&m){var h=m.item,g=m.itemInputValue,p=m.itemUrl,d=m.source;d.onActive(Ke({event:f,item:h,itemInputValue:g,itemUrl:p,refresh:n,source:d,state:r.getState()},o))}}},onMouseDown:function(f){f.preventDefault()},onClick:function(f){var m=a.getItemInputValue({item:u,state:r.getState()}),h=a.getItemUrl({item:u,state:r.getState()});(h?Promise.resolve():Gt(Ke({event:f,nextState:{isOpen:!1},props:e,query:m,refresh:n,store:r},o))).then(function(){a.onSelect(Ke({event:f,item:u,itemInputValue:m,itemUrl:h,refresh:n,source:a,state:r.getState()},o))})}},c)}}}function Dn(t){return Dn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dn(t)}function Ri(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function sf(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ri(Object(n),!0).forEach(function(r){Ea(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ri(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Ea(t,e,n){return(e=function(r){var o=function(i,l){if(Dn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(Dn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return Dn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cf(t){var e,n,r,o,i=t.plugins,l=t.options,u=(e=(((n=l.__autocomplete_metadata)===null||n===void 0?void 0:n.userAgents)||[])[0])===null||e===void 0?void 0:e.segment,a=u?Ea({},u,Object.keys(((r=l.__autocomplete_metadata)===null||r===void 0?void 0:r.options)||{})):{};return{plugins:i.map(function(s){return{name:s.name,options:Object.keys(s.__autocomplete_pluginOptions||[])}}),options:sf({"autocomplete-core":Object.keys(l)},a),ua:wc.concat(((o=l.__autocomplete_metadata)===null||o===void 0?void 0:o.userAgents)||[])}}function Li(t){var e,n=t.state;return n.isOpen===!1||n.activeItemId===null?null:((e=Xt(n))===null||e===void 0?void 0:e.itemInputValue)||null}function An(t){return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},An(t)}function Hi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function fe(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Hi(Object(n),!0).forEach(function(r){ff(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ff(t,e,n){return(e=function(r){var o=function(i,l){if(An(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(An(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return An(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var df=function(t,e){switch(e.type){case"setActiveItemId":case"mousemove":return fe(fe({},t),{},{activeItemId:e.payload});case"setQuery":return fe(fe({},t),{},{query:e.payload,completion:null});case"setCollections":return fe(fe({},t),{},{collections:e.payload});case"setIsOpen":return fe(fe({},t),{},{isOpen:e.payload});case"setStatus":return fe(fe({},t),{},{status:e.payload});case"setContext":return fe(fe({},t),{},{context:fe(fe({},t.context),e.payload)});case"ArrowDown":var n=fe(fe({},t),{},{activeItemId:e.payload.hasOwnProperty("nextActiveItemId")?e.payload.nextActiveItemId:Si(1,t.activeItemId,Zr(t),e.props.defaultActiveItemId)});return fe(fe({},n),{},{completion:Li({state:n})});case"ArrowUp":var r=fe(fe({},t),{},{activeItemId:Si(-1,t.activeItemId,Zr(t),e.props.defaultActiveItemId)});return fe(fe({},r),{},{completion:Li({state:r})});case"Escape":return t.isOpen?fe(fe({},t),{},{activeItemId:null,isOpen:!1,completion:null}):fe(fe({},t),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return fe(fe({},t),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return fe(fe({},t),{},{activeItemId:e.props.openOnFocus===!0?e.props.defaultActiveItemId:null,status:"idle",query:""});case"focus":return fe(fe({},t),{},{activeItemId:e.props.defaultActiveItemId,isOpen:(e.props.openOnFocus||!!t.query)&&e.props.shouldPanelOpen({state:t})});case"blur":return e.props.debug?t:fe(fe({},t),{},{isOpen:!1,activeItemId:null});case"mouseleave":return fe(fe({},t),{},{activeItemId:e.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(e.type)," is not supported."),t}};function Tn(t){return Tn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tn(t)}function Fi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Lt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Fi(Object(n),!0).forEach(function(r){mf(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function mf(t,e,n){return(e=function(r){var o=function(i,l){if(Tn(i)!=="object"||i===null)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var a=u.call(i,l||"default");if(Tn(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(r,"string");return Tn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hf(t){var e=[],n=Vc(t,e),r=Fc(df,n,function(a){var s=a.prevState,c=a.state;n.onStateChange(Lt({prevState:s,state:c,refresh:l,navigator:n.navigator},o))}),o=function(a){var s=a.store;return{setActiveItemId:function(c){s.dispatch("setActiveItemId",c)},setQuery:function(c){s.dispatch("setQuery",c)},setCollections:function(c){var f=0,m=c.map(function(h){return $n($n({},h),{},{items:qn(h.items).map(function(g){return $n($n({},g),{},{__autocomplete_id:f++})})})});s.dispatch("setCollections",m)},setIsOpen:function(c){s.dispatch("setIsOpen",c)},setStatus:function(c){s.dispatch("setStatus",c)},setContext:function(c){s.dispatch("setContext",c)}}}({store:r}),i=uf(Lt({props:n,refresh:l,store:r,navigator:n.navigator},o));function l(){return Gt(Lt({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,navigator:n.navigator,query:r.getState().query,refresh:l,store:r},o))}if(t.insights&&!n.plugins.some(function(a){return a.name==="aa.algoliaInsightsPlugin"})){var u=typeof t.insights=="boolean"?{}:t.insights;n.plugins.push(Nc(u))}return n.plugins.forEach(function(a){var s;return(s=a.subscribe)===null||s===void 0?void 0:s.call(a,Lt(Lt({},o),{},{navigator:n.navigator,refresh:l,onSelect:function(c){e.push({onSelect:c})},onActive:function(c){e.push({onActive:c})},onResolve:function(c){e.push({onResolve:c})}}))}),function(a){var s,c,f=a.metadata,m=a.environment;if(!((s=m.navigator)===null||s===void 0||(c=s.userAgent)===null||c===void 0)&&c.includes("Algolia Crawler")){var h=m.document.createElement("meta"),g=m.document.querySelector("head");h.name="algolia:metadata",setTimeout(function(){h.content=JSON.stringify(f),g.appendChild(h)},0)}}({metadata:cf({plugins:n.plugins,options:t}),environment:n.environment}),Lt(Lt({refresh:l,navigator:n.navigator},i),o)}function pf(t){var e=t.translations,n=(e===void 0?{}:e).searchByText,r=n===void 0?"Search by":n;return v.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},v.createElement("span",{className:"DocSearch-Label"},r),v.createElement("svg",{width:"77",height:"19","aria-label":"Algolia",role:"img",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2196.2 500"},v.createElement("defs",null,v.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),v.createElement("path",{className:"cls-2",d:"M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),v.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),v.createElement("path",{className:"cls-2",d:"M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z"}),v.createElement("path",{className:"cls-2",d:"M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),v.createElement("path",{className:"cls-2",d:"M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z"}),v.createElement("path",{className:"cls-2",d:"M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),v.createElement("path",{className:"cls-2",d:"M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),v.createElement("path",{className:"cls-2",d:"M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z"}),v.createElement("path",{className:"cls-1",d:"M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z"})))}function rr(t){return v.createElement("svg",{width:"15",height:"15","aria-label":t.ariaLabel,role:"img"},v.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},t.children))}function gf(t){var e=t.translations,n=e===void 0?{}:e,r=n.selectText,o=r===void 0?"to select":r,i=n.selectKeyAriaLabel,l=i===void 0?"Enter key":i,u=n.navigateText,a=u===void 0?"to navigate":u,s=n.navigateUpKeyAriaLabel,c=s===void 0?"Arrow up":s,f=n.navigateDownKeyAriaLabel,m=f===void 0?"Arrow down":f,h=n.closeText,g=h===void 0?"to close":h,p=n.closeKeyAriaLabel,d=p===void 0?"Escape key":p,k=n.searchByText,T=k===void 0?"Search by":k;return v.createElement(v.Fragment,null,v.createElement("div",{className:"DocSearch-Logo"},v.createElement(pf,{translations:{searchByText:T}})),v.createElement("ul",{className:"DocSearch-Commands"},v.createElement("li",null,v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(rr,{ariaLabel:l},v.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),v.createElement("span",{className:"DocSearch-Label"},o)),v.createElement("li",null,v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(rr,{ariaLabel:m},v.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(rr,{ariaLabel:c},v.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),v.createElement("span",{className:"DocSearch-Label"},a)),v.createElement("li",null,v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(rr,{ariaLabel:d},v.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),v.createElement("span",{className:"DocSearch-Label"},g))))}function _f(t){var e=t.hit,n=t.children;return v.createElement("a",{href:e.url},n)}function bf(){return v.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},v.createElement("g",{fill:"none",fillRule:"evenodd"},v.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},v.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),v.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},v.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function vf(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),v.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function Xr(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function yf(){return v.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),v.createElement("path",{d:"M8 17l-6-6 6-6"})))}var Of=function(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function Sf(t){switch(t.type){case"lvl1":return v.createElement(Of,null);case"content":return v.createElement(kf,null);default:return v.createElement(wf,null)}}function wf(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function kf(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function qi(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Ef(){return v.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function jf(){return v.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function If(t){var e=t.translations,n=e===void 0?{}:e,r=n.titleText,o=r===void 0?"Unable to fetch results":r,i=n.helpText,l=i===void 0?"You might want to check your network connection.":i;return v.createElement("div",{className:"DocSearch-ErrorScreen"},v.createElement("div",{className:"DocSearch-Screen-Icon"},v.createElement(Ef,null)),v.createElement("p",{className:"DocSearch-Title"},o),v.createElement("p",{className:"DocSearch-Help"},l))}var Pf=["translations"];function Cf(t){return function(e){if(Array.isArray(e))return Hr(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,n){if(e){if(typeof e=="string")return Hr(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hr(e,n)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Hr(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Df(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Af(t){var e=t.translations,n=e===void 0?{}:e,r=Df(t,Pf),o=n.noResultsText,i=o===void 0?"No results for":o,l=n.suggestedQueryText,u=l===void 0?"Try searching for":l,a=n.reportMissingResultsText,s=a===void 0?"Believe this query should return results?":a,c=n.reportMissingResultsLinkText,f=c===void 0?"Let us know.":c,m=r.state.context.searchSuggestions;return v.createElement("div",{className:"DocSearch-NoResults"},v.createElement("div",{className:"DocSearch-Screen-Icon"},v.createElement(jf,null)),v.createElement("p",{className:"DocSearch-Title"},i,' "',v.createElement("strong",null,r.state.query),'"'),m&&m.length>0&&v.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},v.createElement("p",{className:"DocSearch-Help"},u,":"),v.createElement("ul",null,m.slice(0,3).reduce(function(h,g){return[].concat(Cf(h),[v.createElement("li",{key:g},v.createElement("button",{className:"DocSearch-Prefill",key:g,type:"button",onClick:function(){r.setQuery(g.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},g))])},[]))),r.getMissingResultsUrl&&v.createElement("p",{className:"DocSearch-Help"},"".concat(s," "),v.createElement("a",{href:r.getMissingResultsUrl({query:r.state.query}),target:"_blank",rel:"noopener noreferrer"},f)))}var Tf=["hit","attribute","tagName"];function Ui(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Bi(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ui(Object(n),!0).forEach(function(r){Mf(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ui(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Mf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nf(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Vi(t,e){return e.split(".").reduce(function(n,r){return n!=null&&n[r]?n[r]:null},t)}function xt(t){var e=t.hit,n=t.attribute,r=t.tagName;return ct(r===void 0?"span":r,Bi(Bi({},Nf(t,Tf)),{},{dangerouslySetInnerHTML:{__html:Vi(e,"_snippetResult.".concat(n,".value"))||Vi(e,n)}}))}function Wi(t,e){return function(n){if(Array.isArray(n))return n}(t)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,l,u=[],a=!0,s=!1;try{for(o=o.call(n);!(a=(i=o.next()).done)&&(u.push(i.value),!r||u.length!==r);a=!0);}catch(c){s=!0,l=c}finally{try{a||o.return==null||o.return()}finally{if(s)throw l}}return u}}(t,e)||function(n,r){if(n){if(typeof n=="string")return Ki(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Ki(n,r)}}(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ki(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function br(){return br=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},br.apply(this,arguments)}function Yr(t){return t.collection&&t.collection.items.length!==0?v.createElement("section",{className:"DocSearch-Hits"},v.createElement("div",{className:"DocSearch-Hit-source"},t.title),v.createElement("ul",t.getListProps(),t.collection.items.map(function(e,n){return v.createElement(Rf,br({key:[t.title,e.objectID].join(":"),item:e,index:n},t))}))):null}function Rf(t){var e=t.item,n=t.index,r=t.renderIcon,o=t.renderAction,i=t.getItemProps,l=t.onItemClick,u=t.collection,a=t.hitComponent,s=Wi(v.useState(!1),2),c=s[0],f=s[1],m=Wi(v.useState(!1),2),h=m[0],g=m[1],p=v.useRef(null),d=a;return v.createElement("li",br({className:["DocSearch-Hit",e.__docsearch_parent&&"DocSearch-Hit--Child",c&&"DocSearch-Hit--deleting",h&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){p.current&&p.current()}},i({item:e,source:u.source,onClick:function(k){l(e,k)}})),v.createElement(d,{hit:e},v.createElement("div",{className:"DocSearch-Hit-Container"},r({item:e,index:n}),e.hierarchy[e.type]&&e.type==="lvl1"&&v.createElement("div",{className:"DocSearch-Hit-content-wrapper"},v.createElement(xt,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.lvl1"}),e.content&&v.createElement(xt,{className:"DocSearch-Hit-path",hit:e,attribute:"content"})),e.hierarchy[e.type]&&(e.type==="lvl2"||e.type==="lvl3"||e.type==="lvl4"||e.type==="lvl5"||e.type==="lvl6")&&v.createElement("div",{className:"DocSearch-Hit-content-wrapper"},v.createElement(xt,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.".concat(e.type)}),v.createElement(xt,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),e.type==="content"&&v.createElement("div",{className:"DocSearch-Hit-content-wrapper"},v.createElement(xt,{className:"DocSearch-Hit-title",hit:e,attribute:"content"}),v.createElement(xt,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),o({item:e,runDeleteTransition:function(k){f(!0),p.current=k},runFavoriteTransition:function(k){g(!0),p.current=k}}))))}function zi(t,e,n){return t.reduce(function(r,o){var i=e(o);return r.hasOwnProperty(i)||(r[i]=[]),r[i].length<(n||5)&&r[i].push(o),r},{})}function Qi(t){return t}function or(t){return t.button===1||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}function Lf(){}var ja=/(<mark>|<\/mark>)/g,Hf=RegExp(ja.source);function Ia(t){var e,n,r=t;if(!r.__docsearch_parent&&!t._highlightResult)return t.hierarchy.lvl0;var o=((r.__docsearch_parent?(e=r.__docsearch_parent)===null||e===void 0||(e=e._highlightResult)===null||e===void 0||(e=e.hierarchy)===null||e===void 0?void 0:e.lvl0:(n=t._highlightResult)===null||n===void 0||(n=n.hierarchy)===null||n===void 0?void 0:n.lvl0)||{}).value;return o&&Hf.test(o)?o.replace(ja,""):o}function $r(){return $r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$r.apply(this,arguments)}function Ff(t){return v.createElement("div",{className:"DocSearch-Dropdown-Container"},t.state.collections.map(function(e){if(e.items.length===0)return null;var n=Ia(e.items[0]);return v.createElement(Yr,$r({},t,{key:e.source.sourceId,title:n,collection:e,renderIcon:function(r){var o,i=r.item,l=r.index;return v.createElement(v.Fragment,null,i.__docsearch_parent&&v.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},v.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},i.__docsearch_parent!==((o=e.items[l+1])===null||o===void 0?void 0:o.__docsearch_parent)?v.createElement("path",{d:"M8 6v21M20 27H8.3"}):v.createElement("path",{d:"M8 6v42M20 27H8.3"}))),v.createElement("div",{className:"DocSearch-Hit-icon"},v.createElement(Sf,{type:i.type})))},renderAction:function(){return v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement(yf,null))}}))}),t.resultsFooterComponent&&v.createElement("section",{className:"DocSearch-HitsFooter"},v.createElement(t.resultsFooterComponent,{state:t.state})))}var qf=["translations"];function vr(){return vr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},vr.apply(this,arguments)}function Uf(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Bf(t){var e=t.translations,n=e===void 0?{}:e,r=Uf(t,qf),o=n.recentSearchesTitle,i=o===void 0?"Recent":o,l=n.noRecentSearchesText,u=l===void 0?"No recent searches":l,a=n.saveRecentSearchButtonTitle,s=a===void 0?"Save this search":a,c=n.removeRecentSearchButtonTitle,f=c===void 0?"Remove this search from history":c,m=n.favoriteSearchesTitle,h=m===void 0?"Favorite":m,g=n.removeFavoriteSearchButtonTitle,p=g===void 0?"Remove this search from favorites":g;return r.state.status==="idle"&&r.hasCollections===!1?r.disableUserPersonalization?null:v.createElement("div",{className:"DocSearch-StartScreen"},v.createElement("p",{className:"DocSearch-Help"},u)):r.hasCollections===!1?null:v.createElement("div",{className:"DocSearch-Dropdown-Container"},v.createElement(Yr,vr({},r,{title:i,collection:r.state.collections[0],renderIcon:function(){return v.createElement("div",{className:"DocSearch-Hit-icon"},v.createElement(vf,null))},renderAction:function(d){var k=d.item,T=d.runFavoriteTransition,P=d.runDeleteTransition;return v.createElement(v.Fragment,null,v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement("button",{className:"DocSearch-Hit-action-button",title:s,type:"submit",onClick:function(C){C.preventDefault(),C.stopPropagation(),T(function(){r.favoriteSearches.add(k),r.recentSearches.remove(k),r.refresh()})}},v.createElement(qi,null))),v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement("button",{className:"DocSearch-Hit-action-button",title:f,type:"submit",onClick:function(C){C.preventDefault(),C.stopPropagation(),P(function(){r.recentSearches.remove(k),r.refresh()})}},v.createElement(Xr,null))))}})),v.createElement(Yr,vr({},r,{title:h,collection:r.state.collections[1],renderIcon:function(){return v.createElement("div",{className:"DocSearch-Hit-icon"},v.createElement(qi,null))},renderAction:function(d){var k=d.item,T=d.runDeleteTransition;return v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement("button",{className:"DocSearch-Hit-action-button",title:p,type:"submit",onClick:function(P){P.preventDefault(),P.stopPropagation(),T(function(){r.favoriteSearches.remove(k),r.refresh()})}},v.createElement(Xr,null)))}})))}var Vf=["translations"];function yr(){return yr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},yr.apply(this,arguments)}function Wf(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var Kf=v.memo(function(t){var e=t.translations,n=e===void 0?{}:e,r=Wf(t,Vf);if(r.state.status==="error")return v.createElement(If,{translations:n==null?void 0:n.errorScreen});var o=r.state.collections.some(function(i){return i.items.length>0});return r.state.query?o===!1?v.createElement(Af,yr({},r,{translations:n==null?void 0:n.noResultsScreen})):v.createElement(Ff,r):v.createElement(Bf,yr({},r,{hasCollections:o,translations:n==null?void 0:n.startScreen}))},function(t,e){return e.state.status==="loading"||e.state.status==="stalled"}),zf=["translations"];function Or(){return Or=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Or.apply(this,arguments)}function Qf(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Jf(t){var e=t.translations,n=e===void 0?{}:e,r=Qf(t,zf),o=n.resetButtonTitle,i=o===void 0?"Clear the query":o,l=n.resetButtonAriaLabel,u=l===void 0?"Clear the query":l,a=n.cancelButtonText,s=a===void 0?"Cancel":a,c=n.cancelButtonAriaLabel,f=c===void 0?"Cancel":c,m=n.searchInputLabel,h=m===void 0?"Search":m,g=r.getFormProps({inputElement:r.inputRef.current}).onReset;return v.useEffect(function(){r.autoFocus&&r.inputRef.current&&r.inputRef.current.focus()},[r.autoFocus,r.inputRef]),v.useEffect(function(){r.isFromSelection&&r.inputRef.current&&r.inputRef.current.select()},[r.isFromSelection,r.inputRef]),v.createElement(v.Fragment,null,v.createElement("form",{className:"DocSearch-Form",onSubmit:function(p){p.preventDefault()},onReset:g},v.createElement("label",Or({className:"DocSearch-MagnifierLabel"},r.getLabelProps()),v.createElement(ba,null),v.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},h)),v.createElement("div",{className:"DocSearch-LoadingIndicator"},v.createElement(bf,null)),v.createElement("input",Or({className:"DocSearch-Input",ref:r.inputRef},r.getInputProps({inputElement:r.inputRef.current,autoFocus:r.autoFocus,maxLength:64}))),v.createElement("button",{type:"reset",title:i,className:"DocSearch-Reset","aria-label":u,hidden:!r.state.query},v.createElement(Xr,null))),v.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":f,onClick:r.onClose},s))}var xf=["_highlightResult","_snippetResult"];function Gf(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Zf(t){return function(){var e="__TEST_KEY__";try{return localStorage.setItem(e,""),localStorage.removeItem(e),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(e){return window.localStorage.setItem(t,JSON.stringify(e))},getItem:function(){var e=window.localStorage.getItem(t);return e?JSON.parse(e):[]}}}function Ji(t){var e=t.key,n=t.limit,r=n===void 0?5:n,o=Zf(e),i=o.getItem().slice(0,r);return{add:function(l){var u=l,a=(u._highlightResult,u._snippetResult,Gf(u,xf)),s=i.findIndex(function(c){return c.objectID===a.objectID});s>-1&&i.splice(s,1),i.unshift(a),i=i.slice(0,r),o.setItem(i)},remove:function(l){i=i.filter(function(u){return u.objectID!==l.objectID}),o.setItem(i)},getAll:function(){return i}}}var Xf=["facetName","facetQuery"];function Yf(t){var e,n="algoliasearch-client-js-".concat(t.key),r=function(){return e===void 0&&(e=t.localStorage||window.localStorage),e},o=function(){return JSON.parse(r().getItem(n)||"{}")},i=function(u){r().setItem(n,JSON.stringify(u))},l=function(){var u=t.timeToLive?1e3*t.timeToLive:null,a=o(),s=Object.fromEntries(Object.entries(a).filter(function(f){return Zt(f,2)[1].timestamp!==void 0}));if(i(s),u){var c=Object.fromEntries(Object.entries(s).filter(function(f){var m=Zt(f,2)[1],h=new Date().getTime();return!(m.timestamp+u<h)}));i(c)}};return{get:function(u,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){l();var c=JSON.stringify(u);return o()[c]}).then(function(c){return Promise.all([c?c.value:a(),c!==void 0])}).then(function(c){var f=Zt(c,2),m=f[0],h=f[1];return Promise.all([m,h||s.miss(m)])}).then(function(c){return Zt(c,1)[0]})},set:function(u,a){return Promise.resolve().then(function(){var s=o();return s[JSON.stringify(u)]={timestamp:new Date().getTime(),value:a},r().setItem(n,JSON.stringify(s)),a})},delete:function(u){return Promise.resolve().then(function(){var a=o();delete a[JSON.stringify(u)],r().setItem(n,JSON.stringify(a))})},clear:function(){return Promise.resolve().then(function(){r().removeItem(n)})}}}function pn(t){var e=hr(t.caches),n=e.shift();return n===void 0?{get:function(r,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return o().then(function(l){return Promise.all([l,i.miss(l)])}).then(function(l){return Zt(l,1)[0]})},set:function(r,o){return Promise.resolve(o)},delete:function(r){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(r,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(r,o,i).catch(function(){return pn({caches:e}).get(r,o,i)})},set:function(r,o){return n.set(r,o).catch(function(){return pn({caches:e}).set(r,o)})},delete:function(r){return n.delete(r).catch(function(){return pn({caches:e}).delete(r)})},clear:function(){return n.clear().catch(function(){return pn({caches:e}).clear()})}}}function Fr(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},e={};return{get:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in e)return Promise.resolve(t.serializable?JSON.parse(e[i]):e[i]);var l=r(),u=o&&o.miss||function(){return Promise.resolve()};return l.then(function(a){return u(a)}).then(function(){return l})},set:function(n,r){return e[JSON.stringify(n)]=t.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(n){return delete e[JSON.stringify(n)],Promise.resolve()},clear:function(){return e={},Promise.resolve()}}}function $f(t){for(var e=t.length-1;e>0;e--){var n=Math.floor(Math.random()*(e+1)),r=t[e];t[e]=t[n],t[n]=r}return t}function Pa(t,e){return e&&Object.keys(e).forEach(function(n){t[n]=e[n](t)}),t}function kr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=0;return t.replace(/%s/g,function(){return encodeURIComponent(n[o++])})}var cr={WithinQueryParameters:0,WithinHeaders:1};function xi(t,e){var n=t||{},r=n.data||{};return Object.keys(n).forEach(function(o){["timeout","headers","queryParameters","data","cacheable"].indexOf(o)===-1&&(r[o]=n[o])}),{data:Object.entries(r).length>0?r:void 0,timeout:n.timeout||e,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var Yt={Read:1,Write:2,Any:3},Ca=1,ed=2,Da=3;function Aa(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ca;return _e(_e({},t),{},{status:e,lastUpdate:Date.now()})}function Ta(t){return typeof t=="string"?{protocol:"https",url:t,accept:Yt.Any}:{protocol:t.protocol||"https",url:t.url,accept:t.accept||Yt.Any}}var eo="GET",Er="POST";function td(t,e){return Promise.all(e.map(function(n){return t.get(n,function(){return Promise.resolve(Aa(n))})})).then(function(n){var r=n.filter(function(l){return function(u){return u.status===Ca||Date.now()-u.lastUpdate>12e4}(l)}),o=n.filter(function(l){return function(u){return u.status===Da&&Date.now()-u.lastUpdate<=12e4}(l)}),i=[].concat(hr(r),hr(o));return{getTimeout:function(l,u){return(o.length===0&&l===0?1:o.length+3+l)*u},statelessHosts:i.length>0?i.map(function(l){return Ta(l)}):e}})}function Gi(t,e,n,r){var o=[],i=function(m,h){if(!(m.method===eo||m.data===void 0&&h.data===void 0)){var g=Array.isArray(m.data)?m.data:_e(_e({},m.data),h.data);return JSON.stringify(g)}}(n,r),l=function(m,h){var g=_e(_e({},m.headers),h.headers),p={};return Object.keys(g).forEach(function(d){var k=g[d];p[d.toLowerCase()]=k}),p}(t,r),u=n.method,a=n.method!==eo?{}:_e(_e({},n.data),r.data),s=_e(_e(_e({"x-algolia-agent":t.userAgent.value},t.queryParameters),a),r.queryParameters),c=0,f=function m(h,g){var p=h.pop();if(p===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:Zi(o)};var d={data:i,headers:l,method:u,url:rd(p,n.path,s),connectTimeout:g(c,t.timeouts.connect),responseTimeout:g(c,r.timeout)},k=function(P){var C={request:d,response:P,host:p,triesLeft:h.length};return o.push(C),C},T={onSuccess:function(P){return function(C){try{return JSON.parse(C.content)}catch(_){throw function(j,b){return{name:"DeserializationError",message:j,response:b}}(_.message,C)}}(P)},onRetry:function(P){var C=k(P);return P.isTimedOut&&c++,Promise.all([t.logger.info("Retryable failure",Na(C)),t.hostsCache.set(p,Aa(p,P.isTimedOut?Da:ed))]).then(function(){return m(h,g)})},onFail:function(P){throw k(P),function(C,_){var j=C.content,b=C.status,N=j;try{N=JSON.parse(j).message}catch{}return function(L,F,J){return{name:"ApiError",message:L,status:F,transporterStackTrace:J}}(N,b,_)}(P,Zi(o))}};return t.requester.send(d).then(function(P){return function(C,_){return function(j){var b=j.status;return j.isTimedOut||function(N){var L=N.isTimedOut,F=N.status;return!L&&~~F==0}(j)||~~(b/100)!=2&&~~(b/100)!=4}(C)?_.onRetry(C):~~(C.status/100)==2?_.onSuccess(C):_.onFail(C)}(P,T)})};return td(t.hostsCache,e).then(function(m){return f(hr(m.statelessHosts).reverse(),m.getTimeout)})}function nd(t){var e={value:"Algolia for JavaScript (".concat(t,")"),add:function(n){var r="; ".concat(n.segment).concat(n.version!==void 0?" (".concat(n.version,")"):"");return e.value.indexOf(r)===-1&&(e.value="".concat(e.value).concat(r)),e}};return e}function rd(t,e,n){var r=Ma(n),o="".concat(t.protocol,"://").concat(t.url,"/").concat(e.charAt(0)==="/"?e.substr(1):e);return r.length&&(o+="?".concat(r)),o}function Ma(t){return Object.keys(t).map(function(e){return kr("%s=%s",e,(n=t[e],Object.prototype.toString.call(n)==="[object Object]"||Object.prototype.toString.call(n)==="[object Array]"?JSON.stringify(t[e]):t[e]));var n}).join("&")}function Zi(t){return t.map(function(e){return Na(e)})}function Na(t){var e=t.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return _e(_e({},t),{},{request:_e(_e({},t.request),{},{headers:_e(_e({},t.request.headers),e)})})}var od=function(t){var e=t.appId,n=function(i,l,u){var a={"x-algolia-api-key":u,"x-algolia-application-id":l};return{headers:function(){return i===cr.WithinHeaders?a:{}},queryParameters:function(){return i===cr.WithinQueryParameters?a:{}}}}(t.authMode!==void 0?t.authMode:cr.WithinHeaders,e,t.apiKey),r=function(i){var l=i.hostsCache,u=i.logger,a=i.requester,s=i.requestsCache,c=i.responsesCache,f=i.timeouts,m=i.userAgent,h=i.hosts,g=i.queryParameters,p={hostsCache:l,logger:u,requester:a,requestsCache:s,responsesCache:c,timeouts:f,userAgent:m,headers:i.headers,queryParameters:g,hosts:h.map(function(d){return Ta(d)}),read:function(d,k){var T=xi(k,p.timeouts.read),P=function(){return Gi(p,p.hosts.filter(function(_){return(_.accept&Yt.Read)!=0}),d,T)};if((T.cacheable!==void 0?T.cacheable:d.cacheable)!==!0)return P();var C={request:d,mappedRequestOptions:T,transporter:{queryParameters:p.queryParameters,headers:p.headers}};return p.responsesCache.get(C,function(){return p.requestsCache.get(C,function(){return p.requestsCache.set(C,P()).then(function(_){return Promise.all([p.requestsCache.delete(C),_])},function(_){return Promise.all([p.requestsCache.delete(C),Promise.reject(_)])}).then(function(_){var j=Zt(_,2);return j[0],j[1]})})},{miss:function(_){return p.responsesCache.set(C,_)}})},write:function(d,k){return Gi(p,p.hosts.filter(function(T){return(T.accept&Yt.Write)!=0}),d,xi(k,p.timeouts.write))}};return p}(_e(_e({hosts:[{url:"".concat(e,"-dsn.algolia.net"),accept:Yt.Read},{url:"".concat(e,".algolia.net"),accept:Yt.Write}].concat($f([{url:"".concat(e,"-1.algolianet.com")},{url:"".concat(e,"-2.algolianet.com")},{url:"".concat(e,"-3.algolianet.com")}]))},t),{},{headers:_e(_e(_e({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),t.headers),queryParameters:_e(_e({},n.queryParameters()),t.queryParameters)})),o={transporter:r,appId:e,addAlgoliaAgent:function(i,l){r.userAgent.add({segment:i,version:l})},clearCache:function(){return Promise.all([r.requestsCache.clear(),r.responsesCache.clear()]).then(function(){})}};return Pa(o,t.methods)},id=function(t){return function(e,n){return e.method===eo?t.transporter.read(e,n):t.transporter.write(e,n)}},Ra=function(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={transporter:t.transporter,appId:t.appId,indexName:e};return Pa(r,n.methods)}},Xi=function(t){return function(e,n){var r=e.map(function(o){return _e(_e({},o),{},{params:Ma(o.params||{})})});return t.transporter.read({method:Er,path:"1/indexes/*/queries",data:{requests:r},cacheable:!0},n)}},Yi=function(t){return function(e,n){return Promise.all(e.map(function(r){var o=r.params,i=o.facetName,l=o.facetQuery,u=tc(o,Xf);return Ra(t)(r.indexName,{methods:{searchForFacetValues:La}}).searchForFacetValues(i,l,_e(_e({},n),u))}))}},ld=function(t){return function(e,n,r){return t.transporter.read({method:Er,path:kr("1/answers/%s/prediction",t.indexName),data:{query:e,queryLanguages:n},cacheable:!0},r)}},ad=function(t){return function(e,n){return t.transporter.read({method:Er,path:kr("1/indexes/%s/query",t.indexName),data:{query:e},cacheable:!0},n)}},La=function(t){return function(e,n,r){return t.transporter.read({method:Er,path:kr("1/indexes/%s/facets/%s/query",t.indexName,e),data:{facetQuery:n},cacheable:!0},r)}},ud=1,sd=2,cd=3;function Ha(t,e,n){var r,o={appId:t,apiKey:e,timeouts:{connect:1,read:2,write:30},requester:{send:function(i){return new Promise(function(l){var u=new XMLHttpRequest;u.open(i.method,i.url,!0),Object.keys(i.headers).forEach(function(f){return u.setRequestHeader(f,i.headers[f])});var a,s=function(f,m){return setTimeout(function(){u.abort(),l({status:0,content:m,isTimedOut:!0})},1e3*f)},c=s(i.connectTimeout,"Connection timeout");u.onreadystatechange=function(){u.readyState>u.OPENED&&a===void 0&&(clearTimeout(c),a=s(i.responseTimeout,"Socket timeout"))},u.onerror=function(){u.status===0&&(clearTimeout(c),clearTimeout(a),l({content:u.responseText||"Network request failed",status:u.status,isTimedOut:!1}))},u.onload=function(){clearTimeout(c),clearTimeout(a),l({content:u.responseText,status:u.status,isTimedOut:!1})},u.send(i.data)})}},logger:(r=cd,{debug:function(i,l){return ud>=r&&console.debug(i,l),Promise.resolve()},info:function(i,l){return sd>=r&&console.info(i,l),Promise.resolve()},error:function(i,l){return console.error(i,l),Promise.resolve()}}),responsesCache:Fr(),requestsCache:Fr({serializable:!1}),hostsCache:pn({caches:[Yf({key:"".concat("4.19.1","-").concat(t)}),Fr()]}),userAgent:nd("4.19.1").add({segment:"Browser",version:"lite"}),authMode:cr.WithinQueryParameters};return od(_e(_e(_e({},o),n),{},{methods:{search:Xi,searchForFacetValues:Yi,multipleQueries:Xi,multipleSearchForFacetValues:Yi,customRequest:id,initIndex:function(i){return function(l){return Ra(i)(l,{methods:{search:ad,searchForFacetValues:La,findAnswers:ld}})}}}}))}Ha.version="4.19.1";var fd=["footer","searchBox"];function Mn(){return Mn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Mn.apply(this,arguments)}function $i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function qr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?$i(Object(n),!0).forEach(function(r){dd(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$i(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function dd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function md(t,e){return function(n){if(Array.isArray(n))return n}(t)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,l,u=[],a=!0,s=!1;try{for(o=o.call(n);!(a=(i=o.next()).done)&&(u.push(i.value),!r||u.length!==r);a=!0);}catch(c){s=!0,l=c}finally{try{a||o.return==null||o.return()}finally{if(s)throw l}}return u}}(t,e)||function(n,r){if(n){if(typeof n=="string")return el(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return el(n,r)}}(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function el(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function hd(t,e){if(t==null)return{};var n,r,o=function(l,u){if(l==null)return{};var a,s,c={},f=Object.keys(l);for(s=0;s<f.length;s++)a=f[s],u.indexOf(a)>=0||(c[a]=l[a]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function pd(t){var e=t.appId,n=t.apiKey,r=t.indexName,o=t.placeholder,i=o===void 0?"Search docs":o,l=t.searchParameters,u=t.maxResultsPerGroup,a=t.onClose,s=a===void 0?Lf:a,c=t.transformItems,f=c===void 0?Qi:c,m=t.hitComponent,h=m===void 0?_f:m,g=t.resultsFooterComponent,p=g===void 0?function(){return null}:g,d=t.navigator,k=t.initialScrollY,T=k===void 0?0:k,P=t.transformSearchClient,C=P===void 0?Qi:P,_=t.disableUserPersonalization,j=_!==void 0&&_,b=t.initialQuery,N=b===void 0?"":b,L=t.translations,F=L===void 0?{}:L,J=t.getMissingResultsUrl,D=t.insights,w=D!==void 0&&D,O=F.footer,y=F.searchBox,z=hd(F,fd),ce=md(v.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),x=ce[0],Xe=ce[1],mt=v.useRef(null),rt=v.useRef(null),it=v.useRef(null),We=v.useRef(null),ht=v.useRef(null),K=v.useRef(10),Wn=v.useRef(typeof window<"u"?window.getSelection().toString().slice(0,64):"").current,lt=v.useRef(N||Wn).current,At=function(ne,ge,Me){return v.useMemo(function(){var Ve=Ha(ne,ge);return Ve.addAlgoliaAgent("docsearch","3.6.0"),/docsearch.js \(.*\)/.test(Ve.transporter.userAgent.value)===!1&&Ve.addAlgoliaAgent("docsearch-react","3.6.0"),Me(Ve)},[ne,ge,Me])}(e,n,C),at=v.useRef(Ji({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(r),limit:10})).current,kt=v.useRef(Ji({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(r),limit:at.getAll().length===0?7:4})).current,pt=v.useCallback(function(ne){if(!j){var ge=ne.type==="content"?ne.__docsearch_parent:ne;ge&&at.getAll().findIndex(function(Me){return Me.objectID===ge.objectID})===-1&&kt.add(ge)}},[at,kt,j]),jr=v.useCallback(function(ne){if(x.context.algoliaInsightsPlugin&&ne.__autocomplete_id){var ge=ne,Me={eventName:"Item Selected",index:ge.__autocomplete_indexName,items:[ge],positions:[ne.__autocomplete_id],queryID:ge.__autocomplete_queryID};x.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(Me)}},[x.context.algoliaInsightsPlugin]),Tt=v.useMemo(function(){return hf({id:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:lt,context:{searchSuggestions:[]}},insights:w,navigator:d,onStateChange:function(ne){Xe(ne.state)},getSources:function(ne){var ge=ne.query,Me=ne.state,Ve=ne.setContext,M=ne.setStatus;if(!ge)return j?[]:[{sourceId:"recentSearches",onSelect:function(H){var W=H.item,$=H.event;pt(W),or($)||s()},getItemUrl:function(H){return H.item.url},getItems:function(){return kt.getAll()}},{sourceId:"favoriteSearches",onSelect:function(H){var W=H.item,$=H.event;pt(W),or($)||s()},getItemUrl:function(H){return H.item.url},getItems:function(){return at.getAll()}}];var q=!!w;return At.search([{query:ge,indexName:r,params:qr({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(K.current),"hierarchy.lvl2:".concat(K.current),"hierarchy.lvl3:".concat(K.current),"hierarchy.lvl4:".concat(K.current),"hierarchy.lvl5:".concat(K.current),"hierarchy.lvl6:".concat(K.current),"content:".concat(K.current)],snippetEllipsisText:"…",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20,clickAnalytics:q},l)}]).catch(function(H){throw H.name==="RetryError"&&M("error"),H}).then(function(H){var W=H.results[0],$=W.hits,je=W.nbHits,qe=zi($,function(oe){return Ia(oe)},u);Me.context.searchSuggestions.length<Object.keys(qe).length&&Ve({searchSuggestions:Object.keys(qe)}),Ve({nbHits:je});var Oe={};return q&&(Oe={__autocomplete_indexName:r,__autocomplete_queryID:W.queryID,__autocomplete_algoliaCredentials:{appId:e,apiKey:n}}),Object.values(qe).map(function(oe,de){return{sourceId:"hits".concat(de),onSelect:function(Z){var re=Z.item,tt=Z.event;pt(re),or(tt)||s()},getItemUrl:function(Z){return Z.item.url},getItems:function(){return Object.values(zi(oe,function(Z){return Z.hierarchy.lvl1},u)).map(f).map(function(Z){return Z.map(function(re){var tt=null,Kn=Z.find(function(zn){return zn.type==="lvl1"&&zn.hierarchy.lvl1===re.hierarchy.lvl1});return re.type!=="lvl1"&&Kn&&(tt=Kn),qr(qr({},re),{},{__docsearch_parent:tt},Oe)})}).flat()}}})})}})},[r,l,u,At,s,kt,at,pt,lt,i,d,f,j,w,e,n]),on=Tt.getEnvironmentProps,ln=Tt.getRootProps,Bt=Tt.refresh;return function(ne){var ge=ne.getEnvironmentProps,Me=ne.panelElement,Ve=ne.formElement,M=ne.inputElement;v.useEffect(function(){if(Me&&Ve&&M){var q=ge({panelElement:Me,formElement:Ve,inputElement:M}),H=q.onTouchStart,W=q.onTouchMove;return window.addEventListener("touchstart",H),window.addEventListener("touchmove",W),function(){window.removeEventListener("touchstart",H),window.removeEventListener("touchmove",W)}}},[ge,Me,Ve,M])}({getEnvironmentProps:on,panelElement:We.current,formElement:it.current,inputElement:ht.current}),function(ne){var ge=ne.container;v.useEffect(function(){if(ge){var Me=ge.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),Ve=Me[0],M=Me[Me.length-1];return ge.addEventListener("keydown",q),function(){ge.removeEventListener("keydown",q)}}function q(H){H.key==="Tab"&&(H.shiftKey?document.activeElement===Ve&&(H.preventDefault(),M.focus()):document.activeElement===M&&(H.preventDefault(),Ve.focus()))}},[ge])}({container:mt.current}),v.useEffect(function(){return document.body.classList.add("DocSearch--active"),function(){var ne,ge;document.body.classList.remove("DocSearch--active"),(ne=(ge=window).scrollTo)===null||ne===void 0||ne.call(ge,0,T)}},[]),v.useEffect(function(){window.matchMedia("(max-width: 768px)").matches&&(K.current=5)},[]),v.useEffect(function(){We.current&&(We.current.scrollTop=0)},[x.query]),v.useEffect(function(){lt.length>0&&(Bt(),ht.current&&ht.current.focus())},[lt,Bt]),v.useEffect(function(){function ne(){if(rt.current){var ge=.01*window.innerHeight;rt.current.style.setProperty("--docsearch-vh","".concat(ge,"px"))}}return ne(),window.addEventListener("resize",ne),function(){window.removeEventListener("resize",ne)}},[]),v.createElement("div",Mn({ref:mt},ln({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",x.status==="stalled"&&"DocSearch-Container--Stalled",x.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(ne){ne.target===ne.currentTarget&&s()}}),v.createElement("div",{className:"DocSearch-Modal",ref:rt},v.createElement("header",{className:"DocSearch-SearchBar",ref:it},v.createElement(Jf,Mn({},Tt,{state:x,autoFocus:lt.length===0,inputRef:ht,isFromSelection:!!lt&&lt===Wn,translations:y,onClose:s}))),v.createElement("div",{className:"DocSearch-Dropdown",ref:We},v.createElement(Kf,Mn({},Tt,{indexName:r,state:x,hitComponent:h,resultsFooterComponent:p,disableUserPersonalization:j,recentSearches:kt,favoriteSearches:at,inputRef:ht,translations:z,getMissingResultsUrl:J,onItemClick:function(ne,ge){jr(ne),pt(ne),or(ge)||s()}}))),v.createElement("footer",{className:"DocSearch-Footer"},v.createElement(gf,{translations:O}))))}function to(){return to=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},to.apply(this,arguments)}function tl(t,e){return function(n){if(Array.isArray(n))return n}(t)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,l,u=[],a=!0,s=!1;try{for(o=o.call(n);!(a=(i=o.next()).done)&&(u.push(i.value),!r||u.length!==r);a=!0);}catch(c){s=!0,l=c}finally{try{a||o.return==null||o.return()}finally{if(s)throw l}}return u}}(t,e)||function(n,r){if(n){if(typeof n=="string")return nl(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return nl(n,r)}}(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function nl(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function gd(t){var e,n,r=v.useRef(null),o=tl(v.useState(!1),2),i=o[0],l=o[1],u=tl(v.useState((t==null?void 0:t.initialQuery)||void 0),2),a=u[0],s=u[1],c=v.useCallback(function(){l(!0)},[l]),f=v.useCallback(function(){l(!1)},[l]);return function(m){var h=m.isOpen,g=m.onOpen,p=m.onClose,d=m.onInput,k=m.searchButtonRef;v.useEffect(function(){function T(P){var C;(P.keyCode===27&&h||((C=P.key)===null||C===void 0?void 0:C.toLowerCase())==="k"&&(P.metaKey||P.ctrlKey)||!function(_){var j=_.target,b=j.tagName;return j.isContentEditable||b==="INPUT"||b==="SELECT"||b==="TEXTAREA"}(P)&&P.key==="/"&&!h)&&(P.preventDefault(),h?p():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||g()),k&&k.current===document.activeElement&&d&&/[a-zA-Z0-9]/.test(String.fromCharCode(P.keyCode))&&d(P)}return window.addEventListener("keydown",T),function(){window.removeEventListener("keydown",T)}},[h,g,p,d,k])}({isOpen:i,onOpen:c,onClose:f,onInput:v.useCallback(function(m){l(!0),s(m.key)},[l,s]),searchButtonRef:r}),v.createElement(v.Fragment,null,v.createElement(Oc,{ref:r,translations:t==null||(e=t.translations)===null||e===void 0?void 0:e.button,onClick:c}),i&&ha(v.createElement(pd,to({},t,{initialScrollY:window.scrollY,initialQuery:a,translations:t==null||(n=t.translations)===null||n===void 0?void 0:n.modal,onClose:f})),document.body))}function _d(t){ga(v.createElement(gd,Vr({},t,{transformSearchClient:function(e){return e.addAlgoliaAgent("docsearch.js","3.6.0"),t.transformSearchClient?t.transformSearchClient(e):e}})),function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;return typeof e=="string"?n.document.querySelector(e):e}(t.container,t.environment))}function bd(t){let e;return{c(){e=B("div"),this.h()},l(n){e=V(n,"DIV",{id:!0}),Q(e).forEach(S),this.h()},h(){A(e,"id","docsearch")},m(n,r){R(n,e,r)},p:Ae,i:Ae,o:Ae,d(n){n&&S(e)}}}function vd(t,e,n){let{algolia:r}=e;return ro(()=>{_d({container:"#docsearch",appId:r==null?void 0:r.appId,apiKey:r==null?void 0:r.apiKey,indexName:r==null?void 0:r.indexName})}),t.$$set=o=>{"algolia"in o&&n(0,r=o.algolia)},[r]}class yd extends Pe{constructor(e){super(),Ce(this,e,vd,bd,Ie,{algolia:0})}}function Od(t){let e;const n=t[3].default,r=Re(n,t,t[11],null);return{c(){r&&r.c()},l(o){r&&r.l(o)},m(o,i){r&&r.m(o,i),e=!0},p(o,i){r&&r.p&&(!e||i&2048)&&Le(r,n,o,o[11],e?Fe(n,o[11],i,null):He(o[11]),null)},i(o){e||(E(r,o),e=!0)},o(o){I(r,o),e=!1},d(o){r&&r.d(o)}}}function Sd(t){let e,n;const r=[{class:en("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[highlighted]:bg-gray-50 data-[disabled]:opacity-50",t[1]&&"pl-8",t[0])},t[2]];let o={$$slots:{default:[Od]},$$scope:{ctx:t}};for(let i=0;i<r.length;i+=1)o=Ee(o,r[i]);return e=new us({props:o}),e.$on("click",t[4]),e.$on("keydown",t[5]),e.$on("focusin",t[6]),e.$on("focusout",t[7]),e.$on("pointerdown",t[8]),e.$on("pointerleave",t[9]),e.$on("pointermove",t[10]),{c(){le(e.$$.fragment)},l(i){ae(e.$$.fragment,i)},m(i,l){ue(e,i,l),n=!0},p(i,[l]){const u=l&7?ot(r,[l&3&&{class:en("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[highlighted]:bg-gray-50 data-[disabled]:opacity-50",i[1]&&"pl-8",i[0])},l&4&&no(i[2])]):{};l&2048&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){n||(E(e.$$.fragment,i),n=!0)},o(i){I(e.$$.fragment,i),n=!1},d(i){se(e,i)}}}function wd(t,e,n){const r=["class","inset"];let o=$e(e,r),{$$slots:i={},$$scope:l}=e,{class:u=void 0}=e,{inset:a=void 0}=e;function s(d){bt.call(this,t,d)}function c(d){bt.call(this,t,d)}function f(d){bt.call(this,t,d)}function m(d){bt.call(this,t,d)}function h(d){bt.call(this,t,d)}function g(d){bt.call(this,t,d)}function p(d){bt.call(this,t,d)}return t.$$set=d=>{e=Ee(Ee({},e),Ut(d)),n(2,o=$e(e,r)),"class"in d&&n(0,u=d.class),"inset"in d&&n(1,a=d.inset),"$$scope"in d&&n(11,l=d.$$scope)},[u,a,o,i,s,c,f,m,h,g,p,l]}class rl extends Pe{constructor(e){super(),Ce(this,e,wd,Sd,Ie,{class:0,inset:1})}}function kd(t){let e;const n=t[5].default,r=Re(n,t,t[7],null);return{c(){r&&r.c()},l(o){r&&r.l(o)},m(o,i){r&&r.m(o,i),e=!0},p(o,i){r&&r.p&&(!e||i&128)&&Le(r,n,o,o[7],e?Fe(n,o[7],i,null):He(o[7]),null)},i(o){e||(E(r,o),e=!0)},o(o){I(r,o),e=!1},d(o){r&&r.d(o)}}}function Ed(t){let e,n;const r=[{transition:t[2]},{transitionConfig:t[3]},{sideOffset:t[1]},{class:en("z-50 min-w-[8rem] rounded-md border bg-popover p-1 shadow-md bg-white focus:outline-none antialiased text-gray-800 print:hidden",t[0])},t[4]];let o={$$slots:{default:[kd]},$$scope:{ctx:t}};for(let i=0;i<r.length;i+=1)o=Ee(o,r[i]);return e=new Ns({props:o}),e.$on("keydown",t[6]),{c(){le(e.$$.fragment)},l(i){ae(e.$$.fragment,i)},m(i,l){ue(e,i,l),n=!0},p(i,[l]){const u=l&31?ot(r,[l&4&&{transition:i[2]},l&8&&{transitionConfig:i[3]},l&2&&{sideOffset:i[1]},l&1&&{class:en("z-50 min-w-[8rem] rounded-md border bg-popover p-1 shadow-md bg-white focus:outline-none antialiased text-gray-800 print:hidden",i[0])},l&16&&no(i[4])]):{};l&128&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){n||(E(e.$$.fragment,i),n=!0)},o(i){I(e.$$.fragment,i),n=!1},d(i){se(e,i)}}}function jd(t,e,n){const r=["class","sideOffset","transition","transitionConfig"];let o=$e(e,r),{$$slots:i={},$$scope:l}=e,{class:u=void 0}=e,{sideOffset:a=4}=e,{transition:s=ju}=e,{transitionConfig:c=void 0}=e;function f(m){bt.call(this,t,m)}return t.$$set=m=>{e=Ee(Ee({},e),Ut(m)),n(4,o=$e(e,r)),"class"in m&&n(0,u=m.class),"sideOffset"in m&&n(1,a=m.sideOffset),"transition"in m&&n(2,s=m.transition),"transitionConfig"in m&&n(3,c=m.transitionConfig),"$$scope"in m&&n(7,l=m.$$scope)},[u,a,s,c,o,i,f,l]}class Id extends Pe{constructor(e){super(),Ce(this,e,jd,Ed,Ie,{class:0,sideOffset:1,transition:2,transitionConfig:3})}}function Pd(t){let e,n,r;const o=t[3].default,i=Re(o,t,t[2],null);let l=[{class:n=en("ml-auto text-xs tracking-widest opacity-60",t[0])},t[1]],u={};for(let a=0;a<l.length;a+=1)u=Ee(u,l[a]);return{c(){e=B("span"),i&&i.c(),this.h()},l(a){e=V(a,"SPAN",{class:!0});var s=Q(e);i&&i.l(s),s.forEach(S),this.h()},h(){Ge(e,u)},m(a,s){R(a,e,s),i&&i.m(e,null),r=!0},p(a,[s]){i&&i.p&&(!r||s&4)&&Le(i,o,a,a[2],r?Fe(o,a[2],s,null):He(a[2]),null),Ge(e,u=ot(l,[(!r||s&1&&n!==(n=en("ml-auto text-xs tracking-widest opacity-60",a[0])))&&{class:n},s&2&&a[1]]))},i(a){r||(E(i,a),r=!0)},o(a){I(i,a),r=!1},d(a){a&&S(e),i&&i.d(a)}}}function Cd(t,e,n){const r=["class"];let o=$e(e,r),{$$slots:i={},$$scope:l}=e,{class:u=void 0}=e;return t.$$set=a=>{e=Ee(Ee({},e),Ut(a)),n(1,o=$e(e,r)),"class"in a&&n(0,u=a.class),"$$scope"in a&&n(2,l=a.$$scope)},[u,o,l,i]}class Dd extends Pe{constructor(e){super(),Ce(this,e,Cd,Pd,Ie,{class:0})}}const Ad=vs,Td=Bs,Md=ps;function Nd(t){let e,n;return e=new nn({props:{src:gu,class:"h-6 w-6"}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p:Ae,i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function Rd(t){let e,n;return e=new su({props:{builders:[t[5]],variant:"ghost",size:"sm",class:"px-1",id:"layout-kebab",$$slots:{default:[Nd]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&32&&(i.builders=[r[5]]),o&64&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function Ld(t){let e;return{c(){e=we("⌘P")},l(n){e=ke(n,"⌘P")},m(n,r){R(n,e,r)},d(n){n&&S(e)}}}function Hd(t){let e,n,r;return n=new Dd({props:{$$slots:{default:[Ld]},$$scope:{ctx:t}}}),{c(){e=we(`Print PDF
`),le(n.$$.fragment)},l(o){e=ke(o,`Print PDF
`),ae(n.$$.fragment,o)},m(o,i){R(o,e,i),ue(n,o,i),r=!0},p(o,i){const l={};i&64&&(l.$$scope={dirty:i,ctx:o}),n.$set(l)},i(o){r||(E(n.$$.fragment,o),r=!0)},o(o){I(n.$$.fragment,o),r=!1},d(o){o&&S(e),se(n,o)}}}function Fd(t){let e=t[0]?"Hide ":"Show ",n,r;return{c(){n=we(e),r=we(" Queries")},l(o){n=ke(o,e),r=ke(o," Queries")},m(o,i){R(o,n,i),R(o,r,i)},p(o,i){i&1&&e!==(e=o[0]?"Hide ":"Show ")&&wt(n,e)},d(o){o&&(S(n),S(r))}}}function qd(t){let e,n,r,o;return e=new rl({props:{$$slots:{default:[Hd]},$$scope:{ctx:t}}}),e.$on("click",t[1]),r=new rl({props:{$$slots:{default:[Fd]},$$scope:{ctx:t}}}),r.$on("click",t[2]),{c(){le(e.$$.fragment),n=X(),le(r.$$.fragment)},l(i){ae(e.$$.fragment,i),n=Y(i),ae(r.$$.fragment,i)},m(i,l){ue(e,i,l),R(i,n,l),ue(r,i,l),o=!0},p(i,l){const u={};l&64&&(u.$$scope={dirty:l,ctx:i}),e.$set(u);const a={};l&65&&(a.$$scope={dirty:l,ctx:i}),r.$set(a)},i(i){o||(E(e.$$.fragment,i),E(r.$$.fragment,i),o=!0)},o(i){I(e.$$.fragment,i),I(r.$$.fragment,i),o=!1},d(i){i&&S(n),se(e,i),se(r,i)}}}function Ud(t){let e,n,r,o;e=new Md({props:{$$slots:{default:[qd]},$$scope:{ctx:t}}});let i=fr;return{c(){le(e.$$.fragment),n=X(),r=ie()},l(l){ae(e.$$.fragment,l),n=Y(l),r=ie()},m(l,u){ue(e,l,u),R(l,n,u),R(l,r,u),o=!0},p(l,u){const a={};u&65&&(a.$$scope={dirty:u,ctx:l}),e.$set(a)},i(l){o||(E(e.$$.fragment,l),E(i),o=!0)},o(l){I(e.$$.fragment,l),I(i),o=!1},d(l){l&&(S(n),S(r)),se(e,l)}}}function Bd(t){let e,n,r,o;return e=new Td({props:{asChild:!0,$$slots:{default:[Rd,({builder:i})=>({5:i}),({builder:i})=>i?32:0]},$$scope:{ctx:t}}}),r=new Id({props:{class:" w-44 text-xs",$$slots:{default:[Ud]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment),n=X(),le(r.$$.fragment)},l(i){ae(e.$$.fragment,i),n=Y(i),ae(r.$$.fragment,i)},m(i,l){ue(e,i,l),R(i,n,l),ue(r,i,l),o=!0},p(i,l){const u={};l&96&&(u.$$scope={dirty:l,ctx:i}),e.$set(u);const a={};l&65&&(a.$$scope={dirty:l,ctx:i}),r.$set(a)},i(i){o||(E(e.$$.fragment,i),E(r.$$.fragment,i),o=!0)},o(i){I(e.$$.fragment,i),I(r.$$.fragment,i),o=!1},d(i){i&&S(n),se(e,i),se(r,i)}}}function Vd(t){let e,n;return e=new Ad({props:{$$slots:{default:[Bd]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,[o]){const i={};o&65&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function Wd(t,e,n){let r;et(t,go,a=>n(0,r=a));const o=new Event("export-beforeprint"),i=new Event("export-afterprint");function l(){window.dispatchEvent(o),setTimeout(()=>window.print(),0),setTimeout(()=>window.dispatchEvent(i),0)}return[r,l,()=>{go.update(a=>!a)}]}class Kd extends Pe{constructor(e){super(),Ce(this,e,Wd,Vd,Ie,{})}}function zd(t){let e,n,r,o,i,l,u,a,s,c,f;const m=[xd,Jd],h=[];function g(p,d){return p[0]?0:1}return r=g(t),o=h[r]=m[r](t),a=new lo({props:{logo:t[2],title:t[1]}}),{c(){e=B("div"),n=B("button"),o.c(),l=X(),u=B("a"),le(a.$$.fragment),this.h()},l(p){e=V(p,"DIV",{class:!0});var d=Q(e);n=V(d,"BUTTON",{type:!0,class:!0});var k=Q(n);o.l(k),k.forEach(S),l=Y(d),u=V(d,"A",{href:!0,class:!0});var T=Q(u);ae(a.$$.fragment,T),T.forEach(S),d.forEach(S),this.h()},h(){A(n,"type","button"),A(n,"class",i="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 "+(t[7]==="hide"?"block":"md:hidden")),A(u,"href","/"),A(u,"class","text-sm font-bold text-gray-800 hidden md:block"),A(e,"class","flex gap-x-4 items-center")},m(p,d){R(p,e,d),U(e,n),h[r].m(n,null),U(e,l),U(e,u),ue(a,u,null),s=!0,c||(f=De(n,"click",t[12]),c=!0)},p(p,d){let k=r;r=g(p),r!==k&&(ve(),I(h[k],1,1,()=>{h[k]=null}),ye(),o=h[r],o||(o=h[r]=m[r](p),o.c()),E(o,1),o.m(n,null)),(!s||d&128&&i!==(i="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 "+(p[7]==="hide"?"block":"md:hidden")))&&A(n,"class",i);const T={};d&4&&(T.logo=p[2]),d&2&&(T.title=p[1]),a.$set(T)},i(p){s||(E(o),E(a.$$.fragment,p),s=!0)},o(p){I(o),I(a.$$.fragment,p),s=!1},d(p){p&&S(e),h[r].d(),se(a),c=!1,f()}}}function Qd(t){let e,n,r;return n=new lo({props:{logo:t[2],title:t[1]}}),{c(){e=B("a"),le(n.$$.fragment),this.h()},l(o){e=V(o,"A",{href:!0,class:!0});var i=Q(e);ae(n.$$.fragment,i),i.forEach(S),this.h()},h(){A(e,"href","/"),A(e,"class","block text-sm font-bold text-gray-800")},m(o,i){R(o,e,i),ue(n,e,null),r=!0},p(o,i){const l={};i&4&&(l.logo=o[2]),i&2&&(l.title=o[1]),n.$set(l)},i(o){r||(E(n.$$.fragment,o),r=!0)},o(o){I(n.$$.fragment,o),r=!1},d(o){o&&S(e),se(n)}}}function Jd(t){let e,n="Open sidebar",r,o,i;return o=new nn({props:{class:"w-5 h-5",src:_u}}),{c(){e=B("span"),e.textContent=n,r=X(),le(o.$$.fragment),this.h()},l(l){e=V(l,"SPAN",{class:!0,"data-svelte-h":!0}),dt(e)!=="svelte-73kebv"&&(e.textContent=n),r=Y(l),ae(o.$$.fragment,l),this.h()},h(){A(e,"class","sr-only")},m(l,u){R(l,e,u),R(l,r,u),ue(o,l,u),i=!0},i(l){i||(E(o.$$.fragment,l),i=!0)},o(l){I(o.$$.fragment,l),i=!1},d(l){l&&(S(e),S(r)),se(o,l)}}}function xd(t){let e,n="Close sidebar",r,o,i;return o=new nn({props:{class:"w-5 h-5",src:bu}}),{c(){e=B("span"),e.textContent=n,r=X(),le(o.$$.fragment),this.h()},l(l){e=V(l,"SPAN",{class:!0,"data-svelte-h":!0}),dt(e)!=="svelte-13q18xv"&&(e.textContent=n),r=Y(l),ae(o.$$.fragment,l),this.h()},h(){A(e,"class","sr-only")},m(l,u){R(l,e,u),R(l,r,u),ue(o,l,u),i=!0},i(l){i||(E(o.$$.fragment,l),i=!0)},o(l){I(o.$$.fragment,l),i=!1},d(l){l&&(S(e),S(r)),se(o,l)}}}function ol(t){let e,n;return e=new yd({props:{algolia:t[8]}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&256&&(i.algolia=r[8]),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function il(t){let e,n,r;return n=new nn({props:{src:yu,class:"w-4 h-4 text-gray-900 "}}),{c(){e=B("a"),le(n.$$.fragment),this.h()},l(o){e=V(o,"A",{href:!0,class:!0,target:!0,rel:!0});var i=Q(e);ae(n.$$.fragment,i),i.forEach(S),this.h()},h(){A(e,"href",t[9]),A(e,"class","hover:bg-gray-50 rounded-lg p-2 transition-all duration-200"),A(e,"target","_blank"),A(e,"rel","noreferrer")},m(o,i){R(o,e,i),ue(n,e,null),r=!0},p(o,i){(!r||i&512)&&A(e,"href",o[9])},i(o){r||(E(n.$$.fragment,o),r=!0)},o(o){I(n.$$.fragment,o),r=!1},d(o){o&&S(e),se(n)}}}function ll(t){let e,n,r;return{c(){e=B("a"),n=Oo("svg"),r=Oo("path"),this.h()},l(o){e=V(o,"A",{href:!0,class:!0,target:!0,rel:!0});var i=Q(e);n=So(i,"svg",{role:!0,viewBox:!0,xmlns:!0,class:!0});var l=Q(n);r=So(l,"path",{d:!0}),Q(r).forEach(S),l.forEach(S),i.forEach(S),this.h()},h(){A(r,"d","M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"),A(n,"role","img"),A(n,"viewBox","0 0 24 24"),A(n,"xmlns","http://www.w3.org/2000/svg"),A(n,"class","w-4 h-4 text-gray-900"),A(e,"href",t[10]),A(e,"class","hover:bg-gray-50 rounded-lg p-2 transition-all duration-200"),A(e,"target","_blank"),A(e,"rel","noreferrer")},m(o,i){R(o,e,i),U(e,n),U(n,r)},p(o,i){i&1024&&A(e,"href",o[10])},d(o){o&&S(e)}}}function al(t){let e,n,r;return n=new nn({props:{src:Ou,class:"w-4 h-4 text-gray-900 "}}),{c(){e=B("a"),le(n.$$.fragment),this.h()},l(o){e=V(o,"A",{href:!0,class:!0,target:!0,rel:!0});var i=Q(e);ae(n.$$.fragment,i),i.forEach(S),this.h()},h(){A(e,"href",t[11]),A(e,"class","hover:bg-gray-50 rounded-lg p-2 transition-all duration-200"),A(e,"target","_blank"),A(e,"rel","noreferrer")},m(o,i){R(o,e,i),ue(n,e,null),r=!0},p(o,i){(!r||i&2048)&&A(e,"href",o[11])},i(o){r||(E(n.$$.fragment,o),r=!0)},o(o){I(n.$$.fragment,o),r=!1},d(o){o&&S(e),se(n)}}}function ul(t){let e,n;return e=new Kd({}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function Gd(t){let e,n,r,o,i,l,u,a,s,c,f,m,h,g,p;const d=[Qd,zd],k=[];function T(N,L){return N[6]||N[7]==="never"?0:1}r=T(t),o=k[r]=d[r](t);let P=t[8]&&ol(t),C=t[9]&&il(t),_=t[10]&&ll(t),j=t[11]&&al(t),b=!t[3]&&ul();return{c(){e=B("header"),n=B("div"),o.c(),i=X(),l=B("div"),P&&P.c(),u=X(),a=B("div"),C&&C.c(),s=X(),_&&_.c(),c=X(),j&&j.c(),f=X(),m=B("div"),b&&b.c(),this.h()},l(N){e=V(N,"HEADER",{class:!0});var L=Q(e);n=V(L,"DIV",{class:!0,style:!0});var F=Q(n);o.l(F),i=Y(F),l=V(F,"DIV",{class:!0});var J=Q(l);P&&P.l(J),u=Y(J),a=V(J,"DIV",{class:!0});var D=Q(a);C&&C.l(D),s=Y(D),_&&_.l(D),c=Y(D),j&&j.l(D),D.forEach(S),f=Y(J),m=V(J,"DIV",{class:!0});var w=Q(m);b&&b.l(w),w.forEach(S),J.forEach(S),F.forEach(S),L.forEach(S),this.h()},h(){A(a,"class","flex gap-2 items-center"),A(m,"class","relative"),A(l,"class","flex gap-2 text-sm items-center"),A(n,"class",h=(t[4]?"max-w-full ":t[5]?"":" max-w-7xl ")+"mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between"),mr(n,"max-width",t[5]+"px"),A(e,"class",g="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "+(t[7]==="hide"?"md:pl-8":""))},m(N,L){R(N,e,L),U(e,n),k[r].m(n,null),U(n,i),U(n,l),P&&P.m(l,null),U(l,u),U(l,a),C&&C.m(a,null),U(a,s),_&&_.m(a,null),U(a,c),j&&j.m(a,null),U(l,f),U(l,m),b&&b.m(m,null),p=!0},p(N,[L]){let F=r;r=T(N),r===F?k[r].p(N,L):(ve(),I(k[F],1,1,()=>{k[F]=null}),ye(),o=k[r],o?o.p(N,L):(o=k[r]=d[r](N),o.c()),E(o,1),o.m(n,i)),N[8]?P?(P.p(N,L),L&256&&E(P,1)):(P=ol(N),P.c(),E(P,1),P.m(l,u)):P&&(ve(),I(P,1,1,()=>{P=null}),ye()),N[9]?C?(C.p(N,L),L&512&&E(C,1)):(C=il(N),C.c(),E(C,1),C.m(a,s)):C&&(ve(),I(C,1,1,()=>{C=null}),ye()),N[10]?_?_.p(N,L):(_=ll(N),_.c(),_.m(a,c)):_&&(_.d(1),_=null),N[11]?j?(j.p(N,L),L&2048&&E(j,1)):(j=al(N),j.c(),E(j,1),j.m(a,null)):j&&(ve(),I(j,1,1,()=>{j=null}),ye()),N[3]?b&&(ve(),I(b,1,1,()=>{b=null}),ye()):b?L&8&&E(b,1):(b=ul(),b.c(),E(b,1),b.m(m,null)),(!p||L&48&&h!==(h=(N[4]?"max-w-full ":N[5]?"":" max-w-7xl ")+"mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between"))&&A(n,"class",h),(!p||L&32)&&mr(n,"max-width",N[5]+"px"),(!p||L&128&&g!==(g="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "+(N[7]==="hide"?"md:pl-8":"")))&&A(e,"class",g)},i(N){p||(E(o),E(P),E(C),E(j),E(b),p=!0)},o(N){I(o),I(P),I(C),I(j),I(b),p=!1},d(N){N&&S(e),k[r].d(),P&&P.d(),C&&C.d(),_&&_.d(),j&&j.d(),b&&b.d()}}}function Zd(t,e,n){let{mobileSidebarOpen:r=void 0}=e,{title:o=void 0}=e,{logo:i=void 0}=e,{neverShowQueries:l=void 0}=e,{fullWidth:u=void 0}=e,{maxWidth:a=void 0}=e,{hideSidebar:s=void 0}=e,{sidebarFrontMatter:c=void 0}=e,{algolia:f=void 0}=e,{githubRepo:m=void 0}=e,{xProfile:h=void 0}=e,{slackCommunity:g=void 0}=e;const p=()=>{n(0,r=!r)};return t.$$set=d=>{"mobileSidebarOpen"in d&&n(0,r=d.mobileSidebarOpen),"title"in d&&n(1,o=d.title),"logo"in d&&n(2,i=d.logo),"neverShowQueries"in d&&n(3,l=d.neverShowQueries),"fullWidth"in d&&n(4,u=d.fullWidth),"maxWidth"in d&&n(5,a=d.maxWidth),"hideSidebar"in d&&n(6,s=d.hideSidebar),"sidebarFrontMatter"in d&&n(7,c=d.sidebarFrontMatter),"algolia"in d&&n(8,f=d.algolia),"githubRepo"in d&&n(9,m=d.githubRepo),"xProfile"in d&&n(10,h=d.xProfile),"slackCommunity"in d&&n(11,g=d.slackCommunity)},[r,o,i,l,u,a,s,c,f,m,h,g,p]}class Xd extends Pe{constructor(e){super(),Ce(this,e,Zd,Gd,Ie,{mobileSidebarOpen:0,title:1,logo:2,neverShowQueries:3,fullWidth:4,maxWidth:5,hideSidebar:6,sidebarFrontMatter:7,algolia:8,githubRepo:9,xProfile:10,slackCommunity:11})}}function Yd(t){return ro(()=>{}),[]}class $d extends Pe{constructor(e){super(),Ce(this,e,Yd,null,Ie,{})}}function em(t){let e,n='<span class="sr-only">Loading...</span> <div class="h-8 bg-gray-50 rounded-full dark:bg-gray-400 w-48 mb-8"></div> <div class="flex gap-3"><div class="h-32 bg-gray-200 rounded-md dark:bg-gray-400 w-[22%] mb-3"></div> <div class="h-32 bg-gray-200 rounded-md dark:bg-gray-400 w-[22%] mb-3"></div> <div class="h-32 bg-gray-200 rounded-md dark:bg-gray-400 w-[22%] mb-3"></div> <div class="h-32 bg-gray-200 rounded-md dark:bg-gray-400 w-[22%] mb-3"></div></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[70%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[65%] mb-3"></div> <div class="h-56 bg-gray-200 rounded-md dark:bg-gray-400 max-w-[100%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[80%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[90%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[70%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[80%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[100%] mb-3"></div> <div class="h-56 bg-gray-200 rounded-md dark:bg-gray-400 max-w-[100%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[70%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[75%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[90%] mb-3"></div> <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-400 max-w-[80%] mb-3"></div> <div class="h-56 bg-gray-200 rounded-md dark:bg-gray-400 max-w-[100%] mb-3"></div>',r;return{c(){e=B("div"),e.innerHTML=n,this.h()},l(o){e=V(o,"DIV",{role:!0,class:!0,"data-svelte-h":!0}),dt(e)!=="svelte-19bzzkg"&&(e.innerHTML=n),this.h()},h(){A(e,"role","status"),A(e,"class","animate-pulse")},m(o,i){R(o,e,i)},p:Ae,i(o){o&&(r||Ot(()=>{r=Un(e,Rn,{}),r.start()}))},o:Ae,d(o){o&&S(e)}}}class tm extends Pe{constructor(e){super(),Ce(this,e,null,em,Ie,{})}}function nm(t){let e,n;const r=t[1].default,o=Re(r,t,t[0],null);return{c(){e=B("span"),o&&o.c(),this.h()},l(i){e=V(i,"SPAN",{class:!0});var l=Q(e);o&&o.l(l),l.forEach(S),this.h()},h(){A(e,"class","rounded px-0.5 py-[1px] bg-green-50 border border-green-200 text-green-800 group-hover:text-green-950 text-base sm:text-xs")},m(i,l){R(i,e,l),o&&o.m(e,null),n=!0},p(i,[l]){o&&o.p&&(!n||l&1)&&Le(o,r,i,i[0],n?Fe(r,i[0],l,null):He(i[0]),null)},i(i){n||(E(o,i),n=!0)},o(i){I(o,i),n=!1},d(i){i&&S(e),o&&o.d(i)}}}function rm(t,e,n){let{$$slots:r={},$$scope:o}=e;return t.$$set=i=>{"$$scope"in i&&n(0,o=i.$$scope)},[o,r]}class Dt extends Pe{constructor(e){super(),Ce(this,e,rm,nm,Ie,{})}}function sl(t,e,n){const r=t.slice();return r[14]=e[n],r}function cl(t,e,n){const r=t.slice();return r[14]=e[n],r}function fl(t){const e=t.slice(),n=e[6].url.pathname.toUpperCase()===e[14].href.toUpperCase()+"/";return e[19]=n,e}function dl(t,e,n){const r=t.slice();return r[14]=e[n],r}function ml(t){const e=t.slice(),n=e[6].url.pathname.toUpperCase()===e[14].href.toUpperCase()+"/";return e[19]=n,e}function hl(t,e,n){const r=t.slice();return r[14]=e[n],r}function pl(t,e,n){const r=t.slice();return r[14]=e[n],r}function gl(t){const e=t.slice(),n=e[6].url.pathname.toUpperCase()===e[14].href.toUpperCase()+"/";return e[19]=n,e}function _l(t,e,n){const r=t.slice();return r[14]=e[n],r}function bl(t){const e=t.slice(),n=e[6].url.pathname.toUpperCase()===e[14].href.toUpperCase()+"/";return e[19]=n,e}function vl(t){let e,n,r,o,i,l,u,a,s,c,f,m='<span class="sr-only">Close sidebar</span> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-5 h-5"><path d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"></path></svg>',h,g,p,d,k="Home",T,P,C,_,j,b,N;a=new lo({props:{logo:t[2],title:t[1]}});let L=Be(t[7]),F=[];for(let y=0;y<L.length;y+=1)F[y]=yl(_l(t,L,y));const J=y=>I(F[y],1,1,()=>{F[y]=null});let D=Be(t[7]),w=[];for(let y=0;y<D.length;y+=1)w[y]=Sl(hl(t,D,y));const O=y=>I(w[y],1,1,()=>{w[y]=null});return{c(){e=B("div"),r=X(),o=B("div"),i=B("div"),l=B("div"),u=B("a"),le(a.$$.fragment),s=X(),c=B("span"),f=B("button"),f.innerHTML=m,h=X(),g=B("div"),p=B("div"),d=B("a"),d.textContent=k,T=X();for(let y=0;y<F.length;y+=1)F[y].c();P=X();for(let y=0;y<w.length;y+=1)w[y].c();this.h()},l(y){e=V(y,"DIV",{class:!0,role:!0,tabindex:!0}),Q(e).forEach(S),r=Y(y),o=V(y,"DIV",{class:!0});var z=Q(o);i=V(z,"DIV",{class:!0});var ce=Q(i);l=V(ce,"DIV",{class:!0});var x=Q(l);u=V(x,"A",{href:!0,class:!0});var Xe=Q(u);ae(a.$$.fragment,Xe),Xe.forEach(S),s=Y(x),c=V(x,"SPAN",{role:!0,tabindex:!0});var mt=Q(c);f=V(mt,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),dt(f)!=="svelte-f2w8lm"&&(f.innerHTML=m),mt.forEach(S),x.forEach(S),h=Y(ce),g=V(ce,"DIV",{class:!0,id:!0});var rt=Q(g);p=V(rt,"DIV",{class:!0});var it=Q(p);d=V(it,"A",{class:!0,href:!0,"data-svelte-h":!0}),dt(d)!=="svelte-zadvlr"&&(d.textContent=k),T=Y(it);for(let We=0;We<F.length;We+=1)F[We].l(it);it.forEach(S),P=Y(rt);for(let We=0;We<w.length;We+=1)w[We].l(rt);rt.forEach(S),ce.forEach(S),z.forEach(S),this.h()},h(){A(e,"class","fixed inset-0 bg-white/80 z-50 backdrop-blur-sm"),A(e,"role","button"),A(e,"tabindex","-1"),A(u,"href","/"),A(u,"class","block mt-1 text-sm font-bold text-gray-800"),A(f,"type","button"),A(f,"class","text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500"),A(c,"role","button"),A(c,"tabindex","-1"),A(l,"class","py-3 px-8 mb-3 flex items-start justify-between"),A(d,"class","sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize transition-colors duration-100"),A(d,"href","/"),A(p,"class","flex flex-col pb-6"),A(g,"class","flex-grow px-8 sm:pb-0 pb-4 h-[calc(100vh-8rem)] overflow-auto text-base sm:text-sm pretty-scrollbar"),A(g,"id","mobileScrollable"),A(i,"class","pb-4 text-gray-700"),A(o,"class","bg-white border-r border-gray-300 shadow-lg fixed inset-0 z-50 flex sm:w-72 h-screen w-screen flex-col overflow-hidden select-none")},m(y,z){R(y,e,z),R(y,r,z),R(y,o,z),U(o,i),U(i,l),U(l,u),ue(a,u,null),U(l,s),U(l,c),U(c,f),U(i,h),U(i,g),U(g,p),U(p,d),U(p,T);for(let ce=0;ce<F.length;ce+=1)F[ce]&&F[ce].m(p,null);U(g,P);for(let ce=0;ce<w.length;ce+=1)w[ce]&&w[ce].m(g,null);j=!0,b||(N=[De(e,"click",t[9]),De(e,"keypress",t[10]),De(f,"click",t[11]),De(c,"click",t[12]),De(c,"keypress",t[13])],b=!0)},p(y,z){const ce={};if(z&4&&(ce.logo=y[2]),z&2&&(ce.title=y[1]),a.$set(ce),z&192){L=Be(y[7]);let x;for(x=0;x<L.length;x+=1){const Xe=_l(y,L,x);F[x]?(F[x].p(Xe,z),E(F[x],1)):(F[x]=yl(Xe),F[x].c(),E(F[x],1),F[x].m(p,null))}for(ve(),x=L.length;x<F.length;x+=1)J(x);ye()}if(z&192){D=Be(y[7]);let x;for(x=0;x<D.length;x+=1){const Xe=hl(y,D,x);w[x]?(w[x].p(Xe,z),E(w[x],1)):(w[x]=Sl(Xe),w[x].c(),E(w[x],1),w[x].m(g,null))}for(ve(),x=D.length;x<w.length;x+=1)O(x);ye()}},i(y){if(!j){y&&Ot(()=>{j&&(n||(n=jt(e,Rn,{duration:100},!0)),n.run(1))}),E(a.$$.fragment,y);for(let z=0;z<L.length;z+=1)E(F[z]);for(let z=0;z<D.length;z+=1)E(w[z]);y&&Ot(()=>{j&&(_&&_.end(1),C=Un(o,Nn,{x:-50,duration:300}),C.start())}),j=!0}},o(y){y&&(n||(n=jt(e,Rn,{duration:100},!1)),n.run(0)),I(a.$$.fragment,y),F=F.filter(Boolean);for(let z=0;z<F.length;z+=1)I(F[z]);w=w.filter(Boolean);for(let z=0;z<w.length;z+=1)I(w[z]);C&&C.invalidate(),y&&(_=Sr(o,Nn,{x:-100,duration:200})),j=!1},d(y){y&&(S(e),S(r),S(o)),y&&n&&n.end(),se(a),It(F,y),It(w,y),y&&_&&_.end(),b=!1,St(N)}}}function om(t){var a,s;let e,n=(((a=t[14].frontMatter)==null?void 0:a.title)??t[14].label)+"",r,o,i,l,u=((s=t[14].frontMatter)==null?void 0:s.sidebar_badge)&&im(t);return{c(){e=B("a"),r=we(n),o=X(),u&&u.c(),i=X(),this.h()},l(c){e=V(c,"A",{class:!0,href:!0});var f=Q(e);r=ke(f,n),o=Y(f),u&&u.l(f),i=Y(f),f.forEach(S),this.h()},h(){A(e,"class","group inline-block py-1 capitalize transition-colors duration-100"),A(e,"href",t[14].href),Se(e,"text-blue-600",t[19]),Se(e,"hover:text-gray-950",t[19]),Se(e,"hover:text-blue-600",t[19])},m(c,f){R(c,e,f),U(e,r),U(e,o),u&&u.m(e,null),U(e,i),l=!0},p(c,f){var m;(m=c[14].frontMatter)!=null&&m.sidebar_badge&&u.p(c,f),(!l||f&192)&&Se(e,"text-blue-600",c[19]),(!l||f&192)&&Se(e,"hover:text-gray-950",c[19]),(!l||f&192)&&Se(e,"hover:text-blue-600",c[19])},i(c){l||(E(u),l=!0)},o(c){I(u),l=!1},d(c){c&&S(e),u&&u.d()}}}function im(t){let e,n;return e=new Dt({props:{$$slots:{default:[lm]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&268435456&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function lm(t){let e=t[14].frontMatter.sidebar_badge+"",n;return{c(){n=we(e)},l(r){n=ke(r,e)},m(r,o){R(r,n,o)},p:Ae,d(r){r&&S(n)}}}function yl(t){var o,i;let e,n,r=t[14].children.length===0&&t[14].href&&(((o=t[14].frontMatter)==null?void 0:o.sidebar_link)!==!1||((i=t[14].frontMatter)==null?void 0:i.sidebar_link)===void 0)&&om(bl(t));return{c(){r&&r.c(),e=ie()},l(l){r&&r.l(l),e=ie()},m(l,u){r&&r.m(l,u),R(l,e,u),n=!0},p(l,u){var a,s;l[14].children.length===0&&l[14].href&&(((a=l[14].frontMatter)==null?void 0:a.sidebar_link)!==!1||((s=l[14].frontMatter)==null?void 0:s.sidebar_link)===void 0)&&r.p(bl(l),u)},i(l){n||(E(r),n=!0)},o(l){I(r),n=!1},d(l){l&&S(e),r&&r.d(l)}}}function am(t){let e,n,r,o,i,l;const u=[sm,um],a=[];function s(h,g){var p,d;return h[14].href&&(((p=h[14].frontMatter)==null?void 0:p.sidebar_link)!==!1||((d=h[14].frontMatter)==null?void 0:d.sidebar_link)===void 0)?0:1}n=s(t),r=a[n]=u[n](t);let c=Be(t[14].children),f=[];for(let h=0;h<c.length;h+=1)f[h]=Ol(pl(t,c,h));const m=h=>I(f[h],1,1,()=>{f[h]=null});return{c(){e=B("div"),r.c(),o=X();for(let h=0;h<f.length;h+=1)f[h].c();i=X(),this.h()},l(h){e=V(h,"DIV",{class:!0});var g=Q(e);r.l(g),o=Y(g);for(let p=0;p<f.length;p+=1)f[p].l(g);i=Y(g),g.forEach(S),this.h()},h(){A(e,"class","flex flex-col pb-6")},m(h,g){R(h,e,g),a[n].m(e,null),U(e,o);for(let p=0;p<f.length;p+=1)f[p]&&f[p].m(e,null);U(e,i),l=!0},p(h,g){if(r.p(h,g),g&192){c=Be(h[14].children);let p;for(p=0;p<c.length;p+=1){const d=pl(h,c,p);f[p]?(f[p].p(d,g),E(f[p],1)):(f[p]=Ol(d),f[p].c(),E(f[p],1),f[p].m(e,i))}for(ve(),p=c.length;p<f.length;p+=1)m(p);ye()}},i(h){if(!l){E(r);for(let g=0;g<c.length;g+=1)E(f[g]);l=!0}},o(h){I(r),f=f.filter(Boolean);for(let g=0;g<f.length;g+=1)I(f[g]);l=!1},d(h){h&&S(e),a[n].d(),It(f,h)}}}function um(t){var u,a;let e,n=(((u=t[14].frontMatter)==null?void 0:u.title)??t[14].label)+"",r,o,i,l=((a=t[14].frontMatter)==null?void 0:a.sidebar_badge)&&cm(t);return{c(){e=B("span"),r=we(n),o=X(),l&&l.c(),this.h()},l(s){e=V(s,"SPAN",{class:!0,href:!0});var c=Q(e);r=ke(c,n),o=Y(c),l&&l.l(c),c.forEach(S),this.h()},h(){A(e,"class","sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize transition-colors duration-100"),A(e,"href",t[14].href)},m(s,c){R(s,e,c),U(e,r),U(e,o),l&&l.m(e,null),i=!0},p(s,c){var f;(f=s[14].frontMatter)!=null&&f.sidebar_badge&&l.p(s,c)},i(s){i||(E(l),i=!0)},o(s){I(l),i=!1},d(s){s&&S(e),l&&l.d()}}}function sm(t){var u,a;let e,n=(((u=t[14].frontMatter)==null?void 0:u.title)??t[14].label)+"",r,o,i,l=((a=t[14].frontMatter)==null?void 0:a.sidebar_badge)&&dm(t);return{c(){e=B("a"),r=we(n),o=X(),l&&l.c(),this.h()},l(s){e=V(s,"A",{class:!0,href:!0});var c=Q(e);r=ke(c,n),o=Y(c),l&&l.l(c),c.forEach(S),this.h()},h(){A(e,"class","sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize transition-colors duration-100"),A(e,"href",t[14].href)},m(s,c){R(s,e,c),U(e,r),U(e,o),l&&l.m(e,null),i=!0},p(s,c){var f;(f=s[14].frontMatter)!=null&&f.sidebar_badge&&l.p(s,c)},i(s){i||(E(l),i=!0)},o(s){I(l),i=!1},d(s){s&&S(e),l&&l.d()}}}function cm(t){let e,n;return e=new Dt({props:{$$slots:{default:[fm]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&268435456&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function fm(t){let e=t[14].frontMatter.sidebar_badge+"",n;return{c(){n=we(e)},l(r){n=ke(r,e)},m(r,o){R(r,n,o)},p:Ae,d(r){r&&S(n)}}}function dm(t){let e,n;return e=new Dt({props:{$$slots:{default:[mm]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&268435456&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function mm(t){let e=t[14].frontMatter.sidebar_badge+"",n;return{c(){n=we(e)},l(r){n=ke(r,e)},m(r,o){R(r,n,o)},p:Ae,d(r){r&&S(n)}}}function hm(t){var u,a;let e,n=(((u=t[14].frontMatter)==null?void 0:u.title)??t[14].label)+"",r,o,i,l=((a=t[14].frontMatter)==null?void 0:a.sidebar_badge)&&pm(t);return{c(){e=B("a"),r=we(n),o=X(),l&&l.c(),this.h()},l(s){e=V(s,"A",{class:!0,href:!0});var c=Q(e);r=ke(c,n),o=Y(c),l&&l.l(c),c.forEach(S),this.h()},h(){A(e,"class","group inline-block py-1 capitalize transition-colors duration-100"),A(e,"href",t[14].href),Se(e,"text-blue-600",t[19]),Se(e,"hover:text-gray-950",!t[19]),Se(e,"hover:text-blue-600",t[19])},m(s,c){R(s,e,c),U(e,r),U(e,o),l&&l.m(e,null),i=!0},p(s,c){var f;(f=s[14].frontMatter)!=null&&f.sidebar_badge&&l.p(s,c),(!i||c&192)&&Se(e,"text-blue-600",s[19]),(!i||c&192)&&Se(e,"hover:text-gray-950",!s[19]),(!i||c&192)&&Se(e,"hover:text-blue-600",s[19])},i(s){i||(E(l),i=!0)},o(s){I(l),i=!1},d(s){s&&S(e),l&&l.d()}}}function pm(t){let e,n;return e=new Dt({props:{$$slots:{default:[gm]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&268435456&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function gm(t){let e=t[14].frontMatter.sidebar_badge+"",n;return{c(){n=we(e)},l(r){n=ke(r,e)},m(r,o){R(r,n,o)},p:Ae,d(r){r&&S(n)}}}function Ol(t){let e,n,r=t[14].href&&hm(gl(t));return{c(){r&&r.c(),e=ie()},l(o){r&&r.l(o),e=ie()},m(o,i){r&&r.m(o,i),R(o,e,i),n=!0},p(o,i){o[14].href&&r.p(gl(o),i)},i(o){n||(E(r),n=!0)},o(o){I(r),n=!1},d(o){o&&S(e),r&&r.d(o)}}}function Sl(t){let e,n,r=t[14].children.length>0&&am(t);return{c(){r&&r.c(),e=ie()},l(o){r&&r.l(o),e=ie()},m(o,i){r&&r.m(o,i),R(o,e,i),n=!0},p(o,i){o[14].children.length>0&&r.p(o,i)},i(o){n||(E(r),n=!0)},o(o){I(r),n=!1},d(o){o&&S(e),r&&r.d(o)}}}function wl(t){let e,n,r,o="Home",i,l,u,a=Be(t[7]),s=[];for(let g=0;g<a.length;g+=1)s[g]=kl(dl(t,a,g));const c=g=>I(s[g],1,1,()=>{s[g]=null});let f=Be(t[7]),m=[];for(let g=0;g<f.length;g+=1)m[g]=jl(sl(t,f,g));const h=g=>I(m[g],1,1,()=>{m[g]=null});return{c(){e=B("div"),n=B("div"),r=B("a"),r.textContent=o,i=X();for(let g=0;g<s.length;g+=1)s[g].c();l=X();for(let g=0;g<m.length;g+=1)m[g].c();this.h()},l(g){e=V(g,"DIV",{class:!0});var p=Q(e);n=V(p,"DIV",{class:!0});var d=Q(n);r=V(d,"A",{class:!0,href:!0,"data-svelte-h":!0}),dt(r)!=="svelte-p1gyq8"&&(r.textContent=o),i=Y(d);for(let k=0;k<s.length;k+=1)s[k].l(d);d.forEach(S),l=Y(p);for(let k=0;k<m.length;k+=1)m[k].l(p);p.forEach(S),this.h()},h(){A(r,"class","sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize hover:underline"),A(r,"href","/"),A(n,"class","flex flex-col pb-6"),A(e,"class","hidden: md:block fixed w-48 top-20 bottom-8 overflow-y-auto flex-1 text-sm text-gray-500 pretty-scrollbar"),Se(e,"top-8",t[4])},m(g,p){R(g,e,p),U(e,n),U(n,r),U(n,i);for(let d=0;d<s.length;d+=1)s[d]&&s[d].m(n,null);U(e,l);for(let d=0;d<m.length;d+=1)m[d]&&m[d].m(e,null);u=!0},p(g,p){if(p&192){a=Be(g[7]);let d;for(d=0;d<a.length;d+=1){const k=dl(g,a,d);s[d]?(s[d].p(k,p),E(s[d],1)):(s[d]=kl(k),s[d].c(),E(s[d],1),s[d].m(n,null))}for(ve(),d=a.length;d<s.length;d+=1)c(d);ye()}if(p&192){f=Be(g[7]);let d;for(d=0;d<f.length;d+=1){const k=sl(g,f,d);m[d]?(m[d].p(k,p),E(m[d],1)):(m[d]=jl(k),m[d].c(),E(m[d],1),m[d].m(e,null))}for(ve(),d=f.length;d<m.length;d+=1)h(d);ye()}(!u||p&16)&&Se(e,"top-8",g[4])},i(g){if(!u){for(let p=0;p<a.length;p+=1)E(s[p]);for(let p=0;p<f.length;p+=1)E(m[p]);u=!0}},o(g){s=s.filter(Boolean);for(let p=0;p<s.length;p+=1)I(s[p]);m=m.filter(Boolean);for(let p=0;p<m.length;p+=1)I(m[p]);u=!1},d(g){g&&S(e),It(s,g),It(m,g)}}}function _m(t){var a,s;let e,n=(((a=t[14].frontMatter)==null?void 0:a.title)??t[14].label)+"",r,o,i,l,u=((s=t[14].frontMatter)==null?void 0:s.sidebar_badge)&&bm(t);return{c(){e=B("a"),r=we(n),o=X(),u&&u.c(),i=X(),this.h()},l(c){e=V(c,"A",{class:!0,href:!0});var f=Q(e);r=ke(f,n),o=Y(f),u&&u.l(f),i=Y(f),f.forEach(S),this.h()},h(){A(e,"class","group inline-block py-1 capitalize transition-all duration-100"),A(e,"href",t[14].href),Se(e,"text-blue-600",t[19]),Se(e,"hover:text-gray-950",!t[19]),Se(e,"hover:text-blue-600",t[19])},m(c,f){R(c,e,f),U(e,r),U(e,o),u&&u.m(e,null),U(e,i),l=!0},p(c,f){var m;(m=c[14].frontMatter)!=null&&m.sidebar_badge&&u.p(c,f),(!l||f&192)&&Se(e,"text-blue-600",c[19]),(!l||f&192)&&Se(e,"hover:text-gray-950",!c[19]),(!l||f&192)&&Se(e,"hover:text-blue-600",c[19])},i(c){l||(E(u),l=!0)},o(c){I(u),l=!1},d(c){c&&S(e),u&&u.d()}}}function bm(t){let e,n;return e=new Dt({props:{$$slots:{default:[vm]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&268435456&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function vm(t){let e=t[14].frontMatter.sidebar_badge+"",n;return{c(){n=we(e)},l(r){n=ke(r,e)},m(r,o){R(r,n,o)},p:Ae,d(r){r&&S(n)}}}function kl(t){var o,i;let e,n,r=t[14].children.length===0&&t[14].href&&(((o=t[14].frontMatter)==null?void 0:o.sidebar_link)!==!1||((i=t[14].frontMatter)==null?void 0:i.sidebar_link)===void 0)&&_m(ml(t));return{c(){r&&r.c(),e=ie()},l(l){r&&r.l(l),e=ie()},m(l,u){r&&r.m(l,u),R(l,e,u),n=!0},p(l,u){var a,s;l[14].children.length===0&&l[14].href&&(((a=l[14].frontMatter)==null?void 0:a.sidebar_link)!==!1||((s=l[14].frontMatter)==null?void 0:s.sidebar_link)===void 0)&&r.p(ml(l),u)},i(l){n||(E(r),n=!0)},o(l){I(r),n=!1},d(l){l&&S(e),r&&r.d(l)}}}function ym(t){let e,n,r,o,i,l;const u=[Sm,Om],a=[];function s(h,g){var p,d;return h[14].href&&(((p=h[14].frontMatter)==null?void 0:p.sidebar_link)!==!1||((d=h[14].frontMatter)==null?void 0:d.sidebar_link)===void 0)?0:1}n=s(t),r=a[n]=u[n](t);let c=Be(t[14].children),f=[];for(let h=0;h<c.length;h+=1)f[h]=El(cl(t,c,h));const m=h=>I(f[h],1,1,()=>{f[h]=null});return{c(){e=B("div"),r.c(),o=X();for(let h=0;h<f.length;h+=1)f[h].c();i=X(),this.h()},l(h){e=V(h,"DIV",{class:!0});var g=Q(e);r.l(g),o=Y(g);for(let p=0;p<f.length;p+=1)f[p].l(g);i=Y(g),g.forEach(S),this.h()},h(){A(e,"class","flex flex-col pb-6")},m(h,g){R(h,e,g),a[n].m(e,null),U(e,o);for(let p=0;p<f.length;p+=1)f[p]&&f[p].m(e,null);U(e,i),l=!0},p(h,g){if(r.p(h,g),g&192){c=Be(h[14].children);let p;for(p=0;p<c.length;p+=1){const d=cl(h,c,p);f[p]?(f[p].p(d,g),E(f[p],1)):(f[p]=El(d),f[p].c(),E(f[p],1),f[p].m(e,i))}for(ve(),p=c.length;p<f.length;p+=1)m(p);ye()}},i(h){if(!l){E(r);for(let g=0;g<c.length;g+=1)E(f[g]);l=!0}},o(h){I(r),f=f.filter(Boolean);for(let g=0;g<f.length;g+=1)I(f[g]);l=!1},d(h){h&&S(e),a[n].d(),It(f,h)}}}function Om(t){var u,a;let e,n=(((u=t[14].frontMatter)==null?void 0:u.title)??t[14].label)+"",r,o,i,l=((a=t[14].frontMatter)==null?void 0:a.sidebar_badge)&&wm(t);return{c(){e=B("span"),r=we(n),o=X(),l&&l.c(),this.h()},l(s){e=V(s,"SPAN",{class:!0,href:!0});var c=Q(e);r=ke(c,n),o=Y(c),l&&l.l(c),c.forEach(S),this.h()},h(){A(e,"class","sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize"),A(e,"href",t[14].href)},m(s,c){R(s,e,c),U(e,r),U(e,o),l&&l.m(e,null),i=!0},p(s,c){var f;(f=s[14].frontMatter)!=null&&f.sidebar_badge&&l.p(s,c)},i(s){i||(E(l),i=!0)},o(s){I(l),i=!1},d(s){s&&S(e),l&&l.d()}}}function Sm(t){var u,a;let e,n=(((u=t[14].frontMatter)==null?void 0:u.title)??t[14].label)+"",r,o,i,l=((a=t[14].frontMatter)==null?void 0:a.sidebar_badge)&&Em(t);return{c(){e=B("a"),r=we(n),o=X(),l&&l.c(),this.h()},l(s){e=V(s,"A",{class:!0,href:!0});var c=Q(e);r=ke(c,n),o=Y(c),l&&l.l(c),c.forEach(S),this.h()},h(){A(e,"class","sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group block capitalize hover:underline"),A(e,"href",t[14].href)},m(s,c){R(s,e,c),U(e,r),U(e,o),l&&l.m(e,null),i=!0},p(s,c){var f;(f=s[14].frontMatter)!=null&&f.sidebar_badge&&l.p(s,c)},i(s){i||(E(l),i=!0)},o(s){I(l),i=!1},d(s){s&&S(e),l&&l.d()}}}function wm(t){let e,n;return e=new Dt({props:{$$slots:{default:[km]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&268435456&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function km(t){let e=t[14].frontMatter.sidebar_badge+"",n;return{c(){n=we(e)},l(r){n=ke(r,e)},m(r,o){R(r,n,o)},p:Ae,d(r){r&&S(n)}}}function Em(t){let e,n;return e=new Dt({props:{$$slots:{default:[jm]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&268435456&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function jm(t){let e=t[14].frontMatter.sidebar_badge+"",n;return{c(){n=we(e)},l(r){n=ke(r,e)},m(r,o){R(r,n,o)},p:Ae,d(r){r&&S(n)}}}function Im(t){var u,a;let e,n=(((u=t[14].frontMatter)==null?void 0:u.title)??t[14].label)+"",r,o,i,l=((a=t[14].frontMatter)==null?void 0:a.sidebar_badge)&&Pm(t);return{c(){e=B("a"),r=we(n),o=X(),l&&l.c(),this.h()},l(s){e=V(s,"A",{href:!0,class:!0});var c=Q(e);r=ke(c,n),o=Y(c),l&&l.l(c),c.forEach(S),this.h()},h(){A(e,"href",t[14].href),A(e,"class","group inline-block py-1 capitalize transition-all duration-100"),Se(e,"text-blue-600",t[19]),Se(e,"hover:text-blue-600",t[19]),Se(e,"hover:text-gray-950",!t[19])},m(s,c){R(s,e,c),U(e,r),U(e,o),l&&l.m(e,null),i=!0},p(s,c){var f;(f=s[14].frontMatter)!=null&&f.sidebar_badge&&l.p(s,c),(!i||c&192)&&Se(e,"text-blue-600",s[19]),(!i||c&192)&&Se(e,"hover:text-blue-600",s[19]),(!i||c&192)&&Se(e,"hover:text-gray-950",!s[19])},i(s){i||(E(l),i=!0)},o(s){I(l),i=!1},d(s){s&&S(e),l&&l.d()}}}function Pm(t){let e,n;return e=new Dt({props:{$$slots:{default:[Cm]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,o){const i={};o&268435456&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function Cm(t){let e=t[14].frontMatter.sidebar_badge+"",n;return{c(){n=we(e)},l(r){n=ke(r,e)},m(r,o){R(r,n,o)},p:Ae,d(r){r&&S(n)}}}function El(t){var o,i;let e,n,r=t[14].href&&(((o=t[14].frontMatter)==null?void 0:o.sidebar_link)!==!1||((i=t[14].frontMatter)==null?void 0:i.sidebar_link)===void 0)&&Im(fl(t));return{c(){r&&r.c(),e=ie()},l(l){r&&r.l(l),e=ie()},m(l,u){r&&r.m(l,u),R(l,e,u),n=!0},p(l,u){var a,s;l[14].href&&(((a=l[14].frontMatter)==null?void 0:a.sidebar_link)!==!1||((s=l[14].frontMatter)==null?void 0:s.sidebar_link)===void 0)&&r.p(fl(l),u)},i(l){n||(E(r),n=!0)},o(l){I(r),n=!1},d(l){l&&S(e),r&&r.d(l)}}}function jl(t){let e,n,r=t[14].children.length>0&&ym(t);return{c(){r&&r.c(),e=ie()},l(o){r&&r.l(o),e=ie()},m(o,i){r&&r.m(o,i),R(o,e,i),n=!0},p(o,i){o[14].children.length>0&&r.p(o,i)},i(o){n||(E(r),n=!0)},o(o){I(r),n=!1},d(o){o&&S(e),r&&r.d(o)}}}function Il(t){let e,n='<a href="https://www.evidence.dev" class="bg-gradient-to-r inline-block text-gray-950 antialiased font-medium">Built with Evidence</a>';return{c(){e=B("div"),e.innerHTML=n,this.h()},l(r){e=V(r,"DIV",{class:!0,"data-svelte-h":!0}),dt(e)!=="svelte-t1ujau"&&(e.innerHTML=n),this.h()},h(){A(e,"class","fixed bottom-0 text-xs py-2")},m(r,o){R(r,e,o)},d(r){r&&S(e)}}}function Dm(t){let e,n,r,o,i,l=t[0]&&vl(t),u=!t[0]&&wl(t),a=t[3]&&Il();return{c(){l&&l.c(),e=X(),n=B("aside"),u&&u.c(),r=X(),a&&a.c(),this.h()},l(s){l&&l.l(s),e=Y(s),n=V(s,"ASIDE",{class:!0});var c=Q(n);u&&u.l(c),r=Y(c),a&&a.l(c),c.forEach(S),this.h()},h(){A(n,"class",o="w-48 flex-none "+(t[5]==="hide"?"hidden":"hidden md:flex"))},m(s,c){l&&l.m(s,c),R(s,e,c),R(s,n,c),u&&u.m(n,null),U(n,r),a&&a.m(n,null),i=!0},p(s,[c]){s[0]?l?(l.p(s,c),c&1&&E(l,1)):(l=vl(s),l.c(),E(l,1),l.m(e.parentNode,e)):l&&(ve(),I(l,1,1,()=>{l=null}),ye()),s[0]?u&&(ve(),I(u,1,1,()=>{u=null}),ye()):u?(u.p(s,c),c&1&&E(u,1)):(u=wl(s),u.c(),E(u,1),u.m(n,r)),s[3]?a||(a=Il(),a.c(),a.m(n,null)):a&&(a.d(1),a=null),(!i||c&32&&o!==(o="w-48 flex-none "+(s[5]==="hide"?"hidden":"hidden md:flex")))&&A(n,"class",o)},i(s){i||(E(l),E(u),i=!0)},o(s){I(l),I(u),i=!1},d(s){s&&(S(e),S(n)),l&&l.d(s),u&&u.d(),a&&a.d()}}}function Fa(t){Object.keys(t.children).forEach(function(e){Fa(t.children[e]),!t.children[e].label&&!t.children[e].href&&delete t.children[e]})}function qa(t){return t.children=Object.values(t.children).sort((e,n)=>{var r,o,i,l;return!isNaN((r=e.frontMatter)==null?void 0:r.sidebar_position)&&!isNaN((o=n.frontMatter)==null?void 0:o.sidebar_position)?e.frontMatter.sidebar_position-n.frontMatter.sidebar_position||e.label.localeCompare(n.label):isNaN((i=e.frontMatter)==null?void 0:i.sidebar_position)?isNaN((l=n.frontMatter)==null?void 0:l.sidebar_position)?e.label.localeCompare(n.label):1:-1}),t.children.forEach(qa),t}function Am(t,e,n){let r;et(t,wr,k=>n(6,r=k));let{fileTree:o=void 0}=e,{title:i=void 0}=e,{logo:l=void 0}=e,{builtWithEvidence:u=void 0}=e,{hideHeader:a=!1}=e,{sidebarFrontMatter:s=void 0}=e;o=structuredClone(o),Fa(o),o=qa(o);let c=o==null?void 0:o.children,{mobileSidebarOpen:f=!1}=e;mu(()=>{{let k=document.querySelector("#mobileScrollable");f?tu(k):eu(k)}});const m=()=>n(0,f=!1),h=()=>n(0,f=!1),g=()=>{n(0,f=!1)},p=()=>n(0,f=!1),d=()=>n(0,f=!1);return t.$$set=k=>{"fileTree"in k&&n(8,o=k.fileTree),"title"in k&&n(1,i=k.title),"logo"in k&&n(2,l=k.logo),"builtWithEvidence"in k&&n(3,u=k.builtWithEvidence),"hideHeader"in k&&n(4,a=k.hideHeader),"sidebarFrontMatter"in k&&n(5,s=k.sidebarFrontMatter),"mobileSidebarOpen"in k&&n(0,f=k.mobileSidebarOpen)},[f,i,l,u,a,s,r,c,o,m,h,g,p,d]}class Tm extends Pe{constructor(e){super(),Ce(this,e,Am,Dm,Ie,{fileTree:8,title:1,logo:2,builtWithEvidence:3,hideHeader:4,sidebarFrontMatter:5,mobileSidebarOpen:0})}}function Pl(t,e,n){const r=t.slice();return r[4]=e[n],r}function Cl(t){let e,n="On this page",r,o,i=Be(t[0]),l=[];for(let u=0;u<i.length;u+=1)l[u]=Dl(Pl(t,i,u));return{c(){e=B("span"),e.textContent=n,r=X();for(let u=0;u<l.length;u+=1)l[u].c();o=ie(),this.h()},l(u){e=V(u,"SPAN",{class:!0,"data-svelte-h":!0}),dt(e)!=="svelte-pfe38l"&&(e.textContent=n),r=Y(u);for(let a=0;a<l.length;a+=1)l[a].l(u);o=ie(),this.h()},h(){A(e,"class","block text-xs sticky top-0 mb-2 text-gray-950 bg-white shadow-white font-medium")},m(u,a){R(u,e,a),R(u,r,a);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(u,a);R(u,o,a)},p(u,a){if(a&1){i=Be(u[0]);let s;for(s=0;s<i.length;s+=1){const c=Pl(u,i,s);l[s]?l[s].p(c,a):(l[s]=Dl(c),l[s].c(),l[s].m(o.parentNode,o))}for(;s<l.length;s+=1)l[s].d(1);l.length=i.length}},d(u){u&&(S(e),S(r),S(o)),It(l,u)}}}function Dl(t){let e,n=t[4].innerText+"",r,o,i,l;return{c(){e=B("a"),r=we(n),o=X(),this.h()},l(u){e=V(u,"A",{href:!0,class:!0});var a=Q(e);r=ke(a,n),o=Y(a),a.forEach(S),this.h()},h(){A(e,"href",i="#"+t[4].id),A(e,"class",l=wo(t[4].nodeName.toLowerCase())+" svelte-onnikr")},m(u,a){R(u,e,a),U(e,r),U(e,o)},p(u,a){a&1&&n!==(n=u[4].innerText+"")&&wt(r,n),a&1&&i!==(i="#"+u[4].id)&&A(e,"href",i),a&1&&l!==(l=wo(u[4].nodeName.toLowerCase())+" svelte-onnikr")&&A(e,"class",l)},d(u){u&&S(e)}}}function Mm(t){let e,n=t[0]&&t[0].length>1&&Cl(t);return{c(){n&&n.c(),e=ie()},l(r){n&&n.l(r),e=ie()},m(r,o){n&&n.m(r,o),R(r,e,o)},p(r,[o]){r[0]&&r[0].length>1?n?n.p(r,o):(n=Cl(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:Ae,o:Ae,d(r){r&&S(e),n&&n.d(r)}}}function Nm(t,e,n){let r=[],o;function i(){n(0,r=Array.from(document.querySelectorAll("h1.markdown, h2.markdown, h3.markdown")))}function l(){return o=new MutationObserver(()=>{i()}),r.forEach(u=>{o.observe(u,{subtree:!0,characterData:!0,childList:!0})}),o}return ro(()=>{i(),o=l()}),hu(()=>{o==null||o.disconnect()}),[r]}class Rm extends Pe{constructor(e){super(),Ce(this,e,Nm,Mm,Ie,{})}}function Al(t){let e,n,r;return n=new Rm({}),{c(){e=B("div"),le(n.$$.fragment),this.h()},l(o){e=V(o,"DIV",{class:!0});var i=Q(e);ae(n.$$.fragment,i),i.forEach(S),this.h()},h(){A(e,"class","fixed w-48 top-20 bottom-20 pl-4 px-3 overflow-auto pretty-scrollbar"),Se(e,"top-8",t[0])},m(o,i){R(o,e,i),ue(n,e,null),r=!0},p(o,i){(!r||i&1)&&Se(e,"top-8",o[0])},i(o){r||(E(n.$$.fragment,o),r=!0)},o(o){I(n.$$.fragment,o),r=!1},d(o){o&&S(e),se(n)}}}function Lm(t){let e,n,r=!t[1]&&t[2].data.isUserPage&&Al(t);return{c(){e=B("aside"),r&&r.c(),this.h()},l(o){e=V(o,"ASIDE",{class:!0});var i=Q(e);r&&r.l(i),i.forEach(S),this.h()},h(){A(e,"class","hidden lg:block w-48")},m(o,i){R(o,e,i),r&&r.m(e,null),n=!0},p(o,[i]){!o[1]&&o[2].data.isUserPage?r?(r.p(o,i),i&6&&E(r,1)):(r=Al(o),r.c(),E(r,1),r.m(e,null)):r&&(ve(),I(r,1,1,()=>{r=null}),ye())},i(o){n||(E(r),n=!0)},o(o){I(r),n=!1},d(o){o&&S(e),r&&r.d()}}}function Hm(t,e,n){let r,o;et(t,xl,l=>n(1,r=l)),et(t,wr,l=>n(2,o=l));let{hideHeader:i=!1}=e;return t.$$set=l=>{"hideHeader"in l&&n(0,i=l.hideHeader)},[i,r,o]}class Fm extends Pe{constructor(e){super(),Ce(this,e,Hm,Lm,Ie,{hideHeader:0})}}function Tl(t,e,n){const r=t.slice();return r[3]=e[n],r[5]=n,r}function qm(t){let e,n=t[3].title+"",r,o,i;return{c(){e=B("a"),r=we(n),o=X(),this.h()},l(l){e=V(l,"A",{href:!0,class:!0});var u=Q(e);r=ke(u,n),o=Y(u),u.forEach(S),this.h()},h(){A(e,"href",i=t[3].href),A(e,"class","hover:underline")},m(l,u){R(l,e,u),U(e,r),U(e,o)},p(l,u){u&1&&n!==(n=l[3].title+"")&&wt(r,n),u&1&&i!==(i=l[3].href)&&A(e,"href",i)},i:Ae,o:Ae,d(l){l&&S(e)}}}function Um(t){let e,n,r,o;e=new nn({props:{src:vu,size:"12px",theme:"solid"}});function i(a,s){return a[3].href?Vm:Bm}let l=i(t),u=l(t);return{c(){le(e.$$.fragment),n=X(),u.c(),r=ie()},l(a){ae(e.$$.fragment,a),n=Y(a),u.l(a),r=ie()},m(a,s){ue(e,a,s),R(a,n,s),u.m(a,s),R(a,r,s),o=!0},p(a,s){l===(l=i(a))&&u?u.p(a,s):(u.d(1),u=l(a),u&&(u.c(),u.m(r.parentNode,r)))},i(a){o||(E(e.$$.fragment,a),o=!0)},o(a){I(e.$$.fragment,a),o=!1},d(a){a&&(S(n),S(r)),se(e,a),u.d(a)}}}function Bm(t){let e,n=t[3].title+"",r;return{c(){e=B("span"),r=we(n),this.h()},l(o){e=V(o,"SPAN",{class:!0});var i=Q(e);r=ke(i,n),i.forEach(S),this.h()},h(){A(e,"class","cursor-default")},m(o,i){R(o,e,i),U(e,r)},p(o,i){i&1&&n!==(n=o[3].title+"")&&wt(r,n)},d(o){o&&S(e)}}}function Vm(t){let e,n=t[3].title+"",r,o;return{c(){e=B("a"),r=we(n),this.h()},l(i){e=V(i,"A",{href:!0,class:!0});var l=Q(e);r=ke(l,n),l.forEach(S),this.h()},h(){A(e,"href",o=t[3].href),A(e,"class","hover:underline")},m(i,l){R(i,e,l),U(e,r)},p(i,l){l&1&&n!==(n=i[3].title+"")&&wt(r,n),l&1&&o!==(o=i[3].href)&&A(e,"href",o)},d(i){i&&S(e)}}}function Ml(t){let e,n,r,o;const i=[Um,qm],l=[];function u(a,s){return a[5]>0?0:1}return e=u(t),n=l[e]=i[e](t),{c(){n.c(),r=ie()},l(a){n.l(a),r=ie()},m(a,s){l[e].m(a,s),R(a,r,s),o=!0},p(a,s){n.p(a,s)},i(a){o||(E(n),o=!0)},o(a){I(n),o=!1},d(a){a&&S(r),l[e].d(a)}}}function Wm(t){let e,n,r,o=Be(t[0]),i=[];for(let u=0;u<o.length;u+=1)i[u]=Ml(Tl(t,o,u));const l=u=>I(i[u],1,1,()=>{i[u]=null});return{c(){e=B("div"),n=B("div");for(let u=0;u<i.length;u+=1)i[u].c();this.h()},l(u){e=V(u,"DIV",{class:!0});var a=Q(e);n=V(a,"DIV",{class:!0});var s=Q(n);for(let c=0;c<i.length;c+=1)i[c].l(s);s.forEach(S),a.forEach(S),this.h()},h(){A(n,"class","inline-flex items-center text-sm capitalize gap-1 text-gray-500 mb-2 sm:mb-4"),A(e,"class","flex items-start mt-0 whitespace-nowrap overflow-auto")},m(u,a){R(u,e,a),U(e,n);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(n,null);r=!0},p(u,[a]){if(a&1){o=Be(u[0]);let s;for(s=0;s<o.length;s+=1){const c=Tl(u,o,s);i[s]?(i[s].p(c,a),E(i[s],1)):(i[s]=Ml(c),i[s].c(),E(i[s],1),i[s].m(n,null))}for(ve(),s=o.length;s<i.length;s+=1)l(s);ye()}},i(u){if(!r){for(let a=0;a<o.length;a+=1)E(i[a]);r=!0}},o(u){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)I(i[a]);r=!1},d(u){u&&S(e),It(i,u)}}}function Km(t,e){if(t==="/")return e;const n=t.split("/").slice(1);let r=e;for(let o of n)if(r.children[o]?r=r.children[o]:r=Object.values(r.children).find(i=>i.isTemplated),!r)return null;return r}function zm(t,e){const n=[{href:"/",title:"Home"}];t.forEach((r,o)=>{r!=""&&n.push({href:"/"+t.slice(0,o+1).join("/"),title:decodeURIComponent(r.replace(/_/g," ").replace(/-/g," "))})}),n.length>3&&n.splice(1,n.length-3,{href:n.slice(-3)[0].href,title:"..."});for(const r of n){const o=Km(r.href,e);!o||!o.isPage?r.href=null:r.title=o.title??r.title}return n}function Qm(t,e,n){let r,o;et(t,wr,l=>n(2,o=l));let{fileTree:i}=e;return t.$$set=l=>{"fileTree"in l&&n(1,i=l.fileTree)},t.$$.update=()=>{t.$$.dirty&6&&n(0,r=zm(o.url.pathname.split("/").slice(1),i))},[r,i,o]}class Jm extends Pe{constructor(e){super(),Ce(this,e,Qm,Wm,Ie,{fileTree:1})}}function Nl(t){let e,n,r,o="Error",i,l,u,a,s,c='<a href="https://docs.evidence.dev" target="”_blank”" class="text-gray-300 hover:text-white transition-colors duration-200">docs</a> <a href="https://evidencedev.slack.com/join/shared_invite/zt-uda6wp6a-hP6Qyz0LUOddwpXW5qG03Q#/shared-invite/email" target="”_blank”" class="text-gray-300 hover:text-white transition-colors duration-200">slack</a> <a href="mailto:support@evidence.dev" class="text-gray-300 hover:text-white transition-colors duration-200">email</a>',f,m,h;return{c(){e=B("div"),n=B("div"),r=B("h1"),r.textContent=o,i=X(),l=B("p"),u=we(t[1]),a=X(),s=B("div"),s.innerHTML=c,this.h()},l(g){e=V(g,"DIV",{class:!0});var p=Q(e);n=V(p,"DIV",{class:!0});var d=Q(n);r=V(d,"H1",{class:!0,"data-svelte-h":!0}),dt(r)!=="svelte-2bfyuv"&&(r.textContent=o),i=Y(d),l=V(d,"P",{class:!0});var k=Q(l);u=ke(k,t[1]),k.forEach(S),a=Y(d),s=V(d,"DIV",{class:!0,"data-svelte-h":!0}),dt(s)!=="svelte-1qoirto"&&(s.innerHTML=c),d.forEach(S),p.forEach(S),this.h()},h(){A(r,"class","text-2xl font-bold tracking-wide text-gray-200 border-b pb-4 border-gray-800"),A(l,"class","text-xl text-gray-200 mt-6 leading-relaxed select-text"),A(s,"class","absolute bottom-0 flex items-end gap-4 text-lg mb-6"),A(n,"class","relative min-w-full h-screen bg-gradient-to-b from-black/95 to-gray-900/90 border-t-red-600 rounded-lg border-t-8 border-red-600 shadow-xl p-8"),A(e,"class","fixed flex flex-col z-50 h-screen w-screen bg-gray-900/80 justify-center items-center py-20 px-10 sm:px-20 select-none backdrop-blur-sm")},m(g,p){R(g,e,p),U(e,n),U(n,r),U(n,i),U(n,l),U(l,u),U(n,a),U(n,s),h=!0},p(g,p){(!h||p&2)&&wt(u,g[1])},i(g){h||(g&&Ot(()=>{h&&(f||(f=jt(n,Nn,{y:100,duration:300},!0)),f.run(1))}),g&&Ot(()=>{h&&(m||(m=jt(e,Rn,{duration:100},!0)),m.run(1))}),h=!0)},o(g){g&&(f||(f=jt(n,Nn,{y:100,duration:300},!1)),f.run(0)),g&&(m||(m=jt(e,Rn,{duration:100},!1)),m.run(0)),h=!1},d(g){g&&S(e),g&&f&&f.end(),g&&m&&m.end()}}}function xm(t){let e,n=t[0]&&Nl(t);return{c(){n&&n.c(),e=ie()},l(r){n&&n.l(r),e=ie()},m(r,o){n&&n.m(r,o),R(r,e,o)},p(r,[o]){r[0]?n?(n.p(r,o),o&1&&E(n,1)):(n=Nl(r),n.c(),E(n,1),n.m(e.parentNode,e)):n&&(ve(),I(n,1,1,()=>{n=null}),ye())},i(r){E(n)},o(r){I(n)},d(r){r&&S(e),n&&n.d(r)}}}function Gm(t,e,n){return[!1,void 0]}class Zm extends Pe{constructor(e){super(),Ce(this,e,Gm,xm,Ie,{})}}const Xm=t=>({}),Rl=t=>({});function Ll(t){let e,n,r;function o(l){t[25](l)}let i={title:t[0],logo:t[1],neverShowQueries:t[2],fullWidth:t[3],maxWidth:t[10],hideSidebar:t[4],githubRepo:t[7],slackCommunity:t[9],xProfile:t[8],algolia:t[6],sidebarFrontMatter:t[14]};return t[17]!==void 0&&(i.mobileSidebarOpen=t[17]),e=new Xd({props:i}),st.push(()=>Jl(e,"mobileSidebarOpen",o)),{c(){le(e.$$.fragment)},l(l){ae(e.$$.fragment,l)},m(l,u){ue(e,l,u),r=!0},p(l,u){const a={};u&1&&(a.title=l[0]),u&2&&(a.logo=l[1]),u&4&&(a.neverShowQueries=l[2]),u&8&&(a.fullWidth=l[3]),u&1024&&(a.maxWidth=l[10]),u&16&&(a.hideSidebar=l[4]),u&128&&(a.githubRepo=l[7]),u&512&&(a.slackCommunity=l[9]),u&256&&(a.xProfile=l[8]),u&64&&(a.algolia=l[6]),u&16384&&(a.sidebarFrontMatter=l[14]),!n&&u&131072&&(n=!0,a.mobileSidebarOpen=l[17],Ql(()=>n=!1)),e.$set(a)},i(l){r||(E(e.$$.fragment,l),r=!0)},o(l){I(e.$$.fragment,l),r=!1},d(l){se(e,l)}}}function Hl(t){let e,n,r,o;function i(u){t[26](u)}let l={fileTree:t[19],title:t[0],logo:t[1],builtWithEvidence:t[5],hideHeader:t[12],sidebarFrontMatter:t[14]};return t[17]!==void 0&&(l.mobileSidebarOpen=t[17]),n=new Tm({props:l}),st.push(()=>Jl(n,"mobileSidebarOpen",i)),{c(){e=B("div"),le(n.$$.fragment),this.h()},l(u){e=V(u,"DIV",{class:!0});var a=Q(e);ae(n.$$.fragment,a),a.forEach(S),this.h()},h(){A(e,"class","print:hidden")},m(u,a){R(u,e,a),ue(n,e,null),o=!0},p(u,a){const s={};a&1&&(s.title=u[0]),a&2&&(s.logo=u[1]),a&32&&(s.builtWithEvidence=u[5]),a&4096&&(s.hideHeader=u[12]),a&16384&&(s.sidebarFrontMatter=u[14]),!r&&a&131072&&(r=!0,s.mobileSidebarOpen=u[17],Ql(()=>r=!1)),n.$set(s)},i(u){o||(E(n.$$.fragment,u),o=!0)},o(u){I(n.$$.fragment,u),o=!1},d(u){u&&S(e),se(n)}}}function Fl(t){let e,n,r=t[15].route.id!=="/settings"&&ql(t);return{c(){e=B("div"),r&&r.c(),this.h()},l(o){e=V(o,"DIV",{class:!0});var i=Q(e);r&&r.l(i),i.forEach(S),this.h()},h(){A(e,"class","print:hidden")},m(o,i){R(o,e,i),r&&r.m(e,null),n=!0},p(o,i){o[15].route.id!=="/settings"?r?(r.p(o,i),i&32768&&E(r,1)):(r=ql(o),r.c(),E(r,1),r.m(e,null)):r&&(ve(),I(r,1,1,()=>{r=null}),ye())},i(o){n||(E(r),n=!0)},o(o){I(r),n=!1},d(o){o&&S(e),r&&r.d()}}}function ql(t){let e,n;return e=new Jm({props:{fileTree:t[19]}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p:Ae,i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function Ym(t){let e,n;return e=new tm({}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p:Ae,i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function $m(t){let e,n;const r=t[24].content,o=Re(r,t,t[23],Rl);return{c(){e=B("article"),o&&o.c(),this.h()},l(i){e=V(i,"ARTICLE",{id:!0,class:!0});var l=Q(e);o&&o.l(l),l.forEach(S),this.h()},h(){A(e,"id","evidence-main-article"),A(e,"class","select-text markdown pb-10")},m(i,l){R(i,e,l),o&&o.m(e,null),n=!0},p(i,l){o&&o.p&&(!n||l&8388608)&&Le(o,r,i,i[23],n?Fe(r,i[23],l,Xm):He(i[23]),Rl)},i(i){n||(E(o,i),n=!0)},o(i){I(o,i),n=!1},d(i){i&&S(e),o&&o.d(i)}}}function Ul(t){let e,n,r;return n=new Fm({props:{hideHeader:t[12]}}),{c(){e=B("div"),le(n.$$.fragment),this.h()},l(o){e=V(o,"DIV",{class:!0});var i=Q(e);ae(n.$$.fragment,i),i.forEach(S),this.h()},h(){A(e,"class","print:hidden")},m(o,i){R(o,e,i),ue(n,e,null),r=!0},p(o,i){const l={};i&4096&&(l.hideHeader=o[12]),n.$set(l)},i(o){r||(E(n.$$.fragment,o),r=!0)},o(o){I(n.$$.fragment,o),r=!1},d(o){o&&S(e),se(n)}}}function Bl(t){let e,n;return e=new $d({}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function eh(t){let e,n,r,o,i,l,u,a,s,c,f,m,h,g,p,d,k,T=!t[16]&&fr&&!t[15].url.pathname.startsWith("/settings"),P,C;const _=t[24].default,j=Re(_,t,t[23],null);n=new Js({}),i=new Zm({});let b=!t[12]&&Ll(t),N=!t[4]&&t[14]!=="never"&&Hl(t),L=!t[11]&&Fl(t);const F=[$m,Ym],J=[];function D(y,z){return y[16]?1:0}m=D(t),h=J[m]=F[m](t);let w=!t[13]&&Ul(t),O=T&&Bl();return{c(){j&&j.c(),e=X(),le(n.$$.fragment),r=X(),o=B("div"),le(i.$$.fragment),l=X(),b&&b.c(),u=X(),a=B("div"),N&&N.c(),s=X(),c=B("main"),L&&L.c(),f=X(),h.c(),p=X(),w&&w.c(),k=X(),O&&O.c(),P=ie(),this.h()},l(y){j&&j.l(y),e=Y(y),ae(n.$$.fragment,y),r=Y(y),o=V(y,"DIV",{"data-sveltekit-preload-data":!0,class:!0});var z=Q(o);ae(i.$$.fragment,z),l=Y(z),b&&b.l(z),u=Y(z),a=V(z,"DIV",{class:!0,style:!0});var ce=Q(a);N&&N.l(ce),s=Y(ce),c=V(ce,"MAIN",{class:!0});var x=Q(c);L&&L.l(x),f=Y(x),h.l(x),x.forEach(S),p=Y(ce),w&&w.l(ce),ce.forEach(S),z.forEach(S),k=Y(y),O&&O.l(y),P=ie(),this.h()},h(){A(c,"class",g=(t[4]?"":"md:pl-8 ")+(t[13]?"":"md:pr-8 ")+(t[12]?t[11]?" mt-4 sm:mt-[26px] ":" mt-4 sm:mt-8 ":t[11]?" mt-16 sm:mt-[74px] ":" mt-16 sm:mt-20 ")+"flex-grow overflow-x-hidden print:px-0 print:mt-8"),A(a,"class",d=(t[3]?"max-w-full ":t[10]?"":" max-w-7xl ")+"print:w-[650px] print:md:w-[841px] mx-auto print:md:px-0 print:px-0 px-6 sm:px-8 md:px-12 flex justify-start"),mr(a,"max-width",t[10]+"px"),A(o,"data-sveltekit-preload-data",t[18]),A(o,"class","antialiased text-gray-900")},m(y,z){j&&j.m(y,z),R(y,e,z),ue(n,y,z),R(y,r,z),R(y,o,z),ue(i,o,null),U(o,l),b&&b.m(o,null),U(o,u),U(o,a),N&&N.m(a,null),U(a,s),U(a,c),L&&L.m(c,null),U(c,f),J[m].m(c,null),U(a,p),w&&w.m(a,null),R(y,k,z),O&&O.m(y,z),R(y,P,z),C=!0},p(y,[z]){j&&j.p&&(!C||z&8388608)&&Le(j,_,y,y[23],C?Fe(_,y[23],z,null):He(y[23]),null),y[12]?b&&(ve(),I(b,1,1,()=>{b=null}),ye()):b?(b.p(y,z),z&4096&&E(b,1)):(b=Ll(y),b.c(),E(b,1),b.m(o,u)),!y[4]&&y[14]!=="never"?N?(N.p(y,z),z&16400&&E(N,1)):(N=Hl(y),N.c(),E(N,1),N.m(a,s)):N&&(ve(),I(N,1,1,()=>{N=null}),ye()),y[11]?L&&(ve(),I(L,1,1,()=>{L=null}),ye()):L?(L.p(y,z),z&2048&&E(L,1)):(L=Fl(y),L.c(),E(L,1),L.m(c,f));let ce=m;m=D(y),m===ce?J[m].p(y,z):(ve(),I(J[ce],1,1,()=>{J[ce]=null}),ye(),h=J[m],h?h.p(y,z):(h=J[m]=F[m](y),h.c()),E(h,1),h.m(c,null)),(!C||z&14352&&g!==(g=(y[4]?"":"md:pl-8 ")+(y[13]?"":"md:pr-8 ")+(y[12]?y[11]?" mt-4 sm:mt-[26px] ":" mt-4 sm:mt-8 ":y[11]?" mt-16 sm:mt-[74px] ":" mt-16 sm:mt-20 ")+"flex-grow overflow-x-hidden print:px-0 print:mt-8"))&&A(c,"class",g),y[13]?w&&(ve(),I(w,1,1,()=>{w=null}),ye()):w?(w.p(y,z),z&8192&&E(w,1)):(w=Ul(y),w.c(),E(w,1),w.m(a,null)),(!C||z&1032&&d!==(d=(y[3]?"max-w-full ":y[10]?"":" max-w-7xl ")+"print:w-[650px] print:md:w-[841px] mx-auto print:md:px-0 print:px-0 px-6 sm:px-8 md:px-12 flex justify-start"))&&A(a,"class",d),(!C||z&1024)&&mr(a,"max-width",y[10]+"px"),z&98304&&(T=!y[16]&&fr&&!y[15].url.pathname.startsWith("/settings")),T?O?z&98304&&E(O,1):(O=Bl(),O.c(),E(O,1),O.m(P.parentNode,P)):O&&(ve(),I(O,1,1,()=>{O=null}),ye())},i(y){C||(E(j,y),E(n.$$.fragment,y),E(i.$$.fragment,y),E(b),E(N),E(L),E(h),E(w),E(O),C=!0)},o(y){I(j,y),I(n.$$.fragment,y),I(i.$$.fragment,y),I(b),I(N),I(L),I(h),I(w),I(O),C=!1},d(y){y&&(S(e),S(r),S(o),S(k),S(P)),j&&j.d(y),se(n,y),se(i),b&&b.d(),N&&N.d(),L&&L.d(),J[m].d(),w&&w.d(),O&&O.d(y)}}}function th(t){const e=new Map;function n(r){if(r){if(r.href){const o=decodeURI(r.href);e.set(o,r)}Object.values(r.children).forEach(n)}}return n(t),e}function nh(t,e,n){let r,o,i,l,u;et(t,wr,O=>n(15,l=O)),et(t,xl,O=>n(16,u=O));let{$$slots:a={},$$scope:s}=e;{const O=document.getElementById("__evidence_project_splash");O==null||O.remove()}let{data:c}=e,{title:f=void 0}=e,{logo:m=void 0}=e,{neverShowQueries:h=!1}=e,{fullWidth:g=!1}=e,{hideSidebar:p=!1}=e,{builtWithEvidence:d=!1}=e,{algolia:k=void 0}=e,{githubRepo:T=void 0}=e,{xProfile:P=void 0}=e,{slackCommunity:C=void 0}=e,{maxWidth:_=void 0}=e,{hideBreadcrumbs:j=!1}=e,{hideHeader:b=!1}=e,{hideTOC:N=!1}=e;const L="hover";let F=!1,J=c==null?void 0:c.pagesManifest;function D(O){F=O,n(17,F),n(16,u)}function w(O){F=O,n(17,F),n(16,u)}return t.$$set=O=>{"data"in O&&n(20,c=O.data),"title"in O&&n(0,f=O.title),"logo"in O&&n(1,m=O.logo),"neverShowQueries"in O&&n(2,h=O.neverShowQueries),"fullWidth"in O&&n(3,g=O.fullWidth),"hideSidebar"in O&&n(4,p=O.hideSidebar),"builtWithEvidence"in O&&n(5,d=O.builtWithEvidence),"algolia"in O&&n(6,k=O.algolia),"githubRepo"in O&&n(7,T=O.githubRepo),"xProfile"in O&&n(8,P=O.xProfile),"slackCommunity"in O&&n(9,C=O.slackCommunity),"maxWidth"in O&&n(10,_=O.maxWidth),"hideBreadcrumbs"in O&&n(11,j=O.hideBreadcrumbs),"hideHeader"in O&&n(12,b=O.hideHeader),"hideTOC"in O&&n(13,N=O.hideTOC),"$$scope"in O&&n(23,s=O.$$scope)},t.$$.update=()=>{var O;t.$$.dirty&65536&&u&&n(17,F=!1),t.$$.dirty&4227072&&n(21,o=(O=r.get(l.route.id))==null?void 0:O.frontMatter),t.$$.dirty&2097152&&n(14,i=o==null?void 0:o.sidebar),t.$$.dirty&16384&&(["show","hide","never"].includes(i)||n(14,i=void 0))},n(22,r=th(J)),[f,m,h,g,p,d,k,T,P,C,_,j,b,N,i,l,u,F,L,J,c,o,r,s,a,D,w]}class rh extends Pe{constructor(e){super(),Ce(this,e,nh,eh,Ie,{data:20,title:0,logo:1,neverShowQueries:2,fullWidth:3,hideSidebar:4,builtWithEvidence:5,algolia:6,githubRepo:7,xProfile:8,slackCommunity:9,maxWidth:10,hideBreadcrumbs:11,hideHeader:12,hideTOC:13})}}const oh=t=>({}),Vl=t=>({slot:"content"});function ih(t){let e;const n=t[1].default,r=Re(n,t,t[2],Vl);return{c(){r&&r.c()},l(o){r&&r.l(o)},m(o,i){r&&r.m(o,i),e=!0},p(o,i){r&&r.p&&(!e||i&4)&&Le(r,n,o,o[2],e?Fe(n,o[2],i,oh):He(o[2]),Vl)},i(o){e||(E(r,o),e=!0)},o(o){I(r,o),e=!1},d(o){r&&r.d(o)}}}function lh(t){let e,n;return e=new rh({props:{data:t[0],$$slots:{content:[ih]},$$scope:{ctx:t}}}),{c(){le(e.$$.fragment)},l(r){ae(e.$$.fragment,r)},m(r,o){ue(e,r,o),n=!0},p(r,[o]){const i={};o&1&&(i.data=r[0]),o&4&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i(r){n||(E(e.$$.fragment,r),n=!0)},o(r){I(e.$$.fragment,r),n=!1},d(r){se(e,r)}}}function ah(t,e,n){let{$$slots:r={},$$scope:o}=e,{data:i}=e;return t.$$set=l=>{"data"in l&&n(0,i=l.data),"$$scope"in l&&n(2,o=l.$$scope)},[i,r,o]}class yh extends Pe{constructor(e){super(),Ce(this,e,ah,lh,Ie,{data:0})}}export{yh as component,vh as universal};