PageSourceSearch

https://vidtoprompt.net/_next/static/chunks/34019-b163afe7f3e50403.js

js vidtoprompt.net collected 2026-10-04 03:58:20 UTC 43,300 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34019],{7251:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},11989:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(71500);function o(e,t,n=function e(t,n){return Array.isArray(t)&&Array.isArray(n)?n.length!==t.length||t.some((t,r)=>e(t,n[r])):t!==n}){let[i,a]=(0,r.useState)(e);n(i,e)&&(t(e,i),a(e))}},12271:(e,t,n)=>{n.d(t,{N:()=>w});var r=n(47808),o=n(71500),i=n(45170),a=n(86542),s=n(3855),l=n(36692),u=n(65580),c=n(12709);class d extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,u.s)(e)&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function h(e){let{children:t,isPresent:n,anchorX:i,root:a}=e,s=(0,o.useId)(),l=(0,o.useRef)(null),u=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:h}=(0,o.useContext)(c.Q);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:o,right:c}=u.current;if(n||!l.current||!e||!t)return;l.current.dataset.motionPopId=s;let d=document.createElement("style");h&&(d.nonce=h);let f=null!=a?a:document.head;return f.appendChild(d),d.sheet&&d.sheet.insertRule('\n          [data-motion-pop-id="'.concat(s,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            ").concat("left"===i?"left: ".concat(o):"right: ".concat(c),"px !important;\n            top: ").concat(r,"px !important;\n          }\n        ")),()=>{f.contains(d)&&f.removeChild(d)}},[n]),(0,r.jsx)(d,{isPresent:n,childRef:l,sizeRef:u,children:o.cloneElement(t,{ref:l})})}let f=e=>{let{children:t,initial:n,isPresent:i,onExitComplete:s,custom:u,presenceAffectsLayout:c,mode:d,anchorX:f,root:g}=e,v=(0,a.M)(p),m=(0,o.useId)(),w=!0,y=(0,o.useMemo)(()=>(w=!1,{id:m,initial:n,isPresent:i,custom:u,onExitComplete:e=>
1{for(let t of(v.set(e,!0),v.values()))if(!t)return;s&&s()},register:e=>(v.set(e,!1),()=>v.delete(e))}),[i,v,s]);return c&&w&&(y={...y}),(0,o.useMemo)(()=>{v.forEach((e,t)=>v.set(t,!1))},[i]),o.useEffect(()=>{i||v.size||!s||s()},[i]),"popLayout"===d&&(t=(0,r.jsx)(h,{isPresent:i,anchorX:f,root:g,children:t})),(0,r.jsx)(l.t.Provider,{value:y,children:t})};function p(){return new Map}var g=n(30403);let v=e=>e.key||"";function m(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}let w=e=>{let{children:t,custom:n,initial:l=!0,onExitComplete:u,presenceAffectsLayout:c=!0,mode:d="sync",propagate:h=!1,anchorX:p="left",root:w}=e,[y,x]=(0,g.xQ)(h),b=(0,o.useMemo)(()=>m(t),[t]),M=h&&!y?[]:b.map(v),_=(0,o.useRef)(!0),k=(0,o.useRef)(b),C=(0,a.M)(()=>new Map),[R,j]=(0,o.useState)(b),[E,P]=(0,o.useState)(b);(0,s.E)(()=>{_.current=!1,k.current=b;for(let e=0;e<E.length;e++){let t=v(E[e]);M.includes(t)?C.delete(t):!0!==C.get(t)&&C.set(t,!1)}},[E,M.length,M.join("-")]);let T=[];if(b!==R){let e=[...b];for(let t=0;t<E.length;t++){let n=E[t],r=v(n);M.includes(r)||(e.splice(t,0,n),T.push(n))}return"wait"===d&&T.length&&(e=T),P(m(e)),j(b),null}let{forceRender:N}=(0,o.useContext)(i.L);return(0,r.jsx)(r.Fragment,{children:E.map(e=>{let t=v(e),o=(!h||!!y)&&(b===E||M.includes(t));return(0,r.jsx)(f,{isPresent:o,initial:(!_.current||!!l)&&void 0,custom:n,presenceAffectsLayout:c,mode:d,root:w,onExitComplete:o?void 0:()=>{if(!C.has(t))return;C.set(t,!0);let e=!0;C.forEach(t=>{t||(e=!1)}),e&&(null==N||N(),P(k.current),h&&(null==x||x()),u&&u())},anchorX:p,children:e},t)})})}},14066:(e,t,n)=>{n.d(t,{default:()=>o.a});var r=n(67743),o=n.n(r)},14569:(e,t,n)=>{n.d(t,{TOCItems:()=>p,TOCProvider:()=>h,TOCScrollArea:()=>f,a:()=>d});var r=n(47808),o=n(69723),i=n(71500),a=n(43753),s=n(89114),l=n(14796),u=n(23258);let c=(0,i.createContext)([]);function d(){return(0,i.useContext)(c)}function h(e){let{toc:t,children:n,...i}=e;return(0,r.jsx)(c,{value:t,children:(0,r.jsx)(o.NQ,{toc:t,...i,children:n})})}function f(e){let{ref:t,className:n,...s}=e,l=(0,i.useRef)(null);return(0,r.jsx)("div",{ref:(0,u.P)(l,t),className:(0,a.QP)("relative min-h-0 text-sm ms-px overflow-auto [scrollbar-width:none] [mask-image:linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] py-3",n),...s,children:(0,r.jsx)(o.N2,{containerRef:l,children:s.children})})}function p(e){let{ref:t,className:n,...o}=e,c=(0,i.useRef)(null),h=d(),{text:f}=(0,s.useI18n)();return 0===h.length?(0,r.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:f.tocNoHeadings}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.j,{containerRef:c,className:"absolute top-(--fd-top) h-(--fd-height) w-px bg-fd-primary transition-all"}),(0,r.jsx)("div",{ref:(0,u.P)(t,c),className:(0,a.QP)("flex flex-col border-s border-fd-foreground/10",n),...o,children:h.map(e=>(0,r.jsx)(g,{item:e},e.url))})]})}function g(e){let{item:t}=e;return(0,r.jsx)(o.Cz,{href:t.url,className:(0,a.QP)("prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary",t.depth<=2&&"ps-3",3===t.depth&&"ps-6",t.depth>=4&&"ps-8"),children:t.title})}},14715:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]])},14796:(e,t,n)=>{n.d(t,{j:()=>c});var r=n(47808),o=n(71500),i=n(69723),a=n(50941),s=n(99575);function l(e,t){if(0===t.length||0===e.clientHeight)return[0,0];let n=Number.MAX_VALUE,r=0;for(let o of t){let t=e.querySelector(`a[href="#${o}"]`);if(!t)continue;let i=getComputedStyle(t);n=Math.min(n,t.offsetTop+parseFloat(i.paddingTop)),r=Math.max(r,t.offsetTop+t.clientHeight-parseFloat(i.paddingBottom))}return[n,r-n]}function u(e,t){e.style.setProperty("--fd-top",`${t[0]}px`),e.style.setProperty("--fd-height",`${t[1]}px`)}function c({containerRef:e,...t}){let n=i.Mf(),c=(0,o.useRef)(null),d=(0,s.J)(()=>{e.current&&c.current&&u(c.current,l(e.current,n))});return(0,o.useEffect)(()=>
1{if(!e.current)return;let t=e.current;d();let n=new ResizeObserver(d);return n.observe(t),()=>{n.disconnect()}},[e,d]),(0,a.T)(n,()=>{e.current&&c.current&&u(c.current,l(e.current,n))}),(0,r.jsx)("div",{ref:c,role:"none",...t})}},22977:(e,t,n)=>{n.d(t,{I:()=>a});var r=n(71500),o=n(552),i=n(9671);function a(){i.r.current||(0,o.U)();let[e]=(0,r.useState)(i.O.current);return e}},23806:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},27919:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},36324:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},40116:(e,t,n)=>{n.d(t,{W:()=>a});var r=n(71500),o=n(53343);let i={some:0,all:1};function a(e,{root:t,margin:n,amount:s,once:l=!1,initial:u=!1}={}){let[c,d]=(0,r.useState)(u);return(0,r.useEffect)(()=>{if(!e.current||l&&c)return;let r={root:t&&t.current||void 0,margin:n,amount:s};return function(e,t,{root:n,margin:r,amount:a="some"}={}){let s=(0,o.K)(e),l=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{let n=l.get(e.target);if(!!n!==e.isIntersecting)if(e.isIntersecting){let n=t(e.target,e);"function"==typeof n?l.set(e.target,n):u.unobserve(e.target)}else"function"==typeof n&&(n(e),l.delete(e.target))})},{root:n,rootMargin:r,threshold:"number"==typeof a?a:i[a]});return s.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(d(!0),l?void 0:()=>d(!1)),r)},[t,e,n,l,s]),c}},43372:(e,t,n)=>{function r(e){let{reason:t,children:n}=e;return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(37856)},43434:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},45753:(e,t,n)=>{n.d(t,{default:()=>i});var r=n(97326),o=n(47808);function i(e){let{locale:t,...n}=e;if(!t)throw Error(void 0);return(0,o.jsx)(r.Dk,{locale:t,...n})}},48276:(e,t,n)=>{n.d(t,{f:()=>m});let r="http://www.w3.org/2000/svg";class o{constructor(e){this.seed=e}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}function i(e,t,n,r,o){return{type:"path",ops:d(e,t,n,r,o)}}function a(e,t,n){let r=(e||[]).length;if(r>2){let o=[];for(let t=0;t<r-1;t++)o.push(...d(e[t][0],e[t][1],e[t+1][0],e[t+1][1],n));return t&&o.push(...d(e[r-1][0],e[r-1][1],e[0][0],e[0][1],n)),{type:"path",ops:o}}return 2===r?i(e[0][0],e[0][1],e[1][0],e[1][1],n):{type:"path",ops:[]}}function s(e,t,n,r,o){return function(e,t,n,r){let[o,i]=p(r.increment,e,t,r.rx,r.ry,1,r.increment*u(.1,u(.4,1,n),n),n),a=f(o,null,n);if(!n.disableMultiStroke){let[o]=p(r.increment,e,t,r.rx,r.ry,1.5,0,n),i=f(o,null,n);a=a.concat(i)}return{estimatedPoints:i,opset:{type:"path",ops:a}}}(e,t,o,function(e,t,n){let r=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(e/2,2)+Math.pow(t/2,2))/2)),o=2*Math.PI/Math.max(n.curveStepCount,n.curveStepCount/Math.sqrt(200)*r),i=Math.abs(e/2),a=Math.abs(t/2),s=1-n.curveFitting;return i+=c(i*s,n),a+=c(a*s,n),{increment:o,rx:i,ry:a}}(n,r,o)).opset}function l(e){return e.randomizer||(e.randomizer=new o(e.seed||0)),e.randomizer.next()}function u(e,t,n,r=1){return n.roughness*r*(l(n)*(t-e)+e)}function c(e,t,n=1){return u(-e,e,t,n)}function d(e,t,n,r,o,i=!1){let a=i?o.disableMultiStrokeFill:o.disableMultiStroke,s=h(e,t,n,r,o,!0,!1);if(a)return s;let l=h(e,t,n,r,o,!0,!0);return s.concat(l)}function h(e,t,n,r,o,i,a){let s=Math.pow(e-n,2)+Math.pow(t-r,2),u=Math.sqrt(s),d=1;d=u<200?1:u>500?.4:-.0016668*u+1.233334;let h=o.maxRandomnessOffset||0;h*h*100>s&&(h=u/10);let f=h/2,p=.2+.2*l(o),g=o.bowing*o.maxRandomnessOffset*(r-t)/200,v=o.bowing*o.maxRandomnessOffset*(e-n)/200;g=c(g,o,d),v=c(v,o,d);let m=[],w=()=>c(f,o,d),y=()=>c(h,o,d);return i&&(a?m.push({op:"move",data:[e+w(),t+w()]}):m.push({op:"move",data:[e+c(h,o,d),t+c(h,o,d)]})),a?m.push({op:"bcurveTo",data:[g+e+(n-e)*p+w(),v+t+(r-t)*p+w(),g+e+2*(n-e)*p+w(),v+t+2*(r-t)*p+w(),n+w(),r+w()]}):m.push({op:"bcurveTo",data:[g+e+(n-e)*p+y(),v+t+(r-t)*p+y(),g+e+2*(n-e)*p+y(),v+t+2*(r-t)*p+y(),n+y(),r+y()]}),m}function f(e,t,n){let r=e.length,o=[];if(r>3){let i=[],a=1-n.curveTightness;o.push({op:"move",data:[e[1][0],e[1][1]]});for(let t=1;t+2<r;t++){let n=e[t];i[0]=[n[0],n[1]],i[1]=[n[0]+(a*e[t+1][0]-a*e[t-1][0])/6,n[1]+(a*e[t+1][1]-a*e[t-1][1])/6],i[2]=[e[t+1][0]+(a*e[t][0]-a
1*e[t+2][0])/6,e[t+1][1]+(a*e[t][1]-a*e[t+2][1])/6],i[3]=[e[t+1][0],e[t+1][1]],o.push({op:"bcurveTo",data:[i[1][0],i[1][1],i[2][0],i[2][1],i[3][0],i[3][1]]})}if(t&&2===t.length){let e=n.maxRandomnessOffset;o.push({op:"lineTo",data:[t[0]+c(e,n),t[1]+c(e,n)]})}}else 3===r?(o.push({op:"move",data:[e[1][0],e[1][1]]}),o.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):2===r&&o.push(...d(e[0][0],e[0][1],e[1][0],e[1][1],n));return o}function p(e,t,n,r,o,i,a,s){let l=[],u=[],d=c(.5,s)-Math.PI/2;u.push([c(i,s)+t+.9*r*Math.cos(d-e),c(i,s)+n+.9*o*Math.sin(d-e)]);for(let a=d;a<2*Math.PI+d-.01;a+=e){let e=[c(i,s)+t+r*Math.cos(a),c(i,s)+n+o*Math.sin(a)];l.push(e),u.push(e)}return u.push([c(i,s)+t+r*Math.cos(d+2*Math.PI+.5*a),c(i,s)+n+o*Math.sin(d+2*Math.PI+.5*a)]),u.push([c(i,s)+t+.98*r*Math.cos(d+a),c(i,s)+n+.98*o*Math.sin(d+a)]),u.push([c(i,s)+t+.9*r*Math.cos(d+.5*a),c(i,s)+n+.9*o*Math.sin(d+.5*a)]),[u,l]}function g(e,t){return{maxRandomnessOffset:2,roughness:"highlight"===e?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,combineNestedSvgPaths:!1,disableMultiStroke:"double"!==e,disableMultiStrokeFill:!1,seed:t}}class v{constructor(e,t){this._state="unattached",this._resizing=!1,this._seed=Math.floor(0x80000000*Math.random()),this._lastSizes=[],this._animationDelay=0,this._resizeListener=()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,"showing"===this._state&&this.haveRectsChanged()&&this.show()},400))},this._e=e,this._config=JSON.parse(JSON.stringify(t)),this.attach()}get animate(){return this._config.animate}set animate(e){this._config.animate=e}get animationDuration(){return this._config.animationDuration}set animationDuration(e){this._config.animationDuration=e}get iterations(){return this._config.iterations}set iterations(e){this._config.iterations=e}get color(){return this._config.color}set color(e){this._config.color!==e&&(this._config.color=e,this.refresh())}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(e){this._config.strokeWidth!==e&&(this._config.strokeWidth=e,this.refresh())}get padding(){return this._config.padding}set padding(e){this._config.padding!==e&&(this._config.padding=e,this.refresh())}attach(){if("unattached"===this._state&&this._e.parentElement){if(!window.__rno_kf_s){let e=window.__rno_kf_s=document.createElement("style");e.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(e)}let e=this._svg=document.createElementNS(r,"svg");e.setAttribute("class","rough-annotation");let t=e.style;t.position="absolute",t.top="0",t.left="0",t.overflow="visible",t.pointerEvents="none",t.width="100px",t.height="100px";let n="highlight"===this._config.type;if(this._e.insertAdjacentElement(n?"beforebegin":"afterend",e),this._state="not-showing",n){let e=window.getComputedStyle(this._e).position;e&&"static"!==e||(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(e=>{for(let t of e)t.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){let e=this.rects();if(e.length!==this._lastSizes.length)return!0;for(let t=0;t<e.length;t++)if(!this.isSameRect(e[t],this._lastSizes[t]))return!0}return!1}isSameRect(e,t){let n=(e,t)=>Math.round(e)===Math.round(t);return n(e.x,t.x)&&n(e.y,t.y)&&n(e.w,t.w)&&n(e.h,t.h)}isShowing(){return"not-showing"!==this._state}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&this.render(this._svg,!1)}}
1hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}render(e,t){let n=this._config;t&&((n=JSON.parse(JSON.stringify(this._config))).animate=!1);let o=this.rects(),l=0;o.forEach(e=>l+=e.w);let u=n.animationDuration||800,c=0;for(let t=0;t<o.length;t++){let d=u*(o[t].w/l);(function(e,t,n,o,l,u){let c=[],d=n.strokeWidth||2,h=function(e){let t=e.padding;if(t||0===t){if("number"==typeof t)return[t,t,t,t];if(Array.isArray(t)&&t.length)switch(t.length){case 4:return[...t];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[...t,...t];case 3:return[...t,t[1]];default:return[t[0],t[1],t[2],t[3]]}}return[5,5,5,5]}(n),f=void 0===n.animate||!!n.animate,p=n.iterations||2,v=+!!n.rtl,m=g("single",u);switch(n.type){case"underline":{let e=t.y+t.h+h[2];for(let n=v;n<p+v;n++)n%2?c.push(i(t.x+t.w,e,t.x,e,m)):c.push(i(t.x,e,t.x+t.w,e,m));break}case"strike-through":{let e=t.y+t.h/2;for(let n=v;n<p+v;n++)n%2?c.push(i(t.x+t.w,e,t.x,e,m)):c.push(i(t.x,e,t.x+t.w,e,m));break}case"box":{let e=t.x-h[3],n=t.y-h[0],r=t.w+(h[1]+h[3]),o=t.h+(h[0]+h[2]);for(let t=0;t<p;t++){var w,y,x,b;c.push(a([[w=e,y=n],[w+(x=r),y],[w+x,y+(b=o)],[w,y+b]],!0,m))}break}case"bracket":{let e=Array.isArray(n.brackets)?n.brackets:n.brackets?[n.brackets]:["right"],r=t.x-2*h[3],o=t.x+t.w+2*h[1],i=t.y-2*h[0],s=t.y+t.h+2*h[2];for(let n of e){let e;switch(n){case"bottom":e=[[r,t.y+t.h],[r,s],[o,s],[o,t.y+t.h]];break;case"top":e=[[r,t.y],[r,i],[o,i],[o,t.y]];break;case"left":e=[[t.x,i],[r,i],[r,s],[t.x,s]];break;case"right":e=[[t.x+t.w,i],[o,i],[o,s],[t.x+t.w,s]]}e&&c.push(a(e,!1,m))}break}case"crossed-off":{let e=t.x,n=t.y,r=e+t.w,o=n+t.h;for(let t=v;t<p+v;t++)t%2?c.push(i(r,o,e,n,m)):c.push(i(e,n,r,o,m));for(let t=v;t<p+v;t++)t%2?c.push(i(e,o,r,n,m)):c.push(i(r,n,e,o,m));break}case"circle":{let e=g("double",u),n=t.w+(h[1]+h[3]),r=t.h+(h[0]+h[2]),o=t.x-h[3]+n/2,i=t.y-h[0]+r/2,a=Math.floor(p/2),l=p-2*a;for(let t=0;t<a;t++)c.push(s(o,i,n,r,e));for(let e=0;e<l;e++)c.push(s(o,i,n,r,m));break}case"highlight":{let e=g("highlight",u);d=.95*t.h;let n=t.y+t.h/2;for(let r=v;r<p+v;r++)r%2?c.push(i(t.x+t.w,n,t.x,n,e)):c.push(i(t.x,n,t.x+t.w,n,e))}}if(c.length){let t=function(e){let t=[];for(let n of e){let e="";for(let r of n.ops){let n=r.data;switch(r.op){case"move":e.trim()&&t.push(e.trim()),e=`M${n[0]} ${n[1]} `;break;case"bcurveTo":e+=`C${n[0]} ${n[1]}, ${n[2]} ${n[3]}, ${n[4]} ${n[5]} `;break;case"lineTo":e+=`L${n[0]} ${n[1]} `}}e.trim()&&t.push(e.trim())}return t}(c),i=[],a=[],s=0,u=(e,t,n)=>e.setAttribute(t,n);for(let o of t){let t=document.createElementNS(r,"path");if(u(t,"d",o),u(t,"fill","none"),u(t,"stroke",n.color||"currentColor"),u(t,"stroke-width",""+d),f){let e=t.getTotalLength();i.push(e),s+=e}e.appendChild(t),a.push(t)}if(f){let e=0;for(let t=0;t<a.length;t++){let n=a[t],r=i[t],u=s?r/s*l:0,c=o+e,d=n.style;d.strokeDashoffset=""+r,d.strokeDasharray=""+r,d.animation=`rough-notation-dash ${u}ms ease-out ${c}ms forwards`,e+=u}}}})(e,o[t],n,c+this._animationDelay,d,this._seed),c+=d}this._lastSizes=o,this._state="showing"}rects(){let e=[];
1if(this._svg)if(this._config.multiline){let t=this._e.getClientRects();for(let n=0;n<t.length;n++)e.push(this.svgRect(this._svg,t[n]))}else e.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return e}svgRect(e,t){let n=e.getBoundingClientRect();return{x:(t.x||t.left)-(n.x||n.left),y:(t.y||t.top)-(n.y||n.top),w:t.width,h:t.height}}}function m(e,t){return new v(e,t)}},50941:(e,t,n)=>{n.d(t,{T:()=>r.T});var r=n(11989);n(25515)},58423:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let r=n(47808),o=n(71500),i=n(43372);function a(e){return{default:e&&"default"in e?e.default:e}}n(96833);let s={loader:()=>Promise.resolve(a(()=>null)),loading:null,ssr:!0},l=function(e){let t={...s,...e},n=(0,o.lazy)(()=>t.loader().then(a)),l=t.loading;function u(e){let a=l?(0,r.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,u=s?o.Suspense:o.Fragment,c=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(u,{...s?{fallback:a}:{},children:c})}return u.displayName="LoadableComponent",u}},63452:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},67743:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(33490)._(n(58423));function o(e,t){var n;let o={};"function"==typeof e&&(o.loader=e);let i={...o,...t};return(0,r.default)({...i,modules:null==(n=i.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69366:(e,t,n)=>{n.d(t,{B8:()=>ef,LM:()=>ew,N_:()=>ev,UC:()=>em,bL:()=>eh,l9:()=>eg,q7:()=>ep});var r=n(71500),o=n(81117),i=n(93974),a=n(15654),s=n(41738),l=n(2537),u=n(966),c=n(26403),d=n(2516),h=n(35417),f=n(30412),p=n(10823),g=n(71489),v=n(64347),m=n(90909),w=n(85012),y=n(47808),x="NavigationMenu",[b,M,_]=(0,f.N)(x),[k,C,R]=(0,f.N)(x),[j,E]=(0,i.A)(x,[_,R]),[P,T]=j(x),[N,A]=j(x),S=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,onValueChange:i,defaultValue:a,delayDuration:d=200,skipDelayDuration:h=300,orientation:f="horizontal",dir:p,...g}=e,[v,m]=r.useState(null),w=(0,u.s)(t,e=>m(e)),b=(0,c.jH)(p),M=r.useRef(0),_=r.useRef(0),k=r.useRef(0),[C,R]=r.useState(!0),[j,E]=(0,l.i)({prop:o,onChange:e=>{let t=h>0;""!==e?(window.clearTimeout(k.current),t&&R(!1)):(window.clearTimeout(k.current),k.current=window.setTimeout(()=>R(!0),h)),null==i||i(e)},defaultProp:null!=a?a:"",caller:x}),P=r.useCallback(()=>{window.clearTimeout(_.current),_.current=window.setTimeout(()=>E(""),150)},[E]),T=r.useCallback(e=>{window.clearTimeout(_.current),E(e)},[E]),N=r.useCallback(e=>{j===e?window.clearTimeout(_.current):M.current=window.setTimeout(()=>{window.clearTimeout(_.current),E(e)},d)},[j,E,d]);return r.useEffect(()=>()=>{window.clearTimeout(M.current),window.clearTimeout(_.current),window.clearTimeout(k.current)},[]),(0,y.jsx)(O,{scope:n,isRootMenu:!0,value:j,dir:b,orientation:f,rootNavigationMenu:v,onTriggerEnter:e=>{window.clearTimeout(M.current),C?N(e):T(e)},onTriggerLeave:()=>{window.clearTimeout(M.current),P()},onContentEnter:()=>window.clearTimeout(_.current),onContentLeave:P,onItemSelect:e=>{E(t=>t===e?"":e)},onItemDismiss:()=>E(""),children:(0,y.jsx)(s.sG.nav,{"aria-label":"Main","data-orientation":f,dir:b,...g,ref:w})})});S.displayName=x;var L="NavigationMenuSub";r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",...u}=e,c=T(L,n),[d,h]=(0,l.i)({prop:r,onChange:o,defaultProp:null!=i?i:"",caller:L});return(0,y.jsx)(O,{scope:n,isRootMenu:!1,value:d,dir:c.dir,orientation:a,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>h(e),onItemSelect:e=>h(e),onItemDismiss:()=>h(""),children:(0,y.jsx)(s.sG.div,{"data-orientation":a,...u,ref:t})})}).displayName=L;var O=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:o,dir:i,orientation:a,children:s,value:l,onItemSelect:u,onItemDismiss:c,onTriggerEnter:d,onTriggerLeave:f,onContentEnter:p,onContentLeave:v}=e,[w,x]=r.useState(null),[M,_]=r.useState(new Map),[k,C]=r.useState(null);return(0,y.jsx)(P,{scope:t,isRootMenu:n,rootNavigationMenu:o,value:l,previousValue:(0,g.Z)(l),baseId:(0,h.B)(),dir:i,orientation:a,viewport:w,onViewportChange:x,indicatorTrack:k,onIndicatorTrackChange:C,onTriggerEnter:(0,m.c)(d),onTriggerLeave:(0,m.c)(f),onContentEnter:(0,m.c)(p),onContentLeave:(0,m.c)(v),onItemSelect:(0,m.c)(u),onItemDismiss:(0,m.c)(c),onViewportContentChange:r.useCallback((e,t)=>{_(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:r.useCallback(e=>{_(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,y.jsx)(b.Provider,{scope:t,children:(0,y.jsx)(N,{scope:t,items:M,children:s})})})},I="NavigationMenuList",z=r.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,...r}=e,o=T(I,n),i=(0,y.jsx)(s.sG.ul,{"data-orientation":o.orientation,...r,ref:t});return(0,y.jsx)(s.sG.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,y.jsx)(b.Slot,{scope:n,children:o.isRootMenu?(0,y.jsx)(en,{asChild:!0,children:i}):i})})});z.displayName=I;var D="NavigationMenuItem",[F,W]=j(D),H=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,...i}=e,a=(0,h.B)(),l=r.useRef(null),u=r.useRef(null),c=r.useRef(null),d=r.useRef(()=>{}),f=r.useRef(!1),p=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(l.current){d.current();let t=ei(l.current);t.length&&ea("start"===e?t:t.reverse())}},[]),g=r.useCallback(()=>{if(l.current){let e=ei(l.current);e.length&&(d.current=function(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}(e))}},[]);return(0,y.jsx)(F,{scope:n,value:o||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:u,contentRef:l,focusProxyRef:c,wasEscapeCloseRef:f,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:g,onContentFocusOutside:g,children:(0,y.jsx)(s.sG.li,{...i,ref:t})})});H.displayName=D;var K="NavigationMenuTrigger",q=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:o,...i}=e,l=T(K,e.__scopeNavigationMenu),c=W(K,e.__scopeNavigationMenu),d=r.useRef(null),h=(0,u.s)(d,c.triggerRef,t),f=eu(l.baseId,c.value),p=ec(l.baseId,c.value),g=r.useRef(!1),v=r.useRef(!1),m=c.value===l.value;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(b.ItemSlot,{scope:n,value:c.value,children:(0,y.jsx)(eo,{asChild:!0,children:(0,y.jsx)(s.sG.button,{id:f,disabled:o,"data-disabled":o?"":void 0,"data-state":el(m),"aria-expanded":m,"aria-controls":p,...i,ref:h,onPointerEnter:(0,a.mK)(e.onPointerEnter,()=>{v.current=!1,c.wasEscapeCloseRef.current=!1}),onPointerMove:(0,a.mK)(e.onPointerMove,ed(()=>{o||v.current||c.wasEscapeCloseRef.current||g.current||(l.onTriggerEnter(c.value),g.current=!0)})),onPointerLeave:(0,a.mK)(e.onPointerLeave,ed(()=>{o||(l.onTriggerLeave(),g.current=!1)})),onClick:(0,a.mK)(e.onClick,()=>{l.onItemSelect(c.value),v.current=m}),onKeyDown:(0,a.mK)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===l.dir?"ArrowLeft":"ArrowRight"}[l.orientation];m&&e.key===t&&(c.onEntryKeyDown(),e.preventDefault())})})})}),m&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(w.bL,{"aria-hidden":!0,tabIndex:0,ref:c.focusProxyRef,onFocus:e=>{let t=c.contentRef.current,n=e.relatedTarget,r=n===d.current,o=null==t?void 0:t.contains(n);(r||!o)&&c.onFocusProxyEnter(r?"start":"end")}}),l.viewport&&(0,y.jsx)("span",{"aria-owns":p})]})]})});q.displayName=K;var G="navigationMenu.linkSelect",V=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return(0,y.jsx)(eo,{asChild:!0,children:(0,y.jsx)(s.sG.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...i,ref:t,onClick:(0,a.mK)(e.onClick,e=>{let t=e.target,n=new CustomEvent(G,{bubbles:!0,cancelable:!0});if(t.addEventListener(G,e=>null==o?void 0:o(e),{once:!0}),(0,s.hO)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(J,{bubbles:!0,cancelable:!0});(0,s.hO)(t,e)}},{checkForDefaultPrevented:!1})})})});V.displayName="NavigationMenuLink";var B="NavigationMenuIndicator";r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=T(B,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?o.createPortal((0,y.jsx)(d.C,{present:n||a,children:(0,y.jsx)($,{...r,ref:t})}),i.indicatorTrack):null}).displayName=B;var $=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...o}=e,i=T(B,n),a=M(n),[l,u]=r.useState(null),[c,d]=r.useState(null),h="horizontal"===i.orientation,f=!!i.value;r.useEffect(()=>{var e;let t=null==(e=a().find(e=>e.value===i.value))?void 0:e.ref.current;t&&u(t)},[a,i.value]);let p=()=>{l&&d({size:h?l.offsetWidth:l.offsetHeight,offset:h?l.offsetLeft:l.offsetTop})};return es(l,p),es(i.indicatorTrack,p),c?(0,y.jsx)(s.sG.div,{"aria-hidden":!0,"data-state":f?"visible":"hidden","data-orientation":i.orientation,...o,ref:t,style:{position:"absolute",...h?{left:0,width:c.size+"px",transform:"translateX(".concat(c.offset,"px)")}:{top:0,height:c.size+"px",transform:"translateY(".concat(c.offset,"px)")},...o.style}}):null}),U="NavigationMenuContent",Q=r.forwardRef((e,t)=>
1{let{forceMount:n,...r}=e,o=T(U,e.__scopeNavigationMenu),i=W(U,e.__scopeNavigationMenu),s=(0,u.s)(i.contentRef,t),l=i.value===o.value,c={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?(0,y.jsx)(X,{forceMount:n,...c,ref:s}):(0,y.jsx)(d.C,{present:n||l,children:(0,y.jsx)(Y,{"data-state":el(l),...c,ref:s,onPointerEnter:(0,a.mK)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,a.mK)(e.onPointerLeave,ed(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...c.style}})})});Q.displayName=U;var X=r.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=T(U,e.__scopeNavigationMenu);return(0,v.N)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,v.N)(()=>()=>r(e.value),[e.value,r]),null}),J="navigationMenu.rootContentDismiss",Y=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,triggerRef:i,focusProxyRef:s,wasEscapeCloseRef:l,onRootContentClose:c,onContentFocusOutside:d,...h}=e,f=T(U,n),g=r.useRef(null),v=(0,u.s)(g,t),m=eu(f.baseId,o),w=ec(f.baseId,o),x=M(n),b=r.useRef(null),{onItemDismiss:_}=f;r.useEffect(()=>{let e=g.current;if(f.isRootMenu&&e){let t=()=>{var t;_(),c(),e.contains(document.activeElement)&&(null==(t=i.current)||t.focus())};return e.addEventListener(J,t),()=>e.removeEventListener(J,t)}},[f.isRootMenu,e.value,i,_,c]);let k=r.useMemo(()=>{let e=x().map(e=>e.value);"rtl"===f.dir&&e.reverse();let t=e.indexOf(f.value),n=e.indexOf(f.previousValue),r=o===f.value,i=n===e.indexOf(o);if(!r&&!i)return b.current;let a=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(i&&-1!==t)return t>n?"to-start":"to-end"}return null})();return b.current=a,a},[f.previousValue,f.value,f.dir,x,o]);return(0,y.jsx)(en,{asChild:!0,children:(0,y.jsx)(p.qW,{id:w,"aria-labelledby":m,"data-motion":k,"data-orientation":f.orientation,...h,ref:v,disableOutsidePointerEvents:!1,onDismiss:()=>{var e;let t=new Event(J,{bubbles:!0,cancelable:!0});null==(e=g.current)||e.dispatchEvent(t)},onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>{var t;d();let n=e.target;(null==(t=f.rootNavigationMenu)?void 0:t.contains(n))&&e.preventDefault()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{var t;let n=e.target,r=x().some(e=>{var t;return null==(t=e.ref.current)?void 0:t.contains(n)}),o=f.isRootMenu&&(null==(t=f.viewport)?void 0:t.contains(n));(r||o||!f.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,a.mK)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ei(e.currentTarget),r=document.activeElement,o=t.findIndex(e=>e===r);if(ea(e.shiftKey?t.slice(0,o).reverse():t.slice(o+1,t.length)))e.preventDefault();else{var n;null==(n=s.current)||n.focus()}}}),onEscapeKeyDown:(0,a.mK)(e.onEscapeKeyDown,e=>{l.current=!0})})})}),Z="NavigationMenuViewport",ee=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=!!T(Z,e.__scopeNavigationMenu).value;return(0,y.jsx)(d.C,{present:n||o,children:(0,y.jsx)(et,{...r,ref:t})})});ee.displayName=Z;var et=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:o,...i}=e,l=T(Z,n),c=(0,u.s)(t,l.onViewportChange),h=A(U,e.__scopeNavigationMenu),[f,p]=r.useState(null),[g,v]=r.useState(null),m=f?(null==f?void 0:f.width)+"px":void 0,w=f?(null==f?void 0:f.height)+"px":void 0,x=!!l.value,b=x?l.value:l.previousValue;return es(g,()=>{g&&p({width:g.offsetWidth,height:g.offsetHeight})}),(0,y.jsx)(s.sG.div,{"data-state":el(x),"data-orientation":l.orientation,...i,ref:c,style:{pointerEvents:!x&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":m,"--radix-navigation-menu-viewport-height":w,...i.style},onPointerEnter:(0,a.mK)(e.onPointerEnter,l.onContentEnter),onPointerLeave:(0,a.mK)(e.onPointerLeave,ed(l.onContentLeave)),children:Array.from(h.items).map(e=>{let[t,{ref:n,forceMount:r,...o}]=e,i=b===t;return(0,y.jsx)(d.C,{present:r||i,children:(0,y.jsx)(Y,{...o,ref:(0,u.t)(n,e=>{i&&e&&v(e)})})},t)})})}),en=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=T("FocusGroup",n);return(0,y.jsx)(k.Provider,{scope:n,children:(0,y.jsx)(k.Slot,{scope:n,children:(0,y.jsx)(s.sG.div,{dir:o.dir,...r,ref:t})})})}),er=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eo=r.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,...r}=e,o=C(n),i=T("FocusGroupItem",n);return(0,y.jsx)(k.ItemSlot,{scope:n,children:(0,y.jsx)(s.sG.button,{...r,ref:t,onKeyDown:(0,a.mK)(e.onKeyDown,e=>{if(["Home","End",...er].includes(e.key)){let t=o().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),er.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>ea(t)),e.preventDefault()}})})})});function ei(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ea(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function es(e,t){let n=(0,m.c)(t);(0,v.N)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function el(e){return e?"open":"closed"}function eu(e,t){return"".concat(e,"-trigger-").concat(t)}function ec(e,t){return"".concat(e,"-content-").concat(t)}function ed(e){return t=>"mouse"===t.pointerType?e(t):void 0}var eh=S,ef=z,ep=H,eg=q,ev=V,em=Q,ew=ee},69723:(e,t,n)=>{n.d(t,{Cz:()=>f,Mf:()=>c,N2:()=>d,NQ:()=>h,R3:()=>u});var r=n(11989);n(25515);var o=n(71500),i=n(82119),a=n(47808),s=(0,o.createContext)([]),l=(0,o.createContext)({current:null});function u(){return(0,o.useContext)(s).at(-1)}function c(){return(0,o.useContext)(s)}function d(e){let{containerRef:t,children:n}=e;return(0,a.jsx)(l.Provider,{value:t,children:n})}function h(e){let{toc:t,single:n=!0,children:r}=e,i=(0,o.useMemo)(()=>t.map(e=>e.url.split("#")[1]),[t]);return(0,a.jsx)(s.Provider,{value:function(e,t){let[n,r]=(0,o.useState)([]);return(0,o.useEffect)(()=>{let n=[],o=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&!n.includes(t.target.id)?n=[...n,t.target.id]:!t.isIntersecting&&n.includes(t.target.id)&&(n=n.filter(e=>e!==t.target.id));n.length>0&&r(n)},{rootMargin:t?"-80px 0% -70% 0%":"-20px 0% -40% 0%",threshold:1});function i(){let n=document.scrollingElement;if(!n)return;let o=n.scrollTop;o<=0&&t?r(e.slice(0,1)):o+n.clientHeight>=n.scrollHeight-6&&r(n=>n.length>0&&!t?e.slice(e.indexOf(n[0])):e.slice(-1))}for(let t of e){let e=document.getElementById(t);e&&o.observe(e)}return i(),window.addEventListener("scroll",i),()=>{window.removeEventListener("scroll",i),o.disconnect()}},[t,e]),t?n.slice(0,1):n}(i,n),children:r})}var f=(0,o.forwardRef)((e,t)=>{let{onActiveChange:n,...s}=e,u=(0,o.useContext)(l),d=c(),h=(0,o.useRef)(null),f=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach(t=>{"function"==typeof t?t(e):null!==t&&(t.current=e)})}}(h,t),p=d.includes(s.href.slice(1));return(0,r.T)(p,e=>{let t=h.current;t&&(e&&u.current&&(0,i.A)(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:u.current}),null==n||n(e))}),(0,a.jsx)("a",{ref:f,"data-active":p,...s,children:s.children})});f.displayName="TOCItem"},70971:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(96449).createAsyncLocalStorage)()},73561:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]])},73801:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},75127:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]])},76879:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.5
15 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]])},82119:(e,t,n)=>{n.d(t,{A:()=>u});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return o(n.overflowY,t)||o(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},a=(e,t,n,r,o,i,a,s)=>i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0,s=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},l=(e,t)=>{var n,o,l,u;if("undefined"==typeof document)return[];let{scrollMode:c,block:d,inline:h,boundary:f,skipOverflowHiddenElements:p}=t,g="function"==typeof f?f:e=>e!==f;if(!r(e))throw TypeError("Invalid target");let v=document.scrollingElement||document.documentElement,m=[],w=e;for(;r(w)&&g(w);){if((w=s(w))===v){m.push(w);break}null!=w&&w===document.body&&i(w)&&!i(document.documentElement)||null!=w&&i(w,p)&&m.push(w)}let y=null!=(o=null==(n=window.visualViewport)?void 0:n.width)?o:innerWidth,x=null!=(u=null==(l=window.visualViewport)?void 0:l.height)?u:innerHeight,{scrollX:b,scrollY:M}=window,{height:_,width:k,top:C,right:R,bottom:j,left:E}=e.getBoundingClientRect(),{top:P,right:T,bottom:N,left:A}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),S="start"===d||"nearest"===d?C-P:"end"===d?j+N:C+_/2-P+N,L="center"===h?E+k/2-A+T:"end"===h?R+T:E-A,O=[];for(let e=0;e<m.length;e++){let t=m[e],{height:n,width:r,top:o,right:s,bottom:l,left:u}=t.getBoundingClientRect();if("if-needed"===c&&C>=0&&E>=0&&j<=x&&R<=y&&(t===v&&!i(t)||C>=o&&j<=l&&E>=u&&R<=s))break;let f=getComputedStyle(t),p=parseInt(f.borderLeftWidth,10),g=parseInt(f.borderTopWidth,10),w=parseInt(f.borderRightWidth,10),P=parseInt(f.borderBottomWidth,10),T=0,N=0,A="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-w:0,I="offsetHeight"in t?t.offsetHeight-t.clientHeight-g-P:0,z="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,D="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(v===t)T="start"===d?S:"end"===d?S-x:"nearest"===d?a(M,M+x,x,g,P,M+S,M+S+_,_):S-x/2,N="start"===h?L:"center"===h?L-y/2:"end"===h?L-y:a(b,b+y,y,p,w,b+L,b+L+k,k),T=Math.max(0,T+M),N=Math.max(0,N+b);else{T="start"===d?S-o-g:"end"===d?S-l+P+I:"nearest"===d?a(o,l,n,g,P+I,S,S+_,_):S-(o+n/2)+I/2,N="start"===h?L-u-p:"center"===h?L-(u+r/2)+A/2:"end"===h?L-s+w+A:a(u,s,r,p,w+A,L,L+k,k);let{scrollLeft:e,scrollTop:i}=t;T=0===D?0:Math.max(0,Math.min(i+T/D,t.scrollHeight-n/D+I)),N=0===z?0:Math.max(0,Math.min(e+N/z,t.scrollWidth-r/z+A)),S+=i-T,L+=e-N}O.push({el:t,top:T,left:N})}return O};function u(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(l(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:o,top:i,left:a}of l(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=i-n.top+n.bottom,t=a-n.left+n.right;o.scroll({top:e,left:t,behavior:r})}}},84612:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])}
1,84714:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(70971)},89114:(e,t,n)=>{n.r(t),n.d(t,{I18nContext:()=>i,I18nLabel:()=>a,defaultTranslations:()=>o,useI18n:()=>s});var r=n(71500);let o={search:"Search",searchNoResult:"No results found",toc:"On this page",tocNoHeadings:"No Headings",lastUpdate:"Last updated on",chooseLanguage:"Choose a language",nextPage:"Next Page",previousPage:"Previous Page",chooseTheme:"Theme",editOnGithub:"Edit on GitHub"},i=(0,r.createContext)({text:o});function a(e){let{text:t}=s();return t[e.label]}function s(){return(0,r.useContext)(i)}},90811:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("arrow-big-right",[["path",{d:"M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",key:"1232du"}]])},95626:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(13996).A)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]])},96449:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return a},createAsyncLocalStorage:function(){return i},createSnapshot:function(){return s}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let o="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function i(){return o?new o:new r}function a(e){return o?o.bind(e):r.bind(e)}function s(){return o?o.snapshot():function(e,...t){return e(...t)}}},96833:(e,t,n)=>{function r(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(47808),n(81117),n(84714),n(7071)}}]);

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.