1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2a3e1c12-3f19-4ed2-a12d-7025eb4198bc",e._sentryDebugIdIdentifier="sentry-dbid-2a3e1c12-3f19-4ed2-a12d-7025eb4198bc")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[265],{265:function(e,t,s){s.d(t,{MessageBody:function(){return d}});var n=s(7437),l=s(2265),r=s(8706),a=s(7648),i=s(359);function c(e){let{entry:t,display:s,glossary:r}=e,[a,i]=(0,l.useState)(!1),[c,o]=(0,l.useState)(!1),u=(0,l.useRef)(null),h=(0,l.useRef)(null);return(0,l.useEffect)(()=>{if(!a)return;let e=e=>{if(!u.current)return;let t=document.documentElement;!(e.clientX>=t.clientWidth)&&!(e.clientY>=t.clientHeight)&&e.target instanceof Node&&!u.current.contains(e.target)&&i(!1)},t=e=>{"Escape"===e.key&&i(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[a]),(0,l.useEffect)(()=>{if(!a){o(!1);return}let e=h.current,t=u.current;if(!e||!t)return;let s=e.getBoundingClientRect(),n=document.documentElement.clientWidth,l=t.parentElement;for(;l&&l!==document.body;){if("visible"!==getComputedStyle(l).overflowX){n=Math.min(n,l.getBoundingClientRect().right);break}l=l.parentElement}s.right>n-8&&o(!0)},[a]),(0,n.jsxs)("span",{ref:u,className:"md-glossary-wrap",children:[(0,n.jsx)("button",{type:"button",className:"md-glossary-term".concat(a?" open":""),onClick:e=>{e.preventDefault(),i(e=>!e)},"aria-expanded":a,"aria-haspopup":"dialog",children:s}),a&&(0,n.jsxs)("span",{ref:h,className:"md-glossary-popover".concat(c?" flip-right":""),role:"dialog","aria-label":"Definition of ".concat(t.display),children:[(0,n.jsx)("span",{className:"md-glossary-popover-title",children:t.display}),(0,n.jsx)("span",{className:"md-glossary-popover-body",children:(0,n.jsx)(d,{text:t.body,noCollapse:!0,glossary:r,noCopy:!0})})]})]})}function d(e){let{text:t,noCollapse:s=!1,glossary:a,noCopy:i=!1,onQuickReply:c}=e,d=(0,r.T)("MessageBody"),u=p(t),h=!s&&t.length>480&&u.length>4,[m,f]=(0,l.useState)(!1),g=h&&!m?u.slice(0,4):u,x=h&&!m?u.length-4:0;return(0,n.jsxs)("div",{className:"md",children:[g.map((e,t)=>(0,n.jsx)(o,{block:e,glossary:a,noCopy:i,onQuickReply:c},t)),h&&(0,n.jsx)("button",{type:"button",className:"md-toggle",onClick:()=>f(e=>!e),children:m?d("hideDetails"):d("showDetails",{n:x})})]})}function o(e){let{block:t,glossary:s,noCopy:l,onQuickReply:a}=e,c=(0,r.T)("MessageBody");switch(t.type){case"code":return(0,n.jsx)(f,{lang:t.lang,text:t.text,noCopy:l});case"heading":let d=t.level<=2?"h4":"h5";return(0,n.jsx)(d,{className:"md-h",id:t.text.toLowerCase().replace(/!\[([^\]]*)\]\([^)]+\)/g,"").replace(/\[\[([^\]|]+?)(?:\|([^\]]+?))?\]\]/g,"$2$1").replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/\*\*([^*]+)\*\*/g,"$1").replace(/\*([^*]+)\*/g,"$1").replace(/[^\w\s-]/g,"").trim().replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,""),children:g(t.text,s,l)});case"actionHeader":return(0,n.jsxs)("div",{className:"md-action-header",role:"heading","aria-level":4,children:[(0,n.jsx)("span",{className:"md-action-num",children:t.number}),(0,n.jsx)("span",{className:"md-action-title",children:g(t.title,s,l)})]});case"list":if(t.ordered)return(0,n.jsx)("ol",{className:"md-ol",start:t.start,children:t.items.map((e,t)=>(0,n.jsx)("li",{children:g(e,s,l)},t))});return(0,n.jsx)("ul",{className:"md-ul",children:t.items.map((e,t)=>(0,n.jsx)("li",{children:g(e,s,l)},t))});case"quote":return(0,n.jsx)("blockquote",{className:"md-quote",children:g(t.text,s,l)});case"ask":return(0,n.jsxs)("div",{className:"md-ask",role:"note",children:[(0,n.jsx)("div",{className:"md-ask-prompt",children:g(t.prompt,s,l)}),t.replyTexts&&t.replyTexts.length>0&&(0,n.jsx)("div",{className:"md-ask-action",children:t.replyTexts.map((e,t)=>(0,n.jsxs)("button",{type:"button",className:"md-ask-reply-btn",onClick:()=>null==a?void 0:a(e),disabled:!a,title:a?c("replyTitle",{text:e}):c("replyUnavailable"),children:[c("replyLabel")," ",(0,n.jsx)("span",{className:"md-ask-reply-text",children:e})]},t))})]});case"doSelf":return(0,n.jsxs)("div",{className:"md-do-self",role:"note",children:[(0,n.jsx)("div",{className:"md-do-self-title",children:g(t.title,s,l)}),t.steps.length>0&&(0,n.jsx)("ol",{className:"md-do-self-steps",children:t.steps.map((e,t)=>(0,n.jsx)("li",{children:g(e,s,l)},t))})]});case"hr":return(0,n.jsx)("hr",{className:"md-hr"});case"image":return(0,n.jsx)(m,{src:t.src,alt:t.alt});
1case"details":return(0,n.jsxs)("details",{className:"md-details",children:[(0,n.jsx)("summary",{className:"md-details-summary",children:g(t.summary,s,l)}),(0,n.jsx)("div",{className:"md-details-body",children:p(t.body).map((e,t)=>(0,n.jsx)(o,{block:e,glossary:s,noCopy:l,onQuickReply:a},t))})]});case"table":return(0,n.jsxs)("div",{className:"md-table-wrap",children:[t.rows.length>0&&(0,n.jsx)("div",{className:"md-table-actions",children:(0,n.jsx)("button",{type:"button",className:"md-table-csv",onClick:()=>(0,i.ns)((0,i.kY)("chat-table"),(0,i.CE)(t.headers,t.rows)),title:c("csvTitle"),children:"⤠CSV"})}),(0,n.jsxs)("table",{className:"md-table",children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:t.headers.map((e,t)=>(0,n.jsx)("th",{children:g(e,s,l)},t))})}),(0,n.jsx)("tbody",{children:t.rows.map((e,t)=>(0,n.jsx)("tr",{children:e.map((e,t)=>(0,n.jsx)("td",{children:g(e,s,l)},t))},t))})]})]});case"paragraph":return(0,n.jsx)("p",{className:"md-p",children:g(t.text,s,l)})}}function u(e){let t=e.trim();return!!t.includes("|")&&t.replace(/^\|/,"").replace(/\|$/,"").includes("|")}function h(e){return e.trim().replace(/^\|/,"").replace(/\|$/,"").split("|").map(e=>e.trim())}function p(e){let t=[],s=e.replace(/\r\n/g,"\n").split("\n"),n=0;for(;n<s.length;){var l;let e=s[n];if(""===e.trim()){n++;continue}let r=e.match(/^```(\w*)\s*$/);if(r){let e=r[1]||"",l=[];for(n++;n<s.length&&!/^```\s*$/.test(s[n]);)l.push(s[n]),n++;n++,t.push({type:"code",lang:e,text:l.join("\n")});continue}let a=e.match(/^:::\s*details\s+(.+?)\s*$/i);if(a){let e=a[1],l=[];for(n++;n<s.length&&!/^:::\s*$/.test(s[n]);)l.push(s[n]),n++;n++,t.push({type:"details",summary:e,body:l.join("\n")});continue}let i=e.match(/^(#{1,6})\s+(.+?)\s*#*\s*$/);if(i){let e=3===i[1].length&&i[2].match(/^(\d{1,2})[.)]\s+(.+)$/);e?t.push({type:"actionHeader",number:parseInt(e[1],10),title:e[2]}):t.push({type:"heading",level:i[1].length,text:i[2]}),n++;continue}if(/^(\s*-\s*){3,}$/.test(e)||/^(\s*\*\s*){3,}$/.test(e)||/^_{3,}$/.test(e)){t.push({type:"hr"}),n++;continue}let c=e.match(/^\s*!\[([^\]]*)\]\(([^)\s]+)\)\s*$/);if(c){t.push({type:"image",alt:c[1],src:c[2]}),n++;continue}if(e.startsWith("> ")){let l=[e.slice(2)];for(n++;n<s.length&&s[n].startsWith("> ");)l.push(s[n].slice(2)),n++;let r=l.find(e=>e.trim().length>0)||"";if(/^âï¸\s+/.test(r.trim())){let e=r.trim().replace(/^âï¸\s+/,"").replace(/:\s*$/,""),s=[];for(let e of l){if(e===r)continue;let t=e.trim().match(/^\d{1,2}[.)]\s+(.+)$/);t&&s.push(t[1])}t.push({type:"doSelf",title:e,steps:s});continue}if(/^ð\s+/.test(r.trim())){let e=new Set,s=[];l.forEach((t,n)=>{if(!/^Reply:\s*/i.test(t.trim()))return;e.add(n);let l=t.trim().replace(/^Reply:\s*/i,"").replace(/^`(.+)`$/,"$1").trim();l&&s.push(l)});let n=l.filter((t,s)=>!e.has(s)).map((e,t)=>0===t?e.trim().replace(/^ð\s+/,""):e).filter(e=>e.trim().length>0);t.push({type:"ask",prompt:n.join(" "),replyTexts:s.length?s:void 0})}else t.push({type:"quote",text:l.join(" ")});continue}if(/^\s*[-*]\s+/.test(e)){let e=[];for(;n<s.length&&/^\s*[-*]\s+/.test(s[n]);){let t=s[n].replace(/^\s*[-*]\s+/,"");for(n++;n<s.length&&/^\s{2,}\S/.test(s[n]);)t+=" "+s[n].trim(),n++;e.push(t)}t.push({type:"list",ordered:!1,items:e});continue}if(u(e)&&n+1<s.length&&function(e){let t=e.trim();if(!t.includes("|"))return!1;let s=t.replace(/^\|/,"").replace(/\|$/,"").split("|");return!(s.length<2)&&s.every(e=>/^\s*:?-+:?\s*$/.test(e))}(s[n+1])){let l=h(e);n+=2;let r=[];for(;n<s.length&&u(s[n]);){let e=h(s[n]);for(;e.length<l.length;)e.push("");r.push(e),n++}t.push({type:"table",headers:l,rows:r});continue}let d=e.match(/^\s*(\d+)\.\s+/);if(d){let e=parseInt(d[1],10),l=[];for(;n<s.length&&/^\s*\d+\.\s+/.test(s[n]);){let e=s[n].replace(/^\s*\d+\.\s+/,"");for(n++;n<s.length&&/^\s{2,}\S/.test(s[n]);)e+=" "+s[n].trim(),n++;l.push(e)}t.push({type:"list",ordered:!0,items:l,start:e});continue}let o=[e];for(n++;n<s.length&&""!==s[n].trim()&&(l=s[n],!(/^```/.test(l)||/^:::/.test(l)||/^#{1,6}\s+/.test(l)||/^>\s+/.test(l)||/^\s*[-*]\s+/.test(l)||/^\s*\d+\.\s+/.test(l)||/^(\s*-\s*){3,}$/.test(l)||/^_{3,}$/.test(l)||/^!\[[^\]]*\]\([^)\s]+\)\s*$/.test(l)||/^\s*\|.*\|/.test(l)));)o.push(s[n]),n++;t.push({type:"paragraph",text:o.join(" ")})}return t}function m(e){let{src:t,alt:s}=e,a=(0,r.T)("MessageBody"),[i,c]=(0,l.useState)(!1),d=t.startsWith("/")?""+t:t;return i?(0,n.jsx)("figure",{className:"md-image md-image-missing",children:(0,n.jsxs)("div",{className:"md-image-placeholder",children:[(0,n.jsx)("span",{"aria-hidden":"true",className:"md-image-icon",children:"â¢"}),(0,n.jsx)("span",{className:"md-image-placeholder-text",children:s||a("imagePlaceholder")})]})}):(0,n.jsxs)("figure",{className:"md-image",children:[(0,n.jsx)("img",{src:d,alt:s,onError:()=>c(!0),loading:"lazy"}),s&&(0,n.jsx)("figcaption",{className:"md-image-caption",children:s})]})}function f(e){let{lang:t,text:s,noCopy:a}=e,i=(0,r.T)("MessageBody"),[c,d]=(0,l.useState)(!1),[o,u]=(0,l.useState)(!1);(0,l.useEffect)(()=>{u(!0)},[]);let h=o&&"undefined"!=typeof navigator&&!!navigator.clipboard,p=async()=>
1{if(h)try{await navigator.clipboard.writeText(s),d(!0),setTimeout(()=>d(!1),1400)}catch(e){}};return(0,n.jsxs)("pre",{className:"md-code",children:[t&&(0,n.jsx)("span",{className:"md-code-lang",children:t}),h&&!a&&(0,n.jsx)("button",{type:"button",className:"md-code-copy".concat(c?" copied":""),onClick:p,title:i("copyCodeTitle"),"aria-label":i(c?"copied":"copyCodeAria"),children:i(c?"copied":"copy")}),(0,n.jsx)("code",{children:s})]})}function g(e,t,s){let r=[],a=e;for(;a.length>0;){let e=a.match(/`([^`]+)`/);if(!e||null==e.index){r.push({kind:"text",value:a});break}e.index>0&&r.push({kind:"text",value:a.slice(0,e.index)}),r.push({kind:"code",value:e[1]}),a=a.slice(e.index+e[0].length)}return r.map((e,r)=>"code"===e.kind?(0,n.jsx)(x,{text:e.value,noCopy:s},r):(0,n.jsx)("span",{children:function(e,t){let s=[],r=0;if(t&&Object.keys(t).length>0){let i;let d=/\[\[([^\]|]+?)(?:\|([^\]]+?))?\]\]/g,o=0;for(;null!==(i=d.exec(e));){var a;if(i.index>o)for(let t of y(e.slice(o,i.index),r))s.push(t),r++;let d=t[i[1].toLowerCase().trim()],u=(null===(a=i[2])||void 0===a?void 0:a.trim())||(null==d?void 0:d.display)||i[1].trim();d?s.push((0,n.jsx)(c,{entry:d,display:u,glossary:t},r++)):s.push((0,n.jsx)(l.Fragment,{children:u},r++)),o=i.index+i[0].length}if(o<e.length)for(let t of y(e.slice(o),r))s.push(t),r++;return s}return y(e,0)}(e.value,t)},r))}function x(e){let{text:t,noCopy:s}=e,a=(0,r.T)("MessageBody"),[i,c]=(0,l.useState)(!1);if(!("undefined"!=typeof navigator&&navigator.clipboard)||s)return(0,n.jsx)("code",{className:"md-ic",children:t});let d=async()=>{try{await navigator.clipboard.writeText(t),c(!0),setTimeout(()=>c(!1),1200)}catch(e){}};return(0,n.jsx)("code",{className:"md-ic md-ic-copy".concat(i?" copied":""),onClick:d,role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),d())},title:a(i?"copied":"inlineCopyTitle"),children:t})}function y(e,t){let s;let r=/\[([^\]]+)\]\(((?:https?:\/\/|mailto:|tel:|\/)[^)\s]+)\)|(https?:\/\/[^\s)\]<>]+)/g,i=[],c=t,d=0;for(;null!==(s=r.exec(e));){if(s.index>d&&i.push((0,n.jsx)(l.Fragment,{children:j(e.slice(d,s.index))},c++)),null!=s[1]&&null!=s[2]){let e=s[2],t=e.startsWith("/"),l=/^(?:mailto|tel):/.test(e);t?i.push((0,n.jsx)(a.default,{className:"md-link",href:e,children:s[1]},c++)):l?i.push((0,n.jsx)("a",{className:"md-link",href:e,children:s[1]},c++)):i.push((0,n.jsx)("a",{className:"md-link",href:e,target:"_blank",rel:"noopener noreferrer",children:s[1]},c++))}else if(null!=s[3]){let e=s[3],t=e.match(/[.,;:!?)\]]+$/),r=t?t[0]:"";r&&(e=e.slice(0,e.length-r.length)),i.push((0,n.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"md-link",children:e},c++)),r&&i.push((0,n.jsx)(l.Fragment,{children:r},c++))}d=s.index+s[0].length}return d<e.length&&i.push((0,n.jsx)(l.Fragment,{children:j(e.slice(d))},c++)),i}function j(e){let t=[],s=e,l=0;for(;s.length>0;){let e=s.match(/\*\*([^*]+)\*\*/);if(!e||null==e.index){for(let e of b(s,l))t.push(e),l++;break}if(e.index>0)for(let n of b(s.slice(0,e.index),l))t.push(n),l++;t.push((0,n.jsx)("strong",{children:b(e[1],0)},l++)),s=s.slice(e.index+e[0].length)}return t}function b(e,t){let s;let l=/\*([^*\n]+)\*/g,r=[],a=t,i=0;for(;null!==(s=l.exec(e));){if(s.index>i)for(let t of v(e.slice(i,s.index),a))r.push(t),a++;r.push((0,n.jsx)("em",{children:v(s[1],0)},a++)),i=s.index+s[0].length}if(i<e.length)for(let t of v(e.slice(i),a))r.push(t),a++;return r}function v(e,t){let s;let r=/\b(Server Manager|Faro)\b/g,a=[],i=t,c=0;for(;null!==(s=r.exec(e));)s.index>c&&a.push((0,n.jsx)(l.Fragment,{children:e.slice(c,s.index)},i++)),a.push((0,n.jsx)("span",{className:"md-brand",children:s[1]},i++)),c=s.index+s[0].length;return c<e.length&&a.push((0,n.jsx)(l.Fragment,{children:e.slice(c)},i++)),a}},359:function(e,t,s){function n(e){return/[",\r\n]/.test(e)?'"'.concat(e.replace(/"/g,'""'),'"'):e}function l(e,t){let s=[e.map(n).join(",")];for(let e of t)s.push(e.map(n).join(","));return s.join("\r\n")}function r(e,t){let s=new Blob(["\uFEFF"+t],{type:"text/csv;charset=utf-8"}),n=URL.createObjectURL(s);try{let t=document.createElement("a");t.href=n,t.download=e,document.body.appendChild(t),t.click(),t.remove()}finally{URL.revokeObjectURL(n)}}function a(e){let t=new Date().toISOString().replace(/[:.]/g,"-").slice(0,19);return"".concat(e,"-").concat(t,".csv")}s.d(t,{CE:function(){return l},kY:function(){return a},ns:function(){return r}})},7648:function(e,t,s){s.d(t,{default:function(){return l.a}});var n=s(2972),l=s.n(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.