PageSourceSearch

https://tailscale.com/_next/static/chunks/88556-68c54805ab62c57a.js

js tailscale.com collected 2026-10-01 08:24:09 UTC 198,295 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[88556],{18168:function(e,t,n){"use strict";n.d(t,{YI:function(){return S}});var r=n(17206),a=n(85893),i=n(67294);let o=["block","list","listItem","marks","types"],s=["listItem"],u=["_key"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){var r,a;r=t,a=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function p(e,t,n){let r=t[n],a=e[n];return"function"==typeof r||r&&"function"==typeof a?r:r?c(c({},a),r):a}let d={textDecoration:"underline"},h=(e,t)=>"[@portabletext/react] Unknown ".concat(e,", specify a component for it in the `components.").concat(t,"` prop"),m=e=>h('block type "'.concat(e,'"'),"types"),g=e=>h('mark type "'.concat(e,'"'),"marks"),v=e=>h('block style "'.concat(e,'"'),"block"),y=e=>h('list style "'.concat(e,'"'),"list"),b=e=>h('list item style "'.concat(e,'"'),"listItem");function E(e){console.warn(e)}let w={display:"none"},A={types:{},block:{normal:e=>{let{children:t}=e;return(0,a.jsx)("p",{children:t})},blockquote:e=>{let{children:t}=e;return(0,a.jsx)("blockquote",{children:t})},h1:e=>{let{children:t}=e;return(0,a.jsx)("h1",{children:t})},h2:e=>{let{children:t}=e;return(0,a.jsx)("h2",{children:t})},h3:e=>{let{children:t}=e;return(0,a.jsx)("h3",{children:t})},h4:e=>{let{children:t}=e;return(0,a.jsx)("h4",{children:t})},h5:e=>{let{children:t}=e;return(0,a.jsx)("h5",{children:t})},h6:e=>{let{children:t}=e;return(0,a.jsx)("h6",{children:t})}},marks:{em:e=>{let{children:t}=e;return(0,a.jsx)("em",{children:t})},strong:e=>{let{children:t}=e;return(0,a.jsx)("strong",{children:t})},code:e=>{let{children:t}=e;return(0,a.jsx)("code",{children:t})},underline:e=>{let{children:t}=e;return(0,a.jsx)("span",{style:d,children:t})},"strike-through":e=>{let{children:t}=e;return(0,a.jsx)("del",{children:t})},link:e=>{let{children:t,value:n}=e;return(0,a.jsx)("a",{href:null==n?void 0:n.href,children:t})}},list:{number:e=>{let{children:t}=e;return(0,a.jsx)("ol",{children:t})},bullet:e=>{let{children:t}=e;return(0,a.jsx)("ul",{children:t})}},listItem:e=>{let{children:t}=e;return(0,a.jsx)("li",{children:t})},hardBreak:()=>(0,a.jsx)("br",{}),unknownType:e=>{let{value:t,isInline:n}=e,r=m(t._type);return n?(0,a.jsx)("span",{style:w,children:r}):(0,a.jsx)("div",{style:w,children:r})},unknownMark:e=>{let{markType:t,children:n}=e;return(0,a.jsx)("span",{className:"unknown__pt__mark__".concat(t),children:n})},unknownList:e=>{let{children:t}=e;return(0,a.jsx)("ul",{children:t})},unknownListItem:e=>{let{children:t}=e;return(0,a.jsx)("li",{children:t})},unknownBlockStyle:e=>{let{children:t}=e;return(0,a.jsx)("p",{children:t})}};function S(e){let{value:t,components:n,listNestingMode:s,onMissingComponent:u=E}=e,l=u||T,d=Array.isArray(t)?t:[t],h=(0,r.zL)(d,s||r.RR),m=(0,i.useMemo)(()=>n?function(e,t){let{block:n,list:r,listItem:a,marks:i,types:s}=t,u=f(t,o);return c(c({},e),{},{block:p(e,t,"block"),list:p(e,t,"list"),listItem:p(e,t,"listItem"),marks:p(e,t,"marks"),types:p(e,t,"types")},u)}(A,n):A,[n]),g=(0,i.useMemo)(()=>O(m,l),[m,l]),v=h.map((e,t)=>g({node:e,index:t,isInline:!1,renderNode:g}));return(0,a.jsx)(a.Fragment,{children:v})}let O=(e,t)=>function n(i){let{node:o,index:l,isInline:p}=i,d=o._key||"node-".concat(l);return(0,r.qS)(o)?function(r,i,o){let s=r.children.map((e,t)=>n({node:e._key?e:c(c({},e),{},{_key:"li-".concat(i,"-").concat(t)}),index:t,isInline:!1,renderNode:n})),u=e.list,l=("function"==typeof u?u:u[r.listItem])||e.unknownList;if(l===e.unknownList){let e=r.listItem||"bullet";t(y(e),{nodeType:"listStyle",type:e})}return(0,a.jsx)(l,{value:r,index:i,isInline:!1,renderNode:n,children:s},o)}(o,l,d):(0,r.Ii)(o)?function(r,i,o){let u=R({node:r,index:i,isInline:!1,renderNode:n}),l=e.listItem,c=("function"==typeof l?l:l[r.listItem])||e.unknownListItem;if(c===e.unknownListItem){let e=r.listItem||"bullet";t(b(e),{type:e,nodeType:"listItemStyle"})}let p=u.children;if(r.style&&"normal"!==r.style){let{listItem:e}=r;p=n({node:f(r,s),index:i,isInline:!1,renderNode:n})}return(0,a.jsx)(c,{value:r,index:i,isInline:!1,renderNode:n,children:p},o)}(o,l,d):(0,r.tX)(o)?function(i,o,s){let{markDef:u,markType:l,markKey:c}=i,f=e.marks[l]||e.unknownMark,p=i.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return f===e.unknownMark&&t(g(l),{nodeType:"mark",type:l}),(0,a.jsx)(f,{text:(0,r.pY)(i),value:u,markType:l,markKey:c,renderNode:n,children:p},s)}(o,0,d):o._type in e.types?function(t,r,i,o){let s=e.types[t._type];return s?(0,a.jsx)(s,c({},{value:t,isInline:o,index:r,renderNode:n}),i):null}(o,l,d,p):(0,r.HW)(o)?function(r,i,o,s){let l=R({node:r,index:i,isInline:s,renderNode:n}),{_key:p}=l,d=f(l,u),h=d.node.style||"normal",m=("function"==typeof e.block?e.block:e.block[h])||e.unknownBlockStyle;return m===e.unknownBlockStyle&&t(v(h),{nodeType:"blockStyle",type:h}),(0,a.jsx)(m,c(c({},d),{},{value:d.node,renderNode:n}),o)}(o,l,d,p):(0,r.m9)(o)?function(t,n){if("\n"===t.text){let t=e.hardBreak;return t?(0,a.jsx)(t,{},n):"\n"}return t.text}(o,d):function(r,i,o,s){t(m(r._type),{nodeType:"block",type:r._type});let u=e.unknownType;return(0,a.jsx)(u,c({},{value:r,isInline:s,index:i,renderNode:n}),o)}(o,l,d,p)};function R(e){let{node:t,index:n,isInline:a,renderNode:i}=e,o=(0,r.Ic)(t).map((e,t)=>i({node:e,isInline:!0,index:t,renderNode:i}));return{_key:t._key||"block-".concat(n),children:o,index:n,isInline:a,node:t}}function T(){}},7665:function(e){var t;t=()=>(()=>{"use strict";var e,t,n,r,a,i,o,s,u,l,c,f,p,d,h,m,g,v,y,b,E,w,A,S,O,R,T,x,k,I,C,P=[,(e,t,n)=>{var r;n.r(t),n.d(t,{default:()=>a});let a=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(e={}){function t(){function e(e){let i=r;
1n=t=0,r=new Map,i.forEach(t=>{try{t(e)}catch(e){console.error(e)}}),this.fb(),a&&a.Db()}let t=0,n=0,r=new Map,a=null,i=null;this.requestAnimationFrame=function(a){t||(t=requestAnimationFrame(e.bind(this)));let i=++n;return r.set(i,a),i},this.cancelAnimationFrame=function(e){r.delete(e),t&&0==r.size&&(cancelAnimationFrame(t),t=0)},this.Bb=function(e){i&&(document.body.remove(i),i=null),e||((i=document.createElement("div")).style.backgroundColor="black",i.style.position="fixed",i.style.right=0,i.style.top=0,i.style.color="white",i.style.padding="4px",i.innerHTML="RIVE FPS",e=function(e){i.innerHTML="RIVE FPS "+e.toFixed(1)},document.body.appendChild(i)),a=new function(){let t=0,n=0;this.Db=function(){var r=performance.now();n?(++t,1e3<(r-=n)&&(e(1e3*t/r),t=n=0)):(n=r,t=0)}}},this.yb=function(){i&&(document.body.remove(i),i=null),a=null},this.fb=function(){}}function n(e){console.assert(!0);let t=new Map,n=-1/0;this.push=function(r){return r=r+((1<<e)-1)>>e,t.has(r)&&clearTimeout(t.get(r)),t.set(r,setTimeout(function(){t.delete(r),0==t.length?n=-1/0:r==n&&console.assert((n=Math.max(...t.keys()))<r)},1e3)),(n=Math.max(r,n))<<e}}e.ready=new Promise((e,t)=>{l=e,c=t});let a="createConicGradient createImageData createLinearGradient createPattern createRadialGradient getContextAttributes getImageData getLineDash getTransform isContextLost isPointInPath isPointInStroke measureText".split(" "),i=new function(){function e(){if(!t){var e=document.createElement("canvas"),n={alpha:1,depth:0,stencil:0,antialias:0,premultipliedAlpha:1,preserveDrawingBuffer:0,preferLowPowerToHighPerformance:0,failIfMajorPerformanceCaveat:0,enableExtensionsByDefault:1,explicitSwapControl:1,renderViaOffscreenBackBuffer:1};let u=e.getContext("webgl2",n);if(u)r=2;else{if(!(u=e.getContext("webgl",n)))return console.log("No WebGL support. Image mesh will not be drawn."),!1;r=1}function s(e,t,n){if(t=u.createShader(t),u.shaderSource(t,n),u.compileShader(t),0<(n=u.getShaderInfoLog(t)).length)throw n;u.attachShader(e,t)}if(a=Math.min(u.getParameter(u.MAX_RENDERBUFFER_SIZE),u.getParameter(u.MAX_TEXTURE_SIZE)),s(e=u.createProgram(),u.VERTEX_SHADER,"attribute vec2 vertex;\n                attribute vec2 uv;\n                uniform vec4 mat;\n                uniform vec2 translate;\n                varying vec2 st;\n                void main() {\n                    st = uv;\n                    gl_Position = vec4(mat2(mat) * vertex + translate, 0, 1);\n                }"),s(e,u.FRAGMENT_SHADER,"precision highp float;\n                uniform sampler2D image;\n                varying vec2 st;\n                void main() {\n                    gl_FragColor = texture2D(image, st);\n                }"),u.bindAttribLocation(e,0,"vertex"),u.bindAttribLocation(e,1,"uv"),u.linkProgram(e),0<(n=u.getProgramInfoLog(e)).trim().length)throw n;i=u.getUniformLocation(e,"mat"),o=u.getUniformLocation(e,"translate"),u.useProgram(e),u.bindBuffer(u.ARRAY_BUFFER,u.createBuffer()),u.enableVertexAttribArray(0),u.enableVertexAttribArray(1),u.bindBuffer(u.ELEMENT_ARRAY_BUFFER,u.createBuffer()),u.uniform1i(u.getUniformLocation(e,"image"),0),u.pixelStorei(u.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),t=u}return!0}let t=null,r=0,a=0,i=null,o=null,s=0,u=0;this.Mb=function(){return e(),a},this.vb=function(n){if(!e())return null;let a=t.createTexture();return t.bindTexture(t.TEXTURE_2D,a),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,n),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),2==r?(t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR_MIPMAP_LINEAR),t.generateMipmap(t.TEXTURE_2D)):t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),a};let l=new n(8),c=new n(8),f=new n(10),p=new n(10);this.Ab=function(n,r,a,d,h){if(e()){var m=l.push(n),g=c.push(r);for(var v of((t.canvas.width!=m||t.canvas.height!=g)&&(t.canvas.width=m,t.canvas.height=g),t.viewport(0,g-r,n,r),t.disable(t.SCISSOR_TEST),t.clearColor(0,0,0,0),t.clear(t.COLOR_BUFFER_BIT),t.enable(t.SCISSOR_TEST),a.sort((e,t)=>
1t.jb-e.jb),m=f.push(d),s!=m&&(t.bufferData(t.ARRAY_BUFFER,8*m,t.DYNAMIC_DRAW),s=m),m=0,a))t.bufferSubData(t.ARRAY_BUFFER,m,v.Ra),m+=4*v.Ra.length;for(var y of(console.assert(m==4*d),a))t.bufferSubData(t.ARRAY_BUFFER,m,y.mb),m+=4*y.mb.length;for(var b of(console.assert(m==8*d),m=p.push(h),u!=m&&(t.bufferData(t.ELEMENT_ARRAY_BUFFER,2*m,t.DYNAMIC_DRAW),u=m),v=0,a))t.bufferSubData(t.ELEMENT_ARRAY_BUFFER,v,b.indices),v+=2*b.indices.length;for(let e of(console.assert(v==2*h),b=0,y=!0,m=v=0,a)){e.image.Ma!=b&&(t.bindTexture(t.TEXTURE_2D,e.image.rb||null),b=e.image.Ma),e.Pb?(t.scissor(e.Va,g-e.Wa-e.cb,e.$b,e.cb),y=!0):y&&(t.scissor(0,g-r,n,r),y=!1),a=2/n;let s=-2/r;t.uniform4f(i,e.xa[0]*a*e.Ga,e.xa[1]*s*e.Ha,e.xa[2]*a*e.Ga,e.xa[3]*s*e.Ha),t.uniform2f(o,e.xa[4]*a*e.Ga+a*(e.Va-e.Nb*e.Ga)-1,e.xa[5]*s*e.Ha+s*(e.Wa-e.Ob*e.Ha)+1),t.vertexAttribPointer(0,2,t.FLOAT,!1,0,m),t.vertexAttribPointer(1,2,t.FLOAT,!1,0,m+4*d),t.drawElements(t.TRIANGLES,e.indices.length,t.UNSIGNED_SHORT,v),m+=4*e.Ra.length,v+=2*e.indices.length}console.assert(m==4*d),console.assert(v==2*h)}},this.canvas=function(){return e()&&t.canvas}},o=e.onRuntimeInitialized;e.onRuntimeInitialized=function(){function n(e){switch(e){case h.srcOver:return"source-over";case h.screen:return"screen";case h.overlay:return"overlay";case h.darken:return"darken";case h.lighten:return"lighten";case h.colorDodge:return"color-dodge";case h.colorBurn:return"color-burn";case h.hardLight:return"hard-light";case h.softLight:return"soft-light";case h.difference:return"difference";case h.exclusion:return"exclusion";case h.multiply:return"multiply";case h.hue:return"hue";case h.saturation:return"saturation";case h.color:return"color";case h.luminosity:return"luminosity"}}function r(e){return"rgba("+((16711680&e)>>>16)+","+((65280&e)>>>8)+","+((255&e)>>>0)+","+((4278190080&e)>>>24)/255+")"}function s(){for(let e of(0<O.length&&(i.Ab(S.drawWidth(),S.drawHeight(),O,R,T),O=[],T=R=0,S.reset(512,512)),A)){for(let t of e.ja)t();e.ja=[]}A.clear()}o&&o();var u=e.RenderPaintStyle;let l=e.RenderPath,c=e.RenderPaint,f=e.Renderer,p=e.StrokeCap,d=e.StrokeJoin,h=e.BlendMode,m=u.fill,g=u.stroke,v=e.FillRule.evenOdd,y=1;var b=e.RenderImage.extend("CanvasRenderImage",{__construct:function({Aa:e,Fa:t}={}){this.__parent.__construct.call(this),this.Ma=y,y=y+1&2147483647||1,this.Aa=e,this.Fa=t},decode:function(e){var t=this;t.Fa&&t.Fa(t);var n=new Image;n.src=URL.createObjectURL(new Blob([e],{type:"image/png"})),n.onload=function(){t.ob=n,t.rb=i.vb(n),t.size(n.width,n.height),t.Aa&&t.Aa(t)}}}),E=l.extend("CanvasRenderPath",{__construct:function(){this.__parent.__construct.call(this),this.pa=new Path2D},rewind:function(){this.pa=new Path2D},addPath:function(e,t,n,r,a,i,o){var s=this.pa,u=s.addPath;e=e.pa;let l=new DOMMatrix;l.a=t,l.b=n,l.c=r,l.d=a,l.e=i,l.f=o,u.call(s,e,l)},fillRule:function(e){this.Ta=e},moveTo:function(e,t){this.pa.moveTo(e,t)},lineTo:function(e,t){this.pa.lineTo(e,t)},cubicTo:function(e,t,n,r,a,i){this.pa.bezierCurveTo(e,t,n,r,a,i)},close:function(){this.pa.closePath()}}),w=c.extend("CanvasRenderPaint",{color:function(e){this.Ua=r(e)},thickness:function(e){this.sb=e},join:function(e){switch(e){case d.miter:this.La="miter";break;case d.round:this.La="round";break;case d.bevel:this.La="bevel"}},cap:function(e){switch(e){case p.butt:this.Ka="butt";break;case p.round:this.Ka="round";break;case p.square:this.Ka="square"}},style:function(e){this.qb=e},blendMode:function(e){this.nb=n(e)},clearGradient:function(){this.za=null},linearGradient:function(e,t,n,r){this.za={kb:e,lb:t,Za:n,$a:r,Pa:[]}},radialGradient:function(e,t,n,r){this.za={kb:e,lb:t,Za:n,$a:r,Pa:[],Kb:!0}},addStop:function(e,t){this.za.Pa.push({color:e,stop:t})},completeGradient:function(){},draw:function(e,t,n){let a=this.qb;var i=this.Ua,o=this.za;if(e.globalCompositeOperation=this.nb,null!=o){i=o.kb;var s=o.lb;let t=o.Za;var u=o.$a;let n=o.Pa;o.Kb?(o=t-i,u-=s,i=e.createRadialGradient(i,s,0,i,s,Math.sqrt(o*o+u*u))):i=e.createLinearGradient(i,s,t,u);for(let e=0,t=n.length;e<t;e++)s=n[e],i.addColorStop(s.stop,r(s.color));this.Ua=i,this.za=null}switch(a){case g:e.strokeStyle=i,e.lineWidth=this.sb,e.lineCap=this.Ka,e.lineJoin=this.La,e.stroke(t);break;case m:e.fillStyle=i,e.fill(t,n)}}});let A=new Set,S=null,O=[],R=0,T=0;var x=e.CanvasRenderer=f.extend("Renderer",{__construct:function(e){this.__parent.__construct.call(this),this.oa=[1,0,0,1,0,0],this.ha=e.getContext("2d"),this.Sa=e,this.ja=[]},save:function(){this.oa.push(...this.oa.slice(this.oa.length-6)),this.ja.push(this.ha.save.bind(this.ha))},restore:function(){let e=this.oa.length-6;if(6>
1e)throw"restore() called without matching save().";this.oa.splice(e),this.ja.push(this.ha.restore.bind(this.ha))},transform:function(e,t,n,r,a,i){let o=this.oa,s=o.length-6;o.splice(s,6,o[s]*e+o[s+2]*t,o[s+1]*e+o[s+3]*t,o[s]*n+o[s+2]*r,o[s+1]*n+o[s+3]*r,o[s]*a+o[s+2]*i+o[s+4],o[s+1]*a+o[s+3]*i+o[s+5]),this.ja.push(this.ha.transform.bind(this.ha,e,t,n,r,a,i))},rotate:function(e){let t=Math.sin(e);e=Math.cos(e),this.transform(e,t,-t,e,0,0)},_drawPath:function(e,t){this.ja.push(t.draw.bind(t,this.ha,e.pa,e.Ta===v?"evenodd":"nonzero"))},_drawRiveImage:function(e,t,r){var a=e.ob;if(a){var i=this.ha,o=n(t);this.ja.push(function(){i.globalCompositeOperation=o,i.globalAlpha=r,i.drawImage(a,0,0),i.globalAlpha=1})}},_getMatrix:function(e){let t=this.oa,n=t.length-6;for(let r=0;6>r;++r)e[r]=t[n+r]},_drawImageMesh:function(t,r,a,o,u,l,c,f,p,d){var h=this.ha.canvas.width,m=this.ha.canvas.height;let g=p-c,v=d-f;c=Math.max(c,0),f=Math.max(f,0);let y=(p=Math.min(p,h))-c,b=(d=Math.min(d,m))-f;if(console.assert(y<=Math.min(g,h)),console.assert(b<=Math.min(v,m)),!(0>=y||0>=b)){p=y<g||b<v,h=d=1;var E=Math.ceil(y*d),w=Math.ceil(b*h);m=i.Mb(),E>m&&(d*=m/E,E=m),w>m&&(h*=m/w,w=m),S||(S=new e.DynamicRectanizer(m)).reset(512,512),0>(m=S.addRect(E,w))&&(s(),A.add(this),console.assert(0<=(m=S.addRect(E,w))));var x=65535&m,k=m>>16;O.push({xa:this.oa.slice(this.oa.length-6),image:t,Va:x,Wa:k,Nb:c,Ob:f,$b:E,cb:w,Ga:d,Ha:h,Ra:new Float32Array(o),mb:new Float32Array(u),indices:new Uint16Array(l),Pb:p,jb:t.Ma<<1|(p?1:0)}),R+=o.length,T+=l.length;var I=this.ha,C=n(r);this.ja.push(function(){I.save(),I.resetTransform(),I.globalCompositeOperation=C,I.globalAlpha=a,I.drawImage(i.canvas(),x,k,E,w,c,f,y,b),I.restore()})}},_clipPath:function(e){this.ja.push(this.ha.clip.bind(this.ha,e.pa,e.Ta===v?"evenodd":"nonzero"))},clear:function(){A.add(this),this.ja.push(this.ha.clearRect.bind(this.ha,0,0,this.Sa.width,this.Sa.height))},flush:function(){},translate:function(e,t){this.transform(1,0,0,1,e,t)}});e.makeRenderer=function(e){let t=new x(e),n=t.ha;return new Proxy(t,{get(e,r){if("function"==typeof e[r])return function(...t){return e[r].apply(e,t)};if("function"==typeof n[r]){if(-1<a.indexOf(r))throw Error("RiveException: Method call to '"+r+"()' is not allowed, as the renderer cannot immediately pass through the return                 values of any canvas 2d context methods.");return function(...e){t.ja.push(n[r].bind(n,...e))}}return e[r]},set(e,t,r){if(t in n)return n[t]=r,!0}})},e.decodeImage=function(e,t){new b({Aa:t}).decode(e)},e.renderFactory={makeRenderPaint:function(){return new w},makeRenderPath:function(){return new E},makeRenderImage:function(){let e=I;return new b({Fa:()=>{e.total++},Aa:()=>{if(e.loaded++,e.loaded===e.total){let t=e.ready;t&&(t(),e.ready=null)}}})}};let k=e.load,I=null;e.load=function(t,n,r=!0){let a=new e.FallbackFileAssetLoader;return void 0!==n&&a.addLoader(n),r&&(n=new e.CDNFileAssetLoader,a.addLoader(n)),new Promise(function(e){let n=null;I={total:0,loaded:0,ready:function(){e(n)}},n=k(t,a),0==I.total&&e(n)})},u=new t,e.requestAnimationFrame=u.requestAnimationFrame.bind(u),e.cancelAnimationFrame=u.cancelAnimationFrame.bind(u),e.enableFPSCounter=u.Bb.bind(u),e.disableFPSCounter=u.yb,u.fb=s,e.cleanup=function(){S&&S.delete()}};let s=e.onRuntimeInitialized;e.onRuntimeInitialized=function(){s&&s();let t=e.decodeFont;
1e.decodeFont=function(e,n){n(e=t(e))};let n=e.FileAssetLoader;e.ptrToAsset=t=>{let n=e.ptrToFileAsset(t);return n.isImage?e.ptrToImageAsset(t):n.isFont?e.ptrToFontAsset(t):n},e.CustomFileAssetLoader=n.extend("CustomFileAssetLoader",{__construct:function({loadContents:e}){this.__parent.__construct.call(this),this.pb=e},loadContents:function(t,n){return t=e.ptrToAsset(t),this.pb(t,n)}}),e.CDNFileAssetLoader=n.extend("CDNFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this)},loadContents:function(t){var n,r,a;let i=e.ptrToAsset(t);return""!==(t=i.cdnUuid)&&(n=i.cdnBaseUrl+"/"+t,r=e=>{i.decode(new Uint8Array(e.response))},(a=new XMLHttpRequest).responseType="arraybuffer",a.onreadystatechange=function(){4==a.readyState&&200==a.status&&r(a)},a.open("GET",n,!0),a.send(null),!0)}}),e.FallbackFileAssetLoader=n.extend("FallbackFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this),this.eb=[]},addLoader:function(e){this.eb.push(e)},loadContents:function(e,t){for(let n of this.eb)if(n.loadContents(e,t))return!0;return!1}})};var u,l,c,f,p,d=Object.assign({},e),h="./this.program",m="object"==typeof window,g="function"==typeof importScripts,v="";(m||g)&&(g?v=self.location.href:"undefined"!=typeof document&&document.currentScript&&(v=document.currentScript.src),r&&(v=r),v=0!==v.indexOf("blob:")?v.substr(0,v.replace(/[?#].*/,"").lastIndexOf("/")+1):"",g&&(p=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=(e,t,n)=>{var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)});var y=e.print||console.log.bind(console),b=e.printErr||console.error.bind(console);Object.assign(e,d),d=null,e.thisProgram&&(h=e.thisProgram),e.wasmBinary&&(E=e.wasmBinary),e.noExitRuntime,"object"!=typeof WebAssembly&&U("no native wasm support detected");var E,w,A,S,O,R,T,x,k,I,C,P=!1;function L(){var t=w.buffer;e.HEAP8=S=new Int8Array(t),e.HEAP16=R=new Int16Array(t),e.HEAP32=x=new Int32Array(t),e.HEAPU8=O=new Uint8Array(t),e.HEAPU16=T=new Uint16Array(t),e.HEAPU32=k=new Uint32Array(t),e.HEAPF32=I=new Float32Array(t),e.HEAPF64=C=new Float64Array(t)}var $,N=[],F=[],M=[],_=0,D=null,j=null;function U(t){throw e.onAbort&&e.onAbort(t),b(t="Aborted("+t+")"),P=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),c(t),t}function B(e){return e.startsWith("data:application/octet-stream;base64,")}if(!B(e9="canvas_advanced.wasm")){var H=e9;e9=e.locateFile?e.locateFile(H,v):v+H}function W(e){if(e==e9&&E)return new Uint8Array(E);if(p)return p(e);throw"both async and sync fetching of the wasm failed"}function z(e,t,n){return(function(e){if(!E&&(m||g)){if("function"==typeof fetch&&!e.startsWith("file://"))return fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()}).catch(()=>W(e));if(f)return new Promise((t,n)=>{f(e,e=>t(new Uint8Array(e)),n)})}return Promise.resolve().then(()=>W(e))})(e).then(e=>WebAssembly.instantiate(e,t)).then(e=>e).then(n,e=>{b("failed to asynchronously prepare wasm: "+e),U(e)})}var Y=t=>{for(;0<t.length;)t.shift()(e)};function G(e){if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=t&&57>=t?`_${e}`:e}function X(e,t){return({[e=G(e)]:function(){return t.apply(this,arguments)}})[e]}function q(){this.qa=[void 0],this.bb=[]}var V=new q,K=void 0;function Z(e){throw new K(e)}var J=e=>(e||Z("Cannot use deleted val. handle = "+e),V.get(e).value),Q=e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return V.tb({ib:1,value:e})}};function ee(e){var t=Error,n=X(e,function(t){this.name=e,this.message=t,void 0!==(t=Error(t).stack)&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},n}var et=void 0,en=void 0;function er(e){for(var t="";O[e];)t+=en[O[e++]];return t}var ea=[];function ei(){for(;ea.length;){var e=ea.pop();e.ba.wa=!1,e.delete()}}var eo=void 0,es={};function eu(e,t){for(void 0===t&&Z("ptr should not be undefined");e.fa;)t=e.Ba(t),e=e.fa;return t}var el={};function ec(e){var t=er(e=td(e));return tf(e),t}function ef(e,t){var n=el[e];
1return void 0===n&&Z(t+" has unknown type "+ec(e)),n}function ep(){}var ed=!1;function eh(e){--e.count.value,0===e.count.value&&(e.ia?e.la.ra(e.ia):e.ea.ca.ra(e.da))}var em={},eg=void 0;function ev(e){throw new eg(e)}function ey(e,t){return t.ea&&t.da||ev("makeClassHandle requires ptr and ptrType"),!!t.la!=!!t.ia&&ev("Both smartPtrType and smartPtr must be specified"),t.count={value:1},eb(Object.create(e,{ba:{value:t}}))}function eb(e){return"undefined"==typeof FinalizationRegistry?(eb=e=>e,e):(ed=new FinalizationRegistry(e=>{eh(e.ba)}),eb=e=>{var t=e.ba;return t.ia&&ed.register(e,{ba:t},e),e},ep=e=>{ed.unregister(e)},eb(e))}var eE={};function ew(e){for(;e.length;){var t=e.pop();e.pop()(t)}}function eA(e){return this.fromWireType(x[e>>2])}var eS={},eO={};function eR(e,t,n){function r(t){(t=n(t)).length!==e.length&&ev("Mismatched type converter count");for(var r=0;r<e.length;++r)ex(e[r],t[r])}e.forEach(function(e){eO[e]=t});var a=Array(t.length),i=[],o=0;t.forEach((e,t)=>{el.hasOwnProperty(e)?a[t]=el[e]:(i.push(e),eS.hasOwnProperty(e)||(eS[e]=[]),eS[e].push(()=>{a[t]=el[e],++o===i.length&&r(a)}))}),0===i.length&&r(a)}function eT(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw TypeError(`Unknown type size: ${e}`)}}function ex(e,t,n={}){if(!("argPackAdvance"in t))throw TypeError("registerType registeredInstance requires argPackAdvance");!function(e,t,n={}){var r=t.name;if(e||Z(`type "${r}" must have a positive integer typeid pointer`),el.hasOwnProperty(e)){if(n.Jb)return;Z(`Cannot register type '${r}' twice`)}el[e]=t,delete eO[e],eS.hasOwnProperty(e)&&(t=eS[e],delete eS[e],t.forEach(e=>e()))}(e,t,n)}function ek(e){Z(e.ba.ea.ca.name+" instance already deleted")}function eI(){}function eC(e,t,n){if(void 0===e[t].ga){var r=e[t];e[t]=function(){return e[t].ga.hasOwnProperty(arguments.length)||Z(`Function '${n}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].ga})!`),e[t].ga[arguments.length].apply(this,arguments)},e[t].ga=[],e[t].ga[r.va]=r}}function eP(t,n,r){e.hasOwnProperty(t)?((void 0===r||void 0!==e[t].ga&&void 0!==e[t].ga[r])&&Z(`Cannot register public name '${t}' twice`),eC(e,t,t),e.hasOwnProperty(r)&&Z(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`),e[t].ga[r]=n):(e[t]=n,void 0!==r&&(e[t].ac=r))}function eL(e,t,n,r,a,i,o,s){this.name=e,this.constructor=t,this.ma=n,this.ra=r,this.fa=a,this.Eb=i,this.Ba=o,this.zb=s,this.gb=[]}function e$(e,t,n){for(;t!==n;)t.Ba||Z(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.Ba(e),t=t.fa;return e}function eN(e,t){return null===t?(this.Na&&Z(`null is not a valid ${this.name}`),0):(t.ba||Z(`Cannot pass "${eX(t)}" as a ${this.name}`),t.ba.da||Z(`Cannot pass deleted object as a pointer of type ${this.name}`),e$(t.ba.da,t.ba.ea.ca,this.ca))}function eF(e,t){if(null===t){if(this.Na&&Z(`null is not a valid ${this.name}`),this.Ea){var n=this.Oa();return null!==e&&e.push(this.ra,n),n}return 0}if(t.ba||Z(`Cannot pass "${eX(t)}" as a ${this.name}`),t.ba.da||Z(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.Da&&t.ba.ea.Da&&Z(`Cannot convert argument of type ${t.ba.la?t.ba.la.name:t.ba.ea.name} to parameter type ${this.name}`),n=e$(t.ba.da,t.ba.ea.ca,this.ca),this.Ea)switch(void 0===t.ba.ia&&Z("Passing raw pointer to smart pointer is illegal"),this.Vb){case 0:t.ba.la===this?n=t.ba.ia:Z(`Cannot convert argument of type ${t.ba.la?t.ba.la.name:t.ba.ea.name} to parameter type ${this.name}`);break;case 1:n=t.ba.ia;break;case 2:if(t.ba.la===this)n=t.ba.ia;else{var r=t.clone();n=this.Rb(n,Q(function(){r.delete()})),null!==e&&e.push(this.ra,n)}break;default:Z("Unsupporting sharing policy")}return n}function eM(e,t){return null===t?(this.Na&&Z(`null is not a valid ${this.name}`),0):(t.ba||Z(`Cannot pass "${eX(t)}" as a ${this.name}`),t.ba.da||Z(`Cannot pass deleted object as a pointer of type ${this.name}`),t.ba.ea.Da&&Z(`Cannot convert argument of type ${t.ba.ea.name} to parameter type ${this.name}`),e$(t.ba.da,t.ba.ea.ca,this.ca))}function e_(e,t,n,r){this.name=e,this.ca=t,this.Na=n,this.Da=r,this.Ea=!1,this.ra=this.Rb=this.Oa=this.hb=this.Vb=this.Qb=void 0,void 0!==t.fa?this.toWireType=eF:(this.toWireType=r?eN:eM,this.ka=null)}function eD(t,n,r){e.hasOwnProperty(t)||ev("Replacing nonexistant public symbol"),void 0!==e[t].ga&&void 0!==r?e[t].ga[r]=n:(e[t]=n,e[t].va=r)}var ej=(t,n)=>{var r=[];return function(){if(r.length=0,Object.assign(r,arguments),t.includes("j")){var a=e["dynCall_"+t];a=r&&r.length?a.apply(null,[n].concat(r)):a.call(null,n)}else a=$.get(n).apply(null,r);return a}};function eU(e,t){var n=(e=er(e)).includes("j")?ej(e,t):$.get(t);return"function"!=typeof n&&Z(`unknown function pointer with signature ${e}: ${t}`),n}var eB=void 0;function eH(e,t){var n=[],r={};throw t.forEach(function e(t){r[t]||el[t]||(eO[t]?eO[t].forEach(e):(n.push(t),r[t]=!0))}),new eB(`${e}: `+n.map(ec).join([", "]))}function eW(e,t,n,r,a){var i=t.length;2>i&&Z("argTypes array size mismatch! Must at least get return value and 'this' types!");var o=null!==t[1]&&null!==n,s=!1;for(n=1;n<t.length;
1++n)if(null!==t[n]&&void 0===t[n].ka){s=!0;break}var u="void"!==t[0].name,l=i-2,c=Array(l),f=[],p=[];return function(){if(arguments.length!==l&&Z(`function ${e} called with ${arguments.length} arguments, expected ${l} args!`),p.length=0,f.length=o?2:1,f[0]=a,o){var n=t[1].toWireType(p,this);f[1]=n}for(var i=0;i<l;++i)c[i]=t[i+2].toWireType(p,arguments[i]),f.push(c[i]);if(i=r.apply(null,f),s)ew(p);else for(var d=o?1:2;d<t.length;d++){var h=1===d?n:c[d-2];null!==t[d].ka&&t[d].ka(h)}return u?t[0].fromWireType(i):void 0}}function ez(e,t){for(var n=[],r=0;r<e;r++)n.push(k[t+4*r>>2]);return n}function eY(e,t,n){return e instanceof Object||Z(`${n} with invalid "this": ${e}`),e instanceof t.ca.constructor||Z(`${n} incompatible with "this" of type ${e.constructor.name}`),e.ba.da||Z(`cannot call emscripten binding method ${n} on deleted object`),e$(e.ba.da,e.ba.ea.ca,t.ca)}function eG(e){e>=V.Xa&&0==--V.get(e).ib&&V.wb(e)}function eX(e){if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e}var eq=(e,t,n,r)=>{if(0<r){r=n+r-1;for(var a=0;a<e.length;++a){var i=e.charCodeAt(a);if(55296<=i&&57343>=i&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++a)),127>=i){if(n>=r)break;t[n++]=i}else{if(2047>=i){if(n+1>=r)break;t[n++]=192|i>>6}else{if(65535>=i){if(n+2>=r)break;t[n++]=224|i>>12}else{if(n+3>=r)break;t[n++]=240|i>>18,t[n++]=128|i>>12&63}t[n++]=128|i>>6&63}t[n++]=128|63&i}}t[n]=0}},eV=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);127>=r?t++:2047>=r?t+=2:55296<=r&&57343>=r?(t+=4,++n):t+=3}return t},eK="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,eZ=(e,t,n)=>{var r=t+n;for(n=t;e[n]&&!(n>=r);)++n;if(16<n-t&&e.buffer&&eK)return eK.decode(e.subarray(t,n));for(r="";t<n;){var a=e[t++];if(128&a){var i=63&e[t++];if(192==(224&a))r+=String.fromCharCode((31&a)<<6|i);else{var o=63&e[t++];65536>(a=224==(240&a)?(15&a)<<12|i<<6|o:(7&a)<<18|i<<12|o<<6|63&e[t++])?r+=String.fromCharCode(a):(a-=65536,r+=String.fromCharCode(55296|a>>10,56320|1023&a))}}else r+=String.fromCharCode(a)}return r},eJ="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,eQ=(e,t)=>{for(var n=e>>1,r=n+t/2;!(n>=r)&&T[n];)++n;if(32<(n<<=1)-e&&eJ)return eJ.decode(O.subarray(e,n));for(r=0,n="";!(r>=t/2);++r){var a=R[e+2*r>>1];if(0==a)break;n+=String.fromCharCode(a)}return n},e0=(e,t,n)=>{if(void 0===n&&(n=2147483647),2>n)return 0;n-=2;var r=t;n=n<2*e.length?n/2:e.length;for(var a=0;a<n;++a)R[t>>1]=e.charCodeAt(a),t+=2;return R[t>>1]=0,t-r},e1=e=>2*e.length,e2=(e,t)=>{for(var n=0,r="";!(n>=t/4);){var a=x[e+4*n>>2];if(0==a)break;++n,65536<=a?(a-=65536,r+=String.fromCharCode(55296|a>>10,56320|1023&a)):r+=String.fromCharCode(a)}return r},e4=(e,t,n)=>{if(void 0===n&&(n=2147483647),4>n)return 0;var r=t;n=r+n-4;for(var a=0;a<e.length;++a){var i=e.charCodeAt(a);if(55296<=i&&57343>=i&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++a)),x[t>>2]=i,(t+=4)+4>n)break}return x[t>>2]=0,t-r},e3=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);55296<=r&&57343>=r&&++n,t+=4}return t},e6={};function e5(e){var t=e6[e];return void 0===t?er(e):t}var e9,e7,e8=[],te=[],tt={},tn=()=>{if(!e7){var e,t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:h||"./this.program"};for(e in tt)void 0===tt[e]?delete t[e]:t[e]=tt[e];var n=[];for(e in t)n.push(`${e}=${t[e]}`);e7=n}return e7},tr=[null,[],[]],ta=e=>0==e%4&&(0!=e%100||0==e%400),ti=[31,29,31,30,31,30,31,31,30,31,30,31],to=[31,28,31,30,31,30,31,31,30,31,30,31],ts=(e,t,n,r)=>{function a(e,t,n){for(e="number"==typeof e?e.toString():e||"";e.length<t;)e=n[0]+e;return e}function i(e,t){return a(e,t,"0")}function o(e,t){var n;function r(e){return 0>e?-1:0<e?1:0}return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function s(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function u(e){var t=e.ta;for(e=new Date(new Date(e.ua+1900,0,1).getTime());0<t;){var n=e.getMonth(),r=(ta(e.getFullYear())?ti:to)[n];if(t>r-e.getDate())t-=r-e.getDate()+1,e.setDate(1),11>n?e.setMonth(n+1):(e.setMonth(0),e.setFullYear(e.getFullYear()+1));else{e.setDate(e.getDate()+t);break}}return n=new Date(e.getFullYear()+1,0,4),t=s(new Date(e.getFullYear(),0,4)),n=s(n),0>=o(t,e)?0>=o(n,e)?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var l,c,f=x[r+40>>2];for(var p in r={Yb:x[r>>2],Xb:x[r+4>>2],Ia:x[r+8>>2],Qa:x[r+12>>2],Ja:x[r+16>>2],ua:x[r+20>>2],na:x[r+24>>2],ta:x[r+28>>2],bc:x[r+32>>2],Wb:x[r+36>>2],Zb:f&&f?eZ(O,f):""},n=n?eZ(O,n):"",f={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})n=n.replace(RegExp(p,"g"),f[p]);var d="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),h="January February March April May June July August September October November December".split(" ");for(p in f={"%a":e=>d[e.na].substring(0,3),"%A":e=>d[e.na],"%b":e=>h[e.Ja].substring(0,3),"%B":e=>h[e.Ja],"%C":e=>i((e.ua+1900)/100|0,2),"%d":e=>i(e.Qa,2),"%e":e=>a(e.Qa,2," "),"%g":e=>u(e).toString().substring(2),"%G":e=>u(e),"%H":e=>i(e.Ia,2),"%I":e=>(0==(e=e.Ia)?e=12:12<e&&(e-=12),i(e,2)),"%j":e=>{for(var t=0,n=0;n<=e.Ja-1;t+=(ta(e.ua+1900)?ti:to)[n++]);return i(e.Qa+t,3)},"%m":e=>i(e.Ja+1,2),"%M":e=>i(e.Xb,2),"%n":()=>"\n","%p":e=>0<=e.Ia&&12>e.Ia?"AM":"PM","%S":e=>i(e.Yb,2),"%t":()=>"	","%u":e=>
1e.na||7,"%U":e=>i(Math.floor((e.ta+7-e.na)/7),2),"%V":e=>{var t=Math.floor((e.ta+7-(e.na+6)%7)/7);if(2>=(e.na+371-e.ta-2)%7&&t++,t)53==t&&(4==(n=(e.na+371-e.ta)%7)||3==n&&ta(e.ua)||(t=1));else{t=52;var n=(e.na+7-e.ta-1)%7;(4==n||5==n&&ta(e.ua%400-1))&&t++}return i(t,2)},"%w":e=>e.na,"%W":e=>i(Math.floor((e.ta+7-(e.na+6)%7)/7),2),"%y":e=>(e.ua+1900).toString().substring(2),"%Y":e=>e.ua+1900,"%z":e=>{var t=0<=(e=e.Wb);return(t?"+":"-")+String("0000"+((e=Math.abs(e)/60)/60*100+e%60)).slice(-4)},"%Z":e=>e.Zb,"%%":()=>"%"},n=n.replace(/%%/g,"\0\0"),f)n.includes(p)&&(n=n.replace(RegExp(p,"g"),f[p](r)));return(c=Array(eV(l=n=n.replace(/\0\0/g,"%"))+1),eq(l,c,0,c.length),(p=c).length>t)?0:(S.set(p,e),p.length-1)};Object.assign(q.prototype,{get(e){return this.qa[e]},has(e){return void 0!==this.qa[e]},tb(e){var t=this.bb.pop()||this.qa.length;return this.qa[t]=e,t},wb(e){this.qa[e]=void 0,this.bb.push(e)}}),K=e.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},V.qa.push({value:void 0},{value:null},{value:!0},{value:!1}),V.Xa=V.qa.length,e.count_emval_handles=function(){for(var e=0,t=V.Xa;t<V.qa.length;++t)void 0!==V.qa[t]&&++e;return e}
1,et=e.PureVirtualError=ee("PureVirtualError");for(var tu=Array(256),tl=0;256>tl;++tl)tu[tl]=String.fromCharCode(tl);en=tu,e.getInheritedInstanceCount=function(){return Object.keys(es).length},e.getLiveInheritedInstances=function(){var e,t=[];for(e in es)es.hasOwnProperty(e)&&t.push(es[e]);return t},e.flushPendingDeletes=ei,e.setDelayFunction=function(e){eo=e,ea.length&&eo&&eo(ei)},eg=e.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},eI.prototype.isAliasOf=function(e){if(!(this instanceof eI&&e instanceof eI))return!1;var t=this.ba.ea.ca,n=this.ba.da,r=e.ba.ea.ca;for(e=e.ba.da;t.fa;)n=t.Ba(n),t=t.fa;for(;r.fa;)e=r.Ba(e),r=r.fa;return t===r&&n===e},eI.prototype.clone=function(){if(this.ba.da||ek(this),this.ba.ya)return this.ba.count.value+=1,this;var e=eb,t=Object,n=t.create,r=Object.getPrototypeOf(this),a=this.ba;return e=e(n.call(t,r,{ba:{value:{count:a.count,wa:a.wa,ya:a.ya,da:a.da,ea:a.ea,ia:a.ia,la:a.la}}})),e.ba.count.value+=1,e.ba.wa=!1,e},eI.prototype.delete=function(){this.ba.da||ek(this),this.ba.wa&&!this.ba.ya&&Z("Object already scheduled for deletion"),ep(this),eh(this.ba),this.ba.ya||(this.ba.ia=void 0,this.ba.da=void 0)},eI.prototype.isDeleted=function(){return!this.ba.da},eI.prototype.deleteLater=function(){return this.ba.da||ek(this),this.ba.wa&&!this.ba.ya&&Z("Object already scheduled for deletion"),ea.push(this),1===ea.length&&eo&&eo(ei),this.ba.wa=!0,this},e_.prototype.Fb=function(e){return this.hb&&(e=this.hb(e)),e},e_.prototype.Ya=function(e){this.ra&&this.ra(e)},e_.prototype.argPackAdvance=8,e_.prototype.readValueFromPointer=eA,e_.prototype.deleteObject=function(e){null!==e&&e.delete()},e_.prototype.fromWireType=function(e){function t(){return this.Ea?ey(this.ca.ma,{ea:this.Qb,da:n,la:this,ia:e}):ey(this.ca.ma,{ea:this,da:e})}var n=this.Fb(e);if(!n)return this.Ya(e),null;var r=es[eu(this.ca,n)];if(void 0!==r)return 0===r.ba.count.value?(r.ba.da=n,r.ba.ia=e,r.clone()):(r=r.clone(),this.Ya(e),r);if(!(r=em[r=this.ca.Eb(n)]))return t.call(this);r=this.Da?r.ub:r.pointerType;var a=function e(t,n,r){return n===r?t:void 0===r.fa?null:null===(t=e(t,n,r.fa))?null:r.zb(t)}(n,this.ca,r.ca);return null===a?t.call(this):this.Ea?ey(r.ca.ma,{ea:r,da:a,la:this,ia:e}):ey(r.ca.ma,{ea:r,da:a})},eB=e.UnboundTypeError=ee("UnboundTypeError");var tc={N:function(e,t,n){e=er(e),t=ef(t,"wrapper"),n=J(n);var r=[].slice,a=t.ca,i=a.ma,o=a.fa.ma,s=a.fa.constructor;for(var u in e=X(e,function(){a.fa.gb.forEach((function(e){if(this[e]===o[e])throw new et(`Pure virtual function ${e} must be implemented in JavaScript`)}).bind(this)),Object.defineProperty(this,"__parent",{value:i}),this.__construct.apply(this,r.call(arguments))}),i.__construct=function(){this===i&&Z("Pass correct 'this' to __construct");var e=s.implement.apply(void 0,[this].concat(r.call(arguments)));ep(e);var t=e.ba;e.notifyOnDestruction(),t.ya=!0,Object.defineProperties(this,{ba:{value:t}}),eb(this),e=eu(a,e=t.da),es.hasOwnProperty(e)?Z(`Tried to register registered instance: ${e}`):es[e]=this},i.__destruct=function(){this===i&&Z("Pass correct 'this' to __destruct"),ep(this);var e=this.ba.da;e=eu(a,e),es.hasOwnProperty(e)?delete es[e]:Z(`Tried to unregister unregistered instance: ${e}`)},e.prototype=Object.create(i),n)e.prototype[u]=n[u];return Q(e)},O:function(e){var t=eE[e];delete eE[e];var n=t.Oa,r=t.ra,a=t.ab;eR([e],a.map(e=>e.Ib).concat(a.map(e=>e.Tb)),e=>{var i={};return a.forEach((t,n)=>{var r=e[n],o=t.Gb,s=t.Hb,u=e[n+a.length],l=t.Sb,c=t.Ub;i[t.Cb]={read:e=>r.fromWireType(o(s,e)),write:(e,t)=>{var n=[];l(c,e,u.toWireType(n,t)),ew(n)}}}),[{name:t.name,fromWireType:function(e){var t,n={};for(t in i)n[t]=i[t].read(e);return r(e),n},toWireType:function(e,t){for(var a in i)if(!(a in t))throw TypeError(`Missing field: "${a}"`);var o=n();for(a in i)i[a].write(o,t[a]);return null!==e&&e.push(r,o),o},argPackAdvance:8,readValueFromPointer:eA,ka:r}]})},C:function(){},K:function(e,t,n,r,a){var i=eT(n);ex(e,{name:t=er(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?r:a},argPackAdvance:8,readValueFromPointer:function(e){if(1===n)var r=S;else if(2===n)r=R;else if(4===n)r=x;else throw TypeError("Unknown boolean type size: "+t);return this.fromWireType(r[e>>i])},ka:null})},f:function(e,t,n,r,a,i,o,s,u,l,c,f,p){c=er(c),i=eU(a,i),s&&(s=eU(o,s)),l&&(l=eU(u,l)),p=eU(f,p);var d=G(c);eP(d,function(){eH(`Cannot construct ${c} due to unbound types`,[r])}),eR([e,t,n],r?[r]:[],function(t){if(t=t[0],r)var n=t.ca,a=n.ma;else a=eI.prototype;var o=Object.create(a,{constructor:{value:t=X(d,function(){if(Object.getPrototypeOf(this)!==o)throw new K("Use 'new' to construct "+c);if(void 0===u.sa)throw new K(c+" has no accessible constructor");var e=u.sa[arguments.length];if(void 0===e)throw new K(`Tried to invoke ctor of ${c}
1 with invalid number of parameters (${arguments.length}) - expected (${Object.keys(u.sa).toString()}) parameters instead!`);return e.apply(this,arguments)})}});t.prototype=o;var u=new eL(c,t,o,p,n,i,s,l);u.fa&&(void 0===u.fa.Ca&&(u.fa.Ca=[]),u.fa.Ca.push(u)),n=new e_(c,u,!0,!1),a=new e_(c+"*",u,!1,!1);var f=new e_(c+" const*",u,!1,!0);return em[e]={pointerType:a,ub:f},eD(d,t),[n,a,f]})},j:function(e,t,n,r,a,i,o){var s=ez(n,r);t=er(t),i=eU(a,i),eR([],[e],function(e){function r(){eH(`Cannot call ${a} due to unbound types`,s)}e=e[0];var a=`${e.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var u=e.ca.constructor;return void 0===u[t]?(r.va=n-1,u[t]=r):(eC(u,t,a),u[t].ga[n-1]=r),eR([],s,function(r){if(r=eW(a,[r[0],null].concat(r.slice(1)),null,i,o),void 0===u[t].ga?(r.va=n-1,u[t]=r):u[t].ga[n-1]=r,e.ca.Ca)for(let n of e.ca.Ca)n.constructor.hasOwnProperty(t)||(n.constructor[t]=r);return[]}),[]})},x:function(e,t,n,r,a,i,o,s){t=er(t),i=eU(a,i),eR([],[e],function(e){e=e[0];var a=`${e.name}.${t}`,u={get(){eH(`Cannot access ${a} due to unbound types`,[n])},enumerable:!0,configurable:!0};return u.set=s?()=>{eH(`Cannot access ${a} due to unbound types`,[n])}:()=>{Z(`${a} is a read-only property`)},Object.defineProperty(e.ca.constructor,t,u),eR([],[n],function(n){n=n[0];var a={get:()=>n.fromWireType(i(r)),enumerable:!0};return s&&(s=eU(o,s),a.set=e=>{var t=[];s(r,n.toWireType(t,e)),ew(t)}),Object.defineProperty(e.ca.constructor,t,a),[]}),[]})},s:function(e,t,n,r,a,i){var o=ez(t,n);a=eU(r,a),eR([],[e],function(e){e=e[0];var n=`constructor ${e.name}`;if(void 0===e.ca.sa&&(e.ca.sa=[]),void 0!==e.ca.sa[t-1])throw new K(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.ca.sa[t-1]=()=>{eH(`Cannot construct ${e.name} due to unbound types`,o)},eR([],o,function(r){return r.splice(1,0,null),e.ca.sa[t-1]=eW(n,r,null,a,i),[]}),[]})},a:function(e,t,n,r,a,i,o,s){var u=ez(n,r);t=er(t),i=eU(a,i),eR([],[e],function(e){function r(){eH(`Cannot call ${a} due to unbound types`,u)}e=e[0];var a=`${e.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.ca.gb.push(t);var l=e.ca.ma,c=l[t];return void 0===c||void 0===c.ga&&c.className!==e.name&&c.va===n-2?(r.va=n-2,r.className=e.name,l[t]=r):(eC(l,t,a),l[t].ga[n-2]=r),eR([],u,function(r){return r=eW(a,r,e,i,o),void 0===l[t].ga?(r.va=n-2,l[t]=r):l[t].ga[n-2]=r,[]}),[]})},e:function(e,t,n,r,a,i,o,s,u,l){t=er(t),a=eU(r,a),eR([],[e],function(e){e=e[0];var r=`${e.name}.${t}`,c={get(){eH(`Cannot access ${r} due to unbound types`,[n,o])},enumerable:!0,configurable:!0};return c.set=u?()=>{eH(`Cannot access ${r} due to unbound types`,[n,o])}:()=>{Z(r+" is a read-only property")},Object.defineProperty(e.ca.ma,t,c),eR([],u?[n,o]:[n],function(n){var o=n[0],c={get(){var t=eY(this,e,r+" getter");return o.fromWireType(a(i,t))},enumerable:!0};if(u){u=eU(s,u);var f=n[1];c.set=function(t){var n=eY(this,e,r+" setter"),a=[];u(l,n,f.toWireType(a,t)),ew(a)}}return Object.defineProperty(e.ca.ma,t,c),[]}),[]})},J:function(e,t){ex(e,{name:t=er(t),fromWireType:function(e){var t=J(e);return eG(e),t},toWireType:function(e,t){return Q(t)},argPackAdvance:8,readValueFromPointer:eA,ka:null})},p:function(e,t,n,r){function a(){}n=eT(n),t=er(t),a.values={},ex(e,{name:t,constructor:a,fromWireType:function(e){return this.constructor.values[e]},toWireType:function(e,t){return t.value},argPackAdvance:8,readValueFromPointer:function(e,t,n){switch(t){case 0:return function(e){return this.fromWireType((n?S:O)[e])};case 1:return function(e){return this.fromWireType((n?R:T)[e>>1])};case 2:return function(e){return this.fromWireType((n?x:k)[e>>2])};default:throw TypeError("Unknown integer type: "+e)}}(t,n,r),ka:null}),eP(t,a)},d:function(e,t,n){var r=ef(e,"enum");t=er(t),e=r.constructor,r=Object.create(r.constructor.prototype,{value:{value:n},constructor:{value:X(`${r.name}_${t}`,function(){})}}),e.values[n]=r,e[t]=r},y:function(e,t,n){n=eT(n),ex(e,{name:t=er(t),fromWireType:function(e){return e},toWireType:function(e,t){return t},argPackAdvance:8,readValueFromPointer:function(e,t){switch(t){case 2:return function(e){return this.fromWireType(I[e>>2])};case 3:return function(e){return this.fromWireType(C[e>>3])};default:throw TypeError("Unknown float type: "+e)}}(t,n),ka:null})},m:function(e,t,n,r,a,i){var o=ez(t,n);e=er(e),a=eU(r,a),eP(e,function(){eH(`Cannot call ${e} due to unbound types`,o)},t-1),eR([],o,function(n){return eD(e,eW(e,[n[0],null].concat(n.slice(1)),null,a,i),t-1),[]})},l:function(e,t,n,r,a){t=er(t),-1===a&&(a=4294967295),a=eT(n);var i=e=>e;if(0===r){var o=32-8*n;i=e=>e<<o>>>o}n=t.includes("unsigned")?function(e,t){return t>>>0}:function(e,t){return t},ex(e,{name:t,fromWireType:i,toWireType:n,argPackAdvance:8,readValueFromPointer:function(e,t,n){switch(t){case 0:return n?function(e){return S[e]}:function(e){return O[e]};case 1:return n?function(e){return R[e>>1]}:function(e){return T[e>>1]};case 2:return n?function(e){return x[e>>
12]}:function(e){return k[e>>2]};default:throw TypeError("Unknown integer type: "+e)}}(t,a,0!==r),ka:null})},g:function(e,t,n){function r(e){e>>=2;var t=k;return new a(t.buffer,t[e+1],t[e])}var a=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];ex(e,{name:n=er(n),fromWireType:r,argPackAdvance:8,readValueFromPointer:r},{Jb:!0})},z:function(e,t){var n="std::string"===(t=er(t));ex(e,{name:t,fromWireType:function(e){var t=k[e>>2],r=e+4;if(n)for(var a=r,i=0;i<=t;++i){var o=r+i;if(i==t||0==O[o]){if(a=a?eZ(O,a,o-a):"",void 0===s)var s=a;else s+="\0"+a;a=o+1}}else{for(i=0,s=Array(t);i<t;++i)s[i]=String.fromCharCode(O[r+i]);s=s.join("")}return tf(e),s},toWireType:function(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var r="string"==typeof t;r||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||Z("Cannot pass non-string to std::string");var a=n&&r?eV(t):t.length,i=tp(4+a+1),o=i+4;if(k[i>>2]=a,n&&r)eq(t,O,o,a+1);else if(r)for(r=0;r<a;++r){var s=t.charCodeAt(r);255<s&&(tf(o),Z("String has UTF-16 code units that do not fit in 8 bits")),O[o+r]=s}else for(r=0;r<a;++r)O[o+r]=t[r];return null!==e&&e.push(tf,i),i},argPackAdvance:8,readValueFromPointer:eA,ka:function(e){tf(e)}})},u:function(e,t,n){if(n=er(n),2===t)var r=eQ,a=e0,i=e1,o=()=>T,s=1;else 4===t&&(r=e2,a=e4,i=e3,o=()=>k,s=2);ex(e,{name:n,fromWireType:function(e){for(var n,a=k[e>>2],i=o(),u=e+4,l=0;l<=a;++l){var c=e+4+l*t;(l==a||0==i[c>>s])&&(u=r(u,c-u),void 0===n?n=u:n+="\0"+u,u=c+t)}return tf(e),n},toWireType:function(e,r){"string"!=typeof r&&Z(`Cannot pass non-string to C++ string type ${n}`);var o=i(r),u=tp(4+o+t);return k[u>>2]=o>>s,a(r,u+4,o+t),null!==e&&e.push(tf,u),u},argPackAdvance:8,readValueFromPointer:eA,ka:function(e){tf(e)}})},Q:function(e,t,n,r,a,i){eE[e]={name:er(t),Oa:eU(n,r),ra:eU(a,i),ab:[]}},P:function(e,t,n,r,a,i,o,s,u,l){eE[e].ab.push({Cb:er(t),Ib:n,Gb:e
1U(r,a),Hb:i,Tb:o,Sb:eU(s,u),Ub:l})},L:function(e,t){ex(e,{Lb:!0,name:t=er(t),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},v:function(e,t,n){e=J(e),t=ef(t,"emval::as");var r=[],a=Q(r);return k[n>>2]=a,t.toWireType(r,e)},w:function(e,t,n,r,a){e=e8[e],t=J(t),n=e5(n);var i=[];return k[r>>2]=Q(i),e(t,n,i,a)},i:function(e,t,n,r){(e=e8[e])(t=J(t),n=e5(n),null,r)},c:eG,h:function(e,t){var n,r,a=function(e,t){for(var n=Array(e),r=0;r<e;++r)n[r]=ef(k[t+4*r>>2],"parameter "+r);return n}(e,t),i=a[0],o=te[t=i.name+"_$"+a.slice(1).map(function(e){return e.name}).join("_")+"$"];if(void 0!==o)return o;var s=Array(e-1);return n=(t,n,r,o)=>{for(var u=0,l=0;l<e-1;++l)s[l]=a[l+1].readValueFromPointer(o+u),u+=a[l+1].argPackAdvance;for(l=0,t=t[n].apply(t,s);l<e-1;++l)a[l+1].xb&&a[l+1].xb(s[l]);if(!i.Lb)return i.toWireType(r,t)},r=e8.length,e8.push(n),o=r,te[t]=o},t:function(t){return Q(e[t=e5(t)])},M:function(e,t){return Q((e=J(e))[t=J(t)])},n:function(e){4<e&&(V.get(e).ib+=1)},o:function(e){return Q(e5(e))},A:function(){return Q({})},q:function(e){ew(J(e)),eG(e)},k:function(e,t,n){e=J(e),t=J(t),n=J(n),e[t]=n},r:function(e,t){return Q(e=(e=ef(e,"_emval_take_value")).readValueFromPointer(t))},b:()=>{U("")},E:e=>{var t=O.length;if(2147483648<(e>>>=0))return!1;for(var n=1;4>=n;n*=2){var r=t*(1+.2/n);r=Math.min(r,e+100663296);var a=Math;r=Math.max(e,r);e:{a=a.min.call(a,2147483648,r+(65536-r%65536)%65536)-w.buffer.byteLength+65535>>>16;try{w.grow(a),L();var i=1;break e}catch(e){}i=void 0}if(i)return!0}return!1},F:(e,t)=>{var n=0;return tn().forEach(function(r,a){var i=t+n;for(a=k[e+4*a>>2]=i,i=0;i<r.length;++i)S[a++>>0]=r.charCodeAt(i);S[a>>0]=0,n+=r.length+1}),0},G:(e,t)=>{var n=tn();k[e>>2]=n.length;var r=0;return n.forEach(function(e){r+=e.length+1}),k[t>>2]=r,0},H:()=>52,B:function(){return 70},I:(e,t,n,r)=>{for(var a=0,i=0;i<n;i++){var o=k[t>>2],s=k[t+4>>2];t+=8;for(var u=0;u<s;u++){var l=O[o+u],c=tr[e];0===l||10===l?((1===e?y:b)(eZ(c,0)),c.length=0):c.push(l)}a+=s}return k[r>>2]=a,0},D:(e,t,n,r)=>ts(e,t,n,r)};!function(){function t(t){if(w=(A=t=t.exports).R,L(),$=A.X,F.unshift(A.S),_--,e.monitorRunDependencies&&e.monitorRunDependencies(_),0==_&&(null!==D&&(clearInterval(D),D=null),j)){var n=j;j=null,n()}return t}var n,r,a={a:tc};if(_++,e.monitorRunDependencies&&e.monitorRunDependencies(_),e.instantiateWasm)try{return e.instantiateWasm(a,t)}catch(e){b("Module.instantiateWasm callback failed with error: "+e),c(e)}(n=function(e){t(e.instance)},r=e9,E||"function"!=typeof WebAssembly.instantiateStreaming||B(r)||r.startsWith("file://")||"function"!=typeof fetch?z(r,a,n):fetch(r,{credentials:"same-origin"}).then(e=>WebAssembly.instantiateStreaming(e,a).then(n,function(e){return b("wasm streaming compile failed: "+e),b("falling back to ArrayBuffer instantiation"),z(r,a,n)}))).catch(c)}();var tf=e=>(tf=A.T)(e),tp=e=>(tp=A.U)(e),td=e=>(td=A.V)(e);function th(){function t(){if(!u&&(u=!0,e.calledRun=!0,!P)){if(Y(F),l(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;){var t=e.postRun.shift();M.unshift(t)}Y(M)}}if(!(0<_)){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)!function(){var t=e.preRun.shift();N.unshift(t)}();Y(N),0<_||(e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},1),t()},1)):t())}}if(e.__embind_initialize_bindings=()=>(e.__embind_initialize_bindings=A.W)(),e.dynCall_jiji=(t,n,r,a,i)=>(e.dynCall_jiji=A.Y)(t,n,r,a,i),e.dynCall_viijii=(t,n,r,a,i,o,s)=>(e.dynCall_viijii=A.Z)(t,n,r,a,i,o,s),e.dynCall_iiiiij=(t,n,r,a,i,o,s)=>(e.dynCall_iiiiij=A._)(t,n,r,a,i,o,s),e.dynCall_iiiiijj=(t,n,r,a,i,o,s,u,l)=>(e.dynCall_iiiiijj=A.$)(t,n,r,a,i,o,s,u,l),e.dynCall_iiiiiijj=(t,n,r,a,i,o,s,u,l,c)=>(e.dynCall_iiiiiijj=A.aa)(t,n,r,a,i,o,s,u,l,c),j=function e(){u||th(),u||(j=e)},e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);0<e.preInit.length;)e.preInit.pop()();return th(),e.ready})},e=>{e.exports=JSON.parse('{"name":"@rive-app/canvas","version":"2.7.3","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <[email protected]> (https://rive.app)","Maxwell Talbot <[email protected]> (https://rive.app)","Arthur Vivian <[email protected]> (https://rive.app)","Umberto Sonnino <[email protected]> (https://rive.app)","Matthew Sullivan <[email protected]> (mailto:[email protected])"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}')},(e,t,n)=>{n.r(t),n.d(t,{BLANK_URL:()=>a.BLANK_URL,registerTouchInteractions:()=>r.registerTouchInteractions,sanitizeUrl:()=>a.sanitizeUrl});var r=n(4),a=n(5)},(e,t,n)=>{n.r(t),n.d(t,{registerTouchInteractions:()=>i});var r=void 0,a=function(e){var t,n;return["touchstart","touchmove"].indexOf(e.type)>-1&&(null===(t=e.touches)||void 0===t?void 0:t.length)?(e.preventDefault(),{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}):"touchend"===e.type&&(null===(n=e.changedTouches)||void 0===n?void 0:n.length)?{clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}},i=function(e){var t=e.canvas,n=e.artboard,i=e.stateMachines,o=void 0===i?[]:i,s=e.renderer,u=e.rive,l=e.fit,c=e.alignment;if(!t||!o.length||!s||!u||!n||"undefined"==typeof window)return null;var f=(function(e){var t=e.currentTarget.getBoundingClientRect(),r=a(e),i=r.clientX,s=r.clientY;if(i||s){var f=i-t.left,p=s-t.top,d=u.computeAlignment(l,c,{minX:0,minY:0,maxX:t.width,maxY:t.height},n.bounds),h=new u.Mat2D;d.invert(h);var m=new u.Vec2D(f,p),g=u.mapXY(h,m),v=g.x(),y=g.y();switch(g.delete(),h.delete(),m.delete(),d.delete(),e.type){case"touchmove":case"mouseover":case"mouseout":case"mousemove":for(var b=0;b<o.length;b++){var E=o[b];E.pointerMove(v,y)}break;case"touchstart":case"mousedown":for(var w=0;w<o.length;w++){var E=o[w];E.pointerDown(v,y)}break;case"touchend":case"mouseup":for(var A=0;A<o.length;A++){var E=o[A];E.pointerUp(v,y)}}}}).bind(r);return t.addEventListener("mouseover",f),t.addEventListener("mouseout",f),t.addEventListener("mousemove",f),t.addEventListener("mousedown",f),t.addEventListener("mouseup",f),t.addEventListener("touchmove",f),t.addEventListener("touchstart",f),t.addEventListener("touchend",f),function(){t.removeEventListener("mouseover",f),t.removeEventListener("mouseout",f),t.removeEventListener("mousemove",f),t.removeEventListener("mousedown",f),t.removeEventListener("mouseup",f),t.removeEventListener("touchmove",f),t.removeEventListener("touchstart",f),t.removeEventListener("touchend",f)}}},(e,t,n)=>{n.r(t),n.d(t,{BLANK_URL:()=>l,sanitizeUrl:()=>c});var r=/^([^\w]*)(javascript|data|vbscript)/im,a=/&#(\w+)(^\w|;
1)?/g,i=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,s=/^.+(:|&colon;)/gim,u=[".","/"],l="about:blank";function c(e){if(!e)return l;var t=e.replace(o,"").replace(a,function(e,t){return String.fromCharCode(t)}).replace(i,"").replace(o,"").trim();if(!t)return l;if(u.indexOf(t[0])>-1)return t;var n=t.match(s);if(!n)return t;var c=n[0];return r.test(c)?l:t}}],L={};function $(e){var t=L[e];if(void 0!==t)return t.exports;var n=L[e]={exports:{}};return P[e](n,n.exports,$),n.exports}$.d=(e,t)=>{for(var n in t)$.o(t,n)&&!$.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},$.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),$.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var N={};return $.r(N),$.d(N,{Alignment:()=>t,EventType:()=>a,Fit:()=>e,Layout:()=>d,LoopType:()=>i,Rive:()=>R,RiveEventType:()=>r,RuntimeLoader:()=>h,StateMachineInput:()=>v,StateMachineInputType:()=>n,Testing:()=>k,decodeFont:()=>C,decodeImage:()=>I}),o=$(1),s=$(2),u=$(3),l=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}u((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},(f=e||(e={})).Cover="cover",f.Contain="contain",f.Fill="fill",f.FitWidth="fitWidth",f.FitHeight="fitHeight",f.None="none",f.ScaleDown="scaleDown",(p=t||(t={})).Center="center",p.TopLeft="topLeft",p.TopCenter="topCenter",p.TopRight="topRight",p.CenterLeft="centerLeft",p.CenterRight="centerRight",p.BottomLeft="bottomLeft",p.BottomCenter="bottomCenter",p.BottomRight="bottomRight",d=function(){function n(n){var r,a,i,o,s,u;this.fit=null!==(r=null==n?void 0:n.fit)&&void 0!==r?r:e.Contain,this.alignment=null!==(a=null==n?void 0:n.alignment)&&void 0!==a?a:t.Center,this.minX=null!==(i=null==n?void 0:n.minX)&&void 0!==i?i:0,this.minY=null!==(o=null==n?void 0:n.minY)&&void 0!==o?o:0,this.maxX=null!==(s=null==n?void 0:n.maxX)&&void 0!==s?s:0,this.maxY=null!==(u=null==n?void 0:n.maxY)&&void 0!==u?u:0}return n.new=function(e){var t=e.fit,r=e.alignment,a=e.minX,i=e.minY,o=e.maxX,s=e.maxY;return console.warn("This function is deprecated: please use `new Layout({})` instead"),new n({fit:t,alignment:r,minX:a,minY:i,maxX:o,maxY:s})},n.prototype.copyWith=function(e){var t=e.fit,r=e.alignment,a=e.minX,i=e.minY,o=e.maxX,s=e.maxY;return new n({fit:null!=t?t:this.fit,alignment:null!=r?r:this.alignment,minX:null!=a?a:this.minX,minY:null!=i?i:this.minY,maxX:null!=o?o:this.maxX,maxY:null!=s?s:this.maxY})},n.prototype.runtimeFit=function(t){var n;return this.cachedRuntimeFit?this.cachedRuntimeFit:(n=this.fit===e.Cover?t.Fit.cover:this.fit===e.Contain?t.Fit.contain:this.fit===e.Fill?t.Fit.fill:this.fit===e.FitWidth?t.Fit.fitWidth:this.fit===e.FitHeight?t.Fit.fitHeight:this.fit===e.ScaleDown?t.Fit.scaleDown:t.Fit.none,this.cachedRuntimeFit=n,n)},n.prototype.runtimeAlignment=function(e){var n;return this.cachedRuntimeAlignment?this.cachedRuntimeAlignment:(n=this.alignment===t.TopLeft?e.Alignment.topLeft:this.alignment===t.TopCenter?e.Alignment.topCenter:this.alignment===t.TopRight?e.Alignment.topRight:this.alignment===t.CenterLeft?e.Alignment.centerLeft:this.alignment===t.CenterRight?e.Alignment.centerRight:this.alignment===t.BottomLeft?e.Alignment.bottomLeft:this.alignment===t.BottomCenter?e.Alignment.bottomCenter:this.alignment===t.BottomRight?e.Alignment.bottomRight:e.Alignment.center,this.cachedRuntimeAlignment=n,n)},n}(),h=function(){function e(){}return e.loadRuntime=function(){o.default({locateFile:function(){return e.wasmURL}}).then(function(t){var n;for(e.runtime=t;e.callBackQueue.length>0;)null===(n=e.callBackQueue.shift())||void 0===n||n(e.runtime)}).catch(function(){var t="https://cdn.jsdelivr.net/npm/".concat(s.name,"@").concat(s.version,"/rive.wasm");e.wasmURL.toLowerCase()!==t?(console.warn("Failed to load WASM from ".concat(e.wasmURL,", trying jsdelivr as a backup")),e.setWasmUrl(t),e.loadRuntime()):console.error("Could not load Rive WASM file from unpkg or jsdelivr, network connection may be down, or         you may need to call set a new WASM source via RuntimeLoader.setWasmUrl() and call         RuntimeLoader.loadRuntime() again")})},e.getInstance=function(t){e.isLoading||(e.isLoading=!0,e.loadRuntime()),e.runtime?t(e.runtime):e.callBackQueue.push(t)},e.awaitInstance=function(){return new Promise(function(t){return e.getInstance(function(e){return t(e)})})},e.setWasmUrl=function(t){e.wasmURL=t},e.isLoading=!1,e.callBackQueue=[],e.wasmURL="https://unpkg.com/".concat(s.name,"@").concat(s.version,"/rive.wasm"),e}(),m=function(){function e(e,t,n,r){this.animation=e,this.artboard=t,this.playing=r,this.loopCount=0,this.scrubTo=null,this.instance=new n.LinearAnimationInstance(e,t)}return Object.defineProperty(e.prototype,"name",{get:function(){return this.animation.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this.instance.time},set:function(e){this.instance.time=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loopValue",{get:function(){return this.animation.loopValue}
1,enumerable:!1,configurable:!0}),e.prototype.advance=function(e){null===this.scrubTo?this.instance.advance(e):(this.instance.time=0,this.instance.advance(this.scrubTo),this.scrubTo=null)},e.prototype.apply=function(e){this.instance.apply(e)},Object.defineProperty(e.prototype,"needsScrub",{get:function(){return null!==this.scrubTo},enumerable:!1,configurable:!0}),e.prototype.cleanup=function(){this.instance.delete()},e}(),(g=n||(n={}))[g.Number=56]="Number",g[g.Trigger=58]="Trigger",g[g.Boolean=59]="Boolean",v=function(){function e(e,t){this.type=e,this.runtimeInput=t}return Object.defineProperty(e.prototype,"name",{get:function(){return this.runtimeInput.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.runtimeInput.value},set:function(e){this.runtimeInput.value=e},enumerable:!1,configurable:!0}),e.prototype.fire=function(){this.type===n.Trigger&&this.runtimeInput.fire()},e}(),(y=r||(r={}))[y.General=128]="General",y[y.OpenUrl=131]="OpenUrl",b=function(){function e(e,t,n,r){this.stateMachine=e,this.playing=n,this.artboard=r,this.inputs=[],this.instance=new t.StateMachineInstance(e,r),this.initInputs(t)}return Object.defineProperty(e.prototype,"name",{get:function(){return this.stateMachine.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"statesChanged",{get:function(){for(var e=[],t=0;t<this.instance.stateChangedCount();t++)e.push(this.instance.stateChangedNameByIndex(t));return e},enumerable:!1,configurable:!0}),e.prototype.advance=function(e){this.instance.advance(e)},e.prototype.reportedEventCount=function(){return this.instance.reportedEventCount()},e.prototype.reportedEventAt=function(e){return this.instance.reportedEventAt(e)},e.prototype.initInputs=function(e){for(var t=0;t<this.instance.inputCount();t++){var n=this.instance.input(t);this.inputs.push(this.mapRuntimeInput(n,e))}},e.prototype.mapRuntimeInput=function(e,t){return e.type===t.SMIInput.bool?new v(n.Boolean,e.asBool()):e.type===t.SMIInput.number?new v(n.Number,e.asNumber()):e.type===t.SMIInput.trigger?new v(n.Trigger,e.asTrigger()):void 0},e.prototype.cleanup=function(){this.instance.delete()},e}(),E=function(){function e(e,t,n,r,a){void 0===r&&(r=[]),void 0===a&&(a=[]),this.runtime=e,this.artboard=t,this.eventManager=n,this.animations=r,this.stateMachines=a}return e.prototype.add=function(e,t,n){if(void 0===n&&(n=!0),0===(e=x(e)).length)this.animations.forEach(function(e){return e.playing=t}),this.stateMachines.forEach(function(e){return e.playing=t});else for(var r=this.animations.map(function(e){return e.name}),i=this.stateMachines.map(function(e){return e.name}),o=0;o<e.length;o++){var s=r.indexOf(e[o]),u=i.indexOf(e[o]);if(s>=0||u>=0)s>=0?this.animations[s].playing=t:this.stateMachines[u].playing=t;else{var l=this.artboard.animationByName(e[o]);if(l){var c=new m(l,this.artboard,this.runtime,t);c.advance(0),c.apply(1),this.animations.push(c)}else{var f=this.artboard.stateMachineByName(e[o]);if(f){var p=new b(f,this.runtime,t,this.artboard);this.stateMachines.push(p)}}}}return n&&(t?this.eventManager.fire({type:a.Play,data:this.playing}):this.eventManager.fire({type:a.Pause,data:this.paused})),t?this.playing:this.paused},e.prototype.initLinearAnimations=function(e,t){for(var n=this.animations.map(function(e){return e.name}),r=0;r<e.length;r++){var a=n.indexOf(e[r]);if(a>=0)this.animations[a].playing=t;else{var i=this.artboard.animationByName(e[r]);if(i){var o=new m(i,this.artboard,this.runtime,t);o.advance(0),o.apply(1),this.animations.push(o)}}}},e.prototype.initStateMachines=function(e,t){for(var n=this.stateMachines.map(function(e){return e.name}),r=0;r<e.length;r++){var a=n.indexOf(e[r]);if(a>=0)this.stateMachines[a].playing=t;else{var i=this.artboard.stateMachineByName(e[r]);if(i){var o=new b(i,this.runtime,t,this.artboard);this.stateMachines.push(o)}else this.initLinearAnimations([e[r]],t)}}},e.prototype.play=function(e){return this.add(e,!0)},e.prototype.pause=function(e){return this.add(e,!1)},e.prototype.scrub=function(e,t){var n=this.animations.filter(function(t){return e.includes(t.name)});
1return n.forEach(function(e){return e.scrubTo=t}),n.map(function(e){return e.name})},Object.defineProperty(e.prototype,"playing",{get:function(){return this.animations.filter(function(e){return e.playing}).map(function(e){return e.name}).concat(this.stateMachines.filter(function(e){return e.playing}).map(function(e){return e.name}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this.animations.filter(function(e){return!e.playing}).map(function(e){return e.name}).concat(this.stateMachines.filter(function(e){return!e.playing}).map(function(e){return e.name}))},enumerable:!1,configurable:!0}),e.prototype.stop=function(e){var t=this;e=x(e);var n=[];if(0===e.length)n=this.animations.map(function(e){return e.name}).concat(this.stateMachines.map(function(e){return e.name})),this.animations.forEach(function(e){return e.cleanup()}),this.stateMachines.forEach(function(e){return e.cleanup()}),this.animations.splice(0,this.animations.length),this.stateMachines.splice(0,this.stateMachines.length);else{var r=this.animations.filter(function(t){return e.includes(t.name)});r.forEach(function(e){e.cleanup(),t.animations.splice(t.animations.indexOf(e),1)});var i=this.stateMachines.filter(function(t){return e.includes(t.name)});i.forEach(function(e){e.cleanup(),t.stateMachines.splice(t.stateMachines.indexOf(e),1)}),n=r.map(function(e){return e.name}).concat(i.map(function(e){return e.name}))}return this.eventManager.fire({type:a.Stop,data:n}),n},Object.defineProperty(e.prototype,"isPlaying",{get:function(){return this.animations.reduce(function(e,t){return e||t.playing},!1)||this.stateMachines.reduce(function(e,t){return e||t.playing},!1)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPaused",{get:function(){return!this.isPlaying&&(this.animations.length>0||this.stateMachines.length>0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isStopped",{get:function(){return 0===this.animations.length&&0===this.stateMachines.length},enumerable:!1,configurable:!0}),e.prototype.atLeastOne=function(e,t){var n;return void 0===t&&(t=!0),0===this.animations.length&&0===this.stateMachines.length&&(this.artboard.animationCount()>0?this.add([n=this.artboard.animationByIndex(0).name],e,t):this.artboard.stateMachineCount()>0&&this.add([n=this.artboard.stateMachineByIndex(0).name],e,t)),n},e.prototype.handleLooping=function(){for(var e=0,t=this.animations.filter(function(e){return e.playing});e<t.length;e++){var n=t[e];0===n.loopValue&&n.loopCount?(n.loopCount=0,this.stop(n.name)):1===n.loopValue&&n.loopCount?(this.eventManager.fire({type:a.Loop,data:{animation:n.name,type:i.Loop}}),n.loopCount=0):2===n.loopValue&&n.loopCount>1&&(this.eventManager.fire({type:a.Loop,data:{animation:n.name,type:i.PingPong}}),n.loopCount=0)}},e.prototype.handleStateChanges=function(){for(var e=[],t=0,n=this.stateMachines.filter(function(e){return e.playing});t<n.length;t++){var r=n[t];e.push.apply(e,r.statesChanged)}e.length>0&&this.eventManager.fire({type:a.StateChange,data:e})},e.prototype.handleAdvancing=function(e){this.eventManager.fire({type:a.Advance,data:e})},e}(),(w=a||(a={})).Load="load",w.LoadError="loaderror",w.Play="play",w.Pause="pause",w.Stop="stop",w.Loop="loop",w.Draw="draw",w.Advance="advance",w.StateChange="statechange",w.RiveEvent="riveevent",(A=i||(i={})).OneShot="oneshot",A.Loop="loop",A.PingPong="pingpong",S=function(){function e(e){void 0===e&&(e=[]),this.listeners=e}return e.prototype.getListeners=function(e){return this.listeners.filter(function(t){return t.type===e})},e.prototype.add=function(e){this.listeners.includes(e)||this.listeners.push(e)},e.prototype.remove=function(e){for(var t=0;t<this.listeners.length;t++){var n=this.listeners[t];if(n.type===e.type&&n.callback===e.callback){this.listeners.splice(t,1);break}}},e.prototype.removeAll=function(e){var t=this;e?this.listeners.filter(function(t){return t.type===e}).forEach(function(e){return t.remove(e)}):this.listeners.splice(0,this.listeners.length)},e.prototype.fire=function(e){this.getListeners(e.type).forEach(function(t){return t.callback(e)})},e}(),O=function(){function e(e){this.eventManager=e,this.queue=[]}return e.prototype.add=function(e){this.queue.push(e)},e.prototype.process=function(){for(;this.queue.length>0;){var e=this.queue.shift();(null==e?void 0:e.action)&&e.action(),(null==e?void 0:e.event)&&this.eventManager.fire(e.event)}},e}(),R=function(){function e(e){var t;this.loaded=!1,this.readyForPlaying=!1,this.artboard=null,this.eventCleanup=null,this.shouldDisableRiveListeners=!1,this.automaticallyHandleEvents=!1,this.enableRiveAssetCDN=!0,this.durations=[],this.frameTimes=[],this.frameCount=0,this.renderSecondTimer=0,this.canvas=e.canvas,this.src=e.src,this.buffer=e.buffer,this.layout=null!==(t=e.layout)&&void 0!==t?t:new d,this.shouldDisableRiveListeners=!!e.shouldDisableRiveListeners,this.automaticallyHandleEvents=!!e.automaticallyHandleEvents,this.enableRiveAssetCDN=void 0===e.enableRiveAssetCDN||e.enableRiveAssetCDN,this.eventManager=new S,e.onLoad&&this.on(a.Lo
1ad,e.onLoad),e.onLoadError&&this.on(a.LoadError,e.onLoadError),e.onPlay&&this.on(a.Play,e.onPlay),e.onPause&&this.on(a.Pause,e.onPause),e.onStop&&this.on(a.Stop,e.onStop),e.onLoop&&this.on(a.Loop,e.onLoop),e.onStateChange&&this.on(a.StateChange,e.onStateChange),e.onAdvance&&this.on(a.Advance,e.onAdvance),e.onload&&!e.onLoad&&this.on(a.Load,e.onload),e.onloaderror&&!e.onLoadError&&this.on(a.LoadError,e.onloaderror),e.onplay&&!e.onPlay&&this.on(a.Play,e.onplay),e.onpause&&!e.onPause&&this.on(a.Pause,e.onpause),e.onstop&&!e.onStop&&this.on(a.Stop,e.onstop),e.onloop&&!e.onLoop&&this.on(a.Loop,e.onloop),e.onstatechange&&!e.onStateChange&&this.on(a.StateChange,e.onstatechange),e.assetLoader&&(this.assetLoader=e.assetLoader),this.taskQueue=new O(this.eventManager),this.init({src:this.src,buffer:this.buffer,autoplay:e.autoplay,animations:e.animations,stateMachines:e.stateMachines,artboard:e.artboard,useOffscreenRenderer:e.useOffscreenRenderer})}return e.new=function(t){return console.warn("This function is deprecated: please use `new Rive({})` instead"),new e(t)},e.prototype.init=function(t){var n=this,r=t.src,a=t.buffer,i=t.animations,o=t.stateMachines,s=t.artboard,u=t.autoplay,l=void 0!==u&&u,c=t.useOffscreenRenderer,f=void 0!==c&&c;if(this.src=r,this.buffer=a,!this.src&&!this.buffer)throw Error(e.missingErrorMessage);var p=x(i),d=x(o);this.loaded=!1,this.readyForPlaying=!1,h.awaitInstance().then(function(e){n.runtime=e,n.renderer=n.runtime.makeRenderer(n.canvas,f),n.canvas.width||n.canvas.height||n.resizeDrawingSurfaceToCanvas(),n.initData(s,p,d,l).then(function(){return n.setupRiveListeners()}).catch(function(e){console.error(e)})}).catch(function(e){console.error(e)})},e.prototype.setupRiveListeners=function(){var e=this;if(!this.shouldDisableRiveListeners){var t=(this.animator.stateMachines||[]).filter(function(t){return t.playing&&e.runtime.hasListeners(t.instance)}).map(function(e){return e.instance});this.eventCleanup=(0,u.registerTouchInteractions)({canvas:this.canvas,artboard:this.artboard,stateMachines:t,renderer:this.renderer,rive:this.runtime,fit:this._layout.runtimeFit(this.runtime),alignment:this._layout.runtimeAlignment(this.runtime)})}},e.prototype.initData=function(e,t,n,r){var i;return l(this,void 0,void 0,function(){var o,s,u,l;return c(this,function(c){switch(c.label){case 0:if(!this.src)return[3,2];return o=this,[4,T(this.src)];case 1:o.buffer=c.sent(),c.label=2;case 2:return this.assetLoader&&(s=new this.runtime.CustomFileAssetLoader({loadContents:this.assetLoader})),u=this,[4,this.runtime.load(new Uint8Array(this.buffer),s,this.enableRiveAssetCDN)];case 3:if(u.file=c.sent(),this.file)return this.initArtboard(e,t,n,r),this.loaded=!0,this.eventManager.fire({type:a.Load,data:null!==(i=this.src)&&void 0!==i?i:"buffer"}),this.readyForPlaying=!0,this.taskQueue.process(),this.drawFrame(),[2,Promise.resolve()];return console.warn(l="Problem loading file; may be corrupt!"),this.eventManager.fire({type:a.LoadError,data:l}),[2,Promise.reject(l)]}})})},e.prototype.initArtboard=function(e,t,n,r){var i,o=e?this.file.artboardByName(e):this.file.defaultArtboard();if(!o){var s="Invalid artboard name or no default artboard";console.warn(s),this.eventManager.fire({type:a.LoadError,data:s});return}if(this.artboard=o,1>this.artboard.animationCount()){var s="Artboard has no animations";throw this.eventManager.fire({type:a.LoadError,data:s}),s}this.animator=new E(this.runtime,this.artboard,this.eventManager),t.length>0||n.length>0?(i=t.concat(n),this.animator.initLinearAnimations(t,r),this.animator.initStateMachines(n,r)):i=[this.animator.atLeastOne(r,!1)],this.taskQueue.add({event:{type:r?a.Play:a.Pause,data:i}})},e.prototype.drawFrame=function(){this.startRendering()},e.prototype.draw=function(e,t){var n=performance.now();this.frameRequestId=null,this.lastRenderTime||(this.lastRenderTime=e),this.renderSecondTimer+=e-this.lastRenderTime,this.renderSecondTimer>5e3&&(this.renderSecondTimer=0,null==t||t());var i=(e-this.lastRenderTime)/1e3;this.lastRenderTime=e;for(var o=this.animator.animations.filter(function(e){return e.playing||e.needsScrub}).sort(function(e){return e.needsScrub?-1:1}),s=0;s<o.length;s++){var l=o[s];l.advance(i),l.instance.didLoop&&(l.loopCount+=1),l.apply(1)}for(var c=this.animator.stateMachines.filter(function(e){return e.playing}),f=0;f<c.length;f++){var p=c[f],d=p.reportedEventCount();if(d)for(var h=0;h<d;h++){var m=p.reportedEventAt(h);if(m){if(m.type===r.OpenUrl){if(this.eventManager.fire({type:a.RiveEvent,data:m}),this.automaticallyHandleEvents){var g=document.createElement("a"),v=m.url,y=m.target,b=(0,u.sanitizeUrl)(v);v&&g.setAttribute("href",b),y&&g.setAttribute("target",y),b&&b!==u.BLANK_URL&&g.click()}}else this.eventManager.fire({type:a.RiveEvent,data:m})}}p.advance(i)}this.artboard.advance(i);var E=this.renderer;E.clear(),E.save(),this.alignRenderer(),this.artboard.draw(E),E.restore(
1),E.flush(),this.animator.handleLooping(),this.animator.handleStateChanges(),this.animator.handleAdvancing(i),this.frameCount++;var w=performance.now();for(this.frameTimes.push(w),this.durations.push(w-n);this.frameTimes[0]<=w-1e3;)this.frameTimes.shift(),this.durations.shift();this.animator.isPlaying?this.startRendering():this.animator.isPaused?this.lastRenderTime=0:this.animator.isStopped&&(this.lastRenderTime=0)},e.prototype.alignRenderer=function(){var e=this.renderer,t=this.runtime,n=this._layout,r=this.artboard;e.align(n.runtimeFit(t),n.runtimeAlignment(t),{minX:n.minX,minY:n.minY,maxX:n.maxX,maxY:n.maxY},r.bounds)},Object.defineProperty(e.prototype,"fps",{get:function(){return this.durations.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"frameTime",{get:function(){return 0===this.durations.length?0:(this.durations.reduce(function(e,t){return e+t},0)/this.durations.length).toFixed(4)},enumerable:!1,configurable:!0}),e.prototype.cleanup=function(){var e,t;this.stopRendering(),this.cleanupInstances(),null===(e=this.renderer)||void 0===e||e.delete(),this.renderer=null,null===(t=this.file)||void 0===t||t.delete(),this.file=null},e.prototype.cleanupInstances=function(){null!==this.eventCleanup&&this.eventCleanup(),this.stop(),this.artboard&&(this.artboard.delete(),this.artboard=null)},e.prototype.retrieveTextRun=function(e){if(!e){console.warn("No text run name provided");return}if(!this.artboard){console.warn("Tried to access text run, but the Artboard is null");return}var t,n=this.artboard.textRun(e);if(!n){console.warn("Could not access a text run with name '".concat(e,"' in the '").concat(null===(t=this.artboard)||void 0===t?void 0:t.name,"' Artboard. Note that you must rename a text run node in the Rive editor to make it queryable at runtime."));return}return n},e.prototype.getTextRunValue=function(e){var t=this.retrieveTextRun(e);return t?t.text:void 0},e.prototype.setTextRunValue=function(e,t){var n=this.retrieveTextRun(e);n&&(n.text=t)},e.prototype.play=function(e,t){var n=this;if(e=x(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return n.play(e,t)}});return}this.animator.play(e),this.eventCleanup&&this.eventCleanup(),this.setupRiveListeners(),this.startRendering()},e.prototype.pause=function(e){var t=this;if(e=x(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return t.pause(e)}});return}this.eventCleanup&&this.eventCleanup(),this.animator.pause(e)},e.prototype.scrub=function(e,t){var n=this;if(e=x(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return n.scrub(e,t)}});return}this.animator.scrub(e,t||0),this.drawFrame()},e.prototype.stop=function(e){var t=this;if(e=x(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return t.stop(e)}});return}this.animator.stop(e),this.eventCleanup&&this.eventCleanup()},e.prototype.reset=function(e){var t,n=null==e?void 0:e.artboard,r=x(null==e?void 0:e.animations),a=x(null==e?void 0:e.stateMachines),i=null!==(t=null==e?void 0:e.autoplay)&&void 0!==t&&t;this.cleanupInstances(),this.initArtboard(n,r,a,i),this.taskQueue.process()},e.prototype.load=function(e){this.stop(),this.init(e)},Object.defineProperty(e.prototype,"layout",{get:function(){return this._layout},set:function(e){this._layout=e,e.maxX&&e.maxY||this.resizeToCanvas(),this.loaded&&!this.animator.isPlaying&&this.drawFrame()},enumerable:!1,configurable:!0}),e.prototype.resizeToCanvas=function(){this._layout=this.layout.copyWith({minX:0,minY:0,maxX:this.canvas.width,maxY:this.canvas.height})},e.prototype.resizeDrawingSurfaceToCanvas=function(){if(this.canvas instanceof HTMLCanvasElement&&window){var e=this.canvas.getBoundingClientRect(),t=e.width,n=e.height,r=window.devicePixelRatio||1;this.canvas.width=r*t,this.canvas.height=r*n,this.startRendering(),this.resizeToCanvas()}},Object.defineProperty(e.prototype,"source",{get:function(){return this.src},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeArtboard",{get:function(){return this.artboard?this.artboard.name:""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationNames",{get:function(){if(!this.loaded)return[];for(var e=[],t=0;t<this.artboard.animationCount();t++)e.push(this.artboard.animationByIndex(t).name);return e}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stateMachineNames",{get:function(){if(!this.loaded)return[];for(var e=[],t=0;t<this.artboard.stateMachineCount();t++)e.push(this.artboard.stateMachineByIndex(t).name);return e},enumerable:!1,configurable:!0}),e.prototype.stateMachineInputs=function(e){if(this.loaded){var t=this.animator.stateMachines.find(function(t){return t.name===e});return null==t?void 0:t.inputs}},Object.defineProperty(e.prototype,"playingStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(e){return e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"playingAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(e){return e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pausedAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(e){return!e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pausedStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(e){return!e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPlaying",{get:function(){return this.animator.isPlaying},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPaused",{get:function(){return this.animator.isPaused},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isStopped",{get:function(){return this.animator.isStopped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bounds",{get:function(){return this.artboard?this.artboard.bounds:void 0},enumerable:!1,configurable:!0}),e.prototype.on=function(e,t){this.eventManager.add({type:e,callback:t})},e.prototype.off=function(e,t){this.eventManager.remove({type:e,callback:t})},e.prototype.unsubscribe=function(e,t){console.warn("This function is deprecated: please use `off()` instead."),this.off(e,t)},e.prototype.removeAllRiveEventListeners=function(e){this.eventManager.removeAll(e)},e.prototype.unsubscribeAll=function(e){console.warn("This function is deprecated: please use `removeAllRiveEventListeners()` instead."),this.removeAllRiveEventListeners(e)},e.prototype.stopRendering=function(){this.loaded&&this.frameRequestId&&(this.runtime.cancelAnimationFrame?this.runtime.cancelAnimationFrame(this.frameRequestId):cancelAnimationFrame(this.frameRequestId),this.frameRequestId=null)},e.prototype.startRendering=function(){this.loaded&&this.artboard&&!this.frameRequestId&&(this.runtime.requestAnimationFrame?this.frameRequestId=this.runtime.requestAnimationFrame(this.draw.bind(this)):this.frameRequestId=requestAnimationFrame(this.draw.bind(this)))},e.prototype.enableFPSCounter=function(e){this.runtime.enableFPSCounter(e)},e.prototype.disableFPSCounter=function(){this.runtime.disableFPSCounter()},Object.defineProperty(e.prototype,"contents",{get:function(){if(this.loaded){for(var e={artboards:[]},t=0;t<this.file.artboardCount();t++){for(var n=this.file.artboardByIndex(t),r={name:n.name,animations:[],stateMachines:[]},a=0;a<n.animationCount();a++){var i=n.animationByIndex(a);r.animations.push(i.name)}for(var o=0;o<n.stateMachineCount();o++){for(var s=n.stateMachineByIndex(o),u=s.name,l=new this.runtime.StateMachineInstance(s,n),c=[],f=0;f<l.inputCount();f++){var p=l.input(f);c.push({name:p.name,type:p.type})}r.stateMachines.push({name:u,inputs:c})}e.artboards.push(r)}return e}},enumerable:!1,configurable:!0}),e.missingErrorMessage="Rive source file or data buffer required",e}(),T=function(e){return l(void 0,void 0,void 0,function(){return c(this,function(t){switch(t.label){case 0:return[4,fetch(new Request(e))];case 1:return[4,t.sent().arrayBuffer()];case 2:return[2,t.sent()]}})})},x=function(e){return"string"==typeof e?[e]:e instanceof Array?e:[]},k={EventManager:S,TaskQueueManager:O},I=function(e){return new Promise(function(t){return h.getInstance(function(n){n.decodeImage(e,t)})})},C=function(e){return new Promise(function(t){return h.getInstance(function(n){n.decodeFont(e,t)})})},N})(),e.exports=t()}
1,25889:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294),a=n(7665),i=r&&"object"==typeof r&&"default"in r?r:{default:r},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function u(){return Math.min(Math.max(1,"undefined"!=typeof window&&"number"==typeof window.devicePixelRatio?window.devicePixelRatio:1),3)}"function"==typeof SuppressedError&&SuppressedError;var l=function(){function e(){}return e.prototype.observe=function(){},e.prototype.unobserve=function(){},e.prototype.disconnect=function(){},e}(),c=globalThis.ResizeObserver||l,f=void 0!==globalThis.ResizeObserver,p=!f,d={useDevicePixelRatio:!0,fitCanvasToArtboardHeight:!1,useOffscreenRenderer:!0,shouldResizeCanvasToContainer:!0};function h(e){return Object.assign({},d,e)}function m(e){var t,n,a,i,o,s,l,d,m,g,v,y=e.riveLoaded,b=void 0!==y&&y,E=e.canvasRef,w=e.containerRef,A=e.options,S=e.onCanvasHasResized,O=e.artboardBounds,R=h(void 0===A?{}:A),T=r.useState({height:0,width:0}),x=T[0],k=x.height,I=x.width,C=T[1],P=r.useState({height:0,width:0}),L=P[0],$=L.height,N=L.width,F=P[1],M=r.useState(!0),_=M[0],D=M[1],j=R.fitCanvasToArtboardHeight,U=R.shouldResizeCanvasToContainer,B=R.useDevicePixelRatio,H=(void 0===(t=U)&&(t=!0),a=(n=r.useState({width:0,height:0}))[0],i=n[1],r.useEffect(function(){if("undefined"!=typeof window&&t){var e=function(){i({width:window.innerWidth,height:window.innerHeight})};return p&&(e(),window.addEventListener("resize",e)),function(){return window.removeEventListener("resize",e)}}},[]),l=r.useRef(new c((o=function(e){f&&i({width:e[e.length-1].contentRect.width,height:e[e.length-1].contentRect.height})},s=0,function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];clearTimeout(s),s=window.setTimeout(function(){return o.apply(e,t)},0)}))),r.useEffect(function(){var e=l.current;if(t){var n=w.current;return w.current&&f&&e.observe(w.current),function(){e.disconnect(),n&&f&&e.unobserve(n)}}e.disconnect()},[w,l]),a),W=(d=u(),g=(m=r.useState(d))[0],v=m[1],r.useEffect(function(){if("undefined"!=typeof window&&"matchMedia"in window){var e=function(){v(u())},t=window.matchMedia("screen and (resolution: ".concat(g,"dppx)"));return t.hasOwnProperty("addEventListener")?t.addEventListener("change",e):t.addListener(e),function(){t.hasOwnProperty("removeEventListener")?t.removeEventListener("change",e):t.removeListener(e)}}},[g]),g),z=null!=O?O:{},Y=z.maxX,G=z.maxY,X=r.useCallback(function(){var e,t,n,r,a=null!==(t=null===(e=w.current)||void 0===e?void 0:e.clientWidth)&&void 0!==t?t:0,i=null!==(r=null===(n=w.current)||void 0===n?void 0:n.clientHeight)&&void 0!==r?r:0;return j&&O?{width:a,height:O.maxY/O.maxX*a}:{width:a,height:i}},[w,j,Y,G]);r.useEffect(function(){if(U&&w.current&&b){var e=X(),t=e.width,n=e.height,r=!1;if(E.current){var a=t!==I||n!==k;if(R.fitCanvasToArtboardHeight&&a&&(w.current.style.height=n+"px",r=!0),R.useDevicePixelRatio){if(a||t*W!==N||n*W!==$){var i=W*t,o=W*n;E.current.width=i,E.current.height=o,E.current.style.width=t+"px",E.current.style.height=n+"px",F({width:i,height:o}),r=!0}}else a&&(E.current.width=t,E.current.height=n,F({width:t,height:n}),r=!0);C({width:t,height:n})}S&&(_||r)&&S&&S(),_&&D(!1)}},[E,w,H,W,X,_,D,$,N,k,I,S,U,j,B,b])}function g(e){var t=e.setContainerRef,n=e.setCanvasRef,r=e.className,a=void 0===r?"":r,u=e.style,l=e.children,c=s(e,["setContainerRef","setCanvasRef","className","style","children"]),f=o({width:"100%",height:"100%"},u);return i.default.createElement("div",o({ref:t,className:a},!a&&{style:f}),i.default.createElement("canvas",o({ref:n,style:{verticalAlign:"top",width:0,height:0}},c),l))}function v(e,t){void 0===t&&(t={});var n=r.useRef(null),s=r.useRef(null),u=r.useState(null),l=u[0],c=u[1],f=!!e,p=h(t),d=r.useCallback(function(){l&&(l.startRendering(),l.resizeToCanvas())},[l]);m({riveLoaded:!!l,canvasRef:n,containerRef:s,options:p,onCanvasHasResized:d,artboardBounds:null==l?void 0:l.bounds});var v=r.useCallback(function(t){if(t&&e&&f){var r=p.useOffscreenRenderer,i=new a.Rive(o(o({useOffscreenRenderer:r},e),{canvas:t}));i.on(a.EventType.Load,function(){n.current?c(i):i.cleanup()})}else null===t&&n.current&&(n.current.height=0,n.current.width=0);n.current=t},[f]),y=r.useCallback(function(e){s.current=e},[]);r.useEffect(function(){var e=new IntersectionObserver(function(e){e[0].isIntersecting?l&&l.startRendering():l&&l.stopRendering()});return n.current&&e.observe(n.current),function(){e.disconnect()}},[l]),r.useEffect(function(){return function(){l&&(l.cleanup(),c(null))}},[l]);var b=null==e?void 0:e.animations;r.useEffect(function(){l&&b&&(l.isPlaying?(l.stop(l.animationNames),l.play(b)):l.isPaused&&(l.stop(l.animationNames),l.pause(b)))},[b,l]);var E=r.useCallback(function(e){return i.default.createElement(g,o({setContainerRef:y,setCanvasRef:v},e))},[v,y]);return{canvas:n.current,container:s.current,setCanvasRef:v,setContainerRef:y,rive:l,RiveComponent:E}}t.default=function(e){var t=e.src,n=e.artboard,r=e.animations,a=e.stateMachines,u=e.layout,l=e.useOffscreenRenderer,c=e.shouldDisableRiveListeners,f=e.shouldResizeCanvasToContainer,p=e.automaticallyHandleEvents,d=e.children,h=s(e,["src","artboard","animations","stateMachines","layout","useOffscreenRenderer","shouldDisableRiveListeners","shouldResizeCanvasToContainer","automaticallyHandleEvents","children"]),m=v({src:t,artboard:n,animations:r,layout:u,stateMachines:a,autoplay:!0,shouldDisableRiveListeners:void 0!==c&&c,automaticallyHandleEvents:void 0!==p&&p},{useOffscreenRenderer:void 0===l||l,shouldResizeCanvasToContainer:void 0===f||f}).RiveComponent;return i.default.createElement(m,o({},h),d)},t.useResizeCanvas=m,t.useRive=v,t.useStateMachineInput=function(e,t,n,i){var o=r.useState(null),s=o[0],u=o[1];return r.useEffect(function(){function r(){if(e&&t&&n||u(null),e&&t&&n){var r=e.stateMachineInputs(t);if(r){var a=r.find(function(e){return e.name===n});void 0!==i&&a&&(a.value=i),u(a||null)}}else u(null)}r(),e&&e.on(a.EventType.Play,function(){r()})},[e]),s}
1,Object.keys(a).forEach(function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})})},81548:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t,n){return(o=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&i(a,n.prototype),a}:Reflect.construct.bind()).apply(null,arguments)}function s(e){var t="function"==typeof Map?new Map:void 0;return(s=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return o(e,arguments,a(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i(n,e)})(e)}n.d(t,{by:function(){return S}});var u=function(e){function t(t,n){var r;return void 0===n&&(n="Failed to resolve asset ID from source"),(r=e.call(this,n)||this).unresolvable=!0,r.input=t,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e),t}(s(Error)),l="https://cdn.sanity.io",c=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,f=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,p=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,d=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,h=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/;function m(e){return b(e)&&"string"==typeof e._ref}function g(e){return b(e)&&"string"==typeof e.path}function v(e){return b(e)&&"string"==typeof e.url}function y(e){return b(e)&&e.asset&&"object"==typeof e.asset}function b(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e}function E(e,t){var n=(null==t?void 0:t.projectId)||e.projectId,r=(null==t?void 0:t.dataset)||e.dataset;if(!n||!r)throw Error("Project details (projectId and dataset) required to resolve path for file");var a="originalFilename"in e?e.originalFilename:void 0;return"files/"+n+"/"+r+"/"+e.assetId+"."+e.extension+function(e,t,n){var r=t||e;return(null==n?void 0:n.useVanityName)!==!1&&r?"/"+r:""}(a,e.vanityFilename,t)}function w(e){if(d.test(e))return e;if(!e.startsWith(l+"/"))throw new u('Failed to resolve path from URL "'+e+'"');var t=e.indexOf("?");return e.slice(l.length+1,-1===t?void 0:t)}var A=function(){try{return w.apply(void 0,arguments)}catch(e){if(e.unresolvable&&"input"in e)return;throw e}};function S(e,t){var n=r({},t||function(e){var t=function e(t){if(y(t))return e(t.asset);if(!m(t))return"string"==typeof t?d.test(A(t)||"")?w(t):void 0:g(t)?t.path:v(t)?w(t.url):void 0}(e);if(!t)throw new u(e,"Failed to resolve project ID and dataset from source");var n=t.match(d)||[],r=n[2],a=n[3];if(!r||!a)throw new u(e,"Failed to resolve project ID and dataset from source");return{projectId:r,dataset:a}}(e),{useVanityName:!1}),a=function(e){var t=y(e)?e.asset:e,n="";if("string"==typeof t?n=function(e){if(h.test(e))return e;if(0===e.indexOf(l+"/images")||0===e.indexOf(l+"/files"))return O(e);if(d.test(e))return O(l+"/"+e);if(c.test(e))return O(l+"/files/a/b/"+e);if(p.test(e))return O(l+"/images/a/b/"+e);throw new u(e)}(t):m(t)?n=t._ref:b(t)&&"string"==typeof t._id?n=t._id:g(t)?n=O(l+"/"+t.path):v(t)&&(n=O(t.url)),!(n&&h.test(n)))throw new u(e);return n}(e),i=e.asset||e,o=function(e){if(!f.test(e))throw Error("Malformed file asset ID '"+e+'\'. Expected an id like "file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf"');var t=e.split("-");return{type:"file",assetId:t[1],extension:t[2]}}(a),s=o.assetId,S=o.extension,R=r({},b(e)&&"sanity.fileAsset"===e._type?e:{},{_id:a,_type:"sanity.fileAsset",assetId:s,extension:S,metadata:i.metadata||{},url:"",path:""});return r({},R,{path:E(R,n),url:l+"/"+E(R,n)})}function O(e){var t=w(e).split("/"),n=t[0],r=t[3];return n.replace(/s$/,"")+"-"+r.replace(/\./g,"-")}},37288:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let a=e.length-1;return e.slice(0,a).reduce((e,t,r)=>e+t+n[r],"")+e[a]}n.d(t,{Z:function(){return r}})},78892:function(e){"use strict";e.exports=function(e,n){for(var r,a,i,o=e||"",s=n||"div",u={},l=0;l<o.length;)t.lastIndex=l,i=t.exec(o),(r=o.slice(l,i?i.index:o.length))&&(a?"#"===a?u.id=r:u.className?u.className.push(r):u.className=[r]:s=r,l+=r.length),i&&(a=i[0],l++);return{type:"element",tagName:s,properties:u,children:[]}};var t=/[#.]/g},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(78892),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r<n;)a[(t=e[r]).toLowerCase()]=t;return a}(n):null;return function(n,c){var f,p,d,h,m=i(n,t),g=Array.prototype.slice.call(arguments,2),v=m.tagName.toLowerCase();if(m.tagName=a&&u.call(a,v)?a[v]:v,c&&("string"==typeof(f=c)||"length"in f||(p=m.tagName,d=f.type,"input"!==p&&d&&"string"==typeof d&&("object"==typeof f.children&&"length"in f.children||((d=d.toLowerCase(),"button"===p)?"menu"!==d&&"submit"!==d&&"reset"!==d&&"button"!==d:"value"in f))))&&(g.unshift(c),c=null),c)for(h in c)!function(t,n,a){var i,u,c;null!=a&&a==a&&(u=(i=r(e,n)).property,"string"==typeof(c=a)&&(i.spaceSeparated?c=o(c):i.commaSeparated?c=s(c):i.commaOrSpaceSeparated&&(c=o(s(c).join(" ")))),"style"===u&&"string"!=typeof a&&(c=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(c)),"className"===u&&t.className&&(c=t.className.concat(c)),t[u]=function(e,t,n){var r,a,i;if("object"!=typeof n||!("length"in n))return l(e,t,n);for(a=n.length,r=-1,i=[];++r<a;)i[r]=l(e,t,n[r]);return i}(i,u,c))}(m.properties,h,c[h]);return function e(t,n){var r,a;if("string"==typeof n||"number"==typeof n){t.push({type:"text",value:String(n)});return}if("object"==typeof n&&"length"in n){for(r=-1,a=n.length;++r<a;)e(t,n[r]);return}if("object"!=typeof n||!("type"in n))throw Error("Expected node, nodes, or string, got `"+n+"`");t.push(n)}(m.children,g),"template"===m.tagName&&(m.content={type:"root",children:m.children},m.children=[]),m}};var u={}.hasOwnProperty;function l(e,t,n){var r=n;return e.number||e.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(e.boolean||e.overloadedBoolean)&&"string"==typeof r&&(""===r||a(n)===a(t))&&(r=!0),r}},52579:function(e,t,n){"use strict";var r=n(48055),a=n(62502)(r,"div");a.displayName="html",e.exports=a},31742:function(e,t,n){"use strict";e.exports=n(52579)},24395:function(e,t){"use strict";t.Q=function(e){for(var t,n=[],r=String(e||""),a=r.indexOf(","),i=0,o=!1;!o;)-1===a&&(a=r.length,o=!0),((t=r.slice(i,a).trim())||!o)&&n.push(t),i=a+1,a=r.indexOf(",",i);return n}},15575:function(e,t,n){"use strict";var r=n(64977),a=n(78444),i=n(40313),o="data";e.exports=function(e,t){var n,p,d,h=r(t),m=t,g=i;return h in e.normal?e.property[e.normal[h]]:(h.length>4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(u,f)).charAt(0).toUpperCase()+n.slice(1):(d=(p=t).slice(4),t=u.test(d)?p:("-"!==(d=d.replace(l,c)).charAt(0)&&(d="-"+d),o+d)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,u=/-[a-z]/g,l=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function f(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),u=n(22537);e.exports=r([i,a,o,s,u])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControl
1s:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,u=r.booleanish,l=r.number,c=r.spaceSeparated,f=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:c,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:c,cols:l,colSpan:null,content:null,contentEditable:u,controls:o,controlsList:c,coords:l|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:c,height:l,hidden:o,high:l,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:c,itemRef:c,itemScope:o,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:l,manifest:null,max:null,maxLength:l,media:null,method:null,min:null,minLength:l,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:l,pattern:null,ping:c,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:c,required:o,reversed:o,rows:l,rowSpan:l,sandbox:c,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:l,sizes:null,slot:null,span:l,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:f,start:l,step:null,style:null,tabIndex:l,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:u,width:l,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:l,borderColor:null,bottomMargin:l,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:l,leftMargin:l,link:null,longDesc:null,lowSrc:null,marginHeight:l,marginWidth:l,noResize:o,noHref:
1o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:l,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:l,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:l,security:null,unselectable:null}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],u=e.attributes||{},l=e.properties,c=e.transform,f={},p={};for(t in l)n=new i(t,c(u,t),l[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),f[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(f,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var u,l,c,f=-1;for(s&&(this.space=s),r.call(this,e,t);++f<o;)u=c=i[f],(l=(n&a[c])===a[c])&&(this[u]=l)}},40313:function(e){"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},26230:function(e,t,n){"use strict";var r=n(47529),a=n(16038);e.exports=function(e){for(var t,n,i=e.length,o=[],s=[],u=-1;++u<i;)t=e[u],o.push(t.property),s.push(t.normal),n=t.space;return new a(r.apply(null,o),r.apply(null,s),n)}},16038:function(e){"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},61422:function(e,t){"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},13970:function(e,t,n){"use strict";var r=n(47589);e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},10629:function(e,t,n){"use strict";var r=n(47589);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},647:function(e,t,n){"use strict";var r=n(47589),a=n(19348);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:a,properties:{xmlns:null,xmlnsXLink:null}})},64977:function(e){"use strict";e.exports=function(e){return e.toLowerCase()}},32473:function(e,t){"use strict";t.Q=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},46260:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(36078);e.exports=function(e){return r(e)||a(e)}},36078:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},89435:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(21922),a=n(93580),i=n(36078),o=n(79480),s=n(7961),u=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,b,E,w,A,S,O,R,T,x,k,I,C,P,L,$,N,F,M=t.additional,_=t.nonTerminated,D=t.text,j=t.reference,U=t.warning,B=t.textContext,H=t.referenceContext,W=t.warningContext,z
1=t.position,Y=t.indent||[],G=e.length,X=0,q=-1,V=z.column||1,K=z.line||1,Z="",J=[];for("string"==typeof M&&(M=M.charCodeAt(0)),L=Q(),O=U?function(e,t){var n=Q();n.column+=t,n.offset+=t,U.call(W,y[e],n,e)}:f,X--,G++;++X<G;)if(10===w&&(V=Y[q]||1),38===(w=e.charCodeAt(X))){if(9===(S=e.charCodeAt(X+1))||10===S||12===S||32===S||38===S||60===S||S!=S||M&&S===M){Z+=c(w),V++;continue}for(k=I=X+1,F=I,35===S?(F=++k,88===(S=e.charCodeAt(F))||120===S?(C=h,F=++k):C=m):C=d,o="",x="",E="",P=v[C],F--;++F<G&&P(S=e.charCodeAt(F));)E+=c(S),C===d&&l.call(r,E)&&(o=E,x=r[E]);(b=59===e.charCodeAt(F))&&(F++,(p=C===d&&u(E))&&(o=E,x=p)),N=1+F-I,(b||_)&&(E?C===d?(b&&!x?O(5,1):(o!==E&&(N=1+(F=k+o.length)-k,b=!1),b||(R=o?1:3,t.attribute?61===(S=e.charCodeAt(F))?(O(R,N),x=null):s(S)?x=null:O(R,N):O(R,N))),A=x):(b||O(2,N),(n=A=parseInt(E,g[C]))>=55296&&n<=57343||n>1114111?(O(7,N),A=c(65533)):A in a?(O(6,N),A=a[A]):(T="",((i=A)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&O(6,N),A>65535&&(A-=65536,T+=c(A>>>10|55296),A=56320|1023&A),A=T+c(A))):C!==d&&O(4,N)),A?(ee(),L=Q(),X=F-1,V+=F-I+1,J.push(A),$=Q(),$.offset++,j&&j.call(H,A,{start:L,end:$},e.slice(I-1,F)),L=$):(E=e.slice(I-1,F),Z+=E,V+=E.length,X=F-1)}else 10===w&&(K++,q++,V=0),w==w?(Z+=c(w),V++):ee();return J.join("");function Q(){return{line:K,column:V,offset:X+(z.offset||0)}}function ee(){Z&&(J.push(Z),D&&D.call(B,Z,{start:L,end:Q()}),Z="")}}(e,o)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d="named",h="hexadecimal",m="decimal",g={};g[h]=16,g[m]=10;var v={};v[d]=s,v[m]=i,v[h]=o;var y={};y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},28325:function(e,t,n){var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").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:++n}),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 o in r={},n[i]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],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(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,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],o={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var u in n)n.hasOwnProperty(u)&&(o[u]=n[u]);n.hasOwnProperty(s)||(o[s]=i[s])}var l=r[e];return r[e]=o,a.languages.DFS(a.languages,function(t,n){n===l&&t!=e&&(this[t]=o)}),o},DFS:function e(t,n,r,i){i=i||{};var o=a.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var u=t[s],l=a.util.type(u);"Object"!==l||i[o(u)]?"Array"!==l||i[o(u)]||(i[o(u)]=!0,e(u,n,s,i)):(i[o(u)]=!0,e(u,n,null,i))}}},plugins:{},highlightAll:function(e,t){a.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),a.hooks.run("before-all-elements-highlight",r);for(var i,o=0;i=r.elements[o++];)a.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=a.util.getLanguage(t),o=a.languages[i];a.util.setLanguage(t,i);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&a.util.setLanguage(s,i);var u=t.textContent,l={element:t,language:i,grammar:o,code:u};function c(e){l.highlightedCode=e,a.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,a.hooks.run("after-highlight",l),a.hooks.run("complete",l),r&&r.call(l.element)}if(a.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code){a.hooks.run("complete",l),r&&r.call(l.element);return}if(a.hooks.run("before-highlight",l),!l.grammar){c(a.util.encode(l.code));return}if(n&&e.Worker){var f=new Worker(a.filename);f.onmessage=function(e){c(e.data)},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(a.highlight(l.code,l.grammar,l.language))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(a.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=a.tokenize(r.code,r.grammar),a.hooks.run("after-tokenize",r),i.stringify(a.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var l=new s;return u(l,l.head,e),function e(t,n,r,s,l,c){for(var f in r)if(r.hasOwnProperty(f)&&r[f]){var p=r[f];p=Array.isArray(p)?p:[p];for(var d=0;d<p.length;++d){if(c&&c.cause==f+","+d)return;
1var h=p[d],m=h.inside,g=!!h.lookbehind,v=!!h.greedy,y=h.alias;if(v&&!h.pattern.global){var b=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,b+"g")}for(var E=h.pattern||h,w=s.next,A=l;w!==n.tail&&(!c||!(A>=c.reach));A+=w.value.length,w=w.next){var S,O=w.value;if(n.length>t.length)return;if(!(O instanceof i)){var R=1;if(v){if(!(S=o(E,A,t,g))||S.index>=t.length)break;var T=S.index,x=S.index+S[0].length,k=A;for(k+=w.value.length;T>=k;)k+=(w=w.next).value.length;if(k-=w.value.length,A=k,w.value instanceof i)continue;for(var I=w;I!==n.tail&&(k<x||"string"==typeof I.value);I=I.next)R++,k+=I.value.length;R--,O=t.slice(A,k),S.index-=A}else if(!(S=o(E,0,O,g)))continue;var T=S.index,C=S[0],P=O.slice(0,T),L=O.slice(T+C.length),$=A+O.length;c&&$>c.reach&&(c.reach=$);var N=w.prev;if(P&&(N=u(n,N,P),A+=P.length),function(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}(n,N,R),w=u(n,N,new i(f,m?a.tokenize(C,m):C,y,C)),L&&u(n,w,L),R>1){var F={cause:f+","+d,reach:$};e(t,n,r,w.prev,A,F),c&&F.reach>c.reach&&(c.reach=F.reach)}}}}}}(e,l,t,l.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(l)},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:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}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 u(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.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},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var u in i.attributes)s+=" "+u+'="'+(i.attributes[u]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var l=a.util.currentScript();function c(){a.manual||a.highlightAll()}if(l&&(a.filename=l.src,l.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var f=document.readyState;"loading"===f||"interactive"===f&&l&&l.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},92703:function(e,t,n){"use strict";
1var r=n(50414);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},97005:function(e,t,n){var r=n(67294),a=r&&"object"==typeof r&&"default"in r?r:{default:r};!function(e){if(!e||"undefined"==typeof window)return;let t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.marquee-container {\n  overflow-x: hidden !important;\n  display: flex !important;\n  flex-direction: row !important;\n  position: relative;\n  width: var(--width);\n  transform: var(--transform);\n}\n.marquee-container:hover div {\n  animation-play-state: var(--pause-on-hover);\n}\n.marquee-container:active div {\n  animation-play-state: var(--pause-on-click);\n}\n\n.overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.overlay::before, .overlay::after {\n  background: linear-gradient(to right, var(--gradient-color));\n  content: "";\n  height: 100%;\n  position: absolute;\n  width: var(--gradient-width);\n  z-index: 2;\n}\n.overlay::after {\n  right: 0;\n  top: 0;\n  transform: rotateZ(180deg);\n}\n.overlay::before {\n  left: 0;\n  top: 0;\n}\n\n.marquee {\n  flex: 0 0 auto;\n  min-width: var(--min-width);\n  z-index: 1;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n  animation-play-state: var(--play);\n  animation-delay: var(--delay);\n  animation-direction: var(--direction);\n}\n@keyframes scroll {\n  0% {\n    transform: translateX(0%);\n  }\n  100% {\n    transform: translateX(-100%);\n  }\n}\n\n.initial-child-container {\n  flex: 0 0 auto;\n  display: flex;\n  min-width: auto;\n  flex-direction: row;\n}\n\n.child {\n  transform: var(--transform);\n}');let i=r.forwardRef(function({style:e={},className:t="",autoFill:n=!1,play:i=!0,pauseOnHover:o=!1,pauseOnClick:s=!1,direction:u="left",speed:l=50,delay:c=0,loop:f=0,gradient:p=!1,gradientColor:d=[255,255,255],gradientWidth:h=200,onFinish:m,onCycleComplete:g,onMount:v,children:y},b){let[E,w]=r.useState(0),[A,S]=r.useState(0),[O,R]=r.useState(1),[T,x]=r.useState(!1),k=r.useRef(null),I=b||k,C=r.useRef(null),P=r.useCallback(()=>{if(C.current&&I.current){let e=I.current.getBoundingClientRect(),t=C.current.getBoundingClientRect(),r=e.width,a=t.width;("up"===u||"down"===u)&&(r=e.height,a=t.height),n&&r&&a?R(a<r?Math.ceil(r/a):1):R(1),w(r),S(a)}},[n,I,u]);r.useEffect(()=>{if(T&&(P(),C.current&&I.current)){let e=new ResizeObserver(()=>P());return e.observe(I.current),e.observe(C.current),()=>{e&&e.disconnect()}}},[P,I,T]),r.useEffect(()=>{P()},[P,y]),r.useEffect(()=>{x(!0)},[]),r.useEffect(()=>{"function"==typeof v&&v()},[]);let L=r.useMemo(()=>n?A*O/l:A<E?E/l:A/l,[n,E,A,O,l]),$=`rgba(${d[0]}, ${d[1]}, ${d[2]}`,N=r.useMemo(()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!i||o?"paused":"running","--pause-on-click":!i||o&&!s||s?"paused":"running","--width":"up"===u||"down"===u?"100vh":"100%","--transform":"up"===u?"rotate(-90deg)":"down"===u?"rotate(90deg)":"none"}),[e,i,o,s,u]),F=r.useMemo(()=>({"--gradient-color":`${$}, 1), ${$}, 0)`,"--gradient-width":"number"==typeof h?`${h}px`:h}),[$,h]),M=r.useMemo(()=>({"--play":i?"running":"paused","--direction":"left"===u?"normal":"reverse","--duration":`${L}s`,"--delay":`${c}s`,"--iteration-count":f?`${f}`:"infinite","--min-width":n?"auto":"100%"}),[i,u,L,c,f,n]),_=r.useMemo(()=>({"--transform":"up"===u?"rotate(90deg)":"down"===u?"rotate(-90deg)":"none"}),[u]),D=r.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,t)=>a.default.createElement(r.Fragment,{key:t},r.Children.map(y,e=>a.default.createElement("div",{style:_,className:"child"},e)))),[_,y]);return T?a.default.createElement("div",{ref:I,style:N,className:"marquee-container "+t},p&&a.default.createElement("div",{style:F,className:"overlay"}),a.default.createElement("div",{className:"marquee",style:M,onAnimationIteration:g,onAnimationEnd:m},a.default.createElement("div",{className:"initial-child-container",ref:C},r.Children.map(y,e=>a.default.createElement("div",{style:_,className:"child"},e))),D(O-1)),a.default.createElement("div",{className:"marquee",style:M},D(O))):null});t.Z=i},18612:function(e,t,n){"use strict";var r=n(67294),a=n(45697),i=n(11215),o=n(7869),s=n(17378),u=r.createElement;function l(e){var t="language-".concat(e.language),n={className:t}
1,r={className:[e.className,t].filter(Boolean).join(" ")};e.inline&&(n.style={display:"inline"},n.className=e.className);var a=i.highlight(e.value,e.language);e.markers&&e.markers.length>0&&(a=s(a,{markers:e.markers}));var l=u("code",n,0===a.length?e.value:a.map(o.depth(0)));return e.inline?l:u("pre",r,l)}l.propTypes={className:a.string,inline:a.bool,language:a.string.isRequired,value:a.string.isRequired,markers:a.arrayOf(a.oneOfType([a.number,a.shape({line:a.number.isRequired,className:a.string,component:a.oneOfType([a.node,a.func])})]))},l.defaultProps={className:"refractor",inline:!1},l.registerLanguage=function(e){return i.register(e)},l.hasLanguage=function(e){return i.registered(e)},e.exports=l},17378:function(e,t,n){"use strict";var r=n(67365),a=n(24948),i=n(96662);e.exports=function(e,t){var n=t.markers.map(function(e){return e.line?e:{line:e}}).sort(function(e,t){return e.line-t.line});return function(e,t,n){if(0===t.length||0===e.length)return e;for(var o=t.reduce(function(e,t){return function(e,t){var n={type:"root",children:t},o=new i,s=new i,u=new i,l=[];function c(e,t,r){l.push(t),r.forEach(function(t){e.has(t)||(e.set(t,Object.assign({},t,{children:[]})),t!==n&&l.push(t))});for(var a=r.length;a--;){var i=e.get(r[a]),o=r[a+1],s=e.get(o)||t;-1===i.children.indexOf(s)&&i.children.push(s)}}a(n,function(t,n){if(!t.children){if(t.lineStart<e){c(o,t,n);return}if(t.lineStart===e){c(s,t,n);return}t.lineEnd>e&&l.some(function(e){return -1!==n.indexOf(e)})&&c(u,t,n)}});var f=r(n,function(e){return -1===l.indexOf(e)}),p=function(e){var t=e.get(n);return t?(a(t,function(e,t){if(e.children){e.lineStart=0,e.lineEnd=0;return}t.forEach(function(t){t.lineStart=Math.max(t.lineStart,e.lineStart),t.lineEnd=Math.max(t.lineEnd,e.lineEnd)})}),t.children):[]},d=[].concat(p(o),p(s),p(u),f?f.children:[]);return o.clear(),s.clear(),u.clear(),d}(t.line,e)},e),s=[],u=0,l=0;l<t.length;l++){for(var c=t[l],f=o[u];f&&f.lineEnd<c.line;f=o[++u])s.push(f);for(var p=[],d=o[u];d&&d.lineEnd===c.line;d=o[++u])p.push(d);p.length>0&&s.push(function(e,t,n){var r=t.className||"refractor-marker";return{type:"element",tagName:t.component||"div",properties:t.component?Object.assign({},n,{className:r}):{className:r},children:e,lineStart:t.line,lineEnd:e[e.length-1].lineEnd,isMarker:!0}}(p,c,n))}for(;u<o.length;)s.push(o[u++]);return s}(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lineNumber:1};return t.reduce(function(t,r){var a=n.lineNumber;if("text"===r.type){if(-1===r.value.indexOf("\n"))return r.lineStart=a,r.lineEnd=a,t.nodes.push(r),t;for(var i=r.value.split("\n"),o=0;o<i.length;o++){var s=0===o?n.lineNumber:++n.lineNumber;t.nodes.push({type:"text",value:o===i.length-1?i[o]:"".concat(i[o],"\n"),lineStart:s,lineEnd:s})}return t.lineNumber=n.lineNumber,t}if(r.children){var u=e(r.children,n),l=u.nodes[0],c=u.nodes[u.nodes.length-1];return r.lineStart=l?l.lineStart:a,r.lineEnd=c?c.lineEnd:a,r.children=u.nodes,t.lineNumber=u.lineNumber,t.nodes.push(r),t}return t.nodes.push(r),t},{nodes:[],lineNumber:n.lineNumber})}(e).nodes,n,t)}},96662:function(e){"use strict";function t(){this.map=new WeakMap}function n(){this.keys=[],this.values=[]}e.exports="function"==typeof WeakMap?t:n,t.prototype.has=function(e){return this.map.has(e)},t.prototype.set=function(e,t){return this.map.set(e,t),this},t.prototype.get=function(e){return this.map.get(e)},t.prototype.clear=function(){},n.prototype.has=function(e){return -1!==this.keys.indexOf(e)},n.prototype.set=function(e,t){var n=this.keys.indexOf(e);return -1===n?(this.keys.push(e),this.values.push(t)):this.values[n]=t,this},n.prototype.get=function(e){var t=this.keys.indexOf(e);return -1===t?void 0:this.values[t]},n.prototype.clear=function(){this.keys=[],this.values=[]}},7869:function(e,t,n){"use strict";var r=n(67294);t.depth=function e(t){return function(n,a){return function(t,n,a){if(t.tagName){var i=t.properties&&Array.isArray(t.properties.className)?t.properties.className.join(" "):t.properties.className;return r.createElement(t.tagName,Object.assign({key:"fract-".concat(a,"-").concat(n)},t.properties,{className:i}),t.children&&t.children.map(e(a+1)))}return t.value}(n,a,t)}}},92283:function(e){"use strict";function t(){return!0}e.exports=function e(n){if(null==n)return t;if("string"==typeof n)return function(e){return!!(e&&e.type===n)};if("object"==typeof n)return"length"in n?function(t){for(var n=[],r=-1;++r<t.length;)n[r]=e(t[r]);return function(){for(var e=-1;++e<n.length;)if(n[e].apply(this,arguments))return!0;return!1}}(n):function(e){var t;for(t in n)if(e[t]!==n[t])return!1;return!0};if("function"==typeof n)return n;throw Error("Expected function, string, or object as test")}},33381:function(e){e.exports=function(e){return e}},24948:function(e,t,n){"use strict";e.exports=o;var r=n(92283),a=n(33381),i="skip";function o(e,t,n,o){var s,u;"function"==typeof t&&"function"!=typeof n&&(o=n,n=t,t=null),u=r(t),s=o?-1:1,(function e(r,l,c){var f,p="object"==typeof r&&null!==r?r:{};
1return"string"==typeof p.type&&(f="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0,d.displayName="node ("+a(p.type+(f?"<"+f+">":""))+")"),d;function d(){var a,f,p,d=c.concat(r),h=[];if((!t||u(r,l,c[c.length-1]||null))&&!1===(h=null!==(a=n(r,c))&&"object"==typeof a&&"length"in a?a:"number"==typeof a?[!0,a]:[a])[0])return h;if(r.children&&h[0]!==i)for(p=(o?r.children.length:-1)+s;p>-1&&p<r.children.length;){if(!1===(f=e(r.children[p],p,d)())[0])return f;p="number"==typeof f[1]?f[1]:p+s}return h}})(e,null,[])()}o.CONTINUE=!0,o.SKIP=i,o.EXIT=!1},11215:function(e,t,n){"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),u=n(57574),l=n(28325),c=n(2717),f=n(12049),p=n(29726),d=n(36155);o();var h={}.hasOwnProperty;function m(){}m.prototype=l;var g=new m;function v(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===g.languages[e.displayName]&&e(g)}e.exports=g,g.highlight=function(e,t){var n,r=l.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===g.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(h.call(g.languages,t))n=g.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},g.register=v,g.alias=function(e,t){var n,r,a,i,o=g.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i<a;)o[r[i]]=o[n]},g.registered=function(e){if("string"!=typeof e)throw Error("Expected `string` for `language`, got `"+e+"`");return h.call(g.languages,e)},g.listLanguages=function(){var e,t=g.languages,n=[];for(e in t)h.call(t,e)&&"object"==typeof t[e]&&n.push(e);return n},v(c),v(f),v(p),v(d),g.util.encode=function(e){return e},g.Token.stringify=function(e,t,n){var r;return"string"==typeof e?{type:"text",value:e}:"Array"===g.util.type(e)?function(e,t){for(var n,r=[],a=e.length,i=-1;++i<a;)""!==(n=e[i])&&null!=n&&r.push(n);for(i=-1,a=r.length;++i<a;)n=r[i],r[i]=g.Token.stringify(n,t,r);return r}(e,t):(r={type:e.type,content:g.Token.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n},e.alias&&(r.classes=r.classes.concat(e.alias)),g.hooks.run("wrap",r),s(r.tag+"."+r.classes.join("."),function(e){var t;for(t in e)e[t]=u(e[t]);return e}(r.attributes),r.content))}},6979:function(e){"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
1CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>
1&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o<a.length;o++)i[a[o]]=e.languages.bash[a[o]];e.languages.shell=e.languages.bash}(e)}e.exports=t,t.displayName="bash",t.aliases=["shell"]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],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:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return r}),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(/<OPT>/g,function(){return a}).replace(/<SP>/g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},51519:function(e){"use strict";function t(e){e.languages.go=e.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/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"}
1,keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},36155:function(e){"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.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}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.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|(?:\((?:[^()]|\([^()]
1*\))*\)|(?!\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:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.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:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.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})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.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"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.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")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},45950:function(e){"use strict";function t(e){e.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"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},2717:function(e){"use strict";function t(e){e.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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\
1s'">=]+(?=[\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:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},90596:function(e){"use strict";function t(e){var t;t="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+t+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0}
1,string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},49246:function(e,t,n){"use strict";var r=n(6979);function a(e){var t;e.register(r),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%
1*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=a,a.displayName="shellSession",a.aliases=[]},11114:function(e){"use strict";function t(e){e.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?|CASE|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:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?
1:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.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/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript}
1e.exports=t,t.displayName="typescript",t.aliases=["ts"]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ 	]+"+t.source+")?|"+t.source+"(?:[ 	]+"+n.source+")?)",a=/(?:[^\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 o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).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 r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\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:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?: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}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},31304:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө"
1:"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","∑":"soma","\xa3":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function n(n,r){if("string"!=typeof n)throw Error("slugify: string argument expected");var a=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},i=void 0===r.replacement?"-":r.replacement,o=void 0===r.trim||r.trim,s=n.normalize().split("").reduce(function(t,n){var o=a[n];return void 0===o&&(o=e[n]),void 0===o&&(o=n),o===i&&(o=" "),t+o.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return r.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),o&&(s=s.trim()),s=s.replace(/\s+/g,i),r.lower&&(s=s.toLowerCase()),s}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},67365:function(e,t,n){"use strict";var r=n(9933);e.exports=function(e,t,n){var i=r(n||t),o=null==t.cascade||t.cascade;return function e(t,n,r){var s,u,l,c,f;if(!i(t,n,r))return null;if(t.children){for(s=[],u=-1;++u<t.children.length;)(l=e(t.children[u],u,t))&&s.push(l);if(o&&t.children.length&&!s.length)return null}for(f in c={},t)a.call(t,f)&&(c[f]="children"===f?s:t[f]);return c}(e,null,null)};var a={}.hasOwnProperty},9933:function(e){"use strict";function t(){return!0}e.exports=function e(n){if(null==n)return t;if("string"==typeof n)return function(e){return!!(e&&e.type===n)};if("object"==typeof n)return"length"in n?function(t){for(var n=[],r=-1;++r<t.length;)n[r]=e(t[r]);return function(){for(var e=-1;++e<n.length;)if(n[e].apply(this,arguments))return!0;return!1}}(n):function(e){var t;for(t in n)if(e[t]!==n[t])return!1;return!0};if("function"==typeof n)return n;throw Error("Expected function, string, or object as test")}},47529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var a in r)t.call(r,a)&&(e[a]=r[a])}return e};var t=Object.prototype.hasOwnProperty},93967:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];
1n&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}(n)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):void 0!==(n=(function(){return a}).apply(t,[]))&&(e.exports=n)}()},17206:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){var r,a;r=t,a=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function o(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function s(e){return o(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function u(e){return"@list"===e._type}function l(e){return"@span"===e._type}function c(e){return"@text"===e._type}n.d(t,{HW:function(){return o},Ic:function(){return d},Ii:function(){return s},Kv:function(){return b},RR:function(){return E},m9:function(){return c},pY:function(){return function e(t){let n="";return t.children.forEach(t=>{c(t)?n+=t.text:l(t)&&(n+=e(t))}),n}},qS:function(){return u},tX:function(){return l},zL:function(){return h}});let f=["strong","em","code","underline","strike-through"];function p(e,t,n){if(!i(e)||!e.marks||!e.marks.length)return[];let r=e.marks.slice(),a={};return r.forEach(e=>{a[e]=1;for(let r=t+1;r<n.length;r++){let t=n[r];if(t&&i(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))a[e]++;else break}}),r.sort((e,t)=>(function(e,t,n){let r=e[t],a=e[n];if(r!==a)return a-r;let i=f.indexOf(t),o=f.indexOf(n);return i!==o?i-o:t.localeCompare(n)})(a,e,t))}function d(e){var t;let{children:n,markDefs:r=[]}=e;if(!n||!n.length)return[];let a=n.map(p),o={_type:"@span",children:[],markType:"<unknown>"},s=[o];for(let e=0;e<n.length;e++){let o=n[e];if(!o)continue;let u=a[e]||[],l=1;if(s.length>1)for(;l<s.length;l++){let e=(null==(t=s[l])?void 0:t.markKey)||"",n=u.indexOf(e);if(-1===n)break;u.splice(n,1)}let c=(s=s.slice(0,l))[s.length-1];if(c){for(let e of u){let t=r.find(t=>t._key===e),n=t?t._type:e,a={_type:"@span",_key:o._key,children:[],markDef:t,markType:n,markKey:e};c.children.push(a),s.push(a),c=a}if(i(o)){let e=o.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");c.children=c.children.concat(e.map(e=>({_type:"@text",text:e})))}else c.children=c.children.concat(o)}}return o.children}function h(e,t){let n;let r=[];for(let o=0;o<e.length;o++){let u=e[o];if(u){var i;if(!s(u)){r.push(u),n=void 0;continue}if(!n){n=m(u,o,t),r.push(n);continue}if(i=n,(u.level||1)===i.level&&u.listItem===i.listItem){n.children.push(u);continue}if((u.level||1)>n.level){let e=m(u,o,t);if("html"===t){let t=n.children[n.children.length-1],r=a(a({},t),{},{children:[...t.children,e]});n.children[n.children.length-1]=r}else n.children.push(e);n=e;continue}if((u.level||1)<n.level){let e=r[r.length-1],a=e&&g(e,u);if(a){(n=a).children.push(u);continue}n=m(u,o,t),r.push(n);continue}if(u.listItem!==n.listItem){let e=r[r.length-1],a=e&&g(e,{level:u.level||1});if(a&&a.listItem===u.listItem){(n=a).children.push(u);continue}n=m(u,o,t),r.push(n);continue}console.warn("Unknown state encountered for block",u),r.push(u)}}return r}function m(e,t,n){return{_type:"@list",_key:"".concat(e._key||"".concat(t),"-parent"),mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}
1function g(e,t){let n=t.level||1,r=t.listItem||"normal",a="string"==typeof t.listItem;if(u(e)&&(e.level||1)===n&&a&&(e.listItem||"normal")===r)return e;if(!("children"in e))return;let o=e.children[e.children.length-1];return o&&!i(o)?g(o,t):void 0}let v=/^\s/,y=/^\s/;function b(e){let t=Array.isArray(e)?e:[e],n="";return t.forEach((e,r)=>{if(!o(e))return;let a=!1;e.children.forEach(e=>{i(e)?(n+=(a&&n&&!y.test(n)&&!v.test(e.text)?" ":"")+e.text,a=!1):a=!0}),r!==t.length-1&&(n+="\n\n")}),n}let E="html"},57274:function(e,t,n){"use strict";n.d(t,{vb:function(){return c}});let r={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};function a(e,t){return t}function i(e){return"object"!=typeof e||null===e?0:Array.isArray(e)?2:!function(e){if(!s.has(Object.prototype.toString.call(e)))return!1;let{constructor:t}=e;if(void 0===t)return!0;let n=t.prototype;return!!(null!==n&&"object"==typeof n&&s.has(Object.prototype.toString.call(n))&&n.hasOwnProperty("isPrototypeOf"))}(e)?e instanceof Set?3:e instanceof Map?4:5:1}function o(e){return{*[Symbol.iterator](){for(let t of e)for(let e of t)yield e}}}r.defaultMerge;let s=new Set(["[object Object]","[object Module]"]);function u(e){return e.at(-1)}var l=Object.freeze({__proto__:null,mergeArrays:function(e){return e.flat()},mergeMaps:function(e){return new Map(o(e))},mergeOthers:u,mergeRecords:function(e,t,n){let a={};for(let i of function(e){let t=new Set;for(let n of e)for(let e of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(e);return t}(e)){let o=[];for(let t of e)"object"==typeof t&&Object.prototype.propertyIsEnumerable.call(t,i)&&o.push(t[i]);if(0===o.length)continue;let s=t.metaDataUpdater(n,{key:i,parents:e}),u=f(o,t,s);u!==r.skip&&("__proto__"===i?Object.defineProperty(a,i,{value:u,configurable:!0,enumerable:!0,writable:!0}):a[i]=u)}return a},mergeSets:function(e){return new Set(o(e))}});function c(...e){return(function(e,t){let n={defaultMergeFunctions:l,mergeFunctions:{...l,...Object.fromEntries(Object.entries(e).filter(([e,t])=>Object.hasOwn(l,e)).map(([e,t])=>!1===t?[e,u]:[e,t]))},metaDataUpdater:e.metaDataUpdater??a,deepmerge:i,useImplicitDefaultMerging:e.enableImplicitDefaultMerging??!1,actions:r};function i(...e){return f(e,n,void 0)}return i})({})(...e)}function f(e,t,n){if(0===e.length)return;if(1===e.length)return p(e,t,n);let a=i(e[0]);if(0!==a&&5!==a){for(let r=1;r<e.length;r++)if(i(e[r])!==a)return p(e,t,n)}switch(a){case 1:return function(e,t,n){let a=t.mergeFunctions.mergeRecords(e,t,n);return a===r.defaultMerge||t.useImplicitDefaultMerging&&void 0===a&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):a}
1(e,t,n);case 2:return function(e,t,n){let a=t.mergeFunctions.mergeArrays(e,t,n);return a===r.defaultMerge||t.useImplicitDefaultMerging&&void 0===a&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):a}(e,t,n);case 3:return function(e,t,n){let a=t.mergeFunctions.mergeSets(e,t,n);return a===r.defaultMerge||t.useImplicitDefaultMerging&&void 0===a&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):a}(e,t,n);case 4:return function(e,t,n){let a=t.mergeFunctions.mergeMaps(e,t,n);return a===r.defaultMerge||t.useImplicitDefaultMerging&&void 0===a&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):a}(e,t,n);default:return p(e,t,n)}}function p(e,t,n){let a=t.mergeFunctions.mergeOthers(e,t,n);return a===r.defaultMerge||t.useImplicitDefaultMerging&&void 0===a&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):a}},21974:function(e,t,n){"use strict";n.d(t,{H:function(){return M}});var r=n(96681),a=n(65411),i=n(37301),o=n(56955),s=n(45487),u=n(2074);let l=(0,n(4522).X)(()=>void 0!==window.ScrollTimeline);class c{constructor(e){this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>{if(!l()||!t.attachTimeline)return t.pause(),function(e,t){let n;let r=()=>{let{currentTime:r}=t,a=(null===r?0:r.value)/100;n!==a&&e(a),n=a};return u.Wi.update(r,!0),()=>(0,u.Pn)(r)}(e=>{t.time=t.duration*e},e);t.attachTimeline(e)});return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}var f=n(18254),p=n(75194),d=n(25794),h=n(34547),m=n(61059),g=n(85086),v=n(42284),y=n(86917),b=n(60599),E=n(26615),w=n(23967),A=n(40406);function S(e,t,n,r){var a;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!==(a=r.get(t))&&void 0!==a?a:e}let O=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};var R=n(43338),T=n(10010),x=n(80022);function k(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function I(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function C(e,t){return t[e]||(t[e]=[]),t[e]}let P=e=>"number"==typeof e,L=e=>e.every(P);function $(e,t,n,r){let a=(0,i.I)(e,r),u=a.length;(0,s.k)(!!u,"No valid element provided.");let l=[];for(let e=0;e<u;e++){let r=a[e];o.R.has(r)||function(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,p.v)(e)?new d.e(t,{enableHardwareAcceleration:!1}):new h.W(t,{enableHardwareAcceleration:!0});n.mount(e),o.R.set(e,n)}(r);let i=o.R.get(r),s={...n};"function"==typeof s.delay&&(s.delay=s.delay(e,u)),l.push(...(0,f.w)(i,{...t,transition:s},{}))}return new c(l)}let N=e=>Array.isArray(e)&&Array.isArray(e[0]),F=e=>function(t,n,r){let a;return a=N(t)?function(e,t,n){let r=[];return(function(e,{defaultTransition:t={},...n}={},r){let a=t.duration||.3,o=new Map,s=new Map,u={},l=new Map,c=0,f=0,p=0;for(let n=0;n<e.length;n++){let o=e[n];if("string"==typeof o){l.set(o,f);continue}if(!Array.isArray(o)){l.set(o.name,S(f,o.at,c,l));continue}let[d,h,m={}]=o;void 0!==m.at&&(f=S(f,m.at,c,l));let w=0,k=(e,n,r,i=0,o=0)=>{let s=Array.isArray(e)?e:[e],{delay:u=0,times:l=(0,b.Y)(s),type:c="keyframes",...d}=n,{ease:h=t.ease||"easeOut",duration:m}=n,A="function"==typeof u?u(i,o):u,S=s.length;if(S<=2&&"spring"===c){let e=100;2===S&&L(s)&&(e=Math.abs(s[1]-s[0]));let t={...d};void 0!==m&&(t.duration=(0,y.w)(m));
1let n=function(e,t=100){let n=(0,g.S)({keyframes:[0,t],...e}),r=Math.min((0,v.i)(n),v.E);return{type:"keyframes",ease:e=>n.next(r*e).value/t,duration:(0,y.X)(r)}}(t,e);h=n.ease,m=n.duration}null!=m||(m=a);let k=f+A,I=k+m;1===l.length&&0===l[0]&&(l[1]=1);let C=l.length-s.length;C>0&&(0,E.c)(l,C),1===s.length&&s.unshift(null),function(e,t,n,r,a,i){!function(e,t,n){for(let r=0;r<e.length;r++){let a=e[r];a.at>t&&a.at<n&&((0,T.cl)(e,a),r--)}}(e,a,i);for(let s=0;s<t.length;s++){var o;e.push({value:t[s],at:(0,x.C)(a,i,r[s]),easing:(o=s,(0,R.N)(n)?n[O(0,n.length,o)]:n)})}}(r,s,h,l,k,I),w=Math.max(A+m,w),p=Math.max(I,p)};if((0,A.i)(d))k(h,m,C("default",I(d,s)));else{let e=(0,i.I)(d,r,u),t=e.length;for(let n=0;n<t;n++){let r=I(e[n],s);for(let e in h)k(h[e],m[e]?{...m,...m[e]}:{...m},C(e,r),n,t)}c=f,f+=w}}return s.forEach((e,r)=>{for(let a in e){let i=e[a];i.sort(k);let s=[],u=[],l=[];for(let e=0;e<i.length;e++){let{at:t,value:n,easing:r}=i[e];s.push(n),u.push((0,w.Y)(0,p,t)),l.push(r||"easeOut")}0!==u[0]&&(u.unshift(0),s.unshift(s[0]),l.unshift("easeInOut")),1!==u[u.length-1]&&(u.push(1),s.push(null)),o.has(r)||o.set(r,{keyframes:{},transition:{}});let c=o.get(r);c.keyframes[a]=s,c.transition[a]={...t,duration:p,ease:l,times:u,...n}}}),o})(e,t,n).forEach(({keyframes:e,transition:t},n)=>{let a;a=(0,A.i)(n)?(0,m.D)(n,e.default,t.default):$(n,e,t),r.push(a)}),new c(r)}(t,n,e):"object"!=typeof n||Array.isArray(n)?(0,m.D)(t,n,r):$(t,n,r,e),e&&e.animations.push(a),a};function M(){let e=(0,r.h)(()=>({current:null,animations:[]})),t=(0,r.h)(()=>F(e));return(0,a.z)(()=>{e.animations.forEach(e=>e.stop())}),[e,t]}F()},20098:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(48001);function a(e=.1,{startDelay:t=0,from:n=0,ease:a}={}){return(i,o)=>{let s=e*Math.abs(("number"==typeof n?n:function(e,t){if("first"===e)return 0;{let n=t-1;return"last"===e?n:n/2}}(n,o))-i);if(a){let t=o*e;s=(0,r.R)(a)(s/t)*t}return t+s}}},65820:function(e,t,n){"use strict";n.d(t,{M:function(){return v}});var r=n(67294),a=n(58868);function i(){let e=(0,r.useRef)(!1);return(0,a.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var o=n(2074),s=n(240),u=n(96681);class l extends r.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:t}){let n=(0,r.useId)(),a=(0,r.useRef)(null),i=(0,r.useRef)({width:0,height:0,top:0,left:0});return(0,r.useInsertionEffect)(()=>{let{width:e,height:r,top:o,left:s}=i.current;if(t||!a.current||!e||!r)return;a.current.dataset.motionPopId=n;let u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
2          [data-motion-pop-id="${n}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${r}px !important;
6            top: ${o}px !important;
7            left: ${s}px !important;
8          }
9        `),()=>{document.head.removeChild(u)}},[t]),r.createElement(l,{isPresent:t,childRef:a,sizeRef:i},r.cloneElement(e,{ref:a}))}let f=({children:e,initial:t,isPresent:n,onExitComplete:a,custom:i,presenceAffectsLayout:o,mode:l})=>{let f=(0,u.h)(p),d=(0,r.useId)(),h=(0,r.useMemo)(()=>({id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;a&&a()},register:e=>(f.set(e,!1),()=>f.delete(e))}),o?void 0:[n]);return(0,r.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[n]),r.useEffect(()=>{n||f.size||!a||a()},[n]),"popLayout"===l&&(e=r.createElement(c,{isPresent:n},e)),r.createElement(s.O.Provider,{value:h},e)};function p(){return new Map}var d=n(25364),h=n(65411),m=n(45487);let g=e=>e.key||"",v=({children:e,custom:t,initial:n=!0,onExitComplete:s,exitBeforeEnter:u,presenceAffectsLayout:l=!0,mode:c="sync"})=>{(0,m.k)(!u,"Replace exitBeforeEnter with mode='wait'");let p=(0,r.useContext)(d.p).forceRender||function(){let e=i(),[t,n]=(0,r.useState)(0),a=(0,r.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,r.useCallback)(()=>o.Wi.postRender(a),[a]),t]}()[0],v=i(),y=function(e){let t=[];
9return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}(e),b=y,E=(0,r.useRef)(new Map).current,w=(0,r.useRef)(b),A=(0,r.useRef)(new Map).current,S=(0,r.useRef)(!0);if((0,a.L)(()=>{S.current=!1,function(e,t){e.forEach(e=>{let n=g(e);t.set(n,e)})}(y,A),w.current=b}),(0,h.z)(()=>{S.current=!0,A.clear(),E.clear()}),S.current)return r.createElement(r.Fragment,null,b.map(e=>r.createElement(f,{key:g(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:l,mode:c},e)));b=[...b];let O=w.current.map(g),R=y.map(g),T=O.length;for(let e=0;e<T;e++){let t=O[e];-1!==R.indexOf(t)||E.has(t)||E.set(t,void 0)}return"wait"===c&&E.size&&(b=[]),E.forEach((e,n)=>{if(-1!==R.indexOf(n))return;let a=A.get(n);if(!a)return;let i=O.indexOf(n),o=e;o||(o=r.createElement(f,{key:g(a),isPresent:!1,onExitComplete:()=>{E.delete(n);let e=Array.from(A.keys()).filter(e=>!R.includes(e));if(e.forEach(e=>A.delete(e)),w.current=y.filter(t=>{let r=g(t);return r===n||e.includes(r)}),!E.size){if(!1===v.current)return;p(),s&&s()}},custom:t,presenceAffectsLayout:l,mode:c},a),E.set(n,o)),b.splice(i,0,o)}),b=b.map(e=>{let t=e.key;return E.has(t)?e:r.createElement(f,{key:g(e),isPresent:!0,presenceAffectsLayout:l,mode:c},e)}),r.createElement(r.Fragment,null,E.size?b:b.map(e=>(0,r.cloneElement)(e)))}},16893:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(67294),a=n(37301);let i={some:0,all:1};function o(e,{root:t,margin:n,amount:o,once:s=!1}={}){let[u,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e.current||s&&u)return;let r={root:t&&t.current||void 0,margin:n,amount:o};return function(e,t,{root:n,margin:r,amount:o="some"}={}){let s=(0,a.I)(e),u=new WeakMap,l=new IntersectionObserver(e=>{e.forEach(e=>{let n=u.get(e.target);if(!!n!==e.isIntersecting){if(e.isIntersecting){let n=t(e);"function"==typeof n?u.set(e.target,n):l.unobserve(e.target)}else n&&(n(e),u.delete(e.target))}})},{root:n,rootMargin:r,threshold:"number"==typeof o?o:i[o]});return s.forEach(e=>l.observe(e)),()=>l.disconnect()}(e.current,()=>(l(!0),s?void 0:()=>l(!1)),r)},[t,e,n,s]),u}},65411:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(67294);function a(e){return(0,r.useEffect)(()=>()=>e(),[])}},65512:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(4960),a=n(58868),i=n(2074);function o(e,t){let n=(0,r.c)(t()),o=()=>n.set(t());return o(),(0,a.L)(()=>{let t=()=>i.Wi.update(o,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,i.Pn)(o)}}),n}},63305:function(e,t,n){"use strict";n.d(t,{Y:function(){return i}});var r=n(65512),a=n(40406);function i(e,...t){let n=e.length;return(0,r.N)(t.filter(a.i),function(){let r="";for(let i=0;i<n;i++){r+=e[i];let n=t[i];n&&(r+=(0,a.i)(n)?n.get():n)}return r})}},4960:function(e,t,n){"use strict";n.d(t,{c:function(){return s}});var r=n(67294),a=n(33234),i=n(16014),o=n(96681);function s(e){let t=(0,o.h)(()=>(0,a.BX)(e)),{isStatic:n}=(0,r.useContext)(i._);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}},4002:function(e,t,n){"use strict";n.d(t,{q:function(){return f}});var r=n(67294),a=n(40406),i=n(4960),o=n(16014),s=n(58868),u=n(83194),l=n(86917),c=n(2074);function f(e,t={}){let{isStatic:n}=(0,r.useContext)(o._),f=(0,r.useRef)(null),p=(0,i.c)((0,a.i)(e)?e.get():e),d=()=>{f.current&&f.current.stop()};return(0,r.useInsertionEffect)(()=>p.attach((e,r)=>{if(n)return r(e);if(d(),f.current=(0,u.y)({keyframes:[p.get(),e],velocity:p.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:r}),!c.frameData.isProcessing){let e=performance.now()-c.frameData.timestamp;e<30&&(f.current.time=(0,l.X)(e))}return p.get()},d),[JSON.stringify(t)]),(0,s.L)(()=>{if((0,a.i)(e))return e.on("change",e=>p.set(parseFloat(e)))},[p]),p}},79825:function(e,t,n){"use strict";n.d(t,{H:function(){return l}});var r=n(64606);let a=e=>"object"==typeof e&&e.mix,i=e=>a(e)?e.mix:void 0;var o=n(65512),s=n(96681),u=n(33234);function l(e,t,n,a){if("function"==typeof e)return function(e){u.S1.current=[],e();let t=(0,o.N)(u.S1.current,e);return u.S1.current=void 0,t}(e);let s="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,a=e[0+n],o=e[1+n],s=e[2+n],u=e[3+n],l=(0,r.s)(o,s,{mixer:i(s[0]),...u});return t?l(a):l}(t,n,a);return Array.isArray(e)?c(e,s):c([e],([e])=>s(e))}function c(e,t){let n=(0,s.h)(()=>[]);return(0,o.N)(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}},93580:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},21922:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","A
9circ":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}}]);

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.