r?n=Ct(t.min,t.max-r,e.min):r>i&&(n=Ct(e.min,e.max-i,t.min)),yt(0,1,n)}function Qr(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=At(t.min,t.max,e.origin),e.scale=Yr(n)/Yr(t),$r(e.scale,1,1e-4)&&(e.scale=1),e.translate=At(n.min,n.max,e.origin)-e.originPoint,$r(e.translate)&&(e.translate=0)}function Jr(e,t,n,r){Qr(e.x,t.x,n.x,ei(r.originX)),Qr(e.y,t.y,n.y,ei(r.originY))}function ei(e){return"number"===typeof e?e:.5}function ti(e,t,n){e.min=n.min+t.min,e.max=e.min+Yr(t)}var ni=n(58839);function ri(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ii(e,t){return{x:ri(e.x,t.x),y:ri(e.y,t.y)}}function oi(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function ai(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function si(e,t){e.min=t.min,e.max=t.max}function ui(e,t,n){return n+t*(e-n)}function ci(e,t,n,r,i){return void 0!==i&&(e=ui(e,i,r)),ui(e,n,r)+t}function li(e,t,n,r,i){void 0===t&&(t=0),void 0===n&&(n=1),e.min=ci(e.min,t,n,r,i),e.max=ci(e.max,t,n,r,i)}function fi(e,t){var n=t.x,r=t.y;li(e.x,n.translate,n.scale,n.originPoint),li(e.y,r.translate,r.scale,r.originPoint)}function di(e,t,n,i){var o=(0,r.CR)(i,3),a=o[0],s=o[1],u=o[2];e.min=t.min,e.max=t.max;var c=void 0!==n[u]?n[u]:.5,l=At(t.min,t.max,c);li(e,n[a],n[s],l,n.scale)}var pi=["x","scaleX","originX"],hi=["y","scaleY","originY"];function mi(e,t,n){di(e.x,t.x,n,pi),di(e.y,t.y,n,hi)}function vi(e,t,n,r,i){return e=ui(e-=t,1/n,r),void 0!==i&&(e=ui(e,1/i,r)),e}function gi(e,t,n){var i=(0,r.CR)(n,3),o=i[0],a=i[1],s=i[2];!function(e,t,n,r,i){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var o=At(e.min,e.max,r)-t;e.min=vi(e.min,t,n,o,i),e.max=vi(e.max,t,n,o,i)}(e,t[o],t[a],t[s],t.scale)}function yi(e,t){gi(e.x,t,pi),gi(e.y,t,hi)}var bi,Ei=n(27565),_i=new WeakMap,wi=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic=(0,zr.VZ)(),this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),_i.set(t,this)}return e.prototype.start=function(e,t){var n=this,i=void 0===t?{}:t,o=i.snapToCursor,a=void 0!==o&&o,s=i.cursorProgress,u=this.props.transformPagePoint;this.panSession=new Nr(e,{onSessionStart:function(e){var t;n.stopMotion();var i=function(e){return Ye(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=(0,Ei.U)((function(e,t){var o=(0,ni.kv)(n.visualElement),u=(0,ni.e3)(n.visualElement),c=(0,r.ev)((0,r.ev)([],(0,r.CR)(o)),(0,r.CR)(u)),l=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){c.forEach((function(e){return e.resetTransform()}))})),e((function(){(0,ni.de)(n.visualElement),u.forEach(ni.de)})),t((function(){c.forEach((function(e){return e.restoreTransform()})),a&&(l=n.snapToCursor(i))})),e((function(){Boolean(n.getAxisMotionValue("x")&&!n.isExternalDrag())||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;Ur((function(t){if(!l){var r=e.target[t],o=r.min,a=r.max;n.cursorProgress[t]=s?s[t]:Ct(o,a,i[t])}var u=n.getAxisMotionValue(t);u&&(n.originPoint[t]=u.get())}))})),t((function(){kn.iW.update(),kn.iW.preRender(),kn.iW.render(),kn.iW.postRender()})),e((function(){return n.resolveDragConstraints()}))}))},onStart:function(e,t){var r,i,o,a=n.props,s=a.drag,u=a.dragPropagation;(!s||u||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=at(s),n.openGlobalLock))&&((0,Ei.R)(),n.isDragging=!0,n.currentDirection=null,null===(i=(r=n.props).onDragStart)||void 0===i||i.call(r,e,t),null===(o=n.visualElement.animationState)||void 0===o||o.setActive(ze.Drag,!0))},onMove:function(e,t){var r,i,o,a,s=n.props,u=s.dragPropagation,c=s.dragDirectionLock;if(u||n.openGlobalLock){var l=t.offset;if(c&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(l),void(null!==n.currentDirection&&(null===(i=(r=n.props).onDirectionLock)||void 0===i||i.call(r,n.currentDirection)));n.updateAxis("x",t.point,l),n.updateAxis("y",t.point,l),null===(a=(o=n.props).onDrag)||void 0===a||a.call(o,e,t),bi=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:u})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic,i=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!n&&(y(n)?this.resolveRefConstraints(i,n):function(e,t){var n=t.top,r=t.left,i=t.bottom,o=t.right;return{x:Wr(e.x,r,o),y:Wr(e.y,n,i)}}(i,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:Kr(e,"left","right"),y:Kr(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Ur((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(i[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,i=n.transformPagePoint,o=t.current;this.constraintsBox=Zr(o,i);var a=function(e,t){return{x:Gr(e.x,t.x),y:Gr(e.y,t.y)}}(e,this.constraintsBox);if(r){var s=r((0,zr._6)(a));this.hasMutatedConstraints=!!s,s&&(a=(0,zr.RX)(s))}return a},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(ze.Drag,!1)},e.prototype.stop=function(e,t){var n,r,i;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var o=this.isDragging;if(this.cancelDrag(),o){var a=t.velocity;this.animateDragEnd(a),null===(i=(r=this.props).onDragEnd)||void 0===i||i.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return Ur((function(n){if(xi(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var i=t.visualElement.getLayoutState().layout,o=i[n].max-i[n].min,a=i[n].min+o/2,s=e[n]-a;t.originPoint[n]=e[n],r.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(xi(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],i=this.constraints?Vr(r,this.constraints[e],this.elastic[e]):r;n.set(i)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],i=r.max-r.min,o=this.cursorProgress[e],a=function(e,t,n,r,i){var o=e-t*n;return r?Vr(o,r,i):o}(t[e],i,o,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,a,a+i)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,i=e.dragDirectionLock,o=void 0!==i&&i,a=e.dragPropagation,s=void 0!==a&&a,u=e.dragConstraints,c=void 0!==u&&u,l=e.dragElastic,f=void 0===l?.35:l,d=e.dragMomentum,p=void 0===d||d,h=(0,r._T)(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=(0,r.pi)({drag:n,dragDirectionLock:o,dragPropagation:s,dragConstraints:c,dragElastic:f,dragMomentum:p},h)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,i="_drag"+e.toUpperCase();return this.props[i]?this.props[i]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,i=n.drag,o=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=function(e,t){void 0===t&&(t=!0);var n,r=e.getProjectionParent();return!!r&&(t?yi(n=ii(r.projection.target,e.projection.target),r.getLatestValues()):n=ii(r.getLayoutState().layout,e.getLayoutState().layout),Ur((function(t){return e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),c=this.constraints||{};if(u&&Object.keys(c).length&&this.isLayoutDrag()){var l=this.visualElement.getProjectionParent();if(l){var f=ii(l.projection.targetFinal,c);Ur((function(e){var t=f[e],n=t.min,r=t.max;c[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}}))}}var d=Ur((function(n){var l;if(xi(n,i,t.currentDirection)){var f=null!==(l=null===c||void 0===c?void 0:c[n])&&void 0!==l?l:{},d=a?200:1e6,p=a?40:1e7,h=(0,r.pi)((0,r.pi)({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},s),f);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,h):t.visualElement.startLayoutAnimation(n,h,u)}}));return Promise.all(d).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;Ur((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),or(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(y(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Ur((function(t){r[t]=Xr(e.visualElement.projection.target[t],e.constraintsBox[t])})),this.updateConstraints((function(){Ur((function(t){if(xi(t,n,null)){var i=function(e,t,n){var r=e.max-e.min,i=At(t.min,t.max-r,n);return{min:i,max:i+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),o=i.min,a=i.max;e.visualElement.setProjectionTargetAxis(t,o,a)}}))})),setTimeout(Ei.R,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=(0,Ei.U)((function(n,r){var i=(0,ni.kv)(t.visualElement);r((function(){return i.forEach((function(e){return e.resetTransform()}))})),n((function(){return(0,ni.de)(t.visualElement)})),r((function(){return i.forEach((function(e){return e.restoreTransform()}))})),n((function(){t.resolveDragConstraints()})),e&&r(e)}))},e.prototype.mount=function(e){var t=this,n=tt(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&t.start(e)})),r=Ve(window,"resize",(function(){t.scalePoint()})),i=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),o=e.prevDragCursor;return o&&this.start(bi,{cursorProgress:o}),function(){null===n||void 0===n||n(),null===r||void 0===r||r(),null===i||void 0===i||i(),t.cancelDrag()}},e}();function xi(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var Ti={pan:pt((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,a=e.visualElement,s=t||n||r||o,u=(0,i.useRef)(null),c=(0,i.useContext)(l).transformPagePoint,f={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){u.current=null,r&&r(e,t)}};(0,i.useEffect)((function(){null!==u.current&&u.current.updateHandlers(f)})),nt(a,"pointerdown",s&&function(e){u.current=new Nr(e,f,{transformPagePoint:c})}),(0,lt.z)((function(){return u.current&&u.current.end()}))})),drag:pt((function(e){var t=e.dragControls,n=e.visualElement,o=(0,i.useContext)(l).transformPagePoint,a=(0,Ne.h)((function(){return new wi({visualElement:n})}));a.setProps((0,r.pi)((0,r.pi)({},e),{transformPagePoint:o})),(0,i.useEffect)((function(){return t&&t.subscribe(a)}),[a]),(0,i.useEffect)((function(){return a.mount(n)}),[])}))},ki=n(7646);function Oi(e){return"string"===typeof e&&e.startsWith("var(--")}var Ci=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ai(e,t,n){void 0===n&&(n=1);var i=(0,r.CR)(function(e){var t=Ci.exec(e);if(!t)return[,];var n=(0,r.CR)(t,3);return[n[1],n[2]]}(e),2),o=i[0],a=i[1];if(o){var s=window.getComputedStyle(t).getPropertyValue(o);return s?s.trim():Oi(a)?Ai(a,t,n+1):a}}function Si(e,t){return e/(t.max-t.min)*100}var Mi="_$css";var Di={process:function(e,t,n){var r=n.target;if("string"===typeof e){if(!ee.test(e))return e;e=parseFloat(e)}return Si(e,r.x)+"% "+Si(e,r.y)+"%"}},Ii={borderRadius:(0,r.pi)((0,r.pi)({},Di),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Di,borderTopRightRadius:Di,borderBottomLeftRadius:Di,borderBottomRightRadius:Di,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,i=e,o=e.includes("var("),a=[];o&&(e=e.replace(Ci,(function(e){return a.push(e),Mi})));var s=Zt.parse(e);if(s.length>5)return i;var u=Zt.createTransformer(e),c="number"!==typeof s[0]?1:0,l=n.x.scale*r.x,f=n.y.scale*r.y;s[0+c]/=l,s[1+c]/=f;var d=At(l,f,.5);"number"===typeof s[2+c]&&(s[2+c]/=d),"number"===typeof s[3+c]&&(s[3+c]/=d);var p=u(s);if(o){var h=0;p=p.replace(Mi,(function(){var e=a[h];return h++,e}))}return p}}},Pi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget=(0,zr.VZ)(),t.currentAnimationTarget=(0,zr.VZ)(),t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,i){void 0===i&&(i={});var o=i.originBox,a=i.targetBox,s=i.visibilityAction,u=i.shouldStackAnimate,c=i.onComplete,l=i.prevParent,f=(0,r._T)(i,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,p=d.visualElement,h=d.layout;if(!1===u)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===u){u&&(t.isAnimatingTree=!0),n=o||n,e=a||e;var m=!1,v=p.getProjectionParent();if(v){var g=v.prevViewportBox,y=v.getLayoutState().layout;l&&(a&&(y=l.getLayoutState().layout),o&&!oi(l,v)&&l.prevViewportBox&&(g=l.prevViewportBox)),g&&Bi(l,o,a)&&(m=!0,n=ii(g,n),e=ii(y,e))}var b=Ni(n,e),E=Ur((function(i){var o,a;if("position"===h){var u=e[i].max-e[i].min;n[i].max=n[i].min+u}if(!p.projection.isTargetLocked)return void 0===s?b?t.animateAxis(i,e[i],n[i],(0,r.pi)((0,r.pi)({},f),{isRelative:m})):(null===(a=(o=t.stopAxisAnimation)[i])||void 0===a||a.call(o),p.setProjectionTargetAxis(i,e[i].min,e[i].max,m)):void p.setVisibility(s===ki.c.Show)}));return p.syncRender(),Promise.all(E).then((function(){t.isAnimatingTree=!1,c&&c(),p.notifyLayoutAnimationComplete()}))}},t}return(0,r.ZT)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=or,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)D[t]=e[t]}(Ii)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),Ur((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var i,o,a=this,s=void 0===r?{}:r,u=s.transition,c=s.isRelative;if(!this.isAnimating[e]||!ji(t,this.currentAnimationTarget[e])){null===(o=(i=this.stopAxisAnimation)[e])||void 0===o||o.call(i),this.isAnimating[e]=!0;var l=this.props.visualElement,f=this.frameTarget[e],d=l.getProjectionAnimationProgress()[e];d.clearListeners(),d.set(0),d.set(0);var p=function(){var r=d.get()/1e3;!function(e,t,n,r){e.min=At(t.min,n.min,r),e.max=At(t.max,n.max,r)}(f,n,t,r),l.setProjectionTargetAxis(e,f.min,f.max,c)};p();var h=d.onChange(p);this.stopAxisAnimation[e]=function(){a.isAnimating[e]=!1,d.stop(),h()},this.currentAnimationTarget[e]=t;var m=u||l.getDefaultTransition()||Fi;return or("x"===e?"layoutX":"layoutY",d,1e3,m&&ir(m,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(i.Component);function Ni(e,t){return!Li(e)&&!Li(t)&&(!ji(e.x,t.x)||!ji(e.y,t.y))}var Ri={min:0,max:0};function Li(e){return ji(e.x,Ri)&&ji(e.y,Ri)}function ji(e,t){return e.min===t.min&&e.max===t.max}var Fi={duration:.45,ease:[.4,0,.1,1]};function Bi(e,t,n){return e||!e&&!(t||n)}var Hi=n(49870),zi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;(0,Hi.Md)(t)&&t.register(r),(0,Hi.Md)(n)&&n.register(r),r.onUnmount((function(){(0,Hi.Md)(t)&&t.remove(r),(0,Hi.Md)(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return(0,Hi.Md)(t)?t.syncUpdate():((0,ni.x7)(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;(0,Hi.Md)(e)||e.flush()},t.prototype.render=function(){return null},t}(i.Component);var Ui={measureLayout:function(e){var t=(0,i.useContext)(Hi.WH),n=(0,i.useContext)(Hi.bg);return i.createElement(zi,(0,r.pi)({},e,{syncLayout:t,framerSyncLayout:n}))},layoutAnimation:function(e){var t=(0,r.CR)((0,p.oO)(),2)[1];return i.createElement(Pi,(0,r.pi)({},e,{safeToRemove:t}))}};function Vi(){return{isHydrated:!1,layout:(0,zr.VZ)(),layoutCorrected:(0,zr.VZ)(),treeScale:{x:1,y:1},delta:(0,zr.pY)(),deltaFinal:(0,zr.pY)(),deltaTransform:""}}var Wi=Vi();function Gi(e,t,n){var r=e.x,i=e.y,o="translate3d("+r.translate/t.x+"px, "+i.translate/t.y+"px, 0) ";if(n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(o+="rotate("+a+") "),s&&(o+="rotateX("+s+") "),u&&(o+="rotateY("+u+") ")}return o+="scale("+r.scale+", "+i.scale+")",n||o!==qi?o:""}function Ki(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var qi=Gi(Wi.delta,Wi.treeScale,{x:1,y:1}),Zi=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function $i(e,t,n,r){var i,o,a=e.delta,s=e.layout,u=e.layoutCorrected,c=e.treeScale,l=t.target;o=s,si((i=u).x,o.x),si(i.y,o.y),function(e,t,n){var r=n.length;if(r){var i,o;t.x=t.y=1;for(var a=0;a=0;t--){var n=X.path[t];if(n.projection.isEnabled){e=n;break}}w=e}return w},resolveRelativeTargetBox:function(){var e=X.getProjectionParent();if(I.relativeTarget&&e&&(function(e,t){ti(e.target.x,e.relativeTarget.x,t.target.x),ti(e.target.y,e.relativeTarget.y,t.target.y)}(I,e.projection),ai(e))){var t=I.target;mi(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(v._layoutResetTransform)},pointTo:function(e){P=e.projection,N=e.getLatestValues(),null===k||void 0===k||k(),k=dt(e.onSetAxisTarget(X.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;X.isPresent?X.presence=ki.z.Present:null===(e=X.layoutSafeToRemove)||void 0===e||e.call(X)})))},isPresent:!0,presence:ki.z.Entering});return X}};function Ji(e){e.resolveRelativeTargetBox()}function eo(e){e.updateLayoutProjection()}var to,no=(0,r.ev)(["initial"],(0,r.CR)(xr)),ro=no.length,io=new Set(["width","height","top","left","right","bottom","x","y"]),oo=function(e){return io.has(e)},ao=function(e,t){e.set(t,!1),e.set(t)},so=function(e){return e===ie||e===ee};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(to||(to={}));var uo=function(e,t){return parseFloat(e.split(", ")[t])},co=function(e,t){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return uo(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?uo(a[1],e):0}},lo=new Set(["x","y","z"]),fo=P.filter((function(e){return!lo.has(e)}));var po={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:co(4,13),y:co(5,14)},ho=function(e,t,n,i){void 0===n&&(n={}),void 0===i&&(i={}),t=(0,r.pi)({},t),i=(0,r.pi)({},i);var o=Object.keys(t).filter(oo),a=[],s=!1,u=[];if(o.forEach((function(r){var o=e.getValue(r);if(e.hasValue(r)){var c,l=n[r],f=t[r],d=pr(l);if(Re(f))for(var p=f.length,h=null===f[0]?1:0;h0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function u(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i(e[t]=n,e)),{})}},69671:function(e,t,n){const r=n(81701);e.exports=o;const i=Object.hasOwnProperty;function o(){if(!(this instanceof o))return new o;this.reset()}function a(e,t){return"string"!==typeof e?"":(t||(e=e.toLowerCase()),e.replace(r,"").replace(/ /g,"-"))}o.prototype.slug=function(e,t){const n=this;let r=a(e,!0===t);const o=r;for(;i.call(n.occurrences,r);)n.occurrences[o]++,r=o+"-"+n.occurrences[o];return n.occurrences[r]=0,r},o.prototype.reset=function(){this.occurrences=Object.create(null)},o.slug=a},81701:function(e){e.exports=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08BE-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D04\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1ABF-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31BB-\u31EF\u3200-\u33FF\u4DB6-\u4DFF\u9FF0-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7C7-\uA7F6\uA828-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB68-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD47-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD-\uDDCF\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC60-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD00-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD823-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D-\uD83F\uD87B-\uD87D\uD87F-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE4-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD822[\uDEF3-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD869[\uDED7-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g},76331:function(e,t,n){"use strict";var r=n(97247),i=n(11218),o=n(99560),a=n(99640),s=n(143),u=n(56851),c=n(57848),l=n(70006),f=n(48145),d=f("root"),p=f("element"),h=f("text");function m(e,t,n){var r,o,a=n.schema,s=a,u=t.tagName,c={},f=[],d=-1;for(r in"html"===a.space&&"svg"===u.toLowerCase()&&(s=i,n.schema=s),t.properties)v(c,r,t.properties[r],n,u);if(n.vdom&&("html"===s.space?u=u.toUpperCase():c.namespace=l[s.space]),n.prefix&&(n.key++,c.key=n.prefix+n.key),t.children)for(;++do&&(o=i):i&&(o&&n.push(r("\n",o)),o=0,n.push(i));return n.join("")};var a=/\n/g,s=/[\t ]+/g,u=i("br"),c=i("p"),l=i(["th","td"]),f=i("tr"),d=i(["datalist","head","noembed","noframes","rp","script","style","template","title","noscript",function(e){return(e.properties||{}).hidden},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),p=i(["caption","html","body","address","blockquote","center","dialog","div","figure","figcaption","footer","form,","header","hr","legend","listing","main","p","plaintext","pre","xmp","article","aside","h1","h2","h3","h4","h5","h6","hgroup","nav","section","dir","dd","dl","dt","menu","ol","ul"]);function h(e,t,n,r){return"element"===e.type?function(e,t,n,r){var i,a,s=y(e,r),m=e.children||[],v=-1,g=[];if(d(e))return g;u(e)||f(e)&&o(n,e,f)?a="\n":c(e)?(i=2,a=2):p(e)&&(i=1,a=1);for(;++v=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=(t instanceof Array?t.length?t:[void 0]:[t]).map((function(e){return{keyAccessor:e,isProp:!(e instanceof Function)}})),c=e.reduce((function(e,t){var r=e,i=t;return u.forEach((function(e,t){var a,c=e.keyAccessor;if(e.isProp){var l=i,f=l[c],d=n(l,[c].map(s));a=f,i=d}else a=c(i,t);t+11&&void 0!==arguments[1]?arguments[1]:1;n===u.length?Object.keys(t).forEach((function(e){return t[e]=o(t[e])})):Object.values(t).forEach((function(t){return e(t,n+1)}))}(c);var l=c;return a&&(l=[],function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];n.length===u.length?l.push({keys:n,vals:t}):Object.entries(t).forEach((function(t){var o=r(t,2),a=o[0],s=o[1];return e(s,[].concat(i(n),[a]))}))}(c),t instanceof Array&&0===t.length&&1===l.length&&(l[0].keys=[])),l}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,u=/^\s+|\s+$/g,c="";function l(e){return e?e.replace(u,c):c}e.exports=function(e,u){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var v=[];function g(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;v.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function E(e){var t;for(e=e||[];t=_();)!1!==t&&e.push(t);return e}function _(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function w(){var e=h(),n=y(i);if(n){if(_(),!y(o))return g("property missing ':'");var r=y(a),u=e({type:"declaration",property:l(n[0].replace(t,c)),value:r?l(r[0].replace(t,c)):c});return y(s),u}}return b(),function(){var e,t=[];for(E(t);e=w();)!1!==e&&(t.push(e),E(t));return t}()}},33310:function(e){"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},32802:function(e,t){var n,r,i;function o(e){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a,s,u,c={},l={};function f(e){var t={};return e.forEach((function(e,n){t[e]=!0})),Object.keys(t)}function d(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function p(e,t){var n=e._assoc_mat[t]?Object.keys(e._assoc_mat[t]):[],r=0;return n.forEach((function(n,i){var o=e._assoc_mat[t][n]||1;t===n&&(o*=2),r+=o})),r}function h(e,t){return"undefined"===typeof e._assoc_mat[t]?[]:Object.keys(e._assoc_mat[t])}function m(e,t,n){return e._assoc_mat[t]?e._assoc_mat[t][n]:void 0}function v(e){var t={};return e.forEach((function(e,n){t[e.source]=t[e.source]||{},t[e.source][e.target]=e.weight,t[e.target]=t[e.target]||{},t[e.target][e.source]=e.weight})),t}function g(e){if(null===e||"object"!==o(e))return e;var t=e.constructor();for(var n in e)t[n]=g(e[n]);return t}function y(e,t,n){t.nodes_to_com={},t.total_weight=0,t.internals={},t.degrees={},t.gdegrees={},t.loops={},t.total_weight=function(e){var t=0;return e.edges.forEach((function(e){t+=e.weight})),t}(e),"undefined"===typeof n?e.nodes.forEach((function(n,r){t.nodes_to_com[n]=r;var i=p(e,n);if(i<0)throw new TypeError("Graph should only have positive weights.");t.degrees[r]=i,t.gdegrees[n]=i,t.loops[n]=m(e,n,n)||0,t.internals[r]=t.loops[n]})):e.nodes.forEach((function(r,i){var o=n[r];t.nodes_to_com[r]=o;var a=p(e,r);t.degrees[o]=(t.degrees[o]||0)+a,t.gdegrees[r]=a;var s=0;h(e,r).forEach((function(t){var i=e._assoc_mat[r][t];if(i<=0)throw new TypeError("Graph should only have positive weights.");n[t]===o&&(s+=t===r?i:i/2)})),t.internals[o]=(t.internals[o]||0)+s}))}function b(e){var t=e.total_weight,n=0;return f(d(e.nodes_to_com)).forEach((function(r,i){var o=e.internals[r]||0,a=e.degrees[r]||0;t>0&&(n=n+o/t-Math.pow(a/(2*t),2))})),n}function E(e,t,n){var r={};return h(t,e).forEach((function(i){if(i!==e){var o=t._assoc_mat[e][i]||1,a=n.nodes_to_com[i];r[a]=(r[a]||0)+o}})),r}function _(e,t,n,r){r.nodes_to_com[e]=+t,r.degrees[t]=(r.degrees[t]||0)+(r.gdegrees[e]||0),r.internals[t]=(r.internals[t]||0)+n+(r.loops[e]||0)}function w(e,t,n,r){r.degrees[t]=(r.degrees[t]||0)-(r.gdegrees[e]||0),r.internals[t]=(r.internals[t]||0)-n-(r.loops[e]||0),r.nodes_to_com[e]=-1}function x(e){var t=0,n=g(e),r={};return Object.keys(e).forEach((function(i){var o=e[i],a="undefined"===typeof r[o]?-1:r[o];-1===a&&(r[o]=t,a=t,t+=1),n[i]=a})),n}function T(e,t){for(var n=!0,r=0,i=b(t),o=i;n&&-1!==r&&(i=o,n=!1,r+=1,e.nodes.forEach((function(r,i){var o=t.nodes_to_com[r],a=(t.gdegrees[r]||0)/(2*t.total_weight),s=E(r,e,t);w(r,o,s[o]||0,t);var u=o,c=0;Object.keys(s).forEach((function(e){var n=s[e]-(t.degrees[e]||0)*a;n>c&&(c=n,u=e)})),_(r,u,s[u]||0,t),u!==o&&(n=!0)})),!((o=b(t))-i<1e-7)););}function k(e,t){var n,r,i={nodes:[],edges:[],_assoc_mat:{}},o=d(e);return i.nodes=i.nodes.concat(f(o)),t.edges.forEach((function(t,o){r=t.weight||1;var a=e[t.source],s=e[t.target];n=m(i,a,s)||0,function(e,t){!function(e,t){e._assoc_mat[t.source]=e._assoc_mat[t.source]||{},e._assoc_mat[t.source][t.target]=t.weight,e._assoc_mat[t.target]=e._assoc_mat[t.target]||{},e._assoc_mat[t.target][t.source]=t.weight}(e,t),l[t.source+"_"+t.target]?e.edges[l[t.source+"_"+t.target]].weight=t.weight:(e.edges.push(t),l[t.source+"_"+t.target]=e.edges.length-1)}(i,{source:a,target:s,weight:n+r})})),l={},i}"undefined"!==typeof self&&self,r=[],void 0===(i="function"===typeof(n=function(){return function(){var e=function(){var e=function(e,t){if(0===e.edges.length){var n={};return e.nodes.forEach((function(e){n[e]=e})),n}var r={};y(c,r,t);var i=b(r),o=[];T(c,r);var a=b(r),s=x(r.nodes_to_com);o.push(s),i=a;var u=k(s,c);for(y(u,r);T(u,r),!((a=b(r))-i<1e-7);)s=x(r.nodes_to_com),o.push(s),i=a,y(u=k(s,u),r);return o}(c,u);return function(e,t){for(var n=g(e[0]),r=function(t){Object.keys(n).forEach((function(r,i){var o=r,a=n[r];n[o]=e[t][a]}))},i=1;i0&&(a=t),e},e.edges=function(t){if("undefined"===typeof a)throw new TypeError("Graph nodes are undefined");if(arguments.length>0){s=t;var n=v(t);c={nodes:a,edges:s,_assoc_mat:n}}return e},e.partition_init=function(t){return arguments.length>0&&(u=t),e},e}})?n.apply(t,r):n)||(e.exports=i)},36808:function(e,t,n){var r,i;!function(o){if(void 0===(i="function"===typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i),!0,e.exports=o(),!!0){var a=window.Cookies,s=window.Cookies=o();s.noConflict=function(){return window.Cookies=a,s}}}((function(){function e(){for(var e=0,t={};ee.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},n instanceof Function?n(e):n,{initialised:!1}),r={};function a(t){return s(t,e),u(),a}var s=function(e,n){p.call(a,e,t,n),t.initialised=!0},u=i()((function(){t.initialised&&(m.call(a,t,r),r={})}),1);return v.forEach((function(e){a[e.name]=function(e){var n=e.name,i=e.triggerUpdate,o=void 0!==i&&i,s=e.onChange,c=void 0===s?function(e,t){}:s,l=e.defaultVal,f=void 0===l?null:l;return function(e){var i=t[n];if(!arguments.length)return i;var s=void 0===e?f:e;return t[n]=s,c.call(a,s,t,i),!r.hasOwnProperty(n)&&(r[n]=i),o&&u(),a}}(e)})),Object.keys(c).forEach((function(e){a[e]=function(){for(var n,r=arguments.length,i=new Array(r),o=0;o=t||n<0||d&&e-l>=a}function w(){var e=m();if(_(e))return x(e);u=setTimeout(w,function(e){var n=t-(e-c);return d?h(n,a-(e-l)):n}(e))}function x(e){return u=void 0,v&&i?b(e):(i=o=void 0,s)}function T(){var e=m(),n=_(e);if(i=arguments,o=this,c=e,n){if(void 0===u)return E(c);if(d)return u=setTimeout(w,t),b(c)}return void 0===u&&(u=setTimeout(w,t)),s}return t=y(t)||0,g(n)&&(f=!!n.leading,a=(d="maxWait"in n)?p(y(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v),T.cancel=function(){void 0!==u&&clearTimeout(u),l=0,i=c=o=u=void 0},T.flush=function(){return void 0===u?s:x(m())},T}function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=a.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(r);return g(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),v(e,t,{leading:i,maxWait:t,trailing:o})}},52491:function(e){"use strict";e.exports=function(e,t){var n,r,i=0,o=0;if("string"!==typeof t||1!==t.length)throw new Error("Expected character");e=String(e),r=e.indexOf(t),n=r;for(;-1!==r;)i++,r===n?i>o&&(o=i):i=1,n=r+1,r=e.indexOf(t,n);return o}},78234:function(e,t,n){"use strict";var r=n(96464);e.exports=function(e,t){var n,l,f,d,p,h,m,v,g,y,b,E=t||{},_=!1!==E.padding,w=!1!==E.delimiterStart,x=!1!==E.delimiterEnd,T=(E.align||[]).concat(),k=!1!==E.alignDelimiters,O=[],C=E.stringLength||u,A=-1,S=e.length,M=[],D=[],I=[],P=[],N=[],R=0;for(;++AR&&(R=f);++ld)&&(N[l]=p)),I.push(h);M[A]=I,D[A]=P}var L;if(l=-1,f=R,"object"===typeof T&&"length"in T)for(;++lN[l]&&(N[l]=p),P[l]=p),I[l]=h;M.splice(1,0,I),D.splice(1,0,P),A=-1,S=M.length,m=[];for(;++A=a.MATCHES?p=m:p>v&&(p=v),p>o&&(o=p,u=i,c=g,h=f),{rankedItem:h,rank:o,keyIndex:u,keyThreshold:c}}),{rank:a.NO_MATCH,keyIndex:-1,keyThreshold:r.threshold})}(r,i,t,n),c=u.rankedItem,f=u.rank,p=u.keyIndex,h=u.keyThreshold;f>=(void 0===h?s:h)&&e.push({rankedItem:c,item:r,rank:f,index:o,keyIndex:p});return e}),[]).sort((function(e,t){return function(e,t,n){var r=-1,i=1,o=e.rank,a=e.keyIndex,s=t.rank,u=t.keyIndex;return o===s?a===u?n(e,t):as?r:i}(e,t,f)})).map((function(e){return e.item}))}function l(e,t,n){if(e=f(e,n),(t=f(t,n)).length>e.length)return a.NO_MATCH;if(e===t)return a.CASE_SENSITIVE_EQUAL;var r=function(e){var t=e.toLowerCase()!==e,n=e.indexOf("-")>=0,r=e.indexOf("_")>=0;if(!t&&!r&&n)return s.KEBAB;if(!t&&r&&!n)return s.SNAKE;if(t&&!n&&!r){return e[0].toUpperCase()===e[0]?s.PASCAL:s.CAMEL}return s.NO_CASE}(e),i=function(e,t,n){var r=e.toLowerCase().indexOf(t.toLowerCase());switch(n){case s.SNAKE:return"_"===e[r-1];case s.KEBAB:return"-"===e[r-1];case s.PASCAL:case s.CAMEL:return-1!==r&&e[r]===e[r].toUpperCase();default:return!1}}(e,t,r),o=function(e,t,n){var r=null;switch(n){case s.SNAKE:r="_";break;case s.KEBAB:r="-";break;case s.PASCAL:case s.CAMEL:r=/(?=[A-Z])/;break;default:r=null}var i=e.split(r);return t.toLowerCase().split("").reduce((function(e,t,n){var r=i[n];return e&&r&&r[0].toLowerCase()===t}),!0)}(e,t,r);return(e=e.toLowerCase())===(t=t.toLowerCase())?a.EQUAL+r:0===e.indexOf(t)?a.STARTS_WITH+r:-1!==e.indexOf(" "+t)?a.WORD_STARTS_WITH+r:i?a.STRING_CASE+r:r>0&&o?a.STRING_CASE_ACRONYM+r:-1!==e.indexOf(t)?a.CONTAINS+r:1===t.length?a.NO_MATCH:-1!==function(e){var t="";return e.split(" ").forEach((function(e){e.split("-").forEach((function(e){t+=e.substr(0,1)}))})),t}(e).indexOf(t)?a.ACRONYM+r:function(e,t){var n=0,r=0;function i(e,t,r){for(var i=r;i-1))return a.NO_MATCH}return o(r-s)}(e,t)}function f(e,t){return e=""+e,t.keepDiacritics||(e=o()(e)),e}function d(e){return"string"===typeof e&&(e={key:e}),(0,r.Z)({maxRanking:1/0,minRanking:-1/0},e)}t.default=c},86630:function(e,t,n){"use strict";var r=n(62854);e.exports=function(e,t){return function(e){return t;function t(t){var n=t&&o(t);return n&&i.call(e,n)?e[n]:null}}(function(e){var t={};if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return r(e,"definition",n),t;function n(e){var n=o(e.identifier);i.call(t,n)||(t[n]=e)}}(e))};var i={}.hasOwnProperty;function o(e){return e.toUpperCase()}},52962:function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,o;"string"===typeof t||t&&"function"===typeof t.exec?o=[[t,n]]:(o=t,r=n);return s(e,i=r||{},function e(t){var n=t[0];return r;function r(r,o){var u,c,l,f,d=n[0],p=n[1],h=[],m=0,v=o.children.indexOf(r);for(d.lastIndex=0,c=d.exec(r.value);c&&(u=c.index,!1!==(f=p.apply(null,[].concat(c,{index:c.index,input:c.input})))&&(m!==u&&h.push({type:"text",value:r.value.slice(m,u)}),"string"===typeof f&&f.length>0&&(f={type:"text",value:f}),f&&(h=[].concat(h,f)),m=u+c[0].length),d.global);)c=d.exec(r.value);if(void 0===u?(h=[r],v--):(m1)for(l=e(t.slice(1)),u=-1;++u{if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},52524:function(e,t,n){"use strict";e.exports=function(e,t,n){"string"!==typeof t&&(n=t,t=void 0);return function(e){var t=e||{},n=function(e,t){var n=-1;for(;++n-1&&(j.call(this,e),F.call(this,e))}function H(){h("atHardBreak",!0)}function z(){var e=this.resume();this.stack[this.stack.length-1].value=e}function U(){var e=this.resume();this.stack[this.stack.length-1].value=e}function V(){var e=this.resume();this.stack[this.stack.length-1].value=e}function W(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),h("referenceType")}function G(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),h("referenceType")}function K(e){this.stack[this.stack.length-2].identifier=a(this.sliceSerialize(e)).toLowerCase()}function q(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,h("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function Z(){var e=this.resume();this.stack[this.stack.length-1].url=e}function $(){var e=this.resume();this.stack[this.stack.length-1].title=e}function Y(){h("inReference")}function X(){h("referenceType","collapsed")}function Q(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase(),h("referenceType","full")}function J(e){h("characterReferenceType",e.type)}function ee(e){var t,n,r=this.sliceSerialize(e),i=m("characterReferenceType");i?(t=s(r,"characterReferenceMarkerNumeric"===i?10:16),h("characterReferenceType")):t=f(r),(n=this.stack.pop()).value+=t,n.position.end=v(e.end)}function te(e){F.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function ne(e){F.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function re(){return{type:"blockquote",children:[]}}function ie(){return{type:"code",lang:null,meta:null,value:""}}function oe(){return{type:"inlineCode",value:""}}function ae(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function se(){return{type:"emphasis",children:[]}}function ue(){return{type:"heading",depth:void 0,children:[]}}function ce(){return{type:"break"}}function le(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function de(){return{type:"link",title:null,url:"",children:[]}}function pe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function he(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ve(){return{type:"strong",children:[]}}function ge(){return{type:"text",value:""}}function ye(){return{type:"thematicBreak"}}}(n)(l(u(n).document().write(c()(e,t,!0))))};var r=n(4999),i=n(99198),o=n(46706),a=n(35478),s=n(10596),u=n(32976),c=n(30162),l=n(61242),f=n(89435),d=n(75432);function p(e,t){var n,r;for(n in t)r=o.call(e,n)?e[n]:e[n]={},"canContainEols"===n||"transforms"===n?e[n]=[].concat(r,t[n]):Object.assign(r,t[n])}},39671:function(e,t,n){"use strict";e.exports=n(52524)},2215:function(e,t,n){e.exports=function(e){var t,n=r(e),s=n.length,u=-1,c={},l={};for(;++u?\]}]+$/.exec(e);if(o)for(e=e.slice(0,o.index),t=(o=o[0]).indexOf(")"),n=r(e,"("),i=r(e,")");-1!==t&&n>i;)e+=o.slice(0,t+1),t=(o=o.slice(t+1)).indexOf(")"),i++;return[e,o]}(n+i))[0]&&(s={type:"link",title:null,url:u+t+a[0],children:[{type:"text",value:t+a[0]}]},a[1]&&(s=[s,{type:"text",value:a[1]}]),s)))}function c(e,t,n,r){return!(!l(r,!0)||/[_-]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function l(e,t){var n=e.input.charCodeAt(e.index-1);return(n!==n||a(n)||o(n))&&(!t||47!==n)}t.transforms=[function(e){i(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/i,u],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/,c]],{ignore:["link","linkReference"]})}],t.enter={literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:s,literalAutolinkHttp:s,literalAutolinkWww:s},t.exit={literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},45574:function(e,t){var n="phrasing",r=["autolink","link","image","label"];t.unsafe=[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:n,notInConstruct:r},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:n,notInConstruct:r},{character:":",before:"[ps]",after:"\\/",inConstruct:n,notInConstruct:r}]},89828:function(e,t){t.canContainEols=["delete"],t.enter={strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},t.exit={strikethrough:function(e){this.exit(e)}}},9888:function(e,t,n){var r=n(25362);function i(e,t,n){var i=n.enter("emphasis"),o=r(e,n,{before:"~",after:"~"});return i(),"~~"+o+"~~"}t.unsafe=[{character:"~",inConstruct:"phrasing"}],t.handlers={delete:i},i.peek=function(){return"~"}},4865:function(e,t){function n(e){this.exit(e)}function r(e){this.enter({type:"tableCell",children:[]},e)}function i(e,t){return"|"===t?t:e}t.enter={table:function(e){this.enter({type:"table",align:e._align,children:[]},e),this.setData("inTable",!0)},tableData:r,tableHeader:r,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},t.exit={codeText:function(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,i));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:n,tableHeader:n,tableRow:n}},63046:function(e,t,n){var r=n(25362),i=n(11595),o=n(78234);e.exports=function(e){var t=e||{},n=t.tableCellPadding,a=t.tablePipeAlign,s=t.stringLength,u=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n){return l(function(e,t){var n=e.children,r=-1,i=n.length,o=[],a=t.enter("table");for(;++r0&&l.children.unshift(r("text"," ")),l.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),d.className=["task-list-item"]);a=c.length,s=-1;for(;++s1:t}},47888:function(e,t,n){"use strict";e.exports=function(e,t){var n,o,a={},s=t.ordered?"ol":"ul",u=-1;"number"===typeof t.start&&1!==t.start&&(a.start=t.start);n=i(e,t),o=n.length;for(;++u-1?s:e.unknownHandler;return("function"===typeof r?r:a)(e,t,n)};var r=n(50914),i=n(95426),o={}.hasOwnProperty;function a(e,t){return function(e){var t=e.data||{};if(o.call(t,"hName")||o.call(t,"hProperties")||o.call(t,"hChildren"))return!1;return"value"in e}(t)?e.augment(t,r("text",t.value)):e(t,"div",i(e,t))}function s(e,t){var n;return t.children?((n=Object.assign({},t)).children=i(e,t),n):t}},713:function(e,t,n){"use strict";e.exports=function(e,t){var n,o,a,s=t.referenceType,u="]";"collapsed"===s?u+="[]":"full"===s&&(u+="["+(t.label||t.identifier)+"]");if("imageReference"===t.type)return r("text","!["+t.alt+u);n=i(e,t),(o=n[0])&&"text"===o.type?o.value="["+o.value:n.unshift(r("text","["));(a=n[n.length-1])&&"text"===a.type?a.value+=u:n.push(r("text",u));return n};var r=n(50914),i=n(95426)},96115:function(e,t,n){"use strict";e.exports=function(e,t){var n=[],i=-1,o=e.length;t&&n.push(r("text","\n"));for(;++i0&&n.push(r("text","\n"));return n};var r=n(50914)},2564:function(e){e.exports=function e(t,n){var r,i=-1;if(n.extensions)for(;++i-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+".");u=f.length+1,("tab"===d||"mixed"===d&&(t&&t.spread||e.spread))&&(u=4*Math.ceil(u/4));return l=n.enter("listItem"),c=s(a(e,n),(function(e,t,n){if(t)return(n?"":r(" ",u))+e;return(n?f:f+r(" ",u-f.length))+e})),l(),c};var r=n(96464),i=n(89400),o=n(56636),a=n(93493),s=n(92670)},89400:function(e){e.exports=function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}},56636:function(e){e.exports=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}},93493:function(e,t,n){e.exports=function(e,t){var n,i=e.children||[],o=[],a=-1;for(;++a0&&("\r"===c||"\n"===c)&&"html"===o.type&&(s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," "),c=" "),s.push(t.handle(o,e,t,{before:c,after:r})),c=s[s.length-1].slice(-1);return s.join("")}},92670:function(e){e.exports=function(e,n){var r,i=[],o=0,a=0;for(;r=t.exec(e);)s(e.slice(o,r.index)),i.push(r[0]),o=r.index+r[0].length,a++;return s(e.slice(o)),i.join("");function s(e){i.push(n(e,a,!e))}};var t=/\r?\n|\r/g},84553:function(e){e.exports=function(e){var t,n;e._compiled||(t=e.before?"(?:"+e.before+")":"",n=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(n||""),"g"));return e._compiled}},76112:function(e){function t(e,t,n){var r;if(!t)return n;for("string"===typeof t&&(t=[t]),r=-1;++r=h||c+1=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&u<=57343){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[o]);return l}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},7969:function(e,t,n){e.exports=n(36385)},74035:function(e,t,n){e.exports=function(e){var t,n=e||"yaml",r=[],i=-1;"string"!==typeof n&&"length"in n||(n=[n]);t=n.length;for(;++i1?i(a):(e.consume(a),s++,c):s<2&&!t?i(a):(u=e.exit("strikethroughSequenceTemporary"),l=r(a),u._open=!l||2===l&&f,u._close=!f||2===f&&l,n(a))}},resolveAll:function(e,t){var n,r,s,u,c=-1;for(;++ct;)a.containerState=c[o][1],c[o][0].exit.call(a,e);c.length=t}},s={tokenize:function(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},u={tokenize:function(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=a},22871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64590),i=n(52928),o=n(66532),a=function(e){var t=this,n=e.attempt(o,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,a,i(e,e.attempt(this.parser.constructs.flow,a,e.attempt(r,a)),"linePrefix")));return n;function a(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}};t.tokenize=a},97082:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99198),i=n(75923),o=u("text"),a=u("string"),s={resolveAll:c()};function u(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return u(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function u(e){var t=r[e],i=-1;if(null===e)return!0;if(t)for(;++i1&&e[m][1].end.offset-e[m][1].start.offset>1?2:1,l={type:d>1?"strongSequence":"emphasisSequence",start:a(u(e[n][1].end),-d),end:u(e[n][1].end)},f={type:d>1?"strongSequence":"emphasisSequence",start:u(e[m][1].start),end:a(u(e[m][1].start),d)},c={type:d>1?"strongText":"emphasisText",start:u(e[n][1].end),end:u(e[m][1].start)},o={type:d>1?"strong":"emphasis",start:u(l.start),end:u(f.end)},e[n][1].end=u(l.start),e[m][1].start=u(f.end),p=[],e[n][1].end.offset-e[n][1].start.offset&&(p=r(p,[["enter",e[n][1],t],["exit",e[n][1],t]])),p=r(p,[["enter",o,t],["enter",l,t],["exit",l,t],["enter",c,t]]),p=r(p,s(t.parser.constructs.insideSpan.null,e.slice(n+1,m),t)),p=r(p,[["exit",c,t],["enter",f,t],["exit",f,t],["exit",o,t]]),e[m][1].end.offset-e[m][1].start.offset?(h=2,p=r(p,[["enter",e[m][1],t],["exit",e[m][1],t]])):h=0,i(e,n-1,m-n+3,p),m=n+p.length-h-2;break}m=-1;for(;++m-1?void 0:4)}},exit:function(e){e.exit("blockQuote")}};e.exports=o},49653:function(e,t,n){"use strict";var r=n(83074),i={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return r(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}};e.exports=i},36713:function(e,t,n){"use strict";var r=n(89435),i=n(46712),o=n(73977),a=n(56238);function s(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var u=s(r),c={name:"characterReference",tokenize:function(e,t,n){var r,s,c=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),f};function f(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),d):(e.enter("characterReferenceValue"),r=31,s=i,p(t))}function d(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,s=a,p):(e.enter("characterReferenceValue"),r=7,s=o,p(t))}function p(o){var a;return 59===o&&l?(a=e.exit("characterReferenceValue"),s!==i||u.default(c.sliceSerialize(a))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)):s(o)&&l++-1?void 0:4);function o(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}function u(t){return t===s?(e.consume(t),i++,u):i-1||i(o.events,"linePrefix")<4?e.interrupt(o.parser.constructs.flow,n,t)(a):t(a)}},partial:!0};e.exports=s},93865:function(e,t,n){"use strict";var r=n(17238),i=n(88367),o=n(35478),a=n(38229),s=n(97154),u=n(52928),c=n(31056),l=n(59283),f={name:"definition",tokenize:function(e,t,n){var i,l=this;return function(t){return e.enter("definition"),s.call(l,e,f,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function f(t){return i=o(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),c(e,a(e,e.attempt(d,u(e,p,"whitespace"),u(e,p,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function p(o){return null===o||r(o)?(e.exit("definition"),l.parser.defined.indexOf(i)<0&&l.parser.defined.push(i),t(o)):n(o)}}},d={tokenize:function(e,t,n){return function(t){return i(t)?c(e,o)(t):n(t)};function o(t){return 34===t||39===t||40===t?l(e,u(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function a(e){return null===e||r(e)?t(e):n(e)}},partial:!0};e.exports=f},38229:function(e,t,n){"use strict";var r=n(89696),i=n(88367),o=n(17238);e.exports=function(e,t,n,a,s,u,c,l,f){var d=f||1/0,p=0;return function(t){if(60===t)return e.enter(a),e.enter(s),e.enter(u),e.consume(t),e.exit(u),h;if(r(t)||41===t)return n(t);return e.enter(a),e.enter(c),e.enter(l),e.enter("chunkString",{contentType:"string"}),g(t)};function h(n){return 62===n?(e.enter(u),e.consume(n),e.exit(u),e.exit(s),e.exit(a),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),m(n))}function m(t){return 62===t?(e.exit("chunkString"),e.exit(l),h(t)):null===t||60===t||o(t)?n(t):(e.consume(t),92===t?v:m)}function v(t){return 60===t||62===t||92===t?(e.consume(t),m):m(t)}function g(o){return 40===o?++p>d?n(o):(e.consume(o),g):41===o?p--?(e.consume(o),g):(e.exit("chunkString"),e.exit(l),e.exit(c),e.exit(a),t(o)):null===o||i(o)?p?n(o):(e.exit("chunkString"),e.exit(l),e.exit(c),e.exit(a),t(o)):r(o)?n(o):(e.consume(o),92===o?y:g)}function y(t){return 40===t||41===t||92===t?(e.consume(t),g):g(t)}}},97154:function(e,t,n){"use strict";var r=n(17238),i=n(73654);e.exports=function(e,t,n,o,a,s){var u,c=this,l=0;return function(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),e.enter(s),f};function f(i){return null===i||91===i||93===i&&!u||94===i&&!l&&"_hiddenFootnoteSupport"in c.parser.constructs||l>999?n(i):93===i?(e.exit(s),e.enter(a),e.consume(i),e.exit(a),e.exit(o),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),d(i))}function d(t){return null===t||91===t||93===t||r(t)||l++>999?(e.exit("chunkString"),f(t)):(e.consume(t),u=u||!i(t),92===t?p:d)}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,d):d(t)}}},52928:function(e,t,n){"use strict";var r=n(73654);e.exports=function(e,t,n,i){var o=i?i-1:1/0,a=0;return function(i){if(r(i))return e.enter(n),s(i);return t(i)};function s(i){return r(i)&&a++o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},a(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};e.exports=u},76872:function(e,t,n){"use strict";var r=n(76734),i=n(46712),o=n(17238),a=n(88367),s=n(73654),u=n(93267),c=n(57139),l=n(16871),f=n(66532),d={name:"htmlFlow",tokenize:function(e,t,n){var f,d,h,m,v,g=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),y};function y(i){return 33===i?(e.consume(i),b):47===i?(e.consume(i),w):63===i?(e.consume(i),f=3,g.interrupt?t:U):r(i)?(e.consume(i),h=u(i),d=!0,x):n(i)}function b(i){return 45===i?(e.consume(i),f=2,E):91===i?(e.consume(i),f=5,h="CDATA[",m=0,_):r(i)?(e.consume(i),f=4,g.interrupt?t:U):n(i)}function E(r){return 45===r?(e.consume(r),g.interrupt?t:U):n(r)}function _(r){return r===h.charCodeAt(m++)?(e.consume(r),m===h.length?g.interrupt?t:R:_):n(r)}function w(t){return r(t)?(e.consume(t),h=u(t),x):n(t)}function x(r){return null===r||47===r||62===r||a(r)?47!==r&&d&&l.indexOf(h.toLowerCase())>-1?(f=1,g.interrupt?t(r):R(r)):c.indexOf(h.toLowerCase())>-1?(f=6,47===r?(e.consume(r),T):g.interrupt?t(r):R(r)):(f=7,g.interrupt?n(r):d?O(r):k(r)):45===r||i(r)?(e.consume(r),h+=u(r),x):n(r)}function T(r){return 62===r?(e.consume(r),g.interrupt?t:R):n(r)}function k(t){return s(t)?(e.consume(t),k):P(t)}function O(t){return 47===t?(e.consume(t),P):58===t||95===t||r(t)?(e.consume(t),C):s(t)?(e.consume(t),O):P(t)}function C(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),C):A(t)}function A(t){return 61===t?(e.consume(t),S):s(t)?(e.consume(t),A):O(t)}function S(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),v=t,M):s(t)?(e.consume(t),S):(v=void 0,D(t))}function M(t){return t===v?(e.consume(t),I):null===t||o(t)?n(t):(e.consume(t),M)}function D(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||a(t)?A(t):(e.consume(t),D)}function I(e){return 47===e||62===e||s(e)?O(e):n(e)}function P(t){return 62===t?(e.consume(t),N):n(t)}function N(t){return s(t)?(e.consume(t),N):null===t||o(t)?R(t):n(t)}function R(t){return 45===t&&2===f?(e.consume(t),F):60===t&&1===f?(e.consume(t),B):62===t&&4===f?(e.consume(t),V):63===t&&3===f?(e.consume(t),U):93===t&&5===f?(e.consume(t),z):!o(t)||6!==f&&7!==f?null===t||o(t)?L(t):(e.consume(t),R):e.check(p,V,L)(t)}function L(t){return e.exit("htmlFlowData"),j(t)}function j(t){return null===t?W(t):o(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),j):(e.enter("htmlFlowData"),R(t))}function F(t){return 45===t?(e.consume(t),U):R(t)}function B(t){return 47===t?(e.consume(t),h="",H):R(t)}function H(t){return 62===t&&l.indexOf(h.toLowerCase())>-1?(e.consume(t),V):r(t)&&h.length<8?(e.consume(t),h+=u(t),H):R(t)}function z(t){return 93===t?(e.consume(t),U):R(t)}function U(t){return 62===t?(e.consume(t),V):R(t)}function V(t){return null===t||o(t)?(e.exit("htmlFlowData"),W(t)):(e.consume(t),V)}function W(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},p={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(f,t,n)}},partial:!0};e.exports=d},28911:function(e,t,n){"use strict";var r=n(76734),i=n(46712),o=n(17238),a=n(88367),s=n(73654),u=n(52928),c={name:"htmlText",tokenize:function(e,t,n){var c,l,f,d,p=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),h};function h(t){return 33===t?(e.consume(t),m):47===t?(e.consume(t),A):63===t?(e.consume(t),O):r(t)?(e.consume(t),D):n(t)}function m(t){return 45===t?(e.consume(t),v):91===t?(e.consume(t),l="CDATA[",f=0,_):r(t)?(e.consume(t),k):n(t)}function v(t){return 45===t?(e.consume(t),g):n(t)}function g(t){return null===t||62===t?n(t):45===t?(e.consume(t),y):b(t)}function y(e){return null===e||62===e?n(e):b(e)}function b(t){return null===t?n(t):45===t?(e.consume(t),E):o(t)?(d=b,B(t)):(e.consume(t),b)}function E(t){return 45===t?(e.consume(t),z):b(t)}function _(t){return t===l.charCodeAt(f++)?(e.consume(t),f===l.length?w:_):n(t)}function w(t){return null===t?n(t):93===t?(e.consume(t),x):o(t)?(d=w,B(t)):(e.consume(t),w)}function x(t){return 93===t?(e.consume(t),T):w(t)}function T(t){return 62===t?z(t):93===t?(e.consume(t),T):w(t)}function k(t){return null===t||62===t?z(t):o(t)?(d=k,B(t)):(e.consume(t),k)}function O(t){return null===t?n(t):63===t?(e.consume(t),C):o(t)?(d=O,B(t)):(e.consume(t),O)}function C(e){return 62===e?z(e):O(e)}function A(t){return r(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||i(t)?(e.consume(t),S):M(t)}function M(t){return o(t)?(d=M,B(t)):s(t)?(e.consume(t),M):z(t)}function D(t){return 45===t||i(t)?(e.consume(t),D):47===t||62===t||a(t)?I(t):n(t)}function I(t){return 47===t?(e.consume(t),z):58===t||95===t||r(t)?(e.consume(t),P):o(t)?(d=I,B(t)):s(t)?(e.consume(t),I):z(t)}function P(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),P):N(t)}function N(t){return 61===t?(e.consume(t),R):o(t)?(d=N,B(t)):s(t)?(e.consume(t),N):I(t)}function R(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,L):o(t)?(d=R,B(t)):s(t)?(e.consume(t),R):(e.consume(t),c=void 0,F)}function L(t){return t===c?(e.consume(t),j):null===t?n(t):o(t)?(d=L,B(t)):(e.consume(t),L)}function j(e){return 62===e||47===e||a(e)?I(e):n(e)}function F(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||a(t)?I(t):(e.consume(t),F)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u(e,H,"linePrefix",p.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function H(t){return e.enter("htmlTextData"),d(t)}function z(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};e.exports=c},31294:function(e,t,n){"use strict";var r=n(88367),i=n(78811),o=n(56808),a=n(35478),s=n(58280),u=n(75923),c=n(38229),l=n(97154),f=n(59283),d=n(31056),p={name:"labelEnd",tokenize:function(e,t,n){var r,i,o=this,s=o.events.length;for(;s--;)if(("labelImage"===o.events[s][1].type||"labelLink"===o.events[s][1].type)&&!o.events[s][1]._balanced){r=o.events[s][1];break}return function(t){if(!r)return n(t);return r._inactive?c(t):(i=o.parser.defined.indexOf(a(o.sliceSerialize({start:r.end,end:o.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),u)};function u(n){return 40===n?e.attempt(h,t,i?t:c)(n):91===n?e.attempt(m,t,i?e.attempt(v,t,c):c)(n):i?t(n):c(n)}function c(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){var n,r,a,c,l,f,d,p=e.length,h=0;for(;p--;)if(c=e[p][1],l){if("link"===c.type||"labelLink"===c.type&&c._inactive)break;"enter"===e[p][0]&&"labelLink"===c.type&&(c._inactive=!0)}else if(f){if("enter"===e[p][0]&&("labelImage"===c.type||"labelLink"===c.type)&&!c._balanced&&(l=p,"labelLink"!==c.type)){h=2;break}}else"labelEnd"===c.type&&(f=p);return n={type:"labelLink"===e[l][1].type?"link":"image",start:u(e[l][1].start),end:u(e[e.length-1][1].end)},r={type:"label",start:u(e[l][1].start),end:u(e[f][1].end)},a={type:"labelText",start:u(e[l+h+2][1].end),end:u(e[f-2][1].start)},d=i(d=[["enter",n,t],["enter",r,t]],e.slice(l+1,l+h+3)),d=i(d,[["enter",a,t]]),d=i(d,s(t.parser.constructs.insideSpan.null,e.slice(l+h+4,f-3),t)),d=i(d,[["exit",a,t],e[f-2],e[f-1],["exit",r,t]]),d=i(d,e.slice(f+1)),d=i(d,[["exit",n,t]]),o(e,l,e.length,d),e},resolveAll:function(e){var t,n=-1;for(;++n-1?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},f={tokenize:function(e,t,n){var r=this;return s(e,(function(e){return i(e)||!o(r.events,"listItemPrefixWhitespace")?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},d={tokenize:function(e,t,n){var r=this;return s(e,(function(e){return o(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=l},66532:function(e,t,n){"use strict";var r=n(17238),i=n(52928),o={tokenize:function(e,t,n){return i(e,(function(e){return null===e||r(e)?t(e):n(e)}),"linePrefix")},partial:!0};e.exports=o},15874:function(e,t,n){"use strict";var r=n(17238),i=n(75923),o=n(52928),a={name:"setextUnderline",tokenize:function(e,t,n){var i,a,s=this,u=s.events.length;for(;u--;)if("lineEnding"!==s.events[u][1].type&&"linePrefix"!==s.events[u][1].type&&"content"!==s.events[u][1].type){a="paragraph"===s.events[u][1].type;break}return function(t){if(!s.lazy&&(s.interrupt||a))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,c(t);return n(t)};function c(t){return t===i?(e.consume(t),c):(e.exit("setextHeadingLineSequence"),o(e,l,"lineSuffix")(t))}function l(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function(e,t){var n,r,o,a,s=e.length;for(;s--;)if("enter"===e[s][0]){if("content"===e[s][1].type){n=s;break}"paragraph"===e[s][1].type&&(r=s)}else"content"===e[s][1].type&&e.splice(s,1),o||"definition"!==e[s][1].type||(o=s);a={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};e.exports=a},37039:function(e,t,n){"use strict";var r=n(17238),i=n(73654),o=n(52928),a={name:"thematicBreak",tokenize:function(e,t,n){var a,s=0;return function(t){return e.enter("thematicBreak"),a=t,u(t)};function u(l){return l===a?(e.enter("thematicBreakSequence"),c(l)):i(l)?o(e,u,"whitespace")(l):s<3||null!==l&&!r(l)?n(l):(e.exit("thematicBreak"),t(l))}function c(t){return t===a?(e.consume(t),s++,c):(e.exit("thematicBreakSequence"),u(t))}}};e.exports=a},78811:function(e,t,n){"use strict";var r=n(56808);e.exports=function(e,t){return e.length?(r(e,e.length,0,t),e):t}},56808:function(e,t,n){"use strict";var r=n(21362);e.exports=function(e,t,n,i){var o,a=e.length,s=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);s-1)return m();return e.tokenize.call(t?r({},y,t):y,g,h,m)(n)}}function h(t){return e(c,l),i}function m(e){return l.restore(),++u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":r(n)}},23082:function(e,t,n){"use strict";var r=n(93267);e.exports=function(e){for(var t,n,i,o=-1,a=[];++o-1&&(n[0]=n[0].slice(i)),a>0&&n.push(e[o].slice(0,a))),n}},84423:function(e,t,n){"use strict";var r=n(99198),i=n(56808),o=n(75923);function a(e,t){for(var n,r,o,a,s,u,c=e[t][1],l=e[t][2],f=t-1,d=[],p=c._tokenizer||l.parser[c.contentType](c.start),h=p.events,m=[],v={};c;){for(;e[++f][1]!==c;);d.push(f),c._tokenizer||(n=l.sliceStream(c),c.next||n.push(null),r&&p.defineSkip(c.start),c.isInFirstContentOfListItem&&(p._gfmTasklistFirstContentOfListItem=!0),p.write(n),c.isInFirstContentOfListItem&&(p._gfmTasklistFirstContentOfListItem=void 0)),r=c,c=c.next}for(c=r,o=h.length;o--;)"enter"===h[o][0]?a=!0:a&&h[o][1].type===h[o-1][1].type&&h[o][1].start.line!==h[o][1].end.line&&(g(h.slice(o+1,s)),c._tokenizer=c.next=void 0,c=c.previous,s=o+1);for(p.events=c._tokenizer=c.next=void 0,g(h.slice(0,s)),o=-1,u=0;++o=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["src","sizes","unoptimized","priority","loading","lazyBoundary","className","quality","width","height","objectFit","objectPosition","onLoadingComplete","loader","placeholder","blurDataURL"]),N=n?"responsive":"intrinsic";"layout"in P&&(P.layout&&(N=P.layout),delete P.layout);var R="";if(function(e){return"object"===typeof e&&(m(e)||function(e){return void 0!==e.src}(e))}(t)){var L=m(t)?t.default:t;if(!L.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(L)));if(I=I||L.blurDataURL,R=L.src,(!N||"fill"!==N)&&(_=_||L.height,E=E||L.width,!L.height||!L.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(L)))}t="string"===typeof t?t:R;var j=x(E),F=x(_),B=x(b),H=!f&&("lazy"===h||"undefined"===typeof h);(t.startsWith("data:")||t.startsWith("blob:"))&&(u=!0,H=!1);p.has(t)&&(H=!1);0;var z,U,V,W=c.useIntersection({rootMargin:g,disabled:!H}),G=r(W,2),K=G[0],q=G[1],Z=!H||q,$={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:k,objectPosition:O},Y="blur"===D?{filter:"blur(20px)",backgroundSize:k||"cover",backgroundImage:'url("'.concat(I,'")'),backgroundPosition:O||"0% 0%"}:{};if("fill"===N)z={display:"block",overflow:"hidden",position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",margin:0};else if("undefined"!==typeof j&&"undefined"!==typeof F){var X=F/j,Q=isNaN(X)?"100%":"".concat(100*X,"%");"responsive"===N?(z={display:"block",overflow:"hidden",position:"relative",boxSizing:"border-box",margin:0},U={display:"block",boxSizing:"border-box",paddingTop:Q}):"intrinsic"===N?(z={display:"inline-block",maxWidth:"100%",overflow:"hidden",position:"relative",boxSizing:"border-box",margin:0},U={boxSizing:"border-box",display:"block",maxWidth:"100%"},V='')):"fixed"===N&&(z={overflow:"hidden",boxSizing:"border-box",display:"inline-block",position:"relative",width:j,height:F})}else 0;var J={src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",srcSet:void 0,sizes:void 0};Z&&(J=w({src:t,unoptimized:u,layout:N,width:j,quality:B,sizes:n,loader:S}));var ee=t;return o.default.createElement("div",{style:z},U?o.default.createElement("div",{style:U},V?o.default.createElement("img",{style:{maxWidth:"100%",display:"block",margin:0,border:"none",padding:0},alt:"","aria-hidden":!0,src:"data:image/svg+xml;base64,".concat(s.toBase64(V))}):null):null,o.default.createElement("img",Object.assign({},P,J,{decoding:"async","data-nimg":N,className:y,ref:function(e){K(e),function(e,t,n,r,i){if(!e)return;var o=function(){e.src.startsWith("data:")||("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if("blur"===r&&(e.style.filter="none",e.style.backgroundSize="none",e.style.backgroundImage="none"),p.add(t),i){var n=e.naturalWidth,o=e.naturalHeight;i({naturalWidth:n,naturalHeight:o})}}))};e.complete?o():e.onload=o}(e,ee,0,D,C)},style:d({},$,Y)})),o.default.createElement("noscript",null,o.default.createElement("img",Object.assign({},P,w({src:t,unoptimized:u,layout:N,width:j,quality:B,sizes:n,loader:S}),{decoding:"async","data-nimg":N,style:$,className:y,loading:h||"lazy"}))),f?o.default.createElement(a.default,null,o.default.createElement("link",{key:"__nimg-"+J.src+J.srcSet+J.sizes,rel:"preload",as:"image",href:J.srcSet?void 0:J.src,imagesrcset:J.srcSet,imagesizes:J.sizes})):null)};var o=f(n(67294)),a=f(n(70639)),s=n(28997),u=n(5809),c=n(7426);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return e&&e.__esModule?e:{default:e}}function d(e){for(var t=1;t=g[0]*s})),kind:"w"}}return{widths:_,kind:"w"}}return"number"!==typeof e||"fill"===t||"responsive"===t?{widths:g,kind:"w"}:{widths:i(new Set([e,2*e].map((function(e){return _.find((function(t){return t>=e}))||_[_.length-1]})))),kind:"x"}}(o,r,s),l=c.widths,f=c.kind,d=l.length-1;return{sizes:s||"w"!==f?s:"100vw",srcSet:l.map((function(e,n){return"".concat(u({src:t,quality:a,width:e})," ").concat("w"===f?e:n+1).concat(f)})).join(", "),src:u({src:t,quality:a,width:l[d]})}}function x(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function T(e){var t=h.get(b);if(t)return t(d({root:E},e));throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(u.VALID_LOADERS.join(", "),". Received: ").concat(b))}function k(e){return"/"===e[0]?e.slice(1):e}g.sort((function(e,t){return e-t})),_.sort((function(e,t){return e-t}))},7426:function(e,t,n){"use strict";var r=n(63038);Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootMargin,n=e.disabled||!a,u=i.useRef(),c=i.useState(!1),l=r(c,2),f=l[0],d=l[1],p=i.useCallback((function(e){u.current&&(u.current(),u.current=void 0),n||f||e&&e.tagName&&(u.current=function(e,t,n){var r=function(e){var t=e.rootMargin||"",n=s.get(t);if(n)return n;var r=new Map,i=new IntersectionObserver((function(e){e.forEach((function(e){var t=r.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return s.set(t,n={id:t,observer:i,elements:r}),n}(n),i=r.id,o=r.observer,a=r.elements;return a.set(e,t),o.observe(e),function(){a.delete(e),o.unobserve(e),0===a.size&&(o.disconnect(),s.delete(i))}}(e,(function(e){return e&&d(e)}),{rootMargin:t}))}),[n,t,f]);return i.useEffect((function(){if(!a&&!f){var e=o.requestIdleCallback((function(){return d(!0)}));return function(){return o.cancelIdleCallback(e)}}}),[f]),[p,f]};var i=n(67294),o=n(73447),a="undefined"!==typeof IntersectionObserver;var s=new Map},28997:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toBase64=function(e){return window.btoa(e)}},15352:function(e,t,n){"use strict";function r(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=a)&&(n=a)}}catch(f){o.e(f)}finally{o.f()}}else{var s,u=-1,c=r(e);try{for(c.s();!(s=c.n()).done;){var l=s.value;null!=(l=t(l,++u,e))&&(n=l)&&(n=l)}}catch(f){c.e(f)}finally{c.f()}}return n}n.d(t,{Z:function(){return o}})},76554:function(e,t,n){"use strict";function r(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);na||void 0===n&&a>=a)&&(n=a)}}catch(f){o.e(f)}finally{o.f()}}else{var s,u=-1,c=r(e);try{for(c.s();!(s=c.n()).done;){var l=s.value;null!=(l=t(l,++u,e))&&(n>l||void 0===n&&l>=l)&&(n=l)}}catch(f){c.e(f)}finally{c.f()}}return n}n.d(t,{Z:function(){return o}})},65574:function(e,t,n){"use strict";function r(e,t,n){if(isNaN(t))return e;var r,i,o,a,s,u,c=e._root,l={data:n},f=e._x0,d=e._x1;if(!c)return e._root=l,e;for(;c.length;)if((a=t>=(i=(f+d)/2))?f=i:d=i,r=c,!(c=c[s=+a]))return r[s]=l,e;if(t===(o=+e._x.call(null,c.data)))return l.next=c,r?r[s]=l:e._root=l,e;do{r=r?r[s]=new Array(2):e._root=new Array(2),(a=t>=(i=(f+d)/2))?f=i:d=i}while((s=+a)===(u=+(o>=i)));return r[u]=c,r[s]=l,e}function i(e,t,n){this.node=e,this.x0=t,this.x1=n}function o(e){return e[0]}function a(e,t){var n=new s(null==t?o:t,NaN,NaN);return null==e?n:n.addAll(e)}function s(e,t,n){this._x=e,this._x0=t,this._x1=n,this._root=void 0}function u(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}n.d(t,{Z:function(){return a}});var c=a.prototype=s.prototype;c.copy=function(){var e,t,n=new s(this._x,this._x0,this._x1),r=this._root;if(!r)return n;if(!r.length)return n._root=u(r),n;for(e=[{source:r,target:n._root=new Array(2)}];r=e.pop();)for(var i=0;i<2;++i)(t=r.source[i])&&(t.length?e.push({source:t,target:r.target[i]=new Array(2)}):r.target[i]=u(t));return n},c.add=function(e){var t=+this._x.call(null,e);return r(this.cover(t),t,e)},c.addAll=function(e){var t,n,i=e.length,o=new Array(i),a=1/0,s=-1/0;for(t=0;ts&&(s=n));if(a>s)return this;for(this.cover(a).cover(s),t=0;te||e>=n;)switch(i=+(ec||(o=a.x1)=d))&&(a=l[l.length-1],l[l.length-1]=l[l.length-1-s],l[l.length-1-s]=a)}else{var p=Math.abs(e-+this._x.call(null,f.data));p=(a=(f+d)/2))?f=a:d=a,t=l,!(l=l[u=+s]))return this;if(!l.length)break;t[u+1&1]&&(n=t,c=u)}for(;l.data!==e;)if(r=l,!(l=l.next))return this;return(i=l.next)&&delete l.next,r?(i?r.next=i:delete r.next,this):t?(i?t[u]=i:delete t[u],(l=t[0]||t[1])&&l===(t[1]||t[0])&&!l.length&&(n?n[c]=l:this._root=l),this):(this._root=i,this)},c.removeAll=function(e){for(var t=0,n=e.length;t=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}function a(e,t){for(var n,r=0,i=e.length;r0)for(var n,r,i=new Array(n),o=0;o1&&(y=d.y+d.vy-c.y-c.vy||(0,i.Z)(f)),u>2&&(b=d.z+d.vz-c.z-c.vz||(0,i.Z)(f)),g*=p=((p=Math.sqrt(g*g+y*y+b*b))-n[v])/p*r*t[v],y*=p,b*=p,d.vx-=g*(h=l[v]),u>1&&(d.vy-=y*h),u>2&&(d.vz-=b*h),c.vx+=g*(h=1-h),u>1&&(c.vy+=y*h),u>2&&(c.vz+=b*h)}function g(){if(s){var r,i,o=s.length,u=e.length,f=new Map(s.map((function(e,t){return[d(e,t,s),e]})));for(r=0,c=new Array(o);r1?t-1:0),r=1;r1&&(e.y=o/c),t>2&&(e.z=a/c)}else{(n=e).x=n.data.x,t>1&&(n.y=n.data.y),t>2&&(n.z=n.data.z);do{u+=f[n.data.index]}while(n=n.next)}e.value=u}function b(e,r,i,o,a){if(!e.value)return!0;var u=[i,o,a][t-1],d=e.x-n.x,v=t>1?e.y-n.y:0,g=t>2?e.z-n.z:0,y=u-r,b=d*d+v*v+g*g;if(y*y/m1&&0===v&&(b+=(v=(0,s.Z)(c))*v),t>2&&0===g&&(b+=(g=(0,s.Z)(c))*g),b1&&(n.vy+=v*e.value*l/b),t>2&&(n.vz+=g*e.value*l/b)),!0;if(!(e.length||b>=h)){(e.data!==n||e.next)&&(0===d&&(b+=(d=(0,s.Z)(c))*d),t>1&&0===v&&(b+=(v=(0,s.Z)(c))*v),t>2&&0===g&&(b+=(g=(0,s.Z)(c))*g),b
1&&(n.vy+=v*y),t>2&&(n.vz+=g*y))}while(e=e.next)}}return v.initialize=function(n){e=n;for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o1&&(l.vy+=d*m),a>2&&(l.vz+=p*m)}}function f(){if(o){var t,n=o.length;for(s=new Array(n),u=new Array(n),t=0;t1?t-1:0),r=1;r