1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,991918,820783,t=>{"use strict";var e=t.i(271645);function r(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}function n(...t){return e=>{let n=!1,o=t.map(t=>{let o=r(t,e);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():r(t[e],null)}}}}function o(...t){return e.useCallback(n(...t),t)}t.s(["composeRefs",()=>n,"useComposedRefs",()=>o],820783);var i=t.i(843476);function s(t){var r;let o,s=(r=t,(o=e.forwardRef((t,r)=>{let{children:o,...i}=t;if(e.isValidElement(o)){var s;let t,u,f=(s=o,(u=(t=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?s.ref:(u=(t=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?s.props.ref:s.props.ref||s.ref),a=function(t,e){let r={...e};for(let n in e){let o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...t)=>{let e=i(...t);return o(...t),e}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}(i,o.props);return o.type!==e.Fragment&&(a.ref=r?n(r,f):f),e.cloneElement(o,a)}return e.Children.count(o)>1?e.Children.only(null):null})).displayName=`${r}.SlotClone`,o),u=e.forwardRef((t,r)=>{let{children:n,...o}=t,u=e.Children.toArray(n),f=u.find(l);if(f){let t=f.props.children,n=u.map(r=>r!==f?r:e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null);return(0,i.jsx)(s,{...o,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,n):null})}return(0,i.jsx)(s,{...o,ref:r,children:n})});return u.displayName=`${t}.Slot`,u}var u=s("Slot"),f=Symbol("radix.slottable");function a(t){let e=({children:t})=>(0,i.jsx)(i.Fragment,{children:t});return e.displayName=`${t}.Slottable`,e.__radixId=f,e}var c=a("Slottable");function l(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===f}t.s(["Root",()=>u,"Slot",()=>u,"Slottable",()=>c,"createSlot",()=>s,"createSlottable",()=>a],991918)},519455,225913,586011,t=>{"use strict";var e=t.i(843476),r=t.i(207670);let n=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,o=r.clsx,i=(t,e)=>r=>{var i;if((null==e?void 0:e.variants)==null)return o(t,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:s,defaultVariants:u}=e,f=Object.keys(s).map(t=>{let e=null==r?void 0:r[t],o=null==u?void 0:u[t];if(null===e)return null;let i=n(e)||n(o);return s[t][i]}),a=r&&Object.entries(r).reduce((t,e)=>{let[r,n]=e;return void 0===n||(t[r]=n),t},{});return o(t,f,null==e||null==(i=e.compoundVariants)?void 0:i.reduce((t,e)=>{let{class:r,className:n,...o}=e;return Object.entries(o).every(t=>{let[e,r]=t;return Array.isArray(r)?r.includes({...u,...a}[e]):({...u,...a})[e]===r})?[...t,r,n]:t},[]),null==r?void 0:r.class,null==r?void 0:r.className)};t.s(["cva",0,i],225913);var s=t.i(991918);t.s(["Slot",0,s],586011);var s=s,u=t.i(975157);let f=i("inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/85 dark:shadow-[0_0_12px_-3px] dark:shadow-primary/25",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function a({className:t,variant:r="default",size:n="default",asChild:o=!1,...i}){let a=o?s.Root:"button";return(0,e.jsx)(a,{"data-slot":"button","data-variant":r,"data-size":n,className:(0,u.cn)(f({variant:r,size:n,className:t})),...i})}t.s(["Button",()=>a],519455)},467034,(t,e,r)=>{var n={675:function(t,e){"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,i=f(t),s=i[0],u=i[1],a=new o((s+u)*3/4-u),c=0,l=u>0?s-4:s;for(r=0;r<l;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],a[c++]=e>>16&255,a[c++]=e>>8&255,a[c++]=255&e;return 2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,a[c++]=255&e),1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,a[c++]=e>>8&255,a[c++]=255&e),a},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],s=0,u=n-o;s<u;s+=16383)i.push(function(t,e,n){for(var o,i=[],s=e;s<n;s+=3)o=(t[s]<<16&0xff0000)+(t[s+1]<<8&65280)+(255&t[s+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(t,s,s+16383>u?u:s+16383));return 1===o?i.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===o&&i.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),i.join("")};for(var r=[],n=[],o="u">typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",s=0,u=i.length;s<u;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function f(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return c(t)}return f(t,e,r)}function f(t,e,r){if("string"==typeof t){var n=t,o=e;if(("string"!=typeof o||""===o)&&(o="utf8"),!u.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|p(n,o),f=s(i),a=f.write(n,o);return a!==i&&(f=f.slice(0,a)),f}if(ArrayBuffer.isView(t))return l(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(R(t,ArrayBuffer)||t&&R(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(R(t,SharedArrayBuffer)||t&&R(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),u.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var c=t.valueOf&&t.valueOf();if(null!=c&&c!==t)return u.from(c,e,r);var g=function(t){if(u.isBuffer(t)){var e=0|h(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?s(0):l(t):"Buffer"===t.type&&Array.isArray(t.data)?l(t.data):void 0}(t);if(g)return g;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function a(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return a(t),s(t<0?0:0|h(t))}function l(t){for(var e=t.length<0?0:0|h(t.length),r=s(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=u,e.SlowBuffer=function(t){return+t!=t&&(t=0),u.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,u.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),!u.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,e,r){return f(t,e,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,e,r){return(a(t),t<=0)?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)},u.allocUnsafe=function(t){return c(t)},u.allocUnsafeSlow=function(t){return c(t)};function h(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||R(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return T(t).length;default:if(o)return n?-1:B(t).length;e=(""+e).toLowerCase(),o=!0}}function g(t,e,r){var o,i,s,u=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=I[t[i]];return o}(this,e,r);case"utf8":case"utf-8":return b(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}(this,e,r);case"base64":return o=this,i=e,s=r,0===i&&s===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,e,r);default:if(u)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),u=!0}}function d(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,o){var i;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(o)return -1;else r=t.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,o);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(
vendor: 12,881 bytes, line 1
1o)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return v(t,[e],r,n,o)}throw TypeError("val must be string, number or Buffer")}function v(t,e,r,n,o){var i,s=1,u=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;s=2,u/=2,f/=2,r/=2}function a(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var c=-1;for(i=r;i<u;i++)if(a(t,i)===a(e,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===f)return c*s}else -1!==c&&(i-=i-c),c=-1}else for(r+f>u&&(r=u-f),i=r;i>=0;i--){for(var l=!0,h=0;h<f;h++)if(a(t,i+h)!==a(e,h)){l=!1;break}if(l)return i}return -1}u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,e){if(R(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),R(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(t)||!u.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:+(n<r)},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=u.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(R(i,Uint8Array)&&(i=u.from(i)),!u.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)d(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)d(this,e,e+3),d(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)d(this,e,e+7),d(this,e+1,e+6),d(this,e+2,e+5),d(this,e+3,e+4);return this},u.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):g.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,o){if(R(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,s=r-e,f=Math.min(i,s),a=this.slice(n,o),c=t.slice(e,r),l=0;l<f;++l)if(a[l]!==c[l]){i=a[l],s=c[l];break}return i<s?-1:+(s<i)},u.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)};function b(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,s,u,f,a=t[o],c=null,l=a>239?4:a>223?3:a>191?2:1;if(o+l<=r)switch(l){case 1:a<128&&(c=a);break;case 2:(192&(i=t[o+1]))==128&&(f=(31&a)<<6|63&i)>127&&(c=f);break;case 3:i=t[o+1],s=t[o+2],(192&i)==128&&(192&s)==128&&(f=(15&a)<<12|(63&i)<<6|63&s)>2047&&(f<55296||f>57343)&&(c=f);break;case 4:i=t[o+1],s=t[o+2],u=t[o+3],(192&i)==128&&(192&s)==128&&(192&u)==128&&(f=(15&a)<<18|(63&i)<<12|(63&s)<<6|63&u)>65535&&f<1114112&&(c=f)}null===c?(c=65533,l=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=l}var h=n,p=h.length;if(p<=4096)return String.fromCharCode.apply(String,h);for(var g="",d=0;d<p;)g+=String.fromCharCode.apply(String,h.slice(d,d+=4096));return g}function m(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function w(t,e,r,n,o,i){if(!u.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function E(t,e,r,n,o,i){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function A(t,e,r,n,i){return e*=1,r>>>=0,i||E(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function C(t,e,r,n,i){return e*=1,r>>>=0,i||E(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,s,u,f,a,c,l,h=this.length-e;if((void 0===r||r>h)&&(r=h),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var u,f=parseInt(e.substr(2*s,2),16);if((u=f)!=u)break;t[r+s]=f}return s}(this,t,e,r);case"utf8":case"utf-8":return o=e,i=r,k(B(t,this.length-o),this,o,i);case"ascii":return s=e,u=r,k(S(t),this,s,u);case"latin1":case"binary":return function(t,e,r,n){return k(S(e),t,r,n)}(this,t,e,r);case"base64":return f=e,a=r,k(T(t),this,f,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,l=r,k(function(t,e){for(var r,n,o=[],i=0;i<t.length&&!((e-=2)<0);++i)n=(r=t.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(t,this.length-c),this,c,l);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},u.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},u.prototype.readUInt8=function(t,e){return t>>>=0,e||m(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||m(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||m(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||m(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||m(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||m(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},u.prototype.readInt8=function(t,e){return(t>>>=0,e||m(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||m(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||m(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||m(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||m(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return t>>>=0,e||m(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||m(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||m(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||m(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,t,e,r,o,0)}var i=1,s=0;for(this[e]=255&t;++s<r&&(i*=256);)this[e+s]=t/i&255;return e+r},u.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,t,e,r,o,0)}var i=r-1,s=1;for(this[e+i]=255&t;--i>=0&&(s*=256);)this[e+i]=t/s&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,t,e,r,o-1,-o)}var i=0,s=1,u=0;for(this[e]=255&t;++i<r&&(s*=256);)t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/s|0)-u&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,t,e,r,o-1,-o)}var i=r-1,s=1,u=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/s|0)-u&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeFloatLE=function(t,e,r){return A(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return A(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return C(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return C(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var i=o-1;i>=0;--i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return o},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var o,i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var s=u.isBuffer(t)?t:u.from(t,n),f=s.length;
1if(0===f)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=s[o%f]}return this};var x=/[^+/0-9A-Za-z-_]/g;function B(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function S(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function T(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function k(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length)&&!(o>=t.length);++o)e[o+r]=t[o];return o}function R(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var I=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},783:function(t,e){e.read=function(t,e,r,n,o){var i,s,u=8*o-n-1,f=(1<<u)-1,a=f>>1,c=-7,l=r?o-1:0,h=r?-1:1,p=t[e+l];for(l+=h,i=p&(1<<-c)-1,p>>=-c,c+=u;c>0;i=256*i+t[e+l],l+=h,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=256*s+t[e+l],l+=h,c-=8);if(0===i)i=1-a;else{if(i===f)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),i-=a}return(p?-1:1)*s*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var s,u,f,a=8*i-o-1,c=(1<<a)-1,l=c>>1,h=5960464477539062e-23*(23===o),p=n?0:i-1,g=n?1:-1,d=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(u=+!!isNaN(e),s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+l>=1?e+=h/f:e+=h*Math.pow(2,1-l),e*f>=2&&(s++,f/=2),s+l>=c?(u=0,s=c):s+l>=1?(u=(e*f-1)*Math.pow(2,o),s+=l):(u=e*Math.pow(2,l-1)*Math.pow(2,o),s=0));o>=8;t[r+p]=255&u,p+=g,u/=256,o-=8);for(s=s<<o|u,a+=o;a>0;t[r+p]=255&s,p+=g,s/=256,a-=8);t[r+p-g]|=128*d}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={exports:{}},s=!0;try{n[t](r,r.exports,i),s=!1}finally{s&&delete o[t]}return r.exports}i.ab="/ROOT/node_modules/next/dist/compiled/buffer/",e.exports=i(72)},314985,t=>{"use strict";t.i(247167);var e=t.i(92953);(0,e.registerVersion)("firebase","12.10.0","app");var r=e;t.i(897427);var r=e;t.i(151718);var n=t.i(618357);t.i(436180);var o=t.i(98925);let i=0===(0,r.getApps)().length?(0,r.initializeApp)({apiKey:"AIzaSyCsylRo2v0UqniowQSIxhG6B1u9cXNbQJI",authDomain:"kopern.firebaseapp.com",projectId:"kopern",storageBucket:"kopern.firebasestorage.app",messagingSenderId:"779840452346",appId:"1:779840452346:web:618d46bcbd7dd9c8a67b43"}):(0,r.getApp)(),s=(0,n.getAuth)(i),u=(0,o.getFirestore)(i);t.s(["auth",()=>s,"db",()=>u],314985)},920636,t=>{"use strict";t.i(151718);var e=t.i(618357),r=t.i(314985);let n=new e.GoogleAuthProvider,o=new e.GithubAuthProvider;async function i(){return(0,e.signInWithPopup)(r.auth,n)}async function s(){try{let t=await (0,e.signInWithPopup)(r.auth,o),n=e.GithubAuthProvider.credentialFromResult(t);return{result:t,githubAccessToken:n?.accessToken??null}}catch(t){if("auth/account-exists-with-different-credential"===t.code){let t=Error("github_needs_google_first");throw t.code="auth/account-exists-with-different-credential",t}throw t}}async function u(){let t=r.auth.currentUser;if(!t)throw Error("No authenticated user");if(t.providerData.some(t=>"github.com"===t.providerId))throw Error("github_already_linked");let n=await (0,e.linkWithPopup)(t,o),i=e.GithubAuthProvider.credentialFromResult(n);return{githubAccessToken:i?.accessToken??null}}async function f(t,n){return(0,e.signInWithEmailAndPassword)(r.auth,t,n)}async function a(t,n){return(0,e.createUserWithEmailAndPassword)(r.auth,t,n)}async function c(){return(0,e.signOut)(r.auth)}function l(t){return(0,e.onAuthStateChanged)(r.auth,t)}o.addScope("repo"),t.s(["linkGithubToCurrentUser",()=>u,"onAuthChanged",()=>l,"signInWithEmail",()=>f,"signInWithGithub",()=>s,"signInWithGoogle",()=>i,"signOut",()=>c,"signUpWithEmail",()=>a])},528623,t=>{"use strict";t.i(436180);var e=t.i(98925),r=t.i(314985);function n(t){return(0,e.collection)(r.db,t)}function o(){return n("users")}function i(t){return(0,e.doc)(r.db,"users",t)}function s(t){return n(`users/${t}/agents`)}function u(t,n){return(0,e.doc)(r.db,"users",t,"agents",n)}function f(t,e){return n(`users/${t}/agents/${e}/skills`)}function a(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"skills",o)}function c(t,e){return n(`users/${t}/agents/${e}/tools`)}function l(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"tools",o)}function h(t,e){return n(`users/${t}/agents/${e}/extensions`)}function p(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"extensions",o)}function g(t,e){return n(`users/${t}/agents/${e}/versions`)}function d(t,e){return n(`users/${t}/agents/${e}/gradingSuites`)}function y(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"gradingSuites",o)}function v(t,e,r){return n(`users/${t}/agents/${e}/gradingSuites/${r}/cases`)}function b(t,n,o,i){return(0,e.doc)(r.db,"users",t,"agents",n,"gradingSuites",o,"cases",i)}function m(t,e,r){return n(`users/${t}/agents/${e}/gradingSuites/${r}/runs`)}function w(t,n,o,i){return(0,e.doc)(r.db,"users",t,"agents",n,"gradingSuites",o,"runs",i)}function E(t,e,r,o){return n(`users/${t}/agents/${e}/gradingSuites/${r}/runs/${o}/results`)}function A(t,e){return n(`users/${t}/agents/${e}/mcpServers`)}function C(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"mcpServers",o)}function x(t,e,r){return n(`users/${t}/agents/${e}
1/mcpServers/${r}/usage`)}function B(t,n,o,i){return(0,e.doc)(r.db,"users",t,"agents",n,"mcpServers",o,"usage",i)}function S(t){return n(`users/${t}/agentTeams`)}function T(t,n){return(0,e.doc)(r.db,"users",t,"agentTeams",n)}function k(t,n){return(0,e.collection)(r.db,"users",t,"agentTeams",n,"activity")}function R(t,n){return(0,e.collection)(r.db,"users",t,"agentTeams",n,"runs")}function I(t,n,o){return(0,e.doc)(r.db,"users",t,"agentTeams",n,"runs",o)}function U(t,n){return(0,e.collection)(r.db,"users",t,"agentTeams",n,"tasks")}function $(t,n,o){return(0,e.doc)(r.db,"users",t,"agentTeams",n,"tasks",o)}function O(t,n){return(0,e.collection)(r.db,"users",t,"agentTeams",n,"routines")}function D(t,n,o){return(0,e.doc)(r.db,"users",t,"agentTeams",n,"routines",o)}function L(t){return n(`users/${t}/goals`)}function P(t,n){return(0,e.doc)(r.db,"users",t,"goals",n)}function _(t,e){return n(`users/${t}/agents/${e}/pipelines`)}function j(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"pipelines",o)}function M(t,e){return n(`users/${t}/agents/${e}/sessions`)}function z(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"sessions",o)}function N(t,e){return n(`users/${t}/agents/${e}/autoresearchRuns`)}function W(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"autoresearchRuns",o)}function F(t,e,r){return n(`users/${t}/agents/${e}/autoresearchRuns/${r}/iterations`)}function V(t){return n(`users/${t}/usage`)}function G(t,n){return(0,e.doc)(r.db,"users",t,"usage",n)}function Y(t){return n(`users/${t}/bugs`)}function q(t,n){return(0,e.doc)(r.db,"users",t,"bugs",n)}function K(t,n){return(0,e.doc)(r.db,"users",t,"serviceConnectors",n)}function X(t){return n(`users/${t}/serviceConnectors`)}function J(t,n){return(0,e.doc)(r.db,"users",t,"socialConnectors",n)}function Q(t){return n(`users/${t}/socialConnectors`)}function Z(){return n("errorLogs")}function H(t,n){return(0,e.doc)(r.db,"users",t,"agents",n,"connectors","widget")}function tt(t,e){return n(`users/${t}/agents/${e}/webhooks`)}function te(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"webhooks",o)}function tr(t,e){return n(`users/${t}/agents/${e}/webhookLogs`)}function tn(t,n){return(0,e.doc)(r.db,"users",t,"agents",n,"connectors","slackConnection")}function to(t,n){return(0,e.doc)(r.db,"users",t,"agents",n,"connectors","telegram")}function ti(t,n){return(0,e.doc)(r.db,"users",t,"agents",n,"connectors","whatsapp")}function ts(t,n){return(0,e.collection)(r.db,"users",t,"agents",n,"memory")}function tu(t,n,o){return(0,e.doc)(r.db,"users",t,"agents",n,"memory",o)}function tf(t){return(0,e.doc)(r.db,"users",t,"consent","preferences")}t.s(["agentDoc",()=>u,"agentTeamDoc",()=>T,"agentTeamsCollection",()=>S,"agentsCollection",()=>s,"autoresearchIterationsCollection",()=>F,"autoresearchRunDoc",()=>W,"autoresearchRunsCollection",()=>N,"bugDoc",()=>q,"bugsCollection",()=>Y,"consentDoc",()=>tf,"errorLogsCollection",()=>Z,"extensionDoc",()=>p,"extensionsCollection",()=>h,"goalDoc",()=>P,"goalsCollection",()=>L,"gradingCaseDoc",()=>b,"gradingCasesCollection",()=>v,"gradingRunDoc",()=>w,"gradingRunsCollection",()=>m,"gradingSuiteDoc",()=>y,"gradingSuitesCollection",()=>d,"mcpServerDoc",()=>C,"mcpServersCollection",()=>A,"mcpUsageCollection",()=>x,"mcpUsageDoc",()=>B,"memoryCollection",()=>ts,"memoryEntryDoc",()=>tu,"pipelineDoc",()=>j,"pipelinesCollection",()=>_,"runResultsCollection",()=>E,"serviceConnectorDoc",()=>K,"serviceConnectorsCollection",()=>X,"sessionDoc",()=>z,"sessionsCollection",()=>M,"skillDoc",()=>a,"skillsCollection",()=>f,"slackConnectionDoc",()=>tn,"socialConnectorDoc",()=>J,"socialConnectorsCollection",()=>Q,"teamActivityCollection",()=>k,"teamRoutineDoc",()=>D,"teamRoutinesCollection",()=>O,"teamRunDoc",()=>I,"teamRunsCollection",()=>R,"teamTaskDoc",()=>$,"teamTasksCollection",()=>U,"telegramConnectorDoc",()=>to,"toolDoc",()=>l,"toolsCollection",()=>c,"usageCollection",()=>V,"usageDoc",()=>G,"userDoc",()=>i,"usersCollection",()=>o,"versionsCollection",()=>g,"webhookDoc",()=>te,"webhookLogsCollection",()=>tr,"webhooksCollection",()=>tt,"whatsappConnectorDoc",()=>ti,"widgetConfigDoc",()=>H])}]);
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.