PageSourceSearch

https://www.floodfirefix.com/_next/static/chunks/4228-14b7465ce5e99a45.js

js floodfirefix.com collected 2026-10-08 07:18:49 UTC 23,599 bytes, 3 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a11221-842e-0000-df20-67b5a60582a7";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="d088c6a6-d672-59ca-a5eb-be24ae9ed638")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4228],{20406:(e,t,n)=>{n.d(t,{QO:()=>_,vR:()=>Y,Or:()=>V,JU:()=>D,lb:()=>F});var i=n(49889),o=n(76511),r=n(21612);class s{constructor(e,t){var n;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!=(n=t.width)?n:1,this.color=!1===t.color?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(t=>{let n=e=>{this[t](e)};return e.dom.addEventListener(t,n),{name:t,handler:n}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){null!=this.cursorPos&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,null==e?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e,t,n=this.editorView.state.doc.resolve(this.cursorPos),i=!n.parent.inlineContent,o,r=this.editorView.dom,s=r.getBoundingClientRect(),l=s.width/r.offsetWidth,a=s.height/r.offsetHeight;if(i){let e=n.nodeBefore,t=n.nodeAfter;if(e||t){let n=this.editorView.nodeDOM(this.cursorPos-(e?e.nodeSize:0));if(n){let i=n.getBoundingClientRect(),r=e?i.bottom:i.top;e&&t&&(r=(r+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let s=this.width/2*a;o={left:i.left,right:i.right,top:r-s,bottom:r+s}}}}if(!o){let e=this.editorView.coordsAtPos(this.cursorPos),t=this.width/2*l;o={left:e.left-t,right:e.left+t,top:e.top,bottom:e.bottom}}let h=this.editorView.dom.offsetParent;if(!this.element&&(this.element=h.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",i),this.element.classList.toggle("prosemirror-dropcursor-inline",!i),h&&(h!=document.body||"static"!=getComputedStyle(h).position)){let n=h.getBoundingClientRect(),i=n.width/h.offsetWidth,o=n.height/h.offsetHeight;e=n.left-h.scrollLeft*i,t=n.top-h.scrollTop*o}else e=-pageXOffset,t=-pageYOffset;this.element.style.left=(o.left-e)/l+"px",this.element.style.top=(o.top-t)/a+"px",this.element.style.width=(o.right-o.left)/l+"px",this.element.style.height=(o.bottom-o.top)/a+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),i=n&&n.type.spec.disableDropCursor,o="function"==typeof i?i(this.editorView,t,e):i;if(t&&!o){let e=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let t=(0,r.Um)(this.editorView.state.doc,e,this.editorView.dragging.slice);null!=t&&(e=t)}this.setCursor(e),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}var l=n(58099),a=n(50523),h=n(96435);class p extends o.LN{constructor(e){super(e,e)}map(e,t){let n=e.resolve(t.map(this.head));return p.valid(n)?new p(n):o.LN.near(n)}content(){return h.Ji.empty}eq(e){return e instanceof p&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for GapCursor.fromJSON");return new p(e.resolve(t.pos))}getBookmark(){return new d(this.anchor)}static valid(e){let t=e.parent;if(t.inlineContent||!function(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),i=e.node(t);if(0==n){if(i.type.spec.isolating)return!0;continue}for(let e=i.child(n-1);;e=e.lastChild){if(0==e.childCount&&!e.inlineContent||u(e.type))return!0;
2if(e.inlineContent)return!1}}return!0}(e)||!function(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),i=e.node(t);if(n==i.childCount){if(i.type.spec.isolating)return!0;continue}for(let e=i.child(n);;e=e.firstChild){if(0==e.childCount&&!e.inlineContent||u(e.type))return!0;if(e.inlineContent)return!1}}return!0}(e))return!1;let n=t.type.spec.allowGapCursor;if(null!=n)return n;let i=t.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,t,n=!1){e:for(;;){if(!n&&p.valid(e))return e;let i=e.pos,r=null;for(let n=e.depth;;n--){let o=e.node(n);if(t>0?e.indexAfter(n)<o.childCount:e.index(n)>0){r=o.child(t>0?e.indexAfter(n):e.index(n)-1);break}if(0==n)return null;i+=t;let s=e.doc.resolve(i);if(p.valid(s))return s}for(;;){let s=t>0?r.firstChild:r.lastChild;if(!s){if(r.isAtom&&!r.isText&&!o.nh.isSelectable(r)){e=e.doc.resolve(i+r.nodeSize*t),n=!1;continue e}break}r=s,i+=t;let l=e.doc.resolve(i);if(p.valid(l))return l}return null}}}p.prototype.visible=!1,p.findFrom=p.findGapCursorFrom,o.LN.jsonID("gapcursor",p);class d{constructor(e){this.pos=e}map(e){return new d(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return p.valid(t)?new p(t):o.LN.near(t)}}function u(e){return e.isAtom||e.spec.isolating||e.spec.createGapCursor}let c=(0,a.K)({ArrowLeft:f("horiz",-1),ArrowRight:f("horiz",1),ArrowUp:f("vert",-1),ArrowDown:f("vert",1)});function f(e,t){let n="vert"==e?t>0?"down":"up":t>0?"right":"left";return function(e,i,r){let s=e.selection,l=t>0?s.$to:s.$from,a=s.empty;if(s instanceof o.U3){if(!r.endOfTextblock(n)||0==l.depth)return!1;a=!1,l=e.doc.resolve(t>0?l.after():l.before())}let h=p.findGapCursorFrom(l,t,a);return!!h&&(i&&i(e.tr.setSelection(new p(h))),!0)}}function m(e,t,n){if(!e||!e.editable)return!1;let i=e.state.doc.resolve(t);if(!p.valid(i))return!1;let r=e.posAtCoords({left:n.clientX,top:n.clientY});return!(r&&r.inside>-1&&o.nh.isSelectable(e.state.doc.nodeAt(r.inside)))&&(e.dispatch(e.state.tr.setSelection(new p(i))),!0)}function g(e,t){if("insertCompositionText"!=t.inputType||!(e.state.selection instanceof p))return!1;let{$from:n}=e.state.selection,i=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!i)return!1;let r=h.FK.empty;for(let e=i.length-1;e>=0;e--)r=h.FK.from(i[e].createAndFill(null,r));let s=e.state.tr.replace(n.pos,n.pos,new h.Ji(r,0,0));return s.setSelection(o.U3.near(s.doc.resolve(n.pos+1))),e.dispatch(s),!1}function v(e){if(!(e.selection instanceof p))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",l.zF.create(e.doc,[l.NZ.widget(e.selection.head,t,{key:"gapcursor"})])}var y=function(){};y.prototype.append=function(e){return e.length?(e=y.from(e),!this.length&&e||e.length<200&&this.leafAppend(e)||this.length<200&&e.leafPrepend(this)||this.appendInner(e)):this},y.prototype.prepend=function(e){return e.length?y.from(e).append(this):this},y.prototype.appendInner=function(e){return new C(this,e)},y.prototype.slice=function(e,t){return(void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t)?y.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},y.prototype.get=function(e){if(!(e<0)&&!(e>=this.length))return this.getInner(e)},y.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},y.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var i=[];return this.forEach(function(t,n){return i.push(e(t,n))},t,n),i},y.from=function(e){return e instanceof y?e:e&&e.length?new w(e):y.empty};var w=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,i){for(var o=t;o<n;o++)if(!1===e(this.values[o],i+o))return!1},t.prototype.forEachInvertedInner=function(e,t,n,i){for(var o=t-1;o>=n;o--)if(!1===e(this.values[o],i+o))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=200)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=200)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(y);y.empty=new w([]);
2var C=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,i){var o=this.left.length;if(t<o&&!1===this.left.forEachInner(e,t,Math.min(n,o),i)||n>o&&!1===this.right.forEachInner(e,Math.max(t-o,0),Math.min(this.length,n)-o,i+o))return!1},t.prototype.forEachInvertedInner=function(e,t,n,i){var o=this.left.length;if(t>o&&!1===this.right.forEachInvertedInner(e,t-o,Math.max(n,o)-o,i+o)||n<o&&!1===this.left.forEachInvertedInner(e,Math.min(t,o),n,i))return!1},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(y);class b{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){let n,i,o,r;if(0==this.eventCount)return null;let s=this.items.length;for(;;s--)if(this.items.get(s-1).selection){--s;break}t&&(i=(n=this.remapping(s,this.items.length)).maps.length);let l=e.tr,a=[],h=[];return this.items.forEach((e,t)=>{if(!e.step){n||(i=(n=this.remapping(s,t+1)).maps.length),i--,h.push(e);return}if(n){h.push(new M(e.map));let t=e.step.map(n.slice(i)),o;t&&l.maybeStep(t).doc&&(o=l.mapping.maps[l.mapping.maps.length-1],a.push(new M(o,void 0,void 0,a.length+h.length))),i--,o&&n.appendMap(o,i)}else l.maybeStep(e.step);if(e.selection)return o=n?e.selection.map(n.slice(i)):e.selection,r=new b(this.items.slice(0,s).append(h.reverse().concat(a)),this.eventCount-1),!1},this.items.length,0),{remaining:r,transform:l,selection:o}}addTransform(e,t,n,i){var o,r;let s,l=[],a=this.eventCount,h=this.items,p=!i&&h.length?h.get(h.length-1):null;for(let n=0;n<e.steps.length;n++){let o=e.steps[n].invert(e.docs[n]),r=new M(e.mapping.maps[n],o,t),s;(s=p&&p.merge(r))&&(r=s,n?l.pop():h=h.slice(0,h.length-1)),l.push(r),t&&(a++,t=void 0),i||(p=r)}let d=a-n.depth;return d>E&&(o=h,r=d,o.forEach((e,t)=>{if(e.selection&&0==r--)return s=t,!1}),h=o.slice(s),a-=d),new b(h.append(l),a)}remapping(e,t){let n=new r.X9;return this.items.forEach((t,i)=>{let o=null!=t.mirrorOffset&&i-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,o)},e,t),n}addMaps(e){return 0==this.eventCount?this:new b(this.items.append(e.map(e=>new M(e))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],i=Math.max(0,this.items.length-t),o=e.mapping,r=e.steps.length,s=this.eventCount;this.items.forEach(e=>{e.selection&&s--},i);let l=t;this.items.forEach(t=>{let i=o.getMirror(--l);if(null==i)return;r=Math.min(r,i);let a=o.maps[i];if(t.step){let r=e.steps[i].invert(e.docs[i]),h=t.selection&&t.selection.map(o.slice(l+1,i));h&&s++,n.push(new M(a,r,h))}else n.push(new M(a))},i);let a=[];for(let e=t;e<r;e++)a.push(new M(o.maps[e]));let h=new b(this.items.slice(0,i).append(a).append(n),s);return h.emptyItemCount()>500&&(h=h.compress(this.items.length-n.length)),h}emptyItemCount(){let e=0;return this.items.forEach(t=>{!t.step&&e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,i=[],o=0;return this.items.forEach((r,s)=>{if(s>=e)i.push(r),r.selection&&o++;else if(r.step){let e=r.step.map(t.slice(n)),s=e&&e.getMap();if(n--,s&&t.appendMap(s,n),e){let l=r.selection&&r.selection.map(t.slice(n));l&&o++;let a=new M(s.invert(),e,l),h,p=i.length-1;(h=i.length&&i[p].merge(a))?i[p]=h:i.push(a)}}else r.map&&n--},this.items.length,0),new b(y.from(i.reverse()),o)}}b.empty=new b(y.empty,0);class M{constructor(e,t,n,i){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=i}
2merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new M(t.getMap().invert(),t,this.selection)}}}class k{constructor(e,t,n,i,o){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=i,this.prevComposition=o}}let E=20;function x(e){let t=[];for(let n=e.length-1;n>=0&&0==t.length;n--)e[n].forEach((e,n,i,o)=>t.push(i,o));return t}function O(e,t){if(!e)return null;let n=[];for(let i=0;i<e.length;i+=2){let o=t.map(e[i],1),r=t.map(e[i+1],-1);o<=r&&n.push(o,r)}return n}let T=!1,I=null;function P(e){let t=e.plugins;if(I!=t){T=!1,I=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){T=!0;break}}return T}let A=new o.hs("history"),S=new o.hs("closeHistory");function N(e,t){return(n,i)=>{let o=A.getState(n);if(!o||0==(e?o.undone:o.done).eventCount)return!1;if(i){let r=function(e,t,n){let i=P(t),o=A.get(t).spec.config,r=(n?e.undone:e.done).popEvent(t,i);if(!r)return null;let s=r.selection.resolve(r.transform.doc),l=(n?e.done:e.undone).addTransform(r.transform,t.selection.getBookmark(),o,i),a=new k(n?l:r.remaining,n?r.remaining:l,null,0,-1);return r.transform.setSelection(s).setMeta(A,{redo:n,historyState:a})}(o,n,e);r&&i(t?r.scrollIntoView():r)}return!0}}let z=N(!1,!0),R=N(!0,!0);N(!1,!1),N(!0,!1),i.YY.create({name:"characterCount",addOptions:()=>({limit:null,mode:"textSize",textCounter:e=>e.length,wordCounter:e=>e.split(" ").filter(e=>""!==e).length}),addStorage:()=>({characters:()=>0,words:()=>0}),onBeforeCreate(){this.storage.characters=e=>{let t=(null==e?void 0:e.node)||this.editor.state.doc;if("textSize"===((null==e?void 0:e.mode)||this.options.mode)){let e=t.textBetween(0,t.content.size,void 0," ");return this.options.textCounter(e)}return t.nodeSize},this.storage.words=e=>{let t=(null==e?void 0:e.node)||this.editor.state.doc,n=t.textBetween(0,t.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let e=!1;return[new o.k_({key:new o.hs("characterCount"),appendTransaction:(t,n,i)=>{if(e)return;let o=this.options.limit;if(null==o||0===o){e=!0;return}let r=this.storage.characters({node:i.doc});if(r>o){console.warn(`[CharacterCount] Initial content exceeded limit of ${o} characters. Content was automatically trimmed.`);let t=i.tr.deleteRange(0,r-o);return e=!0,t}e=!0},filterTransaction:(e,t)=>{let n=this.options.limit;if(!e.docChanged||0===n||null==n)return!0;let i=this.storage.characters({node:t.doc}),o=this.storage.characters({node:e.doc});if(o<=n||i>n&&o>n&&o<=i)return!0;if(i>n&&o>n&&o>i||!e.getMeta("paste"))return!1;let r=e.selection.$head.pos;return e.deleteRange(r-(o-n),r),!(this.storage.characters({node:e.doc})>n)}})]}});var _=i.YY.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[function(e={}){return new o.k_({view:t=>new s(t,e)})}(this.options)]}});i.YY.create({name:"focus",addOptions:()=>({className:"has-focus",mode:"all"}),addProseMirrorPlugins(){return[new o.k_({key:new o.hs("focus"),props:{decorations:({doc:e,selection:t})=>{let{isEditable:n,isFocused:i}=this.editor,{anchor:o}=t,r=[];if(!n||!i)return l.zF.create(e,[]);let s=0;"deepest"===this.options.mode&&e.descendants((e,t)=>{if(!e.isText){if(!(o>=t&&o<=t+e.nodeSize-1))return!1;s+=1}});let a=0;return e.descendants((e,t)=>!e.isText&&!!(o>=t&&o<=t+e.nodeSize-1)&&((a+=1,"deepest"===this.options.mode&&s-a>0||"shallowest"===this.options.mode&&a>1)?"deepest"===this.options.mode:void r.push(l.NZ.node(t,t+e.nodeSize,{class:this.options.className})))),l.zF.create(e,r)}}})]}});var Y=i.YY.create({name:"gapCursor",addProseMirrorPlugins:()=>[new o.k_({props:{decorations:v,createSelectionBetween:(e,t,n)=>t.pos==n.pos&&p.valid(n)?new p(n):null,handleClick:m,handleKeyDown:c,handleDOMEvents:{beforeinput
2:g}}})],extendNodeSchema(e){var t;let n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:null!=(t=(0,i.gk)((0,i.iI)(e,"allowGapCursor",n)))?t:null}}}),B="placeholder",V=i.YY.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",dataAttribute:B,placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){let e=this.options.dataAttribute?`data-${this.options.dataAttribute.replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/^[0-9-]+/,"").replace(/^-+/,"").toLowerCase()}`:`data-${B}`;return[new o.k_({key:new o.hs("placeholder"),props:{decorations:({doc:t,selection:n})=>{let o=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=n,s=[];if(!o)return null;let a=this.editor.isEmpty;return t.descendants((t,n)=>{let o=r>=n&&r<=n+t.nodeSize,h=!t.isLeaf&&(0,i.Op)(t);if(!t.type.isTextblock)return this.options.includeChildren;if((o||!this.options.showOnlyCurrent)&&h){let i=[this.options.emptyNodeClass];a&&i.push(this.options.emptyEditorClass);let r=l.NZ.node(n,n+t.nodeSize,{class:i.join(" "),[e]:"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:t,pos:n,hasAnchor:o}):this.options.placeholder});s.push(r)}return this.options.includeChildren}),l.zF.create(t,s)}}})]}});function L({types:e,node:t}){return t&&Array.isArray(e)&&e.includes(t.type)||(null==t?void 0:t.type)===e}i.YY.create({name:"selection",addOptions:()=>({className:"selection"}),addProseMirrorPlugins(){let{editor:e,options:t}=this;return[new o.k_({key:new o.hs("selection"),props:{decorations:n=>n.selection.empty||e.isFocused||!e.isEditable||(0,i.BQ)(n.selection)||e.view.dragging?null:l.zF.create(n.doc,[l.NZ.inline(n.selection.from,n.selection.to,{class:t.className})])}})]}});var D=i.YY.create({name:"trailingNode",addOptions:()=>({node:void 0,notAfter:[]}),addProseMirrorPlugins(){var e;let t=new o.hs(this.name),n=this.options.node||(null==(e=this.editor.schema.topNodeType.contentMatch.defaultType)?void 0:e.name)||"paragraph",i=Object.entries(this.editor.schema.nodes).map(([,e])=>e).filter(e=>(this.options.notAfter||[]).concat(n).includes(e.name));return[new o.k_({key:t,appendTransaction:(e,i,o)=>{let{doc:r,tr:s,schema:l}=o,a=t.getState(o),h=r.content.size,p=l.nodes[n];if(a)return s.insert(h,p.create())},state:{init:(e,t)=>!L({node:t.tr.doc.lastChild,types:i}),apply:(e,t)=>!e.docChanged||e.getMeta("__uniqueIDTransaction")?t:!L({node:e.doc.lastChild,types:i})}})]}}),F=i.YY.create({name:"undoRedo",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:e,dispatch:t})=>z(e,t),redo:()=>({state:e,dispatch:t})=>R(e,t)}),addProseMirrorPlugins(){return[function(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new o.k_({key:A,state:{init:()=>new k(b.empty,b.empty,null,0,-1),apply:(t,n,i)=>(function(e,t,n,i){let o=n.getMeta(A),r;if(o)return o.historyState;n.getMeta(S)&&(e=new k(e.done,e.undone,null,0,-1));let s=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(s&&s.getMeta(A))if(s.getMeta(A).redo)return new k(e.done.addTransform(n,void 0,i,P(t)),e.undone,x(n.mapping.maps),e.prevTime,e.prevComposition);else return new k(e.done,e.undone.addTransform(n,void 0,i,P(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||s&&!1===s.getMeta("addToHistory"))if(r=n.getMeta("rebased"))return new k(e.done.rebased(n,r),e.undone.rebased(n,r),O(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);else return new k(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),O(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);{let o=n.getMeta("composition"),r=0==e.prevTime||!s&&e.prevComposition!=o&&(e.prevTime<(n.time||0)-i.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((e,i)=>{for(let o=0;o<t.length;o+=2)e<=t[o+1]&&i>=t[o]&&(n=!0)}),n}(n,e.prevRanges)),l=s?O(e.prevRanges,n.mapping):x(n.mapping.maps);return new k(e.done.addTransform(n,r?t.selection.getBookmark():void 0,i,P(t)),b.empty,l,n.time,null==o?e.prevComposition:o)}})(n,i,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,i="historyUndo"==n?z:"historyRedo"==n?R:null;return!!i&&!!e.editable&&(t.preventDefault(),i(e.state,e.dispatch))}}}})}(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}})},25726:(e,t,n)=>{n.d(t,{A:()=>C});var i=n(49889),o=n(96325),r=n(48301),s=n(30951),l=n(42419),a=n(44515),h=n(18369),p=n(41190),d=n(28915),u=n(28880),c=n(53228),f=n(84312),m=n(85366),g=n(20602),v=n(89593),y=n(51348),w=n(20406),C=i.YY.create({name:"starterKit",addExtensions(){var e,t,n,i;let C=[];return!1!==this.options.bold&&C.push(r.yN.configure(this.options.bold)),!1!==this.options.blockquote&&C.push(o.Cv.configure(this.options.blockquote)),!1!==this.options.bulletList&&C.push(f.Rg.configure(this.options.bulletList)),!1!==this.options.code&&C.push(s.Cy.configure(this.options.code)),!1!==this.options.codeBlock&&C.push(l.NG.configure(this.options.codeBlock)),!1!==this.options.document&&C.push(a.y.configure(this.options.document)),!1!==this.options.dropcursor&&C.push(w.QO.configure(this.options.dropcursor)),!1!==this.options.gapcursor&&C.push(w.vR.configure(this.options.gapcursor)),!1!==this.options.hardBreak&&C.push(h.B.configure(this.options.hardBreak)),!1!==this.options.heading&&C.push(p.D.configure(this.options.heading)),!1!==this.options.undoRedo&&C.push(w.lb.configure(this.options.undoRedo)),!1!==this.options.horizontalRule&&C.push(d.d.configure(this.options.horizontalRule)),!1!==this.options.italic&&C.push(u.J2.configure(this.options.italic)),!1!==this.options.listItem&&C.push(f.ck.configure(this.options.listItem)),!1!==this.options.listKeymap&&C.push(f.it.configure(null==(e=this.options)?void 0:e.listKeymap)),!1!==this.options.link&&C.push(c.N_.configure(null==(t=this.options)?void 0:t.link)),!1!==this.options.orderedList&&C.push(f._J.configure(this.options.orderedList)),!1!==this.options.paragraph&&C.push(m.f.configure(this.options.paragraph)),!1!==this.options.strike&&C.push(g.n.configure(this.options.strike)),!1!==this.options.text&&C.push(v.E.configure(this.options.text)),!1!==this.options.underline&&C.push(y.z.configure(null==(n=this.options)?void 0:n.underline)),!1!==this.options.trailingNode&&C.push(w.JU.c
2onfigure(null==(i=this.options)?void 0:i.trailingNode)),C}})},57351:(e,t,n)=>{n.d(t,{A:()=>i});var i=n(20406).Or}}]);
3//# chunkId=d088c6a6-d672-59ca-a5eb-be24ae9ed638

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.