PageSourceSearch

https://www.chatbase.co/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM

js chatbase.co collected 2026-10-02 02:17:40 UTC 117,202 bytes, 10 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,343534,e=>{"use strict";function t(e){return{isWide:"wide"===e.mode,isCenter:"center"===e.mode,isCustom:"custom"===e.mode,isFrame:"frame"===e.mode,isAssistant:"assistant"===e.mode,isApiExample:!!(e.api||e.openapi||e.asyncapi||e.graphql?.kind==="query"||e.graphql?.kind==="mutation")}}e.s(["getPageMode",()=>t])},560179,536224,e=>{"use strict";e.s(["canCopyImages",()=>d,"copyImageToClipboard",()=>u,"downloadMedia",()=>p,"fetchMedia",()=>c],560179);var t=e.i(206558);e.s(["ICO_MIME_TYPE",()=>a,"PNG_MIME_TYPE",()=>r,"mimeTypeMap",()=>n],536224);let r="image/png",a="image/x-icon",n=new Map([["ico",a],["png",r],["svg","image/svg+xml"],["gif","image/gif"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["webp","image/webp"]]);var o=e.i(431392),l=e.i(961508);let i=t.NEXT_PUBLIC.BASE_PATH,s=i.slice(1),c=async e=>{let t=e===i||e.startsWith(`${i}/`),r=e===s||e.startsWith(`${s}/`);if(e.startsWith("/")&&!t||!(0,l.isAbsoluteUrl)(e)&&/^\w/.test(e)&&!r){let t=`${i}/${e}`.split("/").filter(Boolean).join("/");e=(0,o.optionallyAddLeadingSlash)(t)}let a=await fetch(e);if(!a.ok)return a;let c=(e=>{try{let t=new URL(e,window.location.origin).pathname.match(/\.([a-zA-Z0-9]+)$/);return t?.[1]??"png"}catch{return"png"}})(e),d=n.get(c)??`image/${c}`,u=await a.blob(),p=URL.createObjectURL(u);return{blob:u,blobUrl:p,ext:c,mimeType:d}},d=()=>"navigator"in globalThis&&"clipboard"in navigator&&"write"in navigator.clipboard&&"function"==typeof navigator.clipboard.write,u=async e=>{try{let t,a=await c(e);if(a instanceof Response)throw Error(`${a.status} ${a.statusText}: Failed to fetch image`);let{mimeType:n,blob:o,blobUrl:l}=a;return t=n===r?o:await new Promise((e,t)=>{let a=new Image;a.onload=()=>((e,t,a)=>{let n=document.createElement("canvas");n.width=e.naturalWidth,n.height=e.naturalHeight;let o=n.getContext("2d");o?.drawImage(e,0,0),n.toBlob(e=>e?t(e):a(Error("Failed to convert image to PNG")),r)})(a,e,t),a.onerror=()=>t(Error("Failed to load image")),a.src=l}),URL.revokeObjectURL(l),await navigator.clipboard.write([new ClipboardItem({[r]:t})]),!0}catch(e){return console.error(e),!1}},p=async e=>{try{let t=await c(e);if(t instanceof Response)return window.open(e,"_blank","noopener,noreferrer"),!1;let{blobUrl:r,ext:a}=t,n=document.createElement("a");return n.href=r,n.download=`${(e=>{try{let t=new URL(e,window.location.origin).pathname.split("/").filter(Boolean).pop();if(!t)return"image";return t.replace(/\.[a-zA-Z0-9]+$/,"")||"image"}catch{return"image"}})(e)}.${a}`,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(r),!0}catch{return window.open(e,"_blank","noopener,noreferrer"),!1}}},304922,(e,t,r)=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
1ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},552801,(e,t,r)=>{t.exports=function(e){return!!e&&"string"!=typeof e&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},739163,(e,t,r)=>{"use strict";var a=e.r(552801),n=Array.prototype.concat,o=Array.prototype.slice,l=t.exports=function(e){for(var t=[],r=0,l=e.length;r<l;r++){var i=e[r];a(i)?t=n.call(t,o.call(i)):t.push(i)}return t};l.wrap=function(e){return function(){return e(l(arguments))}}},139092,(e,t,r)=>{var a=e.r(304922),n=e.r(739163),o=Object.hasOwnProperty,l=Object.create(null);for(var i in a)o.call(a,i)&&(l[a[i]]=i);var s=t.exports={to:{},get:{}};function c(e,t,r){return Math.min(Math.max(t,e),r)}function d(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,r;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),r="hsl";break;case"hwb":t=s.get.hwb(e),r="hwb";break;default:t=s.get.rgb(e),r="rgb"}return t?{model:r,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,r,n,l=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(r=0,n=t[2],t=t[1];r<3;r++){var i=2*r;l[r]=parseInt(t.slice(i,i+2),16)}n&&(l[3]=parseInt(n,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(r=0,n=(t=t[1])[3];r<3;r++)l[r]=parseInt(t[r]+t[r],16);n&&(l[3]=parseInt(n+n,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)l[r]=parseInt(t[r+1],0);t[4]&&(t[5]?l[3]=.01*parseFloat(t[4]):l[3]=parseFloat(t[4]))}else if(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)l[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(t[5]?l[3]=.01*parseFloat(t[4]):l[3]=parseFloat(t[4]))}else if(!(t=e.match(/^(\w+)$/)))return null;else return"transparent"===t[1]?[0,0,0,0]:o.call(a,t[1])?((l=a[t[1]])[3]=1,l):null;for(r=0;r<3;r++)l[r]=c(l[r],0,255);return l[3]=c(l[3],0,1),l},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},s.to.hex=function(){var e=n(arguments);return"#"+d(e[0])+d(e[1])+d(e[2])+(e[3]<1?d(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=n(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+
1Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=n(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+a+"%)":"rgba("+t+"%, "+r+"%, "+a+"%, "+e[3]+")"},s.to.hsl=function(){var e=n(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=n(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return l[e.slice(0,3)]}},645687,(e,t,r)=>{let a=e.r(304922),n={};for(let e of Object.keys(a))n[a[e]]=e;let o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(let e of(t.exports=o,Object.keys(o))){if(!("channels"in o[e]))throw Error("missing channels property: "+e);if(!("labels"in o[e]))throw Error("missing channel labels property: "+e);if(o[e].labels.length!==o[e].channels)throw Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=o[e];delete o[e].channels,delete o[e].labels,Object.defineProperty(o[e],"channels",{value:t}),Object.defineProperty(o[e],"labels",{value:r})}o.rgb.hsl=function(e){let t,r=e[0]/255,a=e[1]/255,n=e[2]/255,o=Math.min(r,a,n),l=Math.max(r,a,n),i=l-o;l===o?t=0:r===l?t=(a-n)/i:a===l?t=2+(n-r)/i:n===l&&(t=4+(r-a)/i),(t=Math.min(60*t,360))<0&&(t+=360);let s=(o+l)/2;return[t,100*(l===o?0:s<=.5?i/(l+o):i/(2-l-o)),100*s]},o.rgb.hsv=function(e){let t,r,a,n,o,l=e[0]/255,i=e[1]/255,s=e[2]/255,c=Math.max(l,i,s),d=c-Math.min(l,i,s),u=function(e){return(c-e)/6/d+.5};return 0===d?(n=0,o=0):(o=d/c,t=u(l),r=u(i),a=u(s),l===c?n=a-r:i===c?n=1/3+t-a:s===c&&(n=2/3+r-t),n<0?n+=1:n>1&&(n-=1)),[360*n,100*o,100*c]},o.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2];return[o.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(r,a))*100,100*(a=1-1/255*Math.max(t,Math.max(r,a)))]},o.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,n=Math.min(1-t,1-r,1-a);return[100*((1-t-n)/(1-n)||0),100*((1-r-n)/(1-n)||0),100*((1-a-n)/(1-n)||0),100*n]},o.rgb.keyword=function(e){let t,r=n[e];if(r)return r;let o=1/0;for(let r of Object.keys(a)){let n=a[r],l=(e[0]-n[0])**2+(e[1]-n[1])**2+(e[2]-n[2])**2;l<o&&(o=l,t=r)}return t},o.keyword.rgb=function(e){return a[e]},o.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255;return[100*(.4124*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)+.3576*(r=r>.04045?((r+.055)/1.055)**2.4:r/12.92)+.1805*(a=a>.04045?((a+.055)/1.055)**2.4:a/12.92)),100*(.2126*t+.7152*r+.0722*a),100*(.0193*t+.1192*r+.9505*a)]},o.rgb.lab=function(e){let t=o.rgb.xyz(e),r=t[0],a=t[1],n=t[2];return r/=95.047,a/=100,n/=108.883,[116*(a=a>.008856?a**(1/3):7.787*a+16/116)-16,500*((r=r>.008856?r**(1/3):7.787*r+16/116)-a),200*(a-(n=n>.008856?n**(1/3):7.787*n+16/116))]},o.hsl.rgb=function(e){let t,r,a,n=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[a=255*l,a,a];t=l<.5?l*(1+o):l+o-l*o;let i=2*l-t,s=[0,0,0];for(let e=0;e<3;e++)(r=n+-(1/3*(e-1)))<0&&r++,r>1&&r--,a=6*r<1?i+(t-i)*6*r:2*r<1?t:3*r<2?i+(t-i)*(2/3-r)*6:i,s[e]=255*a;return s},o.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,n=r,o=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,n*=o<=1?o:2-o;let l=(a+r)/2;return[t,100*(0===a?2*n/(o+n):2*r/(a+r)),100*l]},o.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,n=Math.floor(t)%6,o=t-Math.floor(t),l=255*a*(1-r),i=255*a*(1-r*o),s=255*a*(1-r*(1-o));switch(a*=255,n){case 0:return[a,s,l];case 1:return[i,a,l];case 2:return[l,a,s];case 3:return[l,i,a];case 4:return[s,l,a];case 5:return[a,l,i]}},o.hsv.hsl=function(e){let t,r,a=e[0],n=e[1]/100,o=e[2]/100,l=Math.max(o,.01);r=(2-n)*o;let i=(2-n)*l;return[a,100*(t=(t=n*l/(i<=1?i:2-i))||0),100*(r/=2)]},o.hwb.rgb=function(e){let t,r,a,n,o=e[0]/360,l=e[1]/100,i=e[2]/100,s=l+i;s>1&&(l/=s,i/=s);let c=Math.floor(6*o),d=1-i;t=6*o-c,(1&c)!=0&&(t=1-t);let u=l+t*(d-l);switch(c){default:case 6:case 0:r=d,a=u,n=l;break;case 1:r=u,a=d,n=l;break;case 2:r=l,a=d,n=u;break;case 3:r=l,a=u,n=d;break;case 4:r=u,a=l,n=d;break;case 5:r=d,a=l,n=u}return[255*r,255*a,255*n]},o.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,t*(1-n)+n)),255*(1-Math.min(1,r*(1-n)+n)),255*(1-Math.min(1,a*(1-n)+n))]},o.xyz.rgb=function(e){let t,r,a,n=e[0]/100,o=e[1]/100,l=e[2]/100;return t=(t=3.2406*n+-1.5372*o+-.4986*l)>
1.0031308?1.055*t**(1/2.4)-.055:12.92*t,r=(r=-.9689*n+1.8758*o+.0415*l)>.0031308?1.055*r**(1/2.4)-.055:12.92*r,a=(a=.0557*n+-.204*o+1.057*l)>.0031308?1.055*a**(1/2.4)-.055:12.92*a,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(a=Math.min(Math.max(0,a),1))]},o.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];return t/=95.047,r/=100,a/=108.883,[116*(r=r>.008856?r**(1/3):7.787*r+16/116)-16,500*((t=t>.008856?t**(1/3):7.787*t+16/116)-r),200*(r-(a=a>.008856?a**(1/3):7.787*a+16/116))]},o.lab.xyz=function(e){let t,r,a,n=e[0],o=e[1],l=e[2];t=o/500+(r=(n+16)/116),a=r-l/200;let i=r**3,s=t**3,c=a**3;return r=(i>.008856?i:(r-16/116)/7.787)*100,[t=(s>.008856?s:(t-16/116)/7.787)*95.047,r,a=(c>.008856?c:(a-16/116)/7.787)*108.883]},o.lab.lch=function(e){let t,r=e[0],a=e[1],n=e[2];return(t=360*Math.atan2(n,a)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(a*a+n*n),t]},o.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI;return[t,r*Math.cos(a),r*Math.sin(a)]},o.rgb.ansi16=function(e,t=null){let[r,a,n]=e,l=null===t?o.rgb.hsv(e)[2]:t;if(0===(l=Math.round(l/50)))return 30;let i=30+(Math.round(n/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return 2===l&&(i+=60),i},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},o.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];let r=(~~(e>50)+1)*.5;return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},o.ansi256.rgb=function(e){let t;if(e>=232){let t=(e-232)*10+8;return[t,t,t]}return[Math.floor((e-=16)/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},o.rgb.hex=function(e){let t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];3===t[0].length&&(r=r.split("").map(e=>e+e).join(""));let a=parseInt(r,16);return[a>>16&255,a>>8&255,255&a]},o.rgb.hcg=function(e){let t,r=e[0]/255,a=e[1]/255,n=e[2]/255,o=Math.max(Math.max(r,a),n),l=Math.min(Math.min(r,a),n),i=o-l;return t=i<1?l/(1-i):0,[360*((i<=0?0:o===r?(a-n)/i%6:o===a?2+(n-r)/i:4+(r-a)/i)/6%1),100*i,100*t]},o.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),n=0;return a<1&&(n=(r-.5*a)/(1-a)),[e[0],100*a,100*n]},o.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,n=0;return a<1&&(n=(r-a)/(1-a)),[e[0],100*a,100*n]},o.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(0===r)return[255*a,255*a,255*a];let n=[0,0,0],o=t%1*6,l=o%1,i=1-l,s=0;switch(Math.floor(o)){case 0:n[0]=1,n[1]=l,n[2]=0;break;case 1:n[0]=i,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=l;break;case 3:n[0]=0,n[1]=i,n[2]=1;break;case 4:n[0]=l,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=i}return s=(1-r)*a,[(r*n[0]+s)*255,(r*n[1]+s)*255,(r*n[2]+s)*255]},o.hcg.hsv=function(e){let t=e[1]/100,r=t+e[2]/100*(1-t),a=0;return r>0&&(a=t/r),[e[0],100*a,100*r]},o.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],100*a,100*r]},o.hcg.hwb=function(e){let t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],(r-t)*100,(1-r)*100]},o.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,n=0;return a<1&&(n=(r-a)/(1-a)),[e[0],100*a,100*n]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){let t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},28626,(e,t,r)=>{let a=e.r(645687);t.exports=function(e){let t=function(e){let t=function(){let e={},t=Object.keys(a);for(let r=t.length,a=0;a<r;a++)e[t[a]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;){let e=r.pop(),n=Object.keys(a[e]);for(let a=n.length,o=0;o<a;o++){let a=n[o],l=t[a];-1===l.distance&&(l.distance=t[e].distance+1,l.parent=e,r.unshift(a))}}return t}(e),r={},n=Object.keys(t);for(let e=n.length,o=0;o<e;o++){let e=n[o];null!==t[e].parent&&(r[e]=function(e,t){let r=[t[e].parent,e],n=a[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),n=function(e,t){return function(r){return t(e(r))}}(a[t[o].parent][o],n),o=t[o].parent;return n.conversion=r,n}(e,t))}return r}},438483,(e,t,r)=>{let a=e.r(645687),n=e.r(28626),o={};
1Object.keys(a).forEach(e=>{o[e]={},Object.defineProperty(o[e],"channels",{value:a[e].channels}),Object.defineProperty(o[e],"labels",{value:a[e].labels});let t=n(e);Object.keys(t).forEach(r=>{let a=t[r];o[e][r]=function(e){let t=function(...t){let r=t[0];if(null==r)return r;r.length>1&&(t=r);let a=e(t);if("object"==typeof a)for(let e=a.length,t=0;t<e;t++)a[t]=Math.round(a[t]);return a};return"conversion"in e&&(t.conversion=e.conversion),t}(a),o[e][r].raw=function(e){let t=function(...t){let r=t[0];return null==r?r:(r.length>1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(a)})}),t.exports=o},133550,(e,t,r)=>{let a=e.r(139092),n=e.r(438483),o=["keyword","gray","hex"],l={};for(let e of Object.keys(n))l[[...n[e].labels].sort().join("")]=e;let i={};function s(e,t){let r,c;if(!(this instanceof s))return new s(e,t);if(t&&t in o&&(t=null),t&&!(t in n))throw Error("Unknown model: "+t);if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof s)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){let t=a.get(e);if(null===t)throw Error("Unable to parse color from string: "+e);this.model=t.model,c=n[this.model].channels,this.color=t.value.slice(0,c),this.valpha="number"==typeof t.value[c]?t.value[c]:1}else if(e.length>0){this.model=t||"rgb",c=n[this.model].channels;let r=Array.prototype.slice.call(e,0,c);this.color=u(r,c),this.valpha="number"==typeof e[c]?e[c]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;let t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);let a=t.sort().join("");if(!(a in l))throw Error("Unable to parse color from object: "+JSON.stringify(e));this.model=l[a];let{labels:o}=n[this.model],i=[];for(r=0;r<o.length;r++)i.push(e[o[r]]);this.color=u(i)}if(i[this.model])for(r=0,c=n[this.model].channels;r<c;r++){let e=i[this.model][r];e&&(this.color[r]=e(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}for(let e of(s.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in a.to?this:this.rgb(),r=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:[...t.color,this.valpha];return a.to[t.model](r)},percentString(e){let t=this.rgb().round("number"==typeof e?e:1),r=1===t.valpha?t.color:[...t.color,this.valpha];return a.to.rgb.percent(r)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){let e={},{channels:t}=n[this.model],{labels:r}=n[this.model];for(let a=0;a<t;a++)e[r[a]]=this.color[a];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){let e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){let e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){var t;return e=Math.max(e||0,0),new s([...this.color.map((t=e,function(e){return Number(e.toFixed(t))})),this.valpha],this.model)},alpha(e){return void 0!==e?new s([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:c("rgb",0,d(255)),green:c("rgb",1,d(255)),blue:c("rgb",2,d(255)),hue:c(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:c("hsl",1,d(100)),lightness:c("hsl",2,d(100)),saturationv:c("hsv",1,d(100)),value:c("hsv",2,d(100)),chroma:c("hcg",1,d(100)),gray:c("hcg",2,d(100)),white:c("hwb",1,d(100)),wblack:c("hwb",2,d(100)),cyan:c("cmyk",0,d(100)),magenta:c("cmyk",1,d(100)),yellow:c("cmyk",2,d(100)),black:c("cmyk",3,d(100)),x:c("xyz",0,d(95.047)),y:c("xyz",1,d(100)),z:c("xyz",2,d(108.833)),l:c("lab",0,d(100)),a:c("lab",1),b:c("lab",2),keyword(e){return void 0!==e?new s(e):n[this.model].keyword(this.color)},hex(e){return void 0!==e?new s(e):a.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new s(e);let t=this.rgb().round().color,r=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===r.length&&(r="0"+r),a.to.hex(t)+r},rgbNumber(){let e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){let e=this.rgb().color,t=[];for(let[r,a]of e.entries()){let e=a/255;t[r]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){let t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level(e){let t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){let e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){let e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){let t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){let t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){let t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){let t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){let t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){let t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){let e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return s.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){let t=this.hsl(),r=t.color[0];return r=(r=(r+e)%360)<0?360+r:r,t.color[0]=r,t},mix(e,t){if(!e||!e.rgb)throw Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);let r=e.rgb(),a=this.rgb(),n=void 0===t?.5:t,o=2*n-1,l=r.alpha()-a.alpha(),i=((o*l==-1?o:(o+l)/(1+o*l))+1)/2,c=1-i;return s.rgb(i*r.red()+c*a.red(),i*r.green()+c*a.green(),i*r.blue()+c*a.blue(),r.alpha()*n+a.alpha()*(1-n))}},Object.keys(n))){if(o.includes(e))continue;let{channels:t}=n[e];s.prototype[e]=function(...t){var r;return this.model===e?new s(this):t.length>0?new s(t,e):new s([...Array.isArray(r=n[this.model][e].raw(this.color))?r:[r],this.valpha],e)},s[e]=function(...r){let a=r[0];return"number"==typeof a&&(a=u(r,t)),new s(a,e)}}function c(e,t,r){for(let a of e=Array.isArray(e)?e:[e])(i[a]||(i[a]=[]))[t]=r;return e=e[0],function(a){let n;return void 0!==a?(r&&(a=r(a)),(n=this[e]()).color[t]=a):(n=this[e]().color[t],r&&(n=r(n))),n}}function d(e){return function(t){return Math.max(0,Math.min(e,t))}}function u(e,t){for(let r=0;r<t;r++)"number"!=typeof e[r]&&(e[r]=0);return e}t.exports=s},633945,(e,t,r)=>{t.exports=function(e){if("string"!=typeof e)return!1;var t=e.match(a);if(!t)return!1;var r=t[1];return!!r&&!!(n.test(r)||o.test(r))};var a=/^(?:\w+:)?\/\/(\S+)$/,n=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,o=/^[^\s\.]+\.\S{2,}$/},114140,(e,t,r)=>{"use strict";var a=e.r(633945),n=/(?:(?:[^:]+:)?[/][/])?(?:.+@)?([^/]+)([/][^?#]+)/;t.exports=function(e,t){var r={};if(t=t||{},!e||(e.url&&(e=e.url),"string"!=typeof e))return null;var o=e.match(/^([\w-_]+)\/([\w-_\.]+)(?:#([\w-_\.]+))?$/),l=e.match(/^github:([\w-_]+)\/([\w-_\.]+)(?:#([\w-_\.]+))?$/),i=e.match(/^git@[\w-_\.]+:([\w-_]+)\/([\w-_\.]+)$/);if(o)r.user=o[1],r.repo=o[2],r.branch=o[3]||"master",r.host="github.com";else if(l)r.user=l[1],r.repo=l[2],r.branch=l[3]||"master",r.host="github.com";else if(i)r.user=i[1],r.repo=i[2].replace(/\.git$/i,""),r.branch="master",r.host="github.com";else{if(!a(e=e.replace(/^git\+/,"")))return null;var s=e.match(n)||[],c=s[1],d=s[2];if(!c||"github.com"!==c&&"www.github.com"!==c&&!t.enterprise)return null;var u=d.match(/^\/([\w-_]+)\/([\w-_\.]+)(\/tree\/[\%\w-_\.\/]+)?(\/blob\/[\%\w-_\.\/]+)?/);if(!u)return null;if(r.user=u[1],r.repo=u[2].replace(/\.git$/i,""),r.host=c||"github.com",u[3]&&/^\/tree\/master\//.test(u[3]))r.branch="master",r.path=u[3].replace(/\/$/,"");else if(u[3]){var p=u[3].replace(/^\/tree\//,"").match(/[\%\w-_.]*\/?[\%\w-_]+/);r.branch=p&&p[0]}else if(u[4]){var p=u[4].replace(/^\/blob\//,"").match(/[\%\w-_.]*\/?[\%\w-_]+/);r.branch=p&&p[0]}else r.branch="master"}return"github.com"===r.host?r.apiHost="api.github.com":r.apiHost=r.host
1+"/api/v3",r.tarball_url="https://"+r.apiHost+"/repos/"+r.user+"/"+r.repo+"/tarball/"+r.branch,r.clone_url="https://"+r.host+"/"+r.user+"/"+r.repo,"master"===r.branch?(r.https_url="https://"+r.host+"/"+r.user+"/"+r.repo,r.travis_url="https://travis-ci.org/"+r.user+"/"+r.repo,r.zip_url="https://"+r.host+"/"+r.user+"/"+r.repo+"/archive/master.zip"):(r.https_url="https://"+r.host+"/"+r.user+"/"+r.repo+"/blob/"+r.branch,r.travis_url="https://travis-ci.org/"+r.user+"/"+r.repo+"?branch="+r.branch,r.zip_url="https://"+r.host+"/"+r.user+"/"+r.repo+"/archive/"+r.branch+".zip"),r.path&&(r.https_url+=r.path),r.api_url="https://"+r.apiHost+"/repos/"+r.user+"/"+r.repo,r}},638702,167808,579694,464991,401819,891376,35884,267823,602875,287071,437953,311005,27815,896438,688527,179958,973469,52693,e=>{"use strict";e.s(["Accordion",()=>f],638702);var t=e.i(843476),r=e.i(857866),a=e.i(865420),n=e.i(769728),o=e.i(476781),l=e.i(568258),i=e.i(193726),s=e.i(895849),c=e.i(866285),d=e.i(296548),u=e.i(271645),p=e.i(343590),h=e.i(930733);let g=(0,h.default)("CaretDownFilledIcon",[["path",{d:"M14.0238 4.00002H3.97576C3.33776 4.00002 2.74976 4.34702 2.44276 4.90602C2.13576 5.46502 2.15576 6.14802 2.49776 6.68702L7.52176 14.61C7.84476 15.119 8.39676 15.422 8.99976 15.422C9.60276 15.422 10.1548 15.118 10.4778 14.61L15.5028 6.68602C15.8438 6.14702 15.8648 5.46402 15.5578 4.90502C15.2508 4.34602 14.6628 3.99902 14.0248 3.99902L14.0238 4.00002Z",fill:"currentColor"}]],"filled"),m=function({id:e,contentId:r,titleId:a,title:n,description:o,open:l,icon:i,coverClass:s}){let{divisions:c}=(0,u.useContext)(p.NavigationContext),h=c.tabs.length>0;return(0,t.jsxs)("summary",{className:(0,d.cn)("relative not-prose flex flex-row items-center content-center w-full cursor-pointer","list-none [&::-webkit-details-marker]:hidden",s),onMouseDown:e=>{e.detail>1&&e.preventDefault()},"aria-controls":r,"aria-expanded":l,"data-component-part":"accordion-button",children:[(0,t.jsx)("div",{id:e,className:(0,d.cn)("absolute",h?"top-[-8rem] [[data-banner-state=visible]_&]:top-[-10.5rem]":"top-[-4.5rem] [[data-banner-state=visible]_&]:top-[-7rem]")}),(0,t.jsx)("div",{className:"flex size-4 shrink-0 items-center justify-center","data-component-part":"accordion-caret-right",children:(0,t.jsx)(g,{"aria-hidden":"true",className:(0,d.cn)("size-3 shrink-0 text-gray-600 transition-transform duration-200 dark:text-gray-400",!l&&"-rotate-90")})}),i?(0,t.jsx)("div",{className:"size-4 shrink-0 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100","data-component-part":"accordion-icon",children:i}):null,(0,t.jsxs)("div",{className:"leading-tight text-left w-full min-w-0",contentEditable:!1,"data-component-part":"accordion-title-container",children:[(0,t.jsx)("p",{id:a,className:"m-0 font-medium leading-6 text-gray-900 dark:text-gray-200","data-component-part":"accordion-title",children:n}),o?(0,t.jsx)("p",{className:"m-0 text-gray-900 dark:text-gray-200","data-component-part":"accordion-description",children:o}):null]})]})};function f({id:e,title:n,description:o,defaultOpen:i=!1,icon:s,iconType:c,children:d,className:u,_disabled:p}){let h=(0,a.useAnalyticsContext)("docs.accordion.open"),g=(0,a.useAnalyticsContext)("docs.accordion.close"),m="string"==typeof s?(0,t.jsx)(l.ComponentIcon,{icon:s,iconType:c,className:"w-4 h-4"}):s;return(0,t.jsx)(y,{id:e,title:n,description:o,defaultOpen:!0===i||"string"==typeof i&&"true"===i,onChange:e=>{let t=(0,r.getTitleText)(n)||void 0;e?h({title:t}).catch(console.error):g({title:t}).catch(console.error)},icon:m,className:u,_disabled:p,children:d})}let b=(0,u.createContext)({parentIds:[]}),x=(e,t,r)=>e[r.length]===t&&r.every((t,r)=>e[r]===t);function y({id:e,title:a,description:l,defaultOpen:p=!1,icon:h,onChange:g,variant:f="rounded",children:y,className:v,_disabled:k}){let w=(0,r.getTitleText)(a),C=e??("string"==typeof a||w?(0,c.default)(w.replace(":","-"),{decamelize:!1}):void 0),j=(0,u.useId)(),N=C?`${C}-accordion-children`:j,M=(0,u.useId)(),_=C?`${C}-accordion-title`:M,E=(0,u.useContext)(b),[T,S]=(0,u.useState)(p);(0,n.useIsomorphicLayoutEffect)(()=>
1{if(!C)return;let e=window.location.hash.substring(1).split(":");x(e,C,E.parentIds)&&(S(!0),e.length===E.parentIds.length+1&&(0,s.scrollElementIntoView)({id:C,preScrollCallback(){history.scrollRestoration="manual"}}))},[]);let I=(0,u.useRef)(E.parentIds);I.current=E.parentIds,(0,u.useEffect)(()=>{if(!C)return;let e=()=>{let e=window.location.hash.substring(1).split(":");x(e,C,I.current)&&(S(!0),e.length===I.current.length+1&&(0,s.scrollElementIntoView)({id:C,preScrollCallback(){history.scrollRestoration="manual"}}))};return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[C]);let L=e=>`${window.location.pathname}${e?`#${e}`:""}`,{parentClass:A,coverClass:$,contentClass:z}="minimalist"===f?{parentClass:"",coverClass:"[&>div]:ml-2 py-1 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-200",contentClass:"mt-2 pt-1 mb-4 mx-[7px] px-4 border-l border-gray-100 dark:border-gray-800/50"}:{parentClass:"border-standard rounded-2xl mb-3 overflow-hidden bg-background-light dark:bg-codeblock",coverClass:"gap-3 px-5 py-3.5 hover:bg-gray-100 hover:dark:bg-gray-800",contentClass:"px-5 pb-3.5"};return(0,t.jsx)(b.Provider,{value:{...E,parentIds:[...E.parentIds,...void 0!=C?[C]:[]]},children:(0,t.jsxs)("details",{open:T,onKeyDownCapture:e=>{if(e.defaultPrevented)return;let t=e.target;if(("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&" "===e.key){e.preventDefault();let r=t.selectionStart??0,a=t.selectionEnd??0,n=t.value,o="TEXTAREA"===t.tagName?HTMLTextAreaElement.prototype:HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(o,"value")?.set;l?.call(t,n.slice(0,r)+" "+n.slice(a)),t.selectionStart=t.selectionEnd=r+1,t.dispatchEvent(new Event("input",{bubbles:!0}))}},onToggle:e=>{let t=e.currentTarget.open;if(t!==T){S(t);if(S(t),!k){if(t&&C)!function(e,t){if(k||"undefined"==typeof document||!document.hasFocus())return;let r=L(e.join(":"));(0,i.copyToClipboard)(r),window.history.replaceState({...window.history.state,as:r,url:r},"",r)}([...E.parentIds,C],0);else{let e=L(E.parentIds.join(":"));window.history.replaceState({...window.history.state,as:e,url:e},"",e)}g&&g(t)}}},className:(0,d.cn)(o.Classes.Accordion,A,"cursor-default",v),children:[(0,t.jsx)(m,{id:C,contentId:N,titleId:_,title:a,description:l,open:T,icon:h,coverClass:$}),(0,t.jsx)("div",{id:N,role:"region","aria-labelledby":_,className:(0,d.cn)(z,"prose prose-gray dark:prose-invert overflow-x-auto cursor-default"),"data-component-part":"accordion-content",children:y})]},w||"accordion")})}function v({children:e,className:r}){return(0,t.jsx)("div",{className:(0,d.cn)(o.Classes.AccordionGroup,"[&>details]:border-0 [&>details]:rounded-none [&>details>summary]:rounded-none [&>details]:mb-0 overflow-hidden mt-0 mb-3 rounded-2xl prose prose-gray dark:prose-invert divide-y! divide-inherit! border-standard",r),children:e})}e.s(["AccordionGroup",()=>v],167808),e.s(["CALLOUT_THEMES",()=>S,"Callout",()=>F,"Check",()=>D,"Danger",()=>H,"Info",()=>$,"Note",()=>P,"Tip",()=>R,"Warning",()=>z],579694);let k=(0,h.default)("CheckCalloutIcon",[["path",{d:"M 15.4195 3.7055 C 15.859 4.1449 15.859 4.8551 15.4195 5.2945 L 6.4195 14.2945 C 5.9801 14.734 5.2699 14.734 4.8305 14.2945 L 0.3295 9.7945 C -0.1098 9.3551 -0.1098 8.6449 0.3295 8.2055 C 0.7689 7.766 1.4811 7.766 1.9206 8.2055 L 5.5934 11.9074 L 13.8305 3.7055 C 14.2699 3.2653 14.9801 3.2653 15.4195 3.7055 H 15.4195 z",fill:"currentColor",stroke:"none"}]],"outlined"),w=(0,h.default)("DangerCalloutIcon",[["path",{d:"M 0.6012 10.2656 c -0.4535 -0.784 -0.4535 -1.7473 0 -2.5312 L 3.7055 2.359 c 0.4535 -0.784 1.2867 -1.2656 2.1938 -1.2656 l 6.2086 0 c 0.9035 0 1.7402 0.4816 2.1938 1.2656 L 17.3988 7.7344 c 0.4535 0.784 0.4535 1.7473 0 2.5312 L 14.2945 15.641 c -0.4535 0.784 -1.2867 1.2656 -2.1938 1.2656 l -6.2086 0 c -0.9035 0 -1.7402 -0.4816 -2.1938 -1.2656 L 0.6012 10.2656 z m 1.4625 -1.6875 c -0.1512 0.2602 -0.1512 0.5836 0 0.8438 l 3.1043 5.3754 c 0.1512 0.2602 0.4289 0.4219 0.7313 0.4219 l 6.2086 0 c 0.3023 0 0.5801 -0.1617 0.7313 -0.4219 L 15.9398 9.4219 c 0.1512 -0.2602 0.1512 -0.5836 0 -0.8438 L 12.8355 3.2027 c -0.1512 -0.2602 -0.4289 -0.4219 -0.7313 -0.4219 l -6.2086 0 c -0.3023 0 -0.5801 0.1617 -0.7313 
10.4219 L 2.0602 8.5781 z M 9 4.5 c 0.4676 0 0.8438 0.3762 0.8438 0.8438 l 0 3.9375 c 0 0.4676 -0.3762 0.8438 -0.8438 0.8438 s -0.8438 -0.3762 -0.8438 -0.8438 l 0 -3.9375 c 0 -0.4676 0.3762 -0.8438 0.8438 -0.8438 z M 7.875 12.375 a 1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 1 1 -2.25 0 z",fill:"currentColor",stroke:"none"}]],"outlined"),C=(0,h.default)("InfoCalloutIcon",[["path",{d:"M 7.2 0 C 3.2231 0 0 3.2231 0 7.2 C 0 11.1768 3.2231 14.4 7.2 14.4 C 11.1768 14.4 14.4 11.1768 14.4 7.2 C 14.4 3.2231 11.1768 0 7.2 0 Z M 7.2 13.05 C 3.9741 13.05 1.35 10.4257 1.35 7.2 C 1.35 3.9743 3.9741 1.35 7.2 1.35 C 10.426 1.35 13.05 3.9743 13.05 7.2 C 13.05 10.4257 10.426 13.05 7.2 13.05 Z M 8.325 9.45 H 7.875 V 6.975 C 7.875 6.6038 7.5741 6.3 7.2 6.3 H 6.3 C 5.9288 6.3 5.625 6.6038 5.625 6.975 C 5.625 7.3462 5.9288 7.65 6.3 7.65 H 6.525 V 9.45 H 6.075 C 5.7038 9.45 5.4 9.7538 5.4 10.125 C 5.4 10.4962 5.7038 10.8 6.075 10.8 H 8.325 C 8.6977 10.8 9 10.4977 9 10.125 C 9 9.7523 8.6991 9.45 8.325 9.45 Z M 7.2 5.4 C 7.697 5.4 8.1 4.997 8.1 4.5 C 8.1 4.003 7.697 3.6 7.2 3.6 C 6.703 3.6 6.3 4.0022 6.3 4.5 C 6.3 4.9978 6.7022 5.4 7.2 5.4 Z",fill:"currentColor",stroke:"none"}]],"outlined"),j=(0,h.default)("NoteCalloutIcon",[["path",{d:"M 9 1.6714 C 13.0371 1.6714 16.3286 4.9629 16.3286 9 C 16.3286 13.0371 13.0371 16.3286 9 16.3286 C 7.0574 16.3252 5.1953 15.552 3.8217 14.1783 C 2.448 12.8047 1.6748 10.9426 1.6714 9 C 1.6714 4.9629 4.9629 1.6714 9 1.6714 Z M 9 0 C 4.0371 0 0 4.0371 0 9 C 0 13.9629 4.0371 18 9 18 C 13.9629 18 18 13.9629 18 9 C 18 4.0371 13.9629 0 9 0 Z M 10.2857 3.8571 H 7.7143 V 10.2857 H 10.2857 V 3.8571 Z M 10.2857 11.5714 H 7.7143 V 14.1429 H 10.2857 V 11.5714 Z",fill:"currentColor",stroke:"none",fillRule:"evenodd",clipRule:"evenodd"}]],"outlined"),N=(0,h.default)("TipCalloutIcon",[["path",{d:"M 4.0216 15.9727 C 4.0216 16.1941 4.0855 16.4101 4.2074 16.5947 L 4.81 17.4979 C 4.9946 17.7747 5.4137 18 5.7467 18 H 7.9149 C 8.2468 18 8.6659 17.775 8.8505 17.4979 L 9.451 16.5951 C 9.5543 16.439 9.6391 16.1601 9.6391 15.9727 L 9.6436 14.5945 H 4.0181 L 4.0216 15.9727 Z M 6.8308 0 C 3.2453 0.0113 0.6429 2.9171 0.6429 6.1563 C 0.6429 7.7167 1.2209 9.1392 2.1744 10.2278 C 2.7556 10.8901 3.663 12.2751 4.0104 13.443 C 4.0115 13.4518 4.0137 13.4612 4.0148 13.4706 H 9.6473 C 9.6483 13.4612 9.6505 13.4524 9.6517 13.443 C 9.9988 12.2751 10.9065 10.8901 11.4877 10.2278 C 12.4422 9.1695 13.0189 7.749 13.0189 6.1563 C 13.0189 2.7705 10.2483 0.0001 6.8308 0 Z M 10.2202 9.1449 C 9.6696 9.7724 8.9882 10.7727 8.4956 11.8131 H 5.1692 C 4.6766 10.7727 3.9953 9.7724 3.445 9.1452 C 2.7257 8.3257 2.3305 7.2463 2.3305 6.1563 C 2.3305 3.9835 4.0216 1.6964 6.7992 1.6876 C 9.3131 1.6876 11.3312 3.7058 11.3312 6.1563 C 11.3312 7.2463 10.9374 8.3257 10.2202 9.1449 Z M 6.2683 2.8127 C 4.7178 2.8127 3.4556 4.0749 3.4556 5.6254 C 3.4556 5.9364 3.7072 6.188 4.0181 6.188 C 4.3291 6.188 4.5807 5.9348 4.5807 5.6254 C 4.5807 4.6948 5.3376 3.9378 6.2683 3.9378 C 6.5792 3.9378 6.8308 3.6865 6.8308 3.3756 C 6.8308 3.0647 6.5777 2.8127 6.2683 2.8127 Z",fill:"currentColor",stroke:"none"}]],"outlined"),M=(0,h.default)("WarningCalloutIcon",[["path",{d:"M 9 6.75 v 1.5 m 0 3 h 0.0075 m -5.2035 3 h 10.392 c 1.155 0 1.8765 -1.2503 1.299 -2.25 L 10.299 3 c -0.5775 -0.9997 -2.0205 -0.9997 -2.598 0 L 2.505 12 c -0.5775 0.9997 0.144 2.25 1.299 2.25 z",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}]],"outlined");var _=e.i(133550);let E={info:{Icon:C,className:"flex-none size-5",colorClassName:"text-neutral-800 dark:text-neutral-300"},warning:{Icon:M,className:"flex-none size-5",colorClassName:"text-yellow-800 dark:text-yellow-300"},note:{Icon:j,className:"size-4",colorClassName:"text-blue-800 dark:text-blue-300"},tip:{Icon:N,className:"size-4.5",colorClassName:"text-green-800 dark:text-green-300"},check:{Icon:k,className:"size-4",colorClassName:"text-green-800 dark:text-green-300"},danger:{Icon:w,className:"flex-none size-4",colorClassName:"text-red-800 dark:text-red-300"}},T=({type:e,colorClassName:r})=>{let{Icon:a,className:n,colorClassName:o}=E[e];return(0,t.jsx)(a,{"aria-hidden":"true",className:(0,d.cn)(n,r??o)})},S={info:{icon:(0,t.jsx)(T,{type:"info"}),container:"border-neutral-200 bg-neutral-50 dark:border-neutral-700 dark:bg-white/10",contentText:"text-neutral-800 dark:text-neutral-300",cardSelectors:"[&_[data-component-part=card-title]]:text-neutral-900 dark:[&_[data-component-part=card-title]]:text-neutral-100 [&_[data-component-part=card-content]]:text-neutral-800 dark:[&_[data-component-part=card-content]]:text-neutral-300 [&_[data-component-part=card-icon]]:text-neutral-800 [&_[data-component-part=card-icon]]:fill-neutral-800 dark:[&_[data-component-part=card-icon]]:text-neutral-300 dark:[&_[data-component-part=card-icon]]:fill-neutral-300",iconBgClassName:"bg-neutral-800 dark:bg-neutral-300"},warning:{icon:(0,t.jsx)(T,{type:"warning"}),container:"border-yellow-200 bg-yellow-50 dark:border-yellow-900 dark:bg-yellow-600/20",contentText:"text-yellow-800 dark:text-yellow-300",cardSelectors:"[&_[data-component-part=card-title]]:text-yellow-900 dark:[&_[data-component-part=card-title]]:text-yellow-200 [&_[data-component-part=card-content]]:text-yellow-800 dark:[&_[data-component-part=card-content]]:text-yellow-300 [&_[data-component-part=card-icon]]:text-yellow-800 [&_[data-component-part=card-icon]]:fill-yellow-800 dark:[&_[data-component-part=card-icon]]:text-yellow-300 dark:[&_[data-component-part=card-icon]]:fill-yellow-300",iconBgClassName:"bg-yellow-800 dark:bg-yellow-300"},note:{icon:(0,t.jsx)(T,{type:"note"}),container:"border-blue-200 bg-blue-50 dark:border-blue-900 dark:bg-blue-600/20",contentText:"text-blue-800 dark:text-blue-300",cardSelectors:"[&_[data-component-part=card-title]]:text-blue-900 dark:[&_[data-component-part=card-title]]:text-blue-200 [&_[data-component-part=card-content]]:text-blue-800 dark:[&_[data-component-part=card-content]]:text-blue-300 [&_[data-component-part=card-icon]]:text-blue-800 [&_[data-component-part=card-icon]]:fill-blue-800 dark:[&_[data-component-part=card-icon]]:text-blue-300 dark:[&_[data-component-part=card-icon]]:fill-blue-300",iconBgClassName:"bg-blue-800 dark:bg-blue-300"},tip:{icon:(0,t.jsx)(T,{type:"tip"}),container:"border-green-200 bg-green-50 dark:border-green-900 dark:bg-green-600/20",contentText:"text-green-800 dark:text-green-300",cardSelectors:"[&_[data-component-part=card-title]]:text-green-900 dark:[&_[data-component-part=card-title]]:text-green-200 [&_[data-component-part=card-content]]:text-green-800 dark:[&_[data-component-part=card-content]]:text-green-300 [&_[data-component-part=card-icon]]:text-green-800 [&_[data-component-part=card-icon]]:fill-green-800 dark:[&_[data-component-part=card-icon]]:text-green-300 dark:[&_[data-component-part=card-icon]]:fill-green-300",iconBgClassName:"bg-green-800 dark:bg-green-300"},check:{icon:(0,t.jsx)(T,{type:"check"}),container:"border-green-200 bg-green-50 dark:border-green-900 dark:bg-green-600/20",contentText:"text-green-800 dark:text-green-300",cardSelectors:"[&_[data-component-part=card-title]]:text-green-900 dark:[&_[data-component-part=card-title]]:text-green-200 [&_[data-component-part=card-content]]:text-green-800 dark:[&_[data-component-part=card-content]]:text-green-300 [&_[data-component-part=card-icon]]:text-green-800 [&_[data-component-part=card-icon]]:fill-green-800 dark:[&_[data-component-part=card-icon]]:text-green-300 dark:[&_[data-component-part=card-icon]]:fill-green-300",iconBgClassName:"bg-green-800 dark:bg-green-300"},danger:{icon:(0,t.jsx)(T,{type:"danger"}),container:"border-red-200 bg-red-50 dark:border-red-900 dark:bg-red-600/20",contentText:"text-red-800 dark:text-red-300",cardSelectors:"[&_[data-component-part=card-title]]:text-red-900 dark:[&_[data-component-part=card-title]]:text-red-200 [&_[data-component-part=card-content]]:text-red-800 dark:[&_[data-component-part=card-content]]:text-red-300 [&_[data-component-part=card-icon]]:text-red-800 [&_[data-component-part=card-icon]]:fill-red-800 dark:[&_[data-component-part=card-icon]]:text-red-300 dark:[&_[data-component-part=card-icon]]:fill-red-300",iconBgClassName:"bg-red-800 dark:bg-red-300"}};
1function I({children:e,icon:r,iconType:a,color:n,className:i,childrenClassName:s,calloutType:c,label:u,customStyle:p,customTextStyle:h}){let g="string"==typeof r?r.trim()?(0,t.jsx)(l.ComponentIcon,{icon:r,iconType:a,color:n,className:"size-4 m-0! shrink-0"}):null:r;return(0,t.jsxs)("div",{role:u?"note":void 0,"aria-label":u,className:(0,d.cn)(o.Classes.Callout,"my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3",i),style:{...p,...h},"data-callout-type":c,children:[!!g&&(0,t.jsx)("div",{className:"mt-0.5 w-4","data-component-part":"callout-icon",children:g}),(0,t.jsx)("div",{className:(0,d.cn)("text-sm prose dark:prose-invert min-w-0 w-full [&_kbd]:bg-background-light dark:[&_kbd]:bg-background-dark [&_code]:text-current! [&_kbd]:text-current! [&_a]:text-current! [&_a]:border-current [&_strong]:text-current!",s),style:h,"data-component-part":"callout-content",children:e})]})}let L=e=>{let t=(e=>{if(e)try{return(0,_.default)(e)}catch{return}})(e);if(!t)return;let r=t.hex(),a=t.isDark(),n=t.mix((0,_.default)("#ffffff"),.5),o=t.mix((0,_.default)("#000000"),.5);return{containerClassName:"border-(--callout-light-border-color,#71717a33) bg-(--callout-light-bg-color,#7171711a) dark:border-(--callout-border-color,#71717a4d) dark:bg-(--callout-bg-color,#7171711a)",childrenClassName:"text-(--callout-text-color) dark:text-(--dark-callout-text-color)",customStyle:{"--callout-light-border-color":`${r}33`,"--callout-light-bg-color":`${r}1a`,"--callout-border-color":`${r}${a?"66":"4d"}`,"--callout-bg-color":`${r}${a?"4d":"1a"}`},customTextStyle:{"--callout-text-color":`${o.hex()}`,"--dark-callout-text-color":`${n.hex()}`}}};function A({type:e,children:r,extraClassName:a,icon:n,iconType:o,color:l,className:i}){let s=(0,p.useSelectedLocale)(),c=S[e],u=L(l);return(0,t.jsx)(I,{calloutType:e,icon:null==n||!1===n?u?(0,t.jsx)(T,{type:e,colorClassName:"text-(--callout-text-color) dark:text-(--dark-callout-text-color)"}):c.icon:n,iconType:o,color:u?l:void 0,label:s[`aria.${e}`],className:(0,d.cn)("border",u?u.containerClassName:c.container,a,i),childrenClassName:u?u.childrenClassName:c.contentText,customStyle:u?.customStyle,customTextStyle:u?.customTextStyle,children:r})}function $({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(A,{type:"info",icon:r,iconType:a,color:n,className:o,children:e})}function z({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(A,{type:"warning",icon:r,iconType:a,color:n,extraClassName:"[&_[data-component-part='callout-icon']]:mt-px",className:o,children:e})}function P({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(A,{type:"note",icon:r,iconType:a,color:n,className:o,children:e})}function R({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(A,{type:"tip",icon:r,iconType:a,color:n,extraClassName:"[&_[data-component-part='callout-icon']]:mt-px",className:o,children:e})}function D({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(A,{type:"check",icon:r,iconType:a,color:n,className:o,children:e})}function H({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(A,{type:"danger",icon:r,iconType:a,color:n,className:o,children:e})}function F({children:e,icon:r,iconType:a,color:n,className:o}){let l=L(n);return(0,t.jsx)(I,{calloutType:"callout",icon:r,iconType:a,color:l?n:void 0,className:(0,d.cn)("border",l?l.containerClassName:"border-zinc-500/20 bg-zinc-50/50 dark:border-zinc-500/30 dark:bg-zinc-500/10",o),childrenClassName:l?l.childrenClassName:"text-zinc-900 dark:text-zinc-200",customStyle:l?.customStyle,customTextStyle:l?.customTextStyle,children:e})}e.s(["Card",()=>Y],464991);var O=e.i(590280),V=e.i(206558),B=e.i(674987);function U(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function G(e){if(!e)return!1;try{return new URL(e,window.location.origin).origin!==window.location.origin}catch{return!1}}var W=e.i(618566);function q(e){return!V.NEXT_PUBLIC.BASE_PATH||!e.startsWith("/")||e.startsWith("//")||e===V.NEXT_PUBLIC.BASE_PATH||e.startsWith(V.NEXT_PUBLIC.BASE_PATH+"/")?e:`${V.NEXT_PUBLIC.BASE_PATH}${e}`}function Z(e){return"undefined"!=typeof navigator&&/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?e.metaKey:e.ctrlKey}function X(e){let t=e;for(;t;){if(t.hasAttribute("data-client-link")){t=t.parentElement;continue}if(t.matches("a[href]"))return!0;t=t.parentElement}return!1}var K=e.i(588420),J=e.i(357332);
1function Y({title:e,icon:r,iconType:a,color:n,horizontal:o,href:i,img:s,children:c,disabled:u,cta:p,arrow:h,className:g,type:m}){let f=m?S[m]:void 0,b="string"==typeof r&&""===r.trim()?void 0:r??f?.icon,x="string"==typeof b?(0,t.jsx)(l.ComponentIcon,{icon:b,iconType:a,color:n,className:(0,d.cn)("size-6 m-0! shrink-0",f?.iconBgClassName??"bg-primary dark:bg-primary-light"),overrideColor:!0}):b;return u&&(i=void 0),(0,t.jsx)(Q,{className:(0,d.cn)(f&&(0,d.cn)(f.container,f.cardSelectors),i&&!f&&"hover:border-primary! dark:hover:border-primary-light!",g),title:e,icon:x,img:s,horizontal:o,href:i,cta:p,arrow:h,disabled:u,children:c})}function Q({title:e,icon:a,img:n,className:l,children:i,horizontal:s,arrow:c,mRef:p,cta:h,disabled:g,href:m,...f}){let b=function(e){let t=(0,u.useRef)(null),r=(0,W.useRouter)(),{getLivePreviewHref:a,navigateWithinLivePreview:n,requestContentEarly:o}=(0,u.useContext)(O.LivePreviewContext),l=void 0===e?void 0:a(e),i=G(e);(0,u.useEffect)(()=>{var e;if(!l||!t.current)return;let a=t.current,n=function(e,t){let r=document.createElement("a");return!function e(t,r){for(let a of Object.keys(r)){let n=r[a];if(void 0===n)continue;let o=t[a];U(o)&&U(n)?e(o,n):t[a]=n}}(r,t),r}(0,{href:q(l),tabIndex:-1,ariaHidden:"true",style:{display:"contents",color:"inherit",textDecoration:"none"},dataset:{clientLink:""},...i&&{target:"_blank",rel:"noreferrer"}}),o=(e=r,t=>{let r=t.defaultPrevented,a=t.target instanceof Element?t.target.closest("a[href]"):null,n=t.currentTarget instanceof Element?t.currentTarget:null,o=null!==a&&a!==n;if(o&&G(a.getAttribute("href")??void 0)||(t.preventDefault(),r||!o))return;let l=a.getAttribute("href");l&&(Z(t)?window.open(q((0,B.navHref)(l)),"_blank","noopener,noreferrer"):e.push((0,B.navHref)(l)))});for(let e of(n.addEventListener("click",o),Array.from(a.childNodes)))n.appendChild(e);a.appendChild(n);let s=a.removeChild.bind(a),c=a.insertBefore.bind(a),d=a.appendChild.bind(a);return a.removeChild=e=>e===n?s(e):e.parentNode===n?n.removeChild(e):s(e),a.insertBefore=(e,t)=>e===n||t===n||null!==t&&t.parentNode!==n?c(e,t):n.insertBefore(e,t),a.appendChild=e=>e===n?d(e):n.appendChild(e),()=>{for(n.removeEventListener("click",o);n.firstChild;)d(n.firstChild);n.remove(),a.removeChild=s,a.insertBefore=c,a.appendChild=d}},[l,i,r]);let s=(0,u.useCallback)(t=>{if(!l||window.getSelection()?.toString()||t.target instanceof Element&&X(t.target))return;let a=(0,B.navHref)(l);!(t.defaultPrevented&&n?.(a))&&(Z(t)||i?window.open(q((0,B.navHref)(l)),"_blank","noopener,noreferrer"):(e&&o?.(e),n?.(a)||r.push((0,B.navHref)(l))))},[e,n,o,l,i,r]),c=(0,u.useCallback)(e=>{l&&1===e.button&&(e.target instanceof Element&&X(e.target)||(e.preventDefault(),window.open(q((0,B.navHref)(l)),"_blank","noopener,noreferrer")))},[l]),d=(0,u.useCallback)(t=>{if(l&&("Enter"===t.key||" "===t.key)&&(!(t.target instanceof Element)||t.target===t.currentTarget))if(t.preventDefault(),i)window.open(q((0,B.navHref)(l)),"_blank","noopener,noreferrer");else{e&&o?.(e);let t=(0,B.navHref)(l);n?.(t)||r.push((0,B.navHref)(l))}},[e,n,o,l,i,r]);return{ref:t,props:{onClick:e?s:void 0,onAuxClick:e?c:void 0,onKeyDown:e?d:void 0,tabIndex:e?0:void 0,role:e?"link":void 0},external:i}}(m),x=c??b.external,y=(0,u.useId)(),v=(0,u.useId)(),k=null!=e&&""!==e,w="string"==typeof a,C=null!=a&&!s,j=n?n.match(/\/([^\/]+)\.[^.]+$/)?.[1]??"":"",N=(0,t.jsx)(t.Fragment,{children:a?w?(0,t.jsx)("img",{src:a,alt:(0,r.getTitleText)(e),className:"size-6 object-cover object-center","data-component-part":"card-icon"}):(0,t.jsx)("div",{"aria-hidden":"true",className:"size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&>svg]:size-6","data-component-part":"card-icon",children:a}):null});return(0,t.jsxs)("div",{className:(0,d.cn)(o.Classes.Card,"block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full",m&&"cursor-pointer",l),"aria-labelledby":m?e?y:v:void 0,...b.props,...f,ref:p,children:[n&&(0,t.jsx)("img",{src:n,alt:j,className:"w-full object-cover object-center not-prose","data-component-part":"card-image"}),(0,t.jsxs)("div",{ref:b.ref,className:(0,d.cn)("px-6 py-5 relative",s&&"flex items-center gap-x-4"),"data-component-part":"card-content-container",children:[m&&(0,t.jsx)("div",{className:(0,d.cn)("absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5",!x&&"hidden"),children:(0,t.jsx)(K.ArrowUpRight2Icon,{"aria-hidden":"true",strokeWidth:2,className:"m-0.5 size-3 shrink-0"})}),N,(0,t.jsxs)("div",{className:"w-full",children:[k&&(0,t.jsx)("h2",{id:y,className:(0,d.cn)("not-prose font-semibold text-base text-gray-800 dark:text-white",C&&"mt-4"),contentEditable:!1,"data-component-part":"card-title",children:e}),(0,t.jsx)("div",{id:v,className:(0,d.cn)("prose mt-1 font-normal text-base leading-6",e?"text-gray-600 dark:text-gray-400":"text-gray-700 dark:text-gray-300",!k&&C&&"mt-4",s&&"leading-6 mt-0"),"data-component-part":"card-content",children:i}),h&&(0,t.jsx)("div",{className:"mt-8","data-component-part":"card-cta",children:(0,t.jsxs)("button",{className:(0,d.cn)("text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center",!g&&"hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light"),disabled:g,children:[h,(0,t.jsx)(J.ChevronRightIcon,{"aria-hidden":"true",className:"-ml-0.5 size-2.5 shrink-0",strokeWidth:2})]})})]})]})]})}e.s(["Color",()=>ei],891376);var ee=e.i(662862),et=e.i(628083);e.s(["Tooltip",()=>eo],401819);var er=e.i(292346),ea=e.i(995047);let en=new Set(["p","div","section","ul","ol","table","pre","blockquote"]);function eo({tip:e,children:r,headline:a,cta:n,href:l,triggerAriaLabel:i,className:s}){var c;let[p,h]=(0,u.useState)(!1),g=function(){try{return matchMedia("(hover: hover)").matches}catch{return!0}}(),m=(0,u.useId)(),f=(0,u.isValidElement)(r)&&"string"==typeof r.type?r.type.toLowerCase():void 0,b=(0,u.isValidElement)(r)&&"function"==typeof r.type,x="button"===f||"a"===f,y=(0,u.useRef)("");if((0,u.useEffect)(()=>{let e=[];n&&!l&&e.push('<Tooltip>: "cta" requires "href";
1 the call-to-action link was not rendered.'),f&&en.has(f)&&e.push(`<${f}> cannot be a child of the <Tooltip> trigger button. Use inline content instead.`),b&&e.push("<Tooltip> wraps its children in a <button> trigger; a component child may render invalid nested interactive elements. Use plain text or a native <button>/<a> child.");let t=e.join("\n");if(t&&y.current!==t)for(let r of(y.current=t,e))console.warn(r)},[n,l,f,b]),null==r||!1===r||""===r)return null;let v=g||"a"===f?void 0:()=>{h(e=>!e)};return(0,t.jsx)(er.Tooltip.Provider,{delay:0,children:(0,t.jsxs)(er.Tooltip.Root,{open:p,onOpenChange:h,children:[x&&(0,u.isValidElement)(r)?(0,t.jsx)(er.Tooltip.Trigger,{"aria-label":i,"aria-describedby":p?m:void 0,onClick:v,className:s,render:r}):(0,t.jsx)(er.Tooltip.Trigger,{type:"button","aria-label":i,"aria-describedby":p?m:void 0,onClick:v,className:s,children:(c=r,(0,t.jsx)("span",{className:(0,d.cn)(o.Classes.Tooltip,"underline decoration-dotted decoration-2 underline-offset-4 decoration-gray-400 dark:decoration-gray-500"),children:c}))}),(0,t.jsx)(er.Tooltip.Portal,{children:(0,t.jsx)(er.Tooltip.Positioner,{className:"z-50",collisionPadding:8,children:(0,t.jsxs)(er.Tooltip.Popup,{id:m,role:"tooltip",className:"max-w-[16rem] px-4 py-3 rounded-xl bg-white border border-gray-200 dark:bg-gray-950 dark:border-gray-900 space-y-1 shadow-[0_10px_16px_-3px_rgb(10_10_10/0.05),0_3px_10px_-2px_rgb(10_10_10/0.02)]","data-component-part":"tooltip-content",children:[!!a&&(0,t.jsx)("p",{className:"text-xs font-medium leading-4 text-gray-900 dark:text-gray-200","data-component-part":"tooltip-headline",children:a}),(0,t.jsx)("p",{className:"text-xs text-gray-600 dark:text-gray-400 leading-4","data-component-part":"tooltip-tip",children:e}),n&&l&&(0,t.jsxs)(ea.DynamicLink,{href:l,"data-component-part":"tooltip-cta",className:"text-gray-600 mt-2! dark:text-gray-400 hover:text-primary dark:hover:text-primary-light gap-0.5 flex items-center text-xs font-medium leading-4",children:[n,(0,t.jsx)(J.ChevronRightIcon,{className:"size-3 shrink-0",strokeWidth:2.5,"aria-hidden":"true"})]})]})})})]})})}let el=(0,u.createContext)("compact"),ei=({children:e,variant:r,className:a})=>{let n=r??"compact";return(0,t.jsx)(el.Provider,{value:n,children:(0,t.jsx)("div",{"data-variant":n,className:(0,d.cn)(o.Classes.Color,"flex group","table"===n&&"flex-col gap-6","compact"===n&&"flex-row flex-wrap gap-x-2 gap-y-4",a),children:e})})};ei.Row=({children:e,title:a})=>(0,t.jsxs)("div",{className:(0,d.cn)(o.Classes.ColorRow,"flex flex-col gap-2 md:flex-row md:items-center"),children:[!!a&&(0,t.jsx)("div",{className:"md:w-[120px] w-full shrink-0",children:(0,t.jsx)("p",{className:"text-sm font-medium [letter-spacing:-0.1px] text-gray-900 dark:text-gray-200 m-0 truncate",title:(0,r.getTitleText)(a),children:a})}),(0,t.jsx)("div",{className:"flex w-full gap-1 md:gap-2",children:e})]}),ei.Item=({name:e,value:r})=>{let a=(0,p.useSelectedLocale)(),[n,l]=(0,u.useState)("idle"),s=(0,u.useRef)(null),[c,h]=(0,u.useTransition)();(0,u.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]);let{resolvedTheme:g}=(0,ee.useTheme)(),m=(0,u.useContext)(el),f="string"==typeof r?r:"dark"===(g||"light")?r.dark:r.light,b="string"==typeof r?{"--swatch-light":r,"--swatch-dark":r}:{"--swatch-light":r.light,"--swatch-dark":r.dark},x=(0,t.jsx)("button",{type:"button",style:b,onClick:()=>{h(async()=>{await (0,i.copyToClipboard)(f),l("copied"),s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{l("idle")},2e3)})},className:(0,d.cn)("cursor-copy relative flex items-center justify-center rounded-lg border border-neutral-200 dark:border-neutral-800 print:print-color-exact bg-(--swatch-light) dark:bg-(--swatch-dark)","compact"===m&&"max-h-[104px] aspect-square","table"===m&&"aspect-square w-full md:h-10"),"aria-label":e||a["aria.colorSwatch"].replace("{color}",String(f)),"aria-pressed":"copied"===n,"aria-roledescription":"copied"===n?a.copied:a["tooltip.copy"],children:(0,t.jsx)(et.Check2Icon,{"aria-hidden":!0,strokeWidth:2,className:(0,d.cn)("size-3.5 absolute inset-0 m-auto pointer-events-none transition-opacity duration-100 opacity-0 shrink-0","text-white [filter:drop-shadow(0_0_1px_rgb(0_0_0_/_0.75))_drop-shadow(0_0_2px_rgb(0_0_0_/_0.4))]","copied"===n&&"opacity-100")})});return(0,t.jsxs)("div",{className:(0,d.cn)(o.Classes.ColorItem,"compact"===m&&"flex flex-col gap-2 shrink-0","table"===m&&"w-full max-w-[50px] md:max-w-[60px]"),children:["table"===m?(0,t.jsx)(eo,{tip:f,children:x}):x,(0,t.jsx)("span",{role:"status",className:"sr-only",children:"copied"===n?a.copied:""}),"compact"===m&&(0,t.jsxs)("div",{className:"flex flex-col gap-0.5 min-w-0 
1w-[104px]",children:[e&&(0,t.jsx)("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-200 m-0 truncate text-center",title:e,children:e}),(0,t.jsx)("p",{className:"text-xs text-gray-600 dark:text-gray-400 m-0 truncate font-mono text-center",title:f,children:f})]})]})},e.s(["CardGroup",()=>eh,"Column",()=>ep,"Columns",()=>eu],35884);var es=e.i(243378);let ec=2,ed=({children:e,className:r,cols:a=ec})=>{let n=Number(a)||ec;return(0,t.jsx)("div",{className:(0,d.cn)(es.Classes.Columns,"prose dark:prose-invert grid max-w-none gap-4","sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]","@2xl/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @[0px]/columns-container:grid-cols-1",r),style:{"--cols":n},children:e})};function eu({className:e,cols:r,...a}){return(0,t.jsx)(ed,{...a,cols:(e=>{let t=Math.round(Number(e));if(Number.isFinite(t)&&!(t<1))return Math.min(4,t)})(r),className:(0,d.cn)(o.Classes.CardGroup,"dark:prose-dark gap-y-0 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]!",e)})}function ep({children:e,className:r}){return(0,t.jsx)("div",{className:(0,d.cn)("min-w-0",r),children:e})}function eh({children:e,...r}){return(0,t.jsx)(eu,{...r,children:e})}e.s(["default",()=>em],267823);var eg=e.i(770703);let em=(0,eg.default)(()=>e.A(978936),{loadableGenerated:{modules:[701959]},loading:()=>(0,t.jsx)("p",{children:"Loading..."}),ssr:!1});e.s(["DynamicFrame",()=>ef],602875);let ef=(0,eg.default)(()=>e.A(239757).then(e=>e.Frame),{loadableGenerated:{modules:[209875]}});e.s(["Expandable",()=>ek],287071);let eb="user_toggled_expandables",ex=()=>{try{let e=sessionStorage.getItem(eb);return e?JSON.parse(e):{}}catch(e){return{}}};var ey=e.i(75048);let ev="expandable-content";function ek({title:e,defaultOpen:r=!1,onChange:n,lazy:i,children:c,uniqueParamId:h,className:g}){let{hasScrolledToAnchorRef:m,anchor:f}=(0,u.useContext)(ey.EndpointLocationContext),b=(0,p.useSelectedLocale)(),x=!0===r||"string"==typeof r&&"true"===r,y=!!h,{isExpanded:v,onManualToggle:k,isInSessionStorage:w}=((e,t=!1)=>{let[r,a]=(0,u.useState)(!1),[n,o]=(0,u.useState)(t);return(0,u.useEffect)(()=>{if(!e)return;let t=ex();e in t&&(o(!!t[e]),a(!0))},[e]),{isExpanded:n,onManualToggle:(0,u.useCallback)(t=>{o(t),a(!0),e&&((e,t)=>{try{let r={...ex(),[e]:t};sessionStorage.setItem(eb,JSON.stringify(r))}catch(e){}})(e,t)},[e]),isInSessionStorage:r}})(h||"",x),[C,j]=(0,u.useState)(x),N=f?.startsWith("#")?f.slice(1):f,M=!!(h&&N&&(N===h||N.startsWith(`${h}-`))),[_,E]=(0,u.useState)(!1),T=M&&!m?.current&&!_,S=y?!!T||(w?v:x):C,[I,L]=(0,u.useState)(S||!i);(0,u.useLayoutEffect)(()=>{S&&!I&&L(!0)},[S,I]),(0,u.useLayoutEffect)(()=>{T&&(k(!0),E(!0))},[T,k]);let A=(0,a.useAnalyticsContext)("docs.expandable.open"),$=(0,a.useAnalyticsContext)("docs.expandable.close"),z=(0,u.useRef)(null),P=(0,u.useRef)(!!m?.current),[R,D]=(0,u.useState)(S),H=(0,u.useId)();return(0,u.useLayoutEffect)(()=>{D(S)},[S]),(0,u.useEffect)(()=>{let e=(e=!1)=>{(0,s.scrollElementIntoView)({shouldReturnEarly:!e&&P.current,checkIfShouldScroll:e=>!!z.current&&z.current.contains(e),preScrollCallback(e){m&&(m.current=!0),y?k(!0):j(!0);let t=e.closest(`.${ev}`);for(;t;){let e=t.closest("details"),r=t.previousElementSibling;e&&!e.open&&r&&r.click(),t=t.parentElement?.closest(`.${ev}`)??null}}})};e(),P.current=!0;let t=()=>e(!0);return window.addEventListener("hashchange",t),()=>{window.removeEventListener("hashchange",t)}},[y,k,m]),(0,t.jsxs)("details",{ref:z,open:S,onToggle:t=>{let r=t.currentTarget.open;D(r),r!==S&&(y?k(r):j(r),L(!0),n&&n(r),r?A({title:e}):$({title:e}))},className:(0,d.cn)(o.Classes.Expandable,"mt-4 border-standard rounded-xl [&[open]>summary]:rounded-b-none [&[open]>summary]:before:rounded-b-none",g),"data-testid":h+"-children",children:[(0,t.jsxs)("summary",{className:(0,d.cn)("not-prose text-sm flex flex-row items-center content-center w-full cursor-pointer relative focus-visible:outline-hidden before:content-[''] before:absolute before:inset-0 before:pointer-events-none before:rounded-[calc(var(--radius-xl)-1px)] focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light","text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-200 py-3 px-3.5 hover:bg-gray-50/50 dark:hover:bg-white/5 rounded-t-xl","list-none [&::-webkit-details-marker]:hidden",!S&&"rounded-b-xl"),"aria-controls":H,"aria-expanded":R,"data-component-part":"expandable-button",children:[(0,t.jsx)(l.default,{icon:"angle-right",className:(0,d.cn)("h-2.5 w-2.5 bg-zinc-400 transition-transform",S&&"rotate-90"),"data-component-part":"expandable-icon"}),(0,t.jsx)("div",{className:"ml-3 leading-tight text-left",children:(0,t.jsxs)("p",{className:"m-0",contentEditable:!1,
1children:[S?b.hide:b.show," ",e||b.childAttributes]})})]}),(0,t.jsx)("div",{id:H,className:(0,d.cn)(ev,"mx-3 px-2 border-t border-gray-100 dark:border-white/10"),"data-component-part":ev,children:I&&c})]})}e.s(["GitHub",()=>e$],437953);var ew=e.i(395787);let eC=(0,h.default)("CodeForkIcon",[["path",{d:"M9 8.75V12.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M4.75 5.75V6.75C4.75 7.855 5.645 8.75 6.75 8.75H9H11.25C12.355 8.75 13.25 7.855 13.25 6.75V5.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M4.75 5.75C5.85457 5.75 6.75 4.85457 6.75 3.75C6.75 2.64543 5.85457 1.75 4.75 1.75C3.64543 1.75 2.75 2.64543 2.75 3.75C2.75 4.85457 3.64543 5.75 4.75 5.75Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M13.25 5.75C14.3546 5.75 15.25 4.85457 15.25 3.75C15.25 2.64543 14.3546 1.75 13.25 1.75C12.1454 1.75 11.25 2.64543 11.25 3.75C11.25 4.85457 12.1454 5.75 13.25 5.75Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M9 16.25C10.1046 16.25 11 15.3546 11 14.25C11 13.1454 10.1046 12.25 9 12.25C7.89543 12.25 7 13.1454 7 14.25C7 15.3546 7.89543 16.25 9 16.25Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined"),ej=(0,h.default)("StarIcon",[["path",{d:"M9 1.75L11.24 6.289L16.25 7.017L12.625 10.551L13.481 15.54L9 13.185L4.519 15.54L5.375 10.551L1.75 7.017L6.76 6.289L9 1.75Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined");var eN=e.i(225913),eM=e.i(114140);let e_=(0,eN.cva)([o.Classes.GitHubRepo,"not-prose my-2 flex w-full flex-col overflow-hidden rounded-2xl border"],{variants:{variant:{inset:"gap-0.5 p-1",flat:"gap-2 px-4 py-3"},error:{true:"border-red-100 bg-red-50 dark:border-red-900 dark:bg-red-600/20",false:null}},compoundVariants:[{variant:"inset",error:!1,className:"border-gray-100 bg-gray-50 dark:border-white/10 dark:bg-white/5"},{variant:"flat",error:!1,className:"border-gray-100 bg-white dark:border-white/10 dark:bg-background-dark"}]}),eE=e=>{if("object"!=typeof e||null===e||!("response"in e))return;let{response:t}=e;if("object"!=typeof t||null===t||!("status"in t))return;let{status:r}=t;return"number"==typeof r?r:void 0},eT=new Map,eS=new Map,eI=new Map,eL=({className:e})=>(0,t.jsx)("span",{"aria-hidden":"true",className:(0,d.cn)("block animate-pulse repeat-2 roun
1ded-md bg-gray-200 motion-reduce:animate-none dark:bg-white/15",e)}),eA=({Icon:e,value:r,count:a,one:n,other:o})=>{let l=(0,p.useSelectedLocale)(),i=void 0===a||void 0===r?void 0:l[1===a?n:o].replace("{count}",r);return(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-gray-600 dark:text-gray-400",children:[(0,t.jsx)(e,{"aria-hidden":"true",className:"size-3 shrink-0"}),void 0===r?(0,t.jsx)(eL,{className:"my-0.5 h-4 w-8"}):(0,t.jsx)("span",{"aria-hidden":"true",className:"text-sm tabular-nums",children:r}),i&&(0,t.jsx)("span",{className:"sr-only",children:i})]})},e$=Object.assign(()=>null,{Repo:({repo:r,variant:a,className:n})=>{let o=(0,p.useSelectedLocale)(),l=(0,u.useId)(),i=(()=>{let e=(0,u.useRef)(!1);return{onPointerDown:t=>{let r=t.currentTarget;r.style.userSelect="",2===t.button&&(window.getSelection()?.isCollapsed??!0)&&(r.style.userSelect="none",e.current=!0)},onContextMenu:t=>{if(!e.current)return;e.current=!1;let r=t.currentTarget;setTimeout(()=>{r.style.userSelect=""},0)}}})(),s="flat"===a?"flat":"inset",c="inset"===s,h=(0,u.useMemo)(()=>{if(!r)return null;try{return(0,eM.default)(r)}catch{return null}},[r]),g=h?`${h.user}/${h.repo}`:void 0,[m,f]=(0,u.useState)(()=>g?eS.get(g):void 0),[b,x]=(0,u.useState)(()=>g?eI.get(g):void 0);(0,u.useEffect)(()=>{if(!h){f(void 0),x(void 0);return}let t=`${h.user}/${h.repo}`,r=eS.get(t),a=eI.get(t);if(f(r),x(a),r||a)return;let n=!1;return(t=>{let r=eT.get(t);if(r)return r;let a=e.A(547846).then(e=>e.default.get(`https://api.github.com/repos/${t}`)).then(e=>{if("number"!=typeof e.data.stargazers_count||"number"!=typeof e.data.forks_count)throw Error("Malformed repository data");return eS.set(t,e.data),e.data});return eT.set(t,a),a.catch(e=>{404===eE(e)?eI.set(t,"not-found"):eT.delete(t)}),a})(t).then(e=>{n||f(e)}).catch(e=>{n||x(404===eE(e)?"not-found":"unavailable")}),()=>{n=!0}},[h]);let y=!!r&&!h||"not-found"===b,v="unavailable"===b,k=!!h&&!m&&!b,w=y?o["github.repoDoesNotExist"]:g??o["github.noRepoAdded"],C=m?m.description:v?null:o["github.addRepoDescription"],j=m?m.stargazers_count.toLocaleString():k?void 0:"0",N=m?m.forks_count.toLocaleString():k?void 0:"0",M=g&&!y?`https://github.com/${g}`:void 0,_=y?"text-red-700 dark:text-red-300":"text-gray-950 dark:text-white",E=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,d.cn)("flex min-w-0 flex-col gap-1",c&&"rounded-xl bg-background-light px-3 py-2 dark:bg-background-dark"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(ew.GithubIcon,{className:(0,d.cn)("size-4 shrink-0",_)}),(0,t.jsx)("span",{id:l,title:y?void 0:g,className:(0,d.cn)("min-w-0 flex-1 truncate text-sm font-medium underline-offset-2 group-hover:underline group-focus-visible:underline",_),"data-component-part":"github-repo-title",children:w})]}),(0,t.jsx)("div",{"aria-busy":k||void 0,className:"line-clamp-3 min-h-5 text-sm text-gray-600 dark:text-gray-400","data-component-part":"github-repo-description",children:k?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eL,{className:"my-0.5 h-4 w-2/3"}),(0,t.jsx)("span",{className:"sr-only",children:o["github.loading"]})]}):C})]}),!v&&(0,t.jsxs)("div",{"aria-busy":k||void 0,className:(0,d.cn)("flex items-center gap-4",c&&"px-3 py-1"),"data-component-part":"github-repo-stats",children:[(0,t.jsx)(eA,{Icon:ej,value:j,count:m?m.stargazers_count:k?void 0:0,one:"github.stars_one",other:"github.stars_other"}),(0,t.jsx)(eA,{Icon:eC,value:N,count:m?m.forks_count:k?void 0:0,one:"github.forks_one",other:"github.forks_other"})]})]}),T=(0,d.cn)(e_({variant:s,error:y}),n);return M?(0,t.jsx)("a",{href:M,target:"_blank",rel:"noreferrer","aria-labelledby":l,...i,className:(0,d.cn)(T,"group focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light"),children:E}):(0,t.jsx)("div",{className:T,children:E})}});e.s(["Heading",()=>eG],896438);var ez=e.i(91557),eP=e.i(693619);e.s(["useTop",()=>eD],311005);var eR=e.i(111048);function eD(e){let{docsConfig:t}=(0,u.useContext)(ez.DocsConfigContext),[r,a]=(0,u.useState)(),n=e?e.top:void 0,o=t?.theme==="almond";return(0,u.useEffect)(()=>{let e;
1if(void 0!==n){if(o){let t=document.getElementById(eR.Ids.ContentContainer);t&&(e=n+t.scrollTop)}else e=n+window.pageYOffset;void 0!==e&&e!==r&&a(e)}},[n,r,o]),r}var eH=e.i(479721),eF=e.i(319129),eO=e.i(163061);function eV(e,{resize:t=!1}={}){let r=(0,u.useRef)(e);(0,u.useEffect)(()=>{r.current=e},[e]);let a=(0,u.useRef)(t);(0,u.useEffect)(()=>{a.current=t,c()},[t]);let n=(0,u.useRef)(null),o=(0,u.useCallback)(e=>{e!==n.current&&(n.current=e,i(),c())},[]),l=(0,u.useRef)(null),i=(0,u.useCallback)(({force:e=!1}={})=>{var t,a;if(!n.current)return;let o=n.current.getBoundingClientRect();if(e||(t=l.current,a=o,!t||t!==a&&eB.some(e=>t[e]!==a[e]))){l.current=o;let{bottom:e,height:t,left:a,right:n,top:i,width:s,x:c,y:d}=o;r.current({bottom:e,height:t,left:a,right:n,top:i,width:s,x:c,y:d})}},[]),s=(0,u.useRef)(null),c=(0,u.useCallback)(()=>{s.current&&(s.current.disconnect(),s.current=null),n.current&&a.current&&(s.current=new ResizeObserver(()=>i()),s.current.observe(n.current))},[]);return eU(i),[o,i]}e.s(["useRect",()=>eV],27815);var eB=["bottom","height","left","right","top","width","x","y"],eU="undefined"==typeof window?u.useEffect:u.useLayoutEffect;function eG({level:e,id:a,children:n,className:o="",hidden:l=!1,style:c={},noAnchor:h=!1,...g}){let{docsConfig:m}=(0,u.useContext)(ez.DocsConfigContext),f=(0,p.useSelectedLocale)(),b=`h${e}`,[x,y]=(0,eP.useMDXContent)(),[v,k]=(0,u.useState)(null),[w]=eV(k),C=eD(v),j=(0,eF.cleanHeadingId)(a),N=(0,r.getNodeText)(n).trim(),M=N.length>0&&!/\s/.test(N),_=(0,u.useCallback)(()=>{h||((0,i.copyToClipboard)(`https://${window.location.host}${window.location.pathname}#${j}`),window.location.hash=j,(0,s.scrollElementIntoView)({id:j}))},[j,h]),E=!!x;return(0,u.useEffect)(()=>{if(E)return void 0!==C&&y({type:"register_heading",payload:{id:j,top:C}}),()=>{y({type:"unregister_heading",payload:j})}},[C,j,E,y]),(0,t.jsxs)(b,{className:(0,d.cn)("flex whitespace-pre-wrap group font-semibold",(0,eH.themeHeadings)({theme:m?.theme}),o,{"text-2xl sm:text-3xl mt-10":"h1"===b}),id:j,ref:w,style:{...l?{marginBottom:0}:{},...c},...g,children:[!l&&!h&&(0,t.jsx)("div",{className:"absolute",tabIndex:-1,children:(0,t.jsxs)("a",{href:`#${j}`,className:"-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link","aria-label":f["aria.navigateToHeader"],onClick:_,children:["​",(0,t.jsx)("div",{className:"size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light",children:(0,t.jsx)(eO.LinkIcon,{"aria-hidden":"true",className:"size-3 shrink-0",strokeWidth:2})})]})}),(0,t.jsx)("span",{className:(0,d.cn)(M&&"min-w-0 break-words",!h&&"cursor-pointer",l&&"sr-only"),onClick:_,children:n})]})}function eW({icon:e,src:r,iconType:a,color:n,size:i,className:s,"aria-label":c,title:u}){return(0,t.jsx)(l.ComponentIcon,{icon:e,src:r,iconType:a,color:n,"aria-label":c??u,style:{width:i??16,height:i??16,display:"inline-block",verticalAlign:"middle"},className:(0,d.cn)(o.Classes.Icon,"inline",!n&&"bg-primary dark:bg-primary-light",s)})}function eq({children:e,className:r}){return(0,t.jsx)("span",{className:(0,d.cn)("latex-style inline text-inherit p-0",r),children:e})}function eZ({children:e}){return(0,t.jsx)(t.Fragment,{children:e})}e.s(["Icon",()=>eW],688527),e.s(["Latex",()=>eq],179958),e.s(["MDX",()=>eZ],973469),e.s(["DynamicMermaid",()=>eX],52693);let eX=(0,eg.default)(()=>e.A(47440).then(e=>e.Mermaid),{loadableGenerated:{modules:[603619]},ssr:!1})},709910,e=>{"use strict";e.s(["MediaActions",()=>f,"parseMediaActions",()=>u],709910);var t=e.i(843476),r=e.i(343590),a=e.i(560179),n=e.i(628083);let o=(0,e.i(930733).default)("CloudDownloadIcon",[["path",{d:"M13.464 6.891C13.278 4.577 11.362 2.75 9 2.75C6.515 2.75 4.5 4.765 4.5 7.25C4.5 7.6 4.549 7.936 4.624 8.263C3.027 8.33 1.75 9.637 1.75 11.25C1.75 12.907 3.093 14.25 4.75 14.25H12.5C14.571 14.25 16.25 12.571 16.25 10.5C16.25 8.764 15.065 7.318 13.464 6.891Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M11.25 9.5L9 11.75L6.75 9.5",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M9 11.75V6.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined");var l=e.i(760391),i=e.i(296548),s=e.i(271645);let c=["copy","download"],d=e=>"copy"===e||"download"===e,u=e=>{if(void 0===e||!1===e)return[];if(!0===e)return c;if("string"!=typeof e)return e.filter(d);let t=e.trim().toLowerCase();return"false"===t?[]:""===t||"true"===t?c:t.split(",").map(e=>e.trim()).filter(d)},p=()=>
1{let[e,t]=(0,s.useState)(null),r=(0,s.useRef)(void 0);return(0,s.useEffect)(()=>()=>clearTimeout(r.current),[]),{outcome:e,show:e=>{t(e),clearTimeout(r.current),r.current=setTimeout(()=>t(null),2e3)}}},h=({className:e,onClick:r,...a})=>(0,t.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),r?.(e)},className:(0,i.cn)("relative flex items-center gap-1.5 rounded-lg px-2 py-1 text-xs/4 font-medium","bg-gray-50 dark:bg-gray-900 text-gray-500 dark:text-gray-400","hover:bg-gray-100 dark:hover:bg-gray-800 hover:text-gray-700 dark:hover:text-gray-300","transition-colors duration-100","border border-gray-200 dark:border-gray-800 hover:border-gray-300 dark:hover:border-gray-700","[&>svg]:size-3 [&>svg]:shrink-0","after:absolute after:-inset-x-0.75 after:-inset-y-2","focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:outline-primary dark:focus-visible:outline-primary-light",e),...a}),g=({src:e})=>{let o=(0,r.useSelectedLocale)(),{outcome:i,show:s}=p();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h,{"data-component-part":"media-actions-copy-button",onClick:()=>{(0,a.copyImageToClipboard)(e).then(e=>s(e?"done":"failed"))},children:["done"===i?(0,t.jsx)(n.Check2Icon,{strokeWidth:2,"aria-hidden":"true"}):(0,t.jsx)(l.DuplicateIcon,{strokeWidth:2,"aria-hidden":"true"}),"failed"===i?o.copyFailed:o["tooltip.copy"]]}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:"done"===i?o.copied:"failed"===i?o.copyFailed:""})]})},m=({src:e})=>{let l=(0,r.useSelectedLocale)(),{outcome:i,show:s}=p();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h,{"data-component-part":"media-actions-download-button",onClick:()=>{(0,a.downloadMedia)(e).then(e=>{e&&s("done")})},children:["done"===i?(0,t.jsx)(n.Check2Icon,{strokeWidth:2,"aria-hidden":"true"}):(0,t.jsx)(o,{strokeWidth:2,"aria-hidden":"true"}),l["tooltip.download"]]}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:"done"===i?l["aria.fileDownloaded"]:""})]})},f=({src:e,actions:r,children:a,placement:n="bottom-center",style:o})=>(0,t.jsxs)("span",{"data-component-name":"media-actions",style:o,className:(0,i.cn)("group/media relative block w-fit overflow-hidden rounded leading-none","bg-gray-50 dark:bg-gray-900","ring-1 ring-gray-900/10 dark:ring-gray-50/10","[&_img]:my-0 [&_img]:rounded-none"),children:[a,(0,t.jsxs)("span",{"data-component-part":"media-actions-buttons",className:(0,i.cn)("absolute z-10 flex items-center gap-1.5 print:hidden","pointer-events-none opacity-0 transition-opacity","group-hover/media:pointer-events-auto group-hover/media:opacity-100","has-focus-visible:pointer-events-auto has-focus-visible:opacity-100","pointer-coarse:pointer-events-auto pointer-coarse:opacity-100","bottom-center"===n&&"bottom-2 left-1/2 -translate-x-1/2","bottom-right"===n&&"bottom-2 right-2","bottom-left"===n&&"bottom-2 left-2","top-center"===n&&"top-2 left-1/2 -translate-x-1/2","top-right"===n&&"top-2 right-2","top-left"===n&&"top-2 left-2"),children:[r.includes("copy")&&(0,t.jsx)(g,{src:e}),r.includes("download")&&(0,t.jsx)(m,{src:e})]})]})},403781,(e,t,r)=>{"use strict";r.Fragment=Symbol.for("react.fragment"),r.jsxDEV=void 0},921694,(e,t,r)=>{"use strict";t.exports=e.r(403781)},917180,184472,15878,e=>{"use strict";e.s(["MdxContent",()=>eX],917180);var t=e.i(843476);e.s(["default",()=>eI],184472);var r=e.i(638702),a=e.i(167808),n=e.i(393789),o=e.i(579694),l=e.i(464991),i=e.i(792616),s=e.i(177986),c=e.i(891376),d=e.i(35884),u=e.i(231116),p=e.i(267823),h=e.i(602875),g=e.i(287071),m=e.i(437953),f=e.i(896438),b=e.i(688527),x=e.i(179958),y=e.i(973469),v=e.i(52693),k=e.i(709910),w=e.i(53339),C=e.i(91557),j=e.i(590280),N=e.i(343534),M=e.i(296548),_=e.i(271645);function E(e){return"number"==typeof e?{type:"pixel",value:e}:"string"==typeof e?e.endsWith("%")?{type:"percentage",value:e}:{type:"pixel",value:parseInt(e,10)}:void 0}function T({src:e,alt:r,className:a,class:n,priority:o,noZoom:l=!1,actions:i,actionsPlacement:s,width:c,height:d,"data-optimize":u,"data-opv":p,"data-og-width":h,"data-og-height":g,style:m,srcset:f,...b}
1){let x=E(c),y=E(d),v=E(h),T=E(g),S=function(){let{docsConfig:e}=(0,_.useContext)(C.DocsConfigContext),{pageMetadata:t}=(0,_.useContext)(C.PageContext),r=e?.theme,{isCenter:a,isWide:n,isCustom:o,isFrame:l}=(0,N.getPageMode)(t);if(o)return"100vw";let i=(()=>{if(a)return 768;switch(r){case"aspen":if(l)return 1152;if(n)return 848;return 704;case"luma":if(l)return 1152;return 696;case"palm":case"willow":return n?1024:672;case"maple":return n?2500:672;case"almond":if(l||n)return 2500;return 576;case"sequoia":if(l)return 1152;if(n)return 896;return 600;default:return n?1152:1024}})();return`(max-width: ${a?768:1024}px) 100vw, ${i}px`}(),{isLivePreview:I,liveMedia:L}=(0,_.useContext)(j.LivePreviewContext),A=(0,_.useMemo)(()=>e&&"string"==typeof e?(0,j.resolveLivePreviewMediaSrc)({src:e,isLivePreview:I,liveMedia:L}):e,[e,I,L]),$=x?.type==="pixel"&&y?.type==="pixel"?`${x.value} / ${y.value}`:v?.type==="pixel"&&T?.type==="pixel"?`${v.value} / ${T.value}`:void 0,z=(0,k.parseMediaActions)(i),P=z.length>0&&!!A&&"string"==typeof A,R="string"==typeof m?.width&&m.width.endsWith("%")?m.width:void 0,D=P?x?.type==="percentage"?x.value:R:void 0,H=D&&x?.type==="percentage"?"100%":c,F=D?E(H):x,O=D&&R?{...m,width:"100%"}:m,V=(0,t.jsx)(w.ZoomImage,{noZoom:l,zoomImg:{src:A,srcSet:"",width:v?.type==="pixel"?v.value:void 0,height:T?.type==="pixel"?T.value:void 0},children:A&&"string"==typeof A&&"true"===u&&(x||y)?(0,t.jsx)("picture",{className:"contents",children:(0,t.jsx)("img",{...b,src:A,alt:r,className:(0,M.cn)("object-contain",n,a),...F?{width:F.value}:{},...y?{height:y.value}:{},decoding:"async",sizes:S,srcSet:f,"data-optimize":u,style:{...$?{aspectRatio:$}:{},...O}})}):(0,t.jsx)("img",{...b,src:A,alt:r,className:(0,M.cn)(n,a),srcSet:f,style:O,width:H,height:d,"data-optimize":u})});return P&&"string"==typeof A?(0,t.jsx)(k.MediaActions,{src:A,actions:z,placement:s,style:D?{width:D}:void 0,children:V}):V}var S=e.i(111048),I=e.i(786475),L=e.i(343590),A=e.i(693619),$=e.i(311005),z=e.i(476781),P=e.i(568258),R=e.i(193726),D=e.i(895849),H=e.i(319129),F=e.i(163061),O=e.i(27815);let V=["p","h2","h3","h4"],B=({stepNumber:e=1,icon:r,iconType:a,title:n,children:o,titleSize:l="p",noAnchor:i=!1,isLast:s=!1,id:c,className:d})=>{let[u,p]=(0,A.useMDXContent)(),h=(0,L.useSelectedLocale)(),[g,m]=(0,_.useState)(null),[f,b]=(0,_.useState)(!1),[x]=(0,O.useRect)(m),y=(0,$.useTop)(g),v=V.includes(l)?l:"p",k=["h2","h3"].includes(v),w=!!u,C=(0,H.safeCleanHeadingId)(c??""),j=(0,_.useCallback)(()=>{!i&&C&&k&&((0,R.copyToClipboard)(`${window.location.origin}${window.location.pathname}#${C}`),window.location.hash=C,(0,D.scrollElementIntoView)({id:C}))},[C,i,k]);(0,_.useEffect)(()=>{if(w&&C&&void 0!==y&&!i&&k)return p({type:"register_heading",payload:{id:C,top:y}}),()=>{p({type:"unregister_heading",payload:C})}},[y,C,w,p,i,k]),(0,_.useEffect)(()=>{C&&!i&&k&&window.location.hash.substring(1)===C&&(0,D.scrollElementIntoView)({id:C})},[]);let N=(0,_.useCallback)(e=>{k&&b(e)},[k]),E={onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),onClick:j},T="string"==typeof r?(0,t.jsx)(P.ComponentIcon,{icon:r,iconType:a,className:"size-3 bg-gray-900 dark:bg-gray-50",overrideColor:!0}):void 0===r?Number(e):r;return(0,t.jsxs)("div",{id:C||void 0,ref:x,role:"listitem",className:(0,M.cn)(z.Classes.Step,"group/step step-container relative flex items-start pb-5",d),children:[(0,t.jsx)("div",{"data-component-part":"step-line",className:(0,M.cn)("absolute w-px h-[calc(100%-2.75rem)] top-11",s?"bg-transparent bg-linear-to-b from-gray-200 dark:from-white/10 via-80% to-transparent [.step-container:has([data-component-part=step-content]:empty)_&]:hidden":"bg-gray-200/70 dark:bg-white/10"),contentEditable:!1}),(0,t.jsx)("div",{className:"absolute ml-[-13px] py-2","data-component-part":"step-number",contentEditable:!1,children:(0,t.jsxs)("div",{"data-component-part":"step-indicator",className:"group/step-indicator relative size-7 shrink-0 rounded-full bg-gray-50 dark:bg-white/10 text-xs text-gray-900 dark:text-gray-50 font-semibold flex items-center justify-center",onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),children:[(0,t.jsx)("div",{className:(0,M.cn)("[[data-component-part=step-indicator]:has(a:focus-visible)_&]:opacity-0",f&&"opacity-0"),children:T}),!i&&!!C&&k&&(0,t.jsx)("div",{className:"absolute","data-component-part":"step-number-anchor-link",children:(0,t.jsx)("a",{href:`#${C}`,className:(0,M.cn)("flex items-center opacity-0 border-0 focus-visible:opacity-100",f&&"opacity-100"),"aria-label":h["aria.navigateToHeader"],onClick:e=>{e.preventDefault(),j()},children:(0,t.jsx)("div",{className:"size-6 flex items-center justify-center",children:(0,t.jsx)(F.LinkIcon,{"aria-hidden":"true",className:"size-3 shrink-0",strokeWidth:2})})})})]})}),(0,t.jsxs)("div",{className:"w-full overflow-hidden pl-8 pr-px",children:[!!n&&({p:(0,t.jsx)("p",{className:"mt-2 font-semibold prose dark:prose-invert text-gray-900 dark:text-gray-200",contentEditable:!1,"data-component-part":"step-title",...E,children:n}),h2:(0,t.jsx)("h2",{className:"mt-2 cursor-pointer",contentEditable:!1,"data-component-part":"step-title",...E,children:n}),h3:(0,t.jsx)("h3",{className:"mt-2 cursor-pointer",contentEditable:!1,"data-component-part":"step-title",...E,children:n}),h4:(0,t.jsx)("h4",{className:"mt-2",contentEditable:!1,"data-component-part":"step-title",...E,children:n})})[v],(0,t.jsx)("div",{"data-component-part":"step-content",className:(0,M.cn)("prose dark:prose-invert",!n&&"mt-2"),children:o})]})]})},U=e=>_.Children.toArray(e).flatMap(e=>(0,_.isValidElement)(e)&&e.type===_.Fragment?U(e.props.children):[e]),G=e=>(0,_.isValidElement)(e)?"string"==typeof e.type?`<${e.type}>`:"A component child":`Text ("${String(e).trim().slice(0,40)}")`;var W=e.i(379841);e.i(45082);var q=e.i(25871),Z=e.i(963899),X=e.i(857866),K=e.i(995047);let J=e=>{let t=`
2    <svg width="24" height="24" xmlns="http://www.w3.org/2000/svg">
3      <g opacity="0.5">
4        <line x1="12" y1="${7}" x2="12" y2="${17}" 
5              stroke="${e}" stroke-width="1" stroke-linecap="round"/>
6        <line x1="${7}" y1="12" x2="${17}" y2="12" 
7              stroke="${e}" stroke-width="1" stroke-linecap="round"/>
8      </g>
9    </svg>
10  `;return`data:image/svg+xml,${encodeURIComponent(t)}`},Y=J("rgb(0 0 0 / 0.02)"),Q=J("rgb(255 255 255 / 0.05)"),ee=(0,M.cn)("bg-repeat-round bg-center [grid-area:1/1] size-full pointer-events-none select-none","bg-[size:24px_24px]","after:content-[''] after:left-0 after:absolute after:h-full after:w-[7px] dark:after:bg-gray-900 after:bg-gray-50","before:content-[''] before:right-0 before:absolute before:h-full before:w-[7px] dark:before:bg-gray-900 before:bg-gray-50");var et=e.i(401819),er=e.i(642425);let ea=(0,_.createContext)({level:1,parentId:null,highlighted:!1}),en=()=>(0,_.useContext)(ea),eo=({children:e,level:r,parentId:a,highlighted:n=!1})=>{let o=(0,_.useMemo)(()=>({level:r,parentId:a,highlighted:n}),[r,a,n]);return(0,t.jsx)(ea.Provider,{value:o,children:e})},el=e=>6+(e-1)*22,ei=({name:e,highlight:r=!1,className:a})=>{let{level:n,highlighted:o}=en();return(0,t.jsxs)("div",{role:"treeitem","aria-level":n,"aria-current":r?"true":void 0,tabIndex:-1,
10className:(0,M.cn)("relative focus-visible:z-20 py-1 pr-1.5 -outline-offset-1 flex items-center gap-1.5 cursor-default font-medium",!r&&"pl-[calc(var(--padding-left)*1px)] text-gray-700 dark:text-gray-400",!r&&!o&&"hover:bg-neutral-100 dark:hover:bg-neutral-900 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-2 dark:focus-visible:outline-(--color-primary)!",!r&&o&&"isolate before:absolute before:inset-y-0 before:right-0 before:-z-10 before:left-[calc(var(--highlight-left)*1px)] hover:before:bg-(--tree-highlight-bg) dark:hover:before:bg-(--tree-highlight-bg)/50 focus-visible:outline-hidden focus-visible:before:outline focus-visible:before:outline-2 focus-visible:before:-outline-offset-2 focus-visible:before:outline-(--tree-highlight-accent)",r&&"z-20 group/row pl-[calc(var(--padding-left)*1px)] text-(--tree-highlight-text) focus-visible:outline-hidden forced-colors:outline forced-colors:outline-1 forced-colors:-outline-offset-1 forced-colors:outline-[Highlight]",z.Classes.TreeFile,a),style:{"--padding-left":el(n)},children:[r&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 right-0 -z-10 bg-(--tree-highlight-bg) group-hover/row:bg-(--tree-highlight-bg-hover) left-[calc(max(0px,(var(--padding-left)-14)*1px))] group-focus-visible/row:outline group-focus-visible/row:outline-2 group-focus-visible/row:-outline-offset-2 group-focus-visible/row:outline-(--tree-highlight-accent) print:print-color-exact","data-component-part":"tree-file-highlight-bg"}),r&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 w-px bg-(--tree-highlight-accent) left-[calc(max(0px,(var(--padding-left)-14)*1px))] z-20 print:print-color-exact","data-component-part":"tree-file-highlight-bar"}),(0,t.jsx)(er.FileIcon,{className:"shrink-0 select-none size-4","aria-hidden":"true","data-component-part":"tree-file-icon"}),(0,t.jsx)("span",{className:"truncate text-sm leading-5 tracking-[-0.1px]","data-component-part":"tree-file-title",title:e,children:e})]})};var es=e.i(930733);let ec=(0,es.default)("Folder2Icon",[["path",{d:"M13.75 5.25C14.855 5.25 15.75 6.145 15.75 7.25V12.75C15.75 13.855 14.855 14.75 13.75 14.75H4.25C3.145 14.75 2.25 13.855 2.25 12.75V4.75C2.25 3.645 3.145 2.75 4.25 2.75H6.075C6.662 2.75 7.219 3.008 7.599 3.455L9.123 5.25H13.749H13.75Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined"),ed=(0,es.default)("Folder2OpenIcon",[["path",{d:"M5 14.75H4.25C3.145 14.75 2.25 13.855 2.25 12.75V4.75C2.25 3.645 3.145 2.75 4.25 2.75H6.075C6.662 2.75 7.219 3.008 7.599 3.455L9.123 5.25H13.749C14.854 5.25 15.749 6.145 15.749 7.25V8.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M16.148 13.27L16.991 10.14C17.248 9.187 16.53 8.25 15.543 8.25H6.15001C5.47201 8.25 4.87801 8.705 4.70201 9.36L3.76001 12.86C3.50301 13.813 4.22101 14.75 5.20801 14.75H14.217C15.121 14.75 15.913 14.143 16.148 13.27Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined"),eu=e=>Array.from(e.querySelectorAll('[role="treeitem"]')).filter(t=>t.closest('[role="tree"]')===e),ep=(e,t)=>{eu(e).forEach(e=>{e.setAttribute("tabindex",e===t?"0":"-1")})},eh=({children:e,className:r})=>{let a=(0,L.useSelectedLocale)(),{highlighted:n}=en(),o=(0,_.useRef)(null),l=(0,_.useRef)(""),i=(0,_.useRef)(null);(0,_.useEffect)(()=>{let e=o.current;if(!e)return;let t=eu(e),r=t[0];r&&ep(e,t.find(e=>"0"===e.getAttribute("tabindex"))??t.find(e=>"true"===e.getAttribute("aria-current"))??r)},[e]),(0,_.useEffect)(()=>{let e=o.current;if(!e)return;let t=new MutationObserver(()=>{let t=eu(e),r=t[0];if(!r)return;let a=t.filter(e=>"0"===e.getAttribute("tabindex"));1!==a.length&&ep(e,a.find(e=>e===document.activeElement)??a[0]??r)});return t.observe(e,{childList:!0,subtree:!0}),()=>{t.disconnect()}},[]),(0,_.useEffect)(()=>()=>{i.current&&clearTimeout(i.current)},[]);let s=(0,_.useCallback)(e=>{let t=o.current;e&&t&&e.closest('[role="tree"]')===t&&(ep(t,e),e.focus())},[]),c=(0,_.useCallback)(e=>{let t=e.target,r=o.current;r&&t instanceof HTMLElement&&"treeitem"===t.getAttribute("role")&&t.closest('[role="tree"]')===r&&ep(r,t)},[]);return(0,t.jsx)("div",{ref:o,role:"tree","aria-label":a["aria.fileTree"],onFocus:c,onKeyDown:e=>{let t=e.currentTarget,r=e.target;if(!(r instanceof HTMLElement)||"treeitem"!==r.getAttribute("role")||r.closest('[role="tree"]')!==t)return;let a=(e=>{let t=e.closest('[role="tree"]')??e;return Array.from(t.querySelectorAll('[role="treeitem"]')).filter(e=>e.closest('[role="tree"]')===t&&!((e,t)=>{let r=e=>{if(!e||e===t)return!1;if("group"===e.getAttribute("role")){let t=e.previousElementSibling;if(t?.getAttribute("aria-expanded")==="false")return!0}return r(e.parentElement)};return r(e.parentElement)})(e,t))})(t),n=a.indexOf(r),o=null!==r.getAttribute("aria-expanded"),c="true"===r.getAttribute("aria-expanded"),d=e.ctrlKey||e.metaKey||e.altKey,u=()=>{if(e.nativeEvent.isComposing)return;i.current&&clearTimeout(i.current),l.current+=e.key.toLowerCase();let t=l.current,r=n+1,o=[...a.slice(r),...a.slice(0,r)].find(e=>{let r=(e=>{let t=e.querySelector('[data-component-part="tree-folder-title"], [data-component-part="tree-file-title"]');return t?.textContent??e.textContent})(e);return r?.toLowerCase().startsWith(t)});o&&(e.preventDefault(),s(o)),i.current=setTimeout(()=>{l.current=""},500)};switch(e.key){case"ArrowDown":if(d)break;e.preventDefault(),s(a[n+1]);break;case"ArrowUp":if(d)break;e.preventDefault(),s(a[n-1]);break;case"ArrowRight":if(d)break;e.preventDefault(),o&&(c?s((e=>{let t=e.nextElementSibling;if(t?.getAttribute("role")!=="group")return null;let r=e.closest('[role="tree"]');return Array.from(t.querySelectorAll('[role="treeitem"]')).find(e=>e.closest('[role="tree"]')===r)??null})(r)):r.click());break;case"ArrowLeft":if(d)break;e.preventDefault(),o&&c?r.click():s(((e,t)=>{let r=e=>{if(!e||e===t)return null;if("group"===e.getAttribute("role")){let t=e.previousElementSibling;if(t instanceof HTMLElement&&"treeitem"===t.getAttribute("role"))return t}return r(e.parentElement)};return r(e.parentElement)})(r,t));break;case"Home":if(d)break;e.preventDefault(),s(a[0]);break;case"End":if(d)break;e.preventDefault(),s(a[a.length-1]);break;case" ":case"Enter":if(d)break;if(" "===e.key&&""!==l.current){u();break}e.preventDefault(),r.click();break;case"*":if(d)break;e.preventDefault(),((e,t)=>{let r=e=>e&&e!==t?"group"===e.getAttribute("role")||"tree"===e.getAttribute("role")?e:r(e.parentElement):null,a=r(e.parentElement)??t;return Array.from(a.querySelectorAll('[role="treeitem"][aria-expanded]')).filter(e=>(r(e.parentElement)??t)===a)}
10)(r,t).forEach(e=>{"false"===e.getAttribute("aria-expanded")&&e.click()});break;default:1!==e.key.length||d||u()}},className:(0,M.cn)("[--tree-highlight:var(--color-blue-600)] [--tree-highlight-accent:var(--tree-highlight)] [--tree-highlight-text:color-mix(in_oklab,var(--tree-highlight)_65%,black)] [--tree-highlight-bg:color-mix(in_oklab,var(--tree-highlight)_15%,white)] [--tree-highlight-bg-hover:color-mix(in_oklab,var(--tree-highlight)_25%,white)] [--tree-highlight-tint:color-mix(in_oklab,var(--tree-highlight)_7%,white)]","dark:[--tree-highlight-accent:color-mix(in_oklab,var(--tree-highlight)_65%,white)] dark:[--tree-highlight-text:color-mix(in_oklab,var(--tree-highlight)_25%,white)] dark:[--tree-highlight-bg:color-mix(in_oklab,var(--tree-highlight)_45%,black)] dark:[--tree-highlight-bg-hover:color-mix(in_oklab,var(--tree-highlight)_70%,black)] dark:[--tree-highlight-tint:color-mix(in_oklab,var(--tree-highlight)_45%,black)]",z.Classes.Tree,r),children:(0,t.jsx)(eo,{level:1,parentId:null,highlighted:n,children:e})})},eg=e=>_.Children.toArray(e).some(e=>!!(0,_.isValidElement)(e)&&(e.type===em||e.type===ei||e.type===eh||e.type===_.Fragment&&eg(e.props.children)));function em({name:e,defaultOpen:r=!1,children:a,openable:n=!0,highlight:o=!1,className:l}){let i=(0,_.useId)(),s=`tree-folder-${i}`,c=`tree-group-${i}`,d=`tree-folder-title-${i}`,u=n&&eg(a),{level:p,highlighted:h}=en(),[g,m]=(0,_.useState)(u&&r),f=u&&g?ed:ec;return(0,t.jsxs)("div",{role:"none",className:(0,M.cn)(o&&"relative"),style:{"--padding-left":el(p),"--highlight-left":o?Math.max(0,el(p)-14):void 0},children:[o&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 right-0 bg-(--tree-highlight-tint) dark:bg-(--tree-highlight-tint)/40 left-[calc(max(0px,(var(--padding-left)-14)*1px))] print:print-color-exact","data-component-part":"tree-folder-highlight-tint"}),(0,t.jsxs)("div",{id:s,role:"treeitem","aria-level":p,"aria-expanded":u?g:void 0,"aria-owns":u&&g?c:void 0,"aria-labelledby":d,"aria-current":o?"true":void 0,tabIndex:-1,onClick:u?()=>m(e=>!e):void 0,onMouseDown:u?e=>{e.detail>1&&e.preventDefault()}:void 0,className:(0,M.cn)("relative focus-visible:z-20 py-1 pr-1.5 -outline-offset-1 flex items-center gap-1.5 font-medium",!o&&"pl-[calc(var(--padding-left)*1px)] text-gray-700 dark:text-gray-400",!o&&!h&&"hover:bg-neutral-100 dark:hover:bg-neutral-900 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-2 dark:focus-visible:outline-(--color-primary)!",!o&&h&&"isolate before:absolute before:inset-y-0 before:right-0 before:-z-10 before:left-[calc(var(--highlight-left)*1px)] hover:before:bg-(--tree-highlight-bg) dark:hover:before:bg-(--tree-highlight-bg)/50 focus-visible:outline-hidden focus-visible:before:outline focus-visible:before:outline-2 focus-visible:before:-outline-offset-2 focus-visible:before:outline-(--tree-highlight-accent)",o&&"z-20 group/row pl-[calc(var(--padding-left)*1px)] text-(--tree-highlight-text) focus-visible:outline-hidden forced-colors:outline forced-colors:outline-1 forced-colors:-outline-offset-1 forced-colors:outline-[Highlight]",u?"cursor-pointer":"cursor-default",z.Classes.TreeFolder,l),children:[o&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 right-0 -z-10 bg-(--tree-highlight-bg) group-hover/row:bg-(--tree-highlight-bg-hover) left-[calc(max(0px,(var(--padding-left)-14)*1px))] group-focus-visible/row:outline group-focus-visible/row:outline-2 group-focus-visible/row:-outline-offset-2 group-focus-visible/row:outline-(--tree-highlight-accent) print:print-color-exact","data-component-part":"tree-folder-highlight-bg"}),o&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 w-px bg-(--tree-highlight-accent) left-[calc(max(0px,(var(--padding-left)-14)*1px))] z-20 print:print-color-exact","data-component-part":"tree-folder-highlight-bar"}),(0,t.jsx)(f,{className:"shrink-0 select-none size-4","aria-hidden":"true","data-component-part":u&&g?"tree-folder-icon-open":"tree-folder-icon-closed"}),(0,t.jsx)("span",{id:d,className:"truncate text-sm leading-5 tracking-[-0.1px]","data-component-part":"tree-folder-title",title:e,children:e})]}),u&&g&&(0,t.jsxs)("div",{id:c,role:"group",className:"relative","data-component-part":"tree-folder-children-wrapper",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"select-none absolute w-px h-full bg-neutral-200 dark:bg-neutral-800 left-[calc((var(--padding-left)+8)*1px)] z-10 print:print-color-exact","data-component-part":"tree-folder-children-line"}),(0,t.jsx)(eo,{level:p+1,parentId:s,highlighted:o||h,children:a})]})]})}let ef=Object.assign(eh,{File:ei,Folder:em}),eb=(0,_.forwardRef)(({children:e,label:r,id:a,description:n,tags:o,rss:l,className:i,...s},c)=>{let d=(0,H.safeCleanHeadingId)(a??""),[u,p]=(0,A.useMDXContent)(),h=(0,L.use
10SelectedLocale)(),[g,m]=(0,_.useState)(null),[f]=(0,O.useRect)(m),b=(0,$.useTop)(g),[x,y]=(0,_.useState)("idle"),v=(0,_.useRef)(null),k=(0,_.useMemo)(()=>o?.map(e=>e.trim()).filter(Boolean),[o]),w=!!u;(0,_.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]);let C=(0,_.useMemo)(()=>{if(!u.changelogFilters.length)return!0;let e=u.changelogFilters.filter(e=>e.active);return!(0!==e.length&&k?.length)||k.some(t=>e.some(e=>e.tag===t))},[u.changelogFilters,k]);(0,_.useEffect)(()=>{if(w&&d&&C&&void 0!==b)return p({type:"register_heading",payload:{id:d,top:b}}),()=>{p({type:"unregister_heading",payload:d})}},[b,d,w,p,C]);let j=(0,_.useCallback)(()=>{d&&((0,R.copyToClipboard)(`${window.location.origin}${window.location.pathname}#${d}`).then(e=>{"success"===e&&(y("copied"),v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{y("idle")},2e3))}),window.location.hash=d,(0,D.scrollElementIntoView)({id:d}))},[d]);return C?(0,t.jsxs)("div",{className:(0,M.cn)(z.Classes.Update,"flex flex-col relative items-start w-full lg:flex-row gap-2 lg:gap-6 py-8 update-container",i),ref:c,id:d||void 0,...s,children:[(0,t.jsxs)("div",{className:"lg:sticky top-(--scroll-mt) group flex flex-col w-full lg:w-[160px] items-start shrink-0 justify-start",children:[!!d&&(0,t.jsx)("div",{className:"absolute",children:(0,t.jsxs)("a",{href:`#${d}`,className:"-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link","aria-label":`${h["aria.navigateToChangelog"]}: ${r}`,onClick:j,children:["​",(0,t.jsx)("div",{className:"size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light",children:(0,t.jsx)(F.LinkIcon,{"aria-hidden":"true",className:"size-3 shrink-0",strokeWidth:2})})]})}),(0,t.jsx)("button",{type:"button",className:"cursor-pointer px-2 py-1 rounded-lg text-sm flex items-center grow-0 justify-center font-medium bg-primary/10 text-primary dark:text-primary-light",onClick:j,contentEditable:!1,"data-component-part":"update-label",children:r}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:"copied"===x?h.copied:""}),!!k?.length&&(0,t.jsx)("div",{className:"px-1 flex flex-wrap gap-2 text-secondary dark:text-secondary-light mt-3 text-sm","data-component-part":"update-tag-list",children:k.map(e=>(0,t.jsx)("span",{className:"inline-block rounded-lg text-sm font-medium","data-component-part":"update-tag",children:e},e))}),n&&(0,t.jsx)("div",{className:"px-1 text-secondary dark:text-secondary-light mt-3 text-sm max-w-[160px] break-words",contentEditable:!1,"data-component-part":"update-description",children:n})]}),(0,t.jsx)("div",{className:"flex-1 overflow-hidden px-0.5 max-w-full",ref:f,children:(0,t.jsx)("div",{className:"prose-sm","data-component-part":"update-content",children:e})})]}):null});eb.displayName="Update";var ex=e.i(734305);let ey=(0,_.forwardRef)(({children:e,title:r,className:a,...n},o)=>{let[{multiViewItems:l}]=(0,A.useMDXContent)();return l.find(e=>e.title===r)?.active?(0,t.jsx)("div",{className:(0,M.cn)(z.Classes.MultiViewItem,"prose dark:prose-dark",a),ref:o,...n,children:e}):null});ey.displayName="View";var ev=e.i(809700);let ek=(0,_.createContext)(void 0);function ew({delay:e=300,children:r}){return(0,t.jsx)(ev.Popover.Root,{children:(0,t.jsx)(ek.Provider,{value:(0,_.useMemo)(()=>({delay:e}),[e]),children:r})})}let eC=({children:e,href:r,target:a,rel:n,...o})=>{let l=(0,_.useContext)(ek);if(!l)throw Error("Missing Popup Context");let i=r?(0,t.jsx)("a",{href:r,rel:n,target:a,children:(0,t.jsx)("span",{className:"twoslash-hover",children:e})}):(0,t.jsx)("span",{className:"twoslash-hover",children:e});return(0,t.jsx)(ev.Popover.Trigger,{openOnHover:!0,delay:l.delay,closeDelay:l.delay,nativeButton:!1,render:i,...o})},ej=({className:e,side:r="bottom",align:a="center",sideOffset:n=4,ref:o,...l})=>{if(!(0,_.useContext)(ek))throw Error("Missing Popup Context");return(0,t.jsx)(ev.Popover.Portal,{children:(0,t.jsx)(ev.Popover.Positioner,{side:r,align:a,sideOffset:n,children:(0,t.jsx)(ev.Popover.Popup,{ref:o,className:["mint-twoslash-p
10opover",e].filter(Boolean).join(" "),initialFocus:!1,finalFocus:!1,...l})})})};var eN=e.i(522016),eM=e.i(770703);let e_=(0,eM.default)(()=>e.A(378570).then(e=>e.CustomCode),{loadableGenerated:{modules:[597573]},ssr:!1}),eE=(0,eM.default)(()=>e.A(875181).then(e=>e.Prompt),{loadableGenerated:{modules:[725144]}});function eT(e){if("number"==typeof e)return{type:"pixel",value:e};if("string"==typeof e){if(e.endsWith("%"))return{type:"percentage",value:e};let t=parseInt(e,10);if(!isNaN(t))return{type:"pixel",value:t}}}let eS=({height:e,width:r,src:a,className:n,style:o,...l})=>{let[i,s]=(0,_.useState)(!1);(0,_.useEffect)(()=>{s(!0)},[]),e=e||o?.height;let c=eT(r=r||o?.width),d=eT(e),u=c?.type==="pixel"&&d?.type==="pixel"?`${c.value} / ${d.value}`:void 0,p=!r&&!e;return(0,t.jsxs)("div",{"data-as":"iframe",className:(0,M.cn)("flex justify-center w-full"),children:[!i&&(0,t.jsx)("div",{className:(0,M.cn)("object-contain w-full",n),style:{...d?{height:d.value}:{},...c?{width:c.value}:{},...u?{aspectRatio:u}:{aspectRatio:"16/9"}}}),i&&(0,t.jsx)("iframe",{...l,title:l.title||"Embedded content",src:a,className:(0,M.cn)(p&&"w-full",n),style:{...u?{aspectRatio:u}:{aspectRatio:"16/9"},...o,...d?{height:d.value}:{},...c?{width:c.value}:{}}})]})},eI={Accordion:r.Accordion,AccordionGroup:a.AccordionGroup,Badge:n.Badge,Heading:f.Heading,Callout:o.Callout,Card:l.Card,CardGroup:d.CardGroup,Column:d.Column,Columns:d.Columns,Color:c.Color,Check:o.Check,CodeGroup:s.CodeGroup,CodeBlock:i.CodeBlock,CustomCode:e_,CustomComponent:u.default,DynamicCustomComponent:p.default,Expandable:g.Expandable,Frame:h.DynamicFrame,GitHub:m.GitHub,Github:m.GitHub,Tile:({href:e,children:r,title:a,description:n,className:o,"aria-label":l})=>{let i=null!=a&&""!==a,s=null!=n&&""!==n;return(0,t.jsxs)(K.DynamicLink,{href:e,"aria-label":l,className:(0,M.cn)(z.Classes.Tile,"flex items-center justify-center flex-col w-full min-w-0 gap-1 group cursor-pointer not-prose",o),children:[(0,t.jsxs)("div",{className:"h-[170px] w-full relative bg-gray-50 dark:bg-gray-900 rounded-2xl py-1 grid place-items-center overflow-hidden print:print-color-exact","data-component-part":"tile-children-container",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:(0,M.cn)(ee,"block dark:hidden print:print-color-exact"),style:{backgroundImage:`url("${Y}")`},"data-component-part":"tile-background-light"}),(0,t.jsx)("div",{"aria-hidden":"true",className:(0,M.cn)(ee,"hidden dark:block print:print-color-exact"),style:{backgroundImage:`url("${Q}")`},"data-component-part":"tile-background-dark"}),(0,t.jsx)("div",{className:"size-full flex items-center justify-center p-8 [grid-area:1/1] [&_svg]:max-w-full [&_svg]:max-h-full [&_svg]:w-auto [&_svg]:h-auto","data-component-part":"tile-children-inner-container",children:r})]}),(i||s)&&(0,t.jsxs)("div",{className:"flex flex-col gap-1 p-2 items-center justify-center w-full min-w-0","data-component-part":"tile-text-container",children:[i&&(0,t.jsx)("p",{className:"text-base font-medium [letter-spacing:-0.2px] text-gray-900 dark:text-gray-200 m-0 truncate max-w-full",title:(0,X.getTitleText)(a),"data-component-part":"tile-title",children:a}),s&&(0,t.jsx)("p",{className:"text-sm [letter-spacing:-0.1px] text-gray-600 dark:text-gray-400 truncate m-0 font-normal max-w-full",title:n,"data-component-part":"tile-description",children:n})]})]})},Tree:ef,FileTree:ef,Info:o.Info,Icon:b.Icon,Link:eN.default,Note:o.Note,ParamField:I.ParamField,RequestExample:function({dropdown:e,children:r}){let a=(0,L.useSelectedLocale)();return(0,t.jsx)("div",{className:"block [html:not([data-assistant-state=open])_&]:xl:hidden mt-8",id:S.Ids.RequestExample,role:"region","aria-label":a["aria.requestExample"],children:(0,t.jsx)(s.CodeGroup,{isSmallText:!0,noMargins:!0,dropdown:e,hideCodeSnippetFeedbackButton:!0,children:r})})},ResponseExample:function({children:e,dropdown:r}){let a=(0,L.useSelectedLocale)();return(0,t.jsx)("div",{className:"block [html:not([data-assistant-state=open])_&]:xl:hidden mt-8",id:S.Ids.ResponseExample,role:"region","aria-label":a["aria.responseExample"],children:(0,t.jsx)(s.CodeGroup,{isSmallText:!0,noMargins:!0,dropdown:r,hideCodeSnippetFeedbackButton:!0,children:e})})},ResponseField:function({name:e,type:r,typeHref:a,hidden:n,default:o,required:l,deprecated:i,children:s,id:c,pre:d,post:u,className:p}){return(0,t.jsx)(I.GenericParam,{name:e,type:r,typeHref:a,hidden:n,defaultValue:o,required:l,deprecated:i,id:c,pre:d,post:u,className:p,children:s})},Step:B,Steps:({children:e,titleSize:r,className:a})=>{let{stepChildren:n,skippedChildren:o}=(0,_.useMemo)(()=>{let t=[],r=[];for(let a of U(e))(0,_.isValidElement)(a)&&a.type===B?t.push(a):r.push(G(a));return{stepChildren:t,skippedChildren:r}},[e]);return(0,_.useEffect)(()=>{for(let e of o)console.warn(`${e} cannot be a child of <Steps> and was skipped.`)},[o]),(0,t.jsx)("div",{role:"list",className:(0,M.cn)(z.Classes.Steps,"ml-3.5 mt-10 mb-6",a),children:n.map((e,a)=>{let{props:o}=e;return(0,t.jsx)(B,{...r&&{titleSize:r},...o,stepNumber:o.stepNumber??a+1,isLast:a===n.length-1},`${o.title} + ${a}`)})})},Tab:q.Tab,Table:W.Table,Tabs:Z.Tabs,Tip:o.Tip,Tooltip:et.Tooltip,SnippetGroup:s.SnippetGroup,Warning:o.Warning,Latex:x.Latex,MDX:y.MDX,ZoomImage:w.ZoomImage,OptimizedFrame:eS,OptimizedImage:T,OptimizedVideo:function({children:e,...r}){let{isLivePreview:a,liveMedia:n}=(0,_.useContext)(j.LivePreviewContext),o=(0,_.useMemo)(()=>{let e=r.src;return e&&"string"==typeof e?(0,j.resolveLivePreviewMediaSrc)({src:e,isLivePreview:a,liveMedia:n}):e},[r.src,a,n]);return(0,t.jsx)("video",{...r,src:o,children:e})},Mermaid:v.DynamicMermaid,Update:eb,Panel:function({children:e,className:r}){return(0,t.jsx)("div",{className:(0,M.cn)("block [html:not([data-assistant-state=open])_&]:xl:hidden",r),id:S.Ids.Panel,children:e})},Danger:o.Danger,Prompt:eE,Popup:ew,PopupContent:ej,PopupTrigger:eC,Variation:function({is:e,children:r}){let{selectedVariation:a}=(0,ex.useVariation)(),n=Array.isArray(e)?e:[e],o=n.every(e=>"string"==typeof e&&e.trim().length>0)?n.map(e=>e.trim()):[];return a&&o.includes(a)?(0,t.jsx)(t.Fragment,{children:r}):null},View:ey,Visibility:function({for:e,children:r}){return"humans"===e?(0,t.jsx)(t.Fragment,{children:r}):null}};var eL=e.i(42143);let eA={},e$=_.default.createContext(eA);function ez(e){let t=_.default.useContext(e$);return _.default.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function eP(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(eA):e.components||eA:ez(e.components),_.default.createElement(e$.Provider,{value:t},e.children)}e.s(["MDXClient",()=>eH],15878);var eR=e.i(921694);function eD(e){let{onError:r,...a}=e,{content:n,error:o}=function({compiledSource:e,frontmatter:r={},scope:a={},components:n,disableParentContext:o}){try{let{Content:l,mod:i}=function(e,r){let{keys:a,values:n}=function(e){let r={runMdxOptions:{useMDXComponents:e.mdxOptions?.useMDXComponents,baseUrl:e.mdxOptions?.baseUrl,jsx:t.jsx,jsxs:t.jsxs,jsxDEV:eR.jsxDEV,Fragment:t.Fragment,React:_},frontmatter:e.frontmatter,...e.scope};return{keys:Object.keys(r),values:Object.values(r)}}(r),{default:o,...l}=Reflect.construct((function(){}).constructor,a.concat(e))(...n);return{Content:o,mod:l}}(e,{frontmatter:r,scope:a,mdxOptions:{useMDXComponents:ez}});return{content:n?(0,t.jsx)(eP,{components:n,disableParentContext:o,children:(0,t.jsx)(l,{})}):(0,t.jsx)(l,{}),mod:i}}catch(e){return{content:(0,t.jsx)("div",{className:"mdx-empty"}),mod:{},error:e}}}(a);if(o&&!r)throw o;return o&&r?(0,t.jsx)(r,{error:o}):n}function eH(e){let r={Popup:ew,PopupContent:ej,PopupTrigger:eC,...e.components};return(0,t.jsx)(eD,{...e,components:r})}"undefined"!=typeof window&&(window.requestIdleCallback||=function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback||=function(e){clearTimeout(e)});var eF=e.i(618566),eO=_;
10let eV="rounded",eB={img:e=>(0,t.jsx)(T,{...e,className:(0,M.cn)(eV,e.className)}),picture:e=>(0,t.jsx)(w.ZoomImage,{...e,children:(0,t.jsx)("picture",{className:(0,M.cn)(eV,e.className)})}),figure:e=>(0,t.jsx)(w.ZoomImage,{...e,children:(0,t.jsx)("figure",{...e,className:(0,M.cn)(eV,e.className)})}),p:e=>(0,t.jsx)("span",{"data-as":"p",...e}),iframe:e=>(0,t.jsx)(eS,{...e}),table:e=>(0,t.jsx)(W.Table,{...e})};class eU extends eO.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}componentDidUpdate(e){this.props.resetKey&&e.resetKey!==this.props.resetKey&&this.state.hasError&&this.setState({hasError:!1})}render(){return this.state.hasError?this.props.fallback??null:this.props.children}}let eG=e=>(0,t.jsx)(K.DynamicLink,{...e,allowTarget:!0}),eW=e=>(0,t.jsx)(K.DynamicLink,{...e,allowTarget:!0,noLinkClass:!0}),eq=(0,eO.memo)(eH);function eZ(){return(0,t.jsxs)("div",{className:"animate-pulse space-y-6",children:[(0,t.jsx)("div",{className:"h-8 bg-gray-200 dark:bg-gray-700 rounded w-3/4"}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-5/6"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-4/6"})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-3/4"})]}),(0,t.jsx)("div",{className:"h-6 bg-gray-200 dark:bg-gray-700 rounded w-1/2"}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-5/6"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-2/3"})]})]})}let eX=({mdxSource:e,mdxSourceWithNoJs:r,pageMetadata:a,userInfo:n,forceIsLoading:o})=>{let[l,i]=(0,eO.useState)(!1),s=(0,eF.usePathname)(),{basePath:c="",currentPreviewPath:d,isLivePreview:u,getCompiledContent:p,livePreviewUpdateId:h}=(0,eO.useContext)(j.LivePreviewContext),g=(0,eO.useMemo)(()=>{let e=u?d:s;return e?(0,eL.normalizeLivePreviewPath)(e,c):""},[c,d,u,s]),m=(0,eO.useMemo)(()=>{if(u&&g)return p(g)},[u,g,p,h]);(0,eO.useEffect)(()=>{i(!0);let e=e=>{if(3===e.detail){let t=e.target;if(t&&t instanceof HTMLElement){let r=t.closest(":not(pre) > code");if(r){e.preventDefault();let t=window.getSelection(),a=document.createRange();a.selectNodeContents(r),t?.removeAllRanges(),t?.addRange(a)}}}};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let b=m?.mdxSource??e,x=m?.mdxSourceWithNoJs??r,y=(0,eO.useRef)({content:void 0,version:0});m!==y.current.content&&(y.current={content:m,version:y.current.version+1});let v=y.current.version,k=(0,eO.useMemo)(()=>b.compiledSource!==x.compiledSource,[b,x]),w=l&&k,C=`${g}:${w}:${m?v:"built"}`,N=(0,eO.useCallback)(({children:e,name:r})=>(0,t.jsx)(eU,{name:r,resetKey:`${C}:${r??""}`,children:e}),[C]),M="custom"===a.mode,E=(0,eO.useMemo)(()=>({a:M?eW:eG,Heading:f.Heading,_MdxComponentBoundary:N,...eB}),[N,M]),T=(0,eO.useMemo)(()=>({...eI,_MdxComponentBoundary:N}),[N]),S=(0,eO.useMemo)(()=>({pageMetadata:a,user:n?.content??{},...w?{React:_,useState:_.useState,useEffect:_.useEffect,useRef:_.useRef,useCallback:_.useCallback,useMemo:_.useMemo,useReducer:_.useReducer,useContext:_.useContext,useLayoutEffect:_.useLayoutEffect,useImperativeHandle:_.useImperativeHandle,useDebugValue:_.useDebugValue,useDeferredValue:_.useDeferredValue,useTransition:_.useTransition,useId:_.useId,useSyncExternalStore:_.useSyncExternalStore,useInsertionEffect:_.useInsertionEffect}:{}}),[a,n?.content,w]),I=(0,eO.useMemo)(()=>({pageMetadata:a,user:n?.content??{}}),[a,n?.content]);return!0===o?(0,t.jsx)(eZ,{}):(0,t.jsx)(eP,{components:E,children:(0,t.jsx)(eU,{resetKey:C,fallback:(0,t.jsx)(eq,{components:T,compiledSource:x.compiledSource,frontmatter:x.frontmatter,scope:I}),children:(0,t.jsx)(eq,{components:T,compiledSource:w?b.compiledSource:x.compiledSource,frontmatter:b.frontmatter,scope:S})})})}},7849,266371,445193,946230,e=>{"use strict";e.s(["MdxPanel",()=>c],7849);var t=e.i(843476),r=e.i(91557),a=e.i(343590),n=e.i(476781),o=e.i(196151),l=e.i(917180),i=e.i(296548),s=e.i(271645);function c({mobile:e}){let{pageMetadata:c,panelMdxSource:d,panelMdxSourceWithNoJs:u}=(0,s.useContext)(r.PageContext),{userInfo:p}=(0,s.useContext)(r.AuthContext),h=(0,a.useSelectedLocale)();return d?(0,t.jsx)("div",{role:"complementary","aria-label":h["aria.sidePanel"],tabIndex:e?void 0:0,className:(0,i.cn)(n.Classes.Panel,"w-full xl:w-[28rem] max-w-full mb-6 relative max-h-[calc(100%-32px)]",e?"mt-8 lg:mt-0 flex flex-col gap-6 [html:not([data-assistant-state=open])_&]:xl:hidden":"overflow-y-auto"),children:(0,t.jsx)(o.default,{children:(0,t.jsx)(l.MdxContent,{mdxSource:d,mdxSourceWithNoJs:u??d,pageMetadata:c,userInfo:p})})}):null}e.s(["Api",()=>y],445193),e.s(["useChannel",()=>d],266371);let d=()=>{let{apiReferenceData:{channel:e}}=(0,s.useContext)(r.ApiReferenceContext);return(0,s.useMemo)(()=>e,[e])};var u=e.i(491066),p=e.i(615824),h=e.i(770703);let g=(0,h.default)(()=>e.A(969088).then(e=>
10e.AsyncApiPage),{loadableGenerated:{modules:[229816]}}),m=(0,h.default)(()=>e.A(293280).then(e=>e.GraphqlReferencePage),{loadableGenerated:{modules:[231830]}}),f=(0,h.default)(()=>e.A(189416).then(e=>e.OpenApiPage),{loadableGenerated:{modules:[333233]}}),b=(0,h.default)(()=>e.A(840049).then(e=>e.ApiExamples),{loadableGenerated:{modules:[300718]}}),x=()=>(0,u.useHasMdxCodeExample)()?(0,t.jsx)("div",{className:"mt-8 lg:mt-0 flex flex-col gap-6 [html:not([data-assistant-state=open]):has(#content-side-layout[data-api-example])_&]:xl:hidden max-h-[30rem] print:max-h-none",children:(0,t.jsx)(b,{})}):null,y=({pageMetadata:e,children:a})=>{let n=d(),{graphqlReferenceData:o}=(0,s.useContext)(r.ApiReferenceContext),l=e.api||e.openapi||e["openapi-schema"],i=e.asyncapi&&n,c=!!l||!!i||!!o;return((0,s.useEffect)(()=>{c&&(0,p.preloadShiki)()},[c]),i)?(0,t.jsx)(g,{channel:n,children:a}):o?(0,t.jsx)(m,{data:o,children:a}):l?(0,t.jsx)(f,{children:a}):(0,t.jsx)(x,{})};e.s(["Content",()=>j],946230);var v=e.i(378486),k=e.i(111048),w=e.i(343534),C=e.i(810412);let j=({pageMetadata:e,children:a})=>{let o=d(),{openApiReferenceData:l}=(0,s.useContext)(C.OpenApiReferenceContext),{graphqlReferenceData:c}=(0,s.useContext)(r.ApiReferenceContext),u=(0,v.useIsDirectoryPage)(),{isCustom:p,isFrame:h}=(0,w.getPageMode)(e),g=e.openapi||e["openapi-schema"]||e.api||e.asyncapi,m=l.operation||l.schemaData||o;return c||g&&m?null:(0,t.jsx)("div",{className:(0,i.cn)(n.Classes.Content,"@container/columns-container relative",!p&&!h&&(0,i.cn)("mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden",u?"mb-10":"mb-14")),"data-page-title":e.title,"data-page-href":e.href,id:k.Ids.Content,children:a})}}]);

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.