1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{79742:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(function(e,t,r){for(var i,o=[],a=t;a<r;a+=3)o.push(n[(i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],r[o.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 n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48764:function(e,t,n){"use strict";/*! 2 * The buffer module from node.js, for the browser. 3 * 4 * @author Feross Aboukhadijeh <https://feross.org> 5 * @license MIT 6 */var r=n(79742),i=n(80645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|p(e,t),r=a(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(T(e,Uint8Array)){var t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);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(T(e,ArrayBuffer)||e&&T(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(T(e,SharedArrayBuffer)||e&&T(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);var i=function(e){if(s.isBuffer(e)){var t,n=0|h(e.length),r=a(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);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');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),n=a(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e,t,n){var r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),s.prototype),r}function h(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(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);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return A(e).length;default:if(i)return r?-1:k(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var i,o,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=R[e[o]];return i}(this,t,n);case"utf8":case"utf-8":return b(this,t,n);case"ascii":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":return i=t,o=n,0===i&&o===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(this,t,n);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){var o;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;
vendor: 13,911 bytes, line 6
6a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,f=0;f<l;f++)if(u(e,o+f)!==u(t,f)){d=!1;break}if(d)return o}return -1}function b(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function x(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function w(e,t,n,r,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function E(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function S(e,t,n,r,o){return t=+t,n>>>=0,o||E(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function C(e,t,n,r,o){return t=+t,n>>>=0,o||E(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var 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||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(T(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),T(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;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},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){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(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,r=s.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(T(o,Uint8Array))i+o.length>r.length?s.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else if(s.isBuffer(o))o.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var 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(){var e=this.length;return 0===e?"":0==arguments.length?b(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(){var e="",n=t.h2;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(T(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===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,l=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n),d=0;d<l;++d)if(u[d]!==c[d]){o=u[d],a=c[d];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},s.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},s.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,d,f=this.length-t;if((void 0===n||n>f)&&(n=f),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var h=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(s!=s)break;e[n+a]=s}return a}(this,e,t,n);case"utf8":case"utf-8":return i=t,o=n,N(k(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=n,N(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,a,s);case"base64":return l=t,u=n,N(A(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=n,N(function(e,t){for(var n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,d);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||x(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(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||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;w(this,e,t,n,i,0)}var o=1,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;w(this,e,t,n,i,0)}var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||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,n){return e=+e,t>>>=0,n||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,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,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,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);w(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);w(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||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,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),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,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+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.writeFloatLE=function(e,t,n){return S(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return S(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},s.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=s.isBuffer(e)?e:s.from(e,r),l=a.length;
6if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%l]}return this};var j=/[^+/0-9A-Za-z-_]/g;function k(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function A(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var R=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()},6230:function(e){e.exports="object"==typeof self?self.FormData:window.FormData},80645:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,f=23===i?5960464477539062e-23:0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*m}},83454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(77663)},91118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(54690)}])},86772:function(e,t,n){"use strict";n.d(t,{E3:function(){return d},Md:function(){return u},RS:function(){return f},Yu:function(){return c},bl:function(){return l}});var r,i,o=n(11010),a=n(97582),s=n(78945),l=s.Z.create();l.defaults.baseURL="https://alphaapi.usbair.com";var u=(r=(0,o._)(function(e,t){return(0,a.Jh)(this,function(n){switch(n.label){case 0:return[4,s.Z.post(e,t)];case 1:return[2,n.sent()]}})}),function(e,t){return r.apply(this,arguments)}),c=(i=(0,o._)(function(e){return(0,a.Jh)(this,function(t){switch(t.label){case 0:return[4,s.Z.get(e)];case 1:return[2,t.sent()]}})}),function(e){return i.apply(this,arguments)}),d={BAGGAGEFORM:"baggage",FEEDBACKFORM:"feedback",CONTACTFORM:"contact",GROUPTRAVELFORM:"group_travel",CORPORATETRAVELFORM:"corporate_travel",BOOKINGINFOFORM:"booking_info"},f={SUCCESS:"success",ERROR:"error"}},46991:function(e,t,n){"use strict";n.d(t,{Fy:function(){return w},qM:function(){return j},ZP:function(){return N}});var r=n(11010),i=n(91309),o=n(97582),a=n(85893),s=n(78945),l=n(11163),u=n(67294),c=n(89755),d=n.n(c),f=n(41664),h=n.n(f),p=n(8193),m=n(63750),g=n(26314),v=n(88464),y=new Date,b=[{id:"first",headerItem:"About us",subHeaderItem:[{id:1,subHeaderName:"Career",redirect:!1,route:"/career"},{id:2,subHeaderName:"Media Center",redirect:!0,route:"https://media.usbair.com/"},{id:3,subHeaderName:"ADM Policy",redirect:!0,route:"/adm-policy"},{id:4,subHeaderName:"Booking Policy",redirect:!0,route:"/booking-policy"},{id:5,subHeaderName:"Cancellation and Refund Policy",redirect:!0,route:"/cancellation-and-refund-policy"},{id:6,subHeaderName:"Terms and Conditions",redirect:!1,route:"/terms-and-conditions"}]},{id:"second",headerItem:"Loyalty",subHeaderItem:[{id:1,subHeaderName:"Log in to Sky Star",redirect:!0,route:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/(S(73306f144fcf41519e6b6b770c9c3092))/usbangla/en-GB/Customer/Login")},{id:2,subHeaderName:"Join Sky Star",redirect:!1,route:"/us-bangla-sky-star"},{id:3,subHeaderName:"Member Benefits",redirect:!1,route:"/membership-benefits"},{id:4,subHeaderName:"Rewards & Benefits",redirect:!1,route:"/reward-benefits"}]},{id:"third",headerItem:"Book",subHeaderItem:[{id:1,subHeaderName:"Book A Flight",redirect:!1,route:"/book-a-flight"},{id:2,subHeaderName:"Airport Transfer",redirect:!1,route:"/bus-services"},{id:3,subHeaderName:"US-Bangla Holidays",redirect:!1,route:"/plan-your-dream-holidays"}]},{id:"forth",headerItem:"Experience",subHeaderItem:[{id:1,subHeaderName:"Explore Bangladesh",redirect:!1,route:"/domestic-destination"},{id:2,subHeaderName:"Feedback",redirect:!1,route:"/feedback-management"}]},{id:"fifth",headerItem:"Manage",subHeaderItem:[{id:1,subHeaderName:"Check-in",redirect:!0,route:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/(S(add7cf1052754fe0a4b4a7d1f50552c4))/USbangla/en-GB/Home/FindBooking?findbookingmode=WebCheckin")},{id:2,subHeaderName:"Manage your booking",redirect:!0,route:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/(S(e610116fd6324ce89bf2b4284bc9e2b0))/usbangla/Home/FindBooking")}]},{id:"sixth",headerItem:"Our Skies",subHeaderItem:[{id:2,subHeaderName:"Asia",redirect:!1,route:"/our-skies?asia"},{id:3,subHeaderName:"The Middle East",redirect:!1,route:"/our-skies?middleEast"}]},{id:"seventh",headerItem:"Plan Your Travel",subHeaderItem:[{id:1,subHeaderName:"Baggage Information",redirect:!1,route:"/your-baggage-info"},{id:2,subHeaderName:"Purchase Extra Baggage",redirect:!1,route:"/purchase-extra-baggage"},{id:3,subHeaderName:"Travel Requirements",redirect:!1,route:"/travel-requirements"}]},{id:"eighth",headerItem:"Help",subHeaderItem:[{id:1,subHeaderName:"Help and contact",redirect:!1,route:"/contact-us"},{id:2,subHeaderName:"Prohibited Items",redirect:!1,route:"/prohibited-items"},{id:3,subHeaderName:"Airport Customer Care",redirect:!1,route:"/airport-customer-support"},{id:4,subHeaderName:"Sales Outlets",redirect:!1,route:"/our-sales-outlets"},{id:5,subHeaderName:"Special Assistance",redirect:!1,route:"/special-assistance"},{id:6,subHeaderName:"Frequently asked questions",redirect:!1,route:"/sky-star-faq"},{id:7,subHeaderName:"Brand Asset",redirect:!1,route:"/brand-assets"}]}],x=n(76779),w=function(e){var t=e.defaultKey,n=e.children,r=(0,i._)((0,u.useState)(null!=t?t:""),2),o=r[0],s=r[1];return(0,a.jsx)("div",{children:(0,a.jsx)(x.ug.Provider,{value:{selectedPanel:o,setSelectedPanel:s},children:(0,a.jsx)("div",{className:"lg:grid grid-rows-2 grid-flow-col divide-y lg:divide-y divide-[#4F4F4F] mx-auto",children:n})})})},E=n(45697),S=n.n(E),C=function(e){var t=e.headerTitle,n=e.textColor;return(0,a.jsx)("div",{className:"".concat(null!=n?n:"text-blue-600"),children:(0,a.jsx)("p",{className:"font-normal text-white text-cardHeader font-marcellus",children:t})})};C.propTypes={headerTitle:S().string,textColor:S().string},C.defaultProps={headerTitle:"",textColor:"text-amber-300"};var j=function(e){var t=e.headerTitle,n=e.id,r=e.children,o=(0,u.useContext)(x.ug),s=o.selectedPanel,l=o.setSelectedPanel,c=(0,i._)((0,u.useState)(null),2),d=c[0],f=c[1],h=(0,i._)((0,u.useState)(null),2),p=h[0],g=h[1];(0,u.useEffect)(function(){void 0!==window&&(window.addEventListener("resize",function(){f(window.innerWidth)}),g(v()))},[d]),(0,u.useEffect)(function(){g(v())},[d]);var v=function(){var e=window.innerWidth;return e>=1024?"lg":e>=738?"md":e>=640?"sm":"xs"};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"py-0 lg:py-2",children:[(0,a.jsxs)("div",{className:"group pt-4 lg:pt-10 flex justify-between ".concat(s===n?"bg-[#333333] rounded-t lg:bg-[#333333] lg:text-white ":"bg-[#333333] lg:bg-[#333333] lg:text-[#A9A9A9] rounded py-2"),onClick:function(){"lg"!==p&&l(s!==n?n:"")},children:[(0,a.jsx)(C,{headerTitle:t}),(0,a.jsx)("div",{className:"w-6 h-6 rounded flex justify-center items-center cursor-pointer ".concat("text-white"),children:(0,a.jsx)(m.IAR,{className:"".concat(s===n?"rotate-180":"rotate-0"," lg:hidden md:hidden")})})]}),(0,a.jsx)("div",{className:"transition-[max-height] duration-500 overflow-hidden mb-0 lg:mb-8 py-0 ".concat("lg"===p||s===n?"max-h-[600px] ":"max-h-0"),children:r})]})})},k=function(e){var t=e.text;return(0,a.jsx)("h3",{className:"text-black cursor-pointer",children:t})};k.protoTypes={text:S().string},k.defaultProps={text:"text-white"};var A=function(e){var t=e.color;return(0,a.jsx)("div",{className:"bg-slate-100 border-b-0 rounded-t",children:t})};A.protoTypes={color:S().string},A.defaultProps={color:""};var N=function(){var e,t=(0,i._)((0,u.useState)(""),2),n=t[0],c=t[1],f=(0,i._)((0,u.useState)(!1),2),x=f[0],E=f[1],S=(0,i._)((0,u.useState)(""),2),C=S[0],k=S[1],A=(0,i._)((0,u.useState)("error"),2),N=A[0],T=A[1],R=(0,l.useRouter)(),P=(e=(0,r._)(function(){var e,t,r,i;return(0,o.Jh)(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,s.Z.post("/api/newsletter",{email:n,city:""})];case 1:return o.sent(),k("Successfully subscribed."),c(""),T("success"),E(!0),[3,3];case 2:return k(null!==(i=null==(e=o.sent())?void 0:null===(r=e.response)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:t.error)&&void 0!==i?i:"Something went wrong."),T("error"),E(!0),[3,3];case 3:return[2]}})}),function(){return e.apply(this,arguments)});return(0,u.useEffect)(function(){x&&setTimeout(function(){E(!1),T("error")},3e3)},[x]),(0,a.jsxs)("div",{className:"bg-[#333333]",children:[(0,a.jsx)("div",{children:(0,a.jsx)(w,{})}),(null==b?void 0:b.length)>0&&(0,a.jsxs)("section",{className:"mx-auto ",children:[(0,a.jsx)(w,{defaultKey:"first",children:b.map(function(e,t){var n,r;return(0,a.jsx)(j,{id:null==e?void 0:e.id,headerTitle:null==e?void 0:e.headerItem,children:(0,a.jsx)("ul",{className:"pb-1 text-[#A9A9A9] mb-0 lg:-mb-2 ",children:(null==e?void 0:null===(n=e.subHeaderItem)||void 0===n?void 0:n.length)>0&&e.subHeaderItem.map(function(e){return(0,a.jsx)("li",{className:" cursor-pointer font-roboto text-footerDescriptionBottomPart hover:underline",children:(0,a.jsx)(h(),{href:"".concat((null==e?void 0:e.route)!=null?null==e?void 0:e.route:"/"),target:"".concat((null==e?void 0:e.type)!=="pdf"?"":"_blank"),rel:"noopener noreferrer",legacyBehavior:!0,children:e.subHeaderName})},e.id)})})},null!==(r=null==e?void 0:e.id)&&void 0!==r?r:t)})}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"grid gird-cols-1 md:grid-cols-2 lg:grid-cols-3 lg:border-t lg:border-b border-[#4F4F4F] py-8 lg:py-6 gap-0 lg:gap-24 place-content-between",children:[(0,a.jsx)("div",{className:"col-span-1 flex flex-col lg:flex-row gap-4",children:(0,a.jsxs)("div",{className:"py-4 flex flex-col space-y-4 ",children:[(0,a.jsxs)("div",{className:"space-y-4 text-[#A9A9A9] ",children:[(0,a.jsx)("h1",{className:"text-cardHeader font-thin font-marcellus text-white",children:"Subscribe to our special offers"}),(0,a.jsx)("div",{className:"py-4 space-y-0 ",children:(0,a.jsx)("p",{className:"font-roboto font-normal text-footerDescriptionBottomPart",children:"Save with our latest fares and offers."})})]}),(0,a.jsx)(g.Z,{isOpen:x,closeFunc:function(){E(!1),k(""),T("error")},msg:C,type:N}),(0,a.jsxs)("div",{className:"rounded flex flex-col lg:flex-row gap-2 py-3",children:[(0,a.jsx)("input",{className:"bg-[#FFFFFF] text-[#000] focu
6s:ring-0 lg:w-3/4 px-3 py-3 rounded-md border-transparent focus:border-transparent h-10",type:"text",placeholder:"Email Address",value:n,onChange:function(e){return c(e.target.value)}}),(0,a.jsx)("button",{type:"button",className:"px-4 py-3 text-white border rounded-md h-10 flex justify-center items-center w-full lg:w-1/4",onClick:function(){if(!n){k("Email is required."),T("error"),E(!0);return}P()},children:"Subscribe"})]}),(0,a.jsx)("div",{className:"text-[#A9A9A9] font-roboto font-normal text-footerDescriptionBottomPart flex flex-row",children:(0,a.jsx)("div",{className:"px-4 lg:px-0 md:px-0",children:(0,a.jsxs)("p",{className:" text-[#A9A9A9] font-roboto font-normal text-footerDescriptionBottomPart",children:["For details on how we use your information, please see our"," ",(0,a.jsxs)("span",{className:"underline font-roboto font-normal text-footerDescriptionBottomPart text-[#A9A9A9] cursor-pointer",onClick:function(){return R.push("/privacy-policy")},children:[" ","privacy policy."]})," "]})})})]})}),(0,a.jsx)("div",{className:"col-span-1 flex flex-col lg:flex-row gap-4",children:(0,a.jsx)("div",{className:"flex flex-1",children:(0,a.jsxs)("div",{className:"py-4 sm:flex flex-col space-y-4 px-4 lg:px-0",children:[(0,a.jsx)("h1",{className:"text-cardHeader font-thin font-marcellus text-white",children:"US-Bangla Airlines App"}),(0,a.jsx)("p",{className:"font-roboto font-normal text-footerDescriptionBottomPart text-[#A9A9A9]",children:"Book and manage your flight & Get exclusive discounts"}),(0,a.jsxs)("div",{className:"flex flex-row space-x-2 py-4",children:[(0,a.jsx)("div",{className:"w-[140px] h-10 relative cursor-pointer",children:(0,a.jsx)(h(),{href:"https://apps.apple.com/us/app/us-bangla-airlines/id1519327703",children:(0,a.jsx)(d(),{src:(0,v.NR)("/HomePage/App-Store.png"),quality:100,alt:"something",layout:"fill",objectPosition:"center",unoptimized:!0})})}),(0,a.jsx)("div",{className:"w-[140px] h-10 relative cursor-pointer",children:(0,a.jsx)(h(),{href:"https://play.google.com/store/apps/details?id=com.stsbd.fahim.usbangla&hl=bn&gl=US",children:(0,a.jsx)(d(),{src:(0,v.NR)("/HomePage/Google-Play.png"),quality:100,alt:"something",layout:"fill",objectPosition:"center",unoptimized:!0})})})]})]})})}),(0,a.jsx)("div",{className:"col-span-1 flex flex-col lg:flex-row gap-4 ",children:(0,a.jsx)("div",{className:"flex flex-1",children:(0,a.jsxs)("div",{className:"py-4 sm:flex flex-col space-y-4 px-4 md:px-1 lg:px-0",children:[(0,a.jsx)("h1",{className:"text-cardHeader font-thin font-marcellus text-white",children:"Stay Connected"}),(0,a.jsx)("p",{className:"font-roboto font-normal text-footerDescriptionBottomPart text-[#A9A9A9]",children:"Share your Flight experience."}),(0,a.jsx)("div",{className:"py-10",children:(0,a.jsxs)("ul",{className:"flex justify-center gap-2 sm:justify-start",children:[(0,a.jsx)("li",{className:"w-10 h-10 rounded bg-gradient-to-t bg-black flex justify-center items-center",children:(0,a.jsxs)("a",{href:"https://www.facebook.com/usbair/",rel:"noopener noreferrer",target:"_blank",className:"text-white transition hover:text-secondary",children:[(0,a.jsx)("span",{className:"sr-only",children:"Facebook"}),(0,a.jsx)("svg",{className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987
6h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z",clipRule:"evenodd"})})]})}),(0,a.jsx)("li",{className:"w-10 h-10 rounded bg-gradient-to-t bg-black flex justify-center items-center",children:(0,a.jsxs)("a",{href:"https://www.instagram.com/usbanglaairlines/",rel:"noopener noreferrer",target:"_blank",className:"text-white transition hover:text-secondary",children:[(0,a.jsx)("span",{className:"sr-only",children:"Instagram"}),(0,a.jsx)("svg",{className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z",clipRule:"evenodd"})})]})}),(0,a.jsx)("li",{className:"w-10 h-10 rounded bg-gradient-to-t bg-black flex justify-center items-center",children:(0,a.jsxs)("a",{href:"https://twitter.com/usbair",rel:"noopener noreferrer",target:"_blank",className:"text-white transition hover:text-secondary",children:[(0,a.jsx)("span",{className:"sr-only",children:"Twitter"}),(0,a.jsx)("svg",{className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"})})]})}),(0,a.jsx)("li",{className:"w-10 h-10 rounded bg-gradient-to-t bg-black flex justify-center items-center",children:(0,a.jsxs)("a",{href:"https://www.linkedin.com/company/usbair/",rel:"noopener noreferrer",target:"_blank",className:"text-white transition hover:text-secondary",children:[(0,a.jsx)("span",{className:"sr-only",children:" Linked In"}),(0,a.jsx)("div",{children:(0,a.jsx)(m.NQh,{className:"w-8 h-8"})})]})}),(0,a.jsx)("li",{className:"w-10 h-10 rounded bg-gradient-to-t bg-black flex justify-center items-center",children:(0,a.jsxs)("a",{href:"https://www.youtube.com/channel/UCj5bfCmYsLi3J3xfTsOyeBQ",rel:"noopener noreferrer",target:"_blank",className:"text-white transition hover:text-secondary",children:[(0,a.jsx)("span",{className:"sr-only",children:"You Tube"}),(0,a.jsx)("div",{children:(0,a.jsx)(p.RLq,{className:"w-8 h-8"})})]})})]})})]})})})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-0 sm:grid-cols-1 md:grid-cols-1 lg:grid-cols-1 -my-16 lg:-my-0 ",children:(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)("div",{className:"col-span-2 w-full",children:(0,a.jsx)("div",{className:"py-2 space-y-4 w-full px-4",children:(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"sm:flex sm:justify-between sm:items-center py-4",children:(0,a.jsx)("div",{className:"footerCopyRightText footerCopyRightTextWeight font-inter text-center sm:mt-0 sm:text-right text-white",children:(0,a.jsx)("div",{className:"flex flex-1",children:(0,a.jsxs)("p",{className:"font-roboto font-medium text-footerCopyRightText text-white",children:["\xa9 ".concat(y.getFullYear()," "),"US-Bangla Airlines. All rights reserved."]})})})})})})}),(0,a.jsx)("div",{className:"col-span-1",children:(0,a.jsx)("div",{className:"lg:w-full lg:h-full md:w-full md:h-full sm:w-1/2 sm:h-1/2 flex justify-start items-center pb-4",children:(0,a.jsx)(h(),{href:"/",children:(0,a.jsx)(d(),{src:(0,v.NR)("/images/home_page/u
6sbair_white_logo.png"),alt:"airlines_logo",width:"277px",height:"59px",className:"transition hover:cursor-pointer",unoptimized:!0})})})})]})})]})]})]})}},69920:function(e,t,n){"use strict";var r=n(85893),i=n(45697),o=n.n(i),a=function(e){var t=e.position,n=e.width,i=e.children;return(0,r.jsx)("div",{className:"absolute !z-[99999999] mt-1 transition duration-1000 ease-in-out rounded-md min-w-full ".concat(s(t)," ").concat(null!=n?n:""),children:i})},s=function(e){switch(e){case"left":default:return"left-0";case"right":return"left-0 md:right-0 md:left-auto";case"center":return"flex justify-center items-center mx-auto"}};a.propTypes={position:o().string,children:o().node,width:o().string},a.defaultProps={position:"left",children:null},t.Z=a},26314:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(85893),i=n(88357);function o(e){return(0,i.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",d:"M240 304h32l6-160h-44l6 160z"}},{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm20 319.91h-40v-40h40zM272 304h-32l-6-160h44z"}}]})(e)}var a=function(e){var t=e.isOpen,n=(e.closeFunc,e.msg),i=e.type;return t?(0,r.jsxs)("div",{className:"flex items-center font-roboto text-base font-normal space-x-2 border rounded py-3 pl-3 relative ".concat("success"===i?"text-[#197143] border-[#5befbe] bg-[#dbfcde]":"text-[#71192F] border-[#EF665B] bg-[#FCE8DB]"),children:[(0,r.jsx)(o,{className:"text-2xl ".concat("success"===i?"text-[#197143]":"text-[#EF665B]")}),(0,r.jsx)("div",{children:null!=n?n:"Something went wrong."}),"success"!==i&&(0,r.jsx)(r.Fragment,{})]}):null}},28605:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(11010),i=n(91309),o=n(97582),a=n(85893),s=n(67294),l=n(85518),u=n(53854),c=n(51649),d=n(86772);function f(){var e,t,n,f,h=(0,i._)((0,s.useState)(0),2),p=h[0],m=h[1],g=(0,i._)((0,s.useState)([]),2),v=g[0],y=g[1],b=(0,i._)((0,s.useState)(0),2),x=b[0],w=b[1],E=(e=(0,r._)(function(){var e;return(0,o.Jh)(this,function(t){switch(t.label){case 0:if(l.tq)return[3,2];return[4,(0,d.Yu)("/api/get-announcement-info")];case 1:y((e=t.sent()).data.data),w(e.data.length),t.label=2;case 2:return[2]}})}),function(){return e.apply(this,arguments)}),S=function(){m(function(e){return e+1})};return(0,s.useEffect)(function(){p===x&&m(0)},[p,x]),(0,s.useEffect)(function(){E()},[]),(0,s.useEffect)(function(){var e=setInterval(S,5e3);return function(){clearInterval(e)}},[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"hidden md:flex items-center",children:[v&&(0,a.jsxs)("div",{className:"font-semibold flex flex-row justify-center items-center ml-0 lg:ml-8 gap-2 my-auto max-h-16",children:[(null===(t=v[p])||void 0===t?void 0:t.type)==="Announcement"?(0,a.jsx)(u.baL,{className:"h-6 bg-blend-color-dodge w-6 my-1 text-[#7F0A0E]","aria-hidden":"true"}):(0,a.jsx)(c.D4h,{className:"h-6 w-6 my-1 text-[#7F0A0E]","aria-hidden":"true"}),(0,a.jsxs)("p",{className:"font-semibold text-[15px] text-[#7F0A0E] font-marcellus",children:[null===(n=v[p])||void 0===n?void 0:n.type," "]}),(0,a.jsx)("p",{className:"font-semibold px-2 transition delay-150 duration-300 text-[#333333] font-inter text-[14px]",children:null===(f=v[p])||void 0===f?void 0:f.title})]}),!v&&(0,a.jsx)("p",{className:"flex font-semibold gap-2 my-auto ml-8 text-amber-700",children:"No ANNOUNCEMENT available"})]})})}},63245:function(e,t,n){"use strict";n.d(t,{Z:function(){return aT}});var r,i,o,a,s,l,u,c,d,f,h,p,m=n(91309),g=n(85893),v=n(67294);function y(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,y),r}var b=((r=b||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),x=((i=x||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function w({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a}){let s=S(t,e);if(o)return E(s,n,r,a);let l=null!=i?i:0;if(2&l){let{static:e=!1,...t}=s;if(e)return E(t,n,r,a)}if(1&l){let{unmount:e=!0,...t}=s;return y(e?0:1,{0:()=>null,1:()=>E({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return E(s,n,r,a)}function E(e,t={},n,r){let{as:i=n,children:o,refName:a="ref",...s}=k(e,["unmount","static"]),l=void 0!==e.ref?{[a]:e.ref}:{},u="function"==typeof o?o(t):o;s.className&&"function"==typeof s.className&&(s.className=s.className(t));let c={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(c["data-headlessui-state"]=n.join(" "))}if(i===v.Fragment&&Object.keys(j(s)).length>0){if(!(0,v.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map(e=>` - ${e}`).join(` 7`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 8`)].join(` 9`));return(0,v.cloneElement)(u,Object.assign({},S(u.props,j(k(s,["ref"]))),c,l,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(u.ref,l.ref)))}return(0,v.createElement)(i,Object.assign({},k(s,["ref"]),i!==v.Fragment&&l,i!==v.Fragment&&c),u)}function S(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){for(let i of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...r)}}});return t}function C(e){var t;return Object.assign((0,v.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function j(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function k(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}let A="undefined"==typeof window||"undefined"==typeof document,N=A?v.useEffect:v.useLayoutEffect,T=function(e){let t;let n=(t=(0,v.useRef)(e),N(()=>{t.current=e},[e]),t);return v.useCallback((...e)=>n.current(...e),[n])},R=Symbol();function P(...e){let t=(0,v.useRef)(e);(0,v.useEffect)(()=>{t.current=e},[e]);let n=T(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[R]))?void 0:n}let M={serverHandoffComplete:!1},_=0;function O(){return++_}let B=null!=(f=v.useId)?f:function(){let e=function(){let[e,t]=(0,v.useState)(M.serverHandoffComplete);return(0,v.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,v.useEffect)(()=>{!1===M.serverHandoffComplete&&(M.serverHandoffComplete=!0)},[]),e}(),[t,n]=v.useState(e?O:null);return N(()=>{null===t&&n(O())},[t]),null!=t?""+t:void 0};var L=((o=L||{}).Space=" ",o.Enter="Enter",o.Escape="Escape",o.Backspace="Backspace",o.Delete="Delete",o.ArrowLeft="ArrowLeft",o.ArrowUp="ArrowUp",o.ArrowRight="ArrowRight",o.ArrowDown="ArrowDown",o.Home="Home",o.End="End",o.PageUp="PageUp",o.PageDown="PageDown",o.Tab="Tab",o);let D=(0,v.createContext)(null);D.displayName="OpenClosedContext";var F=((a=F||{})[a.Open=0]="Open",a[a.Closed=1]="Closed",a);function I({value:e,children:t}){return v.createElement(D.Provider,{value:e},t)}function z(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}var V=((s=V||{})[s.Open=0]="Open",s[s.Closed=1]="Closed",s),U=((l=U||{})[l.ToggleDisclosure=0]="ToggleDisclosure",l[l.CloseDisclosure=1]="CloseDisclosure",l[l.SetButtonId=2]="SetButtonId",l[l.SetPanelId=3]="SetPanelId",l[l.LinkPanel=4]="LinkPanel",l[l.UnlinkPanel=5]="UnlinkPanel",l);let H={0:e=>({...e,disclosureState:y(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>
9e.panelId===t.panelId?e:{...e,panelId:t.panelId}},q=(0,v.createContext)(null);function W(e){let t=(0,v.useContext)(q);if(null===t){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,W),t}return t}q.displayName="DisclosureContext";let $=(0,v.createContext)(null);$.displayName="DisclosureAPIContext";let G=(0,v.createContext)(null);function Z(e,t){return y(t.type,H,e,t)}G.displayName="DisclosurePanelContext";let Y=v.Fragment,K=C(function(e,t){let{defaultOpen:n=!1,...r}=e,i=(0,v.useRef)(null),o=P(t,function(e,t=!0){return Object.assign(e,{[R]:t})}(e=>{i.current=e},void 0===e.as||e.as===v.Fragment)),a=(0,v.useRef)(null),s=(0,v.useRef)(null),l=(0,v.useReducer)(Z,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:s,panelRef:a,buttonId:null,panelId:null}),[{disclosureState:u,buttonId:c},d]=l,f=T(e=>{d({type:1});let t=A?null:i instanceof Node?i.ownerDocument:null!=i&&i.hasOwnProperty("current")&&i.current instanceof Node?i.current.ownerDocument:document;if(!t||!c)return;let n=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(c):t.getElementById(c);null==n||n.focus()}),h=(0,v.useMemo)(()=>({close:f}),[f]),p=(0,v.useMemo)(()=>({open:0===u,close:f}),[u,f]);return v.createElement(q.Provider,{value:l},v.createElement($.Provider,{value:h},v.createElement(I,{value:y(u,{0:F.Open,1:F.Closed})},w({ourProps:{ref:o},theirProps:r,slot:p,defaultTag:Y,name:"Disclosure"}))))}),X=C(function(e,t){let n=B(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[o,a]=W("Disclosure.Button"),s=(0,v.useContext)(G),l=null!==s&&s===o.panelId,u=(0,v.useRef)(null),c=P(u,t,l?null:o.buttonRef);(0,v.useEffect)(()=>{if(!l)return a({type:2,buttonId:r}),()=>{a({type:2,buttonId:null})}},[r,a,l]);let d=T(e=>{var t;if(l){if(1===o.disclosureState)return;switch(e.key){case L.Space:case L.Enter:e.preventDefault(),e.stopPropagation(),a({type:0}),null==(t=o.buttonRef.current)||t.focus()}}else switch(e.key){case L.Space:case L.Enter:e.preventDefault(),e.stopPropagation(),a({type:0})}}),f=T(e=>{e.key===L.Space&&e.preventDefault()}),h=T(t=>{var n;(function(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r})(t.currentTarget)||e.disabled||(l?(a({type:0}),null==(n=o.buttonRef.current)||n.focus()):a({type:0}))}),p=(0,v.useMemo)(()=>({open:0===o.disclosureState}),[o]),m=function(e,t){let[n,r]=(0,v.useState)(()=>z(e));return N(()=>{r(z(e))},[e.type,e.as]),N(()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}(e,u);return w({ourProps:l?{ref:c,type:m,onKeyDown:d,onClick:h}:{ref:c,id:r,type:m,"aria-expanded":e.disabled?void 0:0===o.disclosureState,"aria-controls":o.linkedPanel?o.panelId:void 0,onKeyDown:d,onKeyUp:f,onClick:h},theirProps:i,slot:p,defaultTag:"button",name:"Disclosure.Button"})}),J=b.RenderStrategy|b.Static,Q=Object.assign(K,{Button:X,Panel:C(function(e,t){let n=B(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[o,a]=W("Disclosure.Panel"),{close:s}=function e(t){let n=(0,v.useContext)($);if(null===n){let n=Error(`<${t} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,e),n}return n}("Disclosure.Panel"),l=P(t,o.panelRef,e=>{a({type:e?4:5})});(0,v.useEffect)(()=>(a({type:3,panelId:r}),()=>{a({type:3,panelId:null})}),[r,a]);let u=(0,v.useContext)(D),c=null!==u?u===F.Open:0===o.disclosureState,d=(0,v.useMemo)(()=>({open:0===o.disclosureState,close:s}),[o,s]);return v.createElement(G.Provider,{value:o.panelId},w({ourProps:{ref:l,id:r},theirProps:i,slot:d,defaultTag:"div",features:J,visible:c,name:"Disclosure.Panel"}))})});var ee=n(89755),et=n.n(ee),en=n(41664),er=n.n(en),ei=n(47128),eo=n(51649),ea=n(76779),es=n(11163),el=function(e){var t=e.menus,n=(0,v.useContext)(ea.bX),r=n.selectedMenu,i=n.setSelectedMenu,o=n.isSubMenuOpen,a=n.setIsSubMenuOpen,s=(0,es.useRouter)();return(0,g.jsx)("ul",{className:"list-none flex justify-start items-center xl:gap-x-6 lg:gap-x-2 h-full overflow-clip font-roboto font-bold text-footerDescriptionBottomPart text-[#FFFFFF] uppercase sm:display:none",children:(0,g.jsx)(g.Fragment,{children:t.map(function(e,t){return(0,g.jsx)("li",{className:"relative hover:cursor-pointer ".concat("Flight Status"===e.label?"lg:hidden block":""),onClick:function(){e.redirect?("Flight Status"===e.label?window.open("".concat("https://fo-usba.ttinteractive.com",'/Zenith/FrontOffice/usbangla/en-GB/Customer/Login", "_blank')):s.push(e.link),i(e.label)):(i(e.label),r===e.label?a(!o):a(!0))},children:(0,g.jsxs)("div",{className:"relative text-center px-2",children:[(0,g.jsx)("p",{className:"text-[15px] whitespace-nowrap",children:null==e?void 0:e.label}),e.label===r&&(0,g.jsxs)("div",{className:"absolute -bottom-7 text-white w-full text-center grid place-items-center bg-[#292929] pt-10 ",children:[(0,g.jsx)("p",{className:"absolute text-[15px] pb-3",children:null==e?void 0:e.label}),(0,g.jsx)(eo.RPR,{size:32})]})]})},t)})})})},eu=n(83454);let ec=(void 0===eu||eu.env,"production"),ed=1/60*1e3,ef="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),eh="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(ef()),ed),ep={delta:0,timestamp:0},em=!0,eg=!1,ev=!1,ey=["read","update","preRender","render","postRender"],eb=ey.reduce((e,t)=>
9(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1,a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{let l=s&&i,u=l?t:n;return o&&a.add(e),-1===u.indexOf(e)&&(u.push(e),l&&i&&(r=t.length)),e},cancel:e=>{let t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length)for(let n=0;n<r;n++){let r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}};return s}(()=>eg=!0),e),{}),ex=ey.reduce((e,t)=>{let n=eb[t];return e[t]=(e,t=!1,r=!1)=>(eg||ej(),n.schedule(e,t,r)),e},{}),ew=ey.reduce((e,t)=>(e[t]=eb[t].cancel,e),{}),eE=ey.reduce((e,t)=>(e[t]=()=>eb[t].process(ep),e),{}),eS=e=>eb[e].process(ep),eC=e=>{eg=!1,ep.delta=em?ed:Math.max(Math.min(e-ep.timestamp,40),1),ep.timestamp=e,ev=!0,ey.forEach(eS),ev=!1,eg&&(em=!1,eh(eC))},ej=()=>{eg=!0,em=!0,ev||eh(eC)},ek="undefined"!=typeof document,eA=ek?v.useLayoutEffect:v.useEffect;function eN(){let e=(0,v.useRef)(!1);return eA(()=>(e.current=!0,()=>{e.current=!1}),[]),e}let eT=(0,v.createContext)(null);function eR(e){let t=(0,v.useRef)(null);return null===t.current&&(t.current=e()),t.current}class eP extends v.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function eM({children:e,isPresent:t}){let n=(0,v.useId)(),r=(0,v.useRef)(null),i=(0,v.useRef)({width:0,height:0,top:0,left:0});return(0,v.useInsertionEffect)(()=>{let{width:e,height:o,top:a,left:s}=i.current;if(t||!r.current||!e||!o)return;r.current.dataset.motionPopId=n;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` 10 [data-motion-pop-id="${n}"] { 11 position: absolute !important; 12 width: ${e}px !important; 13 height: ${o}px !important; 14 top: ${a}px !important; 15 left: ${s}px !important; 16 } 17 `),()=>{document.head.removeChild(l)}},[t]),v.createElement(eP,{isPresent:t,childRef:r,sizeRef:i},v.cloneElement(e,{ref:r}))}let e_=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{let s=eR(eO),l=(0,v.useId)(),u=(0,v.useMemo)(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:e=>{for(let t of(s.set(e,!0),s.values()))if(!t)return;r&&r()},register:e=>(s.set(e,!1),()=>s.delete(e))}),o?void 0:[n]);return(0,v.useMemo)(()=>{s.forEach((e,t)=>s.set(t,!1))},[n]),v.useEffect(()=>{n||s.size||!r||r()},[n]),"popLayout"===a&&(e=v.createElement(eM,{isPresent:n},e)),v.createElement(eT.Provider,{value:u},e)};function eO(){return new Map}let eB=(0,v.createContext)({});function eL(e){return(0,v.useEffect)(()=>()=>e(),[])}let eD=new Set;function eF(e,t,n){e||eD.has(t)||(console.warn(t),n&&console.warn(n),eD.add(t))}let eI=e=>e.key||"",ez=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait",eF(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=function(){let e=eN(),[t,n]=(0,v.useState)(0),r=(0,v.useCallback)(()=>{e.current&&n(t+1)},[t]),i=(0,v.useCallback)(()=>ex.postRender(r),[r]);return[i,t]}(),l=(0,v.useContext)(eB).forceRender;l&&(s=l);let u=eN(),c=function(e){let t=[];return v.Children.forEach(e,e=>{(0,v.isValidElement)(e)&&t.push(e)}),t}(e),d=c,f=new Set,h=(0,v.useRef)(d),p=(0,v.useRef)(new Map).current,m=(0,v.useRef)(!0);if(eA(()=>{m.current=!1,function(e,t){e.forEach(e=>{let n=eI(e);t.set(n,e)})}(c,p),h.current=d}),eL(()=>{m.current=!0,p.clear(),f.clear()}),m.current)return v.createElement(v.Fragment,null,d.map(e=>v.createElement(e_,{key:eI(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:o,mode:a},e)));d=[...d];let g=h.current.map(eI),y=c.map(eI),b=g.length;for(let e=0;e<b;e++){let t=g[e];-1===y.indexOf(t)&&f.add(t)}return"wait"===a&&f.size&&(d=[]),f.forEach(e=>{if(-1!==y.indexOf(e))return;let n=p.get(e);if(!n)return;let i=g.indexOf(e);d.splice(i,0,v.createElement(e_,{key:eI(n),isPresent:!1,onExitComplete:()=>{p.delete(e),f.delete(e);let t=h.current.findIndex(t=>t.key===e);
17if(h.current.splice(t,1),!f.size){if(h.current=c,!1===u.current)return;s(),r&&r()}},custom:t,presenceAffectsLayout:o,mode:a},n))}),d=d.map(e=>{let t=e.key;return f.has(t)?e:v.createElement(e_,{key:eI(e),isPresent:!0,presenceAffectsLayout:o,mode:a},e)}),"production"!==ec&&"wait"===a&&d.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),v.createElement(v.Fragment,null,f.size?d:d.map(e=>(0,v.cloneElement)(e)))},eV=(0,v.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),eU=(0,v.createContext)({}),eH=(0,v.createContext)({strict:!1});function eq(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function eW(e){return"string"==typeof e||Array.isArray(e)}function e$(e){return"object"==typeof e&&"function"==typeof e.start}let eG=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function eZ(e){return e$(e.animate)||eG.some(t=>eW(e[t]))}function eY(e){return!!(eZ(e)||e.variants)}function eK(e){return Array.isArray(e)?e.join(" "):e}let eX=e=>({isEnabled:t=>e.some(e=>!!t[e])}),eJ={measureLayout:eX(["layout","layoutId","drag"]),animation:eX(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:eX(["exit"]),drag:eX(["drag","dragControls"]),focus:eX(["whileFocus"]),hover:eX(["whileHover","onHoverStart","onHoverEnd"]),tap:eX(["whileTap","onTap","onTapStart","onTapCancel"]),pan:eX(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:eX(["whileInView","onViewportEnter","onViewportLeave"])},eQ={hasAnimatedSinceResize:!0,hasEverUpdated:!1},e0=1;class e1 extends v.Component{getSnapshotBeforeUpdate(){let{visualElement:e,props:t}=this.props;return e&&e.setProps(t),null}componentDidUpdate(){}render(){return this.props.children}}let e2=(0,v.createContext)({}),e4=Symbol.for("motionComponentSymbol"),e3=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function e5(e){if("string"!=typeof e||e.includes("-"));else if(e3.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let e6={},e8=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],e7=new Set(e8);function e9(e,{layout:t,layoutId:n}){return e7.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!e6[e]||"opacity"===e)}let te=e=>!!(null==e?void 0:e.getVelocity),tt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tn=(e,t)=>e8.indexOf(e)-e8.indexOf(t);function tr(e){return e.startsWith("--")}let ti=(e,t)=>t&&"number"==typeof e?t.transform(e):e,to=(e,t,n)=>Math.min(Math.max(n,e),t),ta={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},ts={...ta,transform:e=>to(0,1,e)},tl={...ta,default:1},tu=e=>Math.round(1e5*e)/1e5,tc=/(-)?([\d]*\.?[\d])+/g,td=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,tf=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function th(e){return"string"==typeof e}let tp=e=>({test:t=>th(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),tm=tp("deg"),tg=tp("%"),tv=tp("px"),ty=tp("vh"),tb=tp("vw"),tx={...tg,parse:e=>tg.parse(e)/100,transform:e=>tg.transform(100*e)},tw={...ta,transform:Math.round},tE={borderWidth:tv,borderTopWidth:tv,borderRightWidth:tv,borderBottomWidth:tv,borderLeftWidth:tv,borderRadius:tv,radius:tv,borderTopLeftRadius:tv,borderTopRightRadius:tv,borderBottomRightRadius:tv,borderBottomLeftRadius:tv,width:tv,maxWidth:tv,height:tv,maxHeight:tv,size:tv,top:tv,right:tv,bottom:tv,left:tv,padding:tv,paddingTop:tv,paddingRight:tv,paddingBottom:tv,paddingLeft:tv,margin:tv,marginTop:tv,marginRight:tv,marginBottom:tv,marginLeft:tv,rotate:tm,rotateX:tm,rotateY:tm,rotateZ:tm,scale:tl,scaleX:tl,scaleY:tl,scaleZ:tl,skew:tm,skewX:tm,skewY:tm,distance:tv,translateX:tv,translateY:tv,translateZ:tv,x:tv,y:tv,z:tv,perspective:tv,transformPerspective:tv,opacity:ts,originX:tx,originY:tx,originZ:tv,zIndex:tw,fillOpacity:ts,strokeOpacity:ts,numOctaves:tw};function tS(e,t,n,r){let{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:l}=e;s.length=0;
17let u=!1,c=!1,d=!0;for(let e in t){let n=t[e];if(tr(e)){o[e]=n;continue}let r=tE[e],f=ti(n,r);if(e7.has(e)){if(u=!0,a[e]=f,s.push(e),!d)continue;n!==(r.default||0)&&(d=!1)}else e.startsWith("origin")?(c=!0,l[e]=f):i[e]=f}if(!t.transform&&(u||r?i.transform=function({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";for(let n of(t.sort(tn),t))a+=`${tt[n]||n}(${e[n]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}(e,n,d,r):i.transform&&(i.transform="none")),c){let{originX:e="50%",originY:t="50%",originZ:n=0}=l;i.transformOrigin=`${e} ${t} ${n}`}}let tC=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function tj(e,t,n){for(let r in t)te(t[r])||e9(r,n)||(e[r]=t[r])}function tk(e,t,n){let r={},i=function(e,t,n){let r=e.style||{},i={};return tj(i,r,e),Object.assign(i,function({transformTemplate:e},t,n){return(0,v.useMemo)(()=>{let r=tC();return tS(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),r.style=i,r}let tA=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function tN(e){return tA.has(e)}let tT=e=>!tN(e);try{(u=require("@emotion/is-prop-valid").default)&&(tT=e=>e.startsWith("on")?!tN(e):u(e))}catch(e){}function tR(e,t,n){return"string"==typeof e?e:tv.transform(t+n*e)}let tP={offset:"stroke-dashoffset",array:"stroke-dasharray"},tM={offset:"strokeDashoffset",array:"strokeDasharray"};function t_(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,c,d){if(tS(e,l,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:h,dimensions:p}=e;f.transform&&(p&&(h.transform=f.transform),delete f.transform),p&&(void 0!==r||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){let r=tR(t,e.x,e.width),i=tR(n,e.y,e.height);return`${r} ${i}`}(p,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==o&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?tP:tM;e[o.offset]=tv.transform(-r);let a=tv.transform(t),s=tv.transform(n);e[o.array]=`${a} ${s}`}(f,o,a,s,!1)}let tO=()=>({...tC(),attrs:{}}),tB=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tL(e,t,n,r){let i=(0,v.useMemo)(()=>{let n=tO();return t_(n,t,{enableHardwareAcceleration:!1},tB(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};tj(t,e.style,e),i.style={...t,...i.style}}return i}let tD=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function tF(e,{style:t,vars:n},r,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}let tI=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function tz(e,t,n,r){for(let n in tF(e,t,void 0,r),t.attrs)e.setAttribute(tI.has(n)?n:tD(n),t.attrs[n])}function tV(e){let{style:t}=e,n={};for(let r in t)(te(t[r])||e9(r,e))&&(n[r]=t[r]);return n}function tU(e){let t=tV(e);for(let n in e)if(te(e[n])){let r="x"===n||"y"===n?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function tH(e,t,n,r={},i={}
17){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}let tq=e=>Array.isArray(e),tW=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),t$=e=>tq(e)?e[e.length-1]||0:e;function tG(e){let t=te(e)?e.get():e;return tW(t)?t.toValue():t}let tZ=e=>(t,n)=>{let r=(0,v.useContext)(eU),i=(0,v.useContext)(eT),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){let a={latestValues:function(e,t,n,r){let i={},o=r(e);for(let e in o)i[e]=tG(o[e]);let{initial:a,animate:s}=e,l=eZ(e),u=eY(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!n&&!1===n.initial;c=c||!1===a;let d=c?s:a;if(d&&"boolean"!=typeof d&&!e$(d)){let t=Array.isArray(d)?d:[d];t.forEach(t=>{let n=tH(e,t);if(!n)return;let{transitionEnd:r,transition:o,...a}=n;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let e in r)i[e]=r[e]})}return i}(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a})(e,t,r,i);return n?o():eR(o)},tY={useVisualState:tZ({scrapeMotionValuesFromProps:tU,createRenderState:tO,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}t_(n,r,{enableHardwareAcceleration:!1},tB(t.tagName),e.transformTemplate),tz(t,n)}})},tK={useVisualState:tZ({scrapeMotionValuesFromProps:tV,createRenderState:tC})};function tX(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function tJ(e,t,n,r){(0,v.useEffect)(()=>{let i=e.current;if(n&&i)return tX(i,t,n,r)},[e,t,n,r])}function tQ(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function t0(e){let t=!!e.touches;return t}(c=h||(h={})).Animate="animate",c.Hover="whileHover",c.Tap="whileTap",c.Drag="whileDrag",c.Focus="whileFocus",c.InView="whileInView",c.Exit="exit";let t1={pageX:0,pageY:0};function t2(e,t="page"){return{point:t0(e)?function(e,t="page"){let n=e.touches[0]||e.changedTouches[0],r=n||t1;return{x:r[t+"X"],y:r[t+"Y"]}}(e,t):function(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}(e,t)}}let t4=(e,t=!1)=>{let n=t=>e(t,t2(t));return t?e=>{let t=e instanceof MouseEvent,r=!t||t&&0===e.button;r&&n(e)}:n},t3=()=>ek&&null===window.onpointerdown,t5=()=>ek&&null===window.ontouchstart,t6=()=>ek&&null===window.onmousedown,t8={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},t7={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function t9(e){if(t3());else if(t5())return t7[e];else if(t6())return t8[e];return e}function ne(e,t,n,r){return tX(e,t9(t),t4(n,"pointerdown"===t),r)}function nt(e,t,n,r){return tJ(e,t9(t),n&&t4(n,"pointerdown"===t),r)}function nn(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let nr=nn("dragHorizontal"),ni=nn("dragVertical");function no(e){let t=!1;if("y"===e)t=ni();else if("x"===e)t=nr();else{let e=nr(),n=ni();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function na(){let e=no(!0);return!e||(e(),!1)}function ns(e,t,n){return(r,i)=>{!(!tQ(r)||na())&&(e.animationState&&e.animationState.setActive(h.Hover,t),n&&n(r,i))}}let nl=(e,t)=>!!t&&(e===t||nl(e,t.parentElement)),nu=(e,t)=>n=>t(e(n)),nc=(...e)=>e.reduce(nu),nd=new WeakMap,nf=new WeakMap,nh=e=>{let t=nd.get(e.target);t&&t(e)},np=e=>{e.forEach(nh)},nm={some:0,all:1};function ng(e,t,n,{root:r,margin:i,amount:o="some",once:a}){(0,v.useEffect)(()=>{if(!e||!n.current)return;let s={root:null==r?void 0:r.current,rootMargin:i,threshold:"number"==typeof o?o:nm[o]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;nf.has(n)||nf.set(n,{});let r=nf.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(np,{root:e,...t})),r[i]}(t);return nd.set(e,n),r.observe(e),()=>{nd.delete(e),r.unobserve(e)}}(n.current,s,e=>{let{isIntersecting:r}=e;if(t.isInView===r||(t.isInView=r,a&&!r&&t.hasEnteredView))return;r&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(h.InView,r);let i=n.getProps(),o=r?i.onViewportEnter:i.onViewportLeave;o&&o(e)})},[e,r,i,o])}function nv(e,t,n,{fallback:r=!0}){(0,v.useEffect)(()=>{e&&r&&("production"!==ec&&eF(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;let{onViewportEnter:e}=n.getProps();e&&e(null),n.animationState&&n.animationState.setActive(h.InView,!0)}))},[e])}let ny=e=>t=>(e(t),null),nb={inView:ny(function({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){let o=(0,v.useRef)({hasEnteredView:!1,isInView:!1}),a=!!(t||n||r);
17i.once&&o.current.hasEnteredView&&(a=!1);let s="undefined"==typeof IntersectionObserver?nv:ng;s(a,o.current,e,i)}),tap:ny(function({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){let o=e||t||n||r,a=(0,v.useRef)(!1),s=(0,v.useRef)(null),l={passive:!(t||e||n||p)};function u(){s.current&&s.current(),s.current=null}function c(){return u(),a.current=!1,i.animationState&&i.animationState.setActive(h.Tap,!1),!na()}function d(t,r){c()&&(nl(i.current,t.target)?e&&e(t,r):n&&n(t,r))}function f(e,t){c()&&n&&n(e,t)}function p(e,n){u(),!a.current&&(a.current=!0,s.current=nc(ne(window,"pointerup",d,l),ne(window,"pointercancel",f,l)),i.animationState&&i.animationState.setActive(h.Tap,!0),t&&t(e,n))}nt(i,"pointerdown",o?p:void 0,l),eL(u)}),focus:ny(function({whileFocus:e,visualElement:t}){let{animationState:n}=t;tJ(t,"focus",e?()=>{n&&n.setActive(h.Focus,!0)}:void 0),tJ(t,"blur",e?()=>{n&&n.setActive(h.Focus,!1)}:void 0)}),hover:ny(function({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){nt(r,"pointerenter",e||n?ns(r,!0,e):void 0,{passive:!e}),nt(r,"pointerleave",t||n?ns(r,!1,t):void 0,{passive:!t})})};function nx(){let e=(0,v.useContext)(eT);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=(0,v.useId)();return(0,v.useEffect)(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}function nw(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}let nE=e=>/^\-?\d*\.?\d+$/.test(e),nS=e=>/^0[^.\s]+$/.test(e);function nC(e,t){-1===e.indexOf(t)&&e.push(t)}function nj(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class nk{constructor(){this.subscriptions=[]}add(e){return nC(this.subscriptions,e),()=>nj(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function nA(e,t){return t?e*(1e3/t):0}let nN=e=>!isNaN(parseFloat(e));class nT{constructor(e,t={}){this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:n,timestamp:r}=ep;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,ex.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>ex.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=nN(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){return this.events[e]||(this.events[e]=new nk),this.events[e].add(t)}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e){this.passiveEffect=e}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?nA(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.stopAnimation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop()}}function nR(e,t){return new nT(e,t)}let nP=(e,t)=>n=>!!(th(n)&&tf.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),nM=(e,t,n)=>r=>{if(!th(r))return r;let[i,o,a,s]=r.match(tc);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},n_=e=>to(0,255,e),nO={...ta,transform:e=>Math.round(n_(e))},nB={test:nP("rgb","red"),parse:nM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+nO.transform(e)+", "+nO.transform(t)+", "+nO.transform(n)+", "+tu(ts.transform(r))+")"},nL={test:nP("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
17a:i?parseInt(i,16)/255:1}},transform:nB.transform},nD={test:nP("hsl","hue"),parse:nM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+tg.transform(tu(t))+", "+tg.transform(tu(n))+", "+tu(ts.transform(r))+")"},nF={test:e=>nB.test(e)||nL.test(e)||nD.test(e),parse:e=>nB.test(e)?nB.parse(e):nD.test(e)?nD.parse(e):nL.parse(e),transform:e=>th(e)?e:e.hasOwnProperty("red")?nB.transform(e):nD.transform(e)},nI="${c}",nz="${n}";function nV(e){"number"==typeof e&&(e=`${e}`);let t=[],n=0,r=0,i=e.match(td);i&&(n=i.length,e=e.replace(td,nI),t.push(...i.map(nF.parse)));let o=e.match(tc);return o&&(r=o.length,e=e.replace(tc,nz),t.push(...o.map(ta.parse))),{values:t,numColors:n,numNumbers:r,tokenised:e}}function nU(e){return nV(e).values}function nH(e){let{values:t,numColors:n,tokenised:r}=nV(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=t.replace(r<n?nI:nz,r<n?nF.transform(e[r]):tu(e[r]));return t}}let nq=e=>"number"==typeof e?0:e,nW={test:function(e){var t,n;return isNaN(e)&&th(e)&&((null===(t=e.match(tc))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(td))||void 0===n?void 0:n.length)||0)>0},parse:nU,createTransformer:nH,getAnimatableNone:function(e){let t=nU(e),n=nH(e);return n(t.map(nq))}},n$=new Set(["brightness","contrast","saturate","opacity"]);function nG(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(tc)||[];if(!r)return e;let i=n.replace(r,""),o=n$.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}let nZ=/([a-z-]*)\(.*?\)/g,nY={...nW,getAnimatableNone:e=>{let t=e.match(nZ);return t?t.map(nG).join(" "):e}},nK={...tE,color:nF,backgroundColor:nF,outlineColor:nF,fill:nF,stroke:nF,borderColor:nF,borderTopColor:nF,borderRightColor:nF,borderBottomColor:nF,borderLeftColor:nF,filter:nY,WebkitFilter:nY},nX=e=>nK[e];function nJ(e,t){var n;let r=nX(e);return r!==nY&&(r=nW),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}let nQ=e=>t=>t.test(e),n0=[ta,tv,tg,tm,tb,ty,{test:e=>"auto"===e,parse:e=>e}],n1=e=>n0.find(nQ(e)),n2=[...n0,nF,nW],n4=e=>n2.find(nQ(e));function n3(e,t,n){let r=e.getProps();return tH(r,t,void 0!==n?n:r.custom,function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}function n5(e){return!!(te(e)&&e.add)}let n6=(e,t)=>`${e}: ${t}`,n8="data-"+tD("framerAppearId");var n7=function(){},n9=function(){};let re=e=>1e3*e,rt={current:!1},rn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,rr=e=>t=>1-e(1-t),ri=e=>e*e,ro=rr(ri),ra=rn(ri),rs=(e,t,n)=>-n*e+n*t+e;function rl(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}let ru=(e,t,n)=>{let r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},rc=[nL,nB,nD],rd=e=>rc.find(t=>t.test(e));function rf(e){let t=rd(e);n9(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===nD&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=rl(s,r,e+1/3),o=rl(s,r,e),a=rl(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(n)),n}let rh=(e,t)=>{let n=rf(e),r=rf(t),i={...n};return e=>(i.red=ru(n.red,r.red,e),i.green=ru(n.green,r.green,e),i.blue=ru(n.blue,r.blue,e),i.alpha=rs(n.alpha,r.alpha,e),nB.transform(i))};function rp(e,t){return"number"==typeof e?n=>rs(e,t,n):nF.test(e)?rh(e,t):rv(e,t)}let rm=(e,t)=>{let n=[...e],r=n.length,i=e.map((e,n)=>rp(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},rg=(e,t)=>{let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=rp(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}},rv=(e,t)=>{let n=nW.createTransformer(t),r=nV(e),i=nV(t),o=r.numColors===i.numColors&&r.numNumbers>=i.numNumbers;return o?nc(rm(r.values,i.values),n):(n7(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?t:e}`)},ry=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},rb=(e,t)=>n=>
17rs(e,t,n);function rx(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;n9(o===t.length,"Both input and output ranges must be the same length"),n9(!r||!Array.isArray(r)||r.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],i=n||function(e){if("number"==typeof e);else if("string"==typeof e)return nF.test(e)?rh:rv;else if(Array.isArray(e))return rm;else if("object"==typeof e)return rg;return rb}(e[0]),o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]:t;o=nc(e,o)}r.push(o)}return r}(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let r=ry(e[n],e[n+1],t);return a[n](r)};return n?t=>l(to(e[0],e[o-1],t)):l}let rw=e=>e,rE=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function rS(e,t,n,r){if(e===t&&n===r)return rw;let i=t=>(function(e,t,n,r,i){let o,a;let s=0;do(o=rE(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a})(t,0,1,e,n);return e=>0===e||1===e?e:rE(i(e),t,r)}let rC=e=>1-Math.sin(Math.acos(e)),rj=rr(rC),rk=rn(rj),rA=rS(.33,1.53,.69,.99),rN=rr(rA),rT=rn(rN),rR={linear:rw,easeIn:ri,easeInOut:ra,easeOut:ro,circIn:rC,circInOut:rk,circOut:rj,backIn:rN,backInOut:rT,backOut:rA,anticipate:e=>(e*=2)<1?.5*rN(e):.5*(2-Math.pow(2,-10*(e-1)))},rP=e=>{if(Array.isArray(e)){n9(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return rS(t,n,r,i)}return"string"==typeof e?(n9(void 0!==rR[e],`Invalid easing type '${e}'`),rR[e]):e},rM=e=>Array.isArray(e)&&"number"!=typeof e[0];function r_({keyframes:e,ease:t=ra,times:n,duration:r=300}){e=[...e];let i=r_[0],o=rM(t)?t.map(rP):rP(t),a={done:!1,value:i},s=(n&&n.length===r_.length?n:function(e){let t=e.length;return e.map((e,n)=>0!==n?n/(t-1):0)}(e)).map(e=>e*r);function l(){var t;return rx(s,e,{ease:Array.isArray(o)?o:(t=e).map(()=>o||ra).splice(0,t.length-1)})}let u=l();return{next:e=>(a.value=u(e),a.done=e>=r,a),flipTarget:()=>{e.reverse(),u=l()}}}function rO(e,t){return e*Math.sqrt(1-t*t)}let rB=["duration","bounce"],rL=["stiffness","damping","mass"];function rD(e,t){return t.some(t=>void 0!==e[t])}function rF({keyframes:e,restSpeed:t=2,restDelta:n=.01,...r}){let i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rD(e,rL)&&rD(e,rB)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;n7(e<=1e4,"Spring duration must be 10 seconds or less");let a=1-t;a=to(.05,1,a),e=to(.01,10,e/1e3),a<1?(i=t=>{let r=t*a,i=r*e,o=rO(t,a);return .001-(r-n)/o*Math.exp(-i)},o=t=>{let r=t*a,o=r*e,s=Math.pow(a,2)*Math.pow(t,2)*e,l=rO(Math.pow(t,2),a),u=-i(t)+.001>0?-1:1;return u*((o*n+n-s)*Math.exp(-o))/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return -.001+r*i},o=t=>{let r=Math.exp(-t*e),i=(n-t)*(e*e);return r*i});let s=5/e,l=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,o,s);if(e*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(l,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,velocity:0,mass:1}).isResolvedFromDuration=!0}return t}(r),h=rI,p=c?-(c/1e3):0,m=l/(2*Math.sqrt(s*u));function g(){let e=o-i,t=Math.sqrt(s/u)/1e3;if(void 0===n&&(n=Math.min(Math.abs(o-i)/100,.4)),m<1){let n=rO(t,m);h=r=>{let i=Math.exp(-m*t*r);return o-i*((p+m*t*e)/n*Math.sin(n*r)+e*Math.cos(n*r))}}else if(1===m)h=n=>o-Math.exp(-t*n)*(e+(p+t*e)*n);else{let n=t*Math.sqrt(m*m-1);h=r=>{let i=Math.exp(-m*t*r),a=Math.min(n*r,300);return o-i*((p+m*t*e)*Math.sinh(a)+n*e*Math.cosh(a))/n}}}return g(),{next:e=>{let r=h(e);if(f)a.done=e>=d;else{let i=p;if(0!==e){if(m<1){let t=Math.max(0,e-5);i=nA(r-h(t),e-t)}else i=0}let s=Math.abs(i)<=t,l=Math.abs(o-r)<=n;a.done=s&&l}return a.value=a.done?o:r,a},flipTarget:()=>{p=-p,[i,o]=[o,i],g()}}}rF.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;let rI=e=>0,rz={decay:function({keyframes:e=[0],velocity:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){let a=e[0],s={done:!1,value:a},l=n*t,u=a+l,c=void 0===o?u:o(u);return c!==u&&(l=c-a),{next:e=>{let t=-l*Math.exp(-e/r);return s.done=!(t>i||t<-i),s.value=s.done?c:c+t,s},flipTarget:()=>{}}},keyframes:r_,tween:r_,spring:rF};function rV(e,t,n=0){return e-t-n}let rU=e=>{let t=({delta:t})=>e(t);return{start:()=>ex.update(t,!0),stop:()=>ew.update(t)}};function rH({duration:e,driver:t=rU,elapsed:n=0,repeat:r=0,repeatType:i="loop",repeatDelay:o=0,keyframes:a,autoplay:s=!0,onPlay:l,onStop:u,onComplete:c,onRepeat:d,onUp
17date:f,type:h="keyframes",...p}){var m;let g,v,y;let b=0,x=e,w=!1,E=!0,S=rz[a.length>2?"keyframes":h],C=a[0],j=a[a.length-1];(null===(m=S.needsInterpolation)||void 0===m?void 0:m.call(S,C,j))&&(y=rx([0,100],[C,j],{clamp:!1}),a=[0,100]);let k=S({...p,duration:e,keyframes:a});return s&&(l&&l(),(g=t(function(e){if(E||(e=-e),n+=e,!w){let e=k.next(Math.max(0,n));v=e.value,y&&(v=y(v)),w=E?e.done:n<=0}if(f&&f(v),w){if(0===b&&(x=void 0!==x?x:n),b<r){var t,a;t=n,a=x,(E?t>=a+o:t<=-o)&&(b++,"reverse"===i?n=function(e,t=0,n=0,r=!0){return r?rV(t+-e,t,n):t-(e-t)+n}(n,x,o,E=b%2==0):(n=rV(n,x,o),"mirror"===i&&k.flipTarget()),w=!1,d&&d())}else g.stop(),c&&c()}})).start()),{stop:()=>{u&&u(),g.stop()},sample:e=>k.next(Math.max(0,e))}}let rq=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,rW={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rq([0,.65,.55,1]),circOut:rq([.55,0,1,.45]),backIn:rq([.31,.01,.66,-.59]),backOut:rq([.33,1.53,.69,.99])};function r$(e,t){let n=performance.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&(ew.read(r),e(o-t))};return ex.read(r,!0),()=>ew.read(r)}let rG=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),rZ=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),rY=()=>({type:"keyframes",ease:"linear",duration:.3}),rK={type:"keyframes",duration:.8},rX={x:rG,y:rG,z:rG,rotate:rG,rotateX:rG,rotateY:rG,rotateZ:rG,scaleX:rZ,scaleY:rZ,scale:rZ,opacity:rY,backgroundColor:rY,color:rY,default:rZ},rJ=(e,{keyframes:t})=>{if(t.length>2)return rK;{let n=rX[e]||rX.default;return n(t[1])}},rQ=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&nW.test(t)&&!t.startsWith("url("));function r0(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function r1(e){return"number"==typeof e?0:nJ("",e)}function r2(e,t){return e[t]||e.default||e}let r4={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},r3={},r5={};for(let e in r4)r5[e]=()=>(void 0===r3[e]&&(r3[e]=r4[e]()),r3[e]);let r6=new Set(["opacity"]),r8=(e,t,n,r={})=>i=>{let o=r2(r,e)||{},a=o.delay||r.delay||0,{elapsed:s=0}=r;s-=re(a);let l=function(e,t,n,r){let i=rQ(t,n),o=void 0!==r.from?r.from:e.get();return("none"===o&&i&&"string"==typeof n?o=nJ(t,n):r0(o)&&"string"==typeof n?o=r1(n):!Array.isArray(n)&&r0(n)&&"string"==typeof o&&(n=r1(o)),Array.isArray(n))?(null===n[0]&&(n[0]=o),n):[o,n]}(t,e,n,o),u=l[0],c=l[l.length-1],d=rQ(e,u),f=rQ(e,c);n7(d===f,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),...o,elapsed:s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!d||!f||rt.current||!1===o.type)return function({keyframes:e,elapsed:t,onUpdate:n,onComplete:r}){let i=()=>(n&&n(e[e.length-1]),r&&r(),()=>{});return t?r$(i,-t):i()}(h);if("inertia"===o.type){let e=function({keyframes:e,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:h}){let p;let m=e[0];function g(e){return void 0!==n&&e<n||void 0!==r&&e>r}function v(e){return void 0===n?r:void 0===r?n:Math.abs(n-e)<Math.abs(r-e)?n:r}function y(e){null==p||p.stop(),p=rH({keyframes:[0,1],velocity:0,...e,driver:c,onUpdate:t=>{var n;null==d||d(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:f,onStop:h})}function b(e){y({type:"spring",stiffness:a,damping:s,restDelta:l,...e})}if(g(m))b({velocity:t,keyframes:[m,v(m)]});else{let e,r,a=i*t+m;void 0!==u&&(a=u(a));let s=v(a),c=s===n?-1:1;y({type:"decay",keyframes:[m,0],velocity:t,timeConstant:o,power:i,restDelta:l,modifyTarget:u,onUpdate:g(a)?n=>{e=r,r=n,t=nA(n-e,ep.delta),(1===c&&n>s||-1===c&&n<s)&&b({keyframes:[n,s],velocity:t})}:void 0})}return{stop:()=>null==p?void 0:p.stop()}}(h);return()=>e.stop()}!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,...u}){return!!Object.keys(u).length}(o)&&(h={...h,...rJ(e,h)}),h.duration&&(h.duration=re(h.duration)),h.repeatDelay&&(h.repeatDelay=re(h.repeatDelay));let p=t.owner,m=p&&p.current,g=r5.waapi()&&r6.has(e)&&!h.repeatDelay&&"mirror"!==h.repeatType&&0!==h.damping&&p&&m instanceof HTMLElement&&!p.getProps().onUp
17date;if(g)return function(e,t,{onUpdate:n,onComplete:r,...i}){var o;let{keyframes:a,duration:s=.3,elapsed:l=0,ease:u}=i;if("spring"===i.type||!(!(o=i.ease)||Array.isArray(o)||"string"==typeof o&&rW[o])){let e=rH(i),t={done:!1,value:a[0]},n=[],r=0;for(;!t.done;)t=e.sample(r),n.push(t.value),r+=10;a=n,s=r-10,u="linear"}let c=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){return e.animate({[t]:n,offset:l},{delay:r,duration:i,easing:function(e){if(e)return Array.isArray(e)?rq(e):rW[e]}(s),fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,a,{...i,delay:-l,duration:s,ease:u});return c.onfinish=()=>{e.set(a[a.length-1]),r&&r()},()=>{let{currentTime:t}=c;if(t){let n=rH(i);e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}ex.update(()=>c.cancel())}}(t,e,h);{let e=rH(h);return()=>e.stop()}};function r7(e,t,n={}){var r;let i=n3(e,t,n.custom),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let a=i?()=>r9(e,i,n):()=>Promise.resolve(),s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?(r=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(ie).forEach((e,r)=>{a.push(r7(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(n.delay)]);{let[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(t)}}function r9(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=e.makeTargetAnimatable(t),u=e.getValue("willChange");r&&(a=r);let c=[],d=i&&(null===(o=e.animationState)||void 0===o?void 0:o.getState()[i]);for(let t in l){let r=e.getValue(t),i=l[t];if(!r||void 0===i||d&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(d,t))continue;let o={delay:n,elapsed:0,...a};if(e.shouldReduceMotion&&e7.has(t)&&(o={...o,type:!1,delay:0}),!r.hasAnimated){let n=e.getProps()[n8];n&&(o.elapsed=function(e,t){let{MotionAppearAnimations:n}=window,r=n6(e,e7.has(t)?"transform":t),i=n&&n.get(r);return i?(ex.render(()=>{try{i.cancel(),n.delete(r)}catch(e){}}),i.currentTime||0):0}(n,t))}let s=r.start(r8(t,r,i,o));n5(u)&&(u.add(t),s=s.then(()=>u.remove(t))),c.push(s)}return Promise.all(c).then(()=>{s&&function(e,t){let n=n3(e,t),{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};for(let t in o={...o,...r}){let n=t$(o[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,nR(n))}}(e,s)})}function ie(e,t){return e.sortNodePosition(t)}let it=[h.Animate,h.InView,h.Focus,h.Hover,h.Tap,h.Drag,h.Exit],ir=[...it].reverse(),ii=it.length;function io(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let ia={animation:ny(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){let i=t.map(t=>r7(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=r7(e,t,n);else{let i="function"==typeof t?n3(e,t,n.custom):t;r=r9(e,i,n)}return r.then(()=>e.notify("AnimationComplete",t))})(e,t,n))),n={[h.Animate]:io(!0),[h.InView]:io(),[h.Hover]:io(),[h.Tap]:io(),[h.Drag]:io(),[h.Focus]:io(),[h.Exit]:io()},r=!0,i=(t,n)=>{let r=n3(e,n);if(r){let{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){let s=e.getProps(),l=e.getVariantContext(!0)||{},u=[],c=new Set,d={},f=1/0;for(let t=0;t<ii;t++){var h;let p=ir[t],m=n[p],g=void 0!==s[p]?s[p]:l[p],v=eW(g),y=p===a?m.isActive:null;!1===y&&(f=t);let b=g===l[p]&&g!==s[p]&&v;if(b&&r&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...d},!m.isActive&&null===y||!g&&!m.prevProp||e$(g)||"boolean"==typeof g)continue;let x=(h=m.prevProp,"string"==typeof g?g!==h:!!Array.isArray(g)&&!nw(g,h)),w=x||p===a&&m.isActive&&!b&&v||t>f&&v,E=Array.isArray(g)?g:[g],S=E.reduce(i,{});!1===y&&(S={});let{prevResolvedValues:C={}}=m,j={...C,...S},k=e=>{w=!0,c.delete(e),m.needsAnimating[e]=!0};for(let e in j){let t=S[e],n=C[e];d.hasOwnProperty(e)||(t!==n?tq(t)&&tq(n)?!nw(t,n)||x?k(e):m.protectedKeys[e]=!0:void 0!==t?
17k(e):c.add(e):void 0!==t&&c.has(e)?k(e):m.protectedKeys[e]=!0)}m.prevProp=g,m.prevResolvedValues=S,m.isActive&&(d={...d,...S}),r&&e.blockInitialAnimation&&(w=!1),w&&!b&&u.push(...E.map(e=>({animation:e,options:{type:p,...o}})))}if(c.size){let t={};c.forEach(n=>{let r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),u.push({animation:t})}let p=!!u.length;return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,p?t(u):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let s=o(i,t);for(let e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}(e)),e$(t)&&(0,v.useEffect)(()=>t.subscribe(e),[t])}),exit:ny(e=>{let{custom:t,visualElement:n}=e,[r,i]=nx(),o=(0,v.useContext)(eT);(0,v.useEffect)(()=>{n.isPresent=r;let e=n.animationState&&n.animationState.setActive(h.Exit,!r,{custom:o&&o.custom||t});e&&!r&&e.then(i)},[r])})},is=(e,t)=>Math.abs(e-t);class il{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=id(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){let n=is(e.x,t.x),r=is(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=ep;this.history.push({...r,timestamp:i});let{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{if(this.lastMoveEvent=e,this.lastMoveEventInfo=iu(t,this.transformPagePoint),tQ(e)&&0===e.buttons){this.handlePointerUp(e,t);return}ex.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r}=this.handlers,i=id(iu(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},t0(e)&&e.touches.length>1)return;this.handlers=t,this.transformPagePoint=n;let r=t2(e),i=iu(r,this.transformPagePoint),{point:o}=i,{timestamp:a}=ep;this.history=[{...o,timestamp:a}];let{onSessionStart:s}=t;s&&s(e,id(i,this.history)),this.removeListeners=nc(ne(window,"pointermove",this.handlePointerMove),ne(window,"pointerup",this.handlePointerUp),ne(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ew.update(this.updatePoint)}}function iu(e,t){return t?{point:t(e.point)}:e}function ic(e,t){return{x:e.x-t.x,y:e.y-t.y}}function id({point:e},t){return{point:e,delta:ic(e,ih(t)),offset:ic(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=ih(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>re(.1)));)n--;if(!r)return{x:0,y:0};let o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};let a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function ih(e){return e[e.length-1]}function ip(e){return e.max-e.min}function im(e,t=0,n=.01){return Math.abs(e-t)<=n}function ig(e,t,n,r=.5){e.origin=r,e.originPoint=rs(t.min,t.max,e.origin),e.scale=ip(n)/ip(t),(im(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=rs(n.min,n.max,e.origin)-e.originPoint,(im(e.translate)||isNaN(e.translate))&&(e.translate=0)}function iv(e,t,n,r){ig(e.x,t.x,n.x,null==r?void 0:r.originX),ig(e.y,t.y,n.y,null==r?void 0:r.originY)}function iy(e,t,n){e.min=n.min+t.min,e.max=e.min+ip(t)}function ib(e,t,n){e.min=t.min-n.min,e.max=e.min+ip(t)}function ix(e,t,n){ib(e.x,t.x,n.x),ib(e.y,t.y,n.y)}function iw(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function iE(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function iS(e,t,n){return{min:iC(e,t),max:iC(e,n)}}function iC(e,t){return"number"==typeof e?e:e[t]||0}let ij=()=>({translate:0,scale:1,origin:0,originPoint:0}),ik=()=>({x:ij(),y:ij()}),iA=()=>({min:0,max:0}),iN=()=>({x:iA(),y:iA()});function iT(e){return[e("x"),e("y")]}function iR({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function iP(e){return void 0===e||1===e}function iM({scale:e,scaleX:t,scaleY:n}){return!iP(e)||!iP(t)||!iP(n)}function i_(e){return iM(e)||iO(e)||e.z||e.rotate||e.rotateX||e.rotateY}function iO(e){var t,n;
17return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function iB(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function iL(e,t=0,n=1,r,i){e.min=iB(e.min,t,n,r,i),e.max=iB(e.max,t,n,r,i)}function iD(e,{x:t,y:n}){iL(e.x,t.translate,t.scale,t.originPoint),iL(e.y,n.translate,n.scale,n.originPoint)}function iF(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function iI(e,t){e.min=e.min+t,e.max=e.max+t}function iz(e,t,[n,r,i]){let o=void 0!==t[i]?t[i]:.5,a=rs(e.min,e.max,o);iL(e,t[n],t[r],a,t.scale)}let iV=["x","scaleX","originX"],iU=["y","scaleY","originY"];function iH(e,t){iz(e.x,t,iV),iz(e.y,t,iU)}function iq(e,t){return iR(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let iW=new WeakMap;class i${constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iN(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){!1!==this.visualElement.isPresent&&(this.panSession=new il(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(t2(e,"page").point)},onStart:(e,t)=>{var n;let{drag:r,dragPropagation:i,onDragStart:o}=this.getProps();(!r||i||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=no(r),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iT(e=>{var t,n;let r=this.getAxisMotionValue(e).get()||0;if(tg.test(r)){let i=null===(n=null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.layoutBox[e];if(i){let e=ip(i);r=e*(parseFloat(r)/100)}}this.originPoint[e]=r}),null==o||o(e,t),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(h.Drag,!0))},onMove:(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),null!==this.currentDirection&&(null==i||i(this.currentDirection));return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),null==o||o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();null==i||i(e,t)}cancel(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(h.Drag,!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!iG(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?rs(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?rs(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&eq(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:iw(e.x,n,i),y:iw(e.y,t,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:iS(e,"left","right"),y:iS(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&iT(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!eq(t))return!1;let r=t.current;n9(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,n){let r=iq(e,n),{scroll:i}=t;return i&&(iI(r.x,i.offset.x),iI(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),a={x:iE((e=i.layout.layoutBox).x,o.x),y:iE(e.y,o.y)};if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=iR(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=iT(a=>{if(!iG(a,t,this.currentDirection))return;let l=(null==s?void 0:s[a])||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:n?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start(r8(e,n,0,t))}stopAnimation(){iT(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){var t;let n="_drag"+e.toUpperCase(),r=this.visualElement.getProps()[n];return r||this.visualElement.getValue(e,(null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])||0)}snapToCursor(e){iT(t=>{let{drag:n}=this.getProps();if(!iG(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-rs(n,o,.5))}})}scalePositionWithinConstraints(){var e;if(!this.visualElement.current)return;let{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!eq(n)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};iT(e=>{let t=this.getAxisMotionValue(e);if(t){let n=t.get();i[e]=function(e,t){let n=.5,r=ip(e),i=ip(t);return i>r?n=ry(t.min,t.max-r,e.min):r>i&&(n=ry(e.min,e.max-i,t.min)),to(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",null===(e=r.root)||void 0===e||e.updateScroll(),r.updateLayout(),this.resolveConstraints(),iT(e=>{if(!iG(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];n.set(rs(r,o,i[e]))})}addListeners(){var e;if(!this.visualElement.current)return;iW.set(this.visualElement,this);let t=this.visualElement.current,n=ne(t,"pointerdown",e=>{let{drag:t,dragListener:n=!0}
17=this.getProps();t&&n&&this.start(e)}),r=()=>{let{dragConstraints:e}=this.getProps();eq(e)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout()),r();let a=tX(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(iT(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),null==s||s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function iG(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}let iZ={pan:ny(function({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){let o=(0,v.useRef)(null),{transformPagePoint:a}=(0,v.useContext)(eV),s={onSessionStart:r,onStart:t,onMove:e,onEnd:(e,t)=>{o.current=null,n&&n(e,t)}};(0,v.useEffect)(()=>{null!==o.current&&o.current.updateHandlers(s)}),nt(i,"pointerdown",(e||t||n||r)&&function(e){o.current=new il(e,s,{transformPagePoint:a})}),eL(()=>o.current&&o.current.end())}),drag:ny(function(e){let{dragControls:t,visualElement:n}=e,r=eR(()=>new i$(n));(0,v.useEffect)(()=>t&&t.subscribe(r),[r,t]),(0,v.useEffect)(()=>r.addListeners(),[r])})};function iY(e){return"string"==typeof e&&e.startsWith("var(--")}let iK=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function iX(e,t,n=1){n9(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=function(e){let t=iK.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]}(e);if(!r)return;let o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():iY(i)?iX(i,t,n+1):i}let iJ=new Set(["width","height","top","left","right","bottom","x","y"]),iQ=e=>iJ.has(e),i0=e=>Object.keys(e).some(iQ),i1=(e,t)=>{e.set(t,!1),e.set(t)},i2=e=>e===ta||e===tv;(d=p||(p={})).width="width",d.height="height",d.left="left",d.right="right",d.top="top",d.bottom="bottom";let i4=(e,t)=>parseFloat(e.split(", ")[t]),i3=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return i4(i[1],t);{let t=r.match(/^matrix\((.+)\)$/);return t?i4(t[1],e):0}},i5=new Set(["x","y","z"]),i6=e8.filter(e=>!i5.has(e)),i8={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:i3(4,13),y:i3(5,14)},i7=(e,t,n)=>{let r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=i8[e](r,o)}),t.render();let l=t.measureViewportBox();return n.forEach(n=>{let r=t.getValue(n);i1(r,s[n]),e[n]=i8[n](l,o)}),e},i9=(e,t,n={},r={})=>{t={...t},r={...r};let i=Object.keys(t).filter(iQ),o=[],a=!1,s=[];if(i.forEach(i=>{let l;let u=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],d=n1(c),f=t[i];if(tq(f)){let e=f.length,t=null===f[0]?1:0;d=n1(c=f[t]);for(let n=t;n<e;n++)l?n9(n1(f[n])===l,"All keyframes must be of the same type"):n9((l=n1(f[n]))===d||i2(d)&&i2(l),"Keyframes must be of the same dimension as the current value")}else l=n1(f);if(d!==l){if(i2(d)&&i2(l)){let e=u.get();"string"==typeof e&&u.set(parseFloat(e)),"string"==typeof f?t[i]=parseFloat(f):Array.isArray(f)&&l===tv&&(t[i]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==l?void 0:l.transform)&&(0===c||0===f)?0===c?u.set(l.transform(c)):t[i]=d.transform(f):(a||(o=function(e){let t=[];return i6.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],i1(u,f))}}),!s.length)return{target:t,transitionEnd:r};{let n=s.indexOf("height")>=0?window.pageYOffset:null,i=i7(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),ek&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}},oe=(e,t,n,r)=>{var i,o;let a=function(e,{...t},n){let r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};for(let i in n&&(n={...n}
17),e.values.forEach(e=>{let t=e.get();if(!iY(t))return;let n=iX(t,r);n&&e.set(n)}),t){let e=t[i];if(!iY(e))continue;let o=iX(e,r);o&&(t[i]=o,n&&void 0===n[i]&&(n[i]=e))}return{target:t,transitionEnd:n}}(e,t,r);return t=a.target,r=a.transitionEnd,i=t,o=r,i0(i)?i9(e,i,n,o):{target:i,transitionEnd:o}},ot={current:null},on={current:!1},or=Object.keys(eJ),oi=or.length,oo=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class oa{constructor({parent:e,props:t,reducedMotionConfig:n,visualState:r},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>ex.render(this.render,!1,!0);let{latestValues:o,renderState:a}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=a,this.parent=e,this.props=t,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.isControllingVariants=eZ(t),this.isVariantNode=eY(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:s,...l}=this.scrapeMotionValuesFromProps(t);for(let e in l){let t=l[e];void 0!==o[e]&&te(t)&&(t.set(o[e],!1),n5(s)&&s.add(e))}}scrapeMotionValuesFromProps(e){return{}}mount(e){var t;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(t=this.parent)||void 0===t?void 0:t.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),on.current||function(){if(on.current=!0,ek){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ot.current=e.matches;e.addListener(t),t()}else ot.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ot.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var e,t,n;for(let r in null===(e=this.projection)||void 0===e||e.unmount(),ew.update(this.notifyUpdate),ew.render(this.render),this.valueSubscriptions.forEach(e=>e()),null===(t=this.removeFromVariantTree)||void 0===t||t.call(this),null===(n=this.parent)||void 0===n||n.children.delete(this),this.events)this.events[r].clear();this.current=null}bindToMotionValue(e,t){let n=e7.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&ex.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures(e,t,n,r,i,o){let a=[];"production"!==ec&&n&&t&&n9(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let t=0;t<oi;t++){let n=or[t],{isEnabled:r,Component:i}=eJ[n];r(e)&&i&&a.push((0,v.createElement)(i,{key:n,...e,visualElement:this}))}if(!this.projection&&i){this.projection=new i(r,this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:n,drag:a,dragConstraints:s,layoutScroll:l}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:!!a||s&&eq(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:l})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iN()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}setProps(e){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=e;for(let t=0;t<oo.length;t++){let n=oo[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){let{willChange:r}=t;for(let i in t){let o=t[i],a=n[i];if(te(o))e.addValue(i,o),n5(r)&&r.add(i);
17else if(te(a))e.addValue(i,nR(o,{owner:e})),n5(r)&&r.remove(i);else if(a!==o){if(e.hasValue(i)){let t=e.getValue(i);t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(i);e.addValue(i,nR(void 0!==t?t:o))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e),this.prevMotionValues)}getProps(){return this.props}getVariant(e){var t;return null===(t=this.props.variants)||void 0===t?void 0:t[e]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var e;return this.isVariantNode?this:null===(e=this.parent)||void 0===e?void 0:e.getClosestVariantNode()}getVariantContext(e=!1){var t,n;if(e)return null===(t=this.parent)||void 0===t?void 0:t.getVariantContext();if(!this.isControllingVariants){let e=(null===(n=this.parent)||void 0===n?void 0:n.getVariantContext())||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let r={};for(let e=0;e<ol;e++){let t=os[e],n=this.props[t];(eW(n)||!1===n)&&(r[t]=n)}return r}addVariantChild(e){var t;let n=this.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),()=>n.variantChildren.delete(e)}addValue(e,t){this.hasValue(e)&&this.removeValue(e),this.values.set(e,t),this.latestValues[e]=t.get(),this.bindToMotionValue(e,t)}removeValue(e){var t;this.values.delete(e),null===(t=this.valueSubscriptions.get(e))||void 0===t||t(),this.valueSubscriptions.delete(e),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=nR(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=tH(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||te(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new nk),this.events[e].add(t)}notify(e,...t){var n;null===(n=this.events[e])||void 0===n||n.notify(...t)}}let os=["initial",...it],ol=os.length;class ou extends oa{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=function(e,t,n){var r;let i={};for(let o in e){let e=function(e,t){if(!t)return;let n=t[e]||t.default||t;return n.from}(o,t);i[o]=void 0!==e?e:null===(r=n.getValue(o))||void 0===r?void 0:r.get()}return i}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;let o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){let a=o[s],l=t[a],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=u&&("string"==typeof u&&(nE(u)||nS(u))?u=parseFloat(u):!n4(u)&&nW.test(l)&&(u=nJ(a,l)),e.addValue(a,nR(u,{owner:e})),void 0===n[a]&&(n[a]=u),null!==u&&e.setBaseTarget(a,u))}}(this,n,o);let e=oe(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class oc extends ou{readValueFromInstance(e,t){if(e7.has(t)){let e=nX(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=(tr(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return iq(e,t)}build(e,t,n,r){tS(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e){return tV(e)}renderInstance(e,t,n,r){tF(e,t,n,r)}}class od extends ou{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){var n;return e7.has(t)?(null===(n=nX(t))||void 0===n?void 0:n.default)||0:(t=tI.has(t)?t:tD(t),e.getAttribute(t))}measureInstanceViewportBox(){return iN()}scrapeMotionValuesFromProps(e){return tU(e)}build(e,t,n,r){t_(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){tz(e,t,n,r)}mount(e){this.isSVGTag=tB(e.tagName),super.mount(e)}}let of=(e,t)=>
17e5(e)?new od(t,{enableHardwareAcceleration:!1}):new oc(t,{enableHardwareAcceleration:!0});function oh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let op={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!tv.test(e))return e;e=parseFloat(e)}let n=oh(e,t.target.x),r=oh(e,t.target.y);return`${n}% ${r}%`}},om="_$css",og={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=e.includes("var("),o=[];i&&(e=e.replace(iK,e=>(o.push(e),om)));let a=nW.parse(e);if(a.length>5)return r;let s=nW.createTransformer(e),l="number"!=typeof a[0]?1:0,u=n.x.scale*t.x,c=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=c;let d=rs(u,c,.5);"number"==typeof a[2+l]&&(a[2+l]/=d),"number"==typeof a[3+l]&&(a[3+l]/=d);let f=s(a);if(i){let e=0;f=f.replace(om,()=>{let t=o[e];return e++,t})}return f}};class ov extends v.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;Object.assign(e6,oy),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),eQ.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===i||(i?o.promote():o.relegate()||ex.postRender(()=>{var e;(null===(e=o.getStack())||void 0===e?void 0:e.members.length)||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),(null==t?void 0:t.group)&&t.group.remove(r),(null==n?void 0:n.deregister)&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;null==e||e()}render(){return null}}let oy={borderRadius:{...op,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:op,borderTopRightRadius:op,borderBottomLeftRadius:op,borderBottomRightRadius:op,boxShadow:og},ob=["TopLeft","TopRight","BottomLeft","BottomRight"],ox=ob.length,ow=e=>"string"==typeof e?parseFloat(e):e,oE=e=>"number"==typeof e||tv.test(e);function oS(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let oC=ok(0,.5,rj),oj=ok(.5,.95,rw);function ok(e,t,n){return r=>r<e?0:r>t?1:n(ry(e,t,r))}function oA(e,t){e.min=t.min,e.max=t.max}function oN(e,t){oA(e.x,t.x),oA(e.y,t.y)}function oT(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function oR(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){if(tg.test(t)){t=parseFloat(t);let e=rs(a.min,a.max,t/100);t=e-a.min}if("number"!=typeof t)return;let s=rs(o.min,o.max,r);e===o&&(s-=t),e.min=oT(e.min,t,n,s,i),e.max=oT(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}let oP=["x","scaleX","originX"],oM=["y","scaleY","originY"];function o_(e,t,n,r){oR(e.x,t,oP,null==n?void 0:n.x,null==r?void 0:r.x),oR(e.y,t,oM,null==n?void 0:n.y,null==r?void 0:r.y)}function oO(e){return 0===e.translate&&1===e.scale}function oB(e){return oO(e.x)&&oO(e.y)}function oL(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function oD(e){return ip(e.x)/ip(e.y)}class oF{constructor(){this.members=[]}add(e){nC(this.members,e),e.scheduleRender()}remove(e){if(nj(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){var n;let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&r.hide()}}
17exitAnimationComplete(){this.members.forEach(e=>{var t,n,r,i,o;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(o=null===(r=e.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function oI(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}let a=e.x.scale*t.x,s=e.y.scale*t.y;return(1!==a||1!==s)&&(r+=`scale(${a}, ${s})`),r||"none"}let oz=(e,t)=>e.depth-t.depth;class oV{constructor(){this.children=[],this.isDirty=!1}add(e){nC(this.children,e),this.isDirty=!0}remove(e){nj(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(oz),this.isDirty=!1,this.children.forEach(e)}}let oU=["","X","Y","Z"],oH=0;function oq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e,n={},r=null==t?void 0:t()){this.id=oH++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(oG),this.nodes.forEach(oJ),this.nodes.forEach(oQ)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=e,this.latestValues=n,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new oV)}
17addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new nk),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);null==n||n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}registerPotentialNode(e,t){this.potentialNodes.set(e,t)}mount(t,n=!1){var r;if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),n&&(o||i)&&(this.isLayoutDirty=!0),e){let n;let r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=r$(r,250),eQ.hasAnimatedSinceResize&&(eQ.hasAnimatedSinceResize=!1,this.nodes.forEach(oX))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{var i,o,s,l,u;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let c=null!==(o=null!==(i=this.options.transition)&&void 0!==i?i:a.getDefaultTransition())&&void 0!==o?o:o5,{onLayoutAnimationStart:d,onLayoutAnimationComplete:f}=a.getProps(),h=!this.targetLayout||!oL(this.targetLayout,r)||n,p=!t&&n;if((null===(s=this.resumeFrom)||void 0===s?void 0:s.instance)||p||t&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,p);let t={...r2(c,"layout"),onPlay:d,onComplete:f};a.shouldReduceMotion&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||0!==this.animationProgress||oX(this),this.isLead()&&(null===(u=(l=this.options).onExitComplete)||void 0===u||u.call(l));this.targetLayout=r})}unmount(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,ew.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1}startUpdate(){var e;!this.isUpdateBlocked()&&(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(o0),this.animationId++)}willUpdate(e=!0){var t,n,r;if(this.root.isUpdateBlocked()){null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot")}let{layoutId:i,layout:o}=this.options;if(void 0===i&&!o)return;let a=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==a?void 0:a(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}didUpdate(){let e=this.isUpdateBlocked();if(e){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(oY);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(o6),this.potentialNodes.clear()),this.nodes.forEach(oK),this.nodes.forEach(oW),this.nodes.forEach(o$),this.clearAllSnapshots(),eE.update(),eE.preRender(),eE.render())}clearAllSnapshots(){this.nodes.forEach(oZ),this.sharedNodes.forEach(o1)}scheduleUpdateProjection(){ex.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ex.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){var e;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){let t=this.path[e];t.updateScroll()}let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=iN(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null===(e=this.options.visualElement)||void 0===e||e.notify("LayoutMeasure",this.layout.layoutBox,null==t?void 0:t.layoutBox)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){var e;if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!oB(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==r?void 0:r(this.latestValues,""),a=o!==this.prevTransformTemplateValue;t&&(n||i_(this.latestValues)||a)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),o8((t=r).x),o8(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return iN();let t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(iI(t.x,n.offset.x),iI(t.y,n.offset.y)),t}removeElementScroll(e){let t=iN();oN(t,e);for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){oN(t,e);let{scroll:n}=this.root;n&&(iI(t.x,-n.offset.x),iI(t.y,-n.offset.y))}iI(t.x,i.offset.x),iI(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){let n=iN();oN(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&iH(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),i_(r.latestValues)&&iH(n,r.latestValues)}return i_(this.latestValues)&&iH(n,this.latestValues),n}removeTransform(e){var t;let n=iN();oN(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!i_(r.latestValues))continue;iM(r.latestValues)&&r.updateSnapshot();let i=iN(),o=r.measurePageBox();oN(i,o),o_(n,r.latestValues,null===(t=r.snapshot)||void 0===t?void 0:t.layoutBox,i)}return i_(this.latestValues)&&o_(n,this.latestValues),n}setTargetDelta(e){this.targetDelta=e,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var e,t,n,r;let i=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;let{layout:o,layoutId:a}=this.options;
17if(this.layout&&(o||a)){if(!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout?(this.relativeParent=e,this.relativeTarget=iN(),this.relativeTargetOrigin=iN(),ix(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),oN(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if((this.relativeTarget||this.targetDelta)&&((this.target||(this.target=iN(),this.targetWithTransforms=iN()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target))?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,iy(t.x,n.x,r.x),iy(t.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):oN(this.target,this.layout.layoutBox),iD(this.target,this.targetDelta)):oN(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target?(this.relativeParent=e,this.relativeTarget=iN(),this.relativeTargetOrigin=iN(),ix(this.relativeTargetOrigin,this.target,e.target),oN(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||iM(this.parent.latestValues)||iO(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var e;let{isProjectionDirty:t,isTransformDirty:n}=this;this.isProjectionDirty=this.isTransformDirty=!1;let r=this.getLead(),i=!!this.resumingFrom||this!==r,o=!0;if(t&&(o=!1),i&&n&&(o=!1),o)return;let{layout:a,layoutId:s}=this.options;if(this.isTreeAnimating=!!((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(a||s))return;oN(this.layoutCorrected,this.layout.layoutBox),function(e,t,n,r=!1){var i,o;let a,s;let l=n.length;if(l){t.x=t.y=1;for(let u=0;u<l;u++)s=(a=n[u]).projectionDelta,(null===(o=null===(i=a.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&iH(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,iD(e,s)),r&&i_(a.latestValues)&&iH(e,a.latestValues));t.x=iF(t.x),t.y=iF(t.y)}}(this.layoutCorrected,this.treeScale,this.path,i);let{target:l}=r;if(!l)return;this.projectionDelta||(this.projectionDelta=ik(),this.projectionDeltaWithTransform=ik());let u=this.treeScale.x,c=this.treeScale.y,d=this.projectionTransform;iv(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=oI(this.projectionDelta,this.treeScale),(this.projectionTransform!==d||this.treeScale.x!==u||this.treeScale.y!==c)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t,n,r;null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){var n,r;let i=this.snapshot,o=(null==i?void 0:i.latestValues)||{},a={...this.latestValues},s=ik();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;let l=iN(),u=(null==i?void 0:i.source)!==(null===(n=this.layout)||void 0===n?void 0:n.source),c=1>=((null===(r=this.getStack())||void 0===r?void 0:r.members.length)||0),d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(o3));this.animationProgress=0,this.mixTargetDelta=t=>{var n,r,i;let f=t/1e3;o2(s.x,e.x,f),o2(s.y,e.y,f),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(n=this.relativeParent)||void 0===n?void 0:n.layout)&&(ix(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),r=this.relativeTarget,i=this.relativeTargetOrigin,o4(r.x,i.x,l.x,f),o4(r.y,i.y,l.y,f)),u&&(this.animationValues=a,function(e,t,n,r,i,o){i?(e.opacity=rs(0,void 0!==n.opacity?n.opacity:1,oC(r)),e.opacityExit=rs(void 0!==t.opacity?t.opacity:1,0,oj(r))):o&&(e.opacity=rs(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<ox;i++){let o=`border${ob[i]}Radius`,a=oS(t,o),s=oS(n,o);if(void 0===a&&void 0===s)continue;a||(a=0),s||(s=0);let l=0===a||0===s||oE(a)===oE(s);l?(e[o]=Math.max(rs(ow(a),ow(s),r),0),(tg.test(s)||tg.test(a))&&(e[o]+="%")):e[o]=s}(t.rotate||n.rotate)&&(e.rotate=rs(t.rotate||0,n.rotate||0,r))}(a,o,this.latestValues,f,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=f},this.mixTargetDelta(0)}startAnimation(e){var t,n;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(ew.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ex.update(()=>{eQ.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n={}){let r=te(e)?e:nR(e);return r.start(r8("",r,1e3,n)),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}(0,0,{...e,onUpdate:t=>{var n;this.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:()=>{var t;null===(t=e.onComplete)||void 0===t||t.call(e),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&o7(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||iN();let t=ip(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=ip(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}oN(t,n),iH(t,i),iv(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
17)}}registerSharedNode(e,t){var n,r,i;this.sharedNodes.has(e)||this.sharedNodes.set(e,new oF);let o=this.sharedNodes.get(e);o.add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,t)})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;let r={};for(let t=0;t<oU.length;t++){let i="rotate"+oU[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}for(let t in null==e||e.render(),r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n,r;let i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";let o=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=tG(e.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=tG(e.pointerEvents)||""),this.hasProjected&&!i_(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}let s=a.animationValues||a.latestValues;this.applyTransformsToTarget(),i.transform=oI(this.projectionDeltaWithTransform,this.treeScale,s),o&&(i.transform=o(s,i.transform));let{x:l,y:u}=this.projectionDelta;for(let e in i.transformOrigin=`${100*l.origin}% ${100*u.origin}% 0`,a.animationValues?i.opacity=a===this?null!==(r=null!==(n=s.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=a===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,e6){if(void 0===s[e])continue;let{correct:t,applyTo:n}=e6[e],r=t(s[e],a);if(n){let e=n.length;for(let t=0;t<e;t++)i[n[t]]=r}else i[e]=r}return this.options.layoutId&&(i.pointerEvents=a===this?tG(e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(oY),this.root.sharedNodes.clear()}}}function oW(e){e.updateLayout()}function o$(e){var t,n,r;let i=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:r}=e.options,o=i.source!==e.layout.source;"size"===r?iT(e=>{let n=o?i.measuredBox[e]:i.layoutBox[e],r=ip(n);n.min=t[e].min,n.max=n.min+r}):o7(r,i.layoutBox,t)&&iT(e=>{let n=o?i.measuredBox[e]:i.layoutBox[e],r=ip(t[e]);n.max=n.min+r});let a=ik();iv(a,t,i.layoutBox);let s=ik();o?iv(s,e.applyTransform(n,!0),i.measuredBox):iv(s,t,i.layoutBox);let l=!oB(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:e,layout:r}=n;if(e&&r){let n=iN();ix(n,i.layoutBox,e.layoutBox);let o=iN();ix(o,t,r.layoutBox),oL(n,o)||(u=!0)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:i,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else e.isLead()&&(null===(r=(n=e.options).onExitComplete)||void 0===r||r.call(n));e.options.transition=void 0}function oG(e){e.isProjectionDirty||(e.isProjectionDirty=!!(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=!!(e.parent&&e.parent.isTransformDirty))}function oZ(e){e.clearSnapshot()}function oY(e){e.clearMeasurements()}function oK(e){let{visualElement:t}=e.options;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function oX(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function oJ(e){e.resolveTargetDelta()}function oQ(e){e.calcProjection()}function o0(e){e.resetRotation()}function o1(e){e.removeLeadSnapshot()}function o2(e,t,n){e.translate=rs(t.translate,0,n),e.scale=rs(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function o4(e,t,n,r){e.min=rs(t.min,n.min,r),e.max=rs(t.max,n.max,r)}function o3(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let o5={duration:.45,ease:[.4,0,.1,1]};function o6(e,t){let n=e.root;for(let t=e.path.length-1;t>=0;t--)if(e.path[t].instance){n=e.path[t];break}let r=n&&n!==e.root?n.instance:document,i=r.querySelector(`[data-
17projection-id="${t}"]`);i&&e.mount(i,!0)}function o8(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function o7(e,t,n){return"position"===e||"preserve-aspect"===e&&!im(oD(t),oD(n),.2)}let o9=oq({attachResizeListener:(e,t)=>tX(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ae={current:void 0},at=oq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ae.current){let e=new o9(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),ae.current=e}return ae.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),an={...ia,...nb,...iZ,measureLayout:function(e){let[t,n]=nx(),r=(0,v.useContext)(eB);return v.createElement(ov,{...e,layoutGroup:r,switchLayoutGroup:(0,v.useContext)(e2),isPresent:t,safeToRemove:n})}},ar=function(e){function t(t,n={}){return function({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&function(e){for(let t in e)"projectionNodeConstructor"===t?eJ.projectionNodeConstructor=e[t]:eJ[t].Component=e[t]}(e);let a=(0,v.forwardRef)(function(a,s){var l;let u={...(0,v.useContext)(eV),...a,layoutId:function({layoutId:e}){let t=(0,v.useContext)(eB).id;return t&&void 0!==e?t+"-"+e:e}(a)},{isStatic:c}=u,d=null,f=function(e){let{initial:t,animate:n}=function(e,t){if(eZ(e)){let{initial:t,animate:n}=e;return{initial:!1===t||eW(t)?t:void 0,animate:eW(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,v.useContext)(eU));return(0,v.useMemo)(()=>({initial:t,animate:n}),[eK(t),eK(n)])}(a),h=c?void 0:eR(()=>{if(eQ.hasEverUpdated)return e0++}),p=i(a,c);if(!c&&ek){f.visualElement=function(e,t,n,r){let i=(0,v.useContext)(eU).visualElement,o=(0,v.useContext)(eH),a=(0,v.useContext)(eT),s=(0,v.useContext)(eV).reducedMotion,l=(0,v.useRef)();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));let u=l.current;return eA(()=>{u&&u.render()}),eA(()=>{u&&u.animationState&&u.animationState.animateChanges()}),eA(()=>()=>u&&u.notify("Unmount"),[]),u}(o,p,u,t);let r=(0,v.useContext)(eH).strict,i=(0,v.useContext)(e2);f.visualElement&&(d=f.visualElement.loadFeatures(u,r,e,h,n||eJ.projectionNodeConstructor,i))}return v.createElement(e1,{visualElement:f.visualElement,props:u},d,v.createElement(eU.Provider,{value:f},r(o,a,h,(l=f.visualElement,(0,v.useCallback)(e=>{e&&p.mount&&p.mount(e),l&&(e?l.mount(e):l.unmount()),s&&("function"==typeof s?s(e):eq(s)&&(s.current=e))},[l])),p,c,f.visualElement)))});return a[e4]=o,a}(e(t,n))}if("undefined"==typeof Proxy)return t;let n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},n,r,i){let o=e5(e)?tY:tK;return{...o,preloadedFeatures:n,useRender:function(e=!1){return(t,n,r,i,{latestValues:o},a)=>{let s=e5(t)?tL:tk,l=s(n,o,a,t),u=function(e,t,n){let r={};for(let i in e)(tT(i)||!0===n&&tN(i)||!t&&!tN(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),c={...u,...l,ref:i};return r&&(c["data-projection-id"]=r),(0,v.createElement)(t,c)}}(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}})(e,t,an,of,at));var ai=function(){var e=(0,es.useRouter)(),t=(0,v.useContext)(ea.bX),n=t.selectedMenu,r=t.isSubMenuOpen,i=t.setIsSubMenuOpen,o=t.selectedSubMenu;return(0,g.jsx)(g.Fragment,{children:r&&(null==o?void 0:o.length)>0&&(0,g.jsx)("div",{className:"absolute bg-white w-full z-50",children:(0,g.jsx)("div",{className:"py-4",children:(0,g.jsx)(ez,{exitBeforeEnter:!0,children:(0,g.jsx)(ar.div,{initial:{y:10,opacity:0},animate:{y:0,opacity:1},exit:{y:-10,opacity:0},transition:{duration:.2},children:(0,g.jsx)("section",{className:"grid grid-cols-3",children:o.map(function(t,n){return(0,g.jsxs)("div",{className:"col-span-1",children:[(0,g.jsx)("h3",{className:"text-[#333333] font-semibold font-roboto text-lg",children:t.label}),(0,g.jsx)("div",{className:"pt-4 flex justify-between",children:(0,g.jsx)("ul",{className:"list-none -ml-4 ",children:t.items.map(function(n,r){var o;return(null==t?void 0:t.redirect)?(0,g.jsx)("li",{className:"py-2 border-r-2 px-32 border-hover hover:border-primary pl-4 hover:font-medium text-secondary-light hover:text-secondary",onClick:function(){e.replace("".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/(S(add7cf1052754fe0a4b4a7d1f50552c4))/USbangla/en-GB/Home/FindBooking?findbookingmode=WebCheckin"),void 0,!1)},children:(0,g.jsx)(er(),{href:"#",passHref:!0,legacyBehavior:!0,children:(0,g.jsx)("div",{className:"font-medium text-[#666666] hover:text-[#333333] cursor-pointer",children:(0,g.jsxs)("a",{children:[" ",n.label]})})})},(null==n?void 0:n.label)+r):(0,g.jsx)("li",{className:"py-2 border-r-2 px-32 border-hover hover:border-primary pl-4 ",onClick:function(){return i(!1)},children:(0,g.jsx)(er(),{href:null!==(o=n.link)&&void 0!==o?o:"#",passHref:!0,legacyBehavior:!0,children:(null==n?void 0:n.type)==="button"?(0,g.jsx)("a",{children:(0,g.jsx)("button",{className:"bg-gradient-to-t from-[#141414] to-[#1414148a] shadow-xl px-6 py-1 rounded-[4px] text-white",children:n.label})}):(null==n?void 0:n.type)==="new_tab"?(0,g.jsx)("a",{target:"_blank",children:(0,g.jsx)("div",{className:"font-medium text-[#666666] hover:text-[#333333] cursor-pointer",children:n.label})}):(0,g.jsx)("a",{children:(0,g.jsx)("div",{className:"font-medium text-[#666666] hover:text-[#333333] cursor-pointer",children:n.label})})})},(null==n?void 0:n.label)+r)})})})]},n)})})},n)})})})})},ao=n(8193),aa=n(47516),as=n(53854),al=n(1588),au=function(e){var t=e.defaultKey,n=e.children,r=(0,m._)((0,v.useState)(null!=t?t:""),2),i=r[0],o=r[1];return(0,g.jsx)(ea.to.Provider,{value:{selectedPanel:i,setSelectedPanel:o},children:(0,g.jsx)("div",{className:"lg:grid grid-rows-2 grid-flow-col divide-y lg:divide-y mx-auto",children:n})})},ac=n(63750),ad=n(45697),af=n.n(ad),ah=function(e){var t=e.headerTitle,n=e.textColor;return(0,g.jsx)("div",{className:"".concat(null!=n?n:"text-blue-600"),children:(0,g.jsx)("p",{className:"font-medium text-white text-2xl font-marcellus",children:t})})};ah.propTypes={headerTitle:af().string,textColor:af().string},ah.defaultProps={headerTitle:"",textColor:"text-amber-300"};var ap=function(e){var t=e.headerTitle,n=e.id,r=e.children,i=(0,es.useRouter)(),o=(0,v.useContext)(ea.to),a=o.selectedPanel,s=o.setSelectedPanel,l=(0,m._)((0,v.useState)(null),2),u=l[0],c=l[1],d=(0,m._)((0,v.useState)(null),2),f=d[0],h=d[1];(0,v.useEffect)(function(){void 0!==window&&(window.addEventListener("resize",function(){c(window.innerWidth)}),h(p()))},[u]),(0,v.useEffect)(function(){h(p())},[u]);var p=function(){var e=window.innerWidth;return e>=1024?"lg":e>=738?"md":e>=640?"sm":"xs"};return(0,g.jsxs)("div",{className:" overflow-auto h-full",children:[(0,g.jsxs)("div",{className:"group px-6 py-4 font-medium flex justify-between ".concat(a===n?"bg-[#333333] rounded-t lg:bg-[#333333] lg:text-white":"bg-[#333333] lg:bg-[#333333] lg:text-[#A9A9A9] rounded"),onClick:function(){"lg"!==f&&(s(a!==n?n:""),8.2===n&&i.push("/holidays"),8.3===n&&window.open("".concat("https://fo-usba.ttinteractive.com",'/Zenith/FrontOffice/usbangla/en-GB/Customer/Login", "_blank')))},children:[(0,g.jsx)("div",{children:(0,g.jsx)(ah,{headerTitle:t})}),(0,g.jsx)("div",{className:"w-6 h-6 rounded flex items-center cursor-pointer ".concat("text-white"),children:(0,g.jsx)(ac.IAR,{className:"".concat(a===n?"rotate-180":"rotate-0"," lg:hidden")})})]}),(0,g.jsx)("div",{className:"transition-[max-height] duration-500 overflow-auto mb-0 lg:mb-8 py-1 px-2 ".concat("sm"===f&&"md"===f||a===n?"max-h-[950px]":"max-h-0"),children:r})]})},am=n(69920);n(28605);var ag=n(88464),av=function(){return(0,g.jsx)(g.Fragment,{children:(0,g.jsx)("div",{className:"",children:(0,g.jsx)(er(),{href:"/",children:(0,g.jsx)(et(),{className:"block !lg:hidden h-12 sm:h-14 w-min sm:w-full cursor-pointer",src:(0,ag.NR)("/images/home_page/homepage_logo.png.svg"),alt:"US-Bangla Airlines",width:"180",height:"50",unoptimized:"true"})})})})}
17,ay=n(11010),ab=n(97582),ax=n(5379),aw=n.n(ax),aE=n(85518),aS=n(86772),aC=n(25489),aj={airplane:eo.D4h,calendar:as.Bge,info:as.baL,tag:as.IFg,validity:as.Bge,warning:as.baL};function ak(e){var t,n,r,i,o,a,s,l,u,c,d=e.announcementDetails,f=e.copiedValue,h=e.detailsError,p=e.isLoading,m=e.onCopyPromoCode,v=e.onOpenChange,y=e.open,b=null!==(c=aj[null==d?void 0:null===(n=d.header)||void 0===n?void 0:n.icon])&&void 0!==c?c:as.IFg,x=(null==d?void 0:null===(r=d.media)||void 0===r?void 0:r.type)==="image"&&(null==d?void 0:null===(i=d.media)||void 0===i?void 0:i.url)?d.media.url:"https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=900&q=85",w=Array.isArray(null==d?void 0:null===(o=d.content)||void 0===o?void 0:o.details)?d.content.details:[];return(0,g.jsx)(aC.Vq,{open:y,onOpenChange:v,children:(0,g.jsxs)(aC.cZ,{showCloseButton:!1,className:"w-[90vw] ".concat(h?"min-w-[580px]":"min-w-[1180px]"," overflow-hidden rounded-[24px] border-0 bg-white p-0 shadow-[0_25px_80px_rgba(15,23,42,0.25)]"),children:[(0,g.jsx)(aC.GG,{className:"absolute top-4 right-4 z-30 flex h-10 w-10 items-center justify-center rounded-full bg-white/95 text-[#1f3f72]
17shadow-lg transition-all hover:scale-105 hover:bg-white focus:outline-none focus:ring-2 focus:ring-[#1f3f72]","aria-label":"Close announcement details",children:(0,g.jsx)(as.apv,{className:"h-5 w-5"})}),p&&(0,g.jsx)("div",{className:"flex min-h-[420px] items-center justify-center",children:(0,g.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,g.jsx)("div",{className:"h-9 w-9 animate-spin rounded-full border-[3px] border-[#dce7f3] border-t-[#1f3f72]"}),(0,g.jsx)("p",{className:"font-inter text-sm text-[#667085]",children:"Loading announcement..."})]})}),!p&&h&&(0,g.jsxs)("div",{className:"flex min-h-[360px] flex-col items-center justify-center px-6 text-center",children:[(0,g.jsx)("div",{className:"mb-4 flex h-14 w-14 items-center justify-center rounded-full bg-[#fff1f2]",children:(0,g.jsx)(as.baL,{className:"h-7 w-7 text-[#7F0A0E]"})}),(0,g.jsx)("p",{className:"max-w-md font-inter text-sm leading-6 text-[#7F0A0E]",children:h}),(0,g.jsx)(aC.GG,{className:"mt-6 rounded-lg bg-[#1f3f72] px-6 py-2.5 font-inter text-sm font-semibold text-white transition hover:bg-[#17345f]",children:"Close"})]}),!p&&d&&(0,g.jsxs)("div",{className:"flex min-h-[500px]",children:[(0,g.jsxs)("div",{className:"relative min-h-[500px] w-[35%] overflow-hidden rounded-xl bg-[#e9f1fb]",children:[(0,g.jsx)("img",{src:x,alt:(null===(a=d.media)||void 0===a?void 0:a.alt)||"US-Bangla Airlines promotion",className:"absolute inset-0 h-full w-full object-cover"}),(0,g.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#102b4f]/25 via-transparent to-white/5"})]}),(0,g.jsxs)("div",{className:"flex w-[60%] flex-col justify-center px-6 py-9 sm:px-9 sm:py-10 md:px-10 md:py-11",children:[(null===(s=d.header)||void 0===s?void 0:s.label)&&(0,g.jsx)("div",{className:"mb-5",children:(0,g.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-[#E2ECFD] px-3 py-2.5",children:[(0,g.jsx)(b,{className:"h-4 w-4 text-[#1458d5]"}),(0,g.jsx)("span",{className:"font-inter text-[11px] font-bold uppercase tracking-[0.04em] text-[#1458d5]",children:d.header.label})]})}),(0,g.jsx)(aC.$N,{className:"max-w-[570px] font-inter text-[27px] font-bold leading-[1.16] tracking-[-0.035em] text-[#10275f] sm:text-[32px] md:text-[34px]",children:null===(l=d.content)||void 0===l?void 0:l.title}),(null===(u=d.content)||void 0===u?void 0:u.description)&&(0,g.jsx)("p",{className:"mt-4 max-w-[560px] font-inter text-[14px] leading-[1.65] text-[#5d7194] sm:text-[15px]",children:d.content.description}),(0,g.jsxs)("div",{className:"mt-7 space-y-5",children:[w.map(function(e,t){if("promo-code"===e.type)return null;var n,r=null!==(n=aj[e.icon])&&void 0!==n?n:as.Bge;return(0,g.jsxs)("div",{className:"flex items-start gap-3",children:[(0,g.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-[#E2ECFD]",children:(0,g.jsx)(r,{className:"h-5 w-5 text-[#1458d5]"})}),(0,g.jsxs)("div",{className:"pt-0.5",children:[(0,g.jsx)("p",{className:"font-inter text-xs font-medium text-[#5d7194]",children:e.label}),(0,g.jsx)("p",{className:"mt-1 font-inter text-[15px] font-semibold leading-6 text-[#10275f]",children:e.value})]})]},"".concat(e.type,"-").concat(t))}),(t=w.find(function(e){return"promo-code"===e.type&&e.value}))?(0,g.jsxs)("div",{className:"flex items-center gap-3 rounded-xl bg-[#E2ECFD] p-4 sm:p-5",children:[(0,g.jsx)(as.IFg,{className:"h-7 w-7 shrink-0 text-[#1460dd]"}),(0,g.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,g.jsx)("p",{className:"font-inter text-xs font-medium text-[#5d7194]",children:t.label}),(0,g.jsxs)("div",{className:"mt-1 flex items-center gap-3",children:[(0,g.jsx)("span",{className:"min-w-0 flex-1 rounded-lg border border-dashed border-[#a8c8fb] bg-white/70 px-3 py-1 font-mono text-[20px] font-bold tracking-[0.04em] text-[#1458d5]",children:t.value}),t.copyable&&(0,g.jsx)("button",{type:"button",onClick:function(){return m(t.value)},className:"inline-flex h-9 shrink-0 items-center gap-2 rounded-full bg-white px-4 font-inter text-xs font-semibold text-[#1458d5] shadow-sm ring-1 ring-[#cddbeb] transition hover:bg-[#eaf1ff] hover:shadow-md active:scale-[0.97]",children:f===t.value?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(as.dZ6,{className:"h-4 w-4"}),"Copied"]}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(as.zFu,{className:"h-4 w-4"}),"Copy"]})})]})]})]}):null]}),(0,g.jsx)("div",{className:"mt-auto flex justify-end pt-8",children:(0,g.jsx)(aC.GG,{className:"inline-flex h-11 items-center justify-center rounded-full bg-[#1458d5] px-8 font-inter text-sm font-semibold text-white shadow-sm transition-all hover:bg-[#10275f] hover:shadow-md active:scale-[0.98]",children:"Close"})})]})]})]})})}function aA(){var e,t,n=(0,m._)((0,v.useState)(0),2),r=n[0],i=n[1],o=(0,m._)((0,v.useState)([]),2),a=o[0],s=o[1],l=(0,m._)((0,v.useState)(!1),2),u=l[0],c=l[1],d=(0,m._)((0,v.useState)(!1),2),f=d[0],h=d[1],p=(0,m._)((0,v.useState)(null),2),y=p[0],b=p[1],x=(0,m._)((0,v.useState)(""),2),w=x[0],E=x[1],S=(0,m._)((0,v.useState)(!1),2),C=S[0],j=S[1],k=(0,m._)((0,v.useState)(""),2),A=k[0],N=k[1];(0,v.useEffect)(function(){if(!aE.tq){var e;(e=(0,ay._)(function(){return(0,ab.Jh)(this,function(e){switch(e.label){case 0:return[4,(0,aS.Yu)("/api/get-announcement-info")];case 1:return s(e.sent().data.data||[]),[2]}})}),function(){return e.apply(this,arguments)})()}},[]),(0,v.useEffect)(function(){var e=setInterval(function(){c(!0),setTimeout(function(){i(function(e){return(e+1)%a.length}),c(!1)},500)},8e3);return function(){return clearInterval(e)}},[a.length]);var T=(e=(0,ay._)(function(){var e,t,n,i,o,s,l;return(0,ab.Jh)(this,function(u){switch(u.label){case 0:if(!(t=null===(e=a[r])||void 0===e?void 0:e.link))return[2];h(!0),j(!0),E(""),b(null),u.label=1;case 1:return u.trys.push([1,3,4,5]),[4,(0,aS.Yu)("https://alphaapi.usbair.com/api/common-json-view?tag=".concat(encodeURIComponent(t)))];case 2:if(!(null==(l="string"==typeof(s=Array.isArray((o=u.sent()).data)?null===(n=o.data[0])||void 0===n?void 0:n.data:null===(i=o.data)||void 0===i?void 0:i.data)?JSON.parse(s):s)?void 0:l.announcement))throw Error("Announcement details are unavailable.");return b(l.announcement),[3,5];case 3:return u.sent(),E("We could not load this announcement. Please try again."),[3,5];case 4:return j(!1),[7];case 5:return[2]}})}),function(){return e.apply(this,arguments)}),R=(t=(0,ay._)(function(e){return(0,ab.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,navigator.clipboard.writeText(e)];case 1:return t.sent(),N(e),setTimeout(function(){return N("")},2e3),[3,3];case 2:return t.sent(),E("Unable to copy the promo code."),[3,3];case 3:return[2]}})}),function(e){return t.apply(this,arguments)}),P=a[r];return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(aw(),{id:"a710532360a17e1a",children:"@-webkit-keyframes slideOutLeft{from{-webkit-transform:translatex(0);transform:translatex(0);opacity:1}to{-webkit-transform:translatex(-100%);transform:translatex(-100%);opacity:0}
17}@-moz-keyframes slideOutLeft{from{-moz-transform:translatex(0);transform:translatex(0);opacity:1}to{-moz-transform:translatex(-100%);transform:translatex(-100%);opacity:0}}@-o-keyframes slideOutLeft{from{-o-transform:translatex(0);transform:translatex(0);opacity:1}to{-o-transform:translatex(-100%);transform:translatex(-100%);opacity:0}}@keyframes slideOutLeft{from{-webkit-transform:translatex(0);-moz-transform:translatex(0);-o-transform:translatex(0);transform:translatex(0);opacity:1}to{-webkit-transform:translatex(-100%);-moz-transform:translatex(-100%);-o-transform:translatex(-100%);transform:translatex(-100%);opacity:0}}@-webkit-keyframes slideInRight{from{-webkit-transform:translatex(100%);transform:translatex(100%);opacity:0}to{-webkit-transform:translatex(0);transform:translatex(0);opacity:1}}@-moz-keyframes slideInRight{from{-moz-transform:translatex(100%);transform:translatex(100%);opacity:0}to{-moz-transform:translatex(0);transform:translatex(0);opacity:1}}@-o-keyframes slideInRight{from{-o-transform:translatex(100%);transform:translatex(100%);opacity:0}to{-o-transform:translatex(0);transform:translatex(0);opacity:1}}@keyframes slideInRight{from{-webkit-transform:translatex(100%);-moz-transform:translatex(100%);-o-transform:translatex(100%);transform:translatex(100%);opacity:0}to{-webkit-transform:translatex(0);-moz-transform:translatex(0);-o-transform:translatex(0);transform:translatex(0);opacity:1}}.slide-out.jsx-a710532360a17e1a{-webkit-animation:slideOutLeft.5s ease-in-out forwards;-moz-animation:slideOutLeft.5s ease-in-out forwards;-o-animation:slideOutLeft.5s ease-in-out forwards;animation:slideOutLeft.5s ease-in-out forwards}.slide-in.jsx-a710532360a17e1a{-webkit-animation:slideInRight.5s ease-in-out forwards;-moz-animation:slideInRight.5s ease-in-out forwards;-o-animation:slideInRight.5s ease-in-out forwards;animation:slideInRight.5s ease-in-out forwards}.marquee-container.jsx-a710532360a17e1a{overflow:hidden;position:relative;width:100%}.announcement-content.jsx-a710532360a17e1a{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}"}),(0,g.jsxs)("div",{className:"jsx-a710532360a17e1a hidden items-center overflow-hidden md:flex",children:[a.length>0&&(0,g.jsx)("div",{className:"jsx-a710532360a17e1a marquee-container ml-0 lg:ml-8",children:(0,g.jsxs)("button",{type:"button",onClick:T,disabled:!(null==P?void 0:P.link),"aria-label":"View details for ".concat(null==P?void 0:P.title),className:"jsx-a710532360a17e1a "+"announcement-content my-auto flex max-h-16 flex-row items-center justify-center gap-2 border-0 bg-transparent p-0 text-left font-semibold transition-all duration-500 ease-in-out ".concat(u?"slide-out":"slide-in"," ").concat((null==P?void 0:P.link)?"cursor-pointer":"cursor-default"),children:[(null==P?void 0:P.type)==="Announcement"?(0,g.jsx)(as.baL,{className:"my-1 h-6 w-6 shrink-0 bg-blend-color-dodge text-[#7F0A0E]","aria-hidden":"true"}):(0,g.jsx)(eo.D4h,{className:"my-1 h-6 w-6 shrink-0 text-[#7F0A0E]","aria-hidden":"true"}),(0,g.jsx)("p",{className:"jsx-a710532360a17e1a font-marcellus text-[15px] font-semibold text-[#7F0A0E]",children:null==P?void 0:P.type}),(0,g.jsx)("p",{className:"jsx-a710532360a17e1a px-2 font-inter text-[14px] font-semibold text-[#333333]",children:null==P?void 0:P.title})]})}),0===a.length&&(0,g.jsx)("p",{className:"jsx-a710532360a17e1a my-auto ml-8 flex gap-2 font-semibold text-amber-700",children:"No ANNOUNCEMENT available"})]}),!aE.tq&&(0,g.jsx)(ak,{announcementDetails:y,copiedValue:A,detailsError:w,isLoading:C,onCopyPromoCode:R,onOpenChange:h,open:f})]})}var aN=[{id:1,redirect:!1,label:"Book",submenu:[{id:1.1,redirect:!1,label:"Quick Menu",items:[{id:1.2,redirect:!1,label:"Book A Flight",link:"/book-a-flight"},{id:1.3,redirect:!1,label:"Flight Schedule",link:"/flight-schedule"},{id:1.4,redirect:!1,label:"Multi-City Bookings",link:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/USBangla/en-GB/BookingEngine/IndexRemoveIframe"),type:"new_tab"},{id:1.5,redirect:!1,label:"Airport Transfer",link:"/bus-services"},{id:1.6,redirect:!1,label:"Promotion",link:"/offers",type:"button"}]},{id:1.6,redirect:!1,label:"Plan Your Travel",items:[{id:1.7,redirect:!1,label:"Domestic Destination",link:"/domestic-destination"},{id:1.8,redirect:!1,label:"International",link:"/our-skies?international"},{id:1.9,redirect:!1,label:"Travel Requirements",link:"/travel-requirements"},{id:2,redirect:!1,label:"Baggage Information",link:"/your-baggage-info"}]},{id:2.1,redirect:!1,label:"Business Travel",items:[{redirect:!1,id:2.2,label:"Group Travel",link:"/business-group-travel/group-travel"},{redirect:!1,id:2.3,label:"Corporate Travel",link:"/business-group-travel/corporate-travel"},{redirect:!1,id:2.4,label:"Charter & Special Flight Request",link:"/business-group-travel/character-and-special"}]}]},{id:2.5,redirect:!1,label:"Manage",submenu:[{id:2.6,redirect:!1,label:"Quick Menu",items:[{id:2.7,redirect:!1,label:"Book A Flight",link:"/book-a-flight"},{id:2.8,redirect:!1,label:"Flight Schedule",link:"/flight-schedule"},{id:2.9,redirect:!1,label:"Multi-City Bookings",link:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/USBangla/en-GB/BookingEngine/IndexRemoveIframe"),type:"new_tab"},{id:3,redirect:!1,label:"Airport Transfer",link:"/bus-services"},{id:"3.0.1",redirect:!1,label:"Promotion",link:"/offers",type:"button"}]},{id:3.1,redirect:!0,label:"Check in online",items:[{id:3.2,redirect:!0,label:"Check in options",link:null}]},{id:3.3,redirect:!1,label:"Manage Booking",items:[{id:3.4,redirect:!1,label:"Re-booking",link:"/manage-your-booking/re-booking"},{id:3.5,redirect:!1,label:"Cancellation",link:"/manage-your-booking/cancellation"},{id:3.6,redirect:!1,label:"Refund",link:"/manage-your-booking/refund"},{id:"3.6.1",redirect:!1,label:"Manage Booking",link:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/(S(e610116fd6324ce89bf2b4284bc9e2b0))/usbangla/Home/FindBooking"),type:"new_tab"}]}]},{id:3.7,redirect:!1,label:"Experience",submenu:[{id:3.8,redirect:!1,label:"Quick Menu",items:[{id:3.9,redirect:!1,label:"Book A Flight",link:"/book-a-flight"},{id:4,redirect:!1,label:"Flight Schedule",link:"/flight-schedule"},{id:4.1,redirect:!1,label:"Multi-City Bookings",link:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/USBangla/en-GB/BookingEngine/IndexRemoveIframe"),type:"new_tab"},{id:4.2,redirect:!1,label:"Airport Transfer",link:"/bus-services"},{id:"4.2.1",redirect:!1,label:"Promotion",link:"/offers",type:"button"}]},{id:4.3,redirect:!1,label:"Experience",items:[{id:"4.4.1",redirect:!1,label:"Explore Bangladesh",link:"/domestic-destination"},{id:4.4,redirect:!1,label:"US Bangla Sky Star",link:"/us-bangla-sky-star"},{id:4.5,redirect:!1,label:"Feedback",link:"/feedback-management"}]},{id:4.6,redirect:!1,label:"Our fleet",items:[{id:4.7,redirect:!1,label:"Dash 8 Q400",link:null},{id:4.8,redirect:!1,label:"Boeing 737-800",link:null},{id:4.9,redirect:!1,label:"ATR 72-600",link:null},{id:"4.9.1",redirect:!1,label:"Airbus A330-300",link:null}]}]},{id:5,redirect:!1,label:"Our Skies",submenu:[{id:5.1,redirect:!1,label:"Quick Menu",items:[{id:5.2,redirect:!1,label:"Book A Flight",link:"/book-a-flight"},{id:5.3,redirect:!1,label:"Flight Schedule",link:"/flight-schedule"},{id:5.4,redirect:!1,label:"Multi-City Bookings",link:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/USBangla/en-GB/BookingEngine/IndexRemoveIframe"),type:"new_tab"},{id:5.5,redirect:!1,label:"Airport Transfer",link:"/bus-services"},{id:"5.5.1",redirect:!1,label:"Promotion",link:"/offers",type:"button"}]},{id:5.6,redirect:!1,label:"Asia",items:[{id:5.7,redirect:!1,label:"Bangkok",link:"/bangkok"},{id:5.8,redirect:!1,label:"Kolkata",link:"/kolkata"},{id:5.9,redirect:!1,label:"Kuala Lumpur",link:"/kualampur"},{id:6,redirect:!1,label:"Male",link:"/male"},{id:"6.0.0",redirect:!1,label:"Explore More",link:"/our-skies?asia",type:"button"}]},{id:6.1,redirect:!1,label:"Middle East",items:[{id:6.2,redirect:!1,label:"Doha",link:"/doha"},{id:6.3,redirect:!1,label:"Muscat",link:"/muscat"},{id:6.4,redirect:!1,label:"Dubai",link:"/dubai"},{id:6.5,redirect:!1,label:"Sharjah",link:"/sharjah"},{id:"6.5.0",redirect:!1,label:"Explore More",link:"/our-skies?middleEast",type:"button"}]}]},{id:6.6,redirect:!1,label:"Loyalty",submenu:[{id:6.7,redirect:!1,label:"Quick Menu",items:[{id:6.8,redirect:!1,label:"Book A Flight",link:"/book-a-flight"},{id:6.9,redirect:!1,label:"Flight Schedule",link:"/flight-schedule"},{id:7,redirect:!1,label:"Multi-City Bookings",link:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/USBangla/en-GB/BookingEngine/IndexRemoveIframe"),type:"new_tab"},{id:7.1,redirect:!1,label:"Airport Transfer",link:"/bus-services"},{id:"7.1.1",redirect:!1,label:"Promotion",link:"/offers",type:"button"}]},{id:7.2,redirect:!1,label:"About Sky Star",items:[{id:7.3,redirect:!1,label:"Benefits of Sky Star",link:"/us-bangla-sky-star"},{id:7.4,redirect:!1,label:"Earn Miles",link:"/earn-sky-star-miles"},{id:7.5,redirect:!1,label:"Spend Miles",link:"/spend-sky-star-miles"},{id:7.6,redirect:!0,label:"Claim Miles",link:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/(S(44f92e1b6c5541119605dcad77703d5d))/usbangla/en-GB/Customer/Login")},{id:7.7,redirect:!1,label:"Miles Calculator",link:"/miles-calculator"}]},{id:7.7,redirect:!1,label:"Membership Area",items:[{id:7.8,redirect:!1,label:"Membership Tiers",link:"/membership-tiers"},{id:7.9,redirect:!1,label:"Digital Membership Card",link:"/digital-membership"},{id:8,redirect:!1,label:"Membership Benefits",link:"/membership-benefits"},{id:8.1,redirect:!1,label:"Reward & Benefits",link:"/reward-benefits"},{id:8.2,redirect:!1,label:"Sky Star FAQ",link:"/sky-star-faq"}]}]},{id:8.3,redirect:!0,label:"Flight Status",link:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/usbangla/en-GB/Customer/Login")}],aT=function(){var e=(0,m._)((0,v.useState)(!1),2),t=e[0],n=e[1],r=(0,m._)((0,v.useState)(null),2),i=r[0],o=r[1],a=(0,m._)((0,v.useState)(null),2),s=a[0],l=a[1],u=(0,m._)((0,v.useState)(!1),2),c=u[0],d=u[1],f=(0,m._)((0,v.useState)(""),2),h=f[0],p=f[1],y=(0,m._)((0,v.useState)(""),2),b=y[0],x=y[1],w=(0,m._)((0,v.useState)(""),2),E=w[0];w[1];var S=(0,v.useRef)(null),C=(0,v.useRef)(null),j=(0,m._)((0,v.useState)({countryCode:"BD",currency:"BDT"}),2),k=j[0],A=j[1],N=(0,m._)((0,v.useState)(ei),2),T=N[0],R=N[1],P=(0,es.useRouter)(),M=function(e){var t=new Set;return e.filter(function(e){return!t.has(e.countryCode)&&(t.add(e.countryCode),!0)})},_=(0,v.useContext)(ea.LZ),O=_.country,B=_.handleCountryChange;(0,v.useEffect)(function(){R(M(T)),A(O)},[]),(0,v.useEffect)(function(){O&&A(O)},[O]),(0,al.M)(C,function(){return n(!1)}),(0,al.M)(S,function(){return d(!1)}),(0,v.useEffect)(function(){var e,t;l(null!==(t=null===(e=aN.find(function(e){return e.label===i}))||void 0===e?void 0:e.submenu)&&void 0!==t?t:[])},[i]);var L=function(){n(!1),d(!c)},D=function(e){var t=e.target.value,n=T.find(function(e){return e.countryCode==t});B(n),A(n)};return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:"bg-white",children:(0,g.jsx)("section",{className:"",children:(0,g.jsxs)("div",{className:"relative flex flex-col lg:flex-row md:flex-row gap-4 item-center",children:[(0,g.jsx)("div",{className:"flex-shrink-0",children:(0,g.jsx)(av,{})}),(0,g.jsx)("div",{className:"flex-grow flex items-center",children:(0,g.jsx)(aA,{})})]})})}),(0,g.jsx)(ea.bX.Provider,{value:{selectedMenu:i,setSelectedMenu:o,isSubMenuOpen:t,setIsSubMenuOpen:n,selectedSubMenu:s,countryType:h,setCountryType:p,region:b,setRegion:x,selectedCurrencyValue:E},children:(0,g.jsx)("div",{className:"lg:sticky top-0 bg-white z-[9999999] md:scroll-smooth",children:(0,g.jsxs)("nav",{className:"bg-[#333] relative",ref:C,children:[(0,g.jsxs)("section",{className:"grid grid-cols-6 relative z-[9999999]",children:[(0,g.jsx)("div",{className:"col-span-4 content-between hidden lg:inline-block",children:(0,g.jsx)(el,{menus:aN})}),(0,g.jsx)("div",{className:"lg:col-span-2 col-span-9 w-full",children:(0,g.jsx)(Q,{as:"nav",className:"bg-[#333333]",children:function(e){var t=e.open;return(0,g.jsxs)("div",{children:[(0,g.jsx)("section",{children:(0,g.jsxs)("div",{className:"relative flex h-14 justify-between ",children:[(0,g.jsx)("div",{className:"absolute inset-y-0 left-0 flex items-center lg:hidden",children:(0,g.jsx)(Q.Button,{className:"inline-flex items-center justify-center rounded-md text-white hover:text-white hover:bg-[#292929] focus:ring-0",children:t?(0,g.jsx)(ao.oHP,{className:"block h-8 w-8 text-white","aria-hidden":"true"}):(0,g.jsx)(as.r0I,{className:"block h-8 w-8","aria-hidden":"true"})})}),(0,g.jsxs)("div",{className:" absolute inset-y-0 inset-x-8 flex gap-5 xl:gap-9 items-center lg:px-0 md:px-0 justify-end sm:justify-end sm:static w-full text-white font-roboto text-navBarTitle navBarTitleWeight uppercase",children:[(0,g.jsx)("button",{type:"button",className:" hidden rounded-full text-white hover:text-white lg:flex items-center justify-center uppercase",onClick:function(){return P.push("".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/(S(fa3f79194f624d359a75cfbbc6cc33d5))/usbangla/en-GB/FlightStatusSearch/FlightStatus"))},children:(0,g.jsx)("p",{className:" whitespace-nowrap font-normal font-roboto text-footerDescriptionBottomPart ",children:"Flight Status"})}),(0,g.jsx)("button",{type:"button",className:"rounded-full text-white hover:text-white flex items-center justify-center uppercase",onClick:function(){return P.push("/contact-us")},children:(0,g.jsx)("p",{className:"font-normal font-roboto text-footerDescriptionBottomPart",children:"Help"})}),(0,g.jsx)("div",{className:"flex flex-row items-center",children:(0,g.jsxs)("div",{className:"flex items-center",children:[(0,g.jsx)("div",{className:"w-[18px] h-[18px] relative",children:(0,g.jsx)(et(),{className:"rounded-lg",src:(null==O?void 0:O.flag)||"",quality:100,alt:"something",layout:"fill",objectPosition:"center",unoptimized:!0})}),(0,g.jsx)("p",{className:"text-[#fff] select-none text-sm",children:(0,g.jsx)("select",{className:"bg-[#333] text-white border-none lg:!pl-2 lg:!pr-7",onChange:D,value:null==k?void 0:k.countryCode,children:null==T?void 0:T.map(function(e,t){return(0,g.jsx)(v.Fragment,{children:(0,g.jsx)("option",{value:e.countryCode,children:e.countryCode},e.index)},t)})})})]})}
17),(0,g.jsxs)("div",{className:"relative",ref:S,children:[(0,g.jsx)("div",{children:(0,g.jsxs)("button",{type:"button",onClick:L,className:" mr-10 sm:mr-0 space-x-2 rounded-full text-white flex items-center justify-center uppercase focus:outline-none",children:[(0,g.jsx)(aa.ePx,{className:"h-6 w-6","aria-hidden":"true"}),(0,g.jsx)("p",{className:"font-normal font-roboto text-footerDescriptionBottomPart",children:"Login"})]})}),c&&(0,g.jsx)(am.Z,{position:"right",width:"w-full md:w-[120px]",children:(0,g.jsxs)("div",{className:"mt-2.5 bg-white divide-y rounded-sm shadow-md",children:[(0,g.jsx)(er(),{href:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/usbangla/en-GB/Customer/Login"),legacyBehavior:!0,children:(0,g.jsx)("div",{className:"font-roboto text-[#666] hover:text-[#333] text-base hover:cursor-pointer px-3 py-2 capitalize",children:"Sky Star"})}),(0,g.jsx)(er(),{href:"".concat("https://fo-usba.ttinteractive.com","/Zenith/FrontOffice/USBangla/en-GB/travelAgency/Login"),legacyBehavior:!0,children:(0,g.jsx)("div",{className:"font-roboto text-[#666] hover:text-[#333] text-base hover:cursor-pointer px-3 py-2 capitalize",children:"Agent"})})]})})]})]})]})}),(0,g.jsx)(Q.Panel,{className:"text-white lg:hidden relative",children:function(e){var t=e.close;return(null==aN?void 0:aN.length)>0&&(0,g.jsx)("div",{className:"w-full bg-[#333] absolute",children:(0,g.jsx)(au,{defaultKey:"first",children:aN.map(function(e,n){var r,i,o;return(0,g.jsx)(ap,{id:null==e?void 0:e.id,headerTitle:null==e?void 0:e.label,children:(0,g.jsx)("ul",{className:"pb-1 text-[#A9A9A9]",children:(null==e?void 0:null===(r=e.submenu)||void 0===r?void 0:r.length)>0&&e.submenu.map(function(e){var n;return(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)("li",{className:"px-4 py-1",children:[(0,g.jsx)("div",{className:" w-full flex justify-center items-center rounded bg-black hover:text-primary",children:(0,g.jsx)("h3",{className:"px-4 py-1 cursor-pointer font-bold text-white",children:e.label})}),null==e?void 0:null===(n=e.items)||void 0===n?void 0:n.map(function(e){return(0,g.jsx)("div",{className:"flex justify-center py-2",onClick:function(){return t()},children:(0,g.jsx)("li",{children:(0,g.jsx)(er(),{href:(null==e?void 0:e.link)!=null?null==e?void 0:e.link:"/",legacyBehavior:!0,children:null==e?void 0:e.label})})},null==e?void 0:e.id)})]},e.id)})})},null!==(i=null==e?void 0:e.id)&&void 0!==i?i:n)},null!==(o=null==e?void 0:e.id)&&void 0!==o?o:n)})})})}})]})}})})]}),(0,g.jsx)(ai,{})]})})})]})}},25489:function(e,t,n){"use strict";let r;n.d(t,{Vq:function(){return td},GG:function(){return th},cZ:function(){return tm},$N:function(){return tg}});var i,o,a,s,l,u,c,d=n(72253),f=n(14932),h=n(47702),p=n(85893),m=n(67294),g=n.t(m,2);function v(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function y(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function b(...e){return t=>{let n=!1,r=e.map(e=>{let r=y(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():y(e[t],null)}}}}function x(...e){return m.useCallback(b(...e),e)}var w=globalThis?.document?m.useLayoutEffect:()=>{},E=g[" useId ".trim().toString()]||(()=>void 0),S=0;function C(e){let[t,n]=m.useState(E());return w(()=>{e||n(e=>e??String(S++))},[e]),e||(t?`radix-${t}`:"")}var j=g[" useInsertionEffect ".trim().toString()]||w;Symbol("RADIX:SYNC_STATE");var k=n(73935);function A(e){let t=function(e){let t=m.forwardRef((e,t)=>{let{children:n,...r}=e;if(m.isValidElement(n)){let e,i;let o=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==m.Fragment&&(a.ref=t?b(t,o):o),m.cloneElement(n,a)}return m.Children.count(n)>1?m.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}
17(e),n=m.forwardRef((e,n)=>{let{children:r,...i}=e,o=m.Children.toArray(r),a=o.find(T);if(a){let e=a.props.children,r=o.map(t=>t!==a?t:m.Children.count(e)>1?m.Children.only(null):m.isValidElement(e)?e.props.children:null);return(0,p.jsx)(t,{...i,ref:n,children:m.isValidElement(e)?m.cloneElement(e,void 0,r):null})}return(0,p.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var N=Symbol("radix.slottable");function T(e){return m.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===N}var R=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=A(`Primitive.${t}`),Node=m.forwardRef((e,r)=>{let{asChild:i,...o}=e,a=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,p.jsx)(a,{...o,ref:r})});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{});function P(e){let t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>(...e)=>t.current?.(...e),[])}var M="dismissableLayer.update",_=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),O=m.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,onDismiss:s,...l}=e,c=m.useContext(_),[d,f]=m.useState(null),h=d?.ownerDocument??globalThis?.document,[,g]=m.useState({}),y=x(t,e=>f(e)),b=Array.from(c.layers),[w]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),E=b.indexOf(w),S=d?b.indexOf(d):-1,C=c.layersWithOutsidePointerEventsDisabled.size>0,j=S>=E,k=function(e,t=globalThis?.document){let n=P(e),r=m.useRef(!1),i=m.useRef(()=>{});return m.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){L("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...c.branches].some(e=>e.contains(t));!j||n||(i?.(e),a?.(e),e.defaultPrevented||s?.())},h),A=function(e,t=globalThis?.document){let n=P(e),r=m.useRef(!1);return m.useEffect(()=>{let e=e=>{e.target&&!r.current&&L("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target,n=[...c.branches].some(e=>e.contains(t));n||(o?.(e),a?.(e),e.defaultPrevented||s?.())},h);return!function(e,t=globalThis?.document){let n=P(e);m.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{let t=S===c.layers.size-1;t&&(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},h),m.useEffect(()=>{if(d)return n&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(u=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),B(),()=>{n&&1===c.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=u)}},[d,h,n,c]),m.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),B())},[d,c]),m.useEffect(()=>{let e=()=>g({});return document.addEventListener(M,e),()=>document.removeEventListener(M,e)},[]),(0,p.jsx)(R.div,{...l,ref:y,style:{pointerEvents:C?j?"auto":"none":void 0,...e.style},onFocusCapture:v(e.onFocusCapture,A.onFocusCapture),onBlurCapture:v(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:v(e.onPointerDownCapture,k.onPointerDownCapture)})});function B(){let e=new CustomEvent(M);document.dispatchEvent(e)}function L(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&i.addEventListener(e,t,{once:!0}),r)?i&&k.flushSync(()=>i.dispatchEvent(o)):i.dispatchEvent(o)}O.displayName="DismissableLayer",m.forwardRef((e,t)=>
17{let n=m.useContext(_),r=m.useRef(null),i=x(t,r);return m.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,p.jsx)(R.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var D="focusScope.autoFocusOnMount",F="focusScope.autoFocusOnUnmount",I={bubbles:!1,cancelable:!0},z=m.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=m.useState(null),u=P(i),c=P(o),d=m.useRef(null),f=x(t,e=>l(e)),h=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(r){let e=function(e){if(h.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:H(d.current,{select:!0})},t=function(e){if(h.paused||!s)return;let t=e.relatedTarget;null===t||s.contains(t)||H(d.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&H(s)});return s&&n.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,s,h.paused]),m.useEffect(()=>{if(s){q.add(h);let e=document.activeElement,t=s.contains(e);if(!t){let t=new CustomEvent(D,I);s.addEventListener(D,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(H(r,{select:t}),document.activeElement!==n)return}(V(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&H(s))}return()=>{s.removeEventListener(D,u),setTimeout(()=>{let t=new CustomEvent(F,I);s.addEventListener(F,c),s.dispatchEvent(t),t.defaultPrevented||H(e??document.body,{select:!0}),s.removeEventListener(F,c),q.remove(h)},0)}}},[s,u,c,h]);let g=m.useCallback(e=>{if(!n&&!r||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,o]=function(e){let t=V(e),n=U(t,e),r=U(t.reverse(),e);return[n,r]}(t),a=r&&o;a?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&H(o,{select:!0})):(e.preventDefault(),n&&H(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,h.paused]);return(0,p.jsx)(R.div,{tabIndex:-1,...a,ref:f,onKeyDown:g})});function V(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function U(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function H(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}z.displayName="FocusScope";var q=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=W(r,e)).unshift(e)},remove(e){r=W(r,e),r[0]?.resume()}});function W(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var $=m.forwardRef((e,t)=>{let{container:n,...r}=e,[i,o]=m.useState(!1);w(()=>o(!0),[]);let a=n||i&&globalThis?.document?.body;return a?k.createPortal((0,p.jsx)(R.div,{...r,ref:t}),a):null});$.displayName="Portal";var G=e=>{let t,n;let{present:r,children:i}=e,o=function(e){var t;let[n,r]=m.useState(),i=m.useRef(null),o=m.useRef(e),a=m.useRef("none"),s=e?"mounted":"unmounted",[l,u]=(t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},m.useReducer((e,n)=>{let r=t[e][n];return r??e},s));return m.useEffect(()=>{let e=Z(i.current);a.current="mounted"===l?e:"none"},[l]),w(()=>{let t=i.current,n=o.current,r=n!==e;if(r){let r=a.current,i=Z(t);e?u("MOUNT"):"none"===i||t?.display==="none"?u("UNMOUNT"):n&&r!==i?u("ANIMATION_OUT"):u("UNMOUNT"),o.current=e}},[e,u]),w(()=>
17{if(n){let e;let t=n.ownerDocument.defaultView??window,r=r=>{let a=Z(i.current),s=a.includes(r.animationName);if(r.target===n&&s&&(u("ANIMATION_END"),!o.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},s=e=>{e.target===n&&(a.current=Z(i.current))};return n.addEventListener("animationstart",s),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",s),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:m.useCallback(e=>{i.current=e?getComputedStyle(e):null,r(e)},[])}}(r),a="function"==typeof i?i({present:o.isPresent}):m.Children.only(i),s=x(o.ref,(t=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?a.ref:(t=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?a.props.ref:a.props.ref||a.ref),l="function"==typeof i;return l||o.isPresent?m.cloneElement(a,{ref:s}):null};function Z(e){return e?.animationName||"none"}G.displayName="Presence";var Y=0;function K(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var X=n(97582),J="right-scroll-bar-position",Q="width-before-scroll-bar";function ee(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var et="undefined"!=typeof window?m.useLayoutEffect:m.useEffect,en=new WeakMap,er=(void 0===i&&(i={}),(void 0===o&&(o=function(e){return e}),a=[],s=!1,l={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,s);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){s=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=(0,X.pi)({async:!0,ssr:!1},i),l),ei=function(){},eo=m.forwardRef(function(e,t){var n,r,i,o,a=m.useRef(null),s=m.useState({onScrollCapture:ei,onWheelCapture:ei,onTouchMoveCapture:ei}),l=s[0],u=s[1],c=e.forwardProps,d=e.children,f=e.className,h=e.removeScrollBar,p=e.enabled,g=e.shards,v=e.sideCar,y=e.noRelative,b=e.noIsolation,x=e.inert,w=e.allowPinchZoom,E=e.as,S=e.gapMode,C=(0,X._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=(n=[a,t],r=function(e){return n.forEach(function(t){return ee(t,e)})},(i=(0,m.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,o=i.facade,et(function(){var e=en.get(o);if(e){var t=new Set(e),r=new Set(n),i=o.current;t.forEach(function(e){r.has(e)||ee(e,null)}),r.forEach(function(e){t.has(e)||ee(e,i)})}en.set(o,n)},[n]),o),k=(0,X.pi)((0,X.pi)({},C),l);return m.createElement(m.Fragment,null,p&&m.createElement(v,{sideCar:er,removeScrollBar:h,shards:g,noRelative:y,noIsolation:b,inert:x,setCallbacks:u,allowPinchZoom:!!w,lockRef:a,gapMode:S}),c?m.cloneElement(m.Children.only(d),(0,X.pi)((0,X.pi)({},k),{ref:j})):m.createElement(void 0===E?"div":E,(0,X.pi)({},k,{className:f,ref:j}),d))});eo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eo.classNames={fullWidth:Q,zeroRight:J};var ea=function(e){var t=e.sideCar,n=(0,X._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return m.createElement(r,(0,X.pi)({},n))};
17ea.isSideCarExport=!0;var es=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},el=function(){var e=es();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},eu=function(){var e=el();return function(t){return e(t.styles,t.dynamic),null}},ec={left:0,top:0,right:0,gap:0},ed=function(e){return parseInt(e||"",10)||0},ef=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[ed(n),ed(r),ed(i)]},eh=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ec;var t=ef(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ep=eu(),em="data-scroll-locked",eg=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(em,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(J," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Q," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(J," .").concat(J," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Q," .").concat(Q," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(em,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},ev=function(){var e=parseInt(document.body.getAttribute(em)||"0",10);return isFinite(e)?e:0},ey=function(){m.useEffect(function(){return document.body.setAttribute(em,(ev()+1).toString()),function(){var e=ev()-1;e<=0?document.body.removeAttribute(em):document.body.setAttribute(em,e.toString())}},[])},eb=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;ey();var o=m.useMemo(function(){return eh(i)},[i]);return m.createElement(ep,{styles:eg(o,!t,i,n?"":"!important")})},ex=!1;if("undefined"!=typeof window)try{var ew=Object.defineProperty({},"passive",{get:function(){return ex=!0,!0}});window.addEventListener("test",ew,ew),window.removeEventListener("test",ew,ew)}catch(e){ex=!1}var eE=!!ex&&{passive:!1},eS=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},eC=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ej(e,r)){var i=ek(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ej=function(e,t){return"v"===e?eS(t,"overflowY"):eS(t,"overflowX")},ek=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eA=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,l=n.target,u=t.contains(l),c=!1,d=s>0,f=0,h=0;do{if(!l)break;var p=ek(e,l),m=p[0],g=p[1]-p[2]-a*m;(m||g)&&ej(e,l)&&(f+=g,h+=m);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(f)||!i&&s>f)?c=!0:!d&&(i&&1>Math.abs(h)||!i&&-s>h)&&(c=!0),c},eN=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eT=function(e){return[e.deltaX,e.deltaY]},eR=function(e){return e&&"current"in e?e.current:e},eP=0,eM=[],e_=(er.useMedium(function(e){var t=m.useRef([]),n=m.useRef([0,0]),r=m.useRef(),i=m.useState(eP++)[0],o=m.useState(eu)[0],a=m.useRef(e);m.useEffect(function(){a.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,X.ev)([e.lockRef.current],(e.shards||[]).map(eR),!0).filter(
17Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=m.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=eN(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=eC(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=eC(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var h=r.current||i;return eA(h,t,e,"h"===h?l:u,!0)},[]),l=m.useCallback(function(e){if(eM.length&&eM[eM.length-1]===o){var n="deltaY"in e?eT(e):eN(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(a.current.shards||[]).map(eR).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=m.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=m.useCallback(function(e){n.current=eN(e),r.current=void 0},[]),d=m.useCallback(function(t){u(t.type,eT(t),t.target,s(t,e.lockRef.current))},[]),f=m.useCallback(function(t){u(t.type,eN(t),t.target,s(t,e.lockRef.current))},[]);m.useEffect(function(){return eM.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,eE),document.addEventListener("touchmove",l,eE),document.addEventListener("touchstart",c,eE),function(){eM=eM.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,eE),document.removeEventListener("touchmove",l,eE),document.removeEventListener("touchstart",c,eE)}},[]);var h=e.removeScrollBar,p=e.inert;return m.createElement(m.Fragment,null,p?m.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,h?m.createElement(eb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}),ea),eO=m.forwardRef(function(e,t){return m.createElement(eo,(0,X.pi)({},e,{ref:t,sideCar:e_}))});eO.classNames=eo.classNames;var eB=new WeakMap,eL=new WeakMap,eD={},eF=0,eI=function(e){return e&&(e.host||eI(e.parentNode))},ez=function(e,t,n,r){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=eI(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});eD[n]||(eD[n]=new WeakMap);var o=eD[n],a=[],s=new Set,l=new Set(i),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(eB.get(e)||0)+1,u=(o.get(e)||0)+1;eB.set(e,l),o.set(e,u),a.push(e),1===l&&i&&eL.set(e,!0),1===u&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),s.clear(),eF++,function(){a.forEach(function(e){var t=eB.get(e)-1,i=o.get(e)-1;eB.set(e,t),o.set(e,i),t||(eL.has(e)||e.removeAttribute(r),eL.delete(e)),i||e.removeAttribute(n)}),--eF||(eB=new WeakMap,eB=new WeakMap,eL=new WeakMap,eD={})}},eV=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),ez(r,i,n,"aria-hidden")):function(){return null}},eU="Dialog",[eH,eq]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>m.createContext(e));return function(n){let r=n?.[e]||t;return m.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=m.createContext(r),o=n.length;n=[...n,r];let a=t=>{let{scope:n,children:r,...a}=t,s=n?.[e]?.[o]||i,l=m.useMemo(()=>a,Object.values(a));return(0,p.jsx)(s.Provider,{value:l,children:r})};return a.displayName=t+"Provider",[a,function(n,a){let s=a?.[e]?.[o]||i,l=m.useContext(s);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e),o=i[`__scope${r}`];return{...t,...o}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(eU),[eW,e$]=eH(eU),eG=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,s=m.useRef(null),l=m.useRef(null),[u,c]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,o,a]=function({defaultProp:e,onChange:t}){let[n,r]=m.useState(e),i=m.useRef(n),o=m.useRef(t);return j(()=>{o.current=t},[t]),m.useEffect(()=>{i.current!==n&&(o.current?.(n),i.current=n)},[n,i]),[n,r,o]}({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:i;{let t=m.useRef(void 0!==e);m.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,r])}let u=m.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&a.current?.(n)}else o(t)},[s,e,o,a]);return[l,u]}({prop:r,defaultProp:i??!1,onChange:o,caller:eU});return(0,p.jsx)(eW,{scope:t,triggerRef:s,contentRef:l,contentId:C(),titleId:C(),descriptionId:C(),open:u,onOpenChange:c,onOpenToggle:m.useCallback(()=>c(e=>!e),[c]),modal:a,children:n})};eG.displayName=eU;var eZ="DialogTrigger";m.forwardRef((e,t)=>
17{let{__scopeDialog:n,...r}=e,i=e$(eZ,n),o=x(t,i.triggerRef);return(0,p.jsx)(R.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":tr(i.open),...r,ref:o,onClick:v(e.onClick,i.onOpenToggle)})}).displayName=eZ;var eY="DialogPortal",[eK,eX]=eH(eY,{forceMount:void 0}),eJ=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=e$(eY,t);return(0,p.jsx)(eK,{scope:t,forceMount:n,children:m.Children.map(r,e=>(0,p.jsx)(G,{present:n||o.open,children:(0,p.jsx)($,{asChild:!0,container:i,children:e})}))})};eJ.displayName=eY;var eQ="DialogOverlay",e0=m.forwardRef((e,t)=>{let n=eX(eQ,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=e$(eQ,e.__scopeDialog);return o.modal?(0,p.jsx)(G,{present:r||o.open,children:(0,p.jsx)(e2,{...i,ref:t})}):null});e0.displayName=eQ;var e1=A("DialogOverlay.RemoveScroll"),e2=m.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=e$(eQ,n);return(0,p.jsx)(eO,{as:e1,allowPinchZoom:!0,shards:[i.contentRef],children:(0,p.jsx)(R.div,{"data-state":tr(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),e4="DialogContent",e3=m.forwardRef((e,t)=>{let n=eX(e4,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=e$(e4,e.__scopeDialog);return(0,p.jsx)(G,{present:r||o.open,children:o.modal?(0,p.jsx)(e5,{...i,ref:t}):(0,p.jsx)(e6,{...i,ref:t})})});e3.displayName=e4;var e5=m.forwardRef((e,t)=>{let n=e$(e4,e.__scopeDialog),r=m.useRef(null),i=x(t,n.contentRef,r);return m.useEffect(()=>{let e=r.current;if(e)return eV(e)},[]),(0,p.jsx)(e8,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:v(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:v(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;r&&e.preventDefault()}),onFocusOutside:v(e.onFocusOutside,e=>e.preventDefault())})}),e6=m.forwardRef((e,t)=>{let n=e$(e4,e.__scopeDialog),r=m.useRef(!1),i=m.useRef(!1);return(0,p.jsx)(e8,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let o=t.target,a=n.triggerRef.current?.contains(o);a&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),e8=m.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,s=e$(e4,n),l=m.useRef(null),u=x(t,l);return m.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??K()),document.body.insertAdjacentElement("beforeend",e[1]??K()),Y++,()=>{1===Y&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Y--}},[]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(z,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,p.jsx)(O,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":tr(s.open
17),...a,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(ts,{titleId:s.titleId}),(0,p.jsx)(tl,{contentRef:l,descriptionId:s.descriptionId})]})]})}),e7="DialogTitle",e9=m.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=e$(e7,n);return(0,p.jsx)(R.h2,{id:i.titleId,...r,ref:t})});e9.displayName=e7;var te="DialogDescription";m.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=e$(te,n);return(0,p.jsx)(R.p,{id:i.descriptionId,...r,ref:t})}).displayName=te;var tt="DialogClose",tn=m.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=e$(tt,n);return(0,p.jsx)(R.button,{type:"button",...r,ref:t,onClick:v(e.onClick,()=>i.onOpenChange(!1))})});function tr(e){return e?"open":"closed"}tn.displayName=tt;var ti="DialogTitleWarning",[to,ta]=function(e,t){let n=m.createContext(t),r=e=>{let{children:t,...r}=e,i=m.useMemo(()=>r,Object.values(r));return(0,p.jsx)(n.Provider,{value:i,children:t})};return r.displayName=e+"Provider",[r,function(r){let i=m.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}]}(ti,{contentName:e4,titleName:e7,docsSlug:"dialog"}),ts=({titleId:e})=>{let t=ta(ti),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 18 19If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 20 21For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return m.useEffect(()=>{if(e){let t=document.getElementById(e);t||console.error(n)}},[n,e]),null},tl=({contentRef:e,descriptionId:t})=>{let n=ta("DialogDescriptionWarning"),r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return m.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");if(t&&n){let e=document.getElementById(t);e||console.warn(r)}},[r,e,t]),null},tu=n(89583);function tc(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}function td(e){return(0,p.jsx)(eG,(0,d._)({"data-slot":"dialog"},e))}function tf(e){return(0,p.jsx)(eJ,(0,d._)({"data-slot":"dialog-portal"},e))}function th(e){return(0,p.jsx)(tn,(0,d._)({"data-slot":"dialog-close"},e))}function tp(e){var t=e.className,n=(0,h._)(e,["className"]);return(0,p.jsx)(e0,(0,d._)({"data-slot":"dialog-overlay",className:tc("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[9999999] bg-black/50",t)},n))}function tm(e){var t=e.className,n=e.children,r=e.showCloseButton,i=(0,h._)(e,["className","children","showCloseButton"]);return(0,p.jsxs)(tf,{"data-slot":"dialog-portal",children:[(0,p.jsx)(tp,{}),(0,p.jsxs)(e3,(0,f._)((0,d._)({"data-slot":"dialog-content",className:tc("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-[9999999] grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t)},i),{children:[n,(void 0===r||r)&&(0,p.jsxs)(tn,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,p.jsx)(tu.aHS,{}),(0,p.jsx)("span",{className:"sr-only",children:"Close"})]})]}))]})}function tg(e){var t=e.className,n=(0,h._)(e,["className"]);return(0,p.jsx)(e9,(0,d._)({"data-slot":"dialog-title",className:tc("text-lg leading-none font-semibold",t)},n))}},88464:function(e,t,n){"use strict";function r(e){return e?"".concat("https://cdn.usbair.com/website/upload/").concat(e):"https://cdn.usbair.com/website/public/default_banner.png"}function i(e){return e?"".concat("https://cdn.usbair.com/website/public").concat(e):"".concat("https://usbair.com").concat(e)}n.d(t,{N0:function(){return r},NR:function(){return i}})},97498:function(e,t){"use strict";
21Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return i},ACTION_NAVIGATE:function(){return o},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return s},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return c},isThenable:function(){return d}});var n,r,i="refresh",o="navigate",a="restore",s="server-patch",l="prefetch",u="fast-refresh",c="server-action";function d(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("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)},10030:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(22866),("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)},40768:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(72253),i=n(14932),o=n(47702),a=n(91309),s=n(4586);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return Image}});var l=n(38754),u=n(61757)._(n(67294)),c=l._(n(79201)),d=n(85494),f=n(40920),h=n(30869);n(81905);var p=n(22866);function m(e){return"/"===e[0]?e.slice(1):e}var g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},v=new Set,y="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",b=new Map([["default",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:(0,p.normalizePathTrailingSlash)(t.path)+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}],["imgix",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality,o=new URL(""+t.path+m(n)),a=o.searchParams;return a.set("auto",a.getAll("auto").join(",")||"format"),a.set("fit",a.get("fit")||"max"),a.set("w",a.get("w")||r.toString()),i&&a.set("q",i.toString()),o.href}],["cloudinary",function(e){var t=e.config,n=e.src,r=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return""+t.path+r+m(n)}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return""+t.path+m(n)+"?imwidth="+r}],["custom",function(e){throw Error('Image with src "'+e.src+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}]]);function x(e){return void 0!==e.default}function w(e){var t=e.config,n=e.src,r=e.unoptimized,i=e.layout,o=e.width,a=e.quality,l=e.sizes,u=e.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var c=function(e,t,n,r){var i=e.deviceSizes,o=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var a=/(^|\s)(1?\d?\d)vw/g,l=[];u=a.exec(r);u)l.push(parseInt(u[2]));if(l.length){var u,c,d=.01*(c=Math).min.apply(c,s._(l));return{widths:o.filter(function(e){return e>=i[0]*d}),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t||"fill"===n||"responsive"===n?{widths:i,kind:"w"}:{widths:s._(new Set([t,2*t].map(function(e){return o.find(function(t){return t>=e})||o[o.length-1]}))),kind:"x"}}(t,o,i,l),d=c.widths,f=c.kind,h=d.length-1;return{sizes:l||"w"!==f?l:"100vw",srcSet:d.map(function(e,r){return u({config:t,src:n,quality:a,width:e})+" "+("w"===f?e:r+1)+f}).join(", "),src:u({config:t,src:n,quality:a,width:d[h]})}}function E(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function S(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=b.get(n);if(r)return r(e);throw Error('Unknown "loader" found in "next.config.js". Expected: '+d.VALID_LOADERS.join(", ")+". Received: "+n)}function C(e,t,n,r,i,o){e&&e.src!==y&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch(function(){}).then(function(){if(e.parentNode&&(v.add(t),"blur"===r&&o(!0),null==i?void 0:i.current)){var n=e.naturalWi
21dth,a=e.naturalHeight;i.current({naturalWidth:n,naturalHeight:a})}}))}var j=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),a=e.qualityInt,s=e.layout,l=e.className,c=e.imgStyle,d=e.blurStyle,f=e.isLazy,h=e.placeholder,p=e.loading,m=e.srcString,g=e.config,v=e.unoptimized,y=e.loader,b=e.onLoadingCompleteRef,x=e.setBlurComplete,E=e.setIntersection,S=e.onLoad,j=e.onError,k=(e.isVisible,e.noscriptSizes),A=o._(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return p=f?"lazy":p,u.default.createElement(u.default.Fragment,null,u.default.createElement("img",i._(r._({},A,t),{decoding:"async","data-nimg":s,className:l,style:r._({},c,d),ref:(0,u.useCallback)(function(e){E(e),(null==e?void 0:e.complete)&&C(e,m,s,h,b,x)},[E,m,s,h,b,x]),onLoad:function(e){C(e.currentTarget,m,s,h,b,x),S&&S(e)},onError:function(e){"blur"===h&&x(!0),j&&j(e)}})),(f||"blur"===h)&&u.default.createElement("noscript",null,u.default.createElement("img",r._(i._(r._({},A),{loading:p,decoding:"async","data-nimg":s,style:c,className:l}),w({config:g,src:m,unoptimized:v,layout:s,width:n,quality:a,sizes:k,loader:y})))))};function Image(e){var t,n,l=e.src,p=e.sizes,m=e.unoptimized,b=void 0!==m&&m,C=e.priority,k=void 0!==C&&C,A=e.loading,N=e.lazyRoot,T=e.lazyBoundary,R=e.className,P=e.quality,M=e.width,_=e.height,O=e.style,B=e.objectFit,L=e.objectPosition,D=e.onLoadingComplete,F=e.placeholder,I=void 0===F?"empty":F,z=e.blurDataURL,V=o._(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),U=(0,u.useContext)(h.ImageConfigContext),H=(0,u.useMemo)(function(){var e=g||U||d.imageConfigDefault,t=s._(e.deviceSizes).concat(s._(e.imageSizes)).sort(function(e,t){return e-t}),n=e.deviceSizes.sort(function(e,t){return e-t});return i._(r._({},e),{allSizes:t,deviceSizes:n})},[U]),q=p?"responsive":"intrinsic";"layout"in V&&(V.layout&&(q=V.layout),delete V.layout);var W=S;if("loader"in V){if(V.loader){var $=V.loader;W=function(e){return e.config,$(o._(e,["config"]))}}delete V.loader}var G="";if("object"==typeof(t=l)&&(x(t)||void 0!==t.src)){var Z=x(l)?l.default:l;if(!Z.src)throw 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(Z));if(z=z||Z.blurDataURL,G=Z.src,(!q||"fill"!==q)&&(_=_||Z.height,M=M||Z.width,!Z.height||!Z.width))throw 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(Z))}var Y=!k&&("lazy"===A||void 0===A);((l="string"==typeof l?l:G).startsWith("data:")||l.startsWith("blob:"))&&(b=!0,Y=!1),v.has(l)&&(Y=!1),H.unoptimized&&(b=!0);var K=a._((0,u.useState)(!1),2),X=K[0],J=K[1],Q=a._((0,f.useIntersection)({rootRef:void 0===N?null:N,rootMargin:T||"200px",disabled:!Y}),3),ee=Q[0],et=Q[1],en=Q[2],er=!Y||et,ei={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},eo={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ea=!1,es=E(M),el=E(_),eu=E(P),ec=Object.assign({},O,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:B,objectPosition:L}),ed="blur"!==I||X?{}:{backgroundSize:B||"cover",backgroundPosition:L||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'+z+'")'};if("fill"===q)ei.display="block",ei.position="absolute",ei.top=0,ei.left=0,ei.bottom=0,ei.right=0;else if(void 0!==es&&void 0!==el){var ef=el/es,eh=isNaN(ef)?"100%":""+100*ef+"%";"responsive"===q?(ei.display="block",ei.position="relative",ea=!0,eo.paddingTop=eh):"intrinsic"===q?(ei.display="inline-block",ei.position="relative",ei.maxWidth="100%",ea=!0,eo.maxWidth="100%",n="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27"+es+"%27%20height=%27"+el+"%27/%3e"):"fixed"===q&&(ei.display="inline-block",ei.position="relative",ei.width=es,ei.height=el)}var ep={src:y,srcSet:void 0,sizes:void 0};er&&(ep=w({config:H,src:l,unoptimized:b,layout:q,width:es,quality:eu,sizes:p,loader:W}));var em=l,eg={imageSrcSet:ep.srcSet,imageSizes:ep.sizes,crossOrigin:V.crossOrigin,referrerPolicy:V.referrerPolicy},ev=u.default.useLayoutEffect,ey=(0,u.useRef)(D),eb=(0,u.useRef)(l);(0,u.useEffect)(function(){ey.current=D},[D]),ev(function(){eb.current!==l&&(en(),eb.current=l)},[en,l]);var ex=r._({isLazy:Y,imgAttributes:ep,heightInt:el,widthInt:es,qualityInt:eu,layout:q,className:R,imgStyle:ec,blurStyle:ed,loading:A,config:H,unoptimized:b,placeholder:I,loader:W,srcString:em,onLoadingCompleteRef:ey,setBlurComplete:J,setIntersection:ee,isVisible:er,noscriptSizes:p},V);return u.default.createElement(u.default.Fragment,null,u.default.createElement("span",{style:ei},ea?u.default.createElement("span",{style:eo},n?u.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:n}):null):null,u.default.createElement(j,ex)),k?u.default.createElement(c.default,null,u.default.createElement("link",r._({key:"__nimg-"+ep.src+ep.srcSet+ep.sizes,rel:"preload",as:"image",href:ep.srcSet?void 0:ep.src},eg))):null)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
21dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65170:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(72253),i=n(47702),o=n(91309);n(88421),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});var a=n(38754)._(n(67294)),s=n(74450),l=n(92227),u=n(64364),c=n(10109),d=n(73607),f=n(11823),h=n(89031),p=n(40920),m=n(10030),g=n(77192),v=n(97498),y=new Set;function b(e,t,n,r,i,o){if(o||(0,l.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){var a=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(y.has(a))return;y.add(a)}Promise.resolve(o?e.prefetch(t,i):e.prefetch(t,n,r)).catch(function(e){})}}function x(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}var w=a.default.forwardRef(function(e,t){var n,u,y=e.href,w=e.as,E=e.children,S=e.prefetch,C=void 0===S?null:S,j=e.passHref,k=e.replace,A=e.shallow,N=e.scroll,T=e.locale,R=e.onClick,P=e.onMouseEnter,M=e.onTouchStart,_=e.legacyBehavior,O=void 0!==_&&_,B=i._(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=E,O&&("string"==typeof n||"number"==typeof n)&&(n=a.default.createElement("a",null,n));var L=a.default.useContext(f.RouterContext),D=a.default.useContext(h.AppRouterContext),F=null!=L?L:D,I=!L,z=!1!==C,V=null===C?v.PrefetchKind.AUTO:v.PrefetchKind.FULL,U=a.default.useMemo(function(){if(!L){var e=x(y);return{href:e,as:w?x(w):e}}var t=o._((0,s.resolveHref)(L,y,!0),2),n=t[0],r=t[1];return{href:n,as:w?(0,s.resolveHref)(L,w):r||n}},[L,y,w]),H=U.href,q=U.as,W=a.default.useRef(H),$=a.default.useRef(q);O&&(u=a.default.Children.only(n));var G=O?u&&"object"==typeof u&&u.ref:t,Z=o._((0,p.useIntersection)({rootMargin:"200px"}),3),Y=Z[0],K=Z[1],X=Z[2],J=a.default.useCallback(function(e){($.current!==q||W.current!==H)&&(X(),$.current=q,W.current=H),Y(e),G&&("function"==typeof G?G(e):"object"==typeof G&&(G.current=e))},[q,G,H,X,Y]);a.default.useEffect(function(){F&&K&&z&&b(F,H,q,{locale:T},{kind:V},I)},[q,H,K,T,z,null==L?void 0:L.locale,F,I,V]);var Q={ref:J,onClick:function(e){O||"function"!=typeof R||R(e),O&&u.props&&"function"==typeof u.props.onClick&&u.props.onClick(e),F&&!e.defaultPrevented&&function(e,t,n,r,i,o,s,u,c){if(!("A"===e.currentTarget.nodeName.toUpperCase()&&((d=e.currentTarget.getAttribute("target"))&&"_self"!==d||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which||!c&&!(0,l.isLocalURL)(n)))){e.preventDefault();var d,f=function(){var e=null==s||s;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?a.default.startTransition(f):f()}}(e,F,H,q,k,A,N,T,I)},onMouseEnter:function(e){O||"function"!=typeof P||P(e),O&&u.props&&"function"==typeof u.props.onMouseEnter&&u.props.onMouseEnter(e),F&&(z||!I)&&b(F,H,q,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:V},I)},onTouchStart:function(e){O||"function"!=typeof M||M(e),O&&u.props&&"function"==typeof u.props.onTouchStart&&u.props.onTouchStart(e),F&&(z||!I)&&b(F,H,q,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:V},I)}};if((0,c.isAbsoluteUrl)(q))Q.href=q;else if(!O||j||"a"===u.type&&!("href"in u.props)){var ee=void 0!==T?T:null==L?void 0:L.locale,et=(null==L?void 0:L.isLocaleDomain)&&(0,m.getDomainLocale)(q,ee,null==L?void 0:L.locales,null==L?void 0:L.domainLocales);Q.href=et||(0,g.addBasePath)((0,d.addLocale)(q,ee,null==L?void 0:L.defaultLocale))}return O?a.default.cloneElement(u,Q):a.default.createElement("a",r._({},B,Q),n)});("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)},40920:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(91309);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});var i=n(67294),o=n(63436),a="function"==typeof IntersectionObserver,s=new Map,l=[];function u(e){var t=e.rootRef,n=e.rootMargin,u=e.disabled||!a,c=r._((0,i.useState)(!1),2),d=c[0],f=c[1],h=(0,i.useRef)(null),p=(0,i.useCallback)(function(e){h.current=e},[]);return(0,i.useEffect)(function(){if(a){if(!u&&!d){var e,r,i,c,p=h.current;if(p&&p.tagName)return r=(e=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find(function(e){return e.root===n.root&&e.margin===n.margin});if(r&&(t=s.get(r)))return t;var i=new Map;return t={id:n,observer:new IntersectionObserver(function(e){e.forEach(function(e){var t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},l.push(n),s.set(n,t),t}({root:null==t?void 0:t.current,rootMargin:n})).id,i=e.observer,(c=e.elements).set(p,function(e){return e&&f(e)}),i.observe(p),function(){if(c.delete(p),i.unobserve(p),0===c.size){i.disconnect(),s.delete(r);var e=l.findIndex(function(e){return e.root===r.root&&e.margin===r.margin});e>-1&&l.splice(e,1)}}}}else if(!d){var m=(0,o.requestIdleCallback)(function(){return f(!0)});return function(){return(0,o.cancelIdleCallback)(m)}}},[u,n,t,d,h.current]),[p,d,(0,i.useCallback)(function(){f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
21dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},597:function(e,t,n){var r=n(83454);n(91479);var i=n(67294),o=i&&"object"==typeof i&&"default"in i?i:{default:i};function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=void 0!==r&&r.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},StyleSheet=function(){function StyleSheet(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,o=void 0===i?s:i;u(l(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var e,t=StyleSheet.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(u(l(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return s||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){s||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];u(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
21h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&u(l(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},a(StyleSheet.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e&&a(StyleSheet,e),StyleSheet}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},d={};function f(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return d[r]||(d[r]="jsx-"+c(e+"-"+n)),d[r]}function h(e,t){var n=e+t;return d[n]||(d[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[n]}var p=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=r||new StyleSheet({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=o,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=f(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return h(i,e)}):[h(i,t)]}}return{styleId:f(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var g=o.default.useInsertionEffect||o.default.useLayoutEffect,v=new p;function y(e){var t=v||i.useContext(m);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return f(e[0],e[1])}).join(" ")},t.style=y},5379:function(e,t,n){"use strict";e.exports=n(597).style},54690:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return C}});var r=n(72253),i=n(47702),o=n(91309),a=n(85893),s=n(11163),l=n(67294),u=function(e){window.dataLayer.push({event:"pageview",page:e})};n(49130),n(76695);var c=n(1785),d=n.n(c),f=n(85518),h=n(46991),p=n(8193),m=n(5434),g=function(e){var t=e.status,n=e.text;return(0,a.jsxs)("div",{className:"fixed right-4 bottom-4 rounded-md text-sm p-4 mb-4 flex space-x-2 items-center ".concat("SUCCESS"===t?"text-[#2B641E] bg-[#84D65A]":"ERROR"===t?"text-[#71192F] bg-[#FCE8DB]":""),children:["SUCCESS"===t?(0,a.jsx)(p.mny,{className:" h-8 w-8 "}):"ERROR"===t?(0,a.jsx)(m.vVM,{className:" h-8 w-8 "}):null,"IDLE"!==t&&(0,a.jsx)("span",{className:"text-lg",children:n})]})},v=n(63245);function y(e){var t=e.children,n=e.state,r=e.errorMessage;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"",children:(0,a.jsx)(v.Z,{})}),t,(0,a.jsx)("div",{className:"",children:(0,a.jsx)(h.ZP,{})}),(0,a.jsx)(g,{status:n,text:r})]})}var b=function(e){var t=e.children,n=e.state,r=e.errorMessage;return(0,a.jsxs)(a.Fragment,{children:[t,(0,a.jsx)(g,{status:n,text:r})]})},x=function(e){var t=e.children,n=e.router,r=e.state,i=e.errorMessage,s=(0,o._)((0,l.useState)((0,a.jsx)(y,{state:r,errorMessage:i,children:t})),2),u=s[0],c=s[1];return(0,l.useEffect)(function(){switch(n.pathname){case"/zenith/header.html":case"/zenith/footer.php":case"/pdf/[name]":case"/image-viewer":case"/micro-site":c((0,a.jsx)(b,{state:r,errorMessage:i,children:t}));break;case"/offers/[offer_id]":case"/booking-information":case"/terms-and-conditions":case"/holidays":case"/privacy-policy":case"/mobile-page/offers/[offer_id]":case"/mobile-page/booking-information":case"/mobile-page/terms-and-conditions":case"/mobile-page/holidays":case"/mobile-page/privacy-policy":case"/our-sales-outlets-mobile-app":case"/free-baggage-allowence-mobile-app":case"/purchase-extra-baggage-mobile-app":case"/bus-services-mobile-app":case"/mobileappdownload":f.tq?c((0,a.jsx)(b,{state:r,errorMessage:i,children:t})):c((0,a.jsx)(y,{state:r,errorMessage:i,children:t}));break;default:c((0,a.jsx)(y,{state:r,errorMessage:i,children:t}))}},[n.pathname]),u},w=n(47128);n(70415);var E=n(76779),S=n(86772),C=function(e){var t=e.Component,n=e.pageProps;(0,i._)(e,["Component","pageProps"]);var c=(0,s.useRouter)(),f=(0,o._)((0,l.useState)(null),2),h=f[0],p=f[1],m=(0,o._)((0,l.useState)(null),2),g=m[0],v=m[1],y=(0,o._)((0,l.useState)(null),2),b=y[0],C=y[1],j=(0,o._)((0,l.useState)(null),2),k=j[0],A=j[1],N=(0,o._)((0,l.useState)(null),2),T=N[0];N[1];var R=(0,o._)((0,l.useState)("IDLE"),2),P=R[0],M=R[1],_=(0,o._)((0,l.useState)(null),2),O=_[0],B=_[1],L=(0,o._)((0,l.useState)(null),2),D=L[0],F=L[1],I=function(e){var t=new Set;return e.filter(function(e){return!t.has(e.currency)&&(t.add(e.currency),!0)})};(0,l.useEffect)(function(){d().initialize({gtmId:"G-P5V08T92LX"})},[]),(0,l.useEffect)(function(){fetch("https://alphaapi.usbair.com/api/ip-finder").then(function(e){return e.json()}).then(function(e){if(null==e?void 0:e.geo){var t;A(null!==(t=null==e?void 0:e.geo)&&void 0!==t?t:null)}}).catch(function(e){return console.error(e)})},[]),(0,l.useEffect)(function(){S.bl.get("/api/chatbot-permission/view/get-permission").then(function(e){var t;console.log("My Log : ",e.data),(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.permission)==="chat-bot"&&("true"===e.data.value?V().then(function(){console.log("Chat script loaded successfully")}).catch(function(e){console.error("Error loading chat script:",e)}):U())}).catch(function(e){})});var z="chat-script",V=function(){return new Promise(function(e){if(!U()){var t=document.createElement("script");
21if(t.src="https://skybot.usbair.com/chat-widget.js?client=2e1RbS14.VqiYeRkg8LDcZuADqY1eJlA36my5y06U",t.async=!0,t.defer=!0,t.crossorigin="anonymous",t.id=z,t.onload=e,t.type="text/javascript",document.head.appendChild(t),void 0!==window.FB){e();return}}})};function U(){return!!document.getElementById(z)}(0,l.useEffect)(function(){if((!k||(null==k?void 0:k.country))&&p("BD"),C(H(k)),k&&(null==k?void 0:k.country)){var e=k.country,t=w.find(function(t){return(null==t?void 0:t.countryCode)===e});t&&(null==t?void 0:t.countryCode)?p(null==t?void 0:t.countryCode):p("BD")}},[k]);var H=function(e){var t;return(null==w?void 0:w.length)>0&&w.some(function(t){return t.countryCode===(null==e?void 0:e.country)})?null===(t=w.find(function(t){return t.countryCode===(null==e?void 0:e.country)}))||void 0===t?void 0:t.currency:"USD"};return(0,l.useEffect)(function(){var e=new URLSearchParams(window.location.search).get("Currency"),t=I(w).find(function(t){return t.currency===e});if(t)F(t),v(null==t?void 0:t.city);else if(h){var n=w.find(function(e){return(null==e?void 0:e.countryCode)===h});F(n),v(null==n?void 0:n.city)}},[h]),(0,l.useEffect)(function(){return c.events.on("routeChangeComplete",u),function(){c.events.off("routeChangeComplete",u)}},[c.events]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(E.LZ.Provider,{value:{location:h,country:D,currency:b,city:g,state:P,setState:M,errorMessage:O,setErrorMessage:B,fetchedGeoData:k,setCurrency:C,setLocation:p,banner:T,handleCountryChange:function(e){e&&(C(null==e?void 0:e.currency),p(null==e?void 0:e.countryCode),F(e),v(null==e?void 0:e.city),A({range:[],country:null==e?void 0:e.countryCode,region:"",eu:"0",timezone:"",city:null==e?void 0:e.city,ll:[],metro:0,area:0}))},setCountry:F},children:(0,a.jsx)(x,{router:c,state:P,text:O,children:(0,a.jsx)(t,(0,r._)({},n))})})})}},76779:function(e,t,n){"use strict";n.d(t,{Ao:function(){return y},DR:function(){return d},GN:function(){return c},JX:function(){return a},Jb:function(){return s},LZ:function(){return A},Ly:function(){return l},Mt:function(){return S},Mx:function(){return u},PM:function(){return R},Pw:function(){return v},SW:function(){return j},SY:function(){return p},TX:function(){return T},Z3:function(){return M},Zj:function(){return w},bX:function(){return i},bh:function(){return f},gJ:function(){return E},gb:function(){return g},iJ:function(){return P},lp:function(){return k},pC:function(){return C},qC:function(){return N},sS:function(){return O},to:function(){return o},uU:function(){return _},ug:function(){return m},vR:function(){return b},x7:function(){return h},y3:function(){return x}});var r=n(67294),i=(0,r.createContext)(),o=(0,r.createContext)(),a=(0,r.createContext)(),s=(0,r.createContext)(),l=(0,r.createContext)(),u=(0,r.createContext)(),c=(0,r.createContext)(),d=(0,r.createContext)(),f=(0,r.createContext)(),h=(0,r.createContext)(),p=(0,r.createContext)(),m=(0,r.createContext)(),g=(0,r.createContext)(),v=(0,r.createContext)(),y=(0,r.createContext)(),b=(0,r.createContext)(),x=(0,r.createContext)(),w=(0,r.createContext)(),E=(0,r.createContext)(),S=(0,r.createContext)(),C=(0,r.createContext)(),j=(0,r.createContext)(),k=(0,r.createContext)(),A=(0,r.createContext)(),N=(0,r.createContext)(),T=(0,r.createContext)(),R=(0,r.createContext)(),P=(0,r.createContext)(),M=(0,r.createContext)(),_=(0,r.createContext)(),O=(0,r.createContext)()},1588:function(e,t,n){"use strict";n.d(t,{M:function(){return i},p:function(){return o}});var r=n(67294),i=function(e,t){(0,r.useEffect)(function(){var n=function(n){e.current&&!e.current.contains(n.target)&&t()};return document.addEventListener("mousedown",n),function(){document.removeEventListener("mousedown",n)}},[e,t])},o=function(e){var t=new Date(e),n=""+(t.getMonth()+1),r=""+t.getDate(),i=t.getFullYear();return(null==n?void 0:n.length)<2&&(n="0"+n),(null==r?void 0:r.length)<2&&(r="0"+r),[i,n,r].join("-")}},91479:function(){},49130:function(){},76695:function(){},70415:function(){},77663:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||u||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},89755:function(e,t,n){e.exports=n(40768)},41664:function(e,t,n){e.exports=n(65170)},11163:function(e,t,n){e.exports=n(59974)},92703:function(e,t,n){"use strict";
21var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},85518:function(e,t,n){"use strict";var r,i,o,a,s,l,u=n(67294);u&&"object"==typeof u&&"default"in u&&u.default;var c=n(23451),d=new c,f=d.getBrowser(),h=d.getCPU(),p=d.getDevice(),m=d.getEngine(),g=d.getOS(),v=d.getUA(),y={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},b={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},w=function(){return!!("undefined"!=typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},E=function(e){var t=w();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},S=function(e){return e.type===y.Browser},C=function(e){return e.name===b.Edge},j=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},k=function(){return E("iPad")};p.type,y.SmartTv,p.type,y.Console,p.type,y.Wearable,p.type,y.Embedded,f.name===b.MobileSafari||k(),f.name,b.Chromium;var A=(r=p.type)===y.Mobile||r===y.Tablet||k();p.type,y.Mobile,p.type===y.Tablet||k(),S(p),S(p),g.name,g.name,"iOS"===g.name||k(),f.name,b.Chrome,f.name,b.Firefox,(i=f.name)===b.Safari||b.MobileSafari,f.name,b.Opera,(o=f.name)===b.InternetExplorer||b.Ie,x(g.version),x(g.name),x(f.version),x(f.major),x(f.name),x(p.vendor),x(p.model),x(m.name),x(m.version),x(v),C(f)||j(v),f.name,b.Yandex,x(p.type,"browser"),(a=w())&&(/iPad|iPhone|iPod/.test(a.platform)||"MacIntel"===a.platform&&a.maxTouchPoints>1)&&window.MSStream,k(),E("iPhone"),E("iPod"),"string"==typeof(l=(s=w())&&s.userAgent&&s.userAgent.toLowerCase())&&/electron/.test(l),j(v),C(f)&&j(v),g.name,g.name,f.name,b.MIUI,f.name,b.SamsungBrowser,t.tq=A},56421:function(e,t,n){"use strict";var r,i=(r=n(96425))&&r.__esModule?r:{default:r};e.exports={tags:function(e){var t=e.id,n=e.events,r=e.dataLayer,o=e.dataLayerName,a=e.preview,s=">m_auth="+e.auth,l=">m_preview="+a;t||(0,i.default)("GTM Id is required");var u="\n (function(w,d,s,l,i){w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(n).slice(1,-1)+"});\n var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;
21j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+l+">m_cookies_win=x';\n f.parentNode.insertBefore(j,f);\n })(window,document,'script','"+o+"','"+t+"');";return{iframe:'\n <iframe src="https://www.googletagmanager.com/ns.html?id='+t+s+l+'>m_cookies_win=x"\n height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:u,dataLayerVar:this.dataLayer(r,o)}},dataLayer:function(e,t){return"\n window."+t+" = window."+t+" || [];\n window."+t+".push("+JSON.stringify(e)+")"}}},58676:function(e,t,n){"use strict";var r,i=(r=n(56421))&&r.__esModule?r:{default:r};e.exports={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=i.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,n=e.events,r=e.dataLayer,i=e.dataLayerName,o=e.auth,a=e.preview,s=this.gtm({id:t,events:void 0===n?{}:n,dataLayer:r||void 0,dataLayerName:void 0===i?"dataLayer":i,auth:void 0===o?"":o,preview:void 0===a?"":a});r&&document.head.appendChild(s.dataScript),document.head.insertBefore(s.script(),document.head.childNodes[0]),document.body.insertBefore(s.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,n=e.dataLayerName,r=void 0===n?"dataLayer":n;if(window[r])return window[r].push(t);var o=i.default.dataLayer(t,r),a=this.dataScript(o);document.head.insertBefore(a,document.head.childNodes[0])}}},1785:function(e,t,n){"use strict";var r,i=(r=n(58676))&&r.__esModule?r:{default:r};e.exports=i.default},96425:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){console.warn("[react-gtm]",e)}},8193:function(e,t,n){"use strict";n.d(t,{DAy:function(){return d},G_g:function(){return l},KP3:function(){return f},RLq:function(){return v},Td4:function(){return p},WVf:function(){return s},gYb:function(){return m},h5s:function(){return u},i0B:function(){return o},mny:function(){return a},n6z:function(){return c},oHP:function(){return h},ow5:function(){return i},t4O:function(){return g}});var r=n(88357);function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M112 880c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V460H112v420zm768-696H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v176h800V216c0-17.7-14.3-32-32-32z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]})(e)}function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM739 449.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-1
215.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 0 1 5.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 0 1-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 0 1-1.12-.15 2.07 2.07 0 0 1-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 0 1-1.36 6.31 6.7 6.7 0 0 1-2.17 1.28z"}}]})(e)}function u(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M957.6 507.4L603.2 158.2a7.9 7.9 0 0 0-11.2 0L353.3 393.4a8.03 8.03 0 0 0-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 0 0-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0 0 11.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0 0 11.2 0l238.7-235.2c3.4
21-3 3.4-8 .3-11.2z"}}]})(e)}function c(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]})(e)}function d(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM380 696c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm304 272c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48z"}}]})(e)}function f(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0 0 51.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]})(e)}function h(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]})(e)}function p(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 0 0 0-50.4z"}}]})(e)}function m(e){return(0,r.w_)({tag:"svg",attr:{t:"1569683742680",viewBox:"0 0 1024 1024",version:"1.1"},child:[{tag:"defs",attr:{},child:[]},{tag:"path",attr:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2-8.5 2.1-13.8 10.7-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-0.9 3.7-0.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 0.7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-0.8 4.2-2.6 5-5 1.4-4.2-0.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]})(e)}function g(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]})(e)}function v(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 0 0-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0 0 82.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v
21-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z"}}]})(e)}},47516:function(e,t,n){"use strict";n.d(t,{Hom:function(){return s},a54:function(){return a},ePx:function(){return l},isC:function(){return i},vKO:function(){return o}});var r=n(88357);function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.486 2 2 6.486 2 12c.001 5.515 4.487 10.001 10 10.001 5.514 0 10-4.486 10.001-10.001 0-5.514-4.486-10-10.001-10zm0 18.001c-4.41 0-7.999-3.589-8-8.001 0-4.411 3.589-8 8-8 4.412 0 8.001 3.589 8.001 8-.001 4.412-3.59 8.001-8.001 8.001z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M20 2H4c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h3v3.767L13.277 18H20c1.103 0 2-.897 2-2V4c0-1.103-.897-2-2-2zm0 14h-7.277L9 18.233V16H4V4h16v12z"}},{tag:"path",attr:{d:"m13.803 9.189-1.399-1.398-3.869 3.864v1.399h1.399zm.327-3.123 1.398 1.399-1.066 1.066-1.399-1.398z"}}]})(e)}function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M16.57 22a2 2 0 0 0 1.43-.59l2.71-2.71a1 1 0 0 0 0-1.41l-4-4a1 1 0 0 0-1.41 0l-1.6 1.59a7.55 7.55 0 0 1-3-1.59 7.62 7.62 0 0 1-1.59-3l1.59-1.6a1 1 0 0 0 0-1.41l-4-4a1 1 0 0 0-1.41 0L2.59 6A2 2 0 0 0 2 7.43 15.28 15.28 0 0 0 6.3 17.7 15.28 15.28 0 0 0 16.57 22zM6 5.41 8.59 8 7.3 9.29a1 1 0 0 0-.3.91 10.12 10.12 0 0 0 2.3 4.5 10.08 10.08 0 0 0 4.5 2.3 1 1 0 0 0 .91-.27L16 15.41 18.59 18l-2 2a13.28 13.28 0 0 1-8.87-3.71A13.28 13.28 0 0 1 4 7.41zM20 11h2a8.81 8.81 0 0 0-9-9v2a6.77 6.77 0 0 1 7 7z"}},{tag:"path",attr:{d:"M13 8c2.1 0 3 .9 3 3h2c0-3.22-1.78-5-5-5z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M17 17h-1.559l-9.7-10.673A1 1 0 0 0 5.001 6H2v2h2.559l4.09 4.5-4.09 4.501H2v2h3.001a1 1 0 0 0 .74-.327L10 13.987l4.259 4.686a1 1 0 0 0 .74.327H17v3l5-4-5-4v3z"}},{tag:"path",attr:{d:"M15.441 8H17v3l5-3.938L17 3v3h-2.001a1 1 0 0 0-.74.327l-3.368 3.707 1.48 1.346L15.441 8z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2A10.13 10.13 0 0 0 2 12a10 10 0 0 0 4 7.92V20h.1a9.7 9.7 0 0 0 11.8 0h.1v-.08A10 10 0 0 0 22 12 10.13 10.13 0 0 0 12 2zM8.07 18.93A3 3 0 0 1 11 16.57h2a3 3 0 0 1 2.93 2.36 7.75 7.75 0 0 1-7.86 0zm9.54-1.29A5 5 0 0 0 13 14.57h-2a5 5 0 0 0-4.61 3.07A8 8 0 0 1 4 12a8.1 8.1 0 0 1 8-8 8.1 8.1 0 0 1 8 8 8 8 0 0 1-2.39 5.64z"}},{tag:"path",attr:{d:"M12 6a3.91 3.91 0 0 0-4 4 3.91 3.91 0 0 0 4 4 3.91 3.91 0 0 0 4-4 3.91 3.91 0 0 0-4-4zm0 6a1.91 1.91 0 0 1-2-2 1.91 1.91 0 0 1 2-2 1.91 1.91 0 0 1 2 2 1.91 1.91 0 0 1-2 2z"}}]})(e)}},63750:function(e,t,n){"use strict";n.d(t,{$hF:function(){return o},IAR:function(){return l},LHz:function(){return i},NQh:function(){return c},URD:function(){return a},ZC5:function(){return s},q9I:function(){return d},riV:function(){return u}});var r=n(88357);function i(e){return(0,r.w_)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M11 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-5 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z"}},{tag:"path",attr:{d:"M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm10.03 4.97a.75.75 0 0 1 .011 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.75.75 0 0 1 1.08-.022z"}}]})(e)}function a(e){return(0,r.w_)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"}},{tag:"path",attr:{fillRule:"evenodd",d:"M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M3.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L9.293 8 3.646 2.354a.5.5 0 0 1 0-.708z"}},{tag:"path",attr:{fillRule:"evenodd",d:"M7.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L13.293 8 7.646 2.354a.5.5 0 0 1 0-.708z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"}}]})(e)}function u(e){return(0,r.w_)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"}}]})(e)}function c(e){return(0,r.w_)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z"}}]})(e)}function d(e){return(0,r.w_)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}},{tag:"path",attr:{d:"M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"}}]})(e)}},89583:function(e,t,n){"use strict";n.d(t,{BMs:function(){return s},FJM:function(){return o},IiJ:function(){return i},NqP:function(){return d},QJe:function(){return f},VO0:function(){return u},aBF:function(){return a},aHS:function(){return h},e7O:function(){return l},j8M:function(){return c}});var r=n(88357);function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}}]})(e)}function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M134.059 296H436c6.627 0 12-5.373 12-12v-56c0-6.
21627-5.373-12-12-12H134.059v-46.059c0-21.382-25.851-32.09-40.971-16.971L7.029 239.029c-9.373 9.373-9.373 24.569 0 33.941l86.059 86.059c15.119 15.119 40.971 4.411 40.971-16.971V296z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z"}}]})(e)}function u(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM44.81 205.66l88.74 80a62.607 62.607 0 0 0 25.47 13.93l287.6 78.35c26.48 7.21 54.56 8.72 81 1.36 29.67-8.27 43.44-21.21 47.25-35.71 3.83-14.5-1.73-32.71-23.37-54.96-19.28-19.82-44.35-32.79-70.83-40l-97.51-26.56L282.8 30.22c-1.51-5.81-5.95-10.35-11.66-11.91L206.05.58c-10.56-2.88-20.9 5.32-20.71 16.44l47.92 164.21-102.2-27.84-27.59-67.88c-1.93-4.89-6.01-8.57-11.02-9.93L52.72 64.75c-10.34-2.82-20.53 5-20.72 15.88l.23 101.78c.19 8.91 6.03 17.34 12.58 23.25z"}}]})(e)}function c(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM80.55 341.27c6.28 6.84 15.1 10.72 24.33 10.71l130.54-.18a65.62 65.62 0 0 0 29.64-7.12l290.96-147.65c26.74-13.57 50.71-32.94 67.02-58.31 18.31-28.48 20.3-49.09 13.07-63.65-7.21-14.57-24.74-25.27-58.25-27.45-29.85-1.94-59.54 5.92-86.28 19.48l-98.51 49.99-218.7-82.06a17.799 17.799 0 0 0-18-1.11L90.62 67.29c-10.67 5.41-13.25 19.65-5.17 28.53l156.22 98.1-103.21 52.38-72.35-36.47a17.804 17.804 0 0 0-16.07.02L9.91 230.22c-10.44 5.3-13.19 19.12-5.57 28.08l76.21 82.97z"}}]})(e)}function d(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M480 192H365.71L260.61 8.06A16.014 16.014 0 0 0 246.71 0h-65.5c-10.63 0-18.3 10.17-15.38 20.39L214.86 192H112l-43.2-57.6c-3.02-4.03-7.77-6.4-12.8-6.4H16.01C5.6 128-2.04 137.78.49 147.88L32 256 .49 364.12C-2.04 374.22 5.6 384 16.01 384H56c5.04 0 9.78-2.37 12.8-6.4L112 320h102.86l-49.03 171.6c-2.92 10.22 4.75 20.4 15.38 20.4h65.5c5.74 0 11.04-3.08 13.89-8.06L365.71 320H480c35.35 0 96-28.65 96-64s-60.65-64-96-64z"}}]})(e)}function f(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"}}]})(e)}function h(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}}]})(e)}},53854:function(e,t,n){"use strict";n.d(t,{Bge:function(){return p},DEl:function(){return s},IFg:function(){return f},MOd:function(){return l},PSe:function(){return g},WFu:function(){return i},XAC:function(){return u},apv:function(){return h},baL:function(){return x},dZ6:function(){return o},fMW:function(){return w},kWQ:function(){return a},kzR:function(){return m},lVW:function(){return y},r0I:function(){return c},xiv:function(){return d},yoF:function(){return v},zFu:function(){return b}});var r=n(88357);function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}}]})(e)}function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z",clipRule:"evenodd"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"}}]})(e)}function u(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z",clipRule:"evenodd"}}]})(e)}function c(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}}]})(e)}function d(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}}]})(e)}function f(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M17.707 9.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-7-7A.997.997 0 012 10V5a3 3 0 013-3h5c.256 0 .512.098.707.293l7 7zM5 6a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}}]})(e)}function h(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}}]})(e)}function p(e){return(0,r.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"}}]})(e)}function m(e){return(0,r.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"}}]})(e)}function g(e){return(0,r.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 19l-7-7 7-7"}}]})(e)}function v(e){return(0,r.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7"}}]})(e)}function y(e){return(0,r.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M5 15l7-7 7 7"}}]})(e)}function b(e){return(0,r.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"}}]})(e)}function x(e){return(0,r.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}}]})(e)}function w(e){return(0,r.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"}}]})(e)}},51649:function(e,t,n){"use strict";n.d(t,{D4h:function(){return i},RPR:function(){return o}});var r=n(88357);function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M407.7 224c-3.4 0-14.8.1-18 .3l-64.9 1.7c-.7 0-1.4-.3-1.7-.9L225.8 79.4c-2.9-4.6-8.1-7.4-13.5-7.4h-23.7c-5.6 0-7.5 5.6-5.5 10.8l50.1 142.8c.5 1.3-.4 2.7-1.8 2.7L109 230.1c-2.6.1-5-1.1-6.6-3.1l-37-45c-3-3.9-7.7-6.1-12.6-6.1H36c-2.8 0-4.7 2.7-3.8 5.3l19.9 68.7c1.5 3.8 1.5 8.1 0 11.9l-19.9 68.7c-.9 2.6 1 5.3 3.8 5.3h16.7c4.9 0 9.6-2.3 12.6-6.1L103 284c1.6-2 4.1-3.2 6.6-3.1l121.7 2.7c1.4.1 2.3 1.4 1.8 2.7L183 429.2c-2 5.2-.1 10.8 5.5 10.8h23.7c5.5 0 10.6-2.8 13.5-7.4L323.1 287c.4-.6 1-.9 1.7-.9l64.9 1.7c3.3.2 14.6.3 18 .3 44.3 0 72.3-14.3 72.3-32S452.1 224 407.7 224z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M128 320l128-128 128 128z"}}]})(e)}},88357:function(e,t,n){"use strict";n.d(t,{w_:function(){return l}});var r=n(67294),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=r.createContext&&r.createContext(i),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function l(e){return function(t){return r.createElement(u,a({attr:a({},e.attr)},t),function e(t){return t&&t.map(function(t,n){return r.createElement(t.tag,a({key:n},t.attr),e(t.child))})}(e.child))}}function u(e){var t=function(t){var n,i=e.attr,o=e.size,l=e.title,u=s(e,["attr","size","title"]),c=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",a({stroke:"currentColor",fill:"
21currentColor",strokeWidth:"0"},t.attr,i,u,{className:n,style:a(a({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&r.createElement("title",null,l),e.children)};return void 0!==o?r.createElement(o.Consumer,null,function(e){return t(e)}):t(i)}},5434:function(e,t,n){"use strict";n.d(t,{Nsb:function(){return a},k_Z:function(){return s},oKj:function(){return l},vVM:function(){return o},vr:function(){return i}});var r=n(88357);function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M23 12l-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69L23 12zm-12.91 4.72l-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48-7.33 7.35z"}}]})(e)}function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"}}]})(e)}function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M20.19 4H4c-1.1 0-1.99.9-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.81-2-1.81-2zm-2.46 9.3l-8.86 2.36-1.66-2.88.93-.25 1.26.99 2.39-.64-2.4-4.16 1.4-.38 4.01 3.74 2.44-.65a.967.967 0 011.18.68.988.988 0 01-.69 1.19z"}}]})(e)}function s(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M22 16v-2l-8.5-5V3.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V9L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-5.5L22 16z"}},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}}]})(e)}function l(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z"}}]})(e)}},23451:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",l="object",u="string",c="major",d="model",f="name",h="type",p="vendor",m="version",g="architecture",v="console",y="mobile",b="tablet",x="smarttv",w="wearable",E="embedded",S="Amazon",C="Apple",j="ASUS",k="BlackBerry",A="Browser",N="Chrome",T="Firefox",R="Google",P="Huawei",M="Microsoft",_="Motorola",O="Opera",B="Samsung",L="Sharp",D="Sony",F="Xiaomi",I="Zebra",z="Facebook",V="Chromium OS",U="Mac OS",H=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},q=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},W=function(e,t){return typeof e===u&&-1!==$(t).indexOf($(e))},$=function(e){return e.toLowerCase()},G=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},Z=function(e,t){for(var n,r,i,s,u,c,d=0;d<t.length&&!u;){var f=t[d],h=t[d+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(e))for(i=0;i<h.length;i++)c=u[++r],typeof(s=h[i])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):o:this[s[0]]=c?s[1].call(this,c,s[2]):o:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):o):this[s]=c||o;d+=2}},Y=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(W(t[n][r],e))return"?"===n?o:n}else if(W(t[n],e))return"?"===n?o:n;return e},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,m],[/opios[\/ ]+([\w\.]+)/i],[m,[f,O+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[f,O]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[f,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[f,"UC"+A]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[f,"Smart Lenovo "+A]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+A],m],[/\bfocus\/([\w\.]+)/i],[m,[f,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[f,O+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[f,O+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[f,"MIUI "+A]],[/fxios\/([-\w\.]+)/i],[m,[f,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+A]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+A],m],[/samsungbrowser\/([\w\.]+)/i],[m,[f,B+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,z],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[f,"GSA"]],[/musical_ly(?:.
vendor: 5,331 bytes, line 21
21+app_?version\/|_)([\w\.]+)/i],[m,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[f,N+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,N+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[f,"Android "+A]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[m,Y,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[f,T+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,m],[/(cobalt)\/([\w\.]+)/i],[f,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,$]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",$]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,$]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[p,B],[h,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[p,B],[h,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[p,C],[h,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[p,C],[h,b]],[/(macintosh);/i],[d,[p,C]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[p,L],[h,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[p,P],[h,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[p,P],[h,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[p,F],[h,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[p,F],[h,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[p,"OPPO"],[h,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[p,"Vivo"],[h,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[p,"Realme"],[h,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[p,_],[h,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[p,_],[h,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[p,"LG"],[h,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[p,"LG"],[h,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[p,"Lenovo"],[h,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[p,"Nokia"],[h,y]],[/(pixel c)\b/i],[d,[p,R],[h,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[p,R],[h,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[p,D],[h,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[p,D],[h,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[p,"OnePlus"],[h,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[p,S],[h,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[p,S],[h,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,p,[h,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[p,k],[h,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[p,j],[h,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[p,j],[h,y]],[/(nexus 9)/i],[d,[p,"HTC"],[h,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[d,/_/g," "],[h,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[p,"Acer"],[h,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[p,"Meizu"],[h,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[p,"Ulefone"],[h,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
vendor: 5,846 bytes, line 21
21s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,d,[h,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,d,[h,b]],[/(surface duo)/i],[d,[p,M],[h,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[p,"Fairphone"],[h,y]],[/(u304aa)/i],[d,[p,"AT&T"],[h,y]],[/\bsie-(\w*)/i],[d,[p,"Siemens"],[h,y]],[/\b(rct\w+) b/i],[d,[p,"RCA"],[h,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[p,"Dell"],[h,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[p,"Verizon"],[h,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[p,"Barnes & Noble"],[h,b]],[/\b(tm\d{3}\w+) b/i],[d,[p,"NuVision"],[h,b]],[/\b(k88) b/i],[d,[p,"ZTE"],[h,b]],[/\b(nx\d{3}j) b/i],[d,[p,"ZTE"],[h,y]],[/\b(gen\d{3}) b.+49h/i],[d,[p,"Swiss"],[h,y]],[/\b(zur\d{3}) b/i],[d,[p,"Swiss"],[h,b]],[/\b((zeki)?tb.*\b) b/i],[d,[p,"Zeki"],[h,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],d,[h,b]],[/\b(ns-?\w{0,9}) b/i],[d,[p,"Insignia"],[h,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[p,"NextBook"],[h,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],d,[h,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],d,[h,y]],[/\b(ph-1) /i],[d,[p,"Essential"],[h,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[p,"Envizen"],[h,b]],[/\b(trio[-\w\. ]+) b/i],[d,[p,"MachSpeed"],[h,b]],[/\btu_(1491) b/i],[d,[p,"Rotor"],[h,b]],[/(shield[\w ]+) b/i],[d,[p,"Nvidia"],[h,b]],[/(sprint) (\w+)/i],[p,d,[h,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[p,M],[h,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[p,I],[h,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[p,I],[h,y]],[/smart-tv.+(samsung)/i],[p,[h,x]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[p,B],[h,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[h,x]],[/(apple) ?tv/i],[p,[d,C+" TV"],[h,x]],[/crkey/i],[[d,N+"cast"],[p,R],[h,x]],[/droid.+aft(\w+)( bui|\))/i],[d,[p,S],[h,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[p,L],[h,x]],[/(bravia[\w ]+)( bui|\))/i],[d,[p,D],[h,x]],[/(mitv-\w{5}) bui/i],[d,[p,F],[h,x]],[/Hbbtv.*(technisat) (.*);/i],[p,d,[h,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,G],[d,G],[h,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,d,[h,v]],[/droid.+; (shield) bui/i],[d,[p,"Nvidia"],[h,v]],[/(playstation [345portablevi]+)/i],[d,[p,D],[h,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[p,M],[h,v]],[/((pebble))app/i],[p,d,[h,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[p,C],[h,w]],[/droid.+; (glass) \d/i],[d,[p,R],[h,w]],[/droid.+; (wt63?0{2,3})\)/i],[d,[p,I],[h,w]],[/(quest( 2| pro)?)/i],[d,[p,z],[h,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[h,E]],[/(aeobc)\b/i],[d,[p,S],[h,E]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[h,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[m,Y,K]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,Y,K],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,U],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,m],[/\(bb(10);/i],[m,[f,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[f,T+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[f,N+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,V],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,m],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,m]]},J=function(e,t){if(typeof e===l&&(t=e,e=o),!(this instanceof J))return new J
21(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:o,r=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:o,x=t?H(X,t):X,w=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=o,t[m]=o,Z.call(t,r,x.browser),t[c]=typeof(e=t[m])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,w&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[g]=o,Z.call(e,r,x.cpu),e},this.getDevice=function(){var e={};return e[p]=o,e[d]=o,e[h]=o,Z.call(e,r,x.device),w&&!e[h]&&v&&v.mobile&&(e[h]=y),w&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[h]=b),e},this.getEngine=function(){var e={};return e[f]=o,e[m]=o,Z.call(e,r,x.engine),e},this.getOS=function(){var e={};return e[f]=o,e[m]=o,Z.call(e,r,x.os),w&&!e[f]&&v&&"Unknown"!=v.platform&&(e[f]=v.platform.replace(/chrome os/i,V).replace(/macos/i,U)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>500?G(e,500):e,this},this.setUA(r),this};J.VERSION="1.0.37",J.BROWSER=q([f,m,c]),J.CPU=q([g]),J.DEVICE=q([d,p,h,v,y,x,b,w,E]),J.ENGINE=J.OS=q([f,m]),typeof t!==s?(e.exports&&(t=e.exports=J),t.UAParser=J):n.amdO?o!==(r=(function(){return J}).call(t,n,t,e))&&(e.exports=r):typeof i!==s&&(i.UAParser=J);var Q=typeof i!==s&&(i.jQuery||i.Zepto);if(Q&&!Q.ua){var ee=new J;Q.ua=ee.getResult(),Q.ua.get=function(){return ee.getUA()},Q.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:this)},78945:function(e,t,n){"use strict";let r;function i(e,t){return function(){return e.apply(t,arguments)}}n.d(t,{Z:function(){return eF}});let{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,s=(M=Object.create(null),e=>{let t=o.call(e);return M[t]||(M[t]=t.slice(8,-1).toLowerCase())}),l=e=>(e=e.toLowerCase(),t=>s(t)===e),u=e=>t=>typeof t===e,{isArray:c}=Array,d=u("undefined"),f=l("ArrayBuffer"),h=u("string"),p=u("function"),m=u("number"),g=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==s(e))return!1;let t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},y=l("Date"),b=l("File"),x=l("Blob"),w=l("FileList"),E=l("URLSearchParams");function S(e,t,{allOwnKeys:n=!1}={}){let r,i;if(null!=e){if("object"!=typeof e&&(e=[e]),c(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{let i;let o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}}function C(e,t){let n;t=t.toLowerCase();let r=Object.keys(e),i=r.length;for(;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}let j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,k=e=>!d(e)&&e!==j,A=(_="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>_&&e instanceof _),N=l("HTMLFormElement"),T=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),R=l("RegExp"),P=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};S(n,(n,i)=>{!1!==t(n,i,e)&&(r[i]=n)}),Object.defineProperties(e,r)};var M,_,O={isArray:c,isArrayBuffer:f,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&p(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||o.call(e)===t||p(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&f(e.buffer)},isString:h,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:g,isPlainObject:v,isUndefined:d,isDate:y,isFile:b,isBlob:x,isRegExp:R,isFunction:p,isStream:e=>g(e)&&p(e.pipe),isURLSearchParams:E,isTypedArray:A,isFileList:w,forEach:S,merge:function e(){let{caseless:t}=k(this)&&this||{},n={},r=(r,i)=>{let o=t&&C(n,i)||i;v(n[o])&&v(r)?n[o]=e(n[o],r):v(r)?n[o]=e({},r):c(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&S(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(S(t,(t,r)=>{n&&p(t)?e[r]=i(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,s;let l={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:l,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(c(e))return e;let t=e.length;if(!m(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n}
21,forEachEntry:(e,t)=>{let n;let r=e&&e[Symbol.iterator],i=r.call(e);for(;(n=i.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n;let r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:N,hasOwnProperty:T,hasOwnProp:T,reduceDescriptors:P,freezeMethods:e=>{P(e,(t,n)=>{if(p(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;let r=e[n];if(p(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(c(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>Number.isFinite(e=+e)?e:t,findKey:C,global:j,isContextDefined:k,toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(g(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;let i=c(e)?[]:{};return S(e,(e,t)=>{let o=n(e,r+1);d(o)||(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)}};function B(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}O.inherits(B,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:O.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let L=B.prototype,D={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{D[e]={value:e}}),Object.defineProperties(B,D),Object.defineProperty(L,"isAxiosError",{value:!0}),B.from=(e,t,n,r,i,o)=>{let a=Object.create(L);return O.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),B.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var F=n(6230),I=n(48764).lW;function z(e){return O.isPlainObject(e)||O.isArray(e)}function V(e){return O.endsWith(e,"[]")?e.slice(0,-2):e}function U(e,t,n){return e?e.concat(t).map(function(e,t){return e=V(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let H=O.toFlatObject(O,{},null,function(e){return/^is[A-Z]/.test(e)});var q=function(e,t,n){var r;if(!O.isObject(e))throw TypeError("target must be an object");t=t||new(F||FormData),n=O.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!O.isUndefined(t[e])});let i=n.metaTokens,o=n.visitor||d,a=n.dots,s=n.indexes,l=n.Blob||"undefined"!=typeof Blob&&Blob,u=l&&(r=t)&&O.isFunction(r.append)&&"FormData"===r[Symbol.toStringTag]&&r[Symbol.iterator];if(!O.isFunction(o))throw TypeError("visitor must be a function");function c(e){if(null===e)return"";if(O.isDate(e))return e.toISOString();if(!u&&O.isBlob(e))throw new B("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(e)||O.isTypedArray(e)?u&&"function"==typeof Blob?new Blob([e]):I.from(e):e}function d(e,n,r){let o=e;if(e&&!r&&"object"==typeof e){if(O.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else{var l;if(O.isArray(e)&&(l=e,O.isArray(l)&&!l.some(z))||O.isFileList(e)||O.endsWith(n,"[]")&&(o=O.toArray(e)))return n=V(n),o.forEach(function(e,r){O.isUndefined(e)||null===e||t.append(!0===s?U([n],r,a):null===s?n:n+"[]",c(e))}),!1}}return!!z(e)||(t.append(U(r,n,a),c(e)),!1)}let f=[],h=Object.assign(H,{defaultVisitor:d,convertValue:c,isVisitable:z});if(!O.isObject(e))throw TypeError("data must be an object");return!function e(n,r){if(!O.isUndefined(n)){if(-1!==f.indexOf(n))throw Error("Circular reference detected in "+r.join("."));f.push(n),O.forEach(n,function(n,i){let a=!(O.isUndefined(n)||null===n)&&o.call(t,n,O.isString(i)?i.trim():i,r,h);!0===a&&e(n,r?r.concat(i):[i])}),f.pop()}}(e),t};function W(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function $(e,t){this._pairs=[],e&&q(e,this,t)}let G=$.prototype;function Z(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Y(e,t,n){let r;if(!t)return e;let i=n&&n.encode||Z,o=n&&n.serialize;if(r=o?o(t,n):O.isURLSearchParams(t)?t.toString():new $(t,n).toString(i)){let t=e.indexOf("#");
21-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}G.append=function(e,t){this._pairs.push([e,t])},G.toString=function(e){let t=e?function(t){return e.call(this,t,W)}:W;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class K{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){O.forEach(this.handlers,function(t){null!==t&&e(t)})}}var X={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},J="undefined"!=typeof URLSearchParams?URLSearchParams:$,Q=FormData;let ee=("undefined"==typeof navigator||"ReactNative"!==(r=navigator.product)&&"NativeScript"!==r&&"NS"!==r)&&"undefined"!=typeof window&&"undefined"!=typeof document,et="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var en={classes:{URLSearchParams:J,FormData:Q,Blob},isStandardBrowserEnv:ee,isStandardBrowserWebWorkerEnv:et,protocols:["http","https","file","blob","url","data"]},er=function(e){if(O.isFormData(e)&&O.isFunction(e.entries)){let t={};return O.forEachEntry(e,(e,n)=>{!function e(t,n,r,i){let o=t[i++],a=Number.isFinite(+o),s=i>=t.length;if(o=!o&&O.isArray(r)?r.length:o,s)return O.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&O.isObject(r[o])||(r[o]=[]);let l=e(t,n,r[o],i);return l&&O.isArray(r[o])&&(r[o]=function(e){let t,n;let r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r[n=i[t]]=e[n];return r}(r[o])),!a}(O.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null};let ei={"Content-Type":void 0},eo={transitional:X,adapter:["xhr","http"],transformRequest:[function(e,t){let n;let r=t.getContentType()||"",i=r.indexOf("application/json")>-1,o=O.isObject(e);o&&O.isHTMLForm(e)&&(e=new FormData(e));let a=O.isFormData(e);if(a)return i&&i?JSON.stringify(er(e)):e;if(O.isArrayBuffer(e)||O.isBuffer(e)||O.isStream(e)||O.isFile(e)||O.isBlob(e))return e;if(O.isArrayBufferView(e))return e.buffer;if(O.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1){var s,l;return(s=e,l=this.formSerializer,q(s,new en.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return en.isNode&&O.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},l))).toString()}if((n=O.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return q(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(O.isString(e))try{return(0,JSON.parse)(e),O.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eo.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&O.isString(e)&&(n&&!this.responseType||r)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&r){if("SyntaxError"===e.name)throw B.from(e,B.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:en.classes.FormData,Blob:en.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};O.forEach(["delete","get","head"],function(e){eo.headers[e]={}}),O.forEach(["post","put","patch"],function(e){eo.headers[e]=O.merge(ei)});let ea=O.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var es=e=>{let t,n,r;let i={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&ea[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i};let el=Symbol("internals");function eu(e){return e&&String(e).trim().toLowerCase()}function ec(e){return!1===e||null==e?e:O.isArray(e)?e.map(ec):String(e)}function ed(e,t,n,r){if(O.isFunction(r))return r.call(this,t,n);if(O.isString(t)){if(O.isString(r))return -1!==t.indexOf(r);if(O.isRegExp(r))return r.test(t)}}class ef{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=eu(t);if(!i)throw Error("header name must be a non-empty string");let o=O.findKey(r,i);o&&void 0!==r[o]&&!0!==n&&(void 0!==n||!1===r[o])||(r[o||t]=ec(e))}let o=(e,t)=>O.forEach(e,(e,n)=>i(e,n,t));if(O.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{var a;O.isString(e)&&(e=e.trim())&&(a=e,!/^[-_a-zA-Z]+$/.test(a.trim()))?o(es(e),t):null!=e&&i(t,e,n)}return this}get(e,t){if(e=eu(e)){let n=O.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),r=/([^\s,;
21=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}(e);if(O.isFunction(t))return t.call(this,e,n);if(O.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eu(e)){let n=O.findKey(this,e);return!!(n&&(!t||ed(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=eu(e)){let i=O.findKey(n,e);i&&(!t||ed(n,n[i],i,t))&&(delete n[i],r=!0)}}return O.isArray(e)?e.forEach(i):i(e),r}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(e){let t=this,n={};return O.forEach(this,(r,i)=>{let o=O.findKey(n,i);if(o){t[o]=ec(r),delete t[i];return}let a=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(i).trim();a!==i&&delete t[i],t[a]=ec(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return O.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&O.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=this[el]=this[el]={accessors:{}},n=t.accessors,r=this.prototype;function i(e){let t=eu(e);n[t]||(!function(e,t){let n=O.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(r,e),n[t]=!0)}return O.isArray(e)?e.forEach(i):i(e),this}}function eh(e,t){let n=this||eo,r=t||n,i=ef.from(r.headers),o=r.data;return O.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function ep(e){return!!(e&&e.__CANCEL__)}function em(e,t,n){B.call(this,null==e?"canceled":e,B.ERR_CANCELED,t,n),this.name="CanceledError"}ef.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]),O.freezeMethods(ef.prototype),O.freezeMethods(ef),O.inherits(em,B,{__CANCEL__:!0});var eg=en.isStandardBrowserEnv?{write:function(e,t,n,r,i,o){let a=[];a.push(e+"="+encodeURIComponent(t)),O.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),O.isString(r)&&a.push("path="+r),O.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function ev(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e:t}var ey=en.isStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){let r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){let n=O.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},eb=function(e,t){let n;e=e||10;let r=Array(e),i=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=i[a];n||(n=l),r[o]=s,i[o]=l;let c=a,d=0;for(;c!==o;)d+=r[c++],c%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),l-n<t)return;let f=u&&l-u;return f?Math.round(1e3*d/f):void 0}};function ex(e,t){let n=0,r=eb(50,250);return i=>{let o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s);n=o;let u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}let ew="undefined"!=typeof XMLHttpRequest;var eE=ew&&function(e){return new Promise(function(t,n){let r,i=e.data,o=ef.from(e.headers).normalize(),a=e.responseType;function s(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}O.isFormData(i)&&(en.isStandardBrowserEnv||en.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){let t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}let u=ev(e.baseURL,e.url);function c(){if(!l)return;let r=ef.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),i=a&&"text"!==a&&"json"!==a?l.response:l.responseText,o={data:i,status:l.status,statusText:l.statusText,headers:r,config:e,request:l};!function(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new B("Request failed with status code "+n.status,[B.ERR_BAD_REQUEST,B.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}(function(e){t(e),s()},function(e){n(e),s()},o),l=null}if(l.open(e.method.toUpperCase(),Y(u,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=c:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(c)},l.onabort=function(){l&&(n(new B("Request aborted",B.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new B("Network Error",B.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||X;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new B(t,r.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,e,l)),l=null},en.isStandardBrowserEnv){let t=(e.withCredentials||ey(u))&&e.xsrfCookieName&&eg.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===i&&o.setContentType(null),"setRequestHeader"in l&&O.forEach(o.toJSON(),function(e,t){l.setRequestHeader(t,e)}),O.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),a&&"json"!==a&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",ex(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",ex(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=t=>{l&&(n(!t||t.type?new em(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));let d=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(u);if(d&&-1===en.protocols.indexOf(d)){n(new B("Unsupported protocol "+d+":",B.ERR_BAD_REQUEST,e));return}l.send(i||null)})};let eS={http:null,xhr:eE};O.forEach(eS,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});
21var eC={getAdapter:e=>{let t,n;e=O.isArray(e)?e:[e];let{length:r}=e;for(let i=0;i<r&&(t=e[i],!(n=O.isString(t)?eS[t.toLowerCase()]:t));i++);if(!n){if(!1===n)throw new B(`Adapter ${t} is not supported by the environment`,"ERR_NOT_SUPPORT");throw Error(O.hasOwnProp(eS,t)?`Adapter '${t}' is not available in the build`:`Unknown adapter '${t}'`)}if(!O.isFunction(n))throw TypeError("adapter is not a function");return n},adapters:eS};function ej(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new em(null,e)}function ek(e){ej(e),e.headers=ef.from(e.headers),e.data=eh.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);let t=eC.getAdapter(e.adapter||eo.adapter);return t(e).then(function(t){return ej(e),t.data=eh.call(e,e.transformResponse,t),t.headers=ef.from(t.headers),t},function(t){return!ep(t)&&(ej(e),t&&t.response&&(t.response.data=eh.call(e,e.transformResponse,t.response),t.response.headers=ef.from(t.response.headers))),Promise.reject(t)})}let eA=e=>e instanceof ef?e.toJSON():e;function eN(e,t){t=t||{};let n={};function r(e,t,n){return O.isPlainObject(e)&&O.isPlainObject(t)?O.merge.call({caseless:n},e,t):O.isPlainObject(t)?O.merge({},t):O.isArray(t)?t.slice():t}function i(e,t,n){return O.isUndefined(t)?O.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!O.isUndefined(t))return r(void 0,t)}function a(e,t){return O.isUndefined(t)?O.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}let l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(eA(e),eA(t),!0)};return O.forEach(Object.keys(e).concat(Object.keys(t)),function(r){let o=l[r]||i,a=o(e[r],t[r],r);O.isUndefined(a)&&o!==s||(n[r]=a)}),n}let eT="1.2.3",eR={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eR[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let eP={};eR.transitional=function(e,t,n){function r(e,t){return"[Axios v"+eT+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new B(r(i," has been removed"+(t?" in "+t:"")),B.ERR_DEPRECATED);return t&&!eP[i]&&(eP[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var eM={assertOptions:function(e,t,n){if("object"!=typeof e)throw new B("options must be an object",B.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let o=r[i],a=t[o];if(a){let t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new B("option "+o+" must be "+n,B.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new B("Unknown option "+o,B.ERR_BAD_OPTION)}},validators:eR};let e_=eM.validators;class eO{constructor(e){this.defaults=e,this.interceptors={request:new K,response:new K}}request(e,t){let n,r,i;"string"==typeof e?(t=t||{}).url=e:t=e||{},t=eN(this.defaults,t);let{transitional:o,paramsSerializer:a,headers:s}=t;void 0!==o&&eM.assertOptions(o,{silentJSONParsing:e_.transitional(e_.boolean),forcedJSONParsing:e_.transitional(e_.boolean),clarifyTimeoutError:e_.transitional(e_.boolean)},!1),void 0!==a&&eM.assertOptions(a,{encode:e_.function,serialize:e_.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(n=s&&O.merge(s.common,s[t.method]))&&O.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=ef.concat(n,s);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[ek.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,c),i=e.length,r=Promise.resolve(t);d<i;)r=r.then(e[d++],e[d++]);return r}i=l.length;let f=t;for(d=0;d<i;){let e=l[d++],t=l[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{r=ek.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,i=c.length;d<i;)r=r.then(c[d++],c[d++]);return r}getUri(e){e=eN(this.defaults,e);let t=ev(e.baseURL,e.url);return Y(t,e.params,e.paramsSerializer)}}O.forEach(["delete","get","head","options"],function(e){eO.prototype[e]=function(t,n){return this.request(eN(n||{},{method:e,url:t,data:(n||{}).data}))}}),O.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(eN(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}eO.prototype[e]=t(),eO.prototype[e+"Form"]=t(!0)});class eB{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new em(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
21subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;let t=new eB(function(t){e=t});return{token:t,cancel:e}}}let eL={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(eL).forEach(([e,t])=>{eL[t]=e});let eD=function e(t){let n=new eO(t),r=i(eO.prototype.request,n);return O.extend(r,eO.prototype,n,{allOwnKeys:!0}),O.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(eN(t,n))},r}(eo);eD.Axios=eO,eD.CanceledError=em,eD.CancelToken=eB,eD.isCancel=ep,eD.VERSION=eT,eD.toFormData=q,eD.AxiosError=B,eD.Cancel=eD.CanceledError,eD.all=function(e){return Promise.all(e)},eD.spread=function(e){return function(t){return e.apply(null,t)}},eD.isAxiosError=function(e){return O.isObject(e)&&!0===e.isAxiosError},eD.mergeConfig=eN,eD.AxiosHeaders=ef,eD.formToJSON=e=>er(O.isHTMLForm(e)?new FormData(e):e),eD.HttpStatusCode=eL,eD.default=eD;var eF=eD},47128:function(e){"use strict";e.exports=JSON.parse('[{"id":1,"name":"Bangladesh","city":"Dhaka","iata":"DAC","countryCode":"BD","currency":"BDT","flag":"https://cdn.usbair.com/website/public/logo/bangladesh.png"},{"id":2,"name":"Oman","city":"Muscat","iata":"MCT","countryCode":"OM","currency":"USD","flag":"https://flagcdn.com/w320/om.png"},{"id":3,"name":"Qatar","city":"Doha","iata":"DOH","countryCode":"QA","currency":"USD","flag":"https://flagcdn.com/w320/qa.png"},{"id":4,"name":"India","city":"Kolkata","iata":"CCU","countryCode":"IN","currency":"USD","flag":"https://flagcdn.com/w320/in.png"},{"id":5,"name":"China","city":"Guangzhou","iata":"CAN","countryCode":"CN","currency":"USD","flag":"https://flagcdn.com/w320/cn.png"},{"id":6,"name":"Malaysia","city":"Kuala Lumpur","iata":"KUL","countryCode":"MY","currency":"USD","flag":"https://flagcdn.com/w320/my.png"},{"id":7,"name":"United Arab Emirates","city":"Dubai","iata":"DXB","countryCode":"AE","currency":"USD","flag":"https://flagcdn.com/w320/ae.png"},{"id":8,"name":"Thailand","city":"Bangkok","iata":"BKK","countryCode":"TH","currency":"USD","flag":"https://flagcdn.com/w320/th.png"},{"id":9,"name":"Singapore","city":"Singapore","iata":"SIN","countryCode":"SG","currency":"SGD","flag":"https://flagcdn.com/w320/sg.png"},{"id":10,"name":"Maldives","city":"Male","iata":"MLE","countryCode":"MV","currency":"USD","flag":"https://flagcdn.com/w320/mv.png"},{"id":12,"name":"Bangladesh","city":"Chattogram","iata":"CGP","countryCode":"BD","currency":"BDT","flag":"https://cdn.usbair.com/website/public/logo/bangladesh.png"},{"id":13,"name":"Bangladesh","city":"Cox\'s Bazar","iata":"CXB","countryCode":"BD","currency":"BDT","flag":"https://cdn.usbair.com/website/public/logo/bangladesh.png"},{"id":14,"name":"Bangladesh","city":"Jessore","iata":"JSR","countryCode":"BD","currency":"BDT","flag":"https://cdn.usbair.com/website/public/logo/bangladesh.png"},{"id":15,"name":"Bangladesh","city":"Rajshahi","iata":"RJH","countryCode":"BD","currency":"BDT","flag":"https://cdn.usbair.com/website/public/logo/bangladesh.png"},{"id":16,"name":"Bangladesh","city":"Saidpur","iata":"SPD","countryCode":"BD","currency":"BDT","flag":"https://cdn.usbair.com/website/public/logo/bangladesh.png"},{"id":17,"name":"Bangladesh","city":"Sylhet","iata":"ZYL","countryCode":"BD","currency":"BDT","flag":"https://cdn.usbair.com/website/public/logo/bangladesh.png"},{"id":18,"name":"India","city":"Chennai","iata":"MAA","countryCode":"IN","currency":"USD","flag":"https://flagcdn.com/w320/in.png"},{"id":19,"name":"United Arab Emirates","city":"Sharjah","iata":"SHJ","countryCode":"AE","currency":"USD","flag":"https://flagcdn.com/w320/ae.png"},{"id":20,"name":"King Abdulaziz International Airport","city":"Jeddah","iata":"JED","countryCode":"SA","currency":"USD","flag":"https://flagcdn.com/w320/sa.png"},{"id":21,"name":"","city":"","iata":"MUC","countryCode":"DE","currency":"USD","flag":"https://flagcdn.com/w320/de.png"},{"id":22,"name":"","city":"","iata":"","countryCode":"UK","currency":"USD","flag":"https://flagcdn.com/w320/gb.png"},{"id":23,"name":"","city":"","iata":"","countryCode":"US","currency":"USD","flag":"https://flagcdn.com/w320/us.png"},{"id":24,"name":"","city":"","iata":"","countryCode":"NP","currency":"USD","flag":"https://flagcdn.com/w320/np.png"}]')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(91118),t(59974)}),_N_E=e.O()}]);
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.