1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15325],{444564:(e,t,r)=>{var n=r(212115),i=r(694236),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,u=n.useRef,a=n.useEffect,l=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var d=u(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;var f=s(e,(d=l(function(){function e(e){if(!a){if(a=!0,s=e,e=n(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return u=t}return u=e}if(t=u,o(s,e))return t;var r=n(e);return void 0!==i&&i(t,r)?(s=e,t):(s=e,u=r)}var s,u,a=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,i]))[0],d[1]);return a(function(){h.hasValue=!0,h.value=f},[f]),c(f),f}},118010:(e,t,r)=>{e.exports=r(444564)},615325:(e,t,r)=>{r.d(t,{$Z$:()=>K,hGv:()=>X,erU:()=>Y});var n=r(212115),i=r(255526),o=r(447650),s=r(694236),u=r(419346),a=r(695155);let{getOwnPropertyNames:l,getOwnPropertySymbols:c}=Object,{hasOwnProperty:d}=Object.prototype;function h(e,t){return function(r,n,i){return e(r,n,i)&&t(r,n,i)}}function f(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);let{cache:i}=n,o=i.get(t),s=i.get(r);if(o&&s)return o===r&&s===t;i.set(t,r),i.set(r,t);let u=e(t,r,n);return i.delete(t),i.delete(r),u}}function p(e){return l(e).concat(c(e))}let v=Object.hasOwn||((e,t)=>d.call(e,t));function b(e,t){return e===t||!e&&!t&&e!=e&&t!=t}let y="undefined"!=typeof Float16Array,{getOwnPropertyDescriptor:m,keys:g}=Object;function w(e,t){return e.byteLength===t.byteLength&&I(new Uint8Array(e),new Uint8Array(t))}function E(e,t,r){let n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function S(e,t){return e.byteLength===t.byteLength&&I(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function j(e,t){return b(e.getTime(),t.getTime())}function C(e,t,r){return e.name===t.name&&e.message===t.message&&e.stack===t.stack&&r.equals(e.cause,t.cause,"cause","cause",e,t,r)}function A(e,t){return e===t}function D(e,t,r){let n,i;let o=e.size;if(o!==t.size)return!1;if(!o)return!0;let s=Array(o),u=e.entries(),a=0;for(;(n=u.next())&&!n.done;){let o=t.entries(),u=!1,l=0;for(;(i=o.next())&&!i.done;){if(s[l]){l++;continue}let o=n.value,c=i.value;if(r.equals(o[0],c[0],a,l,e,t,r)&&r.equals(o[1],c[1],o[0],c[0],e,t,r)){u=s[l]=!0;break}l++}if(!u)return!1;a++}return!0}function O(e,t,r){let n=g(e),i=n.length;if(g(t).length!==i)return!1;for(;i-- >0;)if(!R(e,t,r,n[i]))return!1;return!0}function x(e,t,r){let n,i,o;let s=p(e),u=s.length;if(p(t).length!==u)return!1;for(;u-- >0;)if(!R(e,t,r,n=s[u])||(i=m(e,n),o=m(t,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable)))return!1;return!0}function T(e,t){return b(e.valueOf(),t.valueOf())}function M(e,t){return e.source===t.source&&e.flags===t.flags}function q(e,t,r){let n,i;let o=e.size;if(o!==t.size)return!1;if(!o)return!0;let s=Array(o),u=e.values();for(;(n=u.next())&&!n.done;){let o=t.values(),u=!1,a=0;for(;(i=o.next())&&!i.done;){if(!s[a]&&r.equals(n.value,i.value,n.value,i.value,e,t,r)){u=s[a]=!0;break}a++}if(!u)return!1}return!0}function I(e,t){let r=e.length;if(t.length!==r||e.byteOffset!==t.byteOffset)return!1;if(e instanceof Float64Array||e instanceof Float32Array||y&&e instanceof Float16Array){for(;r-- >0;)if(e[r]!==t[r]&&(e[r]==e[r]||t[r]==t[r]))return!1;return!0}for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function N(e,t){return e.href===t.href||e.protocol===t.protocol&&e.username===t.username&&e.password===t.password&&e.host===t.host&&e.pathname===t.pathname&&e.hash===t.hash&&function(e,t){let r=e.toString(),n=t.toString();return r===n||k(r)===k(n)}(e.searchParams,t.searchParams)}function k(e){return e.split("&").sort().join("&")}function R(e,t,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!e.$$typeof||!!t.$$typeof)||v(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}let U={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array
1]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},V=Object.prototype.toString,F=P();function P(e={}){let{circular:t=!1,createInternalComparator:r,createState:n,strict:i=!1}=e,o=function({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:i,areFunctionsEqual:o,areMapsEqual:s,areNumbersEqual:u,areObjectsEqual:a,arePrimitiveWrappersEqual:l,areRegExpsEqual:c,areSetsEqual:d,areTypedArraysEqual:h,areUrlsEqual:f,unknownTagComparators:p}){return function(v,b,y){if(v===b)return!0;if(null==v||null==b)return!1;let m=typeof v;if(m!==typeof b)return!1;if("object"!==m)return"number"===m?u(v,b,y):"function"===m&&o(v,b,y);let g=v.constructor;if(g!==b.constructor)return!1;if(g===Object)return a(v,b,y);if(Array.isArray(v))return t(v,b,y);if(g===Date)return n(v,b,y);if(g===RegExp)return c(v,b,y);if(g===Map)return s(v,b,y);if(g===Set)return d(v,b,y);if(null==g)return a(v,b,y);let w=V.call(v);if("[object Date]"===w)return n(v,b,y);if("[object RegExp]"===w)return c(v,b,y);if("[object Map]"===w)return s(v,b,y);if("[object Set]"===w)return d(v,b,y);if("[object Object]"===w)return"function"!=typeof v.then&&"function"!=typeof b.then&&a(v,b,y);if("[object URL]"===w)return f(v,b,y);if("[object Error]"===w)return i(v,b,y);if("[object Arguments]"===w)return a(v,b,y);if(U[w])return h(v,b,y);if("[object ArrayBuffer]"===w)return e(v,b,y);if("[object DataView]"===w)return r(v,b,y);if("[object Boolean]"===w||"[object Number]"===w||"[object String]"===w)return l(v,b,y);if(p){let e=p[w];if(!e){let t=null!=v?v[Symbol.toStringTag]:void 0;t&&(e=p[t])}if(e)return e(v,b,y)}return!1}}(function({circular:e,createCustomConfig:t,strict:r}){let n={areArrayBuffersEqual:w,areArraysEqual:r?x:E,areDataViewsEqual:S,areDatesEqual:j,areErrorsEqual:r?h(C,x):h(C,O),areFunctionsEqual:A,areMapsEqual:r?h(D,x):D,areNumbersEqual:b,areObjectsEqual:r?x:O,arePrimitiveWrappersEqual:T,areRegExpsEqual:M,areSetsEqual:r?h(q,x):q,areTypedArraysEqual:r?h(I,x):I,areUrlsEqual:N,unknownTagComparators:void 0};if(t&&(n=Object.assign({},n,t(n))),e){let e=f(n.areArraysEqual),t=f(n.areErrorsEqual),r=f(n.areMapsEqual),i=f(n.areObjectsEqual),o=f(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:e,areErrorsEqual:t,areMapsEqual:r,areObjectsEqual:i,areSetsEqual:o})}return n}(e)),s=r?r(o):function(e,t,r,n,i,s,u){return o(e,t,u)};return function({circular:e,comparator:t,createState:r,equals:n,strict:i}){if(r)return function(o,s){let{cache:u=e?new WeakMap:void 0,meta:a}=r();return t(o,s,{cache:u,equals:n,meta:a,strict:i})};if(e)return function(e,r){return t(e,r,{cache:new WeakMap,equals:n,meta:void 0,strict:i})};let o={cache:void 0,equals:n,meta:void 0,strict:i};return function(e,r){return t(e,r,o)}}({circular:t,comparator:o,createState:n,equals:s,strict:i})}P({strict:!0}),P({circular:!0}),P({circular:!0,strict:!0}),P({createInternalComparator:()=>b}),P({strict:!0,createInternalComparator:()=>b}),P({circular:!0,createInternalComparator:()=>b}),P({circular:!0,createInternalComparator:()=>b,strict:!0});var B=r(118010);let $=new i.hs("reactMobileEnter"),_=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach(t=>{"function"==typeof t?t(e):t&&(t.current=e)})}},L=e=>{let{contentComponent:t}=e,r=(0,s.useSyncExternalStore)(t.subscribe,t.getSnapshot,t.getServerSnapshot);return(0,a.jsx)(a.Fragment,{children:Object.values(r)})};var W=class extends n.Component{componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){var e;let t=this.props.editor;if(t&&!t.isDestroyed&&(null===(e=t.view.dom)||void 0===e?void 0:e.parentNode)){if(t.contentComponent)return;let e=this.editorContentRef.current;e.append(...t.view.dom.parentNode.childNodes),t.setOptions({element:e}),t.contentComponent=function(){let e=new Set,t={},r=!1,n=()=>{!r&&e.size&&(r=!0,queueMicrotask(()=>{r=!1,e.forEach(e=>e())}))};return{subscribe:t=>(e.add(t),()=>{e.delete(t)}),getSnapshot:()=>t,getServerSnapshot:()=>t,setRenderer(e,r){t={...t,[e]:o.createPortal(r.reactElement,r.element,e)},n()},removeRenderer(e){let r={...t};delete r[e],t=r,n()}}}(),t.createNodeViews(),t.registerPlugin(new i.k_({key:$,props:{handleDOMEvents:{beforeinput
1:(e,r)=>(function(e,t){var r,n;if(e.isDestroyed||t.defaultPrevented||!t.cancelable||!e.isEditable||"insertParagraph"!==t.inputType&&"insertLineBreak"!==t.inputType||!(0,u.OF)()&&!(0,u.m0)())return;let i=e.view,o=i.root,s=null!==(r=null===(n=o.getSelection)||void 0===n?void 0:n.call(o))&&void 0!==r?r:i.dom.ownerDocument.getSelection(),a=null==s?void 0:s.anchorNode,l=(null==a?void 0:a.nodeType)===1?a:null==a?void 0:a.parentElement,c=null==l?void 0:l.closest("[data-node-view-content-react]");if(!c||!i.dom.contains(c))return;let d=i.input.lastKeyCode;13===d&&(i.input.lastKeyCode=null),i.domObserver.forceFlush(),i.domObserver.flush();let h=new KeyboardEvent("keydown",{key:"Enter",code:"Enter",keyCode:13,shiftKey:"insertLineBreak"===t.inputType,bubbles:!0,cancelable:!0});i.someProp("handleKeyDown",e=>e(i,h))?(t.preventDefault(),i.input.lastIOSEnter=0,clearTimeout(i.input.lastIOSEnterFallbackTimeout)):13===d&&(i.input.lastKeyCode=d)})(t,r)}}})),t.isEditorContentInitialized=!0,this.forceUpdate()}}componentWillUnmount(){let e=this.props.editor;if(e){e.isEditorContentInitialized=!1,e.isDestroyed||(e.unregisterPlugin($),e.view.setProps({nodeViews:{}})),e.contentComponent=null;try{var t;if(!(null===(t=e.view.dom)||void 0===t?void 0:t.parentNode))return;let r=document.createElement("div");r.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:r})}catch(e){}}}render(){let{editor:e,innerRef:t,...r}=this.props;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:_(t,this.editorContentRef),...r}),(null==e?void 0:e.contentComponent)&&(0,a.jsx)(L,{contentComponent:e.contentComponent})]})}constructor(e){super(e),this.editorContentRef=n.createRef()}};let z=(0,n.forwardRef)((e,t)=>{let r=n.useMemo(()=>Math.floor(0xffffffff*Math.random()).toString(),[e.editor]);return n.createElement(W,{key:r,innerRef:t,...e})}),K=n.memo(z),Q="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;var G=class{getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){let e;let t=t=>{((null==t?void 0:t.transaction)===void 0||t.transaction!==e)&&(e=null==t?void 0:t.transaction,this.transactionNumber+=1,this.subscribers.forEach(e=>e()))},r=this.editor;return r.on("transaction",t),r.on("update",t),()=>{r.off("transaction",t),r.off("update",t)}}}constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}};function Y(e){var t;let[r]=(0,n.useState)(()=>new G(e.editor)),i=(0,B.useSyncExternalStoreWithSelector)(r.subscribe,r.getSnapshot,r.getServerSnapshot,e.selector,null!==(t=e.equalityFn)&&void 0!==t?t:F);return Q(()=>r.watch(e.editor),[e.editor,r]),(0,n.useDebugValue)(i),i}let Z="undefined"==typeof window,H=Z||!!("undefined"!=typeof window&&window.next);var J=class e{setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(e=>e())}getInitialEditor(){let e=this.options.current.immediatelyRender,t=null==e||e;return Z?t=!1:H&&void 0===e&&(t=!1),t?this.createEditor():null}createEditor(){var e=this;let t={...this.options.current,onBeforeCreate:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onBeforeCreate)||void 0===t?void 0:t.call(r,...i)},onBlur:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onBlur)||void 0===t?void 0:t.call(r,...i)},onCreate:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onCreate)||void 0===t?void 0:t.call(r,...i)},onDestroy:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onDestroy)||void 0===t?void 0:t.call(r,...i)},onFocus:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onFocus)||void 0===t?void 0:t.call(r,...i)},onSelectionUpdate:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onSelectionUpdate)||void 0===t?void 0:t.call(r,...i)},onTransaction:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onTransaction)||void 0===t?void 0:t.call(r,...i)},onUpdate:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onUpdate)||void 0===t?void 0:t.call(r,...i)},onContentError:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onContentError)||void 0===t?void 0:t.call(r,...i)},onDrop:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onDrop)||void 0===t?void 0:t.call(r,...i)},onPaste:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onPaste)||void 0===t?void 0:t.call(r,...i)},onDelete:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onDelete)||void 0===t?void 0:t.call(r,...i)},onMount:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onMount)||void 0===t?void 0:t.call(r,...i)},onUnmount:function(){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return null===(t=(r=e.options.current).onUnmount)||void 0===t?void 0:t.call(r,...i)}};return new u.KE(t)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every(r=>!!["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(r)||("extensions"===r&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length&&e.extensions.every((e,r)=>{var n;return e===(null===(n=t.extensions)||void 0===n?void 0:n[r])}):e[r]===t[r]))}onRender(t){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===t.length?e.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(t),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){
1if(null===this.previousDeps){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((t,r)=>t===e[r]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){let e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){t&&t.setOptions(this.options.current);return}t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))},1)}constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}};function X(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=(0,n.useRef)(e);r.current=e;let[i]=(0,n.useState)(()=>new J(r)),o=(0,s.useSyncExternalStore)(i.subscribe,i.getEditor,i.getServerSnapshot);return(0,n.useDebugValue)(o),(0,n.useEffect)(i.onRender(t)),Y({editor:o,selector:t=>{let{transactionNumber:r}=t;return!1===e.shouldRerenderOnTransaction||void 0===e.shouldRerenderOnTransaction?null:e.immediatelyRender&&0===r?0:r+1}}),o}let ee=(0,n.createContext)({editor:null});function et(e){return!!("function"==typeof e&&e.prototype&&e.prototype.isReactComponent)}function er(e){return!!("object"==typeof e&&e.$$typeof&&("Symbol(react.forward_ref)"===e.$$typeof.toString()||"react.forward_ref"===e.$$typeof.description))}ee.Consumer;u.Db;var en=class{register(e){0===this.viewCount&&this.editor.on("transaction",this.handleTransaction),this.views.set(e.dom,e),this.viewCount+=1,this.scheduleSync()}unregister(e){this.views.delete(e.dom),this.viewCount-=1,this.insideViews.delete(e),0===this.viewCount&&this.editor.off("transaction",this.handleTransaction)}sync(){if(0===this.viewCount||this.editor.isDestroyed)return;let e=this.findInsideViews();this.updateViews(this.insideViews,e,!1),this.updateViews(e,this.insideViews,!0),this.insideViews=e}updateViews(e,t,r){for(let n of e)t.has(n)||n.setSelectionInside(r)}findInsideViews(){let e=new Set;for(let t of function(e){var t;if(!(0,u.eE)(e))return[];let{$from:r,$to:n}=e,i=[],o=Math.min(r.depth,n.depth);for(let e=1;e<=o&&(t=e,r.node(t)===n.node(t)&&r.before(t)===n.before(t));e+=1)i.push(r.before(e));return i}(this.editor.state.selection)){let r=this.editor.view.nodeDOM(t),n=r?this.views.get(r):void 0;n&&e.add(n)}return e}constructor(e){this.views=new WeakMap,this.viewCount=0,this.insideViews=new Set,this.syncQueued=!1,this.scheduleSync=()=>{this.syncQueued||(this.syncQueued=!0,queueMicrotask(()=>{this.syncQueued=!1,this.sync()}))},this.handleTransaction=()=>this.scheduleSync(),this.editor=e}};let ei=new WeakMap;u.Yv,Symbol("tiptapReactWidgetCache");let eo=(0,n.createContext)({get editor(){throw Error("useTiptap must be used within a <Tiptap> provider")}});eo.displayName="TiptapContext";let es=()=>(0,n.useContext)(eo);function eu(e){let{children:t,...r}=e,i="editor"in r?r.editor:r.instance;if(!i)throw Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");let o=(0,n.useMemo)(()=>({editor:i}),[i]),s=(0,n.useMemo)(()=>({editor:i}),[i]);return(0,a.jsx)(ee.Provider,{value:s,children:(0,a.jsx)(eo.Provider,{value:o,children:t})})}function ea(e){let{...t}=e,{editor:r}=es();return(0,a.jsx)(K,{editor:r,...t})}eu.displayName="Tiptap",ea.displayName="Tiptap.Content",Object.assign(eu,{Content:ea})}}]);
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.