1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2337],{50327:function(e,t,i){"use strict";let n,r,o,s;i.r(t),i.d(t,{default:function(){return a0}});var a,l,u,c,h,d,f,p,O,g,m,b,y,v,S,x,k,w,D,Q,P,C,$,Z,A,E,M=i(57437),W=i(85600),B=i(2427),F=i(2265),T=i(40718),j=i.n(T),R=i(96290),z=i.n(R);function _(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Y(e){this.setState((function(t){var i=this.constructor.getDerivedStateFromProps(e,t);return null!=i?i:null}).bind(this))}function X(e,t){try{var i=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(i,n)}finally{this.props=i,this.state=n}}function I(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function V(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q(e,t,i){return t&&V(e.prototype,t),i&&V(e,i),e}function G(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function U(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function L(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?U(Object(i),!0).forEach(function(t){G(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):U(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function N(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function K(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ee(e){return function(){var t,i=H(e);return t=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?i.apply(this,arguments):Reflect.construct(i,arguments,H(this).constructor),t&&("object"==typeof t||"function"==typeof t)?t:K(this)}}_.__suppressDeprecationWarning=!0,Y.__suppressDeprecationWarning=!0,X.__suppressDeprecationWarning=!0;var et=function(e){N(i,e);var t=ee(i);function i(){return I(this,i),t.apply(this,arguments)}return q(i,[{key:"render",value:function(){var e=this.props,t=e.children,i=e.className,n=e.split,r=e.style,o=e.size,s=e.eleRef,a={flex:1,position:"relative",outline:"none"};return void 0!==o&&("vertical"===n?a.width=o:(a.height=o,a.display="flex"),a.flex="none"),a=Object.assign({},a,r||{}),F.createElement("div",{ref:s,className:["Pane",n,i].join(" "),style:a},t)}}]),i}(F.PureComponent);et.propTypes={className:j().string.isRequired,children:j().node.isRequired,size:j().oneOfType([j().string,j().number]),split:j().oneOf(["vertical","horizontal"]),style:z(),eleRef:j().func},et.defaultProps={};var ei="Resizer",en=function(e){N(i,e);var t=ee(i);function i(){return I(this,i),t.apply(this,arguments)}return q(i,[{key:"render",value:function(){var e=this.props,t=e.className,i=e.onClick,n=e.onDoubleClick,r=e.onMouseDown,o=e.onTouchEnd,s=e.onTouchStart,a=e.resizerClassName,l=e.split,u=e.style;return F.createElement("span",{role:"presentation",className:[a,l,t].join(" "),style:u,onMouseDown:function(e){return r(e)},onTouchStart:function(e){e.preventDefault(),s(e)},onTouchEnd:function(e){e.preventDefault(),o(e)},onClick:function(e){i&&(e.preventDefault(),i(e))},onDoubleClick:function(e){n&&(e.preventDefault(),n(e))}})}}]),i}(F.Component);function er(e,t){if(e.selection)e.selection.empty();else try{t.getSelection().removeAllRanges()}catch(e){}}function eo(e,t,i,n){return"number"==typeof n?Math.max("number"==typeof t?t:0,Math.min("number"==typeof i&&i>=0?i:1/0,n)):void 0!==e?e:t}en.propTypes={className:j().string.isRequired,onClick:j().func,onDoubleClick:j().func,onMouseDown:j().func.isRequired,onTouchStart:j().func.isRequired,onTouchEnd:j().func.isRequired,split:j().oneOf(["vertical","horizontal"]),style:z(),resizerClassName:j().string.isRequired},en.defaultProps={resizerClassName:ei};var es=function(e){N(i,e);var t=ee(i);function i(e){I(this,i),(n=t.call(this,e)).onMouseDown=n.onMouseDown.bind(K(n)),n.onTouchStart=n.onTouchStart.bind(K(n)),n.onMouseMove=n.onMouseMove.bind(K(n)),n.onTouchMove=n.onTouchMove.bind(K(n)),n.onMouseUp=n.onMouseUp.bind(K(n));var n,r=e.size,o=e.defaultSize,s=e.minSize,a=e.maxSize,l=e.primary,u=void 0!==r?r:eo(o,s,a,null);return n.state={active:!1,resized:!1,pane1Size:"first"===l?u:void 0,pane2Size:"second"===l?u:void 0,instanceProps:{size:r}},n}
1return q(i,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onMouseUp),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("touchmove",this.onTouchMove),this.setState(i.getSizeUpdate(this.props,this.state))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("touchmove",this.onTouchMove)}},{key:"onMouseDown",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchStart(t)}},{key:"onTouchStart",value:function(e){var t=this.props,i=t.allowResize,n=t.onDragStarted,r=t.split;if(i){er(document,window);var o="vertical"===r?e.touches[0].clientX:e.touches[0].clientY;"function"==typeof n&&n(),this.setState({active:!0,position:o})}}},{key:"onMouseMove",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchMove(t)}},{key:"onTouchMove",value:function(e){var t=this.props,i=t.allowResize,n=t.maxSize,r=t.minSize,o=t.onChange,s=t.split,a=t.step,l=this.state,u=l.active,c=l.position;if(i&&u){er(document,window);var h="first"===this.props.primary,d=h?this.pane1:this.pane2,f=h?this.pane2:this.pane1;if(d&&d.getBoundingClientRect){var p=d.getBoundingClientRect().width,O=d.getBoundingClientRect().height,g=c-("vertical"===s?e.touches[0].clientX:e.touches[0].clientY);if(a){if(Math.abs(g)<a)return;g=~~(g/a)*a}var m=h?g:-g;parseInt(window.getComputedStyle(d).order)>parseInt(window.getComputedStyle(f).order)&&(m=-m);var b=n;if(void 0!==n&&n<=0){var y=this.splitPane;b="vertical"===s?y.getBoundingClientRect().width+n:y.getBoundingClientRect().height+n}var v=("vertical"===s?p:O)-m,S=c-g;v<r?v=r:void 0!==n&&v>b?v=b:this.setState({position:S,resized:!0}),o&&o(v),this.setState(G({draggedSize:v},h?"pane1Size":"pane2Size",v))}}}},{key:"onMouseUp",value:function(){var e=this.props,t=e.allowResize,i=e.onDragFinished,n=this.state,r=n.active,o=n.draggedSize;t&&r&&("function"==typeof i&&i(o),this.setState({active:!1}))}},{key:"render",value:function(){var e=this,t=this.props,i=t.allowResize,n=t.children,r=t.className,o=t.onResizerClick,s=t.onResizerDoubleClick,a=t.paneClassName,l=t.pane1ClassName,u=t.pane2ClassName,c=t.paneStyle,h=t.pane1Style,d=t.pane2Style,f=t.resizerClassName,p=t.resizerStyle,O=t.split,g=t.style,m=this.state,b=m.pane1Size,y=m.pane2Size,v=i?"":"disabled",S=f?"".concat(f," ").concat(ei):f,x=F.Children.toArray(n).filter(function(e){return e}),k=L({display:"flex",flex:1,height:"100%",position:"absolute",outline:"none",overflow:"hidden",MozUserSelect:"text",WebkitUserSelect:"text",msUserSelect:"text",userSelect:"text"},g);"vertical"===O?Object.assign(k,{flexDirection:"row",left:0,right:0}):Object.assign(k,{bottom:0,flexDirection:"column",minHeight:"100%",top:0,width:"100%"});var w=["SplitPane",r,O,v],D=L({},c,{},h),Q=L({},c,{},d),P=["Pane1",a,l].join(" "),C=["Pane2",a,u].join(" ");return F.createElement("div",{className:w.join(" "),ref:function(t){e.splitPane=t},style:k}
1,F.createElement(et,{className:P,key:"pane1",eleRef:function(t){e.pane1=t},size:b,split:O,style:D},x[0]),F.createElement(en,{className:v,onClick:o,onDoubleClick:s,onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onTouchEnd:this.onMouseUp,key:"resizer",resizerClassName:S,split:O,style:p||{}}),F.createElement(et,{className:C,key:"pane2",eleRef:function(t){e.pane2=t},size:y,split:O,style:Q},x[1]))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return i.getSizeUpdate(e,t)}},{key:"getSizeUpdate",value:function(e,t){var i={};if(t.instanceProps.size===e.size&&void 0!==e.size)return{};var n=void 0!==e.size?e.size:eo(e.defaultSize,e.minSize,e.maxSize,t.draggedSize);void 0!==e.size&&(i.draggedSize=n);var r="first"===e.primary;return i[r?"pane1Size":"pane2Size"]=n,i[r?"pane2Size":"pane1Size"]=void 0,i.instanceProps={size:e.size},i}}]),i}(F.Component);es.propTypes={allowResize:j().bool,children:j().arrayOf(j().node).isRequired,className:j().string,primary:j().oneOf(["first","second"]),minSize:j().oneOfType([j().string,j().number]),maxSize:j().oneOfType([j().string,j().number]),defaultSize:j().oneOfType([j().string,j().number]),size:j().oneOfType([j().string,j().number]),split:j().oneOf(["vertical","horizontal"]),onDragStarted:j().func,onDragFinished:j().func,onChange:j().func,onResizerClick:j().func,onResizerDoubleClick:j().func,style:z(),resizerStyle:z(),paneClassName:j().string,pane1ClassName:j().string,pane2ClassName:j().string,paneStyle:z(),pane1Style:z(),pane2Style:z(),resizerClassName:j().string,step:j().number},es.defaultProps={allowResize:!0,minSize:50,primary:"first",split:"vertical",paneClassName:"",pane1ClassName:"",pane2ClassName:""},function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw Error("Can only polyfill class components");if("function"==typeof e.getDerivedStateFromProps||"function"==typeof t.getSnapshotBeforeUpdate){var i=null,n=null,r=null;if("function"==typeof t.componentWillMount?i="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(i="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?n="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(n="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==i||null!==n||null!==r)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==i?"\n "+i:"")+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=_,t.componentWillReceiveProps=Y),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=X;var o=t.componentDidUpdate;t.componentDidUpdate=function(e,t,i){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:i;o.call(this,e,t,n)}}}}(es);var ea=i(71033),el=i(71001),eu=i(1119),ec=i(74610),eh=i(39063),ed=i(90277);let ef=0;class ep{constructor(e,t){this.from=e,this.to=t}}class eO{constructor(e={}){this.id=ef++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=eb.match(e)),t=>{let i=e(t);return void 0===i?null:[this,i]}}}eO.closedBy=new eO({deserialize:e=>e.split(" ")}),eO.openedBy=new eO({deserialize:e=>e.split(" ")}),eO.group=new eO({deserialize:e=>e.split(" ")}),eO.isolate=new eO({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),eO.contextHash=new eO({perNode:!0}),eO.lookAhead=new eO({perNode:!0}),eO.mounted=new eO({perNode:!0});class eg{constructor(e,t,i){this.tree=e,this.overlay=t,this.parser=i}static get(e){return e&&e.props&&e.props[eO.mounted.id]}}let em=Object.create(null);class eb{constructor(e,t,i,n=0){this.name=e,this.props=t,this.id=i,this.flags=n}static define(e){let t=e.props&&e.props.length?Object.create(null):em,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),n=new eb(e.name||"",t,e.id,i);if(e.props){for(let i of e.props)if(Array.isArray(i)||(i=i(n)),i){if(i[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[i[0].id]=i[1]}}return n}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(eO.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let i in e)for(let n of i.split(" "))t[n]=e[i];return e=>{for(let i=e.prop(eO.group),n=-1;n<(i?i.length:0);n++){let r=t[n<0?e.name:i[n]];if(r)return r}}}}eb.none=new eb("",Object.create(null),0,8);class ey{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let i of this.types){let n=null;for(let t of e){let e=t(i);e&&(n||(n=Object.assign({},i.props)),n[e[0].id]=e[1])}
1t.push(n?new eb(i.name,n,i.id,i.flags):i)}return new ey(t)}}let ev=new WeakMap,eS=new WeakMap;(a=l||(l={}))[a.ExcludeBuffers=1]="ExcludeBuffers",a[a.IncludeAnonymous=2]="IncludeAnonymous",a[a.IgnoreMounts=4]="IgnoreMounts",a[a.IgnoreOverlays=8]="IgnoreOverlays";class ex{constructor(e,t,i,n,r){if(this.type=e,this.children=t,this.positions=i,this.length=n,this.props=null,r&&r.length)for(let[e,t]of(this.props=Object.create(null),r))this.props["number"==typeof e?e:e.id]=t}toString(){let e=eg.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let i=e.toString();i&&(t&&(t+=","),t+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new eB(this.topNode,e)}cursorAt(e,t=0,i=0){let n=new eB(ev.get(this)||this.topNode);return n.moveTo(e,t),ev.set(this,n._tree),n}get topNode(){return new eC(this,0,0,null)}resolve(e,t=0){let i=eQ(ev.get(this)||this.topNode,e,t,!1);return ev.set(this,i),i}resolveInner(e,t=0){let i=eQ(eS.get(this)||this.topNode,e,t,!0);return eS.set(this,i),i}resolveStack(e,t=0){return function(e,t,i){let n=e.resolveInner(t,i),r=null;for(let e=n instanceof eC?n:n.context.parent;e;e=e.parent)if(e.index<0){let o=e.parent;(r||(r=[n])).push(o.resolve(t,i)),e=o}else{let o=eg.get(e.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let s=new eC(o.tree,o.overlay[0].from+e.from,-1,e);(r||(r=[n])).push(eQ(s,t,i,!1))}}return r?eM(r):n}(this,e,t)}iterate(e){let{enter:t,leave:i,from:n=0,to:r=this.length}=e,o=e.mode||0,s=(o&l.IncludeAnonymous)>0;for(let e=this.cursor(o|l.IncludeAnonymous);;){let o=!1;if(e.from<=r&&e.to>=n&&(!s&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;o=!0}for(;o&&i&&(s||!e.type.isAnonymous)&&i(e),!e.nextSibling();){if(!e.parent())return;o=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];
1if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:eR(eb.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,i)=>new ex(this.type,e,t,i,this.propValues),e.makeTree||((e,t,i)=>new ex(eb.none,e,t,i)))}static build(e){return function(e){var t;let{buffer:i,nodeSet:n,maxBufferLength:r=1024,reused:o=[],minRepeatType:s=n.types.length}=e,a=Array.isArray(i)?new ek(i,i.length):i,l=n.types,u=0,c=0;function h(e,t,i,r,o,s,a,l){let u=[],c=[];for(;e.length>r;)u.push(e.pop()),c.push(t.pop()+i-o);e.push(d(n.types[a],u,c,s-o,l-s)),t.push(o-i)}function d(e,t,i,n,r=0,o){if(u){let e=[eO.contextHash,u];o=o?[e].concat(o):[e]}if(r>25){let e=[eO.lookAhead,r];o=o?[e].concat(o):[e]}return new ex(e,t,i,n,o)}let f=[],p=[];for(;a.pos>0;)!function e(t,i,f,p,O,g){let{id:m,start:b,end:y,size:v}=a,S=c;for(;v<0;){if(a.next(),-1==v){let e=o[m];f.push(e),p.push(b-t);return}if(-3==v){u=m;return}if(-4==v){c=m;return}throw RangeError(`Unrecognized record size: ${v}`)}let x=l[m],k,w,D=b-t;if(y-b<=r&&(w=function(e,t){let i=a.fork(),n=0,o=0,l=0,u=i.end-r,c={size:0,start:0,skip:0};e:for(let r=i.pos-e;i.pos>r;){let e=i.size;if(i.id==t&&e>=0){c.size=n,c.start=o,c.skip=l,l+=4,n+=4,i.next();continue}let a=i.pos-e;if(e<0||a<r||i.start<u)break;let h=i.id>=s?4:0,d=i.start;for(i.next();i.pos>a;){if(i.size<0){if(-3==i.size)h+=4;else break e}else i.id>=s&&(h+=4);i.next()}o=d,n+=e,l+=h}return(t<0||n==e)&&(c.size=n,c.start=o,c.skip=l),c.size>4?c:void 0}(a.pos-i,O))){let e=new Uint16Array(w.size-w.skip),i=a.pos-w.size,r=e.length;for(;a.pos>i;)r=function e(t,i,n){let{id:r,start:o,end:l,size:h}=a;if(a.next(),h>=0&&r<s){let s=n;if(h>4){let r=a.pos-(h-4);for(;a.pos>r;)n=e(t,i,n)}i[--n]=s,i[--n]=l-t,i[--n]=o-t,i[--n]=r}else -3==h?u=r:-4==h&&(c=r);return n}(w.start,e,r);k=new ew(e,y-w.start,n),D=w.start-t}else{let t=a.pos-v;a.next();let i=[],o=[],l=m>=s?m:-1,u=0,c=y;for(;a.pos>t;)l>=0&&a.id==l&&a.size>=0?(a.end<=c-r&&(h(i,o,b,u,a.end,c,l,S),u=i.length,c=a.end),a.next()):g>2500?function(e,t,i,o){let s=[],l=0,u=-1;for(;a.pos>t;){let{id:e,start:t,end:i,size:n}=a;if(n>4)a.next();else if(u>-1&&t<u)break;else u<0&&(u=i-r),s.push(e,t,i),l++,a.next()}if(l){let t=new Uint16Array(4*l),r=s[s.length-2];for(let e=s.length-3,i=0;e>=0;e-=3)t[i++]=s[e],t[i++]=s[e+1]-r,t[i++]=s[e+2]-r,t[i++]=i;i.push(new ew(t,s[2]-r,n)),o.push(r-e)}}(b,t,i,o):e(b,t,i,o,l,g+1);if(l>=0&&u>0&&u<i.length&&h(i,o,b,u,b,c,l,S),i.reverse(),o.reverse(),l>-1&&u>0){let e=function(e){return(t,i,n)=>{let r=0,o=t.length-1,s,a;if(o>=0&&(s=t[o])instanceof ex){if(!o&&s.type==e&&s.length==n)return s;(a=s.prop(eO.lookAhead))&&(r=i[o]+s.length+a)}return d(e,t,i,n,r)}}(x);k=eR(x,i,o,0,i.length,0,y-b,e,e)}else k=d(x,i,o,y-b,S-y)}f.push(k),p.push(D)}(e.start||0,e.bufferStart||0,f,p,-1,0);let O=null!==(t=e.length)&&void 0!==t?t:f.length?p[0]+f[0].length:0;return new ex(l[e.topID],f.reverse(),p.reverse(),O)}(e)}}ex.empty=new ex(eb.none,[],[],0);class ek{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 ek(this.buffer,this.index)}}class ew{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return eb.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],i=this.buffer[e+3],n=this.set.types[t],r=n.name;if(/\W/.test(r)&&!n.isError&&(r=JSON.stringify(r)),i==(e+=4))return r;let o=[];for(;e<i;)o.push(this.childString(e)),e=this.buffer[e+3];return r+"("+o.join(",")+")"}findChild(e,t,i,n,r){let{buffer:o}=this,s=-1;for(let a=e;a!=t&&(!eD(r,n,o[a+1],o[a+2])||(s=a,!(i>0)));a=o[a+3]);return s}slice(e,t,i){let n=this.buffer,r=new Uint16Array(t-e),o=0;for(let s=e,a=0;s<t;){r[a++]=n[s++],r[a++]=n[s++]-i;let t=r[a++]=n[s++]-i;r[a++]=n[s++]-e,o=Math.max(o,t)}return new ew(r,o,this.set)}}function eD(e,t,i,n){switch(e){case -2:return i<t;case -1:return n>=t&&i<t;case 0:return i<t&&n>t;case 1:return i<=t&&n>t;case 2:return n>t;case 4:return!0}}function eQ(e,t,i,n){for(var r;e.from==e.to||(i<1?e.from>=t:e.from>t)||(i>-1?e.to<=t:e.to<t);){let t=!n&&e instanceof eC&&e.index<0?null:e.parent;if(!t)return e;e=t}let o=n?0:l.IgnoreOverlays;if(n)for(let n=e,s=n.parent;s;s=(n=s).parent)n instanceof eC&&n.index<0&&(null===(r=s.enter(t,i,o))||void 0===r?void 0:r.from)!=n.from&&(e=s);for(;;){let n=e.enter(t,i,o);if(!n)return e;e=n}}class eP{cursor(e=0){return new eB(this,e)}getChild(e,t=null,i=null){let n=e$(this,e,t,i);return n.length?n[0]:null}getChildren(e,t=null,i=null){return e$(this,e,t,i)}resolve(e,t=0){return eQ(this,e,t,!1)}resolveInner(e,t=0){return eQ(this,e,t,!0)}matchContext(e){return eZ(this,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),i=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(i=t,t=e.prevSibling):t=e}return i}get node(){return this}get next(){return this.parent}}class eC extends eP{constructor(e,t,i,n){super(),this._tree=e,this.from=t,this.index=i,this._parent=n}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,i,n,r=0){for(let o=this;;){for(let{children:s,positions:a}=o._tree,u=t>0?s.length:-1;e!=u;e+=t){let u=s[e],c=a[e]+o.from;if(eD(n,i,c,c+u.length)){if(u instanceof ew){if(r&l.ExcludeBuffers)continue;let s=u.findChild(0,u.buffer.length,t,i-c,n);if(s>-1)return new eE(new eA(o,u,e,c),null,s)}else if(r&l.IncludeAnonymous||!u.type.isAnonymous||eF(u)){let s;if(!(r&l.IgnoreMounts)&&(s=eg.get(u))&&!s.overlay)return new eC(s.tree,c,e,o);let a=new eC(u,c,e,o);return r&l.IncludeAnonymous||!a.type.isAnonymous?a:a.nextChild(t<0?u.children.length-1:0,t,i,n)}}}if(r&l.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))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 n;if(!(i&l.IgnoreOverlays)&&(n=eg.get(this._tree))&&n.overlay){let i=e-this.from;for(let{from:e,to:r}of n.overlay)if((t>0?e<=i:e<i)&&(t<0?r>=i:r>
vendor: 9,936 bytes, line 1
1i))return new eC(n.tree,n.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}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function e$(e,t,i,n){let r=e.cursor(),o=[];if(!r.firstChild())return o;if(null!=i){for(let e=!1;!e;)if(e=r.type.is(i),!r.nextSibling())return o}for(;;){if(null!=n&&r.type.is(n))return o;if(r.type.is(t)&&o.push(r.node),!r.nextSibling())return null==n?o:[]}}function eZ(e,t,i=t.length-1){for(let n=e.parent;i>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(t[i]&&t[i]!=n.name)return!1;i--}}return!0}class eA{constructor(e,t,i,n){this.parent=e,this.buffer=t,this.index=i,this.start=n}}class eE extends eP{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){super(),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:n}=this.context,r=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.context.start,i);return r<0?null:new eE(this.context,this,r)}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&l.ExcludeBuffers)return null;let{buffer:n}=this.context,r=n.findChild(this.index+4,n.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return r<0?null:new eE(this.context,this,r)}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 eE(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 eE(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:i}=this.context,n=this.index+4,r=i.buffer[this.index+3];if(r>n){let o=i.buffer[this.index+1];e.push(i.slice(n,r,o)),t.push(0)}return new ex(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function eM(e){if(!e.length)return null;let t=0,i=e[0];for(let n=1;n<e.length;n++){let r=e[n];(r.from>i.from||r.to<i.to)&&(i=r,t=n)}let n=i instanceof eC&&i.index<0?null:i.parent,r=e.slice();return n?r[t]=n:r.splice(t,1),new eW(r,i)}class eW{constructor(e,t){this.heads=e,this.node=t}get next(){return eM(this.heads)}}class eB{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 eC)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.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)}yieldBuf(e,t){this.index=e;let{start:i,buffer:n}=this.buffer;return this.type=t||n.set.types[n.buffer[e]],this.from=i+n.buffer[e+1],this.to=i+n.buffer[e+2],!0}yield(e){return!!e&&(e instanceof eC?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}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:n}=this.buffer,r=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.buffer.start,i);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}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&l.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&l.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&l.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));let{buffer:t}=this.buffer,i=this.stack.length-1;if(e<0){let e=i<0?0:this.stack[i]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(i<0?t.buffer.length:t.buffer[this.stack[i]+3]))return this.yieldBuf(e)}return i<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,i,{buffer:n}=this;if(n){if(e>0){if(this.index<n.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(n.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:i}=n)}else({index:t,_parent:i}=this._tree);for(;i;{index:t,_parent:i}=i)if(t>-1)for(let n=t+e,r=e<0?-1:i._tree.children.length;n!=r;n+=e){let e=i._tree.children[n];if(this.mode&l.IncludeAnonymous||e instanceof ew||!e.type.isAnonymous||eF(e))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<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,i=0;if(e&&e.context==this.buffer)e:for(let n=this.index,r=this.stack.length;r>=0;){for(let o=e;o;o=o._parent)if(o.index==n){if(n==this.index)return o;t=o,i=r+1;break e}n=this.stack[--r]}for(let e=i;e<this.stack.length;e++)t=new eE(this.buffer,t,this.stack[e]);return this.bufferNode=new eE(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let i=0;;){let n=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){i++;continue}this.type.isAnonymous||(n=!0)}for(;n&&t&&t(this),n=this.type.isAnonymous,!this.nextSibling();){if(!i)return;this.parent(),i--,n=!0}}}matchContext(e){if(!this.buffer)return eZ(this.node,e);let{buffer:t}=this.buffer,{types:i}=t.set;for(let n=e.length-1,r=this.stack.length-1;n>=0;r--){if(r<0)return eZ(this.node,e,n);let o=i[t.buffer[this.stack[r]]];if(!o.isAnonymous){if(e[n]&&e[n]!=o.name)return!1;n--}}return!0}}function eF(e){return e.children.some(e=>e instanceof ew||!e.type.isAnonymous||eF(e))}let eT=new WeakMap;function ej(e,t){if(!e.isAnonymous||t instanceof ew||t.type!=e)return 1;let i=eT.get(t);if(null==i){for(let n of(i=1,t.children)){if(n.type!=e||!(n instanceof ex)){i=1;break}i+=ej(e,n)}eT.set(t,i)}return i}function eR(e,t,i,n,r,o,s,a,l){let u=0;for(let i=n;i<r;i++)u+=ej(e,t[i]);let c=Math.ceil(1.5*u/8),h=[],d=[];return!function t(i,n,r,s,a){for(let u=r;u<s;){let r=u,f=n[u],p=ej(e,i[u]);for(u++;u<s;u++){let t=ej(e,i[u]);if(p+t>=c)break;p+=t}if(u==r+1){if(p>c){let e=i[r];t(e.children,e.positions,0,e.children.length,n[r]+a);continue}h.push(i[r])}else{let t=n[u-1]+i[u-1].length-f;h.push(eR(e,i,n,r,u,f,t,null,l))}d.push(f+a-o)}}(t,i,n,r,0),(a||l)(h,d,s)}class ez{constructor(e,t,i,n,r=!1,o=!1){this.from=e,this.to=t,this.tree=i,this.offset=n,this.open=(r?1:0)|(o?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],i=!1){let n=[new ez(0,e.length,e,0,!1,i)];for(let i of t)i.to>e.length&&n.push(i);return n}static applyChanges(e,t,i=128){if(!t.length)return e;let n=[],r=1,o=e.length?e[0]:null;for(let s=0,a=0,l=0;;s++){let u=s<t.length?t[s]:null,c=u?u.fromA:1e9;if(c-a>=i)for(;o&&o.from<c;){let t=o;if(a>=t.from||c<=t.to||l){let e=Math.max(t.from,a)-l,i=Math.min(t.to,c)-l;t=e>=i?null:new ez(e,i,t.tree,t.offset+l,s>0,!!u)}if(t&&n.push(t),o.to>c)break;o=r<e.length?e[r++]:null}if(!u)break;a=u.toA,l=u.toA-u.toB}return n}}class e_{startParse(e,t,i){return"string"==typeof e&&(e=new eY(e)),i=i?i.length?i.map(e=>new ep(e.from,e.to)):[new ep(0,0)]:[new ep(0,e.length)],this.createParse(e,t||[],i)}parse(e,t,i){let n=this.startParse(e,t,i);for(;;){let e=n.advance();if(e)return e}}}class eY{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 eO({perNode:!0});let eX=0;class eI{constructor(e,t,i){this.set=e,this.base=t,this.modified=i,this.id=eX++}static define(e){if(null==e?void 0:e.base)throw Error("Can not derive from a modified tag");let t=new eI([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new eq;return t=>t.modified.indexOf(e)>-1?t:eq.get(t.base||t,t.modified.concat(e).sort((e,t)=>e.id-t.id))}}let eV=0;class eq{constructor(){this.instances=[],this.id=eV++}static get(e,t){if(!t.length)return e;let i=t[0].instances.find(i=>{var n;return i.base==e&&(n=i.modified,t.length==n.length&&t.every((e,t)=>e==n[t]))});if(i)return i;let n=[],r=new eI(n,e,t);for(let e of t)e.instances.push(r);let o=function(e){let t=[[]];for(let i=0;i<e.length;i++)for(let n=0,r=t.length;n<r;n++)t.push(t[n].concat(e[i]));return t.sort((e,t)=>
1t.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of o)n.push(eq.get(t,e));return r}}function eG(e){let t=Object.create(null);for(let i in e){let n=e[i];for(let e of(Array.isArray(n)||(n=[n]),i.split(" ")))if(e){let i=[],r=2,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){r=1;break}let n=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!n)throw RangeError("Invalid path: "+e);if(i.push("*"==n[0]?"":'"'==n[0][0]?JSON.parse(n[0]):n[0]),(t+=n[0].length)==e.length)break;let s=e[t++];if(t==e.length&&"!"==s){r=0;break}if("/"!=s)throw RangeError("Invalid path: "+e);o=e.slice(t)}let s=i.length-1,a=i[s];if(!a)throw RangeError("Invalid path: "+e);let l=new eL(n,r,s>0?i.slice(0,s):null);t[a]=l.sort(t[a])}}return eU.add(t)}let eU=new eO;class eL{constructor(e,t,i,n){this.tags=e,this.mode=t,this.context=i,this.next=n}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function eN(e,t){let i=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)i[e.id]=t.class;else i[t.tag.id]=t.class;let{scope:n,all:r=null}=t||{};return{style:e=>{let t=r;for(let n of e)for(let e of n.set){let n=i[e.id];if(n){t=t?t+" "+n:n;break}}return t},scope:n}}eL.empty=new eL([],2,null);class eH{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,n,r){let{type:o,from:s,to:a}=e;if(s>=i||a<=t)return;o.isTop&&(r=this.highlighters.filter(e=>!e.scope||e.scope(o)));let l=n,u=function(e){let t=e.type.prop(eU);for(;t&&t.context&&!e.matchContext(t.context);
1)t=t.next;return t||null}(e)||eL.empty,c=function(e,t){let i=null;for(let n of e){let e=n.style(t);e&&(i=i?i+" "+e:e)}return i}(r,u.tags);if(c&&(l&&(l+=" "),l+=c,1==u.mode&&(n+=(n?" ":"")+c)),this.startSpan(Math.max(t,s),l),u.opaque)return;let h=e.tree&&e.tree.prop(eO.mounted);if(h&&h.overlay){let o=e.node.enter(h.overlay[0].from+s,1),u=this.highlighters.filter(e=>!e.scope||e.scope(h.tree.type)),c=e.firstChild();for(let d=0,f=s;;d++){let p=d<h.overlay.length?h.overlay[d]:null,O=p?p.from+s:a,g=Math.max(t,f),m=Math.min(i,O);if(g<m&&c)for(;e.from<m&&(this.highlightRange(e,g,m,n,r),this.startSpan(Math.min(m,e.to),l),!(e.to>=O)&&e.nextSibling()););if(!p||O>i)break;(f=p.to+s)>t&&(this.highlightRange(o.cursor(),Math.max(t,p.from+s),Math.min(i,f),"",u),this.startSpan(Math.min(i,f),l))}c&&e.parent()}else if(e.firstChild()){h&&(n="");do{if(e.to<=t)continue;if(e.from>=i)break;this.highlightRange(e,t,i,n,r),this.startSpan(Math.min(i,e.to),l)}while(e.nextSibling());e.parent()}}}let eJ=eI.define,eK=eJ(),e0=eJ(),e1=eJ(e0),e2=eJ(e0),e5=eJ(),e7=eJ(e5),e3=eJ(e5),e8=eJ(),e6=eJ(e8),e4=eJ(),e9=eJ(),te=eJ(),tt=eJ(te),ti=eJ(),tn={comment:eK,lineComment:eJ(eK),blockComment:eJ(eK),docComment:eJ(eK),name:e0,variableName:eJ(e0),typeName:e1,tagName:eJ(e1),propertyName:e2,attributeName:eJ(e2),className:eJ(e0),labelName:eJ(e0),namespace:eJ(e0),macroName:eJ(e0),literal:e5,string:e7,docString:eJ(e7),character:eJ(e7),attributeValue:eJ(e7),number:e3,integer:eJ(e3),float:eJ(e3),bool:eJ(e5),regexp:eJ(e5),escape:eJ(e5),color:eJ(e5),url:eJ(e5),keyword:e4,self:eJ(e4),null:eJ(e4),atom:eJ(e4),unit:eJ(e4),modifier:eJ(e4),operatorKeyword:eJ(e4),controlKeyword:eJ(e4),definitionKeyword:eJ(e4),moduleKeyword:eJ(e4),operator:e9,derefOperator:eJ(e9),arithmeticOperator:eJ(e9),logicOperator:eJ(e9),bitwiseOperator:eJ(e9),compareOperator:eJ(e9),updateOperator:eJ(e9),definitionOperator:eJ(e9),typeOperator:eJ(e9),controlOperator:eJ(e9),punctuation:te,separator:eJ(te),bracket:tt,angleBracket:eJ(tt),squareBracket:eJ(tt),paren:eJ(tt),brace:eJ(tt),content:e8,heading:e6,heading1:eJ(e6),heading2:eJ(e6),heading3:eJ(e6),heading4:eJ(e6),heading5:eJ(e6),heading6:eJ(e6),contentSeparator:eJ(e8),list:eJ(e8),quote:eJ(e8),emphasis:eJ(e8),strong:eJ(e8),link:eJ(e8),monospace:eJ(e8),strikethrough:eJ(e8),inserted:eJ(),deleted:eJ(),changed:eJ(),invalid:eJ(),meta:ti,documentMeta:eJ(ti),annotation:eJ(ti),processingInstruction:eJ(ti),definition:eI.defineModifier(),constant:eI.defineModifier(),function:eI.defineModifier(),standard:eI.defineModifier(),local:eI.defineModifier(),special:eI.defineModifier()};eN([{tag:tn.link,class:"tok-link"},{tag:tn.heading,class:"tok-heading"},{tag:tn.emphasis,class:"tok-emphasis"},{tag:tn.strong,class:"tok-strong"},{tag:tn.keyword,class:"tok-keyword"},{tag:tn.atom,class:"tok-atom"},{tag:tn.bool,class:"tok-bool"},{tag:tn.url,class:"tok-url"},{tag:tn.labelName,class:"tok-labelName"},{tag:tn.inserted,class:"tok-inserted"},{tag:tn.deleted,class:"tok-deleted"},{tag:tn.literal,class:"tok-literal"},{tag:tn.string,class:"tok-string"},{tag:tn.number,class:"tok-number"},{tag:[tn.regexp,tn.escape,tn.special(tn.string)],class:"tok-string2"},{tag:tn.variableName,class:"tok-variableName"},{tag:tn.local(tn.variableName),class:"tok-variableName tok-local"},{tag:tn.definition(tn.variableName),class:"tok-variableName tok-definition"},{tag:tn.special(tn.variableName),class:"tok-variableName2"},{tag:tn.definition(tn.propertyName),class:"tok-propertyName tok-definition"},{tag:tn.typeName,class:"tok-typeName"},{tag:tn.namespace,class:"tok-namespace"},{tag:tn.className,class:"tok-className"},{tag:tn.macroName,class:"tok-macroName"},{tag:tn.propertyName,class:"tok-propertyName"},{tag:tn.operator,class:"tok-operator"},{tag:tn.comment,class:"tok-comment"},{tag:tn.meta,class:"tok-meta"},{tag:tn.invalid,class:"tok-invalid"},{tag:tn.punctuation,class:"tok-punctuation"}]);var tr=i(78206);let to=new eO,ts=new eO;class ta{constructor(e,t,i=[],n=""){this.data=e,this.name=n,eh.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(eh.yy.prototype,"tree",{get(){return tc(this)}}),this.parser=t,this.extension=[ty.of(this),eh.yy.languageData.of((e,t,i)=>{let n=tl(e,t,i),r=n.type.prop(to);if(!r)return[];let o=e.facet(r),s=n.type.prop(ts);if(s){let r=n.resolve(t-n.from,i);for(let t of s)if(t.test(r,e)){let i=e.facet(t.facet);return"replace"==t.type?i:i.concat(o)}}return o}
vendor: 6,728 bytes, line 1
1)].concat(i)}isActiveAt(e,t,i=-1){return tl(e,t,i).type.prop(to)==this.data}findRegions(e){let t=e.facet(ty);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let i=[],n=(e,t)=>{if(e.prop(to)==this.data){i.push({from:t,to:t+e.length});return}let r=e.prop(eO.mounted);if(r){if(r.tree.prop(to)==this.data){if(r.overlay)for(let e of r.overlay)i.push({from:e.from+t,to:e.to+t});else i.push({from:t,to:t+e.length});return}if(r.overlay){let e=i.length;if(n(r.tree,r.overlay[0].from+t),i.length>e)return}}for(let i=0;i<e.children.length;i++){let r=e.children[i];r instanceof ex&&n(r,e.positions[i]+t)}};return n(tc(e),0),i}get allowsNesting(){return!0}}function tl(e,t,i){let n=e.facet(ty),r=tc(e).topNode;if(!n||n.allowsNesting)for(let e=r;e;e=e.enter(t,i,l.ExcludeBuffers))e.type.isTop&&(r=e);return r}ta.setState=eh.Py.define();class tu extends ta{constructor(e,t,i){super(e,t,[],i),this.parser=t}static define(e){var t;let i=(t=e.languageData,eh.r$.define({combine:t?e=>e.concat(t):void 0}));return new tu(i,e.parser.configure({props:[to.add(e=>e.isTop?i:void 0)]}),e.name)}configure(e,t){return new tu(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function tc(e){let t=e.field(ta.state,!1);return t?t.tree:ex.empty}class th{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<i||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-i,t-i)}}let td=null;class tf{constructor(e,t,i=[],n,r,o,s,a){this.parser=e,this.state=t,this.fragments=i,this.tree=n,this.treeLen=r,this.viewport=o,this.skipped=s,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,i){return new tf(e,t,[],ex.empty,0,i,[],null)}startParse(){return this.parser.startParse(new th(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=ex.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var i;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let n=this.parse.advance();if(n){if(this.fragments=this.withoutTempSkipped(ez.addTree(n,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(i=this.parse.stoppedAt)&&void 0!==i?i:this.state.doc.length,this.tree=n,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||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(ez.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=td;td=this;try{return e()}finally{td=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=tp(e,t.from,t.to);return e}changes(e,t){let{fragments:i,tree:n,treeLen:r,viewport:o,skipped:s}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,i,n,r)=>t.push({fromA:e,toA:i,fromB:n,toB:r})),i=ez.applyChanges(i,t),n=ex.empty,r=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let t of(s=[],this.skipped)){let i=e.mapPos(t.from,1),n=e.mapPos(t.to,-1);i<n&&s.push({from:i,to:n})}}return new tf(this.parser,t,i,n,r,o,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:i,to:n}=this.skipped[t];i<e.to&&n>e.from&&(this.fragments=tp(this.fragments,i,n),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(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 e_{createParse(t,i,n){let r=n[0].from,o=n[n.length-1].to;return{parsedPos:r,advance(){let t=td;if(t){for(let e of n)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new ex(eb.none,[],[],o-r)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return td}}function tp(e,t,i){return ez.applyChanges(e,[{fromA:t,toA:i,fromB:t,toB:i}])}class tO{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 tO(t)}static init(e){let t=Math.min(3e3,e.doc.length),i=tf.create(e.facet(ty).parser,e,{from:0,to:t});return i.work(20,t)||i.takeTree(),new tO(i)}}ta.state=eh.QQ.define({create:tO.init,update(e,t){for(let e of t.effects)if(e.is(ta.setState))return e.value;return t.startState.facet(ty)!=t.state.facet(ty)?tO.init(t.state):e.apply(t)}});let tg=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(tg=e=>{let t=-1,i=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(i):cancelIdleCallback(t)});let tm="undefined"!=typeof navigator&&(null===(u=navigator.scheduling)||void 0===u?void 0:u.isInputPending)?()=>navigator.scheduling.isInputPending():null,tb=ed.lg.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(ta.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(ta.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=tg(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:i,viewport:{to:n}}=this.view,r=i.field(ta.state);
1if(r.tree==r.context.tree&&r.context.isDone(n+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!tm?Math.max(25,e.timeRemaining()-5):1e9),s=r.context.treeLen<n&&i.doc.length>n+1e3,a=r.context.work(()=>tm&&tm()||Date.now()>o,n+(s?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:ta.setState.of(new tO(r.context))})),this.chunkBudget>0&&!(a&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,ed.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),ty=eh.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[ta.state,tb,ed.tk.contentAttributes.compute([e],t=>{let i=t.facet(e);return i&&i.name?{"data-language":i.name}:{}})]}),tv=eh.r$.define(),tS=eh.r$.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function tx(e){let t=e.facet(tS);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function tk(e,t){let i="",n=e.tabSize,r=e.facet(tS)[0];if(" "==r){for(;t>=n;)i+=" ",t-=n;r=" "}for(let e=0;e<t;e++)i+=r;return i}function tw(e,t){for(let i of(e instanceof eh.yy&&(e=new tD(e)),e.state.facet(tv))){let n=i(e,t);if(void 0!==n)return n}let i=tc(e.state);return i.length>=t?function(e,t,i){let n=t.resolveStack(i),r=n.node.enterUnfinishedNodesBefore(i);if(r!=n.node){let e=[];for(let t=r;t!=n.node;t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)n={node:e[t],next:n}}return tP(n,e,i)}(e,i,t):null}class tD{constructor(e,t={}){this.state=e,this.options=t,this.unit=tx(e)}lineAt(e,t=1){let i=this.state.doc.lineAt(e),{simulateBreak:n,simulateDoubleBreak:r}=this.options;return null!=n&&n>=i.from&&n<=i.to?r&&n==e?{text:"",from:e}:(t<0?n<e:n<=e)?{text:i.text.slice(n-i.from),from:n}:{text:i.text.slice(0,n-i.from),from:i.from}:i}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:i,from:n}=this.lineAt(e,t);return i.slice(e-n,Math.min(i.length,e+100-n))}column(e,t=1){let{text:i,from:n}=this.lineAt(e,t),r=this.countColumn(i,e-n),o=this.options.overrideIndentation?this.options.overrideIndentation(n):-1;return o>-1&&(r+=o-this.countColumn(i,i.search(/\S|$/))),r}countColumn(e,t=e.length){return(0,eh.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:i,from:n}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let e=r(n);if(e>-1)return e}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let tQ=new eO;function tP(e,t,i){for(let n=e;n;n=n.next){let e=function(e){let t=e.type.prop(tQ);if(t)return t;let i=e.firstChild,n;if(i&&(n=i.type.prop(eO.closedBy))){let t=e.lastChild,i=t&&n.indexOf(t.name)>-1;return e=>tZ(e,!0,1,void 0,i&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?t.from:void 0)}return null==e.parent?tC:null}(n.node);if(e)return e(t$.create(t,i,n))}return 0}function tC(){return 0}class t$ extends tD{constructor(e,t,i){super(e.state,e.options),this.base=e,this.pos=t,this.context=i}get node(){return this.context.node}static create(e,t,i){return new t$(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(function(e,t){for(let i=t;i;i=i.parent)if(e==i)return!0;return!1}(i,e))break;t=this.state.doc.lineAt(i.from)}return this.lineIndent(t.from)}continue(){return tP(this.context.next,this.base,this.pos)}}function tZ(e,t,i,n,r){let o=e.textAfter,s=o.match(/^\s*/)[0].length,a=n&&o.slice(s,s+n.length)==n||r==e.pos+s,l=t?function(e){let t=e.node,i=t.childAfter(t.from),n=t.lastChild;if(!i)return null;let r=e.options.simulateBreak,o=e.state.doc.lineAt(i.from),s=null==r||r<=o.from?o.to:Math.min(o.to,r);for(let e=i.to;;){let r=t.childAfter(e);if(!r||r==n)return null;if(!r.type.isSkipped)return r.from<s?i:null;e=r.to}}(e):null;return l?a?e.column(l.from):e.column(l.to):e.baseIndent+(a?0:e.unit*i)}function tA({except:e,units:t=1}={}){return i=>{let n=e&&e.test(i.textAfter);return i.baseIndent+(n?0:t*i.unit)}}function tE(){return eh.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let i=e.newDoc,{head:n}=e.newSelection.main,r=i.lineAt(n);if(n>r.from+200)return e;let o=i.sliceString(r.from,n);if(!t.some(e=>e.test(o)))return e;let{state:s}=e,a=-1,l=[];for(let{head:e}of s.selection.ranges){let t=s.doc.lineAt(e);if(t.from==a)continue;a=t.from;let i=tw(s,t.from);if(null==i)continue;let n=/^\s*/.exec(t.text)[0],r=tk(s,i);n!=r&&l.push({from:t.from,to:t.from+n.length,insert:r})}return l.length?[e,{changes:l,sequential:!0}]:e})}let tM=eh.r$.define(),tW=new eO;function tB(e,t,i){for(let n of e.facet(tM)){let r=n(e,t,i);if(r)return r}return function(e,t,i){let n=tc(e);if(n.length<i)return null;let r=n.resolveStack(i,1),o=null;for(let s=r;s;s=s.next){let r=s.node;if(r.to<=i||r.from>i)continue;if(o&&r.from<t)break;let a=r.type.prop(tW);
1if(a&&(r.to<n.length-50||n.length==e.doc.length||!function(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}(r))){let n=a(r,e);n&&n.from<=i&&n.from>=t&&n.to>i&&(o=n)}}return o}(e,t,i)}function tF(e,t){let i=t.mapPos(e.from,1),n=t.mapPos(e.to,-1);return i>=n?void 0:{from:i,to:n}}let tT=eh.Py.define({map:tF}),tj=eh.Py.define({map:tF});function tR(e){let t=[];for(let{head:i}of e.state.selection.ranges)t.some(e=>e.from<=i&&e.to>=i)||t.push(e.lineBlockAt(i));return t}let tz=eh.QQ.define({create:()=>ed.p.none,update(e,t){for(let i of(e=e.map(t.changes),t.effects))if(i.is(tT)&&!function(e,t,i){let n=!1;return e.between(t,t,(e,r)=>{e==t&&r==i&&(n=!0)}),n}(e,i.value.from,i.value.to)){let{preparePlaceholder:n}=t.state.facet(tq),r=n?ed.p.replace({widget:new tN(n(t.state,i.value))}):tL;e=e.update({add:[r.range(i.value.from,i.value.to)]})}else i.is(tj)&&(e=e.update({filter:(e,t)=>i.value.from!=e||i.value.to!=t,filterFrom:i.value.from,filterTo:i.value.to}));if(t.selection){let i=!1,{head:n}=t.selection.main;e.between(n,n,(e,t)=>{e<n&&t>n&&(i=!0)}),i&&(e=e.update({filterFrom:n,filterTo:n,filter:(e,t)=>t<=n||e>=n}))}return e},provide:e=>ed.tk.decorations.from(e),toJSON(e,t){let i=[];return e.between(0,t.doc.length,(e,t)=>{i.push(e,t)}),i},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let i=0;i<e.length;){let n=e[i++],r=e[i++];if("number"!=typeof n||"number"!=typeof r)throw RangeError("Invalid JSON for fold state");t.push(tL.range(n,r))}return ed.p.set(t,!0)}});function t_(e,t,i){var n;let r=null;return null===(n=e.field(tz,!1))||void 0===n||n.between(t,i,(e,t)=>{(!r||r.from>e)&&(r={from:e,to:t})}),r}function tY(e,t){return e.field(tz,!1)?t:t.concat(eh.Py.appendConfig.of(tG()))}function tX(e,t,i=!0){let n=e.state.doc.lineAt(t.from).number,r=e.state.doc.lineAt(t.to).number;return ed.tk.announce.of(`${e.state.phrase(i?"Folded lines":"Unfolded lines")} ${n} ${e.state.phrase("to")} ${r}.`)}let tI=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of tR(e)){let i=tB(e.state,t.from,t.to);if(i)return e.dispatch({effects:tY(e.state,[tT.of(i),tX(e,i)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(tz,!1))return!1;let t=[];for(let i of tR(e)){let n=t_(e.state,i.from,i.to);n&&t.push(tj.of(n),tX(e,n,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,i=[];for(let n=0;n<t.doc.length;){let r=e.lineBlockAt(n),o=tB(t,r.from,r.to);o&&i.push(tT.of(o)),n=(o?e.lineBlockAt(o.to):r).to+1}return i.length&&e.dispatch({effects:tY(e.state,i)}),!!i.length}},{key:"Ctrl-Alt-]",run:e=>{let t=e.state.field(tz,!1);if(!t||!t.size)return!1;let i=[];return t.between(0,e.state.doc.length,(e,t)=>{i.push(tj.of({from:e,to:t}))}),e.dispatch({effects:i}),!0}}],tV={placeholderDOM:null,preparePlaceholder:null,placeholderText:"â¦"},tq=eh.r$.define({combine:e=>(0,eh.BO)(e,tV)});function tG(e){let t=[tz,tK];return e&&t.push(tq.of(e)),t}function tU(e,t){let{state:i}=e,n=i.facet(tq),r=t=>{let i=e.lineBlockAt(e.posAtDOM(t.target)),n=t_(e.state,i.from,i.to);n&&e.dispatch({effects:tj.of(n)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,r,t);let o=document.createElement("span");return o.textContent=n.placeholderText,o.setAttribute("aria-label",i.phrase("folded code")),o.title=i.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=r,o}let tL=ed.p.replace({widget:new class extends ed.l9{toDOM(e){return tU(e,null)}}});class tN extends ed.l9{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return tU(e,this.value)}}let tH={openText:"â",closedText:"âº",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class tJ extends ed.SJ{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}}let tK=ed.tk.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 t0{constructor(e,t){let i;function n(e){let t=tr.V.newName();return(i||(i=Object.create(null)))["."+t]=e,t}this.specs=e;let r="string"==typeof t.all?t.all:t.all?n(t.all):void 0,o=t.scope;this.scope=o instanceof ta?e=>e.prop(to)==o.data:o?e=>e==o:void 0,this.style=eN(e.map(e=>({tag:e.tag,class:e.class||n(Object.assign({},e,{tag:null}))})),{all:r}).style,this.module=i?new tr.V(i):null,this.themeType=t.themeType}static define(e,t){return new t0(e,t||{})}}
1let t1=eh.r$.define(),t2=eh.r$.define({combine:e=>e.length?[e[0]]:null});function t5(e){let t=e.facet(t1);return t.length?t:e.facet(t2)}function t7(e,t){let i=[t8],n;return e instanceof t0&&(e.module&&i.push(ed.tk.styleModule.of(e.module)),n=e.themeType),(null==t?void 0:t.fallback)?i.push(t2.of(e)):n?i.push(t1.computeN([ed.tk.darkTheme],t=>t.facet(ed.tk.darkTheme)==("dark"==n)?[e]:[])):i.push(t1.of(e)),i}class t3{constructor(e){this.markCache=Object.create(null),this.tree=tc(e.state),this.decorations=this.buildDeco(e,t5(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=tc(e.state),i=t5(e.state),n=i!=t5(e.startState),{viewport:r}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length<r.to&&!n&&t.type==this.tree.type&&o>=r.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(t!=this.tree||e.viewportChanged||n)&&(this.tree=t,this.decorations=this.buildDeco(e.view,i),this.decoratedTo=r.to)}buildDeco(e,t){if(!t||!this.tree.length)return ed.p.none;let i=new eh.f_;for(let{from:n,to:r}of e.visibleRanges)!function(e,t,i,n=0,r=e.length){let o=new eH(n,Array.isArray(t)?t:[t],i);o.highlightRange(e.cursor(),n,r,"",o.highlighters),o.flush(r)}(this.tree,t,(e,t,n)=>{i.add(e,t,this.markCache[n]||(this.markCache[n]=ed.p.mark({class:n})))},n,r);return i.finish()}}let t8=eh.Wl.high(ed.lg.fromClass(t3,{decorations:e=>e.decorations})),t6=t0.define([{tag:tn.meta,color:"#404740"},{tag:tn.link,textDecoration:"underline"},{tag:tn.heading,textDecoration:"underline",fontWeight:"bold"},{tag:tn.emphasis,fontStyle:"italic"},{tag:tn.strong,fontWeight:"bold"},{tag:tn.strikethrough,textDecoration:"line-through"},{tag:tn.keyword,color:"#708"},{tag:[tn.atom,tn.bool,tn.url,tn.contentSeparator,tn.labelName],color:"#219"},{tag:[tn.literal,tn.inserted],color:"#164"},{tag:[tn.string,tn.deleted],color:"#a11"},{tag:[tn.regexp,tn.escape,tn.special(tn.string)],color:"#e40"},{tag:tn.definition(tn.variableName),color:"#00f"},{tag:tn.local(tn.variableName),color:"#30a"},{tag:[tn.typeName,tn.namespace],color:"#085"},{tag:tn.className,color:"#167"},{tag:[tn.special(tn.variableName),tn.macroName],color:"#256"},{tag:tn.definition(tn.propertyName),color:"#00c"},{tag:tn.comment,color:"#940"},{tag:tn.invalid,color:"#f00"}]),t4=ed.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),t9="()[]{}",ie=eh.r$.define({combine:e=>(0,eh.BO)(e,{afterCursor:!0,brackets:t9,maxScanDistance:1e4,renderMatch:ir})}),it=ed.p.mark({class:"cm-matchingBracket"}),ii=ed.p.mark({class:"cm-nonmatchingBracket"});function ir(e){let t=[],i=e.matched?it:ii;return t.push(i.range(e.start.from,e.start.to)),e.end&&t.push(i.range(e.end.from,e.end.to)),t}let io=[eh.QQ.define({create:()=>ed.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let i=[],n=t.state.facet(ie);for(let e of t.state.selection.ranges){if(!e.empty)continue;let r=ic(t.state,e.head,-1,n)||e.head>0&&ic(t.state,e.head-1,1,n)||n.afterCursor&&(ic(t.state,e.head,1,n)||e.head<t.state.doc.length&&ic(t.state,e.head+1,-1,n));r&&(i=i.concat(n.renderMatch(r,t.state)))}return ed.p.set(i,!0)},provide:e=>ed.tk.decorations.from(e)}),t4];function is(e={}){return[ie.of(e),io]}let ia=new eO;function il(e,t,i){let n=e.prop(t<0?eO.openedBy:eO.closedBy);if(n)return n;if(1==e.name.length){let n=i.indexOf(e.name);if(n>-1&&n%2==(t<0?1:0))return[i[n+t]]}return null}function iu(e){let t=e.type.prop(ia);return t?t(e.node):e}function ic(e,t,i,n={}){let r=n.maxScanDistance||1e4,o=n.brackets||t9,s=tc(e),a=s.resolveInner(t,i);for(let e=a;e;e=e.parent){let n=il(e.type,i,o);if(n&&e.from<e.to){let r=iu(e);if(r&&(i>0?t>=r.from&&t<r.to:t>r.from&&t<=r.to))return function(e,t,i,n,r,o,s){let a=n.parent,l={from:r.from,to:r.to},u=0,c=null==a?void 0:a.cursor();if(c&&(i<0?c.childBefore(n.from):c.childAfter(n.to)))do if(i<0?c.to<=n.from:c.from>=n.to){if(0==u&&o.indexOf(c.type.name)>-1&&c.from<c.to){let e=iu(c);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(il(c.type,i,s))u++;else if(il(c.type,-i,s)){if(0==u){let e=iu(c);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}u--}}while(i<0?c.prevSibling():c.nextSibling());return{start:l,matched:!1}}(0,0,i,e,r,n,o)}}return function(e,t,i,n,r,o,s){let a=i<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=s.indexOf(a);if(l<0||l%2==0!=i>
10)return null;let u={from:i<0?t-1:t,to:i>0?t+1:t},c=e.doc.iterRange(t,i>0?e.doc.length:0),h=0;for(let e=0;!c.next().done&&e<=o;){let o=c.value;i<0&&(e+=o.length);let a=t+e*i;for(let e=i>0?0:o.length-1,t=i>0?o.length:-1;e!=t;e+=i){let t=s.indexOf(o[e]);if(!(t<0)&&n.resolveInner(a+e,1).type==r){if(t%2==0==i>0)h++;else{if(1==h)return{start:u,end:{from:a+e,to:a+e+1},matched:t>>1==l>>1};h--}}}i>0&&(e+=o.length)}return c.done?{start:u,matched:!1}:null}(e,t,i,s,a.type,r,o)}let ih=Object.create(null),id=[eb.none],ip=[],iO=Object.create(null),ig=Object.create(null);for(let[e,t]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"]])ig[e]=function(e,t){let i=[];for(let n of t.split(" ")){let t=[];for(let i of n.split(".")){let n=e[i]||tn[i];n?"function"==typeof n?t.length?t=t.map(n):im(i,`Modifier ${i} used at start of tag`):t.length?im(i,`Tag ${i} used as modifier`):t=Array.isArray(n)?n:[n]:im(i,`Unknown highlighting tag ${i}`)}for(let e of t)i.push(e)}if(!i.length)return 0;let n=t.replace(/ /g,"_"),r=n+" "+i.map(e=>e.id),o=iO[r];if(o)return o.id;let s=iO[r]=eb.define({id:id.length,name:n,props:[eG({[n]:i})]});return id.push(s),s.id}(ih,t);function im(e,t){ip.indexOf(e)>-1||(ip.push(e),console.warn(t))}function ib(e,t){return({state:i,dispatch:n})=>{if(i.readOnly)return!1;let r=e(t,i);return!!r&&(n(i.update(r)),!0)}}ed.Nm.RTL,ed.Nm.LTR;let iy=ib(function(e,t,i=t.selection.ranges){let n=[],r=-1;for(let{from:e,to:o}of i){let i=n.length,s=1e9,a=ix(t,e).line;if(a){for(let i=e;i<=o;){let l=t.doc.lineAt(i);if(l.from>r&&(e==o||o>l.from)){r=l.from;let e=/^\s*/.exec(l.text)[0].length,t=e==l.length,i=l.text.slice(e,e+a.length)==a?e:-1;e<l.text.length&&e<s&&(s=e),n.push({line:l,comment:i,token:a,indent:e,empty:t,single:!1})}i=l.to+1}if(s<1e9)for(let e=i;e<n.length;e++)n[e].indent<n[e].line.text.length&&(n[e].indent=s);n.length==i+1&&(n[i].single=!0)}}if(2!=e&&n.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:i,indent:r,empty:o,single:s}of n)(s||!o)&&e.push({from:t.from+r,insert:i+" "});let i=t.changes(e);return{changes:i,selection:t.selection.map(i,1)}}if(1!=e&&n.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:i,token:r}of n)if(i>=0){let n=t.from+i,o=n+r.length;" "==t.text[o-t.from]&&o++,e.push({from:n,to:o})}return{changes:e}}return null},0),iv=ib(ik,0),iS=ib((e,t)=>ik(e,t,function(e){let t=[];for(let i of e.selection.ranges){let n=e.doc.lineAt(i.from),r=i.to<=n.to?n:e.doc.lineAt(i.to),o=t.length-1;o>=0&&t[o].to>n.from?t[o].to=r.to:t.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:r.to})}return t}(t)),0);function ix(e,t){let i=e.languageDataAt("commentTokens",t);return i.length?i[0]:{}}function ik(e,t,i=t.selection.ranges){let n=i.map(e=>ix(t,e.from).block);if(!n.every(e=>e))return null;let r=i.map((e,i)=>(function(e,{open:t,close:i},n,r){let o,s,a=e.sliceDoc(n-50,n),l=e.sliceDoc(r,r+50),u=/\s*$/.exec(a)[0].length,c=/^\s*/.exec(l)[0].length,h=a.length-u;if(a.slice(h-t.length,h)==t&&l.slice(c,c+i.length)==i)return{open:{pos:n-u,margin:u&&1},close:{pos:r+c,margin:c&&1}};r-n<=100?o=s=e.sliceDoc(n,r):(o=e.sliceDoc(n,n+50),s=e.sliceDoc(r-50,r));let d=/^\s*/.exec(o)[0].length,f=/\s*$/.exec(s)[0].length,p=s.length-f-i.length;return o.slice(d,d+t.length)==t&&s.slice(p,p+i.length)==i?{open:{pos:n+d+t.length,margin:/\s/.test(o.charAt(d+t.length))?1:0},close:{pos:r-f-i.length,margin:/\s/.test(s.charAt(p-1))?1:0}}:null})(t,n[i],e.from,e.to));if(2!=e&&!r.every(e=>e))return{changes:t.changes(i.map((e,t)=>r[t]?[]:[{from:e.from,insert:n[t].open+" "},{from:e.to,insert:" "+n[t].close}]))};if(1!=e&&r.some(e=>e)){let e=[];for(let t=0,i;t<r.length;t++)if(i=r[t]){let r=n[t],{open:o,close:s}=i;e.push({from:o.pos-r.open.length,to:o.pos+o.margin},{from:s.pos-s.margin,to:s.pos+r.close.length})}return{changes:e}}return null}let iw=eh.q6.define(),iD=eh.q6.define(),iQ=eh.r$.define(),iP=eh.r$.define({combine:e=>(0,eh.BO)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>
1t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(i,n)=>e(i,n)||t(i,n)})}),iC=eh.QQ.define({create:()=>iY.empty,update(e,t){let i=t.state.facet(iP),n=t.annotation(iw);if(n){let r=iB.fromTransaction(t,n.selection),o=n.side,s=0==o?e.undone:e.done;return s=r?iF(s,s.length,i.minDepth,r):iR(s,t.startState.selection),new iY(0==o?n.rest:s,0==o?s:n.rest)}let r=t.annotation(iD);if(("full"==r||"before"==r)&&(e=e.isolate()),!1===t.annotation(eh.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=iB.fromTransaction(t),s=t.annotation(eh.YW.time),a=t.annotation(eh.YW.userEvent);return o?e=e.addChanges(o,s,a,i,t):t.selection&&(e=e.addSelection(t.startState.selection,s,a,i.newGroupDelay)),("full"==r||"after"==r)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new iY(e.done.map(iB.fromJSON),e.undone.map(iB.fromJSON))});function i$(e={}){return[iC,iP.of(e),ed.tk.domEventHandlers({beforeinput(e,t){let i="historyUndo"==e.inputType?iA:"historyRedo"==e.inputType?iE:null;return!!i&&(e.preventDefault(),i(t))}})]}function iZ(e,t){return function({state:i,dispatch:n}){if(!t&&i.readOnly)return!1;let r=i.field(iC,!1);if(!r)return!1;let o=r.pop(e,i,t);return!!o&&(n(o),!0)}}let iA=iZ(0,!1),iE=iZ(1,!1),iM=iZ(0,!0),iW=iZ(1,!0);class iB{constructor(e,t,i,n,r){this.changes=e,this.effects=t,this.mapped=i,this.startSelection=n,this.selectionsAfter=r}setSelAfter(e){return new iB(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,i;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(i=this.startSelection)||void 0===i?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new iB(e.changes&&eh.as.fromJSON(e.changes),[],e.mapped&&eh.n0.fromJSON(e.mapped),e.startSelection&&eh.jT.fromJSON(e.startSelection),e.selectionsAfter.map(eh.jT.fromJSON))}static fromTransaction(e,t){let i=ij;for(let t of e.startState.facet(iQ)){let n=t(e);n.length&&(i=i.concat(n))}return!i.length&&e.changes.empty?null:new iB(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,ij)}static selection(e){return new iB(void 0,ij,void 0,void 0,e)}}function iF(e,t,i,n){let r=e.slice(t+1>i+20?t-i-1:0,t);return r.push(n),r}function iT(e,t){return e.length?t.length?e.concat(t):e:t}let ij=[];function iR(e,t){if(!e.length)return[iB.selection([t])];{let i=e[e.length-1],n=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-200));return n.length&&n[n.length-1].eq(t)?e:(n.push(t),iF(e,e.length-1,1e9,i.setSelAfter(n)))}}function iz(e,t){if(!e.length)return e;let i=e.length,n=ij;for(;i;){let r=function(e,t,i){let n=iT(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):ij,i);if(!e.changes)return iB.selection(n);let r=e.changes.map(t),o=t.mapDesc(e.changes,!0),s=e.mapped?e.mapped.composeDesc(o):o;return new iB(r,eh.Py.mapEffects(e.effects,t),s,e.startSelection.map(o),n)}(e[i-1],t,n);if(r.changes&&!r.changes.empty||r.effects.length){let t=e.slice(0,i);return t[i-1]=r,t}t=r.mapped,i--,n=r.selectionsAfter}return n.length?[iB.selection(n)]:ij}let i_=/^(input\.type|delete)($|\.)/;class iY{constructor(e,t,i=0,n){this.done=e,this.undone=t,this.prevTime=i,this.prevUserEvent=n}isolate(){return this.prevTime?new iY(this.done,this.undone):this}addChanges(e,t,i,n,r){var o,s;let a,l,u=this.done,c=u[u.length-1];return new iY(u=c&&c.changes&&!c.changes.empty&&e.changes&&(!i||i_.test(i))&&(!c.selectionsAfter.length&&t-this.prevTime<n.newGroupDelay&&n.joinToEvent(r,(o=c.changes,s=e.changes,a=[],l=!1,o.iterChangedRanges((e,t)=>a.push(e,t)),s.iterChangedRanges((e,t,i,n)=>{for(let e=0;e<a.length;){let t=a[e++],r=a[e++];n>=t&&i<=r&&(l=!0)}}),l))||"input.type.compose"==i)?iF(u,u.length-1,n.minDepth,new iB(e.changes.compose(c.changes),iT(e.effects,c.effects),c.mapped,c.startSelection,ij)):iF(u,u.length,n.minDepth,e),ij,t,i)}addSelection(e,t,i,n){var r;let o=this.done.length?this.done[this.done.length-1].selectionsAfter:ij;return o.length>0&&t-this.prevTime<n&&i==this.prevUserEvent&&i&&/^select($|\.)/.test(i)&&(r=o[o.length-1]).ranges.length==e.ranges.length&&0===r.ranges.filter((t,i)=>t.empty!=e.ranges[i].empty).length?this:new iY(iR(this.done,e),this.undone,t,i)}addMapping(e){return new iY(iz(this.done,e),iz(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,i){let n=0==e?this.done:this.undone;if(0==n.length)return null;let r=n[n.length-1],o=r.selectionsAfter[0]||t.selection;if(i&&r.selectionsAfter.length){let i,s;return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:iw.of({side:e,rest:(i=n[n.length-1],(s=n.slice())[n.length-1]=i.setSelAfter(i.selectionsAfter.slice(0,i.selectionsAfter.length-1)),s),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let i=1==n.length?ij:n.slice(0,n.length-1);return r.mapped&&(i=iz(i,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:iw.of({side:e,rest:i,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}iY.empty=new iY(ij,ij);let iX=[{key:"Mod-z",run:iA,preventDefault:!0}
1,{key:"Mod-y",mac:"Mod-Shift-z",run:iE,preventDefault:!0},{linux:"Ctrl-Shift-z",run:iE,preventDefault:!0},{key:"Mod-u",run:iM,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:iW,preventDefault:!0}];function iI(e,t){return eh.jT.create(e.ranges.map(t),e.mainIndex)}function iV(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function iq({state:e,dispatch:t},i){let n=iI(e.selection,i);return!n.eq(e.selection,!0)&&(t(iV(e,n)),!0)}function iG(e,t){return eh.jT.cursor(t?e.to:e.from)}function iU(e,t){return iq(e,i=>i.empty?e.moveByChar(i,t):iG(i,t))}function iL(e){return e.textDirectionAt(e.state.selection.main.head)==ed.Nm.LTR}let iN=e=>iU(e,!iL(e)),iH=e=>iU(e,iL(e));function iJ(e,t){return iq(e,i=>i.empty?e.moveByGroup(i,t):iG(i,t))}function iK(e,t,i){let n,r,o=tc(e).resolveInner(t.head),s=i?eO.closedBy:eO.openedBy;for(let n=t.head;;){let t=i?o.childAfter(n):o.childBefore(n);if(!t)break;!function(e,t,i){if(t.type.prop(i))return!0;let n=t.to-t.from;return n&&(n>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,t,s)?n=i?t.to:t.from:o=t}return r=o.type.prop(s)&&(n=i?ic(e,o.from,1):ic(e,o.to,-1))&&n.matched?i?n.end.to:n.end.from:i?o.to:o.from,eh.jT.cursor(r,i?-1:1)}function i0(e,t){return iq(e,i=>{if(!i.empty)return iG(i,t);let n=e.moveVertically(i,t);return n.head!=i.head?n:e.moveToLineBoundary(i,t)})}"undefined"!=typeof Intl&&Intl.Segmenter;let i1=e=>i0(e,!1),i2=e=>i0(e,!0);function i5(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,i=0,n=0,r;if(t){for(let t of e.state.facet(ed.tk.scrollMargins)){let r=t(e);(null==r?void 0:r.top)&&(i=Math.max(null==r?void 0:r.top,i)),(null==r?void 0:r.bottom)&&(n=Math.max(null==r?void 0:r.bottom,n))}r=e.scrollDOM.clientHeight-i-n}else r=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:i,marginBottom:n,selfScroll:t,height:Math.max(e.defaultLineHeight,r-5)}}function i7(e,t){let i,n=i5(e),{state:r}=e,o=iI(r.selection,i=>i.empty?e.moveVertically(i,t,n.height):iG(i,t));if(o.eq(r.selection))return!1;if(n.selfScroll){let t=e.coordsAtPos(r.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),a=s.top+n.marginTop,l=s.bottom-n.marginBottom;t&&t.top>a&&t.bottom<l&&(i=ed.tk.scrollIntoView(o.main.head,{y:"start",yMargin:t.top-a}))}return e.dispatch(iV(r,o),{effects:i}),!0}let i3=e=>i7(e,!1),i8=e=>i7(e,!0);function i6(e,t,i){let n=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,i);if(r.head==t.head&&r.head!=(i?n.to:n.from)&&(r=e.moveToLineBoundary(t,i,!1)),!i&&r.head==n.from&&n.length){let i=/^\s*/.exec(e.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;i&&t.head!=n.from+i&&(r=eh.jT.cursor(n.from+i))}return r}function i4(e,t){let i=iI(e.state.selection,e=>{let i=t(e);return eh.jT.range(e.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return!i.eq(e.state.selection)&&(e.dispatch(iV(e.state,i)),!0)}function i9(e,t){return i4(e,i=>e.moveByChar(i,t))}let ne=e=>i9(e,!iL(e)),nt=e=>i9(e,iL(e));function ni(e,t){return i4(e,i=>e.moveByGroup(i,t))}function nn(e,t){return i4(e,i=>e.moveVertically(i,t))}let nr=e=>nn(e,!1),no=e=>nn(e,!0);function ns(e,t){return i4(e,i=>e.moveVertically(i,t,i5(e).height))}let na=e=>ns(e,!1),nl=e=>ns(e,!0),nu=({state:e,dispatch:t})=>(t(iV(e,{anchor:0})),!0),nc=({state:e,dispatch:t})=>(t(iV(e,{anchor:e.doc.length})),!0),nh=({state:e,dispatch:t})=>(t(iV(e,{anchor:e.selection.main.anchor,head:0})),!0),nd=({state:e,dispatch:t})=>(t(iV(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function nf(e,t){if(e.state.readOnly)return!1;let i="delete.selection",{state:n}=e,r=n.changeByRange(n=>{let{from:r,to:o}=n;if(r==o){let s=t(n);s<r?(i="delete.backward",s=np(e,s,!1)):s>r&&(i="delete.forward",s=np(e,s,!0)),r=Math.min(r,s),o=Math.max(o,s)}else r=np(e,r,!1),o=np(e,o,!0);return r==o?{range:n}:{changes:{from:r,to:o},range:eh.jT.cursor(r,r<n.head?-1:1)}});return!r.changes.empty&&(e.dispatch(n.update(r,{scrollIntoView:!0,userEvent:i,effects:"delete.selection"==i?ed.tk.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function np(e,t,i){if(e instanceof ed.tk)for(let n of e.state.facet(ed.tk.atomicRanges).map(t=>t(e)))n.between(t,t,(e,n)=>{e<t&&n>t&&(t=i?n:e)});return t}let nO=(e,t)=>
1nf(e,i=>{let n=i.from,{state:r}=e,o=r.doc.lineAt(n),s,a;if(!t&&n>o.from&&n<o.from+200&&!/[^ \t]/.test(s=o.text.slice(0,n-o.from))){if(" "==s[s.length-1])return n-1;let e=(0,eh.IS)(s,r.tabSize)%tx(r)||tx(r);for(let t=0;t<e&&" "==s[s.length-1-t];t++)n--;a=n}else(a=(0,eh.cp)(o.text,n-o.from,t,t)+o.from)==n&&o.number!=(t?r.doc.lines:1)?a+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(o.text.slice(a-o.from,n-o.from))&&(a=(0,eh.cp)(o.text,a-o.from,!1,!1)+o.from);return a}),ng=e=>nO(e,!1),nm=e=>nO(e,!0),nb=(e,t)=>nf(e,i=>{let n=i.head,{state:r}=e,o=r.doc.lineAt(n),s=r.charCategorizer(n);for(let e=null;;){if(n==(t?o.to:o.from)){n==i.head&&o.number!=(t?r.doc.lines:1)&&(n+=t?1:-1);break}let a=(0,eh.cp)(o.text,n-o.from,t)+o.from,l=o.text.slice(Math.min(n,a)-o.from,Math.max(n,a)-o.from),u=s(l);if(null!=e&&u!=e)break;(" "!=l||n!=i.head)&&(e=u),n=a}return n}),ny=e=>nb(e,!1);function nv(e){let t=[],i=-1;for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),o=e.doc.lineAt(n.to);if(n.empty||n.to!=o.from||(o=e.doc.lineAt(n.to-1)),i>=r.number){let e=t[t.length-1];e.to=o.to,e.ranges.push(n)}else t.push({from:r.from,to:o.to,ranges:[n]});i=o.number+1}return t}function nS(e,t,i){if(e.readOnly)return!1;let n=[],r=[];for(let t of nv(e)){if(i?t.to==e.doc.length:0==t.from)continue;let o=e.doc.lineAt(i?t.to+1:t.from-1),s=o.length+1;if(i)for(let i of(n.push({from:t.to,to:o.to},{from:t.from,insert:o.text+e.lineBreak}),t.ranges))r.push(eh.jT.range(Math.min(e.doc.length,i.anchor+s),Math.min(e.doc.length,i.head+s)));else for(let i of(n.push({from:o.from,to:t.from},{from:t.to,insert:e.lineBreak+o.text}),t.ranges))r.push(eh.jT.range(i.anchor-s,i.head-s))}return!!n.length&&(t(e.update({changes:n,scrollIntoView:!0,selection:eh.jT.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}function nx(e,t,i){if(e.readOnly)return!1;let n=[];for(let t of nv(e))i?n.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):n.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});return t(e.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let nk=nD(!1),nw=nD(!0);function nD(e){return({state:t,dispatch:i})=>{if(t.readOnly)return!1;let n=t.changeByRange(i=>{let{from:n,to:r}=i,o=t.doc.lineAt(n),s=!e&&n==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let i=tc(e).resolveInner(t),n=i.childBefore(t),r=i.childAfter(t),o;return n&&r&&n.to<=t&&r.from>=t&&(o=n.type.prop(eO.closedBy))&&o.indexOf(r.name)>-1&&e.doc.lineAt(n.to).from==e.doc.lineAt(r.from).from&&!/\S/.test(e.sliceDoc(n.to,r.from))?{from:n.to,to:r.from}:null}(t,n);e&&(n=r=(r<=o.to?o:t.doc.lineAt(r)).to);let a=new tD(t,{simulateBreak:n,simulateDoubleBreak:!!s}),l=tw(a,n);for(null==l&&(l=(0,eh.IS)(/^\s*/.exec(t.doc.lineAt(n).text)[0],t.tabSize));r<o.to&&/\s/.test(o.text[r-o.from]);)r++;s?{from:n,to:r}=s:n>o.from&&n<o.from+100&&!/\S/.test(o.text.slice(0,n))&&(n=o.from);let u=["",tk(t,l)];return s&&u.push(tk(t,a.lineIndent(o.from,-1))),{changes:{from:n,to:r,insert:eh.xv.of(u)},range:eh.jT.cursor(n+1+u[1].length)}});return i(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}}function nQ(e,t){let i=-1;return e.changeByRange(n=>{let r=[];for(let o=n.from;o<=n.to;){let s=e.doc.lineAt(o);s.number>i&&(n.empty||n.to>s.from)&&(t(s,r,n),i=s.number),o=s.to+1}let o=e.changes(r);return{changes:r,range:eh.jT.range(o.mapPos(n.anchor,1),o.mapPos(n.head,1))}})}let nP=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(nQ(e,(t,i)=>{i.push({from:t.from,insert:e.facet(tS)})}),{userEvent:"input.indent"})),!0),nC=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(nQ(e,(t,i)=>{let n=/^\s*/.exec(t.text)[0];if(!n)return;let r=(0,eh.IS)(n,e.tabSize),o=0,s=tk(e,Math.max(0,r-tx(e)));for(;o<n.length&&o<s.length&&n.charCodeAt(o)==s.charCodeAt(o);)o++;i.push({from:t.from+o,to:t.from+n.length,insert:s.slice(o)})}),{userEvent:"delete.dedent"})),!0),n$=[{key:"Ctrl-b",run:iN,shift:ne,preventDefault:!0},{key:"Ctrl-f",run:iH,shift:nt},{key:"Ctrl-p",run:i1,shift:nr},{key:"Ctrl-n",run:i2,shift:no},{key:"Ctrl-a",run:e=>iq(e,t=>eh.jT.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>i4(e,t=>eh.jT.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>iq(e,t=>eh.jT.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>
1i4(e,t=>eh.jT.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:nm},{key:"Ctrl-h",run:ng},{key:"Ctrl-k",run:e=>nf(e,t=>{let i=e.lineBlockAt(t.head).to;return t.head<i?i:Math.min(e.state.doc.length,t.head+1)})},{key:"Ctrl-Alt-h",run:ny},{key:"Ctrl-o",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:eh.xv.of(["",""])},range:eh.jT.cursor(e.from)}));return t(e.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let i=t.from,n=e.doc.lineAt(i),r=i==n.from?i-1:(0,eh.cp)(n.text,i-n.from,!1)+n.from,o=i==n.to?i+1:(0,eh.cp)(n.text,i-n.from,!0)+n.from;return{changes:{from:r,to:o,insert:e.doc.slice(i,o).append(e.doc.slice(r,i))},range:eh.jT.cursor(o)}});return!i.changes.empty&&(t(e.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:i8}],nZ=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>iq(e,t=>iK(e.state,t,!iL(e))),shift:e=>i4(e,t=>iK(e.state,t,!iL(e)))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>iq(e,t=>iK(e.state,t,iL(e))),shift:e=>i4(e,t=>iK(e.state,t,iL(e)))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>nS(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>nx(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>nS(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>nx(e,t,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let i=e.selection,n=null;return i.ranges.length>1?n=eh.jT.create([i.main]):i.main.empty||(n=eh.jT.create([eh.jT.cursor(i.main.head)])),!!n&&(t(iV(e,n)),!0)}},{key:"Mod-Enter",run:nw},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let i=nv(e).map(({from:t,to:i})=>eh.jT.range(t,Math.min(i+1,e.doc.length)));return t(e.update({selection:eh.jT.create(i),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let i=iI(e.selection,t=>{var i;let n=tc(e).resolveStack(t.from,1);for(let e=n;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&(null===(i=n.parent)||void 0===i?void 0:i.parent))return eh.jT.range(n.to,n.from)}return t});return t(iV(e,i)),!0},preventDefault:!0},{key:"Mod-[",run:nC},{key:"Mod-]",run:nP},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=Object.create(null),n=new tD(e,{overrideIndentation:e=>{let t=i[e];return null==t?-1:t}}),r=nQ(e,(t,r,o)=>{let s=tw(n,t.from);if(null==s)return;/\S/.test(t.text)||(s=0);let a=/^\s*/.exec(t.text)[0],l=tk(e,s);(a!=l||o.from<t.from+a.length)&&(i[t.from]=s,r.push({from:t.from,to:t.from+a.length,insert:l}))});return r.changes.empty||t(e.update(r,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:e=>{if(e.state.readOnly)return!1;let{state:t}=e,i=t.changes(nv(t).map(({from:e,to:i})=>(e>0?e--:i<t.doc.length&&i++,{from:e,to:i}))),n=iI(t.selection,t=>e.moveVertically(t,!0)).map(i);return e.dispatch({changes:i,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>{let i,n;return i=!1,n=iI(e.selection,t=>{let n=ic(e,t.head,-1)||ic(e,t.head,1)||t.head>0&&ic(e,t.head-1,1)||t.head<e.doc.length&&ic(e,t.head+1,-1);if(!n||!n.end)return t;i=!0;let r=n.start.from==t.head?n.end.to:n.end.from;return eh.jT.cursor(r)}),!!i&&(t(iV(e,n)),!0)}},{key:"Mod-/",run:e=>{let{state:t}=e,i=t.doc.lineAt(t.selection.main.from),n=ix(e.state,i.from);return n.line?iy(e):!!n.block&&iS(e)}},{key:"Alt-A",run:iv}].concat([{key:"ArrowLeft",run:iN,shift:ne,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>iJ(e,!iL(e)),shift:e=>ni(e,!iL(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>iq(e,t=>i6(e,t,!iL(e))),shift:e=>i4(e,t=>i6(e,t,!iL(e))),preventDefault:!0},{key:"ArrowRight",run:iH,shift:nt,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>iJ(e,iL(e)),shift:e=>ni(e,iL(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>iq(e,t=>i6(e,t,iL(e))),shift:e=>i4(e,t=>i6(e,t,iL(e))),preventDefault:!0},{key:"ArrowUp",run:i1,shift:nr,preventDefault:!0},{mac:"Cmd-ArrowUp",run:nu,shift:nh},{mac:"Ctrl-ArrowUp",run:i3,shift:na},{key:"ArrowDown",run:i2,shift:no,preventDefault:!0},{mac:"Cmd-ArrowDown",run:nc,shift:nd},{mac:"Ctrl-ArrowDown",run:i8,shift:nl},{key:"PageUp",run:i3,shift:na},{key:"PageDown",run:i8,shift:nl},{key:"Home",run:e=>iq(e,t=>i6(e,t,!1)),shift:e=>
1i4(e,t=>i6(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:nu,shift:nh},{key:"End",run:e=>iq(e,t=>i6(e,t,!0)),shift:e=>i4(e,t=>i6(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:nc,shift:nd},{key:"Enter",run:nk},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:ng,shift:ng},{key:"Delete",run:nm},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ny},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>nb(e,!0)},{mac:"Mod-Backspace",run:e=>nf(e,t=>{let i=e.moveToLineBoundary(t,!1).head;return t.head>i?i:Math.max(0,t.head-1)})},{mac:"Mod-Delete",run:e=>nf(e,t=>{let i=e.moveToLineBoundary(t,!0).head;return t.head<i?i:Math.min(e.state.doc.length,t.head+1)})}].concat(n$.map(e=>({mac:e.key,run:e.run,shift:e.shift})))),nA={key:"Tab",run:nP,shift:nC};function nE(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,i=arguments[1];if(i&&"object"==typeof i&&null==i.nodeType&&!Array.isArray(i)){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var r=i[n];"string"==typeof r?e.setAttribute(n,r):null!=r&&(e[n]=r)}t++}for(;t<arguments.length;t++)!function e(t,i){if("string"==typeof i)t.appendChild(document.createTextNode(i));else if(null==i);else if(null!=i.nodeType)t.appendChild(i);else if(Array.isArray(i))for(var n=0;n<i.length;n++)e(t,i[n]);else throw RangeError("Unsupported child node: "+i)}(e,arguments[t]);return e}let nM="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class nW{constructor(e,t,i=0,n=e.length,r,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,n),this.bufferStart=i,this.normalize=r?e=>r(nM(e)):nM,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(0,eh.gm)(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=(0,eh.bg)(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=(0,eh.nZ)(e);let n=this.normalize(t);for(let e=0,r=i;;e++){let o=n.charCodeAt(e),s=this.match(o,r,this.bufferPos+this.bufferStart);if(e==n.length-1){if(s)return this.value=s,this;break}r==i&&e<t.length&&t.charCodeAt(e)==o&&r++}}}match(e,t,i){let n=null;for(let t=0;t<this.matches.length;t+=2){let r=this.matches[t],o=!1;this.query.charCodeAt(r)==e&&(r==this.query.length-1?n={from:this.matches[t+1],to:i}:(this.matches[t]++,o=!0)),o||(this.matches.splice(t,2),t-=2)}return this.query.charCodeAt(0)==e&&(1==this.query.length?n={from:t,to:i}:this.matches.push(1,t)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferStart)&&(n=null),n}}"undefined"!=typeof Symbol&&(nW.prototype[Symbol.iterator]=function(){return this});let nB={from:-1,to:-1,match:/.*/.exec("")},nF="gm"+(null==/x/.unicode?"":"u");class nT{constructor(e,t,i,n=0,r=e.length){if(this.text=e,this.to=r,this.curLine="",this.done=!1,this.value=nB,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new nz(e,t,i,n,r);this.re=new RegExp(t,nF+((null==i?void 0:i.ignoreCase)?"i":"")),this.test=null==i?void 0:i.test,this.iter=e.iter();let o=e.lineAt(n);this.curLineStart=o.from,this.matchPos=n_(e,n),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.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,n=i+t[0].length;if(this.matchPos=n_(this.text,n+(i==n?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(i<n||i>this.value.to)&&(!this.test||this.test(i,n,t)))return this.value={from:i,to:n,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}let nj=new WeakMap;
1class nR{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,i){let n=nj.get(e);if(!n||n.from>=i||n.to<=t){let n=new nR(t,e.sliceString(t,i));return nj.set(e,n),n}if(n.from==t&&n.to==i)return n;let{text:r,from:o}=n;return o>t&&(r=e.sliceString(t,o)+r,o=t),n.to<i&&(r+=e.sliceString(n.to,i)),nj.set(e,new nR(o,r)),new nR(t,r.slice(t-o,i-o))}}class nz{constructor(e,t,i,n,r){this.text=e,this.to=r,this.done=!1,this.value=nB,this.matchPos=n_(e,n),this.re=new RegExp(t,nF+((null==i?void 0:i.ignoreCase)?"i":"")),this.test=null==i?void 0:i.test,this.flat=nR.get(e,n,this.chunkEnd(n+5e3))}chunkEnd(e){return e>=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 e=this.flat.from+t.index,i=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,i,t)))return this.value={from:e,to:i,match:t},this.matchPos=n_(this.text,i+(e==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=nR.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function n_(e,t){if(t>=e.length)return t;let i=e.lineAt(t),n;for(;t<i.to&&(n=i.text.charCodeAt(t-i.from))>=56320&&n<57344;)t++;return t}function nY(e){let t=nE("input",{class:"cm-textfield",name:"line",value:String(e.state.doc.lineAt(e.state.selection.main.head).number)});function i(){let i=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!i)return;let{state:n}=e,r=n.doc.lineAt(n.selection.main.head),[,o,s,a,l]=i,u=a?+a.slice(1):0,c=s?+s:r.number;if(s&&l){let e=c/100;o&&(e=e*("-"==o?-1:1)+r.number/n.doc.lines),c=Math.round(n.doc.lines*e)}else s&&o&&(c=c*("-"==o?-1:1)+r.number);let h=n.doc.line(Math.max(1,Math.min(n.doc.lines,c))),d=eh.jT.cursor(h.from+Math.max(0,Math.min(u,h.length)));e.dispatch({effects:[nX.of(!1),ed.tk.scrollIntoView(d.from,{y:"center"})],selection:d}),e.focus()}return{dom:nE("form",{class:"cm-gotoLine",onkeydown:t=>{27==t.keyCode?(t.preventDefault(),e.dispatch({effects:nX.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),i())},onsubmit:e=>{e.preventDefault(),i()}},nE("label",e.state.phrase("Go to line"),": ",t)," ",nE("button",{class:"cm-button",type:"submit"},e.state.phrase("go")))}}"undefined"!=typeof Symbol&&(nT.prototype[Symbol.iterator]=nz.prototype[Symbol.iterator]=function(){return this});let nX=eh.Py.define(),nI=eh.QQ.define({create:()=>!0,update(e,t){for(let i of t.effects)i.is(nX)&&(e=i.value);return e},provide:e=>ed.mH.from(e,e=>e?nY:null)}),nV=ed.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),nq={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},nG=eh.r$.define({combine:e=>(0,eh.BO)(e,nq,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})});function nU(e){let t=[nK,nJ];return e&&t.push(nG.of(e)),t}let nL=ed.p.mark({class:"cm-selectionMatch"}),nN=ed.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function nH(e,t,i,n){return(0==i||e(t.sliceDoc(i-1,i))!=eh.D0.Word)&&(n==t.doc.length||e(t.sliceDoc(n,n+1))!=eh.D0.Word)}let nJ=ed.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(nG),{state:i}=e,n=i.selection;if(n.ranges.length>1)return ed.p.none;let r=n.main,o,s=null;if(r.empty){if(!t.highlightWordAroundCursor)return ed.p.none;let e=i.wordAt(r.head);if(!e)return ed.p.none;s=i.charCategorizer(r.head),o=i.sliceDoc(e.from,e.to)}else{let e=r.to-r.from;if(e<t.minSelectionLength||e>200)return ed.p.none;if(t.wholeWords){var a,l,u;if(o=i.sliceDoc(r.from,r.to),!(nH(s=i.charCategorizer(r.head),i,r.from,r.to)&&(a=s,l=r.from,u=r.to,a(i.sliceDoc(l,l+1))==eh.D0.Word&&a(i.sliceDoc(u-1,u))==eh.D0.Word)))return ed.p.none}else if(!(o=i.sliceDoc(r.from,r.to)))return ed.p.none}let c=[];for(let n of e.visibleRanges){let e=new nW(i.doc,o,n.from,n.to);for(;!e.next().done;){let{from:n,to:o}=e.value;if((!s||nH(s,i,n,o))&&(r.empty&&n<=r.from&&o>=r.to?c.push(nN.range(n,o)):(n>=r.to||o<=r.from)&&c.push(nL.range(n,o)),c.length>
1t.maxMatches))return ed.p.none}}return ed.p.set(c)}},{decorations:e=>e.decorations}),nK=ed.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),n0=({state:e,dispatch:t})=>{let{selection:i}=e,n=eh.jT.create(i.ranges.map(t=>e.wordAt(t.head)||eh.jT.cursor(t.head)),i.mainIndex);return!n.eq(i)&&(t(e.update({selection:n})),!0)},n1=eh.r$.define({combine:e=>(0,eh.BO)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new rv(e),scrollToMatch:e=>ed.tk.scrollIntoView(e)})});class n2{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||function(e){try{return new RegExp(e,nF),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==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 n9(this):new n3(this)}getCursor(e,t=0,i){let n=e.doc?e:eh.yy.create({doc:e});return null==i&&(i=n.doc.length),this.regexp?n8(this,n,t,i):n7(this,n,t,i)}}class n5{constructor(e){this.spec=e}}function n7(e,t,i,n){var r,o;return new nW(t.doc,e.unquoted,i,n,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(r=t.doc,o=t.charCategorizer(t.selection.main.head),(e,t,i,n)=>((n>e||n+i.length<t)&&(n=Math.max(0,e-2),i=r.sliceString(n,Math.min(r.length,t+2))),(o(n6(i,e-n))!=eh.D0.Word||o(n4(i,e-n))!=eh.D0.Word)&&(o(n4(i,t-n))!=eh.D0.Word||o(n6(i,t-n))!=eh.D0.Word))):void 0)}class n3 extends n5{constructor(e){super(e)}nextMatch(e,t,i){let n=n7(this.spec,e,i,e.doc.length).nextOverlapping();return n.done&&(n=n7(this.spec,e,0,t).nextOverlapping()),n.done?null:n.value}prevMatchInRange(e,t,i){for(let n=i;;){let i=Math.max(t,n-1e4-this.spec.unquoted.length),r=n7(this.spec,e,i,n),o=null;for(;!r.nextOverlapping().done;)o=r.value;if(o)return o;if(i==t)return null;n-=1e4}}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)}matchAll(e,t){let i=n7(this.spec,e,0,e.doc.length),n=[];for(;!i.next().done;){if(n.length>=t)return null;n.push(i.value)}return n}highlight(e,t,i,n){let r=n7(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)n(r.value.from,r.value.to)}}function n8(e,t,i,n){var r;return new nT(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(r=t.charCategorizer(t.selection.main.head),(e,t,i)=>!i[0].length||(r(n6(i.input,i.index))!=eh.D0.Word||r(n4(i.input,i.index))!=eh.D0.Word)&&(r(n4(i.input,i.index+i[0].length))!=eh.D0.Word||r(n6(i.input,i.index+i[0].length))!=eh.D0.Word)):void 0},i,n)}function n6(e,t){return e.slice((0,eh.cp)(e,t,!1),t)}function n4(e,t){return e.slice(t,(0,eh.cp)(e,t))}class n9 extends n5{nextMatch(e,t,i){let n=n8(this.spec,e,i,e.doc.length).next();return n.done&&(n=n8(this.spec,e,0,t).next()),n.done?null:n.value}prevMatchInRange(e,t,i){for(let n=1;;n++){let r=Math.max(t,i-1e4*n),o=n8(this.spec,e,r,i),s=null;for(;!o.next().done;)s=o.value;if(s&&(r==t||s.from>r+10))return s;if(r==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]:"0"!=i&&+i<e.match.length?e.match[i]:t)}matchAll(e,t){let i=n8(this.spec,e,0,e.doc.length),n=[];for(;!i.next().done;){if(n.length>=t)return null;n.push(i.value)}return n}highlight(e,t,i,n){let r=n8(this.spec,e,Math.max(0,t-250),Math.min(i+250,e.doc.length));for(;!r.next().done;)n(r.value.from,r.value.to)}}let re=eh.Py.define(),rt=eh.Py.define(),ri=eh.QQ.define({create:e=>new rn(rp(e).create(),null),update(e,t){for(let i of t.effects)i.is(re)?e=new rn(i.value.create(),e.panel):i.is(rt)&&(e=new rn(e.query,i.value?rf:null));return e},provide:e=>ed.mH.from(e,e=>e.panel)});class rn{constructor(e,t){this.query=e,this.panel=t}}let rr=ed.p.mark({class:"cm-searchMatch"}),ro=ed.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),rs=ed.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(ri))}update(e){let t=e.state.field(ri);(t!=e.startState.field(ri)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return ed.p.none;let{view:i}=this,n=new eh.f_;for(let t=0,r=i.visibleRanges,o=r.length;t<o;t++){let{from:s,to:a}=r[t];for(;t<o-1&&a>
1r[t+1].from-500;)a=r[++t].to;e.highlight(i.state,s,a,(e,t)=>{let r=i.state.selection.ranges.some(i=>i.from==e&&i.to==t);n.add(e,t,r?ro:rr)})}return n.finish()}},{decorations:e=>e.decorations});function ra(e){return t=>{let i=t.state.field(ri,!1);return i&&i.query.spec.valid?e(t,i):rm(t)}}let rl=ra((e,{query:t})=>{let{to:i}=e.state.selection.main,n=t.nextMatch(e.state,i,i);if(!n)return!1;let r=eh.jT.single(n.from,n.to),o=e.state.facet(n1);return e.dispatch({selection:r,effects:[rk(e,n),o.scrollToMatch(r.main,e)],userEvent:"select.search"}),rg(e),!0}),ru=ra((e,{query:t})=>{let{state:i}=e,{from:n}=i.selection.main,r=t.prevMatch(i,n,n);if(!r)return!1;let o=eh.jT.single(r.from,r.to),s=e.state.facet(n1);return e.dispatch({selection:o,effects:[rk(e,r),s.scrollToMatch(o.main,e)],userEvent:"select.search"}),rg(e),!0}),rc=ra((e,{query:t})=>{let i=t.matchAll(e.state,1e3);return!!i&&!!i.length&&(e.dispatch({selection:eh.jT.create(i.map(e=>eh.jT.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),rh=ra((e,{query:t})=>{let{state:i}=e,{from:n,to:r}=i.selection.main;if(i.readOnly)return!1;let o=t.nextMatch(i,n,n);if(!o)return!1;let s=[],a,l,u=[];if(o.from==n&&o.to==r&&(l=i.toText(t.getReplacement(o)),s.push({from:o.from,to:o.to,insert:l}),o=t.nextMatch(i,o.from,o.to),u.push(ed.tk.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(n).number)+"."))),o){let t=0==s.length||s[0].from>=o.to?0:o.to-o.from-l.length;a=eh.jT.single(o.from-t,o.to-t),u.push(rk(e,o)),u.push(i.facet(n1).scrollToMatch(a.main,e))}return e.dispatch({changes:s,selection:a,effects:u,userEvent:"input.replace"}),!0}),rd=ra((e,{query:t})=>{if(e.state.readOnly)return!1;let i=t.matchAll(e.state,1e9).map(e=>{let{from:i,to:n}=e;return{from:i,to:n,insert:t.getReplacement(e)}});if(!i.length)return!1;let n=e.state.phrase("replaced $ matches",i.length)+".";return e.dispatch({changes:i,effects:ed.tk.announce.of(n),userEvent:"input.replace.all"}),!0});function rf(e){return e.state.facet(n1).createPanel(e)}function rp(e,t){var i,n,r,o,s;let a=e.selection.main,l=a.empty||a.to>a.from+100?"":e.sliceDoc(a.from,a.to);if(t&&!l)return t;let u=e.facet(n1);return new n2({search:(null!==(i=null==t?void 0:t.literal)&&void 0!==i?i:u.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(n=null==t?void 0:t.caseSensitive)&&void 0!==n?n:u.caseSensitive,literal:null!==(r=null==t?void 0:t.literal)&&void 0!==r?r:u.literal,regexp:null!==(o=null==t?void 0:t.regexp)&&void 0!==o?o:u.regexp,wholeWord:null!==(s=null==t?void 0:t.wholeWord)&&void 0!==s?s:u.wholeWord})}function rO(e){let t=(0,ed.Sd)(e,rf);return t&&t.dom.querySelector("[main-field]")}function rg(e){let t=rO(e);t&&t==e.root.activeElement&&t.select()}let rm=e=>{let t=e.state.field(ri,!1);if(t&&t.panel){let i=rO(e);if(i&&i!=e.root.activeElement){let n=rp(e.state,t.query.spec);n.valid&&e.dispatch({effects:re.of(n)}),i.focus(),i.select()}}else e.dispatch({effects:[rt.of(!0),t?re.of(rp(e.state,t.query.spec)):eh.Py.appendConfig.of(rD)]});return!0},rb=e=>{let t=e.state.field(ri,!1);if(!t||!t.panel)return!1;let i=(0,ed.Sd)(e,rf);return i&&i.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:rt.of(!1)}),!0},ry=[{key:"Mod-f",run:rm,scope:"editor search-panel"},{key:"F3",run:rl,shift:ru,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:rl,shift:ru,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:rb,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let i=e.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:n,to:r}=i.main,o=[],s=0;for(let t=new nW(e.doc,e.sliceDoc(n,r));!t.next().done;){if(o.length>1e3)return!1;t.value.from==n&&(s=o.length),o.push(eh.jT.range(t.value.from,t.value.to))}return t(e.update({selection:eh.jT.create(o,s),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let t=(0,ed.Sd)(e,nY);if(!t){let i=[nX.of(!0)];null==e.state.field(nI,!1)&&i.push(eh.Py.appendConfig.of([nI,nV])),e.dispatch({effects:i}),t=(0,ed.Sd)(e,nY)}return t&&t.dom.querySelector("input").select(),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:i}=e.selection;if(i.some(e=>e.from===e.to))return n0({state:e,dispatch:t});let n=e.sliceDoc(i[0].from,i[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=n))return!1;let r=function(e,t){let{main:i,ranges:n}=e.selection,r=e.wordAt(i.head),o=r&&r.from==i.from&&r.to==i.to;for(let i=!1,r=new nW(e.doc,t,n[n.length-1].to);;)if(r.next(),r.done){if(i)return null;r=new nW(e.doc,t,0,Math.max(0,n[n.length-1].from-1)),i=!0}else{if(i&&n.some(e=>e.from==r.value.from))continue;if(o){let t=e.wordAt(r.value.from);if(!t||t.from!=r.value.from||t.to!=r.value.to)continue}return r.value}}(e,n);return!!r&&(t(e.update({selection:e.selection.addRange(eh.jT.range(r.from,r.to),!1),effects:ed.tk.scrollIntoView(r.to)})),!0)},preventDefault:!0}];class rv{constructor(e){this.view=e;let t=this.query=e.state.field(ri).query.spec;function i(e,t,i){return nE("button",{class:"cm-button",name:e,oncl
1ick:t,type:"button"},i)}this.commit=this.commit.bind(this),this.searchField=nE("input",{value:t.search,placeholder:rS(e,"Find"),"aria-label":rS(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=nE("input",{value:t.replace,placeholder:rS(e,"Replace"),"aria-label":rS(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=nE("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=nE("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=nE("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=nE("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,i("next",()=>rl(e),[rS(e,"next")]),i("prev",()=>ru(e),[rS(e,"previous")]),i("select",()=>rc(e),[rS(e,"all")]),nE("label",null,[this.caseField,rS(e,"match case")]),nE("label",null,[this.reField,rS(e,"regexp")]),nE("label",null,[this.wordField,rS(e,"by word")]),...e.state.readOnly?[]:[nE("br"),this.replaceField,i("replace",()=>rh(e),[rS(e,"replace")]),i("replaceAll",()=>rd(e),[rS(e,"replace all")])],nE("button",{name:"close",onclick:()=>rb(e),"aria-label":rS(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new n2({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:re.of(e)}))}keydown(e){(0,ed.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?ru:rl)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),rh(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(re)&&!e.value.eq(this.query)&&this.setQuery(e.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(n1).top}}function rS(e,t){return e.state.phrase(t)}let rx=/[\s\.,:;?!]/;function rk(e,{from:t,to:i}){let n=e.state.doc.lineAt(t),r=e.state.doc.lineAt(i).to,o=Math.max(n.from,t-30),s=Math.min(r,i+30),a=e.state.sliceDoc(o,s);if(o!=n.from){for(let e=0;e<30;e++)if(!rx.test(a[e+1])&&rx.test(a[e])){a=a.slice(e);break}}if(s!=r){for(let e=a.length-1;e>a.length-30;e--)if(!rx.test(a[e-1])&&rx.test(a[e])){a=a.slice(0,e);break}}return ed.tk.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${n.number}.`)}let rw=ed.tk.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=[ri,eh.Wl.low(rs),rw];class rQ{constructor(e,t,i){this.state=e,this.pos=t,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let t=tc(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)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),n=t.text.slice(i-t.from,this.pos-t.from),r=n.search(rZ(e,!1));return r<0?null:{from:i+r,to:this.pos,text:n.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function rP(e){let t=Object.keys(e).join(""),i=/\w/.test(t);return i&&(t=t.replace(/\w/g,"")),`[${i?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}class rC{constructor(e,t,i,n){this.completion=e,this.source=t,this.match=i,this.score=n}}function r$(e){return e.selection.main.from}function rZ(e,t){var i;let{source:n}=e,r=t&&"^"!=n[0],o="$"!=n[n.length-1];return r||o?RegExp(`${r?"^":""}(?:${n})${o?"$":""}`,null!==(i=e.flags)&&void 0!==i?i:e.ignoreCase?"i":""):e}let rA=eh.q6.define(),rE=new WeakMap;function rM(e){if(!Array.isArray(e))return e;let t=rE.get(e);return t||rE.set(e,t=function(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[i,n]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),i=Object.create(null);for(let{label:n}of e){t[n[0]]=!0;for(let e=1;e<n.length;e++)i[n[e]]=!0}let n=rP(t)+rP(i)+"*$";return[RegExp("^"+n),new RegExp(n)]}(t);return e=>{let r=e.matchBefore(n);return r||e.explicit?{from:r?r.from:e.pos,options:t,validFor:i}:null}}(e)),t}let rW=eh.Py.define(),rB=eh.Py.define();class rF{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let i=(0,eh.gm)(e,t),n=(0,eh.nZ)(i);this.chars.push(i);let r=e.slice(t,t+n),o=r.toUpperCase();this.folded.push((0,eh.gm)(o==r?r.toLowerCase():o,0)),t+=n}
1this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,!0}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return!1;let{chars:t,folded:i,any:n,precise:r,byWord:o}=this;if(1==t.length){let n=(0,eh.gm)(e,0),r=(0,eh.nZ)(n),o=r==e.length?0:-100;if(n==t[0]);else{if(n!=i[0])return!1;o+=-200}return this.ret(o,[0,r])}let s=e.indexOf(this.pattern);if(0==s)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let a=t.length,l=0;if(s<0){for(let r=0,o=Math.min(e.length,200);r<o&&l<a;){let o=(0,eh.gm)(e,r);(o==t[l]||o==i[l])&&(n[l++]=r),r+=(0,eh.nZ)(o)}if(l<a)return!1}let u=0,c=0,h=!1,d=0,f=-1,p=-1,O=/[a-z]/.test(e),g=!0;for(let n=0,l=Math.min(e.length,200),m=0;n<l&&c<a;){let l=(0,eh.gm)(e,n);s<0&&(u<a&&l==t[u]&&(r[u++]=n),d<a&&(l==t[d]||l==i[d]?(0==d&&(f=n),p=n+1,d++):d=0));let b,y=l<255?l>=48&&l<=57||l>=97&&l<=122?2:l>=65&&l<=90?1:0:(b=(0,eh.bg)(l))!=b.toLowerCase()?1:b!=b.toUpperCase()?2:0;(!n||1==y&&O||0==m&&0!=y)&&(t[c]==l||i[c]==l&&(h=!0)?o[c++]=n:o.length&&(g=!1)),m=y,n+=(0,eh.nZ)(l)}return c==a&&0==o[0]&&g?this.result(-100+(h?-200:0),o,e):d==a&&0==f?this.ret(-200-e.length+(p==e.length?0:-100),[0,p]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):d==a?this.ret(-900-e.length,[f,p]):c==a?this.result(-100+(h?-200:0)+-700+(g?0:-1100),o,e):2!=t.length&&this.result((n[0]?-700:0)+-200+-1100,n,e)}result(e,t,i){let n=[],r=0;for(let e of t){let t=e+(this.astral?(0,eh.nZ)((0,eh.gm)(i,e)):1);r&&n[r-1]==e?n[r-1]=t:(n[r++]=e,n[r++]=t)}return this.ret(e-i.length,n)}}let rT=eh.r$.define({combine:e=>(0,eh.BO)(e,{activateOnTyping:!0,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:rR,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>i=>rj(e(i),t(i)),optionClass:(e,t)=>i=>rj(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})});function rj(e,t){return e?t?e+" "+t:e:t}function rR(e,t,i,n,r,o){let s=e.textDirection==ed.Nm.RTL,a=s,l=!1,u="top",c,h,d=t.left-r.left,f=r.right-t.right,p=n.right-n.left,O=n.bottom-n.top;if(a&&d<Math.min(p,f)?a=!1:!a&&f<Math.min(p,d)&&(a=!0),p<=(a?d:f))c=Math.max(r.top,Math.min(i.top,r.bottom-O))-t.top,h=Math.min(400,a?d:f);else{l=!0,h=Math.min(400,(s?t.right:r.right-t.left)-30);let e=r.bottom-t.bottom;e>=O||e>t.top?c=i.bottom-t.top:(u="bottom",c=t.bottom-i.top)}let g=(t.bottom-t.top)/o.offsetHeight,m=(t.right-t.left)/o.offsetWidth;return{style:`${u}: ${c/g}px; max-width: ${h/m}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function rz(e,t,i){if(e<=i)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/i);return{from:e*i,to:(e+1)*i}}let n=Math.floor((e-t)/i);return{from:e-(n+1)*i,to:e-n*i}}class r_{constructor(e,t,i){let n;this.view=e,this.stateField=t,this.applyCompletion=i,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:o,selected:s}=r.open,a=e.state.facet(rT);this.optionContent=(n=a.addToOptions.slice(),a.icons&&n.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),n.push({render(e,t,i,n){let r=document.createElement("span");r.className="cm-completionLabel";let o=e.displayLabel||e.label,s=0;for(let e=0;e<n.length;){let t=n[e++],i=n[e++];t>s&&r.appendChild(document.createTextNode(o.slice(s,t)));let a=r.appendChild(document.createElement("span"));a.appendChild(document.createTextNode(o.slice(t,i))),a.className="cm-completionMatchedText",s=i}return s<o.length&&r.appendChild(document.createTextNode(o.slice(s))),r},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");
1return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),n.sort((e,t)=>e.position-t.position).map(e=>e.render)),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=rz(o.length,s,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",i=>{let{options:n}=e.state.field(t).open;for(let t=i.target,r;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(r=/-(\d+)$/.exec(t.id))&&+r[1]<n.length){this.applyCompletion(e,n[+r[1]]),i.preventDefault();return}}),this.dom.addEventListener("focusout",t=>{let i=e.state.field(this.stateField,!1);i&&i.tooltip&&e.state.facet(rT).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:rB.of(null)})}),this.showOptions(o,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let i=e.state.field(this.stateField),n=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),i!=n){let{options:r,selected:o,disabled:s}=i.open;n.open&&n.open.options==r||(this.range=rz(r.length,o,e.state.facet(rT).maxRenderedOptions),this.showOptions(r,i.id)),this.updateSel(),s!=(null===(t=n.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!s)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=rz(t.options.length,t.selected,this.view.state.facet(rT).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();
1let{completion:i}=t.options[t.selected],{info:n}=i;if(!n)return;let r="string"==typeof n?document.createTextNode(n):n(i);if(!r)return;"then"in r?r.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,i)}).catch(e=>(0,ed.OO)(this.view.state,e,"completion info")):this.addInfoPane(r,i)}}addInfoPane(e,t){this.destroyInfo();let i=this.info=document.createElement("div");if(i.className="cm-tooltip cm-completionInfo",null!=e.nodeType)i.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:n}=e;i.appendChild(t),this.infoDestroy=n||null}this.dom.appendChild(i),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){var t,i;let n,r,o,s=null;for(let t=this.list.firstChild,i=this.range.from;t;t=t.nextSibling,i++)"LI"==t.nodeName&&t.id?i==e?t.hasAttribute("aria-selected")||(t.setAttribute("aria-selected","true"),s=t):t.hasAttribute("aria-selected")&&t.removeAttribute("aria-selected"):i--;return s&&(t=this.list,i=s,n=t.getBoundingClientRect(),r=i.getBoundingClientRect(),o=n.height/t.offsetHeight,r.top<n.top?t.scrollTop-=(n.top-r.top)/o:r.bottom>n.bottom&&(t.scrollTop+=(r.bottom-n.bottom)/o)),s}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),n=e.getBoundingClientRect(),r=this.space;if(!r){let e=this.dom.ownerDocument.defaultView||window;r={left:0,top:0,right:e.innerWidth,bottom:e.innerHeight}}return n.top>Math.min(r.bottom,t.bottom)-10||n.bottom<Math.max(r.top,t.top)+10?null:this.view.state.facet(rT).positionInfo(this.view,t,n,i,r,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,i){let n=document.createElement("ul");n.id=t,n.setAttribute("role","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("aria-label",this.view.state.phrase("Completions"));let r=null;for(let o=i.from;o<i.to;o++){let{completion:s,match:a}=e[o],{section:l}=s;if(l){let e="string"==typeof l?l:l.name;e!=r&&(o>i.from||0==i.from)&&(r=e,"string"!=typeof l&&l.header?n.appendChild(l.header(l)):n.appendChild(document.createElement("completion-section")).textContent=e)}let u=n.appendChild(document.createElement("li"));u.id=t+"-"+o,u.setAttribute("role","option");let c=this.optionClass(s);for(let e of(c&&(u.className=c),this.optionContent)){let t=e(s,this.view.state,this.view,a);t&&u.appendChild(t)}}return i.from&&n.classList.add("cm-completionListIncompleteTop"),i.to<e.length&&n.classList.add("cm-completionListIncompleteBottom"),n}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function rY(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class rX{constructor(e,t,i,n,r,o){this.options=e,this.attrs=t,this.tooltip=i,this.timestamp=n,this.selected=r,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new rX(this.options,rq(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,i,n,r){let o=function(e,t){let i=[],n=null,r=e=>{i.push(e);let{section:t}=e.completion;if(t){n||(n=[]);let e="string"==typeof t?t:t.name;n.some(t=>t.name==e)||n.push("string"==typeof t?{name:e}:t)}};for(let n of e)if(n.hasResult()){let e=n.result.getMatch;if(!1===n.result.filter)for(let t of n.result.options)r(new rC(t,n.source,e?e(t):[],1e9-i.length));else{let i=new rF(t.sliceDoc(n.from,n.to));for(let t of n.result.options)if(i.match(t.label)){let o=t.displayLabel?e?e(t,i.matched):[]:i.matched;r(new rC(t,n.source,o,i.score+(t.boost||0)))}}}if(n){let e=Object.create(null),t=0;for(let i of n.sort((e,t)=>{var i,n;return(null!==(i=e.rank)&&void 0!==i?i:1e9)-(null!==(n=t.rank)&&void 0!==n?n:1e9)||(e.name<t.name?-1:1)}))t-=1e5,e[i.name]=t;for(let t of i){let{section:i}=t.completion;i&&(t.score+=e["string"==typeof i?i:i.name])}}let o=[],s=null,a=t.facet(rT).compareCompletions;for(let e of i.sort((e,t)=>t.score-e.score||a(e.completion,t.completion))){let t=e.completion;s&&s.label==t.label&&s.detail==t.detail&&(null==s.type||null==t.type||s.type==t.type)&&s.apply==t.apply&&s.boost==t.boost?rY(e.completion)>rY(s)&&(o[o.length-1]=e):o.push(e),s=e.completion}return o}(e,t);if(!o.length)return n&&e.some(e=>1==e.state)?new rX(n.options,n.attrs,n.tooltip,n.timestamp,n.selected,!0):null;let s=t.facet(rT).selectOnOpen?0:-1;if(n&&n.selected!=s&&-1!=n.selected){let e=n.options[n.selected].completion;for(let t=0;t<o.length;t++)if(o[t].completion==e){s=t;break}}return new rX(o,rq(i,s),{pos:e.reduce((e,t)=>
1t.hasResult()?Math.min(e,t.from):e,1e8),create:r1,above:r.aboveCursor},n?n.timestamp:Date.now(),s,!1)}map(e){return new rX(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class rI{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new rI(rG,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,i=t.facet(rT),n=(i.override||t.languageDataAt("autocomplete",r$(t)).map(rM)).map(t=>(this.active.find(e=>e.source==t)||new rL(t,this.active.some(e=>0!=e.state)?1:0)).update(e,i));n.length==this.active.length&&n.every((e,t)=>e==this.active[t])&&(n=this.active);let r=this.open;for(let o of(r&&e.docChanged&&(r=r.map(e.changes)),e.selection||n.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let i=0,n=0;;){for(;i<e.length&&!e[i].hasResult;)i++;for(;n<t.length&&!t[n].hasResult;)n++;let r=i==e.length,o=n==t.length;if(r||o)return r==o;if(e[i++].result!=t[n++].result)return!1}}(n,this.active)?r=rX.build(n,t,this.id,r,i):r&&r.disabled&&!n.some(e=>1==e.state)&&(r=null),!r&&n.every(e=>1!=e.state)&&n.some(e=>e.hasResult())&&(n=n.map(e=>e.hasResult()?new rL(e.source,0):e)),e.effects))o.is(rJ)&&(r=r&&r.setSelected(o.value,this.id));return n==this.active&&r==this.open?this:new rI(n,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:rV}}let rV={"aria-autocomplete":"list"};function rq(e,t){let i={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(i["aria-activedescendant"]=e+"-"+t),i}let rG=[];function rU(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class rL{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=rU(e),n=this;for(let r of(i?n=n.handleUserEvent(e,i,t):e.docChanged?n=n.handleChange(e):e.selection&&0!=n.state&&(n=new rL(n.source,0)),e.effects))if(r.is(rW))n=new rL(n.source,1,r.value?r$(e.state):-1);else if(r.is(rB))n=new rL(n.source,0);else if(r.is(rH))for(let e of r.value)e.source==n.source&&(n=e);return n}handleUserEvent(e,t,i){return"delete"!=t&&i.activateOnTyping?new rL(this.source,1):this.map(e.changes)}handleChange(e){return e.changes.touchesRange(r$(e.startState))?new rL(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new rL(this.source,this.state,e.mapPos(this.explicitPos))}}class rN extends rL{constructor(e,t,i,n,r){super(e,2,t),this.result=i,this.from=n,this.to=r}hasResult(){return!0}handleUserEvent(e,t,i){var n;let r=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),s=r$(e.state);if((this.explicitPos<0?s<=r:s<this.from)||s>o||"delete"==t&&r$(e.startState)==this.from)return new rL(this.source,"input"==t&&i.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),l;return!function(e,t,i,n){if(!e)return!1;let r=t.sliceDoc(i,n);return"function"==typeof e?e(r,i,n,t):rZ(e,!0).test(r)}(this.result.validFor,e.state,r,o)?this.result.update&&(l=this.result.update(this.result,r,o,new rQ(e.state,s,a>=0)))?new rN(this.source,a,l,l.from,null!==(n=l.to)&&void 0!==n?n:r$(e.state)):new rL(this.source,1,a):new rN(this.source,a,this.result,r,o)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new rL(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new rN(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}let rH=eh.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),rJ=eh.Py.define(),rK=eh.QQ.define({create:()=>rI.start(),update:(e,t)=>e.update(t),provide:e=>[ed.hJ.from(e,e=>e.tooltip),ed.tk.contentAttributes.from(e,e=>e.attrs)]});function r0(e,t){let i=t.completion.apply||t.completion.label,n=e.state.field(rK).active.find(e=>e.source==t.source);return n instanceof rN&&("string"==typeof i?e.dispatch(Object.assign(Object.assign({},function(e,t,i,n){let{main:r}=e.selection,o=i-r.from,s=n-r.from;return Object.assign(Object.assign({},e.changeByRange(a=>a!=r&&i!=n&&e.sliceDoc(a.from+o,a.from+s)!=e.sliceDoc(i,n)?{range:a}:{changes:{from:a.from+o,to:n==r.from?a.to:a.from+s,insert:t},range:eh.jT.cursor(a.from+o+t.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}(e.state,i,n.from,n.to)),{annotations:rA.of(t.completion)})):i(e,t.completion,n.from,n.to),!0)}let r1=e=>new r_(e,rK,r0);function r2(e,t="option"){return i=>{let n=i.state.field(rK,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp<i.state.facet(rT).interactionDelay)return!1;let r=1,o;"page"==t&&(o=(0,ed.gB)(i,n.open.tooltip))&&(r=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:s}=n.open.options,a=n.open.selected>-1?n.open.selected+r*(e?1:-1):e?0:s-1;return a<0?a="page"==t?0:s-1:a>=s&&(a="page"==t?s-1:0),i.dispatch({effects:rJ.of(a)}),!0}}class r5{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let r7=ed.lg.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0,e.state.field(rK).active))1==t.state&&this.startQuery(t)}update(e){let t=e.state.field(rK);if(!e.selectionSet&&!e.docChanged&&e.startState.field(rK)==t)return;let i=e.transactions.some(e=>(e.selection||e.docChanged)&&!rU(e));for(let t=0;t<this.running.length;t++){let n=this.running[t];if(i||n.updates.length+e.transactions.length>50&&Date.now()-n.time>1e3){for(let e of n.context.abortListeners)try{e()}catch(e){(0,ed.OO)(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(rW)))&&(this.pendingStart=!0);let n=this.pendingStart?50:e.state.facet(rT).activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>1==e.state&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>
1this.startUpdate(),n):-1,0!=this.composing)for(let t of e.transactions)"input"==rU(t)?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view;for(let t of e.field(rK).active)1!=t.state||this.running.some(e=>e.active.source==t.source)||this.startQuery(t)}startQuery(e){let{state:t}=this.view,i=r$(t),n=new rQ(t,i,e.explicitPos==i),r=new r5(e,n);this.running.push(r),Promise.resolve(e.source(n)).then(e=>{r.context.aborted||(r.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:rB.of(null)}),(0,ed.OO)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(rT).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],i=this.view.state.facet(rT);for(let n=0;n<this.running.length;n++){let r=this.running[n];if(void 0===r.done)continue;if(this.running.splice(n--,1),r.done){let n=new rN(r.active.source,r.active.explicitPos,r.done,r.done.from,null!==(e=r.done.to)&&void 0!==e?e:r$(r.updates.length?r.updates[0].startState:this.view.state));for(let e of r.updates)n=n.update(e,i);if(n.hasResult()){t.push(n);continue}}let o=this.view.state.field(rK).active.find(e=>e.source==r.active.source);if(o&&1==o.state){if(null==r.done){let e=new rL(r.active.source,0);for(let t of r.updates)e=e.update(t,i);1!=e.state&&t.push(e)}else this.startQuery(o)}}t.length&&this.view.dispatch({effects:rH.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(rK,!1);if(t&&t.tooltip&&this.view.state.facet(rT).closeOnBlur){let i=t.open&&(0,ed.gB)(this.view,t.open.tooltip);i&&i.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:rB.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:rW.of(!1)}),20),this.composing=0}}}),r3="object"==typeof navigator&&/Win/.test(navigator.platform),r8=eh.Wl.highest(ed.tk.domEventHandlers({keydown(e,t){let i=t.state.field(rK,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||e.key.length>1||e.ctrlKey&&!(r3&&e.altKey)||e.metaKey)return!1;let n=i.open.options[i.open.selected],r=i.active.find(e=>e.source==n.source),o=n.completion.commitCharacters||r.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&r0(t,n),!1}})),r6=ed.tk.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",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',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",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'Æ'"}},".cm-completionIcon-class":{"&:after":{content:"'â'"}},".cm-completionIcon-interface":{"&:after":{content:"'â'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'âª'"}},".cm-completionIcon-property":{"&:after":{content:"'â¡'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11ï¸'"}},".cm-completionIcon-namespace":{"&:after":{content:"'â¢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class r4{constructor(e,t,i,n){this.field=e,this.line=t,this.from=i,this.to=n}}class r9{constructor(e,t,i){this.field=e,this.from=t,this.to=i}map(e){let t=e.mapPos(this.from,-1,eh.gc.TrackDel),i=e.mapPos(this.to,1,eh.gc.TrackDel);return null==t||null==i?null:new r9(this.field,t,i)}}class oe{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let i=[],n=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let r of this.lines){if(i.length){let i=o,s=/^\t*/.exec(r)[0].length;for(let t=0;t<s;t++)i+=e.facet(tS);n.push(t+i.length-s),r=i+r.slice(s)}i.push(r),t+=r.length+1}return{text:i,ranges:this.fieldPositions.map(e=>new r9(e.field,n[e.line]+e.from,n[e.line]+e.to))}}static parse(e){let t=[],i=[],n=[],r;for(let o of e.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(o);){let e=r[1]?+r[1]:null,s=r[2]||r[3]||"",a=-1;for(let i=0;i<t.length;i++)(null!=e?t[i].seq==e:s&&t[i].name==s)&&(a=i);if(a<0){let i=0;for(;i<t.length&&(null==e||null!=t[i].seq&&t[i].seq<e);)i++;for(let r of(t.splice(i,0,{seq:e,name:s}),a=i,n))r.field>=a&&r.field++}n.push(new r4(a,i.length,r.index,r.index+s.length)),o=o.slice(0,r.index)+s+o.slice(r.index+r[0].length)}for(let e;e=/\\([{}])/.exec(o);)for(let t of(o=o.slice(0,e.index)+e[1]+o.slice(e.index+e[0].length),n))t.line==i.length&&t.from>e.index&&(t.from--,t.to--);i.push(o)}return new oe(i,n)}}let ot=ed.p.widget({widget:new class extends ed.l9{toDOM(){let e=document.createElement("span");
1return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),oi=ed.p.mark({class:"cm-snippetField"});class on{constructor(e,t){this.ranges=e,this.active=t,this.deco=ed.p.set(e.map(e=>(e.from==e.to?ot:oi).range(e.from,e.to)))}map(e){let t=[];for(let i of this.ranges){let n=i.map(e);if(!n)return null;t.push(n)}return new on(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let or=eh.Py.define({map:(e,t)=>e&&e.map(t)}),oo=eh.Py.define(),os=eh.QQ.define({create:()=>null,update(e,t){for(let i of t.effects){if(i.is(or))return i.value;if(i.is(oo)&&e)return new on(e.ranges,i.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>ed.tk.decorations.from(e,e=>e?e.deco:ed.p.none)});function oa(e,t){return eh.jT.create(e.filter(e=>e.field==t).map(e=>eh.jT.range(e.from,e.to)))}function ol(e){return({state:t,dispatch:i})=>{let n=t.field(os,!1);if(!n||e<0&&0==n.active)return!1;let r=n.active+e,o=e>0&&!n.ranges.some(t=>t.field==r+e);return i(t.update({selection:oa(n.ranges,r),effects:or.of(o?null:new on(n.ranges,r)),scrollIntoView:!0})),!0}}let ou=[{key:"Tab",run:ol(1),shift:ol(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(os,!1)&&(t(e.update({effects:or.of(null)})),!0)}],oc=eh.r$.define({combine:e=>e.length?e[0]:ou}),oh=(e=>e.facet(oc),{brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]}),od=eh.Py.define({map(e,t){let i=t.mapPos(e,-1,eh.gc.TrackAfter);return null==i?void 0:i}}),of=new class extends eh.uU{};of.startSide=1,of.endSide=-1;let op=eh.QQ.define({create:()=>eh.Xs.empty,update(e,t){if(e=e.map(t.changes),t.selection){let i=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=i.from&&e<=i.to})}for(let i of t.effects)i.is(od)&&(e=e.update({add:[of.range(i.value,i.value+1)]}));return e}}),oO="()[]{}<>";function og(e){for(let t=0;t<oO.length;t+=2)if(oO.charCodeAt(t)==e)return oO.charAt(t+1);return(0,eh.bg)(e<128?e:e+1)}function om(e,t){return e.languageDataAt("closeBrackets",t)[0]||oh}let ob="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),oy=ed.tk.inputHandler.of((e,t,i,n)=>{if((ob?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let r=e.state.selection.main;if(n.length>2||2==n.length&&1==(0,eh.nZ)((0,eh.gm)(n,0))||t!=r.from||i!=r.to)return!1;let o=function(e,t){let i=om(e,e.selection.main.head),n=i.brackets||oh.brackets;for(let r of n){let o=og((0,eh.gm)(r,0));if(t==r)return o==r?function(e,t,i,n){let r=n.stringPrefixes||oh.stringPrefixes,o=null,s=e.changeByRange(n=>{if(!n.empty)return{changes:[{insert:t,from:n.from},{insert:t,from:n.to}],effects:od.of(n.to+t.length),range:eh.jT.range(n.anchor+t.length,n.head+t.length)};let s=n.head,a=ox(e.doc,s),l;if(a==t){if(ok(e,s))return{changes:{insert:t+t,from:s},effects:od.of(s+t.length),range:eh.jT.cursor(s+t.length)};if(oS(e,s)){let n=i&&e.sliceDoc(s,s+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:s,to:s+n.length,insert:n},range:eh.jT.cursor(s+n.length)}}}else if(i&&e.sliceDoc(s-2*t.length,s)==t+t&&(l=ow(e,s-2*t.length,r))>-1&&ok(e,l))return{changes:{insert:t+t+t+t,from:s},effects:od.of(s+t.length),range:eh.jT.cursor(s+t.length)};else if(e.charCategorizer(s)(a)!=eh.D0.Word&&ow(e,s,r)>-1&&!function(e,t,i,n){let r=tc(e).resolveInner(t,-1),o=n.reduce((e,t)=>Math.max(e,t.length),0);for(let s=0;s<5;s++){let s=e.sliceDoc(r.from,Math.min(r.to,r.from+i.length+o)),a=s.indexOf(i);if(!a||a>-1&&n.indexOf(s.slice(0,a))>-1){let t=r.firstChild;for(;t&&t.from==r.from&&t.to-t.from>i.length+a;){if(e.sliceDoc(t.to-i.length,t.to)==i)return!1;t=t.firstChild}return!0}let l=r.to==t&&r.parent;if(!l)break;r=l}return!1}(e,s,t,r))return{changes:{insert:t+t,from:s},effects:od.of(s+t.length),range:eh.jT.cursor(s+t.length)};return{range:o=n}});return o?null:e.update(s,{scrollIntoView:!0,userEvent:"input.type"})}(e,r,n.indexOf(r+r+r)>-1,i):function(e,t,i,n){let r=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:i,from:o.to}],effects:od.of(o.to+t.length),range:eh.jT.range(o.anchor+t.length,o.head+t.length)};let s=ox(e.doc,o.head);return!s||/\s/.test(s)||n.indexOf(s)>-1?{changes:{insert:t+i,from:o.head},effects:od.of(o.head+t.length),range:eh.jT.cursor(o.head+t.length)}:{range:r=o}});return r?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,r,o,i.before||oh.before);if(t==o&&oS(e,e.selection.main.from))return function(e,t,i){let n=null,r=e.changeByRange(t=>t.empty&&ox(e.doc,t.head)==i?{changes:{from:t.head,to:t.head+i.length,insert:i},range:eh.jT.cursor(t.head+i.length)}:n={range:t});return n?null:e.update(r,{scrollIntoView:!0,userEvent:"input.type"})}(e,0,o)}return null}(e.state,n);return!!o&&(e.dispatch(o),!0)}),ov=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=om(e,e.selection.main.head).brackets||oh.brackets,n=null,r=e.changeByRange(t=>{if(t.empty){var r,o;let n;let s=(r=e.doc,o=t.head,n=r.sliceString(o-2,o),(0,eh.nZ)((0,eh.gm)(n,0))==n.length?n:n.slice(1));for(let n of i)if(n==s&&ox(e.doc,t.head)==og((0,eh.gm)(n,0)))return{changes:{from:t.head-n.length,to:t.head+n.length},range:eh.jT.cursor(t.head-n.length)}}return{range:n=t}});return n||t(e.update(r,{scrollIntoView:!0,userEvent:"delete.backward"})),!n}}];function oS(e,t){let i=!1;return e.field(op).between(0,e.doc.length,e=>{e==t&&(i=!0)}),i}function ox(e,t){let i=e.sliceString(t,t+2);return i.slice(0,(0,eh.nZ)((0,eh.gm)(i,0)))}function ok(e,t){let i=tc(e).resolveInner(t+1);return i.parent&&i.from==t}function ow(e,t,i){let n=e.charCategorizer(t);if(n(e.sliceDoc(t-1,t))!=eh.D0.Word)return t;for(let r of i){let i=t-r.length;if(e.sliceDoc(i,t)==r&&n(e.sliceDoc(i-1,i))!=eh.D0.Word)return i}return -1}let oD=[{key:"Ctrl-Space",run:e=>!!e.state.field(rK,!1)&&(e.dispatch({effects:rW.of(!0)}),!0)},{key:"Escape",run:e=>{let t=e.state.field(rK,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:rB.of(null)}),!0)}},{key:"ArrowDown",run:r2(!0)},{key:"ArrowUp",run:r2(!1)},{key:"PageDown",run:r2(!0,"page")},{key:"PageUp",run:r2(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(rK,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(rT).interactionDelay)&&r0(e,t.open.options[t.open.selected])}}],oQ=eh.Wl.highest(ed.$f.computeN([rT],e=>e.facet(rT).defaultKeymap?[oD]:[]));class oP{constructor(e,t,i){this.from=e,this.to=t,this.diagnostic=i}}class oC{constructor(e,t,i){this.diagnostics=e,this.panel=t,this.selected=i}static init(e,t,i){let n=e,r=i.facet(oj).markerFilter;r&&(n=r(n,i));let o=ed.p.set(n.map(e=>e.from==e.to||e.from==e.to-1&&i.doc.lineAt(e.from).to==e.from?ed.p.widget({widget:new o_(e),diagnostic:e}).range(e.from):ed.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity+(e.markClass?" "+e.markClass:"")},diagnostic:e,inclusive:!0}).range(e.from,e.to)),!0);return new oC(o,t,o$(o))}}function o$(e,t=null,i=0){let n=null;return e.between(i,1e9,(e,i,{spec:r})=>{if(!t||r.diagnostic==t)return n=new oP(e,i,r.diagnostic),!1}),n}function oZ(e,t){let i=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(oA))||e.changes.touchesRange(i.from,i.to))}let oA=eh.Py.define(),oE=eh.Py.define(),oM=eh.Py.define(),oW=eh.QQ.define({create:()=>new oC(ed.p.none,null,null),update(e,t){if(t.docChanged){let i=e.diagnostics.map(t.changes),n=null;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);n=o$(i,e.selected.diagnostic,r)||o$(i,null,r)}e=new oC(i,e.panel,n)}for(let i of t.effects)i.is(oA)?e=oC.init(i.value,e.panel,t.state):i.is(oE)?e=new oC(e.diagnostics,i.value?oX.open:null,e.selected):i.is(oM)&&(e=new oC(e.diagnostics,e.panel,i.value));return e},provide:e=>[ed.mH.from(e,e=>e.panel),ed.tk.decorations.from(e,e=>e.diagnostics)]}),oB=ed.p.mark({class:"cm-lintRange cm-lintRange-active",inclusive:!0}),oF=e=>{let t=e.state.field(oW,!1);
1return!!t&&!!t.panel&&(e.dispatch({effects:oE.of(!1)}),!0)},oT=[{key:"Mod-Shift-m",run:e=>{var t,i;let n=e.state.field(oW,!1);n&&n.panel||e.dispatch({effects:(t=e.state,i=[oE.of(!0)],t.field(oW,!1)?i:i.concat(eh.Py.appendConfig.of(oG)))});let r=(0,ed.Sd)(e,oX.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(oW,!1);if(!t)return!1;let i=e.state.selection.main,n=t.diagnostics.iter(i.to+1);return(!!n.value||!!(n=t.diagnostics.iter(0)).value&&(n.from!=i.from||n.to!=i.to))&&(e.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)}}],oj=eh.r$.define({combine:e=>Object.assign({sources:e.map(e=>e.source).filter(e=>null!=e)},(0,eh.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,t)=>e?t?i=>e(i)||t(i):e:t}))});function oR(e){let t=[];if(e)t:for(let{name:i}of e){for(let e=0;e<i.length;e++){let n=i[e];if(/[a-zA-Z]/.test(n)&&!t.some(e=>e.toLowerCase()==n.toLowerCase())){t.push(n);continue t}}t.push("")}return t}function oz(e,t,i){var n;let r=i?oR(t.actions):[];return nE("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},nE("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(n=t.actions)||void 0===n?void 0:n.map((i,n)=>{let o=!1,s=n=>{if(n.preventDefault(),o)return;o=!0;let r=o$(e.state.field(oW).diagnostics,t);r&&i.apply(e,r.from,r.to)},{name:a}=i,l=r[n]?a.indexOf(r[n]):-1,u=l<0?a:[a.slice(0,l),nE("u",a.slice(l,l+1)),a.slice(l+1)];return nE("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${a}${l<0?"":` (access key "${r[n]})"`}.`},u)}),t.source&&nE("div",{class:"cm-diagnosticSource"},t.source))}class o_ extends ed.l9{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return nE("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class oY{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=oz(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class oX{constructor(e){this.view=e,this.items=[],this.list=nE("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(27==t.keyCode)oF(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:i}=this.items[this.selectedIndex],n=oR(i.actions);for(let r=0;r<n.length;r++)if(n[r].toUpperCase().charCodeAt(0)==t.keyCode){let t=o$(this.view.state.field(oW).diagnostics,i);t&&i.actions[r].apply(e,t.from,t.to)}}t.preventDefault()},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=nE("div",{class:"cm-panel-lint"},this.list,nE("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>oF(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(oW).selected;if(!e)return -1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return -1}update(){let{diagnostics:e,selected:t}=this.view.state.field(oW),i=0,n=!1,r=null;for(e.between(0,this.view.state.doc.length,(e,o,{spec:s})=>{let a=-1,l;for(let e=i;e<this.items.length;e++)if(this.items[e].diagnostic==s.diagnostic){a=e;break}a<0?(l=new oY(this.view,s.diagnostic),this.items.splice(i,0,l),n=!0):(l=this.items[a],a>i&&(this.items.splice(i,a-i),n=!0)),t&&l.diagnostic==t.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),r=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),i++});i<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)n=!0,this.items.pop();0==this.items.length&&(this.items.push(new oY(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),n=!0),r?(this.list.setAttribute("aria-activedescendant",r.id),this.view.requestMeasure({key:this,read:()=>({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let i=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/i:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/i)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),n&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.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=o$(this.view.state.field(oW).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:oM.of(t)})}static open(e){return new oX(e)}}function oI(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}let oV=ed.tk.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-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:oI("#d11")},".cm-lintRange-warning":{backgroundImage:oI("orange")},".cm-lintRange-info":{backgroundImage:oI("#999")},".cm-lintRange-hint":{backgroundImage:oI("#66d")},".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-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".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}}});ed.SJ;let oq=eh.Py.define(),oG=[oW,ed.tk.decorations.compute([oW],e=>{let{selected:t,panel:i}=e.field(oW);return t&&i&&t.from!=t.to?ed.p.set([oB.range(t.from,t.to)]):ed.p.none}),(0,ed.bF)(function(e,t,i){let{diagnostics:n}=e.state.field(oW),r=[],o=2e8,s=0;n.between(t-(i<0?1:0),t+(i>0?1:0),(e,n,{spec:a})=>{t>=e&&t<=n&&(e==n||(t>e||i>0)&&(t<n||i<0))&&(r.push(a.diagnostic),o=Math.min(e,o),s=Math.max(n,s))});let a=e.state.facet(oj).tooltipFilter;return(a&&(r=a(r,e.state)),r.length)?{pos:o,end:s,above:e.state.doc.lineAt(o).to<s,create:()=>{var t;return{dom:(t=e,nE("ul",{class:"cm-tooltip-lint"},r.map(e=>oz(t,e,!1))))}}}:null},{hideOn:oZ}),oV];var oU=function(e){void 0===e&&(e={});var{crosshairCursor:t=!1}=e,i=[];!1!==e.closeBracketsKeymap&&(i=i.concat(ov)),!1!==e.defaultKeymap&&(i=i.concat(nZ)),!1!==e.searchKeymap&&(i=i.concat(ry)),!1!==e.historyKeymap&&(i=i.concat(iX)),!1!==e.foldKeymap&&(i=i.concat(tI)),!1!==e.completionKeymap&&(i=i.concat(oD)),!1!==e.lintKeymap&&(i=i.concat(oT));var n=[];return!1!==e.lineNumbers&&n.push((0,ed.Eu)()),!1!==e.highlightActiveLineGutter&&n.push((0,ed.HQ)()),!1!==e.highlightSpecialChars&&n.push((0,ed.AE)()),!1!==e.history&&n.push(i$()),!1!==e.foldGutter&&n.push(function(e={}){let t=Object.assign(Object.assign({},tH),e),i=new tJ(t,!0),n=new tJ(t,!1),r=ed.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(ty)!=e.state.facet(ty)||e.startState.field(tz,!1)!=e.state.field(tz,!1)||tc(e.startState)!=tc(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new eh.f_;for(let r of e.viewportLineBlocks){let o=t_(e.state,r.from,r.to)?n:tB(e.state,r.from,r.to)?i:null;o&&t.add(r.from,r.from,o)}return t.finish()}}),{domEventHandlers:o}=t;return[r,(0,ed.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.markers)||eh.Xs.empty},initialSpacer:()=>new tJ(t,!1),domEventHandlers:Object.assign(Object.assign({},o),{click:(e,t,i)=>{if(o.click&&o.click(e,t,i))return!0;let n=t_(e.state,t.from,t.to);if(n)return e.dispatch({effects:tj.of(n)}),!0;let r=tB(e.state,t.from,t.to);
1return!!r&&(e.dispatch({effects:tT.of(r)}),!0)}})}),tG()]}()),!1!==e.drawSelection&&n.push((0,ed.Uw)()),!1!==e.dropCursor&&n.push((0,ed.qr)()),!1!==e.allowMultipleSelections&&n.push(eh.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&n.push(tE()),!1!==e.syntaxHighlighting&&n.push(t7(t6,{fallback:!0})),!1!==e.bracketMatching&&n.push(is()),!1!==e.closeBrackets&&n.push([oy,op]),!1!==e.autocompletion&&n.push(function(e={}){return[r8,rK,rT.of(e),r7,oQ,r6]}()),!1!==e.rectangularSelection&&n.push((0,ed.Zs)()),!1!==t&&n.push((0,ed.S2)()),!1!==e.highlightActiveLine&&n.push((0,ed.ZO)()),!1!==e.highlightSelectionMatches&&n.push(nU()),e.tabSize&&"number"==typeof e.tabSize&&n.push(tS.of(" ".repeat(e.tabSize))),n.concat([ed.$f.of(i.flat())]).filter(Boolean)};let oL="#e06c75",oN="#abb2bf",oH="#7d8799",oJ="#d19a66",oK="#2c313a",o0="#282c34",o1="#353a42",o2="#528bff",o5=[ed.tk.theme({"&":{color:oN,backgroundColor:o0},".cm-content":{caretColor:o2},".cm-cursor, .cm-dropCursor":{borderLeftColor:o2},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:oN},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:o0,color:oH,border:"none"},".cm-activeLineGutter":{backgroundColor:oK},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:o1},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:o1,borderBottomColor:o1},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:oK,color:oN}}},{dark:!0}),t7(t0.define([{tag:tn.keyword,color:"#c678dd"},{tag:[tn.name,tn.deleted,tn.character,tn.propertyName,tn.macroName],color:oL},{tag:[tn.function(tn.variableName),tn.labelName],color:"#61afef"},{tag:[tn.color,tn.constant(tn.name),tn.standard(tn.name)],color:oJ},{tag:[tn.definition(tn.name),tn.separator],color:oN},{tag:[tn.typeName,tn.className,tn.number,tn.changed,tn.annotation,tn.modifier,tn.self,tn.namespace],color:"#e5c07b"},{tag:[tn.operator,tn.operatorKeyword,tn.url,tn.escape,tn.regexp,tn.link,tn.special(tn.string)],color:"#56b6c2"},{tag:[tn.meta,tn.comment],color:oH},{tag:tn.strong,fontWeight:"bold"},{tag:tn.emphasis,fontStyle:"italic"},{tag:tn.strikethrough,textDecoration:"line-through"},{tag:tn.link,color:oH,textDecoration:"underline"},{tag:tn.heading,fontWeight:"bold",color:oL},{tag:[tn.atom,tn.bool,tn.special(tn.variableName)],color:oJ},{tag:[tn.processingInstruction,tn.string,tn.inserted],color:"#98c379"},{tag:tn.invalid,color:"#ffffff"}]))];var o7=ed.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),o3=function(e){void 0===e&&(e={});var{indentWithTab:t=!0,editable:i=!0,readOnly:n=!1,theme:r="light",placeholder:o="",basicSetup:s=!0}=e,a=[];switch(t&&a.unshift(ed.$f.of([nA])),s&&("boolean"==typeof s?a.unshift(oU()):a.unshift(oU(s))),o&&a.unshift((0,ed.W$)(o)),r){case"light":a.push(o7);break;case"dark":a.push(o5);break;case"none":break;default:a.push(r)}return!1===i&&a.push(ed.tk.editable.of(!1)),n&&a.push(eh.yy.readOnly.of(!0)),[...a]},o8=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}),o6=eh.q6.define(),o4=[],o9=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoF
1ocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],se=(0,F.forwardRef)((e,t)=>{var{className:i,value:n="",selection:r,extensions:o=[],onChange:s,onStatistics:a,onCreateEditor:l,onUpdate:u,autoFocus:c,theme:h="light",height:d,minHeight:f,maxHeight:p,width:O,minWidth:g,maxWidth:m,basicSetup:b,placeholder:y,indentWithTab:v,editable:S,readOnly:x,root:k,initialState:w}=e,D=(0,ec.Z)(e,o9),Q=(0,F.useRef)(null),{state:P,view:C,container:$}=function(e){var{value:t,selection:i,onChange:n,onStatistics:r,onCreateEditor:o,onUpdate:s,extensions:a=o4,autoFocus:l,theme:u="light",height:c=null,minHeight:h=null,maxHeight:d=null,width:f=null,minWidth:p=null,maxWidth:O=null,placeholder:g="",editable:m=!0,readOnly:b=!1,indentWithTab:y=!0,basicSetup:v=!0,root:S,initialState:x}=e,[k,w]=(0,F.useState)(),[D,Q]=(0,F.useState)(),[P,C]=(0,F.useState)(),$=ed.tk.theme({"&":{height:c,minHeight:h,maxHeight:d,width:f,minWidth:p,maxWidth:O},"& .cm-scroller":{height:"100% !important"}}),Z=[ed.tk.updateListener.of(e=>{e.docChanged&&"function"==typeof n&&!e.transactions.some(e=>e.annotation(o6))&&n(e.state.doc.toString(),e),r&&r(o8(e))}),$,...o3({theme:u,editable:m,readOnly:b,placeholder:g,indentWithTab:y,basicSetup:v})];return s&&"function"==typeof s&&Z.push(ed.tk.updateListener.of(s)),Z=Z.concat(a),(0,F.useEffect)(()=>{if(k&&!P){var e={doc:t,selection:i,extensions:Z},n=x?eh.yy.fromJSON(x.json,e,x.fields):eh.yy.create(e);if(C(n),!D){var r=new ed.tk({state:n,parent:k,root:S});Q(r),o&&o(r,n)}}return()=>{D&&(C(void 0),Q(void 0))}},[k,P]),(0,F.useEffect)(()=>w(e.container),[e.container]),(0,F.useEffect)(()=>()=>{D&&(D.destroy(),Q(void 0))},[D]),(0,F.useEffect)(()=>{l&&D&&D.focus()},[l,D]),(0,F.useEffect)(()=>{D&&D.dispatch({effects:eh.Py.reconfigure.of(Z)})},[u,a,c,h,d,f,p,O,g,m,b,y,v,n,s]),(0,F.useEffect)(()=>{if(void 0!==t){var e=D?D.state.doc.toString():"";D&&t!==e&&D.dispatch({changes:{from:0,to:e.length,insert:t||""},annotations:[o6.of(!0)]})}},[t,D]),{state:P,setState:C,view:D,setView:Q,container:k,setContainer:w}}({container:Q.current,root:k,value:n,autoFocus:c,theme:h,height:d,minHeight:f,maxHeight:p,width:O,minWidth:g,maxWidth:m,basicSetup:b,placeholder:y,indentWithTab:v,editable:S,readOnly:x,selection:r,onChange:s,onStatistics:a,onCreateEditor:l,onUpdate:u,extensions:o,initialState:w});if((0,F.useImperativeHandle)(t,()=>({editor:Q.current,state:P,view:C}),[Q,$,P,C]),"string"!=typeof n)throw Error("value must be typeof string but got "+typeof n);var Z="string"==typeof h?"cm-theme-"+h:"cm-theme";return(0,M.jsx)("div",(0,eu.Z)({ref:Q,className:""+Z+(i?" "+i:"")},D))});se.displayName="CodeMirror";var st=i(25566);class si{constructor(e,t,i,n,r,o,s,a,l,u=0,c){this.p=e,this.stack=t,this.state=i,this.reducePos=n,this.pos=r,this.score=o,this.buffer=s,this.bufferBase=a,this.curContext=l,this.lookAhead=u,this.parent=c}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 n=e.parser.context;return new si(e,[],t,i,i,0,[],0,n?new sn(n,n.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,n=65535&e,{parser:r}=this.p,o=r.dynamicPrecedence(n);if(o&&(this.score+=o),0==i){this.pushState(r.getGoto(this.state,n,!0),this.reducePos),n<r.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,4,!0),this.reduceContext(n,this.reducePos);return}let s=this.stack.length-(i-1)*3-(262144&e?6:0),a=s?this.stack[s-2]:this.p.ranges[0].from,l=this.reducePos-a;l>=2e3&&!(null===(t=this.p.parser.nodeSet.types[n])||void 0===t?void 0:t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=l):this.p.lastBigReductionSize<l&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=a,this.p.lastBigReductionSize=l));let u=s?this.stack[s-1]:0,c=this.bufferBase+this.buffer.length-u;if(n<r.minRepeatTerm||131072&e){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,a,e,c+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=r.getGoto(e,n,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(n,a)}storeNode(e,t,i,n=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,n=this.buffer.length;if(0==n&&e.parent&&(n=e.bufferBase-e.parent.bufferBase,e=e.parent),n>0&&0==e.buffer[n-4]&&e.buffer[n-1]>-1){if(t==i)return;if(e.buffer[n-2]>=t){e.buffer[n-2]=i;return}}}if(r&&this.pos!=i){let r=this.buffer.length;if(r>0&&0!=this.buffer[r-4])for(;r>0&&this.buffer[r-2]>i;)this.buffer[r]=this.buffer[r-4],this.buffer[r+1]=this.buffer[r-3],this.buffer[r+2]=this.buffer[r-2],this.buffer[r+3]=this.buffer[r-1],r-=4,n>4&&(n-=4);this.buffer[r]=e,this.buffer[r+1]=t,this.buffer[r+2]=i,this.buffer[r+3]=n}else this.buffer.push(e,t,i,n)}shift(e,t,i,n){if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:r}=this.p;(n>this.pos||t<=r.maxNode)&&(this.pos=n,r.stateFlag(e,1)||(this.reducePos=n)),this.pushState(e,i),this.shiftContext(t,i),t<=r.maxNode&&this.buffer.push(t,i,n,4)}else this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4)}apply(e,t,i,n){65536&e?this.reduce(e):this.shift(e,t,i,n)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let n=this.pos;this.reducePos=this.pos=n+e.length,this.pushState(t,n),this.buffer.push(i,n,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),n=e.bufferBase+t;for(;e&&n==e.bufferBase;)e=e.parent;return new si(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,n,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 sr(this);;){let i=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==i)return!1;if((65536&i)==0)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 i=[];for(let n=0,r;n<t.length;n+=2)(r=t[n+1])!=this.state&&this.p.parser.hasAction(r,e)&&i.push(t[n],r);if(this.stack.length<120)for(let e=0;i.length<8&&e<t.length;e+=2){let n=t[e+1];i.some((e,t)=>1&t&&e==n)||i.push(t[e],n)}t=i}let i=[];for(let e=0;e<t.length&&i.length<4;e+=2){let n=t[e+1];if(n==this.state)continue;let r=this.split();r.pushState(n,this.pos),r.storeNode(0,r.pos,r.pos,4,!0),r.shiftContext(t[e],this.pos),r.reducePos=this.pos,r.score-=200,i.push(r)}return i}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if((65536&t)==0)return!1;if(!e.validAction(this.state,t)){let i=t>>19,n=65535&t,r=this.stack.length-3*i;
vendor: 5,379 bytes, line 1
1if(r<0||0>e.getGoto(this.stack[r],n,!1)){let e=this.findForcedReduction();if(null==e)return!1;t=e}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=(n,r)=>{if(!t.includes(n))return t.push(n),e.allActions(n,t=>{if(393216&t);else if(65536&t){let i=(t>>19)-r;if(i>1){let n=65535&t,r=this.stack.length-3*i;if(r>=0&&e.getGoto(this.stack[r],n,!1)>=0)return i<<19|65536|n}}else{let e=i(t,r+1);if(null!=e)return e}})};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(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),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;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new sn(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class sn{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class sr{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=i}}class so{constructor(e,t,i){this.stack=e,this.pos=t,this.index=i,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new so(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(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,0==this.index&&this.maybeNext()}fork(){return new so(this.stack,this.pos,this.index)}}function ss(e,t=Uint16Array){if("string"!=typeof e)return e;let i=null;for(let n=0,r=0;n<e.length;){let o=0;for(;;){let t=e.charCodeAt(n++),i=!1;if(126==t){o=65535;break}t>=92&&t--,t>=34&&t--;let r=t-32;if(r>=46&&(r-=46,i=!0),o+=r,i)break;o*=46}i?i[r++]=o:i=new t(o)}return i}class sa{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let sl=new sa;class su{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=sl,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,n=this.rangeIndex,r=this.pos+e;for(;r<i.from;){if(!n)return null;let e=this.ranges[--n];r-=i.from-e.to,i=e}for(;t<0?r>i.to:r>=i.to;){if(n==this.ranges.length-1)return null;let e=this.ranges[++n];r+=e.from-i.to,i=e}return r}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,i,n;if(t>=0&&t<this.chunk.length)i=this.pos+e,n=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(null==t)return -1;if((i=t)>=this.chunk2Pos&&i<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(i-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=i;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=i),i+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-i)),n=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),n}acceptToken(e,t=0){let i=t?this.resolveOffset(t,-1):this.pos;if(null==i||i<this.token.start)throw RangeError("Token end out of bounds");this.token.value=e,this.token.end=i}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}
vendor: 6,209 bytes, line 1
1readNext(){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=sl,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(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 n of this.ranges){if(n.from>=t)break;n.to>e&&(i+=this.input.read(Math.max(n.from,e),Math.min(n.to,t)))}return i}}class sc{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;sf(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}sc.prototype.contextual=sc.prototype.fallback=sc.prototype.extend=!1;class sh{constructor(e,t,i){this.precTable=t,this.elseToken=i,this.data="string"==typeof e?ss(e):e}token(e,t){let i=e.pos,n=0;for(;;){let i=e.next<0,r=e.resolveOffset(1,1);if(sf(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(!i&&n++,null==r)break;e.reset(r,e.token)}n&&(e.reset(i,e.token),e.acceptToken(this.elseToken,n))}}sh.prototype.contextual=sc.prototype.fallback=sc.prototype.extend=!1;class sd{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function sf(e,t,i,n,r,o){let s=0,a=1<<n,{dialect:l}=i.p.parser;e:for(;(a&e[s])!=0;){let i=e[s+1];for(let n=s+3;n<i;n+=2)if((e[n+1]&a)>0){let i=e[n];if(l.allows(i)&&(-1==t.token.value||t.token.value==i||function(e,t,i,n){let r=sp(i,n,t);return r<0||sp(i,n,e)<r}(i,t.token.value,r,o))){t.acceptToken(i);break}}let n=t.next,u=0,c=e[s+2];if(t.next<0&&c>u&&65535==e[i+3*c-3]){s=e[i+3*c-1];continue}for(;u<c;){let r=u+c>>1,o=i+r+(r<<1),a=e[o],l=e[o+1]||65536;if(n<a)c=r;else if(n>=l)u=r+1;else{s=e[o+2],t.advance();continue e}}break}}function sp(e,t,i){for(let n=t,r;65535!=(r=e[n]);n++)if(r==i)return n-t;return -1}let sO=void 0!==st&&st.env&&/\bparse\b/.test(st.env.LOG),sg=null;function sm(e,t,i){let n=e.cursor(l.IncludeAnonymous);for(n.moveTo(t);;)if(!(i<0?n.childBefore(t):n.childAfter(t)))for(;;){if((i<0?n.to<t:n.from>t)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,t-25)):Math.min(e.length,Math.max(n.from+1,t+25));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:e.length}}class sb{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?sm(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?sm(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(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let i=this.trees[t],n=this.index[t];if(n==i.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let r=i.children[n],o=this.start[t]+i.positions[n];if(o>e)return this.nextStart=o,null;if(r instanceof ex){if(o==e){if(o<this.safeFrom)return null;let e=o+r.length;if(e<=this.safeTo){let t=r.prop(eO.lookAhead);if(!t||e+t<this.fragment.to)return r}}this.index[t]++,o+r.length>=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+r.length}}}class sy{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new sa)}getActions(e){let t=0,i=null,{parser:n}=e.p,{tokenizers:r}=n,o=n.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,a=0;for(let n=0;n<r.length;n++){if((1<<n&o)==0)continue;let l=r[n],u=this.tokens[n];if((!i||l.fallback)&&((l.contextual||u.start!=e.pos||u.mask!=o||u.context!=s)&&(this.updateCachedToken(u,l,e),u.mask=o,u.context=s),u.lookAhead>u.end+25&&(a=Math.max(u.lookAhead,a)),0!=u.value)){let n=t;if(u.extended>-1&&(t=this.addActions(e,u.extended,u.end,t)),t=this.addActions(e,u.value,u.end,t),!l.extend&&(i=u,t>n))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),i||e.pos!=this.stream.end||((i=new sa).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 sa,{pos:i,p:n}=e;return t.start=i,t.end=Math.min(i+1,n.stream.end),t.value=i==n.stream.end?n.parser.eofTerm:0,t}updateCachedToken(e,t,i){let n=this.stream.clipPos(i.pos);if(t.token(this.stream.reset(n,e),i),e.value>-1){let{parser:t}=i.p;for(let n=0;n<t.specialized.length;n++)if(t.specialized[n]==e.value){let r=t.specializers[n](this.stream.read(e.start,e.end),i);if(r>=0&&i.p.parser.dialect.allows(r>>1)){(1&r)==0?e.value=r>>1:e.extended=r>>1;break}}}else e.value=0,e.end=this.stream.clipPos(n+1)}putAction(e,t,i,n){for(let t=0;t<n;t+=3)if(this.actions[t]==e)return n;return this.actions[n++]=e,this.actions[n++]=t,this.actions[n++]=i,n}
1addActions(e,t,i,n){let{state:r}=e,{parser:o}=e.p,{data:s}=o;for(let e=0;e<2;e++)for(let a=o.stateSlot(r,e?2:1);;a+=3){if(65535==s[a]){if(1==s[a+1])a=sQ(s,a+2);else{0==n&&2==s[a+1]&&(n=this.putAction(sQ(s,a+2),t,i,n));break}}s[a]==t&&(n=this.putAction(sQ(s,a+1),t,i,n))}return n}}class sv{constructor(e,t,i,n){this.parser=e,this.input=t,this.ranges=n,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new su(t,n),this.tokens=new sy(e,this.stream),this.topTerm=e.top[1];let{from:r}=n[0];this.stacks=[si.start(this,e.top[0],r)],this.fragments=i.length&&this.stream.end-r>4*e.bufferLength?new sb(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,i=this.stacks,n=this.minStackPos,r=this.stacks=[];if(this.bigReductionCount>300&&1==i.length){let[e]=i;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<i.length;o++){let s=i[o];for(;;){if(this.tokens.mainToken=null,s.pos>n)r.push(s);else{if(this.advanceStack(s,r,i))continue;e||(e=[],t=[]),e.push(s);let n=this.tokens.getMainToken(s);t.push(n.value,n.end)}break}}if(!r.length){let t=e&&function(e){let t=null;for(let i of e){let e=i.p.stoppedAt;(i.pos==i.p.stream.end||null!=e&&i.pos>e)&&i.p.parser.stateFlag(i.state,2)&&(!t||t.score<i.score)&&(t=i)}return t}(e);if(t)return sO&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw sO&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&e){let i=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,r);if(i)return sO&&console.log("Force-finish "+this.stackID(i)),this.stackToTree(i.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(r.length>e)for(r.sort((e,t)=>t.score-e.score);r.length>e;)r.pop();r.some(e=>e.reducePos>n)&&this.recovering--}
vendor: 5,512 bytes, line 1
1else if(r.length>1){i:for(let e=0;e<r.length-1;e++){let t=r[e];for(let i=e+1;i<r.length;i++){let n=r[i];if(t.sameState(n)||t.buffer.length>500&&n.buffer.length>500){if((t.score-n.score||t.buffer.length-n.buffer.length)>0)r.splice(i--,1);else{r.splice(e--,1);continue i}}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let e=1;e<r.length;e++)r[e].pos<this.minStackPos&&(this.minStackPos=r[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,i){let n=e.pos,{parser:r}=this,o=sO?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&n>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,i=t?e.curContext.hash:0;for(let s=this.fragments.nodeAt(n);s;){let n=this.parser.nodeSet.types[s.type.id]==s.type?r.getGoto(e.state,s.type.id):-1;if(n>-1&&s.length&&(!t||(s.prop(eO.contextHash)||0)==i))return e.useNode(s,n),sO&&console.log(o+this.stackID(e)+` (via reuse of ${r.getName(s.type.id)})`),!0;if(!(s instanceof ex)||0==s.children.length||s.positions[0]>0)break;let a=s.children[0];if(a instanceof ex&&0==s.positions[0])s=a;else break}}let s=r.stateSlot(e.state,4);if(s>0)return e.reduce(s),sO&&console.log(o+this.stackID(e)+` (via always-reduce ${r.getName(65535&s)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let s=0;s<a.length;){let l=a[s++],u=a[s++],c=a[s++],h=s==a.length||!i,d=h?e:e.split(),f=this.tokens.mainToken;if(d.apply(l,u,f?f.start:d.pos,c),sO&&console.log(o+this.stackID(d)+` (via ${(65536&l)==0?"shift":`reduce of ${r.getName(65535&l)}`} for ${r.getName(u)} @ ${n}${d==e?"":", split"})`),h)return!0;d.pos>n?t.push(d):i.push(d)}return!1}advanceFully(e,t){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return sS(e,t),!0}}runRecovery(e,t,i){let n=null,r=!1;for(let o=0;o<e.length;o++){let s=e[o],a=t[o<<1],l=t[(o<<1)+1],u=sO?this.stackID(s)+" -> ":"";if(s.deadEnd&&(r||(r=!0,s.restart(),sO&&console.log(u+this.stackID(s)+" (restarted)"),this.advanceFully(s,i))))continue;let c=s.split(),h=u;for(let e=0;c.forceReduce()&&e<10&&(sO&&console.log(h+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,i));e++)sO&&(h=this.stackID(c)+" -> ");for(let e of s.recoverByInsert(a))sO&&console.log(u+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,i);this.stream.end>s.pos?(l==s.pos&&(l++,a=0),s.recoverByDelete(a,l),sO&&console.log(u+this.stackID(s)+` (via recover-delete ${this.parser.getName(a)})`),sS(s,i)):(!n||n.score<s.score)&&(n=s)}return n}stackToTree(e){return e.close(),ex.build({buffer:so.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(sg||(sg=new WeakMap)).get(e);return t||sg.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function sS(e,t){for(let i=0;i<t.length;i++){let n=t[i];if(n.pos==e.pos&&n.sameState(e)){t[i].score<e.score&&(t[i]=e);return}}t.push(e)}class sx{constructor(e,t,i){this.source=e,this.flags=t,this.disabled=i}allows(e){return!this.disabled||0==this.disabled[e]}}let sk=e=>e;class sw{constructor(e){this.start=e.start,this.shift=e.shift||sk,this.reduce=e.reduce||sk,this.reuse=e.reuse||sk,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class sD extends e_{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let i=0;i<e.repeatNodeCount;i++)t.push("");let i=Object.keys(e.topRules).map(t=>e.topRules[t][1]),n=[];for(let e=0;e<t.length;e++)n.push([]);function r(e,t,i){n[e].push([t,t.deserialize(String(i))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=eO[e]);for(let i=1;i<t.length;){let n=t[i++];if(n>=0)r(n,e,t[i++]);else{let o=t[i+-n];for(let s=-n;s>0;s--)r(t[i++],e,o);i++}}}this.nodeSet=new ey(t.map((t,r)=>eb.define({name:r>=this.minRepeatTerm?void 0:t,id:r,props:n[r],top:i.indexOf(r)>-1,error:0==r,skipped:e.skippedNodes&&e.skippedNodes.indexOf(r)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=1024;let o=ss(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(sP),this.states=ss(e.states,Uint32Array),this.data=ss(e.stateData),this.goto=ss(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new sc(o,e):e),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 n=new sv(this,e,t,i);for(let r of this.wrappers)n=r(n,e,t,i);return n}getGoto(e,t,i=!1){let n=this.goto;if(t>=n[0])return -1;for(let r=n[t+1];;){let t=n[r++],o=1&t,s=n[r++];if(o&&i)return s;for(let i=r+(t>>1);r<i;r++)if(n[r]==e)return s;if(o)return -1}}hasAction(e,t){let i=this.data;for(let n=0;n<2;n++)for(let r=this.stateSlot(e,n?2:1),o;;
1r+=3){if(65535==(o=i[r])){if(1==i[r+1])o=i[r=sQ(i,r+2)];else if(2==i[r+1])return sQ(i,r+2);else break}if(o==t||0==o)return sQ(i,r+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let i=this.stateSlot(e,4),n=i?t(i):void 0;for(let i=this.stateSlot(e,1);null==n;i+=3){if(65535==this.data[i]){if(1==this.data[i+1])i=sQ(this.data,i+2);else break}n=t(sQ(this.data,i+1))}return n}nextStates(e){let t=[];for(let i=this.stateSlot(e,1);;i+=3){if(65535==this.data[i]){if(1==this.data[i+1])i=sQ(this.data,i+2);else break}if((1&this.data[i+2])==0){let e=this.data[i+1];t.some((t,i)=>1&i&&t==e)||t.push(this.data[i],e)}}return t}configure(e){let t=Object.assign(Object.create(sD.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw RangeError(`Invalid top rule name ${e.top}`);t.top=i}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let i=e.tokenizers.find(e=>e.from==t);return i?i.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((i,n)=>{let r=e.specializers.find(e=>e.from==i.external);if(!r)return i;let o=Object.assign(Object.assign({},i),{external:r.to});return t.specializers[n]=sP(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(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 null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),i=t.map(()=>!1);if(e)for(let n of e.split(" ")){let e=t.indexOf(n);e>=0&&(i[e]=!0)}let n=null;for(let e=0;e<t.length;e++)if(!i[e])for(let i=this.dialects[t[e]],r;65535!=(r=this.data[i++]);)(n||(n=new Uint8Array(this.maxTerm+1)))[r]=1;return new sx(e,i,n)}static deserialize(e){return new sD(e)}}function sQ(e,t){return e[t]|e[t+1]<<16}function sP(e){if(e.external){let t=e.extend?1:0;return(i,n)=>e.external(i,n)<<1|t}return e.get}let sC=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],s$=new sw({start:!1,shift:(e,t)=>4==t||5==t||312==t?e:313==t,strict:!1}),sZ=new sd((e,t)=>{let{next:i}=e;(125==i||-1==i||t.context)&&e.acceptToken(310)},{contextual:!0,fallback:!0}),sA=new sd((e,t)=>{let{next:i}=e,n;!(sC.indexOf(i)>-1)&&(47==i&&(47==(n=e.peek(1))||42==n)||125==i||59==i||-1==i||t.context||e.acceptToken(309))},{contextual:!0}),sE=new sd((e,t)=>{let{next:i}=e;if((43==i||45==i)&&(e.advance(),i==e.next)){e.advance();let i=!t.context&&t.canShift(1);e.acceptToken(i?1:2)}},{contextual:!0});function sM(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}let sW=new sd((e,t)=>{if(60!=e.next||!t.dialectEnabled(0)||(e.advance(),47==e.next))return;let i=0;for(;sC.indexOf(e.next)>-1;)e.advance(),i++;if(sM(e.next,!0)){for(e.advance(),i++;sM(e.next,!1);)e.advance(),i++;for(;sC.indexOf(e.next)>-1;)e.advance(),i++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!sM(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),i++}}e.acceptToken(3,-i)}),sB=eG({"get set async static":tn.modifier,"for while do if else switch try catch finally return throw break continue default case":tn.controlKeyword,"in of await yield void typeof delete instanceof":tn.operatorKeyword,"let var const using function class extends":tn.definitionKeyword,"import export from":tn.moduleKeyword,"with debugger as new":tn.keyword,TemplateString:tn.special(tn.string),super:tn.atom,BooleanLiteral:tn.bool,this:tn.self,null:tn.null,Star:tn.modifier,VariableName:tn.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":tn.function(tn.variableName),VariableDefinition:tn.definition(tn.variableName),Label:tn.labelName,PropertyName:tn.propertyName,PrivatePropertyName:tn.special(tn.propertyName),"CallExpression/MemberExpression/PropertyName":tn.function(tn.propertyName),"FunctionDeclaration/VariableDefinition":tn.function(tn.definition(tn.variableName)),"ClassDeclaration/VariableDefinition":tn.definition(tn.className),PropertyDefinition:tn.definition(tn.propertyName),PrivatePropertyDefinition:tn.definition(tn.special(tn.propertyName)),UpdateOp:tn.updateOperator,"LineComment Hashbang":tn.lineComment,BlockComment:tn.blockComment,Number:tn.number,String:tn.string,Escape:tn.escape,Ar
vendor: 6,594 bytes, line 1
1ithOp:tn.arithmeticOperator,LogicOp:tn.logicOperator,BitOp:tn.bitwiseOperator,CompareOp:tn.compareOperator,RegExp:tn.regexp,Equals:tn.definitionOperator,Arrow:tn.function(tn.punctuation),": Spread":tn.punctuation,"( )":tn.paren,"[ ]":tn.squareBracket,"{ }":tn.brace,"InterpolationStart InterpolationEnd":tn.special(tn.brace),".":tn.derefOperator,", ;":tn.separator,"@":tn.meta,TypeName:tn.typeName,TypeDefinition:tn.definition(tn.typeName),"type enum interface implements namespace module declare":tn.definitionKeyword,"abstract global Privacy readonly override":tn.modifier,"is keyof unique infer":tn.operatorKeyword,JSXAttributeValue:tn.attributeValue,JSXText:tn.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":tn.angleBracket,"JSXIdentifier JSXNameSpacedName":tn.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":tn.attributeName,"JSXBuiltin/JSXIdentifier":tn.standard(tn.tagName)}),sF={__proto__:null,export:18,as:23,from:31,default:34,async:39,function:40,extends:52,this:56,true:64,false:64,null:76,void:80,typeof:84,super:102,new:136,delete:152,yield:161,await:165,class:170,public:227,private:227,protected:227,readonly:229,instanceof:248,satisfies:251,in:252,const:254,import:286,keyof:339,unique:343,infer:349,is:385,abstract:405,implements:407,type:409,let:412,var:414,using:417,interface:423,enum:427,namespace:433,module:435,declare:439,global:443,for:462,of:471,while:474,with:478,do:482,if:486,else:488,switch:492,case:498,try:504,catch:508,finally:512,return:516,throw:520,break:524,continue:528,debugger:532},sT={__proto__:null,async:123,get:125,set:127,declare:187,public:189,private:189,protected:189,static:191,abstract:193,override:195,readonly:201,accessor:203,new:389},sj={__proto__:null,"<":143},sR=sD.deserialize({version:14,states:"$<UO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ08SO'#ChO+R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(b(c(d+T.O.P.Q.S2w2x6dQ1q,dQ2X,zQ6Q2PQ8`6RT;
1w'S+RT#`W%eS#_W%eS(O#V(WS(T#Y+QS-P'S+RT-s'}-xT'X!e%fQ$kfR)s$pT)h$k)iR3r.zT*X$x*ZR*a${Q0g+]Q2z.ZQ5`1^Q6h3OQ7z5cQ8k6gQ9Y7yQ9l8jQ9}9[Q:V9nQ:[:OR:_:WnqOXst!Z#c%j&m&o&p&r,h,m1w1zQ&g!VR,]&dtmOXst!U!V!Z#c%j&d&m&o&p&r,h,m1w1zR,d&jT%im,dR1W+|R,[&bQ&Q|R+t&RR+j%{T&k!W&nT&l!W&nT1y,m1z",nodeNames:"â ArithOp ArithOp JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:371,context:s$,nodeProps:[["isolate",-8,4,5,13,33,35,48,50,52,""],["group",-26,8,16,18,65,201,205,209,210,212,215,218,228,230,236,238,240,242,245,251,257,259,261,263,265,267,268,"Statement",-32,12,13,28,31,32,38,48,51,52,54,59,67,75,79,81,83,84,106,107,116,117,134,137,139,140,141,142,144,145,164,165,167,"Expression",-23,27,29,33,37,39,41,168,170,172,173,175,176,177,179,180,181,183,184,185,195,197,199,200,"Type",-3,87,99,105,"ClassItem"],["openedBy",22,"<",34,"InterpolationStart",53,"[",57,"{",72,"(",157,"JSXStartCloseTag"],["closedBy",23,">",36,"InterpolationEnd",47,"]",58,"}",73,")",162,"JSXEndTag"]],propSources:[sB],skippedNodes:[0,4,5,271],repeatNodeCount:37,tokenData:"$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]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_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$JTEr$JT$JU$AX$JU$KVEr$KV$KW$AX$KW&FUEr&FU&FV$AX&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AX?HUOEr(CS$Duk$f&j(Op(R!b'u(;d$Y#t'{&;d([!LYOY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[sA,sE,sW,2,3,4,5,6,7,8,9,10,11,12,13,sZ,new sh("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOt~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}
1~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(Z~~",141,332),new sh("j~RQYZXz{^~^O'x~~aP!P!Qd~iO'y~~",25,315)],topRules:{Script:[0,6],SingleExpression:[1,269],SingleClassItem:[2,270]},dialects:{jsx:0,ts:14614},dynamicPrecedences:{69:1,79:1,81:1,165:1,193:1},specialized:[{term:319,get:e=>sF[e]||-1},{term:334,get:e=>sT[e]||-1},{term:70,get:e=>sj[e]||-1}],tokenPrec:14638}),sz=tu.define({name:"javascript",parser:sR.configure({props:[tQ.add({IfStatement:tA({except:/^\s*({|else\b)/}),TryStatement:tA({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:e=>e.baseIndent,SwitchBody:e=>{let t=e.textAfter,i=/^\s*\}/.test(t),n=/^\s*(case|default)\b/.test(t);return e.baseIndent+(i?0:n?1:2)*e.unit},Block:function({closing:e,align:t=!0,units:i=1}){return n=>tZ(n,t,i,e)}({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":tA({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),tW.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":function(e){let t=e.firstChild,i=e.lastChild;return t&&t.to<i.from?{from:t.to,to:i.type.isError?e.to:i.from}:null},BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}});e=>/^JSX/.test(e.name),"object"==typeof navigator&&navigator.userAgent;var s_=i(79164),sY=i(34043),sX=i(74048),sI=i(6272),sV=i.n(sI),sq=i(7310),sG=i.n(sq),sU=i(29715),sL=i(25788),sN=i.n(sL),sH=i(65818),sJ=i.n(sH);let sK=["v1","vX","v2021-03-25","v2021-10-21","v2022-03-07"],[s0]=sK.slice(-1);function s1(e){let[t,i]=(0,F.useState)(!1);return(0,F.useEffect)(()=>{let t=setTimeout(()=>i(!0),e.delay||500);return()=>clearTimeout(t)},[e.delay]),t?(0,M.jsx)(B.$j,{muted:!0,size:4}):null}let s2=[[sz],(0,ed.Eu)(),(0,ed.ZO)(),(0,ed.HQ)(),nU(),(0,ed.AE)(),tE(),is(),[oy,op],i$(),(0,ed.Uw)(),t7(t6,{fallback:!0}),ed.$f.of([nZ,iX].flat().filter(Boolean))];var s5=Object.freeze,s7=Object.defineProperty;let s3=sY.ZP.div(c||(c=s5(s7(n=["\n width: 100%;\n box-sizing: border-box;\n height: 100%;\n overflow: hidden;\n overflow: clip;\n position: relative;\n display: flex;\n\n & .cm-theme {\n width: 100%;\n }\n\n & .cm-editor {\n height: 100%;\n\n font-size: 16px;\n line-height: 21px;\n }\n\n & .cm-line {\n padding-left: ",";\n }\n\n & .cm-content {\n border-right-width: "," !important;\n padding-top: ",";\n }\n"],"raw",{value:s5(r||n.slice())}))),e=>{let{theme:t}=e;return(0,B.hO)(t.sanity.space[3])},e=>{let{theme:t}=e;return(0,B.hO)(t.sanity.space[4])},e=>{let{theme:t}=e;return(0,B.hO)(t.sanity.space[5])});function s8(e){var t;let i=(t=(0,B.Fg)(),[(0,F.useMemo)(()=>(function(e){let{color:t,fonts:i}=e.sanity,n=t.card.enabled,r=s_.VG.blue[t.dark?400:500].hex,o=s_.VG.gray[e.sanity.color.dark?900:100].hex;return ed.tk.theme({"&":{color:n.fg,backgroundColor:n.bg},".cm-content":{caretColor:r},".cm-editor":{fontFamily:i.code.family,fontSize:(0,B.hO)(i.code.sizes[1].fontSize),lineHeight:"inherit"},".cm-cursor, .cm-dropCursor":{borderLeftColor:r},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:o},".cm-panels":{backgroundColor:n.bg,color:n.fg},".cm-panels.cm-panels-top":{borderBottom:"2px solid ".concat(n.border)},".cm-panels.cm-panels-bottom":{borderTop:"2px solid ".concat(n.border)}},{dark:t.dark})})(t),[t]),(0,F.useMemo)(()=>t7(function(e){let t=e.sanity.color.base,i=e.sanity.color.syntax;return t0.define([{tag:tn.keyword,color:i.keyword},{tag:[tn.propertyName,tn.name,tn.deleted,tn.character,tn.macroName],color:i.property},{tag:[tn.function(tn.variableName),tn.labelName],color:i.function},{tag:[tn.color,tn.constant(tn.name),tn.standard(tn.name)],color:i.variable},{tag:[tn.definition(tn.name),tn.separator],color:i.constant},{tag:[tn.typeName,tn.className,tn.number,tn.changed,tn.annotation,tn.modifier,tn.self,tn.namespace],color:i.number}
1,{tag:[tn.operator,tn.operatorKeyword,tn.url,tn.escape,tn.regexp,tn.link,tn.special(tn.string)],color:i.operator},{tag:[tn.meta,tn.comment],color:i.comment},{tag:tn.strong,fontWeight:"bold"},{tag:tn.emphasis,fontStyle:"italic"},{tag:tn.strikethrough,textDecoration:"line-through"},{tag:tn.heading,fontWeight:"bold",color:i.property},{tag:[tn.atom,tn.bool,tn.special(tn.variableName)],color:i.boolean},{tag:[tn.processingInstruction,tn.string,tn.inserted],color:i.string},{tag:tn.invalid,color:t.fg}])}(t)),[t])]);return(0,M.jsx)(s3,{children:(0,M.jsx)(se,{basicSetup:!1,theme:i,extensions:s2,...e})})}let s6=["raw","previewDrafts","published"],s4=s6[0];function s9(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=new URLSearchParams;for(let[i,r]of(n.set("query",e),Object.entries(t)))n.set("$".concat(i),JSON.stringify(r));for(let[e,t]of Object.entries(i))t&&n.set(e,"".concat(t));return"?".concat(n)}let ae=function(){let e="lsCheck";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}(),at="sanityVision:",ai="undefined"==typeof document?sX.do:window.ResizeObserver;function an(e,t){try{let t=e?sV().parse(e):{};return"object"==typeof t&&t&&!Array.isArray(t)?t:{}}catch(e){return e.message="".concat(t("params.error.params-invalid-json"),":\n\n").concat(e.message.replace("JSON5:","")),e}}function ar(e){let t=e.replace(/^v/,"").trim().toUpperCase();return t.length>0&&("X"===t||"1"===t||/^\d{4}-\d{2}-\d{2}$/.test(t)&&!isNaN(Date.parse(t)))}function ao(e){let{onChange:t}=e,{t:i}=(0,W.$G7)(sU.o),{raw:n,error:r,parsed:o,valid:s}=as(e.value,i),[a,l]=(0,F.useState)(s),[u,c]=(0,F.useState)(!1);(0,F.useEffect)(()=>{u||(t({parsed:o,raw:n,valid:a,error:r}),c(!0))},[r,u,a,t,o,n]);let h=(0,F.useCallback)(e=>{let n=as(e,i);l(n.valid),t(n)},[t,i]),d=(0,F.useMemo)(()=>sG()(h,333),[h]);return(0,M.jsx)(s8,{value:e.value||"{\n \n}",onChange:d})}function as(e,t){let i=an(e,t),n=i instanceof Error?i.message:void 0;return{parsed:i instanceof Error?{}:i,raw:e,valid:!n,error:n}}var aa=Object.freeze,al=Object.defineProperty,au=(e,t)=>aa(al(e,"raw",{value:aa(t||e.slice())}));let ac=(0,sY.ZP)(B.xu)(h||(h=au(["\n /* This limits the width of the popover content */\n max-width: 240px;\n"]))),ah=sY.ZP.a(d||(d=au(["\n cursor: pointer;\n margin-right: auto;\n"])));function ad(){let[e,t]=(0,F.useState)(!1),[i,n]=(0,F.useState)(null),[r,o]=(0,F.useState)(null),s=(0,F.useCallback)(()=>t(e=>!e),[]),a=(0,F.useCallback)(()=>t(!1),[]),{t:l}=(0,W.$G7)(sU.o);return(0,B.O8)(a,[i,r]),(0,M.jsx)(B.J2,{content:(0,M.jsx)(ac,{children:(0,M.jsxs)(B.Kq,{space:4,children:[(0,M.jsxs)(B.gF,{space:2,children:[(0,M.jsx)(B.xv,{weight:"medium",children:l("settings.perspectives.title")}),(0,M.jsx)(B.Ct,{tone:"primary",children:l("label.new")})]}),(0,M.jsx)(B.Zb,{children:(0,M.jsx)(B.xv,{muted:!0,children:l("settings.perspectives.description")})}),(0,M.jsx)(B.Zb,{children:(0,M.jsx)(B.xv,{children:(0,M.jsxs)(ah,{href:"https://sanity.io/docs/perspectives",target:"_blank",children:[l("settings.perspectives.action.docs-link")," â"]})})})]})}),placement:"bottom-start",portal:!0,padding:3,ref:o,open:e,children:(0,M.jsx)(B.zx,{icon:ea.BHU,mode:"bleed",padding:2,tone:"primary",fontSize:1,ref:n,onClick:s,selected:e})})}var af=Object.freeze,ap=Object.defineProperty;let aO=(0,sY.ZP)(B.EK)(f||(f=af(ap(o=["\n color: ",";\n"],"raw",{value:af(s||o.slice())}))),e=>{let{theme:t}=e;return t.sanity.color.muted.critical.enabled.fg});function ag(e){let{error:t}=e,{t:i}=(0,W.$G7)(sU.o);if(!("details"in t))return null;let n={...t.details,...function(e){if(!e||"string"!=typeof e.query||"number"!=typeof e.start)return{};let{query:t,start:i,end:n}=e,r=t.slice(0,i).lastIndexOf("\n")+1,o=(t.slice(0,r).match(/\n/g)||[]).length;return{line:t.slice(r,t.indexOf("\n",r)),lineNumber:o,column:i-r,columnEnd:"number"==typeof n?n-r:void 0}}(t.details)};return n.line?(0,M.jsxs)("div",{children:[(0,M.jsx)(aO,{size:1,children:"".concat(n.line,"\n").concat(function(e,t){let i="-".repeat(e),n="^".repeat(t?t-e:1);
1return"".concat(i).concat(n)}(n.column,n.columnEnd))}),(0,M.jsx)(B.xu,{marginTop:4,children:(0,M.jsx)(aO,{size:1,children:"".concat(i("query.error.line"),": ").concat(n.lineNumber,"\n").concat(i("query.error.column"),": ").concat(n.column)})})]}):null}function am(e){return(0,M.jsxs)(B.Kq,{space:5,marginTop:2,children:[(0,M.jsx)(aO,{size:1,children:e.error.message}),(0,M.jsx)(ag,{error:e.error})]})}var ab=Object.freeze,ay=Object.defineProperty,av=(e,t)=>ab(ay(e,"raw",{value:ab(t||e.slice())}));let aS=sY.ZP.div(e=>{let{theme:t}=e,{color:i,fonts:n,space:r}=t.sanity;return(0,sY.iv)(p||(p=av(["\n & .json-inspector,\n & .json-inspector .json-inspector__selection {\n font-family: ",";\n font-size: ","px;\n line-height: ","px;\n color: var(--card-code-fg-color);\n }\n\n & .json-inspector .json-inspector__leaf {\n padding-left: ",";\n }\n\n & .json-inspector .json-inspector__leaf.json-inspector__leaf_root {\n padding-top: ",";\n padding-left: 0;\n }\n\n & .json-inspector > .json-inspector__leaf_root > .json-inspector__line > .json-inspector__key {\n display: none;\n }\n\n & .json-inspector .json-inspector__line {\n display: block;\n position: relative;\n cursor: default;\n }\n\n & .json-inspector .json-inspector__line::after {\n content: '';\n position: absolute;\n top: 0;\n left: -200px;\n right: -50px;\n bottom: 0;\n z-index: -1;\n pointer-events: none;\n }\n\n & .json-inspector .json-inspector__line:hover::after {\n background: var(--card-code-bg-color);\n }\n\n & .json-inspector .json-inspector__leaf_composite > .json-inspector__line {\n cursor: pointer;\n }\n\n & .json-inspector .json-inspector__leaf_composite > .json-inspector__line::before {\n content: '⸠';\n margin-left: calc(0px - ",");\n font-size: ","px;\n line-height: ","px;\n }\n\n &\n .json-inspector\n .json-inspector__leaf_expanded.json-inspector__leaf_composite\n > .json-inspector__line::before {\n content: 'â¾ ';\n font-size: ","px;\n line-height: ","px;\n }\n\n & .json-inspector .json-inspector__radio,\n & .json-inspector .json-inspector__flatpath {\n display: none;\n }\n\n & .json-inspector .json-inspector__value {\n margin-left: ",";\n }\n\n &\n .json-inspector\n > .json-inspector__leaf_root\n > .json-inspector__line\n > .json-inspector__key\n + .json-inspector__value {\n margin: 0;\n }\n\n & .json-inspector .json-inspector__key {\n color: ",";\n }\n\n & .json-inspector .json-inspector__value_helper,\n & .json-inspector .json-inspector__value_null {\n color: ",";\n }\n\n & .json-inspector .json-inspector__not-found {\n padding-top: ",";\n }\n\n & .json-inspector .json-inspector__value_string {\n color: ",";\n word-break: break-word;\n }\n\n & .json-inspector .json-inspector__value_boolean {\n color: ",";\n }\n\n & .json-inspector .json-inspector__value_number {\n color: ",";\n }\n\n & .json-inspector .json-inspector__show-original {\n display: inline-block;\n padding: 0 6px;\n cursor: pointer;\n }\n\n & .json-inspector .json-inspector__show-original:hover {\n color: inherit;\n }\n\n & .json-inspector .json-inspector__show-original::before {\n content: 'â';\n }\n\n & .json-inspector .json-inspector__show-original:hover::after {\n content: ' expand';\n }\n "])),n.code.family,n.code.sizes[2].fontSize,n.code.sizes[2].lineHeight,(0,B.hO)(r[4]),(0,B.hO)(r[0]),(0,B.hO)(r[4]),n.code.sizes[2].fontSize,n.code.sizes[2].lineHeight,n.code.sizes[2].fontSize,n.code.sizes[2].lineHeight,(0,B.hO)(r[4]/2),i.syntax.property,i.syntax.constant,(0,B.hO)(r[2]),i.syntax.string,i.syntax.boolean,i.syntax.number)}),ax=sJ()(5e4);function ak(e){let{data:t}=e;return aQ(t)||Array.isArray(t)?(0,M.jsx)(aS,{children:(0,M.jsx)(sN(),{data:t,search:!1,isExpanded:aw,onClick:aD})}):(0,M.jsx)(B.EK,{language:"json",children:JSON.stringify(t)})}function aw(e,t){let i=ax.get(e);if("boolean"==typeof i)return i;let n=e.split(".",4);return 4!==n.length&&(!!Array.isArray(t)||aQ(t)&&!n.some(e=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return aP.test(e)&&parseInt(e,10)>t})(e)))}function aD(e){let{path:t}=e,i=ax.get(t);void 0!==i&&ax.set(t,!i)}function aQ(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}let aP=/^\d+$/;var aC=Object.freeze,a$=Object.defineProperty,aZ=(e,t)=>aC(a$(e,"raw",{value:aC(t||e.slice())}));let aA=(0,sY.ZP)(B.kC)(O||(O=aZ(["\n .sidebarPanes .Pane {\n overflow-y: auto;\n overflow-x: hidden;\n }\n\n & .Resizer {\n background: var(--card-border-color);\n opacity: 1;\n z-index: 1;\n box-sizing: border-box;\n background-clip: padding-box;\n border: solid transparent;\n }\n\n & .Resizer:hover {\n border-color: var(--card-shadow-ambient-color);\n }\n\n & .Resizer.horizontal {\n height: 11px;\n margin: -5px 0;\n border-width: 5px 0;\n cursor: row-resize;\n width: 100%;\n z-index: 4;\n }\n\n & .Resizer.vertical {\n width: 11px;\n margin: 0 -5px;\n border-width: 0 5px;\n cursor: col-resize;\n z-index: 2; /* To prevent the resizer from being hidden behind CodeMirror scroll area */\n }
1\n\n .Resizer.disabled {\n cursor: not-allowed;\n }\n\n .Resizer.disabled:hover {\n border-color: transparent;\n }\n"])));aA.displayName="Root";let aE=(0,sY.ZP)(B.Zb)(g||(g=aZ(["\n border-bottom: 1px solid var(--card-border-color);\n"]))),aM=(0,sY.ZP)(B.__)(m||(m=aZ(["\n flex: 1;\n"]))),aW=(0,sY.ZP)(B.xu)(b||(b=aZ(["\n position: relative;\n"]))),aB=sY.ZP.a(y||(y=aZ(["\n cursor: pointer;\n margin-right: auto;\n"]))),aF=(0,sY.ZP)(B.xu)(v||(v=aZ(["\n position: absolute;\n top: 1rem;\n left: 0;\n padding: 0;\n margin: 0;\n z-index: 10;\n right: 0;\n\n "," {\n user-select: none;\n }\n"])),aM),aT=(0,sY.ZP)(aF)(S||(S=aZ(["\n // This is so its aligned with the gutters of CodeMirror\n left: 33px;\n"]))),aj=(0,sY.ZP)(B.Zb)(x||(x=aZ(["\n width: 100%;\n height: 100%;\n position: relative;\n flex-direction: column;\n"]))),aR=(0,sY.ZP)(B.kC)(k||(k=aZ(["\n height: 100%;\n"]))),az=(0,sY.ZP)(B.xu)(w||(w=aZ(["\n position: relative;\n"]))),a_=(0,sY.ZP)(B.Zb)(Q||(Q=aZ(["\n height: 100%;\n width: 100%;\n position: absolute;\n max-width: 100%;\n\n ","\n"])),e=>{let{$isInvalid:t}=e;return t&&(0,sY.iv)(D||(D=aZ(["\n &:after {\n background-color: var(--card-bg-color);\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n }\n "])))}),aY=(0,sY.ZP)(B.xu)(P||(P=aZ(["\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 20;\n"]))),aX=(0,sY.ZP)(B.xu)(C||(C=aZ(["\n border-top: 1px solid var(--card-border-color);\n"]))),aI=(0,sY.ZP)(B.Zb)($||($=aZ(["\n position: relative;\n"])));(0,sY.ZP)(B.xu)(Z||(Z=aZ(["\n width: 100%;\n height: 100%;\n"])));let aV=(0,sY.ZP)(B.kC)(A||(A=aZ(["\n height: 100%;\n min-height: ",";\n"])),e=>{let{theme:t}=e;return(0,B.hO)(2*t.sanity.space[3]+t.sanity.fonts.text.sizes[2].lineHeight-t.sanity.fonts.text.sizes[2].ascenderHeight-t.sanity.fonts.text.sizes[2].descenderHeight)}),aq=(0,sY.ZP)(B.xu)(E||(E=aZ(["\n border-top: 1px solid var(--card-border-color);\n"]))),aG=/\.(?:api|apicdn)\.sanity\.io\/(vX|v1|v\d{4}-\d\d-\d\d)\/.*?(?:query|listen)\/(.*?)\?(.*)/,aU=e=>(0,el.ZP)("ctrl+enter",e)||(0,el.ZP)("mod+enter",e);function aL(){return"undefined"!=typeof window&&window.innerWidth>600}function aN(e){return{defaultSize:e/(aL()?2:1),size:e>550?void 0:.4*e,allowResize:e>550,minSize:Math.min(170,Math.max(170,e/2)),maxSize:e>650?.7*e:.6*e}}class aH extends F.PureComponent{constructor(e){var t;super(e);let{client:i,datasets:n,config:r}=e;this._localStorage=function(e){let t="".concat(at).concat(e),i=null;return{get:function(e,t){let i=n();return void 0===i[e]?t:i[e]},set:function(e,r){return n()[e]=r,localStorage.setItem(t,JSON.stringify(i)),r},merge:function(e){let i={...n(),...e};return localStorage.setItem(t,JSON.stringify(i)),i}};function n(){return null===i&&(i=function(){if(!ae)return{};try{let e=JSON.parse(localStorage.getItem(t)||"{}");return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)?e:{}}catch(e){return{}}}()),i}}(i.config().projectId||"default");let o=r.defaultDataset||i.config().dataset||n[0],s="v"!==(t="".concat(r.defaultApiVersion))[0]&&"other"!==t?"v".concat(t):t,a=this._localStorage.get("dataset",o),l=this._localStorage.get("apiVersion",s),u=this._localStorage.get("query",""),c=this._localStorage.get("params","{\n \n}"),h=!sK.includes(l)&&l,d=this._localStorage.get("perspective",s4);n.includes(a)||(a=n.includes(o)?o:n[0]),sK.includes(l)||(l=s0),s6.includes(d)||(d=s4),"string"!=typeof u&&(u=""),"string"!=typeof c&&(c="{\n \n}"),this._visionRoot=(0,F.createRef)(),this._operationUrlElement=(0,F.createRef)(),this._queryEditorContainer=(0,F.createRef)(),this._paramsEditorContainer=(0,F.createRef)(),this._customApiVersionElement=(0,F.createRef)(),this._client=e.client.withConfig({apiVersion:h||l,dataset:a,perspective:d,allowReconfigure:!0});let f="undefined"!=typeof window&&"undefined"!=typeof document?document.body.getBoundingClientRect().height-60:0,p=c?an(c,this.props.t):void 0;this.state={dataset:a,apiVersion:l,customApiVersion:h,perspective:d,isValidApiVersion:!!h&&ar(h),query:u,rawParams:c,params:p,hasValidParams:!(p instanceof Error),listenMutations:[],queryInProgress:!1,listenInProgress:!1,paneSizeOptions:aN(f)},this.handleChangeDataset=this.handleChangeDataset.bind(this),this.handleChangeApiVersion=this.handleChangeApiVersion.bind(this),this.handleCustomApiVersionChange=this.handleCustomApiVersionChange.bind(this),this.handleChangePerspective=this.handleChangePerspective.bind(this),this.handleListenExecution=this.handleListenExecution.bind(this),this.handleListenerEvent=this.handleListenerEvent.bind(this),this.handleQueryExecution=this.handleQueryExecution.bind(this),this.handleQueryChange=this.handleQueryChange.bind(this),this.handleParamsChange=this.handleParamsChange.bind(this),this.handleCopyUrl=this.handleCopyUrl.bind(this),this.handlePaste=this.handlePaste.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleResize=this.handleResize.bind(this)}componentDidMount(){window.document.addEventListener("paste",this.handlePaste),window.document.addEventListener("keydown",this.handleKeyDown),this.handleResizeListen()}componentWillUnmount(){this.cancelQuery(),this.cancelListener(),this.cancelEventListener(),this.cancelResizeListener()}
1handleResizeListen(){this._visionRoot.current&&(this._resizeListener=new ai(this.handleResize),this._resizeListener.observe(this._visionRoot.current))}handleResize(e){let t=null==e?void 0:e[0];this.setState(e=>({...e,paneSizeOptions:aN(t.contentRect.height)}))}cancelResizeListener(){this._resizeListener&&this._resizeListener.disconnect()}handlePaste(e){let t,i,n;if(!e.clipboardData)return;let r=e.clipboardData.getData("text/plain").match(aG);if(!r)return;let[,o,s,a]=r;try{let e=new URLSearchParams(a);t=function(e){let t={},i={};for(let[n,r]of e.entries()){if("$"===n[0]){t[n.slice(1)]=JSON.parse(r);continue}if("perspective"===n){i[n]=r;continue}}return{query:e.get("query")||"",params:t,options:i}}(e)}catch(e){console.warn("Error while trying to parse API URL: ",e.message);return}ar(o)&&(sK.includes(o)?(i=o,n=!1):n=o);let l=s6.includes(t.options.perspective)?t.options.perspective:void 0;e.preventDefault(),this.setState(e=>({dataset:this.props.datasets.includes(s)?s:e.dataset,query:t.query,params:t.params,rawParams:JSON.stringify(t.params,null,2),apiVersion:void 0===i?e.apiVersion:i,customApiVersion:void 0===n?e.customApiVersion:n,perspective:void 0===l?e.perspective:l}),()=>{this._localStorage.merge({query:this.state.query,params:this.state.rawParams,dataset:this.state.dataset,apiVersion:n||i,perspective:this.state.perspective}),this._client.config({dataset:this.state.dataset,apiVersion:n||i,perspective:this.state.perspective}),this.handleQueryExecution(),this.props.toast.push({closable:!0,id:"vision-paste",status:"info",title:"Parsed URL to query"})})}cancelQuery(){this._querySubscription&&(this._querySubscription.unsubscribe(),this._querySubscription=void 0)}cancelListener(){this._listenSubscription&&(this._listenSubscription.unsubscribe(),this._listenSubscription=void 0)}cancelEventListener(){window.removeEventListener("keydown",this.handleKeyDown)}handleChangeDataset(e){let t=e.target.value;this._localStorage.set("dataset",t),this.setState({dataset:t}),this._client.config({dataset:t}),this.handleQueryExecution()}handleChangeApiVersion(e){let t=e.target.value;if((null==t?void 0:t.toLowerCase())==="other"){this.setState({customApiVersion:"v"},()=>{var e;null==(e=this._customApiVersionElement.current)||e.focus()});return}this.setState({apiVersion:t,customApiVersion:!1},()=>{this._localStorage.set("apiVersion",this.state.apiVersion),this._client.config({apiVersion:this.state.apiVersion}),this.handleQueryExecution()})}handleCustomApiVersionChange(e){let t=e.target.value||"",i=ar(t);this.setState(e=>({apiVersion:i?t:e.apiVersion,customApiVersion:t||"v",isValidApiVersion:i}),()=>{this.state.isValidApiVersion&&"string"==typeof this.state.customApiVersion&&(this._localStorage.set("apiVersion",this.state.customApiVersion),this._client.config({apiVersion:this.state.customApiVersion}))})}handleChangePerspective(e){let t=e.target.value;s6.includes(t)&&this.setState({perspective:t},()=>{this._localStorage.set("perspective",this.state.perspective),this._client.config({perspective:this.state.perspective}),this.handleQueryExecution()})}handleListenerEvent(e){if("mutation"!==e.type){this.props.toast.push({closable:!0,id:"vision-listen",status:"success",title:"Listening for mutationsâ¦"});return}this.setState(t=>{let{listenMutations:i}=t;return{listenMutations:50===i.length?[e,...i.slice(0,49)]:[e,...i]}})}handleKeyDown(e){var t,i;let{hasValidParams:n}=this.state,r=this._visionRoot.current&&(t=this._visionRoot.current,i=e.target,!!t&&!!i&&(t===i||!!(16&t.compareDocumentPosition(i))));aU(e)&&r&&n&&(this.handleQueryExecution(),e.preventDefault(),e.stopPropagation())}ensureSelectedApiVersion(){let{apiVersion:e,customApiVersion:t}=this.state,i=t||e;this._client.config().apiVersion!==i&&this._client.config({apiVersion:i})}handleListenExecution(){let{query:e,params:t,rawParams:i,listenInProgress:n}=this.state;if(n){this.cancelListener(),this.setState({listenInProgress:!1});return}this.ensureSelectedApiVersion();let r=t instanceof Error?t:void 0,o=this._client.getDataUrl("listen",s9(e,t instanceof Error?{}:t||{},{})),s=!r&&e.trim().length>0;this._localStorage.set("query",e),this._localStorage.set("params",i),this.cancelQuery(),this.setState({url:o,listenMutations:[],queryInProgress:!1,queryResult:void 0,listenInProgress:s,error:r,queryTime:void 0,e2eTime:void 0}),s&&(this._listenSubscription=this._client.listen(e,t,{events:["mutation","welcome"]}).subscribe({next:this.handleListenerEvent,error:t=>this.setState({error:t,query:e,listenInProgress:!1})}))}handleQueryExecution(){let{query:e,params:t,rawParams:i,queryInProgress:n}=this.state;if(n)return this.cancelQuery(),this.cancelListener(),this.setState({queryInProgress:!1}),!0;let r=t instanceof Error&&t;if(this._localStorage.set("query",e),this._localStorage.set("params",i),this.cancelListener(),this.setState({queryInProgress:!r&&!!e,listenInProgress:!1,listenMutations:[],error:r||void 0,queryResult:void 0,queryTime:void 0,e2eTime:void 0}),!e||r)return!0;this.ensureSelectedApiVersion();let o={};"raw"!==this.state.perspective&&(o.perspective=this.state.perspective);let s=this._client.getUrl(this._client.getDataUrl("query",s9(e,t,o)));this.setState({url:s});let a=Date.now();return this._querySubscription=this._client.observable.fetch(e,t,{filterResponse:!1,tag:"vision"}).subscribe({next:e=>this.setState({queryTime:e.ms,e2eTime:Date.now()-a,queryResult:e.result,queryInProgress:!1,error:void 0}),error:t=>this.setState({error:t,query:e,queryInProgress:!1})}),!0}handleQueryChange(e){this.setState({query:e})}handleParamsChange(e){let{raw:t,parsed:i,valid:n,error:r}=e;this.setState({rawParams:t,params:i,hasValidParams:n,paramsError:r},()=>this._localStorage.set("params",t))}handleCopyUrl(){let e=this._operationUrlElement.current;if(e)try{e.select(),document.execCommand("copy"),this.props.toast.push({closable:!0,title:"Copied to clipboard",status:"info",id:"vision-copy"})}catch(e){console.error("Unable to copy to clipboard :(")}}render(){let{datasets:e,t}=this.props,{apiVersion:i,customApiVersion:n,dataset:r,e2eTime:o,error:s,hasValidParams:a,isValidApiVersion:l,listenInProgress:u,listenMutations:c,paneSizeOptions:h,paramsError:d,perspective:f,query:p,queryInProgress:O,queryResult:g,queryTime:m,rawParams:b,url:y}=this.state,v=!s&&!O&&void 0!==g;return(0,M.jsxs)(aA,{direction:"column",height:"fill",ref:this._visionRo
1ot,sizing:"border",overflow:"hidden",children:[(0,M.jsx)(aE,{paddingX:3,paddingY:2,children:(0,M.jsxs)(B.rj,{columns:[1,4,8,12],children:[(0,M.jsx)(B.xu,{padding:1,column:2,children:(0,M.jsxs)(B.Kq,{children:[(0,M.jsx)(B.Zb,{paddingTop:2,paddingBottom:3,children:(0,M.jsx)(aM,{children:t("settings.dataset-label")})}),(0,M.jsx)(B.Ph,{value:r,onChange:this.handleChangeDataset,children:e.map(e=>(0,M.jsx)("option",{children:e},e))})]})}),(0,M.jsx)(B.xu,{padding:1,column:2,children:(0,M.jsxs)(B.Kq,{children:[(0,M.jsx)(B.Zb,{paddingTop:2,paddingBottom:3,children:(0,M.jsx)(aM,{children:t("settings.api-version-label")})}),(0,M.jsxs)(B.Ph,{value:!1===n?i:"other",onChange:this.handleChangeApiVersion,children:[sK.map(e=>(0,M.jsx)("option",{children:e},e)),(0,M.jsx)("option",{value:"other",children:t("settings.other-api-version-label")},"other")]})]})}),!1!==n&&(0,M.jsx)(B.xu,{padding:1,column:2,children:(0,M.jsxs)(B.Kq,{children:[(0,M.jsx)(B.Zb,{paddingTop:2,paddingBottom:3,children:(0,M.jsx)(aM,{textOverflow:"ellipsis",children:t("settings.custom-api-version-label")})}),(0,M.jsx)(B.oi,{ref:this._customApiVersionElement,value:n,onChange:this.handleCustomApiVersionChange,customValidity:l?void 0:t("settings.error.invalid-api-version"),maxLength:11})]})}),(0,M.jsx)(B.xu,{padding:1,column:2,children:(0,M.jsxs)(B.Kq,{children:[(0,M.jsx)(B.Zb,{paddingBottom:1,children:(0,M.jsxs)(B.gF,{space:1,children:[(0,M.jsx)(B.xu,{children:(0,M.jsx)(aM,{children:t("settings.perspective-label")})}),(0,M.jsx)(B.xu,{children:(0,M.jsx)(ad,{})})]})}),(0,M.jsx)(B.Ph,{value:f,onChange:this.handleChangePerspective,children:s6.map(e=>(0,M.jsx)("option",{children:e},e))})]})}),"string"==typeof y?(0,M.jsx)(B.xu,{padding:1,flex:1,column:!1===n?6:4,children:(0,M.jsxs)(B.Kq,{children:[(0,M.jsx)(B.Zb,{paddingTop:2,paddingBottom:3,children:(0,M.jsxs)(aM,{children:[t("query.url"),"\xa0",(0,M.jsxs)(aB,{onClick:this.handleCopyUrl,children:["[",t("action.copy-url-to-clipboard"),"]"]})]})}),(0,M.jsxs)(B.kC,{flex:1,gap:1,children:[(0,M.jsx)(B.xu,{flex:1,children:(0,M.jsx)(B.oi,{readOnly:!0,type:"url",ref:this._operationUrlElement,value:y})}),(0,M.jsx)(B.u,{content:t("action.copy-url-to-clipboard"),children:(0,M.jsx)(B.zx,{"aria-label":t("action.copy-url-to-clipboard"),type:"button",mode:"ghost",icon:ea.TIy,onClick:this.handleCopyUrl})})]})]})}):(0,M.jsx)(B.xu,{flex:1})]})}),(0,M.jsx)(aW,{flex:"auto",children:(0,M.jsxs)(es,{split:aL()?"vertical":"horizontal",minSize:280,defaultSize:400,maxSize:-400,children:[(0,M.jsx)(B.xu,{height:"stretch",flex:1,children:(0,M.jsxs)(es,{className:"sidebarPanes",split:"horizontal",defaultSize:aL()?h.defaultSize:h.minSize,size:h.size,allowResize:h.allowResize,minSize:aL()?h.minSize:100,maxSize:h.maxSize,primary:"first",children:[(0,M.jsx)(aj,{display:"flex",ref:this._queryEditorContainer,children:(0,M.jsxs)(B.xu,{flex:1,children:[(0,M.jsx)(aT,{children:(0,M.jsx)(B.kC,{children:(0,M.jsx)(aM,{muted:!0,children:t("query.label")})})}),(0,M.jsx)(s8,{value:p,onChange:this.handleQueryChange})]})}),(0,M.jsxs)(aj,{display:"flex",ref:this._paramsEditorContainer,children:[(0,M.jsxs)(B.Zb,{flex:1,tone:a?"default":"critical",children:[(0,M.jsx)(aT,{children:(0,M.jsxs)(B.kC,{children:[(0,M.jsx)(aM,{muted:!0,children:t("params.label")}),d&&(0,M.jsx)(B.u,{placement:"top-end",portal:!0,content:d,children:(0,M.jsx)(B.xu,{padding:1,marginX:2,children:(0,M.jsx)(B.xv,{children:(0,M.jsx)(ea.uIy,{})})})})]})}),(0,M.jsx)(ao,{value:b,onChange:this.handleParamsChange})]}),(0,M.jsx)(aq,{children:(0,M.jsx)(B.Zb,{padding:3,paddingX:3,children:(0,M.jsx)(B.u,{content:(0,M.jsx)(B.Zb,{radius:4,children:(0,M.jsx)(B.xv,{size:1,muted:!0,children:t("params.error.params-invalid-json")})}),placement:"top",disabled:a,portal:!0,children:(0,M.jsxs)(B.kC,{justify:"space-evenly",children:[(0,M.jsx)(B.xu,{flex:1,children:(0,M.jsx)(B.u,{content:(0,M.jsx)(B.Zb,{radius:4,children:(0,M.jsx)(B.p8,{keys:["Ctrl","Enter"]})}),placement:"top",portal:!0,children:(0,M.jsx)(B.zx,{width:"fill",onClick:this.handleQueryExecution,type:"button",icon:O?ea.wNq:ea.o1U,disabled:u||!a,tone:O?"positive":"primary",text:t(O?"action.query-cancel":"action.query-execute")})})}),(0,M.jsx)(B.xu,{flex:1,marginLeft:3,children:(0,M.jsx)(B.zx,{width:"fill",onClick:this.handleListenExecution,type:"button",icon:u?ea.wNq:ea.o1U,text:t(u?"action.listen-cancel":"action.listen-execute"),mode:"ghost",disabled:!a,tone:u?"positive":"default"})})]})})})})]})]})}),(0,M.jsxs)(aR,{direction:"column",children:[(0,M.jsx)(az,{flex:1,children:(0,M.jsx)(a_,{flex:1,overflow:"hidden",tone:s?"critical":"default",$isInvalid:!!s,children:(0,M.jsxs)(aY,{overflow:"auto",children:[(0,M.jsx)(aF,{children:(0,M.jsx)(B.xu,{marginLeft:3,children:(0,M.jsx)(aM,{muted:!0,children:t("result.label")})})}),(0,M.jsxs)(B.xu,{padding:3,paddingTop:5,children:[(O||u&&0===c.length)&&(0,M.jsx)(B.xu,{marginTop:3,children:(0,M.jsx)(s1,{})}),s&&(0,M.jsx)(am,{error:s}),v&&(0,M.jsx)(ak,{data:g}),u&&c.length>0&&(0,M.jsx)(ak,{data:c})]})]})})}),(0,M.jsx)(aX,{children:(0,M.jsx)(aI,{paddingX:4,paddingY:3,sizing:"border",children:(0,M.jsxs)(aV,{align:"center",children:[(0,M.jsx)(B.xu,{children:(0,M.jsxs)(B.xv,{muted:!0,children:[t("result.execution-time-label"),":"," ","number"==typeof m?"".concat(m,"ms"):t("result.timing-not-applicable")]})}),(0,M.jsx)(B.xu,{marginLeft:4,children:(0,M.jsxs)(B.xv,{muted:!0,children:[t("result.end-to-e
1nd-time-label"),":"," ","number"==typeof o?"".concat(o,"ms"):t("result.timing-not-applicable")]})})]})})})]})]})})]})}}function aJ(e){let t=(0,B.pm)(),i=function(e){let t=e.config().projectId,[i,n]=(0,F.useState)();return(0,F.useEffect)(()=>{let t=e.observable.datasets.list().subscribe({next:e=>n(e.map(e=>e.name)),error:e=>n(e)});return()=>t.unsubscribe()},[e,t]),i||void 0}(e.client),{t:n}=(0,W.$G7)(sU.o);if(!i)return(0,M.jsx)(s1,{});let r=i instanceof Error?[e.client.config().dataset||"production"]:i;return(0,M.jsx)(aH,{...e,datasets:r,toast:t,t:n})}class aK extends F.Component{constructor(e){super(e),this.handleRetryRender=()=>this.setState(e=>({error:null,numRetries:e.numRetries+1})),this.handleRetryWithCacheClear=()=>{(function(){if(ae)for(let e=0;e<localStorage.length;e++){let t=localStorage.key(e);(null==t?void 0:t.startsWith(at))&&localStorage.removeItem(t)}})(),this.handleRetryRender()},this.state={error:null,numRetries:0}}static getDerivedStateFromError(e){return{error:e instanceof Error?e.message:"".concat(e)}}render(){if(!this.state.error)return this.props.children;let e=this.state.error,t=this.state.numRetries>0;return(0,M.jsx)(B.Zb,{height:"fill",overflow:"auto",paddingY:[4,5,6,7],paddingX:4,sizing:"border",tone:"critical",children:(0,M.jsx)(B.W2,{width:3,children:(0,M.jsxs)(B.Kq,{space:4,children:[(0,M.jsx)("div",{children:(0,M.jsx)(B.zx,{onClick:t?this.handleRetryWithCacheClear:this.handleRetryRender,text:t?"Clear cache and retry":"Retry",tone:"default"})}),(0,M.jsx)(B.X6,{children:"An error occured"}),(0,M.jsx)(B.Zb,{border:!0,radius:2,overflow:"auto",padding:4,tone:"inherit",children:(0,M.jsx)(B.Kq,{space:4,children:e&&(0,M.jsx)(B.EK,{size:1,children:(0,M.jsxs)("strong",{children:["Error: ",e]})})})})]})})})}}function a0(e){let t=(0,W.m85)({apiVersion:"1"}),i={defaultApiVersion:s0,...e.tool.options};return(0,M.jsx)(aK,{children:(0,M.jsx)(aJ,{client:t,config:i})})}},90637:function(e,t,i){"use strict";i.d(t,{BA:function(){return em},aQ:function(){return f},fi:function(){return eO}});var n=i(79164);let r={avatar:{sizes:[{distance:-4,size:19},{distance:-4,size:25},{distance:-8,size:33},{distance:-12,size:49}],focusRing:{offset:1,width:1}},button:{textWeight:"medium",border:{width:1},focusRing:{offset:-1,width:1}},card:{border:{width:1},focusRing:{offset:-1,width:1},shadow:{outline:.5}},container:[320,640,960,1280,1600,1920],media:[360,600,900,1200,1800,2400],layer:{dialog:{zOffset:600},popover:{zOffset:400},tooltip:{zOffset:200}},radius:[0,1,3,6,9,12,21],shadow:[null,{umbra:[0,0,0,0],penumbra:[0,0,0,0],ambient:[0,0,0,0]},{umbra:[0,3,5,-2],penumbra:[0,6,10,0],ambient:[0,1,18,1]},{umbra:[0,7,8,-4],penumbra:[0,12,17,2],ambient:[0,5,22,4]},{umbra:[0,9,11,-5],penumbra:[0,18,28,2],ambient:[0,7,34,6]},{umbra:[0,11,15,-7],penumbra:[0,24,38,3],ambient:[0,9,46,8]}],space:[0,4,8,12,20,32,52,84,136,220],input:{border:{width:1},checkbox:{size:17,focusRing:{offset:-1,width:1}},radio:{size:17,markSize:9,focusRing:{offset:-1,width:1}},switch:{width:25,height:17,padding:5,transitionDurationMs:150,transitionTimingFunction:"ease-out",focusRing:{offset:1,width:1}},select:{focusRing:{offset:-1,width:1}},text:{focusRing:{offset:-1,width:1}}},style:{button:{root:{transition:"background-color 100ms,border-color 100ms,color 100ms"}}}},o={code:{family:"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:19,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:22,iconSize:33,lineHeight:31,letterSpacing:0}]},heading:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:700,medium:800,semibold:900,bold:900},sizes:[{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:17,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:21,iconSize:33,lineHeight:29,letterSpacing:0}
1,{ascenderHeight:8,descenderHeight:8,fontSize:27,iconSize:41,lineHeight:35,letterSpacing:0},{ascenderHeight:9.5,descenderHeight:8.5,fontSize:33,iconSize:49,lineHeight:41,letterSpacing:0},{ascenderHeight:10.5,descenderHeight:9.5,fontSize:38,iconSize:53,lineHeight:47,letterSpacing:0}]},label:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", system-ui, sans-serif',weights:{regular:600,medium:700,semibold:800,bold:900},sizes:[{ascenderHeight:2,descenderHeight:2,fontSize:8.1,iconSize:13,lineHeight:10,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:9.5,iconSize:15,lineHeight:11,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:10.8,iconSize:17,lineHeight:12,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:12.25,iconSize:19,lineHeight:13,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:13.6,iconSize:21,lineHeight:14,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:15,iconSize:23,lineHeight:15,letterSpacing:.5}]},text:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:15,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:18,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:21,iconSize:33,lineHeight:31,letterSpacing:0}]}},s=new WeakMap;function a(e){var t,i,n;let r=s.get(e);if(r)return r;let o=u(e,e.card.enabled),a={_blend:e._blend||(e.dark?"screen":"multiply"),_dark:e.dark,accent:o.accent,avatar:o.avatar,backdrop:e.base.shadow.ambient,badge:o.badge,bg:e.base.bg,border:e.base.border,button:{default:l(e,e.button.default),ghost:l(e,e.button.ghost),bleed:l(e,e.button.bleed)},code:o.code,fg:e.base.fg,focusRing:e.base.focusRing,icon:o.muted.fg,input:{default:c(e.input.default),invalid:c(e.input.invalid)},kbd:o.kbd,link:o.link,muted:{...o.muted,bg:(null==(t=e.selectable)?void 0:t.default.enabled.bg2)||e.base.bg},selectable:l(e,e.selectable||e.muted),shadow:e.base.shadow,skeleton:{from:(null==(i=e.skeleton)?void 0:i.from)||e.base.border,to:(null==(n=e.skeleton)?void 0:n.to)||e.base.border},syntax:e.syntax};return s.set(e,a),a}function l(e,t){return{default:{enabled:u(e,t.default.enabled),hovered:u(e,t.default.hovered),pressed:u(e,t.default.pressed),selected:u(e,t.default.selected),disabled:u(e,t.default.disabled)},primary:{enabled:u(e,t.primary.enabled),hovered:u(e,t.primary.hovered),pressed:u(e,t.primary.pressed),selected:u(e,t.primary.selected),disabled:u(e,t.primary.disabled)},positive:{enabled:u(e,t.positive.enabled),hovered:u(e,t.positive.hovered),pressed:u(e,t.positive.pressed),selected:u(e,t.positive.selected),disabled:u(e,t.positive.disabled)},caution:{enabled:u(e,t.caution.enabled),hovered:u(e,t.caution.hovered),pressed:u(e,t.caution.pressed),selected:u(e,t.caution.selected),disabled:u(e,t.caution.disabled)},critical:{enabled:u(e,t.critical.enabled),hovered:u(e,t.critical.hovered),pressed:u(e,t.critical.pressed),selected:u(e,t.critical.selected),disabled:u(e,t.critical.disabled)}}}function u(e,t){var i,n;return{...t,avatar:{gray:{bg:e.spot.gray,fg:e.base.bg},blue:{bg:e.spot.blue,fg:e.base.bg},purple:{bg:e.spot.purple,fg:e.base.bg},magenta:{bg:e.spot.magenta,fg:e.base.bg},red:{bg:e.spot.red,fg:e.base.bg},orange:{bg:e.spot.orange,fg:e.base.bg},yellow:{bg:e.spot.yellow,fg:e.base.bg},green:{bg:e.spot.green,fg:e.base.bg},cyan:{bg:e.spot.cyan,fg:e.base.bg}},badge:{default:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,dot:e.muted.default.enabled.muted.fg,icon:e.muted.default.enabled.muted.fg},primary:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},positive:{bg:e.muted.positive.enabled.bg,fg:e.muted.positive.enabled.fg,dot:e.muted.positive.enabled.muted.fg,icon:e.muted.positive.enabled.muted.fg},caution:{bg:e.muted.caution.enabled.bg,fg:e.muted.caution.enabled.fg,dot:e.muted.caution.enabled.muted.fg,icon:e.muted.caution.enabled.muted.fg}
1,critical:{bg:e.muted.critical.enabled.bg,fg:e.muted.critical.enabled.fg,dot:e.muted.critical.enabled.muted.fg,icon:e.muted.critical.enabled.muted.fg}},kbd:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,border:e.muted.default.enabled.border},muted:{...e.muted.default.enabled.muted,bg:t.bg2||t.bg},skeleton:{from:(null==(i=t.skeleton)?void 0:i.from)||t.border,to:(null==(n=t.skeleton)?void 0:n.to)||t.border}}}function c(e){return{enabled:h(e.enabled),disabled:h(e.disabled),readOnly:h(e.readOnly),hovered:h(e.hovered)}}function h(e){return{bg:e.bg,border:e.border,fg:e.fg,muted:{bg:e.bg2},placeholder:e.placeholder}}let d=new WeakMap;function f(e){var t,i;if(null!=(t=e.sanity.v2)&&t._resolved)return e.sanity.v2;let n=d.get(e);if(n)return n;let o={_version:2,_resolved:!0,avatar:{...r.avatar,...e.sanity.avatar},button:{...r.button,...e.sanity.button},card:r.card,color:a(e.sanity.color),container:e.sanity.container,font:e.sanity.fonts,input:{...r.input,...e.sanity.input,checkbox:{...r.input.checkbox,...e.sanity.input.checkbox},radio:{...r.input.radio,...e.sanity.input.radio},switch:{...r.input.switch,...e.sanity.input.switch}},layer:null!=(i=e.sanity.layer)?i:r.layer,media:e.sanity.media,radius:e.sanity.radius,shadow:e.sanity.shadows,space:e.sanity.space,style:e.sanity.styles};return d.set(e,o),o}function p(e){return 2===e._version}let O=new WeakMap,g=new WeakMap;function m(e){let t=g.get(e);if(t)return t;let{avatar:i,button:n,color:r,container:o,font:s,input:a,media:l,radius:u,shadow:c,space:h,style:d}=e;return{_version:0,avatar:i,button:n,container:o,color:{light:{transparent:b(r.light.transparent),default:b(r.light.default),primary:b(r.light.primary),positive:b(r.light.positive),caution:b(r.light.caution),critical:b(r.light.critical)},dark:{transparent:b(r.dark.transparent),default:b(r.dark.default),primary:b(r.dark.primary),positive:b(r.dark.positive),caution:b(r.dark.caution),critical:b(r.dark.critical)}},focusRing:a.text.focusRing,fonts:s,input:a,media:l,radius:u,shadows:c,space:h,styles:d,v2:e}}function b(e){return{base:{bg:e.bg,fg:e.fg,border:e.border,focusRing:e.focu
1sRing,shadow:e.shadow},button:e.button,card:e.selectable.default,dark:e._dark,input:{default:y(e.input.default),invalid:y(e.input.invalid)},muted:{...e.button.ghost,transparent:e.button.ghost.default},solid:{...e.button.default,transparent:e.button.default.default},selectable:e.selectable,spot:{gray:e.avatar.gray.bg,blue:e.avatar.blue.bg,purple:e.avatar.purple.bg,magenta:e.avatar.magenta.bg,red:e.avatar.red.bg,orange:e.avatar.orange.bg,yellow:e.avatar.yellow.bg,green:e.avatar.green.bg,cyan:e.avatar.cyan.bg},syntax:e.syntax}}function y(e){return{enabled:v(e.enabled),disabled:v(e.disabled),readOnly:v(e.readOnly),hovered:v(e.hovered)}}function v(e){return{bg:e.bg,bg2:e.muted.bg,border:e.border,fg:e.fg,placeholder:e.placeholder}}let S=["multiply","screen"],x=["transparent","default","primary","positive","caution","critical"],k=["default","primary","positive","caution","critical"],w=["enabled","hovered","pressed","selected","disabled"],D=["default","ghost","bleed"],Q=["default","invalid"],P=["enabled","hovered","readOnly","disabled"];function C(e){return n.EZ.includes(e)}function $(e){return/^\d+%$/.test(e)}function Z(e){let t=e.split("/"),i=t.shift()||"",[r,o]=i.split(" ");if(C(r)){let e=t.shift()||"";return $(o)?{type:"color",tint:r,mix:Number(o.slice(0,-1))/100}:A(e)?{type:"color",tint:r,opacity:Number(e)}:{type:"color",tint:r}}if("black"===r||"white"===r){let e=t.shift()||"";return $(o)?{type:"color",key:r,mix:Number(o.slice(0,-1))/100}:A(e)?{type:"color",key:r,opacity:Number(e)}:{type:"color",key:r}}if(n.mE.includes(r)){let[e,n]=(i=t.shift()||"").split(" ");if(C(e)){let i=t.shift()||"";return $(n)?{type:"color",hue:r,tint:e,mix:Number(n.slice(0,-1))/100}:A(i)?{type:"color",hue:r,tint:e,opacity:Number(i)}:{type:"color",hue:r,tint:e}}return{type:"hue",value:r}}if(S.includes(r))return{type:"blendMode",value:r}}function A(e){return"0"===e||/^0\.[0-9]+$/.test(e)||"1"===e}[...n.mE],[...x],[...k],[...w],[...Q],[...P];let E=["500","500"];function M(e,t=E){var i;let n;let{hue:r,scheme:o}=e,s=Z(t["light"===o?0:1]);if(!s||"color"!==s.type)throw Error(`Invalid color token: ${t[0]}`);return i={...s,hue:s.hue||r},n="",n="black"===i.key||"white"===i.key?i.key:`${i.hue}/${i.tint}`,void 0!==i.mix?`${n} ${100*i.mix}%`:(void 0!==i.opacity&&(n+=`/${i.opacity}`),n)}let W={base:{"*":{_blend:["multiply","screen"],accent:{fg:["purple/600","purple/400"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},backdrop:["gray/200/0.5","black/0.5"],badge:{"*":{bg:["100","900"],fg:["600","400"],icon:["500","500"],dot:["500","500"]},positive:{bg:["200 50%","900"],fg:["600","500"]},caution:{bg:["200 50%","900"],fg:["600","500"]}},bg:["50","950"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["800","200"],focusRing:["blue/500","blue/500"],icon:["600","400"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/600","blue/300"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},shadow:{outline:["500/0.3","500/0.4"],umbra:["gray/500/0.1","black/0.2"],penumbra:["gray/500/0.07","black/0.14"],ambient:["gray/500/0.06","black/0.12"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},transparent:{bg:["50","black"]},default:{bg:["white","950"],fg:["800","200"],muted:{fg:["600","400"]}},primary:{_hue:"blue"},positive:{_hue:"green",shadow:{outline:["500/0.4","500/0.4"]}},caution:{_hue:"yellow",shadow:{outline:["600/0.3","500/0.4"]}},critical:{_hue:"red"}},button:{default:{"*":{"*":{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["multiply","screen"],bg:["white","black"],fg:["black","white"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500/0","400/0"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["950","50"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},hovered:{bg:["700","300"],border:["700/0","300/0"]},pressed:{bg:["700","300"]},selected:{bg:["700","300"]},disabled:{_hue:"gray",accent:{fg:["100 70%","900 70%"]},badge:{"*":{bg:["gray/700","gray/300"],fg:["white","black"],dot:["white","black"],icon:["white","black"]}},bg:["200","800"],kbd:{bg:["black","white"],fg:["white","black"],border:["700","300"]},link:{fg:["100 70%","900 70%"]}}},default:{"*":{bg:["800","200"],muted:{bg:["950","50"],fg:["400","600"]}},hovered:{bg:["900","100"]},pressed:{bg:["black","white"]},selected:{bg:["black","white"]}}},ghost:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 60%","purple/300 70%"]},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["50","950"],border:["100","900"],code:{bg:["500 10%","400 10%"],fg:["700 60%","400 60%"]},fg:["600","400"],icon:["700 60%","300 60%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 60%","blue/300 60%"]},muted:{bg:["100","950"],fg:["700 60%","300 60%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["100","900"],fg:["700","300"]},pressed:{bg:["100","900"],fg:["800","200"]},selected:{bg:["100","900"],fg:["800","200"]},disabled:{_hue:"gray",accent:{fg:["200","800"]}
1,badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["200","800"],icon:["200","800"],kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]},muted:{fg:["200","800"]}}},positive:{"*":{border:["600 20%","800"]}},caution:{"*":{border:["600 20%","800"]}}},bleed:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["white/0","black/0"],code:{bg:["50","950"],fg:["700 75%","300 75%"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["700","300"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["100","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","950"],icon:["700 70%","400 70%"]},pressed:{bg:["100","900"],fg:["800","200"],icon:["800 70%","200 70%"]},selected:{bg:["100","900"],fg:["800","200"],icon:["800 60%","200 60%"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},code:{bg:["50","950"],fg:["200","800"]},fg:["200","800"],icon:["200","800"],kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]},muted:{fg:["200","800"]}}}}},input:{"*":{"*":{_blend:["multiply","screen"],bg:["white","black"],border:["200","800"],fg:["black","200"],muted:{bg:["50","950"]},placeholder:["400","600 50%"]},hovered:{border:["300","700"]},readOnly:{bg:["50","950"],border:["200","800"],fg:["800","200"]},disabled:{fg:["200","800"],border:["100","900"]}},invalid:{"*":{_hue:"red",bg:["100","950"]}}},selectable:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["100","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","950"]},pressed:{bg:["100","900"]},selected:{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["multiply","screen"],bg:["white","black"],fg:["black","white"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500 20%","400 20%"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["950","50"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},disabled:{_hue:"gray",accent:{fg:["200","800"]},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["200","800"],icon:["200","800"],kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]},muted:{fg:["200","800"]}}},default:{selected:{_hue:"blue"}},critical:{disabled:{bg:["50 50%","950 50%"]}}},syntax:{atrule:["purple/600","purple/400"],attrName:["green/600","green/400"],attrValue:["yellow/600","yellow/400"],attribute:["yellow/600","yellow/400"],boolean:["purple/600","purple/400"],builtin:["purple/600","purple/400"],cdata:["yellow/600","yellow/400"],char:["yellow/600","yellow/400"],class:["orange/600","orange/400"],className:["cyan/600","cyan/400"],comment:["gray/400","gray/600"],constant:["purple/600","purple/400"],deleted:["red/600","red/400"],entity:["red/600","red/400"],function:["green/600","green/400"],hexcode:["blue/600","blue/400"],id:["purple/600","purple/400"],important:["purple/600","purple/400"],inserted:["yellow/600","yellow/400"],keyword:["magenta/600","magenta/400"],number:["purple/600","purple/400"],operator:["magenta/600","magenta/400"],property:["blue/600","blue/400"],pseudoClass:["yellow/600","yellow/400"],pseudoElement:["yellow/600","yellow/400"],punctuation:["gray/600","gray/400"],regex:["blue/600","blue/400"],selector:["red/600","red/400"],string:["yellow/600","yellow/400"],symbol:["purple/600","purple/400"],tag:["red/600","red/400"],unit:["orange/600","orange/400"],url:["red/600","red/400"],variable:["red/600","red/400"]}};function B(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}function F(...e){let t=e.filter(Boolean);return 0===t.length?{}:t.reduce(T,{})}function T(e,t){for(let i of Object.keys(t)){let n=e[i],r=t[i];B(n)&&B(r)?e[i]=F(n,r):e[i]=r}return e}function j(e,t){let{scheme:i}=e;return{transparent:R({scheme:i,tone:"transparent"},t),default:R({scheme:i,tone:"default"},t),primary:R({scheme:i,tone:"primary"},t),positive:R({scheme:i,tone:"positive"},t),caution:R({scheme:i,tone:"caution"},t),critical:R({scheme:i,tone:"critical"},t)}}function R(e,t){var i,n,r,o,s,a,l,u,c,h,d,f,p;let{scheme:O,tone:g}=e,m=null==(n=null==(i=null==t?void 0:t.color)?void 0:i.base)?void 0:n[g],b={hue:(null==m?void 0:m._hue)||"gray",scheme:O};return{_blend:((null==m?void 0:m._blend)||["multiply","screen"])["light"===O?0:1],_dark:"dark"===O,accent:{fg:M(b,null==(r=null==m?void 0:m.accent)?void 0:r.fg)},avatar:z({scheme:O},m),backdrop:M(b,null==m?void 0:m.backdrop),badge:Y(null==m?void 0:m.badge,{scheme:O},t),bg:M(b,null==m?void 0:m.bg),border:M(b,null==m?void 0:m.border),button:function(e,t){let{scheme:i}=e,n={};for(let e of D)n[e]=function(e,t){let{mode:i,scheme:n}=e,r={};for(let e of k)r[e]=function(e,t){let{mode:i,scheme:n,tone:r}=e,o={};for(let e of w)o[e]=function(e,t){var i,n,r,o,s,a,l,u,c,h,d,f,p,O,g;let{mode:m,tone:b,scheme:y,state:v}=e,S=null==(o=null==(r=null==(n=null==(i=null==t?void 0:t.color)?void 0:i.button)?void 0:n[m])?void 0:r[b])?void 0:o[v],x=(null==S?void 0:S._hue)||"gray",k=(null==S?void 0:S._blend)||["screen","multiply"],w={hue:x,scheme:y};return{_blend:k["light"===y?0:1],accent:{fg:M(w,null==(s=null==S?void 0:S.accent)?void 0:s.fg)},avatar:z({scheme:y},S),badge:Y(null==S?void 0:S.badge,{scheme:y},t),bg:M(w,null==S?void 0:S.bg),border:M(w,null==S?void 0:S.border),code:{bg:M(w,null==(a=null==S?void 0:S.code)?void 0:a.bg),fg:M(w,null==(l=null==S?void 0:S.code)?void 0:l.fg)},fg:M(w,null==S?void 0:S.fg),icon:M(w,null==S?void 0:S.icon),muted:{bg:M(w,null==(u=null==S?void 0:S.muted)?void 0:u.bg),fg:M(w,null==(c=null==S?void 0:S.muted)?void 0:c.fg)},kbd:{bg:M(w,null==(h=null==S?void 0:S.kbd)?void 0:h.bg),fg:M(w,null==(d=null==S?void 0:S.kbd)?void 0:d.fg),border:M(w,null==(f=null==S?void 0:S.kbd)?void 0:f.border)},link:{fg:M(w,null==(p=null==S?void 0:S.link)?void 0:p.fg)},skeleton:{from:M(w,null==(O=null==S?void 0:S.skeleton)?void 0:O.from),to:M(w,null==(g=null==S?void 0:S.skeleton)?void 0:g.to)}}}({mode:i,tone:r,scheme:n,state:e},t);return o}({mode:i,scheme:n,tone:e},t);return r}({scheme:i,mode:e},t);return n}({scheme:O},t),code:{bg:M(b,null==(o=null==m?void 0:m.code)?void 0:o.bg),fg:M(b,null==(s=null==m?void 0:m.code)?void 0:s.fg)},fg:M(b,null==m?void 0:m.fg),focusRing:M(b,null==m?void 0:m.focusRing),icon:M(b,null==m?void 0:m.icon),input:function(e,t){let{scheme:i,tone:n}=e;return{default:I({mode:"default",scheme:i,tone:n},t),invalid:I({mode:"invalid",scheme:i,tone:n},t)}}({scheme:O,tone:g},t),kbd:{bg:M(b,null==(a=null==m?void 0:m.kbd)?void 0:a.bg),fg:M(b,null==(l=null==m?void 0:m.kbd)?void 0:l.fg),border:M(b,null==(u=null==m?void 0:m.kbd)?void 0:u.border)},link:{fg:M(b,null==(c=null==m?void 0:m.link)?void 0:c.fg)},muted:{bg:M(b,null==(h=null==m?void 0:m.muted)?void 0:h.bg),fg:M(b,null==(d=null==m?void 0:m.muted)?void 0:d.fg)},selectable:function(e,t){let{scheme:i}=e,n={};for(let e of k)n[e]=function(e,t){let{scheme:i,tone:n}=e,r={};for(let e of w)r[e]=function(e,t){var i,n,r,o,s,a,l,u,c,h,d,f,p,O;let{scheme:g,state:m,tone:b}=e,y=null==(r=null==(n=null==(i=null==t?void 0:t.color)?void 0:i.selectable)?void 0:n[b])?void 0:r[m],v=(null==y?void 0:y._hue)||"gray",S=(null==y?void 0:y._blend)||["screen","multiply"],x={hue:v,sc
1heme:g};return{_blend:S["light"===g?0:1],accent:{fg:M(x,null==(o=null==y?void 0:y.accent)?void 0:o.fg)},avatar:z({scheme:g},y),badge:Y(null==y?void 0:y.badge,{scheme:g},t),bg:M(x,null==y?void 0:y.bg),border:M(x,null==y?void 0:y.border),code:{bg:M(x,null==(s=null==y?void 0:y.code)?void 0:s.bg),fg:M(x,null==(a=null==y?void 0:y.code)?void 0:a.fg)},fg:M(x,null==y?void 0:y.fg),icon:M(x,null==y?void 0:y.icon),muted:{bg:M(x,null==(l=null==y?void 0:y.muted)?void 0:l.bg),fg:M(x,null==(u=null==y?void 0:y.muted)?void 0:u.fg)},kbd:{bg:M(x,null==(c=null==y?void 0:y.kbd)?void 0:c.bg),fg:M(x,null==(h=null==y?void 0:y.kbd)?void 0:h.fg),border:M(x,null==(d=null==y?void 0:y.kbd)?void 0:d.border)},link:{fg:M(x,null==(f=null==y?void 0:y.link)?void 0:f.fg)},skeleton:{from:M(x,null==(p=null==y?void 0:y.skeleton)?void 0:p.from),to:M(x,null==(O=null==y?void 0:y.skeleton)?void 0:O.to)}}}({tone:n,scheme:i,state:e},t);return r}({scheme:i,tone:e},t);return n}({scheme:O},t),shadow:function(e,t){var i,n,r,o,s,a;let{scheme:l,tone:u}=e,c=null==(n=null==(i=null==t?void 0:t.color)?void 0:i.base)?void 0:n[u],h={hue:(null==c?void 0:c._hue)||"gray",scheme:l};return{outline:M(h,null==(r=null==c?void 0:c.shadow)?void 0:r.outline),umbra:M(h,null==(o=null==c?void 0:c.shadow)?void 0:o.umbra),penumbra:M(h,null==(s=null==c?void 0:c.shadow)?void 0:s.penumbra),ambient:M(h,null==(a=null==c?void 0:c.shadow)?void 0:a.ambient)}}({scheme:O,tone:g},t),skeleton:{from:M(b,null==(f=null==m?void 0:m.skeleton)?void 0:f.from),to:M(b,null==(p=null==m?void 0:m.skeleton)?void 0:p.to)},syntax:function(e,t){var i;let{scheme:n}=e,r=null==(i=null==t?void 0:t.color)?void 0:i.syntax,o={hue:"gray",scheme:n};return{atrule:M(o,null==r?void 0:r.atrule),attrName:M(o,null==r?void 0:r.attrName),attrValue:M(o,null==r?void 0:r.attrValue),attribute:M(o,null==r?void 0:r.attribute),boolean:M(o,null==r?void 0:r.boolean),builtin:M(o,null==r?void 0:r.builtin),cdata:M(o,null==r?void 0:r.cdata),char:M(o,null==r?void 0:r.char),class:M(o,null==r?void 0:r.class),className:M(o,null==r?void 0:r.className),comment:M(o,null==r?void 0:r.comment),constant:M(o,null==r?void 0:r.constant),deleted:M(o,null==r?void 0:r.deleted),doctype:M(o,null==r?void 0:r.doctype),entity:M(o,null==r?void 0:r.entity),function:M(o,null==r?void 0:r.function),hexcode:M(o,null==r?void 0:r.hexcode),id:M(o,null==r?void 0:r.id),important:M(o,null==r?void 0:r.important),inserted:M(o,null==r?void 0:r.inserted),keyword:M(o,null==r?void 0:r.keyword),number:M(o,null==r?void 0:r.number),operator:M(o,null==r?void 0:r.operator),prolog:M(o,null==r?void 0:r.prolog),property:M(o,null==r?void 0:r.property),pseudoClass:M(o,null==r?void 0:r.pseudoClass),pseudoElement:M(o,null==r?void 0:r.pseudoElement),punctuation:M(o,null==r?void 0:r.punctuation),regex:M(o,null==r?void 0:r.regex),selector:M(o,null==r?void 0:r.selector),string:M(o,null==r?void 0:r.string),symbol:M(o,null==r?void 0:r.symbol),tag:M(o,null==r?void 0:r.tag),unit:M(o,null==r?void 0:r.unit),url:M(o,null==r?void 0:r.url),variable:M(o,null==r?void 0:r.variable)}}({scheme:O},t)}}function z(e,t){let{scheme:i}=e;return{gray:_({color:"gray",scheme:i},t),blue:_({color:"blue",scheme:i},t),purple:_({color:"purple",scheme:i},t),magenta:_({color:"magenta",scheme:i},t),red:_({color:"red",scheme:i},t),orange:_({color:"orange",scheme:i},t),yellow:_({color:"yellow",scheme:i},t),green:_({color:"green",scheme:i},t),cyan:_({color:"cyan",scheme:i},t)}}function _(e,t){var i;let{color:n,scheme:r}=e,o=null==(i=null==t?void 0:t.avatar)?void 0:i[n],s={hue:(null==o?void 0:o._hue)||"gray",scheme:r};return{_blend:((null==o?void 0:o._blend)||["screen","multiply"])["light"===r?0:1],bg:M(s,null==o?void 0:o.bg),fg:M(s,null==o?void 0:o.fg)}}function Y(e,t,i){let{scheme:n}=t;return{default:X(e,{scheme:n,tone:"default"},i),primary:X(e,{scheme:n,tone:"primary"},i),positive:X(e,{scheme:n,tone:"positive"},i),caution:X(e,{scheme:n,tone:"caution"},i),critical:X(e,{scheme:n,tone:"critical"},i)}}function X(e,t,i){var n,r,o;let{scheme:s,tone:a}=t,l=null==e?void 0:e[a],u={hue:(null==l?void 0:l._hue)||(null==(o=null==(r=null==(n=null==i?void 0:i.color)?void 0:n.base)?void 0:r[a])?void 0:o._hue)||"gray",scheme:s};return{bg:M(u,null==l?void 0:l.bg),fg:M(u,null==l?void 0:l.fg),dot:M(u,null==l?void 0:l.dot),icon:M(u,null==l?void 0:l.icon)}}function I(e,t){let{mode:i,scheme:n,tone:r}=e;return{enabled:V({mode:i,scheme:n,state:"enabled",tone:r},t),hovered:V({mode:i,scheme:n,state:"hovered",tone:r},t),readOnly:V({mode:i,scheme:n,state:"readOnly",tone:r},t),disabled:V({mode:i,scheme:n,state:"disabled",tone:r},t)}}function V(e,t){var i,n,r,o,s,a,l;let{mode:u,tone:c,scheme:h,state:d}=e,f=null==(r=null==(n=null==(i=null==t?void 0:t.color)?void 0:i.input)?void 0:n[u])?void 0:r[d],p=(null==f?void 0:f._hue)||(null==(a=null==(s=null==(o=null==t?void 0:t.color)?void 0:o.base)?void 0:s[c])?void 0:a._hue)||"gray",O=(null==f?void 0:f._blend)||["screen","multiply"],g={hue:p,scheme:h};return{_blend:O["light"===h?0:1],bg:M(g,null==f?void 0:f.bg),border:M(g,null==f?void 0:f.border),fg:M(g,null==f?void 0:f.fg),muted:{bg:M(g,null==(l=null==f?void 0:f.muted)?void 0:l.bg)},placeholder:M(g,null==f?void 0:f.placeholder)}}let q=n.$_;function G(e,t=0,i=1){return Math.min(i,Math.max(t,e))}function U(e,t,i,n,r){var o;return i*(1-(o=G((r-e)/(t-e))))+n*o}function L(e){return Math.round(e)}function N(e){if(4===e.length){let t=e.slice(1,2),i=e.slice(2,3),n=e.slice(3,4);return{r:parseInt(t+t,16),g:parseInt(i+i,16),b:parseInt(n+n,16)}}return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}function H(e){let t=L(G(Math.round(e.r),0,255)),i=L(G(Math.round(e.g),0,255)),n=L(G(Math.round(e.b),0,255));return"a"in e?`rgba(${t},${i},${n},${e.a})`:"#"+(16777216+(t<<16)+(i<<8)+n).toString(16).slice(1)}let J=/hsl\(\s*(\d+)\s*,\s*((\d+(?:\.\d+)?)%)\s*,\s*((\d+(?:\.\d+)?)%)\s*\)/i;function K(e){if(!e)return{r:0,g:0,b:0};if("string"!=typeof e)throw Error("parseColor: expected a string");if("#"===e[0]&&(4===e.length||7===e.length)&&function(e){for(let t of e)if(-1==="0123456789ABCDEFabcdef".indexOf(t))return!1;return!0}(e.slice(1)))return N(e);if(e.startsWith("hsl("))return function(e){let t=e.s/100,i=e.l/100,n=(1-Math.abs(2*i-1))*t,r=n*(1-Math.abs(e.h/60%2-1)),o=i-n/2,s=0,a=0,l=0;return 0<=e.h&&e.h<60?(s=n,a=r,l=0):60<=e.h&&e.h<120?(s=r,a=n,l=0):120<=e.h&&e.h<180?(s=0,a=n,l=r):180<=e.h&&e.h<240?(s=0,a=r,l=n):240<=e.h&&e.h<300?(s=r,a=0,l=n):300<=e.h&&e.h<360&&(s=n,a=0,l=r),{r:Math.round((s+o)*255),g:Math.round((a+o)*255),b:Math.round((l+o)*255)}}(function(e){let t=J.exec(e);if(!t)throw Error(`parseHsl: string is not a HSL color: "${e}"`);return{h:parseInt(t[1]),s:parseFloat(t[3]),l:parseFloat(t[5])}}(e));if(e.startsWith("rgba("))return function(e){let t=e.replace(/rgba\(|\)/g,"").split(",");return{r:parseInt(t[0]),g:parseInt(t[1]),b:parseInt(t[2]),a:parseFloat(t[3])}}(e);throw Error(`parseColor: unexpected color format: "${e}"`)}let ee=[0,255];function et(e,t){let{bg:i,blendMode:n,colorPalette:r}=t;if("white"===i)throw Error("Cannot blend with white background");let o=Z(e);if(!o||"color"!==o.type)throw Error(`Invalid color token value: ${e}`);let s="";if("black"===o.key&&(s=ei(r.black)),"white"===o.key&&(s=ei(r.white)),o.hue&&o.tint&&(s=ei(r[o.hue][o.tint])),!s)throw Error(`Invalid color token value: ${e}`);let a=s,l={blendMode:n,bg:i,black:ei(r.black),white:ei(r.white)};try{if(s=function(e,t){var i,n,r,o,s,a,l,u,c;let{blendMode:h}=t,d=K(e),f=K(t.black),p=K(t.white),O=t.bg?K(t.bg):"multiply"===h?p:f,g={r:[f.r,p.r],g:[f.g,p.g],b:[f.b,p.b]},m={r:G(U(...g.r,...ee,O.r),...ee),g:G(U(...g.g,...ee,O.g),...ee),b:G(U(...g.b,...ee,O.b),...ee)},b={r:G(U(...g.r,...ee,d.r),...ee),g:G(U(...g.g,...ee,d.g),...ee),b:G(U(...g.b,...ee,d.b),...ee)},y="multiply"===h?{r:255*(i=m.r/255,b.r/255*i),g:255*(n=m.g/255,b.g/255*n),b:255*(r=m.b/255,b.b/255*r)}:{r:255*((o=m.r/255)+(s=b.r/255)-o*s),g:255*((a=m.g/255)+(l=b.g/255)-a*l),b:255*((u=m.b/255)+(c=b.b/255)-u*c)};return H({r:G(U(...ee,...g.r,y.r),...g.r),g:G(U(...ee,...g.g,y.g),...g.g),b:G(U(...ee,...g.b,y.b),...g.b)})}(s,l),i&&void 0!==o.mix){var u,c,h,d,f,p,O;let e=N(i),t=N(s);s=H((u=o.mix,{r:(c=e.r,h=t.r,c+(h-c)*u),g:(d=e.g,f=t.g,d+(f-d)*u),b:(p=e.b,O=t.b,p+(O-p)*u)}))}}catch(e){throw console.warn("could not blend",s,l),e}
1return"#aN"===s&&(console.warn(`invalid color token value: ${e}`),s=a),void 0!==o.opacity&&(s=function(e,t){let i=K(e);return`rgba(${i.r},${i.g},${i.b},${t})`}(s,o.opacity)),s}function ei(e){return"string"==typeof e?e:e.hex}function en(e,t){let i=Object.entries(t),[,n]=i.find(([e])=>"transparent"===e),[,r]=i.find(([e])=>"default"===e),o=er(n,{colorPalette:e}),s=er(r,{colorPalette:e}),a=s.bg;if("white"===a)throw Error("Cannot blend with white background");return Object.fromEntries([["transparent",o],["default",s],...i.filter(([e])=>"default"!==e&&"transparent"!==e).map(([t,i])=>[t,er(i,{bg:a,colorPalette:e})])])}function er(e,t){var i,n,r,o,s,a;let{colorPalette:l,bg:u}=t,c=e._blend||"multiply",h=et(e.bg,{colorPalette:l,bg:u,blendMode:c}),d={colorPalette:l,bg:h,blendMode:c},f=(i=e.button,n={baseBg:h,blendMode:c,colorPalette:l},{default:eu(i.default,n),ghost:eu(i.ghost,n),bleed:eu(i.bleed,n)}),p=(r=e.selectable,o={colorPalette:l,baseBg:h,blendMode:c},{default:ep(r.default,o),primary:ep(r.primary,o),positive:ep(r.positive,o),caution:ep(r.caution,o),critical:ep(r.critical,o)}),O={outline:et(e.shadow.outline,d),umbra:et(e.shadow.umbra,{...d,bg:void 0,colorPalette:{...l,black:"#000000"}}),penumbra:et(e.shadow.penumbra,{...d,bg:void 0,colorPalette:{...l,black:"#000000"}}),ambient:et(e.shadow.ambient,{...d,bg:void 0,colorPalette:{...l,black:"#000000"}})};return{_blend:c,_dark:e._dark,accent:{fg:et(e.accent.fg,d)},avatar:eo(e.avatar,{baseBg:h,colorPalette:l,blendMode:c}),backdrop:et(e.backdrop,d),badge:ea(e.badge,{baseBg:h,colorPalette:l,blendMode:c}),bg:h,border:et(e.border,d),button:f,code:{bg:et(e.code.bg,d),fg:et(e.code.fg,d)},fg:et(e.fg,d),focusRing:et(e.focusRing,d),icon:et(e.icon,d),input:(s=e.input,a={baseBg:h,colorPalette:l,blendMode:c},{default:ed(s.default,a),invalid:ed(s.invalid,a)}),kbd:function(e,t){let{baseBg:i,blendMode:n,colorPalette:r}=t,o=et(e.bg,{bg:i,blendMode:n,colorPalette:r}),s={bg:o,blendMode:n,colorPalette:r};return{bg:o,fg:et(e.fg,s),border:et(e.border,s)}}(e.kbd,{baseBg:h,colorPalette:l,blendMode:c}),link:{fg:et(e.link.fg,d)},muted:{bg:et(e.muted.bg,d),fg:et(e.muted.fg,d)},shadow:O,skeleton:{from:et(e.skeleton.from,d),to:et(e.skeleton.to,d)},syntax:function(e,t){let{colorPalette:i,baseBg:n,blendMode:r}=t,o={colorPalette:i,bg:n,blendMode:r};return{atrule:et(e.atrule,o),attrName:et(e.attrName,o),attrValue:et(e.attrValue,o),attribute:et(e.attribute,o),boolean:et(e.boolean,o),builtin:et(e.builtin,o),cdata:et(e.cdata,o),char:et(e.char,o),class:et(e.class,o),className:et(e.className,o),comment:et(e.comment,o),constant:et(e.constant,o),deleted:et(e.deleted,o),doctype:et(e.doctype,o),entity:et(e.entity,o),function:et(e.function,o),hexcode:et(e.hexcode,o),id:et(e.id,o),important:et(e.important,o),inserted:et(e.inserted,o),keyword:et(e.keyword,o),number:et(e.number,o),operator:et(e.operator,o),prolog:et(e.prolog,o),property:et(e.property,o),pseudoClass:et(e.pseudoClass,o),pseudoElement:et(e.pseudoElement,o),punctuation:et(e.punctuation,o),regex:et(e.regex,o),selector:et(e.selector,o),string:et(e.string,o),symbol:et(e.symbol,o),tag:et(e.tag,o),unit:et(e.unit,o),url:et(e.url,o),variable:et(e.variable,o)}}(e.syntax,{baseBg:h,colorPalette:l,blendMode:c}),selectable:p}}function eo(e,t){return{gray:es(e.gray,t),blue:es(e.blue,t),purple:es(e.purple,t),magenta:es(e.magenta,t),red:es(e.red,t),orange:es(e.orange,t),yellow:es(e.yellow,t),green:es(e.green,t),cyan:es(e.cyan,t)}}function es(e,t){let{baseBg:i,blendMode:n,colorPalette:r}=t,o=e._blend||"multiply",s=et(e.bg,{bg:i,blendMode:n,colorPalette:r});return{_blend:o,bg:s,fg:et(e.fg,{bg:s,blendMode:o,colorPalette:r})}}function ea(e,t){return{default:el(e.default,t),primary:el(e.primary,t),positive:el(e.positive,t),caution:el(e.caution,t),critical:el(e.critical,t)}}function el(e,t){let{baseBg:i,blendMode:n,colorPalette:r}=t,o=et(e.bg,{bg:i,blendMode:n,colorPalette:r}),s={bg:o,blendMode:n,colorPalette:r};return{bg:o,dot:et(e.dot,s),fg:et(e.fg,s),icon:et(e.icon,s)}}function eu(e,t){return{default:ec(e.default,t),primary:ec(e.primary,t),positive:ec(e.positive,t),caution:ec(e.caution,t),critical:ec(e.critical,t)}}function ec(e,t){return{enabled:eh(e.enabled,t),hovered:eh(e.hovered,t),pressed:eh(e.pressed,t),selected:eh(e.selected,t),disabled:eh(e.disabled,t)}}function eh(e,t){var i,n;let{baseBg:r,blendMode:o,colorPalette:s}=t,a=e._blend||"multiply",l=et(e.bg,{bg:r,blendMode:o,colorPalette:s}),u={bg:l,blendMode:a,colorPalette:s};return{_blend:a,accent:{fg:et(e.accent.fg,u)},avatar:eo(e.avatar,{baseBg:r,colorPalette:s,blendMode:a}),badge:ea(e.badge,{baseBg:l,colorPalette:s,blendMode:a}),bg:l,border:et(e.border,u),code:{bg:et(e.code.bg,u),fg:et(e.code.fg,u)},fg:et(e.fg,u),icon:et(e.icon,u),link:{fg:et(e.link.fg,u)},muted:{bg:et(e.muted.bg,u),fg:et(e.muted.fg,u)},kbd:{bg:et(e.kbd.bg,u),fg:et(e.kbd.fg,u),border:et(e.kbd.border,u)},skeleton:{from:et(null==(i=e.skeleton)?void 0:i.from,u),to:et(null==(n=e.skeleton)?void 0:n.to,u)}}}function ed(e,t){return{enabled:ef(e.enabled,t),hovered:ef(e.hovered,t),readOnly:ef(e.readOnly,t),disabled:ef(e.disabled,t)}}function ef(e,t){let{baseBg:i,blendMode:n,colorPalette:r}=t,o=e._blend||"multiply",s=et(e.bg,{colorPalette:r,bg:i,blendMode:n}),a={colorPalette:r,bg:s,blendMode:o};return{_blend:o,bg:s,border:et(e.border,a),fg:et(e.fg,a),muted:{bg:et(e.muted.bg,a)},placeholder:et(e.placeholder,a)}}function ep(e,t){return{enabled:eh(e.enabled,t),hovered:eh(e.hovered,t),pressed:eh(e.pressed,t),selected:eh(e.selected,t),disabled:eh(e.disabled,t)}}function eO(e){var t,i,n,s,a,l,u,c,h,d,f,p;let O=function(e){let t={...e,color:function(e){let t=F(W,e);return{base:function(e){let t={};for(let i of x)t[i]=function(e,t){var i,n,r,o,s,a,l,u,c,h,d,f,p,O,g,m,b,y,v,S,x,k,w,D,Q,P,C,$,Z,A,E,M,W,B,T,j,R,z,_,Y,X,I;let V=F(null==(i=null==e?void 0:e.base)?void 0:i["*"],null==(n=null==e?void 0:e.base)?void 0:n[t]),q=V._hue||(null==(o=null==(r=null==e?void 0:e.base)?void 0:r[t])?void 0:o._hue)||"gray";return{...V,_hue:q,avatar:{gray:F({_hue:"gray"},null==(s=V.avatar)?void 0:s["*"],null==(a=V.avatar)?void 0:a.gray),blue:F({_hue:"blue"},null==(l=V.avatar)?void 0:l["*"],null==(u=V.avatar)?void 0:u.blue),purple:F({_hue:"purple"},null==(c=V.avatar)?void 0:c["*"],null==(h=V.avatar)?void 0:h.purple),magenta:F({_hue:"magenta"},null==(d=V.avatar)?void 0:d["*"],null==(f=V.avatar)?void 0:f.magenta),red:F({_hue:"red"},null==(p=V.avatar)?void 0:p["*"],null==(O=V.avatar)?void 0:O.red),orange:F({_hue:"orange"}
1,null==(g=V.avatar)?void 0:g["*"],null==(m=V.avatar)?void 0:m.orange),yellow:F({_hue:"yellow"},null==(b=V.avatar)?void 0:b["*"],null==(y=V.avatar)?void 0:y.yellow),green:F({_hue:"green"},null==(v=V.avatar)?void 0:v["*"],null==(S=V.avatar)?void 0:S.green),cyan:F({_hue:"cyan"},null==(x=V.avatar)?void 0:x["*"],null==(k=V.avatar)?void 0:k.cyan)},badge:{default:{_hue:(null==(D=null==(w=null==e?void 0:e.base)?void 0:w.default)?void 0:D._hue)||q,...null==(Q=V.badge)?void 0:Q["*"],...null==(P=V.badge)?void 0:P.default},primary:{_hue:(null==($=null==(C=null==e?void 0:e.base)?void 0:C.primary)?void 0:$._hue)||q,...null==(Z=V.badge)?void 0:Z["*"],...null==(A=V.badge)?void 0:A.primary},positive:{_hue:(null==(M=null==(E=null==e?void 0:e.base)?void 0:E.positive)?void 0:M._hue)||q,...null==(W=V.badge)?void 0:W["*"],...null==(B=V.badge)?void 0:B.positive},caution:{_hue:(null==(j=null==(T=null==e?void 0:e.base)?void 0:T.caution)?void 0:j._hue)||q,...null==(R=V.badge)?void 0:R["*"],...null==(z=V.badge)?void 0:z.caution},critical:{_hue:(null==(Y=null==(_=null==e?void 0:e.base)?void 0:_.critical)?void 0:Y._hue)||q,...null==(X=V.badge)?void 0:X["*"],...null==(I=V.badge)?void 0:I.critical}}}}(e,i);return t}(t),button:function(e){let t={};for(let i of D)t[i]=function(e,t){let i={};for(let n of k)i[n]=function(e,t,i){let n={};for(let r of w)n[r]=function(e,t,i,n){var r,o,s,a,l,u,c,h,d,f,p,O,g,m,b,y,v,S,x,k,w,D,Q,P,C,$,Z,A,E,M,W,B,T,j,R,z,_,Y,X,I,V,q,G,U,L,N,H,J,K,ee,et,ei;let en=F(null==(s=null==(o=null==(r=null==e?void 0:e.button)?void 0:r[i])?void 0:o["*"])?void 0:s["*"],null==(u=null==(l=null==(a=null==e?void 0:e.button)?void 0:a[i])?void 0:l[t])?void 0:u["*"],null==(d=null==(h=null==(c=null==e?void 0:e.button)?void 0:c[i])?void 0:h["*"])?void 0:d[n],null==(O=null==(p=null==(f=null==e?void 0:e.button)?void 0:f[i])?void 0:p[t])?void 0:O[n]),er=en._hue||(null==(m=null==(g=null==e?void 0:e.base)?void 0:g[t])?void 0:m._hue);return{...en,_hue:er,avatar:{gray:F({_hue:"gray"},null==(b=en.avatar)?void 0:b["*"],null==(y=en.avatar)?void 0:y.gray),blue:F({_hue:"blue"},null==(v=en.avatar)?void 0:v["*"],null==(S=en.avatar)?void 0:S.blue),purple:F({_hue:"purple"},null==(x=en.avatar)?void 0:x["*"],null==(k=en.avatar)?void 0:k.purple),magenta:F({_hue:"magenta"},null==(w=en.avatar)?void 0:w["*"],null==(D=en.avatar)?void 0:D.magenta),red:F({_hue:"red"},null==(Q=en.avatar)?void 0:Q["*"],null==(P=en.avatar)?void 0:P.red),orange:F({_hue:"orange"},null==(C=en.avatar)?void 0:C["*"],null==($=en.avatar)?void 0:$.orange),yellow:F({_hue:"yellow"},null==(Z=en.avatar)?void 0:Z["*"],null==(A=en.avatar)?void 0:A.yellow),green:F({_hue:"green"},null==(E=en.avatar)?void 0:E["*"],null==(M=en.avatar)?void 0:M.green),cyan:F({_hue:"cyan"},null==(W=en.avatar)?void 0:W["*"],null==(B=en.avatar)?void 0:B.cyan)},badge:{default:{_hue:null==(j=null==(T=null==e?void 0:e.base)?void 0:T.default)?void 0:j._hue,...null==(R=en.badge)?void 0:R["*"],...null==(z=en.badge)?void 0:z.default},primary:{_hue:null==(Y=null==(_=null==e?void 0:e.base)?void 0:_.primary)?void 0:Y._hue,...null==(X=en.badge)?void 0:X["*"],...null==(I=en.badge)?void 0:I.primary},positive:{_hue:null==(q=null==(V=null==e?void 0:e.base)?void 0:V.positive)?void 0:q._hue,...null==(G=en.badge)?void 0:G["*"],...null==(U=en.badge)?void 0:U.positive},caution:{_hue:null==(N=null==(L=null==e?void 0:e.base)?void 0:L.caution)?void 0:N._hue,...null==(H=en.badge)?void 0:H["*"],...null==(J=en.badge)?void 0:J.caution},critical:{_hue:null==(ee=null==(K=null==e?void 0:e.base)?void 0:K.critical)?void 0:ee._hue,...null==(et=en.badge)?void 0:et["*"],...null==(ei=en.badge)?void 0:ei.critical}}}}(e,i,t,r);return n}(e,t,n);return i}(e,i);return t}(t),input:function(e){let t={};for(let i of Q)t[i]=function(e,t){let i={};for(let n of P)i[n]=function(e,t,i){var n,r,o,s,a,l,u,c,h,d;let f=F(null==(r=null==(n=null==e?void 0:e.input)?void 0:n["*"])?void 0:r["*"],null==(s=null==(o=null==e?void 0:e.input)?void 0:o[t])?void 0:s["*"],null==(l=null==(a=null==e?void 0:e.input)?void 0:a["*"])?void 0:l[i],null==(c=null==(u=null==e?void 0:e.input)?void 0:u[t])?void 0:c[i]),p=f._hue||(null==(d=null==(h=null==e?void 0:e.input)?void 0:h[t])?void 0:d._hue);return{...f,_hue:p}}
1(e,t,n);return i}(e,i);return t}(t),selectable:function(e){let t={};for(let i of k)t[i]=function(e,t){var i,n,r,o;let s={_hue:(null==(n=null==(i=null==e?void 0:e.selectable)?void 0:i[t])?void 0:n._hue)||(null==(o=null==(r=null==e?void 0:e.base)?void 0:r[t])?void 0:o._hue)};for(let i of w)s[i]=function(e,t,i){var n,r,o,s,a,l,u,c,h,d,f,p,O,g,m,b,y,v,S,x,k,w,D,Q,P,C,$,Z,A,E,M,W,B,T,j,R,z,_,Y,X,I,V,q,G,U,L,N,H;let J=F(null==(r=null==(n=null==e?void 0:e.selectable)?void 0:n["*"])?void 0:r["*"],null==(s=null==(o=null==e?void 0:e.selectable)?void 0:o[t])?void 0:s["*"],null==(l=null==(a=null==e?void 0:e.selectable)?void 0:a["*"])?void 0:l[i],null==(c=null==(u=null==e?void 0:e.selectable)?void 0:u[t])?void 0:c[i]),K=J._hue||(null==(d=null==(h=null==e?void 0:e.base)?void 0:h[t])?void 0:d._hue);return{...J,_hue:K,avatar:{gray:F({_hue:"gray"},null==(f=J.avatar)?void 0:f["*"],null==(p=J.avatar)?void 0:p.gray),blue:F({_hue:"blue"},null==(O=J.avatar)?void 0:O["*"],null==(g=J.avatar)?void 0:g.blue),purple:F({_hue:"purple"},null==(m=J.avatar)?void 0:m["*"],null==(b=J.avatar)?void 0:b.purple),magenta:F({_hue:"magenta"},null==(y=J.avatar)?void 0:y["*"],null==(v=J.avatar)?void 0:v.magenta),red:F({_hue:"red"},null==(S=J.avatar)?void 0:S["*"],null==(x=J.avatar)?void 0:x.red),orange:F({_hue:"orange"},null==(k=J.avatar)?void 0:k["*"],null==(w=J.avatar)?void 0:w.orange),yellow:F({_hue:"yellow"},null==(D=J.avatar)?void 0:D["*"],null==(Q=J.avatar)?void 0:Q.yellow),green:F({_hue:"green"},null==(P=J.avatar)?void 0:P["*"],null==(C=J.avatar)?void 0:C.green),cyan:F({_hue:"cyan"},null==($=J.avatar)?void 0:$["*"],null==(Z=J.avatar)?void 0:Z.cyan)},badge:{default:{_hue:null==(E=null==(A=null==e?void 0:e.base)?void 0:A.default)?void 0:E._hue,...null==(M=J.badge)?void 0:M["*"],...null==(W=J.badge)?void 0:W.default},primary:{_hue:null==(T=null==(B=null==e?void 0:e.base)?void 0:B.primary)?void 0:T._hue,...null==(j=J.badge)?void 0:j["*"],...null==(R=J.badge)?void 0:R.primary},positive:{_hue:null==(_=null==(z=null==e?void 0:e.base)?void 0:z.positive)?void 0:_._hue,...null==(Y=J.badge)?void 0:Y["*"],...null==(X=J.badge)?void 0:X.positive},caution:{_hue:null==(V=null==(I=null==e?void 0:e.base)?void 0:I.caution)?void 0:V._hue,...null==(q=J.badge)?void 0:q["*"],...null==(G=J.badge)?void 0:G.caution},critical:{_hue:null==(L=null==(U=null==e?void 0:e.base)?void 0:U.critical)?void 0:L._hue,...null==(N=J.badge)?void 0:N["*"],...null==(H=J.badge)?void 0:H.critical}}}}(e,t,i);return s}(e,i);return t}(t),syntax:t.syntax}}(null==e?void 0:e.color)};return{light:j({scheme:"light"},t),dark:j({scheme:"dark"},t)}}(e);return m({_version:2,avatar:null!=(t=null==e?void 0:e.avatar)?t:r.avatar,button:null!=(i=null==e?void 0:e.button)?i:r.button,card:null!=(n=null==e?void 0:e.card)?n:r.card,color:function(e,t){var i;let n=null!=(i=null==t?void 0:t.palette)?i:q;return{light:en(n,e.light),dark:en(n,e.dark)}}(O,e),container:null!=(s=null==e?void 0:e.container)?s:r.container,font:null!=(a=null==e?void 0:e.font)?a:o,input:null!=(l=null==e?void 0:e.input)?l:r.input,layer:null!=(u=null==e?void 0:e.layer)?u:r.layer,media:null!=(c=null==e?void 0:e.media)?c:r.media,radius:null!=(h=null==e?void 0:e.radius)?h:r.radius,shadow:null!=(d=null==e?void 0:e.shadow)?d:r.shadow,space:null!=(f=null==e?void 0:e.space)?f:r.space,style:null!=(p=null==e?void 0:e.style)?p:r.style})}let eg=new Map;function em(e,t,i){let n=function(e,t,i){let n=eg.get(t);if(!n)return;let r=n.get(i);if(r)return r.get(e)}(e,t,i);if(n)return n;let o=p(e)?m(e):e,s=p(e)?e:function(e){if(e.v2)return e.v2;let t=O.get(e);if(t)return t;let{avatar:i,button:n,color:o,container:s,focusRing:l,fonts:u,input:c,layer:h,media:d,radius:f,shadows:p,space:g,styles:m}=e,b={_version:2,avatar:{...r.avatar,...i},button:{...r.button,...n},card:r.card,color:{light:{transparent:a(o.light.transparent),default:a(o.light.default),primary:a(o.light.primary),positive:a(o.light.positive),caution:a(o.light.caution),critical:a(o.light.critical)},dark:{transparent:a(o.dark.transparent),default:a(o.dark.default),primary:a(o.dark.primary),positive:a(o.dark.positive),caution:a(o.dark.caution),critical:a(o.dark.critical)}},container:s,font:u,input:{...r.input,...c,checkbox:{...r.input.checkbox,...c.checkbox},radio:{...r.input.radio,...c.radio},switch:{...r.input.switch,...c.switch}},layer:null!=h?h:r.layer,media:d,radius:f,shadow:p,space:g,style:m};return O.set(e,b),b}(e),l=o.color[t]||o.color.light,u=l[i]||l.default,c=o.layer||r.layer,h=s.color[t]||s.c
1olor.light,d=h[i]||h.default,f=s.layer||r.layer,g={sanity:{...o,color:u,layer:c,v2:{...s,_resolved:!0,color:d,layer:f}}};return function(e,t,i,n){eg.has(t)||eg.set(t,new Map);let r=eg.get(t);r.has(i)||r.set(i,new WeakMap),r.get(i).set(e,n)}(e,t,i,g),g}},6272:function(e){var t;t=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}var t,i,n,r,o,s,a,l,u,c,h,d,f,p,O=e(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),g=e(function(e){var t=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=t)});g.version;var m=function(e){return"object"==typeof e?null!==e:"function"==typeof e},b=function(e){if(!m(e))throw TypeError(e+" is not an object!");return e},y=function(e){try{return!!e()}catch(e){return!0}},v=!y(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),S=O.document,x=m(S)&&m(S.createElement),k=!v&&!y(function(){return 7!=Object.defineProperty(x?S.createElement("div"):{},"a",{get:function(){return 7}}).a}),w=function(e,t){var i,n;if(!m(e))return e;if(t&&"function"==typeof(i=e.toString)&&!m(n=i.call(e))||"function"==typeof(i=e.valueOf)&&!m(n=i.call(e))||!t&&"function"==typeof(i=e.toString)&&!m(n=i.call(e)))return n;throw TypeError("Can't convert object to primitive value")},D=Object.defineProperty,Q={f:v?Object.defineProperty:function(e,t,i){if(b(e),t=w(t,!0),b(i),k)try{return D(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},P=v?function(e,t,i){return Q.f(e,t,{enumerable:!1,configurable:!1,writable:!0,value:i})}:function(e,t,i){return e[t]=i,e},C={}.hasOwnProperty,$=function(e,t){return C.call(e,t)},Z=0,A=Math.random(),E=e(function(e){var t="__core-js_shared__",i=O[t]||(O[t]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:g.version,mode:"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})})("native-function-to-string",Function.toString),M=e(function(e){var t="Symbol(".concat("src",")_",(++Z+A).toString(36)),i="toString",n=(""+E).split(i);g.inspectSource=function(e){return E.call(e)},(e.exports=function(e,i,r,o){var s="function"==typeof r;s&&($(r,"name")||P(r,"name",i)),e[i]!==r&&(s&&($(r,t)||P(r,t,e[i]?""+e[i]:n.join(String(i)))),e===O?e[i]=r:o?e[i]?e[i]=r:P(e,i,r):(delete e[i],P(e,i,r)))})(Function.prototype,i,function(){return"function"==typeof this&&this[t]||E.call(this)})}),W=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},B=function(e,t,i){if(W(e),void 0===t)return e;switch(i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,r){return e.call(t,i,n,r)}}return function(){return e.apply(t,arguments)}},F="prototype",T=function(e,t,i){var n,r,o,s,a=e&T.F,l=e&T.G,u=e&T.S,c=e&T.P,h=e&T.B,d=l?O:u?O[t]||(O[t]={}):(O[t]||{})[F],f=l?g:g[t]||(g[t]={}),p=f[F]||(f[F]={});for(n in l&&(i=t),i)o=((r=!a&&d&&void 0!==d[n])?d:i)[n],s=h&&r?B(o,O):c&&"function"==typeof o?B(Function.call,o):o,d&&M(d,n,o,e&T.U),f[n]!=o&&P(f,n,s),c&&p[n]!=o&&(p[n]=o)};O.core=g,T.F=1,T.G=2,T.S=4,T.P=8,T.B=16,T.W=32,T.U=64,T.R=128;var j=Math.ceil,R=Math.floor,z=function(e){return isNaN(e=+e)?0:(e>0?R:j)(e)},_=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},Y=function(e,t){var i,n,r=String(_(e)),o=z(t),s=r.length;return o<0||o>=s?void 0:(i=r.charCodeAt(o))<55296||i>56319||o+1===s||(n=r.charCodeAt(o+1))<56320||n>57343?i:(i-55296<<10)+(n-56320)+65536};T(T.P,"String",{codePointAt:function(e){return Y(this,e)}}),g.String.codePointAt;var X=Math.max,I=Math.min,V=String.fromCharCode,q=String.fromCodePoint;T(T.S+T.F*(!!q&&1!=q.length),"String",{fromCodePoint:function(e){for(var t,i,n=arguments,r=[],o=arguments.length,s=0;o>s;){if(((t=z(t=i=+n[s++]))<0?X(t+1114111,0):I(t,1114111))!==i)throw RangeError(i+" is not a valid code point");r.push(i<65536?V(i):V(((i-=65536)>>10)+55296,i%1024+56320))}return r.join("")}}),g.String.fromCodePoint;var G
vendor: 15,725 bytes, line 1
1={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAA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\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\u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02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-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1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44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\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uD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67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},
1U={isSpaceSeparator:function(e){return"string"==typeof e&&G.Space_Separator.test(e)},isIdStartChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||G.ID_Start.test(e))},isIdContinueChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"â"===e||"â"===e||G.ID_Continue.test(e))},isDigit:function(e){return"string"==typeof e&&/[0-9]/.test(e)},isHexDigit:function(e){return"string"==typeof e&&/[0-9A-Fa-f]/.test(e)}};function L(){if(t[r])return String.fromCodePoint(t.codePointAt(r))}function N(){var e=L();return"\n"===e?(o++,s=0):e?s+=e.length:s++,e&&(r+=e.length),e}var H={default:function(){switch(p){case" ":case"\v":case"\f":case" ":case"\xa0":case"\uFEFF":case"\n":case"\r":case"\u2028":case"\u2029":N();return;case"/":N(),c="comment";return;case void 0:return N(),J("eof")}if(U.isSpaceSeparator(p)){N();return}return H[i]()},comment:function(){switch(p){case"*":N(),c="multiLineComment";return;case"/":N(),c="singleLineComment";return}throw er(N())},multiLineComment:function(){switch(p){case"*":N(),c="multiLineCommentAsterisk";return;case void 0:throw er(N())}N()},multiLineCommentAsterisk:function(){switch(p){case"*":N();return;case"/":N(),c="default";return;case void 0:throw er(N())}N(),c="multiLineComment"},singleLineComment:function(){switch(p){case"\n":case"\r":case"\u2028":case"\u2029":N(),c="default";return;case void 0:return N(),J("eof")}N()},value:function(){switch(p){case"{":case"[":return J("punctuator",N());case"n":return N(),K("ull"),J("null",null);case"t":return N(),K("rue"),J("boolean",!0);case"f":return N(),K("alse"),J("boolean",!1);case"-":case"+":"-"===N()&&(f=-1),c="sign";return;case".":h=N(),c="decimalPointLeading";return;case"0":h=N(),c="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":h=N(),c="decimalInteger";return;case"I":return N(),K("nfinity"),J("numeric",1/0);case"N":return N(),K("aN"),J("numeric",NaN);case'"':case"'":d='"'===N(),h="",c="string";return}throw er(N())},identifierNameStartEscape:function(){if("u"!==p)throw er(N());N();var e=ee();switch(e){case"$":case"_":break;default:if(!U.isIdStartChar(e))throw es()}h+=e,c="identifierName"},identifierName:function(){switch(p){case"$":case"_":case"â":case"â":h+=N();return;case"\\":N(),c="identifierNameEscape";return}if(U.isIdContinueChar(p)){h+=N();return}return J("identifier",h)},identifierNameEscape:function(){if("u"!==p)throw er(N());N();var e=ee();switch(e){case"$":case"_":case"â":case"â":break;default:if(!U.isIdContinueChar(e))throw es()}h+=e,c="identifierName"},sign:function(){switch(p){case".":h=N(),c="decimalPointLeading";return;case"0":h=N(),c="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":h=N(),c="decimalInteger";return;case"I":return N(),K("nfinity"),J("numeric",1/0*f);case"N":return N(),K("aN"),J("numeric",NaN)}throw er(N())},zero:function(){switch(p){case".":h+=N(),c="decimalPoint";return;case"e":case"E":h+=N(),c="decimalExponent";return;case"x":case"X":h+=N(),c="hexadecimal";return}return J("numeric",0*f)},decimalInteger:function(){switch(p){case".":h+=N(),c="decimalPoint";return;case"e":case"E":h+=N(),c="decimalExponent";return}if(U.isDigit(p)){h+=N();return}return J("numeric",f*Number(h))},decimalPointLeading:function(){if(U.isDigit(p)){h+=N(),c="decimalFraction";return}throw er(N())},decimalPoint:function(){switch(p){case"e":case"E":h+=N(),c="decimalExponent";return}if(U.isDigit(p)){h+=N(),c="decimalFraction";return}return J("numeric",f*Number(h))},decimalFraction:function(){switch(p){case"e":case"E":h+=N(),c="decimalExponent";return}if(U.isDigit(p)){h+=N();return}return J("numeric",f*Number(h))},decimalExponent:function(){switch(p){case"+":case"-":h+=N(),c="decimalExponentSign";return}if(U.isDigit(p)){h+=N(),c="decimalExponentInteger";return}throw er(N())},decimalExponentSign:function(){if(U.isDigit(p)){h+=N(),c="decimalExponentInteger";return}throw er(N())},decimalExponentInteger:function(){if(U.isDigit(p)){h+=N();return}return J("numeric",f*Number(h))},hexadecimal:function(){if(U.isHexDigit(p)){h+=N(),c="hexadecimalInteger";return}throw er(N())},hexadecimalInteger:function(){if(U.isHexDigit(p)){h+=N();return}return J("numeric",f*Number(h))},string:function(){switch(p){case"\\":N(),h+=function(){switch(L()){case"b":return N(),"\b";case"f":return N(),"\f";case"n":return N(),"\n";case"r":return N(),"\r";case"t":return N()," ";case"v":return N(),"\v";case"0":if(N(),U.isDigit(L()))throw er(N());return"\0";case"x":return N(),function(){var e="",t=L();if(!U.isHexDigit(t)||(e+=N(),t=L(),!U.isHexDigit(t)))throw er(N());return String.fromCodePoint(parseInt(e+=N(),16))}();case"u":return N(),ee();case"\n":case"\u2028":case"\u2029":return N(),"";case"\r":return N(),"\n"===L()&&N(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw er(N())}return N()}();return;case'"':if(d)return N(),J("string",h);h+=N();return;case"'":if(!d)return N(),J("string",h);h+=N();return;case"\n":case"\r":case void 0:throw er(N());case"\u2028":case"\u2029":console.warn("JSON5: '"+ea(p)+"' in strings is not val
1id ECMAScript; consider escaping")}h+=N()},start:function(){switch(p){case"{":case"[":return J("punctuator",N())}c="value"},beforePropertyName:function(){switch(p){case"$":case"_":h=N(),c="identifierName";return;case"\\":N(),c="identifierNameStartEscape";return;case"}":return J("punctuator",N());case'"':case"'":d='"'===N(),c="string";return}if(U.isIdStartChar(p)){h+=N(),c="identifierName";return}throw er(N())},afterPropertyName:function(){if(":"===p)return J("punctuator",N());throw er(N())},beforePropertyValue:function(){c="value"},afterPropertyValue:function(){switch(p){case",":case"}":return J("punctuator",N())}throw er(N())},beforeArrayValue:function(){if("]"===p)return J("punctuator",N());c="value"},afterArrayValue:function(){switch(p){case",":case"]":return J("punctuator",N())}throw er(N())},end:function(){throw er(N())}};function J(e,t){return{type:e,value:t,line:o,column:s}}function K(e){for(var t=0;t<e.length;t+=1){var i=e[t];if(L()!==i)throw er(N());N()}}function ee(){for(var e="",t=4;t-- >0;){var i=L();if(!U.isHexDigit(i))throw er(N());e+=N()}return String.fromCodePoint(parseInt(e,16))}var et={start:function(){if("eof"===a.type)throw eo();ei()},beforePropertyName:function(){switch(a.type){case"identifier":case"string":l=a.value,i="afterPropertyName";return;case"punctuator":en();return;case"eof":throw eo()}},afterPropertyName:function(){if("eof"===a.type)throw eo();i="beforePropertyValue"},beforePropertyValue:function(){if("eof"===a.type)throw eo();ei()},beforeArrayValue:function(){if("eof"===a.type)throw eo();if("punctuator"===a.type&&"]"===a.value){en();return}ei()},afterPropertyValue:function(){if("eof"===a.type)throw eo();switch(a.value){case",":i="beforePropertyName";return;case"}":en()}},afterArrayValue:function(){if("eof"===a.type)throw eo();switch(a.value){case",":i="beforeArrayValue";return;case"]":en()}},end:function(){}};function ei(){var e;switch(a.type){case"punctuator":switch(a.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=a.value}if(void 0===u)u=e;else{var t=n[n.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,l,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"==typeof e)n.push(e),i=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var r=n[n.length-1];i=null==r?"end":Array.isArray(r)?"afterArrayValue":"afterPropertyValue"}}function en(){n.pop();var e=n[n.length-1];i=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function er(e){return void 0===e?el("JSON5: invalid end of input at "+o+":"+s):el("JSON5: invalid character '"+ea(e)+"' at "+o+":"+s)}function eo(){return el("JSON5: invalid end of input at "+o+":"+s)}function es(){return s-=5,el("JSON5: invalid identifier character at "+o+":"+s)}function ea(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var i=e.charCodeAt(0).toString(16);return"\\x"+("00"+i).substring(i.length)}return e}function el(e){var t=SyntaxError(e);return t.lineNumber=o,t.columnNumber=s,t}return{parse:function(e,O){t=String(e),i="start",n=[],r=0,o=1,s=0,a=void 0,l=void 0,u=void 0;do a=function(){for(c="default",h="",d=!1,f=1;;){p=L();var e=H[c]();if(e)return e}}(),et[i]();while("eof"!==a.type);return"function"==typeof O?function e(t,i,n){var r=t[i];if(null!=r&&"object"==typeof r){if(Array.isArray(r))for(var o=0;o<r.length;o++){var s=String(o),a=e(r,s,n);void 0===a?delete r[s]:Object.defineProperty(r,s,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(var l in r){var u=e(r,l,n);void 0===u?delete r[l]:Object.defineProperty(r,l,{value:u,writable:!0,enumerable:!0,configurable:!0})}}return n.call(t,i,r)}({"":u},"",O):u},stringify:function(e,t,i){var n,r,o,s=[],a="",l="";if(null==t||"object"!=typeof t||Array.isArray(t)||(i=t.space,o=t.quote,t=t.replacer),"function"==typeof t)r=t;else if(Array.isArray(t)){n=[];for(var u=0,c=t;u<c.length;u+=1){var h=c[u],d=void 0;"string"==typeof h?d=h:("number"==typeof h||h instanceof String||h instanceof Number)&&(d=String(h)),void 0!==d&&0>n.indexOf(d)&&n.push(d)}}return i instanceof Number?i=Number(i):i instanceof String&&(i=String(i)),"number"==typeof i?i>0&&(i=Math.min(10,Math.floor(i)),l=" ".substr(0,i)):"string"==typeof i&&(l=i.substr(0,10)),function e(t,i){var o=i[t];switch(null!=o&&("function"==typeof o.toJSON5?o=o.toJSON5(t):"function"==typeof o.toJSON&&(o=o.toJSON(t))),r&&(o=r.call(i,t,o)),o instanceof Number?o=Number(o):o instanceof String?o=String(o):o instanceof Boolean&&(o=o.valueOf()),o){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof o?f(o,!1):"number"==typeof o?String(o):"object"==typeof o?Array.isArray(o)?function(t){if(s.indexOf(t)>=0)throw TypeError("Converting circular structure to JSON5");s.push(t);var i,n=a;a+=l;for(var r=[],o=0;o<t.length;o++){var u=e(String(o),t);r.push(void 0!==u?u:"null")}if(0===r.length)i="[]";else if(""===l)i="["+r.join(",")+"]";else{var c=",\n"+a,h=r.join(c);i="[\n"+a+h+",\n"+n+"]"}return s.pop(),a=n,i}(o):function(t){if(s.indexOf(t)>=0)throw TypeError("Converting circular structure to JSON5");s.push(t);var i,r,o=a;a+=l;for(var u=n||Object.keys(t),c=[],h=0;h<u.length;h+=1){var d=u[h],p=e(d,t);if(void 0!==p){var O=function(e){if(0===e.length)return f(e,!0);var t=String.fromCodePoint(e.codePointAt(0));if(!U.isIdStartChar(t))return f(e,!0);for(var i=t.length;i<e.length;i++)if(!U.isIdContinueChar(String.fromCodePoint(e.codePointAt(i))))return f(e,!0);return e}(d)+":";""!==l&&(O+=" "),O+=p,c.push(O)}}if(0===c.length)i="{}";else if(""===l)i="{"+(r=c.join(","))+"}";else{var g=",\n"+a;r=c.join(g),i="{\n"+a+r+",\n"+o+"}"}return s.pop(),a=o,i}(o):void 0}("",{"":e});function f(e){for(var t={"'":.1,'"':.2},i={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},n="",r=0;r<e.length;r++){var s=e[r];switch(s){case"'":case'"':t[s]++,n+=s;continue;case"\0":if(U.isDigit(e[r+1])){n+="\\x00";continue}}if(i[s]){n+=i[s];continue}if(s<" "){var a=s.charCodeAt(0).toString(16);n+="\\x"+("00"+a).substring(a.length);continue}n+=s}var l=o||Object.keys(t).reduce(function(e,i){return t[e]<t[i]?e:i});return n=n.replace(RegExp(l,"g"),i[l]),l+n+l}}}},e.exports=t()},85648:function(e){e.exports=["alignContent","MozAlignContent","WebkitAlignContent","MSAlignContent","OAlignContent","alignItems","MozAlignItems","WebkitAlignItems","MSAlignItems","OAlignItems","alignSelf","MozAlignSelf","WebkitAlignSelf","MSAlignSelf","OAlignSelf","all","MozAll","WebkitAll","MSAll","OAll","animation","MozAnimation","WebkitAnimation","MSAnimation","OAnimation","animationDelay","MozAnimationDelay","WebkitAnimationDelay","MSAnimationDelay","OAnimationDelay","animationDirection","MozAnimationDirection","WebkitAnimationDirection","MSAnimationDirection","OAnimationDirection","animationDuration","MozAnimationDuration","WebkitAnimationDuration","MSAnimationDuration","OAnimationDuration","animationFillMode","MozAnimationFillMode","WebkitAnimationFillMode","MSAnimationFillMode","OAnimationFillMode","animationIterationCount","MozAnimationIterationCount","WebkitAnimationIterationCount","MSAnimationIterationCount","OAnimationIterationCount","animationName","MozAnimationName","WebkitAnimationName","MSAnimationName","OAnimationName","animationPlayState","MozAnimationPlayState","WebkitAnimationPlayState","MSAnimationPlayState","OAnimationPlayState","animationTimingFunction","MozAnimationTimingFunction","WebkitAnimationTimingFunction","MSAnimationTimingFunction","OAnimationTimingFunction","backfaceVisibility","MozBackfaceVisibility","WebkitBackfaceVisibility","MSBackfaceVisibility","OBackfaceVisibility","background","MozBackgroun
1d","WebkitBackground","MSBackground","OBackground","backgroundAttachment","MozBackgroundAttachment","WebkitBackgroundAttachment","MSBackgroundAttachment","OBackgroundAttachment","backgroundBlendMode","MozBackgroundBlendMode","WebkitBackgroundBlendMode","MSBackgroundBlendMode","OBackgroundBlendMode","backgroundClip","MozBackgroundClip","WebkitBackgroundClip","MSBackgroundClip","OBackgroundClip","backgroundColor","MozBackgroundColor","WebkitBackgroundColor","MSBackgroundColor","OBackgroundColor","backgroundImage","MozBackgroundImage","WebkitBackgroundImage","MSBackgroundImage","OBackgroundImage","backgroundOrigin","MozBackgroundOrigin","WebkitBackgroundOrigin","MSBackgroundOrigin","OBackgroundOrigin","backgroundPosition","MozBackgroundPosition","WebkitBackgroundPosition","MSBackgroundPosition","OBackgroundPosition","backgroundRepeat","MozBackgroundRepeat","WebkitBackgroundRepeat","MSBackgroundRepeat","OBackgroundRepeat","backgroundSize","MozBackgroundSize","WebkitBackgroundSize","MSBackgroundSize","OBackgroundSize","blockSize","MozBlockSize","WebkitBlockSize","MSBlockSize","OBlockSize","border","MozBorder","WebkitBorder","MSBorder","OBorder","borderBlockEnd","MozBorderBlockEnd","WebkitBorderBlockEnd","MSBorderBlockEnd","OBorderBlockEnd","borderBlockEndColor","MozBorderBlockEndColor","WebkitBorderBlockEndColor","MSBorderBlockEndColor","OBorderBlockEndColor","borderBlockEndStyle","MozBorderBlockEndStyle","WebkitBorderBlockEndStyle","MSBorderBlockEndStyle","OBorderBlockEndStyle","borderBlockEndWidth","MozBorderBlockEndWidth","WebkitBorderBlockEndWidth","MSBorderBlockEndWidth","OBorderBlockEndWidth","borderBlockStart","MozBorderBlockStart","WebkitBorderBlockStart","MSBorderBlockStart","OBorderBlockStart","borderBlockStartColor","MozBorderBlockStartColor","WebkitBorderBlockStartColor","MSBorderBlockStartColor","OBorderBlockStartColor","borderBlockStartStyle","MozBorderBlockStartStyle","WebkitBorderBlockStartStyle","MSBorderBlockStartStyle","OBorderBlockStartStyle","borderBlockStartWidth","MozBorderBlockStartWidth","WebkitBorderBlockStartWidth","MSBorderBlockStartWidth","OBorderBlockStartWidth","borderBottom","MozBorderBottom","WebkitBorderBottom","MSBorderBottom","OBorderBottom","borderBottomColor","MozBorderBottomColor","WebkitBorderBottomColor","MSBorderBottomColor","OBorderBottomColor","borderBottomLeftRadius","MozBorderBottomLeftRadius","WebkitBorderBottomLeftRadius","MSBorderBottomLeftRadius","OBorderBottomLeftRadius","borderBottomRightRadius","MozBorderBottomRightRadius","WebkitBorderBottomRightRadius","MSBorderBottomRightRadius","OBorderBottomRightRadius","borderBottomStyle","MozBorderBottomStyle","WebkitBorderBottomStyle","MSBorderBottomStyle","OBorderBottomStyle","borderBottomWidth","MozBorderBottomWidth","WebkitBorderBottomWidth","MSBorderBottomWidth","OBorderBottomWidth","borderCollapse","MozBorderCollapse","WebkitBorderCollapse","MSBorderCollapse","OBorderCollapse","borderColor","MozBorderColor","WebkitBorderColor","MSBorderColor","OBorderColor","borderImage","MozBorderImage","WebkitBorderImage","MSBorderImage","OBorderImage","borderImageOutset","MozBorderImageOutset","WebkitBorderImageOutset","MSBorderImageOutset","OBorderImageOutset","borderImageRepeat","MozBorderImageRepeat","WebkitBorderImageRepeat","MSBorderImageRepeat","OBorderImageRepeat","borderImageSlice","MozBorderImageSlice","WebkitBorderImageSlice","MSBorderImageSlice","OBorderImageSlice","borderImageSource","MozBorderImageSource","WebkitBorderImageSource","MSBorderImageSource","OBorderImageSource","borderImageWidth","MozBorderImageWidth","WebkitBorderImageWidth","MSBorderImageWidth","OBorderImageWidth","borderInlineEnd","MozBorderInlineEnd","WebkitBorderInlineEnd","MSBorderInlineEnd","OBorderInlineEnd","borderInlineEndColor","MozBorderInlineEndColor","WebkitBorderInlineEndColor","MSBorderInlineEndColor","OBorderInlineEndColor","borderInlineEndStyle","MozBorderInlineEndStyle","WebkitBorderInlineEndStyle","MSBorderInlineEndStyle","OBorderInlineEndStyle","borderInlineEndWidth","MozBorderInlineEndWidth","WebkitBorderInlineEndWidth","MSBorderInlineEndWidth","OBorderInlineEndWidth","borderInlineStart","MozBorderInlineStart","WebkitBorderInlineStart","MSBorderInlineStart","OBorderInlineStart","borderInlineStartColor","MozBorderInlineStartColor","WebkitBorderInlineStartColor","MSBorderInlineStartColor","OBorderInlineStartColor","borderInlineStartStyle","MozBorderInlineStartStyle","WebkitBorderInlineStartStyle","MSBorderInlineStartStyle","OBorderInlineStartStyle","borderInlineStartWidth","MozBorderInlineStartWidth","WebkitBorderInlineStartWidth","MSBorderInlineStartWidth","OBorderInlineStartWidth","borderLeft","MozBorderLeft","WebkitBorderLeft","MSBorderLeft","OBorderLeft","borderLeftColor","MozBorderLeftColor","WebkitBorderLeftColor","MSBorderLeftColor","OBorderLeftColor","borderLeftStyle","MozBorderLeftStyle","WebkitBorderLeftStyle","MSBorderLeftStyle","OBorderLeftStyle","borderLeftWidth","MozBorderLeftWidth","WebkitBorderLeftWidth","MSBorderLeftWidth","OBorderLeftWidth","borderRadius","MozBorderRadius","WebkitBorderRadius","MSBorderRadius","OBorderRadius","borderRight","MozBorderRight","WebkitBorderRight","MSBorderRight","OBorderRight","borderRightColor","MozBorderRightColor","WebkitBorderRightColor","MSBorderRightColor","OBorderRightColor","borderRightStyle","MozBorderRightStyle","WebkitBorderRightStyle","MSBorderRightStyle","OBorderRightStyle","borderRightWidth","MozBorderRightWidth","WebkitBorderRightWidth","MSBorderRightWidth","OBorderRightWidth","borderSpacing","MozBorderSpacing","WebkitBorderSpacing","MSBorderSpacing","OBorderSpacing","borderStyle","MozBorderStyle","WebkitBorderStyle","MSBorderStyle","OBorderStyle","borderTop","MozBorderTop","WebkitBorderTop","MSBorderTop","OBorderTop","borderTopColor","MozBorderTopColor","WebkitBorderTopColor","MSBorderTopColor","OBorderTopColor","borderTopLeftRadius","MozBorderTopLeftRadius","WebkitBorderTopLeftRadius","MSBorderTopLeftRadius","OBorderTopLeftRadius","borderTopRightRadius","MozBorderTopRightRadius","WebkitBorderTopRightRadius","MSBorderTopRightRadius","OBorderTopRightRadius","borderTopStyle","MozBorderTopStyle","WebkitBorderTopStyle","MSBorderTopStyle","OBorderTopStyle","borderTopWidth","MozBorderTopWidth","WebkitBorderTopWidth","MSBorderTopWidth","OBorderTopWidth","borderWidth","MozBorderWidth","WebkitBorderWidth","MSBorderWidth","OBorderWidth","bottom","MozBottom","WebkitBottom","MSBottom","OBottom","boxDecorationBreak","MozBoxDecorationBreak","WebkitBoxDecorationBreak","MSBoxDecorationBreak","OBoxDecorationBreak","boxShadow","MozBoxShadow","WebkitBoxShadow","MSBoxShadow","OBoxShadow","boxSizing","MozBoxSizing","WebkitBoxSizing","MSBoxSizing","OBoxSizing","breakAfter","MozBreakAfter","WebkitBreakAfter","MSBreakAfter","OBreakAfter","breakBefore","MozBreakBefore","WebkitBreakBefore","MSBreakBefore","OBreakBefore","breakInside","MozBreakInside","WebkitBreakInside","MSBreakInside","OBreakInside","captionSide","MozCaptionSide","WebkitCaptionSide","MSCaptionSide","OCaptionSide","caretColor","MozCaretColor","WebkitCaretColor","MSCaretColor","OCaretColor","ch","MozCh","WebkitCh","MSCh","OCh","clear","MozClear","WebkitClear","MSClear","OClear","clip","MozClip","WebkitClip","MSClip","OClip","clipPath","MozClipPath","WebkitClipPath","MSClipPath","OClipPath","cm","MozCm","WebkitCm","MSCm","OCm","color","MozColor","WebkitColor","MSColor","OColor","columnCount","MozColumnCount","WebkitColumnCount","MSColumnCount","OColumnCount","columnFill","MozColumnFill","WebkitColumnFill","MSColumnFill","OColumnFill","columnGap","MozColumnGap","WebkitColumnGap","MSColumnGap","OColumnGap","columnRule","MozColumnRule","WebkitColumnRule","MSColumnRule","OColumnRule","columnRuleColor","MozColumnRuleColor","WebkitColumnRuleColor","MSColumnRuleColor","OColumnRuleColor","columnRuleStyle","MozColumnRuleStyle","WebkitColumnRuleStyle","MSColumnRuleStyle","OColumnRuleStyle","columnRuleWidth","MozColumnRuleWidth","WebkitColumnRuleWidth","MSColumnRuleWidth","OColumnRuleWidth","columnSpan","MozColumnSpan","WebkitColumnSpan","MSColumnSpan","OColumnSpan","columnWidth","MozColumnWidth","WebkitColumnWidth","MSColumnWidth","OColumnWidth","columns","MozColumns","WebkitColumns","MSColumns","OColumns","content","MozContent","WebkitContent","MSContent","OContent","counterIncrement","MozCounterIncrement","WebkitCounterIncrement","MSCounterIncrement","OCounterIncrement","counterReset","MozCounterReset","WebkitCounterReset","MSCounterReset","OCounterReset","cursor","MozCursor","WebkitCursor","MSCursor","OCursor","deg","MozDeg","WebkitDeg","MSDeg","ODeg","direction","MozDirection","WebkitDirection","MSDirection","ODirection","display","MozDisplay","WebkitDisplay","MSDisplay","ODisplay","dpcm","MozDpcm","WebkitDpcm","MSDpcm","ODpcm","dpi","MozDpi","WebkitDpi","MSDpi","ODpi","dppx","MozDppx","WebkitDppx","MSDppx","ODppx","em","MozEm","WebkitEm","MSEm","OEm","emptyCells","MozEmptyCells","WebkitEmptyCells","MSEmptyCells","OEmptyCells","ex","MozEx","WebkitEx","MSEx","OEx","filter","MozFilter","WebkitFilter","MSFilter","OFilter","flexBasis","MozFlexBasis","WebkitFlexBasis","MSFlexBasis","OFlexBasis","flexDirection","MozFlexDirection","WebkitFlexDirection","MSFlexDirection","OFlexDirection","flexFlow","MozFlexFlow","WebkitFlexFlow","MSFlexFlow","OFlexFlow","flexGrow","MozFlexGrow","WebkitFlexGrow","MSFlexGrow","OFlexGrow","flexShrink","MozFlexShrink","WebkitFlexShrink","MSFlexShrink","OFlexShrink","flexWrap","MozFlexWrap","WebkitFlexWrap","MSFlexWrap","OFlexWrap","float","MozFloat","WebkitFloat","MSFloat","OFloat","font","MozFont","WebkitFont","MSFont","OFont","fontFamily","MozFontFamily","WebkitFontFamily","MSFontFamily","OFontFamily","fontFeatureSettings","MozFontFeatureSettings","WebkitFontFeatureSettings","MSFontFeatureSettings","OFontFeatureSettings","fontKerning","MozFontKerning","WebkitFontKerning","MSFontKerning","OFontKerning","fontLanguageOverride","MozFontLanguageOverride","WebkitFontLanguageOverride","MSFontLanguageOverride","OFontLanguageOverride","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","fontSizeAdjust","MozFontSizeAdjust","WebkitFontSizeAdjust","MSFontSizeAdjust","OFontSizeAdjust","fontStretch","MozFontStretch","WebkitFontStretch","MSFontStretch","OFontStretch","fontStyle","MozFontStyle","WebkitFontStyle","MSFontStyle","OFontStyle","fontSynthesis","MozFontSynthesis","WebkitFontSynthesis","MSFontSynthesis","OFontSynthesis","fontVariant","MozFontVariant","WebkitFontVariant","MSFontVariant","OFontVariant","fontVariantAlternates","MozFontVariantAlternates","WebkitFontVariantAlternates","MSFontVariantAlternates","OFontVariantAlternates","fontVariantCaps","MozFontVariantCaps","WebkitFontVariantCaps","MSFontVariantCaps","OFontVariantCaps","fontVariantEastAsian","MozFontVariantEastAsian","WebkitFontVariantEastAsian","MSFontVariantEastAsian","OFontVariantEastAsian","fontVariantLigatures","MozFontVariantLigatures","WebkitFontVariantLigatures","MSFontVariantLigatures","OFontVariantLigatures","fontVariantNumeric","MozFontVariantNumeric","WebkitFontVariantNumeric","MSFontVariantNumeric","OFontVariantNumeric","fontVariantPosition","MozFontVariantPosition","WebkitFontVariantPosition","MSFontVariantPosition","OFontVariantPosition","fontWeight","MozFontWeight","WebkitFontWeight","MSFontWeight","OFontWeight","fr","MozFr","WebkitFr","MSFr","OFr","grad","MozGrad","WebkitGrad","MSGrad","OGrad","grid","MozGrid","WebkitGrid","MSGri
1d","OGrid","gridArea","MozGridArea","WebkitGridArea","MSGridArea","OGridArea","gridAutoColumns","MozGridAutoColumns","WebkitGridAutoColumns","MSGridAutoColumns","OGridAutoColumns","gridAutoFlow","MozGridAutoFlow","WebkitGridAutoFlow","MSGridAutoFlow","OGridAutoFlow","gridAutoRows","MozGridAutoRows","WebkitGridAutoRows","MSGridAutoRows","OGridAutoRows","gridColumn","MozGridColumn","WebkitGridColumn","MSGridColumn","OGridColumn","gridColumnEnd","MozGridColumnEnd","WebkitGridColumnEnd","MSGridColumnEnd","OGridColumnEnd","gridColumnGap","MozGridColumnGap","WebkitGridColumnGap","MSGridColumnGap","OGridColumnGap","gridColumnStart","MozGridColumnStart","WebkitGridColumnStart","MSGridColumnStart","OGridColumnStart","gridGap","MozGridGap","WebkitGridGap","MSGridGap","OGridGap","gridRow","MozGridRow","WebkitGridRow","MSGridRow","OGridRow","gridRowEnd","MozGridRowEnd","WebkitGridRowEnd","MSGridRowEnd","OGridRowEnd","gridRowGap","MozGridRowGap","WebkitGridRowGap","MSGridRowGap","OGridRowGap","gridRowStart","MozGridRowStart","WebkitGridRowStart","MSGridRowStart","OGridRowStart","gridTemplate","MozGridTemplate","WebkitGridTemplate","MSGridTemplate","OGridTemplate","gridTemplateAreas","MozGridTemplateAreas","WebkitGridTemplateAreas","MSGridTemplateAreas","OGridTemplateAreas","gridTemplateColumns","MozGridTemplateColumns","WebkitGridTemplateColumns","MSGridTemplateColumns","OGridTemplateColumns","gridTemplateRows","MozGridTemplateRows","WebkitGridTemplateRows","MSGridTemplateRows","OGridTemplateRows","height","MozHeight","WebkitHeight","MSHeight","OHeight","hyphens","MozHyphens","WebkitHyphens","MSHyphens","OHyphens","hz","MozHz","WebkitHz","MSHz","OHz","imageOrientation","MozImageOrientation","WebkitImageOrientation","MSImageOrientation","OImageOrientation","imageRendering","MozImageRendering","WebkitImageRendering","MSImageRendering","OImageRendering","imageResolution","MozImageResolution","WebkitImageResolution","MSImageResolution","OImageResolution","imeMode","MozImeMode","WebkitImeMode","MSImeMode","OImeMode","in","MozIn","WebkitIn","MSIn","OIn","inherit","MozInherit","WebkitInherit","MSInherit","OInherit","initial","MozInitial","WebkitInitial","MSInitial","OInitial","inlineSize","MozInlineSize","WebkitInlineSize","MSInlineSize","OInlineSize","isolation","MozIsolation","WebkitIsolation","MSIsolation","OIsolation","justifyContent","MozJustifyContent","WebkitJustifyContent","MSJustifyContent","OJustifyContent","khz","MozKhz","WebkitKhz","MSKhz","OKhz","left","MozLeft","WebkitLeft","MSLeft","OLeft","letterSpacing","MozLetterSpacing","WebkitLetterSpacing","MSLetterSpacing","OLetterSpacing","lineBreak","MozLineBreak","WebkitLineBreak","MSLineBreak","OLineBreak","lineHeight","MozLineHeight","WebkitLineHeight","MSLineHeight","OLineHeight","listStyle","MozListStyle","WebkitListStyle","MSListStyle","OListStyle","listStyleImage","MozListStyleImage","WebkitListStyleImage","MSListStyleImage","OListStyleImage","listStylePosition","MozListStylePosition","WebkitListStylePosition","MSListStylePosition","OListStylePosition","listStyleType","MozListStyleType","WebkitListStyleType","MSListStyleType","OListStyleType","margin","MozMargin","WebkitMargin","MSMargin","OMargin","marginBlockEnd","MozMarginBlockEnd","WebkitMarginBlockEnd","MSMarginBlockEnd","OMarginBlockEnd","marginBlockStart","MozMarginBlockStart","WebkitMarginBlockStart","MSMarginBlockStart","OMarginBlockStart","marginBottom","MozMarginBottom","WebkitMarginBottom","MSMarginBottom","OMarginBottom","marginInlineEnd","MozMarginInlineEnd","WebkitMarginInlineEnd","MSMarginInlineEnd","OMarginInlineEnd","marginInlineStart","MozMarginInlineStart","WebkitMarginInlineStart","MSMarginInlineStart","OMarginInlineStart","marginLeft","MozMarginLeft","WebkitMarginLeft","MSMarginLeft","OMarginLeft","marginRight","MozMarginRight","WebkitMarginRight","MSMarginRight","OMarginRight","marginTop","MozMarginTop","WebkitMarginTop","MSMarginTop","OMarginTop","mask","MozMask","WebkitMask","MSMask","OMask","maskClip","MozMaskCl
1ip","WebkitMaskClip","MSMaskClip","OMaskClip","maskComposite","MozMaskComposite","WebkitMaskComposite","MSMaskComposite","OMaskComposite","maskImage","MozMaskImage","WebkitMaskImage","MSMaskImage","OMaskImage","maskMode","MozMaskMode","WebkitMaskMode","MSMaskMode","OMaskMode","maskOrigin","MozMaskOrigin","WebkitMaskOrigin","MSMaskOrigin","OMaskOrigin","maskPosition","MozMaskPosition","WebkitMaskPosition","MSMaskPosition","OMaskPosition","maskRepeat","MozMaskRepeat","WebkitMaskRepeat","MSMaskRepeat","OMaskRepeat","maskSize","MozMaskSize","WebkitMaskSize","MSMaskSize","OMaskSize","maskType","MozMaskType","WebkitMaskType","MSMaskType","OMaskType","maxHeight","MozMaxHeight","WebkitMaxHeight","MSMaxHeight","OMaxHeight","maxWidth","MozMaxWidth","WebkitMaxWidth","MSMaxWidth","OMaxWidth","minBlockSize","MozMinBlockSize","WebkitMinBlockSize","MSMinBlockSize","OMinBlockSize","minHeight","MozMinHeight","WebkitMinHeight","MSMinHeight","OMinHeight","minInlineSize","MozMinInlineSize","WebkitMinInlineSize","MSMinInlineSize","OMinInlineSize","minWidth","MozMinWidth","WebkitMinWidth","MSMinWidth","OMinWidth","mixBlendMode","MozMixBlendMode","WebkitMixBlendMode","MSMixBlendMode","OMixBlendMode","mm","MozMm","WebkitMm","MSMm","OMm","ms","MozMs","WebkitMs","MSMs","OMs","objectFit","MozObjectFit","WebkitObjectFit","MSObjectFit","OObjectFit","objectPosition","MozObjectPosition","WebkitObjectPosition","MSObjectPosition","OObjectPosition","offsetBlockEnd","MozOffsetBlockEnd","WebkitOffsetBlockEnd","MSOffsetBlockEnd","OOffsetBlockEnd","offsetBlockStart","MozOffsetBlockStart","WebkitOffsetBlockStart","MSOffsetBlockStart","OOffsetBlockStart","offsetInlineEnd","MozOffsetInlineEnd","WebkitOffsetInlineEnd","MSOffsetInlineEnd","OOffsetInlineEnd","offsetInlineStart","MozOffsetInlineStart","WebkitOffsetInlineStart","MSOffsetInlineStart","OOffsetInlineStart","opacity","MozOpacity","WebkitOpacity","MSOpacity","OOpacity","order","MozOrder","WebkitOrder","MSOrder","OOrder","orphans","MozOrphans","WebkitOrphans","MSOrphans","OOrphans","outline","MozOutline","WebkitOutline","MSOutline","OOutline","outlineColor","MozOutlineColor","WebkitOutlineColor","MSOutlineColor","OOutlineColor","outlineOffset","MozOutlineOffset","WebkitOutlineOffset","MSOutlineOffset","OOutlineOffset","outlineStyle","MozOutlineStyle","WebkitOutlineStyle","MSOutlineStyle","OOutlineStyle","outlineWidth","MozOutlineWidth","WebkitOutlineWidth","MSOutlineWidth","OOutlineWidth","overflow","MozOverflow","WebkitOverflow","MSOverflow","OOverflow","overflowWrap","MozOverflowWrap","WebkitOverflowWrap","MSOverflowWrap","OOverflowWrap","overflowX","MozOverflowX","WebkitOverflowX","MSOverflowX","OOverflowX","overflowY","MozOverflowY","WebkitOverflowY","MSOverflowY","OOverflowY","padding","MozPadding","WebkitPadding","MSPadding","OPadding","paddingBlockEnd","MozPaddingBlockEnd","WebkitPaddingBlockEnd","MSPaddingBlockEnd","OPaddingBlockEnd","paddingBlockStart","MozPaddingBlockStart","WebkitPaddingBlockStart","MSPaddingBlockStart","OPaddingBlockStart","paddingBottom","MozPaddingBottom","WebkitPaddingBottom","MSPaddingBottom","OPaddingBottom","paddingInlineEnd","MozPaddingInlineEnd","WebkitPaddingInlineEnd","MSPaddingInlineEnd","OPaddingInlineEnd","paddingInlineStart","MozPaddingInlineStart","WebkitPaddingInlineStart","MSPaddingInlineStart","OPaddingInlineStart","paddingLeft","MozPaddingLeft","WebkitPaddingLeft","MSPaddingLeft","OPaddingLeft","paddingRight","MozPaddingRight","WebkitPaddingRight","MSPaddingRight","OPaddingRight","paddingTop","MozPaddingTop","WebkitPaddingTop","MSPaddingTop","OPaddingTop","pageBreakAfter","MozPageBreakAfter","WebkitPageBreakAfter","MSPageBreakAfter","OPageBreakAfter","pageBreakBefore","MozPageBreakBefore","WebkitPageBreakBefore","MSPageBreakBefore","OPageBreakBefore","pageBreakInside","MozPageBreakInside","WebkitPageBreakInside","MSPageBreakInside","OPageBreakInside","pc","MozPc","WebkitPc","MSPc","OPc","perspective","MozPerspective","WebkitPerspective","MSPerspective","OPerspective","perspectiveOrigin","MozPerspectiveOrigin","WebkitPerspectiveOrigin","MSPerspectiveOrigin","OPerspectiveOrigin","pointerEvents","MozPointerEvents","WebkitPointerEvents","MSPointerEvents","OPointerEvents","position","MozPosition","WebkitPosition","MSPosition","OPosition","pt","MozPt","WebkitPt","MSPt","OPt","px","MozPx","WebkitPx","MSPx","OPx","q","MozQ","WebkitQ","MSQ","OQ","quotes","MozQuotes","WebkitQuotes","MSQuotes","OQuotes","rad","MozRad","WebkitRad","MSRad","ORad","rem","MozRem","WebkitRem","MSRem","ORem","resize","MozResize","WebkitResize","MSResize","OResize","revert","MozRevert","WebkitRevert","MSRevert","ORevert","right","MozRight","WebkitRight","MSRight","ORight","rubyAlign","MozRubyAlign","WebkitRubyAlign","MSRubyAlign","ORubyAlign","rubyMerge","MozRubyMerge","WebkitRubyMerge","MSRubyMerge","ORubyMerge","rubyPosition","MozRubyPosition","WebkitRubyPosition","MSRubyPosition","ORubyPosition","s","MozS","WebkitS","MSS","OS","scrollBehavior","MozScrollBehavior","WebkitScrollBehavior","MSScrollBehavior","OScrollBehavior","scrollSnapCoordinate","MozScrollSnapCoordinate","WebkitScrollSnapCoordinate","MSScrollSnapCoordinate","OScrollSnapCoordinate","scrollSnapDestination","MozScrollSnapDestination","WebkitScrollSnapDestination","MSScrollSnapDestination","OScrollSnapDestination","scrollSnapType","MozScrollSnapType","WebkitScrollSnapType","MSScrollSnapType","OScrollSnapType","shapeImageThreshold","MozShapeImageThreshold","WebkitShapeImageThreshold","MSShapeImageThreshold","OShapeImageThreshold","shapeMargin","MozShapeMargin","WebkitShapeMargin","MSShapeMargin","OShapeMargin","shapeOutside","MozShapeOutside","WebkitShapeOutside","MSShapeOutside","OShapeOutside","tabSize","MozTabSize","WebkitTabSize","MSTabSize","OTabSize","tableLayout","MozTableLayout","WebkitTableLayout","MSTableLayout","OTableLayout","textAlign","MozTextAlign","WebkitTextAlign","MSTextAlign","OTextAlign","textAlignLast","MozTextAlignLast","WebkitTextAlignLast","MSTextAlignLast","OTextAlignLast","textCombineUpright","MozTextCombineUpright","WebkitTextCombineUpright","MSTextCombineUpright","OTextCombineUpright","textDecoration","MozTextDecoration","WebkitTextDecoration","MSTextDecoration","OTextDecoration","textDecorationColor","MozTextDecorationColor","WebkitTextDecorationColor","MSTextDecorationColor","OTextDecorationColor","textDecorationLine","MozTextDecorationLine","WebkitTextDecorationLine","MSTextDecorationLine","OTextDecorationLine","textDecorationStyle","MozTextDecorationStyle","WebkitTextDecorationStyle","MSTextDecorationStyle","OTextDecorationStyle","textEmphasis","MozTextEmphasis","WebkitTextEmphasis","MSTextEmphasis","OTextEmphasis","textEmphasisColor","MozTextEmphasisColor","WebkitTextEmphasisColor","MSTextEmphasisColor","OTextEmphasisColor","textEmphasisPosition","MozTextEmphasisPosition","WebkitTextEmphasisPosition","MSTextEmphasisPosition","OTextEmphasisPosition","textEmphasisStyle","MozTextEmphasisStyle","WebkitTextEmphasisStyle","MSTextEmphasisStyle","OTextEmphasisStyle","textIndent","MozTextIndent","WebkitTextIndent","MSTextIndent","OTextIndent","textOrientation","MozTextOrientation","WebkitTextOrientation","MSTextOrientation","OTextOrientation","textOverflow","MozTextOverflow","WebkitTextOverflow","MSTextOverflow","OTextOverflow","textRendering","MozTextRendering","WebkitTextRendering","MSTextRendering","OTextRendering","textShadow","MozTextShadow","WebkitTextShadow","MSTextShadow","OTextShadow","textTransform","MozTextTransform","WebkitTextTransform","MSTextTransform","OTextTransform","textUnderlinePosition","MozTextUnderlinePosition","WebkitTextUnderlinePosition","MSTextUnderlinePosition","OTextUnderlinePosition","top","MozTop","WebkitTop","MSTop","OTop","touchAction","MozTouchAction","WebkitTouchAction","MSTouchAction","OTouchAction","transform","MozTransform","WebkitTransform","msTransform","OTransform","transformBox","MozTransformBox","WebkitTransformBox","MSTransformBox","OTransformBox","transformOrigin","MozTransformOrigin","WebkitTransformOrigin","MSTransformOrigin","OTransformOrigin","transformStyle","MozTransformStyle","WebkitTransformStyle","MSTransformStyle","OTransformStyle","transition","MozTransition","WebkitTransition","MSTransition","OTransition","transitionDelay","MozTransitionDelay","WebkitTransitionDelay","MSTransitionDelay","OTransitionDelay","transitionDuration","MozTransitionDuration","WebkitTransitionDuration","MSTransitionDuration","OTransitionDuration","transitionProperty","MozTransitionProperty","WebkitTransitionProperty","MSTransitionProperty","OTransitionProperty","transitionTimingFunction","MozTransitionTimingFunction","WebkitTransitionTimingFunction","MSTransitionTimingFunction","OTransitionTimingFunction","turn","MozTurn","WebkitTurn","MSTurn","OTurn","unicodeBidi","MozUnicodeBidi","WebkitUnicodeBidi","MSUnicodeBidi","OUnicodeBidi","unset","MozUnset","WebkitUnset","MSUnset","OUnset","verticalAlign","MozVerticalAlign","WebkitVerticalAlign","MSVerticalAlign","OVerticalAlign","vh","MozVh","WebkitVh","MSVh","OVh","visibility","MozVisibility","WebkitVisibility","MSVisibility","OVisibility","vmax","MozVmax","WebkitVmax","MSVmax","OVmax","vmin","MozVmin","WebkitVmin","MSVmin","OVmin","vw","MozVw","WebkitVw","MSVw","OVw","whiteSpace","MozWhiteSpace","WebkitWhiteSpace","MSWhiteSpace","OWhiteSpace","widows","MozWidows","WebkitWidows","MSWidows","OWidows","width","MozWidth","WebkitWidth","MSWidth","OWidth","willChange","MozWillChange","WebkitWillChange","MSWillChange","OWillChange","wordBreak","MozWordBreak","WebkitWordBreak","MSWordBreak","OWordBreak","wordSpacing","MozWordSpacing","WebkitWordSpacing","MSWordSpacing","OWordSpacing","wordWrap","MozWordWrap","WebkitWordWrap","MSWordWrap","OWordWrap","writingMode","MozWritingMode","WebkitWritingMode","MSWritingMode","OWritingMode","zIndex","MozZIndex","WebkitZIndex","MSZIndex","OZIndex","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","flex","MozFlex","WebkitFlex","MSFlex","OFlex","fr","MozFr","WebkitFr","MSFr","OFr","overflowScrolling","MozOverflowScrolling","WebkitOverflowScrolling","MSOverflowScrolling","OOverflowScrolling","userSelect","MozUserSelect","WebkitUserSelect","MSUserSelect","OUserSelect"]},96290:function(e,t,i){var n=i(85648),r=i(40718);e.exports=function(e,t,i){var r=e[t];if(r){var o=[];if(Object.keys(r).forEach(function(e){-1===n.indexOf(e)&&o.push(e)}
vendor: 4,698 bytes, line 1
1),o.length)throw Error("Prop "+t+" passed to "+i+". Has invalid keys "+o.join(", "))}},e.exports.isRequired=function(t,i,n){if(!t[i])throw Error("Prop "+i+" passed to "+n+" is required");return e.exports(t,i,n)},e.exports.supportingArrays=r.oneOfType([r.arrayOf(e.exports),e.exports])},39063:function(e,t,i){"use strict";let n;i.d(t,{BO:function(){return ey},D0:function(){return eg},Gz:function(){return eT},IS:function(){return eF},Py:function(){return ec},QQ:function(){return I},Wl:function(){return G},Xs:function(){return ew},YW:function(){return eh},as:function(){return P},bg:function(){return v},cp:function(){return O},f_:function(){return eD},gc:function(){return D},gm:function(){return y},jT:function(){return B},n0:function(){return Q},nZ:function(){return S},q6:function(){return ea},r$:function(){return j},uU:function(){return ev},xv:function(){return r},yy:function(){return eb}});class r{lineAt(e){if(e<0||e>this.length)throw 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 RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){[e,t]=d(this,e,t);let n=[];return this.decompose(0,e,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(t,this.length,n,1),s.from(n,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=d(this,e,t);let i=[];return this.decompose(e,t,i,0),s.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),n=new l(this),r=new l(e);for(let e=t,o=t;;){if(n.next(e),r.next(e),e=0,n.lineBreak!=r.lineBreak||n.done!=r.done||n.value!=r.value)return!1;if(o+=n.value.length,n.done||o>=i)return!0}}iter(e=1){return new l(this,e)}iterRange(e,t=this.length){return new u(this,e,t)}iterLines(e,t){let i;if(null==e)i=this.iter();else{null==t&&(t=this.lines+1);let n=this.line(e).from;i=this.iterRange(n,Math.max(n,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new c(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new o(e):s.from(o.split(e,[])):r.empty}}class o extends r{constructor(e,t=function(e){let t=-1;for(let i of e)t+=i.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,n){for(let r=0;;r++){let o=this.text[r],s=n+o.length;if((t?i:s)>=e)return new h(n,s,i,o);n=s+1,i++}}decompose(e,t,i,n){let r=e<=0&&t>=this.length?this:new o(a(this.text,[""],e,t),Math.min(t,this.length)-Math.max(0,e));if(1&n){let e=i.pop(),t=a(r.text,e.text.slice(),0,r.length);if(t.length<=32)i.push(new o(t,e.length+r.length));else{let e=t.length>>1;i.push(new o(t.slice(0,e)),new o(t.slice(e)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof o))return super.replace(e,t,i);[e,t]=d(this,e,t);let n=a(this.text,a(i.text,a(this.text,[""],0,e)),t),r=this.length+i.length-(t-e);return n.length<=32?new o(n,r):s.from(o.split(n,[]),r)}sliceString(e,t=this.length,i="\n"){[e,t]=d(this,e,t);let n="";for(let r=0,o=0;r<=t&&o<this.text.length;o++){let s=this.text[o],a=r+s.length;r>e&&o&&(n+=i),e<a&&t>r&&(n+=s.slice(Math.max(0,e-r),t-r)),r=a+1}return n}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],n=-1;for(let r of e)i.push(r),n+=r.length+1,32==i.length&&(t.push(new o(i,n)),i=[],n=-1);return n>-1&&t.push(new o(i,n)),t}}class s extends r{constructor(e,t){for(let i of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=i.lines}lineInner(e,t,i,n){for(let r=0;;r++){let o=this.children[r],s=n+o.length,a=i+o.lines-1;if((t?a:s)>=e)return o.lineInner(e,t,i,n);n=s+1,i=a+1}}decompose(e,t,i,n){for(let r=0,o=0;o<=t&&r<this.children.length;r++){let s=this.children[r],a=o+s.length;if(e<=a&&t>=o){let r=n&((o<=e?1:0)|(a>=t?2:0));o>=e&&a<=t&&!r?i.push(s):s.decompose(e-o,t-o,i,r)}o=a+1}}replace(e,t,i){if([e,t]=d(this,e,t),i.lines<this.lines)for(let n=0,r=0;n<this.children.length;n++){let o=this.children[n],a=r+o.length;if(e>=r&&t<=a){let l=o.replace(e-r,t-r,i),u=this.lines-o.lines+l.lines;if(l.lines<u>>4&&l.lines>u>>6){let r=this.children.slice();return r[n]=l,new s(r,this.length-(t-e)+i.length)}return super.replace(r,a,l)}r=a+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i="\n"){[e,t]=d(this,e,t);let n="";for(let r=0,o=0;r<this.children.length&&o<=t;r++){let s=this.children[r],a=o+s.length;o>e&&r&&(n+=i),e<a&&t>
1o&&(n+=s.sliceString(e-o,t-o,i)),o=a+1}return n}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof s))return 0;let i=0,[n,r,o,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=t,r+=t){if(n==o||r==a)return i;let s=this.children[n],l=e.children[r];if(s!=l)return i+s.scanIdentical(l,t);i+=s.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let i=0;for(let t of e)i+=t.lines;if(i<32){let i=[];for(let t of e)t.flatten(i);return new o(i,t)}let n=Math.max(32,i>>5),r=n<<1,a=n>>1,l=[],u=0,c=-1,h=[];function d(){0!=u&&(l.push(1==h.length?h[0]:s.from(h,c)),c=-1,u=h.length=0)}for(let t of e)!function e(t){let i;if(t.lines>r&&t instanceof s)for(let i of t.children)e(i);else t.lines>a&&(u>a||!u)?(d(),l.push(t)):t instanceof o&&u&&(i=h[h.length-1])instanceof o&&t.lines+i.lines<=32?(u+=t.lines,c+=t.length+1,h[h.length-1]=new o(i.text.concat(t.text),i.length+1+t.length)):(u+t.lines>n&&d(),u+=t.lines,c+=t.length+1,h.push(t))}(t);return d(),1==l.length?l[0]:new s(l,t)}}function a(e,t,i=0,n=1e9){for(let r=0,o=0,s=!0;o<e.length&&r<=n;o++){let a=e[o],l=r+a.length;l>=i&&(l>n&&(a=a.slice(0,n-r)),r<i&&(a=a.slice(i-r)),s?(t[t.length-1]+=a,s=!1):t.push(a)),r=l+1}return t}r.empty=new o([""],0);class l{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof o?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,n=this.nodes[i],r=this.offsets[i],s=r>>1,a=n instanceof o?n.text.length:n.children.length;if(s==(t>0?a:0)){if(0==i)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[i]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(n instanceof o){let r=n.text[s+(t<0?-1:0)];if(this.offsets[i]+=t,r.length>Math.max(0,e))return this.value=0==e?r:t>0?r.slice(e):r.slice(0,r.length-e),this;e-=r.length}else{let r=n.children[s+(t<0?-1:0)];e>r.length?(e-=r.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(r),this.offsets.push(t>0?1:(r instanceof o?r.text.length:r.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class u{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new l(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:n}=this.cursor.next(e);return this.pos+=(n.length+e)*t,this.value=n.length<=i?n:t<0?n.slice(n.length-i):n.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 c{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:n}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.iter()},l.prototype[Symbol.iterator]=u.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=function(){return this});class h{constructor(e,t,i,n){this.from=e,this.to=t,this.number=i,this.text=n}get length(){return this.to-this.from}}function d(e,t,i){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,i))]}let f="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(e=>e?parseInt(e,36):1);for(let e=1;e<f.length;e++)f[e]+=f[e-1];function p(e){return e>=127462&&e<=127487}function O(e,t,i=!0,n=!0){return(i?g:function(e,t,i){for(;t>0;){let n=g(e,t-2,i);if(n<t)return n;t--}return 0})(e,t,n)}function g(e,t,i){if(t==e.length)return t;t&&m(e.charCodeAt(t))&&b(e.charCodeAt(t-1))&&t--;let n=y(e,t);for(t+=S(n);t<e.length;){let r=y(e,t);if(8205==n||8205==r||i&&function(e){for(let t=1;t<f.length;t+=2)if(f[t]>e)return f[t-1]<=e;return!1}(r))t+=S(r),n=r;else if(p(r)){let i=0,n=t-2;for(;n>=0&&p(y(e,n));)i++,n-=2;if(i%2==0)break;t+=2}else break}return t}function m(e){return e>=56320&&e<57344}function b(e){return e>=55296&&e<56320}function y(e,t){let i=e.charCodeAt(t);if(!b(i)||t+1==e.length)return i;let n=e.charCodeAt(t+1);return m(n)?(i-55296<<10)+(n-56320)+65536:i}function v(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function S(e){return e<65536?1:2}let x=/\r\n?|\n/;var k,w,D=((k=D||(D={}))[k.Simple=0]="Simple",k[k.TrackDel=1]="TrackDel",k[k.TrackBefore=2]="TrackBefore",k[k.TrackAfter=3]="TrackAfter",k);class Q{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let i=this.sections[t+1];e+=i<0?this.sections[t]:i}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,i=0,n=0;t<this.sections.length;){let r=this.sections[t++],o=this.sections[t++];o<0?(e(i,n,r),n+=r):n+=o,i+=r}}iterChangedRanges(e,t=!1){Z(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let i=this.sections[t++],n=this.sections[t++];n<0?e.push(i,n):e.push(n,i)}return new Q(e)}composeDesc(e){return this.empty?e:e.empty?this:E(this,e)}mapDesc(e,t=!1){return e.empty?this:A(this,e,t)}mapPos(e,t=-1,i=D.Simple){let n=0,r=0;for(let o=0;o<this.sections.length;){let s=this.sections[o++],a=this.sections[o++],l=n+s;
1if(a<0){if(l>e)return r+(e-n);r+=s}else{if(i!=D.Simple&&l>=e&&(i==D.TrackDel&&n<e&&l>e||i==D.TrackBefore&&n<e||i==D.TrackAfter&&l>e))return null;if(l>e||l==e&&t<0&&!s)return e==n||t<0?r:r+a;r+=a}n=l}if(e>n)throw RangeError(`Position ${e} is out of range for changeset of length ${n}`);return r}touchesRange(e,t=e){for(let i=0,n=0;i<this.sections.length&&n<=t;){let r=this.sections[i++],o=this.sections[i++],s=n+r;if(o>=0&&n<=t&&s>=e)return!(n<e)||!(s>t)||"cover";n=s}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let i=this.sections[t++],n=this.sections[t++];e+=(e?" ":"")+i+(n>=0?":"+n:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new Q(e)}static create(e){return new Q(e)}}class P extends Q{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return Z(this,(t,i,n,r,o)=>e=e.replace(n,n+(i-t),o),!1),e}mapDesc(e,t=!1){return A(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let n=0,o=0;n<t.length;n+=2){let s=t[n],a=t[n+1];if(a>=0){t[n]=a,t[n+1]=s;let l=n>>1;for(;i.length<l;)i.push(r.empty);i.push(s?e.slice(o,o+s):r.empty)}o+=s}return new P(t,i)}compose(e){return this.empty?e:e.empty?this:E(this,e,!0)}map(e,t=!1){return e.empty?this:A(this,e,t,!0)}iterChanges(e,t=!1){Z(this,e,t)}get desc(){return Q.create(this.sections)}filter(e){let t=[],i=[],n=[],r=new M(this);n:for(let o=0,s=0;;){let a=o==e.length?1e9:e[o++];for(;s<a||s==a&&0==r.len;){if(r.done)break n;let e=Math.min(r.len,a-s);C(n,e,-1);let o=-1==r.ins?-1:0==r.off?r.ins:0;C(t,e,o),o>0&&$(i,t,r.text),r.forward(e),s+=e}let l=e[o++];for(;s<l;){if(r.done)break n;let e=Math.min(r.len,l-s);C(t,e,-1),C(n,e,-1==r.ins?-1:0==r.off?r.ins:0),r.forward(e),s+=e}}return{changes:new P(t,i),filtered:Q.create(n)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let i=this.sections[t],n=this.sections[t+1];n<0?e.push(i):0==n?e.push([i]):e.push([i].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,i){let n=[],o=[],s=0,a=null;function l(e=!1){if(!e&&!n.length)return;s<t&&C(n,t-s,-1);let i=new P(n,o);a=a?a.compose(i.map(a)):i,n=[],o=[],s=0}return!function e(u){if(Array.isArray(u))for(let t of u)e(t);else if(u instanceof P){if(u.length!=t)throw RangeError(`Mismatched change set length (got ${u.length}, expected ${t})`);l(),a=a?a.compose(u.map(a)):u}else{let{from:e,to:a=e,insert:c}=u;if(e>a||e<0||a>t)throw RangeError(`Invalid change range ${e} to ${a} (in doc of length ${t})`);let h=c?"string"==typeof c?r.of(c.split(i||x)):c:r.empty,d=h.length;if(e==a&&0==d)return;e<s&&l(),e>s&&C(n,e-s,-1),C(n,a-e,d),$(o,n,h),s=a}}(e),l(!a),a}static empty(e){return new P(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let n=0;n<e.length;n++){let o=e[n];if("number"==typeof o)t.push(o,-1);else if(!Array.isArray(o)||"number"!=typeof o[0]||o.some((e,t)=>t&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==o.length)t.push(o[0],0);else{for(;i.length<n;)i.push(r.empty);i[n]=r.of(o.slice(1)),t.push(o[0],i[n].length)}}return new P(t,i)}static createSet(e,t){return new P(e,t)}}function C(e,t,i,n=!1){if(0==t&&i<=0)return;let r=e.length-2;r>=0&&i<=0&&i==e[r+1]?e[r]+=t:0==t&&0==e[r]?e[r+1]+=i:n?(e[r]+=t,e[r+1]+=i):e.push(t,i)}function $(e,t,i){if(0==i.length)return;let n=t.length-2>>1;if(n<e.length)e[e.length-1]=e[e.length-1].append(i);else{for(;e.length<n;)e.push(r.empty);e.push(i)}}function Z(e,t,i){let n=e.inserted;for(let o=0,s=0,a=0;a<e.sections.length;){let l=e.sections[a++],u=e.sections[a++];if(u<0)o+=l,s+=l;else{let c=o,h=s,d=r.empty;for(;c+=l,h+=u,u&&n&&(d=d.append(n[a-2>>1])),!i&&a!=e.sections.length&&!(e.sections[a+1]<0);)l=e.sections[a++],u=e.sections[a++];t(o,c,s,h,d),o=c,s=h}}}function A(e,t,i,n=!1){let r=[],o=n?[]:null,s=new M(e),a=new M(t);for(let e=-1;;)if(-1==s.ins&&-1==a.ins){let e=Math.min(s.len,a.len);C(r,e,-1),s.forward(e),a.forward(e)}else if(a.ins>=0&&(s.ins<0||e==s.i||0==s.off&&(a.len<s.len||a.len==s.len&&!i))){let t=a.len;for(C(r,a.ins,-1);t;){let i=Math.min(s.len,t);s.ins>=0&&e<s.i&&s.len<=i&&(C(r,0,s.ins),o&&$(o,r,s.text),e=s.i),s.forward(i),t-=i}a.next()}else if(s.ins>=0){let t=0,i=s.len;for(;i;)if(-1==a.ins){let e=Math.min(i,a.len);t+=e,i-=e,a.forward(e)}else if(0==a.ins&&a.len<i)i-=a.len,a.next();else break;C(r,t,e<s.i?s.ins:0),o&&e<s.i&&$(o,r,s.text),e=s.i,s.forward(s.len-i)}else if(s.done&&a.done)return o?P.createSet(r,o):Q.create(r);else throw Error("Mismatched change set lengths")}function E(e,t,i=!1){let n=[],r=i?[]:null,o=new M(e),s=new M(t);for(let e=!1;;){if(o.done&&s.done)return r?P.createSet(n,r):Q.create(n);if(0==o.ins)C(n,o.len,0,e),o.next();else if(0!=s.len||s.done){if(o.done||s.done)throw Error("Mismatched change set lengths");{let t=Math.min(o.len2,s.len),i=n.length;if(-1==o.ins){let i=-1==s.ins?-1:s.off?0:s.ins;C(n,t,i,e),r&&i&&$(r,n,s.text)}else -1==s.ins?(C(n,o.off?0:o.len,t,e),r&&$(r,n,o.textBit(t))):(C(n,o.off?0:o.len,s.off?0:s.ins,e),r&&!s.off&&$(r,n,s.text));e=(o.ins>t||s.ins>=0&&s.len>t)&&(e||n.length>i),o.forward2(t),s.forward(t)}}else C(n,0,s.ins,e),r&&$(r,n,s.text),s.next()}}class M{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return -2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?r.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?r.empty:t[i].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}
vendor: 4,258 bytes, line 1
1forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class W{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 16777215==e?void 0:e}map(e,t=-1){let i,n;return this.empty?i=n=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),n=e.mapPos(this.to,-1)),i==this.from&&n==this.to?this:new W(i,n,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return B.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return B.range(this.anchor,i)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return B.range(e.anchor,e.head)}static create(e,t,i){return new W(e,t,i)}}class B{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:B.create(this.ranges.map(i=>i.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let i=0;i<this.ranges.length;i++)if(!this.ranges[i].eq(e.ranges[i],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new B([this.main],0)}addRange(e,t=!0){return B.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let i=this.ranges.slice();return i[t]=e,B.create(i,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new B(e.ranges.map(e=>W.fromJSON(e)),e.main)}static single(e,t=e){return new B([B.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let i=0,n=0;n<e.length;n++){let r=e[n];if(r.empty?r.from<=i:r.from<i)return B.normalized(e.slice(),t);i=r.to}return new B(e,t)}static cursor(e,t=0,i,n){return W.create(e,e,(0==t?0:t<0?8:16)|(null==i?7:Math.min(6,i))|(null!=n?n:16777215)<<6)}static range(e,t,i,n){let r=(null!=i?i:16777215)<<6|(null==n?7:Math.min(6,n));return t<e?W.create(t,e,48|r):W.create(e,t,(t>e?8:0)|r)}static normalized(e,t=0){let i=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(i);for(let i=1;i<e.length;i++){let n=e[i],r=e[i-1];if(n.empty?n.from<=r.to:n.from<r.to){let o=r.from,s=Math.max(n.to,r.to);i<=t&&t--,e.splice(--i,2,n.anchor>n.head?B.range(s,o):B.range(o,s))}}return new B(e,t)}}function F(e,t){for(let i of e.ranges)if(i.to>t)throw RangeError("Selection points outside of document")}let T=0;class j{constructor(e,t,i,n,r){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=n,this.id=T++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}get reader(){return this}static define(e={}){return new j(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:R),!!e.static,e.enables)}of(e){return new z([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new z(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new z(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],i=>t(i.field(e)))}}function R(e,t){return e==t||e.length==t.length&&e.every((e,i)=>e===t[i])}class z{constructor(e,t,i,n){this.dependencies=e,this.facet=t,this.type=i,this.value=n,this.id=T++}dynamicSlot(e){var t;let i=this.value,n=this.facet.compareInput,r=this.id,o=e[r]>>1,s=2==this.type,a=!1,l=!1,u=[];for(let i of this.dependencies)"doc"==i?a=!0:"selection"==i?l=!0:((null!==(t=e[i.id])&&void 0!==t?t:1)&1)==0&&u.push(e[i.id]);return{create:e=>(e.values[o]=i(e),1),update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||Y(e,u)){let t=i(e);if(s?!_(t,e.values[o],n):!n(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>
1{let a,l=t.config.address[r];if(null!=l){let r=K(t,l);if(this.dependencies.every(i=>i instanceof j?t.facet(i)===e.facet(i):!(i instanceof I)||t.field(i,!1)==e.field(i,!1))||(s?_(a=i(e),r,n):n(a=i(e),r)))return e.values[o]=r,0}else a=i(e);return e.values[o]=a,1}}}}function _(e,t,i){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1;return!0}function Y(e,t){let i=!1;for(let n of t)1&J(e,n)&&(i=!0);return i}let X=j.define({static:!0});class I{constructor(e,t,i,n,r){this.id=e,this.createF=t,this.updateF=i,this.compareF=n,this.spec=r,this.provides=void 0}static define(e){let t=new I(T++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(X).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,i)=>{let n=e.values[t],r=this.updateF(n,i);return this.compareF(n,r)?0:(e.values[t]=r,1)},reconfigure:(e,i)=>null!=i.config.address[this.id]?(e.values[t]=i.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,X.of({field:this,create:e})]}get extension(){return this}}let V={lowest:4,low:3,default:2,high:1,highest:0};function q(e){return t=>new U(t,e)}let G={highest:q(V.highest),high:q(V.high),default:q(V.default),low:q(V.low),lowest:q(V.lowest)};class U{constructor(e,t){this.inner=e,this.prec=t}}class L{of(e){return new N(this,e)}reconfigure(e){return L.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class N{constructor(e,t){this.compartment=e,this.inner=t}}class H{constructor(e,t,i,n,r,o){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=n,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<i.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,i){let n,r,o=[],s=Object.create(null),a=new Map;for(let i of(n=[[],[],[],[],[]],r=new Map,!function e(i,o){let s=r.get(i);if(null!=s){if(s<=o)return;let e=n[s].indexOf(i);e>-1&&n[s].splice(e,1),i instanceof N&&a.delete(i.compartment)}if(r.set(i,o),Array.isArray(i))for(let t of i)e(t,o);else if(i instanceof N){if(a.has(i.compartment))throw RangeError("Duplicate use of compartment in extensions");let n=t.get(i.compartment)||i.inner;a.set(i.compartment,n),e(n,o)}else if(i instanceof U)e(i.inner,i.prec);else if(i instanceof I)n[o].push(i),i.provides&&e(i.provides,o);else if(i instanceof z)n[o].push(i),i.facet.extensions&&e(i.facet.extensions,V.default);else{let t=i.extension;if(!t)throw Error(`Unrecognized extension value in extension set (${i}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(t,o)}}(e,V.default),n.reduce((e,t)=>e.concat(t))))i instanceof I?o.push(i):(s[i.facet.id]||(s[i.facet.id]=[])).push(i);let l=Object.create(null),u=[],c=[];for(let e of o)l[e.id]=c.length<<1,c.push(t=>e.slot(t));let h=null==i?void 0:i.config.facets;for(let e in s){let t=s[e],n=t[0].facet,r=h&&h[e]||[];if(t.every(e=>0==e.type)){if(l[n.id]=u.length<<1|1,R(r,t))u.push(i.facet(n));else{let e=n.combine(t.map(e=>e.value));u.push(i&&n.compare(e,i.facet(n))?i.facet(n):e)}}else{for(let e of t)0==e.type?(l[e.id]=u.length<<1|1,u.push(e.value)):(l[e.id]=c.length<<1,c.push(t=>e.dynamicSlot(t)));l[n.id]=c.length<<1,c.push(e=>(function(e,t,i){let n=i.map(t=>e[t.id]),r=i.map(e=>e.type),o=n.filter(e=>!(1&e)),s=e[t.id]>>1;function a(e){let i=[];for(let t=0;t<n.length;t++){let o=K(e,n[t]);if(2==r[t])for(let e of o)i.push(e);else i.push(o)}return t.combine(i)}return{create(e){for(let t of n)J(e,t);return e.values[s]=a(e),1},update(e,i){if(!Y(e,o))return 0;let n=a(e);return t.compare(n,e.values[s])?0:(e.values[s]=n,1)},reconfigure(e,r){let o=Y(e,n),l=r.config.facets[t.id],u=r.facet(t);if(l&&!o&&R(i,l))return e.values[s]=u,0;let c=a(e);return t.compare(c,u)?(e.values[s]=u,0):(e.values[s]=c,1)}}})(e,n,t))}}return new H(e,a,c.map(e=>e(l)),l,u,s)}}function J(e,t){if(1&t)return 2;let i=t>>1,n=e.status[i];if(4==n)throw Error("Cyclic dependency between fields and/or facets");if(2&n)return n;e.status[i]=4;let r=e.computeSlot(e,e.config.dynamicSlots[i]);return e.status[i]=2|r}function K(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let ee=j.define(),et=j.define({combine:e=>e.some(e=>e),static:!0}),ei=j.define({combine:e=>e.length?e[0]:void 0,static:!0}),en=j.define(),er=j.define(),eo=j.define(),es=j.define({combine:e=>!!e.length&&e[0]});class ea{constructor(e,t){this.type=e,this.value=t}static define(){return new el}}class el{of(e){return new ea(this,e)}}class eu{constructor(e){this.map=e}of(e){return new ec(this,e)}}class ec{constructor(e,t){this.type=e,this.value=t}
vendor: 1,992 bytes, line 1
1map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new ec(this.type,t)}is(e){return this.type==e}static define(e={}){return new eu(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let n of e){let e=n.map(t);e&&i.push(e)}return i}}ec.reconfigure=ec.define(),ec.appendConfig=ec.define();class eh{constructor(e,t,i,n,r,o){this.startState=e,this.changes=t,this.selection=i,this.effects=n,this.annotations=r,this.scrollIntoView=o,this._doc=null,this._state=null,i&&F(i,t.newLength),r.some(e=>e.type==eh.time)||(this.annotations=r.concat(eh.time.of(Date.now())))}static create(e,t,i,n,r,o){return new eh(e,t,i,n,r,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(eh.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ed(e,t,i){var n;let r,o,s;return i?(r=t.changes,o=P.empty(t.changes.length),s=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),s=e.changes.compose(r)),{changes:s,selection:t.selection?t.selection.map(o):null===(n=e.selection)||void 0===n?void 0:n.map(r),effects:ec.mapEffects(e.effects,r).concat(ec.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ef(e,t,i){let n=t.selection,r=eO(t.annotations);return t.userEvent&&(r=r.concat(eh.userEvent.of(t.userEvent))),{changes:t.changes instanceof P?t.changes:P.of(t.changes||[],i,e.facet(ei)),selection:n&&(n instanceof B?n:B.single(n.anchor,
1n.head)),effects:eO(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}eh.time=ea.define(),eh.userEvent=ea.define(),eh.addToHistory=ea.define(),eh.remote=ea.define();let ep=[];function eO(e){return null==e?ep:Array.isArray(e)?e:[e]}var eg=((w=eg||(eg={}))[w.Word=0]="Word",w[w.Space=1]="Space",w[w.Other=2]="Other",w);let em=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{n=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class eb{constructor(e,t,i,n,r,o){this.config=e,this.doc=t,this.selection=i,this.values=n,this.status=e.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)J(this,e<<1);this.computeSlot=null}field(e,t=!0){let i=this.config.address[e.id];if(null==i){if(t)throw RangeError("Field is not present in this state");return}return J(this,i),K(this,i)}update(...e){return function e(t,i,n){let r=ef(t,i.length?i[0]:{},t.doc.length);i.length&&!1===i[0].filter&&(n=!1);for(let e=1;e<i.length;e++){!1===i[e].filter&&(n=!1);let o=!!i[e].sequential;r=ed(r,ef(t,i[e],o?r.changes.newLength:t.doc.length),o)}let o=eh.create(t,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){let t=e.startState,i=t.facet(eo),n=e;for(let r=i.length-1;r>=0;r--){let o=i[r](e);o&&Object.keys(o).length&&(n=ed(n,ef(t,o,e.changes.newLength),!0))}return n==e?e:eh.create(t,e.changes,e.selection,n.effects,n.annotations,n.scrollIntoView)}(n?function(t){let i=t.startState,n=!0;for(let e of i.facet(en)){let i=e(t);if(!1===i){n=!1;break}Array.isArray(i)&&(n=!0===n?i:function(e,t){let i=[];for(let n=0,r=0;;){let o,s;if(n<e.length&&(r==t.length||t[r]>=e[n]))o=e[n++],s=e[n++];else{if(!(r<t.length))return i;o=t[r++],s=t[r++]}!i.length||i[i.length-1]<o?i.push(o,s):i[i.length-1]<s&&(i[i.length-1]=s)}}(n,i))}if(!0!==n){let e,r;if(!1===n)r=t.changes.invertedDesc,e=P.empty(i.doc.length);else{let i=t.changes.filter(n);e=i.changes,r=i.filtered.mapDesc(i.changes).invertedDesc}t=eh.create(i,e,t.selection&&t.selection.map(r),ec.mapEffects(t.effects,r),t.annotations,t.scrollIntoView)}let r=i.facet(er);for(let n=r.length-1;n>=0;n--){let o=r[n](t);t=o instanceof eh?o:Array.isArray(o)&&1==o.length&&o[0]instanceof eh?o[0]:e(i,eO(o),!1)}return t}(o):o)}(this,e,!0)}applyTransaction(e){let t,i=this.config,{base:n,compartments:r}=i;for(let t of e.effects)t.is(L.reconfigure)?(i&&(r=new Map,i.compartments.forEach((e,t)=>r.set(t,e)),i=null),r.set(t.value.compartment,t.value.extension)):t.is(ec.reconfigure)?(i=null,n=t.value):t.is(ec.appendConfig)&&(i=null,n=eO(n).concat(t.value));t=i?e.startState.values.slice():new eb(i=H.resolve(n,r,this),this.doc,this.selection,i.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let o=e.startState.facet(et)?e.newSelection:e.newSelection.asSingle();new eb(i,e.newDoc,o,t,(t,i)=>i.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:B.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),n=this.changes(i.changes),r=[i.range],o=eO(i.effects);for(let i=1;i<t.ranges.length;i++){let s=e(t.ranges[i]),a=this.changes(s.changes),l=a.map(n);for(let e=0;e<i;e++)r[e]=r[e].map(l);let u=n.mapDesc(a,!0);r.push(s.range.map(u)),n=n.compose(l),o=ec.mapEffects(o,l).concat(ec.mapEffects(eO(s.effects),u))}return{changes:n,selection:B.create(r,t.mainIndex),effects:o}}changes(e=[]){return e instanceof P?e:P.of(e,this.doc.length,this.facet(eb.lineSeparator))}toText(e){return r.of(e.split(this.facet(eb.lineSeparator)||x))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(J(this,t),K(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let i in e){let n=e[i];n instanceof I&&null!=this.config.address[n.id]&&(t[i]=n.spec.toJSON(this.field(e[i]),this))}return t}static fromJSON(e,t={},i){if(!e||"string"!=typeof e.doc)throw RangeError("Invalid JSON representation for EditorState");let n=[];if(i){for(let t in i)if(Object.prototype.hasOwnProperty.call(e,t)){let r=i[t],o=e[t];n.push(r.init(e=>r.spec.fromJSON(o,e)))}}return eb.create({doc:e.doc,selection:B.fromJSON(e.selection),extensions:t.extensions?n.concat([t.extensions]):n})}static create(e={}){let t=H.resolve(e.extensions||[],new Map),i=e.doc instanceof r?e.doc:r.of((e.doc||"").split(t.staticFacet(eb.lineSeparator)||x)),n=e.selection?e.selection instanceof B?e.selection:B.single(e.selection.anchor,e.selection.head):B.single(0);return F(n,i.length),t.staticFacet(et)||(n=n.asSingle()),new eb(t,i,n,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(eb.tabSize)}get lineBreak(){return this.facet(eb.lineSeparator)||"\n"}get readOnly(){return this.facet(es)}phrase(e,...t){for(let t of this.facet(eb.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,i)=>{if("$"==i)return"$";let n=+(i||1);return!n||n>t.length?e:t[n-1]})),e}languageDataAt(e,t,i=-1){let n=[];for(let r of this.facet(ee))for(let o of r(this,t,i))Object.prototype.hasOwnProperty.call(o,e)&&n.push(o[e]);return n}charCategorizer(e){var t;return t=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return eg.Space;if(function(e){if(n)return n.test(e);for(let t=0;t<e.length;t++){let i=e[t];
vendor: 11,342 bytes, line 1
1if(/\w/.test(i)||i>"\x80"&&(i.toUpperCase()!=i.toLowerCase()||em.test(i)))return!0}return!1}(e))return eg.Word;for(let i=0;i<t.length;i++)if(e.indexOf(t[i])>-1)return eg.Word;return eg.Other}}wordAt(e){let{text:t,from:i,length:n}=this.doc.lineAt(e),r=this.charCategorizer(e),o=e-i,s=e-i;for(;o>0;){let e=O(t,o,!1);if(r(t.slice(e,o))!=eg.Word)break;o=e}for(;s<n;){let e=O(t,s);if(r(t.slice(s,e))!=eg.Word)break;s=e}return o==s?null:B.range(o+i,s+i)}}function ey(e,t,i={}){let n={};for(let t of e)for(let e of Object.keys(t)){let r=t[e],o=n[e];if(void 0===o)n[e]=r;else if(o===r||void 0===r);else if(Object.hasOwnProperty.call(i,e))n[e]=i[e](o,r);else throw Error("Config merge conflict for field "+e)}for(let e in t)void 0===n[e]&&(n[e]=t[e]);return n}eb.allowMultipleSelections=et,eb.tabSize=j.define({combine:e=>e.length?e[0]:4}),eb.lineSeparator=ei,eb.readOnly=es,eb.phrases=j.define({compare(e,t){let i=Object.keys(e),n=Object.keys(t);return i.length==n.length&&i.every(i=>e[i]==t[i])}}),eb.languageData=ee,eb.changeFilter=en,eb.transactionFilter=er,eb.transactionExtender=eo,L.reconfigure=ec.define();class ev{eq(e){return this==e}range(e,t=e){return eS.create(e,t,this)}}ev.prototype.startSide=ev.prototype.endSide=0,ev.prototype.point=!1,ev.prototype.mapMode=D.TrackDel;class eS{constructor(e,t,i){this.from=e,this.to=t,this.value=i}static create(e,t,i){return new eS(e,t,i)}}function ex(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class ek{constructor(e,t,i,n){this.from=e,this.to=t,this.value=i,this.maxPoint=n}get length(){return this.to[this.to.length-1]}findIndex(e,t,i,n=0){let r=i?this.to:this.from;for(let o=n,s=r.length;;){if(o==s)return o;let n=o+s>>1,a=r[n]-e||(i?this.value[n].endSide:this.value[n].startSide)-t;if(n==o)return a>=0?o:s;a>=0?s=n:o=n+1}}between(e,t,i,n){for(let r=this.findIndex(t,-1e9,!0),o=this.findIndex(i,1e9,!1,r);r<o;r++)if(!1===n(this.from[r]+e,this.to[r]+e,this.value[r]))return!1}map(e,t){let i=[],n=[],r=[],o=-1,s=-1;for(let a=0;a<this.value.length;a++){let l=this.value[a],u=this.from[a]+e,c=this.to[a]+e,h,d;if(u==c){let e=t.mapPos(u,l.startSide,l.mapMode);if(null==e||(h=d=e,l.startSide!=l.endSide&&(d=t.mapPos(u,l.endSide))<h))continue}else if((h=t.mapPos(u,l.startSide))>(d=t.mapPos(c,l.endSide))||h==d&&l.startSide>0&&l.endSide<=0)continue;0>(d-h||l.endSide-l.startSide)||(o<0&&(o=h),l.point&&(s=Math.max(s,d-h)),i.push(l),n.push(h-o),r.push(d-o))}return{mapped:i.length?new ek(n,r,i,s):null,pos:o}}}class ew{constructor(e,t,i,n){this.chunkPos=e,this.chunk=t,this.nextLayer=i,this.maxPoint=n}static create(e,t,i,n){return new ew(e,t,i,n)}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:n=0,filterTo:r=this.length}=e,o=e.filter;if(0==t.length&&!o)return this;if(i&&(t=t.slice().sort(ex)),this.isEmpty)return t.length?ew.of(t):this;let s=new eP(this,null,-1).goto(0),a=0,l=[],u=new eD;for(;s.value||a<t.length;)if(a<t.length&&(s.from-t[a].from||s.startSide-t[a].value.startSide)>=0){let e=t[a++];u.addInner(e.from,e.to,e.value)||l.push(e)}else 1==s.rangeIndex&&s.chunkIndex<this.chunk.length&&(a==t.length||this.chunkEnd(s.chunkIndex)<t[a].from)&&(!o||n>this.chunkEnd(s.chunkIndex)||r<this.chunkPos[s.chunkIndex])&&u.addChunk(this.chunkPos[s.chunkIndex],this.chunk[s.chunkIndex])?s.nextChunk():((!o||n>s.to||r<s.from||o(s.from,s.to,s.value))&&!u.addInner(s.from,s.to,s.value)&&l.push(eS.create(s.from,s.to,s.value)),s.next());return u.finishInner(this.nextLayer.isEmpty&&!l.length?ew.empty:this.nextLayer.update({add:l,filter:o,filterFrom:n,filterTo:r}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],i=[],n=-1;for(let r=0;r<this.chunk.length;r++){let o=this.chunkPos[r],s=this.chunk[r],a=e.touchesRange(o,o+s.length);if(!1===a)n=Math.max(n,s.maxPoint),t.push(s),i.push(e.mapPos(o));else if(!0===a){let{mapped:r,pos:a}=s.map(o,e);r&&(n=Math.max(n,r.maxPoint),t.push(r),i.push(a))}}let r=this.nextLayer.map(e);return 0==t.length?r:new ew(i,t,r||ew.empty,n)}between(e,t,i){if(!this.isEmpty){for(let n=0;n<this.chunk.length;n++){let r=this.chunkPos[n],o=this.chunk[n];if(t>=r&&e<=r+o.length&&!1===o.between(r,e-r,t-r,i))return}this.nextLayer.between(e,t,i)}}iter(e=0){return eC.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eC.from(e).goto(t)}static compare(e,t,i,n,r=-1){let o=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),s=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),a=eQ(o,s,i),l=new eZ(o,a,r),u=new eZ(s,a,r);i.iterGaps((e,t,i)=>eA(l,e,u,t,i,n)),i.empty&&0==i.length&&eA(l,0,u,0,0,n)}static eq(e,t,i=0,n){null==n&&(n=999999999);let r=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),o=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(r.length!=o.length)return!1;if(!r.length)return!0;let s=eQ(r,o),a=new eZ(r,s,0).goto(i),l=new eZ(o,s,0).goto(i);for(;;){if(a.to!=l.to||!eE(a.active,l.active)||a.point&&(!l.point||!a.point.eq(l.point)))return!1;if(a.to>n)return!0;a.next(),l.next()}}static spans(e,t,i,n,r=-1){let o=new eZ(e,null,r).goto(t),s=t,a=o.openStart;for(;;){let e=Math.min(o.to,i);if(o.point){let i=o.activeForPoint(o.to),r=o.pointFrom<t?i.length+1:o.point.startSide<0?i.length:Math.min(i.length,a);n.point(s,e,o.point,i,r,o.pointRank),a=Math.min(o.openEnd(e),i.length)}else e>s&&(n.span(s,e,o.active,a),a=o.openEnd(e));if(o.to>i)return a+(o.point&&o.to>i?1:0);s=o.to,o.next()}}static of(e,t=!1){let i=new eD;for(let n of e instanceof eS?[e]:t?function(e){if(e.length>1)for(let t=e[0],i=1;i<e.length;i++){let n=e[i];if(ex(t,n)>0)return e.slice().sort(ex);t=n}return e}(e):e)i.add(n.from,n.to,n.value);return i.finish()}static join(e){if(!e.length)return ew.empty;let t=e[e.length-1];for(let i=e.length-2;i>=0;i--)for(let n=e[i];n!=ew.empty;n=n.nextLayer)t=new ew(n.chunkPos,n.chunk,t,Math.max(n.maxPoint,t.maxPoint));return t}}ew.empty=new ew([],[],null,-1),ew.empty.nextLayer=ew.empty;class eD{finishChunk(e){this.chunks.push(new ek(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 eD)).add(e,t,i)}addInner(e,t,i){let n=e-this.lastTo||i.startSide-this.last.endSide;if(n<=0&&0>(e-this.lastFrom||i.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(n<0)&&(250==this.from.length&&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(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))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(ew.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=ew.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eQ(e,t,i){let n=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&n.set(t.chunk[e],t.chunkPos[e]);let r=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let o=n.get(e.chunk[t]);null==o||(i?i.mapPos(o):o)!=e.chunkPos[t]||(null==i?void 0:i.touchesRange(o,o+e.chunk[t].length))||r.add(e.chunk[t])}return r}class eP{constructor(e,t,i,n=0){this.layer=e,this.skip=t,this.minPoint=i,this.rank=n}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,i){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,i=!1}if(this.chunkIndex<this.layer.chunk.length){let n=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!i||this.rangeIndex<n)&&this.setRangeIndex(n)}this.next()}forward(e,t){0>(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],i=e+t.from[this.rangeIndex];if(this.from=i,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class eC{constructor(e){this.heap=e}static from(e,t=null,i=-1){let n=[];for(let r=0;r<e.length;r++)for(let o=e[r];!o.isEmpty;o=o.nextLayer)o.maxPoint>=i&&n.push(new eP(o,t,i,r));return 1==n.length?n[0]:new eC(n)}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 e=this.heap.length>>1;e>=0;e--)e$(this.heap,e);return this.next(),this}forward(e,t){for(let i of this.heap)i.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)e$(this.heap,e);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)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(),e$(this.heap,0)}}}function e$(e,t){for(let i=e[t];;){let n=(t<<1)+1;if(n>=e.length)break;let r=e[n];if(n+1<e.length&&r.compare(e[n+1])>=0&&(r=e[n+1],n++),0>i.compare(r))break;e[n]=i,e[t]=r,t=n}}class eZ{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=eC.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&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eM(this.active,e),eM(this.activeTo,e),eM(this.activeRank,e),this.minActive=eB(this.active,this.activeTo)}
1addActive(e){let t=0,{value:i,to:n,rank:r}=this.cursor;for(;t<this.activeRank.length&&(r-this.activeRank[t]||n-this.activeTo[t])>0;)t++;eW(this.active,t,i),eW(this.activeTo,t,n),eW(this.activeRank,t,r),e&&eW(e,t,this.cursor.from),this.minActive=eB(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let i=this.openStart<0?[]:null;for(;;){let n=this.minActive;if(n>-1&&0>(this.activeTo[n]-this.cursor.from||this.active[n].endSide-this.cursor.startSide)){if(this.activeTo[n]>e){this.to=this.activeTo[n],this.endSide=this.active[n].endSide;break}this.removeActive(n),i&&eM(i,n)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let e=this.cursor.value;if(e.point){if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else this.addActive(i),this.cursor.next()}}else{this.to=this.endSide=1e9;break}}if(i){this.openStart=0;for(let t=i.length-1;t>=0&&i[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let i=this.active.length-1;i>=0&&!(this.activeRank[i]<this.pointRank);i--)(this.activeTo[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 eA(e,t,i,n,r,o){e.goto(t),i.goto(n);let s=n+r,a=n,l=n-t;for(;;){let t=e.to+l-i.to||e.endSide-i.endSide,n=t<0?e.to+l:i.to,r=Math.min(n,s);if(e.point||i.point?e.point&&i.point&&(e.point==i.point||e.point.eq(i.point))&&eE(e.activeForPoint(e.to),i.activeForPoint(i.to))||o.comparePoint(a,r,e.point,i.point):r>a&&!eE(e.active,i.active)&&o.compareRange(a,r,e.active,i.active),n>s)break;a=n,t<=0&&e.next(),t>=0&&i.next()}}function eE(e,t){if(e.length!=t.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!=t[i]&&!e[i].eq(t[i]))return!1;return!0}function eM(e,t){for(let i=t,n=e.length-1;i<n;i++)e[i]=e[i+1];e.pop()}function eW(e,t,i){for(let i=e.length-1;i>=t;i--)e[i+1]=e[i];e[t]=i}function eB(e,t){let i=-1,n=1e9;for(let r=0;r<t.length;r++)0>(t[r]-n||e[r].endSide-e[i].endSide)&&(i=r,n=t[r]);return i}function eF(e,t,i=e.length){let n=0;for(let r=0;r<i;)9==e.charCodeAt(r)?(n+=t-n%t,r++):(n++,r=O(e,r));return n}function eT(e,t,i,n){for(let n=0,r=0;;){if(r>=t)return n;if(n==e.length)break;r+=9==e.charCodeAt(n)?i-r%i:1,n=O(e,n)}return!0===n?-1:e.length}},66089:function(e,t,i){"use strict";i.d(t,{YF:function(){return d},x7:function(){return s}});var n=i(67686),r=i(2265),o=i(54887);let s=e=>({name:"arrow",options:e,fn(t){let{element:i,padding:r}="function"==typeof e?e(t):e;return i&&({}).hasOwnProperty.call(i,"current")?null!=i.current?(0,n.x7)({element:i.current,padding:r}).fn(t):{}:i?(0,n.x7)({element:i,padding:r}).fn(t):{}}});var a="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function l(e,t){let i,n,r;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((i=e.length)!==t.length)return!1;for(n=i;0!=n--;)if(!l(e[n],t[n]))return!1;return!0}if((i=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=i;0!=n--;)if(!({}).hasOwnProperty.call(t,r[n]))return!1;for(n=i;0!=n--;){let i=r[n];if(("_owner"!==i||!e.$$typeof)&&!l(e[i],t[i]))return!1}return!0}return e!=e&&t!=t}function u(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){let i=u(e);return Math.round(t*i)/i}function h(e){let t=r.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:i="absolute",middleware:s=[],platform:d,elements:{reference:f,floating:p}={},transform:O=!0,whileElementsMounted:g,open:m}=e,[b,y]=r.useState({x:0,y:0,strategy:i,placement:t,middlewareData:{},isPositioned:!1}),[v,S]=r.useState(s);l(v,s)||S(s);let[x,k]=r.useState(null),[w,D]=r.useState(null),Q=r.useCallback(e=>
1{e!==Z.current&&(Z.current=e,k(e))},[]),P=r.useCallback(e=>{e!==A.current&&(A.current=e,D(e))},[]),C=f||x,$=p||w,Z=r.useRef(null),A=r.useRef(null),E=r.useRef(b),M=null!=g,W=h(g),B=h(d),F=r.useCallback(()=>{if(!Z.current||!A.current)return;let e={placement:t,strategy:i,middleware:v};B.current&&(e.platform=B.current),(0,n.oo)(Z.current,A.current,e).then(e=>{let t={...e,isPositioned:!0};T.current&&!l(E.current,t)&&(E.current=t,o.flushSync(()=>{y(t)}))})},[v,t,i,B]);a(()=>{!1===m&&E.current.isPositioned&&(E.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[m]);let T=r.useRef(!1);a(()=>(T.current=!0,()=>{T.current=!1}),[]),a(()=>{if(C&&(Z.current=C),$&&(A.current=$),C&&$){if(W.current)return W.current(C,$,F);F()}},[C,$,F,W,M]);let j=r.useMemo(()=>({reference:Z,floating:A,setReference:Q,setFloating:P}),[Q,P]),R=r.useMemo(()=>({reference:C,floating:$}),[C,$]),z=r.useMemo(()=>{let e={position:i,left:0,top:0};if(!R.floating)return e;let t=c(R.floating,b.x),n=c(R.floating,b.y);return O?{...e,transform:"translate("+t+"px, "+n+"px)",...u(R.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:t,top:n}},[i,O,R.floating,b.x,b.y]);return r.useMemo(()=>({...b,update:F,refs:j,elements:R,floatingStyles:z}),[b,F,j,R,z])}},79164:function(e,t,i){"use strict";i.d(t,{$_:function(){return s},EZ:function(){return r},VG:function(){return o},mE:function(){return n}});let n=["gray","blue","purple","magenta","red","orange","yellow","green","cyan"],r=["50","100","200","300","400","500","600","700","800","900","950"],o={gray:{50:{title:"Gray 50",hex:"#f6f6f8"},100:{title:"Gray 100",hex:"#eeeef1"},200:{title:"Gray 200",hex:"#e3e4e8"},300:{title:"Gray 300",hex:"#bbbdc9"},400:{title:"Gray 400",hex:"#9499ad"},500:{title:"Gray 500",hex:"#727892"},600:{title:"Gray 600",hex:"#515870"},700:{title:"Gray 700",hex:"#383d51"},800:{title:"Gray 800",hex:"#252837"},900:{title:"Gray 900",hex:"#1b1d27"},950:{title:"Gray 950",hex:"#13141b"}},blue:{50:{title:"Blue 50",hex:"#f5f8ff"},100:{title:"Blue 100",hex:"#e5edff"},200:{title:"Blue 200",hex:"#dbe5ff"},300:{title:"Blue 300",hex:"#a8bfff"},400:{title:"Blue 400",hex:"#7595ff"},500:{title:"Blue 500",hex:"#556bfc"},600:{title:"Blue 600",hex:"#4043e7"},700:{title:"Blue 700",hex:"#2927aa"},800:{title:"Blue 800",hex:"#192457"},900:{title:"Blue 900",hex:"#161a41"},950:{title:"Blue 950",hex:"#101228"}},purple:{50:{title:"Purple 50",hex:"#f8f5ff"},100:{title:"Purple 100",hex:"#f1ebff"},200:{title:"Purple 200",hex:"#ece1fe"},300:{title:"Purple 300",hex:"#ccb1fc"},400:{title:"Purple 400",hex:"#b087f7"},500:{title:"Purple 500",hex:"#8f57ef"},600:{title:"Purple 600",hex:"#721fe5"},700:{title:"Purple 700",hex:"#4c1a9e"},800:{title:"Purple 800",hex:"#2f1862"},900:{title:"Purple 900",hex:"#23173f"},950:{title:"Purple 950",hex:"#181128"}},magenta:{50:{title:"Magenta 50",hex:"#fef6f9"},100:{title:"Magenta 100",hex:"#fde8ef"},200:{title:"Magenta 200",hex:"#fcdee9"},300:{title:"Magenta 300",hex:"#f7abc5"},400:{title:"Magenta 400",hex:"#f0709b"},500:{title:"Magenta 500",hex:"#e72767"},600:{title:"Magenta 600",hex:"#b11651"},700:{title:"Magenta 700",hex:"#7c1342"},800:{title:"Magenta 800",hex:"#4b1130"},900:{title:"Magenta 900",hex:"#341325"},950:{title:"Magenta 950",hex:"#1f0f14"}},red:{50:{title:"Red 50",hex:"#fff6f5"},100:{title:"Red 100",hex:"#ffe7e5"},200:{title:"Red 200",hex:"#ffdedc"},300:{title:"Red 300",hex:"#fdada5"},400:{title:"Red 400",hex:"#f77769"},500:{title:"Red 500",hex:"#ef4434"},600:{title:"Red 600",hex:"#cc2819"},700:{title:"Red 700",hex:"#8b2018"},800:{title:"Red 800",hex:"#4d1714"},900:{title:"Red 900",hex:"#321615"},950:{title:"Red 950",hex:"#1e1011"}},orange:{50:{title:"Orange 50",hex:"#fff7f0"},100:{title:"Orange 100",hex:"#ffeadb"},200:{title:"Orange 200",hex:"#ffddc7"},300:{title:"Orange 300",hex:"#ffb685"},400:{title:"Orange 400",hex:"#ff8e42"},500:{title:"Orange 500",hex:"#fa6400"},600:{title:"Orange 600",hex:"#b14802"},700:{title:"Orange 700",hex:"#7c3404"},800:{title:"Orange 800",hex:"#461e07"},900:{title:"Orange 900",hex:"#32160b"},950:{title:"Orange 950",hex:"#21120d"}},yellow:{50:{title:"Yellow 50",hex:"#fefae1"},100:{title:"Yellow 100",hex:"#fcf3bb"},200:{title:"Yellow 200",hex:"#f9e994"},300:{title:"Yellow 300",hex:"#f7d455"},400:{title:"Yellow 400",hex:"#f9bc15"},500:{title:"Yellow 500",hex:"#d28a04"},600:{title:"Yellow 600",hex:"#965908"},700:{title:"Yellow 700",hex:"#653a0b"},800:{title:"Yellow 800",hex:"#3b220c"},900:{title:"Yellow 900",hex:"#271a11"},950:{title:"Yellow 950",hex:"#181410"}},green:{50:{title:"Green 50",hex:"#e7fef5"},100:{title:"Green 100",hex:"#c5fce8"},200:{title:"Green 200",hex:"#a9f9dc"},300:{title:"Green 300",hex:"#59f3ba"},400:{title:"Green 400",hex:"#0ff0a1"},500:{title:"Green 500",hex:"#04b97a"},600:{title:"Green 600",hex:"#01794f"},700:{title:"Green 700",hex:"#015133"},800:{title:"Green 800",hex:"#023120"},900:{title:"Green 900",hex:"#06231a"},950:{title:"Green 950",hex:"#071715"}},cyan:{50:{title:"Cyan 50",hex:"#e7fefe"},100:{title:"Cyan 100",hex:"#c5fcfc"},200:{title:"Cyan 200",hex:"#96f8f8"},300:{title:"Cyan 300",hex:"#62efef"},400:{title:"Cyan 400",hex:"#18e2e2"},500:{title:"Cyan 500",hex:"#04b8be"},600:{title:"Cyan 600",hex:"#037782"},700:{title:"Cyan 700",hex:"#024950"},800:{title:"Cyan 800",hex:"#042f34"},900:{title:"Cyan 900",hex:"#072227"},950:{title:"Cyan 950",hex:"#0d181c"}}},s={black:{title:"Black",hex:"#0d0e12"},white:{title:"White",hex:"#ffffff"},...o}},11926:function(e,t,i){"use strict";i.d(t,{M:function(){return g}});
1var n=i(2265),r=i(63026);function o(){let e=(0,n.useRef)(!1);return(0,r.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var s=i(26018),a=i(15545),l=i(22271);class u extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:t}){let i=(0,n.useId)(),r=(0,n.useRef)(null),o=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)(()=>{let{width:e,height:n,top:s,left:a}=o.current;if(t||!r.current||!e||!n)return;r.current.dataset.motionPopId=i;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` 2 [data-motion-pop-id="${i}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${n}px !important; 6 top: ${s}px !important; 7 left: ${a}px !important; 8 } 9 `),()=>{document.head.removeChild(l)}},[t]),n.createElement(u,{isPresent:t,childRef:r,sizeRef:o},n.cloneElement(e,{ref:r}))}let h=({children:e,initial:t,isPresent:i,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:u})=>{let h=(0,l.h)(d),f=(0,n.useId)(),p=(0,n.useMemo)(()=>({id:f,initial:t,isPresent:i,custom:o,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;r&&r()},register:e=>(h.set(e,!1),()=>h.delete(e))}),s?void 0:[i]);return(0,n.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[i]),n.useEffect(()=>{i||h.size||!r||r()},[i]),"popLayout"===u&&(e=n.createElement(c,{isPresent:i},e)),n.createElement(a.O.Provider,{value:p},e)};function d(){return new Map}var f=i(7952),p=i(22145);let O=e=>e.key||"",g=({children:e,custom:t,initial:i=!0,onExitComplete:a,exitBeforeEnter:l,presenceAffectsLayout:u=!0,mode:c="sync"})=>{var d;(0,p.k)(!l,"Replace exitBeforeEnter with mode='wait'");let g=(0,n.useContext)(f.p).forceRender||function(){let e=o(),[t,i]=(0,n.useState)(0),r=(0,n.useCallback)(()=>{e.current&&i(t+1)},[t]);return[(0,n.useCallback)(()=>s.Wi.postRender(r),[r]),t]}()[0],m=o(),b=function(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}(e),y=b,v=(0,n.useRef)(new Map).current,S=(0,n.useRef)(y),x=(0,n.useRef)(new Map).current,k=(0,n.useRef)(!0);if((0,r.L)(()=>{k.current=!1,function(e,t){e.forEach(e=>{let i=O(e);t.set(i,e)})}(b,x),S.current=y}),d=()=>{k.current=!0,x.clear(),v.clear()},(0,n.useEffect)(()=>()=>d(),[]),k.current)return n.createElement(n.Fragment,null,y.map(e=>n.createElement(h,{key:O(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:u,mode:c},e)));y=[...y];let w=S.current.map(O),D=b.map(O),Q=w.length;for(let e=0;e<Q;e++){let t=w[e];-1!==D.indexOf(t)||v.has(t)||v.set(t,void 0)}return"wait"===c&&v.size&&(y=[]),v.forEach((e,i)=>{if(-1!==D.indexOf(i))return;let r=x.get(i);if(!r)return;let o=w.indexOf(i),s=e;s||(s=n.createElement(h,{key:O(r),isPresent:!1,onExitComplete:()=>{v.delete(i);let e=Array.from(x.keys()).filter(e=>!D.includes(e));if(e.forEach(e=>x.delete(e)),S.current=b.filter(t=>{let n=O(t);return n===i||e.includes(n)}),!v.size){if(!1===m.current)return;g(),a&&a()}},custom:t,presenceAffectsLayout:u,mode:c},r),v.set(i,s)),y.splice(o,0,s)}),y=y.map(e=>{let t=e.key;return v.has(t)?e:n.createElement(h,{key:O(e),isPresent:!0,presenceAffectsLayout:u,mode:c},e)}),n.createElement(n.Fragment,null,v.size?y:y.map(e=>(0,n.cloneElement)(e)))}},7952:function(e,t,i){"use strict";i.d(t,{p:function(){return n}});let n=(0,i(2265).createContext)({})},15545:function(e,t,i){"use strict";i.d(t,{O:function(){return n}});let n=(0,i(2265).createContext)(null)},88635:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var n=i(38790);class r{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let o=["prepare","read","update","preRender","render","postRender"];function s(e,t){let i=!1,s=!0,a={delta:0,timestamp:0,isProcessing:!1},l=o.reduce((e,t)=>
9(e[t]=function(e){let t=new r,i=new r,n=0,o=!1,s=!1,a=new WeakSet,l={schedule:(e,r=!1,s=!1)=>{let l=s&&o,u=l?t:i;return r&&a.add(e),u.add(e)&&l&&o&&(n=t.order.length),e},cancel:e=>{i.remove(e),a.delete(e)},process:r=>{if(o){s=!0;return}if(o=!0,[t,i]=[i,t],i.clear(),n=t.order.length)for(let i=0;i<n;i++){let n=t.order[i];a.has(n)&&(l.schedule(n),e()),n(r)}o=!1,s&&(s=!1,l.process(r))}};return l}(()=>i=!0),e),{}),u=e=>{l[e].process(a)},c=()=>{let r=n.c.useManualTiming?a.timestamp:performance.now();i=!1,a.delta=s?1e3/60:Math.max(Math.min(r-a.timestamp,40),1),a.timestamp=r,a.isProcessing=!0,o.forEach(u),a.isProcessing=!1,i&&t&&(s=!1,e(c))},h=()=>{i=!0,s=!0,a.isProcessing||e(c)};return{schedule:o.reduce((e,t)=>{let n=l[t];return e[t]=(e,t=!1,r=!1)=>(i||h(),n.schedule(e,t,r)),e},{}),cancel:e=>o.forEach(t=>l[t].cancel(e)),state:a,steps:l}}},26018:function(e,t,i){"use strict";i.d(t,{Pn:function(){return o},S6:function(){return a},Wi:function(){return r},frameData:function(){return s}});var n=i(7163);let{schedule:r,cancel:o,state:s,steps:a}=(0,i(88635).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},39899:function(e,t,i){"use strict";let n,r;i.d(t,{E:function(){return rJ}});var o,s,a=i(2265);let l=(0,a.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),u=(0,a.createContext)({});var c=i(15545),h=i(63026);let d=(0,a.createContext)({strict:!1}),f=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),p="data-"+f("framerAppearId"),{schedule:O,cancel:g}=(0,i(88635).Z)(queueMicrotask,!1);function m(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function b(e){return"string"==typeof e||Array.isArray(e)}function y(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let v=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],S=["initial",...v];function x(e){return y(e.animate)||S.some(t=>b(e[t]))}function k(e){return!!(x(e)||e.variants)}function w(e){return Array.isArray(e)?e.join(" "):e}let D={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Q={};for(let e in D)Q[e]={isEnabled:t=>D[e].some(e=>!!t[e])};var P=i(32455),C=i(7952);let $=(0,a.createContext)({}),Z=Symbol.for("motionComponentSymbol"),A=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function E(e){if("string"!=typeof e||e.includes("-"));else if(A.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let M={},W=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],B=new Set(W);function F(e,{layout:t,layoutId:i}){return B.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!M[e]||"opacity"===e)}let T=e=>!!(e&&e.getVelocity),j={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},R=W.length,z=e=>t=>"string"==typeof t&&t.startsWith(e),_=z("--"),Y=z("var(--"),X=e=>!!Y(e)&&I.test(e.split("/*")[0].trim()),I=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?
9:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)$/i,V=(e,t)=>t&&"number"==typeof e?t.transform(e):e,q=(e,t,i)=>i>t?t:i<e?e:i,G={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},U={...G,transform:e=>q(0,1,e)},L={...G,default:1},N=e=>Math.round(1e5*e)/1e5,H=/(-)?([\d]*\.?[\d])+/g,J=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,K=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ee(e){return"string"==typeof e}let et=e=>({test:t=>ee(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ei=et("deg"),en=et("%"),er=et("px"),eo=et("vh"),es=et("vw"),ea={...en,parse:e=>en.parse(e)/100,transform:e=>en.transform(100*e)},el={...G,transform:Math.round},eu={borderWidth:er,borderTopWidth:er,borderRightWidth:er,borderBottomWidth:er,borderLeftWidth:er,borderRadius:er,radius:er,borderTopLeftRadius:er,borderTopRightRadius:er,borderBottomRightRadius:er,borderBottomLeftRadius:er,width:er,maxWidth:er,height:er,maxHeight:er,size:er,top:er,right:er,bottom:er,left:er,padding:er,paddingTop:er,paddingRight:er,paddingBottom:er,paddingLeft:er,margin:er,marginTop:er,marginRight:er,marginBottom:er,marginLeft:er,rotate:ei,rotateX:ei,rotateY:ei,rotateZ:ei,scale:L,scaleX:L,scaleY:L,scaleZ:L,skew:ei,skewX:ei,skewY:ei,distance:er,translateX:er,translateY:er,translateZ:er,x:er,y:er,z:er,perspective:er,transformPerspective:er,opacity:U,originX:ea,originY:ea,originZ:er,zIndex:el,fillOpacity:U,strokeOpacity:U,numOctaves:el};function ec(e,t,i,n){let{style:r,vars:o,transform:s,transformOrigin:a}=e,l=!1,u=!1,c=!0;for(let e in t){let i=t[e];if(_(e)){o[e]=i;continue}let n=eu[e],h=V(i,n);if(B.has(e)){if(l=!0,s[e]=h,!c)continue;i!==(n.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,a[e]=h):r[e]=h}if(!t.transform&&(l||n?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:i=!0},n,r){let o="";for(let t=0;t<R;t++){let i=W[t];if(void 0!==e[i]){let t=j[i]||i;o+=`${t}(${e[i]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),r?o=r(e,n?"":o):i&&n&&(o="none"),o}(e.transform,i,c,n):r.transform&&(r.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:i=0}=a;r.transformOrigin=`${e} ${t} ${i}`}}let eh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ed(e,t,i){for(let n in t)T(t[n])||F(n,i)||(e[n]=t[n])}let ef=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ep(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ef.has(e)}let eO=e=>!ep(e);try{(o=require("@emotion/is-prop-valid").default)&&(eO=e=>e.startsWith("on")?!ep(e):o(e))}catch(e){}function eg(e,t,i){return"string"==typeof e?e:er.transform(t+i*e)}let em={offset:"stroke-dashoffset",array:"stroke-dasharray"},eb={offset:"strokeDashoffset",array:"strokeDasharray"};function ey(e,{attrX:t,attrY:i,attrScale:n,originX:r,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,h,d){if(ec(e,u,c,d),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:p,dimensions:O}=e;f.transform&&(O&&(p.transform=f.transform),delete f.transform),O&&(void 0!==r||void 0!==o||p.transform)&&(p.transformOrigin=function(e,t,i){let n=eg(t,e.x,e.width),r=eg(i,e.y,e.height);return`${n} ${r}`}(O,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==t&&(f.x=t),void 0!==i&&(f.y=i),void 0!==n&&(f.scale=n),void 0!==s&&function(e,t,i=1,n=0,r=!0){e.pathLength=1;let o=r?em:eb;e[o.offset]=er.transform(-n);let s=er.transform(t),a=er.transform(i);e[o.array]=`${s} ${a}`}(f,s,a,l,!1)}let ev=()=>({...eh(),attrs:{}}),eS=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ex(e,{style:t,vars:i},n,r){for(let o in Object.assign(e.style,t,r&&r.getProjectionStyles(n)),i)e.style.setProperty(o,i[o])}let ek=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ew(e,t,i,n){for(let i in ex(e,t,void 0,n),t.attrs)e.setAttribute(ek.has(i)?i:f(i),t.attrs[i])}function eD(e,t){let{style:i}=e,n={};for(let r in i)(T(i[r])||t.style&&T(t.style[r])||F(r,e))&&(n[r]=i[r]);return n}function eQ(e,t){let i=eD(e,t);for(let n in e)(T(e[n])||T(t[n]))&&(i[-1!==W.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return i}function eP(e,t,i,n={},r={}){return"function"==typeof t&&(t=t(void 0!==i?i:e.custom,n,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==i?i:e.custom,n,r)),t}var eC=i(22271);let e$=e=>Array.isArray(e),eZ=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),eA=e=>e$(e)?e[e.length-1]||0:e;function eE(e){let t=T(e)?e.get():e;return eZ(t)?t.toValue():t}let eM=e=>(t,i)=>{let n=(0,a.useContext)(u),r=(0,a.useContext)(c.O),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:i},n,r,o){let s={latestValues:function(e,t,i,n){let r={},o=n(e,{});for(let e in o)r[e]=eE(o[e]);let{initial:s,animate:a}=e,l=x(e),u=k(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let c=!!i&&!1===i.initial,h=(c=c||!1===s)?a:s;
9return h&&"boolean"!=typeof h&&!y(h)&&(Array.isArray(h)?h:[h]).forEach(t=>{let i=eP(e,t);if(!i)return;let{transitionEnd:n,transition:o,...s}=i;for(let e in s){let t=s[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(r[e]=t)}for(let e in n)r[e]=n[e]}),r}(n,r,o,e),renderState:t()};return i&&(s.mount=e=>i(n,e,s)),s})(e,t,n,r);return i?o():(0,eC.h)(o)};var eW=i(26018);let eB={useVisualState:eM({scrapeMotionValuesFromProps:eQ,createRenderState:ev,onMount:(e,t,{renderState:i,latestValues:n})=>{eW.Wi.read(()=>{try{i.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){i.dimensions={x:0,y:0,width:0,height:0}}}),eW.Wi.render(()=>{ey(i,n,{enableHardwareAcceleration:!1},eS(t.tagName),e.transformTemplate),ew(t,i)})}})},eF={useVisualState:eM({scrapeMotionValuesFromProps:eD,createRenderState:eh})};function eT(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}let ej=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function eR(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let ez=e=>t=>ej(t)&&e(t,eR(t));function e_(e,t,i,n){return eT(e,t,ez(i),n)}let eY=(e,t)=>i=>t(e(i)),eX=(...e)=>e.reduce(eY);function eI(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let eV=eI("dragHorizontal"),eq=eI("dragVertical");function eG(e){let t=!1;if("y"===e)t=eq();else if("x"===e)t=eV();else{let e=eV(),i=eq();e&&i?t=()=>{e(),i()}:(e&&e(),i&&i())}return t}function eU(){let e=eG(!0);return!e||(e(),!1)}class eL{constructor(e){this.isMounted=!1,this.node=e}update(){}}function eN(e,t){let i="onHover"+(t?"Start":"End");return e_(e.current,"pointer"+(t?"enter":"leave"),(n,r)=>{if("touch"===n.pointerType||eU())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[i]&&eW.Wi.update(()=>o[i](n,r))},{passive:!e.getProps()[i]})}class eH extends eL{mount(){this.unmount=eX(eN(this.node,!0),eN(this.node,!1))}unmount(){}}class eJ extends eL{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=eX(eT(this.node.current,"focus",()=>this.onFocus()),eT(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eK=(e,t)=>!!t&&(e===t||eK(e,t.parentElement));var e0=i(7163);function e1(e,t){if(!t)return;let i=new PointerEvent("pointer"+e);t(i,eR(i))}class e2 extends eL{constructor(){super(...arguments),this.removeStartListeners=e0.Z,this.removeEndListeners=e0.Z,this.removeAccessibleListeners=e0.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),n=e_(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:n,globalTapTarget:r}=this.node.getProps();eW.Wi.update(()=>{r||eK(this.node.current,e.target)?i&&i(e,t):n&&n(e,t)})},{passive:!(i.onTap||i.onPointerUp)}),r=e_(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=eX(n,r),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=eT(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=eT(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&e1("up",(e,t)=>{let{onTap:i}=this.node.getProps();i&&eW.Wi.update(()=>i(e,t))})}),e1("down",(e,t)=>{this.startPress(e,t)}))}),t=eT(this.node.current,"blur",()=>{this.isPressing&&e1("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=eX(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:i,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&eW.Wi.update(()=>i(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!eU()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&eW.Wi.update(()=>i(e,t))}mount(){let e=this.node.getProps(),t=e_(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),i=eT(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=eX(t,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let e5=new WeakMap,e7=new WeakMap,e3=e=>{let t=e5.get(e.target);t&&t(e)},e8=e=>{e.forEach(e3)},e6={some:0,all:1};class e4 extends eL{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:i,amount:n="some",once:r}=e,o={root:t?t.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:e6[n]};return function(e,t,i){let n=function({root:e,...t}){let i=e||document;e7.has(i)||e7.set(i,{});
9let n=e7.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(e8,{root:e,...t})),n[r]}(t);return e5.set(e,i),n.observe(e),()=>{e5.delete(e),n.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,r&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),o=t?i:n;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}function e9(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function te(e,t,i){let n=e.getProps();return eP(n,t,void 0!==i?i:n.custom,function(e){let t={};return e.values.forEach((e,i)=>t[i]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,i)=>t[i]=e.getVelocity()),t}(e))}var tt=i(22145);let ti=e=>1e3*e,tn=e=>e/1e3,tr={current:!1},to=e=>Array.isArray(e)&&"number"==typeof e[0],ts=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,ta={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ts([0,.65,.55,1]),circOut:ts([.55,0,1,.45]),backIn:ts([.31,.01,.66,-.59]),backOut:ts([.33,1.53,.69,.99])},tl=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function tu(e,t,i,n){if(e===t&&i===n)return e0.Z;let r=t=>(function(e,t,i,n,r){let o,s;let a=0;do(o=tl(s=t+(i-t)/2,n,r)-e)>0?i=s:t=s;while(Math.abs(o)>1e-7&&++a<12);return s})(t,0,1,e,i);return e=>0===e||1===e?e:tl(r(e),t,n)}let tc=tu(.42,0,1,1),th=tu(0,0,.58,1),td=tu(.42,0,.58,1),tf=e=>Array.isArray(e)&&"number"!=typeof e[0],tp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tO=e=>t=>1-e(1-t),tg=e=>1-Math.sin(Math.acos(e)),tm=tO(tg),tb=tp(tg),ty=tu(.33,1.53,.69,.99),tv=tO(ty),tS=tp(tv),tx={linear:e0.Z,easeIn:tc,easeInOut:td,easeOut:th,circIn:tg,circInOut:tb,circOut:tm,backIn:tv,backInOut:tS,backOut:ty,anticipate:e=>(e*=2)<1?.5*tv(e):.5*(2-Math.pow(2,-10*(e-1)))},tk=e=>{if(Array.isArray(e)){(0,tt.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,i,n,r]=e;return tu(t,i,n,r)}return"string"==typeof e?((0,tt.k)(void 0!==tx[e],`Invalid easing type '${e}'`),tx[e]):e},tw=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n},tD=(e,t,i)=>e+(t-e)*i;function tQ(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}let tP=(e,t)=>i=>!!(ee(i)&&K.test(i)&&i.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(i,t)),tC=(e,t,i)=>n=>{if(!ee(n))return n;let[r,o,s,a]=n.match(H);return{[e]:parseFloat(r),[t]:parseFloat(o),[i]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},t$=e=>q(0,255,e),tZ={...G,transform:e=>Math.round(t$(e))},tA={test:tP("rgb","red"),parse:tC("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+tZ.transform(e)+", "+tZ.transform(t)+", "+tZ.transform(i)+", "+N(U.transform(n))+")"},tE={test:tP("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:tA.transform},tM={test:tP("hsl","hue"),parse:tC("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+en.transform(N(t))+", "+en.transform(N(i))+", "+N(U.transform(n))+")"},tW=(e,t,i)=>{let n=e*e,r=i*(t*t-n)+n;return r<0?0:Math.sqrt(r)},tB=[tE,tA,tM],tF=e=>tB.find(t=>t.test(e));function tT(e){let t=tF(e);(0,tt.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===tM&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,o=0,s=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,a=2*i-n;r=tQ(a,n,e+1/3),o=tQ(a,n,e),s=tQ(a,n,e-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(i)),i}let tj=(e,t)=>{let i=tT(e),n=tT(t),r={...i};return e=>(r.red=tW(i.red,n.red,e),r.green=tW(i.green,n.green,e),r.blue=tW(i.blue,n.blue,e),r.alpha=tD(i.alpha,n.alpha,e),tA.transform(r))},tR={test:e=>tA.test(e)||tE.test(e)||tM.test(e),parse:e=>tA.test(e)?tA.parse(e):tM.test(e)?tM.parse(e):tE.parse(e),transform:e=>ee(e)?e:e.hasOwnProperty("red")?tA.transform(e):tM.transform(e)}
9,tz="number",t_="color",tY=/(var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\))|(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))|((-)?([\d]*\.?[\d])+)/gi;function tX(e){let t=e.toString(),i=t.match(tY)||[],n=[],r={color:[],number:[],var:[]},o=[];for(let e=0;e<i.length;e++){let t=i[e];tR.test(t)?(r.color.push(e),o.push(t_),n.push(tR.parse(t))):t.startsWith("var(")?(r.var.push(e),o.push("var"),n.push(t)):(r.number.push(e),o.push(tz),n.push(parseFloat(t)))}return{values:n,split:t.replace(tY,"${}").split("${}"),indexes:r,types:o}}function tI(e){return tX(e).values}function tV(e){let{split:t,types:i}=tX(e),n=t.length;return e=>{let r="";for(let o=0;o<n;o++)if(r+=t[o],void 0!==e[o]){let t=i[o];t===tz?r+=N(e[o]):t===t_?r+=tR.transform(e[o]):r+=e[o]}return r}}let tq=e=>"number"==typeof e?0:e,tG={test:function(e){var t,i;return isNaN(e)&&ee(e)&&((null===(t=e.match(H))||void 0===t?void 0:t.length)||0)+((null===(i=e.match(J))||void 0===i?void 0:i.length)||0)>0},parse:tI,createTransformer:tV,getAnimatableNone:function(e){let t=tI(e);return tV(e)(t.map(tq))}};function tU(e,t){return i=>i>0?t:e}function tL(e,t){return i=>tD(e,t,i)}function tN(e){return"number"==typeof e?tL:"string"==typeof e?X(e)?tU:tR.test(e)?tj:tK:Array.isArray(e)?tH:"object"==typeof e?tR.test(e)?tj:tJ:tU}function tH(e,t){let i=[...e],n=i.length,r=e.map((e,i)=>tN(e)(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=r[t](e);return i}}function tJ(e,t){let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=tN(e[r])(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}}let tK=(e,t)=>{let i=tG.createTransformer(t),n=tX(e),r=tX(t);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?eX(tH(function(e,t){var i;let n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let s=t.types[o],a=e.indexes[s][r[s]],l=null!==(i=e.values[a])&&void 0!==i?i:0;n[o]=l,r[s]++}return n}(n,r),r.values),i):((0,tt.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),tU(e,t))};function t0(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?tD(e,t,i):tN(e)(e,t)}function t1({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){let r=tf(n)?n.map(tk):tk(n),o={done:!1,value:t[0]},s=function(e,t,{clamp:i=!0,ease:n,mixer:r}={}){let o=e.length;if((0,tt.k)(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,i){let n=[],r=i||t0,o=e.length-1;for(let i=0;i<o;i++){let o=r(e[i],e[i+1]);t&&(o=eX(Array.isArray(t)?t[i]||e0.Z:t,o)),n.push(o)}return n}(t,n,r),a=s.length,l=t=>{let i=0;if(a>1)for(;i<e.length-2&&!(t<e[i+1]);i++);let n=tw(e[i],e[i+1],t);return s[i](n)};return i?t=>l(q(e[0],e[o-1],t)):l}((i&&i.length===t.length?i:function(e){let t=[0];return function(e,t){let i=e[e.length-1];for(let n=1;n<=t;n++){let r=tw(0,t,n);e.push(tD(i,1,r))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(r)?r:t.map(()=>r||td).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function t2(e,t,i){var n,r;let o=Math.max(t-5,0);return n=i-e(o),(r=t-o)?1e3/r*n:0}function t5(e,t){return e*Math.sqrt(1-t*t)}let t7=["duration","bounce"],t3=["stiffness","damping","mass"];function t8(e,t){return t.some(t=>void 0!==e[t])}function t6({keyframes:e,restDelta:t,restSpeed:i,...n}){let r;let o=e[0],s=e[e.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:h,velocity:d,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!t8(e,t3)&&t8(e,t7)){let i=function({duration:e=800,bounce:t=.25,velocity:i=0,mass:n=1}){let r,o;(0,tt.K)(e<=ti(10),"Spring duration must be 10 seconds or less");let s=1-t;s=q(.05,1,s),e=q(.01,10,tn(e)),s<1?(r=t=>{let n=t*s,r=n*e;return .001-(n-i)/t5(t,s)*Math.exp(-r)},o=t=>{let n=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=t5(Math.pow(t,2),s);return(n*i+i-o)*Math.exp(-n)*(-r(t)+.001>0?-1:1)/a}):(r=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),o=t=>e*e*(i-t)*Math.exp(-t*e));let a=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(r,o,5/e);if(e=ti(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-tn(n.velocity||0)}),p=d||0,O=u/(2*Math.sqrt(l*c)),g=s-o,m=tn(Math.sqrt(l/c)),b=5>Math.abs(g);if(i||(i=b?.01:2),t||(t=b?.005:.5),O<1){let e=t5(m,O);r=t=>s-Math.exp(-O*m*t)*((p+O*m*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===O)r=e=>s-Math.exp(-m*e)*(g+(p+m*g)*e);else{let e=m*Math.sqrt(O*O-1);r=t=>{let i=Math.exp(-O*m*t),n=Math.min(e*t,300);return s-i*((p+O*m*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}
9return{calculatedDuration:f&&h||null,next:e=>{let n=r(e);if(f)a.done=e>=h;else{let o=p;0!==e&&(o=O<1?t2(r,e,n):0);let l=Math.abs(o)<=i,u=Math.abs(s-n)<=t;a.done=l&&u}return a.value=a.done?s:n,a}}}function t4({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let f=e[0],p={done:!1,value:f},O=e=>void 0!==a&&e<a||void 0!==l&&e>l,g=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)<Math.abs(l-e)?a:l,m=i*t,b=f+m,y=void 0===s?b:s(b);y!==b&&(m=y-f);let v=e=>-m*Math.exp(-e/n),S=e=>y+v(e),x=e=>{let t=v(e),i=S(e);p.done=Math.abs(t)<=u,p.value=p.done?y:i},k=e=>{O(p.value)&&(h=e,d=t6({keyframes:[p.value,g(p.value)],velocity:t2(S,e,p.value),damping:r,stiffness:o,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,x(e),k(e)),void 0!==h&&e>h)?d.next(e-h):(t||x(e),p)}}}var t9=i(38790);function ie(){n=void 0}let it={now:()=>(void 0===n&&it.set(eW.frameData.isProcessing||t9.c.useManualTiming?eW.frameData.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(ie)}},ii=e=>{let t=({timestamp:t})=>e(t);return{start:()=>eW.Wi.update(t,!0),stop:()=>(0,eW.Pn)(t),now:()=>eW.frameData.isProcessing?eW.frameData.timestamp:it.now()}};function ir(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let io={decay:t4,inertia:t4,tween:t1,keyframes:t1,spring:t6},is=e=>e/100;function ia({autoplay:e=!0,delay:t=0,driver:i=ii,keyframes:n,type:r="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:h,...d}){let f,p,O,g,m,b=1,y=!1,v=()=>{p=new Promise(e=>{f=e})};v();let S=io[r]||t1;S!==t1&&"number"!=typeof n[0]&&(g=eX(is,t0(n[0],n[1])),n=[0,100]);let x=S({...d,keyframes:n});"mirror"===a&&(m=S({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}));let k="idle",w=null,D=null,Q=null;null===x.calculatedDuration&&o&&(x.calculatedDuration=ir(x));let{calculatedDuration:P}=x,C=1/0,$=1/0;null!==P&&($=(C=P+s)*(o+1)-s);let Z=0,A=e=>{if(null===D)return;b>0&&(D=Math.min(D,e)),b<0&&(D=Math.min(e-$/b,D));let i=(Z=null!==w?w:Math.round(e-D)*b)-t*(b>=0?1:-1),r=b>=0?i<0:i>$;Z=Math.max(i,0),"finished"===k&&null===w&&(Z=$);let l=Z,u=x;if(o){let e=Math.min(Z,$)/C,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,o+1))%2&&("reverse"===a?(i=1-i,s&&(i-=s/C)):"mirror"===a&&(u=m)),l=q(0,1,i)*C}let c=r?{done:!1,value:n[0]}:u.next(l);g&&(c.value=g(c.value));let{done:d}=c;r||null===P||(d=b>=0?Z>=$:Z<=0);let f=null===w&&("finished"===k||"running"===k&&d);return h&&h(c.value),f&&W(),c},E=()=>{O&&O.stop(),O=void 0},M=()=>{k="idle",E(),f(),v(),D=Q=null},W=()=>{k="finished",c&&c(),E(),f()},B=()=>{if(y)return;O||(O=i(A));let e=O.now();l&&l(),null!==w?D=e-w:D&&"finished"!==k||(D=e),"finished"===k&&v(),Q=D,w=null,k="running",O.start()};e&&B();let F={then:(e,t)=>p.then(e,t),get time(){return tn(Z)},set time(newTime){Z=newTime=ti(newTime),null===w&&O&&0!==b?D=O.now()-newTime/b:w=newTime},get duration(){return tn(null===x.calculatedDuration?ir(x):x.calculatedDuration)},get speed(){return b},set speed(newSpeed){if(newSpeed===b||!O)return;b=newSpeed,F.time=tn(Z)},get state(){return k},play:B,pause:()=>{k="paused",w=Z},stop:()=>{y=!0,"idle"!==k&&(k="idle",u&&u(),M())},cancel:()=>{null!==Q&&A(Q),M()},complete:()=>{k="finished"},sample:e=>(D=0,A(e))};return F}let il=(s=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===r&&(r=s()),r)),iu=new Set(["opacity","clipPath","filter","transform"]),ic=(e,t)=>"spring"===t.type||"backgroundColor"===e||!function e(t){return!!(!t||"string"==typeof t&&ta[t]||to(t)||Array.isArray(t)&&t.every(e))}(t.ease),ih={type:"spring",stiffness:500,damping:25,restSpeed:10},id=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),ip={type:"keyframes",duration:.8},iO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ig=(e,{keyframes:t})=>t.length>2?ip:B.has(e)?e.startsWith("scale")?id(t[1]):ih:iO,im=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tG.test(t)||"0"===t)&&!t.startsWith("url(")),ib=new Set(["brightness","contrast","saturate","opacity"]);function iy(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(H)||[];if(!n)return e;let r=i.replace(n,""),o=ib.has(t)?1:0;return n!==i&&(o*=100),t+"("+o+r+")"}let iv=/([a-z-]*)\(.*?\)/g,iS={...tG,getAnimatableNone:e=>{let t=e.match(iv);return t?t.map(iy).join(" "):e}},ix={...eu,color:tR,backgroundColor:tR,outlineColor:tR,fill:tR,stroke:tR,borderColor:tR,borderTopColor:tR,borderRightColor:tR,borderBottomColor:tR,borderLeftColor:tR,filter:iS,WebkitFilter:iS},ik=e=>ix[e];function iw(e,t){let i=ik(e);return i!==iS&&(i=tG),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let iD=e=>/^0[^.\s]+$/.test(e);function iQ(e,t){return e[t]||e.default||e}let iP=(e,t,i,n={})=>r=>{let o=iQ(n,e)||{},s=o.delay||n.delay||0,{elapsed:a=0}=n;a-=ti(s);let l=function(e,t,i,n){let r,o;let s=im(t,i);r=Array.isArray(i)?[...i]:[null,i];let a=void 0!==n.from?n.from:e.get(),l=[];for(let e=0;e<r.length;e++){var u;null===r[e]&&(r[e]=0===e?a:r[e-1]),("number"==typeof(u=r[e])?0===u:null!==u?"none"===u||"0"===u||iD(u):void 0)&&l.push(e),"string"==typeof r[e]&&"none"!==r[e]&&"0"!==r[e]&&(o=r[e])}if(s&&l.length&&o)for(let e=0;e<l.length;e++)r[l[e]]=iw(t,o);return r}
9(t,e,i,o),u=l[0],c=l[l.length-1],h=im(e,u),d=im(e,c);(0,tt.K)(h===d,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let f={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{r(),o.onComplete&&o.onComplete()}};if(!function({when:e,delay:t,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(o)&&(f={...f,...ig(e,f)}),f.duration&&(f.duration=ti(f.duration)),f.repeatDelay&&(f.repeatDelay=ti(f.repeatDelay)),!h||!d||tr.current||!1===o.type||t9.c.skipAnimations)return function({keyframes:e,delay:t,onUpdate:i,onComplete:n}){let r=()=>(i&&i(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:e0.Z,pause:e0.Z,stop:e0.Z,then:e=>(e(),Promise.resolve()),cancel:e0.Z,complete:e0.Z});return t?ia({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(tr.current?{...f,delay:0}:f);if(!n.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let i=function(e,t,{onUpdate:i,onComplete:n,...r}){let o,s;if(!(il()&&iu.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let a=!1,l=!1,u=()=>{s=new Promise(e=>{o=e})};u();let{keyframes:c,duration:h=300,ease:d,times:f}=r;if(ic(t,r)){let e=ia({...r,repeat:0,delay:0}),t={done:!1,value:c[0]},i=[],n=0;for(;!t.done&&n<2e4;)t=e.sample(n),i.push(t.value),n+=10;f=void 0,c=i,h=n-10,d="linear"}let p=function(e,t,i,{delay:n=0,duration:r,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let u={[t]:i};l&&(u.offset=l);let c=function e(t){if(t)return to(t)?ts(t):Array.isArray(t)?t.map(e):ta[t]}(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:h,ease:d,times:f}),O=()=>{l=!1,p.cancel()},g=()=>{l=!0,eW.Wi.update(O),o(),u()};return p.onfinish=()=>{l||(e.set(function(e,{repeat:t,repeatType:i="loop"}){let n=t&&"loop"!==i&&t%2==1?0:e.length-1;return e[n]}(c,r)),n&&n(),g())},{then:(e,t)=>s.then(e,t),attachTimeline:e=>(p.timeline=e,p.onfinish=null,e0.Z),get time(){return tn(p.currentTime||0)},set time(newTime){p.currentTime=ti(newTime)},get speed(){return p.playbackRate},set speed(newSpeed){p.playbackRate=newSpeed},get duration(){return tn(h)},play:()=>{a||(p.play(),(0,eW.Pn)(O))},pause:()=>p.pause(),stop:()=>{if(a=!0,"idle"===p.playState)return;let{currentTime:t}=p;if(t){let i=ia({...r,autoplay:!1});e.setWithVelocity(i.sample(t-10).value,i.sample(t).value,10)}g()},complete:()=>{l||p.finish()},cancel:g}}(t,e,f);if(i)return i}return ia(f)};function iC(e){return!!(T(e)&&e.add)}let i$=e=>/^\-?\d*\.?\d+$/.test(e);function iZ(e,t){-1===e.indexOf(t)&&e.push(t)}function iA(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class iE{constructor(){this.subscriptions=[]}add(e){return iZ(this.subscriptions,e),()=>iA(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(e,t,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let iM=e=>!isNaN(parseFloat(e)),iW={current:void 0};class iB{constructor(e,t={}){this.version="11.0.8",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{let i=it.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=iM(this.current),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=it.now()}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new iE);let i=this.events[e].add(t);return"change"===e?()=>{i(),eW.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return iW.current&&iW.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=it.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function iF(e,t){return new iB(e,t)}let iT=e=>t=>t.test(e),ij=[G,er,en,ei,es,eo,{test:e=>"auto"===e,parse:e=>e}],iR=e=>ij.find(iT(e)),iz=[...ij,tR,tG],i_=e=>iz.find(iT(e));function iY(e,t,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t),l=e.getValue("willChange");n&&(o=n);let u=[],c=r&&e.animationState&&e.animationState.getState()[r];for(let t in a){let n=e.getValue(t),r=a[t];if(!n||void 0===r||c&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(c,t))continue;let s={delay:i,elapsed:0,...iQ(o||{},t)};if(window.HandoffAppearAnimations){let i=e.getProps()[p];if(i){let e=window.HandoffAppearAnimations(i,t,n,eW.Wi);null!==e&&(s.elapsed=e,s.isHandoff=!0)}}let h=!s.isHandoff&&!function(e,t){let i=e.get();if(!Array.isArray(t))return i!==t;for(let e=0;e<t.length;e++)if(t[e]!==i)return!0}(n,r);if("spring"===s.type&&(n.getVelocity()||s.velocity)&&(h=!1),n.animation&&(h=!1),h)continue;n.start(iP(t,n,r,e.shouldReduceMotion&&B.has(t)?{type:!1}:s));let d=n.animation;iC(l)&&(l.add(t),d.then(()=>l.remove(t))),u.push(d)}return s&&Promise.all(u).then(()=>{s&&function(e,t){let i=te(e,t),{transitionEnd:n={},transition:r={},...o}=i?e.makeTargetAnimatable(i,!1):{};for(let t in o={...o,...n}){let i=eA(o[t]);e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,iF(i))}}(e,s)}),u}function iX(e,t,i={}){let n=te(e,t,i.custom),{transition:r=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let o=n?()=>
9Promise.all(iY(e,n,i)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,i=0,n=0,r=1,o){let s=[],a=(e.variantChildren.size-1)*n,l=1===r?(e=0)=>e*n:(e=0)=>a-e*n;return Array.from(e.variantChildren).sort(iI).forEach((e,n)=>{e.notify("AnimationStart",t),s.push(iX(e,t,{...o,delay:i+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,o+n,s,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([o(),s(i.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}function iI(e,t){return e.sortNodePosition(t)}let iV=[...v].reverse(),iq=v.length;function iG(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class iU extends eL{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>iX(e,t,i)));else if("string"==typeof t)n=iX(e,t,i);else{let r="function"==typeof t?te(e,t,i.custom):t;n=Promise.all(iY(e,r,i))}return n.then(()=>e.notify("AnimationComplete",t))})(e,t,i))),i={animate:iG(!0),whileInView:iG(),whileHover:iG(),whileTap:iG(),whileDrag:iG(),whileFocus:iG(),exit:iG()},n=!0,r=(t,i)=>{let n=te(e,i);if(n){let{transition:e,transitionEnd:i,...r}=n;t={...t,...r,...i}}return t};function o(o,s){let a=e.getProps(),l=e.getVariantContext(!0)||{},u=[],c=new Set,h={},d=1/0;for(let t=0;t<iq;t++){var f;let p=iV[t],O=i[p],g=void 0!==a[p]?a[p]:l[p],m=b(g),v=p===s?O.isActive:null;!1===v&&(d=t);let S=g===l[p]&&g!==a[p]&&m;if(S&&n&&e.manuallyAnimateOnMount&&(S=!1),O.protectedKeys={...h},!O.isActive&&null===v||!g&&!O.prevProp||y(g)||"boolean"==typeof g)continue;let x=(f=O.prevProp,("string"==typeof g?g!==f:!!Array.isArray(g)&&!e9(g,f))||p===s&&O.isActive&&!S&&m||t>d&&m),k=!1,w=Array.isArray(g)?g:[g],D=w.reduce(r,{});!1===v&&(D={});let{prevResolvedValues:Q={}}=O,P={...Q,...D},C=e=>{x=!0,c.has(e)&&(k=!0,c.delete(e)),O.needsAnimating[e]=!0};for(let e in P){let t=D[e],i=Q[e];if(!h.hasOwnProperty(e))(e$(t)&&e$(i)?e9(t,i):t===i)?void 0!==t&&c.has(e)?C(e):O.protectedKeys[e]=!0:void 0!==t?C(e):c.add(e)}O.prevProp=g,O.prevResolvedValues=D,O.isActive&&(h={...h,...D}),n&&e.blockInitialAnimation&&(x=!1),x&&(!S||k)&&u.push(...w.map(e=>({animation:e,options:{type:p,...o}})))}if(c.size){let t={};
9c.forEach(i=>{let n=e.getBaseTarget(i);void 0!==n&&(t[i]=n)}),u.push({animation:t})}let p=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(p=!1),n=!1,p?t(u):Promise.resolve()}return{animateChanges:o,setActive:function(t,n,r){var s;if(i[t].isActive===n)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var i;return null===(i=e.animationState)||void 0===i?void 0:i.setActive(t,n)}),i[t].isActive=n;let a=o(r,t);for(let e in i)i[e].protectedKeys={};return a},setAnimateFunction:function(i){t=i(e)},getState:()=>i}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),y(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let iL=0;class iN extends eL{constructor(){super(...arguments),this.id=iL++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:i}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e,{custom:null!=i?i:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let iH=(e,t)=>Math.abs(e-t);class iJ{constructor(e,t,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=i1(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(e=i.offset,t={x:0,y:0},Math.sqrt(iH(e.x,t.x)**2+iH(e.y,t.y)**2)>=3);if(!n&&!r)return;let{point:o}=i,{timestamp:s}=eW.frameData;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=iK(t,this.transformPagePoint),eW.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=i1("pointercancel"===e.type?this.lastMoveEventInfo:iK(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,o),n&&n(e,o)},!ej(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=i,this.contextWindow=n||window;let o=iK(eR(e),this.transformPagePoint),{point:s}=o,{timestamp:a}=eW.frameData;this.history=[{...s,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,i1(o,this.history)),this.removeListeners=eX(e_(this.contextWindow,"pointermove",this.handlePointerMove),e_(this.contextWindow,"pointerup",this.handlePointerUp),e_(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,eW.Pn)(this.updatePoint)}}function iK(e,t){return t?{point:t(e.point)}:e}function i0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function i1({point:e},t){return{point:e,delta:i0(e,i2(t)),offset:i0(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=i2(e);for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>ti(.1)));)i--;if(!n)return{x:0,y:0};let o=tn(r.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}function i2(e){return e[e.length-1]}function i5(e){return e.max-e.min}function i7(e,t=0,i=.01){return Math.abs(e-t)<=i}function i3(e,t,i,n=.5){e.origin=n,e.originPoint=tD(t.min,t.max,e.origin),e.scale=i5(i)/i5(t),(i7(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=tD(i.min,i.max,e.origin)-e.originPoint,(i7(e.translate)||isNaN(e.translate))&&(e.translate=0)}function i8(e,t,i,n){i3(e.x,t.x,i.x,n?n.originX:void 0),i3(e.y,t.y,i.y,n?n.originY:void 0)}function i6(e,t,i){e.min=i.min+t.min,e.max=e.min+i5(t)}function i4(e,t,i){e.min=t.min-i.min,e.max=e.min+i5(t)}function i9(e,t,i){i4(e.x,t.x,i.x),i4(e.y,t.y,i.y)}function ne(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function nt(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function ni(e,t,i){return{min:nn(e,t),max:nn(e,i)}}function nn(e,t){return"number"==typeof e?e:e[t]||0}let nr=()=>({translate:0,scale:1,origin:0,originPoint:0}),no=()=>({x:nr(),y:nr()}),ns=()=>({min:0,max:0}),na=()=>({x:ns(),y:ns()});function nl(e){return[e("x"),e("y")]}function nu({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function nc(e){return void 0===e||1===e}function nh({scale:e,scaleX:t,scaleY:i}){return!nc(e)||!nc(t)||!nc(i)}
9function nd(e){return nh(e)||nf(e)||e.z||e.rotate||e.rotateX||e.rotateY}function nf(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function np(e,t,i,n,r){return void 0!==r&&(e=n+r*(e-n)),n+i*(e-n)+t}function nO(e,t=0,i=1,n,r){e.min=np(e.min,t,i,n,r),e.max=np(e.max,t,i,n,r)}function ng(e,{x:t,y:i}){nO(e.x,t.translate,t.scale,t.originPoint),nO(e.y,i.translate,i.scale,i.originPoint)}function nm(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function nb(e,t){e.min=e.min+t,e.max=e.max+t}function ny(e,t,[i,n,r]){let o=void 0!==t[r]?t[r]:.5,s=tD(e.min,e.max,o);nO(e,t[i],t[n],s,t.scale)}let nv=["x","scaleX","originX"],nS=["y","scaleY","originY"];function nx(e,t){ny(e.x,t,nv),ny(e.y,t,nS)}function nk(e,t){return nu(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}let nw=({current:e})=>e?e.ownerDocument.defaultView:null,nD=new WeakMap;class nQ{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=na(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new iJ(e,{onSessionStart:e=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(eR(e,"page").point)},onStart:(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eG(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nl(e=>{let t=this.getAxisMotionValue(e).get()||0;if(en.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];if(n){let e=i5(n);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),r&&eW.Wi.update(()=>r(e,t),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:s}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>nl(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:nw(this.visualElement)})}stop(e,t){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&eW.Wi.update(()=>r(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){let{drag:n}=this.getProps();if(!i||!nP(e,n,this.currentDirection))return;let r=this.getAxisMotionValue(e),o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:i},n){return void 0!==t&&e<t?e=n?tD(t,e,n.min):Math.max(e,t):void 0!==i&&e>i&&(e=n?tD(i,e,n.max):Math.min(e,i)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,r=this.constraints;t&&m(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(e,{top:t,left:i,bottom:n,right:r}){return{x:ne(e.x,i,r),y:ne(e.y,t,n)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:ni(e,"left","right"),y:ni(e,"to
9p","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&nl(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let i={};return void 0!==t.min&&(i.min=t.min-e.min),void 0!==t.max&&(i.max=t.max-e.min),i}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!m(t))return!1;let n=t.current;(0,tt.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let o=function(e,t,i){let n=nk(e,i),{scroll:r}=t;return r&&(nb(n.x,r.offset.x),nb(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),s={x:nt((e=r.layout.layoutBox).x,o.x),y:nt(e.y,o.y)};if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=nu(e))}return s}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(nl(s=>{if(!nP(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return i.start(iP(e,i,0,t))}stopAnimation(){nl(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){nl(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){nl(t=>{let{drag:i}=this.getProps();if(!nP(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:o}=n.layout.layoutBox[t];r.set(e[t]-tD(i,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!m(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nl(e=>{let t=this.getAxisMotionValue(e);if(t){let i=t.get();n[e]=function(e,t){let i=.5,n=i5(e),r=i5(t);return r>n?i=tw(t.min,t.max-n,e.min):n>r&&(i=tw(e.min,e.max-r,t.min)),q(0,1,i)}({min:i,max:i},this.constraints[e])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),nl(t=>{if(!nP(t,e,null))return;let i=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];i.set(tD(r,o,n[t]))})}addListeners(){if(!this.visualElement.current)return;nD.set(this.visualElement,this);let e=e_(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:i=!0}=this.getProps();t&&i&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();m(e)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",t);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),t();let r=eT(window,"resize",()=>this.scalePositionWithinConstraints()),o=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nl(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),n(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function nP(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class nC extends eL{constructor(e){super(e),this.removeGroupControls=e0.Z,this.removeListeners=e0.Z,this.controls=new nQ(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||e0.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let n$=e=>(t,i)=>{e&&eW.Wi.update(()=>e(t,i))};
9class nZ extends eL{constructor(){super(...arguments),this.removePointerDownListener=e0.Z}onPointerDown(e){this.session=new iJ(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nw(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:n$(e),onStart:n$(t),onMove:i,onEnd:(e,t)=>{delete this.session,n&&eW.Wi.update(()=>n(e,t))}}}mount(){this.removePointerDownListener=e_(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let nA={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let nM={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!er.test(e))return e;e=parseFloat(e)}let i=nE(e,t.target.x),n=nE(e,t.target.y);return`${i}% ${n}%`}};class nW extends a.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=e;Object.assign(M,nF),r&&(t.group&&t.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),nA.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:n,isPresent:r}=this.props,o=i.projection;return o&&(o.isPresent=r,n||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===r||(r?o.promote():o.relegate()||eW.Wi.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),O.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nB(e){let[t,i]=function(){let e=(0,a.useContext)(c.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:i,register:n}=e,r=(0,a.useId)();return(0,a.useEffect)(()=>n(r),[]),!t&&i?[!1,()=>i&&i(r)]:[!0]}(),n=(0,a.useContext)(C.p);return a.createElement(nW,{...e,layoutGroup:n,switchLayoutGroup:(0,a.useContext)($),isPresent:t,safeToRemove:i})}let nF={borderRadius:{...nM,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nM,borderTopRightRadius:nM,borderBottomLeftRadius:nM,borderBottomRightRadius:nM,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=tG.parse(e);if(n.length>5)return e;let r=tG.createTransformer(e),o="number"!=typeof n[0]?1:0,s=i.x.scale*t.x,a=i.y.scale*t.y;n[0+o]/=s,n[1+o]/=a;let l=tD(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),r(n)}}},nT=["TopLeft","TopRight","BottomLeft","BottomRight"],nj=nT.length,nR=e=>"string"==typeof e?parseFloat(e):e,nz=e=>"number"==typeof e||er.test(e);function n_(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nY=nI(0,.5,tm),nX=nI(.5,.95,e0.Z);function nI(e,t,i){return n=>n<e?0:n>t?1:i(tw(e,t,n))}function nV(e,t){e.min=t.min,e.max=t.max}function nq(e,t){nV(e.x,t.x),nV(e.y,t.y)}function nG(e,t,i,n,r){return e-=t,e=n+1/i*(e-n),void 0!==r&&(e=n+1/r*(e-n)),e}function nU(e,t,[i,n,r],o,s){!function(e,t=0,i=1,n=.5,r,o=e,s=e){if(en.test(t)&&(t=parseFloat(t),t=tD(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=tD(o.min,o.max,n);e===o&&(a-=t),e.min=nG(e.min,t,i,a,r),e.max=nG(e.max,t,i,a,r)}(e,t[i],t[n],t[r],t.scale,o,s)}let nL=["x","scaleX","originX"],nN=["y","scaleY","originY"];function nH(e,t,i,n){nU(e.x,t,nL,i?i.x:void 0,n?n.x:void 0),nU(e.y,t,nN,i?i.y:void 0,n?n.y:void 0)}function nJ(e){return 0===e.translate&&1===e.scale}function nK(e){return nJ(e.x)&&nJ(e.y)}function n0(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function n1(e){return i5(e.x)/i5(e.y)}class n2{constructor(){this.members=[]}add(e){iZ(this.members,e),e.scheduleRender()}remove(e){if(iA(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&i.hide()}}
9exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function n5(e,t,i){let n="",r=e.x.translate/t.x,o=e.y.translate/t.y;if((r||o)&&(n=`translate3d(${r}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{rotate:e,rotateX:t,rotateY:r}=i;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),r&&(n+=`rotateY(${r}deg) `)}let s=e.x.scale*t.x,a=e.y.scale*t.y;return(1!==s||1!==a)&&(n+=`scale(${s}, ${a})`),n||"none"}let n7=(e,t)=>e.depth-t.depth;class n3{constructor(){this.children=[],this.isDirty=!1}add(e){iZ(this.children,e),this.isDirty=!0}remove(e){iA(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(n7),this.isDirty=!1,this.children.forEach(e)}}let n8=["","X","Y","Z"],n6={visibility:"hidden"},n4=0,n9={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function re({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(e={},i=null==t?void 0:t()){this.id=n4++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,n9.totalNodes=n9.resolvedTargetDeltas=n9.recalculatedProjection=0,this.nodes.forEach(rn),this.nodes.forEach(rc),this.nodes.forEach(rh),this.nodes.forEach(rr),window.MotionDebug&&window.MotionDebug.record(n9)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new n3)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new iE),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:r,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),e){let i;let n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(e,t){let i=it.now(),n=({timestamp:t})=>{let r=t-i;r>=250&&((0,eW.Pn)(n),e(r-250))};return eW.Wi.read(n,!0),()=>(0,eW.Pn)(n)}(n,0),nA.hasAnimatedSinceResize&&(nA.hasAnimatedSinceResize=!1,this.nodes.forEach(ru))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||o.getDefaultTransition()||rm,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!n0(this.targetLayout,n)||i,u=!t&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...iQ(r,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||ru(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,eW.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
9h(rd),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rs);return}this.isUpdating||this.nodes.forEach(ra),this.isUpdating=!1,window.HandoffCancelAllAnimations&&window.HandoffCancelAllAnimations(),this.nodes.forEach(rl),this.nodes.forEach(rt),this.nodes.forEach(ri),this.clearAllSnapshots();let e=it.now();eW.frameData.delta=q(0,1e3/60,e-eW.frameData.timestamp),eW.frameData.timestamp=e,eW.frameData.isProcessing=!0,eW.S6.update.process(eW.frameData),eW.S6.preRender.process(eW.frameData),eW.S6.render.process(eW.frameData),eW.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,O.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(ro),this.sharedNodes.forEach(rf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eW.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eW.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=na(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:i(this.instance)})}resetTransform(){if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!nK(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&(t||nd(this.latestValues)||o)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),rv((t=n).x),rv(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return na();let t=e.measureViewportBox(),{scroll:i}=this.root;return i&&(nb(t.x,i.offset.x),nb(t.y,i.offset.y)),t}removeElementScroll(e){let t=na();nq(t,e);for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:o}=n;if(n!==this.root&&r&&o.layoutScroll){if(r.isRoot){nq(t,e);let{scroll:i}=this.root;i&&(nb(t.x,-i.offset.x),nb(t.y,-i.offset.y))}nb(t.x,r.offset.x),nb(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){let i=na();nq(i,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&nx(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),nd(n.latestValues)&&nx(i,n.latestValues)}return nd(this.latestValues)&&nx(i,this.latestValues),i}removeTransform(e){let t=na();nq(t,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];if(!i.instance||!nd(i.latestValues))continue;nh(i.latestValues)&&i.updateSnapshot();let n=na();nq(n,i.measurePageBox()),nH(t,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return nd(this.latestValues)&&nH(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eW.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,i,n,r;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==o;if(!(e||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=eW.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=na(),this.relativeTargetOrigin=na(),i9(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),nq(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=na(),this.targetWithTransforms=na()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,i6(i.x,n.x,r.x),i6(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nq(this.target,this.layout.layoutBox),ng(this.target,this.targetDelta)):nq(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=na(),this.relativeTargetOrigin=na(),i9(this.relativeTargetOrigin,this.target,e.target),nq(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}n9.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||nh(this.parent.latestValues)||nf(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),i=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===eW.frameData.timestamp&&(n=!1),n)return;let{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||o))return;nq(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(e,t,i,n=!1){let r,o;let s=i.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(r=i[a]).projectionDelta;let s=r.instance;(!s||!s.style||"contents"!==s.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&nx(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,ng(e,o)),n&&nd(r.latestValues)&&nx(e,r.latestValues))}t.x=nm(t.x),t.y=nm(t.y)}}(this.layoutCorrected,this.treeScale,this.path,i),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=na());let{target:l}=t;if(!l){this.projectionTransform&&(this.projectionDelta=no(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=no(),this.projectionDeltaWithTransform=no());let u=this.projectionTransform;i8(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=n5(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==s||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),n9.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},s=no();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=na(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(rg));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(rp(s.x,e.x,n),rp(s.y,e.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,f,p;i9(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,rO(f.x,p.x,a.x,n),rO(f.y,p.y,a.y,n),i&&(u=this.relativeTarget,d=i,u.x.min===d.x.min&&u.x.max===d.x.max&&u.y.min===d.y.min&&u.y.max===d.y.max)&&(this.isProjectionDirty=!1),i||(i=na()),nq(i,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,i,n,r,o){r?(e.opacity=tD(0,void 0!==i.opacity?i.opacity:1,nY(n)),e.opacityExit=tD(void 0!==t.opacity?t.opacity:1,0,nX(n))
9):o&&(e.opacity=tD(void 0!==t.opacity?t.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<nj;r++){let o=`border${nT[r]}Radius`,s=n_(t,o),a=n_(i,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||nz(s)===nz(a)?(e[o]=Math.max(tD(nR(s),nR(a),n),0),(en.test(a)||en.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||i.rotate)&&(e.rotate=tD(t.rotate||0,i.rotate||0,n))}(o,r,this.latestValues,n,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,eW.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eW.Wi.update(()=>{nA.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,i){let n=T(0)?0:iF(0);return n.start(iP("",n,1e3,i)),n.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:n,latestValues:r}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&rS(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||na();let t=i5(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=i5(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}nq(t,i),nx(t,r),i8(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new n2),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(t=!0),!t)return;let n={};for(let t=0;t<n8.length;t++){let r="rotate"+n8[t];i[r]&&(n[r]=i[r],e.setStaticValue(r,0))}for(let t in e.render(),n)e.setStaticValue(t,n[t]);e.scheduleRender()}getProjectionStyles(e){var t,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return n6;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=eE(null==e?void 0:e.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eE(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!nd(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=n5(this.projectionDeltaWithTransform,this.treeScale,s),r&&(n.transform=r(s,n.transform));let{x:a,y:l}=this.projectionDelta;for(let e in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?n.opacity=o===this?null!==(i=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:n.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,M){if(void 0===s[e])continue;let{correct:t,applyTo:i}=M[e],r="none"===n.transform?s[e]:t(s[e],o);if(i){let e=i.length;for(let t=0;t<e;t++)n[i[t]]=r}else n[e]=r}return this.options.layoutId&&(n.pointerEvents=o===this?eE(null==e?void 0:e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
9resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(rs),this.root.sharedNodes.clear()}}}function rt(e){e.updateLayout()}function ri(e){var t;let i=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:r}=e.options,o=i.source!==e.layout.source;"size"===r?nl(e=>{let n=o?i.measuredBox[e]:i.layoutBox[e],r=i5(n);n.min=t[e].min,n.max=n.min+r}):rS(r,i.layoutBox,t)&&nl(n=>{let r=o?i.measuredBox[n]:i.layoutBox[n],s=i5(t[n]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+s)});let s=no();i8(s,t,i.layoutBox);let a=no();o?i8(a,e.applyTransform(n,!0),i.measuredBox):i8(a,t,i.layoutBox);let l=!nK(s),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:o}=n;if(r&&o){let s=na();i9(s,i.layoutBox,r.layoutBox);let a=na();i9(a,t,o.layoutBox),n0(s,a)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:i,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function rn(e){n9.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function rr(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ro(e){e.clearSnapshot()}function rs(e){e.clearMeasurements()}function ra(e){e.isLayoutDirty=!1}function rl(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ru(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function rc(e){e.resolveTargetDelta()}function rh(e){e.calcProjection()}function rd(e){e.resetRotation()}function rf(e){e.removeLeadSnapshot()}function rp(e,t,i){e.translate=tD(t.translate,0,i),e.scale=tD(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function rO(e,t,i,n){e.min=tD(t.min,i.min,n),e.max=tD(t.max,i.max,n)}function rg(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let rm={duration:.45,ease:[.4,0,.1,1]},rb=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ry=rb("applewebkit/")&&!rb("chrome/")?Math.round:e0.Z;function rv(e){e.min=ry(e.min),e.max=ry(e.max)}function rS(e,t,i){return"position"===e||"preserve-aspect"===e&&!i7(n1(t),n1(i),.2)}let rx=re({attachResizeListener:(e,t)=>eT(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rk={current:void 0},rw=re({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rk.current){let e=new rx({});e.mount(window),e.setOptions({layoutScroll:!0}),rk.current=e}return rk.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),rD=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function rQ(e,t,i=1){(0,tt.k)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,r]=function(e){let t=rD.exec(e);if(!t)return[,];let[,i,n]=t;return[i,n]}(e);if(!n)return;let o=window.getComputedStyle(t).getPropertyValue(n);if(o){let e=o.trim();return i$(e)?parseFloat(e):e}return X(r)?rQ(r,t,i+1):r}let rP=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rC=e=>rP.has(e),r$=e=>Object.keys(e).some(rC),rZ=e=>e===G||e===er,rA=(e,t)=>parseFloat(e.split(", ")[t]),rE=(e,t)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/);if(r)return rA(r[1],t);{let t=n.match(/^matrix\((.+)\)$/);return t?rA(t[1],e):0}},rM=new Set(["x","y","z"]),rW=W.filter(e=>!rM.has(e)),rB={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:rE(4,13),y:rE(5,14)};rB.translateX=rB.x,rB.translateY=rB.y;let rF=(e,t,i)=>{let n=t.measureViewportBox(),r=getComputedStyle(t.current),{display:o}=r,s={};"none"===o&&t.setStaticValue("display",e.display||"block"),i.forEac
9h(e=>{s[e]=rB[e](n,r)}),t.render();let a=t.measureViewportBox();return i.forEach(i=>{let n=t.getValue(i);n&&n.jump(s[i]),e[i]=rB[i](a,r)}),e},rT=(e,t,i={},n={})=>{t={...t},n={...n};let r=Object.keys(t).filter(rC),o=[],s=!1,a=[];if(r.forEach(r=>{let l;let u=e.getValue(r);if(!e.hasValue(r))return;let c=i[r],h=iR(c),d=t[r];if(e$(d)){let e=d.length,t=null===d[0]?1:0;h=iR(c=d[t]);for(let i=t;i<e&&null!==d[i];i++)l?(0,tt.k)(iR(d[i])===l,"All keyframes must be of the same type"):(l=iR(d[i]),(0,tt.k)(l===h||rZ(h)&&rZ(l),"Keyframes must be of the same dimension as the current value"))}else l=iR(d);if(h!==l){if(rZ(h)&&rZ(l)){let e=u.get();"string"==typeof e&&u.set(parseFloat(e)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&l===er&&(t[r]=d.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==l?void 0:l.transform)&&(0===c||0===d)?0===c?u.set(l.transform(c)):t[r]=h.transform(d):(s||(o=function(e){let t=[];return rW.forEach(i=>{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(r),n[r]=void 0!==n[r]?n[r]:t[r],u.jump(d))}}),!a.length)return{target:t,transitionEnd:n};{let i=a.indexOf("height")>=0?window.pageYOffset:null,r=rF(t,e,a);return o.length&&o.forEach(([t,i])=>{e.getValue(t).set(i)}),e.render(),P.j&&null!==i&&window.scrollTo({top:i}),{target:r,transitionEnd:n}}},rj=(e,t,i,n)=>{var r,o;let s=function(e,{...t},i){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:i};for(let r in i&&(i={...i}),e.values.forEach(e=>{let t=e.get();if(!X(t))return;let i=rQ(t,n);i&&e.set(i)}),t){let e=t[r];if(!X(e))continue;let o=rQ(e,n);o&&(t[r]=o,i||(i={}),void 0===i[r]&&(i[r]=e))}return{target:t,transitionEnd:i}}(e,t,n);return t=s.target,n=s.transitionEnd,r=t,o=n,r$(r)?rT(e,r,i,o):{target:r,transitionEnd:o}},rR={current:null},rz={current:!1},r_=new WeakMap,rY=Object.keys(Q),rX=rY.length,rI=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rV=S.length;class rq{constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:n,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>eW.Wi.render(this.render,!1,!0);let{latestValues:s,renderState:a}=r;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=x(t),this.isVariantNode=k(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{});for(let e in u){let t=u[e];void 0!==s[e]&&T(t)&&(t.set(s[e],!1),iC(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,r_.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),rz.current||function(){if(rz.current=!0,P.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rR.current=e.matches;e.addListener(t),t()}else rR.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rR.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in r_.delete(this.current),this.projection&&this.projection.unmount(),(0,eW.Pn)(this.notifyUpdate),(0,eW.Pn)(this.render),this.valueSubscriptions.forEach(e
9=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let i=B.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eW.Wi.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},i,n,r){let o,s;for(let e=0;e<rX;e++){let i=rY[e],{isEnabled:n,Feature:r,ProjectionNode:a,MeasureLayout:l}=Q[i];a&&(o=a),n(t)&&(!this.features[i]&&r&&(this.features[i]=new r(this)),l&&(s=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:i,drag:n,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:i,alwaysMeasureLayout:!!n||s&&m(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):na()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<rI.length;t++){let i=rI[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=e["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(e,t,i){let{willChange:n}=t;for(let r in t){let o=t[r],s=i[r];if(T(o))e.addValue(r,o),iC(n)&&n.add(r);else if(T(s))e.addValue(r,iF(o,{owner:e})),iC(n)&&n.remove(r);else if(s!==o){if(e.hasValue(r)){let t=e.getValue(r);t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(r);e.addValue(r,iF(void 0!==t?t:o,{owner:e}))}}}for(let n in i)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<rV;e++){let i=S[e],n=this.props[i];(b(n)||!1===n)&&(t[i]=n)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=iF(t,{owner:this}),this.addValue(e,i)),i}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:i}=this.props,n="string"==typeof i||"object"==typeof i?null===(t=eP(this.props,i))||void 0===t?void 0:t[e]:void 0;if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||T(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new iE),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class rG extends rq{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...i},n){let r=function(e,t,i){let n={};for(let r in e){let e=function(e,t){if(t)return(t[e]||t.default||t).from}(r,t);if(void 0!==e)n[r]=e;else{let e=i.getValue(r);e&&(n[r]=e.get())}}return n}(i,e||{},this);if(n){!function(e,t,i){var n,r;let o=Object.keys(t).filter(t=>!e.hasValue(t)),s=o.length;if(s)for(let a=0;a<s;a++){let s=o[a],l=t[s],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(r=null!==(n=i[s])&&void 0!==n?n:e.readValue(s))&&void 0!==r?r:t[s]),null!=u&&("string"==typeof u&&(i$(u)||iD(u))?u=parseFloat(u):!i_(u)&&tG.test(l)&&(u=iw(s,l)),e.addValue(s,iF(u,{owner:e})),void 0===i[s]&&(i[s]=u),null!==u&&e.setBaseTarget(s,u))}}(this,i,r);let e=rj(this,i,r,t);t=e.transitionEnd,i=e.target}return{transition:e,transitionEnd:t,...i}}}class rU extends rG{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(B.has(t)){let e=ik(t);return e&&e.default||0}{let i=window.getComputedStyle(e),n=(_(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return nk(e,t)}build(e,t,i,n){ec(e,t,i,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return eD(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;T(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,i,n){ex(e,t,i,n)}}class rL extends rG{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(B.has(t)){let e=ik(t);return e&&e.default||0}return t=ek.has(t)?t:f(t),e.getAttribute(t)}measureInstanceViewportBox(){return na()}scrapeMotionValuesFromProps(e,t){return eQ(e,t)}
9build(e,t,i,n){ey(e,t,i,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,i,n){ew(e,t,i,n)}mount(e){this.isSVGTag=eS(e.tagName),super.mount(e)}}let rN=(e,t)=>E(e)?new rL(t,{enableHardwareAcceleration:!1}):new rU(t,{enableHardwareAcceleration:!0}),rH={animation:{Feature:iU},exit:{Feature:iN},inView:{Feature:e4},tap:{Feature:e2},focus:{Feature:eJ},hover:{Feature:eH},pan:{Feature:nZ},drag:{Feature:nC,ProjectionNode:rw,MeasureLayout:nB},layout:{ProjectionNode:rw,MeasureLayout:nB}},rJ=function(e){function t(t,i={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:n,Component:r}){e&&function(e){for(let t in e)Q[t]={...Q[t],...e[t]}}(e);let o=(0,a.forwardRef)(function(o,s){var f;let g;let y={...(0,a.useContext)(l),...o,layoutId:function({layoutId:e}){let t=(0,a.useContext)(C.p).id;return t&&void 0!==e?t+"-"+e:e}(o)},{isStatic:v}=y,S=function(e){let{initial:t,animate:i}=function(e,t){if(x(e)){let{initial:t,animate:i}=e;return{initial:!1===t||b(t)?t:void 0,animate:b(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,a.useContext)(u));return(0,a.useMemo)(()=>({initial:t,animate:i}),[w(t),w(i)])}(o),k=n(o,v);if(!v&&P.j){S.visualElement=function(e,t,i,n){let{visualElement:r}=(0,a.useContext)(u),o=(0,a.useContext)(d),s=(0,a.useContext)(c.O),f=(0,a.useContext)(l).reducedMotion,g=(0,a.useRef)();n=n||o.renderer,!g.current&&n&&(g.current=n(e,{visualState:t,parent:r,props:i,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:f}));let m=g.current;(0,a.useInsertionEffect)(()=>{m&&m.update(i,s)});let b=(0,a.useRef)(!!(i[p]&&!window.HandoffComplete));return(0,h.L)(()=>{m&&(O.postRender(m.render),b.current&&m.animationState&&m.animationState.animateChanges())}),(0,a.useEffect)(()=>{m&&(m.updateFeatures(),!b.current&&m.animationState&&m.animationState.animateChanges(),b.current&&(b.current=!1,window.HandoffComplete=!0))}),m}(r,k,y,t);let i=(0,a.useContext)($),n=(0,a.useContext)(d).strict;S.visualElement&&(g=S.visualElement.loadFeatures(y,n,e,i))}return a.createElement(u.Provider,{value:S},g&&S.visualElement?a.createElement(g,{visualElement:S.visualElement,...y}):null,i(r,o,(f=S.visualElement,(0,a.useCallback)(e=>{e&&k.mount&&k.mount(e),f&&(e?f.mount(e):f.unmount()),s&&("function"==typeof s?s(e):m(s)&&(s.current=e))},[f])),k,v,S.visualElement))});return o[Z]=r,o}(e(t,i))}if("undefined"==typeof Proxy)return t;let i=new Map;return new Proxy(t,{get:(e,n)=>(i.has(n)||i.set(n,t(n)),i.get(n))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},i,n){return{...E(e)?eB:eF,preloadedFeatures:i,useRender:function(e=!1){return(t,i,n,{latestValues:r},o)=>{let s=(E(t)?function(e,t,i,n){let r=(0,a.useMemo)(()=>{let i=ev();return ey(i,t,{enableHardwareAcceleration:!1},eS(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};ed(t,e.style,e),r.style={...t,...r.style}}return r}:function(e,t,i){let n={},r=function(e,t,i){let n=e.style||{},r={};return ed(r,n,e),Object.assign(r,function({transformTemplate:e},t,i){return(0,a.useMemo)(()=>{let n=eh();return ec(n,t,{enableHardwareAcceleration:!i},e),Object.assign({},n.vars,n.style)},[t])}(e,t,i)),r}(e,t,i);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(i,r,o,t),l=function(e,t,i){let n={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&(eO(r)||!0===i&&ep(r)||!t&&!ep(r)||e.draggable&&r.startsWith("onDrag"))&&(n[r]=e[r]);return n}(i,"string"==typeof t,e),u=t!==a.Fragment?{...l,...s,ref:n}:{},{children:c}=i,h=(0,a.useMemo)(()=>T(c)?c.get():c,[c]);return(0,a.createElement)(t,{...u,children:h})}}(t),createVisualElement:n,Component:e}})(e,t,rH,rN))},38790:function(e,t,i){"use strict";i.d(t,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},22145:function(e,t,i){"use strict";i.d(t,{K:function(){return r},k:function(){return o}});var n=i(7163);let r=n.Z,o=n.Z},32455:function(e,t,i){"use strict";i.d(t,{j:function(){return n}});let n="undefined"!=typeof document},7163:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});let n=e=>e},22271:function(e,t,i){"use strict";i.d(t,{h:function(){return r}});var n=i(2265);function r(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},63026:function(e,t,i){"use strict";i.d(t,{L:function(){return r}});var n=i(2265);let r=i(32455).j?n.useLayoutEffect:n.useEffect},78206:function(e,t,i){"use strict";i.d(t,{V:function(){return s}});let n="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class s{constructor(e,t){this.rules=[];let{finish:i}=t||{};function n(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let t in e)!function e(t,r,o,s){let a=[],l=/^@(\w+)\b/.exec(t[0]),u=l&&"keyframes"==l[1];if(l&&null==r)return o.push(t[0]+";");for(let i in r){let s=r[i];if(/&/.test(i))e(i.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>
9e.concat(t)),s,o);else if(s&&"object"==typeof s){if(!l)throw RangeError("The value of a property ("+i+") should be a primitive value.");e(n(i),s,a,u)}else null!=s&&a.push(i.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+s+";")}(a.length||u)&&o.push((!i||l||s?t:t.map(i)).join(", ")+" {"+a.join(" ")+"}")}(n(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=o[n]||1;return o[n]=e+1,"ͼ"+e.toString(36)}static mount(e,t,i){let n=e[r],o=i&&i.nonce;n?o&&n.setNonce(o):n=new l(e,o),n.mount(Array.isArray(t)?t:[t],e)}}let a=new Map;class l{constructor(e,t){let i=e.ownerDocument||e,n=i.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let t=a.get(i);if(t)return e[r]=t;this.sheet=new n.CSSStyleSheet,a.set(i,this)}else this.styleTag=i.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[r]=this}mount(e,t){let i=this.sheet,n=0,r=0;for(let t=0;t<e.length;t++){let o=e[t],s=this.modules.indexOf(o);if(s<r&&s>-1&&(this.modules.splice(s,1),r--,s=-1),-1==s){if(this.modules.splice(r++,0,o),i)for(let e=0;e<o.rules.length;e++)i.insertRule(o.rules[e],n++)}else{for(;r<s;)n+=this.modules[r++].rules.length;n+=o.rules.length,r++}}if(i)0>t.adoptedStyleSheets.indexOf(this.sheet)&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let i=t.head||t;this.styleTag.parentNode!=i&&i.insertBefore(this.styleTag,i.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},89341:function(e,t,i){"use strict";i.d(t,{YG:function(){return u},uY:function(){return r},ue:function(){return n}});for(var n={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:"'"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),s="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a<10;a++)n[48+a]=n[96+a]=String(a);for(var a=1;a<=24;a++)n[a+111]="F"+a;for(var a=65;a<=90;a++)n[a]=String.fromCharCode(a+32),r[a]=String.fromCharCode(a);for(var l in n)r.hasOwnProperty(l)||(r[l]=n[l]);function u(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||s&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:n)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.