PageSourceSearch

https://www.honeybear.ai/_next/static/chunks/4301-98ab27cb4407c087.js?dpl=dpl_EZnoAEeXS6j6zJVCKtnSW4qjHcvq

js honeybear.ai collected 2026-10-04 16:09:59 UTC 20,543 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4301],{5946:function(e,t,n){n.d(t,{D2:function(){return a},FM:function(){return s},IJ:function(){return l},Tf:function(){return i},_W:function(){return c},iH:function(){return o},tm:function(){return u}});var r=n(46632);n(59366);let o=async(e,t,n)=>{try{let o=await r.default.post(n+"/pdf/delete",{user_id:e,file_id:t});if(console.log("response from /pdf/delete",o),200===o.data.status)return{status:200};if(400===o.data.status)return{status:400}}catch(e){return console.log("/pdf/delete error",e),null}},s=async(e,t,n)=>{try{let o=await r.default.post(n+"/videos/delete",{user_id:e,file_id:t});if(console.log("response from /videos/delete",o),200===o.data.status)return{status:200};if(400===o.data.status)return{status:400}}catch(e){return console.log("/videos/delete error",e),null}},i=async(e,t,n)=>{try{let o=await r.default.post(n+"/pdf/delete_generation",{user_id:e,generation_id:t});if(console.log("response from /pdf/delete_generation",o),200===o.data.status)return{status:200};if(401===o.data.status)return{status:401}}catch(e){return console.log("/pdf/delete_generation error",e),null}},l=async(e,t,n,o)=>{try{let s=await r.default.post(o+"/pdf/rename",{new_name:e.toString(),user_id:t.toString(),file_id:n.toString()});if(console.log("response from /pdf/rename",s),200===s.status)return{status:200};if(400===s.status)return{status:400}}catch(e){return console.log("/pdf/rename error",e),null}},a=async(e,t,n,o)=>{try{let s=await r.default.post(o+"/videos/rename",{new_name:e.toString(),user_id:t.toString(),file_id:n.toString()});if(console.log("response from /videos/rename",s),200===s.status)return{status:200};if(400===s.status)return{status:400}}catch(e){return console.log("/videos/rename error",e),null}},c=async(e,t,n,o)=>{try{let s=await r.default.post(o+"/pdf/rename_generation",{new_generation_title:e.toString(),user_id:t.toString(),generation_id:n.toString()});if(console.log("response from /pdf/rename_generation",s),200===s.status)return{status:200};if(401===s.status)return{status:401}}catch(e){return console.log("/pdf/rename_generation error",e),null}},u=async(e,t)=>{try{let n=await r.default.post(t+"/delete_user",{user_id:e.toString()});if(console.log("response from /delete_user",n),200===n.data.status)return{status:200};if(401===n.data.status)return{status:401}}catch(e){return console.log("/delete_user error",e),null}}},92745:function(e,t){t.Z={fonts:{serif:"var(--font-eb-garamond), Georgia, 'Times New Roman', serif"},colors:{lightGray:"rgba(241,241,241,1)",darkGray:"rgba(226,226,226,1)",gray:"rgba(233.5,233.5,233.5,1)",white:"rgba(255,255,255,1)",black:"rgba(0,0,0,1)",orange200:"#FBD38D",orange300:"#F6AD55",orange400:"#ED8936",orange500:"#DD6B20",orange600:"#C05621",darkYellow2:"#bf9000",blue400:"#4299E1",beigeWarm:"#FCFCEE",darkBlack:"#141414",darkGreen:"#135D54",lightPurple:"#E8D5F8"}}},12763:function(e,t,n){var r=n(67842),o=n(21990),s=n(38578),i=n(71289),l=n(28102),a=n(56795),c=n(38879),u=n(61236),d=n(45208),g=n(74680),p=n(32342),h=n(12165),x=n(91785),f=n(77419);n(89992);var m=n(21296),j=n(61939),S=n(47277),b=n(5946),y=n(24997),I=n(65350);t.Z=e=>{let{isOpenDelete1:t,onCloseDelete1:n,userID:C}=e,[w,v]=(0,o.useState)(!1),_=(0,s.p)();(0,m.I0)();let k=(0,j.useRouter)(),E=(0,I.a)(),{t:R}=(0,S.$G)(),{serverIPs:O,setServerIPs:P,isDev:L}=(0,y.b)(),z=async()=>{v(!0),await (0,b.tm)(C,O.SERVER_IP).then(e=>{if(v(!1),null===e)_({title:R("Oops, something went wrong. Please try again."),status:"error",duration:5e3,isClosable:!0});else if(401===e.status)_({title:R("User not found. Please try again."),status:"error",duration:5e3,isClosable:!0});else if(200===e.status){_({title:R("Your account has been deleted."),status:"success",duration:5e3,isClosable:!0}),E.logout();let e=localStorage.getItem("isUploadExceeded")?JSON.parse(localStorage.getItem("isUploadExceeded")):null,t=localStorage.getItem("isChatExceeded")?JSON.parse(localStorage.getItem("isChatExceeded")):null;localStorage.clear(),null!==e&&localStorage.setItem("isUploadExceeded",JSON.stringify(e)),null!==t&&localStorage.setItem("isChatExceeded",JSON.stringify(t)),k.push("/"),window.location.reload(),n()}})};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(i.u_,{isOpen:t,onClose:n,isCentered:!0,size:"xl",children:[(0,r.jsx)(l.Z,{}),(0,r.jsxs)(a.h,{borderRadius:"1rem",p:"0.75rem",h:"18rem",w:"26rem",overflowY:"auto",position:"relative",children:[(0,r.jsx)(c.x,{position:"absolute",top:"10px",right:"10px",zIndex:999,children:(0,r.jsx)(u.P,{size:"md",onClick:n,bg:"transparent",borderRadius:"50%",_hover:{bg:"gray.200",borderRadius:"50%"}})}),(0,r.jsx)(d.k,{alignItems:"center",justifyContent:"space-between",p:4,children:(0,r.jsxs)(g.g,{align:"center",width:"100%",spacing:4,children:[(0,r.jsx)(p.x,{fontSize:"xl",fontWeight:"bold",children:R("Are You Sure?")}),(0,r.jsx)(p.x,{fontSize:"sm",fontWeight:"light",textAlign:"center",children:R("Your account and all its data will be deleted.")}),(0,r.jsxs)(p.x,{fontSize:"lg",fontWeight:"light",textAlign:"center",children:[R("Note:")," ",(0,r.jsx)(p.x,{as:"span",fontWeight:"bold",children:R("You cannot sign up with the same email again")})]})]})}),(0,r.jsx)(h.f,{children:(0,r.jsx)(x.K,{spacing:4,children:(0,r.jsx)(x.K,{spacing:10,pt:4,children:(0,r.jsx)(f.z,{loadingText:"Submitting",size:"lg",isLoading:w,bg:"red.400",color:"white",onClick:z,_hover:{bg:"red.500"},children:R("Delete Account")}
1)})})})]})]})})}},109:function(e,t,n){n.d(t,{Z:function(){return W}});var r=n(67842),o=n(97936),s=n(28102),i=n(49519),l=n(74680),a=n(77419),c=n(53323),u=n(75791),d=n(19856),g=n(45208),p=n(93475),h=n(70282),x=n(52089),f=n(8731),m=n(59327),j=n(59870),S=n(32342),b=n(14729),y=n(38879),I=n(44631),C=n(79781),w=n(47852),v=n(61939),_=n(21990),k=n(21296),E=n(89488),R=n(41387),O=n(32966),P=n(67733),L=n(12763),z=n(19675),D=n(47277);n(3468);var U=n(94149),N=n(97206),T=n(78684),J=n(24997),V=n(65350),Z=n(18006);n(92745);let G=e=>{let{isOpen:t,onClose:n,navigateToFeatures:c,navigateToTestimonials:u,t:d,buttonStyle:g,onOpenSignUpScreen1:p}=e;return(0,r.jsx)(o.dy,{isOpen:t,placement:"left",onClose:n,children:(0,r.jsx)(s.Z,{children:(0,r.jsx)(i.s,{children:(0,r.jsxs)(l.g,{p:5,spacing:4,align:"flex-start",children:[(0,r.jsx)(a.z,{onClick:()=>{c(),n()},height:"100%",sx:g,children:d("Features")}),(0,r.jsx)(a.z,{onClick:()=>{u(),n()},height:"100%",sx:g,children:d("Testimonials")}),(0,r.jsx)(a.z,{onClick:()=>{window.open("https://forms.gle/eGhBU5LbJ4HStiPv9","_blank"),n()},height:"100%",sx:g,children:d("Share")}),(0,r.jsx)(a.z,{onClick:()=>{p(),n()},height:"100%",sx:g,children:"Sign Up"})]})})})})};function W(e){let{onToggleSidePanel:t=null,profileImage:n,firstName:o,lastName:s,showSearchBar:i=!0,navigateToTestimonials:W=null,navigateToFeatures:M=null,homeRoute:F="/?tab=pdfs"}=e,B=(0,v.useRouter)(),q=(0,k.I0)(),{t:H}=(0,D.$G)(),{colorMode:Y,toggleColorMode:A}=(0,c.If)(),{isOpen:K,onOpen:$,onClose:X}=(0,u.q)(),{isOpen:Q,onOpen:ee,onClose:et}=(0,u.q)(),{isOpen:en,onOpen:er,onClose:eo}=(0,u.q)(),es=(0,V.a)(),ei=(0,d.S)({base:"base",sm:"sm",md:"md",lg:"lg",xl:"xl"}),el="base"===ei||"sm"===ei,{isOpen:ea,onOpen:ec,onClose:eu}=(0,u.q)(),{isOpen:ed,onOpen:eg,onClose:ep}=(0,u.q)(),eh=(0,k.v9)(e=>e.documents.savedDocuments);(0,k.v9)(e=>e.settings.isProPlan);let{serverIPs:ex,setServerIPs:ef,isDev:em}=(0,J.b)(),ej=em?"https://devnew.honeybear.ai":"https://www.honeybear.ai",eS="/?tab=pdfs"!==F?ej+F:ej,eb=(0,O.TS)(F),ey={background:"transparent",color:"initial",fontWeight:"500",paddingX:"1rem",paddingY:"0.5rem",_hover:{background:"transparent",color:"blue"}},eI={background:"transparent",color:"initial",_hover:{background:"transparent",color:"blue"}},eC=(0,_.useCallback)(()=>{eg()},[eg]),ew=(0,_.useCallback)(()=>{ep()},[ep]),ev=(0,_.useMemo)(()=>(0,r.jsx)(G,{isOpen:ed,onClose:ew,navigateToFeatures:M,navigateToTestimonials:W,t:H,buttonStyle:ey,onOpenSignUpScreen1:$}),[ed,ew,M,W,H]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)(g.k,{borderBottomWidth:.2,position:"fixed",top:0,width:"100%",px:"0.8rem",as:"header",backgroundColor:"dark"===Y?"black":"white",zIndex:"1000",height:el?"3.5rem":"4rem",alignItems:"center",children:[el?(0,r.jsx)(g.k,{flexGrow:1,width:es.isLoggedIn?"33%":"45%",alignItems:"center",justifyContent:"flex-start",children:(0,r.jsx)("a",{href:"vid"===localStorage.getItem("feature")?eS+"/vid":eS,rel:"noopener noreferrer",children:(0,r.jsx)(h.E,{src:"/Official_Logo_Honeybear.jpg",alt:"Logo",height:"34px",ml:es.isLoggedIn&&!el?"0.8rem":"0.3rem"})})}):(0,r.jsxs)(g.k,{flexGrow:1,width:es.isLoggedIn?"33%":"45%",alignItems:"center",justifyContent:"flex-start",children:[es.isLoggedIn?(0,r.jsx)(p.h,{"aria-label":"Menu",icon:(0,r.jsx)(w.U,{}),variant:"ghost",sx:{_hover:{background:"transparent"}},onClick:()=>{null!==t?t():q((0,U.Rp)())}}):null,(0,r.jsx)("a",{href:"vid"===localStorage.getItem("feature")?eS+"/vid":eS,rel:"noopener noreferrer",children:(0,r.jsx)(h.E,{src:"/Official_Logo_Honeybear.jpg",alt:"Logo",height:"34px",ml:es.isLoggedIn?"0.8rem":"0.3rem"})}),es.isLoggedIn&&JSON.parse(localStorage.getItem("isProPlan"))&&!JSON.parse(localStorage.getItem("isProPlanByDomain"))?(0,r.jsx)(x.C,{colorScheme:"purple",variant:"solid",fontSize:"0.7em",borderRadius:"5",px:"2",py:"1",ml:2,mt:"1px",boxShadow:"0px 1px 6px -1px rgba(0, 0, 0, 0.1), 0px 1px 6px -1px rgba(0, 0, 0, 0.1)",children:"Pro"}):null]}),el?null:(0,r.jsx)(g.k,{flexGrow:1,justifyContent:"center",width:!el&&es.isLoggedIn?"33%":"55%",children:es.isLoggedIn&&null!==eh&&eh.length>0?(0,r.jsx)(z.Z,{}):null}),(0,r.jsxs)(g.k,{flexGrow:1,justifyContent:"flex-end",width:!el&&es.isLoggedIn?"33%":"55%",bg
1:"white",height:"100%",alignItems:"center",children:[es.isLoggedIn||el||null===localStorage.getItem("documents")||0!==(0,T.te)().length||null===M?null:(0,r.jsx)(a.z,{onClick:M,height:"100%",sx:eI,children:H("Features")}),es.isLoggedIn||el||null===localStorage.getItem("documents")||0!==(0,T.te)().length||null===W?null:(0,r.jsx)(a.z,{onClick:W,height:"100%",sx:eI,children:H("Testimonials")}),!el&&(null!==localStorage.getItem("documents")&&0!==(0,T.te)().length||null!==eh&&eh.length>0)||null===W?(0,r.jsx)(Z.ew,{route:F,style:{display:"inline-block"},children:(0,r.jsx)(a.z,{height:"100%",sx:eI,children:H("Home")})}):null,el?null:(0,r.jsx)(Z.ew,{route:"/?tab=pdfs"!==F?"/pricing?from=".concat(encodeURIComponent(F)):"/pricing",style:{display:"inline-block"},children:(0,r.jsx)(a.z,{height:"100%",sx:eI,children:H("Pricing")})}),(0,r.jsxs)(f.v,{children:[es.isLoggedIn?(0,r.jsx)(m.j,{as:a.z,variant:"subtle",height:"100%",background:"transparent",leftIcon:es.isLoggedIn?(0,r.jsx)(j.q,{name:o+" "+s,size:"sm"}):(0,r.jsx)(P.HHm,{size:"1.5rem"}),children:es.isLoggedIn&&!el?(0,r.jsx)(S.x,{ml:"0.2rem",children:o}):null}):el?(0,r.jsx)(p.h,{"aria-label":"Open Menu",icon:(0,r.jsx)(w.U,{}),onClick:eC,variant:"ghost"}):(0,r.jsx)(a.z,{alignSelf:"center",rounded:"full",px:6,ml:"0.75rem",colorScheme:"black",bgGradient:"linear(to-r, gray.800, gray.900)",_hover:{bgGradient:"linear(to-r, gray.800, black)",boxShadow:"lg"},onClick:$,children:H("Sign Up")}),(0,r.jsxs)(b.q,{minWidth:"25rem",children:[(0,r.jsx)(y.x,{px:7,py:5,borderBottomWidth:"1px",mb:3,children:(0,r.jsxs)(I.U,{spacing:5,align:"flex-start",children:[(0,r.jsx)(j.q,{name:o+" "+s,size:"lg"}),(0,r.jsxs)(l.g,{align:"flex-start",spacing:3,children:[(0,r.jsxs)(S.x,{fontWeight:"bold",fontSize:"lg",children:[o," ",s]}),(0,r.jsx)(S.x,{fontSize:"md",children:localStorage.getItem("email")}),JSON.parse(localStorage.getItem("isProPlan"))&&!JSON.parse(localStorage.getItem("isProPlanByDomain"))?(0,r.jsx)(S.x,{fontSize:"md",fontWeight:"bold",color:"orange.500",children:"Pro Plan"}):(0,r.jsx)(S.x,{fontSize:"md",fontWeight:"bold",color:"black",children:H("Free Plan")})]})]})}),es.isLoggedIn&&JSON.parse(localStorage.getItem("isProPlan"))&&!JSON.parse(localStorage.getItem("isProPlanByDomain"))?(0,r.jsx)(C.s,{sx:ey,onClick:()=>{(0,N.pu)(localStorage.getItem("userID"),ex.SERVER_IP).then(e=>{window.location.href=e.url})},children:H("Manage Subscription")}):es.isLoggedIn&&(!JSON.parse(localStorage.getItem("isProPlan"))||JSON.parse(localStorage.getItem("isProPlanByDomain")))?(0,r.jsx)(C.s,{sx:ey,onClick:()=>{"vid"===localStorage.getItem("feature")?B.push("/pricing-video"):B.push("/?tab=pdfs"!==F?"/pricing?from=".concat(encodeURIComponent(F)):"/pricing")},children:H("Upgrade to Pro")}):null,es.isLoggedIn?(0,r.jsx)(C.s,{sx:ey,onClick:()=>{q((0,U.pZ)(1)),es.logout(),B.push("/")},children:H("Sign Out")}):(0,r.jsx)(C.s,{onClick:$,children:H("Sign Up")}),es.isLoggedIn?(0,r.jsx)(C.s,{sx:ey,onClick:()=>{er()},children:H("Delete Account")}):null]})]})]})]}),ev,(0,r.jsx)(E.Z,{isOpenSignUpScreen1:K,onCloseSignUpScreen1:X,onOpenSignInScreen1:ee,postSignupRedirect:eb}),(0,r.jsx)(R.Z,{isOpenSignInScreen1:Q,onCloseSignInScreen1:et,onOpenSignUpScreen1:$}),(0,r.jsx)(L.Z,{onCloseDelete1:eo,isOpenDelete1:en,userID:localStorage.getItem("userID")})]})}},19675:function(e,t,n){n.d(t,{Z:function(){return m}});var r=n(67842),o=n(45208),s=n(89332),i=n(52220),l=n(49806),a=n(10177),c=n(49915),u=n(82026),d=n(53701),g=n(21296),p=n(21990),h=n(47277),x=n(94149),f=n(18006);function m(){let e=(0,g.v9)(e=>e.documents.savedDocuments),t=(0,g.I0)(),{t:n}=(0,h.$G)(),[m,j]=(0,p.useState)(""),[S,b]=(0,p.useState)([]),[y,I]=(0,p.useState)(!1),C=(0,p.useRef)(null);(0,p.useEffect)(()=>()=>{C.current&&clearTimeout(C.current)},[]);let w=()=>{let n=e=>{let t=e.name.toLowerCase().indexOf(m.toLowerCase());return t>=0?t:9999},r=[...e].sort((e,t)=>{let r=n(e),o=n(t);return r!==o?r-o:e.name.toLowerCase().localeCompare(t.name.toLowerCase())});t((0,x.ku)(r))};return(0,r.jsx)(o.k,{direction:"row",align:"center",width:"93%",justify:"center",children:(0,r.jsxs)(s.B,{width:"100%",height:"76%",position:"relative",mb:1.5,children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)(l.J,{as:u.W,color:"gray.500",mt:1.5,cursor:"pointer",onClick:()=>{w()}})}),(0,r.jsx)(a.I,{type:"text",value:m,onChange:t=>{j(t.target.value),b(e.filter(e=>e.name.toLowerCase().includes(m.toLowerCase())))},placeholder:n("Search for a file..."),borderRadius:"lg",boxShadow:"md",py:"1.33rem",onFocus:()=>I(!0),onBlur:()=>{C.current&&clearTimeout(C.current),C.current=setTimeout(()=>{I(!1)},125)}}),m&&(0,r.jsx)(i.x,{onClick:()=>{j(""),b([])},children:(0,r.jsx)(l.J,{as:d.T,color:"gray.500",cursor:"pointer",mt:1.5})}),S.length>0&&y&&(0,r.jsx)(c.aV,{position:"absolute",zIndex:"1000",top:"100%",left:"0",right:"0",mt:"2",maxH:"26rem",overflowY:"auto",boxShadow:"xl",borderRadius:"md",bg:"white",children:S.map(e=>(0,r.jsx)(f.rf,{pdfId:e.id,style:{width:"100%",display:"block"},children:(0,r.jsx)(c.HC,{px:"4",py:"2",cursor:"pointer",_hover:{bg:"gray.200"},children:e.name})},e.id))})]})})}},3468:function(e,t,n){var r=n(67842),o=n(21990),s=n(38578),i=n(38879),l=n(32342),a=n(48987),c=n(10177),u=n(24997);t.Z=()=>{let{serverIPs:e,setServerIPs:t,isDev:n}=(0,u.b)(),[d,g]=(0,o.useState)({}),p=(0,s.p)();(0,o.useEffect)(()=>{g({SERVER_IP:e.SERVER_IP,SERVER_IP_MULTIDOC:e.SERVER_IP_MULTIDOC,SERVER_IP_VIDEO:e.SERVER_IP_VIDEO,SERVER_IP_SOCKET:e.SERVER_IP_SOCKET})},[e]);let h=["https://dev.api.honeybear.ai","https://api.honeybear.ai","https://54.211.242.51.nip.io","https://34.226.208.115.nip.io","https://98.84.127.60.nip.io","https://3.89.226.93.nip.io","https://3.93.164.133.nip.io","https://54.90.161.220.nip.io","3.93.164.133.nip.io","34.226.208.115.nip.io","98.84.127.60.nip.io","3.89.226.93.nip.io","54.90.161.220.nip.io","custom"],x=(e,n)=>{"custom"===n?(g(t=>({...t,[e]:""})),t(t=>({...t,[e]:"custom"}))):(g(t=>({...t,[e]:n})),t(t=>{let r={...t,[e]:n};return localStorage.setItem("serverIPs",JSON.stringify(r)),r}))},f=(e,t)=>{g(n=>({...n,[e]:t.target.value}))}
1,m=(e,n)=>{"Enter"===n.key&&(t(t=>{let n={...t,[e]:d[e]};return localStorage.setItem("serverIPs",JSON.stringify(n)),n}),p({title:"".concat(e," updated successfully!"),description:"New URL: ".concat(d[e]),status:"success",duration:3e3,isClosable:!0,position:"top"}))},j=t=>h.includes(e[t])?e[t]:"custom";return n?(0,r.jsx)(i.x,{display:"flex",gap:"8px",flexDirection:"column",children:["SERVER_IP","SERVER_IP_MULTIDOC","SERVER_IP_VIDEO","SERVER_IP_SOCKET"].map(e=>(0,r.jsxs)(i.x,{children:[(0,r.jsx)(l.x,{fontSize:"sm",fontWeight:"bold",children:e}),(0,r.jsx)(a.P,{value:j(e),onChange:t=>x(e,t.target.value),children:h.map(e=>(0,r.jsx)("option",{value:e,children:"custom"===e?"Enter Custom URL":e},e))}),"custom"===j(e)&&(0,r.jsx)(c.I,{placeholder:"Enter ".concat(e," URL"),value:d[e],onChange:t=>f(e,t),onKeyDown:t=>m(e,t),mt:"5px"})]},e))}):null}},28276:function(e,t,n){var r=n(67842),o=n(77419),s=n(44631),i=n(49806),l=n(38879),a=n(97936),c=n(28102),u=n(49519),d=n(45208),g=n(93475),p=n(12165),h=n(74680),x=n(32342),f=n(21296),m=n(68390),j=n(47852);n(21990);var S=n(47277),b=n(3468),y=n(92745),I=n(94149),C=n(18006);let w=e=>{let{icon:t,label:n,document:a}=e;return(0,r.jsx)(C.rf,{pdfId:a.id,style:{width:"100%",display:"block"},children:(0,r.jsx)(o.z,{variant:"ghost",w:"100%",justifyContent:"start",_hover:{bg:y.Z.colors.lightGray},_active:{bg:y.Z.colors.lightGray},py:7,children:(0,r.jsxs)(s.U,{direction:"row",width:"100%",justifyContent:"flex-start",spacing:4,children:[(0,r.jsx)(i.J,{as:t,flexShrink:0}),(0,r.jsx)(l.x,{fontSize:14,fontWeight:"normal",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",children:n})]})})})};t.Z=()=>{let e=(0,f.v9)(e=>e.sidePanel.isSidePanelOpen),t=(0,f.v9)(e=>e.documents.savedDocuments),n=(0,f.I0)(),{t:o}=(0,S.$G)();return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.dy,{placement:"left",isOpen:e,onClose:()=>{n((0,I.Rp)())},size:"xs",children:(0,r.jsx)(c.Z,{children:(0,r.jsxs)(u.s,{bg:"white",color:"black",borderRightWidth:1,borderRightColor:"rgba(0,0,0,0.12)",children:[(0,r.jsx)(d.k,{justifyContent:"space-between",p:4,pb:0,children:(0,r.jsx)(g.h,{"aria-label":"Menu",icon:(0,r.jsx)(j.U,{}),variant:"ghost",sx:{_hover:{background:"transparent"}},onClick:()=>{n((0,I.Rp)())}})}),(0,r.jsxs)(p.f,{children:[(0,r.jsx)(b.Z,{}),(0,r.jsxs)(h.g,{spacing:0,align:"center",justify:"center",width:"100%",mt:"0.5rem",children:[t.map((e,t)=>(0,r.jsx)(w,{icon:m.lu5,label:e.name,document:e},t)),0===t.length?(0,r.jsx)(x.x,{textAlign:"center",mt:"1rem",children:o("Uploaded documents will appear here.")}):null]})]})]})})})})}},89992:function(e,t,n){n(67842)},18006:function(e,t,n){n.d(t,{EN:function(){return a},aq:function(){return i},ew:function(){return u},im:function(){return c},rf:function(){return l}});var r=n(67842);n(15762);var o=n(61939),s=n(21990);function i(e){let{multidocId:t,children:n,className:i="",onClick:l,...a}=e,c=(0,o.useRouter)(),[u,d]=(0,s.useTransition)();return(0,r.jsx)("div",{onClick:e=>{l&&l(e),d(()=>{c.push("/multidoc/".concat(t))})},onMouseEnter:()=>{c.prefetch("/multidoc/".concat(t))},className:"".concat(i," ").concat(u?"opacity-70":""," cursor-pointer"),style:{transition:"opacity 0.1s ease-in-out",...a.style},...a,children:n})}function l(e){let{pdfId:t,children:n,className:i="",onClick:l,...a}=e,c=(0,o.useRouter)(),[u,d]=(0,s.useTransition)();return(0,r.jsx)("div",{onClick:e=>{l&&l(e),d(()=>{c.push("/pdf/".concat(t))})},onMouseEnter:()=>{c.prefetch("/pdf/".concat(t))},className:"".concat(i," ").concat(u?"opacity-70":""," cursor-pointer"),style:{transition:"opacity 0.1s ease-in-out",...a.style},...a,children:n})}function a(e){let{imageId:t,children:n,className:i="",onClick:l,...a}=e,c=(0,o.useRouter)(),[u,d]=(0,s.useTransition)();return(0,r.jsx)("div",{onClick:e=>{l&&l(e),d(()=>{c.push("/images/".concat(t))})},onMouseEnter:()=>{c.prefetch("/images/".concat(t))},className:"".concat(i," ").concat(u?"opacity-70":""," cursor-pointer"),style:{transition:"opacity 0.1s ease-in-out",...a.style},...a,children:n})}function c(e){let{videoId:t,children:n,className:i="",onClick:l,...a}=e,c=(0,o.useRouter)(),[u,d]=(0,s.useTransition)();return(0,r.jsx)("div",{onClick:e=>{l&&l(e),d(()=>{t.includes("http")?c.push("/youtube/".concat(t)):c.push("/video/".concat(t))})},onMouseEnter:()=>{t.includes("http")?c.prefetch("/youtube/".concat(t)):c.prefetch("/video/".concat(t))},className:"".concat(i," ").concat(u?"opacity-70":""," cursor-pointer"),style:{transition:"opacity 0.1s ease-in-out",...a.style},...a,children:n})}function u(e){let{route:t,children:n,className:i="",onClick:l,...a}=e,c=(0,o.useRouter)(),[u,d]=(0,s.useTransition)();return(0,r.jsx)("div",{onClick:e=>{l&&l(e),d(()=>{c.push(t)})},onMouseEnter:()=>{c.prefetch(t)},className:"".concat(i," ").concat(u?"opacity-70":""," cursor-pointer"),style:{transition:"opacity 0.1s ease-in-out",...a.style},...a,children:n})}}}]);

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