1try{!function(){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]="ec152e99-65c3-4f98-b3d5-3eb9ee6a3281",e._sentryDebugIdIdentifier="sentry-dbid-ec152e99-65c3-4f98-b3d5-3eb9ee6a3281")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9989,7374,8563,7850],{71533:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]])},28645:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("list-ordered",[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]])},7586:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("list",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]])},47416:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]])},74440:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]])},12061:function(e,t,r){r.d(t,{H:function(){return i},Z:function(){return i}});var n=r(94725);let i=n.NB.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",(0,n.P1)(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}})},36320:function(e,t,r){r.d(t,{GS:function(){return s},ZP:function(){return s}});var n=r(94725);let i="textStyle",o=/^(\d+)\.\s$/,s=n.NB.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:e}){let{start:t,...r}=e;return 1===t?["ol",(0,n.P1)(this.options.HTMLAttributes,r),0]:["ol",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(i)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}}
1,addInputRules(){let e=(0,n.S0)({find:o,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,n.S0)({find:o,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(i)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}})},13694:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(94725);let i=e=>{if(!e.children.length)return;let t=e.querySelectorAll("span");t&&t.forEach(e=>{var t,r;let n=e.getAttribute("style"),i=null===(r=null===(t=e.parentElement)||void 0===t?void 0:t.closest("span"))||void 0===r?void 0:r.getAttribute("style");e.setAttribute("style",`${i};${n}`)})},o=n.vc.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{},mergeNestedSpanStyles:!1}),parseHTML(){return[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&(this.options.mergeNestedSpanStyles&&i(e),{})}]},renderHTML({HTMLAttributes:e}){return["span",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({tr:e})=>{let{selection:t}=e;return e.doc.nodesBetween(t.from,t.to,(t,r)=>{if(t.isTextblock)return!0;t.marks.filter(e=>e.type===this.type).some(e=>Object.values(e.attrs).some(e=>!!e))||e.removeMark(r,r+t.nodeSize,this.type)}),!0}}}})},64093:function(e,t,r){r.d(t,{Z:function(){return C}});var n=r(94725);let i=/^\s*>\s$/,o=n.NB.create({name:"blockquote",addOptions:()=>({HTMLAttributes:{}}),content:"block+",group:"block",defining:!0,parseHTML:()=>[{tag:"blockquote"}],renderHTML({HTMLAttributes:e}){return["blockquote",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}}
1,addInputRules(){return[(0,n.S0)({find:i,type:this.type})]}});var s=r(60808);let a="textStyle",l=/^\s*([-+*])\s$/,u=n.NB.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:e}){return["ul",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(a)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=(0,n.S0)({find:l,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,n.S0)({find:l,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(a),editor:this.editor})),[e]}});var d=r(37011),c=r(17213);let p=/^```([a-z]+)?[\s\n]$/,h=/^~~~([a-z]+)?[\s\n]$/,f=n.NB.create({name:"codeBlock",addOptions:()=>({languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}),content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{var t;let{languageClassPrefix:r}=this.options;return[...(null===(t=e.firstElementChild)||void 0===t?void 0:t.classList)||[]].filter(e=>e.startsWith(r)).map(e=>e.replace(r,""))[0]||null},rendered:!1}}},parseHTML:()=>[{tag:"pre",preserveWhitespace:"full"}],renderHTML({node:e,HTMLAttributes:t}){return["pre",(0,n.P1)(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{let{empty:e,$anchor:t}=this.editor.state.selection,r=1===t.pos;return!!e&&t.parent.type.name===this.name&&(!!r||!t.parent.textContent.length)&&this.editor.commands.clearNodes()},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;let{state:t}=e,{selection:r}=t,{$from:n,empty:i}=r;if(!i||n.parent.type!==this.type)return!1;let o=n.parentOffset===n.parent.nodeSize-2,s=n.parent.textContent.endsWith("\n\n");return!!o&&!!s&&e.chain().command(({tr:e})=>(e.delete(n.pos-2,n.pos),!0)).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;let{state:t}=e,{selection:r,doc:n}=t,{$from:i,empty:o}=r;if(!o||i.parent.type!==this.type||i.parentOffset!==i.parent.nodeSize-2)return!1;let s=i.after();return void 0!==s&&(n.nodeAt(s)?e.commands.command(({tr:e})=>(e.setSelection(c.Y1.near(n.resolve(s))),!0)):e.commands.exitCode())}}}
1,addInputRules(){return[(0,n.zK)({find:p,type:this.type,getAttributes:e=>({language:e[1]})}),(0,n.zK)({find:h,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new c.Sy({key:new c.H$("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;let r=t.clipboardData.getData("text/plain"),n=t.clipboardData.getData("vscode-editor-data"),i=n?JSON.parse(n):void 0,o=null==i?void 0:i.mode;if(!r||!o)return!1;let{tr:s,schema:a}=e.state,l=a.text(r.replace(/\r\n?/g,"\n"));return s.replaceSelectionWith(this.type.create({language:o},l)),s.selection.$from.parent.type!==this.type&&s.setSelection(c.Bs.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.setMeta("paste",!0),e.dispatch(s),!0}}})]}}),m=n.NB.create({name:"doc",topNode:!0,content:"block+"});var g=r(33898);let v=n.hj.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[(0,g.q)(this.options)]}});var b=r(12147);let y=n.NB.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:e}){return["br",(0,n.P1)(this.options.HTMLAttributes,e)]},renderText:()=>"\n",addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:r,editor:n})=>e.first([()=>e.exitCode(),()=>e.command(()=>{let{selection:e,storedMarks:i}=r;if(e.$from.parent.type.spec.isolating)return!1;let{keepMarks:o}=this.options,{splittableMarks:s}=n.extensionManager,a=i||e.$to.parentOffset&&e.$from.marks();return t().insertContent({type:this.name}).command(({tr:e,dispatch:t})=>{if(t&&a&&o){let t=a.filter(e=>s.includes(e.type.name));e.ensureMarks(t)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),k=n.NB.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){let r=this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0];return[`h${r}`,(0,n.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.setNode(this.name,e),toggleHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(e=>(0,n.zK)({find:RegExp(`^(#{${Math.min(...this.options.levels)},${e}}
1)\\s$`),type:this.type,getAttributes:{level:e}}))}});var M=r(49159);let A=n.NB.create({name:"horizontalRule",addOptions:()=>({HTMLAttributes:{}}),group:"block",parseHTML:()=>[{tag:"hr"}],renderHTML({HTMLAttributes:e}){return["hr",(0,n.P1)(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{if(!(0,n.FZ)(t,t.schema.nodes[this.name]))return!1;let{selection:r}=t,{$from:i,$to:o}=r,s=e();return 0===i.parentOffset?s.insertContentAt({from:Math.max(i.pos-1,0),to:o.pos},{type:this.name}):(0,n.EG)(r)?s.insertContentAt(o.pos,{type:this.name}):s.insertContent({type:this.name}),s.command(({tr:e,dispatch:t})=>{var r;if(t){let{$to:t}=e.selection,n=t.end();if(t.nodeAfter)t.nodeAfter.isTextblock?e.setSelection(c.Bs.create(e.doc,t.pos+1)):t.nodeAfter.isBlock?e.setSelection(c.qv.create(e.doc,t.pos)):e.setSelection(c.Bs.create(e.doc,t.pos));else{let i=null===(r=t.parent.type.contentMatch.defaultType)||void 0===r?void 0:r.create();i&&(e.insert(n,i),e.setSelection(c.Bs.create(e.doc,n+1)))}e.scrollIntoView()}return!0}).run()}}},addInputRules(){return[(0,n.x2)({find:/^(?:---|â-|___\s|\*\*\*\s)$/,type:this.t
1ype})]}});var S=r(68096),L=r(12061),w=r(36320);let E=n.NB.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}});var x=r(72673),T=r(95380);let C=n.hj.create({name:"starterKit",addExtensions(){let e=[];return!1!==this.options.bold&&e.push(s.d8.configure(this.options.bold)),!1!==this.options.blockquote&&e.push(o.configure(this.options.blockquote)),!1!==this.options.bulletList&&e.push(u.configure(this.options.bulletList)),!1!==this.options.code&&e.push(d.EK.configure(this.options.code)),!1!==this.options.codeBlock&&e.push(f.configure(this.options.codeBlock)),!1!==this.options.document&&e.push(m.configure(this.options.document)),!1!==this.options.dropcursor&&e.push(v.configure(this.options.dropcursor)),!1!==this.options.gapcursor&&e.push(b.f.configure(this.options.gapcursor)),!1!==this.options.hardBreak&&e.push(y.configure(this.options.hardBreak)),!1!==this.options.heading&&e.push(k.configure(this.options.heading)),!1!==this.options.history&&e.push(M.A.configure(this.options.history)),!1!==this.options.horizontalRule&&e.push(A.configure(this.options.horizontalRule)),!1!==this.options.italic&&e.push(S.Tx.configure(this.options.italic)),!1!==this.options.listItem&&e.push(L.H.configure(this.options.listItem)),!1!==this.options.orderedList&&e.push(w.GS.configure(this.options.orderedList)),!1!==this.options.paragraph&&e.push(E.configure(this.options.paragraph)),!1!==this.options.strike&&e.push(x.Re.configure(this.options.strike)),!1!==this.options.text&&e.push(T.x.configure(this.options.text)),e}})},40387:function(e,t,r){r.d(t,{mY:function(){return N}});var n=/[\\\/_+.#"@\[\(\{&]/,i=/[\\\/_+.#"@\[\(\{&]/g,o=/[\s-]/,s=/[\s-]/g;function a(e){return e.toLowerCase().replace(s," ")}var l=r(70001),u=r(2265);r(54887);var d=r(37053),c=r(57437),p=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,d.Z8)(`Primitive.${t}`),n=u.forwardRef((e,n)=>{let{asChild:i,...o}=e,s=i?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,c.jsx)(s,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),h=r(99255),f=r(98575),m='[cmdk-group=""]',g='[cmdk-group-items=""]',v='[cmdk-item=""]',b="".concat(v,':not([aria-disabled="true"])'),y="cmdk-item-select",k="data-value",M=(e,t,r)=>{var l;return l=e,function e(t,r,a,l,u,d,c){if(d===r.length)return u===t.length?1:.99;var p=`${u},${d}`;if(void 0!==c[p])return c[p];for(var h,f,m,g,v=l.charAt(d),b=a.indexOf(v,u),y=0;b>=0;)(h=e(t,r,a,l,b+1,d+1,c))>y&&(b===u?h*=1:n.test(t.charAt(b-1))?(h*=.8,(m=t.slice(u,b-1).match(i))&&u>0&&(h*=Math.pow(.999,m.length))):o.test(t.charAt(b-1))?(h*=.9,(g=t.slice(u,b-1).match(s))&&u>0&&(h*=Math.pow(.999,g.length))):(h*=.17,u>0&&(h*=Math.pow(.999,b-u))),t.charAt(b)!==r.charAt(d)&&(h*=.9999)),(h<.1&&a.charAt(b-1)===l.charAt(d+1)||l.charAt(d+1)===l.charAt(d)&&a.charAt(b-1)!==l.charAt(d))&&.1*(f=e(t,r,a,l,b+1,d+2,c))>h&&(h=.1*f),h>y&&(y=h),b=a.indexOf(v,b+1);return c[p]=y,y}(l=r&&r.length>0?`${l+" "+r.join(" ")}`:l,t,a(l),a(t),0,0,{})},A=u.createContext(void 0),S=()=>u.useContext(A),L=u.createContext(void 0),w=()=>u.useContext(L),E=u.createContext(void 0),x=u.forwardRef((e,t)=>{let r=$(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=$(()=>new Set),i=$(()=>new Map),o=$(()=>new Map),s=$(()=>new Set),a=P(e),{label:l,children:d,value:c,onValueChange:f,filter:S,shouldFilter:w,loop:E,disablePointerSelection:x=!1,vimBindings:T=!0,...C}=e,H=(0,h.M)(),I=(0,h.M)(),B=(0,h.M)(),R=u.useRef(null),N=z();O(()=>{if(void 0!==c){let e=c.trim();r.current.value=e,D.emit()}},[c]),O(()=>{N(6,W)},[]);let D=u.useMemo(()=>({subscribe:e=>(s.current.add(e),()=>s.current.delete(e)),snapshot:()=>
1r.current,setState:(e,t,n)=>{var i,o,s,l;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)V(),F(),N(1,_);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(B);e?e.focus():null==(i=document.getElementById(H))||i.focus()}if(N(7,()=>{var e;r.current.selectedItemId=null==(e=G())?void 0:e.id,D.emit()}),n||N(5,W),(null==(o=a.current)?void 0:o.value)!==void 0){null==(l=(s=a.current).onValueChange)||l.call(s,null!=t?t:"");return}}D.emit()}},emit:()=>{s.current.forEach(e=>e())}}),[]),q=u.useMemo(()=>({value:(e,t,n)=>{var i;t!==(null==(i=o.current.get(e))?void 0:i.value)&&(o.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,Z(t,n)),N(2,()=>{F(),D.emit()}))},item:(e,t)=>(n.current.add(e),t&&(i.current.has(t)?i.current.get(t).add(e):i.current.set(t,new Set([e]))),N(3,()=>{V(),F(),r.current.value||_(),D.emit()}),()=>{o.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=G();N(4,()=>{V(),(null==t?void 0:t.getAttribute("id"))===e&&_(),D.emit()})}),group:e=>(i.current.has(e)||i.current.set(e,new Set),()=>{o.current.delete(e),i.current.delete(e)}),filter:()=>a.current.shouldFilter,label:l||e["aria-label"],getDisablePointerSelection:()=>a.current.disablePointerSelection,listId:H,inputId:B,labelId:I,listInnerRef:R}),[]);function Z(e,t){var n,i;let o=null!=(i=null==(n=a.current)?void 0:n.filter)?i:M;return e?o(e,r.current.search,t):0}function F(){if(!r.current.search||!1===a.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(r=>{let n=i.current.get(r),o=0;n.forEach(t=>{o=Math.max(e.get(t),o)}),t.push([r,o])});let n=R.current;Y().sort((t,r)=>{var n,i;let o=t.getAttribute("id"),s=r.getAttribute("id");return(null!=(n=e.get(s))?n:0)-(null!=(i=e.get(o))?i:0)}).forEach(e=>{let t=e.closest(g);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(g," > *"))):n.appendChild(e.parentElement===n?e:e.closest("".concat(g," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=R.current)?void 0:t.querySelector("".concat(m,"[").concat(k,'="').concat(encodeURIComponent(e[0]),'"]'));null==r||r.parentElement.appendChild(r)})}function _(){let e=Y().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(k);D.setState("value",t||void 0)}function V(){var e,t,s,l;if(!r.current.search||!1===a.current.shouldFilter){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let u=0;for(let i of n.current){let n=Z(null!=(t=null==(e=o.current.get(i))?void 0:e.value)?t:"",null!=(l=null==(s=o.current.get(i))?void 0:s.keywords)?l:[]);r.current.filtered.items.set(i,n),n>0&&u++}for(let[e,t]of i.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=u}function W(){var e,t,r;let n=G();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(m))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function G(){var e;return null==(e=R.current)?void 0:e.querySelector("".concat(v,'[aria-selected="true"]'))}function Y(){var e;return Array.from((null==(e=R.current)?void 0:e.querySelectorAll(b))||[])}function U(e){let t=Y()[e];t&&D.setState("value",t.getAttribute(k))}function J(e){var t;let r=G(),n=Y(),i=n.findIndex(e=>e===r),o=n[i+e];null!=(t=a.current)&&t.loop&&(o=i+e<0?n[n.length-1]:i+e===n.length?n[0]:n[i+e]),o&&D.setState("value",o.getAttribute(k))}function Q(e){let t=G(),r=null==t?void 0:t.closest(m),n;for(;r&&!n;)n=null==(r=e>0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,m):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,m))?void 0:r.querySelector(b);n?D.setState("value",n.getAttribute(k)):J(e)}let X=()=>U(Y().length-1),ee=e=>{e.preventDefault(),e.metaKey?X():e.altKey?Q(1):J(1)},et=e=>{e.preventDefault(),e.metaKey?U(0):e.altKey?Q(-1):J(-1)};return u.createElement(p.div,{ref:t,tabIndex:-1,...C,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=C.onKeyDown)||t.call(C,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":T&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":T&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),U(0);break;case"End":e.preventDefault(),X();break;case"Enter":{e.preventDefault();let t=G();if(t){let e=new Event(y);t.dispatchEvent(e)}}}}},u.createElement("label",{"cmdk-label":"",htmlFor:q.inputId,id:q.labelId,style:j},l),K(e,e=>u.createElement(L.Provider,{value:D},u.createElement(A.Provider,{value:q},e))))}),T=u.forwardRef((e,t)=>
1{var r,n;let i=(0,h.M)(),o=u.useRef(null),s=u.useContext(E),a=S(),l=P(e),d=null!=(n=null==(r=l.current)?void 0:r.forceMount)?n:null==s?void 0:s.forceMount;O(()=>{if(!d)return a.item(i,null==s?void 0:s.id)},[d]);let c=q(i,o,[e.value,e.children,o],e.keywords),m=w(),g=D(e=>e.value&&e.value===c.current),v=D(e=>!!d||!1===a.filter()||!e.search||e.filtered.items.get(i)>0);function b(){var e,t;k(),null==(t=(e=l.current).onSelect)||t.call(e,c.current)}function k(){m.setState("value",c.current,!0)}if(u.useEffect(()=>{let t=o.current;if(!(!t||e.disabled))return t.addEventListener(y,b),()=>t.removeEventListener(y,b)},[v,e.onSelect,e.disabled]),!v)return null;let{disabled:M,value:A,onSelect:L,forceMount:x,keywords:T,...C}=e;return u.createElement(p.div,{ref:(0,f.F)(o,t),...C,id:i,"cmdk-item":"",role:"option","aria-disabled":!!M,"aria-selected":!!g,"data-disabled":!!M,"data-selected":!!g,onPointerMove:M||a.getDisablePointerSelection()?void 0:k,onClick:M?void 0:b},e.children)}),C=u.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:i,...o}=e,s=(0,h.M)(),a=u.useRef(null),l=u.useRef(null),d=(0,h.M)(),c=S(),m=D(e=>!!i||!1===c.filter()||!e.search||e.filtered.groups.has(s));O(()=>c.group(s),[]),q(s,a,[e.value,e.heading,l]);let g=u.useMemo(()=>({id:s,forceMount:i}),[i]);return u.createElement(p.div,{ref:(0,f.F)(a,t),...o,"cmdk-group":"",role:"presentation",hidden:!m||void 0},r&&u.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:d},r),K(e,e=>u.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?d:void 0},u.createElement(E.Provider,{value:g},e))))}),H=u.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,i=u.useRef(null),o=D(e=>!e.search);return r||o?u.createElement(p.div,{ref:(0,f.F)(i,t),...n,"cmdk-separator":"",role:"separator"}):null}),I=u.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,i=null!=e.value,o=w(),s=D(e=>e.search),a=D(e=>e.selectedItemId),l=S();return u.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),u.createElement(p.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":a,id:l.inputId,type:"text",value:i?e.value:s,onChange:e=>{i||o.setState("search",e.target.value),null==r||r(e.target.value)}})}),B=u.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...i}=e,o=u.useRef(null),s=u.useRef(null),a=D(e=>e.selectedItemId),l=S();return u.useEffect(()=>{if(s.current&&o.current){let e=s.current,t=o.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),u.createElement(p.div,{ref:(0,f.F)(o,t),...i,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":a,"aria-label":n,id:l.listId},K(e,e=>u.createElement("div",{ref:(0,f.F)(s,l.listInnerRef),"cmdk-list-sizer":""},e)))}),R=u.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:i,contentClassName:o,container:s,...a}=e;return u.createElement(l.fC,{open:r,onOpenChange:n},u.createElement(l.h_,{container:s},u.createElement(l.aV,{"cmdk-overlay":"",className:i}),u.createElement(l.VY,{"aria-label":e.label,"cmdk-dialog":"",className:o},u.createElement(x,{ref:t,...a}))))}),N=Object.assign(x,{List:B,Item:T,Input:I,Group:C,Separator:H,Dialog:R,Empty:u.forwardRef((e,t)=>D(e=>0===e.filtered.count)?u.createElement(p.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:u.forwardRef((e,t)=>{let{progress:r,children:n,label:i="Loading...",...o}=e;return u.createElement(p.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},K(e,e=>u.createElement("div",{"aria-hidden":!0},e)))})});function P(e){let t=u.useRef(e);return O(()=>{t.current=e}),t}var O="undefined"==typeof window?u.useEffect:u.useLayoutEffect;function $(e){let t=u.useRef();return void 0===t.current&&(t.current=e()),t}function D(e){let t=w(),r=()=>e(t.snapshot());return u.useSyncExternalStore(t.subscribe,r,r)}function q(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=u.useRef(),o=S();return O(()=>{var s;let a=(()=>{var e;
1for(let t of r){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():i.current}})(),l=n.map(e=>e.trim());o.value(e,a,l),null==(s=t.current)||s.setAttribute(k,a),i.current=a}),i}var z=()=>{let[e,t]=u.useState(),r=$(()=>new Map);return O(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function K(e,t){let r,{asChild:n,children:i}=e;return n&&u.isValidElement(i)?u.cloneElement("function"==typeof(r=i.type)?r(i.props):"render"in r?r.render(i.props):i,{ref:i.ref},t(i.props.children)):t(i)}var j={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}}}]);
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.