PageSourceSearch

https://www.aetv.com/editorial/_next/static/chunks/4644-21b0da3147…?dpl=dpl_D8qCHGREvWHZhWyTrukGMrqxdjpM

js aetv.com collected 2026-10-01 08:45:51 UTC 108,601 bytes, 3 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9cb27bcb-37b1-45ef-9b48-98c6c04cb91f",e._sentryDebugIdIdentifier="sentry-dbid-9cb27bcb-37b1-45ef-9b48-98c6c04cb91f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4644],{7250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let i=r(35792),o=r(22584);function n({config:e,src:t,width:r,quality:a}){let s=(0,o.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,o.getAssetToken)())s=void 0;else{let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),i=r.get("dpl");if(i){s=i,r.delete("dpl");let o=r.toString();t=t.slice(0,e)+(o?"?"+o:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
2Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,i.findClosestQuality)(a,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}n.__next_img_default=!0;let a=n},10762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={default:function(){return f},getImageProps:function(){return u}};for(var o in i)Object.defineProperty(t,o,{enumerable:!0,get:i[o]});let n=r(49862),a=r(44242),s=r(54490),l=n._(r(7250));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let f=s.Image},21950:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),r=t[0],i=t[1];return(r+i)*3/4-i},t.toByteArray=function(e){var t,r,n=l(e),a=n[0],s=n[1],u=new o((a+s)*3/4-s),f=0,c=s>0?a-4:a;for(r=0;r<c;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],u[f++]=t>>16&255,u[f++]=t>>8&255,u[f++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[f++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[f++]=t>>8&255,u[f++]=255&t),u},t.fromByteArray=function(e){for(var t,i=e.length,o=i%3,n=[],a=0,s=i-o;a<s;a+=16383)n.push(function(e,t,i){for(var o,n=[],a=t;a<i;a+=3)o=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),n.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return n.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?n.push(r[(t=e[i-1])>>2]+r[t<<4&63]+"=="):2===o&&n.push(r[(t=(e[i-2]<<8)+e[i-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),n.join("")};for(var r=[],i=[],o="u">typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=n.length;a<s;++a)r[a]=n[a],i[n.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var i=r===t?0:4-r%4;return[r,i]}i[45]=62,i[95]=63},30470:(e,t,r)=>{"use strict";let i=r(21950),o=r(82863),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return f(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var i=e,o=t;if(("string"!=typeof o||""===o)&&(o="utf8"),!s.isEncoding(o))throw TypeError("Unknown encoding: "+o);let r=0|h(i,o),n=a(r),l=n.write(i,o);return l!==r&&(n=n.slice(0,l)),n}if(ArrayBuffer.isView(e)){var n=e;if(k(n,Uint8Array)){let e=new Uint8Array(n);return p(e.buffer,e.byteOffset,e.byteLength)}return c(n)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(k(e,ArrayBuffer)||e&&k(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(k(e,SharedArrayBuffer)||e&&k(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return s.from(l,t,r);let u=function(e){if(s.isBuffer(e)){let t=0|d(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(u)return u;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 19,179 bytes, line 2
2if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return u(e),a(e<0?0:0|d(e))}function c(e){let t=e.length<0?0:0|d(e.length),r=a(t);for(let i=0;i<t;i+=1)r[i]=255&e[i];return r}function p(e,t,r){let i;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(i=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),i}function d(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||k(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return B(e).length;default:if(o)return i?-1:N(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,r){let o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);let o="";for(let i=t;i<r;++i)o+=P[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return _(this,t,r);case"ascii":return function(e,t,r){let i="";r=Math.min(e.length,r);for(let o=t;o<r;++o)i+=String.fromCharCode(127&e[o]);return i}(this,t,r);case"latin1":case"binary":return function(e,t,r){let i="";r=Math.min(e.length,r);for(let o=t;o<r;++o)i+=String.fromCharCode(e[o]);return i}(this,t,r);case"base64":var n,a,s;return n=this,a=t,s=r,0===a&&s===n.length?i.fromByteArray(n):i.fromByteArray(n.slice(a,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let i=e.slice(t,r),o="";for(let e=0;e<i.length-1;e+=2)o+=String.fromCharCode(i[e]+256*i[e+1]);return o}(this,t,r);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function g(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}function y(e,t,r,i,o){var n;if(0===e.length)return -1;if("string"==typeof r?(i=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(n=r*=1)!=n&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(o)return -1;else r=e.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,i)),s.isBuffer(t))return 0===t.length?-1:b(e,t,r,i,o);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return b(e,[t],r,i,o)}throw TypeError("val must be string, number or Buffer")}function b(e,t,r,i,o){let n,a=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let i=-1;for(n=r;n<s;n++)if(u(e,n)===u(t,-1===i?0:n-i)){if(-1===i&&(i=n),n-i+1===l)return i*a}else -1!==i&&(n-=n-i),i=-1}else for(r+l>s&&(r=s-l),n=r;n>=0;n--){let r=!0;for(let i=0;i<l;i++)if(u(e,n+i)!==u(t,i)){r=!1;break}if(r)return n}return -1}function _(e,t,r){r=Math.min(e.length,r);let i=[],o=t;for(;o<r;){let t=e[o],n=null,a=t>239?4:t>223?3:t>191?2:1;if(o+a<=r){let r,i,s,l;switch(a){case 1:t<128&&(n=t);break;case 2:(192&(r=e[o+1]))==128&&(l=(31&t)<<6|63&r)>127&&(n=l);break;case 3:r=e[o+1],i=e[o+2],(192&r)==128&&(192&i)==128&&(l=(15&t)<<12|(63&r)<<6|63&i)>2047&&(l<55296||l>57343)&&(n=l);break;case 4:r=e[o+1],i=e[o+2],s=e[o+3],(192&r)==128&&(192&i)==128&&(192&s)==128&&(l=(15&t)<<18|(63&r)<<12|(63&i)<<6|63&s)>65535&&l<1114112&&(n=l)}}null===n?(n=65533,a=1):n>65535&&(n-=65536,i.push(n>>>10&1023|55296),n=56320|1023&n),i.push(n),o+=a}var n=i;let a=n.length;if(a<=4096)return String.fromCharCode.apply(String,n);let s="",l=0;for(;l<a;)s+=String.fromCharCode.apply(String,n.slice(l,l+=4096));return s}function v(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,i,o,n){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<n)throw RangeError('"value" argument is out of bounds');if(r+i>e.length)throw RangeError("Index out of range")}function z(e,t,r,i,o){$(t,i,o,e,r,7);let n=Number(t&BigInt(0xffffffff));e[r++]=n,n>>=8,e[r++]=n,n>>=8,e[r++]=n,n>>=8,e[r++]=n;let a=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function x(e,t,r,i,o){$(t,i,o,e,r,7);let n=Number(t&BigInt(0xffffffff));e[r+7]=n,n>>=8,e[r+6]=n,n>>=8,e[r+5]=n,n>>=8,e[r+4]=n;let a=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function O(e,t,r,i,o,n){if(r+i>e.length||r<0)throw RangeError("Index out of range")}function S(e,t,r,i,n){return t*=1,r>>>=0,n||O(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,i,23,4),r+4}function E(e,t,r,i,n){return t*=1,r>>>=0,n||O(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,i,52,8),r+8}t.hp=s,t.IS=50,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!s.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(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(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return f(e)},s.allocUnsafeSlow=function(e){return f(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,i=t.length;for(let o=0,n=Math.min(r,i);o<n;++o)if(e[o]!==t[o]){r=e[o],i=t[o];break}return r<i?-1:+(i<r)},s.isEncoding=function(e){switch(String(e).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(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;let i=s.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){let t=e[r];if(k(t,Uint8Array))o+t.length>i.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(i,o)):Uint8Array.prototype.set.call(i,t,o);else if(s.isBuffer(t))t.copy(i,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=t.length}return i},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?_(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){let e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(e,t,r,i,o){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||r>e.length||i<0||o>this.length)throw RangeError("out of range index");if(i>=o&&t>=r)return 0;if(i>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,i>>>=0,o>>>=0,this===e)return 0;let n=o-i,a=r-t,l=Math.min(n,a),u=this.slice(i,o),f=e.slice(t,r);for(let e=0;e<l;++e)if(u[e]!==f[e]){n=u[e],a=f[e];break}return n<a?-1:+(a<n)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},s.prototype.write=function(e,t,r,i){var o,n,a,s,l,u,f,c;if(void 0===t)i="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)i=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-t;if((void 0===r||r>p)&&(r=p),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let d=!1;for(;;)switch(i){case"hex":return function(e,t,r,i){let o;r=Number(r)||0;let n=e.length-r;i?(i=Number(i))>n&&(i=n):i=n;let a=t.length;for(i>a/2&&(i=a/2),o=0;o<i;++o){var s;let i=parseInt(t.substr(2*o,2),16);if((s=i)!=s)break;e[r+o]=i}return o}(this,e,t,r);case"utf8":case"utf-8":return o=t,n=r,U(N(e,this.length-o),this,o,n);case"ascii":case"latin1":case"binary":return a=t,s=r,U(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return l=t,u=r,U(B(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f=t,c=r,U(function(e,t){let r,i,o=[];for(let n=0;n<e.length&&!((t-=2)<0);++n)i=(r=e.charCodeAt(n))>>8,o.push(r%256),o.push(i);return o}(e,this.length-f),this,f,c);default:if(d)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let i=this.subarray(e,t);return Object.setPrototypeOf(i,s.prototype),i},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);let i=this[e],o=1,n=0;for(;++n<t&&(o*=256);)i+=this[e+n]*o;return i},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);let i=this[e+--t],o=1;for(;t>0&&(o*=256);)i+=this[e+--t]*o;return i},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=q(function(e){I(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&T(e,this.length-8);let i=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],o=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*r;return BigInt(i)+(BigInt(o)<<BigInt(32))}),s.prototype.readBigUInt64BE=q(function(e){I(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&T(e,this.length-8);let i=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],o=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(i)<<BigInt(32))+BigInt(o)}),s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);let i=this[e],o=1,n=0;for(;++n<t&&(o*=256);)i+=this[e+n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);let i=t,o=1,n=this[e+--i];for(;i>0&&(o*=256);)n+=this[e+--i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readInt8=function(e,t){return(e>>>=0,t||v(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||v(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||v(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=q(function(e){I(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&T(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+0x1000000*this[++e])}),s.prototype.readBigInt64BE=q(function(e){I(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&T(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r)}),s.prototype.readFloatLE=function(e,t){return e>>>=0,t||v(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||v(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||v(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||v(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,i){if(e*=1,t>>>=0,r>>>=0,!i){let i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}let o=1,n=0;for(this[t]=255&e;++n<r&&(o*=256);)this[t+n]=e/o&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,i){if(e*=1,t>>>=0,r>>>=0,!i){let i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}let o=r-1,n=1;for(this[t+o]=255&e;--o>=0&&(n*=256);)this[t+o]=e/n&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigUInt64LE=q(function(e,t=0){return z(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=q(function(e,t=0){return x(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,t,r,i){if(e*=1,t>>>=0,!i){let i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}let o=0,n=1,a=0;for(this[t]=255&e;++o<r&&(n*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/n|0)-a&255;return t+r},s.prototype.writeIntBE=function(e,t,r,i){if(e*=1,t>>>=0,!i){let i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}let o=r-1,n=1,a=0;for(this[t+o]=255&e;--o>=0&&(n*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/n|0)-a&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigInt64LE=q(function(e,t=0){return z(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=q(function(e,t=0){return x(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,i){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<r&&(i=r),i===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);let o=i-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,i):Uint8Array.prototype.set.call(e,this.subarray(r,i),t),o},s.prototype.fill=function(e,t,r,i){let o;if("string"==typeof e){if("string"==typeof t?(i=t,t=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===e.length){let t=e.charCodeAt(0);("utf8"===i&&t<128||"latin1"===i)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;
2else{let n=s.isBuffer(e)?e:s.from(e,i),a=n.length;if(0===a)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=n[o%a]}return this};let A={};function j(e,t,r){A[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function C(e){let t="",r=e.length,i=+("-"===e[0]);for(;r>=i+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function $(e,t,r,i,o,n){if(e>r||e<t){let i,o="bigint"==typeof t?"n":"";throw i=n>3?0===t||t===BigInt(0)?`>= 0${o} and < 2${o} ** ${(n+1)*8}${o}`:`>= -(2${o} ** ${(n+1)*8-1}${o}) and < 2 ** ${(n+1)*8-1}${o}`:`>= ${t}${o} and <= ${r}${o}`,new A.ERR_OUT_OF_RANGE("value",i,e)}I(o,"offset"),(void 0===i[o]||void 0===i[o+n])&&T(o,i.length-(n+1))}function I(e,t){if("number"!=typeof e)throw new A.ERR_INVALID_ARG_TYPE(t,"number",e)}function T(e,t,r){if(Math.floor(e)!==e)throw I(e,r),new A.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new A.ERR_BUFFER_OUT_OF_BOUNDS;throw new A.ERR_OUT_OF_RANGE(r||"offset",`>= ${+!!r} and <= ${t}`,e)}j("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),j("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),j("ERR_OUT_OF_RANGE",function(e,t,r){let i=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>0x100000000?o=C(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=C(o)),o+="n"),i+=` It must be ${t}. Received ${o}`},RangeError);let R=/[^+/0-9A-Za-z-_]/g;function N(e,t){let r;t=t||1/0;let i=e.length,o=null,n=[];for(let a=0;a<i;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319||a+1===i){(t-=3)>-1&&n.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&n.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&n.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;n.push(r)}else if(r<2048){if((t-=2)<0)break;n.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;n.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;n.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return n}function B(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,i){let o;for(o=0;o<i&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function k(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let P=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let i=16*r;for(let o=0;o<16;++o)t[i+o]=e[r]+e[o]}return t}();function q(e){return"u"<typeof BigInt?J:e}function J(){throw Error("BigInt not supported")}},35792:(e,t)=>{"use strict";function r(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findClosestQuality",{enumerable:!0,get:function(){return r}})},44242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}});let i=r(22584),o=r(70536),n=r(95007),a=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:r=!1,priority:f=!1,preload:c=!1,loading:p,className:d,quality:h,width:m,height:g,fill:y=!1,style:b,overrideSrc:_,onLoad:v,onLoadingComplete:w,placeholder:z="empty",blurDataURL:x,fetchPriority:O,decoding:S="async",layout:E,objectFit:A,objectPosition:j,lazyBoundary:C,lazyRoot:$,...I},T){var R;let N,B,U,{imgConf:k,showAltText:P,blurComplete:q,defaultLoader:J}=T,L=k||n.imageConfigDefault;if("allSizes"in L)N=L;else{let e=[...L.deviceSizes,...L.imageSizes].sort((e,t)=>
2e-t),t=L.deviceSizes.sort((e,t)=>e-t),r=L.qualities?.sort((e,t)=>e-t);N={...L,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===J)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let M=I.loader||J;delete I.loader,delete I.srcSet;let D="__next_img_default"in M;if(D){if("custom"===N.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
3Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=M;M=t=>{let{config:r,...i}=t;return e(i)}}if(E){"fill"===E&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(b={...b,...e});let r={responsive:"100vw",fill:"100vw"}[E];r&&!t&&(t=r)}let F="",V=l(m),W=l(g);if((R=e)&&"object"==typeof R&&(s(R)||void 0!==R.src)){let t=s(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(B=t.blurWidth,U=t.blurHeight,x=x||t.blurDataURL,F=t.src,!y)if(V||W){if(V&&!W){let e=V/t.width;W=Math.round(t.height*e)}else if(!V&&W){let e=W/t.height;V=Math.round(t.width*e)}}else V=t.width,W=t.height}let G=!f&&!c&&("lazy"===p||void 0===p);(!(e="string"==typeof e?e:F)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,G=!1),N.unoptimized&&(r=!0),D&&!N.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let H=l(h),Y=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:A,objectPosition:j}:{},P?{}:{color:"transparent"},b),Q=q||"empty"===z?null:"blur"===z?`url("data:image/svg+xml;charset=utf-8,${(0,o.getImageBlurSvg)({widthInt:V,heightInt:W,blurWidth:B,blurHeight:U,blurDataURL:x||"",objectFit:Y.objectFit})}")`:`url("${z}")`,K=a.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,X=Q?{backgroundSize:K,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Q}:{},Z=function({config:e,src:t,unoptimized:r,width:o,quality:n,sizes:a,loader:s}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,i.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,i.getAssetToken)())e=void 0;else if(e){let r=t.indexOf("?");if(-1!==r){let i=new URLSearchParams(t.slice(r+1));i.get("dpl")||(i.append("dpl",e),t=t.slice(0,r)+"?"+i.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},r,i){if(i){let r=/(^|\s)(1?\d?\d)vw/g,o=[];for(let e;e=r.exec(i);)o.push(parseInt(e[2]));if(o.length){let r=.01*Math.min(...o);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,o,a),f=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((r,i)=>`${s({config:e,src:t,quality:n,width:r})} ${"w"===u?r:i+1}${u}`).join(", "),src:s({config:e,src:t,quality:n,width:l[f]})}}({config:N,src:e,unoptimized:r,width:V,quality:H,sizes:t,loader:M}),ee=G?"lazy":p;return{props:{...I,loading:ee,fetchPriority:O,width:V,height:W,decoding:S,className:d,style:{...Y,...X},sizes:Z.sizes,srcSet:Z.srcSet,src:_||Z.src},meta:{unoptimized:r,preload:c||f,placeholder:z,fill:y}}}},54490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let i=r(49862),o=r(16799),n=r(44648),a=o._(r(43844)),s=i._(r(18757)),l=i._(r(71027)),u=r(44242),f=r(95007),c=r(82445),p=r(89552),d=i._(r(7250)),h=r(24353),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qual
3ities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,i,o,n,a){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let i=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>i,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{i=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}i?.current&&i.current(e)}}))}function y(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let b=a.useLayoutEffect,_=(0,a.forwardRef)(({src:e,srcSet:t,sizes:r,height:i,width:o,decoding:s,className:l,style:u,fetchPriority:f,placeholder:c,loading:p,unoptimized:d,fill:m,onLoadRef:_,onLoadingCompleteRef:v,setBlurComplete:w,setShowAltText:z,sizesInput:x,onLoad:O,onError:S,...E},A)=>{let j=(0,a.useRef)(!1),C=(0,a.useRef)(null);b(()=>{let{current:e}=j,{current:t}=C;e||null===t||(S&&(t.src=t.src),t.complete&&g(t,c,_,v,w,d,x),j.current=!0)},[e,c,_,v,S,d,x]);let $=(0,h.useMergedRef)(A,C);return(0,n.jsx)("img",{...E,...y(f),loading:p,width:o,height:i,decoding:s,"data-nimg":m?"fill":"1",className:l,style:u,sizes:r,srcSet:t,src:e,ref:$,onLoad:e=>{g(e.currentTarget,c,_,v,w,d,x)},onError:e=>{z(!0),"empty"!==c&&w(!0),S&&S(e)}})});function v({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,r),null):(0,n.jsx)(l.default,{children:(0,n.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(p.RouterContext),i=(0,a.useContext)(c.ImageConfigContext),o=(0,a.useMemo)(()=>{let e=m||i||f.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),o=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:o,localPatterns:e.localPatterns}},[i]),{onLoad:s,onLoadingComplete:l}=e,h=(0,a.useRef)(s);(0,a.useEffect)(()=>{h.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[y,b]=(0,a.useState)(!1),[w,z]=(0,a.useState)(!1),{props:x,meta:O}=(0,u.getImgProps)(e,{defaultLoader:d.default,imgConf:o,blurComplete:y,showAltText:w});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_,{...x,unoptimized:O.unoptimized,placeholder:O.placeholder,fill:O.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:z,sizesInput:e.sizes,ref:t}),O.preload?(0,n.jsx)(v,{isAppRouter:!r,imgAttributes:x}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59397:(e,t,r)=>{"use strict";r.d(t,{default:()=>o.a});var i=r(10762),o=r.n(i)},70536:(e,t)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:i,blurHeight:o,blurDataURL:n,objectFit:a}){let s=i?40*i:e,l=o?40*o:t,u=s&&l?`viewBox='0 0 ${s} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${n}'/%3E%3C/svg%3E`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},71027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={default:function(){return m},defaultHead:function(){return c}};for(var o in i)Object.defineProperty(t,o,{enumerable:!0,get:i[o]});
3let n=r(49862),a=r(16799),s=r(44648),l=a._(r(43844)),u=n._(r(76012)),f=r(45891);function c(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let d=["name","httpEquiv","charSet","itemProp"];function h(e){let t,r,i,o;return e.reduce(p,[]).reverse().concat(c().reverse()).filter((t=new Set,r=new Set,i=new Set,o={},e=>{let n=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?n=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?n=!1:r.add(e.type);break;case"meta":for(let t=0,r=d.length;t<r;t++){let r=d[t];if(e.props.hasOwnProperty(r))if("charSet"===r)i.has(r)?n=!1:i.add(r);else{let t=e.props[r],i=o[r]||new Set;("name"!==r||!a)&&i.has(t)?n=!1:(i.add(t),o[r]=i)}}}return n})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function({children:e}){let t=(0,l.useContext)(f.HeadManagerContext);return(0,s.jsx)(u.default,{reduceComponentsToState:h,headManager:t,children:e})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},76012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let i=r(43844),o=i.useLayoutEffect,n=i.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let e=i.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return o(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),o(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),n(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},76865:(e,t)=>{"use strict";function r(){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return n}});let i=r(49862)._(r(43844)),o=r(95007),n=i.default.createContext(o.imageConfigDefault)},82863:(e,t)=>{t.read=function(e,t,r,i,o){var n,a,s=8*o-i-1,l=(1<<s)-1,u=l>>1,f=-7,c=r?o-1:0,p=r?-1:1,d=e[t+c];for(c+=p,n=d&(1<<-f)-1,d>>=-f,f+=s;f>0;n=256*n+e[t+c],c+=p,f-=8);for(a=n&(1<<-f)-1,n>>=-f,f+=i;f>0;a=256*a+e[t+c],c+=p,f-=8);if(0===n)n=1-u;else{if(n===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,i),n-=u}return(d?-1:1)*a*Math.pow(2,n-i)},t.write=function(e,t,r,i,o,n){var a,s,l,u=8*n-o-1,f=(1<<u)-1,c=f>>1,p=5960464477539062e-23*(23===o),d=i?0:n-1,h=i?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=f):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+c>=1?t+=p/l:t+=p*Math.pow(2,1-c),t*l>=2&&(a++,l/=2),a+c>=f?(s=0,a=f):a+c>=1?(s=(t*l-1)*Math.pow(2,o),a+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,o),a=0));o>=8;e[r+d]=255&s,d+=h,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;e[r+d]=255&a,d+=h,a/=256,u-=8);e[r+d-h]|=128*m}},94491:()=>{},95007:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return o},imageConfigDefault:function(){return n}};for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]});let o=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,
3contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},97118:(e,t,r)=>{"use strict";r.d(t,{dp:()=>tv});var i=r(43844),o=r(59397);async function n(e){try{let t=await fetch(e.src);if(423===t.status)return await new Promise(e=>setTimeout(e,500)),await n(e);if(!t.ok)return{success:!1,status:t.status,error:t.headers.get("x-cld-error")||"Unknown error"};return{success:!0,status:t.status}}catch(e){return{success:!1,status:500,error:e.message||"Network error"}}}r(30470).hp;var a=r(30470).hp,s=/\/v\d+\//,l=/\.(ai|avif|gif|png|webp|bmp|bw|djvu|dng|ps|ept|eps|eps3|fbx|flif|gif|glb|gltf|heif|heic|ico|indd|jpg|jpe|jpeg|jp2|wdp|jxr|hdp|obj|pdf|ply|png|psd|arw|cr2|svg|tga|tif|tiff|u3ma|usdz|webp|3g2|3gp|avi|flv|m3u8|ts|m2ts|mts|mov|mkv|mp4|mpeg|mpd|mxf|ogv|webm|wmv)$/i,u=/https?:\/\/(?<host>[^/]+)\/(?<cloudName>[^/]+)?\/?(?<assetType>image|images|video|videos|raw|files)\/(?<deliveryType>upload|fetch|private|authenticated|sprite|facebook|twitter|youtube|vimeo)?\/?(?<signature>s--([a-zA-Z0-9_-]{8}|[a-zA-Z0-9_-]{32})--)?\/?(?<transformations>(?:[^_/]+_[^,/]+,?\/?)*\/)*(?<version>v\d+|\w{1,2})\/(?<publicId>[^\s]+)$/,f=["images","videos","files"];function c(e){if("string"!=typeof e)throw Error("Failed to parse URL - Invalid src: Is not a string");if(!s.test(e))throw Error("Failed to parse URL - Invalid src: Does not include version (Ex: /v1234/)");let[t,r]=e.split("?"),i=p(t),o=t;i&&(o=t.replace(RegExp(`${i}$`),""));let n=o.match(u),a=n?.groups?.transformations?.split("/").filter(e=>!!e),l={...n?.groups,format:i,seoSuffix:void 0,transformations:a||[],queryParams:{},version:n?.groups?.version?parseInt(n.groups.version.replace("v","")):void 0};if("res.cloudinary.com"===l.host&&!l.cloudName)throw Error("Failed to parse URL - Invalid src: Cloudinary URL delivered from res.cloudinary.com must include Cloud Name (ex: res.cloudinary.com/<Cloud Name>/image/...)");if(r&&(l.queryParams=r.split("&").reduce((e,t)=>{let[r,i]=t.split("=");return e[r]=i,e},{})),l.assetType&&f.includes(l.assetType)){let e=l.publicId?.split("/")||[];l.seoSuffix=e.pop(),l.publicId=e.join("/")}return l.publicId&&(l.publicId=decodeURIComponent(l.publicId)),l}function p(e){let t=e.match(l);if(null!==t)return t[0]}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var h=r(20143);class m{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return null!=e&&""!==e}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(e=>this.hasValue(e)),this}setDelimiter(e){return this.delimiter=e,this}}class g extends Error{constructor(e="Unsupported"){super(e)}}function y(){return this._qualifierModel||{error:new g(`unsupported qualifier ${this.constructor.name}`)}}class b{constructor(){this._qualifierModel={}}toJson(){return y.apply(this)}}class _ extends b{constructor(e,t){super(),this.delimiter="_",this.key=e,t instanceof m?this.qualifierValue=t:(this.qualifierValue=new m,this.qualifierValue.addValue(t))}toString(){let{key:e,delimiter:t,qualifierValue:r}=this;return`${e}${t}${r.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}}class v extends _{constructor(e,t){super("fl",t?new m([e,`${t}`]).setDelimiter(":"):e),this.flagValue=t}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function w(){var e,t,r;let i=this._actionModel&&Object.keys(this._actionModel).length,o=null==(r=null==(t=null==(e=this._actionModel)?void 0:e.source)?void 0:t.transformation)?void 0:r.error;return o&&o instanceof Error?{error:o}:i?this._actionModel:{error:new g(`unsupported action ${this.constructor.name}`)}}class z{constructor(){this._actionModel={}}toJson(){return w.apply(this)}}class x extends z{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){var e,t;let r;
3return this.prepareQualifiers(),(e=this.qualifiers,t=this.flags,r=Array.from(e.entries()),t.forEach(e=>{r.push(["fl",e])}),r.sort().map(e=>e[1])).join(this.delimiter)}addQualifier(e){if("string"==typeof e){let[t,r]=e.toLowerCase().split("_");"fl"===t?this.flags.push(new v(r)):this.qualifiers.set(t,new _(t,r))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return"string"==typeof e?this.flags.push(new v(e)):e instanceof v&&this.flags.push(e),this}addValueToQualifier(e,t){return this.qualifiers.get(e).addValue(t),this}}class O extends x{constructor(e){super(),this._actionModel={},this.addQualifier(new _("b",new m(function(e){return e&&e.match(/^#/)?`rgb:${e.substr(1)}`:e}(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){let{color:t}=e;return new this(t)}}class S{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:new g(`unsupported action ${this.constructor.name}`)}}}class E extends m{constructor(e){super(e),this.val=e}getValue(){return this.val}}function A(e){let t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}A({444:"CHROMA_444",420:"CHROMA_420"}),A({noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"}),A({limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"});let j=A({colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"});A({redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"}),A({autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"}),A({fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"});class C extends x{constructor(e,t,r){let i;super(),this._actionModel={},i=t instanceof E?t.getValue():t,this._actionModel.actionType=j[e],this._actionModel[r]=i,this.addQualifier(new _(e,t))}}class $ extends v{constructor(e){super("progressive",e)}}class I extends C{constructor(e,t){super(e,t,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(new v("lossy")),this}progressive(e){return e instanceof $?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(new v("progressive",e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(new v("preserve_transparency")),this}static fromJson(e){let t,{formatType:r,lossy:i,progressive:o,preserveTransparency:n}=e;return t=r?new this("f",r):new this("f"),o&&(o.mode?t.progressive(o.mode):t.progressive()),i&&t.lossy(),n&&t.preserveTransparency(),t}}class T{constructor(){this.actions=[]}addAction(e){let t;if("string"==typeof e)if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";else t=new S(e);else t=e;return this.actions.push(t),this}addTransformation(e){return e instanceof T?this.actions=this.actions.concat(e.actions):this.actions.push(new S(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new I("q",e)),this}format(e){return this.addAction(new I("f",e)),this}
3roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new O(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){let t=new x,r=e;return"string"==typeof e&&(r=new v(e)),t.addQualifier(r),this.addAction(t)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){let e=[];for(let t of this.actions){let r=t.toJson();if("error"in r&&r.error)return r;e.push(r)}return{actions:e}}}class R extends T{}class N{filterOutNonSupportedKeys(e,t){let r=Object.create({});return"object"!=typeof e||e instanceof Array?Object.create({}):(Object.keys(e).forEach(i=>{t.indexOf(i)>=0?r[i]=e[i]:console.warn("Warning - unsupported key provided to configuration: ",i)}),r)}}let B=N,U=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class k extends B{constructor(e){super(),Object.assign(this,{secure:!0},this.filterOutNonSupportedKeys(e,U))}extend(e){return new k(Object.assign({},this,this.filterOutNonSupportedKeys(e,U)))}setCname(e){return this.cname=e,this}setSecureDistribution(e){return this.secureDistribution=e,this}setPrivateCdn(e){return this.privateCdn=e,this}setSignUrl(e){return this.signUrl=e,this}setLongUrlSignature(e){return this.longUrlSignature=e,this}setShorten(e){return this.shorten=e,this}setUseRootPath(e){return this.useRootPath=e,this}setSecure(e){return this.secure=e,this}setForceVersion(e){return this.forceVersion=e,this}setQueryParams(e){return this.queryParams=e,this}}function P(e,t,r){let i=0|t,o=String(void 0!==r?r:" ");return e.length>i?String(e):((i-=e.length)>o.length&&(o+=function(e,t){let r=t,i="";for(;r>0;)i+=e,r--;return i}(o,i/o.length)),o.slice(0,i)+String(e))}let q={},J=0;function L(e){let t="",r=e.split(".").length,i=parseInt((function(e){if(e.split(".").length<2)throw Error("invalid semVer, must have at least two segments");return e.split(".").reverse().map(e=>{let t=+e;if(isNaN(t)||t<0)throw"Invalid version number provided";return P(e,2,"0")}).join(".")})(e).split(".").join("")).toString(2);if((i=P(i,6*r,"0")).length%6!=0)throw"Version must be smaller than 43.21.26)";return i.match(/.{1,6}/g).forEach(e=>{t+=q[e]}),t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(e=>{let t=J.toString(2);q[t=P(t,6,"0")]=e,J++});var M=r(37811);function D(e){var t;let r,i,o=(i={sdkSemver:(r={techVersion:function(){let e="0.0.0";if("u">typeof window)return e;try{return M.versions.node||e}catch(t){return e}}(),sdkCode:"T",sdkSemver:"1.15.0".split("-")[0],product:"A",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1},t=!e?r:Object.assign(Object.assign({},r),e)).sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,product:t.product,feature:"0"},t.accessibility&&(i.feature="D"),t.lazyload&&(i.feature="C"),t.responsive&&(i.feature="A"),t.placeholder&&(i.feature="B"),i);try{let e,t=(e=o.techVersion.split("."),`${e[0]}.${e[1]}`),r=L(o.sdkSemver),i=L(t),n=o.feature,a=o.sdkCode,s=o.product;return`B${s}${a}${r}${i}${n}`}catch(e){return"E"}}let F={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class V{constructor(e,t={},r){this.setPublicID(e),this.setCloudConfig(t),this.setURLConfig(r)}setURLConfig(e){return this.urlConfig=new k(e),this}setCloudConfig(e){return this.cloudName=e.cloudName,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.authToken=e.authToken,this}setPublicID(e){return this.publicID=e?e.toString():"",this}setDeliveryType(e){return this.deliveryType=e,this}setSuffix(e){return this.suffix=e,this}setSignature(e){return this.signature=e,this}setVersion(e){return e&&(this.version=e),this}setAssetType(e){return e&&(this.assetType=e),this}sign(){return this}toURL(e={}){return this.createCloudinaryURL(null,e.trackedAnalytics)}validateAssetForURLCreation(){if(void 0===this.cloudName)throw"You must supply a cloudName when initializing the asset";let e=this.suffix&&this.suffix.indexOf(".")>=0,t=this.suffix&&this.suffix.indexOf("/")>=0;if(e||t)throw"`suffix`` should not include . or /"}getResourceType(){var e,t;let r=(e=this.assetType)?e:"image",i=(t=this.deliveryType)?t:"upload",o=!!this.suffix,n=`${r}/${i}`,a=F[`${r}/${i}`],s=this.urlConfig.useRootPath,l=this.urlConfig.shorten;if(s)if("image/upload"===n)return"";else throw Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${n} instead`);if(l&&"image/upload"===n)return"iu";if(o)if(a)return a;else throw Error(`URL Suffix only supported for ${Object.keys(F).join(", ")}, Provided: ${n} instead`);return n}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(e,t){var r,i,o,n,a;let s,l,u,f;
3if(!this.publicID)return"";this.validateAssetForURLCreation();let c=(r=this.cloudName,s=(i=this.urlConfig).secure,l=i.privateCdn,u=i.cname,f=i.secureDistribution,s||u?s&&!f&&l?`https://${r}-res.cloudinary.com`:s&&!f?`https://res.cloudinary.com/${r}`:s&&f&&l?`https://${f}`:s&&f?`https://${f}/${r}`:!s&&u?`http://${u}/${r}`:"ERROR":`http://res.cloudinary.com/${r}`),p=e?e.toString():"",d=(o=this.publicID,n=this.version,a=this.urlConfig.forceVersion,n?`v${n}`:o.match(/^v[0-9]+/)||o.match(/^https?:\//)||0>o.indexOf("/")?"":!1!==a?"v1":""),h=this.publicID;if("string"==typeof e)return[c,this.getResourceType(),this.getSignature(),p,d,h.replace(/,/g,"%2C"),this.suffix].filter(e=>e).join("/");{let e=[encodeURI(c),this.getResourceType(),this.getSignature(),encodeURI(p),d,encodeURI(h).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(e=>e).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),r=!1!==this.urlConfig.analytics&&!h.includes("?"),i="";if("object"==typeof this.urlConfig.queryParams)try{let e=new URLSearchParams(this.urlConfig.queryParams);r&&e.set("_a",D(t)),i=e.toString()}catch(e){console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else i=this.urlConfig.queryParams||"",r&&(i+=`${i.length>0?"&":""}_a=${D(t)}`);return i?`${e}?${i}`:e}}}
3class W extends V{constructor(e,t,r,i){super(e,t,r),this.transformation=i}animated(e){return this.transformation.animated(e),this}border(e){return this.transformation.border(e),this}reshape(e){return this.transformation.reshape(e),this}resize(e){return this.transformation.resize(e),this}quality(e){return this.addAction(new I("q",e)),this}format(e){return this.addAction(new I("f",e)),this}roundCorners(e){return this.transformation.roundCorners(e),this}overlay(e){return this.transformation.overlay(e),this}addVariable(e){return this.transformation.addVariable(e),this}conditional(e){return this.transformation.conditional(e),this}effect(e){return this.transformation.effect(e),this}adjust(e){return this.transformation.adjust(e),this}rotate(e){return this.transformation.rotate(e),this}namedTransformation(e){return this.transformation.namedTransformation(e),this}delivery(e){return this.transformation.delivery(e),this}backgroundColor(e){return this.transformation.backgroundColor(e),this}psdTools(e){return this.transformation.psdTools(e),this}extract(e){return this.transformation.extract(e),this}addFlag(e){return this.transformation.addFlag(e),this}customFunction(e){return this.transformation.customFunction(e),this}addAction(e){return this.transformation.addAction(e),this}addTransformation(e){return this.transformation.addTransformation(e),this}toString(){return this.transformation.toString()}underlay(e){return this.transformation.underlay(e),this}toURL(e={}){return this.createCloudinaryURL(this.transformation,null==e?void 0:e.trackedAnalytics)}}class G extends W{constructor(e,t,r){super(e,t,r,new R)}}class H extends T{}class Y extends W{constructor(e,t,r){super(e,t,r,new H),this.assetType="video"}transcode(e){return this.transformation.transcode(e),this}videoEdit(e){return this.transformation.videoEdit(e),this}}class Q{constructor(e){e&&(this.cloudinaryConfig=e)}image(e){return new G(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(e){return new Y(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(e){return this.cloudinaryConfig=e,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}var K=r(37811),X=Object.defineProperty,Z={},ee={angle:()=>en,aspectRatio:()=>es,aspectRatioModesEnum:()=>ea,crop:()=>el,cropModesEnum:()=>er,extractMode:()=>eu,extractModesEnum:()=>ei,flags:()=>ef,flagsEnum:()=>eo,format:()=>ec,gravity:()=>ep,height:()=>ed,multiple:()=>eh,prompt:()=>em,width:()=>eg,x:()=>ey,y:()=>eb,zoom:()=>e_};for(var et in ee)X(Z,et,{get:ee[et],enumerable:!0});var er=h.z.enum(["auto","crop","fill","fill_pad","fit","imagga_crop","imagga_scale","lfill","limit","lpad","mfit","mpad","pad","scale","thumb"]),ei=h.z.enum(["content","mask"]),eo=h.z.enum(["animated","any_format","apng","attachment","awebp","clip","clip_evenodd","cutter","force_icc","force_strip","getinfo","group4","hlsv3","ignore_aspect_ratio","ignore_mask_channels","immutable_cache","keep_attribution","keep_dar","keep_iptc","layer_apply","lossy","mono","no_overflow","no_stream","png8_fl_png24_fl_png32","preserve_transparency","progressive","rasterize","region_relative","relative","replace_image","sanitize","splice","streaming_attachment","strip_profile","text_disallow_overflow","text_no_trim","tiff8_lzw","tiled","truncate_ts","waveform"]),en={qualifier:"a",schema:h.z.union([h.z.string(),h.z.number()]).describe(JSON.stringify({text:"Rotates or flips an asset by the specified number of degrees or automatically according to its orientation or available metadata.",url:"https://cloudinary.com/documentation/transformation_reference#a_angle"}))},ea=h.z.enum(["vflip","hflip","ignore","auto_right","auto_left"]),es={qualifier:"ar",schema:h.z.union([h.z.number(),ea,h.z.intersection(h.z.string(),h.z.object({}))]).describe(JSON.stringify({text:"Crops or resizes the asset to a new aspect ratio.",url:"https://cloudinary.com/documentation/transformation_reference#ar_aspect_ratio"}))},el={qualifier:"c",schema:er.describe(JSON.stringify({text:"Mode to use when cropping an asset.",url:"https://cloudinary.com/documentation/transformation_reference#c_crop_resize"}))}
3,eu={schema:ei.default("content").describe(JSON.stringify({text:"Whether to keep the content of the extracted area, or to replace it with a mask.",url:"https://cloudinary.com/documentation/transformation_reference#e_extract"}))},ef={qualifier:"fl",schema:h.z.union([eo,h.z.array(eo)]).describe(JSON.stringify({text:"Alters the regular behavior of another transformation or the overall delivery behavior.",url:"https://cloudinary.com/documentation/transformation_reference#fl_flag"}))},ec={qualifier:"f",schema:h.z.string().describe(JSON.stringify({text:"Converts (if necessary) and delivers an asset in the specified format regardless of the file extension used in the delivery URL.",url:"https://cloudinary.com/documentation/transformation_reference#f_format"}))},ep={qualifier:"g",schema:h.z.union([h.z.enum(["auto","auto_content_aware","center","custom","east","face","face_center","multi_face","north","north_east","north_west","south","south_east","south_west","west"]),h.z.intersection(h.z.string(),h.z.object({}))]).describe(JSON.stringify({text:"Determines which part of an asset to focus on. Note: Default of auto is applied for supported crop modes only.",url:"https://cloudinary.com/documentation/transformation_reference#g_gravity"}))},ed={qualifier:"h",schema:h.z.union([h.z.number(),h.z.string()]).describe(JSON.stringify({text:"A qualifier that determines the height of a transformed asset or an overlay.",url:"https://cloudinary.com/documentation/transformation_reference#h_height"}))},eh={schema:h.z.boolean().describe(JSON.stringify({text:"Should generative AI features detect multiple instances."}))},em={schema:h.z.string().describe(JSON.stringify({text:"Natural language descriptions used for generative AI capabilities."}))},eg={qualifier:"w",schema:h.z.union([h.z.number(),h.z.string()]).describe(JSON.stringify({text:"A qualifier that sets the desired width of an asset using a specified value, or automatically based on the available width.",url:"https://cloudinary.com/documentation/transformation_reference#w_width"}))},ey={qualifier:"x",schema:h.z.union([h.z.string(),h.z.number()]).describe(JSON.stringify({text:"Adjusts the starting location or offset of the x axis.",url:"https://cloudinary.com/documentation/transformation_reference#x_y_coordinates"}))},eb={qualifier:"y",schema:h.z.union([h.z.string(),h.z.number()]).describe(JSON.stringify({text:"Adjusts the starting location or offset of the y axis.",url:"https://cloudinary.com/documentation/transformation_reference#x_y_coordinates"}))},e_={schema:h.z.string().describe(JSON.stringify({text:"Controls how close to crop to the detected coordinates when using face-detection, custom-coordinate, or object-specific gravity.",url:"https://cloudinary.com/documentation/transformation_reference#z_zoom"}))},ev=[{test:function(e){return"string"==typeof e&&!!e.startsWith("#")},convert:function(e){return`rgb:${e.replace("#","")}`}}],ew={aspectRatio:es,crop:el,gravity:ep,height:ed,width:eg},ez={angle:en,gravity:ep,x:ey,y:eb},ex={alignment:{qualifier:!1,order:6},antialias:{qualifier:"antialias"},border:{qualifier:"bo",location:"primary"},color:{qualifier:"co",location:"primary",converters:ev},fontFamily:{qualifier:!1,order:1},fontSize:{qualifier:!1,order:2},fontStyle:{qualifier:!1,order:4},fontWeight:{qualifier:!1,order:3},hinting:{qualifier:"hinting"},letterSpacing:{qualifier:"letter_spacing"},lineSpacing:{qualifier:"line_spacing"},stroke:{qualifier:"self",order:7},textDecoration:{qualifier:!1,order:5}},eO={angle:en,art:{prefix:"e",qualifier:"art",schema:h.z.string().describe(JSON.stringify({text:"Applies the selected artistic filter.",url:"https://cloudinary.com/documentation/transformation_reference#e_art"}))},autoBrightness:{prefix:"e",qualifier:"auto_brightness",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Automatically adjusts the image brightness and blends the result with the original image.",url:"https://cloudinary.com/documentation/transformation_reference#e_auto_brightness"}))},autoColor:{prefix:"e",qualifier:"auto_color",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Automatically adjusts the image color balance and blends the result with the original image.",url:"https://cloudinary.com/documentation/transformation_reference#e_auto_color"}))},autoContrast:{prefix:"e",qualifier:"auto_contrast",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Automatically adjusts the image contrast and blends the result with the original image.",url:"https://cloudinary.com/documentation/transformation_reference#e_auto_contrast"}))},assistColorblind:{prefix:"e",qualifier:"assist_colorblind",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies stripes or color adju
3stment to help people with common color blind conditions to differentiate between colors that are similar for them.",url:"https://cloudinary.com/documentation/transformation_reference#e_assist_colorblind"}))},background:{qualifier:"b",schema:h.z.string().describe(JSON.stringify({text:"Applies a background to empty or transparent areas.",url:"https://cloudinary.com/documentation/transformation_reference#b_background"}))},blackwhite:{prefix:"e",qualifier:"blackwhite",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Converts an image to black and white.",url:"https://cloudinary.com/documentation/transformation_reference#e_blackwhite"}))},blur:{prefix:"e",qualifier:"blur",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies a blurring filter to an asset.",url:"https://cloudinary.com/documentation/transformation_reference#e_blur"}))},blurFaces:{prefix:"e",qualifier:"blur_faces",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Blurs all detected faces in an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_blur_faces"}))},blurRegion:{prefix:"e",qualifier:"blur_region",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies a blurring filter to the region of an image specified by x, y, width and height, or an area of text. If no region is specified, the whole image is blurred.",url:"https://cloudinary.com/documentation/transformation_reference#e_blur_region"}))},border:{qualifier:"bo",schema:h.z.string().describe(JSON.stringify({text:"Adds a solid border around an image or video.",url:"https://cloudinary.com/documentation/transformation_reference#bo_border"}))},brightness:{prefix:"e",qualifier:"brightness",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adjusts the image or video brightness.",url:"https://cloudinary.com/documentation/transformation_reference#e_brightness"}))},brightnessHSB:{prefix:"e",qualifier:"brightness_hsb",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adjusts image brightness modulation in HSB to prevent artifacts in some images.",url:"https://cloudinary.com/documentation/transformation_reference#e_brightness_hsb"}))},cartoonify:{prefix:"e",qualifier:"cartoonify",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies a cartoon effect to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_cartoonify"}))},color:{qualifier:"co",schema:h.z.string().describe(JSON.stringify({text:"A qualifier that specifies the color to use with the corresponding transformation.",url:"https://cloudinary.com/documentation/transformation_reference#co_color"})),converters:ev}
3,colorize:{prefix:"e",qualifier:"colorize",schema:h.z.string().describe(JSON.stringify({text:"Colorizes an image. By default, gray is used for colorization. You can specify a different color using the color qualifier.",url:"https://cloudinary.com/documentation/transformation_reference#e_colorize"}))},contrast:{prefix:"e",qualifier:"contrast",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adjusts an image or video contrast.",url:"https://cloudinary.com/documentation/transformation_reference#e_contrast"}))},displace:{prefix:"e",qualifier:"distort",schema:h.z.string().describe(JSON.stringify({text:"Displaces the pixels in an image according to the color channels of the pixels in another specified image (a gradient map specified with the overlay parameter).",url:"https://cloudinary.com/documentation/transformation_reference#e_displace"}))},distort:{prefix:"e",qualifier:"distort",schema:h.z.string().describe(JSON.stringify({text:"Distorts an image to a new shape by either adjusting its corners or by warping it into an arc.",url:"https://cloudinary.com/documentation/transformation_reference#e_distort"}))},fillLight:{prefix:"e",qualifier:"fill_light",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adjusts the fill light and optionally blends the result with the original image.",url:"https://cloudinary.com/documentation/transformation_reference#e_fill_light"}))},gamma:{prefix:"e",qualifier:"gamma",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adjusts the image or video gamma level.",url:"https://cloudinary.com/documentation/transformation_reference#e_gamma"}))},gradientFade:{prefix:"e",qualifier:"gradient_fade",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies a gradient fade effect from the edge of an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_gradient_fade"}))},grayscale:{prefix:"e",qualifier:"grayscale",schema:h.z.boolean().describe(JSON.stringify({text:"Converts an image to grayscale (multiple shades of gray).",url:"https://cloudinary.com/documentation/transformation_reference#e_grayscale"}))},hue:{prefix:"e",qualifier:"hue",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adjusts an image's hue.",url:"https://cloudinary.com/documentation/transformation_reference#e_hue"}))},improve:{prefix:"e",qualifier:"improve",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adjusts an image's colors, contrast and brightness to improve its appearance.",url:"https://cloudinary.com/documentation/transformation_reference#e_improve"}))},loop:{prefix:"e",qualifier:"loop",schema:h.z.union([h.z.boolean(),h.z.number(),h.z.string()]).describe(JSON.stringify({text:"Loops a video or animated image the specified number of times.",url:"https://cloudinary.com/documentation/transformation_reference#e_loop"}))},multiply:{prefix:"e",qualifier:"multiply",schema:h.z.boolean().describe(JSON.stringify({text:"A qualifier that blends image layers using the multiply blend mode",url:"https://cloudinary.com/documentation/transformation_reference#e_multiply"}))},negate:{prefix:"e",qualifier:"negate",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"https://cloudinary.com/documentation/transformation_reference#e_negate",url:"https://cloudinary.com/documentation/transformation_reference#e_negate"}))},noise:{prefix:"e",qualifier:"noise",schema:h.z.boolean().describe(JSON.stringify({text:"https://cloudinary.com/documentation/transformation_reference#e_noise",url:"https://cloudinary.com/documentation/transformation_reference#e_noise"}))},oilPaint:{prefix:"e",qualifier:"oil_paint",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"https://cloudinary.com/documentation/transformation_reference#e_oil_paint",url:"https://cloudinary.com/documentation/transformation_reference#e_oil_paint"}))},opacity:{qualifier:"o",schema:h.z.union([h.z.string(),h.z.number()]).describe(JSON.stringify({text:"Adjusts the opacity of an asset and makes it semi-transparent.",url:"https://cloudinary.com/documentation/transformation_reference#o_opacity"}))},outline:{prefix:"e",qualifier:"outline",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adds an outline effect to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_outline"}))},pixelate:{prefix:"e",qualifier:"pixelate",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies a pixelation effect.",url:"https://cloudinary.com/documentation/transformation_reference#e_pixelate"}))},pixelateFaces:{prefix:"e",qualifier:"pixelate_faces",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Pixelates all detected faces in an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_pixelate_faces"}))},pixelateRegion:{prefix:"e",qualifier:"pixelate_region",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Pixelates the region of an image specified by x, y, width and height, or an area of text.",url:"https://cloudinary.com/documentation/transformation_reference#e_pixelate_region"}))},radius:{qualifier:"r",schema:h.z.union([h.z.string(),h.z.number()]).describe(JSON.stringify({text:"Rounds the corners of an image or video.",url:"https://cloudinary.com/documentation/transformation_reference#r_round_corners"}))},redeye:{prefix:"e",qualifier:"redeye",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Automatically removes red eyes in an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_redeye"}))},replaceColor:{prefix:"e",qualifier:"replace_color",schema:h.z.string().describe(JSON.stringify({text:"Maps an input color and those similar to the input color to corresponding shades of a specified output color.",url:"https://cloudinary.com/documentation/transformation_reference#e_replace_color"}))},saturation:{prefix:"e",qualifier:"saturation",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adjusts an image or video saturation level.",url:"https://cloudinary.com/documentation/transformation_reference#e_saturation"}))},screen:{prefix:"e",qualifier:"screen",schema:h.z.boolean().describe(JSON.stringify({text:"A qualifier that blends image layers using the screen blend mode.",url:"https://cloudinary.com/documentation/transformation_reference#e_screen"}))},sepia:{prefix:"e",qualifier:"sepia",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Changes the color scheme of an image to sepia.",url:"https://cloudinary.com/documentation/transformation_reference#e_sepia"}))},shadow:{prefix:"e",qualifier:"shadow",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Adds a gray shadow to the bottom right of an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_shadow"}))},sharpen:{prefix:"e",qualifier:"sharpen",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies a sharpening filter.",url:"https://cloudinary.com/documentation/transformation_reference#e_sharpen"}))},shear:{prefix:"e",qualifier:"shear",schema:h.z.string().describe(JSON.stringify({text:"Skews an image according to the two specified values in degrees.",url:"https://cloudinary.com/documentation/transformation_reference#e_shear"}))},simulateColorblind:{prefix:"e",qualifier:"simulate_colorblind",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Simulates the way an image would appear to someone with the specified color blind condition.",url:"https://cloudinary.com/documentation/transformation_reference#e_simulate_colorblind"}))},tint:{prefix:"e",qualifier:"tint",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Blends an image with one or more tint colors at a specified intensity.",url:"https://cloudinary.com/documentation/transformation_reference#e_tint"}))},trim:{prefix:"e",qualifier:"trim",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Detects and removes image edges whose color is similar to the corner pixels.",url:"https://cloudinary.com/documentation/transformation_reference#e_trim"}))},unsharpMask:{prefix:"e",qualifier:"unsharp_mask",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies an unsharp mask filter to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_unsharp_mask"}))}
3,vectorize:{prefix:"e",qualifier:"vectorize",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Vectorizes an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_vectorize"}))},vibrance:{prefix:"e",qualifier:"vibrance",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies a vibrance filter to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_vibrance"}))},vignette:{prefix:"e",qualifier:"vignette",schema:h.z.union([h.z.string(),h.z.boolean()]).describe(JSON.stringify({text:"Applies a vignette effect to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_vignette"}))}};function eS({prefix:e,qualifier:t,value:r,converters:i}){let o="";e&&(o=`${e}_`);let n=r;if(i?.forEach(({test:e,convert:t})=>{e(n)&&(n=t(n))}),!0===n||"true"===n)return`${o}${t}`;if("string"==typeof n||"number"==typeof n)if(e)return`${o}${t}:${n}`;else return`${t}_${n}`}function eE(e){return`(${e.join(";")})`}function eA(e){return"string"!=typeof e?e:parseInt(e)}var ej=["auto","crop","fill","lfill","fill_pad","thumb"],eC=["auto","crop","fill","lfill","fill_pad","thumb"],e$=["crop","thumb"],eI="limit",eT=h.z.object({aspectRatio:es.schema.optional(),type:el.schema,gravity:ep.schema.optional(),height:ed.schema.optional(),width:eg.schema.optional(),x:ey.schema.optional(),y:eb.schema.optional(),zoom:e_.schema.optional(),source:h.z.boolean().optional()}),eR={aspectRatio:es.schema.optional(),crop:h.z.union([el.schema,eT,h.z.array(eT)]).default(eI).optional(),gravity:ep.schema.optional(),zoom:e_.schema.optional()},eN={angle:eO.angle.schema.optional(),art:eO.art.schema.optional(),autoBrightness:eO.autoBrightness.schema.optional(),autoColor:eO.autoColor.schema.optional(),autoContrast:eO.autoContrast.schema.optional(),assistColorblind:eO.assistColorblind.schema.optional(),background:eO.background.schema.optional(),blackwhite:eO.blackwhite.schema.optional(),blur:eO.blur.schema.optional(),blurFaces:eO.blurFaces.schema.optional(),blurRegion:eO.blurRegion.schema.optional(),border:eO.border.schema.optional(),brightness:eO.brightness.schema.optional(),brightnessHSB:eO.brightnessHSB.schema.optional(),cartoonify:eO.cartoonify.schema.optional(),color:eO.color.schema.optional(),colorize:eO.colorize.schema.optional(),contrast:eO.contrast.schema.optional(),distort:eO.distort.schema.optional(),fillLight:eO.fillLight.schema.optional(),gamma:eO.gamma.schema.optional(),gradientFade:eO.gradientFade.schema.optional(),grayscale:eO.grayscale.schema.optional(),improve:eO.improve.schema.optional(),loop:eO.loop.schema.optional(),multiply:eO.multiply.schema.optional(),negate:eO.negate.schema.optional(),oilPaint:eO.oilPaint.schema.optional(),opacity:eO.opacity.schema.optional(),outline:eO.outline.schema.optional(),pixelate:eO.pixelate.schema.optional(),pixelateFaces:eO.pixelateFaces.schema.optional(),pixelateRegion:eO.pixelateRegion.schema.optional(),radius:eO.radius.schema.optional(),redeye:eO.redeye.schema.optional(),replaceColor:eO.replaceColor.schema.optional(),saturation:eO.saturation.schema.optional(),screen:eO.screen.schema.optional(),sepia:eO.sepia.schema.optional(),shadow:eO.shadow.schema.optional(),sharpen:eO.sharpen.schema.optional(),shear:eO.shear.schema.optional(),simulateColorblind:eO.simulateColorblind.schema.optional(),tint:eO.tint.schema.optional(),trim:eO.trim.schema.optional(),unsharpMask:eO.unsharpMask.schema.optional(),vectorize:eO.vectorize.schema.optional(),vibrance:eO.vibrance.schema.optional(),vignette:eO.vignette.schema.optional()},eB={effects:h.z.array(h.z.object(eN)).describe(JSON.stringify({text:"Array of objects specifying transformations to be applied to asset."})).optional(),...eN},{flagsEnum:eU}=Z,ek={flags:ef.schema.optional()},eP=h.z.string(),eq={namedTransformations:h.z.union([eP,h.z.array(eP)]).describe(JSON.stringify({text:"Named transformations to apply to asset.",url:"https://cloudinary.com/documentation/image_transformations#named_transformations"})).optional(),transformations:h.z.union([eP,h.z.array(eP)]).describe(JSON.stringify({text:"Deprecated: use namedTransformations instead",url:"https://cloudinary.com/documentation/image_transformations#named_transformations"})).optional()},eJ=h.z.object({alignment:h.z.string().optional(),antialias:h.z.string().optional(),border:h.z.string().optional(),color:h.z.string().optional(),fontFamily:h.z.string().optional(),fontSize:h.z.number().optional(),fontStyle:h.z.union([h.z.string(),h.z.number()]).optional(),fontWeight:h.z.string().optional(),hinting:h.z.union([h.z.string(),h.z.number()]).optional(),letterSpacing:h.z.union([h.z.string(),h.z.number()]).optional(),lineSpacing:h.z.union([h.z.string(),h.z.number()]).optional(),stroke:h.z.string().optional(),text:h.z.string()}),eL=h.z.object({angle:en.schema.optional(),gravity:ep.schema.optional(),x:ey.schema.optional(),y:eb.schema.optional()}),eM=h.z.object({appliedEffects:h.z.array(h.z.object({})).optional(),appliedFlags:ef.schema.optional(),effects:h.z.array(h.z.object({})).optional(),crop:el.schema.optional(),flags:ef.schema.optional(),height:ed.schema.optional(),position:eL.optional(),publicId:h.z.string().optional(),text:h.z.union([h.z.string(),eJ]).optional(),url:h.z.string().optional(),width:eg.schema.optional()}),eD={color:"black",fontFamily:"Arial",fontSize:200,fontWeight:"bold"},eF={overlay:eM.describe(JSON.stringify({text:"Image or text layer that is applied on top of the base image.",url:"https://cloudinary.com/documentation/transformation_reference#l_layer"})).optional(),overlays:h.z.array(eM).describe(JSON.stringify({text:"Image or text layers that are applied on top of the base image.",url:"https://cloudinary.com/documentation/transformation_reference#l_layer"})).optional(),text:h.z.string().describe(JSON.stringify({text:"Text to be overlaid on asset.",url:"https://cloudinary.com/documentation/image_transformations#transformation_url_structure"})).optional()},eV={preserveTransformations:h.z.boolean().describe(JSON.stringify({text:"Preserves transformations from a Cloudinary U
3RL when using using a Cloudinary URL as the asset source (src)."})).optional()},eW=h.z.string(),eG={rawTransformations:h.z.union([eW,h.z.array(eW)]).describe(JSON.stringify({text:"Array of transformation parameters using the Cloudinary URL API to apply to an asset.",url:"https://cloudinary.com/documentation/transformation_reference"})).optional()},eH={removeBackground:h.z.boolean().describe(JSON.stringify({text:"Removes the background of an image using the Cloudinary AI Background Removal Add-On (Required).",url:"https://cloudinary.com/documentation/cloudinary_ai_background_removal_addon"})).optional()},eY={sanitize:h.z.boolean().describe(JSON.stringify({text:"Runs a sanitizer on SVG images.",url:"https://cloudinary.com/documentation/transformation_reference#fl_sanitize"})).optional()},eQ={seoSuffix:h.z.string().describe(JSON.stringify({text:"Configures the URL to include an SEO-friendly suffix in the URL",url:"https://cloudinary.com/documentation/advanced_url_delivery_options#seo_friendly_media_asset_urls"})).optional()},eK=h.z.object({angle:en.schema.optional(),gravity:ep.schema.optional(),x:ey.schema.optional(),y:eb.schema.optional()}),eX=h.z.object({appliedEffects:h.z.array(h.z.object({})).optional(),appliedFlags:ef.schema.optional(),effects:h.z.array(h.z.object({})).optional(),crop:el.schema.optional(),flags:ef.schema.optional(),height:ed.schema.optional(),position:eK.optional(),publicId:h.z.string().optional(),type:h.z.string().optional(),url:h.z.string().optional(),width:eg.schema.optional()}),eZ={underlay:h.z.string().describe(JSON.stringify({text:"Public ID of image that is applied under the base image.",url:"https://cloudinary.com/documentation/transformation_reference#l_layer"})).optional(),underlays:h.z.array(eX).describe(JSON.stringify({text:"Image layers that are applied under the base image.",url:"https://cloudinary.com/documentation/transformation_reference#l_layer"})).optional()},e0={version:h.z.union([h.z.number(),h.z.string()]).describe(JSON.stringify({text:"Custom version number to apply to asset URL.",url:"https://cloudinary.com/documentation/advanced_url_delivery_options#asset_versions"})).optional()},e1=h.z.object({assetType:h.z.string().default("image").describe(JSON.stringify({text:"The type of asset to deliver.",url:"https://cloudinary.com/documentation/image_transformations#transformation_url_structure"})).optional(),deliveryType:h.z.string().default("upload").describe(JSON.stringify({text:"Delivery method of the asset.",url:"https://cloudinary.com/documentation/image_transformations#delivery_types"})).optional(),dpr:h.z.union([h.z.string(),h.z.number()]).describe(JSON.stringify({text:"Delivery method of the asset.",url:"https://cloudinary.com/documentation/image_transformations#delivery_types"})).optional(),format:h.z.string().default("auto").describe(JSON.stringify({text:"Converts (if necessary) and delivers an asset in the specified format.",url:"https://cloudinary.com/documentation/transformation_reference#f_format"})).optional(),height:h.z.union([h.z.string(),h.z.number()]).describe(JSON.stringify({text:"Height of the given asset."})).optional(),quality:h.z.union([h.z.string(),h.z.number(),h.z.string()]).default("auto").describe(JSON.stringify({text:"Quality of the delivered asset",url:"https://cloudinary.com/documentation/transformation_reference#q_quality"})).optional(),src:h.z.string().describe(JSON.stringify({text:"Cloudinary Public ID or versioned Cloudinary URL (/v1234/)"})),strictTransformations:h.z.boolean().describe(JSON.stringify({text:"Gives you the ability to have more control over what transformations are permitted to be used from your Cloudinary account.",url:"https://cloudinary.com/documentation/control_access_to_media#strict_transformations"})).optional(),width:h.z.union([h.z.string(),h.z.number()]).describe(JSON.stringify({text:"Width of the given asset."})).optional(),...eR,...eB,...ek,...eq,...eF,...eV,...eG,...eH,...eY,...eQ,...eZ,...e0}),e2={defaultImage:h.z.string().describe(JSON.stringify({text:"Configures the default image to use in case the given public ID is not available. Must include file extension.",url:"https://cloudinary.com/documentation/transformation_reference#d_default_image"})).optional()},e8={enhance:h.z.boolean().describe(JSON.stringify({text:"Uses AI to analyze an image and make adjustments to enhance the appeal of the image.",url:"https://cloudinary.com/documentation/transformation_reference#e_enhance"})).optional()},e5={extract:h.z.union([em.schema.optional(),h.z.array(em.schema).optional(),h.z.object({invert:h.z.boolean().default(!1).optional(),mode:eu.schema.optional(),multiple:eh.schema.default(!1).optional(),prompt:h.z.union([em.schema,h.z.array(em.schema)]).optional()})]).describe(JSON.stringify({text:"Extracts an area or multiple areas of an image, described 
3in natural language.",url:"https://cloudinary.com/documentation/transformation_reference#e_extract"})).optional()};function e6(e){return"string"==typeof e?e:Array.isArray(e)?`(${e.filter(e=>"string"==typeof e).join(";")})`:void 0}var e3={fillBackground:h.z.union([h.z.boolean(),h.z.object({crop:el.schema.optional(),gravity:ep.schema.optional(),prompt:h.z.string().optional()})]).describe(JSON.stringify({text:"Uses Generative Fill to extended padded image with AI",url:"https://cloudinary.com/documentation/transformation_reference#b_gen_fill"})).optional()},e4=h.z.union([h.z.string(),h.z.array(h.z.string())]),e7=h.z.object({prompt:e4.optional(),to:h.z.string().optional(),multiple:h.z.boolean().optional()}),e9={recolor:h.z.union([e4,e7]).describe(JSON.stringify({text:"Uses generative AI to recolor parts of your image, maintaining the relative shading.",url:"https://cloudinary.com/documentation/transformation_reference#e_gen_recolor"})).optional()},te=h.z.union([h.z.string(),h.z.array(h.z.string())]),tt=h.z.object({prompt:te.optional(),region:h.z.union([h.z.array(h.z.number()),h.z.array(h.z.array(h.z.number()))]).optional(),multiple:h.z.boolean().optional(),removeShadow:h.z.boolean().optional()}),tr={remove:h.z.union([te,tt]).describe(JSON.stringify({text:"Applies zooming and/or panning to an image, resulting in a video or animated image.",url:"https://cloudinary.com/documentation/transformation_reference#e_zoompan"})).optional()},ti={replaceBackground:h.z.union([h.z.boolean(),h.z.string(),h.z.object({seed:h.z.number().optional(),prompt:h.z.string().optional()})]).describe(JSON.stringify({text:"Replaces the background of an image with an AI-generated background.",url:"https://cloudinary.com/documentation/transformation_reference#e_gen_background_replace"})).optional()},to={replace:h.z.union([h.z.array(h.z.string()),h.z.array(h.z.boolean()),h.z.object({to:h.z.string(),from:h.z.string(),preserveGeometry:h.z.boolean().optional()})]).describe(JSON.stringify({text:"Uses generative AI to replace parts of your image with something else.",url:"https://cloudinary.com/documentation/transformation_reference#e_gen_replace"})).optional()},tn={restore:h.z.boolean().describe(JSON.stringify({text:"Uses generative AI to restore details in poor quality images or images that may have become degraded through repeated processing and compression.",url:"https://cloudinary.com/documentation/transformation_reference#e_gen_restore"})).optional()},ta={zoompan:h.z.union([h.z.string(),h.z.boolean(),h.z.object({loop:eO.loop.schema.optional(),options:h.z.string()})]).describe(JSON.stringify({text:"Applies zooming and/or panning to an image, resulting in a video or animated image.",url:"https://cloudinary.com/documentation/transformation_reference#e_zoompan"})).optional()},ts=e1.merge(h.z.object({...e2,...e8,...e5,...e3,...e9,...tr,...to,...ti,...tn,...ta})),tl={streamingProfile:h.z.string().describe(JSON.stringify({text:"The streaming profile to apply when delivering a video using adaptive bitrate streaming.",url:"https://cloudinary.com/documentation/transformation_reference#sp_streaming_profile"})).optional()},tu=e1.merge(h.z.object({...tl})),tf=h.z.any(),tc=h.z.any(),tp=[{props:e8,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{enhance:i=!1}=r;return i&&t.effect("e_enhance"),{}}},{props:e5,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{extract:i}=r;if(!i||void 0===i)return{};let o=[];if("string"==typeof i)o.push(`prompt_${i}`);else if(Array.isArray(i))o.push(`prompt_${e6(i)}`);else if("object"==typeof i&&!Array.isArray(i)){let e=e6(i.prompt);e&&o.push(`prompt_${e}`),!0===i.invert&&o.push("invert_true"),"string"==typeof i.mode&&o.push(`mode_${i.mode}`),!0===i.multiple&&o.push("multiple_true")}if(o.length>0){let e=`e_extract:${o.join(";")}`;t.addTransformation(e)}return{}}},{props:e9,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{recolor:i}=r,o={prompt:void 0,"to-color":void 0,multiple:void 0};Array.isArray(i)?(Array.isArray(i[0])?o.prompt=eE(i[0]):o.prompt=i[0],"string"==typeof i[1]&&(o["to-color"]=i[1])):"object"==typeof i&&("string"==typeof i.prompt?o.prompt=i.prompt:Array.isArray(i.prompt)&&(o.prompt=eE(i.prompt)),"string"==typeof i.to&&(o["to-color"]=i.to),!0===i.multiple&&(o.multiple="true"));let n=Object.entries(o).filter(([,e])=>!!e).map(([e,t])=>`${e}_${t}`).join(";");return n&&t.addTransformation(`e_gen_recolor:${n}`),{}}},{props:eH,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}
3=e,{removeBackground:i=!1}=r;return i&&t.effect("e_background_removal"),{}}},{props:tr,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{remove:r}=t,i={prompt:void 0,region:void 0,multiple:void 0,"remove-shadow":void 0};if("string"==typeof r)i.prompt=r;else if(Array.isArray(r))i.prompt=eE(r);else if("object"==typeof r){let e="string"==typeof r.prompt||Array.isArray(r.prompt),t=Array.isArray(r.region);if(e&&t)throw Error("Invalid remove options: you can not have both a prompt and a region. More info: https://cloudinary.com/documentation/transformation_reference#e_gen_remove");"string"==typeof r.prompt?i.prompt=r.prompt:Array.isArray(r.prompt)&&(i.prompt=eE(r.prompt)),Array.isArray(r.region)&&(i.region=function e(t){let r={0:"x",1:"y",2:"w",3:"h"},i=t.map((t,i)=>{if(Array.isArray(t))return e(t);let o=r[i];return`${o}_${t}`}).join(";");return`(${i})`}(r.region)),!0===r.multiple&&(i.multiple="true"),!0===r.removeShadow&&(i["remove-shadow"]="true")}let o=Object.entries(i).filter(([,e])=>!!e).map(([e,t])=>`${e}_${t}`).join(";");return o&&e.addTransformation(`e_gen_remove:${o}`),{}}},{props:to,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{replace:r=null}=t;if(r){let t,i,o=!1;Array.isArray(r)?(t=r[0],i=r[1],o=r[2]||!1):(t=r.from,i=r.to,o=r.preserveGeometry||!1);let n=[`e_gen_replace:from_${t}`,`to_${i}`];o&&n.push(`preserve-geometry_${o}`),e.effect(n.join(";"))}return{}}},{props:ti,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{replaceBackground:i}=r;if(!i||void 0===i)return{};let o=[];"object"==typeof i?(void 0!==i.prompt&&o.push(`prompt_${i.prompt}`),"number"==typeof i.seed&&o.push(`seed_${i.seed}`)):"string"==typeof i&&o.push(`prompt_${i}`);let n="e_gen_background_replace";return o.length>0&&(n=`${n}:${o.join(";")}`),t.addTransformation(n),{}}},{props:tn,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{restore:r=!1}=t;return r&&e.effect("e_gen_restore"),{}}},{props:eR,assetTypes:["image","images","video","videos"],plugin:e=>{let{cldAsset:t,options:r}=e,i=[];"string"==typeof r.crop||void 0===r.crop?i.push({aspectRatio:r.aspectRatio,height:r.height,gravity:r.gravity,type:r.crop||eI,width:r.width,zoom:r.zoom}):"object"!=typeof r.crop||Array.isArray(r.crop)?Array.isArray(r.crop)&&(i=r.crop):i.push(r.crop),1===i.length&&!0===i[0].source&&i.push({aspectRatio:r.aspectRatio,width:r.width,height:r.height,gravity:r.gravity,type:eI,zoom:r.zoom});let o=[],n=[];for(let e of i){let t={width:e.width,height:e.height};void 0===t.width&&void 0===e.aspectRatio&&(t.width=r.width,void 0===t.height&&(t.height=r.height));let i=function(e){let{aspectRatio:t,type:r,x:i,y:o,zoom:n}=e,a=e.gravity,s=eA(e.height),l=eA(e.width),u=[],f=t&&ej.includes(r),c="number"==typeof i||"string"==typeof i,p="number"==typeof o||"string"==typeof o,d=c||p;return r&&(s||l||f||d)&&u.push(`c_${r}`),f&&u.push(`ar_${t}`),l&&u.push(`w_${l}`),["limit"].includes(r)||"number"!=typeof s||u.push(`h_${s}`),c&&u.push(`x_${i}`),p&&u.push(`y_${o}`),!a&&eC.includes(r)&&!d&&(a="auto"),a&&("auto"!==a||eC.includes(r)?u.push(`g_${a}`):console.warn(`Auto gravity can only be used with crop modes: ${eC.join(", ")}. Not applying gravity.`)),n&&("auto"!==n||e$.includes(r)?u.push(`z_${n}`):console.warn(`Zoom can only be used with crop modes: ${e$.join(", ")}. Not applying zoom.`)),u}({aspectRatio:e.aspectRatio,gravity:e.gravity,type:e.type||eI,x:e.x,y:e.y,zoom:e.zoom,...t});i.length>0&&(!0===e.source?n.push(i):o.push(i))}n.forEach(e=>{e.length>0&&t.addTransformation(e.join(","))});let a={options:{}};return a.options&&o.length>0&&(a.options.resize=o.map(e=>e.join(",")).join("/")),a}},{props:eV,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{preserveTransformations:r=!1}=t;if(r)try{(function(e){let{transformations:t=[]}=c(e)||{};return t.map(e=>e.split(","))})(t.src).map(e=>e.join(",")).flat().forEach(t=>{e.addTransformation(t)})}catch(e){console.warn(`Failed to preserve transformations: ${e.message}`)}return{}}},{props:eG,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{rawTransformations:r=[]}=t;return Array.isArray(r)||(r=[r]),r.forEach(t=>{e.addTransformation(t)}),{}}},{props:tl,assetTypes:["video","videos"],plugin:e=>{let{cldAsset:t,options:r}=e,{streamingProfile:i}=r;return"string"==typeof i&&t.addTransformation(`sp_${i}`),{}}},{props:e2,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{defaultImage:i}=r;if("string"==typeof i){p(i)||console.warn("The defaultImage prop may be missing a format and must include it along with the public ID. (Ex: myimage.jpg)");let e=i.replace(/\//g,":");t.addTransformation(`d_${e}`)}return{}}},{props:eB,assetTypes:["image","images","video","videos"],plugin:e=>{let{cldAsset:t,options:r}=e;function i({effects:e,options:t}){return Object.keys(e).map(r=>{let{prefix:i,qualifier:o,converters:n}=e[r];return eS({qualifier:o,prefix:i,value:t?.[r],converters:n})})}return i({effects:eO,options:r}).filter(e=>
3!!e).forEach(e=>t.effect(e)),Array.isArray(r?.effects)&&r?.effects.forEach(e=>{let r=i({effects:eO,options:e}).filter(e=>!!e).join(",");t.effect(r)}),{}}},{props:e3,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{fillBackground:i}=r;if(void 0===i)return{};let o=eA(r.width),n=eA(r.height),a=r.aspectRatio;if(a||"number"!=typeof n||"number"!=typeof o||(a=`${o}:${n}`),!a)return{};if(!0===i){let e=["b_gen_fill",`ar_${a}`,"c_pad"];t.addTransformation(e.join(","))}else if("object"==typeof i){let{crop:e="pad",gravity:r,prompt:o}=i,n=[`ar_${a}`,`c_${e}`];"string"==typeof o?n.unshift(`b_gen_fill:${o}`):n.unshift("b_gen_fill"),"string"==typeof r&&n.push(`g_${r}`),t.addTransformation(n.join(","))}return{}}},{props:ek,assetTypes:["image","images","video","videos"],plugin:e=>{let{cldAsset:t,options:r}=e,{flags:i=[]}=r;return Array.isArray(i)&&i.length>0?i.forEach(e=>{let{success:r}=eU.safeParse(e);r&&t.addFlag(e)}):"object"==typeof i&&Object.entries(i).forEach(([e,r])=>{let{success:i}=eU.safeParse(e);i&&t.addTransformation(`fl_${e}:${r}`)}),{}}},{props:eF,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{text:r,overlays:i=[]}=t;function o({publicId:t,url:r,position:i,text:n,effects:s=[],appliedEffects:l=[],flags:u=[],appliedFlags:f=[],...c}){let p,h="string"==typeof t,m="string"==typeof r,g="object"==typeof n||"string"==typeof n,y="object"==typeof i;if(!h&&!m&&!g)return void console.warn("An overlay is missing Public ID, URL, or Text");if(g)p="l_text";else if(h)p=`l_${t.replace(/\//g,":")}`;else m&&(p=`l_fetch:${"function"==typeof btoa?btoa(r):void 0!==a?a.from(r).toString("base64"):void 0}`);let b=[],_=[];if(Object.keys(c).forEach(e=>{if(!d(ew,e))return;let{qualifier:t,converters:r}=ew[e],i=eS({qualifier:t,value:c[e],converters:r});i&&b.push(i)}),s.forEach(e=>{Object.keys(e).forEach(t=>{let r=ew[t]||eO[t]||ez[t];if(!r)return;let{qualifier:i,prefix:o,converters:n}=r,a=eS({qualifier:i,prefix:o,value:e[t],converters:n});a&&b.push(a)})}),l.forEach(e=>{Object.keys(e).forEach(t=>{let r=ew[t]||eO[t]||ez[t];if(!r)return;let{qualifier:i,prefix:o,converters:n}=r,a=eS({qualifier:i,prefix:o,value:e[t],converters:n});a&&_.push(a)})}),(Array.isArray(u)?u:[u]).forEach(e=>{let{success:t}=eo.safeParse(e);t&&b.push(`fl_${e}`)}),(Array.isArray(f)?f:[f]).forEach(e=>{let{success:t}=eo.safeParse(e);t&&_.push(`fl_${e}`)}),g){"string"==typeof n&&(n={...eD,text:n});let e=[];
3if("object"==typeof n)for(let t of function(e=[],t,r="asc"){let i=[...e];return"string"!=typeof t?i:(i=i.sort(function(e,r){let i=e[t],o=r[t];return("string"==typeof i&&(i=i.toLowerCase()),"string"==typeof o&&(o=o.toLowerCase()),i<o)?-1:+(i>o)}),"desc"===r)?i.reverse():i}(Object.keys(n).filter(e=>d(ex,e)).map(e=>{let t=n&&d(n,e)&&n[e];return{...ex[e],key:e,value:t,order:ex[e].order||99}}),"order")){let{key:r,value:i,qualifier:o,location:n,converters:a}=t,s=i;a?.forEach(({test:e,convert:t})=>{e(i)&&(s=t(i))}),"primary"===n?b.push(`${o}_${s}`):"self"===o?e.push(r):o?e.push(`${o}_${s}`):e.push(s)}let t={".":"%2E",",":"%2C","/":"%2F"},r=n?.text||"";"string"==typeof r&&Object.keys(t)?.forEach(e=>{r=r?.replace(e,t[e])}),p=`${p}:${e.join("_")}:${r}`}y&&Object.keys(i).forEach(e=>{if(!d(ez,e)||!d(i,e))return;let{qualifier:t,converters:r}=ez[e],o=eS({qualifier:t,value:i[e],converters:r});o&&_.push(o)}),b.length>0&&(p=`${p},${b.join(",")}`),p=`${p}/fl_layer_apply,fl_no_overflow`,_.length>0&&(p=`${p},${_.join(",")}`),e.addTransformation(p)}return Array.isArray(i)&&i.forEach(o),"string"==typeof r?o({text:Object.assign({},eD,{text:r})}):"object"==typeof r&&o({text:Object.assign({},eD,r)}),{}}},{props:eY,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{sanitize:r=!0}=t;return r&&("svg"===t.format||e.publicID.endsWith(".svg"))&&e.effect("fl_sanitize"),{}}},{props:eq,strict:!0,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{transformations:r,namedTransformations:i}=t;r&&"development"===K.env.NODE_ENVIRONMENT&&console.warn("The transformations prop is deprecated. Please use namedTransformations instead.");let o=i||r||[];return Array.isArray(o)||(o=[o]),o.forEach(t=>{e.addTransformation(`t_${t}`)}),{}}},{props:eQ,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{seoSuffix:r}=t;return"string"==typeof r&&("fetch"===t.deliveryType?console.warn("SEO suffix is not supported with a delivery type of fetch"):e.setSuffix(r)),{}}},{props:eZ,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{underlay:r,underlays:i=[]}=t;function o({publicId:t,type:r,position:i,effects:n=[],flags:a=[],appliedFlags:s=[],...l}){let u="object"==typeof i;if("string"!=typeof t)return void console.warn(`An ${r} is missing a Public ID`);let f=`u_${t.replace(/\//g,":")}`,c=[],p=[];Object.keys(l).forEach(e=>{if(!d(ew,e))return;let{qualifier:t}=ew[e];c.push(`${t}_${l[e]}`)}),n.forEach(e=>{Object.keys(e).forEach(t=>{if(!d(ew,t))return;let{qualifier:r}=ew[t];c.push(`${r}_${e[t]}`)})}
3),u&&Object.keys(i).forEach(e=>{if(!d(ez,e))return;let{qualifier:t}=ez[e];p.push(`${t}_${i[e]}`)}),(Array.isArray(a)?a:[a]).forEach(e=>{let{success:t}=eo.safeParse(e);t&&c.push(`fl_${e}`)}),(Array.isArray(s)?s:[s]).forEach(e=>{let{success:t}=eo.safeParse(e);t&&p.push(`fl_${e}`)}),f=`${f},${c.join(",")}`,f=`${f}/fl_layer_apply,fl_no_overflow`,p.length>0&&(f=`${f},${p.join(",")}`),e.addTransformation(f)}return Array.isArray(i)&&i.forEach(o),"string"==typeof r&&o({publicId:r,crop:"fill",width:"1.0",height:"1.0",flags:["relative"]}),{}}},{props:e0,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{version:r}=t;return("string"==typeof r||"number"==typeof r)&&e.setVersion(`${r}`.replace("v","")),{}}},{props:ta,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{zoompan:r=!1}=t,i={format:void 0};if(!0===r)e.effect("e_zoompan");else if("string"==typeof r)"loop"===r?(e.effect("e_zoompan"),e.effect("e_loop")):e.effect(`e_zoompan:${r}`);else if("object"==typeof r){let t,i="e_zoompan";"string"==typeof r.options&&(i=`${i}:${r.options}`),e.effect(i),!0===r.loop?t="e_loop":("string"==typeof r.loop||"number"==typeof r.loop)&&(t=`e_loop:${r.loop}`),t&&e.effect(t)}return!1!==r&&(i.format="auto:animated"),{options:i}}}],td=h.z.union([ts,tu]).describe(JSON.stringify({text:"Asset options (Image or Video) that define delivery URL including public ID and transformations.",path:"/url-loader/assetoptions"}));function th(e,t,r){if(void 0===t.transformation)return;let{matchType:i="includes"}=r||{};return t.transformation.actions.flatMap(e=>e.toString().split("/").flatMap(e=>e.split(","))).filter(t=>"startsWith"===i?t.startsWith(e):t.includes(e)).length>0}h.z.object({analytics:h.z.union([tf,h.z.boolean()]).describe(JSON.stringify({text:"Tech, dependency, and feature identifiers for tracking SDK usage related to Cloudinary.",path:"/url-loader/analyticsoptions"})).optional(),config:tc.describe(JSON.stringify({text:"Configuration parameters for environment and Cloudinary account.",url:"https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters",path:"/url-loader/analyticsoptions"})).optional(),options:td}),r(76865),r(84067);var tm=r(37811),tg=tb("16.3.0"),ty=tb("6.17.5");function tb(e){let t=e;return t.includes("-")&&(t=t.split("-")[0]),t}function t_(e,t,r){return function({options:e,config:t={},analytics:r}){let i,o;!1===r&&(void 0===t?.url&&(t.url={}),t.url.analytics=!1);let n=new Q(t);if("string"!=typeof e?.src)throw Error("Failed to construct Cloudinary URL: Missing source (src) in options.");e?.assetType||(e.assetType="image");let a=[];tp.forEach(({props:e})=>{Object.keys(e).forEach(e=>{if(a.includes(e))throw Error(`Option ${e} already exists!`);a.push(e)})});let s={};if("string"==typeof e.src&&/^https?:\/\//.test(e.src))try{let t=c(e.src);i=t?.publicId,s.seoSuffix=t?.seoSuffix,s.version=t?.version}catch(e){}if(i||(i=e.src),Object.keys(s).forEach(t=>{d(e,t)||(e[t]=s[t])}),e.version??(e.version=1),["image","images"].includes(e.assetType)?o=n.image(i):["video","videos"].includes(e.assetType)&&(o=n.video(i)),void 0===o)throw Error("Invalid asset type.");let l={};if(tp.forEach(({plugin:t,assetTypes:r,props:i,strict:n})=>{let a=e?.assetType!==void 0&&r.includes(e.assetType),s=Object.keys(i),u=Object.keys(e),f=s.map(e=>u.includes(e)).filter(e=>!!e).length>0;if(!a){f&&console.warn(`One of the following props [${s.join(", ")}] was used with an unsupported asset type [${e?.assetType}]`);return}if(e.strictTransformations&&!n){f&&console.warn(`One of the following props [${s.join(", ")}] was used that is not supported with Strict Transformations.`);return}let{options:c}=t({cldAsset:o,options:e})||{options:void 0};Object.assign(l,c)}),"string"==typeof l.resize&&o.addTransformation(l.resize),o.setDeliveryType(e?.deliveryType||"upload"),!e.strictTransformations){if(e?.dpr){let t=e.dpr;"number"==typeof t&&(t=t.toFixed(1)),o.addTransformation(`dpr_${t}`)}let t=e?.format==="default",r=th("f_",o,{matchType:"startsWith"}),i=r&&void 0!==e?.format;
3(l?.format||!t&&(!r||i))&&o.format(e?.format||l?.format||"auto");let n=e?.quality==="default",a=th("q_",o,{matchType:"startsWith"}),s=a&&void 0!==e?.quality;n||a&&!s||o.quality(e?.quality||"auto")}return o.toURL({trackedAnalytics:r})}({options:e,config:function(e){let t=e?.cloud?.cloudName??"aenetworks";if(!t)throw Error("A Cloudinary Cloud name is required, please make sure NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME is set and configured in your environment.");let r=e?.cloud?.apiKey??tm.env.NEXT_PUBLIC_CLOUDINARY_API_KEY,i=e?.url?.secureDistribution??tm.env.NEXT_PUBLIC_CLOUDINARY_SECURE_DISTRIBUTION,o=e?.url?.privateCdn??tm.env.NEXT_PUBLIC_CLOUDINARY_PRIVATE_CDN;return Object.assign({cloud:{...e?.cloud,apiKey:r,cloudName:t},url:{...e?.url,secureDistribution:i,privateCdn:o}},e)}(t),analytics:Object.assign({product:"A",sdkCode:"V",sdkSemver:ty,techVersion:tg,feature:""},r)})}var tv=(0,i.forwardRef)(function(e,t){let r=!1,a=["assetType","config","deliveryType","strictTransformations"];tp.forEach(({props:e})=>{Object.keys(e).forEach(e=>{if(a.includes(e))throw Error(`Option ${e} already exists!`);a.push(e)})});let s={alt:e.alt,src:e.src};Object.keys(e).filter(e=>"string"==typeof e&&!a.includes(e)).forEach(t=>s[t]=e[t]);let l=Object.keys(s).map(e=>`${e}:${s[e]}`).join(";"),[u,f]=(0,i.useState)(l),c={};async function p(t){let i=!0;if(r)return;if(r=!0,"function"==typeof e.onError){let r=e.onError(t);"boolean"==typeof r&&!1===r&&(i=!1)}else"boolean"==typeof e.onError&&!1===e.onError&&(i=!1);if(!1===i)return;let o=t.target,a=await n({src:o.src});a.error,a.success&&f(`${l};${Date.now()}`)}a.forEach(t=>{let r=e[t];r&&(c[t]=r)}),!0===e.unoptimized&&(s.src=t_({...c,width:s.width,height:s.height,src:s.src,format:"default",quality:"default"},e.config));let d=(0,i.useCallback)(p,[n,l]),h=o.default;return"default"in h&&(h=h.default),i.createElement(h,{key:u,...s,loader:t=>(function({loaderOptions:e,imageProps:t,cldOptions:r,cldConfig:i={}}){let o={...t,...r};if(o.width="string"==typeof o.width?parseInt(o.width):o.width,o.height="string"==typeof o.height?parseInt(o.height):o.height,"number"==typeof e?.width&&"number"==typeof o.width&&e.width!==o.width){let t=e.width/o.width;o.width=e.width,"number"==typeof o.height&&(o.height=Math.floor(o.height*t))}else"number"==typeof e?.width&&"number"!=typeof o?.width&&(o.width=e?.width);return t_(o,i)})({loaderOptions:t,imageProps:s,cldOptions:c,cldConfig:e.config}),onError:d,ref:t})})}}]);

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.