PageSourceSearch

https://bolt.earth/_next/static/chunks/4536-c2d9316c702a5038.js

js bolt.earth collected 2026-10-01 12:33:01 UTC 11,790 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="788c4d0c-6f43-4ca6-ac0f-0899185e2139",e._sentryDebugIdIdentifier="sentry-dbid-788c4d0c-6f43-4ca6-ac0f-0899185e2139")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4536],{13385:(e,t,l)=>{l.d(t,{A:()=>o});var r=l(37876),s=l(27964),a=l(13215),n=l(41797),i=l(61705);let o=e=>{let t,l,o,c,d,x,m,u,p,h,g,f,b,y,v,w=(0,s.c)(32);w[0]!==e?({label:c,required:x,error:l,hint:o,rows:m,variant:u,className:t,textareaClassName:p,...d}=e,w[0]=e,w[1]=t,w[2]=l,w[3]=o,w[4]=c,w[5]=d,w[6]=x,w[7]=m,w[8]=u,w[9]=p):(t=w[1],l=w[2],o=w[3],c=w[4],d=w[5],x=w[6],m=w[7],u=w[8],p=w[9]);let j=void 0===m?4:m,N=void 0===u?"box":u;w[10]!==t?(h=(0,a.cn)("flex flex-col gap-1.5 lg:gap-2",t),w[10]=t,w[11]=h):h=w[11],w[12]!==c||w[13]!==x?(g=c&&(0,r.jsx)(n.dh,{required:x,children:c}),w[12]=c,w[13]=x,w[14]=g):g=w[14];let E=!!l;return w[15]!==l||w[16]!==p||w[17]!==N?(f=(0,a.cn)((0,i.$)({variant:N,invalid:!!l}),"resize-y",p),w[15]=l,w[16]=p,w[17]=N,w[18]=f):f=w[18],w[19]!==d||w[20]!==j||w[21]!==E||w[22]!==f?(b=(0,r.jsx)("textarea",{rows:j,"aria-invalid":E,className:f,...d}),w[19]=d,w[20]=j,w[21]=E,w[22]=f,w[23]=b):b=w[23],w[24]!==l||w[25]!==o?(y=(0,r.jsx)(n.ih,{error:l,hint:o}),w[24]=l,w[25]=o,w[26]=y):y=w[26],w[27]!==h||w[28]!==g||w[29]!==b||w[30]!==y?(v=(0,r.jsxs)("label",{className:h,children:[g,b,y]}),w[27]=h,w[28]=g,w[29]=b,w[30]=y,w[31]=v):v=w[31],v}},14555:(e,t,l)=>{l.d(t,{A:()=>d});var r=l(37876),s=l(27964),a=l(14232),n=l(13215),i=l(33552),o=l(95871),c=l(85845);function d(e){let t,l,d,m,u,p,h,g,f,b,y,v,w,j,N,E,k,A,C=(0,s.c)(54),{faqs:_,filters:S,searchable:q,fontWeightShift:L}=e,z=void 0!==q&&q,D=void 0===L?0:L;C[0]!==D?(t=e=>(0,n.uD)(e,D),C[0]=D,C[1]=t):t=C[1];let F=t,[I,Q]=(0,a.useState)("All Questions"),[T,W]=(0,a.useState)(0),[B,M]=(0,a.useState)("");C[2]!==_||C[3]!==I?(l="All Questions"===I?_:_.filter(e=>e.topics.includes(I)),C[2]=_,C[3]=I,C[4]=l):l=C[4];let R=l;C[5]!==R||C[6]!==B||C[7]!==z?(d=z?((e,t)=>{let l=t.toLowerCase().split(/\s+/).filter(Boolean);return 0===l.length?e:e.filter(e=>{let t=[e.question,...[].concat(e.answer)].join(" ").toLowerCase();return l.every(e=>t.includes(e))})})(R,B):R,C[5]=R,C[6]=B,C[7]=z,C[8]=d):d=C[8];let U=d;C[9]!==T?(m=e=>{W(T===e?null:e)},C[9]=T,C[10]=m):m=C[10];let G=m;C[11]===Symbol.for("react.memo_cache_sentinel")?(u=e=>{Q(e),W(0)},C[11]=u):u=C[11];let Z=u;C[12]===Symbol.for("react.memo_cache_sentinel")?(p=e=>{M(e),W(0)},C[12]=p):p=C[12];let $=p;if(C[13]!==F?(h=(0,n.cn)("text-custom-gray-medium mb-6 text-xl lg:text-2xl",F("font-bold")),C[13]=F,C[14]=h):h=C[14],C[15]!==h?(g=(0,r.jsx)("p",{className:h,children:"Frequently Asked Questions"}),C[15]=h,C[16]=g):g=C[16],C[17]!==B||C[18]!==z?(f=z&&(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(c.A,{value:B,onChange:$,placeholder:"Search Questions"})}),C[17]=B,C[18]=z,C[19]=f):f=C[19],C[20]!==S?(b=["All Questions",...S],C[20]=S,C[21]=b):b=C[21],C[22]!==I||C[23]!==b||C[24]!==F?(y=(0,r.jsx)("div",{className:"mb-6 flex flex-wrap gap-2.5",children:b.map(e=>(0,r.jsx)("button",{onClick:()=>Z(e),className:(0,n.cn)("text-custom-gray-primary rounded-[8px] border-2 p-2 text-sm transition-all lg:p-3 lg:text-base lg:leading-[34px]",I===e?(0,n.cn)("border-primary bg-[#E0F4E4]",F("font-bold")):(0,n.cn)("border-[#E5E5E5] hover:bg-neutral-100",F("font-semibold"))),children:e},e))}),C[22]=I,C[23]=b,C[24]=F,C[25]=y):y=C[25],C[26]!==F?(v=(0,n.cn)("text-primary text-base leading-[34px]! uppercase",F("font-extrabold")),C[26]=F,C[27]=v):v=C[27],C[28]!==I||C[29]!==v?(w=(0,r.jsx)("div",{className:"border-primary rounded-t-xl border-b bg-[#E0F4E4] p-4 lg:px-10 lg:py-4",children:(0,r.jsx)("h2",{className:v,children:I})}),C[28]=I,C[29]=v,C[30]=w):w=C[30],C[31]!==U.length||C[32]!==B?(j=0===U.length&&(0,r.jsxs)("p",{className:"text-custom-gray-primary px-4 py-6 text-sm lg:px-10 lg:py-8",children:["No questions match “",B.trim(),"”. Try another word or a different topic."]}
1),C[31]=U.length,C[32]=B,C[33]=j):j=C[33],C[34]!==T||C[35]!==U||C[36]!==G||C[37]!==F){let e;C[39]!==T||C[40]!==G||C[41]!==F?(e=(e,t)=>(0,r.jsxs)("div",{className:"border-b border-[#E5E5E5] px-4 py-5 last:border-b-0 lg:px-10 lg:py-6",children:[(0,r.jsxs)("button",{className:(0,n.cn)("overflow-hidden transition-all duration-300 ease-in-out","flex w-full items-center justify-between gap-x-[44px] text-left",T===t&&"pb-3"),onClick:()=>G(t),children:[(0,r.jsx)("h3",{className:(0,n.cn)("text-sm leading-[1.7em] text-black lg:leading-[34px]!",F("font-bold")),children:e.question}),T===t?(0,r.jsx)(i.A,{className:"text-primary h-5 min-h-[20px] w-5 min-w-[20px]"}):(0,r.jsx)(o.A,{className:"text-custom-gray-primary h-5 min-h-[20px] w-5 min-w-[20px]"})]}),(0,r.jsx)("div",{className:(0,n.cn)("overflow-hidden pr-[44px] transition-all duration-300",T===t?"max-h-[500px] opacity-100":"max-h-0 opacity-0"),children:(0,r.jsx)("div",{className:"text-custom-gray-primary flex flex-col gap-2 text-sm",children:[].concat(e.answer).map(x)})})]},t),C[39]=T,C[40]=G,C[41]=F,C[42]=e):e=C[42],N=U.map(e),C[34]=T,C[35]=U,C[36]=G,C[37]=F,C[38]=N}else N=C[38];return C[43]!==j||C[44]!==N?(E=(0,r.jsxs)("div",{className:"rounded-b-xl border border-t-0 border-[#E5E5E5]",children:[j,N]}),C[43]=j,C[44]=N,C[45]=E):E=C[45],C[46]!==w||C[47]!==E?(k=(0,r.jsxs)("div",{children:[w,E]}),C[46]=w,C[47]=E,C[48]=k):k=C[48],C[49]!==g||C[50]!==f||C[51]!==y||C[52]!==k?(A=(0,r.jsxs)("div",{className:"container mx-auto mb-[84px]",children:[g,f,y,k]}),C[49]=g,C[50]=f,C[51]=y,C[52]=k,C[53]=A):A=C[53],A}function x(e){return(0,r.jsx)("p",{children:e},e)}},15819:(e,t,l)=>{l.d(t,{Gt:()=>c,y:()=>x,y2:()=>d});var r=l(37876),s=l(27964),a=l(7940),n=l(13215),i=l(54587),o=l.n(i);
1let c="flex flex-col gap-4 rounded-2xl bg-canopy-grey p-4 lg:gap-3 lg:rounded-3xl lg:p-8",d=e=>{let t,l,a,n,i,o,c=(0,s.c)(15),{icon:d,title:x,body:m,aside:u}=e;return c[0]!==d?(t=d&&(0,r.jsx)(d,{className:"text-secondary h-6 w-6 shrink-0 lg:h-7 lg:w-7"}),c[0]=d,c[1]=t):t=c[1],c[2]!==x?(l=(0,r.jsx)("h2",{className:"font-heading text-custom-gray-primary text-[16px] font-semibold lg:text-[20px]",children:x}),c[2]=x,c[3]=l):l=c[3],c[4]!==u?(a=u&&(0,r.jsx)("span",{className:"ml-auto shrink-0",children:u}),c[4]=u,c[5]=a):a=c[5],c[6]!==t||c[7]!==l||c[8]!==a?(n=(0,r.jsxs)("div",{className:"flex items-center gap-2.5",children:[t,l,a]}),c[6]=t,c[7]=l,c[8]=a,c[9]=n):n=c[9],c[10]!==m?(i=m&&(0,r.jsx)("p",{className:"text-custom-gray-medium text-[12px] leading-[20px] lg:text-[14px]",children:m}),c[10]=m,c[11]=i):i=c[11],c[12]!==n||c[13]!==i?(o=(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[n,i]}),c[12]=n,c[13]=i,c[14]=o):o=c[14],o},x=e=>{let t,l,i,d,x,m=(0,s.c)(12),{title:u,body:p,children:h,className:g}=e;return m[0]!==g?(t=(0,n.cn)(c,"items-center gap-4 text-center lg:gap-4",g),m[0]=g,m[1]=t):t=m[1],m[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,r.jsx)(o(),{src:"".concat(a.ZU,"/images/icons/success.svg"),alt:"",width:226,height:206,className:"h-auto w-[120px] lg:w-[150px]"}),m[2]=l):l=m[2],m[3]!==u?(i=(0,r.jsx)("h2",{className:"font-heading text-custom-gray-primary text-[20px] leading-[1.3] font-medium lg:text-[28px]",children:u}),m[3]=u,m[4]=i):i=m[4],m[5]!==p?(d=(0,r.jsx)("p",{className:"text-custom-gray-medium max-w-[420px] text-[13px] leading-[1.6] lg:text-[15px]",children:p}),m[5]=p,m[6]=d):d=m[6],m[7]!==h||m[8]!==t||m[9]!==i||m[10]!==d?(x=(0,r.jsxs)("div",{className:t,children:[l,i,d,h]}),m[7]=h,m[8]=t,m[9]=i,m[10]=d,m[11]=x):x=m[11],x}},85845:(e,t,l)=>{l.d(t,{A:()=>o});var r=l(37876),s=l(27964),a=l(14232),n=l(13215),i=l(47348);let o=e=>{let t,l,o,c,d,x,m,u,p,h,g,f,b,y,v,w,j,N=(0,s.c)(40),{value:E,onChange:k,placeholder:A,collapsible:C,className:_}=e,S=void 0===A?"Search for a topic or keyword":A,q=void 0!==C&&C,[L,z]=(0,a.useState)(!1),[D,F]=(0,a.useState)(!1),I=(0,a.useRef)(null),Q=(0,a.useRef)(null);N[0]!==E?(t=E.trim(),N[0]=E,N[1]=t):t=N[1];let T=t.length>0,W=q&&L&&!D,B=q&&L&&D;N[2]!==q?(l=()=>{if(!q)return;let e=()=>z(window.innerWidth<640);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},o=[q],N[2]=q,N[3]=l,N[4]=o):(l=N[3],o=N[4]),(0,a.useEffect)(l,o),N[5]!==L?(c=()=>{L||F(!1)},d=[L],N[5]=L,N[6]=c,N[7]=d):(c=N[6],d=N[7]),(0,a.useEffect)(c,d),N[8]!==B?(x=()=>{if(!B)return;let e=e=>{var t;(null==(t=I.current)?void 0:t.contains(e.target))||F(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},m=[B],N[8]=B,N[9]=x,N[10]=m):(x=N[9],m=N[10]),(0,a.useEffect)(x,m),N[11]!==B?(u=()=>{B&&requestAnimationFrame(()=>{var e;return null==(e=Q.current)?void 0:e.focus()})},p=[B],N[11]=B,N[12]=u,N[13]=p):(u=N[12],p=N[13]),(0,a.useEffect)(u,p),N[14]!==W?(h=()=>W&&F(!0),N[14]=W,N[15]=h):h=N[15],N[16]!==_||N[17]!==W||N[18]!==q||N[19]!==T?(g=(0,n.cn)("focus-within:border-primary flex h-10 items-center gap-3 overflow-hidden rounded-full border border-[#A5A5A5] bg-white transition-all duration-300 ease-out",q?["absolute top-0 left-0 z-20",W?"w-10 cursor-pointer justify-center px-0":"w-full px-5","sm:static sm:z-auto sm:w-auto sm:flex-1 sm:px-5 lg:max-w-[679px]",W&&T&&"bg-[#EAF8EC]"]:"w-full px-5",_),N[16]=_,N[17]=W,N[18]=q,N[19]=T,N[20]=g):g=N[20],N[21]===Symbol.for("react.memo_cache_sentinel")?(f=(0,r.jsx)(i.A,{width:18,height:18,className:"shrink-0 text-[#202020]"}),N[21]=f):f=N[21],N[22]!==k?(b=e=>k(e.target.value),N[22]=k,N[23]=b):b=N[23];let M=W&&"hidden";return N[24]!==M?(y=(0,n.cn)("min-w-0 flex-1 bg-transparent text-sm text-[#202020] outline-hidden placeholder:text-[#808080]",M),N[24]=M,N[25]=y):y=N[25],N[26]!==S||N[27]!==b||N[28]!==y||N[29]!==E?(v=(0,r.jsx)("input",{ref:Q,type:"text",value:E,onChange:b,placeholder:S,"aria-label":S,className:y}),N[26]=S,N[27]=b,N[28]=y,N[29]=E,N[30]=v):v=N[30],N[31]!==W||N[32]!==k||N[33]!==E?(w=E&&!W&&(0,r.jsx)("button",{type:"button",onClick:()=>k(""),"aria-label":"Clear search",className:"flex shrink-0 cursor-pointer items-center text-[#9ca3af] transition-colors hover:text-[#4b5563]",children:(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M18 6 6 18M6 6l12 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})}),N[31]=W,N[32]=k,N[33]=E,N[34]=w):w=N[34],N[35]!==h||N[36]!==g||N[37]!==v||N[38]!==w?(j=(0,r.jsxs)("div",{ref:I,onClick:h,className:g,children:[f,v,w]}),N[35]=h,N[36]=g,N[37]=v,N[38]=w,N[39]=j):j=N[39],j}},95292:(e,t,l)=>{l.d(t,{Ay:()=>c,kU:()=>o});var r=l(37876),s=l(27964),a=l(399),n=l(13215),i=l(41797);let o=e=>e.map(e=>({value:e,label:e})),c=e=>{let t,l,o,c,d,x,m,u,p,h,g,f,b,y=(0,s.c)(27);
1y[0]!==e?({label:d,required:x,error:l,hint:c,full:o,className:t,...m}=e,y[0]=e,y[1]=t,y[2]=l,y[3]=o,y[4]=c,y[5]=d,y[6]=x,y[7]=m):(t=y[1],l=y[2],o=y[3],c=y[4],d=y[5],x=y[6],m=y[7]);let v=o&&"lg:col-span-2";y[8]!==t||y[9]!==v?(u=(0,n.cn)("flex flex-col gap-1.5 lg:gap-2",v,t),y[8]=t,y[9]=v,y[10]=u):u=y[10],y[11]!==d||y[12]!==x?(p=d&&(0,r.jsx)(i.dh,{required:x,children:d}),y[11]=d,y[12]=x,y[13]=p):p=y[13];let w=l&&"border-alert-red";return y[14]!==w?(h=(0,n.cn)("h-11 rounded-xl border border-custom-gray-lighter px-4 py-3 lg:h-12",w),y[14]=w,y[15]=h):h=y[15],y[16]!==m||y[17]!==h?(g=(0,r.jsx)(a.A,{className:"gap-0",triggerClassName:h,valueClassName:"text-[14px] font-normal",optionClassName:"px-4 py-2.5 text-[14px] font-normal",...m}),y[16]=m,y[17]=h,y[18]=g):g=y[18],y[19]!==l||y[20]!==c?(f=(0,r.jsx)(i.ih,{error:l,hint:c}),y[19]=l,y[20]=c,y[21]=f):f=y[21],y[22]!==u||y[23]!==p||y[24]!==g||y[25]!==f?(b=(0,r.jsxs)("div",{className:u,children:[p,g,f]}),y[22]=u,y[23]=p,y[24]=g,y[25]=f,y[26]=b):b=y[26],b}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.