(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),i=e.i(961508);let l=t.NEXT_PUBLIC.BASE_PATH,s=l.slice(1),c=async e=>{let t=e===l||e.startsWith(`${l}/`),r=e===s||e.startsWith(`${s}/`);if(e.startsWith("/")&&!t||!(0,i.isAbsoluteUrl)(e)&&/^\w/.test(e)&&!r){let t=`${l}/${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:i}=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=i}),URL.revokeObjectURL(i),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],olive:[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,i=t.exports=function(e){for(var t=[],r=0,i=e.length;r{var a=e.r(304922),n=e.r(739163),o=Object.hasOwnProperty,i=Object.create(null);for(var l in a)o.call(a,l)&&(i[a[l]]=l);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,i=[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 l=2*r;i[r]=parseInt(t.slice(l,l+2),16)}n&&(i[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++)i[r]=parseInt(t[r]+t[r],16);n&&(i[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++)i[r]=parseInt(t[r+1],0);t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[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++)i[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[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])?((i=a[t[1]])[3]=1,i):null;for(r=0;r<3;r++)i[r]=c(i[r],0,255);return i[3]=c(i[3],0,1),i},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])+", "+Math.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 i[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),i=Math.max(r,a,n),l=i-o;i===o?t=0:r===i?t=(a-n)/l:a===i?t=2+(n-r)/l:n===i&&(t=4+(r-a)/l),(t=Math.min(60*t,360))<0&&(t+=360);let s=(o+i)/2;return[t,100*(i===o?0:s<=.5?l/(i+o):l/(2-i-o)),100*s]},o.rgb.hsv=function(e){let t,r,a,n,o,i=e[0]/255,l=e[1]/255,s=e[2]/255,c=Math.max(i,l,s),d=c-Math.min(i,l,s),u=function(e){return(c-e)/6/d+.5};return 0===d?(n=0,o=0):(o=d/c,t=u(i),r=u(l),a=u(s),i===c?n=a-r:l===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],i=(e[0]-n[0])**2+(e[1]-n[1])**2+(e[2]-n[2])**2;i.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,i=e[2]/100;if(0===o)return[a=255*i,a,a];t=i<.5?i*(1+o):i+o-i*o;let l=2*i-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?l+(t-l)*6*r:2*r<1?t:3*r<2?l+(t-l)*(2/3-r)*6:l,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 i=(a+r)/2;return[t,100*(0===a?2*n/(o+n):2*r/(a+r)),100*i]},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),i=255*a*(1-r),l=255*a*(1-r*o),s=255*a*(1-r*(1-o));switch(a*=255,n){case 0:return[a,s,i];case 1:return[l,a,i];case 2:return[i,a,s];case 3:return[i,l,a];case 4:return[s,i,a];case 5:return[a,i,l]}},o.hsv.hsl=function(e){let t,r,a=e[0],n=e[1]/100,o=e[2]/100,i=Math.max(o,.01);r=(2-n)*o;let l=(2-n)*i;return[a,100*(t=(t=n*i/(l<=1?l:2-l))||0),100*(r/=2)]},o.hwb.rgb=function(e){let t,r,a,n,o=e[0]/360,i=e[1]/100,l=e[2]/100,s=i+l;s>1&&(i/=s,l/=s);let c=Math.floor(6*o),d=1-l;t=6*o-c,(1&c)!=0&&(t=1-t);let u=i+t*(d-i);switch(c){default:case 6:case 0:r=d,a=u,n=i;break;case 1:r=u,a=d,n=i;break;case 2:r=i,a=d,n=u;break;case 3:r=i,a=u,n=d;break;case 4:r=u,a=i,n=d;break;case 5:r=d,a=i,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,i=e[2]/100;return t=(t=3.2406*n+-1.5372*o+-.4986*i)>.0031308?1.055*t**(1/2.4)-.055:12.92*t,r=(r=-.9689*n+1.8758*o+.0415*i)>.0031308?1.055*r**(1/2.4)-.055:12.92*r,a=(a=.0557*n+-.204*o+1.057*i)>.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],i=e[2];t=o/500+(r=(n+16)/116),a=r-i/200;let l=r**3,s=t**3,c=a**3;return r=(l>.008856?l:(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,i=null===t?o.rgb.hsv(e)[2]:t;if(0===(i=Math.round(i/50)))return 30;let l=30+(Math.round(n/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return 2===i&&(l+=60),l},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),i=Math.min(Math.min(r,a),n),l=o-i;return t=l<1?i/(1-l):0,[360*((l<=0?0:o===r?(a-n)/l%6:o===a?2+(n-r)/l:4+(r-a)/l)/6%1),100*l,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,i=o%1,l=1-i,s=0;switch(Math.floor(o)){case 0:n[0]=1,n[1]=i,n[2]=0;break;case 1:n[0]=l,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=i;break;case 3:n[0]=0,n[1]=l,n[2]=1;break;case 4:n[0]=i,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=l}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{let a=e.r(645687),n=e.r(28626),o={};Object.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;t1&&(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"],i={};for(let e of Object.keys(n))i[[...n[e].labels].sort().join("")]=e;let l={};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 i))throw Error("Unable to parse color from object: "+JSON.stringify(e));this.model=i[a];let{labels:o}=n[this.model],l=[];for(r=0;r(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,i=r.alpha()-a.alpha(),l=((o*i==-1?o:(o+i)/(1+o*i))+1)/2,c=1-l;return s.rgb(l*r.red()+c*a.red(),l*r.green()+c*a.green(),l*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])(l[a]||(l[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.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-_\.]+))?$/),i=e.match(/^github:([\w-_]+)\/([\w-_\.]+)(?:#([\w-_\.]+))?$/),l=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(i)r.user=i[1],r.repo=i[2],r.branch=i[3]||"master",r.host="github.com";else if(l)r.user=l[1],r.repo=l[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+"/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),i=e.i(568258),l=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 m=(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"),g=function({id:e,contentId:r,titleId:a,title:n,description:o,open:i,icon:l,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":i,"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)(m,{"aria-hidden":"true",className:(0,d.cn)("size-3 shrink-0 text-gray-600 transition-transform duration-200 dark:text-gray-400",!i&&"-rotate-90")})}),l?(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:l}):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:l=!1,icon:s,iconType:c,children:d,className:u,_disabled:p}){let h=(0,a.useAnalyticsContext)("docs.accordion.open"),m=(0,a.useAnalyticsContext)("docs.accordion.close"),g="string"==typeof s?(0,t.jsx)(i.ComponentIcon,{icon:s,iconType:c,className:"w-4 h-4"}):s;return(0,t.jsx)(y,{id:e,title:n,description:o,defaultOpen:!0===l||"string"==typeof l&&"true"===l,onChange:e=>{let t=(0,r.getTitleText)(n)||void 0;e?h({title:t}).catch(console.error):m({title:t}).catch(console.error)},icon:g,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:i,defaultOpen:p=!1,icon:h,onChange:m,variant:f="rounded",children:y,className:v,_disabled:w}){let k=(0,r.getTitleText)(a),C=e??("string"==typeof a||k?(0,c.default)(k.replace(":","-"),{decamelize:!1}):void 0),j=(0,u.useId)(),N=C?`${C}-accordion-children`:j,M=(0,u.useId)(),_=C?`${C}-accordion-title`:M,S=(0,u.useContext)(b),[E,$]=(0,u.useState)(p);(0,n.useIsomorphicLayoutEffect)(()=>{if(!C)return;let e=window.location.hash.substring(1).split(":");x(e,C,S.parentIds)&&($(!0),e.length===S.parentIds.length+1&&(0,s.scrollElementIntoView)({id:C,preScrollCallback(){history.scrollRestoration="manual"}}))},[]);let T=(0,u.useRef)(S.parentIds);T.current=S.parentIds,(0,u.useEffect)(()=>{if(!C)return;let e=()=>{let e=window.location.hash.substring(1).split(":");x(e,C,T.current)&&($(!0),e.length===T.current.length+1&&(0,s.scrollElementIntoView)({id:C,preScrollCallback(){history.scrollRestoration="manual"}}))};return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[C]);let I=e=>`${window.location.pathname}${e?`#${e}`:""}`,{parentClass:P,coverClass:A,contentClass:L}="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:{...S,parentIds:[...S.parentIds,...void 0!=C?[C]:[]]},children:(0,t.jsxs)("details",{open:E,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,i=Object.getOwnPropertyDescriptor(o,"value")?.set;i?.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!==E){$(t);if($(t),!w){if(t&&C)!function(e,t){if(w||"undefined"==typeof document||!document.hasFocus())return;let r=I(e.join(":"));(0,l.copyToClipboard)(r),window.history.replaceState({...window.history.state,as:r,url:r},"",r)}([...S.parentIds,C],0);else{let e=I(S.parentIds.join(":"));window.history.replaceState({...window.history.state,as:e,url:e},"",e)}m&&m(t)}}},className:(0,d.cn)(o.Classes.Accordion,P,"cursor-default",v),children:[(0,t.jsx)(g,{id:C,contentId:N,titleId:_,title:a,description:i,open:E,icon:h,coverClass:A}),(0,t.jsx)("div",{id:N,role:"region","aria-labelledby":_,className:(0,d.cn)(L,"prose prose-gray dark:prose-invert overflow-x-auto cursor-default"),"data-component-part":"accordion-content",children:y})]},k||"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",()=>$,"Callout",()=>D,"Check",()=>O,"Danger",()=>H,"Info",()=>A,"Note",()=>z,"Tip",()=>R,"Warning",()=>L],579694);let w=(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"),k=(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 0.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 S={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:w,className:"size-4",colorClassName:"text-green-800 dark:text-green-300"},danger:{Icon:k,className:"flex-none size-4",colorClassName:"text-red-800 dark:text-red-300"}},E=({type:e,colorClassName:r})=>{let{Icon:a,className:n,colorClassName:o}=S[e];return(0,t.jsx)(a,{"aria-hidden":"true",className:(0,d.cn)(n,r??o)})},$={info:{icon:(0,t.jsx)(E,{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)(E,{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)(E,{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)(E,{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)(E,{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)(E,{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"}};function T({children:e,icon:r,iconType:a,color:n,className:l,childrenClassName:s,calloutType:c,label:u,customStyle:p,customTextStyle:h}){let m="string"==typeof r?r.trim()?(0,t.jsx)(i.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",l),style:{...p,...h},"data-callout-type":c,children:[!!m&&(0,t.jsx)("div",{className:"mt-0.5 w-4","data-component-part":"callout-icon",children:m}),(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 I=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 P({type:e,children:r,extraClassName:a,icon:n,iconType:o,color:i,className:l}){let s=(0,p.useSelectedLocale)(),c=$[e],u=I(i);return(0,t.jsx)(T,{calloutType:e,icon:null==n||!1===n?u?(0,t.jsx)(E,{type:e,colorClassName:"text-(--callout-text-color) dark:text-(--dark-callout-text-color)"}):c.icon:n,iconType:o,color:u?i:void 0,label:s[`aria.${e}`],className:(0,d.cn)("border",u?u.containerClassName:c.container,a,l),childrenClassName:u?u.childrenClassName:c.contentText,customStyle:u?.customStyle,customTextStyle:u?.customTextStyle,children:r})}function A({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{type:"info",icon:r,iconType:a,color:n,className:o,children:e})}function L({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{type:"warning",icon:r,iconType:a,color:n,extraClassName:"[&_[data-component-part='callout-icon']]:mt-px",className:o,children:e})}function z({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{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)(P,{type:"tip",icon:r,iconType:a,color:n,extraClassName:"[&_[data-component-part='callout-icon']]:mt-px",className:o,children:e})}function O({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{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)(P,{type:"danger",icon:r,iconType:a,color:n,className:o,children:e})}function D({children:e,icon:r,iconType:a,color:n,className:o}){let i=I(n);return(0,t.jsx)(T,{calloutType:"callout",icon:r,iconType:a,color:i?n:void 0,className:(0,d.cn)("border",i?i.containerClassName:"border-zinc-500/20 bg-zinc-50/50 dark:border-zinc-500/30 dark:bg-zinc-500/10",o),childrenClassName:i?i.childrenClassName:"text-zinc-900 dark:text-zinc-200",customStyle:i?.customStyle,customTextStyle:i?.customTextStyle,children:e})}e.s(["Card",()=>Y],464991);var U=e.i(590280),F=e.i(206558),q=e.i(674987);function G(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function W(e){if(!e)return!1;try{return new URL(e,window.location.origin).origin!==window.location.origin}catch{return!1}}var V=e.i(618566);function B(e){return!F.NEXT_PUBLIC.BASE_PATH||!e.startsWith("/")||e.startsWith("//")||e===F.NEXT_PUBLIC.BASE_PATH||e.startsWith(F.NEXT_PUBLIC.BASE_PATH+"/")?e:`${F.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);function Y({title:e,icon:r,iconType:a,color:n,horizontal:o,href:l,img:s,children:c,disabled:u,cta:p,arrow:h,className:m,type:g}){let f=g?$[g]:void 0,b="string"==typeof r&&""===r.trim()?void 0:r??f?.icon,x="string"==typeof b?(0,t.jsx)(i.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&&(l=void 0),(0,t.jsx)(Q,{className:(0,d.cn)(f&&(0,d.cn)(f.container,f.cardSelectors),l&&!f&&"hover:border-primary! dark:hover:border-primary-light!",m),title:e,icon:x,img:s,horizontal:o,href:l,cta:p,arrow:h,disabled:u,children:c})}function Q({title:e,icon:a,img:n,className:i,children:l,horizontal:s,arrow:c,mRef:p,cta:h,disabled:m,href:g,...f}){let b=function(e){let t=(0,u.useRef)(null),r=(0,V.useRouter)(),{getLivePreviewHref:a,navigateWithinLivePreview:n,requestContentEarly:o}=(0,u.useContext)(U.LivePreviewContext),i=void 0===e?void 0:a(e),l=W(e);(0,u.useEffect)(()=>{var e;if(!i||!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];G(o)&&G(n)?e(o,n):t[a]=n}}(r,t),r}(0,{href:B(i),tabIndex:-1,ariaHidden:"true",style:{display:"contents",color:"inherit",textDecoration:"none"},dataset:{clientLink:""},...l&&{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&&W(a.getAttribute("href")??void 0)||(t.preventDefault(),r||!o))return;let i=a.getAttribute("href");i&&(Z(t)?window.open(B((0,q.navHref)(i)),"_blank","noopener,noreferrer"):e.push((0,q.navHref)(i)))});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}},[i,l,r]);let s=(0,u.useCallback)(t=>{if(!i||window.getSelection()?.toString()||t.target instanceof Element&&X(t.target))return;let a=(0,q.navHref)(i);!(t.defaultPrevented&&n?.(a))&&(Z(t)||l?window.open(B((0,q.navHref)(i)),"_blank","noopener,noreferrer"):(e&&o?.(e),n?.(a)||r.push((0,q.navHref)(i))))},[e,n,o,i,l,r]),c=(0,u.useCallback)(e=>{i&&1===e.button&&(e.target instanceof Element&&X(e.target)||(e.preventDefault(),window.open(B((0,q.navHref)(i)),"_blank","noopener,noreferrer")))},[i]),d=(0,u.useCallback)(t=>{if(i&&("Enter"===t.key||" "===t.key)&&(!(t.target instanceof Element)||t.target===t.currentTarget))if(t.preventDefault(),l)window.open(B((0,q.navHref)(i)),"_blank","noopener,noreferrer");else{e&&o?.(e);let t=(0,q.navHref)(i);n?.(t)||r.push((0,q.navHref)(i))}},[e,n,o,i,l,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:l}}(g),x=c??b.external,y=(0,u.useId)(),v=(0,u.useId)(),w=null!=e&&""!==e,k="string"==typeof a,C=null!=a&&!s,j=n?n.match(/\/([^\/]+)\.[^.]+$/)?.[1]??"":"",N=(0,t.jsx)(t.Fragment,{children:a?k?(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",g&&"cursor-pointer",i),"aria-labelledby":g?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:[g&&(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:[w&&(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",!w&&C&&"mt-4",s&&"leading-6 mt-0"),"data-component-part":"card-content",children:l}),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",!m&&"hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light"),disabled:m,children:[h,(0,t.jsx)(J.ChevronRightIcon,{"aria-hidden":"true",className:"-ml-0.5 size-2.5 shrink-0",strokeWidth:2})]})})]})]})]})}e.s(["Color",()=>el],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:i,triggerAriaLabel:l,className:s}){var c;let[p,h]=(0,u.useState)(!1),m=function(){try{return matchMedia("(hover: hover)").matches}catch{return!0}}(),g=(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&&!i&&e.push(': "cta" requires "href"; the call-to-action link was not rendered.'),f&&en.has(f)&&e.push(`<${f}> cannot be a child of the trigger button. Use inline content instead.`),b&&e.push(" wraps its children in a