PageSourceSearch

https://protostar.ai/_next/static/chunks/ca7fd055287ad72c.js?dpl=dpl_H8qqNTcRKga7ZQzNN9sYHCwzDT9K

js protostar.ai collected 2026-10-05 12:26:15 UTC 54,463 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,467034,(t,e,r)=>{var n={675:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=l(t),a=o[0],s=o[1],f=new i((a+s)*3/4-s),c=0,u=s>0?a-4:a;for(r=0;r<u;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)],f[c++]=e>>16&255,f[c++]=e>>8&255,f[c++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,f[c++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,f[c++]=e>>8&255,f[c++]=255&e),f},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(t,e,n){for(var i,o=[],a=e;a<n;a+=3)i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function l(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),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(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 l(t,e,r)}function l(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|d(n,i),l=a(o),f=l.write(n,i);return f!==o&&(l=l.slice(0,f)),l}if(ArrayBuffer.isView(t))return u(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(C(t,ArrayBuffer)||t&&C(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(C(t,SharedArrayBuffer)||t&&C(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),s.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 s.from(c,e,r);var p=function(t){if(s.isBuffer(t)){var e=0|h(t.length),r=a(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)?a(0):u(t):"Buffer"===t.type&&Array.isArray(t.data)?u(t.data):void 0}(t);if(p)return p;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.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 f(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 f(t),a(t<0?0:0|h(t))}function u(t){for(var e=t.length<0?0:0|h(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.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}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==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(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return l(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(f(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return c(t)},s.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 d(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||C(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 i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return E(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return S(t).length;default:if(i)return n?-1:E(t).length;e=(""+e).toLowerCase(),i=!0}}function p(t,e,r){var i,o,a,s=!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 i="",o=e;o<r;++o)i+=B[t[o]];return i}(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 i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function m(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:y(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return y(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function y(t,e,r,n,i){var o,a=1,s=t.length,l=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;a=2,s/=2,l/=2,r/=2}function f(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=r;o<s;
vendor: 12,407 bytes, line 1
1o++)if(f(t,o)===f(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var u=!0,h=0;h<l;h++)if(f(t,o+h)!==f(e,h)){u=!1;break}if(u)return o}return -1}s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(C(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.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,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},s.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}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=s.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(C(o,Uint8Array)&&(o=s.from(o)),!s.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},s.byteLength=d,s.prototype._isBuffer=!0,s.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)m(this,e,e+1);return this},s.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)m(this,e,e+3),m(this,e+1,e+2);return this},s.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)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):p.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.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+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(C(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.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===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,a=r-e,l=Math.min(o,a),f=this.slice(n,i),c=t.slice(e,r),u=0;u<l;++u)if(f[u]!==c[u]){o=f[u],a=c[u];break}return o<a?-1:+(a<o)},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)};function b(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,l,f=t[i],c=null,u=f>239?4:f>223?3:f>191?2:1;if(i+u<=r)switch(u){case 1:f<128&&(c=f);break;case 2:(192&(o=t[i+1]))==128&&(l=(31&f)<<6|63&o)>127&&(c=l);break;case 3:o=t[i+1],a=t[i+2],(192&o)==128&&(192&a)==128&&(l=(15&f)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&f)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,u=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=u}var h=n,d=h.length;if(d<=4096)return String.fromCharCode.apply(String,h);for(var p="",m=0;m<d;)p+=String.fromCharCode.apply(String,h.slice(m,m+=4096));return p}function x(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 v(t,e,r,n,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function w(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function j(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function A(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}s.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 i,o,a,s,l,f,c,u,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 d=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,l=parseInt(e.substr(2*a,2),16);if((s=l)!=s)break;t[r+a]=l}return a}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,I(E(t,this.length-i),this,i,o);case"ascii":return a=e,s=r,I(O(t),this,a,s);case"latin1":case"binary":return function(t,e,r,n){return I(O(e),t,r,n)}(this,t,e,r);case"base64":return l=e,f=r,I(S(t),this,l,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,u=r,I(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-c),this,c,u);default:if(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.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,s.prototype),n},s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUInt8=function(t,e){return t>>>=0,e||x(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||x(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||x(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||x(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||x(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||x(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||x(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||x(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||x(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||x(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||x(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||x(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||x(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||x(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;v(this,t,e,r,i,0)}var o=1,a=0;for(this[e]=255&t;++a<r&&(o*=256);)this[e+a]=t/o&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;v(this,t,e,r,i,0)}var o=r-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||v(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||v(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||v(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||v(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},s.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||v(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},s.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);v(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);v(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||v(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||v(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||v(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||v(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},s.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||v(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},s.prototype.writeFloatLE=function(t,e,r){return j(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return j(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return A(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return A(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.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 i=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 o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},s.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&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}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(i=e;i<r;++i)this[i]=t;else{var a=s.isBuffer(t)?t:s.from(t,n),l=a.length;
1if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%l]}return this};var N=/[^+/0-9A-Za-z-_]/g;function E(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function O(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function S(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function I(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function C(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var B=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},783:function(t,e){e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,f=l>>1,c=-7,u=r?i-1:0,h=r?-1:1,d=t[e+u];for(u+=h,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+t[e+u],u+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+t[e+u],u+=h,c-=8);if(0===o)o=1-f;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=f}return(d?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,l,f=8*o-i-1,c=(1<<f)-1,u=c>>1,h=5960464477539062e-23*(23===i),d=n?0:o-1,p=n?1:-1,m=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+u>=1?e+=h/l:e+=h*Math.pow(2,1-u),e*l>=2&&(a++,l/=2),a+u>=c?(s=0,a=c):a+u>=1?(s=(e*l-1)*Math.pow(2,i),a+=u):(s=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,f+=i;f>0;t[r+d]=255&a,d+=p,a/=256,f-=8);t[r+d-p]|=128*m}}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}},a=!0;try{n[t](r,r.exports,o),a=!1}finally{a&&delete i[t]}return r.exports}o.ab="/ROOT/node_modules/next/dist/compiled/buffer/",e.exports=o(72)},290571,t=>{"use strict";var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,r)};function r(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var n=function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function i(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)0>e.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function o(t,e,r,n){return new(r||(r=Promise))(function(i,o){function a(t){try{l(n.next(t))}catch(t){o(t)}}function s(t){try{l(n.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof r?e:new r(function(t){t(e)})).then(a,s)}l((n=n.apply(t,e||[])).next())})}function a(t,e){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var f=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,f[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&f[0]?n.return:f[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,f[1])).done)return i;switch(n=0,i&&(f=[2&f[0],i.value]),f[0]){case 0:case 1:i=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,n=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===f[0]||2===f[0])){o=0;continue}if(3===f[0]&&(!i||f[1]>i[0]&&f[1]<i[3])){o.label=f[1];break}if(6===f[0]&&o.label<i[1]){o.label=i[1],i=f;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(f);break}i[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}catch(t){f=[6,t],n=0}
1finally{r=i=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function f(t,e,r){if(r||2==arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function c(t){return this instanceof c?(this.v=t,this):new c(t)}function u(t,e,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(t,e||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(t){return function(e){return Promise.resolve(e).then(t,f)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(t,e){i[t]&&(n[t]=function(e){return new Promise(function(r,n){o.push([t,e,r,n])>1||s(t,e)})},e&&(n[t]=e(n[t])))}function s(t,e){try{var r;(r=i[t](e)).value instanceof c?Promise.resolve(r.value.v).then(l,f):u(o[0][2],r)}catch(t){u(o[0][3],t)}}function l(t){s("next",t)}function f(t){s("throw",t)}function u(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function h(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=s(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,i){var o,a,s;o=n,a=i,s=(e=t[r](e)).done,Promise.resolve(e.value).then(function(t){o({value:t,done:s})},a)})}}}"function"==typeof SuppressedError&&SuppressedError,t.s(["__assign",()=>n,"__asyncGenerator",()=>u,"__asyncValues",()=>h,"__await",()=>c,"__awaiter",()=>o,"__extends",()=>r,"__generator",()=>a,"__read",()=>l,"__rest",()=>i,"__spreadArray",()=>f,"__values",()=>s])},247984,t=>{"use strict";function e(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}var r={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},n={0:8203,1:8204,2:8205,3:65279};[,,,,].fill(String.fromCodePoint(n[0])).join(""),Object.fromEntries(Object.entries(n).map(t=>t.reverse())),Object.fromEntries(Object.entries(r).map(t=>t.reverse()));var i=`${Object.values(r).map(t=>`\\u{${t.toString(16)}}`).join("")}`,o=RegExp(`[${i}]{4,}`,"gu");function a(t){var e,r;return t&&JSON.parse({cleaned:(e=JSON.stringify(t)).replace(o,""),encoded:(null==(r=e.match(o))?void 0:r[0])||""}.cleaned)}t.s(["isRecord",()=>e,"stegaClean",()=>a])},115057,t=>{"use strict";let e=(0,t.i(475254).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);t.s(["ArrowUpRight",()=>e],115057)},154205,t=>{"use strict";let e={amp:"&",apos:"'",quot:'"',lt:"<",gt:">",nbsp:" ",ndash:"–",mdash:"—",hellip:"…",rsquo:"’",lsquo:"‘",rdquo:"”",ldquo:"“"};t.s(["decodeDeepHtmlEntities",()=>function t(r){return"string"==typeof r?r.replace(/&#(\d+);/g,(t,e)=>String.fromCodePoint(Number(e))).replace(/&#x([0-9a-fA-F]+);/g,(t,e)=>String.fromCodePoint(parseInt(e,16))).replace(/&([a-zA-Z]+);/g,(t,r)=>e[r]??t):Array.isArray(r)?r.map(e=>t(e)):r&&"object"==typeof r?Object.fromEntries(Object.entries(r).map(([e,r])=>[e,t(r)])):r}])},338085,t=>{"use strict";var e=t.i(843476),r=t.i(519455),n=t.i(846932),i=t.i(522016);function o(){return(0,e.jsxs)("section",{className:"relative h-screen flex items-end justify-start text-white overflow-hidden",children:[(0,e.jsxs)("div",{className:"absolute inset-0 z-0",children:[(0,e.jsx)("img",{className:"absolute inset-0 w-full h-full object-cover",src:"/spaceImages/home-solutions.jpg"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/40 to-background opacity-100"})]}),(0,e.jsxs)("div",{className:"container z-10 text-left mx-auto px-4 pl-8 pb-32",children:[(0,e.jsxs)(n.motion.h1,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-5xl md:text-6xl font-bold tracking-tight mb-6",children:["Enabling intelligent missions, ",(0,e.jsx)("br",{}),"in space and beyond."]}),(0,e.jsx)(n.motion.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"text-lg md:text-xl max-w-2xl mb-8",children:"We develop innovative technologies that enable autonomous, efficient, and reliable missions - from orbit to the most demanding industries on Earth."}),(0,e.jsxs)(n.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"flex flex-col sm:flex-row items-start gap-4",children:[(0,e.jsx)(r.Button,{asChild:!0,size:"lg",className:"w-auto px-8 py-3 text-lg rounded-xl border-border border bg-background",children:(0,e.jsx)(i.default,{href:"/spacesolutions",children:"Space Solutions"})}),(0,e.jsx)(r.Button,{asChild:!0,variant:"outline",size:"lg",className:"w-auto px-8 py-3 text-lg rounded-xl",children:(0,e.jsx)(i.default,{href:"/rnd-lab",children:"R&D Lab"})})]})]})]})}t.s(["default",()=>o])},483798,t=>{"use strict";var e=t.i(843476),r=t.i(115057),n=t.i(519455),i=t.i(515288),o=t.i(657688),a=t.i(522016);function s(){return(0,e.jsx)("section",{className:" text-white pt-24 py-12 container mx-auto px-4",children:(0,e.jsxs)("div",{className:"grid md:grid-cols-2 gap-12 items-start",children:[(0,e.jsxs)("div",{className:"pl-4",children:[(0,e.jsx)("h2",{className:"text-4xl md:text-5xl font-bold mb-6",children:"Space Solutions"}),(0,e.jsx)("p",{className:"text-gray-300 text-lg mb-8 max-w-md",children:"At Protostar Labs, we build fault-tolerant onboard processing systems and optical payloads for satellites and space missions. Designed for real-time analysis, edge intelligence, and mission-critical reliability, our technologies enable more autonomous and efficient missions"}),(0,e.jsx)(n.Button,{asChild:!0,variant:"outline",className:"border-gray-700 text-white hover:bg-gray-800",children:(0,e.jsxs)(a.default,{href:"/spacesolutions",className:"flex items-center gap-2",children:["Learn More ",(0,e.jsx)(r.ArrowUpRight,{className:"w-4 h-4"})]})})]}),(0,e.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-6",children:(0,e.jsx)(l,{title:"",image:"/spaceImages/frame3.png"})})]})})}function l({title:t,image:r}){return(0,e.jsx)("div",{className:"group/card relative rounded-2xl overflow-hidden border-1 border-border",children:(0,e.jsx)(i.Card,{className:"bg-transparent border-0 p-0 overflow-hidden",children:(0,e.jsxs)("div",{className:"relative w-full h-[340px]",children:[(0,e.jsx)(o.default,{src:r,alt:t,fill:!0,className:"object-cover "}),(0,e.jsx)("div",{className:"absolute bottom-4 left-4 flex items-center gap-2 text-sm font-semibold z-10",children:t})]})})})}t.s(["default",()=>s])},439884,(t,e,r)=>{t.e,e.exports=function(){function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function e(){return(e=Object.assign.bind()).apply(null,arguments)}var r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function n(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var i=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],o=["clip","crop","fill","fillmax","max","scale","min"],a=["top","bottom","left","right","center","focalpoint","entropy"],s=["format"],l=function(){function l(t,r){this.options=void 0,this.options=t?e({},t.options||{},r||{}):e({},r||{})}var f=l.prototype;return f.withOptions=function(r){var n=r.baseUrl||this.options.baseUrl,o={baseUrl:n};for(var a in r)r.hasOwnProperty(a)&&(o[function(e){for(var r,n=function(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,r){if(e){if("string"==typeof e)return t(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,void 0):void 0}}(e))){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i);!(r=n()).done;){var o=r.value,a=o[0],s=o[1];if(e===a||e===s)return a}return e}(a)]=r[a]);return new l(this,e({baseUrl:n},o))},f.image=function(t){return this.withOptions({source:t})},f.dataset=function(t){return this.withOptions({dataset:t})},f.projectId=function(t){return this.withOptions({projectId:t})},f.bg=function(t){return this.withOptions({bg:t})},f.dpr=function(t){return this.withOptions(t&&1!==t?{dpr:t}:{})},f.width=function(t){return this.withOptions({width:t})},f.height=function(t){return this.withOptions({height:t})},f.focalPoint=function(t,e){return this.withOptions({focalPoint:{x:t,y:e}})},f.maxWidth=function(t){return this.withOptions({maxWidth:t})},f.minWidth=function(t){return this.withOptions({minWidth:t})},f.maxHeight=function(t){return this.withOptions({maxHeight:t})},f.minHeight=function(t){return this.withOptions({minHeight:t})},f.size=function(t,e){return this.withOptions({width:t,height:e})},f.blur=function(t){return this.withOptions({blur:t})},f.sharpen=function(t){return this.withOptions({sharpen:t})},f.rect=function(t,e,r,n){return this.withOptions({rect:{left:t,top:e,width:r,height:n}})},f.format=function(t){return this.withOptions({format:t})},f.invert=function(t){return this.withOptions({invert:t})},f.orientation=function(t){return this.withOptions({orientation:t})},f.quality=function(t){return this.withOptions({quality:t})},f.forceDownload=function(t){return this.withOptions({download:t})},f.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},f.flipVertical=function(){return this.withOptions({flipVertical:!0})},f.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},f.fit=function(t){if(-1===o.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},f.crop=function(t){if(-1===a.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},f.saturation=function(t){return this.withOptions({saturation:t})},f.auto=function(t){if(-1===s.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},f.pad=function(t){return this.withOptions({pad:t})},f.vanityName=function(t){return this.withOptions({vanityName:t})},f.frame=function(t){if(1!==t)throw Error('Invalid frame value "'+t+'"');return this.withOptions({frame:t})},f.url=function(){return function(t){var o=e({},t||{}),a=o.source;delete o.source;var s=function(t){var r,i;if(!t)return null;if("string"==typeof t&&(i=t,/^https?:\/\//.test(""+i)))r={asset:{_ref:n(t)}};else if("string"==typeof t)r={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)r={asset:t};else if(t&&"string"==typeof t._id)r={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)r={asset:{_ref:n(t.asset.url)}};else{if("object"!=typeof t.asset)return null;r=e({},t)}return t.crop&&(r.crop=t.crop),t.hotspot&&(r.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var r=e({},t);
1return r.crop||(r.crop={left:0,top:0,bottom:0,right:0}),r.hotspot||(r.hotspot={x:.5,y:.5,height:1,width:1}),r}(r)}(a);if(!s){if(a&&"object"==typeof a&&null!==a&&a._upload&&(!a.asset||!a.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error("Unable to resolve image URL from source ("+JSON.stringify(a)+")")}var l=function(t){var e=t.split("-"),n=e[1],i=e[2],o=e[3];if(!n||!i||!o)throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+r+'".');var a=i.split("x"),s=a[0],l=a[1],f=+s,c=+l;if(!(isFinite(f)&&isFinite(c)))throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+r+'".');return{id:n,width:f,height:c,format:o}}(s.asset._ref||s.asset._id||""),f=Math.round(s.crop.left*l.width),c=Math.round(s.crop.top*l.height),u={left:f,top:c,width:Math.round(l.width-s.crop.right*l.width-f),height:Math.round(l.height-s.crop.bottom*l.height-c)},h=s.hotspot.height*l.height/2,d=s.hotspot.width*l.width/2,p=s.hotspot.x*l.width,m=s.hotspot.y*l.height;return o.rect||o.focalPoint||o.ignoreImageParams||o.crop||(o=e({},o,function(t,e){var r,n=e.width,i=e.height;if(!(n&&i))return{width:n,height:i,rect:t.crop};var o=t.crop,a=t.hotspot,s=n/i;if(o.width/o.height>s){var l=Math.round(o.height),f=Math.round(l*s),c=Math.max(0,Math.round(o.top)),u=Math.max(0,Math.round(Math.round((a.right-a.left)/2+a.left)-f/2));u<o.left?u=o.left:u+f>o.left+o.width&&(u=o.left+o.width-f),r={left:u,top:c,width:f,height:l}}else{var h=o.width,d=Math.round(h/s),p=Math.max(0,Math.round(o.left)),m=Math.max(0,Math.round(Math.round((a.bottom-a.top)/2+a.top)-d/2));m<o.top?m=o.top:m+d>o.top+o.height&&(m=o.top+o.height-d),r={left:p,top:m,width:h,height:d}}return{width:n,height:i,rect:r}}({crop:u,hotspot:{left:p-d,top:m-h,right:p+d,bottom:m+h}},o))),function(t){var e=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),r=t.vanityName?"/"+t.vanityName:"",n=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format+r,o=e+"/images/"+t.projectId+"/"+t.dataset+"/"+n,a=[];if(t.rect){var s=t.rect,l=s.left,f=s.top,c=s.width,u=s.height;(0!==l||0!==f||u!==t.asset.height||c!==t.asset.width)&&a.push("rect="+l+","+f+","+c+","+u)}t.bg&&a.push("bg="+t.bg),t.focalPoint&&(a.push("fp-x="+t.focalPoint.x),a.push("fp-y="+t.focalPoint.y));var h=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");
1return(h&&a.push("flip="+h),i.forEach(function(e){var r=e[0],n=e[1];void 0!==t[r]?a.push(n+"="+encodeURIComponent(t[r])):void 0!==t[n]&&a.push(n+"="+encodeURIComponent(t[n]))}),0===a.length)?o:o+"?"+a.join("&")}(e({},o,{asset:l}))}(this.options)},f.toString=function(){return this.url()},l}();return function(t){if(t&&"config"in t&&"function"==typeof t.config){var e=t.config(),r=e.apiHost,n=e.projectId,i=e.dataset;return new l(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:n,dataset:i})}if(t&&"clientConfig"in t&&"object"==typeof t.clientConfig){var o=t.clientConfig,a=o.apiHost,s=o.projectId,f=o.dataset;return new l(null,{baseUrl:(a||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:s,dataset:f})}return new l(null,t||{})}}()},464554,t=>{"use strict";var e=t.i(843476),r=t.i(439884);t.i(247167);let n=(0,t.i(945736).createClient)({projectId:"h9e4juw5",dataset:"production",apiVersion:"2024-01-01",useCdn:!1});var i=t.i(515288),o=t.i(522016),a=t.i(772436),s=t.i(519455),l=t.i(115057),f=t.i(154205);let{projectId:c,dataset:u}=n.config(),h=t=>c&&u?(0,r.default)({projectId:c,dataset:u}).image(t):null;function d({posts:t}){let r=(0,f.decodeDeepHtmlEntities)(t),n=r?.[0],c=r?.slice(1,3)||[],u=n?.image?.asset?.url||(n?.image?h(n.image)?.width(800).height(600).url():null)||"https://placehold.co/600x400";return(0,e.jsxs)("section",{className:"py-12 lg:py-20 bg-background",children:[(0,e.jsxs)("div",{className:"grid gap-5 text-left md:grid-cols-1 md:text-left container mx-auto px-4 -mb-8",children:[(0,e.jsx)("h2",{className:"text-3xl font-bold lg:text-5xl pt-6 pl-4",children:"Blog & News"}),(0,e.jsx)("p",{className:"pl-4 text-accent",children:"Latest Information and Publications from Protostar Labs"})]}),(0,e.jsxs)("div",{className:"container mx-auto px-4 grid grid-cols-1 lg:grid-cols-5 gap-12",children:[(0,e.jsx)("div",{className:"lg:col-span-3 space-y-4 pt-14",children:(0,e.jsx)(i.Card,{className:"overflow-hidden border-none bg-transparent shadow-none",children:(0,e.jsxs)(i.CardContent,{className:"p-0",children:[(0,e.jsx)("div",{className:"flex items-start justify-start bg-transparent",children:(0,e.jsx)("img",{src:u,alt:n?.image?.alt||n?.title||"Post image",className:"w-full object-cover rounded-2xl border border-border max-h-110"})}),(0,e.jsxs)("div",{className:"pt-8",children:[(0,e.jsx)("h2",{className:"text-4xl font-bold mb-2",children:(0,e.jsx)(o.default,{href:`/${n?.slug}`,children:n?.title})}),(0,e.jsx)("p",{className:"text-foreground mb-4 text-xl pt-4",children:n?.excerpt||"The TMR VHDL Library makes it easy to add Triple Modular Redun
1dancy to your FPGA designs. By triplicating critical logic and using a voter circuit, it protects against faults from Single Event Effects."}),(0,e.jsxs)("p",{className:"text-sm text-muted-foreground",children:["by"," ",(0,e.jsx)("span",{className:"font-medium text-foreground",children:n?.author||"Protostar Labs"})," ","•"," ",n?.publishedAt?new Date(n.publishedAt).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):"Unknown date"]})]})]})})}),(0,e.jsxs)("aside",{className:"lg:col-span-2 space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-center justify-start md:justify-end",children:[" ",(0,e.jsx)("div",{className:"h-2"}),(0,e.jsx)(s.Button,{asChild:!0,variant:"outline",className:"border-gray-700 text-white hover:bg-gray-800",children:(0,e.jsxs)(o.default,{href:"/blog",className:"flex items-center gap-2",children:["View All ",(0,e.jsx)(l.ArrowUpRight,{className:"w-4 h-4"})]})})]}),(0,e.jsx)("div",{className:"",children:c.map(t=>{let r=t?.image?.asset?.url||(t?.image?h(t.image)?.width(400).height(250).url():null)||"https://via.placeholder.com/400x250?text=No+Image";return(0,e.jsx)(i.Card,{className:"overflow-hidden border-none bg-transparent shadow-none",children:(0,e.jsx)(i.CardContent,{className:"p-0",children:(0,e.jsxs)("div",{className:"flex items-center gap-4",children:[(0,e.jsx)("img",{src:r,alt:t?.image?.alt||t?.title||"Post image",className:"w-24 h-24 object-cover rounded-lg border border-border"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-semibold text-l hover:text-accent cursor-pointer",children:(0,e.jsx)(o.default,{href:`/${t.slug}`,children:t.title})}),(0,e.jsx)("p",{className:"text-muted-foreground text-sm line-clamp-2",children:t.excerpt||"An overview of modern tools and methods for interface design."}),(0,e.jsx)("p",{className:"text-xs text-muted-foreground pt-1",children:t.publishedAt?new Date(t.publishedAt).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"Unknown date"})]})]})})},t._id)})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h3",{className:"text-3xl font-bold pt-6 mb-6 text-accent",children:"Upcoming Events"}),(0,e.jsx)("div",{className:"space-y-6",children:[{title:"40th Annual Small Satellite Conference, Salt Lake City, Utah, USA",date:"August 23-26, 2026",href:"https://smallsat.org/"},{title:"ESA Industry Space Days 2026, ESA/ESTEC, Noordwijk, Netherlands",date:"September 16-17, 2026",href:"https://isd.esa.int/"},{title:"77th International Astronautical Congress (IAC 2026), Antalya, Turkey",date:"October 5-9, 2026",href:"https://www.iac2026.org/"}].map(t=>(0,e.jsxs)("div",{children:[(0,e.jsx)(a.Separator,{className:"my-4"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-semibold text-lg",children:(0,e.jsx)("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"cursor-pointer transition-colors hover:text-accent",children:t.title})}),(0,e.jsx)("p",{className:"text-muted-foreground text-sm",children:t.date})]})]},t.title))})]}),(0,e.jsx)(a.Separator,{className:"my-4"})]})]})]})}t.s(["default",()=>d],464554)},345293,t=>{"use strict";var e=t.i(843476),r=t.i(657688),n=t.i(522016);function i({title:t="Products",description:i="Protostar Labs builds the full stack of onboard data processing — from high-performance imaging to inference and compression. Our systems deliver real-time intelligence in orbit, enabling faster decisions and more autonomous missions.",features:o=[{id:"ai",title:"On-board Data Processing",description:"We process data directly in orbit, reducing downlink volume, cutting operational costs, and enabling more autonomous spacecraft.",image:"/products/data-processing-unit.png",buttons:[{name:"Data Processing Unit",path:"/data-processing-unit",description:"A compact, radiation-tolerant computing module for high-reliability data processing and seamless integration with satellite subsystems."},{name:"ProtoSDK",path:"/protosdk",description:"The backbone of our technology - a complete software toolkit for deploying AI/ML models directly to FPGAs, enabling low-latency, high-efficiency data processing."},{name:"Object Detection & Segmentation",path:"/object-segmentation",description:"Detect, segment, or classify objects directly onboard. We offer a suite of optimized algorithms deployable on FPGA hardware for real-time performance."},{name:"Data Compression",path:"/data-compression",description:"Transmit only what matters. Our FPGA IP cores enable efficient and fault-tolerant data compression to maximize downlink efficie
1ncy."}]},{id:"design",title:"Space Cameras",description:"We build autonomous vision systems for inspection and monitoring of spacecraft structures, mechanisms, and mission-critical components.",image:"/products/spacecraft-inspection-systems/hero.png",buttons:[{name:"Spacecraft Inspection Systems",path:"/spacecraft-inspection-systems",description:"Continuous, low-power monitoring with event-driven recording and up to eight camera heads."}]},{id:"accessories",title:"Development Systems",description:"Interface and adapter boards for rapid camera and sensor integration across embedded vision development platforms.",image:"/products/RPI-CSI2.png",buttons:[{name:"Aegis Camera Adapter",path:"/aegis-camera-adapter",description:"Dual-camera and IMU-ready adapter for Holoscan and Jetson prototyping."},{name:"RPI-CSI2 Adapter",path:"/rpi-csi2-adapter",description:"Compact flex-rigid bridge from Raspberry Pi CSI-2 cameras to Lattice Versa kits."}]}]}){return(0,e.jsxs)("section",{id:"feature-section",className:"relative py-32 overflow-hidden",children:[(0,e.jsxs)("div",{className:"absolute inset-0 z-0",children:[(0,e.jsx)("img",{src:"/backgroundImages/custom9.jpg",alt:"Background",className:"absolute inset-0 w-full h-full object-cover"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/60 to-background opacity-100"})]}),(0,e.jsxs)("div",{className:"relative z-10 container mx-auto px-4",children:[(0,e.jsxs)("div",{className:"mb-14 grid gap-5 md:grid-cols-2",children:[(0,e.jsx)("h2",{className:"text-3xl font-bold lg:text-5xl pt-6  md:pl-4",children:t}),(0,e.jsx)("p",{className:"mt-6 text-lg text-muted-foreground lg:text-xl  md:pl-6",children:i})]}),(0,e.jsx)("div",{className:"flex flex-col gap-4",children:o.map((t,i)=>(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center border border-muted rounded-2xl shadow-sm  p-5 md:p-10 bg-background/60 backdrop-blur-md",children:[(0,e.jsxs)("div",{className:`flex flex-col ${i%2==1?"order-2 lg:order-1":""}`,children:[(0,e.jsx)("h3",{className:"text-3xl font-semibold mb-4",children:t.title}),(0,e.jsx)("p",{className:"text-muted-foreground mb-8",children:t.description}),t.buttons?.length?(0,e.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 w-full mb-8",children:t.buttons.map(t=>(0,e.jsx)(n.default,{href:t.path,children:(0,e.jsxs)("div",{className:"group border border-border rounded-2xl p-5 hover:bg-accent hover:text-accent-foreground transition-colors cursor-pointer h-full flex flex-col justify-start shadow-sm hover:shadow-md",children:[(0,e.jsx)("h4",{className:"text-lg font-semibold mb-2 group-hover:text-accent-foreground",children:t.name}),t.description&&(0,e.jsx)("p",{className:"text-sm text-muted-foreground group-hover:text-accent-foreground/90",children:t.description})]})},t.path))}):null]}),(0,e.jsx)("div",{className:`relative w-full h-[350px] ${i%2==1?"order-1 lg:order-2":""}`,children:(0,e.jsx)(r.default,{src:t.image,alt:t.title,fill:!0,className:"object-contain rounded-xl"})})]},t.id))})]})]})}t.s(["default",()=>i])},253505,t=>{"use strict";var e=t.i(843476),r=t.i(515288);function n(){return(0,e.jsx)("section",{className:" text-white pb-16 mx-auto",children:(0,e.jsxs)("div",{className:"container mx-auto px-4",children:[(0,e.jsx)("div",{className:"mx-auto text-left mb-12",children:(0,e.jsx)("h2",{className:"md:text-2xl text-accent font-regular mt-4 -mb-4 pl-4",children:"Space Missions"})}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 items-stretch",children:[{title:"ESA OPS-SAT",launchDate:"May, 2024",payload:"Software-defined payload running on the OPS-SAT Intel Cyclone 
1V FPGA, enabling real-time telemetry analysis, anomaly detection, and dynamic FPGA reconfiguration in orbit.",goal:"To demonstrate real-time onboard anomaly detection and in-orbit FPGA reconfiguration using the OPS-SAT platform, validating faster fault detection directly in orbit.",status:"Complete"},{title:"Light Pollution Characterization Module (LPCM)",launchDate:"2029+",payload:"A light-pollution monitoring payload that captures and analyzes Earth’s light emissions using single-pixel detectors, supported by custom analog–digital electronics for accurate orbital measurements.",goal:"The mission quantifies light pollution from LEO by measuring the spectral and temporal properties of Earth’s artificial light emissions, supporting environmental monitoring and night-sky preservation.",status:"In Development"},{title:"ChROmosphere Monitoring InStrument (CROMIS)",launchDate:"TBD",payload:"A dedicated Hα space telescope delivering full-disk, high-resolution, high-cadence solar images.",goal:"Provide reliable space weather monitoring to support satellites, astronauts, GNSS, and power grid operations.",status:"In Development"}].map((t,n)=>(0,e.jsx)("div",{children:(0,e.jsxs)(r.Card,{className:"bg-gradient-to-b from-muted-accent to-background border border-border shadow-md hover:shadow-lg transition-shadow duration-300 flex flex-col h-full",children:[(0,e.jsx)(r.CardHeader,{children:(0,e.jsx)(r.CardTitle,{className:"text-xl font-bold text-white",children:t.title})}),(0,e.jsxs)(r.CardContent,{className:"space-y-4 text-sm flex flex-col justify-between flex-1",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-semibold text-gray-200 pb-2",children:"Launch Date"}),(0,e.jsx)("p",{className:"text-muted-foreground",children:t.launchDate})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-gray-200 pb-2 pt-4",children:"Payload"}),(0,e.jsx)("p",{className:"text-muted-foreground",children:t.payload})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-gray-200 pb-2 pt-4",children:"Goal"}),(0,e.jsx)("p",{className:"text-muted-foreground",children:t.goal})]})]}),(0,e.jsxs)("div",{className:"pt-3",children:[(0,e.jsx)("span",{className:"font-bold text-gray-200",children:"Status: "}),(0,e.jsx)("span",{className:"Complete"===t.status?"text-green-400 font-medium":"text-yellow-400 font-medium",children:t.status})]})]})]})},`${t.title}-${n}`))})]})})}t.s(["default",()=>n])},302128,t=>{"use strict";var e=t.i(843476),r=t.i(519455),n=t.i(515288),i=t.i(772436);function o(){return(0,e.jsxs)("section",{className:"relative text-white pt-24 py-32",children:[(0,e.jsxs)("div",{className:"absolute inset-0 -z-5",children:[(0,e.jsx)("img",{src:"/random/cam.png",alt:"Background",className:"absolute inset-0 w-full h-full object-cover"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-accent/10 to-background opacity-100"})]}),(0,e.jsx)("div",{className:"container mx-auto px-4 z-10",children:(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-12 items-start",children:[(0,e.jsx)(n.Card,{className:"md:col-span-2 p-8 bg-background/50 border-border",children:(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"text-4xl md:text-6xl font-bold mb-6",children:"R&D Lab"}),(0,e.jsx)("h2",{className:"text-2xl md:text-3xl text-accent font-bold mb-6",children:"Full-stack engineering for high-performance, mission-critical systems."}),(0,e.jsx)("p",{className:"text-foreground text-xl mb-8",children:"Built with space-grade standards, our technologies operate reliably wherever they’re deployed."}),(0,e.jsx)(i.Separator,{className:"mb-5"}),(0,e.jsx)(r.Button,{asChild:!0,className:"",children:(0,e.jsx)("a",{href:"/rnd-lab",target:"_blank",rel:"noreferrer",children:"Learn More"})})]})}),(0,e.jsx)("div",{className:"md:col-span-1",children:(0,e.jsx)("div",{className:"grid grid-cols-1 gap-6"})})]})})]})}t.s(["default",()=>o])},684927,t=>{t.v(e=>Promise.all(["static/chunks/0391c6e2794c9882.js"].map(e=>t.l(e))).then(()=>e(145587)))},627649,t=>{t.v(e=>Promise.all(["static/chunks/b3568856fad4f85f.js"].map(e=>t.l(e))).then(()=>e(712220)))}]);

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.