1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,71019,e=>{"use strict";let t,n,a,r,i;var s,o,l,c,u,p,d,h,g,m,y,f,b,x,v,k,w,E,S=e.i(38133),A=e.i(9820),T=e.i(59527),D=e.i(78058),L=e.i(55324),R=e.i(61758),F=e.i(97609),P=e.i(17682),j=e.i(12945);function I(e){return[e("x"),e("y")]}var N=e.i(75148),B=e.i(76644),C=e.i(27356),O=e.i(79447),_=e.i(79350),M=e.i(6784),$=e.i(71726),U=e.i(94181),V=e.i(41394);function z(e){return e.max-e.min}function G(e,t,n,a=.5){e.origin=a,e.originPoint=(0,_.mixNumber)(t.min,t.max,e.origin),e.scale=z(n)/z(t),e.translate=(0,_.mixNumber)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function W(e,t,n,a){G(e.x,t.x,n.x,a?a.originX:void 0),G(e.y,t.y,n.y,a?a.originY:void 0)}function H(e,t,n){e.min=n.min+t.min,e.max=e.min+z(t)}function Y(e,t,n){e.min=t.min-n.min,e.max=e.min+z(t)}function Z(e,t,n){Y(e.x,t.x,n.x),Y(e.y,t.y,n.y)}var q=e.i(47894),X=e.i(91242);function K(e,t,n,a){return(0,$.addDomEvent)(e,t,(0,X.addPointerInfo)(n),a)}let Q=({current:e})=>e?e.ownerDocument.defaultView:null;var J=e.i(57782),ee=e.i(7842),et=e.i(51067),en=e.i(44980);let ea=(e,t)=>Math.abs(e-t),er=new Set(["auto","scroll"]);class ei{constructor(e,t,{transformPagePoint:n,contextWindow:a=window,dragSnapToOrigin:r=!1,distanceThreshold:i=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=el(this.lastMoveEventInfo,this.history),a=null!==this.startEvent,r=(e=n.offset,t={x:0,y:0},Math.sqrt(ea(e.x,t.x)**2+ea(e.y,t.y)**2)>=this.distanceThreshold);if(!a&&!r)return;let{point:i}=n,{timestamp:s}=j.frameData;this.history.push({...i,timestamp:s});let{onStart:o,onMove:l}=this.handlers;a||(o&&o(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=es(t,this.transformPagePoint),j.frame.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:a,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=el("pointercancel"===e.type?this.lastMoveEventInfo:es(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),a&&a(e,i)},!(0,ee.isPrimaryPointer)(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=i,this.contextWindow=a||window;const o=es((0,X.extractEventInfo)(e),this.transformPagePoint),{point:l}=o,{timestamp:c}=j.frameData;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=t;u&&u(e,el(o,this.history)),this.removeListeners=(0,et.pipe)(K(this.contextWindow,"pointermove",this.handlePointerMove),K(this.contextWindow,"pointerup",this.handlePointerUp),K(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(er.has(e.overflowX)||er.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,a=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},r={x:a.x-t.x,y:a.y-t.y};(0!==r.x||0!==r.y)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(e,a),j.frame.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,j.cancelFrame)(this.updatePoint)}}function es(e,t){return t?{point:t(e.point)}:e}function eo(e,t){return{x:e.x-t.x,y:e.y-t.y}}function el({point:e},t){return{point:e,delta:eo(e,ec(t)),offset:eo(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,a=null,r=ec(e);for(;n>=0&&(a=e[n],!(r.timestamp-a.timestamp>(0,en.secondsToMilliseconds)(.1)));)n--;if(!a)return{x:0,y:0};let i=(0,en.millisecondsToSeconds)(r.timestamp-a.timestamp);if(0===i)return{x:0,y:0};let s={x:(r.x-a.x)/i,y:(r.y-a.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,.1)}}function ec(e){return e[e.length-1]}var eu=e.i(89692),ep=e.i(15929);function ed(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function eh(e,t){let n=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,a]=[a,n]),{min:n,max:a}}function eg(e,t,n){return{min:em(e,t),max:em(e,n)}}function em(e,t){return"number"==typeof e?e:e[t]||0}let ey=new WeakMap;class ef{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,P.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:a}=this.visualElement;if(a&&!1===a.isPresent)return;let r=e=>{t?(this.stopAnimation(),this.snapToCursor((0,X.extractEventInfo)(e).point)):this.pauseAnimation()},i=(e,t)=>{this.stopAnimation();let{drag:n,dragPropagation:a,onDragStart:r}=this.getProps();if(n&&!a&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
1y"===e)if(U.isDragging[e])return null;else return U.isDragging[e]=!0,()=>{U.isDragging[e]=!1};return U.isDragging.x||U.isDragging.y?null:(U.isDragging.x=U.isDragging.y=!0,()=>{U.isDragging.x=U.isDragging.y=!1})}(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),I(e=>{let t=this.getAxisMotionValue(e).get()||0;if(V.percent.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let a=n.layout.layoutBox[e];a&&(t=z(a)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&j.frame.postRender(()=>r(e,t)),(0,C.addValueToWillChange)(this.visualElement,"transform");let{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:a,onDirectionLock:r,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:s}=t;if(a&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>I(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:c}=this.getProps();this.panSession=new ei(e,{onSessionStart:r,onStart:i,onMove:s,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:n,contextWindow:Q(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,a=t||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!a||!n)return;let{velocity:i}=a;this.startAnimation(i);let{onDragEnd:s}=this.getProps();s&&j.frame.postRender(()=>s(n,a))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:a}=this.getProps();if(!n||!eb(e,a,this.currentDirection))return;let r=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},a){return void 0!==t&&e<t?e=a?(0,_.mixNumber)(t,e,a.min):Math.max(e,t):void 0!==n&&e>n&&(e=a?(0,_.mixNumber)(n,e,a.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;e&&(0,J.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:a,right:r}){return{x:ed(e.x,n,r),y:ed(e.y,t,a)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:eg(e,"left","right"),y:eg(e,"top","bottom")}}(t),a!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&I(e=>{var t,a;let r;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=n.layoutBox[e],a=this.constraints[e],r={},void 0!==a.min&&(r.min=a.min-t.min),void 0!==a.max&&(r.max=a.max-t.min),r))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!(0,J.isRefObject)(t))return!1;let a=t.current;(0,q.invariant)(null!==a,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=(0,N.measurePageBox)(a,r.root,this.visualElement.getTransformPagePoint()),s=(e=r.layout.layoutBox,{x:eh(e.x,i.x),y:eh(e.y,i.y)});if(n){let e=n((0,B.convertBoxToBoundingBox)(s));this.hasMutatedConstraints=!!e,e&&(s=(0,B.convertBoundingBoxToBox)(e))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:a,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),o=this.constraints||{};return Promise.all(I(s=>{if(!eb(s,t,this.currentDirection))return;let l=o&&o[s]||{};i&&(l={min:0,max:0});let c={type:"inertia",velocity:n?e[s]:0,bounceStiffness:a?200:1e6,bounceDamping:a?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,c)}
1)).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return(0,C.addValueToWillChange)(this.visualElement,e),n.start((0,O.animateMotionValue)(e,n,0,t,this.visualElement,!1))}stopAnimation(){I(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){I(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){I(t=>{let{drag:n}=this.getProps();if(!eb(t,n,this.currentDirection))return;let{projection:a}=this.visualElement,r=this.getAxisMotionValue(t);if(a&&a.layout){let{min:n,max:i}=a.layout.layoutBox[t],s=r.get()||0;r.set(e[t]-(0,_.mixNumber)(n,i,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!(0,J.isRefObject)(t)||!n||!this.constraints)return;this.stopAnimation();let a={x:0,y:0};I(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var n,r;let i,s,o,l=t.get();a[e]=(n={min:l,max:l},r=this.constraints[e],i=.5,s=z(n),(o=z(r))>s?i=(0,eu.progress)(r.min,r.max-s,n.min):s>o&&(i=(0,eu.progress)(n.min,n.max-o,r.min)),(0,ep.clamp)(0,1,i))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),I(t=>{if(!eb(t,e,null))return;let n=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];n.set((0,_.mixNumber)(r,i,a[t]))})}addListeners(){if(!this.visualElement.current)return;ey.set(this.visualElement,this);let e=this.visualElement.current,t=K(e,"pointerdown",t=>{let{drag:n,dragListener:a=!0}=this.getProps(),r=t.target,i=r!==e&&(0,M.isElementKeyboardAccessible)(r);n&&a&&!i&&this.start(t)}),n=()=>{let{dragConstraints:e}=this.getProps();(0,J.isRefObject)(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,r=a.addEventListener("measure",n);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),j.frame.read(n);let i=(0,$.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),s=a.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(I(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),t(),r(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:a=!1,dragConstraints:r=!1,dragElastic:i=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:a,dragConstraints:r,dragElastic:i,dragMomentum:s}}}function eb(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class ex extends R.Feature{constructor(e){super(e),this.removeGroupControls=F.noop,this.removeListeners=F.noop,this.controls=new ef(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||F.noop}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}var ev=R;let ek=e=>(t,n)=>{e&&j.frame.postRender(()=>e(t,n))};class ew extends ev.Feature{constructor(){super(...arguments),this.removePointerDownListener=F.noop}onPointerDown(e){this.session=new ei(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Q(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:a}=this.node.getProps();return{onSessionStart:ek(e),onStart:ek(t),onMove:n,onEnd:(e,t)=>{delete this.session,a&&j.frame.postRender(()=>a(e,t))}}}mount(){this.removePointerDownListener=K(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 eE={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var eS=e.i(16565),eA=e.i(90094),eT=e.i(36622),eD=e.i(25422),eL=e.i(36822);let eR=!1;class eF extends eA.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:a}=this.props,{projection:r}=e;r&&(t.group&&t.group.add(r),n&&n.register&&a&&n.register(r),eR&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),eE.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:a,isPresent:r}=this.props,{projection:i}=n;return i&&(i.isPresent=r,e.layoutDependency!==t&&i.setOptions({...i.options,layoutDependency:t}),eR=!0,a||e.layoutDependency!==t||void 0===t||e.isPresent!==r?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||j.frame.postRender(()=>{let e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),eS.microtask.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:a}=e;eR=!0,a&&(a.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(a),n&&n.deregister&&n.deregister(a))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function eP(e){let[t,n]=(0,eT.usePresence)(),a=(0,eA.useContext)(eD.LayoutGroupContext);return(0,S.jsx)(eF,{...e,layoutGroup:a,switchLayoutGroup:(0,eA.useContext)(eL.SwitchLayoutGroupContext),isPresent:t,safeToRemove:n})}var ej=e.i(58533),eI=e.i(51871),eN=e.i(36958),eB=e.i(37556);function eC(e,t,n,a,r){return e-=t,e=(0,eB.scalePoint)(e,1/n,a),void 0!==r&&(e=(0,eB.scalePoint)(e,1/r,a)),e}function eO(e,t,[n,a,r],i,s){!function(e,t=0,n=1,a=.5,r,i=e,s=e){if(V.percent.test(t)&&(t=parseFloat(t),t=(0,_.mixNumber)(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let o=(0,_.mixNumber)(i.min,i.max,a);e===i&&(o-=t),e.min=eC(e.min,t,n,o,r),e.max=eC(e.max,t,n,o,r)}(e,t[n],t[a],t[r],t.scale,i,s)}let e_=["x","scaleX","originX"],eM=["y","scaleY","originY"];function e$(e,t,n,a){eO(e.x,t,e_,n?n.x:void 0,a?a.x:void 0),eO(e.y,t,eM,n?n.y:void 0,a?a.y:void 0)}function eU(e,t){e.min=t.min,e.max=t.max}function eV(e,t){eU(e.x,t.x),eU(e.y,t.y)}function ez(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function eG(e){return 0===e.translate&&1===e.scale}function eW(e){return eG(e.x)&&eG(e.y)}function eH(e,t){return e.min===t.min&&e.max===t.max}function eY(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function eZ(e,t){return eY(e.x,t.x)&&eY(e.y,t.y)}function eq(e){return z(e.x)/z(e.y)}function eX(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var eK=e.i(15304),eQ=e.i(17016);let eJ=["TopLeft","TopRight","BottomLeft","BottomRight"],e0=eJ.length,e1=e=>"string"==typeof e?parseFloat(e):e,e2=e=>"number"==typeof e||V.px.test(e);function e5(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let e4=e3(0,.5,eQ.circOut),e8=e3(.5,.95,F.noop);function e3(e,t,n){return a=>a<e?0:a>t?1:n((0,eu.progress)(e,t,a))}var e9=e.i(12744);function e6(e){return(0,e9.isObject)(e)&&"ownerSVGElement"in e}var e7=e.i(43887),te=e.i(9669),tt=e.i(97314),tn=e.i(81182),ta=e.i(51120),tr=e.i(30650),ti=e.i(3653);let ts=(e,t)=>e.depth-t.depth;class to{constructor(){this.children=[],this.isDirty=!1}add(e){(0,ti.addUniqueItem)(this.children,e),this.isDirty=!0}remove(e){(0,ti.removeItem)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ts),this.isDirty=!1,this.children.forEac
1h(e)}}var tl=e.i(79458);class tc{constructor(){this.members=[]}add(e){(0,ti.addUniqueItem)(this.members,e),e.scheduleRender()}remove(e){if((0,ti.removeItem)(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,n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender();let a=n.options.layoutDependency,r=e.options.layoutDependency;(void 0===a||void 0===r||a!==r)&&(e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0));let{crossfade:i}=e.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let tu={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tp=["","X","Y","Z"],td=0;function th(e,t,n,a){let{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),a&&(a[e]=0))}function tg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:a,resetTransform:r}){return class{constructor(e={},n=t?.()){this.id=td++,this.animationId=0,this.animationCommitId=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.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tt.statsBuffer.value&&(tu.nodes=tu.calculatedTargetDeltas=tu.calculatedProjections=0),this.nodes.forEach(tf),this.nodes.forEach(tS),this.nodes.forEach(tA),this.nodes.forEach(tb),tt.statsBuffer.addProjectionMetrics&&tt.statsBuffer.addProjectionMetrics(tu)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new to)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new tn.SubscriptionManager),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=e6(t)&&!(e6(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:n,layout:a,visualElement:r}=this.options;if(r&&!r.current&&r.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(a||n)&&(this.isLayoutDirty=!0),e){let n,a=0,r=()=>this.root.updateBlockedByResize=!1;j.frame.read(()=>{a=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==a){let t,i;a=e,this.root.updateBlockedByResize=!0,n&&n(),t=eN.time.now(),i=({timestamp:e})=>{let n=e-t;n>=250&&((0,j.cancelFrame)(i),r(n-250))},j.frame.setup(i,!0),n=()=>(0,j.cancelFrame)(i),eE.hasAnimatedSinceResize&&(eE.hasAnimatedSinceResize=!1,this.nodes.forEach(tE))}})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&r&&(n||a)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:a})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||r.getDefaultTransition()||tP,{onLayoutAnimationStart:s,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!eZ(this.targetLayout,a),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,eI.getValueTransition)(i,"layout"),onPlay:s,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else t||tE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=a})}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,this.eventHandlers.clear(),(0,j.cancelFrame)(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
1h(tT),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(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let a=(0,tr.getOptimisedAppearId)(n);if(window.MotionHasOptimisedAnimation(a,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(a,"transform",j.frame,!(e||n))}let{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&e(r)}(this),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:n}=this.options;if(void 0===t&&!n)return;let a=this.getTransformTemplate();this.prevTransformTemplateValue=a?a(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tv);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tk);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tw),this.nodes.forEach(tm),this.nodes.forEach(ty)):this.nodes.forEach(tk),this.clearAllSnapshots();let e=eN.time.now();j.frameData.delta=(0,ep.clamp)(0,1e3/60,e-j.frameData.timestamp),j.frameData.timestamp=e,j.frameData.isProcessing=!0,j.frameSteps.update.process(j.frameData),j.frameSteps.preRender.process(j.frameData),j.frameSteps.render.process(j.frameData),j.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,eS.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tx),this.sharedNodes.forEach(tD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,j.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){j.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||z(this.snapshot.measuredBox.x)||z(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}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.layoutVersion++,this.layoutCorrected=(0,P.createBox)(),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);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=a(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!eW(this.projectionDelta),n=this.getTransformTemplate(),a=n?n(this.latestValues,""):void 0,i=a!==this.prevTransformTemplateValue;e&&this.instance&&(t||(0,eK.hasTransform)(this.latestValues)||i)&&(r(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),a=this.removeElementScroll(n);return e&&(a=this.removeTransform(a)),tN((t=a).x),tN(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return(0,P.createBox)();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tC))){let{scroll:e}=this.root;e&&((0,eB.translateAxis)(t.x,e.offset.x),(0,eB.translateAxis)(t.y,e.offset.y))}return t}removeElementScroll(e){let t=(0,P.createBox)();if(eV(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let a=this.path[n],{scroll:r,options:i}=a;a!==this.root&&r&&i.layoutScroll&&(r.wasRoot&&eV(t,e),(0,eB.translateAxis)(t.x,r.offset.x),(0,eB.translateAxis)(t.y,r.offset.y))}return t}applyTransform(e,t=!1){let n=(0,P.createBox)();eV(n,e);for(let e=0;e<this.path.length;e++){let a=this.path[e];!t&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(0,eB.transformBox)(n,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),(0,eK.hasTransform)(a.latestValues)&&(0,eB.transformBox)(n,a.latestValues)}return(0,eK.hasTransform)(this.latestValues)&&(0,eB.transformBox)(n,this.latestValues),n}removeTransform(e){let t=(0,P.createBox)();eV(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!(0,eK.hasTransform)(n.latestValues))continue;(0,eK.hasScale)(n.latestValues)&&n.updateSnapshot();let a=(0,P.createBox)();eV(a,n.measurePageBox()),e$(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,a)}return(0,eK.hasTransform)(this.latestValues)&&e$(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!==j.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:r}=this.options;if(!this.layout||!(a||r))return;this.resolvedRelativeTargetAt=j.frameData.timestamp;let i=this.getClosestProjectingParent();if(i&&this.linkedParentVersion!==i.layoutVersion&&!i.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(i&&i.layout?this.createRelativeTarget(i,this.layout.layoutBox,i.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,P.createBox)(),this.targetWithTransforms=(0,P.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,l;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,l=this.relativeParent.target,H(s.x,o.x,l.x),H(s.y,o.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):eV(this.target,this.layout.layoutBox),(0,eB.applyBoxDelta)(this.target,this.targetDelta)):eV(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,i&&!!i.resumingFrom==!!this.resumingFrom&&!i.options.layoutScroll&&i.target&&1!==this.animationProgress?this.createRelativeTarget(i,this.target,i.target):this.relativeParent=this.relativeTarget=void 0),tt.statsBuffer.value&&tu.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||(0,eK.hasScale)(this.parent.latestValues)||(0,eK.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,P.createBox)(),this.relativeTargetOrigin=(0,P.createBox)(),Z(this.relativeTargetOrigin,t,n),eV(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===j.frameData.timestamp&&(n=!1),n)return;let{layout:a,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(a||r))return;eV(this.layoutCorrected,this.layout.layoutBox);let i=this.treeScale.x,s=this.treeScale.y;(0,eB.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,P.createBox)());let{target:o}=e;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ez(this.prevProjectionDelta.x,this.projectionDelta.x),ez(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),W(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===i&&this.treeScale.y===s&&eX(this.projectionDelta.x,this.prevProjectionDelta.x)&&eX(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o)),tt.statsBuffer.value&&tu.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,P.createDelta)(),this.projectionDelta=(0,P.createDelta)(),this.projectionDeltaWithTransform=(0,P.createDelta)()}setAnimationOrigin(e,t=!1){let n,a=this.snapshot,r=a?a.latestValues:{},i={...this.latestValues},s=(0,P.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=(0,P.createBox)(),l=(a?a.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,p=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(tF));this.animationProgress=0,this.mixTargetDelta=t=>{let a=t/1e3;if(tL(s.x,e.x,a),tL(s.y,e.y,a),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,d,h,g,m,y;Z(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,g=this.relativeTargetOrigin,m=o,y=a,tR(h.x,g.x,m.x,y),tR(h.y,g.y,m.y,y),n&&(c=this.relativeTarget,d=n,eH(c.x,d.x)&&eH(c.y,d.y))&&(this.isProjectionDirty=!1),n||(n=(0,P.createBox)()),eV(n,this.relativeTarget)}l&&(this.animationValues=i,function(e,t,n,a,r,i){r?(e.opacity=(0,_.mixNumber)(0,n.opacity??1,e4(a)),e.opacityExit=(0,_.mixNumber)(t.o
1pacity??1,0,e8(a))):i&&(e.opacity=(0,_.mixNumber)(t.opacity??1,n.opacity??1,a));for(let r=0;r<e0;r++){let i=`border${eJ[r]}Radius`,s=e5(t,i),o=e5(n,i);(void 0!==s||void 0!==o)&&(s||(s=0),o||(o=0),0===s||0===o||e2(s)===e2(o)?(e[i]=Math.max((0,_.mixNumber)(e1(s),e1(o),a),0),(V.percent.test(o)||V.percent.test(s))&&(e[i]+="%")):e[i]=o)}(t.rotate||n.rotate)&&(e.rotate=(0,_.mixNumber)(t.rotate||0,n.rotate||0,a))}(i,r,this.latestValues,a,p,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=a},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,j.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=j.frame.update(()=>{var t,n,a;let r;eE.hasAnimatedSinceResize=!0,ej.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,e7.motionValue)(0)),this.currentAnimation=(t=this.motionValue,n=[0,1e3],a={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{ej.activeAnimations.layout--},onComplete:()=>{ej.activeAnimations.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(r=(0,ta.isMotionValue)(t)?t:(0,e7.motionValue)(t)).start((0,O.animateMotionValue)("",r,n,a)),r.animation),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:n,layout:a,latestValues:r}=e;if(t&&n&&a){if(this!==e&&this.layout&&a&&tB(this.options.animationType,this.layout.layoutBox,a.layoutBox)){n=this.target||(0,P.createBox)();let t=z(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let a=z(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+a}eV(t,n),(0,eB.transformBox)(t,r),W(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new tc),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let a=this.getStack();a&&a.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let a={};n.z&&th("z",e,a,this.animationValues);for(let t=0;t<tp.length;t++)th(`rotate${tp[t]}`,e,a,this.animationValues),th(`skew${tp[t]}`,e,a,this.animationValues);for(let t in e.render(),a)e.setStaticValue(t,a[t]),this.animationValues&&(this.animationValues[t]=a[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=(0,tl.resolveMotionValue)(t?.pointerEvents)||"",e.transform=n?n(this.latestValues,""):"none";return}let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,tl.resolveMotionValue)(t?.pointerEvents)||""),this.hasProjected&&!(0,eK.hasTransform)(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1);return}e.visibility="";let r=a.animationValues||a.latestValues;this.applyTransformsToTarget();let i=function(e,t,n){let a="",r=e.x.translate/t.x,i=e.y.translate/t.y,s=n?.z||0;if((r||i||s)&&(a=`translate3d(${r}px, ${i}px, ${s}px) `),(1!==t.x||1!==t.y)&&(a+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:r,rotateY:i,skewX:s,skewY:o}=n;e&&(a=`perspective(${e}px) ${a}`),t&&(a+=`rotate(${t}deg) `),r&&(a+=`rotateX(${r}deg) `),i&&(a+=`rotateY(${i}deg) `),s&&(a+=`skewX(${s}deg) `),o&&(a+=`skewY(${o}deg) `)}let o=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==o||1!==l)&&(a+=`scale(${o}, ${l})`),a||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);n&&(i=n(r,i)),e.transform=i;let{x:s,y:o}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*o.origin}% 0`,a.animationValues?e.opacity=a===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:e.opacity=a===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,te.scaleCorrectors){if
1(void 0===r[t])continue;let{correct:n,applyTo:s,isCSSVariable:o}=te.scaleCorrectors[t],l="none"===i?r[t]:n(r[t],a);if(s){let t=s.length;for(let n=0;n<t;n++)e[s[n]]=l}else o?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=a===this?(0,tl.resolveMotionValue)(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(tv),this.root.sharedNodes.clear()}}}function tm(e){e.updateLayout()}function ty(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:a}=e.layout,{animationType:r}=e.options,i=t.source!==e.layout.source;"size"===r?I(e=>{let a=i?t.measuredBox[e]:t.layoutBox[e],r=z(a);a.min=n[e].min,a.max=a.min+r}):tB(r,t.layoutBox,n)&&I(a=>{let r=i?t.measuredBox[a]:t.layoutBox[a],s=z(n[a]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[a].max=e.relativeTarget[a].min+s)});let s=(0,P.createDelta)();W(s,n,t.layoutBox);let o=(0,P.createDelta)();i?W(o,e.applyTransform(a,!0),t.measuredBox):W(o,n,t.layoutBox);let l=!eW(s),c=!1;if(!e.resumeFrom){let a=e.getClosestProjectingParent();if(a&&!a.resumeFrom){let{snapshot:r,layout:i}=a;if(r&&i){let s=(0,P.createBox)();Z(s,t.layoutBox,r.layoutBox);let o=(0,P.createBox)();Z(o,n,i.layoutBox),eZ(s,o)||(c=!0),a.options.layoutRoot&&(e.relativeTarget=o,e.relativeTargetOrigin=s,e.relativeParent=a)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:o,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function tf(e){tt.statsBuffer.value&&tu.nodes++,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 tb(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function tx(e){e.clearSnapshot()}function tv(e){e.clearMeasurements()}function tk(e){e.isLayoutDirty=!1}function tw(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function tE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function tS(e){e.resolveTargetDelta()}function tA(e){e.calcProjection()}function tT(e){e.resetSkewAndRotation()}function tD(e){e.removeLeadSnapshot()}function tL(e,t,n){e.translate=(0,_.mixNumber)(t.translate,0,n),e.scale=(0,_.mixNumber)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function tR(e,t,n,a){e.min=(0,_.mixNumber)(t.min,n.min,a),e.max=(0,_.mixNumber)(t.max,n.max,a)}function tF(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let tP={duration:.45,ease:[.4,0,.1,1]},tj=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),tI=tj("applewebkit/")&&!tj("chrome/")?Math.round:F.noop;function tN(e){e.min=tI(e.min),e.max=tI(e.max)}function tB(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(eq(t)-eq(n)))}function tC(e){return e!==e.root&&e.scroll?.wasRoot}let tO=tg({attachResizeListener:(e,t)=>(0,$.addDomEvent)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),t_={current:void 0},tM=tg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!t_.current){let e=new tO({});e.mount(window),e.setOptions({layoutScroll:!0}),t_.current=e}return t_.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});var t$=e.i(23192);let tU={...L.animations,...t$.gestureAnimations,pan:{Feature:ew},drag:{Feature:ex,ProjectionNode:tM,MeasureLayout:eP},layout:{ProjectionNode:tM,MeasureLayout:eP}},tV=(0,D.createMotionProxy)(tU,T.createDomVisualElement);e.i(59934);
1var tz=e.i(87698),tG=e.i(82212),tW=e.i(28603),tH=Object.create,tY=Object.defineProperty,tZ=Object.defineProperties,tq=Object.getOwnPropertyDescriptor,tX=Object.getOwnPropertyDescriptors,tK=Object.getOwnPropertyNames,tQ=Object.getOwnPropertySymbols,tJ=Object.getPrototypeOf,t0=Object.prototype.hasOwnProperty,t1=Object.prototype.propertyIsEnumerable,t2=(e,t,n)=>t in e?tY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,t5=(e,t)=>{for(var n in t||(t={}))t0.call(t,n)&&t2(e,n,t[n]);if(tQ)for(var n of tQ(t))t1.call(t,n)&&t2(e,n,t[n]);return e},t4=(e,t)=>{var n={};for(var a in e)t0.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&tQ)for(var a of tQ(e))0>t.indexOf(a)&&t1.call(e,a)&&(n[a]=e[a]);return n},t8=(i=null!=(a=(t={"../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},a={util:{encode:function e(t){return t instanceof r?new r(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},a.util.type(t)){case"Object":if(n[i=a.util.objId(t)])return n[i];for(var s in r={},n[i]=r,t)t.hasOwnProperty(s)&&(r[s]=e(t[s],n));return r;case"Array":if(n[i=a.util.objId(t)])return n[i];return r=[],n[i]=r,t.forEach(function(t,a){r[a]=e(t,n)}),r;default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var a="no-"+t;e;){var r=e.classList;if(r.contains(t))return!0;if(r.contains(a))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=a.util.clone(a.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||a.languages)[e],s={};for(var o in i)if(i.hasOwnProperty(o)){if(o==t)for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);n.hasOwnProperty(o)||(s[o]=i[o])}var c=r[e];return r[e]=s,a.languages.DFS(a.languages,function(t,n){n===c&&t!=e&&(this[t]=s)}),s},DFS:function e(t,n,r,i){i=i||{};var s=a.util.objId;for(var o in t)if(t.hasOwnProperty(o)){n.call(t,o,t[o],r||o);var l=t[o],c=a.util.type(l);"Object"!==c||i[s(l)]?"Array"!==c||i[s(l)]||(i[s(l)]=!0,e(l,n,o,i)):(i[s(l)]=!0,e(l,n,null,i))}}},plugins:{},highlight:function(e,t,n){var i={code:e,grammar:t,language:n};if(a.hooks.run("before-tokenize",i),!i.grammar)throw Error('The language "'+i.language+'" has no grammar.');return i.tokens=a.tokenize(i.code,i.grammar),a.hooks.run("after-tokenize",i),r.stringify(a.util.encode(i.tokens),i.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var l in n)t[l]=n[l];delete t.rest}var c=new s;return o(c,c.head,e),function e(t,n,s,l,c,u){for(var p in s)if(s.hasOwnProperty(p)&&s[p]){var d=s[p];d=Array.isArray(d)?d:[d];for(var h=0;h<d.length;++h){if(u&&u.cause==p+","+h)return;var g=d[h],m=g.inside,y=!!g.lookbehind,f=!!g.greedy,b=g.alias;if(f&&!g.pattern.global){var x=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,x+"g")}for(var v=g.pattern||g,k=l.next,w=c;k!==n.tail&&(!u||!(w>=u.reach));w+=k.value.length,k=k.next){var E,S=k.value;if(n.length>t.length)return;if(!(S instanceof r)){var A=1;if(f){if(!(E=i(v,w,t,y))||E.index>=t.length)break;var T=E.index,D=E.index+E[0].length,L=w;for(L+=k.value.length;T>=L;)L+=(k=k.next).value.length;if(L-=k.value.length,w=L,k.value instanceof r)continue;for(var R=k;R!==n.tail&&(L<D||"string"==typeof R.value);R=R.next)A++,L+=R.value.length;A--,S=t.slice(w,L),E.index-=w}else if(!(E=i(v,0,S,y)))continue;var T=E.index,F=E[0],P=S.slice(0,T),j=S.slice(T+F.length),I=w+S.length;u&&I>u.reach&&(u.reach=I);var N=k.prev;if(P&&(N=o(n,N,P),w+=P.length),function(e,t,n){for(var a=t.next,r=0;r<n&&a!==e.tail;r++)a=a.next;t.next=a,a.prev=t,e.length-=r}(n,N,A),k=o(n,N,new r(p,m?a.tokenize(F,m):F,b,F)),j&&o(n,k,j),A>1){var B={cause:p+","+h,reach:I};e(t,n,s,k.prev,w,B),u&&B.reach>u.reach&&(u.reach=B.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:r};function r(e,t,n,a){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length}function i(e,t,n,a){e.lastIndex=t;var r=e.exec(n);if(r&&a&&r[1]){var i=r[1].length;r.index+=i,r[0]=r[0].slice(i)}return r}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function o(e,t,n){var a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}return r.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},s=t.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(i.classes,s):i.classes.push(s)),a.hooks.run("wrap",i);var o="";for(var l in i.attributes)o+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+o+">"+i.content+"</"+i.tag+">"},a}();t.exports=n,n.default=n}},function(){return n||(0,t[tK(t)[0]])((n={exports:{}}).exports,n),n.exports})())?tH(tJ(a)):{},((e,t,n,a)=>
1{if(t&&"object"==typeof t||"function"==typeof t)for(let r of tK(t))t0.call(e,r)||r===n||tY(e,r,{get:()=>t[r],enumerable:!(a=tq(t,r))||a.enumerable});return e})(!r&&a&&a.__esModule?i:tY(i,"default",{value:a,enumerable:!0}),a));t8.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t8.languages.markup.tag.inside["attr-value"].inside.entity=t8.languages.markup.entity,t8.languages.markup.doctype.inside["internal-subset"].inside=t8.languages.markup,t8.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(t8.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t8.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:t8.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},t8.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(t8.languages.markup.tag,"addAttribute",{value:function(e,t){t8.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:t8.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t8.languages.html=t8.languages.markup,t8.languages.mathml=t8.languages.markup,t8.languages.svg=t8.languages.markup,t8.languages.xml=t8.languages.extend("markup",{}),t8.languages.ssml=t8.languages.xml,t8.languages.atom=t8.languages.xml,t8.languages.rss=t8.languages.xml,s={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l=RegExp((l="(?:[^\\\\-]|"+(o=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+l),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},t8.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:o,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":s,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:o}},"special-escape":s,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:o,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},t8.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}
vendor: 4,287 bytes, line 1
1],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t8.languages.javascript=t8.languages.extend("clike",{"class-name":[t8.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t8.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t8.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t8.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t8.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t8.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t8.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t8.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t8.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2}
1)*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t8.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t8.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t8.languages.markup&&(t8.languages.markup.tag.addInlined("script","javascript"),t8.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t8.languages.js=t8.languages.javascript,t8.languages.actionscript=t8.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),t8.languages.actionscript["class-name"].alias="function",delete t8.languages.actionscript.parameter,delete t8.languages.actionscript["literal-property"],t8.languages.markup&&t8.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t8.languages.markup}}),u=/#(?!\{).+/,p={pattern:/#\{[^}]+\}/,alias:"variable"},t8.languages.coffeescript=t8.languages.extend("javascript",{comment:u,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:p}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),t8.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:u,interpolation:p}}}),t8.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:t8.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:p}}]}),t8.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete t8.languages.coffeescript["template-string"],t8.languages.coffee=t8.languages.coffeescript,Object.defineProperty(d=t8.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},a="doc-comment";if(r=t8.languages[e]){var r,i=r[a];if((i=i||(r=t8.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=r[a]={pattern:i}),Array.isArray(i))for(var s=0,o=i.length;s<o;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),n(i[s]);else n(i)}})}}),d.addSupport(["java","javascript","php"],d),h=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,t8.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+h.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]
1*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+h.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+h.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+h.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:h,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t8.languages.css.atrule.inside.rest=t8.languages.css,(h=t8.languages.markup)&&(h.tag.addInlined("style","css"),h.tag.addAttribute("style","css")),g=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t8.languages.css.selector={pattern:t8.languages.css.selector.pattern,lookbehind:!0,inside:g={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+g.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[g,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},t8.languages.css.atrule.inside["selector-function-argument"].inside=g,t8.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),g={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},m={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},t8.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:g,number:m,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:g,number:m}),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function s(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>
vendor: 4,260 bytes, line 1
1)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return a}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return a}).replace(/<<key>>/g,function(){return"(?:"+r+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:s(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:s(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:s(i),lookbehind:!0,greedy:!0},number:{pattern:s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(t8),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,s=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}}
1,"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,a=t.length;n<a;n++){var r,i=t[n];"code"!==i.type?e(i.content):(r=i.content[1],i=i.content[3],r&&i&&"code-language"===r.type&&"code-block"===i.type&&"string"==typeof r.content&&(r=r.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),r="language-"+(r=(/[a-z][\w-]*/i.exec(r)||[""])[0].toLowerCase()),i.alias?"string"==typeof i.alias?i.alias=[i.alias,r]:i.alias.push(r):i.alias=[r]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,a="",r=0,i=t.classes.length;r<i;r++){var c=t.classes[r],c=/language-(.+)/.exec(c);if(c){a=c[1];break}}var u,p=e.languages[a];p?t.content=e.highlight(t.content.replace(s,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?l("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):o[t]||e}),p,a):a&&"none"!==a&&e.plugins.autoloader&&(u="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(a,function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[a],a))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),o={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(t8),t8.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t8.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t8.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n<t.length;){var a=t[n++];if("keyword"===a.type&&"mutation"===a.content){var r=[];if(u(["definition-mutation","punctuation"])&&"("===t[n+1].content){n+=2;var i=p(/^\($/,/^\)$/);if(-1===i)continue;for(;n<i;n++){var s=t[n+0];"variable"===s.type&&(d(s,"variable-input"),r.push(s.content))}n=i+1}if(u(["punctuation","property-query"])&&"{"===t[n+0].content&&(d(t[++n+0],"property-mutation"),0<r.length)){var o=p(/^\{$/,/^\}$/);if(-1!==o)for(var l=n;l<o;l++){var c=t[l];"variable"===c.type&&0<=r.indexOf(c.content)&&d(c,"variable-input")}}}}function u(e,a){a=a||0;for(var r=0;r<e.length;r++){var i=t[n+(r+a)];if(!i||i.type!==e[r])return}return 1}function p(e,a){for(var r=1,i=n;i<t.length;i++){var s=t[i],o=s.content;if("punctuation"===s.type&&"string"==typeof o){if(e.test(o))r++;else if(a.test(o)&&0==--r)return i}}return -1}function d(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}}),t8.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CA
1SE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,a=t.inside.interpolation,r=a.inside["interpolation-punctuation"],i=a.pattern.source;function s(t,a){if(e.languages[t])return{pattern:RegExp("((?:"+a+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function o(t,n,a){return t={code:t,grammar:n,language:a},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[s("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),s("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),s("svg",/\bsvg/.source),s("markdown",/\b(?:markdown|md)/.source),s("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),s("sql",/\bsql/.source),t].filter(Boolean);var l={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in l&&function t(n){for(var s=0,l=n.length;s<l;s++){var c,u,p,d=n[s];"string"!=typeof d&&(Array.isArray(c=d.content)?"template-string"===d.type?(d=c[1],3===c.length&&"string"!=typeof d&&"embedded-code"===d.type&&(u=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(d),d=Array.isArray(d=d.alias)?d[0]:d,p=e.languages[d])&&(c[1]=function(t,n,s){var l=e.tokenize(t,{interpolation:{pattern:RegExp(i),lookbehind:!0}}),c=0,u={},l=o(l.map(function(e){if("string"==typeof e)return e;for(var n,a,e=e.content;-1!==t.indexOf((a=c++,n="___"+s.toUpperCase()+"_"+a+"___")););return u[n]=e,n}).join(""),n,s),p=Object.keys(u);return c=0,function t(n){for(var i=0;i<n.length;i++){if(c>=p.length)return;var s,l,d,h,g,m,y,f=n[i];"string"==typeof f||"string"==typeof f.content?(s=p[c],-1!==(y=(m="string"==typeof f?f:f.content).indexOf(s))&&(++c,l=m.substring(0,y),g=u[s],d=void 0,(h={})["interpolation-punctuation"]=r,3===(h=e.tokenize(g,h)).length&&((d=[1,1]).push.apply(d,o(h[
11],e.languages.javascript,"javascript")),h.splice.apply(h,d)),d=new e.Token("interpolation",h,a.alias,g),h=m.substring(y+s.length),g=[],l&&g.push(l),g.push(d),h&&(t(m=[h]),g.push.apply(g,m)),"string"==typeof f?(n.splice.apply(n,[i,1].concat(g)),i+=g.length-1):f.content=g)):Array.isArray(y=f.content)?t(y):t([y])}}(l),new e.Token(s,l,"language-"+s,t)}(u,p,d))):t(c):"string"!=typeof c&&t([c]))}}(t.tokens)})}(t8),t8.languages.typescript=t8.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t8.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t8.languages.typescript.parameter,delete t8.languages.typescript["literal-property"],y=t8.languages.extend("typescript",{}),delete y["class-name"],t8.languages.typescript["class-name"].inside=y,t8.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:y}}}}),t8.languages.ts=t8.languages.typescript,f=t8.languages.javascript,x="(@(?:arg|argument|param|property)\\s+(?:"+(b=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",t8.languages.jsdoc=t8.languages.extend("javadoclike",{parameter:{pattern:RegExp(x+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),t8.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(x+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:f,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return b})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+b),lookbehind:!0,inside:{string:f.string,number:f.number,boolean:f.boolean,keyword:t8.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:f,alias:"language-javascript"}}}}),t8.languages.javadoclike.addSupport("javascript",t8.languages.jsdoc),t8.languages.flow=t8.languages.extend("javascript",{}),t8.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),t8.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete t8.languages.flow.parameter,t8.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(t8.languages.flow.keyword)||(t8.languages.flow.keyword=[t8.languages.flow.keyword]),t8.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),t8.languages.n4js=t8.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t8.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t8.languages.n4jsd=t8.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>
1(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],a=0;a<n.length;a++){var r=n[a],i=e.languages.javascript[r],r=(i="RegExp"===e.util.type(i)?e.languages.javascript[r]={pattern:i}:i).inside||{};(i.inside=r)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(t8),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return a}).replace(/<SPREAD>/g,function(){return r}),t)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var a=[],r=0;r<n.length;r++){var i=n[r],o=!1;"string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?0<a.length&&a[a.length-1].tagName===s(i.content[0].content[1])&&a.pop():"/>"!==i.content[i.content.length-1].content&&a.push({tagName:s(i.content[0].content[1]),openedBraces:0}):0<a.length&&"punctuation"===i.type&&"{"===i.content?a[a.length-1].openedBraces++:0<a.length&&0<a[a.length-1].openedBraces&&"punctuation"===i.type&&"}"===i.content?a[a.length-1].openedBraces--:o=!0),(o||"string"==typeof i)&&0<a.length&&0===a[a.length-1].openedBraces&&(o=s(i),r<n.length-1&&("string"==typeof n[r+1]||"plain-text"===n[r+1].type)&&(o+=s(n[r+1]),n.splice(r+1,1)),0<r&&("string"==typeof n[r-1]||"plain-text"===n[r-1].type)&&(o=s(n[r-1])+o,n.splice(r-1,1),r--),n[r]=new e.Token("plain-text",o,null,o)),i.content&&"string"!=typeof i.content&&t(i.content)}}(t.tokens)})}(t8),v=t8.util.clone(t8.languages.typescript),(t8.languages.tsx=t8.languages.extend("jsx",v),delete t8.languages.tsx.parameter,delete t8.languages.tsx["literal-property"],v=t8.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+v.pattern.source+")",v.pattern.flags),v.lookbehind=!0,t8.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]
1*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t8.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=t8.languages.swift}),t8.languages.kotlin=t8.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete t8.languages.kotlin["class-name"],k={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t8.languages.kotlin}},t8.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:k},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2}
vendor: 8,269 bytes, line 1
1)*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:k},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete t8.languages.kotlin.string,t8.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),t8.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),t8.languages.kt=t8.languages.kotlin,t8.languages.kts=t8.languages.kotlin,t8.languages.c=t8.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t8.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t8.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t8.languages.c.string],char:t8.languages.c.char,comment:t8.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t8.languages.c}}}}),t8.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t8.languages.c.boolean,t8.languages.objectivec=t8.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete t8.languages.objectivec["class-name"],t8.languages.objc=t8.languages.objectivec,t8.languages.reason=t8.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t8.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t8.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(t8),t8.languages.go=t8.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t8.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t8.languages.go["class-name"],w=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,E=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return w.source}),t8.languages.cpp=t8.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return w.source})),lookbehind:!0}
vendor: 15,451 bytes, line 1
1,/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:w,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),t8.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return E})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t8.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t8.languages.cpp}}}}),t8.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t8.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t8.languages.extend("cpp",{})}}),t8.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t8.languages.cpp["base-clause"]),t8.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t8.languages.python["string-interpolation"].inside.interpolation.inside.rest=t8.languages.python,t8.languages.py=t8.languages.python,t8.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t8.languages.webmanifest=t8.languages.json;var t3={},t9={dracula:()=>t7,duotoneDark:()=>ne,duotoneLight:()=>nt,github:()=>nn,gruvboxMaterialDark:()=>nx,gruvboxMaterialLight:()=>nv,jettwaveDark:()=>nm,jettwaveLight:()=>ny,nightOwl:()=>na,nightOwlLight:()=>nr,oceanicNext:()=>no,okaidia:()=>nl,oneDark:()=>nf,oneLight:()=>nb,palenight:()=>nc,shadesOfPurple:()=>nu,synthwave84:()=>np,ultramin:()=>nd,vsDark:()=>nh,vsLight:()=>ng};for(var t6 in t9)tY(t3,t6,{get:t9[t6],enumerable:!0});var t7={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},ne={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},nt={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},nn={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},na={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},nr={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},ni="#c5a5c5",ns="#8dc891",no={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:ni}},{types:["attr-value"],style:{color:ns}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:ns}},{types:["punctuation"],style:{color:ns}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:ni}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},nl={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},nc={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},nu={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},np={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},nd={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]}
1,nh={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ng={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}}
1,{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},nm={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ny={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},nf={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},nb={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},nx={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},nv={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},nk=/\r\n|\r|\n/,nw=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},nE=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},nS=e=>{let t=[[]],n=[e],a=[0],r=[e.length],i=0,s=0,o=[],l=[o];for(;s>-1;){for(;(i=a[s]++)<r[s];){let e,c=t[s],u=n[s][i];if("string"==typeof u?(c=s>0?c:["plain"],e=u):(c=nE(c,u.type),u.alias&&(c=nE(c,u.alias)),e=u.content),"string"!=typeof e){s++,t.push(c),n.push(e),a.push(0),r.push(e.length);continue}let p=e.split(nk),d=p.length;o.push({types:c,content:p[0]});for(let e=1;e<d;e++)nw(o),l.push(o=[]),o.push({types:c,content:p[e]})}s--,t.pop(),n.pop(),a.pop(),r.pop()}return nw(o),l},nA=({children:e,language:t,code:n,theme:a,prism:r})=>{let i,s=t.toLowerCase(),o=((e,t)=>{let{plain:n}=e,a=e.styles.reduce((e,n)=>{let{languages:a,style:r}=n;
1return a&&!a.includes(t)||n.types.forEach(t=>{let n=t5(t5({},e[t]),r);e[t]=n}),e},{});return a.root=n,a.plain=tZ(t5({},n),tX({backgroundColor:void 0})),a})(a,s),l=(0,eA.useCallback)(e=>{var{className:t,style:n,line:a}=e;let r=tZ(t5({},t4(e,["className","style","line"])),tX({className:(0,tW.default)("token-line",t)}));return"object"==typeof o&&"plain"in o&&(r.style=o.plain),"object"==typeof n&&(r.style=t5(t5({},r.style||{}),n)),r},[o]),c=(i=(0,eA.useCallback)(({types:e,empty:t})=>{if(null!=o)return 1===e.length&&"plain"===e[0]?null!=t?{display:"inline-block"}:void 0:1===e.length&&null!=t?o[e[0]]:Object.assign(null!=t?{display:"inline-block"}:{},...e.map(e=>o[e]))},[o]),(0,eA.useCallback)(e=>{var{token:t,className:n,style:a}=e;let r=tZ(t5({},t4(e,["token","className","style"])),tX({className:(0,tW.default)("token",...t.types,n),children:t.content,style:i(t)}));return null!=a&&(r.style=t5(t5({},r.style||{}),a)),r},[i])),u=r.languages[s];return e({tokens:(({prism:e,code:t,grammar:n,language:a})=>(0,eA.useMemo)(()=>{if(null==n)return nS([t]);let r={code:t,grammar:n,language:a,tokens:[]};return e.hooks.run("before-tokenize",r),r.tokens=e.tokenize(t,n),e.hooks.run("after-tokenize",r),nS(r.tokens)},[t,n,a,e]))({prism:r,language:s,code:n,grammar:u}),className:`prism-code language-${s}`,style:null!=o?o.root:{},getLineProps:l,getTokenProps:c})},nT=e=>(0,eA.createElement)(nA,tZ(t5({},e),tX({prism:e.prism||t8,theme:e.theme||nh,code:e.code,language:e.language}))),nD=e.i(28693),nL=e.i(41428);let nR={type:"spring",stiffness:500,damping:30},nF={type:"spring",duration:.3,bounce:0},nP={type:"spring",duration:.4,bounce:.35},nj=[211,100,52],nI=()=>{let e=document.documentElement;if(e.classList.contains("dark"))return"dark";if(e.classList.contains("light"))return"light";let t=e.getAttribute("data-theme");return"dark"===t?"dark":"light"===t||"function"!=typeof window.matchMedia?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"},nN=e=>{let t=new MutationObserver(e);t.observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-theme"]});let n="function"==typeof window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null;return n?.addEventListener?.("change",e),()=>{t.disconnect(),n?.removeEventListener?.("change",e)}},nB=()=>"light",nC=(e,t,n,a=1)=>{let r=(e%360+360)%360;return 1===a?`hsl(${r.toFixed(1)} ${t.toFixed(1)}% ${n.toFixed(1)}%)`:`hsl(${r.toFixed(1)} ${t.toFixed(1)}% ${n.toFixed(1)}% / ${a})`},nO=({code:e,floating:t})=>{let[n,a]=(0,eA.useState)(!1),r=(0,eA.useRef)(null);(0,nD.useMountEffect)(()=>()=>{r.current&&clearTimeout(r.current)});let i=(0,eA.useCallback)(async()=>{try{if(navigator.clipboard?.writeText)await navigator.clipboard.writeText(e);else{let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}}catch{return}a(!0),r.current&&clearTimeout(r.current),r.current=setTimeout(()=>a(!1),1800)},[e]),s=function(){tz.hasReducedMotionListener.current||(0,tG.initPrefersReducedMotion)();let[e]=(0,eA.useState)(tz.prefersReducedMotion.current);return e}(),o=s?{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0}}:{initial:{opacity:0,scale:.5,filter:"blur(4px)"},animate:{opacity:1,scale:1,filter:"blur(0px)"},exit:{opacity:0,scale:.5,filter:"blur(4px)"}};return(0,S.jsx)(tV.button,{type:"button","data-slot":"code-block-copy","aria-label":n?"Copied":"Copy code",onClick:i,whileTap:s?void 0:{scale:.9},transition:nR,className:(0,nL.cn)("relative grid size-7 place-items-center rounded-lg text-(--cb-gutter) outline-none transition-[background-color,color] duration-150 ease-out hover:bg-(--cb-hover-wash) hover:text-(--cb-plain) focus-visible:ring-2 focus-visible:ring-(--cb-accent)/60",n&&"bg-(--cb-accent)/12 text-(--cb-accent) hover:bg-(--cb-accent)/12 hover:text-(--cb-accent)",t&&"absolute top-2.5 right-2.5 z-10 border border-(--cb-border) bg-(--cb-float-bg) backdrop-blur-md"),children:(0,S.jsx)(A.AnimatePresence,{initial:!1,children:n?(0,S.jsx)(tV.span,{className:"col-start-1 row-start-1",...o,transition:s?{duration:.15}:nP,children:(0,S.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round",className:"size-3.5","aria-hidden":!0,children:(0,S.jsx)(tV.path,{d:"M4 12.5l5 5L20 6.5",initial:!s&&{pathLength:0},animate:{pathLength:1},transition:{duration:.2,ease:"easeOut",delay:.05}})})},"check"):(0,S.jsx)(tV.span,{className:"col-start-1 row-start-1",...o,transition:s?{duration:.15}:nF,children:(0,S.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"size-3.5","aria-hidden":!0,children:[(0,S.jsx)("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2"}),(0,S.jsx)("path",{d:"M4 16V4c0-1.1.9-2 2-2h10"})]})},"copy")})})};e.s(["CodeBlock",0,({code:e,language:t="tsx",accent:n="#F75001",mode:a="auto",filename:r,showFrame:i=!0,showHeader:s=!0,showLineNumbers:o=!0,showCopyButton:l=!0,highlightLines:c,className:u,style:p,...d})=>{let h="string"==typeof t?t:"tsx",g=(0,eA.useSyncExternalStore)(nN,nI,nB),m="light"===a||"dark"===a?a:g,{colors:y,theme:f}=(0,eA.useMemo)(()=>((e,t="dark")=>{let[n,a,r]=(e=>{let t;if("string"!=typeof e)return nj;let n=e.replace("#","");(4===n.length||8===n.length)&&(n=n.slice(0,4===n.length?3:6)),3===n.length&&(n=n.split("").map(e=>e+e).join(""));let a=parseInt(n.slice(0,2),16)/255,r=parseInt(n.slice(2,4),16)/255,i=parseInt(n.slice(4,6),16)/255;if(6!==n.length||[a,r,i].some(Number.isNaN))return nj;let s=Math.max(a,r,i),o=Math.min(a,r,i),l=(s+o)/2;if(s===o)return[0,0,100*l];let c=s-o;switch(s){case a:t=((r-i)/c+6*(r<i))/6;break;case r:t=((i-a)/c+2)/6;break;default:t=((a-r)/c+4)/6}return[360*t,100*(l>.5?c/(2-s-o):c/(s+o)),100*l]})(e),i="light"!==t,s=i?((e,t=a)=>nC(n,t,e))(Math.min(Math.max(r,56),70)):((e,t=a)=>nC(n,t,e))(Math.min(Math.max(r,38),50)),o=e=>i?e:100-e,l=i?{accent:s,bg:"oklch(0.1822 0 0)",border:"rgb(255 255 255 / 0.08)",headerBg:"rgb(255 255 255 / 0.03)",plain:"#ffffff",muted:"rgb(255 255 255 / 0.6)",gutter:"rgb(255 255 255 / 0.28)",hoverWash:"rgb(255 255 255 / 0.08)",floatBg:"rgb(255 255 255 / 0.05)",selection:nC(n,a,58,.3),lineWash:nC(n,a,58,.1)}:{accent:s,bg:"oklch(0.985 0 0)",border:"rgb(0 0 0 / 0.08)",headerBg:"rgb(0 0 0 / 0.03)",plain:"#171717",muted:"rgb(0 0 0 / 0.6)",gutter:"rgb(0 0 0 / 0.32)",hoverWash:"rgb(0 0 0 / 0.06)",floatBg:"rgb(0 0 0 / 0.04)",selection:nC(n,a,45,.25),lineWash:nC(n,a,45,.08)},c={plain:{color:l.plain,backgroundColor:"transparent"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:((e,t=a)=>nC(n,t,e))(o(42),.35*a),fontStyle:"italic"}},{types:["punctuation"],style:{color:((e,t=a)=>nC(n,t,e))(o(62),.3*a)}}
1,{types:["operator","combinator"],style:{color:((e,t=a)=>nC(n,t,e))(o(70),.4*a)}},{types:["keyword","selector","atrule","important","tag"],style:{color:s}},{types:["string","char","inserted","url"],style:{color:((e,t=a)=>nC(n,t,e))(o(76))}},{types:["function"],style:{color:((e,t=a)=>nC(n,t,e))(o(88),.5*a)}},{types:["attr-name"],style:{color:((e,t=a)=>nC(n,t,e))(o(78),.7*a),fontStyle:"italic"}},{types:["number","boolean","constant","symbol","deleted"],style:{color:((e,t=a)=>nC(n,t,e))(o(70))}},{types:["class-name","maybe-class-name","builtin"],style:{color:((e,t=a)=>nC(n,t,e))(o(93),.35*a)}},{types:["property","variable","parameter"],style:{color:((e,t=a)=>nC(n,t,e))(o(97),.15*a)}},{types:["regex"],style:{color:((e,t=a)=>nC(n,t,e))(o(72),.6*a)}}]};return{colors:l,theme:c}})(n,m),[n,m]),b=(0,eA.useMemo)(()=>("string"==typeof e?e:String(e??"")).replace(/^\n+/,"").trimEnd(),[e]),x=(0,eA.useMemo)(()=>new Set(Array.isArray(c)?c:[]),[c]),v={"--cb-accent":y.accent,"--cb-bg":y.bg,"--cb-border":y.border,"--cb-header-bg":y.headerBg,"--cb-plain":y.plain,"--cb-muted":y.muted,"--cb-gutter":y.gutter,"--cb-hover-wash":y.hoverWash,"--cb-float-bg":y.floatBg,"--cb-selection":y.selection,"--cb-line-wash":y.lineWash};return(0,S.jsxs)("div",{"data-slot":"code-block",className:(0,nL.cn)("group relative flex flex-col overflow-hidden text-left",i&&"rounded-2xl border border-(--cb-border) bg-(--cb-bg)",u),style:{...v,...p},...d,children:[i&&s&&(0,S.jsxs)("div",{"data-slot":"code-block-header",className:"flex h-10 shrink-0 items-center gap-3 border-b border-(--cb-border) bg-(--cb-header-bg) px-3.5 backdrop-blur-md",children:[(0,S.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs text-(--cb-muted)",children:r??h}),l&&(0,S.jsx)(nO,{code:b})]}),!(i&&s)&&l&&(0,S.jsx)(nO,{code:b,floating:!0}),(0,S.jsx)("div",{"data-slot":"code-block-viewport",role:"region","aria-label":r??`${h} code`,tabIndex:0,className:(0,nL.cn)("min-h-0 flex-1 overflow-auto outline-none selection:bg-(--cb-selection) focus-visible:ring-2 focus-visible:ring-(--cb-accent)/40 [scrollbar-width:thin] [scrollbar-color:var(--cb-border)_transparent]",i&&"py-3"),children:(0,S.jsx)(nT,{code:b,language:h,theme:f,children:({tokens:e,getLineProps:t,getTokenProps:n})=>{let a=`${String(e.length).length}ch`;return(0,S.jsx)("pre",{"data-slot":"code-block-pre",className:"w-max min-w-full font-mono text-[13px] leading-6 [tab-size:4]",children:e.map((e,r)=>{let s=t({line:e});return(0,S.jsxs)("div",{...s,className:(0,nL.cn)("relative flex min-w-full",i&&"px-3.5",x.has(r+1)&&"bg-(--cb-line-wash)",s.className),children:[o&&(0,S.jsx)("span",{"aria-hidden":!0,className:"mr-4 shrink-0 text-right text-(--cb-gutter) select-none",style:{width:a},children:r+1}),(0,S.jsx)("span",{className:"pr-3.5",children:e.map((e,t)=>(0,S.jsx)("span",{...n({token:e})},t))})]},r)})})}})})]})}],71019)},47192,e=>{"use strict";var t=e.i(38133),n=e.i(90094),a=e.i(28693),r=e.i(41428),i=e.i(7311);function s({children:e,target:s}){let o=(0,n.useRef)([]),l=(0,n.useRef)(null),c=(0,n.useRef)(!1),u=(0,r.slugify)(s),p=()=>{let e=document.getElementById(u);if(e)return e;let t=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")),n=s.trim().toLowerCase();return t.find(e=>(e.textContent?.trim().toLowerCase()??"")===n)??t.find(e=>e.id.startsWith(`${u}-`))??null},d=()=>{o.current.forEach(clearTimeout),o.current=[]},h=e=>{let t=e.classList.contains("highlight-click")?i.ANIMATION_DELAYS.HIGHLIGHT_CLICK_FADE:i.ANIMATION_DELAYS.HIGHLIGHT_REMOVAL;e.classList.remove("active"),o.current.push(setTimeout(()=>{e.classList.remove("highlight-target","highlight-click")},t))};return(0,a.useMountEffect)(()=>()=>{d(),l.current&&(l.current.classList.remove("active"),l.current.classList.remove("highlight-target","highlight-click"),l.current=null),c.current=!1}),(0,t.jsx)("a",{href:`#${u}`,onClick:e=>{e.preventDefault(),d(),c.current=!0;let t=p();if(!t){c.current=!1;return}let n=t.id||u;t.id||(t.id=n),l.current=t,window.history.pushState(null,"",`#${n}`),t.scrollIntoView({behavior:"smooth",block:"start"}),t.classList.add("highlight-target","highlight-click","active"),o.current.push(setTimeout(()=>{h(t),l.current=null,c.current=!1},i.ANIMATION_DELAYS.HIGHLIGHT_HOLD))},onMouseEnter:()=>{if(c.current)return;d();let e=p();if(!e){l.current=null;return}e.id||(e.id=u),l.current=e,e.classList.add("highlight-target"),o.current.push(setTimeout(()=>{e.classList.add("active")},0))},onMouseLeave:()=>{if(!c.current){if(d(),l.current){h(l.current),l.current=null;return}
1document.querySelectorAll(".highlight-target.active").forEach(e=>{h(e)})}},className:"underline",children:e})}e.s(["default",()=>s])},94226,e=>{"use strict";var t=e.i(38133),n=e.i(90094),a=e.i(41428);let r=["fill-chart-1","fill-chart-2","fill-chart-3","fill-chart-4","fill-chart-5","fill-chart-6","fill-chart-7","fill-chart-8","fill-chart-9","fill-chart-10","fill-chart-11","fill-chart-12"],i=(e,t)=>{let n=t?44:28,a=Math.max(280,e>1?(e-1)*20+16:280);return{viewWidth:640,viewHeight:20+a+n,marginTop:20,marginRight:156,marginBottom:n,marginLeft:52,innerWidth:432,innerHeight:a}},s=e=>Number.isInteger(e)?String(e):1>Math.abs(e)&&0!==e?e.toFixed(2):e.toFixed(1),o=(e,t)=>"$"===t?`$${s(e)}`:`${s(e)}${t}`,l=(e,t)=>{if(0===e.length)return{min:0,max:t?100:1};let n=Math.min(...e),a=Math.max(...e);if(t&&n>=0&&a<=100)return{min:0,max:100};if(n===a){let e=.2*Math.abs(a)||1;return{min:Math.max(0,a-e),max:a+e}}let r=(a-n)*.16;return{min:Math.max(0,n-r),max:a+r}},c=e=>{let t=e.max-e.min;return Array.from({length:5},(n,a)=>e.min+t*a/4)},u=(e,t,n)=>{let a=t.max-t.min||1,r=(e-t.min)/a;return n.marginLeft+r*n.innerWidth},p=(e,t,n)=>{let a=t.max-t.min||1,r=(e-t.min)/a;return n.marginTop+n.innerHeight-r*n.innerHeight},d=({layout:e,plottedPoints:r,xDomain:i,yDomain:s,xLabel:l,yLabel:d,xUnit:h,yUnit:g,showXAxis:m})=>{let[y,f]=(0,n.useState)(null),b=m?c(i):[],x=c(s),v=((e,t)=>{let n=new Map,a=t.marginLeft+t.innerWidth+10,r=t.marginTop+10,i=t.marginTop+t.innerHe
1ight,s=[...e].sort((e,t)=>e.y!==t.y?e.y-t.y:e.x-t.x),o=s.map(e=>Math.min(i,Math.max(r,e.y)));o.forEach((e,t)=>{if(0===t)return;let n=o[t-1];void 0!==n&&(o[t]=Math.max(e,n+20))});let l=o[o.length-1];if(void 0!==l&&l>i){o[o.length-1]=i;for(let e=o.length-2;e>=0;e-=1){let t=o[e+1],n=o[e];void 0!==t&&void 0!==n&&(o[e]=Math.min(n,t-20))}}let c=o[0];return void 0!==c&&c<r&&(o[0]=r,o.forEach((e,t)=>{if(0===t)return;let n=o[t-1];void 0!==n&&(o[t]=Math.max(e,n+20))})),s.forEach((e,t)=>{let r=o[t];void 0!==r&&n.set(e.label,{labelX:a,labelY:r})}),n})(r,e),k=r.find(e=>e.label===y),w=r.filter(e=>e.isHighlighted),E=r.filter(e=>!e.isHighlighted),S=k?[...E.filter(e=>e.label!==y),...w.filter(e=>e.label!==y),k]:[...E,...w],A=e.marginTop+e.innerHeight,T=e.marginTop+e.innerHeight/2;return(0,t.jsxs)("svg",{viewBox:`0 0 ${e.viewWidth} ${e.viewHeight}`,width:e.viewWidth,height:e.viewHeight,className:"h-auto w-full text-muted-foreground",role:"img","aria-label":l?`${d} versus ${l}`:d,onMouseLeave:()=>f(null),children:[b.map(n=>(0,t.jsx)("line",{x1:u(n,i,e),y1:e.marginTop,x2:u(n,i,e),y2:A,className:"stroke-border",strokeWidth:"1"},`x-grid-${n}`)),x.map(n=>(0,t.jsx)("line",{x1:e.marginLeft,y1:p(n,s,e),x2:e.marginLeft+e.innerWidth,y2:p(n,s,e),className:"stroke-border",strokeWidth:"1"},`y-grid-${n}`)),x.map(n=>(0,t.jsx)("text",{x:e.marginLeft-8,y:p(n,s,e),textAnchor:"end",dominantBaseline:"middle",className:"fill-muted-foreground text-xs",children:o(n,g)},`y-tick-${n}`)),b.map(n=>(0,t.jsx)("text",{x:u(n,i,e),y:A+16,textAnchor:"middle",className:"fill-muted-foreground text-xs",children:o(n,h)},`x-tick-${n}`)),l?(0,t.jsx)("text",{x:e.marginLeft+e.innerWidth/2,y:e.viewHeight-6,textAnchor:"middle",className:"fill-muted-foreground text-xs",children:l}):null,(0,t.jsx)("text",{x:16,y:T,textAnchor:"middle",transform:`rotate(-90 16 ${T})`,className:"fill-muted-foreground text-xs",children:d}),S.map(n=>{let r=v.get(n.label),i=y===n.label,s=e.marginLeft+e.innerWidth+10,l=n.y;r&&(s=r.labelX,l=r.labelY);let c=n.isHighlighted;return(0,t.jsxs)("g",{className:(0,a.cn)("cursor-pointer",!c&&!i&&"opacity-35"),onMouseEnter:()=>f(n.label),children:[(0,t.jsx)("line",{x1:n.x,y1:n.y,x2:s-4,y2:l-3,className:c||i?"stroke-foreground":"stroke-border",strokeWidth:c||i?1.5:1}),(0,t.jsx)("circle",{cx:n.x,cy:n.y,r:"14",className:"fill-transparent"}),c?(0,t.jsx)("circle",{cx:n.x,cy:n.y,r:"8",className:"fill-none stroke-foreground",strokeWidth:"1.5"}):null,(0,t.jsx)("circle",{cx:n.x,cy:n.y,r:c||i?5.5:3.5,className:c?"fill-foreground":n.colorClassName}),(0,t.jsx)("text",{x:s,y:l,dominantBaseline:"middle",className:(0,a.cn)("text-xs",c?"fill-foreground font-medium":n.colorClassName),children:n.label}),i?(0,t.jsx)("text",{x:n.x,y:n.y-14,textAnchor:"middle",className:(0,a.cn)("text-xs",c?"fill-foreground":n.colorClassName),children:m?`${o(n.yValue,g)} \xb7 ${o(n.xValue,h)}`:o(n.yValue,g)}):null]},n.label)})]})},h=({layout:e,plottedPoints:r,xDomain:i,xLabel:s,xUnit:l,yUnit:p})=>{let[d,h]=(0,n.useState)(null),g=c(i),m=e.marginTop+e.innerHeight,y=0===r.length?40:e.innerHeight/r.length;return(0,t.jsxs)("svg",{viewBox:`0 0 ${e.viewWidth} ${e.viewHeight}`,width:e.viewWidth,height:e.viewHeight,className:"h-auto w-full text-muted-foreground",role:"img","aria-label":s??"Score breakdown",onMouseLeave:()=>h(null),children:[g.map(n=>(0,t.jsx)("line",{x1:u(n,i,e),y1:e.marginTop,x2:u(n,i,e),y2:m,className:"stroke-border",strokeWidth:"1"},`x-grid-${n}`)),g.map(n=>(0,t.jsx)("text",{x:u(n,i,e),y:m+16,textAnchor:"middle",className:"fill-muted-foreground text-xs",children:o(n,l)},`x-tick-${n}`)),s?(0,t.jsx)("text",{x:e.marginLeft+e.innerWidth/2,y:e.viewHeight-6,textAnchor:"middle",className:"fill-muted-foreground text-xs",children:s}):null,r.map((n,r)=>{let i=d===n.label,s=e.marginTop+y*r+y/2,l=s-6,c=Math.max(0,n.x-e.marginLeft);return(0,t.jsxs)("g",{className:"cursor-pointer",onMouseEnter:()=>h(n.label),children:[(0,t.jsx)("text",{x:e.marginLeft-8,y:s,textAnchor:"end",dominantBaseline:"middle",className:(0,a.cn)("text-xs",i?"fill-foreground":"fill-muted-foreground"),children:n.label}),(0,t.jsx)("rect",{x:e.marginLeft,y:l,width:c,height:12,className:i?"fill-foreground":n.colorClassName}),(0,t.jsx)("text",{x:n.x+6,y:s,dominantBaseline:"middle",className:(0,a.cn)("text-xs",i?"fill-foreground":"fill-muted-foreground"),children:i?void 0===n.correct||void 0===n.total?o(n.yValue,p):`${n.correct}/${n.total} â ${o(n.yValue,p)}`:o(n.yValue,p)})]},n.label)})]})};e.s(["BenchmarkChart",0,({title:e,caption:s,highlight:o,benchmarks:c,className:g})=>
1{let[m,y]=(0,n.useState)(c[0]?.key),f=c.find(e=>e.key===m)??c[0],b=f?.kind==="bar",x=f?.yLabel??"Score",v=f?.yUnit??"%",k=f?.xLabel??(b?"Score":void 0),w=f?.xUnit??(b?"%":""),E=!!f?.points.some(e=>void 0!==e.x),S=(0,n.useMemo)(()=>{if(!f)return{layout:i(0,!1),xDomain:{min:0,max:1},yDomain:{min:0,max:100},points:[]};let e=new Map;f.points.forEach((t,n)=>{let a,i;e.set(t.label,(a=r.length,(i=r[(n%a+a)%a])||"fill-foreground"))});let t=void 0===o?new Set:new Set("string"==typeof o?[o]:o),n=f.points.filter(e=>Number.isFinite(e.score));if(b){let a,r={viewWidth:640,viewHeight:16+(a=Math.max(40*n.length,40))+40,marginTop:16,marginRight:128,marginBottom:40,marginLeft:108,innerWidth:404,innerHeight:a},i=n.map(n=>{let a=e.get(n.label),r="fill-foreground";return a&&(r=a),{label:n.label,xValue:n.score,yValue:n.score,x:0,y:0,colorClassName:r,isHighlighted:!0===n.highlight||t.has(n.label),correct:n.correct,total:n.total}}),s=l(i.map(e=>e.xValue),"%"===v);return{layout:r,xDomain:s,yDomain:s,points:i.map(e=>({...e,x:u(e.xValue,s,r),y:0}))}}let a=[...n].sort((e,t)=>e.score-t.score),s=i(a.length,E),c=a.map((n,r)=>{let i=E?n.x??0:1===a.length?.5:r/(a.length-1),s=e.get(n.label),o="fill-foreground";s&&(o=s);let l=!0===n.highlight||t.has(n.label);return{label:n.label,xValue:i,yValue:n.score,x:0,y:0,colorClassName:o,isHighlighted:l}}),d=E?l(c.map(e=>e.xValue),!1):{min:0,max:1},h=l(c.map(e=>e.yValue),"%"===v);return{layout:s,xDomain:d,yDomain:h,points:c.map(e=>({...e,x:u(e.xValue,d,s),y:p(e.yValue,h,s)}))}},[E,o,b,f,v]);return f?(0,t.jsxs)("figure",{className:(0,a.cn)("my-6 flex flex-col gap-2",g),children:[e?(0,t.jsx)("figcaption",{className:"text-base text-foreground",children:e}):null,(0,t.jsxs)("div",{className:"border border-border bg-background",children:[c.length>1?(0,t.jsx)("div",{className:"flex border-b border-border",children:c.map(e=>{let n=e.key===f.key;return(0,t.jsx)("button",{type:"button",onClick:()=>y(e.key),className:(0,a.cn)("relative z-0 cursor-pointer px-3.5 py-2 text-base transition-colors focus-visible:z-10",n?"bg-muted text-foreground":"text-muted-foreground hover:text-foreground"),children:e.label},e.key)})}):null,b?(0,t.jsx)(h,{layout:S.layout,plottedPoints:S.points,xDomain:S.xDomain,xLabel:k,xUnit:w,yUnit:v},f.key):(0,t.jsx)(d,{layout:S.layout,plottedPoints:S.points,xDomain:S.xDomain,yDomain:S.yDomain,xLabel:E?k:void 0,yLabel:x,xUnit:w,yUnit:v,showXAxis:E},f.key)]}),s?(0,t.jsx)("p",{className:"font-body text-base text-muted-foreground",children:s}):null]}):null}])},9674,e=>{"use strict";var t=e.i(38133),n=e.i(90094),a=e.i(76940),r=e.i(41428);let i=async(t,n)=>{try{let a=(await e.A(56169)).default;a.initialize({startOnLoad:!1,theme:"neutral",flowchart:{htmlLabels:!1,curve:"linear",padding:24,nodeSpacing:48,rankSpacing:64},securityLevel:"strict"});let{svg:r}=await a.render(t,n);return{svg:r.replace(/<style[\s\S]*?<\/style>/gi,"")}}catch(e){return{error:e instanceof Error?e.message:"Failed to render diagram"}}},s=({label:e,onClick:n,className:a,children:i})=>(0,t.jsx)("button",{type:"button","aria-label":e,title:e,className:(0,r.cn)("flex size-8 cursor-pointer items-center justify-center border border-border bg-background text-foreground hover:bg-muted",a),onClick:n,children:i});e.s(["Mermaid",0,({chart:e,title:o,pan:l=!0})=>{let c=(0,n.useId)(),u=`mermaid-${c.replace(/:/g,"")}`,[p,d]=(0,n.useState)({}),[h,g]=(0,n.useState)({x:0,y:0}),[m,y]=(0,n.useState)(1),[f,b]=(0,n.useState)(null),x=(0,n.useRef)(0);(0,n.useEffect)(()=>{let t=!1;return i(`${u}-${++x.current}`,e).then(e=>{t||d(e)}),()=>{t=!0}},[e,u]);let v=(e,t)=>{g({x:h.x+e,y:h.y+t})},k=e=>{y(Math.min(2.5,Math.max(.5,e)))};return(0,t.jsxs)("figure",{className:(0,r.cn)("my-6 border border-border bg-background",l&&!p.error?"relative overflow-hidden":"p-3"),children:[o?(0,t.jsx)("figcaption",{className:"mb-3 text-base text-foreground",children:o}):null,p.error?(0,t.jsx)("p",{className:"font-body text-base text-muted-foreground",children:p.error}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:(0,r.cn)("mermaid-viewport text-foreground",l?(0,r.cn)("mermaid-viewport-pan h-96 overflow-hidden",f?"cursor-grabbing":"cursor-grab"):"overflow-x-auto"),onPointerDown:l?e=>{e.currentTarget.setPointerCapture(e.pointerId),b({pointerId:e.pointerId,startX:e.clientX,startY:e.clientY,originX:h.x,originY:h.y})}:void 0,onPointerMove:l?e=>{f&&e.pointerId===f.pointerId&&g({x:f.originX+e.clientX-f.startX,y:f.originY+e.clientY-f.startY})}:void 0,onPointerUp:l?e=>{f&&e.pointerId===f.pointerId&&b(null)}:void 0,onPointerCancel:l?()=>b(null):void 0,children:(0,t.jsx)("div",{className:(0,r.cn)("mermaid-host origin-top-left select-none text-foreground",!l&&"mermaid-host-fit"),dangerouslySetInnerHTML:p.svg?{__html:p.svg}:void 0,style:l?{transform:`translate(${h.x}px, ${h.y}px) scale(${m})`}:void 0})}),l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"absolute top-3 right-3 z-10 flex flex-col gap-1",onPointerDown:e=>{e.stopPropagation()},children:[(0,t.jsx)(s,{label:"Zoom in",onClick:()=>k(m+.25),children:(0,t.jsx)(a.MagnifyingGlassPlusIcon,{})}),(0,t.jsx)(s,{label:"Zoom out",onClick:()=>k(m-.25),children:(0,t.jsx)(a.MagnifyingGlassMinusIcon,{})})]}),(0,t.jsxs)("div",{className:"absolute right-3 bottom-3 z-10 flex flex-col items-center gap-1",onPointerDown:e=>{e.stopPropagation()},children:[(0,t.jsx)(s,{label:"Move up",onClick:()=>v(0,64),children:(0,t.jsx)(a.ChevronRightIcon,{className:"-rotate-90"})}),(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(s,{label:"Move left",onClick:()=>v(64,0),children:(0,t.jsx)(a.ChevronRightIcon,{className:"rotate-180"})}),(0,t.jsx)(s,{label:"Move down",onClick:()=>v(0,-64),children:(0,t.jsx)(a.ChevronRightIcon,{className:"rotate-90"})}),(0,t.jsx)(s,{label:"Move right",onClick:()=>v(-64,0),children:(0,t.jsx)(a.ChevronRightIcon,{})})]})]})]}):null]})]})}])}]);
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.