From cbcb7b8e09db35fff46dc3b23572b099c4fd742a Mon Sep 17 00:00:00 2001 From: gavinleroy Date: Wed, 27 Sep 2023 08:46:38 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20cognitiv?= =?UTF-8?q?e-engineering-lab/aquascope@66dd40eff5e3c50786ddda01c0b2bafdbb1?= =?UTF-8?q?6c6e4=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{index-86447c50.js => index-77f5cd6a.js} | 26 +++++++++---------- .../permissions/struct.PathIndex.html | 2 +- .../analysis/stepper/trait.Difference.html | 2 +- doc/aquascope/analysis/struct.MoveKey.html | 2 +- doc/aquascope/analysis/trait.Bounded.html | 2 +- doc/aquascope_workspace_utils/index.html | 2 +- doc/implementors/core/clone/trait.Clone.js | 6 ++--- doc/implementors/core/cmp/trait.Eq.js | 4 +-- doc/implementors/core/cmp/trait.PartialEq.js | 4 +-- doc/implementors/core/convert/trait.From.js | 4 +-- .../core/default/trait.Default.js | 2 +- doc/implementors/core/fmt/trait.Debug.js | 6 ++--- doc/implementors/core/fmt/trait.Display.js | 2 +- doc/implementors/core/hash/trait.Hash.js | 4 +-- .../double_ended/trait.DoubleEndedIterator.js | 4 +-- .../exact_size/trait.ExactSizeIterator.js | 2 +- .../iter/traits/iterator/trait.Iterator.js | 4 +-- .../iter/traits/marker/trait.FusedIterator.js | 2 +- doc/implementors/core/marker/trait.Copy.js | 6 ++--- .../core/marker/trait.StructuralEq.js | 4 +-- .../core/marker/trait.StructuralPartialEq.js | 4 +-- doc/implementors/core/ops/arith/trait.Add.js | 2 +- .../core/ops/deref/trait.Deref.js | 2 +- .../core/ops/deref/trait.DerefMut.js | 2 +- .../framework/fmt/trait.DebugWithContext.js | 2 +- doc/implementors/serde/ser/trait.Serialize.js | 2 +- doc/implementors/ts_rs/trait.TS.js | 2 +- doc/mdbook_aquascope/index.html | 2 +- doc/pest/error/enum.LineColLocation.html | 2 +- doc/pest/error/struct.Error.html | 2 +- doc/pest/iterators/struct.Pair.html | 2 +- doc/pest/iterators/struct.Pairs.html | 2 +- doc/search-index.js | 6 ++--- index.html | 2 +- 34 files changed, 62 insertions(+), 62 deletions(-) rename assets/{index-86447c50.js => index-77f5cd6a.js} (97%) diff --git a/assets/index-86447c50.js b/assets/index-77f5cd6a.js similarity index 97% rename from assets/index-86447c50.js rename to assets/index-77f5cd6a.js index 4ed82fb18..ed725a8e7 100644 --- a/assets/index-86447c50.js +++ b/assets/index-77f5cd6a.js @@ -1,11 +1,11 @@ -var oX=Object.defineProperty;var lX=(n,e,t)=>e in n?oX(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Lt=(n,e,t)=>(lX(n,typeof e!="symbol"?e+"":e,t),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();const lP=1024;let aX=0,IO=class{constructor(e,t){this.from=e,this.to=t}};class gt{constructor(e={}){this.id=aX++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Ii.match(e)),t=>{let i=e(t);return i===void 0?null:[this,i]}}}gt.closedBy=new gt({deserialize:n=>n.split(" ")});gt.openedBy=new gt({deserialize:n=>n.split(" ")});gt.group=new gt({deserialize:n=>n.split(" ")});gt.contextHash=new gt({perNode:!0});gt.lookAhead=new gt({perNode:!0});gt.mounted=new gt({perNode:!0});const uX=Object.create(null);class Ii{constructor(e,t,i,r=0){this.name=e,this.props=t,this.id=i,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):uX,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Ii(e.name||"",t,e.id,i);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(gt.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let i in e)for(let r of i.split(" "))t[r]=e[i];return i=>{for(let r=i.prop(gt.group),s=-1;s<(r?r.length:0);s++){let o=t[s<0?i.name:r[s]];if(o)return o}}}}Ii.none=new Ii("",Object.create(null),0,8);class w0{constructor(e){this.types=e;for(let t=0;t0;for(let h=this.cursor(o|In.IncludeAnonymous);;){let f=!1;if(h.from<=s&&h.to>=r&&(!a&&h.type.isAnonymous||t(h)!==!1)){if(h.firstChild())continue;f=!0}for(;f&&i&&(a||!h.type.isAnonymous)&&i(h),!h.nextSibling();){if(!h.parent())return;f=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:k0(Ii.none,this.children,this.positions,0,this.children.length,0,this.length,(t,i,r)=>new wn(this.type,t,i,r,this.propValues),e.makeTree||((t,i,r)=>new wn(Ii.none,t,i,r)))}static build(e){return cX(e)}}wn.empty=new wn(Ii.none,[],[],0);class x0{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new x0(this.buffer,this.index)}}class Ql{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return Ii.none}toString(){let e=[];for(let t=0;t0));h=o[h+3]);return a}slice(e,t,i){let r=this.buffer,s=new Uint16Array(t-e),o=0;for(let a=e,h=0;a=e&&te;case 1:return t<=e&&i>e;case 2:return i>e;case 4:return!0}}function uP(n,e){let t=n.childBefore(e);for(;t;){let i=t.lastChild;if(!i||i.to!=t.to)break;i.type.isError&&i.from==i.to?(n=t,t=i.prevSibling):t=i}return n}function Ra(n,e,t,i){for(var r;n.from==n.to||(t<1?n.from>=e:n.from>e)||(t>-1?n.to<=e:n.to0?a.length:-1;e!=f;e+=t){let p=a[e],O=h[e]+o.from;if(aP(r,i,O,O+p.length)){if(p instanceof Ql){if(s&In.ExcludeBuffers)continue;let v=p.findChild(0,p.buffer.length,t,i-O,r);if(v>-1)return new lo(new hX(o,p,e,O),null,v)}else if(s&In.IncludeAnonymous||!p.type.isAnonymous||P0(p)){let v;if(!(s&In.IgnoreMounts)&&p.props&&(v=p.prop(gt.mounted))&&!v.overlay)return new Ts(v.tree,O,e,o);let x=new Ts(p,O,e,o);return s&In.IncludeAnonymous||!x.type.isAnonymous?x:x.nextChild(t<0?p.children.length-1:0,t,i,r)}}}if(s&In.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+t:e=t<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,i=0){let r;if(!(i&In.IgnoreOverlays)&&(r=this._tree.prop(gt.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:a}of r.overlay)if((t>0?o<=s:o=s:a>s))return new Ts(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,i)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new td(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return Ra(this,e,t,!1)}resolveInner(e,t=0){return Ra(this,e,t,!0)}enterUnfinishedNodesBefore(e){return uP(this,e)}getChild(e,t=null,i=null){let r=Jf(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return Jf(this,e,t,i)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return ed(this,e)}}function Jf(n,e,t,i){let r=n.cursor(),s=[];if(!r.firstChild())return s;if(t!=null){for(;!r.type.is(t);)if(!r.nextSibling())return s}for(;;){if(i!=null&&r.type.is(i))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return i==null?s:[]}}function ed(n,e,t=e.length-1){for(let i=n.parent;t>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[t]&&e[t]!=i.name)return!1;t--}}return!0}class hX{constructor(e,t,i,r){this.parent=e,this.buffer=t,this.index=i,this.start=r}}class lo{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,i){this.context=e,this._parent=t,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}child(e,t,i){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,i);return s<0?null:new lo(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,i=0){if(i&In.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new lo(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new lo(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new lo(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new td(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:i}=this.context,r=this.index+4,s=i.buffer[this.index+3];if(s>r){let o=i.buffer[this.index+1];e.push(i.slice(r,s,o)),t.push(0)}return new wn(this.type,e,t,this.to-this.from)}resolve(e,t=0){return Ra(this,e,t,!1)}resolveInner(e,t=0){return Ra(this,e,t,!0)}enterUnfinishedNodesBefore(e){return uP(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,i=null){let r=Jf(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return Jf(this,e,t,i)}get node(){return this}matchContext(e){return ed(this,e)}}class td{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Ts)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:i,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=i+r.buffer[e+1],this.to=i+r.buffer[e+2],!0}yield(e){return e?e instanceof Ts?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,i,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,i);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,i=this.mode){return this.buffer?i&In.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&In.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&In.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,i=this.stack.length-1;if(e<0){let r=i<0?0:this.stack[i]+4;if(this.index!=r)return this.yieldBuf(t.findChild(r,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(i<0?t.buffer.length:t.buffer[this.stack[i]+3]))return this.yieldBuf(r)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,i,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=t+e,o=e<0?-1:i._tree.children.length;s!=o;s+=e){let a=i._tree.children[s];if(this.mode&In.IncludeAnonymous||a instanceof Ql||!a.type.isAnonymous||P0(a))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,i=s+1;break e}r=this.stack[--s]}for(let r=i;r=0;s--){if(s<0)return ed(this.node,e,r);let o=i[t.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function P0(n){return n.children.some(e=>e instanceof Ql||!e.type.isAnonymous||P0(e))}function cX(n){var e;let{buffer:t,nodeSet:i,maxBufferLength:r=lP,reused:s=[],minRepeatType:o=i.types.length}=n,a=Array.isArray(t)?new x0(t,t.length):t,h=i.types,f=0,p=0;function O(W,B,J,ae,xe){let{id:Me,start:Pe,end:Ke,size:at}=a,mt=p;for(;at<0;)if(a.next(),at==-1){let ke=s[Me];J.push(ke),ae.push(Pe-W);return}else if(at==-3){f=Me;return}else if(at==-4){p=Me;return}else throw new RangeError(`Unrecognized record size: ${at}`);let _t=h[Me],Mt,Wt,zt=Pe-W;if(Ke-Pe<=r&&(Wt=R(a.pos-B,xe))){let ke=new Uint16Array(Wt.size-Wt.skip),Re=a.pos-Wt.size,ze=ke.length;for(;a.pos>Re;)ze=M(Wt.start,ke,ze);Mt=new Ql(ke,Ke-Wt.start,i),zt=Wt.start-W}else{let ke=a.pos-at;a.next();let Re=[],ze=[],je=Me>=o?Me:-1,st=0,Vi=Ke;for(;a.pos>ke;)je>=0&&a.id==je&&a.size>=0?(a.end<=Vi-r&&(x(Re,ze,Pe,st,a.end,Vi,je,mt),st=Re.length,Vi=a.end),a.next()):O(Pe,ke,Re,ze,je);if(je>=0&&st>0&&st-1&&st>0){let xi=v(_t);Mt=k0(_t,Re,ze,0,Re.length,0,Ke-Pe,xi,xi)}else Mt=Q(_t,Re,ze,Ke-Pe,mt-Ke)}J.push(Mt),ae.push(zt)}function v(W){return(B,J,ae)=>{let xe=0,Me=B.length-1,Pe,Ke;if(Me>=0&&(Pe=B[Me])instanceof wn){if(!Me&&Pe.type==W&&Pe.length==ae)return Pe;(Ke=Pe.prop(gt.lookAhead))&&(xe=J[Me]+Pe.length+Ke)}return Q(W,B,J,ae,xe)}}function x(W,B,J,ae,xe,Me,Pe,Ke){let at=[],mt=[];for(;W.length>ae;)at.push(W.pop()),mt.push(B.pop()+J-xe);W.push(Q(i.types[Pe],at,mt,Me-xe,Ke-Me)),B.push(xe-J)}function Q(W,B,J,ae,xe=0,Me){if(f){let Pe=[gt.contextHash,f];Me=Me?[Pe].concat(Me):[Pe]}if(xe>25){let Pe=[gt.lookAhead,xe];Me=Me?[Pe].concat(Me):[Pe]}return new wn(W,B,J,ae,Me)}function R(W,B){let J=a.fork(),ae=0,xe=0,Me=0,Pe=J.end-r,Ke={size:0,start:0,skip:0};e:for(let at=J.pos-W;J.pos>at;){let mt=J.size;if(J.id==B&&mt>=0){Ke.size=ae,Ke.start=xe,Ke.skip=Me,Me+=4,ae+=4,J.next();continue}let _t=J.pos-mt;if(mt<0||_t=o?4:0,Wt=J.start;for(J.next();J.pos>_t;){if(J.size<0)if(J.size==-3)Mt+=4;else break e;else J.id>=o&&(Mt+=4);J.next()}xe=Wt,ae+=mt,Me+=Mt}return(B<0||ae==W)&&(Ke.size=ae,Ke.start=xe,Ke.skip=Me),Ke.size>4?Ke:void 0}function M(W,B,J){let{id:ae,start:xe,end:Me,size:Pe}=a;if(a.next(),Pe>=0&&ae4){let at=a.pos-(Pe-4);for(;a.pos>at;)J=M(W,B,J)}B[--J]=Ke,B[--J]=Me-W,B[--J]=xe-W,B[--J]=ae}else Pe==-3?f=ae:Pe==-4&&(p=ae);return J}let b=[],E=[];for(;a.pos>0;)O(n.start||0,n.bufferStart||0,b,E,-1);let $=(e=n.length)!==null&&e!==void 0?e:b.length?E[0]+b[0].length:0;return new wn(h[n.topID],b.reverse(),E.reverse(),$)}const eS=new WeakMap;function bf(n,e){if(!n.isAnonymous||e instanceof Ql||e.type!=n)return 1;let t=eS.get(e);if(t==null){t=1;for(let i of e.children){if(i.type!=n||!(i instanceof wn)){t=1;break}t+=bf(n,i)}eS.set(e,t)}return t}function k0(n,e,t,i,r,s,o,a,h){let f=0;for(let Q=i;Q=p)break;J+=ae}if($==W+1){if(J>p){let ae=Q[W];x(ae.children,ae.positions,0,ae.children.length,R[W]+E);continue}O.push(Q[W])}else{let ae=R[$-1]+Q[$-1].length-B;O.push(k0(n,Q,R,W,$,B,ae,null,h))}v.push(B+E-s)}}return x(e,t,i,r,0),(a||h)(O,v,o)}class dl{constructor(e,t,i,r,s=!1,o=!1){this.from=e,this.to=t,this.tree=i,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],i=!1){let r=[new dl(0,e.length,e,0,!1,i)];for(let s of t)s.to>e.length&&r.push(s);return r}static applyChanges(e,t,i=128){if(!t.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let a=0,h=0,f=0;;a++){let p=a=i)for(;o&&o.from=v.from||O<=v.to||f){let x=Math.max(v.from,h)-f,Q=Math.min(v.to,O)-f;v=x>=Q?null:new dl(x,Q,v.tree,v.offset+f,a>0,!!p)}if(v&&r.push(v),o.to>O)break;o=snew IO(r.from,r.to)):[new IO(0,0)]:[new IO(0,e.length)],this.createParse(e,t||[],i)}parse(e,t,i){let r=this.startParse(e,t,i);for(;;){let s=r.advance();if(s)return s}}}class fX{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}new gt({perNode:!0});class nd{constructor(e,t,i,r,s,o,a,h,f,p=0,O){this.p=e,this.stack=t,this.state=i,this.reducePos=r,this.pos=s,this.score=o,this.buffer=a,this.bufferBase=h,this.curContext=f,this.lookAhead=p,this.parent=O}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,i=0){let r=e.parser.context;return new nd(e,[],t,i,i,0,[],0,r?new tS(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let i=e>>19,r=e&65535,{parser:s}=this.p,o=s.dynamicPrecedence(r);if(o&&(this.score+=o),i==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r=2e3&&!(!((t=this.p.parser.nodeSet.types[r])===null||t===void 0)&&t.isAnonymous)&&(h==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=f):this.p.lastBigReductionSizea;)this.stack.pop();this.reduceContext(r,h)}storeNode(e,t,i,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[a-4]==0&&o.buffer[a-1]>-1){if(t==i)return;if(o.buffer[a-2]>=t){o.buffer[a-2]=i;return}}}if(!s||this.pos==i)this.buffer.push(e,t,i,r);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>i;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=i,this.buffer[o+3]=r}}shift(e,t,i){let r=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,i,4);else{let s=e,{parser:o}=this.p;(i>this.pos||t<=o.maxNode)&&(this.pos=i,o.stateFlag(s,1)||(this.reducePos=i)),this.pushState(s,r),this.shiftContext(t,r),t<=o.maxNode&&this.buffer.push(t,r,i,4)}}apply(e,t,i){e&65536?this.reduce(e):this.shift(e,t,i)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(i,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let i=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new nd(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,i?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new dX(this);;){let i=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(i==0)return!1;if(!(i&65536))return!0;t.reduce(i)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let r=[];for(let s=0,o;sh&1&&a==o)||r.push(t[s],o)}t=r}let i=[];for(let r=0;r>19,r=t&65535,s=this.stack.length-i*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;t=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],i=(r,s)=>{if(!t.includes(r))return t.push(r),e.allActions(r,o=>{if(!(o&393216))if(o&65536){let a=(o>>19)-s;if(a>1){let h=o&65535,f=this.stack.length-a*3;if(f>=0&&e.getGoto(this.stack[f],h,!1)>=0)return a<<19|65536|h}}else{let a=i(o,s+1);if(a!=null)return a}})};return i(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class tS{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var nS;(function(n){n[n.Insert=200]="Insert",n[n.Delete=190]="Delete",n[n.Reduce=100]="Reduce",n[n.MaxNext=4]="MaxNext",n[n.MaxInsertStackDepth=300]="MaxInsertStackDepth",n[n.DampenInsertStackDepth=120]="DampenInsertStackDepth",n[n.MinBigReduction=2e3]="MinBigReduction"})(nS||(nS={}));class dX{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class id{constructor(e,t,i){this.stack=e,this.pos=t,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new id(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new id(this.stack,this.pos,this.index)}}function Vc(n,e=Uint16Array){if(typeof n!="string")return n;let t=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let h=o-32;if(h>=46&&(h-=46,a=!0),s+=h,a)break;s*=46}t?t[r++]=s:t=new e(s)}return t}class Ef{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const iS=new Ef;class pX{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=iS,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let i=this.range,r=this.rangeIndex,s=this.pos+e;for(;si.to:s>=i.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-i.to,i=o}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,i,r;if(t>=0&&t=this.chunk2Pos&&ia.to&&(this.chunk2=this.chunk2.slice(0,a.to-i)),r=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),r}acceptToken(e,t=0){let i=t?this.resolveOffset(t,-1):this.pos;if(i==null||i=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=iS,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let i="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(i+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return i}}class wa{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;OX(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}wa.prototype.contextual=wa.prototype.fallback=wa.prototype.extend=!1;wa.prototype.fallback=wa.prototype.extend=!1;class _0{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function OX(n,e,t,i,r,s){let o=0,a=1<0){let Q=n[x];if(h.allows(Q)&&(e.token.value==-1||e.token.value==Q||gX(Q,e.token.value,r,s))){e.acceptToken(Q);break}}let p=e.next,O=0,v=n[o+2];if(e.next<0&&v>O&&n[f+v*3-3]==65535&&n[f+v*3-3]==65535){o=n[f+v*3-1];continue e}for(;O>1,Q=f+x+(x<<1),R=n[Q],M=n[Q+1]||65536;if(p=M)O=x+1;else{o=n[Q+2],e.advance();continue e}}break}}function rS(n,e,t){for(let i=e,r;(r=n[i])!=65535;i++)if(r==t)return i-e;return-1}function gX(n,e,t,i){let r=rS(t,i,e);return r<0||rS(t,i,n)e)&&!i.type.isError)return t<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(n.length,Math.max(i.from+1,e+25));if(t<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return t<0?0:n.length}}class mX{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?oS(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?oS(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof wn){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+s.length}}}class yX{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new Ef)}getActions(e){let t=0,i=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,h=0;for(let f=0;fO.end+25&&(h=Math.max(O.lookAhead,h)),O.value!=0)){let v=t;if(O.extended>-1&&(t=this.addActions(e,O.extended,O.end,t)),t=this.addActions(e,O.value,O.end,t),!p.extend&&(i=O,t>v))break}}for(;this.actions.length>t;)this.actions.pop();return h&&e.setLookAhead(h),!i&&e.pos==this.stream.end&&(i=new Ef,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,t=this.addActions(e,i.value,i.end,t)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Ef,{pos:i,p:r}=e;return t.start=i,t.end=Math.min(i+1,r.stream.end),t.value=i==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,i){let r=this.stream.clipPos(i.pos);if(t.token(this.stream.reset(r,e),i),e.value>-1){let{parser:s}=i.p;for(let o=0;o=0&&i.p.parser.dialect.allows(a>>1)){a&1?e.extended=a>>1:e.value=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,i,r){for(let s=0;se.bufferLength*4?new mX(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,i=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;ot)i.push(a);else{if(this.advanceStack(a,i,e))continue;{r||(r=[],s=[]),r.push(a);let h=this.tokens.getMainToken(a);s.push(h.value,h.end)}}break}}if(!i.length){let o=r&&wX(r);if(o)return this.stackToTree(o);if(this.parser.strict)throw Tr&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,i);if(o)return this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(i.length>o)for(i.sort((a,h)=>h.score-a.score);i.length>o;)i.pop();i.some(a=>a.reducePos>t)&&this.recovering--}else if(i.length>1){e:for(let o=0;o500&&f.buffer.length>500)if((a.score-f.score||a.buffer.length-f.buffer.length)>0)i.splice(h--,1);else{i.splice(o--,1);continue e}}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let f=e.curContext&&e.curContext.tracker.strict,p=f?e.curContext.hash:0;for(let O=this.fragments.nodeAt(r);O;){let v=this.parser.nodeSet.types[O.type.id]==O.type?s.getGoto(e.state,O.type.id):-1;if(v>-1&&O.length&&(!f||(O.prop(gt.contextHash)||0)==p))return e.useNode(O,v),Tr&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(O.type.id)})`),!0;if(!(O instanceof wn)||O.children.length==0||O.positions[0]>0)break;let x=O.children[0];if(x instanceof wn&&O.positions[0]==0)O=x;else break}}let a=s.stateSlot(e.state,4);if(a>0)return e.reduce(a),Tr&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(a&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let h=this.tokens.getActions(e);for(let f=0;fr?t.push(Q):i.push(Q)}return!1}advanceFully(e,t){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return aS(e,t),!0}}runRecovery(e,t,i){let r=null,s=!1;for(let o=0;o ":"";if(a.deadEnd&&(s||(s=!0,a.restart(),Tr&&console.log(p+this.stackID(a)+" (restarted)"),this.advanceFully(a,i))))continue;let O=a.split(),v=p;for(let x=0;O.forceReduce()&&x<10&&(Tr&&console.log(v+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,i));x++)Tr&&(v=this.stackID(O)+" -> ");for(let x of a.recoverByInsert(h))Tr&&console.log(p+this.stackID(x)+" (via recover-insert)"),this.advanceFully(x,i);this.stream.end>a.pos?(f==a.pos&&(f++,h=0),a.recoverByDelete(h,f),Tr&&console.log(p+this.stackID(a)+` (via recover-delete ${this.parser.getName(h)})`),aS(a,i)):(!r||r.scoree.topRules[a][1]),r=[];for(let a=0;a=0)s(p,h,a[f++]);else{let O=a[f+-p];for(let v=-p;v>0;v--)s(a[f++],h,O);f++}}}this.nodeSet=new w0(t.map((a,h)=>Ii.define({name:h>=this.minRepeatTerm?void 0:a,id:h,props:r[h],top:i.indexOf(h)>-1,error:h==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(h)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=lP;let o=Vc(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;atypeof a=="number"?new wa(o,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,i){let r=new vX(this,e,t,i);for(let s of this.wrappers)r=s(r,e,t,i);return r}getGoto(e,t,i=!1){let r=this.goto;if(t>=r[0])return-1;for(let s=r[t+1];;){let o=r[s++],a=o&1,h=r[s++];if(a&&i)return h;for(let f=s+(o>>1);s0}validAction(e,t){return!!this.allActions(e,i=>i==t?!0:null)}allActions(e,t){let i=this.stateSlot(e,4),r=i?t(i):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=bs(this.data,s+2);else break;r=t(bs(this.data,s+1))}return r}nextStates(e){let t=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=bs(this.data,i+2);else break;if(!(this.data[i+2]&1)){let r=this.data[i+1];t.some((s,o)=>o&1&&s==r)||t.push(this.data[i],r)}}return t}configure(e){let t=Object.assign(Object.create(rd.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=i}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(i=>{let r=e.tokenizers.find(s=>s.from==i);return r?r.to:i})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((i,r)=>{let s=e.specializers.find(a=>a.from==i.external);if(!s)return i;let o=Object.assign(Object.assign({},i),{external:s.to});return t.specializers[r]=uS(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),i=t.map(()=>!1);if(e)for(let s of e.split(" ")){let o=t.indexOf(s);o>=0&&(i[o]=!0)}let r=null;for(let s=0;si)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scoren.external(t,i)<<1|e}return n.get}let xX=0;class Jr{constructor(e,t,i){this.set=e,this.base=t,this.modified=i,this.id=xX++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new Jr([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new sd;return t=>t.modified.indexOf(e)>-1?t:sd.get(t.base||t,t.modified.concat(e).sort((i,r)=>i.id-r.id))}}let PX=0;class sd{constructor(){this.instances=[],this.id=PX++}static get(e,t){if(!t.length)return e;let i=t[0].instances.find(a=>a.base==e&&kX(t,a.modified));if(i)return i;let r=[],s=new Jr(r,e,t);for(let a of t)a.instances.push(s);let o=_X(t);for(let a of e.set)if(!a.modified.length)for(let h of o)r.push(sd.get(a,h));return s}}function kX(n,e){return n.length==e.length&&n.every((t,i)=>t==e[i])}function _X(n){let e=[[]];for(let t=0;ti.length-t.length)}function cP(n){let e=Object.create(null);for(let t in n){let i=n[t];Array.isArray(i)||(i=[i]);for(let r of t.split(" "))if(r){let s=[],o=2,a=r;for(let O=0;;){if(a=="..."&&O>0&&O+3==r.length){o=1;break}let v=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!v)throw new RangeError("Invalid path: "+r);if(s.push(v[0]=="*"?"":v[0][0]=='"'?JSON.parse(v[0]):v[0]),O+=v[0].length,O==r.length)break;let x=r[O++];if(O==r.length&&x=="!"){o=0;break}if(x!="/")throw new RangeError("Invalid path: "+r);a=r.slice(O)}let h=s.length-1,f=s[h];if(!f)throw new RangeError("Invalid path: "+r);let p=new od(i,o,h>0?s.slice(0,h):null);e[f]=p.sort(e[f])}}return fP.add(e)}const fP=new gt;class od{constructor(e,t,i,r){this.tags=e,this.mode=t,this.context=i,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=r;for(let a of s)for(let h of a.set){let f=t[h.id];if(f){o=o?o+" "+f:f;break}}return o},scope:i}}function QX(n,e){let t=null;for(let i of n){let r=i.style(e);r&&(t=t?t+" "+r:r)}return t}function bX(n,e,t,i=0,r=n.length){let s=new EX(i,Array.isArray(e)?e:[e],t);s.highlightRange(n.cursor(),i,r,"",s.highlighters),s.flush(r)}class EX{constructor(e,t,i){this.at=e,this.highlighters=t,this.span=i,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,i,r,s){let{type:o,from:a,to:h}=e;if(a>=i||h<=t)return;o.isTop&&(s=this.highlighters.filter(x=>!x.scope||x.scope(o)));let f=r,p=$X(e)||od.empty,O=QX(s,p.tags);if(O&&(f&&(f+=" "),f+=O,p.mode==1&&(r+=(r?" ":"")+O)),this.startSpan(Math.max(t,a),f),p.opaque)return;let v=e.tree&&e.tree.prop(gt.mounted);if(v&&v.overlay){let x=e.node.enter(v.overlay[0].from+a,1),Q=this.highlighters.filter(M=>!M.scope||M.scope(v.tree.type)),R=e.firstChild();for(let M=0,b=a;;M++){let E=M=$||!e.nextSibling())););if(!E||$>i)break;b=E.to+a,b>t&&(this.highlightRange(x.cursor(),Math.max(t,E.from+a),Math.min(i,b),"",Q),this.startSpan(Math.min(i,b),f))}R&&e.parent()}else if(e.firstChild()){v&&(r="");do if(!(e.to<=t)){if(e.from>=i)break;this.highlightRange(e,t,i,r,s),this.startSpan(Math.min(i,e.to),f)}while(e.nextSibling());e.parent()}}}function $X(n){let e=n.type.prop(fP);for(;e&&e.context&&!n.matchContext(e.context);)e=e.next;return e||null}const Te=Jr.define,Dc=Te(),eo=Te(),hS=Te(eo),cS=Te(eo),to=Te(),Nc=Te(to),DO=Te(to),jr=Te(),il=Te(jr),Zr=Te(),Fr=Te(),zg=Te(),xu=Te(zg),Bc=Te(),he={comment:Dc,lineComment:Te(Dc),blockComment:Te(Dc),docComment:Te(Dc),name:eo,variableName:Te(eo),typeName:hS,tagName:Te(hS),propertyName:cS,attributeName:Te(cS),className:Te(eo),labelName:Te(eo),namespace:Te(eo),macroName:Te(eo),literal:to,string:Nc,docString:Te(Nc),character:Te(Nc),attributeValue:Te(Nc),number:DO,integer:Te(DO),float:Te(DO),bool:Te(to),regexp:Te(to),escape:Te(to),color:Te(to),url:Te(to),keyword:Zr,self:Te(Zr),null:Te(Zr),atom:Te(Zr),unit:Te(Zr),modifier:Te(Zr),operatorKeyword:Te(Zr),controlKeyword:Te(Zr),definitionKeyword:Te(Zr),moduleKeyword:Te(Zr),operator:Fr,derefOperator:Te(Fr),arithmeticOperator:Te(Fr),logicOperator:Te(Fr),bitwiseOperator:Te(Fr),compareOperator:Te(Fr),updateOperator:Te(Fr),definitionOperator:Te(Fr),typeOperator:Te(Fr),controlOperator:Te(Fr),punctuation:zg,separator:Te(zg),bracket:xu,angleBracket:Te(xu),squareBracket:Te(xu),paren:Te(xu),brace:Te(xu),content:jr,heading:il,heading1:Te(il),heading2:Te(il),heading3:Te(il),heading4:Te(il),heading5:Te(il),heading6:Te(il),contentSeparator:Te(jr),list:Te(jr),quote:Te(jr),emphasis:Te(jr),strong:Te(jr),link:Te(jr),monospace:Te(jr),strikethrough:Te(jr),inserted:Te(),deleted:Te(),changed:Te(),invalid:Te(),meta:Bc,documentMeta:Te(Bc),annotation:Te(Bc),processingInstruction:Te(Bc),definition:Jr.defineModifier(),constant:Jr.defineModifier(),function:Jr.defineModifier(),standard:Jr.defineModifier(),local:Jr.defineModifier(),special:Jr.defineModifier()};dP([{tag:he.link,class:"tok-link"},{tag:he.heading,class:"tok-heading"},{tag:he.emphasis,class:"tok-emphasis"},{tag:he.strong,class:"tok-strong"},{tag:he.keyword,class:"tok-keyword"},{tag:he.atom,class:"tok-atom"},{tag:he.bool,class:"tok-bool"},{tag:he.url,class:"tok-url"},{tag:he.labelName,class:"tok-labelName"},{tag:he.inserted,class:"tok-inserted"},{tag:he.deleted,class:"tok-deleted"},{tag:he.literal,class:"tok-literal"},{tag:he.string,class:"tok-string"},{tag:he.number,class:"tok-number"},{tag:[he.regexp,he.escape,he.special(he.string)],class:"tok-string2"},{tag:he.variableName,class:"tok-variableName"},{tag:he.local(he.variableName),class:"tok-variableName tok-local"},{tag:he.definition(he.variableName),class:"tok-variableName tok-definition"},{tag:he.special(he.variableName),class:"tok-variableName2"},{tag:he.definition(he.propertyName),class:"tok-propertyName tok-definition"},{tag:he.typeName,class:"tok-typeName"},{tag:he.namespace,class:"tok-namespace"},{tag:he.className,class:"tok-className"},{tag:he.macroName,class:"tok-macroName"},{tag:he.propertyName,class:"tok-propertyName"},{tag:he.operator,class:"tok-operator"},{tag:he.comment,class:"tok-comment"},{tag:he.meta,class:"tok-meta"},{tag:he.invalid,class:"tok-invalid"},{tag:he.punctuation,class:"tok-punctuation"}]);const CX=1,TX=2,AX=3,RX=4,XX=5,fS=98,MX=101,WX=102,dS=114,zX=69,Yc=48,pS=46,LX=43,IX=45,OS=35,gS=34,VX=124,DX=60,NX=62;function Lg(n){return n>=48&&n<=57}function qc(n){return Lg(n)||n==95}const BX=new _0((n,e)=>{if(Lg(n.next)){let t=!1;do n.advance();while(qc(n.next));if(n.next==pS){if(t=!0,n.advance(),Lg(n.next))do n.advance();while(qc(n.next));else if(n.next==pS||n.next>127||/\w/.test(String.fromCharCode(n.next)))return}if(n.next==MX||n.next==zX){if(t=!0,n.advance(),(n.next==LX||n.next==IX)&&n.advance(),!qc(n.next))return;do n.advance();while(qc(n.next))}if(n.next==WX){let i=n.peek(1);if(i==Yc+3&&n.peek(2)==Yc+2||i==Yc+6&&n.peek(2)==Yc+4)n.advance(3),t=!0;else return}t&&n.acceptToken(XX)}else if(n.next==fS||n.next==dS){if(n.next==fS&&n.advance(),n.next!=dS)return;n.advance();let t=0;for(;n.next==OS;)t++,n.advance();if(n.next!=gS)return;n.advance();e:for(;;){if(n.next<0)return;let i=n.next==gS;if(n.advance(),i){for(let r=0;r{n.next==VX&&n.acceptToken(CX,1)}),qX=new _0(n=>{n.next==DX?n.acceptToken(TX,1):n.next==NX&&n.acceptToken(AX,1)}),UX=cP({"const macro_rules struct union enum type fn impl trait let static":he.definitionKeyword,"mod use crate":he.moduleKeyword,"pub unsafe async mut extern default move":he.modifier,"for if else loop while match continue break return await":he.controlKeyword,"as in ref":he.operatorKeyword,"where _ crate super dyn":he.keyword,self:he.self,String:he.string,Char:he.character,RawString:he.special(he.string),Boolean:he.bool,Identifier:he.variableName,"CallExpression/Identifier":he.function(he.variableName),BoundIdentifier:he.definition(he.variableName),"FunctionItem/BoundIdentifier":he.function(he.definition(he.variableName)),LoopLabel:he.labelName,FieldIdentifier:he.propertyName,"CallExpression/FieldExpression/FieldIdentifier":he.function(he.propertyName),Lifetime:he.special(he.variableName),ScopeIdentifier:he.namespace,TypeIdentifier:he.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":he.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":he.macroName,'"!"':he.macroName,UpdateOp:he.updateOperator,LineComment:he.lineComment,BlockComment:he.blockComment,Integer:he.integer,Float:he.float,ArithOp:he.arithmeticOperator,LogicOp:he.logicOperator,BitOp:he.bitwiseOperator,CompareOp:he.compareOperator,"=":he.definitionOperator,".. ... => ->":he.punctuation,"( )":he.paren,"[ ]":he.squareBracket,"{ }":he.brace,". DerefOp":he.derefOperator,"&":he.operator,", ; ::":he.separator,"Attribute/...":he.meta}),ZX={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},FX=rd.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`OOQV'#Io'#IoOA]Q_O'#InOEPQWO'#InOOQV'#Fw'#FwOF[QWO'#JuOFcQWO'#F|OOQO'#IO'#IOOGrQWO'#GhOOQV'#Im'#ImOOQV'#Il'#IlOOQV'#Hj'#HjQGyQ_OOOKeQ_O'#DUOKlQYO'#CqOOQP'#I_'#I_OOQV'#Hg'#HgQ]Q_OOOLuQWO'#I`ONsQYO'#DXO!!eQWO'#JuO!!lQWO'#JuO!!vQ_O'#DfO!%]Q_O'#E}O!(sQ_O'#FWO!,ZQWO'#FZO!.^QXO'#FbO!.cQ_O'#EeO!!vQ_O'#FmO!0uQWO'#FoO!0zQWO'#FoO!1PQ^O'#FqO!1WQWO'#JuO!1_QWO'#FtO!1dQWO'#FxO!2WQWO'#JjO!2_QWO'#GOO!2_QWO'#G`O!2_QWO'#GbO!2_QWO'#GsOOQO'#Ju'#JuO!2dQWO'#GhO!2lQYO'#GpO!2_QWO'#GqO!3uQ^O'#GtO!3|QWO'#GuO!4hQWO'#HOP!4sOpO'#CcPOOO)CC})CC}OOOO'#Hi'#HiO!5OO`O,59iOOQV,59i,59iO!5ZQYO,5?aOOQO-E;i-E;iOOQO,5:[,5:[OOQP,59Z,59ZO)xQWO,5:[O)xQWO,5:[O!5oQWO,5?kO!5zQYO,5;qO!6PQYO,5;TO!6hQWO,59QO!7kQXO'#CnO!7xQXO'#I`O!9SQWO'#CoO,^QWO'#EiOOQV-E;n-E;nO!9eQWO'#FsOOQV,5WQWO,5:fOOQP,5:h,5:hO!1PQ^O,5:hO!1PQ^O,5:mO$>]QYO,5gQ_O'#HsO$>tQXO,5@QOOQV1G1i1G1iOOQP,5:e,5:eO$>|QXO,5]QYO,5=vO$LRQWO'#KRO$L^QWO,5=xOOQR,5=y,5=yO$LcQWO,5=zO$>]QYO,5>PO$>]QYO,5>POOQO1G.w1G.wO$>]QYO1G.wO$LnQYO,5=pO$LvQZO,59^OOQR,59^,59^O$>]QYO,5=wO% YQZO,5=}OOQR,5=},5=}O%#lQWO1G/_O!6PQYO1G/_O#FYQYO1G2vO%#qQWO1G2vO%$PQYO1G2vOOQV1G/i1G/iO%%YQWO,5:SO%%bQ_O1G/lO%*kQWO1G1^O%+RQWO1G1hOOQO1G1h1G1hO$>]QYO1G1hO%+iQ^O'#EgOOQV1G0k1G0kOOQV1G1s1G1sO!!vQ_O1G1sO!0zQWO1G1uO!1PQ^O1G1wO!.cQ_O1G1wOOQP,5:j,5:jO$>]QYO1G/^OOQO'#Cn'#CnO%+vQWO1G1zOOQV1G2O1G2OO%,OQWO'#CnO%,WQWO1G3TO%,]QWO1G3TO%,bQYO'#GQO%,sQWO'#G]O%-UQYO'#G_O%.hQYO'#GXOOQV1G2U1G2UO%/wQWO1G2UO%/|QWO1G2UO$ARQWO1G2UOOQV1G2f1G2fO%/wQWO1G2fO#CpQWO1G2fO%0UQWO'#GdOOQV1G2h1G2hO%0gQWO1G2hO#C{QWO1G2hO%0lQYO'#GSO$>]QYO1G2lO$AdQWO1G2lOOQV1G2y1G2yO%1xQWO1G2yO%3hQ^O'#GkO%3rQWO1G2nO#DfQWO1G2nO%4QQYO,5]QYO1G2vOOQV1G2w1G2wO%5tQWO1G2wO%5yQWO1G2wO#HXQWO1G2wOOQV1G2z1G2zO.YQ_O1G2zO$>]QYO1G2zO%6RQWO1G2zOOQO,5>l,5>lOOQO-E]QYO1G3UPOOO-E;d-E;dPOOO1G.i1G.iOOQO7+*g7+*gO%7VQYO'#IcO%7nQYO'#IfO%7yQYO'#IfO%8RQYO'#IfO%8^QYO,59eOOQO7+%b7+%bOOQP7+$a7+$aO%8cQ!fO'#JTOOQS'#EX'#EXOOQS'#EY'#EYOOQS'#EZ'#EZOOQS'#JT'#JTO%;UQWO'#EWOOQS'#E`'#E`OOQS'#JR'#JROOQS'#Hn'#HnO%;ZQ!fO,5:oOOQV,5:o,5:oOOQV'#JQ'#JQO%;bQ!fO,5:{OOQV,5:{,5:{O%;iQ!fO,5:|OOQV,5:|,5:|OOQV7+'e7+'eOOQV7+&Z7+&ZO%;pQ!fO,59TOOQO,59T,59TO%>YQWO7+$WO%>_QWO1G1yOOQV1G1y1G1yO!9SQWO1G.uO%>dQWO,5?}O%>nQ_O'#HqO%@|QWO,5?}OOQO1G1X1G1XOOQO7+&}7+&}O%AUQWO,5>^OOQO-E;p-E;pO%AcQWO7+'OO.YQ_O7+'OOOQO7+'O7+'OOOQO7+'P7+'PO%AjQWO7+'POOQO7+'W7+'WOOQP1G0V1G0VO%ArQXO1G/tO!M{QWO1G/tO%BsQXO1G0RO%CkQ^O'#HlO%C{QWO,5?eOOQP1G/u1G/uO%DWQWO1G/uO%D]QWO'#D_OOQO'#Dt'#DtO%DhQWO'#DtO%DmQWO'#I{OOQO'#Iz'#IzO%DuQWO,5:_O%DzQWO'#DtO%EPQWO'#DtOOQP1G0Q1G0QOOQP1G0S1G0SOOQP1G0X1G0XO%EXQXO1G1jO%EdQXO'#FeOOQP,5>_,5>_O!1PQ^O'#FeOOQP-E;q-E;qO$>]QYO1G1jOOQO7+'S7+'SOOQO,5]QYO7+$xOOQV7+'j7+'jO%FsQWO7+(oO%FxQWO7+(oOOQV7+'p7+'pO%/wQWO7+'pO%F}QWO7+'pO%GVQWO7+'pOOQV7+(Q7+(QO%/wQWO7+(QO#CpQWO7+(QOOQV7+(S7+(SO%0gQWO7+(SO#C{QWO7+(SO$>]QYO7+(WO%GeQWO7+(WO#HUQYO7+(cO%GjQWO7+(YO#DfQWO7+(YOOQV7+(c7+(cO%5tQWO7+(cO%5yQWO7+(cO#HXQWO7+(cOOQV7+(g7+(gO$>]QYO7+(pO%GxQWO7+(pO!1dQWO7+(pOOQV7+$v7+$vO%G}QWO7+$vO%HSQZO1G3ZO%JfQWO1G4jOOQO1G4j1G4jOOQR1G.}1G.}O#.WQWO1G.}O%JkQWO'#KQOOQO'#HW'#HWO%J|QWO'#HXO%KXQWO'#KQOOQO'#KP'#KPO%KaQWO,5=qO%KfQYO'#H[O%LrQWO'#GmO%L}QYO'#CtO%MXQWO'#GmO$>]QYO1G3ZOOQR1G3g1G3gO#7aQWO1G3ZO%M^QZO1G3bO$>]QYO1G3bO& mQYO'#IVO& }QWO,5@mOOQR1G3d1G3dOOQR1G3f1G3fO.YQ_O1G3fOOQR1G3k1G3kO&!VQYO7+$cO&!_QYO'#KOOOQQ'#J}'#J}O&!gQYO1G3[O&!lQZO1G3cOOQQ7+$y7+$yO&${QWO7+$yO&%QQWO7+(bOOQV7+(b7+(bO%5tQWO7+(bO$>]QYO7+(bO#FYQYO7+(bO&%YQWO7+(bO!.cQ_O1G/nO&%hQWO7+%WO$?[QWO7+'SO&%pQWO'#EhO&%{Q^O'#EhOOQU'#Ho'#HoO&%{Q^O,5;ROOQV,5;R,5;RO&&VQWO,5;RO&&[Q^O,5;RO!0zQWO7+'_OOQV7+'a7+'aO&&iQWO7+'cO&&qQWO7+'cO&&xQWO7+$xO&'TQ!fO7+'fO&'[Q!fO7+'fOOQV7+(o7+(oO!1dQWO7+(oO&'cQYO,5]QYO'#JrOOQO'#Jq'#JqO&*YQWO,5]QYO'#GUO&,SQYO'#JkOOQQ,5]QYO7+(YO&0SQYO'#HxO&0hQYO1G2WOOQQ1G2W1G2WOOQQ,5]QYO,5]QYO7+(fO&1dQWO'#IRO&1nQWO,5@hOOQO1G3Q1G3QOOQO1G2}1G2}OOQO1G3P1G3POOQO1G3R1G3ROOQO1G3S1G3SOOQO1G3O1G3OO&1vQWO7+(pO$>]QYO,59fO&2RQ^O'#ISO&2xQYO,5?QOOQR1G/P1G/PO&3QQ!bO,5:pO&3VQ!fO,5:rOOQS-E;l-E;lOOQV1G0Z1G0ZOOQV1G0g1G0gOOQV1G0h1G0hO&3^QWO'#JTOOQO1G.o1G.oOOQV<]O&3qQWO,5>]OOQO-E;o-E;oOOQO<WOOQO-E;j-E;jOOQP7+%a7+%aO!1PQ^O,5:`O&5cQWO'#HmO&5wQWO,5?gOOQP1G/y1G/yOOQO,5:`,5:`O&6PQWO,5:`O%DzQWO,5:`O$>]QYO,5`,5>`OOQO-E;r-E;rOOQV7+'l7+'lO&6yQWO<]QYO<]QYO<]QYO<]QYO7+(uOOQO7+*U7+*UOOQR7+$i7+$iO&8cQWO,5@lOOQO'#Gm'#GmO&8kQWO'#GmO&8vQYO'#IUO&8cQWO,5@lOOQR1G3]1G3]O&:cQYO,5=vO&;rQYO,5=XO&;|QWO,5=XOOQO,5=X,5=XOOQR7+(u7+(uO&eQZO7+(|O&@tQWO,5>qOOQO-E]QYO<]QYO,5]QYO,5@^O&D^QYO'#H|O&EsQWO,5@^OOQO1G2e1G2eO%,nQWO,5]QYO,5PO&I]QYO,5@VOOQV<]QYO,5=WO&KuQWO,5@cO&K}QWO,5@cO&MvQ^O'#IPO&KuQWO,5@cOOQO1G2q1G2qO&NTQWO,5=WO&N]QWO<oO&NvQYO,5>dO' UQYO,5>dOOQQ,5>d,5>dOOQQ-E;v-E;vOOQQ7+'r7+'rO' aQYO1G2]O$>]QYO1G2^OOQV<m,5>mOOQO-EnOOQQ,5>n,5>nO'!fQYO,5>nOOQQ-EX,5>XOOQO-E;k-E;kO!1PQ^O1G/zOOQO1G/z1G/zO'%oQWO1G/zO'%tQXO1G1kO$>]QYO1G1kO'&PQWO7+'[OOQVANA`ANA`O'&ZQWOANA`O$>]QYOANA`O'&cQWOANA`OOQVAN>OAN>OO.YQ_OAN>OO'&qQWOANAuOOQVAN@vAN@vO'&vQWOAN@vOOQVANAWANAWOOQVANAYANAYOOQVANA^ANA^O'&{QWOANA^OOQVANAiANAiO%5tQWOANAiO%5yQWOANAiO''TQWOANA`OOQVANAvANAvO.YQ_OANAvO''cQWOANAvO$>]QYOANAvOOQR<pOOQO'#HY'#HYO''vQWO'#HZOOQO,5>p,5>pOOQO-E]QYO<o,5>oOOQQ-E]QYOANAhO'(bQWO1G1rO')UQ^O1G0nO.YQ_O1G0nO'*zQWO,5;UO'+RQWO1G0nP'+WQWO'#ERP&%{Q^O'#HpOOQV7+&X7+&XO'+cQWO7+&XO&&qQWOAN@iO'+hQWOAN>OO!5oQWO,5a,5>aO'+oQWOAN@lO'+tQWOAN@lOOQS-E;s-E;sOOQVAN@lAN@lO'+|QWOAN@lOOQVANAuANAuO',UQWO1G5vO',^QWO1G2dO$>]QYO1G2dO&'|QWO,5>gOOQO,5>g,5>gOOQO-E;y-E;yO',iQWO1G5xO',qQWO1G5xO&(nQYO,5>hO',|QWO,5>hO$>]QYO,5>hOOQO-E;z-E;zO'-XQWO'#JnOOQO1G2a1G2aOOQO,5>f,5>fOOQO-E;x-E;xO&'cQYO,5iOOQO,5>i,5>iOOQO-E;{-E;{OOQQ,5>c,5>cOOQQ-E;u-E;uO'.pQWO1G2sO'/QQWO1G2rO'/]QWO1G5}O'/eQ^O,5>kOOQO'#Go'#GoOOQO,5>k,5>kO'/lQWO,5>kOOQO-E;}-E;}O$>]QYO1G2rO'/zQYO7+'xO'0VQWOANAlOOQVANAlANAlO.YQ_OANAlO'0^QWOANAvOOQS7+%x7+%xO'0eQWO7+%xO'0pQ!fO7+%xO'0}QWO7+%fO!1PQ^O7+%fO'1YQXO7+'VOOQVG26zG26zO'1eQWOG26zO'1sQWOG26zO$>]QYOG26zO'1{QWOG23jOOQVG27aG27aOOQVG26bG26bOOQVG26xG26xOOQVG27TG27TO%5tQWOG27TO'2SQWOG27bOOQVG27bG27bO.YQ_OG27bO'2ZQWOG27bOOQO1G4[1G4[OOQO7+(_7+(_OOQRANA{ANA{OOQVG27SG27SO%5tQWOG27SO&0uQWOG27SO'2fQ^O7+&YO'4PQWO7+'^O'4sQ^O7+&YO.YQ_O7+&YP.YQ_O,5;SP'6PQWO,5;SP'6UQWO,5;SOOQV<]QYO1G4SO%,nQWO'#HyO'7UQWO,5@YO'7dQWO7+(VO.YQ_O7+(VOOQO1G4T1G4TOOQO1G4V1G4VO'7nQWO1G4VO'7|QWO7+(^OOQVG27WG27WO'8XQWOG27WOOQS<e,5>eOOQO-E;w-E;wO'?rQWO<wD_DpPDvHQPPPPPPK`P! P! _PPPPP!!VP!$oP!$oPP!&oP!(rP!(w!)n!*f!*f!*f!(w!+]P!(w!.Q!.TPP!.ZP!(w!(w!(w!(wP!(w!(wP!(w!(w!.y!/dP!/dJ}J}J}PPPP!/d!.y!/sPP!$oP!0^!0a!0g!1h!1t!3t!3t!5r!7t!1t!1t!9p!;_!=O!>k!@U!Am!CS!De!1t!1tP!1tP!1t!1t!Et!1tP!Ge!1t!1tP!Ie!1tP!1t!7t!7t!1t!7t!1t!Kl!Mt!Mw!7t!1t!Mz!M}!M}!M}!NR!$oP!$oP!$oP! P! PP!N]! P! PP!Ni# }! PP! PP#!^##c##k#$Z#$_#$e#$e#$mP#&s#&s#&y#'o#'{! PP! PP#(]#(l! PP! PPP#(x#)W#)d#)|#)^! P! PP! P! P! PP#*S#*S#*Y#*`#*S#*S! P! PP#*m#*v#+Q#+Q#,x#.l#.x#.x#.{#.{5a5a5a5a5a5a5a5aP5a#/O#/U#/p#1{#2R#2b#6^#6d#6j#6|#7W#8w#9R#9b#9h#9n#9x#:S#:Y#:g#:m#:s#:}#;]#;g#=u#>R#>`#>f#>n#>u#?PPPPPPPP#?V#BaP#F^#Jx#Ls#Nr$&^P$&aPPP$)_$)h$)z$/U$1d$1m$3fP!(w$4`$7r$:i$>T$>^$>c$>fPPP$>i$A`$A|P$BaPPPPPPPPPP$BvP$EU$EX$E[$Eb$Ee$Eh$Ek$En$Et$HO$HR$HU$HX$H[$H_$Hb$He$Hh$Hk$Hn$Jt$Jw$Jz#*S$KW$K^$Ka$Kd$Kh$Kl$Ko$KrQ!tPT'V!s'Wi!SOlm!P!T$T$W$y%b)U*f/gQ'i#QR,n'l(OSOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%X%_%b&U&Y&[&b&u&z&|'P'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n+z,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1P1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:gS(z$v-oQ*p&eQ*t&hQ-k(yQ-y)ZW0Z+Q0Y4Z7UR4Y0[&w!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#r]Ofgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hb#[b#Q$y'l(b)S)U*Z-t!h$bo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m$b%k!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g!W:y!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:|%n$_%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g$e%l!Q!n$O$u%n%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g'hZOY[fgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r%_%b%i%j&U&Y&[&b&u'a'}(W(Y(d(e(f(j(o(p(r(|)i)p)q*f*i*k*l+Z+n,s,z-R-T-g-m.i.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:x$^%l!Q!n$O$u%n%o%p%q%y%{&P&p&r(q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ&j!hQ&k!iQ&l!jQ&m!kQ&s!oQ)[%QQ)]%RQ)^%SQ)_%TQ)b%WQ+`&oS,R']1ZQ.W)`S/r*u4TR4n0s+yTOY[bfgilmop!O!P!Q!T!Y!Z![!_!`!c!n!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$O$T$W$`$a$e$g$h$q$r$u$y%X%_%b%i%j%n%o%p%q%y%{&P&U&Y&[&b&o&p&r&u&z&|'P']'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(q(r(|)S)U)i)p)q)s)x)y*O*P*R*V*Z*[*^*e*f*i*k*l*n*w*x+U+V+Z+h+n+o+z+},q,s,z-R-T-g-i-m-t-v.U.`.i.p.t.x.y.}/Z/[/^/b/d/g/{/}0`0e0g0m0r0w0}1O1P1Y1Z1h1r1y1|2a2h2j2m2s2v3V3_3a3f3h3k3u3{3|4R4U4W4_4c4e4h4t4v4|5[5`5d5g5t5v6R6Y6]6a6p6v6x7S7^7c7g7m7r7{8W8X8g8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:xQ'[!xQ'h#PQ)l%gU)r%m*T*WR.f)kQ,T']R5P1Z#t%s!Q!n$O$u%p%q&P&p&r(q)x)y*O*R*V*[*^*e*n*w+V+h+o+}-i-v.U.`.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2v3V3u3{3|4U4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)x%oQ+_&oQ,U']n,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7kS.q)s2sQ/O*PQ/Q*SQ/q*uS0Q*x4RQ0a+U[0o+Z.j0g4h5y7^Q2v.pS4d0e2rQ4m0sQ5Q1ZQ6T3RQ6z4PQ7O4TQ7X4_R9Y8h&jVOfgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u']'}(W(Y(b(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1Z1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fU&g!g%P%[o,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7k$nsOfgilm!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y'}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9z9{:O:P:Q:R:S:T:U:V:W:X:Y:eS$tp9xS&O!W#bS&Q!X#cQ&`!bQ*_&RQ*a&VS*d&[:fQ*h&^Q,T']Q-j(wQ/i*jQ0p+[S2f.X0qQ3]/_Q3^/`Q3g/hQ3i/kQ5P1ZU5b2R2g4lU7o5c5e5rQ8]6dS8u7p7qS9_8v8wR9i9`i{Ob!O!P!T$y%_%b)S)U)i-thxOb!O!P!T$y%_%b)S)U)i-tW/v*v/t3w6qQ/}*wW0[+Q0Y4Z7UQ3{/{Q6x3|R8g6v!h$do!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ&d!dQ&f!fQ&n!mW&x!q%X&|1PQ'S!rQ)X$}Q)Y%OQ)a%VU)d%Y'T'UQ*s&hS+s&z'PS-Y(k1sQ-u)WQ-x)ZS.a)e)fS0x+c/sQ1S+zQ1W+{S1v-_-`Q2k.bQ3s/pQ5]1xR5h2V${sOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$zsOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR3]/_V&T!Y!`*i!i$lo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!k$^o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!i$co!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&e^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR(l$fQ-[(kR5Y1sQ(S#|S({$v-oS-Z(k1sQ-l(yW/u*v/t3w6qS1w-_-`Q3v/vR5^1xQ'e#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,o'mk,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ'f#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,p'mR*g&]X/c*f/d/g3f!}aOb!O!P!T#z$v$y%_%b'}(y)S)U)i)s*f*v*w+Q+Z,s-o-t.j/b/d/g/t/{0Y0g1h2s3f3w3|4Z4h5y6a6q6v7U7^Q3`/aQ6_3bQ8Y6`R9V8Z${rOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#nfOfglmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!T9u!Y!_!`*i*l/^3h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#rfOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!X9u!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$srOfglmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#U#oh#d$P$Q$V$s%^&W&X'q't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b}:P&S&]/k3[6d:[:]:c:d:h:j:k:l:m:n:o:p:q:r:v:w:{#W#ph#d$P$Q$V$s%^&W&X'q'r't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b!P:Q&S&]/k3[6d:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{#S#qh#d$P$Q$V$s%^&W&X'q'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b{:R&S&]/k3[6d:[:]:c:d:h:k:l:m:n:o:p:q:r:v:w:{#Q#rh#d$P$Q$V$s%^&W&X'q'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9by:S&S&]/k3[6d:[:]:c:d:h:l:m:n:o:p:q:r:v:w:{#O#sh#d$P$Q$V$s%^&W&X'q'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bw:T&S&]/k3[6d:[:]:c:d:h:m:n:o:p:q:r:v:w:{!|#th#d$P$Q$V$s%^&W&X'q'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bu:U&S&]/k3[6d:[:]:c:d:h:n:o:p:q:r:v:w:{!x#vh#d$P$Q$V$s%^&W&X'q'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bq:W&S&]/k3[6d:[:]:c:d:h:p:q:r:v:w:{!v#wh#d$P$Q$V$s%^&W&X'q'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bo:X&S&]/k3[6d:[:]:c:d:h:q:r:v:w:{$]#{h#`#d$P$Q$V$s%^&S&W&X&]'q'r's't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n/k0z1i1l1}3P3[4w5V5a6^6d6e7R7e7h7s7y8j8q8{9[9b:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{${jOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$v!aOfgilmp!O!P!T!Y!Z!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ&Y![Q&Z!]R:e9{#rpOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hQ&[!^!W9x!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:f:zR$moR-f(rR$wqT(}$v-oQ/f*fS3d/d/gR6c3fQ3m/mQ3p/nQ6i3nR6l3qQ$zwQ)V${Q*q&fQ+f&qQ+i&sQ-w)YW.Z)b+j+k+lS/X*]+gW2b.W.[.].^U3W/Y/]0yU5o2c2d2eS6W3X3ZS7w5p5qS8Q6V6XQ8y7xS8}8R8SR9c9O^|O!O!P!T%_%b)iX)R$y)S)U-tQ&r!nQ*^&PQ*|&jQ+P&kQ+T&lQ+W&mQ+]&nQ+l&sQ-})[Q.Q)]Q.T)^Q.V)_Q.Y)aQ.^)bQ2S-uQ2e.WR4U0VU+a&o*u4TR4o0sQ+Y&mQ+k&sS.])b+l^0v+_+`/q/r4m4n7OS2d.W.^S4Q0R0SR5q2eS0R*x4RQ0a+UR7X4_U+d&o*u4TR4p0sQ*z&jQ+O&kQ+S&lQ+g&qQ+j&sS-{)[*|S.P)]+PS.S)^+TU.[)b+k+lQ/Y*]Q0X*{Q0q+[Q2X-|Q2Y-}Q2].QQ2_.TU2c.W.].^Q2g.XS3Z/]0yS5c2R4lQ5j2ZS5p2d2eQ6X3XS7q5e5rQ7x5qQ8R6VQ8v7pQ9O8SR9`8wQ0T*xR6|4RQ*y&jQ*}&kU-z)[*z*|U.O)]+O+PS2W-{-}S2[.P.QQ4X0ZQ5i2YQ5k2]R7T4YQ/w*vQ3t/tQ6r3wR8d6qQ*{&jS-|)[*|Q2Z-}Q4X0ZR7T4YQ+R&lU.R)^+S+TS2^.S.TR5l2_Q0]+QQ4V0YQ7V4ZR8l7UQ+[&nS.X)a+]S2R-u.YR5e2SQ0i+ZQ4f0gQ7`4hR8m7^Q.m)sQ0i+ZQ2p.jQ4f0gQ5|2sQ7`4hQ7}5yR8m7^Q0i+ZR4f0gX'O!q%X&|1PX&{!q%X&|1PW'O!q%X&|1PS+u&z'PR1U+z_|O!O!P!T%_%b)iQ%a!PS)h%_%bR.d)i$^%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ*U%yR*X%{$c%n!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gW)t%m%x*T*WQ.e)jR2{.vR.m)sR5|2sQ'W!sR,O'WQ!TOQ$TlQ$WmQ%b!P[%|!T$T$W%b)U/gQ)U$yR/g*f$b%i!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g[)n%i)p.i:`:t:xQ)p%jQ.i)qQ:`%nQ:t:aR:x:uQ!vUR'Y!vS!OO!TU%]!O%_)iQ%_!PR)i%b#rYOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hh!yY!|#U$`'a'n(d,q-R9s9|:gQ!|[b#Ub#Q$y'l(b)S)U*Z-t!h$`o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ'a!}Q'n#ZQ(d$aQ,q'oQ-R(e!W9s!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ9|9tR:g9}Q-U(gR1p-UQ1t-[R5Z1tQ,c'bQ,f'cQ,h'dW1`,c,f,h5UR5U1_Q/d*fS3c/d3fR3f/gfbO!O!P!T$y%_%b)S)U)i-tp#Wb'}(y.j/b/t/{0Y0g1h5y6a6q6v7U7^Q'}#zS(y$v-oQ.j)sW/b*f/d/g3fQ/t*vQ/{*wQ0Y+QQ0g+ZQ1h,sQ5y2sQ6q3wQ6v3|Q7U4ZR7^4hQ,t(OQ1g,rT1j,t1gS(X$Q([Q(^$VU,x(X(^,}R,}(`Q(s$mR-h(sQ-p)OR2P-pQ3n/mQ3q/nT6j3n3qQ)S$yS-r)S-tR-t)UQ4`0aR7Y4``0t+^+_+`+a+d/q/r7OR4q0tQ8i6zR9Z8iQ4S0TR6}4SQ3x/wQ6n3tT6s3x6nQ3}/|Q6t3zU6y3}6t8eR8e6uQ4[0]Q7Q4VT7W4[7QhzOb!O!P!T$y%_%b)S)U)i-tQ$|xW%Zz$|%f)v$b%f!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR)v%nS4i0i0nS7]4f4gT7b4i7]W&z!q%X&|1PS+r&z+zR+z'PQ1Q+wR4z1QU1[,S,T,UR5R1[S3S/Q7OR6U3SQ2t.mQ5x2pT5}2t5xQ.z)zR3O.z^_O!O!P!T%_%b)iY#Xb$y)S)U-t$l#_fgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!h$io!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'j#Q'lQ-P(bR/V*Z&v!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!{Y[#U#Z9s9tW&{!q%X&|1P['`!|!}'n'o9|9}S(c$`$aS+t&z'PU,X'a,q:gS-Q(d(eQ1T+zR1n-RS%t!Q&oQ&q!nQ(V$OQ(w$uS)w%o.pQ)z%pQ)}%qS*]&P&rQ+e&pQ,S']Q-d(qQ.l)sU.w)x)y2vS/O*O*PQ/P*RQ/T*VQ/W*[Q/]*^Q/`*eQ/l*nQ/|*wS0S*x4RQ0a+UQ0c+VQ0y+hQ0{+oQ1X+}Q1{-iQ2T-vQ2`.UQ2i.`Q2z.tQ2|.xQ2}.yQ3X/ZQ3Y/[S3z/{/}Q4^0`Q4l0rQ4s0wQ4x1OQ4}1YQ5O1ZQ5_1yQ5n2aQ5r2hQ5u2jQ5w2mQ5{2sQ6V3VQ6o3uQ6u3{Q6w3|Q7P4UQ7X4_Q7[4eQ7d4tQ7n5`Q7p5dQ7|5vQ8P6RQ8S6YQ8c6pS8f6v6xQ8o7cQ8w7rR9X8g$^%m!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)j%nQ*T%yR*W%{$y%h!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x'pWOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$x%g!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x_&y!q%X&z&|'P+z1PR,V']$zrOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!j$]o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ,T']R5P1Z_}O!O!P!T%_%b)i^|O!O!P!T%_%b)iQ#YbX)R$y)S)U-tbhO!O!T3_6]8W8X9U9hS#`f9uQ#dgQ$PiQ$QlQ$VmQ$spW%^!P%_%b)iU&S!Y!`*iQ&W!ZQ&X![Q&]!_Q'q#eQ'r#oS's#p:QQ't#qQ'u#rQ'v#sQ'w#tQ'x#uQ'y#vQ'z#wQ'{#xQ'|#yQ(O#zQ(U#}Q([$TQ(`$WQ*b&YQ*c&[Q,r'}Q,w(WQ,y(YQ-n(|Q/k*lQ0z+nQ1i,sQ1l,zQ1}-mQ3P.}Q3[/^Q4w0}Q5V1hQ5a1|Q6^3aQ6d3hQ6e3kQ7R4WQ7e4vQ7h4|Q7s5gQ7y5tQ8j7SQ8q7gQ8{7{Q9[8kQ9b8|Q:[9wQ:]9xQ:c9zQ:d9{Q:h:OQ:i:PQ:j:RQ:k:SQ:l:TQ:m:UQ:n:VQ:o:WQ:p:XQ:q:YQ:r:ZQ:v:eQ:w:fR:{9v^tO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6[3_Q8V6]Q9R8WQ9T8XQ9g9UR9m9hQ&V!YQ&^!`R/h*iQ$joQ&a!cQ&t!pU(g$e$g(jS(n$h0eQ(u$qQ(v$rQ*`&UQ*m&bQ+p&uQ-S(fS-b(o4cQ-c(pQ-e(rW/a*f/d/g3fQ/j*kW0f+Z0g4h7^Q1o-TQ1z-gQ3b/bQ4k0mQ5X1rQ7l5[Q8Z6aR8t7m!h$_o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mR-P(b'qXOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$zqOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$fo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&d^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!zY[$`$a9s9t['_!|!}(d(e9|9}W)o%i%j:`:aU,W'a-R:gW.h)p)q:t:uT2o.i:xQ(i$eQ(m$gR-W(jV(h$e$g(jR-^(kR-](k$znOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$ko!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'g#O'pj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ,m'jQ.u)uR8_6f`,b'b'c'd,c,f,h1_5UQ1e,lX3l/m/n3n3qj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ7j5TR8s7k^uO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6Z3_Q8U6]Q9Q8WQ9S8XQ9f9UR9l9hR(Q#zR(P#zQ$SlR(]$TR$ooR$noR)Q$vR)P$vQ)O$vR2O-ohwOb!O!P!T$y%_%b)S)U)i-t$l!lz!Q!n$O$u$|%f%n%o%p%q%y%{&P&o&p&r'](q)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR${xR0b+UR0W*xR0U*xR6{4PR/y*vR/x*vR0P*wR0O*wR0_+QR0^+Q%XyObxz!O!P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](q)S)U)i)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[UX],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`S'cVOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S'{UOz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`S(bUOz(t{!P(t!P!Q(_!Q;'S(t;'S;=`*a<%lO(tS(wVOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)eV'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)}UOz(tz{)z{!P(t!Q;'S(t;'S;=`*a<%lO(tS*dP;=`<%l(tS*jP;=`<%l)^S*pP;=`<%l'`S*vP;=`<%l&[S+OO'PSU+T]'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U,R]'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU-P]'_QOY+|YZ-xZr+|rs'`sz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U-}V'_QOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[Q.iV'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.dQ/TO'_QQ/WP;=`<%l.dU/`]'_QOY0XYZ3uZr0Xrs(tsz0Xz{.d{!P0X!P!Q/Z!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU0^]'_QOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU1`]'_Q'PS'OSOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU2bV'_Q'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U2|]'_QOY0XYZ3uZr0Xrs(tsz0Xz{2w{!P0X!P!Q.d!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU3zV'_QOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U4dP;=`<%l0XU4jP;=`<%l1VU4pP;=`<%l+|U4vP;=`<%l$nU5QV'_Q'PSOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_5p]'_Q&|X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_6rV'_Q&|X'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_7b_ZX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`8a!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_8j]#PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_9lV']Q'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_:[]'QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_;^i'_Q'vW'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_=Uj'_Q_X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![<{![!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_?P_(TP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_@X]#OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_AZa!qX'_Q'OSOY$nYZ%nZr$nrs&[sv$nvwB`wz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Bi]'}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Cik'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q!cE^!c!}Lp!}#OE^#O#P!!l#P#RE^#R#SLp#S#TE^#T#oLp#o${E^${$|Lp$|4wE^4w5bLp5b5iE^5i6SLp6S;'SE^;'S;=`!*}<%lOE^_Ee_'_Q'OSOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Fm]'_Q'OSsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_GmX'_Q'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]HaV'OSsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]H{X'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_Im_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Js]'_QsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Kq_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Lyl'_Q'OS'ZXOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n_Nzj'_Q'OS'ZXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n]!!qZ'OSOzHvz{!#d{!PHv!P!Q!$n!Q#iHv#i#j!%Z#j#lHv#l#m!'V#m;'SHv;'S;=`!*w<%lOHv]!#gXOw'`wx!$Sxz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`]!$XVsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]!$qWOw'`wx!$Sxz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`]!%`^'OSOz&[z{&v{!P&[!P!Q'x!Q![!&[![!c&[!c!i!&[!i#T&[#T#Z!&[#Z#o&[#o#p!({#p;'S&[;'S;=`*s<%lO&[]!&a['OSOz&[z{&v{!P&[!P!Q'x!Q![!'V![!c&[!c!i!'V!i#T&[#T#Z!'V#Z;'S&[;'S;=`*s<%lO&[]!'[['OSOz&[z{&v{!P&[!P!Q'x!Q![!(Q![!c&[!c!i!(Q!i#T&[#T#Z!(Q#Z;'S&[;'S;=`*s<%lO&[]!(V['OSOz&[z{&v{!P&[!P!Q'x!Q![Hv![!c&[!c!iHv!i#T&[#T#ZHv#Z;'S&[;'S;=`*s<%lO&[]!)Q['OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z;'S&[;'S;=`*s<%lO&[]!){^'OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z#q&[#q#rHv#r;'S&[;'S;=`*s<%lO&[]!*zP;=`<%lHv_!+QP;=`<%lE^_!+^]}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!,`]!PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!-`_(QX'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!.f]#OX'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!/h_(PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!0p]!eX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!1r`'gX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`!a!2t!a#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!2}]#QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!4P^(OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!4{!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!5U`!lX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!6W!P!Q,z!Q!_$n!_!`!7Y!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!6a]!tX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nV!7c]'qP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!8c_'_Q'xXOY+|YZ-xZr+|rs'`sz+|z{!9b{!P+|!P!Q!:O!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!9iV&}]'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_!:V]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!Aq{!P!;O!P!Q!:O!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;O_!;V]'_QUXOY!jYZ(tZz!>jz{!=x{!P!>j!P!Q!?|!Q;'S!>j;'S;=`!@e<%lO!>j]!>oXUXOY!=SYZ)^Zz!=Sz{!=x{!P!=S!P!Q!?[!Q;'S!=S;'S;=`!@k<%lO!=S]!?aXUXOY!>jYZ(tZz!>jz{!?|{!P!>j!P!Q!?[!Q;'S!>j;'S;=`!@e<%lO!>jX!@RSUXOY!?|Z;'S!?|;'S;=`!@_<%lO!?|X!@bP;=`<%l!?|]!@hP;=`<%l!>j]!@nP;=`<%l!=S_!@x]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!@q{!P!;O!P!Q!Aq!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;OZ!AxX'_QUXOY!AqYZ/OZr!Aqrs!?|s#O!Aq#O#P!?|#P;'S!Aq;'S;=`!Be<%lO!AqZ!BhP;=`<%l!Aq_!BnP;=`<%l!;O_!BtP;=`<%l!o![!c&[!c!i#>o!i#T&[#T#Z#>o#Z#o&[#o#p#A`#p;'S&[;'S;=`*s<%lO&[U#>t['OSOz&[z{&v{!P&[!P!Q'x!Q![#?j![!c&[!c!i#?j!i#T&[#T#Z#?j#Z;'S&[;'S;=`*s<%lO&[U#?o['OSOz&[z{&v{!P&[!P!Q'x!Q![#@e![!c&[!c!i#@e!i#T&[#T#Z#@e#Z;'S&[;'S;=`*s<%lO&[U#@j['OSOz&[z{&v{!P&[!P!Q'x!Q![#;}![!c&[!c!i#;}!i#T&[#T#Z#;}#Z;'S&[;'S;=`*s<%lO&[U#Ae['OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z;'S&[;'S;=`*s<%lO&[U#B`^'OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z#q&[#q#r#;}#r;'S&[;'S;=`*s<%lO&[U#C_P;=`<%l#;}_#Ck]XX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Dm_'{X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Ewl'_Q'OS!yW'TPOY$nYZ%nZr$nrs#Gosw$nwx#H]xz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$n]#GvV'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_#Hd_'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q#OE^#O#P!!l#P;'SE^;'S;=`!*}<%lOE^_#Ink'_Q'OS!yW'TPOY$nYZ%nZr$nrs&[st#Kctz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[YX,qX,BX,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:n=>ZX[n]||-1}],tokenPrec:15596});class $t{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let r=[];return this.decompose(0,e,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(t,this.length,r,1),es.from(r,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),es.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),r=new qu(this),s=new qu(e);for(let o=t,a=t;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(a+=r.value.length,r.done||a>=i)return!0}}iter(e=1){return new qu(this,e)}iterRange(e,t=this.length){return new pP(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let r=this.line(e).from;i=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new OP(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?$t.empty:e.length<=32?new yn(e):es.from(yn.split(e,[]))}}class yn extends $t{constructor(e,t=GX(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,r){for(let s=0;;s++){let o=this.text[s],a=r+o.length;if((t?i:a)>=e)return new HX(r,a,i,o);r=a+1,i++}}decompose(e,t,i,r){let s=e<=0&&t>=this.length?this:new yn(mS(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let o=i.pop(),a=$f(s.text,o.text.slice(),0,s.length);if(a.length<=32)i.push(new yn(a,o.length+s.length));else{let h=a.length>>1;i.push(new yn(a.slice(0,h)),new yn(a.slice(h)))}}else i.push(s)}replace(e,t,i){if(!(i instanceof yn))return super.replace(e,t,i);let r=$f(this.text,$f(i.text,mS(this.text,0,e)),t),s=this.length+i.length-(t-e);return r.length<=32?new yn(r,s):es.from(yn.split(r,[]),s)}sliceString(e,t=this.length,i=` +var oX=Object.defineProperty;var lX=(n,e,t)=>e in n?oX(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Lt=(n,e,t)=>(lX(n,typeof e!="symbol"?e+"":e,t),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();const lP=1024;let aX=0,IO=class{constructor(e,t){this.from=e,this.to=t}};class gt{constructor(e={}){this.id=aX++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Ii.match(e)),t=>{let i=e(t);return i===void 0?null:[this,i]}}}gt.closedBy=new gt({deserialize:n=>n.split(" ")});gt.openedBy=new gt({deserialize:n=>n.split(" ")});gt.group=new gt({deserialize:n=>n.split(" ")});gt.contextHash=new gt({perNode:!0});gt.lookAhead=new gt({perNode:!0});gt.mounted=new gt({perNode:!0});const uX=Object.create(null);class Ii{constructor(e,t,i,r=0){this.name=e,this.props=t,this.id=i,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):uX,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Ii(e.name||"",t,e.id,i);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(gt.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let i in e)for(let r of i.split(" "))t[r]=e[i];return i=>{for(let r=i.prop(gt.group),s=-1;s<(r?r.length:0);s++){let o=t[s<0?i.name:r[s]];if(o)return o}}}}Ii.none=new Ii("",Object.create(null),0,8);class w0{constructor(e){this.types=e;for(let t=0;t0;for(let h=this.cursor(o|In.IncludeAnonymous);;){let f=!1;if(h.from<=s&&h.to>=r&&(!a&&h.type.isAnonymous||t(h)!==!1)){if(h.firstChild())continue;f=!0}for(;f&&i&&(a||!h.type.isAnonymous)&&i(h),!h.nextSibling();){if(!h.parent())return;f=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:k0(Ii.none,this.children,this.positions,0,this.children.length,0,this.length,(t,i,r)=>new wn(this.type,t,i,r,this.propValues),e.makeTree||((t,i,r)=>new wn(Ii.none,t,i,r)))}static build(e){return cX(e)}}wn.empty=new wn(Ii.none,[],[],0);class x0{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new x0(this.buffer,this.index)}}class Ql{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return Ii.none}toString(){let e=[];for(let t=0;t0));h=o[h+3]);return a}slice(e,t,i){let r=this.buffer,s=new Uint16Array(t-e),o=0;for(let a=e,h=0;a=e&&te;case 1:return t<=e&&i>e;case 2:return i>e;case 4:return!0}}function uP(n,e){let t=n.childBefore(e);for(;t;){let i=t.lastChild;if(!i||i.to!=t.to)break;i.type.isError&&i.from==i.to?(n=t,t=i.prevSibling):t=i}return n}function Ra(n,e,t,i){for(var r;n.from==n.to||(t<1?n.from>=e:n.from>e)||(t>-1?n.to<=e:n.to0?a.length:-1;e!=f;e+=t){let p=a[e],O=h[e]+o.from;if(aP(r,i,O,O+p.length)){if(p instanceof Ql){if(s&In.ExcludeBuffers)continue;let v=p.findChild(0,p.buffer.length,t,i-O,r);if(v>-1)return new lo(new hX(o,p,e,O),null,v)}else if(s&In.IncludeAnonymous||!p.type.isAnonymous||P0(p)){let v;if(!(s&In.IgnoreMounts)&&p.props&&(v=p.prop(gt.mounted))&&!v.overlay)return new Ts(v.tree,O,e,o);let x=new Ts(p,O,e,o);return s&In.IncludeAnonymous||!x.type.isAnonymous?x:x.nextChild(t<0?p.children.length-1:0,t,i,r)}}}if(s&In.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+t:e=t<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,i=0){let r;if(!(i&In.IgnoreOverlays)&&(r=this._tree.prop(gt.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:a}of r.overlay)if((t>0?o<=s:o=s:a>s))return new Ts(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,i)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new td(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return Ra(this,e,t,!1)}resolveInner(e,t=0){return Ra(this,e,t,!0)}enterUnfinishedNodesBefore(e){return uP(this,e)}getChild(e,t=null,i=null){let r=Jf(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return Jf(this,e,t,i)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return ed(this,e)}}function Jf(n,e,t,i){let r=n.cursor(),s=[];if(!r.firstChild())return s;if(t!=null){for(;!r.type.is(t);)if(!r.nextSibling())return s}for(;;){if(i!=null&&r.type.is(i))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return i==null?s:[]}}function ed(n,e,t=e.length-1){for(let i=n.parent;t>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[t]&&e[t]!=i.name)return!1;t--}}return!0}class hX{constructor(e,t,i,r){this.parent=e,this.buffer=t,this.index=i,this.start=r}}class lo{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,i){this.context=e,this._parent=t,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}child(e,t,i){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,i);return s<0?null:new lo(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,i=0){if(i&In.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new lo(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new lo(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new lo(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new td(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:i}=this.context,r=this.index+4,s=i.buffer[this.index+3];if(s>r){let o=i.buffer[this.index+1];e.push(i.slice(r,s,o)),t.push(0)}return new wn(this.type,e,t,this.to-this.from)}resolve(e,t=0){return Ra(this,e,t,!1)}resolveInner(e,t=0){return Ra(this,e,t,!0)}enterUnfinishedNodesBefore(e){return uP(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,i=null){let r=Jf(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return Jf(this,e,t,i)}get node(){return this}matchContext(e){return ed(this,e)}}class td{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Ts)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:i,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=i+r.buffer[e+1],this.to=i+r.buffer[e+2],!0}yield(e){return e?e instanceof Ts?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,i,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,i);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,i=this.mode){return this.buffer?i&In.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&In.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&In.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,i=this.stack.length-1;if(e<0){let r=i<0?0:this.stack[i]+4;if(this.index!=r)return this.yieldBuf(t.findChild(r,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(i<0?t.buffer.length:t.buffer[this.stack[i]+3]))return this.yieldBuf(r)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,i,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=t+e,o=e<0?-1:i._tree.children.length;s!=o;s+=e){let a=i._tree.children[s];if(this.mode&In.IncludeAnonymous||a instanceof Ql||!a.type.isAnonymous||P0(a))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,i=s+1;break e}r=this.stack[--s]}for(let r=i;r=0;s--){if(s<0)return ed(this.node,e,r);let o=i[t.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function P0(n){return n.children.some(e=>e instanceof Ql||!e.type.isAnonymous||P0(e))}function cX(n){var e;let{buffer:t,nodeSet:i,maxBufferLength:r=lP,reused:s=[],minRepeatType:o=i.types.length}=n,a=Array.isArray(t)?new x0(t,t.length):t,h=i.types,f=0,p=0;function O(W,B,J,ae,xe){let{id:Me,start:Pe,end:Ke,size:at}=a,mt=p;for(;at<0;)if(a.next(),at==-1){let ke=s[Me];J.push(ke),ae.push(Pe-W);return}else if(at==-3){f=Me;return}else if(at==-4){p=Me;return}else throw new RangeError(`Unrecognized record size: ${at}`);let _t=h[Me],Mt,Wt,zt=Pe-W;if(Ke-Pe<=r&&(Wt=R(a.pos-B,xe))){let ke=new Uint16Array(Wt.size-Wt.skip),Re=a.pos-Wt.size,ze=ke.length;for(;a.pos>Re;)ze=M(Wt.start,ke,ze);Mt=new Ql(ke,Ke-Wt.start,i),zt=Wt.start-W}else{let ke=a.pos-at;a.next();let Re=[],ze=[],je=Me>=o?Me:-1,st=0,Vi=Ke;for(;a.pos>ke;)je>=0&&a.id==je&&a.size>=0?(a.end<=Vi-r&&(x(Re,ze,Pe,st,a.end,Vi,je,mt),st=Re.length,Vi=a.end),a.next()):O(Pe,ke,Re,ze,je);if(je>=0&&st>0&&st-1&&st>0){let Pi=v(_t);Mt=k0(_t,Re,ze,0,Re.length,0,Ke-Pe,Pi,Pi)}else Mt=Q(_t,Re,ze,Ke-Pe,mt-Ke)}J.push(Mt),ae.push(zt)}function v(W){return(B,J,ae)=>{let xe=0,Me=B.length-1,Pe,Ke;if(Me>=0&&(Pe=B[Me])instanceof wn){if(!Me&&Pe.type==W&&Pe.length==ae)return Pe;(Ke=Pe.prop(gt.lookAhead))&&(xe=J[Me]+Pe.length+Ke)}return Q(W,B,J,ae,xe)}}function x(W,B,J,ae,xe,Me,Pe,Ke){let at=[],mt=[];for(;W.length>ae;)at.push(W.pop()),mt.push(B.pop()+J-xe);W.push(Q(i.types[Pe],at,mt,Me-xe,Ke-Me)),B.push(xe-J)}function Q(W,B,J,ae,xe=0,Me){if(f){let Pe=[gt.contextHash,f];Me=Me?[Pe].concat(Me):[Pe]}if(xe>25){let Pe=[gt.lookAhead,xe];Me=Me?[Pe].concat(Me):[Pe]}return new wn(W,B,J,ae,Me)}function R(W,B){let J=a.fork(),ae=0,xe=0,Me=0,Pe=J.end-r,Ke={size:0,start:0,skip:0};e:for(let at=J.pos-W;J.pos>at;){let mt=J.size;if(J.id==B&&mt>=0){Ke.size=ae,Ke.start=xe,Ke.skip=Me,Me+=4,ae+=4,J.next();continue}let _t=J.pos-mt;if(mt<0||_t=o?4:0,Wt=J.start;for(J.next();J.pos>_t;){if(J.size<0)if(J.size==-3)Mt+=4;else break e;else J.id>=o&&(Mt+=4);J.next()}xe=Wt,ae+=mt,Me+=Mt}return(B<0||ae==W)&&(Ke.size=ae,Ke.start=xe,Ke.skip=Me),Ke.size>4?Ke:void 0}function M(W,B,J){let{id:ae,start:xe,end:Me,size:Pe}=a;if(a.next(),Pe>=0&&ae4){let at=a.pos-(Pe-4);for(;a.pos>at;)J=M(W,B,J)}B[--J]=Ke,B[--J]=Me-W,B[--J]=xe-W,B[--J]=ae}else Pe==-3?f=ae:Pe==-4&&(p=ae);return J}let b=[],E=[];for(;a.pos>0;)O(n.start||0,n.bufferStart||0,b,E,-1);let $=(e=n.length)!==null&&e!==void 0?e:b.length?E[0]+b[0].length:0;return new wn(h[n.topID],b.reverse(),E.reverse(),$)}const eS=new WeakMap;function bf(n,e){if(!n.isAnonymous||e instanceof Ql||e.type!=n)return 1;let t=eS.get(e);if(t==null){t=1;for(let i of e.children){if(i.type!=n||!(i instanceof wn)){t=1;break}t+=bf(n,i)}eS.set(e,t)}return t}function k0(n,e,t,i,r,s,o,a,h){let f=0;for(let Q=i;Q=p)break;J+=ae}if($==W+1){if(J>p){let ae=Q[W];x(ae.children,ae.positions,0,ae.children.length,R[W]+E);continue}O.push(Q[W])}else{let ae=R[$-1]+Q[$-1].length-B;O.push(k0(n,Q,R,W,$,B,ae,null,h))}v.push(B+E-s)}}return x(e,t,i,r,0),(a||h)(O,v,o)}class dl{constructor(e,t,i,r,s=!1,o=!1){this.from=e,this.to=t,this.tree=i,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],i=!1){let r=[new dl(0,e.length,e,0,!1,i)];for(let s of t)s.to>e.length&&r.push(s);return r}static applyChanges(e,t,i=128){if(!t.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let a=0,h=0,f=0;;a++){let p=a=i)for(;o&&o.from=v.from||O<=v.to||f){let x=Math.max(v.from,h)-f,Q=Math.min(v.to,O)-f;v=x>=Q?null:new dl(x,Q,v.tree,v.offset+f,a>0,!!p)}if(v&&r.push(v),o.to>O)break;o=snew IO(r.from,r.to)):[new IO(0,0)]:[new IO(0,e.length)],this.createParse(e,t||[],i)}parse(e,t,i){let r=this.startParse(e,t,i);for(;;){let s=r.advance();if(s)return s}}}class fX{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}new gt({perNode:!0});class nd{constructor(e,t,i,r,s,o,a,h,f,p=0,O){this.p=e,this.stack=t,this.state=i,this.reducePos=r,this.pos=s,this.score=o,this.buffer=a,this.bufferBase=h,this.curContext=f,this.lookAhead=p,this.parent=O}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,i=0){let r=e.parser.context;return new nd(e,[],t,i,i,0,[],0,r?new tS(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let i=e>>19,r=e&65535,{parser:s}=this.p,o=s.dynamicPrecedence(r);if(o&&(this.score+=o),i==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r=2e3&&!(!((t=this.p.parser.nodeSet.types[r])===null||t===void 0)&&t.isAnonymous)&&(h==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=f):this.p.lastBigReductionSizea;)this.stack.pop();this.reduceContext(r,h)}storeNode(e,t,i,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[a-4]==0&&o.buffer[a-1]>-1){if(t==i)return;if(o.buffer[a-2]>=t){o.buffer[a-2]=i;return}}}if(!s||this.pos==i)this.buffer.push(e,t,i,r);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>i;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=i,this.buffer[o+3]=r}}shift(e,t,i){let r=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,i,4);else{let s=e,{parser:o}=this.p;(i>this.pos||t<=o.maxNode)&&(this.pos=i,o.stateFlag(s,1)||(this.reducePos=i)),this.pushState(s,r),this.shiftContext(t,r),t<=o.maxNode&&this.buffer.push(t,r,i,4)}}apply(e,t,i){e&65536?this.reduce(e):this.shift(e,t,i)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(i,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let i=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new nd(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,i?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new dX(this);;){let i=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(i==0)return!1;if(!(i&65536))return!0;t.reduce(i)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let r=[];for(let s=0,o;sh&1&&a==o)||r.push(t[s],o)}t=r}let i=[];for(let r=0;r>19,r=t&65535,s=this.stack.length-i*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;t=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],i=(r,s)=>{if(!t.includes(r))return t.push(r),e.allActions(r,o=>{if(!(o&393216))if(o&65536){let a=(o>>19)-s;if(a>1){let h=o&65535,f=this.stack.length-a*3;if(f>=0&&e.getGoto(this.stack[f],h,!1)>=0)return a<<19|65536|h}}else{let a=i(o,s+1);if(a!=null)return a}})};return i(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class tS{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var nS;(function(n){n[n.Insert=200]="Insert",n[n.Delete=190]="Delete",n[n.Reduce=100]="Reduce",n[n.MaxNext=4]="MaxNext",n[n.MaxInsertStackDepth=300]="MaxInsertStackDepth",n[n.DampenInsertStackDepth=120]="DampenInsertStackDepth",n[n.MinBigReduction=2e3]="MinBigReduction"})(nS||(nS={}));class dX{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class id{constructor(e,t,i){this.stack=e,this.pos=t,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new id(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new id(this.stack,this.pos,this.index)}}function Vc(n,e=Uint16Array){if(typeof n!="string")return n;let t=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let h=o-32;if(h>=46&&(h-=46,a=!0),s+=h,a)break;s*=46}t?t[r++]=s:t=new e(s)}return t}class Ef{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const iS=new Ef;class pX{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=iS,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let i=this.range,r=this.rangeIndex,s=this.pos+e;for(;si.to:s>=i.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-i.to,i=o}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,i,r;if(t>=0&&t=this.chunk2Pos&&ia.to&&(this.chunk2=this.chunk2.slice(0,a.to-i)),r=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),r}acceptToken(e,t=0){let i=t?this.resolveOffset(t,-1):this.pos;if(i==null||i=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=iS,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let i="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(i+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return i}}class wa{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;OX(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}wa.prototype.contextual=wa.prototype.fallback=wa.prototype.extend=!1;wa.prototype.fallback=wa.prototype.extend=!1;class _0{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function OX(n,e,t,i,r,s){let o=0,a=1<0){let Q=n[x];if(h.allows(Q)&&(e.token.value==-1||e.token.value==Q||gX(Q,e.token.value,r,s))){e.acceptToken(Q);break}}let p=e.next,O=0,v=n[o+2];if(e.next<0&&v>O&&n[f+v*3-3]==65535&&n[f+v*3-3]==65535){o=n[f+v*3-1];continue e}for(;O>1,Q=f+x+(x<<1),R=n[Q],M=n[Q+1]||65536;if(p=M)O=x+1;else{o=n[Q+2],e.advance();continue e}}break}}function rS(n,e,t){for(let i=e,r;(r=n[i])!=65535;i++)if(r==t)return i-e;return-1}function gX(n,e,t,i){let r=rS(t,i,e);return r<0||rS(t,i,n)e)&&!i.type.isError)return t<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(n.length,Math.max(i.from+1,e+25));if(t<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return t<0?0:n.length}}class mX{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?oS(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?oS(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof wn){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+s.length}}}class yX{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new Ef)}getActions(e){let t=0,i=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,h=0;for(let f=0;fO.end+25&&(h=Math.max(O.lookAhead,h)),O.value!=0)){let v=t;if(O.extended>-1&&(t=this.addActions(e,O.extended,O.end,t)),t=this.addActions(e,O.value,O.end,t),!p.extend&&(i=O,t>v))break}}for(;this.actions.length>t;)this.actions.pop();return h&&e.setLookAhead(h),!i&&e.pos==this.stream.end&&(i=new Ef,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,t=this.addActions(e,i.value,i.end,t)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Ef,{pos:i,p:r}=e;return t.start=i,t.end=Math.min(i+1,r.stream.end),t.value=i==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,i){let r=this.stream.clipPos(i.pos);if(t.token(this.stream.reset(r,e),i),e.value>-1){let{parser:s}=i.p;for(let o=0;o=0&&i.p.parser.dialect.allows(a>>1)){a&1?e.extended=a>>1:e.value=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,i,r){for(let s=0;se.bufferLength*4?new mX(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,i=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;ot)i.push(a);else{if(this.advanceStack(a,i,e))continue;{r||(r=[],s=[]),r.push(a);let h=this.tokens.getMainToken(a);s.push(h.value,h.end)}}break}}if(!i.length){let o=r&&wX(r);if(o)return this.stackToTree(o);if(this.parser.strict)throw Tr&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,i);if(o)return this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(i.length>o)for(i.sort((a,h)=>h.score-a.score);i.length>o;)i.pop();i.some(a=>a.reducePos>t)&&this.recovering--}else if(i.length>1){e:for(let o=0;o500&&f.buffer.length>500)if((a.score-f.score||a.buffer.length-f.buffer.length)>0)i.splice(h--,1);else{i.splice(o--,1);continue e}}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let f=e.curContext&&e.curContext.tracker.strict,p=f?e.curContext.hash:0;for(let O=this.fragments.nodeAt(r);O;){let v=this.parser.nodeSet.types[O.type.id]==O.type?s.getGoto(e.state,O.type.id):-1;if(v>-1&&O.length&&(!f||(O.prop(gt.contextHash)||0)==p))return e.useNode(O,v),Tr&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(O.type.id)})`),!0;if(!(O instanceof wn)||O.children.length==0||O.positions[0]>0)break;let x=O.children[0];if(x instanceof wn&&O.positions[0]==0)O=x;else break}}let a=s.stateSlot(e.state,4);if(a>0)return e.reduce(a),Tr&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(a&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let h=this.tokens.getActions(e);for(let f=0;fr?t.push(Q):i.push(Q)}return!1}advanceFully(e,t){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return aS(e,t),!0}}runRecovery(e,t,i){let r=null,s=!1;for(let o=0;o ":"";if(a.deadEnd&&(s||(s=!0,a.restart(),Tr&&console.log(p+this.stackID(a)+" (restarted)"),this.advanceFully(a,i))))continue;let O=a.split(),v=p;for(let x=0;O.forceReduce()&&x<10&&(Tr&&console.log(v+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,i));x++)Tr&&(v=this.stackID(O)+" -> ");for(let x of a.recoverByInsert(h))Tr&&console.log(p+this.stackID(x)+" (via recover-insert)"),this.advanceFully(x,i);this.stream.end>a.pos?(f==a.pos&&(f++,h=0),a.recoverByDelete(h,f),Tr&&console.log(p+this.stackID(a)+` (via recover-delete ${this.parser.getName(h)})`),aS(a,i)):(!r||r.scoree.topRules[a][1]),r=[];for(let a=0;a=0)s(p,h,a[f++]);else{let O=a[f+-p];for(let v=-p;v>0;v--)s(a[f++],h,O);f++}}}this.nodeSet=new w0(t.map((a,h)=>Ii.define({name:h>=this.minRepeatTerm?void 0:a,id:h,props:r[h],top:i.indexOf(h)>-1,error:h==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(h)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=lP;let o=Vc(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;atypeof a=="number"?new wa(o,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,i){let r=new vX(this,e,t,i);for(let s of this.wrappers)r=s(r,e,t,i);return r}getGoto(e,t,i=!1){let r=this.goto;if(t>=r[0])return-1;for(let s=r[t+1];;){let o=r[s++],a=o&1,h=r[s++];if(a&&i)return h;for(let f=s+(o>>1);s0}validAction(e,t){return!!this.allActions(e,i=>i==t?!0:null)}allActions(e,t){let i=this.stateSlot(e,4),r=i?t(i):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=bs(this.data,s+2);else break;r=t(bs(this.data,s+1))}return r}nextStates(e){let t=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=bs(this.data,i+2);else break;if(!(this.data[i+2]&1)){let r=this.data[i+1];t.some((s,o)=>o&1&&s==r)||t.push(this.data[i],r)}}return t}configure(e){let t=Object.assign(Object.create(rd.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=i}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(i=>{let r=e.tokenizers.find(s=>s.from==i);return r?r.to:i})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((i,r)=>{let s=e.specializers.find(a=>a.from==i.external);if(!s)return i;let o=Object.assign(Object.assign({},i),{external:s.to});return t.specializers[r]=uS(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),i=t.map(()=>!1);if(e)for(let s of e.split(" ")){let o=t.indexOf(s);o>=0&&(i[o]=!0)}let r=null;for(let s=0;si)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scoren.external(t,i)<<1|e}return n.get}let xX=0;class Jr{constructor(e,t,i){this.set=e,this.base=t,this.modified=i,this.id=xX++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new Jr([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new sd;return t=>t.modified.indexOf(e)>-1?t:sd.get(t.base||t,t.modified.concat(e).sort((i,r)=>i.id-r.id))}}let PX=0;class sd{constructor(){this.instances=[],this.id=PX++}static get(e,t){if(!t.length)return e;let i=t[0].instances.find(a=>a.base==e&&kX(t,a.modified));if(i)return i;let r=[],s=new Jr(r,e,t);for(let a of t)a.instances.push(s);let o=_X(t);for(let a of e.set)if(!a.modified.length)for(let h of o)r.push(sd.get(a,h));return s}}function kX(n,e){return n.length==e.length&&n.every((t,i)=>t==e[i])}function _X(n){let e=[[]];for(let t=0;ti.length-t.length)}function cP(n){let e=Object.create(null);for(let t in n){let i=n[t];Array.isArray(i)||(i=[i]);for(let r of t.split(" "))if(r){let s=[],o=2,a=r;for(let O=0;;){if(a=="..."&&O>0&&O+3==r.length){o=1;break}let v=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!v)throw new RangeError("Invalid path: "+r);if(s.push(v[0]=="*"?"":v[0][0]=='"'?JSON.parse(v[0]):v[0]),O+=v[0].length,O==r.length)break;let x=r[O++];if(O==r.length&&x=="!"){o=0;break}if(x!="/")throw new RangeError("Invalid path: "+r);a=r.slice(O)}let h=s.length-1,f=s[h];if(!f)throw new RangeError("Invalid path: "+r);let p=new od(i,o,h>0?s.slice(0,h):null);e[f]=p.sort(e[f])}}return fP.add(e)}const fP=new gt;class od{constructor(e,t,i,r){this.tags=e,this.mode=t,this.context=i,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=r;for(let a of s)for(let h of a.set){let f=t[h.id];if(f){o=o?o+" "+f:f;break}}return o},scope:i}}function QX(n,e){let t=null;for(let i of n){let r=i.style(e);r&&(t=t?t+" "+r:r)}return t}function bX(n,e,t,i=0,r=n.length){let s=new EX(i,Array.isArray(e)?e:[e],t);s.highlightRange(n.cursor(),i,r,"",s.highlighters),s.flush(r)}class EX{constructor(e,t,i){this.at=e,this.highlighters=t,this.span=i,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,i,r,s){let{type:o,from:a,to:h}=e;if(a>=i||h<=t)return;o.isTop&&(s=this.highlighters.filter(x=>!x.scope||x.scope(o)));let f=r,p=$X(e)||od.empty,O=QX(s,p.tags);if(O&&(f&&(f+=" "),f+=O,p.mode==1&&(r+=(r?" ":"")+O)),this.startSpan(Math.max(t,a),f),p.opaque)return;let v=e.tree&&e.tree.prop(gt.mounted);if(v&&v.overlay){let x=e.node.enter(v.overlay[0].from+a,1),Q=this.highlighters.filter(M=>!M.scope||M.scope(v.tree.type)),R=e.firstChild();for(let M=0,b=a;;M++){let E=M=$||!e.nextSibling())););if(!E||$>i)break;b=E.to+a,b>t&&(this.highlightRange(x.cursor(),Math.max(t,E.from+a),Math.min(i,b),"",Q),this.startSpan(Math.min(i,b),f))}R&&e.parent()}else if(e.firstChild()){v&&(r="");do if(!(e.to<=t)){if(e.from>=i)break;this.highlightRange(e,t,i,r,s),this.startSpan(Math.min(i,e.to),f)}while(e.nextSibling());e.parent()}}}function $X(n){let e=n.type.prop(fP);for(;e&&e.context&&!n.matchContext(e.context);)e=e.next;return e||null}const Te=Jr.define,Dc=Te(),eo=Te(),hS=Te(eo),cS=Te(eo),to=Te(),Nc=Te(to),DO=Te(to),jr=Te(),il=Te(jr),Zr=Te(),Fr=Te(),zg=Te(),xu=Te(zg),Bc=Te(),he={comment:Dc,lineComment:Te(Dc),blockComment:Te(Dc),docComment:Te(Dc),name:eo,variableName:Te(eo),typeName:hS,tagName:Te(hS),propertyName:cS,attributeName:Te(cS),className:Te(eo),labelName:Te(eo),namespace:Te(eo),macroName:Te(eo),literal:to,string:Nc,docString:Te(Nc),character:Te(Nc),attributeValue:Te(Nc),number:DO,integer:Te(DO),float:Te(DO),bool:Te(to),regexp:Te(to),escape:Te(to),color:Te(to),url:Te(to),keyword:Zr,self:Te(Zr),null:Te(Zr),atom:Te(Zr),unit:Te(Zr),modifier:Te(Zr),operatorKeyword:Te(Zr),controlKeyword:Te(Zr),definitionKeyword:Te(Zr),moduleKeyword:Te(Zr),operator:Fr,derefOperator:Te(Fr),arithmeticOperator:Te(Fr),logicOperator:Te(Fr),bitwiseOperator:Te(Fr),compareOperator:Te(Fr),updateOperator:Te(Fr),definitionOperator:Te(Fr),typeOperator:Te(Fr),controlOperator:Te(Fr),punctuation:zg,separator:Te(zg),bracket:xu,angleBracket:Te(xu),squareBracket:Te(xu),paren:Te(xu),brace:Te(xu),content:jr,heading:il,heading1:Te(il),heading2:Te(il),heading3:Te(il),heading4:Te(il),heading5:Te(il),heading6:Te(il),contentSeparator:Te(jr),list:Te(jr),quote:Te(jr),emphasis:Te(jr),strong:Te(jr),link:Te(jr),monospace:Te(jr),strikethrough:Te(jr),inserted:Te(),deleted:Te(),changed:Te(),invalid:Te(),meta:Bc,documentMeta:Te(Bc),annotation:Te(Bc),processingInstruction:Te(Bc),definition:Jr.defineModifier(),constant:Jr.defineModifier(),function:Jr.defineModifier(),standard:Jr.defineModifier(),local:Jr.defineModifier(),special:Jr.defineModifier()};dP([{tag:he.link,class:"tok-link"},{tag:he.heading,class:"tok-heading"},{tag:he.emphasis,class:"tok-emphasis"},{tag:he.strong,class:"tok-strong"},{tag:he.keyword,class:"tok-keyword"},{tag:he.atom,class:"tok-atom"},{tag:he.bool,class:"tok-bool"},{tag:he.url,class:"tok-url"},{tag:he.labelName,class:"tok-labelName"},{tag:he.inserted,class:"tok-inserted"},{tag:he.deleted,class:"tok-deleted"},{tag:he.literal,class:"tok-literal"},{tag:he.string,class:"tok-string"},{tag:he.number,class:"tok-number"},{tag:[he.regexp,he.escape,he.special(he.string)],class:"tok-string2"},{tag:he.variableName,class:"tok-variableName"},{tag:he.local(he.variableName),class:"tok-variableName tok-local"},{tag:he.definition(he.variableName),class:"tok-variableName tok-definition"},{tag:he.special(he.variableName),class:"tok-variableName2"},{tag:he.definition(he.propertyName),class:"tok-propertyName tok-definition"},{tag:he.typeName,class:"tok-typeName"},{tag:he.namespace,class:"tok-namespace"},{tag:he.className,class:"tok-className"},{tag:he.macroName,class:"tok-macroName"},{tag:he.propertyName,class:"tok-propertyName"},{tag:he.operator,class:"tok-operator"},{tag:he.comment,class:"tok-comment"},{tag:he.meta,class:"tok-meta"},{tag:he.invalid,class:"tok-invalid"},{tag:he.punctuation,class:"tok-punctuation"}]);const CX=1,TX=2,AX=3,RX=4,XX=5,fS=98,MX=101,WX=102,dS=114,zX=69,Yc=48,pS=46,LX=43,IX=45,OS=35,gS=34,VX=124,DX=60,NX=62;function Lg(n){return n>=48&&n<=57}function qc(n){return Lg(n)||n==95}const BX=new _0((n,e)=>{if(Lg(n.next)){let t=!1;do n.advance();while(qc(n.next));if(n.next==pS){if(t=!0,n.advance(),Lg(n.next))do n.advance();while(qc(n.next));else if(n.next==pS||n.next>127||/\w/.test(String.fromCharCode(n.next)))return}if(n.next==MX||n.next==zX){if(t=!0,n.advance(),(n.next==LX||n.next==IX)&&n.advance(),!qc(n.next))return;do n.advance();while(qc(n.next))}if(n.next==WX){let i=n.peek(1);if(i==Yc+3&&n.peek(2)==Yc+2||i==Yc+6&&n.peek(2)==Yc+4)n.advance(3),t=!0;else return}t&&n.acceptToken(XX)}else if(n.next==fS||n.next==dS){if(n.next==fS&&n.advance(),n.next!=dS)return;n.advance();let t=0;for(;n.next==OS;)t++,n.advance();if(n.next!=gS)return;n.advance();e:for(;;){if(n.next<0)return;let i=n.next==gS;if(n.advance(),i){for(let r=0;r{n.next==VX&&n.acceptToken(CX,1)}),qX=new _0(n=>{n.next==DX?n.acceptToken(TX,1):n.next==NX&&n.acceptToken(AX,1)}),UX=cP({"const macro_rules struct union enum type fn impl trait let static":he.definitionKeyword,"mod use crate":he.moduleKeyword,"pub unsafe async mut extern default move":he.modifier,"for if else loop while match continue break return await":he.controlKeyword,"as in ref":he.operatorKeyword,"where _ crate super dyn":he.keyword,self:he.self,String:he.string,Char:he.character,RawString:he.special(he.string),Boolean:he.bool,Identifier:he.variableName,"CallExpression/Identifier":he.function(he.variableName),BoundIdentifier:he.definition(he.variableName),"FunctionItem/BoundIdentifier":he.function(he.definition(he.variableName)),LoopLabel:he.labelName,FieldIdentifier:he.propertyName,"CallExpression/FieldExpression/FieldIdentifier":he.function(he.propertyName),Lifetime:he.special(he.variableName),ScopeIdentifier:he.namespace,TypeIdentifier:he.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":he.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":he.macroName,'"!"':he.macroName,UpdateOp:he.updateOperator,LineComment:he.lineComment,BlockComment:he.blockComment,Integer:he.integer,Float:he.float,ArithOp:he.arithmeticOperator,LogicOp:he.logicOperator,BitOp:he.bitwiseOperator,CompareOp:he.compareOperator,"=":he.definitionOperator,".. ... => ->":he.punctuation,"( )":he.paren,"[ ]":he.squareBracket,"{ }":he.brace,". DerefOp":he.derefOperator,"&":he.operator,", ; ::":he.separator,"Attribute/...":he.meta}),ZX={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},FX=rd.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`OOQV'#Io'#IoOA]Q_O'#InOEPQWO'#InOOQV'#Fw'#FwOF[QWO'#JuOFcQWO'#F|OOQO'#IO'#IOOGrQWO'#GhOOQV'#Im'#ImOOQV'#Il'#IlOOQV'#Hj'#HjQGyQ_OOOKeQ_O'#DUOKlQYO'#CqOOQP'#I_'#I_OOQV'#Hg'#HgQ]Q_OOOLuQWO'#I`ONsQYO'#DXO!!eQWO'#JuO!!lQWO'#JuO!!vQ_O'#DfO!%]Q_O'#E}O!(sQ_O'#FWO!,ZQWO'#FZO!.^QXO'#FbO!.cQ_O'#EeO!!vQ_O'#FmO!0uQWO'#FoO!0zQWO'#FoO!1PQ^O'#FqO!1WQWO'#JuO!1_QWO'#FtO!1dQWO'#FxO!2WQWO'#JjO!2_QWO'#GOO!2_QWO'#G`O!2_QWO'#GbO!2_QWO'#GsOOQO'#Ju'#JuO!2dQWO'#GhO!2lQYO'#GpO!2_QWO'#GqO!3uQ^O'#GtO!3|QWO'#GuO!4hQWO'#HOP!4sOpO'#CcPOOO)CC})CC}OOOO'#Hi'#HiO!5OO`O,59iOOQV,59i,59iO!5ZQYO,5?aOOQO-E;i-E;iOOQO,5:[,5:[OOQP,59Z,59ZO)xQWO,5:[O)xQWO,5:[O!5oQWO,5?kO!5zQYO,5;qO!6PQYO,5;TO!6hQWO,59QO!7kQXO'#CnO!7xQXO'#I`O!9SQWO'#CoO,^QWO'#EiOOQV-E;n-E;nO!9eQWO'#FsOOQV,5WQWO,5:fOOQP,5:h,5:hO!1PQ^O,5:hO!1PQ^O,5:mO$>]QYO,5gQ_O'#HsO$>tQXO,5@QOOQV1G1i1G1iOOQP,5:e,5:eO$>|QXO,5]QYO,5=vO$LRQWO'#KRO$L^QWO,5=xOOQR,5=y,5=yO$LcQWO,5=zO$>]QYO,5>PO$>]QYO,5>POOQO1G.w1G.wO$>]QYO1G.wO$LnQYO,5=pO$LvQZO,59^OOQR,59^,59^O$>]QYO,5=wO% YQZO,5=}OOQR,5=},5=}O%#lQWO1G/_O!6PQYO1G/_O#FYQYO1G2vO%#qQWO1G2vO%$PQYO1G2vOOQV1G/i1G/iO%%YQWO,5:SO%%bQ_O1G/lO%*kQWO1G1^O%+RQWO1G1hOOQO1G1h1G1hO$>]QYO1G1hO%+iQ^O'#EgOOQV1G0k1G0kOOQV1G1s1G1sO!!vQ_O1G1sO!0zQWO1G1uO!1PQ^O1G1wO!.cQ_O1G1wOOQP,5:j,5:jO$>]QYO1G/^OOQO'#Cn'#CnO%+vQWO1G1zOOQV1G2O1G2OO%,OQWO'#CnO%,WQWO1G3TO%,]QWO1G3TO%,bQYO'#GQO%,sQWO'#G]O%-UQYO'#G_O%.hQYO'#GXOOQV1G2U1G2UO%/wQWO1G2UO%/|QWO1G2UO$ARQWO1G2UOOQV1G2f1G2fO%/wQWO1G2fO#CpQWO1G2fO%0UQWO'#GdOOQV1G2h1G2hO%0gQWO1G2hO#C{QWO1G2hO%0lQYO'#GSO$>]QYO1G2lO$AdQWO1G2lOOQV1G2y1G2yO%1xQWO1G2yO%3hQ^O'#GkO%3rQWO1G2nO#DfQWO1G2nO%4QQYO,5]QYO1G2vOOQV1G2w1G2wO%5tQWO1G2wO%5yQWO1G2wO#HXQWO1G2wOOQV1G2z1G2zO.YQ_O1G2zO$>]QYO1G2zO%6RQWO1G2zOOQO,5>l,5>lOOQO-E]QYO1G3UPOOO-E;d-E;dPOOO1G.i1G.iOOQO7+*g7+*gO%7VQYO'#IcO%7nQYO'#IfO%7yQYO'#IfO%8RQYO'#IfO%8^QYO,59eOOQO7+%b7+%bOOQP7+$a7+$aO%8cQ!fO'#JTOOQS'#EX'#EXOOQS'#EY'#EYOOQS'#EZ'#EZOOQS'#JT'#JTO%;UQWO'#EWOOQS'#E`'#E`OOQS'#JR'#JROOQS'#Hn'#HnO%;ZQ!fO,5:oOOQV,5:o,5:oOOQV'#JQ'#JQO%;bQ!fO,5:{OOQV,5:{,5:{O%;iQ!fO,5:|OOQV,5:|,5:|OOQV7+'e7+'eOOQV7+&Z7+&ZO%;pQ!fO,59TOOQO,59T,59TO%>YQWO7+$WO%>_QWO1G1yOOQV1G1y1G1yO!9SQWO1G.uO%>dQWO,5?}O%>nQ_O'#HqO%@|QWO,5?}OOQO1G1X1G1XOOQO7+&}7+&}O%AUQWO,5>^OOQO-E;p-E;pO%AcQWO7+'OO.YQ_O7+'OOOQO7+'O7+'OOOQO7+'P7+'PO%AjQWO7+'POOQO7+'W7+'WOOQP1G0V1G0VO%ArQXO1G/tO!M{QWO1G/tO%BsQXO1G0RO%CkQ^O'#HlO%C{QWO,5?eOOQP1G/u1G/uO%DWQWO1G/uO%D]QWO'#D_OOQO'#Dt'#DtO%DhQWO'#DtO%DmQWO'#I{OOQO'#Iz'#IzO%DuQWO,5:_O%DzQWO'#DtO%EPQWO'#DtOOQP1G0Q1G0QOOQP1G0S1G0SOOQP1G0X1G0XO%EXQXO1G1jO%EdQXO'#FeOOQP,5>_,5>_O!1PQ^O'#FeOOQP-E;q-E;qO$>]QYO1G1jOOQO7+'S7+'SOOQO,5]QYO7+$xOOQV7+'j7+'jO%FsQWO7+(oO%FxQWO7+(oOOQV7+'p7+'pO%/wQWO7+'pO%F}QWO7+'pO%GVQWO7+'pOOQV7+(Q7+(QO%/wQWO7+(QO#CpQWO7+(QOOQV7+(S7+(SO%0gQWO7+(SO#C{QWO7+(SO$>]QYO7+(WO%GeQWO7+(WO#HUQYO7+(cO%GjQWO7+(YO#DfQWO7+(YOOQV7+(c7+(cO%5tQWO7+(cO%5yQWO7+(cO#HXQWO7+(cOOQV7+(g7+(gO$>]QYO7+(pO%GxQWO7+(pO!1dQWO7+(pOOQV7+$v7+$vO%G}QWO7+$vO%HSQZO1G3ZO%JfQWO1G4jOOQO1G4j1G4jOOQR1G.}1G.}O#.WQWO1G.}O%JkQWO'#KQOOQO'#HW'#HWO%J|QWO'#HXO%KXQWO'#KQOOQO'#KP'#KPO%KaQWO,5=qO%KfQYO'#H[O%LrQWO'#GmO%L}QYO'#CtO%MXQWO'#GmO$>]QYO1G3ZOOQR1G3g1G3gO#7aQWO1G3ZO%M^QZO1G3bO$>]QYO1G3bO& mQYO'#IVO& }QWO,5@mOOQR1G3d1G3dOOQR1G3f1G3fO.YQ_O1G3fOOQR1G3k1G3kO&!VQYO7+$cO&!_QYO'#KOOOQQ'#J}'#J}O&!gQYO1G3[O&!lQZO1G3cOOQQ7+$y7+$yO&${QWO7+$yO&%QQWO7+(bOOQV7+(b7+(bO%5tQWO7+(bO$>]QYO7+(bO#FYQYO7+(bO&%YQWO7+(bO!.cQ_O1G/nO&%hQWO7+%WO$?[QWO7+'SO&%pQWO'#EhO&%{Q^O'#EhOOQU'#Ho'#HoO&%{Q^O,5;ROOQV,5;R,5;RO&&VQWO,5;RO&&[Q^O,5;RO!0zQWO7+'_OOQV7+'a7+'aO&&iQWO7+'cO&&qQWO7+'cO&&xQWO7+$xO&'TQ!fO7+'fO&'[Q!fO7+'fOOQV7+(o7+(oO!1dQWO7+(oO&'cQYO,5]QYO'#JrOOQO'#Jq'#JqO&*YQWO,5]QYO'#GUO&,SQYO'#JkOOQQ,5]QYO7+(YO&0SQYO'#HxO&0hQYO1G2WOOQQ1G2W1G2WOOQQ,5]QYO,5]QYO7+(fO&1dQWO'#IRO&1nQWO,5@hOOQO1G3Q1G3QOOQO1G2}1G2}OOQO1G3P1G3POOQO1G3R1G3ROOQO1G3S1G3SOOQO1G3O1G3OO&1vQWO7+(pO$>]QYO,59fO&2RQ^O'#ISO&2xQYO,5?QOOQR1G/P1G/PO&3QQ!bO,5:pO&3VQ!fO,5:rOOQS-E;l-E;lOOQV1G0Z1G0ZOOQV1G0g1G0gOOQV1G0h1G0hO&3^QWO'#JTOOQO1G.o1G.oOOQV<]O&3qQWO,5>]OOQO-E;o-E;oOOQO<WOOQO-E;j-E;jOOQP7+%a7+%aO!1PQ^O,5:`O&5cQWO'#HmO&5wQWO,5?gOOQP1G/y1G/yOOQO,5:`,5:`O&6PQWO,5:`O%DzQWO,5:`O$>]QYO,5`,5>`OOQO-E;r-E;rOOQV7+'l7+'lO&6yQWO<]QYO<]QYO<]QYO<]QYO7+(uOOQO7+*U7+*UOOQR7+$i7+$iO&8cQWO,5@lOOQO'#Gm'#GmO&8kQWO'#GmO&8vQYO'#IUO&8cQWO,5@lOOQR1G3]1G3]O&:cQYO,5=vO&;rQYO,5=XO&;|QWO,5=XOOQO,5=X,5=XOOQR7+(u7+(uO&eQZO7+(|O&@tQWO,5>qOOQO-E]QYO<]QYO,5]QYO,5@^O&D^QYO'#H|O&EsQWO,5@^OOQO1G2e1G2eO%,nQWO,5]QYO,5PO&I]QYO,5@VOOQV<]QYO,5=WO&KuQWO,5@cO&K}QWO,5@cO&MvQ^O'#IPO&KuQWO,5@cOOQO1G2q1G2qO&NTQWO,5=WO&N]QWO<oO&NvQYO,5>dO' UQYO,5>dOOQQ,5>d,5>dOOQQ-E;v-E;vOOQQ7+'r7+'rO' aQYO1G2]O$>]QYO1G2^OOQV<m,5>mOOQO-EnOOQQ,5>n,5>nO'!fQYO,5>nOOQQ-EX,5>XOOQO-E;k-E;kO!1PQ^O1G/zOOQO1G/z1G/zO'%oQWO1G/zO'%tQXO1G1kO$>]QYO1G1kO'&PQWO7+'[OOQVANA`ANA`O'&ZQWOANA`O$>]QYOANA`O'&cQWOANA`OOQVAN>OAN>OO.YQ_OAN>OO'&qQWOANAuOOQVAN@vAN@vO'&vQWOAN@vOOQVANAWANAWOOQVANAYANAYOOQVANA^ANA^O'&{QWOANA^OOQVANAiANAiO%5tQWOANAiO%5yQWOANAiO''TQWOANA`OOQVANAvANAvO.YQ_OANAvO''cQWOANAvO$>]QYOANAvOOQR<pOOQO'#HY'#HYO''vQWO'#HZOOQO,5>p,5>pOOQO-E]QYO<o,5>oOOQQ-E]QYOANAhO'(bQWO1G1rO')UQ^O1G0nO.YQ_O1G0nO'*zQWO,5;UO'+RQWO1G0nP'+WQWO'#ERP&%{Q^O'#HpOOQV7+&X7+&XO'+cQWO7+&XO&&qQWOAN@iO'+hQWOAN>OO!5oQWO,5a,5>aO'+oQWOAN@lO'+tQWOAN@lOOQS-E;s-E;sOOQVAN@lAN@lO'+|QWOAN@lOOQVANAuANAuO',UQWO1G5vO',^QWO1G2dO$>]QYO1G2dO&'|QWO,5>gOOQO,5>g,5>gOOQO-E;y-E;yO',iQWO1G5xO',qQWO1G5xO&(nQYO,5>hO',|QWO,5>hO$>]QYO,5>hOOQO-E;z-E;zO'-XQWO'#JnOOQO1G2a1G2aOOQO,5>f,5>fOOQO-E;x-E;xO&'cQYO,5iOOQO,5>i,5>iOOQO-E;{-E;{OOQQ,5>c,5>cOOQQ-E;u-E;uO'.pQWO1G2sO'/QQWO1G2rO'/]QWO1G5}O'/eQ^O,5>kOOQO'#Go'#GoOOQO,5>k,5>kO'/lQWO,5>kOOQO-E;}-E;}O$>]QYO1G2rO'/zQYO7+'xO'0VQWOANAlOOQVANAlANAlO.YQ_OANAlO'0^QWOANAvOOQS7+%x7+%xO'0eQWO7+%xO'0pQ!fO7+%xO'0}QWO7+%fO!1PQ^O7+%fO'1YQXO7+'VOOQVG26zG26zO'1eQWOG26zO'1sQWOG26zO$>]QYOG26zO'1{QWOG23jOOQVG27aG27aOOQVG26bG26bOOQVG26xG26xOOQVG27TG27TO%5tQWOG27TO'2SQWOG27bOOQVG27bG27bO.YQ_OG27bO'2ZQWOG27bOOQO1G4[1G4[OOQO7+(_7+(_OOQRANA{ANA{OOQVG27SG27SO%5tQWOG27SO&0uQWOG27SO'2fQ^O7+&YO'4PQWO7+'^O'4sQ^O7+&YO.YQ_O7+&YP.YQ_O,5;SP'6PQWO,5;SP'6UQWO,5;SOOQV<]QYO1G4SO%,nQWO'#HyO'7UQWO,5@YO'7dQWO7+(VO.YQ_O7+(VOOQO1G4T1G4TOOQO1G4V1G4VO'7nQWO1G4VO'7|QWO7+(^OOQVG27WG27WO'8XQWOG27WOOQS<e,5>eOOQO-E;w-E;wO'?rQWO<wD_DpPDvHQPPPPPPK`P! P! _PPPPP!!VP!$oP!$oPP!&oP!(rP!(w!)n!*f!*f!*f!(w!+]P!(w!.Q!.TPP!.ZP!(w!(w!(w!(wP!(w!(wP!(w!(w!.y!/dP!/dJ}J}J}PPPP!/d!.y!/sPP!$oP!0^!0a!0g!1h!1t!3t!3t!5r!7t!1t!1t!9p!;_!=O!>k!@U!Am!CS!De!1t!1tP!1tP!1t!1t!Et!1tP!Ge!1t!1tP!Ie!1tP!1t!7t!7t!1t!7t!1t!Kl!Mt!Mw!7t!1t!Mz!M}!M}!M}!NR!$oP!$oP!$oP! P! PP!N]! P! PP!Ni# }! PP! PP#!^##c##k#$Z#$_#$e#$e#$mP#&s#&s#&y#'o#'{! PP! PP#(]#(l! PP! PPP#(x#)W#)d#)|#)^! P! PP! P! P! PP#*S#*S#*Y#*`#*S#*S! P! PP#*m#*v#+Q#+Q#,x#.l#.x#.x#.{#.{5a5a5a5a5a5a5a5aP5a#/O#/U#/p#1{#2R#2b#6^#6d#6j#6|#7W#8w#9R#9b#9h#9n#9x#:S#:Y#:g#:m#:s#:}#;]#;g#=u#>R#>`#>f#>n#>u#?PPPPPPPP#?V#BaP#F^#Jx#Ls#Nr$&^P$&aPPP$)_$)h$)z$/U$1d$1m$3fP!(w$4`$7r$:i$>T$>^$>c$>fPPP$>i$A`$A|P$BaPPPPPPPPPP$BvP$EU$EX$E[$Eb$Ee$Eh$Ek$En$Et$HO$HR$HU$HX$H[$H_$Hb$He$Hh$Hk$Hn$Jt$Jw$Jz#*S$KW$K^$Ka$Kd$Kh$Kl$Ko$KrQ!tPT'V!s'Wi!SOlm!P!T$T$W$y%b)U*f/gQ'i#QR,n'l(OSOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%X%_%b&U&Y&[&b&u&z&|'P'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n+z,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1P1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:gS(z$v-oQ*p&eQ*t&hQ-k(yQ-y)ZW0Z+Q0Y4Z7UR4Y0[&w!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#r]Ofgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hb#[b#Q$y'l(b)S)U*Z-t!h$bo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m$b%k!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g!W:y!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:|%n$_%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g$e%l!Q!n$O$u%n%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g'hZOY[fgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r%_%b%i%j&U&Y&[&b&u'a'}(W(Y(d(e(f(j(o(p(r(|)i)p)q*f*i*k*l+Z+n,s,z-R-T-g-m.i.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:x$^%l!Q!n$O$u%n%o%p%q%y%{&P&p&r(q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ&j!hQ&k!iQ&l!jQ&m!kQ&s!oQ)[%QQ)]%RQ)^%SQ)_%TQ)b%WQ+`&oS,R']1ZQ.W)`S/r*u4TR4n0s+yTOY[bfgilmop!O!P!Q!T!Y!Z![!_!`!c!n!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$O$T$W$`$a$e$g$h$q$r$u$y%X%_%b%i%j%n%o%p%q%y%{&P&U&Y&[&b&o&p&r&u&z&|'P']'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(q(r(|)S)U)i)p)q)s)x)y*O*P*R*V*Z*[*^*e*f*i*k*l*n*w*x+U+V+Z+h+n+o+z+},q,s,z-R-T-g-i-m-t-v.U.`.i.p.t.x.y.}/Z/[/^/b/d/g/{/}0`0e0g0m0r0w0}1O1P1Y1Z1h1r1y1|2a2h2j2m2s2v3V3_3a3f3h3k3u3{3|4R4U4W4_4c4e4h4t4v4|5[5`5d5g5t5v6R6Y6]6a6p6v6x7S7^7c7g7m7r7{8W8X8g8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:xQ'[!xQ'h#PQ)l%gU)r%m*T*WR.f)kQ,T']R5P1Z#t%s!Q!n$O$u%p%q&P&p&r(q)x)y*O*R*V*[*^*e*n*w+V+h+o+}-i-v.U.`.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2v3V3u3{3|4U4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)x%oQ+_&oQ,U']n,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7kS.q)s2sQ/O*PQ/Q*SQ/q*uS0Q*x4RQ0a+U[0o+Z.j0g4h5y7^Q2v.pS4d0e2rQ4m0sQ5Q1ZQ6T3RQ6z4PQ7O4TQ7X4_R9Y8h&jVOfgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u']'}(W(Y(b(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1Z1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fU&g!g%P%[o,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7k$nsOfgilm!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y'}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9z9{:O:P:Q:R:S:T:U:V:W:X:Y:eS$tp9xS&O!W#bS&Q!X#cQ&`!bQ*_&RQ*a&VS*d&[:fQ*h&^Q,T']Q-j(wQ/i*jQ0p+[S2f.X0qQ3]/_Q3^/`Q3g/hQ3i/kQ5P1ZU5b2R2g4lU7o5c5e5rQ8]6dS8u7p7qS9_8v8wR9i9`i{Ob!O!P!T$y%_%b)S)U)i-thxOb!O!P!T$y%_%b)S)U)i-tW/v*v/t3w6qQ/}*wW0[+Q0Y4Z7UQ3{/{Q6x3|R8g6v!h$do!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ&d!dQ&f!fQ&n!mW&x!q%X&|1PQ'S!rQ)X$}Q)Y%OQ)a%VU)d%Y'T'UQ*s&hS+s&z'PS-Y(k1sQ-u)WQ-x)ZS.a)e)fS0x+c/sQ1S+zQ1W+{S1v-_-`Q2k.bQ3s/pQ5]1xR5h2V${sOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$zsOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR3]/_V&T!Y!`*i!i$lo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!k$^o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!i$co!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&e^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR(l$fQ-[(kR5Y1sQ(S#|S({$v-oS-Z(k1sQ-l(yW/u*v/t3w6qS1w-_-`Q3v/vR5^1xQ'e#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,o'mk,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ'f#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,p'mR*g&]X/c*f/d/g3f!}aOb!O!P!T#z$v$y%_%b'}(y)S)U)i)s*f*v*w+Q+Z,s-o-t.j/b/d/g/t/{0Y0g1h2s3f3w3|4Z4h5y6a6q6v7U7^Q3`/aQ6_3bQ8Y6`R9V8Z${rOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#nfOfglmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!T9u!Y!_!`*i*l/^3h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#rfOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!X9u!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$srOfglmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#U#oh#d$P$Q$V$s%^&W&X'q't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b}:P&S&]/k3[6d:[:]:c:d:h:j:k:l:m:n:o:p:q:r:v:w:{#W#ph#d$P$Q$V$s%^&W&X'q'r't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b!P:Q&S&]/k3[6d:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{#S#qh#d$P$Q$V$s%^&W&X'q'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b{:R&S&]/k3[6d:[:]:c:d:h:k:l:m:n:o:p:q:r:v:w:{#Q#rh#d$P$Q$V$s%^&W&X'q'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9by:S&S&]/k3[6d:[:]:c:d:h:l:m:n:o:p:q:r:v:w:{#O#sh#d$P$Q$V$s%^&W&X'q'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bw:T&S&]/k3[6d:[:]:c:d:h:m:n:o:p:q:r:v:w:{!|#th#d$P$Q$V$s%^&W&X'q'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bu:U&S&]/k3[6d:[:]:c:d:h:n:o:p:q:r:v:w:{!x#vh#d$P$Q$V$s%^&W&X'q'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bq:W&S&]/k3[6d:[:]:c:d:h:p:q:r:v:w:{!v#wh#d$P$Q$V$s%^&W&X'q'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bo:X&S&]/k3[6d:[:]:c:d:h:q:r:v:w:{$]#{h#`#d$P$Q$V$s%^&S&W&X&]'q'r's't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n/k0z1i1l1}3P3[4w5V5a6^6d6e7R7e7h7s7y8j8q8{9[9b:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{${jOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$v!aOfgilmp!O!P!T!Y!Z!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ&Y![Q&Z!]R:e9{#rpOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hQ&[!^!W9x!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:f:zR$moR-f(rR$wqT(}$v-oQ/f*fS3d/d/gR6c3fQ3m/mQ3p/nQ6i3nR6l3qQ$zwQ)V${Q*q&fQ+f&qQ+i&sQ-w)YW.Z)b+j+k+lS/X*]+gW2b.W.[.].^U3W/Y/]0yU5o2c2d2eS6W3X3ZS7w5p5qS8Q6V6XQ8y7xS8}8R8SR9c9O^|O!O!P!T%_%b)iX)R$y)S)U-tQ&r!nQ*^&PQ*|&jQ+P&kQ+T&lQ+W&mQ+]&nQ+l&sQ-})[Q.Q)]Q.T)^Q.V)_Q.Y)aQ.^)bQ2S-uQ2e.WR4U0VU+a&o*u4TR4o0sQ+Y&mQ+k&sS.])b+l^0v+_+`/q/r4m4n7OS2d.W.^S4Q0R0SR5q2eS0R*x4RQ0a+UR7X4_U+d&o*u4TR4p0sQ*z&jQ+O&kQ+S&lQ+g&qQ+j&sS-{)[*|S.P)]+PS.S)^+TU.[)b+k+lQ/Y*]Q0X*{Q0q+[Q2X-|Q2Y-}Q2].QQ2_.TU2c.W.].^Q2g.XS3Z/]0yS5c2R4lQ5j2ZS5p2d2eQ6X3XS7q5e5rQ7x5qQ8R6VQ8v7pQ9O8SR9`8wQ0T*xR6|4RQ*y&jQ*}&kU-z)[*z*|U.O)]+O+PS2W-{-}S2[.P.QQ4X0ZQ5i2YQ5k2]R7T4YQ/w*vQ3t/tQ6r3wR8d6qQ*{&jS-|)[*|Q2Z-}Q4X0ZR7T4YQ+R&lU.R)^+S+TS2^.S.TR5l2_Q0]+QQ4V0YQ7V4ZR8l7UQ+[&nS.X)a+]S2R-u.YR5e2SQ0i+ZQ4f0gQ7`4hR8m7^Q.m)sQ0i+ZQ2p.jQ4f0gQ5|2sQ7`4hQ7}5yR8m7^Q0i+ZR4f0gX'O!q%X&|1PX&{!q%X&|1PW'O!q%X&|1PS+u&z'PR1U+z_|O!O!P!T%_%b)iQ%a!PS)h%_%bR.d)i$^%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ*U%yR*X%{$c%n!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gW)t%m%x*T*WQ.e)jR2{.vR.m)sR5|2sQ'W!sR,O'WQ!TOQ$TlQ$WmQ%b!P[%|!T$T$W%b)U/gQ)U$yR/g*f$b%i!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g[)n%i)p.i:`:t:xQ)p%jQ.i)qQ:`%nQ:t:aR:x:uQ!vUR'Y!vS!OO!TU%]!O%_)iQ%_!PR)i%b#rYOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hh!yY!|#U$`'a'n(d,q-R9s9|:gQ!|[b#Ub#Q$y'l(b)S)U*Z-t!h$`o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ'a!}Q'n#ZQ(d$aQ,q'oQ-R(e!W9s!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ9|9tR:g9}Q-U(gR1p-UQ1t-[R5Z1tQ,c'bQ,f'cQ,h'dW1`,c,f,h5UR5U1_Q/d*fS3c/d3fR3f/gfbO!O!P!T$y%_%b)S)U)i-tp#Wb'}(y.j/b/t/{0Y0g1h5y6a6q6v7U7^Q'}#zS(y$v-oQ.j)sW/b*f/d/g3fQ/t*vQ/{*wQ0Y+QQ0g+ZQ1h,sQ5y2sQ6q3wQ6v3|Q7U4ZR7^4hQ,t(OQ1g,rT1j,t1gS(X$Q([Q(^$VU,x(X(^,}R,}(`Q(s$mR-h(sQ-p)OR2P-pQ3n/mQ3q/nT6j3n3qQ)S$yS-r)S-tR-t)UQ4`0aR7Y4``0t+^+_+`+a+d/q/r7OR4q0tQ8i6zR9Z8iQ4S0TR6}4SQ3x/wQ6n3tT6s3x6nQ3}/|Q6t3zU6y3}6t8eR8e6uQ4[0]Q7Q4VT7W4[7QhzOb!O!P!T$y%_%b)S)U)i-tQ$|xW%Zz$|%f)v$b%f!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR)v%nS4i0i0nS7]4f4gT7b4i7]W&z!q%X&|1PS+r&z+zR+z'PQ1Q+wR4z1QU1[,S,T,UR5R1[S3S/Q7OR6U3SQ2t.mQ5x2pT5}2t5xQ.z)zR3O.z^_O!O!P!T%_%b)iY#Xb$y)S)U-t$l#_fgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!h$io!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'j#Q'lQ-P(bR/V*Z&v!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!{Y[#U#Z9s9tW&{!q%X&|1P['`!|!}'n'o9|9}S(c$`$aS+t&z'PU,X'a,q:gS-Q(d(eQ1T+zR1n-RS%t!Q&oQ&q!nQ(V$OQ(w$uS)w%o.pQ)z%pQ)}%qS*]&P&rQ+e&pQ,S']Q-d(qQ.l)sU.w)x)y2vS/O*O*PQ/P*RQ/T*VQ/W*[Q/]*^Q/`*eQ/l*nQ/|*wS0S*x4RQ0a+UQ0c+VQ0y+hQ0{+oQ1X+}Q1{-iQ2T-vQ2`.UQ2i.`Q2z.tQ2|.xQ2}.yQ3X/ZQ3Y/[S3z/{/}Q4^0`Q4l0rQ4s0wQ4x1OQ4}1YQ5O1ZQ5_1yQ5n2aQ5r2hQ5u2jQ5w2mQ5{2sQ6V3VQ6o3uQ6u3{Q6w3|Q7P4UQ7X4_Q7[4eQ7d4tQ7n5`Q7p5dQ7|5vQ8P6RQ8S6YQ8c6pS8f6v6xQ8o7cQ8w7rR9X8g$^%m!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)j%nQ*T%yR*W%{$y%h!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x'pWOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$x%g!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x_&y!q%X&z&|'P+z1PR,V']$zrOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!j$]o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ,T']R5P1Z_}O!O!P!T%_%b)i^|O!O!P!T%_%b)iQ#YbX)R$y)S)U-tbhO!O!T3_6]8W8X9U9hS#`f9uQ#dgQ$PiQ$QlQ$VmQ$spW%^!P%_%b)iU&S!Y!`*iQ&W!ZQ&X![Q&]!_Q'q#eQ'r#oS's#p:QQ't#qQ'u#rQ'v#sQ'w#tQ'x#uQ'y#vQ'z#wQ'{#xQ'|#yQ(O#zQ(U#}Q([$TQ(`$WQ*b&YQ*c&[Q,r'}Q,w(WQ,y(YQ-n(|Q/k*lQ0z+nQ1i,sQ1l,zQ1}-mQ3P.}Q3[/^Q4w0}Q5V1hQ5a1|Q6^3aQ6d3hQ6e3kQ7R4WQ7e4vQ7h4|Q7s5gQ7y5tQ8j7SQ8q7gQ8{7{Q9[8kQ9b8|Q:[9wQ:]9xQ:c9zQ:d9{Q:h:OQ:i:PQ:j:RQ:k:SQ:l:TQ:m:UQ:n:VQ:o:WQ:p:XQ:q:YQ:r:ZQ:v:eQ:w:fR:{9v^tO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6[3_Q8V6]Q9R8WQ9T8XQ9g9UR9m9hQ&V!YQ&^!`R/h*iQ$joQ&a!cQ&t!pU(g$e$g(jS(n$h0eQ(u$qQ(v$rQ*`&UQ*m&bQ+p&uQ-S(fS-b(o4cQ-c(pQ-e(rW/a*f/d/g3fQ/j*kW0f+Z0g4h7^Q1o-TQ1z-gQ3b/bQ4k0mQ5X1rQ7l5[Q8Z6aR8t7m!h$_o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mR-P(b'qXOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$zqOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$fo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&d^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!zY[$`$a9s9t['_!|!}(d(e9|9}W)o%i%j:`:aU,W'a-R:gW.h)p)q:t:uT2o.i:xQ(i$eQ(m$gR-W(jV(h$e$g(jR-^(kR-](k$znOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$ko!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'g#O'pj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ,m'jQ.u)uR8_6f`,b'b'c'd,c,f,h1_5UQ1e,lX3l/m/n3n3qj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ7j5TR8s7k^uO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6Z3_Q8U6]Q9Q8WQ9S8XQ9f9UR9l9hR(Q#zR(P#zQ$SlR(]$TR$ooR$noR)Q$vR)P$vQ)O$vR2O-ohwOb!O!P!T$y%_%b)S)U)i-t$l!lz!Q!n$O$u$|%f%n%o%p%q%y%{&P&o&p&r'](q)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR${xR0b+UR0W*xR0U*xR6{4PR/y*vR/x*vR0P*wR0O*wR0_+QR0^+Q%XyObxz!O!P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](q)S)U)i)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[UX],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`S'cVOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S'{UOz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`S(bUOz(t{!P(t!P!Q(_!Q;'S(t;'S;=`*a<%lO(tS(wVOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)eV'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)}UOz(tz{)z{!P(t!Q;'S(t;'S;=`*a<%lO(tS*dP;=`<%l(tS*jP;=`<%l)^S*pP;=`<%l'`S*vP;=`<%l&[S+OO'PSU+T]'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U,R]'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU-P]'_QOY+|YZ-xZr+|rs'`sz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U-}V'_QOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[Q.iV'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.dQ/TO'_QQ/WP;=`<%l.dU/`]'_QOY0XYZ3uZr0Xrs(tsz0Xz{.d{!P0X!P!Q/Z!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU0^]'_QOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU1`]'_Q'PS'OSOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU2bV'_Q'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U2|]'_QOY0XYZ3uZr0Xrs(tsz0Xz{2w{!P0X!P!Q.d!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU3zV'_QOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U4dP;=`<%l0XU4jP;=`<%l1VU4pP;=`<%l+|U4vP;=`<%l$nU5QV'_Q'PSOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_5p]'_Q&|X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_6rV'_Q&|X'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_7b_ZX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`8a!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_8j]#PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_9lV']Q'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_:[]'QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_;^i'_Q'vW'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_=Uj'_Q_X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![<{![!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_?P_(TP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_@X]#OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_AZa!qX'_Q'OSOY$nYZ%nZr$nrs&[sv$nvwB`wz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Bi]'}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Cik'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q!cE^!c!}Lp!}#OE^#O#P!!l#P#RE^#R#SLp#S#TE^#T#oLp#o${E^${$|Lp$|4wE^4w5bLp5b5iE^5i6SLp6S;'SE^;'S;=`!*}<%lOE^_Ee_'_Q'OSOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Fm]'_Q'OSsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_GmX'_Q'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]HaV'OSsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]H{X'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_Im_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Js]'_QsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Kq_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Lyl'_Q'OS'ZXOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n_Nzj'_Q'OS'ZXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n]!!qZ'OSOzHvz{!#d{!PHv!P!Q!$n!Q#iHv#i#j!%Z#j#lHv#l#m!'V#m;'SHv;'S;=`!*w<%lOHv]!#gXOw'`wx!$Sxz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`]!$XVsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]!$qWOw'`wx!$Sxz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`]!%`^'OSOz&[z{&v{!P&[!P!Q'x!Q![!&[![!c&[!c!i!&[!i#T&[#T#Z!&[#Z#o&[#o#p!({#p;'S&[;'S;=`*s<%lO&[]!&a['OSOz&[z{&v{!P&[!P!Q'x!Q![!'V![!c&[!c!i!'V!i#T&[#T#Z!'V#Z;'S&[;'S;=`*s<%lO&[]!'[['OSOz&[z{&v{!P&[!P!Q'x!Q![!(Q![!c&[!c!i!(Q!i#T&[#T#Z!(Q#Z;'S&[;'S;=`*s<%lO&[]!(V['OSOz&[z{&v{!P&[!P!Q'x!Q![Hv![!c&[!c!iHv!i#T&[#T#ZHv#Z;'S&[;'S;=`*s<%lO&[]!)Q['OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z;'S&[;'S;=`*s<%lO&[]!){^'OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z#q&[#q#rHv#r;'S&[;'S;=`*s<%lO&[]!*zP;=`<%lHv_!+QP;=`<%lE^_!+^]}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!,`]!PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!-`_(QX'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!.f]#OX'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!/h_(PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!0p]!eX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!1r`'gX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`!a!2t!a#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!2}]#QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!4P^(OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!4{!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!5U`!lX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!6W!P!Q,z!Q!_$n!_!`!7Y!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!6a]!tX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nV!7c]'qP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!8c_'_Q'xXOY+|YZ-xZr+|rs'`sz+|z{!9b{!P+|!P!Q!:O!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!9iV&}]'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_!:V]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!Aq{!P!;O!P!Q!:O!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;O_!;V]'_QUXOY!jYZ(tZz!>jz{!=x{!P!>j!P!Q!?|!Q;'S!>j;'S;=`!@e<%lO!>j]!>oXUXOY!=SYZ)^Zz!=Sz{!=x{!P!=S!P!Q!?[!Q;'S!=S;'S;=`!@k<%lO!=S]!?aXUXOY!>jYZ(tZz!>jz{!?|{!P!>j!P!Q!?[!Q;'S!>j;'S;=`!@e<%lO!>jX!@RSUXOY!?|Z;'S!?|;'S;=`!@_<%lO!?|X!@bP;=`<%l!?|]!@hP;=`<%l!>j]!@nP;=`<%l!=S_!@x]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!@q{!P!;O!P!Q!Aq!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;OZ!AxX'_QUXOY!AqYZ/OZr!Aqrs!?|s#O!Aq#O#P!?|#P;'S!Aq;'S;=`!Be<%lO!AqZ!BhP;=`<%l!Aq_!BnP;=`<%l!;O_!BtP;=`<%l!o![!c&[!c!i#>o!i#T&[#T#Z#>o#Z#o&[#o#p#A`#p;'S&[;'S;=`*s<%lO&[U#>t['OSOz&[z{&v{!P&[!P!Q'x!Q![#?j![!c&[!c!i#?j!i#T&[#T#Z#?j#Z;'S&[;'S;=`*s<%lO&[U#?o['OSOz&[z{&v{!P&[!P!Q'x!Q![#@e![!c&[!c!i#@e!i#T&[#T#Z#@e#Z;'S&[;'S;=`*s<%lO&[U#@j['OSOz&[z{&v{!P&[!P!Q'x!Q![#;}![!c&[!c!i#;}!i#T&[#T#Z#;}#Z;'S&[;'S;=`*s<%lO&[U#Ae['OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z;'S&[;'S;=`*s<%lO&[U#B`^'OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z#q&[#q#r#;}#r;'S&[;'S;=`*s<%lO&[U#C_P;=`<%l#;}_#Ck]XX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Dm_'{X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Ewl'_Q'OS!yW'TPOY$nYZ%nZr$nrs#Gosw$nwx#H]xz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$n]#GvV'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_#Hd_'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q#OE^#O#P!!l#P;'SE^;'S;=`!*}<%lOE^_#Ink'_Q'OS!yW'TPOY$nYZ%nZr$nrs&[st#Kctz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[YX,qX,BX,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:n=>ZX[n]||-1}],tokenPrec:15596});class $t{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let r=[];return this.decompose(0,e,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(t,this.length,r,1),es.from(r,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),es.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),r=new qu(this),s=new qu(e);for(let o=t,a=t;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(a+=r.value.length,r.done||a>=i)return!0}}iter(e=1){return new qu(this,e)}iterRange(e,t=this.length){return new pP(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let r=this.line(e).from;i=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new OP(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?$t.empty:e.length<=32?new yn(e):es.from(yn.split(e,[]))}}class yn extends $t{constructor(e,t=GX(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,r){for(let s=0;;s++){let o=this.text[s],a=r+o.length;if((t?i:a)>=e)return new HX(r,a,i,o);r=a+1,i++}}decompose(e,t,i,r){let s=e<=0&&t>=this.length?this:new yn(mS(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let o=i.pop(),a=$f(s.text,o.text.slice(),0,s.length);if(a.length<=32)i.push(new yn(a,o.length+s.length));else{let h=a.length>>1;i.push(new yn(a.slice(0,h)),new yn(a.slice(h)))}}else i.push(s)}replace(e,t,i){if(!(i instanceof yn))return super.replace(e,t,i);let r=$f(this.text,$f(i.text,mS(this.text,0,e)),t),s=this.length+i.length-(t-e);return r.length<=32?new yn(r,s):es.from(yn.split(r,[]),s)}sliceString(e,t=this.length,i=` `){let r="";for(let s=0,o=0;s<=t&&oe&&o&&(r+=i),es&&(r+=a.slice(Math.max(0,e-s),t-s)),s=h+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],r=-1;for(let s of e)i.push(s),r+=s.length+1,i.length==32&&(t.push(new yn(i,r)),i=[],r=-1);return r>-1&&t.push(new yn(i,r)),t}}class es extends $t{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,r){for(let s=0;;s++){let o=this.children[s],a=r+o.length,h=i+o.lines-1;if((t?h:a)>=e)return o.lineInner(e,t,i,r);r=a+1,i=h+1}}decompose(e,t,i,r){for(let s=0,o=0;o<=t&&s=o){let f=r&((o<=e?1:0)|(h>=t?2:0));o>=e&&h<=t&&!f?i.push(a):a.decompose(e-o,t-o,i,f)}o=h+1}}replace(e,t,i){if(i.lines=s&&t<=a){let h=o.replace(e-s,t-s,i),f=this.lines-o.lines+h.lines;if(h.lines>5-1&&h.lines>f>>5+1){let p=this.children.slice();return p[r]=h,new es(p,this.length-(t-e)+i.length)}return super.replace(s,a,h)}s=a+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=` `){let r="";for(let s=0,o=0;se&&s&&(r+=i),eo&&(r+=a.sliceString(e-o,t-o,i)),o=h+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof es))return 0;let i=0,[r,s,o,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,s+=t){if(r==o||s==a)return i;let h=this.children[r],f=e.children[s];if(h!=f)return i+h.scanIdentical(f,t);i+=h.length+1}}static from(e,t=e.reduce((i,r)=>i+r.length+1,-1)){let i=0;for(let x of e)i+=x.lines;if(i<32){let x=[];for(let Q of e)Q.flatten(x);return new yn(x,t)}let r=Math.max(32,i>>5),s=r<<1,o=r>>1,a=[],h=0,f=-1,p=[];function O(x){let Q;if(x.lines>s&&x instanceof es)for(let R of x.children)O(R);else x.lines>o&&(h>o||!h)?(v(),a.push(x)):x instanceof yn&&h&&(Q=p[p.length-1])instanceof yn&&x.lines+Q.lines<=32?(h+=x.lines,f+=x.length+1,p[p.length-1]=new yn(Q.text.concat(x.text),Q.length+1+x.length)):(h+x.lines>r&&v(),h+=x.lines,f+=x.length+1,p.push(x))}function v(){h!=0&&(a.push(p.length==1?p[0]:es.from(p,f)),f=-1,h=p.length=0)}for(let x of e)O(x);return v(),a.length==1?a[0]:new es(a,t)}}$t.empty=new yn([""],0);function GX(n){let e=-1;for(let t of n)e+=t.length+1;return e}function $f(n,e,t=0,i=1e9){for(let r=0,s=0,o=!0;s=t&&(h>i&&(a=a.slice(0,i-r)),r0?1:(e instanceof yn?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,r=this.nodes[i],s=this.offsets[i],o=s>>1,a=r instanceof yn?r.text.length:r.children.length;if(o==(t>0?a:0)){if(i==0)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[i]+=t,e==0)return this.lineBreak=!0,this.value=` `,this;e--}else if(r instanceof yn){let h=r.text[o+(t<0?-1:0)];if(this.offsets[i]+=t,h.length>Math.max(0,e))return this.value=e==0?h:t>0?h.slice(e):h.slice(0,h.length-e),this;e-=h.length}else{let h=r.children[o+(t<0?-1:0)];e>h.length?(e-=h.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(h),this.offsets.push(t>0?1:(h instanceof yn?h.text.length:h.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class pP{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new qu(e,t>i?-1:1),this.pos=t>i?e.length:0,this.from=Math.min(t,i),this.to=Math.max(t,i)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let i=t<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=i?r:t<0?r.slice(r.length-i):r.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class OP{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:r}=this.inner.next(e);return t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&($t.prototype[Symbol.iterator]=function(){return this.iter()},qu.prototype[Symbol.iterator]=pP.prototype[Symbol.iterator]=OP.prototype[Symbol.iterator]=function(){return this});class HX{constructor(e,t,i,r){this.from=e,this.to=t,this.number=i,this.text=r}get length(){return this.to-this.from}}let xa="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(n=>n?parseInt(n,36):1);for(let n=1;nn)return xa[e-1]<=n;return!1}function yS(n){return n>=127462&&n<=127487}const vS=8205;function mi(n,e,t=!0,i=!0){return(t?gP:KX)(n,e,i)}function gP(n,e,t){if(e==n.length)return e;e&&mP(n.charCodeAt(e))&&yP(n.charCodeAt(e-1))&&e--;let i=Yn(n,e);for(e+=Ji(i);e=0&&yS(Yn(n,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function KX(n,e,t){for(;e>0;){let i=gP(n,e-2,t);if(i=56320&&n<57344}function yP(n){return n>=55296&&n<56320}function Yn(n,e){let t=n.charCodeAt(e);if(!yP(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return mP(i)?(t-55296<<10)+(i-56320)+65536:t}function Q0(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function Ji(n){return n<65536?1:2}const Ig=/\r\n?|\n/;var gi=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(gi||(gi={}));class os{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return s+(e-r);s+=a}else{if(i!=gi.Simple&&f>=e&&(i==gi.TrackDel&&re||i==gi.TrackBefore&&re))return null;if(f>e||f==e&&t<0&&!a)return e==r||t<0?s:s+h;s+=h}r=f}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,t=e){for(let i=0,r=0;i=0&&r<=t&&a>=e)return rt?"cover":!0;r=a}return!1}toString(){let e="";for(let t=0;t=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new os(e)}static create(e){return new os(e)}}class An extends os{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Vg(this,(t,i,r,s,o)=>e=e.replace(r,r+(i-t),o),!1),e}mapDesc(e,t=!1){return Dg(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let r=0,s=0;r=0){t[r]=a,t[r+1]=o;let h=r>>1;for(;i.length0&&ao(i,t,s.text),s.forward(p),a+=p}let f=e[o++];for(;a>1].toJSON()))}return e}static of(e,t,i){let r=[],s=[],o=0,a=null;function h(p=!1){if(!p&&!r.length)return;ov||O<0||v>t)throw new RangeError(`Invalid change range ${O} to ${v} (in doc of length ${t})`);let Q=x?typeof x=="string"?$t.of(x.split(i||Ig)):x:$t.empty,R=Q.length;if(O==v&&R==0)return;Oo&&ii(r,O-o,-1),ii(r,v-O,R),ao(s,r,Q),o=v}}return f(e),h(!a),a}static empty(e){return new An(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let r=0;ra&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)t.push(s[0],0);else{for(;i.length=0&&t<=0&&t==n[r+1]?n[r]+=e:e==0&&n[r]==0?n[r+1]+=t:i?(n[r]+=e,n[r+1]+=t):n.push(e,t)}function ao(n,e,t){if(t.length==0)return;let i=e.length-2>>1;if(i>1])),!(t||o==n.sections.length||n.sections[o+1]<0);)a=n.sections[o++],h=n.sections[o++];e(r,f,s,p,O),r=f,s=p}}}function Dg(n,e,t,i=!1){let r=[],s=i?[]:null,o=new sh(n),a=new sh(e);for(let h=-1;;)if(o.ins==-1&&a.ins==-1){let f=Math.min(o.len,a.len);ii(r,f,-1),o.forward(f),a.forward(f)}else if(a.ins>=0&&(o.ins<0||h==o.i||o.off==0&&(a.len=0&&h=0){let f=0,p=o.len;for(;p;)if(a.ins==-1){let O=Math.min(p,a.len);f+=O,p-=O,a.forward(O)}else if(a.ins==0&&a.lenh||o.ins>=0&&o.len>h)&&(a||i.length>f),s.forward2(h),o.forward(h)}}}}class sh{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?$t.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?$t.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class al{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let i,r;return this.empty?i=r=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),i==this.from&&r==this.to?this:new al(i,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return me.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return me.range(this.anchor,i)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return me.range(e.anchor,e.head)}static create(e,t,i){return new al(e,t,i)}}class me{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:me.create(this.ranges.map(i=>i.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new me(e.ranges.map(t=>al.fromJSON(t)),e.main)}static single(e,t=e){return new me([me.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,r=0;re?4:0)|s)}static normalized(e,t=0){let i=e[t];e.sort((r,s)=>r.from-s.from),t=e.indexOf(i);for(let r=1;rs.head?me.range(h,a):me.range(a,h))}}return new me(e,t)}}function SP(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let b0=0;class Ue{constructor(e,t,i,r,s){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=r,this.id=b0++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new Ue(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:E0),!!e.static,e.enables)}of(e){return new Cf([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Cf(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Cf(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function E0(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class Cf{constructor(e,t,i,r){this.dependencies=e,this.facet=t,this.type=i,this.value=r,this.id=b0++}dynamicSlot(e){var t;let i=this.value,r=this.facet.compareInput,s=this.id,o=e[s]>>1,a=this.type==2,h=!1,f=!1,p=[];for(let O of this.dependencies)O=="doc"?h=!0:O=="selection"?f=!0:((t=e[O.id])!==null&&t!==void 0?t:1)&1||p.push(e[O.id]);return{create(O){return O.values[o]=i(O),1},update(O,v){if(h&&v.docChanged||f&&(v.docChanged||v.selection)||Ng(O,p)){let x=i(O);if(a?!SS(x,O.values[o],r):!r(x,O.values[o]))return O.values[o]=x,1}return 0},reconfigure:(O,v)=>{let x,Q=v.config.address[s];if(Q!=null){let R=ad(v,Q);if(this.dependencies.every(M=>M instanceof Ue?v.facet(M)===O.facet(M):M instanceof kn?v.field(M,!1)==O.field(M,!1):!0)||(a?SS(x=i(O),R,r):r(x=i(O),R)))return O.values[o]=R,0}else x=i(O);return O.values[o]=x,1}}}}function SS(n,e,t){if(n.length!=e.length)return!1;for(let i=0;in[h.id]),r=t.map(h=>h.type),s=i.filter(h=>!(h&1)),o=n[e.id]>>1;function a(h){let f=[];for(let p=0;pi===r),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(wS).find(i=>i.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:i=>(i.values[t]=this.create(i),1),update:(i,r)=>{let s=i.values[t],o=this.updateF(s,r);return this.compareF(s,o)?0:(i.values[t]=o,1)},reconfigure:(i,r)=>r.config.address[this.id]!=null?(i.values[t]=r.field(this),0):(i.values[t]=this.create(i),1)}}init(e){return[this,wS.of({field:this,create:e})]}get extension(){return this}}const ol={lowest:4,low:3,default:2,high:1,highest:0};function Pu(n){return e=>new wP(e,n)}const Fa={highest:Pu(ol.highest),high:Pu(ol.high),default:Pu(ol.default),low:Pu(ol.low),lowest:Pu(ol.lowest)};class wP{constructor(e,t){this.inner=e,this.prec=t}}class Ga{of(e){return new Bg(this,e)}reconfigure(e){return Ga.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Bg{constructor(e,t){this.compartment=e,this.inner=t}}class ld{constructor(e,t,i,r,s,o){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=r,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,i){let r=[],s=Object.create(null),o=new Map;for(let v of eM(e,t,o))v instanceof kn?r.push(v):(s[v.facet.id]||(s[v.facet.id]=[])).push(v);let a=Object.create(null),h=[],f=[];for(let v of r)a[v.id]=f.length<<1,f.push(x=>v.slot(x));let p=i==null?void 0:i.config.facets;for(let v in s){let x=s[v],Q=x[0].facet,R=p&&p[v]||[];if(x.every(M=>M.type==0))if(a[Q.id]=h.length<<1|1,E0(R,x))h.push(i.facet(Q));else{let M=Q.combine(x.map(b=>b.value));h.push(i&&Q.compare(M,i.facet(Q))?i.facet(Q):M)}else{for(let M of x)M.type==0?(a[M.id]=h.length<<1|1,h.push(M.value)):(a[M.id]=f.length<<1,f.push(b=>M.dynamicSlot(b)));a[Q.id]=f.length<<1,f.push(M=>JX(M,Q,x))}}let O=f.map(v=>v(a));return new ld(e,o,O,a,h,s)}}function eM(n,e,t){let i=[[],[],[],[],[]],r=new Map;function s(o,a){let h=r.get(o);if(h!=null){if(h<=a)return;let f=i[h].indexOf(o);f>-1&&i[h].splice(f,1),o instanceof Bg&&t.delete(o.compartment)}if(r.set(o,a),Array.isArray(o))for(let f of o)s(f,a);else if(o instanceof Bg){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let f=e.get(o.compartment)||o.inner;t.set(o.compartment,f),s(f,a)}else if(o instanceof wP)s(o.inner,o.prec);else if(o instanceof kn)i[a].push(o),o.provides&&s(o.provides,a);else if(o instanceof Cf)i[a].push(o),o.facet.extensions&&s(o.facet.extensions,ol.default);else{let f=o.extension;if(!f)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(f,a)}}return s(n,ol.default),i.reduce((o,a)=>o.concat(a))}function Uu(n,e){if(e&1)return 2;let t=e>>1,i=n.status[t];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;n.status[t]=4;let r=n.computeSlot(n,n.config.dynamicSlots[t]);return n.status[t]=2|r}function ad(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const xP=Ue.define(),PP=Ue.define({combine:n=>n.some(e=>e),static:!0}),kP=Ue.define({combine:n=>n.length?n[0]:void 0,static:!0}),_P=Ue.define(),QP=Ue.define(),bP=Ue.define(),EP=Ue.define({combine:n=>n.length?n[0]:!1});class To{constructor(e,t){this.type=e,this.value=t}static define(){return new tM}}class tM{of(e){return new To(this,e)}}class nM{constructor(e){this.map=e}of(e){return new lt(this,e)}}class lt{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new lt(this.type,t)}is(e){return this.type==e}static define(e={}){return new nM(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let r of e){let s=r.map(t);s&&i.push(s)}return i}}lt.reconfigure=lt.define();lt.appendConfig=lt.define();class Rn{constructor(e,t,i,r,s,o){this.startState=e,this.changes=t,this.selection=i,this.effects=r,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,i&&SP(i,t.newLength),s.some(a=>a.type==Rn.time)||(this.annotations=s.concat(Rn.time.of(Date.now())))}static create(e,t,i,r,s,o){return new Rn(e,t,i,r,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(Rn.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}Rn.time=To.define();Rn.userEvent=To.define();Rn.addToHistory=To.define();Rn.remote=To.define();function iM(n,e){let t=[];for(let i=0,r=0;;){let s,o;if(i=n[i]))s=n[i++],o=n[i++];else if(r=0;r--){let s=i[r](n);s instanceof Rn?n=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Rn?n=s[0]:n=CP(e,Pa(s),!1)}return n}function sM(n){let e=n.startState,t=e.facet(bP),i=n;for(let r=t.length-1;r>=0;r--){let s=t[r](n);s&&Object.keys(s).length&&(i=$P(i,Yg(e,s,n.changes.newLength),!0))}return i==n?n:Rn.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const oM=[];function Pa(n){return n==null?oM:Array.isArray(n)?n:[n]}var jt=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(jt||(jt={}));const lM=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let qg;try{qg=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function aM(n){if(qg)return qg.test(n);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||lM.test(t)))return!0}return!1}function uM(n){return e=>{if(!/\S/.test(e))return jt.Space;if(aM(e))return jt.Word;for(let t=0;t-1)return jt.Word;return jt.Other}}class Pt{constructor(e,t,i,r,s,o){this.config=e,this.doc=t,this.selection=i,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let a=0;ar.set(h,a)),t=null),r.set(o.value.compartment,o.value.extension)):o.is(lt.reconfigure)?(t=null,i=o.value):o.is(lt.appendConfig)&&(t=null,i=Pa(i).concat(o.value));let s;t?s=e.startState.values.slice():(t=ld.resolve(i,r,this),s=new Pt(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(a,h)=>h.reconfigure(a,this),null).values),new Pt(t,e.newDoc,e.newSelection,s,(o,a)=>a.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:me.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),r=this.changes(i.changes),s=[i.range],o=Pa(i.effects);for(let a=1;ao.spec.fromJSON(a,h)))}}return Pt.create({doc:e.doc,selection:me.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=ld.resolve(e.extensions||[],new Map),i=e.doc instanceof $t?e.doc:$t.of((e.doc||"").split(t.staticFacet(Pt.lineSeparator)||Ig)),r=e.selection?e.selection instanceof me?e.selection:me.single(e.selection.anchor,e.selection.head):me.single(0);return SP(r,i.length),t.staticFacet(PP)||(r=r.asSingle()),new Pt(t,i,r,t.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(Pt.tabSize)}get lineBreak(){return this.facet(Pt.lineSeparator)||` `}get readOnly(){return this.facet(EP)}phrase(e,...t){for(let i of this.facet(Pt.phrases))if(Object.prototype.hasOwnProperty.call(i,e)){e=i[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(i,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>t.length?i:t[s-1]})),e}languageDataAt(e,t,i=-1){let r=[];for(let s of this.facet(xP))for(let o of s(this,t,i))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){return uM(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:i,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-i,a=e-i;for(;o>0;){let h=mi(t,o,!1);if(s(t.slice(h,o))!=jt.Word)break;o=h}for(;an.length?n[0]:4});Pt.lineSeparator=kP;Pt.readOnly=EP;Pt.phrases=Ue.define({compare(n,e){let t=Object.keys(n),i=Object.keys(e);return t.length==i.length&&t.every(r=>n[r]==e[r])}});Pt.languageData=xP;Pt.changeFilter=_P;Pt.transactionFilter=QP;Pt.transactionExtender=bP;Ga.reconfigure=lt.define();function cs(n,e,t={}){let i={};for(let r of n)for(let s of Object.keys(r)){let o=r[s],a=i[s];if(a===void 0)i[s]=o;else if(!(a===o||o===void 0))if(Object.hasOwnProperty.call(t,s))i[s]=t[s](a,o);else throw new Error("Config merge conflict for field "+s)}for(let r in e)i[r]===void 0&&(i[r]=e[r]);return i}class ml{eq(e){return this==e}range(e,t=e){return oh.create(e,t,this)}}ml.prototype.startSide=ml.prototype.endSide=0;ml.prototype.point=!1;ml.prototype.mapMode=gi.TrackDel;class oh{constructor(e,t,i){this.from=e,this.to=t,this.value=i}static create(e,t,i){return new oh(e,t,i)}}function Ug(n,e){return n.from-e.from||n.value.startSide-e.value.startSide}class $0{constructor(e,t,i,r){this.from=e,this.to=t,this.value=i,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,i,r=0){let s=i?this.to:this.from;for(let o=r,a=s.length;;){if(o==a)return o;let h=o+a>>1,f=s[h]-e||(i?this.value[h].endSide:this.value[h].startSide)-t;if(h==o)return f>=0?o:a;f>=0?a=h:o=h+1}}between(e,t,i,r){for(let s=this.findIndex(t,-1e9,!0),o=this.findIndex(i,1e9,!1,s);sx||v==x&&f.startSide>0&&f.endSide<=0)continue;(x-v||f.endSide-f.startSide)<0||(o<0&&(o=v),f.point&&(a=Math.max(a,x-v)),i.push(f),r.push(v-o),s.push(x-o))}return{mapped:i.length?new $0(r,s,i,a):null,pos:o}}}class Qt{constructor(e,t,i,r){this.chunkPos=e,this.chunk=t,this.nextLayer=i,this.maxPoint=r}static create(e,t,i,r){return new Qt(e,t,i,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:i=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(t.length==0&&!o)return this;if(i&&(t=t.slice().sort(Ug)),this.isEmpty)return t.length?Qt.of(t):this;let a=new TP(this,null,-1).goto(0),h=0,f=[],p=new Po;for(;a.value||h=0){let O=t[h++];p.addInner(O.from,O.to,O.value)||f.push(O)}else a.rangeIndex==1&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||sa.to||s=s&&e<=s+o.length&&o.between(s,e-s,t-s,i)===!1)return}this.nextLayer.between(e,t,i)}}iter(e=0){return lh.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return lh.from(e).goto(t)}static compare(e,t,i,r,s=-1){let o=e.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),a=t.filter(O=>O.maxPoint>0||!O.isEmpty&&O.maxPoint>=s),h=xS(o,a,i),f=new ku(o,h,s),p=new ku(a,h,s);i.iterGaps((O,v,x)=>PS(f,O,p,v,x,r)),i.empty&&i.length==0&&PS(f,0,p,0,0,r)}static eq(e,t,i=0,r){r==null&&(r=1e9-1);let s=e.filter(p=>!p.isEmpty&&t.indexOf(p)<0),o=t.filter(p=>!p.isEmpty&&e.indexOf(p)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let a=xS(s,o),h=new ku(s,a,0).goto(i),f=new ku(o,a,0).goto(i);for(;;){if(h.to!=f.to||!Zg(h.active,f.active)||h.point&&(!f.point||!h.point.eq(f.point)))return!1;if(h.to>r)return!0;h.next(),f.next()}}static spans(e,t,i,r,s=-1){let o=new ku(e,null,s).goto(t),a=t,h=o.openStart;for(;;){let f=Math.min(o.to,i);if(o.point){let p=o.activeForPoint(o.to),O=o.pointFroma&&(r.span(a,f,o.active,h),h=o.openEnd(f));if(o.to>i)return h+(o.point&&o.to>i?1:0);a=o.to,o.next()}}static of(e,t=!1){let i=new Po;for(let r of e instanceof oh?[e]:t?hM(e):e)i.add(r.from,r.to,r.value);return i.finish()}}Qt.empty=new Qt([],[],null,-1);function hM(n){if(n.length>1)for(let e=n[0],t=1;t0)return n.slice().sort(Ug);e=i}return n}Qt.empty.nextLayer=Qt.empty;class Po{finishChunk(e){this.chunks.push(new $0(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,i){this.addInner(e,t,i)||(this.nextLayer||(this.nextLayer=new Po)).add(e,t,i)}addInner(e,t,i){let r=e-this.lastTo||i.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=t,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let i=t.value.length-1;return this.last=t.value[i],this.lastFrom=t.from[i]+e,this.lastTo=t.to[i]+e,!0}finish(){return this.finishInner(Qt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=Qt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function xS(n,e,t){let i=new Map;for(let s of n)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=i&&r.push(new TP(o,t,i,s));return r.length==1?r[0]:new lh(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let i of this.heap)i.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)NO(this.heap,i);return this.next(),this}forward(e,t){for(let i of this.heap)i.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)NO(this.heap,i);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),NO(this.heap,0)}}}function NO(n,e){for(let t=n[e];;){let i=(e<<1)+1;if(i>=n.length)break;let r=n[i];if(i+1=0&&(r=n[i+1],i++),t.compare(r)<0)break;n[i]=t,n[e]=r,e=i}}class ku{constructor(e,t,i){this.minPoint=i,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=lh.from(e,t,i)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Uc(this.active,e),Uc(this.activeTo,e),Uc(this.activeRank,e),this.minActive=kS(this.active,this.activeTo)}addActive(e){let t=0,{value:i,to:r,rank:s}=this.cursor;for(;t-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),i&&Uc(i,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(i),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&i[r]=0&&!(this.activeRank[i]e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&t.push(this.active[i]);return t.reverse()}openEnd(e){let t=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)t++;return t}}function PS(n,e,t,i,r,s){n.goto(e),t.goto(i);let o=i+r,a=i,h=i-e;for(;;){let f=n.to+h-t.to||n.endSide-t.endSide,p=f<0?n.to+h:t.to,O=Math.min(p,o);if(n.point||t.point?n.point&&t.point&&(n.point==t.point||n.point.eq(t.point))&&Zg(n.activeForPoint(n.to),t.activeForPoint(t.to))||s.comparePoint(a,O,n.point,t.point):O>a&&!Zg(n.active,t.active)&&s.compareRange(a,O,n.active,t.active),p>o)break;a=p,f<=0&&n.next(),f>=0&&t.next()}}function Zg(n,e){if(n.length!=e.length)return!1;for(let t=0;t=e;i--)n[i+1]=n[i];n[e]=t}function kS(n,e){let t=-1,i=1e9;for(let r=0;r=e)return r;if(r==n.length)break;s+=n.charCodeAt(r)==9?t-s%t:1,r=mi(n,r)}return i===!0?-1:n.length}const Gg="ͼ",_S=typeof Symbol>"u"?"__"+Gg:Symbol.for(Gg),Hg=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),QS=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class ko{constructor(e,t){this.rules=[];let{finish:i}=t||{};function r(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,a,h,f){let p=[],O=/^@(\w+)\b/.exec(o[0]),v=O&&O[1]=="keyframes";if(O&&a==null)return h.push(o[0]+";");for(let x in a){let Q=a[x];if(/&/.test(x))s(x.split(/,\s*/).map(R=>o.map(M=>R.replace(/&/,M))).reduce((R,M)=>R.concat(M)),Q,h);else if(Q&&typeof Q=="object"){if(!O)throw new RangeError("The value of a property ("+x+") should be a primitive value.");s(r(x),Q,p,v)}else Q!=null&&p.push(x.replace(/_.*/,"").replace(/[A-Z]/g,R=>"-"+R.toLowerCase())+": "+Q+";")}(p.length||v)&&h.push((i&&!O&&!f?o.map(i):o).join(", ")+" {"+p.join(" ")+"}")}for(let o in e)s(r(o),e[o],this.rules)}getRules(){return this.rules.join(` `)}static newName(){let e=QS[_S]||1;return QS[_S]=e+1,Gg+e.toString(36)}static mount(e,t){(e[Hg]||new cM(e)).mount(Array.isArray(t)?t:[t])}}let bS=new Map;class cM{constructor(e){let t=e.ownerDocument||e,i=t.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let r=bS.get(t);if(r)return e.adoptedStyleSheets=[r.sheet,...e.adoptedStyleSheets],e[Hg]=r;this.sheet=new i.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],bS.set(t,this)}else{this.styleTag=t.createElement("style");let r=e.head||e;r.insertBefore(this.styleTag,r.firstChild)}this.modules=[],e[Hg]=this}mount(e){let t=this.sheet,i=0,r=0;for(let s=0;s-1&&(this.modules.splice(a,1),r--,a=-1),a==-1){if(this.modules.splice(r++,0,o),t)for(let h=0;h",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},fM=typeof navigator<"u"&&/Mac/.test(navigator.platform),dM=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var qn=0;qn<10;qn++)_o[48+qn]=_o[96+qn]=String(qn);for(var qn=1;qn<=24;qn++)_o[qn+111]="F"+qn;for(var qn=65;qn<=90;qn++)_o[qn]=String.fromCharCode(qn+32),ah[qn]=String.fromCharCode(qn);for(var BO in _o)ah.hasOwnProperty(BO)||(ah[BO]=_o[BO]);function pM(n){var e=fM&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||dM&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?ah:_o)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function ud(n){let e;return n.nodeType==11?e=n.getSelection?n:n.ownerDocument:e=n,e.getSelection()}function Xa(n,e){return e?n==e||n.contains(e.nodeType!=1?e.parentNode:e):!1}function OM(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Tf(n,e){if(!e.anchorNode)return!1;try{return Xa(n,e.anchorNode)}catch{return!1}}function uh(n){return n.nodeType==3?Ma(n,0,n.nodeValue.length).getClientRects():n.nodeType==1?n.getClientRects():[]}function hd(n,e,t,i){return t?ES(n,e,t,i,-1)||ES(n,e,t,i,1):!1}function cd(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e}function ES(n,e,t,i,r){for(;;){if(n==t&&e==i)return!0;if(e==(r<0?0:Qo(n))){if(n.nodeName=="DIV")return!1;let s=n.parentNode;if(!s||s.nodeType!=1)return!1;e=cd(n)+(r<0?0:1),n=s}else if(n.nodeType==1){if(n=n.childNodes[e+(r<0?-1:0)],n.nodeType==1&&n.contentEditable=="false")return!1;e=r<0?Qo(n):0}else return!1}}function Qo(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function C0(n,e){let t=e?n.left:n.right;return{left:t,right:t,top:n.top,bottom:n.bottom}}function gM(n){return{left:0,right:n.innerWidth,top:0,bottom:n.innerHeight}}function mM(n,e,t,i,r,s,o,a){let h=n.ownerDocument,f=h.defaultView||window;for(let p=n;p;)if(p.nodeType==1){let O,v=p==h.body;if(v)O=gM(f);else{if(p.scrollHeight<=p.clientHeight&&p.scrollWidth<=p.clientWidth){p=p.assignedSlot||p.parentNode;continue}let R=p.getBoundingClientRect();O={left:R.left,right:R.left+p.clientWidth,top:R.top,bottom:R.top+p.clientHeight}}let x=0,Q=0;if(r=="nearest")e.top0&&e.bottom>O.bottom+Q&&(Q=e.bottom-O.bottom+Q+o)):e.bottom>O.bottom&&(Q=e.bottom-O.bottom+o,t<0&&e.top-Q0&&e.right>O.right+x&&(x=e.right-O.right+x+s)):e.right>O.right&&(x=e.right-O.right+s,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class vM{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:i}=e;this.set(t,Math.min(e.anchorOffset,t?Qo(t):0),i,Math.min(e.focusOffset,i?Qo(i):0))}set(e,t,i,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=r}}let Jl=null;function AP(n){if(n.setActive)return n.setActive();if(Jl)return n.focus(Jl);let e=[];for(let t=n;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(n.focus(Jl==null?{get preventScroll(){return Jl={preventScroll:!0},!0}}:void 0),!Jl){Jl=!1;for(let t=0;tMath.max(1,n.scrollHeight-n.clientHeight-4)}class Un{constructor(e,t,i=!0){this.node=e,this.offset=t,this.precise=i}static before(e,t){return new Un(e.parentNode,cd(e),t)}static after(e,t){return new Un(e.parentNode,cd(e)+1,t)}}const T0=[];class Bt{constructor(){this.parent=null,this.dom=null,this.dirty=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let i of this.children){if(i==e)return t;t+=i.length+i.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.dirty&2){let i=this.dom,r=null,s;for(let o of this.children){if(o.dirty){if(!o.dom&&(s=r?r.nextSibling:i.firstChild)&&s!=e.docView.compositionNode){let a=Bt.get(s);(!a||!a.parent&&a.canReuseDOM(o))&&o.reuseDOM(s)}o.sync(e,t),o.dirty=0}if(s=r?r.nextSibling:i.firstChild,t&&!t.written&&t.node==i&&s!=o.dom&&(t.written=!0),o.dom.parentNode==i)for(;s&&s!=o.dom;)s=CS(s);else i.insertBefore(o.dom,s);r=o.dom}for(s=r?r.nextSibling:i.firstChild,s&&t&&t.node==i&&(t.written=!0);s;)s=CS(s)}else if(this.dirty&1)for(let i of this.children)i.dirty&&(i.sync(e,t),i.dirty=0)}reuseDOM(e){}localPosFromDOM(e,t){let i;if(e==this.dom)i=this.dom.childNodes[t];else{let r=Qo(e)==0?0:t==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;r==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?r=-1:r=1),e=s}r<0?i=e:i=e.nextSibling}if(i==this.dom.firstChild)return 0;for(;i&&!Bt.get(i);)i=i.nextSibling;if(!i)return this.length;for(let r=0,s=0;;r++){let o=this.children[r];if(o.dom==i)return s;s+=o.length+o.breakAfter}}domBoundsAround(e,t,i=0){let r=-1,s=-1,o=-1,a=-1;for(let h=0,f=i,p=i;ht)return O.domBoundsAround(e,t,f);if(v>=e&&r==-1&&(r=h,s=f),f>t&&O.dom.parentNode==this.dom){o=h,a=p;break}p=v,f=v+O.breakAfter}return{from:s,to:a<0?i+this.length:a,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),t.dirty&1)return;t.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,i=T0){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function WP(n,e,t,i,r,s,o,a,h){let{children:f}=n,p=f.length?f[e]:null,O=s.length?s[s.length-1]:null,v=O?O.breakAfter:o;if(!(e==i&&p&&!o&&!v&&s.length<2&&p.merge(t,r,s.length?O:null,t==0,a,h))){if(i0&&(!o&&s.length&&p.merge(t,p.length,s[0],!1,a,0)?p.breakAfter=s.shift().breakAfter:(t2);var Ye={mac:RS||/Mac/.test(er.platform),windows:/Win/.test(er.platform),linux:/Linux|X11/.test(er.platform),ie:np,ie_version:LP?jg.documentMode||6:Jg?+Jg[1]:Kg?+Kg[1]:0,gecko:TS,gecko_version:TS?+(/Firefox\/(\d+)/.exec(er.userAgent)||[0,0])[1]:0,chrome:!!YO,chrome_version:YO?+YO[1]:0,ios:RS,android:/Android\b/.test(er.userAgent),webkit:AS,safari:IP,webkit_version:AS?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:jg.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const xM=256;class yl extends Bt{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,i){return i&&(!(i instanceof yl)||this.length-(t-e)+i.length>xM)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new yl(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Un(this.dom,e)}domBoundsAround(e,t,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return em(this.dom,e,t)}}class Xs extends Bt{constructor(e,t=[],i=0){super(),this.mark=e,this.children=t,this.length=i;for(let r of t)r.setParent(this)}setAttrs(e){if(RP(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e,t){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,i,r,s,o){return i&&(!(i instanceof Xs&&i.mark.eq(this.mark))||e&&s<=0||te&&t.push(i=e&&(r=s),i=h,s++}let o=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Xs(this.mark,t,o)}domAtPos(e){return YP(this,e)}coordsAt(e,t){return UP(this,e,t)}}function em(n,e,t){let i=n.nodeValue.length;e>i&&(e=i);let r=e,s=e,o=0;e==0&&t<0||e==i&&t>=0?Ye.chrome||Ye.gecko||(e?(r--,o=1):s=0)?0:a.length-1];return Ye.safari&&!o&&h.width==0&&(h=Array.prototype.find.call(a,f=>f.width)||h),o?C0(h,o<0):h||null}class uo extends Bt{constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}static create(e,t,i){return new(e.customView||uo)(e,t,i)}split(e){let t=uo.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,i,r,s,o){return i&&(!(i instanceof uo)||!this.widget.compare(i.widget)||e>0&&s<=0||t0)?Un.before(this.dom):Un.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let i=this.widget.coordsAt(this.dom,e,t);if(i)return i;let r=this.dom.getClientRects(),s=null;if(!r.length)return null;let o=this.side?this.side<0:e>0;for(let a=o?r.length-1:0;s=r[a],!(e>0?a==0:a==r.length-1||s.topr.domAtPos(s),(r,s)=>new Un(r,Math.min(s,r.nodeValue.length))):new Un(i,Math.min(e,i.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,t){let{topView:i,text:r}=this.widget;return i?NP(e,t,i,r,this.length-i.length):Math.min(t,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,t){let{topView:i,text:r}=this.widget;return i?tm(e,t,i,r,this.length-i.length,(s,o,a)=>s.coordsAt(o,a),(s,o,a)=>em(s,o,a)):em(r,e,t)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function tm(n,e,t,i,r,s,o){if(t instanceof Xs){for(let a=t.dom.firstChild;a;a=a.nextSibling){let h=Bt.get(a);if(h){let f=Xa(a,i),p=h.length+(f?r:0);if(n0?Un.before(this.dom):Un.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return $t.empty}get isHidden(){return!0}}yl.prototype.children=uo.prototype.children=Wa.prototype.children=T0;function YP(n,e){let t=n.dom,{children:i}=n,r=0;for(let s=0;rs&&e0;s--){let o=i[s-1];if(o.dom.parentNode==t)return o.domAtPos(o.length)}for(let s=r;s0&&e instanceof Xs&&r.length&&(i=r[r.length-1])instanceof Xs&&i.mark.eq(e.mark)?qP(i,e.children[0],t-1):(r.push(e),e.setParent(n)),n.length+=e.length}function UP(n,e,t){let i=null,r=-1,s=null,o=-1;function a(f,p){for(let O=0,v=0;O=p&&(x.children.length?a(x,p-v):(!s||s.isHidden&&t>0)&&(Q>p||v==Q&&x.getSide()>0)?(s=x,o=p-v):(v0?3e8:-4e8:t>0?1e8:-1e8,new bo(e,t,t,i,e.widget||null,!1)}static replace(e){let t=!!e.block,i,r;if(e.isBlockGap)i=-5e8,r=4e8;else{let{start:s,end:o}=ZP(e,t);i=(s?t?-3e8:-1:5e8)-1,r=(o?t?2e8:1:-6e8)+1}return new bo(e,i,r,t,e.widget||null,!0)}static line(e){return new Mh(e)}static set(e,t=!1){return Qt.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Ge.none=Qt.empty;class ip extends Ge{constructor(e){let{start:t,end:i}=ZP(e);super(t?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof ip&&this.tagName==e.tagName&&this.class==e.class&&A0(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}ip.prototype.point=!1;class Mh extends Ge{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Mh&&this.spec.class==e.spec.class&&A0(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}Mh.prototype.mapMode=gi.TrackBefore;Mh.prototype.point=!0;class bo extends Ge{constructor(e,t,i,r,s,o){super(t,i,s,e),this.block=r,this.isReplace=o,this.mapMode=r?t<=0?gi.TrackBefore:gi.TrackAfter:gi.TrackDel}get type(){return this.startSide=5||this.widget.lineBreaks>0)}eq(e){return e instanceof bo&&kM(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}bo.prototype.point=!0;function ZP(n,e=!1){let{inclusiveStart:t,inclusiveEnd:i}=n;return t==null&&(t=n.inclusive),i==null&&(i=n.inclusive),{start:t??e,end:i??e}}function kM(n,e){return n==e||!!(n&&e&&n.compare(e))}function rm(n,e,t,i=0){let r=t.length-1;r>=0&&t[r]+i>=n?t[r]=Math.max(t[r],e):t.push(n,e)}class Ai extends Bt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,i,r,s,o){if(i){if(!(i instanceof Ai))return!1;this.dom||i.transferDOM(this)}return r&&this.setDeco(i?i.attrs:null),zP(this,e,t,i?i.children:[],s,o),!0}split(e){let t=new Ai;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i,off:r}=this.childPos(e);r&&(t.append(this.children[i].split(r),0),this.children[i].merge(r,this.children[i].length,null,!1,0,0),i++);for(let s=i;s0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){A0(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){qP(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=nm(t,this.attrs||{})),i&&(this.attrs=nm({class:i},this.attrs||{}))}domAtPos(e){return YP(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e,t){var i;this.dom?this.dirty&4&&(RP(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(im(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let r=this.dom.lastChild;for(;r&&Bt.get(r)instanceof Xs;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((i=Bt.get(r))===null||i===void 0?void 0:i.isEditable)==!1&&(!Ye.ios||!this.children.some(s=>s instanceof yl))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let i of this.children){if(!(i instanceof yl)||/[^ -~]/.test(i.text))return null;let r=uh(i.dom);if(r.length!=1)return null;e+=r[0].width,t=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let i=UP(this,e,t);if(!this.children.length&&i&&this.parent){let{heightOracle:r}=this.parent.view.viewState,s=i.bottom-i.top;if(Math.abs(s-r.lineHeight)<2&&r.textHeight=t){if(s instanceof Ai)return s;if(o>t)break}r=o+s.breakAfter}return null}}class pl extends Bt{constructor(e,t,i){super(),this.widget=e,this.length=t,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(e,t,i,r,s,o){return i&&(!(i instanceof pl)||!this.widget.compare(i.widget)||e>0&&s<=0||t0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-i)),this.getLine().append(Fc(new yl(this.text.slice(this.textOff,this.textOff+r)),t),i),this.atCursorPos=!0,this.textOff+=r,e-=r,i=0}}span(e,t,i,r){this.buildText(t-e,i,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,i,r,s,o){if(this.disallowBlockEffectsFor[o]&&i instanceof bo){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=t-e;if(i instanceof bo)if(i.block){let{type:h}=i;h==an.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new pl(i.widget||new XS("div"),a,h))}else{let h=uo.create(i.widget||new XS("span"),a,a?0:i.startSide),f=this.atCursorPos&&!h.isEditable&&s<=r.length&&(e0),p=!h.isEditable&&(er.length||i.startSide<=0),O=this.getLine();this.pendingBuffer==2&&!f&&!h.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),f&&(O.append(Fc(new Wa(1),r),s),s=r.length+Math.max(0,s-r.length)),O.append(Fc(h,r),s),this.atCursorPos=p,this.pendingBuffer=p?er.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(i);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=s)}static build(e,t,i,r,s){let o=new R0(e,t,i,s);return o.openEnd=Qt.spans(r,t,i,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function Fc(n,e){for(let t of e)n=new Xs(t,[n],n.length);return n}class XS extends Dr{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const FP=Ue.define(),GP=Ue.define(),HP=Ue.define(),jP=Ue.define(),sm=Ue.define(),KP=Ue.define(),JP=Ue.define(),ek=Ue.define({combine:n=>n.some(e=>e)}),tk=Ue.define({combine:n=>n.some(e=>e)});class fd{constructor(e,t="nearest",i="nearest",r=5,s=5){this.range=e,this.y=t,this.x=i,this.yMargin=r,this.xMargin=s}map(e){return e.empty?this:new fd(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const MS=lt.define({map:(n,e)=>n.map(e)});function ir(n,e,t){let i=n.facet(jP);i.length?i[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const rp=Ue.define({combine:n=>n.length?n[0]:!0});let _M=0;const Mu=Ue.define();class Pn{constructor(e,t,i,r){this.id=e,this.create=t,this.domEventHandlers=i,this.extension=r(this)}static define(e,t){const{eventHandlers:i,provide:r,decorations:s}=t||{};return new Pn(_M++,e,i,o=>{let a=[Mu.of(o)];return s&&a.push(hh.of(h=>{let f=h.plugin(o);return f?s(f):Ge.none})),r&&a.push(r(o)),a})}static fromClass(e,t){return Pn.define(i=>new e(i),t)}}class qO{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(i){if(ir(t.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){ir(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(i){ir(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const nk=Ue.define(),X0=Ue.define(),hh=Ue.define(),M0=Ue.define(),ik=Ue.define();function rk(n){let e=0,t=0,i=0,r=0;for(let s of n.state.facet(ik)){let o=s(n);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(t=Math.max(t,o.right)),o.top!=null&&(i=Math.max(i,o.top)),o.bottom!=null&&(r=Math.max(r,o.bottom)))}return{left:e,right:t,top:i,bottom:r}}const Wu=Ue.define();class ls{constructor(e,t,i,r){this.fromA=e,this.toA=t,this.fromB=i,this.toB=r}join(e){return new ls(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,i=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>i.toA)){if(r.toAp)break;s+=2}if(!h)return i;new ls(h.fromA,h.toA,h.fromB,h.toB).addToSet(i),o=h.toA,a=h.toB}}}class dd{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=An.empty(this.startState.doc.length);for(let s of i)this.changes=this.changes.compose(s.changes);let r=[];this.changes.iterChangedRanges((s,o,a,h)=>r.push(new ls(s,o,a,h))),this.changedRanges=r}static create(e,t,i){return new dd(e,t,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var ln=function(n){return n[n.LTR=0]="LTR",n[n.RTL=1]="RTL",n}(ln||(ln={}));const om=ln.LTR,QM=ln.RTL;function sk(n){let e=[];for(let t=0;t=t){if(a.level==i)return o;(s<0||(r!=0?r<0?a.fromt:e[s].level>a.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}const sn=[];function TM(n,e){let t=n.length,i=e==om?1:2,r=e==om?2:1;if(!n||i==1&&!CM.test(n))return ok(t);for(let o=0,a=i,h=i;o=0;v-=3)if(Gr[v+1]==-p){let x=Gr[v+2],Q=x&2?i:x&4?x&1?r:i:0;Q&&(sn[o]=sn[Gr[v]]=Q),a=v;break}}else{if(Gr.length==189)break;Gr[a++]=o,Gr[a++]=f,Gr[a++]=h}else if((O=sn[o])==2||O==1){let v=O==i;h=v?0:1;for(let x=a-3;x>=0;x-=3){let Q=Gr[x+2];if(Q&2)break;if(v)Gr[x+2]|=2;else{if(Q&4)break;Gr[x+2]|=4}}}for(let o=0;oa;){let p=f,O=sn[--f]!=2;for(;f>a&&O==(sn[f-1]!=2);)f--;s.push(new _a(f,p,O?2:1))}else s.push(new _a(a,o,0))}else for(let o=0;os)&&this.lineBreak(),r=o}return this.findPointBefore(i,t),this}readTextNode(e){let t=e.nodeValue;for(let i of this.points)i.node==e&&(i.pos=this.text.length+Math.min(i.offset,t.length));for(let i=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,o=1,a;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,i),o=this.lineSeparator.length):(a=r.exec(t))&&(s=a.index,o=a[0].length),this.append(t.slice(i,s<0?t.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let h of this.points)h.node==e&&h.pos>this.text.length&&(h.pos-=o-1);i=s+o}}readNode(e){if(e.cmIgnore)return;let t=Bt.get(e),i=t&&t.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let r=i.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}findPointInside(e,t){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(t,i.offset))}}function WS(n){return n.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(n.nodeName)}class zS{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class LS extends Bt{constructor(e){super(),this.view=e,this.compositionDeco=Ge.none,this.compositionNode=null,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Ai],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new ls(0,0,0,e.state.doc.length)],0)}get length(){return this.view.state.doc.length}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:o,toA:a})=>athis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),{deco:this.compositionDeco,node:this.compositionNode}=this.view.inputState.composing<0?zu:XM(this.view,e.changes),(Ye.ie||Ye.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,r=this.updateDeco(),s=LM(i,r,e.changes);return t=ls.extendWithRanges(t,s),this.dirty==0&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=Ye.chrome||Ye.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,s),this.dirty=0,s&&(s.written||i.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""});let r=[];if(this.view.viewport.from||this.view.viewport.to=0?e[r]:null;if(!s)break;let{fromA:o,toA:a,fromB:h,toB:f}=s,{content:p,breakAtStart:O,openStart:v,openEnd:x}=R0.build(this.view.state.doc,h,f,this.decorations,this.dynamicDecorationMap),{i:Q,off:R}=i.findPos(a,1),{i:M,off:b}=i.findPos(o,-1);WP(this,M,b,Q,R,p,O,v,x)}}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let i=this.view.root.activeElement,r=i==this.dom,s=!r&&Tf(this.dom,this.view.observer.selectionRange)&&!(i&&this.dom.contains(i));if(!(r||t||s))return;let o=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,h=this.domAtPos(a.anchor),f=a.empty?h:this.domAtPos(a.head);if(Ye.gecko&&a.empty&&!this.compositionDeco.size&&RM(h)){let O=document.createTextNode("");this.view.observer.ignore(()=>h.node.insertBefore(O,h.node.childNodes[h.offset]||null)),h=f=new Un(O,0),o=!0}let p=this.view.observer.selectionRange;(o||!p.focusNode||!hd(h.node,h.offset,p.anchorNode,p.anchorOffset)||!hd(f.node,f.offset,p.focusNode,p.focusOffset))&&(this.view.observer.ignore(()=>{Ye.android&&Ye.chrome&&this.dom.contains(p.focusNode)&&IM(p.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let O=ud(this.view.root);if(O)if(a.empty){if(Ye.gecko){let v=WM(h.node,h.offset);if(v&&v!=3){let x=hk(h.node,h.offset,v==1?1:-1);x&&(h=new Un(x,v==1?0:x.nodeValue.length))}}O.collapse(h.node,h.offset),a.bidiLevel!=null&&p.cursorBidiLevel!=null&&(p.cursorBidiLevel=a.bidiLevel)}else if(O.extend){O.collapse(h.node,h.offset);try{O.extend(f.node,f.offset)}catch{}}else{let v=document.createRange();a.anchor>a.head&&([h,f]=[f,h]),v.setEnd(f.node,f.offset),v.setStart(h.node,h.offset),O.removeAllRanges(),O.addRange(v)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(h,f)),this.impreciseAnchor=h.precise?null:new Un(p.anchorNode,p.anchorOffset),this.impreciseHead=f.precise?null:new Un(p.focusNode,p.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let{view:e}=this,t=e.state.selection.main,i=ud(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let o=Ai.find(this,t.head);if(!o)return;let a=o.posAtStart;if(t.head==a||t.head==a+o.length)return;let h=this.coordsAt(t.head,-1),f=this.coordsAt(t.head,1);if(!h||!f||h.bottom>f.top)return;let p=this.domAtPos(t.head+t.assoc);i.collapse(p.node,p.offset),i.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let O=e.observer.selectionRange;e.docView.posFromDOM(O.anchorNode,O.anchorOffset)!=t.from&&i.collapse(r,s)}nearest(e){for(let t=e;t;){let i=Bt.get(t);if(i&&i.rootView==this)return i;t=t.parentNode}return null}posFromDOM(e,t){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,t)+i.posAtStart}domAtPos(e){let{i:t,off:i}=this.childCursor().findPos(e,-1);for(;to||e==o&&s.type!=an.WidgetBefore&&s.type!=an.WidgetAfter&&(!r||t==2||this.children[r-1].breakAfter||this.children[r-1].type==an.WidgetBefore&&t>-2))return s.coordsAt(e-o,t);i=o}}measureVisibleLineHeights(e){let t=[],{from:i,to:r}=e,s=this.view.contentDOM.clientWidth,o=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,h=this.view.textDirection==ln.LTR;for(let f=0,p=0;pr)break;if(f>=i){let x=O.dom.getBoundingClientRect();if(t.push(x.height),o){let Q=O.dom.lastChild,R=Q?uh(Q):[];if(R.length){let M=R[R.length-1],b=h?M.right-x.left:x.right-M.left;b>a&&(a=b,this.minWidth=s,this.minWidthFrom=f,this.minWidthTo=v)}}}f=v+O.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?ln.RTL:ln.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Ai){let o=s.measureTextSize();if(o)return o}let e=document.createElement("div"),t,i,r;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=uh(e.firstChild)[0];t=e.getBoundingClientRect().height,i=s?s.width/27:7,r=s?s.height:t,e.remove()}),{lineHeight:t,charWidth:i,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new MP(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let i=0,r=0;;r++){let s=r==t.viewports.length?null:t.viewports[r],o=s?s.from-1:this.length;if(o>i){let a=t.lineBlockAt(o).bottom-t.lineBlockAt(i).top;e.push(Ge.replace({widget:new IS(a),block:!0,inclusive:!0,isBlockGap:!0}).range(i,o))}if(!s)break;i=s.to+1}return Ge.set(e)}updateDeco(){let e=this.view.state.facet(hh).map((t,i)=>(this.dynamicDecorationMap[i]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),r;if(!i)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(i={left:Math.min(i.left,r.left),top:Math.min(i.top,r.top),right:Math.max(i.right,r.right),bottom:Math.max(i.bottom,r.bottom)});let s=rk(this.view),o={left:i.left-s.left,top:i.top-s.top,right:i.right+s.right,bottom:i.bottom+s.bottom};mM(this.view.scrollDOM,o,t.head-1)return zu;if(h-a0)i=i.childNodes[r-1],r=Qo(i);else break}if(t>=0)for(let i=n,r=e;;){if(i.nodeType==3)return i;if(i.nodeType==1&&r=0)i=i.childNodes[r],r=0;else break}return null}function WM(n,e){return n.nodeType!=1?0:(e&&n.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let f=mi(r.text,o,!1);if(i(r.text.slice(f,o))!=h)break;o=f}for(;an?e.left-n:Math.max(0,n-e.right)}function NM(n,e){return e.top>n?e.top-n:Math.max(0,n-e.bottom)}function UO(n,e){return n.tope.top+1}function VS(n,e){return en.bottom?{top:n.top,left:n.left,right:n.right,bottom:e}:n}function am(n,e,t){let i,r,s,o,a=!1,h,f,p,O;for(let Q=n.firstChild;Q;Q=Q.nextSibling){let R=uh(Q);for(let M=0;M$||o==$&&s>E){i=Q,r=b,s=E,o=$;let W=$?t0?M0)}E==0?t>b.bottom&&(!p||p.bottomb.top)&&(f=Q,O=b):p&&UO(p,b)?p=DS(p,b.bottom):O&&UO(O,b)&&(O=VS(O,b.top))}}if(p&&p.bottom>=t?(i=h,r=p):O&&O.top<=t&&(i=f,r=O),!i)return{node:n,offset:0};let v=Math.max(r.left,Math.min(r.right,e));if(i.nodeType==3)return NS(i,v,t);if(a&&i.contentEditable!="false")return am(i,v,t);let x=Array.prototype.indexOf.call(n.childNodes,i)+(e>=(r.left+r.right)/2?1:0);return{node:n,offset:x}}function NS(n,e,t){let i=n.nodeValue.length,r=-1,s=1e9,o=0;for(let a=0;at?p.top-t:t-p.bottom)-1;if(p.left-1<=e&&p.right+1>=e&&O=(p.left+p.right)/2,x=v;if((Ye.chrome||Ye.gecko)&&Ma(n,a).getBoundingClientRect().left==p.right&&(x=!v),O<=0)return{node:n,offset:a+(x?1:0)};r=a+(x?1:0),s=O}}}return{node:n,offset:r>-1?r:o>0?n.nodeValue.length:0}}function ck(n,e,t,i=-1){var r,s;let o=n.contentDOM.getBoundingClientRect(),a=o.top+n.viewState.paddingTop,h,{docHeight:f}=n.viewState,{x:p,y:O}=e,v=O-a;if(v<0)return 0;if(v>f)return n.state.doc.length;for(let W=n.viewState.heightOracle.textHeight/2,B=!1;h=n.elementAtHeight(v),h.type!=an.Text;)for(;v=i>0?h.bottom+W:h.top-W,!(v>=0&&v<=f);){if(B)return t?null:0;B=!0,i=-i}O=a+v;let x=h.from;if(xn.viewport.to)return n.viewport.to==n.state.doc.length?n.state.doc.length:t?null:BS(n,o,h,p,O);let Q=n.dom.ownerDocument,R=n.root.elementFromPoint?n.root:Q,M=R.elementFromPoint(p,O);M&&!n.contentDOM.contains(M)&&(M=null),M||(p=Math.max(o.left+1,Math.min(o.right-1,p)),M=R.elementFromPoint(p,O),M&&!n.contentDOM.contains(M)&&(M=null));let b,E=-1;if(M&&((r=n.docView.nearest(M))===null||r===void 0?void 0:r.isEditable)!=!1){if(Q.caretPositionFromPoint){let W=Q.caretPositionFromPoint(p,O);W&&({offsetNode:b,offset:E}=W)}else if(Q.caretRangeFromPoint){let W=Q.caretRangeFromPoint(p,O);W&&({startContainer:b,startOffset:E}=W,(!n.contentDOM.contains(b)||Ye.safari&&BM(b,E,p)||Ye.chrome&&YM(b,E,p))&&(b=void 0))}}if(!b||!n.docView.dom.contains(b)){let W=Ai.find(n.docView,x);if(!W)return v>h.top+h.height/2?h.to:h.from;({node:b,offset:E}=am(W.dom,p,O))}let $=n.docView.nearest(b);if(!$)return null;if($.isWidget&&((s=$.dom)===null||s===void 0?void 0:s.nodeType)==1){let W=$.dom.getBoundingClientRect();return e.yn.defaultLineHeight*1.5){let a=n.viewState.heightOracle.textHeight,h=Math.floor((r-t.top-(n.defaultLineHeight-a)*.5)/a);s+=h*n.viewState.heightOracle.lineLength}let o=n.state.sliceDoc(t.from,t.to);return t.from+Fg(o,s,n.state.tabSize)}function BM(n,e,t){let i;if(n.nodeType!=3||e!=(i=n.nodeValue.length))return!1;for(let r=n.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return Ma(n,i-1,i).getBoundingClientRect().left>t}function YM(n,e,t){if(e!=0)return!1;for(let r=n;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let i=n.nodeType==1?n.getBoundingClientRect():Ma(n,0,Math.max(n.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function um(n,e){let t=n.lineBlockAt(e);if(Array.isArray(t.type)){for(let i of t.type)if(i.to>e||i.to==e&&(i.to==t.to||i.type==an.Text))return i}return t}function qM(n,e,t,i){let r=um(n,e.head),s=!i||r.type!=an.Text||!(n.lineWrapping||r.widgetLineBreaks)?null:n.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let o=n.dom.getBoundingClientRect(),a=n.textDirectionAt(r.from),h=n.posAtCoords({x:t==(a==ln.LTR)?o.right-1:o.left+1,y:(s.top+s.bottom)/2});if(h!=null)return me.cursor(h,t?-1:1)}return me.cursor(t?r.to:r.from,t?-1:1)}function YS(n,e,t,i){let r=n.state.doc.lineAt(e.head),s=n.bidiSpans(r),o=n.textDirectionAt(r.from);for(let a=e,h=null;;){let f=AM(r,s,o,a,t),p=lk;if(!f){if(r.number==(t?n.state.doc.lines:1))return a;p=` -`,r=n.state.doc.line(r.number+(t?1:-1)),s=n.bidiSpans(r),f=me.cursor(t?r.from:r.to)}if(h){if(!h(p))return a}else{if(!i)return f;h=i(p)}a=f}}function UM(n,e,t){let i=n.state.charCategorizer(e),r=i(t);return s=>{let o=i(s);return r==jt.Space&&(r=o),r==o}}function ZM(n,e,t,i){let r=e.head,s=t?1:-1;if(r==(t?n.state.doc.length:0))return me.cursor(r,e.assoc);let o=e.goalColumn,a,h=n.contentDOM.getBoundingClientRect(),f=n.coordsAtPos(r),p=n.documentTop;if(f)o==null&&(o=f.left-h.left),a=s<0?f.top:f.bottom;else{let x=n.viewState.lineBlockAt(r);o==null&&(o=Math.min(h.right-h.left,n.defaultCharacterWidth*(r-x.from))),a=(s<0?x.top:x.bottom)+p}let O=h.left+o,v=i??n.viewState.heightOracle.textHeight>>1;for(let x=0;;x+=10){let Q=a+(v+x)*s,R=ck(n,{x:O,y:Q},!1,s);if(Qh.bottom||(s<0?Rr))return me.cursor(R,e.assoc,void 0,o)}}function Af(n,e,t){for(;;){let i=0;for(let r of n)r.between(e-1,e+1,(s,o,a)=>{if(e>s&&er(n)),t.from,e.head>t.from?-1:1);return i==t.from?t:me.cursor(i,i{this.ignoreDuringComposition(r)||r.type=="keydown"&&this.keydown(e,r)||(this.mustFlushObserver(r)&&e.observer.forceFlush(),this.runCustomHandlers(r.type,e,r)?r.preventDefault():i(e,r))};for(let i in xn){let r=xn[i];e.contentDOM.addEventListener(i,s=>{qS(e,s)&&t(r,s)},hm[i]),this.registeredEvents.push(i)}e.scrollDOM.addEventListener("mousedown",i=>{if(i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&(t(xn.mousedown,i),!i.defaultPrevented&&i.button==2)){let r=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight="100%",setTimeout(()=>e.contentDOM.style.minHeight=r,200)}}),e.scrollDOM.addEventListener("drop",i=>{i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&t(xn.drop,i)}),Ye.chrome&&Ye.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,Ye.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var i;let r;this.customHandlers=[];for(let s of t)if(r=(i=s.update(e).spec)===null||i===void 0?void 0:i.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:r});for(let o in r)this.registeredEvents.indexOf(o)<0&&o!="scroll"&&(this.registeredEvents.push(o),e.contentDOM.addEventListener(o,a=>{qS(e,a)&&this.runCustomHandlers(o,e,a)&&a.preventDefault()}))}}runCustomHandlers(e,t,i){for(let r of this.customHandlers){let s=r.handlers[e];if(s)try{if(s.call(r.plugin,i,t)||i.defaultPrevented)return!0}catch(o){ir(t.state,o)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let i of this.customHandlers){let r=i.handlers.scroll;if(r)try{r.call(i.plugin,t,e)}catch(s){ir(e.state,s)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()r.keyCode==t.keyCode))&&!t.ctrlKey||GM.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=i||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,ka(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Ye.safari&&!Ye.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const fk=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],GM="dthko",dk=[16,17,18,20,91,92,224,225],Gc=6;function Hc(n){return Math.max(0,n)*.7+8}class HM{constructor(e,t,i,r){this.view=e,this.style=i,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=yM(e.contentDOM),this.atoms=e.state.facet(M0).map(o=>o(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(Pt.allowMultipleSelections)&&jM(e,t),this.dragging=JM(e,t)&&mk(t)==1?null:!1}start(e){this.dragging===!1&&(e.preventDefault(),this.select(e))}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging!==!1)return;this.select(this.lastEvent=e);let i=0,r=0,s=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},o=rk(this.view);e.clientX-o.left<=s.left+Gc?i=-Hc(s.left-e.clientX):e.clientX+o.right>=s.right-Gc&&(i=Hc(e.clientX-s.right)),e.clientY-o.top<=s.top+Gc?r=-Hc(s.top-e.clientY):e.clientY+o.bottom>=s.bottom-Gc&&(r=Hc(e.clientY-s.bottom)),this.setScrollSpeed(i,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let i=0;ithis.select(this.lastEvent),20)}}function jM(n,e){let t=n.state.facet(FP);return t.length?t[0](e):Ye.mac?e.metaKey:e.ctrlKey}function KM(n,e){let t=n.state.facet(GP);return t.length?t[0](e):Ye.mac?!e.altKey:!e.ctrlKey}function JM(n,e){let{main:t}=n.state.selection;if(t.empty)return!1;let i=ud(n.root);if(!i||i.rangeCount==0)return!0;let r=i.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function qS(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,i;t!=n.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(i=Bt.get(t))&&i.ignoreEvent(e))return!1;return!0}const xn=Object.create(null),hm=Object.create(null),pk=Ye.ie&&Ye.ie_version<15||Ye.ios&&Ye.webkit_version<604;function e5(n){let e=n.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{n.focus(),t.remove(),Ok(n,t.value)},50)}function Ok(n,e){let{state:t}=n,i,r=1,s=t.toText(e),o=s.lines==t.selection.ranges.length;if(cm!=null&&t.selection.ranges.every(h=>h.empty)&&cm==s.toString()){let h=-1;i=t.changeByRange(f=>{let p=t.doc.lineAt(f.from);if(p.from==h)return{range:f};h=p.from;let O=t.toText((o?s.line(r++).text:e)+t.lineBreak);return{changes:{from:p.from,insert:O},range:me.cursor(f.from+O.length)}})}else o?i=t.changeByRange(h=>{let f=s.line(r++);return{changes:{from:h.from,to:h.to,insert:f.text},range:me.cursor(h.from+f.length)}}):i=t.replaceSelection(s);n.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}xn.keydown=(n,e)=>{n.inputState.setSelectionOrigin("select"),e.keyCode==27&&(n.inputState.lastEscPress=Date.now())};xn.touchstart=(n,e)=>{n.inputState.lastTouchTime=Date.now(),n.inputState.setSelectionOrigin("select.pointer")};xn.touchmove=n=>{n.inputState.setSelectionOrigin("select.pointer")};hm.touchstart=hm.touchmove={passive:!0};xn.mousedown=(n,e)=>{if(n.observer.flush(),n.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let i of n.state.facet(HP))if(t=i(n,e),t)break;if(!t&&e.button==0&&(t=i5(n,e)),t){let i=!n.hasFocus;n.inputState.startMouseSelection(new HM(n,e,t,i)),i&&n.observer.ignore(()=>AP(n.contentDOM)),n.inputState.mouseSelection&&n.inputState.mouseSelection.start(e)}};function US(n,e,t,i){if(i==1)return me.cursor(e,t);if(i==2)return VM(n.state,e,t);{let r=Ai.find(n.docView,e),s=n.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,a=r?r.posAtEnd:s.to;return an>=e.top&&n<=e.bottom,ZS=(n,e,t)=>gk(e,t)&&n>=t.left&&n<=t.right;function t5(n,e,t,i){let r=Ai.find(n.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let o=r.coordsAt(s,-1);if(o&&ZS(t,i,o))return-1;let a=r.coordsAt(s,1);return a&&ZS(t,i,a)?1:o&&gk(i,o)?-1:1}function FS(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:t5(n,t,e.clientX,e.clientY)}}const n5=Ye.ie&&Ye.ie_version<=11;let GS=null,HS=0,jS=0;function mk(n){if(!n5)return n.detail;let e=GS,t=jS;return GS=n,jS=Date.now(),HS=!e||t>Date.now()-400&&Math.abs(e.clientX-n.clientX)<2&&Math.abs(e.clientY-n.clientY)<2?(HS+1)%3:1}function i5(n,e){let t=FS(n,e),i=mk(e),r=n.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),r=r.map(s.changes))},get(s,o,a){let h=FS(n,s),f,p=US(n,h.pos,h.bias,i);if(t.pos!=h.pos&&!o){let O=US(n,t.pos,t.bias,i),v=Math.min(O.from,p.from),x=Math.max(O.to,p.to);p=v1&&(f=r5(r,h.pos))?f:a?r.addRange(p):me.create([p])}}}function r5(n,e){for(let t=0;t=e)return me.create(n.ranges.slice(0,t).concat(n.ranges.slice(t+1)),n.mainIndex==t?0:n.mainIndex-(n.mainIndex>t?1:0))}return null}xn.dragstart=(n,e)=>{let{selection:{main:t}}=n.state,{mouseSelection:i}=n.inputState;i&&(i.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",n.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function KS(n,e,t,i){if(!t)return;let r=n.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:s}=n.inputState,o=i&&s&&s.dragging&&KM(n,e)?{from:s.dragging.from,to:s.dragging.to}:null,a={from:r,insert:t},h=n.state.changes(o?[o,a]:a);n.focus(),n.dispatch({changes:h,selection:{anchor:h.mapPos(r,-1),head:h.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"})}xn.drop=(n,e)=>{if(!e.dataTransfer)return;if(n.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let i=Array(t.length),r=0,s=()=>{++r==t.length&&KS(n,e,i.filter(o=>o!=null).join(n.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(i[o]=a.result),s()},a.readAsText(t[o])}}else KS(n,e,e.dataTransfer.getData("Text"),!0)};xn.paste=(n,e)=>{if(n.state.readOnly)return e.preventDefault();n.observer.flush();let t=pk?null:e.clipboardData;t?(Ok(n,t.getData("text/plain")||t.getData("text/uri-text")),e.preventDefault()):e5(n)};function s5(n,e){let t=n.dom.parentNode;if(!t)return;let i=t.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),n.focus()},50)}function o5(n){let e=[],t=[],i=!1;for(let r of n.selection.ranges)r.empty||(e.push(n.sliceDoc(r.from,r.to)),t.push(r));if(!e.length){let r=-1;for(let{from:s}of n.selection.ranges){let o=n.doc.lineAt(s);o.number>r&&(e.push(o.text),t.push({from:o.from,to:Math.min(n.doc.length,o.to+1)})),r=o.number}i=!0}return{text:e.join(n.lineBreak),ranges:t,linewise:i}}let cm=null;xn.copy=xn.cut=(n,e)=>{let{text:t,ranges:i,linewise:r}=o5(n.state);if(!t&&!r)return;cm=r?t:null;let s=pk?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",t)):s5(n,t),e.type=="cut"&&!n.state.readOnly&&n.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})};const yk=To.define();function vk(n,e){let t=[];for(let i of n.facet(JP)){let r=i(n,e);r&&t.push(r)}return t?n.update({effects:t,annotations:yk.of(!0)}):null}function Sk(n){setTimeout(()=>{let e=n.hasFocus;if(e!=n.inputState.notifiedFocused){let t=vk(n.state,e);t?n.dispatch(t):n.update([])}},10)}xn.focus=n=>{n.inputState.lastFocusTime=Date.now(),!n.scrollDOM.scrollTop&&(n.inputState.lastScrollTop||n.inputState.lastScrollLeft)&&(n.scrollDOM.scrollTop=n.inputState.lastScrollTop,n.scrollDOM.scrollLeft=n.inputState.lastScrollLeft),Sk(n)};xn.blur=n=>{n.observer.clearSelectionRange(),Sk(n)};xn.compositionstart=xn.compositionupdate=n=>{n.inputState.compositionFirstChange==null&&(n.inputState.compositionFirstChange=!0),n.inputState.composing<0&&(n.inputState.composing=0)};xn.compositionend=n=>{n.inputState.composing=-1,n.inputState.compositionEndedAt=Date.now(),n.inputState.compositionPendingKey=!0,n.inputState.compositionPendingChange=n.observer.pendingRecords().length>0,n.inputState.compositionFirstChange=null,Ye.chrome&&Ye.android?n.observer.flushSoon():n.inputState.compositionPendingChange?Promise.resolve().then(()=>n.observer.flush()):setTimeout(()=>{n.inputState.composing<0&&n.docView.compositionDeco.size&&n.update([])},50)};xn.contextmenu=n=>{n.inputState.lastContextMenu=Date.now()};xn.beforeinput=(n,e)=>{var t;let i;if(Ye.chrome&&Ye.android&&(i=fk.find(r=>r.inputType==e.inputType))&&(n.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let r=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&n.hasFocus&&(n.contentDOM.blur(),n.focus())},100)}};const JS=["pre-wrap","normal","pre-line","break-spaces"];class l5{constructor(e){this.lineWrapping=e,this.doc=$t.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return JS.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let i=0;i-1,h=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=t,this.charWidth=i,this.textHeight=r,this.lineLength=s,h){this.heightSamples={};for(let f=0;f0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>Rf&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return yi.of(i)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,i,r){let s=this,o=i.doc;for(let a=r.length-1;a>=0;a--){let{fromA:h,toA:f,fromB:p,toB:O}=r[a],v=s.lineAt(h,Zt.ByPosNoHeight,i.setDoc(t),0,0),x=v.to>=f?v:s.lineAt(f,Zt.ByPosNoHeight,i,0,0);for(O+=x.to-f,f=x.to;a>0&&v.from<=r[a-1].toA;)h=r[a-1].fromA,p=r[a-1].fromB,a--,hs*2){let a=e[t-1];a.break?e.splice(--t,1,a.left,null,a.right):e.splice(--t,1,a.left,a.right),i+=1+a.break,r-=a.size}else if(s>r*2){let a=e[i];a.break?e.splice(i,1,a.left,null,a.right):e.splice(i,1,a.left,a.right),i+=2+a.break,s-=a.size}else break;else if(r=s&&o(this.blockAt(0,i,r,s))}updateHeight(e,t=0,i=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class ji extends wk{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,i,r){return new ts(r,this.length,i,this.height,this.breaks)}replace(e,t,i){let r=i[0];return i.length==1&&(r instanceof ji||r instanceof Bn&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Bn?r=new ji(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):yi.of(i)}updateHeight(e,t=0,i=!1,r){return r&&r.from<=t&&r.more?this.setHeight(e,r.heights[r.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Bn extends yi{constructor(e){super(e,0)}heightMetrics(e,t){let i=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,s=r-i+1,o,a=0;if(e.lineWrapping){let h=Math.min(this.height,e.lineHeight*s);o=h/s,this.length>s+1&&(a=(this.height-h)/(this.length-s-1))}else o=this.height/s;return{firstLine:i,lastLine:r,perLine:o,perChar:a}}blockAt(e,t,i,r){let{firstLine:s,lastLine:o,perLine:a,perChar:h}=this.heightMetrics(t,r);if(t.lineWrapping){let f=r+Math.round(Math.max(0,Math.min(1,(e-i)/this.height))*this.length),p=t.doc.lineAt(f),O=a+p.length*h,v=Math.max(i,e-O/2);return new ts(p.from,p.length,v,O,0)}else{let f=Math.max(0,Math.min(o-s,Math.floor((e-i)/a))),{from:p,length:O}=t.doc.line(s+f);return new ts(p,O,i+a*f,a,0)}}lineAt(e,t,i,r,s){if(t==Zt.ByHeight)return this.blockAt(e,i,r,s);if(t==Zt.ByPosNoHeight){let{from:x,to:Q}=i.doc.lineAt(e);return new ts(x,Q-x,0,0,0)}let{firstLine:o,perLine:a,perChar:h}=this.heightMetrics(i,s),f=i.doc.lineAt(e),p=a+f.length*h,O=f.number-o,v=r+a*O+h*(f.from-s-O);return new ts(f.from,f.length,Math.max(r,Math.min(v,r+this.height-p)),p,0)}forEachLine(e,t,i,r,s,o){e=Math.max(e,s),t=Math.min(t,s+this.length);let{firstLine:a,perLine:h,perChar:f}=this.heightMetrics(i,s);for(let p=e,O=r;p<=t;){let v=i.doc.lineAt(p);if(p==e){let Q=v.number-a;O+=h*Q+f*(e-s-Q)}let x=h+f*v.length;o(new ts(v.from,v.length,O,x,0)),O+=x,p=v.to+1}}replace(e,t,i){let r=this.length-t;if(r>0){let s=i[i.length-1];s instanceof Bn?i[i.length-1]=new Bn(s.length+r):i.push(null,new Bn(r-1))}if(e>0){let s=i[0];s instanceof Bn?i[0]=new Bn(e+s.length):i.unshift(new Bn(e-1),null)}return yi.of(i)}decomposeLeft(e,t){t.push(new Bn(e-1),null)}decomposeRight(e,t){t.push(null,new Bn(this.length-e-1))}updateHeight(e,t=0,i=!1,r){let s=t+this.length;if(r&&r.from<=t+this.length&&r.more){let o=[],a=Math.max(t,r.from),h=-1;for(r.from>t&&o.push(new Bn(r.from-t-1).updateHeight(e,t));a<=s&&r.more;){let p=e.doc.lineAt(a).length;o.length&&o.push(null);let O=r.heights[r.index++];h==-1?h=O:Math.abs(O-h)>=Rf&&(h=-2);let v=new ji(p,O);v.outdated=!1,o.push(v),a+=p+1}a<=s&&o.push(null,new Bn(s-a).updateHeight(e,a));let f=yi.of(o);return(h<0||Math.abs(f.height-this.height)>=Rf||Math.abs(h-this.heightMetrics(e,t).perLine)>=Rf)&&(e.heightChanged=!0),f}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class u5 extends yi{constructor(e,t,i){super(e.length+t+i.length,e.height+i.height,t|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,t,i,r){let s=i+this.left.height;return ea))return f;let p=t==Zt.ByPosNoHeight?Zt.ByPosNoHeight:Zt.ByPos;return h?f.join(this.right.lineAt(a,p,i,o,a)):this.left.lineAt(a,p,i,r,s).join(f)}forEachLine(e,t,i,r,s,o){let a=r+this.left.height,h=s+this.left.length+this.break;if(this.break)e=h&&this.right.forEachLine(e,t,i,a,h,o);else{let f=this.lineAt(h,Zt.ByPos,i,r,s);e=e&&f.from<=t&&o(f),t>f.to&&this.right.forEachLine(f.to+1,t,i,a,h,o)}}replace(e,t,i){let r=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,i));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let a of i)s.push(a);if(e>0&&ew(s,o-1),t=i&&t.push(null)),e>i&&this.right.decomposeLeft(e-i,t)}decomposeRight(e,t){let i=this.left.length,r=i+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e2*t.size||t.size>2*e.size?yi.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,i=!1,r){let{left:s,right:o}=this,a=t+s.length+this.break,h=null;return r&&r.from<=t+s.length&&r.more?h=s=s.updateHeight(e,t,i,r):s.updateHeight(e,t,i),r&&r.from<=a+o.length&&r.more?h=o=o.updateHeight(e,a,i,r):o.updateHeight(e,a,i),h?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function ew(n,e){let t,i;n[e]==null&&(t=n[e-1])instanceof Bn&&(i=n[e+1])instanceof Bn&&n.splice(e-1,3,new Bn(t.length+1+i.length))}const h5=5;class W0{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let i=Math.min(t,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof ji?r.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new ji(i-this.pos,-1)),this.writtenTo=i,t>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,i){if(e=h5)&&this.addLineDeco(r,s,o)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new ji(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let i=new Bn(t-e);return this.oracle.doc.lineAt(e).to==t&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof ji)return e;let t=new ji(0,-1);return this.nodes.push(t),t}addBlock(e){var t;this.enterLine();let i=(t=e.deco)===null||t===void 0?void 0:t.type;i==an.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i!=an.WidgetBefore&&(this.covering=e)}addLineDeco(e,t,i){let r=this.ensureLine();r.length+=i,r.collapsed+=i,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos=this.pos+i}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof ji)&&!this.isCovered?this.nodes.push(new ji(0,-1)):(this.writtenTop.clientHeight||p.scrollWidth>p.clientWidth)&&O.overflow!="visible"){let v=p.getBoundingClientRect();s=Math.max(s,v.left),o=Math.min(o,v.right),a=Math.max(a,v.top),h=f==n.parentNode?v.bottom:Math.min(h,v.bottom)}f=O.position=="absolute"||O.position=="fixed"?p.offsetParent:p.parentNode}else if(f.nodeType==11)f=f.host;else break;return{left:s-t.left,right:Math.max(s,o)-t.left,top:a-(t.top+e),bottom:Math.max(a,h)-(t.top+e)}}function p5(n,e){let t=n.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class FO{constructor(e,t,i){this.from=e,this.to=t,this.size=i}static same(e,t){if(e.length!=t.length)return!1;for(let i=0;itypeof i!="function"&&i.class=="cm-lineWrapping");this.heightOracle=new l5(t),this.stateDeco=e.facet(hh).filter(i=>typeof i!="function"),this.heightMap=yi.empty().applyChanges(this.stateDeco,$t.empty,this.heightOracle.setDoc(e.doc),[new ls(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Ge.set(this.lineGaps.map(i=>i.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let i=0;i<=1;i++){let r=i?t.head:t.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new jc(s,o))}}this.viewports=e.sort((i,r)=>i.from-r.from),this.scaler=this.heightMap.height<=7e6?nw:new y5(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Lu(e,this.scaler))})}update(e,t=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(hh).filter(p=>typeof p!="function");let r=e.changedRanges,s=ls.extendWithRanges(r,c5(i,this.stateDeco,e?e.changes:An.empty(this.state.doc.length))),o=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=o&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let h=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.headh.to)||!this.viewportIsAppropriate(h))&&(h=this.getViewport(0,t));let f=!e.changes.empty||e.flags&2||h.from!=this.viewport.from||h.to!=this.viewport.to;this.viewport=h,this.updateForViewport(),f&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(tk)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,i=window.getComputedStyle(t),r=this.heightOracle,s=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?ln.RTL:ln.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),a=t.getBoundingClientRect(),h=o||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let f=0,p=0,O=parseInt(i.paddingTop)||0,v=parseInt(i.paddingBottom)||0;(this.paddingTop!=O||this.paddingBottom!=v)&&(this.paddingTop=O,this.paddingBottom=v,f|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(h=!0),this.editorWidth=e.scrollDOM.clientWidth,f|=8),this.scrollTop!=e.scrollDOM.scrollTop&&(this.scrollAnchorHeight=-1,this.scrollTop=e.scrollDOM.scrollTop),this.scrolledToBottom=XP(e.scrollDOM);let x=(this.printing?p5:d5)(t,this.paddingTop),Q=x.top-this.pixelViewport.top,R=x.bottom-this.pixelViewport.bottom;this.pixelViewport=x;let M=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(M!=this.inView&&(this.inView=M,M&&(h=!0)),!this.inView&&!this.scrollTarget)return 0;let b=a.width;if((this.contentDOMWidth!=b||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,f|=8),h){let $=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights($)&&(o=!0),o||r.lineWrapping&&Math.abs(b-this.contentDOMWidth)>r.charWidth){let{lineHeight:W,charWidth:B,textHeight:J}=e.docView.measureTextSize();o=W>0&&r.refresh(s,W,B,J,b/B,$),o&&(e.docView.minWidth=0,f|=8)}Q>0&&R>0?p=Math.max(Q,R):Q<0&&R<0&&(p=Math.min(Q,R)),r.heightChanged=!1;for(let W of this.viewports){let B=W.from==this.viewport.from?$:e.docView.measureVisibleLineHeights(W);this.heightMap=(o?yi.empty().applyChanges(this.stateDeco,$t.empty,this.heightOracle,[new ls(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new a5(W.from,B))}r.heightChanged&&(f|=2)}let E=!this.viewportIsAppropriate(this.viewport,p)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return E&&(this.viewport=this.getViewport(p,this.scrollTarget)),this.updateForViewport(),(f&2||E)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),f|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),f}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:o,visibleBottom:a}=this,h=new jc(r.lineAt(o-i*1e3,Zt.ByHeight,s,0,0).from,r.lineAt(a+(1-i)*1e3,Zt.ByHeight,s,0,0).to);if(t){let{head:f}=t.range;if(fh.to){let p=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),O=r.lineAt(f,Zt.ByPos,s,0,0),v;t.y=="center"?v=(O.top+O.bottom)/2-p/2:t.y=="start"||t.y=="nearest"&&f=a+Math.max(10,Math.min(i,250)))&&r>o-2*1e3&&s>1,o=r<<1;if(this.defaultTextDirection!=ln.LTR&&!i)return[];let a=[],h=(f,p,O,v)=>{if(p-ff&&MM.from>=O.from&&M.to<=O.to&&Math.abs(M.from-f)M.fromb));if(!R){if(pM.from<=p&&M.to>=p)){let M=t.moveToLineBoundary(me.cursor(p),!1,!0).head;M>f&&(p=M)}R=new FO(f,p,this.gapSize(O,f,p,v))}a.push(R)};for(let f of this.viewportLines){if(f.lengthf.from&&h(f.from,v,f,p),xt.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];Qt.spans(e,this.viewport.from,this.viewport.to,{span(r,s){t.push({from:r,to:s})},point(){}},20);let i=t.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=t[s].from||r.to!=t[s].to);return this.visibleRanges=t,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Lu(this.heightMap.lineAt(e,Zt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Lu(this.heightMap.lineAt(this.scaler.fromDOM(e),Zt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return Lu(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class jc{constructor(e,t){this.from=e,this.to=t}}function g5(n,e,t){let i=[],r=n,s=0;return Qt.spans(t,n,e,{span(){},point(o,a){o>r&&(i.push({from:r,to:o}),s+=o-r),r=a}},20),r=1)return e[e.length-1].to;let i=Math.floor(n*t);for(let r=0;;r++){let{from:s,to:o}=e[r],a=o-s;if(i<=a)return s+i;i-=a}}function Jc(n,e){let t=0;for(let{from:i,to:r}of n.ranges){if(e<=r){t+=e-i;break}t+=r-i}return t/n.total}function m5(n,e){for(let t of n)if(e(t))return t}const nw={toDOM(n){return n},fromDOM(n){return n},scale:1};class y5{constructor(e,t,i){let r=0,s=0,o=0;this.viewports=i.map(({from:a,to:h})=>{let f=t.lineAt(a,Zt.ByPos,e,0,0).top,p=t.lineAt(h,Zt.ByPos,e,0,0).bottom;return r+=p-f,{from:a,to:h,top:f,bottom:p,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r);for(let a of this.viewports)a.domTop=o+(a.top-s)*this.scale,o=a.domBottom=a.domTop+(a.bottom-a.top),s=a.bottom}toDOM(e){for(let t=0,i=0,r=0;;t++){let s=tLu(r,e)):n._content)}const ef=Ue.define({combine:n=>n.join(" ")}),fm=Ue.define({combine:n=>n.indexOf(!0)>-1}),dm=ko.newName(),xk=ko.newName(),Pk=ko.newName(),kk={"&light":"."+xk,"&dark":"."+Pk};function pm(n,e,t){return new ko(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,r=>{if(r=="&")return n;if(!t||!t[r])throw new RangeError(`Unsupported selector: ${r}`);return t[r]}):n+" "+i}})}const v5=pm("."+dm,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},kk);class S5{constructor(e,t,i,r){this.typeOver=r,this.bounds=null,this.text="";let{impreciseHead:s,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,i,0))){let a=s||o?[]:x5(e),h=new ak(a,e.state);h.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=h.text,this.newSel=P5(a,this.bounds.from)}else{let a=e.observer.selectionRange,h=s&&s.node==a.focusNode&&s.offset==a.focusOffset||!Xa(e.contentDOM,a.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),f=o&&o.node==a.anchorNode&&o.offset==a.anchorOffset||!Xa(e.contentDOM,a.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset);this.newSel=me.single(f,h)}}}function _k(n,e){let t,{newSel:i}=e,r=n.state.selection.main,s=n.inputState.lastKeyTime>Date.now()-100?n.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:a}=e.bounds,h=r.from,f=null;(s===8||Ye.android&&e.text.length=r.from&&t.to<=r.to&&(t.from!=r.from||t.to!=r.to)&&r.to-r.from-(t.to-t.from)<=4?t={from:r.from,to:r.to,insert:n.state.doc.slice(r.from,t.from).append(t.insert).append(n.state.doc.slice(t.to,r.to))}:(Ye.mac||Ye.android)&&t&&t.from==t.to&&t.from==r.head-1&&/^\. ?$/.test(t.insert.toString())&&n.contentDOM.getAttribute("autocorrect")=="off"?(i&&t.insert.length==2&&(i=me.single(i.main.anchor-1,i.main.head-1)),t={from:r.from,to:r.to,insert:$t.of([" "])}):Ye.chrome&&t&&t.from==t.to&&t.from==r.head&&t.insert.toString()==` +`;this.styleTag.textContent=s}}}var _o={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},ah={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},fM=typeof navigator<"u"&&/Mac/.test(navigator.platform),dM=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var qn=0;qn<10;qn++)_o[48+qn]=_o[96+qn]=String(qn);for(var qn=1;qn<=24;qn++)_o[qn+111]="F"+qn;for(var qn=65;qn<=90;qn++)_o[qn]=String.fromCharCode(qn+32),ah[qn]=String.fromCharCode(qn);for(var BO in _o)ah.hasOwnProperty(BO)||(ah[BO]=_o[BO]);function pM(n){var e=fM&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||dM&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?ah:_o)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function ud(n){let e;return n.nodeType==11?e=n.getSelection?n:n.ownerDocument:e=n,e.getSelection()}function Xa(n,e){return e?n==e||n.contains(e.nodeType!=1?e.parentNode:e):!1}function OM(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Tf(n,e){if(!e.anchorNode)return!1;try{return Xa(n,e.anchorNode)}catch{return!1}}function uh(n){return n.nodeType==3?Ma(n,0,n.nodeValue.length).getClientRects():n.nodeType==1?n.getClientRects():[]}function hd(n,e,t,i){return t?ES(n,e,t,i,-1)||ES(n,e,t,i,1):!1}function cd(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e}function ES(n,e,t,i,r){for(;;){if(n==t&&e==i)return!0;if(e==(r<0?0:Qo(n))){if(n.nodeName=="DIV")return!1;let s=n.parentNode;if(!s||s.nodeType!=1)return!1;e=cd(n)+(r<0?0:1),n=s}else if(n.nodeType==1){if(n=n.childNodes[e+(r<0?-1:0)],n.nodeType==1&&n.contentEditable=="false")return!1;e=r<0?Qo(n):0}else return!1}}function Qo(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function C0(n,e){let t=e?n.left:n.right;return{left:t,right:t,top:n.top,bottom:n.bottom}}function gM(n){return{left:0,right:n.innerWidth,top:0,bottom:n.innerHeight}}function mM(n,e,t,i,r,s,o,a){let h=n.ownerDocument,f=h.defaultView||window;for(let p=n;p;)if(p.nodeType==1){let O,v=p==h.body;if(v)O=gM(f);else{if(p.scrollHeight<=p.clientHeight&&p.scrollWidth<=p.clientWidth){p=p.assignedSlot||p.parentNode;continue}let R=p.getBoundingClientRect();O={left:R.left,right:R.left+p.clientWidth,top:R.top,bottom:R.top+p.clientHeight}}let x=0,Q=0;if(r=="nearest")e.top0&&e.bottom>O.bottom+Q&&(Q=e.bottom-O.bottom+Q+o)):e.bottom>O.bottom&&(Q=e.bottom-O.bottom+o,t<0&&e.top-Q0&&e.right>O.right+x&&(x=e.right-O.right+x+s)):e.right>O.right&&(x=e.right-O.right+s,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class vM{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:i}=e;this.set(t,Math.min(e.anchorOffset,t?Qo(t):0),i,Math.min(e.focusOffset,i?Qo(i):0))}set(e,t,i,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=r}}let Jl=null;function AP(n){if(n.setActive)return n.setActive();if(Jl)return n.focus(Jl);let e=[];for(let t=n;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(n.focus(Jl==null?{get preventScroll(){return Jl={preventScroll:!0},!0}}:void 0),!Jl){Jl=!1;for(let t=0;tMath.max(1,n.scrollHeight-n.clientHeight-4)}class Un{constructor(e,t,i=!0){this.node=e,this.offset=t,this.precise=i}static before(e,t){return new Un(e.parentNode,cd(e),t)}static after(e,t){return new Un(e.parentNode,cd(e)+1,t)}}const T0=[];class Bt{constructor(){this.parent=null,this.dom=null,this.dirty=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let i of this.children){if(i==e)return t;t+=i.length+i.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.dirty&2){let i=this.dom,r=null,s;for(let o of this.children){if(o.dirty){if(!o.dom&&(s=r?r.nextSibling:i.firstChild)&&s!=e.docView.compositionNode){let a=Bt.get(s);(!a||!a.parent&&a.canReuseDOM(o))&&o.reuseDOM(s)}o.sync(e,t),o.dirty=0}if(s=r?r.nextSibling:i.firstChild,t&&!t.written&&t.node==i&&s!=o.dom&&(t.written=!0),o.dom.parentNode==i)for(;s&&s!=o.dom;)s=CS(s);else i.insertBefore(o.dom,s);r=o.dom}for(s=r?r.nextSibling:i.firstChild,s&&t&&t.node==i&&(t.written=!0);s;)s=CS(s)}else if(this.dirty&1)for(let i of this.children)i.dirty&&(i.sync(e,t),i.dirty=0)}reuseDOM(e){}localPosFromDOM(e,t){let i;if(e==this.dom)i=this.dom.childNodes[t];else{let r=Qo(e)==0?0:t==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;r==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?r=-1:r=1),e=s}r<0?i=e:i=e.nextSibling}if(i==this.dom.firstChild)return 0;for(;i&&!Bt.get(i);)i=i.nextSibling;if(!i)return this.length;for(let r=0,s=0;;r++){let o=this.children[r];if(o.dom==i)return s;s+=o.length+o.breakAfter}}domBoundsAround(e,t,i=0){let r=-1,s=-1,o=-1,a=-1;for(let h=0,f=i,p=i;ht)return O.domBoundsAround(e,t,f);if(v>=e&&r==-1&&(r=h,s=f),f>t&&O.dom.parentNode==this.dom){o=h,a=p;break}p=v,f=v+O.breakAfter}return{from:s,to:a<0?i+this.length:a,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),t.dirty&1)return;t.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,i=T0){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function WP(n,e,t,i,r,s,o,a,h){let{children:f}=n,p=f.length?f[e]:null,O=s.length?s[s.length-1]:null,v=O?O.breakAfter:o;if(!(e==i&&p&&!o&&!v&&s.length<2&&p.merge(t,r,s.length?O:null,t==0,a,h))){if(i0&&(!o&&s.length&&p.merge(t,p.length,s[0],!1,a,0)?p.breakAfter=s.shift().breakAfter:(t2);var Ye={mac:RS||/Mac/.test(er.platform),windows:/Win/.test(er.platform),linux:/Linux|X11/.test(er.platform),ie:np,ie_version:LP?jg.documentMode||6:Jg?+Jg[1]:Kg?+Kg[1]:0,gecko:TS,gecko_version:TS?+(/Firefox\/(\d+)/.exec(er.userAgent)||[0,0])[1]:0,chrome:!!YO,chrome_version:YO?+YO[1]:0,ios:RS,android:/Android\b/.test(er.userAgent),webkit:AS,safari:IP,webkit_version:AS?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:jg.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const xM=256;class yl extends Bt{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,i){return i&&(!(i instanceof yl)||this.length-(t-e)+i.length>xM)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new yl(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Un(this.dom,e)}domBoundsAround(e,t,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return em(this.dom,e,t)}}class Xs extends Bt{constructor(e,t=[],i=0){super(),this.mark=e,this.children=t,this.length=i;for(let r of t)r.setParent(this)}setAttrs(e){if(RP(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e,t){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,i,r,s,o){return i&&(!(i instanceof Xs&&i.mark.eq(this.mark))||e&&s<=0||te&&t.push(i=e&&(r=s),i=h,s++}let o=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Xs(this.mark,t,o)}domAtPos(e){return YP(this,e)}coordsAt(e,t){return UP(this,e,t)}}function em(n,e,t){let i=n.nodeValue.length;e>i&&(e=i);let r=e,s=e,o=0;e==0&&t<0||e==i&&t>=0?Ye.chrome||Ye.gecko||(e?(r--,o=1):s=0)?0:a.length-1];return Ye.safari&&!o&&h.width==0&&(h=Array.prototype.find.call(a,f=>f.width)||h),o?C0(h,o<0):h||null}class uo extends Bt{constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}static create(e,t,i){return new(e.customView||uo)(e,t,i)}split(e){let t=uo.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,i,r,s,o){return i&&(!(i instanceof uo)||!this.widget.compare(i.widget)||e>0&&s<=0||t0)?Un.before(this.dom):Un.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let i=this.widget.coordsAt(this.dom,e,t);if(i)return i;let r=this.dom.getClientRects(),s=null;if(!r.length)return null;let o=this.side?this.side<0:e>0;for(let a=o?r.length-1:0;s=r[a],!(e>0?a==0:a==r.length-1||s.topr.domAtPos(s),(r,s)=>new Un(r,Math.min(s,r.nodeValue.length))):new Un(i,Math.min(e,i.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,t){let{topView:i,text:r}=this.widget;return i?NP(e,t,i,r,this.length-i.length):Math.min(t,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,t){let{topView:i,text:r}=this.widget;return i?tm(e,t,i,r,this.length-i.length,(s,o,a)=>s.coordsAt(o,a),(s,o,a)=>em(s,o,a)):em(r,e,t)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function tm(n,e,t,i,r,s,o){if(t instanceof Xs){for(let a=t.dom.firstChild;a;a=a.nextSibling){let h=Bt.get(a);if(h){let f=Xa(a,i),p=h.length+(f?r:0);if(n0?Un.before(this.dom):Un.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return $t.empty}get isHidden(){return!0}}yl.prototype.children=uo.prototype.children=Wa.prototype.children=T0;function YP(n,e){let t=n.dom,{children:i}=n,r=0;for(let s=0;rs&&e0;s--){let o=i[s-1];if(o.dom.parentNode==t)return o.domAtPos(o.length)}for(let s=r;s0&&e instanceof Xs&&r.length&&(i=r[r.length-1])instanceof Xs&&i.mark.eq(e.mark)?qP(i,e.children[0],t-1):(r.push(e),e.setParent(n)),n.length+=e.length}function UP(n,e,t){let i=null,r=-1,s=null,o=-1;function a(f,p){for(let O=0,v=0;O=p&&(x.children.length?a(x,p-v):(!s||s.isHidden&&t>0)&&(Q>p||v==Q&&x.getSide()>0)?(s=x,o=p-v):(v0?3e8:-4e8:t>0?1e8:-1e8,new bo(e,t,t,i,e.widget||null,!1)}static replace(e){let t=!!e.block,i,r;if(e.isBlockGap)i=-5e8,r=4e8;else{let{start:s,end:o}=ZP(e,t);i=(s?t?-3e8:-1:5e8)-1,r=(o?t?2e8:1:-6e8)+1}return new bo(e,i,r,t,e.widget||null,!0)}static line(e){return new Mh(e)}static set(e,t=!1){return Qt.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Ge.none=Qt.empty;class ip extends Ge{constructor(e){let{start:t,end:i}=ZP(e);super(t?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof ip&&this.tagName==e.tagName&&this.class==e.class&&A0(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}ip.prototype.point=!1;class Mh extends Ge{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Mh&&this.spec.class==e.spec.class&&A0(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}Mh.prototype.mapMode=gi.TrackBefore;Mh.prototype.point=!0;class bo extends Ge{constructor(e,t,i,r,s,o){super(t,i,s,e),this.block=r,this.isReplace=o,this.mapMode=r?t<=0?gi.TrackBefore:gi.TrackAfter:gi.TrackDel}get type(){return this.startSide=5||this.widget.lineBreaks>0)}eq(e){return e instanceof bo&&kM(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}bo.prototype.point=!0;function ZP(n,e=!1){let{inclusiveStart:t,inclusiveEnd:i}=n;return t==null&&(t=n.inclusive),i==null&&(i=n.inclusive),{start:t??e,end:i??e}}function kM(n,e){return n==e||!!(n&&e&&n.compare(e))}function rm(n,e,t,i=0){let r=t.length-1;r>=0&&t[r]+i>=n?t[r]=Math.max(t[r],e):t.push(n,e)}class Ri extends Bt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,i,r,s,o){if(i){if(!(i instanceof Ri))return!1;this.dom||i.transferDOM(this)}return r&&this.setDeco(i?i.attrs:null),zP(this,e,t,i?i.children:[],s,o),!0}split(e){let t=new Ri;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i,off:r}=this.childPos(e);r&&(t.append(this.children[i].split(r),0),this.children[i].merge(r,this.children[i].length,null,!1,0,0),i++);for(let s=i;s0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){A0(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){qP(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=nm(t,this.attrs||{})),i&&(this.attrs=nm({class:i},this.attrs||{}))}domAtPos(e){return YP(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e,t){var i;this.dom?this.dirty&4&&(RP(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(im(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let r=this.dom.lastChild;for(;r&&Bt.get(r)instanceof Xs;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((i=Bt.get(r))===null||i===void 0?void 0:i.isEditable)==!1&&(!Ye.ios||!this.children.some(s=>s instanceof yl))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let i of this.children){if(!(i instanceof yl)||/[^ -~]/.test(i.text))return null;let r=uh(i.dom);if(r.length!=1)return null;e+=r[0].width,t=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let i=UP(this,e,t);if(!this.children.length&&i&&this.parent){let{heightOracle:r}=this.parent.view.viewState,s=i.bottom-i.top;if(Math.abs(s-r.lineHeight)<2&&r.textHeight=t){if(s instanceof Ri)return s;if(o>t)break}r=o+s.breakAfter}return null}}class pl extends Bt{constructor(e,t,i){super(),this.widget=e,this.length=t,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(e,t,i,r,s,o){return i&&(!(i instanceof pl)||!this.widget.compare(i.widget)||e>0&&s<=0||t0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-i)),this.getLine().append(Fc(new yl(this.text.slice(this.textOff,this.textOff+r)),t),i),this.atCursorPos=!0,this.textOff+=r,e-=r,i=0}}span(e,t,i,r){this.buildText(t-e,i,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,i,r,s,o){if(this.disallowBlockEffectsFor[o]&&i instanceof bo){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=t-e;if(i instanceof bo)if(i.block){let{type:h}=i;h==an.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new pl(i.widget||new XS("div"),a,h))}else{let h=uo.create(i.widget||new XS("span"),a,a?0:i.startSide),f=this.atCursorPos&&!h.isEditable&&s<=r.length&&(e0),p=!h.isEditable&&(er.length||i.startSide<=0),O=this.getLine();this.pendingBuffer==2&&!f&&!h.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),f&&(O.append(Fc(new Wa(1),r),s),s=r.length+Math.max(0,s-r.length)),O.append(Fc(h,r),s),this.atCursorPos=p,this.pendingBuffer=p?er.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(i);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=s)}static build(e,t,i,r,s){let o=new R0(e,t,i,s);return o.openEnd=Qt.spans(r,t,i,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function Fc(n,e){for(let t of e)n=new Xs(t,[n],n.length);return n}class XS extends Dr{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const FP=Ue.define(),GP=Ue.define(),HP=Ue.define(),jP=Ue.define(),sm=Ue.define(),KP=Ue.define(),JP=Ue.define(),ek=Ue.define({combine:n=>n.some(e=>e)}),tk=Ue.define({combine:n=>n.some(e=>e)});class fd{constructor(e,t="nearest",i="nearest",r=5,s=5){this.range=e,this.y=t,this.x=i,this.yMargin=r,this.xMargin=s}map(e){return e.empty?this:new fd(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const MS=lt.define({map:(n,e)=>n.map(e)});function ir(n,e,t){let i=n.facet(jP);i.length?i[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const rp=Ue.define({combine:n=>n.length?n[0]:!0});let _M=0;const Mu=Ue.define();class Pn{constructor(e,t,i,r){this.id=e,this.create=t,this.domEventHandlers=i,this.extension=r(this)}static define(e,t){const{eventHandlers:i,provide:r,decorations:s}=t||{};return new Pn(_M++,e,i,o=>{let a=[Mu.of(o)];return s&&a.push(hh.of(h=>{let f=h.plugin(o);return f?s(f):Ge.none})),r&&a.push(r(o)),a})}static fromClass(e,t){return Pn.define(i=>new e(i),t)}}class qO{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(i){if(ir(t.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){ir(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(i){ir(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const nk=Ue.define(),X0=Ue.define(),hh=Ue.define(),M0=Ue.define(),ik=Ue.define();function rk(n){let e=0,t=0,i=0,r=0;for(let s of n.state.facet(ik)){let o=s(n);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(t=Math.max(t,o.right)),o.top!=null&&(i=Math.max(i,o.top)),o.bottom!=null&&(r=Math.max(r,o.bottom)))}return{left:e,right:t,top:i,bottom:r}}const Wu=Ue.define();class ls{constructor(e,t,i,r){this.fromA=e,this.toA=t,this.fromB=i,this.toB=r}join(e){return new ls(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,i=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>i.toA)){if(r.toAp)break;s+=2}if(!h)return i;new ls(h.fromA,h.toA,h.fromB,h.toB).addToSet(i),o=h.toA,a=h.toB}}}class dd{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=An.empty(this.startState.doc.length);for(let s of i)this.changes=this.changes.compose(s.changes);let r=[];this.changes.iterChangedRanges((s,o,a,h)=>r.push(new ls(s,o,a,h))),this.changedRanges=r}static create(e,t,i){return new dd(e,t,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var ln=function(n){return n[n.LTR=0]="LTR",n[n.RTL=1]="RTL",n}(ln||(ln={}));const om=ln.LTR,QM=ln.RTL;function sk(n){let e=[];for(let t=0;t=t){if(a.level==i)return o;(s<0||(r!=0?r<0?a.fromt:e[s].level>a.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}const sn=[];function TM(n,e){let t=n.length,i=e==om?1:2,r=e==om?2:1;if(!n||i==1&&!CM.test(n))return ok(t);for(let o=0,a=i,h=i;o=0;v-=3)if(Gr[v+1]==-p){let x=Gr[v+2],Q=x&2?i:x&4?x&1?r:i:0;Q&&(sn[o]=sn[Gr[v]]=Q),a=v;break}}else{if(Gr.length==189)break;Gr[a++]=o,Gr[a++]=f,Gr[a++]=h}else if((O=sn[o])==2||O==1){let v=O==i;h=v?0:1;for(let x=a-3;x>=0;x-=3){let Q=Gr[x+2];if(Q&2)break;if(v)Gr[x+2]|=2;else{if(Q&4)break;Gr[x+2]|=4}}}for(let o=0;oa;){let p=f,O=sn[--f]!=2;for(;f>a&&O==(sn[f-1]!=2);)f--;s.push(new _a(f,p,O?2:1))}else s.push(new _a(a,o,0))}else for(let o=0;os)&&this.lineBreak(),r=o}return this.findPointBefore(i,t),this}readTextNode(e){let t=e.nodeValue;for(let i of this.points)i.node==e&&(i.pos=this.text.length+Math.min(i.offset,t.length));for(let i=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,o=1,a;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,i),o=this.lineSeparator.length):(a=r.exec(t))&&(s=a.index,o=a[0].length),this.append(t.slice(i,s<0?t.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let h of this.points)h.node==e&&h.pos>this.text.length&&(h.pos-=o-1);i=s+o}}readNode(e){if(e.cmIgnore)return;let t=Bt.get(e),i=t&&t.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let r=i.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}findPointInside(e,t){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(t,i.offset))}}function WS(n){return n.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(n.nodeName)}class zS{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class LS extends Bt{constructor(e){super(),this.view=e,this.compositionDeco=Ge.none,this.compositionNode=null,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Ri],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new ls(0,0,0,e.state.doc.length)],0)}get length(){return this.view.state.doc.length}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:o,toA:a})=>athis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),{deco:this.compositionDeco,node:this.compositionNode}=this.view.inputState.composing<0?zu:XM(this.view,e.changes),(Ye.ie||Ye.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,r=this.updateDeco(),s=LM(i,r,e.changes);return t=ls.extendWithRanges(t,s),this.dirty==0&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=Ye.chrome||Ye.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,s),this.dirty=0,s&&(s.written||i.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""});let r=[];if(this.view.viewport.from||this.view.viewport.to=0?e[r]:null;if(!s)break;let{fromA:o,toA:a,fromB:h,toB:f}=s,{content:p,breakAtStart:O,openStart:v,openEnd:x}=R0.build(this.view.state.doc,h,f,this.decorations,this.dynamicDecorationMap),{i:Q,off:R}=i.findPos(a,1),{i:M,off:b}=i.findPos(o,-1);WP(this,M,b,Q,R,p,O,v,x)}}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let i=this.view.root.activeElement,r=i==this.dom,s=!r&&Tf(this.dom,this.view.observer.selectionRange)&&!(i&&this.dom.contains(i));if(!(r||t||s))return;let o=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,h=this.domAtPos(a.anchor),f=a.empty?h:this.domAtPos(a.head);if(Ye.gecko&&a.empty&&!this.compositionDeco.size&&RM(h)){let O=document.createTextNode("");this.view.observer.ignore(()=>h.node.insertBefore(O,h.node.childNodes[h.offset]||null)),h=f=new Un(O,0),o=!0}let p=this.view.observer.selectionRange;(o||!p.focusNode||!hd(h.node,h.offset,p.anchorNode,p.anchorOffset)||!hd(f.node,f.offset,p.focusNode,p.focusOffset))&&(this.view.observer.ignore(()=>{Ye.android&&Ye.chrome&&this.dom.contains(p.focusNode)&&IM(p.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let O=ud(this.view.root);if(O)if(a.empty){if(Ye.gecko){let v=WM(h.node,h.offset);if(v&&v!=3){let x=hk(h.node,h.offset,v==1?1:-1);x&&(h=new Un(x,v==1?0:x.nodeValue.length))}}O.collapse(h.node,h.offset),a.bidiLevel!=null&&p.cursorBidiLevel!=null&&(p.cursorBidiLevel=a.bidiLevel)}else if(O.extend){O.collapse(h.node,h.offset);try{O.extend(f.node,f.offset)}catch{}}else{let v=document.createRange();a.anchor>a.head&&([h,f]=[f,h]),v.setEnd(f.node,f.offset),v.setStart(h.node,h.offset),O.removeAllRanges(),O.addRange(v)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(h,f)),this.impreciseAnchor=h.precise?null:new Un(p.anchorNode,p.anchorOffset),this.impreciseHead=f.precise?null:new Un(p.focusNode,p.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let{view:e}=this,t=e.state.selection.main,i=ud(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let o=Ri.find(this,t.head);if(!o)return;let a=o.posAtStart;if(t.head==a||t.head==a+o.length)return;let h=this.coordsAt(t.head,-1),f=this.coordsAt(t.head,1);if(!h||!f||h.bottom>f.top)return;let p=this.domAtPos(t.head+t.assoc);i.collapse(p.node,p.offset),i.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let O=e.observer.selectionRange;e.docView.posFromDOM(O.anchorNode,O.anchorOffset)!=t.from&&i.collapse(r,s)}nearest(e){for(let t=e;t;){let i=Bt.get(t);if(i&&i.rootView==this)return i;t=t.parentNode}return null}posFromDOM(e,t){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,t)+i.posAtStart}domAtPos(e){let{i:t,off:i}=this.childCursor().findPos(e,-1);for(;to||e==o&&s.type!=an.WidgetBefore&&s.type!=an.WidgetAfter&&(!r||t==2||this.children[r-1].breakAfter||this.children[r-1].type==an.WidgetBefore&&t>-2))return s.coordsAt(e-o,t);i=o}}measureVisibleLineHeights(e){let t=[],{from:i,to:r}=e,s=this.view.contentDOM.clientWidth,o=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,h=this.view.textDirection==ln.LTR;for(let f=0,p=0;pr)break;if(f>=i){let x=O.dom.getBoundingClientRect();if(t.push(x.height),o){let Q=O.dom.lastChild,R=Q?uh(Q):[];if(R.length){let M=R[R.length-1],b=h?M.right-x.left:x.right-M.left;b>a&&(a=b,this.minWidth=s,this.minWidthFrom=f,this.minWidthTo=v)}}}f=v+O.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?ln.RTL:ln.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Ri){let o=s.measureTextSize();if(o)return o}let e=document.createElement("div"),t,i,r;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=uh(e.firstChild)[0];t=e.getBoundingClientRect().height,i=s?s.width/27:7,r=s?s.height:t,e.remove()}),{lineHeight:t,charWidth:i,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new MP(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let i=0,r=0;;r++){let s=r==t.viewports.length?null:t.viewports[r],o=s?s.from-1:this.length;if(o>i){let a=t.lineBlockAt(o).bottom-t.lineBlockAt(i).top;e.push(Ge.replace({widget:new IS(a),block:!0,inclusive:!0,isBlockGap:!0}).range(i,o))}if(!s)break;i=s.to+1}return Ge.set(e)}updateDeco(){let e=this.view.state.facet(hh).map((t,i)=>(this.dynamicDecorationMap[i]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),r;if(!i)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(i={left:Math.min(i.left,r.left),top:Math.min(i.top,r.top),right:Math.max(i.right,r.right),bottom:Math.max(i.bottom,r.bottom)});let s=rk(this.view),o={left:i.left-s.left,top:i.top-s.top,right:i.right+s.right,bottom:i.bottom+s.bottom};mM(this.view.scrollDOM,o,t.head-1)return zu;if(h-a0)i=i.childNodes[r-1],r=Qo(i);else break}if(t>=0)for(let i=n,r=e;;){if(i.nodeType==3)return i;if(i.nodeType==1&&r=0)i=i.childNodes[r],r=0;else break}return null}function WM(n,e){return n.nodeType!=1?0:(e&&n.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let f=mi(r.text,o,!1);if(i(r.text.slice(f,o))!=h)break;o=f}for(;an?e.left-n:Math.max(0,n-e.right)}function NM(n,e){return e.top>n?e.top-n:Math.max(0,n-e.bottom)}function UO(n,e){return n.tope.top+1}function VS(n,e){return en.bottom?{top:n.top,left:n.left,right:n.right,bottom:e}:n}function am(n,e,t){let i,r,s,o,a=!1,h,f,p,O;for(let Q=n.firstChild;Q;Q=Q.nextSibling){let R=uh(Q);for(let M=0;M$||o==$&&s>E){i=Q,r=b,s=E,o=$;let W=$?t0?M0)}E==0?t>b.bottom&&(!p||p.bottomb.top)&&(f=Q,O=b):p&&UO(p,b)?p=DS(p,b.bottom):O&&UO(O,b)&&(O=VS(O,b.top))}}if(p&&p.bottom>=t?(i=h,r=p):O&&O.top<=t&&(i=f,r=O),!i)return{node:n,offset:0};let v=Math.max(r.left,Math.min(r.right,e));if(i.nodeType==3)return NS(i,v,t);if(a&&i.contentEditable!="false")return am(i,v,t);let x=Array.prototype.indexOf.call(n.childNodes,i)+(e>=(r.left+r.right)/2?1:0);return{node:n,offset:x}}function NS(n,e,t){let i=n.nodeValue.length,r=-1,s=1e9,o=0;for(let a=0;at?p.top-t:t-p.bottom)-1;if(p.left-1<=e&&p.right+1>=e&&O=(p.left+p.right)/2,x=v;if((Ye.chrome||Ye.gecko)&&Ma(n,a).getBoundingClientRect().left==p.right&&(x=!v),O<=0)return{node:n,offset:a+(x?1:0)};r=a+(x?1:0),s=O}}}return{node:n,offset:r>-1?r:o>0?n.nodeValue.length:0}}function ck(n,e,t,i=-1){var r,s;let o=n.contentDOM.getBoundingClientRect(),a=o.top+n.viewState.paddingTop,h,{docHeight:f}=n.viewState,{x:p,y:O}=e,v=O-a;if(v<0)return 0;if(v>f)return n.state.doc.length;for(let W=n.viewState.heightOracle.textHeight/2,B=!1;h=n.elementAtHeight(v),h.type!=an.Text;)for(;v=i>0?h.bottom+W:h.top-W,!(v>=0&&v<=f);){if(B)return t?null:0;B=!0,i=-i}O=a+v;let x=h.from;if(xn.viewport.to)return n.viewport.to==n.state.doc.length?n.state.doc.length:t?null:BS(n,o,h,p,O);let Q=n.dom.ownerDocument,R=n.root.elementFromPoint?n.root:Q,M=R.elementFromPoint(p,O);M&&!n.contentDOM.contains(M)&&(M=null),M||(p=Math.max(o.left+1,Math.min(o.right-1,p)),M=R.elementFromPoint(p,O),M&&!n.contentDOM.contains(M)&&(M=null));let b,E=-1;if(M&&((r=n.docView.nearest(M))===null||r===void 0?void 0:r.isEditable)!=!1){if(Q.caretPositionFromPoint){let W=Q.caretPositionFromPoint(p,O);W&&({offsetNode:b,offset:E}=W)}else if(Q.caretRangeFromPoint){let W=Q.caretRangeFromPoint(p,O);W&&({startContainer:b,startOffset:E}=W,(!n.contentDOM.contains(b)||Ye.safari&&BM(b,E,p)||Ye.chrome&&YM(b,E,p))&&(b=void 0))}}if(!b||!n.docView.dom.contains(b)){let W=Ri.find(n.docView,x);if(!W)return v>h.top+h.height/2?h.to:h.from;({node:b,offset:E}=am(W.dom,p,O))}let $=n.docView.nearest(b);if(!$)return null;if($.isWidget&&((s=$.dom)===null||s===void 0?void 0:s.nodeType)==1){let W=$.dom.getBoundingClientRect();return e.yn.defaultLineHeight*1.5){let a=n.viewState.heightOracle.textHeight,h=Math.floor((r-t.top-(n.defaultLineHeight-a)*.5)/a);s+=h*n.viewState.heightOracle.lineLength}let o=n.state.sliceDoc(t.from,t.to);return t.from+Fg(o,s,n.state.tabSize)}function BM(n,e,t){let i;if(n.nodeType!=3||e!=(i=n.nodeValue.length))return!1;for(let r=n.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return Ma(n,i-1,i).getBoundingClientRect().left>t}function YM(n,e,t){if(e!=0)return!1;for(let r=n;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let i=n.nodeType==1?n.getBoundingClientRect():Ma(n,0,Math.max(n.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function um(n,e){let t=n.lineBlockAt(e);if(Array.isArray(t.type)){for(let i of t.type)if(i.to>e||i.to==e&&(i.to==t.to||i.type==an.Text))return i}return t}function qM(n,e,t,i){let r=um(n,e.head),s=!i||r.type!=an.Text||!(n.lineWrapping||r.widgetLineBreaks)?null:n.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let o=n.dom.getBoundingClientRect(),a=n.textDirectionAt(r.from),h=n.posAtCoords({x:t==(a==ln.LTR)?o.right-1:o.left+1,y:(s.top+s.bottom)/2});if(h!=null)return me.cursor(h,t?-1:1)}return me.cursor(t?r.to:r.from,t?-1:1)}function YS(n,e,t,i){let r=n.state.doc.lineAt(e.head),s=n.bidiSpans(r),o=n.textDirectionAt(r.from);for(let a=e,h=null;;){let f=AM(r,s,o,a,t),p=lk;if(!f){if(r.number==(t?n.state.doc.lines:1))return a;p=` +`,r=n.state.doc.line(r.number+(t?1:-1)),s=n.bidiSpans(r),f=me.cursor(t?r.from:r.to)}if(h){if(!h(p))return a}else{if(!i)return f;h=i(p)}a=f}}function UM(n,e,t){let i=n.state.charCategorizer(e),r=i(t);return s=>{let o=i(s);return r==jt.Space&&(r=o),r==o}}function ZM(n,e,t,i){let r=e.head,s=t?1:-1;if(r==(t?n.state.doc.length:0))return me.cursor(r,e.assoc);let o=e.goalColumn,a,h=n.contentDOM.getBoundingClientRect(),f=n.coordsAtPos(r),p=n.documentTop;if(f)o==null&&(o=f.left-h.left),a=s<0?f.top:f.bottom;else{let x=n.viewState.lineBlockAt(r);o==null&&(o=Math.min(h.right-h.left,n.defaultCharacterWidth*(r-x.from))),a=(s<0?x.top:x.bottom)+p}let O=h.left+o,v=i??n.viewState.heightOracle.textHeight>>1;for(let x=0;;x+=10){let Q=a+(v+x)*s,R=ck(n,{x:O,y:Q},!1,s);if(Qh.bottom||(s<0?Rr))return me.cursor(R,e.assoc,void 0,o)}}function Af(n,e,t){for(;;){let i=0;for(let r of n)r.between(e-1,e+1,(s,o,a)=>{if(e>s&&er(n)),t.from,e.head>t.from?-1:1);return i==t.from?t:me.cursor(i,i{this.ignoreDuringComposition(r)||r.type=="keydown"&&this.keydown(e,r)||(this.mustFlushObserver(r)&&e.observer.forceFlush(),this.runCustomHandlers(r.type,e,r)?r.preventDefault():i(e,r))};for(let i in xn){let r=xn[i];e.contentDOM.addEventListener(i,s=>{qS(e,s)&&t(r,s)},hm[i]),this.registeredEvents.push(i)}e.scrollDOM.addEventListener("mousedown",i=>{if(i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&(t(xn.mousedown,i),!i.defaultPrevented&&i.button==2)){let r=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight="100%",setTimeout(()=>e.contentDOM.style.minHeight=r,200)}}),e.scrollDOM.addEventListener("drop",i=>{i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&t(xn.drop,i)}),Ye.chrome&&Ye.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,Ye.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var i;let r;this.customHandlers=[];for(let s of t)if(r=(i=s.update(e).spec)===null||i===void 0?void 0:i.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:r});for(let o in r)this.registeredEvents.indexOf(o)<0&&o!="scroll"&&(this.registeredEvents.push(o),e.contentDOM.addEventListener(o,a=>{qS(e,a)&&this.runCustomHandlers(o,e,a)&&a.preventDefault()}))}}runCustomHandlers(e,t,i){for(let r of this.customHandlers){let s=r.handlers[e];if(s)try{if(s.call(r.plugin,i,t)||i.defaultPrevented)return!0}catch(o){ir(t.state,o)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let i of this.customHandlers){let r=i.handlers.scroll;if(r)try{r.call(i.plugin,t,e)}catch(s){ir(e.state,s)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()r.keyCode==t.keyCode))&&!t.ctrlKey||GM.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=i||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,ka(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Ye.safari&&!Ye.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const fk=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],GM="dthko",dk=[16,17,18,20,91,92,224,225],Gc=6;function Hc(n){return Math.max(0,n)*.7+8}class HM{constructor(e,t,i,r){this.view=e,this.style=i,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=yM(e.contentDOM),this.atoms=e.state.facet(M0).map(o=>o(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(Pt.allowMultipleSelections)&&jM(e,t),this.dragging=JM(e,t)&&mk(t)==1?null:!1}start(e){this.dragging===!1&&(e.preventDefault(),this.select(e))}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging!==!1)return;this.select(this.lastEvent=e);let i=0,r=0,s=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},o=rk(this.view);e.clientX-o.left<=s.left+Gc?i=-Hc(s.left-e.clientX):e.clientX+o.right>=s.right-Gc&&(i=Hc(e.clientX-s.right)),e.clientY-o.top<=s.top+Gc?r=-Hc(s.top-e.clientY):e.clientY+o.bottom>=s.bottom-Gc&&(r=Hc(e.clientY-s.bottom)),this.setScrollSpeed(i,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let i=0;ithis.select(this.lastEvent),20)}}function jM(n,e){let t=n.state.facet(FP);return t.length?t[0](e):Ye.mac?e.metaKey:e.ctrlKey}function KM(n,e){let t=n.state.facet(GP);return t.length?t[0](e):Ye.mac?!e.altKey:!e.ctrlKey}function JM(n,e){let{main:t}=n.state.selection;if(t.empty)return!1;let i=ud(n.root);if(!i||i.rangeCount==0)return!0;let r=i.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function qS(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,i;t!=n.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(i=Bt.get(t))&&i.ignoreEvent(e))return!1;return!0}const xn=Object.create(null),hm=Object.create(null),pk=Ye.ie&&Ye.ie_version<15||Ye.ios&&Ye.webkit_version<604;function e5(n){let e=n.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{n.focus(),t.remove(),Ok(n,t.value)},50)}function Ok(n,e){let{state:t}=n,i,r=1,s=t.toText(e),o=s.lines==t.selection.ranges.length;if(cm!=null&&t.selection.ranges.every(h=>h.empty)&&cm==s.toString()){let h=-1;i=t.changeByRange(f=>{let p=t.doc.lineAt(f.from);if(p.from==h)return{range:f};h=p.from;let O=t.toText((o?s.line(r++).text:e)+t.lineBreak);return{changes:{from:p.from,insert:O},range:me.cursor(f.from+O.length)}})}else o?i=t.changeByRange(h=>{let f=s.line(r++);return{changes:{from:h.from,to:h.to,insert:f.text},range:me.cursor(h.from+f.length)}}):i=t.replaceSelection(s);n.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}xn.keydown=(n,e)=>{n.inputState.setSelectionOrigin("select"),e.keyCode==27&&(n.inputState.lastEscPress=Date.now())};xn.touchstart=(n,e)=>{n.inputState.lastTouchTime=Date.now(),n.inputState.setSelectionOrigin("select.pointer")};xn.touchmove=n=>{n.inputState.setSelectionOrigin("select.pointer")};hm.touchstart=hm.touchmove={passive:!0};xn.mousedown=(n,e)=>{if(n.observer.flush(),n.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let i of n.state.facet(HP))if(t=i(n,e),t)break;if(!t&&e.button==0&&(t=i5(n,e)),t){let i=!n.hasFocus;n.inputState.startMouseSelection(new HM(n,e,t,i)),i&&n.observer.ignore(()=>AP(n.contentDOM)),n.inputState.mouseSelection&&n.inputState.mouseSelection.start(e)}};function US(n,e,t,i){if(i==1)return me.cursor(e,t);if(i==2)return VM(n.state,e,t);{let r=Ri.find(n.docView,e),s=n.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,a=r?r.posAtEnd:s.to;return an>=e.top&&n<=e.bottom,ZS=(n,e,t)=>gk(e,t)&&n>=t.left&&n<=t.right;function t5(n,e,t,i){let r=Ri.find(n.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let o=r.coordsAt(s,-1);if(o&&ZS(t,i,o))return-1;let a=r.coordsAt(s,1);return a&&ZS(t,i,a)?1:o&&gk(i,o)?-1:1}function FS(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:t5(n,t,e.clientX,e.clientY)}}const n5=Ye.ie&&Ye.ie_version<=11;let GS=null,HS=0,jS=0;function mk(n){if(!n5)return n.detail;let e=GS,t=jS;return GS=n,jS=Date.now(),HS=!e||t>Date.now()-400&&Math.abs(e.clientX-n.clientX)<2&&Math.abs(e.clientY-n.clientY)<2?(HS+1)%3:1}function i5(n,e){let t=FS(n,e),i=mk(e),r=n.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),r=r.map(s.changes))},get(s,o,a){let h=FS(n,s),f,p=US(n,h.pos,h.bias,i);if(t.pos!=h.pos&&!o){let O=US(n,t.pos,t.bias,i),v=Math.min(O.from,p.from),x=Math.max(O.to,p.to);p=v1&&(f=r5(r,h.pos))?f:a?r.addRange(p):me.create([p])}}}function r5(n,e){for(let t=0;t=e)return me.create(n.ranges.slice(0,t).concat(n.ranges.slice(t+1)),n.mainIndex==t?0:n.mainIndex-(n.mainIndex>t?1:0))}return null}xn.dragstart=(n,e)=>{let{selection:{main:t}}=n.state,{mouseSelection:i}=n.inputState;i&&(i.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",n.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function KS(n,e,t,i){if(!t)return;let r=n.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:s}=n.inputState,o=i&&s&&s.dragging&&KM(n,e)?{from:s.dragging.from,to:s.dragging.to}:null,a={from:r,insert:t},h=n.state.changes(o?[o,a]:a);n.focus(),n.dispatch({changes:h,selection:{anchor:h.mapPos(r,-1),head:h.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"})}xn.drop=(n,e)=>{if(!e.dataTransfer)return;if(n.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let i=Array(t.length),r=0,s=()=>{++r==t.length&&KS(n,e,i.filter(o=>o!=null).join(n.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(i[o]=a.result),s()},a.readAsText(t[o])}}else KS(n,e,e.dataTransfer.getData("Text"),!0)};xn.paste=(n,e)=>{if(n.state.readOnly)return e.preventDefault();n.observer.flush();let t=pk?null:e.clipboardData;t?(Ok(n,t.getData("text/plain")||t.getData("text/uri-text")),e.preventDefault()):e5(n)};function s5(n,e){let t=n.dom.parentNode;if(!t)return;let i=t.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),n.focus()},50)}function o5(n){let e=[],t=[],i=!1;for(let r of n.selection.ranges)r.empty||(e.push(n.sliceDoc(r.from,r.to)),t.push(r));if(!e.length){let r=-1;for(let{from:s}of n.selection.ranges){let o=n.doc.lineAt(s);o.number>r&&(e.push(o.text),t.push({from:o.from,to:Math.min(n.doc.length,o.to+1)})),r=o.number}i=!0}return{text:e.join(n.lineBreak),ranges:t,linewise:i}}let cm=null;xn.copy=xn.cut=(n,e)=>{let{text:t,ranges:i,linewise:r}=o5(n.state);if(!t&&!r)return;cm=r?t:null;let s=pk?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",t)):s5(n,t),e.type=="cut"&&!n.state.readOnly&&n.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})};const yk=To.define();function vk(n,e){let t=[];for(let i of n.facet(JP)){let r=i(n,e);r&&t.push(r)}return t?n.update({effects:t,annotations:yk.of(!0)}):null}function Sk(n){setTimeout(()=>{let e=n.hasFocus;if(e!=n.inputState.notifiedFocused){let t=vk(n.state,e);t?n.dispatch(t):n.update([])}},10)}xn.focus=n=>{n.inputState.lastFocusTime=Date.now(),!n.scrollDOM.scrollTop&&(n.inputState.lastScrollTop||n.inputState.lastScrollLeft)&&(n.scrollDOM.scrollTop=n.inputState.lastScrollTop,n.scrollDOM.scrollLeft=n.inputState.lastScrollLeft),Sk(n)};xn.blur=n=>{n.observer.clearSelectionRange(),Sk(n)};xn.compositionstart=xn.compositionupdate=n=>{n.inputState.compositionFirstChange==null&&(n.inputState.compositionFirstChange=!0),n.inputState.composing<0&&(n.inputState.composing=0)};xn.compositionend=n=>{n.inputState.composing=-1,n.inputState.compositionEndedAt=Date.now(),n.inputState.compositionPendingKey=!0,n.inputState.compositionPendingChange=n.observer.pendingRecords().length>0,n.inputState.compositionFirstChange=null,Ye.chrome&&Ye.android?n.observer.flushSoon():n.inputState.compositionPendingChange?Promise.resolve().then(()=>n.observer.flush()):setTimeout(()=>{n.inputState.composing<0&&n.docView.compositionDeco.size&&n.update([])},50)};xn.contextmenu=n=>{n.inputState.lastContextMenu=Date.now()};xn.beforeinput=(n,e)=>{var t;let i;if(Ye.chrome&&Ye.android&&(i=fk.find(r=>r.inputType==e.inputType))&&(n.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let r=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&n.hasFocus&&(n.contentDOM.blur(),n.focus())},100)}};const JS=["pre-wrap","normal","pre-line","break-spaces"];class l5{constructor(e){this.lineWrapping=e,this.doc=$t.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return JS.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let i=0;i-1,h=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=t,this.charWidth=i,this.textHeight=r,this.lineLength=s,h){this.heightSamples={};for(let f=0;f0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>Rf&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return vi.of(i)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,i,r){let s=this,o=i.doc;for(let a=r.length-1;a>=0;a--){let{fromA:h,toA:f,fromB:p,toB:O}=r[a],v=s.lineAt(h,Zt.ByPosNoHeight,i.setDoc(t),0,0),x=v.to>=f?v:s.lineAt(f,Zt.ByPosNoHeight,i,0,0);for(O+=x.to-f,f=x.to;a>0&&v.from<=r[a-1].toA;)h=r[a-1].fromA,p=r[a-1].fromB,a--,hs*2){let a=e[t-1];a.break?e.splice(--t,1,a.left,null,a.right):e.splice(--t,1,a.left,a.right),i+=1+a.break,r-=a.size}else if(s>r*2){let a=e[i];a.break?e.splice(i,1,a.left,null,a.right):e.splice(i,1,a.left,a.right),i+=2+a.break,s-=a.size}else break;else if(r=s&&o(this.blockAt(0,i,r,s))}updateHeight(e,t=0,i=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class ji extends wk{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,i,r){return new ts(r,this.length,i,this.height,this.breaks)}replace(e,t,i){let r=i[0];return i.length==1&&(r instanceof ji||r instanceof Bn&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Bn?r=new ji(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):vi.of(i)}updateHeight(e,t=0,i=!1,r){return r&&r.from<=t&&r.more?this.setHeight(e,r.heights[r.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Bn extends vi{constructor(e){super(e,0)}heightMetrics(e,t){let i=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,s=r-i+1,o,a=0;if(e.lineWrapping){let h=Math.min(this.height,e.lineHeight*s);o=h/s,this.length>s+1&&(a=(this.height-h)/(this.length-s-1))}else o=this.height/s;return{firstLine:i,lastLine:r,perLine:o,perChar:a}}blockAt(e,t,i,r){let{firstLine:s,lastLine:o,perLine:a,perChar:h}=this.heightMetrics(t,r);if(t.lineWrapping){let f=r+Math.round(Math.max(0,Math.min(1,(e-i)/this.height))*this.length),p=t.doc.lineAt(f),O=a+p.length*h,v=Math.max(i,e-O/2);return new ts(p.from,p.length,v,O,0)}else{let f=Math.max(0,Math.min(o-s,Math.floor((e-i)/a))),{from:p,length:O}=t.doc.line(s+f);return new ts(p,O,i+a*f,a,0)}}lineAt(e,t,i,r,s){if(t==Zt.ByHeight)return this.blockAt(e,i,r,s);if(t==Zt.ByPosNoHeight){let{from:x,to:Q}=i.doc.lineAt(e);return new ts(x,Q-x,0,0,0)}let{firstLine:o,perLine:a,perChar:h}=this.heightMetrics(i,s),f=i.doc.lineAt(e),p=a+f.length*h,O=f.number-o,v=r+a*O+h*(f.from-s-O);return new ts(f.from,f.length,Math.max(r,Math.min(v,r+this.height-p)),p,0)}forEachLine(e,t,i,r,s,o){e=Math.max(e,s),t=Math.min(t,s+this.length);let{firstLine:a,perLine:h,perChar:f}=this.heightMetrics(i,s);for(let p=e,O=r;p<=t;){let v=i.doc.lineAt(p);if(p==e){let Q=v.number-a;O+=h*Q+f*(e-s-Q)}let x=h+f*v.length;o(new ts(v.from,v.length,O,x,0)),O+=x,p=v.to+1}}replace(e,t,i){let r=this.length-t;if(r>0){let s=i[i.length-1];s instanceof Bn?i[i.length-1]=new Bn(s.length+r):i.push(null,new Bn(r-1))}if(e>0){let s=i[0];s instanceof Bn?i[0]=new Bn(e+s.length):i.unshift(new Bn(e-1),null)}return vi.of(i)}decomposeLeft(e,t){t.push(new Bn(e-1),null)}decomposeRight(e,t){t.push(null,new Bn(this.length-e-1))}updateHeight(e,t=0,i=!1,r){let s=t+this.length;if(r&&r.from<=t+this.length&&r.more){let o=[],a=Math.max(t,r.from),h=-1;for(r.from>t&&o.push(new Bn(r.from-t-1).updateHeight(e,t));a<=s&&r.more;){let p=e.doc.lineAt(a).length;o.length&&o.push(null);let O=r.heights[r.index++];h==-1?h=O:Math.abs(O-h)>=Rf&&(h=-2);let v=new ji(p,O);v.outdated=!1,o.push(v),a+=p+1}a<=s&&o.push(null,new Bn(s-a).updateHeight(e,a));let f=vi.of(o);return(h<0||Math.abs(f.height-this.height)>=Rf||Math.abs(h-this.heightMetrics(e,t).perLine)>=Rf)&&(e.heightChanged=!0),f}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class u5 extends vi{constructor(e,t,i){super(e.length+t+i.length,e.height+i.height,t|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,t,i,r){let s=i+this.left.height;return ea))return f;let p=t==Zt.ByPosNoHeight?Zt.ByPosNoHeight:Zt.ByPos;return h?f.join(this.right.lineAt(a,p,i,o,a)):this.left.lineAt(a,p,i,r,s).join(f)}forEachLine(e,t,i,r,s,o){let a=r+this.left.height,h=s+this.left.length+this.break;if(this.break)e=h&&this.right.forEachLine(e,t,i,a,h,o);else{let f=this.lineAt(h,Zt.ByPos,i,r,s);e=e&&f.from<=t&&o(f),t>f.to&&this.right.forEachLine(f.to+1,t,i,a,h,o)}}replace(e,t,i){let r=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,i));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let a of i)s.push(a);if(e>0&&ew(s,o-1),t=i&&t.push(null)),e>i&&this.right.decomposeLeft(e-i,t)}decomposeRight(e,t){let i=this.left.length,r=i+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e2*t.size||t.size>2*e.size?vi.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,i=!1,r){let{left:s,right:o}=this,a=t+s.length+this.break,h=null;return r&&r.from<=t+s.length&&r.more?h=s=s.updateHeight(e,t,i,r):s.updateHeight(e,t,i),r&&r.from<=a+o.length&&r.more?h=o=o.updateHeight(e,a,i,r):o.updateHeight(e,a,i),h?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function ew(n,e){let t,i;n[e]==null&&(t=n[e-1])instanceof Bn&&(i=n[e+1])instanceof Bn&&n.splice(e-1,3,new Bn(t.length+1+i.length))}const h5=5;class W0{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let i=Math.min(t,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof ji?r.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new ji(i-this.pos,-1)),this.writtenTo=i,t>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,i){if(e=h5)&&this.addLineDeco(r,s,o)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new ji(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let i=new Bn(t-e);return this.oracle.doc.lineAt(e).to==t&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof ji)return e;let t=new ji(0,-1);return this.nodes.push(t),t}addBlock(e){var t;this.enterLine();let i=(t=e.deco)===null||t===void 0?void 0:t.type;i==an.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i!=an.WidgetBefore&&(this.covering=e)}addLineDeco(e,t,i){let r=this.ensureLine();r.length+=i,r.collapsed+=i,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos=this.pos+i}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof ji)&&!this.isCovered?this.nodes.push(new ji(0,-1)):(this.writtenTop.clientHeight||p.scrollWidth>p.clientWidth)&&O.overflow!="visible"){let v=p.getBoundingClientRect();s=Math.max(s,v.left),o=Math.min(o,v.right),a=Math.max(a,v.top),h=f==n.parentNode?v.bottom:Math.min(h,v.bottom)}f=O.position=="absolute"||O.position=="fixed"?p.offsetParent:p.parentNode}else if(f.nodeType==11)f=f.host;else break;return{left:s-t.left,right:Math.max(s,o)-t.left,top:a-(t.top+e),bottom:Math.max(a,h)-(t.top+e)}}function p5(n,e){let t=n.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class FO{constructor(e,t,i){this.from=e,this.to=t,this.size=i}static same(e,t){if(e.length!=t.length)return!1;for(let i=0;itypeof i!="function"&&i.class=="cm-lineWrapping");this.heightOracle=new l5(t),this.stateDeco=e.facet(hh).filter(i=>typeof i!="function"),this.heightMap=vi.empty().applyChanges(this.stateDeco,$t.empty,this.heightOracle.setDoc(e.doc),[new ls(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Ge.set(this.lineGaps.map(i=>i.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let i=0;i<=1;i++){let r=i?t.head:t.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new jc(s,o))}}this.viewports=e.sort((i,r)=>i.from-r.from),this.scaler=this.heightMap.height<=7e6?nw:new y5(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Lu(e,this.scaler))})}update(e,t=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(hh).filter(p=>typeof p!="function");let r=e.changedRanges,s=ls.extendWithRanges(r,c5(i,this.stateDeco,e?e.changes:An.empty(this.state.doc.length))),o=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=o&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let h=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.headh.to)||!this.viewportIsAppropriate(h))&&(h=this.getViewport(0,t));let f=!e.changes.empty||e.flags&2||h.from!=this.viewport.from||h.to!=this.viewport.to;this.viewport=h,this.updateForViewport(),f&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(tk)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,i=window.getComputedStyle(t),r=this.heightOracle,s=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?ln.RTL:ln.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),a=t.getBoundingClientRect(),h=o||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let f=0,p=0,O=parseInt(i.paddingTop)||0,v=parseInt(i.paddingBottom)||0;(this.paddingTop!=O||this.paddingBottom!=v)&&(this.paddingTop=O,this.paddingBottom=v,f|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(h=!0),this.editorWidth=e.scrollDOM.clientWidth,f|=8),this.scrollTop!=e.scrollDOM.scrollTop&&(this.scrollAnchorHeight=-1,this.scrollTop=e.scrollDOM.scrollTop),this.scrolledToBottom=XP(e.scrollDOM);let x=(this.printing?p5:d5)(t,this.paddingTop),Q=x.top-this.pixelViewport.top,R=x.bottom-this.pixelViewport.bottom;this.pixelViewport=x;let M=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(M!=this.inView&&(this.inView=M,M&&(h=!0)),!this.inView&&!this.scrollTarget)return 0;let b=a.width;if((this.contentDOMWidth!=b||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,f|=8),h){let $=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights($)&&(o=!0),o||r.lineWrapping&&Math.abs(b-this.contentDOMWidth)>r.charWidth){let{lineHeight:W,charWidth:B,textHeight:J}=e.docView.measureTextSize();o=W>0&&r.refresh(s,W,B,J,b/B,$),o&&(e.docView.minWidth=0,f|=8)}Q>0&&R>0?p=Math.max(Q,R):Q<0&&R<0&&(p=Math.min(Q,R)),r.heightChanged=!1;for(let W of this.viewports){let B=W.from==this.viewport.from?$:e.docView.measureVisibleLineHeights(W);this.heightMap=(o?vi.empty().applyChanges(this.stateDeco,$t.empty,this.heightOracle,[new ls(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new a5(W.from,B))}r.heightChanged&&(f|=2)}let E=!this.viewportIsAppropriate(this.viewport,p)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return E&&(this.viewport=this.getViewport(p,this.scrollTarget)),this.updateForViewport(),(f&2||E)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),f|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),f}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:o,visibleBottom:a}=this,h=new jc(r.lineAt(o-i*1e3,Zt.ByHeight,s,0,0).from,r.lineAt(a+(1-i)*1e3,Zt.ByHeight,s,0,0).to);if(t){let{head:f}=t.range;if(fh.to){let p=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),O=r.lineAt(f,Zt.ByPos,s,0,0),v;t.y=="center"?v=(O.top+O.bottom)/2-p/2:t.y=="start"||t.y=="nearest"&&f=a+Math.max(10,Math.min(i,250)))&&r>o-2*1e3&&s>1,o=r<<1;if(this.defaultTextDirection!=ln.LTR&&!i)return[];let a=[],h=(f,p,O,v)=>{if(p-ff&&MM.from>=O.from&&M.to<=O.to&&Math.abs(M.from-f)M.fromb));if(!R){if(pM.from<=p&&M.to>=p)){let M=t.moveToLineBoundary(me.cursor(p),!1,!0).head;M>f&&(p=M)}R=new FO(f,p,this.gapSize(O,f,p,v))}a.push(R)};for(let f of this.viewportLines){if(f.lengthf.from&&h(f.from,v,f,p),xt.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];Qt.spans(e,this.viewport.from,this.viewport.to,{span(r,s){t.push({from:r,to:s})},point(){}},20);let i=t.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=t[s].from||r.to!=t[s].to);return this.visibleRanges=t,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Lu(this.heightMap.lineAt(e,Zt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Lu(this.heightMap.lineAt(this.scaler.fromDOM(e),Zt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return Lu(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class jc{constructor(e,t){this.from=e,this.to=t}}function g5(n,e,t){let i=[],r=n,s=0;return Qt.spans(t,n,e,{span(){},point(o,a){o>r&&(i.push({from:r,to:o}),s+=o-r),r=a}},20),r=1)return e[e.length-1].to;let i=Math.floor(n*t);for(let r=0;;r++){let{from:s,to:o}=e[r],a=o-s;if(i<=a)return s+i;i-=a}}function Jc(n,e){let t=0;for(let{from:i,to:r}of n.ranges){if(e<=r){t+=e-i;break}t+=r-i}return t/n.total}function m5(n,e){for(let t of n)if(e(t))return t}const nw={toDOM(n){return n},fromDOM(n){return n},scale:1};class y5{constructor(e,t,i){let r=0,s=0,o=0;this.viewports=i.map(({from:a,to:h})=>{let f=t.lineAt(a,Zt.ByPos,e,0,0).top,p=t.lineAt(h,Zt.ByPos,e,0,0).bottom;return r+=p-f,{from:a,to:h,top:f,bottom:p,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r);for(let a of this.viewports)a.domTop=o+(a.top-s)*this.scale,o=a.domBottom=a.domTop+(a.bottom-a.top),s=a.bottom}toDOM(e){for(let t=0,i=0,r=0;;t++){let s=tLu(r,e)):n._content)}const ef=Ue.define({combine:n=>n.join(" ")}),fm=Ue.define({combine:n=>n.indexOf(!0)>-1}),dm=ko.newName(),xk=ko.newName(),Pk=ko.newName(),kk={"&light":"."+xk,"&dark":"."+Pk};function pm(n,e,t){return new ko(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,r=>{if(r=="&")return n;if(!t||!t[r])throw new RangeError(`Unsupported selector: ${r}`);return t[r]}):n+" "+i}})}const v5=pm("."+dm,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},kk);class S5{constructor(e,t,i,r){this.typeOver=r,this.bounds=null,this.text="";let{impreciseHead:s,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,i,0))){let a=s||o?[]:x5(e),h=new ak(a,e.state);h.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=h.text,this.newSel=P5(a,this.bounds.from)}else{let a=e.observer.selectionRange,h=s&&s.node==a.focusNode&&s.offset==a.focusOffset||!Xa(e.contentDOM,a.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),f=o&&o.node==a.anchorNode&&o.offset==a.anchorOffset||!Xa(e.contentDOM,a.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset);this.newSel=me.single(f,h)}}}function _k(n,e){let t,{newSel:i}=e,r=n.state.selection.main,s=n.inputState.lastKeyTime>Date.now()-100?n.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:a}=e.bounds,h=r.from,f=null;(s===8||Ye.android&&e.text.length=r.from&&t.to<=r.to&&(t.from!=r.from||t.to!=r.to)&&r.to-r.from-(t.to-t.from)<=4?t={from:r.from,to:r.to,insert:n.state.doc.slice(r.from,t.from).append(t.insert).append(n.state.doc.slice(t.to,r.to))}:(Ye.mac||Ye.android)&&t&&t.from==t.to&&t.from==r.head-1&&/^\. ?$/.test(t.insert.toString())&&n.contentDOM.getAttribute("autocorrect")=="off"?(i&&t.insert.length==2&&(i=me.single(i.main.anchor-1,i.main.head-1)),t={from:r.from,to:r.to,insert:$t.of([" "])}):Ye.chrome&&t&&t.from==t.to&&t.from==r.head&&t.insert.toString()==` `&&n.lineWrapping&&(i&&(i=me.single(i.main.anchor-1,i.main.head-1)),t={from:r.from,to:r.to,insert:$t.of([" "])}),t){let o=n.state;if(Ye.ios&&n.inputState.flushIOSKey(n)||Ye.android&&(t.from==r.from&&t.to==r.to&&t.insert.length==1&&t.insert.lines==2&&ka(n.contentDOM,"Enter",13)||(t.from==r.from-1&&t.to==r.to&&t.insert.length==0||s==8&&t.insert.lengthp(n,t.from,t.to,a)))return!0;n.inputState.composing>=0&&n.inputState.composing++;let h;if(t.from>=r.from&&t.to<=r.to&&t.to-t.from>=(r.to-r.from)/3&&(!i||i.main.empty&&i.main.from==t.from+t.insert.length)&&n.inputState.composing<0){let p=r.fromt.to?o.sliceDoc(t.to,r.to):"";h=o.replaceSelection(n.state.toText(p+t.insert.sliceString(0,void 0,n.state.lineBreak)+O))}else{let p=o.changes(t),O=i&&i.main.to<=p.newLength?i.main:void 0;if(o.selection.ranges.length>1&&n.inputState.composing>=0&&t.to<=r.to&&t.to>=r.to-10){let v=n.state.sliceDoc(t.from,t.to),x=uk(n)||n.state.doc.lineAt(r.head),Q=r.to-t.to,R=r.to-r.from;h=o.changeByRange(M=>{if(M.from==r.from&&M.to==r.to)return{changes:p,range:O||M.map(p)};let b=M.to-Q,E=b-v.length;if(M.to-M.from!=R||n.state.sliceDoc(E,b)!=v||x&&M.to>=x.from&&M.from<=x.to)return{range:M};let $=o.changes({from:E,to:b,insert:t.insert}),W=M.to-r.to;return{changes:$,range:O?me.range(Math.max(0,O.anchor+W),Math.max(0,O.head+W)):M.map($)}})}else h={changes:p,selection:O&&o.selection.replaceRange(O)}}let f="input.type";return(n.composing||n.inputState.compositionPendingChange&&n.inputState.compositionEndedAt>Date.now()-50)&&(n.inputState.compositionPendingChange=!1,f+=".compose",n.inputState.compositionFirstChange&&(f+=".start",n.inputState.compositionFirstChange=!1)),n.dispatch(h,{scrollIntoView:!0,userEvent:f}),!0}else if(i&&!i.main.eq(r)){let o=!1,a="select";return n.inputState.lastSelectionTime>Date.now()-50&&(n.inputState.lastSelectionOrigin=="select"&&(o=!0),a=n.inputState.lastSelectionOrigin),n.dispatch({selection:i,scrollIntoView:o,userEvent:a}),!0}else return!1}function w5(n,e,t,i){let r=Math.min(n.length,e.length),s=0;for(;s0&&a>0&&n.charCodeAt(o-1)==e.charCodeAt(a-1);)o--,a--;if(i=="end"){let h=Math.max(0,s-Math.min(o,a));t-=o+h-s}if(o=o?s-t:0;s-=h,a=s+(a-o),o=s}else if(a=a?s-t:0;s-=h,o=s+(o-a),a=s}return{from:s,toA:o,toB:a}}function x5(n){let e=[];if(n.root.activeElement!=n.contentDOM)return e;let{anchorNode:t,anchorOffset:i,focusNode:r,focusOffset:s}=n.observer.selectionRange;return t&&(e.push(new zS(t,i)),(r!=t||s!=i)&&e.push(new zS(r,s))),e}function P5(n,e){if(n.length==0)return null;let t=n[0].pos,i=n.length==2?n[1].pos:t;return t>-1&&i>-1?me.single(t+e,i+e):null}const k5={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},GO=Ye.ie&&Ye.ie_version<=11;class _5{constructor(e){this.view=e,this.active=!1,this.selectionRange=new vM,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let i of t)this.queue.push(i);(Ye.ie&&Ye.ie_version<=11||Ye.ios&&e.composing)&&t.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),GO&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate)this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,i)=>t!=e[i]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,r=this.selectionRange;if(i.state.facet(rp)?i.root.activeElement!=this.dom:!Tf(i.dom,r))return;let s=r.anchorNode&&i.docView.nearest(r.anchorNode);if(s&&s.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(Ye.ie&&Ye.ie_version<=11||Ye.android&&Ye.chrome)&&!i.state.selection.main.empty&&r.focusNode&&hd(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Ye.safari&&e.root.nodeType==11&&OM(this.dom.ownerDocument)==this.dom&&Q5(this.view)||ud(e.root);if(!t||this.selectionRange.eq(t))return!1;let i=Tf(this.dom,t);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&ka(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,i=-1,r=!1;for(let s of e){let o=this.readMutation(s);o&&(o.typeOver&&(r=!0),t==-1?{from:t,to:i}=o:(t=Math.min(o.from,t),i=Math.max(o.to,i)))}return{from:t,to:i,typeOver:r}}readChange(){let{from:e,to:t,typeOver:i}=this.processRecords(),r=this.selectionChanged&&Tf(this.dom,this.selectionRange);return e<0&&!r?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new S5(this.view,e,t,i))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let i=this.view.state,r=_k(this.view,t);return this.view.state==i&&this.view.update([]),r}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.dirty|=4),e.type=="childList"){let i=iw(t,e.previousSibling||e.target.previousSibling,-1),r=iw(t,e.nextSibling||e.target.nextSibling,1);return{from:i?t.posAfter(i):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,i,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(i=this.resizeScroll)===null||i===void 0||i.disconnect(),(r=this.resizeContent)===null||r===void 0||r.disconnect();for(let s of this.scrollTargets)s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function iw(n,e,t){for(;e;){let i=Bt.get(e);if(i&&i.parent==n)return i;let r=e.parentNode;e=r!=n.dom?r:t>0?e.nextSibling:e.previousSibling}return null}function Q5(n){let e=null;function t(h){h.preventDefault(),h.stopImmediatePropagation(),e=h.getTargetRanges()[0]}if(n.contentDOM.addEventListener("beforeinput",t,!0),n.dom.ownerDocument.execCommand("indent"),n.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let i=e.startContainer,r=e.startOffset,s=e.endContainer,o=e.endOffset,a=n.docView.domAtPos(n.state.selection.main.anchor);return hd(a.node,a.offset,s,o)&&([i,r,s,o]=[s,o,i,r]),{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:o}}class qe{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=e.root||SM(e.parent)||document,this.viewState=new tw(e.state||Pt.create(e)),this.plugins=this.state.facet(Mu).map(t=>new qO(t));for(let t of this.plugins)t.update(this);this.observer=new _5(this),this.inputState=new FM(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new LS(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...e){let t=e.length==1&&e[0]instanceof Rn?e[0]:this.state.update(...e);this._dispatch(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,i=!1,r,s=this.state;for(let v of e){if(v.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=v.state}if(this.destroyed){this.viewState.state=s;return}let o=this.hasFocus,a=0,h=null;e.some(v=>v.annotation(yk))?(this.inputState.notifiedFocused=o,a=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,h=vk(s,o),h||(a=1));let f=this.observer.delayedAndroidKey,p=null;if(f?(this.observer.clearDelayedAndroidKey(),p=this.observer.readChange(),(p&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(p=null)):this.observer.clear(),s.facet(Pt.phrases)!=this.state.facet(Pt.phrases))return this.setState(s);r=dd.create(this,s,e),r.flags|=a;let O=this.viewState.scrollTarget;try{this.updateState=2;for(let v of e){if(O&&(O=O.map(v.changes)),v.scrollIntoView){let{main:x}=v.state.selection;O=new fd(x.empty?x:me.cursor(x.head,x.head>x.anchor?-1:1))}for(let x of v.effects)x.is(MS)&&(O=x.value)}this.viewState.update(r,O),this.bidiCache=pd.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),t=this.docView.update(r),this.state.facet(Wu)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(v=>v.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(ef)!=r.state.facet(ef)&&(this.viewState.mustMeasureContent=!0),(t||i||O||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let v of this.state.facet(sm))v(r);(h||p)&&Promise.resolve().then(()=>{h&&this.state==h.startState&&this.dispatch(h),p&&!_k(this,p)&&f.force&&ka(this.contentDOM,f.key,f.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new tw(e),this.plugins=e.facet(Mu).map(i=>new qO(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new LS(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Mu),i=e.state.facet(Mu);if(t!=i){let r=[];for(let s of i){let o=t.indexOf(s);if(o<0)r.push(new qO(s));else{let a=this.plugins[o];a.mustUpdate=e,r.push(a)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,i=this.scrollDOM,{scrollTop:r}=i,{scrollAnchorPos:s,scrollAnchorHeight:o}=this.viewState;r!=this.viewState.scrollTop&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(o<0)if(XP(i))s=-1,o=this.viewState.heightMap.height;else{let x=this.viewState.scrollAnchorAt(r);s=x.from,o=x.top}this.updateState=1;let h=this.viewState.measure(this);if(!h&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let f=[];h&4||([this.measureRequests,f]=[f,this.measureRequests]);let p=f.map(x=>{try{return x.read(this)}catch(Q){return ir(this.state,Q),rw}}),O=dd.create(this,this.state,[]),v=!1;O.flags|=h,t?t.flags|=h:t=O,this.updateState=2,O.empty||(this.updatePlugins(O),this.inputState.update(O),this.updateAttrs(),v=this.docView.update(O));for(let x=0;x1||Q<-1){r=i.scrollTop=r+Q,o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let a of this.state.facet(sm))a(t)}get themeClasses(){return dm+" "+(this.state.facet(fm)?Pk:xk)+" "+this.state.facet(ef)}updateAttrs(){let e=sw(this,nk,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(rp)?"true":"false",class:"cm-content",style:`${Ye.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),sw(this,X0,t);let i=this.observer.ignore(()=>{let r=im(this.contentDOM,this.contentAttrs,t),s=im(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=t,i}showAnnouncements(e){let t=!0;for(let i of e)for(let r of i.effects)if(r.is(qe.announce)){t&&(this.announceDOM.textContent=""),t=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Wu),ko.mount(this.root,this.styleModules.concat(v5).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;ti.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,i){return ZO(this,e,YS(this,e,t,i))}moveByGroup(e,t){return ZO(this,e,YS(this,e,t,i=>UM(this,e.head,i)))}moveToLineBoundary(e,t,i=!0){return qM(this,e,t,i)}moveVertically(e,t,i){return ZO(this,e,ZM(this,e,t,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),ck(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let i=this.docView.coordsAt(e,t);if(!i||i.left==i.right)return i;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),o=s[_a.find(s,e-r.from,-1,t)];return C0(i,o.dir==ln.LTR==t>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(ek)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>b5)return ok(e.length);let t=this.textDirectionAt(e.from);for(let r of this.bidiCache)if(r.from==e.from&&r.dir==t)return r.order;let i=TM(e.text,t);return this.bidiCache.push(new pd(e.from,e.to,t,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Ye.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{AP(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return MS.of(new fd(typeof e=="number"?me.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return Pn.define(()=>({}),{eventHandlers:e})}static theme(e,t){let i=ko.newName(),r=[ef.of(i),Wu.of(pm(`.${i}`,e))];return t&&t.dark&&r.push(fm.of(!0)),r}static baseTheme(e){return Fa.lowest(Wu.of(pm("."+dm,e,kk)))}static findFromDOM(e){var t;let i=e.querySelector(".cm-content"),r=i&&Bt.get(i)||Bt.get(e);return((t=r==null?void 0:r.rootView)===null||t===void 0?void 0:t.view)||null}}qe.styleModule=Wu;qe.inputHandler=KP;qe.focusChangeEffect=JP;qe.perLineTextDirection=ek;qe.exceptionSink=jP;qe.updateListener=sm;qe.editable=rp;qe.mouseSelectionStyle=HP;qe.dragMovesSelection=GP;qe.clickAddsSelectionRange=FP;qe.decorations=hh;qe.atomicRanges=M0;qe.scrollMargins=ik;qe.darkTheme=fm;qe.contentAttributes=X0;qe.editorAttributes=nk;qe.lineWrapping=qe.contentAttributes.of({class:"cm-lineWrapping"});qe.announce=lt.define();const b5=4096,rw={};class pd{constructor(e,t,i,r){this.from=e,this.to=t,this.dir=i,this.order=r}static update(e,t){if(t.empty)return e;let i=[],r=e.length?e[e.length-1].dir:ln.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=i[r],o=typeof s=="function"?s(n):s;o&&nm(o,t)}return t}const E5=Ye.mac?"mac":Ye.windows?"win":Ye.linux?"linux":"key";function $5(n,e){const t=n.split(/-(?!$)/);let i=t[t.length-1];i=="Space"&&(i=" ");let r,s,o,a;for(let h=0;hi.concat(r),[]))),t}function T5(n,e,t){return bk(Qk(n.state),e,n,t)}let ro=null;const A5=4e3;function R5(n,e=E5){let t=Object.create(null),i=Object.create(null),r=(o,a)=>{let h=i[o];if(h==null)i[o]=a;else if(h!=a)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,a,h,f)=>{var p,O;let v=t[o]||(t[o]=Object.create(null)),x=a.split(/ (?!$)/).map(M=>$5(M,e));for(let M=1;M{let $=ro={view:E,prefix:b,scope:o};return setTimeout(()=>{ro==$&&(ro=null)},A5),!0}]})}let Q=x.join(" ");r(Q,!1);let R=v[Q]||(v[Q]={preventDefault:!1,run:((O=(p=v._any)===null||p===void 0?void 0:p.run)===null||O===void 0?void 0:O.slice())||[]});h&&R.run.push(h),f&&(R.preventDefault=!0)};for(let o of n){let a=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let f of a){let p=t[f]||(t[f]=Object.create(null));p._any||(p._any={preventDefault:!1,run:[]});for(let O in p)p[O].run.push(o.any)}let h=o[e]||o.key;if(h)for(let f of a)s(f,h,o.run,o.preventDefault),o.shift&&s(f,"Shift-"+h,o.shift,o.preventDefault)}return t}function bk(n,e,t,i){let r=pM(e),s=Yn(r,0),o=Ji(s)==r.length&&r!=" ",a="",h=!1;ro&&ro.view==t&&ro.scope==i&&(a=ro.prefix+" ",(h=dk.indexOf(e.keyCode)<0)&&(ro=null));let f=new Set,p=Q=>{if(Q){for(let R of Q.run)if(!f.has(R)&&(f.add(R),R(t,e)))return!0;Q.preventDefault&&(h=!0)}return!1},O=n[i],v,x;if(O){if(p(O[a+tf(r,e,!o)]))return!0;if(o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Ye.windows&&e.ctrlKey&&e.altKey)&&(v=_o[e.keyCode])&&v!=r){if(p(O[a+tf(v,e,!0)]))return!0;if(e.shiftKey&&(x=ah[e.keyCode])!=r&&x!=v&&p(O[a+tf(x,e,!1)]))return!0}else if(o&&e.shiftKey&&p(O[a+tf(r,e,!0)]))return!0;if(p(O._any))return!0}return h}class Wh{constructor(e,t,i,r,s){this.className=e,this.left=t,this.top=i,this.width=r,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,i){if(i.empty){let r=e.coordsAtPos(i.head,i.assoc||1);if(!r)return[];let s=Ek(e);return[new Wh(t,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return X5(e,t,i)}}function Ek(n){let e=n.scrollDOM.getBoundingClientRect();return{left:(n.textDirection==ln.LTR?e.left:e.right-n.scrollDOM.clientWidth)-n.scrollDOM.scrollLeft,top:e.top-n.scrollDOM.scrollTop}}function lw(n,e,t){let i=me.cursor(e);return{from:Math.max(t.from,n.moveToLineBoundary(i,!1,!0).from),to:Math.min(t.to,n.moveToLineBoundary(i,!0,!0).from),type:an.Text}}function X5(n,e,t){if(t.to<=n.viewport.from||t.from>=n.viewport.to)return[];let i=Math.max(t.from,n.viewport.from),r=Math.min(t.to,n.viewport.to),s=n.textDirection==ln.LTR,o=n.contentDOM,a=o.getBoundingClientRect(),h=Ek(n),f=o.querySelector(".cm-line"),p=f&&window.getComputedStyle(f),O=a.left+(p?parseInt(p.paddingLeft)+Math.min(0,parseInt(p.textIndent)):0),v=a.right-(p?parseInt(p.paddingRight):0),x=um(n,i),Q=um(n,r),R=x.type==an.Text?x:null,M=Q.type==an.Text?Q:null;if(R&&(n.lineWrapping||x.widgetLineBreaks)&&(R=lw(n,i,R)),M&&(n.lineWrapping||Q.widgetLineBreaks)&&(M=lw(n,r,M)),R&&M&&R.from==M.from)return E($(t.from,t.to,R));{let B=R?$(t.from,null,R):W(x,!1),J=M?$(null,t.to,M):W(Q,!0),ae=[];return(R||x).to<(M||Q).from-(R&&M?1:0)||x.widgetLineBreaks>1&&B.bottom+n.defaultLineHeight/2at&&_t.from=Wt)break;ze>Mt&&Ke(Math.max(Re,Mt),B==null&&Re<=at,Math.min(ze,Wt),J==null&&ze>=mt,ke.dir)}if(Mt=zt.to+1,Mt>=Wt)break}return Pe.length==0&&Ke(at,B==null,mt,J==null,n.textDirection),{top:xe,bottom:Me,horizontal:Pe}}function W(B,J){let ae=a.top+(J?B.top:B.bottom);return{top:ae,bottom:ae,horizontal:[]}}}function M5(n,e){return n.constructor==e.constructor&&n.eq(e)}class W5{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(Xf)!=e.state.facet(Xf)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&e.view.requestMeasure(this.measureReq)}setOrder(e){let t=0,i=e.facet(Xf);for(;t!M5(t,this.drawn[i]))){let t=this.dom.firstChild,i=0;for(let r of e)r.update&&t&&r.constructor&&this.drawn[i].constructor&&r.update(t,this.drawn[i])?(t=t.nextSibling,i++):this.dom.insertBefore(r.draw(),t);for(;t;){let r=t.nextSibling;t.remove(),t=r}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Xf=Ue.define();function $k(n){return[Pn.define(e=>new W5(e,n)),Xf.of(n)]}const Ck=!Ye.ios,ch=Ue.define({combine(n){return cs(n,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function Tk(n={}){return[ch.of(n),z5,L5,I5,tk.of(!0)]}function Ak(n){return n.startState.facet(ch)!=n.state.facet(ch)}const z5=$k({above:!0,markers(n){let{state:e}=n,t=e.facet(ch),i=[];for(let r of e.selection.ranges){let s=r==e.selection.main;if(r.empty?!s||Ck:t.drawRangeCursor){let o=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=r.empty?r:me.cursor(r.head,r.head>r.anchor?-1:1);for(let h of Wh.forRange(n,o,a))i.push(h)}}return i},update(n,e){n.transactions.some(i=>i.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=Ak(n);return t&&aw(n.state,e),n.docChanged||n.selectionSet||t},mount(n,e){aw(e.state,n)},class:"cm-cursorLayer"});function aw(n,e){e.style.animationDuration=n.facet(ch).cursorBlinkRate+"ms"}const L5=$k({above:!1,markers(n){return n.state.selection.ranges.map(e=>e.empty?[]:Wh.forRange(n,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(n,e){return n.docChanged||n.selectionSet||n.viewportChanged||Ak(n)},class:"cm-selectionLayer"}),Rk={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Ck&&(Rk[".cm-line"].caretColor="transparent !important");const I5=Fa.highest(qe.theme(Rk)),Xk=lt.define({map(n,e){return n==null?null:e.mapPos(n)}}),Iu=kn.define({create(){return null},update(n,e){return n!=null&&(n=e.changes.mapPos(n)),e.effects.reduce((t,i)=>i.is(Xk)?i.value:t,n)}}),V5=Pn.fromClass(class{constructor(n){this.view=n,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(n){var e;let t=n.state.field(Iu);t==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(n.startState.field(Iu)!=t||n.docChanged||n.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let n=this.view.state.field(Iu),e=n!=null&&this.view.coordsAtPos(n);if(!e)return null;let t=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-t.left+this.view.scrollDOM.scrollLeft,top:e.top-t.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(n){this.cursor&&(n?(this.cursor.style.left=n.left+"px",this.cursor.style.top=n.top+"px",this.cursor.style.height=n.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(n){this.view.state.field(Iu)!=n&&this.view.dispatch({effects:Xk.of(n)})}},{eventHandlers:{dragover(n){this.setDropPos(this.view.posAtCoords({x:n.clientX,y:n.clientY}))},dragleave(n){(n.target==this.view.contentDOM||!this.view.contentDOM.contains(n.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function D5(){return[Iu,V5]}function uw(n,e,t,i,r){e.lastIndex=0;for(let s=n.iterRange(t,i),o=t,a;!s.next().done;o+=s.value.length)if(!s.lineBreak)for(;a=e.exec(s.value);)r(o+a.index,a)}function N5(n,e){let t=n.visibleRanges;if(t.length==1&&t[0].from==n.viewport.from&&t[0].to==n.viewport.to)return t;let i=[];for(let{from:r,to:s}of t)r=Math.max(n.state.doc.lineAt(r).from,r-e),s=Math.min(n.state.doc.lineAt(s).to,s+e),i.length&&i[i.length-1].to>=r?i[i.length-1].to=s:i.push({from:r,to:s});return i}class B5{constructor(e){const{regexp:t,decoration:i,decorate:r,boundary:s,maxLength:o=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,r)this.addMatch=(a,h,f,p)=>r(p,f,f+a[0].length,a,h);else if(typeof i=="function")this.addMatch=(a,h,f,p)=>{let O=i(a,h,f);O&&p(f,f+a[0].length,O)};else if(i)this.addMatch=(a,h,f,p)=>p(f,f+a[0].length,i);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=o}createDeco(e){let t=new Po,i=t.add.bind(t);for(let{from:r,to:s}of N5(e,this.maxLength))uw(e.state.doc,this.regexp,r,s,(o,a)=>this.addMatch(a,e,o,i));return t.finish()}updateDeco(e,t){let i=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((s,o,a,h)=>{h>e.view.viewport.from&&a1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),i,r):t}updateRange(e,t,i,r){for(let s of e.visibleRanges){let o=Math.max(s.from,i),a=Math.min(s.to,r);if(a>o){let h=e.state.doc.lineAt(o),f=h.toh.from;o--)if(this.boundary.test(h.text[o-1-h.from])){p=o;break}for(;av.push(b.range(R,M));if(h==f)for(this.regexp.lastIndex=p-h.from;(x=this.regexp.exec(h.text))&&x.indexthis.addMatch(M,e,R,Q));t=t.update({filterFrom:p,filterTo:O,filter:(R,M)=>RO,add:v})}}return t}}const Om=/x/.unicode!=null?"gu":"g",Y5=new RegExp(`[\0-\b --Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,Om),q5={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let HO=null;function U5(){var n;if(HO==null&&typeof document<"u"&&document.body){let e=document.body.style;HO=((n=e.tabSize)!==null&&n!==void 0?n:e.MozTabSize)!=null}return HO||!1}const Mf=Ue.define({combine(n){let e=cs(n,{render:null,specialChars:Y5,addSpecialChars:null});return(e.replaceTabs=!U5())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Om)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Om)),e}});function Mk(n={}){return[Mf.of(n),Z5()]}let hw=null;function Z5(){return hw||(hw=Pn.fromClass(class{constructor(n){this.view=n,this.decorations=Ge.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(n.state.facet(Mf)),this.decorations=this.decorator.createDeco(n)}makeDecorator(n){return new B5({regexp:n.specialChars,decoration:(e,t,i)=>{let{doc:r}=t.state,s=Yn(e[0],0);if(s==9){let o=r.lineAt(i),a=t.state.tabSize,h=Xh(o.text,a,i-o.from);return Ge.replace({widget:new j5((a-h%a)*this.view.defaultCharacterWidth)})}return this.decorationCache[s]||(this.decorationCache[s]=Ge.replace({widget:new H5(n,s)}))},boundary:n.replaceTabs?void 0:/[^]/})}update(n){let e=n.state.facet(Mf);n.startState.facet(Mf)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(n.view)):this.decorations=this.decorator.updateDeco(n,this.decorations)}},{decorations:n=>n.decorations}))}const F5="•";function G5(n){return n>=32?F5:n==10?"␤":String.fromCharCode(9216+n)}class H5 extends Dr{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=G5(this.code),i=e.state.phrase("Control character")+" "+(q5[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,i,t);if(r)return r;let s=document.createElement("span");return s.textContent=t,s.title=i,s.setAttribute("aria-label",i),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class j5 extends Dr{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function K5(){return e3}const J5=Ge.line({class:"cm-activeLine"}),e3=Pn.fromClass(class{constructor(n){this.decorations=this.getDeco(n)}update(n){(n.docChanged||n.selectionSet)&&(this.decorations=this.getDeco(n.view))}getDeco(n){let e=-1,t=[];for(let i of n.state.selection.ranges){let r=n.lineBlockAt(i.head);r.from>e&&(t.push(J5.range(r.from)),e=r.from)}return Ge.set(t)}},{decorations:n=>n.decorations}),gm=2e3;function t3(n,e,t){let i=Math.min(e.line,t.line),r=Math.max(e.line,t.line),s=[];if(e.off>gm||t.off>gm||e.col<0||t.col<0){let o=Math.min(e.off,t.off),a=Math.max(e.off,t.off);for(let h=i;h<=r;h++){let f=n.doc.line(h);f.length<=a&&s.push(me.range(f.from+o,f.to+a))}}else{let o=Math.min(e.col,t.col),a=Math.max(e.col,t.col);for(let h=i;h<=r;h++){let f=n.doc.line(h),p=Fg(f.text,o,n.tabSize,!0);if(p<0)s.push(me.cursor(f.to));else{let O=Fg(f.text,a,n.tabSize);s.push(me.range(f.from+p,f.from+O))}}}return s}function n3(n,e){let t=n.coordsAtPos(n.viewport.from);return t?Math.round(Math.abs((t.left-e)/n.defaultCharacterWidth)):-1}function cw(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1),i=n.state.doc.lineAt(t),r=t-i.from,s=r>gm?-1:r==i.length?n3(n,e.clientX):Xh(i.text,n.state.tabSize,t-i.from);return{line:i.number,col:s,off:r}}function i3(n,e){let t=cw(n,e),i=n.state.selection;return t?{update(r){if(r.docChanged){let s=r.changes.mapPos(r.startState.doc.line(t.line).from),o=r.state.doc.lineAt(s);t={line:o.number,col:t.col,off:Math.min(t.off,o.length)},i=i.map(r.changes)}},get(r,s,o){let a=cw(n,r);if(!a)return i;let h=t3(n.state,t,a);return h.length?o?me.create(h.concat(i.ranges)):me.create(h):i}}:null}function r3(n){let e=(n==null?void 0:n.eventFilter)||(t=>t.altKey&&t.button==0);return qe.mouseSelectionStyle.of((t,i)=>e(i)?i3(t,i):null)}const s3={Alt:[18,n=>!!n.altKey],Control:[17,n=>!!n.ctrlKey],Shift:[16,n=>!!n.shiftKey],Meta:[91,n=>!!n.metaKey]},o3={style:"cursor: crosshair"};function l3(n={}){let[e,t]=s3[n.key||"Alt"],i=Pn.fromClass(class{constructor(r){this.view=r,this.isDown=!1}set(r){this.isDown!=r&&(this.isDown=r,this.view.update([]))}},{eventHandlers:{keydown(r){this.set(r.keyCode==e||t(r))},keyup(r){(r.keyCode==e||!t(r))&&this.set(!1)},mousemove(r){this.set(t(r))}}});return[i,qe.contentAttributes.of(r=>{var s;return!((s=r.plugin(i))===null||s===void 0)&&s.isDown?o3:null})]}const nf="-10000px";class Wk{constructor(e,t,i){this.facet=t,this.createTooltipView=i,this.input=e.state.facet(t),this.tooltips=this.input.filter(r=>r),this.tooltipViews=this.tooltips.map(i)}update(e){var t;let i=e.state.facet(this.facet),r=i.filter(o=>o);if(i===this.input){for(let o of this.tooltipViews)o.update&&o.update(e);return!1}let s=[];for(let o=0;o{var e,t,i;return{position:Ye.ios?"absolute":((e=n.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=n.find(r=>r.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((i=n.find(r=>r.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||a3}}}),fw=new WeakMap,zk=Pn.fromClass(class{constructor(n){this.view=n,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=n.state.facet(jO);this.position=e.position,this.parent=e.parent,this.classes=n.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new Wk(n,z0,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),n.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let n of this.manager.tooltipViews)this.intersectionObserver.observe(n.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(n){n.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(n);e&&this.observeIntersection();let t=e||n.geometryChanged,i=n.state.facet(jO);if(i.position!=this.position){this.position=i.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;t=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(n){let e=n.create(this.view);if(e.dom.classList.add("cm-tooltip"),n.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=nf,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var n,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(n=t.destroy)===null||n===void 0||n.call(t);(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let n=this.view.dom.getBoundingClientRect();return{editor:n,parent:this.parent?this.container.getBoundingClientRect():n,pos:this.manager.tooltips.map((e,t)=>{let i=this.manager.tooltipViews[t];return i.getCoords?i.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(jO).tooltipSpace(this.view)}}writeMeasure(n){var e;let{editor:t,space:i}=n,r=[];for(let s=0;s=Math.min(t.bottom,i.bottom)||f.rightMath.min(t.right,i.right)+.1){h.style.top=nf;continue}let O=o.arrow?a.dom.querySelector(".cm-tooltip-arrow"):null,v=O?7:0,x=p.right-p.left,Q=(e=fw.get(a))!==null&&e!==void 0?e:p.bottom-p.top,R=a.offset||h3,M=this.view.textDirection==ln.LTR,b=p.width>i.right-i.left?M?i.left:i.right-p.width:M?Math.min(f.left-(O?14:0)+R.x,i.right-x):Math.max(i.left,f.left-x+(O?14:0)-R.x),E=!!o.above;!o.strictSide&&(E?f.top-(p.bottom-p.top)-R.yi.bottom)&&E==i.bottom-f.bottom>f.top-i.top&&(E=!E);let $=(E?f.top-i.top:i.bottom-f.bottom)-v;if($b&&J.topW&&(W=E?J.top-Q-2-v:J.bottom+v+2);this.position=="absolute"?(h.style.top=W-n.parent.top+"px",h.style.left=b-n.parent.left+"px"):(h.style.top=W+"px",h.style.left=b+"px"),O&&(O.style.left=`${f.left+(M?R.x:-R.x)-(b+14-7)}px`),a.overlap!==!0&&r.push({left:b,top:W,right:B,bottom:W+Q}),h.classList.toggle("cm-tooltip-above",E),h.classList.toggle("cm-tooltip-below",!E),a.positioned&&a.positioned(n.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let n of this.manager.tooltipViews)n.dom.style.top=nf}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),u3=qe.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),h3={x:0,y:0},z0=Ue.define({enables:[zk,u3]}),Od=Ue.define();class L0{constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new Wk(e,Od,t=>this.createHostedView(t))}static create(e){return new L0(e)}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)===null||e===void 0||e.call(t)}}const c3=z0.compute([Od],n=>{let e=n.facet(Od).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:L0.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class f3{constructor(e,t,i,r,s){this.view=e,this.source=t,this.field=i,this.setHover=r,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;ei.bottom||e.xi.right+this.view.defaultCharacterWidth)return;let r=this.view.bidiSpans(this.view.state.doc.lineAt(t)).find(a=>a.from<=t&&a.to>=t),s=r&&r.dir==ln.RTL?-1:1,o=this.source(this.view,t,e.x{this.pending==a&&(this.pending=null,h&&this.view.dispatch({effects:this.setHover.of(h)}))},h=>ir(this.view.state,h,"hover tooltip"))}else o&&this.view.dispatch({effects:this.setHover.of(o)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!dw(this.lastMove.target)||this.pending){let{pos:r}=i||this.pending,s=(t=i==null?void 0:i.end)!==null&&t!==void 0?t:r;(r==s?this.view.posAtCoords(this.lastMove)!=r:!d3(this.view,r,s,e.clientX,e.clientY,6))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!dw(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function dw(n){for(let e=n;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function d3(n,e,t,i,r,s){let o=document.createRange(),a=n.domAtPos(e),h=n.domAtPos(t);o.setEnd(h.node,h.offset),o.setStart(a.node,a.offset);let f=o.getClientRects();o.detach();for(let p=0;pOd.from(r)});return[i,Pn.define(r=>new f3(r,n,i,t,e.hoverTime||300)),c3]}function O3(n,e){let t=n.plugin(zk);if(!t)return null;let i=t.manager.tooltips.indexOf(e);return i<0?null:t.manager.tooltipViews[i]}const g3=lt.define(),pw=Ue.define({combine(n){let e,t;for(let i of n)e=e||i.topContainer,t=t||i.bottomContainer;return{topContainer:e,bottomContainer:t}}});function fh(n,e){let t=n.plugin(Lk),i=t?t.specs.indexOf(e):-1;return i>-1?t.panels[i]:null}const Lk=Pn.fromClass(class{constructor(n){this.input=n.state.facet(dh),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(n));let e=n.state.facet(pw);this.top=new rf(n,!0,e.topContainer),this.bottom=new rf(n,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(n){let e=n.state.facet(pw);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new rf(n.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new rf(n.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=n.state.facet(dh);if(t!=this.input){let i=t.filter(h=>h),r=[],s=[],o=[],a=[];for(let h of i){let f=this.specs.indexOf(h),p;f<0?(p=h(n.view),a.push(p)):(p=this.panels[f],p.update&&p.update(n)),r.push(p),(p.top?s:o).push(p)}this.specs=i,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let h of a)h.dom.classList.add("cm-panel"),h.mount&&h.mount()}else for(let i of this.panels)i.update&&i.update(n)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:n=>qe.scrollMargins.of(e=>{let t=e.plugin(n);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class rf{constructor(e,t,i){this.view=e,this.top=t,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=Ow(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=Ow(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function Ow(n){let e=n.nextSibling;return n.remove(),e}const dh=Ue.define({enables:Lk});class Ms extends ml{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Ms.prototype.elementClass="";Ms.prototype.toDOM=void 0;Ms.prototype.mapMode=gi.TrackBefore;Ms.prototype.startSide=Ms.prototype.endSide=-1;Ms.prototype.point=!0;const Wf=Ue.define(),m3={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Qt.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Zu=Ue.define();function y3(n){return[Ik(),Zu.of(Object.assign(Object.assign({},m3),n))]}const mm=Ue.define({combine:n=>n.some(e=>e)});function Ik(n){let e=[v3];return n&&n.fixed===!1&&e.push(mm.of(!0)),e}const v3=Pn.fromClass(class{constructor(n){this.view=n,this.prevViewport=n.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=n.state.facet(Zu).map(e=>new mw(n,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!n.state.facet(mm),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),n.scrollDOM.insertBefore(this.dom,n.contentDOM)}update(n){if(this.updateGutters(n)){let e=this.prevViewport,t=n.view.viewport,i=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(i<(t.to-t.from)*.8)}n.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(mm)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=n.view.viewport}syncGutters(n){let e=this.dom.nextSibling;n&&this.dom.remove();let t=Qt.iter(this.view.state.facet(Wf),this.view.viewport.from),i=[],r=this.gutters.map(s=>new S3(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(i.length&&(i=[]),Array.isArray(s.type)){let o=!0;for(let a of s.type)if(a.type==an.Text&&o){ym(t,i,a.from);for(let h of r)h.line(this.view,a,i);o=!1}else if(a.widget)for(let h of r)h.widget(this.view,a)}else if(s.type==an.Text){ym(t,i,s.from);for(let o of r)o.line(this.view,s,i)}for(let s of r)s.finish();n&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(n){let e=n.startState.facet(Zu),t=n.state.facet(Zu),i=n.docChanged||n.heightChanged||n.viewportChanged||!Qt.eq(n.startState.facet(Wf),n.state.facet(Wf),n.view.viewport.from,n.view.viewport.to);if(e==t)for(let r of this.gutters)r.update(n)&&(i=!0);else{i=!0;let r=[];for(let s of t){let o=e.indexOf(s);o<0?r.push(new mw(this.view,s)):(this.gutters[o].update(n),r.push(this.gutters[o]))}for(let s of this.gutters)s.dom.remove(),r.indexOf(s)<0&&s.destroy();for(let s of r)this.dom.appendChild(s.dom);this.gutters=r}return i}destroy(){for(let n of this.gutters)n.destroy();this.dom.remove()}},{provide:n=>qe.scrollMargins.of(e=>{let t=e.plugin(n);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==ln.LTR?{left:t.dom.offsetWidth}:{right:t.dom.offsetWidth}})});function gw(n){return Array.isArray(n)?n:[n]}function ym(n,e,t){for(;n.value&&n.from<=t;)n.from==t&&e.push(n.value),n.next()}class S3{constructor(e,t,i){this.gutter=e,this.height=i,this.i=0,this.cursor=Qt.iter(e.markers,t.from)}addElement(e,t,i){let{gutter:r}=this,s=t.top-this.height;if(this.i==r.elements.length){let o=new Vk(e,t.height,s,i);r.elements.push(o),r.dom.appendChild(o.dom)}else r.elements[this.i].update(e,t.height,s,i);this.height=t.bottom,this.i++}line(e,t,i){let r=[];ym(this.cursor,r,t.from),i.length&&(r=r.concat(i));let s=this.gutter.config.lineMarker(e,t,r);s&&r.unshift(s);let o=this.gutter;r.length==0&&!o.config.renderEmptyElements||this.addElement(e,t,r)}widget(e,t){let i=this.gutter.config.widgetMarker(e,t.widget,t);i&&this.addElement(e,t,[i])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class mw{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in t.domEventHandlers)this.dom.addEventListener(i,r=>{let s=r.target,o;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let h=s.getBoundingClientRect();o=(h.top+h.bottom)/2}else o=r.clientY;let a=e.lineBlockAtHeight(o-e.documentTop);t.domEventHandlers[i](e,a,r)&&r.preventDefault()});this.markers=gw(t.markers(e)),t.initialSpacer&&(this.spacer=new Vk(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=gw(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let i=e.view.viewport;return!Qt.eq(this.markers,t,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class Vk{constructor(e,t,i,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,i,r)}update(e,t,i,r){this.height!=t&&(this.dom.style.height=(this.height=t)+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),w3(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let i="cm-gutterElement",r=this.dom.firstChild;for(let s=0,o=0;;){let a=o,h=ss(a,h,f)||o(a,h,f):o}return i}})}});class KO extends Ms{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function JO(n,e){return n.state.facet(oa).formatNumber(e,n.state)}const P3=Zu.compute([oa],n=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(x3)},lineMarker(e,t,i){return i.some(r=>r.toDOM)?null:new KO(JO(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(oa)!=e.state.facet(oa),initialSpacer(e){return new KO(JO(e,yw(e.state.doc.lines)))},updateSpacer(e,t){let i=JO(t.view,yw(t.view.state.doc.lines));return i==e.number?e:new KO(i)},domEventHandlers:n.facet(oa).domEventHandlers}));function k3(n={}){return[oa.of(n),Ik(),P3]}function yw(n){let e=9;for(;e{let e=[],t=-1;for(let i of n.selection.ranges){let r=n.doc.lineAt(i.head).from;r>t&&(t=r,e.push(_3.range(r)))}return Qt.of(e)});function b3(){return Q3}var eg;const la=new gt;function E3(n){return Ue.define({combine:n?e=>e.concat(n):void 0})}const $3=new gt;class Wr{constructor(e,t,i=[],r=""){this.data=e,this.name=r,Pt.prototype.hasOwnProperty("tree")||Object.defineProperty(Pt.prototype,"tree",{get(){return si(this)}}),this.parser=t,this.extension=[Eo.of(this),Pt.languageData.of((s,o,a)=>{let h=vw(s,o,a),f=h.type.prop(la);if(!f)return[];let p=s.facet(f),O=h.type.prop($3);if(O){let v=h.resolve(o-h.from,a);for(let x of O)if(x.test(v,s)){let Q=s.facet(x.facet);return x.type=="replace"?Q:Q.concat(p)}}return p})].concat(i)}isActiveAt(e,t,i=-1){return vw(e,t,i).type.prop(la)==this.data}findRegions(e){let t=e.facet(Eo);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let i=[],r=(s,o)=>{if(s.prop(la)==this.data){i.push({from:o,to:o+s.length});return}let a=s.prop(gt.mounted);if(a){if(a.tree.prop(la)==this.data){if(a.overlay)for(let h of a.overlay)i.push({from:h.from+o,to:h.to+o});else i.push({from:o,to:o+s.length});return}else if(a.overlay){let h=i.length;if(r(a.tree,a.overlay[0].from+o),i.length>h)return}}for(let h=0;hi.isTop?t:void 0)]}),e.name)}configure(e,t){return new gd(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function si(n){let e=n.field(Wr.state,!1);return e?e.tree:wn.empty}class C3{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let i=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-i,t-i)}}let _u=null;class md{constructor(e,t,i=[],r,s,o,a,h){this.parser=e,this.state=t,this.fragments=i,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=a,this.scheduleOn=h,this.parse=null,this.tempSkipped=[]}static create(e,t,i){return new md(e,t,[],wn.empty,0,i,[],null)}startParse(){return this.parser.startParse(new C3(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=wn.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(dl.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=_u;_u=this;try{return e()}finally{_u=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Sw(e,t.from,t.to);return e}changes(e,t){let{fragments:i,tree:r,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let h=[];if(e.iterChangedRanges((f,p,O,v)=>h.push({fromA:f,toA:p,fromB:O,toB:v})),i=dl.applyChanges(i,h),r=wn.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){a=[];for(let f of this.skipped){let p=e.mapPos(f.from,1),O=e.mapPos(f.to,-1);pe.from&&(this.fragments=Sw(this.fragments,r,s),this.skipped.splice(i--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends hP{createParse(t,i,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let h=_u;if(h){for(let f of r)h.tempSkipped.push(f);e&&(h.scheduleOn=h.scheduleOn?Promise.all([h.scheduleOn,e]):e)}return this.parsedPos=o,new wn(Ii.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return _u}}function Sw(n,e,t){return dl.applyChanges(n,[{fromA:e,toA:t,fromB:e,toB:t}])}class za{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),i=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,i)||t.takeTree(),new za(t)}static init(e){let t=Math.min(3e3,e.doc.length),i=md.create(e.facet(Eo).parser,e,{from:0,to:t});return i.work(20,t)||i.takeTree(),new za(i)}}Wr.state=kn.define({create:za.init,update(n,e){for(let t of e.effects)if(t.is(Wr.setState))return t.value;return e.startState.facet(Eo)!=e.state.facet(Eo)?za.init(e.state):n.apply(e)}});let Dk=n=>{let e=setTimeout(()=>n(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Dk=n=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(n,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const tg=typeof navigator<"u"&&(!((eg=navigator.scheduling)===null||eg===void 0)&&eg.isInputPending)?()=>navigator.scheduling.isInputPending():null,T3=Pn.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Wr.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Wr.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=Dk(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,h=s.context.work(()=>tg&&tg()||Date.now()>o,r+(a?0:1e5));this.chunkBudget-=Date.now()-t,(h||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Wr.setState.of(new za(s.context))})),this.chunkBudget>0&&!(h&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>ir(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Eo=Ue.define({combine(n){return n.length?n[0]:null},enables:n=>[Wr.state,T3,qe.contentAttributes.compute([n],e=>{let t=e.facet(n);return t&&t.name?{"data-language":t.name}:{}})]});class A3{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const R3=Ue.define(),op=Ue.define({combine:n=>{if(!n.length)return" ";let e=n[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(n[0]));return e}});function yd(n){let e=n.facet(op);return e.charCodeAt(0)==9?n.tabSize*e.length:e.length}function ph(n,e){let t="",i=n.tabSize,r=n.facet(op)[0];if(r==" "){for(;e>=i;)t+=" ",e-=i;r=" "}for(let s=0;s=i.from&&r<=i.to?s&&r==e?{text:"",from:e}:(t<0?r-1&&(s+=o-this.countColumn(i,i.search(/\S|$/))),s}countColumn(e,t=e.length){return Xh(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:i,from:r}=this.lineAt(e,t),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Nk=new gt;function X3(n,e,t){return Bk(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,n)}function M3(n){return n.pos==n.options.simulateBreak&&n.options.simulateDoubleBreak}function W3(n){let e=n.type.prop(Nk);if(e)return e;let t=n.firstChild,i;if(t&&(i=t.type.prop(gt.closedBy))){let r=n.lastChild,s=r&&i.indexOf(r.name)>-1;return o=>V3(o,!0,1,void 0,s&&!M3(o)?r.from:void 0)}return n.parent==null?z3:null}function Bk(n,e,t){for(;n;n=n.parent){let i=W3(n);if(i)return i(V0.create(t,e,n))}return null}function z3(){return 0}class V0 extends lp{constructor(e,t,i){super(e.state,e.options),this.base=e,this.pos=t,this.node=i}static create(e,t,i){return new V0(e,t,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let i=e.resolve(t.from);for(;i.parent&&i.parent.from==i.from;)i=i.parent;if(L3(i,e))break;t=this.state.doc.lineAt(i.from)}return this.lineIndent(t.from)}continue(){let e=this.node.parent;return e?Bk(e,this.pos,this.base):0}}function L3(n,e){for(let t=e;t;t=t.parent)if(n==t)return!0;return!1}function I3(n){let e=n.node,t=e.childAfter(e.from),i=e.lastChild;if(!t)return null;let r=n.options.simulateBreak,s=n.state.doc.lineAt(t.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let a=t.to;;){let h=e.childAfter(a);if(!h||h==i)return null;if(!h.type.isSkipped)return h.from{let i=n&&n.test(t.textAfter);return t.baseIndent+(i?0:e*t.unit)}}const D3=200;function N3(){return Pt.transactionFilter.of(n=>{if(!n.docChanged||!n.isUserEvent("input.type")&&!n.isUserEvent("input.complete"))return n;let e=n.startState.languageDataAt("indentOnInput",n.startState.selection.main.head);if(!e.length)return n;let t=n.newDoc,{head:i}=n.newSelection.main,r=t.lineAt(i);if(i>r.from+D3)return n;let s=t.sliceString(r.from,i);if(!e.some(f=>f.test(s)))return n;let{state:o}=n,a=-1,h=[];for(let{head:f}of o.selection.ranges){let p=o.doc.lineAt(f);if(p.from==a)continue;a=p.from;let O=I0(o,p.from);if(O==null)continue;let v=/^\s*/.exec(p.text)[0],x=ph(o,O);v!=x&&h.push({from:p.from,to:p.from+v.length,insert:x})}return h.length?[n,{changes:h,sequential:!0}]:n})}const B3=Ue.define(),Yk=new gt;function Y3(n){let e=n.firstChild,t=n.lastChild;return e&&e.tot)continue;if(s&&o.from=e&&h.to>t&&(s=h)}}return s}function U3(n){let e=n.lastChild;return e&&e.to==n.to&&e.type.isError}function vd(n,e,t){for(let i of n.facet(B3)){let r=i(n,e,t);if(r)return r}return q3(n,e,t)}function qk(n,e){let t=e.mapPos(n.from,1),i=e.mapPos(n.to,-1);return t>=i?void 0:{from:t,to:i}}const ap=lt.define({map:qk}),zh=lt.define({map:qk});function Uk(n){let e=[];for(let{head:t}of n.state.selection.ranges)e.some(i=>i.from<=t&&i.to>=t)||e.push(n.lineBlockAt(t));return e}const vl=kn.define({create(){return Ge.none},update(n,e){n=n.map(e.changes);for(let t of e.effects)t.is(ap)&&!Z3(n,t.value.from,t.value.to)?n=n.update({add:[xw.range(t.value.from,t.value.to)]}):t.is(zh)&&(n=n.update({filter:(i,r)=>t.value.from!=i||t.value.to!=r,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:i}=e.selection.main;n.between(i,i,(r,s)=>{ri&&(t=!0)}),t&&(n=n.update({filterFrom:i,filterTo:i,filter:(r,s)=>s<=i||r>=i}))}return n},provide:n=>qe.decorations.from(n),toJSON(n,e){let t=[];return n.between(0,e.doc.length,(i,r)=>{t.push(i,r)}),t},fromJSON(n){if(!Array.isArray(n)||n.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let t=0;t{(!r||r.from>s)&&(r={from:s,to:o})}),r}function Z3(n,e,t){let i=!1;return n.between(e,e,(r,s)=>{r==e&&s==t&&(i=!0)}),i}function Zk(n,e){return n.field(vl,!1)?e:e.concat(lt.appendConfig.of(Hk()))}const F3=n=>{for(let e of Uk(n)){let t=vd(n.state,e.from,e.to);if(t)return n.dispatch({effects:Zk(n.state,[ap.of(t),Fk(n,t)])}),!0}return!1},G3=n=>{if(!n.state.field(vl,!1))return!1;let e=[];for(let t of Uk(n)){let i=Sd(n.state,t.from,t.to);i&&e.push(zh.of(i),Fk(n,i,!1))}return e.length&&n.dispatch({effects:e}),e.length>0};function Fk(n,e,t=!0){let i=n.state.doc.lineAt(e.from).number,r=n.state.doc.lineAt(e.to).number;return qe.announce.of(`${n.state.phrase(t?"Folded lines":"Unfolded lines")} ${i} ${n.state.phrase("to")} ${r}.`)}const H3=n=>{let{state:e}=n,t=[];for(let i=0;i{let e=n.state.field(vl,!1);if(!e||!e.size)return!1;let t=[];return e.between(0,n.state.doc.length,(i,r)=>{t.push(zh.of({from:i,to:r}))}),n.dispatch({effects:t}),!0},K3=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:F3},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:G3},{key:"Ctrl-Alt-[",run:H3},{key:"Ctrl-Alt-]",run:j3}],J3={placeholderDOM:null,placeholderText:"…"},Gk=Ue.define({combine(n){return cs(n,J3)}});function Hk(n){let e=[vl,nW];return n&&e.push(Gk.of(n)),e}const xw=Ge.replace({widget:new class extends Dr{toDOM(n){let{state:e}=n,t=e.facet(Gk),i=s=>{let o=n.lineBlockAt(n.posAtDOM(s.target)),a=Sd(n.state,o.from,o.to);a&&n.dispatch({effects:zh.of(a)}),s.preventDefault()};if(t.placeholderDOM)return t.placeholderDOM(n,i);let r=document.createElement("span");return r.textContent=t.placeholderText,r.setAttribute("aria-label",e.phrase("folded code")),r.title=e.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),eW={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ng extends Ms{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function tW(n={}){let e=Object.assign(Object.assign({},eW),n),t=new ng(e,!0),i=new ng(e,!1),r=Pn.fromClass(class{constructor(o){this.from=o.viewport.from,this.markers=this.buildMarkers(o)}update(o){(o.docChanged||o.viewportChanged||o.startState.facet(Eo)!=o.state.facet(Eo)||o.startState.field(vl,!1)!=o.state.field(vl,!1)||si(o.startState)!=si(o.state)||e.foldingChanged(o))&&(this.markers=this.buildMarkers(o.view))}buildMarkers(o){let a=new Po;for(let h of o.viewportLineBlocks){let f=Sd(o.state,h.from,h.to)?i:vd(o.state,h.from,h.to)?t:null;f&&a.add(h.from,h.from,f)}return a.finish()}}),{domEventHandlers:s}=e;return[r,y3({class:"cm-foldGutter",markers(o){var a;return((a=o.plugin(r))===null||a===void 0?void 0:a.markers)||Qt.empty},initialSpacer(){return new ng(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(o,a,h)=>{if(s.click&&s.click(o,a,h))return!0;let f=Sd(o.state,a.from,a.to);if(f)return o.dispatch({effects:zh.of(f)}),!0;let p=vd(o.state,a.from,a.to);return p?(o.dispatch({effects:ap.of(p)}),!0):!1}})}),Hk()]}const nW=qe.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class up{constructor(e,t){this.specs=e;let i;function r(a){let h=ko.newName();return(i||(i=Object.create(null)))["."+h]=a,h}const s=typeof t.all=="string"?t.all:t.all?r(t.all):void 0,o=t.scope;this.scope=o instanceof Wr?a=>a.prop(la)==o.data:o?a=>a==o:void 0,this.style=dP(e.map(a=>({tag:a.tag,class:a.class||r(Object.assign({},a,{tag:null}))})),{all:s}).style,this.module=i?new ko(i):null,this.themeType=t.themeType}static define(e,t){return new up(e,t||{})}}const vm=Ue.define(),jk=Ue.define({combine(n){return n.length?[n[0]]:null}});function ig(n){let e=n.facet(vm);return e.length?e:n.facet(jk)}function Kk(n,e){let t=[rW],i;return n instanceof up&&(n.module&&t.push(qe.styleModule.of(n.module)),i=n.themeType),e!=null&&e.fallback?t.push(jk.of(n)):i?t.push(vm.computeN([qe.darkTheme],r=>r.facet(qe.darkTheme)==(i=="dark")?[n]:[])):t.push(vm.of(n)),t}class iW{constructor(e){this.markCache=Object.create(null),this.tree=si(e.state),this.decorations=this.buildDeco(e,ig(e.state))}update(e){let t=si(e.state),i=ig(e.state),r=i!=ig(e.startState);t.length{i.add(o,a,this.markCache[h]||(this.markCache[h]=Ge.mark({class:h})))},r,s);return i.finish()}}const rW=Fa.high(Pn.fromClass(iW,{decorations:n=>n.decorations})),Jk=up.define([{tag:he.meta,color:"#404740"},{tag:he.link,textDecoration:"underline"},{tag:he.heading,textDecoration:"underline",fontWeight:"bold"},{tag:he.emphasis,fontStyle:"italic"},{tag:he.strong,fontWeight:"bold"},{tag:he.strikethrough,textDecoration:"line-through"},{tag:he.keyword,color:"#708"},{tag:[he.atom,he.bool,he.url,he.contentSeparator,he.labelName],color:"#219"},{tag:[he.literal,he.inserted],color:"#164"},{tag:[he.string,he.deleted],color:"#a11"},{tag:[he.regexp,he.escape,he.special(he.string)],color:"#e40"},{tag:he.definition(he.variableName),color:"#00f"},{tag:he.local(he.variableName),color:"#30a"},{tag:[he.typeName,he.namespace],color:"#085"},{tag:he.className,color:"#167"},{tag:[he.special(he.variableName),he.macroName],color:"#256"},{tag:he.definition(he.propertyName),color:"#00c"},{tag:he.comment,color:"#940"},{tag:he.invalid,color:"#f00"}]),sW=qe.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),e_=1e4,t_="()[]{}",n_=Ue.define({combine(n){return cs(n,{afterCursor:!0,brackets:t_,maxScanDistance:e_,renderMatch:aW})}}),oW=Ge.mark({class:"cm-matchingBracket"}),lW=Ge.mark({class:"cm-nonmatchingBracket"});function aW(n){let e=[],t=n.matched?oW:lW;return e.push(t.range(n.start.from,n.start.to)),n.end&&e.push(t.range(n.end.from,n.end.to)),e}const uW=kn.define({create(){return Ge.none},update(n,e){if(!e.docChanged&&!e.selection)return n;let t=[],i=e.state.facet(n_);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=is(e.state,r.head,-1,i)||r.head>0&&is(e.state,r.head-1,1,i)||i.afterCursor&&(is(e.state,r.head,1,i)||r.headqe.decorations.from(n)}),hW=[uW,sW];function cW(n={}){return[n_.of(n),hW]}const fW=new gt;function Sm(n,e,t){let i=n.prop(e<0?gt.openedBy:gt.closedBy);if(i)return i;if(n.name.length==1){let r=t.indexOf(n.name);if(r>-1&&r%2==(e<0?1:0))return[t[r+e]]}return null}function wm(n){let e=n.type.prop(fW);return e?e(n.node):n}function is(n,e,t,i={}){let r=i.maxScanDistance||e_,s=i.brackets||t_,o=si(n),a=o.resolveInner(e,t);for(let h=a;h;h=h.parent){let f=Sm(h.type,t,s);if(f&&h.from0?e>=p.from&&ep.from&&e<=p.to))return dW(n,e,t,h,p,f,s)}}return pW(n,e,t,o,a.type,r,s)}function dW(n,e,t,i,r,s,o){let a=i.parent,h={from:r.from,to:r.to},f=0,p=a==null?void 0:a.cursor();if(p&&(t<0?p.childBefore(i.from):p.childAfter(i.to)))do if(t<0?p.to<=i.from:p.from>=i.to){if(f==0&&s.indexOf(p.type.name)>-1&&p.from0)return null;let f={from:t<0?e-1:e,to:t>0?e+1:e},p=n.doc.iterRange(e,t>0?n.doc.length:0),O=0;for(let v=0;!p.next().done&&v<=s;){let x=p.value;t<0&&(v+=x.length);let Q=e+v*t;for(let R=t>0?0:x.length-1,M=t>0?x.length:-1;R!=M;R+=t){let b=o.indexOf(x[R]);if(!(b<0||i.resolveInner(Q+R,1).type!=r))if(b%2==0==t>0)O++;else{if(O==1)return{start:f,end:{from:Q+R,to:Q+R+1},matched:b>>1==h>>1};O--}}t>0&&(v+=x.length)}return p.done?{start:f,matched:!1}:null}const OW=Object.create(null),Pw=[Ii.none],kw=[],gW=Object.create(null);for(let[n,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])gW[n]=mW(OW,e);function rg(n,e){kw.indexOf(n)>-1||(kw.push(n),console.warn(e))}function mW(n,e){let t=null;for(let s of e.split(".")){let o=n[s]||he[s];o?typeof o=="function"?t?t=o(t):rg(s,`Modifier ${s} used at start of tag`):t?rg(s,`Tag ${s} used as modifier`):t=o:rg(s,`Unknown highlighting tag ${s}`)}if(!t)return 0;let i=e.replace(/ /g,"_"),r=Ii.define({id:Pw.length,name:i,props:[cP({[i]:t})]});return Pw.push(r),r.id}const yW=gd.define({name:"rust",parser:FX.configure({props:[Nk.add({IfExpression:ww({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:n=>n.continue(),"Statement MatchArm":ww()}),Yk.add(n=>{if(/(Block|edTokens|List)$/.test(n.name))return Y3;if(n.name=="BlockComment")return e=>({from:e.from+2,to:e.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function vW(){return new A3(yW)}var ta=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hp(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var i_={exports:{}},St={};/** * @license React @@ -15,7 +15,7 @@ var oX=Object.defineProperty;var lX=(n,e,t)=>e in n?oX(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Lh=Symbol.for("react.element"),SW=Symbol.for("react.portal"),wW=Symbol.for("react.fragment"),xW=Symbol.for("react.strict_mode"),PW=Symbol.for("react.profiler"),kW=Symbol.for("react.provider"),_W=Symbol.for("react.context"),QW=Symbol.for("react.forward_ref"),bW=Symbol.for("react.suspense"),EW=Symbol.for("react.memo"),$W=Symbol.for("react.lazy"),_w=Symbol.iterator;function CW(n){return n===null||typeof n!="object"?null:(n=_w&&n[_w]||n["@@iterator"],typeof n=="function"?n:null)}var r_={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},s_=Object.assign,o_={};function Ha(n,e,t){this.props=n,this.context=e,this.refs=o_,this.updater=t||r_}Ha.prototype.isReactComponent={};Ha.prototype.setState=function(n,e){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,e,"setState")};Ha.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function l_(){}l_.prototype=Ha.prototype;function D0(n,e,t){this.props=n,this.context=e,this.refs=o_,this.updater=t||r_}var N0=D0.prototype=new l_;N0.constructor=D0;s_(N0,Ha.prototype);N0.isPureReactComponent=!0;var Qw=Array.isArray,a_=Object.prototype.hasOwnProperty,B0={current:null},u_={key:!0,ref:!0,__self:!0,__source:!0};function h_(n,e,t){var i,r={},s=null,o=null;if(e!=null)for(i in e.ref!==void 0&&(o=e.ref),e.key!==void 0&&(s=""+e.key),e)a_.call(e,i)&&!u_.hasOwnProperty(i)&&(r[i]=e[i]);var a=arguments.length-2;if(a===1)r.children=t;else if(1e in n?oX(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(n){function e(ke,Re){var ze=ke.length;ke.push(Re);e:for(;0>>1,st=ke[je];if(0>>1;jer(ai,ze))Gnr(Qr,ai)?(ke[je]=Qr,ke[Gn]=ze,je=Gn):(ke[je]=ai,ke[xi]=ze,je=xi);else if(Gnr(Qr,ze))ke[je]=Qr,ke[Gn]=ze,je=Gn;else break e}}return Re}function r(ke,Re){var ze=ke.sortIndex-Re.sortIndex;return ze!==0?ze:ke.id-Re.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();n.unstable_now=function(){return o.now()-a}}var h=[],f=[],p=1,O=null,v=3,x=!1,Q=!1,R=!1,M=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(ke){for(var Re=t(f);Re!==null;){if(Re.callback===null)i(f);else if(Re.startTime<=ke)i(f),Re.sortIndex=Re.expirationTime,e(h,Re);else break;Re=t(f)}}function W(ke){if(R=!1,$(ke),!Q)if(t(h)!==null)Q=!0,Wt(B);else{var Re=t(f);Re!==null&&zt(W,Re.startTime-ke)}}function B(ke,Re){Q=!1,R&&(R=!1,b(xe),xe=-1),x=!0;var ze=v;try{for($(Re),O=t(h);O!==null&&(!(O.expirationTime>Re)||ke&&!Ke());){var je=O.callback;if(typeof je=="function"){O.callback=null,v=O.priorityLevel;var st=je(O.expirationTime<=Re);Re=n.unstable_now(),typeof st=="function"?O.callback=st:O===t(h)&&i(h),$(Re)}else i(h);O=t(h)}if(O!==null)var Vi=!0;else{var xi=t(f);xi!==null&&zt(W,xi.startTime-Re),Vi=!1}return Vi}finally{O=null,v=ze,x=!1}}var J=!1,ae=null,xe=-1,Me=5,Pe=-1;function Ke(){return!(n.unstable_now()-Peke||125je?(ke.sortIndex=ze,e(f,ke),t(h)===null&&ke===t(f)&&(R?(b(xe),xe=-1):R=!0,zt(W,ze-je))):(ke.sortIndex=st,e(h,ke),Q||x||(Q=!0,Wt(B))),ke},n.unstable_shouldYield=Ke,n.unstable_wrapCallback=function(ke){var Re=v;return function(){var ze=v;v=Re;try{return ke.apply(this,arguments)}finally{v=ze}}}})(d_);f_.exports=d_;var MW=f_.exports;/** + */(function(n){function e(ke,Re){var ze=ke.length;ke.push(Re);e:for(;0>>1,st=ke[je];if(0>>1;jer(ai,ze))Gnr(Qr,ai)?(ke[je]=Qr,ke[Gn]=ze,je=Gn):(ke[je]=ai,ke[Pi]=ze,je=Pi);else if(Gnr(Qr,ze))ke[je]=Qr,ke[Gn]=ze,je=Gn;else break e}}return Re}function r(ke,Re){var ze=ke.sortIndex-Re.sortIndex;return ze!==0?ze:ke.id-Re.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();n.unstable_now=function(){return o.now()-a}}var h=[],f=[],p=1,O=null,v=3,x=!1,Q=!1,R=!1,M=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(ke){for(var Re=t(f);Re!==null;){if(Re.callback===null)i(f);else if(Re.startTime<=ke)i(f),Re.sortIndex=Re.expirationTime,e(h,Re);else break;Re=t(f)}}function W(ke){if(R=!1,$(ke),!Q)if(t(h)!==null)Q=!0,Wt(B);else{var Re=t(f);Re!==null&&zt(W,Re.startTime-ke)}}function B(ke,Re){Q=!1,R&&(R=!1,b(xe),xe=-1),x=!0;var ze=v;try{for($(Re),O=t(h);O!==null&&(!(O.expirationTime>Re)||ke&&!Ke());){var je=O.callback;if(typeof je=="function"){O.callback=null,v=O.priorityLevel;var st=je(O.expirationTime<=Re);Re=n.unstable_now(),typeof st=="function"?O.callback=st:O===t(h)&&i(h),$(Re)}else i(h);O=t(h)}if(O!==null)var Vi=!0;else{var Pi=t(f);Pi!==null&&zt(W,Pi.startTime-Re),Vi=!1}return Vi}finally{O=null,v=ze,x=!1}}var J=!1,ae=null,xe=-1,Me=5,Pe=-1;function Ke(){return!(n.unstable_now()-Peke||125je?(ke.sortIndex=ze,e(f,ke),t(h)===null&&ke===t(f)&&(R?(b(xe),xe=-1):R=!0,zt(W,ze-je))):(ke.sortIndex=st,e(h,ke),Q||x||(Q=!0,Wt(B))),ke},n.unstable_shouldYield=Ke,n.unstable_wrapCallback=function(ke){var Re=v;return function(){var ze=v;v=Re;try{return ke.apply(this,arguments)}finally{v=ze}}}})(d_);f_.exports=d_;var MW=f_.exports;/** * @license React * react-dom.production.min.js * @@ -31,14 +31,14 @@ var oX=Object.defineProperty;var lX=(n,e,t)=>e in n?oX(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var p_=pn,sr=MW;function Qe(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xm=Object.prototype.hasOwnProperty,WW=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ew={},$w={};function zW(n){return xm.call($w,n)?!0:xm.call(Ew,n)?!1:WW.test(n)?$w[n]=!0:(Ew[n]=!0,!1)}function LW(n,e,t,i){if(t!==null&&t.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return i?!1:t!==null?!t.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function IW(n,e,t,i){if(e===null||typeof e>"u"||LW(n,e,t,i))return!0;if(i)return!1;if(t!==null)switch(t.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function wi(n,e,t,i,r,s,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=i,this.attributeNamespace=r,this.mustUseProperty=t,this.propertyName=n,this.type=e,this.sanitizeURL=s,this.removeEmptyString=o}var Fn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Fn[n]=new wi(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var e=n[0];Fn[e]=new wi(e,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Fn[n]=new wi(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Fn[n]=new wi(n,2,!1,n,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){Fn[n]=new wi(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Fn[n]=new wi(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Fn[n]=new wi(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Fn[n]=new wi(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Fn[n]=new wi(n,5,!1,n.toLowerCase(),null,!1,!1)});var q0=/[\-:]([a-z])/g;function U0(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var e=n.replace(q0,U0);Fn[e]=new wi(e,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var e=n.replace(q0,U0);Fn[e]=new wi(e,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var e=n.replace(q0,U0);Fn[e]=new wi(e,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Fn[n]=new wi(n,1,!1,n.toLowerCase(),null,!1,!1)});Fn.xlinkHref=new wi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Fn[n]=new wi(n,1,!1,n.toLowerCase(),null,!0,!0)});function Z0(n,e,t,i){var r=Fn.hasOwnProperty(e)?Fn[e]:null;(r!==null?r.type!==0:i||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xm=Object.prototype.hasOwnProperty,WW=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ew={},$w={};function zW(n){return xm.call($w,n)?!0:xm.call(Ew,n)?!1:WW.test(n)?$w[n]=!0:(Ew[n]=!0,!1)}function LW(n,e,t,i){if(t!==null&&t.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return i?!1:t!==null?!t.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function IW(n,e,t,i){if(e===null||typeof e>"u"||LW(n,e,t,i))return!0;if(i)return!1;if(t!==null)switch(t.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function xi(n,e,t,i,r,s,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=i,this.attributeNamespace=r,this.mustUseProperty=t,this.propertyName=n,this.type=e,this.sanitizeURL=s,this.removeEmptyString=o}var Fn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Fn[n]=new xi(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var e=n[0];Fn[e]=new xi(e,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Fn[n]=new xi(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Fn[n]=new xi(n,2,!1,n,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){Fn[n]=new xi(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Fn[n]=new xi(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Fn[n]=new xi(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Fn[n]=new xi(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Fn[n]=new xi(n,5,!1,n.toLowerCase(),null,!1,!1)});var q0=/[\-:]([a-z])/g;function U0(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var e=n.replace(q0,U0);Fn[e]=new xi(e,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var e=n.replace(q0,U0);Fn[e]=new xi(e,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var e=n.replace(q0,U0);Fn[e]=new xi(e,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Fn[n]=new xi(n,1,!1,n.toLowerCase(),null,!1,!1)});Fn.xlinkHref=new xi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Fn[n]=new xi(n,1,!1,n.toLowerCase(),null,!0,!0)});function Z0(n,e,t,i){var r=Fn.hasOwnProperty(e)?Fn[e]:null;(r!==null?r.type!==0:i||!(2a||r[o]!==s[a]){var h=` `+r[o].replace(" at new "," at ");return n.displayName&&h.includes("")&&(h=h.replace("",n.displayName)),h}while(1<=o&&0<=a);break}}}finally{lg=!1,Error.prepareStackTrace=t}return(n=n?n.displayName||n.name:"")?Vu(n):""}function VW(n){switch(n.tag){case 5:return Vu(n.type);case 16:return Vu("Lazy");case 13:return Vu("Suspense");case 19:return Vu("SuspenseList");case 0:case 2:case 15:return n=ag(n.type,!1),n;case 11:return n=ag(n.type.render,!1),n;case 1:return n=ag(n.type,!0),n;default:return""}}function Qm(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case ua:return"Fragment";case aa:return"Portal";case Pm:return"Profiler";case F0:return"StrictMode";case km:return"Suspense";case _m:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case m_:return(n.displayName||"Context")+".Consumer";case g_:return(n._context.displayName||"Context")+".Provider";case G0:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case H0:return e=n.displayName||null,e!==null?e:Qm(n.type)||"Memo";case no:e=n._payload,n=n._init;try{return Qm(n(e))}catch{}}return null}function DW(n){var e=n.type;switch(n.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=e.render,n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qm(e);case 8:return e===F0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function $o(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function v_(n){var e=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function NW(n){var e=v_(n)?"checked":"value",t=Object.getOwnPropertyDescriptor(n.constructor.prototype,e),i=""+n[e];if(!n.hasOwnProperty(e)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var r=t.get,s=t.set;return Object.defineProperty(n,e,{configurable:!0,get:function(){return r.call(this)},set:function(o){i=""+o,s.call(this,o)}}),Object.defineProperty(n,e,{enumerable:t.enumerable}),{getValue:function(){return i},setValue:function(o){i=""+o},stopTracking:function(){n._valueTracker=null,delete n[e]}}}}function lf(n){n._valueTracker||(n._valueTracker=NW(n))}function S_(n){if(!n)return!1;var e=n._valueTracker;if(!e)return!0;var t=e.getValue(),i="";return n&&(i=v_(n)?n.checked?"true":"false":n.value),n=i,n!==t?(e.setValue(n),!0):!1}function wd(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function bm(n,e){var t=e.checked;return hn({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??n._wrapperState.initialChecked})}function Tw(n,e){var t=e.defaultValue==null?"":e.defaultValue,i=e.checked!=null?e.checked:e.defaultChecked;t=$o(e.value!=null?e.value:t),n._wrapperState={initialChecked:i,initialValue:t,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function w_(n,e){e=e.checked,e!=null&&Z0(n,"checked",e,!1)}function Em(n,e){w_(n,e);var t=$o(e.value),i=e.type;if(t!=null)i==="number"?(t===0&&n.value===""||n.value!=t)&&(n.value=""+t):n.value!==""+t&&(n.value=""+t);else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}e.hasOwnProperty("value")?$m(n,e.type,t):e.hasOwnProperty("defaultValue")&&$m(n,e.type,$o(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(n.defaultChecked=!!e.defaultChecked)}function Aw(n,e,t){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var i=e.type;if(!(i!=="submit"&&i!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+n._wrapperState.initialValue,t||e===n.value||(n.value=e),n.defaultValue=e}t=n.name,t!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,t!==""&&(n.name=t)}function $m(n,e,t){(e!=="number"||wd(n.ownerDocument)!==n)&&(t==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+t&&(n.defaultValue=""+t))}var Du=Array.isArray;function Qa(n,e,t,i){if(n=n.options,e){e={};for(var r=0;r"+e.valueOf().toString()+"",e=af.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;e.firstChild;)n.appendChild(e.firstChild)}});function gh(n,e){if(e){var t=n.firstChild;if(t&&t===n.lastChild&&t.nodeType===3){t.nodeValue=e;return}}n.textContent=e}var Fu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},BW=["Webkit","ms","Moz","O"];Object.keys(Fu).forEach(function(n){BW.forEach(function(e){e=e+n.charAt(0).toUpperCase()+n.substring(1),Fu[e]=Fu[n]})});function __(n,e,t){return e==null||typeof e=="boolean"||e===""?"":t||typeof e!="number"||e===0||Fu.hasOwnProperty(n)&&Fu[n]?(""+e).trim():e+"px"}function Q_(n,e){n=n.style;for(var t in e)if(e.hasOwnProperty(t)){var i=t.indexOf("--")===0,r=__(t,e[t],i);t==="float"&&(t="cssFloat"),i?n.setProperty(t,r):n[t]=r}}var YW=hn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Am(n,e){if(e){if(YW[n]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Qe(137,n));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Qe(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(Qe(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Qe(62))}}function Rm(n,e){if(n.indexOf("-")===-1)return typeof e.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xm=null;function j0(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Mm=null,ba=null,Ea=null;function Mw(n){if(n=Dh(n)){if(typeof Mm!="function")throw Error(Qe(280));var e=n.stateNode;e&&(e=Op(e),Mm(n.stateNode,n.type,e))}}function b_(n){ba?Ea?Ea.push(n):Ea=[n]:ba=n}function E_(){if(ba){var n=ba,e=Ea;if(Ea=ba=null,Mw(n),e)for(n=0;n>>=0,n===0?32:31-(t4(n)/n4|0)|0}var uf=64,hf=4194304;function Nu(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function _d(n,e){var t=n.pendingLanes;if(t===0)return 0;var i=0,r=n.suspendedLanes,s=n.pingedLanes,o=t&268435455;if(o!==0){var a=o&~r;a!==0?i=Nu(a):(s&=o,s!==0&&(i=Nu(s)))}else o=t&~r,o!==0?i=Nu(o):s!==0&&(i=Nu(s));if(i===0)return 0;if(e!==0&&e!==i&&!(e&r)&&(r=i&-i,s=e&-e,r>=s||r===16&&(s&4194240)!==0))return e;if(i&4&&(i|=t&16),e=n.entangledLanes,e!==0)for(n=n.entanglements,e&=i;0t;t++)e.push(n);return e}function Ih(n,e,t){n.pendingLanes|=e,e!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,e=31-zr(e),n[e]=t}function o4(n,e){var t=n.pendingLanes&~e;n.pendingLanes=e,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=e,n.mutableReadLanes&=e,n.entangledLanes&=e,e=n.entanglements;var i=n.eventTimes;for(n=n.expirationTimes;0=Hu),Yw=String.fromCharCode(32),qw=!1;function F_(n,e){switch(n){case"keyup":return X4.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function G_(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var ha=!1;function W4(n,e){switch(n){case"compositionend":return G_(e);case"keypress":return e.which!==32?null:(qw=!0,Yw);case"textInput":return n=e.data,n===Yw&&qw?null:n;default:return null}}function z4(n,e){if(ha)return n==="compositionend"||!s1&&F_(n,e)?(n=U_(),Vf=n1=ho=null,ha=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:t,offset:e-n};n=i}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Gw(t)}}function J_(n,e){return n&&e?n===e?!0:n&&n.nodeType===3?!1:e&&e.nodeType===3?J_(n,e.parentNode):"contains"in n?n.contains(e):n.compareDocumentPosition?!!(n.compareDocumentPosition(e)&16):!1:!1}function eQ(){for(var n=window,e=wd();e instanceof n.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)n=e.contentWindow;else break;e=wd(n.document)}return e}function o1(n){var e=n&&n.nodeName&&n.nodeName.toLowerCase();return e&&(e==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||e==="textarea"||n.contentEditable==="true")}function U4(n){var e=eQ(),t=n.focusedElem,i=n.selectionRange;if(e!==t&&t&&t.ownerDocument&&J_(t.ownerDocument.documentElement,t)){if(i!==null&&o1(t)){if(e=i.start,n=i.end,n===void 0&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if(n=(e=t.ownerDocument||document)&&e.defaultView||window,n.getSelection){n=n.getSelection();var r=t.textContent.length,s=Math.min(i.start,r);i=i.end===void 0?s:Math.min(i.end,r),!n.extend&&s>i&&(r=i,i=s,s=r),r=Hw(t,s);var o=Hw(t,i);r&&o&&(n.rangeCount!==1||n.anchorNode!==r.node||n.anchorOffset!==r.offset||n.focusNode!==o.node||n.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(r.node,r.offset),n.removeAllRanges(),s>i?(n.addRange(e),n.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),n.addRange(e)))}}for(e=[],n=t;n=n.parentNode;)n.nodeType===1&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,ca=null,Dm=null,Ku=null,Nm=!1;function jw(n,e,t){var i=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;Nm||ca==null||ca!==wd(i)||(i=ca,"selectionStart"in i&&o1(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ku&&xh(Ku,i)||(Ku=i,i=Ed(Dm,"onSelect"),0pa||(n.current=Fm[pa],Fm[pa]=null,pa--)}function Nt(n,e){pa++,Fm[pa]=n.current,n.current=e}var Co={},oi=Ro(Co),Wi=Ro(!1),wl=Co;function Ia(n,e){var t=n.type.contextTypes;if(!t)return Co;var i=n.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===e)return i.__reactInternalMemoizedMaskedChildContext;var r={},s;for(s in t)r[s]=e[s];return i&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=e,n.__reactInternalMemoizedMaskedChildContext=r),r}function zi(n){return n=n.childContextTypes,n!=null}function Cd(){Ft(Wi),Ft(oi)}function rx(n,e,t){if(oi.current!==Co)throw Error(Qe(168));Nt(oi,e),Nt(Wi,t)}function uQ(n,e,t){var i=n.stateNode;if(e=e.childContextTypes,typeof i.getChildContext!="function")return t;i=i.getChildContext();for(var r in i)if(!(r in e))throw Error(Qe(108,DW(n)||"Unknown",r));return hn({},t,i)}function Td(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Co,wl=oi.current,Nt(oi,n),Nt(Wi,Wi.current),!0}function sx(n,e,t){var i=n.stateNode;if(!i)throw Error(Qe(169));t?(n=uQ(n,e,wl),i.__reactInternalMemoizedMergedChildContext=n,Ft(Wi),Ft(oi),Nt(oi,n)):Ft(Wi),Nt(Wi,t)}var Es=null,gp=!1,xg=!1;function hQ(n){Es===null?Es=[n]:Es.push(n)}function rz(n){gp=!0,hQ(n)}function Xo(){if(!xg&&Es!==null){xg=!0;var n=0,e=Xt;try{var t=Es;for(Xt=1;n>=o,r-=o,$s=1<<32-zr(e)+r|t<xe?(Me=ae,ae=null):Me=ae.sibling;var Pe=v(b,ae,$[xe],W);if(Pe===null){ae===null&&(ae=Me);break}n&&ae&&Pe.alternate===null&&e(b,ae),E=s(Pe,E,xe),J===null?B=Pe:J.sibling=Pe,J=Pe,ae=Me}if(xe===$.length)return t(b,ae),Ht&&rl(b,xe),B;if(ae===null){for(;xe<$.length;xe++)ae=O(b,$[xe],W),ae!==null&&(E=s(ae,E,xe),J===null?B=ae:J.sibling=ae,J=ae);return Ht&&rl(b,xe),B}for(ae=i(b,ae);xe<$.length;xe++)Me=x(ae,b,xe,$[xe],W),Me!==null&&(n&&Me.alternate!==null&&ae.delete(Me.key===null?xe:Me.key),E=s(Me,E,xe),J===null?B=Me:J.sibling=Me,J=Me);return n&&ae.forEach(function(Ke){return e(b,Ke)}),Ht&&rl(b,xe),B}function R(b,E,$,W){var B=Qu($);if(typeof B!="function")throw Error(Qe(150));if($=B.call($),$==null)throw Error(Qe(151));for(var J=B=null,ae=E,xe=E=0,Me=null,Pe=$.next();ae!==null&&!Pe.done;xe++,Pe=$.next()){ae.index>xe?(Me=ae,ae=null):Me=ae.sibling;var Ke=v(b,ae,Pe.value,W);if(Ke===null){ae===null&&(ae=Me);break}n&&ae&&Ke.alternate===null&&e(b,ae),E=s(Ke,E,xe),J===null?B=Ke:J.sibling=Ke,J=Ke,ae=Me}if(Pe.done)return t(b,ae),Ht&&rl(b,xe),B;if(ae===null){for(;!Pe.done;xe++,Pe=$.next())Pe=O(b,Pe.value,W),Pe!==null&&(E=s(Pe,E,xe),J===null?B=Pe:J.sibling=Pe,J=Pe);return Ht&&rl(b,xe),B}for(ae=i(b,ae);!Pe.done;xe++,Pe=$.next())Pe=x(ae,b,xe,Pe.value,W),Pe!==null&&(n&&Pe.alternate!==null&&ae.delete(Pe.key===null?xe:Pe.key),E=s(Pe,E,xe),J===null?B=Pe:J.sibling=Pe,J=Pe);return n&&ae.forEach(function(at){return e(b,at)}),Ht&&rl(b,xe),B}function M(b,E,$,W){if(typeof $=="object"&&$!==null&&$.type===ua&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case of:e:{for(var B=$.key,J=E;J!==null;){if(J.key===B){if(B=$.type,B===ua){if(J.tag===7){t(b,J.sibling),E=r(J,$.props.children),E.return=b,b=E;break e}}else if(J.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===no&&fx(B)===J.type){t(b,J.sibling),E=r(J,$.props),E.ref=Tu(b,J,$),E.return=b,b=E;break e}t(b,J);break}else e(b,J);J=J.sibling}$.type===ua?(E=gl($.props.children,b.mode,W,$.key),E.return=b,b=E):(W=Ff($.type,$.key,$.props,null,b.mode,W),W.ref=Tu(b,E,$),W.return=b,b=W)}return o(b);case aa:e:{for(J=$.key;E!==null;){if(E.key===J)if(E.tag===4&&E.stateNode.containerInfo===$.containerInfo&&E.stateNode.implementation===$.implementation){t(b,E.sibling),E=r(E,$.children||[]),E.return=b,b=E;break e}else{t(b,E);break}else e(b,E);E=E.sibling}E=Cg($,b.mode,W),E.return=b,b=E}return o(b);case no:return J=$._init,M(b,E,J($._payload),W)}if(Du($))return Q(b,E,$,W);if(Qu($))return R(b,E,$,W);mf(b,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,E!==null&&E.tag===6?(t(b,E.sibling),E=r(E,$),E.return=b,b=E):(t(b,E),E=$g($,b.mode,W),E.return=b,b=E),o(b)):t(b,E)}return M}var Da=yQ(!0),vQ=yQ(!1),Nh={},us=Ro(Nh),Qh=Ro(Nh),bh=Ro(Nh);function cl(n){if(n===Nh)throw Error(Qe(174));return n}function O1(n,e){switch(Nt(bh,e),Nt(Qh,n),Nt(us,Nh),n=e.nodeType,n){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Tm(null,"");break;default:n=n===8?e.parentNode:e,e=n.namespaceURI||null,n=n.tagName,e=Tm(e,n)}Ft(us),Nt(us,e)}function Na(){Ft(us),Ft(Qh),Ft(bh)}function SQ(n){cl(bh.current);var e=cl(us.current),t=Tm(e,n.type);e!==t&&(Nt(Qh,n),Nt(us,t))}function g1(n){Qh.current===n&&(Ft(us),Ft(Qh))}var on=Ro(0);function zd(n){for(var e=n;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break;for(;e.sibling===null;){if(e.return===null||e.return===n)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Pg=[];function m1(){for(var n=0;nt?t:4,n(!0);var i=kg.transition;kg.transition={};try{n(!1),e()}finally{Xt=t,kg.transition=i}}function WQ(){return Pr().memoizedState}function az(n,e,t){var i=vo(n);if(t={lane:i,action:t,hasEagerState:!1,eagerState:null,next:null},zQ(n))LQ(e,t);else if(t=pQ(n,e,t,i),t!==null){var r=vi();Lr(t,n,i,r),IQ(t,e,i)}}function uz(n,e,t){var i=vo(n),r={lane:i,action:t,hasEagerState:!1,eagerState:null,next:null};if(zQ(n))LQ(e,r);else{var s=n.alternate;if(n.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var o=e.lastRenderedState,a=s(o,t);if(r.hasEagerState=!0,r.eagerState=a,Ir(a,o)){var h=e.interleaved;h===null?(r.next=r,d1(e)):(r.next=h.next,h.next=r),e.interleaved=r;return}}catch{}finally{}t=pQ(n,e,r,i),t!==null&&(r=vi(),Lr(t,n,i,r),IQ(t,e,i))}}function zQ(n){var e=n.alternate;return n===un||e!==null&&e===un}function LQ(n,e){Ju=Ld=!0;var t=n.pending;t===null?e.next=e:(e.next=t.next,t.next=e),n.pending=e}function IQ(n,e,t){if(t&4194240){var i=e.lanes;i&=n.pendingLanes,t|=i,e.lanes=t,J0(n,t)}}var Id={readContext:xr,useCallback:ti,useContext:ti,useEffect:ti,useImperativeHandle:ti,useInsertionEffect:ti,useLayoutEffect:ti,useMemo:ti,useReducer:ti,useRef:ti,useState:ti,useDebugValue:ti,useDeferredValue:ti,useTransition:ti,useMutableSource:ti,useSyncExternalStore:ti,useId:ti,unstable_isNewReconciler:!1},hz={readContext:xr,useCallback:function(n,e){return Kr().memoizedState=[n,e===void 0?null:e],n},useContext:xr,useEffect:px,useImperativeHandle:function(n,e,t){return t=t!=null?t.concat([n]):null,Yf(4194308,4,TQ.bind(null,e,n),t)},useLayoutEffect:function(n,e){return Yf(4194308,4,n,e)},useInsertionEffect:function(n,e){return Yf(4,2,n,e)},useMemo:function(n,e){var t=Kr();return e=e===void 0?null:e,n=n(),t.memoizedState=[n,e],n},useReducer:function(n,e,t){var i=Kr();return e=t!==void 0?t(e):e,i.memoizedState=i.baseState=e,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:e},i.queue=n,n=n.dispatch=az.bind(null,un,n),[i.memoizedState,n]},useRef:function(n){var e=Kr();return n={current:n},e.memoizedState=n},useState:dx,useDebugValue:x1,useDeferredValue:function(n){return Kr().memoizedState=n},useTransition:function(){var n=dx(!1),e=n[0];return n=lz.bind(null,n[1]),Kr().memoizedState=n,[e,n]},useMutableSource:function(){},useSyncExternalStore:function(n,e,t){var i=un,r=Kr();if(Ht){if(t===void 0)throw Error(Qe(407));t=t()}else{if(t=e(),Vn===null)throw Error(Qe(349));Pl&30||PQ(i,e,t)}r.memoizedState=t;var s={value:t,getSnapshot:e};return r.queue=s,px(_Q.bind(null,i,s,n),[n]),i.flags|=2048,Ch(9,kQ.bind(null,i,s,t,e),void 0,null),t},useId:function(){var n=Kr(),e=Vn.identifierPrefix;if(Ht){var t=Cs,i=$s;t=(i&~(1<<32-zr(i)-1)).toString(32)+t,e=":"+e+"R"+t,t=Eh++,0pa||(n.current=Fm[pa],Fm[pa]=null,pa--)}function Nt(n,e){pa++,Fm[pa]=n.current,n.current=e}var Co={},oi=Ro(Co),Wi=Ro(!1),wl=Co;function Ia(n,e){var t=n.type.contextTypes;if(!t)return Co;var i=n.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===e)return i.__reactInternalMemoizedMaskedChildContext;var r={},s;for(s in t)r[s]=e[s];return i&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=e,n.__reactInternalMemoizedMaskedChildContext=r),r}function zi(n){return n=n.childContextTypes,n!=null}function Cd(){Ft(Wi),Ft(oi)}function rx(n,e,t){if(oi.current!==Co)throw Error(Qe(168));Nt(oi,e),Nt(Wi,t)}function uQ(n,e,t){var i=n.stateNode;if(e=e.childContextTypes,typeof i.getChildContext!="function")return t;i=i.getChildContext();for(var r in i)if(!(r in e))throw Error(Qe(108,DW(n)||"Unknown",r));return hn({},t,i)}function Td(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Co,wl=oi.current,Nt(oi,n),Nt(Wi,Wi.current),!0}function sx(n,e,t){var i=n.stateNode;if(!i)throw Error(Qe(169));t?(n=uQ(n,e,wl),i.__reactInternalMemoizedMergedChildContext=n,Ft(Wi),Ft(oi),Nt(oi,n)):Ft(Wi),Nt(Wi,t)}var Es=null,gp=!1,xg=!1;function hQ(n){Es===null?Es=[n]:Es.push(n)}function rz(n){gp=!0,hQ(n)}function Xo(){if(!xg&&Es!==null){xg=!0;var n=0,e=Xt;try{var t=Es;for(Xt=1;n>=o,r-=o,$s=1<<32-zr(e)+r|t<xe?(Me=ae,ae=null):Me=ae.sibling;var Pe=v(b,ae,$[xe],W);if(Pe===null){ae===null&&(ae=Me);break}n&&ae&&Pe.alternate===null&&e(b,ae),E=s(Pe,E,xe),J===null?B=Pe:J.sibling=Pe,J=Pe,ae=Me}if(xe===$.length)return t(b,ae),Ht&&rl(b,xe),B;if(ae===null){for(;xe<$.length;xe++)ae=O(b,$[xe],W),ae!==null&&(E=s(ae,E,xe),J===null?B=ae:J.sibling=ae,J=ae);return Ht&&rl(b,xe),B}for(ae=i(b,ae);xe<$.length;xe++)Me=x(ae,b,xe,$[xe],W),Me!==null&&(n&&Me.alternate!==null&&ae.delete(Me.key===null?xe:Me.key),E=s(Me,E,xe),J===null?B=Me:J.sibling=Me,J=Me);return n&&ae.forEach(function(Ke){return e(b,Ke)}),Ht&&rl(b,xe),B}function R(b,E,$,W){var B=Qu($);if(typeof B!="function")throw Error(Qe(150));if($=B.call($),$==null)throw Error(Qe(151));for(var J=B=null,ae=E,xe=E=0,Me=null,Pe=$.next();ae!==null&&!Pe.done;xe++,Pe=$.next()){ae.index>xe?(Me=ae,ae=null):Me=ae.sibling;var Ke=v(b,ae,Pe.value,W);if(Ke===null){ae===null&&(ae=Me);break}n&&ae&&Ke.alternate===null&&e(b,ae),E=s(Ke,E,xe),J===null?B=Ke:J.sibling=Ke,J=Ke,ae=Me}if(Pe.done)return t(b,ae),Ht&&rl(b,xe),B;if(ae===null){for(;!Pe.done;xe++,Pe=$.next())Pe=O(b,Pe.value,W),Pe!==null&&(E=s(Pe,E,xe),J===null?B=Pe:J.sibling=Pe,J=Pe);return Ht&&rl(b,xe),B}for(ae=i(b,ae);!Pe.done;xe++,Pe=$.next())Pe=x(ae,b,xe,Pe.value,W),Pe!==null&&(n&&Pe.alternate!==null&&ae.delete(Pe.key===null?xe:Pe.key),E=s(Pe,E,xe),J===null?B=Pe:J.sibling=Pe,J=Pe);return n&&ae.forEach(function(at){return e(b,at)}),Ht&&rl(b,xe),B}function M(b,E,$,W){if(typeof $=="object"&&$!==null&&$.type===ua&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case of:e:{for(var B=$.key,J=E;J!==null;){if(J.key===B){if(B=$.type,B===ua){if(J.tag===7){t(b,J.sibling),E=r(J,$.props.children),E.return=b,b=E;break e}}else if(J.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===no&&fx(B)===J.type){t(b,J.sibling),E=r(J,$.props),E.ref=Tu(b,J,$),E.return=b,b=E;break e}t(b,J);break}else e(b,J);J=J.sibling}$.type===ua?(E=gl($.props.children,b.mode,W,$.key),E.return=b,b=E):(W=Ff($.type,$.key,$.props,null,b.mode,W),W.ref=Tu(b,E,$),W.return=b,b=W)}return o(b);case aa:e:{for(J=$.key;E!==null;){if(E.key===J)if(E.tag===4&&E.stateNode.containerInfo===$.containerInfo&&E.stateNode.implementation===$.implementation){t(b,E.sibling),E=r(E,$.children||[]),E.return=b,b=E;break e}else{t(b,E);break}else e(b,E);E=E.sibling}E=Cg($,b.mode,W),E.return=b,b=E}return o(b);case no:return J=$._init,M(b,E,J($._payload),W)}if(Du($))return Q(b,E,$,W);if(Qu($))return R(b,E,$,W);mf(b,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,E!==null&&E.tag===6?(t(b,E.sibling),E=r(E,$),E.return=b,b=E):(t(b,E),E=$g($,b.mode,W),E.return=b,b=E),o(b)):t(b,E)}return M}var Da=yQ(!0),vQ=yQ(!1),Nh={},us=Ro(Nh),Qh=Ro(Nh),bh=Ro(Nh);function cl(n){if(n===Nh)throw Error(Qe(174));return n}function O1(n,e){switch(Nt(bh,e),Nt(Qh,n),Nt(us,Nh),n=e.nodeType,n){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Tm(null,"");break;default:n=n===8?e.parentNode:e,e=n.namespaceURI||null,n=n.tagName,e=Tm(e,n)}Ft(us),Nt(us,e)}function Na(){Ft(us),Ft(Qh),Ft(bh)}function SQ(n){cl(bh.current);var e=cl(us.current),t=Tm(e,n.type);e!==t&&(Nt(Qh,n),Nt(us,t))}function g1(n){Qh.current===n&&(Ft(us),Ft(Qh))}var on=Ro(0);function zd(n){for(var e=n;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break;for(;e.sibling===null;){if(e.return===null||e.return===n)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Pg=[];function m1(){for(var n=0;nt?t:4,n(!0);var i=kg.transition;kg.transition={};try{n(!1),e()}finally{Xt=t,kg.transition=i}}function WQ(){return Pr().memoizedState}function az(n,e,t){var i=vo(n);if(t={lane:i,action:t,hasEagerState:!1,eagerState:null,next:null},zQ(n))LQ(e,t);else if(t=pQ(n,e,t,i),t!==null){var r=Si();Lr(t,n,i,r),IQ(t,e,i)}}function uz(n,e,t){var i=vo(n),r={lane:i,action:t,hasEagerState:!1,eagerState:null,next:null};if(zQ(n))LQ(e,r);else{var s=n.alternate;if(n.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var o=e.lastRenderedState,a=s(o,t);if(r.hasEagerState=!0,r.eagerState=a,Ir(a,o)){var h=e.interleaved;h===null?(r.next=r,d1(e)):(r.next=h.next,h.next=r),e.interleaved=r;return}}catch{}finally{}t=pQ(n,e,r,i),t!==null&&(r=Si(),Lr(t,n,i,r),IQ(t,e,i))}}function zQ(n){var e=n.alternate;return n===un||e!==null&&e===un}function LQ(n,e){Ju=Ld=!0;var t=n.pending;t===null?e.next=e:(e.next=t.next,t.next=e),n.pending=e}function IQ(n,e,t){if(t&4194240){var i=e.lanes;i&=n.pendingLanes,t|=i,e.lanes=t,J0(n,t)}}var Id={readContext:xr,useCallback:ti,useContext:ti,useEffect:ti,useImperativeHandle:ti,useInsertionEffect:ti,useLayoutEffect:ti,useMemo:ti,useReducer:ti,useRef:ti,useState:ti,useDebugValue:ti,useDeferredValue:ti,useTransition:ti,useMutableSource:ti,useSyncExternalStore:ti,useId:ti,unstable_isNewReconciler:!1},hz={readContext:xr,useCallback:function(n,e){return Kr().memoizedState=[n,e===void 0?null:e],n},useContext:xr,useEffect:px,useImperativeHandle:function(n,e,t){return t=t!=null?t.concat([n]):null,Yf(4194308,4,TQ.bind(null,e,n),t)},useLayoutEffect:function(n,e){return Yf(4194308,4,n,e)},useInsertionEffect:function(n,e){return Yf(4,2,n,e)},useMemo:function(n,e){var t=Kr();return e=e===void 0?null:e,n=n(),t.memoizedState=[n,e],n},useReducer:function(n,e,t){var i=Kr();return e=t!==void 0?t(e):e,i.memoizedState=i.baseState=e,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:e},i.queue=n,n=n.dispatch=az.bind(null,un,n),[i.memoizedState,n]},useRef:function(n){var e=Kr();return n={current:n},e.memoizedState=n},useState:dx,useDebugValue:x1,useDeferredValue:function(n){return Kr().memoizedState=n},useTransition:function(){var n=dx(!1),e=n[0];return n=lz.bind(null,n[1]),Kr().memoizedState=n,[e,n]},useMutableSource:function(){},useSyncExternalStore:function(n,e,t){var i=un,r=Kr();if(Ht){if(t===void 0)throw Error(Qe(407));t=t()}else{if(t=e(),Vn===null)throw Error(Qe(349));Pl&30||PQ(i,e,t)}r.memoizedState=t;var s={value:t,getSnapshot:e};return r.queue=s,px(_Q.bind(null,i,s,n),[n]),i.flags|=2048,Ch(9,kQ.bind(null,i,s,t,e),void 0,null),t},useId:function(){var n=Kr(),e=Vn.identifierPrefix;if(Ht){var t=Cs,i=$s;t=(i&~(1<<32-zr(i)-1)).toString(32)+t,e=":"+e+"R"+t,t=Eh++,0<\/script>",n=n.removeChild(n.firstChild)):typeof i.is=="string"?n=o.createElement(t,{is:i.is}):(n=o.createElement(t),t==="select"&&(o=n,i.multiple?o.multiple=!0:i.size&&(o.size=i.size))):n=o.createElementNS(n,t),n[ns]=e,n[_h]=i,FQ(n,e,!1,!1),e.stateNode=n;e:{switch(o=Rm(t,i),t){case"dialog":Ut("cancel",n),Ut("close",n),r=i;break;case"iframe":case"object":case"embed":Ut("load",n),r=i;break;case"video":case"audio":for(r=0;rYa&&(e.flags|=128,i=!0,Au(s,!1),e.lanes=4194304)}else{if(!i)if(n=zd(o),n!==null){if(e.flags|=128,i=!0,t=n.updateQueue,t!==null&&(e.updateQueue=t,e.flags|=4),Au(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Ht)return ni(e),null}else 2*vn()-s.renderingStartTime>Ya&&t!==1073741824&&(e.flags|=128,i=!0,Au(s,!1),e.lanes=4194304);s.isBackwards?(o.sibling=e.child,e.child=o):(t=s.last,t!==null?t.sibling=o:e.child=o,s.last=o)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=vn(),e.sibling=null,t=on.current,Nt(on,i?t&1|2:t&1),e):(ni(e),null);case 22:case 23:return E1(),i=e.memoizedState!==null,n!==null&&n.memoizedState!==null!==i&&(e.flags|=8192),i&&e.mode&1?Ki&1073741824&&(ni(e),e.subtreeFlags&6&&(e.flags|=8192)):ni(e),null;case 24:return null;case 25:return null}throw Error(Qe(156,e.tag))}function yz(n,e){switch(a1(e),e.tag){case 1:return zi(e.type)&&Cd(),n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 3:return Na(),Ft(Wi),Ft(oi),m1(),n=e.flags,n&65536&&!(n&128)?(e.flags=n&-65537|128,e):null;case 5:return g1(e),null;case 13:if(Ft(on),n=e.memoizedState,n!==null&&n.dehydrated!==null){if(e.alternate===null)throw Error(Qe(340));Va()}return n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 19:return Ft(on),null;case 4:return Na(),null;case 10:return f1(e.type._context),null;case 22:case 23:return E1(),null;case 24:return null;default:return null}}var vf=!1,ri=!1,vz=typeof WeakSet=="function"?WeakSet:Set,Ne=null;function ya(n,e){var t=n.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(i){dn(n,e,i)}else t.current=null}function o0(n,e,t){try{t()}catch(i){dn(n,e,i)}}var Px=!1;function Sz(n,e){if(Bm=Qd,n=eQ(),o1(n)){if("selectionStart"in n)var t={start:n.selectionStart,end:n.selectionEnd};else e:{t=(t=n.ownerDocument)&&t.defaultView||window;var i=t.getSelection&&t.getSelection();if(i&&i.rangeCount!==0){t=i.anchorNode;var r=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{t.nodeType,s.nodeType}catch{t=null;break e}var o=0,a=-1,h=-1,f=0,p=0,O=n,v=null;t:for(;;){for(var x;O!==t||r!==0&&O.nodeType!==3||(a=o+r),O!==s||i!==0&&O.nodeType!==3||(h=o+i),O.nodeType===3&&(o+=O.nodeValue.length),(x=O.firstChild)!==null;)v=O,O=x;for(;;){if(O===n)break t;if(v===t&&++f===r&&(a=o),v===s&&++p===i&&(h=o),(x=O.nextSibling)!==null)break;O=v,v=O.parentNode}O=x}t=a===-1||h===-1?null:{start:a,end:h}}else t=null}t=t||{start:0,end:0}}else t=null;for(Ym={focusedElem:n,selectionRange:t},Qd=!1,Ne=e;Ne!==null;)if(e=Ne,n=e.child,(e.subtreeFlags&1028)!==0&&n!==null)n.return=e,Ne=n;else for(;Ne!==null;){e=Ne;try{var Q=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(Q!==null){var R=Q.memoizedProps,M=Q.memoizedState,b=e.stateNode,E=b.getSnapshotBeforeUpdate(e.elementType===e.type?R:Rr(e.type,R),M);b.__reactInternalSnapshotBeforeUpdate=E}break;case 3:var $=e.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Qe(163))}}catch(W){dn(e,e.return,W)}if(n=e.sibling,n!==null){n.return=e.return,Ne=n;break}Ne=e.return}return Q=Px,Px=!1,Q}function eh(n,e,t){var i=e.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var r=i=i.next;do{if((r.tag&n)===n){var s=r.destroy;r.destroy=void 0,s!==void 0&&o0(e,t,s)}r=r.next}while(r!==i)}}function vp(n,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var t=e=e.next;do{if((t.tag&n)===n){var i=t.create;t.destroy=i()}t=t.next}while(t!==e)}}function l0(n){var e=n.ref;if(e!==null){var t=n.stateNode;switch(n.tag){case 5:n=t;break;default:n=t}typeof e=="function"?e(n):e.current=n}}function jQ(n){var e=n.alternate;e!==null&&(n.alternate=null,jQ(e)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(e=n.stateNode,e!==null&&(delete e[ns],delete e[_h],delete e[Zm],delete e[nz],delete e[iz])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function KQ(n){return n.tag===5||n.tag===3||n.tag===4}function kx(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||KQ(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function a0(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?t.nodeType===8?t.parentNode.insertBefore(n,e):t.insertBefore(n,e):(t.nodeType===8?(e=t.parentNode,e.insertBefore(n,t)):(e=t,e.appendChild(n)),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=$d));else if(i!==4&&(n=n.child,n!==null))for(a0(n,e,t),n=n.sibling;n!==null;)a0(n,e,t),n=n.sibling}function u0(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?t.insertBefore(n,e):t.appendChild(n);else if(i!==4&&(n=n.child,n!==null))for(u0(n,e,t),n=n.sibling;n!==null;)u0(n,e,t),n=n.sibling}var Nn=null,Xr=!1;function Js(n,e,t){for(t=t.child;t!==null;)JQ(n,e,t),t=t.sibling}function JQ(n,e,t){if(as&&typeof as.onCommitFiberUnmount=="function")try{as.onCommitFiberUnmount(cp,t)}catch{}switch(t.tag){case 5:ri||ya(t,e);case 6:var i=Nn,r=Xr;Nn=null,Js(n,e,t),Nn=i,Xr=r,Nn!==null&&(Xr?(n=Nn,t=t.stateNode,n.nodeType===8?n.parentNode.removeChild(t):n.removeChild(t)):Nn.removeChild(t.stateNode));break;case 18:Nn!==null&&(Xr?(n=Nn,t=t.stateNode,n.nodeType===8?wg(n.parentNode,t):n.nodeType===1&&wg(n,t),Sh(n)):wg(Nn,t.stateNode));break;case 4:i=Nn,r=Xr,Nn=t.stateNode.containerInfo,Xr=!0,Js(n,e,t),Nn=i,Xr=r;break;case 0:case 11:case 14:case 15:if(!ri&&(i=t.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){r=i=i.next;do{var s=r,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&o0(t,e,o),r=r.next}while(r!==i)}Js(n,e,t);break;case 1:if(!ri&&(ya(t,e),i=t.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=t.memoizedProps,i.state=t.memoizedState,i.componentWillUnmount()}catch(a){dn(t,e,a)}Js(n,e,t);break;case 21:Js(n,e,t);break;case 22:t.mode&1?(ri=(i=ri)||t.memoizedState!==null,Js(n,e,t),ri=i):Js(n,e,t);break;default:Js(n,e,t)}}function _x(n){var e=n.updateQueue;if(e!==null){n.updateQueue=null;var t=n.stateNode;t===null&&(t=n.stateNode=new vz),e.forEach(function(i){var r=$z.bind(null,n,i);t.has(i)||(t.add(i),i.then(r,r))})}}function Ar(n,e){var t=e.deletions;if(t!==null)for(var i=0;ir&&(r=o),i&=~s}if(i=r,i=vn()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*xz(i/1960))-i,10n?16:n,co===null)var i=!1;else{if(n=co,co=null,Nd=0,kt&6)throw Error(Qe(331));var r=kt;for(kt|=4,Ne=n.current;Ne!==null;){var s=Ne,o=s.child;if(Ne.flags&16){var a=s.deletions;if(a!==null){for(var h=0;hvn()-Q1?Ol(n,0):_1|=t),Li(n,e)}function lb(n,e){e===0&&(n.mode&1?(e=hf,hf<<=1,!(hf&130023424)&&(hf=4194304)):e=1);var t=vi();n=Ls(n,e),n!==null&&(Ih(n,e,t),Li(n,t))}function Ez(n){var e=n.memoizedState,t=0;e!==null&&(t=e.retryLane),lb(n,t)}function $z(n,e){var t=0;switch(n.tag){case 13:var i=n.stateNode,r=n.memoizedState;r!==null&&(t=r.retryLane);break;case 19:i=n.stateNode;break;default:throw Error(Qe(314))}i!==null&&i.delete(e),lb(n,t)}var ab;ab=function(n,e,t){if(n!==null)if(n.memoizedProps!==e.pendingProps||Wi.current)Ri=!0;else{if(!(n.lanes&t)&&!(e.flags&128))return Ri=!1,gz(n,e,t);Ri=!!(n.flags&131072)}else Ri=!1,Ht&&e.flags&1048576&&cQ(e,Rd,e.index);switch(e.lanes=0,e.tag){case 2:var i=e.type;qf(n,e),n=e.pendingProps;var r=Ia(e,oi.current);Ca(e,t),r=v1(null,e,i,n,r,t);var s=S1();return e.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,zi(i)?(s=!0,Td(e)):s=!1,e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,p1(e),r.updater=mp,e.stateNode=r,r._reactInternals=e,Jm(e,i,n,t),e=n0(null,e,i,!0,s,t)):(e.tag=0,Ht&&s&&l1(e),Oi(null,e,r,t),e=e.child),e;case 16:i=e.elementType;e:{switch(qf(n,e),n=e.pendingProps,r=i._init,i=r(i._payload),e.type=i,r=e.tag=Tz(i),n=Rr(i,n),r){case 0:e=t0(null,e,i,n,t);break e;case 1:e=Sx(null,e,i,n,t);break e;case 11:e=yx(null,e,i,n,t);break e;case 14:e=vx(null,e,i,Rr(i.type,n),t);break e}throw Error(Qe(306,i,""))}return e;case 0:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Rr(i,r),t0(n,e,i,r,t);case 1:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Rr(i,r),Sx(n,e,i,r,t);case 3:e:{if(qQ(e),n===null)throw Error(Qe(387));i=e.pendingProps,s=e.memoizedState,r=s.element,OQ(n,e),Wd(e,i,null,t);var o=e.memoizedState;if(i=o.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=s,e.memoizedState=s,e.flags&256){r=Ba(Error(Qe(423)),e),e=wx(n,e,i,t,r);break e}else if(i!==r){r=Ba(Error(Qe(424)),e),e=wx(n,e,i,t,r);break e}else for(tr=go(e.stateNode.containerInfo.firstChild),rr=e,Ht=!0,Mr=null,t=vQ(e,null,i,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Va(),i===r){e=Is(n,e,t);break e}Oi(n,e,i,t)}e=e.child}return e;case 5:return SQ(e),n===null&&Hm(e),i=e.type,r=e.pendingProps,s=n!==null?n.memoizedProps:null,o=r.children,qm(i,r)?o=null:s!==null&&qm(i,s)&&(e.flags|=32),YQ(n,e),Oi(n,e,o,t),e.child;case 6:return n===null&&Hm(e),null;case 13:return UQ(n,e,t);case 4:return O1(e,e.stateNode.containerInfo),i=e.pendingProps,n===null?e.child=Da(e,null,i,t):Oi(n,e,i,t),e.child;case 11:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Rr(i,r),yx(n,e,i,r,t);case 7:return Oi(n,e,e.pendingProps,t),e.child;case 8:return Oi(n,e,e.pendingProps.children,t),e.child;case 12:return Oi(n,e,e.pendingProps.children,t),e.child;case 10:e:{if(i=e.type._context,r=e.pendingProps,s=e.memoizedProps,o=r.value,Nt(Xd,i._currentValue),i._currentValue=o,s!==null)if(Ir(s.value,o)){if(s.children===r.children&&!Wi.current){e=Is(n,e,t);break e}}else for(s=e.child,s!==null&&(s.return=e);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var h=a.firstContext;h!==null;){if(h.context===i){if(s.tag===1){h=As(-1,t&-t),h.tag=2;var f=s.updateQueue;if(f!==null){f=f.shared;var p=f.pending;p===null?h.next=h:(h.next=p.next,p.next=h),f.pending=h}}s.lanes|=t,h=s.alternate,h!==null&&(h.lanes|=t),jm(s.return,t,e),a.lanes|=t;break}h=h.next}}else if(s.tag===10)o=s.type===e.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(Qe(341));o.lanes|=t,a=o.alternate,a!==null&&(a.lanes|=t),jm(o,t,e),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===e){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Oi(n,e,r.children,t),e=e.child}return e;case 9:return r=e.type,i=e.pendingProps.children,Ca(e,t),r=xr(r),i=i(r),e.flags|=1,Oi(n,e,i,t),e.child;case 14:return i=e.type,r=Rr(i,e.pendingProps),r=Rr(i.type,r),vx(n,e,i,r,t);case 15:return NQ(n,e,e.type,e.pendingProps,t);case 17:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Rr(i,r),qf(n,e),e.tag=1,zi(i)?(n=!0,Td(e)):n=!1,Ca(e,t),mQ(e,i,r),Jm(e,i,r,t),n0(null,e,i,!0,n,t);case 19:return ZQ(n,e,t);case 22:return BQ(n,e,t)}throw Error(Qe(156,e.tag))};function ub(n,e){return M_(n,e)}function Cz(n,e,t,i){this.tag=n,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vr(n,e,t,i){return new Cz(n,e,t,i)}function C1(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Tz(n){if(typeof n=="function")return C1(n)?1:0;if(n!=null){if(n=n.$$typeof,n===G0)return 11;if(n===H0)return 14}return 2}function So(n,e){var t=n.alternate;return t===null?(t=vr(n.tag,e,n.key,n.mode),t.elementType=n.elementType,t.type=n.type,t.stateNode=n.stateNode,t.alternate=n,n.alternate=t):(t.pendingProps=e,t.type=n.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=n.flags&14680064,t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=n.sibling,t.index=n.index,t.ref=n.ref,t}function Ff(n,e,t,i,r,s){var o=2;if(i=n,typeof n=="function")C1(n)&&(o=1);else if(typeof n=="string")o=5;else e:switch(n){case ua:return gl(t.children,r,s,e);case F0:o=8,r|=8;break;case Pm:return n=vr(12,t,e,r|2),n.elementType=Pm,n.lanes=s,n;case km:return n=vr(13,t,e,r),n.elementType=km,n.lanes=s,n;case _m:return n=vr(19,t,e,r),n.elementType=_m,n.lanes=s,n;case y_:return wp(t,r,s,e);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case g_:o=10;break e;case m_:o=9;break e;case G0:o=11;break e;case H0:o=14;break e;case no:o=16,i=null;break e}throw Error(Qe(130,n==null?n:typeof n,""))}return e=vr(o,t,e,r),e.elementType=n,e.type=i,e.lanes=s,e}function gl(n,e,t,i){return n=vr(7,n,i,e),n.lanes=t,n}function wp(n,e,t,i){return n=vr(22,n,i,e),n.elementType=y_,n.lanes=t,n.stateNode={isHidden:!1},n}function $g(n,e,t){return n=vr(6,n,null,e),n.lanes=t,n}function Cg(n,e,t){return e=vr(4,n.children!==null?n.children:[],n.key,e),e.lanes=t,e.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},e}function Az(n,e,t,i,r){this.tag=e,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hg(0),this.expirationTimes=hg(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hg(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function T1(n,e,t,i,r,s,o,a,h){return n=new Az(n,e,t,a,h),e===1?(e=1,s===!0&&(e|=8)):e=0,s=vr(3,null,null,e),n.current=s,s.stateNode=n,s.memoizedState={element:i,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},p1(s),n}function Rz(n,e,t){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(db)}catch(n){console.error(n)}}db(),c_.exports=or;var Lz=c_.exports,Rx=Lz;Sl.createRoot=Rx.createRoot,Sl.hydrateRoot=Rx.hydrateRoot;var pb={exports:{}};/*! +`+s.stack}return{value:n,source:e,stack:r,digest:null}}function bg(n,e,t){return{value:n,source:null,stack:t??null,digest:e??null}}function e0(n,e){try{console.error(e.value)}catch(t){setTimeout(function(){throw t})}}var dz=typeof WeakMap=="function"?WeakMap:Map;function VQ(n,e,t){t=As(-1,t),t.tag=3,t.payload={element:null};var i=e.value;return t.callback=function(){Dd||(Dd=!0,h0=i),e0(n,e)},t}function DQ(n,e,t){t=As(-1,t),t.tag=3;var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var r=e.value;t.payload=function(){return i(r)},t.callback=function(){e0(n,e)}}var s=n.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(t.callback=function(){e0(n,e),typeof i!="function"&&(yo===null?yo=new Set([this]):yo.add(this));var o=e.stack;this.componentDidCatch(e.value,{componentStack:o!==null?o:""})}),t}function Ox(n,e,t){var i=n.pingCache;if(i===null){i=n.pingCache=new dz;var r=new Set;i.set(e,r)}else r=i.get(e),r===void 0&&(r=new Set,i.set(e,r));r.has(t)||(r.add(t),n=bz.bind(null,n,e,t),e.then(n,n))}function gx(n){do{var e;if((e=n.tag===13)&&(e=n.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return n;n=n.return}while(n!==null);return null}function mx(n,e,t,i,r){return n.mode&1?(n.flags|=65536,n.lanes=r,n):(n===e?n.flags|=65536:(n.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(e=As(-1,1),e.tag=2,mo(t,e,1))),t.lanes|=1),n)}var pz=Vs.ReactCurrentOwner,Xi=!1;function Oi(n,e,t,i){e.child=n===null?vQ(e,null,t,i):Da(e,n.child,t,i)}function yx(n,e,t,i,r){t=t.render;var s=e.ref;return Ca(e,r),i=v1(n,e,t,i,s,r),t=S1(),n!==null&&!Xi?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~r,Is(n,e,r)):(Ht&&t&&l1(e),e.flags|=1,Oi(n,e,i,r),e.child)}function vx(n,e,t,i,r){if(n===null){var s=t.type;return typeof s=="function"&&!C1(s)&&s.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(e.tag=15,e.type=s,NQ(n,e,s,i,r)):(n=Ff(t.type,null,i,e,e.mode,r),n.ref=e.ref,n.return=e,e.child=n)}if(s=n.child,!(n.lanes&r)){var o=s.memoizedProps;if(t=t.compare,t=t!==null?t:xh,t(o,i)&&n.ref===e.ref)return Is(n,e,r)}return e.flags|=1,n=So(s,i),n.ref=e.ref,n.return=e,e.child=n}function NQ(n,e,t,i,r){if(n!==null){var s=n.memoizedProps;if(xh(s,i)&&n.ref===e.ref)if(Xi=!1,e.pendingProps=i=s,(n.lanes&r)!==0)n.flags&131072&&(Xi=!0);else return e.lanes=n.lanes,Is(n,e,r)}return t0(n,e,t,i,r)}function BQ(n,e,t){var i=e.pendingProps,r=i.children,s=n!==null?n.memoizedState:null;if(i.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Nt(va,Ki),Ki|=t;else{if(!(t&1073741824))return n=s!==null?s.baseLanes|t:t,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:n,cachePool:null,transitions:null},e.updateQueue=null,Nt(va,Ki),Ki|=n,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=s!==null?s.baseLanes:t,Nt(va,Ki),Ki|=i}else s!==null?(i=s.baseLanes|t,e.memoizedState=null):i=t,Nt(va,Ki),Ki|=i;return Oi(n,e,r,t),e.child}function YQ(n,e){var t=e.ref;(n===null&&t!==null||n!==null&&n.ref!==t)&&(e.flags|=512,e.flags|=2097152)}function t0(n,e,t,i,r){var s=zi(t)?wl:oi.current;return s=Ia(e,s),Ca(e,r),t=v1(n,e,t,i,s,r),i=S1(),n!==null&&!Xi?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~r,Is(n,e,r)):(Ht&&i&&l1(e),e.flags|=1,Oi(n,e,t,r),e.child)}function Sx(n,e,t,i,r){if(zi(t)){var s=!0;Td(e)}else s=!1;if(Ca(e,r),e.stateNode===null)qf(n,e),mQ(e,t,i),Jm(e,t,i,r),i=!0;else if(n===null){var o=e.stateNode,a=e.memoizedProps;o.props=a;var h=o.context,f=t.contextType;typeof f=="object"&&f!==null?f=xr(f):(f=zi(t)?wl:oi.current,f=Ia(e,f));var p=t.getDerivedStateFromProps,O=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function";O||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==i||h!==f)&&cx(e,o,i,f),io=!1;var v=e.memoizedState;o.state=v,Wd(e,i,o,r),h=e.memoizedState,a!==i||v!==h||Wi.current||io?(typeof p=="function"&&(Km(e,t,p,i),h=e.memoizedState),(a=io||hx(e,t,a,i,v,h,f))?(O||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=h),o.props=i,o.state=h,o.context=f,i=a):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{o=e.stateNode,OQ(n,e),a=e.memoizedProps,f=e.type===e.elementType?a:Rr(e.type,a),o.props=f,O=e.pendingProps,v=o.context,h=t.contextType,typeof h=="object"&&h!==null?h=xr(h):(h=zi(t)?wl:oi.current,h=Ia(e,h));var x=t.getDerivedStateFromProps;(p=typeof x=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==O||v!==h)&&cx(e,o,i,h),io=!1,v=e.memoizedState,o.state=v,Wd(e,i,o,r);var Q=e.memoizedState;a!==O||v!==Q||Wi.current||io?(typeof x=="function"&&(Km(e,t,x,i),Q=e.memoizedState),(f=io||hx(e,t,f,i,v,Q,h)||!1)?(p||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(i,Q,h),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(i,Q,h)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===n.memoizedProps&&v===n.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===n.memoizedProps&&v===n.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=Q),o.props=i,o.state=Q,o.context=h,i=f):(typeof o.componentDidUpdate!="function"||a===n.memoizedProps&&v===n.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===n.memoizedProps&&v===n.memoizedState||(e.flags|=1024),i=!1)}return n0(n,e,t,i,s,r)}function n0(n,e,t,i,r,s){YQ(n,e);var o=(e.flags&128)!==0;if(!i&&!o)return r&&sx(e,t,!1),Is(n,e,s);i=e.stateNode,pz.current=e;var a=o&&typeof t.getDerivedStateFromError!="function"?null:i.render();return e.flags|=1,n!==null&&o?(e.child=Da(e,n.child,null,s),e.child=Da(e,null,a,s)):Oi(n,e,a,s),e.memoizedState=i.state,r&&sx(e,t,!0),e.child}function qQ(n){var e=n.stateNode;e.pendingContext?rx(n,e.pendingContext,e.pendingContext!==e.context):e.context&&rx(n,e.context,!1),O1(n,e.containerInfo)}function wx(n,e,t,i,r){return Va(),u1(r),e.flags|=256,Oi(n,e,t,i),e.child}var i0={dehydrated:null,treeContext:null,retryLane:0};function r0(n){return{baseLanes:n,cachePool:null,transitions:null}}function UQ(n,e,t){var i=e.pendingProps,r=on.current,s=!1,o=(e.flags&128)!==0,a;if((a=o)||(a=n!==null&&n.memoizedState===null?!1:(r&2)!==0),a?(s=!0,e.flags&=-129):(n===null||n.memoizedState!==null)&&(r|=1),Nt(on,r&1),n===null)return Hm(e),n=e.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(e.mode&1?n.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(o=i.children,n=i.fallback,s?(i=e.mode,s=e.child,o={mode:"hidden",children:o},!(i&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=wp(o,i,0,null),n=gl(n,i,t,null),s.return=e,n.return=e,s.sibling=n,e.child=s,e.child.memoizedState=r0(t),e.memoizedState=i0,n):P1(e,o));if(r=n.memoizedState,r!==null&&(a=r.dehydrated,a!==null))return Oz(n,e,o,i,a,r,t);if(s){s=i.fallback,o=e.mode,r=n.child,a=r.sibling;var h={mode:"hidden",children:i.children};return!(o&1)&&e.child!==r?(i=e.child,i.childLanes=0,i.pendingProps=h,e.deletions=null):(i=So(r,h),i.subtreeFlags=r.subtreeFlags&14680064),a!==null?s=So(a,s):(s=gl(s,o,t,null),s.flags|=2),s.return=e,i.return=e,i.sibling=s,e.child=i,i=s,s=e.child,o=n.child.memoizedState,o=o===null?r0(t):{baseLanes:o.baseLanes|t,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=n.childLanes&~t,e.memoizedState=i0,i}return s=n.child,n=s.sibling,i=So(s,{mode:"visible",children:i.children}),!(e.mode&1)&&(i.lanes=t),i.return=e,i.sibling=null,n!==null&&(t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)),e.child=i,e.memoizedState=null,i}function P1(n,e){return e=wp({mode:"visible",children:e},n.mode,0,null),e.return=n,n.child=e}function yf(n,e,t,i){return i!==null&&u1(i),Da(e,n.child,null,t),n=P1(e,e.pendingProps.children),n.flags|=2,e.memoizedState=null,n}function Oz(n,e,t,i,r,s,o){if(t)return e.flags&256?(e.flags&=-257,i=bg(Error(Qe(422))),yf(n,e,o,i)):e.memoizedState!==null?(e.child=n.child,e.flags|=128,null):(s=i.fallback,r=e.mode,i=wp({mode:"visible",children:i.children},r,0,null),s=gl(s,r,o,null),s.flags|=2,i.return=e,s.return=e,i.sibling=s,e.child=i,e.mode&1&&Da(e,n.child,null,o),e.child.memoizedState=r0(o),e.memoizedState=i0,s);if(!(e.mode&1))return yf(n,e,o,null);if(r.data==="$!"){if(i=r.nextSibling&&r.nextSibling.dataset,i)var a=i.dgst;return i=a,s=Error(Qe(419)),i=bg(s,i,void 0),yf(n,e,o,i)}if(a=(o&n.childLanes)!==0,Xi||a){if(i=Vn,i!==null){switch(o&-o){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=r&(i.suspendedLanes|o)?0:r,r!==0&&r!==s.retryLane&&(s.retryLane=r,Ls(n,r),Lr(i,n,r,-1))}return $1(),i=bg(Error(Qe(421))),yf(n,e,o,i)}return r.data==="$?"?(e.flags|=128,e.child=n.child,e=Ez.bind(null,n),r._reactRetry=e,null):(n=s.treeContext,tr=go(r.nextSibling),rr=e,Ht=!0,Mr=null,n!==null&&(gr[mr++]=$s,gr[mr++]=Cs,gr[mr++]=xl,$s=n.id,Cs=n.overflow,xl=e),e=P1(e,i.children),e.flags|=4096,e)}function xx(n,e,t){n.lanes|=e;var i=n.alternate;i!==null&&(i.lanes|=e),jm(n.return,e,t)}function Eg(n,e,t,i,r){var s=n.memoizedState;s===null?n.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:t,tailMode:r}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=i,s.tail=t,s.tailMode=r)}function ZQ(n,e,t){var i=e.pendingProps,r=i.revealOrder,s=i.tail;if(Oi(n,e,i.children,t),i=on.current,i&2)i=i&1|2,e.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=e.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&xx(n,t,e);else if(n.tag===19)xx(n,t,e);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}i&=1}if(Nt(on,i),!(e.mode&1))e.memoizedState=null;else switch(r){case"forwards":for(t=e.child,r=null;t!==null;)n=t.alternate,n!==null&&zd(n)===null&&(r=t),t=t.sibling;t=r,t===null?(r=e.child,e.child=null):(r=t.sibling,t.sibling=null),Eg(e,!1,r,t,s);break;case"backwards":for(t=null,r=e.child,e.child=null;r!==null;){if(n=r.alternate,n!==null&&zd(n)===null){e.child=r;break}n=r.sibling,r.sibling=t,t=r,r=n}Eg(e,!0,t,null,s);break;case"together":Eg(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function qf(n,e){!(e.mode&1)&&n!==null&&(n.alternate=null,e.alternate=null,e.flags|=2)}function Is(n,e,t){if(n!==null&&(e.dependencies=n.dependencies),kl|=e.lanes,!(t&e.childLanes))return null;if(n!==null&&e.child!==n.child)throw Error(Qe(153));if(e.child!==null){for(n=e.child,t=So(n,n.pendingProps),e.child=t,t.return=e;n.sibling!==null;)n=n.sibling,t=t.sibling=So(n,n.pendingProps),t.return=e;t.sibling=null}return e.child}function gz(n,e,t){switch(e.tag){case 3:qQ(e),Va();break;case 5:SQ(e);break;case 1:zi(e.type)&&Td(e);break;case 4:O1(e,e.stateNode.containerInfo);break;case 10:var i=e.type._context,r=e.memoizedProps.value;Nt(Xd,i._currentValue),i._currentValue=r;break;case 13:if(i=e.memoizedState,i!==null)return i.dehydrated!==null?(Nt(on,on.current&1),e.flags|=128,null):t&e.child.childLanes?UQ(n,e,t):(Nt(on,on.current&1),n=Is(n,e,t),n!==null?n.sibling:null);Nt(on,on.current&1);break;case 19:if(i=(t&e.childLanes)!==0,n.flags&128){if(i)return ZQ(n,e,t);e.flags|=128}if(r=e.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Nt(on,on.current),i)break;return null;case 22:case 23:return e.lanes=0,BQ(n,e,t)}return Is(n,e,t)}var FQ,s0,GQ,HQ;FQ=function(n,e){for(var t=e.child;t!==null;){if(t.tag===5||t.tag===6)n.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};s0=function(){};GQ=function(n,e,t,i){var r=n.memoizedProps;if(r!==i){n=e.stateNode,cl(us.current);var s=null;switch(t){case"input":r=bm(n,r),i=bm(n,i),s=[];break;case"select":r=hn({},r,{value:void 0}),i=hn({},i,{value:void 0}),s=[];break;case"textarea":r=Cm(n,r),i=Cm(n,i),s=[];break;default:typeof r.onClick!="function"&&typeof i.onClick=="function"&&(n.onclick=$d)}Am(t,i);var o;t=null;for(f in r)if(!i.hasOwnProperty(f)&&r.hasOwnProperty(f)&&r[f]!=null)if(f==="style"){var a=r[f];for(o in a)a.hasOwnProperty(o)&&(t||(t={}),t[o]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(Oh.hasOwnProperty(f)?s||(s=[]):(s=s||[]).push(f,null));for(f in i){var h=i[f];if(a=r!=null?r[f]:void 0,i.hasOwnProperty(f)&&h!==a&&(h!=null||a!=null))if(f==="style")if(a){for(o in a)!a.hasOwnProperty(o)||h&&h.hasOwnProperty(o)||(t||(t={}),t[o]="");for(o in h)h.hasOwnProperty(o)&&a[o]!==h[o]&&(t||(t={}),t[o]=h[o])}else t||(s||(s=[]),s.push(f,t)),t=h;else f==="dangerouslySetInnerHTML"?(h=h?h.__html:void 0,a=a?a.__html:void 0,h!=null&&a!==h&&(s=s||[]).push(f,h)):f==="children"?typeof h!="string"&&typeof h!="number"||(s=s||[]).push(f,""+h):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(Oh.hasOwnProperty(f)?(h!=null&&f==="onScroll"&&Ut("scroll",n),s||a===h||(s=[])):(s=s||[]).push(f,h))}t&&(s=s||[]).push("style",t);var f=s;(e.updateQueue=f)&&(e.flags|=4)}};HQ=function(n,e,t,i){t!==i&&(e.flags|=4)};function Au(n,e){if(!Ht)switch(n.tailMode){case"hidden":e=n.tail;for(var t=null;e!==null;)e.alternate!==null&&(t=e),e=e.sibling;t===null?n.tail=null:t.sibling=null;break;case"collapsed":t=n.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e||n.tail===null?n.tail=null:n.tail.sibling=null:i.sibling=null}}function ni(n){var e=n.alternate!==null&&n.alternate.child===n.child,t=0,i=0;if(e)for(var r=n.child;r!==null;)t|=r.lanes|r.childLanes,i|=r.subtreeFlags&14680064,i|=r.flags&14680064,r.return=n,r=r.sibling;else for(r=n.child;r!==null;)t|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=n,r=r.sibling;return n.subtreeFlags|=i,n.childLanes=t,e}function mz(n,e,t){var i=e.pendingProps;switch(a1(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ni(e),null;case 1:return zi(e.type)&&Cd(),ni(e),null;case 3:return i=e.stateNode,Na(),Ft(Wi),Ft(oi),m1(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(gf(e)?e.flags|=4:n===null||n.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Mr!==null&&(d0(Mr),Mr=null))),s0(n,e),ni(e),null;case 5:g1(e);var r=cl(bh.current);if(t=e.type,n!==null&&e.stateNode!=null)GQ(n,e,t,i,r),n.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!i){if(e.stateNode===null)throw Error(Qe(166));return ni(e),null}if(n=cl(us.current),gf(e)){i=e.stateNode,t=e.type;var s=e.memoizedProps;switch(i[ns]=e,i[_h]=s,n=(e.mode&1)!==0,t){case"dialog":Ut("cancel",i),Ut("close",i);break;case"iframe":case"object":case"embed":Ut("load",i);break;case"video":case"audio":for(r=0;r<\/script>",n=n.removeChild(n.firstChild)):typeof i.is=="string"?n=o.createElement(t,{is:i.is}):(n=o.createElement(t),t==="select"&&(o=n,i.multiple?o.multiple=!0:i.size&&(o.size=i.size))):n=o.createElementNS(n,t),n[ns]=e,n[_h]=i,FQ(n,e,!1,!1),e.stateNode=n;e:{switch(o=Rm(t,i),t){case"dialog":Ut("cancel",n),Ut("close",n),r=i;break;case"iframe":case"object":case"embed":Ut("load",n),r=i;break;case"video":case"audio":for(r=0;rYa&&(e.flags|=128,i=!0,Au(s,!1),e.lanes=4194304)}else{if(!i)if(n=zd(o),n!==null){if(e.flags|=128,i=!0,t=n.updateQueue,t!==null&&(e.updateQueue=t,e.flags|=4),Au(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Ht)return ni(e),null}else 2*vn()-s.renderingStartTime>Ya&&t!==1073741824&&(e.flags|=128,i=!0,Au(s,!1),e.lanes=4194304);s.isBackwards?(o.sibling=e.child,e.child=o):(t=s.last,t!==null?t.sibling=o:e.child=o,s.last=o)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=vn(),e.sibling=null,t=on.current,Nt(on,i?t&1|2:t&1),e):(ni(e),null);case 22:case 23:return E1(),i=e.memoizedState!==null,n!==null&&n.memoizedState!==null!==i&&(e.flags|=8192),i&&e.mode&1?Ki&1073741824&&(ni(e),e.subtreeFlags&6&&(e.flags|=8192)):ni(e),null;case 24:return null;case 25:return null}throw Error(Qe(156,e.tag))}function yz(n,e){switch(a1(e),e.tag){case 1:return zi(e.type)&&Cd(),n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 3:return Na(),Ft(Wi),Ft(oi),m1(),n=e.flags,n&65536&&!(n&128)?(e.flags=n&-65537|128,e):null;case 5:return g1(e),null;case 13:if(Ft(on),n=e.memoizedState,n!==null&&n.dehydrated!==null){if(e.alternate===null)throw Error(Qe(340));Va()}return n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 19:return Ft(on),null;case 4:return Na(),null;case 10:return f1(e.type._context),null;case 22:case 23:return E1(),null;case 24:return null;default:return null}}var vf=!1,ri=!1,vz=typeof WeakSet=="function"?WeakSet:Set,Ne=null;function ya(n,e){var t=n.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(i){dn(n,e,i)}else t.current=null}function o0(n,e,t){try{t()}catch(i){dn(n,e,i)}}var Px=!1;function Sz(n,e){if(Bm=Qd,n=eQ(),o1(n)){if("selectionStart"in n)var t={start:n.selectionStart,end:n.selectionEnd};else e:{t=(t=n.ownerDocument)&&t.defaultView||window;var i=t.getSelection&&t.getSelection();if(i&&i.rangeCount!==0){t=i.anchorNode;var r=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{t.nodeType,s.nodeType}catch{t=null;break e}var o=0,a=-1,h=-1,f=0,p=0,O=n,v=null;t:for(;;){for(var x;O!==t||r!==0&&O.nodeType!==3||(a=o+r),O!==s||i!==0&&O.nodeType!==3||(h=o+i),O.nodeType===3&&(o+=O.nodeValue.length),(x=O.firstChild)!==null;)v=O,O=x;for(;;){if(O===n)break t;if(v===t&&++f===r&&(a=o),v===s&&++p===i&&(h=o),(x=O.nextSibling)!==null)break;O=v,v=O.parentNode}O=x}t=a===-1||h===-1?null:{start:a,end:h}}else t=null}t=t||{start:0,end:0}}else t=null;for(Ym={focusedElem:n,selectionRange:t},Qd=!1,Ne=e;Ne!==null;)if(e=Ne,n=e.child,(e.subtreeFlags&1028)!==0&&n!==null)n.return=e,Ne=n;else for(;Ne!==null;){e=Ne;try{var Q=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(Q!==null){var R=Q.memoizedProps,M=Q.memoizedState,b=e.stateNode,E=b.getSnapshotBeforeUpdate(e.elementType===e.type?R:Rr(e.type,R),M);b.__reactInternalSnapshotBeforeUpdate=E}break;case 3:var $=e.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Qe(163))}}catch(W){dn(e,e.return,W)}if(n=e.sibling,n!==null){n.return=e.return,Ne=n;break}Ne=e.return}return Q=Px,Px=!1,Q}function eh(n,e,t){var i=e.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var r=i=i.next;do{if((r.tag&n)===n){var s=r.destroy;r.destroy=void 0,s!==void 0&&o0(e,t,s)}r=r.next}while(r!==i)}}function vp(n,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var t=e=e.next;do{if((t.tag&n)===n){var i=t.create;t.destroy=i()}t=t.next}while(t!==e)}}function l0(n){var e=n.ref;if(e!==null){var t=n.stateNode;switch(n.tag){case 5:n=t;break;default:n=t}typeof e=="function"?e(n):e.current=n}}function jQ(n){var e=n.alternate;e!==null&&(n.alternate=null,jQ(e)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(e=n.stateNode,e!==null&&(delete e[ns],delete e[_h],delete e[Zm],delete e[nz],delete e[iz])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function KQ(n){return n.tag===5||n.tag===3||n.tag===4}function kx(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||KQ(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function a0(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?t.nodeType===8?t.parentNode.insertBefore(n,e):t.insertBefore(n,e):(t.nodeType===8?(e=t.parentNode,e.insertBefore(n,t)):(e=t,e.appendChild(n)),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=$d));else if(i!==4&&(n=n.child,n!==null))for(a0(n,e,t),n=n.sibling;n!==null;)a0(n,e,t),n=n.sibling}function u0(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?t.insertBefore(n,e):t.appendChild(n);else if(i!==4&&(n=n.child,n!==null))for(u0(n,e,t),n=n.sibling;n!==null;)u0(n,e,t),n=n.sibling}var Nn=null,Xr=!1;function Js(n,e,t){for(t=t.child;t!==null;)JQ(n,e,t),t=t.sibling}function JQ(n,e,t){if(as&&typeof as.onCommitFiberUnmount=="function")try{as.onCommitFiberUnmount(cp,t)}catch{}switch(t.tag){case 5:ri||ya(t,e);case 6:var i=Nn,r=Xr;Nn=null,Js(n,e,t),Nn=i,Xr=r,Nn!==null&&(Xr?(n=Nn,t=t.stateNode,n.nodeType===8?n.parentNode.removeChild(t):n.removeChild(t)):Nn.removeChild(t.stateNode));break;case 18:Nn!==null&&(Xr?(n=Nn,t=t.stateNode,n.nodeType===8?wg(n.parentNode,t):n.nodeType===1&&wg(n,t),Sh(n)):wg(Nn,t.stateNode));break;case 4:i=Nn,r=Xr,Nn=t.stateNode.containerInfo,Xr=!0,Js(n,e,t),Nn=i,Xr=r;break;case 0:case 11:case 14:case 15:if(!ri&&(i=t.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){r=i=i.next;do{var s=r,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&o0(t,e,o),r=r.next}while(r!==i)}Js(n,e,t);break;case 1:if(!ri&&(ya(t,e),i=t.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=t.memoizedProps,i.state=t.memoizedState,i.componentWillUnmount()}catch(a){dn(t,e,a)}Js(n,e,t);break;case 21:Js(n,e,t);break;case 22:t.mode&1?(ri=(i=ri)||t.memoizedState!==null,Js(n,e,t),ri=i):Js(n,e,t);break;default:Js(n,e,t)}}function _x(n){var e=n.updateQueue;if(e!==null){n.updateQueue=null;var t=n.stateNode;t===null&&(t=n.stateNode=new vz),e.forEach(function(i){var r=$z.bind(null,n,i);t.has(i)||(t.add(i),i.then(r,r))})}}function Ar(n,e){var t=e.deletions;if(t!==null)for(var i=0;ir&&(r=o),i&=~s}if(i=r,i=vn()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*xz(i/1960))-i,10n?16:n,co===null)var i=!1;else{if(n=co,co=null,Nd=0,kt&6)throw Error(Qe(331));var r=kt;for(kt|=4,Ne=n.current;Ne!==null;){var s=Ne,o=s.child;if(Ne.flags&16){var a=s.deletions;if(a!==null){for(var h=0;hvn()-Q1?Ol(n,0):_1|=t),Li(n,e)}function lb(n,e){e===0&&(n.mode&1?(e=hf,hf<<=1,!(hf&130023424)&&(hf=4194304)):e=1);var t=Si();n=Ls(n,e),n!==null&&(Ih(n,e,t),Li(n,t))}function Ez(n){var e=n.memoizedState,t=0;e!==null&&(t=e.retryLane),lb(n,t)}function $z(n,e){var t=0;switch(n.tag){case 13:var i=n.stateNode,r=n.memoizedState;r!==null&&(t=r.retryLane);break;case 19:i=n.stateNode;break;default:throw Error(Qe(314))}i!==null&&i.delete(e),lb(n,t)}var ab;ab=function(n,e,t){if(n!==null)if(n.memoizedProps!==e.pendingProps||Wi.current)Xi=!0;else{if(!(n.lanes&t)&&!(e.flags&128))return Xi=!1,gz(n,e,t);Xi=!!(n.flags&131072)}else Xi=!1,Ht&&e.flags&1048576&&cQ(e,Rd,e.index);switch(e.lanes=0,e.tag){case 2:var i=e.type;qf(n,e),n=e.pendingProps;var r=Ia(e,oi.current);Ca(e,t),r=v1(null,e,i,n,r,t);var s=S1();return e.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,zi(i)?(s=!0,Td(e)):s=!1,e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,p1(e),r.updater=mp,e.stateNode=r,r._reactInternals=e,Jm(e,i,n,t),e=n0(null,e,i,!0,s,t)):(e.tag=0,Ht&&s&&l1(e),Oi(null,e,r,t),e=e.child),e;case 16:i=e.elementType;e:{switch(qf(n,e),n=e.pendingProps,r=i._init,i=r(i._payload),e.type=i,r=e.tag=Tz(i),n=Rr(i,n),r){case 0:e=t0(null,e,i,n,t);break e;case 1:e=Sx(null,e,i,n,t);break e;case 11:e=yx(null,e,i,n,t);break e;case 14:e=vx(null,e,i,Rr(i.type,n),t);break e}throw Error(Qe(306,i,""))}return e;case 0:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Rr(i,r),t0(n,e,i,r,t);case 1:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Rr(i,r),Sx(n,e,i,r,t);case 3:e:{if(qQ(e),n===null)throw Error(Qe(387));i=e.pendingProps,s=e.memoizedState,r=s.element,OQ(n,e),Wd(e,i,null,t);var o=e.memoizedState;if(i=o.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=s,e.memoizedState=s,e.flags&256){r=Ba(Error(Qe(423)),e),e=wx(n,e,i,t,r);break e}else if(i!==r){r=Ba(Error(Qe(424)),e),e=wx(n,e,i,t,r);break e}else for(tr=go(e.stateNode.containerInfo.firstChild),rr=e,Ht=!0,Mr=null,t=vQ(e,null,i,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Va(),i===r){e=Is(n,e,t);break e}Oi(n,e,i,t)}e=e.child}return e;case 5:return SQ(e),n===null&&Hm(e),i=e.type,r=e.pendingProps,s=n!==null?n.memoizedProps:null,o=r.children,qm(i,r)?o=null:s!==null&&qm(i,s)&&(e.flags|=32),YQ(n,e),Oi(n,e,o,t),e.child;case 6:return n===null&&Hm(e),null;case 13:return UQ(n,e,t);case 4:return O1(e,e.stateNode.containerInfo),i=e.pendingProps,n===null?e.child=Da(e,null,i,t):Oi(n,e,i,t),e.child;case 11:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Rr(i,r),yx(n,e,i,r,t);case 7:return Oi(n,e,e.pendingProps,t),e.child;case 8:return Oi(n,e,e.pendingProps.children,t),e.child;case 12:return Oi(n,e,e.pendingProps.children,t),e.child;case 10:e:{if(i=e.type._context,r=e.pendingProps,s=e.memoizedProps,o=r.value,Nt(Xd,i._currentValue),i._currentValue=o,s!==null)if(Ir(s.value,o)){if(s.children===r.children&&!Wi.current){e=Is(n,e,t);break e}}else for(s=e.child,s!==null&&(s.return=e);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var h=a.firstContext;h!==null;){if(h.context===i){if(s.tag===1){h=As(-1,t&-t),h.tag=2;var f=s.updateQueue;if(f!==null){f=f.shared;var p=f.pending;p===null?h.next=h:(h.next=p.next,p.next=h),f.pending=h}}s.lanes|=t,h=s.alternate,h!==null&&(h.lanes|=t),jm(s.return,t,e),a.lanes|=t;break}h=h.next}}else if(s.tag===10)o=s.type===e.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(Qe(341));o.lanes|=t,a=o.alternate,a!==null&&(a.lanes|=t),jm(o,t,e),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===e){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Oi(n,e,r.children,t),e=e.child}return e;case 9:return r=e.type,i=e.pendingProps.children,Ca(e,t),r=xr(r),i=i(r),e.flags|=1,Oi(n,e,i,t),e.child;case 14:return i=e.type,r=Rr(i,e.pendingProps),r=Rr(i.type,r),vx(n,e,i,r,t);case 15:return NQ(n,e,e.type,e.pendingProps,t);case 17:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Rr(i,r),qf(n,e),e.tag=1,zi(i)?(n=!0,Td(e)):n=!1,Ca(e,t),mQ(e,i,r),Jm(e,i,r,t),n0(null,e,i,!0,n,t);case 19:return ZQ(n,e,t);case 22:return BQ(n,e,t)}throw Error(Qe(156,e.tag))};function ub(n,e){return M_(n,e)}function Cz(n,e,t,i){this.tag=n,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vr(n,e,t,i){return new Cz(n,e,t,i)}function C1(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Tz(n){if(typeof n=="function")return C1(n)?1:0;if(n!=null){if(n=n.$$typeof,n===G0)return 11;if(n===H0)return 14}return 2}function So(n,e){var t=n.alternate;return t===null?(t=vr(n.tag,e,n.key,n.mode),t.elementType=n.elementType,t.type=n.type,t.stateNode=n.stateNode,t.alternate=n,n.alternate=t):(t.pendingProps=e,t.type=n.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=n.flags&14680064,t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=n.sibling,t.index=n.index,t.ref=n.ref,t}function Ff(n,e,t,i,r,s){var o=2;if(i=n,typeof n=="function")C1(n)&&(o=1);else if(typeof n=="string")o=5;else e:switch(n){case ua:return gl(t.children,r,s,e);case F0:o=8,r|=8;break;case Pm:return n=vr(12,t,e,r|2),n.elementType=Pm,n.lanes=s,n;case km:return n=vr(13,t,e,r),n.elementType=km,n.lanes=s,n;case _m:return n=vr(19,t,e,r),n.elementType=_m,n.lanes=s,n;case y_:return wp(t,r,s,e);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case g_:o=10;break e;case m_:o=9;break e;case G0:o=11;break e;case H0:o=14;break e;case no:o=16,i=null;break e}throw Error(Qe(130,n==null?n:typeof n,""))}return e=vr(o,t,e,r),e.elementType=n,e.type=i,e.lanes=s,e}function gl(n,e,t,i){return n=vr(7,n,i,e),n.lanes=t,n}function wp(n,e,t,i){return n=vr(22,n,i,e),n.elementType=y_,n.lanes=t,n.stateNode={isHidden:!1},n}function $g(n,e,t){return n=vr(6,n,null,e),n.lanes=t,n}function Cg(n,e,t){return e=vr(4,n.children!==null?n.children:[],n.key,e),e.lanes=t,e.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},e}function Az(n,e,t,i,r){this.tag=e,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hg(0),this.expirationTimes=hg(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hg(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function T1(n,e,t,i,r,s,o,a,h){return n=new Az(n,e,t,a,h),e===1?(e=1,s===!0&&(e|=8)):e=0,s=vr(3,null,null,e),n.current=s,s.stateNode=n,s.memoizedState={element:i,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},p1(s),n}function Rz(n,e,t){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(db)}catch(n){console.error(n)}}db(),c_.exports=or;var Lz=c_.exports,Rx=Lz;Sl.createRoot=Rx.createRoot,Sl.hydrateRoot=Rx.hydrateRoot;var pb={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames @@ -49,9 +49,9 @@ Error generating stack: `+s.message+` * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */qd.exports;(function(n,e){(function(){var t,i="4.17.21",r=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",a="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",f=500,p="__lodash_placeholder__",O=1,v=2,x=4,Q=1,R=2,M=1,b=2,E=4,$=8,W=16,B=32,J=64,ae=128,xe=256,Me=512,Pe=30,Ke="...",at=800,mt=16,_t=1,Mt=2,Wt=3,zt=1/0,ke=9007199254740991,Re=17976931348623157e292,ze=0/0,je=4294967295,st=je-1,Vi=je>>>1,xi=[["ary",ae],["bind",M],["bindKey",b],["curry",$],["curryRight",W],["flip",Me],["partial",B],["partialRight",J],["rearg",xe]],ai="[object Arguments]",Gn="[object Array]",Qr="[object AsyncFunction]",ds="[object Boolean]",Di="[object Date]",Yh="[object DOMException]",$l="[object Error]",Wo="[object Function]",qh="[object GeneratorFunction]",Ni="[object Map]",Ds="[object Number]",Rp="[object Null]",Hn="[object Object]",Pi="[object Promise]",Cl="[object Proxy]",zo="[object RegExp]",ki="[object Set]",Fe="[object String]",ps="[object Symbol]",ui="[object Undefined]",ar="[object WeakMap]",Tl="[object WeakSet]",Vt="[object ArrayBuffer]",Os="[object DataView]",Mn="[object Float32Array]",Bi="[object Float64Array]",_n="[object Int8Array]",Kt="[object Int16Array]",eu="[object Int32Array]",tu="[object Uint8Array]",Lo="[object Uint8ClampedArray]",Al="[object Uint16Array]",Rl="[object Uint32Array]",nu=/\b__p \+= '';/g,Qn=/\b(__p \+=) '' \+/g,Xp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,On=/&(?:amp|lt|gt|quot|#39);/g,Uh=/[&<>"']/g,Wn=RegExp(On.source),Zh=RegExp(Uh.source),Fh=/<%-([\s\S]+?)%>/g,gs=/<%([\s\S]+?)%>/g,bn=/<%=([\s\S]+?)%>/g,Io=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vo=/^\w*$/,Xl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Do=/[\\^$.*+?()[\]{}|]/g,No=RegExp(Do.source),hi=/^\s+/,Bo=/\s/,Ml=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ns=/\{\n\/\* \[wrapped with (.+)\] \*/,Yo=/,? & /,iu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ru=/[()=,{}\[\]\/\s]/,Gh=/\\(\\)?/g,Wl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Jt=/\w*$/,cn=/^[-+]0x[0-9a-f]+$/i,Bs=/^0b[01]+$/i,Yt=/^\[object .+?Constructor\]$/,Hh=/^0o[0-7]+$/i,jh=/^(?:0|[1-9]\d*)$/,Kh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,en=/($^)/,Ce=/['\n\r\u2028\u2029\\]/g,qo="\\ud800-\\udfff",Jh="\\u0300-\\u036f",Mp="\\ufe20-\\ufe2f",Ys="\\u20d0-\\u20ff",jn=Jh+Mp+Ys,Uo="\\u2700-\\u27bf",Zo="a-z\\xdf-\\xf6\\xf8-\\xff",ec="\\xac\\xb1\\xd7\\xf7",zl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ll="\\u2000-\\u206f",ci=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Fo="A-Z\\xc0-\\xd6\\xd8-\\xde",su="\\ufe0e\\ufe0f",c=ec+zl+Ll+ci,m="['’]",y="["+qo+"]",S="["+c+"]",P="["+jn+"]",T="\\d+",D="["+Uo+"]",L="["+Zo+"]",Z="[^"+qo+c+T+Uo+Zo+Fo+"]",I="\\ud83c[\\udffb-\\udfff]",fe="(?:"+P+"|"+I+")",_e="[^"+qo+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",q="[\\ud800-\\udbff][\\udc00-\\udfff]",re="["+Fo+"]",F="\\u200d",se="(?:"+L+"|"+Z+")",ie="(?:"+re+"|"+Z+")",le="(?:"+m+"(?:d|ll|m|re|s|t|ve))?",de="(?:"+m+"(?:D|LL|M|RE|S|T|VE))?",H=fe+"?",Y="["+su+"]?",$e="(?:"+F+"(?:"+[_e,j,q].join("|")+")"+Y+H+")*",ye="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ve="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ce=Y+H+$e,G="(?:"+[D,j,q].join("|")+")"+ce,C="(?:"+[_e+P+"?",P,j,q,y].join("|")+")",z=RegExp(m,"g"),oe=RegExp(P,"g"),we=RegExp(I+"(?="+I+")|"+C+ce,"g"),be=RegExp([re+"?"+L+"+"+le+"(?="+[S,re,"$"].join("|")+")",ie+"+"+de+"(?="+[S,re+se,"$"].join("|")+")",re+"?"+se+"+"+le,re+"+"+de,Ve,ye,T,G].join("|"),"g"),ve=RegExp("["+F+qo+jn+su+"]"),U=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Be=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ee=-1,te={};te[Mn]=te[Bi]=te[_n]=te[Kt]=te[eu]=te[tu]=te[Lo]=te[Al]=te[Rl]=!0,te[ai]=te[Gn]=te[Vt]=te[ds]=te[Os]=te[Di]=te[$l]=te[Wo]=te[Ni]=te[Ds]=te[Hn]=te[zo]=te[ki]=te[Fe]=te[ar]=!1;var ge={};ge[ai]=ge[Gn]=ge[Vt]=ge[Os]=ge[ds]=ge[Di]=ge[Mn]=ge[Bi]=ge[_n]=ge[Kt]=ge[eu]=ge[Ni]=ge[Ds]=ge[Hn]=ge[zo]=ge[ki]=ge[Fe]=ge[ps]=ge[tu]=ge[Lo]=ge[Al]=ge[Rl]=!0,ge[$l]=ge[Wo]=ge[ar]=!1;var ut={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},dt={"&":"&","<":"<",">":">",'"':""","'":"'"},ht={"&":"&","<":"<",">":">",""":'"',"'":"'"},_i={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nt=parseFloat,Le=parseInt,wt=typeof ta=="object"&&ta&&ta.Object===Object&&ta,Xe=typeof self=="object"&&self&&self.Object===Object&&self,Ie=wt||Xe||Function("return this")(),We=e&&!e.nodeType&&e,Ct=We&&!0&&n&&!n.nodeType&&n,pt=Ct&&Ct.exports===We,En=pt&&wt.process,tn=function(){try{var V=Ct&&Ct.require&&Ct.require("util").types;return V||En&&En.binding&&En.binding("util")}catch{}}(),Yi=tn&&tn.isArrayBuffer,ur=tn&&tn.isDate,bt=tn&&tn.isMap,ee=tn&&tn.isRegExp,He=tn&&tn.isSet,At=tn&&tn.isTypedArray;function it(V,ue,ne){switch(ne.length){case 0:return V.call(ue);case 1:return V.call(ue,ne[0]);case 2:return V.call(ue,ne[0],ne[1]);case 3:return V.call(ue,ne[0],ne[1],ne[2])}return V.apply(ue,ne)}function qt(V,ue,ne,De){for(var rt=-1,Et=V==null?0:V.length;++rt-1}function Wp(V,ue,ne){for(var De=-1,rt=V==null?0:V.length;++De-1;);return ne}function ly(V,ue){for(var ne=V.length;ne--&&Vl(ue,V[ne],0)>-1;);return ne}function L2(V,ue){for(var ne=V.length,De=0;ne--;)V[ne]===ue&&++De;return De}var I2=Vp(ut),V2=Vp(dt);function D2(V){return"\\"+_i[V]}function N2(V,ue){return V==null?t:V[ue]}function Dl(V){return ve.test(V)}function B2(V){return U.test(V)}function Y2(V){for(var ue,ne=[];!(ue=V.next()).done;)ne.push(ue.value);return ne}function Yp(V){var ue=-1,ne=Array(V.size);return V.forEach(function(De,rt){ne[++ue]=[rt,De]}),ne}function ay(V,ue){return function(ne){return V(ue(ne))}}function Us(V,ue){for(var ne=-1,De=V.length,rt=0,Et=[];++ne-1}function TE(l,u){var d=this.__data__,g=mc(d,l);return g<0?(++this.size,d.push([l,u])):d[g][1]=u,this}ms.prototype.clear=bE,ms.prototype.delete=EE,ms.prototype.get=$E,ms.prototype.has=CE,ms.prototype.set=TE;function ys(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u=u?l:u)),l}function fr(l,u,d,g,w,_){var A,X=u&O,N=u&v,pe=u&x;if(d&&(A=w?d(l,g,w,_):d(l)),A!==t)return A;if(!rn(l))return l;var Oe=ot(l);if(Oe){if(A=M$(l),!X)return Qi(l,A)}else{var Se=ei(l),Ae=Se==Wo||Se==qh;if(Ks(l))return Yy(l,X);if(Se==Hn||Se==ai||Ae&&!w){if(A=N||Ae?{}:uv(l),!X)return N?k$(l,ZE(A,l)):P$(l,Sy(A,l))}else{if(!ge[Se])return w?l:{};A=W$(l,Se,X)}}_||(_=new Er);var Ze=_.get(l);if(Ze)return Ze;_.set(l,A),Lv(l)?l.forEach(function(tt){A.add(fr(tt,u,d,tt,l,_))}):Wv(l)&&l.forEach(function(tt,yt){A.set(yt,fr(tt,u,d,yt,l,_))});var et=pe?N?gO:OO:N?Ei:zn,ft=Oe?t:et(l);return nn(ft||l,function(tt,yt){ft&&(yt=tt,tt=l[yt]),du(A,yt,fr(tt,u,d,yt,l,_))}),A}function FE(l){var u=zn(l);return function(d){return wy(d,l,u)}}function wy(l,u,d){var g=d.length;if(l==null)return!g;for(l=It(l);g--;){var w=d[g],_=u[w],A=l[w];if(A===t&&!(w in l)||!_(A))return!1}return!0}function xy(l,u,d){if(typeof l!="function")throw new hr(o);return Su(function(){l.apply(t,d)},u)}function pu(l,u,d,g){var w=-1,_=Br,A=!0,X=l.length,N=[],pe=u.length;if(!X)return N;d&&(u=Gt(u,qi(d))),g?(_=Wp,A=!1):u.length>=r&&(_=lu,A=!1,u=new jo(u));e:for(;++ww?0:w+d),g=g===t||g>w?w:ct(g),g<0&&(g+=w),g=d>g?0:Vv(g);d0&&d(X)?u>1?Dn(X,u-1,d,g,w):qs(w,X):g||(w[w.length]=X)}return w}var jp=Hy(),_y=Hy(!0);function Yr(l,u){return l&&jp(l,u,zn)}function Kp(l,u){return l&&_y(l,u,zn)}function vc(l,u){return Kn(u,function(d){return Ps(l[d])})}function Jo(l,u){u=Hs(u,l);for(var d=0,g=u.length;l!=null&&du}function jE(l,u){return l!=null&&Rt.call(l,u)}function KE(l,u){return l!=null&&u in It(l)}function JE(l,u,d){return l>=Jn(u,d)&&l=120&&Oe.length>=120)?new jo(A&&Oe):t}Oe=l[0];var Se=-1,Ae=X[0];e:for(;++Se-1;)X!==l&&hc.call(X,N,1),hc.call(l,N,1);return l}function Wy(l,u){for(var d=l?u.length:0,g=d-1;d--;){var w=u[d];if(d==g||w!==_){var _=w;xs(w)?hc.call(l,w,1):aO(l,w)}}return l}function sO(l,u){return l+dc(gy()*(u-l+1))}function f$(l,u,d,g){for(var w=-1,_=Cn(fc((u-l)/(d||1)),0),A=ne(_);_--;)A[g?_:++w]=l,l+=d;return A}function oO(l,u){var d="";if(!l||u<1||u>ke)return d;do u%2&&(d+=l),u=dc(u/2),u&&(l+=l);while(u);return d}function Ot(l,u){return PO(fv(l,u,$i),l+"")}function d$(l){return vy(Kl(l))}function p$(l,u){var d=Kl(l);return Cc(d,Ko(u,0,d.length))}function mu(l,u,d,g){if(!rn(l))return l;u=Hs(u,l);for(var w=-1,_=u.length,A=_-1,X=l;X!=null&&++w<_;){var N=Ur(u[w]),pe=d;if(N==="__proto__"||N==="constructor"||N==="prototype")return l;if(w!=A){var Oe=X[N];pe=g?g(Oe,N,X):t,pe===t&&(pe=rn(Oe)?Oe:xs(u[w+1])?[]:{})}du(X,N,pe),X=X[N]}return l}var zy=pc?function(l,u){return pc.set(l,u),l}:$i,O$=cc?function(l,u){return cc(l,"toString",{configurable:!0,enumerable:!1,value:RO(u),writable:!0})}:$i;function g$(l){return Cc(Kl(l))}function dr(l,u,d){var g=-1,w=l.length;u<0&&(u=-u>w?0:w+u),d=d>w?w:d,d<0&&(d+=w),w=u>d?0:d-u>>>0,u>>>=0;for(var _=ne(w);++g>>1,A=l[_];A!==null&&!Zi(A)&&(d?A<=u:A=r){var pe=u?null:E$(l);if(pe)return nc(pe);A=!1,w=lu,N=new jo}else N=u?[]:X;e:for(;++g<_;){var Oe=l[g],Se=u?u(Oe):Oe;if(Oe=d||Oe!==0?Oe:0,A&&Se===Se){for(var Ae=N.length;Ae--;)if(N[Ae]===Se)continue e;u&&N.push(Se),X.push(Oe)}else w(N,Se,d)||(N!==X&&N.push(Se),X.push(Oe))}return X}function aO(l,u){return u=Hs(u,l),l=dv(l,u),l==null||delete l[Ur(pr(u))]}function Vy(l,u,d,g){return mu(l,u,d(Jo(l,u)),g)}function xc(l,u,d,g){for(var w=l.length,_=g?w:-1;(g?_--:++_=g?l:dr(l,u,d)}var By=sE||function(l){return Ie.clearTimeout(l)};function Yy(l,u){if(u)return l.slice();var d=l.length,g=cy?cy(d):new l.constructor(d);return l.copy(g),g}function fO(l){var u=new l.constructor(l.byteLength);return new ac(u).set(new ac(l)),u}function v$(l,u){var d=u?fO(l.buffer):l.buffer;return new l.constructor(d,l.byteOffset,l.byteLength)}function S$(l){var u=new l.constructor(l.source,Jt.exec(l));return u.lastIndex=l.lastIndex,u}function w$(l){return fu?It(fu.call(l)):{}}function qy(l,u){var d=u?fO(l.buffer):l.buffer;return new l.constructor(d,l.byteOffset,l.length)}function Uy(l,u){if(l!==u){var d=l!==t,g=l===null,w=l===l,_=Zi(l),A=u!==t,X=u===null,N=u===u,pe=Zi(u);if(!X&&!pe&&!_&&l>u||_&&A&&N&&!X&&!pe||g&&A&&N||!d&&N||!w)return 1;if(!g&&!_&&!pe&&l=X)return N;var pe=d[g];return N*(pe=="desc"?-1:1)}}return l.index-u.index}function Zy(l,u,d,g){for(var w=-1,_=l.length,A=d.length,X=-1,N=u.length,pe=Cn(_-A,0),Oe=ne(N+pe),Se=!g;++X1?d[w-1]:t,A=w>2?d[2]:t;for(_=l.length>3&&typeof _=="function"?(w--,_):t,A&&di(d[0],d[1],A)&&(_=w<3?t:_,w=1),u=It(u);++g-1?w[_?u[A]:A]:t}}function Jy(l){return ws(function(u){var d=u.length,g=d,w=cr.prototype.thru;for(l&&u.reverse();g--;){var _=u[g];if(typeof _!="function")throw new hr(o);if(w&&!A&&Ec(_)=="wrapper")var A=new cr([],!0)}for(g=A?g:d;++g1&&xt.reverse(),Oe&&NX))return!1;var pe=_.get(l),Oe=_.get(u);if(pe&&Oe)return pe==u&&Oe==l;var Se=-1,Ae=!0,Ze=d&R?new jo:t;for(_.set(l,u),_.set(u,l);++Se1?"& ":"")+u[g],u=u.join(d>2?", ":" "),l.replace(Ml,`{ + */qd.exports;(function(n,e){(function(){var t,i="4.17.21",r=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",a="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",f=500,p="__lodash_placeholder__",O=1,v=2,x=4,Q=1,R=2,M=1,b=2,E=4,$=8,W=16,B=32,J=64,ae=128,xe=256,Me=512,Pe=30,Ke="...",at=800,mt=16,_t=1,Mt=2,Wt=3,zt=1/0,ke=9007199254740991,Re=17976931348623157e292,ze=0/0,je=4294967295,st=je-1,Vi=je>>>1,Pi=[["ary",ae],["bind",M],["bindKey",b],["curry",$],["curryRight",W],["flip",Me],["partial",B],["partialRight",J],["rearg",xe]],ai="[object Arguments]",Gn="[object Array]",Qr="[object AsyncFunction]",ds="[object Boolean]",Di="[object Date]",Yh="[object DOMException]",$l="[object Error]",Wo="[object Function]",qh="[object GeneratorFunction]",Ni="[object Map]",Ds="[object Number]",Rp="[object Null]",Hn="[object Object]",ki="[object Promise]",Cl="[object Proxy]",zo="[object RegExp]",_i="[object Set]",Fe="[object String]",ps="[object Symbol]",ui="[object Undefined]",ar="[object WeakMap]",Tl="[object WeakSet]",Vt="[object ArrayBuffer]",Os="[object DataView]",Mn="[object Float32Array]",Bi="[object Float64Array]",_n="[object Int8Array]",Kt="[object Int16Array]",eu="[object Int32Array]",tu="[object Uint8Array]",Lo="[object Uint8ClampedArray]",Al="[object Uint16Array]",Rl="[object Uint32Array]",nu=/\b__p \+= '';/g,Qn=/\b(__p \+=) '' \+/g,Xp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,On=/&(?:amp|lt|gt|quot|#39);/g,Uh=/[&<>"']/g,Wn=RegExp(On.source),Zh=RegExp(Uh.source),Fh=/<%-([\s\S]+?)%>/g,gs=/<%([\s\S]+?)%>/g,bn=/<%=([\s\S]+?)%>/g,Io=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vo=/^\w*$/,Xl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Do=/[\\^$.*+?()[\]{}|]/g,No=RegExp(Do.source),hi=/^\s+/,Bo=/\s/,Ml=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ns=/\{\n\/\* \[wrapped with (.+)\] \*/,Yo=/,? & /,iu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ru=/[()=,{}\[\]\/\s]/,Gh=/\\(\\)?/g,Wl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Jt=/\w*$/,cn=/^[-+]0x[0-9a-f]+$/i,Bs=/^0b[01]+$/i,Yt=/^\[object .+?Constructor\]$/,Hh=/^0o[0-7]+$/i,jh=/^(?:0|[1-9]\d*)$/,Kh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,en=/($^)/,Ce=/['\n\r\u2028\u2029\\]/g,qo="\\ud800-\\udfff",Jh="\\u0300-\\u036f",Mp="\\ufe20-\\ufe2f",Ys="\\u20d0-\\u20ff",jn=Jh+Mp+Ys,Uo="\\u2700-\\u27bf",Zo="a-z\\xdf-\\xf6\\xf8-\\xff",ec="\\xac\\xb1\\xd7\\xf7",zl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ll="\\u2000-\\u206f",ci=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Fo="A-Z\\xc0-\\xd6\\xd8-\\xde",su="\\ufe0e\\ufe0f",c=ec+zl+Ll+ci,m="['’]",y="["+qo+"]",S="["+c+"]",P="["+jn+"]",T="\\d+",D="["+Uo+"]",L="["+Zo+"]",Z="[^"+qo+c+T+Uo+Zo+Fo+"]",I="\\ud83c[\\udffb-\\udfff]",fe="(?:"+P+"|"+I+")",_e="[^"+qo+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",q="[\\ud800-\\udbff][\\udc00-\\udfff]",re="["+Fo+"]",F="\\u200d",se="(?:"+L+"|"+Z+")",ie="(?:"+re+"|"+Z+")",le="(?:"+m+"(?:d|ll|m|re|s|t|ve))?",de="(?:"+m+"(?:D|LL|M|RE|S|T|VE))?",H=fe+"?",Y="["+su+"]?",$e="(?:"+F+"(?:"+[_e,j,q].join("|")+")"+Y+H+")*",ye="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ve="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ce=Y+H+$e,G="(?:"+[D,j,q].join("|")+")"+ce,C="(?:"+[_e+P+"?",P,j,q,y].join("|")+")",z=RegExp(m,"g"),oe=RegExp(P,"g"),we=RegExp(I+"(?="+I+")|"+C+ce,"g"),be=RegExp([re+"?"+L+"+"+le+"(?="+[S,re,"$"].join("|")+")",ie+"+"+de+"(?="+[S,re+se,"$"].join("|")+")",re+"?"+se+"+"+le,re+"+"+de,Ve,ye,T,G].join("|"),"g"),ve=RegExp("["+F+qo+jn+su+"]"),U=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Be=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ee=-1,te={};te[Mn]=te[Bi]=te[_n]=te[Kt]=te[eu]=te[tu]=te[Lo]=te[Al]=te[Rl]=!0,te[ai]=te[Gn]=te[Vt]=te[ds]=te[Os]=te[Di]=te[$l]=te[Wo]=te[Ni]=te[Ds]=te[Hn]=te[zo]=te[_i]=te[Fe]=te[ar]=!1;var ge={};ge[ai]=ge[Gn]=ge[Vt]=ge[Os]=ge[ds]=ge[Di]=ge[Mn]=ge[Bi]=ge[_n]=ge[Kt]=ge[eu]=ge[Ni]=ge[Ds]=ge[Hn]=ge[zo]=ge[_i]=ge[Fe]=ge[ps]=ge[tu]=ge[Lo]=ge[Al]=ge[Rl]=!0,ge[$l]=ge[Wo]=ge[ar]=!1;var ut={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},dt={"&":"&","<":"<",">":">",'"':""","'":"'"},ht={"&":"&","<":"<",">":">",""":'"',"'":"'"},Qi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nt=parseFloat,Le=parseInt,wt=typeof ta=="object"&&ta&&ta.Object===Object&&ta,Xe=typeof self=="object"&&self&&self.Object===Object&&self,Ie=wt||Xe||Function("return this")(),We=e&&!e.nodeType&&e,Ct=We&&!0&&n&&!n.nodeType&&n,pt=Ct&&Ct.exports===We,En=pt&&wt.process,tn=function(){try{var V=Ct&&Ct.require&&Ct.require("util").types;return V||En&&En.binding&&En.binding("util")}catch{}}(),Yi=tn&&tn.isArrayBuffer,ur=tn&&tn.isDate,bt=tn&&tn.isMap,ee=tn&&tn.isRegExp,He=tn&&tn.isSet,At=tn&&tn.isTypedArray;function it(V,ue,ne){switch(ne.length){case 0:return V.call(ue);case 1:return V.call(ue,ne[0]);case 2:return V.call(ue,ne[0],ne[1]);case 3:return V.call(ue,ne[0],ne[1],ne[2])}return V.apply(ue,ne)}function qt(V,ue,ne,De){for(var rt=-1,Et=V==null?0:V.length;++rt-1}function Wp(V,ue,ne){for(var De=-1,rt=V==null?0:V.length;++De-1;);return ne}function ly(V,ue){for(var ne=V.length;ne--&&Vl(ue,V[ne],0)>-1;);return ne}function L2(V,ue){for(var ne=V.length,De=0;ne--;)V[ne]===ue&&++De;return De}var I2=Vp(ut),V2=Vp(dt);function D2(V){return"\\"+Qi[V]}function N2(V,ue){return V==null?t:V[ue]}function Dl(V){return ve.test(V)}function B2(V){return U.test(V)}function Y2(V){for(var ue,ne=[];!(ue=V.next()).done;)ne.push(ue.value);return ne}function Yp(V){var ue=-1,ne=Array(V.size);return V.forEach(function(De,rt){ne[++ue]=[rt,De]}),ne}function ay(V,ue){return function(ne){return V(ue(ne))}}function Us(V,ue){for(var ne=-1,De=V.length,rt=0,Et=[];++ne-1}function TE(l,u){var d=this.__data__,g=mc(d,l);return g<0?(++this.size,d.push([l,u])):d[g][1]=u,this}ms.prototype.clear=bE,ms.prototype.delete=EE,ms.prototype.get=$E,ms.prototype.has=CE,ms.prototype.set=TE;function ys(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u=u?l:u)),l}function fr(l,u,d,g,w,_){var A,X=u&O,N=u&v,pe=u&x;if(d&&(A=w?d(l,g,w,_):d(l)),A!==t)return A;if(!rn(l))return l;var Oe=ot(l);if(Oe){if(A=M$(l),!X)return bi(l,A)}else{var Se=ei(l),Ae=Se==Wo||Se==qh;if(Ks(l))return Yy(l,X);if(Se==Hn||Se==ai||Ae&&!w){if(A=N||Ae?{}:uv(l),!X)return N?k$(l,ZE(A,l)):P$(l,Sy(A,l))}else{if(!ge[Se])return w?l:{};A=W$(l,Se,X)}}_||(_=new Er);var Ze=_.get(l);if(Ze)return Ze;_.set(l,A),Lv(l)?l.forEach(function(tt){A.add(fr(tt,u,d,tt,l,_))}):Wv(l)&&l.forEach(function(tt,yt){A.set(yt,fr(tt,u,d,yt,l,_))});var et=pe?N?gO:OO:N?$i:zn,ft=Oe?t:et(l);return nn(ft||l,function(tt,yt){ft&&(yt=tt,tt=l[yt]),du(A,yt,fr(tt,u,d,yt,l,_))}),A}function FE(l){var u=zn(l);return function(d){return wy(d,l,u)}}function wy(l,u,d){var g=d.length;if(l==null)return!g;for(l=It(l);g--;){var w=d[g],_=u[w],A=l[w];if(A===t&&!(w in l)||!_(A))return!1}return!0}function xy(l,u,d){if(typeof l!="function")throw new hr(o);return Su(function(){l.apply(t,d)},u)}function pu(l,u,d,g){var w=-1,_=Br,A=!0,X=l.length,N=[],pe=u.length;if(!X)return N;d&&(u=Gt(u,qi(d))),g?(_=Wp,A=!1):u.length>=r&&(_=lu,A=!1,u=new jo(u));e:for(;++ww?0:w+d),g=g===t||g>w?w:ct(g),g<0&&(g+=w),g=d>g?0:Vv(g);d0&&d(X)?u>1?Dn(X,u-1,d,g,w):qs(w,X):g||(w[w.length]=X)}return w}var jp=Hy(),_y=Hy(!0);function Yr(l,u){return l&&jp(l,u,zn)}function Kp(l,u){return l&&_y(l,u,zn)}function vc(l,u){return Kn(u,function(d){return Ps(l[d])})}function Jo(l,u){u=Hs(u,l);for(var d=0,g=u.length;l!=null&&du}function jE(l,u){return l!=null&&Rt.call(l,u)}function KE(l,u){return l!=null&&u in It(l)}function JE(l,u,d){return l>=Jn(u,d)&&l=120&&Oe.length>=120)?new jo(A&&Oe):t}Oe=l[0];var Se=-1,Ae=X[0];e:for(;++Se-1;)X!==l&&hc.call(X,N,1),hc.call(l,N,1);return l}function Wy(l,u){for(var d=l?u.length:0,g=d-1;d--;){var w=u[d];if(d==g||w!==_){var _=w;xs(w)?hc.call(l,w,1):aO(l,w)}}return l}function sO(l,u){return l+dc(gy()*(u-l+1))}function f$(l,u,d,g){for(var w=-1,_=Cn(fc((u-l)/(d||1)),0),A=ne(_);_--;)A[g?_:++w]=l,l+=d;return A}function oO(l,u){var d="";if(!l||u<1||u>ke)return d;do u%2&&(d+=l),u=dc(u/2),u&&(l+=l);while(u);return d}function Ot(l,u){return PO(fv(l,u,Ci),l+"")}function d$(l){return vy(Kl(l))}function p$(l,u){var d=Kl(l);return Cc(d,Ko(u,0,d.length))}function mu(l,u,d,g){if(!rn(l))return l;u=Hs(u,l);for(var w=-1,_=u.length,A=_-1,X=l;X!=null&&++w<_;){var N=Ur(u[w]),pe=d;if(N==="__proto__"||N==="constructor"||N==="prototype")return l;if(w!=A){var Oe=X[N];pe=g?g(Oe,N,X):t,pe===t&&(pe=rn(Oe)?Oe:xs(u[w+1])?[]:{})}du(X,N,pe),X=X[N]}return l}var zy=pc?function(l,u){return pc.set(l,u),l}:Ci,O$=cc?function(l,u){return cc(l,"toString",{configurable:!0,enumerable:!1,value:RO(u),writable:!0})}:Ci;function g$(l){return Cc(Kl(l))}function dr(l,u,d){var g=-1,w=l.length;u<0&&(u=-u>w?0:w+u),d=d>w?w:d,d<0&&(d+=w),w=u>d?0:d-u>>>0,u>>>=0;for(var _=ne(w);++g>>1,A=l[_];A!==null&&!Zi(A)&&(d?A<=u:A=r){var pe=u?null:E$(l);if(pe)return nc(pe);A=!1,w=lu,N=new jo}else N=u?[]:X;e:for(;++g<_;){var Oe=l[g],Se=u?u(Oe):Oe;if(Oe=d||Oe!==0?Oe:0,A&&Se===Se){for(var Ae=N.length;Ae--;)if(N[Ae]===Se)continue e;u&&N.push(Se),X.push(Oe)}else w(N,Se,d)||(N!==X&&N.push(Se),X.push(Oe))}return X}function aO(l,u){return u=Hs(u,l),l=dv(l,u),l==null||delete l[Ur(pr(u))]}function Vy(l,u,d,g){return mu(l,u,d(Jo(l,u)),g)}function xc(l,u,d,g){for(var w=l.length,_=g?w:-1;(g?_--:++_=g?l:dr(l,u,d)}var By=sE||function(l){return Ie.clearTimeout(l)};function Yy(l,u){if(u)return l.slice();var d=l.length,g=cy?cy(d):new l.constructor(d);return l.copy(g),g}function fO(l){var u=new l.constructor(l.byteLength);return new ac(u).set(new ac(l)),u}function v$(l,u){var d=u?fO(l.buffer):l.buffer;return new l.constructor(d,l.byteOffset,l.byteLength)}function S$(l){var u=new l.constructor(l.source,Jt.exec(l));return u.lastIndex=l.lastIndex,u}function w$(l){return fu?It(fu.call(l)):{}}function qy(l,u){var d=u?fO(l.buffer):l.buffer;return new l.constructor(d,l.byteOffset,l.length)}function Uy(l,u){if(l!==u){var d=l!==t,g=l===null,w=l===l,_=Zi(l),A=u!==t,X=u===null,N=u===u,pe=Zi(u);if(!X&&!pe&&!_&&l>u||_&&A&&N&&!X&&!pe||g&&A&&N||!d&&N||!w)return 1;if(!g&&!_&&!pe&&l=X)return N;var pe=d[g];return N*(pe=="desc"?-1:1)}}return l.index-u.index}function Zy(l,u,d,g){for(var w=-1,_=l.length,A=d.length,X=-1,N=u.length,pe=Cn(_-A,0),Oe=ne(N+pe),Se=!g;++X1?d[w-1]:t,A=w>2?d[2]:t;for(_=l.length>3&&typeof _=="function"?(w--,_):t,A&&di(d[0],d[1],A)&&(_=w<3?t:_,w=1),u=It(u);++g-1?w[_?u[A]:A]:t}}function Jy(l){return ws(function(u){var d=u.length,g=d,w=cr.prototype.thru;for(l&&u.reverse();g--;){var _=u[g];if(typeof _!="function")throw new hr(o);if(w&&!A&&Ec(_)=="wrapper")var A=new cr([],!0)}for(g=A?g:d;++g1&&xt.reverse(),Oe&&NX))return!1;var pe=_.get(l),Oe=_.get(u);if(pe&&Oe)return pe==u&&Oe==l;var Se=-1,Ae=!0,Ze=d&R?new jo:t;for(_.set(l,u),_.set(u,l);++Se1?"& ":"")+u[g],u=u.join(d>2?", ":" "),l.replace(Ml,`{ /* [wrapped with `+u+`] */ -`)}function L$(l){return ot(l)||nl(l)||!!(py&&l&&l[py])}function xs(l,u){var d=typeof l;return u=u??ke,!!u&&(d=="number"||d!="symbol"&&jh.test(l))&&l>-1&&l%1==0&&l0){if(++u>=at)return arguments[0]}else u=0;return l.apply(t,arguments)}}function Cc(l,u){var d=-1,g=l.length,w=g-1;for(u=u===t?g:u;++d1?l[u-1]:t;return d=typeof d=="function"?(l.pop(),d):t,kv(l,d)});function _v(l){var u=k(l);return u.__chain__=!0,u}function GC(l,u){return u(l),l}function Tc(l,u){return u(l)}var HC=ws(function(l){var u=l.length,d=u?l[0]:0,g=this.__wrapped__,w=function(_){return Hp(_,l)};return u>1||this.__actions__.length||!(g instanceof vt)||!xs(d)?this.thru(w):(g=g.slice(d,+d+(u?1:0)),g.__actions__.push({func:Tc,args:[w],thisArg:t}),new cr(g,this.__chain__).thru(function(_){return u&&!_.length&&_.push(t),_}))});function jC(){return _v(this)}function KC(){return new cr(this.value(),this.__chain__)}function JC(){this.__values__===t&&(this.__values__=Iv(this.value()));var l=this.__index__>=this.__values__.length,u=l?t:this.__values__[this.__index__++];return{done:l,value:u}}function eT(){return this}function tT(l){for(var u,d=this;d instanceof gc;){var g=yv(d);g.__index__=0,g.__values__=t,u?w.__wrapped__=g:u=g;var w=g;d=d.__wrapped__}return w.__wrapped__=l,u}function nT(){var l=this.__wrapped__;if(l instanceof vt){var u=l;return this.__actions__.length&&(u=new vt(this)),u=u.reverse(),u.__actions__.push({func:Tc,args:[kO],thisArg:t}),new cr(u,this.__chain__)}return this.thru(kO)}function iT(){return Dy(this.__wrapped__,this.__actions__)}var rT=Pc(function(l,u,d){Rt.call(l,d)?++l[d]:vs(l,d,1)});function sT(l,u,d){var g=ot(l)?Il:GE;return d&&di(l,u,d)&&(u=t),g(l,Je(u,3))}function oT(l,u){var d=ot(l)?Kn:ky;return d(l,Je(u,3))}var lT=Ky(vv),aT=Ky(Sv);function uT(l,u){return Dn(Ac(l,u),1)}function hT(l,u){return Dn(Ac(l,u),zt)}function cT(l,u,d){return d=d===t?1:ct(d),Dn(Ac(l,u),d)}function Qv(l,u){var d=ot(l)?nn:Fs;return d(l,Je(u,3))}function bv(l,u){var d=ot(l)?ou:Py;return d(l,Je(u,3))}var fT=Pc(function(l,u,d){Rt.call(l,d)?l[d].push(u):vs(l,d,[u])});function dT(l,u,d,g){l=bi(l)?l:Kl(l),d=d&&!g?ct(d):0;var w=l.length;return d<0&&(d=Cn(w+d,0)),zc(l)?d<=w&&l.indexOf(u,d)>-1:!!w&&Vl(l,u,d)>-1}var pT=Ot(function(l,u,d){var g=-1,w=typeof u=="function",_=bi(l)?ne(l.length):[];return Fs(l,function(A){_[++g]=w?it(u,A,d):Ou(A,u,d)}),_}),OT=Pc(function(l,u,d){vs(l,d,u)});function Ac(l,u){var d=ot(l)?Gt:Cy;return d(l,Je(u,3))}function gT(l,u,d,g){return l==null?[]:(ot(u)||(u=u==null?[]:[u]),d=g?t:d,ot(d)||(d=d==null?[]:[d]),Xy(l,u,d))}var mT=Pc(function(l,u,d){l[d?0:1].push(u)},function(){return[[],[]]});function yT(l,u,d){var g=ot(l)?zp:ry,w=arguments.length<3;return g(l,Je(u,4),d,w,Fs)}function vT(l,u,d){var g=ot(l)?T2:ry,w=arguments.length<3;return g(l,Je(u,4),d,w,Py)}function ST(l,u){var d=ot(l)?Kn:ky;return d(l,Mc(Je(u,3)))}function wT(l){var u=ot(l)?vy:d$;return u(l)}function xT(l,u,d){(d?di(l,u,d):u===t)?u=1:u=ct(u);var g=ot(l)?YE:p$;return g(l,u)}function PT(l){var u=ot(l)?qE:g$;return u(l)}function kT(l){if(l==null)return 0;if(bi(l))return zc(l)?Nl(l):l.length;var u=ei(l);return u==Ni||u==ki?l.size:nO(l).length}function _T(l,u,d){var g=ot(l)?Lp:m$;return d&&di(l,u,d)&&(u=t),g(l,Je(u,3))}var QT=Ot(function(l,u){if(l==null)return[];var d=u.length;return d>1&&di(l,u[0],u[1])?u=[]:d>2&&di(u[0],u[1],u[2])&&(u=[u[0]]),Xy(l,Dn(u,1),[])}),Rc=oE||function(){return Ie.Date.now()};function bT(l,u){if(typeof u!="function")throw new hr(o);return l=ct(l),function(){if(--l<1)return u.apply(this,arguments)}}function Ev(l,u,d){return u=d?t:u,u=l&&u==null?l.length:u,Ss(l,ae,t,t,t,t,u)}function $v(l,u){var d;if(typeof u!="function")throw new hr(o);return l=ct(l),function(){return--l>0&&(d=u.apply(this,arguments)),l<=1&&(u=t),d}}var QO=Ot(function(l,u,d){var g=M;if(d.length){var w=Us(d,Hl(QO));g|=B}return Ss(l,g,u,d,w)}),Cv=Ot(function(l,u,d){var g=M|b;if(d.length){var w=Us(d,Hl(Cv));g|=B}return Ss(u,g,l,d,w)});function Tv(l,u,d){u=d?t:u;var g=Ss(l,$,t,t,t,t,t,u);return g.placeholder=Tv.placeholder,g}function Av(l,u,d){u=d?t:u;var g=Ss(l,W,t,t,t,t,t,u);return g.placeholder=Av.placeholder,g}function Rv(l,u,d){var g,w,_,A,X,N,pe=0,Oe=!1,Se=!1,Ae=!0;if(typeof l!="function")throw new hr(o);u=Or(u)||0,rn(d)&&(Oe=!!d.leading,Se="maxWait"in d,_=Se?Cn(Or(d.maxWait)||0,u):_,Ae="trailing"in d?!!d.trailing:Ae);function Ze(mn){var Cr=g,_s=w;return g=w=t,pe=mn,A=l.apply(_s,Cr),A}function et(mn){return pe=mn,X=Su(yt,u),Oe?Ze(mn):A}function ft(mn){var Cr=mn-N,_s=mn-pe,Kv=u-Cr;return Se?Jn(Kv,_-_s):Kv}function tt(mn){var Cr=mn-N,_s=mn-pe;return N===t||Cr>=u||Cr<0||Se&&_s>=_}function yt(){var mn=Rc();if(tt(mn))return xt(mn);X=Su(yt,ft(mn))}function xt(mn){return X=t,Ae&&g?Ze(mn):(g=w=t,A)}function Fi(){X!==t&&By(X),pe=0,g=N=w=X=t}function pi(){return X===t?A:xt(Rc())}function Gi(){var mn=Rc(),Cr=tt(mn);if(g=arguments,w=this,N=mn,Cr){if(X===t)return et(N);if(Se)return By(X),X=Su(yt,u),Ze(N)}return X===t&&(X=Su(yt,u)),A}return Gi.cancel=Fi,Gi.flush=pi,Gi}var ET=Ot(function(l,u){return xy(l,1,u)}),$T=Ot(function(l,u,d){return xy(l,Or(u)||0,d)});function CT(l){return Ss(l,Me)}function Xc(l,u){if(typeof l!="function"||u!=null&&typeof u!="function")throw new hr(o);var d=function(){var g=arguments,w=u?u.apply(this,g):g[0],_=d.cache;if(_.has(w))return _.get(w);var A=l.apply(this,g);return d.cache=_.set(w,A)||_,A};return d.cache=new(Xc.Cache||ys),d}Xc.Cache=ys;function Mc(l){if(typeof l!="function")throw new hr(o);return function(){var u=arguments;switch(u.length){case 0:return!l.call(this);case 1:return!l.call(this,u[0]);case 2:return!l.call(this,u[0],u[1]);case 3:return!l.call(this,u[0],u[1],u[2])}return!l.apply(this,u)}}function TT(l){return $v(2,l)}var AT=y$(function(l,u){u=u.length==1&&ot(u[0])?Gt(u[0],qi(Je())):Gt(Dn(u,1),qi(Je()));var d=u.length;return Ot(function(g){for(var w=-1,_=Jn(g.length,d);++w<_;)g[w]=u[w].call(this,g[w]);return it(l,this,g)})}),bO=Ot(function(l,u){var d=Us(u,Hl(bO));return Ss(l,B,t,u,d)}),Xv=Ot(function(l,u){var d=Us(u,Hl(Xv));return Ss(l,J,t,u,d)}),RT=ws(function(l,u){return Ss(l,xe,t,t,t,u)});function XT(l,u){if(typeof l!="function")throw new hr(o);return u=u===t?u:ct(u),Ot(l,u)}function MT(l,u){if(typeof l!="function")throw new hr(o);return u=u==null?0:Cn(ct(u),0),Ot(function(d){var g=d[u],w=js(d,0,u);return g&&qs(w,g),it(l,this,w)})}function WT(l,u,d){var g=!0,w=!0;if(typeof l!="function")throw new hr(o);return rn(d)&&(g="leading"in d?!!d.leading:g,w="trailing"in d?!!d.trailing:w),Rv(l,u,{leading:g,maxWait:u,trailing:w})}function zT(l){return Ev(l,1)}function LT(l,u){return bO(cO(u),l)}function IT(){if(!arguments.length)return[];var l=arguments[0];return ot(l)?l:[l]}function VT(l){return fr(l,x)}function DT(l,u){return u=typeof u=="function"?u:t,fr(l,x,u)}function NT(l){return fr(l,O|x)}function BT(l,u){return u=typeof u=="function"?u:t,fr(l,O|x,u)}function YT(l,u){return u==null||wy(l,u,zn(u))}function $r(l,u){return l===u||l!==l&&u!==u}var qT=bc(Jp),UT=bc(function(l,u){return l>=u}),nl=by(function(){return arguments}())?by:function(l){return fn(l)&&Rt.call(l,"callee")&&!dy.call(l,"callee")},ot=ne.isArray,ZT=Yi?qi(Yi):t$;function bi(l){return l!=null&&Wc(l.length)&&!Ps(l)}function gn(l){return fn(l)&&bi(l)}function FT(l){return l===!0||l===!1||fn(l)&&fi(l)==ds}var Ks=aE||LO,GT=ur?qi(ur):n$;function HT(l){return fn(l)&&l.nodeType===1&&!wu(l)}function jT(l){if(l==null)return!0;if(bi(l)&&(ot(l)||typeof l=="string"||typeof l.splice=="function"||Ks(l)||jl(l)||nl(l)))return!l.length;var u=ei(l);if(u==Ni||u==ki)return!l.size;if(vu(l))return!nO(l).length;for(var d in l)if(Rt.call(l,d))return!1;return!0}function KT(l,u){return gu(l,u)}function JT(l,u,d){d=typeof d=="function"?d:t;var g=d?d(l,u):t;return g===t?gu(l,u,t,d):!!g}function EO(l){if(!fn(l))return!1;var u=fi(l);return u==$l||u==Yh||typeof l.message=="string"&&typeof l.name=="string"&&!wu(l)}function eA(l){return typeof l=="number"&&Oy(l)}function Ps(l){if(!rn(l))return!1;var u=fi(l);return u==Wo||u==qh||u==Qr||u==Cl}function Mv(l){return typeof l=="number"&&l==ct(l)}function Wc(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=ke}function rn(l){var u=typeof l;return l!=null&&(u=="object"||u=="function")}function fn(l){return l!=null&&typeof l=="object"}var Wv=bt?qi(bt):r$;function tA(l,u){return l===u||tO(l,u,yO(u))}function nA(l,u,d){return d=typeof d=="function"?d:t,tO(l,u,yO(u),d)}function iA(l){return zv(l)&&l!=+l}function rA(l){if(D$(l))throw new rt(s);return Ey(l)}function sA(l){return l===null}function oA(l){return l==null}function zv(l){return typeof l=="number"||fn(l)&&fi(l)==Ds}function wu(l){if(!fn(l)||fi(l)!=Hn)return!1;var u=uc(l);if(u===null)return!0;var d=Rt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&sc.call(d)==nE}var $O=ee?qi(ee):s$;function lA(l){return Mv(l)&&l>=-ke&&l<=ke}var Lv=He?qi(He):o$;function zc(l){return typeof l=="string"||!ot(l)&&fn(l)&&fi(l)==Fe}function Zi(l){return typeof l=="symbol"||fn(l)&&fi(l)==ps}var jl=At?qi(At):l$;function aA(l){return l===t}function uA(l){return fn(l)&&ei(l)==ar}function hA(l){return fn(l)&&fi(l)==Tl}var cA=bc(iO),fA=bc(function(l,u){return l<=u});function Iv(l){if(!l)return[];if(bi(l))return zc(l)?br(l):Qi(l);if(au&&l[au])return Y2(l[au]());var u=ei(l),d=u==Ni?Yp:u==ki?nc:Kl;return d(l)}function ks(l){if(!l)return l===0?l:0;if(l=Or(l),l===zt||l===-zt){var u=l<0?-1:1;return u*Re}return l===l?l:0}function ct(l){var u=ks(l),d=u%1;return u===u?d?u-d:u:0}function Vv(l){return l?Ko(ct(l),0,je):0}function Or(l){if(typeof l=="number")return l;if(Zi(l))return ze;if(rn(l)){var u=typeof l.valueOf=="function"?l.valueOf():l;l=rn(u)?u+"":u}if(typeof l!="string")return l===0?l:+l;l=sy(l);var d=Bs.test(l);return d||Hh.test(l)?Le(l.slice(2),d?2:8):cn.test(l)?ze:+l}function Dv(l){return qr(l,Ei(l))}function dA(l){return l?Ko(ct(l),-ke,ke):l===0?l:0}function Tt(l){return l==null?"":Ui(l)}var pA=Fl(function(l,u){if(vu(u)||bi(u)){qr(u,zn(u),l);return}for(var d in u)Rt.call(u,d)&&du(l,d,u[d])}),Nv=Fl(function(l,u){qr(u,Ei(u),l)}),Lc=Fl(function(l,u,d,g){qr(u,Ei(u),l,g)}),OA=Fl(function(l,u,d,g){qr(u,zn(u),l,g)}),gA=ws(Hp);function mA(l,u){var d=Zl(l);return u==null?d:Sy(d,u)}var yA=Ot(function(l,u){l=It(l);var d=-1,g=u.length,w=g>2?u[2]:t;for(w&&di(u[0],u[1],w)&&(g=1);++d1),_}),qr(l,gO(l),d),g&&(d=fr(d,O|v|x,$$));for(var w=u.length;w--;)aO(d,u[w]);return d});function WA(l,u){return Yv(l,Mc(Je(u)))}var zA=ws(function(l,u){return l==null?{}:h$(l,u)});function Yv(l,u){if(l==null)return{};var d=Gt(gO(l),function(g){return[g]});return u=Je(u),My(l,d,function(g,w){return u(g,w[0])})}function LA(l,u,d){u=Hs(u,l);var g=-1,w=u.length;for(w||(w=1,l=t);++gu){var g=l;l=u,u=g}if(d||l%1||u%1){var w=gy();return Jn(l+w*(u-l+nt("1e-"+((w+"").length-1))),u)}return sO(l,u)}var GA=Gl(function(l,u,d){return u=u.toLowerCase(),l+(d?Zv(u):u)});function Zv(l){return AO(Tt(l).toLowerCase())}function Fv(l){return l=Tt(l),l&&l.replace(Kh,I2).replace(oe,"")}function HA(l,u,d){l=Tt(l),u=Ui(u);var g=l.length;d=d===t?g:Ko(ct(d),0,g);var w=d;return d-=u.length,d>=0&&l.slice(d,w)==u}function jA(l){return l=Tt(l),l&&Zh.test(l)?l.replace(Uh,V2):l}function KA(l){return l=Tt(l),l&&No.test(l)?l.replace(Do,"\\$&"):l}var JA=Gl(function(l,u,d){return l+(d?"-":"")+u.toLowerCase()}),eR=Gl(function(l,u,d){return l+(d?" ":"")+u.toLowerCase()}),tR=jy("toLowerCase");function nR(l,u,d){l=Tt(l),u=ct(u);var g=u?Nl(l):0;if(!u||g>=u)return l;var w=(u-g)/2;return Qc(dc(w),d)+l+Qc(fc(w),d)}function iR(l,u,d){l=Tt(l),u=ct(u);var g=u?Nl(l):0;return u&&g>>0,d?(l=Tt(l),l&&(typeof u=="string"||u!=null&&!$O(u))&&(u=Ui(u),!u&&Dl(l))?js(br(l),0,d):l.split(u,d)):[]}var hR=Gl(function(l,u,d){return l+(d?" ":"")+AO(u)});function cR(l,u,d){return l=Tt(l),d=d==null?0:Ko(ct(d),0,l.length),u=Ui(u),l.slice(d,d+u.length)==u}function fR(l,u,d){var g=k.templateSettings;d&&di(l,u,d)&&(u=t),l=Tt(l),u=Lc({},u,g,rv);var w=Lc({},u.imports,g.imports,rv),_=zn(w),A=Bp(w,_),X,N,pe=0,Oe=u.interpolate||en,Se="__p += '",Ae=qp((u.escape||en).source+"|"+Oe.source+"|"+(Oe===bn?Wl:en).source+"|"+(u.evaluate||en).source+"|$","g"),Ze="//# sourceURL="+(Rt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ee+"]")+` +`)}function L$(l){return ot(l)||nl(l)||!!(py&&l&&l[py])}function xs(l,u){var d=typeof l;return u=u??ke,!!u&&(d=="number"||d!="symbol"&&jh.test(l))&&l>-1&&l%1==0&&l0){if(++u>=at)return arguments[0]}else u=0;return l.apply(t,arguments)}}function Cc(l,u){var d=-1,g=l.length,w=g-1;for(u=u===t?g:u;++d1?l[u-1]:t;return d=typeof d=="function"?(l.pop(),d):t,kv(l,d)});function _v(l){var u=k(l);return u.__chain__=!0,u}function GC(l,u){return u(l),l}function Tc(l,u){return u(l)}var HC=ws(function(l){var u=l.length,d=u?l[0]:0,g=this.__wrapped__,w=function(_){return Hp(_,l)};return u>1||this.__actions__.length||!(g instanceof vt)||!xs(d)?this.thru(w):(g=g.slice(d,+d+(u?1:0)),g.__actions__.push({func:Tc,args:[w],thisArg:t}),new cr(g,this.__chain__).thru(function(_){return u&&!_.length&&_.push(t),_}))});function jC(){return _v(this)}function KC(){return new cr(this.value(),this.__chain__)}function JC(){this.__values__===t&&(this.__values__=Iv(this.value()));var l=this.__index__>=this.__values__.length,u=l?t:this.__values__[this.__index__++];return{done:l,value:u}}function eT(){return this}function tT(l){for(var u,d=this;d instanceof gc;){var g=yv(d);g.__index__=0,g.__values__=t,u?w.__wrapped__=g:u=g;var w=g;d=d.__wrapped__}return w.__wrapped__=l,u}function nT(){var l=this.__wrapped__;if(l instanceof vt){var u=l;return this.__actions__.length&&(u=new vt(this)),u=u.reverse(),u.__actions__.push({func:Tc,args:[kO],thisArg:t}),new cr(u,this.__chain__)}return this.thru(kO)}function iT(){return Dy(this.__wrapped__,this.__actions__)}var rT=Pc(function(l,u,d){Rt.call(l,d)?++l[d]:vs(l,d,1)});function sT(l,u,d){var g=ot(l)?Il:GE;return d&&di(l,u,d)&&(u=t),g(l,Je(u,3))}function oT(l,u){var d=ot(l)?Kn:ky;return d(l,Je(u,3))}var lT=Ky(vv),aT=Ky(Sv);function uT(l,u){return Dn(Ac(l,u),1)}function hT(l,u){return Dn(Ac(l,u),zt)}function cT(l,u,d){return d=d===t?1:ct(d),Dn(Ac(l,u),d)}function Qv(l,u){var d=ot(l)?nn:Fs;return d(l,Je(u,3))}function bv(l,u){var d=ot(l)?ou:Py;return d(l,Je(u,3))}var fT=Pc(function(l,u,d){Rt.call(l,d)?l[d].push(u):vs(l,d,[u])});function dT(l,u,d,g){l=Ei(l)?l:Kl(l),d=d&&!g?ct(d):0;var w=l.length;return d<0&&(d=Cn(w+d,0)),zc(l)?d<=w&&l.indexOf(u,d)>-1:!!w&&Vl(l,u,d)>-1}var pT=Ot(function(l,u,d){var g=-1,w=typeof u=="function",_=Ei(l)?ne(l.length):[];return Fs(l,function(A){_[++g]=w?it(u,A,d):Ou(A,u,d)}),_}),OT=Pc(function(l,u,d){vs(l,d,u)});function Ac(l,u){var d=ot(l)?Gt:Cy;return d(l,Je(u,3))}function gT(l,u,d,g){return l==null?[]:(ot(u)||(u=u==null?[]:[u]),d=g?t:d,ot(d)||(d=d==null?[]:[d]),Xy(l,u,d))}var mT=Pc(function(l,u,d){l[d?0:1].push(u)},function(){return[[],[]]});function yT(l,u,d){var g=ot(l)?zp:ry,w=arguments.length<3;return g(l,Je(u,4),d,w,Fs)}function vT(l,u,d){var g=ot(l)?T2:ry,w=arguments.length<3;return g(l,Je(u,4),d,w,Py)}function ST(l,u){var d=ot(l)?Kn:ky;return d(l,Mc(Je(u,3)))}function wT(l){var u=ot(l)?vy:d$;return u(l)}function xT(l,u,d){(d?di(l,u,d):u===t)?u=1:u=ct(u);var g=ot(l)?YE:p$;return g(l,u)}function PT(l){var u=ot(l)?qE:g$;return u(l)}function kT(l){if(l==null)return 0;if(Ei(l))return zc(l)?Nl(l):l.length;var u=ei(l);return u==Ni||u==_i?l.size:nO(l).length}function _T(l,u,d){var g=ot(l)?Lp:m$;return d&&di(l,u,d)&&(u=t),g(l,Je(u,3))}var QT=Ot(function(l,u){if(l==null)return[];var d=u.length;return d>1&&di(l,u[0],u[1])?u=[]:d>2&&di(u[0],u[1],u[2])&&(u=[u[0]]),Xy(l,Dn(u,1),[])}),Rc=oE||function(){return Ie.Date.now()};function bT(l,u){if(typeof u!="function")throw new hr(o);return l=ct(l),function(){if(--l<1)return u.apply(this,arguments)}}function Ev(l,u,d){return u=d?t:u,u=l&&u==null?l.length:u,Ss(l,ae,t,t,t,t,u)}function $v(l,u){var d;if(typeof u!="function")throw new hr(o);return l=ct(l),function(){return--l>0&&(d=u.apply(this,arguments)),l<=1&&(u=t),d}}var QO=Ot(function(l,u,d){var g=M;if(d.length){var w=Us(d,Hl(QO));g|=B}return Ss(l,g,u,d,w)}),Cv=Ot(function(l,u,d){var g=M|b;if(d.length){var w=Us(d,Hl(Cv));g|=B}return Ss(u,g,l,d,w)});function Tv(l,u,d){u=d?t:u;var g=Ss(l,$,t,t,t,t,t,u);return g.placeholder=Tv.placeholder,g}function Av(l,u,d){u=d?t:u;var g=Ss(l,W,t,t,t,t,t,u);return g.placeholder=Av.placeholder,g}function Rv(l,u,d){var g,w,_,A,X,N,pe=0,Oe=!1,Se=!1,Ae=!0;if(typeof l!="function")throw new hr(o);u=Or(u)||0,rn(d)&&(Oe=!!d.leading,Se="maxWait"in d,_=Se?Cn(Or(d.maxWait)||0,u):_,Ae="trailing"in d?!!d.trailing:Ae);function Ze(mn){var Cr=g,_s=w;return g=w=t,pe=mn,A=l.apply(_s,Cr),A}function et(mn){return pe=mn,X=Su(yt,u),Oe?Ze(mn):A}function ft(mn){var Cr=mn-N,_s=mn-pe,Kv=u-Cr;return Se?Jn(Kv,_-_s):Kv}function tt(mn){var Cr=mn-N,_s=mn-pe;return N===t||Cr>=u||Cr<0||Se&&_s>=_}function yt(){var mn=Rc();if(tt(mn))return xt(mn);X=Su(yt,ft(mn))}function xt(mn){return X=t,Ae&&g?Ze(mn):(g=w=t,A)}function Fi(){X!==t&&By(X),pe=0,g=N=w=X=t}function pi(){return X===t?A:xt(Rc())}function Gi(){var mn=Rc(),Cr=tt(mn);if(g=arguments,w=this,N=mn,Cr){if(X===t)return et(N);if(Se)return By(X),X=Su(yt,u),Ze(N)}return X===t&&(X=Su(yt,u)),A}return Gi.cancel=Fi,Gi.flush=pi,Gi}var ET=Ot(function(l,u){return xy(l,1,u)}),$T=Ot(function(l,u,d){return xy(l,Or(u)||0,d)});function CT(l){return Ss(l,Me)}function Xc(l,u){if(typeof l!="function"||u!=null&&typeof u!="function")throw new hr(o);var d=function(){var g=arguments,w=u?u.apply(this,g):g[0],_=d.cache;if(_.has(w))return _.get(w);var A=l.apply(this,g);return d.cache=_.set(w,A)||_,A};return d.cache=new(Xc.Cache||ys),d}Xc.Cache=ys;function Mc(l){if(typeof l!="function")throw new hr(o);return function(){var u=arguments;switch(u.length){case 0:return!l.call(this);case 1:return!l.call(this,u[0]);case 2:return!l.call(this,u[0],u[1]);case 3:return!l.call(this,u[0],u[1],u[2])}return!l.apply(this,u)}}function TT(l){return $v(2,l)}var AT=y$(function(l,u){u=u.length==1&&ot(u[0])?Gt(u[0],qi(Je())):Gt(Dn(u,1),qi(Je()));var d=u.length;return Ot(function(g){for(var w=-1,_=Jn(g.length,d);++w<_;)g[w]=u[w].call(this,g[w]);return it(l,this,g)})}),bO=Ot(function(l,u){var d=Us(u,Hl(bO));return Ss(l,B,t,u,d)}),Xv=Ot(function(l,u){var d=Us(u,Hl(Xv));return Ss(l,J,t,u,d)}),RT=ws(function(l,u){return Ss(l,xe,t,t,t,u)});function XT(l,u){if(typeof l!="function")throw new hr(o);return u=u===t?u:ct(u),Ot(l,u)}function MT(l,u){if(typeof l!="function")throw new hr(o);return u=u==null?0:Cn(ct(u),0),Ot(function(d){var g=d[u],w=js(d,0,u);return g&&qs(w,g),it(l,this,w)})}function WT(l,u,d){var g=!0,w=!0;if(typeof l!="function")throw new hr(o);return rn(d)&&(g="leading"in d?!!d.leading:g,w="trailing"in d?!!d.trailing:w),Rv(l,u,{leading:g,maxWait:u,trailing:w})}function zT(l){return Ev(l,1)}function LT(l,u){return bO(cO(u),l)}function IT(){if(!arguments.length)return[];var l=arguments[0];return ot(l)?l:[l]}function VT(l){return fr(l,x)}function DT(l,u){return u=typeof u=="function"?u:t,fr(l,x,u)}function NT(l){return fr(l,O|x)}function BT(l,u){return u=typeof u=="function"?u:t,fr(l,O|x,u)}function YT(l,u){return u==null||wy(l,u,zn(u))}function $r(l,u){return l===u||l!==l&&u!==u}var qT=bc(Jp),UT=bc(function(l,u){return l>=u}),nl=by(function(){return arguments}())?by:function(l){return fn(l)&&Rt.call(l,"callee")&&!dy.call(l,"callee")},ot=ne.isArray,ZT=Yi?qi(Yi):t$;function Ei(l){return l!=null&&Wc(l.length)&&!Ps(l)}function gn(l){return fn(l)&&Ei(l)}function FT(l){return l===!0||l===!1||fn(l)&&fi(l)==ds}var Ks=aE||LO,GT=ur?qi(ur):n$;function HT(l){return fn(l)&&l.nodeType===1&&!wu(l)}function jT(l){if(l==null)return!0;if(Ei(l)&&(ot(l)||typeof l=="string"||typeof l.splice=="function"||Ks(l)||jl(l)||nl(l)))return!l.length;var u=ei(l);if(u==Ni||u==_i)return!l.size;if(vu(l))return!nO(l).length;for(var d in l)if(Rt.call(l,d))return!1;return!0}function KT(l,u){return gu(l,u)}function JT(l,u,d){d=typeof d=="function"?d:t;var g=d?d(l,u):t;return g===t?gu(l,u,t,d):!!g}function EO(l){if(!fn(l))return!1;var u=fi(l);return u==$l||u==Yh||typeof l.message=="string"&&typeof l.name=="string"&&!wu(l)}function eA(l){return typeof l=="number"&&Oy(l)}function Ps(l){if(!rn(l))return!1;var u=fi(l);return u==Wo||u==qh||u==Qr||u==Cl}function Mv(l){return typeof l=="number"&&l==ct(l)}function Wc(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=ke}function rn(l){var u=typeof l;return l!=null&&(u=="object"||u=="function")}function fn(l){return l!=null&&typeof l=="object"}var Wv=bt?qi(bt):r$;function tA(l,u){return l===u||tO(l,u,yO(u))}function nA(l,u,d){return d=typeof d=="function"?d:t,tO(l,u,yO(u),d)}function iA(l){return zv(l)&&l!=+l}function rA(l){if(D$(l))throw new rt(s);return Ey(l)}function sA(l){return l===null}function oA(l){return l==null}function zv(l){return typeof l=="number"||fn(l)&&fi(l)==Ds}function wu(l){if(!fn(l)||fi(l)!=Hn)return!1;var u=uc(l);if(u===null)return!0;var d=Rt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&sc.call(d)==nE}var $O=ee?qi(ee):s$;function lA(l){return Mv(l)&&l>=-ke&&l<=ke}var Lv=He?qi(He):o$;function zc(l){return typeof l=="string"||!ot(l)&&fn(l)&&fi(l)==Fe}function Zi(l){return typeof l=="symbol"||fn(l)&&fi(l)==ps}var jl=At?qi(At):l$;function aA(l){return l===t}function uA(l){return fn(l)&&ei(l)==ar}function hA(l){return fn(l)&&fi(l)==Tl}var cA=bc(iO),fA=bc(function(l,u){return l<=u});function Iv(l){if(!l)return[];if(Ei(l))return zc(l)?br(l):bi(l);if(au&&l[au])return Y2(l[au]());var u=ei(l),d=u==Ni?Yp:u==_i?nc:Kl;return d(l)}function ks(l){if(!l)return l===0?l:0;if(l=Or(l),l===zt||l===-zt){var u=l<0?-1:1;return u*Re}return l===l?l:0}function ct(l){var u=ks(l),d=u%1;return u===u?d?u-d:u:0}function Vv(l){return l?Ko(ct(l),0,je):0}function Or(l){if(typeof l=="number")return l;if(Zi(l))return ze;if(rn(l)){var u=typeof l.valueOf=="function"?l.valueOf():l;l=rn(u)?u+"":u}if(typeof l!="string")return l===0?l:+l;l=sy(l);var d=Bs.test(l);return d||Hh.test(l)?Le(l.slice(2),d?2:8):cn.test(l)?ze:+l}function Dv(l){return qr(l,$i(l))}function dA(l){return l?Ko(ct(l),-ke,ke):l===0?l:0}function Tt(l){return l==null?"":Ui(l)}var pA=Fl(function(l,u){if(vu(u)||Ei(u)){qr(u,zn(u),l);return}for(var d in u)Rt.call(u,d)&&du(l,d,u[d])}),Nv=Fl(function(l,u){qr(u,$i(u),l)}),Lc=Fl(function(l,u,d,g){qr(u,$i(u),l,g)}),OA=Fl(function(l,u,d,g){qr(u,zn(u),l,g)}),gA=ws(Hp);function mA(l,u){var d=Zl(l);return u==null?d:Sy(d,u)}var yA=Ot(function(l,u){l=It(l);var d=-1,g=u.length,w=g>2?u[2]:t;for(w&&di(u[0],u[1],w)&&(g=1);++d1),_}),qr(l,gO(l),d),g&&(d=fr(d,O|v|x,$$));for(var w=u.length;w--;)aO(d,u[w]);return d});function WA(l,u){return Yv(l,Mc(Je(u)))}var zA=ws(function(l,u){return l==null?{}:h$(l,u)});function Yv(l,u){if(l==null)return{};var d=Gt(gO(l),function(g){return[g]});return u=Je(u),My(l,d,function(g,w){return u(g,w[0])})}function LA(l,u,d){u=Hs(u,l);var g=-1,w=u.length;for(w||(w=1,l=t);++gu){var g=l;l=u,u=g}if(d||l%1||u%1){var w=gy();return Jn(l+w*(u-l+nt("1e-"+((w+"").length-1))),u)}return sO(l,u)}var GA=Gl(function(l,u,d){return u=u.toLowerCase(),l+(d?Zv(u):u)});function Zv(l){return AO(Tt(l).toLowerCase())}function Fv(l){return l=Tt(l),l&&l.replace(Kh,I2).replace(oe,"")}function HA(l,u,d){l=Tt(l),u=Ui(u);var g=l.length;d=d===t?g:Ko(ct(d),0,g);var w=d;return d-=u.length,d>=0&&l.slice(d,w)==u}function jA(l){return l=Tt(l),l&&Zh.test(l)?l.replace(Uh,V2):l}function KA(l){return l=Tt(l),l&&No.test(l)?l.replace(Do,"\\$&"):l}var JA=Gl(function(l,u,d){return l+(d?"-":"")+u.toLowerCase()}),eR=Gl(function(l,u,d){return l+(d?" ":"")+u.toLowerCase()}),tR=jy("toLowerCase");function nR(l,u,d){l=Tt(l),u=ct(u);var g=u?Nl(l):0;if(!u||g>=u)return l;var w=(u-g)/2;return Qc(dc(w),d)+l+Qc(fc(w),d)}function iR(l,u,d){l=Tt(l),u=ct(u);var g=u?Nl(l):0;return u&&g>>0,d?(l=Tt(l),l&&(typeof u=="string"||u!=null&&!$O(u))&&(u=Ui(u),!u&&Dl(l))?js(br(l),0,d):l.split(u,d)):[]}var hR=Gl(function(l,u,d){return l+(d?" ":"")+AO(u)});function cR(l,u,d){return l=Tt(l),d=d==null?0:Ko(ct(d),0,l.length),u=Ui(u),l.slice(d,d+u.length)==u}function fR(l,u,d){var g=k.templateSettings;d&&di(l,u,d)&&(u=t),l=Tt(l),u=Lc({},u,g,rv);var w=Lc({},u.imports,g.imports,rv),_=zn(w),A=Bp(w,_),X,N,pe=0,Oe=u.interpolate||en,Se="__p += '",Ae=qp((u.escape||en).source+"|"+Oe.source+"|"+(Oe===bn?Wl:en).source+"|"+(u.evaluate||en).source+"|$","g"),Ze="//# sourceURL="+(Rt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ee+"]")+` `;l.replace(Ae,function(tt,yt,xt,Fi,pi,Gi){return xt||(xt=Fi),Se+=l.slice(pe,Gi).replace(Ce,D2),yt&&(X=!0,Se+=`' + __e(`+yt+`) + '`),pi&&(N=!0,Se+=`'; @@ -68,8 +68,8 @@ __p += '`),xt&&(Se+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+Se+`return __p -}`;var ft=Hv(function(){return Et(_,Ze+"return "+Se).apply(t,A)});if(ft.source=Se,EO(ft))throw ft;return ft}function dR(l){return Tt(l).toLowerCase()}function pR(l){return Tt(l).toUpperCase()}function OR(l,u,d){if(l=Tt(l),l&&(d||u===t))return sy(l);if(!l||!(u=Ui(u)))return l;var g=br(l),w=br(u),_=oy(g,w),A=ly(g,w)+1;return js(g,_,A).join("")}function gR(l,u,d){if(l=Tt(l),l&&(d||u===t))return l.slice(0,uy(l)+1);if(!l||!(u=Ui(u)))return l;var g=br(l),w=ly(g,br(u))+1;return js(g,0,w).join("")}function mR(l,u,d){if(l=Tt(l),l&&(d||u===t))return l.replace(hi,"");if(!l||!(u=Ui(u)))return l;var g=br(l),w=oy(g,br(u));return js(g,w).join("")}function yR(l,u){var d=Pe,g=Ke;if(rn(u)){var w="separator"in u?u.separator:w;d="length"in u?ct(u.length):d,g="omission"in u?Ui(u.omission):g}l=Tt(l);var _=l.length;if(Dl(l)){var A=br(l);_=A.length}if(d>=_)return l;var X=d-Nl(g);if(X<1)return g;var N=A?js(A,0,X).join(""):l.slice(0,X);if(w===t)return N+g;if(A&&(X+=N.length-X),$O(w)){if(l.slice(X).search(w)){var pe,Oe=N;for(w.global||(w=qp(w.source,Tt(Jt.exec(w))+"g")),w.lastIndex=0;pe=w.exec(Oe);)var Se=pe.index;N=N.slice(0,Se===t?X:Se)}}else if(l.indexOf(Ui(w),X)!=X){var Ae=N.lastIndexOf(w);Ae>-1&&(N=N.slice(0,Ae))}return N+g}function vR(l){return l=Tt(l),l&&Wn.test(l)?l.replace(On,F2):l}var SR=Gl(function(l,u,d){return l+(d?" ":"")+u.toUpperCase()}),AO=jy("toUpperCase");function Gv(l,u,d){return l=Tt(l),u=d?t:u,u===t?B2(l)?j2(l):X2(l):l.match(u)||[]}var Hv=Ot(function(l,u){try{return it(l,t,u)}catch(d){return EO(d)?d:new rt(d)}}),wR=ws(function(l,u){return nn(u,function(d){d=Ur(d),vs(l,d,QO(l[d],l))}),l});function xR(l){var u=l==null?0:l.length,d=Je();return l=u?Gt(l,function(g){if(typeof g[1]!="function")throw new hr(o);return[d(g[0]),g[1]]}):[],Ot(function(g){for(var w=-1;++wke)return[];var d=je,g=Jn(l,je);u=Je(u),l-=je;for(var w=Np(g,u);++d0||u<0)?new vt(d):(l<0?d=d.takeRight(-l):l&&(d=d.drop(l)),u!==t&&(u=ct(u),d=u<0?d.dropRight(-u):d.take(u-l)),d)},vt.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},vt.prototype.toArray=function(){return this.take(je)},Yr(vt.prototype,function(l,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),g=/^(?:head|last)$/.test(u),w=k[g?"take"+(u=="last"?"Right":""):u],_=g||/^find/.test(u);w&&(k.prototype[u]=function(){var A=this.__wrapped__,X=g?[1]:arguments,N=A instanceof vt,pe=X[0],Oe=N||ot(A),Se=function(yt){var xt=w.apply(k,qs([yt],X));return g&&Ae?xt[0]:xt};Oe&&d&&typeof pe=="function"&&pe.length!=1&&(N=Oe=!1);var Ae=this.__chain__,Ze=!!this.__actions__.length,et=_&&!Ae,ft=N&&!Ze;if(!_&&Oe){A=ft?A:new vt(this);var tt=l.apply(A,X);return tt.__actions__.push({func:Tc,args:[Se],thisArg:t}),new cr(tt,Ae)}return et&&ft?l.apply(this,X):(tt=this.thru(Se),et?g?tt.value()[0]:tt.value():tt)})}),nn(["pop","push","shift","sort","splice","unshift"],function(l){var u=ic[l],d=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",g=/^(?:pop|shift)$/.test(l);k.prototype[l]=function(){var w=arguments;if(g&&!this.__chain__){var _=this.value();return u.apply(ot(_)?_:[],w)}return this[d](function(A){return u.apply(ot(A)?A:[],w)})}}),Yr(vt.prototype,function(l,u){var d=k[u];if(d){var g=d.name+"";Rt.call(Ul,g)||(Ul[g]=[]),Ul[g].push({name:u,func:d})}}),Ul[kc(t,b).name]=[{name:"wrapper",func:t}],vt.prototype.clone=vE,vt.prototype.reverse=SE,vt.prototype.value=wE,k.prototype.at=HC,k.prototype.chain=jC,k.prototype.commit=KC,k.prototype.next=JC,k.prototype.plant=tT,k.prototype.reverse=nT,k.prototype.toJSON=k.prototype.valueOf=k.prototype.value=iT,k.prototype.first=k.prototype.head,au&&(k.prototype[au]=eT),k},Bl=K2();Ct?((Ct.exports=Bl)._=Bl,We._=Bl):Ie._=Bl}).call(ta)})(qd,qd.exports);var Vz=qd.exports;const Vr=hp(Vz),Ob="R",gb="W",Dz="F",mb="O";let na=n=>n==="R"?"read":n==="W"?"write":n=="O"?"own":"flow",Nz=(n,e,t)=>(e-n)*t+n,Bz=({center:n,spacing:e,index:t,total:i})=>{let r=i*e,s=n-r/2,o=n+r/2,a=t/i;return Nz(s,o,a)},xf=n=>{for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=t.length,r=0;rGe.none,update(t,i){for(let r of i.effects)if(r.is(n))return Qt.of(e(r.value,i.newDoc),!0);return i.docChanged?Qt.of([]):t},provide:t=>qe.decorations.from(t)})}const yb=lt.define(),qz=Yz(yb,(n,e)=>n.flatMap(t=>Uz(t,e)));function Uz({refinerTag:n,regionTag:e,refinerPoint:t,region:i},r){let s=Ge.mark({class:"aquascope-loan",tagName:n}).range(Xi(t.start,r),Xi(t.end,r)),o=i.refined_ranges.filter(a=>!Vr.isEqual(a.start,a.end)).map(a=>Ge.mark({class:"aquascope-live-region",tagName:e}).range(Xi(a.start,r),Xi(a.end,r)));return[s,...o]}function Zz(n){let e={},t={},i={},r={},s=[];for(const a in n.loan_regions){let h=xf(26),f=xf(26),p=n.loan_regions[a],O=n.loan_points[a];e[a]=h,t[a]=f;let v={refinerTag:h,regionTag:f,refinerPoint:O,region:p};s.push(v)}for(const a in n.move_regions){let h=xf(26),f=xf(26),p=n.move_regions[a],O=n.move_points[a];i[a]=h,r[a]=f;let v={refinerTag:h,regionTag:f,refinerPoint:O,region:p};s.push(v)}return[{loanPoints:e,loanRegions:t,movePoints:i,moveRegions:r},s]}let vb=lt.define(),Fz=Ge.line({class:"hidden-line"}),Gz=kn.define({create:()=>Ge.none,update(n,e){n=n.map(e.changes);for(let t of e.effects)t.is(vb)&&(n=n.update({add:[Fz.range(e.state.doc.line(t.value.line).from)]}));return n},provide:n=>qe.decorations.from(n)}),Ud=(n,e)=>{Array.from(document.getElementsByTagName(n)).forEach(e)};function Sb(n,e,t,i=[]){if(t!==void 0){const r=n[t],s=e[t];Ud(r,o=>{o.classList.add("show-hidden"),i.forEach(a=>o.classList.add(a))}),Ud(s,o=>{o.classList.add("show-hidden"),i.forEach(a=>o.classList.add(a))})}}function wb(n,e,t,i=[]){if(t!==void 0){const r=n[t],s=e[t];Ud(r,o=>{o.classList.remove("show-hidden"),i.forEach(a=>o.classList.remove(a))}),Ud(s,o=>{o.classList.remove("show-hidden"),i.forEach(a=>o.classList.remove(a))})}}let Gf=(n,e,t=[])=>{Sb(n.loanPoints,n.loanRegions,e,t)},Hf=(n,e,t=[])=>{wb(n.loanPoints,n.loanRegions,e,t)},jf=(n,e,t=[])=>{Sb(n.movePoints,n.moveRegions,e,t)},Kf=(n,e,t=[])=>{wb(n.movePoints,n.moveRegions,e,t)},M1=()=>{let n=lt.define(),e=kn.define({create:()=>Ge.none,update(t,i){t=t.map(i.changes);for(let r of i.effects)r.is(n)&&(t=Qt.of(Vr.sortBy(r.value,s=>s.from)));return t},provide:t=>qe.decorations.from(t)});return{setEffect:n,field:e}},Xi=(n,e)=>e.line(n.line+1).from+n.column,Hz=({content:n,names:e,act:t,showit:i,hideit:r})=>{let s=na(n);s=s.charAt(0).toUpperCase()+s.slice(1);let o=`${s} permission is expected, `;return o+=t?"and the path has the permission.":"but the path does not have the permission.",K.createElement("div",{className:hs(...e,{missing:!t}),onMouseEnter:i,onMouseLeave:r,title:o},K.createElement("div",{className:"small"},"•"),K.createElement("div",{className:"big"},n))},jz=({facts:n,boundary:e})=>{var p;const t=e.actual;let r=[{content:Ob,names:["perm","read"],exp:e.expected.read,act:t.permissions.read,showit:()=>{Gf(n,t.loan_read_refined,["read"]),jf(n,t.path_moved,["read"])},hideit:()=>{Hf(n,t.loan_read_refined,["read"]),Kf(n,t.path_moved,["read"])}},{content:gb,names:["perm","write"],exp:e.expected.write,act:t.permissions.write,showit:()=>{Gf(n,t.loan_write_refined,["write"]),jf(n,t.path_moved,["write"])},hideit:()=>{Hf(n,t.loan_write_refined,["write"]),Kf(n,t.path_moved,["write"])}},{content:mb,names:["perm","own"],exp:e.expected.drop,act:t.permissions.drop,showit:()=>{Gf(n,t.loan_drop_refined,["own"]),jf(n,t.path_moved,["own"])},hideit:()=>{Hf(n,t.loan_drop_refined,["own"]),Kf(n,t.path_moved,["own"])}},{content:Dz,names:["perm","flow"],exp:e.expecting_flow!==void 0,act:!((p=e.expecting_flow)!=null&&p.is_violation),showit:()=>{},hideit:()=>{}}].filter(O=>O.exp),[s,o]=pn.useState(!1),[a,h]=pn.useState(),f=()=>{o(!0),a!==0&&clearTimeout(a),h(window.setTimeout(()=>o(!1),500))};return K.createElement("div",{onMouseEnter:f,onMouseLeave:f,className:hs({animating:s})},r.map(O=>K.createElement(Hz,{key:O.content,...O})))};class Kz extends Dr{constructor(t,i,r,s){super();Lt(this,"view");Lt(this,"facts");Lt(this,"boundary");Lt(this,"annotations");Lt(this,"line");Lt(this,"numDisplayed");this.view=t,this.facts=i,this.boundary=r,this.annotations=s;let o=a=>a?1:0;this.numDisplayed=[o(this.boundary.expected.read),o(this.boundary.expected.write),o(this.boundary.expected.drop),o(this.boundary.expecting_flow!==void 0)].reduce((a,h)=>a+h,0),this.line=t.state.doc.lineAt(Xi(r.location,t.state.doc))}eq(t){return this.boundary.location===t.boundary.location}toDOM(t){var o;let i=Xi(this.boundary.location,t.state.doc),r=t.state.sliceDoc(i-1,i),s=document.createElement("div");return s.classList.add("permission-stack"),s.classList.add(`stack-size-${this.numDisplayed}`),r===" "&&s.classList.add("before-whitespace"),(o=this.annotations)!=null&&o.focused_lines.includes(this.line.number)&&s.classList.add("expanded"),Sl.createRoot(s).render(K.createElement(jz,{facts:this.facts,boundary:this.boundary})),s}ignoreEvent(){return!1}}let W1=M1();function Jz(n,e,t,i){return t.map(r=>Ge.widget({widget:new Kz(n,e,r,i)}).range(Xi(r.location,n.state.doc)))}var xb={exports:{}};/*! LeaderLine v1.1.5 (c) anseki https://anseki.github.io/leader-line/ */(function(n,e){var t=function(){var i,r,s,o,a,h,f,p,O,v,x,Q,R,M,b,E,$,W,B,J,ae,xe,Me,Pe="leader-line",Ke=1,at=2,mt=3,_t=4,Mt={top:Ke,right:at,bottom:mt,left:_t},Wt=1,zt=2,ke=3,Re=4,ze=5,je={straight:Wt,arc:zt,fluid:ke,magnet:Re,grid:ze},st="behind",Vi=Pe+"-defs",xi='',ai={disc:{elmId:"leader-line-disc",noRotate:!0,bBox:{left:-5,top:-5,width:10,height:10,right:5,bottom:5},widthR:2.5,heightR:2.5,bCircle:5,sideLen:5,backLen:5,overhead:0,outlineBase:1,outlineMax:4},square:{elmId:"leader-line-square",noRotate:!0,bBox:{left:-5,top:-5,width:10,height:10,right:5,bottom:5},widthR:2.5,heightR:2.5,bCircle:5,sideLen:5,backLen:5,overhead:0,outlineBase:1,outlineMax:4},arrow1:{elmId:"leader-line-arrow1",bBox:{left:-8,top:-8,width:16,height:16,right:8,bottom:8},widthR:4,heightR:4,bCircle:8,sideLen:8,backLen:8,overhead:8,outlineBase:2,outlineMax:1.5},arrow2:{elmId:"leader-line-arrow2",bBox:{left:-7,top:-8,width:11,height:16,right:4,bottom:8},widthR:2.75,heightR:4,bCircle:8,sideLen:8,backLen:7,overhead:4,outlineBase:1,outlineMax:1.75},arrow3:{elmId:"leader-line-arrow3",bBox:{left:-4,top:-5,width:12,height:10,right:8,bottom:5},widthR:3,heightR:2.5,bCircle:8,sideLen:5,backLen:4,overhead:8,outlineBase:1,outlineMax:2.5},hand:{elmId:"leader-line-hand",bBox:{left:-3,top:-12,width:40,height:24,right:37,bottom:12},widthR:10,heightR:6,bCircle:37,sideLen:12,backLen:3,overhead:37},crosshair:{elmId:"leader-line-crosshair",noRotate:!0,bBox:{left:-96,top:-96,width:192,height:192,right:96,bottom:96},widthR:48,heightR:48,bCircle:96,sideLen:96,backLen:96,overhead:0}},Gn={behind:st,disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},Qr={disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},ds=[Ke,at,mt,_t],Di="auto",Yh={x:"left",y:"top",width:"width",height:"height"},$l=80,Wo=4,qh=5,Ni=120,Ds=8,Rp=3.75,Hn=10,Pi=30,Cl=.5522847,zo=.25*Math.PI,ki=/^\s*(\-?[\d\.]+)\s*(\%)?\s*$/,Fe="http://www.w3.org/2000/svg",ps="-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style&&!window.navigator.msPointerEnabled,ui=!ps&&!!document.uniqueID,ar="MozAppearance"in document.documentElement.style,Tl=!(ps||ar||!window.chrome||!window.CSS),Vt=!ps&&!ui&&!ar&&!Tl&&!window.chrome&&"WebkitAppearance"in document.documentElement.style,Os=ui||ps?.2:.1,Mn={path:ke,lineColor:"coral",lineSize:4,plugSE:[st,"arrow1"],plugSizeSE:[1,1],lineOutlineEnabled:!1,lineOutlineColor:"indianred",lineOutlineSize:.25,plugOutlineEnabledSE:[!1,!1],plugOutlineSizeSE:[1,1]},Bi=(ae={}.toString,xe={}.hasOwnProperty.toString,Me=xe.call(Object),function(c){var m,y;return c&&ae.call(c)==="[object Object]"&&(!(m=Object.getPrototypeOf(c))||(y=m.hasOwnProperty("constructor")&&m.constructor)&&typeof y=="function"&&xe.call(y)===Me)}),_n=Number.isFinite||function(c){return typeof c=="number"&&window.isFinite(c)},Kt=(M={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},b=1e3/60/2,E=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(c){setTimeout(c,b)},$=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(c){clearTimeout(c)},W=Number.isFinite||function(c){return typeof c=="number"&&window.isFinite(c)},B=[],J=0,{add:function(c,m,y,S,P,T,D){var L,Z,I,fe,_e,j,q,re,F,se,ie,le,de,H=++J;function Y($e,ye){return{value:c(ye),timeRatio:$e,outputRatio:ye}}if(typeof P=="string"&&(P=M[P]),c=c||function(){},y=this._endIndex||this._string[this._currentIndex]<"0"||"9"=this._endIndex||this._string[this._currentIndex]<"0"||"9"=this._endIndex)return null;var j=null,q=this._string[this._currentIndex];if(this._currentIndex+=1,q==="0")j=0;else{if(q!=="1")return null;j=1}return this._skipOptionalSpacesOrDelimiter(),j}};function P(j){if(!j||j.length===0)return[];var q=new m(j),re=[];if(q.initialCommandIsMoveTo())for(;q.hasMoreData();){var F=q.parseSegment();if(F===null)break;re.push(F)}return re}function T(j){return j.map(function(q){return{type:q.type,values:Array.prototype.slice.call(q.values)}})}function D(j){var q=[],re=null,F=null,se=null,ie=null,le=null,de=null,H=null;return j.forEach(function(Y){var $e,ye,Ve,ce,G,C,z,oe,we,be,ve,U,Be,Ee,te;Y.type==="M"?(Ee=Y.values[0],te=Y.values[1],q.push({type:"M",values:[Ee,te]}),ie=de=Ee,le=H=te):Y.type==="C"?(Ve=Y.values[0],ce=Y.values[1],$e=Y.values[2],ye=Y.values[3],Ee=Y.values[4],te=Y.values[5],q.push({type:"C",values:[Ve,ce,$e,ye,Ee,te]}),F=$e,se=ye,ie=Ee,le=te):Y.type==="L"?(Ee=Y.values[0],te=Y.values[1],q.push({type:"L",values:[Ee,te]}),ie=Ee,le=te):Y.type==="H"?(Ee=Y.values[0],q.push({type:"L",values:[Ee,le]}),ie=Ee):Y.type==="V"?(te=Y.values[0],q.push({type:"L",values:[ie,te]}),le=te):Y.type==="S"?($e=Y.values[0],ye=Y.values[1],Ee=Y.values[2],te=Y.values[3],C=re==="C"||re==="S"?(G=ie+(ie-F),le+(le-se)):(G=ie,le),q.push({type:"C",values:[G,C,$e,ye,Ee,te]}),F=$e,se=ye,ie=Ee,le=te):Y.type==="T"?(Ee=Y.values[0],te=Y.values[1],ce=re==="Q"||re==="T"?(Ve=ie+(ie-F),le+(le-se)):(Ve=ie,le),G=ie+2*(Ve-ie)/3,C=le+2*(ce-le)/3,z=Ee+2*(Ve-Ee)/3,oe=te+2*(ce-te)/3,q.push({type:"C",values:[G,C,z,oe,Ee,te]}),F=Ve,se=ce,ie=Ee,le=te):Y.type==="Q"?(Ve=Y.values[0],ce=Y.values[1],Ee=Y.values[2],te=Y.values[3],G=ie+2*(Ve-ie)/3,C=le+2*(ce-le)/3,z=Ee+2*(Ve-Ee)/3,oe=te+2*(ce-te)/3,q.push({type:"C",values:[G,C,z,oe,Ee,te]}),F=Ve,se=ce,ie=Ee,le=te):Y.type==="A"?(we=Y.values[0],be=Y.values[1],ve=Y.values[2],U=Y.values[3],Be=Y.values[4],Ee=Y.values[5],te=Y.values[6],we===0||be===0?(q.push({type:"C",values:[ie,le,Ee,te,Ee,te]}),ie=Ee,le=te):ie===Ee&&le===te||_e(ie,le,Ee,te,we,be,ve,U,Be).forEach(function(ge){q.push({type:"C",values:ge}),ie=Ee,le=te})):Y.type==="Z"&&(q.push(Y),ie=de,le=H),re=Y.type}),q}var L=c.SVGPathElement.prototype.setAttribute,Z=c.SVGPathElement.prototype.removeAttribute,I=c.Symbol?c.Symbol():"__cachedPathData",fe=c.Symbol?c.Symbol():"__cachedNormalizedPathData",_e=function(j,q,re,F,se,ie,le,de,H,Y){function $e(At,it,qt){return{x:At*Math.cos(qt)-it*Math.sin(qt),y:At*Math.sin(qt)+it*Math.cos(qt)}}var ye,Ve,ce,G,C,z,oe,we,be,ve,U,Be,Ee,te,ge,ut=(ye=le,Math.PI*ye/180),dt=[];Y?(te=Y[0],ge=Y[1],Be=Y[2],Ee=Y[3]):(j=(Ve=$e(j,q,-ut)).x,q=Ve.y,1<(z=(G=(j-(re=(ce=$e(re,F,-ut)).x))/2)*G/(se*se)+(C=(q-(F=ce.y))/2)*C/(ie*ie))&&(se*=z=Math.sqrt(z),ie*=z),be=(oe=se*se)*(we=ie*ie)-oe*C*C-we*G*G,ve=oe*C*C+we*G*G,Be=(U=(de===H?-1:1)*Math.sqrt(Math.abs(be/ve)))*se*C/ie+(j+re)/2,Ee=U*-ie*G/se+(q+F)/2,te=Math.asin(parseFloat(((q-Ee)/ie).toFixed(9))),ge=Math.asin(parseFloat(((F-Ee)/ie).toFixed(9))),j120*Math.PI/180&&(ht=ge,_i=re,nt=F,ge=H&&te=y.duration&&y.count&&y.loopsLeft<=1)return T=y.frames[y.lastFrame=y.reverse?0:y.frames.length-1],y.frameCallback(T.value,!0,T.timeRatio,T.outputRatio),void(y.framesStart=null);if(S>y.duration){if(P=Math.floor(S/y.duration),y.count){if(P>=y.loopsLeft)return T=y.frames[y.lastFrame=y.reverse?0:y.frames.length-1],y.frameCallback(T.value,!0,T.timeRatio,T.outputRatio),void(y.framesStart=null);y.loopsLeft-=P}y.framesStart+=y.duration*P,S=c-y.framesStart}y.reverse&&(S=y.duration-S),T=y.frames[y.lastFrame=Math.round(S/b)],y.frameCallback(T.value,!1,T.timeRatio,T.outputRatio)!==!1?m=!0:y.framesStart=null}}),m&&(R=E.call(window,Zh))}function Fh(c,m){c.framesStart=Date.now(),m!=null&&(c.framesStart-=c.duration*(c.reverse?1-m:m)),c.loopsLeft=c.count,c.lastFrame=null,Zh()}function gs(c,m){var y,S;return typeof c!=typeof m||(y=Bi(c)?"obj":Array.isArray(c)?"array":"")!=(Bi(m)?"obj":Array.isArray(m)?"array":"")||(y==="obj"?gs(S=Object.keys(c).sort(),Object.keys(m).sort())||S.some(function(P){return gs(c[P],m[P])}):y==="array"?c.length!==m.length||c.some(function(P,T){return gs(P,m[T])}):c!==m)}function bn(c){return c&&(Bi(c)?Object.keys(c).reduce(function(m,y){return m[y]=bn(c[y]),m},{}):Array.isArray(c)?c.map(bn):c)}function Io(c){var m,y,S,P=1,T=c=(c+"").trim();function D(L){var Z=1,I=ki.exec(L);return I&&(Z=parseFloat(I[1]),I[2]?Z=0<=Z&&Z<=100?Z/100:1:(Z<0||1=Math.abs(oe)?0<=z?at:_t:0<=oe?mt:Ke))})),Y.position_path!==$e.position_path||Y.position_lineStrokeWidth!==$e.position_lineStrokeWidth||[0,1].some(function(C){return Y.position_plugOverheadSE[C]!==$e.position_plugOverheadSE[C]||(be=ye[C],ve=$e.position_socketXYSE[C],be.x!==ve.x||be.y!==ve.y||be.socketId!==ve.socketId)||(z=m[C],oe=$e.position_socketGravitySE[C],(we=z==null?"auto":Array.isArray(z)?"array":"number")!=(oe==null?"auto":Array.isArray(oe)?"array":"number")||(we=="array"?z[0]!==oe[0]||z[1]!==oe[1]:z!==oe));var z,oe,we,be,ve})){switch(c.pathList.baseVal=S=[],c.pathList.animVal=null,Y.position_path){case Wt:S.push([G(ye[0]),G(ye[1])]);break;case zt:j=typeof m[0]=="number"&&0Wo?(Y.position_lineStrokeWidth-Wo)*qh:0),C.socketId===Ke?((ve=(C.y-oe.y)/2)=Le.x:Le.dirId===we?nt.y>=Le.y:nt.x<=Le.x}function ut(nt,Le){return Le.dirId===z||Le.dirId===we?nt.x===Le.x:nt.y===Le.y}function dt(nt){return nt[0]?{contain:0,notContain:1}:{contain:1,notContain:0}}function ht(nt,Le,wt){return Math.abs(Le[wt]-nt[wt])}function _i(nt,Le,wt){return wt==="x"?nt.x=Pi?_i(U[Le.notContain],U[Le.contain],We[Le.contain]):U[Le.contain].dirId)):(Xe=[{x:U[0].x,y:U[0].y},{x:U[1].x,y:U[1].y}],ve.forEach(function(Ct,pt){var En=pt===0?1:0,tn=ht(Xe[pt],Xe[En],We[pt]);tnHn&&(Z[we]-CHn&&(Z[we]-Cit.outlineMax&&(He=it.outlineMax),He*=2*it.outlineBase,H=Ce(ie,de.plugOutline_strokeWidthSE,ee,He)||H,H=Ce(ie,de.plugOutline_inStrokeWidthSE,ee,de.plugOutline_colorTraSE[ee]?He-Os/(de.line_strokeWidth/Mn.lineSize)/le.plugSizeSE[ee]*2:He/2)||H)}),H)),(m.faces||bt.line||bt.plug||bt.lineOutline||bt.plugOutline)&&(bt.faces=(ye=(Y=c).curStats,Ve=Y.aplStats,ce=Y.events,G=!1,!ye.line_altColor&&Ce(Y,Ve,"line_color",$e=ye.line_color,ce.apl_line_color)&&(Y.lineFace.style.stroke=$e,G=!0),Ce(Y,Ve,"line_strokeWidth",$e=ye.line_strokeWidth,ce.apl_line_strokeWidth)&&(Y.lineShape.style.strokeWidth=$e+"px",G=!0,(ar||ui)&&(Yt(Y,Y.lineShape),ui&&(Yt(Y,Y.lineFace),Yt(Y,Y.lineMaskCaps)))),Ce(Y,Ve,"lineOutline_enabled",$e=ye.lineOutline_enabled,ce.apl_lineOutline_enabled)&&(Y.lineOutlineFace.style.display=$e?"inline":"none",G=!0),ye.lineOutline_enabled&&(Ce(Y,Ve,"lineOutline_color",$e=ye.lineOutline_color,ce.apl_lineOutline_color)&&(Y.lineOutlineFace.style.stroke=$e,G=!0),Ce(Y,Ve,"lineOutline_strokeWidth",$e=ye.lineOutline_strokeWidth,ce.apl_lineOutline_strokeWidth)&&(Y.lineOutlineMaskShape.style.strokeWidth=$e+"px",G=!0,ui&&(Yt(Y,Y.lineOutlineMaskCaps),Yt(Y,Y.lineOutlineFace))),Ce(Y,Ve,"lineOutline_inStrokeWidth",$e=ye.lineOutline_inStrokeWidth,ce.apl_lineOutline_inStrokeWidth)&&(Y.lineMaskShape.style.strokeWidth=$e+"px",G=!0,ui&&(Yt(Y,Y.lineOutlineMaskCaps),Yt(Y,Y.lineOutlineFace)))),Ce(Y,Ve,"plug_enabled",$e=ye.plug_enabled,ce.apl_plug_enabled)&&(Y.plugsFace.style.display=$e?"inline":"none",G=!0),ye.plug_enabled&&[0,1].forEach(function(ee){var He=ye.plug_plugSE[ee],At=He!==st?ai[Qr[He]]:null,it=Kh(ee,At);Ce(Y,Ve.plug_enabledSE,ee,$e=ye.plug_enabledSE[ee],ce.apl_plug_enabledSE)&&(Y.plugsFace.style[it.prop]=$e?"url(#"+Y.plugMarkerIdSE[ee]+")":"none",G=!0),ye.plug_enabledSE[ee]&&(Ce(Y,Ve.plug_plugSE,ee,He,ce.apl_plug_plugSE)&&(Y.plugFaceSE[ee].href.baseVal="#"+At.elmId,jh(Y,Y.plugMarkerSE[ee],it.orient,At.bBox,Y.svg,Y.plugMarkerShapeSE[ee],Y.plugsFace),G=!0,ar&&Yt(Y,Y.plugsFace)),Ce(Y,Ve.plug_colorSE,ee,$e=ye.plug_colorSE[ee],ce.apl_plug_colorSE)&&(Y.plugFaceSE[ee].style.fill=$e,G=!0,(Tl||Vt||ui)&&!ye.line_colorTra&&Yt(Y,ui?Y.lineMaskCaps:Y.capsMaskLine)),["markerWidth","markerHeight"].forEach(function(qt){var nn="plug_"+qt+"SE";Ce(Y,Ve[nn],ee,$e=ye[nn][ee],ce["apl_"+nn])&&(Y.plugMarkerSE[ee][qt].baseVal.value=$e,G=!0)}),Ce(Y,Ve.plugOutline_enabledSE,ee,$e=ye.plugOutline_enabledSE[ee],ce.apl_plugOutline_enabledSE)&&($e?(Y.plugFaceSE[ee].style.mask="url(#"+Y.plugMaskIdSE[ee]+")",Y.plugOutlineFaceSE[ee].style.display="inline"):(Y.plugFaceSE[ee].style.mask="none",Y.plugOutlineFaceSE[ee].style.display="none"),G=!0),ye.plugOutline_enabledSE[ee]&&(Ce(Y,Ve.plugOutline_plugSE,ee,He,ce.apl_plugOutline_plugSE)&&(Y.plugOutlineFaceSE[ee].href.baseVal=Y.plugMaskShapeSE[ee].href.baseVal=Y.plugOutlineMaskShapeSE[ee].href.baseVal="#"+At.elmId,[Y.plugMaskSE[ee],Y.plugOutlineMaskSE[ee]].forEach(function(qt){qt.x.baseVal.value=At.bBox.left,qt.y.baseVal.value=At.bBox.top,qt.width.baseVal.value=At.bBox.width,qt.height.baseVal.value=At.bBox.height}),G=!0),Ce(Y,Ve.plugOutline_colorSE,ee,$e=ye.plugOutline_colorSE[ee],ce.apl_plugOutline_colorSE)&&(Y.plugOutlineFaceSE[ee].style.fill=$e,G=!0,ui&&(Yt(Y,Y.lineMaskCaps),Yt(Y,Y.lineOutlineMaskCaps))),Ce(Y,Ve.plugOutline_strokeWidthSE,ee,$e=ye.plugOutline_strokeWidthSE[ee],ce.apl_plugOutline_strokeWidthSE)&&(Y.plugOutlineMaskShapeSE[ee].style.strokeWidth=$e+"px",G=!0),Ce(Y,Ve.plugOutline_inStrokeWidthSE,ee,$e=ye.plugOutline_inStrokeWidthSE[ee],ce.apl_plugOutline_inStrokeWidthSE)&&(Y.plugMaskShapeSE[ee].style.strokeWidth=$e+"px",G=!0)))}),G)),(m.position||bt.line||bt.plug)&&(bt.position=Mp(c)),(m.path||bt.position)&&(bt.path=(oe=(C=c).curStats,we=C.aplStats,be=C.pathList.animVal||C.pathList.baseVal,ve=oe.path_edge,U=!1,be&&(ve.x1=ve.x2=be[0][0].x,ve.y1=ve.y2=be[0][0].y,oe.path_pathData=z=ru(be,function(ee){ee.xve.x2&&(ve.x2=ee.x),ee.y>ve.y2&&(ve.y2=ee.y)}),Wl(z,we.path_pathData)&&(C.linePath.setPathData(z),we.path_pathData=z,U=!0,ui?(Yt(C,C.plugsFace),Yt(C,C.lineMaskCaps)):ar&&Yt(C,C.linePath),C.events.apl_path&&C.events.apl_path.forEach(function(ee){ee(C,z)}))),U)),bt.viewBox=(Ee=(Be=c).curStats,te=Be.aplStats,ge=Ee.path_edge,ut=Ee.viewBox_bBox,dt=te.viewBox_bBox,ht=Be.svg.viewBox.baseVal,_i=Be.svg.style,nt=!1,Le=Math.max(Ee.line_strokeWidth/2,Ee.viewBox_plugBCircleSE[0]||0,Ee.viewBox_plugBCircleSE[1]||0),wt={x1:ge.x1-Le,y1:ge.y1-Le,x2:ge.x2+Le,y2:ge.y2+Le},Be.events.new_edge4viewBox&&Be.events.new_edge4viewBox.forEach(function(ee){ee(Be,wt)}),ut.x=Ee.lineMask_x=Ee.lineOutlineMask_x=Ee.maskBGRect_x=wt.x1,ut.y=Ee.lineMask_y=Ee.lineOutlineMask_y=Ee.maskBGRect_y=wt.y1,ut.width=wt.x2-wt.x1,ut.height=wt.y2-wt.y1,["x","y","width","height"].forEach(function(ee){var He;(He=ut[ee])!==dt[ee]&&(ht[ee]=dt[ee]=He,_i[Yh[ee]]=He+(ee==="x"||ee==="y"?Be.bodyOffset[ee]:0)+"px",nt=!0)}),nt),bt.mask=(We=(Xe=c).curStats,Ct=Xe.aplStats,pt=!1,We.plug_enabled?[0,1].forEach(function(ee){We.capsMaskMarker_enabledSE[ee]=We.plug_enabledSE[ee]&&We.plug_colorTraSE[ee]||We.plugOutline_enabledSE[ee]&&We.plugOutline_colorTraSE[ee]}):We.capsMaskMarker_enabledSE[0]=We.capsMaskMarker_enabledSE[1]=!1,We.capsMaskMarker_enabled=We.capsMaskMarker_enabledSE[0]||We.capsMaskMarker_enabledSE[1],We.lineMask_outlineMode=We.lineOutline_enabled,We.caps_enabled=We.capsMaskMarker_enabled||We.capsMaskAnchor_enabledSE[0]||We.capsMaskAnchor_enabledSE[1],We.lineMask_enabled=We.caps_enabled||We.lineMask_outlineMode,(We.lineMask_enabled&&!We.lineMask_outlineMode||We.lineOutline_enabled)&&["x","y"].forEach(function(ee){var He="maskBGRect_"+ee;Ce(Xe,Ct,He,Ie=We[He])&&(Xe.maskBGRect[ee].baseVal.value=Ie,pt=!0)}),Ce(Xe,Ct,"lineMask_enabled",Ie=We.lineMask_enabled)&&(Xe.lineFace.style.mask=Ie?"url(#"+Xe.lineMaskId+")":"none",pt=!0,Vt&&Yt(Xe,Xe.lineMask)),We.lineMask_enabled&&(Ce(Xe,Ct,"lineMask_outlineMode",Ie=We.lineMask_outlineMode)&&(Ie?(Xe.lineMaskBG.style.display="none",Xe.lineMaskShape.style.display="inline"):(Xe.lineMaskBG.style.display="inline",Xe.lineMaskShape.style.display="none"),pt=!0),["x","y"].forEach(function(ee){var He="lineMask_"+ee;Ce(Xe,Ct,He,Ie=We[He])&&(Xe.lineMask[ee].baseVal.value=Ie,pt=!0)}),Ce(Xe,Ct,"caps_enabled",Ie=We.caps_enabled)&&(Xe.lineMaskCaps.style.display=Xe.lineOutlineMaskCaps.style.display=Ie?"inline":"none",pt=!0,Vt&&Yt(Xe,Xe.capsMaskLine)),We.caps_enabled&&([0,1].forEach(function(ee){var He;Ce(Xe,Ct.capsMaskAnchor_enabledSE,ee,Ie=We.capsMaskAnchor_enabledSE[ee])&&(Xe.capsMaskAnchorSE[ee].style.display=Ie?"inline":"none",pt=!0,Vt&&Yt(Xe,Xe.lineMask)),We.capsMaskAnchor_enabledSE[ee]&&(Wl(He=We.capsMaskAnchor_pathDataSE[ee],Ct.capsMaskAnchor_pathDataSE[ee])&&(Xe.capsMaskAnchorSE[ee].setPathData(He),Ct.capsMaskAnchor_pathDataSE[ee]=He,pt=!0),Ce(Xe,Ct.capsMaskAnchor_strokeWidthSE,ee,Ie=We.capsMaskAnchor_strokeWidthSE[ee])&&(Xe.capsMaskAnchorSE[ee].style.strokeWidth=Ie+"px",pt=!0))}),Ce(Xe,Ct,"capsMaskMarker_enabled",Ie=We.capsMaskMarker_enabled)&&(Xe.capsMaskLine.style.display=Ie?"inline":"none",pt=!0),We.capsMaskMarker_enabled&&[0,1].forEach(function(ee){var He=We.capsMaskMarker_plugSE[ee],At=He!==st?ai[Qr[He]]:null,it=Kh(ee,At);Ce(Xe,Ct.capsMaskMarker_enabledSE,ee,Ie=We.capsMaskMarker_enabledSE[ee])&&(Xe.capsMaskLine.style[it.prop]=Ie?"url(#"+Xe.lineMaskMarkerIdSE[ee]+")":"none",pt=!0),We.capsMaskMarker_enabledSE[ee]&&(Ce(Xe,Ct.capsMaskMarker_plugSE,ee,He)&&(Xe.capsMaskMarkerShapeSE[ee].href.baseVal="#"+At.elmId,jh(Xe,Xe.capsMaskMarkerSE[ee],it.orient,At.bBox,Xe.svg,Xe.capsMaskMarkerShapeSE[ee],Xe.capsMaskLine),pt=!0,ar&&(Yt(Xe,Xe.capsMaskLine),Yt(Xe,Xe.lineFace))),["markerWidth","markerHeight"].forEach(function(qt){var nn="capsMaskMarker_"+qt+"SE";Ce(Xe,Ct[nn],ee,Ie=We[nn][ee])&&(Xe.capsMaskMarkerSE[ee][qt].baseVal.value=Ie,pt=!0)}))}))),We.lineOutline_enabled&&["x","y"].forEach(function(ee){var He="lineOutlineMask_"+ee;Ce(Xe,Ct,He,Ie=We[He])&&(Xe.lineOutlineMask[ee].baseVal.value=Ie,pt=!0)}),pt),m.effect&&(Yi=(En=c).curStats,ur=En.aplStats,Object.keys(i).forEach(function(ee){var He=i[ee],At=ee+"_enabled",it=ee+"_options",qt=Yi[it];Ce(En,ur,At,tn=Yi[At])?(tn&&(ur[it]=bn(qt)),He[tn?"init":"remove"](En)):tn&&gs(qt,ur[it])&&(He.remove(En),ur[At]=!0,ur[it]=bn(qt),He.init(En))})),(Tl||Vt)&&bt.line&&!bt.path&&Yt(c,c.lineShape),Tl&&bt.plug&&!bt.line&&Yt(c,c.plugsFace),Hh(c)}function Uo(c,m){return{duration:_n(c.duration)&&0m.x2&&(m.x2=S.x2),S.y2>m.y2&&(m.y2=S.y2),["x","y"].forEach(function(D){var L,Z="dropShadow_"+D;P[Z]=L=m[D+"1"],Ce(c,T,Z,L)&&(c.efc_dropShadow_elmFilter[D].baseVal.value=L)}))}}},Object.keys(i).forEach(function(c){var m=i[c],y=m.stats;y[c+"_enabled"]={iniValue:!1},y[c+"_options"]={hasProps:!0},m.anim&&(y[c+"_animOptions"]={},y[c+"_animId"]={})}),r={none:{defaultAnimOptions:{},init:function(c,m){var y=c.curStats;y.show_animId&&(Kt.remove(y.show_animId),y.show_animId=null),r.none.start(c,m)},start:function(c,m){r.none.stop(c,!0)},stop:function(c,m,y){var S=c.curStats;return y=y??c.aplStats.show_on,S.show_inAnim=!1,m&&Ys(c,y),y?1:0}},fade:{defaultAnimOptions:{duration:300,timing:"linear"},init:function(c,m){var y=c.curStats,S=c.aplStats;y.show_animId&&Kt.remove(y.show_animId),y.show_animId=Kt.add(function(P){return P},function(P,T){T?r.fade.stop(c,!0):(c.svg.style.opacity=P+"",ui&&(Yt(c,c.svg),Hh(c)))},S.show_animOptions.duration,1,S.show_animOptions.timing,null,!1),r.fade.start(c,m)},start:function(c,m){var y,S=c.curStats;S.show_inAnim&&(y=Kt.stop(S.show_animId)),Ys(c,1),S.show_inAnim=!0,Kt.start(S.show_animId,!c.aplStats.show_on,m??y)},stop:function(c,m,y){var S,P=c.curStats;return y=y??c.aplStats.show_on,S=P.show_inAnim?Kt.stop(P.show_animId):y?1:0,P.show_inAnim=!1,m&&(c.svg.style.opacity=y?"":"0",Ys(c,y)),S}},draw:{defaultAnimOptions:{duration:500,timing:[.58,0,.42,1]},init:function(c,m){var y=c.curStats,S=c.aplStats,P=c.pathList.baseVal,T=Gh(P),D=T.segsLen,L=T.lenAll;y.show_animId&&Kt.remove(y.show_animId),y.show_animId=Kt.add(function(Z){var I,fe,_e,j,q=-1;if(Z===0)fe=[[P[0][0],P[0][0]]];else if(Z===1)fe=P;else{for(I=L*Z,fe=[];I>=D[++q];)fe.push(P[q]),I-=D[q];I&&((_e=P[q]).length===2?fe.push([_e[0],Bo(_e[0],_e[1],I/D[q])]):(j=Ns(_e[0],_e[1],_e[2],_e[3],iu(_e[0],_e[1],_e[2],_e[3],I)),fe.push([_e[0],j.fromP1,j.fromP2,j])))}return fe},function(Z,I){I?r.draw.stop(c,!0):(c.pathList.animVal=Z,jn(c,{path:!0}))},S.show_animOptions.duration,1,S.show_animOptions.timing,null,!1),r.draw.start(c,m)},start:function(c,m){var y,S=c.curStats;S.show_inAnim&&(y=Kt.stop(S.show_animId)),Ys(c,1),S.show_inAnim=!0,Jt(c,"apl_position",r.draw.update),Kt.start(S.show_animId,!c.aplStats.show_on,m??y)},stop:function(c,m,y){var S,P=c.curStats;return y=y??c.aplStats.show_on,S=P.show_inAnim?Kt.stop(P.show_animId):y?1:0,P.show_inAnim=!1,m&&(c.pathList.animVal=y?null:[[c.pathList.baseVal[0][0],c.pathList.baseVal[0][0]]],jn(c,{path:!0}),Ys(c,y)),S},update:function(c){cn(c,"apl_position",r.draw.update),c.curStats.show_inAnim?r.draw.init(c,r.draw.stop(c)):c.aplStats.show_animOptions={}}}},[["start","anchorSE",0],["end","anchorSE",1],["color","lineColor"],["size","lineSize"],["startSocketGravity","socketGravitySE",0],["endSocketGravity","socketGravitySE",1],["startPlugColor","plugColorSE",0],["endPlugColor","plugColorSE",1],["startPlugSize","plugSizeSE",0],["endPlugSize","plugSizeSE",1],["outline","lineOutlineEnabled"],["outlineColor","lineOutlineColor"],["outlineSize","lineOutlineSize"],["startPlugOutline","plugOutlineEnabledSE",0],["endPlugOutline","plugOutlineEnabledSE",1],["startPlugOutlineColor","plugOutlineColorSE",0],["endPlugOutlineColor","plugOutlineColorSE",1],["startPlugOutlineSize","plugOutlineSizeSE",0],["endPlugOutlineSize","plugOutlineSizeSE",1]].forEach(function(c){var m=c[0],y=c[1],S=c[2];Object.defineProperty(ci.prototype,m,{get:function(){var P=S!=null?Qn[this._id].options[y][S]:y?Qn[this._id].options[y]:Qn[this._id].options[m];return P==null?Di:bn(P)},set:Fo(m),enumerable:!0})}),[["path",je],["startSocket",Mt,"socketSE",0],["endSocket",Mt,"socketSE",1],["startPlug",Gn,"plugSE",0],["endPlug",Gn,"plugSE",1]].forEach(function(c){var m=c[0],y=c[1],S=c[2],P=c[3];Object.defineProperty(ci.prototype,m,{get:function(){var T,D=P!=null?Qn[this._id].options[S][P]:S?Qn[this._id].options[S]:Qn[this._id].options[m];return D?Object.keys(y).some(function(L){return y[L]===D&&(T=L,!0)})?T:new Error("It's broken"):Di},set:Fo(m),enumerable:!0})}),Object.keys(i).forEach(function(c){var m=i[c];Object.defineProperty(ci.prototype,c,{get:function(){var y,S,P=Qn[this._id].options[c];return Bi(P)?(y=P,S=m.optionsConf.reduce(function(T,D){var L,Z=D[0],I=D[1],fe=D[2],_e=D[3],j=D[4],q=j!=null?y[_e][j]:_e?y[_e]:y[I];return T[I]=Z==="id"?q?Object.keys(fe).some(function(re){return fe[re]===q&&(L=re,!0)})?L:new Error("It's broken"):Di:q==null?Di:bn(q),T},{}),m.anim&&(S.animation=bn(y.animation)),S):P},set:Fo(c),enumerable:!0})}),["startLabel","endLabel","middleLabel"].forEach(function(c,m){Object.defineProperty(ci.prototype,c,{get:function(){var y=Qn[this._id],S=y.options;return S.labelSEM[m]&&!y.optionIsAttach.labelSEM[m]?On[S.labelSEM[m]._id].text:S.labelSEM[m]||""},set:Fo(c),enumerable:!0})}),ci.prototype.setOptions=function(c){return Ll(Qn[this._id],c),this},ci.prototype.position=function(){return jn(Qn[this._id],{position:!0}),this},ci.prototype.remove=function(){var c=Qn[this._id],m=c.curStats;Object.keys(i).forEach(function(y){var S=y+"_animId";m[S]&&Kt.remove(m[S])}),m.show_animId&&Kt.remove(m.show_animId),c.attachments.slice().forEach(function(y){zl(c,y)}),c.baseWindow&&c.svg&&c.baseWindow.document.body.removeChild(c.svg),delete Qn[this._id]},ci.prototype.show=function(c,m){return Zo(Qn[this._id],!0,c,m),this},ci.prototype.hide=function(c,m){return Zo(Qn[this._id],!1,c,m),this},h=function(c){c&&On[c._id]&&(c.boundTargets.slice().forEach(function(m){zl(m.props,c,!0)}),c.conf.remove&&c.conf.remove(c),delete On[c._id])},su.prototype.remove=function(){var c=this,m=On[c._id];m&&(m.boundTargets.slice().forEach(function(y){m.conf.removeOption(m,y)}),Bs(function(){var y=On[c._id];y&&(console.error("LeaderLineAttachment was not removed by removeOption"),h(y))}))},o=su,window.LeaderLineAttachment=o,a=function(c,m){return c instanceof o&&(!(c.isRemoved||m&&On[c._id].conf.type!==m)||null)},s={pointAnchor:{type:"anchor",argOptions:[{optionName:"element",type:Vo}],init:function(c,m){return c.element=s.pointAnchor.checkElement(m.element),c.x=s.pointAnchor.parsePercent(m.x,!0)||[.5,!0],c.y=s.pointAnchor.parsePercent(m.y,!0)||[.5,!0],!0},removeOption:function(c,m){var y=m.props,S={},P=c.element,T=y.options.anchorSE[m.optionName==="start"?1:0];P===T&&(P=T===document.body?new o(s.pointAnchor,[P]):document.body),S[m.optionName]=P,Ll(y,S)},getBBoxNest:function(c,m){var y=No(c.element,m.baseWindow),S=y.width,P=y.height;return y.width=y.height=0,y.left=y.right=y.left+c.x[0]*(c.x[1]?S:1),y.top=y.bottom=y.top+c.y[0]*(c.y[1]?P:1),y},parsePercent:function(c,m){var y,S,P=!1;return _n(c)?S=c:typeof c=="string"&&(y=ki.exec(c))&&y[2]&&(P=(S=parseFloat(y[1])/100)!==0),S!=null&&(m||0<=S)?[S,P]:null},checkElement:function(c){if(c==null)c=document.body;else if(!Vo(c))throw new Error("`element` must be Element");return c}},areaAnchor:{type:"anchor",argOptions:[{optionName:"element",type:Vo},{optionName:"shape",type:"string"}],stats:{color:{},strokeWidth:{},elementWidth:{},elementHeight:{},elementLeft:{},elementTop:{},pathListRel:{},bBoxRel:{},pathData:{},viewBoxBBox:{hasProps:!0},dashLen:{},dashGap:{}},init:function(c,m){var y,S,P,T=[];return c.element=s.pointAnchor.checkElement(m.element),typeof m.color=="string"&&(c.color=m.color.trim()),typeof m.fillColor=="string"&&(c.fill=m.fillColor.trim()),_n(m.size)&&0<=m.size&&(c.size=m.size),m.dash&&(c.dash=!0,_n(m.dash.len)&&0S.right&&(S.right=ut),dtS.bottom&&(S.bottom=dt)):S={left:ut,right:ut,top:dt,bottom:dt},P?U.pathListRel.push([P,{x:ut,y:dt}]):U.pathListRel=[],P={x:ut,y:dt}}),U.pathListRel.push([]),T=U.strokeWidth/2,D=[{x:S.left-T,y:S.top-T},{x:S.right+T,y:S.bottom+T}],U.bBoxRel={left:D[0].x,top:D[0].y,right:D[1].x,bottom:D[1].y,width:D[1].x-D[0].x,height:D[1].y-D[0].y}}te.pathListRel=te.bBoxRel=!0}return(te.pathListRel||te.elementLeft||te.elementTop)&&(U.pathData=ru(U.pathListRel,function(ge){ge.x+=m.left,ge.y+=m.top})),Ce(c,Be,"strokeWidth",y=U.strokeWidth)&&(c.path.style.strokeWidth=y+"px"),Wl(y=U.pathData,Be.pathData)&&(c.path.setPathData(y),Be.pathData=y,te.pathData=!0),c.dash&&(!te.pathData&&(!te.strokeWidth||c.dashLen&&c.dashGap)||(U.dashLen=c.dashLen||2*U.strokeWidth,U.dashGap=c.dashGap||U.strokeWidth),te.dash=Ce(c,Be,"dashLen",U.dashLen)||te.dash,te.dash=Ce(c,Be,"dashGap",U.dashGap)||te.dash,te.dash&&(c.path.style.strokeDasharray=Be.dashLen+","+Be.dashGap)),oe=U.viewBoxBBox,we=Be.viewBoxBBox,be=c.svg.viewBox.baseVal,ve=c.svg.style,oe.x=U.bBoxRel.left+m.left,oe.y=U.bBoxRel.top+m.top,oe.width=U.bBoxRel.width,oe.height=U.bBoxRel.height,["x","y","width","height"].forEach(function(ge){(y=oe[ge])!==we[ge]&&(be[ge]=we[ge]=y,ve[Yh[ge]]=y+(ge==="x"||ge==="y"?c.bodyOffset[ge]:0)+"px")}),te.strokeWidth||te.pathListRel||te.bBoxRel}},mouseHoverAnchor:{type:"anchor",argOptions:[{optionName:"element",type:Vo},{optionName:"showEffectName",type:"string"}],style:{backgroundImage:"url('data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cG9seWdvbiBwb2ludHM9IjI0LDAgMCw4IDgsMTEgMCwxOSA1LDI0IDEzLDE2IDE2LDI0IiBmaWxsPSJjb3JhbCIvPjwvc3ZnPg==')",backgroundSize:"",backgroundRepeat:"no-repeat",backgroundColor:"#f8f881",cursor:"default"},hoverStyle:{backgroundImage:"none",backgroundColor:"#fadf8f"},padding:{top:1,right:15,bottom:1,left:2},minHeight:15,backgroundPosition:{right:2,top:2},backgroundSize:{width:12,height:12},dirKeys:[["top","Top"],["right","Right"],["bottom","Bottom"],["left","Left"]],init:function(c,m){var y,S,P,T,D,L,Z,I,fe,_e,j,q=s.mouseHoverAnchor,re={};if(c.element=s.pointAnchor.checkElement(m.element),I=c.element,!((_e=I.ownerDocument)&&(fe=_e.defaultView)&&fe.HTMLElement&&I instanceof fe.HTMLElement))throw new Error("`element` must be HTML element");return q.style.backgroundSize=q.backgroundSize.width+"px "+q.backgroundSize.height+"px",["style","hoverStyle"].forEach(function(F){var se=q[F];c[F]=Object.keys(se).reduce(function(ie,le){return ie[le]=se[le],ie},{})}),(y=c.element.ownerDocument.defaultView.getComputedStyle(c.element,"")).display==="inline"?c.style.display="inline-block":y.display==="none"&&(c.style.display="block"),s.mouseHoverAnchor.dirKeys.forEach(function(F){var se=F[0],ie="padding"+F[1];parseFloat(y[ie])c.x2&&(c.x2=S.x2),S.y2>c.y2&&(c.y2=S.y2)},newText:function(c,m,y,S,P){var T,D,L,Z,I,fe=m.createElementNS(Fe,"text");return fe.textContent=c,[fe.x,fe.y].forEach(function(_e){var j=y.createSVGLength();j.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),_e.baseVal.initialize(j)}),typeof O!="boolean"&&(O="paintOrder"in fe.style),P&&!O?(D=m.createElementNS(Fe,"defs"),fe.id=S,D.appendChild(fe),(Z=(T=m.createElementNS(Fe,"g")).appendChild(m.createElementNS(Fe,"use"))).href.baseVal="#"+S,(L=T.appendChild(m.createElementNS(Fe,"use"))).href.baseVal="#"+S,(I=Z.style).strokeLinejoin="round",{elmPosition:fe,styleText:fe.style,styleFill:L.style,styleStroke:I,styleShow:T.style,elmsAppend:[D,T]}):(I=fe.style,P&&(I.strokeLinejoin="round",I.paintOrder="stroke"),{elmPosition:fe,styleText:I,styleFill:I,styleStroke:P?I:null,styleShow:I,elmsAppend:[fe]})},getMidPoint:function(c,m){var y,S,P=Gh(c),T=P.segsLen,D=P.lenAll,L=-1,Z=D/2+(m||0);if(Z<=0)return(y=c[0]).length===2?Bo(y[0],y[1],0):Ns(y[0],y[1],y[2],y[3],0);if(D<=Z)return(y=c[c.length-1]).length===2?Bo(y[0],y[1],1):Ns(y[0],y[1],y[2],y[3],1);for(S=[];Z>T[++L];)S.push(c[L]),Z-=T[L];return(y=c[L]).length===2?Bo(y[0],y[1],Z/T[L]):Ns(y[0],y[1],y[2],y[3],iu(y[0],y[1],y[2],y[3],Z))},initSvg:function(c,m){var y,S,P=s.captionLabel.newText(c.text,m.baseWindow.document,m.svg,Pe+"-captionLabel-"+c._id,c.outlineColor);["elmPosition","styleFill","styleShow","elmsAppend"].forEach(function(T){c[T]=P[T]}),c.isShown=!1,c.styleShow.visibility="hidden",s.captionLabel.textStyleProps.forEach(function(T){c[T]!=null&&(P.styleText[T]=c[T])}),P.elmsAppend.forEach(function(T){m.svg.appendChild(T)}),y=P.elmPosition.getBBox(),c.width=y.width,c.height=y.height,c.outlineColor&&(S=10<(S=y.height/9)?10:S<2?2:S,P.styleStroke.strokeWidth=S+"px",P.styleStroke.stroke=c.outlineColor),c.strokeWidth=S||0,en(c.aplStats,s.captionLabel.stats),c.updateColor(m),c.refSocketXY?c.updateSocketXY(m):c.updatePath(m),Vt&&jn(m,{}),c.updateShow(m)},bind:function(c,m){var y=m.props;return c.color||Jt(y,"cur_line_color",c.updateColor),(c.refSocketXY=m.optionName==="startLabel"||m.optionName==="endLabel")?(c.socketIndex=m.optionName==="startLabel"?0:1,Jt(y,"apl_position",c.updateSocketXY),c.offset||(Jt(y,"cur_attach_plugSideLenSE",c.updateSocketXY),Jt(y,"cur_line_strokeWidth",c.updateSocketXY))):Jt(y,"apl_path",c.updatePath),Jt(y,"svgShow",c.updateShow),Vt&&Jt(y,"new_edge4viewBox",c.adjustEdge),s.captionLabel.initSvg(c,y),!0},unbind:function(c,m){var y=m.props;c.elmsAppend&&(c.elmsAppend.forEach(function(S){y.svg.removeChild(S)}),c.elmPosition=c.styleFill=c.styleShow=c.elmsAppend=null),en(c.curStats,s.captionLabel.stats),en(c.aplStats,s.captionLabel.stats),c.color||cn(y,"cur_line_color",c.updateColor),c.refSocketXY?(cn(y,"apl_position",c.updateSocketXY),c.offset||(cn(y,"cur_attach_plugSideLenSE",c.updateSocketXY),cn(y,"cur_line_strokeWidth",c.updateSocketXY))):cn(y,"apl_path",c.updatePath),cn(y,"svgShow",c.updateShow),Vt&&(cn(y,"new_edge4viewBox",c.adjustEdge),jn(y,{}))},removeOption:function(c,m){var y=m.props,S={};S[m.optionName]="",Ll(y,S)},remove:function(c){c.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),c.boundTargets.forEach(function(m){s.captionLabel.unbind(c,m)}))}},pathLabel:{type:"label",argOptions:[{optionName:"text",type:"string"}],stats:{color:{},startOffset:{},pathData:{}},init:function(c,m){return typeof m.text=="string"&&(c.text=m.text.trim()),!!c.text&&(typeof m.color=="string"&&(c.color=m.color.trim()),c.outlineColor=typeof m.outlineColor=="string"?m.outlineColor.trim():"#fff",_n(m.lineOffset)&&(c.lineOffset=m.lineOffset),s.captionLabel.textStyleProps.forEach(function(y){m[y]!=null&&(c[y]=m[y])}),c.updateColor=function(y){s.captionLabel.updateColor(c,y)},c.updatePath=function(y){var S,P=c.curStats,T=c.aplStats,D=y.curStats,L=y.pathList.animVal||y.pathList.baseVal;L&&(P.pathData=S=s.pathLabel.getOffsetPathData(L,D.line_strokeWidth/2+c.strokeWidth/2+c.height/4,1.25*c.height),Wl(S,T.pathData)&&(c.elmPath.setPathData(S),T.pathData=S,c.bBox=c.elmPosition.getBBox(),c.updateStartOffset(y)))},c.updateStartOffset=function(y){var S,P,T,D,L=c.curStats,Z=c.aplStats,I=y.curStats;L.pathData&&(c.semIndex===2&&!c.lineOffset||(T=L.pathData.reduce(function(fe,_e){var j,q=_e.values;switch(_e.type){case"M":P={x:q[0],y:q[1]};break;case"L":j={x:q[0],y:q[1]},P&&(fe+=hi(P,j)),P=j;break;case"C":j={x:q[4],y:q[5]},P&&(fe+=Yo(P,{x:q[0],y:q[1]},{x:q[2],y:q[3]},j)),P=j}return fe},0),D=c.semIndex===0?0:c.semIndex===1?T:T/2,c.semIndex!==2&&(S=Math.max(I.attach_plugBackLenSE[c.semIndex]||0,I.line_strokeWidth/2)+c.strokeWidth/2+c.height/4,D=(D+=c.semIndex===0?S:-S)<0?0:Tm?((Z=S.points)[1]=Ml(Z[0],Z[1],-m),S.len=hi(Z[0],Z[1])):(S.points=null,S.len=0),L.len>m+y?((Z=L.points)[0]=Ml(Z[1],Z[0],-(m+y)),L.len=hi(Z[0],Z[1])):(L.points=null,L.len=0)),L):null}),T.reduce(function(L,Z){var I=Z.points;return I&&(P&&D(I[0],P)||L.push({type:"M",values:[I[0].x,I[0].y]}),Z.type==="line"?L.push({type:"L",values:[I[1].x,I[1].y]}):(I.shift(),I.forEach(function(fe){L.push({type:"L",values:[fe.x,fe.y]})})),P=I[I.length-1]),L},[])},newText:function(c,m,y,S){var P,T,D,L,Z,I,fe,_e,j=m.createElementNS(Fe,"defs"),q=j.appendChild(m.createElementNS(Fe,"path"));return q.id=P=y+"-path",(L=(D=m.createElementNS(Fe,"text")).appendChild(m.createElementNS(Fe,"textPath"))).href.baseVal="#"+P,L.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),L.textContent=c,typeof O!="boolean"&&(O="paintOrder"in D.style),S&&!O?(D.id=T=y+"-text",j.appendChild(D),(fe=(Z=m.createElementNS(Fe,"g")).appendChild(m.createElementNS(Fe,"use"))).href.baseVal="#"+T,(I=Z.appendChild(m.createElementNS(Fe,"use"))).href.baseVal="#"+T,(_e=fe.style).strokeLinejoin="round",{elmPosition:D,elmPath:q,elmOffset:L,styleText:D.style,styleFill:I.style,styleStroke:_e,styleShow:Z.style,elmsAppend:[j,Z]}):(_e=D.style,S&&(_e.strokeLinejoin="round",_e.paintOrder="stroke"),{elmPosition:D,elmPath:q,elmOffset:L,styleText:_e,styleFill:_e,styleStroke:S?_e:null,styleShow:_e,elmsAppend:[j,D]})},initSvg:function(c,m){var y,S,P=s.pathLabel.newText(c.text,m.baseWindow.document,Pe+"-pathLabel-"+c._id,c.outlineColor);["elmPosition","elmPath","elmOffset","styleFill","styleShow","elmsAppend"].forEach(function(T){c[T]=P[T]}),c.isShown=!1,c.styleShow.visibility="hidden",s.captionLabel.textStyleProps.forEach(function(T){c[T]!=null&&(P.styleText[T]=c[T])}),P.elmsAppend.forEach(function(T){m.svg.appendChild(T)}),P.elmPath.setPathData([{type:"M",values:[0,100]},{type:"h",values:[100]}]),y=P.elmPosition.getBBox(),P.styleText.textAnchor=["start","end","middle"][c.semIndex],c.semIndex!==2||c.lineOffset||P.elmOffset.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,50),c.height=y.height,c.outlineColor&&(S=10<(S=y.height/9)?10:S<2?2:S,P.styleStroke.strokeWidth=S+"px",P.styleStroke.stroke=c.outlineColor),c.strokeWidth=S||0,en(c.aplStats,s.pathLabel.stats),c.updateColor(m),c.updatePath(m),c.updateStartOffset(m),Vt&&jn(m,{}),c.updateShow(m)},bind:function(c,m){var y=m.props;return c.color||Jt(y,"cur_line_color",c.updateColor),Jt(y,"cur_line_strokeWidth",c.updatePath),Jt(y,"apl_path",c.updatePath),c.semIndex=m.optionName==="startLabel"?0:m.optionName==="endLabel"?1:2,c.semIndex===2&&!c.lineOffset||Jt(y,"cur_attach_plugBackLenSE",c.updateStartOffset),Jt(y,"svgShow",c.updateShow),Vt&&Jt(y,"new_edge4viewBox",c.adjustEdge),s.pathLabel.initSvg(c,y),!0},unbind:function(c,m){var y=m.props;c.elmsAppend&&(c.elmsAppend.forEach(function(S){y.svg.removeChild(S)}),c.elmPosition=c.elmPath=c.elmOffset=c.styleFill=c.styleShow=c.elmsAppend=null),en(c.curStats,s.pathLabel.stats),en(c.aplStats,s.pathLabel.stats),c.color||cn(y,"cur_line_color",c.updateColor),cn(y,"cur_line_strokeWidth",c.updatePath),cn(y,"apl_path",c.updatePath),c.semIndex===2&&!c.lineOffset||cn(y,"cur_attach_plugBackLenSE",c.updateStartOffset),cn(y,"svgShow",c.updateShow),Vt&&(cn(y,"new_edge4viewBox",c.adjustEdge),jn(y,{}))},removeOption:function(c,m){var y=m.props,S={};S[m.optionName]="",Ll(y,S)},remove:function(c){c.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),c.boundTargets.forEach(function(m){s.pathLabel.unbind(c,m)}))}}},Object.keys(s).forEach(function(c){ci[c]=function(){return new o(s[c],Array.prototype.slice.call(arguments))}}),ci.positionByWindowResize=!0,window.addEventListener("resize",tu.add(function(){ci.positionByWindowResize&&Object.keys(Qn).forEach(function(c){jn(Qn[c],{position:!0})})}),!1),ci}();(function(i,r){n.exports=r()})(ta,function(){return t})})(xb);var eL=xb.exports;const Yu=hp(eL);let z1=K.createContext({}),Pb=K.createContext(void 0),Rs=K.createContext([]),L1=K.createContext(void 0),tL=(n,e)=>{let t=Xi(e.start,n.state.doc),i=Xi(e.end,n.state.doc);return n.state.doc.sliceString(t,i)},nL=({value:n})=>{let e=pn.useContext(Rs),t=({children:i,index:r})=>{let s=[...e,"index",r.toString()];return K.createElement(Rs.Provider,{value:s},K.createElement("td",{className:s.join("-"),"data-connector":"bottom"},i))};return K.createElement("table",{className:"array"},K.createElement("tbody",null,K.createElement("tr",null,n.type=="All"?n.value.map((i,r)=>K.createElement(t,{key:r,index:r},K.createElement(rs,{value:i}))):K.createElement(K.Fragment,null,n.value[0].map((i,r)=>K.createElement(t,{key:r,index:r},K.createElement(rs,{value:i}))),K.createElement("td",null,"..."),K.createElement(t,{index:100},K.createElement(rs,{value:n.value[1]}))))))},qa=(n,e)=>{let t=n.fields.find(([i])=>e==i);if(!t){let i=JSON.stringify(n,void 0,2);throw new Error(`Could not find field "${e}" in struct: ${i}`)}return t[1].value},kb=n=>qa(n,"pointer"),Xx=n=>{let e=qa(n,"buf"),t=qa(e,"ptr");return kb(t)},Mx=n=>{if(n.alloc_kind===null)return;let e=n.alloc_kind.type,t;if(e=="String"){let r=qa(n,"vec");t=Xx(r)}else if(e=="Vec")t=Xx(n);else if(e=="Box"){let r=qa(n,"0");t=kb(r)}else throw new Error(`Unimplemented alloc type: ${e}`);return t.fields[0][1]},iL=({value:n})=>{let e=pn.useContext(Rs),t=pn.useContext(z1),i=Mx(n);if(i&&!t.concreteTypes)return K.createElement(rs,{value:i});if(n.name=="Iter"&&!t.concreteTypes){let h=qa(n,"ptr").fields[0][1];return K.createElement(rs,{value:h})}let r=n.variant??n.name,s=n.fields.length>0&&n.fields[0][0]=="0";if(s&&n.fields.length==1){let a=[...e,"field","0"],h=n.fields[0][1],f=K.createElement(Rs.Provider,{value:a},K.createElement(rs,{value:h})),p=h.type=="Adt"&&!t.concreteTypes&&Mx(h.value)!==void 0;return K.createElement("span",{className:a.join("-")},p?K.createElement(K.Fragment,null,r,"(",f,")"):K.createElement(K.Fragment,null," ",r," / ",f))}let o=n.fields.map(([a,h],f)=>{let p=[...e,"field",f.toString()];return K.createElement("td",{key:a,className:p.join("-")},K.createElement(Rs.Provider,{value:p},K.createElement(rs,{value:h})))});return K.createElement(K.Fragment,null,r,K.createElement("table",null,K.createElement("tbody",null,s?K.createElement("tr",null,o):n.fields.map(([a,h],f)=>K.createElement("tr",{key:f},K.createElement("td",null,a),o[f])))))},rL=({value:{path:n,range:e}})=>{let t=pn.useContext(z1),i=n.segment.type=="Heap"?`heap-${n.segment.value.index}`:`stack-${n.segment.value.frame}-${n.segment.value.local}`,r=[...n.parts],s=Vr.last(r),o=s&&s.type=="Subslice"?s.value:void 0;s&&s.type=="Index"&&s.value==0&&r.pop();let a=r.map(p=>p.type=="Index"?`index-${p.value}`:p.type=="Field"?`field-${p.value}`:p.type=="Subslice"?`index-${p.value[0]}`:""),h={"data-point-to":[i,...a].join("-")};o&&(h["data-point-to-range"]=[i,...a.slice(0,-1),`index-${o[1]}`].join("-"));let f=K.createElement("span",{className:"pointer",...h},"●");return t.concreteTypes&&e?K.createElement("table",null,K.createElement("tbody",null,K.createElement("tr",null,K.createElement("td",null,"ptr"),K.createElement("td",null,f)),K.createElement("tr",null,K.createElement("td",null,"len"),K.createElement("td",null,e.toString())))):f},rs=({value:n})=>{let e=pn.useContext(Rs),t=pn.useContext(L1);return K.createElement(K.Fragment,null,n.type=="Bool"||n.type=="Uint"||n.type=="Int"||n.type=="Float"?n.value.toString():n.type=="Char"?String.fromCharCode(n.value).replace(" "," "):n.type=="Tuple"?K.createElement(K.Fragment,null,K.createElement("table",null,K.createElement("tbody",null,K.createElement("tr",null,n.value.map((i,r)=>{let s=[...e,"field",r.toString()];return K.createElement("td",{key:r,className:s.join("-")},K.createElement(Rs.Provider,{value:s},K.createElement(rs,{value:i})))}))))):n.type=="Adt"?K.createElement(iL,{value:n.value}):n.type=="Pointer"?K.createElement(rL,{value:n.value}):n.type=="Array"?K.createElement(nL,{value:n.value}):n.type=="Unallocated"?(()=>{let i=t&&t.type=="PointerUseAfterFree"&&t.value.alloc_id==n.value.alloc_id;return K.createElement("span",{className:hs("unallocated",{error:i})},"⦻")})():K.createElement(K.Fragment,null,"TODO"))},sL=({index:n,locals:e})=>e.length==0?K.createElement("div",{className:"locals empty-frame"},"(empty frame)"):K.createElement("table",{className:"locals"},K.createElement("tbody",null,e.map(({name:t,value:i,moved_paths:r},s)=>{let o=["stack",n.toString(),t],a=r.some(h=>h.length==0);return K.createElement("tr",{key:s,className:hs({moved:a})},K.createElement("td",null,t),K.createElement("td",{className:o.join("-"),"data-connector":"right"},K.createElement(Rs.Provider,{value:o},K.createElement(rs,{value:i}))))}))),I1=({children:n,className:e})=>K.createElement("div",{className:`header ${e??""}`},K.createElement("div",{className:"header-text"},n),K.createElement("div",{className:"header-bg"})),oL=({index:n,frame:e})=>{let t=pn.useContext(Pb);return tL(t,e.location),K.createElement("div",{className:"frame"},K.createElement(I1,{className:"frame-header"},e.name),null,K.createElement(sL,{index:n,locals:e.locals}))},lL=({stack:n})=>K.createElement("div",{className:"memory stack"},K.createElement(I1,{className:"memory-header"},"Stack"),K.createElement("div",{className:"frames"},n.frames.map((e,t)=>K.createElement(oL,{key:t,index:t,frame:e})))),aL=({heap:n})=>K.createElement("div",{className:"memory heap"},K.createElement(I1,{className:"memory-header"},"Heap"),K.createElement("table",null,K.createElement("tbody",null,n.locations.map((e,t)=>{let i=["heap",t.toString()];return K.createElement("tr",{key:t},K.createElement("td",{className:i.join("-"),"data-connector":"left"},K.createElement(Rs.Provider,{value:i},K.createElement(rs,{value:e}))))}))));Yu.positionByWindowResize=!1;const uL={light:["rgba(24, 15, 41, 1)","rgba(47, 23, 57, 1)","rgba(71, 28, 72, 1)","rgba(97, 30, 82, 1)","rgba(123, 30, 89, 1)","rgba(150, 27, 91, 1)"],dark:["rgba(234, 219, 207, 1)","rgba(227, 203, 187, 1)","rgba(220, 187, 168, 1)","rgba(214, 172, 151, 1)","rgba(208, 156, 136, 1)","rgba(202, 140, 121, 1)"]};let hL=(n,e,t)=>{pn.useEffect(()=>{let i=n.current,r=e.current,s=t.current,o=r.querySelectorAll(".pointer"),a=getComputedStyle(document.body).getPropertyValue("--inline-code-color"),h=$=>{let W=r.querySelector("."+CSS.escape($));if(!W)throw new Error(`Could not find endpoint for pointer selector: ${CSS.escape($)}`);return W},f=$=>$.closest(".heap")!==null?"heap":"stack",p={},O=Array.from(o).map($=>{let W=$.dataset.pointTo,B=h(W),J=$.dataset.pointToRange?h($.dataset.pointToRange):void 0,ae=B.dataset.connector,xe={srcRegion:f($),dstRegion:f(B)};W in p||(p[W]=0);let Me=p[W];return p[W]+=1,{src:$,dst:B,dstRange:J,dstSel:W,endSocket:ae,dstIndex:Me,group:xe}}),v=Vr.groupBy(O,"group"),x=($,W)=>{try{let{srcRegion:B,dstRegion:J}=$.group,ae=B=="heap"&&J=="stack"?"left":"right",xe;if($.dstRange)xe=Yu.areaAnchor($.dst,{shape:"rect",width:$.dstRange.offsetLeft+$.dst.offsetWidth-$.dst.offsetLeft,height:2,y:"100%",fillColor:a?"var(--search-mark-bg)":"red"});else if(B=="stack"&&J=="stack")xe=Yu.pointAnchor($.dst,{x:"100%",y:"75%"});else if($.endSocket=="bottom")xe=$.dst;else{let je=J=="stack"?100:0,st=Bz({center:50,spacing:30,index:$.dstIndex,total:p[$.dstSel]-1});xe=Yu.pointAnchor($.dst,{x:`${je}%`,y:`${st}%`})}let Pe=["navy","coal","ayu"].some(je=>document.documentElement.classList.contains(je)),at=uL[Pe?"dark":"light"],mt=at[W%at.length],_t=$.src.closest(".moved")!==null,Mt=Pe?.5:.3;_t&&(mt=mt.replace(", 1)",`, ${Mt})`));let Wt,zt;$.group.srcRegion=="stack"&&$.group.dstRegion=="heap"&&(Wt=60,zt=100-W*10);let ke=new Yu($.src,xe,{color:mt,size:1,endPlugSize:2,startSocket:ae,endSocket:$.endSocket,startSocketGravity:Wt,endSocketGravity:zt}),Re=[".leader-line"];$.dstRange&&Re.push(".leader-line-areaAnchor");let ze=Re.map(je=>{let st=document.body.querySelector(`:scope > ${je}`);if(!st)throw new Error(`Missing LineLeader element: ${je}`);return st});return ze.forEach(je=>s.appendChild(je)),{line:ke,svgElements:ze}}catch(B){console.error("Leader line failed to render",B.stack);return}},Q=Object.entries(v).flatMap(([$,W])=>W.map((B,J)=>x(B,J))).filter($=>$!==void 0),R=()=>{let $=r.getBoundingClientRect(),W=$.left+window.scrollX+i.scrollLeft,B=$.top+window.scrollY+i.scrollTop;return[W,B]},M=($,W)=>{Q.forEach(({line:B})=>B.position()),s.style.transform=`translate(-${$}px, -${W}px)`},b=R();M(...b);let E=setInterval(()=>{let $=R();($[0]!=b[0]||$[1]!=b[1])&&M(...$),b=$},300);return()=>{clearInterval(E),Q.forEach(({svgElements:$})=>{$.forEach(W=>{W.parentNode.removeChild(W)})})}})},cL=({step:n,index:e,containerRef:t})=>{let i=pn.useRef(null),r=pn.useRef(null),s=pn.useContext(L1);return hL(t,i,r),K.createElement("div",{className:"step"},K.createElement("div",{className:"step-header"},K.createElement(_b,{index:e,fail:s!==void 0}),s!==void 0?K.createElement("span",{className:"undefined-behavior"},"undefined behavior:"," ",s.type=="PointerUseAfterFree"?K.createElement(K.Fragment,null,"pointer used after its pointee is freed"):s.value):null),K.createElement("div",{className:"memory-container",ref:i},K.createElement("div",{className:"arrow-container",ref:r}),K.createElement("div",{className:"memory-container-flex"},K.createElement(lL,{stack:n.stack}),n.heap.locations.length>0?K.createElement(aL,{heap:n.heap}):null)))},fL=({trace:n,config:e})=>{let t=pn.useRef(null),[i,r]=pn.useState((e==null?void 0:e.concreteTypes)??!1),[s,o]=pn.useState(!1),a=e!=null&&e.horizontal?"row":"column";return K.createElement(z1.Provider,{value:{...e,concreteTypes:i}},K.createElement("div",{ref:t,className:"interpreter",style:{flexDirection:a},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1)},K.createElement("button",{className:hs("concrete-types",{active:i}),onClick:()=>r(!i),style:{opacity:s?"1":"0"}},K.createElement("i",{className:"fa fa-binoculars"})),n.steps.map((h,f)=>{let p=f==n.steps.length-1&&n.result.type=="Error"?n.result.value:void 0;return K.createElement(L1.Provider,{key:f,value:p},K.createElement(cL,{index:f,step:h,containerRef:t}))})))},dL=(n,e,t)=>{let i=[...e].reverse(),r=t.map(o=>{let a=i.findIndex(h=>{let f=Vr.last(h.stack.frames),p=Xi(f.body_span.start,n.state.doc)<=o&&o<=Xi(f.body_span.end,n.state.doc),O=o>Xi(f.location.start,n.state.doc);return p&&O});if(a==-1)throw new Error(`Could not find step for range: ${JSON.stringify(o,void 0,2)}`);return[e.length-a,o,i[a]]}),s=Vr.sortBy(r,([o])=>o);return[s.map(([o,a])=>a),s.map(([o,a,h])=>h)]},_b=({index:n,fail:e})=>K.createElement("span",{className:hs("step-marker",{fail:e})},K.createElement("span",null,"L",n+1));class pL extends Dr{constructor(t,i){super();Lt(this,"index");Lt(this,"fail");this.index=t,this.fail=i}toDOM(){let t=document.createElement("span");return Sl.createRoot(t).render(K.createElement(_b,{index:this.index,fail:this.fail})),t}}let V1=M1();function OL(n,e,t,i,r){let s=Sl.createRoot(e),o=(r==null?void 0:r.state_locations)||[],a;if(o.length>0){let[f,p]=dL(n,t.steps,o);a=f,t.steps=p}else a=t.steps.map(f=>Vr.last(f.stack.frames).location.end);let h=a.map((f,p)=>Ge.widget({widget:new pL(p,p==t.steps.length-1&&t.result.type=="Error")}).range(f));n.dispatch({effects:[V1.setEffect.of(h)]}),s.render(K.createElement(Pb.Provider,{value:n},K.createElement(fL,{trace:t,config:i})))}let gL=({perm:n,facts:e})=>{let t=()=>{let i=na(n.perm),r=({children:s})=>K.createElement("span",{className:hs("perm",i)},s);return n.step.type==="None"?n.step.value?K.createElement("div",{className:"perm-diff-present",title:`Path had ${i} permissions before the preceding line, and that didn't change after this line.`},K.createElement(r,null,n.perm)):K.createElement("div",{className:"perm-diff-none",title:`Path did not have ${i} permissions before the preceding line, and that didn't change after this line.`},K.createElement(r,null,"‒")):n.step.type=="Low"?K.createElement("div",{className:"perm-diff-sub-container",title:`Path had ${i} permissions before the preceding line, and lost it after this line.`},K.createElement("div",{className:"perm-diff-sub"}),K.createElement(r,null,n.perm)):K.createElement("div",{title:`Path did not have ${i} permissions before the preceding line, and gained it after this line.`},K.createElement("span",{className:"perm-diff-add"},"+"),K.createElement(r,null,n.perm))};return K.createElement("td",{onMouseEnter:()=>{Gf(e,n.loanKey,[na(n.perm)]),jf(e,n.moveKey,[na(n.perm)])},onMouseLeave:()=>{Hf(e,n.loanKey,[na(n.perm)]),Kf(e,n.moveKey,[na(n.perm)])},className:"perm-char"},t())},mL=({path:n,diffs:e,facts:t})=>{let i=[{fact:"path_moved",states:[{value:{type:"High",value:0},icon:"sign-out",desc:"Path is moved here"},{value:{type:"Low"},icon:"recycle",desc:"Path is re-initialized after move here"}]},{fact:"loan_read_refined",states:[{value:{type:"High",value:0},icon:"arrow-right",desc:"Path is borrowed here"},{value:{type:"Low"},icon:"rotate-left",desc:"Borrow on path is dropped here"}]},{fact:"loan_write_refined",states:[{value:{type:"High",value:0},icon:"arrow-right",desc:"Path is borrowed here"},{value:{type:"Low"},icon:"rotate-left",desc:"Borrow on path is no longer used here"}]},{fact:"is_live",states:[{value:{type:"High",value:0},icon:"level-up",desc:"Path is initialized here"},{value:{type:"Low"},icon:"level-down",desc:"Path is no longer used here"}]},{fact:"path_uninitialized",states:[{value:{type:"High",value:0},icon:"sign-out",desc:"Path contains uninitialized data"},{value:{type:"Low"},icon:"recycle",desc:"Path data is initialized after move here"}]}],r=null;e:for(let{fact:f,states:p}of i)for(let{value:O,icon:v,desc:x}of p)if(Vr.isEqual(e[f].type,O.type)){r=K.createElement("i",{className:`fa fa-${v} aquascope-action-indicator`,title:x});break e}let s=function(f){return f.type==="None"||f.type==="High"?f.value:void 0},o=s(e.path_moved),a=[{perm:Ob,step:e.permissions.read,loanKey:s(e.loan_read_refined),moveKey:o},{perm:gb,step:e.permissions.write,loanKey:s(e.loan_write_refined),moveKey:o},{perm:mb,step:e.permissions.drop,loanKey:s(e.loan_drop_refined),moveKey:o}],h=K.createElement("td",{className:"perm-step-path"},n);return K.createElement("tr",null,h,K.createElement("td",{className:"perm-step-event"},r),a.map(f=>K.createElement(gL,{key:f.perm,perm:f,facts:t})))},Qb=n=>n.location.end,Wx=({rows:n,facts:e})=>K.createElement("table",{className:"perm-step-table"},K.createElement("tbody",null,n.map(([t,i],r)=>K.createElement(mL,{key:r,path:t,diffs:i,facts:e})))),yL=({focused:n,hidden:e,facts:t})=>{let[i,r]=pn.useState(!1),s=e.length>0?K.createElement(K.Fragment,null,K.createElement("div",{className:"step-table-dropdown step-widget-toggle"},"● ● ●"),K.createElement("div",{className:hs({"hidden-height":!i})},K.createElement(Wx,{rows:e,facts:t}))):null;return K.createElement("div",{className:hs("step-table-container",{"contains-hidden":e.length>0}),onClick:()=>r(!i)},K.createElement(Wx,{rows:n,facts:t}),s)},vL=({spaces:n,focusedRegex:e,tables:t,init:i,facts:r})=>{let[s,o]=pn.useState(i),a="»",h="«",f=t.map((p,O)=>{let[v,x]=Vr.partition(p.state,([Q,R])=>!!Q.match(e));return K.createElement(yL,{key:O,focused:v,hidden:x,facts:r})});return K.createElement("div",{className:"perm-step-widget"},K.createElement("span",{className:"step-widget-toggle",onClick:()=>o(!s)},s?h:a),K.createElement("div",{className:hs("step-widget-container",{"hidden-width":!s})},K.createElement("div",{className:"step-widget-spacer"},n),f))};class SL extends Dr{constructor(t,i,r,s){super();Lt(this,"view");Lt(this,"step");Lt(this,"facts");Lt(this,"annotations");Lt(this,"line");Lt(this,"rowHTML");this.view=t,this.step=i,this.facts=r,this.annotations=s,this.line=t.state.doc.lineAt(Xi(Qb(i),t.state.doc))}eq(t){return this.line.number===t.line.number}toDOM(){var x;let t=document.createElement("span"),i=this.view.state.doc,r=this.line,s=this.annotations&&this.annotations.focused_lines.length>0?this.annotations.focused_lines.includes(r.number):!0,o=0;for(let Q of i.iterLines())o=Math.max(o,Q.length);let a=2+o-r.length,h="―".repeat(a),f=(x=this.annotations)==null?void 0:x.focused_paths[r.number],p=f==null?void 0:f.map(Q=>Q.type=="Literal"?Vr.escapeRegExp(Q.value):Q.value).map(Q=>`(${Q})`).join("|"),O=new RegExp(p??"(.*)?"),v=this.step.state;return Sl.createRoot(t).render(K.createElement(vL,{spaces:h,focusedRegex:O,tables:v,init:s,facts:this.facts})),t}ignoreEvent(){return!0}}let D1=M1();function wL(n,e,t,i){return t.map(r=>Ge.widget({widget:new SL(n,r,e,i),side:1}).range(Xi(Qb(r),n.state.doc)))}function xL(n,e,t){let i=[],r=[],s=[];return e.forEach(o=>{let[a,h]=Zz(o),f=Jz(n,a,o.boundaries,t==null?void 0:t.boundaries),p=wL(n,a,o.steps,t==null?void 0:t.stepper);r.push(f),i.push(p),s.push(h)}),{stepper:i.flat(),boundaries:Vr.uniqBy(r.flat(),o=>o.from),facts:s.flat()}}function zx(n,e,t){if(console.debug("rendering permissions with",t),e!==void 0){let i=String(t==null?void 0:t.stepper)==="true",r=String(t==null?void 0:t.boundaries)==="true";n.dispatch({effects:[yb.of(e.facts),D1.setEffect.of(i?e.stepper:[]),W1.setEffect.of(r?e.boundaries:[])]})}}const PL=new URL("http://127.0.0.1:8008"),bb=` +}`;var ft=Hv(function(){return Et(_,Ze+"return "+Se).apply(t,A)});if(ft.source=Se,EO(ft))throw ft;return ft}function dR(l){return Tt(l).toLowerCase()}function pR(l){return Tt(l).toUpperCase()}function OR(l,u,d){if(l=Tt(l),l&&(d||u===t))return sy(l);if(!l||!(u=Ui(u)))return l;var g=br(l),w=br(u),_=oy(g,w),A=ly(g,w)+1;return js(g,_,A).join("")}function gR(l,u,d){if(l=Tt(l),l&&(d||u===t))return l.slice(0,uy(l)+1);if(!l||!(u=Ui(u)))return l;var g=br(l),w=ly(g,br(u))+1;return js(g,0,w).join("")}function mR(l,u,d){if(l=Tt(l),l&&(d||u===t))return l.replace(hi,"");if(!l||!(u=Ui(u)))return l;var g=br(l),w=oy(g,br(u));return js(g,w).join("")}function yR(l,u){var d=Pe,g=Ke;if(rn(u)){var w="separator"in u?u.separator:w;d="length"in u?ct(u.length):d,g="omission"in u?Ui(u.omission):g}l=Tt(l);var _=l.length;if(Dl(l)){var A=br(l);_=A.length}if(d>=_)return l;var X=d-Nl(g);if(X<1)return g;var N=A?js(A,0,X).join(""):l.slice(0,X);if(w===t)return N+g;if(A&&(X+=N.length-X),$O(w)){if(l.slice(X).search(w)){var pe,Oe=N;for(w.global||(w=qp(w.source,Tt(Jt.exec(w))+"g")),w.lastIndex=0;pe=w.exec(Oe);)var Se=pe.index;N=N.slice(0,Se===t?X:Se)}}else if(l.indexOf(Ui(w),X)!=X){var Ae=N.lastIndexOf(w);Ae>-1&&(N=N.slice(0,Ae))}return N+g}function vR(l){return l=Tt(l),l&&Wn.test(l)?l.replace(On,F2):l}var SR=Gl(function(l,u,d){return l+(d?" ":"")+u.toUpperCase()}),AO=jy("toUpperCase");function Gv(l,u,d){return l=Tt(l),u=d?t:u,u===t?B2(l)?j2(l):X2(l):l.match(u)||[]}var Hv=Ot(function(l,u){try{return it(l,t,u)}catch(d){return EO(d)?d:new rt(d)}}),wR=ws(function(l,u){return nn(u,function(d){d=Ur(d),vs(l,d,QO(l[d],l))}),l});function xR(l){var u=l==null?0:l.length,d=Je();return l=u?Gt(l,function(g){if(typeof g[1]!="function")throw new hr(o);return[d(g[0]),g[1]]}):[],Ot(function(g){for(var w=-1;++wke)return[];var d=je,g=Jn(l,je);u=Je(u),l-=je;for(var w=Np(g,u);++d0||u<0)?new vt(d):(l<0?d=d.takeRight(-l):l&&(d=d.drop(l)),u!==t&&(u=ct(u),d=u<0?d.dropRight(-u):d.take(u-l)),d)},vt.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},vt.prototype.toArray=function(){return this.take(je)},Yr(vt.prototype,function(l,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),g=/^(?:head|last)$/.test(u),w=k[g?"take"+(u=="last"?"Right":""):u],_=g||/^find/.test(u);w&&(k.prototype[u]=function(){var A=this.__wrapped__,X=g?[1]:arguments,N=A instanceof vt,pe=X[0],Oe=N||ot(A),Se=function(yt){var xt=w.apply(k,qs([yt],X));return g&&Ae?xt[0]:xt};Oe&&d&&typeof pe=="function"&&pe.length!=1&&(N=Oe=!1);var Ae=this.__chain__,Ze=!!this.__actions__.length,et=_&&!Ae,ft=N&&!Ze;if(!_&&Oe){A=ft?A:new vt(this);var tt=l.apply(A,X);return tt.__actions__.push({func:Tc,args:[Se],thisArg:t}),new cr(tt,Ae)}return et&&ft?l.apply(this,X):(tt=this.thru(Se),et?g?tt.value()[0]:tt.value():tt)})}),nn(["pop","push","shift","sort","splice","unshift"],function(l){var u=ic[l],d=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",g=/^(?:pop|shift)$/.test(l);k.prototype[l]=function(){var w=arguments;if(g&&!this.__chain__){var _=this.value();return u.apply(ot(_)?_:[],w)}return this[d](function(A){return u.apply(ot(A)?A:[],w)})}}),Yr(vt.prototype,function(l,u){var d=k[u];if(d){var g=d.name+"";Rt.call(Ul,g)||(Ul[g]=[]),Ul[g].push({name:u,func:d})}}),Ul[kc(t,b).name]=[{name:"wrapper",func:t}],vt.prototype.clone=vE,vt.prototype.reverse=SE,vt.prototype.value=wE,k.prototype.at=HC,k.prototype.chain=jC,k.prototype.commit=KC,k.prototype.next=JC,k.prototype.plant=tT,k.prototype.reverse=nT,k.prototype.toJSON=k.prototype.valueOf=k.prototype.value=iT,k.prototype.first=k.prototype.head,au&&(k.prototype[au]=eT),k},Bl=K2();Ct?((Ct.exports=Bl)._=Bl,We._=Bl):Ie._=Bl}).call(ta)})(qd,qd.exports);var Vz=qd.exports;const Vr=hp(Vz),Ob="R",gb="W",Dz="F",mb="O";let na=n=>n==="R"?"read":n==="W"?"write":n=="O"?"own":"flow",Nz=(n,e,t)=>(e-n)*t+n,Bz=({center:n,spacing:e,index:t,total:i})=>{let r=i*e,s=n-r/2,o=n+r/2,a=t/i;return Nz(s,o,a)},xf=n=>{for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=t.length,r=0;rGe.none,update(t,i){for(let r of i.effects)if(r.is(n))return Qt.of(e(r.value,i.newDoc),!0);return i.docChanged?Qt.of([]):t},provide:t=>qe.decorations.from(t)})}const yb=lt.define(),qz=Yz(yb,(n,e)=>n.flatMap(t=>Uz(t,e)));function Uz({refinerTag:n,regionTag:e,refinerPoint:t,region:i},r){let s=Ge.mark({class:"aquascope-loan",tagName:n}).range(yi(t.start,r),yi(t.end,r)),o=i.refined_ranges.filter(a=>!Vr.isEqual(a.start,a.end)).map(a=>Ge.mark({class:"aquascope-live-region",tagName:e}).range(yi(a.start,r),yi(a.end,r)));return[s,...o]}function Zz(n){let e={},t={},i={},r={},s=[];for(const a in n.loan_regions){let h=xf(26),f=xf(26),p=n.loan_regions[a],O=n.loan_points[a];e[a]=h,t[a]=f;let v={refinerTag:h,regionTag:f,refinerPoint:O,region:p};s.push(v)}for(const a in n.move_regions){let h=xf(26),f=xf(26),p=n.move_regions[a],O=n.move_points[a];i[a]=h,r[a]=f;let v={refinerTag:h,regionTag:f,refinerPoint:O,region:p};s.push(v)}return[{loanPoints:e,loanRegions:t,movePoints:i,moveRegions:r},s]}let vb=lt.define(),Fz=Ge.line({class:"hidden-line"}),Gz=kn.define({create:()=>Ge.none,update(n,e){n=n.map(e.changes);for(let t of e.effects)t.is(vb)&&(n=n.update({add:[Fz.range(e.state.doc.line(t.value.line).from)]}));return n},provide:n=>qe.decorations.from(n)}),Ud=(n,e)=>{Array.from(document.getElementsByTagName(n)).forEach(e)};function Sb(n,e,t,i=[]){if(t!==void 0){const r=n[t],s=e[t];Ud(r,o=>{o.classList.add("show-hidden"),i.forEach(a=>o.classList.add(a))}),Ud(s,o=>{o.classList.add("show-hidden"),i.forEach(a=>o.classList.add(a))})}}function wb(n,e,t,i=[]){if(t!==void 0){const r=n[t],s=e[t];Ud(r,o=>{o.classList.remove("show-hidden"),i.forEach(a=>o.classList.remove(a))}),Ud(s,o=>{o.classList.remove("show-hidden"),i.forEach(a=>o.classList.remove(a))})}}let Gf=(n,e,t=[])=>{Sb(n.loanPoints,n.loanRegions,e,t)},Hf=(n,e,t=[])=>{wb(n.loanPoints,n.loanRegions,e,t)},jf=(n,e,t=[])=>{Sb(n.movePoints,n.moveRegions,e,t)},Kf=(n,e,t=[])=>{wb(n.movePoints,n.moveRegions,e,t)},M1=()=>{let n=lt.define(),e=kn.define({create:()=>Ge.none,update(t,i){t=t.map(i.changes);for(let r of i.effects)r.is(n)&&(t=Qt.of(Vr.sortBy(r.value,s=>s.from)));return t},provide:t=>qe.decorations.from(t)});return{setEffect:n,field:e}},yi=(n,e)=>e.line(n.line+1).from+n.column,Hz=({content:n,names:e,act:t,showit:i,hideit:r})=>{let s=na(n);s=s.charAt(0).toUpperCase()+s.slice(1);let o=`${s} permission is expected, `;return o+=t?"and the path has the permission.":"but the path does not have the permission.",K.createElement("div",{className:hs(...e,{missing:!t}),onMouseEnter:i,onMouseLeave:r,title:o},K.createElement("div",{className:"small"},"•"),K.createElement("div",{className:"big"},n))},jz=({facts:n,boundary:e})=>{var p;const t=e.actual;let r=[{content:Ob,names:["perm","read"],exp:e.expected.read,act:t.permissions.read,showit:()=>{Gf(n,t.loan_read_refined,["read"]),jf(n,t.path_moved,["read"])},hideit:()=>{Hf(n,t.loan_read_refined,["read"]),Kf(n,t.path_moved,["read"])}},{content:gb,names:["perm","write"],exp:e.expected.write,act:t.permissions.write,showit:()=>{Gf(n,t.loan_write_refined,["write"]),jf(n,t.path_moved,["write"])},hideit:()=>{Hf(n,t.loan_write_refined,["write"]),Kf(n,t.path_moved,["write"])}},{content:mb,names:["perm","own"],exp:e.expected.drop,act:t.permissions.drop,showit:()=>{Gf(n,t.loan_drop_refined,["own"]),jf(n,t.path_moved,["own"])},hideit:()=>{Hf(n,t.loan_drop_refined,["own"]),Kf(n,t.path_moved,["own"])}},{content:Dz,names:["perm","flow"],exp:e.expecting_flow!==void 0,act:!((p=e.expecting_flow)!=null&&p.is_violation),showit:()=>{},hideit:()=>{}}].filter(O=>O.exp),[s,o]=pn.useState(!1),[a,h]=pn.useState(),f=()=>{o(!0),a!==0&&clearTimeout(a),h(window.setTimeout(()=>o(!1),500))};return K.createElement("div",{onMouseEnter:f,onMouseLeave:f,className:hs({animating:s})},r.map(O=>K.createElement(Hz,{key:O.content,...O})))};class Kz extends Dr{constructor(t,i,r,s){super();Lt(this,"view");Lt(this,"facts");Lt(this,"boundary");Lt(this,"annotations");Lt(this,"line");Lt(this,"numDisplayed");this.view=t,this.facts=i,this.boundary=r,this.annotations=s;let o=a=>a?1:0;this.numDisplayed=[o(this.boundary.expected.read),o(this.boundary.expected.write),o(this.boundary.expected.drop),o(this.boundary.expecting_flow!==void 0)].reduce((a,h)=>a+h,0),this.line=t.state.doc.lineAt(yi(r.location,t.state.doc))}eq(t){return this.boundary.location===t.boundary.location}toDOM(t){var o;let i=yi(this.boundary.location,t.state.doc),r=t.state.sliceDoc(i-1,i),s=document.createElement("div");return s.classList.add("permission-stack"),s.classList.add(`stack-size-${this.numDisplayed}`),r===" "&&s.classList.add("before-whitespace"),(o=this.annotations)!=null&&o.focused_lines.includes(this.line.number)&&s.classList.add("expanded"),Sl.createRoot(s).render(K.createElement(jz,{facts:this.facts,boundary:this.boundary})),s}ignoreEvent(){return!1}}let W1=M1();function Jz(n,e,t,i){return t.map(r=>Ge.widget({widget:new Kz(n,e,r,i)}).range(yi(r.location,n.state.doc)))}var xb={exports:{}};/*! LeaderLine v1.1.5 (c) anseki https://anseki.github.io/leader-line/ */(function(n,e){var t=function(){var i,r,s,o,a,h,f,p,O,v,x,Q,R,M,b,E,$,W,B,J,ae,xe,Me,Pe="leader-line",Ke=1,at=2,mt=3,_t=4,Mt={top:Ke,right:at,bottom:mt,left:_t},Wt=1,zt=2,ke=3,Re=4,ze=5,je={straight:Wt,arc:zt,fluid:ke,magnet:Re,grid:ze},st="behind",Vi=Pe+"-defs",Pi='',ai={disc:{elmId:"leader-line-disc",noRotate:!0,bBox:{left:-5,top:-5,width:10,height:10,right:5,bottom:5},widthR:2.5,heightR:2.5,bCircle:5,sideLen:5,backLen:5,overhead:0,outlineBase:1,outlineMax:4},square:{elmId:"leader-line-square",noRotate:!0,bBox:{left:-5,top:-5,width:10,height:10,right:5,bottom:5},widthR:2.5,heightR:2.5,bCircle:5,sideLen:5,backLen:5,overhead:0,outlineBase:1,outlineMax:4},arrow1:{elmId:"leader-line-arrow1",bBox:{left:-8,top:-8,width:16,height:16,right:8,bottom:8},widthR:4,heightR:4,bCircle:8,sideLen:8,backLen:8,overhead:8,outlineBase:2,outlineMax:1.5},arrow2:{elmId:"leader-line-arrow2",bBox:{left:-7,top:-8,width:11,height:16,right:4,bottom:8},widthR:2.75,heightR:4,bCircle:8,sideLen:8,backLen:7,overhead:4,outlineBase:1,outlineMax:1.75},arrow3:{elmId:"leader-line-arrow3",bBox:{left:-4,top:-5,width:12,height:10,right:8,bottom:5},widthR:3,heightR:2.5,bCircle:8,sideLen:5,backLen:4,overhead:8,outlineBase:1,outlineMax:2.5},hand:{elmId:"leader-line-hand",bBox:{left:-3,top:-12,width:40,height:24,right:37,bottom:12},widthR:10,heightR:6,bCircle:37,sideLen:12,backLen:3,overhead:37},crosshair:{elmId:"leader-line-crosshair",noRotate:!0,bBox:{left:-96,top:-96,width:192,height:192,right:96,bottom:96},widthR:48,heightR:48,bCircle:96,sideLen:96,backLen:96,overhead:0}},Gn={behind:st,disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},Qr={disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},ds=[Ke,at,mt,_t],Di="auto",Yh={x:"left",y:"top",width:"width",height:"height"},$l=80,Wo=4,qh=5,Ni=120,Ds=8,Rp=3.75,Hn=10,ki=30,Cl=.5522847,zo=.25*Math.PI,_i=/^\s*(\-?[\d\.]+)\s*(\%)?\s*$/,Fe="http://www.w3.org/2000/svg",ps="-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style&&!window.navigator.msPointerEnabled,ui=!ps&&!!document.uniqueID,ar="MozAppearance"in document.documentElement.style,Tl=!(ps||ar||!window.chrome||!window.CSS),Vt=!ps&&!ui&&!ar&&!Tl&&!window.chrome&&"WebkitAppearance"in document.documentElement.style,Os=ui||ps?.2:.1,Mn={path:ke,lineColor:"coral",lineSize:4,plugSE:[st,"arrow1"],plugSizeSE:[1,1],lineOutlineEnabled:!1,lineOutlineColor:"indianred",lineOutlineSize:.25,plugOutlineEnabledSE:[!1,!1],plugOutlineSizeSE:[1,1]},Bi=(ae={}.toString,xe={}.hasOwnProperty.toString,Me=xe.call(Object),function(c){var m,y;return c&&ae.call(c)==="[object Object]"&&(!(m=Object.getPrototypeOf(c))||(y=m.hasOwnProperty("constructor")&&m.constructor)&&typeof y=="function"&&xe.call(y)===Me)}),_n=Number.isFinite||function(c){return typeof c=="number"&&window.isFinite(c)},Kt=(M={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},b=1e3/60/2,E=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(c){setTimeout(c,b)},$=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(c){clearTimeout(c)},W=Number.isFinite||function(c){return typeof c=="number"&&window.isFinite(c)},B=[],J=0,{add:function(c,m,y,S,P,T,D){var L,Z,I,fe,_e,j,q,re,F,se,ie,le,de,H=++J;function Y($e,ye){return{value:c(ye),timeRatio:$e,outputRatio:ye}}if(typeof P=="string"&&(P=M[P]),c=c||function(){},y=this._endIndex||this._string[this._currentIndex]<"0"||"9"=this._endIndex||this._string[this._currentIndex]<"0"||"9"=this._endIndex)return null;var j=null,q=this._string[this._currentIndex];if(this._currentIndex+=1,q==="0")j=0;else{if(q!=="1")return null;j=1}return this._skipOptionalSpacesOrDelimiter(),j}};function P(j){if(!j||j.length===0)return[];var q=new m(j),re=[];if(q.initialCommandIsMoveTo())for(;q.hasMoreData();){var F=q.parseSegment();if(F===null)break;re.push(F)}return re}function T(j){return j.map(function(q){return{type:q.type,values:Array.prototype.slice.call(q.values)}})}function D(j){var q=[],re=null,F=null,se=null,ie=null,le=null,de=null,H=null;return j.forEach(function(Y){var $e,ye,Ve,ce,G,C,z,oe,we,be,ve,U,Be,Ee,te;Y.type==="M"?(Ee=Y.values[0],te=Y.values[1],q.push({type:"M",values:[Ee,te]}),ie=de=Ee,le=H=te):Y.type==="C"?(Ve=Y.values[0],ce=Y.values[1],$e=Y.values[2],ye=Y.values[3],Ee=Y.values[4],te=Y.values[5],q.push({type:"C",values:[Ve,ce,$e,ye,Ee,te]}),F=$e,se=ye,ie=Ee,le=te):Y.type==="L"?(Ee=Y.values[0],te=Y.values[1],q.push({type:"L",values:[Ee,te]}),ie=Ee,le=te):Y.type==="H"?(Ee=Y.values[0],q.push({type:"L",values:[Ee,le]}),ie=Ee):Y.type==="V"?(te=Y.values[0],q.push({type:"L",values:[ie,te]}),le=te):Y.type==="S"?($e=Y.values[0],ye=Y.values[1],Ee=Y.values[2],te=Y.values[3],C=re==="C"||re==="S"?(G=ie+(ie-F),le+(le-se)):(G=ie,le),q.push({type:"C",values:[G,C,$e,ye,Ee,te]}),F=$e,se=ye,ie=Ee,le=te):Y.type==="T"?(Ee=Y.values[0],te=Y.values[1],ce=re==="Q"||re==="T"?(Ve=ie+(ie-F),le+(le-se)):(Ve=ie,le),G=ie+2*(Ve-ie)/3,C=le+2*(ce-le)/3,z=Ee+2*(Ve-Ee)/3,oe=te+2*(ce-te)/3,q.push({type:"C",values:[G,C,z,oe,Ee,te]}),F=Ve,se=ce,ie=Ee,le=te):Y.type==="Q"?(Ve=Y.values[0],ce=Y.values[1],Ee=Y.values[2],te=Y.values[3],G=ie+2*(Ve-ie)/3,C=le+2*(ce-le)/3,z=Ee+2*(Ve-Ee)/3,oe=te+2*(ce-te)/3,q.push({type:"C",values:[G,C,z,oe,Ee,te]}),F=Ve,se=ce,ie=Ee,le=te):Y.type==="A"?(we=Y.values[0],be=Y.values[1],ve=Y.values[2],U=Y.values[3],Be=Y.values[4],Ee=Y.values[5],te=Y.values[6],we===0||be===0?(q.push({type:"C",values:[ie,le,Ee,te,Ee,te]}),ie=Ee,le=te):ie===Ee&&le===te||_e(ie,le,Ee,te,we,be,ve,U,Be).forEach(function(ge){q.push({type:"C",values:ge}),ie=Ee,le=te})):Y.type==="Z"&&(q.push(Y),ie=de,le=H),re=Y.type}),q}var L=c.SVGPathElement.prototype.setAttribute,Z=c.SVGPathElement.prototype.removeAttribute,I=c.Symbol?c.Symbol():"__cachedPathData",fe=c.Symbol?c.Symbol():"__cachedNormalizedPathData",_e=function(j,q,re,F,se,ie,le,de,H,Y){function $e(At,it,qt){return{x:At*Math.cos(qt)-it*Math.sin(qt),y:At*Math.sin(qt)+it*Math.cos(qt)}}var ye,Ve,ce,G,C,z,oe,we,be,ve,U,Be,Ee,te,ge,ut=(ye=le,Math.PI*ye/180),dt=[];Y?(te=Y[0],ge=Y[1],Be=Y[2],Ee=Y[3]):(j=(Ve=$e(j,q,-ut)).x,q=Ve.y,1<(z=(G=(j-(re=(ce=$e(re,F,-ut)).x))/2)*G/(se*se)+(C=(q-(F=ce.y))/2)*C/(ie*ie))&&(se*=z=Math.sqrt(z),ie*=z),be=(oe=se*se)*(we=ie*ie)-oe*C*C-we*G*G,ve=oe*C*C+we*G*G,Be=(U=(de===H?-1:1)*Math.sqrt(Math.abs(be/ve)))*se*C/ie+(j+re)/2,Ee=U*-ie*G/se+(q+F)/2,te=Math.asin(parseFloat(((q-Ee)/ie).toFixed(9))),ge=Math.asin(parseFloat(((F-Ee)/ie).toFixed(9))),j120*Math.PI/180&&(ht=ge,Qi=re,nt=F,ge=H&&te=y.duration&&y.count&&y.loopsLeft<=1)return T=y.frames[y.lastFrame=y.reverse?0:y.frames.length-1],y.frameCallback(T.value,!0,T.timeRatio,T.outputRatio),void(y.framesStart=null);if(S>y.duration){if(P=Math.floor(S/y.duration),y.count){if(P>=y.loopsLeft)return T=y.frames[y.lastFrame=y.reverse?0:y.frames.length-1],y.frameCallback(T.value,!0,T.timeRatio,T.outputRatio),void(y.framesStart=null);y.loopsLeft-=P}y.framesStart+=y.duration*P,S=c-y.framesStart}y.reverse&&(S=y.duration-S),T=y.frames[y.lastFrame=Math.round(S/b)],y.frameCallback(T.value,!1,T.timeRatio,T.outputRatio)!==!1?m=!0:y.framesStart=null}}),m&&(R=E.call(window,Zh))}function Fh(c,m){c.framesStart=Date.now(),m!=null&&(c.framesStart-=c.duration*(c.reverse?1-m:m)),c.loopsLeft=c.count,c.lastFrame=null,Zh()}function gs(c,m){var y,S;return typeof c!=typeof m||(y=Bi(c)?"obj":Array.isArray(c)?"array":"")!=(Bi(m)?"obj":Array.isArray(m)?"array":"")||(y==="obj"?gs(S=Object.keys(c).sort(),Object.keys(m).sort())||S.some(function(P){return gs(c[P],m[P])}):y==="array"?c.length!==m.length||c.some(function(P,T){return gs(P,m[T])}):c!==m)}function bn(c){return c&&(Bi(c)?Object.keys(c).reduce(function(m,y){return m[y]=bn(c[y]),m},{}):Array.isArray(c)?c.map(bn):c)}function Io(c){var m,y,S,P=1,T=c=(c+"").trim();function D(L){var Z=1,I=_i.exec(L);return I&&(Z=parseFloat(I[1]),I[2]?Z=0<=Z&&Z<=100?Z/100:1:(Z<0||1=Math.abs(oe)?0<=z?at:_t:0<=oe?mt:Ke))})),Y.position_path!==$e.position_path||Y.position_lineStrokeWidth!==$e.position_lineStrokeWidth||[0,1].some(function(C){return Y.position_plugOverheadSE[C]!==$e.position_plugOverheadSE[C]||(be=ye[C],ve=$e.position_socketXYSE[C],be.x!==ve.x||be.y!==ve.y||be.socketId!==ve.socketId)||(z=m[C],oe=$e.position_socketGravitySE[C],(we=z==null?"auto":Array.isArray(z)?"array":"number")!=(oe==null?"auto":Array.isArray(oe)?"array":"number")||(we=="array"?z[0]!==oe[0]||z[1]!==oe[1]:z!==oe));var z,oe,we,be,ve})){switch(c.pathList.baseVal=S=[],c.pathList.animVal=null,Y.position_path){case Wt:S.push([G(ye[0]),G(ye[1])]);break;case zt:j=typeof m[0]=="number"&&0Wo?(Y.position_lineStrokeWidth-Wo)*qh:0),C.socketId===Ke?((ve=(C.y-oe.y)/2)=Le.x:Le.dirId===we?nt.y>=Le.y:nt.x<=Le.x}function ut(nt,Le){return Le.dirId===z||Le.dirId===we?nt.x===Le.x:nt.y===Le.y}function dt(nt){return nt[0]?{contain:0,notContain:1}:{contain:1,notContain:0}}function ht(nt,Le,wt){return Math.abs(Le[wt]-nt[wt])}function Qi(nt,Le,wt){return wt==="x"?nt.x=ki?Qi(U[Le.notContain],U[Le.contain],We[Le.contain]):U[Le.contain].dirId)):(Xe=[{x:U[0].x,y:U[0].y},{x:U[1].x,y:U[1].y}],ve.forEach(function(Ct,pt){var En=pt===0?1:0,tn=ht(Xe[pt],Xe[En],We[pt]);tnHn&&(Z[we]-CHn&&(Z[we]-Cit.outlineMax&&(He=it.outlineMax),He*=2*it.outlineBase,H=Ce(ie,de.plugOutline_strokeWidthSE,ee,He)||H,H=Ce(ie,de.plugOutline_inStrokeWidthSE,ee,de.plugOutline_colorTraSE[ee]?He-Os/(de.line_strokeWidth/Mn.lineSize)/le.plugSizeSE[ee]*2:He/2)||H)}),H)),(m.faces||bt.line||bt.plug||bt.lineOutline||bt.plugOutline)&&(bt.faces=(ye=(Y=c).curStats,Ve=Y.aplStats,ce=Y.events,G=!1,!ye.line_altColor&&Ce(Y,Ve,"line_color",$e=ye.line_color,ce.apl_line_color)&&(Y.lineFace.style.stroke=$e,G=!0),Ce(Y,Ve,"line_strokeWidth",$e=ye.line_strokeWidth,ce.apl_line_strokeWidth)&&(Y.lineShape.style.strokeWidth=$e+"px",G=!0,(ar||ui)&&(Yt(Y,Y.lineShape),ui&&(Yt(Y,Y.lineFace),Yt(Y,Y.lineMaskCaps)))),Ce(Y,Ve,"lineOutline_enabled",$e=ye.lineOutline_enabled,ce.apl_lineOutline_enabled)&&(Y.lineOutlineFace.style.display=$e?"inline":"none",G=!0),ye.lineOutline_enabled&&(Ce(Y,Ve,"lineOutline_color",$e=ye.lineOutline_color,ce.apl_lineOutline_color)&&(Y.lineOutlineFace.style.stroke=$e,G=!0),Ce(Y,Ve,"lineOutline_strokeWidth",$e=ye.lineOutline_strokeWidth,ce.apl_lineOutline_strokeWidth)&&(Y.lineOutlineMaskShape.style.strokeWidth=$e+"px",G=!0,ui&&(Yt(Y,Y.lineOutlineMaskCaps),Yt(Y,Y.lineOutlineFace))),Ce(Y,Ve,"lineOutline_inStrokeWidth",$e=ye.lineOutline_inStrokeWidth,ce.apl_lineOutline_inStrokeWidth)&&(Y.lineMaskShape.style.strokeWidth=$e+"px",G=!0,ui&&(Yt(Y,Y.lineOutlineMaskCaps),Yt(Y,Y.lineOutlineFace)))),Ce(Y,Ve,"plug_enabled",$e=ye.plug_enabled,ce.apl_plug_enabled)&&(Y.plugsFace.style.display=$e?"inline":"none",G=!0),ye.plug_enabled&&[0,1].forEach(function(ee){var He=ye.plug_plugSE[ee],At=He!==st?ai[Qr[He]]:null,it=Kh(ee,At);Ce(Y,Ve.plug_enabledSE,ee,$e=ye.plug_enabledSE[ee],ce.apl_plug_enabledSE)&&(Y.plugsFace.style[it.prop]=$e?"url(#"+Y.plugMarkerIdSE[ee]+")":"none",G=!0),ye.plug_enabledSE[ee]&&(Ce(Y,Ve.plug_plugSE,ee,He,ce.apl_plug_plugSE)&&(Y.plugFaceSE[ee].href.baseVal="#"+At.elmId,jh(Y,Y.plugMarkerSE[ee],it.orient,At.bBox,Y.svg,Y.plugMarkerShapeSE[ee],Y.plugsFace),G=!0,ar&&Yt(Y,Y.plugsFace)),Ce(Y,Ve.plug_colorSE,ee,$e=ye.plug_colorSE[ee],ce.apl_plug_colorSE)&&(Y.plugFaceSE[ee].style.fill=$e,G=!0,(Tl||Vt||ui)&&!ye.line_colorTra&&Yt(Y,ui?Y.lineMaskCaps:Y.capsMaskLine)),["markerWidth","markerHeight"].forEach(function(qt){var nn="plug_"+qt+"SE";Ce(Y,Ve[nn],ee,$e=ye[nn][ee],ce["apl_"+nn])&&(Y.plugMarkerSE[ee][qt].baseVal.value=$e,G=!0)}),Ce(Y,Ve.plugOutline_enabledSE,ee,$e=ye.plugOutline_enabledSE[ee],ce.apl_plugOutline_enabledSE)&&($e?(Y.plugFaceSE[ee].style.mask="url(#"+Y.plugMaskIdSE[ee]+")",Y.plugOutlineFaceSE[ee].style.display="inline"):(Y.plugFaceSE[ee].style.mask="none",Y.plugOutlineFaceSE[ee].style.display="none"),G=!0),ye.plugOutline_enabledSE[ee]&&(Ce(Y,Ve.plugOutline_plugSE,ee,He,ce.apl_plugOutline_plugSE)&&(Y.plugOutlineFaceSE[ee].href.baseVal=Y.plugMaskShapeSE[ee].href.baseVal=Y.plugOutlineMaskShapeSE[ee].href.baseVal="#"+At.elmId,[Y.plugMaskSE[ee],Y.plugOutlineMaskSE[ee]].forEach(function(qt){qt.x.baseVal.value=At.bBox.left,qt.y.baseVal.value=At.bBox.top,qt.width.baseVal.value=At.bBox.width,qt.height.baseVal.value=At.bBox.height}),G=!0),Ce(Y,Ve.plugOutline_colorSE,ee,$e=ye.plugOutline_colorSE[ee],ce.apl_plugOutline_colorSE)&&(Y.plugOutlineFaceSE[ee].style.fill=$e,G=!0,ui&&(Yt(Y,Y.lineMaskCaps),Yt(Y,Y.lineOutlineMaskCaps))),Ce(Y,Ve.plugOutline_strokeWidthSE,ee,$e=ye.plugOutline_strokeWidthSE[ee],ce.apl_plugOutline_strokeWidthSE)&&(Y.plugOutlineMaskShapeSE[ee].style.strokeWidth=$e+"px",G=!0),Ce(Y,Ve.plugOutline_inStrokeWidthSE,ee,$e=ye.plugOutline_inStrokeWidthSE[ee],ce.apl_plugOutline_inStrokeWidthSE)&&(Y.plugMaskShapeSE[ee].style.strokeWidth=$e+"px",G=!0)))}),G)),(m.position||bt.line||bt.plug)&&(bt.position=Mp(c)),(m.path||bt.position)&&(bt.path=(oe=(C=c).curStats,we=C.aplStats,be=C.pathList.animVal||C.pathList.baseVal,ve=oe.path_edge,U=!1,be&&(ve.x1=ve.x2=be[0][0].x,ve.y1=ve.y2=be[0][0].y,oe.path_pathData=z=ru(be,function(ee){ee.xve.x2&&(ve.x2=ee.x),ee.y>ve.y2&&(ve.y2=ee.y)}),Wl(z,we.path_pathData)&&(C.linePath.setPathData(z),we.path_pathData=z,U=!0,ui?(Yt(C,C.plugsFace),Yt(C,C.lineMaskCaps)):ar&&Yt(C,C.linePath),C.events.apl_path&&C.events.apl_path.forEach(function(ee){ee(C,z)}))),U)),bt.viewBox=(Ee=(Be=c).curStats,te=Be.aplStats,ge=Ee.path_edge,ut=Ee.viewBox_bBox,dt=te.viewBox_bBox,ht=Be.svg.viewBox.baseVal,Qi=Be.svg.style,nt=!1,Le=Math.max(Ee.line_strokeWidth/2,Ee.viewBox_plugBCircleSE[0]||0,Ee.viewBox_plugBCircleSE[1]||0),wt={x1:ge.x1-Le,y1:ge.y1-Le,x2:ge.x2+Le,y2:ge.y2+Le},Be.events.new_edge4viewBox&&Be.events.new_edge4viewBox.forEach(function(ee){ee(Be,wt)}),ut.x=Ee.lineMask_x=Ee.lineOutlineMask_x=Ee.maskBGRect_x=wt.x1,ut.y=Ee.lineMask_y=Ee.lineOutlineMask_y=Ee.maskBGRect_y=wt.y1,ut.width=wt.x2-wt.x1,ut.height=wt.y2-wt.y1,["x","y","width","height"].forEach(function(ee){var He;(He=ut[ee])!==dt[ee]&&(ht[ee]=dt[ee]=He,Qi[Yh[ee]]=He+(ee==="x"||ee==="y"?Be.bodyOffset[ee]:0)+"px",nt=!0)}),nt),bt.mask=(We=(Xe=c).curStats,Ct=Xe.aplStats,pt=!1,We.plug_enabled?[0,1].forEach(function(ee){We.capsMaskMarker_enabledSE[ee]=We.plug_enabledSE[ee]&&We.plug_colorTraSE[ee]||We.plugOutline_enabledSE[ee]&&We.plugOutline_colorTraSE[ee]}):We.capsMaskMarker_enabledSE[0]=We.capsMaskMarker_enabledSE[1]=!1,We.capsMaskMarker_enabled=We.capsMaskMarker_enabledSE[0]||We.capsMaskMarker_enabledSE[1],We.lineMask_outlineMode=We.lineOutline_enabled,We.caps_enabled=We.capsMaskMarker_enabled||We.capsMaskAnchor_enabledSE[0]||We.capsMaskAnchor_enabledSE[1],We.lineMask_enabled=We.caps_enabled||We.lineMask_outlineMode,(We.lineMask_enabled&&!We.lineMask_outlineMode||We.lineOutline_enabled)&&["x","y"].forEach(function(ee){var He="maskBGRect_"+ee;Ce(Xe,Ct,He,Ie=We[He])&&(Xe.maskBGRect[ee].baseVal.value=Ie,pt=!0)}),Ce(Xe,Ct,"lineMask_enabled",Ie=We.lineMask_enabled)&&(Xe.lineFace.style.mask=Ie?"url(#"+Xe.lineMaskId+")":"none",pt=!0,Vt&&Yt(Xe,Xe.lineMask)),We.lineMask_enabled&&(Ce(Xe,Ct,"lineMask_outlineMode",Ie=We.lineMask_outlineMode)&&(Ie?(Xe.lineMaskBG.style.display="none",Xe.lineMaskShape.style.display="inline"):(Xe.lineMaskBG.style.display="inline",Xe.lineMaskShape.style.display="none"),pt=!0),["x","y"].forEach(function(ee){var He="lineMask_"+ee;Ce(Xe,Ct,He,Ie=We[He])&&(Xe.lineMask[ee].baseVal.value=Ie,pt=!0)}),Ce(Xe,Ct,"caps_enabled",Ie=We.caps_enabled)&&(Xe.lineMaskCaps.style.display=Xe.lineOutlineMaskCaps.style.display=Ie?"inline":"none",pt=!0,Vt&&Yt(Xe,Xe.capsMaskLine)),We.caps_enabled&&([0,1].forEach(function(ee){var He;Ce(Xe,Ct.capsMaskAnchor_enabledSE,ee,Ie=We.capsMaskAnchor_enabledSE[ee])&&(Xe.capsMaskAnchorSE[ee].style.display=Ie?"inline":"none",pt=!0,Vt&&Yt(Xe,Xe.lineMask)),We.capsMaskAnchor_enabledSE[ee]&&(Wl(He=We.capsMaskAnchor_pathDataSE[ee],Ct.capsMaskAnchor_pathDataSE[ee])&&(Xe.capsMaskAnchorSE[ee].setPathData(He),Ct.capsMaskAnchor_pathDataSE[ee]=He,pt=!0),Ce(Xe,Ct.capsMaskAnchor_strokeWidthSE,ee,Ie=We.capsMaskAnchor_strokeWidthSE[ee])&&(Xe.capsMaskAnchorSE[ee].style.strokeWidth=Ie+"px",pt=!0))}),Ce(Xe,Ct,"capsMaskMarker_enabled",Ie=We.capsMaskMarker_enabled)&&(Xe.capsMaskLine.style.display=Ie?"inline":"none",pt=!0),We.capsMaskMarker_enabled&&[0,1].forEach(function(ee){var He=We.capsMaskMarker_plugSE[ee],At=He!==st?ai[Qr[He]]:null,it=Kh(ee,At);Ce(Xe,Ct.capsMaskMarker_enabledSE,ee,Ie=We.capsMaskMarker_enabledSE[ee])&&(Xe.capsMaskLine.style[it.prop]=Ie?"url(#"+Xe.lineMaskMarkerIdSE[ee]+")":"none",pt=!0),We.capsMaskMarker_enabledSE[ee]&&(Ce(Xe,Ct.capsMaskMarker_plugSE,ee,He)&&(Xe.capsMaskMarkerShapeSE[ee].href.baseVal="#"+At.elmId,jh(Xe,Xe.capsMaskMarkerSE[ee],it.orient,At.bBox,Xe.svg,Xe.capsMaskMarkerShapeSE[ee],Xe.capsMaskLine),pt=!0,ar&&(Yt(Xe,Xe.capsMaskLine),Yt(Xe,Xe.lineFace))),["markerWidth","markerHeight"].forEach(function(qt){var nn="capsMaskMarker_"+qt+"SE";Ce(Xe,Ct[nn],ee,Ie=We[nn][ee])&&(Xe.capsMaskMarkerSE[ee][qt].baseVal.value=Ie,pt=!0)}))}))),We.lineOutline_enabled&&["x","y"].forEach(function(ee){var He="lineOutlineMask_"+ee;Ce(Xe,Ct,He,Ie=We[He])&&(Xe.lineOutlineMask[ee].baseVal.value=Ie,pt=!0)}),pt),m.effect&&(Yi=(En=c).curStats,ur=En.aplStats,Object.keys(i).forEach(function(ee){var He=i[ee],At=ee+"_enabled",it=ee+"_options",qt=Yi[it];Ce(En,ur,At,tn=Yi[At])?(tn&&(ur[it]=bn(qt)),He[tn?"init":"remove"](En)):tn&&gs(qt,ur[it])&&(He.remove(En),ur[At]=!0,ur[it]=bn(qt),He.init(En))})),(Tl||Vt)&&bt.line&&!bt.path&&Yt(c,c.lineShape),Tl&&bt.plug&&!bt.line&&Yt(c,c.plugsFace),Hh(c)}function Uo(c,m){return{duration:_n(c.duration)&&0m.x2&&(m.x2=S.x2),S.y2>m.y2&&(m.y2=S.y2),["x","y"].forEach(function(D){var L,Z="dropShadow_"+D;P[Z]=L=m[D+"1"],Ce(c,T,Z,L)&&(c.efc_dropShadow_elmFilter[D].baseVal.value=L)}))}}},Object.keys(i).forEach(function(c){var m=i[c],y=m.stats;y[c+"_enabled"]={iniValue:!1},y[c+"_options"]={hasProps:!0},m.anim&&(y[c+"_animOptions"]={},y[c+"_animId"]={})}),r={none:{defaultAnimOptions:{},init:function(c,m){var y=c.curStats;y.show_animId&&(Kt.remove(y.show_animId),y.show_animId=null),r.none.start(c,m)},start:function(c,m){r.none.stop(c,!0)},stop:function(c,m,y){var S=c.curStats;return y=y??c.aplStats.show_on,S.show_inAnim=!1,m&&Ys(c,y),y?1:0}},fade:{defaultAnimOptions:{duration:300,timing:"linear"},init:function(c,m){var y=c.curStats,S=c.aplStats;y.show_animId&&Kt.remove(y.show_animId),y.show_animId=Kt.add(function(P){return P},function(P,T){T?r.fade.stop(c,!0):(c.svg.style.opacity=P+"",ui&&(Yt(c,c.svg),Hh(c)))},S.show_animOptions.duration,1,S.show_animOptions.timing,null,!1),r.fade.start(c,m)},start:function(c,m){var y,S=c.curStats;S.show_inAnim&&(y=Kt.stop(S.show_animId)),Ys(c,1),S.show_inAnim=!0,Kt.start(S.show_animId,!c.aplStats.show_on,m??y)},stop:function(c,m,y){var S,P=c.curStats;return y=y??c.aplStats.show_on,S=P.show_inAnim?Kt.stop(P.show_animId):y?1:0,P.show_inAnim=!1,m&&(c.svg.style.opacity=y?"":"0",Ys(c,y)),S}},draw:{defaultAnimOptions:{duration:500,timing:[.58,0,.42,1]},init:function(c,m){var y=c.curStats,S=c.aplStats,P=c.pathList.baseVal,T=Gh(P),D=T.segsLen,L=T.lenAll;y.show_animId&&Kt.remove(y.show_animId),y.show_animId=Kt.add(function(Z){var I,fe,_e,j,q=-1;if(Z===0)fe=[[P[0][0],P[0][0]]];else if(Z===1)fe=P;else{for(I=L*Z,fe=[];I>=D[++q];)fe.push(P[q]),I-=D[q];I&&((_e=P[q]).length===2?fe.push([_e[0],Bo(_e[0],_e[1],I/D[q])]):(j=Ns(_e[0],_e[1],_e[2],_e[3],iu(_e[0],_e[1],_e[2],_e[3],I)),fe.push([_e[0],j.fromP1,j.fromP2,j])))}return fe},function(Z,I){I?r.draw.stop(c,!0):(c.pathList.animVal=Z,jn(c,{path:!0}))},S.show_animOptions.duration,1,S.show_animOptions.timing,null,!1),r.draw.start(c,m)},start:function(c,m){var y,S=c.curStats;S.show_inAnim&&(y=Kt.stop(S.show_animId)),Ys(c,1),S.show_inAnim=!0,Jt(c,"apl_position",r.draw.update),Kt.start(S.show_animId,!c.aplStats.show_on,m??y)},stop:function(c,m,y){var S,P=c.curStats;return y=y??c.aplStats.show_on,S=P.show_inAnim?Kt.stop(P.show_animId):y?1:0,P.show_inAnim=!1,m&&(c.pathList.animVal=y?null:[[c.pathList.baseVal[0][0],c.pathList.baseVal[0][0]]],jn(c,{path:!0}),Ys(c,y)),S},update:function(c){cn(c,"apl_position",r.draw.update),c.curStats.show_inAnim?r.draw.init(c,r.draw.stop(c)):c.aplStats.show_animOptions={}}}},[["start","anchorSE",0],["end","anchorSE",1],["color","lineColor"],["size","lineSize"],["startSocketGravity","socketGravitySE",0],["endSocketGravity","socketGravitySE",1],["startPlugColor","plugColorSE",0],["endPlugColor","plugColorSE",1],["startPlugSize","plugSizeSE",0],["endPlugSize","plugSizeSE",1],["outline","lineOutlineEnabled"],["outlineColor","lineOutlineColor"],["outlineSize","lineOutlineSize"],["startPlugOutline","plugOutlineEnabledSE",0],["endPlugOutline","plugOutlineEnabledSE",1],["startPlugOutlineColor","plugOutlineColorSE",0],["endPlugOutlineColor","plugOutlineColorSE",1],["startPlugOutlineSize","plugOutlineSizeSE",0],["endPlugOutlineSize","plugOutlineSizeSE",1]].forEach(function(c){var m=c[0],y=c[1],S=c[2];Object.defineProperty(ci.prototype,m,{get:function(){var P=S!=null?Qn[this._id].options[y][S]:y?Qn[this._id].options[y]:Qn[this._id].options[m];return P==null?Di:bn(P)},set:Fo(m),enumerable:!0})}),[["path",je],["startSocket",Mt,"socketSE",0],["endSocket",Mt,"socketSE",1],["startPlug",Gn,"plugSE",0],["endPlug",Gn,"plugSE",1]].forEach(function(c){var m=c[0],y=c[1],S=c[2],P=c[3];Object.defineProperty(ci.prototype,m,{get:function(){var T,D=P!=null?Qn[this._id].options[S][P]:S?Qn[this._id].options[S]:Qn[this._id].options[m];return D?Object.keys(y).some(function(L){return y[L]===D&&(T=L,!0)})?T:new Error("It's broken"):Di},set:Fo(m),enumerable:!0})}),Object.keys(i).forEach(function(c){var m=i[c];Object.defineProperty(ci.prototype,c,{get:function(){var y,S,P=Qn[this._id].options[c];return Bi(P)?(y=P,S=m.optionsConf.reduce(function(T,D){var L,Z=D[0],I=D[1],fe=D[2],_e=D[3],j=D[4],q=j!=null?y[_e][j]:_e?y[_e]:y[I];return T[I]=Z==="id"?q?Object.keys(fe).some(function(re){return fe[re]===q&&(L=re,!0)})?L:new Error("It's broken"):Di:q==null?Di:bn(q),T},{}),m.anim&&(S.animation=bn(y.animation)),S):P},set:Fo(c),enumerable:!0})}),["startLabel","endLabel","middleLabel"].forEach(function(c,m){Object.defineProperty(ci.prototype,c,{get:function(){var y=Qn[this._id],S=y.options;return S.labelSEM[m]&&!y.optionIsAttach.labelSEM[m]?On[S.labelSEM[m]._id].text:S.labelSEM[m]||""},set:Fo(c),enumerable:!0})}),ci.prototype.setOptions=function(c){return Ll(Qn[this._id],c),this},ci.prototype.position=function(){return jn(Qn[this._id],{position:!0}),this},ci.prototype.remove=function(){var c=Qn[this._id],m=c.curStats;Object.keys(i).forEach(function(y){var S=y+"_animId";m[S]&&Kt.remove(m[S])}),m.show_animId&&Kt.remove(m.show_animId),c.attachments.slice().forEach(function(y){zl(c,y)}),c.baseWindow&&c.svg&&c.baseWindow.document.body.removeChild(c.svg),delete Qn[this._id]},ci.prototype.show=function(c,m){return Zo(Qn[this._id],!0,c,m),this},ci.prototype.hide=function(c,m){return Zo(Qn[this._id],!1,c,m),this},h=function(c){c&&On[c._id]&&(c.boundTargets.slice().forEach(function(m){zl(m.props,c,!0)}),c.conf.remove&&c.conf.remove(c),delete On[c._id])},su.prototype.remove=function(){var c=this,m=On[c._id];m&&(m.boundTargets.slice().forEach(function(y){m.conf.removeOption(m,y)}),Bs(function(){var y=On[c._id];y&&(console.error("LeaderLineAttachment was not removed by removeOption"),h(y))}))},o=su,window.LeaderLineAttachment=o,a=function(c,m){return c instanceof o&&(!(c.isRemoved||m&&On[c._id].conf.type!==m)||null)},s={pointAnchor:{type:"anchor",argOptions:[{optionName:"element",type:Vo}],init:function(c,m){return c.element=s.pointAnchor.checkElement(m.element),c.x=s.pointAnchor.parsePercent(m.x,!0)||[.5,!0],c.y=s.pointAnchor.parsePercent(m.y,!0)||[.5,!0],!0},removeOption:function(c,m){var y=m.props,S={},P=c.element,T=y.options.anchorSE[m.optionName==="start"?1:0];P===T&&(P=T===document.body?new o(s.pointAnchor,[P]):document.body),S[m.optionName]=P,Ll(y,S)},getBBoxNest:function(c,m){var y=No(c.element,m.baseWindow),S=y.width,P=y.height;return y.width=y.height=0,y.left=y.right=y.left+c.x[0]*(c.x[1]?S:1),y.top=y.bottom=y.top+c.y[0]*(c.y[1]?P:1),y},parsePercent:function(c,m){var y,S,P=!1;return _n(c)?S=c:typeof c=="string"&&(y=_i.exec(c))&&y[2]&&(P=(S=parseFloat(y[1])/100)!==0),S!=null&&(m||0<=S)?[S,P]:null},checkElement:function(c){if(c==null)c=document.body;else if(!Vo(c))throw new Error("`element` must be Element");return c}},areaAnchor:{type:"anchor",argOptions:[{optionName:"element",type:Vo},{optionName:"shape",type:"string"}],stats:{color:{},strokeWidth:{},elementWidth:{},elementHeight:{},elementLeft:{},elementTop:{},pathListRel:{},bBoxRel:{},pathData:{},viewBoxBBox:{hasProps:!0},dashLen:{},dashGap:{}},init:function(c,m){var y,S,P,T=[];return c.element=s.pointAnchor.checkElement(m.element),typeof m.color=="string"&&(c.color=m.color.trim()),typeof m.fillColor=="string"&&(c.fill=m.fillColor.trim()),_n(m.size)&&0<=m.size&&(c.size=m.size),m.dash&&(c.dash=!0,_n(m.dash.len)&&0S.right&&(S.right=ut),dtS.bottom&&(S.bottom=dt)):S={left:ut,right:ut,top:dt,bottom:dt},P?U.pathListRel.push([P,{x:ut,y:dt}]):U.pathListRel=[],P={x:ut,y:dt}}),U.pathListRel.push([]),T=U.strokeWidth/2,D=[{x:S.left-T,y:S.top-T},{x:S.right+T,y:S.bottom+T}],U.bBoxRel={left:D[0].x,top:D[0].y,right:D[1].x,bottom:D[1].y,width:D[1].x-D[0].x,height:D[1].y-D[0].y}}te.pathListRel=te.bBoxRel=!0}return(te.pathListRel||te.elementLeft||te.elementTop)&&(U.pathData=ru(U.pathListRel,function(ge){ge.x+=m.left,ge.y+=m.top})),Ce(c,Be,"strokeWidth",y=U.strokeWidth)&&(c.path.style.strokeWidth=y+"px"),Wl(y=U.pathData,Be.pathData)&&(c.path.setPathData(y),Be.pathData=y,te.pathData=!0),c.dash&&(!te.pathData&&(!te.strokeWidth||c.dashLen&&c.dashGap)||(U.dashLen=c.dashLen||2*U.strokeWidth,U.dashGap=c.dashGap||U.strokeWidth),te.dash=Ce(c,Be,"dashLen",U.dashLen)||te.dash,te.dash=Ce(c,Be,"dashGap",U.dashGap)||te.dash,te.dash&&(c.path.style.strokeDasharray=Be.dashLen+","+Be.dashGap)),oe=U.viewBoxBBox,we=Be.viewBoxBBox,be=c.svg.viewBox.baseVal,ve=c.svg.style,oe.x=U.bBoxRel.left+m.left,oe.y=U.bBoxRel.top+m.top,oe.width=U.bBoxRel.width,oe.height=U.bBoxRel.height,["x","y","width","height"].forEach(function(ge){(y=oe[ge])!==we[ge]&&(be[ge]=we[ge]=y,ve[Yh[ge]]=y+(ge==="x"||ge==="y"?c.bodyOffset[ge]:0)+"px")}),te.strokeWidth||te.pathListRel||te.bBoxRel}},mouseHoverAnchor:{type:"anchor",argOptions:[{optionName:"element",type:Vo},{optionName:"showEffectName",type:"string"}],style:{backgroundImage:"url('data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cG9seWdvbiBwb2ludHM9IjI0LDAgMCw4IDgsMTEgMCwxOSA1LDI0IDEzLDE2IDE2LDI0IiBmaWxsPSJjb3JhbCIvPjwvc3ZnPg==')",backgroundSize:"",backgroundRepeat:"no-repeat",backgroundColor:"#f8f881",cursor:"default"},hoverStyle:{backgroundImage:"none",backgroundColor:"#fadf8f"},padding:{top:1,right:15,bottom:1,left:2},minHeight:15,backgroundPosition:{right:2,top:2},backgroundSize:{width:12,height:12},dirKeys:[["top","Top"],["right","Right"],["bottom","Bottom"],["left","Left"]],init:function(c,m){var y,S,P,T,D,L,Z,I,fe,_e,j,q=s.mouseHoverAnchor,re={};if(c.element=s.pointAnchor.checkElement(m.element),I=c.element,!((_e=I.ownerDocument)&&(fe=_e.defaultView)&&fe.HTMLElement&&I instanceof fe.HTMLElement))throw new Error("`element` must be HTML element");return q.style.backgroundSize=q.backgroundSize.width+"px "+q.backgroundSize.height+"px",["style","hoverStyle"].forEach(function(F){var se=q[F];c[F]=Object.keys(se).reduce(function(ie,le){return ie[le]=se[le],ie},{})}),(y=c.element.ownerDocument.defaultView.getComputedStyle(c.element,"")).display==="inline"?c.style.display="inline-block":y.display==="none"&&(c.style.display="block"),s.mouseHoverAnchor.dirKeys.forEach(function(F){var se=F[0],ie="padding"+F[1];parseFloat(y[ie])c.x2&&(c.x2=S.x2),S.y2>c.y2&&(c.y2=S.y2)},newText:function(c,m,y,S,P){var T,D,L,Z,I,fe=m.createElementNS(Fe,"text");return fe.textContent=c,[fe.x,fe.y].forEach(function(_e){var j=y.createSVGLength();j.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),_e.baseVal.initialize(j)}),typeof O!="boolean"&&(O="paintOrder"in fe.style),P&&!O?(D=m.createElementNS(Fe,"defs"),fe.id=S,D.appendChild(fe),(Z=(T=m.createElementNS(Fe,"g")).appendChild(m.createElementNS(Fe,"use"))).href.baseVal="#"+S,(L=T.appendChild(m.createElementNS(Fe,"use"))).href.baseVal="#"+S,(I=Z.style).strokeLinejoin="round",{elmPosition:fe,styleText:fe.style,styleFill:L.style,styleStroke:I,styleShow:T.style,elmsAppend:[D,T]}):(I=fe.style,P&&(I.strokeLinejoin="round",I.paintOrder="stroke"),{elmPosition:fe,styleText:I,styleFill:I,styleStroke:P?I:null,styleShow:I,elmsAppend:[fe]})},getMidPoint:function(c,m){var y,S,P=Gh(c),T=P.segsLen,D=P.lenAll,L=-1,Z=D/2+(m||0);if(Z<=0)return(y=c[0]).length===2?Bo(y[0],y[1],0):Ns(y[0],y[1],y[2],y[3],0);if(D<=Z)return(y=c[c.length-1]).length===2?Bo(y[0],y[1],1):Ns(y[0],y[1],y[2],y[3],1);for(S=[];Z>T[++L];)S.push(c[L]),Z-=T[L];return(y=c[L]).length===2?Bo(y[0],y[1],Z/T[L]):Ns(y[0],y[1],y[2],y[3],iu(y[0],y[1],y[2],y[3],Z))},initSvg:function(c,m){var y,S,P=s.captionLabel.newText(c.text,m.baseWindow.document,m.svg,Pe+"-captionLabel-"+c._id,c.outlineColor);["elmPosition","styleFill","styleShow","elmsAppend"].forEach(function(T){c[T]=P[T]}),c.isShown=!1,c.styleShow.visibility="hidden",s.captionLabel.textStyleProps.forEach(function(T){c[T]!=null&&(P.styleText[T]=c[T])}),P.elmsAppend.forEach(function(T){m.svg.appendChild(T)}),y=P.elmPosition.getBBox(),c.width=y.width,c.height=y.height,c.outlineColor&&(S=10<(S=y.height/9)?10:S<2?2:S,P.styleStroke.strokeWidth=S+"px",P.styleStroke.stroke=c.outlineColor),c.strokeWidth=S||0,en(c.aplStats,s.captionLabel.stats),c.updateColor(m),c.refSocketXY?c.updateSocketXY(m):c.updatePath(m),Vt&&jn(m,{}),c.updateShow(m)},bind:function(c,m){var y=m.props;return c.color||Jt(y,"cur_line_color",c.updateColor),(c.refSocketXY=m.optionName==="startLabel"||m.optionName==="endLabel")?(c.socketIndex=m.optionName==="startLabel"?0:1,Jt(y,"apl_position",c.updateSocketXY),c.offset||(Jt(y,"cur_attach_plugSideLenSE",c.updateSocketXY),Jt(y,"cur_line_strokeWidth",c.updateSocketXY))):Jt(y,"apl_path",c.updatePath),Jt(y,"svgShow",c.updateShow),Vt&&Jt(y,"new_edge4viewBox",c.adjustEdge),s.captionLabel.initSvg(c,y),!0},unbind:function(c,m){var y=m.props;c.elmsAppend&&(c.elmsAppend.forEach(function(S){y.svg.removeChild(S)}),c.elmPosition=c.styleFill=c.styleShow=c.elmsAppend=null),en(c.curStats,s.captionLabel.stats),en(c.aplStats,s.captionLabel.stats),c.color||cn(y,"cur_line_color",c.updateColor),c.refSocketXY?(cn(y,"apl_position",c.updateSocketXY),c.offset||(cn(y,"cur_attach_plugSideLenSE",c.updateSocketXY),cn(y,"cur_line_strokeWidth",c.updateSocketXY))):cn(y,"apl_path",c.updatePath),cn(y,"svgShow",c.updateShow),Vt&&(cn(y,"new_edge4viewBox",c.adjustEdge),jn(y,{}))},removeOption:function(c,m){var y=m.props,S={};S[m.optionName]="",Ll(y,S)},remove:function(c){c.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),c.boundTargets.forEach(function(m){s.captionLabel.unbind(c,m)}))}},pathLabel:{type:"label",argOptions:[{optionName:"text",type:"string"}],stats:{color:{},startOffset:{},pathData:{}},init:function(c,m){return typeof m.text=="string"&&(c.text=m.text.trim()),!!c.text&&(typeof m.color=="string"&&(c.color=m.color.trim()),c.outlineColor=typeof m.outlineColor=="string"?m.outlineColor.trim():"#fff",_n(m.lineOffset)&&(c.lineOffset=m.lineOffset),s.captionLabel.textStyleProps.forEach(function(y){m[y]!=null&&(c[y]=m[y])}),c.updateColor=function(y){s.captionLabel.updateColor(c,y)},c.updatePath=function(y){var S,P=c.curStats,T=c.aplStats,D=y.curStats,L=y.pathList.animVal||y.pathList.baseVal;L&&(P.pathData=S=s.pathLabel.getOffsetPathData(L,D.line_strokeWidth/2+c.strokeWidth/2+c.height/4,1.25*c.height),Wl(S,T.pathData)&&(c.elmPath.setPathData(S),T.pathData=S,c.bBox=c.elmPosition.getBBox(),c.updateStartOffset(y)))},c.updateStartOffset=function(y){var S,P,T,D,L=c.curStats,Z=c.aplStats,I=y.curStats;L.pathData&&(c.semIndex===2&&!c.lineOffset||(T=L.pathData.reduce(function(fe,_e){var j,q=_e.values;switch(_e.type){case"M":P={x:q[0],y:q[1]};break;case"L":j={x:q[0],y:q[1]},P&&(fe+=hi(P,j)),P=j;break;case"C":j={x:q[4],y:q[5]},P&&(fe+=Yo(P,{x:q[0],y:q[1]},{x:q[2],y:q[3]},j)),P=j}return fe},0),D=c.semIndex===0?0:c.semIndex===1?T:T/2,c.semIndex!==2&&(S=Math.max(I.attach_plugBackLenSE[c.semIndex]||0,I.line_strokeWidth/2)+c.strokeWidth/2+c.height/4,D=(D+=c.semIndex===0?S:-S)<0?0:Tm?((Z=S.points)[1]=Ml(Z[0],Z[1],-m),S.len=hi(Z[0],Z[1])):(S.points=null,S.len=0),L.len>m+y?((Z=L.points)[0]=Ml(Z[1],Z[0],-(m+y)),L.len=hi(Z[0],Z[1])):(L.points=null,L.len=0)),L):null}),T.reduce(function(L,Z){var I=Z.points;return I&&(P&&D(I[0],P)||L.push({type:"M",values:[I[0].x,I[0].y]}),Z.type==="line"?L.push({type:"L",values:[I[1].x,I[1].y]}):(I.shift(),I.forEach(function(fe){L.push({type:"L",values:[fe.x,fe.y]})})),P=I[I.length-1]),L},[])},newText:function(c,m,y,S){var P,T,D,L,Z,I,fe,_e,j=m.createElementNS(Fe,"defs"),q=j.appendChild(m.createElementNS(Fe,"path"));return q.id=P=y+"-path",(L=(D=m.createElementNS(Fe,"text")).appendChild(m.createElementNS(Fe,"textPath"))).href.baseVal="#"+P,L.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),L.textContent=c,typeof O!="boolean"&&(O="paintOrder"in D.style),S&&!O?(D.id=T=y+"-text",j.appendChild(D),(fe=(Z=m.createElementNS(Fe,"g")).appendChild(m.createElementNS(Fe,"use"))).href.baseVal="#"+T,(I=Z.appendChild(m.createElementNS(Fe,"use"))).href.baseVal="#"+T,(_e=fe.style).strokeLinejoin="round",{elmPosition:D,elmPath:q,elmOffset:L,styleText:D.style,styleFill:I.style,styleStroke:_e,styleShow:Z.style,elmsAppend:[j,Z]}):(_e=D.style,S&&(_e.strokeLinejoin="round",_e.paintOrder="stroke"),{elmPosition:D,elmPath:q,elmOffset:L,styleText:_e,styleFill:_e,styleStroke:S?_e:null,styleShow:_e,elmsAppend:[j,D]})},initSvg:function(c,m){var y,S,P=s.pathLabel.newText(c.text,m.baseWindow.document,Pe+"-pathLabel-"+c._id,c.outlineColor);["elmPosition","elmPath","elmOffset","styleFill","styleShow","elmsAppend"].forEach(function(T){c[T]=P[T]}),c.isShown=!1,c.styleShow.visibility="hidden",s.captionLabel.textStyleProps.forEach(function(T){c[T]!=null&&(P.styleText[T]=c[T])}),P.elmsAppend.forEach(function(T){m.svg.appendChild(T)}),P.elmPath.setPathData([{type:"M",values:[0,100]},{type:"h",values:[100]}]),y=P.elmPosition.getBBox(),P.styleText.textAnchor=["start","end","middle"][c.semIndex],c.semIndex!==2||c.lineOffset||P.elmOffset.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,50),c.height=y.height,c.outlineColor&&(S=10<(S=y.height/9)?10:S<2?2:S,P.styleStroke.strokeWidth=S+"px",P.styleStroke.stroke=c.outlineColor),c.strokeWidth=S||0,en(c.aplStats,s.pathLabel.stats),c.updateColor(m),c.updatePath(m),c.updateStartOffset(m),Vt&&jn(m,{}),c.updateShow(m)},bind:function(c,m){var y=m.props;return c.color||Jt(y,"cur_line_color",c.updateColor),Jt(y,"cur_line_strokeWidth",c.updatePath),Jt(y,"apl_path",c.updatePath),c.semIndex=m.optionName==="startLabel"?0:m.optionName==="endLabel"?1:2,c.semIndex===2&&!c.lineOffset||Jt(y,"cur_attach_plugBackLenSE",c.updateStartOffset),Jt(y,"svgShow",c.updateShow),Vt&&Jt(y,"new_edge4viewBox",c.adjustEdge),s.pathLabel.initSvg(c,y),!0},unbind:function(c,m){var y=m.props;c.elmsAppend&&(c.elmsAppend.forEach(function(S){y.svg.removeChild(S)}),c.elmPosition=c.elmPath=c.elmOffset=c.styleFill=c.styleShow=c.elmsAppend=null),en(c.curStats,s.pathLabel.stats),en(c.aplStats,s.pathLabel.stats),c.color||cn(y,"cur_line_color",c.updateColor),cn(y,"cur_line_strokeWidth",c.updatePath),cn(y,"apl_path",c.updatePath),c.semIndex===2&&!c.lineOffset||cn(y,"cur_attach_plugBackLenSE",c.updateStartOffset),cn(y,"svgShow",c.updateShow),Vt&&(cn(y,"new_edge4viewBox",c.adjustEdge),jn(y,{}))},removeOption:function(c,m){var y=m.props,S={};S[m.optionName]="",Ll(y,S)},remove:function(c){c.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),c.boundTargets.forEach(function(m){s.pathLabel.unbind(c,m)}))}}},Object.keys(s).forEach(function(c){ci[c]=function(){return new o(s[c],Array.prototype.slice.call(arguments))}}),ci.positionByWindowResize=!0,window.addEventListener("resize",tu.add(function(){ci.positionByWindowResize&&Object.keys(Qn).forEach(function(c){jn(Qn[c],{position:!0})})}),!1),ci}();(function(i,r){n.exports=r()})(ta,function(){return t})})(xb);var eL=xb.exports;const Yu=hp(eL);let z1=K.createContext({}),Pb=K.createContext(void 0),Rs=K.createContext([]),L1=K.createContext(void 0),tL=(n,e)=>{let t=yi(e.start,n.state.doc),i=yi(e.end,n.state.doc);return n.state.doc.sliceString(t,i)},nL=({value:n})=>{let e=pn.useContext(Rs),t=({children:i,index:r})=>{let s=[...e,"index",r.toString()];return K.createElement(Rs.Provider,{value:s},K.createElement("td",{className:s.join("-"),"data-connector":"bottom"},i))};return K.createElement("table",{className:"array"},K.createElement("tbody",null,K.createElement("tr",null,n.type=="All"?n.value.map((i,r)=>K.createElement(t,{key:r,index:r},K.createElement(rs,{value:i}))):K.createElement(K.Fragment,null,n.value[0].map((i,r)=>K.createElement(t,{key:r,index:r},K.createElement(rs,{value:i}))),K.createElement("td",null,"..."),K.createElement(t,{index:100},K.createElement(rs,{value:n.value[1]}))))))},qa=(n,e)=>{let t=n.fields.find(([i])=>e==i);if(!t){let i=JSON.stringify(n,void 0,2);throw new Error(`Could not find field "${e}" in struct: ${i}`)}return t[1].value},kb=n=>qa(n,"pointer"),Xx=n=>{let e=qa(n,"buf"),t=qa(e,"ptr");return kb(t)},Mx=n=>{if(n.alloc_kind===null)return;let e=n.alloc_kind.type,t;if(e=="String"){let r=qa(n,"vec");t=Xx(r)}else if(e=="Vec")t=Xx(n);else if(e=="Box"){let r=qa(n,"0");t=kb(r)}else throw new Error(`Unimplemented alloc type: ${e}`);return t.fields[0][1]},iL=({value:n})=>{let e=pn.useContext(Rs),t=pn.useContext(z1),i=Mx(n);if(i&&!t.concreteTypes)return K.createElement(rs,{value:i});if(n.name=="Iter"&&!t.concreteTypes){let h=qa(n,"ptr").fields[0][1];return K.createElement(rs,{value:h})}let r=n.variant??n.name,s=n.fields.length>0&&n.fields[0][0]=="0";if(s&&n.fields.length==1){let a=[...e,"field","0"],h=n.fields[0][1],f=K.createElement(Rs.Provider,{value:a},K.createElement(rs,{value:h})),p=h.type=="Adt"&&!t.concreteTypes&&Mx(h.value)!==void 0;return K.createElement("span",{className:a.join("-")},p?K.createElement(K.Fragment,null,r,"(",f,")"):K.createElement(K.Fragment,null," ",r," / ",f))}let o=n.fields.map(([a,h],f)=>{let p=[...e,"field",f.toString()];return K.createElement("td",{key:a,className:p.join("-")},K.createElement(Rs.Provider,{value:p},K.createElement(rs,{value:h})))});return K.createElement(K.Fragment,null,r,K.createElement("table",null,K.createElement("tbody",null,s?K.createElement("tr",null,o):n.fields.map(([a,h],f)=>K.createElement("tr",{key:f},K.createElement("td",null,a),o[f])))))},rL=({value:{path:n,range:e}})=>{let t=pn.useContext(z1),i=n.segment.type=="Heap"?`heap-${n.segment.value.index}`:`stack-${n.segment.value.frame}-${n.segment.value.local}`,r=[...n.parts],s=Vr.last(r),o=s&&s.type=="Subslice"?s.value:void 0;s&&s.type=="Index"&&s.value==0&&r.pop();let a=r.map(p=>p.type=="Index"?`index-${p.value}`:p.type=="Field"?`field-${p.value}`:p.type=="Subslice"?`index-${p.value[0]}`:""),h={"data-point-to":[i,...a].join("-")};o&&(h["data-point-to-range"]=[i,...a.slice(0,-1),`index-${o[1]}`].join("-"));let f=K.createElement("span",{className:"pointer",...h},"●");return t.concreteTypes&&e?K.createElement("table",null,K.createElement("tbody",null,K.createElement("tr",null,K.createElement("td",null,"ptr"),K.createElement("td",null,f)),K.createElement("tr",null,K.createElement("td",null,"len"),K.createElement("td",null,e.toString())))):f},rs=({value:n})=>{let e=pn.useContext(Rs),t=pn.useContext(L1);return K.createElement(K.Fragment,null,n.type=="Bool"||n.type=="Uint"||n.type=="Int"||n.type=="Float"?n.value.toString():n.type=="Char"?String.fromCharCode(n.value).replace(" "," "):n.type=="Tuple"?K.createElement(K.Fragment,null,K.createElement("table",null,K.createElement("tbody",null,K.createElement("tr",null,n.value.map((i,r)=>{let s=[...e,"field",r.toString()];return K.createElement("td",{key:r,className:s.join("-")},K.createElement(Rs.Provider,{value:s},K.createElement(rs,{value:i})))}))))):n.type=="Adt"?K.createElement(iL,{value:n.value}):n.type=="Pointer"?K.createElement(rL,{value:n.value}):n.type=="Array"?K.createElement(nL,{value:n.value}):n.type=="Unallocated"?(()=>{let i=t&&t.type=="PointerUseAfterFree"&&t.value.alloc_id==n.value.alloc_id;return K.createElement("span",{className:hs("unallocated",{error:i})},"⦻")})():K.createElement(K.Fragment,null,"TODO"))},sL=({index:n,locals:e})=>e.length==0?K.createElement("div",{className:"locals empty-frame"},"(empty frame)"):K.createElement("table",{className:"locals"},K.createElement("tbody",null,e.map(({name:t,value:i,moved_paths:r},s)=>{let o=["stack",n.toString(),t],a=r.some(h=>h.length==0);return K.createElement("tr",{key:s,className:hs({moved:a})},K.createElement("td",null,t),K.createElement("td",{className:o.join("-"),"data-connector":"right"},K.createElement(Rs.Provider,{value:o},K.createElement(rs,{value:i}))))}))),I1=({children:n,className:e})=>K.createElement("div",{className:`header ${e??""}`},K.createElement("div",{className:"header-text"},n),K.createElement("div",{className:"header-bg"})),oL=({index:n,frame:e})=>{let t=pn.useContext(Pb);return tL(t,e.location),K.createElement("div",{className:"frame"},K.createElement(I1,{className:"frame-header"},e.name),null,K.createElement(sL,{index:n,locals:e.locals}))},lL=({stack:n})=>K.createElement("div",{className:"memory stack"},K.createElement(I1,{className:"memory-header"},"Stack"),K.createElement("div",{className:"frames"},n.frames.map((e,t)=>K.createElement(oL,{key:t,index:t,frame:e})))),aL=({heap:n})=>K.createElement("div",{className:"memory heap"},K.createElement(I1,{className:"memory-header"},"Heap"),K.createElement("table",null,K.createElement("tbody",null,n.locations.map((e,t)=>{let i=["heap",t.toString()];return K.createElement("tr",{key:t},K.createElement("td",{className:i.join("-"),"data-connector":"left"},K.createElement(Rs.Provider,{value:i},K.createElement(rs,{value:e}))))}))));Yu.positionByWindowResize=!1;const uL={light:["rgba(24, 15, 41, 1)","rgba(47, 23, 57, 1)","rgba(71, 28, 72, 1)","rgba(97, 30, 82, 1)","rgba(123, 30, 89, 1)","rgba(150, 27, 91, 1)"],dark:["rgba(234, 219, 207, 1)","rgba(227, 203, 187, 1)","rgba(220, 187, 168, 1)","rgba(214, 172, 151, 1)","rgba(208, 156, 136, 1)","rgba(202, 140, 121, 1)"]};let hL=(n,e,t)=>{pn.useEffect(()=>{let i=n.current,r=e.current,s=t.current,o=r.querySelectorAll(".pointer"),a=getComputedStyle(document.body).getPropertyValue("--inline-code-color"),h=$=>{let W=r.querySelector("."+CSS.escape($));if(!W)throw new Error(`Could not find endpoint for pointer selector: ${CSS.escape($)}`);return W},f=$=>$.closest(".heap")!==null?"heap":"stack",p={},O=Array.from(o).map($=>{let W=$.dataset.pointTo,B=h(W),J=$.dataset.pointToRange?h($.dataset.pointToRange):void 0,ae=B.dataset.connector,xe={srcRegion:f($),dstRegion:f(B)};W in p||(p[W]=0);let Me=p[W];return p[W]+=1,{src:$,dst:B,dstRange:J,dstSel:W,endSocket:ae,dstIndex:Me,group:xe}}),v=Vr.groupBy(O,"group"),x=($,W)=>{try{let{srcRegion:B,dstRegion:J}=$.group,ae=B=="heap"&&J=="stack"?"left":"right",xe;if($.dstRange)xe=Yu.areaAnchor($.dst,{shape:"rect",width:$.dstRange.offsetLeft+$.dst.offsetWidth-$.dst.offsetLeft,height:2,y:"100%",fillColor:a?"var(--search-mark-bg)":"red"});else if(B=="stack"&&J=="stack")xe=Yu.pointAnchor($.dst,{x:"100%",y:"75%"});else if($.endSocket=="bottom")xe=$.dst;else{let je=J=="stack"?100:0,st=Bz({center:50,spacing:30,index:$.dstIndex,total:p[$.dstSel]-1});xe=Yu.pointAnchor($.dst,{x:`${je}%`,y:`${st}%`})}let Pe=["navy","coal","ayu"].some(je=>document.documentElement.classList.contains(je)),at=uL[Pe?"dark":"light"],mt=at[W%at.length],_t=$.src.closest(".moved")!==null,Mt=Pe?.5:.3;_t&&(mt=mt.replace(", 1)",`, ${Mt})`));let Wt,zt;$.group.srcRegion=="stack"&&$.group.dstRegion=="heap"&&(Wt=60,zt=100-W*10);let ke=new Yu($.src,xe,{color:mt,size:1,endPlugSize:2,startSocket:ae,endSocket:$.endSocket,startSocketGravity:Wt,endSocketGravity:zt}),Re=[".leader-line"];$.dstRange&&Re.push(".leader-line-areaAnchor");let ze=Re.map(je=>{let st=document.body.querySelector(`:scope > ${je}`);if(!st)throw new Error(`Missing LineLeader element: ${je}`);return st});return ze.forEach(je=>s.appendChild(je)),{line:ke,svgElements:ze}}catch(B){console.error("Leader line failed to render",B.stack);return}},Q=Object.entries(v).flatMap(([$,W])=>W.map((B,J)=>x(B,J))).filter($=>$!==void 0),R=()=>{let $=r.getBoundingClientRect(),W=$.left+window.scrollX+i.scrollLeft,B=$.top+window.scrollY+i.scrollTop;return[W,B]},M=($,W)=>{Q.forEach(({line:B})=>B.position()),s.style.transform=`translate(-${$}px, -${W}px)`},b=R();M(...b);let E=setInterval(()=>{let $=R();($[0]!=b[0]||$[1]!=b[1])&&M(...$),b=$},300);return()=>{clearInterval(E),Q.forEach(({svgElements:$})=>{$.forEach(W=>{W.parentNode.removeChild(W)})})}})},cL=({step:n,index:e,containerRef:t})=>{let i=pn.useRef(null),r=pn.useRef(null),s=pn.useContext(L1);return hL(t,i,r),K.createElement("div",{className:"step"},K.createElement("div",{className:"step-header"},K.createElement(_b,{index:e,fail:s!==void 0}),s!==void 0?K.createElement("span",{className:"undefined-behavior"},"undefined behavior:"," ",s.type=="PointerUseAfterFree"?K.createElement(K.Fragment,null,"pointer used after its pointee is freed"):s.value):null),K.createElement("div",{className:"memory-container",ref:i},K.createElement("div",{className:"arrow-container",ref:r}),K.createElement("div",{className:"memory-container-flex"},K.createElement(lL,{stack:n.stack}),n.heap.locations.length>0?K.createElement(aL,{heap:n.heap}):null)))},fL=({trace:n,config:e})=>{let t=pn.useRef(null),[i,r]=pn.useState((e==null?void 0:e.concreteTypes)??!1),[s,o]=pn.useState(!1),a=e!=null&&e.horizontal?"row":"column";return K.createElement(z1.Provider,{value:{...e,concreteTypes:i}},K.createElement("div",{ref:t,className:"interpreter",style:{flexDirection:a},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1)},K.createElement("button",{className:hs("concrete-types",{active:i}),onClick:()=>r(!i),style:{opacity:s?"1":"0"}},K.createElement("i",{className:"fa fa-binoculars"})),n.steps.map((h,f)=>{let p=f==n.steps.length-1&&n.result.type=="Error"?n.result.value:void 0;return K.createElement(L1.Provider,{key:f,value:p},K.createElement(cL,{index:f,step:h,containerRef:t}))})))},dL=(n,e,t)=>{let i=[...e].reverse(),r=t.map(o=>{let a=i.findIndex(h=>{let f=Vr.last(h.stack.frames),p=yi(f.body_span.start,n.state.doc)<=o&&o<=yi(f.body_span.end,n.state.doc),O=o>yi(f.location.start,n.state.doc);return p&&O});if(a==-1)throw new Error(`Could not find step for range: ${JSON.stringify(o,void 0,2)}`);return[e.length-a,o,i[a]]}),s=Vr.sortBy(r,([o])=>o);return[s.map(([o,a])=>a),s.map(([o,a,h])=>h)]},_b=({index:n,fail:e})=>K.createElement("span",{className:hs("step-marker",{fail:e})},K.createElement("span",null,"L",n+1));class pL extends Dr{constructor(t,i){super();Lt(this,"index");Lt(this,"fail");this.index=t,this.fail=i}toDOM(){let t=document.createElement("span");return Sl.createRoot(t).render(K.createElement(_b,{index:this.index,fail:this.fail})),t}}let V1=M1();function OL(n,e,t,i,r){let s=Sl.createRoot(e),o=(r==null?void 0:r.state_locations)||[],a;if(o.length>0){let[f,p]=dL(n,t.steps,o);a=f,t.steps=p}else a=t.steps.map(f=>yi(Vr.last(f.stack.frames).location.end,n.state.doc));let h=a.map((f,p)=>Ge.widget({widget:new pL(p,p==t.steps.length-1&&t.result.type=="Error")}).range(f));n.dispatch({effects:[V1.setEffect.of(h)]}),s.render(K.createElement(Pb.Provider,{value:n},K.createElement(fL,{trace:t,config:i})))}let gL=({perm:n,facts:e})=>{let t=()=>{let i=na(n.perm),r=({children:s})=>K.createElement("span",{className:hs("perm",i)},s);return n.step.type==="None"?n.step.value?K.createElement("div",{className:"perm-diff-present",title:`Path had ${i} permissions before the preceding line, and that didn't change after this line.`},K.createElement(r,null,n.perm)):K.createElement("div",{className:"perm-diff-none",title:`Path did not have ${i} permissions before the preceding line, and that didn't change after this line.`},K.createElement(r,null,"‒")):n.step.type=="Low"?K.createElement("div",{className:"perm-diff-sub-container",title:`Path had ${i} permissions before the preceding line, and lost it after this line.`},K.createElement("div",{className:"perm-diff-sub"}),K.createElement(r,null,n.perm)):K.createElement("div",{title:`Path did not have ${i} permissions before the preceding line, and gained it after this line.`},K.createElement("span",{className:"perm-diff-add"},"+"),K.createElement(r,null,n.perm))};return K.createElement("td",{onMouseEnter:()=>{Gf(e,n.loanKey,[na(n.perm)]),jf(e,n.moveKey,[na(n.perm)])},onMouseLeave:()=>{Hf(e,n.loanKey,[na(n.perm)]),Kf(e,n.moveKey,[na(n.perm)])},className:"perm-char"},t())},mL=({path:n,diffs:e,facts:t})=>{let i=[{fact:"path_moved",states:[{value:{type:"High",value:0},icon:"sign-out",desc:"Path is moved here"},{value:{type:"Low"},icon:"recycle",desc:"Path is re-initialized after move here"}]},{fact:"loan_read_refined",states:[{value:{type:"High",value:0},icon:"arrow-right",desc:"Path is borrowed here"},{value:{type:"Low"},icon:"rotate-left",desc:"Borrow on path is dropped here"}]},{fact:"loan_write_refined",states:[{value:{type:"High",value:0},icon:"arrow-right",desc:"Path is borrowed here"},{value:{type:"Low"},icon:"rotate-left",desc:"Borrow on path is no longer used here"}]},{fact:"is_live",states:[{value:{type:"High",value:0},icon:"level-up",desc:"Path is initialized here"},{value:{type:"Low"},icon:"level-down",desc:"Path is no longer used here"}]},{fact:"path_uninitialized",states:[{value:{type:"High",value:0},icon:"sign-out",desc:"Path contains uninitialized data"},{value:{type:"Low"},icon:"recycle",desc:"Path data is initialized after move here"}]}],r=null;e:for(let{fact:f,states:p}of i)for(let{value:O,icon:v,desc:x}of p)if(Vr.isEqual(e[f].type,O.type)){r=K.createElement("i",{className:`fa fa-${v} aquascope-action-indicator`,title:x});break e}let s=function(f){return f.type==="None"||f.type==="High"?f.value:void 0},o=s(e.path_moved),a=[{perm:Ob,step:e.permissions.read,loanKey:s(e.loan_read_refined),moveKey:o},{perm:gb,step:e.permissions.write,loanKey:s(e.loan_write_refined),moveKey:o},{perm:mb,step:e.permissions.drop,loanKey:s(e.loan_drop_refined),moveKey:o}],h=K.createElement("td",{className:"perm-step-path"},n);return K.createElement("tr",null,h,K.createElement("td",{className:"perm-step-event"},r),a.map(f=>K.createElement(gL,{key:f.perm,perm:f,facts:t})))},Qb=n=>n.location.end,Wx=({rows:n,facts:e})=>K.createElement("table",{className:"perm-step-table"},K.createElement("tbody",null,n.map(([t,i],r)=>K.createElement(mL,{key:r,path:t,diffs:i,facts:e})))),yL=({focused:n,hidden:e,facts:t})=>{let[i,r]=pn.useState(!1),s=e.length>0?K.createElement(K.Fragment,null,K.createElement("div",{className:"step-table-dropdown step-widget-toggle"},"● ● ●"),K.createElement("div",{className:hs({"hidden-height":!i})},K.createElement(Wx,{rows:e,facts:t}))):null;return K.createElement("div",{className:hs("step-table-container",{"contains-hidden":e.length>0}),onClick:()=>r(!i)},K.createElement(Wx,{rows:n,facts:t}),s)},vL=({spaces:n,focusedRegex:e,tables:t,init:i,facts:r})=>{let[s,o]=pn.useState(i),a="»",h="«",f=t.map((p,O)=>{let[v,x]=Vr.partition(p.state,([Q,R])=>!!Q.match(e));return K.createElement(yL,{key:O,focused:v,hidden:x,facts:r})});return K.createElement("div",{className:"perm-step-widget"},K.createElement("span",{className:"step-widget-toggle",onClick:()=>o(!s)},s?h:a),K.createElement("div",{className:hs("step-widget-container",{"hidden-width":!s})},K.createElement("div",{className:"step-widget-spacer"},n),f))};class SL extends Dr{constructor(t,i,r,s){super();Lt(this,"view");Lt(this,"step");Lt(this,"facts");Lt(this,"annotations");Lt(this,"line");Lt(this,"rowHTML");this.view=t,this.step=i,this.facts=r,this.annotations=s,this.line=t.state.doc.lineAt(yi(Qb(i),t.state.doc))}eq(t){return this.line.number===t.line.number}toDOM(){var x;let t=document.createElement("span"),i=this.view.state.doc,r=this.line,s=this.annotations&&this.annotations.focused_lines.length>0?this.annotations.focused_lines.includes(r.number):!0,o=0;for(let Q of i.iterLines())o=Math.max(o,Q.length);let a=2+o-r.length,h="―".repeat(a),f=(x=this.annotations)==null?void 0:x.focused_paths[r.number],p=f==null?void 0:f.map(Q=>Q.type=="Literal"?Vr.escapeRegExp(Q.value):Q.value).map(Q=>`(${Q})`).join("|"),O=new RegExp(p??"(.*)?"),v=this.step.state;return Sl.createRoot(t).render(K.createElement(vL,{spaces:h,focusedRegex:O,tables:v,init:s,facts:this.facts})),t}ignoreEvent(){return!0}}let D1=M1();function wL(n,e,t,i){return t.map(r=>Ge.widget({widget:new SL(n,r,e,i),side:1}).range(yi(Qb(r),n.state.doc)))}function xL(n,e,t){let i=[],r=[],s=[];return e.forEach(o=>{let[a,h]=Zz(o),f=Jz(n,a,o.boundaries,t==null?void 0:t.boundaries),p=wL(n,a,o.steps,t==null?void 0:t.stepper);r.push(f),i.push(p),s.push(h)}),{stepper:i.flat(),boundaries:Vr.uniqBy(r.flat(),o=>o.from),facts:s.flat()}}function zx(n,e,t){if(console.debug("rendering permissions with",t),e!==void 0){let i=String(t==null?void 0:t.stepper)==="true",r=String(t==null?void 0:t.boundaries)==="true";n.dispatch({effects:[yb.of(e.facts),D1.setEffect.of(i?e.stepper:[]),W1.setEffect.of(r?e.boundaries:[])]})}}const PL=new URL("http://127.0.0.1:8008"),bb=` fn main() { let mut v = vec![1, 2, 3]; let n = &v[0]; @@ -77,5 +77,5 @@ fn main() { let x = *n; } `.trim();let kL=new Ga,Lx=new Ga,_L=({view:n})=>K.createElement("button",{className:"cm-button",onClick:()=>{let e=n.state.doc.toJSON().join(` -`);navigator.clipboard.writeText(e)}},K.createElement("i",{className:"fa fa-copy"})),QL=({container:n})=>{let[e,t]=pn.useState(!0);return pn.useEffect(()=>{e?n.classList.remove("show-hidden"):n.classList.add("show-hidden")},[e]),K.createElement("button",{className:"cm-button",onClick:()=>t(!e)},K.createElement("i",{className:`fa ${e?"fa-eye":"fa-eye-slash"}`}))},bL=qe.updateListener.of(n=>{n.docChanged&&n.view.dispatch({effects:[W1.setEffect.of([]),D1.setEffect.of([]),V1.setEffect.of([])]})});class EL{constructor(e,t,i=function(f){console.error("An error occurred: "),console.error(f)},r=bb,s=PL,o=!1,a="This code does not compile!",h=[]){Lt(this,"setup");Lt(this,"reportStdErr");Lt(this,"serverUrl");Lt(this,"noInteract");Lt(this,"shouldFailHtml");Lt(this,"buttonList");Lt(this,"view");Lt(this,"interpreterContainer");Lt(this,"editorContainer");Lt(this,"permissionsDecos");Lt(this,"metaContainer");Lt(this,"buttons");Lt(this,"shouldFail",!1);this.setup=t,this.reportStdErr=i,this.serverUrl=s,this.noInteract=o,this.shouldFailHtml=a,this.buttonList=h,this.buttons=new Set(h);let f=Pt.create({doc:r,extensions:[Lx.of(t),kL.of(Pt.readOnly.of(o)),qe.editable.of(!o),bL,t,vW(),op.of(" "),Gz,qz,W1.field,D1.field,V1.field]});this.editorContainer=document.createElement("div"),this.view=new qe({state:f,parent:this.editorContainer});let p=document.createElement("div");this.metaContainer=Sl.createRoot(p),this.renderMeta(),this.editorContainer.appendChild(p),this.interpreterContainer=document.createElement("div"),e.appendChild(this.editorContainer),e.appendChild(this.interpreterContainer)}renderMeta(){this.metaContainer.render(K.createElement("div",{className:"meta-container"},K.createElement("div",{className:"top-right"},Array.from(this.buttons).map((e,t)=>e=="copy"?K.createElement(_L,{key:t,view:this.view}):e=="eye"?K.createElement(QL,{key:t,container:this.editorContainer}):null)),this.shouldFail?K.createElement("div",{dangerouslySetInnerHTML:{__html:this.shouldFailHtml}}):null))}getCurrentCode(){return this.view.state.doc.toString()}reconfigure(e){this.view.dispatch({effects:[Lx.reconfigure([...e,this.setup])]})}removeIconField(e){this.view.dispatch({effects:[e.effectType.of([])]})}addPermissionsField(e,t,i){let r=t.map(s=>e.fromOutput(s,i));this.view.dispatch({effects:[e.effectType.of(r)]})}async renderPermissions(e){await this.renderOperation("permissions",{config:e}),zx(this.view,this.permissionsDecos,e)}async callBackendWithCode(e,t){let i=this.getCurrentCode(),r=new URL(e,this.serverUrl);return await(await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:i,config:t})})).json()}renderInterpreter(e,t,i){t&&t.hideCode&&(this.view.destroy(),this.metaContainer.unmount()),OL(this.view,this.interpreterContainer,e,t,i)}async renderOperation(e,{response:t,config:i,annotations:r}={}){if(console.debug(`Rendering operation: ${e}`),!t){let o=await this.callBackendWithCode(e,i);if(o.success)t=JSON.parse(o.stdout),this.reportStdErr({type:"ServerStderr",error:o.stderr});else return this.reportStdErr({type:"ServerStderr",error:o.stderr})}if(r&&r.hidden_lines&&r.hidden_lines.length>0&&(this.view.dispatch({effects:r.hidden_lines.map(o=>vb.of({line:o}))}),this.buttons.add("eye")),i!=null&&i.shouldFail&&(this.shouldFail=!0),this.renderMeta(),e=="interpreter")"Ok"in t?this.renderInterpreter(t.Ok,i,r==null?void 0:r.interp):this.reportStdErr(t.Err);else if(e=="permissions"){let o=t,a=[];for(var s of o)"Ok"in s?a.push(s.Ok):this.reportStdErr(s.Err);this.permissionsDecos=xL(this.view,a,r),zx(this.view,this.permissionsDecos,i)}}}class Eb{constructor(e,t,i){this.state=e,this.pos=t,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let t=si(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),i=Math.max(t.from,this.pos-250),r=t.text.slice(i-t.from,this.pos-t.from),s=r.search($b(e,!1));return s<0?null:{from:i+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function Ix(n){let e=Object.keys(n).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function $L(n){let e=Object.create(null),t=Object.create(null);for(let{label:r}of n){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[t,i]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:$L(e);return r=>{let s=r.matchBefore(i);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:t}:null}}class Vx{constructor(e,t,i){this.completion=e,this.source=t,this.match=i}}function wo(n){return n.selection.main.head}function $b(n,e){var t;let{source:i}=n,r=e&&i[0]!="^",s=i[i.length-1]!="$";return!r&&!s?n:new RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,(t=n.flags)!==null&&t!==void 0?t:n.ignoreCase?"i":"")}function TL(n,e,t,i){return Object.assign(Object.assign({},n.changeByRange(r=>{if(r==n.selection.main)return{changes:{from:t,to:i,insert:e},range:me.cursor(t+e.length)};let s=i-t;return!r.empty||s&&n.sliceDoc(r.from-s,r.from)!=n.sliceDoc(t,i)?{range:r}:{changes:{from:r.from-s,to:r.from,insert:e},range:me.cursor(r.from-s+e.length)}})),{userEvent:"input.complete"})}function Cb(n,e){const t=e.completion.apply||e.completion.label;let i=e.source;typeof t=="string"?n.dispatch(TL(n.state,t,i.from,i.to)):t(n,e.completion,i.from,i.to)}const Dx=new WeakMap;function AL(n){if(!Array.isArray(n))return n;let e=Dx.get(n);return e||Dx.set(n,e=CL(n)),e}class RL{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&B<=57||B>=97&&B<=122?2:B>=65&&B<=90?1:0:(J=Q0(B))!=J.toLowerCase()?1:J!=J.toUpperCase()?2:0;(!E||ae==1&&M||W==0&&ae!=0)&&(t[O]==B||i[O]==B&&(v=!0)?o[O++]=E:o.length&&(b=!1)),W=ae,E+=Ji(B)}return O==h&&o[0]==0&&b?this.result(-100+(v?-200:0),o,e):x==h&&Q==0?[-200-e.length,0,R]:a>-1?[-700-e.length,a,a+this.pattern.length]:x==h?[-200+-700-e.length,Q,R]:O==h?this.result(-100+(v?-200:0)+-700+(b?0:-1100),o,e):t.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,i){let r=[e-i.length],s=1;for(let o of t){let a=o+(this.astral?Ji(Yn(i,o)):1);s>1&&r[s-1]==o?r[s-1]=a:(r[s++]=o,r[s++]=a)}return r}}const kr=Ue.define({combine(n){return cs(n,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,optionClass:(e,t)=>i=>XL(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})}});function XL(n,e){return n?e?n+" "+e:n:e}function ML(n){let e=n.addToOptions.slice();return n.icons&&e.push({render(t){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),t.type&&i.classList.add(...t.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(t,i,r){let s=document.createElement("span");s.className="cm-completionLabel";let{label:o}=t,a=0;for(let h=1;ha&&s.appendChild(document.createTextNode(o.slice(a,f)));let O=s.appendChild(document.createElement("span"));O.appendChild(document.createTextNode(o.slice(f,p))),O.className="cm-completionMatchedText",a=p}return at.position-i.position).map(t=>t.render)}function Nx(n,e,t){if(n<=t)return{from:0,to:n};if(e<0&&(e=0),e<=n>>1){let r=Math.floor(e/t);return{from:r*t,to:(r+1)*t}}let i=Math.floor((n-e)/t);return{from:n-(i+1)*t,to:n-i*t}}class WL{constructor(e,t){this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:a=>this.positionInfo(a),key:this};let i=e.state.field(t),{options:r,selected:s}=i.open,o=e.state.facet(kr);this.optionContent=ML(o),this.optionClass=o.optionClass,this.range=Nx(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",a=>{for(let h=a.target,f;h&&h!=this.dom;h=h.parentNode)if(h.nodeName=="LI"&&(f=/-(\d+)$/.exec(h.id))&&+f[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}positioned(){this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=Nx(t.options.length,t.selected,this.view.state.facet(kr).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:i}=t.options[t.selected],{info:r}=i;if(!r)return;let s=typeof r=="string"?document.createTextNode(r):r(i);if(!s)return;"then"in s?s.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o)}).catch(o=>ir(this.view.state,o,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){let t=null;for(let i=this.list.firstChild,r=this.range.from;i;i=i.nextSibling,r++)r==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),t=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return t&&LL(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.ownerDocument.defaultView||window,i=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),s=e.getBoundingClientRect();if(s.top>Math.min(t.innerHeight,i.bottom)-10||s.bottom=r.height||Q>i.top?p=s.bottom-i.top+"px":O=i.bottom-s.top+"px"}return{top:p,bottom:O,maxWidth:f,class:h?o?"left-narrow":"right-narrow":a?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,i){const r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let s=i.from;snew WL(e,n)}function LL(n,e){let t=n.getBoundingClientRect(),i=e.getBoundingClientRect();i.topt.bottom&&(n.scrollTop+=i.bottom-t.bottom)}function Bx(n){return(n.boost||0)*100+(n.apply?10:0)+(n.info?5:0)+(n.type?1:0)}function IL(n,e){let t=[],i=0;for(let a of n)if(a.hasResult())if(a.result.filter===!1){let h=a.result.getMatch;for(let f of a.result.options){let p=[1e9-i++];if(h)for(let O of h(f))p.push(O);t.push(new Vx(f,a,p))}}else{let h=new RL(e.sliceDoc(a.from,a.to)),f;for(let p of a.result.options)(f=h.match(p.label))&&(p.boost!=null&&(f[0]+=p.boost),t.push(new Vx(p,a,f)))}let r=[],s=null,o=e.facet(kr).compareCompletions;for(let a of t.sort((h,f)=>f.match[0]-h.match[0]||o(h.completion,f.completion)))!s||s.label!=a.completion.label||s.detail!=a.completion.detail||s.type!=null&&a.completion.type!=null&&s.type!=a.completion.type||s.apply!=a.completion.apply?r.push(a):Bx(a.completion)>Bx(s)&&(r[r.length-1]=a),s=a.completion;return r}class ih{constructor(e,t,i,r,s){this.options=e,this.attrs=t,this.tooltip=i,this.timestamp=r,this.selected=s}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new ih(this.options,Yx(t,e),this.tooltip,this.timestamp,e)}static build(e,t,i,r,s){let o=IL(e,t);if(!o.length)return null;let a=t.facet(kr).selectOnOpen?0:-1;if(r&&r.selected!=a&&r.selected!=-1){let h=r.options[r.selected].completion;for(let f=0;ff.hasResult()?Math.min(h,f.from):h,1e8),create:zL(yr),above:s.aboveCursor},r?r.timestamp:Date.now(),a)}map(e){return new ih(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class Zd{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new Zd(NL,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,i=t.facet(kr),s=(i.override||t.languageDataAt("autocomplete",wo(t)).map(AL)).map(a=>(this.active.find(f=>f.source==a)||new Ti(a,this.active.some(f=>f.state!=0)?1:0)).update(e,i));s.length==this.active.length&&s.every((a,h)=>a==this.active[h])&&(s=this.active);let o=e.selection||s.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!VL(s,this.active)?ih.build(s,t,this.id,this.open,i):this.open&&e.docChanged?this.open.map(e.changes):this.open;!o&&s.every(a=>a.state!=1)&&s.some(a=>a.hasResult())&&(s=s.map(a=>a.hasResult()?new Ti(a.source,0):a));for(let a of e.effects)a.is(Ab)&&(o=o&&o.setSelected(a.value,this.id));return s==this.active&&o==this.open?this:new Zd(s,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:DL}}function VL(n,e){if(n==e)return!0;for(let t=0,i=0;;){for(;t-1&&(t["aria-activedescendant"]=n+"-"+e),t}const NL=[];function p0(n){return n.isUserEvent("input.type")?"input":n.isUserEvent("delete.backward")?"delete":null}class Ti{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=p0(e),r=this;i?r=r.handleUserEvent(e,i,t):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new Ti(r.source,0));for(let s of e.effects)if(s.is(N1))r=new Ti(r.source,1,s.value?wo(e.state):-1);else if(s.is(Fd))r=new Ti(r.source,0);else if(s.is(Tb))for(let o of s.value)o.source==r.source&&(r=o);return r}handleUserEvent(e,t,i){return t=="delete"||!i.activateOnTyping?this.map(e.changes):new Ti(this.source,1)}handleChange(e){return e.changes.touchesRange(wo(e.startState))?new Ti(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Ti(this.source,this.state,e.mapPos(this.explicitPos))}}class rh extends Ti{constructor(e,t,i,r,s){super(e,2,t),this.result=i,this.from=r,this.to=s}hasResult(){return!0}handleUserEvent(e,t,i){var r;let s=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),a=wo(e.state);if((this.explicitPos<0?a<=s:ao||t=="delete"&&wo(e.startState)==this.from)return new Ti(this.source,t=="input"&&i.activateOnTyping?1:0);let h=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),f;return BL(this.result.validFor,e.state,s,o)?new rh(this.source,h,this.result,s,o):this.result.update&&(f=this.result.update(this.result,s,o,new Eb(e.state,a,h>=0)))?new rh(this.source,h,f,f.from,(r=f.to)!==null&&r!==void 0?r:wo(e.state)):new Ti(this.source,1,h)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Ti(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new rh(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function BL(n,e,t,i){if(!n)return!1;let r=e.sliceDoc(t,i);return typeof n=="function"?n(r,t,i,e):$b(n,!0).test(r)}const N1=lt.define(),Fd=lt.define(),Tb=lt.define({map(n,e){return n.map(t=>t.map(e))}}),Ab=lt.define(),yr=kn.define({create(){return Zd.start()},update(n,e){return n.update(e)},provide:n=>[z0.from(n,e=>e.tooltip),qe.contentAttributes.from(n,e=>e.attrs)]});function Pf(n,e="option"){return t=>{let i=t.state.field(yr,!1);if(!i||!i.open||Date.now()-i.open.timestamp-1?i.open.selected+r*(n?1:-1):n?0:o-1;return a<0?a=e=="page"?0:o-1:a>=o&&(a=e=="page"?o-1:0),t.dispatch({effects:Ab.of(a)}),!0}}const YL=n=>{let e=n.state.field(yr,!1);return n.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestampn.state.field(yr,!1)?(n.dispatch({effects:N1.of(!0)}),!0):!1,UL=n=>{let e=n.state.field(yr,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(n.dispatch({effects:Fd.of(null)}),!0)};class ZL{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const qx=50,FL=50,GL=1e3,HL=Pn.fromClass(class{constructor(n){this.view=n,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of n.state.field(yr).active)e.state==1&&this.startQuery(e)}update(n){let e=n.state.field(yr);if(!n.selectionSet&&!n.docChanged&&n.startState.field(yr)==e)return;let t=n.transactions.some(i=>(i.selection||i.docChanged)&&!p0(i));for(let i=0;iFL&&Date.now()-r.time>GL){for(let s of r.context.abortListeners)try{s()}catch(o){ir(this.view.state,o)}r.context.abortListeners=null,this.running.splice(i--,1)}else r.updates.push(...n.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(i=>i.state==1&&!this.running.some(r=>r.active.source==i.source))?setTimeout(()=>this.startUpdate(),qx):-1,this.composing!=0)for(let i of n.transactions)p0(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:n}=this.view,e=n.field(yr);for(let t of e.active)t.state==1&&!this.running.some(i=>i.active.source==t.source)&&this.startQuery(t)}startQuery(n){let{state:e}=this.view,t=wo(e),i=new Eb(e,t,n.explicitPos==t),r=new ZL(n,i);this.running.push(r),Promise.resolve(n.source(i)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Fd.of(null)}),ir(this.view.state,s)})}scheduleAccept(){this.running.every(n=>n.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),qx))}accept(){var n;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(kr);for(let i=0;io.source==r.active.source);if(s&&s.state==1)if(r.done==null){let o=new Ti(r.active.source,0);for(let a of r.updates)o=o.update(a,t);o.state!=1&&e.push(o)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:Tb.of(e)})}},{eventHandlers:{blur(){let n=this.view.state.field(yr,!1);n&&n.tooltip&&this.view.state.facet(kr).closeOnBlur&&this.view.dispatch({effects:Fd.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:N1.of(!1)}),20),this.composing=0}}}),jL=qe.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),Ah={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},fl=lt.define({map(n,e){let t=e.mapPos(n,-1,gi.TrackAfter);return t??void 0}}),B1=lt.define({map(n,e){return e.mapPos(n)}}),Y1=new class extends ml{};Y1.startSide=1;Y1.endSide=-1;const Rb=kn.define({create(){return Qt.empty},update(n,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,i=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(i,-1)&&(n=Qt.empty)}n=n.map(e.changes);for(let t of e.effects)t.is(fl)?n=n.update({add:[Y1.range(t.value,t.value+1)]}):t.is(B1)&&(n=n.update({filter:i=>i!=t.value}));return n}});function KL(){return[eI,Rb]}const Tg="()[]{}<>";function Xb(n){for(let e=0;e{if((JL?n.composing:n.compositionStarted)||n.state.readOnly)return!1;let r=n.state.selection.main;if(i.length>2||i.length==2&&Ji(Yn(i,0))==1||e!=r.from||t!=r.to)return!1;let s=iI(n.state,i);return s?(n.dispatch(s),!0):!1}),tI=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let i=Mb(n,n.selection.main.head).brackets||Ah.brackets,r=null,s=n.changeByRange(o=>{if(o.empty){let a=rI(n.doc,o.head);for(let h of i)if(h==a&&Qp(n.doc,o.head)==Xb(Yn(h,0)))return{changes:{from:o.head-h.length,to:o.head+h.length},range:me.cursor(o.head-h.length)}}return{range:r=o}});return r||e(n.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},nI=[{key:"Backspace",run:tI}];function iI(n,e){let t=Mb(n,n.selection.main.head),i=t.brackets||Ah.brackets;for(let r of i){let s=Xb(Yn(r,0));if(e==r)return s==r?lI(n,r,i.indexOf(r+r+r)>-1,t):sI(n,r,s,t.before||Ah.before);if(e==s&&Wb(n,n.selection.main.from))return oI(n,r,s)}return null}function Wb(n,e){let t=!1;return n.field(Rb).between(0,n.doc.length,i=>{i==e&&(t=!0)}),t}function Qp(n,e){let t=n.sliceString(e,e+2);return t.slice(0,Ji(Yn(t,0)))}function rI(n,e){let t=n.sliceString(e-2,e);return Ji(Yn(t,0))==t.length?t:t.slice(1)}function sI(n,e,t,i){let r=null,s=n.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:t,from:o.to}],effects:fl.of(o.to+e.length),range:me.range(o.anchor+e.length,o.head+e.length)};let a=Qp(n.doc,o.head);return!a||/\s/.test(a)||i.indexOf(a)>-1?{changes:{insert:e+t,from:o.head},effects:fl.of(o.head+e.length),range:me.cursor(o.head+e.length)}:{range:r=o}});return r?null:n.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function oI(n,e,t){let i=null,r=n.selection.ranges.map(s=>s.empty&&Qp(n.doc,s.head)==t?me.cursor(s.head+t.length):i=s);return i?null:n.update({selection:me.create(r,n.selection.mainIndex),scrollIntoView:!0,effects:n.selection.ranges.map(({from:s})=>B1.of(s))})}function lI(n,e,t,i){let r=i.stringPrefixes||Ah.stringPrefixes,s=null,o=n.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:e,from:a.to}],effects:fl.of(a.to+e.length),range:me.range(a.anchor+e.length,a.head+e.length)};let h=a.head,f=Qp(n.doc,h),p;if(f==e){if(Ux(n,h))return{changes:{insert:e+e,from:h},effects:fl.of(h+e.length),range:me.cursor(h+e.length)};if(Wb(n,h)){let O=t&&n.sliceDoc(h,h+e.length*3)==e+e+e;return{range:me.cursor(h+e.length*(O?3:1)),effects:B1.of(h)}}}else{if(t&&n.sliceDoc(h-2*e.length,h)==e+e&&(p=Zx(n,h-2*e.length,r))>-1&&Ux(n,p))return{changes:{insert:e+e+e+e,from:h},effects:fl.of(h+e.length),range:me.cursor(h+e.length)};if(n.charCategorizer(h)(f)!=jt.Word&&Zx(n,h,r)>-1&&!aI(n,h,e,r))return{changes:{insert:e+e,from:h},effects:fl.of(h+e.length),range:me.cursor(h+e.length)}}return{range:s=a}});return s?null:n.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function Ux(n,e){let t=si(n).resolveInner(e+1);return t.parent&&t.from==e}function aI(n,e,t,i){let r=si(n).resolveInner(e,-1),s=i.reduce((o,a)=>Math.max(o,a.length),0);for(let o=0;o<5;o++){let a=n.sliceDoc(r.from,Math.min(r.to,r.from+t.length+s)),h=a.indexOf(t);if(!h||h>-1&&i.indexOf(a.slice(0,h))>-1){let p=r.firstChild;for(;p&&p.from==r.from&&p.to-p.from>t.length+h;){if(n.sliceDoc(p.to-t.length,p.to)==t)return!1;p=p.firstChild}return!0}let f=r.to==e&&r.parent;if(!f)break;r=f}return!1}function Zx(n,e,t){let i=n.charCategorizer(e);if(i(n.sliceDoc(e-1,e))!=jt.Word)return e;for(let r of t){let s=e-r.length;if(n.sliceDoc(s,e)==r&&i(n.sliceDoc(s-1,s))!=jt.Word)return s}return-1}function uI(n={}){return[yr,kr.of(n),HL,hI,jL]}const zb=[{key:"Ctrl-Space",run:qL},{key:"Escape",run:UL},{key:"ArrowDown",run:Pf(!0)},{key:"ArrowUp",run:Pf(!1)},{key:"PageDown",run:Pf(!0,"page")},{key:"PageUp",run:Pf(!1,"page")},{key:"Enter",run:YL}],hI=Fa.highest(sp.computeN([kr],n=>n.facet(kr).defaultKeymap?[zb]:[])),cI=n=>{let e=U1(n.state);return e.line?fI(n):e.block?pI(n):!1};function q1(n,e){return({state:t,dispatch:i})=>{if(t.readOnly)return!1;let r=n(e,t);return r?(i(t.update(r)),!0):!1}}const fI=q1(mI,0),dI=q1(Lb,0),pI=q1((n,e)=>Lb(n,e,gI(e)),0);function U1(n,e=n.selection.main.head){let t=n.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const Xu=50;function OI(n,{open:e,close:t},i,r){let s=n.sliceDoc(i-Xu,i),o=n.sliceDoc(r,r+Xu),a=/\s*$/.exec(s)[0].length,h=/^\s*/.exec(o)[0].length,f=s.length-a;if(s.slice(f-e.length,f)==e&&o.slice(h,h+t.length)==t)return{open:{pos:i-a,margin:a&&1},close:{pos:r+h,margin:h&&1}};let p,O;r-i<=2*Xu?p=O=n.sliceDoc(i,r):(p=n.sliceDoc(i,i+Xu),O=n.sliceDoc(r-Xu,r));let v=/^\s*/.exec(p)[0].length,x=/\s*$/.exec(O)[0].length,Q=O.length-x-t.length;return p.slice(v,v+e.length)==e&&O.slice(Q,Q+t.length)==t?{open:{pos:i+v+e.length,margin:/\s/.test(p.charAt(v+e.length))?1:0},close:{pos:r-x-t.length,margin:/\s/.test(O.charAt(Q-1))?1:0}}:null}function gI(n){let e=[];for(let t of n.selection.ranges){let i=n.doc.lineAt(t.from),r=t.to<=i.to?i:n.doc.lineAt(t.to),s=e.length-1;s>=0&&e[s].to>i.from?e[s].to=r.to:e.push({from:i.from,to:r.to})}return e}function Lb(n,e,t=e.selection.ranges){let i=t.map(s=>U1(e,s.from).block);if(!i.every(s=>s))return null;let r=t.map((s,o)=>OI(e,i[o],s.from,s.to));if(n!=2&&!r.every(s=>s))return{changes:e.changes(t.map((s,o)=>r[o]?[]:[{from:s.from,insert:i[o].open+" "},{from:s.to,insert:" "+i[o].close}]))};if(n!=1&&r.some(s=>s)){let s=[];for(let o=0,a;or&&(s==o||o>p.from)){r=p.from;let O=U1(e,f).line;if(!O)continue;let v=/^\s*/.exec(p.text)[0].length,x=v==p.length,Q=p.text.slice(v,v+O.length)==O?v:-1;vs.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:a,token:h,indent:f,empty:p,single:O}of i)(O||!p)&&s.push({from:a.from+f,insert:h+" "});let o=e.changes(s);return{changes:o,selection:e.selection.map(o,1)}}else if(n!=1&&i.some(s=>s.comment>=0)){let s=[];for(let{line:o,comment:a,token:h}of i)if(a>=0){let f=o.from+a,p=f+h.length;o.text[p-o.from]==" "&&p++,s.push({from:f,to:p})}return{changes:s}}return null}const O0=To.define(),yI=To.define(),vI=Ue.define(),Ib=Ue.define({combine(n){return cs(n,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}});function SI(n){let e=0;return n.iterChangedRanges((t,i)=>e=i),e}const Vb=kn.define({create(){return ss.empty},update(n,e){let t=e.state.facet(Ib),i=e.annotation(O0);if(i){let h=e.docChanged?me.single(SI(e.changes)):void 0,f=Mi.fromTransaction(e,h),p=i.side,O=p==0?n.undone:n.done;return f?O=Gd(O,O.length,t.minDepth,f):O=Yb(O,e.startState.selection),new ss(p==0?i.rest:O,p==0?O:i.rest)}let r=e.annotation(yI);if((r=="full"||r=="before")&&(n=n.isolate()),e.annotation(Rn.addToHistory)===!1)return e.changes.empty?n:n.addMapping(e.changes.desc);let s=Mi.fromTransaction(e),o=e.annotation(Rn.time),a=e.annotation(Rn.userEvent);return s?n=n.addChanges(s,o,a,t.newGroupDelay,t.minDepth):e.selection&&(n=n.addSelection(e.startState.selection,o,a,t.newGroupDelay)),(r=="full"||r=="after")&&(n=n.isolate()),n},toJSON(n){return{done:n.done.map(e=>e.toJSON()),undone:n.undone.map(e=>e.toJSON())}},fromJSON(n){return new ss(n.done.map(Mi.fromJSON),n.undone.map(Mi.fromJSON))}});function Db(n={}){return[Vb,Ib.of(n),qe.domEventHandlers({beforeinput(e,t){let i=e.inputType=="historyUndo"?Nb:e.inputType=="historyRedo"?g0:null;return i?(e.preventDefault(),i(t)):!1}})]}function bp(n,e){return function({state:t,dispatch:i}){if(!e&&t.readOnly)return!1;let r=t.field(Vb,!1);if(!r)return!1;let s=r.pop(n,t,e);return s?(i(s),!0):!1}}const Nb=bp(0,!1),g0=bp(1,!1),wI=bp(0,!0),xI=bp(1,!0);class Mi{constructor(e,t,i,r,s){this.changes=e,this.effects=t,this.mapped=i,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new Mi(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new Mi(e.changes&&An.fromJSON(e.changes),[],e.mapped&&os.fromJSON(e.mapped),e.startSelection&&me.fromJSON(e.startSelection),e.selectionsAfter.map(me.fromJSON))}static fromTransaction(e,t){let i=Sr;for(let r of e.startState.facet(vI)){let s=r(e);s.length&&(i=i.concat(s))}return!i.length&&e.changes.empty?null:new Mi(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,Sr)}static selection(e){return new Mi(void 0,Sr,void 0,void 0,e)}}function Gd(n,e,t,i){let r=e+1>t+20?e-t-1:0,s=n.slice(r,e);return s.push(i),s}function PI(n,e){let t=[],i=!1;return n.iterChangedRanges((r,s)=>t.push(r,s)),e.iterChangedRanges((r,s,o,a)=>{for(let h=0;h=f&&o<=p&&(i=!0)}}),i}function kI(n,e){return n.ranges.length==e.ranges.length&&n.ranges.filter((t,i)=>t.empty!=e.ranges[i].empty).length===0}function Bb(n,e){return n.length?e.length?n.concat(e):n:e}const Sr=[],_I=200;function Yb(n,e){if(n.length){let t=n[n.length-1],i=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-_I));return i.length&&i[i.length-1].eq(e)?n:(i.push(e),Gd(n,n.length-1,1e9,t.setSelAfter(i)))}else return[Mi.selection([e])]}function QI(n){let e=n[n.length-1],t=n.slice();return t[n.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function Ag(n,e){if(!n.length)return n;let t=n.length,i=Sr;for(;t;){let r=bI(n[t-1],e,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=n.slice(0,t);return s[t-1]=r,s}else e=r.mapped,t--,i=r.selectionsAfter}return i.length?[Mi.selection(i)]:Sr}function bI(n,e,t){let i=Bb(n.selectionsAfter.length?n.selectionsAfter.map(a=>a.map(e)):Sr,t);if(!n.changes)return Mi.selection(i);let r=n.changes.map(e),s=e.mapDesc(n.changes,!0),o=n.mapped?n.mapped.composeDesc(s):s;return new Mi(r,lt.mapEffects(n.effects,e),o,n.startSelection.map(s),i)}const EI=/^(input\.type|delete)($|\.)/;class ss{constructor(e,t,i=0,r=void 0){this.done=e,this.undone=t,this.prevTime=i,this.prevUserEvent=r}isolate(){return this.prevTime?new ss(this.done,this.undone):this}addChanges(e,t,i,r,s){let o=this.done,a=o[o.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!i||EI.test(i))&&(!a.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?n.moveByChar(t,e):Ep(t,e))}function li(n){return n.textDirectionAt(n.state.selection.main.head)==ln.LTR}const Zb=n=>Ub(n,!li(n)),Fb=n=>Ub(n,li(n));function Gb(n,e){return Nr(n,t=>t.empty?n.moveByGroup(t,e):Ep(t,e))}const $I=n=>Gb(n,!li(n)),CI=n=>Gb(n,li(n));function TI(n,e,t){if(e.type.prop(t))return!0;let i=e.to-e.from;return i&&(i>2||/[^\s,.;:]/.test(n.sliceDoc(e.from,e.to)))||e.firstChild}function $p(n,e,t){let i=si(n).resolveInner(e.head),r=t?gt.closedBy:gt.openedBy;for(let h=e.head;;){let f=t?i.childAfter(h):i.childBefore(h);if(!f)break;TI(n,f,r)?i=f:h=t?f.to:f.from}let s=i.type.prop(r),o,a;return s&&(o=t?is(n,i.from,1):is(n,i.to,-1))&&o.matched?a=t?o.end.to:o.end.from:a=t?i.to:i.from,me.cursor(a,t?-1:1)}const AI=n=>Nr(n,e=>$p(n.state,e,!li(n))),RI=n=>Nr(n,e=>$p(n.state,e,li(n)));function Hb(n,e){return Nr(n,t=>{if(!t.empty)return Ep(t,e);let i=n.moveVertically(t,e);return i.head!=t.head?i:n.moveToLineBoundary(t,e)})}const jb=n=>Hb(n,!1),Kb=n=>Hb(n,!0);function Jb(n){return Math.max(n.defaultLineHeight,Math.min(n.dom.clientHeight,innerHeight)-5)}function e2(n,e){let{state:t}=n,i=Ja(t.selection,a=>a.empty?n.moveVertically(a,e,Jb(n)):Ep(a,e));if(i.eq(t.selection))return!1;let r=n.coordsAtPos(t.selection.main.head),s=n.scrollDOM.getBoundingClientRect(),o;return r&&r.top>s.top&&r.bottome2(n,!1),m0=n=>e2(n,!0);function Mo(n,e,t){let i=n.lineBlockAt(e.head),r=n.moveToLineBoundary(e,t);if(r.head==e.head&&r.head!=(t?i.to:i.from)&&(r=n.moveToLineBoundary(e,t,!1)),!t&&r.head==i.from&&i.length){let s=/^\s*/.exec(n.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&e.head!=i.from+s&&(r=me.cursor(i.from+s))}return r}const XI=n=>Nr(n,e=>Mo(n,e,!0)),MI=n=>Nr(n,e=>Mo(n,e,!1)),WI=n=>Nr(n,e=>Mo(n,e,!li(n))),zI=n=>Nr(n,e=>Mo(n,e,li(n))),LI=n=>Nr(n,e=>me.cursor(n.lineBlockAt(e.head).from,1)),II=n=>Nr(n,e=>me.cursor(n.lineBlockAt(e.head).to,-1));function VI(n,e,t){let i=!1,r=Ja(n.selection,s=>{let o=is(n,s.head,-1)||is(n,s.head,1)||s.head>0&&is(n,s.head-1,1)||s.headVI(n,e,!1);function _r(n,e){let t=Ja(n.state.selection,i=>{let r=e(i);return me.range(i.anchor,r.head,r.goalColumn)});return t.eq(n.state.selection)?!1:(n.dispatch(fs(n.state,t)),!0)}function t2(n,e){return _r(n,t=>n.moveByChar(t,e))}const n2=n=>t2(n,!li(n)),i2=n=>t2(n,li(n));function r2(n,e){return _r(n,t=>n.moveByGroup(t,e))}const NI=n=>r2(n,!li(n)),BI=n=>r2(n,li(n)),YI=n=>_r(n,e=>$p(n.state,e,!li(n))),qI=n=>_r(n,e=>$p(n.state,e,li(n)));function s2(n,e){return _r(n,t=>n.moveVertically(t,e))}const o2=n=>s2(n,!1),l2=n=>s2(n,!0);function a2(n,e){return _r(n,t=>n.moveVertically(t,e,Jb(n)))}const Gx=n=>a2(n,!1),Hx=n=>a2(n,!0),UI=n=>_r(n,e=>Mo(n,e,!0)),ZI=n=>_r(n,e=>Mo(n,e,!1)),FI=n=>_r(n,e=>Mo(n,e,!li(n))),GI=n=>_r(n,e=>Mo(n,e,li(n))),HI=n=>_r(n,e=>me.cursor(n.lineBlockAt(e.head).from)),jI=n=>_r(n,e=>me.cursor(n.lineBlockAt(e.head).to)),jx=({state:n,dispatch:e})=>(e(fs(n,{anchor:0})),!0),Kx=({state:n,dispatch:e})=>(e(fs(n,{anchor:n.doc.length})),!0),Jx=({state:n,dispatch:e})=>(e(fs(n,{anchor:n.selection.main.anchor,head:0})),!0),eP=({state:n,dispatch:e})=>(e(fs(n,{anchor:n.selection.main.anchor,head:n.doc.length})),!0),KI=({state:n,dispatch:e})=>(e(n.update({selection:{anchor:0,head:n.doc.length},userEvent:"select"})),!0),JI=({state:n,dispatch:e})=>{let t=Tp(n).map(({from:i,to:r})=>me.range(i,Math.min(r+1,n.doc.length)));return e(n.update({selection:me.create(t),userEvent:"select"})),!0},eV=({state:n,dispatch:e})=>{let t=Ja(n.selection,i=>{var r;let s=si(n).resolveInner(i.head,1);for(;!(s.from=i.to||s.to>i.to&&s.from<=i.from||!(!((r=s.parent)===null||r===void 0)&&r.parent));)s=s.parent;return me.range(s.to,s.from)});return e(fs(n,t)),!0},tV=({state:n,dispatch:e})=>{let t=n.selection,i=null;return t.ranges.length>1?i=me.create([t.main]):t.main.empty||(i=me.create([me.cursor(t.main.head)])),i?(e(fs(n,i)),!0):!1};function Cp(n,e){if(n.state.readOnly)return!1;let t="delete.selection",{state:i}=n,r=i.changeByRange(s=>{let{from:o,to:a}=s;if(o==a){let h=e(o);ho&&(t="delete.forward",h=kf(n,h,!0)),o=Math.min(o,h),a=Math.max(a,h)}else o=kf(n,o,!1),a=kf(n,a,!0);return o==a?{range:s}:{changes:{from:o,to:a},range:me.cursor(o)}});return r.changes.empty?!1:(n.dispatch(i.update(r,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?qe.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function kf(n,e,t){if(n instanceof qe)for(let i of n.state.facet(qe.atomicRanges).map(r=>r(n)))i.between(e,e,(r,s)=>{re&&(e=t?s:r)});return e}const u2=(n,e)=>Cp(n,t=>{let{state:i}=n,r=i.doc.lineAt(t),s,o;if(!e&&t>r.from&&tu2(n,!1),h2=n=>u2(n,!0),c2=(n,e)=>Cp(n,t=>{let i=t,{state:r}=n,s=r.doc.lineAt(i),o=r.charCategorizer(i);for(let a=null;;){if(i==(e?s.to:s.from)){i==t&&s.number!=(e?r.doc.lines:1)&&(i+=e?1:-1);break}let h=mi(s.text,i-s.from,e)+s.from,f=s.text.slice(Math.min(i,h)-s.from,Math.max(i,h)-s.from),p=o(f);if(a!=null&&p!=a)break;(f!=" "||i!=t)&&(a=p),i=h}return i}),f2=n=>c2(n,!1),nV=n=>c2(n,!0),d2=n=>Cp(n,e=>{let t=n.lineBlockAt(e).to;return eCp(n,e=>{let t=n.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),rV=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=n.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:$t.of(["",""])},range:me.cursor(i.from)}));return e(n.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},sV=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=n.changeByRange(i=>{if(!i.empty||i.from==0||i.from==n.doc.length)return{range:i};let r=i.from,s=n.doc.lineAt(r),o=r==s.from?r-1:mi(s.text,r-s.from,!1)+s.from,a=r==s.to?r+1:mi(s.text,r-s.from,!0)+s.from;return{changes:{from:o,to:a,insert:n.doc.slice(r,a).append(n.doc.slice(o,r))},range:me.cursor(a)}});return t.changes.empty?!1:(e(n.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Tp(n){let e=[],t=-1;for(let i of n.selection.ranges){let r=n.doc.lineAt(i.from),s=n.doc.lineAt(i.to);if(!i.empty&&i.to==s.from&&(s=n.doc.lineAt(i.to-1)),t>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(i)}else e.push({from:r.from,to:s.to,ranges:[i]});t=s.number+1}return e}function p2(n,e,t){if(n.readOnly)return!1;let i=[],r=[];for(let s of Tp(n)){if(t?s.to==n.doc.length:s.from==0)continue;let o=n.doc.lineAt(t?s.to+1:s.from-1),a=o.length+1;if(t){i.push({from:s.to,to:o.to},{from:s.from,insert:o.text+n.lineBreak});for(let h of s.ranges)r.push(me.range(Math.min(n.doc.length,h.anchor+a),Math.min(n.doc.length,h.head+a)))}else{i.push({from:o.from,to:s.from},{from:s.to,insert:n.lineBreak+o.text});for(let h of s.ranges)r.push(me.range(h.anchor-a,h.head-a))}}return i.length?(e(n.update({changes:i,scrollIntoView:!0,selection:me.create(r,n.selection.mainIndex),userEvent:"move.line"})),!0):!1}const oV=({state:n,dispatch:e})=>p2(n,e,!1),lV=({state:n,dispatch:e})=>p2(n,e,!0);function O2(n,e,t){if(n.readOnly)return!1;let i=[];for(let r of Tp(n))t?i.push({from:r.from,insert:n.doc.slice(r.from,r.to)+n.lineBreak}):i.push({from:r.to,insert:n.lineBreak+n.doc.slice(r.from,r.to)});return e(n.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const aV=({state:n,dispatch:e})=>O2(n,e,!1),uV=({state:n,dispatch:e})=>O2(n,e,!0),hV=n=>{if(n.state.readOnly)return!1;let{state:e}=n,t=e.changes(Tp(e).map(({from:r,to:s})=>(r>0?r--:sn.moveVertically(r,!0)).map(t);return n.dispatch({changes:t,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function cV(n,e){if(/\(\)|\[\]|\{\}/.test(n.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=si(n).resolveInner(e),i=t.childBefore(e),r=t.childAfter(e),s;return i&&r&&i.to<=e&&r.from>=e&&(s=i.type.prop(gt.closedBy))&&s.indexOf(r.name)>-1&&n.doc.lineAt(i.to).from==n.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}const fV=g2(!1),dV=g2(!0);function g2(n){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=e.changeByRange(r=>{let{from:s,to:o}=r,a=e.doc.lineAt(s),h=!n&&s==o&&cV(e,s);n&&(s=o=(o<=a.to?a:e.doc.lineAt(o)).to);let f=new lp(e,{simulateBreak:s,simulateDoubleBreak:!!h}),p=I0(f,s);for(p==null&&(p=/^\s*/.exec(e.doc.lineAt(s).text)[0].length);oa.from&&s{let r=[];for(let o=i.from;o<=i.to;){let a=n.doc.lineAt(o);a.number>t&&(i.empty||i.to>a.from)&&(e(a,r,i),t=a.number),o=a.to+1}let s=n.changes(r);return{changes:r,range:me.range(s.mapPos(i.anchor,1),s.mapPos(i.head,1))}})}const pV=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=Object.create(null),i=new lp(n,{overrideIndentation:s=>{let o=t[s];return o??-1}}),r=Z1(n,(s,o,a)=>{let h=I0(i,s.from);if(h==null)return;/\S/.test(s.text)||(h=0);let f=/^\s*/.exec(s.text)[0],p=ph(n,h);(f!=p||a.fromn.readOnly?!1:(e(n.update(Z1(n,(t,i)=>{i.push({from:t.from,insert:n.facet(op)})}),{userEvent:"input.indent"})),!0),gV=({state:n,dispatch:e})=>n.readOnly?!1:(e(n.update(Z1(n,(t,i)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let s=Xh(r,n.tabSize),o=0,a=ph(n,Math.max(0,s-yd(n)));for(;o({mac:n.key,run:n.run,shift:n.shift}))),m2=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:AI,shift:YI},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:RI,shift:qI},{key:"Alt-ArrowUp",run:oV},{key:"Shift-Alt-ArrowUp",run:aV},{key:"Alt-ArrowDown",run:lV},{key:"Shift-Alt-ArrowDown",run:uV},{key:"Escape",run:tV},{key:"Mod-Enter",run:dV},{key:"Alt-l",mac:"Ctrl-l",run:JI},{key:"Mod-i",run:eV,preventDefault:!0},{key:"Mod-[",run:gV},{key:"Mod-]",run:OV},{key:"Mod-Alt-\\",run:pV},{key:"Shift-Mod-k",run:hV},{key:"Shift-Mod-\\",run:DI},{key:"Mod-/",run:cI},{key:"Alt-A",run:dI}].concat(yV);function Dt(){var n=arguments[0];typeof n=="string"&&(n=document.createElement(n));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var r=t[i];typeof r=="string"?n.setAttribute(i,r):r!=null&&(n[i]=r)}e++}for(;ea.from==a.to||a.from==a.to-1&&i.doc.lineAt(a.from).to==a.from?Ge.widget({widget:new $V(a),diagnostic:a}).range(a.from):Ge.mark({attributes:{class:"cm-lintRange cm-lintRange-"+a.severity},diagnostic:a}).range(a.from,a.to)),!0);return new ll(o,t,Ua(o))}}function Ua(n,e=null,t=0){let i=null;return n.between(t,1e9,(r,s,{spec:o})=>{if(!(e&&o.diagnostic!=e))return i=new vV(r,s,o.diagnostic),!1}),i}function SV(n,e){return!!(n.effects.some(t=>t.is(F1))||n.changes.touchesRange(e.pos))}function v2(n,e){return n.field(nr,!1)?e:e.concat(lt.appendConfig.of([nr,qe.decorations.compute([nr],t=>{let{selected:i,panel:r}=t.field(nr);return!i||!r||i.from==i.to?Ge.none:Ge.set([xV.range(i.from,i.to)])}),p3(PV,{hideOn:SV}),TV]))}function wV(n,e){return{effects:v2(n,[F1.of(e)])}}const F1=lt.define(),G1=lt.define(),S2=lt.define(),nr=kn.define({create(){return new ll(Ge.none,null,null)},update(n,e){if(e.docChanged){let t=n.diagnostics.map(e.changes),i=null;if(n.selected){let r=e.changes.mapPos(n.selected.from,1);i=Ua(t,n.selected.diagnostic,r)||Ua(t,null,r)}n=new ll(t,n.panel,i)}for(let t of e.effects)t.is(F1)?n=ll.init(t.value,n.panel,e.state):t.is(G1)?n=new ll(n.diagnostics,t.value?Ap.open:null,n.selected):t.is(S2)&&(n=new ll(n.diagnostics,n.panel,t.value));return n},provide:n=>[dh.from(n,e=>e.panel),qe.decorations.from(n,e=>e.diagnostics)]}),xV=Ge.mark({class:"cm-lintRange cm-lintRange-active"});function PV(n,e,t){let{diagnostics:i}=n.state.field(nr),r=[],s=2e8,o=0;i.between(e-(t<0?1:0),e+(t>0?1:0),(h,f,{spec:p})=>{e>=h&&e<=f&&(h==f||(e>h||t>0)&&(ex2(n,t,!1)))}const _V=n=>{let e=n.state.field(nr,!1);(!e||!e.panel)&&n.dispatch({effects:v2(n.state,[G1.of(!0)])});let t=fh(n,Ap.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},tP=n=>{let e=n.state.field(nr,!1);return!e||!e.panel?!1:(n.dispatch({effects:G1.of(!1)}),!0)},QV=n=>{let e=n.state.field(nr,!1);if(!e)return!1;let t=n.state.selection.main,i=e.diagnostics.iter(t.to+1);return!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==t.from&&i.to==t.to)?!1:(n.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},bV=[{key:"Mod-Shift-m",run:_V},{key:"F8",run:QV}],EV=Pn.fromClass(class{constructor(n){this.view=n,this.timeout=-1,this.set=!0;let{delay:e}=n.state.facet(Sa);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){let n=Date.now();if(nPromise.resolve(i(this.view)))).then(i=>{let r=i.reduce((s,o)=>s.concat(o));this.view.state.doc==e.doc&&this.view.dispatch(wV(this.view.state,r))},i=>{ir(this.view.state,i)})}}update(n){let e=n.state.facet(Sa);(n.docChanged||e!=n.startState.facet(Sa))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),Sa=Ue.define({combine(n){return Object.assign({sources:n.map(e=>e.source)},cs(n.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:EV});function w2(n){let e=[];if(n)e:for(let{name:t}of n){for(let i=0;is.toLowerCase()==r.toLowerCase())){e.push(r);continue e}}e.push("")}return e}function x2(n,e,t){var i;let r=t?w2(e.actions):[];return Dt("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Dt("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(i=e.actions)===null||i===void 0?void 0:i.map((s,o)=>{let a=O=>{O.preventDefault();let v=Ua(n.state.field(nr).diagnostics,e);v&&s.apply(n,v.from,v.to)},{name:h}=s,f=r[o]?h.indexOf(r[o]):-1,p=f<0?h:[h.slice(0,f),Dt("u",h.slice(f,f+1)),h.slice(f+1)];return Dt("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${h}${f<0?"":` (access key "${r[o]})"`}.`},p)}),e.source&&Dt("div",{class:"cm-diagnosticSource"},e.source))}class $V extends Dr{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Dt("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class nP{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=x2(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Ap{constructor(e){this.view=e,this.items=[];let t=r=>{if(r.keyCode==27)tP(this.view),this.view.focus();else if(r.keyCode==38||r.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(r.keyCode==40||r.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(r.keyCode==36)this.moveSelection(0);else if(r.keyCode==35)this.moveSelection(this.items.length-1);else if(r.keyCode==13)this.view.focus();else if(r.keyCode>=65&&r.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],o=w2(s.actions);for(let a=0;a{for(let s=0;stP(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(nr).selected;if(!e)return-1;for(let t=0;t{let f=-1,p;for(let O=i;Oi&&(this.items.splice(i,f-i),r=!0)),t&&p.diagnostic==t.diagnostic?p.dom.hasAttribute("aria-selected")||(p.dom.setAttribute("aria-selected","true"),s=p):p.dom.hasAttribute("aria-selected")&&p.dom.removeAttribute("aria-selected"),i++});i({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:o,panel:a})=>{o.topa.bottom&&(this.list.scrollTop+=o.bottom-a.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let i=e;e=i.nextSibling,i.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;e!=i.dom;)t();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(nr),i=Ua(t.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:S2.of(i)})}static open(e){return new Ap(e)}}function CV(n,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(n)}')`}function Rg(n){return CV(``,'width="6" height="3"')}const TV=qe.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Rg("#d11")},".cm-lintRange-warning":{backgroundImage:Rg("orange")},".cm-lintRange-info":{backgroundImage:Rg("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),iP=typeof String.prototype.normalize=="function"?n=>n.normalize("NFKD"):n=>n;class Za{constructor(e,t,i=0,r=e.length,s,o){this.test=o,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(i,r),this.bufferStart=i,this.normalize=s?a=>s(iP(a)):iP,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Yn(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=Q0(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=Ji(e);let r=this.normalize(t);for(let s=0,o=i;;s++){let a=r.charCodeAt(s),h=this.match(a,o);if(h)return this.value=h,this;if(s==r.length-1)break;o==i&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let i=this.curLineStart+t.index,r=i+t[0].length;if(this.matchPos=Hd(this.text,r+(i==r?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(ithis.value.to)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=i||r.to<=t){let a=new Aa(t,e.sliceString(t,i));return Xg.set(e,a),a}if(r.from==t&&r.to==i)return r;let{text:s,from:o}=r;return o>t&&(s=e.sliceString(t,o)+s,o=t),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let i=this.flat.from+t.index,r=i+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this.matchPos=Hd(this.text,r+(i==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Aa.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(k2.prototype[Symbol.iterator]=_2.prototype[Symbol.iterator]=function(){return this});function AV(n){try{return new RegExp(n,H1),!0}catch{return!1}}function Hd(n,e){if(e>=n.length)return e;let t=n.lineAt(e),i;for(;e=56320&&i<57344;)e++;return e}function v0(n){let e=Dt("input",{class:"cm-textfield",name:"line"}),t=Dt("form",{class:"cm-gotoLine",onkeydown:r=>{r.keyCode==27?(r.preventDefault(),n.dispatch({effects:jd.of(!1)}),n.focus()):r.keyCode==13&&(r.preventDefault(),i())},onsubmit:r=>{r.preventDefault(),i()}},Dt("label",n.state.phrase("Go to line"),": ",e)," ",Dt("button",{class:"cm-button",type:"submit"},n.state.phrase("go")));function i(){let r=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!r)return;let{state:s}=n,o=s.doc.lineAt(s.selection.main.head),[,a,h,f,p]=r,O=f?+f.slice(1):0,v=h?+h:o.number;if(h&&p){let Q=v/100;a&&(Q=Q*(a=="-"?-1:1)+o.number/s.doc.lines),v=Math.round(s.doc.lines*Q)}else h&&a&&(v=v*(a=="-"?-1:1)+o.number);let x=s.doc.line(Math.max(1,Math.min(s.doc.lines,v)));n.dispatch({effects:jd.of(!1),selection:me.cursor(x.from+Math.max(0,Math.min(O,x.length))),scrollIntoView:!0}),n.focus()}return{dom:t}}const jd=lt.define(),rP=kn.define({create(){return!0},update(n,e){for(let t of e.effects)t.is(jd)&&(n=t.value);return n},provide:n=>dh.from(n,e=>e?v0:null)}),RV=n=>{let e=fh(n,v0);if(!e){let t=[jd.of(!0)];n.state.field(rP,!1)==null&&t.push(lt.appendConfig.of([rP,XV])),n.dispatch({effects:t}),e=fh(n,v0)}return e&&e.dom.querySelector("input").focus(),!0},XV=qe.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),MV={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Q2=Ue.define({combine(n){return cs(n,MV,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function WV(n){let e=[DV,VV];return n&&e.push(Q2.of(n)),e}const zV=Ge.mark({class:"cm-selectionMatch"}),LV=Ge.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function sP(n,e,t,i){return(t==0||n(e.sliceDoc(t-1,t))!=jt.Word)&&(i==e.doc.length||n(e.sliceDoc(i,i+1))!=jt.Word)}function IV(n,e,t,i){return n(e.sliceDoc(t,t+1))==jt.Word&&n(e.sliceDoc(i-1,i))==jt.Word}const VV=Pn.fromClass(class{constructor(n){this.decorations=this.getDeco(n)}update(n){(n.selectionSet||n.docChanged||n.viewportChanged)&&(this.decorations=this.getDeco(n.view))}getDeco(n){let e=n.state.facet(Q2),{state:t}=n,i=t.selection;if(i.ranges.length>1)return Ge.none;let r=i.main,s,o=null;if(r.empty){if(!e.highlightWordAroundCursor)return Ge.none;let h=t.wordAt(r.head);if(!h)return Ge.none;o=t.charCategorizer(r.head),s=t.sliceDoc(h.from,h.to)}else{let h=r.to-r.from;if(h200)return Ge.none;if(e.wholeWords){if(s=t.sliceDoc(r.from,r.to),o=t.charCategorizer(r.head),!(sP(o,t,r.from,r.to)&&IV(o,t,r.from,r.to)))return Ge.none}else if(s=t.sliceDoc(r.from,r.to).trim(),!s)return Ge.none}let a=[];for(let h of n.visibleRanges){let f=new Za(t.doc,s,h.from,h.to);for(;!f.next().done;){let{from:p,to:O}=f.value;if((!o||sP(o,t,p,O))&&(r.empty&&p<=r.from&&O>=r.to?a.push(LV.range(p,O)):(p>=r.to||O<=r.from)&&a.push(zV.range(p,O)),a.length>e.maxMatches))return Ge.none}}return Ge.set(a)}},{decorations:n=>n.decorations}),DV=qe.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),NV=({state:n,dispatch:e})=>{let{selection:t}=n,i=me.create(t.ranges.map(r=>n.wordAt(r.head)||me.cursor(r.head)),t.mainIndex);return i.eq(t)?!1:(e(n.update({selection:i})),!0)};function BV(n,e){let{main:t,ranges:i}=n.selection,r=n.wordAt(t.head),s=r&&r.from==t.from&&r.to==t.to;for(let o=!1,a=new Za(n.doc,e,i[i.length-1].to);;)if(a.next(),a.done){if(o)return null;a=new Za(n.doc,e,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(h=>h.from==a.value.from))continue;if(s){let h=n.wordAt(a.value.from);if(!h||h.from!=a.value.from||h.to!=a.value.to)continue}return a.value}}const YV=({state:n,dispatch:e})=>{let{ranges:t}=n.selection;if(t.some(s=>s.from===s.to))return NV({state:n,dispatch:e});let i=n.sliceDoc(t[0].from,t[0].to);if(n.selection.ranges.some(s=>n.sliceDoc(s.from,s.to)!=i))return!1;let r=BV(n,i);return r?(e(n.update({selection:n.selection.addRange(me.range(r.from,r.to),!1),effects:qe.scrollIntoView(r.to)})),!0):!1},j1=Ue.define({combine(n){return cs(n,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new nD(e)})}});class b2{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||AV(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,i)=>i=="n"?` +`);navigator.clipboard.writeText(e)}},K.createElement("i",{className:"fa fa-copy"})),QL=({container:n})=>{let[e,t]=pn.useState(!0);return pn.useEffect(()=>{e?n.classList.remove("show-hidden"):n.classList.add("show-hidden")},[e]),K.createElement("button",{className:"cm-button",onClick:()=>t(!e)},K.createElement("i",{className:`fa ${e?"fa-eye":"fa-eye-slash"}`}))},bL=qe.updateListener.of(n=>{n.docChanged&&n.view.dispatch({effects:[W1.setEffect.of([]),D1.setEffect.of([]),V1.setEffect.of([])]})});class EL{constructor(e,t,i=function(f){console.error("An error occurred: "),console.error(f)},r=bb,s=PL,o=!1,a="This code does not compile!",h=[]){Lt(this,"setup");Lt(this,"reportStdErr");Lt(this,"serverUrl");Lt(this,"noInteract");Lt(this,"shouldFailHtml");Lt(this,"buttonList");Lt(this,"view");Lt(this,"interpreterContainer");Lt(this,"editorContainer");Lt(this,"permissionsDecos");Lt(this,"metaContainer");Lt(this,"buttons");Lt(this,"shouldFail",!1);this.setup=t,this.reportStdErr=i,this.serverUrl=s,this.noInteract=o,this.shouldFailHtml=a,this.buttonList=h,this.buttons=new Set(h);let f=Pt.create({doc:r,extensions:[Lx.of(t),kL.of(Pt.readOnly.of(o)),qe.editable.of(!o),bL,t,vW(),op.of(" "),Gz,qz,W1.field,D1.field,V1.field]});this.editorContainer=document.createElement("div"),this.view=new qe({state:f,parent:this.editorContainer});let p=document.createElement("div");this.metaContainer=Sl.createRoot(p),this.renderMeta(),this.editorContainer.appendChild(p),this.interpreterContainer=document.createElement("div"),e.appendChild(this.editorContainer),e.appendChild(this.interpreterContainer)}renderMeta(){this.metaContainer.render(K.createElement("div",{className:"meta-container"},K.createElement("div",{className:"top-right"},Array.from(this.buttons).map((e,t)=>e=="copy"?K.createElement(_L,{key:t,view:this.view}):e=="eye"?K.createElement(QL,{key:t,container:this.editorContainer}):null)),this.shouldFail?K.createElement("div",{dangerouslySetInnerHTML:{__html:this.shouldFailHtml}}):null))}getCurrentCode(){return this.view.state.doc.toString()}reconfigure(e){this.view.dispatch({effects:[Lx.reconfigure([...e,this.setup])]})}removeIconField(e){this.view.dispatch({effects:[e.effectType.of([])]})}addPermissionsField(e,t,i){let r=t.map(s=>e.fromOutput(s,i));this.view.dispatch({effects:[e.effectType.of(r)]})}async renderPermissions(e){await this.renderOperation("permissions",{config:e}),zx(this.view,this.permissionsDecos,e)}async callBackendWithCode(e,t){let i=this.getCurrentCode(),r=new URL(e,this.serverUrl);return await(await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:i,config:t})})).json()}renderInterpreter(e,t,i){t&&t.hideCode&&(this.view.destroy(),this.metaContainer.unmount()),OL(this.view,this.interpreterContainer,e,t,i)}async renderOperation(e,{response:t,config:i,annotations:r}={}){if(console.debug(`Rendering operation: ${e}`),!t){let o=await this.callBackendWithCode(e,i);if(o.success)t=JSON.parse(o.stdout),this.reportStdErr({type:"ServerStderr",error:o.stderr});else return this.reportStdErr({type:"ServerStderr",error:o.stderr})}if(r&&r.hidden_lines&&r.hidden_lines.length>0&&(this.view.dispatch({effects:r.hidden_lines.map(o=>vb.of({line:o}))}),this.buttons.add("eye")),i!=null&&i.shouldFail&&(this.shouldFail=!0),this.renderMeta(),e=="interpreter")"Ok"in t?this.renderInterpreter(t.Ok,i,r==null?void 0:r.interp):this.reportStdErr(t.Err);else if(e=="permissions"){let o=t,a=[];for(var s of o)"Ok"in s?a.push(s.Ok):this.reportStdErr(s.Err);this.permissionsDecos=xL(this.view,a,r),zx(this.view,this.permissionsDecos,i)}}}class Eb{constructor(e,t,i){this.state=e,this.pos=t,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let t=si(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),i=Math.max(t.from,this.pos-250),r=t.text.slice(i-t.from,this.pos-t.from),s=r.search($b(e,!1));return s<0?null:{from:i+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function Ix(n){let e=Object.keys(n).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function $L(n){let e=Object.create(null),t=Object.create(null);for(let{label:r}of n){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[t,i]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:$L(e);return r=>{let s=r.matchBefore(i);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:t}:null}}class Vx{constructor(e,t,i){this.completion=e,this.source=t,this.match=i}}function wo(n){return n.selection.main.head}function $b(n,e){var t;let{source:i}=n,r=e&&i[0]!="^",s=i[i.length-1]!="$";return!r&&!s?n:new RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,(t=n.flags)!==null&&t!==void 0?t:n.ignoreCase?"i":"")}function TL(n,e,t,i){return Object.assign(Object.assign({},n.changeByRange(r=>{if(r==n.selection.main)return{changes:{from:t,to:i,insert:e},range:me.cursor(t+e.length)};let s=i-t;return!r.empty||s&&n.sliceDoc(r.from-s,r.from)!=n.sliceDoc(t,i)?{range:r}:{changes:{from:r.from-s,to:r.from,insert:e},range:me.cursor(r.from-s+e.length)}})),{userEvent:"input.complete"})}function Cb(n,e){const t=e.completion.apply||e.completion.label;let i=e.source;typeof t=="string"?n.dispatch(TL(n.state,t,i.from,i.to)):t(n,e.completion,i.from,i.to)}const Dx=new WeakMap;function AL(n){if(!Array.isArray(n))return n;let e=Dx.get(n);return e||Dx.set(n,e=CL(n)),e}class RL{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&B<=57||B>=97&&B<=122?2:B>=65&&B<=90?1:0:(J=Q0(B))!=J.toLowerCase()?1:J!=J.toUpperCase()?2:0;(!E||ae==1&&M||W==0&&ae!=0)&&(t[O]==B||i[O]==B&&(v=!0)?o[O++]=E:o.length&&(b=!1)),W=ae,E+=Ji(B)}return O==h&&o[0]==0&&b?this.result(-100+(v?-200:0),o,e):x==h&&Q==0?[-200-e.length,0,R]:a>-1?[-700-e.length,a,a+this.pattern.length]:x==h?[-200+-700-e.length,Q,R]:O==h?this.result(-100+(v?-200:0)+-700+(b?0:-1100),o,e):t.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,i){let r=[e-i.length],s=1;for(let o of t){let a=o+(this.astral?Ji(Yn(i,o)):1);s>1&&r[s-1]==o?r[s-1]=a:(r[s++]=o,r[s++]=a)}return r}}const kr=Ue.define({combine(n){return cs(n,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,optionClass:(e,t)=>i=>XL(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})}});function XL(n,e){return n?e?n+" "+e:n:e}function ML(n){let e=n.addToOptions.slice();return n.icons&&e.push({render(t){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),t.type&&i.classList.add(...t.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(t,i,r){let s=document.createElement("span");s.className="cm-completionLabel";let{label:o}=t,a=0;for(let h=1;ha&&s.appendChild(document.createTextNode(o.slice(a,f)));let O=s.appendChild(document.createElement("span"));O.appendChild(document.createTextNode(o.slice(f,p))),O.className="cm-completionMatchedText",a=p}return at.position-i.position).map(t=>t.render)}function Nx(n,e,t){if(n<=t)return{from:0,to:n};if(e<0&&(e=0),e<=n>>1){let r=Math.floor(e/t);return{from:r*t,to:(r+1)*t}}let i=Math.floor((n-e)/t);return{from:n-(i+1)*t,to:n-i*t}}class WL{constructor(e,t){this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:a=>this.positionInfo(a),key:this};let i=e.state.field(t),{options:r,selected:s}=i.open,o=e.state.facet(kr);this.optionContent=ML(o),this.optionClass=o.optionClass,this.range=Nx(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",a=>{for(let h=a.target,f;h&&h!=this.dom;h=h.parentNode)if(h.nodeName=="LI"&&(f=/-(\d+)$/.exec(h.id))&&+f[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}positioned(){this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=Nx(t.options.length,t.selected,this.view.state.facet(kr).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:i}=t.options[t.selected],{info:r}=i;if(!r)return;let s=typeof r=="string"?document.createTextNode(r):r(i);if(!s)return;"then"in s?s.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o)}).catch(o=>ir(this.view.state,o,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){let t=null;for(let i=this.list.firstChild,r=this.range.from;i;i=i.nextSibling,r++)r==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),t=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return t&&LL(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.ownerDocument.defaultView||window,i=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),s=e.getBoundingClientRect();if(s.top>Math.min(t.innerHeight,i.bottom)-10||s.bottom=r.height||Q>i.top?p=s.bottom-i.top+"px":O=i.bottom-s.top+"px"}return{top:p,bottom:O,maxWidth:f,class:h?o?"left-narrow":"right-narrow":a?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,i){const r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let s=i.from;snew WL(e,n)}function LL(n,e){let t=n.getBoundingClientRect(),i=e.getBoundingClientRect();i.topt.bottom&&(n.scrollTop+=i.bottom-t.bottom)}function Bx(n){return(n.boost||0)*100+(n.apply?10:0)+(n.info?5:0)+(n.type?1:0)}function IL(n,e){let t=[],i=0;for(let a of n)if(a.hasResult())if(a.result.filter===!1){let h=a.result.getMatch;for(let f of a.result.options){let p=[1e9-i++];if(h)for(let O of h(f))p.push(O);t.push(new Vx(f,a,p))}}else{let h=new RL(e.sliceDoc(a.from,a.to)),f;for(let p of a.result.options)(f=h.match(p.label))&&(p.boost!=null&&(f[0]+=p.boost),t.push(new Vx(p,a,f)))}let r=[],s=null,o=e.facet(kr).compareCompletions;for(let a of t.sort((h,f)=>f.match[0]-h.match[0]||o(h.completion,f.completion)))!s||s.label!=a.completion.label||s.detail!=a.completion.detail||s.type!=null&&a.completion.type!=null&&s.type!=a.completion.type||s.apply!=a.completion.apply?r.push(a):Bx(a.completion)>Bx(s)&&(r[r.length-1]=a),s=a.completion;return r}class ih{constructor(e,t,i,r,s){this.options=e,this.attrs=t,this.tooltip=i,this.timestamp=r,this.selected=s}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new ih(this.options,Yx(t,e),this.tooltip,this.timestamp,e)}static build(e,t,i,r,s){let o=IL(e,t);if(!o.length)return null;let a=t.facet(kr).selectOnOpen?0:-1;if(r&&r.selected!=a&&r.selected!=-1){let h=r.options[r.selected].completion;for(let f=0;ff.hasResult()?Math.min(h,f.from):h,1e8),create:zL(yr),above:s.aboveCursor},r?r.timestamp:Date.now(),a)}map(e){return new ih(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class Zd{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new Zd(NL,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,i=t.facet(kr),s=(i.override||t.languageDataAt("autocomplete",wo(t)).map(AL)).map(a=>(this.active.find(f=>f.source==a)||new Ai(a,this.active.some(f=>f.state!=0)?1:0)).update(e,i));s.length==this.active.length&&s.every((a,h)=>a==this.active[h])&&(s=this.active);let o=e.selection||s.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!VL(s,this.active)?ih.build(s,t,this.id,this.open,i):this.open&&e.docChanged?this.open.map(e.changes):this.open;!o&&s.every(a=>a.state!=1)&&s.some(a=>a.hasResult())&&(s=s.map(a=>a.hasResult()?new Ai(a.source,0):a));for(let a of e.effects)a.is(Ab)&&(o=o&&o.setSelected(a.value,this.id));return s==this.active&&o==this.open?this:new Zd(s,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:DL}}function VL(n,e){if(n==e)return!0;for(let t=0,i=0;;){for(;t-1&&(t["aria-activedescendant"]=n+"-"+e),t}const NL=[];function p0(n){return n.isUserEvent("input.type")?"input":n.isUserEvent("delete.backward")?"delete":null}class Ai{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=p0(e),r=this;i?r=r.handleUserEvent(e,i,t):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new Ai(r.source,0));for(let s of e.effects)if(s.is(N1))r=new Ai(r.source,1,s.value?wo(e.state):-1);else if(s.is(Fd))r=new Ai(r.source,0);else if(s.is(Tb))for(let o of s.value)o.source==r.source&&(r=o);return r}handleUserEvent(e,t,i){return t=="delete"||!i.activateOnTyping?this.map(e.changes):new Ai(this.source,1)}handleChange(e){return e.changes.touchesRange(wo(e.startState))?new Ai(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Ai(this.source,this.state,e.mapPos(this.explicitPos))}}class rh extends Ai{constructor(e,t,i,r,s){super(e,2,t),this.result=i,this.from=r,this.to=s}hasResult(){return!0}handleUserEvent(e,t,i){var r;let s=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),a=wo(e.state);if((this.explicitPos<0?a<=s:ao||t=="delete"&&wo(e.startState)==this.from)return new Ai(this.source,t=="input"&&i.activateOnTyping?1:0);let h=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),f;return BL(this.result.validFor,e.state,s,o)?new rh(this.source,h,this.result,s,o):this.result.update&&(f=this.result.update(this.result,s,o,new Eb(e.state,a,h>=0)))?new rh(this.source,h,f,f.from,(r=f.to)!==null&&r!==void 0?r:wo(e.state)):new Ai(this.source,1,h)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Ai(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new rh(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function BL(n,e,t,i){if(!n)return!1;let r=e.sliceDoc(t,i);return typeof n=="function"?n(r,t,i,e):$b(n,!0).test(r)}const N1=lt.define(),Fd=lt.define(),Tb=lt.define({map(n,e){return n.map(t=>t.map(e))}}),Ab=lt.define(),yr=kn.define({create(){return Zd.start()},update(n,e){return n.update(e)},provide:n=>[z0.from(n,e=>e.tooltip),qe.contentAttributes.from(n,e=>e.attrs)]});function Pf(n,e="option"){return t=>{let i=t.state.field(yr,!1);if(!i||!i.open||Date.now()-i.open.timestamp-1?i.open.selected+r*(n?1:-1):n?0:o-1;return a<0?a=e=="page"?0:o-1:a>=o&&(a=e=="page"?o-1:0),t.dispatch({effects:Ab.of(a)}),!0}}const YL=n=>{let e=n.state.field(yr,!1);return n.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestampn.state.field(yr,!1)?(n.dispatch({effects:N1.of(!0)}),!0):!1,UL=n=>{let e=n.state.field(yr,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(n.dispatch({effects:Fd.of(null)}),!0)};class ZL{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const qx=50,FL=50,GL=1e3,HL=Pn.fromClass(class{constructor(n){this.view=n,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of n.state.field(yr).active)e.state==1&&this.startQuery(e)}update(n){let e=n.state.field(yr);if(!n.selectionSet&&!n.docChanged&&n.startState.field(yr)==e)return;let t=n.transactions.some(i=>(i.selection||i.docChanged)&&!p0(i));for(let i=0;iFL&&Date.now()-r.time>GL){for(let s of r.context.abortListeners)try{s()}catch(o){ir(this.view.state,o)}r.context.abortListeners=null,this.running.splice(i--,1)}else r.updates.push(...n.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(i=>i.state==1&&!this.running.some(r=>r.active.source==i.source))?setTimeout(()=>this.startUpdate(),qx):-1,this.composing!=0)for(let i of n.transactions)p0(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:n}=this.view,e=n.field(yr);for(let t of e.active)t.state==1&&!this.running.some(i=>i.active.source==t.source)&&this.startQuery(t)}startQuery(n){let{state:e}=this.view,t=wo(e),i=new Eb(e,t,n.explicitPos==t),r=new ZL(n,i);this.running.push(r),Promise.resolve(n.source(i)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Fd.of(null)}),ir(this.view.state,s)})}scheduleAccept(){this.running.every(n=>n.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),qx))}accept(){var n;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(kr);for(let i=0;io.source==r.active.source);if(s&&s.state==1)if(r.done==null){let o=new Ai(r.active.source,0);for(let a of r.updates)o=o.update(a,t);o.state!=1&&e.push(o)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:Tb.of(e)})}},{eventHandlers:{blur(){let n=this.view.state.field(yr,!1);n&&n.tooltip&&this.view.state.facet(kr).closeOnBlur&&this.view.dispatch({effects:Fd.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:N1.of(!1)}),20),this.composing=0}}}),jL=qe.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),Ah={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},fl=lt.define({map(n,e){let t=e.mapPos(n,-1,gi.TrackAfter);return t??void 0}}),B1=lt.define({map(n,e){return e.mapPos(n)}}),Y1=new class extends ml{};Y1.startSide=1;Y1.endSide=-1;const Rb=kn.define({create(){return Qt.empty},update(n,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,i=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(i,-1)&&(n=Qt.empty)}n=n.map(e.changes);for(let t of e.effects)t.is(fl)?n=n.update({add:[Y1.range(t.value,t.value+1)]}):t.is(B1)&&(n=n.update({filter:i=>i!=t.value}));return n}});function KL(){return[eI,Rb]}const Tg="()[]{}<>";function Xb(n){for(let e=0;e{if((JL?n.composing:n.compositionStarted)||n.state.readOnly)return!1;let r=n.state.selection.main;if(i.length>2||i.length==2&&Ji(Yn(i,0))==1||e!=r.from||t!=r.to)return!1;let s=iI(n.state,i);return s?(n.dispatch(s),!0):!1}),tI=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let i=Mb(n,n.selection.main.head).brackets||Ah.brackets,r=null,s=n.changeByRange(o=>{if(o.empty){let a=rI(n.doc,o.head);for(let h of i)if(h==a&&Qp(n.doc,o.head)==Xb(Yn(h,0)))return{changes:{from:o.head-h.length,to:o.head+h.length},range:me.cursor(o.head-h.length)}}return{range:r=o}});return r||e(n.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},nI=[{key:"Backspace",run:tI}];function iI(n,e){let t=Mb(n,n.selection.main.head),i=t.brackets||Ah.brackets;for(let r of i){let s=Xb(Yn(r,0));if(e==r)return s==r?lI(n,r,i.indexOf(r+r+r)>-1,t):sI(n,r,s,t.before||Ah.before);if(e==s&&Wb(n,n.selection.main.from))return oI(n,r,s)}return null}function Wb(n,e){let t=!1;return n.field(Rb).between(0,n.doc.length,i=>{i==e&&(t=!0)}),t}function Qp(n,e){let t=n.sliceString(e,e+2);return t.slice(0,Ji(Yn(t,0)))}function rI(n,e){let t=n.sliceString(e-2,e);return Ji(Yn(t,0))==t.length?t:t.slice(1)}function sI(n,e,t,i){let r=null,s=n.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:t,from:o.to}],effects:fl.of(o.to+e.length),range:me.range(o.anchor+e.length,o.head+e.length)};let a=Qp(n.doc,o.head);return!a||/\s/.test(a)||i.indexOf(a)>-1?{changes:{insert:e+t,from:o.head},effects:fl.of(o.head+e.length),range:me.cursor(o.head+e.length)}:{range:r=o}});return r?null:n.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function oI(n,e,t){let i=null,r=n.selection.ranges.map(s=>s.empty&&Qp(n.doc,s.head)==t?me.cursor(s.head+t.length):i=s);return i?null:n.update({selection:me.create(r,n.selection.mainIndex),scrollIntoView:!0,effects:n.selection.ranges.map(({from:s})=>B1.of(s))})}function lI(n,e,t,i){let r=i.stringPrefixes||Ah.stringPrefixes,s=null,o=n.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:e,from:a.to}],effects:fl.of(a.to+e.length),range:me.range(a.anchor+e.length,a.head+e.length)};let h=a.head,f=Qp(n.doc,h),p;if(f==e){if(Ux(n,h))return{changes:{insert:e+e,from:h},effects:fl.of(h+e.length),range:me.cursor(h+e.length)};if(Wb(n,h)){let O=t&&n.sliceDoc(h,h+e.length*3)==e+e+e;return{range:me.cursor(h+e.length*(O?3:1)),effects:B1.of(h)}}}else{if(t&&n.sliceDoc(h-2*e.length,h)==e+e&&(p=Zx(n,h-2*e.length,r))>-1&&Ux(n,p))return{changes:{insert:e+e+e+e,from:h},effects:fl.of(h+e.length),range:me.cursor(h+e.length)};if(n.charCategorizer(h)(f)!=jt.Word&&Zx(n,h,r)>-1&&!aI(n,h,e,r))return{changes:{insert:e+e,from:h},effects:fl.of(h+e.length),range:me.cursor(h+e.length)}}return{range:s=a}});return s?null:n.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function Ux(n,e){let t=si(n).resolveInner(e+1);return t.parent&&t.from==e}function aI(n,e,t,i){let r=si(n).resolveInner(e,-1),s=i.reduce((o,a)=>Math.max(o,a.length),0);for(let o=0;o<5;o++){let a=n.sliceDoc(r.from,Math.min(r.to,r.from+t.length+s)),h=a.indexOf(t);if(!h||h>-1&&i.indexOf(a.slice(0,h))>-1){let p=r.firstChild;for(;p&&p.from==r.from&&p.to-p.from>t.length+h;){if(n.sliceDoc(p.to-t.length,p.to)==t)return!1;p=p.firstChild}return!0}let f=r.to==e&&r.parent;if(!f)break;r=f}return!1}function Zx(n,e,t){let i=n.charCategorizer(e);if(i(n.sliceDoc(e-1,e))!=jt.Word)return e;for(let r of t){let s=e-r.length;if(n.sliceDoc(s,e)==r&&i(n.sliceDoc(s-1,s))!=jt.Word)return s}return-1}function uI(n={}){return[yr,kr.of(n),HL,hI,jL]}const zb=[{key:"Ctrl-Space",run:qL},{key:"Escape",run:UL},{key:"ArrowDown",run:Pf(!0)},{key:"ArrowUp",run:Pf(!1)},{key:"PageDown",run:Pf(!0,"page")},{key:"PageUp",run:Pf(!1,"page")},{key:"Enter",run:YL}],hI=Fa.highest(sp.computeN([kr],n=>n.facet(kr).defaultKeymap?[zb]:[])),cI=n=>{let e=U1(n.state);return e.line?fI(n):e.block?pI(n):!1};function q1(n,e){return({state:t,dispatch:i})=>{if(t.readOnly)return!1;let r=n(e,t);return r?(i(t.update(r)),!0):!1}}const fI=q1(mI,0),dI=q1(Lb,0),pI=q1((n,e)=>Lb(n,e,gI(e)),0);function U1(n,e=n.selection.main.head){let t=n.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const Xu=50;function OI(n,{open:e,close:t},i,r){let s=n.sliceDoc(i-Xu,i),o=n.sliceDoc(r,r+Xu),a=/\s*$/.exec(s)[0].length,h=/^\s*/.exec(o)[0].length,f=s.length-a;if(s.slice(f-e.length,f)==e&&o.slice(h,h+t.length)==t)return{open:{pos:i-a,margin:a&&1},close:{pos:r+h,margin:h&&1}};let p,O;r-i<=2*Xu?p=O=n.sliceDoc(i,r):(p=n.sliceDoc(i,i+Xu),O=n.sliceDoc(r-Xu,r));let v=/^\s*/.exec(p)[0].length,x=/\s*$/.exec(O)[0].length,Q=O.length-x-t.length;return p.slice(v,v+e.length)==e&&O.slice(Q,Q+t.length)==t?{open:{pos:i+v+e.length,margin:/\s/.test(p.charAt(v+e.length))?1:0},close:{pos:r-x-t.length,margin:/\s/.test(O.charAt(Q-1))?1:0}}:null}function gI(n){let e=[];for(let t of n.selection.ranges){let i=n.doc.lineAt(t.from),r=t.to<=i.to?i:n.doc.lineAt(t.to),s=e.length-1;s>=0&&e[s].to>i.from?e[s].to=r.to:e.push({from:i.from,to:r.to})}return e}function Lb(n,e,t=e.selection.ranges){let i=t.map(s=>U1(e,s.from).block);if(!i.every(s=>s))return null;let r=t.map((s,o)=>OI(e,i[o],s.from,s.to));if(n!=2&&!r.every(s=>s))return{changes:e.changes(t.map((s,o)=>r[o]?[]:[{from:s.from,insert:i[o].open+" "},{from:s.to,insert:" "+i[o].close}]))};if(n!=1&&r.some(s=>s)){let s=[];for(let o=0,a;or&&(s==o||o>p.from)){r=p.from;let O=U1(e,f).line;if(!O)continue;let v=/^\s*/.exec(p.text)[0].length,x=v==p.length,Q=p.text.slice(v,v+O.length)==O?v:-1;vs.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:a,token:h,indent:f,empty:p,single:O}of i)(O||!p)&&s.push({from:a.from+f,insert:h+" "});let o=e.changes(s);return{changes:o,selection:e.selection.map(o,1)}}else if(n!=1&&i.some(s=>s.comment>=0)){let s=[];for(let{line:o,comment:a,token:h}of i)if(a>=0){let f=o.from+a,p=f+h.length;o.text[p-o.from]==" "&&p++,s.push({from:f,to:p})}return{changes:s}}return null}const O0=To.define(),yI=To.define(),vI=Ue.define(),Ib=Ue.define({combine(n){return cs(n,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}});function SI(n){let e=0;return n.iterChangedRanges((t,i)=>e=i),e}const Vb=kn.define({create(){return ss.empty},update(n,e){let t=e.state.facet(Ib),i=e.annotation(O0);if(i){let h=e.docChanged?me.single(SI(e.changes)):void 0,f=Mi.fromTransaction(e,h),p=i.side,O=p==0?n.undone:n.done;return f?O=Gd(O,O.length,t.minDepth,f):O=Yb(O,e.startState.selection),new ss(p==0?i.rest:O,p==0?O:i.rest)}let r=e.annotation(yI);if((r=="full"||r=="before")&&(n=n.isolate()),e.annotation(Rn.addToHistory)===!1)return e.changes.empty?n:n.addMapping(e.changes.desc);let s=Mi.fromTransaction(e),o=e.annotation(Rn.time),a=e.annotation(Rn.userEvent);return s?n=n.addChanges(s,o,a,t.newGroupDelay,t.minDepth):e.selection&&(n=n.addSelection(e.startState.selection,o,a,t.newGroupDelay)),(r=="full"||r=="after")&&(n=n.isolate()),n},toJSON(n){return{done:n.done.map(e=>e.toJSON()),undone:n.undone.map(e=>e.toJSON())}},fromJSON(n){return new ss(n.done.map(Mi.fromJSON),n.undone.map(Mi.fromJSON))}});function Db(n={}){return[Vb,Ib.of(n),qe.domEventHandlers({beforeinput(e,t){let i=e.inputType=="historyUndo"?Nb:e.inputType=="historyRedo"?g0:null;return i?(e.preventDefault(),i(t)):!1}})]}function bp(n,e){return function({state:t,dispatch:i}){if(!e&&t.readOnly)return!1;let r=t.field(Vb,!1);if(!r)return!1;let s=r.pop(n,t,e);return s?(i(s),!0):!1}}const Nb=bp(0,!1),g0=bp(1,!1),wI=bp(0,!0),xI=bp(1,!0);class Mi{constructor(e,t,i,r,s){this.changes=e,this.effects=t,this.mapped=i,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new Mi(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new Mi(e.changes&&An.fromJSON(e.changes),[],e.mapped&&os.fromJSON(e.mapped),e.startSelection&&me.fromJSON(e.startSelection),e.selectionsAfter.map(me.fromJSON))}static fromTransaction(e,t){let i=Sr;for(let r of e.startState.facet(vI)){let s=r(e);s.length&&(i=i.concat(s))}return!i.length&&e.changes.empty?null:new Mi(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,Sr)}static selection(e){return new Mi(void 0,Sr,void 0,void 0,e)}}function Gd(n,e,t,i){let r=e+1>t+20?e-t-1:0,s=n.slice(r,e);return s.push(i),s}function PI(n,e){let t=[],i=!1;return n.iterChangedRanges((r,s)=>t.push(r,s)),e.iterChangedRanges((r,s,o,a)=>{for(let h=0;h=f&&o<=p&&(i=!0)}}),i}function kI(n,e){return n.ranges.length==e.ranges.length&&n.ranges.filter((t,i)=>t.empty!=e.ranges[i].empty).length===0}function Bb(n,e){return n.length?e.length?n.concat(e):n:e}const Sr=[],_I=200;function Yb(n,e){if(n.length){let t=n[n.length-1],i=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-_I));return i.length&&i[i.length-1].eq(e)?n:(i.push(e),Gd(n,n.length-1,1e9,t.setSelAfter(i)))}else return[Mi.selection([e])]}function QI(n){let e=n[n.length-1],t=n.slice();return t[n.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function Ag(n,e){if(!n.length)return n;let t=n.length,i=Sr;for(;t;){let r=bI(n[t-1],e,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=n.slice(0,t);return s[t-1]=r,s}else e=r.mapped,t--,i=r.selectionsAfter}return i.length?[Mi.selection(i)]:Sr}function bI(n,e,t){let i=Bb(n.selectionsAfter.length?n.selectionsAfter.map(a=>a.map(e)):Sr,t);if(!n.changes)return Mi.selection(i);let r=n.changes.map(e),s=e.mapDesc(n.changes,!0),o=n.mapped?n.mapped.composeDesc(s):s;return new Mi(r,lt.mapEffects(n.effects,e),o,n.startSelection.map(s),i)}const EI=/^(input\.type|delete)($|\.)/;class ss{constructor(e,t,i=0,r=void 0){this.done=e,this.undone=t,this.prevTime=i,this.prevUserEvent=r}isolate(){return this.prevTime?new ss(this.done,this.undone):this}addChanges(e,t,i,r,s){let o=this.done,a=o[o.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!i||EI.test(i))&&(!a.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?n.moveByChar(t,e):Ep(t,e))}function li(n){return n.textDirectionAt(n.state.selection.main.head)==ln.LTR}const Zb=n=>Ub(n,!li(n)),Fb=n=>Ub(n,li(n));function Gb(n,e){return Nr(n,t=>t.empty?n.moveByGroup(t,e):Ep(t,e))}const $I=n=>Gb(n,!li(n)),CI=n=>Gb(n,li(n));function TI(n,e,t){if(e.type.prop(t))return!0;let i=e.to-e.from;return i&&(i>2||/[^\s,.;:]/.test(n.sliceDoc(e.from,e.to)))||e.firstChild}function $p(n,e,t){let i=si(n).resolveInner(e.head),r=t?gt.closedBy:gt.openedBy;for(let h=e.head;;){let f=t?i.childAfter(h):i.childBefore(h);if(!f)break;TI(n,f,r)?i=f:h=t?f.to:f.from}let s=i.type.prop(r),o,a;return s&&(o=t?is(n,i.from,1):is(n,i.to,-1))&&o.matched?a=t?o.end.to:o.end.from:a=t?i.to:i.from,me.cursor(a,t?-1:1)}const AI=n=>Nr(n,e=>$p(n.state,e,!li(n))),RI=n=>Nr(n,e=>$p(n.state,e,li(n)));function Hb(n,e){return Nr(n,t=>{if(!t.empty)return Ep(t,e);let i=n.moveVertically(t,e);return i.head!=t.head?i:n.moveToLineBoundary(t,e)})}const jb=n=>Hb(n,!1),Kb=n=>Hb(n,!0);function Jb(n){return Math.max(n.defaultLineHeight,Math.min(n.dom.clientHeight,innerHeight)-5)}function e2(n,e){let{state:t}=n,i=Ja(t.selection,a=>a.empty?n.moveVertically(a,e,Jb(n)):Ep(a,e));if(i.eq(t.selection))return!1;let r=n.coordsAtPos(t.selection.main.head),s=n.scrollDOM.getBoundingClientRect(),o;return r&&r.top>s.top&&r.bottome2(n,!1),m0=n=>e2(n,!0);function Mo(n,e,t){let i=n.lineBlockAt(e.head),r=n.moveToLineBoundary(e,t);if(r.head==e.head&&r.head!=(t?i.to:i.from)&&(r=n.moveToLineBoundary(e,t,!1)),!t&&r.head==i.from&&i.length){let s=/^\s*/.exec(n.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&e.head!=i.from+s&&(r=me.cursor(i.from+s))}return r}const XI=n=>Nr(n,e=>Mo(n,e,!0)),MI=n=>Nr(n,e=>Mo(n,e,!1)),WI=n=>Nr(n,e=>Mo(n,e,!li(n))),zI=n=>Nr(n,e=>Mo(n,e,li(n))),LI=n=>Nr(n,e=>me.cursor(n.lineBlockAt(e.head).from,1)),II=n=>Nr(n,e=>me.cursor(n.lineBlockAt(e.head).to,-1));function VI(n,e,t){let i=!1,r=Ja(n.selection,s=>{let o=is(n,s.head,-1)||is(n,s.head,1)||s.head>0&&is(n,s.head-1,1)||s.headVI(n,e,!1);function _r(n,e){let t=Ja(n.state.selection,i=>{let r=e(i);return me.range(i.anchor,r.head,r.goalColumn)});return t.eq(n.state.selection)?!1:(n.dispatch(fs(n.state,t)),!0)}function t2(n,e){return _r(n,t=>n.moveByChar(t,e))}const n2=n=>t2(n,!li(n)),i2=n=>t2(n,li(n));function r2(n,e){return _r(n,t=>n.moveByGroup(t,e))}const NI=n=>r2(n,!li(n)),BI=n=>r2(n,li(n)),YI=n=>_r(n,e=>$p(n.state,e,!li(n))),qI=n=>_r(n,e=>$p(n.state,e,li(n)));function s2(n,e){return _r(n,t=>n.moveVertically(t,e))}const o2=n=>s2(n,!1),l2=n=>s2(n,!0);function a2(n,e){return _r(n,t=>n.moveVertically(t,e,Jb(n)))}const Gx=n=>a2(n,!1),Hx=n=>a2(n,!0),UI=n=>_r(n,e=>Mo(n,e,!0)),ZI=n=>_r(n,e=>Mo(n,e,!1)),FI=n=>_r(n,e=>Mo(n,e,!li(n))),GI=n=>_r(n,e=>Mo(n,e,li(n))),HI=n=>_r(n,e=>me.cursor(n.lineBlockAt(e.head).from)),jI=n=>_r(n,e=>me.cursor(n.lineBlockAt(e.head).to)),jx=({state:n,dispatch:e})=>(e(fs(n,{anchor:0})),!0),Kx=({state:n,dispatch:e})=>(e(fs(n,{anchor:n.doc.length})),!0),Jx=({state:n,dispatch:e})=>(e(fs(n,{anchor:n.selection.main.anchor,head:0})),!0),eP=({state:n,dispatch:e})=>(e(fs(n,{anchor:n.selection.main.anchor,head:n.doc.length})),!0),KI=({state:n,dispatch:e})=>(e(n.update({selection:{anchor:0,head:n.doc.length},userEvent:"select"})),!0),JI=({state:n,dispatch:e})=>{let t=Tp(n).map(({from:i,to:r})=>me.range(i,Math.min(r+1,n.doc.length)));return e(n.update({selection:me.create(t),userEvent:"select"})),!0},eV=({state:n,dispatch:e})=>{let t=Ja(n.selection,i=>{var r;let s=si(n).resolveInner(i.head,1);for(;!(s.from=i.to||s.to>i.to&&s.from<=i.from||!(!((r=s.parent)===null||r===void 0)&&r.parent));)s=s.parent;return me.range(s.to,s.from)});return e(fs(n,t)),!0},tV=({state:n,dispatch:e})=>{let t=n.selection,i=null;return t.ranges.length>1?i=me.create([t.main]):t.main.empty||(i=me.create([me.cursor(t.main.head)])),i?(e(fs(n,i)),!0):!1};function Cp(n,e){if(n.state.readOnly)return!1;let t="delete.selection",{state:i}=n,r=i.changeByRange(s=>{let{from:o,to:a}=s;if(o==a){let h=e(o);ho&&(t="delete.forward",h=kf(n,h,!0)),o=Math.min(o,h),a=Math.max(a,h)}else o=kf(n,o,!1),a=kf(n,a,!0);return o==a?{range:s}:{changes:{from:o,to:a},range:me.cursor(o)}});return r.changes.empty?!1:(n.dispatch(i.update(r,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?qe.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function kf(n,e,t){if(n instanceof qe)for(let i of n.state.facet(qe.atomicRanges).map(r=>r(n)))i.between(e,e,(r,s)=>{re&&(e=t?s:r)});return e}const u2=(n,e)=>Cp(n,t=>{let{state:i}=n,r=i.doc.lineAt(t),s,o;if(!e&&t>r.from&&tu2(n,!1),h2=n=>u2(n,!0),c2=(n,e)=>Cp(n,t=>{let i=t,{state:r}=n,s=r.doc.lineAt(i),o=r.charCategorizer(i);for(let a=null;;){if(i==(e?s.to:s.from)){i==t&&s.number!=(e?r.doc.lines:1)&&(i+=e?1:-1);break}let h=mi(s.text,i-s.from,e)+s.from,f=s.text.slice(Math.min(i,h)-s.from,Math.max(i,h)-s.from),p=o(f);if(a!=null&&p!=a)break;(f!=" "||i!=t)&&(a=p),i=h}return i}),f2=n=>c2(n,!1),nV=n=>c2(n,!0),d2=n=>Cp(n,e=>{let t=n.lineBlockAt(e).to;return eCp(n,e=>{let t=n.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),rV=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=n.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:$t.of(["",""])},range:me.cursor(i.from)}));return e(n.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},sV=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=n.changeByRange(i=>{if(!i.empty||i.from==0||i.from==n.doc.length)return{range:i};let r=i.from,s=n.doc.lineAt(r),o=r==s.from?r-1:mi(s.text,r-s.from,!1)+s.from,a=r==s.to?r+1:mi(s.text,r-s.from,!0)+s.from;return{changes:{from:o,to:a,insert:n.doc.slice(r,a).append(n.doc.slice(o,r))},range:me.cursor(a)}});return t.changes.empty?!1:(e(n.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Tp(n){let e=[],t=-1;for(let i of n.selection.ranges){let r=n.doc.lineAt(i.from),s=n.doc.lineAt(i.to);if(!i.empty&&i.to==s.from&&(s=n.doc.lineAt(i.to-1)),t>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(i)}else e.push({from:r.from,to:s.to,ranges:[i]});t=s.number+1}return e}function p2(n,e,t){if(n.readOnly)return!1;let i=[],r=[];for(let s of Tp(n)){if(t?s.to==n.doc.length:s.from==0)continue;let o=n.doc.lineAt(t?s.to+1:s.from-1),a=o.length+1;if(t){i.push({from:s.to,to:o.to},{from:s.from,insert:o.text+n.lineBreak});for(let h of s.ranges)r.push(me.range(Math.min(n.doc.length,h.anchor+a),Math.min(n.doc.length,h.head+a)))}else{i.push({from:o.from,to:s.from},{from:s.to,insert:n.lineBreak+o.text});for(let h of s.ranges)r.push(me.range(h.anchor-a,h.head-a))}}return i.length?(e(n.update({changes:i,scrollIntoView:!0,selection:me.create(r,n.selection.mainIndex),userEvent:"move.line"})),!0):!1}const oV=({state:n,dispatch:e})=>p2(n,e,!1),lV=({state:n,dispatch:e})=>p2(n,e,!0);function O2(n,e,t){if(n.readOnly)return!1;let i=[];for(let r of Tp(n))t?i.push({from:r.from,insert:n.doc.slice(r.from,r.to)+n.lineBreak}):i.push({from:r.to,insert:n.lineBreak+n.doc.slice(r.from,r.to)});return e(n.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const aV=({state:n,dispatch:e})=>O2(n,e,!1),uV=({state:n,dispatch:e})=>O2(n,e,!0),hV=n=>{if(n.state.readOnly)return!1;let{state:e}=n,t=e.changes(Tp(e).map(({from:r,to:s})=>(r>0?r--:sn.moveVertically(r,!0)).map(t);return n.dispatch({changes:t,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function cV(n,e){if(/\(\)|\[\]|\{\}/.test(n.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=si(n).resolveInner(e),i=t.childBefore(e),r=t.childAfter(e),s;return i&&r&&i.to<=e&&r.from>=e&&(s=i.type.prop(gt.closedBy))&&s.indexOf(r.name)>-1&&n.doc.lineAt(i.to).from==n.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}const fV=g2(!1),dV=g2(!0);function g2(n){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=e.changeByRange(r=>{let{from:s,to:o}=r,a=e.doc.lineAt(s),h=!n&&s==o&&cV(e,s);n&&(s=o=(o<=a.to?a:e.doc.lineAt(o)).to);let f=new lp(e,{simulateBreak:s,simulateDoubleBreak:!!h}),p=I0(f,s);for(p==null&&(p=/^\s*/.exec(e.doc.lineAt(s).text)[0].length);oa.from&&s{let r=[];for(let o=i.from;o<=i.to;){let a=n.doc.lineAt(o);a.number>t&&(i.empty||i.to>a.from)&&(e(a,r,i),t=a.number),o=a.to+1}let s=n.changes(r);return{changes:r,range:me.range(s.mapPos(i.anchor,1),s.mapPos(i.head,1))}})}const pV=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=Object.create(null),i=new lp(n,{overrideIndentation:s=>{let o=t[s];return o??-1}}),r=Z1(n,(s,o,a)=>{let h=I0(i,s.from);if(h==null)return;/\S/.test(s.text)||(h=0);let f=/^\s*/.exec(s.text)[0],p=ph(n,h);(f!=p||a.fromn.readOnly?!1:(e(n.update(Z1(n,(t,i)=>{i.push({from:t.from,insert:n.facet(op)})}),{userEvent:"input.indent"})),!0),gV=({state:n,dispatch:e})=>n.readOnly?!1:(e(n.update(Z1(n,(t,i)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let s=Xh(r,n.tabSize),o=0,a=ph(n,Math.max(0,s-yd(n)));for(;o({mac:n.key,run:n.run,shift:n.shift}))),m2=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:AI,shift:YI},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:RI,shift:qI},{key:"Alt-ArrowUp",run:oV},{key:"Shift-Alt-ArrowUp",run:aV},{key:"Alt-ArrowDown",run:lV},{key:"Shift-Alt-ArrowDown",run:uV},{key:"Escape",run:tV},{key:"Mod-Enter",run:dV},{key:"Alt-l",mac:"Ctrl-l",run:JI},{key:"Mod-i",run:eV,preventDefault:!0},{key:"Mod-[",run:gV},{key:"Mod-]",run:OV},{key:"Mod-Alt-\\",run:pV},{key:"Shift-Mod-k",run:hV},{key:"Shift-Mod-\\",run:DI},{key:"Mod-/",run:cI},{key:"Alt-A",run:dI}].concat(yV);function Dt(){var n=arguments[0];typeof n=="string"&&(n=document.createElement(n));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var r=t[i];typeof r=="string"?n.setAttribute(i,r):r!=null&&(n[i]=r)}e++}for(;ea.from==a.to||a.from==a.to-1&&i.doc.lineAt(a.from).to==a.from?Ge.widget({widget:new $V(a),diagnostic:a}).range(a.from):Ge.mark({attributes:{class:"cm-lintRange cm-lintRange-"+a.severity},diagnostic:a}).range(a.from,a.to)),!0);return new ll(o,t,Ua(o))}}function Ua(n,e=null,t=0){let i=null;return n.between(t,1e9,(r,s,{spec:o})=>{if(!(e&&o.diagnostic!=e))return i=new vV(r,s,o.diagnostic),!1}),i}function SV(n,e){return!!(n.effects.some(t=>t.is(F1))||n.changes.touchesRange(e.pos))}function v2(n,e){return n.field(nr,!1)?e:e.concat(lt.appendConfig.of([nr,qe.decorations.compute([nr],t=>{let{selected:i,panel:r}=t.field(nr);return!i||!r||i.from==i.to?Ge.none:Ge.set([xV.range(i.from,i.to)])}),p3(PV,{hideOn:SV}),TV]))}function wV(n,e){return{effects:v2(n,[F1.of(e)])}}const F1=lt.define(),G1=lt.define(),S2=lt.define(),nr=kn.define({create(){return new ll(Ge.none,null,null)},update(n,e){if(e.docChanged){let t=n.diagnostics.map(e.changes),i=null;if(n.selected){let r=e.changes.mapPos(n.selected.from,1);i=Ua(t,n.selected.diagnostic,r)||Ua(t,null,r)}n=new ll(t,n.panel,i)}for(let t of e.effects)t.is(F1)?n=ll.init(t.value,n.panel,e.state):t.is(G1)?n=new ll(n.diagnostics,t.value?Ap.open:null,n.selected):t.is(S2)&&(n=new ll(n.diagnostics,n.panel,t.value));return n},provide:n=>[dh.from(n,e=>e.panel),qe.decorations.from(n,e=>e.diagnostics)]}),xV=Ge.mark({class:"cm-lintRange cm-lintRange-active"});function PV(n,e,t){let{diagnostics:i}=n.state.field(nr),r=[],s=2e8,o=0;i.between(e-(t<0?1:0),e+(t>0?1:0),(h,f,{spec:p})=>{e>=h&&e<=f&&(h==f||(e>h||t>0)&&(ex2(n,t,!1)))}const _V=n=>{let e=n.state.field(nr,!1);(!e||!e.panel)&&n.dispatch({effects:v2(n.state,[G1.of(!0)])});let t=fh(n,Ap.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},tP=n=>{let e=n.state.field(nr,!1);return!e||!e.panel?!1:(n.dispatch({effects:G1.of(!1)}),!0)},QV=n=>{let e=n.state.field(nr,!1);if(!e)return!1;let t=n.state.selection.main,i=e.diagnostics.iter(t.to+1);return!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==t.from&&i.to==t.to)?!1:(n.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},bV=[{key:"Mod-Shift-m",run:_V},{key:"F8",run:QV}],EV=Pn.fromClass(class{constructor(n){this.view=n,this.timeout=-1,this.set=!0;let{delay:e}=n.state.facet(Sa);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){let n=Date.now();if(nPromise.resolve(i(this.view)))).then(i=>{let r=i.reduce((s,o)=>s.concat(o));this.view.state.doc==e.doc&&this.view.dispatch(wV(this.view.state,r))},i=>{ir(this.view.state,i)})}}update(n){let e=n.state.facet(Sa);(n.docChanged||e!=n.startState.facet(Sa))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),Sa=Ue.define({combine(n){return Object.assign({sources:n.map(e=>e.source)},cs(n.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:EV});function w2(n){let e=[];if(n)e:for(let{name:t}of n){for(let i=0;is.toLowerCase()==r.toLowerCase())){e.push(r);continue e}}e.push("")}return e}function x2(n,e,t){var i;let r=t?w2(e.actions):[];return Dt("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Dt("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(i=e.actions)===null||i===void 0?void 0:i.map((s,o)=>{let a=O=>{O.preventDefault();let v=Ua(n.state.field(nr).diagnostics,e);v&&s.apply(n,v.from,v.to)},{name:h}=s,f=r[o]?h.indexOf(r[o]):-1,p=f<0?h:[h.slice(0,f),Dt("u",h.slice(f,f+1)),h.slice(f+1)];return Dt("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":` Action: ${h}${f<0?"":` (access key "${r[o]})"`}.`},p)}),e.source&&Dt("div",{class:"cm-diagnosticSource"},e.source))}class $V extends Dr{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Dt("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class nP{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=x2(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Ap{constructor(e){this.view=e,this.items=[];let t=r=>{if(r.keyCode==27)tP(this.view),this.view.focus();else if(r.keyCode==38||r.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(r.keyCode==40||r.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(r.keyCode==36)this.moveSelection(0);else if(r.keyCode==35)this.moveSelection(this.items.length-1);else if(r.keyCode==13)this.view.focus();else if(r.keyCode>=65&&r.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],o=w2(s.actions);for(let a=0;a{for(let s=0;stP(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(nr).selected;if(!e)return-1;for(let t=0;t{let f=-1,p;for(let O=i;Oi&&(this.items.splice(i,f-i),r=!0)),t&&p.diagnostic==t.diagnostic?p.dom.hasAttribute("aria-selected")||(p.dom.setAttribute("aria-selected","true"),s=p):p.dom.hasAttribute("aria-selected")&&p.dom.removeAttribute("aria-selected"),i++});i({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:o,panel:a})=>{o.topa.bottom&&(this.list.scrollTop+=o.bottom-a.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let i=e;e=i.nextSibling,i.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;e!=i.dom;)t();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(nr),i=Ua(t.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:S2.of(i)})}static open(e){return new Ap(e)}}function CV(n,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(n)}')`}function Rg(n){return CV(``,'width="6" height="3"')}const TV=qe.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Rg("#d11")},".cm-lintRange-warning":{backgroundImage:Rg("orange")},".cm-lintRange-info":{backgroundImage:Rg("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),iP=typeof String.prototype.normalize=="function"?n=>n.normalize("NFKD"):n=>n;class Za{constructor(e,t,i=0,r=e.length,s,o){this.test=o,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(i,r),this.bufferStart=i,this.normalize=s?a=>s(iP(a)):iP,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Yn(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=Q0(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=Ji(e);let r=this.normalize(t);for(let s=0,o=i;;s++){let a=r.charCodeAt(s),h=this.match(a,o);if(h)return this.value=h,this;if(s==r.length-1)break;o==i&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let i=this.curLineStart+t.index,r=i+t[0].length;if(this.matchPos=Hd(this.text,r+(i==r?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(ithis.value.to)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=i||r.to<=t){let a=new Aa(t,e.sliceString(t,i));return Xg.set(e,a),a}if(r.from==t&&r.to==i)return r;let{text:s,from:o}=r;return o>t&&(s=e.sliceString(t,o)+s,o=t),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let i=this.flat.from+t.index,r=i+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this.matchPos=Hd(this.text,r+(i==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Aa.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(k2.prototype[Symbol.iterator]=_2.prototype[Symbol.iterator]=function(){return this});function AV(n){try{return new RegExp(n,H1),!0}catch{return!1}}function Hd(n,e){if(e>=n.length)return e;let t=n.lineAt(e),i;for(;e=56320&&i<57344;)e++;return e}function v0(n){let e=Dt("input",{class:"cm-textfield",name:"line"}),t=Dt("form",{class:"cm-gotoLine",onkeydown:r=>{r.keyCode==27?(r.preventDefault(),n.dispatch({effects:jd.of(!1)}),n.focus()):r.keyCode==13&&(r.preventDefault(),i())},onsubmit:r=>{r.preventDefault(),i()}},Dt("label",n.state.phrase("Go to line"),": ",e)," ",Dt("button",{class:"cm-button",type:"submit"},n.state.phrase("go")));function i(){let r=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!r)return;let{state:s}=n,o=s.doc.lineAt(s.selection.main.head),[,a,h,f,p]=r,O=f?+f.slice(1):0,v=h?+h:o.number;if(h&&p){let Q=v/100;a&&(Q=Q*(a=="-"?-1:1)+o.number/s.doc.lines),v=Math.round(s.doc.lines*Q)}else h&&a&&(v=v*(a=="-"?-1:1)+o.number);let x=s.doc.line(Math.max(1,Math.min(s.doc.lines,v)));n.dispatch({effects:jd.of(!1),selection:me.cursor(x.from+Math.max(0,Math.min(O,x.length))),scrollIntoView:!0}),n.focus()}return{dom:t}}const jd=lt.define(),rP=kn.define({create(){return!0},update(n,e){for(let t of e.effects)t.is(jd)&&(n=t.value);return n},provide:n=>dh.from(n,e=>e?v0:null)}),RV=n=>{let e=fh(n,v0);if(!e){let t=[jd.of(!0)];n.state.field(rP,!1)==null&&t.push(lt.appendConfig.of([rP,XV])),n.dispatch({effects:t}),e=fh(n,v0)}return e&&e.dom.querySelector("input").focus(),!0},XV=qe.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),MV={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Q2=Ue.define({combine(n){return cs(n,MV,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function WV(n){let e=[DV,VV];return n&&e.push(Q2.of(n)),e}const zV=Ge.mark({class:"cm-selectionMatch"}),LV=Ge.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function sP(n,e,t,i){return(t==0||n(e.sliceDoc(t-1,t))!=jt.Word)&&(i==e.doc.length||n(e.sliceDoc(i,i+1))!=jt.Word)}function IV(n,e,t,i){return n(e.sliceDoc(t,t+1))==jt.Word&&n(e.sliceDoc(i-1,i))==jt.Word}const VV=Pn.fromClass(class{constructor(n){this.decorations=this.getDeco(n)}update(n){(n.selectionSet||n.docChanged||n.viewportChanged)&&(this.decorations=this.getDeco(n.view))}getDeco(n){let e=n.state.facet(Q2),{state:t}=n,i=t.selection;if(i.ranges.length>1)return Ge.none;let r=i.main,s,o=null;if(r.empty){if(!e.highlightWordAroundCursor)return Ge.none;let h=t.wordAt(r.head);if(!h)return Ge.none;o=t.charCategorizer(r.head),s=t.sliceDoc(h.from,h.to)}else{let h=r.to-r.from;if(h200)return Ge.none;if(e.wholeWords){if(s=t.sliceDoc(r.from,r.to),o=t.charCategorizer(r.head),!(sP(o,t,r.from,r.to)&&IV(o,t,r.from,r.to)))return Ge.none}else if(s=t.sliceDoc(r.from,r.to).trim(),!s)return Ge.none}let a=[];for(let h of n.visibleRanges){let f=new Za(t.doc,s,h.from,h.to);for(;!f.next().done;){let{from:p,to:O}=f.value;if((!o||sP(o,t,p,O))&&(r.empty&&p<=r.from&&O>=r.to?a.push(LV.range(p,O)):(p>=r.to||O<=r.from)&&a.push(zV.range(p,O)),a.length>e.maxMatches))return Ge.none}}return Ge.set(a)}},{decorations:n=>n.decorations}),DV=qe.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),NV=({state:n,dispatch:e})=>{let{selection:t}=n,i=me.create(t.ranges.map(r=>n.wordAt(r.head)||me.cursor(r.head)),t.mainIndex);return i.eq(t)?!1:(e(n.update({selection:i})),!0)};function BV(n,e){let{main:t,ranges:i}=n.selection,r=n.wordAt(t.head),s=r&&r.from==t.from&&r.to==t.to;for(let o=!1,a=new Za(n.doc,e,i[i.length-1].to);;)if(a.next(),a.done){if(o)return null;a=new Za(n.doc,e,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(h=>h.from==a.value.from))continue;if(s){let h=n.wordAt(a.value.from);if(!h||h.from!=a.value.from||h.to!=a.value.to)continue}return a.value}}const YV=({state:n,dispatch:e})=>{let{ranges:t}=n.selection;if(t.some(s=>s.from===s.to))return NV({state:n,dispatch:e});let i=n.sliceDoc(t[0].from,t[0].to);if(n.selection.ranges.some(s=>n.sliceDoc(s.from,s.to)!=i))return!1;let r=BV(n,i);return r?(e(n.update({selection:n.selection.addRange(me.range(r.from,r.to),!1),effects:qe.scrollIntoView(r.to)})),!0):!1},j1=Ue.define({combine(n){return cs(n,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new nD(e)})}});class b2{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||AV(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,i)=>i=="n"?` `:i=="r"?"\r":i=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new FV(this):new UV(this)}getCursor(e,t=0,i){let r=e.doc?e:Pt.create({doc:e});return i==null&&(i=r.doc.length),this.regexp?ra(this,r,t,i):ia(this,r,t,i)}}class E2{constructor(e){this.spec=e}}function ia(n,e,t,i){return new Za(e.doc,n.unquoted,t,i,n.caseSensitive?void 0:r=>r.toLowerCase(),n.wholeWord?qV(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function qV(n,e){return(t,i,r,s)=>((s>t||s+r.length=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let s=ia(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function ra(n,e,t,i){return new k2(e.doc,n.search,{ignoreCase:!n.caseSensitive,test:n.wholeWord?ZV(e.charCategorizer(e.selection.main.head)):void 0},t,i)}function Kd(n,e){return n.slice(mi(n,e,!1),e)}function Jd(n,e){return n.slice(e,mi(n,e))}function ZV(n){return(e,t,i)=>!i[0].length||(n(Kd(i.input,i.index))!=jt.Word||n(Jd(i.input,i.index))!=jt.Word)&&(n(Jd(i.input,i.index+i[0].length))!=jt.Word||n(Kd(i.input,i.index+i[0].length))!=jt.Word)}class FV extends E2{nextMatch(e,t,i){let r=ra(this.spec,e,i,e.doc.length).next();return r.done&&(r=ra(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,i){for(let r=1;;r++){let s=Math.max(t,i-r*1e4),o=ra(this.spec,e,s,i),a=null;for(;!o.next().done;)a=o.value;if(a&&(s==t||a.from>s+10))return a;if(s==t)return null}}prevMatch(e,t,i){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let s=ra(this.spec,e,Math.max(0,t-250),Math.min(i+250,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const Rh=lt.define(),K1=lt.define(),xo=kn.define({create(n){return new Mg(S0(n).create(),null)},update(n,e){for(let t of e.effects)t.is(Rh)?n=new Mg(t.value.create(),n.panel):t.is(K1)&&(n=new Mg(n.query,t.value?J1:null));return n},provide:n=>dh.from(n,e=>e.panel)});class Mg{constructor(e,t){this.query=e,this.panel=t}}const GV=Ge.mark({class:"cm-searchMatch"}),HV=Ge.mark({class:"cm-searchMatch cm-searchMatch-selected"}),jV=Pn.fromClass(class{constructor(n){this.view=n,this.decorations=this.highlight(n.state.field(xo))}update(n){let e=n.state.field(xo);(e!=n.startState.field(xo)||n.docChanged||n.selectionSet||n.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:n,panel:e}){if(!e||!n.spec.valid)return Ge.none;let{view:t}=this,i=new Po;for(let r=0,s=t.visibleRanges,o=s.length;rs[r+1].from-2*250;)h=s[++r].to;n.highlight(t.state,a,h,(f,p)=>{let O=t.state.selection.ranges.some(v=>v.from==f&&v.to==p);i.add(f,p,O?HV:GV)})}return i.finish()}},{decorations:n=>n.decorations});function Bh(n){return e=>{let t=e.state.field(xo,!1);return t&&t.query.spec.valid?n(e,t):$2(e)}}const ep=Bh((n,{query:e})=>{let{to:t}=n.state.selection.main,i=e.nextMatch(n.state,t,t);return i?(n.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:ey(n,i),userEvent:"select.search"}),!0):!1}),tp=Bh((n,{query:e})=>{let{state:t}=n,{from:i}=t.selection.main,r=e.prevMatch(t,i,i);return r?(n.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:ey(n,r),userEvent:"select.search"}),!0):!1}),KV=Bh((n,{query:e})=>{let t=e.matchAll(n.state,1e3);return!t||!t.length?!1:(n.dispatch({selection:me.create(t.map(i=>me.range(i.from,i.to))),userEvent:"select.search.matches"}),!0)}),JV=({state:n,dispatch:e})=>{let t=n.selection;if(t.ranges.length>1||t.main.empty)return!1;let{from:i,to:r}=t.main,s=[],o=0;for(let a=new Za(n.doc,n.sliceDoc(i,r));!a.next().done;){if(s.length>1e3)return!1;a.value.from==i&&(o=s.length),s.push(me.range(a.value.from,a.value.to))}return e(n.update({selection:me.create(s,o),userEvent:"select.search.matches"})),!0},oP=Bh((n,{query:e})=>{let{state:t}=n,{from:i,to:r}=t.selection.main;if(t.readOnly)return!1;let s=e.nextMatch(t,i,i);if(!s)return!1;let o=[],a,h,f=[];if(s.from==i&&s.to==r&&(h=t.toText(e.getReplacement(s)),o.push({from:s.from,to:s.to,insert:h}),s=e.nextMatch(t,s.from,s.to),f.push(qe.announce.of(t.phrase("replaced match on line $",t.doc.lineAt(i).number)+"."))),s){let p=o.length==0||o[0].from>=s.to?0:s.to-s.from-h.length;a={anchor:s.from-p,head:s.to-p},f.push(ey(n,s))}return n.dispatch({changes:o,selection:a,scrollIntoView:!!a,effects:f,userEvent:"input.replace"}),!0}),eD=Bh((n,{query:e})=>{if(n.state.readOnly)return!1;let t=e.matchAll(n.state,1e9).map(r=>{let{from:s,to:o}=r;return{from:s,to:o,insert:e.getReplacement(r)}});if(!t.length)return!1;let i=n.state.phrase("replaced $ matches",t.length)+".";return n.dispatch({changes:t,effects:qe.announce.of(i),userEvent:"input.replace.all"}),!0});function J1(n){return n.state.facet(j1).createPanel(n)}function S0(n,e){var t,i,r,s;let o=n.selection.main,a=o.empty||o.to>o.from+100?"":n.sliceDoc(o.from,o.to);if(e&&!a)return e;let h=n.facet(j1);return new b2({search:((t=e==null?void 0:e.literal)!==null&&t!==void 0?t:h.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(i=e==null?void 0:e.caseSensitive)!==null&&i!==void 0?i:h.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:h.literal,wholeWord:(s=e==null?void 0:e.wholeWord)!==null&&s!==void 0?s:h.wholeWord})}const $2=n=>{let e=n.state.field(xo,!1);if(e&&e.panel){let t=fh(n,J1);if(!t)return!1;let i=t.dom.querySelector("[main-field]");if(i&&i!=n.root.activeElement){let r=S0(n.state,e.query.spec);r.valid&&n.dispatch({effects:Rh.of(r)}),i.focus(),i.select()}}else n.dispatch({effects:[K1.of(!0),e?Rh.of(S0(n.state,e.query.spec)):lt.appendConfig.of(rD)]});return!0},C2=n=>{let e=n.state.field(xo,!1);if(!e||!e.panel)return!1;let t=fh(n,J1);return t&&t.dom.contains(n.root.activeElement)&&n.focus(),n.dispatch({effects:K1.of(!1)}),!0},tD=[{key:"Mod-f",run:$2,scope:"editor search-panel"},{key:"F3",run:ep,shift:tp,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:ep,shift:tp,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:C2,scope:"editor search-panel"},{key:"Mod-Shift-l",run:JV},{key:"Alt-g",run:RV},{key:"Mod-d",run:YV,preventDefault:!0}];class nD{constructor(e){this.view=e;let t=this.query=e.state.field(xo).query.spec;this.commit=this.commit.bind(this),this.searchField=Dt("input",{value:t.search,placeholder:Hi(e,"Find"),"aria-label":Hi(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Dt("input",{value:t.replace,placeholder:Hi(e,"Replace"),"aria-label":Hi(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Dt("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=Dt("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=Dt("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function i(r,s,o){return Dt("button",{class:"cm-button",name:r,onclick:s,type:"button"},o)}this.dom=Dt("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,i("next",()=>ep(e),[Hi(e,"next")]),i("prev",()=>tp(e),[Hi(e,"previous")]),i("select",()=>KV(e),[Hi(e,"all")]),Dt("label",null,[this.caseField,Hi(e,"match case")]),Dt("label",null,[this.reField,Hi(e,"regexp")]),Dt("label",null,[this.wordField,Hi(e,"by word")]),...e.state.readOnly?[]:[Dt("br"),this.replaceField,i("replace",()=>oP(e),[Hi(e,"replace")]),i("replaceAll",()=>eD(e),[Hi(e,"replace all")]),Dt("button",{name:"close",onclick:()=>C2(e),"aria-label":Hi(e,"close"),type:"button"},["×"])]])}commit(){let e=new b2({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:Rh.of(e)}))}keydown(e){T5(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?tp:ep)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),oP(this.view))}update(e){for(let t of e.transactions)for(let i of t.effects)i.is(Rh)&&!i.value.eq(this.query)&&this.setQuery(i.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(j1).top}}function Hi(n,e){return n.state.phrase(e)}const _f=30,Qf=/[\s\.,:;?!]/;function ey(n,{from:e,to:t}){let i=n.state.doc.lineAt(e),r=n.state.doc.lineAt(t).to,s=Math.max(i.from,e-_f),o=Math.min(r,t+_f),a=n.state.sliceDoc(s,o);if(s!=i.from){for(let h=0;h<_f;h++)if(!Qf.test(a[h+1])&&Qf.test(a[h])){a=a.slice(h);break}}if(o!=r){for(let h=a.length-1;h>a.length-_f;h--)if(!Qf.test(a[h-1])&&Qf.test(a[h])){a=a.slice(0,h);break}}return qe.announce.of(`${n.state.phrase("current match")}. ${a} ${n.state.phrase("on line")} ${i.number}.`)}const iD=qe.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),rD=[xo,Fa.lowest(jV),iD],sD=(()=>[k3(),b3(),Mk(),Db(),tW(),Tk(),D5(),Pt.allowMultipleSelections.of(!0),N3(),Kk(Jk,{fallback:!0}),cW(),KL(),uI(),r3(),l3(),K5(),WV(),sp.of([...nI,...m2,...tD,...qb,...K3,...zb,...bV])])();[Mk(),Db(),Tk(),Kk(Jk,{fallback:!0}),sp.of([...m2,...qb])];let Wg;window.addEventListener("load",()=>{const n=document.getElementById("showBoundaries"),e=document.getElementById("showSteps"),t=document.getElementById("showPermissions"),i=document.getElementById("showInterpret"),r=document.getElementById("passesBorrowChecker"),s=document.getElementById("buildErrorCard"),o=document.getElementById("analysisErrorCard"),a=document.getElementById("analysisErrorMsg"),h=document.getElementById("close"),f=document.querySelector(".static-editor"),p=document.querySelectorAll(".tab"),O=document.querySelector(".aquascope-stderr");let v=M=>{var b=M.getAttribute("data-tab");document.querySelectorAll(".tab-pane.active")[0].classList.remove("active"),document.querySelectorAll(`.tab-pane[data-pane="${b}"]`)[0].classList.add("active"),document.querySelectorAll(".tab.active")[0].classList.remove("active"),M.classList.add("active")};p.forEach(M=>M.addEventListener("click",()=>v(M))),Wg={editor:new EL(f,sD,M=>{M.type==="FileNotFound"?alert("A backend problem occurred!"):M.type==="ServerStderr"?O.textContent=M.error:M.type==="BuildError"?(v(p[1]),console.debug("showing the build error card"),s.classList.add("live"),window.setTimeout(()=>{console.debug("removing the build error card"),s.classList.remove("live")},5e3)):M.type==="AnalysisError"?(v(p[1]),o.classList.add("live"),a.innerText=M.msg):console.error("an unknown error occurred:",M)},bb,new URL("https://aquascope.willcrichton.net"))},h.addEventListener("click",M=>o.classList.remove("live"));let x=async(M,b)=>{M.classList.add("waiting"),M.disabled=!0;try{await b()}finally{M.classList.remove("waiting"),M.disabled=!1}},Q=()=>x(t,()=>Wg.editor.renderPermissions({stepper:e.checked,boundaries:n.checked})),R=()=>x(i,()=>Wg.editor.renderOperation("interpreter",{config:{shouldFail:!r.checked}}));Q(),R(),t.addEventListener("click",Q),i.addEventListener("click",R)}); diff --git a/doc/aquascope/analysis/permissions/struct.PathIndex.html b/doc/aquascope/analysis/permissions/struct.PathIndex.html index 0525da6ae..e55ed2aa3 100644 --- a/doc/aquascope/analysis/permissions/struct.PathIndex.html +++ b/doc/aquascope/analysis/permissions/struct.PathIndex.html @@ -14,7 +14,7 @@
Safety
source

pub const fn index(self) -> usize

Extracts the value of this index as a usize.

source

pub const fn as_u32(self) -> u32

Extracts the value of this index as a u32.

source

pub const fn as_usize(self) -> usize

Extracts the value of this index as a usize.

-

Trait Implementations§

source§

impl Add<usize> for PathIndex

§

type Output = PathIndex

The resulting type after applying the + operator.
source§

fn add(self, other: usize) -> Self

Performs the + operation. Read more
source§

impl Atom for PathIndex

source§

fn index(self) -> usize

source§

impl Clone for PathIndex

source§

fn clone(&self) -> PathIndex

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PathIndex

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Decoder> Decodable<D> for PathIndex

source§

fn decode(d: &mut D) -> Self

source§

impl<E: Encoder> Encodable<E> for PathIndex

source§

fn encode(&self, e: &mut E)

source§

impl From<PathIndex> for u32

source§

fn from(v: PathIndex) -> u32

Converts to this type from the input type.
source§

impl From<PathIndex> for usize

source§

fn from(v: PathIndex) -> usize

Converts to this type from the input type.
source§

impl From<u32> for PathIndex

source§

fn from(value: u32) -> Self

Converts to this type from the input type.
source§

impl From<usize> for PathIndex

source§

fn from(value: usize) -> Self

Converts to this type from the input type.
source§

impl Hash for PathIndex

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl Add<usize> for PathIndex

§

type Output = PathIndex

The resulting type after applying the + operator.
source§

fn add(self, other: usize) -> Self

Performs the + operation. Read more
source§

impl Atom for PathIndex

source§

fn index(self) -> usize

source§

impl Clone for PathIndex

source§

fn clone(&self) -> PathIndex

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PathIndex

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D: Decoder> Decodable<D> for PathIndex

source§

fn decode(d: &mut D) -> Self

source§

impl<E: Encoder> Encodable<E> for PathIndex

source§

fn encode(&self, e: &mut E)

source§

impl From<PathIndex> for u32

source§

fn from(v: PathIndex) -> u32

Converts to this type from the input type.
source§

impl From<PathIndex> for usize

source§

fn from(v: PathIndex) -> usize

Converts to this type from the input type.
source§

impl From<u32> for PathIndex

source§

fn from(value: u32) -> Self

Converts to this type from the input type.
source§

impl From<usize> for PathIndex

source§

fn from(value: usize) -> Self

Converts to this type from the input type.
source§

impl Hash for PathIndex

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Idx for PathIndex

source§

fn new(value: usize) -> Self

source§

fn index(self) -> usize

§

fn increment_by(&mut self, amount: usize)

§

fn plus(self, amount: usize) -> Self

source§

impl Ord for PathIndex

source§

fn cmp(&self, other: &PathIndex) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere diff --git a/doc/aquascope/analysis/stepper/trait.Difference.html b/doc/aquascope/analysis/stepper/trait.Difference.html index 74f13bdb8..4ad1359e7 100644 --- a/doc/aquascope/analysis/stepper/trait.Difference.html +++ b/doc/aquascope/analysis/stepper/trait.Difference.html @@ -3,4 +3,4 @@ // Required method fn diff(&self, rhs: Self) -> Self::Diff; -}

Required Associated Types§

Required Methods§

source

fn diff(&self, rhs: Self) -> Self::Diff

Implementations on Foreign Types§

source§

impl<A: Stepable> Difference for Option<A>

§

type Diff = ValueStep<A>

source§

fn diff(&self, rhs: Option<A>) -> Self::Diff

source§

impl Difference for bool

§

type Diff = ValueStep<bool>

source§

fn diff(&self, rhs: bool) -> Self::Diff

Implementors§

\ No newline at end of file +}

Required Associated Types§

Required Methods§

source

fn diff(&self, rhs: Self) -> Self::Diff

Implementations on Foreign Types§

source§

impl Difference for bool

§

type Diff = ValueStep<bool>

source§

fn diff(&self, rhs: bool) -> Self::Diff

source§

impl<A: Stepable> Difference for Option<A>

§

type Diff = ValueStep<A>

source§

fn diff(&self, rhs: Option<A>) -> Self::Diff

Implementors§

\ No newline at end of file diff --git a/doc/aquascope/analysis/struct.MoveKey.html b/doc/aquascope/analysis/struct.MoveKey.html index 14a8362af..5d1b60e87 100644 --- a/doc/aquascope/analysis/struct.MoveKey.html +++ b/doc/aquascope/analysis/struct.MoveKey.html @@ -1,4 +1,4 @@ -MoveKey in aquascope::analysis - Rust

Struct aquascope::analysis::MoveKey

source ·
pub struct MoveKey(pub u32);

Tuple Fields§

§0: u32

Trait Implementations§

source§

impl Clone for MoveKey

source§

fn clone(&self) -> MoveKey

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MoveKey

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&MoveOutIndex> for MoveKey

source§

fn from(f: &Move) -> MoveKey

Converts to this type from the input type.
source§

impl From<MoveOutIndex> for MoveKey

source§

fn from(f: Move) -> MoveKey

Converts to this type from the input type.
source§

impl Hash for MoveKey

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +MoveKey in aquascope::analysis - Rust

Struct aquascope::analysis::MoveKey

source ·
pub struct MoveKey(pub u32);

Tuple Fields§

§0: u32

Trait Implementations§

source§

impl Clone for MoveKey

source§

fn clone(&self) -> MoveKey

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MoveKey

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&MoveOutIndex> for MoveKey

source§

fn from(f: &Move) -> MoveKey

Converts to this type from the input type.
source§

impl From<MoveOutIndex> for MoveKey

source§

fn from(f: Move) -> MoveKey

Converts to this type from the input type.
source§

impl Hash for MoveKey

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for MoveKey

source§

fn cmp(&self, other: &MoveKey) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere diff --git a/doc/aquascope/analysis/trait.Bounded.html b/doc/aquascope/analysis/trait.Bounded.html index 070e7f1c8..acd936032 100644 --- a/doc/aquascope/analysis/trait.Bounded.html +++ b/doc/aquascope/analysis/trait.Bounded.html @@ -6,4 +6,4 @@ fn hi(&self) -> Self::Bound; fn to(&self, other: Self) -> Self; fn overlaps(&self, other: Self) -> bool; -}

Required Associated Types§

Required Methods§

source

fn lo(&self) -> Self::Bound

source

fn hi(&self) -> Self::Bound

source

fn to(&self, other: Self) -> Self

source

fn overlaps(&self, other: Self) -> bool

Implementations on Foreign Types§

source§

impl Bounded for CharRange

§

type Bound = CharPos

source§

fn lo(&self) -> Self::Bound

source§

fn hi(&self) -> Self::Bound

source§

fn overlaps(&self, other: Self) -> bool

source§

fn to(&self, other: Self) -> Self

source§

impl Bounded for Span

§

type Bound = BytePos

source§

fn lo(&self) -> Self::Bound

source§

fn hi(&self) -> Self::Bound

source§

fn overlaps(&self, other: Self) -> bool

source§

fn to(&self, other: Self) -> Self

Implementors§

\ No newline at end of file +}

Required Associated Types§

Required Methods§

source

fn lo(&self) -> Self::Bound

source

fn hi(&self) -> Self::Bound

source

fn to(&self, other: Self) -> Self

source

fn overlaps(&self, other: Self) -> bool

Implementations on Foreign Types§

source§

impl Bounded for Span

§

type Bound = BytePos

source§

fn lo(&self) -> Self::Bound

source§

fn hi(&self) -> Self::Bound

source§

fn overlaps(&self, other: Self) -> bool

source§

fn to(&self, other: Self) -> Self

source§

impl Bounded for CharRange

§

type Bound = CharPos

source§

fn lo(&self) -> Self::Bound

source§

fn hi(&self) -> Self::Bound

source§

fn overlaps(&self, other: Self) -> bool

source§

fn to(&self, other: Self) -> Self

Implementors§

\ No newline at end of file diff --git a/doc/aquascope_workspace_utils/index.html b/doc/aquascope_workspace_utils/index.html index 19583aab3..394b76eb9 100644 --- a/doc/aquascope_workspace_utils/index.html +++ b/doc/aquascope_workspace_utils/index.html @@ -1 +1 @@ -aquascope_workspace_utils - Rust
\ No newline at end of file +aquascope_workspace_utils - Rust
\ No newline at end of file diff --git a/doc/implementors/core/clone/trait.Clone.js b/doc/implementors/core/clone/trait.Clone.js index 0e26129b5..ec7758c35 100644 --- a/doc/implementors/core/clone/trait.Clone.js +++ b/doc/implementors/core/clone/trait.Clone.js @@ -5,7 +5,7 @@ "anstyle":[["impl Clone for Style"],["impl Clone for EffectIter"],["impl Clone for Ansi256Color"],["impl Clone for Color"],["impl Clone for AnsiColor"],["impl Clone for Reset"],["impl Clone for RgbColor"],["impl Clone for Effects"]], "anstyle_parse":[["impl Clone for Params"],["impl Clone for State"],["impl Clone for AsciiParser"],["impl Clone for Action"],["impl<C: Clone> Clone for Parser<C>"],["impl Clone for Utf8Parser"]], "anyhow":[["impl<'a> Clone for Chain<'a>"]], -"aquascope":[["impl Clone for LoanPoints"],["impl Clone for RefinementRegion"],["impl Clone for PathIndex"],["impl Clone for PermissionsStepTable"],["impl Clone for PermissionsDiff"],["impl Clone for MirSegment"],["impl Clone for Permissions"],["impl Clone for LoanRegions"],["impl Clone for PermissionsBoundary"],["impl Clone for GatherMode"],["impl Clone for AquascopeFacts"],["impl Clone for PermIncludeMode"],["impl Clone for GatherDepth"],["impl Clone for Refiner"],["impl Clone for MoveKey"],["impl Clone for PermissionsDataDiff"],["impl Clone for PermissionsLineDisplay"],["impl Clone for PermissionsData"],["impl<A: Clone + Stepable> Clone for ValueStep<A>"],["impl Clone for AquascopeError"],["impl Clone for FlowBoundary"],["impl Clone for MovePoints"],["impl Clone for AnalysisOutput"],["impl<'tcx> Clone for PermissionsDomain<'tcx>"],["impl Clone for LoanKey"],["impl Clone for MoveRegions"]], +"aquascope":[["impl Clone for AnalysisOutput"],["impl Clone for FlowBoundary"],["impl Clone for MoveRegions"],["impl Clone for AquascopeError"],["impl<A: Clone + Stepable> Clone for ValueStep<A>"],["impl Clone for AquascopeFacts"],["impl Clone for PathIndex"],["impl Clone for Refiner"],["impl Clone for PermIncludeMode"],["impl Clone for RefinementRegion"],["impl Clone for MoveKey"],["impl Clone for PermissionsStepTable"],["impl Clone for PermissionsData"],["impl Clone for LoanKey"],["impl Clone for MirSegment"],["impl Clone for GatherMode"],["impl Clone for PermissionsBoundary"],["impl Clone for LoanRegions"],["impl Clone for LoanPoints"],["impl Clone for PermissionsDataDiff"],["impl Clone for PermissionsLineDisplay"],["impl Clone for PermissionsDiff"],["impl Clone for MovePoints"],["impl Clone for Permissions"],["impl Clone for GatherDepth"],["impl<'tcx> Clone for PermissionsDomain<'tcx>"]], "bstr":[["impl<'a> Clone for Sentences<'a>"],["impl Clone for BString"],["impl<'a> Clone for FinderReverse<'a>"],["impl<'a> Clone for Graphemes<'a>"],["impl<'a> Clone for CharIndices<'a>"],["impl<'a> Clone for Bytes<'a>"],["impl<'a> Clone for WordsWithBreaks<'a>"],["impl<'a> Clone for SentenceIndices<'a>"],["impl<'a> Clone for Utf8Chunks<'a>"],["impl<'a> Clone for Chars<'a>"],["impl<'a> Clone for WordIndices<'a>"],["impl<'a> Clone for LinesWithTerminator<'a>"],["impl<'a> Clone for Words<'a>"],["impl<'a> Clone for Finder<'a>"],["impl<'a> Clone for WordsWithBreakIndices<'a>"],["impl Clone for Box<BStr>"],["impl<'a> Clone for Lines<'a>"],["impl<'a> Clone for EscapeBytes<'a>"],["impl Clone for Utf8Error"],["impl<'a> Clone for GraphemeIndices<'a>"]], "camino":[["impl Clone for Utf8PathBuf"],["impl<'a> Clone for Utf8Prefix<'a>"],["impl<'a> Clone for Utf8Components<'a>"],["impl Clone for Box<Utf8Path>"],["impl Clone for FromPathError"],["impl<'a> Clone for Utf8Ancestors<'a>"],["impl<'a> Clone for Iter<'a>"],["impl Clone for FromPathBufError"],["impl<'a> Clone for Utf8PrefixComponent<'a>"],["impl<'a> Clone for Utf8Component<'a>"]], "cargo_metadata":[["impl Clone for Metadata"],["impl Clone for CompilerMessage"],["impl Clone for MetadataCommand"],["impl Clone for Message"],["impl Clone for DependencyKind"],["impl Clone for Node"],["impl Clone for ArtifactProfile"],["impl Clone for DiagnosticCode"],["impl Clone for DiagnosticSpan"],["impl Clone for DiagnosticSpanLine"],["impl Clone for Dependency"],["impl Clone for Resolve"],["impl Clone for Artifact"],["impl Clone for Diagnostic"],["impl Clone for BuildScript"],["impl Clone for DiagnosticLevel"],["impl Clone for BuildFinished"],["impl Clone for NodeDep"],["impl Clone for Source"],["impl Clone for CargoOpt"],["impl Clone for PackageId"],["impl Clone for Target"],["impl Clone for Applicability"],["impl Clone for DiagnosticSpanMacroExpansion"],["impl Clone for Package"],["impl Clone for DepKindInfo"]], @@ -39,7 +39,7 @@ "mdbook":[["impl Clone for Book"],["impl Clone for Search"],["impl Clone for RustConfig"],["impl Clone for BuildConfig"],["impl Clone for BookItem"],["impl Clone for Link"],["impl Clone for Code"],["impl Clone for Fold"],["impl Clone for SectionNumber"],["impl Clone for SummaryItem"],["impl Clone for CmdPreprocessor"],["impl Clone for Playground"],["impl Clone for RenderContext"],["impl Clone for RustEdition"],["impl Clone for HtmlConfig"],["impl Clone for BookConfig"],["impl Clone for Summary"],["impl Clone for Chapter"],["impl Clone for Config"],["impl Clone for Print"],["impl Clone for PreprocessorContext"],["impl Clone for CmdRenderer"],["impl Clone for BookBuilder"]], "mdbook_preprocessor_utils":[["impl Clone for Asset"]], "measureme":[["impl Clone for PageTag"],["impl Clone for EventId"],["impl Clone for Addr"],["impl Clone for StringId"]], -"memchr":[["impl Clone for Three"],["impl Clone for FinderRev"],["impl<'a, 'h> Clone for ThreeIter<'a, 'h>"],["impl Clone for Two"],["impl<'a, 'h> Clone for ThreeIter<'a, 'h>"],["impl Clone for FinderBuilder"],["impl Clone for Three"],["impl<'a, 'h> Clone for OneIter<'a, 'h>"],["impl Clone for Three"],["impl Clone for PrefilterConfig"],["impl Clone for Finder"],["impl<'a, 'h> Clone for TwoIter<'a, 'h>"],["impl Clone for FinderRev"],["impl<'h> Clone for Memchr3<'h>"],["impl<'a, 'h> Clone for TwoIter<'a, 'h>"],["impl<'a, 'h> Clone for OneIter<'a, 'h>"],["impl<'a, 'h> Clone for ThreeIter<'a, 'h>"],["impl<'a, 'h> Clone for OneIter<'a, 'h>"],["impl<'h> Clone for Memchr2<'h>"],["impl Clone for Finder"],["impl Clone for One"],["impl Clone for Two"],["impl Clone for Finder"],["impl Clone for Two"],["impl Clone for One"],["impl<'n> Clone for FinderRev<'n>"],["impl<'h> Clone for Memchr<'h>"],["impl Clone for Finder"],["impl Clone for Pair"],["impl Clone for Finder"],["impl<'n> Clone for Finder<'n>"],["impl<'a, 'h> Clone for TwoIter<'a, 'h>"],["impl Clone for One"]], +"memchr":[["impl Clone for Three"],["impl Clone for One"],["impl<'a, 'h> Clone for OneIter<'a, 'h>"],["impl<'a, 'h> Clone for OneIter<'a, 'h>"],["impl Clone for Pair"],["impl Clone for PrefilterConfig"],["impl<'a, 'h> Clone for TwoIter<'a, 'h>"],["impl Clone for One"],["impl Clone for Finder"],["impl Clone for FinderRev"],["impl<'h> Clone for Memchr2<'h>"],["impl<'a, 'h> Clone for OneIter<'a, 'h>"],["impl Clone for Two"],["impl Clone for Finder"],["impl Clone for FinderBuilder"],["impl<'a, 'h> Clone for ThreeIter<'a, 'h>"],["impl<'n> Clone for Finder<'n>"],["impl Clone for FinderRev"],["impl Clone for Finder"],["impl Clone for Three"],["impl Clone for Two"],["impl Clone for Finder"],["impl<'a, 'h> Clone for ThreeIter<'a, 'h>"],["impl<'a, 'h> Clone for TwoIter<'a, 'h>"],["impl Clone for Two"],["impl Clone for Finder"],["impl Clone for One"],["impl<'a, 'h> Clone for ThreeIter<'a, 'h>"],["impl Clone for Three"],["impl<'h> Clone for Memchr3<'h>"],["impl<'n> Clone for FinderRev<'n>"],["impl<'a, 'h> Clone for TwoIter<'a, 'h>"],["impl<'h> Clone for Memchr<'h>"]], "memmap2":[["impl Clone for MmapOptions"]], "miniz_oxide":[["impl Clone for CompressionLevel"],["impl Clone for DataFormat"],["impl Clone for MZError"],["impl Clone for MZStatus"],["impl Clone for TDEFLStatus"],["impl Clone for CompressionStrategy"],["impl Clone for TDEFLFlush"],["impl Clone for TINFLStatus"],["impl Clone for StreamResult"],["impl Clone for MZFlush"]], "miri":[["impl Clone for BorTag"],["impl Clone for Dlsym"],["impl Clone for MiriMemoryKind"],["impl Clone for RwLockId"],["impl Clone for AlignmentCheck"],["impl Clone for RejectOpWith"],["impl Clone for ProvenanceMode"],["impl Clone for AtomicRwOrd"],["impl Clone for AtomicReadOrd"],["impl Clone for Permission"],["impl Clone for Provenance"],["impl Clone for AtomicWriteOrd"],["impl Clone for Item"],["impl Clone for Tree"],["impl Clone for IsolatedOp"],["impl Clone for InitOnceId"],["impl Clone for BorrowTrackerMethod"],["impl<T: Clone> Clone for RangeMap<T>"],["impl Clone for CondvarId"],["impl Clone for BacktraceStyle"],["impl<K: Clone + Hash + Eq, V: Clone> Clone for MonoHashMap<K, V>"],["impl Clone for ProvenanceExtra"],["impl Clone for RetagFields"],["impl Clone for Stacks"],["impl Clone for AtomicFenceOrd"],["impl Clone for MiriConfig"],["impl Clone for ThreadId"],["impl<'tcx> Clone for AllocExtra<'tcx>"],["impl Clone for Stack"],["impl Clone for MutexId"]], @@ -50,7 +50,7 @@ "parking_lot":[["impl Clone for OnceState"],["impl Clone for WaitTimeoutResult"]], "parking_lot_core":[["impl Clone for ParkResult"],["impl Clone for ParkToken"],["impl Clone for UnparkResult"],["impl Clone for FilterOp"],["impl Clone for RequeueOp"],["impl Clone for UnparkToken"]], "perf_event_open_sys":[["impl<Storage: Clone> Clone for __BindgenBitfieldUnit<Storage>"],["impl Clone for perf_mem_data_src__bindgen_ty_1"],["impl Clone for __kernel_fsid_t"],["impl Clone for perf_event_attr__bindgen_ty_3"],["impl Clone for perf_sample_weight__bindgen_ty_1"],["impl Clone for perf_sample_weight"],["impl Clone for perf_event_attr__bindgen_ty_2"],["impl Clone for __kernel_fd_set"],["impl Clone for perf_event_mmap_page"],["impl Clone for perf_branch_entry"],["impl Clone for perf_ns_link_info"],["impl Clone for perf_event_attr__bindgen_ty_1"],["impl Clone for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1"],["impl Clone for perf_mem_data_src"],["impl Clone for perf_event_attr"],["impl Clone for perf_event_mmap_page__bindgen_ty_1"],["impl Clone for perf_event_header"],["impl Clone for perf_event_attr__bindgen_ty_4"]], -"pest":[["impl<'i, R: Clone> Clone for FlatPairs<'i, R>"],["impl Clone for Assoc"],["impl Clone for MatchDir"],["impl<'i, R: Clone> Clone for Token<'i, R>"],["impl Clone for InputLocation"],["impl<'i, R: Clone> Clone for Pair<'i, R>"],["impl<'i> Clone for Position<'i>"],["impl Clone for Atomicity"],["impl Clone for Assoc"],["impl<R: Clone> Clone for Error<R>"],["impl<'i, R: Clone> Clone for Pairs<'i, R>"],["impl Clone for LineColLocation"],["impl<'i, R: Clone> Clone for Tokens<'i, R>"],["impl Clone for Lookahead"],["impl<'i> Clone for Span<'i>"],["impl<R: Clone> Clone for ErrorVariant<R>"]], +"pest":[["impl<'i> Clone for Span<'i>"],["impl<'i, R: Clone> Clone for FlatPairs<'i, R>"],["impl Clone for MatchDir"],["impl Clone for Lookahead"],["impl<R: Clone> Clone for Error<R>"],["impl<'i, R: Clone> Clone for Pairs<'i, R>"],["impl<'i> Clone for Position<'i>"],["impl Clone for InputLocation"],["impl Clone for Assoc"],["impl Clone for LineColLocation"],["impl<'i, R: Clone> Clone for Pair<'i, R>"],["impl<R: Clone> Clone for ErrorVariant<R>"],["impl<'i, R: Clone> Clone for Tokens<'i, R>"],["impl Clone for Assoc"],["impl<'i, R: Clone> Clone for Token<'i, R>"],["impl Clone for Atomicity"]], "pest_meta":[["impl Clone for RuleType"],["impl Clone for Rule"],["impl Clone for Rule"],["impl<'i> Clone for ParserExpr<'i>"],["impl Clone for OptimizedExpr"],["impl Clone for OptimizedRule"],["impl<'i> Clone for ParserRule<'i>"],["impl Clone for Expr"],["impl<'i> Clone for ParserNode<'i>"]], "ppv_lite86":[["impl Clone for NoA2"],["impl<NI: Clone> Clone for Avx2Machine<NI>"],["impl Clone for YesA1"],["impl Clone for YesS3"],["impl Clone for YesNI"],["impl Clone for vec512_storage"],["impl Clone for YesA2"],["impl<S3: Clone, S4: Clone, NI: Clone> Clone for SseMachine<S3, S4, NI>"],["impl Clone for vec256_storage"],["impl Clone for NoS3"],["impl Clone for NoS4"],["impl Clone for NoA1"],["impl Clone for vec128_storage"],["impl Clone for YesS4"],["impl Clone for NoNI"]], "proc_macro2":[["impl Clone for Delimiter"],["impl Clone for Punct"],["impl Clone for IntoIter"],["impl Clone for TokenStream"],["impl Clone for Spacing"],["impl Clone for DelimSpan"],["impl Clone for Ident"],["impl Clone for TokenTree"],["impl Clone for Span"],["impl Clone for Literal"],["impl Clone for Group"]], diff --git a/doc/implementors/core/cmp/trait.Eq.js b/doc/implementors/core/cmp/trait.Eq.js index eadd482a8..1762799b7 100644 --- a/doc/implementors/core/cmp/trait.Eq.js +++ b/doc/implementors/core/cmp/trait.Eq.js @@ -3,7 +3,7 @@ "anstream":[["impl Eq for StripStr"],["impl<'s> Eq for StripStrIter<'s>"],["impl<'s> Eq for StrippedBytes<'s>"],["impl<'s> Eq for WinconBytesIter<'s>"],["impl Eq for WinconBytes"],["impl Eq for Buffer"],["impl<'s> Eq for StrippedStr<'s>"],["impl<'s> Eq for StripBytesIter<'s>"],["impl Eq for StripBytes"]], "anstyle":[["impl Eq for RgbColor"],["impl Eq for EffectIter"],["impl Eq for Effects"],["impl Eq for Ansi256Color"],["impl Eq for AnsiColor"],["impl Eq for Color"],["impl Eq for Style"],["impl Eq for Reset"]], "anstyle_parse":[["impl Eq for State"],["impl Eq for AsciiParser"],["impl Eq for Params"],["impl Eq for Action"],["impl Eq for Utf8Parser"],["impl<C: Eq> Eq for Parser<C>"]], -"aquascope":[["impl<'tcx> Eq for PermissionsDomain<'tcx>"],["impl Eq for LoanKey"],["impl<A: Eq + Stepable> Eq for ValueStep<A>"],["impl Eq for GatherDepth"],["impl Eq for PermissionsDataDiff"],["impl Eq for PermIncludeMode"],["impl Eq for MoveKey"],["impl Eq for PermissionsDiff"],["impl Eq for GatherMode"],["impl Eq for MirSegment"],["impl Eq for Permissions"],["impl Eq for PermissionsData"],["impl Eq for PathIndex"]], +"aquascope":[["impl Eq for GatherMode"],["impl Eq for PermIncludeMode"],["impl Eq for LoanKey"],["impl Eq for GatherDepth"],["impl<'tcx> Eq for PermissionsDomain<'tcx>"],["impl Eq for PathIndex"],["impl<A: Eq + Stepable> Eq for ValueStep<A>"],["impl Eq for PermissionsData"],["impl Eq for PermissionsDataDiff"],["impl Eq for MirSegment"],["impl Eq for PermissionsDiff"],["impl Eq for MoveKey"],["impl Eq for Permissions"]], "bstr":[["impl Eq for BStr"],["impl Eq for BString"],["impl Eq for Utf8Error"],["impl Eq for FromUtf8Error"]], "camino":[["impl Eq for FromPathBufError"],["impl Eq for Utf8Path"],["impl<'a> Eq for Utf8Component<'a>"],["impl<'a> Eq for Utf8Components<'a>"],["impl Eq for FromPathError"],["impl<'a> Eq for Utf8PrefixComponent<'a>"],["impl<'a> Eq for Utf8Prefix<'a>"],["impl Eq for Utf8PathBuf"]], "cargo_metadata":[["impl Eq for DiagnosticCode"],["impl Eq for Source"],["impl Eq for BuildScript"],["impl Eq for Message"],["impl Eq for Applicability"],["impl Eq for DiagnosticSpanMacroExpansion"],["impl Eq for Target"],["impl Eq for DiagnosticLevel"],["impl Eq for Artifact"],["impl Eq for DiagnosticSpanLine"],["impl Eq for DependencyKind"],["impl Eq for BuildFinished"],["impl Eq for Diagnostic"],["impl Eq for ArtifactProfile"],["impl Eq for Package"],["impl Eq for DiagnosticSpan"],["impl Eq for PackageId"],["impl Eq for CompilerMessage"],["impl Eq for Dependency"]], @@ -40,7 +40,7 @@ "parking_lot":[["impl Eq for WaitTimeoutResult"],["impl Eq for OnceState"]], "parking_lot_core":[["impl Eq for FilterOp"],["impl Eq for ParkToken"],["impl Eq for UnparkToken"],["impl Eq for ParkResult"],["impl Eq for RequeueOp"],["impl Eq for UnparkResult"]], "perf_event_open_sys":[["impl<Storage: Eq> Eq for __BindgenBitfieldUnit<Storage>"]], -"pest":[["impl Eq for MatchDir"],["impl<'i, R: Eq> Eq for Pairs<'i, R>"],["impl<R: Eq> Eq for ErrorVariant<R>"],["impl Eq for Assoc"],["impl<'i, R: Eq> Eq for Token<'i, R>"],["impl Eq for Assoc"],["impl Eq for InputLocation"],["impl Eq for LineColLocation"],["impl<'i, R: Eq> Eq for Pair<'i, R>"],["impl Eq for Atomicity"],["impl<'i> Eq for Position<'i>"],["impl<'i> Eq for Span<'i>"],["impl<R: Eq> Eq for Error<R>"],["impl Eq for Lookahead"]], +"pest":[["impl<'i, R: Eq> Eq for Pair<'i, R>"],["impl Eq for MatchDir"],["impl Eq for Assoc"],["impl<'i, R: Eq> Eq for Token<'i, R>"],["impl Eq for LineColLocation"],["impl<'i> Eq for Position<'i>"],["impl<R: Eq> Eq for Error<R>"],["impl Eq for Lookahead"],["impl<'i, R: Eq> Eq for Pairs<'i, R>"],["impl Eq for Atomicity"],["impl Eq for Assoc"],["impl<'i> Eq for Span<'i>"],["impl Eq for InputLocation"],["impl<R: Eq> Eq for ErrorVariant<R>"]], "pest_meta":[["impl Eq for OptimizedRule"],["impl Eq for Rule"],["impl<'i> Eq for ParserExpr<'i>"],["impl Eq for OptimizedExpr"],["impl Eq for Rule"],["impl<'i> Eq for ParserRule<'i>"],["impl Eq for Expr"],["impl Eq for RuleType"],["impl<'i> Eq for ParserNode<'i>"]], "ppv_lite86":[["impl Eq for vec256_storage"],["impl Eq for vec128_storage"],["impl Eq for vec512_storage"]], "proc_macro2":[["impl Eq for Ident"],["impl Eq for Delimiter"],["impl Eq for Spacing"]], diff --git a/doc/implementors/core/cmp/trait.PartialEq.js b/doc/implementors/core/cmp/trait.PartialEq.js index 151ea4714..25391172b 100644 --- a/doc/implementors/core/cmp/trait.PartialEq.js +++ b/doc/implementors/core/cmp/trait.PartialEq.js @@ -3,7 +3,7 @@ "anstream":[["impl PartialEq<Buffer> for Buffer"],["impl<'s> PartialEq<StrippedStr<'s>> for StrippedStr<'s>"],["impl<'s> PartialEq<StrippedBytes<'s>> for StrippedBytes<'s>"],["impl PartialEq<StripBytes> for StripBytes"],["impl<'s> PartialEq<StripBytesIter<'s>> for StripBytesIter<'s>"],["impl<'s> PartialEq<WinconBytesIter<'s>> for WinconBytesIter<'s>"],["impl PartialEq<WinconBytes> for WinconBytes"],["impl PartialEq<StripStr> for StripStr"],["impl<'s> PartialEq<StripStrIter<'s>> for StripStrIter<'s>"]], "anstyle":[["impl PartialEq<Ansi256Color> for Ansi256Color"],["impl PartialEq<Reset> for Reset"],["impl PartialEq<Color> for Color"],["impl PartialEq<Style> for Style"],["impl PartialEq<EffectIter> for EffectIter"],["impl PartialEq<AnsiColor> for AnsiColor"],["impl PartialEq<Effects> for Style"],["impl PartialEq<RgbColor> for RgbColor"],["impl PartialEq<Effects> for Effects"]], "anstyle_parse":[["impl PartialEq<Params> for Params"],["impl PartialEq<Action> for Action"],["impl PartialEq<Utf8Parser> for Utf8Parser"],["impl PartialEq<AsciiParser> for AsciiParser"],["impl<C: PartialEq> PartialEq<Parser<C>> for Parser<C>"],["impl PartialEq<State> for State"]], -"aquascope":[["impl<'tcx> PartialEq<PermissionsDomain<'tcx>> for PermissionsDomain<'tcx>"],["impl PartialEq<PathIndex> for PathIndex"],["impl PartialEq<PermissionsDiff> for PermissionsDiff"],["impl PartialEq<Permissions> for Permissions"],["impl PartialEq<MirSegment> for MirSegment"],["impl<A: PartialEq + Stepable> PartialEq<ValueStep<A>> for ValueStep<A>"],["impl PartialEq<PermissionsDataDiff> for PermissionsDataDiff"],["impl PartialEq<LoanKey> for LoanKey"],["impl PartialEq<RefinementRegion> for RefinementRegion"],["impl PartialEq<Refiner> for Refiner"],["impl PartialEq<GatherMode> for GatherMode"],["impl PartialEq<MValue> for MValue"],["impl PartialEq<GatherDepth> for GatherDepth"],["impl PartialEq<MoveKey> for MoveKey"],["impl PartialEq<PermissionsData> for PermissionsData"],["impl PartialEq<PermIncludeMode> for PermIncludeMode"]], +"aquascope":[["impl<'tcx> PartialEq<PermissionsDomain<'tcx>> for PermissionsDomain<'tcx>"],["impl PartialEq<MoveKey> for MoveKey"],["impl PartialEq<PermissionsDiff> for PermissionsDiff"],["impl<A: PartialEq + Stepable> PartialEq<ValueStep<A>> for ValueStep<A>"],["impl PartialEq<GatherDepth> for GatherDepth"],["impl PartialEq<PermIncludeMode> for PermIncludeMode"],["impl PartialEq<MirSegment> for MirSegment"],["impl PartialEq<PathIndex> for PathIndex"],["impl PartialEq<PermissionsDataDiff> for PermissionsDataDiff"],["impl PartialEq<LoanKey> for LoanKey"],["impl PartialEq<GatherMode> for GatherMode"],["impl PartialEq<PermissionsData> for PermissionsData"],["impl PartialEq<Permissions> for Permissions"],["impl PartialEq<MValue> for MValue"],["impl PartialEq<Refiner> for Refiner"],["impl PartialEq<RefinementRegion> for RefinementRegion"]], "bstr":[["impl<'a, 'b> PartialEq<str> for BString"],["impl PartialEq<Utf8Error> for Utf8Error"],["impl<'a, 'b> PartialEq<Vec<u8, Global>> for BStr"],["impl<'a, 'b> PartialEq<BStr> for &'a str"],["impl<'a, 'b> PartialEq<String> for &'a BStr"],["impl<'a, 'b> PartialEq<Cow<'a, str>> for &'a BStr"],["impl<'a, 'b> PartialEq<&'a BStr> for Cow<'a, BStr>"],["impl<'a, 'b> PartialEq<BString> for [u8]"],["impl<'a, 'b> PartialEq<BStr> for [u8]"],["impl<'a, 'b> PartialEq<BStr> for String"],["impl<'a, 'b> PartialEq<&'a BStr> for Cow<'a, str>"],["impl<'a, 'b> PartialEq<BString> for BStr"],["impl<'a, 'b> PartialEq<BStr> for Vec<u8>"],["impl<'a, 'b> PartialEq<Cow<'a, BStr>> for &'a BStr"],["impl<'a, 'b> PartialEq<BStr> for str"],["impl<'a, 'b> PartialEq<BString> for &'a BStr"],["impl<'a, 'b> PartialEq<str> for BStr"],["impl PartialEq<BStr> for BStr"],["impl<'a, 'b> PartialEq<&'a str> for BStr"],["impl<'a, 'b> PartialEq<&'a BStr> for BString"],["impl<'a, 'b> PartialEq<String> for BString"],["impl<'a, 'b> PartialEq<[u8]> for BStr"],["impl<'a, 'b> PartialEq<&'a [u8]> for BStr"],["impl<'a, 'b> PartialEq<Cow<'a, [u8]>> for &'a BStr"],["impl<'a, 'b> PartialEq<&'a BStr> for Vec<u8>"],["impl<'a, 'b> PartialEq<BStr> for BString"],["impl<'a, 'b> PartialEq<Vec<u8, Global>> for BString"],["impl<'a, 'b> PartialEq<BString> for str"],["impl<'a, 'b> PartialEq<&'a str> for BString"],["impl<'a, 'b> PartialEq<&'a [u8]> for BString"],["impl<'a, 'b> PartialEq<&'a BStr> for String"],["impl PartialEq<BString> for BString"],["impl<'a, 'b> PartialEq<BString> for String"],["impl<'a, 'b> PartialEq<&'a BStr> for Cow<'a, [u8]>"],["impl<'a, 'b> PartialEq<BString> for Vec<u8>"],["impl PartialEq<FromUtf8Error> for FromUtf8Error"],["impl<'a, 'b> PartialEq<Vec<u8, Global>> for &'a BStr"],["impl<'a, 'b> PartialEq<BString> for &'a [u8]"],["impl<'a, 'b> PartialEq<[u8]> for BString"],["impl<'a, 'b> PartialEq<String> for BStr"],["impl<'a, 'b> PartialEq<BString> for &'a str"],["impl<'a, 'b> PartialEq<BStr> for &'a [u8]"]], "camino":[["impl<'a, 'b> PartialEq<PathBuf> for Utf8PathBuf"],["impl PartialEq<Utf8PathBuf> for Utf8PathBuf"],["impl PartialEq<FromPathBufError> for FromPathBufError"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for Cow<'b, Path>"],["impl PartialEq<Utf8Path> for Utf8Path"],["impl<'a, 'b> PartialEq<&'a Path> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Utf8Path> for OsStr"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for PathBuf"],["impl<'a, 'b> PartialEq<&'b Utf8Path> for Cow<'a, Utf8Path>"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for String"],["impl<'a, 'b> PartialEq<String> for &'a Utf8Path"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for str"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for &'a Utf8Path"],["impl<'a> PartialEq<Utf8PrefixComponent<'a>> for Utf8PrefixComponent<'a>"],["impl<'a> PartialEq<Utf8Components<'a>> for Utf8Components<'a>"],["impl<'a, 'b> PartialEq<Utf8Path> for Path"],["impl<'a, 'b> PartialEq<&'a str> for Utf8Path"],["impl<'a, 'b> PartialEq<Cow<'b, OsStr>> for &'a Utf8Path"],["impl<'a, 'b> PartialEq<Path> for Utf8Path"],["impl<'a, 'b> PartialEq<PathBuf> for Utf8Path"],["impl<'a, 'b> PartialEq<Path> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<String> for Utf8Path"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for Cow<'a, Path>"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for Path"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for OsStr"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for PathBuf"],["impl<'a, 'b> PartialEq<Cow<'a, str>> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for str"],["impl<'a, 'b> PartialEq<String> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for Path"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for Utf8Path"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for Cow<'a, Utf8Path>"],["impl<'a, 'b> PartialEq<Utf8Path> for &'a OsStr"],["impl<'a, 'b> PartialEq<Utf8Path> for String"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for &'a OsStr"],["impl<'a, 'b> PartialEq<Utf8Path> for PathBuf"],["impl<'a, 'b> PartialEq<Utf8Path> for str"],["impl<'a, 'b> PartialEq<OsStr> for &'a Utf8Path"],["impl<'a, 'b> PartialEq<Utf8Path> for Cow<'a, Utf8Path>"],["impl<'a, 'b> PartialEq<Cow<'a, Path>> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for &'a Path"],["impl<'a, 'b> PartialEq<str> for Utf8Path"],["impl<'a, 'b> PartialEq<OsString> for &'a Utf8Path"],["impl<'a, 'b> PartialEq<&'a OsStr> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Path> for &'a Utf8Path"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for Cow<'b, OsStr>"],["impl<'a, 'b> PartialEq<Utf8Path> for &'a str"],["impl<'a, 'b> PartialEq<Utf8Path> for Cow<'a, str>"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for Cow<'b, str>"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for Cow<'a, OsStr>"],["impl<'a> PartialEq<Utf8Prefix<'a>> for Utf8Prefix<'a>"],["impl<'a, 'b> PartialEq<Utf8Path> for Cow<'a, Path>"],["impl<'a, 'b> PartialEq<&'a str> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Utf8Path> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for OsString"],["impl<'a, 'b> PartialEq<OsStr> for Utf8Path"],["impl<'a, 'b> PartialEq<Cow<'a, Utf8Path>> for &'b Utf8Path"],["impl<'a, 'b> PartialEq<str> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for Utf8Path"],["impl<'a, 'b> PartialEq<Cow<'a, Path>> for Utf8Path"],["impl<'a> PartialEq<Utf8Component<'a>> for Utf8Component<'a>"],["impl<'a, 'b> PartialEq<Utf8Path> for OsString"],["impl<'a, 'b> PartialEq<Cow<'a, Utf8Path>> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<PathBuf> for &'a Utf8Path"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for Cow<'a, str>"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for OsString"],["impl<'a, 'b> PartialEq<OsString> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Utf8Path> for &'a Path"],["impl<'a, 'b> PartialEq<OsString> for Utf8Path"],["impl<'a, 'b> PartialEq<OsStr> for Utf8PathBuf"],["impl<'a, 'b> PartialEq<Utf8Path> for Cow<'a, OsStr>"],["impl<'a, 'b> PartialEq<&'a OsStr> for Utf8Path"],["impl<'a, 'b> PartialEq<&'a Path> for Utf8Path"],["impl<'a, 'b> PartialEq<&'a Utf8Path> for OsStr"],["impl<'a, 'b> PartialEq<Cow<'a, str>> for Utf8Path"],["impl<'a, 'b> PartialEq<str> for &'a Utf8Path"],["impl<'a, 'b> PartialEq<Cow<'b, str>> for &'a Utf8Path"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for &'a str"],["impl<'a, 'b> PartialEq<Utf8PathBuf> for String"],["impl PartialEq<FromPathError> for FromPathError"],["impl<'a, 'b> PartialEq<Cow<'b, Path>> for &'a Utf8Path"],["impl<'a, 'b> PartialEq<Cow<'a, Utf8Path>> for Utf8Path"]], "cargo_metadata":[["impl PartialEq<Dependency> for Dependency"],["impl PartialEq<DiagnosticSpanLine> for DiagnosticSpanLine"],["impl PartialEq<CompilerMessage> for CompilerMessage"],["impl PartialEq<Diagnostic> for Diagnostic"],["impl PartialEq<BuildScript> for BuildScript"],["impl PartialEq<Package> for Package"],["impl PartialEq<DiagnosticSpanMacroExpansion> for DiagnosticSpanMacroExpansion"],["impl PartialEq<Message> for Message"],["impl PartialEq<PackageId> for PackageId"],["impl PartialEq<Applicability> for Applicability"],["impl PartialEq<DiagnosticCode> for DiagnosticCode"],["impl PartialEq<ArtifactProfile> for ArtifactProfile"],["impl PartialEq<Artifact> for Artifact"],["impl PartialEq<DiagnosticLevel> for DiagnosticLevel"],["impl PartialEq<DiagnosticSpan> for DiagnosticSpan"],["impl PartialEq<Target> for Target"],["impl PartialEq<BuildFinished> for BuildFinished"],["impl PartialEq<Source> for Source"],["impl PartialEq<DependencyKind> for DependencyKind"]], @@ -41,7 +41,7 @@ "parking_lot":[["impl PartialEq<OnceState> for OnceState"],["impl PartialEq<WaitTimeoutResult> for WaitTimeoutResult"]], "parking_lot_core":[["impl PartialEq<UnparkToken> for UnparkToken"],["impl PartialEq<ParkToken> for ParkToken"],["impl PartialEq<FilterOp> for FilterOp"],["impl PartialEq<RequeueOp> for RequeueOp"],["impl PartialEq<UnparkResult> for UnparkResult"],["impl PartialEq<ParkResult> for ParkResult"]], "perf_event_open_sys":[["impl<Storage: PartialEq> PartialEq<__BindgenBitfieldUnit<Storage>> for __BindgenBitfieldUnit<Storage>"]], -"pest":[["impl PartialEq<Assoc> for Assoc"],["impl<'i> PartialEq<Span<'i>> for Span<'i>"],["impl PartialEq<Assoc> for Assoc"],["impl PartialEq<InputLocation> for InputLocation"],["impl<'i, R: PartialEq> PartialEq<Token<'i, R>> for Token<'i, R>"],["impl<'i> PartialEq<Position<'i>> for Position<'i>"],["impl<R: PartialEq> PartialEq<Error<R>> for Error<R>"],["impl<'i, R: PartialEq> PartialEq<Pair<'i, R>> for Pair<'i, R>"],["impl<'i, R: PartialEq> PartialEq<Pairs<'i, R>> for Pairs<'i, R>"],["impl PartialEq<Lookahead> for Lookahead"],["impl PartialEq<LineColLocation> for LineColLocation"],["impl PartialEq<MatchDir> for MatchDir"],["impl<R: PartialEq> PartialEq<ErrorVariant<R>> for ErrorVariant<R>"],["impl PartialEq<Atomicity> for Atomicity"]], +"pest":[["impl PartialEq<Lookahead> for Lookahead"],["impl PartialEq<Assoc> for Assoc"],["impl<'i> PartialEq<Position<'i>> for Position<'i>"],["impl<'i, R: PartialEq> PartialEq<Token<'i, R>> for Token<'i, R>"],["impl PartialEq<MatchDir> for MatchDir"],["impl<'i, R: PartialEq> PartialEq<Pair<'i, R>> for Pair<'i, R>"],["impl PartialEq<InputLocation> for InputLocation"],["impl<R: PartialEq> PartialEq<Error<R>> for Error<R>"],["impl PartialEq<Atomicity> for Atomicity"],["impl PartialEq<Assoc> for Assoc"],["impl<'i> PartialEq<Span<'i>> for Span<'i>"],["impl PartialEq<LineColLocation> for LineColLocation"],["impl<R: PartialEq> PartialEq<ErrorVariant<R>> for ErrorVariant<R>"],["impl<'i, R: PartialEq> PartialEq<Pairs<'i, R>> for Pairs<'i, R>"]], "pest_meta":[["impl PartialEq<Expr> for Expr"],["impl PartialEq<Rule> for Rule"],["impl PartialEq<RuleType> for RuleType"],["impl PartialEq<Rule> for Rule"],["impl PartialEq<OptimizedRule> for OptimizedRule"],["impl<'i> PartialEq<ParserNode<'i>> for ParserNode<'i>"],["impl<'i> PartialEq<ParserExpr<'i>> for ParserExpr<'i>"],["impl PartialEq<OptimizedExpr> for OptimizedExpr"],["impl<'i> PartialEq<ParserRule<'i>> for ParserRule<'i>"]], "ppv_lite86":[["impl PartialEq<vec128_storage> for vec128_storage"],["impl PartialEq<vec256_storage> for vec256_storage"],["impl PartialEq<vec512_storage> for vec512_storage"]], "proc_macro2":[["impl PartialEq<Delimiter> for Delimiter"],["impl PartialEq<Spacing> for Spacing"],["impl<T> PartialEq<T> for Identwhere\n T: ?Sized + AsRef<str>,"],["impl PartialEq<Ident> for Ident"]], diff --git a/doc/implementors/core/convert/trait.From.js b/doc/implementors/core/convert/trait.From.js index f860d96bd..d73031c8d 100644 --- a/doc/implementors/core/convert/trait.From.js +++ b/doc/implementors/core/convert/trait.From.js @@ -2,7 +2,7 @@ "aho_corasick":[["impl<'h, H: ?Sized + AsRef<[u8]>> From<&'h H> for Input<'h>"],["impl From<u8> for PatternID"],["impl From<Range<usize>> for Span"],["impl From<Span> for Range<usize>"],["impl From<u8> for StateID"]], "anstyle":[["impl From<(u8, u8, u8)> for Color"],["impl From<u8> for Ansi256Color"],["impl From<AnsiColor> for Color"],["impl From<(u8, u8, u8)> for RgbColor"],["impl From<AnsiColor> for Ansi256Color"],["impl From<RgbColor> for Color"],["impl From<u8> for Color"],["impl From<Ansi256Color> for Color"],["impl From<Effects> for Style"]], "anyhow":[["impl From<Error> for Box<dyn StdError + Send + Sync + 'static>"],["impl From<Error> for Box<dyn StdError + 'static>"],["impl<E> From<E> for Errorwhere\n E: StdError + Send + Sync + 'static,"],["impl From<Error> for Box<dyn StdError + Send + 'static>"]], -"aquascope":[["impl<'tcx> From<HashMap<Place<'tcx>, PermissionsData, BuildHasherDefault<FxHasher>>> for PermissionsDomain<'tcx>"],["impl From<PathIndex> for usize"],["impl From<Error> for AquascopeError"],["impl From<u32> for PathIndex"],["impl From<PathIndex> for u32"],["impl From<&<AquascopeFacts as FactTypes>::Loan> for LoanKey"],["impl From<MoveOutIndex> for MoveKey"],["impl From<&MoveOutIndex> for MoveKey"],["impl From<usize> for PathIndex"]], +"aquascope":[["impl From<PathIndex> for u32"],["impl<'tcx> From<HashMap<Place<'tcx>, PermissionsData, BuildHasherDefault<FxHasher>>> for PermissionsDomain<'tcx>"],["impl From<u32> for PathIndex"],["impl From<usize> for PathIndex"],["impl From<&MoveOutIndex> for MoveKey"],["impl From<MoveOutIndex> for MoveKey"],["impl From<&<AquascopeFacts as FactTypes>::Loan> for LoanKey"],["impl From<PathIndex> for usize"],["impl From<Error> for AquascopeError"]], "bstr":[["impl<'a> From<&'a BStr> for BString"],["impl<'a> From<&'a [u8]> for &'a BStr"],["impl From<String> for BString"],["impl From<Vec<u8, Global>> for BString"],["impl From<BString> for Vec<u8>"],["impl<'a, const N: usize> From<&'a [u8; N]> for BString"],["impl<const N: usize> From<[u8; N]> for BString"],["impl<'a> From<&'a str> for BString"],["impl<'a> From<&'a [u8]> for BString"],["impl<'a> From<&'a str> for &'a BStr"],["impl<'a> From<&'a BStr> for &'a [u8]"],["impl<'a, const N: usize> From<&'a [u8; N]> for &'a BStr"],["impl From<Box<BStr, Global>> for Box<[u8]>"],["impl<'a> From<&'a BStr> for Cow<'a, BStr>"],["impl<'a> From<BString> for Cow<'a, BStr>"],["impl From<Box<[u8], Global>> for Box<BStr>"]], "camino":[["impl From<&Utf8Path> for Rc<Utf8Path>"],["impl From<&Utf8Path> for Arc<Utf8Path>"],["impl<T: ?Sized + AsRef<str>> From<&T> for Utf8PathBuf"],["impl From<Utf8PathBuf> for Arc<Path>"],["impl From<&Utf8Path> for Rc<Path>"],["impl From<Utf8PathBuf> for String"],["impl From<Utf8PathBuf> for OsString"],["impl<'a> From<&'a str> for &'a Utf8Path"],["impl From<Utf8PathBuf> for Rc<Path>"],["impl<'a> From<Utf8PathBuf> for Cow<'a, Utf8Path>"],["impl From<Utf8PathBuf> for Box<Path>"],["impl From<Utf8PathBuf> for Arc<Utf8Path>"],["impl From<String> for Utf8PathBuf"],["impl From<&Utf8Path> for Arc<Path>"],["impl<'a> From<Cow<'a, Utf8Path>> for Utf8PathBuf"],["impl From<Utf8PathBuf> for Rc<Utf8Path>"],["impl From<Utf8PathBuf> for PathBuf"],["impl From<&Utf8Path> for Box<Path>"],["impl<T: ?Sized + AsRef<str>> From<&T> for Box<Utf8Path>"],["impl From<Box<Utf8Path, Global>> for Utf8PathBuf"],["impl From<Utf8PathBuf> for Box<Utf8Path>"],["impl<'a> From<Utf8PathBuf> for Cow<'a, Path>"],["impl<'a> From<&'a Utf8Path> for Cow<'a, Utf8Path>"],["impl<'a> From<&'a Utf8Path> for Cow<'a, Path>"]], "cargo_metadata":[["impl From<Error> for Error"],["impl From<FromUtf8Error> for Error"],["impl From<Error> for Error"],["impl From<Utf8Error> for Error"]], @@ -30,7 +30,7 @@ "nix":[["impl From<Errno> for Error"],["impl<'a> From<&'a sigevent> for SigEvent"],["impl From<TimeSpec> for Duration"],["impl From<timespec> for TimeSpec"],["impl From<Pid> for pid_t"],["impl From<timeval> for TimeVal"],["impl From<Duration> for TimeSpec"]], "nom_locate":[["impl<T: AsBytes, X: Default> From<T> for LocatedSpan<T, X>"]], "once_cell":[["impl<T> From<T> for OnceCell<T>"],["impl<T> From<T> for OnceCell<T>"]], -"pest":[["impl From<Position<'_>> for LineColLocation"],["impl From<Span<'_>> for LineColLocation"]], +"pest":[["impl From<Span<'_>> for LineColLocation"],["impl From<Position<'_>> for LineColLocation"]], "ppv_lite86":[["impl<'a> From<&'a vec128_storage> for &'a [u32; 4]"],["impl From<vec128_storage> for [u64; 2]"],["impl From<vec512_storage> for [u32; 16]"],["impl From<[u32; 4]> for vec128_storage"],["impl From<vec512_storage> for [u128; 4]"],["impl From<vec512_storage> for [u64; 8]"],["impl From<vec128_storage> for [u128; 1]"],["impl From<vec256_storage> for [u64; 4]"],["impl From<vec256_storage> for [u32; 8]"],["impl From<[u64; 4]> for vec256_storage"],["impl From<vec128_storage> for [u32; 4]"],["impl From<vec256_storage> for [u128; 2]"]], "proc_macro2":[["impl From<Span> for Span"],["impl From<Literal> for TokenTree"],["impl From<TokenStream> for TokenStream"],["impl From<TokenStream> for TokenStream"],["impl From<Ident> for TokenTree"],["impl From<TokenTree> for TokenStream"],["impl From<Punct> for TokenTree"],["impl From<Group> for TokenTree"]], "pulldown_cmark":[["impl<'a> From<char> for CowStr<'a>"],["impl From<char> for InlineStr"],["impl<'a> From<Cow<'a, str>> for CowStr<'a>"],["impl<'a> From<CowStr<'a>> for Cow<'a, str>"],["impl<'a> From<&'a str> for CowStr<'a>"],["impl<'a> From<String> for CowStr<'a>"],["impl<'a> From<Cow<'a, char>> for CowStr<'a>"]], diff --git a/doc/implementors/core/default/trait.Default.js b/doc/implementors/core/default/trait.Default.js index 26e1352ce..4e03433b7 100644 --- a/doc/implementors/core/default/trait.Default.js +++ b/doc/implementors/core/default/trait.Default.js @@ -5,7 +5,7 @@ "anstyle":[["impl Default for Style"],["impl Default for Reset"],["impl Default for Effects"]], "anstyle_parse":[["impl Default for Action"],["impl Default for Params"],["impl<C: Default> Default for Parser<C>"],["impl Default for Utf8Parser"],["impl Default for AsciiParser"],["impl Default for State"]], "anyhow":[["impl Default for Chain<'_>"]], -"aquascope":[["impl<'tcx> Default for PermissionsDomain<'tcx>"],["impl Default for Output<AquascopeFacts>"]], +"aquascope":[["impl Default for Output<AquascopeFacts>"],["impl<'tcx> Default for PermissionsDomain<'tcx>"]], "bstr":[["impl<'a> Default for &'a BStr"],["impl<'a> Default for &'a mut BStr"],["impl Default for BString"]], "camino":[["impl Default for Utf8PathBuf"]], "cargo_metadata":[["impl Default for DependencyKind"],["impl Default for MetadataCommand"]], diff --git a/doc/implementors/core/fmt/trait.Debug.js b/doc/implementors/core/fmt/trait.Debug.js index 8cd03f1c6..21be5e9c1 100644 --- a/doc/implementors/core/fmt/trait.Debug.js +++ b/doc/implementors/core/fmt/trait.Debug.js @@ -5,7 +5,7 @@ "anstyle":[["impl Debug for Color"],["impl Debug for Style"],["impl Debug for AnsiColor"],["impl Debug for Effects"],["impl Debug for EffectIter"],["impl Debug for Reset"],["impl Debug for RgbColor"],["impl Debug for Ansi256Color"]], "anstyle_parse":[["impl Debug for Params"],["impl Debug for Action"],["impl Debug for AsciiParser"],["impl<C: Debug> Debug for Parser<C>"],["impl Debug for Utf8Parser"],["impl Debug for State"]], "anyhow":[["impl Debug for Error"]], -"aquascope":[["impl Debug for LoanPoints"],["impl Debug for LoanKey"],["impl<'tcx> Debug for PermissionsDomain<'tcx>"],["impl Debug for RefinementRegion"],["impl Debug for PathIndex"],["impl<L: Debug> Debug for MTrace<L>"],["impl Debug for PermissionsLineDisplay"],["impl Debug for LoanRegions"],["impl Debug for AnalysisOutput"],["impl Debug for PermissionsDataDiff"],["impl Debug for PermIncludeMode"],["impl Debug for MovePoints"],["impl Debug for FlowBoundary"],["impl Debug for MoveRegions"],["impl Debug for MoveKey"],["impl Debug for PermissionsStepTable"],["impl Debug for MirSegment"],["impl Debug for PermissionsDiff"],["impl Debug for AquascopeFacts"],["impl<T> Debug for Output<T>where\n T: FactTypes + Debug + Debug,\n T::Path: Debug,\n T::Point: Debug,\n T::Loan: Debug,"],["impl Debug for Refiner"],["impl Debug for PermissionsBoundary"],["impl Debug for MValue"],["impl Debug for Permissions"],["impl<A: Stepable> Debug for ValueStep<A>"],["impl Debug for AquascopeError"],["impl Debug for PermissionsData"]], +"aquascope":[["impl Debug for Permissions"],["impl Debug for LoanPoints"],["impl Debug for AquascopeFacts"],["impl Debug for PermIncludeMode"],["impl Debug for MoveRegions"],["impl Debug for PermissionsDiff"],["impl Debug for MovePoints"],["impl Debug for PermissionsLineDisplay"],["impl Debug for Refiner"],["impl Debug for LoanKey"],["impl Debug for PermissionsDataDiff"],["impl Debug for PathIndex"],["impl<T> Debug for Output<T>where\n T: FactTypes + Debug + Debug,\n T::Path: Debug,\n T::Point: Debug,\n T::Loan: Debug,"],["impl Debug for AnalysisOutput"],["impl Debug for FlowBoundary"],["impl Debug for PermissionsBoundary"],["impl Debug for PermissionsStepTable"],["impl<A: Stepable> Debug for ValueStep<A>"],["impl<'tcx> Debug for PermissionsDomain<'tcx>"],["impl<L: Debug> Debug for MTrace<L>"],["impl Debug for MirSegment"],["impl Debug for MValue"],["impl Debug for AquascopeError"],["impl Debug for LoanRegions"],["impl Debug for RefinementRegion"],["impl Debug for MoveKey"],["impl Debug for PermissionsData"]], "aquascope_front":[["impl Debug for AquascopePluginArgs"]], "bitflags":[["impl Debug for ParseError"]], "bstr":[["impl<'a> Debug for DrainBytes<'a>"],["impl<'a> Debug for GraphemeIndices<'a>"],["impl<'h, 's> Debug for SplitN<'h, 's>"],["impl<'a> Debug for WordsWithBreakIndices<'a>"],["impl Debug for Utf8Error"],["impl<'a> Debug for Utf8Chunks<'a>"],["impl<'h, 'n> Debug for FindReverse<'h, 'n>"],["impl<'h, 's> Debug for Split<'h, 's>"],["impl<'a> Debug for Words<'a>"],["impl<'h, 'n> Debug for Find<'h, 'n>"],["impl<B: Debug> Debug for ByteRecords<B>"],["impl<'a> Debug for Bytes<'a>"],["impl Debug for BString"],["impl<'a> Debug for Chars<'a>"],["impl<'a> Debug for WordIndices<'a>"],["impl<'a> Debug for CharIndices<'a>"],["impl Debug for FromUtf8Error"],["impl<'h, 's> Debug for SplitReverse<'h, 's>"],["impl<'a> Debug for EscapeBytes<'a>"],["impl<'a> Debug for Lines<'a>"],["impl<'h, 's> Debug for SplitNReverse<'h, 's>"],["impl<'a> Debug for SentenceIndices<'a>"],["impl<'a> Debug for LinesWithTerminator<'a>"],["impl<'a> Debug for Sentences<'a>"],["impl<B: Debug> Debug for ByteLines<B>"],["impl<'a, F: Debug> Debug for FieldsWith<'a, F>"],["impl<'a> Debug for Finder<'a>"],["impl Debug for BStr"],["impl<'a> Debug for FinderReverse<'a>"],["impl<'a> Debug for Graphemes<'a>"],["impl<'a> Debug for Fields<'a>"],["impl<'a> Debug for WordsWithBreaks<'a>"]], @@ -42,7 +42,7 @@ "log":[["impl Debug for LevelFilter"],["impl Debug for Level"],["impl<'a> Debug for Record<'a>"],["impl Debug for ParseLevelError"],["impl<'a> Debug for Metadata<'a>"],["impl<'a> Debug for RecordBuilder<'a>"],["impl<'a> Debug for MetadataBuilder<'a>"],["impl Debug for SetLoggerError"]], "mdbook":[["impl Debug for Theme"],["impl Debug for BookConfig"],["impl Debug for Link"],["impl Debug for Config"],["impl Debug for SectionNumber"],["impl Debug for SummaryItem"],["impl Debug for Print"],["impl Debug for BuildConfig"],["impl Debug for Search"],["impl Debug for PreprocessorContext"],["impl Debug for RustConfig"],["impl Debug for RenderContext"],["impl Debug for CmdPreprocessor"],["impl Debug for RustEdition"],["impl Debug for BookItem"],["impl Debug for CmdRenderer"],["impl Debug for BookBuilder"],["impl Debug for Summary"],["impl Debug for Chapter"],["impl Debug for Fold"],["impl Debug for Code"],["impl Debug for HtmlConfig"],["impl Debug for Playground"],["impl Debug for Book"]], "measureme":[["impl Debug for StringId"],["impl Debug for EventId"],["impl Debug for PageTag"],["impl Debug for SerializationSink"],["impl Debug for Addr"],["impl Debug for RawEvent"]], -"memchr":[["impl Debug for Finder"],["impl Debug for Three"],["impl<'h> Debug for Memchr<'h>"],["impl<'h> Debug for Memchr3<'h>"],["impl Debug for One"],["impl Debug for Finder"],["impl<'n> Debug for Finder<'n>"],["impl<'a, 'h> Debug for OneIter<'a, 'h>"],["impl Debug for Three"],["impl Debug for Two"],["impl Debug for Two"],["impl Debug for FinderRev"],["impl Debug for Finder"],["impl<'a, 'h> Debug for TwoIter<'a, 'h>"],["impl Debug for One"],["impl Debug for Two"],["impl Debug for FinderBuilder"],["impl Debug for Pair"],["impl<'a, 'h> Debug for ThreeIter<'a, 'h>"],["impl<'a, 'h> Debug for OneIter<'a, 'h>"],["impl Debug for Finder"],["impl Debug for One"],["impl<'h, 'n> Debug for FindIter<'h, 'n>"],["impl<'n> Debug for FinderRev<'n>"],["impl<'a, 'h> Debug for OneIter<'a, 'h>"],["impl<'a, 'h> Debug for TwoIter<'a, 'h>"],["impl<'h> Debug for Memchr2<'h>"],["impl Debug for Finder"],["impl Debug for Finder"],["impl Debug for PrefilterConfig"],["impl Debug for FinderRev"],["impl<'a, 'h> Debug for ThreeIter<'a, 'h>"],["impl<'a, 'h> Debug for TwoIter<'a, 'h>"],["impl Debug for Three"],["impl<'a, 'h> Debug for ThreeIter<'a, 'h>"],["impl<'h, 'n> Debug for FindRevIter<'h, 'n>"]], +"memchr":[["impl Debug for Finder"],["impl<'a, 'h> Debug for ThreeIter<'a, 'h>"],["impl<'a, 'h> Debug for OneIter<'a, 'h>"],["impl Debug for One"],["impl<'a, 'h> Debug for ThreeIter<'a, 'h>"],["impl Debug for One"],["impl Debug for Three"],["impl Debug for Finder"],["impl Debug for Two"],["impl Debug for FinderRev"],["impl<'h> Debug for Memchr3<'h>"],["impl Debug for Three"],["impl<'a, 'h> Debug for OneIter<'a, 'h>"],["impl<'a, 'h> Debug for OneIter<'a, 'h>"],["impl Debug for FinderRev"],["impl<'a, 'h> Debug for TwoIter<'a, 'h>"],["impl Debug for Pair"],["impl Debug for Finder"],["impl<'h> Debug for Memchr<'h>"],["impl Debug for FinderBuilder"],["impl Debug for Finder"],["impl<'n> Debug for FinderRev<'n>"],["impl Debug for Three"],["impl<'a, 'h> Debug for ThreeIter<'a, 'h>"],["impl<'h> Debug for Memchr2<'h>"],["impl<'a, 'h> Debug for TwoIter<'a, 'h>"],["impl Debug for Finder"],["impl Debug for Two"],["impl Debug for Two"],["impl Debug for Finder"],["impl<'n> Debug for Finder<'n>"],["impl<'h, 'n> Debug for FindRevIter<'h, 'n>"],["impl Debug for One"],["impl<'a, 'h> Debug for TwoIter<'a, 'h>"],["impl Debug for PrefilterConfig"],["impl<'h, 'n> Debug for FindIter<'h, 'n>"]], "memmap2":[["impl Debug for Mmap"],["impl Debug for MmapRaw"],["impl Debug for MmapOptions"],["impl Debug for MmapMut"]], "miniz_oxide":[["impl Debug for CompressionLevel"],["impl Debug for StreamResult"],["impl Debug for MZFlush"],["impl Debug for TINFLStatus"],["impl Debug for DecompressError"],["impl Debug for CompressionStrategy"],["impl Debug for MZError"],["impl Debug for MZStatus"],["impl Debug for DataFormat"],["impl Debug for TDEFLStatus"],["impl Debug for TDEFLFlush"]], "miri":[["impl<'tcx> Debug for TlsData<'tcx>"],["impl<'tcx> Debug for FrameExtra<'tcx>"],["impl Debug for Stacks"],["impl Debug for AlignmentCheck"],["impl Debug for AtomicReadOrd"],["impl Debug for Dlsym"],["impl Debug for BorrowTrackerMethod"],["impl<'tcx> Debug for AllocExtra<'tcx>"],["impl Debug for BorTag"],["impl Debug for CondvarId"],["impl Debug for IsolatedOp"],["impl Debug for ThreadId"],["impl<'mir, 'tcx> Debug for ThreadManager<'mir, 'tcx>"],["impl Debug for MutexId"],["impl Debug for ProvenanceMode"],["impl Debug for Tree"],["impl Debug for RejectOpWith"],["impl Debug for Provenance"],["impl<K: Debug + Hash + Eq, V: Debug> Debug for MonoHashMap<K, V>"],["impl Debug for Permission"],["impl Debug for TerminationInfo"],["impl Debug for AtomicWriteOrd"],["impl<'tcx> Debug for CatchUnwindData<'tcx>"],["impl Debug for RwLockId"],["impl Debug for AtomicRwOrd"],["impl Debug for Clock"],["impl Debug for InitOnceId"],["impl<T: Debug> Debug for RangeMap<T>"],["impl Debug for MiriMemoryKind"],["impl Debug for Instant"],["impl Debug for Time"],["impl Debug for ProvenanceExtra"],["impl Debug for AtomicFenceOrd"],["impl Debug for Item"],["impl Debug for RetagFields"],["impl Debug for Stack"]], @@ -55,7 +55,7 @@ "parking_lot":[["impl Debug for WaitTimeoutResult"],["impl Debug for Once"],["impl Debug for OnceState"],["impl Debug for Condvar"]], "parking_lot_core":[["impl Debug for UnparkResult"],["impl Debug for FilterOp"],["impl Debug for UnparkToken"],["impl Debug for ParkResult"],["impl Debug for ParkToken"],["impl Debug for RequeueOp"]], "perf_event_open_sys":[["impl Debug for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1"],["impl Debug for perf_branch_entry"],["impl Debug for perf_event_query_bpf"],["impl<T> Debug for __IncompleteArrayField<T>"],["impl Debug for __kernel_fd_set"],["impl<Storage: Debug> Debug for __BindgenBitfieldUnit<Storage>"],["impl Debug for perf_event_header"],["impl Debug for perf_sample_weight__bindgen_ty_1"],["impl Debug for perf_mem_data_src__bindgen_ty_1"],["impl Debug for __kernel_fsid_t"],["impl Debug for perf_ns_link_info"]], -"pest":[["impl Debug for Lookahead"],["impl<'i, R: Debug> Debug for Token<'i, R>"],["impl<'i, R: RuleType> Debug for Pair<'i, R>"],["impl<'i> Debug for Position<'i>"],["impl<'i> Debug for Span<'i>"],["impl<R: Debug> Debug for ErrorVariant<R>"],["impl<'i, R: RuleType> Debug for Pairs<'i, R>"],["impl<T: Debug + Clone> Debug for Stack<T>"],["impl Debug for InputLocation"],["impl Debug for Assoc"],["impl Debug for Atomicity"],["impl Debug for Assoc"],["impl Debug for MatchDir"],["impl<R: Debug> Debug for Error<R>"],["impl<'i, R: Debug + RuleType> Debug for ParserState<'i, R>"],["impl<R: Debug + RuleType> Debug for Operator<R>"],["impl<'i, R: RuleType> Debug for FlatPairs<'i, R>"],["impl<'i, R: RuleType> Debug for Tokens<'i, R>"],["impl Debug for LineColLocation"],["impl<R: Debug + Clone + 'static> Debug for PrecClimber<R>"]], +"pest":[["impl<'i, R: RuleType> Debug for FlatPairs<'i, R>"],["impl Debug for InputLocation"],["impl<R: Debug + RuleType> Debug for Operator<R>"],["impl Debug for Atomicity"],["impl<'i, R: RuleType> Debug for Pair<'i, R>"],["impl<R: Debug> Debug for Error<R>"],["impl<R: Debug> Debug for ErrorVariant<R>"],["impl<T: Debug + Clone> Debug for Stack<T>"],["impl Debug for Assoc"],["impl Debug for MatchDir"],["impl<'i> Debug for Position<'i>"],["impl<'i, R: RuleType> Debug for Tokens<'i, R>"],["impl<'i, R: Debug + RuleType> Debug for ParserState<'i, R>"],["impl<'i, R: Debug> Debug for Token<'i, R>"],["impl Debug for Assoc"],["impl<R: Debug + Clone + 'static> Debug for PrecClimber<R>"],["impl<'i> Debug for Span<'i>"],["impl Debug for Lookahead"],["impl<'i, R: RuleType> Debug for Pairs<'i, R>"],["impl Debug for LineColLocation"]], "pest_meta":[["impl<'i> Debug for ParserNode<'i>"],["impl Debug for RuleType"],["impl Debug for Expr"],["impl Debug for Rule"],["impl Debug for OptimizedRule"],["impl Debug for OptimizedExpr"],["impl Debug for Rule"],["impl<'i> Debug for ParserRule<'i>"],["impl<'i> Debug for ParserExpr<'i>"]], "proc_macro2":[["impl Debug for Group"],["impl Debug for Delimiter"],["impl Debug for Spacing"],["impl Debug for Punct"],["impl Debug for TokenTree"],["impl Debug for DelimSpan"],["impl Debug for Span"],["impl Debug for IntoIter"],["impl Debug for Literal"],["impl Debug for LexError"],["impl Debug for Ident"],["impl Debug for TokenStream"]], "pulldown_cmark":[["impl<W: Debug> Debug for WriteWrapper<W>"],["impl Debug for InlineStr"],["impl Debug for Alignment"],["impl<'a, 'b> Debug for OffsetIter<'a, 'b>"],["impl<'a> Debug for CodeBlockKind<'a>"],["impl Debug for Options"],["impl Debug for LinkType"],["impl<'a> Debug for CowStr<'a>"],["impl<'input> Debug for RefDefs<'input>"],["impl<'a> Debug for Event<'a>"],["impl Debug for HeadingLevel"],["impl<'a> Debug for BrokenLink<'a>"],["impl<'a> Debug for LinkDef<'a>"],["impl<'input, 'callback> Debug for Parser<'input, 'callback>"],["impl<'a> Debug for Tag<'a>"],["impl Debug for InvalidHeadingLevel"]], diff --git a/doc/implementors/core/fmt/trait.Display.js b/doc/implementors/core/fmt/trait.Display.js index 0a257d3b3..1f4a1380a 100644 --- a/doc/implementors/core/fmt/trait.Display.js +++ b/doc/implementors/core/fmt/trait.Display.js @@ -32,7 +32,7 @@ "nom_locate":[["impl<T: ToString, X> Display for LocatedSpan<T, X>"]], "num_traits":[["impl Display for ParseFloatError"]], "opener":[["impl Display for OpenError"]], -"pest":[["impl<'i, R: RuleType> Display for Pair<'i, R>"],["impl<R: RuleType> Display for ErrorVariant<R>"],["impl<R: RuleType> Display for Error<R>"],["impl<'i, R: RuleType> Display for Pairs<'i, R>"]], +"pest":[["impl<'i, R: RuleType> Display for Pair<'i, R>"],["impl<R: RuleType> Display for Error<R>"],["impl<'i, R: RuleType> Display for Pairs<'i, R>"],["impl<R: RuleType> Display for ErrorVariant<R>"]], "pest_meta":[["impl Display for OptimizedExpr"],["impl Display for Expr"]], "proc_macro2":[["impl Display for Literal"],["impl Display for Ident"],["impl Display for TokenTree"],["impl Display for Group"],["impl Display for LexError"],["impl Display for TokenStream"],["impl Display for Punct"]], "pulldown_cmark":[["impl<'a> Display for CowStr<'a>"],["impl Display for InlineStr"],["impl Display for HeadingLevel"]], diff --git a/doc/implementors/core/hash/trait.Hash.js b/doc/implementors/core/hash/trait.Hash.js index bc38f0dd0..2d3e28714 100644 --- a/doc/implementors/core/hash/trait.Hash.js +++ b/doc/implementors/core/hash/trait.Hash.js @@ -1,7 +1,7 @@ (function() {var implementors = { "aho_corasick":[["impl Hash for Span"],["impl Hash for PatternID"],["impl Hash for Match"],["impl Hash for StateID"]], "anstyle":[["impl Hash for RgbColor"],["impl Hash for Ansi256Color"],["impl Hash for Color"],["impl Hash for Style"],["impl Hash for Effects"],["impl Hash for Reset"],["impl Hash for AnsiColor"]], -"aquascope":[["impl Hash for PermissionsData"],["impl Hash for MoveKey"],["impl Hash for PermissionsDiff"],["impl<A: Hash + Stepable> Hash for ValueStep<A>"],["impl Hash for PermIncludeMode"],["impl Hash for Permissions"],["impl Hash for PermissionsDataDiff"],["impl Hash for LoanKey"],["impl Hash for MirSegment"],["impl Hash for PathIndex"]], +"aquascope":[["impl<A: Hash + Stepable> Hash for ValueStep<A>"],["impl Hash for LoanKey"],["impl Hash for PermissionsDiff"],["impl Hash for PermIncludeMode"],["impl Hash for PermissionsData"],["impl Hash for MirSegment"],["impl Hash for Permissions"],["impl Hash for MoveKey"],["impl Hash for PathIndex"],["impl Hash for PermissionsDataDiff"]], "bstr":[["impl Hash for BStr"],["impl Hash for BString"]], "camino":[["impl Hash for Utf8Path"],["impl<'a> Hash for Utf8PrefixComponent<'a>"],["impl<'a> Hash for Utf8Prefix<'a>"],["impl Hash for Utf8PathBuf"],["impl<'a> Hash for Utf8Component<'a>"]], "cargo_metadata":[["impl Hash for Target"],["impl Hash for DependencyKind"],["impl Hash for Diagnostic"],["impl Hash for BuildScript"],["impl Hash for DiagnosticSpanLine"],["impl Hash for CompilerMessage"],["impl Hash for DiagnosticLevel"],["impl Hash for ArtifactProfile"],["impl Hash for Applicability"],["impl Hash for DiagnosticCode"],["impl Hash for Message"],["impl Hash for PackageId"],["impl Hash for DiagnosticSpanMacroExpansion"],["impl Hash for DiagnosticSpan"],["impl Hash for BuildFinished"],["impl Hash for Artifact"]], @@ -27,7 +27,7 @@ "nom":[["impl Hash for ErrorKind"]], "nom_locate":[["impl<T: Hash, X> Hash for LocatedSpan<T, X>"]], "perf_event_open_sys":[["impl<Storage: Hash> Hash for __BindgenBitfieldUnit<Storage>"]], -"pest":[["impl<R: Hash> Hash for ErrorVariant<R>"],["impl<R: Hash> Hash for Error<R>"],["impl<'i> Hash for Span<'i>"],["impl<'i, R: Hash> Hash for Pair<'i, R>"],["impl Hash for LineColLocation"],["impl<'i, R: Hash> Hash for Pairs<'i, R>"],["impl<'i> Hash for Position<'i>"],["impl Hash for InputLocation"],["impl<'i, R: Hash> Hash for Token<'i, R>"]], +"pest":[["impl<'i, R: Hash> Hash for Pairs<'i, R>"],["impl<R: Hash> Hash for Error<R>"],["impl<'i, R: Hash> Hash for Token<'i, R>"],["impl<'i, R: Hash> Hash for Pair<'i, R>"],["impl<'i> Hash for Span<'i>"],["impl Hash for InputLocation"],["impl<R: Hash> Hash for ErrorVariant<R>"],["impl Hash for LineColLocation"],["impl<'i> Hash for Position<'i>"]], "pest_meta":[["impl Hash for Rule"]], "proc_macro2":[["impl Hash for Ident"]], "pulldown_cmark":[["impl Hash for InvalidHeadingLevel"],["impl Hash for HeadingLevel"],["impl Hash for InlineStr"],["impl Hash for Options"],["impl<'a> Hash for CowStr<'a>"]], diff --git a/doc/implementors/core/iter/traits/double_ended/trait.DoubleEndedIterator.js b/doc/implementors/core/iter/traits/double_ended/trait.DoubleEndedIterator.js index 6e183c44e..1502a63f5 100644 --- a/doc/implementors/core/iter/traits/double_ended/trait.DoubleEndedIterator.js +++ b/doc/implementors/core/iter/traits/double_ended/trait.DoubleEndedIterator.js @@ -6,8 +6,8 @@ "clap_builder":[["impl<T> DoubleEndedIterator for Values<T>"],["impl<'a> DoubleEndedIterator for IdsRef<'a>"],["impl<'a> DoubleEndedIterator for RawValues<'a>"],["impl<'a, T: 'a> DoubleEndedIterator for ValuesRef<'a, T>"],["impl<'a> DoubleEndedIterator for Indices<'a>"]], "either":[["impl<L, R> DoubleEndedIterator for Either<L, R>where\n L: DoubleEndedIterator,\n R: DoubleEndedIterator<Item = L::Item>,"]], "itertools":[["impl<I, T, E> DoubleEndedIterator for FlattenOk<I, T, E>where\n I: DoubleEndedIterator<Item = Result<T, E>>,\n T: IntoIterator,\n T::IntoIter: DoubleEndedIterator,"],["impl<X, Iter, C, D, E, F, G, H, I, J, K, L> DoubleEndedIterator for ConsTuples<Iter, ((C, D, E, F, G, H, I, J, K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((C, D, E, F, G, H, I, J, K, L), X)>,"],["impl<I, V, F> DoubleEndedIterator for UniqueBy<I, V, F>where\n I: DoubleEndedIterator,\n V: Eq + Hash,\n F: FnMut(&I::Item) -> V,"],["impl<X, Iter, I, J, K, L> DoubleEndedIterator for ConsTuples<Iter, ((I, J, K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((I, J, K, L), X)>,"],["impl<I, F> DoubleEndedIterator for Update<I, F>where\n I: DoubleEndedIterator,\n F: FnMut(&mut I::Item),"],["impl<A, B, C, D, E> DoubleEndedIterator for Zip<(A, B, C, D, E)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,\n D: DoubleEndedIterator + ExactSizeIterator,\n E: DoubleEndedIterator + ExactSizeIterator,"],["impl<X, Iter, D, E, F, G, H, I, J, K, L> DoubleEndedIterator for ConsTuples<Iter, ((D, E, F, G, H, I, J, K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((D, E, F, G, H, I, J, K, L), X)>,"],["impl<A> DoubleEndedIterator for RepeatN<A>where\n A: Clone,"],["impl<A, B> DoubleEndedIterator for Zip<(A, B)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,"],["impl<X, Iter, J, K, L> DoubleEndedIterator for ConsTuples<Iter, ((J, K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((J, K, L), X)>,"],["impl<A> DoubleEndedIterator for Zip<(A,)>where\n A: DoubleEndedIterator + ExactSizeIterator,"],["impl<X, Iter, B, C, D, E, F, G, H, I, J, K, L> DoubleEndedIterator for ConsTuples<Iter, ((B, C, D, E, F, G, H, I, J, K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((B, C, D, E, F, G, H, I, J, K, L), X)>,"],["impl<I> DoubleEndedIterator for RcIter<I>where\n I: DoubleEndedIterator,"],["impl<X, Iter, E, F, G, H, I, J, K, L> DoubleEndedIterator for ConsTuples<Iter, ((E, F, G, H, I, J, K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((E, F, G, H, I, J, K, L), X)>,"],["impl<A, B, C, D, E, F, G, H, I> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H, I)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,\n D: DoubleEndedIterator + ExactSizeIterator,\n E: DoubleEndedIterator + ExactSizeIterator,\n F: DoubleEndedIterator + ExactSizeIterator,\n G: DoubleEndedIterator + ExactSizeIterator,\n H: DoubleEndedIterator + ExactSizeIterator,\n I: DoubleEndedIterator + ExactSizeIterator,"],["impl<I> DoubleEndedIterator for Unique<I>where\n I: DoubleEndedIterator,\n I::Item: Eq + Hash + Clone,"],["impl<A, B, C, D, E, F, G> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,\n D: DoubleEndedIterator + ExactSizeIterator,\n E: DoubleEndedIterator + ExactSizeIterator,\n F: DoubleEndedIterator + ExactSizeIterator,\n G: DoubleEndedIterator + ExactSizeIterator,"],["impl<I, F> DoubleEndedIterator for PadUsing<I, F>where\n I: DoubleEndedIterator + ExactSizeIterator,\n F: FnMut(usize) -> I::Item,"],["impl<A, B, C, D, E, F, G, H> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,\n D: DoubleEndedIterator + ExactSizeIterator,\n E: DoubleEndedIterator + ExactSizeIterator,\n F: DoubleEndedIterator + ExactSizeIterator,\n G: DoubleEndedIterator + ExactSizeIterator,\n H: DoubleEndedIterator + ExactSizeIterator,"],["impl<X, Iter, K, L> DoubleEndedIterator for ConsTuples<Iter, ((K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((K, L), X)>,"],["impl<X, Iter, H, I, J, K, L> DoubleEndedIterator for ConsTuples<Iter, ((H, I, J, K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((H, I, J, K, L), X)>,"],["impl<T, U> DoubleEndedIterator for ZipLongest<T, U>where\n T: DoubleEndedIterator + ExactSizeIterator,\n U: DoubleEndedIterator + ExactSizeIterator,"],["impl<I, F> DoubleEndedIterator for Positions<I, F>where\n I: DoubleEndedIterator + ExactSizeIterator,\n F: FnMut(I::Item) -> bool,"],["impl<A, B, C, D, E, F, G, H, I, J, K> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H, I, J, K)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,\n D: DoubleEndedIterator + ExactSizeIterator,\n E: DoubleEndedIterator + ExactSizeIterator,\n F: DoubleEndedIterator + ExactSizeIterator,\n G: DoubleEndedIterator + ExactSizeIterator,\n H: DoubleEndedIterator + ExactSizeIterator,\n I: DoubleEndedIterator + ExactSizeIterator,\n J: DoubleEndedIterator + ExactSizeIterator,\n K: DoubleEndedIterator + ExactSizeIterator,"],["impl<A, B, C, D, E, F> DoubleEndedIterator for Zip<(A, B, C, D, E, F)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,\n D: DoubleEndedIterator + ExactSizeIterator,\n E: DoubleEndedIterator + ExactSizeIterator,\n F: DoubleEndedIterator + ExactSizeIterator,"],["impl<A, B, C, D> DoubleEndedIterator for Zip<(A, B, C, D)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,\n D: DoubleEndedIterator + ExactSizeIterator,"],["impl<A, B, C> DoubleEndedIterator for Zip<(A, B, C)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,"],["impl<X, Iter, G, H, I, J, K, L> DoubleEndedIterator for ConsTuples<Iter, ((G, H, I, J, K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((G, H, I, J, K, L), X)>,"],["impl<A, B, C, D, E, F, G, H, I, J, K, L> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H, I, J, K, L)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,\n D: DoubleEndedIterator + ExactSizeIterator,\n E: DoubleEndedIterator + ExactSizeIterator,\n F: DoubleEndedIterator + ExactSizeIterator,\n G: DoubleEndedIterator + ExactSizeIterator,\n H: DoubleEndedIterator + ExactSizeIterator,\n I: DoubleEndedIterator + ExactSizeIterator,\n J: DoubleEndedIterator + ExactSizeIterator,\n K: DoubleEndedIterator + ExactSizeIterator,\n L: DoubleEndedIterator + ExactSizeIterator,"],["impl<X, Iter, F, G, H, I, J, K, L> DoubleEndedIterator for ConsTuples<Iter, ((F, G, H, I, J, K, L), X)>where\n Iter: DoubleEndedIterator<Item = ((F, G, H, I, J, K, L), X)>,"],["impl<A, B, C, D, E, F, G, H, I, J> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H, I, J)>where\n A: DoubleEndedIterator + ExactSizeIterator,\n B: DoubleEndedIterator + ExactSizeIterator,\n C: DoubleEndedIterator + ExactSizeIterator,\n D: DoubleEndedIterator + ExactSizeIterator,\n E: DoubleEndedIterator + ExactSizeIterator,\n F: DoubleEndedIterator + ExactSizeIterator,\n G: DoubleEndedIterator + ExactSizeIterator,\n H: DoubleEndedIterator + ExactSizeIterator,\n I: DoubleEndedIterator + ExactSizeIterator,\n J: DoubleEndedIterator + ExactSizeIterator,"]], -"memchr":[["impl<'a, 'h> DoubleEndedIterator for TwoIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for TwoIter<'a, 'h>"],["impl<'h> DoubleEndedIterator for Memchr<'h>"],["impl<'a, 'h> DoubleEndedIterator for OneIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for OneIter<'a, 'h>"],["impl<'h> DoubleEndedIterator for Memchr3<'h>"],["impl<'a, 'h> DoubleEndedIterator for ThreeIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for OneIter<'a, 'h>"],["impl<'h> DoubleEndedIterator for Memchr2<'h>"],["impl<'a, 'h> DoubleEndedIterator for ThreeIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for TwoIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for ThreeIter<'a, 'h>"]], -"pest":[["impl<'i, R: RuleType> DoubleEndedIterator for FlatPairs<'i, R>"],["impl<'i, R: RuleType> DoubleEndedIterator for Tokens<'i, R>"],["impl<'i, R: RuleType> DoubleEndedIterator for Pairs<'i, R>"]], +"memchr":[["impl<'a, 'h> DoubleEndedIterator for TwoIter<'a, 'h>"],["impl<'h> DoubleEndedIterator for Memchr<'h>"],["impl<'a, 'h> DoubleEndedIterator for OneIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for ThreeIter<'a, 'h>"],["impl<'h> DoubleEndedIterator for Memchr2<'h>"],["impl<'a, 'h> DoubleEndedIterator for OneIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for ThreeIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for ThreeIter<'a, 'h>"],["impl<'h> DoubleEndedIterator for Memchr3<'h>"],["impl<'a, 'h> DoubleEndedIterator for TwoIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for TwoIter<'a, 'h>"],["impl<'a, 'h> DoubleEndedIterator for OneIter<'a, 'h>"]], +"pest":[["impl<'i, R: RuleType> DoubleEndedIterator for Tokens<'i, R>"],["impl<'i, R: RuleType> DoubleEndedIterator for Pairs<'i, R>"],["impl<'i, R: RuleType> DoubleEndedIterator for FlatPairs<'i, R>"]], "regex":[["impl<'a> DoubleEndedIterator for SetMatchesIter<'a>"],["impl DoubleEndedIterator for SetMatchesIntoIter"],["impl<'a> DoubleEndedIterator for SetMatchesIter<'a>"],["impl DoubleEndedIterator for SetMatchesIntoIter"]], "regex_automata":[["impl<'a> DoubleEndedIterator for PatternSetIter<'a>"]], "serde_json":[["impl<'a> DoubleEndedIterator for ValuesMut<'a>"],["impl<'a> DoubleEndedIterator for Keys<'a>"],["impl<'a> DoubleEndedIterator for IterMut<'a>"],["impl<'a> DoubleEndedIterator for Iter<'a>"],["impl DoubleEndedIterator for IntoIter"],["impl<'a> DoubleEndedIterator for Values<'a>"]], diff --git a/doc/implementors/core/iter/traits/exact_size/trait.ExactSizeIterator.js b/doc/implementors/core/iter/traits/exact_size/trait.ExactSizeIterator.js index 047c28741..b77d9ce06 100644 --- a/doc/implementors/core/iter/traits/exact_size/trait.ExactSizeIterator.js +++ b/doc/implementors/core/iter/traits/exact_size/trait.ExactSizeIterator.js @@ -5,7 +5,7 @@ "clap_builder":[["impl<'a> ExactSizeIterator for RawValues<'a>"],["impl<'a> ExactSizeIterator for IdsRef<'a>"],["impl<T> ExactSizeIterator for Values<T>"],["impl<'a, T: 'a> ExactSizeIterator for ValuesRef<'a, T>"],["impl<'a> ExactSizeIterator for Indices<'a>"]], "either":[["impl<L, R> ExactSizeIterator for Either<L, R>where\n L: ExactSizeIterator,\n R: ExactSizeIterator<Item = L::Item>,"]], "itertools":[["impl<I, F> ExactSizeIterator for Update<I, F>where\n I: ExactSizeIterator,\n F: FnMut(&mut I::Item),"],["impl<I> ExactSizeIterator for ExactlyOneError<I>where\n I: ExactSizeIterator,"],["impl<A, B, C, D, E, F, G, H> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,\n D: ExactSizeIterator,\n E: ExactSizeIterator,\n F: ExactSizeIterator,\n G: ExactSizeIterator,\n H: ExactSizeIterator,"],["impl<A, B, C, D, E, F, G, H, I, J, K> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H, I, J, K)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,\n D: ExactSizeIterator,\n E: ExactSizeIterator,\n F: ExactSizeIterator,\n G: ExactSizeIterator,\n H: ExactSizeIterator,\n I: ExactSizeIterator,\n J: ExactSizeIterator,\n K: ExactSizeIterator,"],["impl<A, B, C, D, E, F, G> ExactSizeIterator for Zip<(A, B, C, D, E, F, G)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,\n D: ExactSizeIterator,\n E: ExactSizeIterator,\n F: ExactSizeIterator,\n G: ExactSizeIterator,"],["impl<I> ExactSizeIterator for PeekNth<I>where\n I: ExactSizeIterator,"],["impl<T> ExactSizeIterator for TupleBuffer<T>where\n T: HomogeneousTuple,"],["impl<A, B> ExactSizeIterator for Zip<(A, B)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,"],["impl<A, B, C, D, E, F, G, H, I, J> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H, I, J)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,\n D: ExactSizeIterator,\n E: ExactSizeIterator,\n F: ExactSizeIterator,\n G: ExactSizeIterator,\n H: ExactSizeIterator,\n I: ExactSizeIterator,\n J: ExactSizeIterator,"],["impl<I, F> ExactSizeIterator for PadUsing<I, F>where\n I: ExactSizeIterator,\n F: FnMut(usize) -> I::Item,"],["impl<I> ExactSizeIterator for MultiPeek<I>where\n I: ExactSizeIterator,"],["impl<A, B, C> ExactSizeIterator for Zip<(A, B, C)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,"],["impl<I, J> ExactSizeIterator for ZipEq<I, J>where\n I: ExactSizeIterator,\n J: ExactSizeIterator,"],["impl<T, U> ExactSizeIterator for ZipLongest<T, U>where\n T: ExactSizeIterator,\n U: ExactSizeIterator,"],["impl<A, B, C, D, E, F, G, H, I, J, K, L> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H, I, J, K, L)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,\n D: ExactSizeIterator,\n E: ExactSizeIterator,\n F: ExactSizeIterator,\n G: ExactSizeIterator,\n H: ExactSizeIterator,\n I: ExactSizeIterator,\n J: ExactSizeIterator,\n K: ExactSizeIterator,\n L: ExactSizeIterator,"],["impl<A, B, C, D, E, F> ExactSizeIterator for Zip<(A, B, C, D, E, F)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,\n D: ExactSizeIterator,\n E: ExactSizeIterator,\n F: ExactSizeIterator,"],["impl<A, B, C, D, E> ExactSizeIterator for Zip<(A, B, C, D, E)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,\n D: ExactSizeIterator,\n E: ExactSizeIterator,"],["impl<I> ExactSizeIterator for Tee<I>where\n I: ExactSizeIterator,\n I::Item: Clone,"],["impl<A> ExactSizeIterator for RepeatN<A>where\n A: Clone,"],["impl<A, B, C, D> ExactSizeIterator for Zip<(A, B, C, D)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,\n D: ExactSizeIterator,"],["impl<A, B, C, D, E, F, G, H, I> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H, I)>where\n A: ExactSizeIterator,\n B: ExactSizeIterator,\n C: ExactSizeIterator,\n D: ExactSizeIterator,\n E: ExactSizeIterator,\n F: ExactSizeIterator,\n G: ExactSizeIterator,\n H: ExactSizeIterator,\n I: ExactSizeIterator,"],["impl<I> ExactSizeIterator for WithPosition<I>where\n I: ExactSizeIterator,"],["impl<I> ExactSizeIterator for Step<I>where\n I: ExactSizeIterator,"],["impl<A> ExactSizeIterator for Zip<(A,)>where\n A: ExactSizeIterator,"]], -"pest":[["impl<'i, R: RuleType> ExactSizeIterator for FlatPairs<'i, R>"],["impl<'i, R: RuleType> ExactSizeIterator for Pairs<'i, R>"],["impl<'i, R: RuleType> ExactSizeIterator for Tokens<'i, R>"]], +"pest":[["impl<'i, R: RuleType> ExactSizeIterator for Tokens<'i, R>"],["impl<'i, R: RuleType> ExactSizeIterator for FlatPairs<'i, R>"],["impl<'i, R: RuleType> ExactSizeIterator for Pairs<'i, R>"]], "rand":[["impl<'a, S: Index<usize, Output = T> + ?Sized + 'a, T: 'a> ExactSizeIterator for SliceChooseIter<'a, S, T>"],["impl ExactSizeIterator for IndexVecIntoIter"],["impl<'a> ExactSizeIterator for IndexVecIter<'a>"]], "regex":[["impl<'c, 'h> ExactSizeIterator for SubCaptureMatches<'c, 'h>"],["impl<'r> ExactSizeIterator for CaptureNames<'r>"],["impl<'c, 'h> ExactSizeIterator for SubCaptureMatches<'c, 'h>"],["impl<'r> ExactSizeIterator for CaptureNames<'r>"]], "regex_automata":[["impl<'a> ExactSizeIterator for CapturesPatternIter<'a>"],["impl<'a> ExactSizeIterator for GroupInfoPatternNames<'a>"]], diff --git a/doc/implementors/core/iter/traits/iterator/trait.Iterator.js b/doc/implementors/core/iter/traits/iterator/trait.Iterator.js index 3e86a43f7..d13138694 100644 --- a/doc/implementors/core/iter/traits/iterator/trait.Iterator.js +++ b/doc/implementors/core/iter/traits/iterator/trait.Iterator.js @@ -16,10 +16,10 @@ "intervaltree":[["impl<K, V> Iterator for TreeIntoIter<K, V>"],["impl<'a, K: Ord, V> Iterator for QueryIter<'a, K, V>"],["impl<'a, K: 'a, V: 'a> Iterator for TreeIter<'a, K, V>"]], "itertools":[["impl<St, F> Iterator for Iterate<St, F>where\n F: FnMut(&St) -> St,"],["impl<X, Iter, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((F, G, H, I, J, K, L), X)>where\n Iter: Iterator<Item = ((F, G, H, I, J, K, L), X)>,"],["impl<I, T, E> Iterator for FlattenOk<I, T, E>where\n I: Iterator<Item = Result<T, E>>,\n T: IntoIterator,"],["impl<'a, I, F> Iterator for TakeWhileRef<'a, I, F>where\n I: Iterator + Clone,\n F: FnMut(&I::Item) -> bool,"],["impl<I> Iterator for MultiProduct<I>where\n I: Iterator + Clone,\n I::Item: Clone,"],["impl<I, A> Iterator for WhileSome<I>where\n I: Iterator<Item = Option<A>>,"],["impl<I, J> Iterator for Product<I, J>where\n I: Iterator,\n J: Clone + Iterator,\n I::Item: Clone,"],["impl<I, T> Iterator for Tuples<I, T>where\n I: Iterator<Item = T::Item>,\n T: HomogeneousTuple,"],["impl<A, B, C, D, E, F, G> Iterator for Zip<(A, B, C, D, E, F, G)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,\n D: Iterator,\n E: Iterator,\n F: Iterator,\n G: Iterator,"],["impl<I> Iterator for PutBack<I>where\n I: Iterator,"],["impl<X, Iter, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((E, F, G, H, I, J, K, L), X)>where\n Iter: Iterator<Item = ((E, F, G, H, I, J, K, L), X)>,"],["impl<X, Iter, K, L> Iterator for ConsTuples<Iter, ((K, L), X)>where\n Iter: Iterator<Item = ((K, L), X)>,"],["impl<I, T> Iterator for TupleWindows<I, T>where\n I: Iterator<Item = T::Item>,\n T: HomogeneousTuple + Clone,\n T::Item: Clone,"],["impl<'a, I> Iterator for Chunks<'a, I>where\n I: Iterator,\n I::Item: 'a,"],["impl<A> Iterator for RepeatN<A>where\n A: Clone,"],["impl<X, Iter, C, D, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((C, D, E, F, G, H, I, J, K, L), X)>where\n Iter: Iterator<Item = ((C, D, E, F, G, H, I, J, K, L), X)>,"],["impl<A, B, C, D> Iterator for Zip<(A, B, C, D)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,\n D: Iterator,"],["impl<X, Iter, I, J, K, L> Iterator for ConsTuples<Iter, ((I, J, K, L), X)>where\n Iter: Iterator<Item = ((I, J, K, L), X)>,"],["impl<A, B> Iterator for Zip<(A, B)>where\n A: Iterator,\n B: Iterator,"],["impl<A, F> Iterator for RepeatCall<F>where\n F: FnMut() -> A,"],["impl<T> Iterator for TupleBuffer<T>where\n T: HomogeneousTuple,"],["impl<I, J, F> Iterator for MergeBy<I, J, F>where\n I: Iterator,\n J: Iterator<Item = I::Item>,\n F: MergePredicate<I::Item>,"],["impl<I> Iterator for Step<I>where\n I: Iterator,"],["impl<I, J> Iterator for InterleaveShortest<I, J>where\n I: Iterator,\n J: Iterator<Item = I::Item>,"],["impl<I, F, T, U, E> Iterator for FilterMapOk<I, F>where\n I: Iterator<Item = Result<T, E>>,\n F: FnMut(T) -> Option<U>,"],["impl<A, B, C, D, E, F, G, H, I> Iterator for Zip<(A, B, C, D, E, F, G, H, I)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,\n D: Iterator,\n E: Iterator,\n F: Iterator,\n G: Iterator,\n H: Iterator,\n I: Iterator,"],["impl<A> Iterator for Zip<(A,)>where\n A: Iterator,"],["impl<I> Iterator for CombinationsWithReplacement<I>where\n I: Iterator,\n I::Item: Clone,"],["impl<I> Iterator for Permutations<I>where\n I: Iterator,\n I::Item: Clone,"],["impl<A, B, C, D, E, F, G, H, I, J> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,\n D: Iterator,\n E: Iterator,\n F: Iterator,\n G: Iterator,\n H: Iterator,\n I: Iterator,\n J: Iterator,"],["impl<'a, I> Iterator for Chunk<'a, I>where\n I: Iterator,\n I::Item: 'a,"],["impl<X, Iter, B, C, D, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((B, C, D, E, F, G, H, I, J, K, L), X)>where\n Iter: Iterator<Item = ((B, C, D, E, F, G, H, I, J, K, L), X)>,"],["impl<X, Iter, J, K, L> Iterator for ConsTuples<Iter, ((J, K, L), X)>where\n Iter: Iterator<Item = ((J, K, L), X)>,"],["impl<I> Iterator for Powerset<I>where\n I: Iterator,\n I::Item: Clone,"],["impl<I> Iterator for Combinations<I>where\n I: Iterator,\n I::Item: Clone,"],["impl<A, B, C, D, E, F, G, H, I, J, K, L> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J, K, L)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,\n D: Iterator,\n E: Iterator,\n F: Iterator,\n G: Iterator,\n H: Iterator,\n I: Iterator,\n J: Iterator,\n K: Iterator,\n L: Iterator,"],["impl<I, J> Iterator for ZipEq<I, J>where\n I: Iterator,\n J: Iterator,"],["impl<A, I> Iterator for RcIter<I>where\n I: Iterator<Item = A>,"],["impl<I: Iterator> Iterator for WithPosition<I>"],["impl<A, B, C, D, E, F, G, H> Iterator for Zip<(A, B, C, D, E, F, G, H)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,\n D: Iterator,\n E: Iterator,\n F: Iterator,\n G: Iterator,\n H: Iterator,"],["impl<I, F> Iterator for Update<I, F>where\n I: Iterator,\n F: FnMut(&mut I::Item),"],["impl<I, T> Iterator for CircularTupleWindows<I, T>where\n I: Iterator<Item = T::Item> + Clone,\n T: TupleCollect + Clone,\n T::Item: Clone,"],["impl<A, B, C, D, E, F, G, H, I, J, K> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J, K)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,\n D: Iterator,\n E: Iterator,\n F: Iterator,\n G: Iterator,\n H: Iterator,\n I: Iterator,\n J: Iterator,\n K: Iterator,"],["impl<I, V, F> Iterator for UniqueBy<I, V, F>where\n I: Iterator,\n V: Eq + Hash,\n F: FnMut(&I::Item) -> V,"],["impl<'a, K, I, F> Iterator for Groups<'a, K, I, F>where\n I: Iterator,\n I::Item: 'a,\n F: FnMut(&I::Item) -> K,\n K: PartialEq,"],["impl<I, F> Iterator for PadUsing<I, F>where\n I: Iterator,\n F: FnMut(usize) -> I::Item,"],["impl<'a, K, I, F> Iterator for Group<'a, K, I, F>where\n I: Iterator,\n I::Item: 'a,\n F: FnMut(&I::Item) -> K,\n K: PartialEq,"],["impl<X, Iter, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((G, H, I, J, K, L), X)>where\n Iter: Iterator<Item = ((G, H, I, J, K, L), X)>,"],["impl<A, B, C> Iterator for Zip<(A, B, C)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,"],["impl<I, F, T, E> Iterator for FilterOk<I, F>where\n I: Iterator<Item = Result<T, E>>,\n F: FnMut(&T) -> bool,"],["impl<I, T> Iterator for TupleCombinations<I, T>where\n I: Iterator,\n T: HasCombination<I>,"],["impl<A, B, C, D, E> Iterator for Zip<(A, B, C, D, E)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,\n D: Iterator,\n E: Iterator,"],["impl<I> Iterator for Unique<I>where\n I: Iterator,\n I::Item: Eq + Hash + Clone,"],["impl<I, J, F> Iterator for MergeJoinBy<I, J, F>where\n I: Iterator,\n J: Iterator,\n F: FnMut(&I::Item, &J::Item) -> Ordering,"],["impl<'a, I, F> Iterator for PeekingTakeWhile<'a, I, F>where\n I: PeekingNext,\n F: FnMut(&I::Item) -> bool,"],["impl<I> Iterator for ExactlyOneError<I>where\n I: Iterator,"],["impl<A, B, C, D, E, F> Iterator for Zip<(A, B, C, D, E, F)>where\n A: Iterator,\n B: Iterator,\n C: Iterator,\n D: Iterator,\n E: Iterator,\n F: Iterator,"],["impl<I> Iterator for Tee<I>where\n I: Iterator,\n I::Item: Clone,"],["impl<I, F> Iterator for Positions<I, F>where\n I: Iterator,\n F: FnMut(I::Item) -> bool,"],["impl<B, F, I> Iterator for Batching<I, F>where\n I: Iterator,\n F: FnMut(&mut I) -> Option<B>,"],["impl<X, Iter, D, E, F, G, H, I, J, K, L> Iterator for ConsTuples<Iter, ((D, E, F, G, H, I, J, K, L), X)>where\n Iter: Iterator<Item = ((D, E, F, G, H, I, J, K, L), X)>,"],["impl<X, Iter, H, I, J, K, L> Iterator for ConsTuples<Iter, ((H, I, J, K, L), X)>where\n Iter: Iterator<Item = ((H, I, J, K, L), X)>,"],["impl<I> Iterator for PeekNth<I>where\n I: Iterator,"],["impl<I, J> Iterator for Interleave<I, J>where\n I: Iterator,\n J: Iterator<Item = I::Item>,"],["impl<'a, I, T, E> Iterator for ProcessResults<'a, I, E>where\n I: Iterator<Item = Result<T, E>>,"],["impl<I> Iterator for MultiPeek<I>where\n I: Iterator,"],["impl<I: Iterator> Iterator for PutBackN<I>"],["impl<I, ElemF> Iterator for IntersperseWith<I, ElemF>where\n I: Iterator,\n ElemF: IntersperseElement<I::Item>,"],["impl<A, St, F> Iterator for Unfold<St, F>where\n F: FnMut(&mut St) -> Option<A>,"],["impl<I, F> Iterator for KMergeBy<I, F>where\n I: Iterator,\n F: KMergePredicate<I::Item>,"],["impl<T, U> Iterator for ZipLongest<T, U>where\n T: Iterator,\n U: Iterator,"]], "mdbook":[["impl<'a> Iterator for BookItems<'a>"]], -"memchr":[["impl<'a, 'h> Iterator for ThreeIter<'a, 'h>"],["impl<'a, 'h> Iterator for TwoIter<'a, 'h>"],["impl<'a, 'h> Iterator for ThreeIter<'a, 'h>"],["impl<'a, 'h> Iterator for TwoIter<'a, 'h>"],["impl<'h> Iterator for Memchr3<'h>"],["impl<'h> Iterator for Memchr<'h>"],["impl<'a, 'h> Iterator for ThreeIter<'a, 'h>"],["impl<'a, 'h> Iterator for OneIter<'a, 'h>"],["impl<'h, 'n> Iterator for FindIter<'h, 'n>"],["impl<'h, 'n> Iterator for FindRevIter<'h, 'n>"],["impl<'a, 'h> Iterator for TwoIter<'a, 'h>"],["impl<'a, 'h> Iterator for OneIter<'a, 'h>"],["impl<'h> Iterator for Memchr2<'h>"],["impl<'a, 'h> Iterator for OneIter<'a, 'h>"]], +"memchr":[["impl<'h, 'n> Iterator for FindIter<'h, 'n>"],["impl<'a, 'h> Iterator for TwoIter<'a, 'h>"],["impl<'a, 'h> Iterator for ThreeIter<'a, 'h>"],["impl<'h> Iterator for Memchr3<'h>"],["impl<'a, 'h> Iterator for OneIter<'a, 'h>"],["impl<'h> Iterator for Memchr<'h>"],["impl<'a, 'h> Iterator for TwoIter<'a, 'h>"],["impl<'a, 'h> Iterator for OneIter<'a, 'h>"],["impl<'a, 'h> Iterator for ThreeIter<'a, 'h>"],["impl<'a, 'h> Iterator for ThreeIter<'a, 'h>"],["impl<'h, 'n> Iterator for FindRevIter<'h, 'n>"],["impl<'h> Iterator for Memchr2<'h>"],["impl<'a, 'h> Iterator for TwoIter<'a, 'h>"],["impl<'a, 'h> Iterator for OneIter<'a, 'h>"]], "nix":[["impl Iterator for SigSetIter<'_>"],["impl Iterator for SignalFd"],["impl Iterator for SignalIterator"]], "nom":[["impl<'a, Input, Output, Error, F> Iterator for &'a mut ParserIterator<Input, Error, F>where\n F: FnMut(Input) -> IResult<Input, Output, Error>,\n Input: Clone,"]], -"pest":[["impl<'i, R: RuleType> Iterator for Pairs<'i, R>"],["impl<'i, R: RuleType> Iterator for Tokens<'i, R>"],["impl<'i, R: RuleType> Iterator for FlatPairs<'i, R>"],["impl<'i> Iterator for LinesSpan<'i>"],["impl<'i> Iterator for Lines<'i>"]], +"pest":[["impl<'i> Iterator for LinesSpan<'i>"],["impl<'i, R: RuleType> Iterator for Tokens<'i, R>"],["impl<'i> Iterator for Lines<'i>"],["impl<'i, R: RuleType> Iterator for FlatPairs<'i, R>"],["impl<'i, R: RuleType> Iterator for Pairs<'i, R>"]], "pest_meta":[["impl Iterator for ExprTopDownIterator"],["impl Iterator for OptimizedExprTopDownIterator"]], "proc_macro2":[["impl Iterator for IntoIter"]], "pulldown_cmark":[["impl<'a, 'b> Iterator for OffsetIter<'a, 'b>"],["impl<'a, 'b> Iterator for Parser<'a, 'b>"]], diff --git a/doc/implementors/core/iter/traits/marker/trait.FusedIterator.js b/doc/implementors/core/iter/traits/marker/trait.FusedIterator.js index d92eb2739..3023d18f4 100644 --- a/doc/implementors/core/iter/traits/marker/trait.FusedIterator.js +++ b/doc/implementors/core/iter/traits/marker/trait.FusedIterator.js @@ -5,7 +5,7 @@ "crossbeam_channel":[["impl<T> FusedIterator for IntoIter<T>"],["impl<T> FusedIterator for Iter<'_, T>"]], "either":[["impl<L, R> FusedIterator for Either<L, R>where\n L: FusedIterator,\n R: FusedIterator<Item = L::Item>,"]], "itertools":[["impl<I> FusedIterator for Powerset<I>where\n I: Iterator,\n I::Item: Clone,"],["impl<I, F, T, E> FusedIterator for FilterOk<I, F>where\n I: FusedIterator<Item = Result<T, E>>,\n F: FnMut(&T) -> bool,"],["impl<I, J, F> FusedIterator for MergeBy<I, J, F>where\n I: FusedIterator,\n J: FusedIterator<Item = I::Item>,\n F: MergePredicate<I::Item>,"],["impl<I, J> FusedIterator for Interleave<I, J>where\n I: Iterator,\n J: Iterator<Item = I::Item>,"],["impl<I, F> FusedIterator for KMergeBy<I, F>where\n I: Iterator,\n F: KMergePredicate<I::Item>,"],["impl<I, F> FusedIterator for Positions<I, F>where\n I: FusedIterator,\n F: FnMut(I::Item) -> bool,"],["impl<I, J> FusedIterator for Product<I, J>where\n I: FusedIterator,\n J: Clone + FusedIterator,\n I::Item: Clone,"],["impl<I> FusedIterator for CombinationsWithReplacement<I>where\n I: Iterator,\n I::Item: Clone,"],["impl<T, U> FusedIterator for ZipLongest<T, U>where\n T: Iterator,\n U: Iterator,"],["impl<I, J> FusedIterator for InterleaveShortest<I, J>where\n I: FusedIterator,\n J: FusedIterator<Item = I::Item>,"],["impl<I, F> FusedIterator for Update<I, F>where\n I: FusedIterator,\n F: FnMut(&mut I::Item),"],["impl<I> FusedIterator for Combinations<I>where\n I: Iterator,\n I::Item: Clone,"],["impl<I, ElemF> FusedIterator for IntersperseWith<I, ElemF>where\n I: Iterator,\n ElemF: IntersperseElement<I::Item>,"],["impl<I: Iterator> FusedIterator for WithPosition<I>"],["impl<I, F, T, U, E> FusedIterator for FilterMapOk<I, F>where\n I: FusedIterator<Item = Result<T, E>>,\n F: FnMut(T) -> Option<U>,"],["impl<I, T> FusedIterator for TupleWindows<I, T>where\n I: FusedIterator<Item = T::Item>,\n T: HomogeneousTuple + Clone,\n T::Item: Clone,"],["impl<A, I> FusedIterator for RcIter<I>where\n I: FusedIterator<Item = A>,"],["impl<I, T, E> FusedIterator for FlattenOk<I, T, E>where\n I: FusedIterator<Item = Result<T, E>>,\n T: IntoIterator,"],["impl<A> FusedIterator for RepeatN<A>where\n A: Clone,"],["impl<I, V, F> FusedIterator for UniqueBy<I, V, F>where\n I: FusedIterator,\n V: Eq + Hash,\n F: FnMut(&I::Item) -> V,"],["impl<I, F> FusedIterator for PadUsing<I, F>where\n I: FusedIterator,\n F: FnMut(usize) -> I::Item,"],["impl<I, T> FusedIterator for TupleCombinations<I, T>where\n I: FusedIterator,\n T: HasCombination<I>,"],["impl<I> FusedIterator for Unique<I>where\n I: FusedIterator,\n I::Item: Eq + Hash + Clone,"]], -"memchr":[["impl<'h> FusedIterator for Memchr<'h>"],["impl<'a, 'h> FusedIterator for ThreeIter<'a, 'h>"],["impl<'a, 'h> FusedIterator for ThreeIter<'a, 'h>"],["impl<'a, 'h> FusedIterator for OneIter<'a, 'h>"],["impl<'h> FusedIterator for Memchr3<'h>"],["impl<'a, 'h> FusedIterator for TwoIter<'a, 'h>"],["impl<'h> FusedIterator for Memchr2<'h>"],["impl<'a, 'h> FusedIterator for OneIter<'a, 'h>"],["impl<'a, 'h> FusedIterator for TwoIter<'a, 'h>"]], +"memchr":[["impl<'a, 'h> FusedIterator for TwoIter<'a, 'h>"],["impl<'h> FusedIterator for Memchr2<'h>"],["impl<'h> FusedIterator for Memchr<'h>"],["impl<'a, 'h> FusedIterator for OneIter<'a, 'h>"],["impl<'a, 'h> FusedIterator for ThreeIter<'a, 'h>"],["impl<'h> FusedIterator for Memchr3<'h>"],["impl<'a, 'h> FusedIterator for OneIter<'a, 'h>"],["impl<'a, 'h> FusedIterator for TwoIter<'a, 'h>"],["impl<'a, 'h> FusedIterator for ThreeIter<'a, 'h>"]], "pulldown_cmark":[["impl FusedIterator for Parser<'_, '_>"]], "rand":[["impl<D, R, T> FusedIterator for DistIter<D, R, T>where\n D: Distribution<T>,\n R: Rng,"]], "regex":[["impl<'a> FusedIterator for SetMatchesIter<'a>"],["impl<'c, 'h> FusedIterator for SubCaptureMatches<'c, 'h>"],["impl<'r, 'h> FusedIterator for Matches<'r, 'h>"],["impl<'r> FusedIterator for CaptureNames<'r>"],["impl<'r, 'h> FusedIterator for SplitN<'r, 'h>"],["impl<'r, 'h> FusedIterator for Split<'r, 'h>"],["impl<'r, 'h> FusedIterator for CaptureMatches<'r, 'h>"],["impl<'r, 'h> FusedIterator for Split<'r, 'h>"],["impl<'r> FusedIterator for CaptureNames<'r>"],["impl FusedIterator for SetMatchesIntoIter"],["impl<'r, 'h> FusedIterator for CaptureMatches<'r, 'h>"],["impl<'r, 'h> FusedIterator for SplitN<'r, 'h>"],["impl FusedIterator for SetMatchesIntoIter"],["impl<'a> FusedIterator for SetMatchesIter<'a>"],["impl<'c, 'h> FusedIterator for SubCaptureMatches<'c, 'h>"],["impl<'r, 'h> FusedIterator for Matches<'r, 'h>"]], diff --git a/doc/implementors/core/marker/trait.Copy.js b/doc/implementors/core/marker/trait.Copy.js index 89276616d..d2a806a1c 100644 --- a/doc/implementors/core/marker/trait.Copy.js +++ b/doc/implementors/core/marker/trait.Copy.js @@ -3,7 +3,7 @@ "aho_corasick":[["impl Copy for PatternID"],["impl Copy for Span"],["impl Copy for StartKind"],["impl Copy for AhoCorasickKind"],["impl Copy for Match"],["impl Copy for StateID"],["impl Copy for Anchored"],["impl Copy for MatchKind"],["impl Copy for MatchKind"]], "anstyle":[["impl Copy for Effects"],["impl Copy for Reset"],["impl Copy for RgbColor"],["impl Copy for Color"],["impl Copy for AnsiColor"],["impl Copy for Ansi256Color"],["impl Copy for Style"]], "anstyle_parse":[["impl Copy for State"],["impl Copy for Action"]], -"aquascope":[["impl Copy for MirSegment"],["impl Copy for PermIncludeMode"],["impl Copy for GatherDepth"],["impl Copy for LoanKey"],["impl Copy for GatherMode"],["impl Copy for PermissionsData"],["impl Copy for PathIndex"],["impl Copy for AquascopeFacts"],["impl Copy for MoveKey"],["impl Copy for PermissionsDiff"],["impl Copy for Permissions"],["impl<A: Copy + Stepable> Copy for ValueStep<A>"],["impl Copy for PermissionsDataDiff"]], +"aquascope":[["impl Copy for GatherMode"],["impl Copy for LoanKey"],["impl Copy for PermissionsDiff"],["impl Copy for MoveKey"],["impl<A: Copy + Stepable> Copy for ValueStep<A>"],["impl Copy for Permissions"],["impl Copy for PermIncludeMode"],["impl Copy for MirSegment"],["impl Copy for PathIndex"],["impl Copy for PermissionsData"],["impl Copy for GatherDepth"],["impl Copy for PermissionsDataDiff"],["impl Copy for AquascopeFacts"]], "camino":[["impl Copy for FromPathError"],["impl<'a> Copy for Utf8Component<'a>"],["impl<'a> Copy for Utf8Ancestors<'a>"],["impl<'a> Copy for Utf8Prefix<'a>"],["impl<'a> Copy for Utf8PrefixComponent<'a>"]], "cargo_metadata":[["impl Copy for DependencyKind"],["impl Copy for DiagnosticLevel"]], "chrono":[["impl<Tz: TimeZone> Copy for Date<Tz>where\n <Tz as TimeZone>::Offset: Copy,"],["impl Copy for Utc"],["impl Copy for NaiveDate"],["impl<Tz: TimeZone> Copy for DateTime<Tz>where\n <Tz as TimeZone>::Offset: Copy,"],["impl Copy for Local"],["impl Copy for ParseError"],["impl Copy for OffsetPrecision"],["impl Copy for NaiveDateTime"],["impl<T: Copy> Copy for LocalResult<T>"],["impl Copy for OffsetFormat"],["impl Copy for SecondsFormat"],["impl Copy for OutOfRange"],["impl Copy for ParseErrorKind"],["impl Copy for IsoWeek"],["impl Copy for Colons"],["impl Copy for Pad"],["impl Copy for NaiveDateWeeksIterator"],["impl Copy for Month"],["impl Copy for NaiveDateDaysIterator"],["impl Copy for Duration"],["impl Copy for Days"],["impl Copy for RoundingError"],["impl Copy for FixedOffset"],["impl Copy for Weekday"],["impl Copy for Months"],["impl Copy for NaiveTime"],["impl Copy for OutOfRangeError"]], @@ -29,7 +29,7 @@ "mdbook":[["impl Copy for RustEdition"]], "mdbook_preprocessor_utils":[["impl Copy for Asset"]], "measureme":[["impl Copy for EventId"],["impl Copy for PageTag"],["impl Copy for StringId"],["impl Copy for Addr"]], -"memchr":[["impl Copy for Two"],["impl Copy for Pair"],["impl Copy for One"],["impl Copy for Finder"],["impl Copy for One"],["impl Copy for Three"],["impl Copy for FinderRev"],["impl Copy for Two"],["impl Copy for Finder"],["impl Copy for One"],["impl Copy for Three"],["impl Copy for Finder"],["impl Copy for Finder"],["impl Copy for Two"],["impl Copy for Three"],["impl Copy for PrefilterConfig"]], +"memchr":[["impl Copy for Finder"],["impl Copy for Finder"],["impl Copy for Pair"],["impl Copy for FinderRev"],["impl Copy for PrefilterConfig"],["impl Copy for Finder"],["impl Copy for One"],["impl Copy for Finder"],["impl Copy for Three"],["impl Copy for One"],["impl Copy for Two"],["impl Copy for Three"],["impl Copy for Three"],["impl Copy for Two"],["impl Copy for Two"],["impl Copy for One"]], "miniz_oxide":[["impl Copy for CompressionLevel"],["impl Copy for CompressionStrategy"],["impl Copy for MZError"],["impl Copy for MZStatus"],["impl Copy for StreamResult"],["impl Copy for MZFlush"],["impl Copy for TDEFLFlush"],["impl Copy for DataFormat"],["impl Copy for TDEFLStatus"],["impl Copy for TINFLStatus"]], "miri":[["impl Copy for Provenance"],["impl Copy for ProvenanceExtra"],["impl Copy for BorTag"],["impl Copy for InitOnceId"],["impl Copy for AtomicReadOrd"],["impl Copy for Permission"],["impl Copy for BacktraceStyle"],["impl Copy for CondvarId"],["impl Copy for AtomicFenceOrd"],["impl Copy for RetagFields"],["impl Copy for RwLockId"],["impl Copy for BorrowTrackerMethod"],["impl Copy for Item"],["impl Copy for Dlsym"],["impl Copy for IsolatedOp"],["impl Copy for AtomicWriteOrd"],["impl Copy for AlignmentCheck"],["impl Copy for MutexId"],["impl Copy for MiriMemoryKind"],["impl Copy for RejectOpWith"],["impl Copy for AtomicRwOrd"],["impl Copy for ThreadId"],["impl Copy for ProvenanceMode"]], "nix":[["impl Copy for Signal"],["impl Copy for Statfs"],["impl Copy for SysInfo"],["impl Copy for UtimensatFlags"],["impl Copy for TimeSpec"],["impl Copy for LinkatFlags"],["impl Copy for FsType"],["impl Copy for Statvfs"],["impl Copy for SigHandler"],["impl Copy for SFlag"],["impl Copy for Whence"],["impl Copy for Errno"],["impl Copy for SignalIterator"],["impl Copy for SigSet"],["impl Copy for TimeVal"],["impl Copy for FdFlag"],["impl Copy for AtFlags"],["impl Copy for MemFdCreateFlag"],["impl Copy for WaitStatus"],["impl Copy for Pid"],["impl Copy for WaitPidFlag"],["impl Copy for SigAction"],["impl Copy for OFlag"],["impl Copy for PosixFadviseAdvice"],["impl Copy for FlockArg"],["impl Copy for FchmodatFlags"],["impl Copy for SfdFlags"],["impl Copy for RenameFlags"],["impl Copy for UnlinkatFlags"],["impl Copy for ForkResult"],["impl Copy for SaFlags"],["impl Copy for Mode"],["impl Copy for FsFlags"],["impl Copy for PrctlMCEKillPolicy"],["impl Copy for SigmaskHow"],["impl Copy for SealFlag"],["impl Copy for SigevNotify"],["impl Copy for FallocateFlags"],["impl Copy for AccessFlags"]], @@ -38,7 +38,7 @@ "parking_lot":[["impl Copy for OnceState"],["impl Copy for WaitTimeoutResult"]], "parking_lot_core":[["impl Copy for UnparkToken"],["impl Copy for UnparkResult"],["impl Copy for RequeueOp"],["impl Copy for FilterOp"],["impl Copy for ParkResult"],["impl Copy for ParkToken"]], "perf_event_open_sys":[["impl Copy for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1"],["impl Copy for perf_event_mmap_page"],["impl Copy for perf_event_attr"],["impl Copy for perf_event_mmap_page__bindgen_ty_1"],["impl<Storage: Copy> Copy for __BindgenBitfieldUnit<Storage>"],["impl Copy for perf_event_attr__bindgen_ty_3"],["impl Copy for __kernel_fsid_t"],["impl Copy for __kernel_fd_set"],["impl Copy for perf_event_attr__bindgen_ty_2"],["impl Copy for perf_mem_data_src__bindgen_ty_1"],["impl Copy for perf_sample_weight__bindgen_ty_1"],["impl Copy for perf_sample_weight"],["impl Copy for perf_event_attr__bindgen_ty_4"],["impl Copy for perf_event_header"],["impl Copy for perf_mem_data_src"],["impl Copy for perf_ns_link_info"],["impl Copy for perf_event_attr__bindgen_ty_1"],["impl Copy for perf_branch_entry"]], -"pest":[["impl Copy for MatchDir"],["impl Copy for Lookahead"],["impl Copy for Assoc"],["impl Copy for Atomicity"],["impl<'i> Copy for Span<'i>"],["impl<'i> Copy for Position<'i>"],["impl Copy for Assoc"]], +"pest":[["impl Copy for Assoc"],["impl Copy for Atomicity"],["impl<'i> Copy for Span<'i>"],["impl Copy for Assoc"],["impl Copy for MatchDir"],["impl Copy for Lookahead"],["impl<'i> Copy for Position<'i>"]], "pest_meta":[["impl Copy for RuleType"],["impl Copy for Rule"]], "ppv_lite86":[["impl Copy for NoS3"],["impl Copy for NoS4"],["impl Copy for YesA2"],["impl Copy for YesNI"],["impl<S3: Copy, S4: Copy, NI: Copy> Copy for SseMachine<S3, S4, NI>"],["impl Copy for NoNI"],["impl Copy for vec256_storage"],["impl Copy for YesS3"],["impl Copy for NoA1"],["impl Copy for NoA2"],["impl Copy for YesA1"],["impl Copy for vec512_storage"],["impl Copy for vec128_storage"],["impl<NI: Copy> Copy for Avx2Machine<NI>"],["impl Copy for YesS4"]], "proc_macro2":[["impl Copy for Span"],["impl Copy for DelimSpan"],["impl Copy for Delimiter"],["impl Copy for Spacing"]], diff --git a/doc/implementors/core/marker/trait.StructuralEq.js b/doc/implementors/core/marker/trait.StructuralEq.js index 23a32553e..ea931aa24 100644 --- a/doc/implementors/core/marker/trait.StructuralEq.js +++ b/doc/implementors/core/marker/trait.StructuralEq.js @@ -3,7 +3,7 @@ "anstream":[["impl StructuralEq for StripStr"],["impl StructuralEq for WinconBytes"],["impl StructuralEq for StripBytes"],["impl<'s> StructuralEq for StripBytesIter<'s>"],["impl StructuralEq for Buffer"],["impl<'s> StructuralEq for WinconBytesIter<'s>"],["impl<'s> StructuralEq for StrippedStr<'s>"],["impl<'s> StructuralEq for StripStrIter<'s>"],["impl<'s> StructuralEq for StrippedBytes<'s>"]], "anstyle":[["impl StructuralEq for EffectIter"],["impl StructuralEq for Style"],["impl StructuralEq for Reset"],["impl StructuralEq for AnsiColor"],["impl StructuralEq for Ansi256Color"],["impl StructuralEq for RgbColor"],["impl StructuralEq for Color"],["impl StructuralEq for Effects"]], "anstyle_parse":[["impl StructuralEq for Utf8Parser"],["impl<C> StructuralEq for Parser<C>"],["impl StructuralEq for Action"],["impl StructuralEq for Params"],["impl StructuralEq for State"],["impl StructuralEq for AsciiParser"]], -"aquascope":[["impl StructuralEq for PermissionsDataDiff"],["impl StructuralEq for PathIndex"],["impl StructuralEq for GatherDepth"],["impl StructuralEq for MoveKey"],["impl StructuralEq for LoanKey"],["impl StructuralEq for MirSegment"],["impl<'tcx> StructuralEq for PermissionsDomain<'tcx>"],["impl StructuralEq for GatherMode"],["impl StructuralEq for PermissionsData"],["impl StructuralEq for PermissionsDiff"],["impl StructuralEq for PermIncludeMode"],["impl StructuralEq for Permissions"],["impl<A: Stepable> StructuralEq for ValueStep<A>"]], +"aquascope":[["impl StructuralEq for PathIndex"],["impl StructuralEq for MirSegment"],["impl<'tcx> StructuralEq for PermissionsDomain<'tcx>"],["impl StructuralEq for GatherDepth"],["impl StructuralEq for Permissions"],["impl StructuralEq for PermissionsData"],["impl StructuralEq for MoveKey"],["impl StructuralEq for PermIncludeMode"],["impl StructuralEq for LoanKey"],["impl StructuralEq for PermissionsDataDiff"],["impl StructuralEq for PermissionsDiff"],["impl StructuralEq for GatherMode"],["impl<A: Stepable> StructuralEq for ValueStep<A>"]], "bstr":[["impl StructuralEq for FromUtf8Error"],["impl StructuralEq for Utf8Error"]], "camino":[["impl<'a> StructuralEq for Utf8Components<'a>"],["impl StructuralEq for FromPathError"],["impl<'a> StructuralEq for Utf8Component<'a>"],["impl StructuralEq for FromPathBufError"],["impl<'a> StructuralEq for Utf8Prefix<'a>"],["impl<'a> StructuralEq for Utf8PrefixComponent<'a>"]], "cargo_metadata":[["impl StructuralEq for Applicability"],["impl StructuralEq for Source"],["impl StructuralEq for ArtifactProfile"],["impl StructuralEq for BuildFinished"],["impl StructuralEq for BuildScript"],["impl StructuralEq for Message"],["impl StructuralEq for DiagnosticSpan"],["impl StructuralEq for Diagnostic"],["impl StructuralEq for DiagnosticCode"],["impl StructuralEq for DiagnosticSpanMacroExpansion"],["impl StructuralEq for DiagnosticLevel"],["impl StructuralEq for Target"],["impl StructuralEq for CompilerMessage"],["impl StructuralEq for Artifact"],["impl StructuralEq for Package"],["impl StructuralEq for DependencyKind"],["impl StructuralEq for Dependency"],["impl StructuralEq for DiagnosticSpanLine"],["impl StructuralEq for PackageId"]], @@ -37,7 +37,7 @@ "parking_lot":[["impl StructuralEq for OnceState"],["impl StructuralEq for WaitTimeoutResult"]], "parking_lot_core":[["impl StructuralEq for ParkResult"],["impl StructuralEq for FilterOp"],["impl StructuralEq for ParkToken"],["impl StructuralEq for RequeueOp"],["impl StructuralEq for UnparkToken"],["impl StructuralEq for UnparkResult"]], "perf_event_open_sys":[["impl<Storage> StructuralEq for __BindgenBitfieldUnit<Storage>"]], -"pest":[["impl StructuralEq for Assoc"],["impl StructuralEq for Assoc"],["impl<'i, R> StructuralEq for Token<'i, R>"],["impl<R> StructuralEq for ErrorVariant<R>"],["impl StructuralEq for MatchDir"],["impl StructuralEq for InputLocation"],["impl<R> StructuralEq for Error<R>"],["impl StructuralEq for Atomicity"],["impl StructuralEq for Lookahead"],["impl StructuralEq for LineColLocation"]], +"pest":[["impl StructuralEq for MatchDir"],["impl<R> StructuralEq for ErrorVariant<R>"],["impl StructuralEq for Assoc"],["impl StructuralEq for Assoc"],["impl StructuralEq for Atomicity"],["impl StructuralEq for Lookahead"],["impl StructuralEq for InputLocation"],["impl<R> StructuralEq for Error<R>"],["impl StructuralEq for LineColLocation"],["impl<'i, R> StructuralEq for Token<'i, R>"]], "pest_meta":[["impl<'i> StructuralEq for ParserExpr<'i>"],["impl StructuralEq for RuleType"],["impl<'i> StructuralEq for ParserRule<'i>"],["impl StructuralEq for Rule"],["impl StructuralEq for OptimizedRule"],["impl StructuralEq for OptimizedExpr"],["impl StructuralEq for Expr"],["impl StructuralEq for Rule"],["impl<'i> StructuralEq for ParserNode<'i>"]], "proc_macro2":[["impl StructuralEq for Delimiter"],["impl StructuralEq for Spacing"]], "pulldown_cmark":[["impl<'a> StructuralEq for CowStr<'a>"],["impl StructuralEq for InvalidHeadingLevel"],["impl StructuralEq for HeadingLevel"],["impl StructuralEq for InlineStr"],["impl StructuralEq for Options"]], diff --git a/doc/implementors/core/marker/trait.StructuralPartialEq.js b/doc/implementors/core/marker/trait.StructuralPartialEq.js index b0d69b6a7..40a578ff7 100644 --- a/doc/implementors/core/marker/trait.StructuralPartialEq.js +++ b/doc/implementors/core/marker/trait.StructuralPartialEq.js @@ -3,7 +3,7 @@ "anstream":[["impl StructuralPartialEq for StripStr"],["impl<'s> StructuralPartialEq for StrippedBytes<'s>"],["impl<'s> StructuralPartialEq for WinconBytesIter<'s>"],["impl<'s> StructuralPartialEq for StripStrIter<'s>"],["impl StructuralPartialEq for StripBytes"],["impl<'s> StructuralPartialEq for StrippedStr<'s>"],["impl StructuralPartialEq for Buffer"],["impl StructuralPartialEq for WinconBytes"],["impl<'s> StructuralPartialEq for StripBytesIter<'s>"]], "anstyle":[["impl StructuralPartialEq for Style"],["impl StructuralPartialEq for Ansi256Color"],["impl StructuralPartialEq for Color"],["impl StructuralPartialEq for AnsiColor"],["impl StructuralPartialEq for EffectIter"],["impl StructuralPartialEq for RgbColor"],["impl StructuralPartialEq for Effects"],["impl StructuralPartialEq for Reset"]], "anstyle_parse":[["impl StructuralPartialEq for State"],["impl StructuralPartialEq for Utf8Parser"],["impl StructuralPartialEq for AsciiParser"],["impl<C> StructuralPartialEq for Parser<C>"],["impl StructuralPartialEq for Action"],["impl StructuralPartialEq for Params"]], -"aquascope":[["impl StructuralPartialEq for PermIncludeMode"],["impl StructuralPartialEq for MValue"],["impl StructuralPartialEq for PermissionsDataDiff"],["impl StructuralPartialEq for Refiner"],["impl StructuralPartialEq for MoveKey"],["impl StructuralPartialEq for PermissionsDiff"],["impl StructuralPartialEq for GatherDepth"],["impl StructuralPartialEq for PathIndex"],["impl<A: Stepable> StructuralPartialEq for ValueStep<A>"],["impl StructuralPartialEq for Permissions"],["impl StructuralPartialEq for RefinementRegion"],["impl StructuralPartialEq for GatherMode"],["impl StructuralPartialEq for LoanKey"],["impl<'tcx> StructuralPartialEq for PermissionsDomain<'tcx>"],["impl StructuralPartialEq for PermissionsData"],["impl StructuralPartialEq for MirSegment"]], +"aquascope":[["impl StructuralPartialEq for MValue"],["impl StructuralPartialEq for Permissions"],["impl<A: Stepable> StructuralPartialEq for ValueStep<A>"],["impl StructuralPartialEq for Refiner"],["impl StructuralPartialEq for MirSegment"],["impl<'tcx> StructuralPartialEq for PermissionsDomain<'tcx>"],["impl StructuralPartialEq for PermissionsData"],["impl StructuralPartialEq for PathIndex"],["impl StructuralPartialEq for GatherMode"],["impl StructuralPartialEq for PermissionsDataDiff"],["impl StructuralPartialEq for LoanKey"],["impl StructuralPartialEq for RefinementRegion"],["impl StructuralPartialEq for PermissionsDiff"],["impl StructuralPartialEq for GatherDepth"],["impl StructuralPartialEq for PermIncludeMode"],["impl StructuralPartialEq for MoveKey"]], "bstr":[["impl StructuralPartialEq for FromUtf8Error"],["impl StructuralPartialEq for Utf8Error"]], "camino":[["impl<'a> StructuralPartialEq for Utf8PrefixComponent<'a>"],["impl StructuralPartialEq for FromPathBufError"],["impl<'a> StructuralPartialEq for Utf8Component<'a>"],["impl<'a> StructuralPartialEq for Utf8Components<'a>"],["impl<'a> StructuralPartialEq for Utf8Prefix<'a>"],["impl StructuralPartialEq for FromPathError"]], "cargo_metadata":[["impl StructuralPartialEq for PackageId"],["impl StructuralPartialEq for DiagnosticCode"],["impl StructuralPartialEq for Source"],["impl StructuralPartialEq for DiagnosticSpan"],["impl StructuralPartialEq for BuildScript"],["impl StructuralPartialEq for DiagnosticSpanLine"],["impl StructuralPartialEq for BuildFinished"],["impl StructuralPartialEq for DiagnosticSpanMacroExpansion"],["impl StructuralPartialEq for Artifact"],["impl StructuralPartialEq for ArtifactProfile"],["impl StructuralPartialEq for DependencyKind"],["impl StructuralPartialEq for Applicability"],["impl StructuralPartialEq for Diagnostic"],["impl StructuralPartialEq for Message"],["impl StructuralPartialEq for Target"],["impl StructuralPartialEq for Package"],["impl StructuralPartialEq for Dependency"],["impl StructuralPartialEq for DiagnosticLevel"],["impl StructuralPartialEq for CompilerMessage"]], @@ -38,7 +38,7 @@ "parking_lot":[["impl StructuralPartialEq for OnceState"],["impl StructuralPartialEq for WaitTimeoutResult"]], "parking_lot_core":[["impl StructuralPartialEq for UnparkResult"],["impl StructuralPartialEq for ParkToken"],["impl StructuralPartialEq for FilterOp"],["impl StructuralPartialEq for UnparkToken"],["impl StructuralPartialEq for ParkResult"],["impl StructuralPartialEq for RequeueOp"]], "perf_event_open_sys":[["impl<Storage> StructuralPartialEq for __BindgenBitfieldUnit<Storage>"]], -"pest":[["impl<R> StructuralPartialEq for ErrorVariant<R>"],["impl StructuralPartialEq for LineColLocation"],["impl StructuralPartialEq for MatchDir"],["impl<'i, R> StructuralPartialEq for Token<'i, R>"],["impl<R> StructuralPartialEq for Error<R>"],["impl StructuralPartialEq for Assoc"],["impl StructuralPartialEq for Lookahead"],["impl StructuralPartialEq for Assoc"],["impl StructuralPartialEq for Atomicity"],["impl StructuralPartialEq for InputLocation"]], +"pest":[["impl StructuralPartialEq for Atomicity"],["impl StructuralPartialEq for Assoc"],["impl<'i, R> StructuralPartialEq for Token<'i, R>"],["impl StructuralPartialEq for Lookahead"],["impl StructuralPartialEq for LineColLocation"],["impl StructuralPartialEq for MatchDir"],["impl StructuralPartialEq for InputLocation"],["impl StructuralPartialEq for Assoc"],["impl<R> StructuralPartialEq for ErrorVariant<R>"],["impl<R> StructuralPartialEq for Error<R>"]], "pest_meta":[["impl StructuralPartialEq for Rule"],["impl<'i> StructuralPartialEq for ParserRule<'i>"],["impl<'i> StructuralPartialEq for ParserExpr<'i>"],["impl<'i> StructuralPartialEq for ParserNode<'i>"],["impl StructuralPartialEq for OptimizedExpr"],["impl StructuralPartialEq for RuleType"],["impl StructuralPartialEq for OptimizedRule"],["impl StructuralPartialEq for Expr"],["impl StructuralPartialEq for Rule"]], "proc_macro2":[["impl StructuralPartialEq for Spacing"],["impl StructuralPartialEq for Delimiter"]], "pulldown_cmark":[["impl<'a> StructuralPartialEq for CodeBlockKind<'a>"],["impl<'a> StructuralPartialEq for Event<'a>"],["impl StructuralPartialEq for HeadingLevel"],["impl StructuralPartialEq for Alignment"],["impl StructuralPartialEq for LinkType"],["impl<'a> StructuralPartialEq for Tag<'a>"],["impl StructuralPartialEq for InvalidHeadingLevel"],["impl StructuralPartialEq for Options"]], diff --git a/doc/implementors/core/ops/arith/trait.Add.js b/doc/implementors/core/ops/arith/trait.Add.js index b5cf467b8..409d7e913 100644 --- a/doc/implementors/core/ops/arith/trait.Add.js +++ b/doc/implementors/core/ops/arith/trait.Add.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"aquascope":[["impl Add<LoanKey> for LoanKey"],["impl Add<usize> for PathIndex"]], +"aquascope":[["impl Add<usize> for PathIndex"],["impl Add<LoanKey> for LoanKey"]], "chrono":[["impl Add<Months> for NaiveDate"],["impl Add<FixedOffset> for NaiveDateTime"],["impl Add<Duration> for NaiveDateTime"],["impl Add<FixedOffset> for NaiveTime"],["impl Add<Days> for NaiveDateTime"],["impl<Tz: TimeZone> Add<Duration> for DateTime<Tz>"],["impl Add<Days> for NaiveDate"],["impl Add<Duration> for NaiveDate"],["impl<Tz: TimeZone> Add<Duration> for DateTime<Tz>"],["impl<Tz: TimeZone> Add<Months> for DateTime<Tz>"],["impl<Tz: TimeZone> Add<FixedOffset> for DateTime<Tz>"],["impl<Tz: TimeZone> Add<Duration> for Date<Tz>"],["impl Add<Duration> for Duration"],["impl Add<Months> for NaiveDateTime"],["impl Add<Duration> for NaiveDateTime"],["impl Add<Duration> for NaiveTime"],["impl Add<Duration> for NaiveTime"],["impl<Tz: TimeZone> Add<Days> for DateTime<Tz>"]], "nix":[["impl Add<TimeSpec> for TimeSpec"],["impl Add<TimeVal> for TimeVal"]], "rustc_utils":[["impl Add<usize> for FilenameIndex"]] diff --git a/doc/implementors/core/ops/deref/trait.Deref.js b/doc/implementors/core/ops/deref/trait.Deref.js index dd358459a..98f398ae4 100644 --- a/doc/implementors/core/ops/deref/trait.Deref.js +++ b/doc/implementors/core/ops/deref/trait.Deref.js @@ -1,6 +1,6 @@ (function() {var implementors = { "anyhow":[["impl Deref for Error"]], -"aquascope":[["impl Deref for LoanPoints"],["impl<'tcx> Deref for PermissionsDomain<'tcx>"],["impl Deref for LoanRegions"],["impl Deref for LoanKey"]], +"aquascope":[["impl Deref for LoanPoints"],["impl<'tcx> Deref for PermissionsDomain<'tcx>"],["impl Deref for LoanKey"],["impl Deref for LoanRegions"]], "bstr":[["impl Deref for BString"],["impl Deref for BStr"]], "camino":[["impl Deref for Utf8PathBuf"]], "clap_builder":[["impl Deref for Str"],["impl Deref for OsStr"]], diff --git a/doc/implementors/core/ops/deref/trait.DerefMut.js b/doc/implementors/core/ops/deref/trait.DerefMut.js index 948c2c99b..9abe6dcbc 100644 --- a/doc/implementors/core/ops/deref/trait.DerefMut.js +++ b/doc/implementors/core/ops/deref/trait.DerefMut.js @@ -1,6 +1,6 @@ (function() {var implementors = { "anyhow":[["impl DerefMut for Error"]], -"aquascope":[["impl DerefMut for LoanKey"],["impl DerefMut for LoanRegions"],["impl DerefMut for LoanPoints"],["impl DerefMut for PermissionsDomain<'_>"]], +"aquascope":[["impl DerefMut for LoanPoints"],["impl DerefMut for LoanRegions"],["impl DerefMut for PermissionsDomain<'_>"],["impl DerefMut for LoanKey"]], "bstr":[["impl DerefMut for BString"],["impl DerefMut for BStr"]], "camino":[["impl DerefMut for Utf8PathBuf"]], "crossbeam_epoch":[["impl<T: ?Sized + Pointable> DerefMut for Owned<T>"]], diff --git a/doc/implementors/rustc_mir_dataflow/framework/fmt/trait.DebugWithContext.js b/doc/implementors/rustc_mir_dataflow/framework/fmt/trait.DebugWithContext.js index b8e484ceb..b14d9cea0 100644 --- a/doc/implementors/rustc_mir_dataflow/framework/fmt/trait.DebugWithContext.js +++ b/doc/implementors/rustc_mir_dataflow/framework/fmt/trait.DebugWithContext.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"aquascope":[["impl<C> DebugWithContext<C> for Permissions"],["impl<C> DebugWithContext<C> for PermissionsDomain<'_>"]] +"aquascope":[["impl<C> DebugWithContext<C> for PermissionsDomain<'_>"],["impl<C> DebugWithContext<C> for Permissions"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/serde/ser/trait.Serialize.js b/doc/implementors/serde/ser/trait.Serialize.js index 2d22694a9..0360c655d 100644 --- a/doc/implementors/serde/ser/trait.Serialize.js +++ b/doc/implementors/serde/ser/trait.Serialize.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"aquascope":[["impl Serialize for PermissionsLineDisplay"],["impl Serialize for Permissions"],["impl Serialize for MovePoints"],["impl Serialize for LoanRegions"],["impl Serialize for FlowBoundary"],["impl Serialize for MoveRegions"],["impl Serialize for PermissionsDiff"],["impl Serialize for PermissionsDataDiff"],["impl Serialize for AquascopeError"],["impl Serialize for LoanKey"],["impl Serialize for PermissionsBoundary"],["impl Serialize for MoveKey"],["impl<A> Serialize for ValueStep<A>where\n A: Serialize + Stepable,"],["impl Serialize for AnalysisOutput"],["impl Serialize for PermIncludeMode"],["impl<L> Serialize for MTrace<L>where\n L: Serialize,"],["impl Serialize for PermissionsData"],["impl Serialize for Refiner"],["impl Serialize for LoanPoints"],["impl Serialize for PermissionsStepTable"],["impl Serialize for MValue"],["impl Serialize for RefinementRegion"]], +"aquascope":[["impl Serialize for PermissionsLineDisplay"],["impl Serialize for PermissionsBoundary"],["impl Serialize for LoanPoints"],["impl Serialize for LoanRegions"],["impl Serialize for Permissions"],["impl Serialize for PermissionsStepTable"],["impl Serialize for MValue"],["impl<A> Serialize for ValueStep<A>where\n A: Serialize + Stepable,"],["impl Serialize for PermissionsDiff"],["impl Serialize for FlowBoundary"],["impl Serialize for MoveRegions"],["impl Serialize for MoveKey"],["impl Serialize for PermIncludeMode"],["impl Serialize for PermissionsDataDiff"],["impl Serialize for MovePoints"],["impl<L> Serialize for MTrace<L>where\n L: Serialize,"],["impl Serialize for Refiner"],["impl Serialize for PermissionsData"],["impl Serialize for AquascopeError"],["impl Serialize for RefinementRegion"],["impl Serialize for LoanKey"],["impl Serialize for AnalysisOutput"]], "aquascope_front":[["impl Serialize for AquascopePluginArgs"]], "camino":[["impl Serialize for Utf8Path"],["impl Serialize for Utf8PathBuf"]], "cargo_metadata":[["impl Serialize for CompilerMessage"],["impl Serialize for BuildScript"],["impl Serialize for DiagnosticSpanLine"],["impl Serialize for ArtifactProfile"],["impl Serialize for Source"],["impl Serialize for Artifact"],["impl Serialize for NodeDep"],["impl Serialize for Message"],["impl Serialize for PackageId"],["impl Serialize for Node"],["impl Serialize for Metadata"],["impl Serialize for Dependency"],["impl Serialize for DiagnosticCode"],["impl Serialize for DependencyKind"],["impl Serialize for DepKindInfo"],["impl Serialize for DiagnosticLevel"],["impl Serialize for DiagnosticSpan"],["impl Serialize for Resolve"],["impl Serialize for Package"],["impl Serialize for BuildFinished"],["impl Serialize for Diagnostic"],["impl Serialize for DiagnosticSpanMacroExpansion"],["impl Serialize for Target"],["impl Serialize for Applicability"]], diff --git a/doc/implementors/ts_rs/trait.TS.js b/doc/implementors/ts_rs/trait.TS.js index 520a49252..876eb15f5 100644 --- a/doc/implementors/ts_rs/trait.TS.js +++ b/doc/implementors/ts_rs/trait.TS.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"aquascope":[["impl TS for Permissions"],["impl TS for PermissionsData"],["impl TS for PermissionsDiff"],["impl TS for LoanPoints"],["impl TS for PermissionsLineDisplay"],["impl TS for PermissionsStepTable"],["impl TS for MovePoints"],["impl<A> TS for ValueStep<A>where\n A: TS + Stepable,"],["impl TS for LoanRegions"],["impl TS for LoanKey"],["impl TS for FlowBoundary"],["impl TS for RefinementRegion"],["impl TS for PermissionsBoundary"],["impl TS for MoveKey"],["impl TS for MoveRegions"],["impl<L> TS for MTrace<L>where\n L: TS,"],["impl TS for Refiner"],["impl TS for AnalysisOutput"],["impl TS for AquascopeError"],["impl TS for PermissionsDataDiff"],["impl TS for MValue"]], +"aquascope":[["impl TS for Refiner"],["impl TS for LoanRegions"],["impl TS for PermissionsStepTable"],["impl TS for RefinementRegion"],["impl TS for PermissionsLineDisplay"],["impl TS for AquascopeError"],["impl TS for MoveRegions"],["impl TS for FlowBoundary"],["impl TS for MovePoints"],["impl<A> TS for ValueStep<A>where\n A: TS + Stepable,"],["impl TS for PermissionsBoundary"],["impl TS for PermissionsData"],["impl<L> TS for MTrace<L>where\n L: TS,"],["impl TS for MValue"],["impl TS for Permissions"],["impl TS for LoanKey"],["impl TS for PermissionsDataDiff"],["impl TS for LoanPoints"],["impl TS for AnalysisOutput"],["impl TS for PermissionsDiff"],["impl TS for MoveKey"]], "rustc_utils":[["impl TS for BytePos"],["impl TS for FilenameIndex"],["impl TS for ByteRange"],["impl TS for CharPos"],["impl TS for CharRange"]], "ts_rs":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/mdbook_aquascope/index.html b/doc/mdbook_aquascope/index.html index 5107cb45c..8f2f9d79e 100644 --- a/doc/mdbook_aquascope/index.html +++ b/doc/mdbook_aquascope/index.html @@ -1 +1 @@ -mdbook_aquascope - Rust
\ No newline at end of file +mdbook_aquascope - Rust
\ No newline at end of file diff --git a/doc/pest/error/enum.LineColLocation.html b/doc/pest/error/enum.LineColLocation.html index e5da28c0c..557bd4368 100644 --- a/doc/pest/error/enum.LineColLocation.html +++ b/doc/pest/error/enum.LineColLocation.html @@ -4,7 +4,7 @@ }
Expand description

Line/column where an Error has occurred.

Variants§

§

Pos((usize, usize))

Line/column pair if Error was created by Error::new_from_pos

§

Span((usize, usize), (usize, usize))

Line/column pairs if Error was created by Error::new_from_span

-

Trait Implementations§

source§

impl Clone for LineColLocation

source§

fn clone(&self) -> LineColLocation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LineColLocation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Position<'_>> for LineColLocation

source§

fn from(value: Position<'_>) -> Self

Converts to this type from the input type.
source§

impl From<Span<'_>> for LineColLocation

source§

fn from(value: Span<'_>) -> Self

Converts to this type from the input type.
source§

impl Hash for LineColLocation

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl Clone for LineColLocation

source§

fn clone(&self) -> LineColLocation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LineColLocation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Position<'_>> for LineColLocation

source§

fn from(value: Position<'_>) -> Self

Converts to this type from the input type.
source§

impl From<Span<'_>> for LineColLocation

source§

fn from(value: Span<'_>) -> Self

Converts to this type from the input type.
source§

impl Hash for LineColLocation

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<LineColLocation> for LineColLocation

source§

fn eq(&self, other: &LineColLocation) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/doc/pest/error/struct.Error.html b/doc/pest/error/struct.Error.html index 302f8e909..d85e81aaf 100644 --- a/doc/pest/error/struct.Error.html +++ b/doc/pest/error/struct.Error.html @@ -60,7 +60,7 @@
Examples
Rule::closed_paren => "closed paren".to_owned() } });
-

Trait Implementations§

source§

impl<R: Clone> Clone for Error<R>

source§

fn clone(&self) -> Error<R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<R: Debug> Debug for Error<R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<R: RuleType> Display for Error<R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<R> Error for Error<R>where +

Trait Implementations§

source§

impl<R: Clone> Clone for Error<R>

source§

fn clone(&self) -> Error<R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<R: Debug> Debug for Error<R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<R: RuleType> Display for Error<R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<R> Error for Error<R>where Self: Debug + Display,

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl<R: Hash> Hash for Error<R>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<R: PartialEq> PartialEq<Error<R>> for Error<R>

source§

fn eq(&self, other: &Error<R>) -> bool

This method tests for self and other values to be equal, and is used diff --git a/doc/pest/iterators/struct.Pair.html b/doc/pest/iterators/struct.Pair.html index 78059f3fa..a00e21fa1 100644 --- a/doc/pest/iterators/struct.Pair.html +++ b/doc/pest/iterators/struct.Pair.html @@ -96,7 +96,7 @@
Examples
assert_eq!(tokens.len(), 2);
source

pub fn line_col(&self) -> (usize, usize)

Returns the line, col of this pair start.

-

Trait Implementations§

source§

impl<'i, R: Clone> Clone for Pair<'i, R>

source§

fn clone(&self) -> Pair<'i, R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'i, R: RuleType> Debug for Pair<'i, R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'i, R: RuleType> Display for Pair<'i, R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'i, R: Hash> Hash for Pair<'i, R>

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'i, R: Clone> Clone for Pair<'i, R>

source§

fn clone(&self) -> Pair<'i, R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'i, R: RuleType> Debug for Pair<'i, R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'i, R: RuleType> Display for Pair<'i, R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'i, R: Hash> Hash for Pair<'i, R>

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'i, R: PartialEq> PartialEq<Pair<'i, R>> for Pair<'i, R>

source§

fn eq(&self, other: &Pair<'i, R>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/doc/pest/iterators/struct.Pairs.html b/doc/pest/iterators/struct.Pairs.html index cb746a399..5c76d68f7 100644 --- a/doc/pest/iterators/struct.Pairs.html +++ b/doc/pest/iterators/struct.Pairs.html @@ -167,7 +167,7 @@
Examples
assert_eq!(tokens.len(), 2);
source

pub fn peek(&self) -> Option<Pair<'i, R>>

Peek at the first inner Pair without changing the position of this iterator.

-

Trait Implementations§

source§

impl<'i, R: Clone> Clone for Pairs<'i, R>

source§

fn clone(&self) -> Pairs<'i, R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'i, R: RuleType> Debug for Pairs<'i, R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'i, R: RuleType> Display for Pairs<'i, R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'i, R: RuleType> DoubleEndedIterator for Pairs<'i, R>

source§

fn next_back(&mut self) -> Option<Self::Item>

Removes and returns an element from the end of the iterator. Read more
source§

fn advance_back_by(&mut self, n: usize) -> Result<(), NonZeroUsize>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator from the back by n elements. Read more
1.37.0 · source§

fn nth_back(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element from the end of the iterator. Read more
1.27.0 · source§

fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> Rwhere +

Trait Implementations§

source§

impl<'i, R: Clone> Clone for Pairs<'i, R>

source§

fn clone(&self) -> Pairs<'i, R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'i, R: RuleType> Debug for Pairs<'i, R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'i, R: RuleType> Display for Pairs<'i, R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'i, R: RuleType> DoubleEndedIterator for Pairs<'i, R>

source§

fn next_back(&mut self) -> Option<Self::Item>

Removes and returns an element from the end of the iterator. Read more
source§

fn advance_back_by(&mut self, n: usize) -> Result<(), NonZeroUsize>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator from the back by n elements. Read more
1.37.0 · source§

fn nth_back(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element from the end of the iterator. Read more
1.27.0 · source§

fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> Rwhere Self: Sized, F: FnMut(B, Self::Item) -> R, R: Try<Output = B>,

This is the reverse version of Iterator::try_fold(): it takes diff --git a/doc/search-index.js b/doc/search-index.js index 78eb835b6..2ea549e57 100644 --- a/doc/search-index.js +++ b/doc/search-index.js @@ -6,8 +6,8 @@ var searchIndex = JSON.parse('{\ "anstyle_parse":{"doc":"Parser for implementing virtual terminal emulators","t":"DIGDDDIDKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNLLLLLLLLLLLLLLLLLLFLLLLLLLLLL","n":["AsciiParser","CharAccumulator","DefaultCharAccumulator","Params","ParamsIter","Parser","Perform","Utf8Parser","add","add","add","advance","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","csi_dispatch","default","default","default","default","eq","eq","eq","eq","esc_dispatch","execute","fmt","fmt","fmt","fmt","from","from","from","from","from","hook","into","into","into","into","into","into_iter","into_iter","is_empty","iter","len","new","next","osc_dispatch","print","put","size_hint","state","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unhook","Action","Anywhere","BeginUtf8","Clear","Collect","CsiDispatch","CsiEntry","CsiIgnore","CsiIntermediate","CsiParam","DcsEntry","DcsIgnore","DcsIntermediate","DcsParam","DcsPassthrough","EscDispatch","Escape","EscapeIntermediate","Execute","Ground","Hook","Ignore","Nop","OscEnd","OscPut","OscStart","OscString","Param","Print","Put","SosPmApcString","State","Unhook","Utf8","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","default","eq","eq","fmt","fmt","from","from","into","into","state_change","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","type_id","type_id"],"q":[[0,"anstyle_parse"],[88,"anstyle_parse::state"]],"d":["Only allow parsing 7-bit ASCII","Build a char out of bytes","","","Immutable subparameter iterator.","Parser for raw VTE protocol which delegates actions to a …","Performs actions requested by the Parser","Allow parsing UTF-8","Build a char out of bytes","","","Advance the parser state","","","","","","","","","","","","","","","","","","","A final character has arrived for a CSI sequence","","","","","","","","","The final character of an escape sequence has arrived.","Execute a C0 or C1 control function.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Invoked when a final character arrives in first part of …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","Returns true if there are no parameters present.","Returns an iterator over all parameters and subparameters.","Returns the number of parameters.","Create a new Parser","","Dispatch an operating system command.","Draw a character to the screen and update states.","Pass bytes as part of a device control string to the …","","","","","","","","","","","","","","","","","","","","","","Called when a device control string is terminated.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Transition to next State","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,6,4,5,7,18,9,7,4,5,18,9,7,4,5,9,7,4,5,9,7,4,5,8,9,7,4,5,9,7,4,5,8,8,9,7,4,5,18,9,7,4,5,8,18,9,7,4,5,18,9,9,9,9,7,18,8,8,8,18,0,9,7,4,5,18,9,7,4,5,18,9,7,4,5,18,9,7,4,5,8,0,22,23,23,23,23,22,22,22,22,22,22,22,22,22,23,22,22,23,22,23,23,23,23,23,23,22,23,23,23,22,0,23,22,22,23,22,23,22,23,22,23,22,23,22,23,22,23,22,23,22,23,0,22,23,22,22,23,23,22,23,22,23],"f":[0,0,0,0,0,0,0,0,[1,[[3,[2]]]],[[4,1],[[3,[2]]]],[[5,1],[[3,[2]]]],[[[7,[6]],8,1]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,9],[[[7,[10]]],[[7,[10]]]],[4,4],[5,5],[[]],[[]],[[]],[[]],[[9,[11,[1]],12,1]],[[],9],[[],[[7,[13]]]],[[],4],[[],5],[[9,9],12],[[[7,[14]],[7,[14]]],12],[[4,4],12],[[5,5],12],[[[11,[1]],12,1]],[1],[[9,15],16],[[[7,[17]],15],16],[[4,15],16],[[5,15],16],[[]],[[]],[[]],[[]],[[]],[[9,[11,[1]],12,1]],[[]],[[]],[[]],[[]],[[]],[[]],[9],[9,12],[9,18],[9,19],[[],7],[18,3],[[[11,[[11,[1]]]],12]],[2],[1],[18],0,[[]],[[]],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[22,22],[23,23],[[]],[[]],[[],22],[[],23],[[22,22],12],[[23,23],12],[[22,15],16],[[23,15],16],[[]],[[]],[[]],[[]],[[22,1]],[[]],[[]],[[],20],[1,[[20,[22]]]],[[],20],[1,[[20,[23]]]],[[],20],[[],20],[[],21],[[],21]],"c":[],"p":[[15,"u8"],[15,"char"],[4,"Option"],[3,"AsciiParser"],[3,"Utf8Parser"],[8,"CharAccumulator"],[3,"Parser"],[8,"Perform"],[3,"Params"],[8,"Clone"],[15,"slice"],[15,"bool"],[8,"Default"],[8,"PartialEq"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[3,"ParamsIter"],[15,"usize"],[4,"Result"],[3,"TypeId"],[4,"State"],[4,"Action"]]},\ "anstyle_query":{"doc":"","t":"FFFFFFFAF","n":["clicolor","clicolor_force","is_ci","no_color","term_supports_ansi_color","term_supports_color","truecolor","windows","enable_ansi_colors"],"q":[[0,"anstyle_query"],[8,"anstyle_query::windows"]],"d":["Check CLICOLOR status","Check CLICOLOR_FORCE status","Report whether this is running in CI","Check NO_COLOR status","Check TERM for ANSI color support","Check TERM for color support","Check COLORTERM for truecolor support","",""],"i":[0,0,0,0,0,0,0,0,0],"f":[[[],[[2,[1]]]],[[],1],[[],1],[[],1],[[],1],[[],1],[[],1],0,[[],[[2,[1]]]]],"c":[],"p":[[15,"bool"],[4,"Option"]]},\ "anyhow":{"doc":"github crates-io docs-rs","t":"DIDFGOLLLOLLLLLLLKLLLLLLLLOLLCLLLLLLLLLLLLLLLLLLLLLLLLK","n":["Chain","Context","Error","Ok","Result","anyhow","as_ref","as_ref","backtrace","bail","borrow","borrow","borrow_mut","borrow_mut","chain","clone","clone_into","context","context","default","deref","deref_mut","downcast","downcast_mut","downcast_ref","drop","ensure","fmt","fmt","format_err","from","from","from","from","into","into","into_iter","is","len","msg","new","new","next","next_back","root_cause","size_hint","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","with_context"],"q":[[0,"anyhow"]],"d":["Iterator of a chain of source errors.","Provides the context method for Result.","The Error type, a wrapper around a dynamic error type.","Equivalent to Ok::<_, anyhow::Error>(value).","Result<T, Error>","Construct an ad-hoc error from a string or existing non-…","","","Get the backtrace for this Error.","Return early with an error.","","","","","An iterator of the chain of source errors contained by …","","","Wrap the error value with additional context.","Wrap the error value with additional context.","","","","Attempt to downcast the error object to a concrete type.","Downcast this error object by mutable reference.","Downcast this error object by reference.","","Return early with an error if a condition is not satisfied.","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","Returns true if E is the type held by this error object.","","Create a new error object from a printable error message.","Create a new error object from any error type.","","","","The lowest level cause of this error — this error’s …","","","","","","","","","","Wrap the error value with additional context that is …"],"i":[0,0,0,0,0,0,2,2,2,0,2,5,2,5,2,5,5,20,2,5,2,2,2,2,2,2,0,2,2,0,2,2,2,5,2,5,5,2,5,2,2,5,5,5,2,5,5,2,2,5,2,5,2,5,20],"f":[0,0,0,[[],1],0,0,[2,3],[2,3],[2,4],0,[[]],[[]],[[]],[[]],[2,5],[5,5],[[]],[[[0,[6,7,8]]],[[1,[2]]]],[[2,[0,[6,7,8]]],2],[[],5],[2],[2],[2,[[10,[[0,[6,9,7,8]],2]]]],[2,[[11,[[0,[6,9,7,8]]]]]],[2,[[11,[[0,[6,9,7,8]]]]]],[2],0,[[2,12],13],[[2,12],13],0,[[]],[14],[[[0,[3,7,8]]],2],[[]],[[]],[[]],[[]],[2,15],[5,16],[[[0,[6,9,7,8]]],2],[[[0,[3,7,8]]],2],[3,5],[5,11],[5,11],[2,3],[5],[[]],[[],17],[[],10],[[],10],[[],10],[[],10],[[],18],[[],18],[19,[[1,[2]]]]],"c":[],"p":[[6,"Result"],[3,"Error"],[8,"Error"],[3,"Backtrace"],[3,"Chain"],[8,"Display"],[8,"Send"],[8,"Sync"],[8,"Debug"],[4,"Result"],[4,"Option"],[3,"Formatter"],[6,"Result"],[15,"never"],[15,"bool"],[15,"usize"],[3,"String"],[3,"TypeId"],[8,"FnOnce"],[8,"Context"]]},\ -"aquascope":{"doc":"","t":"AAANDDEGRQINDDDDDDLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLAMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCCFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLACLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLALLKMMMMLLLLLLLLLKLLALLLLLLLLLFLAMKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMDDMLLLLLLLLLLFLLLLMMLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLFNEEDDNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDRHGNSSGNGDGDDDDDGDEGLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLMLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLMMMLMMLLLLMLLLLLLLLLLLMLLLMMLLLMLLMMMMMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLMALLLLLLLLLLLLLLLLLLMNNQINHNDNEDDDDIELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLKMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMLLLLLLMMMMLLLLLLLMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLMLLLLLLLLLLLLLLMMMFFFFNNNNNNDDENNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFMMLLMLLLLLLLLLLLLLLLLLLLLLLLMMMMMMM","n":["analysis","errors","interpreter","AnalysisError","AnalysisOutput","AquascopeAnalysis","AquascopeError","AquascopeResult","BODY_ID_STACK","Bound","Bounded","BuildError","LoanKey","LoanPoints","LoanRegions","MoveKey","MovePoints","MoveRegions","add","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_on","allocate_on","allocate_on","allocate_on","as_any","as_any","body_range","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","boundaries","boundaries","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","compare","compare","compute_permission_boundaries","compute_permission_steps","compute_permissions","decl","decl","decl","decl","decl","decl","decl","decl","dependencies","dependencies","dependencies","dependencies","dependencies","dependencies","dependencies","dependencies","deref","deref","deref","deref_mut","deref_mut","deref_mut","eq","eq","equals","equals","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","filterable","filterable","filterable","filterable","filterable","filterable","filterable","filterable","filterable","find_bindings","find_bindings","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","hash","hash","hi","inline","inline","inline","inline","inline","inline","inline","inline","inline_flattened","into","into","into","into","into","into","into","into","into","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","ir_mapper","is_span_visible","key_to_spans","lo","loan_points","loan_regions","move_points","move_regions","name","name","name","name","name","name","name","name","new","overlaps","partial_cmp","partial_cmp","permissions","run","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","smooth_elements","span_to_range","stepper","steps","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","to_result","to_result","to_result","to_result","to_result","to_result","transparent","transparent","transparent","transparent","transparent","transparent","transparent","transparent","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","msg","range","FlowBoundary","PermissionsBoundary","actual","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","collect_and_apply","collect_and_apply","compute_permission_boundaries","decl","decl","dependencies","dependencies","expected","expecting_flow","filterable","filterable","fmt","fmt","from","from","from","from","from_cycle_error","from_cycle_error","inline","inline","inline_flattened","inline_flattened","into","into","into_query_param","into_query_param","is_violation","location","name","name","serialize","serialize","to_owned","to_owned","to_predicate","to_predicate","to_result","to_result","transparent","transparent","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","vzip","vzip","find_bindings","All","GatherDepth","GatherMode","HirNodeLocations","IRMapper","IgnoreCleanup","Nested","Outer","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_on","allocate_on","allocate_on","allocate_on","as_any","as_any","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","dominates","eq","eq","equals","equals","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","filterable","filterable","filterable","filterable","from","from","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","get_mir_locations","into","into","into","into","into_query_param","into_query_param","into_query_param","into_query_param","is_terminator_switchint","ldominates","local_assigned_place","lpost_dominates","new","outer","post_dominates","to_owned","to_owned","to_predicate","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","to_result","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","visit_basic_block_data","visit_statement","visit_terminator","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","AquascopeFacts","ENABLE_FLOW_DEFAULT","ENABLE_FLOW_PERMISSIONS","Loan","Loan","MAX","MAX_AS_U32","Move","Move","Origin","Output","Path","PathIndex","Permissions","PermissionsCtxt","PermissionsData","PermissionsDomain","Point","RefinementRegion","Refiner","Variable","add","all","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","as_any","as_any","as_any","as_any","as_any","as_any","as_u32","as_usize","backward_checked","body_id","body_with_facts","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_set","bottom","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","compare","compute","decl","decl","decl","decl","decode","def_id","default","default","dependencies","dependencies","dependencies","dependencies","deref","deref_mut","diff","diff","diff","domain_bottom","domain_places","drop","encode","eq","eq","eq","eq","eq","eq","equals","equals","equals","equals","equals","equals","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","filterable","filterable","filterable","filterable","filterable","filterable","filterable","filterable","filterable","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt_diff_with","fmt_diff_with","fmt_with","forward_checked","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_u32","from_u32_unchecked","from_usize","hash","hash","hash","index","index","index","inline","inline","inline","inline","inline_flattened","inline_flattened","inline_flattened","into","into","into","into","into","into","into","into","into","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","is_declared_readonly","is_live","is_location_operational","is_mutable_borrow","is_mutable_loan","is_path_copyable","is_path_drop_enabled","is_path_live_at","is_path_write_enabled","is_point_operational","is_universal_subset","join","join","loan_drop_refined","loan_read_refined","loan_regions","loan_to_borrow","loan_write_refined","locals_are_invalidated_at_exit","location_to_point","location_to_points","location_to_span","max_permissions","move_data","move_to_moveable_path","move_to_path","moveable_path_to_path","name","name","name","name","new","new_path","none","partial_cmp","path_moved","path_to_moveable_path","path_to_place","path_to_variable","path_uninitialized","permissions","permissions_data_at_point","permissions_domain_at_point","permissions_for_const_ty","permissions_output","place_to_path","point_to_location","polonius_input_facts","polonius_output","read","refined_ranges","refiner_point","region_flows","serialize","serialize","serialize","serialize","steps_between","tcx","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","to_result","to_result","to_result","to_result","to_result","to_result","transparent","transparent","transparent","transparent","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_copyable","type_droppable","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_writeable","utils","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","write","All","Changes","Diff","Difference","High","INCLUDE_MODE","Low","MirSegment","None","PermIncludeMode","PermissionsDataDiff","PermissionsDiff","PermissionsLineDisplay","PermissionsStepTable","Stepable","ValueStep","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","as_any","as_any","as_any","as_any","as_any","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","compute_permission_steps","decl","decl","decl","decl","decl","dependencies","dependencies","dependencies","dependencies","dependencies","deserialize","diff","drop","eq","eq","eq","eq","eq","equals","equals","equals","equals","equals","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","filterable","filterable","filterable","filterable","filterable","filterable","filterable","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_str","hash","hash","hash","hash","hash","inline","inline","inline","inline","inline","inline_flattened","inline_flattened","inline_flattened","inline_flattened","into","into","into","into","into","into","into","into_diff","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","is_live","loan_drop_refined","loan_read_refined","loan_write_refined","location","name","name","name","name","name","new","path_moved","path_uninitialized","permissions","read","serialize","serialize","serialize","serialize","serialize","serialize","span","state","state","to","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","to_result","to_result","to_result","to_result","transparent","transparent","transparent","transparent","transparent","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_droppable","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_writeable","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","write","value","value","errors_exist","get_span_of_first_error","initialize_error_tracking","track_body_diagnostics","Adt","Array","Bool","Char","Float","Int","InterpretCallbacks","MTrace","MValue","Pointer","Tuple","Uint","Unallocated","after_expansion","as_any","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","collect_and_apply","collect_and_apply","collect_and_apply","config","decl","decl","dependencies","dependencies","deserialize","eq","equals","filterable","filterable","filterable","fmt","fmt","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","inline","inline","inline_flattened","into","into","into","into_query_param","into_query_param","into_query_param","name","name","new","override_queries","result","result","serialize","serialize","steps","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","transparent","transparent","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","alloc_id","alloc_kind","fields","name","path","range","variant"],"q":[[0,"aquascope"],[3,"aquascope::analysis"],[308,"aquascope::analysis::AquascopeError"],[310,"aquascope::analysis::boundaries"],[372,"aquascope::analysis::find_bindings"],[373,"aquascope::analysis::ir_mapper"],[483,"aquascope::analysis::permissions"],[847,"aquascope::analysis::stepper"],[1119,"aquascope::analysis::stepper::ValueStep"],[1121,"aquascope::errors"],[1125,"aquascope::interpreter"],[1212,"aquascope::interpreter::MValue"]],"d":["Core contextual analysis for Aquascope.","","Rust runtime visualizer using Miri","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Analysis for the “Needs-at” relations.","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","Main data structure for mapping HIR to MIR and vice-versa.","","","","","","","","","","","","","","","","","","","","Aquascope permissions analysis.","","","","","","","","","","","","Analysis for the “Missing-at” relations.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A point where a region flow is introduced, potentially …","A point where the permissions reality are checked against …","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","Produces a MirOrderedLocations which is defined as follows.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","Returns true if the terminator in the location’s block …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Permission facts in Aquascope, similar to RustcFacts.","","","","","Maximum value the index can take.","Maximum value the index can take, as a u32.","","","","Aquascope permissions facts output.","","","Read, Write, and Own permissions for a single Place.","","Permissions and first-order provenance for permission …","Permissions data forall places in the body under analysis.","","The live source-level range of a refinement.","A permissions refiner. Loans and moves can refine …","","","","","","","","","","","","","","","","","","","","","","","","","","Extracts the value of this index as a u32.","Extracts the value of this index as a usize.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","Compute the PermissionsCtxt for a given body.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","Creates a new index from a given u32.","Creates a new index from a given u32.","Creates a new index from a given usize.","","","","","","Extracts the value of this index as a usize.","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","Is the Place currently live?","","","","On use would the given path be copied?","Does a Path’s type allow it to be dropped? NOTE: the …","","Can this path be written to?","","","","","Is a live loan removing drop permissions?","Is a live loan removing read permissions?","","","Is a live loan removing write permissions?","","","","","The maximum set of permissions a given Path could have at …","","","","","","","","","","","","","Is the Place currently uninitialized due to a move?","","","","Is this place uninitialized?","Computed permissions given the above information.","Compute the PermissionsData for the Path at Point.","","","Program facts unique to Aquascope.","Convert and normalize a rustc Place into a Path understood …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Is the type copyable (i.e. does it implement the Copy …","Was the type declared as droppable (i.e. an owned value)?","","","","","","","","","","Was the type declared as writeable (i.e. is it mut)?","Various debugging utilities for permissions.","","","","","","","","","","","","","","","","","","","","","","","","","","","Represents a segment of the MIR control-flow graph.","","","","","A collection of PermissionsStepTable which are to be shown …","Table representation of the permissions difference between …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A rough approximation of the source span of the step.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","This should be called before analysing a new crate.","Initialize the error tracking for a given routine. It’s …","","","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,12,0,0,0,0,0,45,0,12,0,0,0,0,0,0,1,1,1,7,7,1,1,7,7,1,7,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,0,13,1,7,8,9,10,11,12,13,1,7,8,9,10,11,12,13,1,7,35,1,7,8,9,10,11,12,13,1,7,0,0,0,1,7,8,9,10,11,12,13,1,7,8,9,10,11,12,13,1,8,10,1,8,10,1,7,1,7,1,1,1,7,7,7,35,1,7,8,9,10,11,12,13,0,0,1,7,8,9,10,11,12,13,35,35,1,1,1,7,7,7,7,8,8,9,9,10,10,11,11,12,12,12,13,13,35,1,7,8,9,10,11,12,13,1,7,45,1,7,8,9,10,11,12,13,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,0,35,35,45,13,13,13,13,1,7,8,9,10,11,12,13,35,45,1,7,0,35,1,7,8,9,10,11,12,13,0,35,0,13,45,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,35,35,1,1,7,7,8,8,9,9,10,10,11,11,12,12,13,13,108,109,0,0,49,48,49,48,49,48,49,48,49,48,49,0,48,49,48,49,49,49,48,49,48,49,48,48,49,49,48,49,48,49,48,49,48,49,48,49,49,49,48,49,48,49,48,49,48,49,48,49,48,49,48,49,48,49,48,49,48,48,49,49,0,53,0,0,0,0,53,54,54,53,53,54,54,53,53,54,54,53,54,55,110,53,54,55,110,53,54,53,54,53,54,55,110,53,54,55,53,54,53,54,53,53,53,54,54,54,55,110,53,54,55,55,110,110,53,53,54,54,55,110,53,54,55,55,110,53,54,55,110,53,54,55,55,55,55,55,110,55,53,54,55,110,53,54,55,110,53,54,55,110,53,54,55,110,53,54,55,110,53,54,55,55,55,55,55,110,110,53,53,54,54,0,0,0,0,70,64,64,0,70,0,0,0,0,0,0,0,0,0,0,0,0,64,66,68,68,64,64,66,66,69,69,68,68,64,64,66,66,69,69,64,66,69,70,71,72,64,64,64,20,20,20,74,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,20,66,68,64,66,69,70,71,72,68,64,66,69,70,71,72,64,20,74,68,64,66,69,70,71,72,64,0,66,69,70,71,64,20,74,72,66,69,70,71,72,72,66,69,72,20,20,66,64,64,66,69,70,71,72,64,66,69,70,71,72,64,64,64,66,66,66,69,69,69,72,72,72,20,74,68,64,66,69,70,71,72,74,68,64,66,69,70,71,72,66,72,72,64,20,20,74,74,68,68,64,64,64,64,66,66,69,69,70,70,71,71,72,72,72,20,74,68,64,66,69,70,71,72,64,64,64,64,66,69,64,64,64,66,69,70,71,66,69,71,20,74,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,20,69,20,20,20,20,20,20,20,20,20,66,72,69,69,20,20,69,20,20,20,20,20,20,20,20,20,66,69,70,71,64,20,66,64,69,20,20,20,69,69,20,20,20,20,20,20,20,20,66,71,71,20,66,69,70,71,64,20,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,66,69,70,71,20,74,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,69,69,20,74,68,64,66,69,70,71,72,69,0,20,20,74,74,68,68,64,64,66,66,69,69,70,70,71,71,72,72,66,85,85,111,0,90,0,90,0,90,0,0,0,0,0,0,0,85,85,90,90,91,91,92,92,93,93,85,85,90,90,91,91,92,92,93,93,85,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,0,86,87,90,91,92,86,87,90,91,92,85,111,91,85,90,91,92,93,85,90,91,92,93,85,85,85,90,90,90,91,91,91,92,92,92,93,93,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,85,86,86,87,87,90,90,91,91,92,92,93,93,86,93,85,86,87,90,91,92,93,85,85,90,91,92,93,86,87,90,91,92,86,87,91,92,85,86,87,90,91,92,93,93,85,86,87,90,91,92,93,92,92,92,92,87,86,87,90,91,92,93,92,92,92,91,85,86,87,90,91,92,93,86,87,86,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,86,87,90,91,92,85,86,87,90,91,92,93,85,86,87,90,91,92,93,92,85,86,87,90,91,92,93,92,85,85,86,86,87,87,90,90,91,91,92,92,93,93,91,112,113,0,0,0,0,103,103,103,103,103,103,0,0,0,103,103,103,103,98,103,98,103,104,98,103,104,98,103,104,98,103,104,103,104,103,103,103,98,103,104,103,104,98,98,103,103,104,104,98,103,104,103,104,104,98,103,104,98,103,104,103,104,98,0,98,104,103,104,104,98,103,104,98,103,104,103,104,98,103,104,98,103,104,98,103,104,98,98,103,103,104,104,114,115,115,115,116,116,115],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,1]],[[2,3],4],[[5,3],4],[[5,3],4],[[2,3],4],[5],[2],[5],[2],[[],6],[[],6],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[1,1],[7,7],[8,8],[9,9],[10,10],[11,11],[12,12],[13,13],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,1],14],[[7,7],14],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[],14],[[],14],0,0,[[17,18,19],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[1],[8],[10],[1],[8],[10],[[1,1],24],[[7,7],24],[6,24],[6,24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],0,0,[[1,27],28],[[7,27],28],[[8,27],28],[[9,27],28],[[10,27],28],[[11,27],28],[[12,27],28],[[13,27],28],[29],[[]],[[]],[29],[30,1],[29],[31,7],[31,7],[[]],[29],[[]],[[]],[29],[29],[[]],[29],[[]],[32,12],[29],[[]],[29],[[]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[1,34]],[[7,34]],[[]],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[35,36],24],[[35,[0,[37,38,39]],[41,[40,[23,[[0,[37,38,39]]]]]],36,36],[[23,[36]]]],[[]],0,0,0,0,[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[17,18],35],[[],24],[[1,1],[[42,[14]]]],[[7,7],[[42,[14]]]],0,[[17,18],[[43,[13]]]],[[1,44],29],[[7,44],29],[[8,44],29],[[9,44],29],[[10,44],29],[[11,44],29],[[12,44],29],[[13,44],29],[[[23,[[0,[45,39]]]]],[[23,[[0,[45,39]]]]]],[[35,36],46],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[17],[17],[17],[17],[17],[17],[17],[17],[17],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[48,48],[49,49],[[]],[[]],[[15,16]],[[15,16]],[35,[[50,[[23,[49]]]]]],[[],21],[[],21],[[],[[23,[22]]]],[[],[[23,[22]]]],0,0,[25,26],[25,26],[[48,27],28],[[49,27],28],[[]],[29],[29],[[]],[[[4,[33]]]],[[[4,[33]]]],[[],21],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[49,24],0,[[],21],[[],21],[[48,44],29],[[49,44],29],[[]],[[]],[17],[17],[[],29],[[],29],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],47],[[],47],[[]],[[]],[[]],[[]],[17,[[41,[51,52]]]],0,0,0,0,0,0,0,0,[[2,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[2],[5],[5],[2],[[],6],[[],6],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[53,53],[54,54],[[]],[[]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[55,56,56],24],[[53,53],24],[[54,54],24],[6,24],[6,24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[25,26],[25,26],[25,26],[25,26],[29],[[]],[[]],[29],[[]],[29],[29],[[]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[55,51,54],[[42,[0]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[55,57],24],[[55,57,57],24],[[55,58],[[23,[59]]]],[[55,57,57],24],[[17,60,53],55],0,[[55,56,56],24],[[]],[[]],[17],[17],[17],[17],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],47],[[],47],[[],47],[[],47],[[55,56,61]],[[55,62,57]],[[55,63,57]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[64,65],64],[[],66],[[2,3],4],[[5,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[[2,3],4],[5],[2],[5],[2],[2],[5],[2],[5],[[],6],[[],6],[[],6],[[],6],[[],6],[[],6],[64,67],[64,65],[[64,65],[[42,[64]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],66],[68,68],[64,64],[66,66],[69,69],[70,70],[71,71],[72,72],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[64,64],14],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[],14],[[17,18,19],20],[[],21],[[],21],[[],21],[[],21],[73,64],0,[[],[[74,[68]]]],[[],72],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[72],[72],[[66,66]],[[69,69]],[[72,72]],[20,72],[20,[[75,[59]]]],0,[[64,76]],[[64,64],24],[[66,66],24],[[69,69],24],[[70,70],24],[[71,71],24],[[72,72],24],[6,24],[6,24],[6,24],[6,24],[6,24],[6,24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[[[74,[[0,[77,78,78]]]],27],28],[[68,27],28],[[64,27],28],[[66,27],28],[[69,27],28],[[70,27],28],[[71,27],28],[[72,27],28],[[66,66,27],28],[[72,72,27],28],[[72,27],28],[[64,65],[[42,[64]]]],[[]],[29],[29],[[]],[[]],[29],[29],[65,64],[[]],[67,64],[[]],[29],[[]],[29],[[]],[29],[29],[[]],[29],[[]],[[[41,[59,69]]],72],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[67,64],[67,64],[65,64],[[64,34]],[[66,34]],[[69,34]],[64,65],[64,65],[64,65],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[20,59],24],0,[[20,57],24],[[20,79],24],[[20,30],24],[[20,80],24],[[20,80],24],[[20,80,40],24],[[20,80],24],[[20,40],24],[20,24],[[66,66],24],[[72,72],24],0,0,0,[[20,30],79],0,0,[[20,57],40],[[20,57],[[82,[[81,[40]]]]]],[[20,57],36],[[20,80],66],0,[[20,31]],[[20,31],80],[20,80],[[],21],[[],21],[[],21],[[],21],[65,64],[[20,59],80],[[],66],[[64,64],[[42,[14]]]],0,[[20,80]],[[20,80],59],[[20,80],83],0,0,[[20,80,40],69],[[20,40],72],[[20,84],69],0,[[20,59],80],[[20,40],57],0,0,0,0,0,0,[[66,44],29],[[69,44],29],[[70,44],29],[[71,44],29],[[64,64],[[42,[65]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[17],[17],[17],[17],[17],[17],[17],[17],[17],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],0,0,[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,3],4],[[5,3],4],[[5,3],4],[[2,3],4],[[2,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[[5,3],4],[[2,3],4],[2],[5],[5],[2],[5],[2],[5],[2],[2],[5],[[],6],[[],6],[[],6],[[],6],[[],6],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[85,85],[86,86],[87,87],[[[90,[[0,[88,89]]]]],[[90,[[0,[88,89]]]]]],[91,91],[92,92],[93,93],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[35,[[50,[[23,[87]]]]]],[[],21],[[],21],[[],21],[[],21],[[],21],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[94,[[29,[85]]]],[[]],0,[[85,85],24],[[[90,[[0,[37,89]]]],[90,[[0,[37,89]]]]],24],[[91,91],24],[[92,92],24],[[93,93],24],[6,24],[6,24],[6,24],[6,24],[6,24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[[85,27],28],[[86,27],28],[[87,27],28],[[[90,[89]],27],28],[[91,27],28],[[92,27],28],[[93,27],28],[[]],[29],[[]],[29],[[]],[29],[29],[[]],[29],[[]],[29],[[]],[29],[[]],0,0,[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[25,[[50,[85]]]],[[85,34]],[[[90,[[0,[95,89]]]],34]],[[91,34]],[[92,34]],[[93,34]],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[93,20],[[41,[59,92]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[],21],[[],21],[[],21],[[],21],[[],21],[[57,57],93],0,0,0,0,[[85,44],29],[[86,44],29],[[87,44],29],[[[90,[[0,[96,89]]]],44],29],[[91,44],29],[[92,44],29],[[93,20],36],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[17],[17],[17],[17],[17],[17],[17],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],0,[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],24],[97,[[42,[36]]]],[[]],[97],0,0,0,0,0,0,0,0,0,0,0,0,0,[[98,99,100],101],[[],6],[[]],[[]],[[]],[[]],[[]],[[]],[[15,16]],[[15,16]],[[15,16]],[[98,102]],[[],21],[[],21],[[],[[23,[22]]]],[[],[[23,[22]]]],[94,[[29,[103]]]],[[103,103],24],[6,24],[25,26],[25,26],[25,26],[[103,27],28],[[[104,[78]],27],28],[29],[[]],[29],[[]],[[]],[29],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[[]],[[]],[[],21],[[],21],[24,98],[[105,106,107]],0,0,[[103,44],29],[[[104,[96]],44],29],0,[17],[17],[17],[[],29],[[],29],[[],29],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],47],[[],47],[[],47],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0],"c":[],"p":[[3,"LoanKey"],[3,"Arena"],[8,"IntoIterator"],[15,"slice"],[3,"Arena"],[8,"Any"],[3,"MoveKey"],[3,"LoanPoints"],[3,"MovePoints"],[3,"LoanRegions"],[3,"MoveRegions"],[4,"AquascopeError"],[3,"AnalysisOutput"],[4,"Ordering"],[8,"Iterator"],[8,"FnOnce"],[3,"TyCtxt"],[3,"BodyId"],[3,"BodyWithBorrowckFacts"],[3,"PermissionsCtxt"],[3,"String"],[3,"Dependency"],[3,"Vec"],[15,"bool"],[15,"str"],[3,"RequestFilterDataProvider"],[3,"Formatter"],[6,"Result"],[4,"Result"],[6,"Loan"],[6,"Move"],[3,"Error"],[3,"QueryInfo"],[8,"Hasher"],[3,"AquascopeAnalysis"],[3,"Span"],[8,"PartialEq"],[8,"Eq"],[8,"Copy"],[6,"Point"],[6,"FxHashMap"],[4,"Option"],[6,"AquascopeResult"],[8,"Serializer"],[8,"Bounded"],[3,"CharRange"],[3,"TypeId"],[3,"FlowBoundary"],[3,"PermissionsBoundary"],[6,"Result"],[3,"HirId"],[3,"BindingAnnotation"],[4,"GatherMode"],[4,"GatherDepth"],[3,"IRMapper"],[3,"BasicBlock"],[3,"Location"],[3,"Local"],[3,"Place"],[3,"Body"],[3,"BasicBlockData"],[3,"Statement"],[3,"Terminator"],[3,"PathIndex"],[15,"usize"],[3,"Permissions"],[15,"u32"],[3,"AquascopeFacts"],[3,"PermissionsData"],[4,"Refiner"],[3,"RefinementRegion"],[3,"PermissionsDomain"],[8,"Decoder"],[3,"Output"],[6,"FxHashSet"],[8,"Encoder"],[8,"FactTypes"],[8,"Debug"],[3,"BorrowData"],[6,"Path"],[15,"array"],[3,"SmallVec"],[6,"Variable"],[3,"Ty"],[4,"PermIncludeMode"],[3,"PermissionsStepTable"],[3,"PermissionsLineDisplay"],[8,"Clone"],[8,"Stepable"],[4,"ValueStep"],[3,"PermissionsDiff"],[3,"PermissionsDataDiff"],[3,"MirSegment"],[8,"Deserializer"],[8,"Hash"],[8,"Serialize"],[3,"LocalDefId"],[3,"InterpretCallbacks"],[3,"Compiler"],[3,"Queries"],[4,"Compilation"],[3,"Config"],[4,"MValue"],[3,"MTrace"],[3,"Session"],[3,"Providers"],[3,"ExternProviders"],[13,"AnalysisError"],[13,"BuildError"],[3,"HirNodeLocations"],[8,"Difference"],[13,"High"],[13,"None"],[13,"Unallocated"],[13,"Adt"],[13,"Pointer"]]},\ -"aquascope_front":{"doc":"","t":"CAIDDQKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLL","n":["AquascopePlugin","plugin","AquascopeAnalysis","AquascopePlugin","AquascopePluginArgs","Output","analyze","args","augment_args","augment_args_for_update","borrow","borrow","borrow_mut","borrow_mut","collect_and_apply","collect_and_apply","deserialize","driver_name","filterable","filterable","fmt","from","from","from","from","from_arg_matches","from_arg_matches_mut","from_cycle_error","from_cycle_error","into","into","into_app","into_app_for_update","into_query_param","into_query_param","run","run_with_callbacks","serialize","to_predicate","to_predicate","to_result","to_result","try_from","try_from","try_into","try_into","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","version","vzip","vzip","vzip","vzip"],"q":[[0,"aquascope_front"],[2,"aquascope_front::plugin"]],"d":["","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,28,28,4,6,6,4,6,4,6,4,6,6,4,4,6,6,4,4,6,6,6,6,4,6,4,6,6,6,4,6,4,0,6,4,6,4,6,4,6,4,6,4,6,6,6,4,4,4,6,6],"f":[0,0,0,0,0,0,[[1,2],3],[[4,5],[[7,[6]]]],[8,8],[8,8],[[]],[[]],[[]],[[]],[[9,10]],[[9,10]],[11,[[12,[6]]]],[4,[[14,[13]]]],[13,15],[13,15],[[6,16],17],[12],[[]],[[]],[12],[18,[[12,[6,19]]]],[18,[[12,[6,19]]]],[[[21,[20]]]],[[[21,[20]]]],[[]],[[]],[[],8],[[],8],[[]],[[]],[[4,[23,[22]],6],24],[[[21,[22]],25],3],[[6,26],12],[1],[1],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],27],[[],27],[[6,18],[[12,[19]]]],[[6,18],[[12,[19]]]],[4,[[14,[13]]]],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"TyCtxt"],[3,"BodyId"],[6,"AquascopeResult"],[3,"AquascopePlugin"],[3,"Utf8Path"],[3,"AquascopePluginArgs"],[3,"RustcPluginArgs"],[6,"Command"],[8,"Iterator"],[8,"FnOnce"],[8,"Deserializer"],[4,"Result"],[15,"str"],[4,"Cow"],[3,"RequestFilterDataProvider"],[3,"Formatter"],[6,"Result"],[3,"ArgMatches"],[3,"Error"],[3,"QueryInfo"],[15,"slice"],[3,"String"],[3,"Vec"],[6,"Result"],[8,"Callbacks"],[8,"Serializer"],[3,"TypeId"],[8,"AquascopeAnalysis"]]},\ +"aquascope":{"doc":"","t":"AAANDDEGRQINDDDDDDLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLAMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCCFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLACLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLALLKMMMMLLLLLLLLLKLLALLLLLLLLLFLAMKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMDDMLLLLLLLLLLFLLLLMMLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLFNEEDDNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDRHGNSSGNGDGDDDDDGDEGLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLMLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLMMMLMMLLLLMLLLLLLLLLLLMLLLMMLLLMLLMMMMMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLMALLLLLLLLLLLLLLLLLLMNNQINHNDNEDDDDIELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLKMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMLLLLLLMMMMLLLLLLLMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLMLLLLLLLLLLLLLLMMMFFFFNNNNNNDDENNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFMMLLMLLLLLLLLLLLLLLLLLLLLLLLMMMMMMM","n":["analysis","errors","interpreter","AnalysisError","AnalysisOutput","AquascopeAnalysis","AquascopeError","AquascopeResult","BODY_ID_STACK","Bound","Bounded","BuildError","LoanKey","LoanPoints","LoanRegions","MoveKey","MovePoints","MoveRegions","add","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_on","allocate_on","allocate_on","allocate_on","as_any","as_any","body_range","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","boundaries","boundaries","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","compare","compare","compute_permission_boundaries","compute_permission_steps","compute_permissions","decl","decl","decl","decl","decl","decl","decl","decl","dependencies","dependencies","dependencies","dependencies","dependencies","dependencies","dependencies","dependencies","deref","deref","deref","deref_mut","deref_mut","deref_mut","eq","eq","equals","equals","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","filterable","filterable","filterable","filterable","filterable","filterable","filterable","filterable","filterable","find_bindings","find_bindings","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","hash","hash","hi","inline","inline","inline","inline","inline","inline","inline","inline","inline_flattened","into","into","into","into","into","into","into","into","into","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","ir_mapper","is_span_visible","key_to_spans","lo","loan_points","loan_regions","move_points","move_regions","name","name","name","name","name","name","name","name","new","overlaps","partial_cmp","partial_cmp","permissions","run","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","smooth_elements","span_to_range","stepper","steps","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","to_result","to_result","to_result","to_result","to_result","to_result","transparent","transparent","transparent","transparent","transparent","transparent","transparent","transparent","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","msg","range","FlowBoundary","PermissionsBoundary","actual","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","collect_and_apply","collect_and_apply","compute_permission_boundaries","decl","decl","dependencies","dependencies","expected","expecting_flow","filterable","filterable","fmt","fmt","from","from","from","from","from_cycle_error","from_cycle_error","inline","inline","inline_flattened","inline_flattened","into","into","into_query_param","into_query_param","is_violation","location","name","name","serialize","serialize","to_owned","to_owned","to_predicate","to_predicate","to_result","to_result","transparent","transparent","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","vzip","vzip","find_bindings","All","GatherDepth","GatherMode","HirNodeLocations","IRMapper","IgnoreCleanup","Nested","Outer","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_on","allocate_on","allocate_on","allocate_on","as_any","as_any","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","dominates","eq","eq","equals","equals","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","filterable","filterable","filterable","filterable","from","from","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","get_mir_locations","into","into","into","into","into_query_param","into_query_param","into_query_param","into_query_param","is_terminator_switchint","ldominates","local_assigned_place","lpost_dominates","new","outer","post_dominates","to_owned","to_owned","to_predicate","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","to_result","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","visit_basic_block_data","visit_statement","visit_terminator","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","AquascopeFacts","ENABLE_FLOW_DEFAULT","ENABLE_FLOW_PERMISSIONS","Loan","Loan","MAX","MAX_AS_U32","Move","Move","Origin","Output","Path","PathIndex","Permissions","PermissionsCtxt","PermissionsData","PermissionsDomain","Point","RefinementRegion","Refiner","Variable","add","all","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","as_any","as_any","as_any","as_any","as_any","as_any","as_u32","as_usize","backward_checked","body_id","body_with_facts","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_set","bottom","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","compare","compute","decl","decl","decl","decl","decode","def_id","default","default","dependencies","dependencies","dependencies","dependencies","deref","deref_mut","diff","diff","diff","domain_bottom","domain_places","drop","encode","eq","eq","eq","eq","eq","eq","equals","equals","equals","equals","equals","equals","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","filterable","filterable","filterable","filterable","filterable","filterable","filterable","filterable","filterable","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt_diff_with","fmt_diff_with","fmt_with","forward_checked","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_u32","from_u32_unchecked","from_usize","hash","hash","hash","index","index","index","inline","inline","inline","inline","inline_flattened","inline_flattened","inline_flattened","into","into","into","into","into","into","into","into","into","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","is_declared_readonly","is_live","is_location_operational","is_mutable_borrow","is_mutable_loan","is_path_copyable","is_path_drop_enabled","is_path_live_at","is_path_write_enabled","is_point_operational","is_universal_subset","join","join","loan_drop_refined","loan_read_refined","loan_regions","loan_to_borrow","loan_write_refined","locals_are_invalidated_at_exit","location_to_point","location_to_points","location_to_span","max_permissions","move_data","move_to_moveable_path","move_to_path","moveable_path_to_path","name","name","name","name","new","new_path","none","partial_cmp","path_moved","path_to_moveable_path","path_to_place","path_to_variable","path_uninitialized","permissions","permissions_data_at_point","permissions_domain_at_point","permissions_for_const_ty","permissions_output","place_to_path","point_to_location","polonius_input_facts","polonius_output","read","refined_ranges","refiner_point","region_flows","serialize","serialize","serialize","serialize","steps_between","tcx","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","to_result","to_result","to_result","to_result","to_result","to_result","transparent","transparent","transparent","transparent","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_copyable","type_droppable","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_writeable","utils","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","write","All","Changes","Diff","Difference","High","INCLUDE_MODE","Low","MirSegment","None","PermIncludeMode","PermissionsDataDiff","PermissionsDiff","PermissionsLineDisplay","PermissionsStepTable","Stepable","ValueStep","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_from_iter","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","allocate_on","as_any","as_any","as_any","as_any","as_any","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","collect_and_apply","compute_permission_steps","decl","decl","decl","decl","decl","dependencies","dependencies","dependencies","dependencies","dependencies","deserialize","diff","drop","eq","eq","eq","eq","eq","equals","equals","equals","equals","equals","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","filterable","filterable","filterable","filterable","filterable","filterable","filterable","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_cycle_error","from_str","hash","hash","hash","hash","hash","inline","inline","inline","inline","inline","inline_flattened","inline_flattened","inline_flattened","inline_flattened","into","into","into","into","into","into","into","into_diff","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","into_query_param","is_live","loan_drop_refined","loan_read_refined","loan_write_refined","location","name","name","name","name","name","new","path_moved","path_uninitialized","permissions","read","serialize","serialize","serialize","serialize","serialize","serialize","span","state","state","to","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","to_result","to_result","to_result","to_result","transparent","transparent","transparent","transparent","transparent","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_droppable","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_writeable","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","write","value","value","errors_exist","get_span_of_first_error","initialize_error_tracking","track_body_diagnostics","Adt","Array","Bool","Char","Float","Int","InterpretCallbacks","MTrace","MValue","Pointer","Tuple","Uint","Unallocated","after_expansion","as_any","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","collect_and_apply","collect_and_apply","collect_and_apply","config","decl","decl","dependencies","dependencies","deserialize","eq","equals","filterable","filterable","filterable","fmt","fmt","from","from","from","from","from","from","from_cycle_error","from_cycle_error","from_cycle_error","inline","inline","inline_flattened","into","into","into","into_query_param","into_query_param","into_query_param","name","name","new","override_queries","result","result","serialize","serialize","steps","to_predicate","to_predicate","to_predicate","to_result","to_result","to_result","transparent","transparent","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","alloc_id","alloc_kind","fields","name","path","range","variant"],"q":[[0,"aquascope"],[3,"aquascope::analysis"],[308,"aquascope::analysis::AquascopeError"],[310,"aquascope::analysis::boundaries"],[372,"aquascope::analysis::find_bindings"],[373,"aquascope::analysis::ir_mapper"],[483,"aquascope::analysis::permissions"],[847,"aquascope::analysis::stepper"],[1119,"aquascope::analysis::stepper::ValueStep"],[1121,"aquascope::errors"],[1125,"aquascope::interpreter"],[1212,"aquascope::interpreter::MValue"]],"d":["Core contextual analysis for Aquascope.","","Rust runtime visualizer using Miri","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Analysis for the “Needs-at” relations.","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","Main data structure for mapping HIR to MIR and vice-versa.","","","","","","","","","","","","","","","","","","","","Aquascope permissions analysis.","","","","","","","","","","","","Analysis for the “Missing-at” relations.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A point where a region flow is introduced, potentially …","A point where the permissions reality are checked against …","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","Produces a MirOrderedLocations which is defined as follows.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","Returns true if the terminator in the location’s block …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Permission facts in Aquascope, similar to RustcFacts.","","","","","Maximum value the index can take.","Maximum value the index can take, as a u32.","","","","Aquascope permissions facts output.","","","Read, Write, and Own permissions for a single Place.","","Permissions and first-order provenance for permission …","Permissions data forall places in the body under analysis.","","The live source-level range of a refinement.","A permissions refiner. Loans and moves can refine …","","","","","","","","","","","","","","","","","","","","","","","","","","Extracts the value of this index as a u32.","Extracts the value of this index as a usize.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","Compute the PermissionsCtxt for a given body.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","Creates a new index from a given u32.","Creates a new index from a given u32.","Creates a new index from a given usize.","","","","Extracts the value of this index as a usize.","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","Is the Place currently live?","","","","On use would the given path be copied?","Does a Path’s type allow it to be dropped? NOTE: the …","","Can this path be written to?","","","","","Is a live loan removing drop permissions?","Is a live loan removing read permissions?","","","Is a live loan removing write permissions?","","","","","The maximum set of permissions a given Path could have at …","","","","","","","","","","","","","Is the Place currently uninitialized due to a move?","","","","Is this place uninitialized?","Computed permissions given the above information.","Compute the PermissionsData for the Path at Point.","","","Program facts unique to Aquascope.","Convert and normalize a rustc Place into a Path understood …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Is the type copyable (i.e. does it implement the Copy …","Was the type declared as droppable (i.e. an owned value)?","","","","","","","","","","Was the type declared as writeable (i.e. is it mut)?","Various debugging utilities for permissions.","","","","","","","","","","","","","","","","","","","","","","","","","","","Represents a segment of the MIR control-flow graph.","","","","","A collection of PermissionsStepTable which are to be shown …","Table representation of the permissions difference between …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A rough approximation of the source span of the step.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","This should be called before analysing a new crate.","Initialize the error tracking for a given routine. It’s …","","","","","","","","","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,12,0,0,0,0,0,45,0,12,0,0,0,0,0,0,1,1,1,7,7,1,1,7,7,1,7,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,0,13,1,7,8,9,10,11,12,13,1,7,8,9,10,11,12,13,1,7,35,1,7,8,9,10,11,12,13,1,7,0,0,0,1,7,8,9,10,11,12,13,1,7,8,9,10,11,12,13,1,8,10,1,8,10,1,7,1,7,1,1,1,7,7,7,35,1,7,8,9,10,11,12,13,0,0,1,7,8,9,10,11,12,13,35,35,1,1,1,7,7,7,7,8,8,9,9,10,10,11,11,12,12,12,13,13,35,1,7,8,9,10,11,12,13,1,7,45,1,7,8,9,10,11,12,13,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,0,35,35,45,13,13,13,13,1,7,8,9,10,11,12,13,35,45,1,7,0,35,1,7,8,9,10,11,12,13,0,35,0,13,45,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,35,1,7,8,9,10,11,12,13,35,35,1,1,7,7,8,8,9,9,10,10,11,11,12,12,13,13,108,109,0,0,49,48,49,48,49,48,49,48,49,48,49,0,48,49,48,49,49,49,48,49,48,49,48,48,49,49,48,49,48,49,48,49,48,49,48,49,49,49,48,49,48,49,48,49,48,49,48,49,48,49,48,49,48,49,48,49,48,48,49,49,0,53,0,0,0,0,53,54,54,53,53,54,54,53,53,54,54,53,54,55,110,53,54,55,110,53,54,53,54,53,54,55,110,53,54,55,53,54,53,54,53,53,53,54,54,54,55,110,53,54,55,55,110,110,53,53,54,54,55,110,53,54,55,55,110,53,54,55,110,53,54,55,55,55,55,55,110,55,53,54,55,110,53,54,55,110,53,54,55,110,53,54,55,110,53,54,55,110,53,54,55,55,55,55,55,110,110,53,53,54,54,0,0,0,0,70,64,64,0,70,0,0,0,0,0,0,0,0,0,0,0,0,64,66,68,68,64,64,66,66,69,69,68,68,64,64,66,66,69,69,64,66,69,70,71,72,64,64,64,20,20,20,74,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,20,66,68,64,66,69,70,71,72,68,64,66,69,70,71,72,64,20,74,68,64,66,69,70,71,72,64,0,66,69,70,71,64,20,74,72,66,69,70,71,72,72,66,69,72,20,20,66,64,64,66,69,70,71,72,64,66,69,70,71,72,64,64,64,66,66,66,69,69,69,72,72,72,20,74,68,64,66,69,70,71,72,74,68,64,66,69,70,71,72,66,72,72,64,20,20,74,74,68,68,64,64,64,64,66,66,69,69,70,70,71,71,72,72,72,20,74,68,64,66,69,70,71,72,64,64,64,64,66,69,64,64,64,66,69,70,71,66,69,71,20,74,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,20,69,20,20,20,20,20,20,20,20,20,66,72,69,69,20,20,69,20,20,20,20,20,20,20,20,20,66,69,70,71,64,20,66,64,69,20,20,20,69,69,20,20,20,20,20,20,20,20,66,71,71,20,66,69,70,71,64,20,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,66,69,70,71,20,74,68,64,66,69,70,71,72,20,74,68,64,66,69,70,71,72,69,69,20,74,68,64,66,69,70,71,72,69,0,20,20,74,74,68,68,64,64,66,66,69,69,70,70,71,71,72,72,66,85,85,111,0,90,0,90,0,90,0,0,0,0,0,0,0,85,85,90,90,91,91,92,92,93,93,85,85,90,90,91,91,92,92,93,93,85,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,0,86,87,90,91,92,86,87,90,91,92,85,111,91,85,90,91,92,93,85,90,91,92,93,85,85,85,90,90,90,91,91,91,92,92,92,93,93,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,85,86,86,87,87,90,90,91,91,92,92,93,93,86,93,85,86,87,90,91,92,93,85,85,90,91,92,93,86,87,90,91,92,86,87,91,92,85,86,87,90,91,92,93,93,85,86,87,90,91,92,93,92,92,92,92,87,86,87,90,91,92,93,92,92,92,91,85,86,87,90,91,92,93,86,87,86,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,85,86,87,90,91,92,93,86,87,90,91,92,85,86,87,90,91,92,93,85,86,87,90,91,92,93,92,85,86,87,90,91,92,93,92,85,85,86,86,87,87,90,90,91,91,92,92,93,93,91,112,113,0,0,0,0,103,103,103,103,103,103,0,0,0,103,103,103,103,98,103,98,103,104,98,103,104,98,103,104,98,103,104,103,104,103,103,103,98,103,104,103,104,98,98,103,103,104,104,98,103,104,103,104,104,98,103,104,98,103,104,103,104,98,0,98,104,103,104,104,98,103,104,98,103,104,103,104,98,103,104,98,103,104,98,103,104,98,98,103,103,104,104,114,115,115,115,116,116,115],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,1]],[[2,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[2],[5],[2],[5],[[],6],[[],6],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[1,1],[7,7],[8,8],[9,9],[10,10],[11,11],[12,12],[13,13],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,1],14],[[7,7],14],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[],14],[[],14],0,0,[[17,18,19],20],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[1],[8],[10],[1],[8],[10],[[1,1],24],[[7,7],24],[6,24],[6,24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],0,0,[[1,27],28],[[7,27],28],[[8,27],28],[[9,27],28],[[10,27],28],[[11,27],28],[[12,27],28],[[13,27],28],[[]],[29],[[]],[29],[30,1],[31,7],[[]],[31,7],[29],[29],[[]],[[]],[29],[29],[[]],[29],[[]],[[]],[32,12],[29],[29],[[]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[1,34]],[[7,34]],[[]],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[35,36],24],[[35,[0,[37,38,39]],[41,[40,[23,[[0,[37,38,39]]]]]],36,36],[[23,[36]]]],[[]],0,0,0,0,[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[17,18],35],[[],24],[[1,1],[[42,[14]]]],[[7,7],[[42,[14]]]],0,[[17,18],[[43,[13]]]],[[1,44],29],[[7,44],29],[[8,44],29],[[9,44],29],[[10,44],29],[[11,44],29],[[12,44],29],[[13,44],29],[[[23,[[0,[45,39]]]]],[[23,[[0,[45,39]]]]]],[[35,36],46],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[17],[17],[17],[17],[17],[17],[17],[17],[17],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[48,48],[49,49],[[]],[[]],[[15,16]],[[15,16]],[35,[[50,[[23,[49]]]]]],[[],21],[[],21],[[],[[23,[22]]]],[[],[[23,[22]]]],0,0,[25,26],[25,26],[[48,27],28],[[49,27],28],[29],[[]],[29],[[]],[[[4,[33]]]],[[[4,[33]]]],[[],21],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[49,24],0,[[],21],[[],21],[[48,44],29],[[49,44],29],[[]],[[]],[17],[17],[[],29],[[],29],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],47],[[],47],[[]],[[]],[[]],[[]],[17,[[41,[51,52]]]],0,0,0,0,0,0,0,0,[[2,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[2],[5],[2],[5],[[],6],[[],6],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[53,53],[54,54],[[]],[[]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[55,56,56],24],[[53,53],24],[[54,54],24],[6,24],[6,24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[25,26],[25,26],[25,26],[25,26],[[]],[29],[29],[[]],[29],[[]],[29],[[]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[55,51,54],[[42,[0]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[55,57],24],[[55,57,57],24],[[55,58],[[23,[59]]]],[[55,57,57],24],[[17,60,53],55],0,[[55,56,56],24],[[]],[[]],[17],[17],[17],[17],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],47],[[],47],[[],47],[[],47],[[55,56,61]],[[55,62,57]],[[55,63,57]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[64,65],64],[[],66],[[2,3],4],[[5,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[[2,3],4],[2],[5],[5],[2],[2],[5],[5],[2],[[],6],[[],6],[[],6],[[],6],[[],6],[[],6],[64,67],[64,65],[[64,65],[[42,[64]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],66],[68,68],[64,64],[66,66],[69,69],[70,70],[71,71],[72,72],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[64,64],14],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[],14],[[17,18,19],20],[[],21],[[],21],[[],21],[[],21],[73,64],0,[[],[[74,[68]]]],[[],72],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[72],[72],[[66,66]],[[69,69]],[[72,72]],[20,72],[20,[[75,[59]]]],0,[[64,76]],[[64,64],24],[[66,66],24],[[69,69],24],[[70,70],24],[[71,71],24],[[72,72],24],[6,24],[6,24],[6,24],[6,24],[6,24],[6,24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[[[74,[[0,[77,78,78]]]],27],28],[[68,27],28],[[64,27],28],[[66,27],28],[[69,27],28],[[70,27],28],[[71,27],28],[[72,27],28],[[66,66,27],28],[[72,72,27],28],[[72,27],28],[[64,65],[[42,[64]]]],[[]],[29],[[]],[29],[[]],[29],[29],[[]],[65,64],[67,64],[[]],[29],[[]],[29],[[]],[29],[29],[[]],[[]],[[[41,[59,69]]],72],[29],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[67,64],[67,64],[65,64],[[64,34]],[[66,34]],[[69,34]],[64,65],[64,65],[64,65],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[20,59],24],0,[[20,57],24],[[20,79],24],[[20,30],24],[[20,80],24],[[20,80],24],[[20,80,40],24],[[20,80],24],[[20,40],24],[20,24],[[66,66],24],[[72,72],24],0,0,0,[[20,30],79],0,0,[[20,57],40],[[20,57],[[82,[[81,[40]]]]]],[[20,57],36],[[20,80],66],0,[[20,31]],[[20,31],80],[20,80],[[],21],[[],21],[[],21],[[],21],[65,64],[[20,59],80],[[],66],[[64,64],[[42,[14]]]],0,[[20,80]],[[20,80],59],[[20,80],83],0,0,[[20,80,40],69],[[20,40],72],[[20,84],69],0,[[20,59],80],[[20,40],57],0,0,0,0,0,0,[[66,44],29],[[69,44],29],[[70,44],29],[[71,44],29],[[64,64],[[42,[65]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[17],[17],[17],[17],[17],[17],[17],[17],[17],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],0,0,[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[[5,3],4],[[2,3],4],[[5,3],4],[[2,3],4],[2],[5],[5],[2],[2],[5],[5],[2],[5],[2],[[],6],[[],6],[[],6],[[],6],[[],6],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[85,85],[86,86],[87,87],[[[90,[[0,[88,89]]]]],[[90,[[0,[88,89]]]]]],[91,91],[92,92],[93,93],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[[15,16]],[35,[[50,[[23,[87]]]]]],[[],21],[[],21],[[],21],[[],21],[[],21],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[[],[[23,[22]]]],[94,[[29,[85]]]],[[]],0,[[85,85],24],[[[90,[[0,[37,89]]]],[90,[[0,[37,89]]]]],24],[[91,91],24],[[92,92],24],[[93,93],24],[6,24],[6,24],[6,24],[6,24],[6,24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[25,26],[[85,27],28],[[86,27],28],[[87,27],28],[[[90,[89]],27],28],[[91,27],28],[[92,27],28],[[93,27],28],[[]],[29],[29],[[]],[29],[[]],[[]],[29],[[]],[29],[29],[[]],[[]],[29],0,0,[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[25,[[50,[85]]]],[[85,34]],[[[90,[[0,[95,89]]]],34]],[[91,34]],[[92,34]],[[93,34]],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[93,20],[[41,[59,92]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[],21],[[],21],[[],21],[[],21],[[],21],[[57,57],93],0,0,0,0,[[85,44],29],[[86,44],29],[[87,44],29],[[[90,[[0,[96,89]]]],44],29],[[91,44],29],[[92,44],29],[[93,20],36],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[17],[17],[17],[17],[17],[17],[17],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],0,[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],[[],47],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],24],[97,[[42,[36]]]],[[]],[97],0,0,0,0,0,0,0,0,0,0,0,0,0,[[98,99,100],101],[[],6],[[]],[[]],[[]],[[]],[[]],[[]],[[15,16]],[[15,16]],[[15,16]],[[98,102]],[[],21],[[],21],[[],[[23,[22]]]],[[],[[23,[22]]]],[94,[[29,[103]]]],[[103,103],24],[6,24],[25,26],[25,26],[25,26],[[103,27],28],[[[104,[78]],27],28],[29],[[]],[29],[[]],[29],[[]],[[[4,[33]]]],[[[4,[33]]]],[[[4,[33]]]],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[[]],[[]],[[],21],[[],21],[24,98],[[105,106,107]],0,0,[[103,44],29],[[[104,[96]],44],29],0,[17],[17],[17],[[],29],[[],29],[[],29],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],47],[[],47],[[],47],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0],"c":[],"p":[[3,"LoanKey"],[3,"Arena"],[8,"IntoIterator"],[15,"slice"],[3,"Arena"],[8,"Any"],[3,"MoveKey"],[3,"LoanPoints"],[3,"MovePoints"],[3,"LoanRegions"],[3,"MoveRegions"],[4,"AquascopeError"],[3,"AnalysisOutput"],[4,"Ordering"],[8,"Iterator"],[8,"FnOnce"],[3,"TyCtxt"],[3,"BodyId"],[3,"BodyWithBorrowckFacts"],[3,"PermissionsCtxt"],[3,"String"],[3,"Dependency"],[3,"Vec"],[15,"bool"],[15,"str"],[3,"RequestFilterDataProvider"],[3,"Formatter"],[6,"Result"],[4,"Result"],[6,"Loan"],[6,"Move"],[3,"Error"],[3,"QueryInfo"],[8,"Hasher"],[3,"AquascopeAnalysis"],[3,"Span"],[8,"PartialEq"],[8,"Eq"],[8,"Copy"],[6,"Point"],[6,"FxHashMap"],[4,"Option"],[6,"AquascopeResult"],[8,"Serializer"],[8,"Bounded"],[3,"CharRange"],[3,"TypeId"],[3,"FlowBoundary"],[3,"PermissionsBoundary"],[6,"Result"],[3,"HirId"],[3,"BindingAnnotation"],[4,"GatherMode"],[4,"GatherDepth"],[3,"IRMapper"],[3,"BasicBlock"],[3,"Location"],[3,"Local"],[3,"Place"],[3,"Body"],[3,"BasicBlockData"],[3,"Statement"],[3,"Terminator"],[3,"PathIndex"],[15,"usize"],[3,"Permissions"],[15,"u32"],[3,"AquascopeFacts"],[3,"PermissionsData"],[4,"Refiner"],[3,"RefinementRegion"],[3,"PermissionsDomain"],[8,"Decoder"],[3,"Output"],[6,"FxHashSet"],[8,"Encoder"],[8,"FactTypes"],[8,"Debug"],[3,"BorrowData"],[6,"Path"],[15,"array"],[3,"SmallVec"],[6,"Variable"],[3,"Ty"],[4,"PermIncludeMode"],[3,"PermissionsStepTable"],[3,"PermissionsLineDisplay"],[8,"Clone"],[8,"Stepable"],[4,"ValueStep"],[3,"PermissionsDiff"],[3,"PermissionsDataDiff"],[3,"MirSegment"],[8,"Deserializer"],[8,"Hash"],[8,"Serialize"],[3,"LocalDefId"],[3,"InterpretCallbacks"],[3,"Compiler"],[3,"Queries"],[4,"Compilation"],[3,"Config"],[4,"MValue"],[3,"MTrace"],[3,"Session"],[3,"Providers"],[3,"ExternProviders"],[13,"AnalysisError"],[13,"BuildError"],[3,"HirNodeLocations"],[8,"Difference"],[13,"High"],[13,"None"],[13,"Unallocated"],[13,"Adt"],[13,"Pointer"]]},\ +"aquascope_front":{"doc":"","t":"CAIDDQKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLL","n":["AquascopePlugin","plugin","AquascopeAnalysis","AquascopePlugin","AquascopePluginArgs","Output","analyze","args","augment_args","augment_args_for_update","borrow","borrow","borrow_mut","borrow_mut","collect_and_apply","collect_and_apply","deserialize","driver_name","filterable","filterable","fmt","from","from","from","from","from_arg_matches","from_arg_matches_mut","from_cycle_error","from_cycle_error","into","into","into_app","into_app_for_update","into_query_param","into_query_param","run","run_with_callbacks","serialize","to_predicate","to_predicate","to_result","to_result","try_from","try_from","try_into","try_into","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","version","vzip","vzip","vzip","vzip"],"q":[[0,"aquascope_front"],[2,"aquascope_front::plugin"]],"d":["","","","","","","","","","","","","","","Equivalent to f(&iter.collect::<Vec<_>>()).","Equivalent to f(&iter.collect::<Vec<_>>()).","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,28,28,4,6,6,4,6,4,6,4,6,6,4,4,6,6,4,4,6,6,6,6,4,6,4,6,6,6,4,6,4,0,6,4,6,4,6,4,6,4,6,4,6,6,6,4,4,4,6,6],"f":[0,0,0,0,0,0,[[1,2],3],[[4,5],[[7,[6]]]],[8,8],[8,8],[[]],[[]],[[]],[[]],[[9,10]],[[9,10]],[11,[[12,[6]]]],[4,[[14,[13]]]],[13,15],[13,15],[[6,16],17],[12],[[]],[12],[[]],[18,[[12,[6,19]]]],[18,[[12,[6,19]]]],[[[21,[20]]]],[[[21,[20]]]],[[]],[[]],[[],8],[[],8],[[]],[[]],[[4,[23,[22]],6],24],[[[21,[22]],25],3],[[6,26],12],[1],[1],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],27],[[],27],[[6,18],[[12,[19]]]],[[6,18],[[12,[19]]]],[4,[[14,[13]]]],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"TyCtxt"],[3,"BodyId"],[6,"AquascopeResult"],[3,"AquascopePlugin"],[3,"Utf8Path"],[3,"AquascopePluginArgs"],[3,"RustcPluginArgs"],[6,"Command"],[8,"Iterator"],[8,"FnOnce"],[8,"Deserializer"],[4,"Result"],[15,"str"],[4,"Cow"],[3,"RequestFilterDataProvider"],[3,"Formatter"],[6,"Result"],[3,"ArgMatches"],[3,"Error"],[3,"QueryInfo"],[15,"slice"],[3,"String"],[3,"Vec"],[6,"Result"],[8,"Callbacks"],[8,"Serializer"],[3,"TypeId"],[8,"AquascopeAnalysis"]]},\ "aquascope_workspace_utils":{"doc":"","t":"FF","n":["miri_sysroot","toolchain"],"q":[[0,"aquascope_workspace_utils"]],"d":["",""],"i":[0,0],"f":[[[],[[2,[1]]]],[[],[[2,[3]]]]],"c":[],"p":[[3,"PathBuf"],[6,"Result"],[3,"String"]]},\ "bitflags":{"doc":"Generate types for C-style flags with ergonomic APIs.","t":"SCIQSSDILLOKLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLALLLLLLALLLLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLDIILLLLLLFLLLKLFLLLK","n":["ALL","BitFlags","Bits","Bits","EMPTY","FLAGS","Flag","Flags","all","all","bitflags","bits","borrow","borrow_mut","complement","complement","contains","contains","difference","difference","empty","empty","from","from_bits","from_bits","from_bits_retain","from_bits_truncate","from_bits_truncate","from_name","from_name","insert","insert","intersection","intersection","intersects","intersects","into","is_all","is_all","is_empty","is_empty","is_named","is_unnamed","iter","iter","iter","iter_names","iter_names","name","new","parser","remove","remove","set","set","symmetric_difference","symmetric_difference","toggle","toggle","try_from","try_into","type_id","union","union","value","Iter","IterNames","borrow","borrow","borrow_mut","borrow_mut","from","from","into","into","into_iter","into_iter","next","next","remaining","try_from","try_from","try_into","try_into","type_id","type_id","ParseError","ParseHex","WriteHex","borrow","borrow_mut","empty_flag","fmt","fmt","from","from_str","into","invalid_hex_flag","invalid_named_flag","parse_hex","to_string","to_writer","try_from","try_into","type_id","write_hex"],"q":[[0,"bitflags"],[65,"bitflags::iter"],[86,"bitflags::parser"]],"d":["A value with all bits set.","","A bits type that can be used as storage for a flags type.","The underlying bits type.","A value with all bits unset.","The set of defined flags.","A defined flags value that may be named or unnamed.","A set of defined flags using a bits type as storage.","Get a flags value with all known bits set.","Get a flags value with all known bits set.","Generate a flags type.","Get the underlying bits value.","","","The bitwise negation (!) of the bits in a flags value, …","The bitwise negation (!) of the bits in a flags value, …","Whether all set bits in a source flags value are also set …","Whether all set bits in a source flags value are also set …","The intersection of a source flags value with the …","The intersection of a source flags value with the …","Get a flags value with all bits unset.","Get a flags value with all bits unset.","Returns the argument unchanged.","Convert from a bits value.","Convert from a bits value.","Convert from a bits value exactly.","Convert from a bits value, unsetting any unknown bits.","Convert from a bits value, unsetting any unknown bits.","Get a flags value with the bits of a flag with the given …","Get a flags value with the bits of a flag with the given …","The bitwise or (|) of the bits in two flags values.","The bitwise or (|) of the bits in two flags values.","The bitwise and (&) of the bits in two flags values.","The bitwise and (&) of the bits in two flags values.","Whether any set bits in a source flags value are also set …","Whether any set bits in a source flags value are also set …","Calls U::from(self).","Whether all known bits in this flags value are set.","Whether all known bits in this flags value are set.","Whether all bits in this flags value are unset.","Whether all bits in this flags value are unset.","Whether the flag is named.","Whether the flag is unnamed.","Yield the bits of a source flags value in a set of …","Yield a set of contained flags values.","Yield a set of contained flags values.","Yield a set of contained named flags values.","Yield a set of contained named flags values.","Get the name of this flag.","Define a flag.","Parsing flags from text.","The intersection of a source flags value with the …","The intersection of a source flags value with the …","Call Flags::insert when value is true or Flags::remove …","Call Flags::insert when value is true or Flags::remove …","The bitwise exclusive-or (^) of the bits in two flags …","The bitwise exclusive-or (^) of the bits in two flags …","The bitwise exclusive-or (^) of the bits in two flags …","The bitwise exclusive-or (^) of the bits in two flags …","","","","The bitwise or (|) of the bits in two flags values.","The bitwise or (|) of the bits in two flags values.","Get the flags value of this flag.","An iterator over flags values.","An iterator over flags values.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","Get a flags value of any remaining bits that haven’t …","","","","","","","An error encountered while parsing flags from text.","Parse a value from a hex string.","Encode a value as a hex string.","","","A hex or named flag wasn’t found between separators.","","","Returns the argument unchanged.","Parse a flags value from text.","Calls U::from(self).","An invalid hex flag was encountered.","A named flag that doesn’t correspond to any on the flags …","Parse the value from hex.","","Write a flags value as text.","","","","Write the value as hex."],"i":[18,0,0,10,18,10,0,0,10,10,0,10,5,5,10,10,10,10,10,10,10,10,5,10,10,10,10,10,10,10,10,10,10,10,10,10,5,10,10,10,10,5,5,0,10,10,10,10,5,5,0,10,10,10,10,10,10,10,10,5,5,5,10,10,5,0,0,6,7,6,7,6,7,6,7,6,7,6,7,7,6,7,6,7,6,7,0,0,0,11,11,11,11,11,11,0,11,11,11,19,11,0,11,11,11,20],"f":[0,0,0,0,0,0,0,0,[[]],[[]],0,[[]],[[]],[[]],[[]],[[]],[[1,1],2],[[1,1],2],[[]],[[]],[[]],[[]],[[]],[[],3],[[],3],[[]],[[]],[[]],[4,3],[4,3],[[1,1]],[[1,1]],[[]],[[]],[[1,1],2],[[1,1],2],[[]],[[],2],[[],2],[[],2],[[],2],[5,2],[5,2],0,[[],6],[[],6],[[],7],[[],7],[5,4],[4,5],0,[[1,1]],[[1,1]],[[1,1,2]],[[1,1,2]],[[]],[[]],[[1,1]],[[1,1]],[[],8],[[],8],[[],9],[[]],[[]],[5],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[6,[10]]],3],[[[7,[10]]],3],[7],[[],8],[[],8],[[],8],[[],8],[[],9],[[],9],0,0,0,[[]],[[]],[[],11],[[11,12],13],[[11,12],13],[[]],[4,[[8,[10,11]]]],[[]],[14,11],[14,11],[4,[[8,[1,11]]]],[[],15],[[10,16],[[8,[17]]]],[[],8],[[],8],[[],9],[16,13]],"c":[],"p":[[8,"Sized"],[15,"bool"],[4,"Option"],[15,"str"],[3,"Flag"],[3,"Iter"],[3,"IterNames"],[4,"Result"],[3,"TypeId"],[8,"Flags"],[3,"ParseError"],[3,"Formatter"],[6,"Result"],[8,"Display"],[3,"String"],[8,"Write"],[3,"Error"],[8,"Bits"],[8,"ParseHex"],[8,"WriteHex"]]},\ "bstr":{"doc":"A byte string library.","t":"FDDIIDDDDDDDDDDDDDDDDDDDDDDDDDDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLFFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLIDDLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["B","BStr","BString","ByteSlice","ByteVec","Bytes","CharIndices","Chars","DrainBytes","EscapeBytes","Fields","FieldsWith","Find","FindReverse","Finder","FinderReverse","FromUtf8Error","GraphemeIndices","Graphemes","Lines","LinesWithTerminator","SentenceIndices","Sentences","Split","SplitN","SplitNReverse","SplitReverse","Utf8Chunk","Utf8Chunks","Utf8Error","WordIndices","Words","WordsWithBreakIndices","WordsWithBreaks","as_bstr","as_bstr","as_bstr_mut","as_bstr_mut","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_bytes","as_mut","as_mut","as_mut","as_ref","as_ref","as_ref","as_ref","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bytes","bytes","char_indices","char_indices","chars","chars","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","concat","contains_str","contains_str","decode_last_utf8","decode_utf8","default","default","default","deref","deref","deref_mut","deref_mut","description","description","drain_bytes","drain_bytes","ends_with_str","ends_with_str","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","error_len","escape_bytes","escape_bytes","fields","fields","fields_with","fields_with","find","find","find","find_byte","find_byte","find_byteset","find_byteset","find_char","find_char","find_iter","find_iter","find_non_ascii_byte","find_non_ascii_byte","find_not_byteset","find_not_byteset","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_iter","from_iter","from_iter","from_iter","from_iter","from_os_str","from_os_str","from_os_str_lossy","from_os_str_lossy","from_os_string","from_os_string","from_path","from_path","from_path_buf","from_path_buf","from_path_lossy","from_path_lossy","from_slice","from_slice","grapheme_indices","grapheme_indices","graphemes","graphemes","hash","hash","incomplete","index","index","index","index","index","index","index","index_mut","index_mut","index_mut","index_mut","index_mut","index_mut","index_mut","insert_char","insert_char","insert_str","insert_str","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_os_string","into_os_string","into_os_string_lossy","into_os_string_lossy","into_owned","into_owned","into_path_buf","into_path_buf","into_path_buf_lossy","into_path_buf_lossy","into_string","into_string","into_string_lossy","into_string_lossy","into_string_unchecked","into_string_unchecked","into_vec","invalid","io","is_ascii","is_ascii","is_utf8","is_utf8","join","last_byte","last_byte","len","len","lines","lines","lines_with_terminator","lines_with_terminator","make_ascii_lowercase","make_ascii_lowercase","make_ascii_uppercase","make_ascii_uppercase","needle","needle","new","new","new","new","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next","next_back","next_back","next_back","next_back","next_back","next_back","next_back","next_back","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","pop_byte","pop_byte","pop_char","pop_char","push_byte","push_byte","push_char","push_char","push_str","push_str","remove_char","remove_char","repeatn","repeatn","replace","replace","replace_into","replace_into","replace_range","replace_range","replacen","replacen","replacen_into","replacen_into","reverse_bytes","reverse_bytes","reverse_chars","reverse_chars","reverse_graphemes","reverse_graphemes","rfind","rfind","rfind","rfind_byte","rfind_byte","rfind_byteset","rfind_byteset","rfind_char","rfind_char","rfind_iter","rfind_iter","rfind_not_byteset","rfind_not_byteset","rsplit_once_str","rsplit_once_str","rsplit_str","rsplit_str","rsplitn_str","rsplitn_str","sentence_indices","sentence_indices","sentences","sentences","size_hint","size_hint","split_once_str","split_once_str","split_str","split_str","splitn_str","splitn_str","starts_with_str","starts_with_str","to_ascii_lowercase","to_ascii_lowercase","to_ascii_uppercase","to_ascii_uppercase","to_lowercase","to_lowercase","to_lowercase_into","to_lowercase_into","to_os_str","to_os_str","to_os_str_lossy","to_os_str_lossy","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_path","to_path","to_path_lossy","to_path_lossy","to_str","to_str","to_str_lossy","to_str_lossy","to_str_lossy_into","to_str_lossy_into","to_str_unchecked","to_str_unchecked","to_string","to_string","to_string","to_string","to_string","to_uppercase","to_uppercase","to_uppercase_into","to_uppercase_into","trim","trim","trim_end","trim_end","trim_end_with","trim_end_with","trim_start","trim_start","trim_start_with","trim_start_with","trim_with","trim_with","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unescape_bytes","unescape_bytes","utf8_chunks","utf8_chunks","utf8_error","valid","valid_up_to","word_indices","word_indices","words","words","words_with_break_indices","words_with_break_indices","words_with_breaks","words_with_breaks","BufReadExt","ByteLines","ByteRecords","borrow","borrow","borrow_mut","borrow_mut","byte_lines","byte_records","fmt","fmt","for_byte_line","for_byte_line_with_terminator","for_byte_record","for_byte_record_with_terminator","from","from","into","into","into_iter","into_iter","next","next","try_from","try_from","try_into","try_into","type_id","type_id"],"q":[[0,"bstr"],[744,"bstr::io"]],"d":["A short-hand constructor for building a &[u8].","A wrapper for &[u8] that provides convenient string …","A wrapper for Vec<u8> that provides convenient string …","A trait that extends &[u8] with string oriented methods.","A trait that extends Vec<u8> with string oriented methods.","An iterator over the bytes in a byte string.","An iterator over Unicode scalar values in a byte string …","An iterator over Unicode scalar values in a byte string.","A draining byte oriented iterator for Vec<u8>.","An iterator of char values that represent an escaping of …","An iterator over the fields in a byte string, separated by …","An iterator over fields in the byte string, separated by a …","An iterator over non-overlapping substring matches.","An iterator over non-overlapping substring matches in …","A single substring searcher fixed to a particular needle.","A single substring reverse searcher fixed to a particular …","An error that may occur when converting a Vec<u8> to a …","An iterator over grapheme clusters in a byte string and …","An iterator over grapheme clusters in a byte string.","An iterator over all lines in a byte string, without their …","An iterator over all lines in a byte string, including …","An iterator over sentences in a byte string, along with …","An iterator over sentences in a byte string.","An iterator over substrings in a byte string, split by a …","An iterator over at most n substrings in a byte string, …","An iterator over at most n substrings in a byte string, …","An iterator over substrings in a byte string, split by a …","A chunk of valid UTF-8, possibly followed by invalid UTF-8 …","An iterator over chunks of valid UTF-8 in a byte slice.","An error that occurs when UTF-8 decoding fails.","An iterator over words in a byte string and their byte …","An iterator over words in a byte string.","An iterator over all word breaks in a byte string, along …","An iterator over all word breaks in a byte string.","Return this byte slice as a &BStr.","Return this byte slice as a &BStr.","Return this byte slice as a &mut BStr.","Return this byte slice as a &mut BStr.","Views the remaining underlying data as a subslice of the …","Return a copy of the rest of the underlying bytes without …","Return a copy of the rest of the underlying bytes without …","Return the original bytes as a slice that failed to …","View the underlying data as a subslice of the original …","View the underlying data as a subslice of the original …","View the underlying data as a subslice of the original …","View the underlying data as a subslice of the original …","View the underlying data as a subslice of the original …","View the underlying data as a subslice of the original …","View the underlying data as a subslice of the original …","View the underlying data as a subslice of the original …","View the underlying data as a subslice of the original …","View the underlying data as a subslice of the original …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns an iterator over the bytes in this byte string.","Returns an iterator over the bytes in this byte string.","Returns an iterator over the Unicode scalar values in this …","Returns an iterator over the Unicode scalar values in this …","Returns an iterator over the Unicode scalar values in this …","Returns an iterator over the Unicode scalar values in this …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Concatenate the elements given by the iterator together …","Returns true if and only if this byte string contains the …","Returns true if and only if this byte string contains the …","UTF-8 decode a single Unicode scalar value from the end of …","UTF-8 decode a single Unicode scalar value from the …","","","","","","","","","","Creates a draining iterator that removes the specified …","Creates a draining iterator that removes the specified …","Returns true if and only if this byte string has the given …","Returns true if and only if this byte string has the given …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the total number of invalid UTF-8 bytes …","Escapes this byte string into a sequence of char values.","Escapes this byte string into a sequence of char values.","Returns an iterator over the fields in a byte string, …","Returns an iterator over the fields in a byte string, …","Returns an iterator over the fields in a byte string, …","Returns an iterator over the fields in a byte string, …","Returns the index of the first occurrence of the given …","Returns the index of the first occurrence of the given …","Returns the index of the first occurrence of this needle …","Returns the index of the first occurrence of the given …","Returns the index of the first occurrence of the given …","Returns the index of the first occurrence of any of the …","Returns the index of the first occurrence of any of the …","Returns the index of the first occurrence of the given …","Returns the index of the first occurrence of the given …","Returns an iterator of the non-overlapping occurrences of …","Returns an iterator of the non-overlapping occurrences of …","Returns the index of the first non-ASCII byte in this byte …","Returns the index of the first non-ASCII byte in this byte …","Returns the index of the first occurrence of a byte that …","Returns the index of the first occurrence of a byte that …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","Create an immutable byte string from an OS string slice.","Create an immutable byte string from an OS string slice.","Lossily create a new byte string from an OS string slice.","Lossily create a new byte string from an OS string slice.","Create a new byte string from an owned OS string.","Create a new byte string from an owned OS string.","Create an immutable byte string from a file path.","Create an immutable byte string from a file path.","Create a new byte string from an owned file path.","Create a new byte string from an owned file path.","Lossily create a new byte string from a file path.","Lossily create a new byte string from a file path.","Create a new owned byte string from the given byte slice.","Create a new owned byte string from the given byte slice.","Returns an iterator over the grapheme clusters in this …","Returns an iterator over the grapheme clusters in this …","Returns an iterator over the grapheme clusters in this …","Returns an iterator over the grapheme clusters in this …","","","Returns whether the invalid sequence might still become …","","","","","","","","","","","","","","","Inserts the given codepoint into this Vec<u8> at a …","Inserts the given codepoint into this Vec<u8> at a …","Inserts the given byte string into this byte string at a …","Inserts the given byte string into this byte string at a …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Converts this byte string into an OS string, in place.","Converts this byte string into an OS string, in place.","Lossily converts this byte string into an OS string, in …","Lossily converts this byte string into an OS string, in …","Convert this finder into its owned variant, such that it …","Convert this finder into its owned variant, such that it …","Converts this byte string into an owned file path, in …","Converts this byte string into an owned file path, in …","Lossily converts this byte string into an owned file path, …","Lossily converts this byte string into an owned file path, …","Converts a Vec<u8> into a String if and only if this byte …","Converts a Vec<u8> into a String if and only if this byte …","Lossily converts a Vec<u8> into a String. If this byte …","Lossily converts a Vec<u8> into a String. If this byte …","Unsafely convert this byte string into a String, without …","Unsafely convert this byte string into a String, without …","Consume this error and return the original byte string …","Returns the (possibly empty) invalid UTF-8 bytes in this …","Utilities for working with I/O using byte strings.","Returns true if and only if every byte in this byte string …","Returns true if and only if every byte in this byte string …","Returns true if and only if the entire byte string is …","Returns true if and only if the entire byte string is …","Join the elements given by the iterator with the given …","Returns the last byte in this byte string, if it’s …","Returns the last byte in this byte string, if it’s …","","","An iterator over all lines in a byte string, without their …","An iterator over all lines in a byte string, without their …","An iterator over all lines in a byte string, including …","An iterator over all lines in a byte string, including …","Convert this byte string to its lowercase ASCII equivalent …","Convert this byte string to its lowercase ASCII equivalent …","Convert this byte string to its uppercase ASCII equivalent …","Convert this byte string to its uppercase ASCII equivalent …","Returns the needle that this finder searches for.","Returns the needle that this finder searches for.","Directly creates a BStr slice from anything that can be …","Constructs a new BString from the given Vec.","Create a new finder for the given needle.","Create a new reverse finder for the given needle.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Removes the last byte from this Vec<u8> and returns it.","Removes the last byte from this Vec<u8> and returns it.","Removes the last codepoint from this Vec<u8> and returns …","Removes the last codepoint from this Vec<u8> and returns …","Appends the given byte to the end of this byte string.","Appends the given byte to the end of this byte string.","Appends the given char to the end of this byte string.","Appends the given char to the end of this byte string.","Appends the given slice to the end of this byte string. …","Appends the given slice to the end of this byte string. …","Removes a char from this Vec<u8> at the given byte …","Removes a char from this Vec<u8> at the given byte …","Create a new byte string by repeating this byte string n …","Create a new byte string by repeating this byte string n …","Replace all matches of the given needle with the given …","Replace all matches of the given needle with the given …","Replace all matches of the given needle with the given …","Replace all matches of the given needle with the given …","Removes the specified range in this byte string and …","Removes the specified range in this byte string and …","Replace up to limit matches of the given needle with the …","Replace up to limit matches of the given needle with the …","Replace up to limit matches of the given needle with the …","Replace up to limit matches of the given needle with the …","Reverse the bytes in this string, in place.","Reverse the bytes in this string, in place.","Reverse the codepoints in this string, in place.","Reverse the codepoints in this string, in place.","Reverse the graphemes in this string, in place.","Reverse the graphemes in this string, in place.","Returns the index of the last occurrence of the given …","Returns the index of the last occurrence of the given …","Returns the index of the last occurrence of this needle in …","Returns the index of the last occurrence of the given …","Returns the index of the last occurrence of the given …","Returns the index of the last occurrence of any of the …","Returns the index of the last occurrence of any of the …","Returns the index of the last occurrence of the given …","Returns the index of the last occurrence of the given …","Returns an iterator of the non-overlapping occurrences of …","Returns an iterator of the non-overlapping occurrences of …","Returns the index of the last occurrence of a byte that is …","Returns the index of the last occurrence of a byte that is …","Split this byte string at the last occurrence of splitter.","Split this byte string at the last occurrence of splitter.","Returns an iterator over substrings of this byte string, …","Returns an iterator over substrings of this byte string, …","Returns an iterator of at most limit substrings of this …","Returns an iterator of at most limit substrings of this …","Returns an iterator over the sentences in this byte string …","Returns an iterator over the sentences in this byte string …","Returns an iterator over the sentences in this byte string.","Returns an iterator over the sentences in this byte string.","","","Split this byte string at the first occurrence of splitter.","Split this byte string at the first occurrence of splitter.","Returns an iterator over substrings of this byte string, …","Returns an iterator over substrings of this byte string, …","Returns an iterator of at most limit substrings of this …","Returns an iterator of at most limit substrings of this …","Returns true if and only if this byte string has the given …","Returns true if and only if this byte string has the given …","Returns a new Vec<u8> containing the ASCII lowercase …","Returns a new Vec<u8> containing the ASCII lowercase …","Returns a new Vec<u8> containing the ASCII uppercase …","Returns a new Vec<u8> containing the ASCII uppercase …","Returns a new Vec<u8> containing the lowercase equivalent …","Returns a new Vec<u8> containing the lowercase equivalent …","Writes the lowercase equivalent of this byte string into …","Writes the lowercase equivalent of this byte string into …","Create an OS string slice from this byte string.","Create an OS string slice from this byte string.","Lossily create an OS string slice from this byte string.","Lossily create an OS string slice from this byte string.","","","","","","","","","","","","","","","","","","","","","Create a path slice from this byte string.","Create a path slice from this byte string.","Lossily create a path slice from this byte string.","Lossily create a path slice from this byte string.","Safely convert this byte string into a &str if it’s …","Safely convert this byte string into a &str if it’s …","Convert this byte string to a valid UTF-8 string by …","Convert this byte string to a valid UTF-8 string by …","Copy the contents of this byte string into the given owned …","Copy the contents of this byte string into the given owned …","Unsafely convert this byte string into a &str, without …","Unsafely convert this byte string into a &str, without …","","","","","","Returns a new Vec<u8> containing the uppercase equivalent …","Returns a new Vec<u8> containing the uppercase equivalent …","Writes the uppercase equivalent of this byte string into …","Writes the uppercase equivalent of this byte string into …","Return a byte string slice with leading and trailing …","Return a byte string slice with leading and trailing …","Return a byte string slice with trailing whitespace …","Return a byte string slice with trailing whitespace …","Return a byte string slice with trailing characters …","Return a byte string slice with trailing characters …","Return a byte string slice with leading whitespace removed.","Return a byte string slice with leading whitespace removed.","Return a byte string slice with leading characters …","Return a byte string slice with leading characters …","Return a byte string slice with leading and trailing …","Return a byte string slice with leading and trailing …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Unescapes the given string into its raw bytes.","Unescapes the given string into its raw bytes.","Iterate over chunks of valid UTF-8.","Iterate over chunks of valid UTF-8.","Return the underlying UTF-8 error that occurred. This …","Returns the (possibly empty) valid UTF-8 bytes in this …","Returns the byte index of the position immediately …","Returns an iterator over the words in this byte string …","Returns an iterator over the words in this byte string …","Returns an iterator over the words in this byte string. If …","Returns an iterator over the words in this byte string. If …","Returns an iterator over the words and their byte offsets …","Returns an iterator over the words and their byte offsets …","Returns an iterator over the words in this byte string, …","Returns an iterator over the words in this byte string, …","An extension trait for std::io::BufRead which provides …","An iterator over lines from an instance of std::io::BufRead…","An iterator over records from an instance of …","","","","","Returns an iterator over the lines of this reader, where …","Returns an iterator over byte-terminated records of this …","","","Executes the given closure on each line in the underlying …","Executes the given closure on each line in the underlying …","Executes the given closure on each byte-terminated record …","Executes the given closure on each byte-terminated record …","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,69,69,69,6,7,8,9,10,11,12,13,14,15,16,17,18,19,5,20,20,5,5,20,20,57,5,5,20,20,20,21,22,23,41,44,6,37,39,46,47,48,49,7,8,33,9,10,11,12,13,14,15,16,17,18,19,24,25,57,5,5,20,20,20,21,22,23,41,44,6,37,39,46,47,48,49,7,8,33,9,10,11,12,13,14,15,16,17,18,19,24,25,69,69,69,69,69,69,20,21,22,23,6,7,8,10,11,12,13,14,15,16,17,18,19,24,25,20,21,22,23,6,7,8,10,11,12,13,14,15,16,17,18,19,24,25,5,20,0,69,69,0,0,5,5,20,5,20,5,20,9,25,70,70,69,69,5,5,5,5,5,5,5,5,5,5,5,5,5,5,20,20,20,20,20,20,20,20,20,9,25,5,20,9,25,25,69,69,69,69,69,69,69,69,22,69,69,69,69,69,69,69,69,69,69,69,69,5,5,20,20,21,21,22,23,41,44,6,37,39,46,47,48,49,7,8,33,9,9,10,11,12,13,14,15,16,17,18,19,24,25,25,57,5,5,5,20,20,20,20,20,20,20,20,21,22,23,41,44,6,37,39,46,47,48,49,7,8,33,9,10,11,12,13,14,15,16,17,18,19,24,25,20,20,20,20,20,20,69,69,70,70,70,70,69,69,70,70,70,70,70,70,69,69,69,69,5,20,57,5,5,5,5,5,5,5,5,5,5,5,5,5,5,70,70,70,70,57,20,21,22,23,41,44,6,37,39,46,47,48,49,7,8,33,9,10,11,12,13,14,15,16,17,18,19,24,25,21,41,44,6,37,39,46,47,48,49,7,8,33,10,11,12,13,14,15,16,17,18,19,24,70,70,70,70,22,23,70,70,70,70,70,70,70,70,70,70,9,57,0,69,69,69,69,0,69,69,6,33,69,69,69,69,69,69,69,69,22,23,5,20,22,23,21,41,44,6,37,39,46,47,48,49,7,8,33,10,11,12,13,14,15,16,17,18,19,24,6,7,8,33,10,11,18,19,5,5,5,5,5,5,5,5,5,5,5,20,20,20,20,20,20,20,20,20,70,70,70,70,70,70,70,70,70,70,70,70,69,69,69,69,69,69,70,70,69,69,69,69,69,69,69,69,69,69,69,69,23,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,6,24,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,5,20,21,22,23,6,7,8,10,11,12,13,14,15,16,17,18,19,24,25,69,69,69,69,69,69,69,69,69,69,69,69,5,20,21,9,25,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,57,20,21,22,23,41,44,6,37,39,46,47,48,49,7,8,33,9,10,11,12,13,14,15,16,17,18,19,24,25,57,20,21,22,23,41,44,6,37,39,46,47,48,49,7,8,33,9,10,11,12,13,14,15,16,17,18,19,24,25,57,5,20,21,22,23,41,44,6,37,39,46,47,48,49,7,8,33,9,10,11,12,13,14,15,16,17,18,19,24,25,70,70,69,69,9,57,25,69,69,69,69,69,69,69,69,0,0,0,65,66,65,66,71,71,65,66,71,71,71,71,65,66,65,66,65,66,65,66,65,66,65,66,65,66],"f":[[[[0,[1,[4,[[3,[2]]]]]]],[[3,[2]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],5],[[],5],[[],5],[[],5],[6,[[3,[2]]]],[7,[[3,[2]]]],[8,[[3,[2]]]],[9,[[3,[2]]]],[10,[[3,[2]]]],[11,[[3,[2]]]],[12,[[3,[2]]]],[13,[[3,[2]]]],[14,[[3,[2]]]],[15,[[3,[2]]]],[16,[[3,[2]]]],[17,[[3,[2]]]],[18,[[3,[2]]]],[19,[[3,[2]]]],[5,[[3,[2]]]],[20,[[3,[2]]]],[20,5],[5,5],[5,[[3,[2]]]],[20,[[3,[2]]]],[20,5],[[]],[[]],[5,[[3,[2]]]],[20,5],[[]],[20,[[3,[2]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[5,[[3,[2]]]],[[]],[20,5],[20,[[3,[2]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],6],[[],6],[[],19],[[],19],[[],18],[[],18],[20,20],[21,21],[22,22],[23,23],[6,6],[7,7],[8,8],[10,10],[11,11],[12,12],[13,13],[14,14],[15,15],[16,16],[17,17],[18,18],[19,19],[24,24],[25,25],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[5,5],26],[[20,20],26],[27,[[28,[2]]]],[[[4,[[3,[2]]]]],29],[[[4,[[3,[2]]]]],29],[[[4,[[3,[2]]]]]],[[[4,[[3,[2]]]]]],[[],5],[[],5],[[],20],[5,[[3,[2]]]],[20,[[28,[2]]]],[5,[[3,[2]]]],[20,[[28,[2]]]],[9,30],[25,30],[[[32,[31]]],33],[[[32,[31]]],33],[[[4,[[3,[2]]]]],29],[[[4,[[3,[2]]]]],29],[[5,[28,[2]]],29],[[5,[34,[5]]],29],[[5,35],29],[[5,20],29],[[5,[28,[2]]],29],[[5,[34,[[3,[2]]]]],29],[[5,[3,[2]]],29],[[5,[3,[2]]],29],[[5,30],29],[[5,35],29],[[5,20],29],[[5,[34,[30]]],29],[[5,5],29],[[5,30],29],[[20,[3,[2]]],29],[[20,[28,[2]]],29],[[20,5],29],[[20,20],29],[[20,[3,[2]]],29],[[20,30],29],[[20,30],29],[[20,35],29],[[20,5],29],[[9,9],29],[[25,25],29],[[],29],[[],29],[[],29],[[],29],[25,[[36,[31]]]],[[],21],[[],21],[[],37],[[],37],[38,[[39,[38]]]],[38,[[39,[38]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[[22,[4,[[3,[2]]]]],[[36,[31]]]],[2,[[36,[31]]]],[2,[[36,[31]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[40,[[36,[31]]]],[40,[[36,[31]]]],[[[0,[1,[4,[[3,[2]]]]]]],41],[[[0,[1,[4,[[3,[2]]]]]]],41],[[],[[36,[31]]]],[[],[[36,[31]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[[5,42],43],[[5,42],43],[[20,42],43],[[20,42],43],[[21,42],43],[[21,42],43],[[22,42],43],[[23,42],43],[[41,42],43],[[44,42],43],[[6,42],43],[[37,42],43],[[[39,[45]],42],43],[[46,42],43],[[47,42],43],[[48,42],43],[[49,42],43],[[7,42],43],[[8,42],43],[[33,42],43],[[9,42],43],[[9,42],43],[[10,42],43],[[11,42],43],[[12,42],43],[[13,42],43],[[14,42],43],[[15,42],43],[[16,42],43],[[17,42],43],[[18,42],43],[[19,42],43],[[24,42],43],[[25,42],43],[[25,42],43],[[]],[30,5],[[[50,[2]]],5],[[[3,[2]]],5],[5,20],[35,20],[[[50,[2]]],20],[[[28,[2]]],20],[[[50,[2]]],20],[[[3,[2]]],20],[[]],[30,20],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[27,20],[27,20],[27,20],[27,20],[27,20],[27,20],[51,[[36,[[3,[2]]]]]],[51,[[36,[[3,[2]]]]]],[51,[[34,[[3,[2]]]]]],[51,[[34,[[3,[2]]]]]],[52,[[53,[[28,[2]],52]]]],[52,[[53,[[28,[2]],52]]]],[54,[[36,[[3,[2]]]]]],[54,[[36,[[3,[2]]]]]],[55,[[53,[[28,[2]],55]]]],[55,[[53,[[28,[2]],55]]]],[54,[[34,[[3,[2]]]]]],[54,[[34,[[3,[2]]]]]],[[[4,[[3,[2]]]]],[[28,[2]]]],[[[4,[[3,[2]]]]],[[28,[2]]]],[[],11],[[],11],[[],10],[[],10],[[5,56]],[[20,56]],[57,29],[[5,31],2],[[5,[58,[31]]],5],[[5,[59,[31]]],5],[[5,60],5],[[5,[61,[31]]],5],[[5,[62,[31]]],5],[[5,[63,[31]]],5],[[5,[61,[31]]],5],[[5,[62,[31]]],5],[[5,31],2],[[5,[59,[31]]],5],[[5,60],5],[[5,[63,[31]]],5],[[5,[58,[31]]],5],[[31,40]],[[31,40]],[[31,[4,[[3,[2]]]]]],[[31,[4,[[3,[2]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,[[53,[52,9]]]],[1,[[53,[52,9]]]],[1,52],[1,52],[22,22],[23,23],[1,[[53,[55,9]]]],[1,[[53,[55,9]]]],[1,55],[1,55],[1,[[53,[35,9]]]],[1,[[53,[35,9]]]],[1,35],[1,35],[1,35],[1,35],[9,[[28,[2]]]],[57,[[3,[2]]]],0,[[],29],[[],29],[[],29],[[],29],[[[4,[[3,[2]]]],27],[[28,[2]]]],[[],[[36,[2]]]],[[],[[36,[2]]]],[6,31],[33,31],[[],7],[[],7],[[],8],[[],8],[[]],[[]],[[]],[[]],[22,[[3,[2]]]],[23,[[3,[2]]]],[[[0,[1,[4,[[3,[2]]]]]]],5],[[[28,[2]]],20],[[[0,[1,[4,[[3,[2]]]]]]],22],[[[0,[1,[4,[[3,[2]]]]]]],23],[21,[[36,[40]]]],[41,[[36,[31]]]],[44,[[36,[31]]]],[6,[[36,[2]]]],[37,[[36,[[3,[2]]]]]],[[[39,[38]]],[[36,[[3,[2]]]]]],[46,[[36,[[3,[2]]]]]],[47,[[36,[[3,[2]]]]]],[48,[[36,[[3,[2]]]]]],[49,[[36,[[3,[2]]]]]],[7,[[36,[[3,[2]]]]]],[8,[[36,[[3,[2]]]]]],[33,[[36,[2]]]],[10,[[36,[30]]]],[11,36],[12,[[36,[30]]]],[13,36],[14,[[36,[30]]]],[15,36],[16,[[36,[30]]]],[17,36],[18,[[36,[40]]]],[19,36],[24,[[36,[57]]]],[6,[[36,[2]]]],[7,36],[8,36],[33,[[36,[2]]]],[10,[[36,[30]]]],[11,36],[18,[[36,[40]]]],[19,36],[[5,30],[[36,[26]]]],[[5,20],[[36,[26]]]],[[5,20],[[36,[26]]]],[[5,30],[[36,[26]]]],[[5,35],[[36,[26]]]],[[5,5],[[36,[26]]]],[[5,[28,[2]]],[[36,[26]]]],[[5,[28,[2]]],[[36,[26]]]],[[5,[3,[2]]],[[36,[26]]]],[[5,35],[[36,[26]]]],[[5,[3,[2]]],[[36,[26]]]],[[20,30],[[36,[26]]]],[[20,5],[[36,[26]]]],[[20,[3,[2]]],[[36,[26]]]],[[20,20],[[36,[26]]]],[[20,5],[[36,[26]]]],[[20,35],[[36,[26]]]],[[20,[3,[2]]],[[36,[26]]]],[[20,[28,[2]]],[[36,[26]]]],[[20,30],[[36,[26]]]],[[],[[36,[2]]]],[[],[[36,[2]]]],[[],[[36,[40]]]],[[],[[36,[40]]]],[2],[2],[40],[40],[[[4,[[3,[2]]]]]],[[[4,[[3,[2]]]]]],[31,40],[31,40],[31,[[28,[2]]]],[31,[[28,[2]]]],[[[4,[[3,[2]]]],[4,[[3,[2]]]]],[[28,[2]]]],[[[4,[[3,[2]]]],[4,[[3,[2]]]]],[[28,[2]]]],[[[4,[[3,[2]]]],[4,[[3,[2]]]],[28,[2]]]],[[[4,[[3,[2]]]],[4,[[3,[2]]]],[28,[2]]]],[[[32,[31]],[4,[[3,[2]]]]]],[[[32,[31]],[4,[[3,[2]]]]]],[[[4,[[3,[2]]]],[4,[[3,[2]]]],31],[[28,[2]]]],[[[4,[[3,[2]]]],[4,[[3,[2]]]],31],[[28,[2]]]],[[[4,[[3,[2]]]],[4,[[3,[2]]]],31,[28,[2]]]],[[[4,[[3,[2]]]],[4,[[3,[2]]]],31,[28,[2]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[[4,[[3,[2]]]]],[[36,[31]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[[23,[4,[[3,[2]]]]],[[36,[31]]]],[2,[[36,[31]]]],[2,[[36,[31]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[40,[[36,[31]]]],[40,[[36,[31]]]],[[[0,[1,[4,[[3,[2]]]]]]],44],[[[0,[1,[4,[[3,[2]]]]]]],44],[[[4,[[3,[2]]]]],[[36,[31]]]],[[[4,[[3,[2]]]]],[[36,[31]]]],[[[0,[1,[4,[[3,[2]]]]]]],36],[[[0,[1,[4,[[3,[2]]]]]]],36],[[[0,[1,[4,[[3,[2]]]]]]],47],[[[0,[1,[4,[[3,[2]]]]]]],47],[[31,[0,[1,[4,[[3,[2]]]]]]],49],[[31,[0,[1,[4,[[3,[2]]]]]]],49],[[],13],[[],13],[[],12],[[],12],[6],[24],[[[0,[1,[4,[[3,[2]]]]]]],36],[[[0,[1,[4,[[3,[2]]]]]]],36],[[[0,[1,[4,[[3,[2]]]]]]],46],[[[0,[1,[4,[[3,[2]]]]]]],46],[[31,[0,[1,[4,[[3,[2]]]]]]],48],[[31,[0,[1,[4,[[3,[2]]]]]]],48],[[[4,[[3,[2]]]]],29],[[[4,[[3,[2]]]]],29],[[],[[28,[2]]]],[[],[[28,[2]]]],[[],[[28,[2]]]],[[],[[28,[2]]]],[[],[[28,[2]]]],[[],[[28,[2]]]],[[[28,[2]]]],[[[28,[2]]]],[[],[[53,[51,25]]]],[[],[[53,[51,25]]]],[[],[[34,[51]]]],[[],[[34,[51]]]],[5,20],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[53,[54,25]]]],[[],[[53,[54,25]]]],[[],[[34,[54]]]],[[],[[34,[54]]]],[[],[[53,[30,25]]]],[[],[[53,[30,25]]]],[[],[[34,[30]]]],[[],[[34,[30]]]],[35],[35],[[],30],[[],30],[[],35],[[],35],[[],35],[[],35],[[],35],[[],[[28,[2]]]],[[],[[28,[2]]]],[[[28,[2]]]],[[[28,[2]]]],[[],[[3,[2]]]],[[],[[3,[2]]]],[[],[[3,[2]]]],[[],[[3,[2]]]],[38,[[3,[2]]]],[38,[[3,[2]]]],[[],[[3,[2]]]],[[],[[3,[2]]]],[38,[[3,[2]]]],[38,[[3,[2]]]],[38,[[3,[2]]]],[38,[[3,[2]]]],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],53],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[],64],[[[4,[30]]],[[28,[2]]]],[[[4,[30]]],[[28,[2]]]],[[],24],[[],24],[9,25],[57,30],[25,31],[[],15],[[],15],[[],14],[[],14],[[],17],[[],17],[[],16],[[],16],0,0,0,[[]],[[]],[[]],[[]],[1,[[65,[1]]]],[[1,2],[[66,[1]]]],[[[65,[45]],42],43],[[[66,[45]],42],43],[[1,38],67],[[1,38],67],[[1,2,38],67],[[1,2,38],67],[[]],[[]],[[]],[[]],[[]],[[]],[[[65,[68]]],[[36,[[67,[[28,[2]]]]]]]],[[[66,[68]]],[[36,[[67,[[28,[2]]]]]]]],[[],53],[[],53],[[],53],[[],53],[[],64],[[],64]],"c":[],"p":[[8,"Sized"],[15,"u8"],[15,"slice"],[8,"AsRef"],[3,"BStr"],[3,"Bytes"],[3,"Lines"],[3,"LinesWithTerminator"],[3,"FromUtf8Error"],[3,"Graphemes"],[3,"GraphemeIndices"],[3,"Sentences"],[3,"SentenceIndices"],[3,"Words"],[3,"WordIndices"],[3,"WordsWithBreaks"],[3,"WordsWithBreakIndices"],[3,"Chars"],[3,"CharIndices"],[3,"BString"],[3,"EscapeBytes"],[3,"Finder"],[3,"FinderReverse"],[3,"Utf8Chunks"],[3,"Utf8Error"],[4,"Ordering"],[8,"IntoIterator"],[3,"Vec"],[15,"bool"],[15,"str"],[15,"usize"],[8,"RangeBounds"],[3,"DrainBytes"],[4,"Cow"],[3,"String"],[4,"Option"],[3,"Fields"],[8,"FnMut"],[3,"FieldsWith"],[15,"char"],[3,"Find"],[3,"Formatter"],[6,"Result"],[3,"FindReverse"],[8,"Debug"],[3,"Split"],[3,"SplitReverse"],[3,"SplitN"],[3,"SplitNReverse"],[15,"array"],[3,"OsStr"],[3,"OsString"],[4,"Result"],[3,"Path"],[3,"PathBuf"],[8,"Hasher"],[3,"Utf8Chunk"],[3,"RangeTo"],[3,"Range"],[3,"RangeFull"],[3,"RangeFrom"],[3,"RangeToInclusive"],[3,"RangeInclusive"],[3,"TypeId"],[3,"ByteLines"],[3,"ByteRecords"],[6,"Result"],[8,"BufRead"],[8,"ByteSlice"],[8,"ByteVec"],[8,"BufReadExt"]]},\ @@ -72,7 +72,7 @@ var searchIndex = JSON.parse('{\ "parking_lot":{"doc":"This library provides implementations of Mutex, RwLock, …","t":"DNGGNGGGGGGGNDENDDDDGGGGGGDLLLLLLLLLLLLLLLLLLLLLLLLLLLFFFFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Condvar","Done","FairMutex","FairMutexGuard","InProgress","MappedFairMutexGuard","MappedMutexGuard","MappedReentrantMutexGuard","MappedRwLockReadGuard","MappedRwLockWriteGuard","Mutex","MutexGuard","New","Once","OnceState","Poisoned","RawFairMutex","RawMutex","RawRwLock","RawThreadId","ReentrantMutex","ReentrantMutexGuard","RwLock","RwLockReadGuard","RwLockUpgradableReadGuard","RwLockWriteGuard","WaitTimeoutResult","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bump","bump","bump_exclusive","bump_shared","bump_upgradable","call_once","call_once_force","clone","clone","clone_into","clone_into","const_fair_mutex","const_mutex","const_reentrant_mutex","const_rwlock","default","default","done","downgrade","downgrade_to_upgradable","downgrade_upgradable","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","is_locked","is_locked","is_locked","lock","lock","lock_api","lock_exclusive","lock_shared","lock_shared_recursive","lock_upgradable","new","new","nonzero_thread_id","notify_all","notify_one","poisoned","state","timed_out","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_lock","try_lock","try_lock_exclusive","try_lock_exclusive_for","try_lock_exclusive_until","try_lock_for","try_lock_for","try_lock_shared","try_lock_shared_for","try_lock_shared_recursive","try_lock_shared_recursive_for","try_lock_shared_recursive_until","try_lock_shared_until","try_lock_until","try_lock_until","try_lock_upgradable","try_lock_upgradable_for","try_lock_upgradable_until","try_upgrade","try_upgrade_for","try_upgrade_until","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unlock","unlock","unlock_exclusive","unlock_exclusive_fair","unlock_fair","unlock_fair","unlock_shared","unlock_shared_fair","unlock_upgradable","unlock_upgradable_fair","upgrade","wait","wait_for","wait_until"],"q":[[0,"parking_lot"]],"d":["A Condition Variable","A closure has completed successfully.","A mutual exclusive primitive that is always fair, useful …","An RAII implementation of a “scoped lock” of a mutex. …","A thread is currently executing a closure.","An RAII mutex guard returned by FairMutexGuard::map, which …","An RAII mutex guard returned by MutexGuard::map, which can …","An RAII mutex guard returned by ReentrantMutexGuard::map, …","An RAII read lock guard returned by RwLockReadGuard::map, …","An RAII write lock guard returned by RwLockWriteGuard::map…","A mutual exclusion primitive useful for protecting shared …","An RAII implementation of a “scoped lock” of a mutex. …","A closure has not been executed yet","A synchronization primitive which can be used to run a …","Current state of a Once.","A closure was executed but panicked.","Raw fair mutex type backed by the parking lot.","Raw mutex type backed by the parking lot.","Raw reader-writer lock type backed by the parking lot.","Implementation of the GetThreadId trait for …","A mutex which can be recursively locked by a single thread.","An RAII implementation of a “scoped lock” of a …","A reader-writer lock","RAII structure used to release the shared read access of a …","RAII structure used to release the upgradable read access …","RAII structure used to release the exclusive write access …","A type indicating whether a timed wait on a condition …","","","","","","","","","","","","","","","","","","","","","","Performs an initialization routine once and only once. The …","Performs the same function as call_once except ignores …","","","","","Creates a new fair mutex in an unlocked state ready for …","Creates a new mutex in an unlocked state ready for use.","Creates a new reentrant mutex in an unlocked state ready …","Creates a new instance of an RwLock<T> which is unlocked.","","","Returns whether the associated Once has successfully …","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","Creates a new condition variable which is ready to be …","Creates a new Once value.","","Wakes up all blocked threads on this condvar.","Wakes up one blocked thread on this condvar.","Returns whether the associated Once has been poisoned.","Returns the current state of this Once.","Returns whether the wait was known to have timed out.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Blocks the current thread until this condition variable …","Waits on this condition variable for a notification, …","Waits on this condition variable for a notification, …"],"i":[0,7,0,0,7,0,0,0,0,0,0,0,7,0,0,7,0,0,0,0,0,0,0,0,0,0,0,12,4,1,2,3,16,6,7,12,4,1,2,3,16,6,7,1,2,3,3,3,4,4,6,7,6,7,0,0,0,0,12,4,7,3,3,3,6,7,6,7,12,4,6,7,12,4,1,2,3,16,6,7,12,4,1,2,3,16,6,7,1,2,3,1,2,0,3,3,3,3,12,4,16,12,12,7,4,6,6,7,12,4,1,2,3,16,6,7,12,4,1,2,3,16,6,7,1,2,3,3,3,1,2,3,3,3,3,3,3,1,2,3,3,3,3,3,3,12,4,1,2,3,16,6,7,1,2,3,3,1,2,3,3,3,3,3,12,12,12],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1],[2],[3],[3],[3],[[4,5]],[[4,5]],[6,6],[7,7],[[]],[[]],[[],8],[[],9],[[],10],[[],11],[[],12],[[],4],[7,13],[3],[3],[3],[[6,6],13],[[7,7],13],[[],13],[[],13],[[12,14],15],[[4,14],15],[[6,14],15],[[7,14],15],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,13],[2,13],[3,13],[1],[2],0,[3],[3],[3],[3],[[],12],[[],4],[16,17],[12,18],[12,13],[7,13],[4,7],[6,13],[[]],[[]],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[1,13],[2,13],[3,13],[[3,20],13],[[3,21],13],[1,13],[[2,20],13],[3,13],[3,13],[3,13],[3,13],[3,13],[3,13],[1,13],[[2,21],13],[3,13],[[3,20],13],[[3,21],13],[3,13],[[3,20],13],[[3,21],13],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[1],[2],[3],[3],[1],[2],[3],[3],[3],[3],[3],[[12,[24,[23]]]],[[12,[24,[23]],20],6],[[12,[24,[23]],21],6]],"c":[],"p":[[3,"RawFairMutex"],[3,"RawMutex"],[3,"RawRwLock"],[3,"Once"],[8,"FnOnce"],[3,"WaitTimeoutResult"],[4,"OnceState"],[6,"FairMutex"],[6,"Mutex"],[6,"ReentrantMutex"],[6,"RwLock"],[3,"Condvar"],[15,"bool"],[3,"Formatter"],[6,"Result"],[3,"RawThreadId"],[3,"NonZeroUsize"],[15,"usize"],[4,"Result"],[3,"Duration"],[6,"Instant"],[3,"TypeId"],[8,"Sized"],[6,"MutexGuard"]]},\ "parking_lot_core":{"doc":"This library exposes a low-level API for creating your own …","t":"NRRENEDNNENDNNNNNDDNMLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLFMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFFFFMFF","n":["Abort","DEFAULT_PARK_TOKEN","DEFAULT_UNPARK_TOKEN","FilterOp","Invalid","ParkResult","ParkToken","RequeueAll","RequeueOne","RequeueOp","Skip","SpinWait","Stop","TimedOut","Unpark","UnparkOne","UnparkOneRequeueRest","UnparkResult","UnparkToken","Unparked","be_fair","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","deadlock","default","default","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","have_more_threads","into","into","into","into","into","into","into","is_unparked","new","park","requeued_threads","reset","spin","spin_no_yield","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unpark_all","unpark_filter","unpark_one","unpark_requeue","unparked_threads","acquire_resource","release_resource"],"q":[[0,"parking_lot_core"],[122,"parking_lot_core::deadlock"]],"d":["Abort the operation without doing anything.","A default park token to use.","A default unpark token to use.","Operation that unpark_filter should perform for each …","The validation callback returned false.","Result of a park operation.","A value associated with a parked thread which can be used …","Requeue all threads onto the target queue.","Requeue one thread and leave the rest parked on the …","Operation that unpark_requeue should perform.","Don’t unpark the thread and continue scanning the list …","A counter used to perform exponential backoff in spin …","Don’t unpark the thread and stop scanning the list of …","The timeout expired.","Unpark the thread and continue scanning the list of parked …","Unpark one thread and leave the rest parked. No requeuing …","Unpark one thread and requeue the rest onto the target …","Result of an unpark operation.","A value which is passed from an unparker to a parked …","We were unparked by another thread with the given token.","This is set to true on average once every 0.5ms for any …","","","","","","","","","","","","","","","","","","","","","","","","","","","[Experimental] Deadlock detection","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Whether there are any threads remaining in the queue. This …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns true if we were unparked by another thread.","Creates a new SpinWait.","Parks the current thread in the queue associated with the …","The number of threads that were requeued.","Resets a SpinWait to its initial state.","Spins until the sleep threshold has been reached.","Spins without yielding the thread to the OS.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Unparks all threads in the queue associated with the given …","Unparks a number of threads from the front of the queue …","Unparks one thread from the queue associated with the …","Removes all threads from the queue associated with key_from…","The number of threads that were unparked.","Acquire a resource identified by key in the deadlock …","Release a resource identified by key in the deadlock …"],"i":[3,0,0,0,1,0,0,3,3,0,4,0,4,1,4,3,3,0,0,1,2,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,1,2,3,4,5,6,0,2,7,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,7,2,1,2,3,4,5,6,7,1,7,0,2,7,7,7,1,2,3,4,5,6,1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7,0,0,0,0,2,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,1],[2,2],[3,3],[4,4],[5,5],[6,6],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],2],[[],7],[[1,1],8],[[2,2],8],[[3,3],8],[[4,4],8],[[5,5],8],[[6,6],8],[[],8],[[],8],[[],8],[[],8],[[],8],[[],8],[[1,9],10],[[2,9],10],[[3,9],10],[[4,9],10],[[5,9],10],[[6,9],10],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,8],[[],7],[[11,12,12,12,6,[14,[13]]],1],0,[7],[7,8],[7],[[]],[[]],[[]],[[]],[[]],[[]],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[11,5],11],[[11,17,12],2],[[11,12],2],[[11,11,12,12],2],0,[11],[11]],"c":[],"p":[[4,"ParkResult"],[3,"UnparkResult"],[4,"RequeueOp"],[4,"FilterOp"],[3,"UnparkToken"],[3,"ParkToken"],[3,"SpinWait"],[15,"bool"],[3,"Formatter"],[6,"Result"],[15,"usize"],[8,"FnOnce"],[6,"Instant"],[4,"Option"],[4,"Result"],[3,"TypeId"],[8,"FnMut"]]},\ "perf_event_open_sys":{"doc":"Direct, unsafe bindings for Linux perf_event_open and …","t":"AAFRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRDRDRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRGGGMMMMMMMMGGGGDDGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGMLMMMGGGGGGGGGGGGGGGMMMMMMMMLLLLLMMLMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMGLMLLLLLLLLMLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMLLMMMMLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLMMLMLLLMLLLLLLLLLLLLLLLLLLLLMMLMLLLLLLLLLLLMLLLLLLLLLLLMLGDGGGDTTTTDGGDTDDGGGGGGGTDDGGTDGGLMLLMMMLLMLMMMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMMMLLMMMMMMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLMLMMMMMMMMLLFFFFFFFFFFFF","n":["bindings","ioctls","perf_event_open","CGROUP_NS_INDEX","DISABLE","ENABLE","HW_BREAKPOINT_EMPTY","HW_BREAKPOINT_INVALID","HW_BREAKPOINT_LEN_1","HW_BREAKPOINT_LEN_2","HW_BREAKPOINT_LEN_3","HW_BREAKPOINT_LEN_4","HW_BREAKPOINT_LEN_5","HW_BREAKPOINT_LEN_6","HW_BREAKPOINT_LEN_7","HW_BREAKPOINT_LEN_8","HW_BREAKPOINT_R","HW_BREAKPOINT_RW","HW_BREAKPOINT_W","HW_BREAKPOINT_X","ID","IOCSIZE_MASK","IOCSIZE_SHIFT","IOC_IN","IOC_INOUT","IOC_OUT","IPC_NS_INDEX","MNT_NS_INDEX","MODIFY_ATTRIBUTES","NET_NS_INDEX","NR_NAMESPACES","PAUSE_OUTPUT","PERF_ATTR_SIZE_VER0","PERF_ATTR_SIZE_VER1","PERF_ATTR_SIZE_VER2","PERF_ATTR_SIZE_VER3","PERF_ATTR_SIZE_VER4","PERF_ATTR_SIZE_VER5","PERF_ATTR_SIZE_VER6","PERF_ATTR_SIZE_VER7","PERF_AUX_FLAG_COLLISION","PERF_AUX_FLAG_CORESIGHT_FORMAT_CORESIGHT","PERF_AUX_FLAG_CORESIGHT_FORMAT_RAW","PERF_AUX_FLAG_OVERWRITE","PERF_AUX_FLAG_PARTIAL","PERF_AUX_FLAG_PMU_FORMAT_TYPE_MASK","PERF_AUX_FLAG_TRUNCATED","PERF_BPF_EVENT_MAX","PERF_BPF_EVENT_PROG_LOAD","PERF_BPF_EVENT_PROG_UNLOAD","PERF_BPF_EVENT_UNKNOWN","PERF_BR_CALL","PERF_BR_COND","PERF_BR_COND_CALL","PERF_BR_COND_RET","PERF_BR_ERET","PERF_BR_IND","PERF_BR_IND_CALL","PERF_BR_IRQ","PERF_BR_MAX","PERF_BR_RET","PERF_BR_SYSCALL","PERF_BR_SYSRET","PERF_BR_UNCOND","PERF_BR_UNKNOWN","PERF_CONTEXT_GUEST","PERF_CONTEXT_GUEST_KERNEL","PERF_CONTEXT_GUEST_USER","PERF_CONTEXT_HV","PERF_CONTEXT_KERNEL","PERF_CONTEXT_MAX","PERF_CONTEXT_USER","PERF_COUNT_HW_BRANCH_INSTRUCTIONS","PERF_COUNT_HW_BRANCH_MISSES","PERF_COUNT_HW_BUS_CYCLES","PERF_COUNT_HW_CACHE_BPU","PERF_COUNT_HW_CACHE_DTLB","PERF_COUNT_HW_CACHE_ITLB","PERF_COUNT_HW_CACHE_L1D","PERF_COUNT_HW_CACHE_L1I","PERF_COUNT_HW_CACHE_LL","PERF_COUNT_HW_CACHE_MAX","PERF_COUNT_HW_CACHE_MISSES","PERF_COUNT_HW_CACHE_NODE","PERF_COUNT_HW_CACHE_OP_MAX","PERF_COUNT_HW_CACHE_OP_PREFETCH","PERF_COUNT_HW_CACHE_OP_READ","PERF_COUNT_HW_CACHE_OP_WRITE","PERF_COUNT_HW_CACHE_REFERENCES","PERF_COUNT_HW_CACHE_RESULT_ACCESS","PERF_COUNT_HW_CACHE_RESULT_MAX","PERF_COUNT_HW_CACHE_RESULT_MISS","PERF_COUNT_HW_CPU_CYCLES","PERF_COUNT_HW_INSTRUCTIONS","PERF_COUNT_HW_MAX","PERF_COUNT_HW_REF_CPU_CYCLES","PERF_COUNT_HW_STALLED_CYCLES_BACKEND","PERF_COUNT_HW_STALLED_CYCLES_FRONTEND","PERF_COUNT_SW_ALIGNMENT_FAULTS","PERF_COUNT_SW_BPF_OUTPUT","PERF_COUNT_SW_CGROUP_SWITCHES","PERF_COUNT_SW_CONTEXT_SWITCHES","PERF_COUNT_SW_CPU_CLOCK","PERF_COUNT_SW_CPU_MIGRATIONS","PERF_COUNT_SW_DUMMY","PERF_COUNT_SW_EMULATION_FAULTS","PERF_COUNT_SW_MAX","PERF_COUNT_SW_PAGE_FAULTS","PERF_COUNT_SW_PAGE_FAULTS_MAJ","PERF_COUNT_SW_PAGE_FAULTS_MIN","PERF_COUNT_SW_TASK_CLOCK","PERF_FLAG_FD_CLOEXEC","PERF_FLAG_FD_NO_GROUP","PERF_FLAG_FD_OUTPUT","PERF_FLAG_PID_CGROUP","PERF_FORMAT_GROUP","PERF_FORMAT_ID","PERF_FORMAT_MAX","PERF_FORMAT_TOTAL_TIME_ENABLED","PERF_FORMAT_TOTAL_TIME_RUNNING","PERF_HW_EVENT_MASK","PERF_IOC_FLAG_GROUP","PERF_MAX_CONTEXTS_PER_STACK","PERF_MAX_STACK_DEPTH","PERF_MEM_BLK_ADDR","PERF_MEM_BLK_DATA","PERF_MEM_BLK_NA","PERF_MEM_BLK_SHIFT","PERF_MEM_HOPS_0","PERF_MEM_HOPS_1","PERF_MEM_HOPS_2","PERF_MEM_HOPS_3","PERF_MEM_HOPS_SHIFT","PERF_MEM_LOCK_LOCKED","PERF_MEM_LOCK_NA","PERF_MEM_LOCK_SHIFT","PERF_MEM_LVLNUM_ANY_CACHE","PERF_MEM_LVLNUM_L1","PERF_MEM_LVLNUM_L2","PERF_MEM_LVLNUM_L3","PERF_MEM_LVLNUM_L4","PERF_MEM_LVLNUM_LFB","PERF_MEM_LVLNUM_NA","PERF_MEM_LVLNUM_PMEM","PERF_MEM_LVLNUM_RAM","PERF_MEM_LVLNUM_SHIFT","PERF_MEM_LVL_HIT","PERF_MEM_LVL_IO","PERF_MEM_LVL_L1","PERF_MEM_LVL_L2","PERF_MEM_LVL_L3","PERF_MEM_LVL_LFB","PERF_MEM_LVL_LOC_RAM","PERF_MEM_LVL_MISS","PERF_MEM_LVL_NA","PERF_MEM_LVL_REM_CCE1","PERF_MEM_LVL_REM_CCE2","PERF_MEM_LVL_REM_RAM1","PERF_MEM_LVL_REM_RAM2","PERF_MEM_LVL_SHIFT","PERF_MEM_LVL_UNC","PERF_MEM_OP_EXEC","PERF_MEM_OP_LOAD","PERF_MEM_OP_NA","PERF_MEM_OP_PFETCH","PERF_MEM_OP_SHIFT","PERF_MEM_OP_STORE","PERF_MEM_REMOTE_REMOTE","PERF_MEM_REMOTE_SHIFT","PERF_MEM_SNOOPX_FWD","PERF_MEM_SNOOPX_SHIFT","PERF_MEM_SNOOP_HIT","PERF_MEM_SNOOP_HITM","PERF_MEM_SNOOP_MISS","PERF_MEM_SNOOP_NA","PERF_MEM_SNOOP_NONE","PERF_MEM_SNOOP_SHIFT","PERF_MEM_TLB_HIT","PERF_MEM_TLB_L1","PERF_MEM_TLB_L2","PERF_MEM_TLB_MISS","PERF_MEM_TLB_NA","PERF_MEM_TLB_OS","PERF_MEM_TLB_SHIFT","PERF_MEM_TLB_WK","PERF_PMU_TYPE_SHIFT","PERF_RECORD_AUX","PERF_RECORD_AUX_OUTPUT_HW_ID","PERF_RECORD_BPF_EVENT","PERF_RECORD_CGROUP","PERF_RECORD_COMM","PERF_RECORD_EXIT","PERF_RECORD_FORK","PERF_RECORD_ITRACE_START","PERF_RECORD_KSYMBOL","PERF_RECORD_KSYMBOL_FLAGS_UNREGISTER","PERF_RECORD_KSYMBOL_TYPE_BPF","PERF_RECORD_KSYMBOL_TYPE_MAX","PERF_RECORD_KSYMBOL_TYPE_OOL","PERF_RECORD_KSYMBOL_TYPE_UNKNOWN","PERF_RECORD_LOST","PERF_RECORD_LOST_SAMPLES","PERF_RECORD_MAX","PERF_RECORD_MISC_COMM_EXEC","PERF_RECORD_MISC_CPUMODE_MASK","PERF_RECORD_MISC_CPUMODE_UNKNOWN","PERF_RECORD_MISC_EXACT_IP","PERF_RECORD_MISC_EXT_RESERVED","PERF_RECORD_MISC_FORK_EXEC","PERF_RECORD_MISC_GUEST_KERNEL","PERF_RECORD_MISC_GUEST_USER","PERF_RECORD_MISC_HYPERVISOR","PERF_RECORD_MISC_KERNEL","PERF_RECORD_MISC_MMAP_BUILD_ID","PERF_RECORD_MISC_MMAP_DATA","PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT","PERF_RECORD_MISC_SWITCH_OUT","PERF_RECORD_MISC_SWITCH_OUT_PREEMPT","PERF_RECORD_MISC_USER","PERF_RECORD_MMAP","PERF_RECORD_MMAP2","PERF_RECORD_NAMESPACES","PERF_RECORD_READ","PERF_RECORD_SAMPLE","PERF_RECORD_SWITCH","PERF_RECORD_SWITCH_CPU_WIDE","PERF_RECORD_TEXT_POKE","PERF_RECORD_THROTTLE","PERF_RECORD_UNTHROTTLE","PERF_SAMPLE_ADDR","PERF_SAMPLE_AUX","PERF_SAMPLE_BRANCH_ABORT_TX","PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT","PERF_SAMPLE_BRANCH_ANY","PERF_SAMPLE_BRANCH_ANY_CALL","PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT","PERF_SAMPLE_BRANCH_ANY_RETURN","PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT","PERF_SAMPLE_BRANCH_ANY_SHIFT","PERF_SAMPLE_BRANCH_CALL","PERF_SAMPLE_BRANCH_CALL_SHIFT","PERF_SAMPLE_BRANCH_CALL_STACK","PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT","PERF_SAMPLE_BRANCH_COND","PERF_SAMPLE_BRANCH_COND_SHIFT","PERF_SAMPLE_BRANCH_HV","PERF_SAMPLE_BRANCH_HV_SHIFT","PERF_SAMPLE_BRANCH_HW_INDEX","PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT","PERF_SAMPLE_BRANCH_IND_CALL","PERF_SAMPLE_BRANCH_IND_CALL_SHIFT","PERF_SAMPLE_BRANCH_IND_JUMP","PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT","PERF_SAMPLE_BRANCH_IN_TX","PERF_SAMPLE_BRANCH_IN_TX_SHIFT","PERF_SAMPLE_BRANCH_KERNEL","PERF_SAMPLE_BRANCH_KERNEL_SHIFT","PERF_SAMPLE_BRANCH_MAX","PERF_SAMPLE_BRANCH_MAX_SHIFT","PERF_SAMPLE_BRANCH_NO_CYCLES","PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT","PERF_SAMPLE_BRANCH_NO_FLAGS","PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT","PERF_SAMPLE_BRANCH_NO_TX","PERF_SAMPLE_BRANCH_NO_TX_SHIFT","PERF_SAMPLE_BRANCH_STACK","PERF_SAMPLE_BRANCH_TYPE_SAVE","PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT","PERF_SAMPLE_BRANCH_USER","PERF_SAMPLE_BRANCH_USER_SHIFT","PERF_SAMPLE_CALLCHAIN","PERF_SAMPLE_CGROUP","PERF_SAMPLE_CODE_PAGE_SIZE","PERF_SAMPLE_CPU","PERF_SAMPLE_DATA_PAGE_SIZE","PERF_SAMPLE_DATA_SRC","PERF_SAMPLE_ID","PERF_SAMPLE_IDENTIFIER","PERF_SAMPLE_IP","PERF_SAMPLE_MAX","PERF_SAMPLE_PERIOD","PERF_SAMPLE_PHYS_ADDR","PERF_SAMPLE_RAW","PERF_SAMPLE_READ","PERF_SAMPLE_REGS_ABI_32","PERF_SAMPLE_REGS_ABI_64","PERF_SAMPLE_REGS_ABI_NONE","PERF_SAMPLE_REGS_INTR","PERF_SAMPLE_REGS_USER","PERF_SAMPLE_STACK_USER","PERF_SAMPLE_STREAM_ID","PERF_SAMPLE_TID","PERF_SAMPLE_TIME","PERF_SAMPLE_TRANSACTION","PERF_SAMPLE_WEIGHT","PERF_SAMPLE_WEIGHT_STRUCT","PERF_TXN_ABORT_MASK","PERF_TXN_ABORT_SHIFT","PERF_TXN_ASYNC","PERF_TXN_CAPACITY_READ","PERF_TXN_CAPACITY_WRITE","PERF_TXN_CONFLICT","PERF_TXN_ELISION","PERF_TXN_MAX","PERF_TXN_RETRY","PERF_TXN_SYNC","PERF_TXN_TRANSACTION","PERF_TYPE_BREAKPOINT","PERF_TYPE_HARDWARE","PERF_TYPE_HW_CACHE","PERF_TYPE_MAX","PERF_TYPE_RAW","PERF_TYPE_SOFTWARE","PERF_TYPE_TRACEPOINT","PERIOD","PID_NS_INDEX","QUERY_BPF","REFRESH","RESET","SET_BPF","SET_FILTER","SET_OUTPUT","TYPE_DATA","TYPE_INST","TYPE_MAX","USER_NS_INDEX","UTS_NS_INDEX","_IOC_DIRBITS","_IOC_DIRMASK","_IOC_DIRSHIFT","_IOC_NONE","_IOC_NRBITS","_IOC_NRMASK","_IOC_NRSHIFT","_IOC_READ","_IOC_SIZEBITS","_IOC_SIZEMASK","_IOC_SIZESHIFT","_IOC_TYPEBITS","_IOC_TYPEMASK","_IOC_TYPESHIFT","_IOC_WRITE","__BITS_PER_LONG","__BindgenBitfieldUnit","__FD_SETSIZE","__IncompleteArrayField","__LITTLE_ENDIAN","__NR__sysctl","__NR_accept","__NR_accept4","__NR_access","__NR_acct","__NR_add_key","__NR_adjtimex","__NR_afs_syscall","__NR_alarm","__NR_arch_prctl","__NR_bind","__NR_bpf","__NR_brk","__NR_capget","__NR_capset","__NR_chdir","__NR_chmod","__NR_chown","__NR_chroot","__NR_clock_adjtime","__NR_clock_getres","__NR_clock_gettime","__NR_clock_nanosleep","__NR_clock_settime","__NR_clone","__NR_clone3","__NR_close","__NR_close_range","__NR_connect","__NR_copy_file_range","__NR_creat","__NR_create_module","__NR_delete_module","__NR_dup","__NR_dup2","__NR_dup3","__NR_epoll_create","__NR_epoll_create1","__NR_epoll_ctl","__NR_epoll_ctl_old","__NR_epoll_pwait","__NR_epoll_pwait2","__NR_epoll_wait","__NR_epoll_wait_old","__NR_eventfd","__NR_eventfd2","__NR_execve","__NR_execveat","__NR_exit","__NR_exit_group","__NR_faccessat","__NR_faccessat2","__NR_fadvise64","__NR_fallocate","__NR_fanotify_init","__NR_fanotify_mark","__NR_fchdir","__NR_fchmod","__NR_fchmodat","__NR_fchown","__NR_fchownat","__NR_fcntl","__NR_fdatasync","__NR_fgetxattr","__NR_finit_module","__NR_flistxattr","__NR_flock","__NR_fork","__NR_fremovexattr","__NR_fsconfig","__NR_fsetxattr","__NR_fsmount","__NR_fsopen","__NR_fspick","__NR_fstat","__NR_fstatfs","__NR_fsync","__NR_ftruncate","__NR_futex","__NR_futex_waitv","__NR_futimesat","__NR_get_kernel_syms","__NR_get_mempolicy","__NR_get_robust_list","__NR_get_thread_area","__NR_getcpu","__NR_getcwd","__NR_getdents","__NR_getdents64","__NR_getegid","__NR_geteuid","__NR_getgid","__NR_getgroups","__NR_getitimer","__NR_getpeername","__NR_getpgid","__NR_getpgrp","__NR_getpid","__NR_getpmsg","__NR_getppid","__NR_getpriority","__NR_getrandom","__NR_getresgid","__NR_getresuid","__NR_getrlimit","__NR_getrusage","__NR_getsid","__NR_getsockname","__NR_getsockopt","__NR_gettid","__NR_gettimeofday","__NR_getuid","__NR_getxattr","__NR_init_module","__NR_inotify_add_watch","__NR_inotify_init","__NR_inotify_init1","__NR_inotify_rm_watch","__NR_io_cancel","__NR_io_destroy","__NR_io_getevents","__NR_io_pgetevents","__NR_io_setup","__NR_io_submit","__NR_io_uring_enter","__NR_io_uring_register","__NR_io_uring_setup","__NR_ioctl","__NR_ioperm","__NR_iopl","__NR_ioprio_get","__NR_ioprio_set","__NR_kcmp","__NR_kexec_file_load","__NR_kexec_load","__NR_keyctl","__NR_kill","__NR_landlock_add_rule","__NR_landlock_create_ruleset","__NR_landlock_restrict_self","__NR_lchown","__NR_lgetxattr","__NR_link","__NR_linkat","__NR_listen","__NR_listxattr","__NR_llistxattr","__NR_lookup_dcookie","__NR_lremovexattr","__NR_lseek","__NR_lsetxattr","__NR_lstat","__NR_madvise","__NR_mbind","__NR_membarrier","__NR_memfd_create","__NR_memfd_secret","__NR_migrate_pages","__NR_mincore","__NR_mkdir","__NR_mkdirat","__NR_mknod","__NR_mknodat","__NR_mlock","__NR_mlock2","__NR_mlockall","__NR_mmap","__NR_modify_ldt","__NR_mount","__NR_mount_setattr","__NR_move_mount","__NR_move_pages","__NR_mprotect","__NR_mq_getsetattr","__NR_mq_notify","__NR_mq_open","__NR_mq_timedreceive","__NR_mq_timedsend","__NR_mq_unlink","__NR_mremap","__NR_msgctl","__NR_msgget","__NR_msgrcv","__NR_msgsnd","__NR_msync","__NR_munlock","__NR_munlockall","__NR_munmap","__NR_name_to_handle_at","__NR_nanosleep","__NR_newfstatat","__NR_nfsservctl","__NR_open","__NR_open_by_handle_at","__NR_open_tree","__NR_openat","__NR_openat2","__NR_pause","__NR_perf_event_open","__NR_personality","__NR_pidfd_getfd","__NR_pidfd_open","__NR_pidfd_send_signal","__NR_pipe","__NR_pipe2","__NR_pivot_root","__NR_pkey_alloc","__NR_pkey_free","__NR_pkey_mprotect","__NR_poll","__NR_ppoll","__NR_prctl","__NR_pread64","__NR_preadv","__NR_preadv2","__NR_prlimit64","__NR_process_madvise","__NR_process_mrelease","__NR_process_vm_readv","__NR_process_vm_writev","__NR_pselect6","__NR_ptrace","__NR_putpmsg","__NR_pwrite64","__NR_pwritev","__NR_pwritev2","__NR_query_module","__NR_quotactl","__NR_quotactl_fd","__NR_read","__NR_readahead","__NR_readlink","__NR_readlinkat","__NR_readv","__NR_reboot","__NR_recvfrom","__NR_recvmmsg","__NR_recvmsg","__NR_remap_file_pages","__NR_removexattr","__NR_rename","__NR_renameat","__NR_renameat2","__NR_request_key","__NR_restart_syscall","__NR_rmdir","__NR_rseq","__NR_rt_sigaction","__NR_rt_sigpending","__NR_rt_sigprocmask","__NR_rt_sigqueueinfo","__NR_rt_sigreturn","__NR_rt_sigsuspend","__NR_rt_sigtimedwait","__NR_rt_tgsigqueueinfo","__NR_sched_get_priority_max","__NR_sched_get_priority_min","__NR_sched_getaffinity","__NR_sched_getattr","__NR_sched_getparam","__NR_sched_getscheduler","__NR_sched_rr_get_interval","__NR_sched_setaffinity","__NR_sched_setattr","__NR_sched_setparam","__NR_sched_setscheduler","__NR_sched_yield","__NR_seccomp","__NR_security","__NR_select","__NR_semctl","__NR_semget","__NR_semop","__NR_semtimedop","__NR_sendfile","__NR_sendmmsg","__NR_sendmsg","__NR_sendto","__NR_set_mempolicy","__NR_set_mempolicy_home_node","__NR_set_robust_list","__NR_set_thread_area","__NR_set_tid_address","__NR_setdomainname","__NR_setfsgid","__NR_setfsuid","__NR_setgid","__NR_setgroups","__NR_sethostname","__NR_setitimer","__NR_setns","__NR_setpgid","__NR_setpriority","__NR_setregid","__NR_setresgid","__NR_setresuid","__NR_setreuid","__NR_setrlimit","__NR_setsid","__NR_setsockopt","__NR_settimeofday","__NR_setuid","__NR_setxattr","__NR_shmat","__NR_shmctl","__NR_shmdt","__NR_shmget","__NR_shutdown","__NR_sigaltstack","__NR_signalfd","__NR_signalfd4","__NR_socket","__NR_socketpair","__NR_splice","__NR_stat","__NR_statfs","__NR_statx","__NR_swapoff","__NR_swapon","__NR_symlink","__NR_symlinkat","__NR_sync","__NR_sync_file_range","__NR_syncfs","__NR_sysfs","__NR_sysinfo","__NR_syslog","__NR_tee","__NR_tgkill","__NR_time","__NR_timer_create","__NR_timer_delete","__NR_timer_getoverrun","__NR_timer_gettime","__NR_timer_settime","__NR_timerfd_create","__NR_timerfd_gettime","__NR_timerfd_settime","__NR_times","__NR_tkill","__NR_truncate","__NR_tuxcall","__NR_umask","__NR_umount2","__NR_uname","__NR_unlink","__NR_unlinkat","__NR_unshare","__NR_uselib","__NR_userfaultfd","__NR_ustat","__NR_utime","__NR_utimensat","__NR_utimes","__NR_vfork","__NR_vhangup","__NR_vmsplice","__NR_vserver","__NR_wait4","__NR_waitid","__NR_write","__NR_writev","__PERF_SAMPLE_CALLCHAIN_EARLY","__X32_SYSCALL_BIT","__be16","__be32","__be64","__bindgen_anon_1","__bindgen_anon_1","__bindgen_anon_1","__bindgen_anon_1","__bindgen_anon_1","__bindgen_anon_2","__bindgen_anon_3","__bindgen_anon_4","__kernel_caddr_t","__kernel_clock_t","__kernel_clockid_t","__kernel_daddr_t","__kernel_fd_set","__kernel_fsid_t","__kernel_gid16_t","__kernel_gid32_t","__kernel_gid_t","__kernel_ino_t","__kernel_ipc_pid_t","__kernel_key_t","__kernel_loff_t","__kernel_long_t","__kernel_mode_t","__kernel_mqd_t","__kernel_off_t","__kernel_old_dev_t","__kernel_old_gid_t","__kernel_old_time_t","__kernel_old_uid_t","__kernel_pid_t","__kernel_ptrdiff_t","__kernel_sighandler_t","__kernel_size_t","__kernel_ssize_t","__kernel_suseconds_t","__kernel_time64_t","__kernel_time_t","__kernel_timer_t","__kernel_uid16_t","__kernel_uid32_t","__kernel_uid_t","__kernel_ulong_t","__le16","__le32","__le64","__poll_t","__reserved","__reserved_1","__reserved_1","__reserved_2","__reserved_3","__s16","__s32","__s64","__s8","__sum16","__u16","__u32","__u64","__u8","__wsum","_bindgen_ty_1","_bindgen_ty_2","_bindgen_ty_3","_bindgen_ty_4","_bindgen_ty_5","_bitfield_1","_bitfield_1","_bitfield_1","_bitfield_1","_bitfield_align_1","_bitfield_align_1","_bitfield_align_1","_bitfield_align_1","abort","as_mut_ptr","as_mut_slice","as_ptr","as_slice","aux_head","aux_offset","aux_output","aux_sample_size","aux_size","aux_tail","aux_watermark","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bp_addr","bp_len","bp_type","bp_type_idx","bpf_event","branch_sample_type","build_id","cap_____res","cap_bit0","cap_bit0_is_deprecated","cap_user_rdpmc","cap_user_time","cap_user_time_short","cap_user_time_zero","capabilities","cgroup","clockid","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","comm","comm_exec","compat_version","config","config1","config2","context_switch","cycles","data_head","data_offset","data_size","data_tail","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","dev","disabled","enable_on_exec","eq","equivalent","exclude_callchain_kernel","exclude_callchain_user","exclude_guest","exclude_host","exclude_hv","exclude_idle","exclude_kernel","exclude_user","exclusive","fds_bits","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","freq","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","full","get","get_bit","hash","ids","ids_len","in_tx","index","inherit","inherit_stat","inherit_thread","ino","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","kprobe_addr","kprobe_func","ksymbol","lock","mem_blk","mem_dtlb","mem_hops","mem_lock","mem_lvl","mem_lvl_num","mem_op","mem_remote","mem_rsvd","mem_snoop","mem_snoopx","misc","mispred","mmap","mmap2","mmap_data","namespaces","new","new","new_bitfield_1","new_bitfield_1","new_bitfield_1","new_bitfield_1","offset","partial_cmp","perf_bpf_event_type","perf_branch_entry","perf_branch_sample_type","perf_branch_sample_type_shift","perf_callchain_context","perf_event_attr","perf_event_attr__bindgen_ty_1","perf_event_attr__bindgen_ty_2","perf_event_attr__bindgen_ty_3","perf_event_attr__bindgen_ty_4","perf_event_header","perf_event_ioc_flags","perf_event_ioctls","perf_event_mmap_page","perf_event_mmap_page__bindgen_ty_1","perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1","perf_event_query_bpf","perf_event_read_format","perf_event_sample_format","perf_event_type","perf_hw_cache_id","perf_hw_cache_op_id","perf_hw_cache_op_result_id","perf_hw_id","perf_mem_data_src","perf_mem_data_src__bindgen_ty_1","perf_ns_link_info","perf_record_ksymbol_type","perf_sample_regs_abi","perf_sample_weight","perf_sample_weight__bindgen_ty_1","perf_sw_ids","perf_type_id","pinned","pmc_width","precise_ip","predicted","probe_offset","prog_cnt","read_format","remove_on_exec","reserved","sample_freq","sample_id_all","sample_max_stack","sample_period","sample_regs_intr","sample_regs_user","sample_stack_user","sample_type","set","set___reserved_1","set_abort","set_aux_output","set_bit","set_bpf_event","set_build_id","set_cap_____res","set_cap_bit0","set_cap_bit0_is_deprecated","set_cap_user_rdpmc","set_cap_user_time","set_cap_user_time_short","set_cap_user_time_zero","set_cgroup","set_comm","set_comm_exec","set_context_switch","set_cycles","set_disabled","set_enable_on_exec","set_exclude_callchain_kernel","set_exclude_callchain_user","set_exclude_guest","set_exclude_host","set_exclude_hv","set_exclude_idle","set_exclude_kernel","set_exclude_user","set_exclusive","set_freq","set_in_tx","set_inherit","set_inherit_stat","set_inherit_thread","set_ksymbol","set_mem_blk","set_mem_dtlb","set_mem_hops","set_mem_lock","set_mem_lvl","set_mem_lvl_num","set_mem_op","set_mem_remote","set_mem_rsvd","set_mem_snoop","set_mem_snoopx","set_mispred","set_mmap","set_mmap2","set_mmap_data","set_namespaces","set_pinned","set_precise_ip","set_predicted","set_remove_on_exec","set_reserved","set_sample_id_all","set_sigtrap","set_task","set_text_poke","set_type","set_use_clockid","set_watermark","set_write_backward","sig_data","sigtrap","size","size","size","task","text_poke","time_cycles","time_enabled","time_mask","time_mult","time_offset","time_running","time_shift","time_zero","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_","type_","type_","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","uprobe_path","use_clockid","val","val","var1_dw","var2_w","var3_w","version","wakeup_events","wakeup_watermark","watermark","write_backward","DISABLE","ENABLE","ID","MODIFY_ATTRIBUTES","PAUSE_OUTPUT","PERIOD","QUERY_BPF","REFRESH","RESET","SET_BPF","SET_FILTER","SET_OUTPUT"],"q":[[0,"perf_event_open_sys"],[3,"perf_event_open_sys::bindings"],[1259,"perf_event_open_sys::ioctls"]],"d":["Types and constants used with perf_event_open.","Ioctls for use with perf_event_open file descriptors.","The perf_event_open system call.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,19,20,23,25,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,1,19,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,10,24,6,1,10,24,6,6,7,7,7,7,19,19,1,1,19,19,1,12,7,13,14,1,15,16,17,18,30,19,20,10,21,22,23,24,6,25,26,12,7,13,14,1,15,16,17,18,30,19,20,10,21,22,23,24,6,25,26,17,18,1,0,1,1,1,10,10,10,10,10,10,10,20,1,1,12,13,14,1,15,16,17,18,19,20,10,21,22,23,24,6,25,26,12,13,14,1,15,16,17,18,19,20,10,21,22,23,24,6,25,26,12,1,1,19,1,17,18,1,6,19,19,19,19,12,7,13,14,1,15,16,17,18,30,19,20,10,21,22,23,24,6,25,26,22,1,1,12,12,1,1,1,1,1,1,1,1,1,13,12,7,13,14,30,10,21,22,24,6,26,1,12,7,13,14,1,15,16,17,18,30,19,20,10,21,22,23,24,6,25,26,6,25,12,12,12,30,30,6,19,1,1,1,22,12,7,13,14,1,15,16,17,18,30,19,20,10,21,22,23,24,6,25,26,18,17,1,19,24,24,24,24,24,24,24,24,24,24,24,21,6,1,1,1,1,12,7,1,10,24,6,19,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,19,1,6,18,30,1,1,6,15,1,1,15,1,1,1,1,12,1,6,1,12,1,1,10,10,10,10,10,10,10,1,1,1,1,6,1,1,1,1,1,1,1,1,1,1,1,1,6,1,1,1,1,24,24,24,24,24,24,24,24,24,24,24,6,1,1,1,1,1,1,6,1,6,1,1,1,1,6,1,1,1,1,1,1,19,21,1,1,19,19,19,19,19,19,19,19,6,12,13,14,1,15,16,17,18,19,20,10,21,22,23,24,6,25,26,12,7,13,14,1,15,16,17,18,30,19,20,10,21,22,23,24,6,25,26,12,7,13,14,1,15,16,17,18,30,19,20,10,21,22,23,24,6,25,26,6,1,21,12,7,13,14,1,15,16,17,18,30,19,20,10,21,22,23,24,6,25,26,17,1,14,23,26,26,26,19,16,16,1,1,0,0,0,0,0,0,0,0,0,0,0,0],"f":[0,0,[[1,2,3,3,4],3],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[6,5],[7],[[7,8],9],[7],[[7,8],9],0,0,[1,5],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[1,5],0,[1,5],[10,5],[10,5],[10,5],[10,5],[10,5],[10,5],[10,5],0,[1,5],0,[[[12,[11]]],[[12,[11]]]],[13,13],[14,14],[1,1],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[10,10],[21,21],[22,22],[23,23],[24,24],[6,6],[25,25],[26,26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[12,[27]],[12,[27]]],28],[1,5],[1,5],0,0,0,0,[1,5],[6,5],0,0,0,0,[[],[[12,[29]]]],[[],[[7,[29]]]],[[],13],[[],14],[[],1],[[],15],[[],16],[[],17],[[],18],[[],30],[[],19],[[],20],[[],10],[[],21],[[],22],[[],23],[[],24],[[],6],[[],25],[[],26],0,[1,5],[1,5],[[[12,[31]],[12,[31]]],32],[[],32],[1,5],[1,5],[1,5],[1,5],[1,5],[1,5],[1,5],[1,5],[1,5],0,[[[12,[33]],34],35],[[7,34],35],[[13,34],35],[[14,34],35],[[30,34],35],[[10,34],35],[[21,34],35],[[22,34],35],[[24,34],35],[[6,34],35],[[26,34],35],[1,5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[[12,[[0,[[37,[[9,[36]]]],[38,[[9,[36]]]]]]]],8,36],39],[[[12,[[0,[[37,[[9,[36]]]],[38,[[9,[36]]]]]]]],8],32],[[[12,[40]],41]],0,0,[6,5],0,[1,5],[1,5],[1,5],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[1,5],0,[24,5],[24,5],[24,5],[24,5],[24,5],[24,5],[24,5],[24,5],[24,5],[24,5],[24,5],0,[6,5],[1,5],[1,5],[1,5],[1,5],[[],12],[[],7],[[5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],[[12,[[42,[36]]]]]],[[5,5,5,5,5,5,5],[[12,[[42,[36]]]]]],[[5,5,5,5,5,5,5,5,5,5,5],[[12,[[42,[36]]]]]],[[5,5,5,5,5,5,5],[[12,[[42,[36]]]]]],0,[[[12,[43]],[12,[43]]],[[44,[28]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,5],0,[1,5],[6,5],0,0,0,[1,5],[6,5],0,[1,5],0,0,0,0,0,0,[[[12,[[0,[[37,[[9,[36]]]],[38,[[9,[36]]]]]]]],8,36,39]],[[1,5]],[[6,5]],[[1,5]],[[[12,[[0,[[37,[[9,[36]]]],[38,[[9,[36]]]]]]]],8,32]],[[1,5]],[[1,5]],[[10,5]],[[10,5]],[[10,5]],[[10,5]],[[10,5]],[[10,5]],[[10,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[6,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[6,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[24,5]],[[24,5]],[[24,5]],[[24,5]],[[24,5]],[[24,5]],[[24,5]],[[24,5]],[[24,5]],[[24,5]],[[24,5]],[[6,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[6,5]],[[1,5]],[[6,5]],[[1,5]],[[1,5]],[[1,5]],[[1,5]],[[6,5]],[[1,5]],[[1,5]],[[1,5]],0,[1,5],0,0,0,[1,5],[1,5],0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[[],45],[6,5],0,0,[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],[[],46],0,[1,5],0,0,0,0,0,0,0,0,[1,5],[1,5],[[3,47],3],[[3,47],3],[[3,39],3],[[3,1],3],[[3,48],3],[[3,39],3],[[3,30],3],[[3,3],3],[[3,47],3],[[3,48],3],[[3,49],3],[[3,3],3]],"c":[],"p":[[3,"perf_event_attr"],[6,"pid_t"],[6,"c_int"],[6,"c_ulong"],[6,"__u64"],[3,"perf_branch_entry"],[3,"__IncompleteArrayField"],[15,"usize"],[15,"slice"],[3,"perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1"],[8,"Clone"],[3,"__BindgenBitfieldUnit"],[3,"__kernel_fd_set"],[3,"__kernel_fsid_t"],[19,"perf_event_attr__bindgen_ty_1"],[19,"perf_event_attr__bindgen_ty_2"],[19,"perf_event_attr__bindgen_ty_3"],[19,"perf_event_attr__bindgen_ty_4"],[3,"perf_event_mmap_page"],[19,"perf_event_mmap_page__bindgen_ty_1"],[3,"perf_event_header"],[3,"perf_ns_link_info"],[19,"perf_mem_data_src"],[3,"perf_mem_data_src__bindgen_ty_1"],[19,"perf_sample_weight"],[3,"perf_sample_weight__bindgen_ty_1"],[8,"Ord"],[4,"Ordering"],[8,"Default"],[3,"perf_event_query_bpf"],[8,"PartialEq"],[15,"bool"],[8,"Debug"],[3,"Formatter"],[6,"Result"],[15,"u8"],[8,"AsRef"],[8,"AsMut"],[15,"u64"],[8,"Hash"],[8,"Hasher"],[15,"array"],[8,"PartialOrd"],[4,"Option"],[4,"Result"],[3,"TypeId"],[6,"c_uint"],[15,"u32"],[6,"c_char"]]},\ -"pest":{"doc":"pest. The Elegant Parser","t":"NENNNDDEENNNGIDDNIDDNENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAOLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLFLLLLLLLKOLLLLLAALLLLLLFLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMNDEEENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLMLMMMDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLENDDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLENDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Atomic","Atomicity","BottomToTop","CompoundAtomic","End","Lines","LinesSpan","Lookahead","MatchDir","Negative","NonAtomic","None","ParseResult","Parser","ParserState","Position","Positive","RuleType","Span","Stack","Start","Token","TopToBottom","as_str","atomic","atomicity","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clear_snapshot","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","default","end","end_of_input","end_pos","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","error","fails_with","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_start","get","get_input","hash","hash","hash","index","into","into","into","into","into","into","into","into","into","into","into_iter","into_iter","is_empty","iterators","len","line_col","line_of","lines","lines_span","lookahead","match_char_by","match_insensitive","match_range","match_string","merge_spans","new","new","new","new","next","next","optional","parse","parses_to","partial_cmp","peek","pop","pos","position","pratt_parser","prec_climber","push","repeat","restore","restore_on_err","rule","sequence","set_call_limit","skip","skip_until","snapshot","span","split","stack_drop","stack_match_peek","stack_match_peek_slice","stack_match_pop","stack_peek","stack_pop","stack_push","start","start_of_input","start_pos","state","tag_node","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","pos","pos","rule","rule","CustomError","Error","ErrorVariant","InputLocation","LineColLocation","ParsingError","Pos","Pos","Span","Span","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","hash","hash","hash","hash","into","into","into","into","line","line_col","location","message","new_from_pos","new_from_span","path","renamed_rules","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","variant","with_path","message","negatives","positives","FlatPairs","Pair","Pairs","Tokens","as_node_tag","as_rule","as_span","as_str","as_str","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","concat","eq","eq","equivalent","equivalent","find_first_tagged","find_tagged","flatten","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","get_input","get_input","hash","hash","into","into","into","into","into_inner","into_iter","into_iter","into_iter","into_span","len","len","len","line_col","next","next","next","next_back","next_back","next_back","peek","single","size_hint","size_hint","size_hint","to_owned","to_owned","to_owned","to_owned","to_string","to_string","tokens","tokens","tokens","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","Assoc","Left","Op","PrattParser","PrattParserMap","Right","bitor","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","eq","equivalent","fmt","from","from","from","from","infix","into","into","into","into","map_infix","map_postfix","map_prefix","map_primary","new","op","parse","postfix","prefix","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","Assoc","Left","Operator","PrecClimber","Right","bitor","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","climb","clone","clone_into","eq","equivalent","fmt","fmt","fmt","from","from","from","into","into","into","new","new","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id"],"q":[[0,"pest"],[204,"pest::Token"],[208,"pest::error"],[290,"pest::error::ErrorVariant"],[293,"pest::iterators"],[385,"pest::pratt_parser"],[437,"pest::prec_climber"]],"d":["prevents implicit whitespace: inside an atomic rule, the …","The current atomicity of a ParserState.","from the bottom to the top of the stack","The same as atomic, but inner tokens are produced as …","The ending Position of a matched Rule","Line iterator for Spans, created by Span::lines().","Line iterator for Spans, created by Span::lines_span().","The current lookahead status of a ParserState.","Match direction for the stack. Used in PEEK[a..b]/…","The negative predicate, written as an exclamation mark !, …","implicit whitespace is enabled","No lookahead (i.e. it will consume input).","Type alias to simplify specifying the return value of …","A trait with a single method that parses strings.","The complete state of a Parser.","A cursor position in a &str which provides useful methods …","The positive predicate, written as an ampersand &, …","A trait which parser rules must implement.","A span over a &str. It is created from either two Positions…","Implementation of a Stack which maintains popped elements …","The starting Position of a matched Rule","A token generated by a Parser.","from the top to the bottom of the stack","Captures a slice from the &str defined by the Span.","Transformation which stops Tokens from being generated …","Returns the current atomicity of the ParserState.","","","","","","","","","","","","","","","","","","","","","The parsing after the last snapshot was successful so …","","","","","","","","","","","","","","","Returns the Span’s end byte position as a usize.","Attempts to match the end of the input. Returns Ok with …","Returns the Span’s end Position.","","","","","","","","","","","","","Types for different kinds of parsing failures.","Testing tool that compares produced errors.","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Creates a Position at the start of a &str.","Attempts to create a new span based on a sub-range.","Returns the input string of the Span.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","Returns true if the stack is currently empty.","Types and iterators for parser output.","Returns the size of the stack","Returns the line and column number of this Position.","Returns the entire line of the input that contains this …","Iterates over all lines (partially) covered by this span. …","Iterates over all lines (partially) covered by this span. …","Starts a lookahead transformation provided by f from the …","Attempts to match a single character based on a filter …","Attempts to case-insensitively match the given string. …","Attempts to match a single character from the given range. …","Attempts to match the given string. Returns Ok with the …","Merges two spans into one.","Allocates a fresh ParserState object to the heap and …","Attempts to create a new Position at the given position. …","Attempts to create a new span. Will return None if …","Creates a new Stack.","","","Optionally applies the transformation provided by f from …","Parses a &str starting from rule.","Testing tool that compares produced tokens.","","Returns the top-most &T in the Stack.","Pops the top-most T from the Stack.","Returns the byte position of this Position as a usize.","Returns a reference to the current Position of the …","Constructs useful in prefix, postfix, and infix operator …","Constructs useful in infix operator parsing with the …","Pushes a T onto the Stack.","Repeatedly applies the transformation provided by f from …","Rewinds the Stack to the most recent snapshot(). If no …","Restores the original state of the ParserState when f …","Wrapper needed to generate tokens. This will associate the …","Starts a sequence of transformations provided by f from …","Sets the maximum call limit for the parser state to …","Attempts to skip n characters forward. Returns Ok with the …","Attempts to skip forward until one of the given strings is …","Takes a snapshot of the current Stack.","Creates a Span from two Positions.","Splits the Span into a pair of Positions.","Drops the top of the stack. Returns Ok(Box<ParserState>) …","Matches the full state of the stack.","Matches part of the state of the stack.","Matches the full state of the stack. This method will …","Peeks the top of the stack and attempts to match the …","Pops the top of the stack and attempts to match the …","Evaluates the result of closure f and pushes the span of …","Returns the Span’s start byte position as a usize.","Attempts to match the start of the input. Returns Ok with …","Returns the Span’s start Position.","Creates a ParserState from a &str, supplying it to a …","Tag current node","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","starting position","ending position","matched rule","matched rule","Custom error with a message","Parse-related error type.","Different kinds of parsing errors.","Where an Error has occurred.","Line/column where an Error has occurred.","Generated parsing error with expected and unexpected Rules","Error was created by Error::new_from_pos","Line/column pair if Error was created by …","Error was created by Error::new_from_span","Line/column pairs if Error was created by …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the line that the error is on.","Line/column within the input string","Location within the input string","Returns the error message for ErrorVariant","Creates Error from ErrorVariant and Position.","Creates Error from ErrorVariant and Span.","Returns the path set using Error::with_path().","Renames all Rules if this is a ParsingError. It does …","","","","","","","","","","","","","","","","","","","Variant of the error","Returns Error variant with path which is shown when …","Short explanation","Negative attempts","Positive attempts","An iterator over Pairs. It is created by Pairs::flatten.","A matching pair of Tokens and everything between them.","An iterator over Pairs. It is created by pest::state and …","An iterator over Tokens. It is created by Pair::tokens and …","Get current node tag","Returns the Rule of the Pair.","Returns the Span defined by the Pair, without consuming it.","Captures a slice from the &str defined by the token Pair.","Captures a slice from the &str defined by the starting …","","","","","","","","","","","","","","","","","Captures inner token Pairs and concatenates resulting &str…","","","","","Finds the first pair that has its node or branch tagged …","Returns the iterator over pairs that have their node or …","Flattens the Pairs.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the input string of the Pair.","Returns the input string of Pairs.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the inner Pairs between the Pair, consuming it.","","","","Returns the Span defined by the Pair, consuming it.","","","","Returns the line, col of this pair start.","","","","","","","Peek at the first inner Pair without changing the position …","Create a new Pairs iterator containing just the single Pair…","","","","","","","","","","Returns the Tokens for these pairs.","Returns the Tokens for the Pair.","Returns the Tokens for the Pairs.","","","","","","","","","","","","","Associativity of an infix binary operator, used by …","Left operator associativity. Evaluate expressions from …","An operator that corresponds to a rule.","Struct containing operators and precedences, which can …","Product of calling map_primary on PrattParser, defines how …","Right operator associativity. Evaluate expressions from …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Defines rule as an infix binary operator with …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Maps infix operators with a closure infix.","Maps postfix operators with closure postfix.","Maps prefix operators with closure prefix.","Maps primary expressions with a closure primary.","Instantiate a new PrattParser.","Add op to PrattParser.","The last method to call on the provided pairs to execute …","Defines rule as a postfix unary operator.","Defines rule as a prefix unary operator.","","","","","","","","","","","","","","Associativity of an Operator.","Left Operator associativity","Infix operator used in PrecClimber.","List of operators and precedences, which can perform …","Right Operator associativity","","","","","","","","Performs the precedence climbing algorithm on the pairs in …","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Creates a new Operator from a Rule and Assoc.","Creates a new PrecClimber from the Operators contained in …","","","","","","","","","",""],"i":[6,0,12,6,14,0,0,0,0,11,6,11,0,0,0,0,11,0,0,0,14,0,12,1,4,4,29,28,11,6,12,4,13,1,10,14,29,28,11,6,12,4,13,1,10,14,10,11,6,12,13,1,14,11,6,12,13,1,14,13,10,1,4,1,11,6,12,13,1,14,11,6,12,13,1,14,0,0,11,6,12,4,13,1,10,14,29,28,11,6,12,4,13,1,10,14,13,1,1,13,1,14,10,29,28,11,6,12,4,13,1,10,14,29,28,10,0,10,13,13,1,1,4,4,4,4,4,0,4,13,1,10,29,28,4,56,0,13,10,10,13,4,0,0,10,4,10,4,4,4,0,4,4,10,13,1,4,4,4,4,4,4,4,1,4,1,0,4,11,6,12,13,1,14,29,28,11,6,12,4,13,1,10,14,29,28,11,6,12,4,13,1,10,14,29,28,11,6,12,4,13,1,10,14,57,58,57,58,39,0,0,0,0,39,40,41,40,41,32,39,40,41,32,39,40,41,32,39,40,41,32,39,40,41,32,39,40,41,32,39,40,41,32,32,39,39,40,41,32,39,40,41,41,41,32,39,40,41,32,39,40,41,32,32,32,39,32,32,32,32,32,39,40,41,32,39,32,39,40,41,32,39,40,41,32,39,40,41,32,32,59,60,60,0,0,0,0,43,43,43,43,31,44,43,31,45,44,43,31,45,44,43,31,45,44,43,31,45,31,43,31,43,31,31,31,31,44,43,43,31,31,45,44,43,31,45,43,31,43,31,44,43,31,45,43,44,31,45,43,44,31,45,43,44,31,45,44,31,45,31,31,44,31,45,44,43,31,45,43,31,44,43,31,44,43,31,45,44,43,31,45,44,43,31,45,0,48,0,0,0,48,47,47,49,50,48,47,49,50,48,48,48,49,48,48,48,47,49,50,48,47,47,49,50,48,50,50,50,49,49,49,50,47,47,48,47,49,50,48,47,49,50,48,47,49,50,48,0,54,0,0,54,52,54,52,53,54,52,53,53,54,54,54,54,54,52,53,54,52,53,54,52,53,52,53,54,54,52,53,54,52,53,54,52,53],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[[[5,[[4,[3]]]],6,7],[[8,[[5,[[4,[3]]]]]]]],[[[4,[3]]],6],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[10,[9]]]],[11,11],[6,6],[12,12],[13,13],[1,1],[[[14,[9]]],[[14,[9]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[13,13],15],[[],[[10,[9]]]],[1,16],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[1,13],[[11,11],17],[[6,6],17],[[12,12],17],[[13,13],17],[[1,1],17],[[[14,[18]],[14,[18]]],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],0,0,[[11,19],20],[[6,19],20],[[12,19],20],[[[4,[[0,[21,3]]]],19],20],[[13,19],20],[[1,19],20],[[[10,[[0,[21,9]]]],19],20],[[[14,[21]],19],20],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[2,13],[[1,[22,[16]]],[[23,[1]]]],[1,2],[[13,24]],[[1,24]],[[[14,[25]],24]],[[[10,[9]],[26,[16]]],[[27,[9]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[10,[9]]],17],0,[[[10,[9]]],16],[13],[13,2],[1,28],[1,29],[[[5,[[4,[3]]]],17,7],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],2],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],[26,[30]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],2],[[8,[[5,[[4,[3]]]]]]]],[[1,1],[[23,[1]]]],[2,[[5,[[4,[3]]]]]],[[2,16],[[23,[13]]]],[[2,16,16],[[23,[1]]]],[[],[[10,[9]]]],[29,23],[28,23],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[2,[[33,[31,32]]]],0,[[13,13],[[23,[15]]]],[[[10,[9]]],[[23,[9]]]],[[[10,[9]]],[[23,[9]]]],[13,16],[[[4,[3]]],13],0,0,[[[10,[9]],9]],[[[5,[[4,[3]]]],34],[[8,[[5,[[4,[3]]]]]]]],[[[10,[9]]]],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],3,7],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[[[23,[35]]]],[[[5,[[4,[3]]]],16],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],[27,[2]]],[[8,[[5,[[4,[3]]]]]]]],[[[10,[9]]]],[[13,13],1],[1],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],36,[23,[36]],12],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[1,16],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[1,13],[[2,7],[[33,[[31,[3]],[32,[3]]]]]],[[[5,[[4,[3]]]],[37,[2]]],[[8,[[5,[[4,[3]]]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[32,[9]]],[[32,[9]]]],[[[39,[9]]],[[39,[9]]]],[40,40],[41,41],[[]],[[]],[[]],[[]],[[[32,[18]],[32,[18]]],17],[[[39,[18]],[39,[18]]],17],[[40,40],17],[[41,41],17],[[],17],[[],17],[[],17],[[],17],[[[32,[21]],19],20],[[[32,[3]],19],20],[[[39,[3]],19],20],[[[39,[21]],19],20],[[40,19],20],[[41,19],20],[[]],[[]],[[]],[1,41],[13,41],[[]],[[[32,[25]],24]],[[[39,[25]],24]],[[40,24]],[[41,24]],[[]],[[]],[[]],[[]],[[[32,[3]]],2],0,0,[[[39,[3]]],[[37,[2]]]],[[[39,[3]],13],[[32,[3]]]],[[[39,[3]],1],[[32,[3]]]],[[[32,[3]]],[[23,[2]]]],[[[32,[3]],34],[[32,[3]]]],[[]],[[]],[[]],[[]],[[],42],[[],42],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38],[[],38],0,[[[32,[3]],2],[[32,[3]]]],0,0,0,0,0,0,0,[[[43,[3]]],[[23,[2]]]],[[[43,[3]]],3],[[[43,[3]]],1],[[[43,[3]]],2],[[[31,[3]]],2],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[44,[9]]],[[44,[9]]]],[[[43,[9]]],[[43,[9]]]],[[[31,[9]]],[[31,[9]]]],[[[45,[9]]],[[45,[9]]]],[[]],[[]],[[]],[[]],[[[31,[3]]],42],[[[43,[18]],[43,[18]]],17],[[[31,[18]],[31,[18]]],17],[[],17],[[],17],[[[31,[3]],2],[[23,[[43,[3]]]]]],[[[31,[3]],2],[[46,[[44,[3]],34]]]],[[[31,[3]]],[[44,[3]]]],[[[44,[3]],19],20],[[[43,[3]],19],20],[[[43,[3]],19],20],[[[31,[3]],19],20],[[[31,[3]],19],20],[[[45,[3]],19],20],[[]],[[]],[[]],[[]],[[[43,[3]]],2],[[[31,[3]]],2],[[[43,[25]],24]],[[[31,[25]],24]],[[]],[[]],[[]],[[]],[[[43,[3]]],[[31,[3]]]],[[]],[[]],[[]],[[[43,[3]]],1],[[[44,[3]]],16],[[[31,[3]]],16],[[[45,[3]]],16],[[[43,[3]]]],[[[44,[3]]],23],[[[31,[3]]],23],[[[45,[3]]],23],[[[44,[3]]],23],[[[31,[3]]],23],[[[45,[3]]],23],[[[31,[3]]],[[23,[[43,[3]]]]]],[[[43,[3]]],[[31,[3]]]],[[[44,[3]]]],[[[31,[3]]]],[[[45,[3]]]],[[]],[[]],[[]],[[]],[[],42],[[],42],[[[44,[3]]],[[45,[3]]]],[[[43,[3]]],[[45,[3]]]],[[[31,[3]]],[[45,[3]]]],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38],[[],38],0,0,0,0,0,0,[[[47,[3]],[47,[3]]],[[47,[3]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[48,48],[[]],[[],[[49,[3]]]],[[48,48],17],[[],17],[[48,19],20],[[]],[[]],[[]],[[]],[[3,48],[[47,[3]]]],[[]],[[]],[[]],[[]],[[[50,[3,34]],34],[[50,[3,34]]]],[[[50,[3,34]],34],[[50,[3,34]]]],[[[50,[3,34]],34],[[50,[3,34]]]],[[[49,[3]],34],[[50,[3,34]]]],[[],[[49,[3]]]],[[[49,[3]],[47,[3]]],[[49,[3]]]],[[[50,[3,34]],51]],[3,[[47,[3]]]],[3,[[47,[3]]]],[[]],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38],[[],38],0,0,0,0,0,[[[52,[3]],[52,[3]]],[[52,[3]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[[53,[3]],51,34,34]],[54,54],[[]],[[54,54],17],[[],17],[[54,19],20],[[[52,[[0,[21,3]]]],19],20],[[[53,[[0,[21,9]]]],19],20],[[]],[[]],[[]],[[]],[[]],[[]],[[3,54],[[52,[3]]]],[[[55,[[52,[3]]]]],[[53,[3]]]],[[]],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38]],"c":[143,348,437,438,439,440,441,442,449,450,452,454,455,456,463,464],"p":[[3,"Span"],[15,"str"],[8,"RuleType"],[3,"ParserState"],[3,"Box"],[4,"Atomicity"],[8,"FnOnce"],[6,"ParseResult"],[8,"Clone"],[3,"Stack"],[4,"Lookahead"],[4,"MatchDir"],[3,"Position"],[4,"Token"],[4,"Ordering"],[15,"usize"],[15,"bool"],[8,"PartialEq"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[8,"RangeBounds"],[4,"Option"],[8,"Hasher"],[8,"Hash"],[3,"Range"],[15,"slice"],[3,"Lines"],[3,"LinesSpan"],[15,"char"],[3,"Pairs"],[3,"Error"],[4,"Result"],[8,"FnMut"],[3,"NonZeroUsize"],[15,"i32"],[4,"Cow"],[3,"TypeId"],[4,"ErrorVariant"],[4,"InputLocation"],[4,"LineColLocation"],[3,"String"],[3,"Pair"],[3,"FlatPairs"],[3,"Tokens"],[3,"Filter"],[3,"Op"],[4,"Assoc"],[3,"PrattParser"],[3,"PrattParserMap"],[8,"Iterator"],[3,"Operator"],[3,"PrecClimber"],[4,"Assoc"],[3,"Vec"],[8,"Parser"],[13,"Start"],[13,"End"],[13,"CustomError"],[13,"ParsingError"]]},\ +"pest":{"doc":"pest. The Elegant Parser","t":"NENNNDDEENNNGIDDNIDDNENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAOLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLFLLLLLLLKOLLLLLAALLLLLLFLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMNDEEENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLMLMMMDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLENDDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLENDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Atomic","Atomicity","BottomToTop","CompoundAtomic","End","Lines","LinesSpan","Lookahead","MatchDir","Negative","NonAtomic","None","ParseResult","Parser","ParserState","Position","Positive","RuleType","Span","Stack","Start","Token","TopToBottom","as_str","atomic","atomicity","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clear_snapshot","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","default","end","end_of_input","end_pos","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","error","fails_with","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_start","get","get_input","hash","hash","hash","index","into","into","into","into","into","into","into","into","into","into","into_iter","into_iter","is_empty","iterators","len","line_col","line_of","lines","lines_span","lookahead","match_char_by","match_insensitive","match_range","match_string","merge_spans","new","new","new","new","next","next","optional","parse","parses_to","partial_cmp","peek","pop","pos","position","pratt_parser","prec_climber","push","repeat","restore","restore_on_err","rule","sequence","set_call_limit","skip","skip_until","snapshot","span","split","stack_drop","stack_match_peek","stack_match_peek_slice","stack_match_pop","stack_peek","stack_pop","stack_push","start","start_of_input","start_pos","state","tag_node","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","pos","pos","rule","rule","CustomError","Error","ErrorVariant","InputLocation","LineColLocation","ParsingError","Pos","Pos","Span","Span","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","hash","hash","hash","hash","into","into","into","into","line","line_col","location","message","new_from_pos","new_from_span","path","renamed_rules","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","variant","with_path","message","negatives","positives","FlatPairs","Pair","Pairs","Tokens","as_node_tag","as_rule","as_span","as_str","as_str","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","concat","eq","eq","equivalent","equivalent","find_first_tagged","find_tagged","flatten","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","get_input","get_input","hash","hash","into","into","into","into","into_inner","into_iter","into_iter","into_iter","into_span","len","len","len","line_col","next","next","next","next_back","next_back","next_back","peek","single","size_hint","size_hint","size_hint","to_owned","to_owned","to_owned","to_owned","to_string","to_string","tokens","tokens","tokens","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","Assoc","Left","Op","PrattParser","PrattParserMap","Right","bitor","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","eq","equivalent","fmt","from","from","from","from","infix","into","into","into","into","map_infix","map_postfix","map_prefix","map_primary","new","op","parse","postfix","prefix","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","Assoc","Left","Operator","PrecClimber","Right","bitor","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","climb","clone","clone_into","eq","equivalent","fmt","fmt","fmt","from","from","from","into","into","into","new","new","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id"],"q":[[0,"pest"],[204,"pest::Token"],[208,"pest::error"],[290,"pest::error::ErrorVariant"],[293,"pest::iterators"],[385,"pest::pratt_parser"],[437,"pest::prec_climber"]],"d":["prevents implicit whitespace: inside an atomic rule, the …","The current atomicity of a ParserState.","from the bottom to the top of the stack","The same as atomic, but inner tokens are produced as …","The ending Position of a matched Rule","Line iterator for Spans, created by Span::lines().","Line iterator for Spans, created by Span::lines_span().","The current lookahead status of a ParserState.","Match direction for the stack. Used in PEEK[a..b]/…","The negative predicate, written as an exclamation mark !, …","implicit whitespace is enabled","No lookahead (i.e. it will consume input).","Type alias to simplify specifying the return value of …","A trait with a single method that parses strings.","The complete state of a Parser.","A cursor position in a &str which provides useful methods …","The positive predicate, written as an ampersand &, …","A trait which parser rules must implement.","A span over a &str. It is created from either two Positions…","Implementation of a Stack which maintains popped elements …","The starting Position of a matched Rule","A token generated by a Parser.","from the top to the bottom of the stack","Captures a slice from the &str defined by the Span.","Transformation which stops Tokens from being generated …","Returns the current atomicity of the ParserState.","","","","","","","","","","","","","","","","","","","","","The parsing after the last snapshot was successful so …","","","","","","","","","","","","","","","Returns the Span’s end byte position as a usize.","Attempts to match the end of the input. Returns Ok with …","Returns the Span’s end Position.","","","","","","","","","","","","","Types for different kinds of parsing failures.","Testing tool that compares produced errors.","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Creates a Position at the start of a &str.","Attempts to create a new span based on a sub-range.","Returns the input string of the Span.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","Returns true if the stack is currently empty.","Types and iterators for parser output.","Returns the size of the stack","Returns the line and column number of this Position.","Returns the entire line of the input that contains this …","Iterates over all lines (partially) covered by this span. …","Iterates over all lines (partially) covered by this span. …","Starts a lookahead transformation provided by f from the …","Attempts to match a single character based on a filter …","Attempts to case-insensitively match the given string. …","Attempts to match a single character from the given range. …","Attempts to match the given string. Returns Ok with the …","Merges two spans into one.","Allocates a fresh ParserState object to the heap and …","Attempts to create a new Position at the given position. …","Attempts to create a new span. Will return None if …","Creates a new Stack.","","","Optionally applies the transformation provided by f from …","Parses a &str starting from rule.","Testing tool that compares produced tokens.","","Returns the top-most &T in the Stack.","Pops the top-most T from the Stack.","Returns the byte position of this Position as a usize.","Returns a reference to the current Position of the …","Constructs useful in prefix, postfix, and infix operator …","Constructs useful in infix operator parsing with the …","Pushes a T onto the Stack.","Repeatedly applies the transformation provided by f from …","Rewinds the Stack to the most recent snapshot(). If no …","Restores the original state of the ParserState when f …","Wrapper needed to generate tokens. This will associate the …","Starts a sequence of transformations provided by f from …","Sets the maximum call limit for the parser state to …","Attempts to skip n characters forward. Returns Ok with the …","Attempts to skip forward until one of the given strings is …","Takes a snapshot of the current Stack.","Creates a Span from two Positions.","Splits the Span into a pair of Positions.","Drops the top of the stack. Returns Ok(Box<ParserState>) …","Matches the full state of the stack.","Matches part of the state of the stack.","Matches the full state of the stack. This method will …","Peeks the top of the stack and attempts to match the …","Pops the top of the stack and attempts to match the …","Evaluates the result of closure f and pushes the span of …","Returns the Span’s start byte position as a usize.","Attempts to match the start of the input. Returns Ok with …","Returns the Span’s start Position.","Creates a ParserState from a &str, supplying it to a …","Tag current node","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","starting position","ending position","matched rule","matched rule","Custom error with a message","Parse-related error type.","Different kinds of parsing errors.","Where an Error has occurred.","Line/column where an Error has occurred.","Generated parsing error with expected and unexpected Rules","Error was created by Error::new_from_pos","Line/column pair if Error was created by …","Error was created by Error::new_from_span","Line/column pairs if Error was created by …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the line that the error is on.","Line/column within the input string","Location within the input string","Returns the error message for ErrorVariant","Creates Error from ErrorVariant and Position.","Creates Error from ErrorVariant and Span.","Returns the path set using Error::with_path().","Renames all Rules if this is a ParsingError. It does …","","","","","","","","","","","","","","","","","","","Variant of the error","Returns Error variant with path which is shown when …","Short explanation","Negative attempts","Positive attempts","An iterator over Pairs. It is created by Pairs::flatten.","A matching pair of Tokens and everything between them.","An iterator over Pairs. It is created by pest::state and …","An iterator over Tokens. It is created by Pair::tokens and …","Get current node tag","Returns the Rule of the Pair.","Returns the Span defined by the Pair, without consuming it.","Captures a slice from the &str defined by the token Pair.","Captures a slice from the &str defined by the starting …","","","","","","","","","","","","","","","","","Captures inner token Pairs and concatenates resulting &str…","","","","","Finds the first pair that has its node or branch tagged …","Returns the iterator over pairs that have their node or …","Flattens the Pairs.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the input string of the Pair.","Returns the input string of Pairs.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the inner Pairs between the Pair, consuming it.","","","","Returns the Span defined by the Pair, consuming it.","","","","Returns the line, col of this pair start.","","","","","","","Peek at the first inner Pair without changing the position …","Create a new Pairs iterator containing just the single Pair…","","","","","","","","","","Returns the Tokens for these pairs.","Returns the Tokens for the Pair.","Returns the Tokens for the Pairs.","","","","","","","","","","","","","Associativity of an infix binary operator, used by …","Left operator associativity. Evaluate expressions from …","An operator that corresponds to a rule.","Struct containing operators and precedences, which can …","Product of calling map_primary on PrattParser, defines how …","Right operator associativity. Evaluate expressions from …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Defines rule as an infix binary operator with …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Maps infix operators with a closure infix.","Maps postfix operators with closure postfix.","Maps prefix operators with closure prefix.","Maps primary expressions with a closure primary.","Instantiate a new PrattParser.","Add op to PrattParser.","The last method to call on the provided pairs to execute …","Defines rule as a postfix unary operator.","Defines rule as a prefix unary operator.","","","","","","","","","","","","","","Associativity of an Operator.","Left Operator associativity","Infix operator used in PrecClimber.","List of operators and precedences, which can perform …","Right Operator associativity","","","","","","","","Performs the precedence climbing algorithm on the pairs in …","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Creates a new Operator from a Rule and Assoc.","Creates a new PrecClimber from the Operators contained in …","","","","","","","","","",""],"i":[6,0,12,6,14,0,0,0,0,11,6,11,0,0,0,0,11,0,0,0,14,0,12,1,4,4,29,28,11,6,12,4,13,1,10,14,29,28,11,6,12,4,13,1,10,14,10,11,6,12,13,1,14,11,6,12,13,1,14,13,10,1,4,1,11,6,12,13,1,14,11,6,12,13,1,14,0,0,11,6,12,4,13,1,10,14,29,28,11,6,12,4,13,1,10,14,13,1,1,13,1,14,10,29,28,11,6,12,4,13,1,10,14,29,28,10,0,10,13,13,1,1,4,4,4,4,4,0,4,13,1,10,29,28,4,56,0,13,10,10,13,4,0,0,10,4,10,4,4,4,0,4,4,10,13,1,4,4,4,4,4,4,4,1,4,1,0,4,11,6,12,13,1,14,29,28,11,6,12,4,13,1,10,14,29,28,11,6,12,4,13,1,10,14,29,28,11,6,12,4,13,1,10,14,57,58,57,58,39,0,0,0,0,39,40,41,40,41,32,39,40,41,32,39,40,41,32,39,40,41,32,39,40,41,32,39,40,41,32,39,40,41,32,32,39,39,40,41,32,39,40,41,41,41,32,39,40,41,32,39,40,41,32,32,32,39,32,32,32,32,32,39,40,41,32,39,32,39,40,41,32,39,40,41,32,39,40,41,32,32,59,60,60,0,0,0,0,43,43,43,43,31,44,43,31,45,44,43,31,45,44,43,31,45,44,43,31,45,31,43,31,43,31,31,31,31,44,43,43,31,31,45,44,43,31,45,43,31,43,31,44,43,31,45,43,44,31,45,43,44,31,45,43,44,31,45,44,31,45,31,31,44,31,45,44,43,31,45,43,31,44,43,31,44,43,31,45,44,43,31,45,44,43,31,45,0,48,0,0,0,48,47,47,49,50,48,47,49,50,48,48,48,49,48,48,48,47,49,50,48,47,47,49,50,48,50,50,50,49,49,49,50,47,47,48,47,49,50,48,47,49,50,48,47,49,50,48,0,54,0,0,54,52,54,52,53,54,52,53,53,54,54,54,54,54,52,53,54,52,53,54,52,53,52,53,54,54,52,53,54,52,53,54,52,53],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[[[5,[[4,[3]]]],6,7],[[8,[[5,[[4,[3]]]]]]]],[[[4,[3]]],6],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[10,[9]]]],[11,11],[6,6],[12,12],[13,13],[1,1],[[[14,[9]]],[[14,[9]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[13,13],15],[[],[[10,[9]]]],[1,16],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[1,13],[[11,11],17],[[6,6],17],[[12,12],17],[[13,13],17],[[1,1],17],[[[14,[18]],[14,[18]]],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],0,0,[[11,19],20],[[6,19],20],[[12,19],20],[[[4,[[0,[21,3]]]],19],20],[[13,19],20],[[1,19],20],[[[10,[[0,[21,9]]]],19],20],[[[14,[21]],19],20],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[2,13],[[1,[22,[16]]],[[23,[1]]]],[1,2],[[13,24]],[[1,24]],[[[14,[25]],24]],[[[10,[9]],[26,[16]]],[[27,[9]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[10,[9]]],17],0,[[[10,[9]]],16],[13],[13,2],[1,28],[1,29],[[[5,[[4,[3]]]],17,7],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],2],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],[26,[30]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],2],[[8,[[5,[[4,[3]]]]]]]],[[1,1],[[23,[1]]]],[2,[[5,[[4,[3]]]]]],[[2,16],[[23,[13]]]],[[2,16,16],[[23,[1]]]],[[],[[10,[9]]]],[29,23],[28,23],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[2,[[33,[31,32]]]],0,[[13,13],[[23,[15]]]],[[[10,[9]]],[[23,[9]]]],[[[10,[9]]],[[23,[9]]]],[13,16],[[[4,[3]]],13],0,0,[[[10,[9]],9]],[[[5,[[4,[3]]]],34],[[8,[[5,[[4,[3]]]]]]]],[[[10,[9]]]],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],3,7],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[[[23,[35]]]],[[[5,[[4,[3]]]],16],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],[27,[2]]],[[8,[[5,[[4,[3]]]]]]]],[[[10,[9]]]],[[13,13],1],[1],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],36,[23,[36]],12],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[[[5,[[4,[3]]]],7],[[8,[[5,[[4,[3]]]]]]]],[1,16],[[[5,[[4,[3]]]]],[[8,[[5,[[4,[3]]]]]]]],[1,13],[[2,7],[[33,[[31,[3]],[32,[3]]]]]],[[[5,[[4,[3]]]],[37,[2]]],[[8,[[5,[[4,[3]]]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[32,[9]]],[[32,[9]]]],[[[39,[9]]],[[39,[9]]]],[40,40],[41,41],[[]],[[]],[[]],[[]],[[[32,[18]],[32,[18]]],17],[[[39,[18]],[39,[18]]],17],[[40,40],17],[[41,41],17],[[],17],[[],17],[[],17],[[],17],[[[32,[3]],19],20],[[[32,[21]],19],20],[[[39,[21]],19],20],[[[39,[3]],19],20],[[40,19],20],[[41,19],20],[[]],[[]],[[]],[1,41],[[]],[13,41],[[[32,[25]],24]],[[[39,[25]],24]],[[40,24]],[[41,24]],[[]],[[]],[[]],[[]],[[[32,[3]]],2],0,0,[[[39,[3]]],[[37,[2]]]],[[[39,[3]],13],[[32,[3]]]],[[[39,[3]],1],[[32,[3]]]],[[[32,[3]]],[[23,[2]]]],[[[32,[3]],34],[[32,[3]]]],[[]],[[]],[[]],[[]],[[],42],[[],42],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38],[[],38],0,[[[32,[3]],2],[[32,[3]]]],0,0,0,0,0,0,0,[[[43,[3]]],[[23,[2]]]],[[[43,[3]]],3],[[[43,[3]]],1],[[[43,[3]]],2],[[[31,[3]]],2],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[44,[9]]],[[44,[9]]]],[[[43,[9]]],[[43,[9]]]],[[[31,[9]]],[[31,[9]]]],[[[45,[9]]],[[45,[9]]]],[[]],[[]],[[]],[[]],[[[31,[3]]],42],[[[43,[18]],[43,[18]]],17],[[[31,[18]],[31,[18]]],17],[[],17],[[],17],[[[31,[3]],2],[[23,[[43,[3]]]]]],[[[31,[3]],2],[[46,[[44,[3]],34]]]],[[[31,[3]]],[[44,[3]]]],[[[44,[3]],19],20],[[[43,[3]],19],20],[[[43,[3]],19],20],[[[31,[3]],19],20],[[[31,[3]],19],20],[[[45,[3]],19],20],[[]],[[]],[[]],[[]],[[[43,[3]]],2],[[[31,[3]]],2],[[[43,[25]],24]],[[[31,[25]],24]],[[]],[[]],[[]],[[]],[[[43,[3]]],[[31,[3]]]],[[]],[[]],[[]],[[[43,[3]]],1],[[[44,[3]]],16],[[[31,[3]]],16],[[[45,[3]]],16],[[[43,[3]]]],[[[44,[3]]],23],[[[31,[3]]],23],[[[45,[3]]],23],[[[44,[3]]],23],[[[31,[3]]],23],[[[45,[3]]],23],[[[31,[3]]],[[23,[[43,[3]]]]]],[[[43,[3]]],[[31,[3]]]],[[[44,[3]]]],[[[31,[3]]]],[[[45,[3]]]],[[]],[[]],[[]],[[]],[[],42],[[],42],[[[44,[3]]],[[45,[3]]]],[[[43,[3]]],[[45,[3]]]],[[[31,[3]]],[[45,[3]]]],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38],[[],38],0,0,0,0,0,0,[[[47,[3]],[47,[3]]],[[47,[3]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[48,48],[[]],[[],[[49,[3]]]],[[48,48],17],[[],17],[[48,19],20],[[]],[[]],[[]],[[]],[[3,48],[[47,[3]]]],[[]],[[]],[[]],[[]],[[[50,[3,34]],34],[[50,[3,34]]]],[[[50,[3,34]],34],[[50,[3,34]]]],[[[50,[3,34]],34],[[50,[3,34]]]],[[[49,[3]],34],[[50,[3,34]]]],[[],[[49,[3]]]],[[[49,[3]],[47,[3]]],[[49,[3]]]],[[[50,[3,34]],51]],[3,[[47,[3]]]],[3,[[47,[3]]]],[[]],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38],[[],38],0,0,0,0,0,[[[52,[3]],[52,[3]]],[[52,[3]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[[53,[3]],51,34,34]],[54,54],[[]],[[54,54],17],[[],17],[[54,19],20],[[[52,[[0,[21,3]]]],19],20],[[[53,[[0,[21,9]]]],19],20],[[]],[[]],[[]],[[]],[[]],[[]],[[3,54],[[52,[3]]]],[[[55,[[52,[3]]]]],[[53,[3]]]],[[]],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],38],[[],38],[[],38]],"c":[143,348,437,438,439,440,441,442,449,450,452,454,455,456,463,464],"p":[[3,"Span"],[15,"str"],[8,"RuleType"],[3,"ParserState"],[3,"Box"],[4,"Atomicity"],[8,"FnOnce"],[6,"ParseResult"],[8,"Clone"],[3,"Stack"],[4,"Lookahead"],[4,"MatchDir"],[3,"Position"],[4,"Token"],[4,"Ordering"],[15,"usize"],[15,"bool"],[8,"PartialEq"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[8,"RangeBounds"],[4,"Option"],[8,"Hasher"],[8,"Hash"],[3,"Range"],[15,"slice"],[3,"Lines"],[3,"LinesSpan"],[15,"char"],[3,"Pairs"],[3,"Error"],[4,"Result"],[8,"FnMut"],[3,"NonZeroUsize"],[15,"i32"],[4,"Cow"],[3,"TypeId"],[4,"ErrorVariant"],[4,"InputLocation"],[4,"LineColLocation"],[3,"String"],[3,"Pair"],[3,"FlatPairs"],[3,"Tokens"],[3,"Filter"],[3,"Op"],[4,"Assoc"],[3,"PrattParser"],[3,"PrattParserMap"],[8,"Iterator"],[3,"Operator"],[3,"PrecClimber"],[4,"Assoc"],[3,"Vec"],[8,"Parser"],[13,"Start"],[13,"End"],[13,"CustomError"],[13,"ParsingError"]]},\ "pest_derive":{"doc":"pest. The Elegant Parser","t":"Y","n":["Parser"],"q":[[0,"pest_derive"]],"d":["The main method that’s called by the proc macro (a …"],"i":[0],"f":[0],"c":[],"p":[]},\ "pest_generator":{"doc":"pest generator","t":"F","n":["derive_parser"],"q":[[0,"pest_generator"]],"d":["Processes the derive/proc macro input and generates the …"],"i":[0],"f":[[[1,2],1]],"c":[],"p":[[3,"TokenStream"],[15,"bool"]]},\ "pest_meta":{"doc":"pest meta","t":"AAFAFANNNEDNNNNNNNNNNNNNNNNDENNNNLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMLLLLNNNNNEDDNNNNNNNNNLLLLLLLLLLLLLLMLLLLLLLLLLLLLMLLFLLLLLLLLLMLLLNNNNNNNEDDNDNNNNNNNNNENNNNNNNNNLLLLLLLLLLNNLLLLLLLLNNNLNNNFLLLLLLLLNMNLLLLLLLLLLNNNLNNNNNNNNLLLLLNNNMNNMNNNNNNNNFLLNNNNNNNFNNNNNNNNNNMMNNNNLLLLLLLLLLLLLLMLLLLLNFFFFFF","n":["ast","optimizer","parse_and_optimize","parser","unwrap_or_report","validator","Atomic","Choice","CompoundAtomic","Expr","ExprTopDownIterator","Ident","Insens","NegPred","NonAtomic","Normal","Opt","PeekSlice","PosPred","Push","Range","Rep","RepExact","RepMax","RepMin","RepMinMax","RepOnce","Rule","RuleType","Seq","Silent","Skip","Str","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","eq","eq","eq","equivalent","equivalent","equivalent","expr","fmt","fmt","fmt","fmt","from","from","from","from","into","into","into","into","into_iter","iter_top_down","map_bottom_up","map_top_down","name","new","next","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","ty","type_id","type_id","type_id","type_id","Choice","Ident","Insens","NegPred","Opt","OptimizedExpr","OptimizedExprTopDownIterator","OptimizedRule","PeekSlice","PosPred","Push","Range","Rep","RestoreOnErr","Seq","Skip","Str","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","eq","eq","equivalent","equivalent","expr","fmt","fmt","fmt","from","from","from","into","into","into","into_iter","iter_top_down","map_bottom_up","map_top_down","name","new","next","optimize","to_owned","to_owned","to_string","try_from","try_from","try_from","try_into","try_into","try_into","ty","type_id","type_id","type_id","COMMENT","Choice","EOI","Ident","Insens","NegPred","Opt","ParserExpr","ParserNode","ParserRule","PeekSlice","PestParser","PosPred","Push","Range","Rep","RepExact","RepMax","RepMin","RepMinMax","RepOnce","Rule","Seq","Str","WHITESPACE","_push","alpha","alpha_num","assignment_operator","atomic_modifier","block_comment","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","character","choice_operator","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","closing_brace","closing_brack","closing_paren","cmp","code","comma","compound_atomic_modifier","consume_rules","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","escape","expr","expression","filter_map_top_down","fmt","fmt","fmt","fmt","from","from","from","from","from","grammar_doc","grammar_rule","grammar_rules","hash","hex_digit","identifier","infix_operator","inner_chr","inner_doc","inner_str","insensitive_string","integer","into","into","into","into","into","line_comment","line_doc","modifier","name","negative_predicate_operator","newline","node","node","node_tag","non_atomic_modifier","number","opening_brace","opening_brack","opening_paren","optional_operator","parse","parse","partial_cmp","peek_slice","positive_predicate_operator","postfix_operator","prefix_operator","quote","range","range_operator","rename_meta_rule","repeat_exact","repeat_max","repeat_min","repeat_min_max","repeat_once_operator","repeat_operator","sequence_operator","silent_modifier","single_quote","space","span","span","string","tag_id","term","terminal","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","ty","type_id","type_id","type_id","type_id","type_id","unicode","validate_already_defined","validate_ast","validate_pairs","validate_pest_keywords","validate_rust_keywords","validate_undefined"],"q":[[0,"pest_meta"],[6,"pest_meta::ast"],[90,"pest_meta::optimizer"],[152,"pest_meta::parser"],[312,"pest_meta::validator"]],"d":["Types for the pest’s abstract syntax tree.","Different optimizations for pest’s ASTs.","Parses, validates, processes and optimizes the provided …","Types and helpers for the pest’s own grammar parser.","A helper that will unwrap the result or panic with the …","Helpers for validating pest grammars that could help with …","atomic rule prevent implicit whitespace: inside an atomic …","Matches either of two expressions, e.g. e1 | e2","Compound atomic rules are similar to atomic rules, but …","All possible rule expressions","The top down iterator for an expression.","Matches the rule with the given name, e.g. a","Matches an exact string, case insensitively (ASCII only), …","Negative lookahead; matches if expression doesn’t match, …","Non-atomic rules cancel the effect of atomic rules. (their …","The normal rule type","Optionally matches an expression, e.g. e?","Matches a custom part of the stack, e.g. PEEK[..]","Positive lookahead; matches expression without making …","Matches an expression and pushes it to the stack, e.g. …","Matches one character in the range, e.g. 'a'..'z'","Matches an expression zero or more times, e.g. e*","Matches an expression an exact number of times, e.g. e{n}","Matches an expression at most a number of times, e.g. e{,n}","Matches an expression at least a number of times, e.g. …","Matches an expression a number of times within a range, …","Matches an expression one or more times, e.g. e+","A grammar rule","All possible rule types","Matches a sequence of two expressions, e.g. e1 ~ e2","Silent rules are just like normal rules — when run, they …","Continues to match expressions until one of the strings in …","Matches an exact string, e.g. "a"","","","","","","","","","","","","","","","","","","","","","The rule’s expression","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Returns the iterator that steps the expression from top to …","Applies f to the expression and all its children (bottom …","Applies f to the expression and all its children (top to …","The name of the rule","Constructs a top-down iterator from the expression.","","","","","","","","","","","","","","The rule’s type (silent, atomic, …)","","","","","Matches either of two expressions, e.g. e1 | e2","Matches the rule with the given name, e.g. a","Matches an exact string, case insensitively (ASCII only), …","Negative lookahead; matches if expression doesn’t match, …","Optionally matches an expression, e.g. e?","The optimized version of the pest AST’s Expr.","A top-down iterator over an OptimizedExpr.","The optimized version of the pest AST’s Rule.","Matches a custom part of the stack, e.g. PEEK[..]","Positive lookahead; matches expression without making …","Matches an expression and pushes it to the stack, e.g. …","Matches one character in the range, e.g. 'a'..'z'","Matches an expression zero or more times, e.g. e*","Restores an expression’s checkpoint","Matches a sequence of two expressions, e.g. e1 ~ e2","Continues to match expressions until one of the strings in …","Matches an exact string, e.g. "a"","","","","","","","","","","","","","","","The optimized expression of the rule.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Returns a top-down iterator over the OptimizedExpr.","Applies f to the OptimizedExpr bottom-up.","Applies f to the OptimizedExpr top-down.","The name of the rule.","Creates a new top down iterator from an OptimizedExpr.","","Takes pest’s ASTs and optimizes them","","","","","","","","","","The type of the rule.","","","","A grammar comment.","Matches either of two expressions, e.g. e1 | e2","","Matches the rule with the given name, e.g. a","Matches an exact string, case insensitively (ASCII only), …","Negative lookahead; matches if expression doesn’t match, …","Optionally matches an expression, e.g. e?","All possible parser expressions","The pest grammar node","The pest grammar rule","Matches a custom part of the stack, e.g. PEEK[..]","","Positive lookahead; matches expression without making …","Matches an expression and pushes it to the stack, e.g. …","Matches one character in the range, e.g. 'a'..'z'","Matches an expression zero or more times, e.g. e*","Matches an expression an exact number of times, e.g. e{n}","Matches an expression at most a number of times, e.g. e{,n}","Matches an expression at least a number of times, e.g. …","Matches an expression a number of times within a range, …","Matches an expression one or more times, e.g. e+","Pest meta-grammar","Matches a sequence of two expressions, e.g. e1 ~ e2","Matches an exact string, e.g. "a"","A whitespace character.","A PUSH expression.","An alpha character.","An alphanumeric character.","Assignment operator.","Atomic rule prefix.","A multi-line comment.","","","","","","","","","","","A single quoted character","A choice operator.","","","","","","","","","Closing brace for a rule.","Closing bracket for PEEK (slice inside).","Closing parenthesis for a branch, PUSH, etc.","","A hexadecimal code.","A comma terminal.","Compound atomic rule prefix.","Converts a parser’s result (Pairs) to an AST","","","","","","","","","An escape sequence.","The node’s expression","A rule expression.","will remove nodes that do not match f","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","A top-level comment.","A rule of a grammar.","The top-level rule of a grammar.","","A hexadecimal digit.","An identifier.","Branches or sequences.","An escaped or any character.","A comment content.","A quoted string.","An insensitive string.","An integer number (positive or negative).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","A single line comment.","A rule comment.","A rule modifier.","The rule’s name","A negative predicate.","A newline character.","The rule’s parser node","A rule node (inside terms).","For assigning labels to nodes.","Non-atomic rule prefix.","A number.","Opening brace for a rule.","Opening bracket for PEEK (slice inside).","Opening parenthesis for a branch, PUSH, etc.","An optional operator.","A helper that will parse using the pest grammar","","","A PEEK expression.","A positive predicate.","Possible modifiers for a rule.","Possible predicates for a rule.","A double quote.","A character range.","A range operator.","A helper function to rename verbose rules for the sake of …","A repeat exact times.","A repeat at most times.","A repeat at least times.","A repeat in a range.","A repeat at least once operator.","A repeat operator.","A sequence operator.","Silent rule prefix.","A single quote.","A space character.","The rule’s span","The node’s span","A string.","A tag label.","A rule term.","A terminal expression.","","","","","","","","","","","","","","","The rule’s type","","","","","","A unicode code.","Validates that the given definitions do not contain any …","Validates the abstract syntax tree for common mistakes:","It checks the parsed grammar for common mistakes:","Validates that the given definitions do not contain any …","Validates that the given definitions do not contain any …","Validates that the given definitions do not contain any …"],"i":[0,0,0,0,0,0,8,9,8,0,0,9,9,9,8,8,9,9,9,9,9,9,9,9,9,9,9,0,0,9,8,9,9,13,7,8,9,13,7,8,9,7,8,9,7,8,9,7,8,9,7,8,9,7,7,8,9,9,13,7,8,9,13,7,8,9,13,9,9,9,7,13,13,7,8,9,9,13,7,8,9,13,7,8,9,7,13,7,8,9,19,19,19,19,19,0,0,0,19,19,19,19,19,19,19,19,19,20,18,19,20,18,19,18,19,18,19,18,19,18,19,18,18,19,19,20,18,19,20,18,19,20,19,19,19,18,20,20,0,18,19,19,20,18,19,20,18,19,18,20,18,19,2,23,2,23,23,23,23,0,0,0,23,0,23,23,23,23,23,23,23,23,23,0,23,23,2,2,2,2,2,2,2,28,2,21,22,23,28,2,21,22,23,2,2,2,21,22,23,2,21,22,23,2,2,2,2,2,2,2,0,2,21,22,23,2,21,22,23,2,22,2,22,2,21,22,23,28,2,21,22,23,2,2,2,2,2,2,2,2,2,2,2,2,28,2,21,22,23,2,2,2,21,2,2,21,2,2,2,2,2,2,2,2,0,28,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,21,22,2,2,2,2,2,21,22,23,28,2,21,22,23,28,2,21,22,23,21,28,2,21,22,23,2,0,0,0,0,0,0],"f":[0,0,[1,[[5,[[4,[[3,[2]]]]]]]],0,[[[5,[6]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[7,7],[8,8],[9,9],[[]],[[]],[[]],[[7,7],10],[[8,8],10],[[9,9],10],[[],10],[[],10],[[],10],0,[[7,11],12],[[8,11],12],[[9,11],12],[[9,11],12],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,13],[[9,14],9],[[9,14],9],0,[9,13],[13,15],[[]],[[]],[[]],[[],16],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],0,[[],17],[[],17],[[],17],[[],17],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[18,18],[19,19],[[]],[[]],[[18,18],10],[[19,19],10],[[],10],[[],10],0,[[18,11],12],[[19,11],12],[[19,11],12],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[19,20],[[19,14],19],[[19,14],19],0,[19,20],[20,15],[[[4,[7]]],[[4,[18]]]],[[]],[[]],[[],16],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],0,[[],17],[[],17],[[],17],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[2,2],[21,21],[22,22],[23,23],[[]],[[]],[[]],[[]],0,0,0,[[2,2],24],0,0,0,[[[25,[2]]],[[5,[[4,[7]],[4,[[3,[2]]]]]]]],[[2,2],10],[[21,21],10],[[22,22],10],[[23,23],10],[[],10],[[],10],[[],10],[[],10],0,0,0,[[22,14],4],[[2,11],12],[[21,11],12],[[22,11],12],[[23,11],12],[[]],[[]],[[]],[[]],[[]],0,0,0,[[2,26]],0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,1],[[5,[[25,[2]],[3,[2]]]]]],[[2,1],[[5,[[25,[2]],[3,[2]]]]]],[[2,2],[[15,[24]]]],0,0,0,0,0,0,0,[2,16],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],0,[[],17],[[],17],[[],17],[[],17],[[],17],0,[[[4,[27]]],[[4,[[3,[2]]]]]],[[[4,[21]]],[[4,[[3,[2]]]]]],[[[25,[2]]],[[5,[[4,[1]],[4,[[3,[2]]]]]]]],[[[4,[27]]],[[4,[[3,[2]]]]]],[[[4,[27]]],[[4,[[3,[2]]]]]],[[[4,[27]],[4,[27]]],[[4,[[3,[2]]]]]]],"c":[316],"p":[[15,"str"],[4,"Rule"],[3,"Error"],[3,"Vec"],[4,"Result"],[8,"IntoIterator"],[3,"Rule"],[4,"RuleType"],[4,"Expr"],[15,"bool"],[3,"Formatter"],[6,"Result"],[3,"ExprTopDownIterator"],[8,"FnMut"],[4,"Option"],[3,"String"],[3,"TypeId"],[3,"OptimizedRule"],[4,"OptimizedExpr"],[3,"OptimizedExprTopDownIterator"],[3,"ParserRule"],[3,"ParserNode"],[4,"ParserExpr"],[4,"Ordering"],[3,"Pairs"],[8,"Hasher"],[3,"Span"],[3,"PestParser"]]},\ diff --git a/index.html b/index.html index d89064c85..ed6105288 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,7 @@ Aquascope: Look Beneath the Surface of Rust - +