1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[190,3542,7809],{23542:(t,e,i)=>{i.d(e,{LinkElement:()=>a});var l=i(95155),o=i(39954),n=i(16015),r=i(19433);function a(t){return(0,l.jsx)(n.tc,{...t,as:"a",attributes:{...t.attributes,...(0,o.u)(t.editor,t.element),onMouseOver:t=>{t.stopPropagation()}},className:(0,r.cn)("font-medium text-primary underline decoration-primary underline-offset-4 cursor-pointer"),children:t.children})}},30190:(t,e,i)=>{i.d(e,{n:()=>l,r:()=>o,t:()=>n});let l={a:"a",ai:"ai",aiChat:"aiChat",audio:"audio",blockquote:"blockquote",bold:"bold",callout:"callout",code:"code",codeBlock:"code_block",codeLine:"code_line",codeSyntax:"code_syntax",column:"column",columnGroup:"column_group",comment:"comment",date:"date",emojiInput:"emoji_input",equation:"equation",excalidraw:"excalidraw",file:"file",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",highlight:"highlight",hr:"hr",img:"img",inlineEquation:"inline_equation",italic:"italic",kbd:"kbd",li:"li",lic:"lic",link:"a",listTodoClassic:"action_item",mediaEmbed:"media_embed",mention:"mention",mentionInput:"mention_input",olClassic:"ol",p:"p",searchHighlight:"search_highlight",slashInput:"slash_input",strikethrough:"strikethrough",sub:"subscript",suggestion:"suggestion",sup:"superscript",table:"table",tag:"tag",taskList:"taskList",td:"td",th:"th",toc:"toc",toggle:"toggle",tr:"tr",ulClassic:"ul",underline:"underline",video:"video"},o={backgroundColor:"backgroundColor",color:"color",fontFamily:"fontFamily",fontSize:"fontSize",fontWeight:"fontWeight",indent:"indent",lineHeight:"lineHeight",listType:"listStyleType",textAlign:"textAlign",textIndent:"textIndent"},n={...l,...o,autoformat:"autoformat",blockMenu:"blockMenu",blockPlaceholder:"blockPlaceholder",blockSelection:"blockSelection",caption:"caption",copilot:"copilot",csv:"csv",cursorOverlay:"cursorOverlay",delete:"delete",dnd:"dnd",docx:"docx",emoji:"emoji",exitBreak:"exitBreak",heading:["h1","h2","h3","h4","h5","h6"],html:"html",juice:"juice",list:"list",listChecked:"checked",listClassic:"listClassic",listRestart:"listRestart",listRestartPolite:"listRestartPolite",listStart:"listStart",listTodo:"todo",markdown:"markdown",nodeId:"nodeId",normalizeTypes:"normalizeTypes",ol:"decimal",placeholder:"placeholder",playwright:"playwright",removeEmptyNodes:"removeEmptyNodes",resetNode:"resetNode",singleBlock:"singleBlock",singleLine:"singleLine",slashCommand:"slash_command",softBreak:"softBreak",tabbable:"tabbable",trailingBlock:"trailingBlock",ul:"disc",yjs:"yjs"}},39954:(t,e,i)=>{i.d(e,{c:()=>h,d:()=>s,l:()=>d,o:()=>g,r:()=>k,t:()=>y,u:()=>c});var l=i(30190),o=i(33312),n=i(73046),r=i(51110);let a=(t,{children:e,target:i,text:o="",url:n})=>({children:e??[{text:o}],target:i,type:t.getType(l.t.link),url:n}),s=t=>{try{return t!==decodeURIComponent(t)?t:encodeURI(t)}catch(e){if(e instanceof URIError)return t;throw e}},c=(t,e)=>{let{allowedSchemes:i,dangerouslySkipSanitization:n,defaultLinkAttributes:r}=t.getOptions({key:l.t.link}),a={...r},s=n?e.url:(0,o.Jf)(e.url,{allowedSchemes:i})||void 0;return void 0!==s&&(a.href=s),"target"in e&&void 0!==e.target&&(a.target=e.target),a},d=t=>{try{return decodeURI(t)}catch(e){if(e instanceof URIError)return t;throw e}},p=/^#{1,6}\s+/,h=(t,e)=>{let{allowedSchemes:i,dangerouslySkipSanitization:l,isUrl:n}=t.getOptions(y);return!!e.startsWith("/")||(e.startsWith("#")?!p.test(e):(!n||!!n(e))&&(!!l||!!(0,o.Jf)(e,{allowedSchemes:i,permitInvalid:!0})))},u=(t,e,i)=>{t.tf.insertNodes([a(t,e)],i)},g=(t,e)=>t.tf.withoutNormalizing(()=>{if(e?.split){if(t.api.above({at:t.selection?.anchor,match:{type:t.getType(l.t.link)}}))return t.tf.splitNodes({at:t.selection?.anchor,match:e=>n.$7.isElement(e)&&e.type===t.getType(l.t.link)}),g(t,{at:t.selection?.anchor}),!0;if(t.api.above({at:t.selection?.focus,match:{type:t.getType(l.t.link)}}))return t.tf.splitNodes({at:t.selection?.focus,match:e=>n.$7.isElement(e)&&e.type===t.getType(l.t.link)}),g(t,{at:t.selection?.focus}),!0}t.tf.unwrapNodes({match:{type:t.getType(l.t.link)},...e})}),m=(t,{text:e})=>{let i=t.api.above({match:{type:t.getType(l.t.link)}});if(i){let[l,o]=i;if(e?.length&&e!==t.api.string(o)){let i=l.children[0];t.tf.replaceNodes({...i,text:e},{at:o,children:!0,select:!0})}}},f=(t,{target:e,url:i,...o})=>{t.tf.wrapNodes({children:[],target:e,type:t.getType(l.t.link),url:i},{split:!0,...o})},k=(t,{insertNodesOptions:e,insertTextInLink:i,skipValidation:r=!1,target:a,text:s,url:c})=>{let d=t.selection;if(!d)return;let p=t.api.above({at:d,match:{type:t.getType(l.t.link)}});if(i&&p)return t.tf.insertText(c),!0;if(!r&&!h(t,c))return;if((0,o.O9)(s)&&0===s.length&&(s=c),p)return(c!==p[0]?.url||a!==p[0]?.target)&&t.tf.setNodes({target:a,url:c},{at:p[1]}),m(t,{target:a,text:s,url:c}),!0;let[k,y]=t.api.node({at:d,match:{type:t.getType(l.t.link)}})??[],b=!1;if(y&&s?.length&&s!==t.api.string(y)&&(b=!0),n.Cb.isExpanded(d))return p?g(t,{at:p[1]}):g(t,{split:!0}),f(t,{target:a,url:c}),m(t,{target:a,text:s,url:c}),!0;b&&t.tf.removeNodes({at:y});let v=n.lZ.extractProps(k??{}),x=t.selection?.focus.path;if(!x)return;let N=n.lZ.leaf(t,x);
1return s?.length||(s=c),u(t,{...v,children:[{...N,text:s}],target:a,url:c},e),!0},y=(0,r.qt)({key:l.t.link,node:{dangerouslyAllowAttributes:["target"],isElement:!0,isInline:!0,props:({editor:t,element:e})=>c(t,e)},options:{allowedSchemes:["http","https","mailto","tel"],dangerouslySkipSanitization:!1,defaultLinkAttributes:{},isUrl:o.gU,keepSelectedTextOnPaste:!0,rangeBeforeOptions:{afterMatch:!0,matchBlockStart:!0,matchString:" ",skipInvalid:!0}},parsers:{html:{deserializer:{rules:[{validNodeName:"A"}],parse:({editor:t,element:e,type:i})=>{let l=e.getAttribute("href");if(l&&h(t,l))return{target:e.getAttribute("target")||"_blank",type:i,url:l}}}}},rules:{normalize:{removeEmpty:!0},selection:{affinity:"directional"}}}).overrideEditor(({editor:t,getOptions:e,tf:{insertBreak:i,insertData:l,insertText:o,normalizeNode:r},type:a})=>{let s=()=>{let{getUrlHref:i,isUrl:l,rangeBeforeOptions:o}=e();t.tf.withoutNormalizing(()=>{let e=t.selection,n=t.api.range("before",e,{before:o});if(n||(n=t.api.range("start",t.selection)),!n||t.api.some({at:n,match:{type:a}}))return;let r=t.api.string(n);l(r=i?.(r)??r)&&(t.tf.select(n),k(t,{url:r}),t.tf.collapse({edge:"end"}))})};return{transforms:{insertBreak(){if(!t.api.isCollapsed())return i();s(),i()},insertData(i){let{getUrlHref:o,keepSelectedTextOnPaste:n}=e(),r=i.getData("text/plain"),a=o?.(r);if(r){let e=a||r;if(k(t,{insertTextInLink:!0,text:n?void 0:e,url:e}))return}l(i)},insertText(e,i){" "===e&&t.api.isCollapsed()&&s(),o(e,i)},normalizeNode([e,i]){if(e.type===a){let e=t.selection;if(e&&t.api.isCollapsed()&&t.api.isEnd(e.focus,i)&&!t.api.start(i,{next:!0})){let e=n.s2.next(i);t.tf.insertNodes({text:""},{at:e}),t.tf.select(e)}}r([e,i])}}}})}}]);
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.