1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1983,2965,6648,8436,9019],{32383:()=>{},45013:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(37876),s=a(14232),l=a(44348);let n=function({text:e,options:t,copytext:a="Copy"}){let[n,i]=(0,s.useState)(!1),[o,d]=(0,s.useState)(!1),c=async()=>{try{let t,a=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=e.replace(/<generated_images[^>]*>[\s\S]*?<\/generated_images>/gi,"")).replace(/<generated_files[^>]*>[\s\S]*?<\/generated_files>/gi,"")).replace(/<table[\s\S]*?<\/table>/gi,e=>{let t,a=[],r=/<tr[^>]*>([\s\S]*?)<\/tr>/gi;for(;null!==(t=r.exec(e));){let e,r=[],s=/<t[dh][^>]*>([\s\S]*?)<\/t[dh]>/gi;for(;null!==(e=s.exec(t[1]));)try{let t=(new DOMParser().parseFromString(e[1],"text/html").body.textContent??"").replace(/\s+/g," ").trim();r.push(t)}catch{r.push("")}r.length>0&&a.push(r.join(" "))}return a.length>0?"\n"+a.join("\n")+"\n":""})).replace(/<[^>]*>/g,"")).replace(/\[([^\]]+)\]\([^\)]+\)/g,"$1")).replace(/(\*\*|__)(.*?)\1/g,"$2")).replace(/(\*|_)(.*?)\1/g,"$2")).replace(/^#{1,6}\s+/gm,"")).replace(/```[\s\S]*?```/g,"")).replace(/`([^`]+)`/g,"$1")).replace(/^\|[\s|:-]*-[\s|:-]*$/gm,"")).replace(/ /g," ")).replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,'"')).replace(/'/g,"'")).replace(/$/g,"$")).replace(/\n{3,}/g,"\n\n")).trim();await navigator.clipboard.writeText(a),d(!0),setTimeout(()=>{d(!1)},2e3)}catch(e){console.error("Copy failed:",e)}};return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("button",{className:"flex items-center justify-center",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onClick:c,children:(0,r.jsx)("span",{className:`flex items-center space-x-2 rounded p-2 text-slate-500 transition-colors duration-200 dark:text-neutral-400 ${t}`,children:o?(0,r.jsx)("svg",{className:"text-lg text-green-600 dark:text-green-400",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("polyline",{points:"20 6 9 17 4 12"})}):(0,r.jsx)(l.SD3,{className:"text-lg"})})}),n&&!o&&(0,r.jsxs)("div",{className:"z-60 absolute bottom-full left-1/2 mb-2 -translate-x-1/2 transform overflow-auto whitespace-nowrap rounded-lg border border-slate-200 bg-white px-3 py-2 text-xs font-medium text-slate-700 shadow-lg backdrop-blur-sm dark:border-neutral-700 dark:bg-neutral-800 dark:text-neutral-200 dark:shadow-neutral-900/50",children:[(0,r.jsx)("span",{className:"text-slate-700 dark:text-neutral-200",children:"Copy"}),(0,r.jsx)("div",{className:"absolute left-1/2 top-full h-1.5 w-1.5 -translate-x-1/2 rotate-45 border-b border-r border-slate-200 bg-white dark:border-neutral-700 dark:bg-neutral-800"})]})]})}},57989:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(37876),s=a(63570),l=a(17953),n=a(12333);let i=({isOpen:e,onClose:t,tags:a,document_id:i,handleTagSelection:o,handleDeleteTagForDoc:d,selectedTag:c,setSelectedTag:u,handleCreateNewTag:g})=>(0,n.A)("create_tag")?(0,r.jsx)("div",{className:`fixed inset-0 z-[1000] flex h-full items-center justify-center bg-black bg-opacity-25 transition-opacity duration-300 ${e?"opacity-100":"pointer-events-none opacity-0"}`,children:(0,r.jsxs)("div",{className:"border-1 relative m-2 flex w-full max-w-2xl flex-col overflow-hidden rounded-lg bg-slate-100 p-6 shadow-lg dark:border-neutral-700 dark:bg-neutral-800 dark:shadow-lg dark:shadow-black/20 dark:ring-1 dark:ring-neutral-600",children:[(0,r.jsx)("button",{className:"absolute right-4 top-4 flex h-8 w-8 items-center justify-center rounded-full text-gray-500 transition-colors hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-neutral-700 dark:hover:text-gray-200",onClick:t,children:(0,r.jsx)(s.U_s,{className:"h-5 w-5"})}),(0,r.jsx)("div",{className:"mb-2 text-xl font-semibold text-gray-900 dark:text-neutral-200",children:"Select or Create Tag"}),(0,r.jsx)("div",{className:"text-md mb-4 text-gray-600 dark:text-neutral-400",children:"Choose from existing tags or create a new one"}),(0,r.jsxs)("div",{className:"mb-6",children:[(0,r.jsx)("h3",{className:"mb-3 text-sm font-medium text-gray-700 dark:text-neutral-300",children:"Available Tags"}),(0,r.jsx)("div",{className:"max-h-48 overflow-y-auto rounded-lg border border-gray-200 bg-white p-3 dark:border-neutral-700 dark:bg-neutral-900",children:(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:a?.length>0?a.map(e=>{let t=i?.tags?.some(t=>t.id===e.id);return(0,r.jsxs)("button",{className:`inline-flex items-center space-x-2 rounded-full px-3 py-1.5 text-sm font-medium transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-blue-500/20 ${t?"border border-blue-200 bg-blue-50 text-blue-700 hover:bg-blue-100 dar
1k:border-blue-800 dark:bg-blue-900/20 dark:text-blue-300 dark:hover:bg-blue-900/30":"border border-gray-200 bg-gray-50 text-gray-700 hover:border-gray-300 hover:bg-gray-100 dark:border-neutral-600 dark:bg-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-600"}`,onClick:()=>{t?d({tag:e.name,id:i.id}):o(e.name)},children:[(0,r.jsx)(l.wwr,{className:"h-3 w-3"}),(0,r.jsx)("span",{children:e.name}),t&&(0,r.jsx)("div",{className:"ml-1 flex h-4 w-4 items-center justify-center rounded-full bg-blue-200 dark:bg-blue-800",children:(0,r.jsx)("div",{className:"h-1.5 w-1.5 rounded-full bg-blue-600 dark:bg-blue-300"})})]},e.id)}):(0,r.jsx)("p",{className:"text-sm text-gray-500 dark:text-neutral-400",children:"No tags available"})})})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-gray-700 dark:text-neutral-300",children:"Create New Tag"}),(0,r.jsxs)("div",{className:"flex space-x-2",children:[(0,r.jsx)("input",{type:"text",value:c||"",onChange:e=>u(e.target.value),placeholder:"Enter new tag name",className:"flex-1 rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm focus:border-blue-500 focus:outline-none focus:ring-1 focus:ring-blue-500 dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-200 dark:shadow-lg dark:shadow-black/20 dark:focus:border-neutral-600 dar
1k:focus:ring-neutral-600",onKeyPress:e=>{"Enter"===e.key&&c?.trim()&&g()}}),(0,r.jsx)("button",{onClick:g,disabled:!c?.trim(),className:"inline-flex items-center justify-center rounded-lg border border-transparent bg-blue-500 px-4 py-2 text-sm font-medium text-white transition-colors hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500/20 disabled:cursor-not-allowed disabled:opacity-50",children:(0,r.jsx)(s.s00,{className:"h-4 w-4"})})]}),(0,r.jsxs)("div",{className:"mt-4 flex items-start space-x-2 rounded-lg border border-slate-300 bg-slate-50 p-4 dark:border-neutral-700 dark:bg-neutral-800",children:[(0,r.jsx)(l.wwr,{className:"mt-0.5 h-4 w-4 text-gray-500 dark:text-neutral-400"}),(0,r.jsx)("div",{className:"text-xs text-gray-600 dark:text-gray-400",children:(0,r.jsx)("span",{children:"Tags help you organize and filter your meetings. Click on existing tags to add/remove them, or create new ones by typing in the field above."})})]})]})]})}):null},66193:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(26258),s=a(77542),l=a(85461);let n=()=>{let{successToast:e,errorToast:t}=(0,r.Ay)(),a=(0,l.jE)();return{handleCreateTagForDoc:async r=>{await s.ApiClient.getTagByName.getTagByNameGetTagByNameGet({name:r.tag}).then(async l=>{let n=l.data.id;await s.ApiClient.associateTagToDocument.associateTagToDocumentAssociateTagToDocumentPost({document_id:r.id,tag_id:n}).then(t=>{e("Tag associated to document"),a.invalidateQueries({queryKey:["list_meetings"]}),a.invalidateQueries({queryKey:["list_meetings_per_space"]}),a.invalidateQueries({queryKey:["list_of_tags"]}),a.invalidateQueries({queryKey:["get_document_by_id"]}),a.invalidateQueries({queryKey:["list_notes"]}),a.invalidateQueries({queryKey:["list_of_notes_global"]}),a.invalidateQueries({queryKey:["list_of_notes"]})}).catch(e=>{t("Tag creation failed with this error: "+e.error.detail)})}).catch(e=>{t("Tag creation failed with this error: "+e.error.detail)})},handleDeleteTagForDoc:async r=>{await s.ApiClient.getTagByName.getTagByNameGetTagByNameGet({name:r.tag}).then(async l=>{let n=l.data.id;await s.ApiClient.disassociateTagFromDocument.disassociateTagFromDocumentDisassociateTagFromDocumentPost({document_id:r.id,tag_id:n}).then(t=>{e("Tag unassociated"),a.invalidateQueries({queryKey:["list_meetings"]}),a.invalidateQueries({queryKey:["list_meetings_per_space"]}),a.invalidateQueries({queryKey:["list_of_tags"]}),a.invalidateQueries({queryKey:["get_document_by_id"]}),a.invalidateQueries({queryKey:["list_notes"]}),a.invalidateQueries({queryKey:["list_of_notes_global"]}),a.invalidateQueries({queryKey:["list_of_notes"]})}).catch(e=>{t("Tag creation failed with this error: "+e.error.detail)})}).catch(e=>{t("Tag creation failed with this error: "+e.error.detail)})},handleCreateTag:async r=>{await s.ApiClient.createTag.createTagCreateTagPost({name:r}).then(t=>{e("Tag Created"),a.invalidateQueries({queryKey:["list_of_tags"]})}).catch(e=>{t("Tag creation failed with this error: "+e.error.detail)})}}}},68225:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>i,default:()=>o});var r=a(37876);a(14232);var s=a(62867),l=a(9424),n=a(34846),i=!0;let o=()=>{let{t:e,i18n:t}=(0,n.Bd)("user");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.bV,{title:e("Chat.title")}),(0,r.jsx)(l.A,{})]})}},79224:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/chat/[chat]/[channel]",function(){return a(68225)}])},83686:()=>{},94224:(e,t,a)=>{"use strict";a.d(t,{b:()=>l});var r=a(42252),s=a(77542);let l=(e={})=>(0,r.I)(["list_of_tags"],()=>s.ApiClient.getAllTags.getAllTagsGetAllTagsGet().then(e=>e.data),e)},97164:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(14232);let s=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}))})},99513:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(14232),s=a(98477),l=a(15105);let n="u">typeof document?r.useLayoutEffect:r.useEffect,i=e=>{let t=(0,r.useReducer)(()=>({}),{})[1],{useFlushSync:a=!0,...i}=e,o={observeElementRect:l.T6,observeElementOffset:l.AO,scrollToFn:l.Ox,...i,onChange:(e,r)=>{a&&r?(0,s.flushSync)(t):t(),i.onChange?.(e,r)}},[d]=(0,r.useState)(()=>new l.YV(o));return d.setOptions(o),n(()=>d._didMount(),[d]),n(()=>d._willUpdate()),d}}},e=>{e.O(0,[5352,6361,1852,9772,9239,2901,6782,9509,4031,5637,2140,5576,3608,4763,8394,3085,2227,5606,3003,4568,990,7348,1219,8835,6831,4731,2665,6077,9159,5082,3986,1850,8560,5774,7154,5828,1654,9424,6050,636,6593,8792],()=>e(e.s=79224)),_N_E=e.O()}]);
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.